vue-data-ui 3.1.1 → 3.1.2

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 (93) hide show
  1. package/dist/{Arrow-xQM7mBzd.js → Arrow-BotYLY2I.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B2BQC0-h.js → BaseDraggableDialog-Dkpr-qUQ.js} +2 -2
  3. package/dist/{BaseIcon-DLesaZpW.js → BaseIcon-BLg8FaQ2.js} +5 -3
  4. package/dist/{ColorPicker-BKvJvFtX.js → ColorPicker-C2sMVpbA.js} +2 -2
  5. package/dist/{DataTable-BAf4Obr9.js → DataTable-BRN1-1ob.js} +2 -2
  6. package/dist/{Legend-8_V5egWW.js → Legend-DLzeDl3-.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-Cq4fHmA0.js → NonSvgPenAndPaper-Dp53d2re.js} +3 -3
  8. package/dist/{PackageVersion-Cv_ypT0N.js → PackageVersion-Jz9FlNXl.js} +1 -1
  9. package/dist/{PenAndPaper-B6OvfyHH.js → PenAndPaper-TgGWddgD.js} +3 -3
  10. package/dist/{Shape-Cjca5zta.js → Shape-Bmpx9GRg.js} +1 -1
  11. package/dist/{Slicer-6w3K8gAc.js → Slicer-DeWHn8zH.js} +2 -2
  12. package/dist/{SparkTooltip-BV4Z-NMp.js → SparkTooltip-C6fJOQ0j.js} +1 -1
  13. package/dist/{Title-Dz-j6ERs.js → Title-AGmmsSi_.js} +1 -1
  14. package/dist/{Tooltip-BTGOEC7w.js → Tooltip-le0yZk_t.js} +1 -1
  15. package/dist/{UserOptions-CsDlFB0L.js → UserOptions-DEFwuQIo.js} +125 -108
  16. package/dist/{dom-to-png-BOu5-Ohz.js → dom-to-png-C7V0EktO.js} +1 -1
  17. package/dist/{img-gBDz7xQQ.js → img-DvuphHeJ.js} +1 -1
  18. package/dist/{index-BKQqb9lF.js → index-BFqW8WA0.js} +97 -74
  19. package/dist/pdf-Bdf65IBz.js +79 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +25 -2
  22. package/dist/types/vue-data-ui.d.ts +25 -2
  23. package/dist/{useAutoSizeLabelsInsideViewbox-IO2dh0Uq.js → useAutoSizeLabelsInsideViewbox-N1I6Rk6M.js} +1 -1
  24. package/dist/{useNestedProp-aBOhgs4U.js → useNestedProp-BSZCnuGl.js} +1 -1
  25. package/dist/{usePrinter-BzuXiubT.js → usePrinter-DDIKRiOp.js} +13 -12
  26. package/dist/{vue-data-ui-B6eM6hF3.js → vue-data-ui-vwh3dolO.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-DBeWmnvH.js → vue-ui-3d-bar-DNw3RWRt.js} +371 -366
  29. package/dist/{vue-ui-accordion-B5QeV3BK.js → vue-ui-accordion-Cv747Pg6.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-rZFdUsgz.js → vue-ui-age-pyramid-B1Yun-v7.js} +200 -195
  31. package/dist/{vue-ui-annotator-CCCuslrT.js → vue-ui-annotator-B_5hOApA.js} +2 -2
  32. package/dist/{vue-ui-bullet-DhJf9mvK.js → vue-ui-bullet-C2Aj7Lcx.js} +7 -7
  33. package/dist/{vue-ui-candlestick-CGVtDKqZ.js → vue-ui-candlestick-BBYqZVUp.js} +225 -220
  34. package/dist/{vue-ui-carousel-table-DLAR3WY8.js → vue-ui-carousel-table-DPIOnp9J.js} +4 -4
  35. package/dist/{vue-ui-chestnut-BXnSxoXB.js → vue-ui-chestnut-C4B0wEFn.js} +344 -340
  36. package/dist/{vue-ui-chord-DH_MwAKX.js → vue-ui-chord-B9Zml1V7.js} +272 -266
  37. package/dist/{vue-ui-circle-pack-Cx_E1R63.js → vue-ui-circle-pack-CLn19BHH.js} +6 -6
  38. package/dist/{vue-ui-cursor-CEvH1qDS.js → vue-ui-cursor-AVEV-uv3.js} +2 -2
  39. package/dist/vue-ui-dashboard-DwNYa1I4.js +412 -0
  40. package/dist/{vue-ui-digits-PTozKs3l.js → vue-ui-digits-Dr4OHGU0.js} +2 -2
  41. package/dist/{vue-ui-donut-evolution-DD7o-CxF.js → vue-ui-donut-evolution-hJh-1Z48.js} +310 -304
  42. package/dist/{vue-ui-donut-CsEtKJJD.js → vue-ui-donut-xseR2SnT.js} +348 -343
  43. package/dist/{vue-ui-dumbbell-DfPYl3fu.js → vue-ui-dumbbell-FdTx7uAG.js} +293 -287
  44. package/dist/{vue-ui-flow-CSTTZHwg.js → vue-ui-flow-Bh6FqlC1.js} +263 -257
  45. package/dist/{vue-ui-funnel-C-NUZqIo.js → vue-ui-funnel-BlsKhHbk.js} +206 -200
  46. package/dist/{vue-ui-galaxy-BwsZnU6T.js → vue-ui-galaxy-C0B8stYi.js} +243 -238
  47. package/dist/{vue-ui-gauge-D9MUneq0.js → vue-ui-gauge-B1-UiZwV.js} +7 -7
  48. package/dist/{vue-ui-gizmo-Dnzs9wSf.js → vue-ui-gizmo-Df_SCjOI.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CYaQIhy8.js → vue-ui-heatmap-NfRSd6fU.js} +405 -401
  50. package/dist/{vue-ui-history-plot-DMTFzl-_.js → vue-ui-history-plot-Ce-DJ8xC.js} +305 -299
  51. package/dist/{vue-ui-kpi-CkPotdff.js → vue-ui-kpi-CH3rWyiG.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CCE-bDOJ.js → vue-ui-mini-loader-D9EVnpxk.js} +2 -2
  53. package/dist/{vue-ui-molecule-DaN5lroq.js → vue-ui-molecule-C973vfYh.js} +188 -183
  54. package/dist/{vue-ui-mood-radar-tM0mmZh8.js → vue-ui-mood-radar-DdLxBhlO.js} +197 -192
  55. package/dist/{vue-ui-nested-donuts-RB4r6beI.js → vue-ui-nested-donuts-tARXMYzx.js} +326 -320
  56. package/dist/{vue-ui-onion-CxDozHg3.js → vue-ui-onion-BC9czZGG.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-CK9nNExU.js → vue-ui-parallel-coordinate-plot-CxDIkZKr.js} +401 -395
  58. package/dist/{vue-ui-quadrant-C7tLJYn7.js → vue-ui-quadrant-Bpm5ZoTp.js} +339 -334
  59. package/dist/{vue-ui-quick-chart-MUBAkrHb.js → vue-ui-quick-chart-Bkc_JBCw.js} +6 -6
  60. package/dist/{vue-ui-radar-Br4K80I9.js → vue-ui-radar-DVJQYNeL.js} +248 -243
  61. package/dist/{vue-ui-rating-NtvT9r_M.js → vue-ui-rating-DITnRSiS.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CPQjAy1g.js → vue-ui-relation-circle-D_OTYUmS.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-C2M_Cjlh.js → vue-ui-ridgeline-Gc1c4LXq.js} +267 -263
  64. package/dist/{vue-ui-rings-DEru-cWN.js → vue-ui-rings-CUT1N_kK.js} +229 -224
  65. package/dist/{vue-ui-scatter-CJKkiKle.js → vue-ui-scatter-DwnZHy0V.js} +359 -354
  66. package/dist/{vue-ui-skeleton--twnjS2t.js → vue-ui-skeleton-CeyaKpZd.js} +3 -3
  67. package/dist/{vue-ui-smiley-CNccdPZ7.js → vue-ui-smiley-B9yNexWr.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-9BFkkC0u.js → vue-ui-spark-trend-DTYVcrHV.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-RYAThoA4.js → vue-ui-sparkbar-BzxynYoW.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-DkPlmgMF.js → vue-ui-sparkgauge-DoznCX5h.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-6EkCyYRF.js → vue-ui-sparkhistogram-DoZpd0H2.js} +4 -4
  72. package/dist/{vue-ui-sparkline-Bl3nj8zd.js → vue-ui-sparkline-ZKit-hgG.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-B88lA7iy.js → vue-ui-sparkstackbar-DjoqH_Xs.js} +3 -3
  74. package/dist/{vue-ui-stackbar-Csj7NhT6.js → vue-ui-stackbar-J-gxI4Xn.js} +310 -304
  75. package/dist/{vue-ui-strip-plot-yY9NsUUI.js → vue-ui-strip-plot-CO7NVeFi.js} +246 -240
  76. package/dist/{vue-ui-table-heatmap-BWU7CAWP.js → vue-ui-table-heatmap-BEFdai_O.js} +5 -5
  77. package/dist/{vue-ui-table-Dg6U31ex.js → vue-ui-table-rmbBw_0d.js} +3 -3
  78. package/dist/{vue-ui-table-sparkline-DV4Y9aRL.js → vue-ui-table-sparkline-CjgaQXbc.js} +4 -4
  79. package/dist/{vue-ui-thermometer-C3fKamV-.js → vue-ui-thermometer--aqaJwFo.js} +7 -7
  80. package/dist/{vue-ui-timer-6VAK9XyF.js → vue-ui-timer-qFNHDcU_.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-BB-KAkF7.js → vue-ui-tiremarks-DA8fzQHo.js} +6 -6
  82. package/dist/{vue-ui-treemap-GrXkD_3Z.js → vue-ui-treemap-DGC9zxon.js} +262 -256
  83. package/dist/{vue-ui-vertical-bar-Mmz6u4aX.js → vue-ui-vertical-bar-DOCeCCqz.js} +310 -306
  84. package/dist/{vue-ui-waffle-DzPVRUOA.js → vue-ui-waffle-DD9jtkcQ.js} +257 -252
  85. package/dist/{vue-ui-wheel-idRCvS5t.js → vue-ui-wheel-87VStrfJ.js} +6 -6
  86. package/dist/vue-ui-word-cloud-CCMfa9H1.js +817 -0
  87. package/dist/{vue-ui-world-D6s5Eph8.js → vue-ui-world-Cm3Hn1-2.js} +257 -252
  88. package/dist/{vue-ui-xy-BKTGSvfU.js → vue-ui-xy-C2SnbN6w.js} +1453 -1447
  89. package/dist/{vue-ui-xy-canvas-BOQyxVRl.js → vue-ui-xy-canvas-WxSJqoiF.js} +235 -229
  90. package/package.json +1 -1
  91. package/dist/pdf-Cjsn5GEE.js +0 -61
  92. package/dist/vue-ui-dashboard-CvduVgEy.js +0 -325
  93. package/dist/vue-ui-word-cloud-B2641uNP.js +0 -811
@@ -1,18 +1,18 @@
1
- import { defineAsyncComponent as H, computed as A, ref as _, toRefs as xt, watch as be, onMounted as wt, createElementBlock as c, openBlock as u, unref as n, normalizeStyle as z, normalizeClass as Xe, createBlock as Q, createCommentVNode as p, createSlots as Ze, withCtx as S, renderSlot as T, normalizeProps as de, guardReactiveProps as ce, createVNode as qe, createElementVNode as i, Fragment as C, renderList as M, toDisplayString as I, withKeys as Ye, withModifiers as Ke, mergeProps as xe, resolveDynamicComponent as Ct, createTextVNode as Je, nextTick as Qe } from "vue";
2
- import { u as Mt, c as et, t as Ft, a as Pt, p as ve, b as Tt, d as Dt, e as At, o as St, f as he, g as we, l as R, m as tt, h as Bt, i as B, X as Ot, s as $, j as X, k as fe, n as lt, q as pe, r as V, v as jt, w as zt } from "./index-BKQqb9lF.js";
3
- import { t as It, u as Nt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Lt, B as Wt } from "./BaseScanner-BgWxam9d.js";
5
- import { u as Et } from "./usePrinter-BzuXiubT.js";
6
- import { u as ot } from "./useNestedProp-aBOhgs4U.js";
1
+ import { defineAsyncComponent as H, computed as A, ref as _, toRefs as wt, watch as xe, onMounted as Ct, createElementBlock as c, openBlock as u, unref as n, normalizeStyle as j, normalizeClass as qe, createBlock as Q, createCommentVNode as p, createSlots as Ye, withCtx as S, renderSlot as P, normalizeProps as de, guardReactiveProps as ce, createVNode as Ke, createElementVNode as i, Fragment as C, renderList as M, toDisplayString as z, withKeys as Je, withModifiers as Qe, mergeProps as we, resolveDynamicComponent as Mt, createTextVNode as et, nextTick as tt } from "vue";
2
+ import { u as Ft, c as lt, t as Tt, a as Pt, p as ve, b as Dt, d as At, e as St, o as Ot, f as he, g as Ce, l as R, m as ot, h as Bt, i as O, X as It, s as $, j as X, k as fe, n as st, q as pe, r as G, v as jt, w as zt } from "./index-BFqW8WA0.js";
3
+ import { t as Nt, u as Lt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Wt, B as Et } from "./BaseScanner-BgWxam9d.js";
5
+ import { u as Rt } from "./usePrinter-DDIKRiOp.js";
6
+ import { u as at } from "./useNestedProp-BSZCnuGl.js";
7
7
  import { u as Gt } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as Rt } from "./useChartAccessibility-9icAAmYg.js";
