vue-data-ui 2.3.84 → 2.3.86

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 (180) hide show
  1. package/dist/{Arrow-CQ1ubni5.js → Arrow-CJ7hmWgf.js} +1 -1
  2. package/dist/{Arrow-Uk_vwKtL.cjs → Arrow-CebZn6E4.cjs} +1 -1
  3. package/dist/{BaseIcon-B9ZZ6wkT.js → BaseIcon-B9istAKo.js} +1 -1
  4. package/dist/{BaseIcon-CF1HQdM0.cjs → BaseIcon-DnG75_Ol.cjs} +1 -1
  5. package/dist/{DataTable-CEtr89Og.cjs → DataTable-BA_BCbHC.cjs} +1 -1
  6. package/dist/{DataTable-C-iU_7h7.js → DataTable-tSDSY14n.js} +2 -2
  7. package/dist/{Legend-D2ZBCCXe.cjs → Legend-BOY57qwA.cjs} +1 -1
  8. package/dist/{Legend-pU_BwhaW.js → Legend-D3hovFqM.js} +1 -1
  9. package/dist/{Shape-BO_KyCq8.cjs → Shape-D6jrLLku.cjs} +1 -1
  10. package/dist/{Shape-CyM44biU.js → Shape-XiTBfhJM.js} +1 -1
  11. package/dist/{Slicer-CZobytqL.js → Slicer-BMvzmCKt.js} +2 -2
  12. package/dist/{Slicer-BAMZ4wsl.cjs → Slicer-sZ-DArc4.cjs} +1 -1
  13. package/dist/{Title-B1_d29Eh.cjs → Title-Ahj4TYHa.cjs} +1 -1
  14. package/dist/{Title-Bk3h09h9.js → Title-DJ2FNrSN.js} +1 -1
  15. package/dist/{Tooltip-CdB80DsD.js → Tooltip-CQpXRqRC.js} +1 -1
  16. package/dist/{Tooltip-BU4cSEF0.cjs → Tooltip-XhevgJmm.cjs} +1 -1
  17. package/dist/index-CVgBMJU6.cjs +4 -0
  18. package/dist/{index-DI4DaxVG.js → index-D2epy0rJ.js} +4 -1
  19. package/dist/style.css +1 -1
  20. package/dist/types/vue-data-ui.d.cts +3 -0
  21. package/dist/types/vue-data-ui.d.ts +3 -0
  22. package/dist/{useNestedProp-BdsfyHWU.cjs → useNestedProp-B-NmF2LO.cjs} +1 -1
  23. package/dist/{useNestedProp-COsQo-tX.js → useNestedProp-C_ZrJBd9.js} +1 -1
  24. package/dist/usePrinter-B6qtXaHk.js +527 -0
  25. package/dist/usePrinter-DN-6Hoh5.cjs +1 -0
  26. package/dist/{vue-data-ui-kGaLyV0o.cjs → vue-data-ui-DlNasA0G.cjs} +1 -1
  27. package/dist/{vue-data-ui-9nofTL7J.js → vue-data-ui-vegY0BJm.js} +57 -57
  28. package/dist/vue-data-ui.cjs +1 -1
  29. package/dist/vue-data-ui.js +1 -1
  30. package/dist/vue-ui-3d-bar-CqRRjlUU.cjs +19 -0
  31. package/dist/{vue-ui-3d-bar-lKgwKkVj.js → vue-ui-3d-bar-D-0SSMOt.js} +165 -164
  32. package/dist/{vue-ui-accordion-C8ka_Ot0.cjs → vue-ui-accordion-BaV9R6cy.cjs} +1 -1
  33. package/dist/{vue-ui-accordion-DsN9lxvc.js → vue-ui-accordion-DzTB2FL0.js} +3 -3
  34. package/dist/vue-ui-age-pyramid-Bx4BuL3K.cjs +1 -0
  35. package/dist/{vue-ui-age-pyramid-D2lSXDX6.js → vue-ui-age-pyramid-_eo2DGen.js} +68 -67
  36. package/dist/{vue-ui-annotator-DoLG0N5e.js → vue-ui-annotator-8j2dJ0CU.js} +1 -1
  37. package/dist/{vue-ui-annotator-DmfAqbqB.cjs → vue-ui-annotator-CDZtr6tp.cjs} +1 -1
  38. package/dist/{vue-ui-candlestick-vhHV9d6O.js → vue-ui-candlestick-CsF7OSvJ.js} +83 -82
  39. package/dist/vue-ui-candlestick-NypxP0Uu.cjs +2 -0
  40. package/dist/{vue-ui-carousel-table-BmyArloA.js → vue-ui-carousel-table-CMHd2i-6.js} +7 -7
  41. package/dist/{vue-ui-carousel-table-DaQV2SlJ.cjs → vue-ui-carousel-table-CV0eVeRd.cjs} +1 -1
  42. package/dist/{vue-ui-chestnut-DvNW2Y0z.cjs → vue-ui-chestnut-B9miwyAN.cjs} +2 -2
  43. package/dist/{vue-ui-chestnut-DgbbDtL0.js → vue-ui-chestnut-CVftKftk.js} +11 -10
  44. package/dist/{vue-ui-cursor-zXDNHCZv.cjs → vue-ui-cursor-Bsrt107X.cjs} +1 -1
  45. package/dist/{vue-ui-cursor-7-jKCnOY.js → vue-ui-cursor-wujy8n_T.js} +2 -2
  46. package/dist/{vue-ui-dashboard-DMossMh1.cjs → vue-ui-dashboard-BCN0BhjL.cjs} +1 -1
  47. package/dist/{vue-ui-dashboard-B_pnIQ5P.js → vue-ui-dashboard-Cvy0gI52.js} +2 -2
  48. package/dist/{vue-ui-digits-BL8Vyod-.cjs → vue-ui-digits-CnHgzHPI.cjs} +1 -1
  49. package/dist/{vue-ui-digits-C-lpZ-rg.js → vue-ui-digits-J-WrKKHg.js} +2 -2
  50. package/dist/{vue-ui-donut-e-p-l-_7.js → vue-ui-donut-BOhWcHY_.js} +91 -90
  51. package/dist/vue-ui-donut-CZ1iKZq6.cjs +1 -0
  52. package/dist/{vue-ui-donut-evolution-Ol1YS2OF.js → vue-ui-donut-evolution-CSSYuoti.js} +83 -82
  53. package/dist/vue-ui-donut-evolution-DuY2883r.cjs +1 -0
  54. package/dist/{vue-ui-dumbbell-BjTXdj83.js → vue-ui-dumbbell-Cm0Rp_6W.js} +23 -22
  55. package/dist/{vue-ui-dumbbell-CMFNfda1.cjs → vue-ui-dumbbell-i9QcsSVO.cjs} +2 -2
  56. package/dist/{vue-ui-flow-B4mdXrld.js → vue-ui-flow-0m7a1NP7.js} +54 -53
  57. package/dist/vue-ui-flow-DXCBGdQT.cjs +1 -0
  58. package/dist/vue-ui-galaxy-D6GyjAnX.cjs +1 -0
  59. package/dist/{vue-ui-galaxy-Eg1e5SG7.js → vue-ui-galaxy-DCHEdZAl.js} +87 -86
  60. package/dist/{vue-ui-gauge-BTt63SCn.js → vue-ui-gauge-HcM2JJpg.js} +78 -77
  61. package/dist/vue-ui-gauge-wbHQGQro.cjs +1 -0
  62. package/dist/{vue-ui-gizmo-bFlUFJa8.cjs → vue-ui-gizmo-B-zMyi1m.cjs} +1 -1
  63. package/dist/{vue-ui-gizmo-C0aF0qVF.js → vue-ui-gizmo-Bfo_nUnZ.js} +2 -2
  64. package/dist/{vue-ui-heatmap-kiVWYvjC.js → vue-ui-heatmap-CxIHmv0t.js} +170 -169
  65. package/dist/vue-ui-heatmap-Du2vI5Ae.cjs +1 -0
  66. package/dist/{vue-ui-kpi-qw5ofS-z.cjs → vue-ui-kpi-BOe7-M9V.cjs} +1 -1
  67. package/dist/{vue-ui-kpi-DdtZLwfi.js → vue-ui-kpi-DibULfkp.js} +3 -3
  68. package/dist/{vue-ui-mini-loader-B8YrB3X-.cjs → vue-ui-mini-loader-Bv7l-Kx3.cjs} +1 -1
  69. package/dist/{vue-ui-mini-loader-DcL5v-Tv.js → vue-ui-mini-loader-qFRhERid.js} +2 -2
  70. package/dist/{vue-ui-molecule-BpomHzqe.js → vue-ui-molecule-4cIGPnWg.js} +282 -278
  71. package/dist/vue-ui-molecule-eOj3ZjvT.cjs +1 -0
  72. package/dist/{vue-ui-mood-radar-BV9xC9xF.js → vue-ui-mood-radar-BTe21WKk.js} +144 -143
  73. package/dist/vue-ui-mood-radar-tUFqqekd.cjs +1 -0
  74. package/dist/{vue-ui-nested-donuts-D7D20nJu.js → vue-ui-nested-donuts-BVzabOga.js} +65 -64
  75. package/dist/vue-ui-nested-donuts-BigBLrFR.cjs +17 -0
  76. package/dist/{vue-ui-onion-4wR10l5H.js → vue-ui-onion-C3TAKqro.js} +90 -89
  77. package/dist/vue-ui-onion-_ZC3vbIS.cjs +5 -0
  78. package/dist/vue-ui-parallel-coordinate-plot-BiXGkfj7.cjs +8 -0
  79. package/dist/{vue-ui-parallel-coordinate-plot-DA3byJV2.js → vue-ui-parallel-coordinate-plot-CKoCQXqj.js} +40 -39
  80. package/dist/vue-ui-quadrant-B67wGTic.cjs +1 -0
  81. package/dist/{vue-ui-quadrant-D5wvd5h3.js → vue-ui-quadrant-CKnyfJoi.js} +51 -50
  82. package/dist/vue-ui-quick-chart-DEjdx0AB.cjs +15 -0
  83. package/dist/{vue-ui-quick-chart-CTSq5JJE.js → vue-ui-quick-chart-DZDYYnsI.js} +63 -62
  84. package/dist/vue-ui-radar-Cm_QkYGb.cjs +1 -0
  85. package/dist/{vue-ui-radar-OW6awckj.js → vue-ui-radar-v9yayJxu.js} +44 -43
  86. package/dist/{vue-ui-rating-C6gyJWJF.js → vue-ui-rating-Cc_N7qbe.js} +2 -2
  87. package/dist/{vue-ui-rating-3ZVG38br.cjs → vue-ui-rating-DV4cCZbB.cjs} +1 -1
  88. package/dist/{vue-ui-relation-circle-Dr9-ozKG.js → vue-ui-relation-circle-Clqo4kkb.js} +74 -73
  89. package/dist/vue-ui-relation-circle-DcpIVbI6.cjs +1 -0
  90. package/dist/{vue-ui-rings-Ce6tFKrN.js → vue-ui-rings-D27xNq9q.js} +78 -77
  91. package/dist/vue-ui-rings-DTn3t8Ku.cjs +2 -0
  92. package/dist/{vue-ui-scatter-C_3WQPMf.js → vue-ui-scatter-C07Mon-6.js} +53 -52
  93. package/dist/vue-ui-scatter-CXbrqLFm.cjs +1 -0
  94. package/dist/{vue-ui-screenshot-BvE2dsvU.js → vue-ui-screenshot-CsxqbqlJ.js} +1 -1
  95. package/dist/{vue-ui-screenshot-D6N4GbAL.cjs → vue-ui-screenshot-D8TAvQYN.cjs} +1 -1
  96. package/dist/{vue-ui-skeleton-DH4t1hrL.js → vue-ui-skeleton-BLiYyX95.js} +2 -2
  97. package/dist/{vue-ui-skeleton-CkSlhfsB.cjs → vue-ui-skeleton-Br1K3exH.cjs} +1 -1
  98. package/dist/{vue-ui-smiley-C-92SyPZ.js → vue-ui-smiley-BUHatT3Z.js} +2 -2
  99. package/dist/{vue-ui-smiley-CSA28QLT.cjs → vue-ui-smiley-CR_TkSYT.cjs} +1 -1
  100. package/dist/vue-ui-spark-trend-CnUz6s1m.cjs +1 -0
  101. package/dist/{vue-ui-spark-trend-CrElvUcG.js → vue-ui-spark-trend-GY2CfYRt.js} +29 -29
  102. package/dist/vue-ui-sparkbar-DaFwUA6Z.cjs +1 -0
  103. package/dist/{vue-ui-sparkbar-DrbkUcOX.js → vue-ui-sparkbar-tdgek1gv.js} +27 -27
  104. package/dist/{vue-ui-sparkgauge-PSRf_u0V.js → vue-ui-sparkgauge-1zu5KmTA.js} +22 -22
  105. package/dist/vue-ui-sparkgauge-D8P01Hem.cjs +1 -0
  106. package/dist/{vue-ui-sparkhistogram-pZslBri7.js → vue-ui-sparkhistogram-b68QStxA.js} +52 -52
  107. package/dist/vue-ui-sparkhistogram-mg6yuwLH.cjs +1 -0
  108. package/dist/{vue-ui-sparkline-CqgArzCs.cjs → vue-ui-sparkline-CAqav9Gn.cjs} +1 -1
  109. package/dist/{vue-ui-sparkline-BPExupWx.js → vue-ui-sparkline-CMmtp8MK.js} +3 -3
  110. package/dist/{vue-ui-sparkstackbar-i02y9FzO.js → vue-ui-sparkstackbar-Cz8tOM3m.js} +6 -6
  111. package/dist/vue-ui-sparkstackbar-DOrquZvw.cjs +1 -0
  112. package/dist/vue-ui-stackbar-DUa5F_Zl.cjs +6 -0
  113. package/dist/{vue-ui-stackbar-DfXxN_P3.js → vue-ui-stackbar-DeQkP1dj.js} +64 -63
  114. package/dist/vue-ui-strip-plot-KNL9ToYG.cjs +1 -0
  115. package/dist/{vue-ui-strip-plot-BZ-we0b1.js → vue-ui-strip-plot-vqOCzdFV.js} +73 -72
  116. package/dist/{vue-ui-table-Dy26T2oy.cjs → vue-ui-table-BCdHNku5.cjs} +1 -1
  117. package/dist/{vue-ui-table-BqLbMTHt.js → vue-ui-table-DDdVqdHt.js} +1 -1
  118. package/dist/vue-ui-table-heatmap-BJDnZMZN.cjs +1 -0
  119. package/dist/{vue-ui-table-heatmap-KzoqT8nX.js → vue-ui-table-heatmap-DQg_jtYq.js} +27 -26
  120. package/dist/{vue-ui-table-sparkline-BakiSjV4.js → vue-ui-table-sparkline-Bg-VFq7X.js} +25 -24
  121. package/dist/{vue-ui-table-sparkline-BBEsDDnN.cjs → vue-ui-table-sparkline-D8DJxb5J.cjs} +1 -1
  122. package/dist/{vue-ui-thermometer-D7cgRJoy.js → vue-ui-thermometer-CajBbbYc.js} +60 -59
  123. package/dist/vue-ui-thermometer-eYM8DX7u.cjs +1 -0
  124. package/dist/{vue-ui-timer-r4VFny9D.js → vue-ui-timer-D3VRVK-8.js} +4 -4
  125. package/dist/{vue-ui-timer-COLXZ1J1.cjs → vue-ui-timer-RclP4Tql.cjs} +1 -1
  126. package/dist/{vue-ui-tiremarks-DNQpuz8A.js → vue-ui-tiremarks-BT0k_3xi.js} +93 -92
  127. package/dist/vue-ui-tiremarks-Bc8bBBAw.cjs +1 -0
  128. package/dist/{vue-ui-treemap-CsHaQjwu.cjs → vue-ui-treemap-BjWDt2b2.cjs} +1 -1
  129. package/dist/{vue-ui-treemap-CD5GoXrU.js → vue-ui-treemap-DMhe3zCm.js} +14 -13
  130. package/dist/vue-ui-vertical-bar-DWzafNBH.cjs +4 -0
  131. package/dist/{vue-ui-vertical-bar-DRH98pOw.js → vue-ui-vertical-bar-hH9R9V-K.js} +180 -179
  132. package/dist/vue-ui-waffle-BvYE9hAY.cjs +1 -0
  133. package/dist/{vue-ui-waffle-l9NGD_0B.js → vue-ui-waffle-DnNd6Iba.js} +85 -84
  134. package/dist/{vue-ui-wheel-BpqWo_KY.js → vue-ui-wheel-Bx9_m-7W.js} +72 -71
  135. package/dist/vue-ui-wheel-CVBmY6h7.cjs +1 -0
  136. package/dist/vue-ui-word-cloud-3R-mYkIW.cjs +1 -0
  137. package/dist/{vue-ui-word-cloud-DLaAm8t8.js → vue-ui-word-cloud-DUk0Xt8q.js} +109 -108
  138. package/dist/{vue-ui-xy-Ct-9OxiZ.js → vue-ui-xy-FtaqoNK8.js} +401 -405
  139. package/dist/{vue-ui-xy-canvas-BU3nj2M1.js → vue-ui-xy-canvas-Bp4PTl_E.js} +54 -53
  140. package/dist/{vue-ui-xy-canvas-Bub1qCm9.cjs → vue-ui-xy-canvas-Ctw_3PzN.cjs} +2 -2
  141. package/dist/vue-ui-xy-rX-aml0b.cjs +3 -0
  142. package/package.json +1 -1
  143. package/dist/index-Cx-40Fnz.cjs +0 -4
  144. package/dist/usePrinter-D9bNzUQP.js +0 -513
  145. package/dist/usePrinter-DbhL59iY.cjs +0 -1
  146. package/dist/vue-ui-3d-bar-1aTroDle.cjs +0 -19
  147. package/dist/vue-ui-age-pyramid-D8Tr8jvT.cjs +0 -1
  148. package/dist/vue-ui-candlestick-BAuWAMct.cjs +0 -2
  149. package/dist/vue-ui-donut-evolution-DsdzjA88.cjs +0 -1
  150. package/dist/vue-ui-donut-w1eqaTu0.cjs +0 -1
  151. package/dist/vue-ui-flow-oBnzNN4s.cjs +0 -1
  152. package/dist/vue-ui-galaxy-DgxKqf6u.cjs +0 -1
  153. package/dist/vue-ui-gauge-B64pcc54.cjs +0 -1
  154. package/dist/vue-ui-heatmap-cjY0mi4a.cjs +0 -1
  155. package/dist/vue-ui-molecule-B8cYtnHq.cjs +0 -1
  156. package/dist/vue-ui-mood-radar-BA2VVPO5.cjs +0 -1
  157. package/dist/vue-ui-nested-donuts-C3CMWjgk.cjs +0 -17
  158. package/dist/vue-ui-onion-CVp0g8MP.cjs +0 -5
  159. package/dist/vue-ui-parallel-coordinate-plot-CmaHQR6-.cjs +0 -8
  160. package/dist/vue-ui-quadrant-B8ffMNIS.cjs +0 -1
  161. package/dist/vue-ui-quick-chart-hnVT9GKL.cjs +0 -15
  162. package/dist/vue-ui-radar-ySl7KzoX.cjs +0 -1
  163. package/dist/vue-ui-relation-circle-CMW26dvv.cjs +0 -1
  164. package/dist/vue-ui-rings-CR1t6iss.cjs +0 -2
  165. package/dist/vue-ui-scatter-CKtgbptk.cjs +0 -1
  166. package/dist/vue-ui-spark-trend-D4d4Mr24.cjs +0 -1
  167. package/dist/vue-ui-sparkbar-DDqy0UBm.cjs +0 -1
  168. package/dist/vue-ui-sparkgauge-D6cG2rb8.cjs +0 -1
  169. package/dist/vue-ui-sparkhistogram-B9sVdLfh.cjs +0 -1
  170. package/dist/vue-ui-sparkstackbar-BbGJ75_9.cjs +0 -1
  171. package/dist/vue-ui-stackbar-CRbcnnwn.cjs +0 -6
  172. package/dist/vue-ui-strip-plot-oZBXDxc-.cjs +0 -1
  173. package/dist/vue-ui-table-heatmap-BnwiB4id.cjs +0 -1
  174. package/dist/vue-ui-thermometer-E0mrvP4G.cjs +0 -1
  175. package/dist/vue-ui-tiremarks-C15sglnJ.cjs +0 -1
  176. package/dist/vue-ui-vertical-bar-DucujxOR.cjs +0 -4
  177. package/dist/vue-ui-waffle-DhroAZB3.cjs +0 -1
  178. package/dist/vue-ui-wheel-Bd87HcGT.cjs +0 -1
  179. package/dist/vue-ui-word-cloud-D5JLdr9g.cjs +0 -1
  180. package/dist/vue-ui-xy-BHzOpYm9.cjs +0 -3
