vue-data-ui 3.0.0-next.0 → 3.0.0-next.10

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 (104) hide show
  1. package/README.md +109 -68
  2. package/dist/{Arrow-CzFtSJ1v.js → Arrow-8Wnel_lw.js} +1 -1
  3. package/dist/{BaseDraggableDialog-0S5xhs2P.js → BaseDraggableDialog-D-IcFGSE.js} +2 -2
  4. package/dist/{BaseIcon-DoDjTdD5.js → BaseIcon-RLse0qy8.js} +1 -1
  5. package/dist/{ColorPicker-BGRchgqQ.js → ColorPicker-D9dpnizT.js} +2 -2
  6. package/dist/{DataTable-BBbOgI-a.js → DataTable-IzCJ9gby.js} +2 -2
  7. package/dist/{Legend-Q4bOb-Nf.js → Legend-SfJ53F5x.js} +12 -11
  8. package/dist/{NonSvgPenAndPaper-DNKRvsBB.js → NonSvgPenAndPaper-3oZlBiCt.js} +3 -3
  9. package/dist/{PackageVersion-D0VPY8-5.js → PackageVersion-u8Hc4rJi.js} +1 -1
  10. package/dist/{PenAndPaper-DhBJsnob.js → PenAndPaper-6iArlmj7.js} +32 -32
  11. package/dist/{Shape-DbsLJ-SE.js → Shape-vSWSsIaU.js} +1 -1
  12. package/dist/{Slicer-DZEFp2GU.js → Slicer-CPMTQDCj.js} +2 -2
  13. package/dist/{SparkTooltip-CoOJR62O.js → SparkTooltip-sazd7MmK.js} +1 -1
  14. package/dist/{Title-D29apS4l.js → Title-CTsOHFNh.js} +1 -1
  15. package/dist/Tooltip-4cn1szzA.js +157 -0
  16. package/dist/{UserOptions-Bdit7AWO.js → UserOptions-X9Ckvwp-.js} +137 -129
  17. package/dist/{dom-to-png-BdPIrHOF.js → dom-to-png-C3BKllTG.js} +1 -1
  18. package/dist/img-D9CjuW6g.js +33 -0
  19. package/dist/{index-DMqAxz7R.js → index-DBSLpcPM.js} +1515 -1426
  20. package/dist/pdf-V4tIjxUb.js +58 -0
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1098 -222
  23. package/dist/types/vue-data-ui.d.ts +1098 -222
  24. package/dist/useLoading-Bt5Doa8m.js +28 -0
  25. package/dist/{useNestedProp-YgN3FV_8.js → useNestedProp-BQFkJRtL.js} +1 -1
  26. package/dist/{usePrinter-COkTjv6C.js → usePrinter-CjyE7ii3.js} +2 -2
  27. package/dist/{useTimeLabels-Mrr0jrpL.js → useTimeLabels-DG97x2hL.js} +139 -132
  28. package/dist/vue-data-ui-BgN2CPSV.js +320 -0
  29. package/dist/vue-data-ui.js +53 -52
  30. package/dist/{vue-ui-3d-bar-Ojgjl20n.js → vue-ui-3d-bar-DlnRLAbw.js} +261 -245
  31. package/dist/{vue-ui-accordion-P6eFHGQp.js → vue-ui-accordion-yWXqkLfQ.js} +3 -3
  32. package/dist/{vue-ui-age-pyramid-IcMpAhiw.js → vue-ui-age-pyramid-C_4kFlWe.js} +233 -217
  33. package/dist/{vue-ui-annotator-Bk7d86-x.js → vue-ui-annotator-DVXA74Er.js} +2 -2
  34. package/dist/{vue-ui-bullet-DCvWbCPk.js → vue-ui-bullet-DoxSEGR4.js} +172 -156
  35. package/dist/{vue-ui-candlestick-DCf-88Yv.js → vue-ui-candlestick-Bke-ZK92.js} +271 -254
  36. package/dist/{vue-ui-carousel-table-DEsl0XUh.js → vue-ui-carousel-table-CqRuHaU6.js} +17 -16
  37. package/dist/{vue-ui-chestnut-Cg10-3wu.js → vue-ui-chestnut-BYIowBXd.js} +419 -403
  38. package/dist/{vue-ui-chord-BWYzR6vf.js → vue-ui-chord-DyA4jvyD.js} +256 -240
  39. package/dist/{vue-ui-circle-pack-CO2Ra2-5.js → vue-ui-circle-pack-BVT22rGO.js} +230 -214
  40. package/dist/{vue-ui-cursor-BbYHJDbV.js → vue-ui-cursor-B3RyMKwx.js} +2 -2
  41. package/dist/{vue-ui-dashboard-DkCnNuse.js → vue-ui-dashboard-Cgqpnpao.js} +62 -62
  42. package/dist/{vue-ui-digits-DRsphHt2.js → vue-ui-digits-Db9yuqjo.js} +2 -2
  43. package/dist/vue-ui-donut-CdsBUcPD.js +1547 -0
  44. package/dist/{vue-ui-donut-evolution-B5F2-0bh.js → vue-ui-donut-evolution-D5eUZJuU.js} +370 -357
  45. package/dist/{vue-ui-dumbbell-DqqSxoSh.js → vue-ui-dumbbell-CWgs8sB6.js} +216 -200
  46. package/dist/{vue-ui-flow-CTIcUJgV.js → vue-ui-flow-CL5jxEBp.js} +217 -201
  47. package/dist/{vue-ui-funnel-k7KD7Xoc.js → vue-ui-funnel-DT9BzBp3.js} +213 -197
  48. package/dist/{vue-ui-galaxy-C9EHaP4I.js → vue-ui-galaxy-hwr5J-b7.js} +215 -202
  49. package/dist/{vue-ui-gauge-CBiM_1-n.js → vue-ui-gauge-D_fnRyKs.js} +220 -204
  50. package/dist/{vue-ui-gizmo-CAc7b2oK.js → vue-ui-gizmo-CLni95HP.js} +3 -3
  51. package/dist/{vue-ui-heatmap-B3ubrP2v.js → vue-ui-heatmap-Bd8qoV2F.js} +244 -224
  52. package/dist/{vue-ui-history-plot-XCqccO3b.js → vue-ui-history-plot-BJvaJkPO.js} +268 -252
  53. package/dist/{vue-ui-kpi-DTGMDjaZ.js → vue-ui-kpi-B7uO6vRA.js} +3 -3
  54. package/dist/{vue-ui-mini-loader-Cn_7nvVq.js → vue-ui-mini-loader-CTDfGO91.js} +2 -2
  55. package/dist/{vue-ui-molecule-BugMXFAK.js → vue-ui-molecule-BSE6LaGt.js} +204 -188
  56. package/dist/{vue-ui-mood-radar-Cv4dHZPL.js → vue-ui-mood-radar-CN24P-Tk.js} +206 -190
  57. package/dist/vue-ui-nested-donuts-CWL3uP-u.js +1212 -0
  58. package/dist/{vue-ui-onion-Bha2hRAb.js → vue-ui-onion-Bib32nel.js} +196 -180
  59. package/dist/{vue-ui-parallel-coordinate-plot-DWJ2DWx4.js → vue-ui-parallel-coordinate-plot-l0O-i93L.js} +194 -178
  60. package/dist/{vue-ui-quadrant-BKHZoTml.js → vue-ui-quadrant-D0pzeobL.js} +321 -305
  61. package/dist/{vue-ui-quick-chart-D_k3lbU8.js → vue-ui-quick-chart-CaLIrn96.js} +347 -331
  62. package/dist/{vue-ui-radar-Co4EOjSk.js → vue-ui-radar-DXJ1WS7s.js} +193 -177
  63. package/dist/{vue-ui-rating-dtNN0EdX.js → vue-ui-rating-C6qqU59J.js} +2 -2
  64. package/dist/{vue-ui-relation-circle-CR4UpQzM.js → vue-ui-relation-circle-SpPQ2WhH.js} +188 -172
  65. package/dist/{vue-ui-ridgeline-BKX97EnR.js → vue-ui-ridgeline-BMsbiTjU.js} +212 -196
  66. package/dist/{vue-ui-rings-EPTwyt6D.js → vue-ui-rings-ES4LhrT0.js} +223 -210
  67. package/dist/{vue-ui-scatter-BlxzblSR.js → vue-ui-scatter-yV6nLFs6.js} +288 -273
  68. package/dist/{vue-ui-skeleton-CjN2ZdgT.js → vue-ui-skeleton-7gkY0oe-.js} +3 -3
  69. package/dist/{vue-ui-smiley-DdF_ErYG.js → vue-ui-smiley-CYLqgGm1.js} +2 -2
  70. package/dist/{vue-ui-spark-trend-RdOlCuT9.js → vue-ui-spark-trend-kQ3dsaGO.js} +3 -3
  71. package/dist/{vue-ui-sparkbar-DWufRGcN.js → vue-ui-sparkbar-Bfe8SMeM.js} +3 -3
  72. package/dist/{vue-ui-sparkgauge-IP1O3qyT.js → vue-ui-sparkgauge-Dxts3pPS.js} +3 -3
  73. package/dist/{vue-ui-sparkhistogram-Cnv9xZ8H.js → vue-ui-sparkhistogram-CC6-gQ2R.js} +4 -4
  74. package/dist/{vue-ui-sparkline-CYgeD5V3.js → vue-ui-sparkline-Ba6FPyOS.js} +3 -3
  75. package/dist/{vue-ui-sparkstackbar-BCwoK9xd.js → vue-ui-sparkstackbar-CQr6s7Ij.js} +3 -3
  76. package/dist/{vue-ui-stackbar-CqFIvfrK.js → vue-ui-stackbar-cJAK-x5g.js} +497 -474
  77. package/dist/{vue-ui-strip-plot-Dq-kDRai.js → vue-ui-strip-plot-DyU5K6-X.js} +241 -225
  78. package/dist/{vue-ui-table-vaIdQnPl.js → vue-ui-table-B_KeSP8f.js} +3 -3
  79. package/dist/{vue-ui-table-heatmap-U_Td0cdh.js → vue-ui-table-heatmap-CzGGjLl6.js} +26 -25
  80. package/dist/{vue-ui-table-sparkline-DkOaHx5L.js → vue-ui-table-sparkline-BoW1Y5Hh.js} +8 -7
  81. package/dist/{vue-ui-thermometer-CzckBZgs.js → vue-ui-thermometer-ROH_nY6z.js} +170 -154
  82. package/dist/{vue-ui-timer-DSdUshUs.js → vue-ui-timer-DmgpfYIT.js} +5 -5
  83. package/dist/vue-ui-tiremarks-CkmD6BQB.js +358 -0
  84. package/dist/vue-ui-treemap-BOxeG-ql.js +965 -0
  85. package/dist/vue-ui-vertical-bar-BoKi7wHJ.js +1106 -0
  86. package/dist/{vue-ui-waffle-DusUVY6y.js → vue-ui-waffle-BIM_Qg3a.js} +234 -221
  87. package/dist/vue-ui-wheel-CGZgFZax.js +352 -0
  88. package/dist/{vue-ui-word-cloud-_7uYjJ5A.js → vue-ui-word-cloud-Dt-X1dFo.js} +249 -233
  89. package/dist/{vue-ui-world-COIyBHII.js → vue-ui-world-BrPqffT7.js} +239 -223
  90. package/dist/vue-ui-xy-CYko0Jmo.js +2982 -0
  91. package/dist/{vue-ui-xy-canvas-CuYRyub2.js → vue-ui-xy-canvas-DVRWryRe.js} +447 -431
  92. package/package.json +2 -2
  93. package/dist/Tooltip-hVZUY_s5.js +0 -149
  94. package/dist/img-BeMVTwmF.js +0 -20
  95. package/dist/pdf-DPxOdzfi.js +0 -51
  96. package/dist/useMouse-AicQS8Vf.js +0 -13
  97. package/dist/vue-data-ui-nceqWRts.js +0 -301
  98. package/dist/vue-ui-donut-DSE7ubVv.js +0 -1315
  99. package/dist/vue-ui-nested-donuts-CYe0Are_.js +0 -1154
  100. package/dist/vue-ui-tiremarks-B2WWklqG.js +0 -342
  101. package/dist/vue-ui-treemap-D1dgDhjG.js +0 -952
  102. package/dist/vue-ui-vertical-bar-Dd4sYeAC.js +0 -958
  103. package/dist/vue-ui-wheel-ClsKBh52.js +0 -336
  104. package/dist/vue-ui-xy-C_OUyzTC.js +0 -3135