9
- import Vt from "./img-gBDz7xQQ.js";
10
- import Ut from "./Title-Dz-j6ERs.js";
11
- import { _ as Ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["id"], Kt = ["stop-color"], Jt = ["stop-color"], Qt = ["id"], el = ["stop-color"], tl = ["stop-color"], ll = ["id"], ol = ["stop-color"], sl = ["stop-color"], al = ["id"], nl = ["stop-color"], rl = ["stop-color"], ul = ["id"], il = ["stop-color"], dl = ["stop-color"], cl = ["stop-color"], vl = ["stop-color"], hl = ["stop-color"], fl = { key: 1 }, pl = ["id"], yl = ["stop-color"], kl = ["stop-color"], gl = ["id"], $l = ["stop-color"], _l = ["stop-color"], ml = ["id"], bl = ["stop-color"], xl = ["stop-color"], wl = ["id"], Cl = ["x", "y", "font-size", "font-weight", "fill"], Ml = ["x", "y"], Fl = ["cx", "cy", "stroke", "opacity"], Pl = ["d", "stroke"], Tl = ["d", "stroke"], Dl = { key: 4 }, Al = { key: 0 }, Sl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Bl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ol = ["stroke-dasharray", "d", "stroke", "stroke-width"], jl = ["stroke-dasharray", "d", "stroke", "stroke-width"], zl = { key: 1 }, Il = ["d", "stroke", "stroke-width", "fill"], Nl = ["d", "stroke", "stroke-width", "fill"], Ll = ["d", "stroke", "stroke-width", "fill"], Wl = { key: 2 }, El = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], Gl = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], Rl = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], Vl = ["d", "onMouseenter", "onClick", "onMouseout"], Ul = ["d"], Hl = ["d", "stroke"], Xl = ["onClick"], Zl = ["stroke", "d"], ql = ["cx", "cy", "fill", "stroke"], Yl = ["x", "y", "width", "height"], Kl = ["x", "y", "width", "height"], Jl = { key: 3 }, Ql = ["d", "stroke"], eo = ["d", "fill", "stroke"], to = { key: 0 }, lo = ["text-anchor", "x", "y", "fill", "font-size"], oo = ["text-anchor", "x", "y", "fill", "font-size"], so = { key: 4 }, ao = ["d", "fill", "stroke"], no = { key: 5 }, ro = { key: 0 }, uo = ["stroke-dasharray", "d", "stroke", "stroke-width"], io = ["stroke-dasharray", "d", "stroke", "stroke-width"], co = ["stroke-dasharray", "d", "stroke", "stroke-width"], vo = ["stroke-dasharray", "d", "stroke", "stroke-width"], ho = ["d", "stroke", "stroke-width", "fill"], fo = ["d", "stroke", "stroke-width", "fill"], po = ["d"], yo = { key: 1 }, ko = ["onClick"], go = ["id"], $o = ["stop-color"], _o = ["stop-color"], mo = ["id"], bo = ["stop-color"], xo = ["stop-color"], wo = ["stop-color"], Co = ["stop-color"], Mo = ["stop-color"], Fo = ["onMouseenter", "onClick", "onMouseout", "d", "fill"], Po = ["onMouseenter", "onClick", "onMouseout", "d"], To = ["onMouseenter", "onClick", "onMouseout", "d", "fill"], Do = ["onClick"], Ao = ["stroke", "d"], So = ["cx", "cy", "fill", "stroke"], Bo = ["x", "y", "width", "height"], Oo = ["x", "y", "width", "height"], jo = { key: 3 }, zo = ["d", "stroke"], Io = ["d", "fill", "stroke"], No = { key: 0 }, Lo = ["text-anchor", "x", "y", "fill", "font-size"], Wo = ["text-anchor", "x", "y", "fill", "font-size"], Eo = { key: 4 }, Go = ["d", "fill", "stroke"], Ro = {
8
+ import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
9
+ import Ut from "./img-DvuphHeJ.js";
10
+ import Ht from "./Title-AGmmsSi_.js";
11
+ import { _ as Xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
+ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["id"], Jt = ["stop-color"], Qt = ["stop-color"], el = ["id"], tl = ["stop-color"], ll = ["stop-color"], ol = ["id"], sl = ["stop-color"], al = ["stop-color"], nl = ["id"], rl = ["stop-color"], ul = ["stop-color"], il = ["id"], dl = ["stop-color"], cl = ["stop-color"], vl = ["stop-color"], hl = ["stop-color"], fl = ["stop-color"], pl = { key: 1 }, yl = ["id"], kl = ["stop-color"], gl = ["stop-color"], $l = ["id"], _l = ["stop-color"], ml = ["stop-color"], bl = ["id"], xl = ["stop-color"], wl = ["stop-color"], Cl = ["id"], Ml = ["x", "y", "font-size", "font-weight", "fill"], Fl = ["x", "y"], Tl = ["cx", "cy", "stroke", "opacity"], Pl = ["d", "stroke"], Dl = ["d", "stroke"], Al = { key: 4 }, Sl = { key: 0 }, Ol = ["stroke-dasharray", "d", "stroke", "stroke-width"], Bl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Il = ["stroke-dasharray", "d", "stroke", "stroke-width"], jl = ["stroke-dasharray", "d", "stroke", "stroke-width"], zl = { key: 1 }, Nl = ["d", "stroke", "stroke-width", "fill"], Ll = ["d", "stroke", "stroke-width", "fill"], Wl = ["d", "stroke", "stroke-width", "fill"], El = { key: 2 }, Rl = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], Gl = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], Vl = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], Ul = ["d", "onMouseenter", "onClick", "onMouseout"], Hl = ["d"], Xl = ["d", "stroke"], Zl = ["onClick"], ql = ["stroke", "d"], Yl = ["cx", "cy", "fill", "stroke"], Kl = ["x", "y", "width", "height"], Jl = ["x", "y", "width", "height"], Ql = { key: 3 }, eo = ["d", "stroke"], to = ["d", "fill", "stroke"], lo = { key: 0 }, oo = ["text-anchor", "x", "y", "fill", "font-size"], so = ["text-anchor", "x", "y", "fill", "font-size"], ao = { key: 4 }, no = ["d", "fill", "stroke"], ro = { key: 5 }, uo = { key: 0 }, io = ["stroke-dasharray", "d", "stroke", "stroke-width"], co = ["stroke-dasharray", "d", "stroke", "stroke-width"], vo = ["stroke-dasharray", "d", "stroke", "stroke-width"], ho = ["stroke-dasharray", "d", "stroke", "stroke-width"], fo = ["d", "stroke", "stroke-width", "fill"], po = ["d", "stroke", "stroke-width", "fill"], yo = ["d"], ko = { key: 1 }, go = ["onClick"], $o = ["id"], _o = ["stop-color"], mo = ["stop-color"], bo = ["id"], xo = ["stop-color"], wo = ["stop-color"], Co = ["stop-color"], Mo = ["stop-color"], Fo = ["stop-color"], To = ["onMouseenter", "onClick", "onMouseout", "d", "fill"], Po = ["onMouseenter", "onClick", "onMouseout", "d"], Do = ["onMouseenter", "onClick", "onMouseout", "d", "fill"], Ao = ["onClick"], So = ["stroke", "d"], Oo = ["cx", "cy", "fill", "stroke"], Bo = ["x", "y", "width", "height"], Io = ["x", "y", "width", "height"], jo = { key: 3 }, zo = ["d", "stroke"], No = ["d", "fill", "stroke"], Lo = { key: 0 }, Wo = ["text-anchor", "x", "y", "fill", "font-size"], Eo = ["text-anchor", "x", "y", "fill", "font-size"], Ro = { key: 4 }, Go = ["d", "fill", "stroke"], Vo = {
13
13
  key: 3,
14
14
  class: "vue-data-ui-watermark"
15
- }, Vo = ["innerHTML"], Uo = {
15
+ }, Uo = ["innerHTML"], Ho = {
16
16
  __name: "vue-ui-3d-bar",
17
17
  props: {
18
18
  config: {
@@ -29,14 +29,14 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
29
29
  }
30
30
  },
31
31
  emits: ["selectDatapoint"],
32
- setup(st, { expose: at, emit: nt }) {
33
- const rt = H(() => import("./BaseIcon-DLesaZpW.js")), ut = H(() => import("./vue-ui-accordion-B5QeV3BK.js")), it = H(() => import("./DataTable-BAf4Obr9.js")), dt = H(() => import("./PenAndPaper-B6OvfyHH.js")), ct = H(() => import("./UserOptions-CsDlFB0L.js")), vt = H(() => import("./PackageVersion-Cv_ypT0N.js")), ht = H(() => import("./BaseDraggableDialog-B2BQC0-h.js")), { vue_ui_3d_bar: ft } = Mt(), D = st, se = nt, Ce = A(() => !!D.dataset && Object.keys(D.dataset).length), F = _(et()), pt = _(null), N = _(null), O = _(!1), Me = _(0), Fe = _(0), Pe = _(null), ee = _(null), ae = _(null), Te = _(null), te = _(!1), le = _(null), e = _(ke()), { loading: Z, FINAL_DATASET: j } = Lt({
34
- ...xt(D),
32
+ setup(nt, { expose: rt, emit: ut }) {
33
+ const it = H(() => import("./BaseIcon-BLg8FaQ2.js")), dt = H(() => import("./vue-ui-accordion-Cv747Pg6.js")), ct = H(() => import("./DataTable-BRN1-1ob.js")), vt = H(() => import("./PenAndPaper-TgGWddgD.js")), ht = H(() => import("./UserOptions-DEFwuQIo.js")), ft = H(() => import("./PackageVersion-Jz9FlNXl.js")), pt = H(() => import("./BaseDraggableDialog-Dkpr-qUQ.js")), { vue_ui_3d_bar: yt } = Ft(), D = nt, se = ut, Me = A(() => !!D.dataset && Object.keys(D.dataset).length), F = _(lt()), N = _(null), B = _(!1), Fe = _(0), Te = _(0), Pe = _(null), ee = _(null), ae = _(null), De = _(null), te = _(!1), le = _(null), ye = _(null), e = _(ge()), { loading: Z, FINAL_DATASET: I } = Wt({
34
+ ...wt(D),
35
35
  FINAL_CONFIG: e,
36
- prepareConfig: ke,
36
+ prepareConfig: ge,
37
37
  callback: () => {
38
38
  Promise.resolve().then(async () => {
39
- await Qe(), Ne();
39
+ await tt(), Le();
40
40
  });
41
41
  },
42
42
  skeletonDataset: {
@@ -67,7 +67,7 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
67
67
  }
68
68
  ]
69
69
  },
70
- skeletonConfig: Ft({
70
+ skeletonConfig: Tt({
71
71
  defaultConfig: e.value,
72
72
  userConfig: {
73
73
  customPalette: ["#808080", "#ADADAD", "#DBDBDB"],
@@ -88,39 +88,39 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
88
88
  }
89
89
  }
90
90
  })
91
- }), { userOptionsVisible: ye, setUserOptionsVisibility: De, keepUserOptionState: Ae } = Gt({ config: e.value }), { svgRef: Se } = Rt({ config: e.value.style.chart.title });
92
- function ke() {
93
- const a = ot({
91
+ }), { userOptionsVisible: ke, setUserOptionsVisibility: Ae, keepUserOptionState: Se } = Gt({ config: e.value }), { svgRef: Oe } = Vt({ config: e.value.style.chart.title });
92
+ function ge() {
93
+ const a = at({
94
94
  userConfig: D.config,
95
- defaultConfig: ft
95
+ defaultConfig: yt
96
96
  });
97
97
  return a.theme ? {
98
- ...ot({
99
- userConfig: Tt.vue_ui_3d_bar[a.theme] || D.config,
98
+ ...at({
99
+ userConfig: Dt.vue_ui_3d_bar[a.theme] || D.config,
100
100
  defaultConfig: a
101
101
  }),
102
102
  customPalette: Pt[a.theme] || ve
103
103
  } : a;
104
104
  }
105
- be(() => D.config, (a) => {
106
- Z.value || (e.value = ke()), ye.value = !e.value.userOptions.showOnChartHover, Le(), Me.value += 1, Fe.value += 1, L.value.showTable = e.value.table.show;
105
+ xe(() => D.config, (a) => {
106
+ Z.value || (e.value = ge()), ke.value = !e.value.userOptions.showOnChartHover, We(), Fe.value += 1, Te.value += 1, V.value.showTable = e.value.table.show;
107
107
  }, { deep: !0 });
108
- const { isPrinting: Be, isImaging: Oe, generatePdf: je, generateImage: ze } = Et({
108
+ const { isPrinting: Be, isImaging: Ie, generatePdf: je, generateImage: ze } = Rt({
109
109
  elementId: `3d_bar_${F.value}`,
110
110
  fileName: e.value.style.chart.title.text || "vue-ui-3d-bar",
111
111
  options: e.value.userOptions.print
112
- }), yt = A(() => Dt(e.value.customPalette)), L = _({
112
+ }), kt = A(() => At(e.value.customPalette)), V = _({
113
113
  showTable: e.value.table.show
114
114
  });
115
- be(e, () => {
116
- L.value = {
115
+ xe(e, () => {
116
+ V.value = {
117
117
  showTable: e.value.table.show
118
118
  };
119
119
  }, { immediate: !0 });
120
- const x = A(() => j.value.series && j.value.series.length), ge = _(e.value.style.chart.box.dimensions.width * (x.value ? 2 : 1)), Ie = _(e.value.style.chart.box.dimensions.height), s = A(() => ({
121
- height: Ie.value,
122
- width: ge.value,
123
- absoluteWidth: ge.value,
120
+ const x = A(() => I.value.series && I.value.series.length), $e = _(e.value.style.chart.box.dimensions.width * (x.value ? 2 : 1)), Ne = _(e.value.style.chart.box.dimensions.height), o = A(() => ({
121
+ height: Ne.value,
122
+ width: $e.value,
123
+ absoluteWidth: $e.value,
124
124
  top: e.value.style.chart.box.dimensions.top,
125
125
  bottom: e.value.style.chart.box.dimensions.bottom,
126
126
  left: e.value.style.chart.box.dimensions.left,
@@ -128,54 +128,54 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
128
128
  perspective: e.value.style.chart.box.dimensions.perspective
129
129
  })), w = A(() => {
130
130
  if (x.value) {
131
- const a = j.value.series.map((l) => l.value || 0).reduce((l, d) => l + d, 0), o = j.value.series.map((l, d) => ({
131
+ const a = I.value.series.map((l) => l.value || 0).reduce((l, d) => l + d, 0), s = I.value.series.map((l, d) => ({
132
132
  ...l,
133
133
  seriesIndex: d,
134
- id: et(),
134
+ id: lt(),
135
135
  proportion: (l.value || 0) / a,
136
- color: At(l.color) || yt.value[d] || ve[d] || ve[d % ve.length],
136
+ color: St(l.color) || kt.value[d] || ve[d] || ve[d % ve.length],
137
137
  breakdown: l.breakdown ? l.breakdown.sort((r, k) => k.value - r.value) : null
138
138
  })).sort((l, d) => d.value - l.value), t = [];
139
139
  let v = 0;
140
- for (let l = 0; l < o.length; l += 1)
140
+ for (let l = 0; l < s.length; l += 1)
141
141
  t.push({
142
- ...o[l],
143
- fill: kt(v, o[l].proportion, o[l].breakdown, o[l].color)
144
- }), v += o[l].proportion;
142
+ ...s[l],
143
+ fill: gt(v, s[l].proportion, s[l].breakdown, s[l].color)
144
+ }), v += s[l].proportion;
145
145
  return t;
146
146
  }
147
147
  return null;
148
- }), W = A(() => {
149
- const a = s.value.width / 2;
148
+ }), L = A(() => {
149
+ const a = o.value.width / 2;
150
150
  return {
151
- right: `M${a},${s.value.top} ${s.value.width - s.value.right}, ${s.value.top + s.value.perspective} ${s.value.width - s.value.right},${s.value.height - s.value.bottom - s.value.perspective} ${a},${s.value.height - s.value.bottom}`,
152
- left: `M${a},${s.value.top} ${s.value.left},${s.value.top + s.value.perspective} ${s.value.left},${s.value.height - s.value.bottom - s.value.perspective} ${a},${s.value.height - s.value.bottom}`,
153
- side: `M${a},${s.value.height - s.value.bottom} ${a},${s.value.top + s.value.perspective * 2}`,
154
- topSides: `M${s.value.left},${s.value.top + s.value.perspective} ${a},${s.value.top + s.value.perspective * 2} ${s.value.width - s.value.right},${s.value.top + s.value.perspective}`,
155
- tubeTop: `M${s.value.left},${s.value.top + s.value.perspective} C ${s.value.left},${s.value.top - s.value.perspective / 3} ${s.value.width - s.value.right},${s.value.top - s.value.perspective / 3} ${s.value.width - s.value.right},${s.value.top + s.value.perspective} C ${s.value.width - s.value.right},${s.value.top + s.value.perspective * 2.3} ${s.value.left},${s.value.top + s.value.perspective * 2.3} ${s.value.left},${s.value.top + s.value.perspective}`,
156
- tubeLeft: `M${s.value.left},${s.value.top + s.value.perspective} ${s.value.left},${s.value.height - s.value.bottom - s.value.perspective}`,
157
- tubeRight: `M${s.value.width - s.value.right},${s.value.top + s.value.perspective} ${s.value.width - s.value.right},${s.value.height - s.value.bottom - s.value.perspective}`,
158
- tubeBottom: `M${s.value.width - s.value.right},${s.value.height - s.value.bottom - s.value.perspective} C ${s.value.width - s.value.right},${s.value.height} ${s.value.left},${s.value.height} ${s.value.left},${s.value.height - s.value.bottom - s.value.perspective}`
151
+ right: `M${a},${o.value.top} ${o.value.width - o.value.right}, ${o.value.top + o.value.perspective} ${o.value.width - o.value.right},${o.value.height - o.value.bottom - o.value.perspective} ${a},${o.value.height - o.value.bottom}`,
152
+ left: `M${a},${o.value.top} ${o.value.left},${o.value.top + o.value.perspective} ${o.value.left},${o.value.height - o.value.bottom - o.value.perspective} ${a},${o.value.height - o.value.bottom}`,
153
+ side: `M${a},${o.value.height - o.value.bottom} ${a},${o.value.top + o.value.perspective * 2}`,
154
+ topSides: `M${o.value.left},${o.value.top + o.value.perspective} ${a},${o.value.top + o.value.perspective * 2} ${o.value.width - o.value.right},${o.value.top + o.value.perspective}`,
155
+ tubeTop: `M${o.value.left},${o.value.top + o.value.perspective} C ${o.value.left},${o.value.top - o.value.perspective / 3} ${o.value.width - o.value.right},${o.value.top - o.value.perspective / 3} ${o.value.width - o.value.right},${o.value.top + o.value.perspective} C ${o.value.width - o.value.right},${o.value.top + o.value.perspective * 2.3} ${o.value.left},${o.value.top + o.value.perspective * 2.3} ${o.value.left},${o.value.top + o.value.perspective}`,
156
+ tubeLeft: `M${o.value.left},${o.value.top + o.value.perspective} ${o.value.left},${o.value.height - o.value.bottom - o.value.perspective}`,
157
+ tubeRight: `M${o.value.width - o.value.right},${o.value.top + o.value.perspective} ${o.value.width - o.value.right},${o.value.height - o.value.bottom - o.value.perspective}`,
158
+ tubeBottom: `M${o.value.width - o.value.right},${o.value.height - o.value.bottom - o.value.perspective} C ${o.value.width - o.value.right},${o.value.height} ${o.value.left},${o.value.height} ${o.value.left},${o.value.height - o.value.bottom - o.value.perspective}`
159
159
  };
160
- }), q = _(e.value.style.chart.animation.use ? 0 : j.value.percentage);
161
- function Ne() {
162
- let a = 0, o = e.value.style.chart.animation.speed, t = 5e-3 * e.value.style.chart.animation.acceleration;
160
+ }), q = _(e.value.style.chart.animation.use ? 0 : I.value.percentage);
161
+ function Le() {
162
+ let a = 0, s = e.value.style.chart.animation.speed, t = 5e-3 * e.value.style.chart.animation.acceleration;
163
163
  function v() {
164
- q.value += o + a, a += t, q.value < j.value.percentage ? requestAnimationFrame(v) : q.value = j.value.percentage;
164
+ q.value += s + a, a += t, q.value < I.value.percentage ? requestAnimationFrame(v) : q.value = I.value.percentage;
165
165
  }
166
166
  e.value.style.chart.animation.use && (q.value = 0, v());
167
167
  }
168
- wt(() => {
169
- Le(), Ne();
168
+ Ct(() => {
169
+ We(), Le();
170
170
  });
171
171
  const ne = A(() => !!e.value.debug);
172
- function Le() {
173
- if (St(D.dataset) ? he({
172
+ function We() {
173
+ if (Ot(D.dataset) ? he({
174
174
  componentName: "VueUi3dBar",
175
175
  type: "dataset",
176
176
  debug: ne.value
177
- }) : D.dataset.series ? D.dataset.series.forEach((a, o) => {
178
- we({
177
+ }) : D.dataset.series ? D.dataset.series.forEach((a, s) => {
178
+ Ce({
179
179
  datasetObject: a,
180
180
  requiredAttributes: ["name", "value"]
181
181
  }).forEach((t) => {
@@ -183,11 +183,11 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
183
183
  componentName: "VueUi3dBar",
184
184
  type: "datasetSerieAttribute",
185
185
  property: t,
186
- index: o,
186
+ index: s,
187
187
  debug: ne.value
188
188
  });
189
189
  }), a.breakdown && a.breakdown.forEach((t, v) => {
190
- we({
190
+ Ce({
191
191
  datasetObject: t,
192
192
  requiredAttributes: ["name", "value"]
193
193
  }).forEach((l) => {
@@ -195,12 +195,12 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
195
195
  componentName: "VueUi3dBar",
196
196
  type: "datasetSerieAttribute",
197
197
  property: l,
198
- index: `${o} - ${v}`,
198
+ index: `${s} - ${v}`,
199
199
  debug: ne.value
200
200
  });
201
201
  });
202
202
  });
203
- }) : we({
203
+ }) : Ce({
204
204
  datasetObject: D.dataset,
205
205
  requiredAttributes: ["percentage"]
206
206
  }).forEach((a) => {
@@ -211,31 +211,31 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
211
211
  debug: ne.value
212
212
  });
213
213
  }), e.value.responsive) {
214
- const a = It(() => {
215
- const { width: o, height: t } = Nt({
214
+ const a = Nt(() => {
215
+ const { width: s, height: t } = Lt({
216
216
  chart: N.value,
217
217
  title: e.value.style.chart.title.text ? Pe.value : null,
218
- source: Te.value
218
+ source: De.value
219
219
  });
220
220
  requestAnimationFrame(() => {
221
- Ie.value = t - 12, ge.value = o;
221
+ Ne.value = t - 12, $e.value = s;
222
222
  });
223
223
  });
224
224
  ee.value && (ae.value && ee.value.unobserve(ae.value), ee.value.disconnect()), ee.value = new ResizeObserver(a), ae.value = N.value.parentNode, ee.value.observe(ae.value);
225
225
  }
226
226
  }
227
- const Y = A(() => s.value.width / 4);
228
- function kt(a, o, t, v) {
229
- const l = s.value.height - s.value.bottom - s.value.top - s.value.perspective * 2, { width: d, height: r, bottom: k, right: G, left: g, perspective: y } = s.value, f = x.value ? d / 4 : d / 2, b = f * 2 + g, h = k + l * a, me = r - h - y - l * o / 2, _t = me > s.value.height / 2 ? "top" : "bottom", Re = r * 0.25, mt = !!t;
230
- let Ve = null, Ue = null;
231
- return mt && (t = t.map((He, bt) => ({
232
- ...He,
233
- value: He.value || 0,
234
- color: R(v, bt / t.length)
235
- })), Ve = tt(
227
+ const Y = A(() => o.value.width / 4);
228
+ function gt(a, s, t, v) {
229
+ const l = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: d, height: r, bottom: k, right: E, left: g, perspective: y } = o.value, f = x.value ? d / 4 : d / 2, b = f * 2 + g, h = k + l * a, be = r - h - y - l * s / 2, mt = be > o.value.height / 2 ? "top" : "bottom", Ue = r * 0.25, bt = !!t;
230
+ let He = null, Xe = null;
231
+ return bt && (t = t.map((Ze, xt) => ({
232
+ ...Ze,
233
+ value: Ze.value || 0,
234
+ color: R(v, xt / t.length)
235
+ })), He = ot(
236
236
  { series: t },
237
237
  d / 2 + d / 5,
238
- _t === "top" ? me - Re : me + Re,
238
+ mt === "top" ? be - Ue : be + Ue,
239
239
  d / 10,
240
240
  d / 10,
241
241
  1.99999,
@@ -244,10 +244,10 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
244
244
  360,
245
245
  105.25,
246
246
  d / 20
247
- ), Ue = tt(
247
+ ), Xe = ot(
248
248
  { series: t },
249
249
  d - b + d / 14,
250
- r - h - y - l * o / 2,
250
+ r - h - y - l * s / 2,
251
251
  d / 40,
252
252
  d / 40,
253
253
  1.99999,
@@ -257,32 +257,32 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
257
257
  105.25,
258
258
  d / 40
259
259
  )), {
260
- donut: Ve,
261
- miniDonut: Ue,
260
+ donut: He,
261
+ miniDonut: Xe,
262
262
  donutR: d / 20,
263
263
  CENTER_X: f,
264
264
  sidePointer: {
265
265
  x: d - b,
266
266
  x2: d - b + d / 14,
267
267
  xText: d - b + d / 9,
268
- y: r - h - y - l * o / 2,
269
- topY: r - h - y - l * o,
270
- height: l * o
268
+ y: r - h - y - l * s / 2,
269
+ topY: r - h - y - l * s,
270
+ height: l * s
271
271
  },
272
272
  apexBottom: { y: r - h, x: f },
273
- apexTop: { y: r - h - l * o, x: f },
274
- right: `M${f},${r - h} ${f},${r - h - l * o} ${d - b},${r - h - y - l * o} ${d - b},${r - h - y}Z`,
275
- left: `M${f},${r - h} ${f},${r - h - l * o} ${g}, ${r - h - y - l * o} ${g},${r - h - y}Z`,
276
- liningTop: `M${g},${r - h - y - l * o} ${f},${r - h - l * o} ${d - b},${r - h - y - l * o}`,
277
- liningTopShade: `M${g},${r - h - y - l * o - 0.5} ${f},${r - h - l * o - 0.5} ${d - b},${r - h - y - l * o - 0.5}`,
278
- top: `M${f},${r - h - l * o} ${g},${r - h - y - l * o} ${f},${r - h - y * 2 - l * o} ${d - b},${r - h - y - l * o} Z`,
279
- tubeTop: `M${g},${r - h - l * o - y} C ${g},${r - h - l * o - y * 2.5} ${d - b},${r - h - l * o - y * 2.5} ${d - b},${r - h - l * o - y} C ${d - b},${r - h - l * o + y / 2} ${g},${r - h - l * o + y / 2} ${g},${r - h - l * o - y}`,
273
+ apexTop: { y: r - h - l * s, x: f },
274
+ right: `M${f},${r - h} ${f},${r - h - l * s} ${d - b},${r - h - y - l * s} ${d - b},${r - h - y}Z`,
275
+ left: `M${f},${r - h} ${f},${r - h - l * s} ${g}, ${r - h - y - l * s} ${g},${r - h - y}Z`,
276
+ liningTop: `M${g},${r - h - y - l * s} ${f},${r - h - l * s} ${d - b},${r - h - y - l * s}`,
277
+ liningTopShade: `M${g},${r - h - y - l * s - 0.5} ${f},${r - h - l * s - 0.5} ${d - b},${r - h - y - l * s - 0.5}`,
278
+ top: `M${f},${r - h - l * s} ${g},${r - h - y - l * s} ${f},${r - h - y * 2 - l * s} ${d - b},${r - h - y - l * s} Z`,
279
+ tubeTop: `M${g},${r - h - l * s - y} C ${g},${r - h - l * s - y * 2.5} ${d - b},${r - h - l * s - y * 2.5} ${d - b},${r - h - l * s - y} C ${d - b},${r - h - l * s + y / 2} ${g},${r - h - l * s + y / 2} ${g},${r - h - l * s - y}`,
280
280
  bottomTubeTop: `M ${d - b - 0.5},${r - h - y} C ${d - b - 0.5},${r - h + y / 2} ${g},${r - h + y / 2} ${g + 0.5},${r - h - y}`,
281
281
  tubeBody: `M
282
- ${g},${r - h - l * o - y}
283
- C ${g},${r - h - l * o + y / 2}
284
- ${d - b},${r - h - l * o + y / 2}
285
- ${d - b},${r - h - l * o - y}
282
+ ${g},${r - h - l * s - y}
283
+ C ${g},${r - h - l * s + y / 2}
284
+ ${d - b},${r - h - l * s + y / 2}
285
+ ${d - b},${r - h - l * s - y}
286
286
  L${d - b},${r - h - y}
287
287
  C
288
288
  ${d - b},${r - h + y / 2}
@@ -291,17 +291,17 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
291
291
  };
292
292
  }
293
293
  const K = A(() => {
294
- const a = Bt(q.value / 100), o = s.value.height - s.value.bottom - s.value.top - s.value.perspective * 2, { width: t, height: v, bottom: l, right: d, left: r, perspective: k } = s.value, G = x.value ? t / 4 : t / 2, g = x.value ? G * 2 + r : d, f = l + o * 0;
294
+ const a = Bt(q.value / 100), s = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: t, height: v, bottom: l, right: d, left: r, perspective: k } = o.value, E = x.value ? t / 4 : t / 2, g = x.value ? E * 2 + r : d, f = l + s * 0;
295
295
  return {
296
- right: `M${G},${v - f} ${G},${v - f - o * a} ${t - g},${v - f - k - o * a} ${t - g},${v - f - k}Z`,
297
- left: `M${G},${v - f} ${G},${v - f - o * a} ${r}, ${v - f - k - o * a} ${r},${v - f - k}Z`,
298
- top: `M${G},${v - f - o * a} ${r},${v - f - k - o * a} ${G},${v - f - k * 2 - o * a} ${t - g},${v - f - k - o * a} Z`,
299
- tubeTop: `M${r},${v - f - o * a - k} C ${r},${v - f - o * a - k * 2.5} ${t - g},${v - f - o * a - k * 2.5} ${t - g},${v - f - o * a - k} C ${t - g},${v - f - o * a + k / 2} ${r},${v - f - o * a + k / 2} ${r},${v - f - o * a - k}`,
296
+ right: `M${E},${v - f} ${E},${v - f - s * a} ${t - g},${v - f - k - s * a} ${t - g},${v - f - k}Z`,
297
+ left: `M${E},${v - f} ${E},${v - f - s * a} ${r}, ${v - f - k - s * a} ${r},${v - f - k}Z`,
298
+ top: `M${E},${v - f - s * a} ${r},${v - f - k - s * a} ${E},${v - f - k * 2 - s * a} ${t - g},${v - f - k - s * a} Z`,
299
+ tubeTop: `M${r},${v - f - s * a - k} C ${r},${v - f - s * a - k * 2.5} ${t - g},${v - f - s * a - k * 2.5} ${t - g},${v - f - s * a - k} C ${t - g},${v - f - s * a + k / 2} ${r},${v - f - s * a + k / 2} ${r},${v - f - s * a - k}`,
300
300
  tubeBody: `M
301
- ${r},${v - f - o * a - k}
302
- C ${r},${v - f - o * a + k / 2}
303
- ${t - g},${v - f - o * a + k / 2}
304
- ${t - g},${v - f - o * a - k}
301
+ ${r},${v - f - s * a - k}
302
+ C ${r},${v - f - s * a + k / 2}
303
+ ${t - g},${v - f - s * a + k / 2}
304
+ ${t - g},${v - f - s * a - k}
305
305
  L${t - g},${v - k * 1.5}
306
306
  C
307
307
  ${t - g},${v}
@@ -309,27 +309,27 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
309
309
  ${r},${v - f - k}Z`
310
310
  };
311
311
  }), m = _(null);
312
- function P(a, o = !1) {
313
- e.value.events.datapointEnter && !o && e.value.events.datapointEnter({ datapoint: a, seriesIndex: a.seriesIndex }), e.value.events.datapointClick && o && e.value.events.datapointClick({ datapoint: a, seriesIndex: a.seriesIndex }), se("selectDatapoint", a), o || (m.value = a.id), o && O.value && (O.value = !1), o && !O.value && (O.value = !0);
312
+ function T(a, s = !1) {
313
+ e.value.events.datapointEnter && !s && e.value.events.datapointEnter({ datapoint: a, seriesIndex: a.seriesIndex }), e.value.events.datapointClick && s && e.value.events.datapointClick({ datapoint: a, seriesIndex: a.seriesIndex }), se("selectDatapoint", a), s || (m.value = a.id), s && B.value && (B.value = !1), s && !B.value && (B.value = !0);
314
314
  }
315
315
  function U(a) {
316
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: a.seriesIndex }), !O.value && (m.value = null);
316
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: a.seriesIndex }), !B.value && (m.value = null);
317
317
  }
318
- function J(a, o, t = !1) {
319
- const v = j.value.series.map((r) => r.value || 0).reduce((r, k) => r + k, 0), l = isNaN(a.value / v) ? 0 : a.value / v * 100, d = isNaN(a.value / We(o)) ? 0 : a.value / We(o) * 100;
318
+ function J(a, s, t = !1) {
319
+ const v = I.value.series.map((r) => r.value || 0).reduce((r, k) => r + k, 0), l = isNaN(a.value / v) ? 0 : a.value / v * 100, d = isNaN(a.value / Ee(s)) ? 0 : a.value / Ee(s) * 100;
320
320
  return t ? d : l.toFixed(0) + "%";
321
321
  }
322
- function We(a) {
323
- return [...a].map((o) => o.value).reduce((o, t) => o + t, 0);
322
+ function Ee(a) {
323
+ return [...a].map((s) => s.value).reduce((s, t) => s + t, 0);
324
324
  }
325
325
  const re = _(!1);
326
- function Ee(a) {
326
+ function Re(a) {
327
327
  re.value = a;
328
328
  }
329
- function gt() {
330
- return x.value ? w.value : j.value.percentage;
329
+ function $t() {
330
+ return x.value ? w.value : I.value.percentage;
331
331
  }
332
- const E = A(() => {
332
+ const W = A(() => {
333
333
  if (x.value) {
334
334
  const a = w.value.flatMap((t) => t.breakdown && t.breakdown.length ? [{ name: t.name, color: t.color }, ...t.breakdown.map((v, l) => ({
335
335
  name: v.name,
@@ -337,38 +337,38 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
337
337
  }))] : {
338
338
  name: t.name,
339
339
  color: t.color
340
- }), o = w.value.flatMap((t) => t.breakdown && t.breakdown.length ? [t.value, ...t.breakdown.map((v) => v.value)] : t.value);
341
- return { head: a, body: o };
340
+ }), s = w.value.flatMap((t) => t.breakdown && t.breakdown.length ? [t.value, ...t.breakdown.map((v) => v.value)] : t.value);
341
+ return { head: a, body: s };
342
342
  } else
343
343
  return null;
344
344
  });
345
- function $e(a = null) {
345
+ function _e(a = null) {
346
346
  if (!x.value) {
347
347
  console.warn("VueUi3dBar : CSV download is only available in stack mode (providing dataset.series instead of dataset.percentage)");
348
348
  return;
349
349
  }
350
- Qe(() => {
351
- const o = w.value.map((d) => d.value).reduce((d, r) => d + r, 0), t = E.value.head.map((d, r) => [[
350
+ tt(() => {
351
+ const s = w.value.map((d) => d.value).reduce((d, r) => d + r, 0), t = W.value.head.map((d, r) => [[
352
352
  d.name
353
- ], [E.value.body[r]], [isNaN(E.value.body[r] / o) ? "-" : E.value.body[r] / o * 100]]), v = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = jt(v);
353
+ ], [W.value.body[r]], [isNaN(W.value.body[r] / s) ? "-" : W.value.body[r] / s * 100]]), v = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = jt(v);
354
354
  a ? a(l) : zt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-3d-bar" });
355
355
  });
356
356
  }
357
357
  const ue = A(() => {
358
- const a = w.value.map((d) => d.value).reduce((d, r) => d + r, 0), o = [
358
+ const a = w.value.map((d) => d.value).reduce((d, r) => d + r, 0), s = [
359
359
  ' <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>',
360
- B({ p: e.value.style.chart.legend.prefix, v: a, s: e.value.style.chart.legend.suffix, r: e.value.table.td.roundingValue }),
360
+ O({ p: e.value.style.chart.legend.prefix, v: a, s: e.value.style.chart.legend.suffix, r: e.value.table.td.roundingValue }),
361
361
  "100%"
362
- ], t = E.value.head.map((d, r) => {
363
- const k = B({ p: e.value.style.chart.legend.prefix, v: E.value.body[r], s: e.value.style.chart.legend.suffix, r: e.value.table.td.roundingValue });
362
+ ], t = W.value.head.map((d, r) => {
363
+ const k = O({ p: e.value.style.chart.legend.prefix, v: W.value.body[r], s: e.value.style.chart.legend.suffix, r: e.value.table.td.roundingValue });
364
364
  return [
365
365
  {
366
366
  color: d.color,
367
367
  name: d.name
368
368
  },
369
369
  k,
370
- isNaN(E.value.body[r] / a) ? "-" : B({
371
- v: E.value.body[r] / a * 100,
370
+ isNaN(W.value.body[r] / a) ? "-" : O({
371
+ v: W.value.body[r] / a * 100,
372
372
  s: "%",
373
373
  r: e.value.table.td.roundingPercentage
374
374
  })
@@ -393,34 +393,34 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
393
393
  e.value.table.columnNames.value,
394
394
  e.value.table.columnNames.percentage
395
395
  ],
396
- head: o,
396
+ head: s,
397
397
  body: t,
398
398
  config: v
399
399
  };
400
400
  });
401
401
  function Ge() {
402
- L.value.showTable = !L.value.showTable;
402
+ V.value.showTable = !V.value.showTable;
403
403
  }
404
404
  const ie = _(!1);
405
- function _e() {
405
+ function me() {
406
406
  ie.value = !ie.value;
407
407
  }
408
- async function $t({ scale: a = 2 } = {}) {
408
+ async function _t({ scale: a = 2 } = {}) {
409
409
  if (!N.value) return;
410
- const { width: o, height: t } = N.value.getBoundingClientRect(), v = o / t, { imageUri: l, base64: d } = await Vt({ domElement: N.value, base64: !0, img: !0, scale: a });
410
+ const { width: s, height: t } = N.value.getBoundingClientRect(), v = s / t, { imageUri: l, base64: d } = await Ut({ domElement: N.value, base64: !0, img: !0, scale: a });
411
411
  return {
412
412
  imageUri: l,
413
413
  base64: d,
414
414
  title: e.value.style.chart.title.text,
415
- width: o,
415
+ width: s,
416
416
  height: t,
417
417
  aspectRatio: v
418
418
  };
419
419
  }
420
420
  const oe = A(() => {
421
- const a = e.value.table.useDialog && !e.value.table.show, o = L.value.showTable;
421
+ const a = e.value.table.useDialog && !e.value.table.show, s = V.value.showTable;
422
422
  return {
423
- component: a ? ht : ut,
423
+ component: a ? pt : dt,
424
424
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
425
425
  props: a ? {
426
426
  backgroundColor: e.value.table.th.backgroundColor,
@@ -433,7 +433,7 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
433
433
  } : {
434
434
  hideDetails: !0,
435
435
  config: {
436
- open: o,
436
+ open: s,
437
437
  maxHeight: 1e4,
438
438
  body: {
439
439
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -447,33 +447,37 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
447
447
  }
448
448
  };
449
449
  });
450
- return be(() => L.value.showTable, (a) => {
450
+ xe(() => V.value.showTable, (a) => {
451
451
  e.value.table.show || (a && e.value.table.useDialog && le.value ? le.value.open() : "close" in le.value && le.value.close());
452
- }), at({
453
- getImage: $t,
454
- generateCsv: $e,
452
+ });
453
+ function Ve() {
454
+ V.value.showTable = !1, ye.value && ye.value.setTableIconState(!1);
455
+ }
456
+ return rt({
457
+ getImage: _t,
458
+ generateCsv: _e,
455
459
  generatePdf: je,
456
460
  generateImage: ze,
457
- getData: gt,
461
+ getData: $t,
458
462
  toggleTable: Ge,
459
- toggleAnnotator: _e,
460
- toggleFullscreen: Ee
461
- }), (a, o) => (u(), c("div", {
463
+ toggleAnnotator: me,
464
+ toggleFullscreen: Re
465
+ }), (a, s) => (u(), c("div", {
462
466
  ref_key: "bar3dChart",
463
467
  ref: N,
464
- class: Xe("vue-ui-3d-bar"),
465
- style: z(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
468
+ class: qe("vue-ui-3d-bar"),
469
+ style: j(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
466
470
  id: `3d_bar_${F.value}`,
467
- onMouseenter: o[10] || (o[10] = () => n(De)(!0)),
468
- onMouseleave: o[11] || (o[11] = () => n(De)(!1))
471
+ onMouseenter: s[8] || (s[8] = () => n(Ae)(!0)),
472
+ onMouseleave: s[9] || (s[9] = () => n(Ae)(!1))
469
473
  }, [
470
- e.value.userOptions.buttons.annotator ? (u(), Q(n(dt), {
474
+ e.value.userOptions.buttons.annotator ? (u(), Q(n(vt), {
471
475
  key: 0,
472
- svgRef: n(Se),
476
+ svgRef: n(Oe),
473
477
  backgroundColor: e.value.style.chart.backgroundColor,
474
478
  color: e.value.style.chart.color,
475
479
  active: ie.value,
476
- onClose: _e
480
+ onClose: me
477
481
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : p("", !0),
478
482
  e.value.style.chart.title.text ? (u(), c("div", {
479
483
  key: 1,
@@ -481,8 +485,8 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
481
485
  ref: Pe,
482
486
  style: "width:100%;background:transparent"
483
487
  }, [
484
- (u(), Q(Ut, {
485
- key: `title_${Me.value}`,
488
+ (u(), Q(Ht, {
489
+ key: `title_${Fe.value}`,
486
490
  config: {
487
491
  title: {
488
492
  cy: "3dBar-div-title",
@@ -495,14 +499,14 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
495
499
  }
496
500
  }, null, 8, ["config"]))
497
501
  ], 512)) : p("", !0),
498
- e.value.userOptions.show && Ce.value && (n(Ae) || n(ye)) ? (u(), Q(n(ct), {
502
+ e.value.userOptions.show && Me.value && (n(Se) || n(ke)) ? (u(), Q(n(ht), {
499
503
  key: 2,
500
- ref_key: "details",
501
- ref: pt,
504
+ ref_key: "userOptionsRef",
505
+ ref: ye,
502
506
  backgroundColor: e.value.style.chart.backgroundColor,
503
507
  color: e.value.style.chart.color,
504
508
  isPrinting: n(Be),
505
- isImaging: n(Oe),
509
+ isImaging: n(Ie),
506
510
  uid: F.value,
507
511
  hasPdf: e.value.userOptions.buttons.pdf,
508
512
  hasTable: !!x.value && e.value.userOptions.buttons.table,
@@ -516,87 +520,88 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
516
520
  isAnnotation: ie.value,
517
521
  callbacks: e.value.userOptions.callbacks,
518
522
  printScale: e.value.userOptions.print.scale,
519
- onToggleFullscreen: Ee,
523
+ tableDialog: e.value.table.useDialog,
524
+ onToggleFullscreen: Re,
520
525
  onGeneratePdf: n(je),
521
- onGenerateCsv: $e,
526
+ onGenerateCsv: _e,
522
527
  onGenerateImage: n(ze),
523
528
  onToggleTable: Ge,
524
- onToggleAnnotator: _e,
525
- style: z({
526
- visibility: n(Ae) ? n(ye) ? "visible" : "hidden" : "visible"
529
+ onToggleAnnotator: me,
530
+ style: j({
531
+ visibility: n(Se) ? n(ke) ? "visible" : "hidden" : "visible"
527
532
  })
528
- }, Ze({ _: 2 }, [
533
+ }, Ye({ _: 2 }, [
529
534
  a.$slots.menuIcon ? {
530
535
  name: "menuIcon",
531
536
  fn: S(({ isOpen: t, color: v }) => [
532
- T(a.$slots, "menuIcon", de(ce({ isOpen: t, color: v })), void 0, !0)
537
+ P(a.$slots, "menuIcon", de(ce({ isOpen: t, color: v })), void 0, !0)
533
538
  ]),
534
539
  key: "0"
535
540
  } : void 0,
536
541
  a.$slots.optionPdf ? {
537
542
  name: "optionPdf",
538
543
  fn: S(() => [
539
- T(a.$slots, "optionPdf", {}, void 0, !0)
544
+ P(a.$slots, "optionPdf", {}, void 0, !0)
540
545
  ]),
541
546
  key: "1"
542
547
  } : void 0,
543
548
  a.$slots.optionCsv ? {
544
549
  name: "optionCsv",
545
550
  fn: S(() => [
546
- T(a.$slots, "optionCsv", {}, void 0, !0)
551
+ P(a.$slots, "optionCsv", {}, void 0, !0)
547
552
  ]),
548
553
  key: "2"
549
554
  } : void 0,
550
555
  a.$slots.optionImg ? {
551
556
  name: "optionImg",
552
557
  fn: S(() => [
553
- T(a.$slots, "optionImg", {}, void 0, !0)
558
+ P(a.$slots, "optionImg", {}, void 0, !0)
554
559
  ]),
555
560
  key: "3"
556
561
  } : void 0,
557
562
  a.$slots.optionTable ? {
558
563
  name: "optionTable",
559
564
  fn: S(() => [
560
- T(a.$slots, "optionTable", {}, void 0, !0)
565
+ P(a.$slots, "optionTable", {}, void 0, !0)
561
566
  ]),
562
567
  key: "4"
563
568
  } : void 0,
564
569
  a.$slots.optionFullscreen ? {
565
570
  name: "optionFullscreen",
566
571
  fn: S(({ toggleFullscreen: t, isFullscreen: v }) => [
567
- T(a.$slots, "optionFullscreen", de(ce({ toggleFullscreen: t, isFullscreen: v })), void 0, !0)
572
+ P(a.$slots, "optionFullscreen", de(ce({ toggleFullscreen: t, isFullscreen: v })), void 0, !0)
568
573
  ]),
569
574
  key: "5"
570
575
  } : void 0,
571
576
  a.$slots.optionAnnotator ? {
572
577
  name: "optionAnnotator",
573
578
  fn: S(({ toggleAnnotator: t, isAnnotator: v }) => [
574
- T(a.$slots, "optionAnnotator", de(ce({ toggleAnnotator: t, isAnnotator: v })), void 0, !0)
579
+ P(a.$slots, "optionAnnotator", de(ce({ toggleAnnotator: t, isAnnotator: v })), void 0, !0)
575
580
  ]),
576
581
  key: "6"
577
582
  } : void 0
578
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : p("", !0),
583
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : p("", !0),
579
584
  (u(), c("svg", {
580
585
  ref_key: "svgRef",
581
- ref: Se,
582
- xmlns: n(Ot),
583
- class: Xe({ "vue-data-ui-fullscreen--on": re.value, "vue-data-ui-fulscreen--off": !re.value, animated: e.value.useCssAnimation }),
584
- viewBox: `0 0 ${s.value.absoluteWidth} ${s.value.height}`,
585
- style: z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
586
+ ref: Oe,
587
+ xmlns: n(It),
588
+ class: qe({ "vue-data-ui-fullscreen--on": re.value, "vue-data-ui-fulscreen--off": !re.value, animated: e.value.useCssAnimation }),
589
+ viewBox: `0 0 ${o.value.absoluteWidth} ${o.value.height}`,
590
+ style: j(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
586
591
  }, [
587
- qe(n(vt)),
592
+ Ke(n(ft)),
588
593
  a.$slots["chart-background"] ? (u(), c("foreignObject", {
589
594
  key: 0,
590
595
  x: 0,
591
596
  y: 0,
592
- width: s.value.absoluteWidth,
593
- height: s.value.height,
597
+ width: o.value.absoluteWidth,
598
+ height: o.value.height,
594
599
  style: {
595
600
  pointerEvents: "none"
596
601
  }
597
602
  }, [
598
- T(a.$slots, "chart-background", {}, void 0, !0)
599
- ], 8, qt)) : p("", !0),
603
+ P(a.$slots, "chart-background", {}, void 0, !0)
604
+ ], 8, Yt)) : p("", !0),
600
605
  i("defs", null, [
601
606
  i("radialGradient", {
602
607
  id: `gradient_top${F.value}`
@@ -604,48 +609,48 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
604
609
  i("stop", {
605
610
  offset: "0%",
606
611
  "stop-color": n($)(e.value.style.chart.backgroundColor, 0)
607
- }, null, 8, Kt),
612
+ }, null, 8, Jt),
608
613
  i("stop", {
609
614
  offset: "100%",
610
615
  "stop-color": e.value.style.chart.bar.color
611
- }, null, 8, Jt)
612
- ], 8, Yt),
616
+ }, null, 8, Qt)
617
+ ], 8, Kt),
613
618
  i("radialGradient", {
614
619
  id: `gradient_tube_top${F.value}`
615
620
  }, [
616
621
  i("stop", {
617
622
  offset: "0%",
618
623
  "stop-color": n($)(n(R)(e.value.style.chart.bar.color, 0.5), 80)
619
- }, null, 8, el),
624
+ }, null, 8, tl),
620
625
  i("stop", {
621
626
  offset: "100%",
622
627
  "stop-color": n($)(n(X)(e.value.style.chart.bar.color, 0.1), 80)
623
- }, null, 8, tl)
624
- ], 8, Qt),
628
+ }, null, 8, ll)
629
+ ], 8, el),
625
630
  i("radialGradient", {
626
631
  id: `gradient_left${F.value}`
627
632
  }, [
628
633
  i("stop", {
629
634
  offset: "0%",
630
635
  "stop-color": n($)(e.value.style.chart.backgroundColor, 0)
631
- }, null, 8, ol),
636
+ }, null, 8, sl),
632
637
  i("stop", {
633
638
  offset: "100%",
634
639
  "stop-color": n($)(e.value.style.chart.bar.color, 20)
635
- }, null, 8, sl)
636
- ], 8, ll),
640
+ }, null, 8, al)
641
+ ], 8, ol),
637
642
  i("radialGradient", {
638
643
  id: `gradient_right${F.value}`
639
644
  }, [
640
645
  i("stop", {
641
646
  offset: "0%",
642
647
  "stop-color": n($)(e.value.style.chart.backgroundColor, 0)
643
- }, null, 8, nl),
648
+ }, null, 8, rl),
644
649
  i("stop", {
645
650
  offset: "100%",
646
651
  "stop-color": n($)(e.value.style.chart.bar.color, 20)
647
- }, null, 8, rl)
648
- ], 8, al),
652
+ }, null, 8, ul)
653
+ ], 8, nl),
649
654
  i("linearGradient", {
650
655
  id: `gradient_tube_body${F.value}`,
651
656
  x1: "0%",
@@ -656,69 +661,69 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
656
661
  i("stop", {
657
662
  offset: "0%",
658
663
  "stop-color": `${e.value.style.chart.bar.color}`
659
- }, null, 8, il),
664
+ }, null, 8, dl),
660
665
  i("stop", {
661
666
  offset: "10%",
662
667
  "stop-color": n($)(n(X)(e.value.style.chart.bar.color, 0.7), 100)
663
- }, null, 8, dl),
668
+ }, null, 8, cl),
664
669
  i("stop", {
665
670
  offset: "25%",
666
671
  "stop-color": n($)(n(X)(e.value.style.chart.bar.color, 0.5), 100)
667
- }, null, 8, cl),
672
+ }, null, 8, vl),
668
673
  i("stop", {
669
674
  offset: "75%",
670
675
  "stop-color": n($)(e.value.style.chart.bar.color, 80)
671
- }, null, 8, vl),
676
+ }, null, 8, hl),
672
677
  i("stop", {
673
678
  offset: "100%",
674
679
  "stop-color": n($)(n(R)(e.value.style.chart.bar.color, 0.7), 100)
675
- }, null, 8, hl)
676
- ], 8, ul)
680
+ }, null, 8, fl)
681
+ ], 8, il)
677
682
  ]),
678
- x.value ? (u(), c("defs", fl, [
683
+ x.value ? (u(), c("defs", pl, [
679
684
  (u(!0), c(C, null, M(w.value, (t) => (u(), c("radialGradient", {
680
685
  id: `grad_top_${t.id}`
681
686
  }, [
682
687
  i("stop", {
683
688
  offset: "0%",
684
689
  "stop-color": n($)(n(R)(t.color, 0.5), 80)
685
- }, null, 8, yl),
690
+ }, null, 8, kl),
686
691
  i("stop", {
687
692
  offset: "100%",
688
693
  "stop-color": t.color
689
- }, null, 8, kl)
690
- ], 8, pl))), 256)),
694
+ }, null, 8, gl)
695
+ ], 8, yl))), 256)),
691
696
  (u(!0), c(C, null, M(w.value, (t) => (u(), c("linearGradient", {
692
697
  id: `grad_left_${t.id}`
693
698
  }, [
694
699
  i("stop", {
695
700
  offset: "0%",
696
701
  "stop-color": n($)(t.color, 80)
697
- }, null, 8, $l),
702
+ }, null, 8, _l),
698
703
  i("stop", {
699
704
  offset: "100%",
700
705
  "stop-color": n($)(n(X)(t.color, 0.5), 100)
701
- }, null, 8, _l)
702
- ], 8, gl))), 256)),
706
+ }, null, 8, ml)
707
+ ], 8, $l))), 256)),
703
708
  (u(!0), c(C, null, M(w.value, (t) => (u(), c("linearGradient", {
704
709
  id: `grad_right_${t.id}`
705
710
  }, [
706
711
  i("stop", {
707
712
  offset: "2%",
708
713
  "stop-color": n($)(n(R)(t.color, 0.5), 100)
709
- }, null, 8, bl),
714
+ }, null, 8, xl),
710
715
  i("stop", {
711
716
  offset: "100%",
712
717
  "stop-color": n($)(t.color, 80)
713
- }, null, 8, xl)
714
- ], 8, ml))), 256)),
718
+ }, null, 8, wl)
719
+ ], 8, bl))), 256)),
715
720
  i("linearGradient", {
716
721
  x1: "0%",
717
722
  y1: "0%",
718
723
  x2: "0%",
719
724
  y2: "100%",
720
725
  id: `vertical_line_${F.value}`
721
- }, [...o[12] || (o[12] = [
726
+ }, [...s[10] || (s[10] = [
722
727
  i("stop", {
723
728
  offset: "0%",
724
729
  "stop-color": "#FFFFFF"
@@ -727,93 +732,93 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
727
732
  offset: "100%",
728
733
  "stop-color": "#FFFFFF33"
729
734
  }, null, -1)
730
- ])], 8, wl)
735
+ ])], 8, Cl)
731
736
  ])) : p("", !0),
732
737
  e.value.style.chart.dataLabel.show && ![null, void 0].includes(D.dataset.percentage) && [null, void 0].includes(D.dataset.series) ? (u(), c("text", {
733
738
  key: 2,
734
- x: s.value.width / 2,
735
- y: s.value.top - e.value.style.chart.dataLabel.fontSize / 2,
739
+ x: o.value.width / 2,
740
+ y: o.value.top - e.value.style.chart.dataLabel.fontSize / 2,
736
741
  "font-size": e.value.style.chart.dataLabel.fontSize,
737
742
  "font-weight": e.value.style.chart.dataLabel.bold ? "bold" : "normal",
738
743
  fill: e.value.style.chart.dataLabel.color,
739
744
  "text-anchor": "middle"
740
- }, I(n(B)({
745
+ }, z(n(O)({
741
746
  v: q.value,
742
747
  s: "%",
743
748
  r: e.value.style.chart.dataLabel.rounding
744
- })), 9, Cl)) : p("", !0),
745
- O.value ? (u(), c("g", {
749
+ })), 9, Ml)) : p("", !0),
750
+ B.value ? (u(), c("g", {
746
751
  key: 3,
747
752
  role: "button",
748
753
  tabindex: "0",
749
754
  "aria-label": "Clear selection",
750
- onClick: o[0] || (o[0] = (t) => {
751
- O.value = !1, m.value = null;
755
+ onClick: s[0] || (s[0] = (t) => {
756
+ B.value = !1, m.value = null;
752
757
  }),
753
758
  onKeydown: [
754
- o[1] || (o[1] = Ye(Ke((t) => {
755
- O.value = !1, m.value = null;
759
+ s[1] || (s[1] = Je(Qe((t) => {
760
+ B.value = !1, m.value = null;
756
761
  }, ["prevent"]), ["enter"])),
757
- o[2] || (o[2] = Ye(Ke((t) => {
758
- O.value = !1, m.value = null;
762
+ s[2] || (s[2] = Je(Qe((t) => {
763
+ B.value = !1, m.value = null;
759
764
  }, ["prevent"]), ["space"]))
760
765
  ],
761
- onFocus: o[3] || (o[3] = (t) => te.value = !0),
762
- onBlur: o[4] || (o[4] = (t) => te.value = !1),
763
- onMouseenter: o[5] || (o[5] = (t) => te.value = !0),
764
- onMouseleave: o[6] || (o[6] = (t) => te.value = !1),
766
+ onFocus: s[3] || (s[3] = (t) => te.value = !0),
767
+ onBlur: s[4] || (s[4] = (t) => te.value = !1),
768
+ onMouseenter: s[5] || (s[5] = (t) => te.value = !0),
769
+ onMouseleave: s[6] || (s[6] = (t) => te.value = !1),
765
770
  class: "svg-btn",
766
771
  "data-dom-to-png-ignore": "",
767
772
  style: { cursor: "pointer", outline: "none" }
768
773
  }, [
769
- o[13] || (o[13] = i("title", null, "Clear selection", -1)),
774
+ s[11] || (s[11] = i("title", null, "Clear selection", -1)),
770
775
  i("rect", {
771
776
  x: Y.value - 12,
772
- y: s.value.top - 24,
777
+ y: o.value.top - 24,
773
778
  width: 24,
774
779
  height: 24,
775
780
  fill: "transparent",
776
781
  "pointer-events": "all"
777
- }, null, 8, Ml),
782
+ }, null, 8, Fl),
778
783
  i("circle", {
779
784
  cx: Y.value,
780
- cy: s.value.top - 12,
785
+ cy: o.value.top - 12,
781
786
  r: "10",
782
787
  fill: "none",
783
788
  stroke: e.value.style.chart.color,
784
789
  "stroke-width": "2",
785
790
  "vector-effect": "non-scaling-stroke",
786
791
  opacity: te.value ? 0.5 : 0
787
- }, null, 8, Fl),
792
+ }, null, 8, Tl),
788
793
  i("path", {
789
- d: `M${Y.value - 6},${s.value.top - 18} ${Y.value + 6},${s.value.top - 6}`,
794
+ d: `M${Y.value - 6},${o.value.top - 18} ${Y.value + 6},${o.value.top - 6}`,
790
795
  stroke: e.value.style.chart.color,
791
796
  "stroke-linecap": "round",
792
797
  "stroke-width": "2",
793
798
  "vector-effect": "non-scaling-stroke"
794
799
  }, null, 8, Pl),
795
800
  i("path", {
796
- d: `M${Y.value + 6},${s.value.top - 18} ${Y.value - 6},${s.value.top - 6}`,
801
+ d: `M${Y.value + 6},${o.value.top - 18} ${Y.value - 6},${o.value.top - 6}`,
797
802
  stroke: e.value.style.chart.color,
798
803
  "stroke-linecap": "round",
799
804
  "stroke-width": "2",
800
805
  "vector-effect": "non-scaling-stroke"
801
- }, null, 8, Tl)
806
+ }, null, 8, Dl)
802
807
  ], 32)) : p("", !0),
803
- !e.value.style.shape || e.value.style.shape === "bar" ? (u(), c("g", Dl, [
804
- x.value ? p("", !0) : (u(), c("g", Al, [
808
+ !e.value.style.shape || e.value.style.shape === "bar" ? (u(), c("g", Al, [
809
+ x.value ? p("", !0) : (u(), c("g", Sl, [
805
810
  i("path", {
806
811
  "stroke-dasharray": e.value.style.chart.box.strokeDasharray,
807
- d: W.value.right,
812
+ d: L.value.right,
808
813
  stroke: e.value.style.chart.box.stroke,
809
814
  "stroke-width": e.value.style.chart.box.strokeWidth,
810
815
  "stroke-linejoin": "round",
811
816
  "stroke-linecap": "round",
812
817
  fill: "none"
813
- }, null, 8, Sl),
818
+ }, null, 8, Ol),
814
819
  i("path", {
815
820
  "stroke-dasharray": e.value.style.chart.box.strokeDasharray,
816
- d: W.value.left,
821
+ d: L.value.left,
817
822
  stroke: e.value.style.chart.box.stroke,
818
823
  "stroke-width": e.value.style.chart.box.strokeWidth,
819
824
  "stroke-linejoin": "round",
@@ -822,16 +827,16 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
822
827
  }, null, 8, Bl),
823
828
  i("path", {
824
829
  "stroke-dasharray": e.value.style.chart.box.strokeDasharray,
825
- d: W.value.side,
830
+ d: L.value.side,
826
831
  stroke: e.value.style.chart.box.stroke,
827
832
  "stroke-width": e.value.style.chart.box.strokeWidth,
828
833
  "stroke-linejoin": "round",
829
834
  "stroke-linecap": "round",
830
835
  fill: "none"
831
- }, null, 8, Ol),
836
+ }, null, 8, Il),
832
837
  i("path", {
833
838
  "stroke-dasharray": e.value.style.chart.box.strokeDasharray,
834
- d: W.value.topSides,
839
+ d: L.value.topSides,
835
840
  stroke: e.value.style.chart.box.stroke,
836
841
  "stroke-width": e.value.style.chart.box.strokeWidth,
837
842
  "stroke-linejoin": "round",
@@ -847,7 +852,7 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
847
852
  "stroke-linejoin": "round",
848
853
  "stroke-linecap": "round",
849
854
  fill: `url(#gradient_right${F.value})`
850
- }, null, 8, Il),
855
+ }, null, 8, Nl),
851
856
  i("path", {
852
857
  d: K.value.left,
853
858
  stroke: e.value.style.chart.bar.stroke,
@@ -855,7 +860,7 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
855
860
  "stroke-linejoin": "round",
856
861
  "stroke-linecap": "round",
857
862
  fill: `url(#gradient_left${F.value})`
858
- }, null, 8, Nl),
863
+ }, null, 8, Ll),
859
864
  i("path", {
860
865
  d: K.value.top,
861
866
  stroke: e.value.style.chart.bar.stroke,
@@ -863,50 +868,50 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
863
868
  "stroke-linejoin": "round",
864
869
  "stroke-linecap": "round",
865
870
  fill: `url(#gradient_top${F.value})`
866
- }, null, 8, Ll)
871
+ }, null, 8, Wl)
867
872
  ])),
868
- x.value ? (u(), c("g", Wl, [
873
+ x.value ? (u(), c("g", El, [
869
874
  (u(!0), c(C, null, M(w.value, (t, v) => (u(), c("g", {
870
- style: z(`opacity:${m.value ? m.value === t.id ? 1 : 0.3 : 1}`),
875
+ style: j(`opacity:${m.value ? m.value === t.id ? 1 : 0.3 : 1}`),
871
876
  class: "vue-ui-3d-bar-stack"
872
877
  }, [
873
878
  i("path", {
874
879
  d: t.fill.right,
875
880
  fill: `url(#grad_right_${t.id})`,
876
- onMouseenter: (l) => P(t),
877
- onClick: (l) => P(t, !0),
881
+ onMouseenter: (l) => T(t),
882
+ onClick: (l) => T(t, !0),
878
883
  onMouseout: (l) => U(t)
879
- }, null, 40, El),
884
+ }, null, 40, Rl),
880
885
  i("path", {
881
886
  d: t.fill.left,
882
887
  fill: `url(#grad_left_${t.id})`,
883
- onMouseenter: (l) => P(t),
884
- onClick: (l) => P(t, !0),
888
+ onMouseenter: (l) => T(t),
889
+ onClick: (l) => T(t, !0),
885
890
  onMouseout: (l) => U(t)
886
891
  }, null, 40, Gl),
887
892
  i("path", {
888
893
  d: t.fill.top,
889
894
  fill: `url(#grad_top_${t.id})`,
890
- onMouseenter: (l) => P(t),
891
- onClick: (l) => P(t, !0),
895
+ onMouseenter: (l) => T(t),
896
+ onClick: (l) => T(t, !0),
892
897
  onMouseout: (l) => U(t)
893
- }, null, 40, Rl),
898
+ }, null, 40, Vl),
894
899
  i("path", {
895
900
  d: t.fill.liningTop,
896
901
  stroke: "#FFFFFF",
897
902
  "stroke-width": "0.5",
898
903
  "stroke-linecap": "round",
899
904
  fill: "none",
900
- onMouseenter: (l) => P(t),
901
- onClick: (l) => P(t, !0),
905
+ onMouseenter: (l) => T(t),
906
+ onClick: (l) => T(t, !0),
902
907
  onMouseout: (l) => U(t)
903
- }, null, 40, Vl),
908
+ }, null, 40, Ul),
904
909
  i("path", {
905
910
  d: `M ${t.fill.apexTop.x},${t.fill.apexTop.y} ${t.fill.apexBottom.x},${t.fill.apexBottom.y}`,
906
911
  stroke: "#FFFFFF",
907
912
  "stroke-width": "0.5",
908
913
  "stroke-linecap": "round"
909
- }, null, 8, Ul)
914
+ }, null, 8, Hl)
910
915
  ], 4))), 256)),
911
916
  (u(!0), c(C, null, M(w.value, (t, v) => (u(), c("g", null, [
912
917
  v !== w.value.length - 1 ? (u(), c("path", {
@@ -917,10 +922,10 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
917
922
  "stroke-linecap": "round",
918
923
  fill: "none",
919
924
  style: { "pointer-events": "none" }
920
- }, null, 8, Hl)) : p("", !0)
925
+ }, null, 8, Xl)) : p("", !0)
921
926
  ]))), 256)),
922
927
  (u(!0), c(C, null, M(w.value, (t, v) => (u(), c("g", {
923
- style: z(`opacity:${m.value ? m.value === t.id ? 1 : 0 : t.proportion * 100 > e.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
928
+ style: j(`opacity:${m.value ? m.value === t.id ? 1 : 0 : t.proportion * 100 > e.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
924
929
  onClick: (l) => se("selectDatapoint", t)
925
930
  }, [
926
931
  i("path", {
@@ -929,7 +934,7 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
929
934
  "stroke-width": "0.5",
930
935
  "stroke-linecap": "round",
931
936
  d: `M${t.fill.sidePointer.x},${t.fill.sidePointer.y} ${t.fill.sidePointer.x2},${t.fill.sidePointer.y}`
932
- }, null, 8, Zl),
937
+ }, null, 8, ql),
933
938
  !t.fill.miniDonut || m.value ? (u(), c("circle", {
934
939
  key: 0,
935
940
  cx: t.fill.sidePointer.x2,
@@ -937,31 +942,31 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
937
942
  r: 2,
938
943
  fill: t.color,
939
944
  stroke: e.value.style.chart.backgroundColor
940
- }, null, 8, ql)) : p("", !0),
945
+ }, null, 8, Yl)) : p("", !0),
941
946
  n(Z) ? (u(), c("rect", {
942
947
  key: 1,
943
948
  x: t.fill.sidePointer.xText,
944
949
  y: t.fill.sidePointer.y - e.value.style.chart.legend.fontSize / 2,
945
- width: s.value.width / 3,
950
+ width: o.value.width / 3,
946
951
  height: e.value.style.chart.legend.fontSize,
947
952
  fill: "#6A6A6A80",
948
953
  rx: "3"
949
- }, null, 8, Yl)) : p("", !0),
954
+ }, null, 8, Kl)) : p("", !0),
950
955
  n(Z) ? p("", !0) : (u(), c("foreignObject", {
951
956
  key: 2,
952
957
  x: t.fill.sidePointer.xText,
953
958
  y: t.fill.sidePointer.y - e.value.style.chart.legend.fontSize,
954
- width: s.value.absoluteWidth / 3,
959
+ width: o.value.absoluteWidth / 3,
955
960
  height: e.value.style.chart.legend.fontSize * 2,
956
961
  style: { overflow: "visible", position: "relative" }
957
962
  }, [
958
963
  e.value.style.chart.legend.showDefault ? (u(), c("div", {
959
964
  key: 0,
960
- style: z(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${e.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${e.value.style.chart.legend.fontSize}px; color:${e.value.style.chart.legend.color}`)
961
- }, I(n(fe)(
965
+ style: j(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${e.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${e.value.style.chart.legend.fontSize}px; color:${e.value.style.chart.legend.color}`)
966
+ }, z(n(fe)(
962
967
  e.value.style.chart.dataLabel.formatter,
963
968
  t.value,
964
- `${t.name}: ${n(B)({ v: t.proportion * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })} (${n(B)({
969
+ `${t.name}: ${n(O)({ v: t.proportion * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })} (${n(O)({
965
970
  p: e.value.style.chart.legend.prefix,
966
971
  v: t.value,
967
972
  s: e.value.style.chart.legend.suffix,
@@ -969,20 +974,20 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
969
974
  })})`,
970
975
  { datapoint: t, seriesIndex: v, type: "barDatapoint" }
971
976
  )), 5)) : p("", !0),
972
- T(a.$slots, "legend", xe({ ref_for: !0 }, { datapoint: t, config: e.value, dataset: w.value }), void 0, !0)
973
- ], 8, Kl)),
974
- t.fill.donut && m.value === t.id ? (u(), c("g", Jl, [
977
+ P(a.$slots, "legend", we({ ref_for: !0 }, { datapoint: t, config: e.value, dataset: w.value }), void 0, !0)
978
+ ], 8, Jl)),
979
+ t.fill.donut && m.value === t.id ? (u(), c("g", Ql, [
975
980
  (u(!0), c(C, null, M(t.fill.donut, (l, d) => (u(), c("g", null, [
976
981
  J(l, t.fill.donut, !0) > 6 ? (u(), c("path", {
977
982
  key: 0,
978
- d: n(lt)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 10),
983
+ d: n(st)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 10),
979
984
  stroke: l.color,
980
985
  class: "vue-ui-donut-arc-path",
981
986
  "stroke-width": "0.5",
982
987
  "stroke-linecap": "round",
983
988
  "stroke-linejoin": "round",
984
989
  fill: "none"
985
- }, null, 8, Ql)) : p("", !0)
990
+ }, null, 8, eo)) : p("", !0)
986
991
  ]))), 256)),
987
992
  (u(!0), c(C, null, M(t.fill.donut, (l, d) => (u(), c("path", {
988
993
  class: "vue-ui-donut-arc-path",
@@ -990,86 +995,86 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
990
995
  fill: `${l.color}`,
991
996
  stroke: e.value.style.chart.backgroundColor,
992
997
  "stroke-width": 1
993
- }, null, 8, eo))), 256)),
998
+ }, null, 8, to))), 256)),
994
999
  (u(!0), c(C, null, M(t.fill.donut, (l, d) => (u(), c("g", null, [
995
- J(l, t.fill.donut, !0) > 6 ? (u(), c("g", to, [
1000
+ J(l, t.fill.donut, !0) > 6 ? (u(), c("g", lo, [
996
1001
  i("text", {
997
- "text-anchor": n(V)(l, !0, 0).anchor,
998
- x: n(V)(l, !0, 2).x,
1002
+ "text-anchor": n(G)(l, !0, 0).anchor,
1003
+ x: n(G)(l, !0, 2).x,
999
1004
  y: n(pe)(l, 12, 12),
1000
1005
  fill: e.value.style.chart.legend.color,
1001
1006
  "font-size": e.value.style.chart.legend.fontSize / 1.5
1002
- }, I(n(fe)(
1007
+ }, z(n(fe)(
1003
1008
  e.value.style.chart.dataLabel.formatter,
1004
1009
  l.value,
1005
- `${J(l, t.fill.donut)} (${n(B)({
1010
+ `${J(l, t.fill.donut)} (${n(O)({
1006
1011
  p: e.value.style.chart.legend.prefix,
1007
1012
  v: l.value,
1008
1013
  s: e.value.style.chart.legend.suffix,
1009
1014
  r: e.value.style.chart.legend.roundingValue
1010
1015
  })})`,
1011
1016
  { datapoint: l, seriesIndex: d, type: "donutDatapoint" }
1012
- )), 9, lo),
1017
+ )), 9, oo),
1013
1018
  i("text", {
1014
- "text-anchor": n(V)(l).anchor,
1015
- x: n(V)(l, !0, 2).x,
1019
+ "text-anchor": n(G)(l).anchor,
1020
+ x: n(G)(l, !0, 2).x,
1016
1021
  y: n(pe)(l, 12, 12) + e.value.style.chart.legend.fontSize / 1.5,
1017
1022
  fill: e.value.style.chart.legend.color,
1018
1023
  "font-size": e.value.style.chart.legend.fontSize / 1.5
1019
- }, I(l.name), 9, oo)
1024
+ }, z(l.name), 9, so)
1020
1025
  ])) : p("", !0)
1021
1026
  ]))), 256))
1022
1027
  ])) : p("", !0),
1023
- t.fill.miniDonut && !m.value ? (u(), c("g", so, [
1028
+ t.fill.miniDonut && !m.value ? (u(), c("g", ao, [
1024
1029
  (u(!0), c(C, null, M(t.fill.miniDonut, (l, d) => (u(), c("path", {
1025
1030
  class: "vue-ui-donut-arc-path",
1026
1031
  d: l.arcSlice,
1027
1032
  fill: `${l.color}`,
1028
1033
  stroke: e.value.style.chart.backgroundColor,
1029
1034
  "stroke-width": 0.5
1030
- }, null, 8, ao))), 256))
1035
+ }, null, 8, no))), 256))
1031
1036
  ])) : p("", !0)
1032
- ], 12, Xl))), 256))
1037
+ ], 12, Zl))), 256))
1033
1038
  ])) : p("", !0)
