vue-data-ui 2.3.61 → 2.3.62

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 (162) hide show
  1. package/dist/{Arrow-B5nYwPUt.js → Arrow-Dho8ylDy.js} +1 -1
  2. package/dist/{Arrow-Dv_tprAO.cjs → Arrow-ov-EIAPu.cjs} +1 -1
  3. package/dist/{BaseIcon-aPcCSO_Z.cjs → BaseIcon-B6v-Txn-.cjs} +1 -1
  4. package/dist/{BaseIcon-DUPLRuLO.js → BaseIcon-BNStcP8c.js} +1 -1
  5. package/dist/{DataTable-NUzEZXWt.js → DataTable-luIjNnne.js} +2 -2
  6. package/dist/{DataTable-B6xCb-DR.cjs → DataTable-yf_eyv8c.cjs} +1 -1
  7. package/dist/{Legend-ePmJ_YIA.cjs → Legend-6JY5pUsT.cjs} +1 -1
  8. package/dist/{Legend-C3tseguI.js → Legend-B9dawQa7.js} +1 -1
  9. package/dist/{Shape-DAe5uqIA.cjs → Shape-BoXM3HKY.cjs} +1 -1
  10. package/dist/{Shape-BPcWPP9D.js → Shape-BsAETTif.js} +1 -1
  11. package/dist/{Slicer-BJs52Jle.cjs → Slicer-DoMAeSUY.cjs} +1 -1
  12. package/dist/{Slicer-CmHwU6if.js → Slicer-iGmqxtRQ.js} +9 -9
  13. package/dist/{Title-B_p983os.cjs → Title-CBcoQe02.cjs} +1 -1
  14. package/dist/{Title-BAQrVaNA.js → Title-fb3BzoXj.js} +1 -1
  15. package/dist/{Tooltip-C2dhDgoh.cjs → Tooltip-BhuD1Kc5.cjs} +1 -1
  16. package/dist/{Tooltip-B73tTE2v.js → Tooltip-CBugtvWB.js} +5 -5
  17. package/dist/{index-CwG--L4Z.js → index-BshV7sX1.js} +538 -515
  18. package/dist/{index-nPEJmXmf.cjs → index-D2ZScauW.cjs} +4 -4
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-BqwYEJGM.js → useNestedProp-B235bkr5.js} +1 -1
  21. package/dist/{useNestedProp-TbnnNrH2.cjs → useNestedProp-BU7yyXFA.cjs} +1 -1
  22. package/dist/{usePrinter-Do9tGYem.js → usePrinter-Culo-aKo.js} +1 -1
  23. package/dist/{usePrinter-D012Olnq.cjs → usePrinter-eqT4IYET.cjs} +1 -1
  24. package/dist/{vue-data-ui-DQAJDvpX.cjs → vue-data-ui-B7ebF4_E.cjs} +1 -1
  25. package/dist/{vue-data-ui-ORLyt-v3.js → vue-data-ui-aJ6K70wA.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +7 -7
  28. package/dist/{vue-ui-3d-bar--ztApFzW.js → vue-ui-3d-bar-BYgxIW27.js} +7 -7
  29. package/dist/{vue-ui-3d-bar-BRbooRg3.cjs → vue-ui-3d-bar-DFv8qpsI.cjs} +1 -1
  30. package/dist/{vue-ui-accordion-Be_wWB1T.js → vue-ui-accordion-B6AxEnAr.js} +3 -3
  31. package/dist/{vue-ui-accordion-CHL4xuW4.cjs → vue-ui-accordion-BhCJcWDd.cjs} +1 -1
  32. package/dist/vue-ui-age-pyramid-BBRjCRtS.cjs +1 -0
  33. package/dist/{vue-ui-age-pyramid-DLIladXC.js → vue-ui-age-pyramid-yZrvdnPP.js} +226 -226
  34. package/dist/{vue-ui-annotator-CS2d8F8x.cjs → vue-ui-annotator-CEVmAufb.cjs} +1 -1
  35. package/dist/{vue-ui-annotator-Bxrjl1nz.js → vue-ui-annotator-ZKUlOqUq.js} +1 -1
  36. package/dist/{vue-ui-candlestick-tumv-lhv.cjs → vue-ui-candlestick-CUNLZRIM.cjs} +2 -2
  37. package/dist/{vue-ui-candlestick-BppLVU6c.js → vue-ui-candlestick-De4WgpPk.js} +158 -158
  38. package/dist/{vue-ui-carousel-table-BsFNypM6.cjs → vue-ui-carousel-table-C968uL6J.cjs} +1 -1
  39. package/dist/{vue-ui-carousel-table-BnOsmGVc.js → vue-ui-carousel-table-DJ0AWPea.js} +4 -4
  40. package/dist/{vue-ui-chestnut-DFb7M_SC.js → vue-ui-chestnut-Cl0UKWsI.js} +65 -64
  41. package/dist/{vue-ui-chestnut-tK8ebPQM.cjs → vue-ui-chestnut-DmjmL02K.cjs} +3 -3
  42. package/dist/{vue-ui-cursor-CYk61ZVK.js → vue-ui-cursor-BWyE3tgm.js} +2 -2
  43. package/dist/{vue-ui-cursor-D-eRMlWI.cjs → vue-ui-cursor-D5XEblLW.cjs} +1 -1
  44. package/dist/{vue-ui-dashboard-Cbk74q7K.cjs → vue-ui-dashboard-BJLi81kg.cjs} +1 -1
  45. package/dist/{vue-ui-dashboard-BomFWtsP.js → vue-ui-dashboard-D9dQIIti.js} +2 -2
  46. package/dist/{vue-ui-digits-Ch9quA4D.js → vue-ui-digits-DkYpomD9.js} +2 -2
  47. package/dist/{vue-ui-digits-DWJOvgi2.cjs → vue-ui-digits-IIiSTczs.cjs} +1 -1
  48. package/dist/{vue-ui-donut-BIMgi_Qw.cjs → vue-ui-donut-Bq66xmG0.cjs} +1 -1
  49. package/dist/{vue-ui-donut-evolution-ClNciLi2.js → vue-ui-donut-evolution-Bto1ZaWx.js} +95 -95
  50. package/dist/vue-ui-donut-evolution-CNVUtEEk.cjs +1 -0
  51. package/dist/{vue-ui-donut-Ctzc7e6_.js → vue-ui-donut-uujhj36t.js} +42 -42
  52. package/dist/vue-ui-dumbbell-CLNVYG0j.cjs +9 -0
  53. package/dist/{vue-ui-dumbbell-IBrAHdlc.js → vue-ui-dumbbell-D6Xyfvff.js} +72 -72
  54. package/dist/vue-ui-flow-BwrqexSU.cjs +1 -0
  55. package/dist/vue-ui-flow-Cg4oKZz8.js +469 -0
  56. package/dist/{vue-ui-galaxy-BBKU6WqV.js → vue-ui-galaxy-D_s9dfYN.js} +91 -91
  57. package/dist/vue-ui-galaxy-DixlciaO.cjs +1 -0
  58. package/dist/{vue-ui-gauge-CDpN6D_X.js → vue-ui-gauge-DGQVW6UO.js} +84 -84
  59. package/dist/vue-ui-gauge-Jse5ZYyj.cjs +1 -0
  60. package/dist/{vue-ui-gizmo-BS-olrbu.js → vue-ui-gizmo-DDTaLaSI.js} +2 -2
  61. package/dist/{vue-ui-gizmo-Dyi4DWSA.cjs → vue-ui-gizmo-sgq75uBG.cjs} +1 -1
  62. package/dist/vue-ui-heatmap-4-gnNgQ_.cjs +1 -0
  63. package/dist/{vue-ui-heatmap-Bonl3GBj.js → vue-ui-heatmap-Dvd5ZGVw.js} +257 -239
  64. package/dist/{vue-ui-kpi-ChD3Gh4P.cjs → vue-ui-kpi-Co1WqN3k.cjs} +1 -1
  65. package/dist/{vue-ui-kpi-MeC195T8.js → vue-ui-kpi-aLwUkIjv.js} +3 -3
  66. package/dist/{vue-ui-mini-loader-l2G4D7lJ.js → vue-ui-mini-loader-Bm2xpTIh.js} +2 -2
  67. package/dist/{vue-ui-mini-loader-NiTij5XQ.cjs → vue-ui-mini-loader-D98KCpoT.cjs} +1 -1
  68. package/dist/{vue-ui-molecule-pXZ3aWlr.cjs → vue-ui-molecule-C3-9ojnv.cjs} +1 -1
  69. package/dist/{vue-ui-molecule-C1dO-Ony.js → vue-ui-molecule-Dv4hYPVd.js} +20 -20
  70. package/dist/{vue-ui-mood-radar-C3Gv4iYr.cjs → vue-ui-mood-radar-Dh3Q2NiI.cjs} +1 -1
  71. package/dist/{vue-ui-mood-radar-BVpJ3O4m.js → vue-ui-mood-radar-DsIPsXTh.js} +9 -9
  72. package/dist/{vue-ui-nested-donuts-Cwk0M7SE.cjs → vue-ui-nested-donuts-CFC8tyGY.cjs} +2 -2
  73. package/dist/{vue-ui-nested-donuts-Dmeqsml8.js → vue-ui-nested-donuts-CZ9vcclX.js} +120 -120
  74. package/dist/{vue-ui-onion-BmJO696O.cjs → vue-ui-onion-BLV33CBr.cjs} +1 -1
  75. package/dist/{vue-ui-onion-Ogj_rMlX.js → vue-ui-onion-CI9ARfRM.js} +9 -9
  76. package/dist/{vue-ui-parallel-coordinate-plot-Cqm7uMBs.cjs → vue-ui-parallel-coordinate-plot-CIhpHeCI.cjs} +1 -1
  77. package/dist/{vue-ui-parallel-coordinate-plot-BBBuJdGN.js → vue-ui-parallel-coordinate-plot-CxzFJuza.js} +69 -69
  78. package/dist/{vue-ui-quadrant-DcqQwIsD.cjs → vue-ui-quadrant-CS3LAiCu.cjs} +1 -1
  79. package/dist/{vue-ui-quadrant-BJtgJ_lu.js → vue-ui-quadrant-DenUcNcS.js} +36 -36
  80. package/dist/{vue-ui-quick-chart-D7dCfDSL.js → vue-ui-quick-chart-BdpKv0ES.js} +549 -515
  81. package/dist/vue-ui-quick-chart-UxaO0jzI.cjs +15 -0
  82. package/dist/vue-ui-radar-CQ-LymAS.cjs +1 -0
  83. package/dist/{vue-ui-radar-BMxzhMFJ.js → vue-ui-radar-Dd24aGwh.js} +59 -59
  84. package/dist/{vue-ui-rating-DSgHml7s.js → vue-ui-rating-CQWK2lk1.js} +9 -9
  85. package/dist/{vue-ui-rating-buop0ul0.cjs → vue-ui-rating-DTuDjrt8.cjs} +1 -1
  86. package/dist/{vue-ui-relation-circle-CdHbZK0u.js → vue-ui-relation-circle-BcOzK8Iz.js} +5 -5
  87. package/dist/{vue-ui-relation-circle-BACMnvv8.cjs → vue-ui-relation-circle-DMhNCwpg.cjs} +1 -1
  88. package/dist/vue-ui-rings--pu1fIcl.cjs +2 -0
  89. package/dist/{vue-ui-rings-BBnzxfo2.js → vue-ui-rings-yyFx2W1b.js} +188 -185
  90. package/dist/{vue-ui-scatter-DYXhTzch.js → vue-ui-scatter-BV4sXNqz.js} +378 -375
  91. package/dist/{vue-ui-scatter-sF3c5eqM.cjs → vue-ui-scatter-CrmsJjjl.cjs} +1 -1
  92. package/dist/{vue-ui-screenshot-B4WOalT6.js → vue-ui-screenshot-C6wYv3cc.js} +6 -6
  93. package/dist/{vue-ui-screenshot-D-6YvKkW.cjs → vue-ui-screenshot-eoAWixSo.cjs} +1 -1
  94. package/dist/{vue-ui-skeleton-ClzVF3vm.js → vue-ui-skeleton-7qakoAGH.js} +23 -23
  95. package/dist/{vue-ui-skeleton-D6wHGzmu.cjs → vue-ui-skeleton-BLhbQje-.cjs} +1 -1
  96. package/dist/{vue-ui-smiley-B1cqwAN5.js → vue-ui-smiley-DG3_ORXA.js} +2 -2
  97. package/dist/{vue-ui-smiley-CoVnFdkD.cjs → vue-ui-smiley-sS92V85O.cjs} +1 -1
  98. package/dist/vue-ui-spark-trend-C9Ii4Ue5.cjs +1 -0
  99. package/dist/vue-ui-spark-trend-D8_rEspZ.js +251 -0
  100. package/dist/{vue-ui-sparkbar-CpIfPtyd.cjs → vue-ui-sparkbar-CQz9GWxh.cjs} +1 -1
  101. package/dist/{vue-ui-sparkbar-BOzSGZak.js → vue-ui-sparkbar-DuNNnbs9.js} +3 -3
  102. package/dist/{vue-ui-sparkgauge-4hk6ZJwJ.js → vue-ui-sparkgauge-Buo2ms6b.js} +64 -64
  103. package/dist/vue-ui-sparkgauge-Dxsnkehz.cjs +1 -0
  104. package/dist/{vue-ui-sparkhistogram-VCAQZfgG.cjs → vue-ui-sparkhistogram-Cw-w_Rhv.cjs} +1 -1
  105. package/dist/{vue-ui-sparkhistogram-8degKlMU.js → vue-ui-sparkhistogram-edeeQ1HN.js} +4 -4
  106. package/dist/{vue-ui-sparkline-DsUwWV4z.cjs → vue-ui-sparkline-Cyddej9t.cjs} +1 -1
  107. package/dist/{vue-ui-sparkline-uBkd9kR2.js → vue-ui-sparkline-DGIqGoR2.js} +25 -25
  108. package/dist/{vue-ui-sparkstackbar-DyNfMGkM.cjs → vue-ui-sparkstackbar-DN0XiDpQ.cjs} +1 -1
  109. package/dist/{vue-ui-sparkstackbar-Cpq2lHcl.js → vue-ui-sparkstackbar-G7Ojd39B.js} +3 -3
  110. package/dist/{vue-ui-stackbar-lr_qudpY.js → vue-ui-stackbar-CfK9lv_E.js} +35 -35
  111. package/dist/{vue-ui-stackbar-jQe7BneA.cjs → vue-ui-stackbar-kiZ9J1eh.cjs} +1 -1
  112. package/dist/vue-ui-strip-plot-Bd4NwUia.cjs +1 -0
  113. package/dist/{vue-ui-strip-plot-DwvlcnHB.js → vue-ui-strip-plot-d-bNHZDG.js} +64 -64
  114. package/dist/{vue-ui-table-D5ybohqp.cjs → vue-ui-table-ChORiy2h.cjs} +1 -1
  115. package/dist/{vue-ui-table-heatmap-CChLZdxj.cjs → vue-ui-table-heatmap-BcA1TmV1.cjs} +1 -1
  116. package/dist/{vue-ui-table-heatmap-BY65DeiH.js → vue-ui-table-heatmap-BcPqaYXz.js} +26 -26
  117. package/dist/{vue-ui-table-Dhj4_z9d.js → vue-ui-table-ipCsGZPx.js} +1 -1
  118. package/dist/{vue-ui-table-sparkline-CvMETVJ1.js → vue-ui-table-sparkline-BwwiWOX_.js} +13 -13
  119. package/dist/{vue-ui-table-sparkline-Cmy6PcPI.cjs → vue-ui-table-sparkline-dXyBTv6X.cjs} +1 -1
  120. package/dist/vue-ui-thermometer-DpWtOskJ.cjs +1 -0
  121. package/dist/{vue-ui-thermometer-BIN2ofrh.js → vue-ui-thermometer-U5IIot6j.js} +116 -116
  122. package/dist/{vue-ui-timer-DBcOT10h.cjs → vue-ui-timer-DqVQjRdU.cjs} +1 -1
  123. package/dist/{vue-ui-timer-DoSqphvk.js → vue-ui-timer-cCfNkOpe.js} +4 -4
  124. package/dist/{vue-ui-tiremarks-DRTLsMWt.js → vue-ui-tiremarks-BcXrnO0N.js} +71 -71
  125. package/dist/vue-ui-tiremarks-C8pNPR_E.cjs +1 -0
  126. package/dist/vue-ui-treemap-24TuOX-H.cjs +1 -0
  127. package/dist/{vue-ui-treemap-D8-D_wfq.js → vue-ui-treemap-CVCaxcwW.js} +89 -82
  128. package/dist/{vue-ui-vertical-bar-zUaXmUpB.js → vue-ui-vertical-bar-Cuz2Qxi6.js} +246 -242
  129. package/dist/vue-ui-vertical-bar-kZxc3vG5.cjs +4 -0
  130. package/dist/{vue-ui-waffle-CztGir7e.js → vue-ui-waffle-BVFZf7mm.js} +44 -44
  131. package/dist/{vue-ui-waffle-RCqpPcSF.cjs → vue-ui-waffle-X-mNfs6F.cjs} +1 -1
  132. package/dist/{vue-ui-wheel-CBqL8FKG.cjs → vue-ui-wheel-CWOh-9CT.cjs} +1 -1
  133. package/dist/{vue-ui-wheel-BQ2a-ZyV.js → vue-ui-wheel-SUtbKs4l.js} +5 -5
  134. package/dist/vue-ui-word-cloud-BE_jkp2h.cjs +1 -0
  135. package/dist/{vue-ui-word-cloud-CKUGIGnW.js → vue-ui-word-cloud-DAa0far7.js} +68 -65
  136. package/dist/vue-ui-xy-BTocPMsA.cjs +3 -0
  137. package/dist/{vue-ui-xy-Dsa2tfKS.js → vue-ui-xy-B_dmMYPU.js} +82 -82
  138. package/dist/vue-ui-xy-canvas-BtuD8xjy.cjs +9 -0
  139. package/dist/{vue-ui-xy-canvas-JeNqaB_p.js → vue-ui-xy-canvas-jq1j84oA.js} +122 -121
  140. package/package.json +1 -1
  141. package/dist/vue-ui-age-pyramid-BILMRRi1.cjs +0 -1
  142. package/dist/vue-ui-donut-evolution-K7LUkN6q.cjs +0 -1
  143. package/dist/vue-ui-dumbbell-HVpK20XO.cjs +0 -9
  144. package/dist/vue-ui-flow-CiXnGdNb.js +0 -465
  145. package/dist/vue-ui-flow-ClV2yd8Y.cjs +0 -1
  146. package/dist/vue-ui-galaxy-CMCXCWDA.cjs +0 -1
  147. package/dist/vue-ui-gauge-DwCGaX1h.cjs +0 -1
  148. package/dist/vue-ui-heatmap-WFNo-GFX.cjs +0 -1
  149. package/dist/vue-ui-quick-chart-D9zFHA0L.cjs +0 -15
  150. package/dist/vue-ui-radar-D8ik0Fqr.cjs +0 -1
  151. package/dist/vue-ui-rings-Dn5opKNy.cjs +0 -2
  152. package/dist/vue-ui-spark-trend-DnO4DW0n.cjs +0 -1
  153. package/dist/vue-ui-spark-trend-HioE2zeC.js +0 -251
  154. package/dist/vue-ui-sparkgauge-C2_I0tyO.cjs +0 -1
  155. package/dist/vue-ui-strip-plot-BMKaWqD4.cjs +0 -1
  156. package/dist/vue-ui-thermometer-Bfp-FwRE.cjs +0 -1
  157. package/dist/vue-ui-tiremarks-BeBJHz2R.cjs +0 -1
  158. package/dist/vue-ui-treemap-DqBukSj6.cjs +0 -1
  159. package/dist/vue-ui-vertical-bar-BM3aaSuB.cjs +0 -4
  160. package/dist/vue-ui-word-cloud-BbnU0d3E.cjs +0 -1
  161. package/dist/vue-ui-xy-BU0fCkSk.cjs +0 -3
  162. package/dist/vue-ui-xy-canvas-IaIARWWS.cjs +0 -9
@@ -1,143 +1,144 @@
1
- import { ref as E, computed as W, onMounted as tt, onBeforeUnmount as at, openBlock as a, createElementBlock as l, normalizeClass as ie, normalizeStyle as F, createBlock as Ue, unref as y, createSlots as lt, withCtx as ee, renderSlot as D, normalizeProps as Y, guardReactiveProps as ce, createCommentVNode as m, toDisplayString as I, createElementVNode as _, Fragment as g, renderList as L, mergeProps as $e, createVNode as he, pushScopeId as ot, popScopeId as it } from "vue";
2
- import { u as ut, c as nt, t as rt, a as st, p as U, b as vt, d as Ce, m as dt, A as De, X as ct, j as ht, k as fe, n as Pe, i as H, f as N, N as Ve, w as Se, x as Te } from "./index-CwG--L4Z.js";
3
- import { t as ft, u as gt } from "./useResponsive-NZB-WLRF.js";
4
- import we from "./BaseIcon-DUPLRuLO.js";
5
- import { _ as mt } from "./Tooltip-B73tTE2v.js";
6
- import { u as pt, U as xt } from "./usePrinter-Do9tGYem.js";
7
- import { S as yt } from "./Slicer-CmHwU6if.js";
8
- import { u as qe } from "./useNestedProp-BqwYEJGM.js";
9
- import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
1
+ import { ref as T, computed as W, watch as at, onMounted as lt, onBeforeUnmount as ot, openBlock as a, createElementBlock as l, normalizeClass as ue, normalizeStyle as F, createBlock as Ce, unref as f, createSlots as it, withCtx as te, renderSlot as D, normalizeProps as Y, guardReactiveProps as he, createCommentVNode as p, toDisplayString as I, createElementVNode as _, Fragment as m, renderList as L, mergeProps as Pe, createVNode as fe, pushScopeId as ut, popScopeId as nt } from "vue";
2
+ import { u as rt, c as st, t as vt, a as dt, p as U, b as ct, F as ht, e as ft, d as Ee, m as gt, B as Ve, X as mt, j as pt, k as ge, n as Te, i as H, f as M, P as qe, s as X, x as we, y as Ie } from "./index-BshV7sX1.js";
3
+ import { t as xt, u as yt } from "./useResponsive-NZB-WLRF.js";
4
+ import _e from "./BaseIcon-BNStcP8c.js";
5
+ import { _ as kt } from "./Tooltip-CBugtvWB.js";
6
+ import { u as bt, U as St } from "./usePrinter-Culo-aKo.js";
7
+ import { S as wt } from "./Slicer-iGmqxtRQ.js";
8
+ import _t from "./vue-ui-skeleton-7qakoAGH.js";
9
+ import { u as We } from "./useNestedProp-B235bkr5.js";
10
+ import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
11
  const A = {
11
12
  LINE: "LINE",
12
13
  BAR: "BAR",
13
14
  DONUT: "DONUT"
14
- }, bt = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
15
- function St({ dataset: s, barLineSwitch: z = 6 }) {
16
- let f = null, R = null, V = 0;
17
- if ((typeof s == "number" || typeof s == "string") && console.warn(`The provided dataset (${s}) is not sufficient to build a chart`), ge(s) && (X(s) && (s.length < z ? f = A.BAR : f = A.LINE, R = s, V = s.length), _e(s))) {
18
- if (!_t(s))
15
+ }, Lt = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
16
+ function zt({ dataset: s, barLineSwitch: $ = 6 }) {
17
+ let g = null, R = null, V = 0;
18
+ if ((typeof s == "number" || typeof s == "string") && console.warn(`The provided dataset (${s}) is not sufficient to build a chart`), me(s) && (Z(s) && (s.length < $ ? g = A.BAR : g = A.LINE, R = s, V = s.length), Ae(s))) {
19
+ if (!Ct(s))
19
20
  return console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
20
- const ae = Object.keys(s[0]), ue = Object.values(s[0]);
21
- if (!ae.some((C) => At(C)))
21
+ const le = Object.keys(s[0]), ne = Object.values(s[0]);
22
+ if (!le.some((P) => Pt(P)))
22
23
  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;
23
- We(ue, (C) => typeof C == "number") && (f = A.DONUT, R = s), We(ue, (C) => Array.isArray(C) && X(C)) && (je(s) > z ? f = A.LINE : f = A.BAR, V = je(s), R = s.map((C) => ({
24
- ...C,
25
- data: Lt(C, (G) => X(G))
26
- }))), s = s.map((C) => Ge(C)), R = R.map((C) => Ge(C));
24
+ je(ne, (P) => typeof P == "number") && (g = A.DONUT, R = s), je(ne, (P) => Array.isArray(P) && Z(P)) && (Ge(s) > $ ? g = A.LINE : g = A.BAR, V = Ge(s), R = s.map((P) => ({
25
+ ...P,
26
+ data: Et(P, (G) => Z(G))
27
+ }))), s = s.map((P) => He(P)), R = R.map((P) => He(P));
27
28
  }
28
- return ge(s) && [...new Set(s.flatMap((ae) => Array.isArray(ae)))][0], {
29
+ return me(s) && [...new Set(s.flatMap((le) => Array.isArray(le)))][0], {
29
30
  dataset: s,
30
- type: f,
31
+ type: g,
31
32
  usableDataset: R,
32
33
  maxSeriesLength: V
33
34
  };
34
35
  }
35
- function He(s) {
36
- return !s || ge(s) && !s.length;
36
+ function Xe(s) {
37
+ return !s || me(s) && !s.length;
37
38
  }
38
- function ge(s) {
39
+ function me(s) {
39
40
  return Array.isArray(s);
40
41
  }
41
- function X(s) {
42
- if (!ge(s) || He(s)) return !1;
43
- const z = s.map((f) => Number(f));
44
- return ![...new Set(z.flatMap((f) => typeof f == "number" && !isNaN(f)))].includes(!1);
42
+ function Z(s) {
43
+ if (!me(s) || Xe(s)) return !1;
44
+ const $ = s.map((g) => Number(g));
45
+ return ![...new Set($.flatMap((g) => typeof g == "number" && !isNaN(g)))].includes(!1);
45
46
  }
46
- function _e(s) {
47
- return !ge(s) || He(s) || !![...new Set(s.flatMap((f) => typeof f == "object" && !Array.isArray(f)))].includes(!1) ? !1 : !s.map((f) => Object.keys(f).length > 0).includes(!1);
47
+ function Ae(s) {
48
+ return !me(s) || Xe(s) || !![...new Set(s.flatMap((g) => typeof g == "object" && !Array.isArray(g)))].includes(!1) ? !1 : !s.map((g) => Object.keys(g).length > 0).includes(!1);
48
49
  }
49
- function wt(s, z) {
50
- const f = Object.keys(s).sort(), R = Object.keys(z).sort();
51
- if (f.length !== R.length)
50
+ function $t(s, $) {
51
+ const g = Object.keys(s).sort(), R = Object.keys($).sort();
52
+ if (g.length !== R.length)
52
53
  return !1;
53
- for (let V = 0; V < f.length; V += 1) {
54
- const j = f[V], te = R[V];
55
- if (j !== te || typeof s[j] != typeof z[te])
54
+ for (let V = 0; V < g.length; V += 1) {
55
+ const j = g[V], ae = R[V];
56
+ if (j !== ae || typeof s[j] != typeof $[ae])
56
57
  return !1;
57
58
  }
58
59
  return !0;
59
60
  }
60
- function _t(s) {
61
+ function Ct(s) {
61
62
  if (s.length <= 1) return !0;
62
- for (let z = 0; z < s.length; z += 1)
63
- for (let f = z + 1; f < s.length; f += 1)
64
- if (!wt(s[z], s[f]))
63
+ for (let $ = 0; $ < s.length; $ += 1)
64
+ for (let g = $ + 1; g < s.length; g += 1)
65
+ if (!$t(s[$], s[g]))
65
66
  return !1;
66
67
  return !0;
67
68
  }
68
- function At(s) {
69
- return bt.includes(s.toUpperCase());
69
+ function Pt(s) {
70
+ return Lt.includes(s.toUpperCase());
70
71
  }
71
- function We(s, z) {
72
- let f = [];
72
+ function je(s, $) {
73
+ let g = [];
73
74
  for (let R = 0; R < s.length; R += 1)
74
- f.push(z(s[R]));
75
- return f.includes(!0);
75
+ g.push($(s[R]));
76
+ return g.includes(!0);
76
77
  }
77
- function je(s) {
78
- return Math.max(...[...s].flatMap((z) => Object.values(z).filter((f) => X(f)).map((f) => f.length)));
78
+ function Ge(s) {
79
+ return Math.max(...[...s].flatMap(($) => Object.values($).filter((g) => Z(g)).map((g) => g.length)));
79
80
  }
80
- function Lt(s, z) {
81
- return Object.values(s).filter((f) => z(f))[0];
81
+ function Et(s, $) {
82
+ return Object.values(s).filter((g) => $(g))[0];
82
83
  }
83
- function Ge(s) {
84
- const z = {};
85
- for (let f in s)
86
- s.hasOwnProperty(f) && (z[f.toUpperCase()] = s[f]);
87
- return z;
84
+ function He(s) {
85
+ const $ = {};
86
+ for (let g in s)
87
+ s.hasOwnProperty(g) && ($[g.toUpperCase()] = s[g]);
88
+ return $;
88
89
  }
89
- const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = ["xmlns", "viewBox"], Ct = ["id"], Pt = ["id"], Tt = /* @__PURE__ */ Xe(() => /* @__PURE__ */ _("feColorMatrix", {
90
+ const Ze = (s) => (ut("data-v-37ab2f36"), s = s(), nt(), s), Tt = ["id"], It = ["xmlns", "viewBox"], Rt = ["id"], Nt = ["id"], Ft = /* @__PURE__ */ Ze(() => /* @__PURE__ */ _("feColorMatrix", {
90
91
  type: "saturate",
91
92
  values: "0"
92
- }, null, -1)), Et = ["id"], It = ["flood-color"], Rt = {
93
+ }, null, -1)), Ot = ["id"], Mt = ["flood-color"], Bt = {
93
94
  key: 0,
94
95
  class: "donut-label-connectors"
95
- }, Ot = ["d", "stroke", "stroke-width", "filter"], Ft = ["cx", "cy", "r", "fill"], Mt = ["cx", "cy", "r", "fill", "filter"], Nt = { class: "donut" }, Bt = ["d", "fill", "stroke", "stroke-width", "filter"], Ut = ["d", "onMouseenter", "onClick"], Dt = {
96
+ }, Ut = ["d", "stroke", "stroke-width", "filter"], Dt = ["cx", "cy", "r", "fill"], Vt = ["cx", "cy", "r", "fill", "filter"], qt = { class: "donut" }, Wt = ["d", "fill", "stroke", "stroke-width", "filter"], jt = ["d", "onMouseenter", "onClick"], Gt = {
96
97
  key: 1,
97
98
  class: "donut-labels quick-animation"
98
- }, Vt = ["cx", "cy", "fill", "filter"], qt = ["text-anchor", "x", "y", "fill", "font-size", "filter"], Wt = ["text-anchor", "x", "y", "fill", "font-size", "filter"], jt = {
99
+ }, Ht = ["cx", "cy", "fill", "filter"], Xt = ["text-anchor", "x", "y", "fill", "font-size", "filter"], Zt = ["text-anchor", "x", "y", "fill", "font-size", "filter"], Yt = {
99
100
  key: 2,
100
101
  class: "donut-hollow quick-animation"
101
- }, Gt = ["x", "y", "font-size", "fill"], Ht = ["x", "y", "font-size", "fill"], Xt = {
102
+ }, Jt = ["x", "y", "font-size", "fill"], Qt = ["x", "y", "font-size", "fill"], Kt = {
102
103
  key: 0,
103
104
  class: "line-grid"
104
- }, Yt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Jt = {
105
+ }, ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ta = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], aa = {
105
106
  key: 1,
106
107
  class: "line-axis"
107
- }, Kt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ea = {
108
+ }, la = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], oa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ia = {
108
109
  key: 2,
109
110
  class: "yLabels"
110
- }, ta = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], aa = ["x", "y", "font-size", "fill"], la = {
111
+ }, ua = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], na = ["x", "y", "font-size", "fill"], ra = {
111
112
  key: 3,
112
113
  class: "periodLabels"
113
- }, oa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ia = ["font-size", "text-anchor", "fill", "transform"], ua = { class: "plots" }, na = { class: "line-plot-series" }, ra = ["d", "stroke", "stroke-width"], sa = ["d", "stroke", "stroke-width"], va = ["d", "stroke", "stroke-width"], da = ["d", "stroke", "stroke-width"], ca = ["cx", "cy", "fill", "stroke"], ha = {
114
+ }, sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], va = ["font-size", "text-anchor", "fill", "transform"], da = { class: "plots" }, ca = { class: "line-plot-series" }, ha = ["d", "stroke", "stroke-width"], fa = ["d", "stroke", "stroke-width"], ga = ["d", "stroke", "stroke-width"], ma = ["d", "stroke", "stroke-width"], pa = ["cx", "cy", "fill", "stroke"], xa = {
114
115
  key: 4,
115
116
  class: "dataLabels"
116
- }, fa = ["font-size", "fill", "x", "y"], ga = { class: "tooltip-traps" }, ma = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], pa = {
117
+ }, ya = ["font-size", "fill", "x", "y"], ka = { class: "tooltip-traps" }, ba = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], Sa = {
117
118
  key: 0,
118
119
  class: "line-grid"
119
- }, xa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ya = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ka = {
120
+ }, wa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], _a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Aa = {
120
121
  key: 1,
121
122
  class: "line-axis"
122
- }, ba = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wa = {
123
+ }, La = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], za = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $a = {
123
124
  key: 2,
124
125
  class: "yLabels"
125
- }, _a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Aa = ["x", "y", "font-size", "fill"], La = {
126
+ }, Ca = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pa = ["x", "y", "font-size", "fill"], Ea = {
126
127
  key: 3,
127
128
  class: "periodLabels"
128
- }, za = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $a = ["font-size", "text-anchor", "transform", "fill"], Ca = { class: "plots" }, Pa = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], Ta = ["to"], Ea = ["from", "to"], Ia = {
129
+ }, Ta = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ia = ["font-size", "text-anchor", "transform", "fill"], Ra = { class: "plots" }, Na = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], Fa = ["to"], Oa = ["from", "to"], Ma = {
129
130
  key: 4,
130
131
  class: "dataLabels"
131
- }, Ra = ["x", "y", "font-size", "fill"], Oa = { class: "tooltip-traps" }, Fa = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], Ma = {
132
+ }, Ba = ["x", "y", "font-size", "fill"], Ua = { class: "tooltip-traps" }, Da = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], Va = {
132
133
  key: 3,
133
134
  class: "axis-labels"
134
- }, Na = { key: 0 }, Ba = ["font-size", "fill", "x", "y"], Ua = { key: 1 }, Da = ["font-size", "fill", "x", "y"], Va = { key: 2 }, qa = ["font-size", "fill", "transform"], Wa = { key: 3 }, ja = ["font-size", "fill", "transform"], Ga = {
135
- key: 2,
135
+ }, qa = { key: 0 }, Wa = ["font-size", "fill", "x", "y"], ja = { key: 1 }, Ga = ["font-size", "fill", "x", "y"], Ha = { key: 2 }, Xa = ["font-size", "fill", "transform"], Za = { key: 3 }, Ya = ["font-size", "fill", "transform"], Ja = {
136
+ key: 4,
136
137
  class: "vue-data-ui-watermark"
137
- }, Ha = ["onClick"], Xa = ["onClick"], Ya = ["onClick"], Za = {
138
+ }, Qa = ["onClick"], Ka = ["onClick"], el = ["onClick"], tl = {
138
139
  key: 1,
139
140
  class: "vue-ui-quick-chart-not-processable"
140
- }, Ja = /* @__PURE__ */ Xe(() => /* @__PURE__ */ _("span", null, "Dataset is not processable", -1)), Ka = {
141
+ }, al = /* @__PURE__ */ Ze(() => /* @__PURE__ */ _("span", null, "Dataset is not processable", -1)), ll = {
141
142
  __name: "vue-ui-quick-chart",
142
143
  props: {
143
144
  config: {
@@ -154,49 +155,63 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
154
155
  }
155
156
  },
156
157
  emits: ["selectDatapoint", "selectLegend"],
157
- setup(s, { expose: z, emit: f }) {
158
- const R = s, { vue_ui_quick_chart: V } = ut(), j = E(null), te = E(null), ae = E(null), ue = E(null), C = E(nt()), G = E(!1), ne = E(null), Z = E(""), q = E(null), w = E([]), Ee = E(0), Ae = E(0), e = W(() => {
159
- const r = qe({
158
+ setup(s, { expose: $, emit: g }) {
159
+ const R = s, { vue_ui_quick_chart: V } = rt(), j = T(null), ae = T(null), le = T(null), ne = T(null), P = T(st()), G = T(!1), re = T(null), J = T(""), q = T(null), w = T([]), Re = T(0), Le = T(0), e = W(() => {
160
+ const r = We({
160
161
  userConfig: R.config,
161
162
  defaultConfig: V
162
163
  });
163
164
  return r.theme ? {
164
- ...qe({
165
- userConfig: rt.vue_ui_quick_chart[r.theme] || R.config,
165
+ ...We({
166
+ userConfig: vt.vue_ui_quick_chart[r.theme] || R.config,
166
167
  defaultConfig: r
167
168
  }),
168
- customPalette: st[r.theme] || U
169
+ customPalette: dt[r.theme] || U
169
170
  } : r;
170
- }), re = W(() => vt(e.value.customPalette)), me = W(() => {
171
- const r = St({ dataset: R.dataset, barLineSwitch: e.value.chartIsBarUnderDatasetLength });
172
- return r || console.error("VueUiQuickChart : Dataset is not processable"), r;
173
- }), k = E(me.value), Ye = W(() => !!k.value), P = W(() => k.value ? k.value.type : null), { isPrinting: pe, isImaging: xe, generatePdf: Ie, generateImage: Re } = pt({
174
- elementId: `${P.value}_${C.value}`,
175
- fileName: e.value.title || P.value
176
- }), b = E({
171
+ }), se = W(() => ct(e.value.customPalette)), pe = W(() => {
172
+ const r = zt({ dataset: ht(R.dataset, [
173
+ "serie",
174
+ "series",
175
+ "data",
176
+ "value",
177
+ "values",
178
+ "num"
179
+ ]), barLineSwitch: e.value.chartIsBarUnderDatasetLength });
180
+ return console.log(r), r || console.error("VueUiQuickChart : Dataset is not processable"), r;
181
+ }), k = T(pe.value), Ye = W(() => !!k.value), z = W(() => k.value ? k.value.type : null);
182
+ at(() => z.value, (r) => {
183
+ r || ft({
184
+ componentName: "VueUiQuickChart",
185
+ type: "dataset"
186
+ });
187
+ }, { immediate: !0 });
188
+ const { isPrinting: xe, isImaging: ye, generatePdf: Ne, generateImage: Fe } = bt({
189
+ elementId: `${z.value}_${P.value}`,
190
+ fileName: e.value.title || z.value
191
+ }), b = T({
177
192
  width: e.value.width,
178
193
  height: e.value.height
179
- }), ye = E({
194
+ }), ke = T({
180
195
  showTooltip: e.value.showTooltip
181
- }), ke = E(null);
182
- tt(() => {
196
+ }), be = T(null);
197
+ lt(() => {
183
198
  if (e.value.responsive) {
184
- const r = ft(() => {
185
- const { width: c, height: t } = gt({
199
+ const r = xt(() => {
200
+ const { width: c, height: t } = yt({
186
201
  chart: j.value,
187
- title: e.value.title ? te.value : null,
188
- legend: e.value.showLegend ? ae.value : null,
189
- slicer: [A.BAR, A.LINE].includes(P.value) && e.value.zoomXy && k.value.maxSeriesLength > 1 ? ue.value : null
202
+ title: e.value.title ? ae.value : null,
203
+ legend: e.value.showLegend ? le.value : null,
204
+ slicer: [A.BAR, A.LINE].includes(z.value) && e.value.zoomXy && k.value.maxSeriesLength > 1 ? ne.value : null
190
205
  });
191
206
  b.value.width = c, b.value.height = t;
192
207
  });
193
- ke.value = new ResizeObserver(r), ke.value.observe(j.value.parentNode);
208
+ be.value = new ResizeObserver(r), be.value.observe(j.value.parentNode);
194
209
  }
195
- }), at(() => {
196
- ke.value && ke.value.disconnect();
210
+ }), ot(() => {
211
+ be.value && be.value.disconnect();
197
212
  });
198
- const Ze = W(() => {
199
- switch (P.value) {
213
+ const Je = W(() => {
214
+ switch (z.value) {
200
215
  case A.LINE:
201
216
  return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
202
217
  case A.BAR:
@@ -210,40 +225,40 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
210
225
  function Oe(r) {
211
226
  return [...r].map((c) => c.value).reduce((c, t) => c + t, 0);
212
227
  }
213
- function se(r) {
214
- return e.value.blurOnHover && ![null, void 0].includes(q.value) && q.value !== r ? `url(#blur_${C.value})` : "";
228
+ function ve(r) {
229
+ return e.value.blurOnHover && ![null, void 0].includes(q.value) && q.value !== r ? `url(#blur_${P.value})` : "";
215
230
  }
216
- function Fe(r, c) {
231
+ function Me(r, c) {
217
232
  w.value.includes(r) ? w.value = w.value.filter((t) => t !== r) : w.value.length < c && w.value.push(r);
218
233
  }
219
- const Me = E(null), Ne = E(null), be = E(!1);
220
- function Je(r, c) {
221
- be.value = !0;
234
+ const Be = T(null), Ue = T(null), Se = T(!1);
235
+ function Qe(r, c) {
236
+ Se.value = !0;
222
237
  let t = r.value;
223
238
  if (w.value.includes(r.id)) {
224
239
  let n = function() {
225
- t > u ? (be.value = !1, cancelAnimationFrame(Ne.value), k.value = {
240
+ t > u ? (Se.value = !1, cancelAnimationFrame(Ue.value), k.value = {
226
241
  ...k.value,
227
- dataset: k.value.dataset.map((h, O) => r.id === `donut_${O}` ? {
242
+ dataset: k.value.dataset.map((h, N) => r.id === `donut_${N}` ? {
228
243
  ...h,
229
244
  value: u,
230
245
  VALUE: u
231
246
  } : h)
232
247
  }) : (t += u * 0.025, k.value = {
233
248
  ...k.value,
234
- dataset: k.value.dataset.map((h, O) => r.id === `donut_${O}` ? {
249
+ dataset: k.value.dataset.map((h, N) => r.id === `donut_${N}` ? {
235
250
  ...h,
236
251
  value: t,
237
252
  VALUE: t
238
253
  } : h)
239
- }, Ne.value = requestAnimationFrame(n));
254
+ }, Ue.value = requestAnimationFrame(n));
240
255
  };
241
256
  w.value = w.value.filter((h) => h !== r.id);
242
- const u = me.value.dataset.find((h, O) => r.id === `donut_${O}`).VALUE;
257
+ const u = pe.value.dataset.find((h, N) => r.id === `donut_${N}`).VALUE;
243
258
  n();
244
259
  } else if (c.length > 1) {
245
260
  let u = function() {
246
- t < 0.1 ? (be.value = !1, cancelAnimationFrame(Me.value), w.value.push(r.id), k.value = {
261
+ t < 0.1 ? (Se.value = !1, cancelAnimationFrame(Be.value), w.value.push(r.id), k.value = {
247
262
  ...k.value,
248
263
  dataset: k.value.dataset.map((n, h) => r.id === `donut_${h}` ? {
249
264
  ...n,
@@ -257,13 +272,13 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
257
272
  value: t,
258
273
  VALUE: t
259
274
  } : n)
260
- }, Me.value = requestAnimationFrame(u));
275
+ }, Be.value = requestAnimationFrame(u));
261
276
  };
262
277
  u();
263
278
  }
264
279
  }
265
- const $ = W(() => {
266
- if (P.value !== A.DONUT) return null;
280
+ const C = W(() => {
281
+ if (z.value !== A.DONUT) return null;
267
282
  const r = k.value.dataset.map((o, i) => ({
268
283
  ...o,
269
284
  value: o.VALUE || o.DATA || o.SERIE || o.VALUES || o.NUM || 0,
@@ -271,11 +286,11 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
271
286
  id: `donut_${i}`
272
287
  })).map((o, i) => ({
273
288
  ...o,
274
- color: o.COLOR ? Ce(o.COLOR) : re.value[i + e.value.paletteStartIndex] || U[i + e.value.paletteStartIndex] || U[(i + e.value.paletteStartIndex) % U.length],
289
+ color: o.COLOR ? Ee(o.COLOR) : se.value[i + e.value.paletteStartIndex] || U[i + e.value.paletteStartIndex] || U[(i + e.value.paletteStartIndex) % U.length],
275
290
  immutableValue: o.value
276
291
  }));
277
292
  function c(o, i) {
278
- return N({
293
+ return M({
279
294
  v: isNaN(o.value / Oe(i)) ? 0 : o.value / Oe(i) * 100,
280
295
  s: "%",
281
296
  r: e.value.dataLabelRoundingPercentage
@@ -285,69 +300,69 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
285
300
  return o.proportion * 100 > e.value.donutHideLabelUnderPercentage;
286
301
  }
287
302
  function u(o, i) {
288
- const x = me.value.dataset.find((T, M) => `donut_${M}` === o).VALUE;
289
- return Math.abs(String(Number(x.toFixed(0))).length - String(Number(i.toFixed(0))).length);
303
+ const y = pe.value.dataset.find((E, O) => `donut_${O}` === o).VALUE;
304
+ return Math.abs(String(Number(y.toFixed(0))).length - String(Number(i.toFixed(0))).length);
290
305
  }
291
306
  function n({ datapoint: o, seriesIndex: i }) {
292
- ne.value = { datapoint: o, seriesIndex: i, config: e.value, dataset: r }, q.value = o.id;
293
- const x = e.value.tooltipCustomFormat;
294
- if (Se(x) && Te(() => x({
307
+ re.value = { datapoint: o, seriesIndex: i, config: e.value, dataset: r }, q.value = o.id;
308
+ const y = e.value.tooltipCustomFormat;
309
+ if (we(y) && Ie(() => y({
295
310
  datapoint: o,
296
311
  seriesIndex: i,
297
312
  series: r,
298
313
  config: e.value
299
314
  })))
300
- Z.value = x({
315
+ J.value = y({
301
316
  datapoint: o,
302
317
  seriesIndex: i,
303
318
  series: r,
304
319
  config: e.value
305
320
  });
306
321
  else {
307
- let p = "";
308
- p += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${o.name}</div>`, p += `<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="${o.color}"/></svg>`, p += `<b>${H(
322
+ let x = "";
323
+ x += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${o.name}</div>`, x += `<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="${o.color}"/></svg>`, x += `<b>${H(
309
324
  e.value.formatter,
310
325
  o.value,
311
- N({
326
+ M({
312
327
  p: e.value.valuePrefix,
313
328
  v: o.value,
314
329
  s: e.value.valueSuffix,
315
330
  r: e.value.dataLabelRoundingValue
316
331
  }),
317
332
  { datapoint: o, seriesIndex: i }
318
- )}</b>`, p += `<span>(${N({ v: o.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, Z.value = `<div>${p}</div>`;
333
+ )}</b>`, x += `<span>(${M({ v: o.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, J.value = `<div>${x}</div>`;
319
334
  }
320
335
  G.value = !0;
321
336
  }
322
337
  function h() {
323
338
  G.value = !1, q.value = null;
324
339
  }
325
- const O = {
340
+ const N = {
326
341
  centerX: b.value.width / 2,
327
342
  centerY: b.value.height / 2
328
- }, B = r.filter((o) => !w.value.includes(o.id)).map((o) => o.value || 0).reduce((o, i) => o + i, 0), le = r.map((o, i) => ({
343
+ }, B = r.filter((o) => !w.value.includes(o.id)).map((o) => o.value || 0).reduce((o, i) => o + i, 0), oe = r.map((o, i) => ({
329
344
  ...o,
330
345
  proportion: (o.value || 0) / B,
331
346
  value: o.value || 0,
332
- absoluteValue: me.value.dataset.find((x, p) => `donut_${p}` === o.id).VALUE
333
- })), J = b.value.width / 2, oe = b.value.height / 2, K = b.value.height * e.value.donutRadiusRatio;
347
+ absoluteValue: pe.value.dataset.find((y, x) => `donut_${x}` === o.id).VALUE
348
+ })), Q = b.value.width / 2, ie = b.value.height / 2, K = b.value.height * e.value.donutRadiusRatio;
334
349
  return {
335
- dataset: le.filter((o) => !w.value.includes(o.id)),
336
- legend: le,
337
- drawingArea: O,
350
+ dataset: oe.filter((o) => !w.value.includes(o.id)),
351
+ legend: oe,
352
+ drawingArea: N,
338
353
  displayArcPercentage: c,
339
354
  isArcBigEnough: t,
340
355
  useTooltip: n,
341
356
  killTooltip: h,
342
357
  getSpaces: u,
343
358
  total: B,
344
- cx: J,
345
- cy: oe,
359
+ cx: Q,
360
+ cy: ie,
346
361
  radius: K,
347
- chart: dt(
362
+ chart: gt(
348
363
  { series: r.filter((o) => !w.value.includes(o.id)) },
349
- J,
350
- oe,
364
+ Q,
365
+ ie,
351
366
  K,
352
367
  K,
353
368
  1.99999,
@@ -358,7 +373,7 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
358
373
  b.value.height * e.value.donutThicknessRatio
359
374
  )
360
375
  };
361
- }), S = E({
376
+ }), S = T({
362
377
  start: 0,
363
378
  end: k.value.maxSeriesLength
364
379
  });
@@ -366,26 +381,26 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
366
381
  S.value = {
367
382
  start: 0,
368
383
  end: k.value.maxSeriesLength
369
- }, Ae.value += 1;
384
+ }, Le.value += 1;
370
385
  }
371
- const Qe = W(() => {
372
- if (!e.value.zoomMinimap.show || P.value === A.DONUT) return [];
386
+ const et = W(() => {
387
+ if (!e.value.zoomMinimap.show || z.value === A.DONUT) return [];
373
388
  let r = [];
374
- X(k.value.dataset) && (r = k.value.dataset), _e(k.value.dataset) && (r = k.value.dataset.map((n, h) => ({
375
- values: n.VALUE || n.DATA || n.SERIE || n.VALUES || n.NUM || 0,
376
- id: P.value === A.LINE ? `line_${h}` : `bar_${h}`
389
+ Z(k.value.dataset) && (r = k.value.dataset), Ae(k.value.dataset) && (r = k.value.dataset.map((n, h) => ({
390
+ values: n.VALUE || n.DATA || n.SERIE || n.SERIES || n.VALUES || n.NUM || 0,
391
+ id: z.value === A.LINE ? `line_${h}` : `bar_${h}`
377
392
  })).filter((n) => !w.value.includes(n.id)));
378
- const c = X(r) ? r.length : Math.max(...r.map((n) => n.values.length));
393
+ const c = Z(r) ? r.length : Math.max(...r.map((n) => n.values.length));
379
394
  let t = [];
380
- if (X(r))
395
+ if (Z(r))
381
396
  t = r;
382
397
  else
383
398
  for (let n = 0; n < c; n += 1)
384
- t.push(r.map((h) => h.values[n] || 0).reduce((h, O) => (h || 0) + (O || 0), 0));
399
+ t.push(r.map((h) => h.values[n] || 0).reduce((h, N) => (h || 0) + (N || 0), 0));
385
400
  const u = Math.min(...t);
386
401
  return t.map((n) => n + (u < 0 ? Math.abs(u) : 0));
387
402
  }), d = W(() => {
388
- if (P.value !== A.LINE) return null;
403
+ if (z.value !== A.LINE) return null;
389
404
  const r = {
390
405
  height: b.value.height,
391
406
  width: b.value.width
@@ -398,92 +413,92 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
398
413
  height: r.height - e.value.xyPaddingTop - e.value.xyPaddingBottom
399
414
  };
400
415
  let t = [];
401
- X(k.value.dataset) && (t = [
416
+ Z(k.value.dataset) && (t = [
402
417
  {
403
418
  values: k.value.dataset.slice(S.value.start, S.value.end),
404
419
  absoluteIndices: k.value.dataset.map((o, i) => i).slice(S.value.start, S.value.end),
405
420
  name: e.value.title,
406
- color: re.value[e.value.paletteStartIndex] || U[e.value.paletteStartIndex],
421
+ color: se.value[e.value.paletteStartIndex] || U[e.value.paletteStartIndex],
407
422
  id: "line_0"
408
423
  }
409
- ]), _e(k.value.dataset) && (t = k.value.dataset.map((o, i) => ({
424
+ ]), Ae(k.value.dataset) && (t = k.value.dataset.map((o, i) => ({
410
425
  ...o,
411
- values: o.VALUE || o.DATA || o.SERIE || o.VALUES || o.NUM || 0,
426
+ values: o.VALUE || o.DATA || o.SERIE || o.SERIES || o.VALUES || o.NUM || 0,
412
427
  name: o.NAME || o.DESCRIPTION || o.TITLE || o.LABEL || `Serie ${i}`,
413
428
  id: `line_${i}`
414
429
  })).map((o, i) => ({
415
430
  ...o,
416
- color: o.COLOR ? Ce(o.COLOR) : re.value[i + e.value.paletteStartIndex] || U[i + e.value.paletteStartIndex] || U[(i + e.value.paletteStartIndex) % U.length],
431
+ color: o.COLOR ? Ee(o.COLOR) : se.value[i + e.value.paletteStartIndex] || U[i + e.value.paletteStartIndex] || U[(i + e.value.paletteStartIndex) % U.length],
417
432
  values: o.values.slice(S.value.start, S.value.end),
418
- absoluteIndices: o.values.map((x, p) => p).slice(S.value.start, S.value.end)
433
+ absoluteIndices: o.values.map((y, x) => x).slice(S.value.start, S.value.end)
419
434
  })));
420
435
  const u = {
421
436
  max: Math.max(...t.filter((o) => !w.value.includes(o.id)).flatMap((o) => o.values)),
422
437
  min: Math.min(...t.filter((o) => !w.value.includes(o.id)).flatMap((o) => o.values)),
423
438
  maxSeries: Math.max(...t.map((o) => o.values.length))
424
- }, n = De(u.min < 0 ? u.min : 0, u.max < 0 ? 0 : u.max, e.value.xyScaleSegments), h = u.min < 0 ? Math.abs(u.min) : 0, O = u.max < 0 ? c.top : c.bottom - h / (n.max + h) * c.height, B = c.width / u.maxSeries, le = n.ticks.map((o) => ({
439
+ }, n = Ve(u.min < 0 ? u.min : 0, u.max < 0 ? 0 : u.max, e.value.xyScaleSegments), h = u.min < 0 ? Math.abs(u.min) : 0, N = u.max < 0 ? c.top : c.bottom - h / (n.max + h) * c.height, B = c.width / u.maxSeries, oe = n.ticks.map((o) => ({
425
440
  y: c.bottom - c.height * ((o + h) / (n.max + h)),
426
441
  x: c.left - 8,
427
442
  value: o
428
- })), J = t.map((o, i) => ({
443
+ })), Q = t.map((o, i) => ({
429
444
  ...o,
430
- coordinates: o.values.map((x, p) => ({
431
- x: c.left + B * (p + 1) - B / 2,
432
- y: c.bottom - (x + h) / (n.max + h) * c.height,
433
- value: x
445
+ coordinates: o.values.map((y, x) => ({
446
+ x: c.left + B * (x + 1) - B / 2,
447
+ y: c.bottom - (y + h) / (n.max + h) * c.height,
448
+ value: y
434
449
  }))
435
450
  })).map((o) => {
436
451
  let i = [];
437
- return o.coordinates.forEach((x) => {
438
- i.push(`${x.x},${x.y} `);
452
+ return o.coordinates.forEach((y) => {
453
+ i.push(`${y.x},${y.y} `);
439
454
  }), {
440
455
  ...o,
441
456
  linePath: i.join(" ")
442
457
  };
443
458
  });
444
- function oe(o) {
459
+ function ie(o) {
445
460
  q.value = o;
446
- const i = t.map((p) => ({
447
- ...p,
448
- value: p.values[o],
449
- absoluteIndex: p.absoluteIndices[o]
450
- })).filter((p) => !w.value.includes(p.id));
451
- ne.value = { datapoint: i, seriesIndex: o, config: e.value, dataset: t };
452
- const x = e.value.tooltipCustomFormat;
453
- if (Se(x) && Te(() => x({
461
+ const i = t.map((x) => ({
462
+ ...x,
463
+ value: x.values[o],
464
+ absoluteIndex: x.absoluteIndices[o]
465
+ })).filter((x) => !w.value.includes(x.id));
466
+ re.value = { datapoint: i, seriesIndex: o, config: e.value, dataset: t };
467
+ const y = e.value.tooltipCustomFormat;
468
+ if (we(y) && Ie(() => y({
454
469
  datapoint: i,
455
470
  seriesIndex: o,
456
471
  series: t,
457
472
  config: e.value
458
473
  })))
459
- Z.value = x({
474
+ J.value = y({
460
475
  datapoint: i,
461
476
  seriesIndex: o,
462
477
  series: t,
463
478
  config: e.value
464
479
  });
465
480
  else {
466
- let p = "";
467
- e.value.xyPeriods[i[0].absoluteIndex] && (p += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[i[0].absoluteIndex]}</div>`), i.forEach((T, M) => {
468
- p += `
481
+ let x = "";
482
+ e.value.xyPeriods[i[0].absoluteIndex] && (x += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[i[0].absoluteIndex]}</div>`), i.forEach((E, O) => {
483
+ x += `
469
484
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
470
- <svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${T.color}"/></svg>
471
- <span>${T.name}:</span>
485
+ <svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${E.color}"/></svg>
486
+ <span>${E.name}:</span>
472
487
  <b>${H(
473
488
  e.value.formatter,
474
- T.value,
475
- N({
489
+ E.value,
490
+ M({
476
491
  p: e.value.valuePrefix,
477
- v: T.value,
492
+ v: E.value,
478
493
  s: e.value.valueSuffix,
479
494
  r: e.value.dataLabelRoundingValue
480
495
  }),
481
- { datapoint: T, seriesIndex: M }
496
+ { datapoint: E, seriesIndex: O }
482
497
  )}
483
498
  </b>
484
499
  </div>
485
500
  `;
486
- }), Z.value = p;
501
+ }), J.value = x;
487
502
  }
488
503
  G.value = !0;
489
504
  }
@@ -491,18 +506,18 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
491
506
  q.value = null, G.value = !1;
492
507
  }
493
508
  return {
494
- absoluteZero: O,
495
- dataset: J.filter((o) => !w.value.includes(o.id)),
496
- legend: J,
509
+ absoluteZero: N,
510
+ dataset: Q.filter((o) => !w.value.includes(o.id)),
511
+ legend: Q,
497
512
  drawingArea: c,
498
513
  extremes: u,
499
514
  slotSize: B,
500
- yLabels: le,
501
- useTooltip: oe,
515
+ yLabels: oe,
516
+ useTooltip: ie,
502
517
  killTooltip: K
503
518
  };
504
519
  }), v = W(() => {
505
- if (P.value !== A.BAR) return null;
520
+ if (z.value !== A.BAR) return null;
506
521
  const r = {
507
522
  height: b.value.height,
508
523
  width: b.value.width
@@ -515,101 +530,101 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
515
530
  height: r.height - e.value.xyPaddingTop - e.value.xyPaddingBottom
516
531
  };
517
532
  let t = [];
518
- X(k.value.dataset) && (t = [
533
+ Z(k.value.dataset) && (t = [
519
534
  {
520
535
  values: k.value.dataset.slice(S.value.start, S.value.end),
521
- absoluteIndices: k.value.dataset.map((i, x) => x).slice(S.value.start, S.value.end),
536
+ absoluteIndices: k.value.dataset.map((i, y) => y).slice(S.value.start, S.value.end),
522
537
  name: e.value.title,
523
- color: re.value[e.value.paletteStartIndex] || U[e.value.paletteStartIndex],
538
+ color: se.value[e.value.paletteStartIndex] || U[e.value.paletteStartIndex],
524
539
  id: "bar_0"
525
540
  }
526
- ]), _e(k.value.dataset) && (t = k.value.dataset.map((i, x) => ({
541
+ ]), Ae(k.value.dataset) && (t = k.value.dataset.map((i, y) => ({
527
542
  ...i,
528
- values: i.VALUE || i.DATA || i.SERIE || i.VALUES || i.NUM || 0,
529
- name: i.NAME || i.DESCRIPTION || i.TITLE || i.LABEL || `Serie ${x}`,
530
- id: `bar_${x}`
531
- })).map((i, x) => ({
543
+ values: i.VALUE || i.DATA || i.SERIE || i.SERIES || i.VALUES || i.NUM || 0,
544
+ name: i.NAME || i.DESCRIPTION || i.TITLE || i.LABEL || `Serie ${y}`,
545
+ id: `bar_${y}`
546
+ })).map((i, y) => ({
532
547
  ...i,
533
- color: i.COLOR ? Ce(i.COLOR) : re.value[x + e.value.paletteStartIndex] || U[x + e.value.paletteStartIndex] || U[(x + e.value.paletteStartIndex) % U.length],
548
+ color: i.COLOR ? Ee(i.COLOR) : se.value[y + e.value.paletteStartIndex] || U[y + e.value.paletteStartIndex] || U[(y + e.value.paletteStartIndex) % U.length],
534
549
  values: i.values.slice(S.value.start, S.value.end),
535
- absoluteIndices: i.values.map((p, T) => T).slice(S.value.start, S.value.end)
550
+ absoluteIndices: i.values.map((x, E) => E).slice(S.value.start, S.value.end)
536
551
  })));
537
552
  const u = {
538
553
  max: Math.max(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)) < 0 ? 0 : Math.max(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)),
539
554
  min: Math.min(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)),
540
555
  maxSeries: Math.max(...t.filter((i) => !w.value.includes(i.id)).map((i) => i.values.length))
541
- }, n = De(u.min < 0 ? u.min : 0, u.max, e.value.xyScaleSegments), h = n.min < 0 ? Math.abs(n.min) : 0, O = c.bottom - h / (n.max + h) * c.height, B = c.width / u.maxSeries, le = n.ticks.map((i) => ({
556
+ }, n = Ve(u.min < 0 ? u.min : 0, u.max, e.value.xyScaleSegments), h = n.min < 0 ? Math.abs(n.min) : 0, N = c.bottom - h / (n.max + h) * c.height, B = c.width / u.maxSeries, oe = n.ticks.map((i) => ({
542
557
  y: c.bottom - c.height * ((i + h) / (n.max + h)),
543
558
  x: c.left - 8,
544
559
  value: i
545
- })), J = t.map((i, x) => ({
560
+ })), Q = t.map((i, y) => ({
546
561
  ...i,
547
- coordinates: i.values.map((p, T) => {
548
- const M = (p + h) / (u.max + h) * c.height, ve = Math.abs(p) / Math.abs(u.min) * (c.height - O), ze = h / (u.max + h) * c.height, de = B / t.filter((Q) => !w.value.includes(Q.id)).length - e.value.barGap / t.filter((Q) => !w.value.includes(Q.id)).length;
562
+ coordinates: i.values.map((x, E) => {
563
+ const O = (x + h) / (u.max + h) * c.height, de = Math.abs(x) / Math.abs(u.min) * (c.height - N), $e = h / (u.max + h) * c.height, ce = B / t.filter((ee) => !w.value.includes(ee.id)).length - e.value.barGap / t.filter((ee) => !w.value.includes(ee.id)).length;
549
564
  return {
550
- x: c.left + B * T + de * x + e.value.barGap / 2,
551
- y: p > 0 ? c.bottom - M : O,
552
- height: p > 0 ? M - ze : ve,
553
- value: p,
554
- width: de
565
+ x: c.left + B * E + ce * y + e.value.barGap / 2,
566
+ y: x > 0 ? c.bottom - O : N,
567
+ height: x > 0 ? O - $e : de,
568
+ value: x,
569
+ width: ce
555
570
  };
556
571
  })
557
- })), oe = t.filter((i) => !w.value.includes(i.id)).map((i, x) => ({
572
+ })), ie = t.filter((i) => !w.value.includes(i.id)).map((i, y) => ({
558
573
  ...i,
559
- coordinates: i.values.map((p, T) => {
560
- const M = (p + h) / (u.max + h) * c.height, ve = Math.abs(p) / (u.max + h) * c.height, ze = h / (u.max + h) * c.height, de = B / t.filter((Q) => !w.value.includes(Q.id)).length - e.value.barGap / t.filter((Q) => !w.value.includes(Q.id)).length;
574
+ coordinates: i.values.map((x, E) => {
575
+ const O = (x + h) / (u.max + h) * c.height, de = Math.abs(x) / (u.max + h) * c.height, $e = h / (u.max + h) * c.height, ce = B / t.filter((ee) => !w.value.includes(ee.id)).length - e.value.barGap / t.filter((ee) => !w.value.includes(ee.id)).length;
561
576
  return {
562
- x: c.left + B * T + de * x + e.value.barGap / 2,
563
- y: p > 0 ? c.bottom - M : O,
564
- height: p > 0 ? M - ze : ve,
565
- value: p,
566
- width: de
577
+ x: c.left + B * E + ce * y + e.value.barGap / 2,
578
+ y: x > 0 ? c.bottom - O : N,
579
+ height: x > 0 ? O - $e : de,
580
+ value: x,
581
+ width: ce
567
582
  };
568
583
  })
569
584
  }));
570
585
  function K(i) {
571
586
  q.value = i;
572
- const x = t.map((T) => ({
573
- ...T,
574
- value: T.values[i],
575
- absoluteIndex: T.absoluteIndices[i]
576
- })).filter((T) => !w.value.includes(T.id));
577
- ne.value = { datapoint: x, seriesIndex: i, config: e.value, dataset: t };
578
- const p = e.value.tooltipCustomFormat;
579
- if (Se(p) && Te(() => p({
580
- datapoint: x,
587
+ const y = t.map((E) => ({
588
+ ...E,
589
+ value: E.values[i],
590
+ absoluteIndex: E.absoluteIndices[i]
591
+ })).filter((E) => !w.value.includes(E.id));
592
+ re.value = { datapoint: y, seriesIndex: i, config: e.value, dataset: t };
593
+ const x = e.value.tooltipCustomFormat;
594
+ if (we(x) && Ie(() => x({
595
+ datapoint: y,
581
596
  seriesIndex: i,
582
597
  series: t,
583
598
  config: e.value
584
599
  })))
585
- Z.value = p({
586
- point: x,
600
+ J.value = x({
601
+ point: y,
587
602
  seriesIndex: i,
588
603
  series: t,
589
604
  config: e.value
590
605
  });
591
606
  else {
592
- let T = "";
593
- e.value.xyPeriods[x[0].absoluteIndex] && (T += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[x[0].absoluteIndex]}</div>`), x.forEach((M, ve) => {
594
- T += `
607
+ let E = "";
608
+ e.value.xyPeriods[y[0].absoluteIndex] && (E += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[y[0].absoluteIndex]}</div>`), y.forEach((O, de) => {
609
+ E += `
595
610
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
596
- <svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${M.color}"/></svg>
597
- <span>${M.name}:</span>
611
+ <svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${O.color}"/></svg>
612
+ <span>${O.name}:</span>
598
613
  <b>${H(
599
614
  e.value.formatter,
600
- M.value,
601
- N({
615
+ O.value,
616
+ M({
602
617
  p: e.value.valuePrefix,
603
- v: M.value,
618
+ v: O.value,
604
619
  s: e.value.valueSuffix,
605
620
  r: e.value.dataLabelRoundingValue
606
621
  }),
607
- { datapoint: M, seriesIndex: ve }
622
+ { datapoint: O, seriesIndex: de }
608
623
  )}
609
624
  </b>
610
625
  </div>
611
626
  `;
612
- }), Z.value = T;
627
+ }), J.value = E;
613
628
  }
614
629
  G.value = !0;
615
630
  }
@@ -617,101 +632,102 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
617
632
  G.value = !1, q.value = null;
618
633
  }
619
634
  return {
620
- absoluteZero: O,
621
- dataset: oe.filter((i) => !w.value.includes(i.id)),
622
- legend: J,
635
+ absoluteZero: N,
636
+ dataset: ie.filter((i) => !w.value.includes(i.id)),
637
+ legend: Q,
623
638
  drawingArea: c,
624
639
  extremes: u,
625
640
  slotSize: B,
626
- yLabels: le,
641
+ yLabels: oe,
627
642
  useTooltip: K,
628
643
  killTooltip: o
629
644
  };
630
- }), Le = E(!1);
631
- function et(r) {
632
- Le.value = r, Ee.value += 1;
645
+ }), ze = T(!1);
646
+ function tt(r) {
647
+ ze.value = r, Re.value += 1;
633
648
  }
634
- function Be() {
635
- ye.value.showTooltip = !ye.value.showTooltip;
649
+ function De() {
650
+ ke.value.showTooltip = !ke.value.showTooltip;
636
651
  }
637
- return z({
638
- generatePdf: Ie,
639
- generateImage: Re,
640
- toggleTooltip: Be
652
+ return $({
653
+ generatePdf: Ne,
654
+ generateImage: Fe,
655
+ toggleTooltip: De
641
656
  }), (r, c) => Ye.value ? (a(), l("div", {
642
657
  key: 0,
643
- id: `${P.value}_${C.value}`,
658
+ id: `${z.value}_${P.value}`,
644
659
  ref_key: "quickChart",
645
660
  ref: j,
646
- class: ie({ "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": Le.value }),
661
+ class: ue({ "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": ze.value }),
647
662
  style: F(`background:${e.value.backgroundColor};color:${e.value.color};font-family:${e.value.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`)
648
663
  }, [
649
- e.value.showUserOptions ? (a(), Ue(xt, {
664
+ e.value.showUserOptions ? (a(), Ce(St, {
650
665
  ref: "details",
651
- key: `user_option_${Ee.value}`,
666
+ key: `user_option_${Re.value}`,
652
667
  backgroundColor: e.value.backgroundColor,
653
668
  color: e.value.color,
654
- isPrinting: y(pe),
655
- isImaging: y(xe),
656
- uid: C.value,
669
+ isPrinting: f(xe),
670
+ isImaging: f(ye),
671
+ uid: P.value,
657
672
  hasTooltip: e.value.userOptionsButtons.tooltip && e.value.showTooltip,
658
673
  hasPdf: e.value.userOptionsButtons.pdf,
659
674
  hasImg: e.value.userOptionsButtons.img,
660
675
  hasFullscreen: e.value.userOptionsButtons.fullscreen,
661
676
  hasXls: !1,
662
- isTooltip: ye.value.showTooltip,
663
- isFullscreen: Le.value,
677
+ isTooltip: ke.value.showTooltip,
678
+ isFullscreen: ze.value,
664
679
  titles: { ...e.value.userOptionsButtonTitles },
665
680
  chartElement: j.value,
666
- onToggleFullscreen: et,
667
- onGeneratePdf: y(Ie),
668
- onGenerateImage: y(Re),
669
- onToggleTooltip: Be
670
- }, lt({ _: 2 }, [
681
+ onToggleFullscreen: tt,
682
+ onGeneratePdf: f(Ne),
683
+ onGenerateImage: f(Fe),
684
+ onToggleTooltip: De
685
+ }, it({ _: 2 }, [
671
686
  r.$slots.optionTooltip ? {
672
687
  name: "optionTooltip",
673
- fn: ee(() => [
688
+ fn: te(() => [
674
689
  D(r.$slots, "optionTooltip", {}, void 0, !0)
675
690
  ]),
676
691
  key: "0"
677
692
  } : void 0,
678
693
  r.$slots.optionPdf ? {
679
694
  name: "optionPdf",
680
- fn: ee(() => [
695
+ fn: te(() => [
681
696
  D(r.$slots, "optionPdf", {}, void 0, !0)
682
697
  ]),
683
698
  key: "1"
684
699
  } : void 0,
685
700
  r.$slots.optionImg ? {
686
701
  name: "optionImg",
687
- fn: ee(() => [
702
+ fn: te(() => [
688
703
  D(r.$slots, "optionImg", {}, void 0, !0)
689
704
  ]),
690
705
  key: "2"
691
706
  } : void 0,
692
707
  r.$slots.optionFullscreen ? {
693
708
  name: "optionFullscreen",
694
- fn: ee(({ toggleFullscreen: t, isFullscreen: u }) => [
695
- D(r.$slots, "optionFullscreen", Y(ce({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
709
+ fn: te(({ toggleFullscreen: t, isFullscreen: u }) => [
710
+ D(r.$slots, "optionFullscreen", Y(he({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
696
711
  ]),
697
712
  key: "3"
698
713
  } : void 0
699
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : m("", !0),
714
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : p("", !0),
700
715
  e.value.title ? (a(), l("div", {
701
716
  key: 1,
702
717
  ref_key: "quickChartTitle",
703
- ref: te,
718
+ ref: ae,
704
719
  class: "vue-ui-quick-chart-title",
705
720
  style: F(`background:${e.value.backgroundColor};color:${e.value.color};font-size:${e.value.titleFontSize}px;font-weight:${e.value.titleBold ? "bold" : "normal"};text-align:${e.value.titleTextAlign}`)
706
- }, I(e.value.title), 5)) : m("", !0),
707
- (a(), l("svg", {
708
- xmlns: y(ct),
709
- viewBox: Ze.value,
721
+ }, I(e.value.title), 5)) : p("", !0),
722
+ z.value ? (a(), l("svg", {
723
+ key: 2,
724
+ xmlns: f(mt),
725
+ viewBox: Je.value,
710
726
  style: F(`max-width:100%;overflow:visible;background:${e.value.backgroundColor};color:${e.value.color}`)
711
727
  }, [
712
728
  _("defs", null, [
713
729
  _("filter", {
714
- id: `blur_${C.value}`,
730
+ id: `blur_${P.value}`,
715
731
  x: "-50%",
716
732
  y: "-50%",
717
733
  width: "200%",
@@ -720,12 +736,12 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
720
736
  _("feGaussianBlur", {
721
737
  in: "SourceGraphic",
722
738
  stdDeviation: 2,
723
- id: `blur_std_${C.value}`
724
- }, null, 8, Pt),
725
- Tt
726
- ], 8, Ct),
739
+ id: `blur_std_${P.value}`
740
+ }, null, 8, Nt),
741
+ Ft
742
+ ], 8, Rt),
727
743
  _("filter", {
728
- id: `shadow_${C.value}`,
744
+ id: `shadow_${P.value}`,
729
745
  "color-interpolation-filters": "sRGB"
730
746
  }, [
731
747
  _("feDropShadow", {
@@ -734,119 +750,119 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
734
750
  stdDeviation: "10",
735
751
  "flood-opacity": "0.5",
736
752
  "flood-color": e.value.donutShadowColor
737
- }, null, 8, It)
738
- ], 8, Et)
753
+ }, null, 8, Mt)
754
+ ], 8, Ot)
739
755
  ]),
740
- P.value === A.DONUT ? (a(), l(g, { key: 0 }, [
741
- e.value.showDataLabels ? (a(), l("g", Rt, [
742
- (a(!0), l(g, null, L($.value.chart, (t, u) => (a(), l(g, null, [
743
- $.value.isArcBigEnough(t) ? (a(), l("path", {
756
+ z.value === A.DONUT ? (a(), l(m, { key: 0 }, [
757
+ e.value.showDataLabels ? (a(), l("g", Bt, [
758
+ (a(!0), l(m, null, L(C.value.chart, (t, u) => (a(), l(m, null, [
759
+ C.value.isArcBigEnough(t) ? (a(), l("path", {
744
760
  key: 0,
745
- d: y(ht)(t, { x: (e.value.width || b.value.width) / 2, y: (e.value.height || b.value.height) / 2 }, 16, 16, !1, !1, e.value.donutLabelMarkerStrokeWidth),
761
+ d: f(pt)(t, { x: (e.value.width || b.value.width) / 2, y: (e.value.height || b.value.height) / 2 }, 16, 16, !1, !1, e.value.donutLabelMarkerStrokeWidth),
746
762
  stroke: t.color,
747
763
  "stroke-width": e.value.donutLabelMarkerStrokeWidth,
748
764
  "stroke-linecap": "round",
749
765
  "stroke-linejoin": "round",
750
766
  fill: "none",
751
- filter: se(t.id)
752
- }, null, 8, Ot)) : m("", !0)
767
+ filter: ve(t.id)
768
+ }, null, 8, Ut)) : p("", !0)
753
769
  ], 64))), 256))
754
- ])) : m("", !0),
770
+ ])) : p("", !0),
755
771
  _("circle", {
756
772
  class: "donut-hollow",
757
773
  cx: (e.value.width || b.value.width) / 2,
758
774
  cy: (e.value.height || b.value.height) / 2,
759
775
  r: (e.value.height || b.value.height) * e.value.donutRadiusRatio,
760
776
  fill: e.value.backgroundColor
761
- }, null, 8, Ft),
777
+ }, null, 8, Dt),
762
778
  _("circle", {
763
- cx: $.value.cx,
764
- cy: $.value.cy,
765
- r: $.value.radius,
779
+ cx: C.value.cx,
780
+ cy: C.value.cy,
781
+ r: C.value.radius,
766
782
  fill: e.value.backgroundColor,
767
- filter: e.value.donutUseShadow ? `url(#shadow_${C.value})` : ""
768
- }, null, 8, Mt),
769
- _("g", Nt, [
770
- (a(!0), l(g, null, L($.value.chart, (t, u) => (a(), l("path", {
783
+ filter: e.value.donutUseShadow ? `url(#shadow_${P.value})` : ""
784
+ }, null, 8, Vt),
785
+ _("g", qt, [
786
+ (a(!0), l(m, null, L(C.value.chart, (t, u) => (a(), l("path", {
771
787
  d: t.arcSlice,
772
788
  fill: t.color,
773
789
  stroke: e.value.backgroundColor,
774
790
  "stroke-width": e.value.donutStrokeWidth,
775
- filter: se(t.id)
776
- }, null, 8, Bt))), 256)),
777
- (a(!0), l(g, null, L($.value.chart, (t, u) => (a(), l("path", {
791
+ filter: ve(t.id)
792
+ }, null, 8, Wt))), 256)),
793
+ (a(!0), l(m, null, L(C.value.chart, (t, u) => (a(), l("path", {
778
794
  d: t.arcSlice,
779
795
  fill: "transparent",
780
- onMouseenter: (n) => $.value.useTooltip({ datapoint: t, seriesIndex: u }),
781
- onMouseout: c[0] || (c[0] = (n) => $.value.killTooltip()),
782
- onClick: (n) => f("selectDatapoint", t)
783
- }, null, 40, Ut))), 256))
796
+ onMouseenter: (n) => C.value.useTooltip({ datapoint: t, seriesIndex: u }),
797
+ onMouseout: c[0] || (c[0] = (n) => C.value.killTooltip()),
798
+ onClick: (n) => g("selectDatapoint", t)
799
+ }, null, 40, jt))), 256))
784
800
  ]),
785
- e.value.showDataLabels ? (a(), l("g", Dt, [
786
- (a(!0), l(g, null, L($.value.chart, (t, u) => (a(), l(g, null, [
787
- $.value.isArcBigEnough(t) ? (a(), l("circle", {
801
+ e.value.showDataLabels ? (a(), l("g", Gt, [
802
+ (a(!0), l(m, null, L(C.value.chart, (t, u) => (a(), l(m, null, [
803
+ C.value.isArcBigEnough(t) ? (a(), l("circle", {
788
804
  key: 0,
789
- cx: y(fe)(t).x,
790
- cy: y(Pe)(t) - 3.7,
805
+ cx: f(ge)(t).x,
806
+ cy: f(Te)(t) - 3.7,
791
807
  fill: t.color,
792
808
  r: 3,
793
- filter: se(t.id)
794
- }, null, 8, Vt)) : m("", !0),
795
- $.value.isArcBigEnough(t) ? (a(), l("text", {
809
+ filter: ve(t.id)
810
+ }, null, 8, Ht)) : p("", !0),
811
+ C.value.isArcBigEnough(t) ? (a(), l("text", {
796
812
  key: 1,
797
- "text-anchor": y(fe)(t, !0, 20).anchor,
798
- x: y(fe)(t, !0).x,
799
- y: y(Pe)(t),
813
+ "text-anchor": f(ge)(t, !0, 20).anchor,
814
+ x: f(ge)(t, !0).x,
815
+ y: f(Te)(t),
800
816
  fill: e.value.color,
801
817
  "font-size": e.value.dataLabelFontSize,
802
- filter: se(t.id)
803
- }, I($.value.displayArcPercentage(t, $.value.chart)) + " (" + I(y(H)(
818
+ filter: ve(t.id)
819
+ }, I(C.value.displayArcPercentage(t, C.value.chart)) + " (" + I(f(H)(
804
820
  e.value.formatter,
805
821
  t.value,
806
- y(N)({
822
+ f(M)({
807
823
  p: e.value.valuePrefix,
808
824
  v: t.value,
809
825
  s: e.value.valueSuffix,
810
826
  r: e.value.dataLabelRoundingValue
811
827
  }),
812
828
  { datapoint: t, seriesIndex: u }
813
- )) + ") ", 9, qt)) : m("", !0),
814
- $.value.isArcBigEnough(t, !0, 20) ? (a(), l("text", {
829
+ )) + ") ", 9, Xt)) : p("", !0),
830
+ C.value.isArcBigEnough(t, !0, 20) ? (a(), l("text", {
815
831
  key: 2,
816
- "text-anchor": y(fe)(t).anchor,
817
- x: y(fe)(t, !0).x,
818
- y: y(Pe)(t) + e.value.dataLabelFontSize,
832
+ "text-anchor": f(ge)(t).anchor,
833
+ x: f(ge)(t, !0).x,
834
+ y: f(Te)(t) + e.value.dataLabelFontSize,
819
835
  fill: e.value.color,
820
836
  "font-size": e.value.dataLabelFontSize,
821
- filter: se(t.id)
822
- }, I(t.name), 9, Wt)) : m("", !0)
837
+ filter: ve(t.id)
838
+ }, I(t.name), 9, Zt)) : p("", !0)
823
839
  ], 64))), 256))
824
- ])) : m("", !0),
825
- e.value.donutShowTotal ? (a(), l("g", jt, [
840
+ ])) : p("", !0),
841
+ e.value.donutShowTotal ? (a(), l("g", Yt, [
826
842
  _("text", {
827
843
  "text-anchor": "middle",
828
- x: $.value.drawingArea.centerX,
829
- y: $.value.drawingArea.centerY - e.value.donutTotalLabelFontSize / 2,
844
+ x: C.value.drawingArea.centerX,
845
+ y: C.value.drawingArea.centerY - e.value.donutTotalLabelFontSize / 2,
830
846
  "font-size": e.value.donutTotalLabelFontSize,
831
847
  fill: e.value.color
832
- }, I(e.value.donutTotalLabelText), 9, Gt),
848
+ }, I(e.value.donutTotalLabelText), 9, Jt),
833
849
  _("text", {
834
850
  "text-anchor": "middle",
835
- x: $.value.drawingArea.centerX,
836
- y: $.value.drawingArea.centerY + e.value.donutTotalLabelFontSize,
851
+ x: C.value.drawingArea.centerX,
852
+ y: C.value.drawingArea.centerY + e.value.donutTotalLabelFontSize,
837
853
  "font-size": e.value.donutTotalLabelFontSize,
838
854
  fill: e.value.color
839
- }, I(y(N)({
855
+ }, I(f(M)({
840
856
  p: e.value.valuePrefix,
841
- v: $.value.total,
857
+ v: C.value.total,
842
858
  s: e.value.valueSuffix,
843
859
  r: e.value.dataLabelRoundingValue
844
- })), 9, Ht)
845
- ])) : m("", !0)
846
- ], 64)) : m("", !0),
847
- P.value === A.LINE ? (a(), l(g, { key: 1 }, [
848
- e.value.xyShowGrid ? (a(), l("g", Xt, [
849
- (a(!0), l(g, null, L(d.value.yLabels, (t) => (a(), l(g, null, [
860
+ })), 9, Qt)
861
+ ])) : p("", !0)
862
+ ], 64)) : p("", !0),
863
+ z.value === A.LINE ? (a(), l(m, { key: 1 }, [
864
+ e.value.xyShowGrid ? (a(), l("g", Kt, [
865
+ (a(!0), l(m, null, L(d.value.yLabels, (t) => (a(), l(m, null, [
850
866
  t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
851
867
  key: 0,
852
868
  x1: d.value.drawingArea.left,
@@ -856,9 +872,9 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
856
872
  stroke: e.value.xyGridStroke,
857
873
  "stroke-width": e.value.xyGridStrokeWidth,
858
874
  "stroke-linecap": "round"
859
- }, null, 8, Yt)) : m("", !0)
875
+ }, null, 8, ea)) : p("", !0)
860
876
  ], 64))), 256)),
861
- (a(!0), l(g, null, L(d.value.extremes.maxSeries + 1, (t, u) => (a(), l("line", {
877
+ (a(!0), l(m, null, L(d.value.extremes.maxSeries + 1, (t, u) => (a(), l("line", {
862
878
  x1: d.value.drawingArea.left + d.value.slotSize * u,
863
879
  x2: d.value.drawingArea.left + d.value.slotSize * u,
864
880
  y1: d.value.drawingArea.top,
@@ -866,9 +882,9 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
866
882
  stroke: e.value.xyGridStroke,
867
883
  "stroke-width": e.value.xyGridStrokeWidth,
868
884
  "stroke-linecap": "round"
869
- }, null, 8, Zt))), 256))
870
- ])) : m("", !0),
871
- e.value.xyShowAxis ? (a(), l("g", Jt, [
885
+ }, null, 8, ta))), 256))
886
+ ])) : p("", !0),
887
+ e.value.xyShowAxis ? (a(), l("g", aa, [
872
888
  _("line", {
873
889
  x1: d.value.drawingArea.left,
874
890
  x2: d.value.drawingArea.left,
@@ -877,19 +893,19 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
877
893
  stroke: e.value.xyAxisStroke,
878
894
  "stroke-width": e.value.xyAxisStrokeWidth,
879
895
  "stroke-linecap": "round"
880
- }, null, 8, Kt),
896
+ }, null, 8, la),
881
897
  _("line", {
882
898
  x1: d.value.drawingArea.left,
883
899
  x2: d.value.drawingArea.right,
884
- y1: d.value.absoluteZero,
885
- y2: d.value.absoluteZero,
900
+ y1: isNaN(d.value.absoluteZero) ? d.value.drawingArea.bottom : d.value.absoluteZero,
901
+ y2: isNaN(d.value.absoluteZero) ? d.value.drawingArea.bottom : d.value.absoluteZero,
886
902
  stroke: e.value.xyAxisStroke,
887
903
  "stroke-width": e.value.xyAxisStrokeWidth,
888
904
  "stroke-linecap": "round"
889
- }, null, 8, Qt)
890
- ])) : m("", !0),
891
- e.value.xyShowScale ? (a(), l("g", ea, [
892
- (a(!0), l(g, null, L(d.value.yLabels, (t, u) => (a(), l(g, null, [
905
+ }, null, 8, oa)
906
+ ])) : p("", !0),
907
+ e.value.xyShowScale ? (a(), l("g", ia, [
908
+ (a(!0), l(m, null, L(d.value.yLabels, (t, u) => (a(), l(m, null, [
893
909
  t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
894
910
  key: 0,
895
911
  x1: t.x + 4,
@@ -899,7 +915,7 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
899
915
  stroke: e.value.xyAxisStroke,
900
916
  "stroke-width": e.value.xyAxisStrokeWidth,
901
917
  "stroke-linecap": "round"
902
- }, null, 8, ta)) : m("", !0),
918
+ }, null, 8, ua)) : p("", !0),
903
919
  t.y <= d.value.drawingArea.bottom ? (a(), l("text", {
904
920
  key: 1,
905
921
  x: t.x,
@@ -907,21 +923,21 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
907
923
  "text-anchor": "end",
908
924
  "font-size": e.value.xyLabelsYFontSize,
909
925
  fill: e.value.color
910
- }, I(y(H)(
926
+ }, I(f(H)(
911
927
  e.value.formatter,
912
928
  t.value,
913
- y(N)({
929
+ f(M)({
914
930
  p: e.value.valuePrefix,
915
931
  v: t.value,
916
932
  s: e.value.valueSuffix,
917
933
  r: e.value.dataLabelRoundingValue
918
934
  }),
919
935
  { datapoint: t, seriesIndex: u }
920
- )), 9, aa)) : m("", !0)
936
+ )), 9, na)) : p("", !0)
921
937
  ], 64))), 256))
922
- ])) : m("", !0),
923
- e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", la, [
924
- (a(!0), l(g, null, L(e.value.xyPeriods.slice(S.value.start, S.value.end), (t, u) => (a(), l("line", {
938
+ ])) : p("", !0),
939
+ e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", ra, [
940
+ (a(!0), l(m, null, L(e.value.xyPeriods.slice(S.value.start, S.value.end), (t, u) => (a(), l("line", {
925
941
  x1: d.value.drawingArea.left + d.value.slotSize * (u + 1) - d.value.slotSize / 2,
926
942
  x2: d.value.drawingArea.left + d.value.slotSize * (u + 1) - d.value.slotSize / 2,
927
943
  y1: d.value.drawingArea.bottom,
@@ -929,92 +945,92 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
929
945
  stroke: e.value.xyAxisStroke,
930
946
  "stroke-width": e.value.xyAxisStrokeWidth,
931
947
  "stroke-linecap": "round"
932
- }, null, 8, oa))), 256)),
933
- (a(!0), l(g, null, L(e.value.xyPeriods.slice(S.value.start, S.value.end), (t, u) => (a(), l("text", {
948
+ }, null, 8, sa))), 256)),
949
+ (a(!0), l(m, null, L(e.value.xyPeriods.slice(S.value.start, S.value.end), (t, u) => (a(), l("text", {
934
950
  "font-size": e.value.xyLabelsXFontSize,
935
951
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
936
952
  fill: e.value.color,
937
953
  transform: `translate(${d.value.drawingArea.left + d.value.slotSize * (u + 1) - d.value.slotSize / 2}, ${d.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
938
- }, I(t), 9, ia))), 256))
939
- ])) : m("", !0),
940
- _("g", ua, [
941
- (a(!0), l(g, null, L(d.value.dataset, (t, u) => (a(), l("g", na, [
942
- e.value.lineSmooth ? (a(), l(g, { key: 0 }, [
954
+ }, I(t), 9, va))), 256))
955
+ ])) : p("", !0),
956
+ _("g", da, [
957
+ (a(!0), l(m, null, L(d.value.dataset, (t, u) => (a(), l("g", ca, [
958
+ e.value.lineSmooth ? (a(), l(m, { key: 0 }, [
943
959
  _("path", {
944
- d: `M ${y(Ve)(t.coordinates)}`,
960
+ d: `M ${f(qe)(t.coordinates)}`,
945
961
  stroke: e.value.backgroundColor,
946
962
  "stroke-width": e.value.lineStrokeWidth + 1,
947
963
  "stroke-linecap": "round",
948
964
  fill: "none",
949
- class: ie({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
965
+ class: ue({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
950
966
  style: { transition: "all 0.3s ease-in-out" }
951
- }, null, 10, ra),
967
+ }, null, 10, ha),
952
968
  _("path", {
953
- d: `M ${y(Ve)(t.coordinates)}`,
969
+ d: `M ${f(qe)(t.coordinates)}`,
954
970
  stroke: t.color,
955
971
  "stroke-width": e.value.lineStrokeWidth,
956
972
  "stroke-linecap": "round",
957
973
  fill: "none",
958
- class: ie({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
974
+ class: ue({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
959
975
  style: { transition: "all 0.3s ease-in-out" }
960
- }, null, 10, sa)
961
- ], 64)) : (a(), l(g, { key: 1 }, [
976
+ }, null, 10, fa)
977
+ ], 64)) : (a(), l(m, { key: 1 }, [
962
978
  _("path", {
963
979
  d: `M ${t.linePath}`,
964
980
  stroke: e.value.backgroundColor,
965
981
  "stroke-width": e.value.lineStrokeWidth + 1,
966
982
  "stroke-linecap": "round",
967
983
  fill: "none",
968
- class: ie({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
984
+ class: ue({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
969
985
  style: { transition: "all 0.3s ease-in-out" }
970
- }, null, 10, va),
986
+ }, null, 10, ga),
971
987
  _("path", {
972
988
  d: `M ${t.linePath}`,
973
989
  stroke: t.color,
974
990
  "stroke-width": e.value.lineStrokeWidth,
975
991
  "stroke-linecap": "round",
976
992
  fill: "none",
977
- class: ie({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
993
+ class: ue({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
978
994
  style: { transition: "all 0.3s ease-in-out" }
979
- }, null, 10, da)
995
+ }, null, 10, ma)
980
996
  ], 64)),
981
- (a(!0), l(g, null, L(t.coordinates, (n, h) => (a(), l("circle", {
997
+ (a(!0), l(m, null, L(t.coordinates, (n, h) => (a(), l("circle", {
982
998
  cx: n.x,
983
- cy: n.y,
999
+ cy: f(X)(n.y),
984
1000
  r: 3,
985
1001
  fill: t.color,
986
1002
  stroke: e.value.backgroundColor,
987
1003
  "stroke-width": "0.5",
988
1004
  class: "quick-animation",
989
1005
  style: { transition: "all 0.3s ease-in-out" }
990
- }, null, 8, ca))), 256))
1006
+ }, null, 8, pa))), 256))
991
1007
  ]))), 256))
992
1008
  ]),
993
- e.value.showDataLabels ? (a(), l("g", ha, [
994
- (a(!0), l(g, null, L(d.value.dataset, (t, u) => (a(), l(g, null, [
995
- (a(!0), l(g, null, L(t.coordinates, (n, h) => (a(), l("text", {
1009
+ e.value.showDataLabels ? (a(), l("g", xa, [
1010
+ (a(!0), l(m, null, L(d.value.dataset, (t, u) => (a(), l(m, null, [
1011
+ (a(!0), l(m, null, L(t.coordinates, (n, h) => (a(), l("text", {
996
1012
  "text-anchor": "middle",
997
1013
  "font-size": e.value.dataLabelFontSize,
998
1014
  fill: t.color,
999
1015
  x: n.x,
1000
- y: n.y - e.value.dataLabelFontSize / 2,
1016
+ y: f(X)(n.y) - e.value.dataLabelFontSize / 2,
1001
1017
  class: "quick-animation",
1002
1018
  style: { transition: "all 0.3s ease-in-out" }
1003
- }, I(y(H)(
1019
+ }, I(f(H)(
1004
1020
  e.value.formatter,
1005
- n.value,
1006
- y(N)({
1021
+ f(X)(n.value),
1022
+ f(M)({
1007
1023
  p: e.value.valuePrefix,
1008
- v: n.value,
1024
+ v: f(X)(n.value),
1009
1025
  s: e.value.valueSuffix,
1010
1026
  r: e.value.dataLabelRoundingValue
1011
1027
  }),
1012
1028
  { datapoint: n, seriesIndex: h }
1013
- )), 9, fa))), 256))
1029
+ )), 9, ya))), 256))
1014
1030
  ], 64))), 256))
1015
- ])) : m("", !0),
1016
- _("g", ga, [
1017
- (a(!0), l(g, null, L(d.value.extremes.maxSeries, (t, u) => (a(), l("rect", {
1031
+ ])) : p("", !0),
1032
+ _("g", ka, [
1033
+ (a(!0), l(m, null, L(d.value.extremes.maxSeries, (t, u) => (a(), l("rect", {
1018
1034
  x: d.value.drawingArea.left + u * d.value.slotSize,
1019
1035
  y: d.value.drawingArea.top,
1020
1036
  height: d.value.drawingArea.height <= 0 ? 1e-5 : d.value.drawingArea.height,
@@ -1023,16 +1039,16 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
1023
1039
  style: F(`opacity:${e.value.xyHighlighterOpacity}`),
1024
1040
  onMouseenter: (n) => d.value.useTooltip(u),
1025
1041
  onMouseleave: c[1] || (c[1] = (n) => d.value.killTooltip()),
1026
- onClick: (n) => f("selectDatapoint", d.value.dataset.map((h) => ({
1042
+ onClick: (n) => g("selectDatapoint", d.value.dataset.map((h) => ({
1027
1043
  ...h,
1028
1044
  value: h.values[u]
1029
1045
  })))
1030
- }, null, 44, ma))), 256))
1046
+ }, null, 44, ba))), 256))
1031
1047
  ])
1032
- ], 64)) : m("", !0),
1033
- P.value === A.BAR ? (a(), l(g, { key: 2 }, [
1034
- e.value.xyShowGrid ? (a(), l("g", pa, [
1035
- (a(!0), l(g, null, L(v.value.yLabels, (t) => (a(), l(g, null, [
1048
+ ], 64)) : p("", !0),
1049
+ z.value === A.BAR ? (a(), l(m, { key: 2 }, [
1050
+ e.value.xyShowGrid ? (a(), l("g", Sa, [
1051
+ (a(!0), l(m, null, L(v.value.yLabels, (t) => (a(), l(m, null, [
1036
1052
  t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
1037
1053
  key: 0,
1038
1054
  x1: v.value.drawingArea.left,
@@ -1042,9 +1058,9 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
1042
1058
  stroke: e.value.xyGridStroke,
1043
1059
  "stroke-width": e.value.xyGridStrokeWidth,
1044
1060
  "stroke-linecap": "round"
1045
- }, null, 8, xa)) : m("", !0)
1061
+ }, null, 8, wa)) : p("", !0)
1046
1062
  ], 64))), 256)),
1047
- (a(!0), l(g, null, L(v.value.extremes.maxSeries + 1, (t, u) => (a(), l("line", {
1063
+ (a(!0), l(m, null, L(v.value.extremes.maxSeries + 1, (t, u) => (a(), l("line", {
1048
1064
  x1: v.value.drawingArea.left + v.value.slotSize * u,
1049
1065
  x2: v.value.drawingArea.left + v.value.slotSize * u,
1050
1066
  y1: v.value.drawingArea.top,
@@ -1052,9 +1068,9 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
1052
1068
  stroke: e.value.xyGridStroke,
1053
1069
  "stroke-width": e.value.xyGridStrokeWidth,
1054
1070
  "stroke-linecap": "round"
1055
- }, null, 8, ya))), 256))
1056
- ])) : m("", !0),
1057
- e.value.xyShowAxis ? (a(), l("g", ka, [
1071
+ }, null, 8, _a))), 256))
1072
+ ])) : p("", !0),
1073
+ e.value.xyShowAxis ? (a(), l("g", Aa, [
1058
1074
  _("line", {
1059
1075
  x1: v.value.drawingArea.left,
1060
1076
  x2: v.value.drawingArea.left,
@@ -1063,19 +1079,19 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
1063
1079
  stroke: e.value.xyAxisStroke,
1064
1080
  "stroke-width": e.value.xyAxisStrokeWidth,
1065
1081
  "stroke-linecap": "round"
1066
- }, null, 8, ba),
1082
+ }, null, 8, La),
1067
1083
  _("line", {
1068
1084
  x1: v.value.drawingArea.left,
1069
1085
  x2: v.value.drawingArea.right,
1070
- y1: v.value.absoluteZero,
1071
- y2: v.value.absoluteZero,
1086
+ y1: isNaN(v.value.absoluteZero) ? v.value.drawingArea.bottom : v.value.absoluteZero,
1087
+ y2: isNaN(v.value.absoluteZero) ? v.value.drawingArea.bottom : v.value.absoluteZero,
1072
1088
  stroke: e.value.xyAxisStroke,
1073
1089
  "stroke-width": e.value.xyAxisStrokeWidth,
1074
1090
  "stroke-linecap": "round"
1075
- }, null, 8, Sa)
1076
- ])) : m("", !0),
1077
- e.value.xyShowScale ? (a(), l("g", wa, [
1078
- (a(!0), l(g, null, L(v.value.yLabels, (t, u) => (a(), l(g, null, [
1091
+ }, null, 8, za)
1092
+ ])) : p("", !0),
1093
+ e.value.xyShowScale ? (a(), l("g", $a, [
1094
+ (a(!0), l(m, null, L(v.value.yLabels, (t, u) => (a(), l(m, null, [
1079
1095
  t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
1080
1096
  key: 0,
1081
1097
  x1: t.x + 4,
@@ -1085,7 +1101,7 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
1085
1101
  stroke: e.value.xyAxisStroke,
1086
1102
  "stroke-width": e.value.xyAxisStrokeWidth,
1087
1103
  "stroke-linecap": "round"
1088
- }, null, 8, _a)) : m("", !0),
1104
+ }, null, 8, Ca)) : p("", !0),
1089
1105
  t.y <= v.value.drawingArea.bottom ? (a(), l("text", {
1090
1106
  key: 1,
1091
1107
  x: t.x,
@@ -1093,21 +1109,21 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
1093
1109
  "text-anchor": "end",
1094
1110
  "font-size": e.value.xyLabelsYFontSize,
1095
1111
  fill: e.value.color
1096
- }, I(y(H)(
1112
+ }, I(f(H)(
1097
1113
  e.value.formatter,
1098
1114
  t.value,
1099
- y(N)({
1115
+ f(M)({
1100
1116
  p: e.value.valuePrefix,
1101
1117
  v: t.value,
1102
1118
  s: e.value.valueSuffix,
1103
1119
  r: e.value.dataLabelRoundingValue
1104
1120
  }),
1105
1121
  { datapoint: t, seriesIndex: u }
1106
- )), 9, Aa)) : m("", !0)
1122
+ )), 9, Pa)) : p("", !0)
1107
1123
  ], 64))), 256))
1108
- ])) : m("", !0),
1109
- e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", La, [
1110
- (a(!0), l(g, null, L(e.value.xyPeriods.slice(S.value.start, S.value.end), (t, u) => (a(), l("line", {
1124
+ ])) : p("", !0),
1125
+ e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Ea, [
1126
+ (a(!0), l(m, null, L(e.value.xyPeriods.slice(S.value.start, S.value.end), (t, u) => (a(), l("line", {
1111
1127
  x1: v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2,
1112
1128
  x2: v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2,
1113
1129
  y1: v.value.drawingArea.bottom,
@@ -1115,68 +1131,68 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
1115
1131
  stroke: e.value.xyAxisStroke,
1116
1132
  "stroke-width": e.value.xyAxisStrokeWidth,
1117
1133
  "stroke-linecap": "round"
1118
- }, null, 8, za))), 256)),
1119
- (a(!0), l(g, null, L(e.value.xyPeriods.slice(S.value.start, S.value.end), (t, u) => (a(), l("text", {
1134
+ }, null, 8, Ta))), 256)),
1135
+ (a(!0), l(m, null, L(e.value.xyPeriods.slice(S.value.start, S.value.end), (t, u) => (a(), l("text", {
1120
1136
  "font-size": e.value.xyLabelsXFontSize,
1121
1137
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1122
1138
  transform: `translate(${v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2}, ${v.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}) rotate(${e.value.xyPeriodLabelsRotation})`,
1123
1139
  fill: e.value.color
1124
- }, I(t), 9, $a))), 256))
1125
- ])) : m("", !0),
1126
- _("g", Ca, [
1127
- (a(!0), l(g, null, L(v.value.dataset, (t, u) => (a(), l(g, null, [
1128
- (a(!0), l(g, null, L(t.coordinates, (n, h) => (a(), l("rect", {
1140
+ }, I(t), 9, Ia))), 256))
1141
+ ])) : p("", !0),
1142
+ _("g", Ra, [
1143
+ (a(!0), l(m, null, L(v.value.dataset, (t, u) => (a(), l(m, null, [
1144
+ (a(!0), l(m, null, L(t.coordinates, (n, h) => (a(), l("rect", {
1129
1145
  x: n.x,
1130
1146
  width: n.width <= 0 ? 1e-5 : n.width,
1131
- height: n.height <= 0 ? 1e-5 : n.height,
1132
- y: n.y,
1147
+ height: f(X)(n.height <= 0 ? 1e-5 : n.height),
1148
+ y: f(X)(n.y),
1133
1149
  fill: t.color,
1134
1150
  stroke: e.value.backgroundColor,
1135
1151
  "stroke-width": e.value.barStrokeWidth,
1136
1152
  "stroke-linecap": "round",
1137
- class: ie({ "vue-data-ui-bar-animated": e.value.barAnimated && n.value < 0 })
1153
+ class: ue({ "vue-data-ui-bar-animated": e.value.barAnimated && n.value < 0 })
1138
1154
  }, [
1139
- e.value.barAnimated && n.value > 0 && !y(pe) && !y(xe) ? (a(), l("animate", {
1155
+ e.value.barAnimated && n.value > 0 && !f(xe) && !f(ye) ? (a(), l("animate", {
1140
1156
  key: 0,
1141
1157
  attributeName: "height",
1142
1158
  from: 0,
1143
1159
  to: n.height,
1144
1160
  dur: "0.5s"
1145
- }, null, 8, Ta)) : m("", !0),
1146
- e.value.barAnimated && n.value > 0 && !y(pe) && !y(xe) ? (a(), l("animate", {
1161
+ }, null, 8, Fa)) : p("", !0),
1162
+ e.value.barAnimated && n.value > 0 && !f(xe) && !f(ye) ? (a(), l("animate", {
1147
1163
  key: 1,
1148
1164
  attributeName: "y",
1149
1165
  from: v.value.absoluteZero,
1150
1166
  to: v.value.absoluteZero - n.height,
1151
1167
  dur: "0.5s"
1152
- }, null, 8, Ea)) : m("", !0)
1153
- ], 10, Pa))), 256))
1168
+ }, null, 8, Oa)) : p("", !0)
1169
+ ], 10, Na))), 256))
1154
1170
  ], 64))), 256))
1155
1171
  ]),
1156
- e.value.showDataLabels ? (a(), l("g", Ia, [
1157
- (a(!0), l(g, null, L(v.value.dataset, (t, u) => (a(), l(g, null, [
1158
- (a(!0), l(g, null, L(t.coordinates, (n, h) => (a(), l("text", {
1172
+ e.value.showDataLabels ? (a(), l("g", Ma, [
1173
+ (a(!0), l(m, null, L(v.value.dataset, (t, u) => (a(), l(m, null, [
1174
+ (a(!0), l(m, null, L(t.coordinates, (n, h) => (a(), l("text", {
1159
1175
  x: n.x + n.width / 2,
1160
- y: n.y - e.value.dataLabelFontSize / 2,
1176
+ y: f(X)(n.y) - e.value.dataLabelFontSize / 2,
1161
1177
  "text-anchor": "middle",
1162
1178
  "font-size": e.value.dataLabelFontSize,
1163
1179
  fill: t.color,
1164
1180
  class: "quick-animation"
1165
- }, I(y(H)(
1181
+ }, I(f(H)(
1166
1182
  e.value.formatter,
1167
- n.value,
1168
- y(N)({
1183
+ f(X)(n.value),
1184
+ f(M)({
1169
1185
  p: e.value.valuePrefix,
1170
- v: n.value,
1186
+ v: f(X)(n.value),
1171
1187
  s: e.value.valueSuffix,
1172
1188
  r: e.value.dataLabelRoundingValue
1173
1189
  }),
1174
1190
  { datapoint: n, seriesIndex: h }
1175
- )), 9, Ra))), 256))
1191
+ )), 9, Ba))), 256))
1176
1192
  ], 64))), 256))
1177
- ])) : m("", !0),
1178
- _("g", Oa, [
1179
- (a(!0), l(g, null, L(v.value.extremes.maxSeries, (t, u) => (a(), l("rect", {
1193
+ ])) : p("", !0),
1194
+ _("g", Ua, [
1195
+ (a(!0), l(m, null, L(v.value.extremes.maxSeries, (t, u) => (a(), l("rect", {
1180
1196
  x: v.value.drawingArea.left + u * v.value.slotSize,
1181
1197
  y: v.value.drawingArea.top,
1182
1198
  height: v.value.drawingArea.height <= 0 ? 1e-5 : v.value.drawingArea.height,
@@ -1185,60 +1201,78 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
1185
1201
  style: F(`opacity:${e.value.xyHighlighterOpacity}`),
1186
1202
  onMouseenter: (n) => v.value.useTooltip(u),
1187
1203
  onMouseleave: c[2] || (c[2] = (n) => v.value.killTooltip()),
1188
- onClick: (n) => f("selectDatapoint", v.value.dataset.map((h) => ({
1204
+ onClick: (n) => g("selectDatapoint", v.value.dataset.map((h) => ({
1189
1205
  ...h,
1190
1206
  value: h.values[u]
1191
1207
  })))
1192
- }, null, 44, Fa))), 256))
1208
+ }, null, 44, Da))), 256))
1193
1209
  ])
1194
- ], 64)) : m("", !0),
1195
- [A.LINE, A.BAR].includes(P.value) ? (a(), l("g", Ma, [
1196
- e.value.xAxisLabel && P.value === A.LINE ? (a(), l("g", Na, [
1210
+ ], 64)) : p("", !0),
1211
+ [A.LINE, A.BAR].includes(z.value) ? (a(), l("g", Va, [
1212
+ e.value.xAxisLabel && z.value === A.LINE ? (a(), l("g", qa, [
1197
1213
  _("text", {
1198
1214
  "font-size": e.value.axisLabelsFontSize,
1199
1215
  fill: e.value.color,
1200
1216
  "text-anchor": "middle",
1201
1217
  x: d.value.drawingArea.left + d.value.drawingArea.width / 2,
1202
1218
  y: b.value.height - e.value.axisLabelsFontSize / 3
1203
- }, I(e.value.xAxisLabel), 9, Ba)
1204
- ])) : m("", !0),
1205
- e.value.xAxisLabel && P.value === A.BAR ? (a(), l("g", Ua, [
1219
+ }, I(e.value.xAxisLabel), 9, Wa)
1220
+ ])) : p("", !0),
1221
+ e.value.xAxisLabel && z.value === A.BAR ? (a(), l("g", ja, [
1206
1222
  _("text", {
1207
1223
  "font-size": e.value.axisLabelsFontSize,
1208
1224
  fill: e.value.color,
1209
1225
  "text-anchor": "middle",
1210
1226
  x: v.value.drawingArea.left + v.value.drawingArea.width / 2,
1211
1227
  y: b.value.height - e.value.axisLabelsFontSize / 3
1212
- }, I(e.value.xAxisLabel), 9, Da)
1213
- ])) : m("", !0),
1214
- e.value.yAxisLabel && P.value === A.LINE ? (a(), l("g", Va, [
1228
+ }, I(e.value.xAxisLabel), 9, Ga)
1229
+ ])) : p("", !0),
1230
+ e.value.yAxisLabel && z.value === A.LINE ? (a(), l("g", Ha, [
1215
1231
  _("text", {
1216
1232
  "font-size": e.value.axisLabelsFontSize,
1217
1233
  fill: e.value.color,
1218
1234
  transform: `translate(${e.value.axisLabelsFontSize}, ${d.value.drawingArea.top + d.value.drawingArea.height / 2}) rotate(-90)`,
1219
1235
  "text-anchor": "middle"
1220
- }, I(e.value.yAxisLabel), 9, qa)
1221
- ])) : m("", !0),
1222
- e.value.yAxisLabel && P.value === A.BAR ? (a(), l("g", Wa, [
1236
+ }, I(e.value.yAxisLabel), 9, Xa)
1237
+ ])) : p("", !0),
1238
+ e.value.yAxisLabel && z.value === A.BAR ? (a(), l("g", Za, [
1223
1239
  _("text", {
1224
1240
  "font-size": e.value.axisLabelsFontSize,
1225
1241
  fill: e.value.color,
1226
1242
  transform: `translate(${e.value.axisLabelsFontSize}, ${v.value.drawingArea.top + v.value.drawingArea.height / 2}) rotate(-90)`,
1227
1243
  "text-anchor": "middle"
1228
- }, I(e.value.yAxisLabel), 9, ja)
1229
- ])) : m("", !0)
1230
- ])) : m("", !0)
1231
- ], 12, $t)),
1232
- r.$slots.watermark ? (a(), l("div", Ga, [
1233
- D(r.$slots, "watermark", Y(ce({ isPrinting: y(pe) || y(xe) })), void 0, !0)
1234
- ])) : m("", !0),
1235
- [A.BAR, A.LINE].includes(P.value) && e.value.zoomXy && k.value.maxSeriesLength > 1 ? (a(), l("div", {
1236
- key: `slicer_${Ae.value}`,
1244
+ }, I(e.value.yAxisLabel), 9, Ya)
1245
+ ])) : p("", !0)
1246
+ ])) : p("", !0)
1247
+ ], 12, It)) : p("", !0),
1248
+ z.value ? p("", !0) : (a(), Ce(_t, {
1249
+ key: 3,
1250
+ config: {
1251
+ type: "line",
1252
+ style: {
1253
+ backgroundColor: e.value.backgroundColor,
1254
+ line: {
1255
+ axis: {
1256
+ color: e.value.xyAxisStroke
1257
+ },
1258
+ path: {
1259
+ color: e.value.xyAxisStroke,
1260
+ strokeWidth: 0.5
1261
+ }
1262
+ }
1263
+ }
1264
+ }
1265
+ }, null, 8, ["config"])),
1266
+ r.$slots.watermark ? (a(), l("div", Ja, [
1267
+ D(r.$slots, "watermark", Y(he({ isPrinting: f(xe) || f(ye) })), void 0, !0)
1268
+ ])) : p("", !0),
1269
+ [A.BAR, A.LINE].includes(z.value) && e.value.zoomXy && k.value.maxSeriesLength > 1 ? (a(), l("div", {
1270
+ key: `slicer_${Le.value}`,
1237
1271
  ref_key: "quickChartSlicer",
1238
- ref: ue
1272
+ ref: ne
1239
1273
  }, [
1240
- (a(), Ue(yt, {
1241
- key: `slicer_${Ae.value}`,
1274
+ (a(), Ce(wt, {
1275
+ key: `slicer_${Le.value}`,
1242
1276
  background: e.value.zoomColor,
1243
1277
  borderColor: e.value.backgroundColor,
1244
1278
  fontSize: e.value.zoomFontSize,
@@ -1257,35 +1291,35 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
1257
1291
  minimapSelectedColorOpacity: e.value.zoomMinimap.selectedColorOpacity,
1258
1292
  minimapSelectionRadius: e.value.zoomMinimap.selectionRadius,
1259
1293
  minimapLineColor: e.value.zoomMinimap.lineColor,
1260
- minimap: Qe.value,
1294
+ minimap: et.value,
1261
1295
  start: S.value.start,
1262
1296
  "onUpdate:start": c[3] || (c[3] = (t) => S.value.start = t),
1263
1297
  end: S.value.end,
1264
1298
  "onUpdate:end": c[4] || (c[4] = (t) => S.value.end = t),
1265
1299
  onReset: Ke
1266
1300
  }, {
1267
- "reset-action": ee(({ reset: t }) => [
1268
- D(r.$slots, "reset-action", Y(ce({ reset: t })), void 0, !0)
1301
+ "reset-action": te(({ reset: t }) => [
1302
+ D(r.$slots, "reset-action", Y(he({ reset: t })), void 0, !0)
1269
1303
  ]),
1270
1304
  _: 3
1271
1305
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "smoothMinimap", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectionRadius", "minimapLineColor", "minimap", "start", "end"]))
1272
- ])) : m("", !0),
1306
+ ])) : p("", !0),
1273
1307
  e.value.showLegend ? (a(), l("div", {
1274
- key: 4,
1308
+ key: 6,
1275
1309
  ref_key: "quickChartLegend",
1276
- ref: ae,
1310
+ ref: le,
1277
1311
  class: "vue-ui-quick-chart-legend",
1278
1312
  style: F(`background:${e.value.backgroundColor};color:${e.value.color}`)
1279
1313
  }, [
1280
- P.value === A.DONUT ? (a(!0), l(g, { key: 0 }, L($.value.legend, (t, u) => (a(), l("div", {
1314
+ z.value === A.DONUT ? (a(!0), l(m, { key: 0 }, L(C.value.legend, (t, u) => (a(), l("div", {
1281
1315
  class: "vue-ui-quick-chart-legend-item",
1282
1316
  onClick: (n) => {
1283
- Je(t, $.value.dataset), f("selectLegend", t);
1317
+ Qe(t, C.value.dataset), g("selectLegend", t);
1284
1318
  },
1285
- style: F(`cursor: ${$.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1319
+ style: F(`cursor: ${C.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1286
1320
  }, [
1287
- e.value.useCustomLegend ? D(r.$slots, "legend", Y($e({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(g, { key: 1 }, [
1288
- he(we, {
1321
+ e.value.useCustomLegend ? D(r.$slots, "legend", Y(Pe({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(m, { key: 1 }, [
1322
+ fe(_e, {
1289
1323
  name: e.value.legendIcon,
1290
1324
  stroke: t.color,
1291
1325
  size: e.value.legendIconSize
@@ -1295,10 +1329,10 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
1295
1329
  }, I(t.name), 5),
1296
1330
  _("span", {
1297
1331
  style: F(`font-size:${e.value.legendFontSize}px;font-variant-numeric:tabular-nums`)
1298
- }, I(w.value.includes(t.id) ? "-" : y(H)(
1332
+ }, I(w.value.includes(t.id) ? "-" : f(H)(
1299
1333
  e.value.formatter,
1300
1334
  t.absoluteValue,
1301
- y(N)({
1335
+ f(M)({
1302
1336
  p: e.value.valuePrefix,
1303
1337
  v: t.absoluteValue,
1304
1338
  s: e.value.valueSuffix,
@@ -1309,28 +1343,28 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
1309
1343
  w.value.includes(t.id) ? (a(), l("span", {
1310
1344
  key: 0,
1311
1345
  style: F(`font-size:${e.value.legendFontSize}px`)
1312
- }, " ( - % ) ", 4)) : be.value ? (a(), l("span", {
1346
+ }, " ( - % ) ", 4)) : Se.value ? (a(), l("span", {
1313
1347
  key: 1,
1314
1348
  style: F(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1315
1349
  }, " ( - % ) ", 4)) : (a(), l("span", {
1316
1350
  key: 2,
1317
1351
  style: F(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1318
- }, " (" + I(y(N)({
1319
- v: t.value / $.value.total * 100,
1352
+ }, " (" + I(f(M)({
1353
+ v: t.value / C.value.total * 100,
1320
1354
  s: "%",
1321
1355
  r: e.value.dataLabelRoundingPercentage
1322
1356
  })) + ") ", 5))
1323
1357
  ], 64))
1324
- ], 12, Ha))), 256)) : m("", !0),
1325
- P.value === A.LINE ? (a(!0), l(g, { key: 1 }, L(d.value.legend, (t, u) => (a(), l("div", {
1358
+ ], 12, Qa))), 256)) : p("", !0),
1359
+ z.value === A.LINE ? (a(!0), l(m, { key: 1 }, L(d.value.legend, (t, u) => (a(), l("div", {
1326
1360
  class: "vue-ui-quick-chart-legend-item",
1327
1361
  onClick: (n) => {
1328
- Fe(t.id, d.value.legend.length - 1), f("selectLegend", t);
1362
+ Me(t.id, d.value.legend.length - 1), g("selectLegend", t);
1329
1363
  },
1330
1364
  style: F(`cursor: ${d.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1331
1365
  }, [
1332
- e.value.useCustomLegend ? D(r.$slots, "legend", Y($e({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(g, { key: 1 }, [
1333
- he(we, {
1366
+ e.value.useCustomLegend ? D(r.$slots, "legend", Y(Pe({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(m, { key: 1 }, [
1367
+ fe(_e, {
1334
1368
  name: e.value.legendIcon,
1335
1369
  stroke: t.color,
1336
1370
  size: e.value.legendIconSize
@@ -1339,16 +1373,16 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
1339
1373
  style: F(`font-size:${e.value.legendFontSize}px`)
1340
1374
  }, I(t.name), 5)
1341
1375
  ], 64))
1342
- ], 12, Xa))), 256)) : m("", !0),
1343
- P.value === A.BAR ? (a(!0), l(g, { key: 2 }, L(v.value.legend, (t, u) => (a(), l("div", {
1376
+ ], 12, Ka))), 256)) : p("", !0),
1377
+ z.value === A.BAR ? (a(!0), l(m, { key: 2 }, L(v.value.legend, (t, u) => (a(), l("div", {
1344
1378
  class: "vue-ui-quick-chart-legend-item",
1345
1379
  onClick: (n) => {
1346
- Fe(t.id, v.value.legend.length - 1), f("selectLegend", t);
1380
+ Me(t.id, v.value.legend.length - 1), g("selectLegend", t);
1347
1381
  },
1348
1382
  style: F(`cursor: ${v.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1349
1383
  }, [
1350
- e.value.useCustomLegend ? D(r.$slots, "legend", Y($e({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(g, { key: 1 }, [
1351
- he(we, {
1384
+ e.value.useCustomLegend ? D(r.$slots, "legend", Y(Pe({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(m, { key: 1 }, [
1385
+ fe(_e, {
1352
1386
  name: e.value.legendIcon,
1353
1387
  stroke: t.color,
1354
1388
  size: e.value.legendIconSize
@@ -1357,10 +1391,10 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
1357
1391
  style: F(`font-size:${e.value.legendFontSize}px`)
1358
1392
  }, I(t.name), 5)
1359
1393
  ], 64))
1360
- ], 12, Ya))), 256)) : m("", !0)
1361
- ], 4)) : m("", !0),
1362
- he(mt, {
1363
- show: ye.value.showTooltip && G.value,
1394
+ ], 12, el))), 256)) : p("", !0)
1395
+ ], 4)) : p("", !0),
1396
+ fe(kt, {
1397
+ show: ke.value.showTooltip && G.value,
1364
1398
  backgroundColor: e.value.backgroundColor,
1365
1399
  color: e.value.color,
1366
1400
  borderRadius: e.value.tooltipBorderRadius,
@@ -1371,26 +1405,26 @@ const Xe = (s) => (ot("data-v-522703e1"), s = s(), it(), s), zt = ["id"], $t = [
1371
1405
  position: e.value.tooltipPosition,
1372
1406
  offsetY: e.value.tooltipOffsetY,
1373
1407
  parent: j.value,
1374
- content: Z.value,
1375
- isCustom: y(Se)(e.value.tooltipCustomFormat)
1408
+ content: J.value,
1409
+ isCustom: f(we)(e.value.tooltipCustomFormat)
1376
1410
  }, {
1377
- "tooltip-before": ee(() => [
1378
- D(r.$slots, "tooltip-before", Y(ce({ ...ne.value })), void 0, !0)
1411
+ "tooltip-before": te(() => [
1412
+ D(r.$slots, "tooltip-before", Y(he({ ...re.value })), void 0, !0)
1379
1413
  ]),
1380
- "tooltip-after": ee(() => [
1381
- D(r.$slots, "tooltip-after", Y(ce({ ...ne.value })), void 0, !0)
1414
+ "tooltip-after": te(() => [
1415
+ D(r.$slots, "tooltip-after", Y(he({ ...re.value })), void 0, !0)
1382
1416
  ]),
1383
1417
  _: 3
1384
1418
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"])
1385
- ], 14, zt)) : (a(), l("div", Za, [
1386
- he(we, {
1419
+ ], 14, Tt)) : (a(), l("div", tl, [
1420
+ fe(_e, {
1387
1421
  name: "circleCancel",
1388
1422
  stroke: "red"
1389
1423
  }),
1390
- Ja
1424
+ al
1391
1425
  ]));
1392
1426
  }
1393
- }, rl = /* @__PURE__ */ kt(Ka, [["__scopeId", "data-v-522703e1"]]);
1427
+ }, fl = /* @__PURE__ */ At(ll, [["__scopeId", "data-v-37ab2f36"]]);
1394
1428
  export {
1395
- rl as default
1429
+ fl as default
1396
1430
  };