vue-data-ui 3.4.9 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/README.md +114 -37
  2. package/dist/{ColorPicker-J5wOPCeB.js → ColorPicker-ChuwChMo.js} +58 -56
  3. package/dist/{NonSvgPenAndPaper-C7TRn0_3.js → NonSvgPenAndPaper-DVgKKLIf.js} +1 -1
  4. package/dist/{PackageVersion-CTUqGqWV.js → PackageVersion-DQvyATVa.js} +1 -1
  5. package/dist/PenAndPaper-SZQIAgkg.js +388 -0
  6. package/dist/{Title-l36lOBMx.js → Title-isbiM8i8.js} +1 -1
  7. package/dist/components/vue-ui-3d-bar.js +1 -1
  8. package/dist/components/vue-ui-accordion.js +1 -1
  9. package/dist/components/vue-ui-age-pyramid.js +1 -1
  10. package/dist/components/vue-ui-annotator.js +1 -1
  11. package/dist/components/vue-ui-bullet.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dashboard.js +1 -1
  19. package/dist/components/vue-ui-digits.js +1 -1
  20. package/dist/components/vue-ui-donut-evolution.js +1 -1
  21. package/dist/components/vue-ui-donut.js +1 -1
  22. package/dist/components/vue-ui-dumbbell.js +1 -1
  23. package/dist/components/vue-ui-flow.js +1 -1
  24. package/dist/components/vue-ui-funnel.js +1 -1
  25. package/dist/components/vue-ui-galaxy.js +1 -1
  26. package/dist/components/vue-ui-gauge.js +1 -1
  27. package/dist/components/vue-ui-gizmo.js +1 -1
  28. package/dist/components/vue-ui-heatmap.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-mini-loader.js +1 -1
  33. package/dist/components/vue-ui-molecule.js +1 -1
  34. package/dist/components/vue-ui-mood-radar.js +1 -1
  35. package/dist/components/vue-ui-nested-donuts.js +1 -1
  36. package/dist/components/vue-ui-onion.js +1 -1
  37. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  38. package/dist/components/vue-ui-quadrant.js +1 -1
  39. package/dist/components/vue-ui-quick-chart.js +1 -1
  40. package/dist/components/vue-ui-radar.js +1 -1
  41. package/dist/components/vue-ui-rating.js +1 -1
  42. package/dist/components/vue-ui-relation-circle.js +1 -1
  43. package/dist/components/vue-ui-ridgeline.js +1 -1
  44. package/dist/components/vue-ui-rings.js +1 -1
  45. package/dist/components/vue-ui-scatter.js +1 -1
  46. package/dist/components/vue-ui-skeleton.js +1 -1
  47. package/dist/components/vue-ui-smiley.js +1 -1
  48. package/dist/components/vue-ui-spark-trend.js +1 -1
  49. package/dist/components/vue-ui-sparkbar.js +1 -1
  50. package/dist/components/vue-ui-sparkgauge.js +1 -1
  51. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  52. package/dist/components/vue-ui-sparkline.js +1 -1
  53. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  54. package/dist/components/vue-ui-stackbar.js +1 -1
  55. package/dist/components/vue-ui-strip-plot.js +1 -1
  56. package/dist/components/vue-ui-table-heatmap.js +1 -1
  57. package/dist/components/vue-ui-table-sparkline.js +1 -1
  58. package/dist/components/vue-ui-table.js +1 -1
  59. package/dist/components/vue-ui-thermometer.js +1 -1
  60. package/dist/components/vue-ui-timer.js +1 -1
  61. package/dist/components/vue-ui-tiremarks.js +1 -1
  62. package/dist/components/vue-ui-treemap.js +1 -1
  63. package/dist/components/vue-ui-vertical-bar.js +1 -1
  64. package/dist/components/vue-ui-waffle.js +1 -1
  65. package/dist/components/vue-ui-wheel.js +1 -1
  66. package/dist/components/vue-ui-word-cloud.js +1 -1
  67. package/dist/components/vue-ui-world.js +1 -1
  68. package/dist/components/vue-ui-xy-canvas.js +1 -1
  69. package/dist/components/vue-ui-xy.js +1 -1
  70. package/dist/style.css +1 -1
  71. package/dist/types/vue-data-ui.d.ts +17 -8
  72. package/dist/{useNestedProp-BjZe1Y85.js → useNestedProp-DjGXw6S9.js} +22 -8
  73. package/dist/{vue-data-ui-DjxWWa78.js → vue-data-ui-B_RxfmEm.js} +113 -107
  74. package/dist/vue-data-ui.js +64 -64
  75. package/dist/{vue-ui-3d-bar-CLE7f9pl.js → vue-ui-3d-bar-CMNYyVa2.js} +454 -434
  76. package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-CqhVCfc2.js} +1 -1
  77. package/dist/{vue-ui-age-pyramid-D73uIOPm.js → vue-ui-age-pyramid-Vqa9iYXE.js} +180 -160
  78. package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-nNv10fBm.js} +3 -3
  79. package/dist/{vue-ui-bullet-Bybo0xK2.js → vue-ui-bullet-BWEBeYV5.js} +190 -170
  80. package/dist/{vue-ui-candlestick-D_FyMdqH.js → vue-ui-candlestick-BoLzL0g1.js} +201 -181
  81. package/dist/{vue-ui-carousel-table-BvMlNdVo.js → vue-ui-carousel-table-Bi6wvUUU.js} +2 -2
  82. package/dist/{vue-ui-chestnut-DA0g0bDV.js → vue-ui-chestnut-BGz1TLXG.js} +375 -355
  83. package/dist/vue-ui-chord-CebhS7ln.js +1153 -0
  84. package/dist/{vue-ui-circle-pack-BPDm-ro5.js → vue-ui-circle-pack-7PJVyKjp.js} +289 -269
  85. package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-qYLAwvzn.js} +1 -1
  86. package/dist/vue-ui-dashboard-DcmMvhgM.js +432 -0
  87. package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-DyE8eU1m.js} +1 -1
  88. package/dist/vue-ui-donut-CxZcJFTo.js +1681 -0
  89. package/dist/{vue-ui-donut-evolution-Ca3Svr0B.js → vue-ui-donut-evolution-BVYL-BUJ.js} +480 -444
  90. package/dist/{vue-ui-dumbbell-CxCE2luV.js → vue-ui-dumbbell-QxZn86A3.js} +210 -190
  91. package/dist/{vue-ui-flow-DEvwXd4W.js → vue-ui-flow-DEI5LRch.js} +339 -319
  92. package/dist/{vue-ui-funnel-Bgcx7xia.js → vue-ui-funnel-B_A5orFg.js} +218 -198
  93. package/dist/{vue-ui-galaxy-BWr1EMob.js → vue-ui-galaxy-CUoDRr-O.js} +313 -277
  94. package/dist/{vue-ui-gauge-DQricvo2.js → vue-ui-gauge-46tSRZN5.js} +311 -291
  95. package/dist/{vue-ui-gizmo-C-fKe3io.js → vue-ui-gizmo-BOgbsXao.js} +2 -2
  96. package/dist/{vue-ui-heatmap-B-o_i7Hu.js → vue-ui-heatmap-DKKjl1A2.js} +303 -283
  97. package/dist/{vue-ui-history-plot-DzQ9DPUJ.js → vue-ui-history-plot-C6p_aThr.js} +478 -442
  98. package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-B1yJ83aF.js} +2 -2
  99. package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-BudcNBg-.js} +1 -1
  100. package/dist/{vue-ui-molecule-I2OhrCR2.js → vue-ui-molecule-L90GnHee.js} +156 -136
  101. package/dist/{vue-ui-mood-radar-BAT7kZUy.js → vue-ui-mood-radar-Dhigm5rw.js} +266 -246
  102. package/dist/{vue-ui-nested-donuts-CjhJDAQi.js → vue-ui-nested-donuts-D0MCLs5n.js} +597 -557
  103. package/dist/vue-ui-onion-B7yPJ3gL.js +915 -0
  104. package/dist/vue-ui-parallel-coordinate-plot-DY21ivNe.js +1051 -0
  105. package/dist/{vue-ui-quadrant-DGnasrCR.js → vue-ui-quadrant-b0vMRaq-.js} +532 -495
  106. package/dist/{vue-ui-quick-chart-Cam_sWet.js → vue-ui-quick-chart-VK2EN7sh.js} +288 -268
  107. package/dist/{vue-ui-radar-DNI9WI2R.js → vue-ui-radar-B5Vkoz9M.js} +412 -373
  108. package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-BH4DW1ZY.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-Dj1jhcsl.js → vue-ui-relation-circle-XHbE-ZUX.js} +228 -208
  110. package/dist/{vue-ui-ridgeline-adIls6bj.js → vue-ui-ridgeline-CAMNq-p_.js} +517 -481
  111. package/dist/vue-ui-rings-ImGOqm_J.js +855 -0
  112. package/dist/vue-ui-scatter-CterNJYe.js +1590 -0
  113. package/dist/{vue-ui-skeleton-DUdI2uOO.js → vue-ui-skeleton-CykXHWj-.js} +2 -2
  114. package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-DnGm6qrK.js} +1 -1
  115. package/dist/{vue-ui-spark-trend-DxpRfUJz.js → vue-ui-spark-trend-N1AsNQJA.js} +2 -2
  116. package/dist/{vue-ui-sparkbar-B44oER5n.js → vue-ui-sparkbar-Bvsi5DTT.js} +2 -2
  117. package/dist/{vue-ui-sparkgauge-ix12NZ7M.js → vue-ui-sparkgauge-DyJmWCWT.js} +2 -2
  118. package/dist/{vue-ui-sparkhistogram-Cs-QDYBR.js → vue-ui-sparkhistogram-5eKrkmSb.js} +143 -140
  119. package/dist/{vue-ui-sparkline-Cb8ZmyUq.js → vue-ui-sparkline-ChKAzlVq.js} +2 -2
  120. package/dist/vue-ui-sparkstackbar-BXNy6nuw.js +441 -0
  121. package/dist/vue-ui-stackbar-1IwvUYBO.js +1827 -0
  122. package/dist/{vue-ui-strip-plot-BjG-Jxnb.js → vue-ui-strip-plot-B1wGxP8-.js} +245 -225
  123. package/dist/{vue-ui-table-DdBdLrAL.js → vue-ui-table-DSsIrT4L.js} +3 -3
  124. package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-DXFHy7-E.js} +1 -1
  125. package/dist/{vue-ui-table-sparkline-EpCo2Be5.js → vue-ui-table-sparkline-DpqY_4ay.js} +2 -2
  126. package/dist/vue-ui-thermometer-CMKvSA8p.js +584 -0
  127. package/dist/{vue-ui-timer-Br3wp8hG.js → vue-ui-timer-BpdCY_wg.js} +3 -3
  128. package/dist/vue-ui-tiremarks-CNipzVli.js +450 -0
  129. package/dist/vue-ui-treemap-DPE8SY0_.js +1330 -0
  130. package/dist/{vue-ui-vertical-bar-yfbEfLqy.js → vue-ui-vertical-bar-ZU1GCbX0.js} +484 -448
  131. package/dist/{vue-ui-waffle-m-9sqQik.js → vue-ui-waffle-z7nuSuSV.js} +398 -362
  132. package/dist/vue-ui-wheel-DLRoRjeM.js +663 -0
  133. package/dist/{vue-ui-word-cloud-vNwswYZD.js → vue-ui-word-cloud-D2r5E3pP.js} +248 -228
  134. package/dist/{vue-ui-world-BsCNyZy_.js → vue-ui-world-goXYnTyM.js} +287 -267
  135. package/dist/{vue-ui-xy-CIrw1lWQ.js → vue-ui-xy-NDDbNbds.js} +1263 -1227
  136. package/dist/{vue-ui-xy-canvas-DXnLFwW3.js → vue-ui-xy-canvas-2a6NlQe3.js} +338 -322
  137. package/package.json +4 -4
  138. package/dist/PenAndPaper-DSvu9dwa.js +0 -373
  139. package/dist/vue-ui-chord-CDgzolI-.js +0 -1133
  140. package/dist/vue-ui-dashboard-CeJwbiON.js +0 -412
  141. package/dist/vue-ui-donut-DjQXHBJE.js +0 -1645
  142. package/dist/vue-ui-onion-DTY2p87s.js +0 -873
  143. package/dist/vue-ui-parallel-coordinate-plot-C8aWTcNn.js +0 -1014
  144. package/dist/vue-ui-rings-CnTMFK6R.js +0 -813
  145. package/dist/vue-ui-scatter-fzR2c0St.js +0 -1554
  146. package/dist/vue-ui-sparkstackbar-BiRZ51OU.js +0 -424
  147. package/dist/vue-ui-stackbar-DubS6Pg8.js +0 -1708
  148. package/dist/vue-ui-thermometer-DTnfnf9z.js +0 -564
  149. package/dist/vue-ui-tiremarks-CrC_tlIx.js +0 -430
  150. package/dist/vue-ui-treemap-kyuyi2ES.js +0 -1294
  151. package/dist/vue-ui-wheel-BasM7FWt.js +0 -643