1034
1039
  ])) : p("", !0),
1035
- e.value.style.shape === "tube" ? (u(), c("g", no, [
1036
- x.value ? p("", !0) : (u(), c("g", ro, [
1040
+ e.value.style.shape === "tube" ? (u(), c("g", ro, [
1041
+ x.value ? p("", !0) : (u(), c("g", uo, [
1037
1042
  i("path", {
1038
1043
  "stroke-dasharray": e.value.style.chart.box.strokeDasharray,
1039
- d: W.value.tubeTop,
1044
+ d: L.value.tubeTop,
1040
1045
  stroke: e.value.style.chart.box.stroke,
1041
1046
  "stroke-width": e.value.style.chart.box.strokeWidth,
1042
1047
  "stroke-linejoin": "round",
1043
1048
  "stroke-linecap": "round",
1044
1049
  fill: "none"
1045
- }, null, 8, uo),
1050
+ }, null, 8, io),
1046
1051
  i("path", {
1047
1052
  "stroke-dasharray": e.value.style.chart.box.strokeDasharray,
1048
- d: W.value.tubeLeft,
1053
+ d: L.value.tubeLeft,
1049
1054
  stroke: e.value.style.chart.box.stroke,
1050
1055
  "stroke-width": e.value.style.chart.box.strokeWidth,
1051
1056
  "stroke-linejoin": "round",
1052
1057
  "stroke-linecap": "round",
1053
1058
  fill: "none"
1054
- }, null, 8, io),
1059
+ }, null, 8, co),
1055
1060
  i("path", {
1056
1061
  "stroke-dasharray": e.value.style.chart.box.strokeDasharray,
1057
- d: W.value.tubeRight,
1062
+ d: L.value.tubeRight,
1058
1063
  stroke: e.value.style.chart.box.stroke,
1059
1064
  "stroke-width": e.value.style.chart.box.strokeWidth,
1060
1065
  "stroke-linejoin": "round",
1061
1066
  "stroke-linecap": "round",
1062
1067
  fill: "none"
1063
- }, null, 8, co),
1068
+ }, null, 8, vo),
1064
1069
  i("path", {
1065
1070
  "stroke-dasharray": e.value.style.chart.box.strokeDasharray,
1066
- d: W.value.tubeBottom,
1071
+ d: L.value.tubeBottom,
1067
1072
  stroke: e.value.style.chart.box.stroke,
1068
1073
  "stroke-width": e.value.style.chart.box.strokeWidth,
1069
1074
  "stroke-linejoin": "round",
1070
1075
  "stroke-linecap": "round",
1071
1076
  fill: "none"
1072
- }, null, 8, vo),
1077
+ }, null, 8, ho),
1073
1078
  i("path", {
1074
1079
  d: K.value.tubeTop,
1075
1080
  stroke: e.value.style.chart.bar.stroke,
@@ -1077,7 +1082,7 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
1077
1082
  "stroke-linejoin": "round",
1078
1083
  "stroke-linecap": "round",
1079
1084
  fill: `url(#gradient_tube_top${F.value})`
1080
- }, null, 8, ho),
1085
+ }, null, 8, fo),
1081
1086
  i("path", {
1082
1087
  d: K.value.tubeBody,
1083
1088
  stroke: e.value.style.chart.bar.stroke,
@@ -1085,7 +1090,7 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
1085
1090
  "stroke-linejoin": "round",
1086
1091
  "stroke-linecap": "round",
1087
1092
  fill: `url(#gradient_tube_body${F.value})`
1088
- }, null, 8, fo),
1093
+ }, null, 8, po),
1089
1094
  i("path", {
1090
1095
  d: K.value.tubeTop,
1091
1096
  stroke: "#FFFFFF",
@@ -1093,11 +1098,11 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
1093
1098
  "stroke-linejoin": "round",
1094
1099
  "stroke-linecap": "round",
1095
1100
  fill: "none"
1096
- }, null, 8, po)
1101
+ }, null, 8, yo)
1097
1102
  ])),
