vue-data-ui 3.26.5 → 3.27.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 (200) hide show
  1. package/dist/{Arrow-BQbcOtfC.js → Arrow-DKO1l8oR.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BCFCiP_6.js → BaseDraggableDialog-C50TEJFv.js} +2 -2
  3. package/dist/{BaseIcon-CIK6Sqo3.js → BaseIcon-Cx9FD751.js} +1 -1
  4. package/dist/{BaseLegendToggle-Doa5rYP2.js → BaseLegendToggle-CP3sddwv.js} +1 -1
  5. package/dist/{BaseZoomControls-BGQM8B5F.js → BaseZoomControls-vNi8YykO.js} +2 -2
  6. package/dist/{ColorPicker-Cb7qpvFt.js → ColorPicker-hmC2bvwS.js} +2 -2
  7. package/dist/{DataTable-B6LDCXBz.js → DataTable-CjF_An2h.js} +2 -2
  8. package/dist/{HillActions-CwdgCb7Q.js → HillActions-DqqGB33u.js} +1 -1
  9. package/dist/{Legend-D9FGXIbQ.js → Legend-CulFgjUY.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-9T4MSwXC.js → NonSvgPenAndPaper-BK1v_MfW.js} +3 -3
  11. package/dist/{PackageVersion-CslTvFsC.js → PackageVersion-D7H9nfK0.js} +1 -1
  12. package/dist/{PenAndPaper-C1EcBgJW.js → PenAndPaper-CNiuGw6k.js} +3 -3
  13. package/dist/{Shape-BZgQLgu5.js → Shape-DSwamtmO.js} +1 -1
  14. package/dist/{SlicerPreview-DyYv_G-_.js → SlicerPreview-k5YerMA9.js} +12 -12
  15. package/dist/{SparkTooltip-D4cRlyuq.js → SparkTooltip-D35KVv6N.js} +6 -6
  16. package/dist/{Title-Bd98RysU.js → Title-BMCuINbv.js} +1 -1
  17. package/dist/{Tooltip-DmQeI5WE.js → Tooltip-C4ZTwkLF.js} +1 -1
  18. package/dist/{UserOptions-B_yBcZ1-.js → UserOptions-CORYQiif.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-label.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-B_RJohlM.js → dom-to-png-CBusMkua.js} +1 -1
  91. package/dist/{exposedLib-C-JlvWAt.js → exposedLib-UNxZlnAS.js} +10 -10
  92. package/dist/{img-KURaWjZI.js → img-Bb5rHcpO.js} +1 -1
  93. package/dist/{labelUtils-DShv2Mbg.js → labelUtils-Ccn9kK7T.js} +1 -1
  94. package/dist/{lib-TWIH5fGr.js → lib-D4wK6ljP.js} +127 -133
  95. package/dist/{package-DbTqd5lc.js → package-DmQufM0G.js} +1 -1
  96. package/dist/{pdf-CLl24Afl.js → pdf-BzIQHx-F.js} +1 -1
  97. package/dist/{render-common-CKv-jztN.js → render-common-BtfjXdkJ.js} +10 -10
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/types/vue-data-ui.d.ts +212 -59
  103. package/dist/types/vue-ui-stackbar.d.ts +10 -0
  104. package/dist/{useConfig-DObkR9Aa.js → useConfig-D_6ZrPMD.js} +82 -0
  105. package/dist/{useNestedProp-BxOdWM0c.js → useNestedProp-DR_8JPol.js} +1 -1
  106. package/dist/{useObjectBindings-CPmyIJxB.js → useObjectBindings-DvasYMGu.js} +2 -2
  107. package/dist/{usePrinter-8Y1Rju0Y.js → usePrinter-DdW2GSm0.js} +2 -2
  108. package/dist/utils.js +10 -10
  109. package/dist/{vue-data-ui-C3G5Zdl5.js → vue-data-ui-Df7WV80w.js} +70 -70
  110. package/dist/vue-data-ui.js +75 -75
  111. package/dist/{vue-ui-3d-bar-Cl6-fBV8.js → vue-ui-3d-bar-CJjNPwhG.js} +463 -463
  112. package/dist/{vue-ui-accordion-AyyZDab3.js → vue-ui-accordion-CaoNWreI.js} +4 -4
  113. package/dist/{vue-ui-age-pyramid-DOtWAL8s.js → vue-ui-age-pyramid-BYcM0uIP.js} +22 -22
  114. package/dist/{vue-ui-annotator-BCVjlojM.js → vue-ui-annotator-BmqjDjRF.js} +10 -10
  115. package/dist/{vue-ui-bullet-B_1Ctjvq.js → vue-ui-bullet-DBOAvpBB.js} +18 -18
  116. package/dist/vue-ui-bump-rPYwDJ4o.js +1242 -0
  117. package/dist/{vue-ui-candlestick-KvhjbAxt.js → vue-ui-candlestick-WQHIQNv_.js} +625 -625
  118. package/dist/{vue-ui-carousel-table-ArMiO0cG.js → vue-ui-carousel-table-Dojcvt49.js} +106 -106
  119. package/dist/{vue-ui-chestnut-DSM0U27X.js → vue-ui-chestnut-BdhEByUf.js} +65 -65
  120. package/dist/{vue-ui-chord-64akfaem.js → vue-ui-chord-MF4xF5az.js} +46 -46
  121. package/dist/{vue-ui-circle-pack-CaR_aNEh.js → vue-ui-circle-pack-BwDim7G8.js} +26 -26
  122. package/dist/{vue-ui-cursor-DCgqYZiz.js → vue-ui-cursor-w_5cbpSb.js} +61 -61
  123. package/dist/{vue-ui-dag-8uKK0Rlp.js → vue-ui-dag-D2EUqeDN.js} +65 -65
  124. package/dist/{vue-ui-dashboard-DeccYtSY.js → vue-ui-dashboard-BLnVXosj.js} +70 -70
  125. package/dist/{vue-ui-digits-BvK7bVuJ.js → vue-ui-digits-zSqwYWHm.js} +4 -4
  126. package/dist/{vue-ui-donut-8joMj08Z.js → vue-ui-donut-ZYZfqIhi.js} +117 -117
  127. package/dist/{vue-ui-donut-evolution-DgITf95R.js → vue-ui-donut-evolution-DtLbWi3h.js} +216 -216
  128. package/dist/vue-ui-donut-nLDLZwig.js +2427 -0
  129. package/dist/{vue-ui-dumbbell-U2L4ZYhB.js → vue-ui-dumbbell-Qgn3wRyI.js} +20 -20
  130. package/dist/{vue-ui-flow-DD20fJu_.js → vue-ui-flow-iSH6dyGw.js} +109 -109
  131. package/dist/vue-ui-funnel-Cc2z2zS5.js +749 -0
  132. package/dist/{vue-ui-galaxy-VZFZnHPv.js → vue-ui-galaxy-GhuBSU0o.js} +267 -267
  133. package/dist/vue-ui-gauge-BAjBO13a.js +934 -0
  134. package/dist/{vue-ui-geo-DeDQ6ubl.js → vue-ui-geo-mwTtvIHY.js} +19 -19
  135. package/dist/{vue-ui-gizmo-D5oUKIsP.js → vue-ui-gizmo-B5vOOrZX.js} +4 -4
  136. package/dist/vue-ui-heatmap-fimkY1nN.js +1613 -0
  137. package/dist/{vue-ui-hill-DONFacXR.js → vue-ui-hill-DPfTt3UE.js} +18 -18
  138. package/dist/{vue-ui-history-plot-BMy_y9S6.js → vue-ui-history-plot-B1WgzqTb.js} +53 -53
  139. package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +1723 -0
  140. package/dist/{vue-ui-kpi-Bol0OWs3.js → vue-ui-kpi-D-p0CSQh.js} +4 -4
  141. package/dist/{vue-ui-label-cwjXaEDQ.js → vue-ui-label-r3-QloJL.js} +65 -65
  142. package/dist/{vue-ui-mini-loader-kdpasmXb.js → vue-ui-mini-loader-CnrBGAtM.js} +3 -3
  143. package/dist/vue-ui-molecule-BhdAYX_H.js +941 -0
  144. package/dist/vue-ui-mood-radar-CdlnPrQf.js +1111 -0
  145. package/dist/{vue-ui-nested-donuts-ZmGGEvRk.js → vue-ui-nested-donuts-DceVEyUc.js} +341 -341
  146. package/dist/{vue-ui-onion-D6IKPpL-.js → vue-ui-onion-_L0uEATI.js} +209 -209
  147. package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +1444 -0
  148. package/dist/{vue-ui-quadrant-CueHa1Pm.js → vue-ui-quadrant-CDDFLRcX.js} +55 -55
  149. package/dist/{vue-ui-quick-chart-C8ZxX1Zw.js → vue-ui-quick-chart-Dom257hl.js} +377 -377
  150. package/dist/vue-ui-radar-BLdri1bA.js +1386 -0
  151. package/dist/{vue-ui-rating-V_OnJN9Y.js → vue-ui-rating-C_iTttXB.js} +25 -25
  152. package/dist/vue-ui-relation-circle-BmxTSgjd.js +905 -0
  153. package/dist/vue-ui-ridgeline-CsUrcVmL.js +1630 -0
  154. package/dist/{vue-ui-rings-Bf9IKwDr.js → vue-ui-rings-D_GPkgbD.js} +318 -318
  155. package/dist/vue-ui-scatter-D_C-IhnW.js +2418 -0
  156. package/dist/{vue-ui-skeleton-dyXWT6JX.js → vue-ui-skeleton-t7e6KEZ2.js} +60 -60
  157. package/dist/{vue-ui-smiley-w6nH1I0E.js → vue-ui-smiley-Dl95YWVo.js} +14 -14
  158. package/dist/{vue-ui-spark-trend-Bso9bwmY.js → vue-ui-spark-trend-pkZA7u5V.js} +20 -20
  159. package/dist/{vue-ui-sparkbar-CL06Yt56.js → vue-ui-sparkbar-Ds7OJjhG.js} +77 -77
  160. package/dist/{vue-ui-sparkgauge-BHDM5Hbr.js → vue-ui-sparkgauge-US1M88qc.js} +6 -6
  161. package/dist/vue-ui-sparkhistogram-FISVpSvv.js +589 -0
  162. package/dist/{vue-ui-sparkline-znaswFQj.js → vue-ui-sparkline-DvE1dHcs.js} +37 -37
  163. package/dist/{vue-ui-sparkstackbar-BOzVoWoa.js → vue-ui-sparkstackbar-CWtF9eG-.js} +39 -39
  164. package/dist/vue-ui-stackbar-fMgrHzZe.js +3273 -0
  165. package/dist/{vue-ui-stackline-qcLrNL09.js → vue-ui-stackline-CSMuUup2.js} +303 -303
  166. package/dist/vue-ui-strip-plot-TGD2UFHS.js +1752 -0
  167. package/dist/{vue-ui-table-D295mJIf.js → vue-ui-table-BCEIbg8-.js} +14 -14
  168. package/dist/{vue-ui-table-heatmap-CXeMKqKz.js → vue-ui-table-heatmap-CvUcFWMf.js} +9 -9
  169. package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +738 -0
  170. package/dist/vue-ui-thermometer-BYFAZCzh.js +758 -0
  171. package/dist/{vue-ui-timer-BULpjYiI.js → vue-ui-timer-BKr8RVnn.js} +10 -10
  172. package/dist/{vue-ui-tiremarks-B7bTeU8h.js → vue-ui-tiremarks-BYu3cEoy.js} +35 -35
  173. package/dist/{vue-ui-treemap-DkqDz9W4.js → vue-ui-treemap-BR3rX5_L.js} +50 -50
  174. package/dist/{vue-ui-waffle-Cn7WBzqh.js → vue-ui-waffle-mP8g5aQk.js} +275 -275
  175. package/dist/{vue-ui-wheel-Cy7kBvEx.js → vue-ui-wheel-CZsSO2R6.js} +187 -187
  176. package/dist/{vue-ui-word-cloud-tRqc2ZMR.js → vue-ui-word-cloud-CJ30onqy.js} +35 -35
  177. package/dist/{vue-ui-world-B755-zji.js → vue-ui-world-BZ09DOiF.js} +498 -498
  178. package/dist/{vue-ui-xy-BiHIJ7rK.js → vue-ui-xy-C3h54loZ.js} +405 -405
  179. package/dist/{vue-ui-xy-canvas-DGuMC_Rf.js → vue-ui-xy-canvas-BwgK8drp.js} +165 -165
  180. package/dist/{vue-ui-xy-DWYTZz_v.js → vue-ui-xy-jemv5dsf.js} +288 -288
  181. package/dist/{vue_ui_stackbar-DdjDL6aq.js → vue_ui_stackbar-yQyvT4Su.js} +46 -0
  182. package/package.json +1 -1
  183. package/dist/vue-ui-bump-kOK6x4al.js +0 -1242
  184. package/dist/vue-ui-donut-CvbfzzdT.js +0 -2427
  185. package/dist/vue-ui-funnel-Cx8hVlZV.js +0 -749
  186. package/dist/vue-ui-gauge-Copa7G58.js +0 -934
  187. package/dist/vue-ui-heatmap-BukWtNsd.js +0 -1613
  188. package/dist/vue-ui-horizontal-bar-bcPSs999.js +0 -1723
  189. package/dist/vue-ui-molecule-BiAI5lbh.js +0 -941
  190. package/dist/vue-ui-mood-radar-f4xXkiBs.js +0 -1111
  191. package/dist/vue-ui-parallel-coordinate-plot-BbfModz3.js +0 -1444
  192. package/dist/vue-ui-radar-BcD7Zqvb.js +0 -1386
  193. package/dist/vue-ui-relation-circle-DlN4r83K.js +0 -905
  194. package/dist/vue-ui-ridgeline-BlQnTWXi.js +0 -1630
  195. package/dist/vue-ui-scatter-arPbS9MH.js +0 -2418
  196. package/dist/vue-ui-sparkhistogram-3Tw8PEms.js +0 -589
  197. package/dist/vue-ui-stackbar-BTOvMsP8.js +0 -2755
  198. package/dist/vue-ui-strip-plot-BLNaCPm8.js +0 -1752
  199. package/dist/vue-ui-table-sparkline-BYuwQrwA.js +0 -738
  200. package/dist/vue-ui-thermometer-BwJ0oF-H.js +0 -758
@@ -1,21 +1,21 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Ct as n, D as r, Et as i, Jt as a, Rt as o, X as s, _ as c, at as l, b as u, c as ee, en as te, et as ne, ft as re, gt as ie, ht as ae, nt as oe, qt as se, t as ce, tn as le } from "./lib-TWIH5fGr.js";
2
+ import { $ as t, D as n, Dt as r, Jt as i, X as a, Yt as o, _ as s, _t as c, at as l, b as u, c as ee, et as te, gt as ne, nn as re, nt as ie, pt as ae, t as oe, tn as se, wt as ce, zt as le } from "./lib-D4wK6ljP.js";
3
3
  import { n as ue, t as de } from "./useHints-Dq_w2E8B.js";
4
4
  import { n as fe, r as pe, t as me } from "./useTimeLabels-d2f-W1L4.js";
5
- import { t as he } from "./useConfig-DObkR9Aa.js";
6
- import { t as ge } from "./usePrinter-8Y1Rju0Y.js";
5
+ import { t as he } from "./useConfig-D_6ZrPMD.js";
6
+ import { t as ge } from "./usePrinter-DdW2GSm0.js";
7
7
  import { n as _e, t as ve } from "./BaseScanner-Dzc8VT3j.js";
8
- import { t as ye } from "./useNestedProp-BxOdWM0c.js";
8
+ import { t as ye } from "./useNestedProp-DR_8JPol.js";
9
9
  import { t as be } from "./useThemeCheck-C43Tcqmk.js";
10
10
  import { t as xe } from "./useChartExport-iwOqiIWX.js";
11
11
  import { t as Se } from "./useTransitions-g_zBREk2.js";
12
12
  import { t as Ce } from "./useTimeLabelCollider-AEcY4Ioe.js";
13
- import { t as we } from "./img-KURaWjZI.js";
14
- import { n as Te } from "./Title-Bd98RysU.js";
13
+ import { t as we } from "./img-Bb5rHcpO.js";
14
+ import { n as Te } from "./Title-BMCuINbv.js";
15
15
  import { t as Ee } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
16
  import { l as De, t as Oe } from "./useResponsive-ZtArZtUf.js";
17
17
  import { t as ke } from "./DefGrad-DVBqDjhO.js";
18
- import { t as Ae } from "./SlicerPreview-DyYv_G-_.js";
18
+ import { t as Ae } from "./SlicerPreview-k5YerMA9.js";
19
19
  import { t as je } from "./A11yDataTable-DdRsVULz.js";
20
20
  import { t as Me } from "./useUserOptionState-DK-_1ddE.js";
21
21
  import { t as Ne } from "./useChartAccessibility-DYqac8yF.js";
@@ -211,12 +211,12 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
211
211
  "copyAlt"
212
212
  ],
