vue-data-ui 3.6.0 → 3.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/README.md +26 -26
  2. package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DhKIof09.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
  4. package/dist/{BaseIcon-DLFL0M4-.js → BaseIcon-CofSxalQ.js} +1 -1
  5. package/dist/{ColorPicker-CjIJvLdc.js → ColorPicker-e1-OSGlQ.js} +10 -10
  6. package/dist/{DataTable-UCyd_BQI.js → DataTable-CHaOCmsE.js} +2 -2
  7. package/dist/{Legend-D9ZTJKjh.js → Legend-Web3GjlR.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-a2UzZL0y.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
  9. package/dist/{PackageVersion-D_4Hr4S4.js → PackageVersion-C82JCJOX.js} +1 -1
  10. package/dist/{PenAndPaper-BJSMejV9.js → PenAndPaper-HCZQTkqi.js} +20 -20
  11. package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
  12. package/dist/{Slicer-CJfhtoVn.js → Slicer-BFBBG6xv.js} +23 -23
  13. package/dist/{SlicerPreview-wXjV4LWO.js → SlicerPreview-D76aSViW.js} +2 -2
  14. package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
  15. package/dist/{Title-Bb1VWCtR.js → Title-DfFUb9hd.js} +1 -1
  16. package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
  17. package/dist/{UserOptions-BqmUW9Kp.js → UserOptions-B3I-s3Lw.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +3 -3
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +3 -3
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +3 -3
  24. package/dist/components/vue-ui-candlestick.js +3 -3
  25. package/dist/components/vue-ui-carousel-table.js +1 -1
  26. package/dist/components/vue-ui-chestnut.js +3 -3
  27. package/dist/components/vue-ui-chord.js +3 -3
  28. package/dist/components/vue-ui-circle-pack.js +3 -3
  29. package/dist/components/vue-ui-cursor.js +1 -1
  30. package/dist/components/vue-ui-dashboard.js +1 -1
  31. package/dist/components/vue-ui-digits.js +1 -1
  32. package/dist/components/vue-ui-donut-evolution.js +2 -2
  33. package/dist/components/vue-ui-donut.js +3 -3
  34. package/dist/components/vue-ui-dumbbell.js +3 -3
  35. package/dist/components/vue-ui-flow.js +3 -3
  36. package/dist/components/vue-ui-funnel.js +2 -2
  37. package/dist/components/vue-ui-galaxy.js +1 -1
  38. package/dist/components/vue-ui-gauge.js +1 -1
  39. package/dist/components/vue-ui-gizmo.js +1 -1
  40. package/dist/components/vue-ui-heatmap.js +1 -1
  41. package/dist/components/vue-ui-history-plot.js +3 -3
  42. package/dist/components/vue-ui-horizontal-bar.js +3 -3
  43. package/dist/components/vue-ui-icon.js +1 -1
  44. package/dist/components/vue-ui-kpi.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +3 -3
  47. package/dist/components/vue-ui-mood-radar.js +3 -3
  48. package/dist/components/vue-ui-nested-donuts.js +2 -2
  49. package/dist/components/vue-ui-onion.js +3 -3
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +3 -3
  52. package/dist/components/vue-ui-quick-chart.js +3 -3
  53. package/dist/components/vue-ui-radar.js +3 -3
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +3 -3
  56. package/dist/components/vue-ui-ridgeline.js +3 -3
  57. package/dist/components/vue-ui-rings.js +3 -3
  58. package/dist/components/vue-ui-scatter.js +3 -3
  59. package/dist/components/vue-ui-skeleton.js +1 -1
  60. package/dist/components/vue-ui-smiley.js +1 -1
  61. package/dist/components/vue-ui-spark-trend.js +1 -1
  62. package/dist/components/vue-ui-sparkbar.js +2 -2
  63. package/dist/components/vue-ui-sparkgauge.js +3 -3
  64. package/dist/components/vue-ui-sparkhistogram.js +3 -3
  65. package/dist/components/vue-ui-sparkline.js +3 -3
  66. package/dist/components/vue-ui-sparkstackbar.js +2 -2
  67. package/dist/components/vue-ui-stackbar.js +3 -3
  68. package/dist/components/vue-ui-stackline.js +1 -1
  69. package/dist/components/vue-ui-strip-plot.js +3 -3
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +2 -2
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +3 -3
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +2 -2
  76. package/dist/components/vue-ui-treemap.js +3 -3
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +2 -2
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +3 -3
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +3 -3
  83. package/dist/components/vue-ui-xy.js +3 -3
  84. package/dist/{dom-to-png--BNgrTZV.js → dom-to-png-CH2DfsJe.js} +1 -1
  85. package/dist/{img-BecE5qXd.js → img-DUzJeMlr.js} +1 -1
  86. package/dist/{lib-C_mNZmhD.js → lib-C5BH09_g.js} +111 -110
  87. package/dist/{pdf-DuG5j3Wv.js → pdf-BSWQncok.js} +1 -1
  88. package/dist/style.css +1 -1
  89. package/dist/types/vue-data-ui.d.ts +2 -0
  90. package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
  91. package/dist/{useNestedProp-CIoDlpHu.js → useNestedProp-CWo6bftQ.js} +1 -1
  92. package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
  93. package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
  94. package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
  95. package/dist/{vue-data-ui-BWuOXu_s.js → vue-data-ui-d-OXgGG3.js} +78 -78
  96. package/dist/vue-data-ui.js +225 -205
  97. package/dist/{vue-ui-3d-bar-BNQAuLqF.js → vue-ui-3d-bar-BLbSbx2V.js} +546 -517
  98. package/dist/{vue-ui-accordion-SSLXLlNz.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
  99. package/dist/vue-ui-age-pyramid-DQ-xc-if.js +960 -0
  100. package/dist/{vue-ui-annotator-34Ld0u5M.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
  101. package/dist/vue-ui-bullet-BvMdxLkK.js +657 -0
  102. package/dist/{vue-ui-candlestick-BcChw-8c.js → vue-ui-candlestick-DIWeygxV.js} +596 -561
  103. package/dist/{vue-ui-carousel-table-Cp_od0lI.js → vue-ui-carousel-table-DM2HJFMH.js} +48 -48
  104. package/dist/{vue-ui-chestnut-DTaIsP72.js → vue-ui-chestnut-DNOG6dqY.js} +534 -505
  105. package/dist/vue-ui-chord-D2wPt2JV.js +1182 -0
  106. package/dist/vue-ui-circle-pack-D_GDv7OV.js +832 -0
  107. package/dist/{vue-ui-cursor-lW-dVs_k.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
  108. package/dist/{vue-ui-dashboard-DIymn9Cx.js → vue-ui-dashboard-BMby447A.js} +140 -140
  109. package/dist/{vue-ui-digits-YHA3fA0j.js → vue-ui-digits-D382I0-w.js} +2 -2
  110. package/dist/{vue-ui-donut-BaDmbWLh.js → vue-ui-donut-BqiNPW3q.js} +634 -602
  111. package/dist/vue-ui-donut-evolution-BL7HtdsP.js +1243 -0
  112. package/dist/vue-ui-dumbbell-BlTDnM8L.js +1258 -0
  113. package/dist/vue-ui-flow-BxIv20FH.js +1026 -0
  114. package/dist/vue-ui-funnel-Tnjg4srR.js +743 -0
  115. package/dist/vue-ui-galaxy-CYDVXdNj.js +837 -0
  116. package/dist/vue-ui-gauge-DAcpazK7.js +864 -0
  117. package/dist/{vue-ui-gizmo-E33_xZte.js → vue-ui-gizmo-Bg2TpPwm.js} +3 -3
  118. package/dist/{vue-ui-heatmap-DJXMvFPp.js → vue-ui-heatmap-BPEE_cLi.js} +501 -466
  119. package/dist/vue-ui-history-plot-BhfbLer8.js +1239 -0
  120. package/dist/{vue-ui-kpi-C-XuLBVQ.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
  121. package/dist/{vue-ui-mini-loader-DawncJvl.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
  122. package/dist/vue-ui-molecule-DnzXYuUi.js +782 -0
  123. package/dist/vue-ui-mood-radar-CXyQEfeM.js +930 -0
  124. package/dist/vue-ui-nested-donuts-Dq8JoU5d.js +1454 -0
  125. package/dist/vue-ui-onion-D0KUHi-Z.js +944 -0
  126. package/dist/vue-ui-parallel-coordinate-plot-DNc2L4Rg.js +1080 -0
  127. package/dist/{vue-ui-quadrant-B2bLWyCm.js → vue-ui-quadrant-Cp8loNVN.js} +510 -481
  128. package/dist/{vue-ui-quick-chart-J_RmCwI_.js → vue-ui-quick-chart-kuTdgAKG.js} +795 -758
  129. package/dist/vue-ui-radar-x2Ry_IGa.js +1013 -0
  130. package/dist/{vue-ui-rating-CBS8zaQd.js → vue-ui-rating-DtzmtJwF.js} +26 -26
  131. package/dist/vue-ui-relation-circle-DbYE9UHq.js +671 -0
  132. package/dist/vue-ui-ridgeline-yaMl8iIE.js +1302 -0
  133. package/dist/vue-ui-rings-BowsO9I8.js +884 -0
  134. package/dist/vue-ui-scatter-C_nz0A4x.js +1619 -0
  135. package/dist/{vue-ui-skeleton-DsrlMELy.js → vue-ui-skeleton-DdXq2gl1.js} +3 -3
  136. package/dist/{vue-ui-smiley-P_8WIBDD.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
  137. package/dist/vue-ui-spark-trend-BLticwHl.js +364 -0
  138. package/dist/vue-ui-sparkbar-DC2sDr9_.js +381 -0
  139. package/dist/vue-ui-sparkgauge-BENUfyuR.js +260 -0
  140. package/dist/vue-ui-sparkhistogram-BY0jsNsc.js +411 -0
  141. package/dist/vue-ui-sparkline-fS36LGCB.js +549 -0
  142. package/dist/vue-ui-sparkstackbar-C59ocU83.js +470 -0
  143. package/dist/vue-ui-stackbar-BtWWtzDp.js +1867 -0
  144. package/dist/vue-ui-stackline-CsGEHOOr.js +1963 -0
  145. package/dist/{vue-ui-strip-plot-CTtivaxm.js → vue-ui-strip-plot-n_rEdwkM.js} +343 -314
  146. package/dist/{vue-ui-table-CHt3AQiq.js → vue-ui-table-Kv2YL5OU.js} +5 -5
  147. package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
  148. package/dist/{vue-ui-table-sparkline-D5MckwMl.js → vue-ui-table-sparkline-B8CCAdco.js} +292 -263
  149. package/dist/vue-ui-thermometer-C1Hr_LrY.js +613 -0
  150. package/dist/{vue-ui-timer-B-Xa6ALH.js → vue-ui-timer-CmnO99_j.js} +25 -25
  151. package/dist/vue-ui-tiremarks-DbZbhw6Q.js +477 -0
  152. package/dist/vue-ui-treemap-BGMpUu5v.js +1359 -0
  153. package/dist/{vue-ui-vertical-bar-D9XQe_ud.js → vue-ui-vertical-bar-CWlGQoB3.js} +520 -485
  154. package/dist/{vue-ui-waffle-Bk98w86A.js → vue-ui-waffle-BVVrMghT.js} +376 -347
  155. package/dist/vue-ui-wheel-B2pFBeKR.js +690 -0
  156. package/dist/vue-ui-word-cloud-BqKSDn2J.js +904 -0
  157. package/dist/{vue-ui-world-xOY__pp8.js → vue-ui-world-glj9mQAg.js} +57 -57
  158. package/dist/vue-ui-xy-BdXV4naK.js +3455 -0
  159. package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
  160. package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
  161. package/package.json +5 -5
  162. package/dist/themes-DH-N_ePR.js +0 -54
  163. package/dist/vue-ui-age-pyramid-DsOlpJBh.js +0 -933
  164. package/dist/vue-ui-bullet-Ci4lO4_W.js +0 -630
  165. package/dist/vue-ui-chord-BKC--Nbq.js +0 -1153
  166. package/dist/vue-ui-circle-pack-B3sfU0Vo.js +0 -803
  167. package/dist/vue-ui-donut-evolution-BqUzmyW2.js +0 -1208
  168. package/dist/vue-ui-dumbbell-CWKTrzsm.js +0 -1231
  169. package/dist/vue-ui-flow-SMbuDPdL.js +0 -991
  170. package/dist/vue-ui-funnel-3fRlMBzq.js +0 -716
  171. package/dist/vue-ui-galaxy-CFZ1xYD5.js +0 -808
  172. package/dist/vue-ui-gauge-DJpbjfpL.js +0 -835
  173. package/dist/vue-ui-history-plot-CvPMx5Lg.js +0 -1204
  174. package/dist/vue-ui-molecule-CasngKZI.js +0 -753
  175. package/dist/vue-ui-mood-radar-DGz2TQi4.js +0 -903
  176. package/dist/vue-ui-nested-donuts-Bjjz2sWG.js +0 -1419
  177. package/dist/vue-ui-onion-DwTIY6i1.js +0 -915
  178. package/dist/vue-ui-parallel-coordinate-plot-DedxvtPN.js +0 -1051
  179. package/dist/vue-ui-radar-D1rz2RnH.js +0 -984
  180. package/dist/vue-ui-relation-circle-DUfRwwo1.js +0 -641
  181. package/dist/vue-ui-ridgeline-DKPWMWRc.js +0 -1273
  182. package/dist/vue-ui-rings-BY0EQGLb.js +0 -855
  183. package/dist/vue-ui-scatter-ky9p5Pgh.js +0 -1590
  184. package/dist/vue-ui-spark-trend-DkJn_3FI.js +0 -337
  185. package/dist/vue-ui-sparkbar-qB1fmgej.js +0 -352
  186. package/dist/vue-ui-sparkgauge-BezFN_Rc.js +0 -233
  187. package/dist/vue-ui-sparkhistogram-DGt5b8FR.js +0 -384
  188. package/dist/vue-ui-sparkline-D7Wx1ejg.js +0 -514
  189. package/dist/vue-ui-sparkstackbar-DtO7-yim.js +0 -441
  190. package/dist/vue-ui-stackbar-Dr48I48D.js +0 -1832
  191. package/dist/vue-ui-stackline-Juns5Yh4.js +0 -1928
  192. package/dist/vue-ui-table-heatmap-Cn-56b5F.js +0 -282
  193. package/dist/vue-ui-thermometer-BOidpwAZ.js +0 -584
  194. package/dist/vue-ui-tiremarks-BsTyVS2P.js +0 -450
  195. package/dist/vue-ui-treemap-BWTaY91B.js +0 -1330
  196. package/dist/vue-ui-wheel-nj73b_Dc.js +0 -663
  197. package/dist/vue-ui-word-cloud-Dcaogr-D.js +0 -875
  198. package/dist/vue-ui-xy-BT67faLv.js +0 -3424
  199. package/dist/vue-ui-xy-canvas-BoB7-4QK.js +0 -1564
@@ -1,20 +1,37 @@
1
- import { defineAsyncComponent as Z, computed as D, ref as _, toRefs as Pt, watch as we, onMounted as St, createElementBlock as v, openBlock as u, unref as n, normalizeStyle as z, normalizeClass as Ye, createBlock as te, createCommentVNode as p, withCtx as w, renderSlot as m, normalizeProps as j, guardReactiveProps as N, createSlots as Ke, createVNode as Qe, createElementVNode as i, Fragment as F, renderList as T, toDisplayString as L, withKeys as Je, withModifiers as et, mergeProps as Ce, resolveDynamicComponent as Dt, createTextVNode as tt, nextTick as ot } from "vue";
2
- import { c as lt, t as At, b as Ot, p as ve, e as Bt, h as It, o as zt, f as he, g as Me, S as V, T as at, x as jt, d as B, X as Nt, s as $, U as q, a as fe, V as st, W as pe, Y as U, P as Lt, Q as Wt } from "./lib-C_mNZmhD.js";
3
- import { t as Et, u as Rt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Gt, a as nt } from "./useNestedProp-CIoDlpHu.js";
5
- import { u as Vt, B as Ut } from "./BaseScanner-BgWxam9d.js";
6
- import { u as Ht } from "./usePrinter-DTzqpYKF.js";
7
- import { u as Xt } from "./useSvgExport-DrjCWun4.js";
8
- import { u as Zt } from "./useUserOptionState-BIvW1Kz7.js";
9
- import { u as qt } from "./useChartAccessibility-9icAAmYg.js";
10
- import Yt from "./img-BecE5qXd.js";
11
- import Kt from "./Title-Bb1VWCtR.js";
12
- import { t as Qt } from "./themes-DH-N_ePR.js";
13
- import { _ as Jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["id"], ao = ["stop-color"], so = ["stop-color"], no = ["id"], ro = ["stop-color"], uo = ["stop-color"], io = ["id"], co = ["stop-color"], vo = ["stop-color"], ho = ["id"], fo = ["stop-color"], po = ["stop-color"], go = ["id"], yo = ["stop-color"], ko = ["stop-color"], $o = ["stop-color"], _o = ["stop-color"], mo = ["stop-color"], bo = { key: 1 }, xo = ["id"], wo = ["stop-color"], Co = ["stop-color"], Mo = ["id"], Fo = ["stop-color"], To = ["stop-color"], Po = ["id"], So = ["stop-color"], Do = ["stop-color"], Ao = ["id"], Oo = ["x", "y", "font-size", "font-weight", "fill"], Bo = ["x", "y"], Io = ["cx", "cy", "stroke", "opacity"], zo = ["d", "stroke"], jo = ["d", "stroke"], No = { key: 4 }, Lo = { key: 0 }, Wo = ["stroke-dasharray", "d", "stroke", "stroke-width"], Eo = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ro = ["stroke-dasharray", "d", "stroke", "stroke-width"], Go = ["stroke-dasharray", "d", "stroke", "stroke-width"], Vo = { key: 1 }, Uo = ["d", "stroke", "stroke-width", "fill"], Ho = ["d", "stroke", "stroke-width", "fill"], Xo = ["d", "stroke", "stroke-width", "fill"], Zo = { key: 2 }, qo = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], Yo = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], Ko = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], Qo = ["d", "onMouseenter", "onClick", "onMouseout"], Jo = ["d"], el = ["d", "stroke"], tl = ["onClick"], ol = ["stroke", "d"], ll = ["cx", "cy", "fill", "stroke"], al = ["x", "y", "width", "height"], sl = ["x", "y", "width", "height"], nl = { key: 3 }, rl = ["d", "stroke"], ul = ["d", "fill", "stroke"], il = { key: 0 }, dl = ["text-anchor", "x", "y", "fill", "font-size"], cl = ["text-anchor", "x", "y", "fill", "font-size"], vl = { key: 4 }, hl = ["d", "fill", "stroke"], fl = { key: 5 }, pl = { key: 0 }, gl = ["stroke-dasharray", "d", "stroke", "stroke-width"], yl = ["stroke-dasharray", "d", "stroke", "stroke-width"], kl = ["stroke-dasharray", "d", "stroke", "stroke-width"], $l = ["stroke-dasharray", "d", "stroke", "stroke-width"], _l = ["d", "stroke", "stroke-width", "fill"], ml = ["d", "stroke", "stroke-width", "fill"], bl = ["d"], xl = { key: 1 }, wl = ["onClick"], Cl = ["id"], Ml = ["stop-color"], Fl = ["stop-color"], Tl = ["id"], Pl = ["stop-color"], Sl = ["stop-color"], Dl = ["stop-color"], Al = ["stop-color"], Ol = ["stop-color"], Bl = ["onMouseenter", "onClick", "onMouseout", "d", "fill"], Il = ["onMouseenter", "onClick", "onMouseout", "d"], zl = ["onMouseenter", "onClick", "onMouseout", "d", "fill"], jl = ["onClick"], Nl = ["stroke", "d"], Ll = ["cx", "cy", "fill", "stroke"], Wl = ["x", "y", "width", "height"], El = ["x", "y", "width", "height"], Rl = { key: 3 }, Gl = ["d", "stroke"], Vl = ["d", "fill", "stroke"], Ul = { key: 0 }, Hl = ["text-anchor", "x", "y", "fill", "font-size"], Xl = ["text-anchor", "x", "y", "fill", "font-size"], Zl = { key: 4 }, ql = ["d", "fill", "stroke"], Yl = {
1
+ import { defineAsyncComponent as Z, computed as P, ref as b, toRefs as It, watch as xe, onMounted as Nt, createElementBlock as v, openBlock as u, unref as n, normalizeStyle as j, normalizeClass as Ke, createBlock as te, createCommentVNode as p, withCtx as x, renderSlot as _, normalizeProps as z, guardReactiveProps as I, createSlots as Je, createVNode as Qe, createElementVNode as i, Fragment as D, renderList as F, toDisplayString as N, withKeys as et, withModifiers as tt, mergeProps as we, resolveDynamicComponent as Lt, createTextVNode as ot, nextTick as lt } from "vue";
2
+ import { c as at, t as Wt, i as Rt, p as ve, j as Gt, l as Vt, o as Ut, g as he, k as Ae, n as V, Z as st, M as Ht, d as O, X as Xt, s as $, r as q, a as fe, _ as nt, $ as pe, a0 as U, u as Zt, q as qt } from "./lib-C5BH09_g.js";
3
+ import { t as Yt, u as Kt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Jt, a as De } from "./useNestedProp-CWo6bftQ.js";
5
+ import { u as Qt, B as eo } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as to } from "./usePrinter-DCJzEiS8.js";
7
+ import { u as oo } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as lo } from "./useThemeCheck-DGJ31Vi5.js";
9
+ import { u as ao } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as so } from "./useChartAccessibility-9icAAmYg.js";
11
+ import no from "./img-DUzJeMlr.js";
12
+ import ro from "./Title-DfFUb9hd.js";
13
+ import { _ as uo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const rt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", box: { stroke: "#5A5A5A" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, legend: { color: "#CCCCCC" }, dataLabel: { color: "#CCCCCC" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, ut = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", bar: { color: "#D32F2F" }, box: { stroke: "#5D4037" }, title: { color: "#424242", subtitle: { color: "#757575" } }, legend: { color: "#424242" }, dataLabel: { color: "#424242" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, it = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", bar: { color: "#D32F2F" }, box: { stroke: "#5D4037" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, legend: { color: "#BDBDBD" }, dataLabel: { color: "#BDBDBD" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, dt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", bar: { color: "#66CC66" }, box: { stroke: "#333333" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, legend: { color: "#99AA99" }, dataLabel: { color: "#AACCAA" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, ct = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", bar: { color: "#B9B99D" }, box: { stroke: "#DCDFE7" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, legend: { color: "#99AA99" }, dataLabel: { color: "#A0AC94" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, vt = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", bar: { color: "#4A6A75" }, box: { stroke: "#DEE1DE" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, legend: { color: "#61747E" }, dataLabel: { color: "#61747E" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, ht = {
15
+ default: {},
16
+ dark: rt,
17
+ celebration: ut,
18
+ celebrationNight: it,
19
+ hack: dt,
20
+ zen: ct,
21
+ concrete: vt
22
+ }, Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
23
+ __proto__: null,
24
+ celebration: ut,
25
+ celebrationNight: it,
26
+ concrete: vt,
27
+ dark: rt,
28
+ default: ht,
29
+ hack: dt,
30
+ zen: ct
31
+ }, Symbol.toStringTag, { value: "Module" })), io = ["id"], co = ["xmlns", "viewBox"], vo = ["width", "height"], ho = ["id"], fo = ["stop-color"], po = ["stop-color"], go = ["id"], ko = ["stop-color"], yo = ["stop-color"], $o = ["id"], bo = ["stop-color"], _o = ["stop-color"], mo = ["id"], Co = ["stop-color"], xo = ["stop-color"], wo = ["id"], Ao = ["stop-color"], Do = ["stop-color"], Fo = ["stop-color"], Mo = ["stop-color"], To = ["stop-color"], Po = { key: 1 }, So = ["id"], Bo = ["stop-color"], Oo = ["stop-color"], Eo = ["id"], jo = ["stop-color"], zo = ["stop-color"], Io = ["id"], No = ["stop-color"], Lo = ["stop-color"], Wo = ["id"], Ro = ["x", "y", "font-size", "font-weight", "fill"], Go = ["x", "y"], Vo = ["cx", "cy", "stroke", "opacity"], Uo = ["d", "stroke"], Ho = ["d", "stroke"], Xo = { key: 4 }, Zo = { key: 0 }, qo = ["stroke-dasharray", "d", "stroke", "stroke-width"], Yo = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ko = ["stroke-dasharray", "d", "stroke", "stroke-width"], Jo = ["stroke-dasharray", "d", "stroke", "stroke-width"], Qo = { key: 1 }, el = ["d", "stroke", "stroke-width", "fill"], tl = ["d", "stroke", "stroke-width", "fill"], ol = ["d", "stroke", "stroke-width", "fill"], ll = { key: 2 }, al = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], sl = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], nl = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], rl = ["d", "onMouseenter", "onClick", "onMouseout"], ul = ["d"], il = ["d", "stroke"], dl = ["onClick"], cl = ["stroke", "d"], vl = ["cx", "cy", "fill", "stroke"], hl = ["x", "y", "width", "height"], fl = ["x", "y", "width", "height"], pl = { key: 3 }, gl = ["d", "stroke"], kl = ["d", "fill", "stroke"], yl = { key: 0 }, $l = ["text-anchor", "x", "y", "fill", "font-size"], bl = ["text-anchor", "x", "y", "fill", "font-size"], _l = { key: 4 }, ml = ["d", "fill", "stroke"], Cl = { key: 5 }, xl = { key: 0 }, wl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Al = ["stroke-dasharray", "d", "stroke", "stroke-width"], Dl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Fl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ml = ["d", "stroke", "stroke-width", "fill"], Tl = ["d", "stroke", "stroke-width", "fill"], Pl = ["d"], Sl = { key: 1 }, Bl = ["onClick"], Ol = ["id"], El = ["stop-color"], jl = ["stop-color"], zl = ["id"], Il = ["stop-color"], Nl = ["stop-color"], Ll = ["stop-color"], Wl = ["stop-color"], Rl = ["stop-color"], Gl = ["onMouseenter", "onClick", "onMouseout", "d", "fill"], Vl = ["onMouseenter", "onClick", "onMouseout", "d"], Ul = ["onMouseenter", "onClick", "onMouseout", "d", "fill"], Hl = ["onClick"], Xl = ["stroke", "d"], Zl = ["cx", "cy", "fill", "stroke"], ql = ["x", "y", "width", "height"], Yl = ["x", "y", "width", "height"], Kl = { key: 3 }, Jl = ["d", "stroke"], Ql = ["d", "fill", "stroke"], ea = { key: 0 }, ta = ["text-anchor", "x", "y", "fill", "font-size"], oa = ["text-anchor", "x", "y", "fill", "font-size"], la = { key: 4 }, aa = ["d", "fill", "stroke"], sa = {
15
32
  key: 3,
16
33
  class: "vue-data-ui-watermark"
17
- }, Kl = ["innerHTML"], Ql = {
34
+ }, na = ["innerHTML"], ra = {
18
35
  __name: "vue-ui-3d-bar",
19
36
  props: {
20
37
  config: {
@@ -31,14 +48,14 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
31
48
  }
32
49
  },
33
50
  emits: ["selectDatapoint"],
34
- setup(rt, { expose: ut, emit: it }) {
35
- const dt = Z(() => import("./BaseIcon-DLFL0M4-.js")), ct = Z(() => import("./vue-ui-accordion-SSLXLlNz.js")), vt = Z(() => import("./DataTable-UCyd_BQI.js")), ht = Z(() => import("./PenAndPaper-BJSMejV9.js")), ft = Z(() => import("./UserOptions-BqmUW9Kp.js")), pt = Z(() => import("./PackageVersion-D_4Hr4S4.js")), gt = Z(() => import("./BaseDraggableDialog-DhKIof09.js")), { vue_ui_3d_bar: yt } = Gt(), O = rt, ne = it, Fe = D(() => !!O.dataset && Object.keys(O.dataset).length), P = _(lt()), W = _(null), I = _(!1), Te = _(0), Pe = _(0), Se = _(null), oe = _(null), re = _(null), De = _(null), le = _(!1), ae = _(null), ge = _(null), e = _($e()), { loading: Y, FINAL_DATASET: A } = Vt({
36
- ...Pt(O),
51
+ setup(ft, { expose: pt, emit: gt }) {
52
+ const kt = Z(() => import("./BaseIcon-CofSxalQ.js")), yt = Z(() => import("./vue-ui-accordion-DSdZUn2C.js")), $t = Z(() => import("./DataTable-CHaOCmsE.js")), bt = Z(() => import("./PenAndPaper-HCZQTkqi.js")), _t = Z(() => import("./UserOptions-B3I-s3Lw.js")), mt = Z(() => import("./PackageVersion-C82JCJOX.js")), Ct = Z(() => import("./BaseDraggableDialog-CRF94NJQ.js")), { vue_ui_3d_bar: xt } = Jt(), { isThemeValid: wt, warnInvalidTheme: At } = lo(), S = ft, ne = gt, Fe = P(() => !!S.dataset && Object.keys(S.dataset).length), M = b(at()), L = b(null), E = b(!1), Me = b(0), Te = b(0), Pe = b(null), oe = b(null), re = b(null), Se = b(null), le = b(!1), ae = b(null), ge = b(null), e = b($e()), { loading: Y, FINAL_DATASET: B } = Qt({
53
+ ...It(S),
37
54
  FINAL_CONFIG: e,
38
55
  prepareConfig: $e,
39
56
  callback: () => {
40
57
  Promise.resolve().then(async () => {
41
- await ot(), Le();
58
+ await lt(), Le();
42
59
  });
43
60
  },
44
61
  skeletonDataset: {
@@ -69,7 +86,7 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
69
86
  }
70
87
  ]
71
88
  },
72
- skeletonConfig: At({
89
+ skeletonConfig: Wt({
73
90
  defaultConfig: e.value,
74
91
  userConfig: {
75
92
  customPalette: ["#808080", "#ADADAD", "#DBDBDB"],
@@ -90,94 +107,101 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
90
107
  }
91
108
  }
92
109
  })
93
- }), { userOptionsVisible: ye, setUserOptionsVisibility: Ae, keepUserOptionState: Oe } = Zt({ config: e.value }), { svgRef: ke } = qt({ config: e.value.style.chart.title });
110
+ }), { userOptionsVisible: ke, setUserOptionsVisibility: Be, keepUserOptionState: Oe } = ao({ config: e.value }), { svgRef: ye } = so({ config: e.value.style.chart.title });
94
111
  function $e() {
95
- const a = nt({
96
- userConfig: O.config,
97
- defaultConfig: yt
112
+ const a = De({
113
+ userConfig: S.config,
114
+ defaultConfig: xt
115
+ }), l = a.theme;
116
+ if (!l) return a;
117
+ if (!wt.value(a))
118
+ return At(a), a;
119
+ const t = De({
120
+ userConfig: ht[l] || S.config,
121
+ defaultConfig: a
122
+ }), d = De({
123
+ userConfig: S.config,
124
+ defaultConfig: t
98
125
  });
99
- return a.theme ? {
100
- ...nt({
101
- userConfig: Qt.vue_ui_3d_bar[a.theme] || O.config,
102
- defaultConfig: a
103
- }),
104
- customPalette: Ot[a.theme] || ve
105
- } : a;
126
+ return {
127
+ ...d,
128
+ customPalette: d.customPalette.length ? d.customPalette : Rt[l] || ve
129
+ };
106
130
  }
107
- we(() => O.config, (a) => {
108
- Y.value || (e.value = $e()), ye.value = !e.value.userOptions.showOnChartHover, We(), Te.value += 1, Pe.value += 1, H.value.showTable = e.value.table.show;
131
+ xe(() => S.config, (a) => {
132
+ Y.value || (e.value = $e()), ke.value = !e.value.userOptions.showOnChartHover, We(), Me.value += 1, Te.value += 1, H.value.showTable = e.value.table.show;
109
133
  }, { deep: !0 });
110
- const { isPrinting: Be, isImaging: Ie, generatePdf: ze, generateImage: je } = Ht({
111
- elementId: `3d_bar_${P.value}`,
134
+ const { isPrinting: Ee, isImaging: je, generatePdf: ze, generateImage: Ie } = to({
135
+ elementId: `3d_bar_${M.value}`,
112
136
  fileName: e.value.style.chart.title.text || "vue-ui-3d-bar",
113
137
  options: e.value.userOptions.print
114
- }), kt = D(() => Bt(e.value.customPalette)), H = _({
138
+ }), Dt = P(() => Gt(e.value.customPalette)), H = b({
115
139
  showTable: e.value.table.show
116
140
  });
117
- we(e, () => {
141
+ xe(e, () => {
118
142
  H.value = {
119
143
  showTable: e.value.table.show
120
144
  };
121
145
  }, { immediate: !0 });
122
- const C = D(() => A.value.series && A.value.series.length), _e = _(e.value.style.chart.box.dimensions.width * (C.value ? 2 : 1)), Ne = _(e.value.style.chart.box.dimensions.height), l = D(() => ({
146
+ const w = P(() => B.value.series && B.value.series.length), be = b(e.value.style.chart.box.dimensions.width * (w.value ? 2 : 1)), Ne = b(e.value.style.chart.box.dimensions.height), s = P(() => ({
123
147
  height: Ne.value,
124
- width: _e.value,
125
- absoluteWidth: _e.value,
148
+ width: be.value,
149
+ absoluteWidth: be.value,
126
150
  top: e.value.style.chart.box.dimensions.top,
127
151
  bottom: e.value.style.chart.box.dimensions.bottom,
128
152
  left: e.value.style.chart.box.dimensions.left,
129
153
  right: e.value.style.chart.box.dimensions.right,
130
154
  perspective: e.value.style.chart.box.dimensions.perspective
131
- })), M = D(() => {
132
- if (C.value) {
133
- const a = A.value.series.map((o) => o.value || 0).reduce((o, d) => o + d, 0), s = A.value.series.map((o, d) => ({
155
+ })), A = P(() => {
156
+ if (w.value) {
157
+ const a = B.value.series.map((o) => o.value || 0).reduce((o, c) => o + c, 0), l = B.value.series.map((o, c) => ({
134
158
  ...o,
135
- seriesIndex: d,
136
- id: lt(),
159
+ seriesIndex: c,
160
+ id: at(),
137
161
  proportion: (o.value || 0) / a,
138
- color: It(o.color) || kt.value[d] || ve[d] || ve[d % ve.length],
139
- breakdown: o.breakdown ? o.breakdown.sort((r, y) => y.value - r.value) : null
140
- })).sort((o, d) => d.value - o.value), t = [];
141
- let c = 0;
142
- for (let o = 0; o < s.length; o += 1)
162
+ color: Vt(o.color) || Dt.value[c] || ve[c] || ve[c % ve.length],
163
+ breakdown: o.breakdown ? o.breakdown.sort((r, k) => k.value - r.value) : null
164
+ })).sort((o, c) => c.value - o.value), t = [];
165
+ let d = 0;
166
+ for (let o = 0; o < l.length; o += 1)
143
167
  t.push({
144
- ...s[o],
145
- fill: $t(c, s[o].proportion, s[o].breakdown, s[o].color)
146
- }), c += s[o].proportion;
168
+ ...l[o],
169
+ fill: Ft(d, l[o].proportion, l[o].breakdown, l[o].color)
170
+ }), d += l[o].proportion;
147
171
  return t;
148
172
  }
149
173
  return null;
150
- }), E = D(() => {
151
- const a = l.value.width / 2;
174
+ }), W = P(() => {
175
+ const a = s.value.width / 2;
152
176
  return {
153
- right: `M${a},${l.value.top} ${l.value.width - l.value.right}, ${l.value.top + l.value.perspective} ${l.value.width - l.value.right},${l.value.height - l.value.bottom - l.value.perspective} ${a},${l.value.height - l.value.bottom}`,
154
- left: `M${a},${l.value.top} ${l.value.left},${l.value.top + l.value.perspective} ${l.value.left},${l.value.height - l.value.bottom - l.value.perspective} ${a},${l.value.height - l.value.bottom}`,
155
- side: `M${a},${l.value.height - l.value.bottom} ${a},${l.value.top + l.value.perspective * 2}`,
156
- topSides: `M${l.value.left},${l.value.top + l.value.perspective} ${a},${l.value.top + l.value.perspective * 2} ${l.value.width - l.value.right},${l.value.top + l.value.perspective}`,
157
- tubeTop: `M${l.value.left},${l.value.top + l.value.perspective} C ${l.value.left},${l.value.top - l.value.perspective / 3} ${l.value.width - l.value.right},${l.value.top - l.value.perspective / 3} ${l.value.width - l.value.right},${l.value.top + l.value.perspective} C ${l.value.width - l.value.right},${l.value.top + l.value.perspective * 2.3} ${l.value.left},${l.value.top + l.value.perspective * 2.3} ${l.value.left},${l.value.top + l.value.perspective}`,
158
- tubeLeft: `M${l.value.left},${l.value.top + l.value.perspective} ${l.value.left},${l.value.height - l.value.bottom - l.value.perspective}`,
159
- tubeRight: `M${l.value.width - l.value.right},${l.value.top + l.value.perspective} ${l.value.width - l.value.right},${l.value.height - l.value.bottom - l.value.perspective}`,
160
- tubeBottom: `M${l.value.width - l.value.right},${l.value.height - l.value.bottom - l.value.perspective} C ${l.value.width - l.value.right},${l.value.height} ${l.value.left},${l.value.height} ${l.value.left},${l.value.height - l.value.bottom - l.value.perspective}`
177
+ 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}`,
178
+ 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}`,
179
+ side: `M${a},${s.value.height - s.value.bottom} ${a},${s.value.top + s.value.perspective * 2}`,
180
+ 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}`,
181
+ 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}`,
182
+ tubeLeft: `M${s.value.left},${s.value.top + s.value.perspective} ${s.value.left},${s.value.height - s.value.bottom - s.value.perspective}`,
183
+ 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}`,
184
+ 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}`
161
185
  };
162
- }), K = _(e.value.style.chart.animation.use ? 0 : A.value.percentage);
186
+ }), K = b(e.value.style.chart.animation.use ? 0 : B.value.percentage);
163
187
  function Le() {
164
- let a = 0, s = e.value.style.chart.animation.speed, t = 5e-3 * e.value.style.chart.animation.acceleration;
165
- function c() {
166
- K.value += s + a, a += t, K.value < A.value.percentage ? requestAnimationFrame(c) : K.value = A.value.percentage;
188
+ let a = 0, l = e.value.style.chart.animation.speed, t = 5e-3 * e.value.style.chart.animation.acceleration;
189
+ function d() {
190
+ K.value += l + a, a += t, K.value < B.value.percentage ? requestAnimationFrame(d) : K.value = B.value.percentage;
167
191
  }
168
- e.value.style.chart.animation.use && (K.value = 0, c());
192
+ e.value.style.chart.animation.use && (K.value = 0, d());
169
193
  }
170
- St(() => {
194
+ Nt(() => {
171
195
  We(), Le();
172
196
  });
173
- const ue = D(() => !!e.value.debug);
197
+ const ue = P(() => !!e.value.debug);
174
198
  function We() {
175
- if (zt(O.dataset) ? he({
199
+ if (Ut(S.dataset) ? he({
176
200
  componentName: "VueUi3dBar",
177
201
  type: "dataset",
178
202
  debug: ue.value
179
- }) : O.dataset.series ? O.dataset.series.forEach((a, s) => {
180
- Me({
203
+ }) : S.dataset.series ? S.dataset.series.forEach((a, l) => {
204
+ Ae({
181
205
  datasetObject: a,
182
206
  requiredAttributes: ["name", "value"]
183
207
  }).forEach((t) => {
@@ -185,11 +209,11 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
185
209
  componentName: "VueUi3dBar",
186
210
  type: "datasetSerieAttribute",
187
211
  property: t,
188
- index: s,
212
+ index: l,
189
213
  debug: ue.value
190
214
  });
191
- }), a.breakdown && a.breakdown.forEach((t, c) => {
192
- Me({
215
+ }), a.breakdown && a.breakdown.forEach((t, d) => {
216
+ Ae({
193
217
  datasetObject: t,
194
218
  requiredAttributes: ["name", "value"]
195
219
  }).forEach((o) => {
@@ -197,13 +221,13 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
197
221
  componentName: "VueUi3dBar",
198
222
  type: "datasetSerieAttribute",
199
223
  property: o,
200
- index: `${s} - ${c}`,
224
+ index: `${l} - ${d}`,
201
225
  debug: ue.value
202
226
  });
203
227
  });
204
228
  });
205
- }) : Me({
206
- datasetObject: O.dataset,
229
+ }) : Ae({
230
+ datasetObject: S.dataset,
207
231
  requiredAttributes: ["percentage"]
208
232
  }).forEach((a) => {
209
233
  he({
@@ -213,169 +237,169 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
213
237
  debug: ue.value
214
238
  });
215
239
  }), e.value.responsive) {
216
- const a = Et(() => {
217
- const { width: s, height: t } = Rt({
218
- chart: W.value,
219
- title: e.value.style.chart.title.text ? Se.value : null,
220
- source: De.value
240
+ const a = Yt(() => {
241
+ const { width: l, height: t } = Kt({
242
+ chart: L.value,
243
+ title: e.value.style.chart.title.text ? Pe.value : null,
244
+ source: Se.value
221
245
  });
222
246
  requestAnimationFrame(() => {
223
- Ne.value = t - 12, _e.value = s;
247
+ Ne.value = t - 12, be.value = l;
224
248
  });
225
249
  });
226
- oe.value && (re.value && oe.value.unobserve(re.value), oe.value.disconnect()), oe.value = new ResizeObserver(a), re.value = W.value.parentNode, oe.value.observe(re.value);
250
+ oe.value && (re.value && oe.value.unobserve(re.value), oe.value.disconnect()), oe.value = new ResizeObserver(a), re.value = L.value.parentNode, oe.value.observe(re.value);
227
251
  }
228
252
  }
229
- const Q = D(() => l.value.width / 4);
230
- function $t(a, s, t, c) {
231
- const o = l.value.height - l.value.bottom - l.value.top - l.value.perspective * 2, { width: d, height: r, bottom: y, right: G, left: k, perspective: g } = l.value, f = C.value ? d / 4 : d / 2, x = f * 2 + k, h = y + o * a, xe = r - h - g - o * s / 2, Mt = xe > l.value.height / 2 ? "top" : "bottom", He = r * 0.25, Ft = !!t;
232
- let Xe = null, Ze = null;
233
- return Ft && (t = t.map((qe, Tt) => ({
234
- ...qe,
235
- value: qe.value || 0,
236
- color: V(c, Tt / t.length)
237
- })), Xe = at(
253
+ const J = P(() => s.value.width / 4);
254
+ function Ft(a, l, t, d) {
255
+ const o = s.value.height - s.value.bottom - s.value.top - s.value.perspective * 2, { width: c, height: r, bottom: k, right: G, left: y, perspective: g } = s.value, f = w.value ? c / 4 : c / 2, C = f * 2 + y, h = k + o * a, Ce = r - h - g - o * l / 2, Et = Ce > s.value.height / 2 ? "top" : "bottom", Xe = r * 0.25, jt = !!t;
256
+ let Ze = null, qe = null;
257
+ return jt && (t = t.map((Ye, zt) => ({
258
+ ...Ye,
259
+ value: Ye.value || 0,
260
+ color: V(d, zt / t.length)
261
+ })), Ze = st(
238
262
  { series: t },
239
- d / 2 + d / 5,
240
- Mt === "top" ? xe - He : xe + He,
241
- d / 10,
242
- d / 10,
263
+ c / 2 + c / 5,
264
+ Et === "top" ? Ce - Xe : Ce + Xe,
265
+ c / 10,
266
+ c / 10,
243
267
  1.99999,
244
268
  2,
245
269
  1,
246
270
  360,
247
271
  105.25,
248
- d / 20
249
- ), Ze = at(
272
+ c / 20
273
+ ), qe = st(
250
274
  { series: t },
251
- d - x + d / 14,
252
- r - h - g - o * s / 2,
253
- d / 40,
254
- d / 40,
275
+ c - C + c / 14,
276
+ r - h - g - o * l / 2,
277
+ c / 40,
278
+ c / 40,
255
279
  1.99999,
256
280
  2,
257
281
  1,
258
282
  360,
259
283
  105.25,
260
- d / 40
284
+ c / 40
261
285
  )), {
262
- donut: Xe,
263
- miniDonut: Ze,
264
- donutR: d / 20,
286
+ donut: Ze,
287
+ miniDonut: qe,
288
+ donutR: c / 20,
265
289
  CENTER_X: f,
266
290
  sidePointer: {
267
- x: d - x,
268
- x2: d - x + d / 14,
269
- xText: d - x + d / 9,
270
- y: r - h - g - o * s / 2,
271
- topY: r - h - g - o * s,
272
- height: o * s
291
+ x: c - C,
292
+ x2: c - C + c / 14,
293
+ xText: c - C + c / 9,
294
+ y: r - h - g - o * l / 2,
295
+ topY: r - h - g - o * l,
296
+ height: o * l
273
297
  },
274
298
  apexBottom: { y: r - h, x: f },
275
- apexTop: { y: r - h - o * s, x: f },
276
- right: `M${f},${r - h} ${f},${r - h - o * s} ${d - x},${r - h - g - o * s} ${d - x},${r - h - g}Z`,
277
- left: `M${f},${r - h} ${f},${r - h - o * s} ${k}, ${r - h - g - o * s} ${k},${r - h - g}Z`,
278
- liningTop: `M${k},${r - h - g - o * s} ${f},${r - h - o * s} ${d - x},${r - h - g - o * s}`,
279
- liningTopShade: `M${k},${r - h - g - o * s - 0.5} ${f},${r - h - o * s - 0.5} ${d - x},${r - h - g - o * s - 0.5}`,
280
- top: `M${f},${r - h - o * s} ${k},${r - h - g - o * s} ${f},${r - h - g * 2 - o * s} ${d - x},${r - h - g - o * s} Z`,
281
- tubeTop: `M${k},${r - h - o * s - g} C ${k},${r - h - o * s - g * 2.5} ${d - x},${r - h - o * s - g * 2.5} ${d - x},${r - h - o * s - g} C ${d - x},${r - h - o * s + g / 2} ${k},${r - h - o * s + g / 2} ${k},${r - h - o * s - g}`,
282
- bottomTubeTop: `M ${d - x - 0.5},${r - h - g} C ${d - x - 0.5},${r - h + g / 2} ${k},${r - h + g / 2} ${k + 0.5},${r - h - g}`,
299
+ apexTop: { y: r - h - o * l, x: f },
300
+ right: `M${f},${r - h} ${f},${r - h - o * l} ${c - C},${r - h - g - o * l} ${c - C},${r - h - g}Z`,
301
+ left: `M${f},${r - h} ${f},${r - h - o * l} ${y}, ${r - h - g - o * l} ${y},${r - h - g}Z`,
302
+ liningTop: `M${y},${r - h - g - o * l} ${f},${r - h - o * l} ${c - C},${r - h - g - o * l}`,
303
+ liningTopShade: `M${y},${r - h - g - o * l - 0.5} ${f},${r - h - o * l - 0.5} ${c - C},${r - h - g - o * l - 0.5}`,
304
+ top: `M${f},${r - h - o * l} ${y},${r - h - g - o * l} ${f},${r - h - g * 2 - o * l} ${c - C},${r - h - g - o * l} Z`,
305
+ tubeTop: `M${y},${r - h - o * l - g} C ${y},${r - h - o * l - g * 2.5} ${c - C},${r - h - o * l - g * 2.5} ${c - C},${r - h - o * l - g} C ${c - C},${r - h - o * l + g / 2} ${y},${r - h - o * l + g / 2} ${y},${r - h - o * l - g}`,
306
+ bottomTubeTop: `M ${c - C - 0.5},${r - h - g} C ${c - C - 0.5},${r - h + g / 2} ${y},${r - h + g / 2} ${y + 0.5},${r - h - g}`,
283
307
  tubeBody: `M
284
- ${k},${r - h - o * s - g}
285
- C ${k},${r - h - o * s + g / 2}
286
- ${d - x},${r - h - o * s + g / 2}
287
- ${d - x},${r - h - o * s - g}
288
- L${d - x},${r - h - g}
308
+ ${y},${r - h - o * l - g}
309
+ C ${y},${r - h - o * l + g / 2}
310
+ ${c - C},${r - h - o * l + g / 2}
311
+ ${c - C},${r - h - o * l - g}
312
+ L${c - C},${r - h - g}
289
313
  C
290
- ${d - x},${r - h + g / 2}
291
- ${k},${r - h + g / 2}
292
- ${k},${r - h - g}Z`
314
+ ${c - C},${r - h + g / 2}
315
+ ${y},${r - h + g / 2}
316
+ ${y},${r - h - g}Z`
293
317
  };
294
318
  }
295
- const J = D(() => {
296
- const a = jt(K.value / 100), s = l.value.height - l.value.bottom - l.value.top - l.value.perspective * 2, { width: t, height: c, bottom: o, right: d, left: r, perspective: y } = l.value, G = C.value ? t / 4 : t / 2, k = C.value ? G * 2 + r : d, f = o + s * 0;
319
+ const Q = P(() => {
320
+ const a = Ht(K.value / 100), l = s.value.height - s.value.bottom - s.value.top - s.value.perspective * 2, { width: t, height: d, bottom: o, right: c, left: r, perspective: k } = s.value, G = w.value ? t / 4 : t / 2, y = w.value ? G * 2 + r : c, f = o + l * 0;
297
321
  return {
298
- right: `M${G},${c - f} ${G},${c - f - s * a} ${t - k},${c - f - y - s * a} ${t - k},${c - f - y}Z`,
299
- left: `M${G},${c - f} ${G},${c - f - s * a} ${r}, ${c - f - y - s * a} ${r},${c - f - y}Z`,
300
- top: `M${G},${c - f - s * a} ${r},${c - f - y - s * a} ${G},${c - f - y * 2 - s * a} ${t - k},${c - f - y - s * a} Z`,
301
- tubeTop: `M${r},${c - f - s * a - y} C ${r},${c - f - s * a - y * 2.5} ${t - k},${c - f - s * a - y * 2.5} ${t - k},${c - f - s * a - y} C ${t - k},${c - f - s * a + y / 2} ${r},${c - f - s * a + y / 2} ${r},${c - f - s * a - y}`,
322
+ right: `M${G},${d - f} ${G},${d - f - l * a} ${t - y},${d - f - k - l * a} ${t - y},${d - f - k}Z`,
323
+ left: `M${G},${d - f} ${G},${d - f - l * a} ${r}, ${d - f - k - l * a} ${r},${d - f - k}Z`,
324
+ top: `M${G},${d - f - l * a} ${r},${d - f - k - l * a} ${G},${d - f - k * 2 - l * a} ${t - y},${d - f - k - l * a} Z`,
325
+ tubeTop: `M${r},${d - f - l * a - k} C ${r},${d - f - l * a - k * 2.5} ${t - y},${d - f - l * a - k * 2.5} ${t - y},${d - f - l * a - k} C ${t - y},${d - f - l * a + k / 2} ${r},${d - f - l * a + k / 2} ${r},${d - f - l * a - k}`,
302
326
  tubeBody: `M
303
- ${r},${c - f - s * a - y}
304
- C ${r},${c - f - s * a + y / 2}
305
- ${t - k},${c - f - s * a + y / 2}
306
- ${t - k},${c - f - s * a - y}
307
- L${t - k},${c - y * 1.5}
327
+ ${r},${d - f - l * a - k}
328
+ C ${r},${d - f - l * a + k / 2}
329
+ ${t - y},${d - f - l * a + k / 2}
330
+ ${t - y},${d - f - l * a - k}
331
+ L${t - y},${d - k * 1.5}
308
332
  C
309
- ${t - k},${c}
310
- ${r},${c}
311
- ${r},${c - f - y}Z`
333
+ ${t - y},${d}
334
+ ${r},${d}
335
+ ${r},${d - f - k}Z`
312
336
  };
313
- }), b = _(null);
314
- function S(a, s = !1) {
315
- 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 }), ne("selectDatapoint", a), s || (b.value = a.id), s && I.value && (I.value = !1), s && !I.value && (I.value = !0);
337
+ }), m = b(null);
338
+ function T(a, l = !1) {
339
+ e.value.events.datapointEnter && !l && e.value.events.datapointEnter({ datapoint: a, seriesIndex: a.seriesIndex }), e.value.events.datapointClick && l && e.value.events.datapointClick({ datapoint: a, seriesIndex: a.seriesIndex }), ne("selectDatapoint", a), l || (m.value = a.id), l && E.value && (E.value = !1), l && !E.value && (E.value = !0);
316
340
  }
317
341
  function X(a) {
318
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: a.seriesIndex }), !I.value && (b.value = null);
319
- }
320
- function ee(a, s, t = !1) {
321
- const c = A.value.series.map((r) => r.value || 0).reduce((r, y) => r + y, 0), o = isNaN(a.value / c) ? 0 : a.value / c * 100, d = isNaN(a.value / Ee(s)) ? 0 : a.value / Ee(s) * 100;
322
- return t ? d : o.toFixed(0) + "%";
342
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: a.seriesIndex }), !E.value && (m.value = null);
323
343
  }
324
- function Ee(a) {
325
- return [...a].map((s) => s.value).reduce((s, t) => s + t, 0);
344
+ function ee(a, l, t = !1) {
345
+ const d = B.value.series.map((r) => r.value || 0).reduce((r, k) => r + k, 0), o = isNaN(a.value / d) ? 0 : a.value / d * 100, c = isNaN(a.value / Re(l)) ? 0 : a.value / Re(l) * 100;
346
+ return t ? c : o.toFixed(0) + "%";
326
347
  }
327
- const ie = _(!1);
328
348
  function Re(a) {
349
+ return [...a].map((l) => l.value).reduce((l, t) => l + t, 0);
350
+ }
351
+ const ie = b(!1);
352
+ function Ge(a) {
329
353
  ie.value = a;
330
354
  }
331
- function _t() {
332
- return C.value ? M.value : A.value.percentage;
355
+ function Mt() {
356
+ return w.value ? A.value : B.value.percentage;
333
357
  }
334
- const R = D(() => {
335
- if (C.value) {
336
- const a = M.value.flatMap((t) => t.breakdown && t.breakdown.length ? [{ name: t.name, color: t.color }, ...t.breakdown.map((c, o) => ({
337
- name: c.name,
358
+ const R = P(() => {
359
+ if (w.value) {
360
+ const a = A.value.flatMap((t) => t.breakdown && t.breakdown.length ? [{ name: t.name, color: t.color }, ...t.breakdown.map((d, o) => ({
361
+ name: d.name,
338
362
  color: V(t.color, o / t.breakdown.length)
339
363
  }))] : {
340
364
  name: t.name,
341
365
  color: t.color
342
- }), s = M.value.flatMap((t) => t.breakdown && t.breakdown.length ? [t.value, ...t.breakdown.map((c) => c.value)] : t.value);
343
- return { head: a, body: s };
366
+ }), l = A.value.flatMap((t) => t.breakdown && t.breakdown.length ? [t.value, ...t.breakdown.map((d) => d.value)] : t.value);
367
+ return { head: a, body: l };
344
368
  } else
345
369
  return null;
346
370
  });
347
- function me(a = null) {
348
- if (!C.value) {
371
+ function _e(a = null) {
372
+ if (!w.value) {
349
373
  console.warn("VueUi3dBar : CSV download is only available in stack mode (providing dataset.series instead of dataset.percentage)");
350
374
  return;
351
375
  }
352
- ot(() => {
353
- const s = M.value.map((d) => d.value).reduce((d, r) => d + r, 0), t = R.value.head.map((d, r) => [[
354
- d.name
355
- ], [R.value.body[r]], [isNaN(R.value.body[r] / s) ? "-" : R.value.body[r] / s * 100]]), c = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), o = Lt(c);
356
- a ? a(o) : Wt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-3d-bar" });
376
+ lt(() => {
377
+ const l = A.value.map((c) => c.value).reduce((c, r) => c + r, 0), t = R.value.head.map((c, r) => [[
378
+ c.name
379
+ ], [R.value.body[r]], [isNaN(R.value.body[r] / l) ? "-" : R.value.body[r] / l * 100]]), d = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), o = Zt(d);
380
+ a ? a(o) : qt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-3d-bar" });
357
381
  });
358
382
  }
359
- const de = D(() => {
360
- const a = M.value.map((d) => d.value).reduce((d, r) => d + r, 0), s = [
383
+ const de = P(() => {
384
+ const a = A.value.map((c) => c.value).reduce((c, r) => c + r, 0), l = [
361
385
  ' <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>',
362
- B({ p: e.value.style.chart.legend.prefix, v: a, s: e.value.style.chart.legend.suffix, r: e.value.table.td.roundingValue }),
386
+ O({ p: e.value.style.chart.legend.prefix, v: a, s: e.value.style.chart.legend.suffix, r: e.value.table.td.roundingValue }),
363
387
  "100%"
364
- ], t = R.value.head.map((d, r) => {
365
- const y = B({ p: e.value.style.chart.legend.prefix, v: R.value.body[r], s: e.value.style.chart.legend.suffix, r: e.value.table.td.roundingValue });
388
+ ], t = R.value.head.map((c, r) => {
389
+ const k = O({ p: e.value.style.chart.legend.prefix, v: R.value.body[r], s: e.value.style.chart.legend.suffix, r: e.value.table.td.roundingValue });
366
390
  return [
367
391
  {
368
- color: d.color,
369
- name: d.name
392
+ color: c.color,
393
+ name: c.name
370
394
  },
371
- y,
372
- isNaN(R.value.body[r] / a) ? "-" : B({
395
+ k,
396
+ isNaN(R.value.body[r] / a) ? "-" : O({
373
397
  v: R.value.body[r] / a * 100,
374
398
  s: "%",
375
399
  r: e.value.table.td.roundingPercentage
376
400
  })
377
401
  ];
378
- }), c = {
402
+ }), d = {
379
403
  th: {
380
404
  backgroundColor: e.value.table.th.backgroundColor,
381
405
  color: e.value.table.th.color,
@@ -395,34 +419,34 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
395
419
  e.value.table.columnNames.value,
396
420
  e.value.table.columnNames.percentage
397
421
  ],
398
- head: s,
422
+ head: l,
399
423
  body: t,
400
- config: c
424
+ config: d
401
425
  };
402
426
  });
403
- function Ge() {
427
+ function Ve() {
404
428
  H.value.showTable = !H.value.showTable;
405
429
  }
406
- const ce = _(!1);
407
- function be() {
430
+ const ce = b(!1);
431
+ function me() {
408
432
  ce.value = !ce.value;
409
433
  }
410
- async function mt({ scale: a = 2 } = {}) {
411
- if (!W.value) return;
412
- const { width: s, height: t } = W.value.getBoundingClientRect(), c = s / t, { imageUri: o, base64: d } = await Yt({ domElement: W.value, base64: !0, img: !0, scale: a });
434
+ async function Tt({ scale: a = 2 } = {}) {
435
+ if (!L.value) return;
436
+ const { width: l, height: t } = L.value.getBoundingClientRect(), d = l / t, { imageUri: o, base64: c } = await no({ domElement: L.value, base64: !0, img: !0, scale: a });
413
437
  return {
414
438
  imageUri: o,
415
- base64: d,
439
+ base64: c,
416
440
  title: e.value.style.chart.title.text,
417
- width: s,
441
+ width: l,
418
442
  height: t,
419
- aspectRatio: c
443
+ aspectRatio: d
420
444
  };
421
445
  }
422
- const se = D(() => {
423
- const a = e.value.table.useDialog && !e.value.table.show, s = H.value.showTable;
446
+ const se = P(() => {
447
+ const a = e.value.table.useDialog && !e.value.table.show, l = H.value.showTable;
424
448
  return {
425
- component: a ? gt : ct,
449
+ component: a ? Ct : yt,
426
450
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
427
451
  props: a ? {
428
452
  backgroundColor: e.value.table.th.backgroundColor,
@@ -430,12 +454,12 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
430
454
  headerColor: e.value.table.th.color,
431
455
  headerBg: e.value.table.th.backgroundColor,
432
456
  isFullscreen: ie.value,
433
- fullscreenParent: W.value,
457
+ fullscreenParent: L.value,
434
458
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
435
459
  } : {
436
460
  hideDetails: !0,
437
461
  config: {
438
- open: s,
462
+ open: l,
439
463
  maxHeight: 1e4,
440
464
  body: {
441
465
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -449,79 +473,79 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
449
473
  }
450
474
  };
451
475
  });
452
- we(() => H.value.showTable, (a) => {
476
+ xe(() => H.value.showTable, (a) => {
453
477
  e.value.table.show || (a && e.value.table.useDialog && ae.value ? ae.value.open() : "close" in ae.value && ae.value.close());
454
478
  });
455
- function Ve() {
479
+ function Ue() {
456
480
  H.value.showTable = !1, ge.value && ge.value.setTableIconState(!1);
457
481
  }
458
- const bt = D(() => e.value.style.chart.backgroundColor), xt = D(() => e.value.style.chart.title), { exportSvg: wt, getSvg: Ct } = Xt({
459
- svg: ke,
460
- title: xt,
461
- backgroundColor: bt
482
+ const Pt = P(() => e.value.style.chart.backgroundColor), St = P(() => e.value.style.chart.title), { exportSvg: Bt, getSvg: Ot } = oo({
483
+ svg: ye,
484
+ title: St,
485
+ backgroundColor: Pt
462
486
  });
463
- async function Ue({ isCb: a }) {
487
+ async function He({ isCb: a }) {
464
488
  if (a) {
465
- const { blob: s, url: t, text: c, dataUrl: o } = await Ct();
466
- e.value.userOptions.callbacks.svg({ blob: s, url: t, text: c, dataUrl: o });
489
+ const { blob: l, url: t, text: d, dataUrl: o } = await Ot();
490
+ e.value.userOptions.callbacks.svg({ blob: l, url: t, text: d, dataUrl: o });
467
491
  } else
468
- wt();
492
+ Bt();
469
493
  }
470
- return ut({
471
- getImage: mt,
472
- generateCsv: me,
494
+ return pt({
495
+ getImage: Tt,
496
+ generateCsv: _e,
473
497
  generatePdf: ze,
474
- generateImage: je,
475
- generateSvg: Ue,
476
- getData: _t,
477
- toggleTable: Ge,
478
- toggleAnnotator: be,
479
- toggleFullscreen: Re
480
- }), (a, s) => (u(), v("div", {
498
+ generateImage: Ie,
499
+ generateSvg: He,
500
+ getData: Mt,
501
+ toggleTable: Ve,
502
+ toggleAnnotator: me,
503
+ toggleFullscreen: Ge
504
+ }), (a, l) => (u(), v("div", {
481
505
  ref_key: "bar3dChart",
482
- ref: W,
483
- class: Ye("vue-data-ui-component vue-ui-3d-bar"),
484
- style: z(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
485
- id: `3d_bar_${P.value}`,
486
- onMouseenter: s[8] || (s[8] = () => n(Ae)(!0)),
487
- onMouseleave: s[9] || (s[9] = () => n(Ae)(!1))
506
+ ref: L,
507
+ class: Ke("vue-data-ui-component vue-ui-3d-bar"),
508
+ style: j(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
509
+ id: `3d_bar_${M.value}`,
510
+ onMouseenter: l[8] || (l[8] = () => n(Be)(!0)),
511
+ onMouseleave: l[9] || (l[9] = () => n(Be)(!1))
488
512
  }, [
489
- e.value.userOptions.buttons.annotator ? (u(), te(n(ht), {
513
+ e.value.userOptions.buttons.annotator ? (u(), te(n(bt), {
490
514
  key: 0,
491
- svgRef: n(ke),
515
+ svgRef: n(ye),
492
516
  backgroundColor: e.value.style.chart.backgroundColor,
493
517
  color: e.value.style.chart.color,
494
518
  active: ce.value,
495
- onClose: be
519
+ onClose: me
496
520
  }, {
497
- "annotator-action-close": w(() => [
498
- m(a.$slots, "annotator-action-close", {}, void 0, !0)
521
+ "annotator-action-close": x(() => [
522
+ _(a.$slots, "annotator-action-close", {}, void 0, !0)
499
523
  ]),
500
- "annotator-action-color": w(({ color: t }) => [
501
- m(a.$slots, "annotator-action-color", j(N({ color: t })), void 0, !0)
524
+ "annotator-action-color": x(({ color: t }) => [
525
+ _(a.$slots, "annotator-action-color", z(I({ color: t })), void 0, !0)
502
526
  ]),
503
- "annotator-action-draw": w(({ mode: t }) => [
504
- m(a.$slots, "annotator-action-draw", j(N({ mode: t })), void 0, !0)
527
+ "annotator-action-draw": x(({ mode: t }) => [
528
+ _(a.$slots, "annotator-action-draw", z(I({ mode: t })), void 0, !0)
505
529
  ]),
506
- "annotator-action-undo": w(({ disabled: t }) => [
507
- m(a.$slots, "annotator-action-undo", j(N({ disabled: t })), void 0, !0)
530
+ "annotator-action-undo": x(({ disabled: t }) => [
531
+ _(a.$slots, "annotator-action-undo", z(I({ disabled: t })), void 0, !0)
508
532
  ]),
509
- "annotator-action-redo": w(({ disabled: t }) => [
510
- m(a.$slots, "annotator-action-redo", j(N({ disabled: t })), void 0, !0)
533
+ "annotator-action-redo": x(({ disabled: t }) => [
534
+ _(a.$slots, "annotator-action-redo", z(I({ disabled: t })), void 0, !0)
511
535
  ]),
512
- "annotator-action-delete": w(({ disabled: t }) => [
513
- m(a.$slots, "annotator-action-delete", j(N({ disabled: t })), void 0, !0)
536
+ "annotator-action-delete": x(({ disabled: t }) => [
537
+ _(a.$slots, "annotator-action-delete", z(I({ disabled: t })), void 0, !0)
514
538
  ]),
515
539
  _: 3
516
540
  }, 8, ["svgRef", "backgroundColor", "color", "active"])) : p("", !0),
517
541
  e.value.style.chart.title.text ? (u(), v("div", {
518
542
  key: 1,
519
543
  ref_key: "chartTitle",
520
- ref: Se,
544
+ ref: Pe,
521
545
  style: "width:100%;background:transparent"
522
546
  }, [
523
- (u(), te(Kt, {
524
- key: `title_${Te.value}`,
547
+ (u(), te(ro, {
548
+ key: `title_${Me.value}`,
525
549
  config: {
526
550
  title: {
527
551
  cy: "3dBar-div-title",
@@ -534,169 +558,169 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
534
558
  }
535
559
  }, null, 8, ["config"]))
536
560
  ], 512)) : p("", !0),
537
- e.value.userOptions.show && Fe.value && (n(Oe) || n(ye)) ? (u(), te(n(ft), {
561
+ e.value.userOptions.show && Fe.value && (n(Oe) || n(ke)) ? (u(), te(n(_t), {
538
562
  key: 2,
539
563
  ref_key: "userOptionsRef",
540
564
  ref: ge,
541
565
  backgroundColor: e.value.style.chart.backgroundColor,
542
566
  color: e.value.style.chart.color,
543
- isPrinting: n(Be),
544
- isImaging: n(Ie),
545
- uid: P.value,
567
+ isPrinting: n(Ee),
568
+ isImaging: n(je),
569
+ uid: M.value,
546
570
  hasPdf: e.value.userOptions.buttons.pdf,
547
- hasTable: !!C.value && e.value.userOptions.buttons.table,
548
- hasXls: !!C.value && e.value.userOptions.buttons.csv,
571
+ hasTable: !!w.value && e.value.userOptions.buttons.table,
572
+ hasXls: !!w.value && e.value.userOptions.buttons.csv,
549
573
  hasImg: e.value.userOptions.buttons.img,
550
574
  hasSvg: e.value.userOptions.buttons.svg,
551
575
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
552
576
  titles: { ...e.value.userOptions.buttonTitles },
553
- chartElement: W.value,
577
+ chartElement: L.value,
554
578
  position: e.value.userOptions.position,
555
579
  hasAnnotator: e.value.userOptions.buttons.annotator,
556
580
  isAnnotation: ce.value,
557
581
  callbacks: e.value.userOptions.callbacks,
558
582
  printScale: e.value.userOptions.print.scale,
559
583
  tableDialog: e.value.table.useDialog,
560
- onToggleFullscreen: Re,
584
+ onToggleFullscreen: Ge,
561
585
  onGeneratePdf: n(ze),
562
- onGenerateCsv: me,
563
- onGenerateImage: n(je),
564
- onGenerateSvg: Ue,
565
- onToggleTable: Ge,
566
- onToggleAnnotator: be,
567
- style: z({
568
- visibility: n(Oe) ? n(ye) ? "visible" : "hidden" : "visible"
586
+ onGenerateCsv: _e,
587
+ onGenerateImage: n(Ie),
588
+ onGenerateSvg: He,
589
+ onToggleTable: Ve,
590
+ onToggleAnnotator: me,
591
+ style: j({
592
+ visibility: n(Oe) ? n(ke) ? "visible" : "hidden" : "visible"
569
593
  })
570
- }, Ke({ _: 2 }, [
594
+ }, Je({ _: 2 }, [
571
595
  a.$slots.menuIcon ? {
572
596
  name: "menuIcon",
573
- fn: w(({ isOpen: t, color: c }) => [
574
- m(a.$slots, "menuIcon", j(N({ isOpen: t, color: c })), void 0, !0)
597
+ fn: x(({ isOpen: t, color: d }) => [
598
+ _(a.$slots, "menuIcon", z(I({ isOpen: t, color: d })), void 0, !0)
575
599
  ]),
576
600
  key: "0"
577
601
  } : void 0,
578
602
  a.$slots.optionPdf ? {
579
603
  name: "optionPdf",
580
- fn: w(() => [
581
- m(a.$slots, "optionPdf", {}, void 0, !0)
604
+ fn: x(() => [
605
+ _(a.$slots, "optionPdf", {}, void 0, !0)
582
606
  ]),
583
607
  key: "1"
584
608
  } : void 0,
585
609
  a.$slots.optionCsv ? {
586
610
  name: "optionCsv",
587
- fn: w(() => [
588
- m(a.$slots, "optionCsv", {}, void 0, !0)
611
+ fn: x(() => [
612
+ _(a.$slots, "optionCsv", {}, void 0, !0)
589
613
  ]),
590
614
  key: "2"
591
615
  } : void 0,
592
616
  a.$slots.optionImg ? {
593
617
  name: "optionImg",
594
- fn: w(() => [
595
- m(a.$slots, "optionImg", {}, void 0, !0)
618
+ fn: x(() => [
619
+ _(a.$slots, "optionImg", {}, void 0, !0)
596
620
  ]),
597
621
  key: "3"
598
622
  } : void 0,
599
623
  a.$slots.optionSvg ? {
600
624
  name: "optionSvg",
601
- fn: w(() => [
602
- m(a.$slots, "optionSvg", {}, void 0, !0)
625
+ fn: x(() => [
626
+ _(a.$slots, "optionSvg", {}, void 0, !0)
603
627
  ]),
604
628
  key: "4"
605
629
  } : void 0,
606
630
  a.$slots.optionTable ? {
607
631
  name: "optionTable",
608
- fn: w(() => [
609
- m(a.$slots, "optionTable", {}, void 0, !0)
632
+ fn: x(() => [
633
+ _(a.$slots, "optionTable", {}, void 0, !0)
610
634
  ]),
611
635
  key: "5"
612
636
  } : void 0,
613
637
  a.$slots.optionFullscreen ? {
614
638
  name: "optionFullscreen",
615
- fn: w(({ toggleFullscreen: t, isFullscreen: c }) => [
616
- m(a.$slots, "optionFullscreen", j(N({ toggleFullscreen: t, isFullscreen: c })), void 0, !0)
639
+ fn: x(({ toggleFullscreen: t, isFullscreen: d }) => [
640
+ _(a.$slots, "optionFullscreen", z(I({ toggleFullscreen: t, isFullscreen: d })), void 0, !0)
617
641
  ]),
618
642
  key: "6"
619
643
  } : void 0,
620
644
  a.$slots.optionAnnotator ? {
621
645
  name: "optionAnnotator",
622
- fn: w(({ toggleAnnotator: t, isAnnotator: c }) => [
623
- m(a.$slots, "optionAnnotator", j(N({ toggleAnnotator: t, isAnnotator: c })), void 0, !0)
646
+ fn: x(({ toggleAnnotator: t, isAnnotator: d }) => [
647
+ _(a.$slots, "optionAnnotator", z(I({ toggleAnnotator: t, isAnnotator: d })), void 0, !0)
624
648
  ]),
625
649
  key: "7"
626
650
  } : void 0
627
651
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasSvg", "hasFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : p("", !0),
628
652
  (u(), v("svg", {
629
653
  ref_key: "svgRef",
630
- ref: ke,
631
- xmlns: n(Nt),
632
- class: Ye({ "vue-data-ui-fullscreen--on": ie.value, "vue-data-ui-fulscreen--off": !ie.value, animated: e.value.useCssAnimation }),
633
- viewBox: `0 0 ${l.value.absoluteWidth} ${l.value.height}`,
634
- style: z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
654
+ ref: ye,
655
+ xmlns: n(Xt),
656
+ class: Ke({ "vue-data-ui-fullscreen--on": ie.value, "vue-data-ui-fulscreen--off": !ie.value, animated: e.value.useCssAnimation }),
657
+ viewBox: `0 0 ${s.value.absoluteWidth} ${s.value.height}`,
658
+ style: j(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
635
659
  }, [
636
- Qe(n(pt)),
660
+ Qe(n(mt)),
637
661
  a.$slots["chart-background"] ? (u(), v("foreignObject", {
638
662
  key: 0,
639
663
  x: 0,
640
664
  y: 0,
641
- width: l.value.absoluteWidth,
642
- height: l.value.height,
665
+ width: s.value.absoluteWidth,
666
+ height: s.value.height,
643
667
  style: {
644
668
  pointerEvents: "none"
645
669
  }
646
670
  }, [
647
- m(a.$slots, "chart-background", {}, void 0, !0)
648
- ], 8, oo)) : p("", !0),
671
+ _(a.$slots, "chart-background", {}, void 0, !0)
672
+ ], 8, vo)) : p("", !0),
649
673
  i("defs", null, [
650
674
  i("radialGradient", {
651
- id: `gradient_top${P.value}`
675
+ id: `gradient_top${M.value}`
652
676
  }, [
653
677
  i("stop", {
654
678
  offset: "0%",
655
679
  "stop-color": n($)(e.value.style.chart.backgroundColor, 0)
656
- }, null, 8, ao),
680
+ }, null, 8, fo),
657
681
  i("stop", {
658
682
  offset: "100%",
659
683
  "stop-color": e.value.style.chart.bar.color
660
- }, null, 8, so)
661
- ], 8, lo),
684
+ }, null, 8, po)
685
+ ], 8, ho),
662
686
  i("radialGradient", {
663
- id: `gradient_tube_top${P.value}`
687
+ id: `gradient_tube_top${M.value}`
664
688
  }, [
665
689
  i("stop", {
666
690
  offset: "0%",
667
691
  "stop-color": n($)(n(V)(e.value.style.chart.bar.color, 0.5), 80)
668
- }, null, 8, ro),
692
+ }, null, 8, ko),
669
693
  i("stop", {
670
694
  offset: "100%",
671
695
  "stop-color": n($)(n(q)(e.value.style.chart.bar.color, 0.1), 80)
672
- }, null, 8, uo)
673
- ], 8, no),
696
+ }, null, 8, yo)
697
+ ], 8, go),
674
698
  i("radialGradient", {
675
- id: `gradient_left${P.value}`
699
+ id: `gradient_left${M.value}`
676
700
  }, [
677
701
  i("stop", {
678
702
  offset: "0%",
679
703
  "stop-color": n($)(e.value.style.chart.backgroundColor, 0)
680
- }, null, 8, co),
704
+ }, null, 8, bo),
681
705
  i("stop", {
682
706
  offset: "100%",
683
707
  "stop-color": n($)(e.value.style.chart.bar.color, 20)
684
- }, null, 8, vo)
685
- ], 8, io),
708
+ }, null, 8, _o)
709
+ ], 8, $o),
686
710
  i("radialGradient", {
687
- id: `gradient_right${P.value}`
711
+ id: `gradient_right${M.value}`
688
712
  }, [
689
713
  i("stop", {
690
714
  offset: "0%",
691
715
  "stop-color": n($)(e.value.style.chart.backgroundColor, 0)
692
- }, null, 8, fo),
716
+ }, null, 8, Co),
693
717
  i("stop", {
694
718
  offset: "100%",
695
719
  "stop-color": n($)(e.value.style.chart.bar.color, 20)
696
- }, null, 8, po)
697
- ], 8, ho),
720
+ }, null, 8, xo)
721
+ ], 8, mo),
698
722
  i("linearGradient", {
699
- id: `gradient_tube_body${P.value}`,
723
+ id: `gradient_tube_body${M.value}`,
700
724
  x1: "0%",
701
725
  y1: "0%",
702
726
  x2: "100%",
@@ -705,69 +729,69 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
705
729
  i("stop", {
706
730
  offset: "0%",
707
731
  "stop-color": `${e.value.style.chart.bar.color}`
708
- }, null, 8, yo),
732
+ }, null, 8, Ao),
709
733
  i("stop", {
710
734
  offset: "10%",
711
735
  "stop-color": n($)(n(q)(e.value.style.chart.bar.color, 0.7), 100)
712
- }, null, 8, ko),
736
+ }, null, 8, Do),
713
737
  i("stop", {
714
738
  offset: "25%",
715
739
  "stop-color": n($)(n(q)(e.value.style.chart.bar.color, 0.5), 100)
716
- }, null, 8, $o),
740
+ }, null, 8, Fo),
717
741
  i("stop", {
718
742
  offset: "75%",
719
743
  "stop-color": n($)(e.value.style.chart.bar.color, 80)
720
- }, null, 8, _o),
744
+ }, null, 8, Mo),
721
745
  i("stop", {
722
746
  offset: "100%",
723
747
  "stop-color": n($)(n(V)(e.value.style.chart.bar.color, 0.7), 100)
724
- }, null, 8, mo)
725
- ], 8, go)
748
+ }, null, 8, To)
749
+ ], 8, wo)
726
750
  ]),
727
- C.value ? (u(), v("defs", bo, [
728
- (u(!0), v(F, null, T(M.value, (t) => (u(), v("radialGradient", {
751
+ w.value ? (u(), v("defs", Po, [
752
+ (u(!0), v(D, null, F(A.value, (t) => (u(), v("radialGradient", {
729
753
  id: `grad_top_${t.id}`
730
754
  }, [
731
755
  i("stop", {
732
756
  offset: "0%",
733
757
  "stop-color": n($)(n(V)(t.color, 0.5), 80)
734
- }, null, 8, wo),
758
+ }, null, 8, Bo),
735
759
  i("stop", {
736
760
  offset: "100%",
737
761
  "stop-color": t.color
738
- }, null, 8, Co)
739
- ], 8, xo))), 256)),
740
- (u(!0), v(F, null, T(M.value, (t) => (u(), v("linearGradient", {
762
+ }, null, 8, Oo)
763
+ ], 8, So))), 256)),
764
+ (u(!0), v(D, null, F(A.value, (t) => (u(), v("linearGradient", {
741
765
  id: `grad_left_${t.id}`
742
766
  }, [
743
767
  i("stop", {
744
768
  offset: "0%",
745
769
  "stop-color": n($)(t.color, 80)
746
- }, null, 8, Fo),
770
+ }, null, 8, jo),
747
771
  i("stop", {
748
772
  offset: "100%",
749
773
  "stop-color": n($)(n(q)(t.color, 0.5), 100)
750
- }, null, 8, To)
751
- ], 8, Mo))), 256)),
752
- (u(!0), v(F, null, T(M.value, (t) => (u(), v("linearGradient", {
774
+ }, null, 8, zo)
775
+ ], 8, Eo))), 256)),
776
+ (u(!0), v(D, null, F(A.value, (t) => (u(), v("linearGradient", {
753
777
  id: `grad_right_${t.id}`
754
778
  }, [
755
779
  i("stop", {
756
780
  offset: "2%",
757
781
  "stop-color": n($)(n(V)(t.color, 0.5), 100)
758
- }, null, 8, So),
782
+ }, null, 8, No),
759
783
  i("stop", {
760
784
  offset: "100%",
761
785
  "stop-color": n($)(t.color, 80)
762
- }, null, 8, Do)
763
- ], 8, Po))), 256)),
786
+ }, null, 8, Lo)
787
+ ], 8, Io))), 256)),
764
788
  i("linearGradient", {
765
789
  x1: "0%",
766
790
  y1: "0%",
767
791
  x2: "0%",
768
792
  y2: "100%",
769
- id: `vertical_line_${P.value}`
770
- }, [...s[10] || (s[10] = [
793
+ id: `vertical_line_${M.value}`
794
+ }, [...l[10] || (l[10] = [
771
795
  i("stop", {
772
796
  offset: "0%",
773
797
  "stop-color": "#FFFFFF"
@@ -776,189 +800,189 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
776
800
  offset: "100%",
777
801
  "stop-color": "#FFFFFF33"
778
802
  }, null, -1)
779
- ])], 8, Ao)
803
+ ])], 8, Wo)
780
804
  ])) : p("", !0),
781
- e.value.style.chart.dataLabel.show && ![null, void 0].includes(n(A).percentage) && [null, void 0].includes(n(A).series) ? (u(), v("text", {
805
+ e.value.style.chart.dataLabel.show && ![null, void 0].includes(n(B).percentage) && [null, void 0].includes(n(B).series) ? (u(), v("text", {
782
806
  key: 2,
783
- x: l.value.width / 2,
784
- y: l.value.top - e.value.style.chart.dataLabel.fontSize / 2,
807
+ x: s.value.width / 2,
808
+ y: s.value.top - e.value.style.chart.dataLabel.fontSize / 2,
785
809
  "font-size": e.value.style.chart.dataLabel.fontSize,
786
810
  "font-weight": e.value.style.chart.dataLabel.bold ? "bold" : "normal",
787
811
  fill: e.value.style.chart.dataLabel.color,
788
812
  "text-anchor": "middle"
789
- }, L(n(B)({
813
+ }, N(n(O)({
790
814
  v: K.value,
791
815
  s: "%",
792
816
  r: e.value.style.chart.dataLabel.rounding
793
- })), 9, Oo)) : p("", !0),
794
- I.value ? (u(), v("g", {
817
+ })), 9, Ro)) : p("", !0),
818
+ E.value ? (u(), v("g", {
795
819
  key: 3,
796
820
  role: "button",
797
821
  tabindex: "0",
798
822
  "aria-label": "Clear selection",
799
- onClick: s[0] || (s[0] = (t) => {
800
- I.value = !1, b.value = null;
823
+ onClick: l[0] || (l[0] = (t) => {
824
+ E.value = !1, m.value = null;
801
825
  }),
802
826
  onKeydown: [
803
- s[1] || (s[1] = Je(et((t) => {
804
- I.value = !1, b.value = null;
827
+ l[1] || (l[1] = et(tt((t) => {
828
+ E.value = !1, m.value = null;
805
829
  }, ["prevent"]), ["enter"])),
806
- s[2] || (s[2] = Je(et((t) => {
807
- I.value = !1, b.value = null;
830
+ l[2] || (l[2] = et(tt((t) => {
831
+ E.value = !1, m.value = null;
808
832
  }, ["prevent"]), ["space"]))
809
833
  ],
810
- onFocus: s[3] || (s[3] = (t) => le.value = !0),
811
- onBlur: s[4] || (s[4] = (t) => le.value = !1),
812
- onMouseenter: s[5] || (s[5] = (t) => le.value = !0),
813
- onMouseleave: s[6] || (s[6] = (t) => le.value = !1),
834
+ onFocus: l[3] || (l[3] = (t) => le.value = !0),
835
+ onBlur: l[4] || (l[4] = (t) => le.value = !1),
836
+ onMouseenter: l[5] || (l[5] = (t) => le.value = !0),
837
+ onMouseleave: l[6] || (l[6] = (t) => le.value = !1),
814
838
  class: "svg-btn",
815
839
  "data-dom-to-png-ignore": "",
816
840
  style: { cursor: "pointer", outline: "none" }
817
841
  }, [
818
- s[11] || (s[11] = i("title", null, "Clear selection", -1)),
842
+ l[11] || (l[11] = i("title", null, "Clear selection", -1)),
819
843
  i("rect", {
820
- x: Q.value - 12,
821
- y: l.value.top - 24,
844
+ x: J.value - 12,
845
+ y: s.value.top - 24,
822
846
  width: 24,
823
847
  height: 24,
824
848
  fill: "transparent",
825
849
  "pointer-events": "all"
826
- }, null, 8, Bo),
850
+ }, null, 8, Go),
827
851
  i("circle", {
828
- cx: Q.value,
829
- cy: l.value.top - 12,
852
+ cx: J.value,
853
+ cy: s.value.top - 12,
830
854
  r: "10",
831
855
  fill: "none",
832
856
  stroke: e.value.style.chart.color,
833
857
  "stroke-width": "2",
834
858
  "vector-effect": "non-scaling-stroke",
835
859
  opacity: le.value ? 0.5 : 0
836
- }, null, 8, Io),
860
+ }, null, 8, Vo),
837
861
  i("path", {
838
- d: `M${Q.value - 6},${l.value.top - 18} ${Q.value + 6},${l.value.top - 6}`,
862
+ d: `M${J.value - 6},${s.value.top - 18} ${J.value + 6},${s.value.top - 6}`,
839
863
  stroke: e.value.style.chart.color,
840
864
  "stroke-linecap": "round",
841
865
  "stroke-width": "2",
842
866
  "vector-effect": "non-scaling-stroke"
843
- }, null, 8, zo),
867
+ }, null, 8, Uo),
844
868
  i("path", {
845
- d: `M${Q.value + 6},${l.value.top - 18} ${Q.value - 6},${l.value.top - 6}`,
869
+ d: `M${J.value + 6},${s.value.top - 18} ${J.value - 6},${s.value.top - 6}`,
846
870
  stroke: e.value.style.chart.color,
847
871
  "stroke-linecap": "round",
848
872
  "stroke-width": "2",
849
873
  "vector-effect": "non-scaling-stroke"
850
- }, null, 8, jo)
874
+ }, null, 8, Ho)
851
875
  ], 32)) : p("", !0),
852
- !e.value.style.shape || e.value.style.shape === "bar" ? (u(), v("g", No, [
853
- C.value ? p("", !0) : (u(), v("g", Lo, [
876
+ !e.value.style.shape || e.value.style.shape === "bar" ? (u(), v("g", Xo, [
877
+ w.value ? p("", !0) : (u(), v("g", Zo, [
854
878
  i("path", {
855
879
  "stroke-dasharray": e.value.style.chart.box.strokeDasharray,
856
- d: E.value.right,
880
+ d: W.value.right,
857
881
  stroke: e.value.style.chart.box.stroke,
858
882
  "stroke-width": e.value.style.chart.box.strokeWidth,
859
883
  "stroke-linejoin": "round",
860
884
  "stroke-linecap": "round",
861
885
  fill: "none"
862
- }, null, 8, Wo),
886
+ }, null, 8, qo),
863
887
  i("path", {
864
888
  "stroke-dasharray": e.value.style.chart.box.strokeDasharray,
865
- d: E.value.left,
889
+ d: W.value.left,
866
890
  stroke: e.value.style.chart.box.stroke,
867
891
  "stroke-width": e.value.style.chart.box.strokeWidth,
868
892
  "stroke-linejoin": "round",
869
893
  "stroke-linecap": "round",
870
894
  fill: "none"
871
- }, null, 8, Eo),
895
+ }, null, 8, Yo),
872
896
  i("path", {
873
897
  "stroke-dasharray": e.value.style.chart.box.strokeDasharray,
874
- d: E.value.side,
898
+ d: W.value.side,
875
899
  stroke: e.value.style.chart.box.stroke,
876
900
  "stroke-width": e.value.style.chart.box.strokeWidth,
877
901
  "stroke-linejoin": "round",
878
902
  "stroke-linecap": "round",
879
903
  fill: "none"
880
- }, null, 8, Ro),
904
+ }, null, 8, Ko),
881
905
  i("path", {
882
906
  "stroke-dasharray": e.value.style.chart.box.strokeDasharray,
883
- d: E.value.topSides,
907
+ d: W.value.topSides,
884
908
  stroke: e.value.style.chart.box.stroke,
885
909
  "stroke-width": e.value.style.chart.box.strokeWidth,
886
910
  "stroke-linejoin": "round",
887
911
  "stroke-linecap": "round",
888
912
  fill: "none"
889
- }, null, 8, Go)
913
+ }, null, 8, Jo)
890
914
  ])),
891
- C.value ? p("", !0) : (u(), v("g", Vo, [
915
+ w.value ? p("", !0) : (u(), v("g", Qo, [
892
916
  i("path", {
893
- d: J.value.right,
917
+ d: Q.value.right,
894
918
  stroke: e.value.style.chart.bar.stroke,
895
919
  "stroke-width": e.value.style.chart.bar.strokeWidth,
896
920
  "stroke-linejoin": "round",
897
921
  "stroke-linecap": "round",
898
- fill: `url(#gradient_right${P.value})`
899
- }, null, 8, Uo),
922
+ fill: `url(#gradient_right${M.value})`
923
+ }, null, 8, el),
900
924
  i("path", {
901
- d: J.value.left,
925
+ d: Q.value.left,
902
926
  stroke: e.value.style.chart.bar.stroke,
903
927
  "stroke-width": e.value.style.chart.bar.strokeWidth,
904
928
  "stroke-linejoin": "round",
905
929
  "stroke-linecap": "round",
906
- fill: `url(#gradient_left${P.value})`
907
- }, null, 8, Ho),
930
+ fill: `url(#gradient_left${M.value})`
931
+ }, null, 8, tl),
908
932
  i("path", {
909
- d: J.value.top,
933
+ d: Q.value.top,
910
934
  stroke: e.value.style.chart.bar.stroke,
911
935
  "stroke-width": e.value.style.chart.bar.strokeWidth,
912
936
  "stroke-linejoin": "round",
913
937
  "stroke-linecap": "round",
914
- fill: `url(#gradient_top${P.value})`
915
- }, null, 8, Xo)
938
+ fill: `url(#gradient_top${M.value})`
939
+ }, null, 8, ol)
916
940
  ])),
917
- C.value ? (u(), v("g", Zo, [
918
- (u(!0), v(F, null, T(M.value, (t, c) => (u(), v("g", {
919
- style: z(`opacity:${b.value ? b.value === t.id ? 1 : 0.3 : 1}`),
941
+ w.value ? (u(), v("g", ll, [
942
+ (u(!0), v(D, null, F(A.value, (t, d) => (u(), v("g", {
943
+ style: j(`opacity:${m.value ? m.value === t.id ? 1 : 0.3 : 1}`),
920
944
  class: "vue-ui-3d-bar-stack"
921
945
  }, [
922
946
  i("path", {
923
947
  d: t.fill.right,
924
948
  fill: `url(#grad_right_${t.id})`,
925
- onMouseenter: (o) => S(t),
926
- onClick: (o) => S(t, !0),
949
+ onMouseenter: (o) => T(t),
950
+ onClick: (o) => T(t, !0),
927
951
  onMouseout: (o) => X(t)
928
- }, null, 40, qo),
952
+ }, null, 40, al),
929
953
  i("path", {
930
954
  d: t.fill.left,
931
955
  fill: `url(#grad_left_${t.id})`,
932
- onMouseenter: (o) => S(t),
933
- onClick: (o) => S(t, !0),
956
+ onMouseenter: (o) => T(t),
957
+ onClick: (o) => T(t, !0),
934
958
  onMouseout: (o) => X(t)
935
- }, null, 40, Yo),
959
+ }, null, 40, sl),
936
960
  i("path", {
937
961
  d: t.fill.top,
938
962
  fill: `url(#grad_top_${t.id})`,
939
- onMouseenter: (o) => S(t),
940
- onClick: (o) => S(t, !0),
963
+ onMouseenter: (o) => T(t),
964
+ onClick: (o) => T(t, !0),
941
965
  onMouseout: (o) => X(t)
942
- }, null, 40, Ko),
966
+ }, null, 40, nl),
943
967
  i("path", {
944
968
  d: t.fill.liningTop,
945
969
  stroke: "#FFFFFF",
946
970
  "stroke-width": "0.5",
947
971
  "stroke-linecap": "round",
948
972
  fill: "none",
949
- onMouseenter: (o) => S(t),
950
- onClick: (o) => S(t, !0),
973
+ onMouseenter: (o) => T(t),
974
+ onClick: (o) => T(t, !0),
951
975
  onMouseout: (o) => X(t)
952
- }, null, 40, Qo),
976
+ }, null, 40, rl),
953
977
  i("path", {
954
978
  d: `M ${t.fill.apexTop.x},${t.fill.apexTop.y} ${t.fill.apexBottom.x},${t.fill.apexBottom.y}`,
955
979
  stroke: "#FFFFFF",
956
980
  "stroke-width": "0.5",
957
981
  "stroke-linecap": "round"
958
- }, null, 8, Jo)
982
+ }, null, 8, ul)
959
983
  ], 4))), 256)),
960
- (u(!0), v(F, null, T(M.value, (t, c) => (u(), v("g", null, [
961
- c !== M.value.length - 1 ? (u(), v("path", {
984
+ (u(!0), v(D, null, F(A.value, (t, d) => (u(), v("g", null, [
985
+ d !== A.value.length - 1 ? (u(), v("path", {
962
986
  key: 0,
963
987
  d: t.fill.liningTopShade,
964
988
  stroke: e.value.style.chart.bar.shadeColor,
@@ -966,10 +990,10 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
966
990
  "stroke-linecap": "round",
967
991
  fill: "none",
968
992
  style: { "pointer-events": "none" }
969
- }, null, 8, el)) : p("", !0)
993
+ }, null, 8, il)) : p("", !0)
970
994
  ]))), 256)),
971
- (u(!0), v(F, null, T(M.value, (t, c) => (u(), v("g", {
972
- style: z(`opacity:${b.value ? b.value === t.id ? 1 : 0 : t.proportion * 100 > e.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
995
+ (u(!0), v(D, null, F(A.value, (t, d) => (u(), v("g", {
996
+ style: j(`opacity:${m.value ? m.value === t.id ? 1 : 0 : t.proportion * 100 > e.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
973
997
  onClick: (o) => ne("selectDatapoint", t)
974
998
  }, [
975
999
  i("path", {
@@ -978,175 +1002,175 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
978
1002
  "stroke-width": "0.5",
979
1003
  "stroke-linecap": "round",
980
1004
  d: `M${t.fill.sidePointer.x},${t.fill.sidePointer.y} ${t.fill.sidePointer.x2},${t.fill.sidePointer.y}`
981
- }, null, 8, ol),
982
- !t.fill.miniDonut || b.value ? (u(), v("circle", {
1005
+ }, null, 8, cl),
1006
+ !t.fill.miniDonut || m.value ? (u(), v("circle", {
983
1007
  key: 0,
984
1008
  cx: t.fill.sidePointer.x2,
985
1009
  cy: t.fill.sidePointer.y,
986
1010
  r: 2,
987
1011
  fill: t.color,
988
1012
  stroke: e.value.style.chart.backgroundColor
989
- }, null, 8, ll)) : p("", !0),
1013
+ }, null, 8, vl)) : p("", !0),
990
1014
  n(Y) ? (u(), v("rect", {
991
1015
  key: 1,
992
1016
  x: t.fill.sidePointer.xText,
993
1017
  y: t.fill.sidePointer.y - e.value.style.chart.legend.fontSize / 2,
994
- width: l.value.width / 3,
1018
+ width: s.value.width / 3,
995
1019
  height: e.value.style.chart.legend.fontSize,
996
1020
  fill: "#6A6A6A80",
997
1021
  rx: "3"
998
- }, null, 8, al)) : p("", !0),
1022
+ }, null, 8, hl)) : p("", !0),
999
1023
  n(Y) ? p("", !0) : (u(), v("foreignObject", {
1000
1024
  key: 2,
1001
1025
  x: t.fill.sidePointer.xText,
1002
1026
  y: t.fill.sidePointer.y - e.value.style.chart.legend.fontSize,
1003
- width: l.value.absoluteWidth / 3,
1027
+ width: s.value.absoluteWidth / 3,
1004
1028
  height: e.value.style.chart.legend.fontSize * 2,
1005
1029
  style: { overflow: "visible", position: "relative" }
1006
1030
  }, [
1007
1031
  e.value.style.chart.legend.showDefault ? (u(), v("div", {
1008
1032
  key: 0,
1009
- 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}`)
1010
- }, L(n(fe)(
1033
+ 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}`)
1034
+ }, N(n(fe)(
1011
1035
  e.value.style.chart.dataLabel.formatter,
1012
1036
  t.value,
1013
- `${t.name}: ${n(B)({ v: t.proportion * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })} (${n(B)({
1037
+ `${t.name}: ${n(O)({ v: t.proportion * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })} (${n(O)({
1014
1038
  p: e.value.style.chart.legend.prefix,
1015
1039
  v: t.value,
1016
1040
  s: e.value.style.chart.legend.suffix,
1017
1041
  r: e.value.style.chart.legend.roundingValue
1018
1042
  })})`,
1019
- { datapoint: t, seriesIndex: c, type: "barDatapoint" }
1043
+ { datapoint: t, seriesIndex: d, type: "barDatapoint" }
1020
1044
  )), 5)) : p("", !0),
1021
- m(a.$slots, "legend", Ce({ ref_for: !0 }, { datapoint: t, config: e.value, dataset: M.value }), void 0, !0)
1022
- ], 8, sl)),
1023
- t.fill.donut && b.value === t.id ? (u(), v("g", nl, [
1024
- (u(!0), v(F, null, T(t.fill.donut, (o, d) => (u(), v("g", null, [
1045
+ _(a.$slots, "legend", we({ ref_for: !0 }, { datapoint: t, config: e.value, dataset: A.value }), void 0, !0)
1046
+ ], 8, fl)),
1047
+ t.fill.donut && m.value === t.id ? (u(), v("g", pl, [
1048
+ (u(!0), v(D, null, F(t.fill.donut, (o, c) => (u(), v("g", null, [
1025
1049
  ee(o, t.fill.donut, !0) > 6 ? (u(), v("path", {
1026
1050
  key: 0,
1027
- d: n(st)(o, { x: o.cx, y: o.cy }, 0, 8, !1, !0, 10),
1051
+ d: n(nt)(o, { x: o.cx, y: o.cy }, 0, 8, !1, !0, 10),
1028
1052
  stroke: o.color,
1029
1053
  class: "vue-ui-donut-arc-path",
1030
1054
  "stroke-width": "0.5",
1031
1055
  "stroke-linecap": "round",
1032
1056
  "stroke-linejoin": "round",
1033
1057
  fill: "none"
1034
- }, null, 8, rl)) : p("", !0)
1058
+ }, null, 8, gl)) : p("", !0)
1035
1059
  ]))), 256)),
1036
- (u(!0), v(F, null, T(t.fill.donut, (o, d) => (u(), v("path", {
1060
+ (u(!0), v(D, null, F(t.fill.donut, (o, c) => (u(), v("path", {
1037
1061
  class: "vue-ui-donut-arc-path",
1038
1062
  d: o.arcSlice,
1039
1063
  fill: `${o.color}`,
1040
1064
  stroke: e.value.style.chart.backgroundColor,
1041
1065
  "stroke-width": 1
1042
- }, null, 8, ul))), 256)),
1043
- (u(!0), v(F, null, T(t.fill.donut, (o, d) => (u(), v("g", null, [
1044
- ee(o, t.fill.donut, !0) > 6 ? (u(), v("g", il, [
1066
+ }, null, 8, kl))), 256)),
1067
+ (u(!0), v(D, null, F(t.fill.donut, (o, c) => (u(), v("g", null, [
1068
+ ee(o, t.fill.donut, !0) > 6 ? (u(), v("g", yl, [
1045
1069
  i("text", {
1046
1070
  "text-anchor": n(U)(o, !0, 0).anchor,
1047
1071
  x: n(U)(o, !0, 2).x,
1048
1072
  y: n(pe)(o, 12, 12),
1049
1073
  fill: e.value.style.chart.legend.color,
1050
1074
  "font-size": e.value.style.chart.legend.fontSize / 1.5
1051
- }, L(n(fe)(
1075
+ }, N(n(fe)(
1052
1076
  e.value.style.chart.dataLabel.formatter,
1053
1077
  o.value,
1054
- `${ee(o, t.fill.donut)} (${n(B)({
1078
+ `${ee(o, t.fill.donut)} (${n(O)({
1055
1079
  p: e.value.style.chart.legend.prefix,
1056
1080
  v: o.value,
1057
1081
  s: e.value.style.chart.legend.suffix,
1058
1082
  r: e.value.style.chart.legend.roundingValue
1059
1083
  })})`,
1060
- { datapoint: o, seriesIndex: d, type: "donutDatapoint" }
1061
- )), 9, dl),
1084
+ { datapoint: o, seriesIndex: c, type: "donutDatapoint" }
1085
+ )), 9, $l),
1062
1086
  i("text", {
1063
1087
  "text-anchor": n(U)(o).anchor,
1064
1088
  x: n(U)(o, !0, 2).x,
1065
1089
  y: n(pe)(o, 12, 12) + e.value.style.chart.legend.fontSize / 1.5,
1066
1090
  fill: e.value.style.chart.legend.color,
1067
1091
  "font-size": e.value.style.chart.legend.fontSize / 1.5
1068
- }, L(o.name), 9, cl)
1092
+ }, N(o.name), 9, bl)
1069
1093
  ])) : p("", !0)
1070
1094
  ]))), 256))
1071
1095
  ])) : p("", !0),
1072
- t.fill.miniDonut && !b.value ? (u(), v("g", vl, [
1073
- (u(!0), v(F, null, T(t.fill.miniDonut, (o, d) => (u(), v("path", {
1096
+ t.fill.miniDonut && !m.value ? (u(), v("g", _l, [
1097
+ (u(!0), v(D, null, F(t.fill.miniDonut, (o, c) => (u(), v("path", {
1074
1098
  class: "vue-ui-donut-arc-path",
1075
1099
  d: o.arcSlice,
1076
1100
  fill: `${o.color}`,
1077
1101
  stroke: e.value.style.chart.backgroundColor,
1078
1102
  "stroke-width": 0.5
1079
- }, null, 8, hl))), 256))
1103
+ }, null, 8, ml))), 256))
1080
1104
  ])) : p("", !0)
1081
- ], 12, tl))), 256))
1105
+ ], 12, dl))), 256))
1082
1106
  ])) : p("", !0)
1083
1107
  ])) : p("", !0),
1084
- e.value.style.shape === "tube" ? (u(), v("g", fl, [
1085
- C.value ? p("", !0) : (u(), v("g", pl, [
1108
+ e.value.style.shape === "tube" ? (u(), v("g", Cl, [
1109
+ w.value ? p("", !0) : (u(), v("g", xl, [
1086
1110
  i("path", {
1087
1111
  "stroke-dasharray": e.value.style.chart.box.strokeDasharray,
1088
- d: E.value.tubeTop,
1112
+ d: W.value.tubeTop,
1089
1113
  stroke: e.value.style.chart.box.stroke,
1090
1114
  "stroke-width": e.value.style.chart.box.strokeWidth,
1091
1115
  "stroke-linejoin": "round",
1092
1116
  "stroke-linecap": "round",
1093
1117
  fill: "none"
1094
- }, null, 8, gl),
1118
+ }, null, 8, wl),
1095
1119
  i("path", {
1096
1120
  "stroke-dasharray": e.value.style.chart.box.strokeDasharray,
1097
- d: E.value.tubeLeft,
1121
+ d: W.value.tubeLeft,
1098
1122
  stroke: e.value.style.chart.box.stroke,
1099
1123
  "stroke-width": e.value.style.chart.box.strokeWidth,
1100
1124
  "stroke-linejoin": "round",
1101
1125
  "stroke-linecap": "round",
1102
1126
  fill: "none"
1103
- }, null, 8, yl),
1127
+ }, null, 8, Al),
1104
1128
  i("path", {
1105
1129
  "stroke-dasharray": e.value.style.chart.box.strokeDasharray,
1106
- d: E.value.tubeRight,
1130
+ d: W.value.tubeRight,
1107
1131
  stroke: e.value.style.chart.box.stroke,
1108
1132
  "stroke-width": e.value.style.chart.box.strokeWidth,
1109
1133
  "stroke-linejoin": "round",
1110
1134
  "stroke-linecap": "round",
1111
1135
  fill: "none"
1112
- }, null, 8, kl),
1136
+ }, null, 8, Dl),
1113
1137
  i("path", {
1114
1138
  "stroke-dasharray": e.value.style.chart.box.strokeDasharray,
1115
- d: E.value.tubeBottom,
1139
+ d: W.value.tubeBottom,
1116
1140
  stroke: e.value.style.chart.box.stroke,
1117
1141
  "stroke-width": e.value.style.chart.box.strokeWidth,
1118
1142
  "stroke-linejoin": "round",
1119
1143
  "stroke-linecap": "round",
1120
1144
  fill: "none"
1121
- }, null, 8, $l),
1145
+ }, null, 8, Fl),
1122
1146
  i("path", {
1123
- d: J.value.tubeTop,
1147
+ d: Q.value.tubeTop,
1124
1148
  stroke: e.value.style.chart.bar.stroke,
1125
1149
  "stroke-width": e.value.style.chart.bar.strokeWidth,
1126
1150
  "stroke-linejoin": "round",
1127
1151
  "stroke-linecap": "round",
1128
- fill: `url(#gradient_tube_top${P.value})`
1129
- }, null, 8, _l),
1152
+ fill: `url(#gradient_tube_top${M.value})`
1153
+ }, null, 8, Ml),
1130
1154
  i("path", {
1131
- d: J.value.tubeBody,
1155
+ d: Q.value.tubeBody,
1132
1156
  stroke: e.value.style.chart.bar.stroke,
1133
1157
  "stroke-width": e.value.style.chart.bar.strokeWidth,
1134
1158
  "stroke-linejoin": "round",
1135
1159
  "stroke-linecap": "round",
1136
- fill: `url(#gradient_tube_body${P.value})`
1137
- }, null, 8, ml),
1160
+ fill: `url(#gradient_tube_body${M.value})`
1161
+ }, null, 8, Tl),
1138
1162
  i("path", {
1139
- d: J.value.tubeTop,
1163
+ d: Q.value.tubeTop,
1140
1164
  stroke: "#FFFFFF",
1141
1165
  "stroke-width": 0.5,
1142
1166
  "stroke-linejoin": "round",
1143
1167
  "stroke-linecap": "round",
1144
1168
  fill: "none"
1145
- }, null, 8, bl)
1169
+ }, null, 8, Pl)
1146
1170
  ])),
1147
- C.value ? (u(), v("g", xl, [
1148
- (u(!0), v(F, null, T(M.value, (t, c) => (u(), v("g", {
1149
- style: z(`opacity:${b.value ? b.value === t.id ? 1 : 0.3 : 1}`),
1171
+ w.value ? (u(), v("g", Sl, [
1172
+ (u(!0), v(D, null, F(A.value, (t, d) => (u(), v("g", {
1173
+ style: j(`opacity:${m.value ? m.value === t.id ? 1 : 0.3 : 1}`),
1150
1174
  class: "vue-ui-3d-bar-stack",
1151
1175
  onClick: (o) => ne("selectDatapoint", t)
1152
1176
  }, [
@@ -1159,12 +1183,12 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
1159
1183
  i("stop", {
1160
1184
  offset: "0%",
1161
1185
  "stop-color": n($)(n(V)(t.color, 0.5), 80)
1162
- }, null, 8, Ml),
1186
+ }, null, 8, El),
1163
1187
  i("stop", {
1164
1188
  offset: "100%",
1165
1189
  "stop-color": n($)(n(q)(t.color, 0.1), 80)
1166
- }, null, 8, Fl)
1167
- ], 8, Cl),
1190
+ }, null, 8, jl)
1191
+ ], 8, Ol),
1168
1192
  i("linearGradient", {
1169
1193
  id: `gradient_tube_body_${t.id}`,
1170
1194
  x1: "0%",
@@ -1175,28 +1199,28 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
1175
1199
  i("stop", {
1176
1200
  offset: "0%",
1177
1201
  "stop-color": `${t.color}`
1178
- }, null, 8, Pl),
1202
+ }, null, 8, Il),
1179
1203
  i("stop", {
1180
1204
  offset: "10%",
1181
1205
  "stop-color": n($)(n(q)(t.color, 0.7), 100)
1182
- }, null, 8, Sl),
1206
+ }, null, 8, Nl),
1183
1207
  i("stop", {
1184
1208
  offset: "25%",
1185
1209
  "stop-color": n($)(n(q)(t.color, 0.5), 100)
1186
- }, null, 8, Dl),
1210
+ }, null, 8, Ll),
1187
1211
  i("stop", {
1188
1212
  offset: "75%",
1189
1213
  "stop-color": n($)(t.color, 80)
1190
- }, null, 8, Al),
1214
+ }, null, 8, Wl),
1191
1215
  i("stop", {
1192
1216
  offset: "100%",
1193
1217
  "stop-color": n($)(n(V)(t.color, 0.7), 100)
1194
- }, null, 8, Ol)
1195
- ], 8, Tl)
1218
+ }, null, 8, Rl)
1219
+ ], 8, zl)
1196
1220
  ]),
1197
1221
  i("path", {
1198
- onMouseenter: (o) => S(t),
1199
- onClick: (o) => S(t, !0),
1222
+ onMouseenter: (o) => T(t),
1223
+ onClick: (o) => T(t, !0),
1200
1224
  onMouseout: (o) => X(t),
1201
1225
  d: t.fill.tubeBody,
1202
1226
  stroke: "#FFFFFF",
@@ -1204,11 +1228,11 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
1204
1228
  "stroke-linejoin": "round",
1205
1229
  "stroke-linecap": "round",
1206
1230
  fill: `url(#gradient_tube_body_${t.id})`
1207
- }, null, 40, Bl),
1208
- c > 0 ? (u(), v("path", {
1231
+ }, null, 40, Gl),
1232
+ d > 0 ? (u(), v("path", {
1209
1233
  key: 0,
1210
- onMouseenter: (o) => S(t),
1211
- onClick: (o) => S(t, !0),
1234
+ onMouseenter: (o) => T(t),
1235
+ onClick: (o) => T(t, !0),
1212
1236
  onMouseout: (o) => X(t),
1213
1237
  d: t.fill.bottomTubeTop,
1214
1238
  stroke: "#000000",
@@ -1216,10 +1240,10 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
1216
1240
  "stroke-linejoin": "round",
1217
1241
  "stroke-linecap": "round",
1218
1242
  fill: "none"
1219
- }, null, 40, Il)) : p("", !0),
1243
+ }, null, 40, Vl)) : p("", !0),
1220
1244
  i("path", {
1221
- onMouseenter: (o) => S(t),
1222
- onClick: (o) => S(t, !0),
1245
+ onMouseenter: (o) => T(t),
1246
+ onClick: (o) => T(t, !0),
1223
1247
  onMouseout: (o) => X(t),
1224
1248
  d: t.fill.tubeTop,
1225
1249
  stroke: "#FFFFFF",
@@ -1227,10 +1251,10 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
1227
1251
  "stroke-linejoin": "round",
1228
1252
  "stroke-linecap": "round",
1229
1253
  fill: `url(#gradient_tube_top_${t.id})`
1230
- }, null, 40, zl)
1231
- ], 12, wl))), 256)),
1232
- (u(!0), v(F, null, T(M.value, (t, c) => (u(), v("g", {
1233
- style: z(`opacity:${b.value ? b.value === t.id ? 1 : 0 : t.proportion * 100 > e.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
1254
+ }, null, 40, Ul)
1255
+ ], 12, Bl))), 256)),
1256
+ (u(!0), v(D, null, F(A.value, (t, d) => (u(), v("g", {
1257
+ style: j(`opacity:${m.value ? m.value === t.id ? 1 : 0 : t.proportion * 100 > e.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
1234
1258
  onClick: (o) => ne("selectDatapoint", t)
1235
1259
  }, [
1236
1260
  i("path", {
@@ -1239,146 +1263,146 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
1239
1263
  "stroke-width": "0.5",
1240
1264
  "stroke-linecap": "round",
1241
1265
  d: `M${t.fill.sidePointer.x},${t.fill.sidePointer.y} ${t.fill.sidePointer.x2},${t.fill.sidePointer.y}`
1242
- }, null, 8, Nl),
1243
- !t.fill.miniDonut || b.value ? (u(), v("circle", {
1266
+ }, null, 8, Xl),
1267
+ !t.fill.miniDonut || m.value ? (u(), v("circle", {
1244
1268
  key: 0,
1245
1269
  cx: t.fill.sidePointer.x2,
1246
1270
  cy: t.fill.sidePointer.y,
1247
1271
  r: 2,
1248
1272
  fill: t.color,
1249
1273
  stroke: e.value.style.chart.backgroundColor
1250
- }, null, 8, Ll)) : p("", !0),
1274
+ }, null, 8, Zl)) : p("", !0),
1251
1275
  n(Y) ? (u(), v("rect", {
1252
1276
  key: 1,
1253
1277
  x: t.fill.sidePointer.xText,
1254
1278
  y: t.fill.sidePointer.y - e.value.style.chart.legend.fontSize / 2,
1255
- width: l.value.width / 3,
1279
+ width: s.value.width / 3,
1256
1280
  height: e.value.style.chart.legend.fontSize,
1257
1281
  fill: "#6A6A6A80",
1258
1282
  rx: "3"
1259
- }, null, 8, Wl)) : p("", !0),
1283
+ }, null, 8, ql)) : p("", !0),
1260
1284
  n(Y) ? p("", !0) : (u(), v("foreignObject", {
1261
1285
  key: 2,
1262
1286
  x: t.fill.sidePointer.xText,
1263
1287
  y: t.fill.sidePointer.y - e.value.style.chart.legend.fontSize,
1264
- width: l.value.absoluteWidth / 3,
1288
+ width: s.value.absoluteWidth / 3,
1265
1289
  height: e.value.style.chart.legend.fontSize * 2,
1266
1290
  style: { overflow: "visible", position: "relative" }
1267
1291
  }, [
1268
1292
  e.value.style.chart.legend.showDefault ? (u(), v("div", {
1269
1293
  key: 0,
1270
- 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}`)
1271
- }, L(n(fe)(
1294
+ 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}`)
1295
+ }, N(n(fe)(
1272
1296
  e.value.style.chart.dataLabel.formatter,
1273
1297
  t.value,
1274
- `${t.name}: ${n(B)({ v: t.proportion * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })} (${n(B)({
1298
+ `${t.name}: ${n(O)({ v: t.proportion * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })} (${n(O)({
1275
1299
  p: e.value.style.chart.legend.prefix,
1276
1300
  v: t.value,
1277
1301
  s: e.value.style.chart.legend.suffix,
1278
1302
  r: e.value.style.chart.legend.roundingValue
1279
1303
  })})`,
1280
- { datapoint: t, seriesIndex: c, type: "barDatapoint" }
1304
+ { datapoint: t, seriesIndex: d, type: "barDatapoint" }
1281
1305
  )), 5)) : p("", !0),
1282
- m(a.$slots, "legend", Ce({ ref_for: !0 }, { datapoint: t, config: e.value, dataset: M.value }), void 0, !0)
1283
- ], 8, El)),
1284
- t.fill.donut && b.value === t.id ? (u(), v("g", Rl, [
1285
- (u(!0), v(F, null, T(t.fill.donut, (o, d) => (u(), v("g", null, [
1306
+ _(a.$slots, "legend", we({ ref_for: !0 }, { datapoint: t, config: e.value, dataset: A.value }), void 0, !0)
1307
+ ], 8, Yl)),
1308
+ t.fill.donut && m.value === t.id ? (u(), v("g", Kl, [
1309
+ (u(!0), v(D, null, F(t.fill.donut, (o, c) => (u(), v("g", null, [
1286
1310
  ee(o, t.fill.donut, !0) > 6 ? (u(), v("path", {
1287
1311
  key: 0,
1288
- d: n(st)(o, { x: o.cx, y: o.cy }, 0, 8, !1, !0, 10),
1312
+ d: n(nt)(o, { x: o.cx, y: o.cy }, 0, 8, !1, !0, 10),
1289
1313
  stroke: o.color,
1290
1314
  class: "vue-ui-donut-arc-path",
1291
1315
  "stroke-width": "0.5",
1292
1316
  "stroke-linecap": "round",
1293
1317
  "stroke-linejoin": "round",
1294
1318
  fill: "none"
1295
- }, null, 8, Gl)) : p("", !0)
1319
+ }, null, 8, Jl)) : p("", !0)
1296
1320
  ]))), 256)),
1297
- (u(!0), v(F, null, T(t.fill.donut, (o, d) => (u(), v("path", {
1321
+ (u(!0), v(D, null, F(t.fill.donut, (o, c) => (u(), v("path", {
1298
1322
  class: "vue-ui-donut-arc-path",
1299
1323
  d: o.arcSlice,
1300
1324
  fill: `${o.color}`,
1301
1325
  stroke: e.value.style.chart.backgroundColor,
1302
1326
  "stroke-width": 1
1303
- }, null, 8, Vl))), 256)),
1304
- (u(!0), v(F, null, T(t.fill.donut, (o, d) => (u(), v("g", null, [
1305
- ee(o, t.fill.donut, !0) > 6 ? (u(), v("g", Ul, [
1327
+ }, null, 8, Ql))), 256)),
1328
+ (u(!0), v(D, null, F(t.fill.donut, (o, c) => (u(), v("g", null, [
1329
+ ee(o, t.fill.donut, !0) > 6 ? (u(), v("g", ea, [
1306
1330
  i("text", {
1307
1331
  "text-anchor": n(U)(o, !0, 0).anchor,
1308
1332
  x: n(U)(o, !0, 2).x,
1309
1333
  y: n(pe)(o, 12, 12),
1310
1334
  fill: e.value.style.chart.legend.color,
1311
1335
  "font-size": e.value.style.chart.legend.fontSize / 1.5
1312
- }, L(n(fe)(
1336
+ }, N(n(fe)(
1313
1337
  e.value.style.chart.dataLabel.formatter,
1314
1338
  o.value,
1315
- `${ee(o, t.fill.donut)} (${n(B)({
1339
+ `${ee(o, t.fill.donut)} (${n(O)({
1316
1340
  p: e.value.style.chart.legend.prefix,
1317
1341
  v: o.value,
1318
1342
  s: e.value.style.chart.legend.suffix,
1319
1343
  r: e.value.style.chart.legend.roundingValue
1320
1344
  })})`,
1321
- { datapoint: o, seriesIndex: d, type: "donutDatapoint" }
1322
- )), 9, Hl),
1345
+ { datapoint: o, seriesIndex: c, type: "donutDatapoint" }
1346
+ )), 9, ta),
1323
1347
  i("text", {
1324
1348
  "text-anchor": n(U)(o).anchor,
1325
1349
  x: n(U)(o, !0, 2).x,
1326
1350
  y: n(pe)(o, 12, 12) + e.value.style.chart.legend.fontSize / 1.5,
1327
1351
  fill: e.value.style.chart.legend.color,
1328
1352
  "font-size": e.value.style.chart.legend.fontSize / 1.5
1329
- }, L(o.name), 9, Xl)
1353
+ }, N(o.name), 9, oa)
1330
1354
  ])) : p("", !0)
1331
1355
  ]))), 256))
1332
1356
  ])) : p("", !0),
1333
- t.fill.miniDonut && !b.value ? (u(), v("g", Zl, [
1334
- (u(!0), v(F, null, T(t.fill.miniDonut, (o, d) => (u(), v("path", {
1357
+ t.fill.miniDonut && !m.value ? (u(), v("g", la, [
1358
+ (u(!0), v(D, null, F(t.fill.miniDonut, (o, c) => (u(), v("path", {
1335
1359
  class: "vue-ui-donut-arc-path",
1336
1360
  d: o.arcSlice,
1337
1361
  fill: `${o.color}`,
1338
1362
  stroke: e.value.style.chart.backgroundColor,
1339
1363
  "stroke-width": 0.5
1340
- }, null, 8, ql))), 256))
1364
+ }, null, 8, aa))), 256))
1341
1365
  ])) : p("", !0)
1342
- ], 12, jl))), 256))
1366
+ ], 12, Hl))), 256))
1343
1367
  ])) : p("", !0)