1098
- x.value ? (u(), c("g", yo, [
1103
+ x.value ? (u(), c("g", ko, [
1099
1104
  (u(!0), c(C, null, M(w.value, (t, v) => (u(), c("g", {
1100
- style: z(`opacity:${m.value ? m.value === t.id ? 1 : 0.3 : 1}`),
1105
+ style: j(`opacity:${m.value ? m.value === t.id ? 1 : 0.3 : 1}`),
1101
1106
  class: "vue-ui-3d-bar-stack",
1102
1107
  onClick: (l) => se("selectDatapoint", t)
1103
1108
  }, [
@@ -1110,12 +1115,12 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
1110
1115
  i("stop", {
1111
1116
  offset: "0%",
1112
1117
  "stop-color": n($)(n(R)(t.color, 0.5), 80)
1113
- }, null, 8, $o),
1118
+ }, null, 8, _o),
1114
1119
  i("stop", {
1115
1120
  offset: "100%",
1116
1121
  "stop-color": n($)(n(X)(t.color, 0.1), 80)
1117
- }, null, 8, _o)
1118
- ], 8, go),
1122
+ }, null, 8, mo)
1123
+ ], 8, $o),
1119
1124
  i("linearGradient", {
1120
1125
  id: `gradient_tube_body_${t.id}`,
1121
1126
  x1: "0%",
@@ -1126,28 +1131,28 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
1126
1131
  i("stop", {
1127
1132
  offset: "0%",
1128
1133
  "stop-color": `${t.color}`
1129
- }, null, 8, bo),
1134
+ }, null, 8, xo),
1130
1135
  i("stop", {
1131
1136
  offset: "10%",
1132
1137
  "stop-color": n($)(n(X)(t.color, 0.7), 100)
1133
- }, null, 8, xo),
1138
+ }, null, 8, wo),
1134
1139
  i("stop", {
1135
1140
  offset: "25%",
1136
1141
  "stop-color": n($)(n(X)(t.color, 0.5), 100)
1137
- }, null, 8, wo),
1142
+ }, null, 8, Co),
1138
1143
  i("stop", {
1139
1144
  offset: "75%",
1140
1145
  "stop-color": n($)(t.color, 80)
1141
- }, null, 8, Co),
1146
+ }, null, 8, Mo),
1142
1147
  i("stop", {
1143
1148
  offset: "100%",
1144
1149
  "stop-color": n($)(n(R)(t.color, 0.7), 100)
1145
- }, null, 8, Mo)
1146
- ], 8, mo)
1150
+ }, null, 8, Fo)
1151
+ ], 8, bo)
1147
1152
  ]),
