vue-data-ui 3.1.17 → 3.1.19-next.0

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 (229) hide show
  1. package/dist/{Arrow-DFX_NfRh.js → Arrow-cyyFTTnm.js} +7 -7
  2. package/dist/{BaseDraggableDialog-CrCjMg89.js → BaseDraggableDialog-Bf6A6G_f.js} +2 -2
  3. package/dist/{BaseIcon-7s-tCFcQ.js → BaseIcon-D2f9w5Z5.js} +1 -1
  4. package/dist/{ColorPicker-BoLH_m_Z.js → ColorPicker-gaAecgEC.js} +6 -6
  5. package/dist/{DataTable-Dw6dxJk3.js → DataTable-xISHA7Pu.js} +2 -2
  6. package/dist/{Legend-CjdnJGHq.js → Legend-_Rv594VS.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-tX2IXHuz.js → NonSvgPenAndPaper-DiM4-9ju.js} +3 -3
  8. package/dist/{PackageVersion-D1HToLlZ.js → PackageVersion-DRpg18lg.js} +3 -3
  9. package/dist/{PenAndPaper-BKnXOYre.js → PenAndPaper-CtDMyIvW.js} +3 -3
  10. package/dist/{Shape-6PexQroB.js → Shape-BDy56-wS.js} +1 -1
  11. package/dist/{Slicer-BJkhMBk4.js → Slicer-BgpOhmb6.js} +31 -31
  12. package/dist/{SparkTooltip-BtO1j0i1.js → SparkTooltip-DOFGBHJ-.js} +1 -1
  13. package/dist/{Title-BVMfF0uu.js → Title-pI68ZJsq.js} +1 -1
  14. package/dist/{Tooltip-DBvmoYXU.js → Tooltip-Clf2K3CF.js} +1 -1
  15. package/dist/{UserOptions-CKzW9w0Q.js → UserOptions-Bn3u4JQu.js} +2 -2
  16. package/dist/components/arrow.js +5 -0
  17. package/dist/components/vue-ui-3d-bar.js +5 -0
  18. package/dist/components/vue-ui-accordion.js +5 -0
  19. package/dist/components/vue-ui-age-pyramid.js +5 -0
  20. package/dist/components/vue-ui-bullet.js +5 -0
  21. package/dist/components/vue-ui-candlestick.js +5 -0
  22. package/dist/components/vue-ui-carousel-table.js +5 -0
  23. package/dist/components/vue-ui-chestnut.js +5 -0
  24. package/dist/components/vue-ui-chord.js +5 -0
  25. package/dist/components/vue-ui-circle-pack.js +5 -0
  26. package/dist/components/vue-ui-cursor.js +5 -0
  27. package/dist/components/vue-ui-dashboard.js +5 -0
  28. package/dist/components/vue-ui-digits.js +5 -0
  29. package/dist/components/vue-ui-donut-evolution.js +5 -0
  30. package/dist/components/vue-ui-donut.js +5 -0
  31. package/dist/components/vue-ui-dumbbell.js +5 -0
  32. package/dist/components/vue-ui-flow.js +5 -0
  33. package/dist/components/vue-ui-funnel.js +5 -0
  34. package/dist/components/vue-ui-galaxy.js +5 -0
  35. package/dist/components/vue-ui-gauge.js +5 -0
  36. package/dist/components/vue-ui-gizmo.js +5 -0
  37. package/dist/components/vue-ui-heatmap.js +5 -0
  38. package/dist/components/vue-ui-history-plot.js +5 -0
  39. package/dist/components/vue-ui-horizontal-bar.js +5 -0
  40. package/dist/components/vue-ui-icon.js +5 -0
  41. package/dist/components/vue-ui-kpi.js +5 -0
  42. package/dist/components/vue-ui-mini-loader.js +5 -0
  43. package/dist/components/vue-ui-molecule.js +5 -0
  44. package/dist/components/vue-ui-mood-radar.js +5 -0
  45. package/dist/components/vue-ui-nested-donuts.js +5 -0
  46. package/dist/components/vue-ui-onion.js +5 -0
  47. package/dist/components/vue-ui-parallel-coordinate-plot.js +5 -0
  48. package/dist/components/vue-ui-pattern.js +5 -0
  49. package/dist/components/vue-ui-quadrant.js +5 -0
  50. package/dist/components/vue-ui-quick-chart.js +5 -0
  51. package/dist/components/vue-ui-radar.js +5 -0
  52. package/dist/components/vue-ui-rating.js +5 -0
  53. package/dist/components/vue-ui-relation-circle.js +5 -0
  54. package/dist/components/vue-ui-ridgeline.js +5 -0
  55. package/dist/components/vue-ui-rings.js +5 -0
  56. package/dist/components/vue-ui-scatter.js +5 -0
  57. package/dist/components/vue-ui-skeleton.js +5 -0
  58. package/dist/components/vue-ui-smiley.js +5 -0
  59. package/dist/components/vue-ui-spark-trend.js +5 -0
  60. package/dist/components/vue-ui-sparkbar.js +5 -0
  61. package/dist/components/vue-ui-sparkgauge.js +5 -0
  62. package/dist/components/vue-ui-sparkhistogram.js +5 -0
  63. package/dist/components/vue-ui-sparkline.js +5 -0
  64. package/dist/components/vue-ui-sparkstackbar.js +5 -0
  65. package/dist/components/vue-ui-stackbar.js +5 -0
  66. package/dist/components/vue-ui-strip-plot.js +5 -0
  67. package/dist/components/vue-ui-table-heatmap.js +5 -0
  68. package/dist/components/vue-ui-table-sparkline.js +5 -0
  69. package/dist/components/vue-ui-table.js +5 -0
  70. package/dist/components/vue-ui-thermometer.js +5 -0
  71. package/dist/components/vue-ui-timer.js +5 -0
  72. package/dist/components/vue-ui-tiremarks.js +5 -0
  73. package/dist/components/vue-ui-treemap.js +5 -0
  74. package/dist/components/vue-ui-vertical-bar.js +5 -0
  75. package/dist/components/vue-ui-waffle.js +5 -0
  76. package/dist/components/vue-ui-wheel.js +5 -0
  77. package/dist/components/vue-ui-word-cloud.js +5 -0
  78. package/dist/components/vue-ui-world.js +5 -0
  79. package/dist/components/vue-ui-xy-canvas.js +5 -0
  80. package/dist/components/vue-ui-xy.js +5 -0
  81. package/dist/{dom-to-png-D0wlWRL9.js → dom-to-png-CSg_eTqL.js} +1 -1
  82. package/dist/{img-CeCjiMpr.js → img-CH7J0fYg.js} +1 -1
  83. package/dist/lib-p5pfHmOX.js +1882 -0
  84. package/dist/{pdf-D5bgIg6W.js → pdf-Wd2BQz4D.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/themes-D3cUNuKw.js +53 -0
  87. package/dist/types/arrow.d.ts +4 -0
  88. package/dist/types/universal.d.ts +1 -0
  89. package/dist/types/vue-data-ui.d.ts +71 -21
  90. package/dist/types/vue-ui-3d-bar.d.ts +18 -0
  91. package/dist/types/vue-ui-accordion.d.ts +12 -0
  92. package/dist/types/vue-ui-age-pyramid.d.ts +21 -0
  93. package/dist/types/vue-ui-bullet.d.ts +16 -0
  94. package/dist/types/vue-ui-candlestick.d.ts +16 -0
  95. package/dist/types/vue-ui-carousel-table.d.ts +14 -0
  96. package/dist/types/vue-ui-chestnut.d.ts +17 -0
  97. package/dist/types/vue-ui-chord.d.ts +19 -0
  98. package/dist/types/vue-ui-circle-pack.d.ts +17 -0
  99. package/dist/types/vue-ui-cursor.d.ts +7 -0
  100. package/dist/types/vue-ui-dashboard.d.ts +14 -0
  101. package/dist/types/vue-ui-digits.d.ts +10 -0
  102. package/dist/types/vue-ui-donut-evolution.d.ts +17 -0
  103. package/dist/types/vue-ui-donut.d.ts +18 -0
  104. package/dist/types/vue-ui-dumbbell.d.ts +18 -0
  105. package/dist/types/vue-ui-flow.d.ts +18 -0
  106. package/dist/types/vue-ui-funnel.d.ts +15 -0
  107. package/dist/types/vue-ui-galaxy.d.ts +18 -0
  108. package/dist/types/vue-ui-gauge.d.ts +16 -0
  109. package/dist/types/vue-ui-gizmo.d.ts +14 -0
  110. package/dist/types/vue-ui-heatmap.d.ts +17 -0
  111. package/dist/types/vue-ui-history-plot.d.ts +19 -0
  112. package/dist/types/vue-ui-horizontal-bar.d.ts +19 -0
  113. package/dist/types/vue-ui-icon.d.ts +16 -0
  114. package/dist/types/vue-ui-kpi.d.ts +13 -0
  115. package/dist/types/vue-ui-mini-loader.d.ts +13 -0
  116. package/dist/types/vue-ui-molecule.d.ts +17 -0
  117. package/dist/types/vue-ui-mood-radar.d.ts +17 -0
  118. package/dist/types/vue-ui-nested-donuts.d.ts +18 -0
  119. package/dist/types/vue-ui-onion.d.ts +18 -0
  120. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +20 -0
  121. package/dist/types/vue-ui-pattern.d.ts +17 -0
  122. package/dist/types/vue-ui-quadrant.d.ts +20 -0
  123. package/dist/types/vue-ui-quick-chart.d.ts +16 -0
  124. package/dist/types/vue-ui-radar.d.ts +22 -0
  125. package/dist/types/vue-ui-rating.d.ts +15 -0
  126. package/dist/types/vue-ui-relation-circle.d.ts +17 -0
  127. package/dist/types/vue-ui-ridgeline.d.ts +20 -0
  128. package/dist/types/vue-ui-rings.d.ts +17 -0
  129. package/dist/types/vue-ui-scatter.d.ts +19 -0
  130. package/dist/types/vue-ui-skeleton.d.ts +12 -0
  131. package/dist/types/vue-ui-smiley.d.ts +14 -0
  132. package/dist/types/vue-ui-spark-trend.d.ts +13 -0
  133. package/dist/types/vue-ui-sparkbar.d.ts +15 -0
  134. package/dist/types/vue-ui-sparkgauge.d.ts +14 -0
  135. package/dist/types/vue-ui-sparkhistogram.d.ts +15 -0
  136. package/dist/types/vue-ui-sparkline.d.ts +15 -0
  137. package/dist/types/vue-ui-sparkstackbar.d.ts +16 -0
  138. package/dist/types/vue-ui-stackbar.d.ts +18 -0
  139. package/dist/types/vue-ui-strip-plot.d.ts +19 -0
  140. package/dist/types/vue-ui-table-heatmap.d.ts +14 -0
  141. package/dist/types/vue-ui-table-sparkline.d.ts +14 -0
  142. package/dist/types/vue-ui-table.d.ts +17 -0
  143. package/dist/types/vue-ui-thermometer.d.ts +15 -0
  144. package/dist/types/vue-ui-timer.d.ts +12 -0
  145. package/dist/types/vue-ui-tiremarks.d.ts +15 -0
  146. package/dist/types/vue-ui-treemap.d.ts +18 -0
  147. package/dist/types/vue-ui-vertical-bar.d.ts +19 -0
  148. package/dist/types/vue-ui-waffle.d.ts +18 -0
  149. package/dist/types/vue-ui-wheel.d.ts +15 -0
  150. package/dist/types/vue-ui-word-cloud.d.ts +17 -0
  151. package/dist/types/vue-ui-world.d.ts +17 -0
  152. package/dist/types/vue-ui-xy-canvas.d.ts +15 -0
  153. package/dist/types/vue-ui-xy.d.ts +24 -0
  154. package/dist/universal-registry-CL8g2COA.js +70 -0
  155. package/dist/universal.js +5 -0
  156. package/dist/{useAutoSizeLabelsInsideViewbox-BxqMb3sU.js → useAutoSizeLabelsInsideViewbox-VqESrzQg.js} +7 -7
  157. package/dist/useNestedProp-DF7e2h1z.js +6645 -0
  158. package/dist/{usePrinter-DGI4Mlad.js → usePrinter-Yeu5jOfm.js} +2 -2
  159. package/dist/vue-data-ui-h5C8hpE8.js +317 -0
  160. package/dist/vue-data-ui.js +243 -85
  161. package/dist/{vue-ui-3d-bar-8b3VZcUI.js → vue-ui-3d-bar-BZDLbeym.js} +103 -102
  162. package/dist/{vue-ui-accordion-BJG-ogQj.js → vue-ui-accordion-D-L73-T2.js} +4 -4
  163. package/dist/{vue-ui-age-pyramid-Cr_dhyTO.js → vue-ui-age-pyramid-C1NMeWTB.js} +28 -27
  164. package/dist/{vue-ui-annotator-ttaqcMTz.js → vue-ui-annotator-SoAGIAm-.js} +7 -6
  165. package/dist/{vue-ui-bullet-DXvTj07g.js → vue-ui-bullet-G_Y2Ryof.js} +28 -27
  166. package/dist/{vue-ui-candlestick-B5NqFTXr.js → vue-ui-candlestick-9sHzdqr3.js} +32 -31
  167. package/dist/{vue-ui-carousel-table-B0bpCRFh.js → vue-ui-carousel-table-CnGSgjPK.js} +25 -25
  168. package/dist/{vue-ui-chestnut-Cby7Wcbu.js → vue-ui-chestnut-C_0Y77a9.js} +41 -40
  169. package/dist/{vue-ui-chord-Cxg8nwzZ.js → vue-ui-chord-DqGoensA.js} +61 -60
  170. package/dist/{vue-ui-circle-pack-Cc5e6dE3.js → vue-ui-circle-pack-5L50If0h.js} +75 -74
  171. package/dist/{vue-ui-cursor-D6MvR7jD.js → vue-ui-cursor-0muOlHSh.js} +3 -3
  172. package/dist/{vue-ui-dashboard-CaUM9n5b.js → vue-ui-dashboard-2FyL5ac1.js} +68 -68
  173. package/dist/{vue-ui-digits-DsoHRv9p.js → vue-ui-digits-DOUNtmB0.js} +3 -3
  174. package/dist/{vue-ui-donut-Dxsq1gpz.js → vue-ui-donut-CWgiy7rq.js} +39 -38
  175. package/dist/{vue-ui-donut-evolution-CFu9WNVV.js → vue-ui-donut-evolution-DxH6i5aO.js} +81 -80
  176. package/dist/{vue-ui-dumbbell-Cgb7ijQS.js → vue-ui-dumbbell-D7nhPGxL.js} +97 -96
  177. package/dist/{vue-ui-flow-Ucb9PdWP.js → vue-ui-flow-C8iSww9L.js} +127 -126
  178. package/dist/{vue-ui-funnel-CV29tksj.js → vue-ui-funnel-D3GZcM5e.js} +39 -38
  179. package/dist/{vue-ui-galaxy-CVJb9_hA.js → vue-ui-galaxy-CUHEJHiw.js} +53 -52
  180. package/dist/{vue-ui-gauge-ofpIH29X.js → vue-ui-gauge-MM8rPNWR.js} +149 -148
  181. package/dist/{vue-ui-gizmo-Ci9kN9VQ.js → vue-ui-gizmo-CQ7XyocO.js} +6 -6
  182. package/dist/{vue-ui-heatmap-BK_jorrw.js → vue-ui-heatmap-BT5orcuT.js} +98 -97
  183. package/dist/{vue-ui-history-plot-Ce8BB4Tn.js → vue-ui-history-plot-BCfEt867.js} +105 -104
  184. package/dist/{vue-ui-kpi-DAHT9q6j.js → vue-ui-kpi-D7zdt7-g.js} +15 -15
  185. package/dist/{vue-ui-mini-loader-CuilTrcI.js → vue-ui-mini-loader-CteWqKM_.js} +3 -3
  186. package/dist/{vue-ui-molecule-C6suewK-.js → vue-ui-molecule-DekqFbQ4.js} +54 -53
  187. package/dist/{vue-ui-mood-radar-DPvGhgPI.js → vue-ui-mood-radar-CAC70QPW.js} +30 -29
  188. package/dist/{vue-ui-nested-donuts-BvPWp9Du.js → vue-ui-nested-donuts-BWj33o71.js} +69 -68
  189. package/dist/{vue-ui-onion-BZ0tfRV_.js → vue-ui-onion-Dq_XSxqp.js} +33 -32
  190. package/dist/{vue-ui-parallel-coordinate-plot-DqFj8hbo.js → vue-ui-parallel-coordinate-plot-V6jytnl0.js} +61 -60
  191. package/dist/{vue-ui-pattern-DsYgSZWn.js → vue-ui-pattern-D5pNvoQp.js} +1 -1
  192. package/dist/{vue-ui-quadrant-Cg5e73ny.js → vue-ui-quadrant-CmXgMy7I.js} +35 -34
  193. package/dist/{vue-ui-quick-chart-sABlk5nb.js → vue-ui-quick-chart-D2JQNfWU.js} +30 -29
  194. package/dist/{vue-ui-radar-DYcoGzSu.js → vue-ui-radar-BmmwGJaI.js} +90 -89
  195. package/dist/{vue-ui-rating-1eguB-TH.js → vue-ui-rating-CjoKP6-5.js} +9 -9
  196. package/dist/{vue-ui-relation-circle-BeWuQDkk.js → vue-ui-relation-circle-CcGD2bEJ.js} +44 -43
  197. package/dist/{vue-ui-ridgeline-CG7FefqU.js → vue-ui-ridgeline-DIOGXJ9v.js} +82 -81
  198. package/dist/{vue-ui-rings-2eedFGuC.js → vue-ui-rings-DS-YbQVr.js} +74 -73
  199. package/dist/{vue-ui-scatter-CNtgNP5j.js → vue-ui-scatter-D8kUADP7.js} +121 -120
  200. package/dist/{vue-ui-skeleton-fqG3bKSz.js → vue-ui-skeleton-FtA6-6zz.js} +5 -5
  201. package/dist/{vue-ui-smiley-D4bvSF9S.js → vue-ui-smiley-YRRY-yQp.js} +28 -28
  202. package/dist/vue-ui-spark-trend-qt8UvEPc.js +337 -0
  203. package/dist/{vue-ui-sparkbar-D1FXZyQE.js → vue-ui-sparkbar-DgHvA8ra.js} +86 -85
  204. package/dist/{vue-ui-sparkgauge-CHbbxg13.js → vue-ui-sparkgauge-BpMUqIL6.js} +32 -31
  205. package/dist/{vue-ui-sparkhistogram-BxYes64D.js → vue-ui-sparkhistogram-IhGjmoUF.js} +22 -21
  206. package/dist/{vue-ui-sparkline-CS3F5TFN.js → vue-ui-sparkline-BSGiRpQ9.js} +105 -104
  207. package/dist/{vue-ui-sparkstackbar-CUSBwkUS.js → vue-ui-sparkstackbar-ZkUUbYr5.js} +28 -27
  208. package/dist/{vue-ui-stackbar-CDihyp-i.js → vue-ui-stackbar-DRKIeZ1O.js} +77 -76
  209. package/dist/{vue-ui-strip-plot-D6MFuKnN.js → vue-ui-strip-plot-dMjWaIcs.js} +52 -51
  210. package/dist/{vue-ui-table-COT59wVb.js → vue-ui-table-DKHtmqLd.js} +9 -8
  211. package/dist/{vue-ui-table-heatmap--e8yw5yS.js → vue-ui-table-heatmap-iu6l-6rW.js} +30 -29
  212. package/dist/{vue-ui-table-sparkline-DnSLwUNN.js → vue-ui-table-sparkline-mMpPAUon.js} +20 -19
  213. package/dist/{vue-ui-thermometer-ByiRARW0.js → vue-ui-thermometer-xpHH3FWG.js} +66 -65
  214. package/dist/{vue-ui-timer-DOQVdVN2.js → vue-ui-timer-C4LZMTeg.js} +31 -31
  215. package/dist/{vue-ui-tiremarks-BFXeJQNZ.js → vue-ui-tiremarks-KQmIXYf2.js} +30 -29
  216. package/dist/{vue-ui-treemap-s_O9rQUT.js → vue-ui-treemap-a_Ub2bgB.js} +32 -31
  217. package/dist/{vue-ui-vertical-bar-Bn-m5GKU.js → vue-ui-vertical-bar-MWKYuUMN.js} +54 -53
  218. package/dist/{vue-ui-waffle-DmxaWHSw.js → vue-ui-waffle-CP6jUrto.js} +76 -75
  219. package/dist/{vue-ui-wheel-zJ5U-h_D.js → vue-ui-wheel-B59kWUZd.js} +85 -84
  220. package/dist/{vue-ui-word-cloud-BEnkOZdv.js → vue-ui-word-cloud-DZnuhGEw.js} +49 -48
  221. package/dist/{vue-ui-world-CkqoTL4V.js → vue-ui-world-B6S7X6sr.js} +19 -19
  222. package/dist/{vue-ui-xy-Uqdl2nk-.js → vue-ui-xy-BjzutuG2.js} +496 -505
  223. package/dist/{vue-ui-xy-canvas-cIU8Y1sD.js → vue-ui-xy-canvas-CSSVKhex.js} +166 -165
  224. package/package.json +19 -11
  225. package/dist/index-Lg17rmB1.js +0 -8729
  226. package/dist/types/vue-data-ui.d.cts +0 -9435
  227. package/dist/useNestedProp-DpwLJMsW.js +0 -13
  228. package/dist/vue-data-ui-lki09wwK.js +0 -325
  229. package/dist/vue-ui-spark-trend-GML5JJxY.js +0 -315
@@ -1,17 +1,18 @@
1
- import { defineAsyncComponent as ee, ref as c, computed as L, useSlots as ea, onMounted as dl, watch as D, nextTick as hl, shallowRef as Me, onBeforeUnmount as la, createElementBlock as de, openBlock as S, unref as p, normalizeClass as aa, normalizeStyle as le, createCommentVNode as H, createElementVNode as Y, createBlock as F, createSlots as yl, withCtx as m, renderSlot as k, normalizeProps as V, guardReactiveProps as G, createVNode as fl, Teleport as ta, toDisplayString as Oe, resolveDynamicComponent as oa, mergeProps as ua, createTextVNode as gl } from "vue";
2
- import { u as sa, c as ra, a as na, p as Z, b as ia, C as xe, d as va, D as Re, k as ae, i as te, e as pl, a7 as ca, G as da, ah as ha, o as ya, f as fa, y as ml, v as ga, w as pa, z as ma, s as he, l as ba } from "./index-Lg17rmB1.js";
3
- import { d as xa, t as La, u as ka, c as Ca, a as bl, l as C, r as De, b as P, p as xl } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ll } from "./useNestedProp-DpwLJMsW.js";
5
- import { u as wa } from "./usePrinter-DGI4Mlad.js";
6
- import { u as Sa } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as za } from "./useChartAccessibility-9icAAmYg.js";
8
- import $a from "./Legend-CjdnJGHq.js";
9
- import Ta from "./Title-BVMfF0uu.js";
10
- import { S as Ia } from "./Slicer-BJkhMBk4.js";
11
- import Ma from "./vue-ui-accordion-BJG-ogQj.js";
1
+ import { defineAsyncComponent as ee, ref as c, computed as L, useSlots as ea, onMounted as dl, watch as D, nextTick as hl, shallowRef as Me, onBeforeUnmount as la, createElementBlock as de, openBlock as S, unref as p, normalizeClass as aa, normalizeStyle as le, createCommentVNode as H, createElementVNode as Y, createBlock as F, createSlots as fl, withCtx as m, renderSlot as k, normalizeProps as V, guardReactiveProps as Z, createVNode as yl, Teleport as ta, toDisplayString as Oe, resolveDynamicComponent as oa, mergeProps as ua, createTextVNode as gl } from "vue";
2
+ import { c as ra, b as sa, p as G, D as xe, e as na, E as Re, a as ae, d as te, h as pl, a0 as ia, L as va, a8 as ca, o as da, f as ha, z as ml, x as fa, y as ya, A as ga, s as he, m as pa } from "./lib-p5pfHmOX.js";
3
+ import { d as ma, t as ba, u as xa, c as La, a as bl, l as C, r as De, b as P, p as xl } from "./useResponsive-DfdjqQps.js";
4
+ import { u as ka, a as Ll } from "./useNestedProp-DF7e2h1z.js";
5
+ import { u as Ca } from "./usePrinter-Yeu5jOfm.js";
6
+ import { u as wa } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as Sa } from "./useChartAccessibility-9icAAmYg.js";
8
+ import { t as za } from "./themes-D3cUNuKw.js";
9
+ import $a from "./Legend-_Rv594VS.js";
10
+ import Ta from "./Title-pI68ZJsq.js";
11
+ import { S as Ia } from "./Slicer-BgpOhmb6.js";
12
+ import Ma from "./vue-ui-accordion-D-L73-T2.js";
12
13
  import { u as Oa } from "./useTimeLabels-BGFjWgrv.js";