213
213
  setup(e, { expose: Ee, emit: Ze }) {
214
- let Mt = ze(() => import("./BaseIcon-CIK6Sqo3.js").then((e) => e.n)), Nt = ze(() => import("./Tooltip-DmQeI5WE.js")), Pt = ze(() => import("./vue-ui-accordion-AyyZDab3.js").then((e) => e.n)), Ft = ze(() => import("./DataTable-B6LDCXBz.js")), It = ze(() => import("./PenAndPaper-C1EcBgJW.js").then((e) => e.t)), Lt = ze(() => import("./UserOptions-B_yBcZ1-.js").then((e) => e.n)), Rt = ze(() => import("./PackageVersion-CslTvFsC.js").then((e) => e.t)), zt = ze(() => import("./BaseDraggableDialog-BCFCiP_6.js").then((e) => e.n)), { vue_ui_candlestick: Bt } = he(), { isThemeValid: Vt, warnInvalidTheme: Ht } = be(), T = e, E = Ze, Ut = f(() => !!T.dataset && T.dataset.length), D = b(!1), Wt = b(null), O = b(s()), Gt = b(!1), Kt = b(""), k = b(void 0), qt = b(0), A = b(null), Jt = b(null), Yt = b(null), Xt = b(null), Zt = b(null), Qt = b(null), $t = b(0), en = b(0), tn = b(0), nn = b(null), rn = b(null), an = b(null), on = b(null), sn = b(null), j = b(null), cn = b({
214
+ let Mt = ze(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), Nt = ze(() => import("./Tooltip-C4ZTwkLF.js")), Pt = ze(() => import("./vue-ui-accordion-CaoNWreI.js").then((e) => e.n)), Ft = ze(() => import("./DataTable-CjF_An2h.js")), It = ze(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), Lt = ze(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), Rt = ze(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), zt = ze(() => import("./BaseDraggableDialog-C50TEJFv.js").then((e) => e.n)), { vue_ui_candlestick: Bt } = he(), { isThemeValid: Vt, warnInvalidTheme: Ht } = be(), T = e, E = Ze, Ut = f(() => !!T.dataset && T.dataset.length), D = b(!1), Wt = b(null), O = b(a()), Gt = b(!1), Kt = b(""), k = b(void 0), qt = b(0), Jt = b(null), Yt = b(null), Xt = b(null), Zt = b(null), Qt = b(null), $t = b(null), en = b(0), tn = b(0), nn = b(0), rn = b(null), an = b(null), on = b(null), sn = b(null), cn = b(null), A = b(null), ln = b({
215
215
  x: 0,
216
216
  y: 0
217
- }), ln = b("pointer"), un = b(!1), M = b(bn()), N = f(() => M.value.style.layout.candle), P = f(() => M.value.style.layout.grid), F = f(() => M.value.style.layout), I = f(() => M.value.style), L = f(() => M.value.userOptions);
217
+ }), un = b("pointer"), dn = b(!1), j = b(xn()), M = f(() => j.value.style.layout.candle), N = f(() => j.value.style.layout.grid), P = f(() => j.value.style.layout), F = f(() => j.value.style), I = f(() => j.value.userOptions);
218
218
  ue({
219
- config: () => M.value,
219
+ config: () => j.value,
220
220
  dataset: () => T.dataset,
221
221
  component: "VueUiCandlestick",
222
222
  rules: [de.emptyArray, {
@@ -230,10 +230,10 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
230
230
  ]
231
231
  }]
232
232
  });