1148
1153
  i("path", {
1149
- onMouseenter: (l) => P(t),
1150
- onClick: (l) => P(t, !0),
1154
+ onMouseenter: (l) => T(t),
1155
+ onClick: (l) => T(t, !0),
1151
1156
  onMouseout: (l) => U(t),
1152
1157
  d: t.fill.tubeBody,
1153
1158
  stroke: "#FFFFFF",
@@ -1155,11 +1160,11 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
1155
1160
  "stroke-linejoin": "round",
1156
1161
  "stroke-linecap": "round",
1157
1162
  fill: `url(#gradient_tube_body_${t.id})`
1158
- }, null, 40, Fo),
1163
+ }, null, 40, To),
1159
1164
  v > 0 ? (u(), c("path", {
1160
1165
  key: 0,
1161
- onMouseenter: (l) => P(t),
1162
- onClick: (l) => P(t, !0),
1166
+ onMouseenter: (l) => T(t),
1167
+ onClick: (l) => T(t, !0),
1163
1168
  onMouseout: (l) => U(t),
1164
1169
  d: t.fill.bottomTubeTop,
1165
1170
  stroke: "#000000",
@@ -1169,8 +1174,8 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
1169
1174
  fill: "none"
1170
1175
  }, null, 40, Po)) : p("", !0),
