vue-data-ui 3.22.10 → 3.22.12

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 (192) hide show
  1. package/dist/{Arrow-Ku6rQ87g.js → Arrow-DKx74WtM.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CdkCqtag.js → BaseDraggableDialog-3n8udWmh.js} +2 -2
  3. package/dist/{BaseIcon-CDTIUIKV.js → BaseIcon-CP5RWnqt.js} +1 -1
  4. package/dist/{BaseLegendToggle-BrQ2OlzI.js → BaseLegendToggle-DsWphmIb.js} +1 -1
  5. package/dist/{BaseZoomControls-CkEX0292.js → BaseZoomControls-C9_ygNN4.js} +2 -2
  6. package/dist/{ColorPicker-C959ZIW9.js → ColorPicker-3N_HVgXs.js} +2 -2
  7. package/dist/{DataTable-ByZy5gt1.js → DataTable-DzPEVvSo.js} +2 -2
  8. package/dist/{Legend-5VQGLnmx.js → Legend-C0xAnJdO.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-Bd8OzTqw.js → NonSvgPenAndPaper-B_mE5UbR.js} +3 -3
  10. package/dist/{PackageVersion-BoTvk0i5.js → PackageVersion-Di3tpYst.js} +1 -1
  11. package/dist/{PenAndPaper-CLaZJl6K.js → PenAndPaper-CSMVXpg2.js} +3 -3
  12. package/dist/{Shape-B5ksaGa1.js → Shape-BfnXr1nJ.js} +1 -1
  13. package/dist/Slicer-C6qNUmZ4.js +1149 -0
  14. package/dist/SlicerPreview-Cw6WMVhG.js +1689 -0
  15. package/dist/{SparkTooltip-CbYYc-xb.js → SparkTooltip-uoUiL_P8.js} +1 -1
  16. package/dist/{Title-Cr3jP7Qd.js → Title-BuPs74IB.js} +1 -1
  17. package/dist/{Tooltip-CDbLl3TD.js → Tooltip-CA1rtSyl.js} +1 -1
  18. package/dist/{UserOptions-BUQOnoPR.js → UserOptions-DzAFK9cY.js} +442 -441
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-COPbGrdd.js → dom-to-png-BdAFKZQg.js} +1 -1
  89. package/dist/{exposedLib-CZbtc2a6.js → exposedLib-Ciw6TGtP.js} +1 -1
  90. package/dist/{geoProjections-BbN7z57k.js → geoProjections-BCP_PoiB.js} +94 -94
  91. package/dist/{img-CNdXiUfZ.js → img-Bikk1dGb.js} +1 -1
  92. package/dist/{labelUtils-JaoYKi2N.js → labelUtils-BUhssos9.js} +1 -1
  93. package/dist/{lib-CnHx5WfV.js → lib-CFm_J26b.js} +3 -3
  94. package/dist/{package-BRBLwZUc.js → package-Bmet7oRZ.js} +1 -1
  95. package/dist/{pdf-CEMzBeuV.js → pdf-zmz3l2uy.js} +1 -1
  96. package/dist/{render-common-DJXFRGhU.js → render-common-Bdolvm-Q.js} +2 -2
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/composables.d.ts +28 -11
  102. package/dist/types/vue-data-ui.d.ts +27 -9
  103. package/dist/{useAutoSizeLabelsInsideViewbox-BUPt2iaP.js → useAutoSizeLabelsInsideViewbox-C9RNjsGv.js} +4 -4
  104. package/dist/{useConfig-DYM3f6EI.js → useConfig-C0V0eG7L.js} +1 -0
  105. package/dist/{useFitSvgText-CT3nmlaS.js → useFitSvgText-CXTzBplU.js} +3 -1
  106. package/dist/useMountedDelay-BAjrhRJb.js +14 -0
  107. package/dist/{useNestedProp-D8NuRneO.js → useNestedProp-BY6DNN3i.js} +1 -1
  108. package/dist/{useObjectBindings-CD31syQb.js → useObjectBindings-Djwpii4d.js} +1 -1
  109. package/dist/{usePrinter-B-X_Pub0.js → usePrinter-BH-xle1O.js} +2 -2
  110. package/dist/{canvas-lib-BOP_HS11.js → useResponsive-ZtArZtUf.js} +19 -1
  111. package/dist/{useSvgExport-SVIsDot8.js → useSvgExport-Ba9qBr9M.js} +6 -5
  112. package/dist/{useTableResponsive-B24Uwt2E.js → useTableResponsive-BAqJPR68.js} +2 -1
  113. package/dist/{useTimeLabels-BmBRv27Y.js → useTimeLabels-B9CEuiLZ.js} +1 -1
  114. package/dist/utils.js +3 -3
  115. package/dist/{vue-data-ui-Bx_8d3b_.js → vue-data-ui-DfU5hAaT.js} +68 -68
  116. package/dist/vue-data-ui.js +72 -72
  117. package/dist/{vue-ui-3d-bar-CfUfbpSE.js → vue-ui-3d-bar--HLw40qY.js} +9 -10
  118. package/dist/vue-ui-accordion-UA88lv4d.js +81 -0
  119. package/dist/{vue-ui-age-pyramid-DD-4y5Jd.js → vue-ui-age-pyramid-Bd_ubvoh.js} +9 -10
  120. package/dist/{vue-ui-annotator-BvGE3lzE.js → vue-ui-annotator-q3ZKx6ua.js} +15 -9
  121. package/dist/{vue-ui-bullet-DYOdbaO2.js → vue-ui-bullet-CM2jgN74.js} +10 -11
  122. package/dist/{vue-ui-bump-B8fJoxHF.js → vue-ui-bump-DvShTelE.js} +10 -11
  123. package/dist/{vue-ui-candlestick-BUP1JoNs.js → vue-ui-candlestick-CK9Na9KB.js} +474 -474
  124. package/dist/{vue-ui-carousel-table-D-Bwhydt.js → vue-ui-carousel-table-BxORSyv1.js} +5 -5
  125. package/dist/{vue-ui-chestnut-C2VK2NEx.js → vue-ui-chestnut-tW2ZnqwW.js} +11 -11
  126. package/dist/{vue-ui-chord-AA-QjUQI.js → vue-ui-chord-DqKCW4Pl.js} +11 -12
  127. package/dist/{vue-ui-circle-pack-CdBFGYOK.js → vue-ui-circle-pack-kmzEbu7G.js} +21 -25
  128. package/dist/{vue-ui-cursor-Cm_J_5Gk.js → vue-ui-cursor-SvEAxNKD.js} +4 -4
  129. package/dist/{vue-ui-dag-CgRph4-n.js → vue-ui-dag-DZGUw98x.js} +16 -14
  130. package/dist/{vue-ui-dashboard-BuPw5QjB.js → vue-ui-dashboard-BzzECKaL.js} +71 -72
  131. package/dist/{vue-ui-digits-ClrukmcB.js → vue-ui-digits-CKWMJqU_.js} +4 -4
  132. package/dist/{vue-ui-donut-Bc-EPZvu.js → vue-ui-donut-BWbuCT47.js} +17 -18
  133. package/dist/{vue-ui-donut-DtQCrMKL.js → vue-ui-donut-DjdH53Zj.js} +3 -3
  134. package/dist/{vue-ui-donut-evolution-DHkiY-BD.js → vue-ui-donut-evolution-CJNnXg31.js} +357 -362
  135. package/dist/{vue-ui-dumbbell-BlHEH4Mw.js → vue-ui-dumbbell-BUyfJOxH.js} +13 -13
  136. package/dist/{vue-ui-flow-PjwAW2tY.js → vue-ui-flow-C39C5dvl.js} +10 -11
  137. package/dist/{vue-ui-funnel-DojI09FV.js → vue-ui-funnel-_aMNVUkP.js} +9 -10
  138. package/dist/{vue-ui-galaxy-txYIK_LG.js → vue-ui-galaxy-Dng0GSjQ.js} +12 -13
  139. package/dist/{vue-ui-gauge-CoL0OzSd.js → vue-ui-gauge-BmZPLW3e.js} +10 -11
  140. package/dist/{vue-ui-geo-yuL-_sqF.js → vue-ui-geo-BOx-pK_5.js} +15 -14
  141. package/dist/{vue-ui-gizmo-CbC5zV3K.js → vue-ui-gizmo-BCGwhNna.js} +4 -4
  142. package/dist/{vue-ui-heatmap-CwqsZIsR.js → vue-ui-heatmap-BORjgllw.js} +12 -13
  143. package/dist/{vue-ui-history-plot-CuWssH-D.js → vue-ui-history-plot-DY3fqgIY.js} +11 -12
  144. package/dist/{vue-ui-horizontal-bar-Dyje3GND.js → vue-ui-horizontal-bar-C8f4PisL.js} +17 -17
  145. package/dist/{vue-ui-kpi-BdYenScF.js → vue-ui-kpi-BdhXSBIJ.js} +4 -4
  146. package/dist/{vue-ui-mini-loader-BbwE3vBT.js → vue-ui-mini-loader-D9pprk2c.js} +3 -3
  147. package/dist/{vue-ui-molecule-BBh31vmd.js → vue-ui-molecule-PlmDykKX.js} +9 -8
  148. package/dist/{vue-ui-mood-radar-B_6GFlaR.js → vue-ui-mood-radar-C9LTAt_c.js} +10 -11
  149. package/dist/{vue-ui-nested-donuts-BWq-At5Y.js → vue-ui-nested-donuts-F5OXPxvU.js} +12 -13
  150. package/dist/{vue-ui-onion-BwGbSE-6.js → vue-ui-onion-D1-j-pvW.js} +13 -14
  151. package/dist/{vue-ui-parallel-coordinate-plot-Bh9hNoqf.js → vue-ui-parallel-coordinate-plot-Vb_QjRp5.js} +303 -307
  152. package/dist/{vue-ui-quadrant-B72Y4Zuw.js → vue-ui-quadrant-DMFawnHm.js} +19 -18
  153. package/dist/{vue-ui-quick-chart-B3LF2ViM.js → vue-ui-quick-chart-BF5fKxY2.js} +606 -632
  154. package/dist/{vue-ui-radar-4v_E8oGX.js → vue-ui-radar-D91pCqhn.js} +12 -13
  155. package/dist/{vue-ui-rating-CzLGCFWK.js → vue-ui-rating-DbxK-ftN.js} +3 -3
  156. package/dist/{vue-ui-relation-circle-B_8dyIv2.js → vue-ui-relation-circle-DfxvnOs6.js} +14 -21
  157. package/dist/{vue-ui-ridgeline-BArLhskj.js → vue-ui-ridgeline-BOL0m1mR.js} +13 -14
  158. package/dist/{vue-ui-rings-Csn5BgLk.js → vue-ui-rings-4RxAaMo4.js} +13 -14
  159. package/dist/vue-ui-scatter-Bs1wek00.js +2409 -0
  160. package/dist/{vue-ui-skeleton-KeIPGp9U.js → vue-ui-skeleton-B84nELF_.js} +4 -4
  161. package/dist/{vue-ui-smiley-C1mYDh4R.js → vue-ui-smiley-Da2jgkb7.js} +3 -3
  162. package/dist/{vue-ui-spark-trend-EqCqmHmU.js → vue-ui-spark-trend-BR-qkwJ6.js} +6 -7
  163. package/dist/{vue-ui-sparkbar-BPh45vBP.js → vue-ui-sparkbar-DghCbhj2.js} +51 -54
  164. package/dist/{vue-ui-sparkgauge-CtouPcyW.js → vue-ui-sparkgauge-DbeTbrxx.js} +4 -4
  165. package/dist/{vue-ui-sparkhistogram-D4sI0DHN.js → vue-ui-sparkhistogram-B2xSQyOp.js} +7 -8
  166. package/dist/{vue-ui-sparkline-BDFZ78Fz.js → vue-ui-sparkline-D3xRMcy9.js} +6 -7
  167. package/dist/{vue-ui-sparkstackbar-CbTXIfxm.js → vue-ui-sparkstackbar-D8z8fVFZ.js} +5 -5
  168. package/dist/vue-ui-stackbar-B63-UgSr.js +2322 -0
  169. package/dist/{vue-ui-stackline-CzfXl5ah.js → vue-ui-stackline-Dukmj3yT.js} +588 -586
  170. package/dist/vue-ui-strip-plot-Bws0p7tP.js +1736 -0
  171. package/dist/{vue-ui-table-BAKkFXki.js → vue-ui-table-dxCS6ztG.js} +12 -11
  172. package/dist/{vue-ui-table-heatmap-CUMxqHKK.js → vue-ui-table-heatmap-CSI482KG.js} +9 -15
  173. package/dist/{vue-ui-table-sparkline-BVTm16fd.js → vue-ui-table-sparkline-C-XgNV1l.js} +10 -8
  174. package/dist/{vue-ui-thermometer-CGeEW1KV.js → vue-ui-thermometer-BUKge0w8.js} +10 -11
  175. package/dist/{vue-ui-timer-Bz7EnsM1.js → vue-ui-timer-CCd3pznw.js} +7 -8
  176. package/dist/{vue-ui-tiremarks-IOqtk_Rr.js → vue-ui-tiremarks-CG5X5rgi.js} +9 -10
  177. package/dist/{vue-ui-treemap-JxNNtb7v.js → vue-ui-treemap-CNVB8Ng6.js} +501 -492
  178. package/dist/{vue-ui-waffle-D34mcJWi.js → vue-ui-waffle-DH5Rf1WM.js} +13 -14
  179. package/dist/{vue-ui-wheel-B_qEhyvk.js → vue-ui-wheel-BzEkxqDz.js} +10 -11
  180. package/dist/{vue-ui-word-cloud-TtObhd91.js → vue-ui-word-cloud-DbfGZ-hb.js} +15 -12
  181. package/dist/{vue-ui-world-R9o00A6c.js → vue-ui-world-CL6KcPcv.js} +10 -10
  182. package/dist/{vue-ui-xy-Do34-UbE.js → vue-ui-xy-4Xp7UoLs.js} +9 -9
  183. package/dist/{vue-ui-xy-CUt6sU1s.js → vue-ui-xy-BAmxfSSw.js} +1269 -1266
  184. package/dist/{vue-ui-xy-canvas-C6eRRH--.js → vue-ui-xy-canvas-7YSYRdwr.js} +27 -27
  185. package/package.json +3 -3
  186. package/dist/Slicer-WsWTQPKt.js +0 -1150
  187. package/dist/SlicerPreview-3n516NyE.js +0 -1688
  188. package/dist/useResponsive-BfnK0KxU.js +0 -19
  189. package/dist/vue-ui-accordion-Oo3IsX3-.js +0 -81
  190. package/dist/vue-ui-scatter-BBaOx94M.js +0 -2422
  191. package/dist/vue-ui-stackbar-nMXIY9x8.js +0 -2339
  192. package/dist/vue-ui-strip-plot-BCf5nthl.js +0 -1736
@@ -1,25 +1,25 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, C as n, Gt as r, K as i, Lt as a, N as o, Nt as s, Ot as c, W as l, Y as u, bt as ee, d, et as f, f as p, g as te, i as m, m as ne, qt as re, st as ie, t as ae, x as oe, y as h } from "./lib-CnHx5WfV.js";
3
- import { t as se } from "./useTimeLabels-BmBRv27Y.js";
4
- import { t as ce } from "./useConfig-DYM3f6EI.js";
5
- import { t as le } from "./usePrinter-B-X_Pub0.js";
2
+ import { At as t, C as n, Gt as r, K as i, Lt as a, N as o, Nt as s, Ot as c, W as l, Y as u, bt as ee, d, et as f, f as p, g as te, i as m, m as ne, qt as re, st as ie, t as ae, x as oe, y as h } from "./lib-CFm_J26b.js";
3
+ import { t as se } from "./useTimeLabels-B9CEuiLZ.js";
4
+ import { t as ce } from "./useConfig-C0V0eG7L.js";
5
+ import { t as le } from "./usePrinter-BH-xle1O.js";
6
6
  import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as fe } from "./useSvgExport-SVIsDot8.js";
8
- import { t as pe } from "./useNestedProp-D8NuRneO.js";
7
+ import { t as fe } from "./useSvgExport-Ba9qBr9M.js";
8
+ import { t as pe } from "./useNestedProp-BY6DNN3i.js";
9
9
  import { t as me } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as he } from "./useTimeLabelCollider-AEcY4Ioe.js";
11
- import { t as ge } from "./img-CNdXiUfZ.js";
12
- import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { c as ve } from "./canvas-lib-BOP_HS11.js";
14
- import { t as ye } from "./useResponsive-BfnK0KxU.js";
15
- import { t as be } from "./BaseLegendToggle-BrQ2OlzI.js";
16
- import { t as xe } from "./A11yDataTable-DdRsVULz.js";
17
- import { t as Se } from "./useChartAccessibility-DYqac8yF.js";
18
- import { t as Ce } from "./Slicer-WsWTQPKt.js";
19
- import { t as we } from "./vue_ui_quick_chart-mZBdml3Z.js";
20
- import { Fragment as g, Teleport as Te, computed as _, createBlock as Ee, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createSlots as De, createVNode as Oe, defineAsyncComponent as ke, guardReactiveProps as x, mergeProps as Ae, nextTick as je, normalizeClass as Me, normalizeProps as S, normalizeStyle as C, onBeforeUnmount as Ne, onMounted as Pe, openBlock as w, ref as T, renderList as E, renderSlot as D, shallowRef as Fe, toDisplayString as O, toRefs as Ie, unref as k, watch as Le, watchEffect as Re, withCtx as A } from "vue";
10
+ import { t as he } from "./useMountedDelay-BAjrhRJb.js";
11
+ import { t as ge } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
+ import { t as _e } from "./img-Bikk1dGb.js";
13
+ import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
+ import { l as ye, t as be } from "./useResponsive-ZtArZtUf.js";
15
+ import { t as xe } from "./BaseLegendToggle-DsWphmIb.js";
16
+ import { t as Se } from "./A11yDataTable-DdRsVULz.js";
17
+ import { t as Ce } from "./useChartAccessibility-DYqac8yF.js";
18
+ import { t as we } from "./Slicer-C6qNUmZ4.js";
19
+ import { t as Te } from "./vue_ui_quick_chart-mZBdml3Z.js";
20
+ import { Fragment as g, Teleport as Ee, computed as _, createBlock as De, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createSlots as Oe, createVNode as ke, defineAsyncComponent as Ae, guardReactiveProps as x, mergeProps as je, nextTick as Me, normalizeClass as S, normalizeProps as C, normalizeStyle as w, onBeforeUnmount as Ne, onMounted as Pe, openBlock as T, ref as E, renderList as D, renderSlot as O, shallowRef as Fe, toDisplayString as k, toRefs as Ie, unref as A, watch as Le, watchEffect as Re, withCtx as j } from "vue";
21
21
  //#region src/chartDetector.js
