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,4 +1,4 @@
1
- import { defineAsyncComponent as _, computed as i, ref as r, toRefs as Ot, watch as E, shallowRef as Ve, onMounted as St, onBeforeUnmount as _t, createElementBlock as c, openBlock as u, unref as s, normalizeStyle as D, normalizeClass as j, createBlock as A, createCommentVNode as p, createElementVNode as I, createVNode as ie, createSlots as Ue, withCtx as h, renderSlot as g, normalizeProps as R, guardReactiveProps as L, Fragment as Y, renderList as X, toDisplayString as z, Teleport as At, resolveDynamicComponent as It, mergeProps as Pt, createTextVNode as Ee, nextTick as Ye } from "vue";
1
+ import { defineAsyncComponent as A, computed as i, ref as r, toRefs as Ot, watch as E, shallowRef as Ve, onMounted as St, onBeforeUnmount as At, createElementBlock as c, openBlock as u, unref as s, normalizeStyle as D, normalizeClass as j, createBlock as _, createCommentVNode as p, createElementVNode as I, createVNode as ie, createSlots as Ue, withCtx as d, renderSlot as g, normalizeProps as R, guardReactiveProps as L, Fragment as Y, renderList as X, toDisplayString as z, Teleport as _t, resolveDynamicComponent as It, mergeProps as Pt, createTextVNode as Ee, nextTick as Ye } from "vue";
2
2
  import { c as Ft, t as Dt, b as Mt, p as Xe, e as Rt, o as Ge, f as ce, h as Lt, d as B, X as zt, a as ve, G as He, P as Bt, Q as Nt, H as Vt } from "./lib-C_mNZmhD.js";
3
3
  import { t as Ut, u as Et } from "./useResponsive-DfdjqQps.js";
4
4
  import { u as Yt, a as We } from "./useNestedProp-BjZe1Y85.js";
@@ -34,7 +34,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
34
34
  },
35
35
  emits: ["selectLegend"],