1171
1176
  i("path", {
1172
- onMouseenter: (l) => P(t),
1173
- onClick: (l) => P(t, !0),
1177
+ onMouseenter: (l) => T(t),
1178
+ onClick: (l) => T(t, !0),
1174
1179
  onMouseout: (l) => U(t),
1175
1180
  d: t.fill.tubeTop,
1176
1181
  stroke: "#FFFFFF",
@@ -1178,10 +1183,10 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
1178
1183
  "stroke-linejoin": "round",
1179
1184
  "stroke-linecap": "round",
1180
1185
  fill: `url(#gradient_tube_top_${t.id})`
1181
- }, null, 40, To)
1182
- ], 12, ko))), 256)),
1186
+ }, null, 40, Do)
1187
+ ], 12, go))), 256)),
1183
1188
  (u(!0), c(C, null, M(w.value, (t, v) => (u(), c("g", {
1184
- style: z(`opacity:${m.value ? m.value === t.id ? 1 : 0 : t.proportion * 100 > e.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
1189
+ style: j(`opacity:${m.value ? m.value === t.id ? 1 : 0 : t.proportion * 100 > e.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
1185
1190
  onClick: (l) => se("selectDatapoint", t)
1186
1191
  }, [
1187
1192
  i("path", {
@@ -1190,7 +1195,7 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
1190
1195
  "stroke-width": "0.5",
1191
1196
  "stroke-linecap": "round",
1192
1197
  d: `M${t.fill.sidePointer.x},${t.fill.sidePointer.y} ${t.fill.sidePointer.x2},${t.fill.sidePointer.y}`
1193
- }, null, 8, Ao),
1198
+ }, null, 8, So),
1194
1199
  !t.fill.miniDonut || m.value ? (u(), c("circle", {
1195
1200
  key: 0,
1196
1201
  cx: t.fill.sidePointer.x2,
@@ -1198,12 +1203,12 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
1198
1203
  r: 2,
1199
1204
  fill: t.color,
1200
1205
  stroke: e.value.style.chart.backgroundColor
1201
- }, null, 8, So)) : p("", !0),
1206
+ }, null, 8, Oo)) : p("", !0),
1202
1207
  n(Z) ? (u(), c("rect", {
1203
1208
  key: 1,
1204
1209
  x: t.fill.sidePointer.xText,
1205
1210
  y: t.fill.sidePointer.y - e.value.style.chart.legend.fontSize / 2,
1206
- width: s.value.width / 3,
1211
+ width: o.value.width / 3,
1207
1212
  height: e.value.style.chart.legend.fontSize,
1208
1213
  fill: "#6A6A6A80",
1209
1214
  rx: "3"
@@ -1212,17 +1217,17 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
1212
1217
  key: 2,
1213
1218
  x: t.fill.sidePointer.xText,
1214
1219
  y: t.fill.sidePointer.y - e.value.style.chart.legend.fontSize,
1215
- width: s.value.absoluteWidth / 3,
1220
+ width: o.value.absoluteWidth / 3,
1216
1221
  height: e.value.style.chart.legend.fontSize * 2,
1217
1222
  style: { overflow: "visible", position: "relative" }
1218
1223
  }, [
1219
1224
  e.value.style.chart.legend.showDefault ? (u(), c("div", {
1220
1225
  key: 0,
1221
- style: z(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${e.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${e.value.style.chart.legend.fontSize}px; color:${e.value.style.chart.legend.color}`)
1222
- }, I(n(fe)(
1226
+ style: j(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${e.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${e.value.style.chart.legend.fontSize}px; color:${e.value.style.chart.legend.color}`)
1227
+ }, z(n(fe)(
1223
1228
  e.value.style.chart.dataLabel.formatter,
1224
1229
  t.value,
1225
- `${t.name}: ${n(B)({ v: t.proportion * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })} (${n(B)({
1230
+ `${t.name}: ${n(O)({ v: t.proportion * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })} (${n(O)({
1226
1231
  p: e.value.style.chart.legend.prefix,
1227
1232
  v: t.value,
1228
1233
  s: e.value.style.chart.legend.suffix,
@@ -1230,13 +1235,13 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
1230
1235
  })})`,
1231
1236
  { datapoint: t, seriesIndex: v, type: "barDatapoint" }
1232
1237
  )), 5)) : p("", !0),
1233
- T(a.$slots, "legend", xe({ ref_for: !0 }, { datapoint: t, config: e.value, dataset: w.value }), void 0, !0)
1234
- ], 8, Oo)),
1238
+ P(a.$slots, "legend", we({ ref_for: !0 }, { datapoint: t, config: e.value, dataset: w.value }), void 0, !0)
1239
+ ], 8, Io)),
1235
1240
  t.fill.donut && m.value === t.id ? (u(), c("g", jo, [
1236
1241
  (u(!0), c(C, null, M(t.fill.donut, (l, d) => (u(), c("g", null, [
1237
1242
  J(l, t.fill.donut, !0) > 6 ? (u(), c("path", {
1238
1243
  key: 0,
1239
- d: n(lt)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 10),
1244
+ d: n(st)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 10),
1240
1245
  stroke: l.color,
1241
1246
  class: "vue-ui-donut-arc-path",
1242
1247
  "stroke-width": "0.5",
@@ -1251,37 +1256,37 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
1251
1256
  fill: `${l.color}`,
1252
1257
  stroke: e.value.style.chart.backgroundColor,
1253
1258
  "stroke-width": 1
1254
- }, null, 8, Io))), 256)),
1259
+ }, null, 8, No))), 256)),
1255
1260
  (u(!0), c(C, null, M(t.fill.donut, (l, d) => (u(), c("g", null, [
1256
- J(l, t.fill.donut, !0) > 6 ? (u(), c("g", No, [
1261
+ J(l, t.fill.donut, !0) > 6 ? (u(), c("g", Lo, [
1257
1262
  i("text", {
1258
- "text-anchor": n(V)(l, !0, 0).anchor,
1259
- x: n(V)(l, !0, 2).x,
1263
+ "text-anchor": n(G)(l, !0, 0).anchor,
1264
+ x: n(G)(l, !0, 2).x,
1260
1265
  y: n(pe)(l, 12, 12),
1261
1266
  fill: e.value.style.chart.legend.color,
1262
1267
  "font-size": e.value.style.chart.legend.fontSize / 1.5
1263
- }, I(n(fe)(
1268
+ }, z(n(fe)(
1264
1269
  e.value.style.chart.dataLabel.formatter,
1265
1270
  l.value,
1266
- `${J(l, t.fill.donut)} (${n(B)({
1271
+ `${J(l, t.fill.donut)} (${n(O)({
1267
1272
  p: e.value.style.chart.legend.prefix,
1268
1273
  v: l.value,
1269
1274
  s: e.value.style.chart.legend.suffix,
1270
1275
  r: e.value.style.chart.legend.roundingValue
1271
1276
  })})`,
1272
1277
  { datapoint: l, seriesIndex: d, type: "donutDatapoint" }
1273
- )), 9, Lo),
1278
+ )), 9, Wo),
1274
1279
  i("text", {
1275
- "text-anchor": n(V)(l).anchor,
1276
- x: n(V)(l, !0, 2).x,
1280
+ "text-anchor": n(G)(l).anchor,
1281
+ x: n(G)(l, !0, 2).x,
1277
1282
  y: n(pe)(l, 12, 12) + e.value.style.chart.legend.fontSize / 1.5,
1278
1283
  fill: e.value.style.chart.legend.color,
1279
1284
  "font-size": e.value.style.chart.legend.fontSize / 1.5
1280
- }, I(l.name), 9, Wo)
1285
+ }, z(l.name), 9, Eo)
1281
1286
  ])) : p("", !0)
1282
1287
  ]))), 256))
