vue-data-ui 3.1.18 → 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 (228) hide show
  1. package/dist/{Arrow-BC5klzOh.js → Arrow-cyyFTTnm.js} +7 -7
  2. package/dist/{BaseDraggableDialog-CkjMZyIs.js → BaseDraggableDialog-Bf6A6G_f.js} +2 -2
  3. package/dist/{BaseIcon-BPiT94Lb.js → BaseIcon-D2f9w5Z5.js} +1 -1
  4. package/dist/{ColorPicker-bx5e2RB2.js → ColorPicker-gaAecgEC.js} +6 -6
  5. package/dist/{DataTable-CywujQw9.js → DataTable-xISHA7Pu.js} +2 -2
  6. package/dist/{Legend-h35dp0Qf.js → Legend-_Rv594VS.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-CvnlQ378.js → NonSvgPenAndPaper-DiM4-9ju.js} +3 -3
  8. package/dist/{PackageVersion-BzGzkGiC.js → PackageVersion-DRpg18lg.js} +3 -3
  9. package/dist/{PenAndPaper-Deh70G9d.js → PenAndPaper-CtDMyIvW.js} +3 -3
  10. package/dist/{Shape-sVxD_SDm.js → Shape-BDy56-wS.js} +1 -1
  11. package/dist/{Slicer-CQB967He.js → Slicer-BgpOhmb6.js} +31 -31
  12. package/dist/{SparkTooltip-DFRSPT3_.js → SparkTooltip-DOFGBHJ-.js} +1 -1
  13. package/dist/{Title-B_WMW2Bp.js → Title-pI68ZJsq.js} +1 -1
  14. package/dist/{Tooltip-Db9jy0Iu.js → Tooltip-Clf2K3CF.js} +1 -1
  15. package/dist/{UserOptions-CtECQwBN.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-BHpS3cMi.js → dom-to-png-CSg_eTqL.js} +1 -1
  82. package/dist/{img-BArHHegM.js → img-CH7J0fYg.js} +1 -1
  83. package/dist/lib-p5pfHmOX.js +1882 -0
  84. package/dist/{pdf-D1L3r23x.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-DeqXeTNw.js → useAutoSizeLabelsInsideViewbox-VqESrzQg.js} +7 -7
  157. package/dist/useNestedProp-DF7e2h1z.js +6645 -0
  158. package/dist/{usePrinter-nFj0xF0a.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-D4rc8PD3.js → vue-ui-3d-bar-BZDLbeym.js} +58 -57
  162. package/dist/{vue-ui-accordion-7cfJUVx5.js → vue-ui-accordion-D-L73-T2.js} +4 -4
  163. package/dist/{vue-ui-age-pyramid-BXMIUNB_.js → vue-ui-age-pyramid-C1NMeWTB.js} +28 -27
  164. package/dist/{vue-ui-annotator-aCDhQ-m2.js → vue-ui-annotator-SoAGIAm-.js} +7 -6
  165. package/dist/{vue-ui-bullet-Cd_iix-z.js → vue-ui-bullet-G_Y2Ryof.js} +28 -27
  166. package/dist/{vue-ui-candlestick-C-TTTgiW.js → vue-ui-candlestick-9sHzdqr3.js} +32 -31
  167. package/dist/{vue-ui-carousel-table-C58J4zpm.js → vue-ui-carousel-table-CnGSgjPK.js} +25 -25
  168. package/dist/{vue-ui-chestnut-C7u6GW-T.js → vue-ui-chestnut-C_0Y77a9.js} +41 -40
  169. package/dist/{vue-ui-chord-DxLU3Fg1.js → vue-ui-chord-DqGoensA.js} +61 -60
  170. package/dist/{vue-ui-circle-pack--a_KE7qz.js → vue-ui-circle-pack-5L50If0h.js} +75 -74
  171. package/dist/{vue-ui-cursor-DJQWAIj8.js → vue-ui-cursor-0muOlHSh.js} +3 -3
  172. package/dist/{vue-ui-dashboard-CIACUYB-.js → vue-ui-dashboard-2FyL5ac1.js} +68 -68
  173. package/dist/{vue-ui-digits-CLV8h-P8.js → vue-ui-digits-DOUNtmB0.js} +3 -3
  174. package/dist/{vue-ui-donut-sO6G5oor.js → vue-ui-donut-CWgiy7rq.js} +39 -38
  175. package/dist/{vue-ui-donut-evolution-XGJvBQIm.js → vue-ui-donut-evolution-DxH6i5aO.js} +81 -80
  176. package/dist/{vue-ui-dumbbell-Bi11rDL7.js → vue-ui-dumbbell-D7nhPGxL.js} +97 -96
  177. package/dist/{vue-ui-flow-RP2v-aZJ.js → vue-ui-flow-C8iSww9L.js} +127 -126
  178. package/dist/{vue-ui-funnel-TVQXGyw7.js → vue-ui-funnel-D3GZcM5e.js} +39 -38
  179. package/dist/{vue-ui-galaxy-CUURaWgH.js → vue-ui-galaxy-CUHEJHiw.js} +53 -52
  180. package/dist/{vue-ui-gauge-hTRlwARA.js → vue-ui-gauge-MM8rPNWR.js} +43 -42
  181. package/dist/{vue-ui-gizmo-CZIgBvWV.js → vue-ui-gizmo-CQ7XyocO.js} +6 -6
  182. package/dist/{vue-ui-heatmap-RKtFMgDP.js → vue-ui-heatmap-BT5orcuT.js} +98 -97
  183. package/dist/{vue-ui-history-plot-fbTG7Mke.js → vue-ui-history-plot-BCfEt867.js} +105 -104
  184. package/dist/{vue-ui-kpi-CfX-zUDS.js → vue-ui-kpi-D7zdt7-g.js} +15 -15
  185. package/dist/{vue-ui-mini-loader-C1nANuMy.js → vue-ui-mini-loader-CteWqKM_.js} +3 -3
  186. package/dist/{vue-ui-molecule-BU7T1ysb.js → vue-ui-molecule-DekqFbQ4.js} +54 -53
  187. package/dist/{vue-ui-mood-radar-Cb8cFWzE.js → vue-ui-mood-radar-CAC70QPW.js} +30 -29
  188. package/dist/{vue-ui-nested-donuts-DTZD8BTA.js → vue-ui-nested-donuts-BWj33o71.js} +69 -68
  189. package/dist/{vue-ui-onion-5xmlEUsJ.js → vue-ui-onion-Dq_XSxqp.js} +33 -32
  190. package/dist/{vue-ui-parallel-coordinate-plot-Wc0TbyJH.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-BC99Cua7.js → vue-ui-quadrant-CmXgMy7I.js} +35 -34
  193. package/dist/{vue-ui-quick-chart-Cbv2UcEu.js → vue-ui-quick-chart-D2JQNfWU.js} +30 -29
  194. package/dist/{vue-ui-radar-B-ey_fDA.js → vue-ui-radar-BmmwGJaI.js} +90 -89
  195. package/dist/{vue-ui-rating-BNCKLcCa.js → vue-ui-rating-CjoKP6-5.js} +9 -9
  196. package/dist/{vue-ui-relation-circle-CYFQcAgc.js → vue-ui-relation-circle-CcGD2bEJ.js} +44 -43
  197. package/dist/{vue-ui-ridgeline-B_6K1FTc.js → vue-ui-ridgeline-DIOGXJ9v.js} +82 -81
  198. package/dist/{vue-ui-rings-D_BTgxYc.js → vue-ui-rings-DS-YbQVr.js} +74 -73
  199. package/dist/{vue-ui-scatter-B69SYOfv.js → vue-ui-scatter-D8kUADP7.js} +121 -120
  200. package/dist/{vue-ui-skeleton-CpkwgALO.js → vue-ui-skeleton-FtA6-6zz.js} +5 -5
  201. package/dist/{vue-ui-smiley-t16dEIoQ.js → vue-ui-smiley-YRRY-yQp.js} +28 -28
  202. package/dist/{vue-ui-spark-trend-DskdjYw4.js → vue-ui-spark-trend-qt8UvEPc.js} +47 -46
  203. package/dist/{vue-ui-sparkbar-C-evQIq2.js → vue-ui-sparkbar-DgHvA8ra.js} +16 -15
  204. package/dist/{vue-ui-sparkgauge-DycVSHAs.js → vue-ui-sparkgauge-BpMUqIL6.js} +32 -31
  205. package/dist/{vue-ui-sparkhistogram-CZLnlSUD.js → vue-ui-sparkhistogram-IhGjmoUF.js} +22 -21
  206. package/dist/{vue-ui-sparkline-C1nZRVTa.js → vue-ui-sparkline-BSGiRpQ9.js} +131 -130
  207. package/dist/{vue-ui-sparkstackbar-CUUeuwAI.js → vue-ui-sparkstackbar-ZkUUbYr5.js} +28 -27
  208. package/dist/{vue-ui-stackbar-D27Wq8Y4.js → vue-ui-stackbar-DRKIeZ1O.js} +77 -76
  209. package/dist/{vue-ui-strip-plot-D-srKJUr.js → vue-ui-strip-plot-dMjWaIcs.js} +52 -51
  210. package/dist/{vue-ui-table-LcImk124.js → vue-ui-table-DKHtmqLd.js} +9 -8
  211. package/dist/{vue-ui-table-heatmap-BfXe_f0K.js → vue-ui-table-heatmap-iu6l-6rW.js} +30 -29
  212. package/dist/{vue-ui-table-sparkline-DyrnPNGv.js → vue-ui-table-sparkline-mMpPAUon.js} +20 -19
  213. package/dist/{vue-ui-thermometer-DxRDmz-L.js → vue-ui-thermometer-xpHH3FWG.js} +66 -65
  214. package/dist/{vue-ui-timer-Bbzb09O8.js → vue-ui-timer-C4LZMTeg.js} +31 -31
  215. package/dist/{vue-ui-tiremarks-DWy1Dkub.js → vue-ui-tiremarks-KQmIXYf2.js} +30 -29
  216. package/dist/{vue-ui-treemap-C3Ek_E4n.js → vue-ui-treemap-a_Ub2bgB.js} +32 -31
  217. package/dist/{vue-ui-vertical-bar-CV3Mc1cX.js → vue-ui-vertical-bar-MWKYuUMN.js} +54 -53
  218. package/dist/{vue-ui-waffle-D2mQJdcV.js → vue-ui-waffle-CP6jUrto.js} +76 -75
  219. package/dist/{vue-ui-wheel-zbog7bII.js → vue-ui-wheel-B59kWUZd.js} +85 -84
  220. package/dist/{vue-ui-word-cloud-D9iZRkQP.js → vue-ui-word-cloud-DZnuhGEw.js} +49 -48
  221. package/dist/{vue-ui-world-D5dR5VdK.js → vue-ui-world-B6S7X6sr.js} +19 -19
  222. package/dist/{vue-ui-xy-Cll76_i9.js → vue-ui-xy-BjzutuG2.js} +135 -134
  223. package/dist/{vue-ui-xy-canvas-DJVXAfpL.js → vue-ui-xy-canvas-CSSVKhex.js} +166 -165
  224. package/package.json +19 -11
  225. package/dist/index-smzxfsyV.js +0 -8729
  226. package/dist/types/vue-data-ui.d.cts +0 -9435
  227. package/dist/useNestedProp-DeKmJzsE.js +0 -13
  228. package/dist/vue-data-ui-DcBYykse.js +0 -325