@@ -1,15 +1,15 @@
1
- import { computed as m, ref as h, watch as Ye, onMounted as Ge, onBeforeUnmount as Qe, openBlock as o, createElementBlock as n, normalizeClass as T, normalizeStyle as L, createBlock as P, createCommentVNode as c, unref as y, createSlots as Je, withCtx as k, renderSlot as q, normalizeProps as ee, guardReactiveProps as te, createElementVNode as v, Fragment as S, renderList as Y, toDisplayString as x, createVNode as Me, createTextVNode as je, nextTick as Ze } from "vue";
2
- import { u as Ke, c as Ne, t as et, a as tt, p as re, o as lt, e as F, b as at, d as ut, i as A, f as V, X as ot, s as le, w as st, S as rt, F as nt, x as it, y as vt, q as dt, r as ct } from "./index-DI4DaxVG.js";
1
+ import { computed as m, ref as h, watch as Ye, onMounted as Ge, onBeforeUnmount as Qe, openBlock as o, createElementBlock as n, normalizeClass as T, normalizeStyle as _, createBlock as P, createCommentVNode as c, unref as y, createSlots as Je, withCtx as k, renderSlot as q, normalizeProps as ee, guardReactiveProps as te, createElementVNode as v, Fragment as S, renderList as Y, toDisplayString as x, createVNode as Me, createTextVNode as je, nextTick as Ze } from "vue";
2
+ import { u as Ke, c as Ne, t as et, a as tt, p as re, o as lt, e as F, b as at, d as ut, i as A, f as V, X as ot, s as le, w as st, S as rt, F as nt, x as it, y as vt, q as dt, r as ct } from "./index-D2epy0rJ.js";
3
3
  import { t as ht, u as yt } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as bt } from "./Title-Bk3h09h9.js";