@@ -1,22 +1,23 @@
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-DMqAxz7R.js";
3
- import { u as Oe } from "./useNestedProp-YgN3FV_8.js";
4
- import { u as vt } from "./usePrinter-COkTjv6C.js";
5
- import { u as ft } from "./useUserOptionState-BIvW1Kz7.js";
6
- import { u as pt } from "./useChartAccessibility-9icAAmYg.js";
7
- import yt from "./Title-D29apS4l.js";
8
- import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- const gt = ["id"], $t = {
1
+ import { defineAsyncComponent as G, computed as j, ref as S, watch as Qe, onMounted as et, createElementBlock as c, openBlock as n, unref as u, normalizeStyle as O, normalizeClass as Se, createBlock as U, createCommentVNode as y, createSlots as tt, withCtx as T, renderSlot as P, normalizeProps as K, guardReactiveProps as Q, createVNode as lt, createElementVNode as d, Fragment as _, renderList as m, toDisplayString as B, mergeProps as je, createTextVNode as ot, nextTick as st } from "vue";
2
+ import { u as at, c as Te, t as nt, p as ee, a as rt, b as ut, d as it, o as dt, e as te, g as ie, l as E, m as De, f as D, X as ct, s as g, h as le, i as oe, j as Oe, k as se, n as A, q as ht, r as vt } from "./index-DBSLpcPM.js";
3
+ import { u as ze } from "./useNestedProp-BQFkJRtL.js";
4
+ import { u as ft } from "./usePrinter-CjyE7ii3.js";
5
+ import { u as pt } from "./useUserOptionState-BIvW1Kz7.js";
6
+ import { u as yt } from "./useChartAccessibility-9icAAmYg.js";
7
+ import kt from "./Title-CTsOHFNh.js";
8
+ import gt from "./img-D9CjuW6g.js";
9
+ import { _ as $t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
+ const _t = ["id"], mt = {
10
11
  key: 1,
11
12
  style: "width:100%;background:transparent"
12
- }, _t = ["xmlns", "viewBox"], mt = ["width", "height"], bt = ["id"], xt = ["stop-color"], wt = ["stop-color"], Ct = ["id"], Ft = ["stop-color"], Mt = ["stop-color"], Pt = ["id"], jt = ["stop-color"], Tt = ["stop-color"], St = ["id"], Dt = ["stop-color"], Ot = ["stop-color"], zt = ["stop-color"], Nt = { key: 1 }, Bt = ["id"], At = ["stop-color"], It = ["stop-color"], Lt = ["id"], Vt = ["stop-color"], Wt = ["stop-color"], Gt = ["id"], Ut = ["stop-color"], Et = ["stop-color"], Ht = ["id"], Rt = ["x", "y", "font-size", "font-weight", "fill"], Zt = ["x", "y"], qt = ["d", "stroke"], Xt = ["d", "stroke"], Yt = { key: 4 }, Jt = { key: 0 }, Kt = ["stroke-dasharray", "d", "stroke", "stroke-width"], Qt = ["stroke-dasharray", "d", "stroke", "stroke-width"], el = ["stroke-dasharray", "d", "stroke", "stroke-width"], tl = ["stroke-dasharray", "d", "stroke", "stroke-width"], ll = { key: 1 }, ol = ["d", "stroke", "stroke-width", "fill"], sl = ["d", "stroke", "stroke-width", "fill"], al = ["d", "stroke", "stroke-width", "fill"], nl = { key: 2 }, rl = ["d", "fill", "onMouseenter", "onClick"], ul = ["d", "fill", "onMouseenter", "onClick"], il = ["d", "fill", "onMouseenter", "onClick"], dl = ["d", "onMouseenter", "onClick"], cl = ["d"], hl = ["d", "stroke"], vl = ["onClick"], fl = ["stroke", "d"], pl = ["cx", "cy", "fill", "stroke"], yl = ["x", "y", "width", "height"], kl = { key: 1 }, gl = ["d", "stroke"], $l = ["d", "fill", "stroke"], _l = ["id"], ml = ["stop-color"], bl = ["stop-color"], xl = ["cx", "cy", "fill"], wl = ["cx", "cy", "fill"], Cl = { key: 0 }, Fl = ["text-anchor", "x", "y", "fill", "font-size"], Ml = ["text-anchor", "x", "y", "fill", "font-size"], Pl = { key: 2 }, jl = ["d", "fill", "stroke"], Tl = { key: 5 }, Sl = { key: 0 }, Dl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ol = ["stroke-dasharray", "d", "stroke", "stroke-width"], zl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Nl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Bl = ["d", "stroke", "stroke-width", "fill"], Al = ["d", "stroke", "stroke-width", "fill"], Il = { key: 1 }, Ll = ["onClick"], Vl = ["id"], Wl = ["stop-color"], Gl = ["stop-color"], Ul = ["id"], El = ["stop-color"], Hl = ["stop-color"], Rl = ["stop-color"], Zl = ["stop-color"], ql = ["stop-color"], Xl = ["onMouseenter", "onClick", "d", "fill"], Yl = ["onMouseenter", "onClick", "d"], Jl = ["onMouseenter", "onClick", "d", "fill"], Kl = ["onClick"], Ql = ["stroke", "d"], eo = ["cx", "cy", "fill", "stroke"], to = ["x", "y", "width", "height"], lo = { key: 1 }, oo = ["d", "stroke"], so = ["d", "fill", "stroke"], ao = ["id"], no = ["stop-color"], ro = ["stop-color"], uo = ["cx", "cy", "fill"], io = ["cx", "cy", "fill"], co = { key: 0 }, ho = ["text-anchor", "x", "y", "fill", "font-size"], vo = ["text-anchor", "x", "y", "fill", "font-size"], fo = { key: 2 }, po = ["d", "fill", "stroke"], yo = {
13
+ }, bt = ["xmlns", "viewBox"], xt = ["width", "height"], wt = ["id"], Ct = ["stop-color"], Ft = ["stop-color"], Mt = ["id"], Pt = ["stop-color"], St = ["stop-color"], jt = ["id"], Tt = ["stop-color"], Dt = ["stop-color"], Ot = ["id"], zt = ["stop-color"], Nt = ["stop-color"], Bt = ["stop-color"], At = { key: 1 }, It = ["id"], Lt = ["stop-color"], Vt = ["stop-color"], Wt = ["id"], Gt = ["stop-color"], Ut = ["stop-color"], Et = ["id"], Rt = ["stop-color"], Ht = ["stop-color"], Zt = ["id"], qt = ["x", "y", "font-size", "font-weight", "fill"], Xt = ["x", "y"], Yt = ["d", "stroke"], Jt = ["d", "stroke"], Kt = { key: 4 }, Qt = { key: 0 }, el = ["stroke-dasharray", "d", "stroke", "stroke-width"], tl = ["stroke-dasharray", "d", "stroke", "stroke-width"], ll = ["stroke-dasharray", "d", "stroke", "stroke-width"], ol = ["stroke-dasharray", "d", "stroke", "stroke-width"], sl = { key: 1 }, al = ["d", "stroke", "stroke-width", "fill"], nl = ["d", "stroke", "stroke-width", "fill"], rl = ["d", "stroke", "stroke-width", "fill"], ul = { key: 2 }, il = ["d", "fill", "onMouseenter", "onClick"], dl = ["d", "fill", "onMouseenter", "onClick"], cl = ["d", "fill", "onMouseenter", "onClick"], hl = ["d", "onMouseenter", "onClick"], vl = ["d"], fl = ["d", "stroke"], pl = ["onClick"], yl = ["stroke", "d"], kl = ["cx", "cy", "fill", "stroke"], gl = ["x", "y", "width", "height"], $l = { key: 1 }, _l = ["d", "stroke"], ml = ["d", "fill", "stroke"], bl = ["id"], xl = ["stop-color"], wl = ["stop-color"], Cl = ["cx", "cy", "fill"], Fl = ["cx", "cy", "fill"], Ml = { key: 0 }, Pl = ["text-anchor", "x", "y", "fill", "font-size"], Sl = ["text-anchor", "x", "y", "fill", "font-size"], jl = { key: 2 }, Tl = ["d", "fill", "stroke"], Dl = { key: 5 }, Ol = { key: 0 }, zl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Nl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Bl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Al = ["stroke-dasharray", "d", "stroke", "stroke-width"], Il = ["d", "stroke", "stroke-width", "fill"], Ll = ["d", "stroke", "stroke-width", "fill"], Vl = { key: 1 }, Wl = ["onClick"], Gl = ["id"], Ul = ["stop-color"], El = ["stop-color"], Rl = ["id"], Hl = ["stop-color"], Zl = ["stop-color"], ql = ["stop-color"], Xl = ["stop-color"], Yl = ["stop-color"], Jl = ["onMouseenter", "onClick", "d", "fill"], Kl = ["onMouseenter", "onClick", "d"], Ql = ["onMouseenter", "onClick", "d", "fill"], eo = ["onClick"], to = ["stroke", "d"], lo = ["cx", "cy", "fill", "stroke"], oo = ["x", "y", "width", "height"], so = { key: 1 }, ao = ["d", "stroke"], no = ["d", "fill", "stroke"], ro = ["id"], uo = ["stop-color"], io = ["stop-color"], co = ["cx", "cy", "fill"], ho = ["cx", "cy", "fill"], vo = { key: 0 }, fo = ["text-anchor", "x", "y", "fill", "font-size"], po = ["text-anchor", "x", "y", "fill", "font-size"], yo = { key: 2 }, ko = ["d", "fill", "stroke"], go = {
13
14
  key: 4,
14
15
  class: "vue-data-ui-watermark"
15
- }, ko = {
16
+ }, $o = {
16
17
  key: 6,
17
18
  ref: "source",
18
19
  dir: "auto"
19
- }, go = ["innerHTML"], $o = {
20
+ }, _o = ["innerHTML"], mo = {
20
21
  __name: "vue-ui-3d-bar",
21
22
  props: {
22
23
  config: {
@@ -33,34 +34,34 @@ const gt = ["id"], $t = {
33
34
  }
34
35
  },
35
36
  emits: ["selectDatapoint"],
36
- setup(ze, { expose: Ne, emit: Be }) {
37
- const Ae = G(() => import("./vue-ui-accordion-P6eFHGQp.js")), Ie = G(() => import("./DataTable-BBbOgI-a.js")), Le = G(() => import("./PackageVersion-D0VPY8-5.js")), Ve = G(() => import("./PenAndPaper-DhBJsnob.js")), We = G(() => import("./vue-ui-skeleton-CjN2ZdgT.js")), Ge = G(() => import("./UserOptions-Bdit7AWO.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
+ setup(Ne, { expose: Be, emit: Ae }) {
38
+ const Ie = G(() => import("./vue-ui-accordion-yWXqkLfQ.js")), Le = G(() => import("./DataTable-IzCJ9gby.js")), Ve = G(() => import("./PackageVersion-u8Hc4rJi.js")), We = G(() => import("./PenAndPaper-6iArlmj7.js")), Ge = G(() => import("./vue-ui-skeleton-7gkY0oe-.js")), Ue = G(() => import("./UserOptions-X9Ckvwp-.js")), { vue_ui_3d_bar: Ee } = at(), $ = Ne, q = Ae, X = j(() => !!$.dataset && Object.keys($.dataset).length), b = S(Te()), Re = S(null), R = S(null), I = S(!1), de = S(0), ce = S(0), t = j({
38
39
  get: () => pe(),
39
40
  set: (a) => a
40
- }), { userOptionsVisible: se, setUserOptionsVisibility: he, keepUserOptionState: ve } = ft({ config: t.value }), { svgRef: fe } = pt({ config: t.value.style.chart.title });
41
+ }), { userOptionsVisible: ae, setUserOptionsVisibility: he, keepUserOptionState: ve } = pt({ config: t.value }), { svgRef: fe } = yt({ config: t.value.style.chart.title });
41
42
  function pe() {
42
- const a = Oe({
43
+ const a = ze({
43
44
  userConfig: $.config,
44
- defaultConfig: Ue
45
+ defaultConfig: Ee
45
46
  });
46
47
  return a.theme ? {
47
- ...Oe({
48
- userConfig: nt.vue_ui_3d_bar[a.theme] || $.config,
48
+ ...ze({
49
+ userConfig: rt.vue_ui_3d_bar[a.theme] || $.config,
49
50
  defaultConfig: a
50
51
  }),
51
- customPalette: at[a.theme] || Q
52
+ customPalette: nt[a.theme] || ee
52
53
  } : a;
53
54
  }
54
- Ke(() => $.config, (a) => {
55
- t.value = pe(), se.value = !t.value.userOptions.showOnChartHover, _e(), de.value += 1, ce.value += 1, H.value.showTable = t.value.table.show;
55
+ Qe(() => $.config, (a) => {
56
+ t.value = pe(), ae.value = !t.value.userOptions.showOnChartHover, _e(), de.value += 1, ce.value += 1, H.value.showTable = t.value.table.show;
56
57
  }, { deep: !0 });
57
- const { isPrinting: ye, isImaging: ke, generatePdf: ge, generateImage: $e } = vt({
58
+ const { isPrinting: ye, isImaging: ke, generatePdf: ge, generateImage: $e } = ft({
58
59
  elementId: `3d_bar_${b.value}`,
59
60
  fileName: t.value.style.chart.title.text || "vue-ui-3d-bar",
60
61
  options: t.value.userOptions.print
61
- }), He = T(() => rt(t.value.customPalette)), H = j({
62
+ }), He = j(() => ut(t.value.customPalette)), H = S({
62
63
  showTable: t.value.table.show
63
- }), F = T(() => $.dataset.series && $.dataset.series.length), o = T(() => ({
64
+ }), F = j(() => $.dataset.series && $.dataset.series.length), o = j(() => ({
64
65
  height: t.value.style.chart.box.dimensions.height,
65
66
  width: t.value.style.chart.box.dimensions.width,
66
67
  absoluteWidth: t.value.style.chart.box.dimensions.width * (F.value ? 2 : 1),
@@ -69,25 +70,25 @@ const gt = ["id"], $t = {
69
70
  left: t.value.style.chart.box.dimensions.left,
70
71
  right: t.value.style.chart.box.dimensions.right,
71
72
  perspective: t.value.style.chart.box.dimensions.perspective
72
- })), C = T(() => {
73
+ })), C = j(() => {
73
74
  if (F.value) {
74
75
  const a = $.dataset.series.map((l) => l.value || 0).reduce((l, r) => l + r, 0), s = $.dataset.series.map((l, r) => ({
75
76
  ...l,
76
77
  id: Te(),
77
78
  proportion: (l.value || 0) / a,
78
- color: ut(l.color) || He.value[r] || Q[r] || Q[r % Q.length],
79
+ color: it(l.color) || He.value[r] || ee[r] || ee[r % ee.length],
79
80
  breakdown: l.breakdown ? l.breakdown.sort((i, k) => k.value - i.value) : null
80
81
  })).sort((l, r) => r.value - l.value), e = [];
81
82
  let h = 0;
82
83
  for (let l = 0; l < s.length; l += 1)
83
84
  e.push({
84
85
  ...s[l],
85
- fill: Re(h, s[l].proportion, s[l].breakdown, s[l].color)
86
+ fill: Ze(h, s[l].proportion, s[l].breakdown, s[l].color)
86
87
  }), h += s[l].proportion;
87
88
  return e;
88
89
  }
89
90
  return null;
90
- }), z = T(() => ({
91
+ }), z = j(() => ({
91
92
  right: `M${o.value.width / 2},${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} ${o.value.width / 2},${o.value.height - o.value.bottom}`,
92
93
  left: `M${o.value.width / 2},${o.value.top} ${o.value.left},${o.value.top + o.value.perspective} ${o.value.left},${o.value.height - o.value.bottom - o.value.perspective} ${o.value.width / 2},${o.value.height - o.value.bottom}`,
93
94
  side: `M${o.value.width / 2},${o.value.height - o.value.bottom} ${o.value.width / 2},${o.value.top + o.value.perspective * 2}`,
@@ -96,8 +97,8 @@ const gt = ["id"], $t = {
96
97
  tubeLeft: `M${o.value.left},${o.value.top + o.value.perspective} ${o.value.left},${o.value.height - o.value.bottom - o.value.perspective}`,
97
98
  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}`,
98
99
  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}`
99
- })), V = j(t.value.style.chart.animation.use ? 0 : $.dataset.percentage);
100
- Qe(() => {
100
+ })), V = S(t.value.style.chart.animation.use ? 0 : $.dataset.percentage);
101
+ et(() => {
101
102
  _e();
102
103
  let a = 0, s = t.value.style.chart.animation.speed, e = 5e-3 * t.value.style.chart.animation.acceleration;
103
104
  function h() {
@@ -106,26 +107,26 @@ const gt = ["id"], $t = {
106
107
  t.value.style.chart.animation.use && (V.value = 0, h());
107
108
  });
108
109
  function _e() {
109
- it($.dataset) ? ee({
110
+ dt($.dataset) ? te({
110
111
  componentName: "VueUi3dBar",
111
112
  type: "dataset"
112
113
  }) : $.dataset.series ? $.dataset.series.forEach((a, s) => {
113
- ue({
114
+ ie({
114
115
  datasetObject: a,
115
116
  requiredAttributes: ["name", "value"]
116
117
  }).forEach((e) => {
117
- ee({
118
+ te({
118
119
  componentName: "VueUi3dBar",
119
120
  type: "datasetSerieAttribute",
120
121
  property: e,
121
122
  index: s
122
123
  });
123
124
  }), a.breakdown && a.breakdown.forEach((e, h) => {
124
- ue({
125
+ ie({
125
126
  datasetObject: e,
126
127
  requiredAttributes: ["name", "value"]
127
128
  }).forEach((l) => {
128
- ee({
129
+ te({
129
130
  componentName: "VueUi3dBar",
130
131
  type: "datasetSerieAttribute",
131
132
  property: l,
@@ -133,28 +134,28 @@ const gt = ["id"], $t = {
133
134
  });
134
135
  });
135
136
  });
136
- }) : ue({
137
+ }) : ie({
137
138
  datasetObject: $.dataset,
138
139
  requiredAttributes: ["percentage"]
139
140
  }).forEach((a) => {
140
- ee({
141
+ te({
141
142
  componentName: "VueUi3dBar",
142
143
  type: "datasetAttribute",
143
144
  property: a
144
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: 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
- let Ce = null, Fe = null;
150
- return Ye && (e = e.map((Me, Je) => ({
151
- ...Me,
152
- value: Me.value || 0,
153
- color: E(h, Je / e.length)
154
- })), Ce = Se(
148
+ function Ze(a, s, e, h) {
149
+ 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, ue = i - v - p - l * s / 2, Ye = ue > o.value.height / 2 ? "top" : "bottom", Ce = 64, Je = !!e;
150
+ let Fe = null, Me = null;
151
+ return Je && (e = e.map((Pe, Ke) => ({
152
+ ...Pe,
153
+ value: Pe.value || 0,
154
+ color: E(h, Ke / e.length)
155
+ })), Fe = De(
155
156
  { series: e },
156
157
  r + o.value.absoluteWidth / 4 - 14,
157
- Xe === "top" ? re - we : re + we,
158
+ Ye === "top" ? ue - Ce : ue + Ce,
158
159
  28,
159
160
  28,
160
161
  1.99999,
@@ -163,7 +164,7 @@ const gt = ["id"], $t = {
163
164
  360,
164
165
  105.25,
165
166
  14
166
- ), Fe = Se(
167
+ ), Me = De(
167
168
  { series: e },
168
169
  r - w + 20,
169
170
  i - v - p - l * s / 2,
@@ -176,8 +177,8 @@ const gt = ["id"], $t = {
176
177
  105.25,
177
178
  6
178
179
  )), {
179
- donut: Ce,
180
- miniDonut: Fe,
180
+ donut: Fe,
181
+ miniDonut: Me,
181
182
  sidePointer: {
182
183
  x: r - w,
183
184
  y: i - v - p - l * s / 2,
@@ -205,7 +206,7 @@ const gt = ["id"], $t = {
205
206
  ${f},${i - v - p}Z`
206
207
  };
207
208
  }
208
- const R = T(() => {
209
+ const Z = j(() => {
209
210
  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
211
  return {
211
212
  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`,
@@ -223,9 +224,9 @@ const gt = ["id"], $t = {
223
224
  ${i},${h}
224
225
  ${i},${h - f - k}Z`
225
226
  };
226
- }), x = j(null);
227
+ }), x = S(null);
227
228
  function M(a, s = !1) {
228
- Z("selectDatapoint", a), s || (x.value = a.id), s && I.value && (I.value = !1), s && !I.value && (I.value = !0);
229
+ q("selectDatapoint", a), s || (x.value = a.id), s && I.value && (I.value = !1), s && !I.value && (I.value = !0);
229
230
  }
230
231
  function L() {
231
232
  I.value || (x.value = null);
@@ -237,14 +238,14 @@ const gt = ["id"], $t = {
237
238
  function me(a) {
238
239
  return [...a].map((s) => s.value).reduce((s, e) => s + e, 0);
239
240
  }
240
- const ae = j(!1);
241
- function Ze(a) {
242
- ae.value = a;
241
+ const ne = S(!1);
242
+ function be(a) {
243
+ ne.value = a;
243
244
  }
244
245
  function qe() {
245
246
  return F.value ? C.value : $.dataset.percentage;
246
247
  }
247
- const N = T(() => {
248
+ const N = j(() => {
248
249
  if (F.value) {
249
250
  const a = C.value.flatMap((e) => e.breakdown && e.breakdown.length ? [{ name: e.name, color: e.color }, ...e.breakdown.map((h, l) => ({
250
251
  name: h.name,
@@ -257,19 +258,19 @@ const gt = ["id"], $t = {
257
258
  } else
258
259
  return null;
259
260
  });
260
- function be(a = null) {
261
+ function xe(a = null) {
261
262
  if (!F.value) {
262
263
  console.warn("VueUi3dBar : CSV download is only available in stack mode (providing dataset.series instead of dataset.percentage)");
263
264
  return;
264
265
  }
265
- ot(() => {
266
+ st(() => {
266
267
  const s = C.value.map((r) => r.value).reduce((r, i) => r + i, 0), e = N.value.head.map((r, i) => [[
267
268
  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" });
269
+ ], [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 = ht(h);
270
+ a ? a(l) : vt({ csvContent: l, title: t.value.style.chart.title.text || "vue-ui-3d-bar" });
270
271
  });
271
272
  }
272
- const X = T(() => {
273
+ const Y = j(() => {
273
274
  const a = C.value.map((r) => r.value).reduce((r, i) => r + i, 0), s = [
274
275
  ' <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
276
  D({ p: t.value.style.chart.legend.prefix, v: a, s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue }),
@@ -313,39 +314,53 @@ const gt = ["id"], $t = {
313
314
  config: h
314
315
  };
315
316
  });
316
- function xe() {
317
+ function we() {
317
318
  H.value.showTable = !H.value.showTable;
318
319
  }
319
- const Y = j(!1);
320
- function ne() {
321
- Y.value = !Y.value;
320
+ const J = S(!1);
321
+ function re() {
322
+ J.value = !J.value;
322
323
  }
323
- return Ne({
324
- generateCsv: be,
324
+ async function Xe({ scale: a = 2 } = {}) {
325
+ if (!R.value) return;
326
+ const { width: s, height: e } = R.value.getBoundingClientRect(), h = s / e, { imageUri: l, base64: r } = await gt({ domElement: R.value, base64: !0, img: !0, scale: a });
327
+ return {
328
+ imageUri: l,
329
+ base64: r,
330
+ title: t.value.style.chart.title.text,
331
+ width: s,
332
+ height: e,
333
+ aspectRatio: h
334
+ };
335
+ }
336
+ return Be({
337
+ getImage: Xe,
338
+ generateCsv: xe,
325
339
  generatePdf: ge,
326
340
  generateImage: $e,
327
341
  getData: qe,
328
- toggleTable: xe,
329
- toggleAnnotator: ne
342
+ toggleTable: we,
343
+ toggleAnnotator: re,
344
+ toggleFullscreen: be
330
345
  }), (a, s) => (n(), c("div", {
331
346
  ref_key: "bar3dChart",
332
- ref: ie,
333
- class: Pe("vue-ui-3d-bar"),
347
+ ref: R,
348
+ class: Se("vue-ui-3d-bar"),
334
349
  style: O(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),
335
350
  id: `3d_bar_${b.value}`,
336
351
  onMouseenter: s[2] || (s[2] = () => u(he)(!0)),
337
352
  onMouseleave: s[3] || (s[3] = () => u(he)(!1))
338
353
  }, [
339
- t.value.userOptions.buttons.annotator ? (n(), U(u(Ve), {
354
+ t.value.userOptions.buttons.annotator ? (n(), U(u(We), {
340
355
  key: 0,
341
356
  svgRef: u(fe),
342
357
  backgroundColor: t.value.style.chart.backgroundColor,
343
358
  color: t.value.style.chart.color,
344
- active: Y.value,
345
- onClose: ne
359
+ active: J.value,
360
+ onClose: re
346
361
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
347
- t.value.style.chart.title.text ? (n(), c("div", $t, [
348
- (n(), U(yt, {
362
+ t.value.style.chart.title.text ? (n(), c("div", mt, [
363
+ (n(), U(kt, {
349
364
  key: `title_${de.value}`,
350
365
  config: {
351
366
  title: {
@@ -359,10 +374,10 @@ const gt = ["id"], $t = {
359
374
  }
360
375
  }, null, 8, ["config"]))
361
376
  ])) : y("", !0),
362
- t.value.userOptions.show && q.value && (u(ve) || u(se)) ? (n(), U(u(Ge), {
377
+ t.value.userOptions.show && X.value && (u(ve) || u(ae)) ? (n(), U(u(Ue), {
363
378
  key: 2,
364
379
  ref_key: "details",
365
- ref: Ee,
380
+ ref: Re,
366
381
  backgroundColor: t.value.style.chart.backgroundColor,
367
382
  color: t.value.style.chart.color,
368
383
  isPrinting: u(ye),
@@ -374,81 +389,82 @@ const gt = ["id"], $t = {
374
389
  hasImg: t.value.userOptions.buttons.img,
375
390
  hasFullscreen: t.value.userOptions.buttons.fullscreen,
376
391
  titles: { ...t.value.userOptions.buttonTitles },
377
- chartElement: ie.value,
392
+ chartElement: R.value,
378
393
  position: t.value.userOptions.position,
379
394
  hasAnnotator: t.value.userOptions.buttons.annotator,
380
- isAnnotation: Y.value,
395
+ isAnnotation: J.value,
381
396
  callbacks: t.value.userOptions.callbacks,
382
- onToggleFullscreen: Ze,
397
+ printScale: t.value.userOptions.print.scale,
398
+ onToggleFullscreen: be,
383
399
  onGeneratePdf: u(ge),
384
- onGenerateCsv: be,
400
+ onGenerateCsv: xe,
385
401
  onGenerateImage: u($e),
386
- onToggleTable: xe,
387
- onToggleAnnotator: ne,
402
+ onToggleTable: we,
403
+ onToggleAnnotator: re,
388
404
  style: O({
389
- visibility: u(ve) ? u(se) ? "visible" : "hidden" : "visible"
405
+ visibility: u(ve) ? u(ae) ? "visible" : "hidden" : "visible"
390
406
  })
391
- }, et({ _: 2 }, [
407
+ }, tt({ _: 2 }, [
392
408
  a.$slots.menuIcon ? {
393
409
  name: "menuIcon",
394
- fn: S(({ isOpen: e, color: h }) => [
395
- P(a.$slots, "menuIcon", J(K({ isOpen: e, color: h })), void 0, !0)
410
+ fn: T(({ isOpen: e, color: h }) => [
411
+ P(a.$slots, "menuIcon", K(Q({ isOpen: e, color: h })), void 0, !0)
396
412
  ]),
397
413
  key: "0"
398
414
  } : void 0,
399
415
  a.$slots.optionPdf ? {
400
416
  name: "optionPdf",
401
- fn: S(() => [
417
+ fn: T(() => [
402
418
  P(a.$slots, "optionPdf", {}, void 0, !0)
403
419
  ]),
404
420
  key: "1"
405
421
  } : void 0,
406
422
  a.$slots.optionCsv ? {
407
423
  name: "optionCsv",
408
- fn: S(() => [
424
+ fn: T(() => [
409
425
  P(a.$slots, "optionCsv", {}, void 0, !0)
410
426
  ]),
411
427
  key: "2"
412
428
  } : void 0,
413
429
  a.$slots.optionImg ? {
414
430
  name: "optionImg",
415
- fn: S(() => [
431
+ fn: T(() => [
416
432
  P(a.$slots, "optionImg", {}, void 0, !0)
417
433
  ]),
418
434
  key: "3"
419
435
  } : void 0,
420
436
  a.$slots.optionTable ? {
421
437
  name: "optionTable",
422
- fn: S(() => [
438
+ fn: T(() => [
423
439
  P(a.$slots, "optionTable", {}, void 0, !0)
424
440
  ]),
425
441
  key: "4"
426
442
  } : void 0,
427
443
  a.$slots.optionFullscreen ? {
428
444
  name: "optionFullscreen",
429
- fn: S(({ toggleFullscreen: e, isFullscreen: h }) => [
430
- P(a.$slots, "optionFullscreen", J(K({ toggleFullscreen: e, isFullscreen: h })), void 0, !0)
445
+ fn: T(({ toggleFullscreen: e, isFullscreen: h }) => [
446
+ P(a.$slots, "optionFullscreen", K(Q({ toggleFullscreen: e, isFullscreen: h })), void 0, !0)
431
447
  ]),
432
448
  key: "5"
433
449
  } : void 0,
434
450
  a.$slots.optionAnnotator ? {
435
451
  name: "optionAnnotator",
436
- fn: S(({ toggleAnnotator: e, isAnnotator: h }) => [
437
- P(a.$slots, "optionAnnotator", J(K({ toggleAnnotator: e, isAnnotator: h })), void 0, !0)
452
+ fn: T(({ toggleAnnotator: e, isAnnotator: h }) => [
453
+ P(a.$slots, "optionAnnotator", K(Q({ toggleAnnotator: e, isAnnotator: h })), void 0, !0)
438
454
  ]),
439
455
  key: "6"
440
456
  } : void 0
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(), c("svg", {
457
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
458
+ X.value ? (n(), c("svg", {
443
459
  key: 3,
444
460
  ref_key: "svgRef",
445
461
  ref: fe,
446
- xmlns: u(dt),
447
- class: Pe({ "vue-data-ui-fullscreen--on": ae.value, "vue-data-ui-fulscreen--off": !ae.value }),
462
+ xmlns: u(ct),
463
+ class: Se({ "vue-data-ui-fullscreen--on": ne.value, "vue-data-ui-fulscreen--off": !ne.value }),
448
464
  viewBox: `0 0 ${o.value.absoluteWidth} ${o.value.height}`,
449
465
  style: O(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)
450
466
  }, [
451
- tt(u(Le)),
467
+ lt(u(Ve)),
452
468
  a.$slots["chart-background"] ? (n(), c("foreignObject", {
453
469
  key: 0,
454
470
  x: 0,
@@ -460,7 +476,7 @@ const gt = ["id"], $t = {
460
476
  }
461
477
  }, [
462
478
  P(a.$slots, "chart-background", {}, void 0, !0)
463
- ], 8, mt)) : y("", !0),
479
+ ], 8, xt)) : y("", !0),
464
480
  d("defs", null, [
465
481
  d("radialGradient", {
466
482
  id: `gradient_top${b.value}`
@@ -468,36 +484,36 @@ const gt = ["id"], $t = {
468
484
  d("stop", {
469
485
  offset: "0%",
470
486
  "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
471
- }, null, 8, xt),
487
+ }, null, 8, Ct),
472
488
  d("stop", {
473
489
  offset: "100%",
474
490
  "stop-color": t.value.style.chart.bar.color
475
- }, null, 8, wt)
476
- ], 8, bt),
491
+ }, null, 8, Ft)
492
+ ], 8, wt),
477
493
  d("radialGradient", {
478
494
  id: `gradient_left${b.value}`
479
495
  }, [
480
496
  d("stop", {
481
497
  offset: "0%",
482
498
  "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
483
- }, null, 8, Ft),
499
+ }, null, 8, Pt),
484
500
  d("stop", {
485
501
  offset: "100%",
486
502
  "stop-color": u(g)(t.value.style.chart.bar.color, 20)
487
- }, null, 8, Mt)
488
- ], 8, Ct),
503
+ }, null, 8, St)
504
+ ], 8, Mt),
489
505
  d("radialGradient", {
490
506
  id: `gradient_right${b.value}`
491
507
  }, [
492
508
  d("stop", {
493
509
  offset: "0%",
494
510
  "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
495
- }, null, 8, jt),
511
+ }, null, 8, Tt),
496
512
  d("stop", {
497
513
  offset: "100%",
498
514
  "stop-color": u(g)(t.value.style.chart.bar.color, 20)
499
- }, null, 8, Tt)
500
- ], 8, Pt),
515
+ }, null, 8, Dt)
516
+ ], 8, jt),
501
517
  d("linearGradient", {
502
518
  id: `gradient_tube_body${b.value}`,
503
519
  x1: "0%",
@@ -508,54 +524,54 @@ const gt = ["id"], $t = {
508
524
  d("stop", {
509
525
  offset: "0%",
510
526
  "stop-color": `${t.value.style.chart.bar.color}`
511
- }, null, 8, Dt),
527
+ }, null, 8, zt),
512
528
  d("stop", {
513
529
  offset: "75%",
514
530
  "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
515
- }, null, 8, Ot),
531
+ }, null, 8, Nt),
516
532
  d("stop", {
517
533
  offset: "100%",
518
534
  "stop-color": u(g)(t.value.style.chart.bar.color, 40)
519
- }, null, 8, zt)
520
- ], 8, St)
535
+ }, null, 8, Bt)
536
+ ], 8, Ot)
521
537
  ]),
522
- F.value ? (n(), c("defs", Nt, [
538
+ F.value ? (n(), c("defs", At, [
523
539
  (n(!0), c(_, null, m(C.value, (e) => (n(), c("radialGradient", {
524
540
  id: `grad_top_${e.id}`
525
541
  }, [
526
542
  d("stop", {
527
543
  offset: "0%",
528
544
  "stop-color": u(g)(u(E)(e.color, 0.5), 80)
529
- }, null, 8, At),
545
+ }, null, 8, Lt),
530
546
  d("stop", {
531
547
  offset: "100%",
532
548
  "stop-color": e.color
533
- }, null, 8, It)
534
- ], 8, Bt))), 256)),
549
+ }, null, 8, Vt)
550
+ ], 8, It))), 256)),
535
551
  (n(!0), c(_, null, m(C.value, (e) => (n(), c("linearGradient", {
536
552
  id: `grad_left_${e.id}`
537
553
  }, [
538
554
  d("stop", {
539
555
  offset: "0%",
540
556
  "stop-color": u(g)(e.color, 80)
541
- }, null, 8, Vt),
557
+ }, null, 8, Gt),
542
558
  d("stop", {
543
559
  offset: "100%",
544
- "stop-color": u(g)(u(te)(e.color, 0.5), 100)
545
- }, null, 8, Wt)
546
- ], 8, Lt))), 256)),
560
+ "stop-color": u(g)(u(le)(e.color, 0.5), 100)
561
+ }, null, 8, Ut)
562
+ ], 8, Wt))), 256)),
547
563
  (n(!0), c(_, null, m(C.value, (e) => (n(), c("linearGradient", {
548
564
  id: `grad_right_${e.id}`
549
565
  }, [
550
566
  d("stop", {
551
567
  offset: "2%",
552
568
  "stop-color": u(g)(u(E)(e.color, 0.5), 100)
553
- }, null, 8, Ut),
569
+ }, null, 8, Rt),
554
570
  d("stop", {
555
571
  offset: "100%",
556
572
  "stop-color": u(g)(e.color, 80)
557
- }, null, 8, Et)
558
- ], 8, Gt))), 256)),
573
+ }, null, 8, Ht)
574
+ ], 8, Et))), 256)),
559
575
  d("linearGradient", {
560
576
  x1: "0%",
561
577
  y1: "0%",
@@ -571,7 +587,7 @@ const gt = ["id"], $t = {
571
587
  offset: "100%",
572
588
  "stop-color": "#FFFFFF33"
573
589
  }, null, -1)
574
- ]), 8, Ht)
590
+ ]), 8, Zt)
575
591
  ])) : y("", !0),
576
592
  t.value.style.chart.dataLabel.show && ![null, void 0].includes($.dataset.percentage) && [null, void 0].includes($.dataset.series) ? (n(), c("text", {
577
593
  key: 2,
@@ -585,7 +601,7 @@ const gt = ["id"], $t = {
585
601
  v: V.value,
586
602
  s: "%",
587
603
  r: t.value.style.chart.dataLabel.rounding
588
- })), 9, Rt)) : y("", !0),
604
+ })), 9, qt)) : y("", !0),
589
605
  I.value ? (n(), c("g", {
590
606
  key: 3,
591
607
  onClick: s[0] || (s[0] = (e) => {
@@ -600,22 +616,22 @@ const gt = ["id"], $t = {
600
616
  height: 12,
601
617
  width: 12,
602
618
  fill: "transparent"
603
- }, null, 8, Zt),
619
+ }, null, 8, Xt),
604
620
  d("path", {
605
621
  d: `M${o.value.width / 2 - 6},${o.value.top - 20} ${o.value.width / 2 + 6},${o.value.top - 9}`,
606
622
  stroke: t.value.style.chart.color,
607
623
  "stroke-linecap": "round",
608
624
  "stroke-width": "1"
609
- }, null, 8, qt),
625
+ }, null, 8, Yt),
610
626
  d("path", {
611
627
  d: `M${o.value.width / 2 + 6},${o.value.top - 20} ${o.value.width / 2 - 6},${o.value.top - 9}`,
612
628
  stroke: t.value.style.chart.color,
613
629
  "stroke-linecap": "round",
614
630
  "stroke-width": "1"
615
- }, null, 8, Xt)
631
+ }, null, 8, Jt)
616
632
  ])) : y("", !0),
617
- !t.value.style.shape || t.value.style.shape === "bar" ? (n(), c("g", Yt, [
618
- F.value ? y("", !0) : (n(), c("g", Jt, [
633
+ !t.value.style.shape || t.value.style.shape === "bar" ? (n(), c("g", Kt, [
634
+ F.value ? y("", !0) : (n(), c("g", Qt, [
619
635
  d("path", {
620
636
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
621
637
  d: z.value.right,
@@ -624,7 +640,7 @@ const gt = ["id"], $t = {
624
640
  "stroke-linejoin": "round",
625
641
  "stroke-linecap": "round",
626
642
  fill: "none"
627
- }, null, 8, Kt),
643
+ }, null, 8, el),
628
644
  d("path", {
629
645
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
630
646
  d: z.value.left,
@@ -633,7 +649,7 @@ const gt = ["id"], $t = {
633
649
  "stroke-linejoin": "round",
634
650
  "stroke-linecap": "round",
635
651
  fill: "none"
636
- }, null, 8, Qt),
652
+ }, null, 8, tl),
637
653
  d("path", {
638
654
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
639
655
  d: z.value.side,
@@ -642,7 +658,7 @@ const gt = ["id"], $t = {
642
658
  "stroke-linejoin": "round",
643
659
  "stroke-linecap": "round",
644
660
  fill: "none"
645
- }, null, 8, el),
661
+ }, null, 8, ll),
646
662
  d("path", {
647
663
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
648
664
  d: z.value.topSides,
@@ -651,35 +667,35 @@ const gt = ["id"], $t = {
651
667
  "stroke-linejoin": "round",
652
668
  "stroke-linecap": "round",
653
669
  fill: "none"
654
- }, null, 8, tl)
670
+ }, null, 8, ol)
655
671
  ])),
656
- F.value ? y("", !0) : (n(), c("g", ll, [
672
+ F.value ? y("", !0) : (n(), c("g", sl, [
657
673
  d("path", {
658
- d: R.value.right,
674
+ d: Z.value.right,
659
675
  stroke: t.value.style.chart.bar.stroke,
660
676
  "stroke-width": t.value.style.chart.bar.strokeWidth,
661
677
  "stroke-linejoin": "round",
662
678
  "stroke-linecap": "round",
663
679
  fill: `url(#gradient_right${b.value})`
664
- }, null, 8, ol),
680
+ }, null, 8, al),
665
681
  d("path", {
666
- d: R.value.left,
682
+ d: Z.value.left,
667
683
  stroke: t.value.style.chart.bar.stroke,
668
684
  "stroke-width": t.value.style.chart.bar.strokeWidth,
669
685
  "stroke-linejoin": "round",
670
686
  "stroke-linecap": "round",
671
687
  fill: `url(#gradient_left${b.value})`
672
- }, null, 8, sl),
688
+ }, null, 8, nl),
673
689
  d("path", {
674
- d: R.value.top,
690
+ d: Z.value.top,
675
691
  stroke: t.value.style.chart.bar.stroke,
676
692
  "stroke-width": t.value.style.chart.bar.strokeWidth,
677
693
  "stroke-linejoin": "round",
678
694
  "stroke-linecap": "round",
679
695
  fill: `url(#gradient_top${b.value})`
680
- }, null, 8, al)
696
+ }, null, 8, rl)
681
697
  ])),
682
- F.value ? (n(), c("g", nl, [
698
+ F.value ? (n(), c("g", ul, [
683
699
  (n(!0), c(_, null, m(C.value, (e, h) => (n(), c("g", {
684
700
  style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
685
701
  class: "vue-ui-3d-bar-stack"
@@ -690,21 +706,21 @@ const gt = ["id"], $t = {
690
706
  onMouseenter: (l) => M(e),
691
707
  onClick: (l) => M(e, !0),
692
708
  onMouseout: L
693
- }, null, 40, rl),
709
+ }, null, 40, il),
694
710
  d("path", {
695
711
  d: e.fill.left,
696
712
  fill: `url(#grad_left_${e.id})`,
697
713
  onMouseenter: (l) => M(e),
698
714
  onClick: (l) => M(e, !0),
699
715
  onMouseout: L
700
- }, null, 40, ul),
716
+ }, null, 40, dl),
701
717
  d("path", {
702
718
  d: e.fill.top,
703
719
  fill: `url(#grad_top_${e.id})`,
704
720
  onMouseenter: (l) => M(e),
705
721
  onClick: (l) => M(e, !0),
706
722
  onMouseout: L
707
- }, null, 40, il),
723
+ }, null, 40, cl),
708
724
  d("path", {
709
725
  d: e.fill.liningTop,
710
726
  stroke: "#FFFFFF",
@@ -714,13 +730,13 @@ const gt = ["id"], $t = {
714
730
  onMouseenter: (l) => M(e),
715
731
  onClick: (l) => M(e, !0),
716
732
  onMouseout: L
717
- }, null, 40, dl),
733
+ }, null, 40, hl),
718
734
  d("path", {
719
735
  d: `M ${e.fill.apexTop.x},${e.fill.apexTop.y} ${e.fill.apexBottom.x},${e.fill.apexBottom.y}`,
720
736
  stroke: "#FFFFFF",
721
737
  "stroke-width": "0.5",
722
738
  "stroke-linecap": "round"
723
- }, null, 8, cl)
739
+ }, null, 8, vl)
724
740
  ], 4))), 256)),
725
741
  (n(!0), c(_, null, m(C.value, (e, h) => (n(), c("g", null, [
726
742
  h !== C.value.length - 1 ? (n(), c("path", {
@@ -731,11 +747,11 @@ const gt = ["id"], $t = {
731
747
  "stroke-linecap": "round",
732
748
  fill: "none",
733
749
  style: { "pointer-events": "none" }
734
- }, null, 8, hl)) : y("", !0)
750
+ }, null, 8, fl)) : y("", !0)
735
751
  ]))), 256)),
736
752
  (n(!0), c(_, null, m(C.value, (e, h) => (n(), c("g", {
737
753
  style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
738
- onClick: (l) => Z("selectDatapoint", e)
754
+ onClick: (l) => q("selectDatapoint", e)
739
755
  }, [
740
756
  d("path", {
741
757
  stroke: t.value.style.chart.color,
@@ -743,7 +759,7 @@ const gt = ["id"], $t = {
743
759
  "stroke-width": "0.5",
744
760
  "stroke-linecap": "round",
745
761
  d: `M${e.fill.sidePointer.x},${e.fill.sidePointer.y} ${e.fill.sidePointer.x + 20},${e.fill.sidePointer.y}`
746
- }, null, 8, fl),
762
+ }, null, 8, yl),
747
763
  !e.fill.miniDonut || x.value ? (n(), c("circle", {
748
764
  key: 0,
749
765
  cx: e.fill.sidePointer.x + 20,
@@ -751,7 +767,7 @@ const gt = ["id"], $t = {
751
767
  r: 2,
752
768
  fill: e.color,
753
769
  stroke: t.value.style.chart.backgroundColor
754
- }, null, 8, pl)) : y("", !0),
770
+ }, null, 8, kl)) : y("", !0),
755
771
  (n(), c("foreignObject", {
756
772
  x: e.fill.sidePointer.x + 30,
757
773
  y: e.fill.sidePointer.y - t.value.style.chart.legend.fontSize,
@@ -762,7 +778,7 @@ const gt = ["id"], $t = {
762
778
  t.value.style.chart.legend.showDefault ? (n(), c("div", {
763
779
  key: 0,
764
780
  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
- }, B(u(le)(
781
+ }, B(u(oe)(
766
782
  t.value.style.chart.dataLabel.formatter,
767
783
  e.value,
768
784
  `${e.name}: ${u(D)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })} (${u(D)({
@@ -774,19 +790,19 @@ const gt = ["id"], $t = {
774
790
  { datapoint: e, seriesIndex: h, type: "barDatapoint" }
775
791
  )), 5)) : y("", !0),
776
792
  P(a.$slots, "legend", je({ ref_for: !0 }, { datapoint: e, config: t.value, dataset: C.value }), void 0, !0)
777
- ], 8, yl)),
778
- e.fill.donut && x.value === e.id ? (n(), c("g", kl, [
793
+ ], 8, gl)),
794
+ e.fill.donut && x.value === e.id ? (n(), c("g", $l, [
779
795
  (n(!0), c(_, null, m(e.fill.donut, (l, r) => (n(), c("g", null, [
780
796
  W(l, e.fill.donut, !0) > 6 ? (n(), c("path", {
781
797
  key: 0,
782
- d: u(De)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 10),
798
+ d: u(Oe)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 10),
783
799
  stroke: l.color,
784
800
  class: "vue-ui-donut-arc-path",
785
801
  "stroke-width": "0.5",
786
802
  "stroke-linecap": "round",
787
803
  "stroke-linejoin": "round",
788
804
  fill: "none"
789
- }, null, 8, gl)) : y("", !0)
805
+ }, null, 8, _l)) : y("", !0)
790
806
  ]))), 256)),
791
807
  (n(!0), c(_, null, m(e.fill.donut, (l, r) => (n(), c("path", {
792
808
  class: "vue-ui-donut-arc-path",
@@ -794,7 +810,7 @@ const gt = ["id"], $t = {
794
810
  fill: `${l.color}`,
795
811
  stroke: t.value.style.chart.backgroundColor,
796
812
  "stroke-width": 1
797
- }, null, 8, $l))), 256)),
813
+ }, null, 8, ml))), 256)),
798
814
  d("defs", null, [
799
815
  d("radialGradient", {
800
816
  id: `hollow_gradient_${b.value}`
@@ -802,7 +818,7 @@ const gt = ["id"], $t = {
802
818
  d("stop", {
803
819
  offset: "0%",
804
820
  "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
805
- }, null, 8, ml),
821
+ }, null, 8, xl),
806
822
  s[5] || (s[5] = d("stop", {
807
823
  offset: "77%",
808
824
  "stop-color": "#FFFFFF20"
@@ -810,8 +826,8 @@ const gt = ["id"], $t = {
810
826
  d("stop", {
811
827
  offset: "100%",
812
828
  "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
813
- }, null, 8, bl)
814
- ], 8, _l)
829
+ }, null, 8, wl)
830
+ ], 8, bl)
815
831
  ]),
816
832
  (n(!0), c(_, null, m(e.fill.donut, (l, r) => (n(), c("circle", {
817
833
  class: "vue-ui-donut-arc-path",
@@ -819,23 +835,23 @@ const gt = ["id"], $t = {
819
835
  cy: l.cy,
820
836
  r: 28,
821
837
  fill: `url(#hollow_gradient_${b.value})`
822
- }, null, 8, xl))), 256)),
838
+ }, null, 8, Cl))), 256)),
823
839
  (n(!0), c(_, null, m(e.fill.donut, (l, r) => (n(), c("circle", {
824
840
  class: "vue-ui-donut-arc-path",
825
841
  cx: l.cx,
826
842
  cy: l.cy,
827
843
  r: 14,
828
844
  fill: t.value.style.chart.backgroundColor
829
- }, null, 8, wl))), 256)),
845
+ }, null, 8, Fl))), 256)),
830
846
  (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, [
847
+ W(l, e.fill.donut, !0) > 6 ? (n(), c("g", Ml, [
832
848
  d("text", {
833
849
  "text-anchor": u(A)(l, !0, 0).anchor,
834
850
  x: u(A)(l, !0, 2).x,
835
- y: u(oe)(l, 12, 12),
851
+ y: u(se)(l, 12, 12),
836
852
  fill: t.value.style.chart.legend.color,
837
853
  "font-size": t.value.style.chart.legend.fontSize / 1.5
838
- }, B(u(le)(
854
+ }, B(u(oe)(
839
855
  t.value.style.chart.dataLabel.formatter,
840
856
  l.value,
841
857
  `${W(l, e.fill.donut)} (${u(D)({
@@ -845,31 +861,31 @@ const gt = ["id"], $t = {
845
861
  r: t.value.style.chart.legend.roundingValue
846
862
  })})`,
847
863
  { datapoint: l, seriesIndex: r, type: "donutDatapoint" }
848
- )), 9, Fl),
864
+ )), 9, Pl),
849
865
  d("text", {
850
866
  "text-anchor": u(A)(l).anchor,
851
867
  x: u(A)(l, !0, 2).x,
852
- y: u(oe)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
868
+ y: u(se)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
853
869
  fill: t.value.style.chart.legend.color,
854
870
  "font-size": t.value.style.chart.legend.fontSize / 1.5
855
- }, B(l.name), 9, Ml)
871
+ }, B(l.name), 9, Sl)
856
872
  ])) : y("", !0)
857
873
  ]))), 256))
858
874
  ])) : y("", !0),
859
- e.fill.miniDonut && !x.value ? (n(), c("g", Pl, [
875
+ e.fill.miniDonut && !x.value ? (n(), c("g", jl, [
860
876
  (n(!0), c(_, null, m(e.fill.miniDonut, (l, r) => (n(), c("path", {
861
877
  class: "vue-ui-donut-arc-path",
862
878
  d: l.arcSlice,
863
879
  fill: `${l.color}`,
864
880
  stroke: t.value.style.chart.backgroundColor,
865
881
  "stroke-width": 0.5
866
- }, null, 8, jl))), 256))
882
+ }, null, 8, Tl))), 256))
867
883
  ])) : y("", !0)
868
- ], 12, vl))), 256))
884
+ ], 12, pl))), 256))
869
885
  ])) : y("", !0)