13
- import Ra from "./img-CeCjiMpr.js";
14
- import Da from "./BaseIcon-7s-tCFcQ.js";
14
+ import Ra from "./img-CH7J0fYg.js";
15
+ import Da from "./BaseIcon-D2f9w5Z5.js";
15
16
  import { _ as Fa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
17
  const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
17
18
  key: 3,
@@ -34,14 +35,14 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
34
35
  },
35
36
  emits: ["selectLegend"],
36
37
  setup(Fe, { expose: kl, emit: Cl }) {
37
- const wl = ee(() => import("./DataTable-Dw6dxJk3.js")), Sl = ee(() => import("./NonSvgPenAndPaper-tX2IXHuz.js")), zl = ee(() => import("./vue-ui-skeleton-fqG3bKSz.js")), $l = ee(() => import("./Tooltip-DBvmoYXU.js")), Tl = ee(() => import("./UserOptions-CKzW9w0Q.js")), Il = ee(() => import("./BaseDraggableDialog-CrCjMg89.js")), { vue_ui_xy_canvas: Ml } = sa(), g = Fe, _ = c(ra()), I = c(null), oe = c(null), n = c(null), y = c(1), E = c(1), ye = c(!1), d = c(null), fe = c(""), Pe = c(null), $ = c([]), j = c(1), B = c(!0), q = c(!0), Le = c(null), Ee = c(0), Ae = c(0), ue = c(!1), Ne = c(null), He = c(null), Ye = c(null), _e = c(null), ke = c(0), Ce = c(0), we = c(0), M = c(null), Be = c(!1), se = c(null), Se = c(null), ge = L(() => !!g.dataset && g.dataset.length), Ol = Cl, Rl = ea();
38
+ const wl = ee(() => import("./DataTable-xISHA7Pu.js")), Sl = ee(() => import("./NonSvgPenAndPaper-DiM4-9ju.js")), zl = ee(() => import("./vue-ui-skeleton-FtA6-6zz.js")), $l = ee(() => import("./Tooltip-Clf2K3CF.js")), Tl = ee(() => import("./UserOptions-Bn3u4JQu.js")), Il = ee(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_xy_canvas: Ml } = ka(), g = Fe, _ = c(ra()), I = c(null), oe = c(null), n = c(null), f = c(1), E = c(1), fe = c(!1), d = c(null), ye = c(""), Pe = c(null), $ = c([]), j = c(1), B = c(!0), q = c(!0), Le = c(null), Ee = c(0), Ae = c(0), ue = c(!1), Ne = c(null), He = c(null), Ye = c(null), _e = c(null), ke = c(0), Ce = c(0), we = c(0), M = c(null), Be = c(!1), re = c(null), Se = c(null), ge = L(() => !!g.dataset && g.dataset.length), Ol = Cl, Rl = ea();
38
39
  dl(() => {
39
40
  Rl["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
40
41
  });
41
42
  const l = L({
42
43
  get: () => Xe(),
43
44
  set: (e) => e
44
- }), { userOptionsVisible: ze, setUserOptionsVisibility: Ue, keepUserOptionState: We } = Sa({ config: l.value }), { svgRef: O } = za({ config: l.value.style.chart.title });
45
+ }), { userOptionsVisible: ze, setUserOptionsVisibility: Ue, keepUserOptionState: We } = wa({ config: l.value }), { svgRef: O } = Sa({ config: l.value.style.chart.title });
45
46
  function Xe() {
46
47
  const e = Ll({
47
48
  userConfig: g.config,
@@ -50,22 +51,22 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
50
51
  let a = {};
51
52
  return e.theme ? a = {
52
53
  ...Ll({
53
- userConfig: ia.vue_ui_xy_canvas[e.theme] || g.config,
54
+ userConfig: za.vue_ui_xy_canvas[e.theme] || g.config,
54
55
  defaultConfig: e
55
56
  }),
56
- customPalette: na[e.theme] || Z
57
+ customPalette: sa[e.theme] || G
57
58
  } : a = e, g.config && xe(g.config, "style.chart.scale.min") ? a.style.chart.scale.min = g.config.style.chart.scale.min : a.style.chart.scale.min = null, g.config && xe(g.config, "style.chart.scale.max") ? a.style.chart.scale.max = g.config.style.chart.scale.max : a.style.chart.scale.max = null, g.config && xe(g.config, "style.chart.zoom.startIndex") ? a.style.chart.zoom.startIndex = g.config.style.chart.zoom.startIndex : a.style.chart.zoom.startIndex = null, g.config && xe(g.config, "style.chart.zoom.endIndex") ? a.style.chart.zoom.endIndex = g.config.style.chart.zoom.endIndex : a.style.chart.zoom.endIndex = null, a;
58
59
  }
59
60
  D(() => g.config, (e) => {
60
- l.value = Xe(), ze.value = !l.value.userOptions.showOnChartHover, $e(), ke.value += 1, Ce.value += 1, we.value += 1, s.value.showTable = l.value.table.show, s.value.showDataLabels = l.value.style.chart.dataLabels.show, s.value.stacked = l.value.style.chart.stacked, s.value.showTooltip = l.value.style.chart.tooltip.show;
61
+ l.value = Xe(), ze.value = !l.value.userOptions.showOnChartHover, $e(), ke.value += 1, Ce.value += 1, we.value += 1, r.value.showTable = l.value.table.show, r.value.showDataLabels = l.value.style.chart.dataLabels.show, r.value.stacked = l.value.style.chart.stacked, r.value.showTooltip = l.value.style.chart.tooltip.show;
61
62
  }, { deep: !0 }), D(() => g.dataset, () => {
62
63
  $e(), ke.value += 1, Ce.value += 1, we.value += 1;
63
64
  }, { deep: !0 });
64
- const Ve = c(l.value.style.chart.aspectRatio), { isPrinting: Ge, isImaging: Ze, generatePdf: je, generateImage: qe } = wa({
65
+ const Ve = c(l.value.style.chart.aspectRatio), { isPrinting: Ze, isImaging: Ge, generatePdf: je, generateImage: qe } = Ca({
65
66
  elementId: `xy_canvas_${_.value}`,
66
67
  fileName: l.value.style.chart.title.text || "vue-ui-xy-canvas",
67
68
  options: l.value.userOptions.print
68
- }), s = c({
69
+ }), r = c({
69
70
  showTable: l.value.table.show,
70
71
  showDataLabels: l.value.style.chart.dataLabels.show,
71
72
  stacked: l.value.style.chart.stacked,
@@ -74,14 +75,14 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
74
75
  function Je(e) {
75
76
  ue.value = e, Ae.value += 1;
76
77
  }
77
- const Ke = L(() => va(l.value.customPalette)), T = L(() => J.value ? Math.max(...J.value.filter((e, a) => !$.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0), t = L(() => {
78
- const e = y.value - y.value * (l.value.style.chart.paddingProportions.left + l.value.style.chart.paddingProportions.right);
78
+ const Ke = L(() => na(l.value.customPalette)), T = L(() => J.value ? Math.max(...J.value.filter((e, a) => !$.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0), t = L(() => {
79
+ const e = f.value - f.value * (l.value.style.chart.paddingProportions.left + l.value.style.chart.paddingProportions.right);
79
80
  return {
80
- canvasWidth: y.value,
81
+ canvasWidth: f.value,
81
82
  canvasHeight: E.value,
82
- left: y.value * l.value.style.chart.paddingProportions.left,
83
+ left: f.value * l.value.style.chart.paddingProportions.left,
83
84
  top: E.value * l.value.style.chart.paddingProportions.top,
84
- right: y.value - y.value * l.value.style.chart.paddingProportions.right,
85
+ right: f.value - f.value * l.value.style.chart.paddingProportions.right,
85
86
  bottom: E.value - E.value * l.value.style.chart.paddingProportions.bottom,
86
87
  width: e,
87
88
  height: E.value - E.value * (l.value.style.chart.paddingProportions.top + l.value.style.chart.paddingProportions.bottom),
@@ -91,13 +92,13 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
91
92
  function Qe(e, a) {
92
93
  return e / a;
93
94
  }
94
- function Dl({ hasAutoScale: e, series: a, min: o, max: r, scale: i, yOffset: x, individualHeight: v, stackIndex: f = null }) {
95
+ function Dl({ hasAutoScale: e, series: a, min: o, max: s, scale: i, yOffset: x, individualHeight: v, stackIndex: y = null }) {
95
96
  return a.map((W, z) => {
96
97
  const N = i.min < 0 ? Math.abs(i.min) : 0, X = Qe(W + N, N + i.max);
97
98
  let ve, ce;
98
99
  e && (ve = i.min, ce = Qe(W - ve, i.max - ve));
99
100
  let R = 0;
100
- return f === null ? R = t.value.bottom - t.value.height * (e ? ce : X) : R = t.value.bottom - x - v * (e ? ce : X), {
101
+ return y === null ? R = t.value.bottom - t.value.height * (e ? ce : X) : R = t.value.bottom - x - v * (e ? ce : X), {
101
102
  x: t.value.left + t.value.slot * z + t.value.slot / 2,
102
103
  y: R,
103
104
  value: W
@@ -105,13 +106,13 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
105
106
  });
106
107
  }
107
108
  const b = L(() => {
108
- const e = l.value.style.chart.scale.min !== null ? l.value.style.chart.scale.min : Math.min(...J.value.filter((v, f) => !$.value.includes(v.absoluteIndex)).flatMap((v) => v.series.slice(u.value.start, u.value.end))), a = l.value.style.chart.scale.max !== null ? l.value.style.chart.scale.max : Math.max(...J.value.filter((v, f) => !$.value.includes(v.absoluteIndex)).flatMap((v) => v.series.slice(u.value.start, u.value.end))), o = Re(e < 0 ? e : 0, a === e ? e + 1 < 0 ? 0 : e + 1 : a < 0 ? 0 : a, l.value.style.chart.scale.ticks), r = o.min < 0 ? Math.abs(o.min) : 0, i = t.value.bottom - t.value.height * (r / (o.max + r)), x = o.ticks.map((v) => ({
109
- y: t.value.bottom - t.value.height * ((v + r) / (o.max + r)),
109
+ const e = l.value.style.chart.scale.min !== null ? l.value.style.chart.scale.min : Math.min(...J.value.filter((v, y) => !$.value.includes(v.absoluteIndex)).flatMap((v) => v.series.slice(u.value.start, u.value.end))), a = l.value.style.chart.scale.max !== null ? l.value.style.chart.scale.max : Math.max(...J.value.filter((v, y) => !$.value.includes(v.absoluteIndex)).flatMap((v) => v.series.slice(u.value.start, u.value.end))), o = Re(e < 0 ? e : 0, a === e ? e + 1 < 0 ? 0 : e + 1 : a < 0 ? 0 : a, l.value.style.chart.scale.ticks), s = o.min < 0 ? Math.abs(o.min) : 0, i = t.value.bottom - t.value.height * (s / (o.max + s)), x = o.ticks.map((v) => ({
110
+ y: t.value.bottom - t.value.height * ((v + s) / (o.max + s)),
110
111
  x: t.value.left - 8,
111
112
  value: v
112
113
  }));
113
114
  return {
114
- absoluteMin: r,
115
+ absoluteMin: s,
115
116
  max: a,
116
117
  min: e,
117
118
  scale: o,
@@ -138,55 +139,55 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
138
139
  </div>
139
140
  `)), J = L(() => g.dataset.map((e, a) => ({
140
141
  ...e,
141
- series: ca({
142
- data: da(e.series),
142
+ series: ia({
143
+ data: va(e.series),
143
144
  threshold: l.value.downsample.threshold
144
145
  }),
145
146
  absoluteIndex: a,
146
- color: pl(e.color || Ke.value[a] || Z[a] || Z[a % Z.length])
147
+ color: pl(e.color || Ke.value[a] || G[a] || G[a % G.length])
147
148
  })));
148
149
  D(T, (e) => {
149
150
  e && el();
150
151
  });
151
- const h = L(() => ha(J.value.filter((e, a) => !$.value.includes(e.absoluteIndex))).map((e, a) => ({
152
+ const h = L(() => ca(J.value.filter((e, a) => !$.value.includes(e.absoluteIndex))).map((e, a) => ({
152
153
  ...e,
153
154
  series: e.series.slice(u.value.start, u.value.end)
154
155
  })).map((e, a) => {
155
- let o = [null, void 0].includes(e.scaleMin) ? Math.min(...e.series) || 0 : e.scaleMin, r = [null, void 0].includes(e.scaleMax) ? Math.max(...e.series) || 1 : e.scaleMax;
156
- o === r && (o = o >= 0 ? r - 1 : o, r = r >= 0 ? r : o + 1), e.series.filter((R) => ![null, void 0].includes(R)).map((R) => (R - o) / (r - o));
156
+ let o = [null, void 0].includes(e.scaleMin) ? Math.min(...e.series) || 0 : e.scaleMin, s = [null, void 0].includes(e.scaleMax) ? Math.max(...e.series) || 1 : e.scaleMax;
157
+ o === s && (o = o >= 0 ? s - 1 : o, s = s >= 0 ? s : o + 1), e.series.filter((R) => ![null, void 0].includes(R)).map((R) => (R - o) / (s - o));
157
158
  const i = {
158
159
  valueMin: o,
159
- valueMax: r
160
+ valueMax: s
160
161
  }, x = e.scaleSteps || l.value.style.chart.scale.ticks;
161
162
  let v;
162
163
  e.autoScaling ? v = Re(i.valueMin, i.valueMax, x) : v = Re(i.valueMin < 0 ? i.valueMin : 0, i.valueMax <= 0 ? 0 : i.valueMax, x);
163
- const f = s.value.stacked ? t.value.height * (1 - e.cumulatedStackRatio) : 0, W = s.value.stacked ? t.value.height / l.value.style.chart.stackGap : 0, z = s.value.stacked ? t.value.height * e.stackRatio - W : t.value.height, N = v.min < 0 ? Math.abs(v.min) : 0;
164
+ const y = r.value.stacked ? t.value.height * (1 - e.cumulatedStackRatio) : 0, W = r.value.stacked ? t.value.height / l.value.style.chart.stackGap : 0, z = r.value.stacked ? t.value.height * e.stackRatio - W : t.value.height, N = v.min < 0 ? Math.abs(v.min) : 0;
164
165
  let X;
165
- e.autoScaling && s.value.stacked && r <= 0 ? X = t.value.bottom - f - z : X = t.value.bottom - f - z * (N / (v.max + N));
166
+ e.autoScaling && r.value.stacked && s <= 0 ? X = t.value.bottom - y - z : X = t.value.bottom - y - z * (N / (v.max + N));
166
167
  const ve = v.ticks.map((R, Ql) => ({
167
- y: t.value.bottom - f - z * (Ql / (v.ticks.length - 1)),
168
+ y: t.value.bottom - y - z * (Ql / (v.ticks.length - 1)),
168
169
  x: t.value.left - 8,
169
170
  value: R
170
171
  })), ce = Dl({
171
- hasAutoScale: s.value.stacked && e.autoScaling,
172
+ hasAutoScale: r.value.stacked && e.autoScaling,
172
173
  series: e.series,
173
- min: s.value.stacked ? o : b.value.min,
174
- max: s.value.stacked ? r : b.value.max,
175
- scale: s.value.stacked ? v : b.value.scale,
176
- yOffset: f,
174
+ min: r.value.stacked ? o : b.value.min,
175
+ max: r.value.stacked ? s : b.value.max,
176
+ scale: r.value.stacked ? v : b.value.scale,
177
+ yOffset: y,
177
178
  individualHeight: z,
178
- stackIndex: s.value.stacked ? a : null
179
+ stackIndex: r.value.stacked ? a : null
179
180
  });
180
181
  return {
181
182
  ...e,
182
183
  coordinatesLine: ce,
183
184
  min: o,
184
- max: r,
185
+ max: s,
185
186
  localScale: v,
186
187
  localZero: X,
187
188
  localMin: N,
188
189
  localYLabels: ve,
189
- yOffset: f,
190
+ yOffset: y,
190
191
  individualHeight: z
191
192
  };
192
193
  })), u = c({
@@ -199,8 +200,8 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
199
200
  const ll = c(null);
200
201
  async function al() {
201
202
  await hl(), await hl();
202
- const { startIndex: e, endIndex: a } = l.value.style.chart.zoom, o = ll.value, r = T.value;
203
- u.value = { start: 0, end: r }, (e != null || a != null) && o ? (e != null ? o.setStartValue(e) : (u.value.start = 0, o.setStartValue(0)), a != null ? o.setEndValue(Pl(a + 1)) : (u.value.end = r, o.setEndValue(r))) : (u.value = { start: 0, end: r }, Ee.value += 1);
203
+ const { startIndex: e, endIndex: a } = l.value.style.chart.zoom, o = ll.value, s = T.value;
204
+ u.value = { start: 0, end: s }, (e != null || a != null) && o ? (e != null ? o.setStartValue(e) : (u.value.start = 0, o.setStartValue(0)), a != null ? o.setEndValue(Pl(a + 1)) : (u.value.end = s, o.setEndValue(s))) : (u.value = { start: 0, end: s }, Ee.value += 1);
204
205
  }
205
206
  function Pl(e) {
206
207
  const a = T.value;
@@ -211,10 +212,10 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
211
212
  if (!O.value)
212
213
  return;
213
214
  const e = oe.value.offsetWidth, a = oe.value.offsetHeight;
214
- O.value.width = e * j.value * 2, O.value.height = a * j.value * 2, y.value = e * j.value * 2, E.value = a * j.value * 2, n.value.scale(j.value, j.value), re();
215
+ O.value.width = e * j.value * 2, O.value.height = a * j.value * 2, f.value = e * j.value * 2, E.value = a * j.value * 2, n.value.scale(j.value, j.value), se();
215
216
  }
216
217
  function Nl() {
217
- if (n.value.clearRect(0, 0, 1e4, 1e4), n.value.fillStyle = l.value.style.chart.backgroundColor, n.value.fillRect(0, 0, t.value.canvasWidth, t.value.canvasHeight), s.value.stacked)
218
+ if (n.value.clearRect(0, 0, 1e4, 1e4), n.value.fillStyle = l.value.style.chart.backgroundColor, n.value.fillRect(0, 0, t.value.canvasWidth, t.value.canvasHeight), r.value.stacked)
218
219
  l.value.style.chart.grid.y.verticalLines.show && u.value.end - u.value.start < l.value.style.chart.grid.y.verticalLines.hideUnderXLength ? h.value.forEach((e) => {
219
220
  for (let a = 0; a < u.value.end - u.value.start + 1; a += 1)
220
221
  C(
@@ -316,13 +317,13 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
316
317
  P(
317
318
  n.value,
318
319
  e.name,
319
- y.value / 35,
320
+ f.value / 35,
320
321
  t.value.bottom - e.yOffset - e.individualHeight / 2,
321
322
  {
322
323
  align: "center",
323
324
  rotation: -90,
324
325
  color: e.color,
325
- font: `${Math.round(y.value / 40 * l.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${l.value.style.fontFamily}`
326
+ font: `${Math.round(f.value / 40 * l.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${l.value.style.fontFamily}`
326
327
  }
327
328
  );
328
329
  });
@@ -411,10 +412,10 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
411
412
  l.value.style.chart.grid.y.axisName && P(
412
413
  n.value,
413
414
  l.value.style.chart.grid.y.axisName,
414
- y.value - y.value / 40 * l.value.style.chart.grid.y.axisLabels.fontSizeRatio * 1.2,
415
+ f.value - f.value / 40 * l.value.style.chart.grid.y.axisLabels.fontSizeRatio * 1.2,
415
416
  t.value.bottom - t.value.height / 2,
416
417
  {
417
- font: `${l.value.style.chart.grid.y.axisLabels.bold ? "bold " : ""}${Math.round(y.value / 40 * l.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${l.value.style.fontFamily}`,
418
+ font: `${l.value.style.chart.grid.y.axisLabels.bold ? "bold " : ""}${Math.round(f.value / 40 * l.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${l.value.style.fontFamily}`,
418
419
  color: l.value.style.chart.color,
419
420
  align: "center",
420
421
  rotation: 90
@@ -422,10 +423,10 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
422
423
  ), l.value.style.chart.grid.x.axisName && P(
423
424
  n.value,
424
425
  l.value.style.chart.grid.x.axisName,
425
- y.value / 2,
426
+ f.value / 2,
426
427
  E.value,
427
428
  {
428
- font: `${l.value.style.chart.grid.y.axisLabels.bold ? "bold " : ""}${Math.round(y.value / 40 * l.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${l.value.style.fontFamily}`,
429
+ font: `${l.value.style.chart.grid.y.axisLabels.bold ? "bold " : ""}${Math.round(f.value / 40 * l.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${l.value.style.fontFamily}`,
429
430
  color: l.value.style.chart.color,
430
431
  align: "center"
431
432
  }
@@ -433,7 +434,7 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
433
434
  }
434
435
  function Hl(e) {
435
436
  for (let a = 0; a < e.coordinatesLine.length; a += 1) {
436
- const o = (d.value === a ? y.value / 150 : l.value.style.chart.line.plots.show ? y.value / 200 : 0) * l.value.style.chart.line.plots.radiusRatio;
437
+ const o = (d.value === a ? f.value / 150 : l.value.style.chart.line.plots.show ? f.value / 200 : 0) * l.value.style.chart.line.plots.radiusRatio;
437
438
  bl(
438
439
  n.value,
439
440
  { x: e.coordinatesLine[a].x, y: e.coordinatesLine[a].y },
@@ -464,14 +465,14 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
464
465
  ne(e).y,
465
466
  {
466
467
  align: "right",
467
- font: `${l.value.style.chart.grid.y.axisLabels.bold ? "bold " : ""}${Math.round(y.value / 40 * l.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${l.value.style.fontFamily}`,
468
+ font: `${l.value.style.chart.grid.y.axisLabels.bold ? "bold " : ""}${Math.round(f.value / 40 * l.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${l.value.style.fontFamily}`,
468
469
  color: e.color
469
470
  }
470
471
  );
471
472
  });
472
473
  }
473
474
  function _l() {
474
- l.value.style.chart.grid.y.axisLabels.show && (s.value.stacked ? h.value.forEach((e) => {
475
+ l.value.style.chart.grid.y.axisLabels.show && (r.value.stacked ? h.value.forEach((e) => {
475
476
  e.localYLabels.forEach((a, o) => {
476
477
  P(
477
478
  n.value,
@@ -490,7 +491,7 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
490
491
  a.y,
491
492
  {
492
493
  align: "right",
493
- font: `${l.value.style.chart.grid.y.axisLabels.bold ? "bold " : ""}${Math.round(y.value / 40 * l.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${l.value.style.fontFamily}`,
494
+ font: `${l.value.style.chart.grid.y.axisLabels.bold ? "bold " : ""}${Math.round(f.value / 40 * l.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${l.value.style.fontFamily}`,
494
495
  color: e.color,
495
496
  globalAlpha: e.showYMarker && ![null, void 0].includes(d.value) ? 0.2 : 1
496
497
  }
@@ -514,7 +515,7 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
514
515
  e.y,
515
516
  {
516
517
  align: "right",
517
- font: `${l.value.style.chart.grid.y.axisLabels.bold ? "bold " : ""}${Math.round(y.value / 40 * l.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${l.value.style.fontFamily}`,
518
+ font: `${l.value.style.chart.grid.y.axisLabels.bold ? "bold " : ""}${Math.round(f.value / 40 * l.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${l.value.style.fontFamily}`,
518
519
  color: l.value.style.chart.grid.y.axisLabels.color,
519
520
  globalAlpha: h.value.some((o) => o.showYMarker) && ![null, void 0].includes(d.value) ? 0.2 : 1
520
521
  }
@@ -540,7 +541,7 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
540
541
  e.coordinatesLine[a].y + l.value.style.chart.dataLabels.offsetY,
541
542
  {
542
543
  align: "center",
543
- font: `${l.value.style.chart.dataLabels.bold ? "bold " : ""}${Math.round(y.value / 40 * l.value.style.chart.dataLabels.fontSizeRatio)}px ${l.value.style.fontFamily}`,
544
+ font: `${l.value.style.chart.dataLabels.bold ? "bold " : ""}${Math.round(f.value / 40 * l.value.style.chart.dataLabels.fontSizeRatio)}px ${l.value.style.fontFamily}`,
544
545
  color: l.value.style.chart.dataLabels.useSerieColor ? e.color : l.value.style.chart.dataLabels.color
545
546
  }
546
547
  );
@@ -558,10 +559,10 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
558
559
  n.value,
559
560
  U.value[e] ? U.value[e].text : e + 1,
560
561
  t.value.left + t.value.slot * (e - u.value.start) + t.value.slot / 2,
561
- t.value.bottom + y.value / l.value.style.chart.grid.y.timeLabels.offsetY,
562
+ t.value.bottom + f.value / l.value.style.chart.grid.y.timeLabels.offsetY,
562
563
  {
563
564
  align: l.value.style.chart.grid.y.timeLabels.rotation === 0 ? "center" : l.value.style.chart.grid.y.timeLabels.rotation > 0 ? "left" : "right",
564
- font: `${l.value.style.chart.grid.y.timeLabels.bold ? "bold " : ""}${Math.round(y.value / 40 * l.value.style.chart.grid.y.timeLabels.fontSizeRatio)}px ${l.value.style.fontFamily}`,
565
+ font: `${l.value.style.chart.grid.y.timeLabels.bold ? "bold " : ""}${Math.round(f.value / 40 * l.value.style.chart.grid.y.timeLabels.fontSizeRatio)}px ${l.value.style.fontFamily}`,
565
566
  color: l.value.style.chart.grid.y.timeLabels.showMarker ? he(l.value.style.chart.grid.y.timeLabels.color, d.value !== null ? d.value + u.value.start === e ? 100 : 20 : 100) : l.value.style.chart.grid.y.timeLabels.color,
566
567
  rotation: l.value.style.chart.grid.y.timeLabels.rotation
567
568
  }
@@ -602,19 +603,19 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
602
603
  n.value,
603
604
  [
604
605
  {
605
- x: t.value.left + t.value.slot * o + t.value.slot / 10 + (s.value.stacked ? 0 : t.value.slot / w.value.length * a - (a === 0 ? 0 : t.value.slot / (5 * w.value.length) * a)),
606
- y: s.value.stacked ? e.localZero : b.value.zero
606
+ x: t.value.left + t.value.slot * o + t.value.slot / 10 + (r.value.stacked ? 0 : t.value.slot / w.value.length * a - (a === 0 ? 0 : t.value.slot / (5 * w.value.length) * a)),
607
+ y: r.value.stacked ? e.localZero : b.value.zero
607
608
  },
608
609
  {
609
- x: t.value.left + t.value.slot * o + t.value.slot / 10 + (s.value.stacked ? 0 : t.value.slot / w.value.length * a - (a === 0 ? 0 : t.value.slot / (5 * w.value.length) * a)) + t.value.slot * 0.8 / (s.value.stacked ? 1 : w.value.length),
610
- y: s.value.stacked ? e.localZero : b.value.zero
610
+ x: t.value.left + t.value.slot * o + t.value.slot / 10 + (r.value.stacked ? 0 : t.value.slot / w.value.length * a - (a === 0 ? 0 : t.value.slot / (5 * w.value.length) * a)) + t.value.slot * 0.8 / (r.value.stacked ? 1 : w.value.length),
611
+ y: r.value.stacked ? e.localZero : b.value.zero
611
612
  },
612
613
  {
613
- x: t.value.left + t.value.slot * o + t.value.slot / 10 + (s.value.stacked ? 0 : t.value.slot / w.value.length * a - (a === 0 ? 0 : t.value.slot / (5 * w.value.length) * a)) + t.value.slot * 0.8 / (s.value.stacked ? 1 : w.value.length),
614
+ x: t.value.left + t.value.slot * o + t.value.slot / 10 + (r.value.stacked ? 0 : t.value.slot / w.value.length * a - (a === 0 ? 0 : t.value.slot / (5 * w.value.length) * a)) + t.value.slot * 0.8 / (r.value.stacked ? 1 : w.value.length),
614
615
  y: e.coordinatesLine[o].y
615
616
  },
616
617
  {
617
- x: t.value.left + t.value.slot * o + t.value.slot / 10 + (s.value.stacked ? 0 : t.value.slot / w.value.length * a - (a === 0 ? 0 : t.value.slot / (5 * w.value.length) * a)),
618
+ x: t.value.left + t.value.slot * o + t.value.slot / 10 + (r.value.stacked ? 0 : t.value.slot / w.value.length * a - (a === 0 ? 0 : t.value.slot / (5 * w.value.length) * a)),
618
619
  y: e.coordinatesLine[o].y
619
620
  }
620
621
  ],
@@ -628,15 +629,15 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
628
629
  },
629
630
  end: {
630
631
  x: e.coordinatesLine[o].x,
631
- y: s.value.stacked ? e.localZero : b.value.zero
632
+ y: r.value.stacked ? e.localZero : b.value.zero
632
633
  },
633
634
  stops: [
634
635
  { offset: 0, color: e.color },
635
- { offset: 1, color: l.value.style.chart.bar.gradient.show ? ba(e.color, 0.5) : e.color }
636
+ { offset: 1, color: l.value.style.chart.bar.gradient.show ? pa(e.color, 0.5) : e.color }
636
637
  ]
637
638
  }
638
639
  }
639
- ), s.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && P(
640
+ ), r.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && P(
640
641
  n.value,
641
642
  ae(
642
643
  l.value.style.chart.dataLabels.formatter,
@@ -649,11 +650,11 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
649
650
  }),
650
651
  { datapoint: e.coordinatesLine[o], seriesIndex: o }
651
652
  ),
652
- t.value.left + t.value.slot * o + t.value.slot / 10 + (s.value.stacked ? 0 : t.value.slot / w.value.length * a - (a === 0 ? 0 : t.value.slot / (5 * w.value.length) * a)) + t.value.slot * 0.4 / (s.value.stacked ? 1 : w.value.length),
653
- (e.coordinatesLine[o].value < 0 ? s.value.stacked ? e.localZero : b.value.zero : e.coordinatesLine[o].y) + l.value.style.chart.dataLabels.offsetY,
653
+ t.value.left + t.value.slot * o + t.value.slot / 10 + (r.value.stacked ? 0 : t.value.slot / w.value.length * a - (a === 0 ? 0 : t.value.slot / (5 * w.value.length) * a)) + t.value.slot * 0.4 / (r.value.stacked ? 1 : w.value.length),
654
+ (e.coordinatesLine[o].value < 0 ? r.value.stacked ? e.localZero : b.value.zero : e.coordinatesLine[o].y) + l.value.style.chart.dataLabels.offsetY,
654
655
  {
655
656
  align: "center",
656
- font: `${Math.round(y.value / 40 * l.value.style.chart.dataLabels.fontSizeRatio)}px ${l.value.style.fontFamily}`,
657
+ font: `${Math.round(f.value / 40 * l.value.style.chart.dataLabels.fontSizeRatio)}px ${l.value.style.fontFamily}`,
657
658
  color: l.value.style.chart.dataLabels.useSerieColor ? e.color : l.value.style.chart.dataLabels.color,
658
659
  strokeColor: l.value.style.chart.backgroundColor,
659
660
  lineWidth: 0.8
@@ -662,7 +663,7 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
662
663
  });
663
664
  }
664
665
  function Vl(e) {
665
- e.useArea ? s.value.stacked ? xl(
666
+ e.useArea ? r.value.stacked ? xl(
666
667
  n.value,
667
668
  [{ x: e.coordinatesLine[0].x, y: e.localZero }, ...e.coordinatesLine, { x: e.coordinatesLine.at(-1).x, y: e.localZero }],
668
669
  {
@@ -681,7 +682,7 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
681
682
  lineWidth: 3
682
683
  });
683
684
  }
684
- function Gl() {
685
+ function Zl() {
685
686
  h.value.forEach((e, a) => {
686
687
  C(
687
688
  n.value,
@@ -696,10 +697,10 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
696
697
  );
697
698
  });
698
699
  }
699
- function re() {
700
- Nl(), B.value ? (d.value !== null && l.value.style.chart.selector.show && tl(), Xl(), s.value.stacked && l.value.style.chart.grid.x.showAxis && Gl(), El.value.forEach((e) => {
701
- (e.type === "line" || !e.type) && Vl(e), q.value && (Hl(e), s.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && Bl(e));
702
- }), Le.value = Ca(O.value)) : (Le.value && (n.value.clearRect(0, 0, 1e4, 1e4), n.value.drawImage(Le.value, 0, 0)), d.value !== null && l.value.style.chart.selector.show && tl(), d.value !== null && h.value.forEach((e) => {
700
+ function se() {
701
+ Nl(), B.value ? (d.value !== null && l.value.style.chart.selector.show && tl(), Xl(), r.value.stacked && l.value.style.chart.grid.x.showAxis && Zl(), El.value.forEach((e) => {
702
+ (e.type === "line" || !e.type) && Vl(e), q.value && (Hl(e), r.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && Bl(e));
703
+ }), Le.value = La(O.value)) : (Le.value && (n.value.clearRect(0, 0, 1e4, 1e4), n.value.drawImage(Le.value, 0, 0)), d.value !== null && l.value.style.chart.selector.show && tl(), d.value !== null && h.value.forEach((e) => {
703
704
  if (e.type === "line" || !e.type || e.type === "plot") {
704
705
  if (!e.coordinatesLine[d.value]) return;
705
706
  e.coordinatesLine[d.value].x !== void 0 && e.coordinatesLine[d.value].y !== void 0 && bl(
@@ -708,7 +709,7 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
708
709
  x: e.coordinatesLine[d.value].x,
709
710
  y: e.coordinatesLine[d.value].y
710
711
  },
711
- y.value / 150 * l.value.style.chart.line.plots.radiusRatio,
712
+ f.value / 150 * l.value.style.chart.line.plots.radiusRatio,
712
713
  {
713
714
  color: l.value.style.chart.backgroundColor,
714
715
  fillStyle: e.color
@@ -717,7 +718,7 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
717
718
  }
718
719
  })), l.value.style.chart.grid.y.timeLabels.show && Ul(), l.value.style.chart.selector.show && l.value.style.chart.selector.showHorizontalSelector && Wl(), _l(), Yl(), B.value = !1;
719
720
  }
720
- const pe = xa(() => {
721
+ const pe = ma(() => {
721
722
  q.value = !0, Al();
722
723
  }, T.value > 200 ? 10 : 1, !q.value);
723
724
  function ne(e) {
@@ -725,67 +726,67 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
725
726
  const { y: a, value: o } = e.coordinatesLine[d.value];
726
727
  return { y: a, value: o };
727
728
  }
728
- function Zl(e) {
729
- const { left: a, top: o } = O.value.getBoundingClientRect(), r = e.clientX - a;
730
- if (M.value = (e.clientY - o) * 2, (M.value < t.value.top || M.value > t.value.bottom) && (M.value = null), r * 2 < t.value.left || r * 2 > t.value.right) {
731
- ye.value = !1, d.value = null;
729
+ function Gl(e) {
730
+ const { left: a, top: o } = O.value.getBoundingClientRect(), s = e.clientX - a;
731
+ if (M.value = (e.clientY - o) * 2, (M.value < t.value.top || M.value > t.value.bottom) && (M.value = null), s * 2 < t.value.left || s * 2 > t.value.right) {
732
+ fe.value = !1, d.value = null;
732
733
  return;
733
734
  }
734
- const i = r * 2 - t.value.left;
735
- if (d.value = Math.floor(i / t.value.slot), ye.value = !0, !q.value) return;
735
+ const i = s * 2 - t.value.left;
736
+ if (d.value = Math.floor(i / t.value.slot), fe.value = !0, !q.value) return;
736
737
  let x = "";
737
738
  const v = l.value.style.chart.tooltip.customFormat;
738
- ml(v) && ma(() => v({
739
+ ml(v) && ga(() => v({
739
740
  seriesIndex: d.value,
740
- datapoint: h.value.map((f) => ({
741
- shape: f.shape || null,
742
- name: f.name,
743
- color: f.color,
744
- type: f.type || "line",
745
- value: f.series.find((W, z) => z === d.value)
741
+ datapoint: h.value.map((y) => ({
742
+ shape: y.shape || null,
743
+ name: y.name,
744
+ color: y.color,
745
+ type: y.type || "line",
746
+ value: y.series.find((W, z) => z === d.value)
746
747
  })),
747
748
  series: h.value,
748
749
  config: l.value
749
- })) ? fe.value = v({
750
+ })) ? ye.value = v({
750
751
  seriesIndex: d.value,
751
- datapoint: h.value.map((f) => ({
752
- shape: f.shape || null,
753
- name: f.name,
754
- color: f.color,
755
- type: f.type || "line",
756
- value: f.series.find((W, z) => z === d.value)
752
+ datapoint: h.value.map((y) => ({
753
+ shape: y.shape || null,
754
+ name: y.name,
755
+ color: y.color,
756
+ type: y.type || "line",
757
+ value: y.series.find((W, z) => z === d.value)
757
758
  })),
758
759
  series: h.value,
759
760
  config: l.value
760
- }) : (l.value.style.chart.grid.y.timeLabels.values.slice(u.value.start, u.value.end)[d.value] && (x += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${l.value.style.chart.tooltip.borderColor}; width:100%">${U.value.slice(u.value.start, u.value.end)[d.value].text}</div>`), x += Fl.value.join(""), fe.value = x), q.value = !1;
761
+ }) : (l.value.style.chart.grid.y.timeLabels.values.slice(u.value.start, u.value.end)[d.value] && (x += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${l.value.style.chart.tooltip.borderColor}; width:100%">${U.value.slice(u.value.start, u.value.end)[d.value].text}</div>`), x += Fl.value.join(""), ye.value = x), q.value = !1;
761
762
  }
762
763
  D(() => d.value, (e) => {
763
764
  pe();
764
765
  }), D(() => u.value, (e) => {
765
- B.value = !0, re();
766
+ B.value = !0, se();
766
767
  }, {
767
768
  deep: !0
768
- }), D(() => s.value.showDataLabels, (e) => {
769
- B.value = !0, re();
769
+ }), D(() => r.value.showDataLabels, (e) => {
770
+ B.value = !0, se();
770
771
  }), D(() => M.value, (e) => {
771
- e && re();
772
- }), D(() => s.value.stacked, (e) => {
772
+ e && se();
773
+ }), D(() => r.value.stacked, (e) => {
773
774
  B.value = !0, q.value = !0, pe();
774
775
  });
775
776
  function jl() {
776
- ye.value = !1, d.value = null, fe.value = "", M.value = null, re();
777
+ fe.value = !1, d.value = null, ye.value = "", M.value = null, se();
777
778
  }
778
779
  const A = Me(null), K = Me(null), Q = Me(null);
779
780
  dl(() => {
780
781
  Be.value = !0, $e();
781
782
  });
782
783
  function $e() {
783
- if (ya(g.dataset) ? fa({
784
+ if (da(g.dataset) ? ha({
784
785
  componentName: "VueUiXyCanvas",
785
786
  type: "dataset"
786
787
  }) : O.value && (n.value = O.value.getContext("2d", { willReadFrequently: !0 })), l.value.responsive) {
787
- const e = La(() => {
788
- const { width: a, height: o } = ka({
788
+ const e = ba(() => {
789
+ const { width: a, height: o } = xa({
789
790
  chart: I.value,
790
791
  title: l.value.style.chart.title.text ? Ne.value : null,
791
792
  legend: l.value.style.chart.legend.show ? He.value : null,
@@ -812,7 +813,7 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
812
813
  const ul = L(() => J.value.map((e, a) => ({
813
814
  ...e,
814
815
  name: e.name,
815
- color: pl(e.color) || Ke.value[a] || Z[a] || Z[a % Z.length],
816
+ color: pl(e.color) || Ke.value[a] || G[a] || G[a % G.length],
816
817
  shape: e.shape || "circle",
817
818
  prefix: e.prefix || "",
818
819
  suffix: e.suffix || "",
@@ -833,7 +834,7 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
833
834
  const e = [""].concat(h.value.map((i) => i.name)).concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>');
834
835
  let a = [];
835
836
  for (let i = 0; i < T.value; i += 1) {
836
- const x = h.value.map((v) => v.series[i] ?? 0).reduce((v, f) => v + f, 0);
837
+ const x = h.value.map((v) => v.series[i] ?? 0).reduce((v, y) => v + y, 0);
837
838
  a.push([l.value.style.chart.grid.y.timeLabels.values.slice(u.value.start, u.value.end)[i] ? U.value.slice(u.value.start, u.value.end)[i].text : i + 1].concat(h.value.map((v) => (v.series[i] ?? 0).toFixed(l.value.table.rounding))).concat((x ?? 0).toFixed(l.value.table.rounding)));
838
839
  }
839
840
  const o = {
@@ -848,9 +849,9 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
848
849
  outline: l.value.table.td.outline
849
850
  },
850
851
  breakpoint: l.value.table.responsiveBreakpoint
851
- }, r = [l.value.table.columnNames.period].concat(h.value.map((i) => i.name)).concat(l.value.table.columnNames.total);
852
- return { head: e, body: a.slice(0, u.value.end - u.value.start), config: o, colNames: r };
853
- }), sl = L(() => {
852
+ }, s = [l.value.table.columnNames.period].concat(h.value.map((i) => i.name)).concat(l.value.table.columnNames.total);
853
+ return { head: e, body: a.slice(0, u.value.end - u.value.start), config: o, colNames: s };
854
+ }), rl = L(() => {
854
855
  if (h.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
855
856
  const e = h.value.map((o) => ({
856
857
  label: o.name,
@@ -858,31 +859,31 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
858
859
  type: o.type
859
860
  })), a = [];
860
861
  for (let o = u.value.start; o < u.value.end; o += 1) {
861
- const r = [l.value.style.chart.grid.y.timeLabels.values[o] ? U.value[o].text : o + 1];
862
+ const s = [l.value.style.chart.grid.y.timeLabels.values[o] ? U.value[o].text : o + 1];
862
863
  h.value.forEach((i) => {
863
- r.push(Number((i.series[o] || 0).toFixed(l.value.table.rounding)));
864
- }), a.push(r);
864
+ s.push(Number((i.series[o] || 0).toFixed(l.value.table.rounding)));
865
+ }), a.push(s);
865
866
  }
866
867
  return { head: e, body: a };
867
868
  });
868
869
  function Te(e = null) {
869
- const a = [[l.value.style.chart.title.text], [l.value.style.chart.title.subtitle.text], [""]], o = ["", ...sl.value.head.map((v) => v.label)], r = sl.value.body, i = a.concat([o]).concat(r), x = ga(i);
870
- e ? e(x) : pa({ csvContent: x, title: l.value.style.chart.title.text || "vue-ui-xy-canvas" });
870
+ const a = [[l.value.style.chart.title.text], [l.value.style.chart.title.subtitle.text], [""]], o = ["", ...rl.value.head.map((v) => v.label)], s = rl.value.body, i = a.concat([o]).concat(s), x = fa(i);
871
+ e ? e(x) : ya({ csvContent: x, title: l.value.style.chart.title.text || "vue-ui-xy-canvas" });
871
872
  }
872
873
  function Jl() {
873
874
  return h.value;
874
875
  }
875
- function rl() {
876
- s.value.showTable = !s.value.showTable;
876
+ function sl() {
877
+ r.value.showTable = !r.value.showTable;
877
878
  }
878
879
  function nl() {
879
- s.value.showDataLabels = !s.value.showDataLabels;
880
+ r.value.showDataLabels = !r.value.showDataLabels;
880
881
  }
881
882
  function il() {
882
- s.value.stacked = !s.value.stacked;
883
+ r.value.stacked = !r.value.stacked;
883
884
  }
884
885
  function vl() {
885
- s.value.showTooltip = !s.value.showTooltip;
886
+ r.value.showTooltip = !r.value.showTooltip;
886
887
  }
887
888
  const be = c(!1);
888
889
  function Ie() {
@@ -890,18 +891,18 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
890
891
  }
891
892
  async function Kl({ scale: e = 2 } = {}) {
892
893
  if (!I.value) return;
893
- const { width: a, height: o } = I.value.getBoundingClientRect(), r = a / o, { imageUri: i, base64: x } = await Ra({ domElement: I.value, base64: !0, img: !0, scale: e });
894
+ const { width: a, height: o } = I.value.getBoundingClientRect(), s = a / o, { imageUri: i, base64: x } = await Ra({ domElement: I.value, base64: !0, img: !0, scale: e });
894
895
  return {
895
896
  imageUri: i,
896
897
  base64: x,
897
898
  title: l.value.style.chart.title.text,
898
899
  width: a,
899
900
  height: o,
900
- aspectRatio: r
901
+ aspectRatio: s
901
902
  };
902
903
  }
903
904
  const ie = L(() => {
904
- const e = l.value.table.useDialog && !l.value.table.show, a = s.value.showTable;
905
+ const e = l.value.table.useDialog && !l.value.table.show, a = r.value.showTable;
905
906
  return {
906
907
  component: e ? Il : Ma,
907
908
  title: `${l.value.style.chart.title.text}${l.value.style.chart.title.subtitle.text ? `: ${l.value.style.chart.title.subtitle.text}` : ""}`,
@@ -930,11 +931,11 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
930
931
  }
931
932
  };
932
933
  });
933
- D(() => s.value.showTable, (e) => {
934
- l.value.table.show || (e && l.value.table.useDialog && se.value ? se.value.open() : "close" in se.value && se.value.close());
934
+ D(() => r.value.showTable, (e) => {
935
+ l.value.table.show || (e && l.value.table.useDialog && re.value ? re.value.open() : "close" in re.value && re.value.close());
935
936
  });
936
937
  function cl() {
937
- s.value.showTable = !1, Se.value && Se.value.setTableIconState(!1);
938
+ r.value.showTable = !1, Se.value && Se.value.setTableIconState(!1);
938
939
  }
939
940
  return kl({
940
941
  getData: Jl,
@@ -942,7 +943,7 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
942
943
  generateCsv: Te,
943
944
  generatePdf: je,
944
945
  generateImage: qe,
945
- toggleTable: rl,
946
+ toggleTable: sl,
946
947
  toggleLabels: nl,
947
948
  toggleStack: il,
948
949
  toggleTooltip: vl,
@@ -986,8 +987,8 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
986
987
  key: `user_option_${Ae.value}`,
987
988
  backgroundColor: l.value.style.chart.backgroundColor,
988
989
  color: l.value.style.chart.color,
989
- isPrinting: p(Ge),
990
- isImaging: p(Ze),
990
+ isPrinting: p(Ze),
991
+ isImaging: p(Ge),
991
992
  uid: _.value,
992
993
  hasTooltip: l.value.userOptions.buttons.tooltip && l.value.style.chart.tooltip.show,
993
994
  hasPdf: l.value.userOptions.buttons.pdf,
@@ -998,8 +999,8 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
998
999
  hasFullscreen: l.value.userOptions.buttons.fullscreen,
999
1000
  hasTable: u.value.end - u.value.start <= 730 && l.value.userOptions.buttons.table,
1000
1001
  isFullscreen: ue.value,
1001
- isTooltip: s.value.showTooltip,
1002
- isStacked: s.value.stacked,
1002
+ isTooltip: r.value.showTooltip,
1003
+ isStacked: r.value.stacked,
1003
1004
  titles: { ...l.value.userOptions.buttonTitles },
1004
1005
  chartElement: I.value,
1005
1006
  position: l.value.userOptions.position,
@@ -1012,7 +1013,7 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1012
1013
  onGeneratePdf: p(je),
1013
1014
  onGenerateCsv: Te,
1014
1015
  onGenerateImage: p(qe),
1015
- onToggleTable: rl,
1016
+ onToggleTable: sl,
1016
1017
  onToggleLabels: nl,
1017
1018
  onToggleStack: il,
1018
1019
  onToggleTooltip: vl,
@@ -1020,11 +1021,11 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1020
1021
  style: le({
1021
1022
  visibility: p(We) ? p(ze) ? "visible" : "hidden" : "visible"
1022
1023
  })
1023
- }, yl({ _: 2 }, [
1024
+ }, fl({ _: 2 }, [
1024
1025
  e.$slots.menuIcon ? {
1025
1026
  name: "menuIcon",
1026
- fn: m(({ isOpen: o, color: r }) => [
1027
- k(e.$slots, "menuIcon", V(G({ isOpen: o, color: r })), void 0, !0)
1027
+ fn: m(({ isOpen: o, color: s }) => [
1028
+ k(e.$slots, "menuIcon", V(Z({ isOpen: o, color: s })), void 0, !0)
1028
1029
  ]),
1029
1030
  key: "0"
1030
1031
  } : void 0,
@@ -1079,15 +1080,15 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1079
1080
  } : void 0,
1080
1081
  e.$slots.optionFullscreen ? {
1081
1082
  name: "optionFullscreen",
1082
- fn: m(({ toggleFullscreen: o, isFullscreen: r }) => [
1083
- k(e.$slots, "optionFullscreen", V(G({ toggleFullscreen: o, isFullscreen: r })), void 0, !0)
1083
+ fn: m(({ toggleFullscreen: o, isFullscreen: s }) => [
1084
+ k(e.$slots, "optionFullscreen", V(Z({ toggleFullscreen: o, isFullscreen: s })), void 0, !0)
1084
1085
  ]),
1085
1086
  key: "8"
1086
1087
  } : void 0,
1087
1088
  e.$slots.optionAnnotator ? {
1088
1089
  name: "optionAnnotator",
1089
- fn: m(({ toggleAnnotator: o, isAnnotator: r }) => [
1090
- k(e.$slots, "optionAnnotator", V(G({ toggleAnnotator: o, isAnnotator: r })), void 0, !0)
1090
+ fn: m(({ toggleAnnotator: o, isAnnotator: s }) => [
1091
+ k(e.$slots, "optionAnnotator", V(Z({ toggleAnnotator: o, isAnnotator: s })), void 0, !0)
1091
1092
  ]),
1092
1093
  key: "9"
1093
1094
  } : void 0
@@ -1103,7 +1104,7 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1103
1104
  ref_key: "canvas",
1104
1105
  ref: O,
1105
1106
  style: { width: "100%", height: "100%" },
1106
- onMousemove: a[0] || (a[0] = (o) => Zl(o)),
1107
+ onMousemove: a[0] || (a[0] = (o) => Gl(o)),
1107
1108
  onMouseleave: jl
1108
1109
  }, null, 544)) : (S(), F(p(zl), {
1109
1110
  key: 1,
@@ -1123,8 +1124,8 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1123
1124
  }
1124
1125
  }
1125
1126
  }, null, 8, ["config"])),
1126
- fl(p($l), {
1127
- show: s.value.showTooltip && ye.value,
1127
+ yl(p($l), {
1128
+ show: r.value.showTooltip && fe.value,
1128
1129
  backgroundColor: l.value.style.chart.tooltip.backgroundColor,
1129
1130
  color: l.value.style.chart.tooltip.color,
1130
1131
  fontSize: l.value.style.chart.tooltip.fontSize,
@@ -1134,7 +1135,7 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1134
1135
  position: l.value.style.chart.tooltip.position,
1135
1136
  offsetY: l.value.style.chart.tooltip.offsetY,
1136
1137
  parent: p(O),
1137
- content: fe.value,
1138
+ content: ye.value,
1138
1139
  isFullscreen: ue.value,
1139
1140
  backgroundOpacity: l.value.style.chart.tooltip.backgroundOpacity,
1140
1141
  isCustom: p(ml)(l.value.style.chart.tooltip.customFormat),
@@ -1144,10 +1145,10 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1144
1145
  smoothSnapThreshold: l.value.style.chart.tooltip.smoothSnapThreshold
1145
1146
  }, {
1146
1147
  "tooltip-before": m(() => [
1147
- k(e.$slots, "tooltip-before", V(G({ ...Pe.value })), void 0, !0)
1148
+ k(e.$slots, "tooltip-before", V(Z({ ...Pe.value })), void 0, !0)
1148
1149
  ]),
1149
1150
  "tooltip-after": m(() => [
1150
- k(e.$slots, "tooltip-after", V(G({ ...Pe.value })), void 0, !0)
1151
+ k(e.$slots, "tooltip-after", V(Z({ ...Pe.value })), void 0, !0)
1151
1152
  ]),
1152
1153
  _: 3
1153
1154
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "position", "offsetY", "parent", "content", "isFullscreen", "backgroundOpacity", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"])
@@ -1188,7 +1189,7 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1188
1189
  onReset: el
1189
1190
  }, {
1190
1191
  "reset-action": m(({ reset: o }) => [
1191
- k(e.$slots, "reset-action", V(G({ reset: o })), void 0, !0)
1192
+ k(e.$slots, "reset-action", V(Z({ reset: o })), void 0, !0)
1192
1193
  ]),
1193
1194
  _: 3
1194
1195
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "focusOnDrag", "focusRangeRatio"])) : H("", !0)
@@ -1210,10 +1211,10 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1210
1211
  key: `legend_${we.value}`,
1211
1212
  onClickMarker: a[3] || (a[3] = ({ i: o }) => ol(o))
1212
1213
  }, {
1213
- item: m(({ legend: o, index: r }) => [
1214
+ item: m(({ legend: o, index: s }) => [
1214
1215
  Y("div", {
1215
1216
  onClick: (i) => o.segregate(),
1216
- style: le(`opacity:${$.value.includes(r) ? 0.5 : 1}`)
1217
+ style: le(`opacity:${$.value.includes(s) ? 0.5 : 1}`)
1217
1218
  }, Oe(o.name), 13, Na)
1218
1219
  ]),
1219
1220
  _: 1
@@ -1224,7 +1225,7 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1224
1225
  ], 512)
1225
1226
  ], 8, ["to"])) : H("", !0),
1226
1227
  e.$slots.watermark ? (S(), de("div", Ha, [
1227
- k(e.$slots, "watermark", V(G({ isPrinting: p(Ge) || p(Ze) })), void 0, !0)
1228
+ k(e.$slots, "watermark", V(Z({ isPrinting: p(Ze) || p(Ge) })), void 0, !0)
1228
1229
  ])) : H("", !0),
1229
1230
  e.$slots.source ? (S(), de("div", {
1230
1231
  key: 4,
@@ -1236,9 +1237,9 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1236
1237
  ], 512)) : H("", !0),
1237
1238
  ge.value && l.value.userOptions.buttons.table ? (S(), F(oa(ie.value.component), ua({ key: 5 }, ie.value.props, {
1238
1239
  ref_key: "tableUnit",
1239
- ref: se,
1240
+ ref: re,
1240
1241
  onClose: cl
1241
- }), yl({
1242
+ }), fl({
1242
1243
  content: m(() => [
1243
1244
  (S(), F(p(wl), {
1244
1245
  key: `table_${Ce.value}`,
@@ -1276,7 +1277,7 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1276
1277
  class: "vue-ui-user-options-button",
1277
1278
  onClick: a[4] || (a[4] = (o) => Te(l.value.userOptions.callbacks.csv))
1278
1279
  }, [
1279
- fl(Da, {
1280
+ yl(Da, {
1280
1281
  name: "excel",
1281
1282
  stroke: ie.value.props.color
1282
1283
  }, null, 8, ["stroke"])
@@ -1295,7 +1296,7 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1295
1296
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : H("", !0)
1296
1297
  ], 46, Pa));
1297
1298
  }
1298
- }, tt = /* @__PURE__ */ Fa(_a, [["__scopeId", "data-v-c6565152"]]);
1299
+ }, ot = /* @__PURE__ */ Fa(_a, [["__scopeId", "data-v-c6565152"]]);
1299
1300
  export {
1300
- tt as default
1301
+ ot as default
1301
1302
  };