5
- import { u as ft, U as pt } from "./usePrinter-D9bNzUQP.js";
6
- import { _ as gt } from "./Tooltip-CdB80DsD.js";
7
- import { _ as Ae } from "./Shape-CyM44biU.js";
8
- import { L as mt } from "./Legend-pU_BwhaW.js";
9
- import { D as xt } from "./DataTable-C-iU_7h7.js";
10
- import $t from "./vue-ui-skeleton-DH4t1hrL.js";
11
- import kt from "./vue-ui-accordion-DsN9lxvc.js";
12
- import { u as Ve } from "./useNestedProp-COsQo-tX.js";
4
+ import { _ as bt } from "./Title-DJ2FNrSN.js";
5
+ import { u as ft, U as pt } from "./usePrinter-B6qtXaHk.js";
6
+ import { _ as gt } from "./Tooltip-CQpXRqRC.js";
7
+ import { _ as Ae } from "./Shape-XiTBfhJM.js";
8
+ import { L as mt } from "./Legend-D3hovFqM.js";
9
+ import { D as xt } from "./DataTable-tSDSY14n.js";
10
+ import $t from "./vue-ui-skeleton-BLiYyX95.js";
11
+ import kt from "./vue-ui-accordion-DzTB2FL0.js";
12
+ import { u as Ve } from "./useNestedProp-C_ZrJBd9.js";
13
13
  import { _ as Lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
14
  const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-color"], Ct = ["stop-color"], zt = { key: 0 }, Tt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], Wt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Xt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Yt = { key: 1 }, Mt = ["points", "fill"], Nt = ["points", "fill"], At = ["points", "fill"], Vt = ["points", "fill"], Bt = { key: 2 }, Pt = ["y", "fill", "font-size"], Rt = ["x", "y", "fill", "font-size"], Ft = ["x", "y", "fill", "font-size"], Ot = ["y", "fill", "font-size"], Ht = { key: 3 }, It = ["x", "y", "font-size", "fill"], Dt = ["x", "y", "font-size", "fill"], Et = ["x", "y", "font-size", "fill"], Ut = ["id", "font-size", "transform", "fill"], Gt = ["id", "font-size", "transform", "fill"], Qt = ["id", "font-size", "transform", "fill"], Jt = { key: 4 }, jt = ["fill", "points"], Zt = ["x", "y", "width", "height"], Kt = ["x", "y", "width", "height"], el = ["x", "y", "width", "height"], tl = ["x", "y", "width", "height"], ll = { key: 0 }, al = ["x", "y", "font-size", "fill"], ul = { key: 0 }, ol = ["x", "y", "onMouseover", "onClick"], sl = {
15
15
  key: 7,
@@ -105,7 +105,7 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
105
105
  const { isPrinting: fe, isImaging: pe, generatePdf: ge, generateImage: me } = ft({
106
106
  elementId: `vue-ui-quadrant_${z.value}`,
107
107
  fileName: t.value.style.chart.title.text || "vue-ui-quadrant"
108
- }), xe = m(() => at(t.value.customPalette)), w = h({
108
+ }), xe = m(() => at(t.value.customPalette)), L = h({
109
109
  plotLabels: {
110
110
  show: t.value.style.chart.layout.labels.plotLabels.show
111
111
  },
@@ -256,7 +256,7 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
256
256
  opacity: Math.round((r + 1) / l * 20)
257
257
  });
258
258
  return s;
259
- }), _ = m(() => {
259
+ }), w = m(() => {
260
260
  let l = t.value.style.chart.layout.grid.xAxis.max, u = t.value.style.chart.layout.grid.xAxis.min, a = t.value.style.chart.layout.grid.yAxis.max, s = t.value.style.chart.layout.grid.yAxis.min;
261
261
  return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...R.value.flatMap((r) => r.series.map((b) => b.x))), u = Math.min(...R.value.flatMap((r) => r.series.map((b) => b.x)))), t.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...R.value.flatMap((r) => r.series.map((b) => b.y))), s = Math.min(...R.value.flatMap((r) => r.series.map((b) => b.y)))), {
262
262
  x: {
@@ -321,19 +321,19 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
321
321
  }))));
322
322
  function $e(l) {
323
323
  if (l >= 0) {
324
- const u = l / _.value.x.max;
324
+ const u = l / w.value.x.max;
325
325
  return e.value.centerX + e.value.usableWidth / 2 * u;
326
326
  } else {
327
- const u = Math.abs(l) / Math.abs(_.value.x.min);
327
+ const u = Math.abs(l) / Math.abs(w.value.x.min);
328
328
  return e.value.centerX - e.value.usableWidth / 2 * u;
329
329
  }
330
330
  }
331
331
  function ke(l) {
332
332
  if (l >= 0) {
333
- const u = l / _.value.y.max;
333
+ const u = l / w.value.y.max;
334
334
  return e.value.centerY + (1 - e.value.usableHeight / 2 * u);
335
335
  } else {
336
- const u = Math.abs(l) / Math.abs(_.value.y.min);
336
+ const u = Math.abs(l) / Math.abs(w.value.y.min);
337
337
  return e.value.centerY - (1 - e.value.usableHeight / 2 * u);
338
338
  }
339
339
  }
@@ -629,13 +629,13 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
629
629
  U.value = l, ne.value += 1;
630
630
  }
631
631
  function ze() {
632
- w.value.showTable = !w.value.showTable;
632
+ L.value.showTable = !L.value.showTable;
633
633
  }
634
634
  function Te() {
635
- w.value.plotLabels.show = !w.value.plotLabels.show;
635
+ L.value.plotLabels.show = !L.value.plotLabels.show;
636
636
  }
637
637
  function We() {
638
- w.value.showTooltip = !w.value.showTooltip;
638
+ L.value.showTooltip = !L.value.showTooltip;
639
639
  }
640
640
  return Pe({
641
641
  getData: Se,
@@ -650,13 +650,13 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
650
650
  ref_key: "quadrantChart",
651
651
  ref: O,
652
652
  id: `vue-ui-quadrant_${z.value}`,
653
- style: L(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;${t.value.style.chart.title.text ? "" : "padding-top: 36px"};background:${t.value.style.chart.backgroundColor};${t.value.responsive ? "height: 100%" : ""}`)
653
+ style: _(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;${t.value.style.chart.title.text ? "" : "padding-top: 36px"};background:${t.value.style.chart.backgroundColor};${t.value.responsive ? "height: 100%" : ""}`)
654
654
  }, [
655
655
  t.value.style.chart.title.text ? (o(), n("div", {
656
656
  key: 0,
657
657
  ref_key: "chartTitle",
658
658
  ref: ie,
659
- style: L(`width:100%;background:${t.value.style.chart.backgroundColor};padding-bottom:12px`)
659
+ style: "width:100%;background:transparent;padding-bottom:12px"
660
660
  }, [
661
661
  (o(), P(bt, {
662
662
  key: `table_${de.value}`,
@@ -671,7 +671,7 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
671
671
  }
672
672
  }
673
673
  }, null, 8, ["config"]))
674
- ], 4)) : c("", !0),
674
+ ], 512)) : c("", !0),
675
675
  t.value.userOptions.show && G.value ? (o(), P(pt, {
676
676
  ref_key: "details",
677
677
  ref: Fe,
@@ -689,9 +689,10 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
689
689
  hasLabel: t.value.userOptions.buttons.labels,
690
690
  hasFullscreen: t.value.userOptions.buttons.fullscreen,
691
691
  isFullscreen: U.value,
692
- isTooltip: w.value.showTooltip,
692
+ isTooltip: L.value.showTooltip,
693
693
  titles: { ...t.value.userOptions.buttonTitles },
694
694
  chartElement: O.value,
695
+ position: t.value.userOptions.position,
695
696
  onToggleFullscreen: Ue,
696
697
  onGeneratePdf: y(ge),
697
698
  onGenerateCsv: Ce,
@@ -749,13 +750,13 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
749
750
  ]),
750
751
  key: "6"
751
752
  } : void 0