870
886
  ])) : y("", !0),
871
- t.value.style.shape === "tube" ? (n(), c("g", Tl, [
872
- F.value ? y("", !0) : (n(), c("g", Sl, [
887
+ t.value.style.shape === "tube" ? (n(), c("g", Dl, [
888
+ F.value ? y("", !0) : (n(), c("g", Ol, [
873
889
  d("path", {
874
890
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
875
891
  d: z.value.tubeTop,
@@ -878,7 +894,7 @@ const gt = ["id"], $t = {
878
894
  "stroke-linejoin": "round",
879
895
  "stroke-linecap": "round",
880
896
  fill: "none"
881
- }, null, 8, Dl),
897
+ }, null, 8, zl),
882
898
  d("path", {
883
899
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
884
900
  d: z.value.tubeLeft,
@@ -887,7 +903,7 @@ const gt = ["id"], $t = {
887
903
  "stroke-linejoin": "round",
888
904
  "stroke-linecap": "round",
889
905
  fill: "none"
890
- }, null, 8, Ol),
906
+ }, null, 8, Nl),
891
907
  d("path", {
892
908
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
893
909
  d: z.value.tubeRight,
@@ -896,7 +912,7 @@ const gt = ["id"], $t = {
896
912
  "stroke-linejoin": "round",
897
913
  "stroke-linecap": "round",
898
914
  fill: "none"
899
- }, null, 8, zl),
915
+ }, null, 8, Bl),
900
916
  d("path", {
901
917
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
902
918
  d: z.value.tubeBottom,
@@ -905,29 +921,29 @@ const gt = ["id"], $t = {
905
921
  "stroke-linejoin": "round",
906
922
  "stroke-linecap": "round",
907
923
  fill: "none"
908
- }, null, 8, Nl),
924
+ }, null, 8, Al),
909
925
  d("path", {
910
- d: R.value.tubeTop,
926
+ d: Z.value.tubeTop,
911
927
  stroke: t.value.style.chart.bar.stroke,
912
928
  "stroke-width": t.value.style.chart.bar.strokeWidth,
913
929
  "stroke-linejoin": "round",
914
930
  "stroke-linecap": "round",
915
931
  fill: `url(#gradient_top${b.value})`
916
- }, null, 8, Bl),
932
+ }, null, 8, Il),
917
933
  d("path", {
918
- d: R.value.tubeBody,
934
+ d: Z.value.tubeBody,
919
935
  stroke: t.value.style.chart.bar.stroke,
920
936
  "stroke-width": t.value.style.chart.bar.strokeWidth,
921
937
  "stroke-linejoin": "round",
922
938
  "stroke-linecap": "round",
923
939
  fill: `url(#gradient_tube_body${b.value})`
924
- }, null, 8, Al)
940
+ }, null, 8, Ll)
925
941
  ])),
926
- F.value ? (n(), c("g", Il, [
942
+ F.value ? (n(), c("g", Vl, [
927
943
  (n(!0), c(_, null, m(C.value, (e, h) => (n(), c("g", {
928
944
  style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
929
945
  class: "vue-ui-3d-bar-stack",
930
- onClick: (l) => Z("selectDatapoint", e)
946
+ onClick: (l) => q("selectDatapoint", e)
931
947
  }, [
932
948
  d("defs", null, [
933
949
  d("radialGradient", {
@@ -938,12 +954,12 @@ const gt = ["id"], $t = {
938
954
  d("stop", {
939
955
  offset: "0%",
940
956
  "stop-color": u(g)(u(E)(e.color, 0.5), 80)
941
- }, null, 8, Wl),
957
+ }, null, 8, Ul),
942
958
  d("stop", {
943
959
  offset: "100%",
944
- "stop-color": u(g)(u(te)(e.color, 0.1), 80)
945
- }, null, 8, Gl)
946
- ], 8, Vl),
960
+ "stop-color": u(g)(u(le)(e.color, 0.1), 80)
961
+ }, null, 8, El)
962
+ ], 8, Gl),
947
963
  d("linearGradient", {
948
964
  id: `gradient_tube_body_${e.id}`,
949
965
  x1: "0%",
@@ -954,24 +970,24 @@ const gt = ["id"], $t = {
954
970
  d("stop", {
955
971
  offset: "0%",
956
972
  "stop-color": `${e.color}`
957
- }, null, 8, El),
973
+ }, null, 8, Hl),
958
974
  d("stop", {
959
975
  offset: "10%",
960
- "stop-color": u(g)(u(te)(e.color, 0.7), 100)
961
- }, null, 8, Hl),
976
+ "stop-color": u(g)(u(le)(e.color, 0.7), 100)
977
+ }, null, 8, Zl),
962
978
  d("stop", {
963
979
  offset: "25%",
964
- "stop-color": u(g)(u(te)(e.color, 0.5), 100)
965
- }, null, 8, Rl),
980
+ "stop-color": u(g)(u(le)(e.color, 0.5), 100)
981
+ }, null, 8, ql),
966
982
  d("stop", {
967
983
  offset: "75%",
968
984
  "stop-color": u(g)(e.color, 80)
969
- }, null, 8, Zl),
985
+ }, null, 8, Xl),
970
986
  d("stop", {
971
987
  offset: "100%",
972
988
  "stop-color": u(g)(u(E)(e.color, 0.7), 100)
973
- }, null, 8, ql)
974
- ], 8, Ul)
989
+ }, null, 8, Yl)
990
+ ], 8, Rl)
975
991
  ]),