22
- var j = {
22
+ var M = {
23
23
  LINE: "LINE",
24
24
  BAR: "BAR",
25
25
  DONUT: "DONUT"
@@ -33,14 +33,14 @@ var j = {
33
33
  ];
34
34
  function Be({ dataset: e, barLineSwitch: t = 6, debug: n = !0 }) {
35
35
  let r = null, i = null, a = 0;
36
- if ((typeof e == "number" || typeof e == "string") && n && console.warn(`The provided dataset (${e}) is not sufficient to build a chart`), He(e) && (M(e) && (r = e.length < t ? j.BAR : j.LINE, i = e, a = e.length), Ue(e))) {
37
- if (!Ge(e)) return n && console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
36
+ if ((typeof e == "number" || typeof e == "string") && n && console.warn(`The provided dataset (${e}) is not sufficient to build a chart`), He(e) && (Ue(e) && (r = e.length < t ? M.BAR : M.LINE, i = e, a = e.length), We(e))) {
37
+ if (!Ke(e)) return n && console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
38
38
  let o = Object.keys(e[0]), s = Object.values(e[0]);
39
- if (!o.some((e) => Ke(e))) return n && 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;
40
- qe(s, (e) => typeof e == "number") && (r = j.DONUT, i = e), qe(s, (e) => Array.isArray(e) && M(e)) && (r = Je(e) > t ? j.LINE : j.BAR, a = Je(e), i = e.map((e) => ({
39
+ if (!o.some((e) => qe(e))) return n && 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;
40
+ Je(s, (e) => typeof e == "number") && (r = M.DONUT, i = e), Je(s, (e) => Array.isArray(e) && Ue(e)) && (r = Ye(e) > t ? M.LINE : M.BAR, a = Ye(e), i = e.map((e) => ({
41
41
  ...e,
42
- data: Ye(e, (e) => M(e))
43
- }))), e = e.map((e) => N(e)), i = i.map((e) => N(e));
42
+ data: Xe(e, (e) => Ue(e))
43
+ }))), e = e.map((e) => Ze(e)), i = i.map((e) => Ze(e));
44
44
  }
45
45
  return {
46
46
  dataset: e,
@@ -55,15 +55,15 @@ function Ve(e) {
55
55
  function He(e) {
56
56
  return Array.isArray(e);
57
57
  }
58
- function M(e) {
58
+ function Ue(e) {
59
59
  if (!He(e) || Ve(e)) return !1;
60
60
  let t = e.map((e) => Number(e));
61
61
  return ![...new Set(t.flatMap((e) => typeof e == "number" && !isNaN(e)))].includes(!1);
62
62
  }
63
- function Ue(e) {
63
+ function We(e) {
64
64
  return !He(e) || Ve(e) || [...new Set(e.flatMap((e) => typeof e == "object" && !Array.isArray(e)))].includes(!1) ? !1 : !e.map((e) => Object.keys(e).length > 0).includes(!1);
65
65
  }
66
- function We(e, t) {
66
+ function Ge(e, t) {
67
67
  let n = Object.keys(e).sort(), r = Object.keys(t).sort();
68
68
  if (n.length !== r.length) return !1;
69
69
  for (let i = 0; i < n.length; i += 1) {
@@ -72,179 +72,171 @@ function We(e, t) {
72
72
  }
73
73
  return !0;
74
74
  }
75
- function Ge(e) {
75
+ function Ke(e) {
76
76
  if (e.length <= 1) return !0;
77
- for (let t = 0; t < e.length; t += 1) for (let n = t + 1; n < e.length; n += 1) if (!We(e[t], e[n])) return !1;
77
+ for (let t = 0; t < e.length; t += 1) for (let n = t + 1; n < e.length; n += 1) if (!Ge(e[t], e[n])) return !1;
78
78
  return !0;
79
79
  }
80
- function Ke(e) {
80
+ function qe(e) {
81
81
  return ze.includes(e.toUpperCase());
82
82
  }
83
- function qe(e, t) {
83
+ function Je(e, t) {
84
84
  let n = [];
85
85
  for (let r = 0; r < e.length; r += 1) n.push(t(e[r]));
86
86
  return n.includes(!0);
87
87
  }
88
- function Je(e) {
89
- return Math.max(...[...e].flatMap((e) => Object.values(e).filter((e) => M(e)).map((e) => e.length)));
88
+ function Ye(e) {
89
+ return Math.max(...[...e].flatMap((e) => Object.values(e).filter((e) => Ue(e)).map((e) => e.length)));
90
90
  }
91
- function Ye(e, t) {
91
+ function Xe(e, t) {
92
92
  return Object.values(e).filter((e) => t(e))[0];
93
93
  }
94
- function N(e) {
94
+ function Ze(e) {
95
95
  let t = {};
96
96
  for (let n in e) e.hasOwnProperty(n) && (t[n.toUpperCase()] = e[n]);
97
97
  return t;
98
98
  }
99
99
  //#endregion
100
100
  //#region src/components/vue-ui-quick-chart.vue
101
- var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe = ["id"], $e = { style: { position: "relative" } }, et = [
101
+ var N = /* @__PURE__ */ e({ default: () => P }), Qe = ["id"], $e = ["id"], et = ["id"], tt = { style: { position: "relative" } }, nt = [
102
102
  "xmlns",
103
103
  "aria-describedby",
104
104
  "viewBox"
105
- ], tt = [
105
+ ], rt = [
106
106
  "x",
107
107
  "y",
108
108
  "width",
109
109
  "height"
110
- ], nt = [
110
+ ], it = [
111
111
  "x",
112
112
  "y",
113
113
  "width",
114
114
  "height"
115
- ], rt = ["width", "height"], it = ["id"], at = ["id"], ot = ["id"], st = ["flood-color"], ct = {
115
+ ], at = ["width", "height"], ot = ["id"], st = ["id"], ct = ["id"], lt = ["flood-color"], ut = {
116
116
  key: 0,
117
117
  class: "donut-label-connectors"
118
- }, lt = [
118
+ }, dt = [
119
119
  "d",
120
120
  "stroke",
121
121
  "stroke-width",
122
122
  "filter"
123
- ], ut = [
123
+ ], ft = [
124
124
  "cx",
125
125
  "cy",
126
126
  "r",
127
127
  "fill",
128
128
  "filter"
129
- ], dt = { class: "donut" }, ft = [
129
+ ], pt = { class: "donut" }, mt = [
130
130
  "d",
131
131
  "fill",
132
132
  "stroke",
133
133
  "stroke-width",
134
134
  "filter"
135
- ], pt = [
135
+ ], ht = [
136
136
  "d",
137
137
  "onMouseenter",
138
138
  "onMouseout",
139
139
  "onClick"
140
- ], mt = {
140
+ ], gt = {
141
141
  key: 1,
142
142
  class: "donut-labels quick-animation"
143
- }, ht = [
143
+ }, _t = [
144
144
  "cx",
145
145
  "cy",
146
146
  "fill",
147
147
  "stroke",
148
148
  "filter"
149
- ], gt = [
149
+ ], vt = [
150
150
  "text-anchor",
151
151
  "x",
152
152
  "y",
153
153
  "fill",
154
154
  "font-size",
155
155
  "filter"
156
- ], _t = [
156
+ ], yt = [
157
157
  "text-anchor",
158
158
  "x",
159
159
  "y",
160
160
  "fill",
161
161
  "font-size",
162
162
  "filter"
163
- ], vt = {
163
+ ], bt = {
164
164
  key: 2,
165
165
  class: "donut-hollow quick-animation"
166
- }, yt = [
166
+ }, xt = [
167
167
  "x",
168
168
  "y",
169
169
  "font-size",
170
170
  "fill"
171
- ], bt = [
171
+ ], St = [
172
172
  "x",
173
173
  "y",
174
174
  "font-size",
175
175
  "fill"
176
- ], xt = {
176
+ ], Ct = {
177
177
  key: 0,
178
178
  class: "line-grid"
179
- }, St = [
179
+ }, wt = [
180
180
  "x1",
181
181
  "x2",
182
182
  "y1",
183
183
  "y2",
184
184
  "stroke",
185
185
  "stroke-width"
186
- ], Ct = [
186
+ ], Tt = [
187
187
  "x1",
188
188
  "x2",
189
189
  "y1",
190
190
  "y2",
191
191
  "stroke",
192
192
  "stroke-width"
193
- ], wt = {
193
+ ], Et = {
194
194
  key: 1,
195
195
  class: "line-axis"
196
- }, Tt = [
196
+ }, Dt = [
197
197
  "x1",
198
198
  "x2",
199
199
  "y1",
200
200
  "y2",
201
201
  "stroke",
202
202
  "stroke-width"
203
- ], Et = [
203
+ ], Ot = [
204
204
  "x1",
205
205
  "x2",
206
206
  "y1",
207
207
  "y2",
208
208
  "stroke",
209
209
  "stroke-width"
210
- ], Dt = [
211
- "x1",
212
- "x2",
213
- "y1",
214
- "y2",
210
+ ], kt = [
211
+ "d",
215
212
  "stroke",
216
213
  "stroke-width"
217
- ], Ot = [
218
- "x",
219
- "y",
214
+ ], At = [
215
+ "transform",
220
216
  "font-size",
221
217
  "fill"
222
- ], kt = {
218
+ ], jt = {
223
219
  key: 3,
224
220
  class: "periodLabels"
225
- }, At = [
221
+ }, Mt = [
226
222
  "x1",
227
223
  "x2",
228
224
  "y1",
229
225
  "y2",
230
226
  "stroke",
231
227
  "stroke-width"
232
- ], jt = { key: 0 }, Mt = [
228
+ ], Nt = { key: 0 }, Pt = [
233
229
  "font-size",
234
230
  "text-anchor",
235
231
  "fill",
236
232
  "transform"
237
- ], Nt = [
233
+ ], Ft = [
238
234
  "font-size",
239
235
  "text-anchor",
240
236
  "fill",
241
237
  "transform",
242
238
  "innerHTML"
243
- ], Pt = { class: "plots" }, Ft = { class: "line-plot-series" }, It = [
244
- "d",
245
- "stroke",
246
- "stroke-width"
247
- ], Lt = [
239
+ ], It = { class: "plots" }, Lt = [
248
240
  "d",
249
241
  "stroke",
250
242
  "stroke-width"
@@ -257,22 +249,25 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
257
249
  "stroke",
258
250
  "stroke-width"
259
251
  ], Bt = [
252
+ "d",
253
+ "stroke",
254
+ "stroke-width"
255
+ ], Vt = [
260
256
  "cx",
261
257
  "cy",
262
258
  "fill",
263
259
  "stroke"
264
- ], Vt = {
260
+ ], Ht = {
265
261
  key: 4,
266
262
  class: "dataLabels"
267
- }, Ht = [
263
+ }, Ut = [
268
264
  "font-size",
269
265
  "fill",
270
- "x",
271
- "y"
272
- ], Ut = {
266
+ "transform"
267
+ ], Wt = {
273
268
  key: 5,
274
269
  class: "tooltip-traps"
275
- }, Wt = [
270
+ }, Gt = [
276
271
  "x",
277
272
  "y",
278
273
  "height",
@@ -281,34 +276,27 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
281
276
  "onMouseenter",
282
277
  "onMouseleave",
283
278
  "onClick"
284
- ], Gt = {
279
+ ], Kt = {
285
280
  key: 0,
286
281
  class: "line-grid"
287
- }, Kt = [
282
+ }, qt = [
288
283
  "x1",
289
284
  "x2",
290
285
  "y1",
291
286
  "y2",
292
287
  "stroke",
293
288
  "stroke-width"
294
- ], qt = [
289
+ ], Jt = [
295
290
  "x1",
296
291
  "x2",
297
292
  "y1",
298
293
  "y2",
299
294
  "stroke",
300
295
  "stroke-width"
301
- ], Jt = {
296
+ ], Yt = {
302
297
  key: 1,
303
298
  class: "line-axis"
304
- }, Yt = [
305
- "x1",
306
- "x2",
307
- "y1",
308
- "y2",
309
- "stroke",
310
- "stroke-width"
311
- ], Xt = [
299
+ }, Xt = [
312
300
  "x1",
313
301
  "x2",
314
302
  "y1",
@@ -323,32 +311,35 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
323
311
  "stroke",
324
312
  "stroke-width"
325
313
  ], Qt = [
326
- "x",
327
- "y",
314
+ "d",
315
+ "stroke",
316
+ "stroke-width"
317
+ ], $t = [
318
+ "transform",
328
319
  "font-size",
329
320
  "fill"
330
- ], $t = {
321
+ ], en = {
331
322
  key: 3,
332
323
  class: "periodLabels"
333
- }, en = [
324
+ }, tn = [
334
325
  "x1",
335
326
  "x2",
336
327
  "y1",
337
328
  "y2",
338
329
  "stroke",
339
330
  "stroke-width"
340
- ], tn = { key: 0 }, nn = [
331
+ ], nn = { key: 0 }, rn = [
341
332
  "font-size",
342
333
  "text-anchor",
343
334
  "fill",
344
335
  "transform"
345
- ], rn = [
336
+ ], an = [
346
337
  "font-size",
347
338
  "text-anchor",
348
339
  "fill",
349
340
  "transform",
350
341
  "innerHTML"
351
- ], an = { class: "plots" }, on = [
342
+ ], on = { class: "plots" }, sn = [
352
343
  "x",
353
344
  "width",
354
345
  "height",
@@ -356,18 +347,17 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
356
347
  "fill",
357
348
  "stroke",
358
349
  "stroke-width"
359
- ], sn = ["to"], cn = ["from", "to"], ln = {
350
+ ], cn = ["to"], ln = ["from", "to"], un = {
360
351
  key: 4,
361
352
  class: "dataLabels"
362
- }, un = [
363
- "x",
364
- "y",
353
+ }, dn = [
354
+ "transform",
365
355
  "font-size",
366
356
  "fill"
367
- ], dn = {
357
+ ], fn = {
368
358
  key: 5,
369
359
  class: "tooltip-traps"
370
- }, fn = [
360
+ }, pn = [
371
361
  "x",
372
362
  "y",
373
363
  "height",
@@ -376,28 +366,28 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
376
366
  "onMouseenter",
377
367
  "onMouseleave",
378
368
  "onClick"
379
- ], pn = {
369
+ ], mn = {
380
370
  key: 6,
381
371
  class: "axis-labels"
382
- }, mn = [
372
+ }, hn = [
383
373
  "font-size",
384
374
  "fill",
385
375
  "x",
386
376
  "y"
387
- ], hn = [
377
+ ], gn = [
388
378
  "font-size",
389
379
  "fill",
390
380
  "x",
391
381
  "y"
392
- ], gn = [
382
+ ], _n = [
393
383
  "font-size",
394
384
  "fill",
395
385
  "transform"
396
- ], _n = [
386
+ ], vn = [
397
387
  "font-size",
398
388
  "fill",
399
389
  "transform"
400
- ], vn = {
390
+ ], yn = {
401
391
  key: 1,
402
392
  style: {
403
393
  position: "absolute",
@@ -407,13 +397,13 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
407
397
  },
408
398
  "data-dom-to-png-ignore": "",
409
399
  "aria-hidden": "true"
410
- }, yn = {
400
+ }, bn = {
411
401
  key: 5,
412
402
  class: "vue-data-ui-watermark"
413
- }, bn = ["id"], xn = ["onClick", "onKeydown"], Sn = ["onClick", "onKeydown"], Cn = ["onClick", "onKeydown"], wn = {
403
+ }, xn = ["id"], Sn = ["onClick", "onKeydown"], Cn = ["onClick", "onKeydown"], wn = ["onClick", "onKeydown"], Tn = {
414
404
  key: 1,
415
405
  class: "vue-ui-quick-chart-not-processable"
416
- }, Tn = /*#__PURE__*/ _e({
406
+ }, P = /*#__PURE__*/ ve({
417
407
  __name: "vue-ui-quick-chart",
418
408
  props: {
419
409
  config: {
@@ -439,13 +429,13 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
439
429
  "selectLegend",
440
430
  "copyAlt"
441
431
  ],
442
- setup(e, { expose: _e, emit: ze }) {
443
- let Ve = ke(() => import("./BaseIcon-CDTIUIKV.js").then((e) => e.n)), He = ke(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), We = ke(() => import("./PenAndPaper-CLaZJl6K.js").then((e) => e.t)), Ge = ke(() => import("./Tooltip-CDbLl3TD.js")), Ke = ke(() => import("./UserOptions-BUQOnoPR.js").then((e) => e.n)), { vue_ui_quick_chart: qe } = ce(), { isThemeValid: Je, warnInvalidTheme: Ye } = me(), N = e, P = T(null), Tn = T(null), En = T(null), Dn = T(null), F = T(i()), I = T(!1), On = T(null), kn = T(""), L = T(null), An = T(null), jn = T(null), R = T([]), Mn = T(0), Nn = T(0), Pn = T(!1), Fn = T(null), In = T(null), z = T(null), Ln = T(null), Rn = T(null), zn = T(null);
444
- T("#FFFFFF");
445
- let B = T($n()), Bn = _(() => !!B.value.debug), Vn = _(() => B.value.useCursorPointer), V = T(null), Hn = T({
432
+ setup(e, { expose: ve, emit: ze }) {
433
+ let Ve = Ae(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), He = Ae(() => import("./PackageVersion-Di3tpYst.js").then((e) => e.t)), Ge = Ae(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), Ke = Ae(() => import("./Tooltip-CA1rtSyl.js")), qe = Ae(() => import("./UserOptions-DzAFK9cY.js").then((e) => e.n)), { vue_ui_quick_chart: Je } = ce(), { isThemeValid: Ye, warnInvalidTheme: Xe } = me(), { isReady: Ze } = he(300), N = e, P = E(null), En = E(null), Dn = E(null), On = E(null), F = E(i()), I = E(!1), kn = E(null), An = E(""), L = E(null), jn = E(null), Mn = E(null), R = E([]), Nn = E(0), Pn = E(0), Fn = E(!1), In = E(null), Ln = E(null), z = E(null), Rn = E(null), zn = E(null), Bn = E(null);
434
+ E("#FFFFFF");
435
+ let B = E(er()), Vn = _(() => !!B.value.debug), Hn = _(() => B.value.useCursorPointer), V = E(null), Un = E({
446
436
  x: 0,
447
437
  y: 0
448
- }), H = T("pointer"), Un = T(!1), Wn = _(() => re({
438
+ }), H = E("pointer"), Wn = E(!1), Gn = _(() => re({
449
439
  dafaultConfig: {
450
440
  backgroundColor: "#99999930",
451
441
  customPalette: ["#BABABA"],
@@ -466,13 +456,13 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
466
456
  zoomEndIndex: null
467
457
  },
468
458
  userConfig: B.value.skeletonConfig ?? {}
469
- })), { loading: U, FINAL_DATASET: Gn, manualLoading: Kn } = ue({
459
+ })), { loading: U, FINAL_DATASET: Kn, manualLoading: qn } = ue({
470
460
  ...Ie(N),
471
461
  FINAL_CONFIG: B,
472
- prepareConfig: $n,
462
+ prepareConfig: er,
473
463
  callback: () => {
474
464
  Promise.resolve().then(async () => {
475
- await je(), K.value === j.LINE && B.value.lineAnimated && !U.value && Lr({
465
+ await Me(), K.value === M.LINE && B.value.lineAnimated && !U.value && Rr({
476
466
  pathDuration: 1e3,
477
467
  pointDuration: 1200,
478
468
  labelDuration: 1200
@@ -493,21 +483,21 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
493
483
  ],
494
484
  skeletonConfig: re({
495
485
  defaultConfig: B.value,
496
- userConfig: Wn.value
486
+ userConfig: Gn.value
497
487
  })
498
- }), { svgRef: qn } = Se({ config: { text: B.value.title } }), Jn = _(() => B.value.showUserOptionsOnChartHover), Yn = _(() => B.value.keepUserOptionsStateOnChartLeave), Xn = T(!B.value.showUserOptionsOnChartHover), Zn = T(!1);
499
- function Qn(e = !1) {
500
- Zn.value = e, Jn.value && (Xn.value = e);
488
+ }), { svgRef: Jn } = Ce({ config: { text: B.value.title } }), Yn = _(() => B.value.showUserOptionsOnChartHover), Xn = _(() => B.value.keepUserOptionsStateOnChartLeave), Zn = E(!B.value.showUserOptionsOnChartHover), Qn = E(!1);
489
+ function $n(e = !1) {
490
+ Qn.value = e, Yn.value && (Zn.value = e);
501
491
  }
502
- function $n() {
492
+ function er() {
503
493
  let e = pe({
504
494
  userConfig: N.config,
505
- defaultConfig: qe
495
+ defaultConfig: Je
506
496
  }), t = {}, n = e.theme;
507
- if (n) if (!Je.value(e)) Ye(e), t = e;
497
+ if (n) if (!Ye.value(e)) Xe(e), t = e;
508
498
  else {
509
499
  let i = pe({
510
- userConfig: we[n] || N.config,
500
+ userConfig: Te[n] || N.config,
511
501
  defaultConfig: e
512
502
  });
513
503
  t = {
@@ -522,16 +512,16 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
522
512
  return t;
523
513
  }
524
514
  Le(() => N.config, (e) => {
525
- U.value || (B.value = $n()), q.value.width = B.value.width, q.value.height = B.value.height, Xn.value = !B.value.showUserOptionsOnChartHover, dr(), cr.value.showTooltip = B.value.showTooltip;
515
+ U.value || (B.value = er()), q.value.width = B.value.width, q.value.height = B.value.height, Zn.value = !B.value.showUserOptionsOnChartHover, fr(), lr.value.showTooltip = B.value.showTooltip;
526
516
  }, { deep: !0 }), Le(() => N.dataset, (e) => {
527
- G.value = tr.value, X.value.start = 0, X.value.end = G.value.maxSeriesLength, Nn.value += 1;
517
+ G.value = nr.value, X.value.start = 0, X.value.end = G.value.maxSeriesLength, Pn.value += 1;
528
518
  }, { deep: !0 }), Le(() => N.dataset, (e) => {
529
- Array.isArray(e) && e.length > 0 && (Kn.value = !1);
519
+ Array.isArray(e) && e.length > 0 && (qn.value = !1);
530
520
  }, { immediate: !0 });
531
- let er = _(() => n(B.value.customPalette)), W = ze, tr = _(() => {
521
+ let tr = _(() => n(B.value.customPalette)), W = ze, nr = _(() => {
532
522
  let e = Be({
533
- debug: Bn.value,
534
- dataset: a(Gn.value, [
523
+ debug: Vn.value,
524
+ dataset: a(Kn.value, [
535
525
  "serie",
536
526
  "series",
537
527
  "data",
@@ -541,86 +531,86 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
541
531
  ]),
542
532
  barLineSwitch: B.value.chartIsBarUnderDatasetLength
543
533
  });
544
- return !e && Bn.value && console.error("VueUiQuickChart : Dataset is not processable"), e;
545
- }), G = T(tr.value), nr = _(() => !!G.value), K = _(() => G.value ? G.value.type : null);
534
+ return !e && Vn.value && console.error("VueUiQuickChart : Dataset is not processable"), e;
535
+ }), G = E(nr.value), rr = _(() => !!G.value), K = _(() => G.value ? G.value.type : null);
546
536
  Le(() => K.value, (e) => {
547
537
  e || f({
548
538
  componentName: "VueUiQuickChart",
549
539
  type: "dataset",
550
- debug: Bn.value
540
+ debug: Vn.value
551
541
  });
552
542
  }, { immediate: !0 });
553
- let { isPrinting: rr, isImaging: ir, generatePdf: ar, generateImage: or } = le({
543
+ let { isPrinting: ir, isImaging: ar, generatePdf: or, generateImage: sr } = le({
554
544
  elementId: `${K.value}_${F.value}`,
555
545
  fileName: B.value.title || K.value,
556
546
  options: B.value.userOptionsPrint
557
- }), sr = _(() => B.value.showUserOptions && !B.value.title), q = T({
547
+ }), cr = _(() => B.value.showUserOptions && !B.value.title), q = E({
558
548
  width: B.value.width,
559
549
  height: B.value.height
560
- }), cr = T({ showTooltip: B.value.showTooltip });
550
+ }), lr = E({ showTooltip: B.value.showTooltip });
561
551
  Le(B, () => {
562
- cr.value = { showTooltip: B.value.showTooltip };
552
+ lr.value = { showTooltip: B.value.showTooltip };
563
553
  }, { immediate: !0 });
564
- let lr = Fe(null), ur = Fe(null);
554
+ let ur = Fe(null), dr = Fe(null);
565
555
  Pe(async () => {
566
- Pn.value = !0, dr();
556
+ Fn.value = !0, fr();
567
557
  });
568
- function dr() {
569
- if (t(N.dataset) || (Kn.value = B.value.loading), B.value.responsive) {
570
- let e = ve(() => {
571
- let { width: e, height: t } = ye({
558
+ function fr() {
559
+ if (t(N.dataset) || (qn.value = B.value.loading), B.value.responsive) {
560
+ let e = ye(() => {
561
+ let { width: e, height: t } = be({
572
562
  chart: P.value,
573
- title: B.value.title ? Tn.value : null,
574
- legend: B.value.showLegend ? En.value : null,
575
- slicer: [j.BAR, j.LINE].includes(K.value) && B.value.zoomXy && G.value.maxSeriesLength > 1 ? Dn.value : null,
576
- source: An.value,
577
- noTitle: jn.value
563
+ title: B.value.title ? En.value : null,
564
+ legend: B.value.showLegend ? Dn.value : null,
565
+ slicer: [M.BAR, M.LINE].includes(K.value) && B.value.zoomXy && G.value.maxSeriesLength > 1 ? On.value : null,
566
+ source: jn.value,
567
+ noTitle: Mn.value
578
568
  });
579
569
  requestAnimationFrame(() => {
580
570
  q.value.width = e, q.value.height = t;
581
571
  });
582
572
  });
583
- lr.value && (ur.value && lr.value.unobserve(ur.value), lr.value.disconnect()), lr.value = new ResizeObserver(e), ur.value = P.value.parentNode, lr.value.observe(ur.value);
573
+ ur.value && (dr.value && ur.value.unobserve(dr.value), ur.value.disconnect()), ur.value = new ResizeObserver(e), dr.value = P.value.parentNode, ur.value.observe(dr.value);
584
574
  }
585
- Tr();
575
+ Er();
586
576
  }
587
577
  Ne(() => {
588
- lr.value && (ur.value && lr.value.unobserve(ur.value), lr.value.disconnect());
578
+ ur.value && (dr.value && ur.value.unobserve(dr.value), ur.value.disconnect());
589
579
  });
590
- let fr = _(() => {
580
+ let pr = _(() => {
591
581
  switch (K.value) {
592
- case j.LINE: return `0 0 ${q.value.width <= 0 ? 10 : q.value.width} ${q.value.height <= 0 ? 10 : q.value.height}`;
593
- case j.BAR: return `0 0 ${q.value.width <= 0 ? 10 : q.value.width} ${q.value.height <= 0 ? 10 : q.value.height}`;
594
- case j.DONUT: return `0 0 ${q.value.width <= 0 ? 10 : q.value.width} ${q.value.height <= 0 ? 10 : q.value.height}`;
582
+ case M.LINE: return `0 0 ${q.value.width <= 0 ? 10 : q.value.width} ${q.value.height <= 0 ? 10 : q.value.height}`;
583
+ case M.BAR: return `0 0 ${q.value.width <= 0 ? 10 : q.value.width} ${q.value.height <= 0 ? 10 : q.value.height}`;
584
+ case M.DONUT: return `0 0 ${q.value.width <= 0 ? 10 : q.value.width} ${q.value.height <= 0 ? 10 : q.value.height}`;
595
585
  default: return `0 0 ${q.value.width <= 0 ? 10 : q.value.width} ${q.value.height <= 0 ? 10 : q.value.height}`;
596
586
  }
597
587
  });
598
- function pr(e) {
588
+ function mr(e) {
599
589
  return [...e].map((e) => e.value).reduce((e, t) => e + t, 0);
600
590
  }
601
- function mr(e) {
591
+ function hr(e) {
602
592
  return B.value.blurOnHover && ![null, void 0].includes(L.value) && L.value !== e ? `url(#blur_${F.value})` : "";
603
593
  }
604
- function hr() {
605
- R.value.length ? R.value = [] : K.value === j.DONUT ? Y.value.legend.forEach((e) => {
594
+ function gr() {
595
+ R.value.length ? R.value = [] : K.value === M.DONUT ? Y.value.legend.forEach((e) => {
606
596
  R.value.push(e.id);
607
- }) : K.value === j.LINE ? Z.value.legend.forEach((e) => {
597
+ }) : K.value === M.LINE ? Z.value.legend.forEach((e) => {
608
598
  R.value.push(e.id);
609
- }) : K.value === j.BAR && Q.value.legend.forEach((e) => {
599
+ }) : K.value === M.BAR && Q.value.legend.forEach((e) => {
610
600
  R.value.push(e.id);
611
- }), K.value === j.DONUT ? W("selectLegend", Y.value.dataset) : K.value === j.LINE ? W("selectLegend", Z.value.dataset) : K.value === j.BAR && W("selectLegend", Q.value.dataset);
601
+ }), K.value === M.DONUT ? W("selectLegend", Y.value.dataset) : K.value === M.LINE ? W("selectLegend", Z.value.dataset) : K.value === M.BAR && W("selectLegend", Q.value.dataset);
612
602
  }
613
- function gr(e, t) {
603
+ function _r(e, t) {
614
604
  R.value.includes(e) ? R.value = R.value.filter((t) => t !== e) : R.value.length < t && R.value.push(e);
615
605
  }
616
- let _r = T(null), vr = T(null), yr = T(!1);
617
- function br(e, t) {
618
- yr.value = !0;
619
- let n = e.value, r = tr.value.dataset.find((t, n) => e.id === `donut_${n}`).VALUE;
606
+ let vr = E(null), yr = E(null), br = E(!1);
607
+ function xr(e, t) {
608
+ br.value = !0;
609
+ let n = e.value, r = nr.value.dataset.find((t, n) => e.id === `donut_${n}`).VALUE;
620
610
  if (R.value.includes(e.id)) {
621
611
  R.value = R.value.filter((t) => t !== e.id);
622
612
  function t() {
623
- n > r ? (yr.value = !1, cancelAnimationFrame(vr.value), G.value = {
613
+ n > r ? (br.value = !1, cancelAnimationFrame(yr.value), G.value = {
624
614
  ...G.value,
625
615
  dataset: G.value.dataset.map((t, n) => e.id === `donut_${n}` ? {
626
616
  ...t,
@@ -634,12 +624,12 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
634
624
  value: n,
635
625
  VALUE: n
636
626
  } : t)
637
- }, vr.value = requestAnimationFrame(t));
627
+ }, yr.value = requestAnimationFrame(t));
638
628
  }
639
629
  t();
640
630
  } else if (t.length > 1) {
641
631
  function t() {
642
- n < r / 100 ? (yr.value = !1, cancelAnimationFrame(_r.value), R.value.push(e.id), G.value = {
632
+ n < r / 100 ? (br.value = !1, cancelAnimationFrame(vr.value), R.value.push(e.id), G.value = {
643
633
  ...G.value,
644
634
  dataset: G.value.dataset.map((t, n) => e.id === `donut_${n}` ? {
645
635
  ...t,
@@ -653,17 +643,17 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
653
643
  value: n,
654
644
  VALUE: n
655
645
  } : t)
656
- }, _r.value = requestAnimationFrame(t));
646
+ }, vr.value = requestAnimationFrame(t));
657
647
  }
658
648
  t();
659
649
  } else W("selectLegend", Y.value.dataset);
660
650
  }
661
- let J = T(null);
662
- function xr(e) {
651
+ let J = E(null);
652
+ function Sr(e) {
663
653
  J.value = e;
664
654
  }
665
- let Sr = _(() => B.value.donutThicknessRatio < .01 ? .01 : B.value.donutThicknessRatio > .4 ? .4 : B.value.donutThicknessRatio), Y = _(() => {
666
- if (K.value !== j.DONUT) return null;
655
+ let Cr = _(() => B.value.donutThicknessRatio < .01 ? .01 : B.value.donutThicknessRatio > .4 ? .4 : B.value.donutThicknessRatio), Y = _(() => {
656
+ if (K.value !== M.DONUT) return null;
667
657
  let e = G.value.dataset.map((e, t) => ({
668
658
  ...e,
669
659
  value: e.VALUE || e.DATA || e.SERIE || e.VALUES || e.NUM || 0,
@@ -671,12 +661,12 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
671
661
  id: `donut_${t}`
672
662
  })).map((e, t) => ({
673
663
  ...e,
674
- color: e.COLOR ? oe(e.COLOR) : er.value[t + B.value.paletteStartIndex] || s[t + B.value.paletteStartIndex] || s[(t + B.value.paletteStartIndex) % s.length],
664
+ color: e.COLOR ? oe(e.COLOR) : tr.value[t + B.value.paletteStartIndex] || s[t + B.value.paletteStartIndex] || s[(t + B.value.paletteStartIndex) % s.length],
675
665
  immutableValue: e.value
676
666
  }));
677
667
  function t(e, t) {
678
668
  return u({
679
- v: isNaN(e.value / pr(t)) ? 0 : e.value / pr(t) * 100,
669
+ v: isNaN(e.value / mr(t)) ? 0 : e.value / mr(t) * 100,
680
670
  s: "%",
681
671
  r: B.value.dataLabelRoundingPercentage
682
672
  });
@@ -685,11 +675,11 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
685
675
  return e.proportion * 100 > B.value.donutHideLabelUnderPercentage;
686
676
  }
687
677
  function r(e, t) {
688
- let n = tr.value.dataset.find((t, n) => `donut_${n}` === e).VALUE;
678
+ let n = nr.value.dataset.find((t, n) => `donut_${n}` === e).VALUE;
689
679
  return Math.abs(String(Number(n.toFixed(0))).length - String(Number(t.toFixed(0))).length);
690
680
  }
691
681
  function i({ datapoint: t, seriesIndex: n, triggerMode: r = "pointer" }) {
692
- On.value = {
682
+ kn.value = {
693
683
  datapoint: t,
694
684
  seriesIndex: n,
695
685
  config: B.value,
@@ -704,7 +694,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
704
694
  seriesIndex: n,
705
695
  series: e,
706
696
  config: B.value
707
- }))) kn.value = i({
697
+ }))) An.value = i({
708
698
  datapoint: t,
709
699
  seriesIndex: n,
710
700
  series: e,
@@ -724,7 +714,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
724
714
  v: t.proportion * 100,
725
715
  s: "%",
726
716
  r: B.value.dataLabelRoundingPercentage
727
- })})</span></div>`, kn.value = `<div>${e}</div>`;
717
+ })})</span></div>`, An.value = `<div>${e}</div>`;
728
718
  }
729
719
  I.value = !0;
730
720
  }
@@ -747,7 +737,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
747
737
  ...e,
748
738
  proportion: (e.value || 0) / d,
749
739
  value: e.value || 0,
750
- absoluteValue: tr.value.dataset.find((t, n) => `donut_${n}` === e.id).VALUE,
740
+ absoluteValue: nr.value.dataset.find((t, n) => `donut_${n}` === e.id).VALUE,
751
741
  shape: "circle"
752
742
  })), p = q.value.width / 2, te = q.value.height / 2, ne = q.value.height * B.value.donutRadiusRatio;
753
743
  return {
@@ -764,70 +754,70 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
764
754
  cx: p,
765
755
  cy: te,
766
756
  radius: ne,
767
- chart: c({ series: e.filter((e) => !R.value.includes(e.id)) }, p, te, ne, ne, 1.99999, 2, 1, 360, 105.25, q.value.height * Sr.value)
757
+ chart: c({ series: e.filter((e) => !R.value.includes(e.id)) }, p, te, ne, ne, 1.99999, 2, 1, 360, 105.25, q.value.height * Cr.value)
768
758
  };
769
- }), X = T({
759
+ }), X = E({
770
760
  start: 0,
771
761
  end: G.value.maxSeriesLength
772
762
  });
773
- function Cr() {
774
- Tr();
763
+ function wr() {
764
+ Er();
775
765
  }
776
- let wr = T(null);
777
- async function Tr() {
778
- await je(), await je();
779
- let { zoomStartIndex: e, zoomEndIndex: t } = B.value, n = wr.value;
780
- (e != null || t != null) && n ? (e != null && n.setStartValue(e), t != null && n.setEndValue(Er(t + 1))) : (X.value = {
766
+ let Tr = E(null);
767
+ async function Er() {
768
+ await Me(), await Me();
769
+ let { zoomStartIndex: e, zoomEndIndex: t } = B.value, n = Tr.value;
770
+ (e != null || t != null) && n ? (e != null && n.setStartValue(e), t != null && n.setEndValue(Dr(t + 1))) : (X.value = {
781
771
  start: 0,
782
772
  end: G.value.maxSeriesLength
783
- }, Nn.value += 1);
773
+ }, Pn.value += 1);
784
774
  }
785
- function Er(e) {
775
+ function Dr(e) {
786
776
  let t = G.value.maxSeriesLength;
787
777
  return e > t ? t : e < 0 || B.value.zoomStartIndex !== null && e < B.value.zoomStartIndex ? B.value.zoomStartIndex === null ? 1 : B.value.zoomStartIndex + 1 : e;
788
778
  }
789
- let Dr = _(() => {
790
- if (!B.value.zoomMinimap.show || K.value === j.DONUT) return [];
779
+ let Or = _(() => {
780
+ if (!B.value.zoomMinimap.show || K.value === M.DONUT) return [];
791
781
  let e = [];
792
- M(G.value.dataset) && (e = G.value.dataset), Ue(G.value.dataset) && (e = G.value.dataset.map((e, t) => ({
782
+ Ue(G.value.dataset) && (e = G.value.dataset), We(G.value.dataset) && (e = G.value.dataset.map((e, t) => ({
793
783
  values: e.VALUE || e.DATA || e.SERIE || e.SERIES || e.VALUES || e.NUM || 0,
794
- id: K.value === j.LINE ? `line_${t}` : `bar_${t}`
784
+ id: K.value === M.LINE ? `line_${t}` : `bar_${t}`
795
785
  })).filter((e) => !R.value.includes(e.id)));
796
- let t = M(e) ? e.length : Math.max(...e.map((e) => e.values.length)), n = [];
797
- if (M(e)) n = e;
786
+ let t = Ue(e) ? e.length : Math.max(...e.map((e) => e.values.length)), n = [];
787
+ if (Ue(e)) n = e;
798
788
  else for (let r = 0; r < t; r += 1) n.push(e.map((e) => e.values[r] || 0).reduce((e, t) => (e || 0) + (t || 0), 0));
799
789
  let r = Math.min(...n);
800
790
  return n.map((e) => e + (r < 0 ? Math.abs(r) : 0));
801
791
  });
802
- function Or() {
792
+ function kr() {
803
793
  let e = 0;
804
- return Ln.value && (e = Array.from(Ln.value.querySelectorAll("text")).reduce((e, t) => {
794
+ return Rn.value && (e = Array.from(Rn.value.querySelectorAll("text")).reduce((e, t) => {
805
795
  let n = t.getComputedTextLength();
806
796
  return n > e ? n : e;
807
797
  }, 0)), e + 4;
808
798
  }
809
- let kr = T(0), Ar = ve((e) => {
810
- kr.value = e;
799
+ let Ar = E(0), jr = ye((e) => {
800
+ Ar.value = e;
811
801
  }, 100);
812
802
  Re((e) => {
813
803
  let t = z.value;
814
804
  if (!t) return;
815
805
  let n = new ResizeObserver((e) => {
816
- Ar(e[0].contentRect.height);
806
+ jr(e[0].contentRect.height);
817
807
  });
818
808
  n.observe(t), e(() => n.disconnect());
819
809
  }), Ne(() => {
820
- kr.value = 0;
810
+ Ar.value = 0;
821
811
  });
822
- let jr = _(() => {
812
+ let Mr = _(() => {
823
813
  let e = 0;
824
- return z.value && (e = kr.value), 0 + e;
814
+ return z.value && (e = Ar.value), 0 + e;
825
815
  }), Z = _(() => {
826
- if (K.value !== j.LINE) return null;
816
+ if (K.value !== M.LINE) return null;
827
817
  let e = {
828
818
  height: q.value.height,
829
819
  width: q.value.width
830
- }, t = Or();
820
+ }, t = kr();
831
821
  if (z.value) {
832
822
  let e = z.value.getBBox().x;
833
823
  e < 0 && (t += Math.abs(e));
@@ -836,25 +826,25 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
836
826
  left: t + B.value.xyPaddingLeft,
837
827
  top: B.value.xyPaddingTop,
838
828
  right: e.width - B.value.xyPaddingRight,
839
- bottom: e.height - B.value.xyPaddingBottom - jr.value,
829
+ bottom: e.height - B.value.xyPaddingBottom - Mr.value,
840
830
  width: Math.max(10, e.width - B.value.xyPaddingLeft - B.value.xyPaddingRight - t),
841
- height: Math.max(10, e.height - B.value.xyPaddingTop - B.value.xyPaddingBottom - jr.value)
831
+ height: Math.max(10, e.height - B.value.xyPaddingTop - B.value.xyPaddingBottom - Mr.value)
842
832
  }, r = [];
843
- M(G.value.dataset) && (r = [{
833
+ Ue(G.value.dataset) && (r = [{
844
834
  values: G.value.dataset.slice(X.value.start, X.value.end),
845
835
  absoluteValues: G.value.dataset,
846
836
  absoluteIndices: G.value.dataset.map((e, t) => t).slice(X.value.start, X.value.end),
847
837
  name: B.value.title,
848
- color: er.value[B.value.paletteStartIndex] || s[B.value.paletteStartIndex],
838
+ color: tr.value[B.value.paletteStartIndex] || s[B.value.paletteStartIndex],
849
839
  id: "line_0"
850
- }]), Ue(G.value.dataset) && (r = G.value.dataset.map((e, t) => ({
840
+ }]), We(G.value.dataset) && (r = G.value.dataset.map((e, t) => ({
851
841
  ...e,
852
842
  values: e.VALUE || e.DATA || e.SERIE || e.SERIES || e.VALUES || e.NUM || 0,
853
843
  name: e.NAME || e.DESCRIPTION || e.TITLE || e.LABEL || `Serie ${t}`,
854
844
  id: `line_${t}`
855
845
  })).map((e, t) => ({
856
846
  ...e,
857
- color: e.COLOR ? oe(e.COLOR) : er.value[t + B.value.paletteStartIndex] || s[t + B.value.paletteStartIndex] || s[(t + B.value.paletteStartIndex) % s.length],
847
+ color: e.COLOR ? oe(e.COLOR) : tr.value[t + B.value.paletteStartIndex] || s[t + B.value.paletteStartIndex] || s[(t + B.value.paletteStartIndex) % s.length],
858
848
  values: e.values.slice(X.value.start, X.value.end),
859
849
  absoluteValues: e.values,
860
850
  absoluteIndices: e.values.map((e, t) => t).slice(X.value.start, X.value.end)
@@ -894,7 +884,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
894
884
  function ne(e, t = "pointer") {
895
885
  L.value = e, J.value = e, V.value = e, H.value = t;
896
886
  let n = p(e);
897
- On.value = {
887
+ kn.value = {
898
888
  datapoint: n,
899
889
  seriesIndex: e,
900
890
  config: B.value,
@@ -909,7 +899,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
909
899
  seriesIndex: e,
910
900
  series: r,
911
901
  config: B.value
912
- }))) kn.value = i({
902
+ }))) An.value = i({
913
903
  datapoint: n,
914
904
  seriesIndex: e,
915
905
  series: r,
@@ -934,7 +924,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
934
924
  </b>
935
925
  </div>
936
926
  `;
937
- }), kn.value = e;
927
+ }), An.value = e;
938
928
  }
939
929
  I.value = !0;
940
930
  }
@@ -965,11 +955,11 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
965
955
  selectDatapoint: ae
966
956
  };
967
957
  }), Q = _(() => {
968
- if (K.value !== j.BAR) return null;
958
+ if (K.value !== M.BAR) return null;
969
959
  let e = {
970
960
  height: q.value.height,
971
961
  width: q.value.width
972
- }, t = Or();
962
+ }, t = kr();
973
963
  if (z.value) {
974
964
  let e = z.value.getBBox().x;
975
965
  e < 0 && (t += Math.abs(e));
@@ -978,25 +968,25 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
978
968
  left: t + B.value.xyPaddingLeft,
979
969
  top: B.value.xyPaddingTop,
980
970
  right: e.width - B.value.xyPaddingRight,
981
- bottom: e.height - B.value.xyPaddingBottom - jr.value,
971
+ bottom: e.height - B.value.xyPaddingBottom - Mr.value,
982
972
  width: Math.max(10, e.width - B.value.xyPaddingLeft - B.value.xyPaddingRight - t),
983
- height: Math.max(10, e.height - B.value.xyPaddingTop - B.value.xyPaddingBottom - jr.value)
973
+ height: Math.max(10, e.height - B.value.xyPaddingTop - B.value.xyPaddingBottom - Mr.value)
984
974
  }, r = [];
985
- M(G.value.dataset) && (r = [{
975
+ Ue(G.value.dataset) && (r = [{
986
976
  values: G.value.dataset.slice(X.value.start, X.value.end),
987
977
  absoluteValues: G.value.dataset,
988
978
  absoluteIndices: G.value.dataset.map((e, t) => t).slice(X.value.start, X.value.end),
989
979
  name: B.value.title,
990
- color: er.value[B.value.paletteStartIndex] || s[B.value.paletteStartIndex],
980
+ color: tr.value[B.value.paletteStartIndex] || s[B.value.paletteStartIndex],
991
981
  id: "bar_0"
992
- }]), Ue(G.value.dataset) && (r = G.value.dataset.map((e, t) => ({
982
+ }]), We(G.value.dataset) && (r = G.value.dataset.map((e, t) => ({
993
983
  ...e,
994
984
  values: e.VALUE || e.DATA || e.SERIE || e.SERIES || e.VALUES || e.NUM || 0,
995
985
  name: e.NAME || e.DESCRIPTION || e.TITLE || e.LABEL || `Serie ${t}`,
996
986
  id: `bar_${t}`
997
987
  })).map((e, t) => ({
998
988
  ...e,
999
- color: e.COLOR ? oe(e.COLOR) : er.value[t + B.value.paletteStartIndex] || s[t + B.value.paletteStartIndex] || s[(t + B.value.paletteStartIndex) % s.length],
989
+ color: e.COLOR ? oe(e.COLOR) : tr.value[t + B.value.paletteStartIndex] || s[t + B.value.paletteStartIndex] || s[(t + B.value.paletteStartIndex) % s.length],
1000
990
  values: e.values.slice(X.value.start, X.value.end),
1001
991
  absoluteValues: e.values,
1002
992
  absoluteIndices: e.values.map((e, t) => t).slice(X.value.start, X.value.end)
@@ -1045,7 +1035,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1045
1035
  function re(e, t = "pointer") {
1046
1036
  L.value = e, J.value = e, V.value = e, H.value = t;
1047
1037
  let n = ne(e);
1048
- On.value = {
1038
+ kn.value = {
1049
1039
  datapoint: n,
1050
1040
  seriesIndex: e,
1051
1041
  config: B.value,
@@ -1060,7 +1050,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1060
1050
  seriesIndex: e,
1061
1051
  series: r,
1062
1052
  config: B.value
1063
- }))) kn.value = i({
1053
+ }))) An.value = i({
1064
1054
  point: n,
1065
1055
  seriesIndex: e,
1066
1056
  series: r,
@@ -1085,7 +1075,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1085
1075
  </b>
1086
1076
  </div>
1087
1077
  `;
1088
- }), kn.value = e;
1078
+ }), An.value = e;
1089
1079
  }
1090
1080
  I.value = !0;
1091
1081
  }
@@ -1117,26 +1107,26 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1117
1107
  selectDatapoint: h
1118
1108
  };
1119
1109
  });
1120
- function Mr(e) {
1110
+ function Nr(e) {
1121
1111
  if (!e) return;
1122
1112
  let t = e.getTotalLength();
1123
1113
  e.style.transition = "none", e.style.strokeDasharray = `${t}`, e.style.strokeDashoffset = `${t}`;
1124
1114
  }
1125
- function Nr(e, { fromOpacity: t = "0", fromScale: n = "0.85" } = {}) {
1115
+ function Pr(e, { fromOpacity: t = "0", fromScale: n = "0.85" } = {}) {
1126
1116
  e.forEach((e) => {
1127
1117
  e.style.animation = "none", e.style.transition = "none", e.style.opacity = t, e.style.transform = `scale(${n})`, e.style.transformBox = "fill-box", e.style.transformOrigin = "50% 50%";
1128
1118
  });
1129
1119
  }
1130
- function Pr(e) {
1120
+ function Fr(e) {
1131
1121
  return e.cx?.baseVal?.value ?? parseFloat(e.getAttribute("cx"));
1132
1122
  }
1133
- function Fr(e) {
1123
+ function Ir(e) {
1134
1124
  let t = e.getAttribute("x");
1135
1125
  if (t != null) return parseFloat(t);
1136
1126
  let n = e.getCTM?.();
1137
1127
  return n ? n.e : 0;
1138
1128
  }
1139
- function Ir(e, t) {
1129
+ function Lr(e, t) {
1140
1130
  if (!e.length) return [];
1141
1131
  let n = e.map((e) => ({
1142
1132
  el: e,
@@ -1161,16 +1151,16 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1161
1151
  }
1162
1152
  return a.push(o), a;
1163
1153
  }
1164
- function Lr({ pathDuration: e, pathEasing: t = "ease-in-out", pointDuration: n, labelDuration: r, pointDelay: i = 0, labelDelay: a = 0, pointStep: o = 0, labelStep: s = 0, intraSeriesStep: c = 0 } = {}) {
1165
- let l = Array.isArray(Fn?.value) ? Fn.value : [Fn?.value].filter(Boolean), u = Array.isArray(In?.value) ? In.value : [In?.value].filter(Boolean), ee = [...l, ...u].filter(Boolean), d = P?.value || null, f = d ? Array.from(d.querySelectorAll(".vue-ui-quick-chart-plot")) : [], p = d ? Array.from(d.querySelectorAll(".vue-ui-quick-chart-label")) : [];
1166
- ee.forEach(Mr), Nr(f, {
1154
+ function Rr({ pathDuration: e, pathEasing: t = "ease-in-out", pointDuration: n, labelDuration: r, pointDelay: i = 0, labelDelay: a = 0, pointStep: o = 0, labelStep: s = 0, intraSeriesStep: c = 0 } = {}) {
1155
+ let l = Array.isArray(In?.value) ? In.value : [In?.value].filter(Boolean), u = Array.isArray(Ln?.value) ? Ln.value : [Ln?.value].filter(Boolean), ee = [...l, ...u].filter(Boolean), d = P?.value || null, f = d ? Array.from(d.querySelectorAll(".vue-ui-quick-chart-plot")) : [], p = d ? Array.from(d.querySelectorAll(".vue-ui-quick-chart-label")) : [];
1156
+ ee.forEach(Nr), Pr(f, {
1167
1157
  fromOpacity: "0",
1168
1158
  fromScale: "0.75"
1169
- }), Nr(p, {
1159
+ }), Pr(p, {
1170
1160
  fromOpacity: "0",
1171
1161
  fromScale: "0.98"
1172
1162
  }), f.forEach((e) => e.classList.remove("quick-animation")), p.forEach((e) => e.classList.remove("quick-animation")), d && d.offsetWidth;
1173
- let te = f.length ? Ir(f, Pr) : [], m = p.length ? Ir(p, Fr) : [];
1163
+ let te = f.length ? Lr(f, Fr) : [], m = p.length ? Lr(p, Ir) : [];
1174
1164
  requestAnimationFrame(() => {
1175
1165
  requestAnimationFrame(() => {
1176
1166
  ee.forEach((n) => {
@@ -1189,22 +1179,22 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1189
1179
  });
1190
1180
  });
1191
1181
  }
1192
- let Rr = _(() => {
1193
- if (K.value === j.LINE) return Z.value.legend.map((e) => (Math.min(...e.absoluteValues.map((e) => e ?? 0)), {
1182
+ let zr = _(() => {
1183
+ if (K.value === M.LINE) return Z.value.legend.map((e) => (Math.min(...e.absoluteValues.map((e) => e ?? 0)), {
1194
1184
  ...e,
1195
1185
  isVisible: !R.value.includes(e.id),
1196
1186
  type: "line",
1197
1187
  series: e.absoluteValues
1198
1188
  }));
1199
- if (K.value === j.BAR) return Q.value.legend.map((e) => (Math.min(...e.absoluteValues.map((e) => e ?? 0)), {
1189
+ if (K.value === M.BAR) return Q.value.legend.map((e) => (Math.min(...e.absoluteValues.map((e) => e ?? 0)), {
1200
1190
  ...e,
1201
1191
  isVisible: !R.value.includes(e.id),
1202
1192
  type: "bar",
1203
1193
  series: e.absoluteValues
1204
1194
  }));
1205
- }), $ = T([]), zr = 0;
1195
+ }), $ = E([]), Br = 0;
1206
1196
  Re(() => {
1207
- let e = ++zr;
1197
+ let e = ++Br;
1208
1198
  (async () => {
1209
1199
  let t = await se({
1210
1200
  values: B.value.xyPeriods,
@@ -1213,26 +1203,26 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1213
1203
  start: X.value.start,
1214
1204
  end: X.value.end
1215
1205
  });
1216
- e === zr && ($.value = t);
1206
+ e === Br && ($.value = t);
1217
1207
  })();
1218
1208
  });
1219
- let Br = _(() => {
1209
+ let Vr = _(() => {
1220
1210
  let e = B.value.xyPeriodsModulo;
1221
1211
  return B.value.xyPeriods.length ? Math.min(e, [...new Set($.value.map((e) => e.text))].length) : e;
1222
- }), Vr = T(!1);
1223
- function Hr(e) {
1224
- Vr.value = e, Mn.value += 1;
1212
+ }), Hr = E(!1);
1213
+ function Ur(e) {
1214
+ Hr.value = e, Nn.value += 1;
1225
1215
  }
1226
- function Ur() {
1227
- cr.value.showTooltip = !cr.value.showTooltip;
1216
+ function Wr() {
1217
+ lr.value.showTooltip = !lr.value.showTooltip;
1228
1218
  }
1229
- let Wr = T(!1);
1230
- function Gr() {
1231
- Wr.value = !Wr.value;
1219
+ let Gr = E(!1);
1220
+ function Kr() {
1221
+ Gr.value = !Gr.value;
1232
1222
  }
1233
- async function Kr({ scale: e = 2 } = {}) {
1223
+ async function qr({ scale: e = 2 } = {}) {
1234
1224
  if (!P.value) return;
1235
- let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ge({
1225
+ let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await _e({
1236
1226
  domElement: P.value,
1237
1227
  base64: !0,
1238
1228
  img: !0,
@@ -1247,8 +1237,8 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1247
1237
  aspectRatio: r
1248
1238
  };
1249
1239
  }
1250
- let qr = _(() => q.value.width), Jr = _(() => q.value.height);
1251
- he({
1240
+ let Jr = _(() => q.value.width), Yr = _(() => q.value.height);
1241
+ ge({
1252
1242
  timeLabelsEls: z,
1253
1243
  timeLabels: $,
1254
1244
  slicer: X,
@@ -1257,18 +1247,18 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1257
1247
  autoRotatePath: ["xyPeriodLabelsAutoRotate", "enable"],
1258
1248
  isAutoSize: !1,
1259
1249
  rotation: B.value.xyPeriodLabelsAutoRotate.angle,
1260
- height: Jr.value,
1261
- width: qr.value
1250
+ height: Yr.value,
1251
+ width: Jr.value
1262
1252
  });
1263
- let Yr = _(() => B.value.backgroundColor), Xr = _(() => K.value === j.DONUT ? Y.value.legend : K.value === j.LINE ? Z.value.legend : Q.value.legend), Zr = _(() => ({
1253
+ let Xr = _(() => B.value.backgroundColor), Zr = _(() => K.value === M.DONUT ? Y.value.legend : K.value === M.LINE ? Z.value.legend : Q.value.legend), Qr = _(() => ({
1264
1254
  show: B.value.showLegend,
1265
1255
  bold: !1,
1266
1256
  backgroundColor: B.value.backgroundColor,
1267
1257
  color: B.value.color,
1268
1258
  fontSize: B.value.legendFontSize,
1269
1259
  position: B.value.legendPosition
1270
- })), { exportSvg: Qr, getSvg: $r } = fe({
1271
- svg: qn,
1260
+ })), { exportSvg: $r, getSvg: ei } = fe({
1261
+ svg: Jn,
1272
1262
  title: _(() => ({
1273
1263
  text: B.value.title,
1274
1264
  color: B.value.color,
@@ -1277,22 +1267,22 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1277
1267
  textAlign: B.value.titleTextAlign,
1278
1268
  subtitle: { text: "" }
1279
1269
  })),
1280
- legend: Zr,
1281
- legendItems: Xr,
1282
- backgroundColor: Yr
1270
+ legend: Qr,
1271
+ legendItems: Zr,
1272
+ backgroundColor: Xr
1283
1273
  });
1284
- async function ei({ isCb: e }) {
1274
+ async function ti({ isCb: e }) {
1285
1275
  if (e) {
1286
- let { blob: e, url: t, text: n, dataUrl: r } = await $r();
1276
+ let { blob: e, url: t, text: n, dataUrl: r } = await ei();
1287
1277
  B.value.userOptionsCallbacks.svg({
1288
1278
  blob: e,
1289
1279
  url: t,
1290
1280
  text: n,
1291
1281
  dataUrl: r
1292
1282
  });
1293
- } else Qr();
1283
+ } else $r();
1294
1284
  }
1295
- async function ti() {
1285
+ async function ni() {
1296
1286
  if (W("copyAlt", {
1297
1287
  config: B.value,
1298
1288
  dataset: {
@@ -1313,18 +1303,18 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1313
1303
  }
1314
1304
  }));
1315
1305
  }
1316
- function ni(e, t) {
1306
+ function ri(e, t) {
1317
1307
  (e.key === "Enter" || e.key === " ") && (e.preventDefault(), t());
1318
1308
  }
1319
- let ri = _(() => K.value === j.DONUT ? Y.value?.chart?.length ?? 0 : K.value === j.LINE ? Z.value?.extremes?.maxSeries ?? 0 : K.value === j.BAR ? Q.value?.extremes?.maxSeries ?? 0 : 0);
1320
- function ii() {
1321
- V.value = null, Un.value = !0;
1322
- }
1309
+ let ii = _(() => K.value === M.DONUT ? Y.value?.chart?.length ?? 0 : K.value === M.LINE ? Z.value?.extremes?.maxSeries ?? 0 : K.value === M.BAR ? Q.value?.extremes?.maxSeries ?? 0 : 0);
1323
1310
  function ai() {
1324
- V.value = null, H.value = "pointer", I.value = !1, L.value = null, J.value = null, Un.value = !1;
1311
+ V.value = null, Wn.value = !0;
1325
1312
  }
1326
- function oi(e) {
1327
- if (!qn.value || Wr.value || document.activeElement !== qn.value || !ri.value) return;
1313
+ function oi() {
1314
+ V.value = null, H.value = "pointer", I.value = !1, L.value = null, J.value = null, Wn.value = !1;
1315
+ }
1316
+ function si(e) {
1317
+ if (!Jn.value || Gr.value || document.activeElement !== Jn.value || !ii.value) return;
1328
1318
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1329
1319
  if (!t && !n && !r && !i) return;
1330
1320
  if (e.preventDefault(), e.stopPropagation(), i) {
@@ -1333,7 +1323,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1333
1323
  }
1334
1324
  if (r) {
1335
1325
  if (V.value === null) return;
1336
- if (K.value === j.DONUT) {
1326
+ if (K.value === M.DONUT) {
1337
1327
  let e = Y.value?.chart?.[V.value];
1338
1328
  if (!e) return;
1339
1329
  Y.value.selectDatapoint({
@@ -1342,59 +1332,59 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1342
1332
  });
1343
1333
  return;
1344
1334
  }
1345
- if (K.value === j.LINE) {
1335
+ if (K.value === M.LINE) {
1346
1336
  Z.value?.selectDatapoint(V.value);
1347
1337
  return;
1348
1338
  }
1349
- if (K.value === j.BAR) {
1339
+ if (K.value === M.BAR) {
1350
1340
  Q.value?.selectDatapoint(V.value);
1351
1341
  return;
1352
1342
  }
1353
1343
  return;
1354
1344
  }
1355
- let a = V.value, o = J.value, s = a !== null && a >= 0 && a < ri.value, c = o !== null && o >= 0 && o < ri.value;
1356
- if (s ? n ? (a += 1, a >= ri.value && (a = 0)) : t && (--a, a < 0 && (a = ri.value - 1)) : c ? (a = n ? o + 1 : o - 1, a >= ri.value && (a = 0), a < 0 && (a = ri.value - 1)) : a = n ? 0 : ri.value - 1, K.value === j.DONUT) {
1345
+ let a = V.value, o = J.value, s = a !== null && a >= 0 && a < ii.value, c = o !== null && o >= 0 && o < ii.value;
1346
+ if (s ? n ? (a += 1, a >= ii.value && (a = 0)) : t && (--a, a < 0 && (a = ii.value - 1)) : c ? (a = n ? o + 1 : o - 1, a >= ii.value && (a = 0), a < 0 && (a = ii.value - 1)) : a = n ? 0 : ii.value - 1, K.value === M.DONUT) {
1357
1347
  let e = Y.value?.chart?.[a];
1358
1348
  if (!e) return;
1359
- si(a), Y.value.useTooltip({
1349
+ ci(a), Y.value.useTooltip({
1360
1350
  datapoint: e,
1361
1351
  seriesIndex: a,
1362
1352
  triggerMode: "keyboard"
1363
1353
  });
1364
1354
  return;
1365
1355
  }
1366
- if (K.value === j.LINE) {
1367
- si(a), Z.value?.useTooltip(a, "keyboard");
1356
+ if (K.value === M.LINE) {
1357
+ ci(a), Z.value?.useTooltip(a, "keyboard");
1368
1358
  return;
1369
1359
  }
1370
- K.value === j.BAR && (si(a), Q.value?.useTooltip(a, "keyboard"));
1360
+ K.value === M.BAR && (ci(a), Q.value?.useTooltip(a, "keyboard"));
1371
1361
  }
1372
- function si(e) {
1373
- if (!Number.isFinite(e) || !qn.value) return;
1362
+ function ci(e) {
1363
+ if (!Number.isFinite(e) || !Jn.value) return;
1374
1364
  let t = 0, n = 0;
1375
- if (K.value === j.DONUT) {
1365
+ if (K.value === M.DONUT) {
1376
1366
  let r = Y.value?.chart?.[e];
1377
1367
  if (!r) return;
1378
1368
  t = d(r, !0).x, n = p(r);
1379
1369
  }
1380
- if (K.value === j.LINE) {
1370
+ if (K.value === M.LINE) {
1381
1371
  let r = Z.value?.drawingArea, i = Z.value?.slotSize;
1382
1372
  if (!r || !i) return;
1383
1373
  t = r.left + i * (e + 1) - i / 2, n = r.top + r.height / 2;
1384
1374
  }
1385
- if (K.value === j.BAR) {
1375
+ if (K.value === M.BAR) {
1386
1376
  let r = Q.value?.drawingArea, i = Q.value?.slotSize;
1387
1377
  if (!r || !i) return;
1388
1378
  t = r.left + i * (e + 1) - i / 2, n = r.top + r.height / 2;
1389
1379
  }
1390
- let r = qn.value.getBoundingClientRect();
1391
- Hn.value = {
1380
+ let r = Jn.value.getBoundingClientRect();
1381
+ Un.value = {
1392
1382
  x: r.left + t / q.value.width * r.width,
1393
1383
  y: r.top + n / q.value.height * r.height
1394
1384
  };
1395
1385
  }
1396
- let ci = _(() => {
1397
- if (K.value === j.DONUT) return {
1386
+ let li = _(() => {
1387
+ if (K.value === M.DONUT) return {
1398
1388
  headers: [
1399
1389
  "Series",
1400
1390
  "Value",
@@ -1418,8 +1408,8 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1418
1408
  ];
1419
1409
  })
1420
1410
  };
1421
- if (K.value === j.LINE || K.value === j.BAR) {
1422
- let e = K.value === j.LINE ? Z.value?.dataset ?? [] : Q.value?.dataset ?? [], t = K.value === j.LINE ? Z.value?.extremes?.maxSeries ?? 0 : Q.value?.extremes?.maxSeries ?? 0;
1411
+ if (K.value === M.LINE || K.value === M.BAR) {
1412
+ let e = K.value === M.LINE ? Z.value?.dataset ?? [] : Q.value?.dataset ?? [], t = K.value === M.LINE ? Z.value?.extremes?.maxSeries ?? 0 : Q.value?.extremes?.maxSeries ?? 0;
1423
1413
  return {
1424
1414
  headers: ["Index", ...e.map((e) => e.name)],
1425
1415
  rows: Array.from({ length: t }, (t, n) => [$.value?.[n + X.value.start]?.text ?? String(n + X.value.start), ...e.map((e) => {
@@ -1438,38 +1428,38 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1438
1428
  rows: []
1439
1429
  };
1440
1430
  });
1441
- return _e({
1442
- getImage: Kr,
1443
- generatePdf: ar,
1444
- generateImage: or,
1445
- generateSvg: ei,
1446
- toggleTooltip: Ur,
1447
- toggleAnnotator: Gr,
1448
- toggleFullscreen: Hr,
1449
- copyAlt: ti
1450
- }), (e, t) => nr.value ? (w(), y("div", {
1431
+ return ve({
1432
+ getImage: qr,
1433
+ generatePdf: or,
1434
+ generateImage: sr,
1435
+ generateSvg: ti,
1436
+ toggleTooltip: Wr,
1437
+ toggleAnnotator: Kr,
1438
+ toggleFullscreen: Ur,
1439
+ copyAlt: ni
1440
+ }), (e, t) => rr.value ? (T(), y("div", {
1451
1441
  key: 0,
1452
1442
  id: `${K.value}_${F.value}`,
1453
1443
  ref_key: "quickChart",
1454
1444
  ref: P,
1455
- class: Me({
1445
+ class: S({
1456
1446
  "vue-data-ui-component": !0,
1457
1447
  "vue-ui-quick-chart": !0,
1458
- "vue-data-ui-wrapper-fullscreen": Vr.value
1448
+ "vue-data-ui-wrapper-fullscreen": Hr.value
1459
1449
  }),
1460
- style: C(`background:${B.value.backgroundColor};color:${B.value.color};font-family:${B.value.fontFamily}; position: relative; ${B.value.responsive ? "height: 100%" : ""}`),
1461
- onMouseenter: t[2] ||= () => Qn(!0),
1462
- onMouseleave: t[3] ||= () => Qn(!1)
1450
+ style: w(`background:${B.value.backgroundColor};color:${B.value.color};font-family:${B.value.fontFamily}; position: relative; ${B.value.responsive ? "height: 100%" : ""}`),
1451
+ onMouseenter: t[2] ||= () => $n(!0),
1452
+ onMouseleave: t[3] ||= () => $n(!1)
1463
1453
  }, [
1464
1454
  b("div", {
1465
1455
  id: `chart-instructions-${F.value}`,
1466
1456
  class: "sr-only"
1467
- }, [b("p", null, O(B.value.a11y.translations.keyboardNavigation), 1)], 8, Ze),
1468
- ci.value.rows.length ? (w(), Ee(xe, {
1457
+ }, [b("p", null, k(B.value.a11y.translations.keyboardNavigation), 1)], 8, $e),
1458
+ li.value.rows.length ? (T(), De(Se, {
1469
1459
  key: 0,
1470
1460
  uid: F.value,
1471
- head: ci.value.headers,
1472
- body: ci.value.rows,
1461
+ head: li.value.headers,
1462
+ body: li.value.rows,
1473
1463
  notice: B.value.a11y.translations.tableAvailable,
1474
1464
  caption: B.value.a11y.translations.tableCaption
1475
1465
  }, null, 8, [
@@ -1479,21 +1469,21 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1479
1469
  "notice",
1480
1470
  "caption"
1481
1471
  ])) : v("", !0),
1482
- B.value.userOptionsButtons.annotator ? (w(), Ee(k(We), {
1472
+ B.value.userOptionsButtons.annotator ? (T(), De(A(Ge), {
1483
1473
  key: 1,
1484
- svgRef: k(qn),
1474
+ svgRef: A(Jn),
1485
1475
  backgroundColor: B.value.backgroundColor,
1486
1476
  color: B.value.color,
1487
- active: Wr.value,
1488
- isCursorPointer: Vn.value,
1489
- onClose: Gr
1477
+ active: Gr.value,
1478
+ isCursorPointer: Hn.value,
1479
+ onClose: Kr
1490
1480
  }, {
1491
- "annotator-action-close": A(() => [D(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1492
- "annotator-action-color": A(({ color: t }) => [D(e.$slots, "annotator-action-color", S(x({ color: t })), void 0, !0)]),
1493
- "annotator-action-draw": A(({ mode: t }) => [D(e.$slots, "annotator-action-draw", S(x({ mode: t })), void 0, !0)]),
1494
- "annotator-action-undo": A(({ disabled: t }) => [D(e.$slots, "annotator-action-undo", S(x({ disabled: t })), void 0, !0)]),
1495
- "annotator-action-redo": A(({ disabled: t }) => [D(e.$slots, "annotator-action-redo", S(x({ disabled: t })), void 0, !0)]),
1496
- "annotator-action-delete": A(({ disabled: t }) => [D(e.$slots, "annotator-action-delete", S(x({ disabled: t })), void 0, !0)]),
1481
+ "annotator-action-close": j(() => [O(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1482
+ "annotator-action-color": j(({ color: t }) => [O(e.$slots, "annotator-action-color", C(x({ color: t })), void 0, !0)]),
1483
+ "annotator-action-draw": j(({ mode: t }) => [O(e.$slots, "annotator-action-draw", C(x({ mode: t })), void 0, !0)]),
1484
+ "annotator-action-undo": j(({ disabled: t }) => [O(e.$slots, "annotator-action-undo", C(x({ disabled: t })), void 0, !0)]),
1485
+ "annotator-action-redo": j(({ disabled: t }) => [O(e.$slots, "annotator-action-redo", C(x({ disabled: t })), void 0, !0)]),
1486
+ "annotator-action-delete": j(({ disabled: t }) => [O(e.$slots, "annotator-action-delete", C(x({ disabled: t })), void 0, !0)]),
1497
1487
  _: 3
1498
1488
  }, 8, [
1499
1489
  "svgRef",
@@ -1502,20 +1492,20 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1502
1492
  "active",
1503
1493
  "isCursorPointer"
1504
1494
  ])) : v("", !0),
1505
- sr.value ? (w(), y("div", {
1495
+ cr.value ? (T(), y("div", {
1506
1496
  key: 2,
1507
1497
  ref_key: "noTitle",
1508
- ref: jn,
1498
+ ref: Mn,
1509
1499
  class: "vue-data-ui-no-title-space",
1510
1500
  style: "height:36px; width: 100%;background:transparent"
1511
1501
  }, null, 512)) : v("", !0),
1512
- B.value.showUserOptions && (Yn.value || Xn.value) ? (w(), Ee(k(Ke), {
1502
+ B.value.showUserOptions && (Xn.value || Zn.value) ? (T(), De(A(qe), {
1513
1503
  ref: "details",
1514
- key: `user_option_${Mn.value}`,
1504
+ key: `user_option_${Nn.value}`,
1515
1505
  backgroundColor: B.value.backgroundColor,
1516
1506
  color: B.value.color,
1517
- isPrinting: k(rr),
1518
- isImaging: k(ir),
1507
+ isPrinting: A(ir),
1508
+ isImaging: A(ar),
1519
1509
  uid: F.value,
1520
1510
  hasTooltip: B.value.userOptionsButtons.tooltip && B.value.showTooltip,
1521
1511
  hasPdf: B.value.userOptionsButtons.pdf,
@@ -1524,28 +1514,28 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1524
1514
  hasFullscreen: B.value.userOptionsButtons.fullscreen,
1525
1515
  hasAltCopy: B.value.userOptionsButtons.altCopy,
1526
1516
  hasXls: !1,
1527
- isTooltip: cr.value.showTooltip,
1528
- isFullscreen: Vr.value,
1517
+ isTooltip: lr.value.showTooltip,
1518
+ isFullscreen: Hr.value,
1529
1519
  titles: { ...B.value.userOptionsButtonTitles },
1530
1520
  chartElement: P.value,
1531
1521
  position: B.value.userOptionsPosition,
1532
1522
  hasAnnotator: B.value.userOptionsButtons.annotator,
1533
- isAnnotation: Wr.value,
1523
+ isAnnotation: Gr.value,
1534
1524
  callbacks: B.value.userOptionsCallbacks,
1535
1525
  printScale: B.value.userOptionsPrint.scale,
1536
- isCursorPointer: Vn.value,
1537
- onToggleFullscreen: Hr,
1538
- onGeneratePdf: k(ar),
1539
- onGenerateImage: k(or),
1540
- onGenerateSvg: ei,
1541
- onToggleTooltip: Ur,
1542
- onToggleAnnotator: Gr,
1543
- onCopyAlt: ti,
1544
- style: C({ visibility: Yn.value ? Xn.value ? "visible" : "hidden" : "visible" })
1545
- }, De({ _: 2 }, [
1526
+ isCursorPointer: Hn.value,
1527
+ onToggleFullscreen: Ur,
1528
+ onGeneratePdf: A(or),
1529
+ onGenerateImage: A(sr),
1530
+ onGenerateSvg: ti,
1531
+ onToggleTooltip: Wr,
1532
+ onToggleAnnotator: Kr,
1533
+ onCopyAlt: ni,
1534
+ style: w({ visibility: Xn.value ? Zn.value ? "visible" : "hidden" : "visible" })
1535
+ }, Oe({ _: 2 }, [
1546
1536
  e.$slots.menuIcon ? {
1547
1537
  name: "menuIcon",
1548
- fn: A(({ isOpen: t, color: n }) => [D(e.$slots, "menuIcon", S(x({
1538
+ fn: j(({ isOpen: t, color: n }) => [O(e.$slots, "menuIcon", C(x({
1549
1539
  isOpen: t,
1550
1540
  color: n
1551
1541
  })), void 0, !0)]),
@@ -1553,27 +1543,27 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1553
1543
  } : void 0,
1554
1544
  e.$slots.optionTooltip ? {
1555
1545
  name: "optionTooltip",
1556
- fn: A(() => [D(e.$slots, "optionTooltip", {}, void 0, !0)]),
1546
+ fn: j(() => [O(e.$slots, "optionTooltip", {}, void 0, !0)]),
1557
1547
  key: "1"
1558
1548
  } : void 0,
1559
1549
  e.$slots.optionPdf ? {
1560
1550
  name: "optionPdf",
1561
- fn: A(() => [D(e.$slots, "optionPdf", {}, void 0, !0)]),
1551
+ fn: j(() => [O(e.$slots, "optionPdf", {}, void 0, !0)]),
1562
1552
  key: "2"
1563
1553
  } : void 0,
1564
1554
  e.$slots.optionImg ? {
1565
1555
  name: "optionImg",
1566
- fn: A(() => [D(e.$slots, "optionImg", {}, void 0, !0)]),
1556
+ fn: j(() => [O(e.$slots, "optionImg", {}, void 0, !0)]),
1567
1557
  key: "3"
1568
1558
  } : void 0,
1569
1559
  e.$slots.optionSvg ? {
1570
1560
  name: "optionSvg",
1571
- fn: A(() => [D(e.$slots, "optionSvg", {}, void 0, !0)]),
1561
+ fn: j(() => [O(e.$slots, "optionSvg", {}, void 0, !0)]),
1572
1562
  key: "4"
1573
1563
  } : void 0,
1574
1564
  e.$slots.optionFullscreen ? {
1575
1565
  name: "optionFullscreen",
1576
- fn: A(({ toggleFullscreen: t, isFullscreen: n }) => [D(e.$slots, "optionFullscreen", S(x({
1566
+ fn: j(({ toggleFullscreen: t, isFullscreen: n }) => [O(e.$slots, "optionFullscreen", C(x({
1577
1567
  toggleFullscreen: t,
1578
1568
  isFullscreen: n
1579
1569
  })), void 0, !0)]),
@@ -1581,7 +1571,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1581
1571
  } : void 0,
1582
1572
  e.$slots.optionAnnotator ? {
1583
1573
  name: "optionAnnotator",
1584
- fn: A(({ toggleAnnotator: t, isAnnotator: n }) => [D(e.$slots, "optionAnnotator", S(x({
1574
+ fn: j(({ toggleAnnotator: t, isAnnotator: n }) => [O(e.$slots, "optionAnnotator", C(x({
1585
1575
  toggleAnnotator: t,
1586
1576
  isAnnotator: n
1587
1577
  })), void 0, !0)]),
@@ -1589,17 +1579,17 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1589
1579
  } : void 0,
1590
1580
  e.$slots.optionAltCopy ? {
1591
1581
  name: "optionAltCopy",
1592
- fn: A(({ altCopy: t }) => [D(e.$slots, "optionAltCopy", S(x({ altCopy: t })), void 0, !0)]),
1582
+ fn: j(({ altCopy: t }) => [O(e.$slots, "optionAltCopy", C(x({ altCopy: t })), void 0, !0)]),
1593
1583
  key: "7"
1594
1584
  } : void 0,
1595
1585
  e.$slots["custom-menu-before"] ? {
1596
1586
  name: "custom-menu-before",
1597
- fn: A(() => [D(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1587
+ fn: j(() => [O(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1598
1588
  key: "8"
1599
1589
  } : void 0,
1600
1590
  e.$slots["custom-menu-after"] ? {
1601
1591
  name: "custom-menu-after",
1602
- fn: A(() => [D(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1592
+ fn: j(() => [O(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1603
1593
  key: "9"
1604
1594
  } : void 0
1605
1595
  ]), 1032, [
@@ -1628,52 +1618,52 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1628
1618
  "onGenerateImage",
1629
1619
  "style"
1630
1620
  ])) : v("", !0),
1631
- B.value.title ? (w(), y("div", {
1621
+ B.value.title ? (T(), y("div", {
1632
1622
  key: 4,
1633
1623
  ref_key: "quickChartTitle",
1634
- ref: Tn,
1624
+ ref: En,
1635
1625
  class: "vue-ui-quick-chart-title",
1636
- style: C(`background:transparent;color:${B.value.color};font-size:${B.value.titleFontSize}px;font-weight:${B.value.titleBold ? "bold" : "normal"};text-align:${B.value.titleTextAlign}`)
1637
- }, O(B.value.title), 5)) : v("", !0),
1638
- b("div", { id: `legend-top-${F.value}` }, null, 8, Qe),
1639
- b("div", $e, [K.value ? (w(), y("svg", {
1626
+ style: w(`background:transparent;color:${B.value.color};font-size:${B.value.titleFontSize}px;font-weight:${B.value.titleBold ? "bold" : "normal"};text-align:${B.value.titleTextAlign}`)
1627
+ }, k(B.value.title), 5)) : v("", !0),
1628
+ b("div", { id: `legend-top-${F.value}` }, null, 8, et),
1629
+ b("div", tt, [K.value ? (T(), y("svg", {
1640
1630
  key: 0,
1641
1631
  ref_key: "svgRef",
1642
- ref: qn,
1643
- xmlns: k(ae),
1632
+ ref: Jn,
1633
+ xmlns: A(ae),
1644
1634
  "aria-describedby": `chart-instructions-${F.value}`,
1645
- viewBox: fr.value,
1646
- style: C(`max-width:100%;overflow:visible;background:transparent;color:${B.value.color}`),
1635
+ viewBox: pr.value,
1636
+ style: w(`max-width:100%;overflow:visible;background:transparent;color:${B.value.color}`),
1647
1637
  tabindex: "0",
1648
- onFocus: ii,
1649
- onBlur: ai,
1650
- onKeydown: oi
1638
+ onFocus: ai,
1639
+ onBlur: oi,
1640
+ onKeydown: si
1651
1641
  }, [
1652
- Oe(k(He)),
1653
- e.$slots["chart-background"] && K.value === j.BAR ? (w(), y("foreignObject", {
1642
+ ke(A(He)),
1643
+ e.$slots["chart-background"] && K.value === M.BAR ? (T(), y("foreignObject", {
1654
1644
  key: 0,
1655
1645
  x: Q.value.drawingArea.left,
1656
1646
  y: Q.value.drawingArea.top,
1657
1647
  width: Q.value.drawingArea.width,
1658
1648
  height: Q.value.drawingArea.height,
1659
1649
  style: { pointerEvents: "none" }
1660
- }, [D(e.$slots, "chart-background", {}, void 0, !0)], 8, tt)) : v("", !0),
1661
- e.$slots["chart-background"] && K.value === j.LINE ? (w(), y("foreignObject", {
1650
+ }, [O(e.$slots, "chart-background", {}, void 0, !0)], 8, rt)) : v("", !0),
1651
+ e.$slots["chart-background"] && K.value === M.LINE ? (T(), y("foreignObject", {
1662
1652
  key: 1,
1663
1653
  x: Z.value.drawingArea.left,
1664
1654
  y: Z.value.drawingArea.top,
1665
1655
  width: Z.value.drawingArea.width,
1666
1656
  height: Z.value.drawingArea.height,
1667
1657
  style: { pointerEvents: "none" }
1668
- }, [D(e.$slots, "chart-background", {}, void 0, !0)], 8, nt)) : v("", !0),
1669
- e.$slots["chart-background"] && K.value === j.DONUT ? (w(), y("foreignObject", {
1658
+ }, [O(e.$slots, "chart-background", {}, void 0, !0)], 8, it)) : v("", !0),
1659
+ e.$slots["chart-background"] && K.value === M.DONUT ? (T(), y("foreignObject", {
1670
1660
  key: 2,
1671
1661
  x: 0,
1672
1662
  y: 0,
1673
1663
  width: q.value.width,
1674
1664
  height: q.value.height,
1675
1665
  style: { pointerEvents: "none" }
1676
- }, [D(e.$slots, "chart-background", {}, void 0, !0)], 8, rt)) : v("", !0),
1666
+ }, [O(e.$slots, "chart-background", {}, void 0, !0)], 8, at)) : v("", !0),
1677
1667
  b("defs", null, [b("filter", {
1678
1668
  id: `blur_${F.value}`,
1679
1669
  x: "-50%",
@@ -1684,10 +1674,10 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1684
1674
  in: "SourceGraphic",
1685
1675
  stdDeviation: 2,
1686
1676
  id: `blur_std_${F.value}`
1687
- }, null, 8, at), t[4] ||= b("feColorMatrix", {
1677
+ }, null, 8, st), t[4] ||= b("feColorMatrix", {
1688
1678
  type: "saturate",
1689
1679
  values: "0"
1690
- }, null, -1)], 8, it), b("filter", {
1680
+ }, null, -1)], 8, ot), b("filter", {
1691
1681
  id: `shadow_${F.value}`,
1692
1682
  "color-interpolation-filters": "sRGB"
1693
1683
  }, [b("feDropShadow", {
@@ -1696,35 +1686,35 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1696
1686
  stdDeviation: "10",
1697
1687
  "flood-opacity": "0.5",
1698
1688
  "flood-color": B.value.donutShadowColor
1699
- }, null, 8, st)], 8, ot)]),
1700
- K.value === j.DONUT ? (w(), y(g, { key: 3 }, [
1701
- B.value.showDataLabels ? (w(), y("g", ct, [(w(!0), y(g, null, E(Y.value.chart, (e, t) => (w(), y(g, null, [Y.value.isArcBigEnough(e) ? (w(), y("path", {
1689
+ }, null, 8, lt)], 8, ct)]),
1690
+ K.value === M.DONUT ? (T(), y(g, { key: 3 }, [
1691
+ B.value.showDataLabels ? (T(), y("g", ut, [(T(!0), y(g, null, D(Y.value.chart, (e, t) => (T(), y(g, null, [Y.value.isArcBigEnough(e) ? (T(), y("path", {
1702
1692
  key: 0,
1703
- d: k(ne)(e, {
1693
+ d: A(ne)(e, {
1704
1694
  x: q.value.width / 2,
1705
1695
  y: q.value.height / 2
1706
- }, 16, 16, !1, !1, q.value.height * Sr.value, 12, B.value.donutCurvedMarkers),
1696
+ }, 16, 16, !1, !1, q.value.height * Cr.value, 12, B.value.donutCurvedMarkers),
1707
1697
  stroke: e.color,
1708
1698
  "stroke-width": B.value.donutLabelMarkerStrokeWidth,
1709
1699
  "stroke-linecap": "round",
1710
1700
  "stroke-linejoin": "round",
1711
1701
  fill: "none",
1712
- filter: mr(e.id)
1713
- }, null, 8, lt)) : v("", !0)], 64))), 256))])) : v("", !0),
1702
+ filter: hr(e.id)
1703
+ }, null, 8, dt)) : v("", !0)], 64))), 256))])) : v("", !0),
1714
1704
  b("circle", {
1715
1705
  cx: Y.value.cx,
1716
1706
  cy: Y.value.cy,
1717
1707
  r: Y.value.radius,
1718
1708
  fill: B.value.backgroundColor,
1719
1709
  filter: B.value.donutUseShadow ? `url(#shadow_${F.value})` : ""
1720
- }, null, 8, ut),
1721
- b("g", dt, [(w(!0), y(g, null, E(Y.value.chart, (e, t) => (w(), y("path", {
1710
+ }, null, 8, ft),
1711
+ b("g", pt, [(T(!0), y(g, null, D(Y.value.chart, (e, t) => (T(), y("path", {
1722
1712
  d: e.arcSlice,
1723
1713
  fill: e.color,
1724
1714
  stroke: B.value.donutStroke || B.value.backgroundColor,
1725
1715
  "stroke-width": B.value.donutStrokeWidth,
1726
- filter: mr(e.id)
1727
- }, null, 8, ft))), 256)), (w(!0), y(g, null, E(Y.value.chart, (e, t) => (w(), y("path", {
1716
+ filter: hr(e.id)
1717
+ }, null, 8, mt))), 256)), (T(!0), y(g, null, D(Y.value.chart, (e, t) => (T(), y("path", {
1728
1718
  d: e.arcSlice,
1729
1719
  fill: "transparent",
1730
1720
  onMouseenter: (n) => Y.value.useTooltip({
@@ -1740,27 +1730,27 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1740
1730
  datapoint: e,
1741
1731
  seriesIndex: t
1742
1732
  })
1743
- }, null, 40, pt))), 256))]),
1744
- B.value.showDataLabels ? (w(), y("g", mt, [(w(!0), y(g, null, E(Y.value.chart, (e, t) => (w(), y(g, null, [
1745
- Y.value.isArcBigEnough(e) ? (w(), y("circle", {
1733
+ }, null, 40, ht))), 256))]),
1734
+ B.value.showDataLabels ? (T(), y("g", gt, [(T(!0), y(g, null, D(Y.value.chart, (e, t) => (T(), y(g, null, [
1735
+ Y.value.isArcBigEnough(e) ? (T(), y("circle", {
1746
1736
  key: 0,
1747
- cx: k(d)(e).x,
1748
- cy: k(p)(e) - 3.7,
1737
+ cx: A(d)(e).x,
1738
+ cy: A(p)(e) - 3.7,
1749
1739
  fill: e.color,
1750
1740
  stroke: B.value.backgroundColor,
1751
1741
  "stroke-width": 1,
1752
1742
  r: 3,
1753
- filter: mr(e.id)
1754
- }, null, 8, ht)) : v("", !0),
1755
- Y.value.isArcBigEnough(e) ? (w(), y("text", {
1743
+ filter: hr(e.id)
1744
+ }, null, 8, _t)) : v("", !0),
1745
+ Y.value.isArcBigEnough(e) ? (T(), y("text", {
1756
1746
  key: 1,
1757
- "text-anchor": k(d)(e, !0, 20).anchor,
1758
- x: k(d)(e, !0).x,
1759
- y: k(p)(e),
1747
+ "text-anchor": A(d)(e, !0, 20).anchor,
1748
+ x: A(d)(e, !0).x,
1749
+ y: A(p)(e),
1760
1750
  fill: B.value.color,
1761
1751
  "font-size": B.value.dataLabelFontSize,
1762
- filter: mr(e.id)
1763
- }, O(Y.value.displayArcPercentage(e, Y.value.chart)) + " (" + O(k(m)(B.value.formatter, e.value, k(u)({
1752
+ filter: hr(e.id)
1753
+ }, k(Y.value.displayArcPercentage(e, Y.value.chart)) + " (" + k(A(m)(B.value.formatter, e.value, A(u)({
1764
1754
  p: B.value.valuePrefix,
1765
1755
  v: e.value,
1766
1756
  s: B.value.valueSuffix,
@@ -1768,38 +1758,38 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1768
1758
  }), {
1769
1759
  datapoint: e,
1770
1760
  seriesIndex: t
1771
- })) + ") ", 9, gt)) : v("", !0),
1772
- Y.value.isArcBigEnough(e, !0, 20) ? (w(), y("text", {
1761
+ })) + ") ", 9, vt)) : v("", !0),
1762
+ Y.value.isArcBigEnough(e, !0, 20) ? (T(), y("text", {
1773
1763
  key: 2,
1774
- "text-anchor": k(d)(e).anchor,
1775
- x: k(d)(e, !0).x,
1776
- y: k(p)(e) + B.value.dataLabelFontSize,
1764
+ "text-anchor": A(d)(e).anchor,
1765
+ x: A(d)(e, !0).x,
1766
+ y: A(p)(e) + B.value.dataLabelFontSize,
1777
1767
  fill: B.value.color,
1778
1768
  "font-size": B.value.dataLabelFontSize,
1779
- filter: mr(e.id)
1780
- }, O(e.name), 9, _t)) : v("", !0)
1769
+ filter: hr(e.id)
1770
+ }, k(e.name), 9, yt)) : v("", !0)
1781
1771
  ], 64))), 256))])) : v("", !0),
1782
- B.value.donutShowTotal ? (w(), y("g", vt, [b("text", {
1772
+ B.value.donutShowTotal ? (T(), y("g", bt, [b("text", {
1783
1773
  "text-anchor": "middle",
1784
1774
  x: Y.value.drawingArea.centerX,
1785
1775
  y: Y.value.drawingArea.centerY - B.value.donutTotalLabelFontSize / 2,
1786
1776
  "font-size": B.value.donutTotalLabelFontSize,
1787
1777
  fill: B.value.color
1788
- }, O(B.value.donutTotalLabelText), 9, yt), b("text", {
1778
+ }, k(B.value.donutTotalLabelText), 9, xt), b("text", {
1789
1779
  "text-anchor": "middle",
1790
1780
  x: Y.value.drawingArea.centerX,
1791
1781
  y: Y.value.drawingArea.centerY + B.value.donutTotalLabelFontSize,
1792
1782
  "font-size": B.value.donutTotalLabelFontSize,
1793
1783
  fill: B.value.color
1794
- }, O(k(u)({
1784
+ }, k(A(u)({
1795
1785
  p: B.value.valuePrefix,
1796
1786
  v: Y.value.total,
1797
1787
  s: B.value.valueSuffix,
1798
1788
  r: B.value.dataLabelRoundingValue
1799
- })), 9, bt)])) : v("", !0)
1789
+ })), 9, St)])) : v("", !0)
1800
1790
  ], 64)) : v("", !0),
1801
- K.value === j.LINE ? (w(), y(g, { key: 4 }, [
1802
- B.value.xyShowGrid ? (w(), y("g", xt, [(w(!0), y(g, null, E(Z.value.yLabels, (e) => (w(), y(g, null, [e.y <= Z.value.drawingArea.bottom ? (w(), y("line", {
1791
+ K.value === M.LINE ? (T(), y(g, { key: 4 }, [
1792
+ B.value.xyShowGrid ? (T(), y("g", Ct, [(T(!0), y(g, null, D(Z.value.yLabels, (e) => (T(), y(g, null, [e.y <= Z.value.drawingArea.bottom ? (T(), y("line", {
1803
1793
  key: 0,
1804
1794
  x1: Z.value.drawingArea.left,
1805
1795
  x2: Z.value.drawingArea.right,
@@ -1808,7 +1798,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1808
1798
  stroke: B.value.xyGridStroke,
1809
1799
  "stroke-width": B.value.xyGridStrokeWidth,
1810
1800
  "stroke-linecap": "round"
1811
- }, null, 8, St)) : v("", !0)], 64))), 256)), (w(!0), y(g, null, E(Z.value.extremes.maxSeries + 1, (e, t) => (w(), y("line", {
1801
+ }, null, 8, wt)) : v("", !0)], 64))), 256)), (T(!0), y(g, null, D(Z.value.extremes.maxSeries + 1, (e, t) => (T(), y("line", {
1812
1802
  x1: Z.value.drawingArea.left + Z.value.slotSize * t,
1813
1803
  x2: Z.value.drawingArea.left + Z.value.slotSize * t,
1814
1804
  y1: Z.value.drawingArea.top,
@@ -1816,8 +1806,8 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1816
1806
  stroke: B.value.xyGridStroke,
1817
1807
  "stroke-width": B.value.xyGridStrokeWidth,
1818
1808
  "stroke-linecap": "round"
1819
- }, null, 8, Ct))), 256))])) : v("", !0),
1820
- B.value.xyShowAxis ? (w(), y("g", wt, [b("line", {
1809
+ }, null, 8, Tt))), 256))])) : v("", !0),
1810
+ B.value.xyShowAxis ? (T(), y("g", Et, [b("line", {
1821
1811
  x1: Z.value.drawingArea.left,
1822
1812
  x2: Z.value.drawingArea.left,
1823
1813
  y1: Z.value.drawingArea.top,
@@ -1825,7 +1815,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1825
1815
  stroke: B.value.xyAxisStroke,
1826
1816
  "stroke-width": B.value.xyAxisStrokeWidth,
1827
1817
  "stroke-linecap": "round"
1828
- }, null, 8, Tt), b("line", {
1818
+ }, null, 8, Dt), b("line", {
1829
1819
  x1: Z.value.drawingArea.left,
1830
1820
  x2: Z.value.drawingArea.right,
1831
1821
  y1: isNaN(Z.value.absoluteZero) ? Z.value.drawingArea.bottom : Z.value.absoluteZero,
@@ -1833,29 +1823,27 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1833
1823
  stroke: B.value.xyAxisStroke,
1834
1824
  "stroke-width": B.value.xyAxisStrokeWidth,
1835
1825
  "stroke-linecap": "round"
1836
- }, null, 8, Et)])) : v("", !0),
1837
- B.value.xyShowScale ? (w(), y("g", {
1826
+ }, null, 8, Ot)])) : v("", !0),
1827
+ B.value.xyShowScale ? (T(), y("g", {
1838
1828
  key: 2,
1839
1829
  class: "yLabels",
1840
1830
  ref_key: "scaleLabels",
1841
- ref: Ln
1842
- }, [(w(!0), y(g, null, E(Z.value.yLabels, (e, t) => (w(), y(g, null, [e.y <= Z.value.drawingArea.bottom ? (w(), y("line", {
1831
+ ref: Rn
1832
+ }, [(T(!0), y(g, null, D(Z.value.yLabels, (e, t) => (T(), y(g, { key: `sl_${t}` }, [e.y <= Z.value.drawingArea.bottom ? (T(), y("path", {
1843
1833
  key: 0,
1844
- x1: e.x + 4,
1845
- x2: Z.value.drawingArea.left,
1846
- y1: e.y,
1847
- y2: e.y,
1834
+ class: S({ "vue-data-ui-datalabel": A(Ze) }),
1835
+ d: `M${e.x + 4},${e.y} ${Z.value.drawingArea.left},${e.y}`,
1848
1836
  stroke: B.value.xyAxisStroke,
1849
1837
  "stroke-width": B.value.xyAxisStrokeWidth,
1850
1838
  "stroke-linecap": "round"
1851
- }, null, 8, Dt)) : v("", !0), e.y <= Z.value.drawingArea.bottom ? (w(), y("text", {
1839
+ }, null, 10, kt)) : v("", !0), e.y <= Z.value.drawingArea.bottom ? (T(), y("text", {
1852
1840
  key: 1,
1853
- x: e.x,
1854
- y: e.y + B.value.xyLabelsYFontSize / 3,
1841
+ class: S({ "vue-data-ui-datalabel": A(Ze) }),
1842
+ transform: `translate(${e.x}, ${e.y + B.value.xyLabelsYFontSize / 3})`,
1855
1843
  "text-anchor": "end",
1856
1844
  "font-size": B.value.xyLabelsYFontSize,
1857
1845
  fill: B.value.color
1858
- }, O(k(m)(B.value.formatter, e.value, k(u)({
1846
+ }, k(A(m)(B.value.formatter, e.value, A(u)({
1859
1847
  p: B.value.valuePrefix,
1860
1848
  v: e.value,
1861
1849
  s: B.value.valueSuffix,
@@ -1863,8 +1851,8 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1863
1851
  }), {
1864
1852
  datapoint: e,
1865
1853
  seriesIndex: t
1866
- })), 9, Ot)) : v("", !0)], 64))), 256))], 512)) : v("", !0),
1867
- B.value.xyShowScale && B.value.xyPeriods.length ? (w(), y("g", kt, [(w(!0), y(g, null, E($.value.map((e) => e.text), (e, t) => (w(), y(g, null, [!B.value.xyPeriodsShowOnlyAtModulo || B.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) / Br.value) === 0 || X.value.end - X.value.start <= Br.value ? (w(), y("line", {
1854
+ })), 11, At)) : v("", !0)], 64))), 128))], 512)) : v("", !0),
1855
+ B.value.xyShowScale && B.value.xyPeriods.length ? (T(), y("g", jt, [(T(!0), y(g, null, D($.value.map((e) => e.text), (e, t) => (T(), y(g, null, [!B.value.xyPeriodsShowOnlyAtModulo || B.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) / Vr.value) === 0 || X.value.end - X.value.start <= Vr.value ? (T(), y("line", {
1868
1856
  key: 0,
1869
1857
  x1: Z.value.drawingArea.left + Z.value.slotSize * (t + 1) - Z.value.slotSize / 2,
1870
1858
  x2: Z.value.drawingArea.left + Z.value.slotSize * (t + 1) - Z.value.slotSize / 2,
@@ -1873,134 +1861,132 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1873
1861
  stroke: B.value.xyAxisStroke,
1874
1862
  "stroke-width": B.value.xyAxisStrokeWidth,
1875
1863
  "stroke-linecap": "round"
1876
- }, null, 8, At)) : v("", !0)], 64))), 256)), b("g", {
1864
+ }, null, 8, Mt)) : v("", !0)], 64))), 256)), b("g", {
1877
1865
  ref_key: "timeLabelsEls",
1878
1866
  ref: z
1879
- }, [(w(!0), y(g, null, E($.value.map((e) => e.text), (e, t) => (w(), y(g, null, [!B.value.xyPeriodsShowOnlyAtModulo || B.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) / Br.value) === 0 || X.value.end - X.value.start <= Br.value ? (w(), y("g", jt, [String(e).includes("\n") ? (w(), y("text", {
1867
+ }, [(T(!0), y(g, null, D($.value.map((e) => e.text), (e, t) => (T(), y(g, null, [!B.value.xyPeriodsShowOnlyAtModulo || B.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) / Vr.value) === 0 || X.value.end - X.value.start <= Vr.value ? (T(), y("g", Nt, [String(e).includes("\n") ? (T(), y("text", {
1880
1868
  key: 1,
1881
1869
  class: "vue-data-ui-time-label",
1882
1870
  "font-size": B.value.xyLabelsXFontSize,
1883
1871
  "text-anchor": B.value.xyPeriodLabelsRotation > 0 ? "start" : B.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1884
1872
  fill: B.value.color,
1885
1873
  transform: `translate(${Z.value.drawingArea.left + Z.value.slotSize * (t + 1) - Z.value.slotSize / 2}, ${Z.value.drawingArea.bottom + B.value.xyLabelsXFontSize + 6}), rotate(${B.value.xyPeriodLabelsRotation})`,
1886
- innerHTML: k(l)({
1874
+ innerHTML: A(l)({
1887
1875
  content: String(e),
1888
1876
  fontSize: B.value.xyLabelsXFontSize,
1889
1877
  fill: B.value.color,
1890
1878
  x: 0,
1891
1879
  y: 0
1892
1880
  })
1893
- }, null, 8, Nt)) : (w(), y("text", {
1881
+ }, null, 8, Ft)) : (T(), y("text", {
1894
1882
  key: 0,
1895
1883
  class: "vue-data-ui-time-label",
1896
1884
  "font-size": B.value.xyLabelsXFontSize,
1897
1885
  "text-anchor": B.value.xyPeriodLabelsRotation > 0 ? "start" : B.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1898
1886
  fill: B.value.color,
1899
1887
  transform: `translate(${Z.value.drawingArea.left + Z.value.slotSize * (t + 1) - Z.value.slotSize / 2}, ${Z.value.drawingArea.bottom + B.value.xyLabelsXFontSize + 6}), rotate(${B.value.xyPeriodLabelsRotation})`
1900
- }, O(e), 9, Mt))])) : v("", !0)], 64))), 256))], 512)])) : v("", !0),
1901
- b("g", Pt, [(w(!0), y(g, null, E(Z.value.dataset, (e, t) => (w(), y("g", Ft, [B.value.lineSmooth ? (w(), y(g, { key: 0 }, [b("path", {
1888
+ }, k(e), 9, Pt))])) : v("", !0)], 64))), 256))], 512)])) : v("", !0),
1889
+ b("g", It, [(T(!0), y(g, null, D(Z.value.dataset, (e, t) => (T(), y("g", {
1890
+ key: `serie_${e.id}`,
1891
+ class: "line-plot-series"
1892
+ }, [B.value.lineSmooth ? (T(), y(g, { key: 0 }, [b("path", {
1902
1893
  ref_for: !0,
1903
1894
  ref_key: "pathWrapper",
1904
- ref: Fn,
1905
- d: `M ${k(o)(e.coordinates)}`,
1895
+ ref: In,
1896
+ d: `M ${A(o)(e.coordinates)}`,
1906
1897
  stroke: B.value.backgroundColor,
1907
1898
  "stroke-width": B.value.lineStrokeWidth + 1,
1908
1899
  "stroke-linecap": "round",
1909
1900
  fill: "none",
1910
- class: Me({
1911
- "quick-animation": !k(U),
1912
- "vue-data-ui-line-animated": B.value.lineAnimated && !k(U)
1901
+ class: S({
1902
+ "quick-animation": !A(U),
1903
+ "vue-data-ui-line-animated": B.value.lineAnimated && !A(U)
1913
1904
  }),
1914
- style: C({ transition: k(U) ? void 0 : "all 0.3s ease-in-out" })
1915
- }, null, 14, It), b("path", {
1905
+ style: w({ transition: A(U) ? void 0 : "all 0.2s ease-in-out" })
1906
+ }, null, 14, Lt), b("path", {
1916
1907
  ref_for: !0,
1917
1908
  ref_key: "pathTop",
1918
- ref: In,
1919
- d: `M ${k(o)(e.coordinates)}`,
1909
+ ref: Ln,
1910
+ d: `M ${A(o)(e.coordinates)}`,
1920
1911
  stroke: e.color,
1921
1912
  "stroke-width": B.value.lineStrokeWidth,
1922
1913
  "stroke-linecap": "round",
1923
1914
  fill: "none",
1924
- class: Me({
1925
- "quick-animation": !k(U),
1926
- "vue-data-ui-line-animated": B.value.lineAnimated && !k(U)
1915
+ class: S({
1916
+ "quick-animation": !A(U),
1917
+ "vue-data-ui-line-animated": B.value.lineAnimated && !A(U)
1927
1918
  }),
1928
- style: C({ transition: k(U) ? void 0 : "all 0.3s ease-in-out" })
1929
- }, null, 14, Lt)], 64)) : (w(), y(g, { key: 1 }, [b("path", {
1919
+ style: w({ transition: A(U) ? void 0 : "all 0.2s ease-in-out" })
1920
+ }, null, 14, Rt)], 64)) : (T(), y(g, { key: 1 }, [b("path", {
1930
1921
  ref_for: !0,
1931
1922
  ref_key: "pathWrapper",
1932
- ref: Fn,
1923
+ ref: In,
1933
1924
  d: `M ${e.linePath}`,
1934
1925
  stroke: B.value.backgroundColor,
1935
1926
  "stroke-width": B.value.lineStrokeWidth + 1,
1936
1927
  "stroke-linecap": "round",
1937
1928
  fill: "none",
1938
- class: Me({
1939
- "quick-animation": !k(U),
1940
- "vue-data-ui-line-animated": B.value.lineAnimated && !k(U)
1929
+ class: S({
1930
+ "quick-animation": !A(U),
1931
+ "vue-data-ui-line-animated": B.value.lineAnimated && !A(U)
1941
1932
  }),
1942
- style: C({ transition: k(U) ? void 0 : "all 0.3s ease-in-out" })
1943
- }, null, 14, Rt), b("path", {
1933
+ style: w({ transition: A(U) ? void 0 : "all 0.2s ease-in-out" })
1934
+ }, null, 14, zt), b("path", {
1944
1935
  ref_for: !0,
1945
1936
  ref_key: "pathTop",
1946
- ref: In,
1937
+ ref: Ln,
1947
1938
  d: `M ${e.linePath}`,
1948
1939
  stroke: e.color,
1949
1940
  "stroke-width": B.value.lineStrokeWidth,
1950
1941
  "stroke-linecap": "round",
1951
1942
  fill: "none",
1952
- class: Me({
1953
- "quick-animation": !k(U),
1954
- "vue-data-ui-line-animated": B.value.lineAnimated && !k(U)
1943
+ class: S({
1944
+ "quick-animation": !A(U),
1945
+ "vue-data-ui-line-animated": B.value.lineAnimated && !A(U)
1955
1946
  }),
1956
- style: C({ transition: k(U) ? void 0 : "all 0.3s ease-in-out" })
1957
- }, null, 14, zt)], 64)), (w(!0), y(g, null, E(e.coordinates, (t, n) => (w(), y("circle", {
1947
+ style: w({ transition: A(U) ? void 0 : "all 0.2s ease-in-out" })
1948
+ }, null, 14, Bt)], 64)), (T(!0), y(g, null, D(e.coordinates, (t, n) => (T(), y("circle", {
1949
+ key: `dp_${e.id}_${n + X.value.start}`,
1958
1950
  cx: t.x,
1959
- cy: k(h)(t.y),
1951
+ cy: A(h)(t.y),
1960
1952
  r: 3,
1961
1953
  fill: e.color,
1962
1954
  stroke: B.value.backgroundColor,
1963
1955
  "stroke-width": "0.5",
1964
- class: Me({
1965
- "vue-ui-quick-chart-plot": !0,
1966
- "quick-animation": !k(U)
1967
- }),
1968
- style: C({ transition: k(U) ? void 0 : "all 0.3s ease-in-out" })
1969
- }, null, 14, Bt))), 256))]))), 256))]),
1970
- B.value.showDataLabels ? (w(), y("g", Vt, [(w(!0), y(g, null, E(Z.value.dataset, (e, t) => (w(), y(g, null, [(w(!0), y(g, null, E(e.coordinates, (t, n) => (w(), y("text", {
1956
+ class: S({ "vue-ui-quick-chart-plot": !0 }),
1957
+ style: w({ transition: A(U) ? void 0 : "all 0.2s ease-in-out" })
1958
+ }, null, 12, Vt))), 128))]))), 128))]),
1959
+ B.value.showDataLabels ? (T(), y("g", Ht, [(T(!0), y(g, null, D(Z.value.dataset, (e, t) => (T(), y(g, { key: `ds_${e.id}` }, [(T(!0), y(g, null, D(e.coordinates, (t, n) => (T(), y("text", {
1960
+ class: S(["vue-ui-quick-chart-label", { "vue-data-ui-datalabel": A(Ze) }]),
1961
+ key: `plot_${e.id}_${n + X.value.start}`,
1971
1962
  "text-anchor": "middle",
1972
1963
  "font-size": B.value.dataLabelFontSize,
1973
1964
  fill: e.color,
1974
- x: t.x,
1975
- y: k(h)(t.y) - B.value.dataLabelFontSize / 2,
1976
- class: Me({
1977
- "vue-ui-quick-chart-label": !0,
1978
- "quick-animation": !k(U)
1979
- }),
1980
- style: C({ transition: k(U) ? void 0 : "all 0.3s ease-in-out" })
1981
- }, O(k(m)(B.value.formatter, k(h)(t.value), k(u)({
1965
+ transform: `translate(${t.x}, ${A(h)(t.y) - B.value.dataLabelFontSize / 2})`,
1966
+ style: w({ transition: A(U) ? void 0 : "all 0.2s ease-in-out" })
1967
+ }, k(A(m)(B.value.formatter, A(h)(t.value), A(u)({
1982
1968
  p: B.value.valuePrefix,
1983
- v: k(h)(t.value),
1969
+ v: A(h)(t.value),
1984
1970
  s: B.value.valueSuffix,
1985
1971
  r: B.value.dataLabelRoundingValue
1986
1972
  }), {
1987
1973
  datapoint: t,
1988
1974
  seriesIndex: n
1989
- })), 15, Ht))), 256))], 64))), 256))])) : v("", !0),
1990
- Zn.value ? (w(), y("g", Ut, [(w(!0), y(g, null, E(Z.value.extremes.maxSeries, (e, t) => (w(), y("rect", {
1975
+ })), 15, Ut))), 128))], 64))), 128))])) : v("", !0),
1976
+ Qn.value ? (T(), y("g", Wt, [(T(!0), y(g, null, D(Z.value.extremes.maxSeries, (e, t) => (T(), y("rect", {
1991
1977
  x: Z.value.drawingArea.left + t * Z.value.slotSize,
1992
1978
  y: Z.value.drawingArea.top,
1993
1979
  height: Z.value.drawingArea.height <= 0 ? 1e-5 : Z.value.drawingArea.height,
1994
1980
  width: Z.value.slotSize <= 0 ? 1e-5 : Z.value.slotSize,
1995
1981
  fill: [L.value, J.value].includes(t) ? B.value.xyHighlighterColor : "transparent",
1996
- style: C(`opacity:${B.value.xyHighlighterOpacity}`),
1982
+ style: w(`opacity:${B.value.xyHighlighterOpacity}`),
1997
1983
  onMouseenter: (e) => Z.value.useTooltip(t, "pointer"),
1998
1984
  onMouseleave: (e) => Z.value.killTooltip(t),
1999
1985
  onClick: (e) => Z.value.selectDatapoint(t)
2000
- }, null, 44, Wt))), 256))])) : v("", !0)
1986
+ }, null, 44, Gt))), 256))])) : v("", !0)
2001
1987
  ], 64)) : v("", !0),
2002
- K.value === j.BAR ? (w(), y(g, { key: 5 }, [
2003
- B.value.xyShowGrid ? (w(), y("g", Gt, [(w(!0), y(g, null, E(Q.value.yLabels, (e) => (w(), y(g, null, [e.y <= Q.value.drawingArea.bottom ? (w(), y("line", {
1988
+ K.value === M.BAR ? (T(), y(g, { key: 5 }, [
1989
+ B.value.xyShowGrid ? (T(), y("g", Kt, [(T(!0), y(g, null, D(Q.value.yLabels, (e) => (T(), y(g, null, [e.y <= Q.value.drawingArea.bottom ? (T(), y("line", {
2004
1990
  key: 0,
2005
1991
  x1: Q.value.drawingArea.left,
2006
1992
  x2: Q.value.drawingArea.right,
@@ -2009,7 +1995,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2009
1995
  stroke: B.value.xyGridStroke,
2010
1996
  "stroke-width": B.value.xyGridStrokeWidth,
2011
1997
  "stroke-linecap": "round"
2012
- }, null, 8, Kt)) : v("", !0)], 64))), 256)), R.value.length < Q.value.legend.length ? (w(!0), y(g, { key: 0 }, E(Q.value.extremes.maxSeries + 1, (e, t) => (w(), y("line", {
1998
+ }, null, 8, qt)) : v("", !0)], 64))), 256)), R.value.length < Q.value.legend.length ? (T(!0), y(g, { key: 0 }, D(Q.value.extremes.maxSeries + 1, (e, t) => (T(), y("line", {
2013
1999
  x1: Q.value.drawingArea.left + Q.value.slotSize * t,
2014
2000
  x2: Q.value.drawingArea.left + Q.value.slotSize * t,
2015
2001
  y1: Q.value.drawingArea.top,
@@ -2017,8 +2003,8 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2017
2003
  stroke: B.value.xyGridStroke,
2018
2004
  "stroke-width": B.value.xyGridStrokeWidth,
2019
2005
  "stroke-linecap": "round"
2020
- }, null, 8, qt))), 256)) : v("", !0)])) : v("", !0),
2021
- B.value.xyShowAxis ? (w(), y("g", Jt, [b("line", {
2006
+ }, null, 8, Jt))), 256)) : v("", !0)])) : v("", !0),
2007
+ B.value.xyShowAxis ? (T(), y("g", Yt, [b("line", {
2022
2008
  x1: Q.value.drawingArea.left,
2023
2009
  x2: Q.value.drawingArea.left,
2024
2010
  y1: Q.value.drawingArea.top,
@@ -2026,7 +2012,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2026
2012
  stroke: B.value.xyAxisStroke,
2027
2013
  "stroke-width": B.value.xyAxisStrokeWidth,
2028
2014
  "stroke-linecap": "round"
2029
- }, null, 8, Yt), b("line", {
2015
+ }, null, 8, Xt), b("line", {
2030
2016
  x1: Q.value.drawingArea.left,
2031
2017
  x2: Q.value.drawingArea.right,
2032
2018
  y1: isNaN(Q.value.absoluteZero) ? Q.value.drawingArea.bottom : Q.value.absoluteZero,
@@ -2034,29 +2020,27 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2034
2020
  stroke: B.value.xyAxisStroke,
2035
2021
  "stroke-width": B.value.xyAxisStrokeWidth,
2036
2022
  "stroke-linecap": "round"
2037
- }, null, 8, Xt)])) : v("", !0),
2038
- B.value.xyShowScale ? (w(), y("g", {
2023
+ }, null, 8, Zt)])) : v("", !0),
2024
+ B.value.xyShowScale ? (T(), y("g", {
2039
2025
  key: 2,
2040
2026
  class: "yLabels",
2041
2027
  ref_key: "scaleLabels",
2042
- ref: Ln
2043
- }, [(w(!0), y(g, null, E(Q.value.yLabels, (e, t) => (w(), y(g, null, [e.y <= Q.value.drawingArea.bottom ? (w(), y("line", {
2028
+ ref: Rn
2029
+ }, [(T(!0), y(g, null, D(Q.value.yLabels, (e, t) => (T(), y(g, { key: `sl_${t}` }, [e.y <= Q.value.drawingArea.bottom ? (T(), y("path", {
2044
2030
  key: 0,
2045
- x1: e.x + 4,
2046
- x2: Q.value.drawingArea.left,
2047
- y1: e.y,
2048
- y2: e.y,
2031
+ class: S({ "vue-data-ui-datalabel": A(Ze) }),
2032
+ d: `M${e.x + 4},${e.y} ${Q.value.drawingArea.left},${e.y}`,
2049
2033
  stroke: B.value.xyAxisStroke,
2050
2034
  "stroke-width": B.value.xyAxisStrokeWidth,
2051
2035
  "stroke-linecap": "round"
2052
- }, null, 8, Zt)) : v("", !0), e.y <= Q.value.drawingArea.bottom ? (w(), y("text", {
2036
+ }, null, 10, Qt)) : v("", !0), e.y <= Q.value.drawingArea.bottom ? (T(), y("text", {
2053
2037
  key: 1,
2054
- x: e.x,
2055
- y: e.y + B.value.xyLabelsYFontSize / 3,
2038
+ class: S({ "vue-data-ui-datalabel": A(Ze) }),
2039
+ transform: `translate(${e.x}, ${e.y + B.value.xyLabelsYFontSize / 3})`,
2056
2040
  "text-anchor": "end",
2057
2041
  "font-size": B.value.xyLabelsYFontSize,
2058
2042
  fill: B.value.color
2059
- }, O(k(m)(B.value.formatter, e.value, k(u)({
2043
+ }, k(A(m)(B.value.formatter, e.value, A(u)({
2060
2044
  p: B.value.valuePrefix,
2061
2045
  v: e.value,
2062
2046
  s: B.value.valueSuffix,
@@ -2064,8 +2048,8 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2064
2048
  }), {
2065
2049
  datapoint: e,
2066
2050
  seriesIndex: t
2067
- })), 9, Qt)) : v("", !0)], 64))), 256))], 512)) : v("", !0),
2068
- B.value.xyShowScale && B.value.xyPeriods.length ? (w(), y("g", $t, [(w(!0), y(g, null, E(B.value.xyPeriods.slice(X.value.start, X.value.end), (e, t) => (w(), y("line", {
2051
+ })), 11, $t)) : v("", !0)], 64))), 128))], 512)) : v("", !0),
2052
+ B.value.xyShowScale && B.value.xyPeriods.length ? (T(), y("g", en, [(T(!0), y(g, null, D(B.value.xyPeriods.slice(X.value.start, X.value.end), (e, t) => (T(), y("line", {
2069
2053
  x1: Q.value.drawingArea.left + Q.value.slotSize * (t + 1) - Q.value.slotSize / 2,
2070
2054
  x2: Q.value.drawingArea.left + Q.value.slotSize * (t + 1) - Q.value.slotSize / 2,
2071
2055
  y1: Q.value.drawingArea.bottom,
@@ -2073,139 +2057,138 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2073
2057
  stroke: B.value.xyAxisStroke,
2074
2058
  "stroke-width": B.value.xyAxisStrokeWidth,
2075
2059
  "stroke-linecap": "round"
2076
- }, null, 8, en))), 256)), b("g", {
2060
+ }, null, 8, tn))), 256)), b("g", {
2077
2061
  ref_key: "timeLabelsEls",
2078
2062
  ref: z
2079
- }, [(w(!0), y(g, null, E($.value.map((e) => e.text), (e, t) => (w(), y(g, null, [!B.value.xyPeriodsShowOnlyAtModulo || B.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) / Br.value) === 0 || X.value.end - X.value.start <= Br.value ? (w(), y("g", tn, [String(e).includes("\n") ? (w(), y("text", {
2063
+ }, [(T(!0), y(g, null, D($.value.map((e) => e.text), (e, t) => (T(), y(g, null, [!B.value.xyPeriodsShowOnlyAtModulo || B.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) / Vr.value) === 0 || X.value.end - X.value.start <= Vr.value ? (T(), y("g", nn, [String(e).includes("\n") ? (T(), y("text", {
2080
2064
  key: 1,
2081
2065
  class: "vue-data-ui-time-label",
2082
2066
  "font-size": B.value.xyLabelsXFontSize,
2083
2067
  "text-anchor": B.value.xyPeriodLabelsRotation > 0 ? "start" : B.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
2084
2068
  fill: B.value.color,
2085
2069
  transform: `translate(${Q.value.drawingArea.left + Q.value.slotSize * (t + 1) - Q.value.slotSize / 2}, ${Q.value.drawingArea.bottom + B.value.xyLabelsXFontSize + 6}), rotate(${B.value.xyPeriodLabelsRotation})`,
2086
- innerHTML: k(l)({
2070
+ innerHTML: A(l)({
2087
2071
  content: String(e),
2088
2072
  fontSize: B.value.xyLabelsXFontSize,
2089
2073
  fill: B.value.color,
2090
2074
  x: 0,
2091
2075
  y: 0
2092
2076
  })
2093
- }, null, 8, rn)) : (w(), y("text", {
2077
+ }, null, 8, an)) : (T(), y("text", {
2094
2078
  key: 0,
2095
2079
  class: "vue-data-ui-time-label",
2096
2080
  "font-size": B.value.xyLabelsXFontSize,
2097
2081
  "text-anchor": B.value.xyPeriodLabelsRotation > 0 ? "start" : B.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
2098
2082
  fill: B.value.color,
2099
2083
  transform: `translate(${Q.value.drawingArea.left + Q.value.slotSize * (t + 1) - Q.value.slotSize / 2}, ${Q.value.drawingArea.bottom + B.value.xyLabelsXFontSize + 6}), rotate(${B.value.xyPeriodLabelsRotation})`
2100
- }, O(e), 9, nn))])) : v("", !0)], 64))), 256))], 512)])) : v("", !0),
2101
- b("g", an, [(w(!0), y(g, null, E(Q.value.dataset, (e, t) => (w(), y(g, null, [(w(!0), y(g, null, E(e.coordinates, (t, n) => (w(), y("rect", {
2084
+ }, k(e), 9, rn))])) : v("", !0)], 64))), 256))], 512)])) : v("", !0),
2085
+ b("g", on, [(T(!0), y(g, null, D(Q.value.dataset, (e, t) => (T(), y(g, null, [(T(!0), y(g, null, D(e.coordinates, (t, n) => (T(), y("rect", {
2102
2086
  x: t.x,
2103
2087
  width: t.width <= 0 ? 1e-5 : t.width,
2104
- height: k(h)(t.height <= 0 ? 1e-5 : t.height),
2105
- y: k(h)(t.y),
2088
+ height: A(h)(t.height <= 0 ? 1e-5 : t.height),
2089
+ y: A(h)(t.y),
2106
2090
  fill: e.color,
2107
2091
  stroke: B.value.backgroundColor,
2108
2092
  "stroke-width": B.value.barStrokeWidth,
2109
2093
  "stroke-linecap": "round",
2110
- class: Me({ "vue-data-ui-bar-animated": B.value.barAnimated && t.value < 0 && !k(U) })
2111
- }, [B.value.barAnimated && t.value > 0 && !k(rr) && !k(ir) ? (w(), y("animate", {
2094
+ class: S({ "vue-data-ui-bar-animated": B.value.barAnimated && t.value < 0 && !A(U) })
2095
+ }, [B.value.barAnimated && t.value > 0 && !A(ir) && !A(ar) ? (T(), y("animate", {
2112
2096
  key: 0,
2113
2097
  attributeName: "height",
2114
2098
  from: 0,
2115
2099
  to: t.height,
2116
2100
  dur: "0.5s"
2117
- }, null, 8, sn)) : v("", !0), B.value.barAnimated && t.value > 0 && !k(rr) && !k(ir) ? (w(), y("animate", {
2101
+ }, null, 8, cn)) : v("", !0), B.value.barAnimated && t.value > 0 && !A(ir) && !A(ar) ? (T(), y("animate", {
2118
2102
  key: 1,
2119
2103
  attributeName: "y",
2120
2104
  from: Q.value.absoluteZero,
2121
2105
  to: Q.value.absoluteZero - t.height,
2122
2106
  dur: "0.5s"
2123
- }, null, 8, cn)) : v("", !0)], 10, on))), 256))], 64))), 256))]),
2124
- B.value.showDataLabels ? (w(), y("g", ln, [(w(!0), y(g, null, E(Q.value.dataset, (e, t) => (w(), y(g, null, [(w(!0), y(g, null, E(e.coordinates, (t, n) => (w(), y("text", {
2125
- x: t.x + t.width / 2,
2126
- y: k(h)(t.y) - B.value.dataLabelFontSize / 2,
2107
+ }, null, 8, ln)) : v("", !0)], 10, sn))), 256))], 64))), 256))]),
2108
+ B.value.showDataLabels ? (T(), y("g", un, [(T(!0), y(g, null, D(Q.value.dataset, (e, t) => (T(), y(g, { key: `ds_${e.id}` }, [(T(!0), y(g, null, D(e.coordinates, (t, n) => (T(), y("text", {
2109
+ key: `plot_${n + X.value.start}`,
2110
+ transform: `translate(${t.x + t.width / 2}, ${A(h)(t.y) - B.value.dataLabelFontSize / 2})`,
2127
2111
  "text-anchor": "middle",
2128
2112
  "font-size": B.value.dataLabelFontSize,
2129
- fill: e.color,
2130
- class: "quick-animation"
2131
- }, O(k(m)(B.value.formatter, k(h)(t.value), k(u)({
2113
+ fill: e.color
2114
+ }, k(A(m)(B.value.formatter, A(h)(t.value), A(u)({
2132
2115
  p: B.value.valuePrefix,
2133
- v: k(h)(t.value),
2116
+ v: A(h)(t.value),
2134
2117
  s: B.value.valueSuffix,
2135
2118
  r: B.value.dataLabelRoundingValue
2136
2119
  }), {
2137
2120
  datapoint: t,
2138
2121
  seriesIndex: n
2139
- })), 9, un))), 256))], 64))), 256))])) : v("", !0),
2140
- Zn.value && R.value.length < Q.value.legend.length ? (w(), y("g", dn, [(w(!0), y(g, null, E(Q.value.extremes.maxSeries, (e, t) => (w(), y("rect", {
2122
+ })), 9, dn))), 128))], 64))), 128))])) : v("", !0),
2123
+ Qn.value && R.value.length < Q.value.legend.length ? (T(), y("g", fn, [(T(!0), y(g, null, D(Q.value.extremes.maxSeries, (e, t) => (T(), y("rect", {
2141
2124
  x: Q.value.drawingArea.left + t * Q.value.slotSize,
2142
2125
  y: Q.value.drawingArea.top,
2143
2126
  height: Q.value.drawingArea.height <= 0 ? 1e-5 : Q.value.drawingArea.height,
2144
2127
  width: Q.value.slotSize <= 0 ? 1e-5 : Q.value.slotSize,
2145
2128
  fill: [L.value, J.value].includes(t) ? B.value.xyHighlighterColor : "transparent",
2146
- style: C(`opacity:${B.value.xyHighlighterOpacity}`),
2129
+ style: w(`opacity:${B.value.xyHighlighterOpacity}`),
2147
2130
  onMouseenter: (e) => Q.value.useTooltip(t, "pointer"),
2148
2131
  onMouseleave: (e) => Q.value.killTooltip(t),
2149
2132
  onClick: (e) => Q.value.selectDatapoint(t)
2150
- }, null, 44, fn))), 256))])) : v("", !0)
2133
+ }, null, 44, pn))), 256))])) : v("", !0)
2151
2134
  ], 64)) : v("", !0),
2152
- [j.LINE, j.BAR].includes(K.value) ? (w(), y("g", pn, [
2153
- B.value.xAxisLabel && K.value === j.LINE ? (w(), y("g", {
2135
+ [M.LINE, M.BAR].includes(K.value) ? (T(), y("g", mn, [
2136
+ B.value.xAxisLabel && K.value === M.LINE ? (T(), y("g", {
2154
2137
  key: 0,
2155
2138
  ref_key: "xAxisLabel",
2156
- ref: Rn
2139
+ ref: zn
2157
2140
  }, [b("text", {
2158
2141
  "font-size": B.value.axisLabelsFontSize,
2159
2142
  fill: B.value.color,
2160
2143
  "text-anchor": "middle",
2161
2144
  x: Z.value.drawingArea.left + Z.value.drawingArea.width / 2,
2162
2145
  y: q.value.height - B.value.axisLabelsFontSize / 3
2163
- }, O(B.value.xAxisLabel), 9, mn)], 512)) : v("", !0),
2164
- B.value.xAxisLabel && K.value === j.BAR ? (w(), y("g", {
2146
+ }, k(B.value.xAxisLabel), 9, hn)], 512)) : v("", !0),
2147
+ B.value.xAxisLabel && K.value === M.BAR ? (T(), y("g", {
2165
2148
  key: 1,
2166
2149
  ref_key: "xAxisLabel",
2167
- ref: Rn
2150
+ ref: zn
2168
2151
  }, [b("text", {
2169
2152
  "font-size": B.value.axisLabelsFontSize,
2170
2153
  fill: B.value.color,
2171
2154
  "text-anchor": "middle",
2172
2155
  x: Q.value.drawingArea.left + Q.value.drawingArea.width / 2,
2173
2156
  y: q.value.height - B.value.axisLabelsFontSize / 3
2174
- }, O(B.value.xAxisLabel), 9, hn)], 512)) : v("", !0),
2175
- B.value.yAxisLabel && K.value === j.LINE ? (w(), y("g", {
2157
+ }, k(B.value.xAxisLabel), 9, gn)], 512)) : v("", !0),
2158
+ B.value.yAxisLabel && K.value === M.LINE ? (T(), y("g", {
2176
2159
  key: 2,
2177
2160
  ref_key: "yAxisLabel",
2178
- ref: zn
2161
+ ref: Bn
2179
2162
  }, [b("text", {
2180
2163
  "font-size": B.value.axisLabelsFontSize,
2181
2164
  fill: B.value.color,
2182
2165
  transform: `translate(${B.value.axisLabelsFontSize}, ${Z.value.drawingArea.top + Z.value.drawingArea.height / 2}) rotate(-90)`,
2183
2166
  "text-anchor": "middle"
2184
- }, O(B.value.yAxisLabel), 9, gn)], 512)) : v("", !0),
2185
- B.value.yAxisLabel && K.value === j.BAR ? (w(), y("g", {
2167
+ }, k(B.value.yAxisLabel), 9, _n)], 512)) : v("", !0),
2168
+ B.value.yAxisLabel && K.value === M.BAR ? (T(), y("g", {
2186
2169
  key: 3,
2187
2170
  ref_key: "yAxisLabel",
2188
- ref: zn
2171
+ ref: Bn
2189
2172
  }, [b("text", {
2190
2173
  "font-size": B.value.axisLabelsFontSize,
2191
2174
  fill: B.value.color,
2192
2175
  transform: `translate(${B.value.axisLabelsFontSize}, ${Q.value.drawingArea.top + Q.value.drawingArea.height / 2}) rotate(-90)`,
2193
2176
  "text-anchor": "middle"
2194
- }, O(B.value.yAxisLabel), 9, _n)], 512)) : v("", !0)
2177
+ }, k(B.value.yAxisLabel), 9, vn)], 512)) : v("", !0)
2195
2178
  ])) : v("", !0)
2196
- ], 44, et)) : v("", !0), e.$slots.hint ? (w(), y("div", vn, [D(e.$slots, "hint", S(x({
2179
+ ], 44, nt)) : v("", !0), e.$slots.hint ? (T(), y("div", yn, [O(e.$slots, "hint", C(x({
2197
2180
  hint: B.value.a11y.translations.keyboardNavigation,
2198
- isVisible: Un.value
2181
+ isVisible: Wn.value
2199
2182
  })), void 0, !0)])) : v("", !0)]),
2200
- e.$slots.watermark ? (w(), y("div", yn, [D(e.$slots, "watermark", S(x({ isPrinting: k(rr) || k(ir) })), void 0, !0)])) : v("", !0),
2201
- [j.BAR, j.LINE].includes(K.value) && B.value.zoomXy && G.value.maxSeriesLength > 1 ? (w(), y("div", {
2202
- key: `slicer_${Nn.value}`,
2183
+ e.$slots.watermark ? (T(), y("div", bn, [O(e.$slots, "watermark", C(x({ isPrinting: A(ir) || A(ar) })), void 0, !0)])) : v("", !0),
2184
+ [M.BAR, M.LINE].includes(K.value) && B.value.zoomXy && G.value.maxSeriesLength > 1 ? (T(), y("div", {
2185
+ key: `slicer_${Pn.value}`,
2203
2186
  ref_key: "quickChartSlicer",
2204
- ref: Dn
2205
- }, [(w(), Ee(Ce, {
2187
+ ref: On
2188
+ }, [(T(), De(we, {
2206
2189
  ref_key: "slicerComponent",
2207
- ref: wr,
2208
- key: `slicer_${Nn.value}`,
2190
+ ref: Tr,
2191
+ key: `slicer_${Pn.value}`,
2209
2192
  background: B.value.zoomColor,
2210
2193
  borderColor: B.value.backgroundColor,
2211
2194
  fontSize: B.value.zoomFontSize,
@@ -2224,7 +2207,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2224
2207
  minimapSelectedColorOpacity: B.value.zoomMinimap.selectedColorOpacity,
2225
2208
  minimapSelectionRadius: B.value.zoomMinimap.selectionRadius,
2226
2209
  minimapLineColor: B.value.zoomMinimap.lineColor,
2227
- minimap: Dr.value,
2210
+ minimap: Or.value,
2228
2211
  minimapIndicatorColor: B.value.zoomMinimap.indicatorColor,
2229
2212
  verticalHandles: B.value.zoomMinimap.verticalHandles,
2230
2213
  minimapSelectedIndex: J.value,
@@ -2238,7 +2221,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2238
2221
  enableSelectionDrag: B.value.zoomEnableSelectionDrag,
2239
2222
  minimapCompact: B.value.zoomMinimap.compact,
2240
2223
  minimapMerged: B.value.zoomMinimap.merged,
2241
- allMinimaps: Rr.value,
2224
+ allMinimaps: zr.value,
2242
2225
  minimapFrameColor: B.value.zoomMinimap.frameColor,
2243
2226
  additionalMinimapHeight: B.value.zoomMinimap.additionalHeight,
2244
2227
  handleType: B.value.zoomMinimap.handleType,
@@ -2250,31 +2233,31 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2250
2233
  focusOnDrag: B.value.zoomFocusOnDrag,
2251
2234
  focusRangeRatio: B.value.zoomFocusRangeRatio,
2252
2235
  maxWidth: B.value.zoomMaxWidth,
2253
- onReset: Cr,
2254
- onTrapMouse: xr
2236
+ onReset: wr,
2237
+ onTrapMouse: Sr
2255
2238
  }, {
2256
- "reset-action": A(({ reset: t }) => [D(e.$slots, "reset-action", S(x({ reset: t })), void 0, !0)]),
2239
+ "reset-action": j(({ reset: t }) => [O(e.$slots, "reset-action", C(x({ reset: t })), void 0, !0)]),
2257
2240
  _: 3
2258
2241
  }, 8, /* @__PURE__ */ "background.borderColor.fontSize.useResetSlot.labelLeft.labelRight.textColor.inputColor.selectColor.max.valueStart.valueEnd.smoothMinimap.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectionRadius.minimapLineColor.minimap.minimapIndicatorColor.verticalHandles.minimapSelectedIndex.start.end.refreshStartPoint.refreshEndPoint.enableRangeHandles.enableSelectionDrag.minimapCompact.minimapMerged.allMinimaps.minimapFrameColor.additionalMinimapHeight.handleType.handleWidth.handleBorderWidth.handleIconColor.handleBorderColor.handleFill.focusOnDrag.focusRangeRatio.maxWidth".split(".")))])) : v("", !0),
2259
- b("div", { id: `legend-bottom-${F.value}` }, null, 8, bn),
2260
- Pn.value && B.value.showLegend ? (w(), Ee(Te, {
2242
+ b("div", { id: `legend-bottom-${F.value}` }, null, 8, xn),
2243
+ Fn.value && B.value.showLegend ? (T(), De(Ee, {
2261
2244
  key: 7,
2262
2245
  to: B.value.legendPosition === "top" ? `#legend-top-${F.value}` : `#legend-bottom-${F.value}`
2263
- }, [B.value.showLegend ? (w(), y("div", {
2246
+ }, [B.value.showLegend ? (T(), y("div", {
2264
2247
  key: 0,
2265
2248
  ref_key: "quickChartLegend",
2266
- ref: En,
2249
+ ref: Dn,
2267
2250
  class: "vue-ui-quick-chart-legend",
2268
- style: C(`background:transparent;color:${B.value.color}`)
2251
+ style: w(`background:transparent;color:${B.value.color}`)
2269
2252
  }, [
2270
- (Y.value?.legend?.length > 2 || Z.value?.legend?.length > 2 || Q.value?.legend?.length > 2) && B.value.showLegendSelectAllToggle && !k(U) ? (w(), Ee(be, {
2253
+ (Y.value?.legend?.length > 2 || Z.value?.legend?.length > 2 || Q.value?.legend?.length > 2) && B.value.showLegendSelectAllToggle && !A(U) ? (T(), De(xe, {
2271
2254
  key: 0,
2272
2255
  backgroundColor: B.value.legendSelectAllToggleBackgroundColor,
2273
2256
  color: B.value.legendSelectAllToggleColor,
2274
2257
  fontSize: B.value.legendFontSize,
2275
2258
  checked: R.value.length > 0,
2276
- isCursorPointer: Vn.value,
2277
- onToggle: hr
2259
+ isCursorPointer: Hn.value,
2260
+ onToggle: gr
2278
2261
  }, null, 8, [
2279
2262
  "backgroundColor",
2280
2263
  "color",
@@ -2282,28 +2265,25 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2282
2265
  "checked",
2283
2266
  "isCursorPointer"
2284
2267
  ])) : v("", !0),
2285
- K.value === j.DONUT ? (w(!0), y(g, { key: 1 }, E(Y.value.legend, (t, n) => (w(), y("div", {
2268
+ K.value === M.DONUT ? (T(!0), y(g, { key: 1 }, D(Y.value.legend, (t, n) => (T(), y("div", {
2286
2269
  class: "vue-ui-quick-chart-legend-item",
2287
- onClick: (e) => br(t, Y.value.dataset),
2288
- style: C(`cursor: ${Y.value.legend.length > 1 && Vn.value ? "pointer" : "default"}; opacity:${R.value.includes(t.id) ? "0.5" : "1"}`),
2270
+ onClick: (e) => xr(t, Y.value.dataset),
2271
+ style: w(`cursor: ${Y.value.legend.length > 1 && Hn.value ? "pointer" : "default"}; opacity:${R.value.includes(t.id) ? "0.5" : "1"}`),
2289
2272
  role: "button",
2290
2273
  tabindex: "0",
2291
2274
  onKeydown: (e) => {
2292
- ni(e, () => {
2293
- br(t, Y.value.dataset);
2275
+ ri(e, () => {
2276
+ xr(t, Y.value.dataset);
2294
2277
  });
2295
2278
  }
2296
- }, [B.value.useCustomLegend ? D(e.$slots, "legend", Ae({
2297
- key: 0,
2298
- ref_for: !0
2299
- }, { legend: {
2279
+ }, [B.value.useCustomLegend ? O(e.$slots, "legend", je({ ref_for: !0 }, { legend: {
2300
2280
  ...t,
2301
2281
  isSegregated: R.value.includes(t.id),
2302
2282
  segregate: () => {
2303
- br(t, Y.value.dataset);
2283
+ xr(t, Y.value.dataset);
2304
2284
  }
2305
- } }), void 0, !0) : (w(), y(g, { key: 1 }, [
2306
- Oe(k(Ve), {
2285
+ } }), void 0, !0, 0) : (T(), y(g, { key: 1 }, [
2286
+ ke(A(Ve), {
2307
2287
  name: B.value.legendIcon,
2308
2288
  stroke: t.color,
2309
2289
  size: B.value.legendIconSize
@@ -2312,8 +2292,8 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2312
2292
  "stroke",
2313
2293
  "size"
2314
2294
  ]),
2315
- b("span", { style: C(`font-size:${B.value.legendFontSize}px`) }, O(t.name), 5),
2316
- b("span", { style: C(`font-size:${B.value.legendFontSize}px;font-variant-numeric:tabular-nums`) }, O(R.value.includes(t.id) ? "-" : k(m)(B.value.formatter, t.absoluteValue, k(u)({
2295
+ b("span", { style: w(`font-size:${B.value.legendFontSize}px`) }, k(t.name), 5),
2296
+ b("span", { style: w(`font-size:${B.value.legendFontSize}px;font-variant-numeric:tabular-nums`) }, k(R.value.includes(t.id) ? "-" : A(m)(B.value.formatter, t.absoluteValue, A(u)({
2317
2297
  p: B.value.valuePrefix,
2318
2298
  v: t.absoluteValue,
2319
2299
  s: B.value.valueSuffix,
@@ -2322,44 +2302,41 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2322
2302
  datapoint: t,
2323
2303
  seriesIndex: n
2324
2304
  })), 5),
2325
- R.value.includes(t.id) ? (w(), y("span", {
2305
+ R.value.includes(t.id) ? (T(), y("span", {
2326
2306
  key: 0,
2327
- style: C(`font-size:${B.value.legendFontSize}px`)
2328
- }, " ( - % ) ", 4)) : yr.value ? (w(), y("span", {
2307
+ style: w(`font-size:${B.value.legendFontSize}px`)
2308
+ }, " ( - % ) ", 4)) : br.value ? (T(), y("span", {
2329
2309
  key: 1,
2330
- style: C(`font-size:${B.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
2331
- }, " ( - % ) ", 4)) : (w(), y("span", {
2310
+ style: w(`font-size:${B.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
2311
+ }, " ( - % ) ", 4)) : (T(), y("span", {
2332
2312
  key: 2,
2333
- style: C(`font-size:${B.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
2334
- }, " (" + O(k(u)({
2313
+ style: w(`font-size:${B.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
2314
+ }, " (" + k(A(u)({
2335
2315
  v: t.value / Y.value.total * 100,
2336
2316
  s: "%",
2337
2317
  r: B.value.dataLabelRoundingPercentage
2338
2318
  })) + ") ", 5))
2339
- ], 64))], 44, xn))), 256)) : v("", !0),
2340
- K.value === j.LINE ? (w(!0), y(g, { key: 2 }, E(Z.value.legend, (t, n) => (w(), y("div", {
2319
+ ], 64))], 44, Sn))), 256)) : v("", !0),
2320
+ K.value === M.LINE ? (T(!0), y(g, { key: 2 }, D(Z.value.legend, (t, n) => (T(), y("div", {
2341
2321
  class: "vue-ui-quick-chart-legend-item",
2342
2322
  onClick: (e) => {
2343
- gr(t.id, Z.value.legend.length - 1), W("selectLegend", Z.value.dataset);
2323
+ _r(t.id, Z.value.legend.length - 1), W("selectLegend", Z.value.dataset);
2344
2324
  },
2345
- style: C(`cursor: ${Z.value.legend.length > 1 && Vn.value ? "pointer" : "default"}; opacity:${R.value.includes(t.id) ? "0.5" : "1"}`),
2325
+ style: w(`cursor: ${Z.value.legend.length > 1 && Hn.value ? "pointer" : "default"}; opacity:${R.value.includes(t.id) ? "0.5" : "1"}`),
2346
2326
  role: "button",
2347
2327
  tabindex: "0",
2348
2328
  onKeydown: (e) => {
2349
- ni(e, () => {
2350
- gr(t.id, Z.value.legend.length - 1), W("selectLegend", Z.value.dataset);
2329
+ ri(e, () => {
2330
+ _r(t.id, Z.value.legend.length - 1), W("selectLegend", Z.value.dataset);
2351
2331
  });
2352
2332
  }
2353
- }, [B.value.useCustomLegend ? D(e.$slots, "legend", Ae({
2354
- key: 0,
2355
- ref_for: !0
2356
- }, { legend: {
2333
+ }, [B.value.useCustomLegend ? O(e.$slots, "legend", je({ ref_for: !0 }, { legend: {
2357
2334
  ...t,
2358
2335
  isSegregated: R.value.includes(t.id),
2359
2336
  segregate: () => {
2360
- gr(t.id, Z.value.legend.length - 1), W("selectLegend", Z.value.dataset);
2337
+ _r(t.id, Z.value.legend.length - 1), W("selectLegend", Z.value.dataset);
2361
2338
  }
2362
- } }), void 0, !0) : (w(), y(g, { key: 1 }, [Oe(k(Ve), {
2339
+ } }), void 0, !0, 0) : (T(), y(g, { key: 1 }, [ke(A(Ve), {
2363
2340
  name: B.value.legendIcon,
2364
2341
  stroke: t.color,
2365
2342
  size: B.value.legendIconSize
@@ -2367,30 +2344,27 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2367
2344
  "name",
2368
2345
  "stroke",
2369
2346
  "size"
2370
- ]), b("span", { style: C(`font-size:${B.value.legendFontSize}px`) }, O(t.name), 5)], 64))], 44, Sn))), 256)) : v("", !0),
2371
- K.value === j.BAR ? (w(!0), y(g, { key: 3 }, E(Q.value.legend, (t, n) => (w(), y("div", {
2347
+ ]), b("span", { style: w(`font-size:${B.value.legendFontSize}px`) }, k(t.name), 5)], 64))], 44, Cn))), 256)) : v("", !0),
2348
+ K.value === M.BAR ? (T(!0), y(g, { key: 3 }, D(Q.value.legend, (t, n) => (T(), y("div", {
2372
2349
  class: "vue-ui-quick-chart-legend-item",
2373
2350
  onClick: (e) => {
2374
- gr(t.id, Q.value.legend.length - 1), W("selectLegend", Q.value.dataset);
2351
+ _r(t.id, Q.value.legend.length - 1), W("selectLegend", Q.value.dataset);
2375
2352
  },
2376
- style: C(`cursor: ${Q.value.legend.length > 1 && Vn.value ? "pointer" : "default"}; opacity:${R.value.includes(t.id) ? "0.5" : "1"}`),
2353
+ style: w(`cursor: ${Q.value.legend.length > 1 && Hn.value ? "pointer" : "default"}; opacity:${R.value.includes(t.id) ? "0.5" : "1"}`),
2377
2354
  role: "button",
2378
2355
  tabindex: "0",
2379
2356
  onKeydown: (e) => {
2380
- ni(e, () => {
2381
- gr(t.id, Q.value.legend.length - 1), W("selectLegend", Q.value.dataset);
2357
+ ri(e, () => {
2358
+ _r(t.id, Q.value.legend.length - 1), W("selectLegend", Q.value.dataset);
2382
2359
  });
2383
2360
  }
2384
- }, [B.value.useCustomLegend ? D(e.$slots, "legend", Ae({
2385
- key: 0,
2386
- ref_for: !0
2387
- }, { legend: {
2361
+ }, [B.value.useCustomLegend ? O(e.$slots, "legend", je({ ref_for: !0 }, { legend: {
2388
2362
  ...t,
2389
2363
  isSegregated: R.value.includes(t.id),
2390
2364
  segregate: () => {
2391
- gr(t.id, Q.value.legend.length - 1), W("selectLegend", Q.value.dataset);
2365
+ _r(t.id, Q.value.legend.length - 1), W("selectLegend", Q.value.dataset);
2392
2366
  }
2393
- } }), void 0, !0) : (w(), y(g, { key: 1 }, [Oe(k(Ve), {
2367
+ } }), void 0, !0, 0) : (T(), y(g, { key: 1 }, [ke(A(Ve), {
2394
2368
  name: B.value.legendIcon,
2395
2369
  stroke: t.color,
2396
2370
  size: B.value.legendIconSize
@@ -2398,17 +2372,17 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2398
2372
  "name",
2399
2373
  "stroke",
2400
2374
  "size"
2401
- ]), b("span", { style: C(`font-size:${B.value.legendFontSize}px`) }, O(t.name), 5)], 64))], 44, Cn))), 256)) : v("", !0)
2375
+ ]), b("span", { style: w(`font-size:${B.value.legendFontSize}px`) }, k(t.name), 5)], 64))], 44, wn))), 256)) : v("", !0)
2402
2376
  ], 4)) : v("", !0)], 8, ["to"])) : v("", !0),
2403
- e.$slots.source ? (w(), y("div", {
2377
+ e.$slots.source ? (T(), y("div", {
2404
2378
  key: 8,
2405
2379
  ref_key: "source",
2406
- ref: An,
2380
+ ref: jn,
2407
2381
  dir: "auto"
2408
- }, [D(e.$slots, "source", {}, void 0, !0)], 512)) : v("", !0),
2409
- Oe(k(Ge), {
2382
+ }, [O(e.$slots, "source", {}, void 0, !0)], 512)) : v("", !0),
2383
+ ke(A(Ke), {
2410
2384
  teleportTo: B.value.tooltipTeleportTo,
2411
- show: cr.value.showTooltip && I.value,
2385
+ show: lr.value.showTooltip && I.value,
2412
2386
  backgroundColor: B.value.backgroundColor,
2413
2387
  color: B.value.color,
2414
2388
  borderRadius: B.value.tooltipBorderRadius,
@@ -2420,19 +2394,19 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2420
2394
  offsetX: B.value.tooltipOffsetX,
2421
2395
  offsetY: B.value.tooltipOffsetY,
2422
2396
  parent: P.value,
2423
- content: kn.value,
2424
- isFullscreen: Vr.value,
2425
- isCustom: k(ee)(B.value.tooltipCustomFormat),
2397
+ content: An.value,
2398
+ isFullscreen: Hr.value,
2399
+ isCustom: A(ee)(B.value.tooltipCustomFormat),
2426
2400
  smooth: B.value.tooltipSmooth,
2427
2401
  smoothForce: B.value.tooltipSmoothForce,
2428
2402
  smoothSnapThreshold: B.value.tooltipSmoothSnapThreshold,
2429
2403
  backdropFilter: B.value.tooltipBackdropFilter,
2430
2404
  isA11yMode: H.value === "keyboard",
2431
- a11yPosition: Hn.value
2405
+ a11yPosition: Un.value
2432
2406
  }, {
2433
- "tooltip-before": A(() => [D(e.$slots, "tooltip-before", S(x({ ...On.value })), void 0, !0)]),
2434
- tooltip: A(() => [D(e.$slots, "tooltip", S(x({ ...On.value })), void 0, !0)]),
2435
- "tooltip-after": A(() => [D(e.$slots, "tooltip-after", S(x({ ...On.value })), void 0, !0)]),
2407
+ "tooltip-before": j(() => [O(e.$slots, "tooltip-before", C(x({ ...kn.value })), void 0, !0)]),
2408
+ tooltip: j(() => [O(e.$slots, "tooltip", C(x({ ...kn.value })), void 0, !0)]),
2409
+ "tooltip-after": j(() => [O(e.$slots, "tooltip-after", C(x({ ...kn.value })), void 0, !0)]),
2436
2410
  _: 3
2437
2411
  }, 8, [
2438
2412
  "teleportTo",
@@ -2458,12 +2432,12 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2458
2432
  "isA11yMode",
2459
2433
  "a11yPosition"
2460
2434
  ]),
2461
- D(e.$slots, "skeleton", {}, () => [k(U) ? (w(), Ee(de, { key: 0 })) : v("", !0)], !0)
2462
- ], 46, Xe)) : (w(), y("div", wn, [Oe(k(Ve), {
2435
+ O(e.$slots, "skeleton", {}, () => [A(U) ? (T(), De(de, { key: 0 })) : v("", !0)], !0)
2436
+ ], 46, Qe)) : (T(), y("div", Tn, [ke(A(Ve), {
2463
2437
  name: "circleCancel",
2464
2438
  stroke: "red"
2465
2439
  }), t[5] ||= b("span", null, "Dataset is not processable", -1)]));
2466
2440
  }
2467
- }, [["__scopeId", "data-v-a78997c2"]]);
2441
+ }, [["__scopeId", "data-v-b3c8ddac"]]);
2468
2442
  //#endregion
2469
- export { P as n, Tn as t };
2443
+ export { N as n, P as t };