1283
1288
  ])) : p("", !0),
1284
- t.fill.miniDonut && !m.value ? (u(), c("g", Eo, [
1289
+ t.fill.miniDonut && !m.value ? (u(), c("g", Ro, [
1285
1290
  (u(!0), c(C, null, M(t.fill.miniDonut, (l, d) => (u(), c("path", {
1286
1291
  class: "vue-ui-donut-arc-path",
1287
1292
  d: l.arcSlice,
@@ -1290,46 +1295,46 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
1290
1295
  "stroke-width": 0.5
1291
1296
  }, null, 8, Go))), 256))
1292
1297
  ])) : p("", !0)
1293
- ], 12, Do))), 256))
1298
+ ], 12, Ao))), 256))
1294
1299
  ])) : p("", !0)
1295
1300
  ])) : p("", !0),
1296
- T(a.$slots, "svg", { svg: s.value }, void 0, !0)
1297
- ], 14, Zt)),
1298
- a.$slots.watermark ? (u(), c("div", Ro, [
1299
- T(a.$slots, "watermark", de(ce({ isPrinting: n(Be) || n(Oe) })), void 0, !0)
1301
+ P(a.$slots, "svg", { svg: o.value }, void 0, !0)
1302
+ ], 14, qt)),
1303
+ a.$slots.watermark ? (u(), c("div", Vo, [
1304
+ P(a.$slots, "watermark", de(ce({ isPrinting: n(Be) || n(Ie) })), void 0, !0)
1300
1305
  ])) : p("", !0),