976
992
  d("path", {
977
993
  onMouseenter: (l) => M(e),
@@ -983,7 +999,7 @@ const gt = ["id"], $t = {
983
999
  "stroke-linejoin": "round",
984
1000
  "stroke-linecap": "round",
985
1001
  fill: `url(#gradient_tube_body_${e.id})`
986
- }, null, 40, Xl),
1002
+ }, null, 40, Jl),
987
1003
  h > 0 ? (n(), c("path", {
988
1004
  key: 0,
989
1005
  onMouseenter: (l) => M(e),
@@ -995,7 +1011,7 @@ const gt = ["id"], $t = {
995
1011
  "stroke-linejoin": "round",
996
1012
  "stroke-linecap": "round",
997
1013
  fill: "none"
998
- }, null, 40, Yl)) : y("", !0),
1014
+ }, null, 40, Kl)) : y("", !0),
999
1015
  d("path", {
1000
1016
  onMouseenter: (l) => M(e),
1001
1017
  onClick: (l) => M(e, !0),
@@ -1006,11 +1022,11 @@ const gt = ["id"], $t = {
1006
1022
  "stroke-linejoin": "round",
1007
1023
  "stroke-linecap": "round",
1008
1024
  fill: `url(#gradient_tube_top_${e.id})`
1009
- }, null, 40, Jl)
1010
- ], 12, Ll))), 256)),
1025
+ }, null, 40, Ql)
1026
+ ], 12, Wl))), 256)),
1011
1027
  (n(!0), c(_, null, m(C.value, (e, h) => (n(), c("g", {
1012
1028
  style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
1013
- onClick: (l) => Z("selectDatapoint", e)
1029
+ onClick: (l) => q("selectDatapoint", e)
1014
1030
  }, [
1015
1031
  d("path", {
1016
1032
  stroke: t.value.style.chart.color,
@@ -1018,7 +1034,7 @@ const gt = ["id"], $t = {
1018
1034
  "stroke-width": "0.5",
1019
1035
  "stroke-linecap": "round",
1020
1036
  d: `M${e.fill.sidePointer.x},${e.fill.sidePointer.y} ${e.fill.sidePointer.x + 20},${e.fill.sidePointer.y}`
1021
- }, null, 8, Ql),
1037
+ }, null, 8, to),
1022
1038
  !e.fill.miniDonut || x.value ? (n(), c("circle", {
1023
1039
  key: 0,
1024
1040
  cx: e.fill.sidePointer.x + 20,
@@ -1026,7 +1042,7 @@ const gt = ["id"], $t = {
1026
1042
  r: 2,
1027
1043
  fill: e.color,
1028
1044
  stroke: t.value.style.chart.backgroundColor
1029
- }, null, 8, eo)) : y("", !0),
1045
+ }, null, 8, lo)) : y("", !0),
1030
1046
  (n(), c("foreignObject", {
1031
1047
  x: e.fill.sidePointer.x + 30,
1032
1048
  y: e.fill.sidePointer.y - t.value.style.chart.legend.fontSize,
@@ -1037,7 +1053,7 @@ const gt = ["id"], $t = {
1037
1053
  t.value.style.chart.legend.showDefault ? (n(), c("div", {
1038
1054
  key: 0,
1039
1055
  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
- }, B(u(le)(
1056
+ }, B(u(oe)(
1041
1057
  t.value.style.chart.dataLabel.formatter,
1042
1058
  e.value,
1043
1059
  `${e.name}: ${u(D)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })} (${u(D)({
@@ -1049,19 +1065,19 @@ const gt = ["id"], $t = {
1049
1065
  { datapoint: e, seriesIndex: h, type: "barDatapoint" }
1050
1066
  )), 5)) : y("", !0),
1051
1067
  P(a.$slots, "legend", je({ ref_for: !0 }, { datapoint: e, config: t.value, dataset: C.value }), void 0, !0)
1052
- ], 8, to)),
1053
- e.fill.donut && x.value === e.id ? (n(), c("g", lo, [
1068
+ ], 8, oo)),
1069
+ e.fill.donut && x.value === e.id ? (n(), c("g", so, [
1054
1070
  (n(!0), c(_, null, m(e.fill.donut, (l, r) => (n(), c("g", null, [
1055
1071
  W(l, e.fill.donut, !0) > 6 ? (n(), c("path", {
1056
1072
  key: 0,
1057
- d: u(De)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 10),
1073
+ d: u(Oe)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 10),
1058
1074
  stroke: l.color,
1059
1075
  class: "vue-ui-donut-arc-path",
1060
1076
  "stroke-width": "0.5",
1061
1077
  "stroke-linecap": "round",
1062
1078
  "stroke-linejoin": "round",
1063
1079
  fill: "none"
1064
- }, null, 8, oo)) : y("", !0)
1080
+ }, null, 8, ao)) : y("", !0)
1065
1081
  ]))), 256)),
1066
1082
  (n(!0), c(_, null, m(e.fill.donut, (l, r) => (n(), c("path", {
1067
1083
  class: "vue-ui-donut-arc-path",
@@ -1069,7 +1085,7 @@ const gt = ["id"], $t = {
1069
1085
  fill: `${l.color}`,
1070
1086
  stroke: t.value.style.chart.backgroundColor,
1071
1087
  "stroke-width": 1
1072
- }, null, 8, so))), 256)),
1088
+ }, null, 8, no))), 256)),
1073
1089
  d("defs", null, [
1074
1090
  d("radialGradient", {
1075
1091
  id: `hollow_gradient_${b.value}`
@@ -1077,7 +1093,7 @@ const gt = ["id"], $t = {
1077
1093
  d("stop", {
1078
1094
  offset: "0%",
1079
1095
  "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
1080
- }, null, 8, no),
1096
+ }, null, 8, uo),
1081
1097
  s[6] || (s[6] = d("stop", {
1082
1098
  offset: "77%",
1083
1099
  "stop-color": "#FFFFFF20"
@@ -1085,8 +1101,8 @@ const gt = ["id"], $t = {
1085
1101
  d("stop", {
1086
1102
  offset: "100%",
1087
1103
  "stop-color": u(g)(t.value.style.chart.backgroundColor, 0)
1088
- }, null, 8, ro)
1089
- ], 8, ao)
1104
+ }, null, 8, io)
1105
+ ], 8, ro)
1090
1106
  ]),
1091
1107
  (n(!0), c(_, null, m(e.fill.donut, (l, r) => (n(), c("circle", {
1092
1108
  class: "vue-ui-donut-arc-path",
@@ -1094,23 +1110,23 @@ const gt = ["id"], $t = {
1094
1110
  cy: l.cy,
1095
1111
  r: 28,
1096
1112
  fill: `url(#hollow_gradient_${b.value})`
1097
- }, null, 8, uo))), 256)),
1113
+ }, null, 8, co))), 256)),
1098
1114
  (n(!0), c(_, null, m(e.fill.donut, (l, r) => (n(), c("circle", {
1099
1115
  class: "vue-ui-donut-arc-path",
1100
1116
  cx: l.cx,
1101
1117
  cy: l.cy,
1102
1118
  r: 14,
1103
1119
  fill: t.value.style.chart.backgroundColor
1104
- }, null, 8, io))), 256)),
1120
+ }, null, 8, ho))), 256)),
1105
1121
  (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, [
1122
+ W(l, e.fill.donut, !0) > 6 ? (n(), c("g", vo, [
1107
1123
  d("text", {
1108
1124
  "text-anchor": u(A)(l, !0, 0).anchor,
1109
1125
  x: u(A)(l, !0, 2).x,
1110
- y: u(oe)(l, 12, 12),
1126
+ y: u(se)(l, 12, 12),
1111
1127
  fill: t.value.style.chart.legend.color,
1112
1128
  "font-size": t.value.style.chart.legend.fontSize / 1.5
1113
- }, B(u(le)(
1129
+ }, B(u(oe)(
1114
1130
  t.value.style.chart.dataLabel.formatter,
1115
1131
  l.value,
1116
1132
  `${W(l, e.fill.donut)} (${u(D)({
@@ -1120,35 +1136,35 @@ const gt = ["id"], $t = {
1120
1136
  r: t.value.style.chart.legend.roundingValue
1121
1137
  })})`,
1122
1138
  { datapoint: l, seriesIndex: r, type: "donutDatapoint" }
1123
- )), 9, ho),
1139
+ )), 9, fo),
1124
1140
  d("text", {
1125
1141
  "text-anchor": u(A)(l).anchor,
1126
1142
  x: u(A)(l, !0, 2).x,
1127
- y: u(oe)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
1143
+ y: u(se)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
1128
1144
  fill: t.value.style.chart.legend.color,
1129
1145
  "font-size": t.value.style.chart.legend.fontSize / 1.5
1130
- }, B(l.name), 9, vo)
1146
+ }, B(l.name), 9, po)
1131
1147
  ])) : y("", !0)