@@ -1,17 +1,18 @@
1
- import { useCssVars as Yo, computed as x, ref as y, watch as ht, onMounted as Zl, onBeforeUnmount as Ll, onUpdated as ho, nextTick as Ml, createElementBlock as u, openBlock as n, createElementVNode as k, createCommentVNode as g, renderSlot as te, normalizeStyle as C, createVNode as ml, withDirectives as Oa, unref as h, Fragment as b, renderList as L, normalizeProps as Yt, mergeProps as Gt, normalizeClass as Ze, withKeys as fo, vModelText as mo, toDisplayString as re, defineAsyncComponent as Wt, useSlots as Go, getCurrentInstance as Uo, toRefs as qo, watchEffect as go, createBlock as ct, createSlots as xo, withCtx as we, guardReactiveProps as dl, Teleport as Zo, resolveDynamicComponent as Ko, vModelCheckbox as Jo, createTextVNode as bo } from "vue";
2
- import { c as ga, y as xa, X as Qo, F as dt, $ as ya, V as pa, a0 as ka, U as wa, a1 as yo, u as jo, f as Na, t as en, d as tn, D as ql, af as hl, e as po, p as ko, ag as ha, ac as j, a7 as Pa, ah as ln, h as q, ai as an, aj as wo, ak as So, k as Ae, al as on, z as nn, _ as $o, R as wt, i as lt, x as fl, s as vt, aa as ie, L as un, am as fa, I as sn, an as Xt, C as qe, a as rn, b as cn, o as _o, v as vn, w as dn, E as _l } from "./index-smzxfsyV.js";
3
- import { t as ba, d as hn, u as fn } from "./useResponsive-DfdjqQps.js";
4
- import { u as mn } from "./usePrinter-nFj0xF0a.js";
5
- import { u as gn, B as xn } from "./BaseScanner-BgWxam9d.js";
6
- import { u as Mo, a as bn, l as yn } from "./useTimeLabels-BGFjWgrv.js";
7
- import { u as Fa } from "./useNestedProp-DeKmJzsE.js";
8
- import { u as pn } from "./useTimeLabelCollider-CIsgDrl9.js";
9
- import kn from "./img-BArHHegM.js";
10
- import wn from "./Title-B_WMW2Bp.js";
11
- import { _ as ma } from "./Shape-sVxD_SDm.js";
12
- import Sn from "./BaseIcon-BPiT94Lb.js";
1
+ import { useCssVars as Yo, computed as x, ref as y, watch as ht, onMounted as Zl, onBeforeUnmount as Ll, onUpdated as ho, nextTick as Ml, createElementBlock as u, openBlock as n, createElementVNode as k, createCommentVNode as g, renderSlot as te, normalizeStyle as C, createVNode as ml, withDirectives as Oa, unref as h, Fragment as b, renderList as L, normalizeProps as Yt, mergeProps as Gt, normalizeClass as Ze, withKeys as fo, vModelText as mo, toDisplayString as re, defineAsyncComponent as Wt, useSlots as Go, getCurrentInstance as qo, toRefs as Uo, watchEffect as go, createBlock as ct, createSlots as xo, withCtx as we, guardReactiveProps as dl, Teleport as Zo, resolveDynamicComponent as Ko, vModelCheckbox as Jo, createTextVNode as bo } from "vue";
2
+ import { c as ga, z as xa, X as Qo, G as dt, ae as ya, W as pa, af as ka, V as wa, ag as yo, f as Na, t as jo, e as en, E as Ul, aa as hl, h as po, p as ko, ap as ha, a6 as j, a0 as Pa, a8 as tn, q as U, ac as ln, aq as wo, ar as So, a as Ae, as as an, A as on, j as $o, k as wt, d as lt, i as fl, s as vt, a4 as ie, Q as nn, ak as fa, N as un, at as Xt, D as Ue, b as sn, o as _o, x as rn, y as cn, F as _l } from "./lib-p5pfHmOX.js";
3
+ import { t as ba, d as vn, u as dn } from "./useResponsive-DfdjqQps.js";
4
+ import { u as hn, a as Fa } from "./useNestedProp-DF7e2h1z.js";
5
+ import { u as fn } from "./usePrinter-Yeu5jOfm.js";
6
+ import { u as mn, B as gn } from "./BaseScanner-BgWxam9d.js";
7
+ import { u as Mo, a as xn, l as bn } from "./useTimeLabels-BGFjWgrv.js";
8
+ import { u as yn } from "./useTimeLabelCollider-CIsgDrl9.js";
9
+ import pn from "./img-CH7J0fYg.js";
10
+ import kn from "./Title-pI68ZJsq.js";
11
+ import { t as wn } from "./themes-D3cUNuKw.js";
12
+ import { _ as ma } from "./Shape-BDy56-wS.js";
13
+ import Sn from "./BaseIcon-D2f9w5Z5.js";
13
14
  import { _ as Lo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- import $n from "./vue-ui-accordion-7cfJUVx5.js";
15
+ import $n from "./vue-ui-accordion-D-L73-T2.js";
15
16
  const _n = {
16
17
  class: "vue-data-ui-slicer-labels",
17
18
  style: { position: "relative", "z-index": "1", "pointer-events": "none" }
@@ -22,7 +23,7 @@ const _n = {
22
23
  key: 0,
23
24
  class: "minimap",
24
25
  style: { width: "100%" }
25
- }, Cn = ["xmlns", "viewBox"], An = ["id"], Tn = ["stop-color"], zn = ["width", "height", "stroke"], In = ["d", "stroke"], Nn = ["d", "fill"], Pn = ["x", "y", "width", "height", "fill"], Fn = ["d", "stroke"], Rn = ["cx", "cy", "fill", "stroke"], On = ["x", "width", "height", "fill", "rx"], Vn = ["x", "width", "height", "rx", "fill"], Bn = ["x", "width", "height", "fill", "rx"], En = ["x2", "y1", "y2", "stroke"], Hn = { key: "merged-tree" }, Dn = ["d", "fill"], Wn = ["d", "stroke"], Xn = ["cx", "cy", "stroke", "fill"], Yn = ["cx", "cy", "stroke", "fill"], Gn = { key: "split-tree" }, Un = ["x", "y", "width", "height", "fill"], qn = ["d", "stroke"], Zn = ["x", "height", "fill", "stroke"], Kn = ["x", "height", "fill", "stroke"], Jn = { key: "merged-tree" }, Qn = ["cx", "cy", "stroke", "fill"], jn = ["cx", "cy", "fill"], eu = ["cx", "cy", "stroke", "fill"], tu = ["cx", "cy", "fill"], lu = { key: 11 }, au = ["d", "stroke"], ou = ["cx", "cy", "fill", "stroke"], nu = ["cx", "cy", "stroke", "fill"], uu = ["cx", "cy", "fill"], iu = ["cx", "cy", "stroke", "fill"], su = ["cx", "cy", "fill"], ru = ["x", "height", "width", "onMouseenter"], cu = ["min", "max"], vu = ["min", "max"], Ra = 48, du = {
26
+ }, Cn = ["xmlns", "viewBox"], An = ["id"], Tn = ["stop-color"], zn = ["width", "height", "stroke"], In = ["d", "stroke"], Nn = ["d", "fill"], Pn = ["x", "y", "width", "height", "fill"], Fn = ["d", "stroke"], Rn = ["cx", "cy", "fill", "stroke"], On = ["x", "width", "height", "fill", "rx"], Vn = ["x", "width", "height", "rx", "fill"], Bn = ["x", "width", "height", "fill", "rx"], En = ["x2", "y1", "y2", "stroke"], Hn = { key: "merged-tree" }, Dn = ["d", "fill"], Wn = ["d", "stroke"], Xn = ["cx", "cy", "stroke", "fill"], Yn = ["cx", "cy", "stroke", "fill"], Gn = { key: "split-tree" }, qn = ["x", "y", "width", "height", "fill"], Un = ["d", "stroke"], Zn = ["x", "height", "fill", "stroke"], Kn = ["x", "height", "fill", "stroke"], Jn = { key: "merged-tree" }, Qn = ["cx", "cy", "stroke", "fill"], jn = ["cx", "cy", "fill"], eu = ["cx", "cy", "stroke", "fill"], tu = ["cx", "cy", "fill"], lu = { key: 11 }, au = ["d", "stroke"], ou = ["cx", "cy", "fill", "stroke"], nu = ["cx", "cy", "stroke", "fill"], uu = ["cx", "cy", "fill"], iu = ["cx", "cy", "stroke", "fill"], su = ["cx", "cy", "fill"], ru = ["x", "height", "width", "onMouseenter"], cu = ["min", "max"], vu = ["min", "max"], Ra = 48, du = {
26
27
  __name: "SlicerPreview",
27
28
  props: {
28
29
  immediate: {
@@ -196,11 +197,11 @@ const _n = {
196
197
  "46ddce48": $.selectColor,
197
198
  fcd4952c: zl.value
198
199
  }));
199
- const d = $, Ne = y(null), ce = y(d.min), fe = y(d.max), me = x(() => !!d.minimap.length), Cl = y(ga()), St = y(!1), Nt = x(() => me.value && d.minimapCompact), Kl = y(0), Ut = ba((v) => Le("futureStart", v), 0), gl = ba((v) => Le("futureEnd", v), 0), qt = x({
200
+ const d = $, Ne = y(null), ce = y(d.min), fe = y(d.max), me = x(() => !!d.minimap.length), Cl = y(ga()), St = y(!1), Nt = x(() => me.value && d.minimapCompact), Kl = y(0), qt = ba((v) => Le("futureStart", v), 0), gl = ba((v) => Le("futureEnd", v), 0), Ut = x({
200
201
  get: () => ce.value,
201
202
  set(v) {
202
203
  const m = Math.min(v, fe.value - 1);
203
- m !== ce.value && (ce.value = m, Mt.value && (Mt.value.value = String(m)), d.immediate ? Le("update:start", Number(m)) : St.value && Ut(m));
204
+ m !== ce.value && (ce.value = m, Mt.value && (Mt.value.value = String(m)), d.immediate ? Le("update:start", Number(m)) : St.value && qt(m));
204
205
  }
205
206
  }), $t = x({
206
207
  get: () => fe.value,
@@ -275,7 +276,7 @@ const _n = {
275
276
  if (me.value) {
276
277
  const v = ba(() => {
277
278
  if (!Jt.value) return;
278
- const { width: m, height: f } = fn({ chart: Jt.value }), _ = Math.max(0, Math.round(m)), T = Math.max(0, Math.round(f - 47));
279
+ const { width: m, height: f } = dn({ chart: Jt.value }), _ = Math.max(0, Math.round(m)), T = Math.max(0, Math.round(f - 47));
279
280
  (_ !== W.value.width || T !== W.value.height) && (W.value.width = _, W.value.height = T);
280
281
  }, 0);
281
282
  le.value = new ResizeObserver(v), le.value.observe(Jt.value);
@@ -388,7 +389,7 @@ const _n = {
388
389
  };
389
390
  }), xt = y(d.minimapSelectedIndex), Rl = (v) => Math.round(d.min + v), Pt = x({
390
391
  get() {
391
- return Nt.value ? Ee.value : Number(qt.value);
392
+ return Nt.value ? Ee.value : Number(Ut.value);
392
393
  },
393
394
  set(v) {
394
395
  if (Nt.value) {
@@ -418,7 +419,7 @@ const _n = {
418
419
  function A(v) {
419
420
  xt.value = Ql(d.valueStart) + v;
420
421
  }
421
- const De = hn(A, 60);
422
+ const De = vn(A, 60);
422
423
  ht(() => d.minimapSelectedIndex, (v, m) => {
423
424
  if ([null, void 0].includes(v)) {
424
425
  xt.value = null;
@@ -445,7 +446,7 @@ const _n = {
445
446
  St.value = !0;
446
447
  const m = p(v);
447
448
  Number.isFinite(m) && (cancelAnimationFrame(tl), tl = requestAnimationFrame(() => {
448
- qt.value = m;
449
+ Ut.value = m;
449
450
  }));
450
451
  }
451
452
  let xe = 0;
@@ -483,7 +484,7 @@ const _n = {
483
484
  let st = ll.value - kl;
484
485
  st = Math.max(d.min, Math.min(st, d.max - S));
485
486
  const Et = Math.min(d.max, st + S);
486
- qt.value = st, $t.value = Et, Ut(st), gl(Et), yo(Ne.value, "mouseup"), await Ml(), yo(Ne.value, "mousedown", { clientX: T });
487
+ Ut.value = st, $t.value = Et, qt(st), gl(Et), yo(Ne.value, "mouseup"), await Ml(), yo(Ne.value, "mousedown", { clientX: T });
487
488
  }
488
489
  Ct.value = ce.value, Ma.value = fe.value, Bl.value = ea.value, nt = m ? "touchmove" : "mousemove", ut = m ? "touchend" : "mouseup", it = m ? ol : Xe, pt = m ? Fe : et, window.addEventListener(nt, it, { passive: !1 }), window.addEventListener(ut, pt);
489
490
  };
@@ -504,7 +505,7 @@ const _n = {
504
505
  let T = Math.round(Ct.value + _);
505
506
  T = Math.max(d.min, Math.min(T, d.max - bt.value));
506
507
  const D = T + bt.value;
507
- qt.value = T, $t.value = D, Ut(T), gl(D);
508
+ Ut.value = T, $t.value = D, qt(T), gl(D);
508
509
  }
509
510
  function et() {
510
511
  ta();
@@ -813,8 +814,8 @@ const _n = {
813
814
  width: Nl(_, D),
814
815
  height: T.v >= 0 ? T.y0 - T.y : T.y - T.y0,
815
816
  fill: f.color,
816
- style: C({ opacity: D >= qt.value && D < $t.value ? 1 : 0 })
817
- }, null, 12, Un)) : g("", !0)
817
+ style: C({ opacity: D >= Ut.value && D < $t.value ? 1 : 0 })
818
+ }, null, 12, qn)) : g("", !0)
818
819
  ], 64))), 256))
819
820
  ]))), 256)),