1344
1368
  ])) : p("", !0),
1345
- m(a.$slots, "svg", { svg: l.value }, void 0, !0)
1346
- ], 14, to)),
1347
- a.$slots.watermark ? (u(), v("div", Yl, [
1348
- m(a.$slots, "watermark", j(N({ isPrinting: n(Be) || n(Ie) })), void 0, !0)
1369
+ _(a.$slots, "svg", { svg: s.value }, void 0, !0)
1370
+ ], 14, co)),
1371
+ a.$slots.watermark ? (u(), v("div", sa, [
1372
+ _(a.$slots, "watermark", z(I({ isPrinting: n(Ee) || n(je) })), void 0, !0)
1349
1373
  ])) : p("", !0),
1350
1374
  a.$slots.source ? (u(), v("div", {
1351
1375
  key: 4,
1352
1376
  ref_key: "source",
1353
- ref: De,
1377
+ ref: Se,
1354
1378
  dir: "auto"
1355
1379
  }, [
1356
- m(a.$slots, "source", {}, void 0, !0)
1380
+ _(a.$slots, "source", {}, void 0, !0)
1357
1381
  ], 512)) : p("", !0),
1358
- Fe.value && C.value && e.value.userOptions.buttons.table ? (u(), te(Dt(se.value.component), Ce({ key: 5 }, se.value.props, {
1382
+ Fe.value && w.value && e.value.userOptions.buttons.table ? (u(), te(Lt(se.value.component), we({ key: 5 }, se.value.props, {
1359
1383
  ref_key: "tableUnit",
1360
1384
  ref: ae,
1361
- onClose: Ve
1362
- }), Ke({
1363
- content: w(() => [
1364
- (u(), te(n(vt), {
1365
- key: `table_${Pe.value}`,
1385
+ onClose: Ue
1386
+ }), Je({
1387
+ content: x(() => [
1388
+ (u(), te(n($t), {
1389
+ key: `table_${Te.value}`,
1366
1390
  colNames: de.value.colNames,
1367
1391
  head: de.value.head,
1368
1392
  body: de.value.body,
1369
1393
  config: de.value.config,
1370
1394
  title: e.value.table.useDialog ? "" : se.value.title,
1371
1395
  withCloseButton: !e.value.table.useDialog,
1372
- onClose: Ve
1396
+ onClose: Ue
1373
1397
  }, {
1374
- th: w(({ th: t }) => [
1398
+ th: x(({ th: t }) => [
1375
1399
  i("div", {
1376
1400
  innerHTML: t,
1377
1401
  style: { display: "flex", "align-items": "center" }
1378
- }, null, 8, Kl)
1402
+ }, null, 8, na)
1379
1403
  ]),
1380
- td: w(({ td: t }) => [
1381
- tt(L(t.name || t), 1)
1404
+ td: x(({ td: t }) => [
1405
+ ot(N(t.name || t), 1)
1382
1406
  ]),
1383
1407
  _: 1
1384
1408
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -1387,20 +1411,20 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
1387
1411
  }, [
1388
1412
  e.value.table.useDialog ? {
1389
1413
  name: "title",
1390
- fn: w(() => [
1391
- tt(L(se.value.title), 1)
1414
+ fn: x(() => [
1415
+ ot(N(se.value.title), 1)
1392
1416
  ]),
1393
1417
  key: "0"
1394
1418
  } : void 0,
1395
1419
  e.value.table.useDialog ? {
1396
1420
  name: "actions",
1397
- fn: w(() => [
1421
+ fn: x(() => [
1398
1422
  i("button", {
1399
1423
  tabindex: "0",
1400
1424
  class: "vue-ui-user-options-button",
1401
- onClick: s[7] || (s[7] = (t) => me(e.value.userOptions.callbacks.csv))
1425
+ onClick: l[7] || (l[7] = (t) => _e(e.value.userOptions.callbacks.csv))
1402
1426
  }, [
1403
- Qe(n(dt), {
1427
+ Qe(n(kt), {
1404
1428
  name: "excel",
1405
1429
  stroke: se.value.props.color
1406
1430
  }, null, 8, ["stroke"])
@@ -1409,10 +1433,15 @@ const eo = ["id"], to = ["xmlns", "viewBox"], oo = ["width", "height"], lo = ["i
1409
1433
  key: "1"
1410
1434
  } : void 0
1411
1435
  ]), 1040)) : p("", !0),
1412
- n(Y) ? (u(), te(Ut, { key: 6 })) : p("", !0)
1413
- ], 44, eo));
1436
+ n(Y) ? (u(), te(eo, { key: 6 })) : p("", !0)
1437
+ ], 44, io));
1414
1438
  }
1415
- }, ha = /* @__PURE__ */ Jt(Ql, [["__scopeId", "data-v-8adbefaa"]]);
1439
+ }, ua = /* @__PURE__ */ uo(ra, [["__scopeId", "data-v-915f9cac"]]), xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1440
+ __proto__: null,
1441
+ default: ua
1442
+ }, Symbol.toStringTag, { value: "Module" }));
1416
1443
  export {
1417
- ha as default
1444
+ Ca as a,
1445
+ xa as b,
1446
+ ua as v
1418
1447
  };