vue-data-ui 2.12.8-beta.3 → 2.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/README.md +10 -4
  2. package/dist/{Arrow-kQyQXUUg.js → Arrow-B2y3GYgv.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DLRFrsDT.js → BaseDraggableDialog-B3CZVeze.js} +2 -2
  4. package/dist/{BaseIcon-DaR0sIWZ.js → BaseIcon-P7wV92Er.js} +1 -1
  5. package/dist/{ColorPicker-Bj3sq9o7.js → ColorPicker-C7b6TR_9.js} +2 -2
  6. package/dist/{DataTable-BBqbcutV.js → DataTable-DBkfb6pd.js} +2 -2
  7. package/dist/{Legend-DRqzYrP9.js → Legend-DcDRW3Xd.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-CQIC2PMP.js → NonSvgPenAndPaper-DYA_rF1x.js} +3 -3
  9. package/dist/{PackageVersion-ClpqQxYT.js → PackageVersion-C5fpg4GN.js} +2 -2
  10. package/dist/{PenAndPaper-B-T7XvxF.js → PenAndPaper-BRkuVFb4.js} +3 -3
  11. package/dist/{Shape-DEWxbZ-l.js → Shape-CnD-h_98.js} +1 -1
  12. package/dist/{Slicer-o6jJH5bw.js → Slicer-CxdgZOQ7.js} +2 -2
  13. package/dist/{SparkTooltip-LPnbBoFu.js → SparkTooltip-BIAMOmfJ.js} +1 -1
  14. package/dist/{Title-apr_T9tg.js → Title-DoWqzga-.js} +1 -1
  15. package/dist/{Tooltip-BuHsMAfp.js → Tooltip-DYCBNM-_.js} +1 -1
  16. package/dist/{UserOptions-OVNxxnq5.js → UserOptions-B3q-xfQV.js} +16 -11
  17. package/dist/dom-to-png-4VVH9Qna.js +247 -0
  18. package/dist/img-Dy6IrSzX.js +20 -0
  19. package/dist/{index-CH_mJIWj.js → index-BXbyT0Qn.js} +6 -2
  20. package/dist/{pdf-Jun3ogRn.js → pdf-ZrUvUcH9.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +20 -3
  23. package/dist/types/vue-data-ui.d.ts +20 -3
  24. package/dist/{useNestedProp-rMR-JeOJ.js → useNestedProp-DVZpeH84.js} +1 -1
  25. package/dist/{usePrinter-DJ7WfWUs.js → usePrinter-aKh5-HcK.js} +2 -2
  26. package/dist/{vue-data-ui-D7AaTKU6.js → vue-data-ui-DUHiuRmY.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-BfLLrwWi.js → vue-ui-3d-bar-C3cqHCNp.js} +173 -173
  29. package/dist/{vue-ui-accordion-Ds4zkPIx.js → vue-ui-accordion-CXsjHe1y.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-C7ca5TG5.js → vue-ui-age-pyramid-B2EpIzV9.js} +179 -179
  31. package/dist/{vue-ui-annotator-DG2z1gw8.js → vue-ui-annotator-Czvbjx_j.js} +2 -2
  32. package/dist/{vue-ui-bullet-Dh25QAEH.js → vue-ui-bullet-ClY1tgTT.js} +6 -6
  33. package/dist/{vue-ui-candlestick-7Yo_kEV0.js → vue-ui-candlestick-BQ1RVdoH.js} +113 -113
  34. package/dist/{vue-ui-carousel-table-Det9Kwmy.js → vue-ui-carousel-table-UQjCOJJV.js} +94 -94
  35. package/dist/{vue-ui-chestnut-DLlFv6Uj.js → vue-ui-chestnut-DmEa8kef.js} +452 -452
  36. package/dist/{vue-ui-chord-BXlv5Z2x.js → vue-ui-chord-CEDZ-UcP.js} +17 -17
  37. package/dist/{vue-ui-circle-pack-DdRcdWmx.js → vue-ui-circle-pack-Bx_mLhCR.js} +116 -116
  38. package/dist/{vue-ui-cursor-Djtg6Ppw.js → vue-ui-cursor-D27qwk90.js} +2 -2
  39. package/dist/{vue-ui-dashboard-C4MDDCl6.js → vue-ui-dashboard-DKsYxh6J.js} +62 -62
  40. package/dist/{vue-ui-digits-8Ox6q1Ov.js → vue-ui-digits-CdDTbIAN.js} +2 -2
  41. package/dist/{vue-ui-donut-Hk4EaVhb.js → vue-ui-donut-DS-DfHIm.js} +149 -149
  42. package/dist/{vue-ui-donut-evolution-DzgYokPU.js → vue-ui-donut-evolution-XMEmv1DK.js} +109 -109
  43. package/dist/{vue-ui-dumbbell-CAC44_Hu.js → vue-ui-dumbbell-DAm5A4u3.js} +65 -65
  44. package/dist/{vue-ui-flow-CYWiZjrP.js → vue-ui-flow-CTbmqqmV.js} +12 -12
  45. package/dist/{vue-ui-funnel-C2eqxh_8.js → vue-ui-funnel-CihunDsZ.js} +65 -65
  46. package/dist/{vue-ui-galaxy-BBfg84E4.js → vue-ui-galaxy-CJHycmpt.js} +82 -82
  47. package/dist/{vue-ui-gauge-BJgJgef_.js → vue-ui-gauge-Bsc9wIKK.js} +5 -5
  48. package/dist/{vue-ui-gizmo-DBclpybR.js → vue-ui-gizmo-D6AciZZe.js} +3 -3
  49. package/dist/{vue-ui-heatmap-D65wOgqe.js → vue-ui-heatmap-in5WwNRr.js} +221 -221
  50. package/dist/{vue-ui-history-plot-CHhDy7Da.js → vue-ui-history-plot-C9IEmAmm.js} +232 -232
  51. package/dist/{vue-ui-kpi-uT6fsAaO.js → vue-ui-kpi-fDPWRpRZ.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CKVlBiYB.js → vue-ui-mini-loader-BeJRaP7N.js} +2 -2
  53. package/dist/{vue-ui-molecule-BwtHZtGN.js → vue-ui-molecule-BJbwA0F6.js} +30 -30
  54. package/dist/{vue-ui-mood-radar-Vf4_-R-m.js → vue-ui-mood-radar--YEOJ6q6.js} +75 -75
  55. package/dist/{vue-ui-nested-donuts-BVkSns4S.js → vue-ui-nested-donuts-BswKH0D6.js} +16 -16
  56. package/dist/{vue-ui-onion-UzMmwtvF.js → vue-ui-onion-BAw8X4iu.js} +70 -70
  57. package/dist/{vue-ui-parallel-coordinate-plot-Dk5T3ZAr.js → vue-ui-parallel-coordinate-plot-CYkzOe_Q.js} +11 -11
  58. package/dist/{vue-ui-quadrant-Ck7xALez.js → vue-ui-quadrant-BupqUnMn.js} +11 -11
  59. package/dist/{vue-ui-quick-chart-B62Pa0nG.js → vue-ui-quick-chart-BzpDL6CR.js} +5 -5
  60. package/dist/{vue-ui-radar-DMfv2hSb.js → vue-ui-radar-zPrbIZv5.js} +283 -282
  61. package/dist/{vue-ui-rating-CFYHJrxj.js → vue-ui-rating-DqCOz2LB.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-RWlfC5BI.js → vue-ui-relation-circle-DQp_zboM.js} +5 -5
  63. package/dist/{vue-ui-ridgeline-Bh93VzcO.js → vue-ui-ridgeline-DoJfX7Ii.js} +100 -100
  64. package/dist/{vue-ui-rings-CyX30Ccv.js → vue-ui-rings-Bk4QJYsW.js} +96 -96
  65. package/dist/{vue-ui-scatter-BEDnWByj.js → vue-ui-scatter-RxF0N8Zj.js} +164 -164
  66. package/dist/{vue-ui-skeleton-C6PWt_m5.js → vue-ui-skeleton-Fxr752Oi.js} +3 -3
  67. package/dist/{vue-ui-smiley-79itAe84.js → vue-ui-smiley-CNScIHKI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-AaA4KuaH.js → vue-ui-spark-trend-CyMzdoJ9.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-CYBZeaor.js → vue-ui-sparkbar-DMTRPWwC.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-ElGarXVS.js → vue-ui-sparkgauge-itAGdTj_.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C_LV99i1.js → vue-ui-sparkhistogram-CZx5cF_r.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DwzCA8d6.js → vue-ui-sparkline-POYMl6cO.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-CobB11uw.js → vue-ui-sparkstackbar-C0EE8xrA.js} +3 -3
  74. package/dist/{vue-ui-stackbar-B4SxM5Ix.js → vue-ui-stackbar-B6ytrTFL.js} +37 -37
  75. package/dist/{vue-ui-strip-plot-9VK_Y3SC.js → vue-ui-strip-plot-u39z36tT.js} +80 -80
  76. package/dist/{vue-ui-table-DFTE1OH5.js → vue-ui-table-Cvmrm0sZ.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DvyJx0j7.js → vue-ui-table-heatmap-BOFRFilm.js} +57 -57
  78. package/dist/{vue-ui-table-sparkline-SGsBnQTK.js → vue-ui-table-sparkline-CMhk8rpj.js} +72 -72
  79. package/dist/{vue-ui-thermometer-DEMS6HXl.js → vue-ui-thermometer-Cxznchnu.js} +5 -5
  80. package/dist/{vue-ui-timer-CQ71yJ_N.js → vue-ui-timer-Du0Cskiy.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CsN_QtUK.js → vue-ui-tiremarks-BzC40iBw.js} +5 -5
  82. package/dist/{vue-ui-treemap-B0CPNusH.js → vue-ui-treemap-D5Nk7usb.js} +297 -297
  83. package/dist/{vue-ui-vertical-bar-Cxv-ahMT.js → vue-ui-vertical-bar-BivMp4WH.js} +81 -81
  84. package/dist/{vue-ui-waffle-TgNNo9UX.js → vue-ui-waffle-DI0Ul1Tb.js} +50 -50
  85. package/dist/{vue-ui-wheel-Bq0ZLc-R.js → vue-ui-wheel-BfHsxhQq.js} +5 -5
  86. package/dist/{vue-ui-word-cloud-D28awCaT.js → vue-ui-word-cloud-ytYbdQKa.js} +67 -67
  87. package/dist/{vue-ui-world-BhUsfhY5.js → vue-ui-world-CiYvMEKb.js} +55 -55
  88. package/dist/{vue-ui-xy-CEFkua9H.js → vue-ui-xy-DxgCkZEV.js} +201 -182
  89. package/dist/{vue-ui-xy-canvas-oHhzL0ui.js → vue-ui-xy-canvas-R0tICTKy.js} +80 -80
  90. package/package.json +1 -1
  91. package/dist/dom-to-png-C0Ct8ClX.js +0 -243
  92. package/dist/img-P0SFFw37.js +0 -19
@@ -1,10 +1,10 @@
1
- import { defineAsyncComponent as G, computed as T, ref as j, watch as Ke, onMounted as Qe, createElementBlock as d, openBlock as n, unref as u, normalizeStyle as O, normalizeClass as Pe, createBlock as U, createCommentVNode as y, createSlots as et, withCtx as S, renderSlot as P, normalizeProps as J, guardReactiveProps as K, createVNode as tt, createElementVNode as i, Fragment as _, renderList as m, toDisplayString as B, mergeProps as je, createTextVNode as lt, nextTick as ot } from "vue";
2
- import { u as st, c as Te, t as at, p as Q, a as nt, b as rt, d as ut, o as it, e as ee, g as ue, l as E, m as Se, f as D, X as dt, s as g, h as te, i as le, j as De, k as oe, n as A, q as ct, r as ht } from "./index-CH_mJIWj.js";
3
- import { u as Oe } from "./useNestedProp-rMR-JeOJ.js";
4
- import { u as vt } from "./usePrinter-DJ7WfWUs.js";
1
+ import { defineAsyncComponent as G, computed as T, ref as j, watch as Ke, onMounted as Qe, createElementBlock as c, openBlock as n, unref as u, normalizeStyle as O, normalizeClass as Pe, createBlock as U, createCommentVNode as y, createSlots as et, withCtx as S, renderSlot as P, normalizeProps as J, guardReactiveProps as K, createVNode as tt, createElementVNode as d, Fragment as _, renderList as m, toDisplayString as B, mergeProps as je, createTextVNode as lt, nextTick as ot } from "vue";
2
+ import { u as st, c as Te, t as at, p as Q, a as nt, b as rt, d as ut, o as it, e as ee, g as ue, l as E, m as Se, f as D, X as dt, s as g, h as te, i as le, j as De, k as oe, n as A, q as ct, r as ht } from "./index-BXbyT0Qn.js";
3
+ import { u as Oe } from "./useNestedProp-DVZpeH84.js";
4
+ import { u as vt } from "./usePrinter-aKh5-HcK.js";
5
5
  import { u as ft } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { u as pt } from "./useChartAccessibility-9icAAmYg.js";
7
- import yt from "./Title-apr_T9tg.js";
7
+ import yt from "./Title-DoWqzga-.js";
8
8
  import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  const gt = ["id"], $t = {
10
10
  key: 1,
@@ -34,7 +34,7 @@ const gt = ["id"], $t = {
34
34
  },
35
35
  emits: ["selectDatapoint"],
36
36
  setup(ze, { expose: Ne, emit: Be }) {
37
- const Ae = G(() => import("./vue-ui-accordion-Ds4zkPIx.js")), Ie = G(() => import("./DataTable-BBqbcutV.js")), Le = G(() => import("./PackageVersion-ClpqQxYT.js")), Ve = G(() => import("./PenAndPaper-B-T7XvxF.js")), We = G(() => import("./vue-ui-skeleton-C6PWt_m5.js")), Ge = G(() => import("./UserOptions-OVNxxnq5.js")), { vue_ui_3d_bar: Ue } = st(), $ = ze, Z = Be, q = T(() => !!$.dataset && Object.keys($.dataset).length), b = j(Te()), Ee = j(null), ie = j(null), I = j(!1), de = j(0), ce = j(0), t = T({
37
+ const Ae = G(() => import("./vue-ui-accordion-CXsjHe1y.js")), Ie = G(() => import("./DataTable-DBkfb6pd.js")), Le = G(() => import("./PackageVersion-C5fpg4GN.js")), Ve = G(() => import("./PenAndPaper-BRkuVFb4.js")), We = G(() => import("./vue-ui-skeleton-Fxr752Oi.js")), Ge = G(() => import("./UserOptions-B3q-xfQV.js")), { vue_ui_3d_bar: Ue } = st(), $ = ze, Z = Be, q = T(() => !!$.dataset && Object.keys($.dataset).length), b = j(Te()), Ee = j(null), ie = j(null), I = j(!1), de = j(0), ce = j(0), t = T({
38
38
  get: () => pe(),
39
39
  set: (a) => a
40
40
  }), { userOptionsVisible: se, setUserOptionsVisibility: he, keepUserOptionState: ve } = ft({ config: t.value }), { svgRef: fe } = pt({ config: t.value.style.chart.title });
@@ -76,7 +76,7 @@ const gt = ["id"], $t = {
76
76
  id: Te(),
77
77
  proportion: (l.value || 0) / a,
78
78
  color: ut(l.color) || He.value[r] || Q[r] || Q[r % Q.length],
79
- breakdown: l.breakdown ? l.breakdown.sort((c, k) => k.value - c.value) : null
79
+ breakdown: l.breakdown ? l.breakdown.sort((i, k) => k.value - i.value) : null
80
80
  })).sort((l, r) => r.value - l.value), e = [];
81
81
  let h = 0;
82
82
  for (let l = 0; l < s.length; l += 1)
@@ -145,7 +145,7 @@ const gt = ["id"], $t = {
145
145
  });
146
146
  }
147
147
  function Re(a, s, e, h) {
148
- const l = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: r, height: c, bottom: k, right: w, left: f, perspective: p } = o.value, v = k + l * a, re = c - v - p - l * s / 2, Xe = re > o.value.height / 2 ? "top" : "bottom", we = 64, Ye = !!e;
148
+ const l = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: r, height: i, bottom: k, right: w, left: f, perspective: p } = o.value, v = k + l * a, re = i - v - p - l * s / 2, Xe = re > o.value.height / 2 ? "top" : "bottom", we = 64, Ye = !!e;
149
149
  let Ce = null, Fe = null;