820
821
  (n(!0), u(b, null, L(Je.value.filter((f) => f.type === "line"), (f) => (n(), u("g", {
@@ -828,7 +829,7 @@ const _n = {
828
829
  "stroke-width": "2",
829
830
  "stroke-linecap": "round",
830
831
  "stroke-linejoin": "round"
831
- }, null, 8, qn)) : g("", !0)
832
+ }, null, 8, Un)) : g("", !0)
832
833
  ]))), 128))
833
834
  ])),
834
835
  me.value && $.minimapCompact ? (n(), u("rect", {
@@ -1092,7 +1093,7 @@ const _n = {
1092
1093
  ], 544)
1093
1094
  ], 544));
1094
1095
  }
1095
- }, hu = /* @__PURE__ */ Lo(du, [["__scopeId", "data-v-3e0d2bcb"]]), fu = ["id"], mu = ["id"], gu = ["viewBox", "aria-label"], xu = ["x", "y", "width", "height"], bu = { key: 1 }, yu = { class: "vue-ui-xy-grid" }, pu = ["stroke", "x1", "x2", "y1", "y2"], ku = ["stroke", "x1", "x2", "y1", "y2"], wu = { key: 1 }, Su = ["x1", "x2", "y1", "y2", "stroke"], $u = ["x1", "x2", "y1", "y2", "stroke"], _u = ["x1", "x2", "y1", "y2", "stroke"], Mu = { key: 3 }, Lu = ["d", "stroke"], Cu = { key: 4 }, Au = ["d", "stroke"], Tu = ["id"], zu = ["stop-color"], Iu = ["stop-color"], Nu = ["stop-color"], Pu = ["id"], Fu = ["stop-color"], Ru = ["stop-color"], Ou = ["stop-color"], Vu = ["id"], Bu = ["stop-color"], Eu = ["stop-color"], Hu = ["id"], Du = ["stop-color"], Wu = ["stop-color"], Xu = ["id"], Yu = ["stop-color"], Gu = ["stop-color"], Uu = ["x", "y", "height", "width", "fill"], qu = ["x", "y", "width"], Zu = { key: 0 }, Ku = ["x", "y", "height", "width", "fill"], Ju = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Qu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], ju = ["width", "x", "y"], ei = { key: 0 }, ti = ["id"], li = ["fill"], ai = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], oi = ["x", "y", "font-size", "fill"], ni = ["stroke", "x1", "x2", "y1", "y2"], ui = { key: 3 }, ii = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], si = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], ri = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ci = ["fill", "font-size", "transform"], vi = ["x1", "x2", "y1", "y2", "stroke"], di = ["x", "y", "font-size", "fill"], hi = ["x1", "x2", "y1", "y2", "stroke"], fi = ["x", "y", "font-size", "fill"], mi = ["width", "x", "y"], gi = { style: { width: "100%" } }, xi = { key: 0 }, bi = ["id"], yi = ["fill"], pi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ki = ["x", "y", "font-size", "fill"], wi = ["d", "stroke", "stroke-width", "stroke-dasharray"], Si = ["d", "stroke", "stroke-width", "stroke-dasharray"], $i = { key: 6 }, _i = { key: 7 }, Mi = ["d", "fill", "fill-opacity"], Li = { key: 0 }, Ci = ["d", "fill"], Ai = ["d", "fill"], Ti = ["d", "fill"], zi = ["d", "fill"], Ii = ["d", "stroke", "stroke-width", "stroke-dasharray"], Ni = ["d", "stroke", "stroke-width", "stroke-dasharray"], Pi = ["width", "x", "y"], Fi = { style: { width: "100%" } }, Ri = { key: 3 }, Oi = ["id"], Vi = ["fill"], Bi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ei = ["x", "y", "font-size", "fill"], Hi = { key: 8 }, Di = ["x", "y", "font-size", "fill"], Wi = ["x", "y", "font-size", "fill", "font-weight"], Xi = { key: 9 }, Yi = ["x", "y", "font-size", "fill"], Gi = { key: 10 }, Ui = ["x", "y"], qi = ["innerHTML"], Zi = ["x", "y"], Ki = ["innerHTML"], Ji = ["x1", "x2", "y1", "y2", "stroke"], Qi = { key: 11 }, ji = ["x", "y", "font-size", "fill"], es = { key: 12 }, ts = ["x", "y"], ls = ["innerHTML"], as = ["x", "y"], os = ["innerHTML"], ns = ["x1", "x2", "y1", "y2", "stroke"], us = ["x", "y", "font-size", "fill", "innerHTML"], is = ["x", "y", "font-size", "fill", "innerHTML"], ss = ["x", "y", "font-size", "fill", "innerHTML"], rs = ["x", "y", "font-size", "fill", "innerHTML"], cs = ["id"], vs = ["stop-color"], ds = ["stop-color"], hs = ["x", "y", "width", "height", "fill", "onMouseenter"], fs = ["font-size", "fill", "transform"], ms = ["x", "y", "font-size", "fill"], gs = ["text-anchor", "font-size", "fill", "transform", "onClick"], xs = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], bs = { key: 15 }, ys = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ps = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ks = ["y", "x", "width", "height", "fill"], ws = ["id", "x", "y", "font-size", "fill", "text-anchor"], Ss = {
1096
+ }, hu = /* @__PURE__ */ Lo(du, [["__scopeId", "data-v-3e0d2bcb"]]), fu = ["id"], mu = ["id"], gu = ["viewBox", "aria-label"], xu = ["x", "y", "width", "height"], bu = { key: 1 }, yu = { class: "vue-ui-xy-grid" }, pu = ["stroke", "x1", "x2", "y1", "y2"], ku = ["stroke", "x1", "x2", "y1", "y2"], wu = { key: 1 }, Su = ["x1", "x2", "y1", "y2", "stroke"], $u = ["x1", "x2", "y1", "y2", "stroke"], _u = ["x1", "x2", "y1", "y2", "stroke"], Mu = { key: 3 }, Lu = ["d", "stroke"], Cu = { key: 4 }, Au = ["d", "stroke"], Tu = ["id"], zu = ["stop-color"], Iu = ["stop-color"], Nu = ["stop-color"], Pu = ["id"], Fu = ["stop-color"], Ru = ["stop-color"], Ou = ["stop-color"], Vu = ["id"], Bu = ["stop-color"], Eu = ["stop-color"], Hu = ["id"], Du = ["stop-color"], Wu = ["stop-color"], Xu = ["id"], Yu = ["stop-color"], Gu = ["stop-color"], qu = ["x", "y", "height", "width", "fill"], Uu = ["x", "y", "width"], Zu = { key: 0 }, Ku = ["x", "y", "height", "width", "fill"], Ju = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Qu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], ju = ["width", "x", "y"], ei = { key: 0 }, ti = ["id"], li = ["fill"], ai = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], oi = ["x", "y", "font-size", "fill"], ni = ["stroke", "x1", "x2", "y1", "y2"], ui = { key: 3 }, ii = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], si = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], ri = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ci = ["fill", "font-size", "transform"], vi = ["x1", "x2", "y1", "y2", "stroke"], di = ["x", "y", "font-size", "fill"], hi = ["x1", "x2", "y1", "y2", "stroke"], fi = ["x", "y", "font-size", "fill"], mi = ["width", "x", "y"], gi = { style: { width: "100%" } }, xi = { key: 0 }, bi = ["id"], yi = ["fill"], pi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ki = ["x", "y", "font-size", "fill"], wi = ["d", "stroke", "stroke-width", "stroke-dasharray"], Si = ["d", "stroke", "stroke-width", "stroke-dasharray"], $i = { key: 6 }, _i = { key: 7 }, Mi = ["d", "fill", "fill-opacity"], Li = { key: 0 }, Ci = ["d", "fill"], Ai = ["d", "fill"], Ti = ["d", "fill"], zi = ["d", "fill"], Ii = ["d", "stroke", "stroke-width", "stroke-dasharray"], Ni = ["d", "stroke", "stroke-width", "stroke-dasharray"], Pi = ["width", "x", "y"], Fi = { style: { width: "100%" } }, Ri = { key: 3 }, Oi = ["id"], Vi = ["fill"], Bi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ei = ["x", "y", "font-size", "fill"], Hi = { key: 8 }, Di = ["x", "y", "font-size", "fill"], Wi = ["x", "y", "font-size", "fill", "font-weight"], Xi = { key: 9 }, Yi = ["x", "y", "font-size", "fill"], Gi = { key: 10 }, qi = ["x", "y"], Ui = ["innerHTML"], Zi = ["x", "y"], Ki = ["innerHTML"], Ji = ["x1", "x2", "y1", "y2", "stroke"], Qi = { key: 11 }, ji = ["x", "y", "font-size", "fill"], es = { key: 12 }, ts = ["x", "y"], ls = ["innerHTML"], as = ["x", "y"], os = ["innerHTML"], ns = ["x1", "x2", "y1", "y2", "stroke"], us = ["x", "y", "font-size", "fill", "innerHTML"], is = ["x", "y", "font-size", "fill", "innerHTML"], ss = ["x", "y", "font-size", "fill", "innerHTML"], rs = ["x", "y", "font-size", "fill", "innerHTML"], cs = ["id"], vs = ["stop-color"], ds = ["stop-color"], hs = ["x", "y", "width", "height", "fill", "onMouseenter"], fs = ["font-size", "fill", "transform"], ms = ["x", "y", "font-size", "fill"], gs = ["text-anchor", "font-size", "fill", "transform", "onClick"], xs = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], bs = { key: 15 }, ys = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ps = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ks = ["y", "x", "width", "height", "fill"], ws = ["id", "x", "y", "font-size", "fill", "text-anchor"], Ss = {
1096
1097
  key: 16,
1097
1098
  style: { "pointer-events": "none" }
1098
1099
  }, $s = ["x", "y"], _s = ["innerHTML"], Ms = ["cx", "cy", "r", "fill"], Ls = ["data-start", "data-end"], Cs = {
@@ -1128,7 +1129,7 @@ const _n = {
1128
1129
  viewBox: "0 0 40 40",
1129
1130
  height: "1em",
1130
1131
  width: "1em"
1131
- }, Gs = ["fill"], Us = ["fill"], qs = {
1132
+ }, Gs = ["fill"], qs = ["fill"], Us = {
1132
1133
  key: 2,
1133
1134
  viewBox: "0 0 12 12",
1134
1135
  height: "1em",
@@ -1158,7 +1159,7 @@ const _n = {
1158
1159
  },
1159
1160
  emits: ["selectTimeLabel", "selectX", "selectLegend"],
1160
1161
  setup($, { expose: Sa, emit: $a }) {
1161
- const d = $, Ne = Wt(() => import("./DataTable-CywujQw9.js")), ce = Wt(() => import("./Tooltip-Db9jy0Iu.js")), fe = Wt(() => import("./UserOptions-CtECQwBN.js")), me = Wt(() => import("./BaseIcon-BPiT94Lb.js")), Cl = Wt(() => import("./vue-ui-table-sparkline-DyrnPNGv.js")), St = Wt(() => import("./PackageVersion-BzGzkGiC.js")), Nt = Wt(() => import("./PenAndPaper-Deh70G9d.js")), Kl = Wt(() => import("./BaseDraggableDialog-CkjMZyIs.js")), Ut = $a, gl = Go(), qt = Uo(), { vue_ui_xy: $t } = jo(), Be = y(null), Te = y(null), Ke = y(null), Le = y(null), ft = y(null), _t = y(null), Al = y(null), Zt = y(null), Kt = y(null), Se = y(null), Tl = y(null), zl = y(null), mt = y(null), ne = y(null), Jl = y(0), E = y(null), Jt = y(!0), W = y(600), le = y(1e3), at = y("0 0 1000 600"), Ql = y({ x: 0, y: 0 }), Qt = y({ line: "line", bar: "bar", plot: "plot" }), Ee = y(!1), Pe = y(!1), xl = y(!1), ae = y(null), ve = y([]), Z = y(ga()), Il = y(0), Nl = y(0), Pl = y(0), He = y(!0), gt = y(0), X = y(null), jl = y(!1), Fl = y(!0), bl = y(!0), $e = y(null), ot = y({}), jt = y(null), H = y(!1), Je = y(null), M = y(null), xt = x(() => ({
1162
+ const d = $, Ne = Wt(() => import("./DataTable-xISHA7Pu.js")), ce = Wt(() => import("./Tooltip-Clf2K3CF.js")), fe = Wt(() => import("./UserOptions-Bn3u4JQu.js")), me = Wt(() => import("./BaseIcon-D2f9w5Z5.js")), Cl = Wt(() => import("./vue-ui-table-sparkline-mMpPAUon.js")), St = Wt(() => import("./PackageVersion-DRpg18lg.js")), Nt = Wt(() => import("./PenAndPaper-CtDMyIvW.js")), Kl = Wt(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), qt = $a, gl = Go(), Ut = qo(), { vue_ui_xy: $t } = hn(), Be = y(null), Te = y(null), Ke = y(null), Le = y(null), ft = y(null), _t = y(null), Al = y(null), Zt = y(null), Kt = y(null), Se = y(null), Tl = y(null), zl = y(null), mt = y(null), ne = y(null), Jl = y(0), E = y(null), Jt = y(!0), W = y(600), le = y(1e3), at = y("0 0 1000 600"), Ql = y({ x: 0, y: 0 }), Qt = y({ line: "line", bar: "bar", plot: "plot" }), Ee = y(!1), Pe = y(!1), xl = y(!1), ae = y(null), ve = y([]), Z = y(ga()), Il = y(0), Nl = y(0), Pl = y(0), He = y(!0), gt = y(0), X = y(null), jl = y(!1), Fl = y(!0), bl = y(!0), $e = y(null), ot = y({}), jt = y(null), H = y(!1), Je = y(null), M = y(null), xt = x(() => ({
1162
1163
  height: W.value,
1163
1164
  width: le.value
1164
1165
  }));
@@ -1192,15 +1193,15 @@ const _n = {
1192
1193
  userConfig: d.config,
1193
1194
  defaultConfig: $t
1194
1195
  });
1195
- return d.config && qe(d.config, "chart.highlightArea") && (Array.isArray(d.config.chart.highlightArea) ? l.chart.highlightArea = d.config.chart.highlightArea : l.chart.highlightArea = [d.config.chart.highlightArea]), d.config && qe(d.config, "chart.grid.labels.yAxis.scaleMin") ? l.chart.grid.labels.yAxis.scaleMin = d.config.chart.grid.labels.yAxis.scaleMin : l.chart.grid.labels.yAxis.scaleMin = null, d.config && qe(d.config, "chart.grid.labels.yAxis.scaleMax") ? l.chart.grid.labels.yAxis.scaleMax = d.config.chart.grid.labels.yAxis.scaleMax : l.chart.grid.labels.yAxis.scaleMax = null, d.config && qe(d.config, "chart.zoom.startIndex") ? l.chart.zoom.startIndex = d.config.chart.zoom.startIndex : l.chart.zoom.startIndex = null, d.config && qe(d.config, "chart.zoom.endIndex") ? l.chart.zoom.endIndex = d.config.chart.zoom.endIndex : l.chart.zoom.endIndex = null, d.config && qe(d.config, "chart.grid.labels.yAxis.groupColor") ? l.chart.grid.labels.yAxis.groupColor = d.config.chart.grid.labels.yAxis.groupColor : l.chart.grid.labels.yAxis.groupColor = null, d.config && qe(d.config, "chart.annotations") && Array.isArray(d.config.chart.annotations) && d.config.chart.annotations.length ? l.chart.annotations = d.config.chart.annotations.map((s) => Fa({
1196
+ return d.config && Ue(d.config, "chart.highlightArea") && (Array.isArray(d.config.chart.highlightArea) ? l.chart.highlightArea = d.config.chart.highlightArea : l.chart.highlightArea = [d.config.chart.highlightArea]), d.config && Ue(d.config, "chart.grid.labels.yAxis.scaleMin") ? l.chart.grid.labels.yAxis.scaleMin = d.config.chart.grid.labels.yAxis.scaleMin : l.chart.grid.labels.yAxis.scaleMin = null, d.config && Ue(d.config, "chart.grid.labels.yAxis.scaleMax") ? l.chart.grid.labels.yAxis.scaleMax = d.config.chart.grid.labels.yAxis.scaleMax : l.chart.grid.labels.yAxis.scaleMax = null, d.config && Ue(d.config, "chart.zoom.startIndex") ? l.chart.zoom.startIndex = d.config.chart.zoom.startIndex : l.chart.zoom.startIndex = null, d.config && Ue(d.config, "chart.zoom.endIndex") ? l.chart.zoom.endIndex = d.config.chart.zoom.endIndex : l.chart.zoom.endIndex = null, d.config && Ue(d.config, "chart.grid.labels.yAxis.groupColor") ? l.chart.grid.labels.yAxis.groupColor = d.config.chart.grid.labels.yAxis.groupColor : l.chart.grid.labels.yAxis.groupColor = null, d.config && Ue(d.config, "chart.annotations") && Array.isArray(d.config.chart.annotations) && d.config.chart.annotations.length ? l.chart.annotations = d.config.chart.annotations.map((s) => Fa({
1196
1197
  defaultConfig: $t.chart.annotations[0],
1197
1198
  userConfig: s
1198
- })) : l.chart.annotations = [], d.config && qe(d.config, "chart.grid.position") && d.config.chart.grid.position === "start" && d.dataset.length && d.dataset.some((s) => s.type === "bar") && (l.chart.grid.position = "middle", qe(d.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), d.config && qe(d.config, "chart.grid.labels.yAxis.serieNameFormatter") ? l.chart.grid.labels.yAxis.serieNameFormatter = d.config.chart.grid.labels.yAxis.serieNameFormatter : l.chart.grid.labels.yAxis.serieNameFormatter = null, d.config && qe(d.config, "events.datapointEnter") ? l.events.datapointEnter = d.config.events.datapointEnter : l.events.datapointEnter = null, d.config && qe(d.config, "events.datapointLeave") ? l.events.datapointLeave = d.config.events.datapointLeave : l.events.datapointLeave = null, d.config && qe(d.config, "events.datapointClick") ? l.events.datapointClick = d.config.events.datapointClick : l.events.datapointClick = null, l.theme ? {
1199
+ })) : l.chart.annotations = [], d.config && Ue(d.config, "chart.grid.position") && d.config.chart.grid.position === "start" && d.dataset.length && d.dataset.some((s) => s.type === "bar") && (l.chart.grid.position = "middle", Ue(d.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), d.config && Ue(d.config, "chart.grid.labels.yAxis.serieNameFormatter") ? l.chart.grid.labels.yAxis.serieNameFormatter = d.config.chart.grid.labels.yAxis.serieNameFormatter : l.chart.grid.labels.yAxis.serieNameFormatter = null, d.config && Ue(d.config, "events.datapointEnter") ? l.events.datapointEnter = d.config.events.datapointEnter : l.events.datapointEnter = null, d.config && Ue(d.config, "events.datapointLeave") ? l.events.datapointLeave = d.config.events.datapointLeave : l.events.datapointLeave = null, d.config && Ue(d.config, "events.datapointClick") ? l.events.datapointClick = d.config.events.datapointClick : l.events.datapointClick = null, l.theme ? {
1199
1200
  ...Fa({
1200
- userConfig: cn.vue_ui_xy[l.theme] || d.config,
1201
+ userConfig: wn.vue_ui_xy[l.theme] || d.config,
1201
1202
  defaultConfig: l
1202
1203
  }),
1203
- customPalette: rn[l.theme] || d.palette
1204
+ customPalette: sn[l.theme] || d.palette
1204
1205
  } : l;
1205
1206
  }
1206
1207
  const Mt = x({
@@ -1226,8 +1227,8 @@ const _n = {
1226
1227
  useIndividualScale: t.value.chart.grid.labels.yAxis.useIndividualScale
1227
1228
  }, el.value = !0);
1228
1229
  }
1229
- const Lt = x(() => !!t.value.debug), { loading: xe, FINAL_DATASET: _e, manualLoading: bt } = gn({
1230
- ...qo(d),
1230
+ const Lt = x(() => !!t.value.debug), { loading: xe, FINAL_DATASET: _e, manualLoading: bt } = mn({
1231
+ ...Uo(d),
1231
1232
  FINAL_CONFIG: t,
1232
1233
  prepareConfig: Ol,
1233
1234
  callback: () => {
@@ -1250,7 +1251,7 @@ const _n = {
1250
1251
  color: "#CACACA"
1251
1252
  }
1252
1253
  ],
1253
- skeletonConfig: en({
1254
+ skeletonConfig: jo({
1254
1255
  defaultConfig: t.value,
1255
1256
  userConfig: {
1256
1257
  useCssAnimation: !1,
@@ -1361,11 +1362,11 @@ const _n = {
1361
1362
  const s = l - w.value.start;
1362
1363
  s < 0 || l >= w.value.end ? M.value = null : M.value = s ?? null;
1363
1364
  }, { immediate: !0 });
1364
- const { isPrinting: Bl, isImaging: nt, generatePdf: ut, generateImage: it } = mn({
1365
+ const { isPrinting: Bl, isImaging: nt, generatePdf: ut, generateImage: it } = fn({
1365
1366
  elementId: `vue-ui-xy_${Z.value}`,
1366
1367
  fileName: t.value.chart.title.text || "vue-ui-xy",
1367
1368
  options: t.value.chart.userOptions.print
1368
- }), pt = y(!1), ll = x(() => tn(t.value.customPalette)), Rt = x(() => {
1369
+ }), pt = y(!1), ll = x(() => en(t.value.customPalette)), Rt = x(() => {
1369
1370
  if (t.value.chart.grid.labels.yAxis.scaleMin !== null)
1370
1371
  return t.value.chart.grid.labels.yAxis.scaleMin;
1371
1372
  const l = Math.min(...je.value.filter((s) => !ve.value.includes(s.id)).map((s) => Math.min(...s.series)));
@@ -1375,7 +1376,7 @@ const _n = {
1375
1376
  return t.value.chart.grid.labels.yAxis.scaleMax;
1376
1377
  const l = Math.max(...je.value.filter((s) => !ve.value.includes(s.id)).map((s) => Math.max(...s.series)));
1377
1378
  return Rt.value === l ? l + 1 : l;
1378
- }), Xe = x(() => t.value.chart.grid.labels.yAxis.useNiceScale ? ql(Rt.value, al.value < 0 ? 0 : al.value, t.value.chart.grid.labels.yAxis.commonScaleSteps) : hl(Rt.value, al.value < 0 ? 0 : al.value, t.value.chart.grid.labels.yAxis.commonScaleSteps)), ol = x(() => [null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) ? Xe.value.min >= 0 ? 0 : Math.abs(Xe.value.min) : -Xe.value.min), je = x(() => Jt.value ? _e.value.map((l, s) => {
1379
+ }), Xe = x(() => t.value.chart.grid.labels.yAxis.useNiceScale ? Ul(Rt.value, al.value < 0 ? 0 : al.value, t.value.chart.grid.labels.yAxis.commonScaleSteps) : hl(Rt.value, al.value < 0 ? 0 : al.value, t.value.chart.grid.labels.yAxis.commonScaleSteps)), ol = x(() => [null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) ? Xe.value.min >= 0 ? 0 : Math.abs(Xe.value.min) : -Xe.value.min), je = x(() => Jt.value ? _e.value.map((l, s) => {
1379
1380
  const e = yt(l.series), i = `uniqueId_${s}`;
1380
1381
  return {
1381
1382
  ...l,
@@ -1460,7 +1461,7 @@ const _n = {
1460
1461
  }).filter(Boolean).join(" ");
1461
1462
  });
1462
1463
  function pl() {
1463
- return !!qt?.vnode.props?.onSelectTimeLabel;
1464
+ return !!Ut?.vnode.props?.onSelectTimeLabel;
1464
1465
  }
1465
1466
  function la(l, s, e) {
1466
1467
  if (!jt.value) {
@@ -1530,17 +1531,17 @@ const _n = {
1530
1531
  if (!O.length)
1531
1532
  return i.map((Y, B) => ({ text: "", absoluteIndex: B }));
1532
1533
  const z = O.length, N = R, ee = Math.max(2, Math.min(N - 3, z)), I = Math.min(z, N + 3);
1533
- let U = Math.min(N, z), V = 1 / 0;
1534
+ let q = Math.min(N, z), V = 1 / 0;
1534
1535
  for (let Y = ee; Y <= I; Y += 1) {
1535
1536
  const B = (z - 1) % (Y - 1), se = Math.abs(Y - N), Oe = B * 10 + se;
1536
- Oe < V && (V = Oe, U = Y);
1537
+ Oe < V && (V = Oe, q = Y);
1537
1538
  }
1538
1539
  const he = /* @__PURE__ */ new Set();
1539
- if (U <= 1)
1540
+ if (q <= 1)
1540
1541
  he.add(O[Math.round((z - 1) / 2)]);
1541
1542
  else {
1542
- const Y = (z - 1) / (U - 1);
1543
- for (let B = 0; B < U; B += 1)
1543
+ const Y = (z - 1) / (q - 1);
1544
+ for (let B = 0; B < q; B += 1)
1544
1545
  he.add(O[Math.round(B * Y)]);
1545
1546
  }
1546
1547
  return i.map((Y, B) => ({
@@ -1571,7 +1572,7 @@ const _n = {
1571
1572
  prefix: i.prefix || t.value.chart.labels.prefix,
1572
1573
  suffix: i.suffix || t.value.chart.labels.suffix
1573
1574
  }));
1574
- Ut("selectTimeLabel", {
1575
+ qt("selectTimeLabel", {
1575
1576
  datapoint: e,
1576
1577
  absoluteIndex: l.absoluteIndex,
1577
1578
  label: l.text
@@ -1635,10 +1636,10 @@ const _n = {
1635
1636
  const ze = x(() => isNaN(sl(ol.value)) ? c.value.bottom : c.value.bottom - c.value.height * sl(ol.value));
1636
1637
  function Ba(l) {
1637
1638
  const s = ![null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) && t.value.chart.grid.labels.yAxis.scaleMin > 0 && Rt.value >= 0 ? c.value.bottom : ze.value;
1638
- return l.value >= 0 ? q(s - l.y <= 0 ? 1e-5 : s - l.y) : q(l.y - ze.value <= 0 ? 1e-5 : l.y - ze.value);
1639
+ return l.value >= 0 ? U(s - l.y <= 0 ? 1e-5 : s - l.y) : U(l.y - ze.value <= 0 ? 1e-5 : l.y - ze.value);
1639
1640
  }
1640
1641
  function Ea(l) {
1641
- return l.value >= 0 ? q(l.zeroPosition - l.y <= 0 ? 1e-5 : l.zeroPosition - l.y) : q(l.y - l.zeroPosition <= 0 ? 1e-5 : l.zeroPosition - l.y);
1642
+ return l.value >= 0 ? U(l.zeroPosition - l.y <= 0 ? 1e-5 : l.zeroPosition - l.y) : U(l.y - l.zeroPosition <= 0 ? 1e-5 : l.zeroPosition - l.y);
1642
1643
  }
1643
1644
  const de = x(() => {
1644
1645
  const l = Math.max(1, S.value), s = Math.max(1, c.value.width), e = Math.max(1, je.value.filter((i) => i.type === "bar" && !ve.value.includes(i.id)).length);
@@ -1718,7 +1719,7 @@ const _n = {
1718
1719
  color: e.color,
1719
1720
  type: e.type
1720
1721
  }));
1721
- Ut(
1722
+ qt(
1722
1723
  "selectX",
1723
1724
  {
1724
1725
  dataset: s,
@@ -1737,7 +1738,7 @@ const _n = {
1737
1738
  }
1738
1739
  async function To({ scale: l = 2 } = {}) {
1739
1740
  if (!Be.value) return;
1740
- const { width: s, height: e } = Be.value.getBoundingClientRect(), i = s / e, { imageUri: a, base64: r } = await kn({ domElement: Be.value, base64: !0, img: !0, scale: l });
1741
+ const { width: s, height: e } = Be.value.getBoundingClientRect(), i = s / e, { imageUri: a, base64: r } = await pn({ domElement: Be.value, base64: !0, img: !0, scale: l });
1741
1742
  return {
1742
1743
  imageUri: a,
1743
1744
  base64: r,
@@ -1754,7 +1755,7 @@ const _n = {
1754
1755
  if (ve.value.length + 1 === je.value.length) return;
1755
1756
  ve.value.push(l.id);
1756
1757
  }
1757
- Ut("selectLegend", Fe.value.map((s) => ({
1758
+ qt("selectLegend", Fe.value.map((s) => ({
1758
1759
  name: s.name,
1759
1760
  values: s.absoluteValues,
1760
1761
  color: s.color,
@@ -1764,7 +1765,7 @@ const _n = {
1764
1765
  const zo = x(() => {
1765
1766
  const l = t.value.chart.title.text || "Chart visualization", s = t.value.chart.title.subtitle.text || "";
1766
1767
  return `${l}. ${s}`;
1767
- }), Ua = x(() => ({
1768
+ }), qa = x(() => ({
1768
1769
  linePlot: S.value > t.value.line.dot.hideAboveMaxSerieLength
1769
1770
  })), Io = x(() => t.value.chart.userOptions.show && (!t.value.chart.title.show || !t.value.chart.title.text)), No = x(() => {
1770
1771
  if (Array.isArray(t.value.chart.highlightArea))
@@ -1780,7 +1781,7 @@ const _n = {
1780
1781
  to: Math.min(t.value.chart.highlightArea.to, Qe.value - 1)
1781
1782
  };
1782
1783
  return [{ ...l, span: l.from === l.to ? 1 : l.to < l.from ? 0 : l.to - l.from + 1 }];
1783
- }), qa = x(() => Jt.value ? _e.value.map((l, s) => ({
1784
+ }), Ua = x(() => Jt.value ? _e.value.map((l, s) => ({
1784
1785
  ...l,
1785
1786
  series: yt(l.series),
1786
1787
  id: `uniqueId_${s}`,
@@ -1819,7 +1820,7 @@ const _n = {
1819
1820
  sparkline: {
1820
1821
  animation: { show: !1 }
1821
1822
  }
1822
- })), ue = x(() => t.value.chart.grid.position === "middle" ? 0 : c.value.width / S.value / 2), cl = x(() => ln(et.value.filter((l) => !ve.value.includes(l.id)))), P = x(() => {
1823
+ })), ue = x(() => t.value.chart.grid.position === "middle" ? 0 : c.value.width / S.value / 2), cl = x(() => tn(et.value.filter((l) => !ve.value.includes(l.id)))), P = x(() => {
1823
1824
  const l = Object.groupBy(cl.value, (e) => e.scaleLabel), s = {};
1824
1825
  for (const [e, i] of Object.entries(l)) {
1825
1826
  const a = i.flatMap((r) => r.absoluteValues);
@@ -1835,12 +1836,12 @@ const _n = {
1835
1836
  return c.value.width / S.value / l - ia.value * l;
1836
1837
  }), ia = x(() => de.value.line * t.value.bar.periodGap), sa = x(() => Math.max(1e-5, wl() - (p.value.useIndividualScale && p.value.isStacked ? 0 : ia.value))), ra = x(() => sa.value * Math.min(Math.abs(t.value.bar.innerGap), 0.95)), Oo = x(() => {
1837
1838
  if (!t.value.chart.zoom.minimap.show) return [];
1838
- const l = qa.value.filter((a) => !ve.value.includes(a.id)), s = Math.max(...l.map((a) => a.series.length)), e = [];
1839
+ const l = Ua.value.filter((a) => !ve.value.includes(a.id)), s = Math.max(...l.map((a) => a.series.length)), e = [];
1839
1840
  for (let a = 0; a < s; a += 1)
1840
1841
  e.push(l.map((r) => r.series[a] || 0).reduce((r, o) => (r || 0) + (o || 0), 0));
1841
1842
  const i = Math.min(...e);
1842
1843
  return e.map((a) => a + (i < 0 ? Math.abs(i) : 0));
1843
- }), Vo = x(() => t.value.chart.zoom.minimap.show ? qa.value.map((s) => ({
1844
+ }), Vo = x(() => t.value.chart.zoom.minimap.show ? Ua.value.map((s) => ({
1844
1845
  ...s,
1845
1846
  isVisible: !ve.value.includes(s.id)
1846
1847
  })) : []), zt = x(() => Fe.value.map((l) => ({
@@ -1870,7 +1871,7 @@ const _n = {
1870
1871
  return a - N * r;
1871
1872
  };
1872
1873
  return s.map((z) => {
1873
- const { yAxis: { yTop: N, yBottom: ee, label: I } } = z, U = N != null && ee != null && N !== ee, V = N == null ? null : O(N), he = ee == null ? null : O(ee), Y = la(I.fontSize);
1874
+ const { yAxis: { yTop: N, yBottom: ee, label: I } } = z, q = N != null && ee != null && N !== ee, V = N == null ? null : O(N), he = ee == null ? null : O(ee), Y = la(I.fontSize);
1874
1875
  Y.font = `${I.fontSize}px sans-serif`;
1875
1876
  const B = Y.measureText(I.text).width, se = I.fontSize, Oe = (I.position === "start" ? e + I.padding.left : i - I.padding.right) + I.offsetX, Ge = (V != null && he != null ? Math.min(V, he) : V ?? he) - I.fontSize / 3 + I.offsetY - I.padding.top;
1876
1877
  let J;
@@ -1879,8 +1880,8 @@ const _n = {
1879
1880
  return {
1880
1881
  show: ![V, he, Q].includes(NaN),
1881
1882
  id: `annotation_y_${ga()}`,
1882
- hasArea: U,
1883
- areaHeight: U ? Math.abs(V - he) : 0,
1883
+ hasArea: q,
1884
+ areaHeight: q ? Math.abs(V - he) : 0,
1884
1885
  yTop: V,
1885
1886
  yBottom: he,
1886
1887
  config: z.yAxis,
@@ -1918,31 +1919,31 @@ const _n = {
1918
1919
  }, N = {
1919
1920
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
1920
1921
  min: o.scaleMin || Math.min(...o.absoluteValues.filter((K) => ![void 0, null].includes(K))) > 0 ? 0 : Math.min(...o.absoluteValues.filter((K) => ![null, void 0].includes(K)))
1921
- }, ee = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, U = t.value.chart.grid.labels.yAxis.useNiceScale ? ql(N.min, N.max === N.min ? N.max * I : N.max, ee) : hl(N.min, N.max === N.min ? N.max * I : N.max, ee), V = t.value.chart.grid.labels.yAxis.useNiceScale ? ql(z.valueMin, z.valueMax === z.valueMin ? z.valueMax * I : z.valueMax, ee) : hl(z.valueMin, z.valueMax === z.valueMin ? z.valueMax * I : z.valueMax, ee), he = U.min >= 0 ? 0 : Math.abs(U.min), Y = 0, B = U.max + he, se = V.max + Math.abs(Y), Oe = o.stackIndex, $l = s - 1 - Oe, Ge = i ? 1 - o.cumulatedStackRatio : 0, J = i ? r * Ge + e * $l : 0, Q = i ? r * o.stackRatio : c.value.height, be = c.value.bottom - J - Q * he / B, Ue = c.value.bottom - J - Q * Y / se, Ie = et.value.filter((K) => K.type === "bar").filter((K) => !ve.value.includes(K.id)).length, Gl = o.series.map((K, pe) => {
1922
+ }, ee = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, q = t.value.chart.grid.labels.yAxis.useNiceScale ? Ul(N.min, N.max === N.min ? N.max * I : N.max, ee) : hl(N.min, N.max === N.min ? N.max * I : N.max, ee), V = t.value.chart.grid.labels.yAxis.useNiceScale ? Ul(z.valueMin, z.valueMax === z.valueMin ? z.valueMax * I : z.valueMax, ee) : hl(z.valueMin, z.valueMax === z.valueMin ? z.valueMax * I : z.valueMax, ee), he = q.min >= 0 ? 0 : Math.abs(q.min), Y = 0, B = q.max + he, se = V.max + Math.abs(Y), Oe = o.stackIndex, $l = s - 1 - Oe, Ge = i ? 1 - o.cumulatedStackRatio : 0, J = i ? r * Ge + e * $l : 0, Q = i ? r * o.stackRatio : c.value.height, be = c.value.bottom - J - Q * he / B, qe = c.value.bottom - J - Q * Y / se, Ie = et.value.filter((K) => K.type === "bar").filter((K) => !ve.value.includes(K.id)).length, Gl = o.series.map((K, pe) => {
1922
1923
  const Dt = p.value.useIndividualScale ? (o.absoluteValues[pe] + he) / B : sl(K), vl = p.value.useIndividualScale && p.value.isStacked ? c.value.left + c.value.width / S.value * pe : c.value.left + de.value.bar * F + de.value.bar * pe * Ie - Ro.value / 2 - F * ia.value;
1923
1924
  return {
1924
- yOffset: q(J),
1925
- individualHeight: q(Q),
1926
- x: q(vl),
1925
+ yOffset: U(J),
1926
+ individualHeight: U(Q),
1927
+ x: U(vl),
1927
1928
  y: c.value.bottom - J - Q * Dt,
1928
1929
  value: o.absoluteValues[pe],
1929
- zeroPosition: q(be),
1930
- individualMax: q(B),
1930
+ zeroPosition: U(be),
1931
+ individualMax: U(B),
1931
1932
  comment: o.comments && o.comments.slice(w.value.start, w.value.end)[pe] || ""
1932
1933
  };
1933
1934
  }), Ve = o.absoluteValues.map((K) => V.min >= 0 ? (K - Math.abs(V.min)) / (V.max - Math.abs(V.min)) : (K + Math.abs(V.min)) / (V.max + Math.abs(V.min))), Ht = o.series.map((K, pe) => {
1934
1935
  const Dt = p.value.useIndividualScale && p.value.isStacked ? c.value.left + c.value.width / S.value * pe : c.value.left - de.value.bar / 2 + de.value.bar * F + de.value.bar * pe * et.value.filter((vl) => vl.type === "bar").filter((vl) => !ve.value.includes(vl.id)).length;
1935
1936
  return {
1936
- yOffset: q(J),
1937
- individualHeight: q(Q),
1938
- x: q(Dt),
1939
- y: q(c.value.bottom - q(J) - (q(Q) * Ve[pe] || 0)),
1937
+ yOffset: U(J),
1938
+ individualHeight: U(Q),
1939
+ x: U(Dt),
1940
+ y: U(c.value.bottom - U(J) - (U(Q) * Ve[pe] || 0)),
1940
1941
  value: o.absoluteValues[pe],
1941
- zeroPosition: q(be),
1942
- individualMax: q(B),
1942
+ zeroPosition: U(be),
1943
+ individualMax: U(B),
1943
1944
  comment: o.comments && o.comments.slice(w.value.start, w.value.end)[pe] || ""
1944
1945
  };
1945
- }), oe = U.ticks.map((K) => ({
1946
+ }), oe = q.ticks.map((K) => ({
1946
1947
  y: K >= 0 ? be - Q * (K / B) : be + Q * Math.abs(K) / B,
1947
1948
  value: K,
1948
1949
  prefix: o.prefix || t.value.chart.labels.prefix,
@@ -1951,22 +1952,22 @@ const _n = {
1951
1952
  })), ye = V.ticks.map((K) => {
1952
1953
  const pe = (K - V.min) / (V.max - V.min);
1953
1954
  return {
1954
- y: K >= 0 ? Ue - Q * pe : Ue + Q * pe,
1955
+ y: K >= 0 ? qe - Q * pe : qe + Q * pe,
1955
1956
  value: K,
1956
1957
  prefix: o.prefix || t.value.chart.labels.prefix,
1957
1958
  suffix: o.suffix || t.value.chart.labels.suffix,
1958
1959
  datapoint: o
1959
1960
  };
1960
1961
  });
1961
- return P.value[o.scaleLabel].name = o.name, P.value[o.scaleLabel].groupName = o.scaleLabel, P.value[o.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || o.color, P.value[o.scaleLabel].color = o.color, P.value[o.scaleLabel].scaleYLabels = o.autoScaling ? ye : oe, P.value[o.scaleLabel].zeroPosition = o.autoScaling ? Ue : be, P.value[o.scaleLabel].individualMax = o.autoScaling ? se : B, P.value[o.scaleLabel].scaleLabel = o.scaleLabel, P.value[o.scaleLabel].id = o.id, P.value[o.scaleLabel].yOffset = J, P.value[o.scaleLabel].individualHeight = Q, P.value[o.scaleLabel].autoScaleYLabels = ye, P.value[o.scaleLabel].unique = cl.value.filter((K) => K.scaleLabel === o.scaleLabel).length === 1, {
1962
+ return P.value[o.scaleLabel].name = o.name, P.value[o.scaleLabel].groupName = o.scaleLabel, P.value[o.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || o.color, P.value[o.scaleLabel].color = o.color, P.value[o.scaleLabel].scaleYLabels = o.autoScaling ? ye : oe, P.value[o.scaleLabel].zeroPosition = o.autoScaling ? qe : be, P.value[o.scaleLabel].individualMax = o.autoScaling ? se : B, P.value[o.scaleLabel].scaleLabel = o.scaleLabel, P.value[o.scaleLabel].id = o.id, P.value[o.scaleLabel].yOffset = J, P.value[o.scaleLabel].individualHeight = Q, P.value[o.scaleLabel].autoScaleYLabels = ye, P.value[o.scaleLabel].unique = cl.value.filter((K) => K.scaleLabel === o.scaleLabel).length === 1, {
1962
1963
  ...o,
1963
1964
  yOffset: J,
1964
1965
  autoScaleYLabels: ye,
1965
1966
  individualHeight: Q,
1966
1967
  scaleYLabels: o.autoScaling ? ye : oe,
1967
- individualScale: o.autoScaling ? V : U,
1968
+ individualScale: o.autoScaling ? V : q,
1968
1969
  individualMax: o.autoScaling ? se : B,
1969
- zeroPosition: o.autoScaling ? Ue : be,
1970
+ zeroPosition: o.autoScaling ? qe : be,
1970
1971
  plots: o.autoScaling ? Ht : Gl,
1971
1972
  groupId: P.value[o.scaleLabel].groupId
1972
1973
  };
@@ -1983,25 +1984,25 @@ const _n = {
1983
1984
  }, N = {
1984
1985
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
1985
1986
  min: o.scaleMin || (Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues))
1986
- }, ee = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, U = t.value.chart.grid.labels.yAxis.useNiceScale ? ql(N.min, N.max === N.min ? N.max * I : N.max, ee) : hl(N.min, N.max === N.min ? N.max * I : N.max, ee), V = t.value.chart.grid.labels.yAxis.useNiceScale ? ql(z.valueMin, z.valueMax === z.valueMin ? z.valueMax * I : z.valueMax, ee) : hl(z.valueMin, z.valueMax === z.valueMin ? z.valueMax * I : z.valueMax, ee), he = U.min >= 0 ? 0 : Math.abs(U.min), Y = 0, B = U.max + Math.abs(he), se = V.max + Math.abs(Y), Oe = o.stackIndex, $l = s - 1 - Oe, Ge = i ? 1 - o.cumulatedStackRatio : 0, J = i ? r * Ge + e * $l : 0, Q = i ? r * o.stackRatio : c.value.height, be = c.value.bottom - J - Q * he / B, Ue = c.value.bottom - J - Q * Y / se, Ie = o.series.map((G, Ce) => {
1987
+ }, ee = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, q = t.value.chart.grid.labels.yAxis.useNiceScale ? Ul(N.min, N.max === N.min ? N.max * I : N.max, ee) : hl(N.min, N.max === N.min ? N.max * I : N.max, ee), V = t.value.chart.grid.labels.yAxis.useNiceScale ? Ul(z.valueMin, z.valueMax === z.valueMin ? z.valueMax * I : z.valueMax, ee) : hl(z.valueMin, z.valueMax === z.valueMin ? z.valueMax * I : z.valueMax, ee), he = q.min >= 0 ? 0 : Math.abs(q.min), Y = 0, B = q.max + Math.abs(he), se = V.max + Math.abs(Y), Oe = o.stackIndex, $l = s - 1 - Oe, Ge = i ? 1 - o.cumulatedStackRatio : 0, J = i ? r * Ge + e * $l : 0, Q = i ? r * o.stackRatio : c.value.height, be = c.value.bottom - J - Q * he / B, qe = c.value.bottom - J - Q * Y / se, Ie = o.series.map((G, Ce) => {
1987
1988
  const Xo = p.value.useIndividualScale ? (o.absoluteValues[Ce] + Math.abs(he)) / B : sl(G);
1988
1989
  return {
1989
- x: q(c.value.left + de.value.line / 2 + de.value.line * Ce),
1990
- y: q(c.value.bottom - J - Q * Xo),
1990
+ x: U(c.value.left + de.value.line / 2 + de.value.line * Ce),
1991
+ y: U(c.value.bottom - J - Q * Xo),
1991
1992
  value: o.absoluteValues[Ce],
1992
1993
  comment: o.comments && o.comments.slice(w.value.start, w.value.end)[Ce] || ""
1993
1994
  };
1994
1995
  }), Gl = o.absoluteValues.map((G) => V.min >= 0 ? (G - Math.abs(V.min)) / (V.max - Math.abs(V.min)) : (G + Math.abs(V.min)) / (V.max + Math.abs(V.min))), Ve = o.series.map((G, Ce) => [void 0, null].includes(o.absoluteValues[Ce]) ? {
1995
- x: q(c.value.left + de.value.line / 2 + de.value.line * Ce),
1996
+ x: U(c.value.left + de.value.line / 2 + de.value.line * Ce),
1996
1997
  y: be,
1997
1998
  value: o.absoluteValues[Ce],
1998
1999
  comment: o.comments && o.comments.slice(w.value.start, w.value.end)[Ce] || ""
1999
2000
  } : {
2000
- x: q(c.value.left + de.value.line / 2 + de.value.line * Ce),
2001
- y: q(c.value.bottom - J - (Q * Gl[Ce] || 0)),
2001
+ x: U(c.value.left + de.value.line / 2 + de.value.line * Ce),
2002
+ y: U(c.value.bottom - J - (Q * Gl[Ce] || 0)),
2002
2003
  value: o.absoluteValues[Ce],
2003
2004
  comment: o.comments && o.comments.slice(w.value.start, w.value.end)[Ce] || ""
2004
- }), Ht = t.value.line.cutNullValues ? ya(Ie) : pa(Ie.filter((G) => G.value !== null)), oe = t.value.line.cutNullValues ? ya(Ve) : pa(Ve.filter((G) => G.value !== null)), ye = t.value.line.cutNullValues ? ka(Ie) : wa(Ie.filter((G) => G.value !== null)), K = t.value.line.cutNullValues ? ka(Ve) : wa(Ve.filter((G) => G.value !== null)), pe = U.ticks.map((G) => ({
2005
+ }), Ht = t.value.line.cutNullValues ? ya(Ie) : pa(Ie.filter((G) => G.value !== null)), oe = t.value.line.cutNullValues ? ya(Ve) : pa(Ve.filter((G) => G.value !== null)), ye = t.value.line.cutNullValues ? ka(Ie) : wa(Ie.filter((G) => G.value !== null)), K = t.value.line.cutNullValues ? ka(Ve) : wa(Ve.filter((G) => G.value !== null)), pe = q.ticks.map((G) => ({
2005
2006
  y: G >= 0 ? be - Q * (G / B) : be + Q * Math.abs(G) / B,
2006
2007
  value: G,
2007
2008
  prefix: o.prefix || t.value.chart.labels.prefix,
@@ -2010,36 +2011,36 @@ const _n = {
2010
2011
  })), Dt = V.ticks.map((G) => {
2011
2012
  const Ce = (G - V.min) / (V.max - V.min);
2012
2013
  return {
2013
- y: G >= 0 ? Ue - Q * Ce : Ue + Q * Ce,
2014
+ y: G >= 0 ? qe - Q * Ce : qe + Q * Ce,
2014
2015
  value: G,
2015
2016
  prefix: o.prefix || t.value.chart.labels.prefix,
2016
2017
  suffix: o.suffix || t.value.chart.labels.suffix,
2017
2018
  datapoint: o
2018
2019
  };
2019
2020
  });
2020
- P.value[o.scaleLabel].name = o.name, P.value[o.scaleLabel].groupName = o.scaleLabel, P.value[o.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || o.color, P.value[o.scaleLabel].color = o.color, P.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Dt : pe, P.value[o.scaleLabel].zeroPosition = o.autoScaling ? Ue : be, P.value[o.scaleLabel].individualMax = o.autoScaling ? se : B, P.value[o.scaleLabel].scaleLabel = o.scaleLabel, P.value[o.scaleLabel].id = o.id, P.value[o.scaleLabel].yOffset = J, P.value[o.scaleLabel].individualHeight = Q, P.value[o.scaleLabel].autoScaleYLabels = Dt, P.value[o.scaleLabel].unique = cl.value.filter((G) => G.scaleLabel === o.scaleLabel).length === 1;
2021
- const vl = p.value.useIndividualScale ? o.autoScaling ? Ue : be : ze.value, Ul = Math.max(Math.max(o.autoScaling ? Ue : pe.at(-1) ? pe.at(-1).y : 0, c.value.top), vl);
2021
+ P.value[o.scaleLabel].name = o.name, P.value[o.scaleLabel].groupName = o.scaleLabel, P.value[o.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || o.color, P.value[o.scaleLabel].color = o.color, P.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Dt : pe, P.value[o.scaleLabel].zeroPosition = o.autoScaling ? qe : be, P.value[o.scaleLabel].individualMax = o.autoScaling ? se : B, P.value[o.scaleLabel].scaleLabel = o.scaleLabel, P.value[o.scaleLabel].id = o.id, P.value[o.scaleLabel].yOffset = J, P.value[o.scaleLabel].individualHeight = Q, P.value[o.scaleLabel].autoScaleYLabels = Dt, P.value[o.scaleLabel].unique = cl.value.filter((G) => G.scaleLabel === o.scaleLabel).length === 1;
2022
+ const vl = p.value.useIndividualScale ? o.autoScaling ? qe : be : ze.value, ql = Math.max(Math.max(o.autoScaling ? qe : pe.at(-1) ? pe.at(-1).y : 0, c.value.top), vl);
2022
2023
  return {
2023
2024
  ...o,
2024
2025
  yOffset: J,
2025
2026
  autoScaleYLabels: Dt,
2026
2027
  individualHeight: Q,
2027
2028
  scaleYLabels: o.autoScaling ? Dt : pe,
2028
- individualScale: o.autoScaling ? V : U,
2029
+ individualScale: o.autoScaling ? V : q,
2029
2030
  individualMax: o.autoScaling ? se : B,
2030
- zeroPosition: o.autoScaling ? Ue : be,
2031
+ zeroPosition: o.autoScaling ? qe : be,
2031
2032
  curve: o.autoScaling ? oe : Ht,
2032
2033
  plots: o.autoScaling ? Ve : Ie,
2033
2034
  area: o.useArea ? p.value.useIndividualScale ? t.value.line.cutNullValues ? wo(
2034
2035
  o.autoScaling ? Ve : Ie,
2035
- Ul
2036
+ ql
2036
2037
  ) : So(
2037
2038
  o.autoScaling ? Ve.filter((G) => G.value !== null) : Ie.filter((G) => G.value !== null),
2038
- Ul
2039
- ) : t.value.line.cutNullValues ? wo(Ie, Ul) : So(Ie.filter((G) => G.value !== null), Ul) : "",
2040
- curveAreas: o.useArea ? an(
2039
+ ql
2040
+ ) : t.value.line.cutNullValues ? wo(Ie, ql) : So(Ie.filter((G) => G.value !== null), ql) : "",
2041
+ curveAreas: o.useArea ? ln(
2041
2042
  o.autoScaling ? t.value.line.cutNullValues ? Ve : Ve.filter((G) => G.value !== null) : t.value.line.cutNullValues ? Ie : Ie.filter((G) => G.value !== null),
2042
- Ul,
2043
+ ql,
2043
2044
  t.value.line.cutNullValues
2044
2045
  ) : [],
2045
2046
  straight: o.autoScaling ? K : ye,
@@ -2058,17 +2059,17 @@ const _n = {
2058
2059
  }, z = {
2059
2060
  max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
2060
2061
  min: o.scaleMin || Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues)
2061
- }, N = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, ee = 1.0000001, I = hl(z.min, z.max === z.min ? z.max * ee : z.max, N), U = hl(O.valueMin, O.valueMax === O.valueMin ? O.valueMax * ee : O.valueMax, N), V = I.min >= 0 ? 0 : Math.abs(I.min), he = 0, Y = I.max + V, B = U.max + Math.abs(he), se = o.stackIndex, Oe = s - 1 - se, $l = i ? 1 - o.cumulatedStackRatio : 0, Ge = i ? r * $l + e * Oe : 0, J = i ? r * o.stackRatio : c.value.height, Q = c.value.bottom - Ge - J * V / Y, be = c.value.bottom - Ge - J * he / B, Ue = o.series.map((oe, ye) => {
2062
+ }, N = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, ee = 1.0000001, I = hl(z.min, z.max === z.min ? z.max * ee : z.max, N), q = hl(O.valueMin, O.valueMax === O.valueMin ? O.valueMax * ee : O.valueMax, N), V = I.min >= 0 ? 0 : Math.abs(I.min), he = 0, Y = I.max + V, B = q.max + Math.abs(he), se = o.stackIndex, Oe = s - 1 - se, $l = i ? 1 - o.cumulatedStackRatio : 0, Ge = i ? r * $l + e * Oe : 0, J = i ? r * o.stackRatio : c.value.height, Q = c.value.bottom - Ge - J * V / Y, be = c.value.bottom - Ge - J * he / B, qe = o.series.map((oe, ye) => {
2062
2063
  const K = p.value.useIndividualScale ? (o.absoluteValues[ye] + Math.abs(V)) / Y : sl(oe);
2063
2064
  return {
2064
- x: q(c.value.left + de.value.plot / 2 + de.value.plot * ye),
2065
- y: q(c.value.bottom - Ge - J * K),
2065
+ x: U(c.value.left + de.value.plot / 2 + de.value.plot * ye),
2066
+ y: U(c.value.bottom - Ge - J * K),
2066
2067
  value: o.absoluteValues[ye],
2067
2068
  comment: o.comments && o.comments.slice(w.value.start, w.value.end)[ye] || ""
2068
2069
  };
2069
- }), Ie = o.absoluteValues.map((oe) => U.min >= 0 ? (oe - Math.abs(U.min)) / (U.max - Math.abs(U.min)) : (oe + Math.abs(U.min)) / (U.max + Math.abs(U.min))), Gl = o.series.map((oe, ye) => ({
2070
- x: q(c.value.left + de.value.plot / 2 + de.value.plot * ye),
2071
- y: q(c.value.bottom - Ge - (J * Ie[ye] || 0)),
2070
+ }), Ie = o.absoluteValues.map((oe) => q.min >= 0 ? (oe - Math.abs(q.min)) / (q.max - Math.abs(q.min)) : (oe + Math.abs(q.min)) / (q.max + Math.abs(q.min))), Gl = o.series.map((oe, ye) => ({
2071
+ x: U(c.value.left + de.value.plot / 2 + de.value.plot * ye),
2072
+ y: U(c.value.bottom - Ge - (J * Ie[ye] || 0)),
2072
2073
  value: o.absoluteValues[ye],
2073
2074
  comment: o.comments && o.comments.slice(w.value.start, w.value.end)[ye] || ""
2074
2075
  })), Ve = I.ticks.map((oe) => ({
@@ -2077,8 +2078,8 @@ const _n = {
2077
2078
  prefix: o.prefix || t.value.chart.labels.prefix,
2078
2079
  suffix: o.suffix || t.value.chart.labels.suffix,
2079
2080
  datapoint: o
2080
- })), Ht = U.ticks.map((oe) => {
2081
- const ye = (oe - U.min) / (U.max - U.min);
2081
+ })), Ht = q.ticks.map((oe) => {
2082
+ const ye = (oe - q.min) / (q.max - q.min);
2082
2083
  return {
2083
2084
  y: oe >= 0 ? be - J * ye : be + J * ye,
2084
2085
  value: oe,
@@ -2093,10 +2094,10 @@ const _n = {
2093
2094
  autoScaleYLabels: Ht,
2094
2095
  individualHeight: J,
2095
2096
  scaleYLabels: o.autoScaling ? Ht : Ve,
2096
- individualScale: o.autoScaling ? U : I,
2097
+ individualScale: o.autoScaling ? q : I,
2097
2098
  individualMax: o.autoScaling ? B : Y,
2098
2099
  zeroPosition: o.autoScaling ? be : Q,
2099
- plots: o.autoScaling ? Gl : Ue,
2100
+ plots: o.autoScaling ? Gl : qe,
2100
2101
  groupId: P.value[o.scaleLabel].groupId
2101
2102
  };
2102
2103
  });
@@ -2173,7 +2174,7 @@ const _n = {
2173
2174
  const R = Re.value.find((I) => I.name === o), O = Re.value.find((I) => I.name === F);
2174
2175
  if (!R || !O || R.type !== "line" || O.type !== "line") return;
2175
2176
  const z = e?.[r]?.[0] ?? R.color, N = e?.[r]?.[1] ?? O.color;
2176
- on({
2177
+ an({
2177
2178
  lineA: R.plots,
2178
2179
  lineB: O.plots,
2179
2180
  smoothA: !!R.smooth,
@@ -2182,8 +2183,8 @@ const _n = {
2182
2183
  colorLineB: N,
2183
2184
  sampleStepPx: 2,
2184
2185
  cutNullValues: t.value.line.cutNullValues
2185
- }).forEach((I, U) => {
2186
- i.push({ ...I, key: `inter_${o}_${F}_${r}_${U}` });
2186
+ }).forEach((I, q) => {
2187
+ i.push({ ...I, key: `inter_${o}_${F}_${r}_${q}` });
2187
2188
  });
2188
2189
  }), i;
2189
2190
  }), ja = x(() => ({
@@ -2195,9 +2196,9 @@ const _n = {
2195
2196
  plots: rt.value,
2196
2197
  config: t.value
2197
2198
  })), Sl = x(() => {
2198
- const l = t.value.chart.grid.labels.xAxisLabels.datetimeFormatter, s = bn({
2199
+ const l = t.value.chart.grid.labels.xAxisLabels.datetimeFormatter, s = xn({
2199
2200
  useUTC: l.useUTC,
2200
- locale: yn[l.locale] || { months: [], shortMonths: [], days: [], shortDays: [] },
2201
+ locale: bn[l.locale] || { months: [], shortMonths: [], days: [], shortDays: [] },
2201
2202
  januaryAsYear: l.januaryAsYear
2202
2203
  });
2203
2204
  return (e, i) => {
@@ -2239,7 +2240,7 @@ const _n = {
2239
2240
  const Bo = x(() => {
2240
2241
  let l = "", s = zt.value.map((a) => a.value).filter((a) => ha(a) && a !== null).reduce((a, r) => Math.abs(a) + Math.abs(r), 0);
2241
2242
  const e = v.value[M.value], i = t.value.chart.tooltip.customFormat;
2242
- if (xa(i) && nn(() => i({
2243
+ if (xa(i) && on(() => i({
2243
2244
  absoluteIndex: M.value + w.value.start,
2244
2245
  seriesIndex: M.value,
2245
2246
  datapoint: zt.value,
@@ -2314,7 +2315,7 @@ const _n = {
2314
2315
  }),
2315
2316
  { datapoint: a }
2316
2317
  ) : ""}</b> ${t.value.chart.tooltip.showPercentage ? `(${lt({
2317
- v: q(Math.abs(a.value) / s * 100),
2318
+ v: U(Math.abs(a.value) / s * 100),
2318
2319
  s: "%",
2319
2320
  r: t.value.chart.tooltip.roundingPercentage
2320
2321
  })})` : ""}</div>`, t.value.chart.comments.showInTooltip && a.comments.length && a.comments.slice(w.value.start, w.value.end)[M.value] && (l += `<div class="vue-data-ui-tooltip-comment" style="background:${a.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${a.color}">${a.comments.slice(w.value.start, w.value.end)[M.value]}</div>`);
@@ -2373,8 +2374,8 @@ const _n = {
2373
2374
  return { head: s, body: e, config: i, colNames: a };
2374
2375
  });
2375
2376
  function Ta(l = null) {
2376
- const s = [[t.value.chart.title.text], [t.value.chart.title.subtitle.text], [""]], e = ["", ...eo.value.head.map((o) => o.label)], i = eo.value.body, a = s.concat([e]).concat(i), r = vn(a);
2377
- l ? l(r) : dn({ csvContent: r, title: t.value.chart.title.text || "vue-ui-xy" });
2377
+ const s = [[t.value.chart.title.text], [t.value.chart.title.subtitle.text], [""]], e = ["", ...eo.value.head.map((o) => o.label)], i = eo.value.body, a = s.concat([e]).concat(i), r = rn(a);
2378
+ l ? l(r) : cn({ csvContent: r, title: t.value.chart.title.text || "vue-ui-xy" });
2378
2379
  }
2379
2380
  function to(l, s = null) {
2380
2381
  xl.value = l;
@@ -2476,8 +2477,8 @@ const _n = {
2476
2477
  ft.value && (N = ft.value.getBoundingClientRect().height);
2477
2478
  let ee = 0;
2478
2479
  _t.value && (ee = _t.value.getBoundingClientRect().height), W.value = i - o - z - R - N - ee - l, le.value = a, at.value = `0 0 ${le.value < 0 ? 10 : le.value} ${W.value < 0 ? 10 : W.value}`, uo();
2479
- const I = new ResizeObserver((U) => {
2480
- for (const V of U)
2480
+ const I = new ResizeObserver((q) => {
2481
+ for (const V of q)
2481
2482
  t.value.chart.title.show && Te.value ? o = Te.value.getBoundingClientRect().height : o = 0, Ke.value && Ke.value.$el ? R = Ke.value.$el.getBoundingClientRect().height : R = 0, Le.value ? z = Le.value.getBoundingClientRect().height : z = 0, ft.value ? N = ft.value.getBoundingClientRect().height : N = 0, _t.value ? ee = _t.value.getBoundingClientRect().height : ee = 0, requestAnimationFrame(() => {
2482
2483
  W.value = V.contentRect.height - o - z - R - N - ee - l, le.value = V.contentBoxSize[0].inlineSize, at.value = `0 0 ${le.value < 0 ? 10 : le.value} ${W.value < 0 ? 10 : W.value}`, uo();
2483
2484
  });
@@ -2496,7 +2497,7 @@ const _n = {
2496
2497
  za(), il(), document.addEventListener("mousemove", io, { passive: !0 }), document.addEventListener("scroll", Hl, { passive: !0 });
2497
2498
  }), Ll(() => {
2498
2499
  document.removeEventListener("scroll", Hl, { passive: !0 }), document.removeEventListener("mousemove", io, { passive: !0 }), mt.value && (mt.value.unobserve(ne.value), mt.value.disconnect(), mt.value = null);
2499
- }), pn({
2500
+ }), yn({
2500
2501
  timeLabelsEls: Se,
2501
2502
  timeLabels: v,
2502
2503
  slicer: w,
@@ -2517,7 +2518,7 @@ const _n = {
2517
2518
  }
2518
2519
  function Do() {
2519
2520
  const l = Ho(), s = 200, e = Math.max(1, S.value), i = c.value.width / e, r = c.value.left + Eo.value * i + i / 2 - l / 2 - (s - l) / 2, o = c.value.left - (s - l) / 2, F = c.value.right - (s + l) / 2, R = Math.max(o, Math.min(r, F));
2520
- return q(R);
2521
+ return U(R);
2521
2522
  }
2522
2523
  Zl(() => {
2523
2524
  let l = null, s = null;
@@ -2672,7 +2673,7 @@ const _n = {
2672
2673
  class: "vue-ui-xy-title",
2673
2674
  style: C(`font-family:${t.value.chart.fontFamily}`)
2674
2675
  }, [
2675
- (n(), ct(wn, {
2676
+ (n(), ct(kn, {
2676
2677
  key: `title_${Pl.value}`,
2677
2678
  config: {
2678
2679
  title: {
@@ -3036,7 +3037,7 @@ const _n = {
3036
3037
  height: c.value.height < 0 ? 10 : c.value.height,
3037
3038
  width: c.value.width / S.value < 0 ? 1e-5 : c.value.width / S.value,
3038
3039
  fill: h(vt)(e.color, e.opacity)
3039
- }, null, 12, Uu)
3040
+ }, null, 12, qu)
3040
3041
  ]))), 256)),
3041
3042
  (n(!0), u(b, null, L(e.span, (i, a) => (n(), u("g", null, [
3042
3043
  e.caption.text && a === 0 ? (n(), u("foreignObject", {
@@ -3053,7 +3054,7 @@ const _n = {
3053
3054
  k("div", {
3054
3055
  style: C(`padding:${e.caption.padding}px;text-align:${e.caption.textAlign};font-size:${e.caption.fontSize}px;color:${e.caption.color};font-weight:${e.caption.bold ? "bold" : "normal"}`)
3055
3056
  }, re(e.caption.text), 5)
3056
- ], 12, qu)) : g("", !0)
3057
+ ], 12, Uu)) : g("", !0)
3057
3058
  ]))), 256))
3058
3059
  ], 64)) : g("", !0)
3059
3060
  ]))), 256)),
@@ -3111,7 +3112,7 @@ const _n = {
3111
3112
  height: "12",
3112
3113
  width: sa.value / 2 + t.value.chart.comments.width,
3113
3114
  x: na(a) - t.value.chart.comments.width / 2 + t.value.chart.comments.offsetX,
3114
- y: h(q)(a.y) + t.value.chart.comments.offsetY + 6
3115
+ y: h(U)(a.y) + t.value.chart.comments.offsetY + 6
3115
3116
  }, [
3116
3117
  te(l.$slots, "plot-comment", {
3117
3118
  plot: { ...a, color: e.color, seriesIndex: i, datapointIndex: r }
@@ -3273,7 +3274,7 @@ const _n = {
3273
3274
  e.value >= Xe.value.min && e.value <= Xe.value.max ? (n(), u("text", {
3274
3275
  key: 1,
3275
3276
  x: c.value.scaleLabelX - t.value.chart.grid.labels.yAxis.crosshairSize,
3276
- y: h(q)(e.y + A.value.dataLabels / 3),
3277
+ y: h(U)(e.y + A.value.dataLabels / 3),
3277
3278
  "font-size": A.value.dataLabels,
3278
3279
  "text-anchor": "end",
3279
3280
  fill: t.value.chart.grid.labels.color
@@ -3301,7 +3302,7 @@ const _n = {
3301
3302
  key: 0,
3302
3303
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
3303
3304
  color: t.value.plot.useGradient ? `url(#plotGradient_${i}_${Z.value})` : t.value.plot.dot.useSerieColor ? e.color : t.value.plot.dot.fill,
3304
- plot: { x: h(q)(a.x), y: h(q)(a.y) },
3305
+ plot: { x: h(U)(a.x), y: h(U)(a.y) },
3305
3306
  radius: M.value !== null && M.value === r || X.value !== null && X.value === r ? (De.value.plot || 6) * 1.5 : De.value.plot || 6,
3306
3307
  stroke: t.value.plot.dot.useSerieColor ? t.value.chart.backgroundColor : e.color,
3307
3308
  strokeWidth: t.value.plot.dot.strokeWidth,
@@ -3461,11 +3462,11 @@ const _n = {
3461
3462
  (n(!0), u(b, null, L(e.plots, (a, r) => (n(), u(b, {
3462
3463
  key: `circle_line_${i}_${r}`
3463
3464
  }, [
3464
- !Ua.value.linePlot && a && Ye(a.value) || Ua.value.linePlot && a && Ye(a.value) && (M.value !== null && M.value === r || X.value !== null && X.value === r) || Ja(e.plots, r) ? (n(), ct(ma, {
3465
+ !qa.value.linePlot && a && Ye(a.value) || qa.value.linePlot && a && Ye(a.value) && (M.value !== null && M.value === r || X.value !== null && X.value === r) || Ja(e.plots, r) ? (n(), ct(ma, {
3465
3466
  key: 0,
3466
3467
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
3467
3468
  color: t.value.line.useGradient ? `url(#lineGradient_${i}_${Z.value})` : t.value.line.dot.useSerieColor ? e.color : t.value.line.dot.fill,
3468
- plot: { x: h(q)(a.x), y: h(q)(a.y) },
3469
+ plot: { x: h(U)(a.x), y: h(U)(a.y) },
3469
3470
  radius: M.value !== null && M.value === r || X.value !== null && X.value === r ? (De.value.line || 6) * 1.5 : (Ja(e.plots, r), De.value.line || 6),
3470
3471
  stroke: t.value.line.dot.useSerieColor ? t.value.chart.backgroundColor : e.color,
3471
3472
  strokeWidth: t.value.line.dot.strokeWidth,
@@ -3537,7 +3538,7 @@ const _n = {
3537
3538
  a && (!Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || M.value !== null && M.value === r || X.value !== null && X.value === r) && t.value.bar.labels.show ? (n(), u("text", {
3538
3539
  key: 0,
3539
3540
  x: p.value.useIndividualScale && p.value.isStacked ? a.x + de.value.line / 2 : na(a) + wl() / 2 - ia.value / 2,
3540
- y: h(q)(a.y) + (a.value >= 0 ? t.value.bar.labels.offsetY : -t.value.bar.labels.offsetY * 3),
3541
+ y: h(U)(a.y) + (a.value >= 0 ? t.value.bar.labels.offsetY : -t.value.bar.labels.offsetY * 3),
3541
3542
  "text-anchor": "middle",
3542
3543
  "font-size": A.value.plotLabels,
3543
3544
  fill: t.value.bar.labels.color,
@@ -3565,7 +3566,7 @@ const _n = {
3565
3566
  fill: t.value.bar.serieName.useSerieColor ? e.color : t.value.bar.serieName.color,
3566
3567
  "font-weight": t.value.bar.serieName.bold ? "bold" : "normal",
3567
3568
  style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
3568
- }, re(t.value.bar.serieName.useAbbreviation ? h(un)({
3569
+ }, re(t.value.bar.serieName.useAbbreviation ? h(nn)({
3569
3570
  source: e.name,
3570
3571
  length: t.value.bar.serieName.abbreviationSize
3571
3572
  }) : e.name), 13, Wi)) : g("", !0)
@@ -3644,8 +3645,8 @@ const _n = {
3644
3645
  serieName: e.name
3645
3646
  }
3646
3647
  )
3647
- }, null, 12, qi)
3648
- ], 12, Ui)) : g("", !0),
3648
+ }, null, 12, Ui)
3649
+ ], 12, qi)) : g("", !0),
3649
3650
  a && r === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (n(), u("foreignObject", {
3650
3651
  key: 1,
3651
3652
  x: a.x - e.name.length * (A.value.plotLabels / 2),
@@ -3942,7 +3943,7 @@ const _n = {
3942
3943
  style: C({
3943
3944
  cursor: pl() ? "pointer" : "default"
3944
3945
  }),
3945
- innerHTML: h(sn)({
3946
+ innerHTML: h(un)({
3946
3947
  content: String(e.text),
3947
3948
  fontSize: A.value.xAxis,
3948
3949
  fill: t.value.chart.grid.labels.xAxisLabels.color,
@@ -3998,7 +3999,7 @@ const _n = {
3998
3999
  y: Math.min(e.yTop, e.yBottom),
3999
4000
  x: e.x1,
4000
4001
  width: c.value.width,
4001
- height: h(q)(e.areaHeight, 0),
4002
+ height: h(U)(e.areaHeight, 0),
4002
4003
  fill: h(vt)(e.config.area.fill, e.config.area.opacity),
4003
4004
  style: { animation: "none !important" }
4004
4005
  }, null, 8, ks)) : g("", !0),
@@ -4394,8 +4395,8 @@ const _n = {
4394
4395
  width: "32",
4395
4396
  stroke: "none",
4396
4397
  fill: l.$slots.pattern ? `url(#pattern_${Z.value}_${e.slotAbsoluteIndex})` : e.color
4397
- }, null, 8, Us)) : g("", !0)
4398
- ])) : (n(), u("svg", qs, [
4398
+ }, null, 8, qs)) : g("", !0)
4399
+ ])) : (n(), u("svg", Us, [
4399
4400
  ml(ma, {
4400
4401
  plot: { x: 6, y: 6 },
4401
4402
  radius: 5,
@@ -4533,10 +4534,10 @@ const _n = {
4533
4534
  key: "1"
4534
4535
  } : void 0
4535
4536
  ]), 1040)) : g("", !0),
4536
- h(xe) ? (n(), ct(xn, { key: 9 })) : g("", !0)
4537
+ h(xe) ? (n(), ct(gn, { key: 9 })) : g("", !0)
4537
4538
  ], 46, fu));
4538
4539
  }
4539
- }, dr = /* @__PURE__ */ Lo(Js, [["__scopeId", "data-v-d218b34b"]]);
4540
+ }, hr = /* @__PURE__ */ Lo(Js, [["__scopeId", "data-v-d218b34b"]]);
4540
4541
  export {
4541
- dr as default
4542
+ hr as default
4542
4543
  };