@@ -1,16 +1,16 @@
1
- import { useCssVars as Qe, computed as i, defineAsyncComponent as x, ref as v, shallowRef as $e, onMounted as Ke, onBeforeUnmount as Ze, watch as xe, createElementBlock as c, openBlock as n, unref as s, normalizeStyle as S, normalizeClass as N, createBlock as P, createCommentVNode as g, createSlots as Le, withCtx as b, renderSlot as m, normalizeProps as G, guardReactiveProps as j, createVNode as _e, createElementVNode as C, mergeProps as H, Fragment as X, renderList as W, toDisplayString as U, resolveDynamicComponent as et, createTextVNode as Se, nextTick as tt } from "vue";
2
- import { c as at, o as lt, f as Te, g as ot, h as st, S as nt, a as Y, d as q, X as ut, J as rt, R as ae, P as it, Q as ct } from "./lib-C_mNZmhD.js";
1
+ import { useCssVars as Qe, computed as v, defineAsyncComponent as S, ref as h, shallowRef as $e, onMounted as Ke, onBeforeUnmount as Ze, watch as Le, createElementBlock as d, openBlock as n, unref as s, normalizeStyle as A, normalizeClass as I, createBlock as F, createCommentVNode as m, withCtx as r, renderSlot as i, normalizeProps as C, guardReactiveProps as w, createSlots as xe, createVNode as Se, createElementVNode as $, mergeProps as H, Fragment as X, renderList as W, toDisplayString as V, resolveDynamicComponent as et, createTextVNode as _e, nextTick as tt } from "vue";
2
+ import { c as at, o as lt, f as Te, g as ot, h as st, S as nt, a as Y, d as q, X as rt, J as ut, R as ae, P as it, Q as ct } from "./lib-C_mNZmhD.js";
3
3
  import { t as vt, u as dt } from "./useResponsive-DfdjqQps.js";