233
- let { transitionEnabled: dn } = Se({
234
- config: () => M.value.transitions,
233
+ let { transitionEnabled: fn } = Se({
234
+ config: () => j.value.transitions,
235
235
  dataset: () => T.dataset
236
- }), fn = f(() => M.value.userOptions.useCursorPointer), pn = f(() => le({
236
+ }), pn = f(() => j.value.userOptions.useCursorPointer), mn = f(() => re({
237
237
  defaultConfig: {
238
238
  useCssAnimation: !1,
239
239
  userOptions: { show: !1 },
@@ -270,11 +270,11 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
270
270
  }
271
271
  }
272
272
  },
273
- userConfig: M.value.skeletonConfig ?? {}
274
- })), { loading: R, FINAL_DATASET: z, manualLoading: mn } = _e({
273
+ userConfig: j.value.skeletonConfig ?? {}
274
+ })), { loading: L, FINAL_DATASET: R, manualLoading: hn } = _e({
275
275
  ...Je(T),
276
- FINAL_CONFIG: M,
277
- prepareConfig: bn,
276
+ FINAL_CONFIG: j,
277
+ prepareConfig: xn,
278
278
  callback: () => {
279
279
  Promise.resolve().then(async () => {
280
280
  await Nr();
@@ -378,175 +378,175 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
378
378
  5100
379
379
  ]
380
380
  ],
381
- skeletonConfig: le({
382
- defaultConfig: M.value,
383
- userConfig: pn.value
381
+ skeletonConfig: re({
382
+ defaultConfig: j.value,
383
+ userConfig: mn.value
384
384
  })
385
- }), { userOptionsVisible: hn, setUserOptionsVisibility: gn, keepUserOptionState: _n } = Me({ config: M.value }), { svgRef: B } = Ne({ config: I.value.title });
386
- function vn() {
387
- gn(!0);
388
- }
385
+ }), { userOptionsVisible: gn, setUserOptionsVisibility: _n, keepUserOptionState: vn } = Me({ config: j.value }), { svgRef: z } = Ne({ config: F.value.title });
389
386
  function yn() {
390
- gn(!1), E("selectX", {
387
+ _n(!0);
388
+ }
389
+ function bn() {
390
+ _n(!1), E("selectX", {
391
391
  seriesIndex: null,
392
392
  datapoint: null
393
393
  }), k.value = null;
394
394
  }
395
- function bn() {
395
+ function xn() {
396
396
  let e = ye({
397
397
  userConfig: T.config,
398
398
  defaultConfig: Bt
399
399
  }), t = {};
400
- T.config && n(T.config, "style.layout.grid.xAxis.dataLabels.showFirstAndLast") && (e.style.layout.grid.xAxis.dataLabels.showFirstAndLast = !!T.config.style.layout.grid.xAxis.dataLabels.showFirstAndLast);
401
- let r = e.theme;
402
- if (r) {
400
+ T.config && ce(T.config, "style.layout.grid.xAxis.dataLabels.showFirstAndLast") && (e.style.layout.grid.xAxis.dataLabels.showFirstAndLast = !!T.config.style.layout.grid.xAxis.dataLabels.showFirstAndLast);
401
+ let n = e.theme;
402
+ if (n) {
403
403
  if (!Vt.value(e)) Ht(e), t = e;
404
404
  else {
405
- let n = ye({
406
- userConfig: Pe[r] || T.config,
405
+ let r = ye({
406
+ userConfig: Pe[n] || T.config,
407
407
  defaultConfig: e
408
408
  });
409
409
  t = { ...ye({
410
410
  userConfig: T.config,
411
- defaultConfig: n
411
+ defaultConfig: r
412
412
  }) };
413
413
  }
414
414
  } else t = e;
415
415
  return t;
416
416
  }
417
- function xn(e) {
418
- let t = ne(e);
417
+ function Sn(e) {
418
+ let t = te(e);
419
419
  return t?.style && delete t.style.tooltip, JSON.stringify(t);
420
420
  }
421
- let Sn = xn(T.config);
421
+ let Cn = Sn(T.config);
422
422
  Ye(() => T.config, (e, t) => {
423
- let n = xn(e), r = n !== Sn;
424
- Sn = n;
425
- let i = bn();
423
+ let n = Sn(e), r = n !== Cn;
424
+ Cn = n;
425
+ let i = xn();
426
426
  if (!r) {
427
- M.value.style.tooltip = i.style.tooltip, H.value.showTooltip = M.value.style.tooltip.show;
427
+ j.value.style.tooltip = i.style.tooltip, V.value.showTooltip = j.value.style.tooltip.show;
428
428
  return;
429
429
  }
430
- R.value || (M.value = bn()), hn.value = !M.value.userOptions.showOnChartHover, En(), $t.value += 1, tn.value += 1, en.value += 1, H.value.showTable = M.value.table.show, H.value.showTooltip = I.value.tooltip.show, er();
430
+ L.value || (j.value = xn()), gn.value = !j.value.userOptions.showOnChartHover, Dn(), en.value += 1, nn.value += 1, tn.value += 1, V.value.showTable = j.value.table.show, V.value.showTooltip = F.value.tooltip.show, er();
431
431
  }, { deep: !0 }), Ye(() => T.dataset, (e) => {
432
- Array.isArray(e) && e.length > 0 && (mn.value = !1), kr();
432
+ Array.isArray(e) && e.length > 0 && (hn.value = !1), kr();
433
433
  }, { deep: !0 });
434
- let V = b({
435
- height: I.value.height,
436
- width: I.value.width,
437
- xAxisFontSize: P.value.xAxis.dataLabels.fontSize,
438
- yAxisFontSize: P.value.yAxis.dataLabels.fontSize
439
- }), Cn = Ke(null), wn = Ke(null);
434
+ let B = b({
435
+ height: F.value.height,
436
+ width: F.value.width,
437
+ xAxisFontSize: N.value.xAxis.dataLabels.fontSize,
438
+ yAxisFontSize: N.value.yAxis.dataLabels.fontSize
439
+ }), wn = Ke(null), Tn = Ke(null);
440
440
  We(() => {
441
- En();
441
+ Dn();
442
442
  });
443
- let Tn = f(() => M.value.debug);
444
- function En() {
445
- if (o(T.dataset) && (l({
443
+ let En = f(() => j.value.debug);
444
+ function Dn() {
445
+ if (le(T.dataset) && (l({
446
446
  componentName: "VueUiCandlestick",
447
447
  type: "dataset",
448
- debug: Tn.value
449
- }), mn.value = !0), o(T.dataset) || (mn.value = M.value.loading), setTimeout(() => {
448
+ debug: En.value
449
+ }), hn.value = !0), le(T.dataset) || (hn.value = j.value.loading), setTimeout(() => {
450
450
  D.value = !0;
451
- }, 10), M.value.responsive) {
451
+ }, 10), j.value.responsive) {
452
452
  let e = De(() => {
453
453
  D.value = !1;
454
454
  let { width: e, height: t } = Oe({
455
- chart: A.value,
456
- title: I.value.title.text ? Jt.value : null,
457
- slicer: I.value.zoom.show && W.value > 6 ? Xt.value.$el : null,
458
- legend: Yt.value,
459
- source: Zt.value,
460
- noTitle: Qt.value
455
+ chart: Jt.value,
456
+ title: F.value.title.text ? Yt.value : null,
457
+ slicer: F.value.zoom.show && U.value > 6 ? Zt.value.$el : null,
458
+ legend: Xt.value,
459
+ source: Qt.value,
460
+ noTitle: $t.value
461
461
  });
462
462
  requestAnimationFrame(() => {
463
- V.value.width = e, V.value.height = t - 12, M.value.responsiveProportionalSizing ? (V.value.xAxisFontSize = te({
463
+ B.value.width = e, B.value.height = t - 12, j.value.responsiveProportionalSizing ? (B.value.xAxisFontSize = se({
464
464
  relator: Math.min(e, t),
465
- adjuster: I.value.width,
466
- source: P.value.xAxis.dataLabels.fontSize,
465
+ adjuster: F.value.width,
466
+ source: N.value.xAxis.dataLabels.fontSize,
467
467
  threshold: 6,
468
468
  fallback: 6
469
- }), V.value.yAxisFontSize = te({
469
+ }), B.value.yAxisFontSize = se({
470
470
  relator: Math.min(e, t),
471
- adjuster: I.value.width,
472
- source: P.value.yAxis.dataLabels.fontSize,
471
+ adjuster: F.value.width,
472
+ source: N.value.yAxis.dataLabels.fontSize,
473
473
  threshold: 6,
474
474
  fallback: 6
475
- })) : (V.value.xAxisFontSize = P.value.xAxis.dataLabels.fontSize, V.value.yAxisFontSize = P.value.yAxis.dataLabels.fontSize), Wt.value && clearTimeout(Wt.value), Wt.value = setTimeout(() => {
475
+ })) : (B.value.xAxisFontSize = N.value.xAxis.dataLabels.fontSize, B.value.yAxisFontSize = N.value.yAxis.dataLabels.fontSize), Wt.value && clearTimeout(Wt.value), Wt.value = setTimeout(() => {
476
476
  D.value = !0;
477
477
  }, 10);
478
478
  });
479
479
  });
480
- Cn.value && (wn.value && Cn.value.unobserve(wn.value), Cn.value.disconnect()), Cn.value = new ResizeObserver(e), wn.value = A.value.parentNode, Cn.value.observe(wn.value);
480
+ wn.value && (Tn.value && wn.value.unobserve(Tn.value), wn.value.disconnect()), wn.value = new ResizeObserver(e), Tn.value = Jt.value.parentNode, wn.value.observe(Tn.value);
481
481
  }
482
482
  Nr();
483
483
  }
484
484
  Ue(() => {
485
- Cn.value && (wn.value && Cn.value.unobserve(wn.value), Cn.value.disconnect());
485
+ wn.value && (Tn.value && wn.value.unobserve(Tn.value), wn.value.disconnect());
486
486
  });
487
- let { isPrinting: Dn, isImaging: On, generatePdf: kn, generateImage: An } = ge({
487
+ let { isPrinting: On, isImaging: kn, generatePdf: An, generateImage: jn } = ge({
488
488
  elementId: `vue-ui-candlestick_${O.value}`,
489
- fileName: I.value.title.text || "vue-ui-candlestick",
490
- options: M.value.userOptions.print
491
- }), jn = f(() => M.value.userOptions.show && !I.value.title.text), H = b({
492
- showTable: M.value.table.show,
493
- showTooltip: I.value.tooltip.show
494
- }), Mn = b(0), Nn = De((e) => {
495
- Mn.value = e;
489
+ fileName: F.value.title.text || "vue-ui-candlestick",
490
+ options: j.value.userOptions.print
491
+ }), Mn = f(() => j.value.userOptions.show && !F.value.title.text), V = b({
492
+ showTable: j.value.table.show,
493
+ showTooltip: F.value.tooltip.show
494
+ }), Nn = b(0), Pn = De((e) => {
495
+ Nn.value = e;
496
496
  }, 100);
497
497
  Xe((e) => {
498
- let t = rn.value;
498
+ let t = an.value;
499
499
  if (!t) return;
500
500
  let n = new ResizeObserver((e) => {
501
- Nn(e[0].contentRect.height);
501
+ Pn(e[0].contentRect.height);
502
502
  });
503
503
  n.observe(t), e(() => n.disconnect());
504
504
  }), Ue(() => {
505
- Mn.value = 0;
505
+ Nn.value = 0;
506
506
  });
507
- let Pn = f(() => {
507
+ let Fn = f(() => {
508
508
  let e = 0;
509
- return rn.value && (e = Mn.value + V.value.xAxisFontSize), e;
510
- }), Fn = f(() => P.value.yAxis.position === "right");
511
- function In() {
512
- let e = P.value.yAxis.dataLabels.offsetX;
513
- nn.value && (e = Array.from(nn.value.querySelectorAll("text")).reduce((e, t) => {
509
+ return an.value && (e = Nn.value + B.value.xAxisFontSize), e;
510
+ }), In = f(() => N.value.yAxis.position === "right");
511
+ function Ln() {
512
+ let e = N.value.yAxis.dataLabels.offsetX;
513
+ rn.value && (e = Array.from(rn.value.querySelectorAll("text")).reduce((e, t) => {
514
514
  let n = t.getComputedTextLength();
515
515
  return n > e ? n : e;
516
516
  }, 0));
517
- let t = P.value.yAxis.axisName?.show ? P.value.yAxis.axisName.fontSize + P.value.yAxis.axisName.offsetX : 0, n = e + 13 + t;
517
+ let t = N.value.yAxis.axisName?.show ? N.value.yAxis.axisName.fontSize + N.value.yAxis.axisName.offsetX : 0, n = e + 13 + t;
518
518
  return {
519
- left: Fn.value ? 0 : n,
520
- right: Fn.value ? n : 0,
519
+ left: In.value ? 0 : n,
520
+ right: In.value ? n : 0,
521
521
  scaleLabelsWidth: e,
522
522
  yAxisNameWidth: t,
523
523
  crosshair: 13
524
524
  };
525
525
  }
526
- let U = f(() => {
527
- let { top: e, right: t, bottom: n, left: r } = F.value.padding, i = In();
526
+ let H = f(() => {
527
+ let { top: e, right: t, bottom: n, left: r } = P.value.padding, i = Ln();
528
528
  return {
529
529
  top: e + 12,
530
- right: V.value.width - t - i.right,
530
+ right: B.value.width - t - i.right,
531
531
  left: r + i.left,
532
- bottom: V.value.height - n - Pn.value,
533
- width: V.value.width - r - t - i.left - i.right,
534
- height: V.value.height - e - n - Pn.value - 12,
532
+ bottom: B.value.height - n - Fn.value,
533
+ width: B.value.width - r - t - i.left - i.right,
534
+ height: B.value.height - e - n - Fn.value - 12,
535
535
  scaleLabelsWidth: i.scaleLabelsWidth,
536
536
  yAxisNameWidth: i.yAxisNameWidth,
537
537
  crosshair: i.crosshair
538
538
  };
539
- }), Ln = f(() => {
540
- let { left: e, top: t, width: n, height: r } = U.value, i = G.value.start, a = G.value.end - i, o = n / a, s = K.value.start - i, c = K.value.end - i, l = Math.max(0, Math.min(a, s)), u = Math.max(0, Math.min(a, c));
539
+ }), Rn = f(() => {
540
+ let { left: e, top: t, width: n, height: r } = H.value, i = W.value.start, a = W.value.end - i, o = n / a, s = G.value.start - i, c = G.value.end - i, l = Math.max(0, Math.min(a, s)), u = Math.max(0, Math.min(a, c));
541
541
  return {
542
542
  x: e + l * o,
543
543
  y: t,
544
544
  width: (u - l) * o,
545
545
  height: r,
546
- fill: I.value.zoom.preview.fill,
547
- stroke: I.value.zoom.preview.stroke,
548
- "stroke-width": I.value.zoom.preview.strokeWidth,
549
- "stroke-dasharray": I.value.zoom.preview.strokeDasharray,
546
+ fill: F.value.zoom.preview.fill,
547
+ stroke: F.value.zoom.preview.stroke,
548
+ "stroke-width": F.value.zoom.preview.strokeWidth,
549
+ "stroke-dasharray": F.value.zoom.preview.strokeDasharray,
550
550
  "stroke-linecap": "round",
551
551
  "stroke-linejoin": "round",
552
552
  style: {
@@ -555,22 +555,22 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
555
555
  animation: "none !important"
556
556
  }
557
557
  };
558
- }), W = f(() => z.value.length), G = b({
558
+ }), U = f(() => R.value.length), W = b({
559
559
  start: 0,
560
- end: W.value
561
- }), K = b({
560
+ end: U.value
561
+ }), G = b({
562
562
  start: 0,
563
- end: W.value
564
- }), Rn = b(!1), zn = b(!1), Bn = b(null), q = b(null), J = b(null), Vn = b(!1), Hn = b({
563
+ end: U.value
564
+ }), zn = b(!1), Bn = b(!1), Vn = b(null), K = b(null), q = b(null), Hn = b(!1), Un = b({
565
565
  time: 0,
566
566
  x: 0,
567
567
  y: 0,
568
568
  pointerType: null
569
- }), Un = f(() => I.value.zoom?.dragToZoom), Wn = f(() => Un.value.show && Ut.value && jr.value && W.value > 1 && !R.value), Gn = null, Kn = {}, qn = f(() => I.value.zoom.preview.enable && (K.value.start !== G.value.start || K.value.end !== G.value.end));
569
+ }), Wn = f(() => F.value.zoom?.dragToZoom), J = f(() => Wn.value.show && Ut.value && jr.value && U.value > 1 && !L.value), Gn = null, Kn = {}, qn = f(() => F.value.zoom.preview.enable && (G.value.start !== W.value.start || G.value.end !== W.value.end));
570
570
  function Jn(e, t) {
571
- K.value[e] = t;
571
+ G.value[e] = t;
572
572
  }
573
- function Yn(e, t = G.value) {
573
+ function Yn(e, t = W.value) {
574
574
  if (!e || typeof e != "object") return null;
575
575
  let n = e.start !== void 0 && e.start !== null, r = e.end !== void 0 && e.end !== null;
576
576
  if (!n && !r) return null;
@@ -591,15 +591,15 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
591
591
  let t = Yn(e);
592
592
  if (!t) return null;
593
593
  let { start: n, end: r } = t;
594
- return (n !== Number(G.value.start) || r !== Number(G.value.end)) && (Zn(), G.value = {
594
+ return (n !== Number(W.value.start) || r !== Number(W.value.end)) && (Zn(), W.value = {
595
595
  start: n,
596
596
  end: r
597
- }, K.value = {
597
+ }, G.value = {
598
598
  start: n,
599
599
  end: r
600
600
  }, er()), {
601
- start: Number(G.value.start),
602
- end: Number(G.value.end)
601
+ start: Number(W.value.start),
602
+ end: Number(W.value.end)
603
603
  };
604
604
  }
605
605
  function $n(e) {
@@ -607,13 +607,13 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
607
607
  return t ? (E("update:zoomState", t), t) : null;
608
608
  }
609
609
  function er() {
610
- let e = Math.max(0, Math.min(G.value.start ?? 0, W.value - 1)), t = Math.max(e + 1, Math.min(G.value.end ?? W.value, W.value));
611
- (!Number.isFinite(e) || !Number.isFinite(t) || t <= e) && (e = 0, t = W.value), G.value.start = e, G.value.end = t, K.value.start = e, K.value.end = t, Xt.value && Xt.value.setRangeValues(e, t);
610
+ let e = Math.max(0, Math.min(W.value.start ?? 0, U.value - 1)), t = Math.max(e + 1, Math.min(W.value.end ?? U.value, U.value));
611
+ (!Number.isFinite(e) || !Number.isFinite(t) || t <= e) && (e = 0, t = U.value), W.value.start = e, W.value.end = t, G.value.start = e, G.value.end = t, Zt.value && Zt.value.setRangeValues(e, t);
612
612
  }
613
- let tr = f(() => z.value.map((e, t) => ({
613
+ let tr = f(() => R.value.map((e, t) => ({
614
614
  ...e,
615
615
  absoluteIndex: t
616
- }))), nr = f(() => tr.value.slice(G.value.start, G.value.end)), Y = f(() => (Tn.value && z.value.forEach((e, t) => {
616
+ }))), nr = f(() => tr.value.slice(W.value.start, W.value.end)), Y = f(() => (En.value && R.value.forEach((e, t) => {
617
617
  [null, void 0].includes(e[0]) && l({
618
618
  componentName: "VueUiCandlestick",
619
619
  type: "datasetAttribute",
@@ -661,15 +661,15 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
661
661
  low: e[3],
662
662
  close: e[4],
663
663
  volume: e[5]
664
- }))), X = f(() => U.value.width / nr.value.length), ir = f(() => ({
665
- max: P.value.yAxis.scale.max === null ? Math.max(...Y.value.map((e) => e.high)) : P.value.yAxis.scale.max,
666
- min: P.value.yAxis.scale.min === null ? 0 : P.value.yAxis.scale.min
667
- })), Z = f(() => c(ir.value.min, ir.value.max, P.value.yAxis.dataLabels.steps));
664
+ }))), X = f(() => H.value.width / nr.value.length), ir = f(() => ({
665
+ max: N.value.yAxis.scale.max === null ? Math.max(...Y.value.map((e) => e.high)) : N.value.yAxis.scale.max,
666
+ min: N.value.yAxis.scale.min === null ? 0 : N.value.yAxis.scale.min
667
+ })), Z = f(() => s(ir.value.min, ir.value.max, N.value.yAxis.dataLabels.steps));
668
668
  function ar(e, t, n = null, r = null) {
669
669
  return {
670
670
  ...e,
671
- x: u(U.value.left + t * X.value + X.value / 2),
672
- y: u(U.value.top + (1 - (e - Z.value.min) / (Z.value.max - Z.value.min)) * U.value.height),
671
+ x: u(H.value.left + t * X.value + X.value / 2),
672
+ y: u(H.value.top + (1 - (e - Z.value.min) / (Z.value.max - Z.value.min)) * H.value.height),
673
673
  value: u(e),
674
674
  isMax: e === n,
675
675
  isMin: e === r
@@ -704,7 +704,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
704
704
  });
705
705
  });
706
706
  function or({ item: e, index: t, minimapH: n, unitW: r }) {
707
- let i = P.value.yAxis.scale.min ?? 0, a = P.value.yAxis.scale.max ?? Math.max(...z.value.map((e) => e[2]));
707
+ let i = N.value.yAxis.scale.min ?? 0, a = N.value.yAxis.scale.max ?? Math.max(...R.value.map((e) => e[2]));
708
708
  return {
709
709
  ...e,
710
710
  x: u(t * r),
@@ -744,9 +744,9 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
744
744
  isBullish: c,
745
745
  absoluteIndex: n.absoluteIndex
746
746
  };
747
- })), cr = f(() => I.value.zoom.minimap.show ? [{
747
+ })), cr = f(() => F.value.zoom.minimap.show ? [{
748
748
  name: "",
749
- series: z.value.map((e) => e[2]),
749
+ series: R.value.map((e) => e[2]),
750
750
  color: "#000000",
751
751
  isVisible: !0
752
752
  }] : []);
@@ -754,18 +754,18 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
754
754
  return u((e - Z.value.min) / (Z.value.max - Z.value.min));
755
755
  }
756
756
  let ur = f(() => Z.value.ticks.map((e) => ({
757
- y: U.value.bottom - U.value.height * lr(e),
757
+ y: H.value.bottom - H.value.height * lr(e),
758
758
  value: u(e)
759
759
  }))), dr = f(() => Y.value.map((e) => e.period)), $ = b([]), fr = b([]), pr = 0;
760
760
  Xe(() => {
761
761
  let e = ++pr;
762
762
  (async () => {
763
763
  let t = await me({
764
- values: z.value.map((e) => e[0]),
765
- maxDatapoints: z.value.length,
766
- formatter: P.value.xAxis.dataLabels.datetimeFormatter,
767
- start: G.value.start,
768
- end: G.value.end
764
+ values: R.value.map((e) => e[0]),
765
+ maxDatapoints: R.value.length,
766
+ formatter: N.value.xAxis.dataLabels.datetimeFormatter,
767
+ start: W.value.start,
768
+ end: W.value.end
769
769
  });
770
770
  e === pr && ($.value = t);
771
771
  })();
@@ -775,11 +775,11 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
775
775
  let e = ++mr;
776
776
  (async () => {
777
777
  let t = await me({
778
- values: z.value.map((e) => e[0]),
779
- maxDatapoints: z.value.length,
780
- formatter: P.value.xAxis.dataLabels.datetimeFormatter,
778
+ values: R.value.map((e) => e[0]),
779
+ maxDatapoints: R.value.length,
780
+ formatter: N.value.xAxis.dataLabels.datetimeFormatter,
781
781
  start: 0,
782
- end: W.value
782
+ end: U.value
783
783
  });
784
784
  e === mr && (fr.value = t);
785
785
  })();
@@ -791,31 +791,31 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
791
791
  shortDays: []
792
792
  }), gr = 0;
793
793
  Xe(() => {
794
- let e = ++gr, t = P.value.xAxis.dataLabels.datetimeFormatter;
794
+ let e = ++gr, t = N.value.xAxis.dataLabels.datetimeFormatter;
795
795
  (async () => {
796
796
  let n = await pe(t.locale).catch(() => pe("en"));
797
797
  e === gr && (hr.value = n.data);
798
798
  })();
799
799
  });
800
800
  let _r = f(() => {
801
- let e = P.value.xAxis.dataLabels.datetimeFormatter, t = fe({
801
+ let e = N.value.xAxis.dataLabels.datetimeFormatter, t = fe({
802
802
  useUTC: e.useUTC,
803
803
  locale: hr.value,
804
804
  januaryAsYear: e.januaryAsYear
805
805
  });
806
806
  return (e, n) => {
807
- let r = z.value.map((e) => e[0])?.[e];
807
+ let r = R.value.map((e) => e[0])?.[e];
808
808
  return r == null ? "" : t.formatDate(new Date(r), n);
809
809
  };
810
- }), vr = f(() => (z.value.map((e) => e[0]) || []).map((e, t) => ({
811
- text: _r.value(t, I.value.tooltip.timeFormat),
810
+ }), vr = f(() => (R.value.map((e) => e[0]) || []).map((e, t) => ({
811
+ text: _r.value(t, F.value.tooltip.timeFormat),
812
812
  absoluteIndex: t
813
- }))), yr = f(() => (z.value.map((e) => e[0]) || []).map((e, t) => ({
814
- text: _r.value(t, I.value.zoom.timeFormat),
813
+ }))), yr = f(() => (R.value.map((e) => e[0]) || []).map((e, t) => ({
814
+ text: _r.value(t, F.value.zoom.timeFormat),
815
815
  absoluteIndex: t
816
816
  }))), br = f(() => {
817
- let e = Math.max(1, Math.floor(Number(P.value.xAxis.dataLabels.modulo) || 1)), t = ($.value || []).map((e) => e?.text ?? ""), n = (fr.value || []).map((e) => e?.text ?? ""), r = G.value.start ?? 0, i = r > 0 || t.length < n.length;
818
- return ae({
817
+ let e = Math.max(1, Math.floor(Number(N.value.xAxis.dataLabels.modulo) || 1)), t = ($.value || []).map((e) => e?.text ?? ""), n = (fr.value || []).map((e) => e?.text ?? ""), r = W.value.start ?? 0, i = r > 0 || t.length < n.length;
818
+ return ne({
819
819
  configuredModulo: e,
820
820
  visibleTexts: t,
821
821
  allTexts: n,
@@ -823,107 +823,107 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
823
823
  isZoomed: i
824
824
  });
825
825
  }), xr = f(() => {
826
- let e = P.value.xAxis.dataLabels, t = $.value || [], n = fr.value || [], r = G.value.start ?? 0, i = k.value, a = W.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? ""), c = ee(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, br.value, o, s, r, i, a);
826
+ let e = N.value.xAxis.dataLabels, t = $.value || [], n = fr.value || [], r = W.value.start ?? 0, i = k.value, a = U.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? ""), c = ee(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, br.value, o, s, r, i, a);
827
827
  if (!e.showFirstAndLast || e.showOnlyFirstAndLast || !c.length) return c;
828
828
  let l = c.length - 1;
829
829
  return c.map((e, t) => t !== 0 && t !== l ? e : {
830
830
  ...e,
831
831
  text: o[t] ?? ""
832
832
  });
833
- }), Sr = f(() => P.value.xAxis.dataLabels.datetimeFormatter.enable ? {
834
- start: $.value.find((e) => e.absoluteIndex === G.value.start)?.text ?? "",
835
- end: $.value.find((e) => e.absoluteIndex === G.value.end - 1)?.text ?? ""
833
+ }), Sr = f(() => N.value.xAxis.dataLabels.datetimeFormatter.enable ? {
834
+ start: $.value.find((e) => e.absoluteIndex === W.value.start)?.text ?? "",
835
+ end: $.value.find((e) => e.absoluteIndex === W.value.end - 1)?.text ?? ""
836
836
  } : {
837
- start: z.value[G.value.start] ? z.value[G.value.start][0] : z.value[0][0],
838
- end: z.value[G.value.end - 1] ? z.value[G.value.end - 1][0] : z.value.at(-1)[0]
837
+ start: R.value[W.value.start] ? R.value[W.value.start][0] : R.value[0][0],
838
+ end: R.value[W.value.end - 1] ? R.value[W.value.end - 1][0] : R.value.at(-1)[0]
839
839
  }), Cr = b(null);
840
840
  function wr(e, t) {
841
- M.value.events.datapointClick && M.value.events.datapointClick({
841
+ j.value.events.datapointClick && j.value.events.datapointClick({
842
842
  datapoint: t,
843
- seriesIndex: e + G.value.start
843
+ seriesIndex: e + W.value.start
844
844
  });
845
845
  }
846
846
  function Tr(e, t) {
847
- M.value.events.datapointLeave && M.value.events.datapointLeave({
847
+ j.value.events.datapointLeave && j.value.events.datapointLeave({
848
848
  datapoint: t,
849
- seriesIndex: e + G.value.start
850
- }), k.value = void 0, Gt.value = !1, j.value = null, ln.value = "pointer";
849
+ seriesIndex: e + W.value.start
850
+ }), k.value = void 0, Gt.value = !1, A.value = null, un.value = "pointer";
851
851
  }
852
852
  Ye(() => T.selectedXIndex, (e) => {
853
853
  if ([null, void 0].includes(T.selectedXIndex)) {
854
854
  k.value = null;
855
855
  return;
856
856
  }
857
- let t = e - G.value.start;
858
- t < 0 || e >= G.value.end ? k.value = null : k.value = t ?? null;
857
+ let t = e - W.value.start;
858
+ t < 0 || e >= W.value.end ? k.value = null : k.value = t ?? null;
859
859
  }, { immediate: !0 });
860
- function Er(e, n, r = "pointer") {
861
- M.value.events.datapointEnter && M.value.events.datapointEnter({
860
+ function Er(e, n, i = "pointer") {
861
+ j.value.events.datapointEnter && j.value.events.datapointEnter({
862
862
  datapoint: n,
863
- seriesIndex: e + G.value.start
864
- }), k.value = e, j.value = e, ln.value = r, Cr.value = {
863
+ seriesIndex: e + W.value.start
864
+ }), k.value = e, A.value = e, un.value = i, Cr.value = {
865
865
  datapoint: n,
866
866
  seriesIndex: e,
867
867
  series: Q.value,
868
- config: M.value
868
+ config: j.value
869
869
  }, yi({
870
870
  seriesIndex: e,
871
871
  datapoint: n
872
872
  });
873
- let a = I.value.tooltip.customFormat;
874
- if (i(a) && re(() => a({
873
+ let a = F.value.tooltip.customFormat;
874
+ if (r(a) && ae(() => a({
875
875
  seriesIndex: e,
876
876
  datapoint: n,
877
877
  series: Q.value,
878
- config: M.value
878
+ config: j.value
879
879
  }))) Kt.value = a({
880
880
  seriesIndex: e,
881
881
  datapoint: n,
882
882
  series: Q.value,
883
- config: M.value
883
+ config: j.value
884
884
  });
885
- else if (I.value.tooltip.show) {
886
- let r = "", { period: i, open: a, high: o, low: s, close: c, volume: l, isBullish: u } = Q.value[e], { period: ee, open: te, high: ne, low: re, close: ie, volume: ae } = M.value.translations, oe = P.value.xAxis.dataLabels.datetimeFormatter.enable ? I.value.tooltip.useDefaultTimeFormat ? $.value[e].text : vr.value[e].text : i;
887
- r += `<div><svg style="margin-right:6px" viewBox="0 0 12 12" height="12" width="12"><rect x="0" y="0" height="12" width="12" rx="${N.value.borderRadius * 3}" stroke="${N.value.stroke}" stroke-width="${N.value.strokeWidth}"
888
- fill="${N.value.gradient.show ? u ? `url(#bullish_gradient_${O.value})` : `url(#bearish_gradient_${O.value})` : u ? N.value.colors.bullish : N.value.colors.bearish}"/></svg>${oe}</div>`, r += `${ae} : <b>${isNaN(l) ? "-" : Number(l.toFixed(I.value.tooltip.roundingValue)).toLocaleString()}</b>`, r += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${I.value.tooltip.borderColor}">`;
885
+ else if (F.value.tooltip.show) {
886
+ let r = "", { period: i, open: a, high: o, low: s, close: c, volume: l, isBullish: u } = Q.value[e], { period: ee, open: te, high: ne, low: re, close: ie, volume: ae } = j.value.translations, oe = N.value.xAxis.dataLabels.datetimeFormatter.enable ? F.value.tooltip.useDefaultTimeFormat ? $.value[e].text : vr.value[e].text : i;
887
+ r += `<div><svg style="margin-right:6px" viewBox="0 0 12 12" height="12" width="12"><rect x="0" y="0" height="12" width="12" rx="${M.value.borderRadius * 3}" stroke="${M.value.stroke}" stroke-width="${M.value.strokeWidth}"
888
+ fill="${M.value.gradient.show ? u ? `url(#bullish_gradient_${O.value})` : `url(#bearish_gradient_${O.value})` : u ? M.value.colors.bullish : M.value.colors.bearish}"/></svg>${oe}</div>`, r += `${ae} : <b>${isNaN(l) ? "-" : Number(l.toFixed(F.value.tooltip.roundingValue)).toLocaleString()}</b>`, r += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${F.value.tooltip.borderColor}">`;
889
889
  let se = t({
890
- p: I.value.tooltip.prefix,
890
+ p: F.value.tooltip.prefix,
891
891
  v: a.value,
892
- s: I.value.tooltip.suffix,
893
- r: I.value.tooltip.roundingValue
892
+ s: F.value.tooltip.suffix,
893
+ r: F.value.tooltip.roundingValue
894
894
  }), ce = t({
895
- p: I.value.tooltip.prefix,
895
+ p: F.value.tooltip.prefix,
896
896
  v: o.value,
897
- s: I.value.tooltip.suffix,
898
- r: I.value.tooltip.roundingValue
897
+ s: F.value.tooltip.suffix,
898
+ r: F.value.tooltip.roundingValue
899
899
  }), le = t({
900
- p: I.value.tooltip.prefix,
900
+ p: F.value.tooltip.prefix,
901
901
  v: s.value,
902
- s: I.value.tooltip.suffix,
903
- r: I.value.tooltip.roundingValue
902
+ s: F.value.tooltip.suffix,
903
+ r: F.value.tooltip.roundingValue
904
904
  }), ue = t({
905
- p: I.value.tooltip.prefix,
905
+ p: F.value.tooltip.prefix,
906
906
  v: c.value,
907
- s: I.value.tooltip.suffix,
908
- r: I.value.tooltip.roundingValue
907
+ s: F.value.tooltip.suffix,
908
+ r: F.value.tooltip.roundingValue
909
909
  });
910
- I.value.tooltip.showChart ? r += `<div style="width:100%;display:flex;align-items:center;justify-content:center;">
910
+ F.value.tooltip.showChart ? r += `<div style="width:100%;display:flex;align-items:center;justify-content:center;">
911
911
  <svg viewBox="0 0 100 100" width="100px" style="background: transparent; overflow: visible">
912
912
  <g>
913
- <line x1="50" x2="50" y1="20" y2="80" stroke="${n.isBullish ? N.value.colors.bullish : N.value.colors.bearish}" stroke-width="2" stroke-linecap="round" />
913
+ <line x1="50" x2="50" y1="20" y2="80" stroke="${n.isBullish ? M.value.colors.bullish : M.value.colors.bearish}" stroke-width="2" stroke-linecap="round" />
914
914
  ${n.isBullish ? `
915
- <line x1="45" x2="50" y1="65" y2="65" stroke="${N.value.colors.bullish}" stroke-width="1.5" stroke-linecap="round" />
916
- <line x1="50" x2="55" y1="35" y2="35" stroke="${N.value.colors.bullish}" stroke-width="1.5" stroke-linecap="round" />
917
- <text x="38" y="70" text-anchor="end" fill="${I.value.tooltip.color}">${se}</text>
918
- <text x="62" y="40" text-anchor="start" fill="${I.value.tooltip.color}">${ue}</text>
915
+ <line x1="45" x2="50" y1="65" y2="65" stroke="${M.value.colors.bullish}" stroke-width="1.5" stroke-linecap="round" />
916
+ <line x1="50" x2="55" y1="35" y2="35" stroke="${M.value.colors.bullish}" stroke-width="1.5" stroke-linecap="round" />
917
+ <text x="38" y="70" text-anchor="end" fill="${F.value.tooltip.color}">${se}</text>
918
+ <text x="62" y="40" text-anchor="start" fill="${F.value.tooltip.color}">${ue}</text>
919
919
  ` : `
920
- <line x1="45" x2="50" y1="35" y2="35" stroke="${N.value.colors.bearish}" stroke-width="1.5" stroke-linecap="round" />
921
- <line x1="50" x2="55" y1="65" y2="65" stroke="${N.value.colors.bearish}" stroke-width="1.5" stroke-linecap="round" />
922
- <text x="40" y="40" text-anchor="end" fill="${I.value.tooltip.color}">${se}</text>
923
- <text x="60" y="70" text-anchor="start" fill="${I.value.tooltip.color}">${ue}</text>
920
+ <line x1="45" x2="50" y1="35" y2="35" stroke="${M.value.colors.bearish}" stroke-width="1.5" stroke-linecap="round" />
921
+ <line x1="50" x2="55" y1="65" y2="65" stroke="${M.value.colors.bearish}" stroke-width="1.5" stroke-linecap="round" />
922
+ <text x="40" y="40" text-anchor="end" fill="${F.value.tooltip.color}">${se}</text>
923
+ <text x="60" y="70" text-anchor="start" fill="${F.value.tooltip.color}">${ue}</text>
924
924
  `}
925
- <text x="50" y="13" text-anchor="middle" fill="${I.value.tooltip.color}">${ce}</text>
926
- <text x="50" y="97" text-anchor="middle" fill="${I.value.tooltip.color}">${le}</text>
925
+ <text x="50" y="13" text-anchor="middle" fill="${F.value.tooltip.color}">${ce}</text>
926
+ <text x="50" y="97" text-anchor="middle" fill="${F.value.tooltip.color}">${le}</text>
927
927
  <g>
928
928
  </svg>
929
929
  <div>
@@ -942,8 +942,8 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
942
942
  let n = !e;
943
943
  Nr(n), await Ve(), Dr.value && cancelAnimationFrame(Dr.value), Dr.value = requestAnimationFrame(async () => {
944
944
  await Or(), Nr(n), Dr.value = null, t && (Xn({
945
- start: Number(G.value.start),
946
- end: Number(G.value.end)
945
+ start: Number(W.value.start),
946
+ end: Number(W.value.end)
947
947
  }), E("zoomReset"));
948
948
  });
949
949
  }
@@ -958,8 +958,8 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
958
958
  if (!Ar.value) {
959
959
  Ar.value = !0;
960
960
  try {
961
- let { startIndex: t, endIndex: n } = I.value.zoom, r = W.value, i = t ?? 0, a = n == null ? r : Math.min(Pr(n + 1, i), r);
962
- Mr.value = !0, G.value.start = i, G.value.end = a, K.value.start = i, K.value.end = a, er(), jr.value = !0, e && T.zoomState && Qn(T.zoomState);
961
+ let { startIndex: t, endIndex: n } = F.value.zoom, r = U.value, i = t ?? 0, a = n == null ? r : Math.min(Pr(n + 1, i), r);
962
+ Mr.value = !0, W.value.start = i, W.value.end = a, G.value.start = i, G.value.end = a, er(), jr.value = !0, e && T.zoomState && Qn(T.zoomState);
963
963
  } finally {
964
964
  queueMicrotask(() => {
965
965
  Mr.value = !1;
@@ -967,67 +967,67 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
967
967
  }
968
968
  }
969
969
  }
970
- function Pr(e, t = G.value.start) {
971
- let n = W.value, r = Number(t);
970
+ function Pr(e, t = W.value.start) {
971
+ let n = U.value, r = Number(t);
972
972
  return e > n ? n : e < 0 || e <= r ? Math.min(r + 1, n) : e;
973
973
  }
974
974
  function Fr(e = null) {
975
975
  Ve(() => {
976
976
  let t = [
977
- M.value.translations.period,
978
- M.value.translations.open,
979
- M.value.translations.high,
980
- M.value.translations.low,
981
- M.value.translations.close,
982
- M.value.translations.volume
983
- ], n = Q.value.map((e, t) => [
984
- P.value.xAxis.dataLabels.datetimeFormatter.enable ? $.value[t].text : e.period,
977
+ j.value.translations.period,
978
+ j.value.translations.open,
979
+ j.value.translations.high,
980
+ j.value.translations.low,
981
+ j.value.translations.close,
982
+ j.value.translations.volume
983
+ ], r = Q.value.map((e, t) => [
984
+ N.value.xAxis.dataLabels.datetimeFormatter.enable ? $.value[t].text : e.period,
985
985
  e.open.value,
986
986
  e.high.value,
987
987
  e.low.value,
988
988
  e.close.value,
989
989
  e.volume
990
990
  ]), i = [
991
- [I.value.title.text],
992
- [I.value.title.subtitle.text],
991
+ [F.value.title.text],
992
+ [F.value.title.subtitle.text],
993
993
  [
994
994
  [""],
995
995
  [""],
996
996
  [""]
997
997
  ],
998
998
  t
999
- ].concat(n), a = r(i);
1000
- e ? e(a) : oe({
999
+ ].concat(r), a = n(i);
1000
+ e ? e(a) : ie({
1001
1001
  csvContent: a,
1002
- title: I.value.title.text || "vue-ui-candlestick"
1002
+ title: F.value.title.text || "vue-ui-candlestick"
1003
1003
  });
1004
1004
  });
1005
1005
  }
1006
1006
  let Ir = f(() => {
1007
1007
  let e = Q.value.map((e, n) => {
1008
- let r = P.value.xAxis.dataLabels.datetimeFormatter.enable ? $.value?.[n]?.text ?? "" : e.period, i = t({
1009
- p: M.value.table.td.prefix,
1008
+ let r = N.value.xAxis.dataLabels.datetimeFormatter.enable ? $.value?.[n]?.text ?? "" : e.period, i = t({
1009
+ p: j.value.table.td.prefix,
1010
1010
  v: e.open.value,
1011
- s: M.value.table.td.suffix,
1012
- r: M.value.table.td.roundingValue
1011
+ s: j.value.table.td.suffix,
1012
+ r: j.value.table.td.roundingValue
1013
1013
  }), a = t({
1014
- p: M.value.table.td.prefix,
1014
+ p: j.value.table.td.prefix,
1015
1015
  v: e.high.value,
1016
- s: M.value.table.td.suffix,
1017
- r: M.value.table.td.roundingValue
1016
+ s: j.value.table.td.suffix,
1017
+ r: j.value.table.td.roundingValue
1018
1018
  }), o = t({
1019
- p: M.value.table.td.prefix,
1019
+ p: j.value.table.td.prefix,
1020
1020
  v: e.low.value,
1021
- s: M.value.table.td.suffix,
1022
- r: M.value.table.td.roundingValue
1021
+ s: j.value.table.td.suffix,
1022
+ r: j.value.table.td.roundingValue
1023
1023
  }), s = t({
1024
- p: M.value.table.td.prefix,
1024
+ p: j.value.table.td.prefix,
1025
1025
  v: e.close.value,
1026
- s: M.value.table.td.suffix,
1027
- r: M.value.table.td.roundingValue
1026
+ s: j.value.table.td.suffix,
1027
+ r: j.value.table.td.roundingValue
1028
1028
  });
1029
1029
  return [
1030
- `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" height="12" width="12" style="margin-right: 6px"><rect x="0" y="0" height="12" width="12" rx="${N.value.borderRadius * 3}" fill="${N.value.gradient.show ? e.isBullish ? `url(#bullish_gradient_${O.value})` : `url(#bearish_gradient_${O.value})` : e.isBullish ? N.value.colors.bullish : N.value.colors.bearish}"/></svg> ${r}`,
1030
+ `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" height="12" width="12" style="margin-right: 6px"><rect x="0" y="0" height="12" width="12" rx="${M.value.borderRadius * 3}" fill="${M.value.gradient.show ? e.isBullish ? `url(#bullish_gradient_${O.value})` : `url(#bearish_gradient_${O.value})` : e.isBullish ? M.value.colors.bullish : M.value.colors.bearish}"/></svg> ${r}`,
1031
1031
  i,
1032
1032
  a,
1033
1033
  o,
@@ -1035,51 +1035,51 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1035
1035
  `${isNaN(e.volume) ? "-" : e.volume.toLocaleString()}`
1036
1036
  ];
1037
1037
  }), n = Q.value.map((e, n) => [
1038
- P.value.xAxis.dataLabels.datetimeFormatter.enable ? $.value?.[n]?.text ?? "" : e.period,
1038
+ N.value.xAxis.dataLabels.datetimeFormatter.enable ? $.value?.[n]?.text ?? "" : e.period,
1039
1039
  t({
1040
- p: M.value.table.td.prefix,
1040
+ p: j.value.table.td.prefix,
1041
1041
  v: e.open.value,
1042
- s: M.value.table.td.suffix,
1043
- r: M.value.table.td.roundingValue
1042
+ s: j.value.table.td.suffix,
1043
+ r: j.value.table.td.roundingValue
1044
1044
  }),
1045
1045
  t({
1046
- p: M.value.table.td.prefix,
1046
+ p: j.value.table.td.prefix,
1047
1047
  v: e.high.value,
1048
- s: M.value.table.td.suffix,
1049
- r: M.value.table.td.roundingValue
1048
+ s: j.value.table.td.suffix,
1049
+ r: j.value.table.td.roundingValue
1050
1050
  }),
1051
1051
  t({
1052
- p: M.value.table.td.prefix,
1052
+ p: j.value.table.td.prefix,
1053
1053
  v: e.low.value,
1054
- s: M.value.table.td.suffix,
1055
- r: M.value.table.td.roundingValue
1054
+ s: j.value.table.td.suffix,
1055
+ r: j.value.table.td.roundingValue
1056
1056
  }),
1057
1057
  t({
1058
- p: M.value.table.td.prefix,
1058
+ p: j.value.table.td.prefix,
1059
1059
  v: e.close.value,
1060
- s: M.value.table.td.suffix,
1061
- r: M.value.table.td.roundingValue
1060
+ s: j.value.table.td.suffix,
1061
+ r: j.value.table.td.roundingValue
1062
1062
  }),
1063
1063
  `${isNaN(e.volume) ? "-" : e.volume}`
1064
1064
  ]), r = {
1065
1065
  th: {
1066
- backgroundColor: M.value.table.th.backgroundColor,
1067
- color: M.value.table.th.color,
1068
- outline: M.value.table.th.outline
1066
+ backgroundColor: j.value.table.th.backgroundColor,
1067
+ color: j.value.table.th.color,
1068
+ outline: j.value.table.th.outline
1069
1069
  },
1070
1070
  td: {
1071
- backgroundColor: M.value.table.td.backgroundColor,
1072
- color: M.value.table.td.color,
1073
- outline: M.value.table.td.outline
1071
+ backgroundColor: j.value.table.td.backgroundColor,
1072
+ color: j.value.table.td.color,
1073
+ outline: j.value.table.td.outline
1074
1074
  },
1075
- breakpoint: M.value.table.responsiveBreakpoint
1075
+ breakpoint: j.value.table.responsiveBreakpoint
1076
1076
  }, i = [
1077
- M.value.translations.period,
1078
- M.value.translations.open,
1079
- M.value.translations.high,
1080
- M.value.translations.low,
1081
- M.value.translations.last,
1082
- M.value.translations.volume
1077
+ j.value.translations.period,
1078
+ j.value.translations.open,
1079
+ j.value.translations.high,
1080
+ j.value.translations.low,
1081
+ j.value.translations.last,
1082
+ j.value.translations.volume
1083
1083
  ];
1084
1084
  return {
1085
1085
  head: i,
@@ -1093,40 +1093,40 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1093
1093
  Lr.value = e, qt.value += 1;
1094
1094
  }
1095
1095
  function zr() {
1096
- H.value.showTable = !H.value.showTable;
1096
+ V.value.showTable = !V.value.showTable;
1097
1097
  }
1098
1098
  function Br() {
1099
- H.value.showTooltip = !H.value.showTooltip;
1099
+ V.value.showTooltip = !V.value.showTooltip;
1100
1100
  }
1101
1101
  let Vr = b(!1);
1102
1102
  function Hr() {
1103
1103
  Vr.value = !Vr.value;
1104
1104
  }
1105
1105
  async function Ur({ scale: e = 2 } = {}) {
1106
- if (!A.value) return;
1106
+ if (!Jt.value) return;
1107
1107
  let { imageUri: t, base64: n } = await we({
1108
- domElement: A.value,
1108
+ domElement: Jt.value,
1109
1109
  base64: !0,
1110
1110
  img: !0,
1111
1111
  scale: e
1112
- }), r = A.value.getBoundingClientRect(), i = {
1112
+ }), r = Jt.value.getBoundingClientRect(), i = {
1113
1113
  width: r.width,
1114
1114
  height: r.height,
1115
1115
  aspectRatio: r.height ? r.width / r.height : 0
1116
- }, a = await ie(t, e) ?? i;
1116
+ }, a = await c(t, e) ?? i;
1117
1117
  return {
1118
1118
  imageUri: t,
1119
1119
  base64: n,
1120
- title: I.value.title.text,
1120
+ title: F.value.title.text,
1121
1121
  ...a
1122
1122
  };
1123
1123
  }
1124
- let Wr = f(() => V.value.width), Gr = f(() => V.value.height);
1124
+ let Wr = f(() => B.value.width), Gr = f(() => B.value.height);
1125
1125
  Ce({
1126
- timeLabelsEls: rn,
1126
+ timeLabelsEls: an,
1127
1127
  timeLabels: $,
1128
- slicer: G,
1129
- configRef: M,
1128
+ slicer: W,
1129
+ configRef: j,
1130
1130
  rotationPath: [
1131
1131
  "style",
1132
1132
  "layout",
@@ -1145,63 +1145,63 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1145
1145
  "enable"
1146
1146
  ],
1147
1147
  isAutoSize: !1,
1148
- rotation: P.value.xAxis.dataLabels.autoRotate.angle,
1148
+ rotation: N.value.xAxis.dataLabels.autoRotate.angle,
1149
1149
  width: Wr,
1150
1150
  height: Gr
1151
- }), Ye(M, () => {
1152
- H.value = {
1153
- showTable: M.value.table.show,
1154
- showTooltip: I.value.tooltip.show
1151
+ }), Ye(j, () => {
1152
+ V.value = {
1153
+ showTable: j.value.table.show,
1154
+ showTooltip: F.value.tooltip.show
1155
1155
  };
1156
1156
  }, { immediate: !0 });
1157
1157
  let Kr = f(() => {
1158
- let e = M.value.table.useDialog && !M.value.table.show, t = H.value.showTable;
1158
+ let e = j.value.table.useDialog && !j.value.table.show, t = V.value.showTable;
1159
1159
  return {
1160
1160
  component: e ? zt : Pt,
1161
- title: `${I.value.title.text}${I.value.title.subtitle.text ? `: ${I.value.title.subtitle.text}` : ""}`,
1161
+ title: `${F.value.title.text}${F.value.title.subtitle.text ? `: ${F.value.title.subtitle.text}` : ""}`,
1162
1162
  props: e ? {
1163
- backgroundColor: M.value.table.th.backgroundColor,
1164
- color: M.value.table.th.color,
1165
- headerColor: M.value.table.th.color,
1166
- headerBg: M.value.table.th.backgroundColor,
1163
+ backgroundColor: j.value.table.th.backgroundColor,
1164
+ color: j.value.table.th.color,
1165
+ headerColor: j.value.table.th.color,
1166
+ headerBg: j.value.table.th.backgroundColor,
1167
1167
  isFullscreen: Lr.value,
1168
- fullscreenParent: A.value,
1168
+ fullscreenParent: Jt.value,
1169
1169
  forcedWidth: Math.min(800, window.innerWidth * .8),
1170
- isCursorPointer: fn.value
1170
+ isCursorPointer: pn.value
1171
1171
  } : {
1172
1172
  hideDetails: !0,
1173
1173
  config: {
1174
1174
  open: t,
1175
1175
  maxHeight: 1e4,
1176
1176
  body: {
1177
- backgroundColor: I.value.backgroundColor,
1178
- color: I.value.color
1177
+ backgroundColor: F.value.backgroundColor,
1178
+ color: F.value.color
1179
1179
  },
1180
1180
  head: {
1181
- backgroundColor: I.value.backgroundColor,
1182
- color: I.value.color
1181
+ backgroundColor: F.value.backgroundColor,
1182
+ color: F.value.color
1183
1183
  }
1184
1184
  }
1185
1185
  }
1186
1186
  };
1187
1187
  });
1188
- Ye(() => H.value.showTable, (e) => {
1189
- M.value.table.show || (e && M.value.table.useDialog && an.value ? an.value.open() : "close" in an.value && an.value.close());
1188
+ Ye(() => V.value.showTable, (e) => {
1189
+ j.value.table.show || (e && j.value.table.useDialog && on.value ? on.value.open() : "close" in on.value && on.value.close());
1190
1190
  });
1191
1191
  function qr() {
1192
- H.value.showTable = !1, on.value && on.value.setTableIconState(!1);
1192
+ V.value.showTable = !1, sn.value && sn.value.setTableIconState(!1);
1193
1193
  }
1194
- let Jr = f(() => I.value.backgroundColor), Yr = f(() => I.value.title), { isCallbackImaging: Xr, isCallbackSvg: Zr, generateSvg: Qr, onGenerateImage: $r } = xe({
1195
- svg: B,
1194
+ let Jr = f(() => F.value.backgroundColor), Yr = f(() => F.value.title), { isCallbackImaging: Xr, isCallbackSvg: Zr, generateSvg: Qr, onGenerateImage: $r } = xe({
1195
+ svg: z,
1196
1196
  title: Yr,
1197
1197
  legend: null,
1198
1198
  legendItems: null,
1199
1199
  backgroundColor: Jr,
1200
- getSvgCallback: () => M.value.userOptions.callbacks.svg,
1201
- generateImage: An
1200
+ getSvgCallback: () => j.value.userOptions.callbacks.svg,
1201
+ generateImage: jn
1202
1202
  });
1203
1203
  function ei(e) {
1204
- sn.value = e;
1204
+ cn.value = e;
1205
1205
  }
1206
1206
  function ti(e) {
1207
1207
  Kn = {
@@ -1209,12 +1209,12 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1209
1209
  ...e
1210
1210
  }, Gn && cancelAnimationFrame(Gn), Gn = requestAnimationFrame(() => {
1211
1211
  let e = {
1212
- ...G.value,
1212
+ ...W.value,
1213
1213
  ...Kn
1214
1214
  };
1215
- Kn = {}, Gn = null, G.value = e, K.value = { ...e }, er(), Xn({
1216
- start: Number(G.value.start),
1217
- end: Number(G.value.end)
1215
+ Kn = {}, Gn = null, W.value = e, G.value = { ...e }, er(), Xn({
1216
+ start: Number(W.value.start),
1217
+ end: Number(W.value.end)
1218
1218
  });
1219
1219
  });
1220
1220
  }
@@ -1224,18 +1224,18 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1224
1224
  Number.isFinite(t) && (E("zoomStart", {
1225
1225
  index: t,
1226
1226
  isZoom: t !== 0
1227
- }), t !== G.value.start && ti({ start: t }));
1227
+ }), t !== W.value.start && ti({ start: t }));
1228
1228
  }
1229
1229
  function ri(e) {
1230
1230
  if (Ar.value || Mr.value) return;
1231
- let t = Kn.start === void 0 ? G.value.start : Kn.start, n = Pr(Number(e), t);
1231
+ let t = Kn.start === void 0 ? W.value.start : Kn.start, n = Pr(Number(e), t);
1232
1232
  Number.isFinite(n) && (E("zoomEnd", {
1233
1233
  index: n,
1234
- isZoom: n !== W.value
1235
- }), (n !== G.value.end || Kn.start !== void 0) && ti({ end: n }));
1234
+ isZoom: n !== U.value
1235
+ }), (n !== W.value.end || Kn.start !== void 0) && ti({ end: n }));
1236
1236
  }
1237
1237
  function ii(e) {
1238
- let t = B.value;
1238
+ let t = z.value;
1239
1239
  if (!t) return null;
1240
1240
  if (t.createSVGPoint && t.getScreenCTM) {
1241
1241
  let n = t.createSVGPoint();
@@ -1262,34 +1262,34 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1262
1262
  y: (e.clientY - n.top - c) / i + r.y
1263
1263
  };
1264
1264
  }
1265
- let ai = f(() => !Rn.value || Bn.value == null || q.value == null ? null : {
1266
- x: Math.min(Bn.value, q.value),
1267
- y: U.value.top,
1268
- width: Math.abs(q.value - Bn.value),
1269
- height: U.value.height
1270
- }), oi = f(() => jr.value ? Number(G.value.start) !== 0 || Number(G.value.end) !== Number(W.value) : !1);
1265
+ let ai = f(() => !zn.value || Vn.value == null || K.value == null ? null : {
1266
+ x: Math.min(Vn.value, K.value),
1267
+ y: H.value.top,
1268
+ width: Math.abs(K.value - Vn.value),
1269
+ height: H.value.height
1270
+ }), oi = f(() => jr.value ? Number(W.value.start) !== 0 || Number(W.value.end) !== Number(U.value) : !1);
1271
1271
  function si(e) {
1272
- return Math.min(Math.max(e, U.value.left), U.value.right);
1272
+ return Math.min(Math.max(e, H.value.left), H.value.right);
1273
1273
  }
1274
1274
  function ci() {
1275
- k.value = void 0, j.value = null, ln.value = "pointer", Gt.value = !1, sn.value = null;
1275
+ k.value = void 0, A.value = null, un.value = "pointer", Gt.value = !1, cn.value = null;
1276
1276
  }
1277
1277
  function li(e) {
1278
- let t = e?.pointerId == null ? J.value : e.pointerId;
1279
- t != null && B.value?.hasPointerCapture?.(t) && B.value.releasePointerCapture(t), Rn.value = !1, Bn.value = null, q.value = null, J.value = null;
1278
+ let t = e?.pointerId == null ? q.value : e.pointerId;
1279
+ t != null && z.value?.hasPointerCapture?.(t) && z.value.releasePointerCapture(t), zn.value = !1, Vn.value = null, K.value = null, q.value = null;
1280
1280
  }
1281
1281
  function ui() {
1282
- Vn.value = !0, setTimeout(() => {
1283
- Vn.value = !1;
1282
+ Hn.value = !0, setTimeout(() => {
1283
+ Hn.value = !1;
1284
1284
  }, 0);
1285
1285
  }
1286
1286
  function di(e) {
1287
- Vn.value && (Vn.value = !1, e.preventDefault(), e.stopPropagation());
1287
+ Hn.value && (Hn.value = !1, e.preventDefault(), e.stopPropagation());
1288
1288
  }
1289
1289
  function fi(e) {
1290
- if (!Wn.value || !oi.value || !e) return !1;
1291
- let t = Date.now(), n = e.pointerType || "mouse", r = Hn.value, i = n === "touch" ? 450 : 350, a = n === "touch" ? 28 : 10, o = Math.hypot(e.clientX - r.x, e.clientY - r.y);
1292
- return r.time > 0 && r.pointerType === n && t - r.time <= i && o <= a ? (Hn.value = {
1290
+ if (!J.value || !oi.value || !e) return !1;
1291
+ let t = Date.now(), n = e.pointerType || "mouse", r = Un.value, i = n === "touch" ? 450 : 350, a = n === "touch" ? 28 : 10, o = Math.hypot(e.clientX - r.x, e.clientY - r.y);
1292
+ return r.time > 0 && r.pointerType === n && t - r.time <= i && o <= a ? (Un.value = {
1293
1293
  time: 0,
1294
1294
  x: 0,
1295
1295
  y: 0,
@@ -1297,7 +1297,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1297
1297
  }, ui(), li(e), kr({
1298
1298
  force: !0,
1299
1299
  publish: !0
1300
- }), !0) : (Hn.value = {
1300
+ }), !0) : (Un.value = {
1301
1301
  time: t,
1302
1302
  x: e.clientX,
1303
1303
  y: e.clientY,
@@ -1305,9 +1305,9 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1305
1305
  }, !1);
1306
1306
  }
1307
1307
  function pi(e) {
1308
- let t = Number(G.value.end) - Number(G.value.start);
1308
+ let t = Number(W.value.end) - Number(W.value.start);
1309
1309
  if (t <= 0 || !Number.isFinite(X.value) || X.value <= 0) return null;
1310
- let n = Math.floor((si(e) - U.value.left) / X.value);
1310
+ let n = Math.floor((si(e) - H.value.left) / X.value);
1311
1311
  return Math.max(0, Math.min(t - 1, n));
1312
1312
  }
1313
1313
  function mi(e, t) {
@@ -1315,8 +1315,8 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1315
1315
  if (n == null || r == null) return null;
1316
1316
  let i = Math.min(n, r), a = Math.max(n, r);
1317
1317
  return a <= i ? null : {
1318
- start: Number(G.value.start) + i,
1319
- end: Number(G.value.start) + a + 1
1318
+ start: Number(W.value.start) + i,
1319
+ end: Number(W.value.start) + a + 1
1320
1320
  };
1321
1321
  }
1322
1322
  function hi(e) {
@@ -1326,30 +1326,30 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1326
1326
  isZoom: t.start !== 0
1327
1327
  }), E("zoomEnd", {
1328
1328
  index: t.end,
1329
- isZoom: t.end !== W.value
1329
+ isZoom: t.end !== U.value
1330
1330
  }), t) : null;
1331
1331
  }
1332
1332
  function gi(e) {
1333
- if (!Wn.value || Vr.value || e.button !== void 0 && e.button !== 0 || J.value != null && e.pointerId !== J.value) return;
1333
+ if (!J.value || Vr.value || e.button !== void 0 && e.button !== 0 || q.value != null && e.pointerId !== q.value) return;
1334
1334
  let t = ii(e);
1335
1335
  if (!t) return;
1336
- let { left: n, right: r, top: i, bottom: a } = U.value;
1337
- if (t.x < n || t.x > r || t.y < i || t.y > a || Number(G.value.end) - Number(G.value.start) <= 1) return;
1338
- zn.value = !0, B.value?.focus?.({ preventScroll: !0 }), ci();
1336
+ let { left: n, right: r, top: i, bottom: a } = H.value;
1337
+ if (t.x < n || t.x > r || t.y < i || t.y > a || Number(W.value.end) - Number(W.value.start) <= 1) return;
1338
+ Bn.value = !0, z.value?.focus?.({ preventScroll: !0 }), ci();
1339
1339
  let o = si(t.x);
1340
- J.value = e.pointerId, Rn.value = !0, Bn.value = o, q.value = o;
1340
+ q.value = e.pointerId, zn.value = !0, Vn.value = o, K.value = o;
1341
1341
  }
1342
1342
  function _i(e) {
1343
- if (!Wn.value || !Rn.value || J.value != null && e.pointerId !== J.value) return;
1343
+ if (!J.value || !zn.value || q.value != null && e.pointerId !== q.value) return;
1344
1344
  let t = ii(e);
1345
- t && (q.value = si(t.x), ci(), Bn.value != null && Math.abs(q.value - Bn.value) >= 2 && !B.value?.hasPointerCapture?.(e.pointerId) && B.value?.setPointerCapture?.(e.pointerId));
1345
+ t && (K.value = si(t.x), ci(), Vn.value != null && Math.abs(K.value - Vn.value) >= 2 && !z.value?.hasPointerCapture?.(e.pointerId) && z.value?.setPointerCapture?.(e.pointerId));
1346
1346
  }
1347
1347
  function vi(e) {
1348
- if (!Wn.value || !Rn.value || J.value != null && e.pointerId !== J.value) return;
1348
+ if (!J.value || !zn.value || q.value != null && e.pointerId !== q.value) return;
1349
1349
  let t = ii(e);
1350
- t && (q.value = si(t.x));
1351
- let n = Bn.value, r = q.value;
1352
- if ((n == null || r == null ? 0 : Math.abs(r - n)) < Math.max(4, U.value.width * .01)) {
1350
+ t && (K.value = si(t.x));
1351
+ let n = Vn.value, r = K.value;
1352
+ if ((n == null || r == null ? 0 : Math.abs(r - n)) < Math.max(4, H.value.width * .01)) {
1353
1353
  if (fi(e)) return;
1354
1354
  li(e);
1355
1355
  return;
@@ -1359,7 +1359,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1359
1359
  li(e);
1360
1360
  return;
1361
1361
  }
1362
- li(e), hi(i) && (Hn.value = {
1362
+ li(e), hi(i) && (Un.value = {
1363
1363
  time: 0,
1364
1364
  x: 0,
1365
1365
  y: 0,
@@ -1367,7 +1367,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1367
1367
  }, ci(), ui());
1368
1368
  }
1369
1369
  function yi({ seriesIndex: e, datapoint: t }) {
1370
- let n = G.value.start + e;
1370
+ let n = W.value.start + e;
1371
1371
  E("selectX", {
1372
1372
  dataset: t,
1373
1373
  index: n,
@@ -1376,56 +1376,56 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1376
1376
  }
1377
1377
  async function bi() {
1378
1378
  if (E("copyAlt", {
1379
- config: M.value,
1379
+ config: j.value,
1380
1380
  dataset: Q.value
1381
- }), !M.value.userOptions.callbacks.altCopy) {
1381
+ }), !j.value.userOptions.callbacks.altCopy) {
1382
1382
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
1383
1383
  return;
1384
1384
  }
1385
- await Promise.resolve(M.value.userOptions.callbacks.altCopy({
1386
- config: M.value,
1385
+ await Promise.resolve(j.value.userOptions.callbacks.altCopy({
1386
+ config: j.value,
1387
1387
  dataset: Q.value
1388
1388
  }));
1389
1389
  }
1390
1390
  function xi() {
1391
- j.value = null, un.value = !0;
1391
+ A.value = null, dn.value = !0;
1392
1392
  }
1393
1393
  function Si() {
1394
- zn.value = !1, j.value = null, ln.value = "pointer", Gt.value = !1, k.value = void 0, un.value = !1;
1394
+ Bn.value = !1, A.value = null, un.value = "pointer", Gt.value = !1, k.value = void 0, dn.value = !1;
1395
1395
  }
1396
1396
  function Ci(e) {
1397
- if (!B.value || Vr.value || document.activeElement !== B.value || (zn.value = !1, !Q.value.length)) return;
1397
+ if (!z.value || Vr.value || document.activeElement !== z.value || (Bn.value = !1, !Q.value.length)) return;
1398
1398
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1399
1399
  if (!t && !n && !r && !i) return;
1400
1400
  if (e.preventDefault(), e.stopPropagation(), i) {
1401
- if (Wn.value && (oi.value || Rn.value)) {
1401
+ if (J.value && (oi.value || zn.value)) {
1402
1402
  li(), kr({
1403
1403
  force: !0,
1404
1404
  publish: !0
1405
1405
  });
1406
1406
  return;
1407
1407
  }
1408
- j.value = null, ln.value = "pointer", Gt.value = !1, k.value = void 0;
1408
+ A.value = null, un.value = "pointer", Gt.value = !1, k.value = void 0;
1409
1409
  return;
1410
1410
  }
1411
1411
  if (r) {
1412
- if (j.value === null) return;
1413
- let e = Q.value[j.value];
1412
+ if (A.value === null) return;
1413
+ let e = Q.value[A.value];
1414
1414
  if (!e) return;
1415
- wr(j.value, e);
1415
+ wr(A.value, e);
1416
1416
  return;
1417
1417
  }
1418
- let a = j.value, o = k.value, s = a !== null && a >= 0 && a < Q.value.length, c = o != null && o >= 0 && o < Q.value.length;
1418
+ let a = A.value, o = k.value, s = a !== null && a >= 0 && a < Q.value.length, c = o != null && o >= 0 && o < Q.value.length;
1419
1419
  s ? n ? (a += 1, a >= Q.value.length && (a = 0)) : t && (--a, a < 0 && (a = Q.value.length - 1)) : c ? (a = n ? o + 1 : o - 1, a >= Q.value.length && (a = 0), a < 0 && (a = Q.value.length - 1)) : a = n ? 0 : Q.value.length - 1;
1420
1420
  let l = Q.value[a];
1421
1421
  l && (wi(a), Er(a, l, "keyboard"));
1422
1422
  }
1423
1423
  function wi(e) {
1424
- if (!Number.isFinite(e) || !B.value) return;
1425
- let t = U.value.left + X.value * e + X.value / 2, n = U.value.top + U.value.height / 2, r = B.value.getBoundingClientRect();
1426
- cn.value = {
1427
- x: r.left + t / V.value.width * r.width,
1428
- y: r.top + n / V.value.height * r.height
1424
+ if (!Number.isFinite(e) || !z.value) return;
1425
+ let t = H.value.left + X.value * e + X.value / 2, n = H.value.top + H.value.height / 2, r = z.value.getBoundingClientRect();
1426
+ ln.value = {
1427
+ x: r.left + t / B.value.width * r.width,
1428
+ y: r.top + n / B.value.height * r.height
1429
1429
  };
1430
1430
  }
1431
1431
  let Ti = f(() => ({
@@ -1434,9 +1434,9 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1434
1434
  }));
1435
1435
  return Ee({
1436
1436
  getImage: Ur,
1437
- generatePdf: kn,
1437
+ generatePdf: An,
1438
1438
  generateCsv: Fr,
1439
- generateImage: An,
1439
+ generateImage: jn,
1440
1440
  generateSvg: Qr,
1441
1441
  toggleTable: zr,
1442
1442
  toggleTooltip: Br,
@@ -1450,24 +1450,24 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1450
1450
  setZoomState: $n
1451
1451
  }), (e, n) => (y(), m("div", {
1452
1452
  ref_key: "candlestickChart",
1453
- ref: A,
1454
- class: _(`vue-data-ui-component vue-ui-candlestick ${Lr.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1455
- style: He(`position:relative;font-family:${I.value.fontFamily}; text-align:center;background:${I.value.backgroundColor}; ${M.value.responsive ? "height: 100%" : ""}`),
1453
+ ref: Jt,
1454
+ class: _(`vue-data-ui-component vue-ui-candlestick ${Lr.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${j.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1455
+ style: He(`position:relative;font-family:${F.value.fontFamily}; text-align:center;background:${F.value.backgroundColor}; ${j.value.responsive ? "height: 100%" : ""}`),
1456
1456
  id: `vue-ui-candlestick_${O.value}`,
1457
- onMouseenter: vn,
1458
- onMouseleave: yn
1457
+ onMouseenter: yn,
1458
+ onMouseleave: bn
1459
1459
  }, [
1460
1460
  h("div", {
1461
1461
  id: `chart-instructions-${O.value}`,
1462
1462
  class: "sr-only"
1463
- }, [h("p", null, qe(M.value.a11y.translations.keyboardNavigation), 1)], 8, $e),
1463
+ }, [h("p", null, qe(j.value.a11y.translations.keyboardNavigation), 1)], 8, $e),
1464
1464
  Ti.value?.rows?.length ? (y(), Fe(je, {
1465
1465
  key: 0,
1466
1466
  uid: O.value,
1467
1467
  head: Ti.value.headers,
1468
1468
  body: Ti.value.rows,
1469
- notice: M.value.a11y.translations.tableAvailable,
1470
- caption: M.value.a11y.translations.tableCaption
1469
+ notice: j.value.a11y.translations.tableAvailable,
1470
+ caption: j.value.a11y.translations.tableCaption
1471
1471
  }, null, 8, [
1472
1472
  "uid",
1473
1473
  "head",
@@ -1475,14 +1475,14 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1475
1475
  "notice",
1476
1476
  "caption"
1477
1477
  ])) : p("", !0),
1478
- L.value.buttons.annotator ? (y(), Fe(C(It), {
1478
+ I.value.buttons.annotator ? (y(), Fe(C(It), {
1479
1479
  key: 1,
1480
- svgRef: C(B),
1481
- backgroundColor: I.value.backgroundColor,
1482
- color: I.value.color,
1480
+ svgRef: C(z),
1481
+ backgroundColor: F.value.backgroundColor,
1482
+ color: F.value.color,
1483
1483
  active: Vr.value,
1484
- isCursorPointer: fn.value,
1485
- palette: L.value.annotatorPalette,
1484
+ isCursorPointer: pn.value,
1485
+ palette: I.value.annotatorPalette,
1486
1486
  onClose: Hr
1487
1487
  }, {
1488
1488
  "annotator-action-close": w(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
@@ -1500,61 +1500,61 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1500
1500
  "isCursorPointer",
1501
1501
  "palette"
1502
1502
  ])) : p("", !0),
1503
- jn.value ? (y(), m("div", {
1503
+ Mn.value ? (y(), m("div", {
1504
1504
  key: 2,
1505
1505
  ref_key: "noTitle",
1506
- ref: Qt,
1506
+ ref: $t,
1507
1507
  class: "vue-data-ui-no-title-space",
1508
1508
  style: "height:36px; width: 100%;background:transparent"
1509
1509
  }, null, 512)) : p("", !0),
1510
- I.value.title.text ? (y(), m("div", {
1510
+ F.value.title.text ? (y(), m("div", {
1511
1511
  key: 3,
1512
1512
  ref_key: "chartTitle",
1513
- ref: Jt,
1513
+ ref: Yt,
1514
1514
  style: "width:100%;background:transparent"
1515
1515
  }, [(y(), Fe(Te, {
1516
- key: `title_${tn.value}`,
1516
+ key: `title_${nn.value}`,
1517
1517
  config: {
1518
1518
  title: {
1519
1519
  cy: "candlestick-div-title",
1520
- ...I.value.title
1520
+ ...F.value.title
1521
1521
  },
1522
1522
  subtitle: {
1523
1523
  cy: "candlestick-div-subtitle",
1524
- ...I.value.title.subtitle
1524
+ ...F.value.title.subtitle
1525
1525
  }
1526
1526
  }
1527
1527
  }, null, 8, ["config"]))], 512)) : p("", !0),
1528
- L.value.show && Ut.value && (C(_n) || C(hn)) ? (y(), Fe(C(Lt), {
1528
+ I.value.show && Ut.value && (C(vn) || C(gn)) ? (y(), Fe(C(Lt), {
1529
1529
  ref_key: "userOptionsRef",
1530
- ref: on,
1530
+ ref: sn,
1531
1531
  key: `user_options_${qt.value}`,
1532
- backgroundColor: I.value.backgroundColor,
1533
- color: I.value.color,
1534
- isImaging: C(On),
1535
- isPrinting: C(Dn),
1532
+ backgroundColor: F.value.backgroundColor,
1533
+ color: F.value.color,
1534
+ isImaging: C(kn),
1535
+ isPrinting: C(On),
1536
1536
  uid: O.value,
1537
- hasTooltip: L.value.buttons.tooltip && I.value.tooltip.show,
1538
- hasPdf: L.value.buttons.pdf,
1539
- hasImg: L.value.buttons.img,
1540
- hasSvg: L.value.buttons.svg,
1541
- hasXls: L.value.buttons.csv,
1542
- hasTable: L.value.buttons.table,
1543
- hasFullscreen: L.value.buttons.fullscreen,
1544
- hasAltCopy: L.value.buttons.altCopy,
1537
+ hasTooltip: I.value.buttons.tooltip && F.value.tooltip.show,
1538
+ hasPdf: I.value.buttons.pdf,
1539
+ hasImg: I.value.buttons.img,
1540
+ hasSvg: I.value.buttons.svg,
1541
+ hasXls: I.value.buttons.csv,
1542
+ hasTable: I.value.buttons.table,
1543
+ hasFullscreen: I.value.buttons.fullscreen,
1544
+ hasAltCopy: I.value.buttons.altCopy,
1545
1545
  isFullscreen: Lr.value,
1546
- isTooltip: H.value.showTooltip,
1547
- titles: { ...L.value.buttonTitles },
1548
- chartElement: A.value,
1549
- position: L.value.position,
1550
- hasAnnotator: L.value.buttons.annotator,
1546
+ isTooltip: V.value.showTooltip,
1547
+ titles: { ...I.value.buttonTitles },
1548
+ chartElement: Jt.value,
1549
+ position: I.value.position,
1550
+ hasAnnotator: I.value.buttons.annotator,
1551
1551
  isAnnotation: Vr.value,
1552
- callbacks: L.value.callbacks,
1553
- printScale: L.value.print.scale,
1554
- tableDialog: M.value.table.useDialog,
1555
- isCursorPointer: fn.value,
1552
+ callbacks: I.value.callbacks,
1553
+ printScale: I.value.print.scale,
1554
+ tableDialog: j.value.table.useDialog,
1555
+ isCursorPointer: pn.value,
1556
1556
  onToggleFullscreen: Rr,
1557
- onGeneratePdf: C(kn),
1557
+ onGeneratePdf: C(An),
1558
1558
  onGenerateCsv: Fr,
1559
1559
  onGenerateImage: C($r),
1560
1560
  onGenerateSvg: C(Qr),
@@ -1562,7 +1562,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1562
1562
  onToggleTooltip: Br,
1563
1563
  onToggleAnnotator: Hr,
1564
1564
  onCopyAlt: bi,
1565
- style: He({ visibility: C(_n) ? C(hn) ? "visible" : "hidden" : "visible" })
1565
+ style: He({ visibility: C(vn) ? C(gn) ? "visible" : "hidden" : "visible" })
1566
1566
  }, Ie({ _: 2 }, [
1567
1567
  e.$slots.menuIcon ? {
1568
1568
  name: "menuIcon",
@@ -1636,24 +1636,24 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1636
1636
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : p("", !0),
1637
1637
  h("div", et, [(y(), m("svg", {
1638
1638
  ref_key: "svgRef",
1639
- ref: B,
1640
- xmlns: C(ce),
1639
+ ref: z,
1640
+ xmlns: C(oe),
1641
1641
  "aria-describedby": `chart-instructions-${O.value}`,
1642
1642
  class: _({
1643
1643
  "vue-data-ui-fullscreen--on": Lr.value,
1644
1644
  "vue-data-ui-fulscreen--off": !Lr.value,
1645
- "vue-data-ui-no-transition": !C(dn),
1646
- "vue-ui-candlestick-chart-zoom-pointer-focus": Wn.value && zn.value
1645
+ "vue-data-ui-no-transition": !C(fn),
1646
+ "vue-ui-candlestick-chart-zoom-pointer-focus": J.value && Bn.value
1647
1647
  }),
1648
- viewBox: `0 0 ${V.value.width <= 0 ? 10 : V.value.width} ${V.value.height <= 0 ? 10 : V.value.height}`,
1648
+ viewBox: `0 0 ${B.value.width <= 0 ? 10 : B.value.width} ${B.value.height <= 0 ? 10 : B.value.height}`,
1649
1649
  style: He({
1650
1650
  maxWidth: "100%",
1651
1651
  overflow: "visible",
1652
1652
  background: "transparent",
1653
- color: I.value.color,
1654
- cursor: Wn.value ? Rn.value ? "col-resize" : "crosshair" : void 0,
1655
- touchAction: Wn.value ? "pan-y" : void 0,
1656
- userSelect: Wn.value ? "none" : void 0
1653
+ color: F.value.color,
1654
+ cursor: J.value ? zn.value ? "col-resize" : "crosshair" : void 0,
1655
+ touchAction: J.value ? "pan-y" : void 0,
1656
+ userSelect: J.value ? "none" : void 0
1657
1657
  }),
1658
1658
  tabindex: "0",
1659
1659
  onFocus: xi,
@@ -1668,10 +1668,10 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1668
1668
  Re(C(Rt)),
1669
1669
  e.$slots["chart-background"] ? (y(), m("foreignObject", {
1670
1670
  key: 0,
1671
- x: U.value.left,
1672
- y: U.value.top,
1673
- width: Math.max(.1, U.value.width),
1674
- height: Math.max(.1, U.value.height),
1671
+ x: H.value.left,
1672
+ y: H.value.top,
1673
+ width: Math.max(.1, H.value.width),
1674
+ height: Math.max(.1, H.value.height),
1675
1675
  style: { pointerEvents: "none" }
1676
1676
  }, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, nt)) : p("", !0),
1677
1677
  Q.value.length > 0 ? (y(), m("g", rt, [
@@ -1683,17 +1683,17 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1683
1683
  stops: [
1684
1684
  [
1685
1685
  "0%",
1686
- N.value.colors.bearish,
1686
+ M.value.colors.bearish,
1687
1687
  1
1688
1688
  ],
1689
1689
  [
1690
1690
  "50%",
1691
- C(a)(N.value.colors.bearish, .02),
1691
+ C(o)(M.value.colors.bearish, .02),
1692
1692
  .87
1693
1693
  ],
1694
1694
  [
1695
1695
  "100%",
1696
- C(a)(N.value.colors.bearish, .05),
1696
+ C(o)(M.value.colors.bearish, .05),
1697
1697
  .4
1698
1698
  ]
1699
1699
  ]
@@ -1705,207 +1705,207 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1705
1705
  stops: [
1706
1706
  [
1707
1707
  "0%",
1708
- N.value.colors.bullish,
1708
+ M.value.colors.bullish,
1709
1709
  1
1710
1710
  ],
1711
1711
  [
1712
1712
  "50%",
1713
- C(a)(N.value.colors.bullish, .02),
1713
+ C(o)(M.value.colors.bullish, .02),
1714
1714
  .87
1715
1715
  ],
1716
1716
  [
1717
1717
  "100%",
1718
- C(a)(N.value.colors.bullish, .05),
1718
+ C(o)(M.value.colors.bullish, .05),
1719
1719
  .4
1720
1720
  ]
1721
1721
  ]
1722
1722
  }, null, 8, ["id", "stops"])]),
1723
- P.value.show ? (y(), m("g", it, [
1723
+ N.value.show ? (y(), m("g", it, [
1724
1724
  h("line", {
1725
- x1: Fn.value ? U.value.right : U.value.left,
1726
- x2: Fn.value ? U.value.right : U.value.left,
1727
- y1: U.value.top,
1728
- y2: U.value.bottom,
1729
- stroke: P.value.stroke,
1730
- "stroke-width": P.value.strokeWidth,
1725
+ x1: In.value ? H.value.right : H.value.left,
1726
+ x2: In.value ? H.value.right : H.value.left,
1727
+ y1: H.value.top,
1728
+ y2: H.value.bottom,
1729
+ stroke: N.value.stroke,
1730
+ "stroke-width": N.value.strokeWidth,
1731
1731
  "stroke-linecap": "round"
1732
1732
  }, null, 8, at),
1733
1733
  h("line", {
1734
- x1: U.value.left,
1735
- x2: U.value.right,
1736
- y1: U.value.bottom,
1737
- y2: U.value.bottom,
1738
- stroke: P.value.stroke,
1739
- "stroke-width": P.value.strokeWidth,
1734
+ x1: H.value.left,
1735
+ x2: H.value.right,
1736
+ y1: H.value.bottom,
1737
+ y2: H.value.bottom,
1738
+ stroke: N.value.stroke,
1739
+ "stroke-width": N.value.strokeWidth,
1740
1740
  "stroke-linecap": "round"
1741
1741
  }, null, 8, ot),
1742
- P.value.horizontalLines.show ? (y(!0), m(d, { key: 0 }, x(ur.value, (e) => (y(), m("line", {
1743
- x1: U.value.left,
1744
- x2: U.value.right,
1742
+ N.value.horizontalLines.show ? (y(!0), m(d, { key: 0 }, x(ur.value, (e) => (y(), m("line", {
1743
+ x1: H.value.left,
1744
+ x2: H.value.right,
1745
1745
  y1: e.y,
1746
1746
  y2: e.y,
1747
- stroke: P.value.horizontalLines.stroke,
1748
- "stroke-width": P.value.horizontalLines.strokeWidth,
1749
- "stroke-dasharray": P.value.horizontalLines.strokeDasharray,
1747
+ stroke: N.value.horizontalLines.stroke,
1748
+ "stroke-width": N.value.horizontalLines.strokeWidth,
1749
+ "stroke-dasharray": N.value.horizontalLines.strokeDasharray,
1750
1750
  "stroke-linecap": "round"
1751
1751
  }, null, 8, st))), 256)) : p("", !0),
1752
- P.value.verticalLines.show ? (y(!0), m(d, { key: 1 }, x(xr.value, (e, t) => (y(), m("g", null, [e.text ? (y(), m("line", {
1752
+ N.value.verticalLines.show ? (y(!0), m(d, { key: 1 }, x(xr.value, (e, t) => (y(), m("g", null, [e.text ? (y(), m("line", {
1753
1753
  key: 0,
1754
- x1: U.value.left + X.value * t + X.value / 2,
1755
- x2: U.value.left + X.value * t + X.value / 2,
1756
- y1: U.value.top,
1757
- y2: U.value.bottom,
1758
- stroke: P.value.verticalLines.stroke,
1759
- "stroke-width": P.value.verticalLines.strokeWidth,
1760
- "stroke-dasharray": P.value.verticalLines.strokeDasharray,
1754
+ x1: H.value.left + X.value * t + X.value / 2,
1755
+ x2: H.value.left + X.value * t + X.value / 2,
1756
+ y1: H.value.top,
1757
+ y2: H.value.bottom,
1758
+ stroke: N.value.verticalLines.stroke,
1759
+ "stroke-width": N.value.verticalLines.strokeWidth,
1760
+ "stroke-dasharray": N.value.verticalLines.strokeDasharray,
1761
1761
  "stroke-linecap": "round"
1762
1762
  }, null, 8, ct)) : p("", !0)]))), 256)) : p("", !0),
1763
- P.value.xAxis.ticks.show ? (y(!0), m(d, { key: 2 }, x(xr.value, (e, t) => (y(), m("g", null, [e.text ? (y(), m("line", {
1763
+ N.value.xAxis.ticks.show ? (y(!0), m(d, { key: 2 }, x(xr.value, (e, t) => (y(), m("g", null, [e.text ? (y(), m("line", {
1764
1764
  key: 0,
1765
- x1: U.value.left + X.value * t + X.value / 2,
1766
- x2: U.value.left + X.value * t + X.value / 2,
1767
- y1: U.value.bottom,
1768
- y2: U.value.bottom + 3,
1769
- stroke: P.value.stroke,
1770
- "stroke-width": P.value.strokeWidth,
1765
+ x1: H.value.left + X.value * t + X.value / 2,
1766
+ x2: H.value.left + X.value * t + X.value / 2,
1767
+ y1: H.value.bottom,
1768
+ y2: H.value.bottom + 3,
1769
+ stroke: N.value.stroke,
1770
+ "stroke-width": N.value.strokeWidth,
1771
1771
  "stroke-linecap": "round"
1772
1772
  }, null, 8, lt)) : p("", !0)]))), 256)) : p("", !0)
1773
1773
  ])) : p("", !0),
1774
- P.value.yAxis.dataLabels.show ? (y(), m("g", {
1774
+ N.value.yAxis.dataLabels.show ? (y(), m("g", {
1775
1775
  key: 1,
1776
1776
  ref_key: "scaleLabels",
1777
- ref: nn
1777
+ ref: rn
1778
1778
  }, [(y(!0), m(d, null, x(ur.value, (e, n) => (y(), m("g", { key: `sl_${n}` }, [e.value >= Z.value.min && e.value <= Z.value.max ? (y(), m("line", {
1779
1779
  key: 0,
1780
- x1: Fn.value ? U.value.right : U.value.left,
1781
- x2: Fn.value ? U.value.right + 5 : U.value.left - 5,
1780
+ x1: In.value ? H.value.right : H.value.left,
1781
+ x2: In.value ? H.value.right + 5 : H.value.left - 5,
1782
1782
  y1: e.y,
1783
1783
  y2: e.y,
1784
- stroke: P.value.stroke,
1785
- "stroke-width": P.value.strokeWidth,
1784
+ stroke: N.value.stroke,
1785
+ "stroke-width": N.value.strokeWidth,
1786
1786
  "stroke-linecap": "round"
1787
1787
  }, null, 8, ut)) : p("", !0), e.value >= Z.value.min && e.value <= Z.value.max ? (y(), m("text", {
1788
1788
  key: 1,
1789
- class: _({ "vue-data-ui-transition": C(dn) }),
1790
- transform: `translate(${Fn.value ? U.value.right + 8 + P.value.yAxis.dataLabels.offsetX : U.value.left - 8 + P.value.yAxis.dataLabels.offsetX}, ${e.y + V.value.yAxisFontSize / 3})`,
1791
- "text-anchor": Fn.value ? "start" : "end",
1792
- "font-size": V.value.yAxisFontSize,
1793
- fill: P.value.yAxis.dataLabels.color,
1794
- "font-weight": P.value.yAxis.dataLabels.bold ? "bold" : "normal"
1789
+ class: _({ "vue-data-ui-transition": C(fn) }),
1790
+ transform: `translate(${In.value ? H.value.right + 8 + N.value.yAxis.dataLabels.offsetX : H.value.left - 8 + N.value.yAxis.dataLabels.offsetX}, ${e.y + B.value.yAxisFontSize / 3})`,
1791
+ "text-anchor": In.value ? "start" : "end",
1792
+ "font-size": B.value.yAxisFontSize,
1793
+ fill: N.value.yAxis.dataLabels.color,
1794
+ "font-weight": N.value.yAxis.dataLabels.bold ? "bold" : "normal"
1795
1795
  }, qe(C(t)({
1796
- p: P.value.yAxis.dataLabels.prefix,
1796
+ p: N.value.yAxis.dataLabels.prefix,
1797
1797
  v: e.value,
1798
- s: P.value.yAxis.dataLabels.suffix,
1799
- r: P.value.yAxis.dataLabels.roundingValue
1798
+ s: N.value.yAxis.dataLabels.suffix,
1799
+ r: N.value.yAxis.dataLabels.roundingValue
1800
1800
  })), 11, dt)) : p("", !0)]))), 128))], 512)) : p("", !0),
1801
- P.value.xAxis.dataLabels.show && !P.value.xAxis.dataLabels.datetimeFormatter.enable ? (y(), m("g", {
1801
+ N.value.xAxis.dataLabels.show && !N.value.xAxis.dataLabels.datetimeFormatter.enable ? (y(), m("g", {
1802
1802
  key: 2,
1803
1803
  ref_key: "timeLabelsEls",
1804
- ref: rn
1804
+ ref: an
1805
1805
  }, [(y(!0), m(d, null, x(dr.value, (e, t) => (y(), m("g", null, [h("text", {
1806
1806
  class: "vue-data-ui-time-label",
1807
- transform: `translate(${U.value.left + X.value * t + X.value / 2}, ${U.value.bottom + V.value.xAxisFontSize * 1.5}), rotate(${P.value.xAxis.dataLabels.rotation})`,
1808
- "text-anchor": P.value.xAxis.dataLabels.rotation > 0 ? "start" : P.value.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1809
- "font-size": V.value.xAxisFontSize,
1810
- fill: P.value.xAxis.dataLabels.color,
1811
- "font-weight": P.value.xAxis.dataLabels.bold ? "bold" : "normal"
1807
+ transform: `translate(${H.value.left + X.value * t + X.value / 2}, ${H.value.bottom + B.value.xAxisFontSize * 1.5}), rotate(${N.value.xAxis.dataLabels.rotation})`,
1808
+ "text-anchor": N.value.xAxis.dataLabels.rotation > 0 ? "start" : N.value.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1809
+ "font-size": B.value.xAxisFontSize,
1810
+ fill: N.value.xAxis.dataLabels.color,
1811
+ "font-weight": N.value.xAxis.dataLabels.bold ? "bold" : "normal"
1812
1812
  }, qe(e), 9, ft)]))), 256))], 512)) : p("", !0),
1813
- P.value.xAxis.dataLabels.show && P.value.xAxis.dataLabels.datetimeFormatter.enable ? (y(), m("g", {
1813
+ N.value.xAxis.dataLabels.show && N.value.xAxis.dataLabels.datetimeFormatter.enable ? (y(), m("g", {
1814
1814
  key: 3,
1815
1815
  ref_key: "timeLabelsEls",
1816
- ref: rn
1816
+ ref: an
1817
1817
  }, [(y(!0), m(d, null, x(xr.value, (e, t) => (y(), m("g", null, [h("text", {
1818
1818
  class: "vue-data-ui-time-label",
1819
- transform: `translate(${U.value.left + X.value * t + X.value / 2}, ${U.value.bottom + V.value.xAxisFontSize * 1.5}), rotate(${P.value.xAxis.dataLabels.rotation})`,
1820
- "text-anchor": P.value.xAxis.dataLabels.rotation > 0 ? "start" : P.value.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1821
- "font-size": V.value.xAxisFontSize,
1822
- fill: P.value.xAxis.dataLabels.color,
1823
- stroke: I.value.backgroundColor,
1819
+ transform: `translate(${H.value.left + X.value * t + X.value / 2}, ${H.value.bottom + B.value.xAxisFontSize * 1.5}), rotate(${N.value.xAxis.dataLabels.rotation})`,
1820
+ "text-anchor": N.value.xAxis.dataLabels.rotation > 0 ? "start" : N.value.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1821
+ "font-size": B.value.xAxisFontSize,
1822
+ fill: N.value.xAxis.dataLabels.color,
1823
+ stroke: F.value.backgroundColor,
1824
1824
  "stroke-width": "3",
1825
1825
  "stroke-linecap": "round",
1826
1826
  "stroke-linejoin": "round",
1827
1827
  "paint-order": "stroke fill",
1828
- "font-weight": P.value.xAxis.dataLabels.bold ? "bold" : "normal"
1828
+ "font-weight": N.value.xAxis.dataLabels.bold ? "bold" : "normal"
1829
1829
  }, qe(e?.text ?? ""), 9, pt)]))), 256))], 512)) : p("", !0),
1830
- M.value.type === "candlestick" ? (y(), m(d, { key: 4 }, [h("g", null, [(y(!0), m(d, null, x(Q.value, (e, t) => (y(), m("g", null, [
1830
+ j.value.type === "candlestick" ? (y(), m(d, { key: 4 }, [h("g", null, [(y(!0), m(d, null, x(Q.value, (e, t) => (y(), m("g", null, [
1831
1831
  h("rect", {
1832
- x: e.open.x - F.value.wick.strokeWidth / 2,
1832
+ x: e.open.x - P.value.wick.strokeWidth / 2,
1833
1833
  y: e.high.y,
1834
- width: F.value.wick.strokeWidth,
1834
+ width: P.value.wick.strokeWidth,
1835
1835
  height: Math.abs(e.high.y - e.low.y),
1836
- fill: F.value.wick.stroke,
1836
+ fill: P.value.wick.stroke,
1837
1837
  stroke: "none",
1838
- rx: F.value.wick.strokeWidth / 2,
1839
- class: _({ "vue-data-ui-transition": D.value && !C(R) })
1838
+ rx: P.value.wick.strokeWidth / 2,
1839
+ class: _({ "vue-data-ui-transition": D.value && !C(L) })
1840
1840
  }, null, 10, mt),
1841
- F.value.wick.extremity.shape === "circle" ? (y(), m("g", ht, [h("circle", {
1841
+ P.value.wick.extremity.shape === "circle" ? (y(), m("g", ht, [h("circle", {
1842
1842
  cx: e.high.x,
1843
1843
  cy: e.high.y,
1844
- r: F.value.wick.extremity.size === "auto" ? X.value / 20 : F.value.wick.extremity.size,
1845
- fill: F.value.wick.extremity.color,
1846
- class: _({ "vue-data-ui-transition": D.value && !C(R) })
1844
+ r: P.value.wick.extremity.size === "auto" ? X.value / 20 : P.value.wick.extremity.size,
1845
+ fill: P.value.wick.extremity.color,
1846
+ class: _({ "vue-data-ui-transition": D.value && !C(L) })
1847
1847
  }, null, 10, gt), h("circle", {
1848
1848
  cx: e.low.x,
1849
1849
  cy: e.low.y,
1850
- r: F.value.wick.extremity.size === "auto" ? X.value / 20 : F.value.wick.extremity.size,
1851
- fill: F.value.wick.extremity.color,
1852
- class: _({ "vue-data-ui-transition": D.value && !C(R) })
1850
+ r: P.value.wick.extremity.size === "auto" ? X.value / 20 : P.value.wick.extremity.size,
1851
+ fill: P.value.wick.extremity.color,
1852
+ class: _({ "vue-data-ui-transition": D.value && !C(L) })
1853
1853
  }, null, 10, _t)])) : p("", !0),
1854
- F.value.wick.extremity.shape === "line" ? (y(), m("g", vt, [h("rect", {
1855
- x: e.high.x - (F.value.wick.extremity.size === "auto" ? X.value * F.value.candle.widthRatio : F.value.wick.extremity.size) / 2,
1856
- y: e.high.y - F.value.wick.strokeWidth / 2,
1857
- width: Math.abs(e.high.x - (F.value.wick.extremity.size === "auto" ? X.value * I.value.layout.candle.widthRatio : I.value.layout.wick.extremity.size) / 2 - (e.high.x + (I.value.layout.wick.extremity.size === "auto" ? X.value * I.value.layout.candle.widthRatio : I.value.layout.wick.extremity.size) / 2)),
1858
- height: F.value.wick.strokeWidth,
1859
- rx: F.value.wick.strokeWidth / 2,
1860
- fill: F.value.wick.extremity.color,
1854
+ P.value.wick.extremity.shape === "line" ? (y(), m("g", vt, [h("rect", {
1855
+ x: e.high.x - (P.value.wick.extremity.size === "auto" ? X.value * P.value.candle.widthRatio : P.value.wick.extremity.size) / 2,
1856
+ y: e.high.y - P.value.wick.strokeWidth / 2,
1857
+ width: Math.abs(e.high.x - (P.value.wick.extremity.size === "auto" ? X.value * F.value.layout.candle.widthRatio : F.value.layout.wick.extremity.size) / 2 - (e.high.x + (F.value.layout.wick.extremity.size === "auto" ? X.value * F.value.layout.candle.widthRatio : F.value.layout.wick.extremity.size) / 2)),
1858
+ height: P.value.wick.strokeWidth,
1859
+ rx: P.value.wick.strokeWidth / 2,
1860
+ fill: P.value.wick.extremity.color,
1861
1861
  stroke: "none",
1862
- class: _({ "vue-data-ui-transition": D.value && !C(R) })
1862
+ class: _({ "vue-data-ui-transition": D.value && !C(L) })
1863
1863
  }, null, 10, yt), h("rect", {
1864
- x: e.low.x - (F.value.wick.extremity.size === "auto" ? X.value * F.value.candle.widthRatio : F.value.wick.extremity.size) / 2,
1865
- y: e.low.y - F.value.wick.strokeWidth / 2,
1866
- width: Math.abs(e.low.x - (F.value.wick.extremity.size === "auto" ? X.value * I.value.layout.candle.widthRatio : I.value.layout.wick.extremity.size) / 2 - (e.low.x + (I.value.layout.wick.extremity.size === "auto" ? X.value * I.value.layout.candle.widthRatio : I.value.layout.wick.extremity.size) / 2)),
1867
- height: F.value.wick.strokeWidth,
1868
- fill: F.value.wick.extremity.color,
1864
+ x: e.low.x - (P.value.wick.extremity.size === "auto" ? X.value * P.value.candle.widthRatio : P.value.wick.extremity.size) / 2,
1865
+ y: e.low.y - P.value.wick.strokeWidth / 2,
1866
+ width: Math.abs(e.low.x - (P.value.wick.extremity.size === "auto" ? X.value * F.value.layout.candle.widthRatio : F.value.layout.wick.extremity.size) / 2 - (e.low.x + (F.value.layout.wick.extremity.size === "auto" ? X.value * F.value.layout.candle.widthRatio : F.value.layout.wick.extremity.size) / 2)),
1867
+ height: P.value.wick.strokeWidth,
1868
+ fill: P.value.wick.extremity.color,
1869
1869
  stroke: "none",
1870
- rx: F.value.wick.strokeWidth / 2,
1871
- class: _({ "vue-data-ui-transition": D.value && !C(R) })
1870
+ rx: P.value.wick.strokeWidth / 2,
1871
+ class: _({ "vue-data-ui-transition": D.value && !C(L) })
1872
1872
  }, null, 10, bt)])) : p("", !0)
1873
1873
  ]))), 256))]), h("g", null, [(y(!0), m(d, null, x(Q.value, (e, t) => (y(), m("rect", {
1874
- x: e.open.x - X.value / 2 + X.value * (1 - N.value.widthRatio) / 2,
1874
+ x: e.open.x - X.value / 2 + X.value * (1 - M.value.widthRatio) / 2,
1875
1875
  y: e.isBullish ? e.close.y : e.open.y,
1876
1876
  height: Math.abs(e.close.y - e.open.y) <= 0 ? 1e-4 : Math.abs(e.close.y - e.open.y),
1877
- width: X.value * N.value.widthRatio <= 0 ? 1e-4 : X.value * N.value.widthRatio,
1878
- fill: N.value.gradient.underlayer,
1879
- rx: N.value.borderRadius,
1877
+ width: X.value * M.value.widthRatio <= 0 ? 1e-4 : X.value * M.value.widthRatio,
1878
+ fill: M.value.gradient.underlayer,
1879
+ rx: M.value.borderRadius,
1880
1880
  stroke: "none",
1881
- class: _({ "vue-data-ui-transition": D.value && !C(R) })
1881
+ class: _({ "vue-data-ui-transition": D.value && !C(L) })
1882
1882
  }, null, 10, xt))), 256)), (y(!0), m(d, null, x(Q.value, (e, t) => (y(), m("rect", {
1883
- x: e.open.x - X.value / 2 + X.value * (1 - N.value.widthRatio) / 2,
1883
+ x: e.open.x - X.value / 2 + X.value * (1 - M.value.widthRatio) / 2,
1884
1884
  y: e.isBullish ? e.close.y : e.open.y,
1885
1885
  height: Math.abs(e.close.y - e.open.y) <= 0 ? 1e-4 : Math.abs(e.close.y - e.open.y),
1886
- width: X.value * N.value.widthRatio <= 0 ? 1e-4 : X.value * N.value.widthRatio,
1887
- fill: e.isBullish ? N.value.gradient.show ? `url(#bullish_gradient_${O.value})` : N.value.colors.bullish : N.value.gradient.show ? `url(#bearish_gradient_${O.value})` : N.value.colors.bearish,
1888
- rx: N.value.borderRadius,
1889
- stroke: N.value.stroke,
1890
- "stroke-width": N.value.strokeWidth,
1886
+ width: X.value * M.value.widthRatio <= 0 ? 1e-4 : X.value * M.value.widthRatio,
1887
+ fill: e.isBullish ? M.value.gradient.show ? `url(#bullish_gradient_${O.value})` : M.value.colors.bullish : M.value.gradient.show ? `url(#bearish_gradient_${O.value})` : M.value.colors.bearish,
1888
+ rx: M.value.borderRadius,
1889
+ stroke: M.value.stroke,
1890
+ "stroke-width": M.value.strokeWidth,
1891
1891
  "stroke-linecap": "round",
1892
1892
  "stroke-linejoin": "round",
1893
- class: _({ "vue-data-ui-transition": D.value && !C(R) })
1893
+ class: _({ "vue-data-ui-transition": D.value && !C(L) })
1894
1894
  }, null, 10, St))), 256))])], 64)) : p("", !0),
1895
- M.value.type === "ohlc" ? (y(!0), m(d, { key: 5 }, x(Q.value, (e, t) => (y(), m("g", { key: `ohlc_${e.absoluteIndex}` }, [h("path", {
1895
+ j.value.type === "ohlc" ? (y(!0), m(d, { key: 5 }, x(Q.value, (e, t) => (y(), m("g", { key: `ohlc_${e.absoluteIndex}` }, [h("path", {
1896
1896
  d: `M ${e.high.x},${e.high.y} ${e.low.x},${e.low.y} M${e.open.x - Math.min(6, X.value / 3)},${e.open.y} ${e.open.x},${e.open.y} M${e.close.x},${e.close.y} ${e.close.x + Math.min(6, X.value / 3)},${e.close.y}`,
1897
- stroke: e.isBullish ? N.value.colors.bullish : N.value.colors.bearish,
1897
+ stroke: e.isBullish ? M.value.colors.bullish : M.value.colors.bearish,
1898
1898
  "stroke-width": 1,
1899
- class: _({ "vue-data-ui-transition": C(dn) }),
1899
+ class: _({ "vue-data-ui-transition": C(fn) }),
1900
1900
  "stroke-linecap": "round",
1901
1901
  "stroke-linejoin": "round"
1902
1902
  }, null, 10, Ct)]))), 128)) : p("", !0),
1903
1903
  h("g", null, [(y(!0), m(d, null, x(Q.value, (e, t) => (y(), m("rect", {
1904
- x: U.value.left + t * X.value,
1905
- y: U.value.top,
1906
- height: U.value.height <= 0 ? 1e-4 : U.value.height,
1904
+ x: H.value.left + t * X.value,
1905
+ y: H.value.top,
1906
+ height: H.value.height <= 0 ? 1e-4 : H.value.height,
1907
1907
  width: X.value <= 0 ? 1e-4 : X.value,
1908
- fill: k.value === t || sn.value === t ? C(se)(F.value.selector.color, F.value.selector.opacity) : "transparent",
1908
+ fill: k.value === t || cn.value === t ? C(i)(P.value.selector.color, P.value.selector.opacity) : "transparent",
1909
1909
  onMouseover: () => Er(t, e, "pointer"),
1910
1910
  onMouseleave: () => Tr(t, e),
1911
1911
  onClick: () => wr(t, e)
@@ -1917,90 +1917,90 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
1917
1917
  y: ai.value.y,
1918
1918
  width: ai.value.width,
1919
1919
  height: ai.value.height,
1920
- fill: Un.value.selection.fill,
1921
- "fill-opacity": Un.value.selection.fillOpacity,
1922
- stroke: Un.value.selection.stroke,
1923
- "stroke-opacity": Un.value.selection.strokeOpacity,
1924
- "stroke-width": Un.value.selection.strokeWidth,
1925
- "stroke-dasharray": Un.value.selection.strokeDasharray,
1920
+ fill: Wn.value.selection.fill,
1921
+ "fill-opacity": Wn.value.selection.fillOpacity,
1922
+ stroke: Wn.value.selection.stroke,
1923
+ "stroke-opacity": Wn.value.selection.strokeOpacity,
1924
+ "stroke-width": Wn.value.selection.strokeWidth,
1925
+ "stroke-dasharray": Wn.value.selection.strokeDasharray,
1926
1926
  "stroke-linecap": "round",
1927
1927
  "stroke-linejoin": "round",
1928
1928
  "pointer-events": "none"
1929
1929
  }, null, 8, Tt)) : p("", !0),
1930
- qn.value ? (y(), m("rect", Be({ key: 3 }, Ln.value, {
1931
- "data-start": G.value.start,
1932
- "data-end": G.value.end
1930
+ qn.value ? (y(), m("rect", Be({ key: 3 }, Rn.value, {
1931
+ "data-start": W.value.start,
1932
+ "data-end": W.value.end
1933
1933
  }), null, 16, Et)) : p("", !0),
1934
1934
  S(e.$slots, "svg", { svg: {
1935
- ...V.value,
1935
+ ...B.value,
1936
1936
  data: Q.value,
1937
- drawingArea: U.value,
1938
- isPrintingImg: C(Dn) || C(On) || C(Xr),
1937
+ drawingArea: H.value,
1938
+ isPrintingImg: C(On) || C(kn) || C(Xr),
1939
1939
  isPrintingSvg: C(Zr)
1940
1940
  } }, void 0, !0)
1941
1941
  ], 46, tt)), e.$slots.hint ? (y(), m("div", Dt, [S(e.$slots, "hint", v(g({
1942
- hint: M.value.a11y.translations.keyboardNavigation,
1943
- isVisible: un.value
1942
+ hint: j.value.a11y.translations.keyboardNavigation,
1943
+ isVisible: dn.value
1944
1944
  })), void 0, !0)])) : p("", !0)]),
1945
- e.$slots.watermark ? (y(), m("div", Ot, [S(e.$slots, "watermark", v(g({ isPrinting: C(Dn) || C(On) || C(Xr) || C(Zr) })), void 0, !0)])) : p("", !0),
1946
- I.value.zoom.show && W.value > 6 && Ut.value && jr.value ? (y(), Fe(Ae, {
1945
+ e.$slots.watermark ? (y(), m("div", Ot, [S(e.$slots, "watermark", v(g({ isPrinting: C(On) || C(kn) || C(Xr) || C(Zr) })), void 0, !0)])) : p("", !0),
1946
+ F.value.zoom.show && U.value > 6 && Ut.value && jr.value ? (y(), Fe(Ae, {
1947
1947
  key: 6,
1948
1948
  ref_key: "chartSlicer",
1949
- ref: Xt,
1949
+ ref: Zt,
1950
1950
  "data-dom-to-png-ignore-layout": "",
1951
1951
  allMinimaps: cr.value,
1952
- background: I.value.zoom.color,
1953
- borderColor: I.value.backgroundColor,
1954
- customFormat: I.value.zoom.customFormat,
1952
+ background: F.value.zoom.color,
1953
+ borderColor: F.value.backgroundColor,
1954
+ customFormat: F.value.zoom.customFormat,
1955
1955
  cutNullValues: !1,
1956
- enableRangeHandles: I.value.zoom.enableRangeHandles,
1957
- enableSelectionDrag: I.value.zoom.enableSelectionDrag,
1958
- end: G.value.end,
1959
- focusOnDrag: I.value.zoom.focusOnDrag,
1960
- focusRangeRatio: I.value.zoom.focusRangeRatio,
1961
- fontSize: I.value.zoom.fontSize,
1962
- immediate: !I.value.zoom.preview.enable,
1963
- inputColor: I.value.zoom.color,
1956
+ enableRangeHandles: F.value.zoom.enableRangeHandles,
1957
+ enableSelectionDrag: F.value.zoom.enableSelectionDrag,
1958
+ end: W.value.end,
1959
+ focusOnDrag: F.value.zoom.focusOnDrag,
1960
+ focusRangeRatio: F.value.zoom.focusRangeRatio,
1961
+ fontSize: F.value.zoom.fontSize,
1962
+ immediate: !F.value.zoom.preview.enable,
1963
+ inputColor: F.value.zoom.color,
1964
1964
  isPreview: qn.value,
1965
1965
  labelLeft: Sr.value.start || "",
1966
1966
  labelRight: Sr.value.end || "",
1967
- max: W.value,
1967
+ max: U.value,
1968
1968
  min: 0,
1969
- minimap: I.value.zoom.minimap.show ? C(z).map((e) => e[2]) : [],
1970
- minimapCompact: I.value.zoom.minimap.compact,
1971
- minimapFrameColor: I.value.zoom.minimap.frameColor,
1972
- minimapIndicatorColor: I.value.zoom.minimap.indicatorColor,
1969
+ minimap: F.value.zoom.minimap.show ? C(R).map((e) => e[2]) : [],
1970
+ minimapCompact: F.value.zoom.minimap.compact,
1971
+ minimapFrameColor: F.value.zoom.minimap.frameColor,
1972
+ minimapIndicatorColor: F.value.zoom.minimap.indicatorColor,
1973
1973
  minimapMerged: !1,
1974
- minimapSelectedColor: I.value.zoom.minimap.selectedColor,
1975
- minimapSelectedColorOpacity: I.value.zoom.minimap.selectedColorOpacity,
1974
+ minimapSelectedColor: F.value.zoom.minimap.selectedColor,
1975
+ minimapSelectedColorOpacity: F.value.zoom.minimap.selectedColorOpacity,
1976
1976
  minimapSelectedIndex: k.value,
1977
1977
  minimapSelectionRadius: 1,
1978
1978
  preciseLabels: yr.value,
1979
- refreshEndPoint: I.value.zoom.endIndex === null ? W.value : I.value.zoom.endIndex + 1,
1980
- refreshStartPoint: I.value.zoom.startIndex === null ? 0 : I.value.zoom.startIndex,
1981
- selectColor: I.value.zoom.highlightColor,
1982
- selectedSeries: C(z),
1979
+ refreshEndPoint: F.value.zoom.endIndex === null ? U.value : F.value.zoom.endIndex + 1,
1980
+ refreshStartPoint: F.value.zoom.startIndex === null ? 0 : F.value.zoom.startIndex,
1981
+ selectColor: F.value.zoom.highlightColor,
1982
+ selectedSeries: C(R),
1983
1983
  smoothMinimap: !1,
1984
- start: G.value.start,
1985
- textColor: I.value.color,
1984
+ start: W.value.start,
1985
+ textColor: F.value.color,
1986
1986
  timeLabels: fr.value,
1987
- usePreciseLabels: P.value.xAxis.dataLabels.datetimeFormatter.enable && !I.value.zoom.useDefaultFormat,
1988
- useResetSlot: I.value.zoom.useResetSlot,
1989
- valueEnd: G.value.end,
1990
- valueStart: G.value.start,
1991
- verticalHandles: I.value.zoom.minimap.verticalHandles,
1992
- minScale: P.value.yAxis.scale.min,
1993
- maxScale: P.value.yAxis.scale.max,
1994
- maxWidth: I.value.zoom.maxWidth,
1995
- minimapLeftInsetRatio: V.value.width > 0 && I.value.zoom.autoFit ? U.value.left / V.value.width : null,
1996
- minimapRightInsetRatio: V.value.width > 0 && I.value.zoom.autoFit ? (V.value.width - U.value.right) / V.value.width : null,
1997
- additionalMinimapHeight: I.value.zoom.minimap.additionalHeight,
1998
- handleType: I.value.zoom.minimap.handleType,
1999
- handleIconColor: I.value.zoom.minimap.handleIconColor,
2000
- handleBorderWidth: I.value.zoom.minimap.handleBorderWidth,
2001
- handleBorderColor: I.value.zoom.minimap.handleBorderColor,
2002
- handleFill: I.value.zoom.minimap.handleFill,
2003
- handleWidth: I.value.zoom.minimap.handleWidth,
1987
+ usePreciseLabels: N.value.xAxis.dataLabels.datetimeFormatter.enable && !F.value.zoom.useDefaultFormat,
1988
+ useResetSlot: F.value.zoom.useResetSlot,
1989
+ valueEnd: W.value.end,
1990
+ valueStart: W.value.start,
1991
+ verticalHandles: F.value.zoom.minimap.verticalHandles,
1992
+ minScale: N.value.yAxis.scale.min,
1993
+ maxScale: N.value.yAxis.scale.max,
1994
+ maxWidth: F.value.zoom.maxWidth,
1995
+ minimapLeftInsetRatio: B.value.width > 0 && F.value.zoom.autoFit ? H.value.left / B.value.width : null,
1996
+ minimapRightInsetRatio: B.value.width > 0 && F.value.zoom.autoFit ? (B.value.width - H.value.right) / B.value.width : null,
1997
+ additionalMinimapHeight: F.value.zoom.minimap.additionalHeight,
1998
+ handleType: F.value.zoom.minimap.handleType,
1999
+ handleIconColor: F.value.zoom.minimap.handleIconColor,
2000
+ handleBorderWidth: F.value.zoom.minimap.handleBorderWidth,
2001
+ handleBorderColor: F.value.zoom.minimap.handleBorderColor,
2002
+ handleFill: F.value.zoom.minimap.handleFill,
2003
+ handleWidth: F.value.zoom.minimap.handleWidth,
2004
2004
  "onUpdate:end": ri,
2005
2005
  "onUpdate:start": ni,
2006
2006
  onTrapMouse: ei,
@@ -2017,50 +2017,50 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
2017
2017
  unitW: t
2018
2018
  }), (e, n) => (y(), m("g", null, [h("path", {
2019
2019
  d: `M ${e.high.x},${e.high.y} ${e.low.x},${e.low.y}`,
2020
- stroke: e.isBullish ? N.value.colors.bullish : N.value.colors.bearish,
2020
+ stroke: e.isBullish ? M.value.colors.bullish : M.value.colors.bearish,
2021
2021
  "stroke-width": 1,
2022
- style: He({ opacity: n >= K.value.start && n <= K.value.end ? 1 : .6 })
2022
+ style: He({ opacity: n >= G.value.start && n <= G.value.end ? 1 : .6 })
2023
2023
  }, null, 12, kt), h("path", {
2024
2024
  d: `M ${e.open.x},${e.open.y} ${e.close.x},${e.close.y}`,
2025
- stroke: e.isBullish ? N.value.colors.bullish : N.value.colors.bearish,
2025
+ stroke: e.isBullish ? M.value.colors.bullish : M.value.colors.bearish,
2026
2026
  "stroke-width": Math.min(6, t / 1.5),
2027
- style: He({ opacity: n >= K.value.start && n <= K.value.end ? 1 : .6 })
2027
+ style: He({ opacity: n >= G.value.start && n <= G.value.end ? 1 : .6 })
2028
2028
  }, null, 12, At)]))), 256))]),
2029
2029
  _: 3
2030
2030
  }, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.start.textColor.timeLabels.usePreciseLabels.useResetSlot.valueEnd.valueStart.verticalHandles.minScale.maxScale.maxWidth.minimapLeftInsetRatio.minimapRightInsetRatio.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : p("", !0),
2031
2031
  h("div", {
2032
2032
  ref_key: "chartLegend",
2033
- ref: Yt
2033
+ ref: Xt
2034
2034
  }, [S(e.$slots, "legend", { legend: Q.value }, void 0, !0)], 512),
2035
2035
  e.$slots.source ? (y(), m("div", {
2036
2036
  key: 7,
2037
2037
  ref_key: "source",
2038
- ref: Zt,
2038
+ ref: Qt,
2039
2039
  dir: "auto"
2040
2040
  }, [S(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
2041
2041
  Re(C(Nt), {
2042
- teleportTo: I.value.tooltip.teleportTo,
2043
- show: H.value.showTooltip && Gt.value,
2044
- backgroundColor: I.value.tooltip.backgroundColor,
2045
- color: I.value.tooltip.color,
2046
- borderRadius: I.value.tooltip.borderRadius,
2047
- borderColor: I.value.tooltip.borderColor,
2048
- borderWidth: I.value.tooltip.borderWidth,
2049
- fontSize: I.value.tooltip.fontSize,
2050
- backgroundOpacity: I.value.tooltip.backgroundOpacity,
2051
- position: I.value.tooltip.position,
2052
- offsetX: I.value.tooltip.offsetX,
2053
- offsetY: I.value.tooltip.offsetY,
2054
- parent: A.value,
2042
+ teleportTo: F.value.tooltip.teleportTo,
2043
+ show: V.value.showTooltip && Gt.value,
2044
+ backgroundColor: F.value.tooltip.backgroundColor,
2045
+ color: F.value.tooltip.color,
2046
+ borderRadius: F.value.tooltip.borderRadius,
2047
+ borderColor: F.value.tooltip.borderColor,
2048
+ borderWidth: F.value.tooltip.borderWidth,
2049
+ fontSize: F.value.tooltip.fontSize,
2050
+ backgroundOpacity: F.value.tooltip.backgroundOpacity,
2051
+ position: F.value.tooltip.position,
2052
+ offsetX: F.value.tooltip.offsetX,
2053
+ offsetY: F.value.tooltip.offsetY,
2054
+ parent: Jt.value,
2055
2055
  content: Kt.value,
2056
2056
  isFullscreen: Lr.value,
2057
- isCustom: I.value.tooltip.customFormat && typeof I.value.tooltip.customFormat == "function",
2058
- smooth: I.value.tooltip.smooth,
2059
- backdropFilter: I.value.tooltip.backdropFilter,
2060
- smoothForce: I.value.tooltip.smoothForce,
2061
- smoothSnapThreshold: I.value.tooltip.smoothSnapThreshold,
2062
- isA11yMode: ln.value === "keyboard",
2063
- a11yPosition: cn.value
2057
+ isCustom: F.value.tooltip.customFormat && typeof F.value.tooltip.customFormat == "function",
2058
+ smooth: F.value.tooltip.smooth,
2059
+ backdropFilter: F.value.tooltip.backdropFilter,
2060
+ smoothForce: F.value.tooltip.smoothForce,
2061
+ smoothSnapThreshold: F.value.tooltip.smoothSnapThreshold,
2062
+ isA11yMode: un.value === "keyboard",
2063
+ a11yPosition: ln.value
2064
2064
  }, {
2065
2065
  "tooltip-before": w(() => [S(e.$slots, "tooltip-before", v(g({ ...Cr.value })), void 0, !0)]),
2066
2066
  tooltip: w(() => [S(e.$slots, "tooltip", v(g({ ...Cr.value })), void 0, !0)]),
@@ -2090,20 +2090,20 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
2090
2090
  "isA11yMode",
2091
2091
  "a11yPosition"
2092
2092
  ]),
2093
- Ut.value && L.value.buttons.table ? (y(), Fe(Ge(Kr.value.component), Be({ key: 8 }, Kr.value.props, {
2093
+ Ut.value && I.value.buttons.table ? (y(), Fe(Ge(Kr.value.component), Be({ key: 8 }, Kr.value.props, {
2094
2094
  ref_key: "tableUnit",
2095
- ref: an,
2095
+ ref: on,
2096
2096
  onClose: qr
2097
2097
  }), Ie({
2098
2098
  content: w(() => [(y(), Fe(C(Ft), {
2099
- key: `table_${en.value}`,
2099
+ key: `table_${tn.value}`,
2100
2100
  colNames: Ir.value.colNames,
2101
2101
  head: Ir.value.head,
2102
2102
  body: Ir.value.body,
2103
2103
  config: Ir.value.config,
2104
- title: M.value.table.useDialog ? "" : Kr.value.title,
2105
- withCloseButton: !M.value.table.useDialog,
2106
- isCursorPointer: fn.value,
2104
+ title: j.value.table.useDialog ? "" : Kr.value.title,
2105
+ withCloseButton: !j.value.table.useDialog,
2106
+ isCursorPointer: pn.value,
2107
2107
  onClose: qr
2108
2108
  }, {
2109
2109
  th: w(({ th: e }) => [Le(qe(e), 1)]),
@@ -2119,24 +2119,24 @@ var Ze = /* @__PURE__ */ e({ default: () => Mt }), Qe = ["id"], $e = ["id"], et
2119
2119
  "isCursorPointer"
2120
2120
  ]))]),
2121
2121
  _: 2
2122
- }, [M.value.table.useDialog ? {
2122
+ }, [j.value.table.useDialog ? {
2123
2123
  name: "title",
2124
2124
  fn: w(() => [Le(qe(Kr.value.title), 1)]),
2125
2125
  key: "0"
2126
- } : void 0, M.value.table.useDialog ? {
2126
+ } : void 0, j.value.table.useDialog ? {
2127
2127
  name: "actions",
2128
2128
  fn: w(() => [h("button", {
2129
2129
  tabindex: "0",
2130
2130
  class: "vue-ui-user-options-button",
2131
- onClick: n[3] ||= (e) => Fr(L.value.callbacks.csv),
2132
- style: He({ cursor: fn.value ? "pointer" : "default" })
2131
+ onClick: n[3] ||= (e) => Fr(I.value.callbacks.csv),
2132
+ style: He({ cursor: pn.value ? "pointer" : "default" })
2133
2133
  }, [Re(C(Mt), {
2134
2134
  name: "fileCsv",
2135
2135
  stroke: Kr.value.props.color
2136
2136
  }, null, 8, ["stroke"])], 4)]),
2137
2137
  key: "1"
2138
2138
  } : void 0]), 1040)) : p("", !0),
2139
- S(e.$slots, "skeleton", {}, () => [C(R) ? (y(), Fe(ve, { key: 0 })) : p("", !0)], !0)
2139
+ S(e.$slots, "skeleton", {}, () => [C(L) ? (y(), Fe(ve, { key: 0 })) : p("", !0)], !0)
2140
2140
  ], 46, Qe));
2141
2141
  }
2142
2142
  }, [["__scopeId", "data-v-bc12659d"]]);