vue-data-ui 2.12.7-beta.2 → 2.12.7-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 (87) hide show
  1. package/dist/{Arrow-BhI2Y-DB.js → Arrow-COu7H_Zf.js} +1 -1
  2. package/dist/{BaseDraggableDialog-DyUBiw-C.js → BaseDraggableDialog-eEhFjD5D.js} +2 -2
  3. package/dist/{BaseIcon-PZPlJOYf.js → BaseIcon-fYqf6uWD.js} +1 -1
  4. package/dist/{ColorPicker-Bni7kKI_.js → ColorPicker-Dn5puqap.js} +2 -2
  5. package/dist/{DataTable-bcUa-A_V.js → DataTable-CDJecyZ0.js} +2 -2
  6. package/dist/{Legend-iNd1Vv1J.js → Legend-Dg-lIMWK.js} +6 -6
  7. package/dist/{NonSvgPenAndPaper-DwB3JfsE.js → NonSvgPenAndPaper-DIXFmIhs.js} +3 -3
  8. package/dist/{PackageVersion-BVH19wf6.js → PackageVersion-BaWtR2QJ.js} +1 -1
  9. package/dist/{PenAndPaper-U4bWifCe.js → PenAndPaper-C9Iqlmr3.js} +3 -3
  10. package/dist/{Shape-CTyy5HJi.js → Shape-C_dvrARW.js} +2 -2
  11. package/dist/{Slicer-hiaHGsme.js → Slicer-DoKEXa1d.js} +2 -2
  12. package/dist/{SparkTooltip-oo_wqrT6.js → SparkTooltip-CtP2nFlp.js} +1 -1
  13. package/dist/{Title-BTCPUIcD.js → Title-wKsVP3Tb.js} +1 -1
  14. package/dist/{Tooltip-B9AfUFVK.js → Tooltip-0n7pdXhW.js} +1 -1
  15. package/dist/{UserOptions-yZJ8noVU.js → UserOptions-LIF1UWJS.js} +1 -1
  16. package/dist/{dom-to-png-BgRIWz9M.js → dom-to-png-ClQ4RNo6.js} +1 -1
  17. package/dist/{img-CgYxq-UP.js → img-DHpOspiL.js} +1 -1
  18. package/dist/{index-CaxNz2cE.js → index-DEIYaZgn.js} +1 -1
  19. package/dist/{pdf-eUy0b_yU.js → pdf-BaLiQMho.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/{useNestedProp-DpK9-Xt0.js → useNestedProp-BEehCUIF.js} +1 -1
  22. package/dist/{usePrinter-BprQttno.js → usePrinter-qQMLh6Yb.js} +2 -2
  23. package/dist/{vue-data-ui-BkO9svuE.js → vue-data-ui-CUK5PlJh.js} +63 -63
  24. package/dist/vue-data-ui.js +1 -1
  25. package/dist/{vue-ui-3d-bar-Bft3k9wg.js → vue-ui-3d-bar-D5Siamnl.js} +5 -5
  26. package/dist/{vue-ui-accordion-BZ16n4QT.js → vue-ui-accordion-BiBydzl9.js} +3 -3
  27. package/dist/{vue-ui-age-pyramid-BblPK5iv.js → vue-ui-age-pyramid-DK8BhcMY.js} +5 -5
  28. package/dist/{vue-ui-annotator-DW3swnxO.js → vue-ui-annotator-B1Av7S5W.js} +2 -2
  29. package/dist/{vue-ui-bullet-DybokJeh.js → vue-ui-bullet-D8y_yEmm.js} +6 -6
  30. package/dist/{vue-ui-candlestick-aXzuaWXT.js → vue-ui-candlestick-DUU_XNsw.js} +6 -6
  31. package/dist/{vue-ui-carousel-table-D7_v27hl.js → vue-ui-carousel-table-DuJrhKvF.js} +4 -4
  32. package/dist/{vue-ui-chestnut-ClfPFRWK.js → vue-ui-chestnut-CMxo5P64.js} +4 -4
  33. package/dist/{vue-ui-chord-Clo2yN8x.js → vue-ui-chord-DkQT6RtL.js} +7 -7
  34. package/dist/{vue-ui-circle-pack-B8JmpYZU.js → vue-ui-circle-pack-pvcv8l5F.js} +5 -5
  35. package/dist/{vue-ui-cursor-1NiHT8ua.js → vue-ui-cursor-dhKy7jPJ.js} +2 -2
  36. package/dist/{vue-ui-dashboard-Dqu8UHsY.js → vue-ui-dashboard-C6JiNCXS.js} +62 -62
  37. package/dist/{vue-ui-digits-CUtyrFQ-.js → vue-ui-digits-bDgBkH1X.js} +2 -2
  38. package/dist/{vue-ui-donut-5_qG_tB0.js → vue-ui-donut-CoSBorL2.js} +7 -7
  39. package/dist/{vue-ui-donut-evolution-1lYLTlUJ.js → vue-ui-donut-evolution-J6nf-8ol.js} +7 -7
  40. package/dist/{vue-ui-dumbbell-CuwZfqp-.js → vue-ui-dumbbell-B1WwLTMg.js} +6 -6
  41. package/dist/{vue-ui-flow-nxV5Lnel.js → vue-ui-flow-CgQ4F7lT.js} +6 -6
  42. package/dist/{vue-ui-funnel-tTYudPKX.js → vue-ui-funnel-DH5GdVZR.js} +5 -5
  43. package/dist/{vue-ui-galaxy-CB7f2IrG.js → vue-ui-galaxy-z41c9fBR.js} +4 -4
  44. package/dist/{vue-ui-gauge-C-GUoJrH.js → vue-ui-gauge-BMmKliGf.js} +5 -5
  45. package/dist/{vue-ui-gizmo-DJCYaqYy.js → vue-ui-gizmo-9WHO9QI3.js} +3 -3
  46. package/dist/{vue-ui-heatmap-Bbzq8KZx.js → vue-ui-heatmap-C9wrmGCj.js} +6 -6
  47. package/dist/{vue-ui-history-plot-B8-Tt_rt.js → vue-ui-history-plot-zl_K4W-w.js} +6 -6
  48. package/dist/{vue-ui-kpi-VZWKmy4e.js → vue-ui-kpi-B0UE-pWW.js} +3 -3
  49. package/dist/{vue-ui-mini-loader-DzRSBGF2.js → vue-ui-mini-loader-C4wnkP9h.js} +2 -2
  50. package/dist/{vue-ui-molecule-Bd_c8Hcd.js → vue-ui-molecule-jd2ZLMqs.js} +4 -4
  51. package/dist/{vue-ui-mood-radar-CjiJjcj8.js → vue-ui-mood-radar-Rn_8FtJv.js} +6 -6
  52. package/dist/{vue-ui-nested-donuts-CVhAGwOt.js → vue-ui-nested-donuts-B2sPn-dW.js} +6 -6
  53. package/dist/{vue-ui-onion-D9pp5ytM.js → vue-ui-onion--GCspOjc.js} +6 -6
  54. package/dist/{vue-ui-parallel-coordinate-plot-hOcz4qfM.js → vue-ui-parallel-coordinate-plot-CPopxux1.js} +28 -28
  55. package/dist/{vue-ui-quadrant-Ht49w0AN.js → vue-ui-quadrant-DJQq29ZG.js} +7 -7
  56. package/dist/{vue-ui-quick-chart-SFe7EifM.js → vue-ui-quick-chart-CesE_SMc.js} +5 -5
  57. package/dist/{vue-ui-radar-C1mc0XYY.js → vue-ui-radar-BoUX6Acs.js} +6 -6
  58. package/dist/{vue-ui-rating-DVYexEqN.js → vue-ui-rating-CGtG8rLD.js} +2 -2
  59. package/dist/{vue-ui-relation-circle-CFkW0M7L.js → vue-ui-relation-circle-ar_IIb5Q.js} +5 -5
  60. package/dist/{vue-ui-ridgeline-DcOstg2I.js → vue-ui-ridgeline-tbX7yCX5.js} +7 -7
  61. package/dist/{vue-ui-rings-C56TMht1.js → vue-ui-rings-Bmw0QG4b.js} +7 -7
  62. package/dist/{vue-ui-scatter-C2S6nsP6.js → vue-ui-scatter-Cr-Szznq.js} +7 -7
  63. package/dist/{vue-ui-skeleton-C2paDc2u.js → vue-ui-skeleton-Cg2RwgBg.js} +3 -3
  64. package/dist/{vue-ui-smiley-gtVgClTv.js → vue-ui-smiley-Bu3mfnuU.js} +2 -2
  65. package/dist/{vue-ui-spark-trend-C_p-qgkO.js → vue-ui-spark-trend-DBitU1jb.js} +3 -3
  66. package/dist/{vue-ui-sparkbar-DIS3FVja.js → vue-ui-sparkbar-DVyStN-J.js} +3 -3
  67. package/dist/{vue-ui-sparkgauge-D92XnV3e.js → vue-ui-sparkgauge-BFBHjtIX.js} +3 -3
  68. package/dist/{vue-ui-sparkhistogram-BQlf7QW3.js → vue-ui-sparkhistogram-BfWEHG_y.js} +4 -4
  69. package/dist/{vue-ui-sparkline-C9vOtZav.js → vue-ui-sparkline-C4jhs5Fz.js} +3 -3
  70. package/dist/{vue-ui-sparkstackbar-B2G5fOpR.js → vue-ui-sparkstackbar-BgRt-Y5Z.js} +3 -3
  71. package/dist/{vue-ui-stackbar-L_7f4pZj.js → vue-ui-stackbar-BRoUaAru.js} +8 -8
  72. package/dist/{vue-ui-strip-plot-Dhj9PQvC.js → vue-ui-strip-plot-pCvkf80W.js} +6 -6
  73. package/dist/{vue-ui-table-CZ1DXGtE.js → vue-ui-table-Do1L7hBl.js} +3 -3
  74. package/dist/{vue-ui-table-heatmap-C8oJOBM-.js → vue-ui-table-heatmap-CL8eoe6s.js} +5 -5
  75. package/dist/{vue-ui-table-sparkline-D-ZfWmxu.js → vue-ui-table-sparkline-_OpwEaW_.js} +4 -4
  76. package/dist/{vue-ui-thermometer-D7S49sXa.js → vue-ui-thermometer-CN-oSYsE.js} +5 -5
  77. package/dist/{vue-ui-timer-Bh_0k4fp.js → vue-ui-timer-DxHmhsrx.js} +5 -5
  78. package/dist/{vue-ui-tiremarks-CQVFXHjo.js → vue-ui-tiremarks-DJtBLlId.js} +5 -5
  79. package/dist/{vue-ui-treemap-DshqhXXR.js → vue-ui-treemap-DY2eFTDU.js} +100 -96
  80. package/dist/{vue-ui-vertical-bar-64gS06ES.js → vue-ui-vertical-bar-BoZ_IFSB.js} +8 -8
  81. package/dist/{vue-ui-waffle-MjyNmQ85.js → vue-ui-waffle-Gu9_m-rE.js} +7 -7
  82. package/dist/{vue-ui-wheel-FzQbyvix.js → vue-ui-wheel-DTRHE9zw.js} +5 -5
  83. package/dist/{vue-ui-word-cloud-BHPSrRVK.js → vue-ui-word-cloud-BroXfHOc.js} +5 -5
  84. package/dist/{vue-ui-world-8UgjM7P9.js → vue-ui-world-0hfSNlbW.js} +5 -5
  85. package/dist/{vue-ui-xy-BbYuna1k.js → vue-ui-xy-Did8gGHN.js} +189 -188
  86. package/dist/{vue-ui-xy-canvas-CDNUpxZ5.js → vue-ui-xy-canvas-Dqkgjkva.js} +7 -7
  87. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
- import { defineAsyncComponent as K, useSlots as Tt, onMounted as at, computed as b, ref as $, shallowRef as V, watch as Ot, onBeforeUnmount as _t, createElementBlock as y, openBlock as v, unref as d, normalizeStyle as L, normalizeClass as xe, createBlock as Z, createCommentVNode as O, createElementVNode as _, createVNode as Te, createSlots as St, withCtx as T, renderSlot as k, normalizeProps as J, guardReactiveProps as Q, Fragment as ge, renderList as Oe, withKeys as nt, withModifiers as _e, mergeProps as st, createTextVNode as ye, toDisplayString as ee, nextTick as It } from "vue";
2
- import { u as Nt, c as ut, t as zt, p as S, a as At, b as Ft, o as Pt, e as Rt, d as me, i as be, f as ie, X as Lt, l as rt, G as it, x as ct, q as Mt, r as Dt, y as Vt } from "./index-CaxNz2cE.js";
1
+ import { defineAsyncComponent as K, useSlots as Tt, onMounted as nt, computed as b, ref as $, shallowRef as V, watch as Ot, onBeforeUnmount as _t, createElementBlock as y, openBlock as v, unref as d, normalizeStyle as L, normalizeClass as xe, createBlock as Z, createCommentVNode as O, createElementVNode as _, createVNode as Te, createSlots as St, withCtx as T, renderSlot as k, normalizeProps as J, guardReactiveProps as Q, Fragment as ge, renderList as Oe, withKeys as st, withModifiers as _e, mergeProps as ut, createTextVNode as ye, toDisplayString as ee, nextTick as It } from "vue";
2
+ import { u as Nt, c as Se, t as zt, p as S, a as At, b as Ft, o as Pt, e as Rt, d as me, i as be, f as ie, X as Lt, l as rt, G as it, x as ct, q as Mt, r as Dt, y as Vt } from "./index-DEIYaZgn.js";
3
3
  import { t as Bt, u as Ht } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as dt } from "./useNestedProp-DpK9-Xt0.js";