4
- import { u as ht, a as Ae } from "./useNestedProp-BjZe1Y85.js";
4
+ import { u as ht, a as Ae } from "./useNestedProp-DjGXw6S9.js";
5
5
  import { u as ft } from "./usePrinter-DTzqpYKF.js";
6
6
  import { u as bt } from "./useSvgExport-DrjCWun4.js";
7
7
  import { u as gt } from "./useUserOptionState-BIvW1Kz7.js";
8
8
  import { u as mt } from "./useChartAccessibility-9icAAmYg.js";
9
9
  import pt from "./img-BecE5qXd.js";
10
- import yt from "./Title-l36lOBMx.js";
10
+ import yt from "./Title-isbiM8i8.js";
11
11
  import { t as kt } from "./themes-AUNCOb2G.js";
12
12
  import { _ as Ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["id"], _t = ["stop-color"], St = ["stop-color"], Tt = ["stop-color"], At = ["stroke", "stroke-width"], Ot = ["stroke", "stroke-width"], Dt = ["x", "y", "font-size", "fill", "font-weight"], zt = ["points", "fill"], Nt = ["stroke", "stroke-width", "rx"], Pt = ["x", "y", "font-size", "fill", "font-weight"], It = ["x", "y", "font-size", "fill", "font-weight"], Ft = {
13
+ const wt = ["id"], $t = ["xmlns", "viewBox"], Lt = ["width", "height"], xt = ["id"], St = ["stop-color"], _t = ["stop-color"], Tt = ["stop-color"], At = ["stroke", "stroke-width"], Ot = ["stroke", "stroke-width"], Dt = ["x", "y", "font-size", "fill", "font-weight"], zt = ["points", "fill"], Nt = ["stroke", "stroke-width", "rx"], Pt = ["x", "y", "font-size", "fill", "font-weight"], It = ["x", "y", "font-size", "fill", "font-weight"], Ft = {
14
14
  key: 5,
15
15
  class: "vue-data-ui-watermark"
16
16
  }, Rt = ["innerHTML"], Bt = {
@@ -31,9 +31,9 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
31
31
  },
32
32
  setup(Oe, { expose: De }) {
33
33
  Qe((t) => ({
34
- v6ae43114: je.value
34
+ v5e393ed4: je.value
35
35
  }));
36
- const ze = x(() => import("./BaseIcon-BmMbm4d0.js")), Ne = x(() => import("./vue-ui-skeleton-DUdI2uOO.js")), Pe = x(() => import("./vue-ui-accordion-CZ0thhxa.js")), Ie = x(() => import("./DataTable-BT7VF2ua.js")), Fe = x(() => import("./UserOptions-CGnQt6Fd.js")), Re = x(() => import("./PenAndPaper-DSvu9dwa.js")), Be = x(() => import("./PackageVersion-CTUqGqWV.js")), Me = x(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_funnel: Ue } = ht(), p = Oe, w = v(null), I = v(at()), le = v(0), oe = v(0), se = v(0), ne = v(null), ue = v(null), re = v(null), $ = $e(null), T = $e(null), L = v(!1), F = v(null), J = v(null), A = i(() => !!p.dataset && p.dataset.length);
36
+ const ze = S(() => import("./BaseIcon-BmMbm4d0.js")), Ne = S(() => import("./vue-ui-skeleton-CykXHWj-.js")), Pe = S(() => import("./vue-ui-accordion-CqhVCfc2.js")), Ie = S(() => import("./DataTable-BT7VF2ua.js")), Fe = S(() => import("./UserOptions-CGnQt6Fd.js")), Re = S(() => import("./PenAndPaper-SZQIAgkg.js")), Be = S(() => import("./PackageVersion-DQvyATVa.js")), Me = S(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_funnel: Ue } = ht(), p = Oe, L = h(null), R = h(at()), le = h(0), oe = h(0), se = h(0), ne = h(null), re = h(null), ue = h(null), x = $e(null), O = $e(null), _ = h(!1), B = h(null), J = h(null), D = v(() => !!p.dataset && p.dataset.length);
37
37
  Ke(ie);
38
38
  function ie() {
39
39
  if (lt(p.dataset) ? Te({
@@ -44,7 +44,7 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
44
44
  datasetObject: t,
45
45
  requiredAttributes: ["name", "value"]
46
46
  }).forEach((a) => {
47
- A.value = !1, Te({
47
+ D.value = !1, Te({
48
48
  componentName: "VueUiFunnel",
49
49
  type: "datasetSerieAttribute",
50
50
  property: a,
@@ -54,38 +54,38 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
54
54
  }), e.value.responsive) {
55
55
  const t = vt(() => {
56
56
  const { width: l, height: a } = dt({
57
- chart: w.value,
58
- title: e.value.style.chart.title.text ? re.value : null,
59
- source: ue.value,
57
+ chart: L.value,
58
+ title: e.value.style.chart.title.text ? ue.value : null,
59
+ source: re.value,
60
60
  noTitle: ne.value
61
61
  });
62
62
  requestAnimationFrame(() => {
63
- h.value.height = a, h.value.width = l, k.value = me(), e.value.responsiveProportionalSizing ? (d.value.circles = ae({
63
+ b.value.height = a, b.value.width = l, k.value = me(), e.value.responsiveProportionalSizing ? (f.value.circles = ae({
64
64
  relator: Math.min(l, a),
65
65
  adjuster: 600,
66
66
  source: e.value.style.chart.circles.dataLabels.fontSize,
67
67
  threshold: 10,
68
68
  fallback: 10
69
- }), d.value.names = ae({
69
+ }), f.value.names = ae({
70
70
  relator: Math.min(l, a),
71
71
  adjuster: 600,
72
72
  source: e.value.style.chart.bars.dataLabels.name.fontSize,
73
73
  threshold: 10,
74
74
  fallback: 10
75
- }), d.value.values = ae({
75
+ }), f.value.values = ae({
76
76
  relator: Math.min(l, a),
77
77
  adjuster: 600,
78
78
  source: e.value.style.chart.bars.dataLabels.value.fontSize,
79
79
  threshold: 10,
80
80
  fallback: 10
81
- })) : (d.value.circles = e.value.style.chart.circles.dataLabels.fontSize, d.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, d.value.values = e.value.style.chart.bars.dataLabels.value.fontSize);
81
+ })) : (f.value.circles = e.value.style.chart.circles.dataLabels.fontSize, f.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, f.value.values = e.value.style.chart.bars.dataLabels.value.fontSize);
82
82
  });
83
83
  });
84
- $.value && (T.value && $.value.unobserve(T.value), $.value.disconnect()), $.value = new ResizeObserver(t), T.value = w.value.parentNode, $.value.observe(T.value);
84
+ x.value && (O.value && x.value.unobserve(O.value), x.value.disconnect()), x.value = new ResizeObserver(t), O.value = L.value.parentNode, x.value.observe(O.value);
85
85
  }
86
86
  }
87
87
  Ze(() => {
88
- $.value && (T.value && $.value.unobserve(T.value), $.value.disconnect());
88
+ x.value && (O.value && x.value.unobserve(O.value), x.value.disconnect());
89
89
  });
90
90
  function ce() {
91
91
  const t = Ae({
@@ -99,49 +99,49 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
99
99
  })
100
100
  } : t;
101
101
  }
102
- const e = i({
102
+ const e = v({
103
103
  get: () => ce(),
104
104
  set: (t) => t
105
105
  }), { userOptionsVisible: Q, setUserOptionsVisibility: ve, keepUserOptionState: de } = gt({ config: e.value }), { svgRef: K } = mt({ config: e.value.style.chart.title });
106
- xe(() => p.config, (t) => {
107
- e.value = ce(), Q.value = !e.value.userOptions.showOnChartHover, ie(), oe.value += 1, se.value += 1, d.value.circles = e.value.style.chart.circles.dataLabels.fontSize, d.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, d.value.values = e.value.style.chart.bars.dataLabels.value.fontSize, O.value.showTable = e.value.table.show;
106
+ Le(() => p.config, (t) => {
107
+ e.value = ce(), Q.value = !e.value.userOptions.showOnChartHover, ie(), oe.value += 1, se.value += 1, f.value.circles = e.value.style.chart.circles.dataLabels.fontSize, f.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, f.value.values = e.value.style.chart.bars.dataLabels.value.fontSize, z.value.showTable = e.value.table.show;
108
108
  }, { deep: !0 });
109
109
  const { isPrinting: he, isImaging: fe, generatePdf: be, generateImage: ge } = ft({
110
- elementId: `funnel_${I.value}`,
110
+ elementId: `funnel_${R.value}`,
111
111
  fileName: e.value.style.chart.title.text || "vue-ui-funnel",
112
112
  options: e.value.userOptions.print
113
- }), Ee = i(() => e.value.userOptions.show && !e.value.style.chart.title.text), O = v({
113
+ }), Ee = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), z = h({
114
114
  showTable: e.value.table.show
115
- }), d = v({
115
+ }), f = h({
116
116
  circles: e.value.style.chart.circles.dataLabels.fontSize,
117
117
  names: e.value.style.chart.bars.dataLabels.name.fontSize,
118
118
  values: e.value.style.chart.bars.dataLabels.value.fontSize
119
- }), h = i({
119
+ }), b = v({
120
120
  get: () => ({
121
121
  height: e.value.style.chart.height,
122
122
  width: e.value.style.chart.width
123
123
  }),
124
124
  set: (t) => t
125
- }), y = i(() => A.value ? p.dataset.map((t, l) => ({
125
+ }), y = v(() => D.value ? p.dataset.map((t, l) => ({
126
126
  ...t,
127
127
  color: t.color ? st(t.color) : nt(e.value.style.chart.bars.defaultColor, l / p.dataset.length)
128
128
  })) : []);
129
129
  setTimeout(() => {
130
- L.value = !0;
130
+ _.value = !0;
131
131
  }, y.value.length * 150);
132
132
  function me() {
133
133
  const t = e.value.style.chart.padding.left, l = e.value.style.chart.padding.top;
134
134
  return {
135
135
  left: t,
136
136
  top: l,
137
- right: h.value.width - e.value.style.chart.padding.right,
138
- bottom: h.value.height - e.value.style.chart.padding.bottom,
139
- width: h.value.width - t - e.value.style.chart.padding.right,
140
- height: h.value.height - l - e.value.style.chart.padding.bottom
137
+ right: b.value.width - e.value.style.chart.padding.right,
138
+ bottom: b.value.height - e.value.style.chart.padding.bottom,
139
+ width: b.value.width - t - e.value.style.chart.padding.right,
140
+ height: b.value.height - l - e.value.style.chart.padding.bottom
141
141
  };
142
142
  }
143
- const k = v(me()), D = i(() => k.value.height / p.dataset.length), _ = i(() => D.value * e.value.style.chart.bars.gapRatio), pe = i(() => k.value.width * e.value.style.chart.barCircleSpacingRatio), u = i(() => y.value.map((t, l) => {
144
- const a = D.value - _.value, o = k.value.top + _.value / 2 * l + (D.value - _.value / 2) * l + _.value / 2, f = t.value / y.value[0].value, r = (k.value.width - a - pe.value) * (t.value / y.value[0].value);
143
+ const k = h(me()), N = v(() => k.value.height / p.dataset.length), T = v(() => N.value * e.value.style.chart.bars.gapRatio), pe = v(() => k.value.width * e.value.style.chart.barCircleSpacingRatio), u = v(() => y.value.map((t, l) => {
144
+ const a = N.value - T.value, o = k.value.top + T.value / 2 * l + (N.value - T.value / 2) * l + T.value / 2, g = t.value / y.value[0].value, c = (k.value.width - a - pe.value) * (t.value / y.value[0].value);
145
145
  return {
146
146
  ...t,
147
147
  cx: k.value.left + a / 2,
@@ -149,66 +149,66 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
149
149
  datapointIndex: l,
150
150
  fill: t.color,
151
151
  height: Math.max(a, 0),
152
- proportion: f,
152
+ proportion: g,
153
153
  r: Math.max(a / 2, 0),
154
- width: Math.max(r, 0),
154
+ width: Math.max(c, 0),
155
155
  x: k.value.left + a + pe.value,
156
156
  y: o
157
157
  };
158
- })), Ve = i(() => {
159
- const t = u.value.map((l) => `${l.x + l.width},${l.y + (D.value - _.value) / 2}`);
160
- return `${u.value[0].x},${u.value[0].y + (D.value - _.value) / 2} ${t.toString()} ${u.value.at(-1).x},${u.value.at(-1).y + (D.value - _.value) / 2}`;
161
- }), Ge = i(() => ({
158
+ })), Ve = v(() => {
159
+ const t = u.value.map((l) => `${l.x + l.width},${l.y + (N.value - T.value) / 2}`);
160
+ return `${u.value[0].x},${u.value[0].y + (N.value - T.value) / 2} ${t.toString()} ${u.value.at(-1).x},${u.value.at(-1).y + (N.value - T.value) / 2}`;
161
+ }), Ge = v(() => ({
162
162
  x1: u.value[0].cx,
163
163
  y1: u.value[0].cy,
164
164
  x2: u.value.at(-1).cx,
165
165
  y2: u.value.at(-1).cy
166
- })), z = v(!1);
166
+ })), P = h(!1);
167
167
  function ye(t) {
168
- z.value = t, le.value += 1;
168
+ P.value = t, le.value += 1;
169
169
  }
170
- const je = i(() => `${y.value.length * 150}ms`), E = v(!1);
170
+ const je = v(() => `${y.value.length * 150}ms`), G = h(!1);
171
171
  function Z() {
172
- E.value = !E.value;
172
+ G.value = !G.value;
173
173
  }
174
174
  function ke() {
175
- O.value.showTable = !O.value.showTable;
175
+ z.value.showTable = !z.value.showTable;
176
176
  }
177
- const R = i(() => {
177
+ const M = v(() => {
178
178
  const t = y.value.map((a) => ({
179
179
  name: a.name,
180
180
  color: a.color
181
181
  })), l = y.value.map((a) => a.value);
182
182
  return { head: t, body: l };
183
- }), V = i(() => {
183
+ }), j = v(() => {
184
184
  const t = [
185
185
  e.value.table.columnNames.series,
186
186
  e.value.table.columnNames.value,
187
187
  e.value.table.columnNames.percentage
188
- ], l = R.value.head.map((f, r) => {
189
- const M = Y(
188
+ ], l = M.value.head.map((g, c) => {
189
+ const E = Y(
190
190
  e.value.style.chart.bars.dataLabels.value.formatter,
191
- R.value.body[r],
191
+ M.value.body[c],
192
192
  q({
193
193
  p: e.value.style.chart.bars.dataLabels.value.prefix,
194
- v: R.value.body[r],
194
+ v: M.value.body[c],
195
195
  s: e.value.style.chart.bars.dataLabels.value.suffix,
196
196
  r: e.value.table.td.roundingValue
197
197
  }),
198
- { datapoint: u.value[r] }
198
+ { datapoint: u.value[c] }
199
199
  ), te = Y(
200
200
  e.value.style.chart.circles.dataLabels.formatter,
201
- u.value[r].proportion * 100,
201
+ u.value[c].proportion * 100,
202
202
  q({
203
- v: u.value[r].proportion * 100,
203
+ v: u.value[c].proportion * 100,
204
204
  s: "%",
205
205
  r: e.value.table.td.roundingPercentage
206
206
  }),
207
- { datapoint: u.value[r] }
207
+ { datapoint: u.value[c] }
208
208
  );
209
209
  return [
210
- { color: f.color, name: f.name },
211
- M,
210
+ { color: g.color, name: g.name },
211
+ E,
212
212
  te
213
213
  ];
214
214
  }), a = {
@@ -237,9 +237,9 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
237
237
  });
238
238
  function ee(t = null) {
239
239
  tt(() => {
240
- const l = R.value.head.map((f, r) => [[
241
- f.name
242
- ], [R.value.body[r]], [u.value[r].proportion * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value], ["%"]]].concat(l), o = it(a);
240
+ const l = M.value.head.map((g, c) => [[
241
+ g.name
242
+ ], [M.value.body[c]], [u.value[c].proportion * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value], ["%"]]].concat(l), o = it(a);
243
243
  t ? t(o) : ct({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-funnel" });
244
244
  });
245
245
  }
@@ -247,19 +247,19 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
247
247
  return y.value;
248
248
  }
249
249
  async function Xe({ scale: t = 2 } = {}) {
250
- if (!w.value) return;
251
- const { width: l, height: a } = w.value.getBoundingClientRect(), o = l / a, { imageUri: f, base64: r } = await pt({ domElement: w.value, base64: !0, img: !0, scale: t });
250
+ if (!L.value) return;
251
+ const { width: l, height: a } = L.value.getBoundingClientRect(), o = l / a, { imageUri: g, base64: c } = await pt({ domElement: L.value, base64: !0, img: !0, scale: t });
252
252
  return {
253
- imageUri: f,
254
- base64: r,
253
+ imageUri: g,
254
+ base64: c,
255
255
  title: e.value.style.chart.title.text,
256
256
  width: l,
257
257
  height: a,
258
258
  aspectRatio: o
259
259
  };
260
260
  }
261
- const B = i(() => {
262
- const t = e.value.table.useDialog && !e.value.table.show, l = O.value.showTable;
261
+ const U = v(() => {
262
+ const t = e.value.table.useDialog && !e.value.table.show, l = z.value.showTable;
263
263
  return {
264
264
  component: t ? Me : Pe,
265
265
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
@@ -268,8 +268,8 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
268
268
  color: e.value.table.th.color,
269
269
  headerColor: e.value.table.th.color,
270
270
  headerBg: e.value.table.th.backgroundColor,
271
- isFullscreen: z.value,
272
- fullscreenParent: w.value,
271
+ isFullscreen: P.value,
272
+ fullscreenParent: L.value,
273
273
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
274
274
  } : {
275
275
  hideDetails: !0,
@@ -288,21 +288,21 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
288
288
  }
289
289
  };
290
290
  });
291
- xe(() => O.value.showTable, (t) => {
292
- e.value.table.show || (t && e.value.table.useDialog && F.value ? F.value.open() : "close" in F.value && F.value.close());
291
+ Le(() => z.value.showTable, (t) => {
292
+ e.value.table.show || (t && e.value.table.useDialog && B.value ? B.value.open() : "close" in B.value && B.value.close());
293
293
  });
294
294
  function Ce() {
295
- O.value.showTable = !1, J.value && J.value.setTableIconState(!1);
295
+ z.value.showTable = !1, J.value && J.value.setTableIconState(!1);
296
296
  }
297
- const We = i(() => e.value.style.chart.backgroundColor), Ye = i(() => e.value.style.chart.title), { exportSvg: qe, getSvg: Je } = bt({
297
+ const We = v(() => e.value.style.chart.backgroundColor), Ye = v(() => e.value.style.chart.title), { exportSvg: qe, getSvg: Je } = bt({
298
298
  svg: K,
299
299
  title: Ye,
300
300
  backgroundColor: We
301
301
  });
302
302
  async function we({ isCb: t }) {
303
303
  if (t) {
304
- const { blob: l, url: a, text: o, dataUrl: f } = await Je();
305
- e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: f });
304
+ const { blob: l, url: a, text: o, dataUrl: g } = await Je();
305
+ e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: g });
306
306
  } else
307
307
  qe();
308
308
  }
@@ -316,37 +316,57 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
316
316
  toggleTable: ke,
317
317
  toggleAnnotator: Z,
318
318
  toggleFullscreen: ye
319
- }), (t, l) => (n(), c("div", {
319
+ }), (t, l) => (n(), d("div", {
320
320
  ref_key: "funnelChart",
321
- ref: w,
322
- class: N(`vue-data-ui-component vue-ui-funnel ${z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
323
- style: S(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
324
- id: `funnel_${I.value}`,
321
+ ref: L,
322
+ class: I(`vue-data-ui-component vue-ui-funnel ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
323
+ style: A(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
324
+ id: `funnel_${R.value}`,
325
325
  onMouseenter: l[1] || (l[1] = () => s(ve)(!0)),
326
326
  onMouseleave: l[2] || (l[2] = () => s(ve)(!1))
327
327
  }, [
328
- e.value.userOptions.buttons.annotator ? (n(), P(s(Re), {
328
+ e.value.userOptions.buttons.annotator ? (n(), F(s(Re), {
329
329
  key: 0,
330
330
  svgRef: s(K),
331
331
  backgroundColor: e.value.style.chart.backgroundColor,
332
332
  color: e.value.style.chart.color,
333
- active: E.value,
333
+ active: G.value,
334
334
  onClose: Z
335
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
336
- Ee.value ? (n(), c("div", {
335
+ }, {
336
+ "annotator-action-close": r(() => [
337
+ i(t.$slots, "annotator-action-close", {}, void 0, !0)
338
+ ]),
339
+ "annotator-action-color": r(({ color: a }) => [
340
+ i(t.$slots, "annotator-action-color", C(w({ color: a })), void 0, !0)
341
+ ]),
342
+ "annotator-action-draw": r(({ mode: a }) => [
343
+ i(t.$slots, "annotator-action-draw", C(w({ mode: a })), void 0, !0)
344
+ ]),
345
+ "annotator-action-undo": r(({ disabled: a }) => [
346
+ i(t.$slots, "annotator-action-undo", C(w({ disabled: a })), void 0, !0)
347
+ ]),
348
+ "annotator-action-redo": r(({ disabled: a }) => [
349
+ i(t.$slots, "annotator-action-redo", C(w({ disabled: a })), void 0, !0)
350
+ ]),
351
+ "annotator-action-delete": r(({ disabled: a }) => [
352
+ i(t.$slots, "annotator-action-delete", C(w({ disabled: a })), void 0, !0)
353
+ ]),
354
+ _: 3
355
+ }, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
356
+ Ee.value ? (n(), d("div", {
337
357
  key: 1,
338
358
  ref_key: "noTitle",
339
359
  ref: ne,
340
360
  class: "vue-data-ui-no-title-space",
341
361
  style: "height:36px; width: 100%;background:transparent"
342
- }, null, 512)) : g("", !0),
343
- e.value.style.chart.title.text ? (n(), c("div", {
362
+ }, null, 512)) : m("", !0),
363
+ e.value.style.chart.title.text ? (n(), d("div", {
344
364
  key: 2,
345
365
  ref_key: "chartTitle",
346
- ref: re,
366
+ ref: ue,
347
367
  style: "width:100%;background:transparent;padding-bottom:24px"
348
368
  }, [
349
- (n(), P(yt, {
369
+ (n(), F(yt, {
350
370
  key: `title_${oe.value}`,
351
371
  config: {
352
372
  title: {
@@ -359,8 +379,8 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
359
379
  }
360
380
  }
361
381
  }, null, 8, ["config"]))
362
- ], 512)) : g("", !0),
363
- e.value.userOptions.show && A.value && (s(de) || s(Q)) ? (n(), P(s(Fe), {
382
+ ], 512)) : m("", !0),
383
+ e.value.userOptions.show && D.value && (s(de) || s(Q)) ? (n(), F(s(Fe), {
364
384
  ref_key: "userOptionsRef",
365
385
  ref: J,
366
386
  key: `user_option_${le.value}`,
@@ -368,7 +388,7 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
368
388
  color: e.value.style.chart.color,
369
389
  isPrinting: s(he),
370
390
  isImaging: s(fe),
371
- uid: I.value,
391
+ uid: R.value,
372
392
  hasTooltip: !1,
373
393
  hasPdf: e.value.userOptions.buttons.pdf,
374
394
  hasImg: e.value.userOptions.buttons.img,
@@ -377,12 +397,12 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
377
397
  hasTable: e.value.userOptions.buttons.table,
378
398
  hasLabel: !1,
379
399
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
380
- isFullscreen: z.value,
381
- chartElement: w.value,
400
+ isFullscreen: P.value,
401
+ chartElement: L.value,
382
402
  position: e.value.userOptions.position,
383
403
  titles: { ...e.value.userOptions.buttonTitles },
384
404
  hasAnnotator: e.value.userOptions.buttons.annotator,
385
- isAnnotation: E.value,
405
+ isAnnotation: G.value,
386
406
  callbacks: e.value.userOptions.callbacks,
387
407
  printScale: e.value.userOptions.print.scale,
388
408
  tableDialog: e.value.table.useDialog,
@@ -393,113 +413,113 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
393
413
  onGenerateSvg: we,
394
414
  onToggleTable: ke,
395
415
  onGenerateCsv: ee,
396
- style: S({
416
+ style: A({
397
417
  visibility: s(de) ? s(Q) ? "visible" : "hidden" : "visible"
398
418
  })
399
- }, Le({ _: 2 }, [
419
+ }, xe({ _: 2 }, [
400
420
  t.$slots.menuIcon ? {
401
421
  name: "menuIcon",
402
- fn: b(({ isOpen: a, color: o }) => [
403
- m(t.$slots, "menuIcon", G(j({ isOpen: a, color: o })), void 0, !0)
422
+ fn: r(({ isOpen: a, color: o }) => [
423
+ i(t.$slots, "menuIcon", C(w({ isOpen: a, color: o })), void 0, !0)
404
424
  ]),
405
425
  key: "0"
406
426
  } : void 0,
407
427
  t.$slots.optionPdf ? {
408
428
  name: "optionPdf",
409
- fn: b(() => [
410
- m(t.$slots, "optionPdf", {}, void 0, !0)
429
+ fn: r(() => [
430
+ i(t.$slots, "optionPdf", {}, void 0, !0)
411
431
  ]),
412
432
  key: "1"
413
433
  } : void 0,
414
434
  t.$slots.optionCsv ? {
415
435
  name: "optionCsv",
416
- fn: b(() => [
417
- m(t.$slots, "optionCsv", {}, void 0, !0)
436
+ fn: r(() => [
437
+ i(t.$slots, "optionCsv", {}, void 0, !0)
418
438
  ]),
419
439
  key: "2"
420
440
  } : void 0,
421
441
  t.$slots.optionImg ? {
422
442
  name: "optionImg",
423
- fn: b(() => [
424
- m(t.$slots, "optionImg", {}, void 0, !0)
443
+ fn: r(() => [
444
+ i(t.$slots, "optionImg", {}, void 0, !0)
425
445
  ]),
426
446
  key: "3"
427
447
  } : void 0,
428
448
  t.$slots.optionSvg ? {
429
449
  name: "optionSvg",
430
- fn: b(() => [
431
- m(t.$slots, "optionSvg", {}, void 0, !0)
450
+ fn: r(() => [
451
+ i(t.$slots, "optionSvg", {}, void 0, !0)
432
452
  ]),
433
453
  key: "4"
434
454
  } : void 0,
435
455
  t.$slots.optionTable ? {
436
456
  name: "optionTable",
437
- fn: b(() => [
438
- m(t.$slots, "optionTable", {}, void 0, !0)
457
+ fn: r(() => [
458
+ i(t.$slots, "optionTable", {}, void 0, !0)
439
459
  ]),
440
460
  key: "5"
441
461
  } : void 0,
442
462
  t.$slots.optionFullscreen ? {
443
463
  name: "optionFullscreen",
444
- fn: b(({ toggleFullscreen: a, isFullscreen: o }) => [
445
- m(t.$slots, "optionFullscreen", G(j({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
464
+ fn: r(({ toggleFullscreen: a, isFullscreen: o }) => [
465
+ i(t.$slots, "optionFullscreen", C(w({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
446
466
  ]),
447
467
  key: "6"
448
468
  } : void 0,
449
469
  t.$slots.optionAnnotator ? {
450
470
  name: "optionAnnotator",
451
- fn: b(({ toggleAnnotator: a, isAnnotator: o }) => [
452
- m(t.$slots, "optionAnnotator", G(j({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
471
+ fn: r(({ toggleAnnotator: a, isAnnotator: o }) => [
472
+ i(t.$slots, "optionAnnotator", C(w({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
453
473
  ]),
454
474
  key: "7"
455
475
  } : void 0
456
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
457
- A.value ? (n(), c("svg", {
476
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
477
+ D.value ? (n(), d("svg", {
458
478
  key: 4,
459
479
  ref_key: "svgRef",
460
480
  ref: K,
461
- xmlns: s(ut),
462
- class: N({ "vue-data-ui-fullscreen--on": z.value, "vue-data-ui-fulscreen--off": !z.value }),
463
- viewBox: `0 0 ${h.value.width <= 0 ? 10 : h.value.width} ${h.value.height <= 0 ? 10 : h.value.height}`,
464
- style: S(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
481
+ xmlns: s(rt),
482
+ class: I({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
483
+ viewBox: `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`,
484
+ style: A(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
465
485
  }, [
466
- _e(s(Be)),
467
- t.$slots["chart-background"] ? (n(), c("foreignObject", {
486
+ Se(s(Be)),
487
+ t.$slots["chart-background"] ? (n(), d("foreignObject", {
468
488
  key: 0,
469
489
  x: 0,
470
490
  y: 0,
471
- width: h.value.width <= 0 ? 10 : h.value.width,
472
- height: h.value.height <= 0 ? 10 : h.value.height,
491
+ width: b.value.width <= 0 ? 10 : b.value.width,
492
+ height: b.value.height <= 0 ? 10 : b.value.height,
473
493
  style: {
474
494
  pointerEvents: "none"
475
495
  }
476
496
  }, [
477
- m(t.$slots, "chart-background", {}, void 0, !0)
478
- ], 8, xt)) : g("", !0),
479
- C("defs", null, [
480
- C("linearGradient", {
481
- id: `funnel_area_${I.value}`,
497
+ i(t.$slots, "chart-background", {}, void 0, !0)
498
+ ], 8, Lt)) : m("", !0),
499
+ $("defs", null, [
500
+ $("linearGradient", {
501
+ id: `funnel_area_${R.value}`,
482
502
  x1: "0%",
483
503
  x2: "100%",
484
504
  y1: "0%",
485
505
  y2: "0%"
486
506
  }, [
487
- C("stop", {
507
+ $("stop", {
488
508
  offset: "0%",
489
509
  "stop-color": e.value.style.chart.backgroundColor,
490
510
  "stop-opacity": 0
491
- }, null, 8, _t),
492
- C("stop", {
511
+ }, null, 8, St),
512
+ $("stop", {
493
513
  offset: "20%",
494
514
  "stop-color": e.value.style.chart.area.color
495
- }, null, 8, St),
496
- C("stop", {
515
+ }, null, 8, _t),
516
+ $("stop", {
497
517
  offset: "100%",
498
518
  "stop-color": e.value.style.chart.area.color
499
519
  }, null, 8, Tt)
500
- ], 8, Lt)
520
+ ], 8, xt)
501
521
  ]),
502
- e.value.style.chart.circleLinks.show ? (n(), c("line", H({ key: 1 }, Ge.value, {
522
+ e.value.style.chart.circleLinks.show ? (n(), d("line", H({ key: 1 }, Ge.value, {
503
523
  stroke: e.value.style.chart.circleLinks.color,
504
524
  "stroke-width": 12 * e.value.style.chart.circleLinks.widthRatio,
505
525
  "stroke-linecap": "round",
@@ -510,31 +530,31 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
510
530
  strokeDasharray: e.value.useCssAnimation ? k.value.height : 0,
511
531
  strokeDashoffset: e.value.useCssAnimation ? k.value.height : 0
512
532
  }
513
- }), null, 16, At)) : g("", !0),
514
- (n(!0), c(X, null, W(u.value, ({ cx: a, cy: o, r: f, fill: r }, M) => (n(), c("circle", H({ ref_for: !0 }, { cx: a, cy: o, r: f, fill: r }, {
533
+ }), null, 16, At)) : m("", !0),
534
+ (n(!0), d(X, null, W(u.value, ({ cx: a, cy: o, r: g, fill: c }, E) => (n(), d("circle", H({ ref_for: !0 }, { cx: a, cy: o, r: g, fill: c }, {
515
535
  stroke: e.value.style.chart.circles.stroke,
516
536
  "stroke-width": e.value.style.chart.circles.strokeWidth,
517
537
  class: {
518
- animated: e.value.useCssAnimation && !L.value
538
+ animated: e.value.useCssAnimation && !_.value
519
539
  },
520
540
  style: {
521
- animationDelay: `${150 * M}ms`
541
+ animationDelay: `${150 * E}ms`
522
542
  }
523
543
  }), null, 16, Ot))), 256)),
524
- (n(!0), c(X, null, W(u.value, (a, o) => (n(), c("text", {
544
+ (n(!0), d(X, null, W(u.value, (a, o) => (n(), d("text", {
525
545
  x: a.cx,
526
- y: a.cy + d.value.circles / 3 + e.value.style.chart.circles.dataLabels.offsetY,
546
+ y: a.cy + f.value.circles / 3 + e.value.style.chart.circles.dataLabels.offsetY,
527
547
  "text-anchor": "middle",
528
- "font-size": d.value.circles,
529
- fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ? s(rt)(a.color) : e.value.style.chart.circles.dataLabels.color,
548
+ "font-size": f.value.circles,
549
+ fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ? s(ut)(a.color) : e.value.style.chart.circles.dataLabels.color,
530
550
  "font-weight": e.value.style.chart.circles.dataLabels.bold ? "bold" : "normal",
531
- class: N({
532
- animated: e.value.useCssAnimation && !L.value
551
+ class: I({
552
+ animated: e.value.useCssAnimation && !_.value
533
553
  }),
534
- style: S({
554
+ style: A({
535
555
  animationDelay: `${150 * o}ms`
536
556
  })
537
- }, U(s(Y)(
557
+ }, V(s(Y)(
538
558
  e.value.style.chart.circles.dataLabels.formatter,
539
559
  a.proportion * 100,
540
560
  s(q)({
@@ -544,57 +564,57 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
544
564
  }),
545
565
  { datapoint: a }
546
566
  )), 15, Dt))), 256)),
547
- e.value.style.chart.area.show ? (n(), c("polygon", {
567
+ e.value.style.chart.area.show ? (n(), d("polygon", {
548
568
  key: 2,
549
569
  points: Ve.value,
550
- fill: `url(#funnel_area_${I.value})`,
551
- class: N({
552
- animated: e.value.useCssAnimation && !L.value
570
+ fill: `url(#funnel_area_${R.value})`,
571
+ class: I({
572
+ animated: e.value.useCssAnimation && !_.value
553
573
  }),
554
- style: S({
574
+ style: A({
555
575
  transition: e.value.useCssAnimation ? `all ${150 * y.value.length}ms ease-in` : "none"
556
576
  })
557
- }, null, 14, zt)) : g("", !0),
558
- (n(!0), c(X, null, W(u.value, ({ x: a, y: o, height: f, width: r, fill: M }, te) => (n(), c("rect", H({ ref_for: !0 }, { x: a, y: o, height: f, width: r, fill: M }, {
577
+ }, null, 14, zt)) : m("", !0),
578
+ (n(!0), d(X, null, W(u.value, ({ x: a, y: o, height: g, width: c, fill: E }, te) => (n(), d("rect", H({ ref_for: !0 }, { x: a, y: o, height: g, width: c, fill: E }, {
559
579
  stroke: e.value.style.chart.bars.stroke,
560
580
  "stroke-width": e.value.style.chart.bars.strokeWidth,
561
581
  rx: e.value.style.chart.bars.borderRadius,
562
582
  class: {
563
- animated: e.value.useCssAnimation && !L.value
583
+ animated: e.value.useCssAnimation && !_.value
564
584
  },
565
585
  style: {
566
586
  animationDelay: `${150 * te}ms`
567
587
  }
568
588
  }), null, 16, Nt))), 256)),
569
- (n(!0), c(X, null, W(u.value, (a, o) => (n(), c("g", null, [
570
- C("text", {
589
+ (n(!0), d(X, null, W(u.value, (a, o) => (n(), d("g", null, [
590
+ $("text", {
571
591
  x: a.x + a.width + e.value.style.chart.bars.dataLabels.name.offsetX + 12,
572
- y: a.cy - d.value.names / 2 + e.value.style.chart.bars.dataLabels.name.offsetY,
592
+ y: a.cy - f.value.names / 2 + e.value.style.chart.bars.dataLabels.name.offsetY,
573
593
  "text-anchor": "start",
574
- "font-size": d.value.names,
594
+ "font-size": f.value.names,
575
595
  fill: e.value.style.chart.bars.dataLabels.name.color,
576
596
  "font-weight": e.value.style.chart.bars.dataLabels.name.bold ? "bold" : "normal",
577
- class: N({
578
- animated: e.value.useCssAnimation && !L.value
597
+ class: I({
598
+ animated: e.value.useCssAnimation && !_.value
579
599
  }),
580
- style: S({
600
+ style: A({
581
601
  animationDelay: `${150 * o}ms`
582
602
  })
583
- }, U(a.name), 15, Pt),
584
- C("text", {
603
+ }, V(a.name), 15, Pt),
604
+ $("text", {
585
605
  x: a.x + a.width + e.value.style.chart.bars.dataLabels.value.offsetX + 12,
586
- y: a.cy + d.value.values + e.value.style.chart.bars.dataLabels.value.offsetY,
606
+ y: a.cy + f.value.values + e.value.style.chart.bars.dataLabels.value.offsetY,
587
607
  "text-anchor": "start",
588
- "font-size": d.value.values,
608
+ "font-size": f.value.values,
589
609
  fill: e.value.style.chart.bars.dataLabels.value.color,
590
610
  "font-weight": e.value.style.chart.bars.dataLabels.value.bold ? "bold" : "normal",
591
- class: N({
592
- animated: e.value.useCssAnimation && !L.value
611
+ class: I({
612
+ animated: e.value.useCssAnimation && !_.value
593
613
  }),
594
- style: S({
614
+ style: A({
595
615
  animationDelay: `${150 * o}ms`
596
616
  })
597
- }, U(s(Y)(
617
+ }, V(s(Y)(
598
618
  e.value.style.chart.bars.dataLabels.value.formatter,
599
619
  a.value,
600
620
  s(q)({
@@ -606,12 +626,12 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
606
626
  { datapoint: a }
607
627
  )), 15, It)
608
628
  ]))), 256)),
609
- m(t.$slots, "svg", { svg: h.value }, void 0, !0)
610
- ], 14, $t)) : g("", !0),
611
- t.$slots.watermark ? (n(), c("div", Ft, [
612
- m(t.$slots, "watermark", G(j({ isPrinting: s(he) || s(fe) })), void 0, !0)
613
- ])) : g("", !0),
614
- A.value ? g("", !0) : (n(), P(s(Ne), {
629
+ i(t.$slots, "svg", { svg: b.value }, void 0, !0)
630
+ ], 14, $t)) : m("", !0),
631
+ t.$slots.watermark ? (n(), d("div", Ft, [
632
+ i(t.$slots, "watermark", C(w({ isPrinting: s(he) || s(fe) })), void 0, !0)
633
+ ])) : m("", !0),
634
+ D.value ? m("", !0) : (n(), F(s(Ne), {
615
635
  key: 6,
616
636
  config: {
617
637
  type: "verticalBar",
@@ -626,38 +646,38 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
626
646
  }
627
647
  }
628
648
  }, null, 8, ["config"])),
629
- t.$slots.source ? (n(), c("div", {
649
+ t.$slots.source ? (n(), d("div", {
630
650
  key: 7,
631
651
  ref_key: "source",
632
- ref: ue,
652
+ ref: re,
633
653
  dir: "auto"
634
654
  }, [
635
- m(t.$slots, "source", {}, void 0, !0)
636
- ], 512)) : g("", !0),
637
- A.value && e.value.userOptions.buttons.table ? (n(), P(et(B.value.component), H({ key: 8 }, B.value.props, {
655
+ i(t.$slots, "source", {}, void 0, !0)
656
+ ], 512)) : m("", !0),
657
+ D.value && e.value.userOptions.buttons.table ? (n(), F(et(U.value.component), H({ key: 8 }, U.value.props, {
638
658
  ref_key: "tableUnit",
639
- ref: F,
659
+ ref: B,
640
660
  onClose: Ce
641
- }), Le({
642
- content: b(() => [
643
- (n(), P(s(Ie), {
661
+ }), xe({
662
+ content: r(() => [
663
+ (n(), F(s(Ie), {
644
664
  key: `table_${se.value}`,
645
- colNames: V.value.colNames,
646
- head: V.value.head,
647
- body: V.value.body,
648
- config: V.value.config,
649
- title: e.value.table.useDialog ? "" : B.value.title,
665
+ colNames: j.value.colNames,
666
+ head: j.value.head,
667
+ body: j.value.body,
668
+ config: j.value.config,
669
+ title: e.value.table.useDialog ? "" : U.value.title,
650
670
  withCloseButton: !e.value.table.useDialog,
651
671
  onClose: Ce
652
672
  }, {
653
- th: b(({ th: a }) => [
654
- C("div", {
673
+ th: r(({ th: a }) => [
674
+ $("div", {
655
675
  innerHTML: a,
656
676
  style: { display: "flex", "align-items": "center" }
657
677
  }, null, 8, Rt)
658
678
  ]),
659
- td: b(({ td: a }) => [
660
- Se(U(a.name ? a.name : a), 1)
679
+ td: r(({ td: a }) => [
680
+ _e(V(a.name ? a.name : a), 1)
661
681
  ]),
662
682
  _: 1
663
683
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -666,31 +686,31 @@ const wt = ["id"], $t = ["xmlns", "viewBox"], xt = ["width", "height"], Lt = ["i
666
686
  }, [
667
687
  e.value.table.useDialog ? {
668
688
  name: "title",
669
- fn: b(() => [
670
- Se(U(B.value.title), 1)
689
+ fn: r(() => [
690
+ _e(V(U.value.title), 1)
671
691
  ]),
672
692
  key: "0"
673
693
  } : void 0,
674
694
  e.value.table.useDialog ? {
675
695
  name: "actions",
676
- fn: b(() => [
677
- C("button", {
696
+ fn: r(() => [
697
+ $("button", {
678
698
  tabindex: "0",
679
699
  class: "vue-ui-user-options-button",
680
700
  onClick: l[0] || (l[0] = (a) => ee(e.value.userOptions.callbacks.csv))
681
701
  }, [
682
- _e(s(ze), {
702
+ Se(s(ze), {
683
703
  name: "excel",
684
- stroke: B.value.props.color
704
+ stroke: U.value.props.color
685
705
  }, null, 8, ["stroke"])
686
706
  ])
687
707
  ]),
688
708
  key: "1"
689
709
  } : void 0
690
- ]), 1040)) : g("", !0)
710
+ ]), 1040)) : m("", !0)
691
711
  ], 46, wt));
692
712
  }
693
- }, Qt = /* @__PURE__ */ Ct(Bt, [["__scopeId", "data-v-84d1cb5f"]]);
713
+ }, Qt = /* @__PURE__ */ Ct(Bt, [["__scopeId", "data-v-43b61027"]]);
694
714
  export {
695
715
  Qt as default
696
716
  };