vue-data-ui 2.3.74 → 2.3.76

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 (193) hide show
  1. package/dist/{Arrow-DK6F5Fq3.cjs → Arrow-D7M4-bW7.cjs} +1 -1
  2. package/dist/{Arrow-CYCrAySW.js → Arrow-DY9RKUmG.js} +1 -1
  3. package/dist/{BaseIcon-DBHVtm3A.cjs → BaseIcon-DB7Apwv_.cjs} +1 -1
  4. package/dist/{BaseIcon-kBIAYqUO.js → BaseIcon-rwm-10Hu.js} +1 -1
  5. package/dist/{DataTable-BNFSPjhv.cjs → DataTable-CsNozyz7.cjs} +1 -1
  6. package/dist/{DataTable-CKdV-L0e.js → DataTable-e2fnfjXV.js} +2 -2
  7. package/dist/{Legend-Cj7T-DqJ.js → Legend-5cQ0xZjK.js} +1 -1
  8. package/dist/{Legend-Do2kcWFT.cjs → Legend-DgFd-O0m.cjs} +1 -1
  9. package/dist/{Shape-Bo8ZjViG.js → Shape-CiTElr_0.js} +1 -1
  10. package/dist/{Shape-DRDUAe_o.cjs → Shape-yPECDLiP.cjs} +1 -1
  11. package/dist/{Slicer-D8jHSP7U.cjs → Slicer-DaZgCKV7.cjs} +1 -1
  12. package/dist/{Slicer-4nGKvUYF.js → Slicer-DwBBu3kB.js} +2 -2
  13. package/dist/{Title-D5cATWsL.cjs → Title-3EduyW4p.cjs} +1 -1
  14. package/dist/{Title-DZjnxQdN.js → Title-gUz6GDA3.js} +1 -1
  15. package/dist/{Tooltip-B8yLaegk.cjs → Tooltip-DScSrYXJ.cjs} +1 -1
  16. package/dist/{Tooltip--kgFEVZs.js → Tooltip-DfSM1mNP.js} +1 -1
  17. package/dist/{index-D_32ZGWd.cjs → index-BTgtr0F8.cjs} +1 -1
  18. package/dist/{index-C8SH0f2u.js → index-CaV1s-yZ.js} +1 -1
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-BvvH633N.cjs → useNestedProp-CisbRRo_.cjs} +1 -1
  21. package/dist/{useNestedProp-lS_T5lM3.js → useNestedProp-tWCzZrLx.js} +1 -1
  22. package/dist/{usePrinter-BouFNHWR.cjs → usePrinter-DzTaA1eh.cjs} +1 -1
  23. package/dist/{usePrinter-Dj50NAxo.js → usePrinter-rvJyT65A.js} +1 -1
  24. package/dist/{vue-data-ui-v_BbbLtJ.cjs → vue-data-ui-BGkWRPUY.cjs} +1 -1
  25. package/dist/{vue-data-ui-DoXqU7xC.js → vue-data-ui-BO89gTtq.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-CnoPOJHm.js → vue-ui-3d-bar-CcTMIHiB.js} +499 -486
  29. package/dist/vue-ui-3d-bar-DzmcGuqh.cjs +19 -0
  30. package/dist/{vue-ui-accordion-Cka6b_Up.cjs → vue-ui-accordion-7e4Myhcg.cjs} +1 -1
  31. package/dist/{vue-ui-accordion-YHleIgkV.js → vue-ui-accordion-CpzGQ63y.js} +3 -3
  32. package/dist/vue-ui-age-pyramid-C7qr9EwB.cjs +1 -0
  33. package/dist/{vue-ui-age-pyramid-CENg8fDg.js → vue-ui-age-pyramid-D71ZLkVV.js} +182 -169
  34. package/dist/{vue-ui-annotator-VJOLUkqJ.js → vue-ui-annotator-B8Iu6cYt.js} +1 -1
  35. package/dist/{vue-ui-annotator-ByYg6QMs.cjs → vue-ui-annotator-BKQrweqm.cjs} +1 -1
  36. package/dist/{vue-ui-candlestick-CHsGD3bx.js → vue-ui-candlestick-Bx4QVkY0.js} +295 -279
  37. package/dist/vue-ui-candlestick-DAc1FQ-i.cjs +2 -0
  38. package/dist/vue-ui-carousel-table-uFRqkghO.cjs +1 -0
  39. package/dist/{vue-ui-carousel-table-RAtX3VBu.js → vue-ui-carousel-table-xuQG6bcH.js} +146 -129
  40. package/dist/{vue-ui-chestnut-B5GQX0J_.js → vue-ui-chestnut-Bo6rDcU7.js} +215 -204
  41. package/dist/vue-ui-chestnut-DJkm72oD.cjs +6 -0
  42. package/dist/{vue-ui-cursor-DnZqLj21.cjs → vue-ui-cursor-BQbeuW-k.cjs} +1 -1
  43. package/dist/{vue-ui-cursor-CMm7XSSG.js → vue-ui-cursor-C0KOqEOq.js} +2 -2
  44. package/dist/{vue-ui-dashboard-DgEQJnLr.cjs → vue-ui-dashboard-0Hsjx-bO.cjs} +1 -1
  45. package/dist/{vue-ui-dashboard-Ck_5L3eu.js → vue-ui-dashboard-BT71xS7P.js} +2 -2
  46. package/dist/{vue-ui-digits--ULH35um.js → vue-ui-digits-BRqpKYvD.js} +2 -2
  47. package/dist/{vue-ui-digits-UvwUdi6U.cjs → vue-ui-digits-C2ReH6w0.cjs} +1 -1
  48. package/dist/{vue-ui-donut-QQ1fWWvc.js → vue-ui-donut-NQW-3prf.js} +376 -362
  49. package/dist/vue-ui-donut-evolution-DOe-cwLi.cjs +1 -0
  50. package/dist/{vue-ui-donut-evolution-Cx8kBB_7.js → vue-ui-donut-evolution-jbXQQGTc.js} +270 -255
  51. package/dist/vue-ui-donut-v81suIOX.cjs +1 -0
  52. package/dist/vue-ui-dumbbell-DXQSg6wa.cjs +9 -0
  53. package/dist/{vue-ui-dumbbell-BYvwHpU8.js → vue-ui-dumbbell-Dyz8xdtC.js} +232 -213
  54. package/dist/vue-ui-flow-BL3JWW1m.js +481 -0
  55. package/dist/vue-ui-flow-UqSNwH9d.cjs +1 -0
  56. package/dist/vue-ui-galaxy-DTQWGvRH.cjs +1 -0
  57. package/dist/{vue-ui-galaxy-B0L57aec.js → vue-ui-galaxy-Dx9nsOuM.js} +175 -162
  58. package/dist/vue-ui-gauge-BUB7H0qA.cjs +1 -0
  59. package/dist/vue-ui-gauge-CLaKGi0-.js +500 -0
  60. package/dist/vue-ui-gizmo-Kitfqu0J.cjs +1 -0
  61. package/dist/{vue-ui-gizmo-D2RfM55X.js → vue-ui-gizmo-of-4s5HG.js} +66 -53
  62. package/dist/{vue-ui-heatmap-DKM0DH41.js → vue-ui-heatmap-BIzjOMXO.js} +157 -143
  63. package/dist/vue-ui-heatmap-DUw2350O.cjs +1 -0
  64. package/dist/vue-ui-kpi-By3YPwgo.js +98 -0
  65. package/dist/vue-ui-kpi-DyL2Hcz-.cjs +1 -0
  66. package/dist/{vue-ui-mini-loader-CLP19Txv.cjs → vue-ui-mini-loader-C048-8Kd.cjs} +1 -1
  67. package/dist/{vue-ui-mini-loader-MywnWlYI.js → vue-ui-mini-loader-DnK3V2z2.js} +2 -2
  68. package/dist/{vue-ui-molecule-CLI9iTRE.js → vue-ui-molecule-BfhbIqa5.js} +177 -167
  69. package/dist/vue-ui-molecule-D-ahly6R.cjs +1 -0
  70. package/dist/vue-ui-mood-radar-DD8R9BpJ.cjs +1 -0
  71. package/dist/{vue-ui-mood-radar-O30wZo9a.js → vue-ui-mood-radar-DXxEKr3x.js} +172 -161
  72. package/dist/{vue-ui-nested-donuts-D8o4TqTt.js → vue-ui-nested-donuts-BdUdHFd-.js} +377 -364
  73. package/dist/vue-ui-nested-donuts-C7qM_FRw.cjs +17 -0
  74. package/dist/{vue-ui-onion-Hmcke6xB.js → vue-ui-onion-D0vF5jBt.js} +191 -177
  75. package/dist/vue-ui-onion-DX3gofXZ.cjs +5 -0
  76. package/dist/{vue-ui-parallel-coordinate-plot-CyChE3NP.js → vue-ui-parallel-coordinate-plot-CTZY-pY8.js} +298 -284
  77. package/dist/vue-ui-parallel-coordinate-plot-DEx5kFYd.cjs +8 -0
  78. package/dist/{vue-ui-quadrant-DimTQdAj.js → vue-ui-quadrant-ByY8GP3y.js} +347 -334
  79. package/dist/vue-ui-quadrant-CgApzie6.cjs +1 -0
  80. package/dist/{vue-ui-quick-chart-DxJvENid.js → vue-ui-quick-chart-DTxJ__7j.js} +483 -469
  81. package/dist/vue-ui-quick-chart-DWZEgUJF.cjs +15 -0
  82. package/dist/{vue-ui-radar-D_FieunT.js → vue-ui-radar-5UBmAU6W.js} +202 -189
  83. package/dist/vue-ui-radar-DEED0rTz.cjs +1 -0
  84. package/dist/{vue-ui-rating-BHW2Onru.cjs → vue-ui-rating-Ce_Ewqtl.cjs} +1 -1
  85. package/dist/{vue-ui-rating-DF1BpH4E.js → vue-ui-rating-Dr6jquxh.js} +2 -2
  86. package/dist/vue-ui-relation-circle-BU8i2miI.js +322 -0
  87. package/dist/vue-ui-relation-circle-CRcQ6Zcy.cjs +1 -0
  88. package/dist/{vue-ui-rings-BqS-iece.js → vue-ui-rings-Ctl3Jywh.js} +203 -189
  89. package/dist/vue-ui-rings-OQ8a1Ruw.cjs +2 -0
  90. package/dist/vue-ui-scatter-B8StSjt8.cjs +1 -0
  91. package/dist/{vue-ui-scatter-Dns49Nht.js → vue-ui-scatter-BwJ_koWT.js} +284 -270
  92. package/dist/{vue-ui-screenshot-5Gsnd0Wr.js → vue-ui-screenshot-BS3L5vhN.js} +1 -1
  93. package/dist/{vue-ui-screenshot---q062Kd.cjs → vue-ui-screenshot-bAVk3EPl.cjs} +1 -1
  94. package/dist/{vue-ui-skeleton-fVPw-oIR.cjs → vue-ui-skeleton-CMQzFTs9.cjs} +1 -1
  95. package/dist/{vue-ui-skeleton-B4eWLjH3.js → vue-ui-skeleton-CvFX_ExX.js} +2 -2
  96. package/dist/{vue-ui-smiley-B8Tyunn3.js → vue-ui-smiley-CGYZpNt9.js} +2 -2
  97. package/dist/{vue-ui-smiley-YfHmv0rQ.cjs → vue-ui-smiley-sF8QIso1.cjs} +1 -1
  98. package/dist/vue-ui-spark-trend-B4XSSKl9.js +263 -0
  99. package/dist/vue-ui-spark-trend-CdIoxaqb.cjs +1 -0
  100. package/dist/{vue-ui-sparkbar-9DBvdYn7.js → vue-ui-sparkbar-BbsJGDMZ.js} +95 -87
  101. package/dist/vue-ui-sparkbar-C3i1K7hi.cjs +1 -0
  102. package/dist/vue-ui-sparkgauge-BKyQoI7C.cjs +1 -0
  103. package/dist/vue-ui-sparkgauge-D4w_i_QJ.js +178 -0
  104. package/dist/{vue-ui-sparkhistogram-BBUVmco4.js → vue-ui-sparkhistogram-CYybrW-6.js} +79 -68
  105. package/dist/vue-ui-sparkhistogram-CvTYEmbz.cjs +1 -0
  106. package/dist/vue-ui-sparkline-CDowaDRS.cjs +1 -0
  107. package/dist/{vue-ui-sparkline-CeqNV6Re.js → vue-ui-sparkline-DjN1SVdO.js} +142 -123
  108. package/dist/{vue-ui-sparkstackbar-C3GMC1eW.js → vue-ui-sparkstackbar-BLMhJxaN.js} +120 -104
  109. package/dist/vue-ui-sparkstackbar-BZ2bESBi.cjs +1 -0
  110. package/dist/{vue-ui-stackbar-DyGPrFxi.js → vue-ui-stackbar-BTKOHUYc.js} +235 -222
  111. package/dist/vue-ui-stackbar-DRHaJFR8.cjs +6 -0
  112. package/dist/vue-ui-strip-plot-DxQxFbWg.cjs +1 -0
  113. package/dist/{vue-ui-strip-plot-y1AnVJmq.js → vue-ui-strip-plot-o6GTsGAT.js} +246 -232
  114. package/dist/{vue-ui-table-xWvAQS-s.cjs → vue-ui-table-BFIj1Rgh.cjs} +1 -1
  115. package/dist/{vue-ui-table-B4kfykAO.js → vue-ui-table-CnquiTpr.js} +1 -1
  116. package/dist/vue-ui-table-heatmap-CCGK12Fa.cjs +1 -0
  117. package/dist/{vue-ui-table-heatmap-YZRSzwRM.js → vue-ui-table-heatmap-CZRIwv-Q.js} +106 -95
  118. package/dist/{vue-ui-table-sparkline-C0v2r4Kf.js → vue-ui-table-sparkline-B3zEeq6Z.js} +151 -138
  119. package/dist/vue-ui-table-sparkline-DYmgfHz4.cjs +1 -0
  120. package/dist/{vue-ui-thermometer-D5qurIy7.js → vue-ui-thermometer-BopiohUh.js} +116 -104
  121. package/dist/vue-ui-thermometer-CzPRBt6c.cjs +1 -0
  122. package/dist/vue-ui-timer-Bonw69Lt.cjs +64 -0
  123. package/dist/{vue-ui-timer-VWjovnKL.js → vue-ui-timer-C7WkW8hK.js} +191 -176
  124. package/dist/{vue-ui-tiremarks-jH6cdQOJ.js → vue-ui-tiremarks-BurRtFv4.js} +115 -103
  125. package/dist/vue-ui-tiremarks-DkIGfq8t.cjs +1 -0
  126. package/dist/vue-ui-treemap-CalhJmnp.cjs +1 -0
  127. package/dist/{vue-ui-treemap-BCc5sQLB.js → vue-ui-treemap-DWy4voIr.js} +251 -237
  128. package/dist/{vue-ui-vertical-bar-2In_g5iC.js → vue-ui-vertical-bar-CJW1YhtY.js} +314 -299
  129. package/dist/vue-ui-vertical-bar-rwWp-sai.cjs +4 -0
  130. package/dist/{vue-ui-waffle-OzU830VX.js → vue-ui-waffle-DB7X6nTS.js} +285 -265
  131. package/dist/vue-ui-waffle-faQMBYNx.cjs +1 -0
  132. package/dist/vue-ui-wheel-BzjbGP6a.cjs +1 -0
  133. package/dist/vue-ui-wheel-CryKap2E.js +255 -0
  134. package/dist/vue-ui-word-cloud-COqUkvei.js +512 -0
  135. package/dist/vue-ui-word-cloud-DJN9I4q4.cjs +1 -0
  136. package/dist/vue-ui-xy-BmA0tspd.cjs +3 -0
  137. package/dist/{vue-ui-xy-DuJtYXKl.js → vue-ui-xy-b1Z_HPsx.js} +300 -274
  138. package/dist/{vue-ui-xy-canvas-CKibMJHh.js → vue-ui-xy-canvas-BgbLnY5B.js} +345 -327
  139. package/dist/vue-ui-xy-canvas-DOM2Kq_s.cjs +9 -0
  140. package/package.json +1 -1
  141. package/dist/vue-ui-3d-bar-CwCEoPX-.cjs +0 -19
  142. package/dist/vue-ui-age-pyramid-GqCNpd_h.cjs +0 -1
  143. package/dist/vue-ui-candlestick-TdNVq_FX.cjs +0 -2
  144. package/dist/vue-ui-carousel-table-yXUSFk2u.cjs +0 -1
  145. package/dist/vue-ui-chestnut-EJj-dQSY.cjs +0 -6
  146. package/dist/vue-ui-donut-BqUBysA_.cjs +0 -1
  147. package/dist/vue-ui-donut-evolution-BXtEnop4.cjs +0 -1
  148. package/dist/vue-ui-dumbbell-CjIh7KTm.cjs +0 -9
  149. package/dist/vue-ui-flow-hp0Hpuhn.js +0 -469
  150. package/dist/vue-ui-flow-u29zqSQj.cjs +0 -1
  151. package/dist/vue-ui-galaxy-DE1HbBi-.cjs +0 -1
  152. package/dist/vue-ui-gauge-B_IZrsfj.cjs +0 -1
  153. package/dist/vue-ui-gauge-CPyyn7cL.js +0 -488
  154. package/dist/vue-ui-gizmo-DR4gacOL.cjs +0 -1
  155. package/dist/vue-ui-heatmap-DMB_eUpA.cjs +0 -1
  156. package/dist/vue-ui-kpi-BAxAY13T.js +0 -84
  157. package/dist/vue-ui-kpi-BD21xshi.cjs +0 -1
  158. package/dist/vue-ui-molecule-BNsWckH-.cjs +0 -1
  159. package/dist/vue-ui-mood-radar-BsWE1f8R.cjs +0 -1
  160. package/dist/vue-ui-nested-donuts-CYyUtXs2.cjs +0 -17
  161. package/dist/vue-ui-onion-D7TXJu5w.cjs +0 -5
  162. package/dist/vue-ui-parallel-coordinate-plot-BqZB7xKn.cjs +0 -8
  163. package/dist/vue-ui-quadrant-BPDTvxlT.cjs +0 -1
  164. package/dist/vue-ui-quick-chart-C_-ut0if.cjs +0 -15
  165. package/dist/vue-ui-radar-C5Kq19hg.cjs +0 -1
  166. package/dist/vue-ui-relation-circle-4kIYttRI.js +0 -310
  167. package/dist/vue-ui-relation-circle-DHMHHsqY.cjs +0 -1
  168. package/dist/vue-ui-rings-BqPS8NKl.cjs +0 -2
  169. package/dist/vue-ui-scatter-BLVcdf3d.cjs +0 -1
  170. package/dist/vue-ui-spark-trend-Dpv6am0Z.cjs +0 -1
  171. package/dist/vue-ui-spark-trend-Em9OqYyG.js +0 -251
  172. package/dist/vue-ui-sparkbar-BuSuwQYl.cjs +0 -1
  173. package/dist/vue-ui-sparkgauge-BN5feBzp.js +0 -167
  174. package/dist/vue-ui-sparkgauge-DKtUZMv1.cjs +0 -1
  175. package/dist/vue-ui-sparkhistogram-BmuusW02.cjs +0 -1
  176. package/dist/vue-ui-sparkline-Blzv-tIQ.cjs +0 -1
  177. package/dist/vue-ui-sparkstackbar-D__WDEMv.cjs +0 -1
  178. package/dist/vue-ui-stackbar-DFqJ5K_q.cjs +0 -6
  179. package/dist/vue-ui-strip-plot-z9fjJ6Dj.cjs +0 -1
  180. package/dist/vue-ui-table-heatmap-CGKecjtm.cjs +0 -1
  181. package/dist/vue-ui-table-sparkline-CHFZG3Tg.cjs +0 -1
  182. package/dist/vue-ui-thermometer-DoOxxVW1.cjs +0 -1
  183. package/dist/vue-ui-timer-D63zHe-I.cjs +0 -64
  184. package/dist/vue-ui-tiremarks-Cp8YEmXh.cjs +0 -1
  185. package/dist/vue-ui-treemap-DJrdEFW5.cjs +0 -1
  186. package/dist/vue-ui-vertical-bar-BfJJqN_z.cjs +0 -4
  187. package/dist/vue-ui-waffle-A2gmRbq0.cjs +0 -1
  188. package/dist/vue-ui-wheel-C9QXzWu1.js +0 -242
  189. package/dist/vue-ui-wheel-DGSh9VKq.cjs +0 -1
  190. package/dist/vue-ui-word-cloud-C2ZaVlfO.js +0 -498
  191. package/dist/vue-ui-word-cloud-DPFB1MYk.cjs +0 -1
  192. package/dist/vue-ui-xy-C-2-aijE.cjs +0 -3
  193. package/dist/vue-ui-xy-canvas-D7wf3xab.cjs +0 -9