1132
1148
  ]))), 256))
1133
1149
  ])) : y("", !0),
1134
- e.fill.miniDonut && !x.value ? (n(), c("g", fo, [
1150
+ e.fill.miniDonut && !x.value ? (n(), c("g", yo, [
1135
1151
  (n(!0), c(_, null, m(e.fill.miniDonut, (l, r) => (n(), c("path", {
1136
1152
  class: "vue-ui-donut-arc-path",
1137
1153
  d: l.arcSlice,
1138
1154
  fill: `${l.color}`,
1139
1155
  stroke: t.value.style.chart.backgroundColor,
1140
1156
  "stroke-width": 0.5
1141
- }, null, 8, po))), 256))
1157
+ }, null, 8, ko))), 256))
1142
1158
  ])) : y("", !0)
1143
- ], 12, Kl))), 256))
1159
+ ], 12, eo))), 256))
1144
1160
  ])) : y("", !0)
1145
1161
  ])) : y("", !0),
1146
1162
  P(a.$slots, "svg", { svg: o.value }, void 0, !0)
1147
- ], 14, _t)) : y("", !0),
1148
- a.$slots.watermark ? (n(), c("div", yo, [
1149
- P(a.$slots, "watermark", J(K({ isPrinting: u(ye) || u(ke) })), void 0, !0)
1163
+ ], 14, bt)) : y("", !0),
1164
+ a.$slots.watermark ? (n(), c("div", go, [
1165
+ P(a.$slots, "watermark", K(Q({ isPrinting: u(ye) || u(ke) })), void 0, !0)
1150
1166
  ])) : y("", !0),