150
150
  return Ye && (e = e.map((Me, Je) => ({
151
151
  ...Me,
@@ -166,7 +166,7 @@ const gt = ["id"], $t = {
166
166
  ), Fe = Se(
167
167
  { series: e },
168
168
  r - w + 20,
169
- c - v - p - l * s / 2,
169
+ i - v - p - l * s / 2,
170
170
  6,
171
171
  6,
172
172
  1.99999,
@@ -180,48 +180,48 @@ const gt = ["id"], $t = {
180
180
  miniDonut: Fe,
181
181
  sidePointer: {
182
182
  x: r - w,
183
- y: c - v - p - l * s / 2,
184
- topY: c - v - p - l * s,
183
+ y: i - v - p - l * s / 2,
184
+ topY: i - v - p - l * s,
185
185
  height: l * s
186
186
  },
187
- apexBottom: { y: c - v, x: r / 2 },
188
- apexTop: { y: c - v - l * s, x: r / 2 },
189
- right: `M${r / 2},${c - v} ${r / 2},${c - v - l * s} ${r - w},${c - v - p - l * s} ${r - w},${c - v - p}Z`,
190
- left: `M${r / 2},${c - v} ${r / 2},${c - v - l * s} ${f}, ${c - v - p - l * s} ${f},${c - v - p}Z`,
191
- liningTop: `M${f},${c - v - p - l * s} ${r / 2},${c - v - l * s} ${r - w},${c - v - p - l * s}`,
192
- liningTopShade: `M${f},${c - v - p - l * s - 0.5} ${r / 2},${c - v - l * s - 0.5} ${r - w},${c - v - p - l * s - 0.5}`,
193
- top: `M${r / 2},${c - v - l * s} ${f},${c - v - p - l * s} ${r / 2},${c - v - p * 2 - l * s} ${r - w},${c - v - p - l * s} Z`,
194
- tubeTop: `M${f},${c - v - l * s - p} C ${f},${c - v - l * s - p * 2.5} ${r - w},${c - v - l * s - p * 2.5} ${r - w},${c - v - l * s - p} C ${r - w},${c - v - l * s + p / 2} ${f},${c - v - l * s + p / 2} ${f},${c - v - l * s - p}`,
195
- bottomTubeTop: `M ${r - w - 0.5},${c - v - p} C ${r - w - 0.5},${c - v + p / 2} ${f},${c - v + p / 2} ${f + 0.5},${c - v - p}`,
187
+ apexBottom: { y: i - v, x: r / 2 },
188
+ apexTop: { y: i - v - l * s, x: r / 2 },
189
+ right: `M${r / 2},${i - v} ${r / 2},${i - v - l * s} ${r - w},${i - v - p - l * s} ${r - w},${i - v - p}Z`,
190
+ left: `M${r / 2},${i - v} ${r / 2},${i - v - l * s} ${f}, ${i - v - p - l * s} ${f},${i - v - p}Z`,
191
+ liningTop: `M${f},${i - v - p - l * s} ${r / 2},${i - v - l * s} ${r - w},${i - v - p - l * s}`,
192
+ liningTopShade: `M${f},${i - v - p - l * s - 0.5} ${r / 2},${i - v - l * s - 0.5} ${r - w},${i - v - p - l * s - 0.5}`,
193
+ top: `M${r / 2},${i - v - l * s} ${f},${i - v - p - l * s} ${r / 2},${i - v - p * 2 - l * s} ${r - w},${i - v - p - l * s} Z`,
194
+ tubeTop: `M${f},${i - v - l * s - p} C ${f},${i - v - l * s - p * 2.5} ${r - w},${i - v - l * s - p * 2.5} ${r - w},${i - v - l * s - p} C ${r - w},${i - v - l * s + p / 2} ${f},${i - v - l * s + p / 2} ${f},${i - v - l * s - p}`,
195
+ bottomTubeTop: `M ${r - w - 0.5},${i - v - p} C ${r - w - 0.5},${i - v + p / 2} ${f},${i - v + p / 2} ${f + 0.5},${i - v - p}`,
196
196
  tubeBody: `M
197
- ${f},${c - v - l * s - p}
198
- C ${f},${c - v - l * s + p / 2}
199
- ${r - w},${c - v - l * s + p / 2}
200
- ${r - w},${c - v - l * s - p}
201
- L${r - w},${c - v - p}
197
+ ${f},${i - v - l * s - p}
198
+ C ${f},${i - v - l * s + p / 2}
199
+ ${r - w},${i - v - l * s + p / 2}
200
+ ${r - w},${i - v - l * s - p}
201
+ L${r - w},${i - v - p}
202
202
  C
203
- ${r - w},${c - v + p / 2}
204
- ${f},${c - v + p / 2}
205
- ${f},${c - v - p}Z`
203
+ ${r - w},${i - v + p / 2}
204
+ ${f},${i - v + p / 2}
205
+ ${f},${i - v - p}Z`
206
206
  };
207
207
  }
208
208
  const R = T(() => {
209
- const a = V.value / 100, s = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: e, height: h, bottom: l, right: r, left: c, perspective: k } = o.value, f = l + s * 0;
209
+ const a = V.value / 100, s = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: e, height: h, bottom: l, right: r, left: i, perspective: k } = o.value, f = l + s * 0;
210
210
  return {
211
211
  right: `M${e / 2},${h - f} ${e / 2},${h - f - s * a} ${e - r},${h - f - k - s * a} ${e - r},${h - f - k}Z`,
212
- left: `M${e / 2},${h - f} ${e / 2},${h - f - s * a} ${c}, ${h - f - k - s * a} ${c},${h - f - k}Z`,
213
- top: `M${e / 2},${h - f - s * a} ${c},${h - f - k - s * a} ${e / 2},${h - f - k * 2 - s * a} ${e - r},${h - f - k - s * a} Z`,
214
- tubeTop: `M${c},${h - f - s * a - k} C ${c},${h - f - s * a - k * 2.5} ${e - r},${h - f - s * a - k * 2.5} ${e - r},${h - f - s * a - k} C ${e - r},${h - f - s * a + k / 2} ${c},${h - f - s * a + k / 2} ${c},${h - f - s * a - k}`,
212
+ left: `M${e / 2},${h - f} ${e / 2},${h - f - s * a} ${i}, ${h - f - k - s * a} ${i},${h - f - k}Z`,
213
+ top: `M${e / 2},${h - f - s * a} ${i},${h - f - k - s * a} ${e / 2},${h - f - k * 2 - s * a} ${e - r},${h - f - k - s * a} Z`,
214
+ tubeTop: `M${i},${h - f - s * a - k} C ${i},${h - f - s * a - k * 2.5} ${e - r},${h - f - s * a - k * 2.5} ${e - r},${h - f - s * a - k} C ${e - r},${h - f - s * a + k / 2} ${i},${h - f - s * a + k / 2} ${i},${h - f - s * a - k}`,
215
215
  tubeBody: `M
216
- ${c},${h - f - s * a - k}
217
- C ${c},${h - f - s * a + k / 2}
216
+ ${i},${h - f - s * a - k}
217
+ C ${i},${h - f - s * a + k / 2}
218
218
  ${e - r},${h - f - s * a + k / 2}
219
219
  ${e - r},${h - f - s * a - k}
220
220
  L${e - r},${h - k * 1.5}
221
221
  C
222
222
  ${e - r},${h}
223
- ${c},${h}
224
- ${c},${h - f - k}Z`
223
+ ${i},${h}
224
+ ${i},${h - f - k}Z`
225
225
  };
226
226
  }), x = j(null);
227
227
  function M(a, s = !1) {
@@ -231,7 +231,7 @@ const gt = ["id"], $t = {
231
231
  I.value || (x.value = null);
232
232
  }
233
233
  function W(a, s, e = !1) {
234
- const h = $.dataset.series.map((c) => c.value || 0).reduce((c, k) => c + k, 0), l = isNaN(a.value / h) ? 0 : a.value / h * 100, r = isNaN(a.value / me(s)) ? 0 : a.value / me(s) * 100;
234
+ const h = $.dataset.series.map((i) => i.value || 0).reduce((i, k) => i + k, 0), l = isNaN(a.value / h) ? 0 : a.value / h * 100, r = isNaN(a.value / me(s)) ? 0 : a.value / me(s) * 100;
235
235
  return e ? r : l.toFixed(0) + "%";
236
236
  }
237
237
  function me(a) {
@@ -257,33 +257,33 @@ const gt = ["id"], $t = {
257
257
  } else
258
258
  return null;
259
259
  });
260
- function be() {
260
+ function be(a = null) {
261
261
  if (!F.value) {
262
262
  console.warn("VueUi3dBar : CSV download is only available in stack mode (providing dataset.series instead of dataset.percentage)");
263
263
  return;
264
264
  }
265
265
  ot(() => {
266
- const a = C.value.map((l) => l.value).reduce((l, r) => l + r, 0), s = N.value.head.map((l, r) => [[
267
- l.name
268
- ], [N.value.body[r]], [isNaN(N.value.body[r] / a) ? "-" : N.value.body[r] / a * 100]]), e = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(s), h = ct(e);
269
- ht({ csvContent: h, title: t.value.style.chart.title.text || "vue-ui-3d-bar" });
266
+ const s = C.value.map((r) => r.value).reduce((r, i) => r + i, 0), e = N.value.head.map((r, i) => [[
267
+ r.name
268
+ ], [N.value.body[i]], [isNaN(N.value.body[i] / s) ? "-" : N.value.body[i] / s * 100]]), h = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(e), l = ct(h);
269
+ a ? a(l) : ht({ csvContent: l, title: t.value.style.chart.title.text || "vue-ui-3d-bar" });
270
270
  });
271
271
  }
272
272
  const X = T(() => {
273
- const a = C.value.map((r) => r.value).reduce((r, c) => r + c, 0), s = [
273
+ const a = C.value.map((r) => r.value).reduce((r, i) => r + i, 0), s = [
274
274
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
275
275
  D({ p: t.value.style.chart.legend.prefix, v: a, s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue }),
276
276
  "100%"
277
- ], e = N.value.head.map((r, c) => {
278
- const k = D({ p: t.value.style.chart.legend.prefix, v: N.value.body[c], s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue });
277
+ ], e = N.value.head.map((r, i) => {
278
+ const k = D({ p: t.value.style.chart.legend.prefix, v: N.value.body[i], s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue });
279
279
  return [
280
280
  {
281
281
  color: r.color,
282
282
  name: r.name
283
283
  },
284
284
  k,
285
- isNaN(N.value.body[c] / a) ? "-" : D({
286
- v: N.value.body[c] / a * 100,
285
+ isNaN(N.value.body[i] / a) ? "-" : D({
286
+ v: N.value.body[i] / a * 100,
287
287
  s: "%",
288
288
  r: t.value.table.td.roundingPercentage
289
289
  })
@@ -327,7 +327,7 @@ const gt = ["id"], $t = {
327
327
  getData: qe,
328
328
  toggleTable: xe,
329
329
  toggleAnnotator: ne
330
- }), (a, s) => (n(), d("div", {
330
+ }), (a, s) => (n(), c("div", {
331
331
  ref_key: "bar3dChart",
332
332
  ref: ie,
333
333
  class: Pe("vue-ui-3d-bar"),
@@ -344,7 +344,7 @@ const gt = ["id"], $t = {
344
344
  active: Y.value,
345
345
  onClose: ne
346
346
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
347
- t.value.style.chart.title.text ? (n(), d("div", $t, [
347
+ t.value.style.chart.title.text ? (n(), c("div", $t, [
348
348
  (n(), U(yt, {
349
349
  key: `title_${de.value}`,
350
350
  config: {
@@ -439,7 +439,7 @@ const gt = ["id"], $t = {
439
439
  key: "6"
440
440
  } : void 0
441
441
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
442
- q.value ? (n(), d("svg", {
442
+ q.value ? (n(), c("svg", {
443
443
  key: 3,
444
444
  ref_key: "svgRef",
445
445
  ref: fe,
@@ -449,7 +449,7 @@ const gt = ["id"], $t = {
449
449
  style: O(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)
450
450
  }, [
451
451
  tt(u(Le)),
452
- a.$slots["chart-background"] ? (n(), d("foreignObject", {
452
+ a.$slots["chart-background"] ? (n(), c("foreignObject", {
453
453
  key: 0,
454
454
  x: 0,
455
455
  y: 0,
@@ -461,119 +461,119 @@ const gt = ["id"], $t = {
461
461
  }, [
462
462
  P(a.$slots, "chart-background", {}, void 0, !0)
463
463
  ], 8, mt)) : y("", !0),
464
- i("defs", null, [
465
- i("radialGradient", {
464
+ d("defs", null, [
465
+ d("radialGradient", {
466
466
  id: `gradient_top${b.value}`
467
467
  }, [
468
- i("stop", {
468
+ d("stop", {
469
469
  offset: "0%",
470
470
  "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
471
471
  }, null, 8, xt),
472
- i("stop", {
472
+ d("stop", {
473
473
  offset: "100%",
474
474
  "stop-color": t.value.style.chart.bar.color
475
475
  }, null, 8, wt)
476
476
  ], 8, bt),
477
- i("radialGradient", {
477
+ d("radialGradient", {
478
478
  id: `gradient_left${b.value}`
479
479
  }, [
480
- i("stop", {
480
+ d("stop", {
481
481
  offset: "0%",
482
482
  "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
483
483
  }, null, 8, Ft),
484
- i("stop", {
484
+ d("stop", {
485
485
  offset: "100%",
486
486
  "stop-color": u(g)(t.value.style.chart.bar.color, 20)
487
487
  }, null, 8, Mt)
488
488
  ], 8, Ct),
489
- i("radialGradient", {
489
+ d("radialGradient", {
490
490
  id: `gradient_right${b.value}`
491
491
  }, [
492
- i("stop", {
492
+ d("stop", {
493
493
  offset: "0%",
494
494
  "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
495
495
  }, null, 8, jt),
496
- i("stop", {
496
+ d("stop", {
497
497
  offset: "100%",
498
498
  "stop-color": u(g)(t.value.style.chart.bar.color, 20)
499
499
  }, null, 8, Tt)
500
500
  ], 8, Pt),
501
- i("linearGradient", {
501
+ d("linearGradient", {
502
502
  id: `gradient_tube_body${b.value}`,
503
503
  x1: "0%",
504
504
  y1: "0%",
505
505
  x2: "100%",
506
506
  y2: "0%"
507
507
  }, [
508
- i("stop", {
508
+ d("stop", {
509
509
  offset: "0%",
510
510
  "stop-color": `${t.value.style.chart.bar.color}`
511
511
  }, null, 8, Dt),
512
- i("stop", {
512
+ d("stop", {
513
513
  offset: "75%",
514
514
  "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
515
515
  }, null, 8, Ot),
516
- i("stop", {
516
+ d("stop", {
517
517
  offset: "100%",
518
518
  "stop-color": u(g)(t.value.style.chart.bar.color, 40)
519
519
  }, null, 8, zt)
520
520
  ], 8, St)
521
521
  ]),
522
- F.value ? (n(), d("defs", Nt, [
523
- (n(!0), d(_, null, m(C.value, (e) => (n(), d("radialGradient", {
522
+ F.value ? (n(), c("defs", Nt, [
523
+ (n(!0), c(_, null, m(C.value, (e) => (n(), c("radialGradient", {
524
524
  id: `grad_top_${e.id}`
525
525
  }, [
526
- i("stop", {
526
+ d("stop", {
527
527
  offset: "0%",
528
528
  "stop-color": u(g)(u(E)(e.color, 0.5), 80)
529
529
  }, null, 8, At),
530
- i("stop", {
530
+ d("stop", {
531
531
  offset: "100%",
532
532
  "stop-color": e.color
533
533
  }, null, 8, It)
534
534
  ], 8, Bt))), 256)),
535
- (n(!0), d(_, null, m(C.value, (e) => (n(), d("linearGradient", {
535
+ (n(!0), c(_, null, m(C.value, (e) => (n(), c("linearGradient", {
536
536
  id: `grad_left_${e.id}`
537
537
  }, [
538
- i("stop", {
538
+ d("stop", {
539
539
  offset: "0%",
540
540
  "stop-color": u(g)(e.color, 80)
541
541
  }, null, 8, Vt),
542
- i("stop", {
542
+ d("stop", {
543
543
  offset: "100%",
544
544
  "stop-color": u(g)(u(te)(e.color, 0.5), 100)
545
545
  }, null, 8, Wt)
546
546
  ], 8, Lt))), 256)),
547
- (n(!0), d(_, null, m(C.value, (e) => (n(), d("linearGradient", {
547
+ (n(!0), c(_, null, m(C.value, (e) => (n(), c("linearGradient", {
548
548
  id: `grad_right_${e.id}`
549
549
  }, [
550
- i("stop", {
550
+ d("stop", {
551
551
  offset: "2%",
552
552
  "stop-color": u(g)(u(E)(e.color, 0.5), 100)
553
553
  }, null, 8, Ut),
554
- i("stop", {
554
+ d("stop", {
555
555
  offset: "100%",
556
556
  "stop-color": u(g)(e.color, 80)
557
557
  }, null, 8, Et)
558
558
  ], 8, Gt))), 256)),
559
- i("linearGradient", {
559
+ d("linearGradient", {
560
560
  x1: "0%",
561
561
  y1: "0%",
562
562
  x2: "0%",
563
563
  y2: "100%",
564
564
  id: `vertical_line_${b.value}`
565
565
  }, s[4] || (s[4] = [
566
- i("stop", {
566
+ d("stop", {
567
567
  offset: "0%",
568
568
  "stop-color": "#FFFFFF"
569
569
  }, null, -1),
570
- i("stop", {
570
+ d("stop", {
571
571
  offset: "100%",
572
572
  "stop-color": "#FFFFFF33"
573
573
  }, null, -1)
574
574
  ]), 8, Ht)
575
575
  ])) : y("", !0),
576
- t.value.style.chart.dataLabel.show && ![null, void 0].includes($.dataset.percentage) && [null, void 0].includes($.dataset.series) ? (n(), d("text", {
576
+ t.value.style.chart.dataLabel.show && ![null, void 0].includes($.dataset.percentage) && [null, void 0].includes($.dataset.series) ? (n(), c("text", {
577
577
  key: 2,
578
578
  x: o.value.width / 2,
579
579
  y: o.value.top - t.value.style.chart.dataLabel.fontSize / 2,
@@ -586,7 +586,7 @@ const gt = ["id"], $t = {
586
586
  s: "%",
587
587
  r: t.value.style.chart.dataLabel.rounding
588
588
  })), 9, Rt)) : y("", !0),
589
- I.value ? (n(), d("g", {
589
+ I.value ? (n(), c("g", {
590
590
  key: 3,
591
591
  onClick: s[0] || (s[0] = (e) => {
592
592
  I.value = !1, x.value = null;
@@ -594,29 +594,29 @@ const gt = ["id"], $t = {
594
594
  "data-dom-to-png-ignore": "",
595
595
  style: { cursor: "pointer" }
596
596
  }, [
597
- i("rect", {
597
+ d("rect", {
598
598
  x: o.value.width / 2 - 6,
599
599
  y: o.value.top - 20,
600
600
  height: 12,
601
601
  width: 12,
602
602
  fill: "transparent"
603
603
  }, null, 8, Zt),
604
- i("path", {
604
+ d("path", {
605
605
  d: `M${o.value.width / 2 - 6},${o.value.top - 20} ${o.value.width / 2 + 6},${o.value.top - 9}`,
606
606
  stroke: t.value.style.chart.color,
607
607
  "stroke-linecap": "round",
608
608
  "stroke-width": "1"
609
609
  }, null, 8, qt),
610
- i("path", {
610
+ d("path", {
611
611
  d: `M${o.value.width / 2 + 6},${o.value.top - 20} ${o.value.width / 2 - 6},${o.value.top - 9}`,
612
612
  stroke: t.value.style.chart.color,
613
613
  "stroke-linecap": "round",
614
614
  "stroke-width": "1"
615
615
  }, null, 8, Xt)
616
616
  ])) : y("", !0),
617
- !t.value.style.shape || t.value.style.shape === "bar" ? (n(), d("g", Yt, [
618
- F.value ? y("", !0) : (n(), d("g", Jt, [
619
- i("path", {
617
+ !t.value.style.shape || t.value.style.shape === "bar" ? (n(), c("g", Yt, [
618
+ F.value ? y("", !0) : (n(), c("g", Jt, [
619
+ d("path", {
620
620
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
621
621
  d: z.value.right,
622
622
  stroke: t.value.style.chart.box.stroke,
@@ -625,7 +625,7 @@ const gt = ["id"], $t = {
625
625
  "stroke-linecap": "round",
626
626
  fill: "none"
627
627
  }, null, 8, Kt),
628
- i("path", {
628
+ d("path", {
629
629
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
630
630
  d: z.value.left,
631
631
  stroke: t.value.style.chart.box.stroke,
@@ -634,7 +634,7 @@ const gt = ["id"], $t = {
634
634
  "stroke-linecap": "round",
635
635
  fill: "none"
636
636
  }, null, 8, Qt),
637
- i("path", {
637
+ d("path", {
638
638
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
639
639
  d: z.value.side,
640
640
  stroke: t.value.style.chart.box.stroke,
@@ -643,7 +643,7 @@ const gt = ["id"], $t = {
643
643
  "stroke-linecap": "round",
644
644
  fill: "none"
645
645
  }, null, 8, el),
646
- i("path", {
646
+ d("path", {
647
647
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
648
648
  d: z.value.topSides,
649
649
  stroke: t.value.style.chart.box.stroke,
@@ -653,8 +653,8 @@ const gt = ["id"], $t = {
653
653
  fill: "none"
654
654
  }, null, 8, tl)
655
655
  ])),
656
- F.value ? y("", !0) : (n(), d("g", ll, [
657
- i("path", {
656
+ F.value ? y("", !0) : (n(), c("g", ll, [
657
+ d("path", {
658
658
  d: R.value.right,
659
659
  stroke: t.value.style.chart.bar.stroke,
660
660
  "stroke-width": t.value.style.chart.bar.strokeWidth,
@@ -662,7 +662,7 @@ const gt = ["id"], $t = {
662
662
  "stroke-linecap": "round",
663
663
  fill: `url(#gradient_right${b.value})`
664
664
  }, null, 8, ol),
665
- i("path", {
665
+ d("path", {
666
666
  d: R.value.left,
667
667
  stroke: t.value.style.chart.bar.stroke,
668
668
  "stroke-width": t.value.style.chart.bar.strokeWidth,
@@ -670,7 +670,7 @@ const gt = ["id"], $t = {
670
670
  "stroke-linecap": "round",
671
671
  fill: `url(#gradient_left${b.value})`
672
672
  }, null, 8, sl),
673
- i("path", {
673
+ d("path", {
674
674
  d: R.value.top,
675
675
  stroke: t.value.style.chart.bar.stroke,
676
676
  "stroke-width": t.value.style.chart.bar.strokeWidth,
@@ -679,33 +679,33 @@ const gt = ["id"], $t = {
679
679
  fill: `url(#gradient_top${b.value})`
680
680
  }, null, 8, al)
681
681
  ])),
682
- F.value ? (n(), d("g", nl, [
683
- (n(!0), d(_, null, m(C.value, (e, h) => (n(), d("g", {
682
+ F.value ? (n(), c("g", nl, [
683
+ (n(!0), c(_, null, m(C.value, (e, h) => (n(), c("g", {
684
684
  style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
685
685
  class: "vue-ui-3d-bar-stack"
686
686
  }, [
687
- i("path", {
687
+ d("path", {
688
688
  d: e.fill.right,
689
689
  fill: `url(#grad_right_${e.id})`,
690
690
  onMouseenter: (l) => M(e),
691
691
  onClick: (l) => M(e, !0),
692
692
  onMouseout: L
693
693
  }, null, 40, rl),
694
- i("path", {
694
+ d("path", {
695
695
  d: e.fill.left,
696
696
  fill: `url(#grad_left_${e.id})`,
697
697
  onMouseenter: (l) => M(e),
698
698
  onClick: (l) => M(e, !0),
699
699
  onMouseout: L
700
700
  }, null, 40, ul),
701
- i("path", {
701
+ d("path", {
702
702
  d: e.fill.top,
703
703
  fill: `url(#grad_top_${e.id})`,
704
704
  onMouseenter: (l) => M(e),
705
705
  onClick: (l) => M(e, !0),
706
706
  onMouseout: L
707
707
  }, null, 40, il),
708
- i("path", {
708
+ d("path", {
709
709
  d: e.fill.liningTop,
710
710
  stroke: "#FFFFFF",
711
711
  "stroke-width": "0.5",
@@ -715,15 +715,15 @@ const gt = ["id"], $t = {
715
715
  onClick: (l) => M(e, !0),
716
716
  onMouseout: L
717
717
  }, null, 40, dl),
718
- i("path", {
718
+ d("path", {
719
719
  d: `M ${e.fill.apexTop.x},${e.fill.apexTop.y} ${e.fill.apexBottom.x},${e.fill.apexBottom.y}`,
720
720
  stroke: "#FFFFFF",
721
721
  "stroke-width": "0.5",
722
722
  "stroke-linecap": "round"
723
723
  }, null, 8, cl)
724
724
  ], 4))), 256)),
725
- (n(!0), d(_, null, m(C.value, (e, h) => (n(), d("g", null, [
726
- h !== C.value.length - 1 ? (n(), d("path", {
725
+ (n(!0), c(_, null, m(C.value, (e, h) => (n(), c("g", null, [
726
+ h !== C.value.length - 1 ? (n(), c("path", {
727
727
  key: 0,
728
728
  d: e.fill.liningTopShade,
729
729
  stroke: t.value.style.chart.bar.shadeColor,
@@ -733,18 +733,18 @@ const gt = ["id"], $t = {
733
733
  style: { "pointer-events": "none" }
734
734
  }, null, 8, hl)) : y("", !0)
735
735
  ]))), 256)),
736
- (n(!0), d(_, null, m(C.value, (e, h) => (n(), d("g", {
736
+ (n(!0), c(_, null, m(C.value, (e, h) => (n(), c("g", {
737
737
  style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
738
738
  onClick: (l) => Z("selectDatapoint", e)
739
739
  }, [
740
- i("path", {
740
+ d("path", {
741
741
  stroke: t.value.style.chart.color,
742
742
  "stroke-dasharray": "1",
743
743
  "stroke-width": "0.5",
744
744
  "stroke-linecap": "round",
745
745
  d: `M${e.fill.sidePointer.x},${e.fill.sidePointer.y} ${e.fill.sidePointer.x + 20},${e.fill.sidePointer.y}`
746
746
  }, null, 8, fl),
747
- !e.fill.miniDonut || x.value ? (n(), d("circle", {
747
+ !e.fill.miniDonut || x.value ? (n(), c("circle", {
748
748
  key: 0,
749
749
  cx: e.fill.sidePointer.x + 20,
750
750
  cy: e.fill.sidePointer.y,
@@ -752,14 +752,14 @@ const gt = ["id"], $t = {
752
752
  fill: e.color,
753
753
  stroke: t.value.style.chart.backgroundColor
754
754
  }, null, 8, pl)) : y("", !0),
755
- (n(), d("foreignObject", {
755
+ (n(), c("foreignObject", {
756
756
  x: e.fill.sidePointer.x + 30,
757
757
  y: e.fill.sidePointer.y - t.value.style.chart.legend.fontSize,
758
758
  width: o.value.absoluteWidth / 2 - 12,
759
759
  height: t.value.style.chart.legend.fontSize * 2,
760
760
  style: { overflow: "visible", position: "relative" }
761
761
  }, [
762
- t.value.style.chart.legend.showDefault ? (n(), d("div", {
762
+ t.value.style.chart.legend.showDefault ? (n(), c("div", {
763
763
  key: 0,
764
764
  style: O(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${t.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${t.value.style.chart.legend.fontSize}px; color:${t.value.style.chart.legend.color}`)
765
765
  }, B(u(le)(
@@ -775,9 +775,9 @@ const gt = ["id"], $t = {
775
775
  )), 5)) : y("", !0),
776
776
  P(a.$slots, "legend", je({ ref_for: !0 }, { datapoint: e, config: t.value, dataset: C.value }), void 0, !0)
777
777
  ], 8, yl)),
778
- e.fill.donut && x.value === e.id ? (n(), d("g", kl, [
779
- (n(!0), d(_, null, m(e.fill.donut, (l, r) => (n(), d("g", null, [
780
- W(l, e.fill.donut, !0) > 6 ? (n(), d("path", {
778
+ e.fill.donut && x.value === e.id ? (n(), c("g", kl, [
779
+ (n(!0), c(_, null, m(e.fill.donut, (l, r) => (n(), c("g", null, [
780
+ W(l, e.fill.donut, !0) > 6 ? (n(), c("path", {
781
781
  key: 0,
782
782
  d: u(De)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 10),
783
783
  stroke: l.color,
@@ -788,48 +788,48 @@ const gt = ["id"], $t = {
788
788
  fill: "none"
789
789
  }, null, 8, gl)) : y("", !0)
790
790
  ]))), 256)),
791
- (n(!0), d(_, null, m(e.fill.donut, (l, r) => (n(), d("path", {
791
+ (n(!0), c(_, null, m(e.fill.donut, (l, r) => (n(), c("path", {
792
792
  class: "vue-ui-donut-arc-path",
793
793
  d: l.arcSlice,
794
794
  fill: `${l.color}`,
795
795
  stroke: t.value.style.chart.backgroundColor,
796
796
  "stroke-width": 1
797
797
  }, null, 8, $l))), 256)),
798
- i("defs", null, [
799
- i("radialGradient", {
798
+ d("defs", null, [
799
+ d("radialGradient", {
800
800
  id: `hollow_gradient_${b.value}`
801
801
  }, [
802
- i("stop", {
802
+ d("stop", {
803
803
  offset: "0%",
804
804
  "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
805
805
  }, null, 8, ml),
806
- s[5] || (s[5] = i("stop", {
806
+ s[5] || (s[5] = d("stop", {
807
807
  offset: "77%",
808
808
  "stop-color": "#FFFFFF20"
809
809
  }, null, -1)),
810
- i("stop", {
810
+ d("stop", {
811
811
  offset: "100%",
812
812
  "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
813
813
  }, null, 8, bl)
814
814
  ], 8, _l)
815
815
  ]),
816
- (n(!0), d(_, null, m(e.fill.donut, (l, r) => (n(), d("circle", {
816
+ (n(!0), c(_, null, m(e.fill.donut, (l, r) => (n(), c("circle", {
817
817
  class: "vue-ui-donut-arc-path",
818
818
  cx: l.cx,
819
819
  cy: l.cy,
820
820
  r: 28,
821
821
  fill: `url(#hollow_gradient_${b.value})`
822
822
  }, null, 8, xl))), 256)),
823
- (n(!0), d(_, null, m(e.fill.donut, (l, r) => (n(), d("circle", {
823
+ (n(!0), c(_, null, m(e.fill.donut, (l, r) => (n(), c("circle", {
824
824
  class: "vue-ui-donut-arc-path",
825
825
  cx: l.cx,
826
826
  cy: l.cy,
827
827
  r: 14,
828
828
  fill: t.value.style.chart.backgroundColor
829
829
  }, null, 8, wl))), 256)),
830
- (n(!0), d(_, null, m(e.fill.donut, (l, r) => (n(), d("g", null, [
831
- W(l, e.fill.donut, !0) > 6 ? (n(), d("g", Cl, [
832
- i("text", {
830
+ (n(!0), c(_, null, m(e.fill.donut, (l, r) => (n(), c("g", null, [
831
+ W(l, e.fill.donut, !0) > 6 ? (n(), c("g", Cl, [
832
+ d("text", {
833
833
  "text-anchor": u(A)(l, !0, 0).anchor,
834
834
  x: u(A)(l, !0, 2).x,
835
835
  y: u(oe)(l, 12, 12),
@@ -846,7 +846,7 @@ const gt = ["id"], $t = {
846
846
  })})`,
847
847
  { datapoint: l, seriesIndex: r, type: "donutDatapoint" }
848
848
  )), 9, Fl),
849
- i("text", {
849
+ d("text", {
850
850
  "text-anchor": u(A)(l).anchor,
851
851
  x: u(A)(l, !0, 2).x,
852
852
  y: u(oe)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
@@ -856,8 +856,8 @@ const gt = ["id"], $t = {
856
856
  ])) : y("", !0)
857
857
  ]))), 256))
858
858
  ])) : y("", !0),
859
- e.fill.miniDonut && !x.value ? (n(), d("g", Pl, [
860
- (n(!0), d(_, null, m(e.fill.miniDonut, (l, r) => (n(), d("path", {
859
+ e.fill.miniDonut && !x.value ? (n(), c("g", Pl, [
860
+ (n(!0), c(_, null, m(e.fill.miniDonut, (l, r) => (n(), c("path", {
861
861
  class: "vue-ui-donut-arc-path",
862
862
  d: l.arcSlice,
863
863
  fill: `${l.color}`,
@@ -868,9 +868,9 @@ const gt = ["id"], $t = {
868
868
  ], 12, vl))), 256))
869
869
  ])) : y("", !0)
870
870
  ])) : y("", !0),
871
- t.value.style.shape === "tube" ? (n(), d("g", Tl, [
872
- F.value ? y("", !0) : (n(), d("g", Sl, [
873
- i("path", {
871
+ t.value.style.shape === "tube" ? (n(), c("g", Tl, [
872
+ F.value ? y("", !0) : (n(), c("g", Sl, [
873
+ d("path", {
874
874
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
875
875
  d: z.value.tubeTop,
876
876
  stroke: t.value.style.chart.box.stroke,
@@ -879,7 +879,7 @@ const gt = ["id"], $t = {
879
879
  "stroke-linecap": "round",
880
880
  fill: "none"
881
881
  }, null, 8, Dl),
882
- i("path", {
882
+ d("path", {
883
883
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
884
884
  d: z.value.tubeLeft,
885
885
  stroke: t.value.style.chart.box.stroke,
@@ -888,7 +888,7 @@ const gt = ["id"], $t = {
888
888
  "stroke-linecap": "round",
889
889
  fill: "none"
890
890
  }, null, 8, Ol),
891
- i("path", {
891
+ d("path", {
892
892
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
893
893
  d: z.value.tubeRight,
894
894
  stroke: t.value.style.chart.box.stroke,
@@ -897,7 +897,7 @@ const gt = ["id"], $t = {
897
897
  "stroke-linecap": "round",
898
898
  fill: "none"
899
899
  }, null, 8, zl),
900
- i("path", {
900
+ d("path", {
901
901
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
902
902
  d: z.value.tubeBottom,
903
903
  stroke: t.value.style.chart.box.stroke,
@@ -906,7 +906,7 @@ const gt = ["id"], $t = {
906
906
  "stroke-linecap": "round",
907
907
  fill: "none"
908
908
  }, null, 8, Nl),
909
- i("path", {
909
+ d("path", {
910
910
  d: R.value.tubeTop,
911
911
  stroke: t.value.style.chart.bar.stroke,
912
912
  "stroke-width": t.value.style.chart.bar.strokeWidth,
@@ -914,7 +914,7 @@ const gt = ["id"], $t = {
914
914
  "stroke-linecap": "round",
915
915
  fill: `url(#gradient_top${b.value})`
916
916
  }, null, 8, Bl),
917
- i("path", {
917
+ d("path", {
918
918
  d: R.value.tubeBody,
919
919
  stroke: t.value.style.chart.bar.stroke,
920
920
  "stroke-width": t.value.style.chart.bar.strokeWidth,
@@ -923,57 +923,57 @@ const gt = ["id"], $t = {
923
923
  fill: `url(#gradient_tube_body${b.value})`
924
924
  }, null, 8, Al)
925
925
  ])),
926
- F.value ? (n(), d("g", Il, [
927
- (n(!0), d(_, null, m(C.value, (e, h) => (n(), d("g", {
926
+ F.value ? (n(), c("g", Il, [
927
+ (n(!0), c(_, null, m(C.value, (e, h) => (n(), c("g", {
928
928
  style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
929
929
  class: "vue-ui-3d-bar-stack",
930
930
  onClick: (l) => Z("selectDatapoint", e)
931
931
  }, [
932
- i("defs", null, [
933
- i("radialGradient", {
932
+ d("defs", null, [
933
+ d("radialGradient", {
934
934
  id: `gradient_tube_top_${e.id}`,
935
935
  fx: "10%",
936
936
  cy: "55%"
937
937
  }, [
938
- i("stop", {
938
+ d("stop", {
939
939
  offset: "0%",
940
940
  "stop-color": u(g)(u(E)(e.color, 0.5), 80)
941
941
  }, null, 8, Wl),
942
- i("stop", {
942
+ d("stop", {
943
943
  offset: "100%",
944
944
  "stop-color": u(g)(u(te)(e.color, 0.1), 80)
945
945
  }, null, 8, Gl)
946
946
  ], 8, Vl),
947
- i("linearGradient", {
947
+ d("linearGradient", {
948
948
  id: `gradient_tube_body_${e.id}`,
949
949
  x1: "0%",
950
950
  y1: "0%",
951
951
  x2: "100%",
952
952
  y2: "0%"
953
953
  }, [
954
- i("stop", {
954
+ d("stop", {
955
955
  offset: "0%",
956
956
  "stop-color": `${e.color}`
957
957
  }, null, 8, El),
958
- i("stop", {
958
+ d("stop", {
959
959
  offset: "10%",
960
960
  "stop-color": u(g)(u(te)(e.color, 0.7), 100)
961
961
  }, null, 8, Hl),
962
- i("stop", {
962
+ d("stop", {
963
963
  offset: "25%",
964
964
  "stop-color": u(g)(u(te)(e.color, 0.5), 100)
965
965
  }, null, 8, Rl),
966
- i("stop", {
966
+ d("stop", {
967
967
  offset: "75%",
968
968
  "stop-color": u(g)(e.color, 80)
969
969
  }, null, 8, Zl),
970
- i("stop", {
970
+ d("stop", {
971
971
  offset: "100%",
972
972
  "stop-color": u(g)(u(E)(e.color, 0.7), 100)
973
973
  }, null, 8, ql)
974
974
  ], 8, Ul)
975
975
  ]),
976
- i("path", {
976
+ d("path", {
977
977
  onMouseenter: (l) => M(e),
978
978
  onClick: (l) => M(e, !0),
979
979
  onMouseout: L,
@@ -984,7 +984,7 @@ const gt = ["id"], $t = {
984
984
  "stroke-linecap": "round",
985
985
  fill: `url(#gradient_tube_body_${e.id})`
986
986
  }, null, 40, Xl),
987
- h > 0 ? (n(), d("path", {
987
+ h > 0 ? (n(), c("path", {
988
988
  key: 0,
989
989
  onMouseenter: (l) => M(e),
990
990
  onClick: (l) => M(e, !0),
@@ -996,7 +996,7 @@ const gt = ["id"], $t = {
996
996
  "stroke-linecap": "round",
997
997
  fill: "none"
998
998
  }, null, 40, Yl)) : y("", !0),
999
- i("path", {
999
+ d("path", {
1000
1000
  onMouseenter: (l) => M(e),
1001
1001
  onClick: (l) => M(e, !0),
1002
1002
  onMouseout: L,
@@ -1008,18 +1008,18 @@ const gt = ["id"], $t = {
1008
1008
  fill: `url(#gradient_tube_top_${e.id})`
1009
1009
  }, null, 40, Jl)
1010
1010
  ], 12, Ll))), 256)),
1011
- (n(!0), d(_, null, m(C.value, (e, h) => (n(), d("g", {
1011
+ (n(!0), c(_, null, m(C.value, (e, h) => (n(), c("g", {
1012
1012
  style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
1013
1013
  onClick: (l) => Z("selectDatapoint", e)
1014
1014
  }, [
1015
- i("path", {
1015
+ d("path", {
1016
1016
  stroke: t.value.style.chart.color,
1017
1017
  "stroke-dasharray": "1",
1018
1018
  "stroke-width": "0.5",
1019
1019
  "stroke-linecap": "round",
1020
1020
  d: `M${e.fill.sidePointer.x},${e.fill.sidePointer.y} ${e.fill.sidePointer.x + 20},${e.fill.sidePointer.y}`
1021
1021
  }, null, 8, Ql),
1022
- !e.fill.miniDonut || x.value ? (n(), d("circle", {
1022
+ !e.fill.miniDonut || x.value ? (n(), c("circle", {
1023
1023
  key: 0,
1024
1024
  cx: e.fill.sidePointer.x + 20,
1025
1025
  cy: e.fill.sidePointer.y,
@@ -1027,14 +1027,14 @@ const gt = ["id"], $t = {
1027
1027
  fill: e.color,
1028
1028
  stroke: t.value.style.chart.backgroundColor
1029
1029
  }, null, 8, eo)) : y("", !0),
1030
- (n(), d("foreignObject", {
1030
+ (n(), c("foreignObject", {
1031
1031
  x: e.fill.sidePointer.x + 30,
1032
1032
  y: e.fill.sidePointer.y - t.value.style.chart.legend.fontSize,
1033
1033
  width: o.value.absoluteWidth / 2 - 12,
1034
1034
  height: t.value.style.chart.legend.fontSize * 2,
1035
1035
  style: { overflow: "visible", position: "relative" }
1036
1036
  }, [
1037
- t.value.style.chart.legend.showDefault ? (n(), d("div", {
1037
+ t.value.style.chart.legend.showDefault ? (n(), c("div", {
1038
1038
  key: 0,
1039
1039
  style: O(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${t.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${t.value.style.chart.legend.fontSize}px; color:${t.value.style.chart.legend.color}`)
1040
1040
  }, B(u(le)(
@@ -1050,9 +1050,9 @@ const gt = ["id"], $t = {
1050
1050
  )), 5)) : y("", !0),
1051
1051
  P(a.$slots, "legend", je({ ref_for: !0 }, { datapoint: e, config: t.value, dataset: C.value }), void 0, !0)
1052
1052
  ], 8, to)),
1053
- e.fill.donut && x.value === e.id ? (n(), d("g", lo, [
1054
- (n(!0), d(_, null, m(e.fill.donut, (l, r) => (n(), d("g", null, [
1055
- W(l, e.fill.donut, !0) > 6 ? (n(), d("path", {
1053
+ e.fill.donut && x.value === e.id ? (n(), c("g", lo, [
1054
+ (n(!0), c(_, null, m(e.fill.donut, (l, r) => (n(), c("g", null, [
1055
+ W(l, e.fill.donut, !0) > 6 ? (n(), c("path", {
1056
1056
  key: 0,
1057
1057
  d: u(De)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 10),
1058
1058
  stroke: l.color,
@@ -1063,48 +1063,48 @@ const gt = ["id"], $t = {
1063
1063
  fill: "none"
1064
1064
  }, null, 8, oo)) : y("", !0)
1065
1065
  ]))), 256)),
1066
- (n(!0), d(_, null, m(e.fill.donut, (l, r) => (n(), d("path", {
1066
+ (n(!0), c(_, null, m(e.fill.donut, (l, r) => (n(), c("path", {
1067
1067
  class: "vue-ui-donut-arc-path",
1068
1068
  d: l.arcSlice,
1069
1069
  fill: `${l.color}`,
1070
1070
  stroke: t.value.style.chart.backgroundColor,
1071
1071
  "stroke-width": 1
1072
1072
  }, null, 8, so))), 256)),
1073
- i("defs", null, [
1074
- i("radialGradient", {
1073
+ d("defs", null, [
1074
+ d("radialGradient", {
1075
1075
  id: `hollow_gradient_${b.value}`
1076
1076
  }, [
1077
- i("stop", {
1077
+ d("stop", {
1078
1078
  offset: "0%",
1079
1079
  "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
1080
1080
  }, null, 8, no),
1081
- s[6] || (s[6] = i("stop", {
1081
+ s[6] || (s[6] = d("stop", {
1082
1082
  offset: "77%",
1083
1083
  "stop-color": "#FFFFFF20"
1084
1084
  }, null, -1)),
1085
- i("stop", {
1085
+ d("stop", {
1086
1086
  offset: "100%",
1087
1087
  "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
1088
1088
  }, null, 8, ro)
1089
1089
  ], 8, ao)
1090
1090
  ]),
1091
- (n(!0), d(_, null, m(e.fill.donut, (l, r) => (n(), d("circle", {
1091
+ (n(!0), c(_, null, m(e.fill.donut, (l, r) => (n(), c("circle", {
1092
1092
  class: "vue-ui-donut-arc-path",
1093
1093
  cx: l.cx,
1094
1094
  cy: l.cy,
1095
1095
  r: 28,
1096
1096
  fill: `url(#hollow_gradient_${b.value})`
1097
1097
  }, null, 8, uo))), 256)),
1098
- (n(!0), d(_, null, m(e.fill.donut, (l, r) => (n(), d("circle", {
1098
+ (n(!0), c(_, null, m(e.fill.donut, (l, r) => (n(), c("circle", {
1099
1099
  class: "vue-ui-donut-arc-path",
1100
1100
  cx: l.cx,
1101
1101
  cy: l.cy,
1102
1102
  r: 14,
1103
1103
  fill: t.value.style.chart.backgroundColor
1104
1104
  }, null, 8, io))), 256)),
1105
- (n(!0), d(_, null, m(e.fill.donut, (l, r) => (n(), d("g", null, [
1106
- W(l, e.fill.donut, !0) > 6 ? (n(), d("g", co, [
1107
- i("text", {
1105
+ (n(!0), c(_, null, m(e.fill.donut, (l, r) => (n(), c("g", null, [
1106
+ W(l, e.fill.donut, !0) > 6 ? (n(), c("g", co, [
1107
+ d("text", {
1108
1108
  "text-anchor": u(A)(l, !0, 0).anchor,
1109
1109
  x: u(A)(l, !0, 2).x,
1110
1110
  y: u(oe)(l, 12, 12),
@@ -1121,7 +1121,7 @@ const gt = ["id"], $t = {
1121
1121
  })})`,
1122
1122
  { datapoint: l, seriesIndex: r, type: "donutDatapoint" }
1123
1123
  )), 9, ho),
1124
- i("text", {
1124
+ d("text", {
1125
1125
  "text-anchor": u(A)(l).anchor,
1126
1126
  x: u(A)(l, !0, 2).x,
1127
1127
  y: u(oe)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
@@ -1131,8 +1131,8 @@ const gt = ["id"], $t = {
1131
1131
  ])) : y("", !0)
1132
1132
  ]))), 256))
1133
1133
  ])) : y("", !0),
1134
- e.fill.miniDonut && !x.value ? (n(), d("g", fo, [
1135
- (n(!0), d(_, null, m(e.fill.miniDonut, (l, r) => (n(), d("path", {
1134
+ e.fill.miniDonut && !x.value ? (n(), c("g", fo, [
1135
+ (n(!0), c(_, null, m(e.fill.miniDonut, (l, r) => (n(), c("path", {
1136
1136
  class: "vue-ui-donut-arc-path",
1137
1137
  d: l.arcSlice,
1138
1138
  fill: `${l.color}`,
@@ -1145,7 +1145,7 @@ const gt = ["id"], $t = {
1145
1145
  ])) : y("", !0),
1146
1146
  P(a.$slots, "svg", { svg: o.value }, void 0, !0)
1147
1147
  ], 14, _t)) : y("", !0),
1148
- a.$slots.watermark ? (n(), d("div", yo, [
1148
+ a.$slots.watermark ? (n(), c("div", yo, [
1149
1149
  P(a.$slots, "watermark", J(K({ isPrinting: u(ye) || u(ke) })), void 0, !0)
1150
1150
  ])) : y("", !0),
1151
1151
  q.value ? y("", !0) : (n(), U(u(We), {
@@ -1160,7 +1160,7 @@ const gt = ["id"], $t = {
1160
1160
  }
1161
1161
  }
1162
1162
  }, null, 8, ["config"])),
1163
- a.$slots.source ? (n(), d("div", ko, [
1163
+ a.$slots.source ? (n(), c("div", ko, [
1164
1164
  P(a.$slots, "source", {}, void 0, !0)
1165
1165
  ], 512)) : y("", !0),
1166
1166
  q.value && F.value ? (n(), U(u(Ae), {
@@ -1190,7 +1190,7 @@ const gt = ["id"], $t = {
1190
1190
  onClose: s[1] || (s[1] = (e) => H.value.showTable = !1)
1191
1191
  }, {
1192
1192
  th: S(({ th: e }) => [
1193
- i("div", {
1193
+ d("div", {
1194
1194
  innerHTML: e,
1195
1195
  style: { display: "flex", "align-items": "center" }
1196
1196
  }, null, 8, go)
@@ -1205,7 +1205,7 @@ const gt = ["id"], $t = {
1205
1205
  }, 8, ["config"])) : y("", !0)
1206
1206
  ], 44, gt));
1207
1207
  }
1208
- }, Po = /* @__PURE__ */ kt($o, [["__scopeId", "data-v-e5fdc701"]]);
1208
+ }, Po = /* @__PURE__ */ kt($o, [["__scopeId", "data-v-f21d1895"]]);
1209
1209
  export {
1210
1210
  Po as default
1211
1211
  };