752
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
753
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
753
754
  G.value ? (o(), n("svg", {
754
755
  key: 2,
755
756
  xmlns: y(ot),
756
757
  class: T({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
757
758
  viewBox: `${d.value.startX} ${d.value.startY} ${d.value.width} ${d.value.height}`,
758
- style: L(`max-width:100%;overflow:${p.value ? "hidden" : "visible"};background:${t.value.style.chart.backgroundColor};color:${t.value.style.chart.color}`),
759
+ style: _(`max-width:100%;overflow:${p.value ? "hidden" : "visible"};background:transparent;color:${t.value.style.chart.color}`),
759
760
  id: `svg_${z.value}`
760
761
  }, [
761
762
  v("defs", null, [
@@ -835,7 +836,7 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
835
836
  "text-anchor": "start",
836
837
  fill: t.value.style.chart.layout.labels.quadrantLabels.tl.color,
837
838
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
838
- style: L(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
839
+ style: _(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
839
840
  onClick: u[0] || (u[0] = (a) => E("tl"))
840
841
  }, x(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, Pt)) : c("", !0),
841
842
  t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (o(), n("text", {
@@ -845,7 +846,7 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
845
846
  "text-anchor": "end",
846
847
  fill: t.value.style.chart.layout.labels.quadrantLabels.tr.color,
847
848
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
848
- style: L(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
849
+ style: _(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
849
850
  onClick: u[1] || (u[1] = (a) => E("tr"))
850
851
  }, x(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, Rt)) : c("", !0),
851
852
  t.value.style.chart.layout.labels.quadrantLabels.br.text ? (o(), n("text", {
@@ -855,7 +856,7 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
855
856
  "text-anchor": "end",
856
857
  fill: t.value.style.chart.layout.labels.quadrantLabels.br.color,
857
858
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
858
- style: L(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
859
+ style: _(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
859
860
  onClick: u[2] || (u[2] = (a) => E("br"))
860
861
  }, x(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, Ft)) : c("", !0),
861
862
  t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (o(), n("text", {
@@ -865,7 +866,7 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
865
866
  "text-anchor": "start",
866
867
  fill: t.value.style.chart.layout.labels.quadrantLabels.bl.color,
867
868
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
868
- style: L(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
869
+ style: _(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
869
870
  onClick: u[3] || (u[3] = (a) => E("bl"))
870
871
  }, x(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, Ot)) : c("", !0)
871
872
  ])) : c("", !0),
@@ -878,9 +879,9 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
878
879
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
879
880
  }, x(y(A)(
880
881
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
881
- _.value.y.max,
882
+ w.value.y.max,
882
883
  y(V)({
883
- v: _.value.y.max,
884
+ v: w.value.y.max,
884
885
  r: t.value.style.chart.layout.labels.plotLabels.rounding
885
886
  })
886
887
  )), 9, It),
@@ -899,9 +900,9 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
899
900
  fill: t.value.style.chart.layout.labels.axisLabels.color.negative
900
901
  }, x(y(A)(
901
902
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
902
- _.value.y.min,
903
+ w.value.y.min,
903
904
  y(V)({
904
- v: _.value.y.min,
905
+ v: w.value.y.min,
905
906
  r: t.value.style.chart.layout.labels.plotLabels.rounding
906
907
  })
907
908
  )), 9, Et),
@@ -913,9 +914,9 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
913
914
  fill: t.value.style.chart.layout.labels.axisLabels.color.negative
914
915
  }, x(y(A)(
915
916
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
916
- _.value.x.min,
917
+ w.value.x.min,
917
918
  y(V)({
918
- v: _.value.x.min,
919
+ v: w.value.x.min,
919
920
  r: t.value.style.chart.layout.labels.plotLabels.rounding
920
921
  })
921
922
  )), 9, Ut),
@@ -927,9 +928,9 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
927
928
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
928
929
  }, x(y(A)(
929
930
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
930
- _.value.x.max,
931
+ w.value.x.max,
931
932
  y(V)({
932
- v: _.value.x.max,
933
+ v: w.value.x.max,
933
934
  r: t.value.style.chart.layout.labels.plotLabels.rounding
934
935
  })
935
936
  )), 9, Gt),
@@ -990,7 +991,7 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
990
991
  }, null, 10, tl)
991
992
  ]),
992
993
  t.value.style.chart.layout.labels.plotLabels.showAsTag ? (o(), n(S, { key: 6 }, [
993
- w.value.plotLabels.show ? (o(), n("g", ul, [
994
+ L.value.plotLabels.show ? (o(), n("g", ul, [
994
995
  (o(!0), n(S, null, Y(C.value, (a, s) => (o(), n(S, null, [
995
996
  (o(!0), n(S, null, Y(a.series, (r) => (o(), n("foreignObject", {
996
997
  style: { overflow: "visible" },
@@ -1005,7 +1006,7 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
1005
1006
  onClick: (b) => qe(a, r)
1006
1007
  }, [
1007
1008
  v("div", {
1008
- style: L(`color:${y(nt)(a.color)};margin: 0 auto; font-size:${t.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${a.color}; padding: 2px 4px; border-radius: 12px; height: ${t.value.style.chart.layout.labels.plotLabels.fontSize * 1.5}px`)
1009
+ style: _(`color:${y(nt)(a.color)};margin: 0 auto; font-size:${t.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${a.color}; padding: 2px 4px; border-radius: 12px; height: ${t.value.style.chart.layout.labels.plotLabels.fontSize * 1.5}px`)
1009
1010
  }, x(r.name), 5)
1010
1011
  ], 40, ol))), 256))
1011
1012
  ], 64))), 256))
@@ -1027,7 +1028,7 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
1027
1028
  onClick: (b) => qe(a, r)
1028
1029
  }, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseover", "onClick"]))), 256))
1029
1030
  ]))), 256)),
1030
- w.value.plotLabels.show ? (o(), n("g", ll, [
1031
+ L.value.plotLabels.show ? (o(), n("g", ll, [
1031
1032
  (o(!0), n(S, null, Y(C.value, (a) => (o(), n("g", null, [
1032
1033
  (o(!0), n(S, null, Y(a.series, (s) => (o(), n("text", {
1033
1034
  x: s.x,
@@ -1082,7 +1083,7 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
1082
1083
  height: "20",
1083
1084
  width: "20",
1084
1085
  fill: $.value[i.value].tl.fill,
1085
- style: L(`cursor: pointer; opacity: ${i.value === "TL" ? 1 : 0.2}`),
1086
+ style: _(`cursor: pointer; opacity: ${i.value === "TL" ? 1 : 0.2}`),
1086
1087
  onClick: u[10] || (u[10] = (a) => M("TL")),
1087
1088
  class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": i.value !== "TL" })
1088
1089
  }, null, 14, yl),
@@ -1092,7 +1093,7 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
1092
1093
  height: "20",
1093
1094
  width: "20",
1094
1095
  fill: $.value[i.value].tr.fill,
1095
- style: L(`cursor: pointer; opacity: ${i.value === "TR" ? 1 : 0.2}`),
1096
+ style: _(`cursor: pointer; opacity: ${i.value === "TR" ? 1 : 0.2}`),
1096
1097
  onClick: u[11] || (u[11] = (a) => M("TR")),
1097
1098
  class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": i.value !== "TR" })
1098
1099
  }, null, 14, bl),
@@ -1102,7 +1103,7 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
1102
1103
  height: "20",
1103
1104
  width: "20",
1104
1105
  fill: $.value[i.value].br.fill,
1105
- style: L(`cursor: pointer; opacity: ${i.value === "BR" ? 1 : 0.2}`),
1106
+ style: _(`cursor: pointer; opacity: ${i.value === "BR" ? 1 : 0.2}`),
1106
1107
  onClick: u[12] || (u[12] = (a) => M("BR")),
1107
1108
  class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": i.value !== "BR" })
1108
1109
  }, null, 14, fl),
@@ -1112,7 +1113,7 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
1112
1113
  height: "20",
1113
1114
  width: "20",
1114
1115
  fill: $.value[i.value].bl.fill,
1115
- style: L(`cursor: pointer; opacity: ${i.value === "BL" ? 1 : 0.2}`),
1116
+ style: _(`cursor: pointer; opacity: ${i.value === "BL" ? 1 : 0.2}`),
1116
1117
  onClick: u[13] || (u[13] = (a) => M("BL")),
1117
1118
  class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": i.value !== "BL" })
1118
1119
  }, null, 14, pl),
@@ -1166,7 +1167,7 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
1166
1167
  v("div", {
1167
1168
  "data-cy-legend-item": "",
1168
1169
  onClick: (s) => oe(a.id),
1169
- style: L(`opacity:${N.value.includes(a.id) ? 0.5 : 1}`)
1170
+ style: _(`opacity:${N.value.includes(a.id) ? 0.5 : 1}`)
1170
1171
  }, x(a.name), 13, $l)
1171
1172
  ]),
1172
1173
  _: 1
@@ -1176,7 +1177,7 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
1176
1177
  }, void 0, !0)
1177
1178
  ], 512),
1178
1179
  Me(gt, {
1179
- show: w.value.showTooltip && Q.value,
1180
+ show: L.value.showTooltip && Q.value,
1180
1181
  backgroundColor: t.value.style.chart.tooltip.backgroundColor,
1181
1182
  color: t.value.style.chart.tooltip.color,
1182
1183
  borderRadius: t.value.style.chart.tooltip.borderRadius,
@@ -1214,7 +1215,7 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
1214
1215
  key: 5,
1215
1216
  hideDetails: "",
1216
1217
  config: {
1217
- open: w.value.showTable,
1218
+ open: L.value.showTable,
1218
1219
  maxHeight: 1e4,
1219
1220
  body: {
1220
1221
  backgroundColor: t.value.style.chart.backgroundColor,
@@ -1234,7 +1235,7 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
1234
1235
  body: K.value.body,
1235
1236
  config: K.value.config,
1236
1237
  title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
1237
- onClose: u[15] || (u[15] = (a) => w.value.showTable = !1)
1238
+ onClose: u[15] || (u[15] = (a) => L.value.showTable = !1)
1238
1239
  }, {
1239
1240
  th: k(({ th: a }) => [
1240
1241
  je(x(a), 1)
@@ -1251,7 +1252,7 @@ const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-col
1251
1252
  }, 8, ["config"])) : c("", !0)
1252
1253
  ], 14, wt));
1253
1254
  }
1254
- }, Bl = /* @__PURE__ */ Lt(wl, [["__scopeId", "data-v-8da9ae95"]]);
1255
+ }, Bl = /* @__PURE__ */ Lt(wl, [["__scopeId", "data-v-707f6cc3"]]);
1255
1256
  export {
1256
1257
  Bl as default
1257
1258
  };
@@ -0,0 +1,15 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-CVgBMJU6.cjs"),xe=require("./useResponsive-B3TrDDIG.cjs"),ne=require("./BaseIcon-DnG75_Ol.cjs"),Pe=require("./Tooltip-XhevgJmm.cjs"),Se=require("./usePrinter-DN-6Hoh5.cjs"),Te=require("./Slicer-sZ-DArc4.cjs"),Re=require("./vue-ui-skeleton-Br1K3exH.cjs"),be=require("./useNestedProp-B-NmF2LO.cjs"),Ie=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),S={LINE:"LINE",BAR:"BAR",DONUT:"DONUT"},Oe=["SERIE","SERIES","DATA","VALUE","VALUES","NUM"];function De({dataset:s,barLineSwitch:B=6}){let h=null,L=null,z=0;if((typeof s=="number"||typeof s=="string")&&console.warn(`The provided dataset (${s}) is not sufficient to build a chart`),Q(s)&&(P(s)&&(s.length<B?h=S.BAR:h=S.LINE,L=s,z=s.length),re(s))){if(!Ue(s))return console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."),!1;const U=Object.keys(s[0]),j=Object.values(s[0]);if(!U.some(E=>qe(E)))return console.warn("The data type of the dataset objects in the array must contain one of the following keys: DATA, SERIES, VALUE, VALUES, NUM. Casing is not important."),!1;Be(j,E=>typeof E=="number")&&(h=S.DONUT,L=s),Be(j,E=>Array.isArray(E)&&P(E))&&(we(s)>B?h=S.LINE:h=S.BAR,z=we(s),L=s.map(E=>({...E,data:We(E,$=>P($))}))),s=s.map(E=>Ee(E)),L=L.map(E=>Ee(E))}return Q(s)&&[...new Set(s.flatMap(U=>Array.isArray(U)))][0],{dataset:s,type:h,usableDataset:L,maxSeriesLength:z}}function _e(s){return!s||Q(s)&&!s.length}function Q(s){return Array.isArray(s)}function P(s){if(!Q(s)||_e(s))return!1;const B=s.map(h=>Number(h));return![...new Set(B.flatMap(h=>typeof h=="number"&&!isNaN(h)))].includes(!1)}function re(s){return!Q(s)||_e(s)||!![...new Set(s.flatMap(h=>typeof h=="object"&&!Array.isArray(h)))].includes(!1)?!1:!s.map(h=>Object.keys(h).length>0).includes(!1)}function Me(s,B){const h=Object.keys(s).sort(),L=Object.keys(B).sort();if(h.length!==L.length)return!1;for(let z=0;z<h.length;z+=1){const F=h[z],M=L[z];if(F!==M||typeof s[F]!=typeof B[M])return!1}return!0}function Ue(s){if(s.length<=1)return!0;for(let B=0;B<s.length;B+=1)for(let h=B+1;h<s.length;h+=1)if(!Me(s[B],s[h]))return!1;return!0}function qe(s){return Oe.includes(s.toUpperCase())}function Be(s,B){let h=[];for(let L=0;L<s.length;L+=1)h.push(B(s[L]));return h.includes(!0)}function we(s){return Math.max(...[...s].flatMap(B=>Object.values(B).filter(h=>P(h)).map(h=>h.length)))}function We(s,B){return Object.values(s).filter(h=>B(h))[0]}function Ee(s){const B={};for(let h in s)s.hasOwnProperty(h)&&(B[h.toUpperCase()]=s[h]);return B}const Le=s=>(e.pushScopeId("data-v-1f3ccedc"),s=s(),e.popScopeId(),s),je=["id"],Ge=["xmlns","viewBox"],He=["id"],Xe=["id"],Ye=Le(()=>e.createElementVNode("feColorMatrix",{type:"saturate",values:"0"},null,-1)),Ze=["id"],Je=["flood-color"],Qe={key:0,class:"donut-label-connectors"},Ke=["d","stroke","stroke-width","filter"],et=["cx","cy","r","fill"],tt=["cx","cy","r","fill","filter"],lt={class:"donut"},at=["d","fill","stroke","stroke-width","filter"],ot=["d","onMouseenter","onClick"],nt={key:1,class:"donut-labels quick-animation"},rt=["cx","cy","fill","filter"],it=["text-anchor","x","y","fill","font-size","filter"],ut=["text-anchor","x","y","fill","font-size","filter"],st={key:2,class:"donut-hollow quick-animation"},ct=["x","y","font-size","fill"],dt=["x","y","font-size","fill"],vt={key:0,class:"line-grid"},mt=["x1","x2","y1","y2","stroke","stroke-width"],ht=["x1","x2","y1","y2","stroke","stroke-width"],ft={key:1,class:"line-axis"},pt=["x1","x2","y1","y2","stroke","stroke-width"],kt=["x1","x2","y1","y2","stroke","stroke-width"],gt={key:2,class:"yLabels"},yt=["x1","x2","y1","y2","stroke","stroke-width"],xt=["x","y","font-size","fill"],St={key:3,class:"periodLabels"},bt=["x1","x2","y1","y2","stroke","stroke-width"],Bt=["font-size","text-anchor","fill","transform"],wt={class:"plots"},Et={class:"line-plot-series"},_t=["d","stroke","stroke-width"],Lt=["d","stroke","stroke-width"],At=["d","stroke","stroke-width"],Ct=["d","stroke","stroke-width"],Nt=["cx","cy","fill","stroke"],zt={key:4,class:"dataLabels"},Vt=["font-size","fill","x","y"],Ft={class:"tooltip-traps"},$t=["x","y","height","width","fill","onMouseenter","onClick"],Pt={key:0,class:"line-grid"},Tt=["x1","x2","y1","y2","stroke","stroke-width"],Rt=["x1","x2","y1","y2","stroke","stroke-width"],It={key:1,class:"line-axis"},Ot=["x1","x2","y1","y2","stroke","stroke-width"],Dt=["x1","x2","y1","y2","stroke","stroke-width"],Mt={key:2,class:"yLabels"},Ut=["x1","x2","y1","y2","stroke","stroke-width"],qt=["x","y","font-size","fill"],Wt={key:3,class:"periodLabels"},jt=["x1","x2","y1","y2","stroke","stroke-width"],Gt=["font-size","text-anchor","transform","fill"],Ht={class:"plots"},Xt=["x","width","height","y","fill","stroke","stroke-width"],Yt=["to"],Zt=["from","to"],Jt={key:4,class:"dataLabels"},Qt=["x","y","font-size","fill"],Kt={class:"tooltip-traps"},el=["x","y","height","width","fill","onMouseenter","onClick"],tl={key:3,class:"axis-labels"},ll={key:0},al=["font-size","fill","x","y"],ol={key:1},nl=["font-size","fill","x","y"],rl={key:2},il=["font-size","fill","transform"],ul={key:3},sl=["font-size","fill","transform"],cl={key:4,class:"vue-data-ui-watermark"},dl=["onClick"],vl=["onClick"],ml=["onClick"],hl={key:1,class:"vue-ui-quick-chart-not-processable"},fl=Le(()=>e.createElementVNode("span",null,"Dataset is not processable",-1)),pl={__name:"vue-ui-quick-chart",props:{config:{type:Object,default(){return{}}},dataset:{type:[Array,Object,String,Number],default(){return null}}},emits:["selectDatapoint","selectLegend"],setup(s,{expose:B,emit:h}){const L=s,{vue_ui_quick_chart:z}=u.useConfig(),F=e.ref(null),M=e.ref(null),U=e.ref(null),j=e.ref(null),E=e.ref(u.createUid()),$=e.ref(!1),G=e.ref(null),R=e.ref(""),V=e.ref(null),x=e.ref([]),se=e.ref(0),K=e.ref(0),t=e.computed({get:()=>ce(),set:n=>n});function ce(){const n=be.useNestedProp({userConfig:L.config,defaultConfig:z});return n.theme?{...be.useNestedProp({userConfig:u.themes.vue_ui_quick_chart[n.theme]||L.config,defaultConfig:n}),customPalette:u.themePalettes[n.theme]||u.palette}:n}e.watch(()=>L.config,n=>{t.value=ce(),p.value.width=t.value.width,p.value.height=t.value.height,me()},{deep:!0}),e.watch(()=>L.dataset,n=>{k.value=X.value,g.value.start=0,g.value.end=k.value.maxSeriesLength,K.value+=1},{deep:!0});const H=e.computed(()=>u.convertCustomPalette(t.value.customPalette)),X=e.computed(()=>{const n=De({dataset:u.sanitizeArray(L.dataset,["serie","series","data","value","values","num"]),barLineSwitch:t.value.chartIsBarUnderDatasetLength});return n||console.error("VueUiQuickChart : Dataset is not processable"),n}),k=e.ref(X.value),Ae=e.computed(()=>!!k.value),b=e.computed(()=>k.value?k.value.type:null);e.watch(()=>b.value,n=>{n||u.error({componentName:"VueUiQuickChart",type:"dataset"})},{immediate:!0});const{isPrinting:ee,isImaging:te,generatePdf:de,generateImage:ve}=Se.usePrinter({elementId:`${b.value}_${E.value}`,fileName:t.value.title||b.value}),p=e.ref({width:t.value.width,height:t.value.height}),le=e.ref({showTooltip:t.value.showTooltip}),ae=e.ref(null);e.onMounted(()=>{me()});function me(){if(t.value.responsive){const n=xe.throttle(()=>{const{width:v,height:l}=xe.useResponsive({chart:F.value,title:t.value.title?M.value:null,legend:t.value.showLegend?U.value:null,slicer:[S.BAR,S.LINE].includes(b.value)&&t.value.zoomXy&&k.value.maxSeriesLength>1?j.value:null});p.value.width=v,p.value.height=l});ae.value=new ResizeObserver(n),ae.value.observe(F.value.parentNode)}}e.onBeforeUnmount(()=>{ae.value&&ae.value.disconnect()});const Ce=e.computed(()=>{switch(b.value){case S.LINE:return`0 0 ${p.value.width<=0?10:p.value.width} ${p.value.height<=0?10:p.value.height}`;case S.BAR:return`0 0 ${p.value.width<=0?10:p.value.width} ${p.value.height<=0?10:p.value.height}`;case S.DONUT:return`0 0 ${p.value.width<=0?10:p.value.width} ${p.value.height<=0?10:p.value.height}`;default:return`0 0 ${p.value.width<=0?10:p.value.width} ${p.value.height<=0?10:p.value.height}`}});function he(n){return[...n].map(v=>v.value).reduce((v,l)=>v+l,0)}function Y(n){return t.value.blurOnHover&&![null,void 0].includes(V.value)&&V.value!==n?`url(#blur_${E.value})`:""}function fe(n,v){x.value.includes(n)?x.value=x.value.filter(l=>l!==n):x.value.length<v&&x.value.push(n)}const pe=e.ref(null),ke=e.ref(null),oe=e.ref(!1);function Ne(n,v){oe.value=!0;let l=n.value;if(x.value.includes(n.id)){let i=function(){l>r?(oe.value=!1,cancelAnimationFrame(ke.value),k.value={...k.value,dataset:k.value.dataset.map((m,A)=>n.id===`donut_${A}`?{...m,value:r,VALUE:r}:m)}):(l+=r*.025,k.value={...k.value,dataset:k.value.dataset.map((m,A)=>n.id===`donut_${A}`?{...m,value:l,VALUE:l}:m)},ke.value=requestAnimationFrame(i))};x.value=x.value.filter(m=>m!==n.id);const r=X.value.dataset.find((m,A)=>n.id===`donut_${A}`).VALUE;i()}else if(v.length>1){let r=function(){l<.1?(oe.value=!1,cancelAnimationFrame(pe.value),x.value.push(n.id),k.value={...k.value,dataset:k.value.dataset.map((i,m)=>n.id===`donut_${m}`?{...i,value:0,VALUE:0}:i)}):(l/=1.1,k.value={...k.value,dataset:k.value.dataset.map((i,m)=>n.id===`donut_${m}`?{...i,value:l,VALUE:l}:i)},pe.value=requestAnimationFrame(r))};r()}}const T=e.ref(null);function ze(n){T.value=n}const ge=e.computed(()=>t.value.donutThicknessRatio<.15?.15:t.value.donutThicknessRatio>.4?.4:t.value.donutThicknessRatio),w=e.computed(()=>{if(b.value!==S.DONUT)return null;const n=k.value.dataset.map((a,o)=>({...a,value:a.VALUE||a.DATA||a.SERIE||a.VALUES||a.NUM||0,name:a.NAME||a.DESCRIPTION||a.TITLE||a.LABEL||`Serie ${o}`,id:`donut_${o}`})).map((a,o)=>({...a,color:a.COLOR?u.convertColorToHex(a.COLOR):H.value[o+t.value.paletteStartIndex]||u.palette[o+t.value.paletteStartIndex]||u.palette[(o+t.value.paletteStartIndex)%u.palette.length],immutableValue:a.value}));function v(a,o){return u.dataLabel({v:isNaN(a.value/he(o))?0:a.value/he(o)*100,s:"%",r:t.value.dataLabelRoundingPercentage})}function l(a){return a.proportion*100>t.value.donutHideLabelUnderPercentage}function r(a,o){const y=X.value.dataset.find((_,C)=>`donut_${C}`===a).VALUE;return Math.abs(String(Number(y.toFixed(0))).length-String(Number(o.toFixed(0))).length)}function i({datapoint:a,seriesIndex:o}){G.value={datapoint:a,seriesIndex:o,config:t.value,dataset:n},V.value=a.id;const y=t.value.tooltipCustomFormat;if(u.isFunction(y)&&u.functionReturnsString(()=>y({datapoint:a,seriesIndex:o,series:n,config:t.value})))R.value=y({datapoint:a,seriesIndex:o,series:n,config:t.value});else{let f="";f+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${a.name}</div>`,f+=`<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${a.color}"/></svg>`,f+=`<b>${u.applyDataLabel(t.value.formatter,a.value,u.dataLabel({p:t.value.valuePrefix,v:a.value,s:t.value.valueSuffix,r:t.value.dataLabelRoundingValue}),{datapoint:a,seriesIndex:o})}</b>`,f+=`<span>(${u.dataLabel({v:a.proportion*100,s:"%",r:t.value.dataLabelRoundingPercentage})})</span></div>`,R.value=`<div>${f}</div>`}$.value=!0}function m(){$.value=!1,V.value=null,T.value=null}const A={centerX:p.value.width/2,centerY:p.value.height/2},N=n.filter(a=>!x.value.includes(a.id)).map(a=>a.value||0).reduce((a,o)=>a+o,0),q=n.map((a,o)=>({...a,proportion:(a.value||0)/N,value:a.value||0,absoluteValue:X.value.dataset.find((y,f)=>`donut_${f}`===a.id).VALUE})),I=p.value.width/2,W=p.value.height/2,O=p.value.height*t.value.donutRadiusRatio;return{dataset:q.filter(a=>!x.value.includes(a.id)),legend:q,drawingArea:A,displayArcPercentage:v,isArcBigEnough:l,useTooltip:i,killTooltip:m,getSpaces:r,total:N,cx:I,cy:W,radius:O,chart:u.makeDonut({series:n.filter(a=>!x.value.includes(a.id))},I,W,O,O,1.99999,2,1,360,105.25,p.value.height*ge.value)}}),g=e.ref({start:0,end:k.value.maxSeriesLength});function Ve(){g.value={start:0,end:k.value.maxSeriesLength},K.value+=1}const Fe=e.computed(()=>{if(!t.value.zoomMinimap.show||b.value===S.DONUT)return[];let n=[];P(k.value.dataset)&&(n=k.value.dataset),re(k.value.dataset)&&(n=k.value.dataset.map((i,m)=>({values:i.VALUE||i.DATA||i.SERIE||i.SERIES||i.VALUES||i.NUM||0,id:b.value===S.LINE?`line_${m}`:`bar_${m}`})).filter(i=>!x.value.includes(i.id)));const v=P(n)?n.length:Math.max(...n.map(i=>i.values.length));let l=[];if(P(n))l=n;else for(let i=0;i<v;i+=1)l.push(n.map(m=>m.values[i]||0).reduce((m,A)=>(m||0)+(A||0),0));const r=Math.min(...l);return l.map(i=>i+(r<0?Math.abs(r):0))}),d=e.computed(()=>{if(b.value!==S.LINE)return null;const n={height:p.value.height,width:p.value.width},v={left:t.value.xyPaddingLeft,top:t.value.xyPaddingTop,right:n.width-t.value.xyPaddingRight,bottom:n.height-t.value.xyPaddingBottom,width:n.width-t.value.xyPaddingLeft-t.value.xyPaddingRight,height:n.height-t.value.xyPaddingTop-t.value.xyPaddingBottom};let l=[];P(k.value.dataset)&&(l=[{values:k.value.dataset.slice(g.value.start,g.value.end),absoluteIndices:k.value.dataset.map((a,o)=>o).slice(g.value.start,g.value.end),name:t.value.title,color:H.value[t.value.paletteStartIndex]||u.palette[t.value.paletteStartIndex],id:"line_0"}]),re(k.value.dataset)&&(l=k.value.dataset.map((a,o)=>({...a,values:a.VALUE||a.DATA||a.SERIE||a.SERIES||a.VALUES||a.NUM||0,name:a.NAME||a.DESCRIPTION||a.TITLE||a.LABEL||`Serie ${o}`,id:`line_${o}`})).map((a,o)=>({...a,color:a.COLOR?u.convertColorToHex(a.COLOR):H.value[o+t.value.paletteStartIndex]||u.palette[o+t.value.paletteStartIndex]||u.palette[(o+t.value.paletteStartIndex)%u.palette.length],values:a.values.slice(g.value.start,g.value.end),absoluteIndices:a.values.map((y,f)=>f).slice(g.value.start,g.value.end)})));const r={max:Math.max(...l.filter(a=>!x.value.includes(a.id)).flatMap(a=>a.values)),min:Math.min(...l.filter(a=>!x.value.includes(a.id)).flatMap(a=>a.values)),maxSeries:Math.max(...l.map(a=>a.values.length))},i=u.calculateNiceScale(r.min<0?r.min:0,r.max<0?0:r.max,t.value.xyScaleSegments),m=r.min<0?Math.abs(r.min):0,A=r.max<0?v.top:v.bottom-m/(i.max+m)*v.height,N=v.width/r.maxSeries,q=i.ticks.map(a=>({y:v.bottom-v.height*((a+m)/(i.max+m)),x:v.left-8,value:a})),I=l.map((a,o)=>({...a,coordinates:a.values.map((y,f)=>({x:v.left+N*(f+1)-N/2,y:v.bottom-(y+m)/(i.max+m)*v.height,value:y}))})).map(a=>{let o=[];return a.coordinates.forEach(y=>{o.push(`${y.x},${y.y} `)}),{...a,linePath:o.join(" ")}});function W(a){V.value=a,T.value=a;const o=l.map(f=>({...f,value:f.values[a],absoluteIndex:f.absoluteIndices[a]})).filter(f=>!x.value.includes(f.id));G.value={datapoint:o,seriesIndex:a,config:t.value,dataset:l};const y=t.value.tooltipCustomFormat;if(u.isFunction(y)&&u.functionReturnsString(()=>y({datapoint:o,seriesIndex:a,series:l,config:t.value})))R.value=y({datapoint:o,seriesIndex:a,series:l,config:t.value});else{let f="";t.value.xyPeriods[o[0].absoluteIndex]&&(f+=`<div style="border-bottom:1px solid ${t.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${t.value.xyPeriods[o[0].absoluteIndex]}</div>`),o.forEach((_,C)=>{f+=`
2
+ <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
3
+ <svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${_.color}"/></svg>
4
+ <span>${_.name}:</span>
5
+ <b>${u.applyDataLabel(t.value.formatter,_.value,u.dataLabel({p:t.value.valuePrefix,v:_.value,s:t.value.valueSuffix,r:t.value.dataLabelRoundingValue}),{datapoint:_,seriesIndex:C})}
6
+ </b>
7
+ </div>
8
+ `}),R.value=f}$.value=!0}function O(){V.value=null,$.value=!1}return{absoluteZero:A,dataset:I.filter(a=>!x.value.includes(a.id)),legend:I,drawingArea:v,extremes:r,slotSize:N,yLabels:q,useTooltip:W,killTooltip:O}}),c=e.computed(()=>{if(b.value!==S.BAR)return null;const n={height:p.value.height,width:p.value.width},v={left:t.value.xyPaddingLeft,top:t.value.xyPaddingTop,right:n.width-t.value.xyPaddingRight,bottom:n.height-t.value.xyPaddingBottom,width:n.width-t.value.xyPaddingLeft-t.value.xyPaddingRight,height:n.height-t.value.xyPaddingTop-t.value.xyPaddingBottom};let l=[];P(k.value.dataset)&&(l=[{values:k.value.dataset.slice(g.value.start,g.value.end),absoluteIndices:k.value.dataset.map((o,y)=>y).slice(g.value.start,g.value.end),name:t.value.title,color:H.value[t.value.paletteStartIndex]||u.palette[t.value.paletteStartIndex],id:"bar_0"}]),re(k.value.dataset)&&(l=k.value.dataset.map((o,y)=>({...o,values:o.VALUE||o.DATA||o.SERIE||o.SERIES||o.VALUES||o.NUM||0,name:o.NAME||o.DESCRIPTION||o.TITLE||o.LABEL||`Serie ${y}`,id:`bar_${y}`})).map((o,y)=>({...o,color:o.COLOR?u.convertColorToHex(o.COLOR):H.value[y+t.value.paletteStartIndex]||u.palette[y+t.value.paletteStartIndex]||u.palette[(y+t.value.paletteStartIndex)%u.palette.length],values:o.values.slice(g.value.start,g.value.end),absoluteIndices:o.values.map((f,_)=>_).slice(g.value.start,g.value.end)})));const r={max:Math.max(...l.filter(o=>!x.value.includes(o.id)).flatMap(o=>o.values))<0?0:Math.max(...l.filter(o=>!x.value.includes(o.id)).flatMap(o=>o.values)),min:Math.min(...l.filter(o=>!x.value.includes(o.id)).flatMap(o=>o.values)),maxSeries:Math.max(...l.filter(o=>!x.value.includes(o.id)).map(o=>o.values.length))},i=u.calculateNiceScale(r.min<0?r.min:0,r.max,t.value.xyScaleSegments),m=i.min<0?Math.abs(i.min):0,A=v.bottom-m/(i.max+m)*v.height,N=v.width/r.maxSeries,q=i.ticks.map(o=>({y:v.bottom-v.height*((o+m)/(i.max+m)),x:v.left-8,value:o})),I=l.map((o,y)=>({...o,coordinates:o.values.map((f,_)=>{const C=(f+m)/(r.max+m)*v.height,Z=Math.abs(f)/Math.abs(r.min)*(v.height-A),ue=m/(r.max+m)*v.height,J=N/l.filter(D=>!x.value.includes(D.id)).length-t.value.barGap/l.filter(D=>!x.value.includes(D.id)).length;return{x:v.left+N*_+J*y+t.value.barGap/2,y:f>0?v.bottom-C:A,height:f>0?C-ue:Z,value:f,width:J}})})),W=l.filter(o=>!x.value.includes(o.id)).map((o,y)=>({...o,coordinates:o.values.map((f,_)=>{const C=(f+m)/(r.max+m)*v.height,Z=Math.abs(f)/(r.max+m)*v.height,ue=m/(r.max+m)*v.height,J=N/l.filter(D=>!x.value.includes(D.id)).length-t.value.barGap/l.filter(D=>!x.value.includes(D.id)).length;return{x:v.left+N*_+J*y+t.value.barGap/2,y:f>0?v.bottom-C:A,height:f>0?C-ue:Z,value:f,width:J}})}));function O(o){V.value=o,T.value=o;const y=l.map(_=>({..._,value:_.values[o],absoluteIndex:_.absoluteIndices[o]})).filter(_=>!x.value.includes(_.id));G.value={datapoint:y,seriesIndex:o,config:t.value,dataset:l};const f=t.value.tooltipCustomFormat;if(u.isFunction(f)&&u.functionReturnsString(()=>f({datapoint:y,seriesIndex:o,series:l,config:t.value})))R.value=f({point:y,seriesIndex:o,series:l,config:t.value});else{let _="";t.value.xyPeriods[y[0].absoluteIndex]&&(_+=`<div style="border-bottom:1px solid ${t.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${t.value.xyPeriods[y[0].absoluteIndex]}</div>`),y.forEach((C,Z)=>{_+=`
9
+ <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
10
+ <svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${C.color}"/></svg>
11
+ <span>${C.name}:</span>
12
+ <b>${u.applyDataLabel(t.value.formatter,C.value,u.dataLabel({p:t.value.valuePrefix,v:C.value,s:t.value.valueSuffix,r:t.value.dataLabelRoundingValue}),{datapoint:C,seriesIndex:Z})}
13
+ </b>
14
+ </div>
15
+ `}),R.value=_}$.value=!0}function a(){$.value=!1,V.value=null,T.value=null}return{absoluteZero:A,dataset:W.filter(o=>!x.value.includes(o.id)),legend:I,drawingArea:v,extremes:r,slotSize:N,yLabels:q,useTooltip:O,killTooltip:a}}),ie=e.ref(!1);function $e(n){ie.value=n,se.value+=1}function ye(){le.value.showTooltip=!le.value.showTooltip}return B({generatePdf:de,generateImage:ve,toggleTooltip:ye}),(n,v)=>Ae.value?(e.openBlock(),e.createElementBlock("div",{key:0,id:`${b.value}_${E.value}`,ref_key:"quickChart",ref:F,class:e.normalizeClass({"vue-ui-quick-chart":!0,"vue-data-ui-wrapper-fullscreen":ie.value}),style:e.normalizeStyle(`background:${t.value.backgroundColor};color:${t.value.color};font-family:${t.value.fontFamily}; position: relative; ${t.value.responsive?"height: 100%":""}`)},[t.value.showUserOptions?(e.openBlock(),e.createBlock(Se.UserOptions,{ref:"details",key:`user_option_${se.value}`,backgroundColor:t.value.backgroundColor,color:t.value.color,isPrinting:e.unref(ee),isImaging:e.unref(te),uid:E.value,hasTooltip:t.value.userOptionsButtons.tooltip&&t.value.showTooltip,hasPdf:t.value.userOptionsButtons.pdf,hasImg:t.value.userOptionsButtons.img,hasFullscreen:t.value.userOptionsButtons.fullscreen,hasXls:!1,isTooltip:le.value.showTooltip,isFullscreen:ie.value,titles:{...t.value.userOptionsButtonTitles},chartElement:F.value,position:t.value.userOptionsPosition,onToggleFullscreen:$e,onGeneratePdf:e.unref(de),onGenerateImage:e.unref(ve),onToggleTooltip:ye},e.createSlots({_:2},[n.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,n.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,n.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,n.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:r})=>[e.renderSlot(n.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:r})),void 0,!0)]),key:"3"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasImg","hasFullscreen","isTooltip","isFullscreen","titles","chartElement","position","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),t.value.title?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"quickChartTitle",ref:M,class:"vue-ui-quick-chart-title",style:e.normalizeStyle(`background:transparent;color:${t.value.color};font-size:${t.value.titleFontSize}px;font-weight:${t.value.titleBold?"bold":"normal"};text-align:${t.value.titleTextAlign}`)},e.toDisplayString(t.value.title),5)):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(u.XMLNS),viewBox:Ce.value,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.color}`)},[e.createElementVNode("defs",null,[e.createElementVNode("filter",{id:`blur_${E.value}`,x:"-50%",y:"-50%",width:"200%",height:"200%"},[e.createElementVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:2,id:`blur_std_${E.value}`},null,8,Xe),Ye],8,He),e.createElementVNode("filter",{id:`shadow_${E.value}`,"color-interpolation-filters":"sRGB"},[e.createElementVNode("feDropShadow",{dx:"0",dy:"0",stdDeviation:"10","flood-opacity":"0.5","flood-color":t.value.donutShadowColor},null,8,Je)],8,Ze)]),b.value===S.DONUT?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.value.showDataLabels?(e.openBlock(),e.createElementBlock("g",Qe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value.chart,(l,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[w.value.isArcBigEnough(l)?(e.openBlock(),e.createElementBlock("path",{key:0,d:e.unref(u.calcNutArrowPath)(l,{x:p.value.width/2,y:p.value.height/2},16,16,!1,!1,p.value.height*ge.value),stroke:l.color,"stroke-width":t.value.donutLabelMarkerStrokeWidth,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none",filter:Y(l.id)},null,8,Ke)):e.createCommentVNode("",!0)],64))),256))])):e.createCommentVNode("",!0),e.createElementVNode("circle",{class:"donut-hollow",cx:(t.value.width||p.value.width)/2,cy:(t.value.height||p.value.height)/2,r:(t.value.height||p.value.height)*t.value.donutRadiusRatio,fill:t.value.backgroundColor},null,8,et),e.createElementVNode("circle",{cx:w.value.cx,cy:w.value.cy,r:w.value.radius,fill:t.value.backgroundColor,filter:t.value.donutUseShadow?`url(#shadow_${E.value})`:""},null,8,tt),e.createElementVNode("g",lt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value.chart,(l,r)=>(e.openBlock(),e.createElementBlock("path",{d:l.arcSlice,fill:l.color,stroke:t.value.backgroundColor,"stroke-width":t.value.donutStrokeWidth,filter:Y(l.id)},null,8,at))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value.chart,(l,r)=>(e.openBlock(),e.createElementBlock("path",{d:l.arcSlice,fill:"transparent",onMouseenter:i=>w.value.useTooltip({datapoint:l,seriesIndex:r}),onMouseout:v[0]||(v[0]=i=>w.value.killTooltip()),onClick:i=>h("selectDatapoint",l)},null,40,ot))),256))]),t.value.showDataLabels?(e.openBlock(),e.createElementBlock("g",nt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value.chart,(l,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[w.value.isArcBigEnough(l)?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:e.unref(u.calcMarkerOffsetX)(l).x,cy:e.unref(u.calcMarkerOffsetY)(l)-3.7,fill:l.color,r:3,filter:Y(l.id)},null,8,rt)):e.createCommentVNode("",!0),w.value.isArcBigEnough(l)?(e.openBlock(),e.createElementBlock("text",{key:1,"text-anchor":e.unref(u.calcMarkerOffsetX)(l,!0,20).anchor,x:e.unref(u.calcMarkerOffsetX)(l,!0).x,y:e.unref(u.calcMarkerOffsetY)(l),fill:t.value.color,"font-size":t.value.dataLabelFontSize,filter:Y(l.id)},e.toDisplayString(w.value.displayArcPercentage(l,w.value.chart))+" ("+e.toDisplayString(e.unref(u.applyDataLabel)(t.value.formatter,l.value,e.unref(u.dataLabel)({p:t.value.valuePrefix,v:l.value,s:t.value.valueSuffix,r:t.value.dataLabelRoundingValue}),{datapoint:l,seriesIndex:r}))+") ",9,it)):e.createCommentVNode("",!0),w.value.isArcBigEnough(l,!0,20)?(e.openBlock(),e.createElementBlock("text",{key:2,"text-anchor":e.unref(u.calcMarkerOffsetX)(l).anchor,x:e.unref(u.calcMarkerOffsetX)(l,!0).x,y:e.unref(u.calcMarkerOffsetY)(l)+t.value.dataLabelFontSize,fill:t.value.color,"font-size":t.value.dataLabelFontSize,filter:Y(l.id)},e.toDisplayString(l.name),9,ut)):e.createCommentVNode("",!0)],64))),256))])):e.createCommentVNode("",!0),t.value.donutShowTotal?(e.openBlock(),e.createElementBlock("g",st,[e.createElementVNode("text",{"text-anchor":"middle",x:w.value.drawingArea.centerX,y:w.value.drawingArea.centerY-t.value.donutTotalLabelFontSize/2,"font-size":t.value.donutTotalLabelFontSize,fill:t.value.color},e.toDisplayString(t.value.donutTotalLabelText),9,ct),e.createElementVNode("text",{"text-anchor":"middle",x:w.value.drawingArea.centerX,y:w.value.drawingArea.centerY+t.value.donutTotalLabelFontSize,"font-size":t.value.donutTotalLabelFontSize,fill:t.value.color},e.toDisplayString(e.unref(u.dataLabel)({p:t.value.valuePrefix,v:w.value.total,s:t.value.valueSuffix,r:t.value.dataLabelRoundingValue})),9,dt)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),b.value===S.LINE?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.value.xyShowGrid?(e.openBlock(),e.createElementBlock("g",vt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value.yLabels,l=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[l.y<=d.value.drawingArea.bottom?(e.openBlock(),e.createElementBlock("line",{key:0,x1:d.value.drawingArea.left,x2:d.value.drawingArea.right,y1:l.y,y2:l.y,stroke:t.value.xyGridStroke,"stroke-width":t.value.xyGridStrokeWidth,"stroke-linecap":"round"},null,8,mt)):e.createCommentVNode("",!0)],64))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value.extremes.maxSeries+1,(l,r)=>(e.openBlock(),e.createElementBlock("line",{x1:d.value.drawingArea.left+d.value.slotSize*r,x2:d.value.drawingArea.left+d.value.slotSize*r,y1:d.value.drawingArea.top,y2:d.value.drawingArea.bottom,stroke:t.value.xyGridStroke,"stroke-width":t.value.xyGridStrokeWidth,"stroke-linecap":"round"},null,8,ht))),256))])):e.createCommentVNode("",!0),t.value.xyShowAxis?(e.openBlock(),e.createElementBlock("g",ft,[e.createElementVNode("line",{x1:d.value.drawingArea.left,x2:d.value.drawingArea.left,y1:d.value.drawingArea.top,y2:d.value.drawingArea.bottom,stroke:t.value.xyAxisStroke,"stroke-width":t.value.xyAxisStrokeWidth,"stroke-linecap":"round"},null,8,pt),e.createElementVNode("line",{x1:d.value.drawingArea.left,x2:d.value.drawingArea.right,y1:isNaN(d.value.absoluteZero)?d.value.drawingArea.bottom:d.value.absoluteZero,y2:isNaN(d.value.absoluteZero)?d.value.drawingArea.bottom:d.value.absoluteZero,stroke:t.value.xyAxisStroke,"stroke-width":t.value.xyAxisStrokeWidth,"stroke-linecap":"round"},null,8,kt)])):e.createCommentVNode("",!0),t.value.xyShowScale?(e.openBlock(),e.createElementBlock("g",gt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value.yLabels,(l,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[l.y<=d.value.drawingArea.bottom?(e.openBlock(),e.createElementBlock("line",{key:0,x1:l.x+4,x2:d.value.drawingArea.left,y1:l.y,y2:l.y,stroke:t.value.xyAxisStroke,"stroke-width":t.value.xyAxisStrokeWidth,"stroke-linecap":"round"},null,8,yt)):e.createCommentVNode("",!0),l.y<=d.value.drawingArea.bottom?(e.openBlock(),e.createElementBlock("text",{key:1,x:l.x,y:l.y+t.value.xyLabelsYFontSize/3,"text-anchor":"end","font-size":t.value.xyLabelsYFontSize,fill:t.value.color},e.toDisplayString(e.unref(u.applyDataLabel)(t.value.formatter,l.value,e.unref(u.dataLabel)({p:t.value.valuePrefix,v:l.value,s:t.value.valueSuffix,r:t.value.dataLabelRoundingValue}),{datapoint:l,seriesIndex:r})),9,xt)):e.createCommentVNode("",!0)],64))),256))])):e.createCommentVNode("",!0),t.value.xyShowScale&&t.value.xyPeriods.length?(e.openBlock(),e.createElementBlock("g",St,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.xyPeriods.slice(g.value.start,g.value.end),(l,r)=>(e.openBlock(),e.createElementBlock("line",{x1:d.value.drawingArea.left+d.value.slotSize*(r+1)-d.value.slotSize/2,x2:d.value.drawingArea.left+d.value.slotSize*(r+1)-d.value.slotSize/2,y1:d.value.drawingArea.bottom,y2:d.value.drawingArea.bottom+4,stroke:t.value.xyAxisStroke,"stroke-width":t.value.xyAxisStrokeWidth,"stroke-linecap":"round"},null,8,bt))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.xyPeriods.slice(g.value.start,g.value.end),(l,r)=>(e.openBlock(),e.createElementBlock("text",{"font-size":t.value.xyLabelsXFontSize,"text-anchor":t.value.xyPeriodLabelsRotation>0?"start":t.value.xyPeriodLabelsRotation<0?"end":"middle",fill:t.value.color,transform:`translate(${d.value.drawingArea.left+d.value.slotSize*(r+1)-d.value.slotSize/2}, ${d.value.drawingArea.bottom+t.value.xyLabelsXFontSize+6}), rotate(${t.value.xyPeriodLabelsRotation})`},e.toDisplayString(l),9,Bt))),256))])):e.createCommentVNode("",!0),e.createElementVNode("g",wt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value.dataset,(l,r)=>(e.openBlock(),e.createElementBlock("g",Et,[t.value.lineSmooth?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("path",{d:`M ${e.unref(u.createSmoothPath)(l.coordinates)}`,stroke:t.value.backgroundColor,"stroke-width":t.value.lineStrokeWidth+1,"stroke-linecap":"round",fill:"none",class:e.normalizeClass({"quick-animation":!0,"vue-data-ui-line-animated":t.value.lineAnimated}),style:{transition:"all 0.3s ease-in-out"}},null,10,_t),e.createElementVNode("path",{d:`M ${e.unref(u.createSmoothPath)(l.coordinates)}`,stroke:l.color,"stroke-width":t.value.lineStrokeWidth,"stroke-linecap":"round",fill:"none",class:e.normalizeClass({"quick-animation":!0,"vue-data-ui-line-animated":t.value.lineAnimated}),style:{transition:"all 0.3s ease-in-out"}},null,10,Lt)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("path",{d:`M ${l.linePath}`,stroke:t.value.backgroundColor,"stroke-width":t.value.lineStrokeWidth+1,"stroke-linecap":"round",fill:"none",class:e.normalizeClass({"quick-animation":!0,"vue-data-ui-line-animated":t.value.lineAnimated}),style:{transition:"all 0.3s ease-in-out"}},null,10,At),e.createElementVNode("path",{d:`M ${l.linePath}`,stroke:l.color,"stroke-width":t.value.lineStrokeWidth,"stroke-linecap":"round",fill:"none",class:e.normalizeClass({"quick-animation":!0,"vue-data-ui-line-animated":t.value.lineAnimated}),style:{transition:"all 0.3s ease-in-out"}},null,10,Ct)],64)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.coordinates,(i,m)=>(e.openBlock(),e.createElementBlock("circle",{cx:i.x,cy:e.unref(u.checkNaN)(i.y),r:3,fill:l.color,stroke:t.value.backgroundColor,"stroke-width":"0.5",class:"quick-animation",style:{transition:"all 0.3s ease-in-out"}},null,8,Nt))),256))]))),256))]),t.value.showDataLabels?(e.openBlock(),e.createElementBlock("g",zt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value.dataset,(l,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.coordinates,(i,m)=>(e.openBlock(),e.createElementBlock("text",{"text-anchor":"middle","font-size":t.value.dataLabelFontSize,fill:l.color,x:i.x,y:e.unref(u.checkNaN)(i.y)-t.value.dataLabelFontSize/2,class:"quick-animation",style:{transition:"all 0.3s ease-in-out"}},e.toDisplayString(e.unref(u.applyDataLabel)(t.value.formatter,e.unref(u.checkNaN)(i.value),e.unref(u.dataLabel)({p:t.value.valuePrefix,v:e.unref(u.checkNaN)(i.value),s:t.value.valueSuffix,r:t.value.dataLabelRoundingValue}),{datapoint:i,seriesIndex:m})),9,Vt))),256))],64))),256))])):e.createCommentVNode("",!0),e.createElementVNode("g",Ft,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value.extremes.maxSeries,(l,r)=>(e.openBlock(),e.createElementBlock("rect",{x:d.value.drawingArea.left+r*d.value.slotSize,y:d.value.drawingArea.top,height:d.value.drawingArea.height<=0?1e-5:d.value.drawingArea.height,width:d.value.slotSize<=0?1e-5:d.value.slotSize,fill:[V.value,T.value].includes(r)?t.value.xyHighlighterColor:"transparent",style:e.normalizeStyle(`opacity:${t.value.xyHighlighterOpacity}`),onMouseenter:i=>d.value.useTooltip(r),onMouseleave:v[1]||(v[1]=i=>d.value.killTooltip()),onClick:i=>h("selectDatapoint",d.value.dataset.map(m=>({...m,value:m.values[r]})))},null,44,$t))),256))])],64)):e.createCommentVNode("",!0),b.value===S.BAR?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t.value.xyShowGrid?(e.openBlock(),e.createElementBlock("g",Pt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value.yLabels,l=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[l.y<=c.value.drawingArea.bottom?(e.openBlock(),e.createElementBlock("line",{key:0,x1:c.value.drawingArea.left,x2:c.value.drawingArea.right,y1:l.y,y2:l.y,stroke:t.value.xyGridStroke,"stroke-width":t.value.xyGridStrokeWidth,"stroke-linecap":"round"},null,8,Tt)):e.createCommentVNode("",!0)],64))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value.extremes.maxSeries+1,(l,r)=>(e.openBlock(),e.createElementBlock("line",{x1:c.value.drawingArea.left+c.value.slotSize*r,x2:c.value.drawingArea.left+c.value.slotSize*r,y1:c.value.drawingArea.top,y2:c.value.drawingArea.bottom,stroke:t.value.xyGridStroke,"stroke-width":t.value.xyGridStrokeWidth,"stroke-linecap":"round"},null,8,Rt))),256))])):e.createCommentVNode("",!0),t.value.xyShowAxis?(e.openBlock(),e.createElementBlock("g",It,[e.createElementVNode("line",{x1:c.value.drawingArea.left,x2:c.value.drawingArea.left,y1:c.value.drawingArea.top,y2:c.value.drawingArea.bottom,stroke:t.value.xyAxisStroke,"stroke-width":t.value.xyAxisStrokeWidth,"stroke-linecap":"round"},null,8,Ot),e.createElementVNode("line",{x1:c.value.drawingArea.left,x2:c.value.drawingArea.right,y1:isNaN(c.value.absoluteZero)?c.value.drawingArea.bottom:c.value.absoluteZero,y2:isNaN(c.value.absoluteZero)?c.value.drawingArea.bottom:c.value.absoluteZero,stroke:t.value.xyAxisStroke,"stroke-width":t.value.xyAxisStrokeWidth,"stroke-linecap":"round"},null,8,Dt)])):e.createCommentVNode("",!0),t.value.xyShowScale?(e.openBlock(),e.createElementBlock("g",Mt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value.yLabels,(l,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[l.y<=c.value.drawingArea.bottom?(e.openBlock(),e.createElementBlock("line",{key:0,x1:l.x+4,x2:c.value.drawingArea.left,y1:l.y,y2:l.y,stroke:t.value.xyAxisStroke,"stroke-width":t.value.xyAxisStrokeWidth,"stroke-linecap":"round"},null,8,Ut)):e.createCommentVNode("",!0),l.y<=c.value.drawingArea.bottom?(e.openBlock(),e.createElementBlock("text",{key:1,x:l.x,y:l.y+t.value.xyLabelsYFontSize/3,"text-anchor":"end","font-size":t.value.xyLabelsYFontSize,fill:t.value.color},e.toDisplayString(e.unref(u.applyDataLabel)(t.value.formatter,l.value,e.unref(u.dataLabel)({p:t.value.valuePrefix,v:l.value,s:t.value.valueSuffix,r:t.value.dataLabelRoundingValue}),{datapoint:l,seriesIndex:r})),9,qt)):e.createCommentVNode("",!0)],64))),256))])):e.createCommentVNode("",!0),t.value.xyShowScale&&t.value.xyPeriods.length?(e.openBlock(),e.createElementBlock("g",Wt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.xyPeriods.slice(g.value.start,g.value.end),(l,r)=>(e.openBlock(),e.createElementBlock("line",{x1:c.value.drawingArea.left+c.value.slotSize*(r+1)-c.value.slotSize/2,x2:c.value.drawingArea.left+c.value.slotSize*(r+1)-c.value.slotSize/2,y1:c.value.drawingArea.bottom,y2:c.value.drawingArea.bottom+4,stroke:t.value.xyAxisStroke,"stroke-width":t.value.xyAxisStrokeWidth,"stroke-linecap":"round"},null,8,jt))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.xyPeriods.slice(g.value.start,g.value.end),(l,r)=>(e.openBlock(),e.createElementBlock("text",{"font-size":t.value.xyLabelsXFontSize,"text-anchor":t.value.xyPeriodLabelsRotation>0?"start":t.value.xyPeriodLabelsRotation<0?"end":"middle",transform:`translate(${c.value.drawingArea.left+c.value.slotSize*(r+1)-c.value.slotSize/2}, ${c.value.drawingArea.bottom+t.value.xyLabelsXFontSize+6}) rotate(${t.value.xyPeriodLabelsRotation})`,fill:t.value.color},e.toDisplayString(l),9,Gt))),256))])):e.createCommentVNode("",!0),e.createElementVNode("g",Ht,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value.dataset,(l,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.coordinates,(i,m)=>(e.openBlock(),e.createElementBlock("rect",{x:i.x,width:i.width<=0?1e-5:i.width,height:e.unref(u.checkNaN)(i.height<=0?1e-5:i.height),y:e.unref(u.checkNaN)(i.y),fill:l.color,stroke:t.value.backgroundColor,"stroke-width":t.value.barStrokeWidth,"stroke-linecap":"round",class:e.normalizeClass({"vue-data-ui-bar-animated":t.value.barAnimated&&i.value<0})},[t.value.barAnimated&&i.value>0&&!e.unref(ee)&&!e.unref(te)?(e.openBlock(),e.createElementBlock("animate",{key:0,attributeName:"height",from:0,to:i.height,dur:"0.5s"},null,8,Yt)):e.createCommentVNode("",!0),t.value.barAnimated&&i.value>0&&!e.unref(ee)&&!e.unref(te)?(e.openBlock(),e.createElementBlock("animate",{key:1,attributeName:"y",from:c.value.absoluteZero,to:c.value.absoluteZero-i.height,dur:"0.5s"},null,8,Zt)):e.createCommentVNode("",!0)],10,Xt))),256))],64))),256))]),t.value.showDataLabels?(e.openBlock(),e.createElementBlock("g",Jt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value.dataset,(l,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.coordinates,(i,m)=>(e.openBlock(),e.createElementBlock("text",{x:i.x+i.width/2,y:e.unref(u.checkNaN)(i.y)-t.value.dataLabelFontSize/2,"text-anchor":"middle","font-size":t.value.dataLabelFontSize,fill:l.color,class:"quick-animation"},e.toDisplayString(e.unref(u.applyDataLabel)(t.value.formatter,e.unref(u.checkNaN)(i.value),e.unref(u.dataLabel)({p:t.value.valuePrefix,v:e.unref(u.checkNaN)(i.value),s:t.value.valueSuffix,r:t.value.dataLabelRoundingValue}),{datapoint:i,seriesIndex:m})),9,Qt))),256))],64))),256))])):e.createCommentVNode("",!0),e.createElementVNode("g",Kt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value.extremes.maxSeries,(l,r)=>(e.openBlock(),e.createElementBlock("rect",{x:c.value.drawingArea.left+r*c.value.slotSize,y:c.value.drawingArea.top,height:c.value.drawingArea.height<=0?1e-5:c.value.drawingArea.height,width:c.value.slotSize<=0?1e-5:c.value.slotSize,fill:[V.value,T.value].includes(r)?t.value.xyHighlighterColor:"transparent",style:e.normalizeStyle(`opacity:${t.value.xyHighlighterOpacity}`),onMouseenter:i=>c.value.useTooltip(r),onMouseleave:v[2]||(v[2]=i=>c.value.killTooltip()),onClick:i=>h("selectDatapoint",c.value.dataset.map(m=>({...m,value:m.values[r]})))},null,44,el))),256))])],64)):e.createCommentVNode("",!0),[S.LINE,S.BAR].includes(b.value)?(e.openBlock(),e.createElementBlock("g",tl,[t.value.xAxisLabel&&b.value===S.LINE?(e.openBlock(),e.createElementBlock("g",ll,[e.createElementVNode("text",{"font-size":t.value.axisLabelsFontSize,fill:t.value.color,"text-anchor":"middle",x:d.value.drawingArea.left+d.value.drawingArea.width/2,y:p.value.height-t.value.axisLabelsFontSize/3},e.toDisplayString(t.value.xAxisLabel),9,al)])):e.createCommentVNode("",!0),t.value.xAxisLabel&&b.value===S.BAR?(e.openBlock(),e.createElementBlock("g",ol,[e.createElementVNode("text",{"font-size":t.value.axisLabelsFontSize,fill:t.value.color,"text-anchor":"middle",x:c.value.drawingArea.left+c.value.drawingArea.width/2,y:p.value.height-t.value.axisLabelsFontSize/3},e.toDisplayString(t.value.xAxisLabel),9,nl)])):e.createCommentVNode("",!0),t.value.yAxisLabel&&b.value===S.LINE?(e.openBlock(),e.createElementBlock("g",rl,[e.createElementVNode("text",{"font-size":t.value.axisLabelsFontSize,fill:t.value.color,transform:`translate(${t.value.axisLabelsFontSize}, ${d.value.drawingArea.top+d.value.drawingArea.height/2}) rotate(-90)`,"text-anchor":"middle"},e.toDisplayString(t.value.yAxisLabel),9,il)])):e.createCommentVNode("",!0),t.value.yAxisLabel&&b.value===S.BAR?(e.openBlock(),e.createElementBlock("g",ul,[e.createElementVNode("text",{"font-size":t.value.axisLabelsFontSize,fill:t.value.color,transform:`translate(${t.value.axisLabelsFontSize}, ${c.value.drawingArea.top+c.value.drawingArea.height/2}) rotate(-90)`,"text-anchor":"middle"},e.toDisplayString(t.value.yAxisLabel),9,sl)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],12,Ge)):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Re.default,{key:3,config:{type:"line",style:{backgroundColor:t.value.backgroundColor,line:{axis:{color:t.value.xyAxisStroke},path:{color:t.value.xyAxisStroke,strokeWidth:.5}}}}},null,8,["config"])),n.$slots.watermark?(e.openBlock(),e.createElementBlock("div",cl,[e.renderSlot(n.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(ee)||e.unref(te)})),void 0,!0)])):e.createCommentVNode("",!0),[S.BAR,S.LINE].includes(b.value)&&t.value.zoomXy&&k.value.maxSeriesLength>1?(e.openBlock(),e.createElementBlock("div",{key:`slicer_${K.value}`,ref_key:"quickChartSlicer",ref:j},[(e.openBlock(),e.createBlock(Te.Slicer,{key:`slicer_${K.value}`,background:t.value.zoomColor,borderColor:t.value.backgroundColor,fontSize:t.value.zoomFontSize,useResetSlot:t.value.zoomUseResetSlot,labelLeft:t.value.xyPeriods[g.value.start]?t.value.xyPeriods[g.value.start]:"",labelRight:t.value.xyPeriods[g.value.end-1]?t.value.xyPeriods[g.value.end-1]:"",textColor:t.value.color,inputColor:t.value.zoomColor,selectColor:t.value.zoomHighlightColor,max:k.value.maxSeriesLength,min:0,valueStart:g.value.start,valueEnd:g.value.end,smoothMinimap:t.value.zoomMinimap.smooth,minimapSelectedColor:t.value.zoomMinimap.selectedColor,minimapSelectedColorOpacity:t.value.zoomMinimap.selectedColorOpacity,minimapSelectionRadius:t.value.zoomMinimap.selectionRadius,minimapLineColor:t.value.zoomMinimap.lineColor,minimap:Fe.value,minimapIndicatorColor:t.value.zoomMinimap.indicatorColor,minimapSelectedIndex:T.value,start:g.value.start,"onUpdate:start":v[3]||(v[3]=l=>g.value.start=l),end:g.value.end,"onUpdate:end":v[4]||(v[4]=l=>g.value.end=l),onReset:Ve,onTrapMouse:ze},{"reset-action":e.withCtx(({reset:l})=>[e.renderSlot(n.$slots,"reset-action",e.normalizeProps(e.guardReactiveProps({reset:l})),void 0,!0)]),_:3},8,["background","borderColor","fontSize","useResetSlot","labelLeft","labelRight","textColor","inputColor","selectColor","max","valueStart","valueEnd","smoothMinimap","minimapSelectedColor","minimapSelectedColorOpacity","minimapSelectionRadius","minimapLineColor","minimap","minimapIndicatorColor","minimapSelectedIndex","start","end"]))])):e.createCommentVNode("",!0),t.value.showLegend?(e.openBlock(),e.createElementBlock("div",{key:6,ref_key:"quickChartLegend",ref:U,class:"vue-ui-quick-chart-legend",style:e.normalizeStyle(`background:transparent;color:${t.value.color}`)},[b.value===S.DONUT?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(w.value.legend,(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-quick-chart-legend-item",onClick:i=>{Ne(l,w.value.dataset),h("selectLegend",l)},style:e.normalizeStyle(`cursor: ${w.value.legend.length>1?"pointer":"default"}; opacity:${x.value.includes(l.id)?"0.5":"1"}`)},[t.value.useCustomLegend?e.renderSlot(n.$slots,"legend",e.normalizeProps(e.mergeProps({key:0},{legend:l})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(ne.default,{name:t.value.legendIcon,stroke:l.color,size:t.value.legendIconSize},null,8,["name","stroke","size"]),e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${t.value.legendFontSize}px`)},e.toDisplayString(l.name),5),e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${t.value.legendFontSize}px;font-variant-numeric:tabular-nums`)},e.toDisplayString(x.value.includes(l.id)?"-":e.unref(u.applyDataLabel)(t.value.formatter,l.absoluteValue,e.unref(u.dataLabel)({p:t.value.valuePrefix,v:l.absoluteValue,s:t.value.valueSuffix,r:t.value.dataLabelRoundingValue}),{datapoint:l,seriesIndex:r})),5),x.value.includes(l.id)?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle(`font-size:${t.value.legendFontSize}px`)}," ( - % ) ",4)):oe.value?(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle(`font-size:${t.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)}," ( - % ) ",4)):(e.openBlock(),e.createElementBlock("span",{key:2,style:e.normalizeStyle(`font-size:${t.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)}," ("+e.toDisplayString(e.unref(u.dataLabel)({v:l.value/w.value.total*100,s:"%",r:t.value.dataLabelRoundingPercentage}))+") ",5))],64))],12,dl))),256)):e.createCommentVNode("",!0),b.value===S.LINE?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(d.value.legend,(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-quick-chart-legend-item",onClick:i=>{fe(l.id,d.value.legend.length-1),h("selectLegend",l)},style:e.normalizeStyle(`cursor: ${d.value.legend.length>1?"pointer":"default"}; opacity:${x.value.includes(l.id)?"0.5":"1"}`)},[t.value.useCustomLegend?e.renderSlot(n.$slots,"legend",e.normalizeProps(e.mergeProps({key:0},{legend:l})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(ne.default,{name:t.value.legendIcon,stroke:l.color,size:t.value.legendIconSize},null,8,["name","stroke","size"]),e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${t.value.legendFontSize}px`)},e.toDisplayString(l.name),5)],64))],12,vl))),256)):e.createCommentVNode("",!0),b.value===S.BAR?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(c.value.legend,(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-quick-chart-legend-item",onClick:i=>{fe(l.id,c.value.legend.length-1),h("selectLegend",l)},style:e.normalizeStyle(`cursor: ${c.value.legend.length>1?"pointer":"default"}; opacity:${x.value.includes(l.id)?"0.5":"1"}`)},[t.value.useCustomLegend?e.renderSlot(n.$slots,"legend",e.normalizeProps(e.mergeProps({key:0},{legend:l})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(ne.default,{name:t.value.legendIcon,stroke:l.color,size:t.value.legendIconSize},null,8,["name","stroke","size"]),e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${t.value.legendFontSize}px`)},e.toDisplayString(l.name),5)],64))],12,ml))),256)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),e.createVNode(Pe._sfc_main,{show:le.value.showTooltip&&$.value,backgroundColor:t.value.backgroundColor,color:t.value.color,borderRadius:t.value.tooltipBorderRadius,borderColor:t.value.tooltipBorderColor,borderWidth:t.value.tooltipBorderWidth,fontSize:t.value.tooltipFontSize,backgroundOpacity:t.value.tooltipBackgroundOpacity,position:t.value.tooltipPosition,offsetY:t.value.tooltipOffsetY,parent:F.value,content:R.value,isCustom:e.unref(u.isFunction)(t.value.tooltipCustomFormat)},{"tooltip-before":e.withCtx(()=>[e.renderSlot(n.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...G.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(n.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...G.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isCustom"])],14,je)):(e.openBlock(),e.createElementBlock("div",hl,[e.createVNode(ne.default,{name:"circleCancel",stroke:"red"}),fl]))}},kl=Ie._export_sfc(pl,[["__scopeId","data-v-1f3ccedc"]]);exports.default=kl;