5
- import { u as Ut } from "./usePrinter-BprQttno.js";
4
+ import { u as dt } from "./useNestedProp-BEehCUIF.js";
5
+ import { u as Ut } from "./usePrinter-qQMLh6Yb.js";
6
6
  import { u as Wt } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as Et } from "./useChartAccessibility-9icAAmYg.js";
8
- import Gt from "./BaseIcon-PZPlJOYf.js";
9
- import qt from "./Title-BTCPUIcD.js";
10
- import Xt from "./Legend-iNd1Vv1J.js";
8
+ import Gt from "./BaseIcon-fYqf6uWD.js";
9
+ import qt from "./Title-wKsVP3Tb.js";
10
+ import Xt from "./Legend-Dg-lIMWK.js";
11
11
  import { _ as jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  function vt(n, r) {
13
13
  const s = n.length;
@@ -65,7 +65,7 @@ function Jt(n) {
65
65
  return (n.x1 - n.x0) * (n.y1 - n.y0);
66
66
  }
67
67
  function pt(n, r) {
68
- const { width: s, height: i, xOffset: u, yOffset: h } = Se(r), c = n.length, g = n.map((m) => m.normalizedValue || 0).reduce((m, x) => m + x, 0), p = g / i, B = g / s;
68
+ const { width: s, height: i, xOffset: u, yOffset: h } = Ie(r), c = n.length, g = n.map((m) => m.normalizedValue || 0).reduce((m, x) => m + x, 0), p = g / i, B = g / s;
69
69
  let z = u, w = h;
70
70
  const C = [];
71
71
  if (s >= i) {
@@ -93,7 +93,7 @@ function pt(n, r) {
93
93
  }
94
94
  }
95
95
  function Qt(n) {
96
- const r = Se(n), s = r.width, i = r.height;
96
+ const r = Ie(n), s = r.width, i = r.height;
97
97
  return Math.min(s, i);
98
98
  }
99
99
  function eo(n, r) {
@@ -105,7 +105,7 @@ function eo(n, r) {
105
105
  }), h.push(c);
106
106
  return h;
107
107
  }
108
- function Se(n) {
108
+ function Ie(n) {
109
109
  const { x0: r, y0: s, x1: i, y1: u } = n;
110
110
  return {
111
111
  xOffset: r,
@@ -150,7 +150,7 @@ function ft(n) {
150
150
  }
151
151
  }
152
152
  function oo(n, r) {
153
- const { width: s, height: i, xOffset: u, yOffset: h } = Se(n);
153
+ const { width: s, height: i, xOffset: u, yOffset: h } = Ie(n);
154
154
  if (s >= i) {
155
155
  const c = r / i, g = s - c, p = {
156
156
  xOffset: u + c,
@@ -203,15 +203,15 @@ const lo = ["id"], ao = {
203
203
  },
204
204
  emits: ["selectLegend", "selectDatapoint"],
205
205
  setup(n, { expose: r, emit: s }) {
206
- const i = K(() => import("./DataTable-bcUa-A_V.js")), u = K(() => import("./PenAndPaper-U4bWifCe.js")), h = K(() => import("./vue-ui-accordion-BZ16n4QT.js")), c = K(() => import("./vue-ui-skeleton-C2paDc2u.js")), g = K(() => import("./Tooltip-B9AfUFVK.js")), p = K(() => import("./UserOptions-yZJ8noVU.js")), B = K(() => import("./PackageVersion-BVH19wf6.js")), { vue_ui_treemap: z } = Nt(), w = n, C = s, m = Tt();
207
- at(() => {
206
+ const i = K(() => import("./DataTable-CDJecyZ0.js")), u = K(() => import("./PenAndPaper-C9Iqlmr3.js")), h = K(() => import("./vue-ui-accordion-BiBydzl9.js")), c = K(() => import("./vue-ui-skeleton-Cg2RwgBg.js")), g = K(() => import("./Tooltip-0n7pdXhW.js")), p = K(() => import("./UserOptions-LIF1UWJS.js")), B = K(() => import("./PackageVersion-BaWtR2QJ.js")), { vue_ui_treemap: z } = Nt(), w = n, C = s, m = Tt();
207
+ nt(() => {
208
208
  m["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
209
209
  });
210
- const x = b(() => !!w.dataset && w.dataset.length), M = b(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), A = $(ut()), N = $(!1), ke = $(""), te = $(!1), Ie = $(0), F = $([]), se = V(null), Ne = V(null), ze = V(null), Ae = V(null), Fe = V(null), Pe = $(0), Re = $(0), Le = $(0), t = b({
211
- get: () => Be(),
210
+ const x = b(() => !!w.dataset && w.dataset.length), M = b(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), A = $(Se()), N = $(!1), ke = $(""), te = $(!1), Ne = $(0), F = $([]), se = V(null), ze = V(null), Ae = V(null), Fe = V(null), Pe = V(null), Re = $(0), Le = $(0), Me = $(0), t = b({
211
+ get: () => He(),
212
212
  set: (e) => e
213
- }), { userOptionsVisible: we, setUserOptionsVisibility: Me, keepUserOptionState: De } = Wt({ config: t.value }), { svgRef: Ve } = Et({ config: t.value.style.chart.title });
214
- function Be() {
213
+ }), { userOptionsVisible: we, setUserOptionsVisibility: De, keepUserOptionState: Ve } = Wt({ config: t.value }), { svgRef: Be } = Et({ config: t.value.style.chart.title });
214
+ function He() {
215
215
  const e = dt({
216
216
  userConfig: w.config,
217
217
  defaultConfig: z
@@ -225,9 +225,9 @@ const lo = ["id"], ao = {
225
225
  } : e;
226
226
  }
227
227
  Ot(() => w.config, (e) => {
228
- t.value = Be(), we.value = !t.value.userOptions.showOnChartHover, Pe.value += 1, Re.value += 1, Le.value += 1, P.value.showTable = t.value.table.show, P.value.showTooltip = t.value.style.chart.tooltip.show;
228
+ t.value = He(), we.value = !t.value.userOptions.showOnChartHover, Re.value += 1, Le.value += 1, Me.value += 1, P.value.showTable = t.value.table.show, P.value.showTooltip = t.value.style.chart.tooltip.show;
229
229
  }, { deep: !0 });
230
- const { isPrinting: He, isImaging: Ue, generatePdf: We, generateImage: Ee } = Ut({
230
+ const { isPrinting: Ue, isImaging: We, generatePdf: Ee, generateImage: Ge } = Ut({
231
231
  elementId: `treemap_${A.value}`,
232
232
  fileName: t.value.style.chart.title.text || "vue-ui-treemap",
233
233
  options: t.value.userOptions.print
@@ -247,29 +247,29 @@ const lo = ["id"], ao = {
247
247
  vbWidth: H.value.width,
248
248
  width: H.value.width - t.value.style.chart.padding.left - t.value.style.chart.padding.right
249
249
  }));
250
- function Ge(e) {
250
+ function qe(e) {
251
251
  e.forEach((l, o) => {
252
- l.id = ut(), l.color = me(l.color) || ce.value[o] || S[o] || S[o % S.length], l.children && (l.children.forEach((a) => {
252
+ l.id = Se(), l.color = me(l.color) || ce.value[o] || S[o] || S[o % S.length], l.children && (l.children.forEach((a) => {
253
253
  a.parentId = l.id, a.color = l.color;
254
- }), Ge(l.children));
254
+ }), qe(l.children));
255
255
  });
256
256
  }
257
257
  const U = V(w.dataset), W = V(null), oe = V(null);
258
- at(() => {
258
+ nt(() => {
259
259
  yt();
260
260
  });
261
261
  function yt() {
262
262
  if (Pt(w.dataset) && Rt({
263
263
  componentName: "VueUiTreemap",
264
264
  type: "dataset"
265
- }), Ge(U.value), t.value.responsive) {
265
+ }), qe(U.value), t.value.responsive) {
266
266
  const e = Bt(() => {
267
267
  const { width: l, height: o } = Ht({
268
268
  chart: se.value,
269
- title: t.value.style.chart.title.text ? Ne.value : null,
270
- legend: t.value.style.chart.legend.show ? ze.value : null,
271
- source: Ae.value,
272
- noTitle: Fe.value
269
+ title: t.value.style.chart.title.text ? ze.value : null,
270
+ legend: t.value.style.chart.legend.show ? Ae.value : null,
271
+ source: Fe.value,
272
+ noTitle: Pe.value
273
273
  });
274
274
  requestAnimationFrame(() => {
275
275
  H.value.width = l, H.value.height = o;
@@ -284,7 +284,7 @@ const lo = ["id"], ao = {
284
284
  const le = $(U.value), ue = b(() => le.value.map((e, l) => ({
285
285
  ...e,
286
286
  color: me(e.color) || ce.value[l] || S[l] || S[l % S.length]
287
- })).filter((e) => !F.value.includes(e.id))), ae = b(() => U.value.filter((e) => !F.value.includes(e.id)).map((e) => e.value || 0).reduce((e, l) => e + l, 0)), qe = b({
287
+ })).filter((e) => !F.value.includes(e.id))), ae = b(() => U.value.filter((e) => !F.value.includes(e.id)).map((e) => e.value || 0).reduce((e, l) => e + l, 0)), Xe = b({
288
288
  get() {
289
289
  let e = [...ue.value];
290
290
  return t.value.style.chart.layout.sorted && (e = [...ue.value].sort((l, o) => o.value - l.value)), e.map((l) => ({
@@ -295,42 +295,42 @@ const lo = ["id"], ao = {
295
295
  return e;
296
296
  }
297
297
  });
298
- function Xe(e, l) {
298
+ function je(e, l) {
299
299
  return e.value / l;
300
300
  }
301
301
  function mt(e, l, o) {
302
- const a = t.value.style.chart.layout.rects.colorRatio - Xe(l, o);
302
+ const a = t.value.style.chart.layout.rects.colorRatio - je(l, o);
303
303
  return rt(e, a < 0 ? 0 : a);
304
304
  }
305
- function je(e, l, o, a) {
305
+ function Ye(e, l, o, a) {
306
306
  return e.map((f, G) => {
307
- const fe = mt(me(l) || ce.value[G] || S[G] || S[G % S.length], f, a), xt = Xe(f, a);
307
+ const fe = mt(me(l) || ce.value[G] || S[G] || S[G % S.length], f, a), xt = je(f, a);
308
308
  return {
309
309
  ...f,
310
310
  color: fe,
311
311
  proportion: xt,
312
312
  parentName: o,
313
- children: f.children ? je(f.children, fe, f.name, a) : void 0
313
+ children: f.children ? Ye(f.children, fe, f.name, a) : void 0
314
314
  };
315
315
  });
316
316
  }
317
317
  const re = b(() => Zt(
318
- qe.value.map((e, l) => {
318
+ Xe.value.map((e, l) => {
319
319
  const o = e.children ? e.children.reduce((a, f) => a + f.value, 0) : e.value;
320
320
  return {
321
321
  value: e.value,
322
- id: e.id,
323
- children: e.children ? je(e.children.sort((a, f) => f.value - a.value), e.color, e.name, o) : void 0,
322
+ id: e.id || Se(),
323
+ children: e.children ? Ye(e.children.sort((a, f) => f.value - a.value), e.color, e.name, o) : void 0,
324
324
  color: e.color,
325
325
  name: e.name
326
326
  };
327
327
  }),
328
328
  { x0: q.value.left * 2, y0: q.value.top, x1: q.value.width, y1: q.value.height }
329
329
  ));
330
- function Ye({ y0: e, y1: l }) {
330
+ function Ke({ y0: e, y1: l }) {
331
331
  return l - e <= 0 ? 1e-4 : l - e;
332
332
  }
333
- function Ke({ x0: e, x1: l }) {
333
+ function Ze({ x0: e, x1: l }) {
334
334
  return l - e <= 0 ? 1e-4 : l - e;
335
335
  }
336
336
  function X(e) {
@@ -338,7 +338,7 @@ const lo = ["id"], ao = {
338
338
  return l < t.value.style.chart.layout.labels.minFontSize ? t.value.style.chart.layout.labels.minFontSize : l;
339
339
  }
340
340
  function bt(e) {
341
- te.value = e, Ie.value += 1;
341
+ te.value = e, Ne.value += 1;
342
342
  }
343
343
  const ne = b(() => ({
344
344
  startX: 0,
@@ -401,7 +401,7 @@ const lo = ["id"], ao = {
401
401
  });
402
402
  }
403
403
  return e;
404
- }), R = V(null), Ze = b(() => U.value.map((e, l) => ({
404
+ }), R = V(null), Je = b(() => U.value.map((e, l) => ({
405
405
  ...e,
406
406
  color: me(e.color) || ce.value[l] || S[l] || S[l % S.length],
407
407
  shape: "square"
@@ -417,8 +417,8 @@ const lo = ["id"], ao = {
417
417
  paddingBottom: 12,
418
418
  fontWeight: t.value.style.chart.legend.bold ? "bold" : ""
419
419
  }));
420
- function Je(e) {
421
- R.value = null, F.value.includes(e.id) ? F.value = F.value.filter((l) => l !== e.id) : F.value.length < w.dataset.length - 1 && F.value.push(e.id), C("selectLegend", qe.value);
420
+ function Qe(e) {
421
+ R.value = null, F.value.includes(e.id) ? F.value = F.value.filter((l) => l !== e.id) : F.value.length < w.dataset.length - 1 && F.value.push(e.id), C("selectLegend", Xe.value);
422
422
  }
423
423
  const Ce = $(null);
424
424
  function Ct({ datapoint: e, seriesIndex: l }) {
@@ -459,7 +459,7 @@ const lo = ["id"], ao = {
459
459
  })), l = re.value.map((o) => o.value);
460
460
  return { head: e, body: l };
461
461
  });
462
- function Qe() {
462
+ function et() {
463
463
  It(() => {
464
464
  const e = D.value.head.map((a, f) => [[
465
465
  a.name
@@ -522,10 +522,10 @@ const lo = ["id"], ao = {
522
522
  function $t() {
523
523
  return re.value;
524
524
  }
525
- function et() {
525
+ function tt() {
526
526
  P.value.showTable = !P.value.showTable;
527
527
  }
528
- function tt() {
528
+ function ot() {
529
529
  P.value.showTooltip = !P.value.showTooltip;
530
530
  }
531
531
  const he = $(!1);
@@ -533,19 +533,19 @@ const lo = ["id"], ao = {
533
533
  he.value = !he.value;
534
534
  }
535
535
  const pe = $(null);
536
- function ot(e) {
536
+ function lt(e) {
537
537
  pe.value = e;
538
538
  }
539
- function lt() {
539
+ function at() {
540
540
  pe.value = null;
541
541
  }
542
542
  return r({
543
543
  getData: $t,
544
- generateCsv: Qe,
545
- generateImage: Ee,
546
- generatePdf: We,
547
- toggleTable: et,
548
- toggleTooltip: tt,
544
+ generateCsv: et,
545
+ generateImage: Ge,
546
+ generatePdf: Ee,
547
+ toggleTable: tt,
548
+ toggleTooltip: ot,
549
549
  toggleAnnotator: $e
550
550
  }), (e, l) => (v(), y("div", {
551
551
  ref_key: "treemapChart",
@@ -553,12 +553,12 @@ const lo = ["id"], ao = {
553
553
  class: xe(`vue-ui-treemap ${te.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
554
554
  style: L(`font-family:${t.value.style.fontFamily};width:100%; ${t.value.responsive ? "height: 100%;" : ""} text-align:center;background:${t.value.style.chart.backgroundColor}`),
555
555
  id: `treemap_${A.value}`,
556
- onMouseenter: l[3] || (l[3] = () => d(Me)(!0)),
557
- onMouseleave: l[4] || (l[4] = () => d(Me)(!1))
556
+ onMouseenter: l[3] || (l[3] = () => d(De)(!0)),
557
+ onMouseleave: l[4] || (l[4] = () => d(De)(!1))
558
558
  }, [
559
559
  t.value.userOptions.buttons.annotator ? (v(), Z(d(u), {
560
560
  key: 0,
561
- svgRef: d(Ve),
561
+ svgRef: d(Be),
562
562
  backgroundColor: t.value.style.chart.backgroundColor,
563
563
  color: t.value.style.chart.color,
564
564
  active: he.value,
@@ -567,18 +567,18 @@ const lo = ["id"], ao = {
567
567
  gt.value ? (v(), y("div", {
568
568
  key: 1,
569
569
  ref_key: "noTitle",
570
- ref: Fe,
570
+ ref: Pe,
571
571
  class: "vue-data-ui-no-title-space",
572
572
  style: "height:36px; width: 100%;background:transparent"
573
573
  }, null, 512)) : O("", !0),
574
574
  t.value.style.chart.title.text ? (v(), y("div", {
575
575
  key: 2,
576
576
  ref_key: "chartTitle",
577
- ref: Ne,
577
+ ref: ze,
578
578
  style: L(`width:100%;background:${t.value.style.chart.backgroundColor};padding-bottom:6px`)
579
579
  }, [
580
580
  (v(), Z(qt, {
581
- key: `title_${Pe.value}`,
581
+ key: `title_${Re.value}`,
582
582
  config: {
583
583
  title: {
584
584
  cy: "treemap-div-title",
@@ -591,13 +591,13 @@ const lo = ["id"], ao = {
591
591
  }
592
592
  }, null, 8, ["config"]))
593
593
  ], 4)) : O("", !0),
594
- t.value.userOptions.show && x.value && (d(De) || d(we)) ? (v(), Z(d(p), {
594
+ t.value.userOptions.show && x.value && (d(Ve) || d(we)) ? (v(), Z(d(p), {
595
595
  ref: "details",
596
- key: `user_option_${Ie.value}`,
596
+ key: `user_option_${Ne.value}`,
597
597
  backgroundColor: t.value.style.chart.backgroundColor,
598
598
  color: t.value.style.chart.color,
599
- isPrinting: d(He),
600
- isImaging: d(Ue),
599
+ isPrinting: d(Ue),
600
+ isImaging: d(We),
601
601
  uid: A.value,
602
602
  hasTooltip: t.value.userOptions.buttons.tooltip && t.value.style.chart.tooltip.show,
603
603
  hasPdf: t.value.userOptions.buttons.pdf,
@@ -613,14 +613,14 @@ const lo = ["id"], ao = {
613
613
  hasAnnotator: t.value.userOptions.buttons.annotator,
614
614
  isAnnotation: he.value,
615
615
  onToggleFullscreen: bt,
616
- onGeneratePdf: d(We),
617
- onGenerateCsv: Qe,
618
- onGenerateImage: d(Ee),
619
- onToggleTable: et,
620
- onToggleTooltip: tt,
616
+ onGeneratePdf: d(Ee),
617
+ onGenerateCsv: et,
618
+ onGenerateImage: d(Ge),
619
+ onToggleTable: tt,
620
+ onToggleTooltip: ot,
621
621
  onToggleAnnotator: $e,
622
622
  style: L({
623
- visibility: d(De) ? d(we) ? "visible" : "hidden" : "visible"
623
+ visibility: d(Ve) ? d(we) ? "visible" : "hidden" : "visible"
624
624
  })
625
625
  }, St({ _: 2 }, [
626
626
  e.$slots.menuIcon ? {
@@ -688,22 +688,22 @@ const lo = ["id"], ao = {
688
688
  onClick: (f) => a === E.value.length - 1 ? () => {
689
689
  } : de(o.node),
690
690
  onKeydown: [
691
- nt(_e((f) => a === E.value.length - 1 ? void 0 : de(o.node), ["prevent"]), ["enter"]),
692
- nt(_e((f) => a === E.value.length - 1 ? void 0 : de(o.node), ["prevent"]), ["space"])
691
+ st(_e((f) => a === E.value.length - 1 ? void 0 : de(o.node), ["prevent"]), ["enter"]),
692
+ st(_e((f) => a === E.value.length - 1 ? void 0 : de(o.node), ["prevent"]), ["space"])
693
693
  ],
694
694
  class: "vue-ui-treemap-crumb",
695
695
  "data-last-crumb": a === E.value.length - 1,
696
696
  style: L({
697
697
  color: t.value.style.chart.color
698
698
  }),
699
- onMouseenter: (f) => ot(a),
700
- onMouseleave: lt,
701
- onFocus: (f) => ot(a),
702
- onBlur: lt
699
+ onMouseenter: (f) => lt(a),
700
+ onMouseleave: at,
701
+ onFocus: (f) => lt(a),
702
+ onBlur: at
703
703
  }, [
704
704
  _("span", so, [
705
705
  _("span", uo, [
706
- k(e.$slots, "breadcrumb-label", st({ ref_for: !0 }, { crumb: o, isRoot: a === 0, isFocus: pe.value === a }), () => [
706
+ k(e.$slots, "breadcrumb-label", ut({ ref_for: !0 }, { crumb: o, isRoot: a === 0, isFocus: pe.value === a }), () => [
707
707
  a === 0 ? (v(), y("div", ro, [
708
708
  Te(Gt, {
709
709
  name: pe.value === 0 ? "homeFilled" : "home",
@@ -725,14 +725,16 @@ const lo = ["id"], ao = {
725
725
  x.value ? (v(), y("svg", {
726
726
  key: 5,
727
727
  ref_key: "svgRef",
728
- ref: Ve,
728
+ ref: Be,
729
729
  xmlns: d(Lt),
730
730
  class: xe({ "vue-data-ui-fullscreen--on": te.value, "vue-data-ui-fulscreen--off": !te.value, "vue-data-ui-zoom-plus": !Y.value, "vue-data-ui-zoom-minus": Y.value }),
731
731
  viewBox: `${ne.value.startX} ${ne.value.startY} ${ne.value.width <= 0 ? 10 : ne.value.width} ${ne.value.height <= 0 ? 10 : ne.value.height}`,
732
732
  style: L(`max-width:100%; overflow: hidden; background:transparent;color:${t.value.style.chart.color}`)
733
733
  }, [
734
734
  Te(d(B)),
735
- (v(!0), y(ge, null, Oe(re.value, (o, a) => (v(), y("g", null, [
735
+ (v(!0), y(ge, null, Oe(re.value, (o, a) => (v(), y("g", {
736
+ key: `tgrad_${o.id}`
737
+ }, [
736
738
  t.value.style.chart.layout.rects.gradient.show ? (v(), y("defs", vo, [
737
739
  _("radialGradient", {
738
740
  id: `tgrad_${o.id}`,
@@ -748,13 +750,15 @@ const lo = ["id"], ao = {
748
750
  }, null, 8, fo)
749
751
  ], 8, ho)
750
752
  ])) : O("", !0)
751
- ]))), 256)),
752
- (v(!0), y(ge, null, Oe(re.value, (o, a) => (v(), y("g", null, [
753
+ ]))), 128)),
754
+ (v(!0), y(ge, null, Oe(re.value, (o, a) => (v(), y("g", {
755
+ key: `k_${o.id}`
756
+ }, [
753
757
  _("rect", {
754
758
  x: o.x0,
755
759
  y: o.y0,
756
- height: Ye(o),
757
- width: Ke(o),
760
+ height: Ke(o),
761
+ width: Ze(o),
758
762
  fill: M.value ? o.color : t.value.style.chart.layout.rects.gradient.show ? `url(#tgrad_${o.id})` : o.color,
759
763
  rx: t.value.style.chart.layout.rects.borderRadius,
760
764
  stroke: R.value && R.value.id === o.id ? t.value.style.chart.layout.rects.selected.stroke : t.value.style.chart.layout.rects.stroke,
@@ -776,8 +780,8 @@ const lo = ["id"], ao = {
776
780
  (v(), y("foreignObject", {
777
781
  x: o.x0,
778
782
  y: o.y0,
779
- height: Ye(o),
780
- width: Ke(o),
783
+ height: Ke(o),
784
+ width: Ze(o),
781
785
  class: "vue-ui-treemap-cell-foreignObject"
782
786
  }, [
783
787
  _("div", mo, [
@@ -804,7 +808,7 @@ const lo = ["id"], ao = {
804
808
  { datapoint: o }
805
809
  )), 5)
806
810
  ], 4)) : O("", !0),
807
- k(e.$slots, "rect", st({ ref_for: !0 }, {
811
+ k(e.$slots, "rect", ut({ ref_for: !0 }, {
808
812
  rect: o,
809
813
  shouldShow: o.proportion > t.value.style.chart.layout.labels.hideUnderProportion || Y.value,
810
814
  fontSize: X(o),
@@ -813,11 +817,11 @@ const lo = ["id"], ao = {
813
817
  }), void 0, !0)
814
818
  ])
815
819
  ], 8, yo))
816
- ]))), 256)),
820
+ ]))), 128)),
817
821
  k(e.$slots, "svg", J(Q({ svg: q.value, isZoom: Y.value, rect: R.value, config: t.value })), void 0, !0)
818
822
  ], 14, co)) : O("", !0),
819
823
  e.$slots.watermark ? (v(), y("div", bo, [
820
- k(e.$slots, "watermark", J(Q({ isPrinting: d(He) || d(Ue) })), void 0, !0)
824
+ k(e.$slots, "watermark", J(Q({ isPrinting: d(Ue) || d(We) })), void 0, !0)
821
825
  ])) : O("", !0),
822
826
  x.value ? O("", !0) : (v(), Z(d(c), {
823
827
  key: 7,
@@ -833,18 +837,18 @@ const lo = ["id"], ao = {
833
837
  }, null, 8, ["config"])),
834
838
  _("div", {
835
839
  ref_key: "chartLegend",
836
- ref: ze
840
+ ref: Ae
837
841
  }, [
838
842
  t.value.style.chart.legend.show ? (v(), Z(Xt, {
839
- key: `legend_${Le.value}`,
840
- legendSet: Ze.value,
843
+ key: `legend_${Me.value}`,
844
+ legendSet: Je.value,
841
845
  config: wt.value,
842
846
  id: `treemap_legend_${A.value}`,
843
- onClickMarker: l[1] || (l[1] = ({ legend: o }) => Je(o))
847
+ onClickMarker: l[1] || (l[1] = ({ legend: o }) => Qe(o))
844
848
  }, {
845
849
  item: T(({ legend: o, index: a }) => [
846
850
  _("div", {
847
- onClick: (f) => Je(o),
851
+ onClick: (f) => Qe(o),
848
852
  style: L(`opacity:${F.value.includes(o.id) ? 0.5 : 1}`)
849
853
  }, [
850
854
  ye(ee(o.name) + ": " + ee(d(be)(
@@ -864,13 +868,13 @@ const lo = ["id"], ao = {
864
868
  _: 1
865
869
  }, 8, ["legendSet", "config", "id"])) : k(e.$slots, "legend", {
866
870
  key: 1,
867
- legend: Ze.value
871
+ legend: Je.value
868
872
  }, void 0, !0)
869
873
  ], 512),
870
874
  e.$slots.source ? (v(), y("div", {
871
875
  key: 8,
872
876
  ref_key: "source",
873
- ref: Ae,
877
+ ref: Fe,
874
878
  dir: "auto"
875
879
  }, [
876
880
  k(e.$slots, "source", {}, void 0, !0)
@@ -917,7 +921,7 @@ const lo = ["id"], ao = {
917
921
  }, {
918
922
  content: T(() => [
919
923
  (v(), Z(d(i), {
920
- key: `table_${Re.value}`,
924
+ key: `table_${Le.value}`,
921
925
  colNames: ve.value.colNames,
922
926
  head: ve.value.head,
923
927
  body: ve.value.body,
@@ -941,7 +945,7 @@ const lo = ["id"], ao = {
941
945
  }, 8, ["config"])) : O("", !0)
942
946
  ], 46, lo));
943
947
  }
944
- }, Lo = /* @__PURE__ */ jt(xo, [["__scopeId", "data-v-ee01f95d"]]);
948
+ }, Lo = /* @__PURE__ */ jt(xo, [["__scopeId", "data-v-f1f88c1e"]]);
945
949
  export {
946
950
  Lo as default
947
951
  };
@@ -1,14 +1,14 @@
1
1
  import { useCssVars as _t, defineAsyncComponent as H, useSlots as $t, computed as m, ref as d, watch as Xe, shallowRef as He, onMounted as We, onBeforeUnmount as wt, createElementBlock as i, openBlock as u, unref as r, normalizeStyle as c, normalizeClass as B, createBlock as R, createCommentVNode as p, renderSlot as b, createVNode as Q, createSlots as pe, withCtx as k, normalizeProps as W, guardReactiveProps as G, createElementVNode as n, toDisplayString as h, Fragment as j, renderList as q, mergeProps as xt, withKeys as Ct, createTextVNode as Tt } from "vue";
2
- import { u as Lt, c as Nt, t as Pt, p as D, a as St, b as Vt, o as Ge, e as Z, v as N, d as ye, i as ne, f as E, X as It, s as ge, w as Ot, q as Ft, r as Mt, x as zt, y as At } from "./index-CaxNz2cE.js";
2
+ import { u as Lt, c as Nt, t as Pt, p as D, a as St, b as Vt, o as Ge, e as Z, v as N, d as ye, i as ne, f as E, X as It, s as ge, w as Ot, q as Ft, r as Mt, x as zt, y as At } from "./index-DEIYaZgn.js";
3
3
  import { t as Bt, u as Rt } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as je } from "./useNestedProp-DpK9-Xt0.js";
5
- import { u as Dt } from "./usePrinter-BprQttno.js";
4
+ import { u as je } from "./useNestedProp-BEehCUIF.js";
5
+ import { u as Dt } from "./usePrinter-qQMLh6Yb.js";
6
6
  import { u as Et } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as Ut } from "./useChartAccessibility-9icAAmYg.js";
8
- import Xt from "./vue-ui-accordion-BZ16n4QT.js";
9
- import qe from "./Legend-iNd1Vv1J.js";
10
- import Ht from "./Title-BTCPUIcD.js";
11
- import Ye from "./Shape-CTyy5HJi.js";
8
+ import Xt from "./vue-ui-accordion-BiBydzl9.js";
9
+ import qe from "./Legend-Dg-lIMWK.js";
10
+ import Ht from "./Title-wKsVP3Tb.js";
11
+ import { _ as Ye } from "./Shape-C_dvrARW.js";
12
12
  import { _ as Wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
13
  const Gt = ["id"], jt = ["onClick"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["id"], Jt = ["stop-color"], Qt = ["stop-color"], Zt = { key: 1 }, el = ["x", "y", "width", "height", "fill", "rx"], tl = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], ll = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], al = ["x2", "y1", "y2", "stroke", "stroke-width"], ol = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], nl = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], ul = ["x", "y", "font-size", "fill", "font-weight"], sl = ["x", "y", "font-size", "fill", "font-weight"], rl = ["x", "y", "font-size", "fill", "font-weight"], il = ["y", "width", "height", "fill", "onMouseenter"], dl = {
14
14
  key: 6,
@@ -34,7 +34,7 @@ const Gt = ["id"], jt = ["onClick"], qt = ["xmlns", "viewBox"], Yt = ["width", "
34
34
  _t((l) => ({
35
35
  91644906: l.tdo
36
36
  }));
37
- const Ze = H(() => import("./BaseIcon-PZPlJOYf.js")), et = H(() => import("./PackageVersion-BVH19wf6.js")), tt = H(() => import("./PenAndPaper-U4bWifCe.js")), lt = H(() => import("./vue-ui-skeleton-C2paDc2u.js")), at = H(() => import("./Tooltip-B9AfUFVK.js")), ot = H(() => import("./UserOptions-yZJ8noVU.js")), { vue_ui_vertical_bar: nt } = Lt(), ut = $t(), T = Ke, ee = m(() => !!T.dataset && T.dataset.length), C = d(Nt()), st = d(null), ue = d(!1), se = d(""), te = d(0), rt = d(null), fe = d(0), Y = d(null), be = d(null), re = d(null), me = d(null), ke = d(null), _e = d(0), ie = d(0), it = Qe, e = m({
37
+ const Ze = H(() => import("./BaseIcon-fYqf6uWD.js")), et = H(() => import("./PackageVersion-BaWtR2QJ.js")), tt = H(() => import("./PenAndPaper-C9Iqlmr3.js")), lt = H(() => import("./vue-ui-skeleton-Cg2RwgBg.js")), at = H(() => import("./Tooltip-0n7pdXhW.js")), ot = H(() => import("./UserOptions-LIF1UWJS.js")), { vue_ui_vertical_bar: nt } = Lt(), ut = $t(), T = Ke, ee = m(() => !!T.dataset && T.dataset.length), C = d(Nt()), st = d(null), ue = d(!1), se = d(""), te = d(0), rt = d(null), fe = d(0), Y = d(null), be = d(null), re = d(null), me = d(null), ke = d(null), _e = d(0), ie = d(0), it = Qe, e = m({
38
38
  get: () => Ce(),
39
39
  set: (l) => l
40
40
  }), { userOptionsVisible: de, setUserOptionsVisibility: $e, keepUserOptionState: we } = Et({ config: e.value }), { svgRef: xe } = Ut({ config: e.value.style.chart.title });
@@ -1,13 +1,13 @@
1
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-CaxNz2cE.js";
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-DEIYaZgn.js";
3
3
  import { t as zt, u as Nt } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as Ee } from "./useNestedProp-DpK9-Xt0.js";
5
- import { u as Bt } from "./usePrinter-BprQttno.js";
4
+ import { u as Ee } from "./useNestedProp-BEehCUIF.js";
5
+ import { u as Bt } from "./usePrinter-qQMLh6Yb.js";
6
6
  import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as Mt } from "./useChartAccessibility-9icAAmYg.js";
8
- import Dt from "./Title-BTCPUIcD.js";
9
- import Rt from "./Legend-iNd1Vv1J.js";
10
- import Ut from "./Shape-CTyy5HJi.js";
8
+ import Dt from "./Title-wKsVP3Tb.js";
9
+ import Rt from "./Legend-Dg-lIMWK.js";
10
+ import { _ as Ut } from "./Shape-C_dvrARW.js";
11
11
  import { _ as Gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
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 = {
13
13
  key: 5,
@@ -30,7 +30,7 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
30
30
  },
31
31
  emits: ["selectLegend"],
32
32
  setup(je, { expose: We, emit: qe }) {
33
- const He = B(() => import("./DataTable-bcUa-A_V.js")), Xe = B(() => import("./PenAndPaper-U4bWifCe.js")), Ye = B(() => import("./vue-ui-accordion-BZ16n4QT.js")), Ke = B(() => import("./vue-ui-skeleton-C2paDc2u.js")), Je = B(() => import("./Tooltip-B9AfUFVK.js")), Qe = B(() => import("./UserOptions-yZJ8noVU.js")), Ze = B(() => import("./PackageVersion-BVH19wf6.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
+ const He = B(() => import("./DataTable-CDJecyZ0.js")), Xe = B(() => import("./PenAndPaper-C9Iqlmr3.js")), Ye = B(() => import("./vue-ui-accordion-BiBydzl9.js")), Ke = B(() => import("./vue-ui-skeleton-Cg2RwgBg.js")), Je = B(() => import("./Tooltip-0n7pdXhW.js")), Qe = B(() => import("./UserOptions-LIF1UWJS.js")), Ze = B(() => import("./PackageVersion-BaWtR2QJ.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({
34
34
  get: () => xe(),
35
35
  set: (t) => t
36
36
  }), { userOptionsVisible: oe, setUserOptionsVisibility: me, keepUserOptionState: we } = Vt({ config: e.value }), { svgRef: ke } = Mt({ config: e.value.style.chart.title });
@@ -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-CaxNz2cE.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-DEIYaZgn.js";
3
3
  import { t as Me, u as Te } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as oe } from "./useNestedProp-DpK9-Xt0.js";
5
- import { u as Ne } from "./usePrinter-BprQttno.js";
4
+ import { u as oe } from "./useNestedProp-BEehCUIF.js";
5
+ import { u as Ne } from "./usePrinter-qQMLh6Yb.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-BTCPUIcD.js";
8
+ import Xe from "./Title-wKsVP3Tb.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-U4bWifCe.js")), re = $(() => import("./vue-ui-skeleton-C2paDc2u.js")), ie = $(() => import("./UserOptions-yZJ8noVU.js")), ce = $(() => import("./PackageVersion-BVH19wf6.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-C9Iqlmr3.js")), re = $(() => import("./vue-ui-skeleton-Cg2RwgBg.js")), ie = $(() => import("./UserOptions-LIF1UWJS.js")), ce = $(() => import("./PackageVersion-BaWtR2QJ.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 });
@@ -1,12 +1,12 @@
1
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-CaxNz2cE.js";
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-DEIYaZgn.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-DpK9-Xt0.js";
5
- import { u as ct } from "./usePrinter-BprQttno.js";
4
+ import { u as Ne } from "./useNestedProp-BEehCUIF.js";
5
+ import { u as ct } from "./usePrinter-qQMLh6Yb.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-BTCPUIcD.js";
9
+ import mt from "./Title-wKsVP3Tb.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;
@@ -148,7 +148,7 @@ const bt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["width", "height"], kt = ["t
148
148
  De((t) => ({
149
149
  c9496d9a: t.slicerColor
150
150
  }));
151
- const u = j(() => import("./vue-ui-accordion-BZ16n4QT.js")), f = j(() => import("./BaseIcon-PZPlJOYf.js")), c = j(() => import("./DataTable-bcUa-A_V.js")), m = j(() => import("./PackageVersion-BVH19wf6.js")), l = j(() => import("./PenAndPaper-U4bWifCe.js")), a = j(() => import("./Tooltip-B9AfUFVK.js")), s = j(() => import("./UserOptions-yZJ8noVU.js")), { vue_ui_word_cloud: C } = qe(), d = w, h = se({
151
+ const u = j(() => import("./vue-ui-accordion-BiBydzl9.js")), f = j(() => import("./BaseIcon-fYqf6uWD.js")), c = j(() => import("./DataTable-CDJecyZ0.js")), m = j(() => import("./PackageVersion-BaWtR2QJ.js")), l = j(() => import("./PenAndPaper-C9Iqlmr3.js")), a = j(() => import("./Tooltip-0n7pdXhW.js")), s = j(() => import("./UserOptions-LIF1UWJS.js")), { vue_ui_word_cloud: C } = qe(), d = w, h = se({
152
152
  get() {
153
153
  return !!d.dataset && d.dataset.length;
154
154
  },