1301
1306
  a.$slots.source ? (u(), c("div", {
1302
1307
  key: 4,
1303
1308
  ref_key: "source",
1304
- ref: Te,
1309
+ ref: De,
1305
1310
  dir: "auto"
1306
1311
  }, [
1307
- T(a.$slots, "source", {}, void 0, !0)
1312
+ P(a.$slots, "source", {}, void 0, !0)
1308
1313
  ], 512)) : p("", !0),
1309
- Ce.value && x.value ? (u(), Q(Ct(oe.value.component), xe({ key: 5 }, oe.value.props, {
1314
+ Me.value && x.value ? (u(), Q(Mt(oe.value.component), we({ key: 5 }, oe.value.props, {
1310
1315
  ref_key: "tableUnit",
1311
1316
  ref: le,
1312
- onClose: o[9] || (o[9] = (t) => L.value.showTable = !1)
1313
- }), Ze({
1317
+ onClose: Ve
1318
+ }), Ye({
1314
1319
  content: S(() => [
1315
- (u(), Q(n(it), {
1316
- key: `table_${Fe.value}`,
1320
+ (u(), Q(n(ct), {
1321
+ key: `table_${Te.value}`,
1317
1322
  colNames: ue.value.colNames,
1318
1323
  head: ue.value.head,
1319
1324
  body: ue.value.body,
1320
1325
  config: ue.value.config,
1321
1326
  title: e.value.table.useDialog ? "" : oe.value.title,
1322
1327
  withCloseButton: !e.value.table.useDialog,
1323
- onClose: o[8] || (o[8] = (t) => L.value.showTable = !1)
1328
+ onClose: Ve
1324
1329
  }, {
1325
1330
  th: S(({ th: t }) => [
1326
1331
  i("div", {
1327
1332
  innerHTML: t,
1328
1333
  style: { display: "flex", "align-items": "center" }
1329
- }, null, 8, Vo)
1334
+ }, null, 8, Uo)
1330
1335
  ]),
1331
1336
  td: S(({ td: t }) => [
1332
- Je(I(t.name || t), 1)
1337
+ et(z(t.name || t), 1)
1333
1338
  ]),
1334
1339
  _: 1
1335
1340
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -1339,7 +1344,7 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
1339
1344
  e.value.table.useDialog ? {
1340
1345
  name: "title",
1341
1346
  fn: S(() => [
1342
- Je(I(oe.value.title), 1)
1347
+ et(z(oe.value.title), 1)
1343
1348
  ]),
1344
1349
  key: "0"
1345
1350
  } : void 0,
@@ -1349,9 +1354,9 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
1349
1354
  i("button", {
1350
1355
  tabindex: "0",
1351
1356
  class: "vue-ui-user-options-button",
1352
- onClick: o[7] || (o[7] = (t) => $e(e.value.userOptions.callbacks.csv))
1357
+ onClick: s[7] || (s[7] = (t) => _e(e.value.userOptions.callbacks.csv))
1353
1358
  }, [
1354
- qe(n(rt), {
1359
+ Ke(n(it), {
1355
1360
  name: "excel",
1356
1361
  stroke: oe.value.props.color
1357
1362
  }, null, 8, ["stroke"])
@@ -1360,10 +1365,10 @@ const Xt = ["id"], Zt = ["xmlns", "viewBox"], qt = ["width", "height"], Yt = ["i
1360
1365
  key: "1"
1361
1366
  } : void 0
1362
1367
  ]), 1040)) : p("", !0),
1363
- n(Z) ? (u(), Q(Wt, { key: 6 })) : p("", !0)
1364
- ], 44, Xt));
1368
+ n(Z) ? (u(), Q(Et, { key: 6 })) : p("", !0)
1369
+ ], 44, Zt));
1365
1370
  }
1366
- }, ss = /* @__PURE__ */ Ht(Uo, [["__scopeId", "data-v-de96a9d5"]]);
1371
+ }, as = /* @__PURE__ */ Xt(Ho, [["__scopeId", "data-v-abc31eb7"]]);
1367
1372
  export {
1368
- ss as default
1373
+ as as default
1369
1374
  };