@@ -1,31 +1,31 @@
1
- import { computed as P, ref as B, onMounted as Be, openBlock as n, createElementBlock as i, normalizeClass as ge, normalizeStyle as j, createVNode as _e, createCommentVNode as k, createBlock as ae, unref as h, createSlots as Ie, withCtx as I, renderSlot as S, normalizeProps as R, guardReactiveProps as Y, createElementVNode as r, Fragment as $, renderList as g, toDisplayString as M, createTextVNode as Le, nextTick as Oe, pushScopeId as We, popScopeId as Ge } from "vue";
2
- import { u as Ve, c as me, t as Ae, a as Ue, p as J, b as Ee, d as T, o as He, e as K, g as ne, l as A, m as xe, f as D, X as Ze, h as Q, i as ee, j as be, k as L, n as te, q as qe, r as Xe } from "./index-C8SH0f2u.js";
3
- import { _ as Re } from "./Title-DZjnxQdN.js";
4
- import { u as Ye, U as Je } from "./usePrinter-Dj50NAxo.js";
5
- import Ke from "./vue-ui-skeleton-B4eWLjH3.js";
6
- import { D as Qe } from "./DataTable-CKdV-L0e.js";
7
- import et from "./vue-ui-accordion-YHleIgkV.js";
8
- import { u as we } from "./useNestedProp-lS_T5lM3.js";
9
- import { _ as tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = ["xmlns", "viewBox"], st = ["id"], at = ["stop-color"], nt = ["stop-color"], rt = ["id"], ut = ["stop-color"], it = ["stop-color"], dt = ["id"], ct = ["stop-color"], ht = ["stop-color"], vt = ["id"], ft = ["stop-color"], pt = ["stop-color"], yt = ["stop-color"], kt = { key: 0 }, $t = ["id"], gt = ["stop-color"], _t = ["stop-color"], mt = ["id"], xt = ["stop-color"], bt = ["stop-color"], wt = ["id"], Ct = ["stop-color"], Ft = ["stop-color"], Mt = ["id"], Pt = /* @__PURE__ */ le(() => /* @__PURE__ */ r("stop", {
1
+ import { computed as P, ref as D, watch as Oe, onMounted as We, openBlock as r, createElementBlock as i, normalizeClass as be, normalizeStyle as j, createBlock as H, createCommentVNode as y, unref as h, createSlots as Ge, withCtx as I, renderSlot as T, normalizeProps as Y, guardReactiveProps as J, createElementVNode as u, Fragment as g, renderList as _, toDisplayString as M, createTextVNode as Ve, nextTick as Ae, pushScopeId as Ue, popScopeId as Ee } from "vue";
2
+ import { u as He, c as we, t as Ze, a as qe, p as K, b as Xe, d as z, o as Re, e as Q, g as ne, l as A, m as Ce, f as S, X as Ye, h as ee, i as te, j as Fe, k as L, n as le, q as Je, r as Ke } from "./index-CaV1s-yZ.js";
3
+ import { _ as Qe } from "./Title-gUz6GDA3.js";
4
+ import { u as et, U as tt } from "./usePrinter-rvJyT65A.js";
5
+ import lt from "./vue-ui-skeleton-CvFX_ExX.js";
6
+ import { D as ot } from "./DataTable-e2fnfjXV.js";
7
+ import st from "./vue-ui-accordion-CpzGQ63y.js";
8
+ import { u as Me } from "./useNestedProp-tWCzZrLx.js";
9
+ import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
+ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = ["xmlns", "viewBox"], ut = ["id"], it = ["stop-color"], dt = ["stop-color"], ct = ["id"], ht = ["stop-color"], vt = ["stop-color"], ft = ["id"], pt = ["stop-color"], yt = ["stop-color"], kt = ["id"], $t = ["stop-color"], gt = ["stop-color"], _t = ["stop-color"], mt = { key: 0 }, xt = ["id"], bt = ["stop-color"], wt = ["stop-color"], Ct = ["id"], Ft = ["stop-color"], Mt = ["stop-color"], Pt = ["id"], Dt = ["stop-color"], St = ["stop-color"], jt = ["id"], Tt = /* @__PURE__ */ oe(() => /* @__PURE__ */ u("stop", {
11
11
  offset: "0%",
12
12
  "stop-color": "#FFFFFF"
13
- }, null, -1)), Dt = /* @__PURE__ */ le(() => /* @__PURE__ */ r("stop", {
13
+ }, null, -1)), zt = /* @__PURE__ */ oe(() => /* @__PURE__ */ u("stop", {
14
14
  offset: "100%",
15
15
  "stop-color": "#FFFFFF33"
16
- }, null, -1)), jt = [
17
- Pt,
18
- Dt
19
- ], St = ["x", "y", "font-size", "font-weight", "fill"], Tt = ["x", "y"], zt = ["d", "stroke"], Nt = ["d", "stroke"], Bt = { key: 3 }, It = { key: 0 }, Lt = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ot = ["stroke-dasharray", "d", "stroke", "stroke-width"], Wt = ["stroke-dasharray", "d", "stroke", "stroke-width"], Gt = ["stroke-dasharray", "d", "stroke", "stroke-width"], Vt = { key: 1 }, At = ["d", "stroke", "stroke-width", "fill"], Ut = ["d", "stroke", "stroke-width", "fill"], Et = ["d", "stroke", "stroke-width", "fill"], Ht = { key: 2 }, Zt = ["d", "fill", "onMouseenter", "onClick"], qt = ["d", "fill", "onMouseenter", "onClick"], Xt = ["d", "fill", "onMouseenter", "onClick"], Rt = ["d", "onMouseenter", "onClick"], Yt = ["d"], Jt = ["d", "stroke"], Kt = ["onClick"], Qt = ["stroke", "d"], el = ["cx", "cy", "fill", "stroke"], tl = ["x", "y", "width", "height"], ll = { key: 1 }, ol = ["d", "stroke"], sl = ["d", "fill", "stroke"], al = ["id"], nl = ["stop-color"], rl = /* @__PURE__ */ le(() => /* @__PURE__ */ r("stop", {
16
+ }, null, -1)), Nt = [
17
+ Tt,
18
+ zt
19
+ ], Bt = ["x", "y", "font-size", "font-weight", "fill"], It = ["x", "y"], Lt = ["d", "stroke"], Ot = ["d", "stroke"], Wt = { key: 3 }, Gt = { key: 0 }, Vt = ["stroke-dasharray", "d", "stroke", "stroke-width"], At = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ut = ["stroke-dasharray", "d", "stroke", "stroke-width"], Et = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ht = { key: 1 }, Zt = ["d", "stroke", "stroke-width", "fill"], qt = ["d", "stroke", "stroke-width", "fill"], Xt = ["d", "stroke", "stroke-width", "fill"], Rt = { key: 2 }, Yt = ["d", "fill", "onMouseenter", "onClick"], Jt = ["d", "fill", "onMouseenter", "onClick"], Kt = ["d", "fill", "onMouseenter", "onClick"], Qt = ["d", "onMouseenter", "onClick"], el = ["d"], tl = ["d", "stroke"], ll = ["onClick"], ol = ["stroke", "d"], sl = ["cx", "cy", "fill", "stroke"], al = ["x", "y", "width", "height"], nl = { key: 1 }, rl = ["d", "stroke"], ul = ["d", "fill", "stroke"], il = ["id"], dl = ["stop-color"], cl = /* @__PURE__ */ oe(() => /* @__PURE__ */ u("stop", {
20
20
  offset: "77%",
21
21
  "stop-color": "#FFFFFF20"
22
- }, null, -1)), ul = ["stop-color"], il = ["cx", "cy", "fill"], dl = ["cx", "cy", "fill"], cl = { key: 0 }, hl = ["text-anchor", "x", "y", "fill", "font-size"], vl = ["text-anchor", "x", "y", "fill", "font-size"], fl = { key: 2 }, pl = ["d", "fill", "stroke"], yl = { key: 4 }, kl = { key: 0 }, $l = ["stroke-dasharray", "d", "stroke", "stroke-width"], gl = ["stroke-dasharray", "d", "stroke", "stroke-width"], _l = ["stroke-dasharray", "d", "stroke", "stroke-width"], ml = ["stroke-dasharray", "d", "stroke", "stroke-width"], xl = ["d", "stroke", "stroke-width", "fill"], bl = ["d", "stroke", "stroke-width", "fill"], wl = { key: 1 }, Cl = ["onClick"], Fl = ["id"], Ml = ["stop-color"], Pl = ["stop-color"], Dl = ["id"], jl = ["stop-color"], Sl = ["stop-color"], Tl = ["stop-color"], zl = ["stop-color"], Nl = ["stop-color"], Bl = ["onMouseenter", "onClick", "d", "fill"], Il = ["onMouseenter", "onClick", "d"], Ll = ["onMouseenter", "onClick", "d", "fill"], Ol = ["onClick"], Wl = ["stroke", "d"], Gl = ["cx", "cy", "fill", "stroke"], Vl = ["x", "y", "width", "height"], Al = { key: 1 }, Ul = ["d", "stroke"], El = ["d", "fill", "stroke"], Hl = ["id"], Zl = ["stop-color"], ql = /* @__PURE__ */ le(() => /* @__PURE__ */ r("stop", {
22
+ }, null, -1)), hl = ["stop-color"], vl = ["cx", "cy", "fill"], fl = ["cx", "cy", "fill"], pl = { key: 0 }, yl = ["text-anchor", "x", "y", "fill", "font-size"], kl = ["text-anchor", "x", "y", "fill", "font-size"], $l = { key: 2 }, gl = ["d", "fill", "stroke"], _l = { key: 4 }, ml = { key: 0 }, xl = ["stroke-dasharray", "d", "stroke", "stroke-width"], bl = ["stroke-dasharray", "d", "stroke", "stroke-width"], wl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Cl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Fl = ["d", "stroke", "stroke-width", "fill"], Ml = ["d", "stroke", "stroke-width", "fill"], Pl = { key: 1 }, Dl = ["onClick"], Sl = ["id"], jl = ["stop-color"], Tl = ["stop-color"], zl = ["id"], Nl = ["stop-color"], Bl = ["stop-color"], Il = ["stop-color"], Ll = ["stop-color"], Ol = ["stop-color"], Wl = ["onMouseenter", "onClick", "d", "fill"], Gl = ["onMouseenter", "onClick", "d"], Vl = ["onMouseenter", "onClick", "d", "fill"], Al = ["onClick"], Ul = ["stroke", "d"], El = ["cx", "cy", "fill", "stroke"], Hl = ["x", "y", "width", "height"], Zl = { key: 1 }, ql = ["d", "stroke"], Xl = ["d", "fill", "stroke"], Rl = ["id"], Yl = ["stop-color"], Jl = /* @__PURE__ */ oe(() => /* @__PURE__ */ u("stop", {
23
23
  offset: "77%",
24
24
  "stop-color": "#FFFFFF20"
25
- }, null, -1)), Xl = ["stop-color"], Rl = ["cx", "cy", "fill"], Yl = ["cx", "cy", "fill"], Jl = { key: 0 }, Kl = ["text-anchor", "x", "y", "fill", "font-size"], Ql = ["text-anchor", "x", "y", "fill", "font-size"], eo = { key: 2 }, to = ["d", "fill", "stroke"], lo = {
25
+ }, null, -1)), Kl = ["stop-color"], Ql = ["cx", "cy", "fill"], eo = ["cx", "cy", "fill"], to = { key: 0 }, lo = ["text-anchor", "x", "y", "fill", "font-size"], oo = ["text-anchor", "x", "y", "fill", "font-size"], so = { key: 2 }, ao = ["d", "fill", "stroke"], no = {
26
26
  key: 3,
27
27
  class: "vue-data-ui-watermark"
28
- }, oo = ["innerHTML"], so = {
28
+ }, ro = ["innerHTML"], uo = {
29
29
  __name: "vue-ui-3d-bar",
30
30
  props: {
31
31
  config: {
@@ -42,25 +42,33 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
42
42
  }
43
43
  },
44
44
  emits: ["selectDatapoint"],
45
- setup(U, { expose: Ce, emit: H }) {
46
- const _ = U, { vue_ui_3d_bar: Fe } = Ve(), Z = P(() => !!_.dataset && Object.keys(_.dataset).length), x = B(me()), Me = B(null), re = B(null), O = B(!1), t = P(() => {
47
- const d = we({
48
- userConfig: _.config,
49
- defaultConfig: Fe
45
+ setup(U, { expose: Pe, emit: Z }) {
46
+ const $ = U, { vue_ui_3d_bar: De } = He(), q = P(() => !!$.dataset && Object.keys($.dataset).length), m = D(we()), Se = D(null), re = D(null), O = D(!1), ue = D(0), ie = D(0), t = P({
47
+ get: () => de(),
48
+ set: (a) => a
49
+ });
50
+ function de() {
51
+ const a = Me({
52
+ userConfig: $.config,
53
+ defaultConfig: De
50
54
  });
51
- return d.theme ? {
52
- ...we({
53
- userConfig: Ae.vue_ui_3d_bar[d.theme] || _.config,
54
- defaultConfig: d
55
+ return a.theme ? {
56
+ ...Me({
57
+ userConfig: Ze.vue_ui_3d_bar[a.theme] || $.config,
58
+ defaultConfig: a
55
59
  }),
56
- customPalette: Ue[d.theme] || J
57
- } : d;
58
- }), { isPrinting: ue, isImaging: ie, generatePdf: de, generateImage: ce } = Ye({
59
- elementId: `3d_bar_${x.value}`,
60
+ customPalette: qe[a.theme] || K
61
+ } : a;
62
+ }
63
+ Oe(() => $.config, (a) => {
64
+ t.value = de(), pe(), ue.value += 1, ie.value += 1;
65
+ }, { deep: !0 });
66
+ const { isPrinting: ce, isImaging: he, generatePdf: ve, generateImage: fe } = et({
67
+ elementId: `3d_bar_${m.value}`,
60
68
  fileName: t.value.style.chart.title.text || "vue-ui-3d-bar"
61
- }), Pe = P(() => Ee(t.value.customPalette)), q = B({
69
+ }), je = P(() => Xe(t.value.customPalette)), X = D({
62
70
  showTable: t.value.table.show
63
- }), C = P(() => _.dataset.series && _.dataset.series.length), o = P(() => ({
71
+ }), C = P(() => $.dataset.series && $.dataset.series.length), o = P(() => ({
64
72
  height: t.value.style.chart.box.dimensions.height,
65
73
  width: t.value.style.chart.box.dimensions.width,
66
74
  absoluteWidth: t.value.style.chart.box.dimensions.width * (C.value ? 2 : 1),
@@ -71,23 +79,23 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
71
79
  perspective: t.value.style.chart.box.dimensions.perspective
72
80
  })), w = P(() => {
73
81
  if (C.value) {
74
- const d = _.dataset.series.map((l) => l.value || 0).reduce((l, a) => l + a, 0), s = _.dataset.series.map((l, a) => ({
82
+ const a = $.dataset.series.map((l) => l.value || 0).reduce((l, n) => l + n, 0), s = $.dataset.series.map((l, n) => ({
75
83
  ...l,
76
- id: me(),
77
- proportion: (l.value || 0) / d,
78
- color: T(l.color) || Pe.value[a] || J[a] || J[a % J.length],
79
- breakdown: l.breakdown ? l.breakdown.sort((u, y) => y.value - u.value) : null
80
- })).sort((l, a) => a.value - l.value), e = [];
84
+ id: we(),
85
+ proportion: (l.value || 0) / a,
86
+ color: z(l.color) || je.value[n] || K[n] || K[n % K.length],
87
+ breakdown: l.breakdown ? l.breakdown.sort((d, k) => k.value - d.value) : null
88
+ })).sort((l, n) => n.value - l.value), e = [];
81
89
  let c = 0;
82
90
  for (let l = 0; l < s.length; l += 1)
83
91
  e.push({
84
92
  ...s[l],
85
- fill: De(c, s[l].proportion, s[l].breakdown, s[l].color)
93
+ fill: Te(c, s[l].proportion, s[l].breakdown, s[l].color)
86
94
  }), c += s[l].proportion;
87
95
  return e;
88
96
  }
89
97
  return null;
90
- }), z = P(() => ({
98
+ }), N = P(() => ({
91
99
  right: `M${o.value.width / 2},${o.value.top} ${o.value.width - o.value.right}, ${o.value.top + o.value.perspective} ${o.value.width - o.value.right},${o.value.height - o.value.bottom - o.value.perspective} ${o.value.width / 2},${o.value.height - o.value.bottom}`,
92
100
  left: `M${o.value.width / 2},${o.value.top} ${o.value.left},${o.value.top + o.value.perspective} ${o.value.left},${o.value.height - o.value.bottom - o.value.perspective} ${o.value.width / 2},${o.value.height - o.value.bottom}`,
93
101
  side: `M${o.value.width / 2},${o.value.height - o.value.bottom} ${o.value.width / 2},${o.value.top + o.value.perspective * 2}`,
@@ -96,62 +104,65 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
96
104
  tubeLeft: `M${o.value.left},${o.value.top + o.value.perspective} ${o.value.left},${o.value.height - o.value.bottom - o.value.perspective}`,
97
105
  tubeRight: `M${o.value.width - o.value.right},${o.value.top + o.value.perspective} ${o.value.width - o.value.right},${o.value.height - o.value.bottom - o.value.perspective}`,
98
106
  tubeBottom: `M${o.value.width - o.value.right},${o.value.height - o.value.bottom - o.value.perspective} C ${o.value.width - o.value.right},${o.value.height} ${o.value.left},${o.value.height} ${o.value.left},${o.value.height - o.value.bottom - o.value.perspective}`
99
- })), G = B(t.value.style.chart.animation.use ? 0 : _.dataset.percentage);
100
- Be(() => {
101
- He(_.dataset) ? K({
107
+ })), G = D(t.value.style.chart.animation.use ? 0 : $.dataset.percentage);
108
+ We(() => {
109
+ pe();
110
+ let a = 0, s = t.value.style.chart.animation.speed, e = 5e-3 * t.value.style.chart.animation.acceleration;
111
+ function c() {
112
+ G.value += s + a, a += e, G.value < $.dataset.percentage ? requestAnimationFrame(c) : G.value = $.dataset.percentage;
113
+ }
114
+ t.value.style.chart.animation.use && (G.value = 0, c());
115
+ });
116
+ function pe() {
117
+ Re($.dataset) ? Q({
102
118
  componentName: "VueUi3dBar",
103
119
  type: "dataset"
104
- }) : _.dataset.series ? _.dataset.series.forEach((l, a) => {
120
+ }) : $.dataset.series ? $.dataset.series.forEach((a, s) => {
105
121
  ne({
106
- datasetObject: l,
122
+ datasetObject: a,
107
123
  requiredAttributes: ["name", "value"]
108
- }).forEach((u) => {
109
- K({
124
+ }).forEach((e) => {
125
+ Q({
110
126
  componentName: "VueUi3dBar",
111
127
  type: "datasetSerieAttribute",
112
- property: u,
113
- index: a
128
+ property: e,
129
+ index: s
114
130
  });
115
- }), l.breakdown && l.breakdown.forEach((u, y) => {
131
+ }), a.breakdown && a.breakdown.forEach((e, c) => {
116
132
  ne({
117
- datasetObject: u,
133
+ datasetObject: e,
118
134
  requiredAttributes: ["name", "value"]
119
- }).forEach((m) => {
120
- K({
135
+ }).forEach((l) => {
136
+ Q({
121
137
  componentName: "VueUi3dBar",
122
138
  type: "datasetSerieAttribute",
123
- property: m,
124
- index: `${a} - ${y}`
139
+ property: l,
140
+ index: `${s} - ${c}`
125
141
  });
126
142
  });
127
143
  });
128
144
  }) : ne({
129
- datasetObject: _.dataset,
145
+ datasetObject: $.dataset,
130
146
  requiredAttributes: ["percentage"]
131
- }).forEach((l) => {
132
- K({
147
+ }).forEach((a) => {
148
+ Q({
133
149
  componentName: "VueUi3dBar",
134
150
  type: "datasetAttribute",
135
- property: l
151
+ property: a
136
152
  });
137
153
  });
138
- let d = 0, s = t.value.style.chart.animation.speed, e = 5e-3 * t.value.style.chart.animation.acceleration;
139
- function c() {
140
- G.value += s + d, d += e, G.value < _.dataset.percentage ? requestAnimationFrame(c) : G.value = _.dataset.percentage;
141
- }
142
- t.value.style.chart.animation.use && (G.value = 0, c());
143
- });
144
- function De(d, s, e, c) {
145
- const l = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: a, height: u, bottom: y, right: m, left: f, perspective: p } = o.value, v = y + l * d, se = u - v - p - l * s / 2, Te = se > o.value.height / 2 ? "top" : "bottom", pe = 64, ze = !!e;
146
- let ye = null, ke = null;
147
- return ze && (e = e.map(($e, Ne) => ({
148
- ...$e,
149
- value: $e.value || 0,
150
- color: A(c, Ne / e.length)
151
- })), ye = xe(
154
+ }
155
+ function Te(a, s, e, c) {
156
+ const l = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: n, height: d, bottom: k, right: b, left: f, perspective: p } = o.value, v = k + l * a, ae = d - v - p - l * s / 2, Be = ae > o.value.height / 2 ? "top" : "bottom", ge = 64, Ie = !!e;
157
+ let _e = null, me = null;
158
+ return Ie && (e = e.map((xe, Le) => ({
159
+ ...xe,
160
+ value: xe.value || 0,
161
+ color: A(c, Le / e.length)
162
+ })), _e = Ce(
152
163
  { series: e },
153
- a + o.value.absoluteWidth / 4 - 14,
154
- Te === "top" ? se - pe : se + pe,
164
+ n + o.value.absoluteWidth / 4 - 14,
165
+ Be === "top" ? ae - ge : ae + ge,
155
166
  28,
156
167
  28,
157
168
  1.99999,
@@ -160,10 +171,10 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
160
171
  360,
161
172
  105.25,
162
173
  14
163
- ), ke = xe(
174
+ ), me = Ce(
164
175
  { series: e },
165
- a - m + 20,
166
- u - v - p - l * s / 2,
176
+ n - b + 20,
177
+ d - v - p - l * s / 2,
167
178
  6,
168
179
  6,
169
180
  1.99999,
@@ -173,114 +184,114 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
173
184
  105.25,
174
185
  6
175
186
  )), {
176
- donut: ye,
177
- miniDonut: ke,
187
+ donut: _e,
188
+ miniDonut: me,
178
189
  sidePointer: {
179
- x: a - m,
180
- y: u - v - p - l * s / 2,
181
- topY: u - v - p - l * s,
190
+ x: n - b,
191
+ y: d - v - p - l * s / 2,
192
+ topY: d - v - p - l * s,
182
193
  height: l * s
183
194
  },
184
- apexBottom: { y: u - v, x: a / 2 },
185
- apexTop: { y: u - v - l * s, x: a / 2 },
186
- right: `M${a / 2},${u - v} ${a / 2},${u - v - l * s} ${a - m},${u - v - p - l * s} ${a - m},${u - v - p}Z`,
187
- left: `M${a / 2},${u - v} ${a / 2},${u - v - l * s} ${f}, ${u - v - p - l * s} ${f},${u - v - p}Z`,
188
- liningTop: `M${f},${u - v - p - l * s} ${a / 2},${u - v - l * s} ${a - m},${u - v - p - l * s}`,
189
- liningTopShade: `M${f},${u - v - p - l * s - 0.5} ${a / 2},${u - v - l * s - 0.5} ${a - m},${u - v - p - l * s - 0.5}`,
190
- top: `M${a / 2},${u - v - l * s} ${f},${u - v - p - l * s} ${a / 2},${u - v - p * 2 - l * s} ${a - m},${u - v - p - l * s} Z`,
191
- tubeTop: `M${f},${u - v - l * s - p} C ${f},${u - v - l * s - p * 2.5} ${a - m},${u - v - l * s - p * 2.5} ${a - m},${u - v - l * s - p} C ${a - m},${u - v - l * s + p / 2} ${f},${u - v - l * s + p / 2} ${f},${u - v - l * s - p}`,
192
- bottomTubeTop: `M ${a - m - 0.5},${u - v - p} C ${a - m - 0.5},${u - v + p / 2} ${f},${u - v + p / 2} ${f + 0.5},${u - v - p}`,
195
+ apexBottom: { y: d - v, x: n / 2 },
196
+ apexTop: { y: d - v - l * s, x: n / 2 },
197
+ right: `M${n / 2},${d - v} ${n / 2},${d - v - l * s} ${n - b},${d - v - p - l * s} ${n - b},${d - v - p}Z`,
198
+ left: `M${n / 2},${d - v} ${n / 2},${d - v - l * s} ${f}, ${d - v - p - l * s} ${f},${d - v - p}Z`,
199
+ liningTop: `M${f},${d - v - p - l * s} ${n / 2},${d - v - l * s} ${n - b},${d - v - p - l * s}`,
200
+ liningTopShade: `M${f},${d - v - p - l * s - 0.5} ${n / 2},${d - v - l * s - 0.5} ${n - b},${d - v - p - l * s - 0.5}`,
201
+ top: `M${n / 2},${d - v - l * s} ${f},${d - v - p - l * s} ${n / 2},${d - v - p * 2 - l * s} ${n - b},${d - v - p - l * s} Z`,
202
+ tubeTop: `M${f},${d - v - l * s - p} C ${f},${d - v - l * s - p * 2.5} ${n - b},${d - v - l * s - p * 2.5} ${n - b},${d - v - l * s - p} C ${n - b},${d - v - l * s + p / 2} ${f},${d - v - l * s + p / 2} ${f},${d - v - l * s - p}`,
203
+ bottomTubeTop: `M ${n - b - 0.5},${d - v - p} C ${n - b - 0.5},${d - v + p / 2} ${f},${d - v + p / 2} ${f + 0.5},${d - v - p}`,
193
204
  tubeBody: `M
194
- ${f},${u - v - l * s - p}
195
- C ${f},${u - v - l * s + p / 2}
196
- ${a - m},${u - v - l * s + p / 2}
197
- ${a - m},${u - v - l * s - p}
198
- L${a - m},${u - v - p}
205
+ ${f},${d - v - l * s - p}
206
+ C ${f},${d - v - l * s + p / 2}
207
+ ${n - b},${d - v - l * s + p / 2}
208
+ ${n - b},${d - v - l * s - p}
209
+ L${n - b},${d - v - p}
199
210
  C
200
- ${a - m},${u - v + p / 2}
201
- ${f},${u - v + p / 2}
202
- ${f},${u - v - p}Z`
211
+ ${n - b},${d - v + p / 2}
212
+ ${f},${d - v + p / 2}
213
+ ${f},${d - v - p}Z`
203
214
  };
204
215
  }
205
216
  const E = P(() => {
206
- const d = G.value / 100, s = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: e, height: c, bottom: l, right: a, left: u, perspective: y } = o.value, f = l + s * 0;
217
+ const a = G.value / 100, s = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: e, height: c, bottom: l, right: n, left: d, perspective: k } = o.value, f = l + s * 0;
207
218
  return {
208
- right: `M${e / 2},${c - f} ${e / 2},${c - f - s * d} ${e - a},${c - f - y - s * d} ${e - a},${c - f - y}Z`,
209
- left: `M${e / 2},${c - f} ${e / 2},${c - f - s * d} ${u}, ${c - f - y - s * d} ${u},${c - f - y}Z`,
210
- top: `M${e / 2},${c - f - s * d} ${u},${c - f - y - s * d} ${e / 2},${c - f - y * 2 - s * d} ${e - a},${c - f - y - s * d} Z`,
211
- tubeTop: `M${u},${c - f - s * d - y} C ${u},${c - f - s * d - y * 2.5} ${e - a},${c - f - s * d - y * 2.5} ${e - a},${c - f - s * d - y} C ${e - a},${c - f - s * d + y / 2} ${u},${c - f - s * d + y / 2} ${u},${c - f - s * d - y}`,
219
+ right: `M${e / 2},${c - f} ${e / 2},${c - f - s * a} ${e - n},${c - f - k - s * a} ${e - n},${c - f - k}Z`,
220
+ left: `M${e / 2},${c - f} ${e / 2},${c - f - s * a} ${d}, ${c - f - k - s * a} ${d},${c - f - k}Z`,
221
+ top: `M${e / 2},${c - f - s * a} ${d},${c - f - k - s * a} ${e / 2},${c - f - k * 2 - s * a} ${e - n},${c - f - k - s * a} Z`,
222
+ tubeTop: `M${d},${c - f - s * a - k} C ${d},${c - f - s * a - k * 2.5} ${e - n},${c - f - s * a - k * 2.5} ${e - n},${c - f - s * a - k} C ${e - n},${c - f - s * a + k / 2} ${d},${c - f - s * a + k / 2} ${d},${c - f - s * a - k}`,
212
223
  tubeBody: `M
213
- ${u},${c - f - s * d - y}
214
- C ${u},${c - f - s * d + y / 2}
215
- ${e - a},${c - f - s * d + y / 2}
216
- ${e - a},${c - f - s * d - y}
217
- L${e - a},${c - y * 1.5}
224
+ ${d},${c - f - s * a - k}
225
+ C ${d},${c - f - s * a + k / 2}
226
+ ${e - n},${c - f - s * a + k / 2}
227
+ ${e - n},${c - f - s * a - k}
228
+ L${e - n},${c - k * 1.5}
218
229
  C
219
- ${e - a},${c}
220
- ${u},${c}
221
- ${u},${c - f - y}Z`
230
+ ${e - n},${c}
231
+ ${d},${c}
232
+ ${d},${c - f - k}Z`
222
233
  };
223
- }), b = B(null);
224
- function F(d, s = !1) {
225
- H("selectDatapoint", d), s || (b.value = d.id), s && O.value && (O.value = !1), s && !O.value && (O.value = !0);
234
+ }), x = D(null);
235
+ function F(a, s = !1) {
236
+ Z("selectDatapoint", a), s || (x.value = a.id), s && O.value && (O.value = !1), s && !O.value && (O.value = !0);
226
237
  }
227
238
  function W() {
228
- O.value || (b.value = null);
239
+ O.value || (x.value = null);
229
240
  }
230
- function V(d, s, e = !1) {
231
- const c = _.dataset.series.map((u) => u.value || 0).reduce((u, y) => u + y, 0), l = isNaN(d.value / c) ? 0 : d.value / c * 100, a = isNaN(d.value / he(s)) ? 0 : d.value / he(s) * 100;
232
- return e ? a : l.toFixed(0) + "%";
241
+ function V(a, s, e = !1) {
242
+ const c = $.dataset.series.map((d) => d.value || 0).reduce((d, k) => d + k, 0), l = isNaN(a.value / c) ? 0 : a.value / c * 100, n = isNaN(a.value / ye(s)) ? 0 : a.value / ye(s) * 100;
243
+ return e ? n : l.toFixed(0) + "%";
233
244
  }
234
- function he(d) {
235
- return [...d].map((s) => s.value).reduce((s, e) => s + e, 0);
245
+ function ye(a) {
246
+ return [...a].map((s) => s.value).reduce((s, e) => s + e, 0);
236
247
  }
237
- const oe = B(!1);
238
- function je(d) {
239
- oe.value = d;
248
+ const se = D(!1);
249
+ function ze(a) {
250
+ se.value = a;
240
251
  }
241
- function Se() {
242
- return C.value ? w.value : _.dataset.percentage;
252
+ function Ne() {
253
+ return C.value ? w.value : $.dataset.percentage;
243
254
  }
244
- const N = P(() => {
255
+ const B = P(() => {
245
256
  if (C.value) {
246
- const d = w.value.flatMap((e) => e.breakdown && e.breakdown.length ? [{ name: e.name, color: e.color }, ...e.breakdown.map((c, l) => ({
257
+ const a = w.value.flatMap((e) => e.breakdown && e.breakdown.length ? [{ name: e.name, color: e.color }, ...e.breakdown.map((c, l) => ({
247
258
  name: c.name,
248
259
  color: A(e.color, l / e.breakdown.length)
249
260
  }))] : {
250
261
  name: e.name,
251
262
  color: e.color
252
263
  }), s = w.value.flatMap((e) => e.breakdown && e.breakdown.length ? [e.value, ...e.breakdown.map((c) => c.value)] : e.value);
253
- return { head: d, body: s };
264
+ return { head: a, body: s };
254
265
  } else
255
266
  return null;
256
267
  });
257
- function ve() {
268
+ function ke() {
258
269
  if (!C.value) {
259
270
  console.warn("VueUi3dBar : CSV download is only available in stack mode (providing dataset.series instead of dataset.percentage)");
260
271
  return;
261
272
  }
262
- Oe(() => {
263
- const d = w.value.map((l) => l.value).reduce((l, a) => l + a, 0), s = N.value.head.map((l, a) => [[
273
+ Ae(() => {
274
+ const a = w.value.map((l) => l.value).reduce((l, n) => l + n, 0), s = B.value.head.map((l, n) => [[
264
275
  l.name
265
- ], [N.value.body[a]], [isNaN(N.value.body[a] / d) ? "-" : N.value.body[a] / d * 100]]), e = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(s), c = qe(e);
266
- Xe({ csvContent: c, title: t.value.style.chart.title.text || "vue-ui-3d-bar" });
276
+ ], [B.value.body[n]], [isNaN(B.value.body[n] / a) ? "-" : B.value.body[n] / a * 100]]), e = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(s), c = Je(e);
277
+ Ke({ csvContent: c, title: t.value.style.chart.title.text || "vue-ui-3d-bar" });
267
278
  });
268
279
  }
269
- const X = P(() => {
270
- const d = w.value.map((a) => a.value).reduce((a, u) => a + u, 0), s = [
280
+ const R = P(() => {
281
+ const a = w.value.map((n) => n.value).reduce((n, d) => n + d, 0), s = [
271
282
  ' <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>',
272
- D({ p: t.value.style.chart.legend.prefix, v: d, s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue }),
283
+ S({ p: t.value.style.chart.legend.prefix, v: a, s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue }),
273
284
  "100%"
274
- ], e = N.value.head.map((a, u) => {
275
- const y = D({ p: t.value.style.chart.legend.prefix, v: N.value.body[u], s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue });
285
+ ], e = B.value.head.map((n, d) => {
286
+ const k = S({ p: t.value.style.chart.legend.prefix, v: B.value.body[d], s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue });
276
287
  return [
277
288
  {
278
- color: a.color,
279
- name: a.name
289
+ color: n.color,
290
+ name: n.name
280
291
  },
281
- y,
282
- isNaN(N.value.body[u] / d) ? "-" : D({
283
- v: N.value.body[u] / d * 100,
292
+ k,
293
+ isNaN(B.value.body[d] / a) ? "-" : S({
294
+ v: B.value.body[d] / a * 100,
284
295
  s: "%",
285
296
  r: t.value.table.td.roundingPercentage
286
297
  })
@@ -310,27 +321,28 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
310
321
  config: c
311
322
  };
312
323
  });
313
- function fe() {
314
- q.value.showTable = !q.value.showTable;
324
+ function $e() {
325
+ X.value.showTable = !X.value.showTable;
315
326
  }
316
- return Ce({
317
- generateCsv: ve,
318
- generatePdf: de,
319
- generateImage: ce,
320
- getData: Se,
321
- toggleTable: fe
322
- }), (d, s) => (n(), i("div", {
327
+ return Pe({
328
+ generateCsv: ke,
329
+ generatePdf: ve,
330
+ generateImage: fe,
331
+ getData: Ne,
332
+ toggleTable: $e
333
+ }), (a, s) => (r(), i("div", {
323
334
  ref_key: "bar3dChart",
324
335
  ref: re,
325
- class: ge("vue-ui-3d-bar"),
336
+ class: be("vue-ui-3d-bar"),
326
337
  style: j(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),
327
- id: `3d_bar_${x.value}`
338
+ id: `3d_bar_${m.value}`
328
339
  }, [
329
- t.value.style.chart.title.text ? (n(), i("div", {
340
+ t.value.style.chart.title.text ? (r(), i("div", {
330
341
  key: 0,
331
342
  style: j(`width:100%;background:${t.value.style.chart.backgroundColor}`)
332
343
  }, [
333
- _e(Re, {
344
+ (r(), H(Qe, {
345
+ key: `title_${ue.value}`,
334
346
  config: {
335
347
  title: {
336
348
  cy: "3dBar-div-title",
@@ -341,17 +353,17 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
341
353
  ...t.value.style.chart.title.subtitle
342
354
  }
343
355
  }
344
- }, null, 8, ["config"])
345
- ], 4)) : k("", !0),
346
- t.value.userOptions.show && Z.value ? (n(), ae(Je, {
356
+ }, null, 8, ["config"]))
357
+ ], 4)) : y("", !0),
358
+ t.value.userOptions.show && q.value ? (r(), H(tt, {
347
359
  key: 1,
348
360
  ref_key: "details",
349
- ref: Me,
361
+ ref: Se,
350
362
  backgroundColor: t.value.style.chart.backgroundColor,
351
363
  color: t.value.style.chart.color,
352
- isPrinting: h(ue),
353
- isImaging: h(ie),
354
- uid: x.value,
364
+ isPrinting: h(ce),
365
+ isImaging: h(he),
366
+ uid: m.value,
355
367
  hasPdf: t.value.userOptions.buttons.pdf,
356
368
  hasTable: !!C.value && t.value.userOptions.buttons.table,
357
369
  hasXls: !!C.value && t.value.userOptions.buttons.csv,
@@ -359,159 +371,159 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
359
371
  hasFullscreen: t.value.userOptions.buttons.fullscreen,
360
372
  titles: { ...t.value.userOptions.buttonTitles },
361
373
  chartElement: re.value,
362
- onToggleFullscreen: je,
363
- onGeneratePdf: h(de),
364
- onGenerateCsv: ve,
365
- onGenerateImage: h(ce),
366
- onToggleTable: fe
367
- }, Ie({ _: 2 }, [
368
- d.$slots.optionPdf ? {
374
+ onToggleFullscreen: ze,
375
+ onGeneratePdf: h(ve),
376
+ onGenerateCsv: ke,
377
+ onGenerateImage: h(fe),
378
+ onToggleTable: $e
379
+ }, Ge({ _: 2 }, [
380
+ a.$slots.optionPdf ? {
369
381
  name: "optionPdf",
370
382
  fn: I(() => [
371
- S(d.$slots, "optionPdf", {}, void 0, !0)
383
+ T(a.$slots, "optionPdf", {}, void 0, !0)
372
384
  ]),
373
385
  key: "0"
374
386
  } : void 0,
375
- d.$slots.optionCsv ? {
387
+ a.$slots.optionCsv ? {
376
388
  name: "optionCsv",
377
389
  fn: I(() => [
378
- S(d.$slots, "optionCsv", {}, void 0, !0)
390
+ T(a.$slots, "optionCsv", {}, void 0, !0)
379
391
  ]),
380
392
  key: "1"
381
393
  } : void 0,
382
- d.$slots.optionImg ? {
394
+ a.$slots.optionImg ? {
383
395
  name: "optionImg",
384
396
  fn: I(() => [
385
- S(d.$slots, "optionImg", {}, void 0, !0)
397
+ T(a.$slots, "optionImg", {}, void 0, !0)
386
398
  ]),
387
399
  key: "2"
388
400
  } : void 0,
389
- d.$slots.optionTable ? {
401
+ a.$slots.optionTable ? {
390
402
  name: "optionTable",
391
403
  fn: I(() => [
392
- S(d.$slots, "optionTable", {}, void 0, !0)
404
+ T(a.$slots, "optionTable", {}, void 0, !0)
393
405
  ]),
394
406
  key: "3"
395
407
  } : void 0,
396
- d.$slots.optionFullscreen ? {
408
+ a.$slots.optionFullscreen ? {
397
409
  name: "optionFullscreen",
398
410
  fn: I(({ toggleFullscreen: e, isFullscreen: c }) => [
399
- S(d.$slots, "optionFullscreen", R(Y({ toggleFullscreen: e, isFullscreen: c })), void 0, !0)
411
+ T(a.$slots, "optionFullscreen", Y(J({ toggleFullscreen: e, isFullscreen: c })), void 0, !0)
400
412
  ]),
401
413
  key: "4"
402
414
  } : void 0
403
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : k("", !0),
404
- Z.value ? (n(), i("svg", {
415
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
416
+ q.value ? (r(), i("svg", {
405
417
  key: 2,
406
- xmlns: h(Ze),
407
- class: ge({ "vue-data-ui-fullscreen--on": oe.value, "vue-data-ui-fulscreen--off": !oe.value }),
418
+ xmlns: h(Ye),
419
+ class: be({ "vue-data-ui-fullscreen--on": se.value, "vue-data-ui-fulscreen--off": !se.value }),
408
420
  viewBox: `0 0 ${o.value.absoluteWidth} ${o.value.height}`,
409
421
  style: j(`max-width:100%; overflow: visible; background:${t.value.style.chart.backgroundColor};color:${t.value.style.chart.color}`)
410
422
  }, [
411
- r("defs", null, [
412
- r("radialGradient", {
413
- id: `gradient_top${x.value}`
423
+ u("defs", null, [
424
+ u("radialGradient", {
425
+ id: `gradient_top${m.value}`
414
426
  }, [
415
- r("stop", {
427
+ u("stop", {
416
428
  offset: "0%",
417
- "stop-color": `${h(T)(t.value.style.chart.backgroundColor)}00`
418
- }, null, 8, at),
419
- r("stop", {
429
+ "stop-color": `${h(z)(t.value.style.chart.backgroundColor)}00`
430
+ }, null, 8, it),
431
+ u("stop", {
420
432
  offset: "100%",
421
433
  "stop-color": `${t.value.style.chart.bar.color}`
422
- }, null, 8, nt)
423
- ], 8, st),
424
- r("radialGradient", {
425
- id: `gradient_left${x.value}`
434
+ }, null, 8, dt)
435
+ ], 8, ut),
436
+ u("radialGradient", {
437
+ id: `gradient_left${m.value}`
426
438
  }, [
427
- r("stop", {
439
+ u("stop", {
428
440
  offset: "0%",
429
- "stop-color": `${h(T)(t.value.style.chart.backgroundColor)}00`
430
- }, null, 8, ut),
431
- r("stop", {
441
+ "stop-color": `${h(z)(t.value.style.chart.backgroundColor)}00`
442
+ }, null, 8, ht),
443
+ u("stop", {
432
444
  offset: "100%",
433
445
  "stop-color": `${t.value.style.chart.bar.color}33`
434
- }, null, 8, it)
435
- ], 8, rt),
436
- r("radialGradient", {
437
- id: `gradient_right${x.value}`
446
+ }, null, 8, vt)
447
+ ], 8, ct),
448
+ u("radialGradient", {
449
+ id: `gradient_right${m.value}`
438
450
  }, [
439
- r("stop", {
451
+ u("stop", {
440
452
  offset: "0%",
441
- "stop-color": `${h(T)(t.value.style.chart.backgroundColor)}00`
442
- }, null, 8, ct),
443
- r("stop", {
453
+ "stop-color": `${h(z)(t.value.style.chart.backgroundColor)}00`
454
+ }, null, 8, pt),
455
+ u("stop", {
444
456
  offset: "100%",
445
457
  "stop-color": `${t.value.style.chart.bar.color}33`
446
- }, null, 8, ht)
447
- ], 8, dt),
448
- r("linearGradient", {
449
- id: `gradient_tube_body${x.value}`,
458
+ }, null, 8, yt)
459
+ ], 8, ft),
460
+ u("linearGradient", {
461
+ id: `gradient_tube_body${m.value}`,
450
462
  x1: "0%",
451
463
  y1: "0%",
452
464
  x2: "100%",
453
465
  y2: "0%"
454
466
  }, [
455
- r("stop", {
467
+ u("stop", {
456
468
  offset: "0%",
457
469
  "stop-color": `${t.value.style.chart.bar.color}`
458
- }, null, 8, ft),
459
- r("stop", {
470
+ }, null, 8, $t),
471
+ u("stop", {
460
472
  offset: "75%",
461
- "stop-color": `${h(T)(t.value.style.chart.backgroundColor)}00`
462
- }, null, 8, pt),
463
- r("stop", {
473
+ "stop-color": `${h(z)(t.value.style.chart.backgroundColor)}00`
474
+ }, null, 8, gt),
475
+ u("stop", {
464
476
  offset: "100%",
465
477
  "stop-color": `${t.value.style.chart.bar.color}66`
466
- }, null, 8, yt)
467
- ], 8, vt)
478
+ }, null, 8, _t)
479
+ ], 8, kt)
468
480
  ]),
469
- C.value ? (n(), i("defs", kt, [
470
- (n(!0), i($, null, g(w.value, (e) => (n(), i("radialGradient", {
481
+ C.value ? (r(), i("defs", mt, [
482
+ (r(!0), i(g, null, _(w.value, (e) => (r(), i("radialGradient", {
471
483
  id: `grad_top_${e.id}`
472
484
  }, [
473
- r("stop", {
485
+ u("stop", {
474
486
  offset: "0%",
475
487
  "stop-color": `${h(A)(e.color, 0.5)}DD`
476
- }, null, 8, gt),
477
- r("stop", {
488
+ }, null, 8, bt),
489
+ u("stop", {
478
490
  offset: "100%",
479
491
  "stop-color": `${e.color}`
480
- }, null, 8, _t)
481
- ], 8, $t))), 256)),
482
- (n(!0), i($, null, g(w.value, (e) => (n(), i("linearGradient", {
492
+ }, null, 8, wt)
493
+ ], 8, xt))), 256)),
494
+ (r(!0), i(g, null, _(w.value, (e) => (r(), i("linearGradient", {
483
495
  id: `grad_left_${e.id}`
484
496
  }, [
485
- r("stop", {
497
+ u("stop", {
486
498
  offset: "0%",
487
499
  "stop-color": `${e.color}DD`
488
- }, null, 8, xt),
489
- r("stop", {
500
+ }, null, 8, Ft),
501
+ u("stop", {
490
502
  offset: "100%",
491
- "stop-color": `${h(Q)(e.color, 0.5)}FF`
492
- }, null, 8, bt)
493
- ], 8, mt))), 256)),
494
- (n(!0), i($, null, g(w.value, (e) => (n(), i("linearGradient", {
503
+ "stop-color": `${h(ee)(e.color, 0.5)}FF`
504
+ }, null, 8, Mt)
505
+ ], 8, Ct))), 256)),
506
+ (r(!0), i(g, null, _(w.value, (e) => (r(), i("linearGradient", {
495
507
  id: `grad_right_${e.id}`
496
508
  }, [
497
- r("stop", {
509
+ u("stop", {
498
510
  offset: "2%",
499
511
  "stop-color": `${h(A)(e.color, 0.5)}FF`
500
- }, null, 8, Ct),
501
- r("stop", {
512
+ }, null, 8, Dt),
513
+ u("stop", {
502
514
  offset: "100%",
503
515
  "stop-color": `${e.color}DD`
504
- }, null, 8, Ft)
505
- ], 8, wt))), 256)),
506
- r("linearGradient", {
516
+ }, null, 8, St)
517
+ ], 8, Pt))), 256)),
518
+ u("linearGradient", {
507
519
  x1: "0%",
508
520
  y1: "0%",
509
521
  x2: "0%",
510
522
  y2: "100%",
511
- id: `vertical_line_${x.value}`
512
- }, jt, 8, Mt)
513
- ])) : k("", !0),
514
- t.value.style.chart.dataLabel.show && ![null, void 0].includes(_.dataset.percentage) && [null, void 0].includes(_.dataset.series) ? (n(), i("text", {
523
+ id: `vertical_line_${m.value}`
524
+ }, Nt, 8, jt)
525
+ ])) : y("", !0),
526
+ t.value.style.chart.dataLabel.show && ![null, void 0].includes($.dataset.percentage) && [null, void 0].includes($.dataset.series) ? (r(), i("text", {
515
527
  key: 1,
516
528
  x: o.value.width / 2,
517
529
  y: o.value.top - t.value.style.chart.dataLabel.fontSize / 2,
@@ -519,131 +531,131 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
519
531
  "font-weight": t.value.style.chart.dataLabel.bold ? "bold" : "normal",
520
532
  fill: t.value.style.chart.dataLabel.color,
521
533
  "text-anchor": "middle"
522
- }, M(h(D)({
534
+ }, M(h(S)({
523
535
  v: G.value,
524
536
  s: "%",
525
537
  r: t.value.style.chart.dataLabel.rounding
526
- })), 9, St)) : k("", !0),
527
- O.value ? (n(), i("g", {
538
+ })), 9, Bt)) : y("", !0),
539
+ O.value ? (r(), i("g", {
528
540
  key: 2,
529
541
  onClick: s[0] || (s[0] = (e) => {
530
- O.value = !1, b.value = null;
542
+ O.value = !1, x.value = null;
531
543
  }),
532
544
  "data-html2canvas-ignore": "",
533
545
  style: { cursor: "pointer" }
534
546
  }, [
535
- r("rect", {
547
+ u("rect", {
536
548
  x: o.value.width / 2 - 6,
537
549
  y: o.value.top - 20,
538
550
  height: 12,
539
551
  width: 12,
540
552
  fill: "transparent"
541
- }, null, 8, Tt),
542
- r("path", {
553
+ }, null, 8, It),
554
+ u("path", {
543
555
  d: `M${o.value.width / 2 - 6},${o.value.top - 20} ${o.value.width / 2 + 6},${o.value.top - 9}`,
544
556
  stroke: t.value.style.chart.color,
545
557
  "stroke-linecap": "round",
546
558
  "stroke-width": "1"
547
- }, null, 8, zt),
548
- r("path", {
559
+ }, null, 8, Lt),
560
+ u("path", {
549
561
  d: `M${o.value.width / 2 + 6},${o.value.top - 20} ${o.value.width / 2 - 6},${o.value.top - 9}`,
550
562
  stroke: t.value.style.chart.color,
551
563
  "stroke-linecap": "round",
552
564
  "stroke-width": "1"
553
- }, null, 8, Nt)
554
- ])) : k("", !0),
555
- !t.value.style.shape || t.value.style.shape === "bar" ? (n(), i("g", Bt, [
556
- C.value ? k("", !0) : (n(), i("g", It, [
557
- r("path", {
565
+ }, null, 8, Ot)
566
+ ])) : y("", !0),
567
+ !t.value.style.shape || t.value.style.shape === "bar" ? (r(), i("g", Wt, [
568
+ C.value ? y("", !0) : (r(), i("g", Gt, [
569
+ u("path", {
558
570
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
559
- d: z.value.right,
571
+ d: N.value.right,
560
572
  stroke: t.value.style.chart.box.stroke,
561
573
  "stroke-width": t.value.style.chart.box.strokeWidth,
562
574
  "stroke-linejoin": "round",
563
575
  "stroke-linecap": "round",
564
576
  fill: "none"
565
- }, null, 8, Lt),
566
- r("path", {
577
+ }, null, 8, Vt),
578
+ u("path", {
567
579
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
568
- d: z.value.left,
580
+ d: N.value.left,
569
581
  stroke: t.value.style.chart.box.stroke,
570
582
  "stroke-width": t.value.style.chart.box.strokeWidth,
571
583
  "stroke-linejoin": "round",
572
584
  "stroke-linecap": "round",
573
585
  fill: "none"
574
- }, null, 8, Ot),
575
- r("path", {
586
+ }, null, 8, At),
587
+ u("path", {
576
588
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
577
- d: z.value.side,
589
+ d: N.value.side,
578
590
  stroke: t.value.style.chart.box.stroke,
579
591
  "stroke-width": t.value.style.chart.box.strokeWidth,
580
592
  "stroke-linejoin": "round",
581
593
  "stroke-linecap": "round",
582
594
  fill: "none"
583
- }, null, 8, Wt),
584
- r("path", {
595
+ }, null, 8, Ut),
596
+ u("path", {
585
597
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
586
- d: z.value.topSides,
598
+ d: N.value.topSides,
587
599
  stroke: t.value.style.chart.box.stroke,
588
600
  "stroke-width": t.value.style.chart.box.strokeWidth,
589
601
  "stroke-linejoin": "round",
590
602
  "stroke-linecap": "round",
591
603
  fill: "none"
592
- }, null, 8, Gt)
604
+ }, null, 8, Et)
593
605
  ])),
594
- C.value ? k("", !0) : (n(), i("g", Vt, [
595
- r("path", {
606
+ C.value ? y("", !0) : (r(), i("g", Ht, [
607
+ u("path", {
596
608
  d: E.value.right,
597
609
  stroke: t.value.style.chart.bar.stroke,
598
610
  "stroke-width": t.value.style.chart.bar.strokeWidth,
599
611
  "stroke-linejoin": "round",
600
612
  "stroke-linecap": "round",
601
- fill: `url(#gradient_right${x.value})`
602
- }, null, 8, At),
603
- r("path", {
613
+ fill: `url(#gradient_right${m.value})`
614
+ }, null, 8, Zt),
615
+ u("path", {
604
616
  d: E.value.left,
605
617
  stroke: t.value.style.chart.bar.stroke,
606
618
  "stroke-width": t.value.style.chart.bar.strokeWidth,
607
619
  "stroke-linejoin": "round",
608
620
  "stroke-linecap": "round",
609
- fill: `url(#gradient_left${x.value})`
610
- }, null, 8, Ut),
611
- r("path", {
621
+ fill: `url(#gradient_left${m.value})`
622
+ }, null, 8, qt),
623
+ u("path", {
612
624
  d: E.value.top,
613
625
  stroke: t.value.style.chart.bar.stroke,
614
626
  "stroke-width": t.value.style.chart.bar.strokeWidth,
615
627
  "stroke-linejoin": "round",
616
628
  "stroke-linecap": "round",
617
- fill: `url(#gradient_top${x.value})`
618
- }, null, 8, Et)
629
+ fill: `url(#gradient_top${m.value})`
630
+ }, null, 8, Xt)
619
631
  ])),
620
- C.value ? (n(), i("g", Ht, [
621
- (n(!0), i($, null, g(w.value, (e, c) => (n(), i("g", {
622
- style: j(`opacity:${b.value ? b.value === e.id ? 1 : 0.3 : 1}`),
632
+ C.value ? (r(), i("g", Rt, [
633
+ (r(!0), i(g, null, _(w.value, (e, c) => (r(), i("g", {
634
+ style: j(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
623
635
  class: "vue-ui-3d-bar-stack"
624
636
  }, [
625
- r("path", {
637
+ u("path", {
626
638
  d: e.fill.right,
627
639
  fill: `url(#grad_right_${e.id})`,
628
640
  onMouseenter: (l) => F(e),
629
641
  onClick: (l) => F(e, !0),
630
642
  onMouseout: W
631
- }, null, 40, Zt),
632
- r("path", {
643
+ }, null, 40, Yt),
644
+ u("path", {
633
645
  d: e.fill.left,
634
646
  fill: `url(#grad_left_${e.id})`,
635
647
  onMouseenter: (l) => F(e),
636
648
  onClick: (l) => F(e, !0),
637
649
  onMouseout: W
638
- }, null, 40, qt),
639
- r("path", {
650
+ }, null, 40, Jt),
651
+ u("path", {
640
652
  d: e.fill.top,
641
653
  fill: `url(#grad_top_${e.id})`,
642
654
  onMouseenter: (l) => F(e),
643
655
  onClick: (l) => F(e, !0),
644
656
  onMouseout: W
645
- }, null, 40, Xt),
646
- r("path", {
657
+ }, null, 40, Kt),
658
+ u("path", {
647
659
  d: e.fill.liningTop,
648
660
  stroke: "#FFFFFF",
649
661
  "stroke-width": "0.5",
@@ -652,16 +664,16 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
652
664
  onMouseenter: (l) => F(e),
653
665
  onClick: (l) => F(e, !0),
654
666
  onMouseout: W
655
- }, null, 40, Rt),
656
- r("path", {
667
+ }, null, 40, Qt),
668
+ u("path", {
657
669
  d: `M ${e.fill.apexTop.x},${e.fill.apexTop.y} ${e.fill.apexBottom.x},${e.fill.apexBottom.y}`,
658
670
  stroke: "#FFFFFF",
659
671
  "stroke-width": "0.5",
660
672
  "stroke-linecap": "round"
661
- }, null, 8, Yt)
673
+ }, null, 8, el)
662
674
  ], 4))), 256)),
663
- (n(!0), i($, null, g(w.value, (e, c) => (n(), i("g", null, [
664
- c !== w.value.length - 1 ? (n(), i("path", {
675
+ (r(!0), i(g, null, _(w.value, (e, c) => (r(), i("g", null, [
676
+ c !== w.value.length - 1 ? (r(), i("path", {
665
677
  key: 0,
666
678
  d: e.fill.liningTopShade,
667
679
  stroke: t.value.style.chart.bar.shadeColor,
@@ -669,246 +681,246 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
669
681
  "stroke-linecap": "round",
670
682
  fill: "none",
671
683
  style: { "pointer-events": "none" }
672
- }, null, 8, Jt)) : k("", !0)
684
+ }, null, 8, tl)) : y("", !0)
673
685
  ]))), 256)),
674
- (n(!0), i($, null, g(w.value, (e, c) => (n(), i("g", {
675
- style: j(`opacity:${b.value ? b.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
676
- onClick: (l) => H("selectDatapoint", e)
686
+ (r(!0), i(g, null, _(w.value, (e, c) => (r(), i("g", {
687
+ style: j(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
688
+ onClick: (l) => Z("selectDatapoint", e)
677
689
  }, [
678
- r("path", {
690
+ u("path", {
679
691
  stroke: t.value.style.chart.color,
680
692
  "stroke-dasharray": "1",
681
693
  "stroke-width": "0.5",
682
694
  "stroke-linecap": "round",
683
695
  d: `M${e.fill.sidePointer.x},${e.fill.sidePointer.y} ${e.fill.sidePointer.x + 20},${e.fill.sidePointer.y}`
684
- }, null, 8, Qt),
685
- !e.fill.miniDonut || b.value ? (n(), i("circle", {
696
+ }, null, 8, ol),
697
+ !e.fill.miniDonut || x.value ? (r(), i("circle", {
686
698
  key: 0,
687
699
  cx: e.fill.sidePointer.x + 20,
688
700
  cy: e.fill.sidePointer.y,
689
701
  r: 2,
690
702
  fill: e.color,
691
703
  stroke: t.value.style.chart.backgroundColor
692
- }, null, 8, el)) : k("", !0),
693
- (n(), i("foreignObject", {
704
+ }, null, 8, sl)) : y("", !0),
705
+ (r(), i("foreignObject", {
694
706
  x: e.fill.sidePointer.x + 30,
695
707
  y: e.fill.sidePointer.y - t.value.style.chart.legend.fontSize,
696
708
  width: o.value.absoluteWidth / 2 - 12,
697
709
  height: t.value.style.chart.legend.fontSize * 2,
698
710
  style: { overflow: "visible", position: "relative" }
699
711
  }, [
700
- t.value.style.chart.legend.showDefault ? (n(), i("div", {
712
+ t.value.style.chart.legend.showDefault ? (r(), i("div", {
701
713
  key: 0,
702
714
  style: j(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${t.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${t.value.style.chart.legend.fontSize}px; color:${t.value.style.chart.legend.color}`)
703
- }, M(e.name) + ": " + M(h(D)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })) + " (" + M(h(ee)(
715
+ }, M(e.name) + ": " + M(h(S)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })) + " (" + M(h(te)(
704
716
  t.value.style.chart.dataLabel.formatter,
705
717
  e.value,
706
- h(D)({
718
+ h(S)({
707
719
  p: t.value.style.chart.legend.prefix,
708
720
  v: e.value,
709
721
  s: t.value.style.chart.legend.suffix,
710
722
  r: t.value.style.chart.legend.roundingValue
711
723
  }),
712
724
  { datapoint: e, seriesIndex: c }
713
- )) + ") ", 5)) : k("", !0),
714
- S(d.$slots, "legend", R(Y({ datapoint: e, config: t.value, dataset: w.value })), void 0, !0)
715
- ], 8, tl)),
716
- e.fill.donut && b.value === e.id ? (n(), i("g", ll, [
717
- (n(!0), i($, null, g(e.fill.donut, (l, a) => (n(), i("g", null, [
718
- V(l, e.fill.donut, !0) > 6 ? (n(), i("path", {
725
+ )) + ") ", 5)) : y("", !0),
726
+ T(a.$slots, "legend", Y(J({ datapoint: e, config: t.value, dataset: w.value })), void 0, !0)
727
+ ], 8, al)),
728
+ e.fill.donut && x.value === e.id ? (r(), i("g", nl, [
729
+ (r(!0), i(g, null, _(e.fill.donut, (l, n) => (r(), i("g", null, [
730
+ V(l, e.fill.donut, !0) > 6 ? (r(), i("path", {
719
731
  key: 0,
720
- d: h(be)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 0.5),
732
+ d: h(Fe)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 0.5),
721
733
  stroke: l.color,
722
734
  class: "vue-ui-donut-arc-path",
723
735
  "stroke-width": "0.5",
724
736
  "stroke-linecap": "round",
725
737
  "stroke-linejoin": "round",
726
738
  fill: "none"
727
- }, null, 8, ol)) : k("", !0)
739
+ }, null, 8, rl)) : y("", !0)
728
740
  ]))), 256)),
729
- (n(!0), i($, null, g(e.fill.donut, (l, a) => (n(), i("path", {
741
+ (r(!0), i(g, null, _(e.fill.donut, (l, n) => (r(), i("path", {
730
742
  class: "vue-ui-donut-arc-path",
731
743
  d: l.arcSlice,
732
744
  fill: `${l.color}`,
733
745
  stroke: t.value.style.chart.backgroundColor,
734
746
  "stroke-width": 1
735
- }, null, 8, sl))), 256)),
736
- r("defs", null, [
737
- r("radialGradient", {
738
- id: `hollow_gradient_${x.value}`
747
+ }, null, 8, ul))), 256)),
748
+ u("defs", null, [
749
+ u("radialGradient", {
750
+ id: `hollow_gradient_${m.value}`
739
751
  }, [
740
- r("stop", {
752
+ u("stop", {
741
753
  offset: "0%",
742
- "stop-color": `${h(T)(t.value.style.chart.backgroundColor)}00`
743
- }, null, 8, nl),
744
- rl,
745
- r("stop", {
754
+ "stop-color": `${h(z)(t.value.style.chart.backgroundColor)}00`
755
+ }, null, 8, dl),
756
+ cl,
757
+ u("stop", {
746
758
  offset: "100%",
747
- "stop-color": `${h(T)(t.value.style.chart.backgroundColor)}00`
748
- }, null, 8, ul)
749
- ], 8, al)
759
+ "stop-color": `${h(z)(t.value.style.chart.backgroundColor)}00`
760
+ }, null, 8, hl)
761
+ ], 8, il)
750
762
  ]),
751
- (n(!0), i($, null, g(e.fill.donut, (l, a) => (n(), i("circle", {
763
+ (r(!0), i(g, null, _(e.fill.donut, (l, n) => (r(), i("circle", {
752
764
  class: "vue-ui-donut-arc-path",
753
765
  cx: l.cx,
754
766
  cy: l.cy,
755
767
  r: 28,
756
- fill: `url(#hollow_gradient_${x.value})`
757
- }, null, 8, il))), 256)),
758
- (n(!0), i($, null, g(e.fill.donut, (l, a) => (n(), i("circle", {
768
+ fill: `url(#hollow_gradient_${m.value})`
769
+ }, null, 8, vl))), 256)),
770
+ (r(!0), i(g, null, _(e.fill.donut, (l, n) => (r(), i("circle", {
759
771
  class: "vue-ui-donut-arc-path",
760
772
  cx: l.cx,
761
773
  cy: l.cy,
762
774
  r: 14,
763
775
  fill: t.value.style.chart.backgroundColor
764
- }, null, 8, dl))), 256)),
765
- (n(!0), i($, null, g(e.fill.donut, (l, a) => (n(), i("g", null, [
766
- V(l, e.fill.donut, !0) > 6 ? (n(), i("g", cl, [
767
- r("text", {
776
+ }, null, 8, fl))), 256)),
777
+ (r(!0), i(g, null, _(e.fill.donut, (l, n) => (r(), i("g", null, [
778
+ V(l, e.fill.donut, !0) > 6 ? (r(), i("g", pl, [
779
+ u("text", {
768
780
  "text-anchor": h(L)(l, !0, 0).anchor,
769
781
  x: h(L)(l, !0, 2).x,
770
- y: h(te)(l, 12, 12),
782
+ y: h(le)(l, 12, 12),
771
783
  fill: t.value.style.chart.legend.color,
772
784
  "font-size": t.value.style.chart.legend.fontSize / 1.5
773
- }, M(V(l, e.fill.donut)) + " (" + M(h(ee)(
785
+ }, M(V(l, e.fill.donut)) + " (" + M(h(te)(
774
786
  t.value.style.chart.dataLabel.formatter,
775
787
  l.value,
776
- h(D)({
788
+ h(S)({
777
789
  p: t.value.style.chart.legend.prefix,
778
790
  v: l.value,
779
791
  s: t.value.style.chart.legend.suffix,
780
792
  r: t.value.style.chart.legend.roundingValue
781
793
  }),
782
- { datapoint: l, seriesIndex: a }
783
- )) + ") ", 9, hl),
784
- r("text", {
794
+ { datapoint: l, seriesIndex: n }
795
+ )) + ") ", 9, yl),
796
+ u("text", {
785
797
  "text-anchor": h(L)(l).anchor,
786
798
  x: h(L)(l, !0, 2).x,
787
- y: h(te)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
799
+ y: h(le)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
788
800
  fill: t.value.style.chart.legend.color,
789
801
  "font-size": t.value.style.chart.legend.fontSize / 1.5
790
- }, M(l.name), 9, vl)
791
- ])) : k("", !0)
802
+ }, M(l.name), 9, kl)
803
+ ])) : y("", !0)
792
804
  ]))), 256))
793
- ])) : k("", !0),
794
- e.fill.miniDonut && !b.value ? (n(), i("g", fl, [
795
- (n(!0), i($, null, g(e.fill.miniDonut, (l, a) => (n(), i("path", {
805
+ ])) : y("", !0),
806
+ e.fill.miniDonut && !x.value ? (r(), i("g", $l, [
807
+ (r(!0), i(g, null, _(e.fill.miniDonut, (l, n) => (r(), i("path", {
796
808
  class: "vue-ui-donut-arc-path",
797
809
  d: l.arcSlice,
798
810
  fill: `${l.color}`,
799
811
  stroke: t.value.style.chart.backgroundColor,
800
812
  "stroke-width": 0.5
801
- }, null, 8, pl))), 256))
802
- ])) : k("", !0)
803
- ], 12, Kt))), 256))
804
- ])) : k("", !0)
805
- ])) : k("", !0),
806
- t.value.style.shape === "tube" ? (n(), i("g", yl, [
807
- C.value ? k("", !0) : (n(), i("g", kl, [
808
- r("path", {
813
+ }, null, 8, gl))), 256))
814
+ ])) : y("", !0)
815
+ ], 12, ll))), 256))
816
+ ])) : y("", !0)
817
+ ])) : y("", !0),
818
+ t.value.style.shape === "tube" ? (r(), i("g", _l, [
819
+ C.value ? y("", !0) : (r(), i("g", ml, [
820
+ u("path", {
809
821
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
810
- d: z.value.tubeTop,
822
+ d: N.value.tubeTop,
811
823
  stroke: t.value.style.chart.box.stroke,
812
824
  "stroke-width": t.value.style.chart.box.strokeWidth,
813
825
  "stroke-linejoin": "round",
814
826
  "stroke-linecap": "round",
815
827
  fill: "none"
816
- }, null, 8, $l),
817
- r("path", {
828
+ }, null, 8, xl),
829
+ u("path", {
818
830
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
819
- d: z.value.tubeLeft,
831
+ d: N.value.tubeLeft,
820
832
  stroke: t.value.style.chart.box.stroke,
821
833
  "stroke-width": t.value.style.chart.box.strokeWidth,
822
834
  "stroke-linejoin": "round",
823
835
  "stroke-linecap": "round",
824
836
  fill: "none"
825
- }, null, 8, gl),
826
- r("path", {
837
+ }, null, 8, bl),
838
+ u("path", {
827
839
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
828
- d: z.value.tubeRight,
840
+ d: N.value.tubeRight,
829
841
  stroke: t.value.style.chart.box.stroke,
830
842
  "stroke-width": t.value.style.chart.box.strokeWidth,
831
843
  "stroke-linejoin": "round",
832
844
  "stroke-linecap": "round",
833
845
  fill: "none"
834
- }, null, 8, _l),
835
- r("path", {
846
+ }, null, 8, wl),
847
+ u("path", {
836
848
  "stroke-dasharray": t.value.style.chart.box.strokeDasharray,
837
- d: z.value.tubeBottom,
849
+ d: N.value.tubeBottom,
838
850
  stroke: t.value.style.chart.box.stroke,
839
851
  "stroke-width": t.value.style.chart.box.strokeWidth,
840
852
  "stroke-linejoin": "round",
841
853
  "stroke-linecap": "round",
842
854
  fill: "none"
843
- }, null, 8, ml),
844
- r("path", {
855
+ }, null, 8, Cl),
856
+ u("path", {
845
857
  d: E.value.tubeTop,
846
858
  stroke: t.value.style.chart.bar.stroke,
847
859
  "stroke-width": t.value.style.chart.bar.strokeWidth,
848
860
  "stroke-linejoin": "round",
849
861
  "stroke-linecap": "round",
850
- fill: `url(#gradient_top${x.value})`
851
- }, null, 8, xl),
852
- r("path", {
862
+ fill: `url(#gradient_top${m.value})`
863
+ }, null, 8, Fl),
864
+ u("path", {
853
865
  d: E.value.tubeBody,
854
866
  stroke: t.value.style.chart.bar.stroke,
855
867
  "stroke-width": t.value.style.chart.bar.strokeWidth,
856
868
  "stroke-linejoin": "round",
857
869
  "stroke-linecap": "round",
858
- fill: `url(#gradient_tube_body${x.value})`
859
- }, null, 8, bl)
870
+ fill: `url(#gradient_tube_body${m.value})`
871
+ }, null, 8, Ml)
860
872
  ])),
861
- C.value ? (n(), i("g", wl, [
862
- (n(!0), i($, null, g(w.value, (e, c) => (n(), i("g", {
863
- style: j(`opacity:${b.value ? b.value === e.id ? 1 : 0.3 : 1}`),
873
+ C.value ? (r(), i("g", Pl, [
874
+ (r(!0), i(g, null, _(w.value, (e, c) => (r(), i("g", {
875
+ style: j(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
864
876
  class: "vue-ui-3d-bar-stack",
865
- onClick: (l) => H("selectDatapoint", e)
877
+ onClick: (l) => Z("selectDatapoint", e)
866
878
  }, [
867
- r("defs", null, [
868
- r("radialGradient", {
879
+ u("defs", null, [
880
+ u("radialGradient", {
869
881
  id: `gradient_tube_top_${e.id}`,
870
882
  fx: "10%",
871
883
  cy: "55%"
872
884
  }, [
873
- r("stop", {
885
+ u("stop", {
874
886
  offset: "0%",
875
887
  "stop-color": `${h(A)(e.color, 0.5)}DD`
876
- }, null, 8, Ml),
877
- r("stop", {
888
+ }, null, 8, jl),
889
+ u("stop", {
878
890
  offset: "100%",
879
- "stop-color": `${h(Q)(e.color, 0.1)}DD`
880
- }, null, 8, Pl)
881
- ], 8, Fl),
882
- r("linearGradient", {
891
+ "stop-color": `${h(ee)(e.color, 0.1)}DD`
892
+ }, null, 8, Tl)
893
+ ], 8, Sl),
894
+ u("linearGradient", {
883
895
  id: `gradient_tube_body_${e.id}`,
884
896
  x1: "0%",
885
897
  y1: "0%",
886
898
  x2: "100%",
887
899
  y2: "0%"
888
900
  }, [
889
- r("stop", {
901
+ u("stop", {
890
902
  offset: "0%",
891
903
  "stop-color": `${e.color}`
892
- }, null, 8, jl),
893
- r("stop", {
904
+ }, null, 8, Nl),
905
+ u("stop", {
894
906
  offset: "10%",
895
- "stop-color": `${h(Q)(e.color, 0.7)}FF`
896
- }, null, 8, Sl),
897
- r("stop", {
907
+ "stop-color": `${h(ee)(e.color, 0.7)}FF`
908
+ }, null, 8, Bl),
909
+ u("stop", {
898
910
  offset: "25%",
899
- "stop-color": `${h(Q)(e.color, 0.5)}FF`
900
- }, null, 8, Tl),
901
- r("stop", {
911
+ "stop-color": `${h(ee)(e.color, 0.5)}FF`
912
+ }, null, 8, Il),
913
+ u("stop", {
902
914
  offset: "75%",
903
915
  "stop-color": `${e.color}DD`
904
- }, null, 8, zl),
905
- r("stop", {
916
+ }, null, 8, Ll),
917
+ u("stop", {
906
918
  offset: "100%",
907
919
  "stop-color": `${h(A)(e.color, 0.7)}FF`
908
- }, null, 8, Nl)
909
- ], 8, Dl)
920
+ }, null, 8, Ol)
921
+ ], 8, zl)
910
922
  ]),
911
- r("path", {
923
+ u("path", {
912
924
  onMouseenter: (l) => F(e),
913
925
  onClick: (l) => F(e, !0),
914
926
  onMouseout: W,
@@ -918,8 +930,8 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
918
930
  "stroke-linejoin": "round",
919
931
  "stroke-linecap": "round",
920
932
  fill: `url(#gradient_tube_body_${e.id})`
921
- }, null, 40, Bl),
922
- c > 0 ? (n(), i("path", {
933
+ }, null, 40, Wl),
934
+ c > 0 ? (r(), i("path", {
923
935
  key: 0,
924
936
  onMouseenter: (l) => F(e),
925
937
  onClick: (l) => F(e, !0),
@@ -930,8 +942,8 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
930
942
  "stroke-linejoin": "round",
931
943
  "stroke-linecap": "round",
932
944
  fill: "none"
933
- }, null, 40, Il)) : k("", !0),
934
- r("path", {
945
+ }, null, 40, Gl)) : y("", !0),
946
+ u("path", {
935
947
  onMouseenter: (l) => F(e),
936
948
  onClick: (l) => F(e, !0),
937
949
  onMouseout: W,
@@ -941,146 +953,146 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
941
953
  "stroke-linejoin": "round",
942
954
  "stroke-linecap": "round",
943
955
  fill: `url(#gradient_tube_top_${e.id})`
944
- }, null, 40, Ll)
945
- ], 12, Cl))), 256)),
946
- (n(!0), i($, null, g(w.value, (e, c) => (n(), i("g", {
947
- style: j(`opacity:${b.value ? b.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
948
- onClick: (l) => H("selectDatapoint", e)
956
+ }, null, 40, Vl)
957
+ ], 12, Dl))), 256)),
958
+ (r(!0), i(g, null, _(w.value, (e, c) => (r(), i("g", {
959
+ style: j(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
960
+ onClick: (l) => Z("selectDatapoint", e)
949
961
  }, [
950
- r("path", {
962
+ u("path", {
951
963
  stroke: t.value.style.chart.color,
952
964
  "stroke-dasharray": "1",
953
965
  "stroke-width": "0.5",
954
966
  "stroke-linecap": "round",
955
967
  d: `M${e.fill.sidePointer.x},${e.fill.sidePointer.y} ${e.fill.sidePointer.x + 20},${e.fill.sidePointer.y}`
956
- }, null, 8, Wl),
957
- !e.fill.miniDonut || b.value ? (n(), i("circle", {
968
+ }, null, 8, Ul),
969
+ !e.fill.miniDonut || x.value ? (r(), i("circle", {
958
970
  key: 0,
959
971
  cx: e.fill.sidePointer.x + 20,
960
972
  cy: e.fill.sidePointer.y,
961
973
  r: 2,
962
974
  fill: e.color,
963
975
  stroke: t.value.style.chart.backgroundColor
964
- }, null, 8, Gl)) : k("", !0),
965
- (n(), i("foreignObject", {
976
+ }, null, 8, El)) : y("", !0),
977
+ (r(), i("foreignObject", {
966
978
  x: e.fill.sidePointer.x + 30,
967
979
  y: e.fill.sidePointer.y - t.value.style.chart.legend.fontSize,
968
980
  width: o.value.absoluteWidth / 2 - 12,
969
981
  height: t.value.style.chart.legend.fontSize * 2,
970
982
  style: { overflow: "visible", position: "relative" }
971
983
  }, [
972
- t.value.style.chart.legend.showDefault ? (n(), i("div", {
984
+ t.value.style.chart.legend.showDefault ? (r(), i("div", {
973
985
  key: 0,
974
986
  style: j(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${t.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${t.value.style.chart.legend.fontSize}px; color:${t.value.style.chart.legend.color}`)
975
- }, M(e.name) + ": " + M(h(D)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })) + " (" + M(h(ee)(
987
+ }, M(e.name) + ": " + M(h(S)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })) + " (" + M(h(te)(
976
988
  t.value.style.chart.dataLabel.formatter,
977
989
  e.value,
978
- h(D)({
990
+ h(S)({
979
991
  p: t.value.style.chart.legend.prefix,
980
992
  v: e.value,
981
993
  s: t.value.style.chart.legend.suffix,
982
994
  r: t.value.style.chart.legend.roundingValue
983
995
  }),
984
996
  { datapoint: e, seriesIndex: c }
985
- )) + ") ", 5)) : k("", !0),
986
- S(d.$slots, "legend", R(Y({ datapoint: e, config: t.value, dataset: w.value })), void 0, !0)
987
- ], 8, Vl)),
988
- e.fill.donut && b.value === e.id ? (n(), i("g", Al, [
989
- (n(!0), i($, null, g(e.fill.donut, (l, a) => (n(), i("g", null, [
990
- V(l, e.fill.donut, !0) > 6 ? (n(), i("path", {
997
+ )) + ") ", 5)) : y("", !0),
998
+ T(a.$slots, "legend", Y(J({ datapoint: e, config: t.value, dataset: w.value })), void 0, !0)
999
+ ], 8, Hl)),
1000
+ e.fill.donut && x.value === e.id ? (r(), i("g", Zl, [
1001
+ (r(!0), i(g, null, _(e.fill.donut, (l, n) => (r(), i("g", null, [
1002
+ V(l, e.fill.donut, !0) > 6 ? (r(), i("path", {
991
1003
  key: 0,
992
- d: h(be)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 0.5),
1004
+ d: h(Fe)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 0.5),
993
1005
  stroke: l.color,
994
1006
  class: "vue-ui-donut-arc-path",
995
1007
  "stroke-width": "0.5",
996
1008
  "stroke-linecap": "round",
997
1009
  "stroke-linejoin": "round",
998
1010
  fill: "none"
999
- }, null, 8, Ul)) : k("", !0)
1011
+ }, null, 8, ql)) : y("", !0)
1000
1012
  ]))), 256)),
1001
- (n(!0), i($, null, g(e.fill.donut, (l, a) => (n(), i("path", {
1013
+ (r(!0), i(g, null, _(e.fill.donut, (l, n) => (r(), i("path", {
1002
1014
  class: "vue-ui-donut-arc-path",
1003
1015
  d: l.arcSlice,
1004
1016
  fill: `${l.color}`,
1005
1017
  stroke: t.value.style.chart.backgroundColor,
1006
1018
  "stroke-width": 1
1007
- }, null, 8, El))), 256)),
1008
- r("defs", null, [
1009
- r("radialGradient", {
1010
- id: `hollow_gradient_${x.value}`
1019
+ }, null, 8, Xl))), 256)),
1020
+ u("defs", null, [
1021
+ u("radialGradient", {
1022
+ id: `hollow_gradient_${m.value}`
1011
1023
  }, [
1012
- r("stop", {
1024
+ u("stop", {
1013
1025
  offset: "0%",
1014
- "stop-color": `${h(T)(t.value.style.chart.backgroundColor)}00`
1015
- }, null, 8, Zl),
1016
- ql,
1017
- r("stop", {
1026
+ "stop-color": `${h(z)(t.value.style.chart.backgroundColor)}00`
1027
+ }, null, 8, Yl),
1028
+ Jl,
1029
+ u("stop", {
1018
1030
  offset: "100%",
1019
- "stop-color": `${h(T)(t.value.style.chart.backgroundColor)}00`
1020
- }, null, 8, Xl)
1021
- ], 8, Hl)
1031
+ "stop-color": `${h(z)(t.value.style.chart.backgroundColor)}00`
1032
+ }, null, 8, Kl)
1033
+ ], 8, Rl)
1022
1034
  ]),
1023
- (n(!0), i($, null, g(e.fill.donut, (l, a) => (n(), i("circle", {
1035
+ (r(!0), i(g, null, _(e.fill.donut, (l, n) => (r(), i("circle", {
1024
1036
  class: "vue-ui-donut-arc-path",
1025
1037
  cx: l.cx,
1026
1038
  cy: l.cy,
1027
1039
  r: 28,
1028
- fill: `url(#hollow_gradient_${x.value})`
1029
- }, null, 8, Rl))), 256)),
1030
- (n(!0), i($, null, g(e.fill.donut, (l, a) => (n(), i("circle", {
1040
+ fill: `url(#hollow_gradient_${m.value})`
1041
+ }, null, 8, Ql))), 256)),
1042
+ (r(!0), i(g, null, _(e.fill.donut, (l, n) => (r(), i("circle", {
1031
1043
  class: "vue-ui-donut-arc-path",
1032
1044
  cx: l.cx,
1033
1045
  cy: l.cy,
1034
1046
  r: 14,
1035
1047
  fill: t.value.style.chart.backgroundColor
1036
- }, null, 8, Yl))), 256)),
1037
- (n(!0), i($, null, g(e.fill.donut, (l, a) => (n(), i("g", null, [
1038
- V(l, e.fill.donut, !0) > 6 ? (n(), i("g", Jl, [
1039
- r("text", {
1048
+ }, null, 8, eo))), 256)),
1049
+ (r(!0), i(g, null, _(e.fill.donut, (l, n) => (r(), i("g", null, [
1050
+ V(l, e.fill.donut, !0) > 6 ? (r(), i("g", to, [
1051
+ u("text", {
1040
1052
  "text-anchor": h(L)(l, !0, 0).anchor,
1041
1053
  x: h(L)(l, !0, 2).x,
1042
- y: h(te)(l, 12, 12),
1054
+ y: h(le)(l, 12, 12),
1043
1055
  fill: t.value.style.chart.legend.color,
1044
1056
  "font-size": t.value.style.chart.legend.fontSize / 1.5
1045
- }, M(V(l, e.fill.donut)) + " (" + M(h(ee)(
1057
+ }, M(V(l, e.fill.donut)) + " (" + M(h(te)(
1046
1058
  t.value.style.chart.dataLabel.formatter,
1047
1059
  l.value,
1048
- h(D)({
1060
+ h(S)({
1049
1061
  p: t.value.style.chart.legend.prefix,
1050
1062
  v: l.value,
1051
1063
  s: t.value.style.chart.legend.suffix,
1052
1064
  r: t.value.style.chart.legend.roundingValue
1053
1065
  }),
1054
- { datapoint: l, seriesIndex: a }
1055
- )) + ") ", 9, Kl),
1056
- r("text", {
1066
+ { datapoint: l, seriesIndex: n }
1067
+ )) + ") ", 9, lo),
1068
+ u("text", {
1057
1069
  "text-anchor": h(L)(l).anchor,
1058
1070
  x: h(L)(l, !0, 2).x,
1059
- y: h(te)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
1071
+ y: h(le)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
1060
1072
  fill: t.value.style.chart.legend.color,
1061
1073
  "font-size": t.value.style.chart.legend.fontSize / 1.5
1062
- }, M(l.name), 9, Ql)
1063
- ])) : k("", !0)
1074
+ }, M(l.name), 9, oo)
1075
+ ])) : y("", !0)
1064
1076
  ]))), 256))
1065
- ])) : k("", !0),
1066
- e.fill.miniDonut && !b.value ? (n(), i("g", eo, [
1067
- (n(!0), i($, null, g(e.fill.miniDonut, (l, a) => (n(), i("path", {
1077
+ ])) : y("", !0),
1078
+ e.fill.miniDonut && !x.value ? (r(), i("g", so, [
1079
+ (r(!0), i(g, null, _(e.fill.miniDonut, (l, n) => (r(), i("path", {
1068
1080
  class: "vue-ui-donut-arc-path",
1069
1081
  d: l.arcSlice,
1070
1082
  fill: `${l.color}`,
1071
1083
  stroke: t.value.style.chart.backgroundColor,
1072
1084
  "stroke-width": 0.5
1073
- }, null, 8, to))), 256))
1074
- ])) : k("", !0)
1075
- ], 12, Ol))), 256))
1076
- ])) : k("", !0)
1077
- ])) : k("", !0),
1078
- S(d.$slots, "svg", { svg: o.value }, void 0, !0)
1079
- ], 14, ot)) : k("", !0),
1080
- d.$slots.watermark ? (n(), i("div", lo, [
1081
- S(d.$slots, "watermark", R(Y({ isPrinting: h(ue) || h(ie) })), void 0, !0)
1082
- ])) : k("", !0),
1083
- Z.value ? k("", !0) : (n(), ae(Ke, {
1085
+ }, null, 8, ao))), 256))
1086
+ ])) : y("", !0)
1087
+ ], 12, Al))), 256))
1088
+ ])) : y("", !0)
1089
+ ])) : y("", !0),
1090
+ T(a.$slots, "svg", { svg: o.value }, void 0, !0)
1091
+ ], 14, rt)) : y("", !0),
1092
+ a.$slots.watermark ? (r(), i("div", no, [
1093
+ T(a.$slots, "watermark", Y(J({ isPrinting: h(ce) || h(he) })), void 0, !0)
1094
+ ])) : y("", !0),
1095
+ q.value ? y("", !0) : (r(), H(lt, {
1084
1096
  key: 4,
1085
1097
  config: {
1086
1098
  type: "bar3d",
@@ -1092,11 +1104,11 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
1092
1104
  }
1093
1105
  }
1094
1106
  }, null, 8, ["config"])),
1095
- Z.value && C.value ? (n(), ae(et, {
1107
+ q.value && C.value ? (r(), H(st, {
1096
1108
  key: 5,
1097
1109
  hideDetails: "",
1098
1110
  config: {
1099
- open: q.value.showTable,
1111
+ open: X.value.showTable,
1100
1112
  maxHeight: 1e4,
1101
1113
  body: {
1102
1114
  backgroundColor: t.value.style.chart.backgroundColor,
@@ -1109,31 +1121,32 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
1109
1121
  }
1110
1122
  }, {
1111
1123
  content: I(() => [
1112
- _e(Qe, {
1113
- colNames: X.value.colNames,
1114
- head: X.value.head,
1115
- body: X.value.body,
1116
- config: X.value.config,
1124
+ (r(), H(ot, {
1125
+ key: `table_${ie.value}`,
1126
+ colNames: R.value.colNames,
1127
+ head: R.value.head,
1128
+ body: R.value.body,
1129
+ config: R.value.config,
1117
1130
  title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
1118
- onClose: s[1] || (s[1] = (e) => q.value.showTable = !1)
1131
+ onClose: s[1] || (s[1] = (e) => X.value.showTable = !1)
1119
1132
  }, {
1120
1133
  th: I(({ th: e }) => [
1121
- r("div", {
1134
+ u("div", {
1122
1135
  innerHTML: e,
1123
1136
  style: { display: "flex", "align-items": "center" }
1124
- }, null, 8, oo)
1137
+ }, null, 8, ro)
1125
1138
  ]),
1126
1139
  td: I(({ td: e }) => [
1127
- Le(M(e.name || e), 1)
1140
+ Ve(M(e.name || e), 1)
1128
1141
  ]),
1129
1142
  _: 1
1130
- }, 8, ["colNames", "head", "body", "config", "title"])
1143
+ }, 8, ["colNames", "head", "body", "config", "title"]))
1131
1144
  ]),
1132
1145
  _: 1
1133
- }, 8, ["config"])) : k("", !0)
1134
- ], 12, lt));
1146
+ }, 8, ["config"])) : y("", !0)
1147
+ ], 12, nt));
1135
1148
  }
1136
- }, po = /* @__PURE__ */ tt(so, [["__scopeId", "data-v-06e93dd9"]]);
1149
+ }, go = /* @__PURE__ */ at(uo, [["__scopeId", "data-v-11451b65"]]);
1137
1150
  export {
1138
- po as default
1151
+ go as default
1139
1152
  };