1151
- q.value ? y("", !0) : (n(), U(u(We), {
1167
+ X.value ? y("", !0) : (n(), U(u(Ge), {
1152
1168
  key: 5,
1153
1169
  config: {
1154
1170
  type: "bar3d",
@@ -1160,10 +1176,10 @@ const gt = ["id"], $t = {
1160
1176
  }
1161
1177
  }
1162
1178
  }, null, 8, ["config"])),
1163
- a.$slots.source ? (n(), c("div", ko, [
1179
+ a.$slots.source ? (n(), c("div", $o, [
1164
1180
  P(a.$slots, "source", {}, void 0, !0)
1165
1181
  ], 512)) : y("", !0),
1166
- q.value && F.value ? (n(), U(u(Ae), {
1182
+ X.value && F.value ? (n(), U(u(Ie), {
1167
1183
  key: 7,
1168
1184
  hideDetails: "",
1169
1185
  config: {
@@ -1179,33 +1195,33 @@ const gt = ["id"], $t = {
1179
1195
  }
1180
1196
  }
1181
1197
  }, {
1182
- content: S(() => [
1183
- (n(), U(u(Ie), {
1198
+ content: T(() => [
1199
+ (n(), U(u(Le), {
1184
1200
  key: `table_${ce.value}`,
1185
- colNames: X.value.colNames,
1186
- head: X.value.head,
1187
- body: X.value.body,
1188
- config: X.value.config,
1201
+ colNames: Y.value.colNames,
1202
+ head: Y.value.head,
1203
+ body: Y.value.body,
1204
+ config: Y.value.config,
1189
1205
  title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
1190
1206
  onClose: s[1] || (s[1] = (e) => H.value.showTable = !1)
1191
1207
  }, {
1192
- th: S(({ th: e }) => [
1208
+ th: T(({ th: e }) => [
1193
1209
  d("div", {
1194
1210
  innerHTML: e,
1195
1211
  style: { display: "flex", "align-items": "center" }
1196
- }, null, 8, go)
1212
+ }, null, 8, _o)
1197
1213
  ]),
1198
- td: S(({ td: e }) => [
1199
- lt(B(e.name || e), 1)
1214
+ td: T(({ td: e }) => [
1215
+ ot(B(e.name || e), 1)
1200
1216
  ]),
1201
1217
  _: 1
1202
1218
  }, 8, ["colNames", "head", "body", "config", "title"]))
1203
1219
  ]),
1204
1220
  _: 1
1205
1221
  }, 8, ["config"])) : y("", !0)
1206
- ], 44, gt));
1222
+ ], 44, _t));
1207
1223
  }
1208
- }, Po = /* @__PURE__ */ kt($o, [["__scopeId", "data-v-f21d1895"]]);
1224
+ }, To = /* @__PURE__ */ $t(mo, [["__scopeId", "data-v-8adf5842"]]);
1209
1225
  export {
1210
- Po as default
1226
+ To as default
1211
1227
  };