36
36
  setup(je, { expose: qe, emit: Qe }) {
37
- const Je = _(() => import("./Tooltip-oWCO1HKy.js")), Ke = _(() => import("./BaseIcon-BmMbm4d0.js")), Ze = _(() => import("./vue-ui-accordion-CZ0thhxa.js")), et = _(() => import("./DataTable-BT7VF2ua.js")), tt = _(() => import("./UserOptions-CnzumGJj.js")), at = _(() => import("./PenAndPaper-DSvu9dwa.js")), lt = _(() => import("./PackageVersion-BSldVhnp.js")), ot = _(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_onion: nt } = Yt(), C = je, de = i(() => !!C.dataset && C.dataset.length), y = r(Ft()), st = r(null), he = r(0), q = r(!1), Q = r(""), b = r([]), $ = r(null), ge = r(null), pe = r(null), fe = r(null), me = r(null), ye = r(0), be = r(0), ke = r(0), x = r(!1), we = r(!1), N = r(null), e = r(Z()), { loading: k, FINAL_DATASET: Ce, manualLoading: J } = Xt({
37
+ const Je = A(() => import("./Tooltip-oWCO1HKy.js")), Ke = A(() => import("./BaseIcon-BmMbm4d0.js")), Ze = A(() => import("./vue-ui-accordion-CZ0thhxa.js")), et = A(() => import("./DataTable-BT7VF2ua.js")), tt = A(() => import("./UserOptions-CGnQt6Fd.js")), at = A(() => import("./PenAndPaper-DSvu9dwa.js")), lt = A(() => import("./PackageVersion-D-auaEEJ.js")), ot = A(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_onion: nt } = Yt(), C = je, de = i(() => !!C.dataset && C.dataset.length), y = r(Ft()), st = r(null), he = r(0), q = r(!1), Q = r(""), b = r([]), $ = r(null), ge = r(null), pe = r(null), fe = r(null), me = r(null), ye = r(0), be = r(0), ke = r(0), T = r(!1), we = r(!1), N = r(null), e = r(Z()), { loading: k, FINAL_DATASET: Ce, manualLoading: J } = Xt({
38
38
  ...Ot(C),
39
39
  FINAL_CONFIG: e,
40
40
  prepareConfig: Z,
@@ -70,7 +70,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
70
70
  }
71
71
  }
72
72
  })
73
- }), { userOptionsVisible: K, setUserOptionsVisibility: $e, keepUserOptionState: xe } = jt({ config: e.value }), { svgRef: G } = qt({ config: e.value.style.chart.title });
73
+ }), { userOptionsVisible: K, setUserOptionsVisibility: $e, keepUserOptionState: Te } = jt({ config: e.value }), { svgRef: G } = qt({ config: e.value.style.chart.title });
74
74
  function Z() {
75
75
  const t = We({
76
76
  userConfig: C.config,
@@ -87,7 +87,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
87
87
  E(() => C.config, (t) => {
88
88
  k.value || (e.value = Z()), K.value = !e.value.userOptions.showOnChartHover, Ie(), ye.value += 1, be.value += 1, ke.value += 1, f.value.showTable = e.value.table.show, f.value.showTooltip = e.value.style.chart.tooltip.show;
89
89
  }, { deep: !0 });
90
- const { isPrinting: Te, isImaging: Oe, generatePdf: Se, generateImage: _e } = Ht({
90
+ const { isPrinting: xe, isImaging: Oe, generatePdf: Se, generateImage: Ae } = Ht({
91
91
  elementId: `vue-ui-onion_${y.value}`,
92
92
  fileName: e.value.style.chart.title.text || "vue-ui-onion",
93
93
  options: e.value.userOptions.print
@@ -118,7 +118,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
118
118
  const it = i({
119
119
  get: () => e.value.style.chart.layout.labels.fontSize,
120
120
  set: (t) => t
121
- }), { autoSizeLabels: Ae } = Qt({
121
+ }), { autoSizeLabels: _e } = Qt({
122
122
  svgRef: G,
123
123
  fontSize: e.value.style.chart.layout.labels.fontSize,
124
124
  minFontSize: e.value.style.chart.layout.labels.minFontSize,
@@ -133,7 +133,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
133
133
  debug: ct.value
134
134
  }), J.value = !0), Ge(C.dataset) || (J.value = e.value.loading), e.value.responsive) {
135
135
  const o = Ut(() => {
136
- ee && clearTimeout(ee), x.value = !0;
136
+ ee && clearTimeout(ee), T.value = !0;
137
137
  let { width: a, height: l } = Et({
138
138
  chart: $.value,
139
139
  title: e.value.style.chart.title.text ? ge.value : null,
@@ -143,18 +143,18 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
143
143
  });
144
144
  l -= 12, requestAnimationFrame(async () => {
145
145
  n.value.width = a, n.value.height = l, n.value.padding.top = Math.max(a, l) * 0.125, n.value.padding.right = Math.max(a, l) * 0.125, n.value.padding.bottom = Math.max(a, l) * 0.125, n.value.padding.left = Math.max(a, l) * 0.125, n.value.minRadius = Math.min(a, l) * 0.125, ee = setTimeout(() => {
146
- x.value = !1, Ae();
146
+ T.value = !1, _e();
147
147
  }, 0);
148
148
  });
149
149
  });
150
150
  O.value && (M.value && O.value.unobserve(M.value), O.value.disconnect()), O.value = new ResizeObserver(o), M.value = $.value.parentNode, O.value.observe(M.value);
151
151
  }
152
- requestAnimationFrame(Ae);
152
+ requestAnimationFrame(_e);
153
153
  }
154
- _t(() => {
154
+ At(() => {
155
155
  O.value && (M.value && O.value.unobserve(M.value), O.value.disconnect());
156
156
  });
157
- const d = i(() => ({
157
+ const h = i(() => ({
158
158
  top: n.value.padding.top,
159
159
  left: n.value.padding.left,
160
160
  right: n.value.width - n.value.padding.right,
@@ -227,13 +227,13 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
227
227
  paddingBottom: 12,
228
228
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
229
229
  })), pt = i(() => m.value.filter((t) => !b.value.includes(t.id)).length), P = i(() => {
230
- const t = Math.min(d.value.width, d.value.height) / 2 / m.value.length;
230
+ const t = Math.min(h.value.width, h.value.height) / 2 / m.value.length;
231
231
  return {
232
232
  gutter: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.gutter.width,
233
233
  track: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.track.width
234
234
  };
235
- }), T = i(() => V.value.filter((t) => !b.value.includes(t.id)).map((t, o) => {
236
- const a = (d.value.maxRadius - P.value.track) / pt.value / 2 * (1 + o), l = d.value.centerY - a;
235
+ }), x = i(() => V.value.filter((t) => !b.value.includes(t.id)).map((t, o) => {
236
+ const a = (h.value.maxRadius - P.value.track) / pt.value / 2 * (1 + o), l = h.value.centerY - a;
237
237
  return {
238
238
  percentage: t.percentage || 0,
239
239
  ...t,
@@ -251,28 +251,28 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
251
251
  dashOffset: w,
252
252
  fullOffset: 0,
253
253
  active: `
254
- M ${d.value.centerX},${d.value.centerY - t}
254
+ M ${h.value.centerX},${h.value.centerY - t}
255
255
  A ${t},${t} 0 1 1
256
- ${d.value.centerX + t * Math.cos(Math.PI * 3 / 4)},${d.value.centerY + t * Math.sin(Math.PI * 3 / 4)}
256
+ ${h.value.centerX + t * Math.cos(Math.PI * 3 / 4)},${h.value.centerY + t * Math.sin(Math.PI * 3 / 4)}
257
257
  `.trim()
258
258
  };
259
259
  }
260
260
  const mt = Qe;
261
261
  function Fe(t) {
262
- b.value.includes(t) ? b.value = b.value.filter((o) => o !== t) : b.value.push(t), mt("selectLegend", T.value);
262
+ b.value.includes(t) ? b.value = b.value.filter((o) => o !== t) : b.value.push(t), mt("selectLegend", x.value);
263
263
  }
264
264
  function yt() {
265
- return T.value;
265
+ return x.value;
266
266
  }
267
267
  const le = i(() => {
268
- const t = [e.value.table.translations.serie, e.value.table.translations.percentage, e.value.table.translations.value], o = T.value.map((a) => [
268
+ const t = [e.value.table.translations.serie, e.value.table.translations.percentage, e.value.table.translations.value], o = x.value.map((a) => [
269
269
  a.name,
270
270
  a.percentage,
271
271
  a.value
272
272
  ]);
273
273
  return { head: t, body: o };
274
274
  }), H = i(() => {
275
- const t = le.value.head, o = T.value.map((l) => [
275
+ const t = le.value.head, o = x.value.map((l) => [
276
276
  `<span style="color:${l.color}">⬤</span> ${l.name}`,
277
277
  `${Number(l.percentage ?? 0).toFixed(e.value.table.td.roundingPercentage).toLocaleString()}%`,
278
278
  `${l.prefix || ""}${[null, void 0, NaN, "NaN"].includes(l.value) ? "-" : l.value.toFixed(e.value.table.td.roundingValue).toLocaleString()}${l.suffix || ""}`
@@ -404,7 +404,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
404
404
  const kt = i(() => te.value.map((t) => ({
405
405
  ...t,
406
406
  name: t.display
407
- }))), wt = i(() => e.value.style.chart.backgroundColor), Ct = i(() => e.value.style.chart.legend), $t = i(() => e.value.style.chart.title), { exportSvg: xt, getSvg: Tt } = Wt({
407
+ }))), wt = i(() => e.value.style.chart.backgroundColor), Ct = i(() => e.value.style.chart.legend), $t = i(() => e.value.style.chart.title), { exportSvg: Tt, getSvg: xt } = Wt({
408
408
  svg: G,
409
409
  title: $t,
410
410
  legend: Ct,
@@ -413,17 +413,17 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
413
413
  });
414
414
  async function Ne({ isCb: t }) {
415
415
  if (t) {
416
- const { blob: o, url: a, text: l, dataUrl: v } = await Tt();
416
+ const { blob: o, url: a, text: l, dataUrl: v } = await xt();
417
417
  e.value.userOptions.callbacks.svg({ blob: o, url: a, text: l, dataUrl: v });
418
418
  } else
419
- xt();
419
+ Tt();
420
420
  }
421
421
  return qe({
422
422
  getData: yt,
423
423
  getImage: bt,
424
424
  generatePdf: Se,
425
425
  generateCsv: oe,
426
- generateImage: _e,
426
+ generateImage: Ae,
427
427
  generateSvg: Ne,
428
428
  toggleTable: ze,
429
429
  toggleTooltip: Be,
@@ -438,7 +438,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
438
438
  onMouseenter: o[4] || (o[4] = () => s($e)(!0)),
439
439
  onMouseleave: o[5] || (o[5] = () => s($e)(!1))
440
440
  }, [
441
- e.value.userOptions.buttons.annotator ? (u(), A(s(at), {
441
+ e.value.userOptions.buttons.annotator ? (u(), _(s(at), {
442
442
  key: 0,
443
443
  svgRef: s(G),
444
444
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -459,7 +459,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
459
459
  ref: ge,
460
460
  style: "width:100%;background:transparent"
461
461
  }, [
462
- (u(), A(Kt, {
462
+ (u(), _(Kt, {
463
463
  key: `title_${ye.value}`,
464
464
  config: {
465
465
  title: {
@@ -476,14 +476,14 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
476
476
  I("div", {
477
477
  id: `legend-top-${y.value}`
478
478
  }, null, 8, la),
479
- e.value.userOptions.show && de.value && (s(xe) || s(K)) ? (u(), A(s(tt), {
479
+ e.value.userOptions.show && de.value && (s(Te) || s(K)) ? (u(), _(s(tt), {
480
480
  ref_key: "details",
481
481
  ref: st,
482
482
  key: `user_options${he.value}`,
483
483
  backgroundColor: e.value.style.chart.backgroundColor,
484
484
  color: e.value.style.chart.color,
485
485
  isImaging: s(Oe),
486
- isPrinting: s(Te),
486
+ isPrinting: s(xe),
487
487
  uid: y.value,
488
488
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
489
489
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -505,77 +505,84 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
505
505
  onToggleFullscreen: De,
506
506
  onGeneratePdf: s(Se),
507
507
  onGenerateCsv: oe,
508
- onGenerateImage: s(_e),
508
+ onGenerateImage: s(Ae),
509
509
  onGenerateSvg: Ne,
510
510
  onToggleTable: ze,
511
511
  onToggleTooltip: Be,
512
512
  onToggleAnnotator: se,
513
513
  style: D({
514
- visibility: s(xe) ? s(K) ? "visible" : "hidden" : "visible"
514
+ visibility: s(Te) ? s(K) ? "visible" : "hidden" : "visible"
515
515
  })
516
516
  }, Ue({ _: 2 }, [
517
517
  t.$slots.menuIcon ? {
518
518
  name: "menuIcon",
519
- fn: h(({ isOpen: a, color: l }) => [
519
+ fn: d(({ isOpen: a, color: l }) => [
520
520
  g(t.$slots, "menuIcon", R(L({ isOpen: a, color: l })), void 0, !0)
521
521
  ]),
522
522
  key: "0"
523
523
  } : void 0,
524
524
  t.$slots.optionTooltip ? {
525
525
  name: "optionTooltip",
526
- fn: h(() => [
526
+ fn: d(() => [
527
527
  g(t.$slots, "optionTooltip", {}, void 0, !0)
528
528
  ]),
529
529
  key: "1"
530
530
  } : void 0,
531
531
  t.$slots.optionPdf ? {
532
532
  name: "optionPdf",
533
- fn: h(() => [
533
+ fn: d(() => [
534
534
  g(t.$slots, "optionPdf", {}, void 0, !0)
535
535
  ]),
536
536
  key: "2"
537
537
  } : void 0,
538
538
  t.$slots.optionCsv ? {
539
539
  name: "optionCsv",
540
- fn: h(() => [
540
+ fn: d(() => [
541
541
  g(t.$slots, "optionCsv", {}, void 0, !0)
542
542
  ]),
543
543
  key: "3"
544
544
  } : void 0,
545
545
  t.$slots.optionImg ? {
546
546
  name: "optionImg",
547
- fn: h(() => [
547
+ fn: d(() => [
548
548
  g(t.$slots, "optionImg", {}, void 0, !0)
549
549
  ]),
550
550
  key: "4"
551
551
  } : void 0,
552
+ t.$slots.optionSvg ? {
553
+ name: "optionSvg",
554
+ fn: d(() => [
555
+ g(t.$slots, "optionSvg", {}, void 0, !0)
556
+ ]),
557
+ key: "5"
558
+ } : void 0,
552
559
  t.$slots.optionTable ? {
553
560
  name: "optionTable",
554
- fn: h(() => [
561
+ fn: d(() => [
555
562
  g(t.$slots, "optionTable", {}, void 0, !0)
556
563
  ]),
557
- key: "5"
564
+ key: "6"
558
565
  } : void 0,
559
566
  t.$slots.optionFullscreen ? {
560
567
  name: "optionFullscreen",
561
- fn: h(({ toggleFullscreen: a, isFullscreen: l }) => [
568
+ fn: d(({ toggleFullscreen: a, isFullscreen: l }) => [
562
569
  g(t.$slots, "optionFullscreen", R(L({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
563
570
  ]),
564
- key: "6"
571
+ key: "7"
565
572
  } : void 0,
566
573
  t.$slots.optionAnnotator ? {
567
574
  name: "optionAnnotator",
568
- fn: h(({ toggleAnnotator: a, isAnnotator: l }) => [
575
+ fn: d(({ toggleAnnotator: a, isAnnotator: l }) => [
569
576
  g(t.$slots, "optionAnnotator", R(L({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
570
577
  ]),
571
- key: "7"
578
+ key: "8"
572
579
  } : void 0
573
580
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : p("", !0),
574
581
  (u(), c("svg", {
575
582
  ref_key: "svgRef",
576
583
  ref: G,
577
584
  xmlns: s(zt),
578
- class: j({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value, resizing: x.value }),
585
+ class: j({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value, resizing: T.value }),
579
586
  viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
580
587
  style: D(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
581
588
  }, [
@@ -592,9 +599,9 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
592
599
  }, [
593
600
  g(t.$slots, "chart-background", {}, void 0, !0)
594
601
  ], 8, na)) : p("", !0),
595
- (u(!0), c(Y, null, X(T.value, (a, l) => (u(), c("circle", {
596
- cx: d.value.centerX,
597
- cy: d.value.centerY,
602
+ (u(!0), c(Y, null, X(x.value, (a, l) => (u(), c("circle", {
603
+ cx: h.value.centerX,
604
+ cy: h.value.centerY,
598
605
  r: a.radius <= 0 ? 1e-4 : a.radius,
599
606
  stroke: e.value.style.chart.layout.gutter.color,
600
607
  "stroke-width": P.value.gutter,
@@ -606,13 +613,13 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
606
613
  style: D({
607
614
  transform: "rotate(-90deg)",
608
615
  transformOrigin: "50% 50%",
609
- transition: x.value || s(k) ? "none" : "all 0.3s ease-in-out !important",
610
- animation: x.value || s(k) ? "none" : "xyAnimation 0.5s ease-in"
616
+ transition: T.value || s(k) ? "none" : "all 0.3s ease-in-out !important",
617
+ animation: T.value || s(k) ? "none" : "xyAnimation 0.5s ease-in"
611
618
  })
612
619
  }, null, 14, sa))), 256)),
613
- (u(!0), c(Y, null, X(T.value, (a, l) => (u(), c("circle", {
614
- cx: d.value.centerX,
615
- cy: d.value.centerY,
620
+ (u(!0), c(Y, null, X(x.value, (a, l) => (u(), c("circle", {
621
+ cx: h.value.centerX,
622
+ cy: h.value.centerY,
616
623
  r: a.radius < 0 ? 1e-4 : a.radius,
617
624
  stroke: `${a.color}`,
618
625
  "stroke-width": P.value.track,
@@ -624,8 +631,8 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
624
631
  style: D({
625
632
  transform: "rotate(-90deg)",
626
633
  transformOrigin: "50% 50%",
627
- transition: x.value || s(k) ? "none" : "all 0.3s ease-in-out !important",
628
- animation: x.value || s(k) ? "none" : "xyAnimation 0.5s ease-in"
634
+ transition: T.value || s(k) ? "none" : "all 0.3s ease-in-out !important",
635
+ animation: T.value || s(k) ? "none" : "xyAnimation 0.5s ease-in"
629
636
  })
630
637
  }, null, 14, ua))), 256)),
631
638
  I("defs", null, [
@@ -646,9 +653,9 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
646
653
  key: 1,
647
654
  filter: `url(#blur_${y.value})`
648
655
  }, [
649
- (u(!0), c(Y, null, X(T.value, (a, l) => (u(), c("circle", {
650
- cx: d.value.centerX,
651
- cy: d.value.centerY,
656
+ (u(!0), c(Y, null, X(x.value, (a, l) => (u(), c("circle", {
657
+ cx: h.value.centerX,
658
+ cy: h.value.centerY,
652
659
  r: a.radius <= 0 ? 1e-4 : a.radius,
653
660
  stroke: "white",
654
661
  "stroke-width": P.value.track / 3,
@@ -659,14 +666,14 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
659
666
  style: D({
660
667
  transform: "rotate(-90deg)",
661
668
  transformOrigin: "50% 50%",
662
- transition: x.value || s(k) ? "none" : "all 0.3s ease-in-out !important",
663
- animation: x.value || s(k) ? "none" : "xyAnimation 0.5s ease-in"
669
+ transition: T.value || s(k) ? "none" : "all 0.3s ease-in-out !important",
670
+ animation: T.value || s(k) ? "none" : "xyAnimation 0.5s ease-in"
664
671
  })
665
672
  }, null, 12, va))), 256))
666
673
  ], 8, ca)) : p("", !0),
667
- (u(!0), c(Y, null, X(T.value, (a, l) => (u(), c("circle", {
668
- cx: d.value.centerX,
669
- cy: d.value.centerY,
674
+ (u(!0), c(Y, null, X(x.value, (a, l) => (u(), c("circle", {
675
+ cx: h.value.centerX,
676
+ cy: h.value.centerY,
670
677
  r: a.radius <= 0 ? 1e-4 : a.radius,
671
678
  stroke: "transparent",
672
679
  "stroke-width": Math.max(P.value.track, P.value.gutter),
@@ -688,7 +695,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
688
695
  onClick: (v) => Me({ datapoint: a })
689
696
  }, null, 40, da))), 256)),
690
697
  e.value.style.chart.layout.labels.show ? (u(), c("g", ha, [
691
- (u(!0), c(Y, null, X(T.value, (a, l) => (u(), c("g", {
698
+ (u(!0), c(Y, null, X(x.value, (a, l) => (u(), c("g", {
692
699
  onMouseenter: (v) => Le({
693
700
  datapoint: a,
694
701
  show: !0,
@@ -736,12 +743,12 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
736
743
  g(t.$slots, "svg", { svg: n.value }, void 0, !0)
737
744
  ], 14, oa)),
738
745
  t.$slots.watermark ? (u(), c("div", fa, [
739
- g(t.$slots, "watermark", R(L({ isPrinting: s(Te) || s(Oe) })), void 0, !0)
746
+ g(t.$slots, "watermark", R(L({ isPrinting: s(xe) || s(Oe) })), void 0, !0)
740
747
  ])) : p("", !0),
741
748
  I("div", {
742
749
  id: `legend-bottom-${y.value}`
743
750
  }, null, 8, ma),
744
- we.value ? (u(), A(At, {
751
+ we.value ? (u(), _(_t, {
745
752
  key: 5,
746
753
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${y.value}` : `#legend-bottom-${y.value}`
747
754
  }, [
@@ -749,13 +756,13 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
749
756
  ref_key: "chartLegend",
750
757
  ref: pe
751
758
  }, [
752
- e.value.style.chart.legend.show ? (u(), A(Zt, {
759
+ e.value.style.chart.legend.show ? (u(), _(Zt, {
753
760
  key: `legend_${ke.value}`,
754
761
  legendSet: te.value,
755
762
  config: gt.value,
756
763
  onClickMarker: o[0] || (o[0] = ({ legend: a }) => Fe(a.id))
757
764
  }, {
758
- item: h(({ legend: a }) => [
765
+ item: d(({ legend: a }) => [
759
766
  s(k) ? p("", !0) : (u(), c("div", {
760
767
  key: 0,
761
768
  "data-cy-legend-item": "",
@@ -798,21 +805,21 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
798
805
  smoothForce: e.value.style.chart.tooltip.smoothForce,
799
806
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
800
807
  }, {
801
- "tooltip-before": h(() => [
808
+ "tooltip-before": d(() => [
802
809
  g(t.$slots, "tooltip-before", R(L({ ...ne.value })), void 0, !0)
803
810
  ]),
804
- "tooltip-after": h(() => [
811
+ "tooltip-after": d(() => [
805
812
  g(t.$slots, "tooltip-after", R(L({ ...ne.value })), void 0, !0)
806
813
  ]),
807
814
  _: 3
808
815
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
809
- de.value && e.value.userOptions.buttons.table ? (u(), A(It(U.value.component), Pt({ key: 7 }, U.value.props, {
816
+ de.value && e.value.userOptions.buttons.table ? (u(), _(It(U.value.component), Pt({ key: 7 }, U.value.props, {
810
817
  ref_key: "tableUnit",
811
818
  ref: N,
812
819
  onClose: o[3] || (o[3] = (a) => f.value.showTable = !1)
813
820
  }), Ue({
814
- content: h(() => [
815
- (u(), A(s(et), {
821
+ content: d(() => [
822
+ (u(), _(s(et), {
816
823
  key: `table_${be.value}`,
817
824
  colNames: H.value.colNames,
818
825
  head: H.value.head,
@@ -822,10 +829,10 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
822
829
  withCloseButton: !e.value.table.useDialog,
823
830
  onClose: o[2] || (o[2] = (a) => f.value.showTable = !1)
824
831
  }, {
825
- th: h(({ th: a }) => [
832
+ th: d(({ th: a }) => [
826
833
  Ee(z(a), 1)
827
834
  ]),
828
- td: h(({ td: a }) => [
835
+ td: d(({ td: a }) => [
829
836
  I("div", { innerHTML: a }, null, 8, ba)
830
837
  ]),
831
838
  _: 1
@@ -835,14 +842,14 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
835
842
  }, [
836
843
  e.value.table.useDialog ? {
837
844
  name: "title",
838
- fn: h(() => [
845
+ fn: d(() => [
839
846
  Ee(z(U.value.title), 1)
840
847
  ]),
841
848
  key: "0"
842
849
  } : void 0,
843
850
  e.value.table.useDialog ? {
844
851
  name: "actions",
845
- fn: h(() => [
852
+ fn: d(() => [
846
853
  I("button", {
847
854
  tabindex: "0",
848
855
  class: "vue-ui-user-options-button",
@@ -857,10 +864,10 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
857
864
  key: "1"
858
865
  } : void 0
859
866
  ]), 1040)) : p("", !0),
860
- s(k) ? (u(), A(Gt, { key: 8 })) : p("", !0)
867
+ s(k) ? (u(), _(Gt, { key: 8 })) : p("", !0)
861
868
  ], 46, aa));
862
869
  }
863
- }, La = /* @__PURE__ */ ta(ka, [["__scopeId", "data-v-75c2d02d"]]);
870
+ }, La = /* @__PURE__ */ ta(ka, [["__scopeId", "data-v-6d972bcd"]]);
864
871
  export {
865
872
  La as default
866
873
  };