vue-data-ui 3.23.10 → 3.23.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/README.md +40 -40
  2. package/dist/{Arrow-bwmME0jw.js → Arrow-DrF4NNJO.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DBVHlhQZ.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
  4. package/dist/{BaseIcon-B4n7br_R.js → BaseIcon-BbElSC8_.js} +1 -1
  5. package/dist/{BaseLegendToggle-wRhcG_-q.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
  6. package/dist/{BaseZoomControls-BZjzzyQo.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
  7. package/dist/{ColorPicker-B9kUMLSz.js → ColorPicker-ChOgAmCi.js} +2 -2
  8. package/dist/{DataTable-DMsScfkx.js → DataTable-CmyEubtT.js} +2 -2
  9. package/dist/{HillActions-IWPfuceW.js → HillActions-3HneGJhS.js} +1 -1
  10. package/dist/{Legend-DWEFXq9E.js → Legend-BJtY2RA9.js} +2 -2
  11. package/dist/{NonSvgPenAndPaper-Crs4-xWz.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
  12. package/dist/{PackageVersion-DNTJUKh1.js → PackageVersion-CT8FfP7h.js} +1 -1
  13. package/dist/{PenAndPaper-DJ607Hx6.js → PenAndPaper-CIa1F5Jq.js} +3 -3
  14. package/dist/{Shape-BAhF1ToV.js → Shape-BAL5bQmA.js} +1 -1
  15. package/dist/{SlicerPreview-sXtk2ZZ2.js → SlicerPreview-BRRyc1p7.js} +426 -426
  16. package/dist/{SparkTooltip-BE50SZQH.js → SparkTooltip-Bou05CV_.js} +1 -1
  17. package/dist/{Title-BGLPsoA9.js → Title-CaVA8EIw.js} +1 -1
  18. package/dist/{Tooltip-DO4-MVhc.js → Tooltip-CVxJe3UW.js} +1 -1
  19. package/dist/{UserOptions-HQyukyl2.js → UserOptions-WH7-49V0.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-hill.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.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-Cg_3vpOo.js → dom-to-png-COvyU2SG.js} +1 -1
  91. package/dist/exposedLib-DrUEXSyf.js +28 -0
  92. package/dist/{img-tU9mMt9W.js → img-Bkzj3lDD.js} +1 -1
  93. package/dist/{labelUtils-C_lMnQRs.js → labelUtils-iX76cA2-.js} +1 -1
  94. package/dist/{lib-AT2PUyyh.js → lib-Dqr_-I6Y.js} +165 -162
  95. package/dist/{package-enC-Nivt.js → package-CXgp_UWC.js} +1 -1
  96. package/dist/{pdf-ColHHJFH.js → pdf-Bk_9lTdQ.js} +1 -1
  97. package/dist/{render-common-CqcoYfCA.js → render-common-D9TESN6N.js} +12 -12
  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 +13 -2
  103. package/dist/types/vue-ui-dag.d.ts +2 -0
  104. package/dist/{useNestedProp-CW0vJS1B.js → useNestedProp-CulPqtou.js} +1 -1
  105. package/dist/{usePrinter-BFS7d6eb.js → usePrinter-CEiH1b6R.js} +2 -2
  106. package/dist/utils.js +9 -9
  107. package/dist/{vue-data-ui-DD7J3yor.js → vue-data-ui-BTHfxD0A.js} +69 -69
  108. package/dist/vue-data-ui.js +73 -73
  109. package/dist/vue-ui-3d-bar-qYgLQzCk.js +1829 -0
  110. package/dist/{vue-ui-accordion-DJNjilyy.js → vue-ui-accordion-C6L7glHU.js} +3 -3
  111. package/dist/{vue-ui-age-pyramid-DI8b5E2H.js → vue-ui-age-pyramid-DlDqWHMv.js} +27 -27
  112. package/dist/{vue-ui-annotator-7ZVfFskI.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
  113. package/dist/vue-ui-bullet-KPROgHpN.js +700 -0
  114. package/dist/{vue-ui-bump-DzB3WQnq.js → vue-ui-bump-_ccDjRda.js} +237 -237
  115. package/dist/{vue-ui-candlestick--YWEtek_.js → vue-ui-candlestick-C_21KIXE.js} +245 -245
  116. package/dist/{vue-ui-carousel-table-Dn3RZU0p.js → vue-ui-carousel-table--JukD8gC.js} +108 -108
  117. package/dist/{vue-ui-chestnut-BIsXeXiU.js → vue-ui-chestnut-BWvgfxnY.js} +86 -86
  118. package/dist/vue-ui-chord-CGkWt2XK.js +1345 -0
  119. package/dist/vue-ui-circle-pack-BWaN2mEB.js +1633 -0
  120. package/dist/{vue-ui-cursor-C-P2D5i6.js → vue-ui-cursor-YbxnsOd1.js} +3 -3
  121. package/dist/{vue-ui-dag-CThnMMWA.js → vue-ui-dag-B-X2eE3W.js} +923 -885
  122. package/dist/{vue-ui-dashboard-D0NNTRO3.js → vue-ui-dashboard-DgayqETw.js} +69 -69
  123. package/dist/{vue-ui-digits-9tGjGzZh.js → vue-ui-digits-1ULOKtDh.js} +3 -3
  124. package/dist/{vue-ui-donut-EZu8p7HF.js → vue-ui-donut-Bz2ZI_vO.js} +85 -85
  125. package/dist/{vue-ui-donut-DLN9uPOi.js → vue-ui-donut-Ci2MsJLu.js} +64 -64
  126. package/dist/{vue-ui-donut-evolution-mu-iGTIn.js → vue-ui-donut-evolution-Bo54mlFQ.js} +347 -347
  127. package/dist/{vue-ui-dumbbell-Dvldi3Oo.js → vue-ui-dumbbell-D2bJ_P7K.js} +229 -229
  128. package/dist/vue-ui-flow-D9m-k3tM.js +1214 -0
  129. package/dist/vue-ui-funnel-DyETq2KE.js +747 -0
  130. package/dist/{vue-ui-galaxy-D6eYN8Ut.js → vue-ui-galaxy-pjGKZLrq.js} +64 -64
  131. package/dist/vue-ui-gauge-BO5lLCyJ.js +932 -0
  132. package/dist/{vue-ui-geo-CQqNemR6.js → vue-ui-geo-DpyLvk_B.js} +34 -34
  133. package/dist/{vue-ui-gizmo-ClunTUxX.js → vue-ui-gizmo-CUl8dgmV.js} +10 -10
  134. package/dist/{vue-ui-heatmap-B_pSQNzO.js → vue-ui-heatmap-CiV3kCrx.js} +472 -472
  135. package/dist/{vue-ui-hill-Byp0Tnny.js → vue-ui-hill-CkMtYGo2.js} +10 -10
  136. package/dist/vue-ui-history-plot-X2gQI4TY.js +1695 -0
  137. package/dist/vue-ui-horizontal-bar-DVT1wthh.js +1708 -0
  138. package/dist/{vue-ui-kpi-BKw5t-rX.js → vue-ui-kpi-CWPmkLKR.js} +3 -3
  139. package/dist/{vue-ui-mini-loader-BNm0MQDw.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
  140. package/dist/{vue-ui-molecule-DRwQV5hN.js → vue-ui-molecule-DnW5HYZP.js} +176 -176
  141. package/dist/{vue-ui-mood-radar-Bj3KTWYj.js → vue-ui-mood-radar-FovwTDLw.js} +20 -20
  142. package/dist/{vue-ui-nested-donuts-83Wh2w6z.js → vue-ui-nested-donuts-DHCOlxTO.js} +104 -104
  143. package/dist/vue-ui-onion-CzAEqZ0B.js +1233 -0
  144. package/dist/vue-ui-parallel-coordinate-plot-BZN75P6u.js +1430 -0
  145. package/dist/{vue-ui-quadrant-_J-Qr7-K.js → vue-ui-quadrant-CNeP5WEC.js} +32 -32
  146. package/dist/{vue-ui-quick-chart-DcOUq4ym.js → vue-ui-quick-chart-Bnj8oh82.js} +153 -153
  147. package/dist/{vue-ui-radar-FlRlsoAd.js → vue-ui-radar-DMyMAtx7.js} +41 -41
  148. package/dist/{vue-ui-rating-eCxEZD8C.js → vue-ui-rating-dBCk6ECe.js} +26 -26
  149. package/dist/vue-ui-relation-circle-DFj5V39I.js +903 -0
  150. package/dist/vue-ui-ridgeline-BaplQZZK.js +1614 -0
  151. package/dist/vue-ui-rings-B9QJ1Rnb.js +1250 -0
  152. package/dist/vue-ui-scatter-UH0wqUO5.js +2403 -0
  153. package/dist/{vue-ui-skeleton-CNOam3kC.js → vue-ui-skeleton-DkoEclfa.js} +3 -3
  154. package/dist/{vue-ui-smiley-YdyidjBH.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
  155. package/dist/{vue-ui-spark-trend-CS5GLtYL.js → vue-ui-spark-trend-BW8WYOva.js} +23 -23
  156. package/dist/{vue-ui-sparkbar-DDHwgP4k.js → vue-ui-sparkbar-ADRsH-GZ.js} +24 -24
  157. package/dist/{vue-ui-sparkgauge-BcQu9V3h.js → vue-ui-sparkgauge-BYs1L6I7.js} +61 -61
  158. package/dist/{vue-ui-sparkhistogram-CPsA5P6c.js → vue-ui-sparkhistogram-D1Paq9X0.js} +15 -15
  159. package/dist/vue-ui-sparkline-D2Hf_NP-.js +1584 -0
  160. package/dist/{vue-ui-sparkstackbar-4tsTxMe2.js → vue-ui-sparkstackbar-Uy6Q0X15.js} +207 -207
  161. package/dist/vue-ui-stackbar-Vt9AjazE.js +2332 -0
  162. package/dist/{vue-ui-stackline-BNCWO_jG.js → vue-ui-stackline-CBIGhWpn.js} +605 -605
  163. package/dist/{vue-ui-strip-plot-2Y1c02Ek.js → vue-ui-strip-plot-DhZV1Sl6.js} +57 -57
  164. package/dist/vue-ui-table-DqMxdgj4.js +1352 -0
  165. package/dist/{vue-ui-table-heatmap-BacaEjQy.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
  166. package/dist/{vue-ui-table-sparkline-B8oAU5yr.js → vue-ui-table-sparkline-2KZ2UoEA.js} +11 -11
  167. package/dist/vue-ui-thermometer-mVP2GqO7.js +756 -0
  168. package/dist/{vue-ui-timer-CWZgSpP8.js → vue-ui-timer-CGrqG8H3.js} +12 -12
  169. package/dist/{vue-ui-tiremarks-LLVCPyg9.js → vue-ui-tiremarks-DyFUPB5s.js} +12 -12
  170. package/dist/{vue-ui-treemap-ehBl9JMC.js → vue-ui-treemap-BVFHSTfq.js} +44 -44
  171. package/dist/vue-ui-waffle-DNZsc5x0.js +1619 -0
  172. package/dist/{vue-ui-wheel-C4OHPrtC.js → vue-ui-wheel-Cg4oNFmH.js} +28 -28
  173. package/dist/{vue-ui-word-cloud-CDHn3Kwa.js → vue-ui-word-cloud-CUf1h_L1.js} +32 -32
  174. package/dist/{vue-ui-world-ao1xf04I.js → vue-ui-world-CIcrI3zP.js} +116 -116
  175. package/dist/{vue-ui-xy-DmJDCl3c.js → vue-ui-xy-8V-CU7No.js} +99 -99
  176. package/dist/{vue-ui-xy-_U3wmtCf.js → vue-ui-xy-CJ5ZixIL.js} +304 -304
  177. package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
  178. package/package.json +1 -1
  179. package/dist/exposedLib-vfRiIvq_.js +0 -28
  180. package/dist/vue-ui-3d-bar-DgrcdAgz.js +0 -1829
  181. package/dist/vue-ui-bullet-Dyd5F1Wa.js +0 -700
  182. package/dist/vue-ui-chord-BimXqVsF.js +0 -1345
  183. package/dist/vue-ui-circle-pack-DKQEhL-L.js +0 -1633
  184. package/dist/vue-ui-flow-DYZBT5Cb.js +0 -1214
  185. package/dist/vue-ui-funnel--NaxO0cZ.js +0 -747
  186. package/dist/vue-ui-gauge-DTIEl2Xb.js +0 -932
  187. package/dist/vue-ui-history-plot-CMu8ST1E.js +0 -1695
  188. package/dist/vue-ui-horizontal-bar-BQn7WxQ-.js +0 -1708
  189. package/dist/vue-ui-onion-C27GpneA.js +0 -1233
  190. package/dist/vue-ui-parallel-coordinate-plot-BklOszr1.js +0 -1430
  191. package/dist/vue-ui-relation-circle-DnsxHv7t.js +0 -903
  192. package/dist/vue-ui-ridgeline-TopTLyaE.js +0 -1614
  193. package/dist/vue-ui-rings-obVfb09j.js +0 -1250
  194. package/dist/vue-ui-scatter-BHSuA506.js +0 -2403
  195. package/dist/vue-ui-sparkline-CnbO-GkM.js +0 -1584
  196. package/dist/vue-ui-stackbar-2_SrMFNT.js +0 -2332
  197. package/dist/vue-ui-table-DJZxHo5N.js +0 -1352
  198. package/dist/vue-ui-thermometer-BGtxNU9T.js +0 -756
  199. package/dist/vue-ui-waffle-DpBAXbhh.js +0 -1610
  200. package/dist/vue-ui-xy-canvas-Bx-9y53V.js +0 -1823
@@ -1,26 +1,26 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Bt as n, D as r, Jt as i, Vt as a, X as o, _ as s, b as c, c as l, ct as ee, dt as te, jt as ne, q as re, qt as ie, t as ae, tt as u, xt as oe } from "./lib-AT2PUyyh.js";
3
- import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
4
- import { n as le, r as ue, t as de } from "./useTimeLabels-d2f-W1L4.js";
5
- import { t as fe } from "./useConfig-DwdGsXTx.js";
6
- import { t as pe } from "./usePrinter-BFS7d6eb.js";
7
- import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
8
- import { t as ge } from "./useNestedProp-CW0vJS1B.js";
9
- import { t as _e } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as ve } from "./useChartExport-DNiwdPmb.js";
11
- import { t as ye } from "./useTransitions-g_zBREk2.js";
12
- import { t as be } from "./useTimeLabelCollider-AEcY4Ioe.js";
13
- import { t as xe } from "./img-tU9mMt9W.js";
14
- import { n as Se } from "./Title-BGLPsoA9.js";
15
- import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
- import { l as we, t as Te } from "./useResponsive-ZtArZtUf.js";
17
- import { t as Ee } from "./DefGrad-DVBqDjhO.js";
18
- import { t as De } from "./SlicerPreview-sXtk2ZZ2.js";
19
- import { t as Oe } from "./A11yDataTable-DdRsVULz.js";
20
- import { t as ke } from "./useUserOptionState-DK-_1ddE.js";
21
- import { t as Ae } from "./useChartAccessibility-DYqac8yF.js";
22
- import { t as je } from "./vue_ui_candlestick-J8jmJvxP.js";
23
- import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Me, createTextVNode as Ne, createVNode as Pe, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Fe, nextTick as Ie, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as Le, onMounted as Re, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as ze, shallowRef as Be, toDisplayString as E, toRefs as Ve, unref as D, watch as He, watchEffect as Ue, withCtx as O } from "vue";
2
+ import { $ as t, D as n, Ht as r, Nt as i, St as a, Ut as o, X as s, Xt as c, Yt as l, _ as ee, b as u, c as te, ft as ne, lt as re, nt as d, q as ie, t as ae } from "./lib-Dqr_-I6Y.js";
3
+ import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
4
+ import { n as ce, r as le, t as ue } from "./useTimeLabels-d2f-W1L4.js";
5
+ import { t as de } from "./useConfig-DwdGsXTx.js";
6
+ import { t as fe } from "./usePrinter-CEiH1b6R.js";
7
+ import { n as pe, t as me } from "./BaseScanner-DZvpgOjM.js";
8
+ import { t as he } from "./useNestedProp-CulPqtou.js";
9
+ import { t as ge } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as _e } from "./useChartExport-DNiwdPmb.js";
11
+ import { t as ve } from "./useTransitions-g_zBREk2.js";
12
+ import { t as ye } from "./useTimeLabelCollider-AEcY4Ioe.js";
13
+ import { t as be } from "./img-Bkzj3lDD.js";
14
+ import { n as xe } from "./Title-CaVA8EIw.js";
15
+ import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
+ import { l as Ce, t as we } from "./useResponsive-ZtArZtUf.js";
17
+ import { t as Te } from "./DefGrad-DVBqDjhO.js";
18
+ import { t as Ee } from "./SlicerPreview-BRRyc1p7.js";
19
+ import { t as De } from "./A11yDataTable-DdRsVULz.js";
20
+ import { t as Oe } from "./useUserOptionState-DK-_1ddE.js";
21
+ import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
22
+ import { t as Ae } from "./vue_ui_candlestick-J8jmJvxP.js";
23
+ import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as je, createTextVNode as Me, createVNode as Ne, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as Pe, nextTick as Fe, normalizeClass as b, normalizeProps as x, normalizeStyle as Ie, onBeforeUnmount as Le, onMounted as Re, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as ze, shallowRef as Be, toDisplayString as E, toRefs as Ve, unref as D, watch as He, watchEffect as Ue, withCtx as O } from "vue";
24
24
  //#region src/components/vue-ui-candlestick.vue
25
25
  var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe = { style: { position: "relative" } }, Je = [
26
26
  "xmlns",
@@ -166,7 +166,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
166
166
  "d",
167
167
  "stroke",
168
168
  "stroke-width"
169
- ], Ct = ["innerHTML"], wt = /*#__PURE__*/ Ce({
169
+ ], Ct = ["innerHTML"], wt = /*#__PURE__*/ Se({
170
170
  __name: "vue-ui-candlestick",
171
171
  props: {
172
172
  config: {
@@ -187,16 +187,16 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
187
187
  }
188
188
  },
189
189
  emits: ["selectX", "copyAlt"],
190
- setup(e, { expose: Ce, emit: We }) {
191
- let wt = _(() => import("./BaseIcon-B4n7br_R.js").then((e) => e.n)), Tt = _(() => import("./Tooltip-DO4-MVhc.js")), Et = _(() => import("./vue-ui-accordion-DJNjilyy.js").then((e) => e.n)), Dt = _(() => import("./DataTable-DMsScfkx.js")), Ot = _(() => import("./PenAndPaper-DJ607Hx6.js").then((e) => e.t)), kt = _(() => import("./UserOptions-HQyukyl2.js").then((e) => e.n)), At = _(() => import("./PackageVersion-DNTJUKh1.js").then((e) => e.t)), jt = _(() => import("./BaseDraggableDialog-DBVHlhQZ.js").then((e) => e.n)), { vue_ui_candlestick: Mt } = fe(), { isThemeValid: Nt, warnInvalidTheme: Pt } = _e(), k = e, Ft = We, It = f(() => !!k.dataset && k.dataset.length), A = C(!1), Lt = C(null), j = C(re()), Rt = C(!1), zt = C(""), M = C(void 0), Bt = C(0), N = C(null), Vt = C(null), Ht = C(null), Ut = C(null), Wt = C(null), Gt = C(null), Kt = C(0), qt = C(0), Jt = C(0), Yt = C(null), Xt = C(null), Zt = C(null), Qt = C(null), $t = C(null), P = C(null), en = C({
190
+ setup(e, { expose: Se, emit: We }) {
191
+ let wt = v(() => import("./BaseIcon-BbElSC8_.js").then((e) => e.n)), Tt = v(() => import("./Tooltip-CVxJe3UW.js")), Et = v(() => import("./vue-ui-accordion-C6L7glHU.js").then((e) => e.n)), Dt = v(() => import("./DataTable-CmyEubtT.js")), Ot = v(() => import("./PenAndPaper-CIa1F5Jq.js").then((e) => e.t)), kt = v(() => import("./UserOptions-WH7-49V0.js").then((e) => e.n)), At = v(() => import("./PackageVersion-CT8FfP7h.js").then((e) => e.t)), jt = v(() => import("./BaseDraggableDialog-Dr_Q6Yt5.js").then((e) => e.n)), { vue_ui_candlestick: Mt } = de(), { isThemeValid: Nt, warnInvalidTheme: Pt } = ge(), k = e, Ft = We, It = p(() => !!k.dataset && k.dataset.length), A = C(!1), Lt = C(null), j = C(ie()), Rt = C(!1), zt = C(""), M = C(void 0), Bt = C(0), N = C(null), Vt = C(null), Ht = C(null), Ut = C(null), Wt = C(null), Gt = C(null), Kt = C(0), qt = C(0), Jt = C(0), Yt = C(null), Xt = C(null), Zt = C(null), Qt = C(null), $t = C(null), P = C(null), en = C({
192
192
  x: 0,
193
193
  y: 0
194
194
  }), tn = C("pointer"), nn = C(!1), F = C(pn());
195
- se({
195
+ oe({
196
196
  config: () => F.value,
197
197
  dataset: () => k.dataset,
198
198
  component: "VueUiCandlestick",
199
- rules: [ce.emptyArray, {
199
+ rules: [se.emptyArray, {
200
200
  test: (e) => e.length > 200,
201
201
  message: [
202
202
  "👀 Dataset has > 200 points, which can cause performance issues. Consider:",
@@ -207,10 +207,10 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
207
207
  ]
208
208
  }]
209
209
  });
210
- let { transitionEnabled: rn } = ye({
210
+ let { transitionEnabled: rn } = ve({
211
211
  config: () => F.value.transitions,
212
212
  dataset: () => k.dataset
213
- }), an = f(() => F.value.userOptions.useCursorPointer), on = f(() => i({
213
+ }), an = p(() => F.value.userOptions.useCursorPointer), on = p(() => c({
214
214
  defaultConfig: {
215
215
  useCssAnimation: !1,
216
216
  userOptions: { show: !1 },
@@ -248,7 +248,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
248
248
  }
249
249
  },
250
250
  userConfig: F.value.skeletonConfig ?? {}
251
- })), { loading: I, FINAL_DATASET: L, manualLoading: sn } = me({
251
+ })), { loading: I, FINAL_DATASET: L, manualLoading: sn } = pe({
252
252
  ...Ve(k),
253
253
  FINAL_CONFIG: F,
254
254
  prepareConfig: pn,
@@ -355,11 +355,11 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
355
355
  5100
356
356
  ]
357
357
  ],
358
- skeletonConfig: i({
358
+ skeletonConfig: c({
359
359
  defaultConfig: F.value,
360
360
  userConfig: on.value
361
361
  })
362
- }), { userOptionsVisible: cn, setUserOptionsVisibility: ln, keepUserOptionState: un } = ke({ config: F.value }), { svgRef: R } = Ae({ config: F.value.style.title });
362
+ }), { userOptionsVisible: cn, setUserOptionsVisibility: ln, keepUserOptionState: un } = Oe({ config: F.value }), { svgRef: R } = ke({ config: F.value.style.title });
363
363
  function dn() {
364
364
  ln(!0);
365
365
  }
@@ -370,17 +370,17 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
370
370
  }), M.value = null;
371
371
  }
372
372
  function pn() {
373
- let e = ge({
373
+ let e = he({
374
374
  userConfig: k.config,
375
375
  defaultConfig: Mt
376
376
  }), t = {}, n = e.theme;
377
377
  if (n) if (!Nt.value(e)) Pt(e), t = e;
378
378
  else {
379
- let r = ge({
380
- userConfig: je[n] || k.config,
379
+ let r = he({
380
+ userConfig: Ae[n] || k.config,
381
381
  defaultConfig: e
382
382
  });
383
- t = { ...ge({
383
+ t = { ...he({
384
384
  userConfig: k.config,
385
385
  defaultConfig: r
386
386
  }) };
@@ -402,18 +402,18 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
402
402
  Re(() => {
403
403
  hn();
404
404
  });
405
- let mn = f(() => F.value.debug);
405
+ let mn = p(() => F.value.debug);
406
406
  function hn() {
407
- if (ne(k.dataset) && (u({
407
+ if (i(k.dataset) && (d({
408
408
  componentName: "VueUiCandlestick",
409
409
  type: "dataset",
410
410
  debug: mn.value
411
- }), sn.value = !0), ne(k.dataset) || (sn.value = F.value.loading), setTimeout(() => {
411
+ }), sn.value = !0), i(k.dataset) || (sn.value = F.value.loading), setTimeout(() => {
412
412
  A.value = !0;
413
413
  }, 10), F.value.responsive) {
414
- let e = we(() => {
414
+ let e = Ce(() => {
415
415
  A.value = !1;
416
- let { width: e, height: t } = Te({
416
+ let { width: e, height: t } = we({
417
417
  chart: N.value,
418
418
  title: F.value.style.title.text ? Vt.value : null,
419
419
  slicer: F.value.style.zoom.show && G.value > 6 ? Ut.value.$el : null,
@@ -422,13 +422,13 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
422
422
  noTitle: Gt.value
423
423
  });
424
424
  requestAnimationFrame(() => {
425
- z.value.width = e, z.value.height = t - 12, F.value.responsiveProportionalSizing ? (z.value.xAxisFontSize = ie({
425
+ z.value.width = e, z.value.height = t - 12, F.value.responsiveProportionalSizing ? (z.value.xAxisFontSize = l({
426
426
  relator: Math.min(e, t),
427
427
  adjuster: F.value.style.width,
428
428
  source: F.value.style.layout.grid.xAxis.dataLabels.fontSize,
429
429
  threshold: 6,
430
430
  fallback: 6
431
- }), z.value.yAxisFontSize = ie({
431
+ }), z.value.yAxisFontSize = l({
432
432
  relator: Math.min(e, t),
433
433
  adjuster: F.value.style.width,
434
434
  source: F.value.style.layout.grid.yAxis.dataLabels.fontSize,
@@ -446,14 +446,14 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
446
446
  Le(() => {
447
447
  B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
448
448
  });
449
- let { isPrinting: gn, isImaging: _n, generatePdf: vn, generateImage: yn } = pe({
449
+ let { isPrinting: gn, isImaging: _n, generatePdf: vn, generateImage: yn } = fe({
450
450
  elementId: `vue-ui-candlestick_${j.value}`,
451
451
  fileName: F.value.style.title.text || "vue-ui-candlestick",
452
452
  options: F.value.userOptions.print
453
- }), bn = f(() => F.value.userOptions.show && !F.value.style.title.text), H = C({
453
+ }), bn = p(() => F.value.userOptions.show && !F.value.style.title.text), H = C({
454
454
  showTable: F.value.table.show,
455
455
  showTooltip: F.value.style.tooltip.show
456
- }), xn = C(0), Sn = we((e) => {
456
+ }), xn = C(0), Sn = Ce((e) => {
457
457
  xn.value = e;
458
458
  }, 100);
459
459
  Ue((e) => {
@@ -466,10 +466,10 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
466
466
  }), Le(() => {
467
467
  xn.value = 0;
468
468
  });
469
- let Cn = f(() => {
469
+ let Cn = p(() => {
470
470
  let e = 0;
471
471
  return Xt.value && (e = xn.value + z.value.xAxisFontSize), e;
472
- }), U = f(() => F.value.style.layout.grid.yAxis.position === "right");
472
+ }), U = p(() => F.value.style.layout.grid.yAxis.position === "right");
473
473
  function wn() {
474
474
  let e = F.value.style.layout.grid.yAxis.dataLabels.offsetX;
475
475
  Yt.value && (e = Array.from(Yt.value.querySelectorAll("text")).reduce((e, t) => {
@@ -485,7 +485,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
485
485
  crosshair: 13
486
486
  };
487
487
  }
488
- let W = f(() => {
488
+ let W = p(() => {
489
489
  let { top: e, right: t, bottom: n, left: r } = F.value.style.layout.padding, i = wn();
490
490
  return {
491
491
  top: e + 12,
@@ -498,7 +498,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
498
498
  yAxisNameWidth: i.yAxisNameWidth,
499
499
  crosshair: i.crosshair
500
500
  };
501
- }), Tn = f(() => {
501
+ }), Tn = p(() => {
502
502
  let { left: e, top: t, width: n, height: r } = W.value, i = K.value.start, a = K.value.end - i, o = n / a, s = q.value.start - i, c = q.value.end - i, l = Math.max(0, Math.min(a, s)), ee = Math.max(0, Math.min(a, c));
503
503
  return {
504
504
  x: e + l * o,
@@ -517,13 +517,13 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
517
517
  animation: "none !important"
518
518
  }
519
519
  };
520
- }), G = f(() => L.value.length), K = C({
520
+ }), G = p(() => L.value.length), K = C({
521
521
  start: 0,
522
522
  end: G.value
523
523
  }), q = C({
524
524
  start: 0,
525
525
  end: G.value
526
- }), En = f(() => F.value.style.zoom.preview.enable && (q.value.start !== K.value.start || q.value.end !== K.value.end));
526
+ }), En = p(() => F.value.style.zoom.preview.enable && (q.value.start !== K.value.start || q.value.end !== K.value.end));
527
527
  function Dn(e, t) {
528
528
  q.value[e] = t;
529
529
  }
@@ -531,36 +531,36 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
531
531
  let e = Math.max(0, Math.min(K.value.start ?? 0, G.value - 1)), t = Math.max(e + 1, Math.min(K.value.end ?? G.value, G.value));
532
532
  (!Number.isFinite(e) || !Number.isFinite(t) || t <= e) && (e = 0, t = G.value), K.value.start = e, K.value.end = t, q.value.start = e, q.value.end = t, Ut.value && (Ut.value.setStartValue(e), Ut.value.setEndValue(t));
533
533
  }
534
- let kn = f(() => L.value.map((e, t) => ({
534
+ let kn = p(() => L.value.map((e, t) => ({
535
535
  ...e,
536
536
  absoluteIndex: t
537
- }))), An = f(() => kn.value.slice(K.value.start, K.value.end)), J = f(() => (mn.value && L.value.forEach((e, t) => {
538
- [null, void 0].includes(e[0]) && u({
537
+ }))), An = p(() => kn.value.slice(K.value.start, K.value.end)), J = p(() => (mn.value && L.value.forEach((e, t) => {
538
+ [null, void 0].includes(e[0]) && d({
539
539
  componentName: "VueUiCandlestick",
540
540
  type: "datasetAttribute",
541
541
  property: "period (index 0)",
542
542
  index: t
543
- }), [null, void 0].includes(e[1]) && u({
543
+ }), [null, void 0].includes(e[1]) && d({
544
544
  componentName: "VueUiCandlestick",
545
545
  type: "datasetAttribute",
546
546
  property: "open (index 1)",
547
547
  index: t
548
- }), [null, void 0].includes(e[2]) && u({
548
+ }), [null, void 0].includes(e[2]) && d({
549
549
  componentName: "VueUiCandlestick",
550
550
  type: "datasetAttribute",
551
551
  property: "high (index 2)",
552
552
  index: t
553
- }), [null, void 0].includes(e[3]) && u({
553
+ }), [null, void 0].includes(e[3]) && d({
554
554
  componentName: "VueUiCandlestick",
555
555
  type: "datasetAttribute",
556
556
  property: "low (index 3)",
557
557
  index: t
558
- }), [null, void 0].includes(e[4]) && u({
558
+ }), [null, void 0].includes(e[4]) && d({
559
559
  componentName: "VueUiCandlestick",
560
560
  type: "datasetAttribute",
561
561
  property: "close (index 4)",
562
562
  index: t
563
- }), [null, void 0].includes(e[5]) && u({
563
+ }), [null, void 0].includes(e[5]) && d({
564
564
  componentName: "VueUiCandlestick",
565
565
  type: "datasetAttribute",
566
566
  property: "volume (index 5)",
@@ -574,7 +574,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
574
574
  low: e[3],
575
575
  close: e[4],
576
576
  volume: e[5]
577
- })))), jn = f(() => kn.value.map((e) => ({
577
+ })))), jn = p(() => kn.value.map((e) => ({
578
578
  absoluteIndex: e.absoluteIndex,
579
579
  period: e[0],
580
580
  open: e[1],
@@ -582,21 +582,21 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
582
582
  low: e[3],
583
583
  close: e[4],
584
584
  volume: e[5]
585
- }))), Y = f(() => W.value.width / An.value.length), Mn = f(() => ({
585
+ }))), Y = p(() => W.value.width / An.value.length), Mn = p(() => ({
586
586
  max: F.value.style.layout.grid.yAxis.scale.max === null ? Math.max(...J.value.map((e) => e.high)) : F.value.style.layout.grid.yAxis.scale.max,
587
587
  min: F.value.style.layout.grid.yAxis.scale.min === null ? 0 : F.value.style.layout.grid.yAxis.scale.min
588
- })), X = f(() => s(Mn.value.min, Mn.value.max, F.value.style.layout.grid.yAxis.dataLabels.steps));
588
+ })), X = p(() => ee(Mn.value.min, Mn.value.max, F.value.style.layout.grid.yAxis.dataLabels.steps));
589
589
  function Nn(e, t, n = null, r = null) {
590
590
  return {
591
591
  ...e,
592
- x: c(W.value.left + t * Y.value + Y.value / 2),
593
- y: c(W.value.top + (1 - (e - X.value.min) / (X.value.max - X.value.min)) * W.value.height),
594
- value: c(e),
592
+ x: u(W.value.left + t * Y.value + Y.value / 2),
593
+ y: u(W.value.top + (1 - (e - X.value.min) / (X.value.max - X.value.min)) * W.value.height),
594
+ value: u(e),
595
595
  isMax: e === n,
596
596
  isMin: e === r
597
597
  };
598
598
  }
599
- let Z = f(() => {
599
+ let Z = p(() => {
600
600
  let e = {
601
601
  o: Math.max(...J.value.map((e) => e.open)),
602
602
  h: Math.max(...J.value.map((e) => e.high)),
@@ -609,7 +609,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
609
609
  c: Math.min(...J.value.map((e) => e.low))
610
610
  }, n = Math.max(...J.value.map((e) => e.volume)), r = Math.min(...J.value.map((e) => e.volume));
611
611
  return J.value.map((i, a) => {
612
- let o = Nn(i.open, a, e.o, t.o), s = Nn(i.high, a, e.h, t.h), c = Nn(i.low, a, e.l, t.l), l = Nn(i.close, a, e.c, t.c), ee = i.close > i.open, te = i.volume === n, ne = i.volume === r;
612
+ let o = Nn(i.open, a, e.o, t.o), s = Nn(i.high, a, e.h, t.h), c = Nn(i.low, a, e.l, t.l), l = Nn(i.close, a, e.c, t.c), ee = i.close > i.open, u = i.volume === n, te = i.volume === r;
613
613
  return {
614
614
  period: i.period,
615
615
  open: o,
@@ -619,8 +619,8 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
619
619
  volume: i.volume,
620
620
  isBullish: ee,
621
621
  absoluteIndex: i.absoluteIndex,
622
- isMaxVolume: te,
623
- isMinVolume: ne
622
+ isMaxVolume: u,
623
+ isMinVolume: te
624
624
  };
625
625
  });
626
626
  });
@@ -628,12 +628,12 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
628
628
  let i = F.value.style.layout.grid.yAxis.scale.min ?? 0, a = F.value.style.layout.grid.yAxis.scale.max ?? Math.max(...L.value.map((e) => e[2]));
629
629
  return {
630
630
  ...e,
631
- x: c(t * r),
632
- y: c((1 - (e - i) / (a - i)) * n),
633
- value: c(e)
631
+ x: u(t * r),
632
+ y: u((1 - (e - i) / (a - i)) * n),
633
+ value: u(e)
634
634
  };
635
635
  }
636
- let Fn = f(() => ({ minimapH: e, unitW: t }) => jn.value.map((n, r) => {
636
+ let Fn = p(() => ({ minimapH: e, unitW: t }) => jn.value.map((n, r) => {
637
637
  let i = Pn({
638
638
  item: n.open,
639
639
  index: r,
@@ -665,23 +665,23 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
665
665
  isBullish: c,
666
666
  absoluteIndex: n.absoluteIndex
667
667
  };
668
- })), In = f(() => F.value.style.zoom.minimap.show ? [{
668
+ })), In = p(() => F.value.style.zoom.minimap.show ? [{
669
669
  name: "",
670
670
  series: L.value.map((e) => e[2]),
671
671
  color: "#000000",
672
672
  isVisible: !0
673
673
  }] : []);
674
674
  function Ln(e) {
675
- return c((e - X.value.min) / (X.value.max - X.value.min));
675
+ return u((e - X.value.min) / (X.value.max - X.value.min));
676
676
  }
677
- let Rn = f(() => X.value.ticks.map((e) => ({
677
+ let Rn = p(() => X.value.ticks.map((e) => ({
678
678
  y: W.value.bottom - W.value.height * Ln(e),
679
- value: c(e)
680
- }))), zn = f(() => J.value.map((e) => e.period)), Q = C([]), Bn = C([]), Vn = 0;
679
+ value: u(e)
680
+ }))), zn = p(() => J.value.map((e) => e.period)), Q = C([]), Bn = C([]), Vn = 0;
681
681
  Ue(() => {
682
682
  let e = ++Vn;
683
683
  (async () => {
684
- let t = await de({
684
+ let t = await ue({
685
685
  values: L.value.map((e) => e[0]),
686
686
  maxDatapoints: L.value.length,
687
687
  formatter: F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
@@ -695,7 +695,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
695
695
  Ue(() => {
696
696
  let e = ++Hn;
697
697
  (async () => {
698
- let t = await de({
698
+ let t = await ue({
699
699
  values: L.value.map((e) => e[0]),
700
700
  maxDatapoints: L.value.length,
701
701
  formatter: F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
@@ -705,7 +705,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
705
705
  e === Hn && (Bn.value = t);
706
706
  })();
707
707
  });
708
- let Un = f(() => {
708
+ let Un = p(() => {
709
709
  let e = F.value.style.layout.grid.xAxis.dataLabels.modulo;
710
710
  return Q.value.length ? Math.min(e, [...new Set(Q.value.map((e) => e.text))].length) : e;
711
711
  }), Wn = C({
@@ -717,12 +717,12 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
717
717
  Ue(() => {
718
718
  let e = ++Gn, t = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter;
719
719
  (async () => {
720
- let n = await ue(t.locale).catch(() => ue("en"));
720
+ let n = await le(t.locale).catch(() => le("en"));
721
721
  e === Gn && (Wn.value = n.data);
722
722
  })();
723
723
  });
724
- let Kn = f(() => {
725
- let e = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter, t = le({
724
+ let Kn = p(() => {
725
+ let e = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter, t = ce({
726
726
  useUTC: e.useUTC,
727
727
  locale: Wn.value,
728
728
  januaryAsYear: e.januaryAsYear
@@ -731,16 +731,16 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
731
731
  let r = L.value.map((e) => e[0])?.[e];
732
732
  return r == null ? "" : t.formatDate(new Date(r), n);
733
733
  };
734
- }), qn = f(() => (L.value.map((e) => e[0]) || []).map((e, t) => ({
734
+ }), qn = p(() => (L.value.map((e) => e[0]) || []).map((e, t) => ({
735
735
  text: Kn.value(t, F.value.style.tooltip.timeFormat),
736
736
  absoluteIndex: t
737
- }))), Jn = f(() => (L.value.map((e) => e[0]) || []).map((e, t) => ({
737
+ }))), Jn = p(() => (L.value.map((e) => e[0]) || []).map((e, t) => ({
738
738
  text: Kn.value(t, F.value.style.zoom.timeFormat),
739
739
  absoluteIndex: t
740
- }))), Yn = f(() => {
740
+ }))), Yn = p(() => {
741
741
  let e = F.value.style.layout.grid.xAxis.dataLabels, t = Q.value || [], n = Bn.value || [], r = K.value.start ?? 0, i = M.value, a = G.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? "");
742
- return l(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Un.value || 1), o, s, r, i, a);
743
- }), Xn = f(() => F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
742
+ return te(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Un.value || 1), o, s, r, i, a);
743
+ }), Xn = p(() => F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
744
744
  start: Q.value.find((e) => e.absoluteIndex === K.value.start)?.text ?? "",
745
745
  end: Q.value.find((e) => e.absoluteIndex === K.value.end - 1)?.text ?? ""
746
746
  } : {
@@ -781,7 +781,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
781
781
  datapoint: t
782
782
  });
783
783
  let r = F.value.style.tooltip.customFormat;
784
- if (oe(r) && ee(() => r({
784
+ if (a(r) && re(() => r({
785
785
  seriesIndex: e,
786
786
  datapoint: t,
787
787
  series: Z.value,
@@ -793,25 +793,25 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
793
793
  config: F.value
794
794
  });
795
795
  else if (F.value.style.tooltip.show) {
796
- let n = "", { period: r, open: i, high: a, low: s, close: c, volume: l, isBullish: ee } = Z.value[e], { period: te, open: ne, high: re, low: ie, close: ae, volume: u } = F.value.translations, oe = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? F.value.style.tooltip.useDefaultTimeFormat ? Q.value[e].text : qn.value[e].text : r;
796
+ let n = "", { period: r, open: i, high: a, low: o, close: c, volume: l, isBullish: ee } = Z.value[e], { period: u, open: te, high: ne, low: re, close: d, volume: ie } = F.value.translations, ae = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? F.value.style.tooltip.useDefaultTimeFormat ? Q.value[e].text : qn.value[e].text : r;
797
797
  n += `<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="${F.value.style.layout.candle.borderRadius * 3}" stroke="${F.value.style.layout.candle.stroke}" stroke-width="${F.value.style.layout.candle.strokeWidth}"
798
- fill="${F.value.style.layout.candle.gradient.show ? ee ? `url(#bullish_gradient_${j.value})` : `url(#bearish_gradient_${j.value})` : ee ? F.value.style.layout.candle.colors.bullish : F.value.style.layout.candle.colors.bearish}"/></svg>${oe}</div>`, n += `${u} : <b>${isNaN(l) ? "-" : Number(l.toFixed(F.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, n += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${F.value.style.tooltip.borderColor}">`;
799
- let se = o({
798
+ fill="${F.value.style.layout.candle.gradient.show ? ee ? `url(#bullish_gradient_${j.value})` : `url(#bearish_gradient_${j.value})` : ee ? F.value.style.layout.candle.colors.bullish : F.value.style.layout.candle.colors.bearish}"/></svg>${ae}</div>`, n += `${ie} : <b>${isNaN(l) ? "-" : Number(l.toFixed(F.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, n += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${F.value.style.tooltip.borderColor}">`;
799
+ let oe = s({
800
800
  p: F.value.style.tooltip.prefix,
801
801
  v: i.value,
802
802
  s: F.value.style.tooltip.suffix,
803
803
  r: F.value.style.tooltip.roundingValue
804
- }), ce = o({
804
+ }), se = s({
805
805
  p: F.value.style.tooltip.prefix,
806
806
  v: a.value,
807
807
  s: F.value.style.tooltip.suffix,
808
808
  r: F.value.style.tooltip.roundingValue
809
- }), le = o({
809
+ }), ce = s({
810
810
  p: F.value.style.tooltip.prefix,
811
- v: s.value,
811
+ v: o.value,
812
812
  s: F.value.style.tooltip.suffix,
813
813
  r: F.value.style.tooltip.roundingValue
814
- }), ue = o({
814
+ }), le = s({
815
815
  p: F.value.style.tooltip.prefix,
816
816
  v: c.value,
817
817
  s: F.value.style.tooltip.suffix,
@@ -824,20 +824,20 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
824
824
  ${t.isBullish ? `
825
825
  <line x1="45" x2="50" y1="65" y2="65" stroke="${F.value.style.layout.candle.colors.bullish}" stroke-width="1.5" stroke-linecap="round" />
826
826
  <line x1="50" x2="55" y1="35" y2="35" stroke="${F.value.style.layout.candle.colors.bullish}" stroke-width="1.5" stroke-linecap="round" />
827
- <text x="38" y="70" text-anchor="end" fill="${F.value.style.tooltip.color}">${se}</text>
828
- <text x="62" y="40" text-anchor="start" fill="${F.value.style.tooltip.color}">${ue}</text>
827
+ <text x="38" y="70" text-anchor="end" fill="${F.value.style.tooltip.color}">${oe}</text>
828
+ <text x="62" y="40" text-anchor="start" fill="${F.value.style.tooltip.color}">${le}</text>
829
829
  ` : `
830
830
  <line x1="45" x2="50" y1="35" y2="35" stroke="${F.value.style.layout.candle.colors.bearish}" stroke-width="1.5" stroke-linecap="round" />
831
831
  <line x1="50" x2="55" y1="65" y2="65" stroke="${F.value.style.layout.candle.colors.bearish}" stroke-width="1.5" stroke-linecap="round" />
832
- <text x="40" y="40" text-anchor="end" fill="${F.value.style.tooltip.color}">${se}</text>
833
- <text x="60" y="70" text-anchor="start" fill="${F.value.style.tooltip.color}">${ue}</text>
832
+ <text x="40" y="40" text-anchor="end" fill="${F.value.style.tooltip.color}">${oe}</text>
833
+ <text x="60" y="70" text-anchor="start" fill="${F.value.style.tooltip.color}">${le}</text>
834
834
  `}
835
- <text x="50" y="13" text-anchor="middle" fill="${F.value.style.tooltip.color}">${ce}</text>
836
- <text x="50" y="97" text-anchor="middle" fill="${F.value.style.tooltip.color}">${le}</text>
835
+ <text x="50" y="13" text-anchor="middle" fill="${F.value.style.tooltip.color}">${se}</text>
836
+ <text x="50" y="97" text-anchor="middle" fill="${F.value.style.tooltip.color}">${ce}</text>
837
837
  <g>
838
838
  </svg>
839
839
  <div>
840
- ` : (n += `<div>${ne}: <b>${se}</b></div>`, n += `<div>${re}: <b>${ce}</b></div>`, n += `<div>${ie}: <b>${le}</b></div>`, n += `<div>${ae}: <b>${ue}</b></div>`), n += "</div>", zt.value = `<div style="text-align:right">${n}</div>`;
840
+ ` : (n += `<div>${te}: <b>${oe}</b></div>`, n += `<div>${ne}: <b>${se}</b></div>`, n += `<div>${re}: <b>${ce}</b></div>`, n += `<div>${d}: <b>${le}</b></div>`), n += "</div>", zt.value = `<div style="text-align:right">${n}</div>`;
841
841
  }
842
842
  Rt.value = !0;
843
843
  }
@@ -849,7 +849,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
849
849
  tr.value && cancelAnimationFrame(tr.value);
850
850
  });
851
851
  async function rr() {
852
- sr(), await Ie(), tr.value && cancelAnimationFrame(tr.value), tr.value = requestAnimationFrame(async () => {
852
+ sr(), await Fe(), tr.value && cancelAnimationFrame(tr.value), tr.value = requestAnimationFrame(async () => {
853
853
  await nr(), sr();
854
854
  });
855
855
  }
@@ -872,8 +872,8 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
872
872
  return e > t ? t : e < 0 || e < K.value.start ? F.value.style.zoom.startIndex === null ? 1 : F.value.style.zoom.startIndex + 1 : e;
873
873
  }
874
874
  function lr(e = null) {
875
- Ie(() => {
876
- let n = [
875
+ Fe(() => {
876
+ let r = [
877
877
  F.value.translations.period,
878
878
  F.value.translations.open,
879
879
  F.value.translations.high,
@@ -895,32 +895,32 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
895
895
  [""],
896
896
  [""]
897
897
  ],
898
- n
899
- ].concat(i), o = r(a);
898
+ r
899
+ ].concat(i), o = n(a);
900
900
  e ? e(o) : t({
901
901
  csvContent: o,
902
902
  title: F.value.style.title.text || "vue-ui-candlestick"
903
903
  });
904
904
  });
905
905
  }
906
- let ur = f(() => {
906
+ let ur = p(() => {
907
907
  let e = Z.value.map((e, t) => {
908
- let n = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? Q.value?.[t]?.text ?? "" : e.period, r = o({
908
+ let n = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? Q.value?.[t]?.text ?? "" : e.period, r = s({
909
909
  p: F.value.table.td.prefix,
910
910
  v: e.open.value,
911
911
  s: F.value.table.td.suffix,
912
912
  r: F.value.table.td.roundingValue
913
- }), i = o({
913
+ }), i = s({
914
914
  p: F.value.table.td.prefix,
915
915
  v: e.high.value,
916
916
  s: F.value.table.td.suffix,
917
917
  r: F.value.table.td.roundingValue
918
- }), a = o({
918
+ }), a = s({
919
919
  p: F.value.table.td.prefix,
920
920
  v: e.low.value,
921
921
  s: F.value.table.td.suffix,
922
922
  r: F.value.table.td.roundingValue
923
- }), s = o({
923
+ }), o = s({
924
924
  p: F.value.table.td.prefix,
925
925
  v: e.close.value,
926
926
  s: F.value.table.td.suffix,
@@ -931,30 +931,30 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
931
931
  r,
932
932
  i,
933
933
  a,
934
- s,
934
+ o,
935
935
  `${isNaN(e.volume) ? "-" : e.volume.toLocaleString()}`
936
936
  ];
937
937
  }), t = Z.value.map((e, t) => [
938
938
  F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? Q.value?.[t]?.text ?? "" : e.period,
939
- o({
939
+ s({
940
940
  p: F.value.table.td.prefix,
941
941
  v: e.open.value,
942
942
  s: F.value.table.td.suffix,
943
943
  r: F.value.table.td.roundingValue
944
944
  }),
945
- o({
945
+ s({
946
946
  p: F.value.table.td.prefix,
947
947
  v: e.high.value,
948
948
  s: F.value.table.td.suffix,
949
949
  r: F.value.table.td.roundingValue
950
950
  }),
951
- o({
951
+ s({
952
952
  p: F.value.table.td.prefix,
953
953
  v: e.low.value,
954
954
  s: F.value.table.td.suffix,
955
955
  r: F.value.table.td.roundingValue
956
956
  }),
957
- o({
957
+ s({
958
958
  p: F.value.table.td.prefix,
959
959
  v: e.close.value,
960
960
  s: F.value.table.td.suffix,
@@ -1004,7 +1004,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1004
1004
  }
1005
1005
  async function gr({ scale: e = 2 } = {}) {
1006
1006
  if (!N.value) return;
1007
- let { imageUri: t, base64: n } = await xe({
1007
+ let { imageUri: t, base64: n } = await be({
1008
1008
  domElement: N.value,
1009
1009
  base64: !0,
1010
1010
  img: !0,
@@ -1013,7 +1013,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1013
1013
  width: r.width,
1014
1014
  height: r.height,
1015
1015
  aspectRatio: r.height ? r.width / r.height : 0
1016
- }, a = await te(t, e) ?? i;
1016
+ }, a = await ne(t, e) ?? i;
1017
1017
  return {
1018
1018
  imageUri: t,
1019
1019
  base64: n,
@@ -1021,8 +1021,8 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1021
1021
  ...a
1022
1022
  };
1023
1023
  }
1024
- let _r = f(() => z.value.width), vr = f(() => z.value.height);
1025
- be({
1024
+ let _r = p(() => z.value.width), vr = p(() => z.value.height);
1025
+ ye({
1026
1026
  timeLabelsEls: Xt,
1027
1027
  timeLabels: Q,
1028
1028
  slicer: K,
@@ -1054,7 +1054,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1054
1054
  showTooltip: F.value.style.tooltip.show
1055
1055
  };
1056
1056
  }, { immediate: !0 });
1057
- let yr = f(() => {
1057
+ let yr = p(() => {
1058
1058
  let e = F.value.table.useDialog && !F.value.table.show, t = H.value.showTable;
1059
1059
  return {
1060
1060
  component: e ? jt : Et,
@@ -1091,7 +1091,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1091
1091
  function br() {
1092
1092
  H.value.showTable = !1, Qt.value && Qt.value.setTableIconState(!1);
1093
1093
  }
1094
- let xr = f(() => F.value.style.backgroundColor), Sr = f(() => F.value.style.title), { isCallbackImaging: Cr, isCallbackSvg: wr, generateSvg: Tr, onGenerateImage: Er } = ve({
1094
+ let xr = p(() => F.value.style.backgroundColor), Sr = p(() => F.value.style.title), { isCallbackImaging: Cr, isCallbackSvg: wr, generateSvg: Tr, onGenerateImage: Er } = _e({
1095
1095
  svg: R,
1096
1096
  title: Sr,
1097
1097
  legend: null,
@@ -1166,11 +1166,11 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1166
1166
  y: r.top + n / z.value.height * r.height
1167
1167
  };
1168
1168
  }
1169
- let Ir = f(() => ({
1169
+ let Ir = p(() => ({
1170
1170
  headers: ur.value?.colNames ?? [],
1171
1171
  rows: ur.value?.bodyA11y ?? []
1172
1172
  }));
1173
- return Ce({
1173
+ return Se({
1174
1174
  getImage: gr,
1175
1175
  generatePdf: vn,
1176
1176
  generateCsv: lr,
@@ -1181,20 +1181,20 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1181
1181
  toggleAnnotator: hr,
1182
1182
  toggleFullscreen: dr,
1183
1183
  copyAlt: jr
1184
- }), (e, t) => (S(), h("div", {
1184
+ }), (e, t) => (S(), g("div", {
1185
1185
  ref_key: "candlestickChart",
1186
1186
  ref: N,
1187
- class: y(`vue-data-ui-component vue-ui-candlestick ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1188
- style: x(`position:relative;font-family:${F.value.style.fontFamily}; text-align:center;background:${F.value.style.backgroundColor}; ${F.value.responsive ? "height: 100%" : ""}`),
1187
+ class: b(`vue-data-ui-component vue-ui-candlestick ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1188
+ style: Ie(`position:relative;font-family:${F.value.style.fontFamily}; text-align:center;background:${F.value.style.backgroundColor}; ${F.value.responsive ? "height: 100%" : ""}`),
1189
1189
  id: `vue-ui-candlestick_${j.value}`,
1190
1190
  onMouseenter: dn,
1191
1191
  onMouseleave: fn
1192
1192
  }, [
1193
- g("div", {
1193
+ _("div", {
1194
1194
  id: `chart-instructions-${j.value}`,
1195
1195
  class: "sr-only"
1196
- }, [g("p", null, E(F.value.a11y.translations.keyboardNavigation), 1)], 8, Ke),
1197
- Ir.value?.rows?.length ? (S(), p(Oe, {
1196
+ }, [_("p", null, E(F.value.a11y.translations.keyboardNavigation), 1)], 8, Ke),
1197
+ Ir.value?.rows?.length ? (S(), m(De, {
1198
1198
  key: 0,
1199
1199
  uid: j.value,
1200
1200
  head: Ir.value.headers,
@@ -1207,8 +1207,8 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1207
1207
  "body",
1208
1208
  "notice",
1209
1209
  "caption"
1210
- ])) : m("", !0),
1211
- F.value.userOptions.buttons.annotator ? (S(), p(D(Ot), {
1210
+ ])) : h("", !0),
1211
+ F.value.userOptions.buttons.annotator ? (S(), m(D(Ot), {
1212
1212
  key: 1,
1213
1213
  svgRef: D(R),
1214
1214
  backgroundColor: F.value.style.backgroundColor,
@@ -1218,11 +1218,11 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1218
1218
  onClose: hr
1219
1219
  }, {
1220
1220
  "annotator-action-close": O(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1221
- "annotator-action-color": O(({ color: t }) => [T(e.$slots, "annotator-action-color", b(v({ color: t })), void 0, !0)]),
1222
- "annotator-action-draw": O(({ mode: t }) => [T(e.$slots, "annotator-action-draw", b(v({ mode: t })), void 0, !0)]),
1223
- "annotator-action-undo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-undo", b(v({ disabled: t })), void 0, !0)]),
1224
- "annotator-action-redo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-redo", b(v({ disabled: t })), void 0, !0)]),
1225
- "annotator-action-delete": O(({ disabled: t }) => [T(e.$slots, "annotator-action-delete", b(v({ disabled: t })), void 0, !0)]),
1221
+ "annotator-action-color": O(({ color: t }) => [T(e.$slots, "annotator-action-color", x(y({ color: t })), void 0, !0)]),
1222
+ "annotator-action-draw": O(({ mode: t }) => [T(e.$slots, "annotator-action-draw", x(y({ mode: t })), void 0, !0)]),
1223
+ "annotator-action-undo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-undo", x(y({ disabled: t })), void 0, !0)]),
1224
+ "annotator-action-redo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-redo", x(y({ disabled: t })), void 0, !0)]),
1225
+ "annotator-action-delete": O(({ disabled: t }) => [T(e.$slots, "annotator-action-delete", x(y({ disabled: t })), void 0, !0)]),
1226
1226
  _: 3
1227
1227
  }, 8, [
1228
1228
  "svgRef",
@@ -1230,20 +1230,20 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1230
1230
  "color",
1231
1231
  "active",
1232
1232
  "isCursorPointer"
1233
- ])) : m("", !0),
1234
- bn.value ? (S(), h("div", {
1233
+ ])) : h("", !0),
1234
+ bn.value ? (S(), g("div", {
1235
1235
  key: 2,
1236
1236
  ref_key: "noTitle",
1237
1237
  ref: Gt,
1238
1238
  class: "vue-data-ui-no-title-space",
1239
1239
  style: "height:36px; width: 100%;background:transparent"
1240
- }, null, 512)) : m("", !0),
1241
- F.value.style.title.text ? (S(), h("div", {
1240
+ }, null, 512)) : h("", !0),
1241
+ F.value.style.title.text ? (S(), g("div", {
1242
1242
  key: 3,
1243
1243
  ref_key: "chartTitle",
1244
1244
  ref: Vt,
1245
1245
  style: "width:100%;background:transparent"
1246
- }, [(S(), p(Se, {
1246
+ }, [(S(), m(xe, {
1247
1247
  key: `title_${Jt.value}`,
1248
1248
  config: {
1249
1249
  title: {
@@ -1255,8 +1255,8 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1255
1255
  ...F.value.style.title.subtitle
1256
1256
  }
1257
1257
  }
1258
- }, null, 8, ["config"]))], 512)) : m("", !0),
1259
- F.value.userOptions.show && It.value && (D(un) || D(cn)) ? (S(), p(D(kt), {
1258
+ }, null, 8, ["config"]))], 512)) : h("", !0),
1259
+ F.value.userOptions.show && It.value && (D(un) || D(cn)) ? (S(), m(D(kt), {
1260
1260
  ref_key: "userOptionsRef",
1261
1261
  ref: Qt,
1262
1262
  key: `user_options_${Bt.value}`,
@@ -1293,11 +1293,11 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1293
1293
  onToggleTooltip: pr,
1294
1294
  onToggleAnnotator: hr,
1295
1295
  onCopyAlt: jr,
1296
- style: x({ visibility: D(un) ? D(cn) ? "visible" : "hidden" : "visible" })
1297
- }, Me({ _: 2 }, [
1296
+ style: Ie({ visibility: D(un) ? D(cn) ? "visible" : "hidden" : "visible" })
1297
+ }, je({ _: 2 }, [
1298
1298
  e.$slots.menuIcon ? {
1299
1299
  name: "menuIcon",
1300
- fn: O(({ isOpen: t, color: n }) => [T(e.$slots, "menuIcon", b(v({
1300
+ fn: O(({ isOpen: t, color: n }) => [T(e.$slots, "menuIcon", x(y({
1301
1301
  isOpen: t,
1302
1302
  color: n
1303
1303
  })), void 0, !0)]),
@@ -1335,7 +1335,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1335
1335
  } : void 0,
1336
1336
  e.$slots.optionFullscreen ? {
1337
1337
  name: "optionFullscreen",
1338
- fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [T(e.$slots, "optionFullscreen", b(v({
1338
+ fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [T(e.$slots, "optionFullscreen", x(y({
1339
1339
  toggleFullscreen: t,
1340
1340
  isFullscreen: n
1341
1341
  })), void 0, !0)]),
@@ -1343,7 +1343,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1343
1343
  } : void 0,
1344
1344
  e.$slots.optionAnnotator ? {
1345
1345
  name: "optionAnnotator",
1346
- fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [T(e.$slots, "optionAnnotator", b(v({
1346
+ fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [T(e.$slots, "optionAnnotator", x(y({
1347
1347
  toggleAnnotator: t,
1348
1348
  isAnnotator: n
1349
1349
  })), void 0, !0)]),
@@ -1351,7 +1351,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1351
1351
  } : void 0,
1352
1352
  e.$slots.optionAltCopy ? {
1353
1353
  name: "optionAltCopy",
1354
- fn: O(({ altCopy: t }) => [T(e.$slots, "optionAltCopy", b(v({ altCopy: t })), void 0, !0)]),
1354
+ fn: O(({ altCopy: t }) => [T(e.$slots, "optionAltCopy", x(y({ altCopy: t })), void 0, !0)]),
1355
1355
  key: "9"
1356
1356
  } : void 0,
1357
1357
  e.$slots["custom-menu-before"] ? {
@@ -1364,35 +1364,35 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1364
1364
  fn: O(() => [T(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1365
1365
  key: "11"
1366
1366
  } : void 0
1367
- ]), 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("."))) : m("", !0),
1368
- g("div", qe, [(S(), h("svg", {
1367
+ ]), 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("."))) : h("", !0),
1368
+ _("div", qe, [(S(), g("svg", {
1369
1369
  ref_key: "svgRef",
1370
1370
  ref: R,
1371
1371
  xmlns: D(ae),
1372
1372
  "aria-describedby": `chart-instructions-${j.value}`,
1373
- class: y({
1373
+ class: b({
1374
1374
  "vue-data-ui-fullscreen--on": $.value,
1375
1375
  "vue-data-ui-fulscreen--off": !$.value,
1376
1376
  "vue-data-ui-no-transition": !D(rn)
1377
1377
  }),
1378
1378
  viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
1379
- style: x(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.color}`),
1379
+ style: Ie(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.color}`),
1380
1380
  tabindex: "0",
1381
1381
  onFocus: Mr,
1382
1382
  onBlur: Nr,
1383
1383
  onKeydown: Pr
1384
1384
  }, [
1385
- Pe(D(At)),
1386
- e.$slots["chart-background"] ? (S(), h("foreignObject", {
1385
+ Ne(D(At)),
1386
+ e.$slots["chart-background"] ? (S(), g("foreignObject", {
1387
1387
  key: 0,
1388
1388
  x: W.value.left,
1389
1389
  y: W.value.top,
1390
1390
  width: Math.max(.1, W.value.width),
1391
1391
  height: Math.max(.1, W.value.height),
1392
1392
  style: { pointerEvents: "none" }
1393
- }, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, Ye)) : m("", !0),
1394
- Z.value.length > 0 ? (S(), h("g", Xe, [
1395
- g("defs", null, [Pe(Ee, {
1393
+ }, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, Ye)) : h("", !0),
1394
+ Z.value.length > 0 ? (S(), g("g", Xe, [
1395
+ _("defs", null, [Ne(Te, {
1396
1396
  t: "linear",
1397
1397
  id: `bearish_gradient_${j.value}`,
1398
1398
  x2: "0%",
@@ -1405,16 +1405,16 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1405
1405
  ],
1406
1406
  [
1407
1407
  "50%",
1408
- D(a)(F.value.style.layout.candle.colors.bearish, .02),
1408
+ D(o)(F.value.style.layout.candle.colors.bearish, .02),
1409
1409
  .87
1410
1410
  ],
1411
1411
  [
1412
1412
  "100%",
1413
- D(a)(F.value.style.layout.candle.colors.bearish, .05),
1413
+ D(o)(F.value.style.layout.candle.colors.bearish, .05),
1414
1414
  .4
1415
1415
  ]
1416
1416
  ]
1417
- }, null, 8, ["id", "stops"]), Pe(Ee, {
1417
+ }, null, 8, ["id", "stops"]), Ne(Te, {
1418
1418
  t: "linear",
1419
1419
  id: `bullish_gradient_${j.value}`,
1420
1420
  x2: "0%",
@@ -1427,18 +1427,18 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1427
1427
  ],
1428
1428
  [
1429
1429
  "50%",
1430
- D(a)(F.value.style.layout.candle.colors.bullish, .02),
1430
+ D(o)(F.value.style.layout.candle.colors.bullish, .02),
1431
1431
  .87
1432
1432
  ],
1433
1433
  [
1434
1434
  "100%",
1435
- D(a)(F.value.style.layout.candle.colors.bullish, .05),
1435
+ D(o)(F.value.style.layout.candle.colors.bullish, .05),
1436
1436
  .4
1437
1437
  ]
1438
1438
  ]
1439
1439
  }, null, 8, ["id", "stops"])]),
1440
- F.value.style.layout.grid.show ? (S(), h("g", Ze, [
1441
- g("line", {
1440
+ F.value.style.layout.grid.show ? (S(), g("g", Ze, [
1441
+ _("line", {
1442
1442
  x1: U.value ? W.value.right : W.value.left,
1443
1443
  x2: U.value ? W.value.right : W.value.left,
1444
1444
  y1: W.value.top,
@@ -1447,7 +1447,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1447
1447
  "stroke-width": F.value.style.layout.grid.strokeWidth,
1448
1448
  "stroke-linecap": "round"
1449
1449
  }, null, 8, Qe),
1450
- g("line", {
1450
+ _("line", {
1451
1451
  x1: W.value.left,
1452
1452
  x2: W.value.right,
1453
1453
  y1: W.value.bottom,
@@ -1456,7 +1456,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1456
1456
  "stroke-width": F.value.style.layout.grid.strokeWidth,
1457
1457
  "stroke-linecap": "round"
1458
1458
  }, null, 8, $e),
1459
- F.value.style.layout.grid.horizontalLines.show ? (S(!0), h(d, { key: 0 }, w(Rn.value, (e) => (S(), h("line", {
1459
+ F.value.style.layout.grid.horizontalLines.show ? (S(!0), g(f, { key: 0 }, w(Rn.value, (e) => (S(), g("line", {
1460
1460
  x1: W.value.left,
1461
1461
  x2: W.value.right,
1462
1462
  y1: e.y,
@@ -1465,8 +1465,8 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1465
1465
  "stroke-width": F.value.style.layout.grid.horizontalLines.strokeWidth,
1466
1466
  "stroke-dasharray": F.value.style.layout.grid.horizontalLines.strokeDasharray,
1467
1467
  "stroke-linecap": "round"
1468
- }, null, 8, et))), 256)) : m("", !0),
1469
- F.value.style.layout.grid.verticalLines.show ? (S(!0), h(d, { key: 1 }, w(Yn.value, (e, t) => (S(), h("g", null, [e.text ? (S(), h("line", {
1468
+ }, null, 8, et))), 256)) : h("", !0),
1469
+ F.value.style.layout.grid.verticalLines.show ? (S(!0), g(f, { key: 1 }, w(Yn.value, (e, t) => (S(), g("g", null, [e.text ? (S(), g("line", {
1470
1470
  key: 0,
1471
1471
  x1: W.value.left + Y.value * t + Y.value / 2,
1472
1472
  x2: W.value.left + Y.value * t + Y.value / 2,
@@ -1476,8 +1476,8 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1476
1476
  "stroke-width": F.value.style.layout.grid.verticalLines.strokeWidth,
1477
1477
  "stroke-dasharray": F.value.style.layout.grid.verticalLines.strokeDasharray,
1478
1478
  "stroke-linecap": "round"
1479
- }, null, 8, tt)) : m("", !0)]))), 256)) : m("", !0),
1480
- F.value.style.layout.grid.xAxis.ticks.show ? (S(!0), h(d, { key: 2 }, w(Yn.value, (e, t) => (S(), h("g", null, [e.text ? (S(), h("line", {
1479
+ }, null, 8, tt)) : h("", !0)]))), 256)) : h("", !0),
1480
+ F.value.style.layout.grid.xAxis.ticks.show ? (S(!0), g(f, { key: 2 }, w(Yn.value, (e, t) => (S(), g("g", null, [e.text ? (S(), g("line", {
1481
1481
  key: 0,
1482
1482
  x1: W.value.left + Y.value * t + Y.value / 2,
1483
1483
  x2: W.value.left + Y.value * t + Y.value / 2,
@@ -1486,13 +1486,13 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1486
1486
  stroke: F.value.style.layout.grid.stroke,
1487
1487
  "stroke-width": F.value.style.layout.grid.strokeWidth,
1488
1488
  "stroke-linecap": "round"
1489
- }, null, 8, nt)) : m("", !0)]))), 256)) : m("", !0)
1490
- ])) : m("", !0),
1491
- F.value.style.layout.grid.yAxis.dataLabels.show ? (S(), h("g", {
1489
+ }, null, 8, nt)) : h("", !0)]))), 256)) : h("", !0)
1490
+ ])) : h("", !0),
1491
+ F.value.style.layout.grid.yAxis.dataLabels.show ? (S(), g("g", {
1492
1492
  key: 1,
1493
1493
  ref_key: "scaleLabels",
1494
1494
  ref: Yt
1495
- }, [(S(!0), h(d, null, w(Rn.value, (e, t) => (S(), h("g", { key: `sl_${t}` }, [e.value >= X.value.min && e.value <= X.value.max ? (S(), h("line", {
1495
+ }, [(S(!0), g(f, null, w(Rn.value, (e, t) => (S(), g("g", { key: `sl_${t}` }, [e.value >= X.value.min && e.value <= X.value.max ? (S(), g("line", {
1496
1496
  key: 0,
1497
1497
  x1: U.value ? W.value.right : W.value.left,
1498
1498
  x2: U.value ? W.value.right + 5 : W.value.left - 5,
@@ -1501,46 +1501,46 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1501
1501
  stroke: F.value.style.layout.grid.stroke,
1502
1502
  "stroke-width": F.value.style.layout.grid.strokeWidth,
1503
1503
  "stroke-linecap": "round"
1504
- }, null, 8, rt)) : m("", !0), e.value >= X.value.min && e.value <= X.value.max ? (S(), h("text", {
1504
+ }, null, 8, rt)) : h("", !0), e.value >= X.value.min && e.value <= X.value.max ? (S(), g("text", {
1505
1505
  key: 1,
1506
- class: y({ "vue-data-ui-transition": D(rn) }),
1506
+ class: b({ "vue-data-ui-transition": D(rn) }),
1507
1507
  transform: `translate(${U.value ? W.value.right + 8 + F.value.style.layout.grid.yAxis.dataLabels.offsetX : W.value.left - 8 + F.value.style.layout.grid.yAxis.dataLabels.offsetX}, ${e.y + z.value.yAxisFontSize / 3})`,
1508
1508
  "text-anchor": U.value ? "start" : "end",
1509
1509
  "font-size": z.value.yAxisFontSize,
1510
1510
  fill: F.value.style.layout.grid.yAxis.dataLabels.color,
1511
1511
  "font-weight": F.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
1512
- }, E(D(o)({
1512
+ }, E(D(s)({
1513
1513
  p: F.value.style.layout.grid.yAxis.dataLabels.prefix,
1514
1514
  v: e.value,
1515
1515
  s: F.value.style.layout.grid.yAxis.dataLabels.suffix,
1516
1516
  r: F.value.style.layout.grid.yAxis.dataLabels.roundingValue
1517
- })), 11, it)) : m("", !0)]))), 128))], 512)) : m("", !0),
1518
- F.value.style.layout.grid.xAxis.dataLabels.show && !F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (S(), h("g", {
1517
+ })), 11, it)) : h("", !0)]))), 128))], 512)) : h("", !0),
1518
+ F.value.style.layout.grid.xAxis.dataLabels.show && !F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (S(), g("g", {
1519
1519
  key: 2,
1520
1520
  ref_key: "timeLabelsEls",
1521
1521
  ref: Xt
1522
- }, [(S(!0), h(d, null, w(zn.value, (e, t) => (S(), h("g", null, [g("text", {
1522
+ }, [(S(!0), g(f, null, w(zn.value, (e, t) => (S(), g("g", null, [_("text", {
1523
1523
  class: "vue-data-ui-time-label",
1524
1524
  transform: `translate(${W.value.left + Y.value * t + Y.value / 2}, ${W.value.bottom + z.value.xAxisFontSize * 1.5}), rotate(${F.value.style.layout.grid.xAxis.dataLabels.rotation})`,
1525
1525
  "text-anchor": F.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : F.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1526
1526
  "font-size": z.value.xAxisFontSize,
1527
1527
  fill: F.value.style.layout.grid.xAxis.dataLabels.color,
1528
1528
  "font-weight": F.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
1529
- }, E(e), 9, at)]))), 256))], 512)) : m("", !0),
1530
- F.value.style.layout.grid.xAxis.dataLabels.show && F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (S(), h("g", {
1529
+ }, E(e), 9, at)]))), 256))], 512)) : h("", !0),
1530
+ F.value.style.layout.grid.xAxis.dataLabels.show && F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (S(), g("g", {
1531
1531
  key: 3,
1532
1532
  ref_key: "timeLabelsEls",
1533
1533
  ref: Xt
1534
- }, [(S(!0), h(d, null, w(Yn.value, (e, t) => (S(), h("g", null, [g("text", {
1534
+ }, [(S(!0), g(f, null, w(Yn.value, (e, t) => (S(), g("g", null, [_("text", {
1535
1535
  class: "vue-data-ui-time-label",
1536
1536
  transform: `translate(${W.value.left + Y.value * t + Y.value / 2}, ${W.value.bottom + z.value.xAxisFontSize * 1.5}), rotate(${F.value.style.layout.grid.xAxis.dataLabels.rotation})`,
1537
1537
  "text-anchor": F.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : F.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1538
1538
  "font-size": z.value.xAxisFontSize,
1539
1539
  fill: F.value.style.layout.grid.xAxis.dataLabels.color,
1540
1540
  "font-weight": F.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
1541
- }, E(e?.text ?? ""), 9, ot)]))), 256))], 512)) : m("", !0),
1542
- F.value.type === "candlestick" ? (S(), h(d, { key: 4 }, [g("g", null, [(S(!0), h(d, null, w(Z.value, (e, t) => (S(), h("g", null, [
1543
- g("rect", {
1541
+ }, E(e?.text ?? ""), 9, ot)]))), 256))], 512)) : h("", !0),
1542
+ F.value.type === "candlestick" ? (S(), g(f, { key: 4 }, [_("g", null, [(S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("g", null, [
1543
+ _("rect", {
1544
1544
  x: e.open.x - F.value.style.layout.wick.strokeWidth / 2,
1545
1545
  y: e.high.y,
1546
1546
  width: F.value.style.layout.wick.strokeWidth,
@@ -1548,22 +1548,22 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1548
1548
  fill: F.value.style.layout.wick.stroke,
1549
1549
  stroke: "none",
1550
1550
  rx: F.value.style.layout.wick.strokeWidth / 2,
1551
- class: y({ "vue-data-ui-transition": A.value && !D(I) })
1551
+ class: b({ "vue-data-ui-transition": A.value && !D(I) })
1552
1552
  }, null, 10, st),
1553
- F.value.style.layout.wick.extremity.shape === "circle" ? (S(), h("g", ct, [g("circle", {
1553
+ F.value.style.layout.wick.extremity.shape === "circle" ? (S(), g("g", ct, [_("circle", {
1554
1554
  cx: e.high.x,
1555
1555
  cy: e.high.y,
1556
1556
  r: F.value.style.layout.wick.extremity.size === "auto" ? Y.value / 20 : F.value.style.layout.wick.extremity.size,
1557
1557
  fill: F.value.style.layout.wick.extremity.color,
1558
- class: y({ "vue-data-ui-transition": A.value && !D(I) })
1559
- }, null, 10, lt), g("circle", {
1558
+ class: b({ "vue-data-ui-transition": A.value && !D(I) })
1559
+ }, null, 10, lt), _("circle", {
1560
1560
  cx: e.low.x,
1561
1561
  cy: e.low.y,
1562
1562
  r: F.value.style.layout.wick.extremity.size === "auto" ? Y.value / 20 : F.value.style.layout.wick.extremity.size,
1563
1563
  fill: F.value.style.layout.wick.extremity.color,
1564
- class: y({ "vue-data-ui-transition": A.value && !D(I) })
1565
- }, null, 10, ut)])) : m("", !0),
1566
- F.value.style.layout.wick.extremity.shape === "line" ? (S(), h("g", dt, [g("rect", {
1564
+ class: b({ "vue-data-ui-transition": A.value && !D(I) })
1565
+ }, null, 10, ut)])) : h("", !0),
1566
+ F.value.style.layout.wick.extremity.shape === "line" ? (S(), g("g", dt, [_("rect", {
1567
1567
  x: e.high.x - (F.value.style.layout.wick.extremity.size === "auto" ? Y.value * F.value.style.layout.candle.widthRatio : F.value.style.layout.wick.extremity.size) / 2,
1568
1568
  y: e.high.y - F.value.style.layout.wick.strokeWidth / 2,
1569
1569
  width: Math.abs(e.high.x - (F.value.style.layout.wick.extremity.size === "auto" ? Y.value * F.value.style.layout.candle.widthRatio : F.value.style.layout.wick.extremity.size) / 2 - (e.high.x + (F.value.style.layout.wick.extremity.size === "auto" ? Y.value * F.value.style.layout.candle.widthRatio : F.value.style.layout.wick.extremity.size) / 2)),
@@ -1571,8 +1571,8 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1571
1571
  rx: F.value.style.layout.wick.strokeWidth / 2,
1572
1572
  fill: F.value.style.layout.wick.extremity.color,
1573
1573
  stroke: "none",
1574
- class: y({ "vue-data-ui-transition": A.value && !D(I) })
1575
- }, null, 10, ft), g("rect", {
1574
+ class: b({ "vue-data-ui-transition": A.value && !D(I) })
1575
+ }, null, 10, ft), _("rect", {
1576
1576
  x: e.low.x - (F.value.style.layout.wick.extremity.size === "auto" ? Y.value * F.value.style.layout.candle.widthRatio : F.value.style.layout.wick.extremity.size) / 2,
1577
1577
  y: e.low.y - F.value.style.layout.wick.strokeWidth / 2,
1578
1578
  width: Math.abs(e.low.x - (F.value.style.layout.wick.extremity.size === "auto" ? Y.value * F.value.style.layout.candle.widthRatio : F.value.style.layout.wick.extremity.size) / 2 - (e.low.x + (F.value.style.layout.wick.extremity.size === "auto" ? Y.value * F.value.style.layout.candle.widthRatio : F.value.style.layout.wick.extremity.size) / 2)),
@@ -1580,9 +1580,9 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1580
1580
  fill: F.value.style.layout.wick.extremity.color,
1581
1581
  stroke: "none",
1582
1582
  rx: F.value.style.layout.wick.strokeWidth / 2,
1583
- class: y({ "vue-data-ui-transition": A.value && !D(I) })
1584
- }, null, 10, pt)])) : m("", !0)
1585
- ]))), 256))]), g("g", null, [(S(!0), h(d, null, w(Z.value, (e, t) => (S(), h("rect", {
1583
+ class: b({ "vue-data-ui-transition": A.value && !D(I) })
1584
+ }, null, 10, pt)])) : h("", !0)
1585
+ ]))), 256))]), _("g", null, [(S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("rect", {
1586
1586
  x: e.open.x - Y.value / 2 + Y.value * (1 - F.value.style.layout.candle.widthRatio) / 2,
1587
1587
  y: e.isBullish ? e.close.y : e.open.y,
1588
1588
  height: Math.abs(e.close.y - e.open.y) <= 0 ? 1e-4 : Math.abs(e.close.y - e.open.y),
@@ -1590,8 +1590,8 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1590
1590
  fill: F.value.style.layout.candle.gradient.underlayer,
1591
1591
  rx: F.value.style.layout.candle.borderRadius,
1592
1592
  stroke: "none",
1593
- class: y({ "vue-data-ui-transition": A.value && !D(I) })
1594
- }, null, 10, mt))), 256)), (S(!0), h(d, null, w(Z.value, (e, t) => (S(), h("rect", {
1593
+ class: b({ "vue-data-ui-transition": A.value && !D(I) })
1594
+ }, null, 10, mt))), 256)), (S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("rect", {
1595
1595
  x: e.open.x - Y.value / 2 + Y.value * (1 - F.value.style.layout.candle.widthRatio) / 2,
1596
1596
  y: e.isBullish ? e.close.y : e.open.y,
1597
1597
  height: Math.abs(e.close.y - e.open.y) <= 0 ? 1e-4 : Math.abs(e.close.y - e.open.y),
@@ -1602,31 +1602,31 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1602
1602
  "stroke-width": F.value.style.layout.candle.strokeWidth,
1603
1603
  "stroke-linecap": "round",
1604
1604
  "stroke-linejoin": "round",
1605
- class: y({ "vue-data-ui-transition": A.value && !D(I) })
1606
- }, null, 10, ht))), 256))])], 64)) : m("", !0),
1607
- F.value.type === "ohlc" ? (S(!0), h(d, { key: 5 }, w(Z.value, (e, t) => (S(), h("g", { key: `ohlc_${e.absoluteIndex}` }, [g("path", {
1605
+ class: b({ "vue-data-ui-transition": A.value && !D(I) })
1606
+ }, null, 10, ht))), 256))])], 64)) : h("", !0),
1607
+ F.value.type === "ohlc" ? (S(!0), g(f, { key: 5 }, w(Z.value, (e, t) => (S(), g("g", { key: `ohlc_${e.absoluteIndex}` }, [_("path", {
1608
1608
  d: `M ${e.high.x},${e.high.y} ${e.low.x},${e.low.y} M${e.open.x - Math.min(6, Y.value / 3)},${e.open.y} ${e.open.x},${e.open.y} M${e.close.x},${e.close.y} ${e.close.x + Math.min(6, Y.value / 3)},${e.close.y}`,
1609
1609
  stroke: e.isBullish ? F.value.style.layout.candle.colors.bullish : F.value.style.layout.candle.colors.bearish,
1610
1610
  "stroke-width": 1,
1611
- class: y({ "vue-data-ui-transition": D(rn) }),
1611
+ class: b({ "vue-data-ui-transition": D(rn) }),
1612
1612
  "stroke-linecap": "round",
1613
1613
  "stroke-linejoin": "round"
1614
- }, null, 10, gt)]))), 128)) : m("", !0),
1615
- g("g", null, [(S(!0), h(d, null, w(Z.value, (e, t) => (S(), h("rect", {
1614
+ }, null, 10, gt)]))), 128)) : h("", !0),
1615
+ _("g", null, [(S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("rect", {
1616
1616
  x: W.value.left + t * Y.value,
1617
1617
  y: W.value.top,
1618
1618
  height: W.value.height <= 0 ? 1e-4 : W.value.height,
1619
1619
  width: Y.value <= 0 ? 1e-4 : Y.value,
1620
- fill: M.value === t || $t.value === t ? D(n)(F.value.style.layout.selector.color, F.value.style.layout.selector.opacity) : "transparent",
1620
+ fill: M.value === t || $t.value === t ? D(r)(F.value.style.layout.selector.color, F.value.style.layout.selector.opacity) : "transparent",
1621
1621
  onMouseover: () => er(t, e, "pointer"),
1622
1622
  onMouseleave: () => $n(t, e),
1623
1623
  onClick: () => Qn(t, e)
1624
1624
  }, null, 40, _t))), 256))])
1625
- ])) : m("", !0),
1626
- En.value ? (S(), h("rect", Fe({ key: 2 }, Tn.value, {
1625
+ ])) : h("", !0),
1626
+ En.value ? (S(), g("rect", Pe({ key: 2 }, Tn.value, {
1627
1627
  "data-start": K.value.start,
1628
1628
  "data-end": K.value.end
1629
- }), null, 16, vt)) : m("", !0),
1629
+ }), null, 16, vt)) : h("", !0),
1630
1630
  T(e.$slots, "svg", { svg: {
1631
1631
  ...z.value,
1632
1632
  data: Z.value,
@@ -1634,12 +1634,12 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1634
1634
  isPrintingImg: D(gn) || D(_n) || D(Cr),
1635
1635
  isPrintingSvg: D(wr)
1636
1636
  } }, void 0, !0)
1637
- ], 46, Je)), e.$slots.hint ? (S(), h("div", yt, [T(e.$slots, "hint", b(v({
1637
+ ], 46, Je)), e.$slots.hint ? (S(), g("div", yt, [T(e.$slots, "hint", x(y({
1638
1638
  hint: F.value.a11y.translations.keyboardNavigation,
1639
1639
  isVisible: nn.value
1640
- })), void 0, !0)])) : m("", !0)]),
1641
- e.$slots.watermark ? (S(), h("div", bt, [T(e.$slots, "watermark", b(v({ isPrinting: D(gn) || D(_n) || D(Cr) || D(wr) })), void 0, !0)])) : m("", !0),
1642
- F.value.style.zoom.show && G.value > 6 && It.value && ar.value ? (S(), p(De, {
1640
+ })), void 0, !0)])) : h("", !0)]),
1641
+ e.$slots.watermark ? (S(), g("div", bt, [T(e.$slots, "watermark", x(y({ isPrinting: D(gn) || D(_n) || D(Cr) || D(wr) })), void 0, !0)])) : h("", !0),
1642
+ F.value.style.zoom.show && G.value > 6 && It.value && ar.value ? (S(), m(Ee, {
1643
1643
  key: 6,
1644
1644
  ref_key: "chartSlicer",
1645
1645
  ref: Ut,
@@ -1704,34 +1704,34 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1704
1704
  onFutureEnd: t[0] ||= (e) => Dn("end", e),
1705
1705
  onFutureStart: t[1] ||= (e) => Dn("start", e)
1706
1706
  }, {
1707
- "reset-action": O(({ reset: t }) => [T(e.$slots, "reset-action", b(v({ reset: t })), void 0, !0)]),
1708
- slotMap: O(({ height: e, unitW: t }) => [(S(!0), h(d, null, w(Fn.value({
1707
+ "reset-action": O(({ reset: t }) => [T(e.$slots, "reset-action", x(y({ reset: t })), void 0, !0)]),
1708
+ slotMap: O(({ height: e, unitW: t }) => [(S(!0), g(f, null, w(Fn.value({
1709
1709
  minimapH: e,
1710
1710
  unitW: t
1711
- }), (e, n) => (S(), h("g", null, [g("path", {
1711
+ }), (e, n) => (S(), g("g", null, [_("path", {
1712
1712
  d: `M ${e.high.x},${e.high.y} ${e.low.x},${e.low.y}`,
1713
1713
  stroke: e.isBullish ? F.value.style.layout.candle.colors.bullish : F.value.style.layout.candle.colors.bearish,
1714
1714
  "stroke-width": 1,
1715
- style: x({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1716
- }, null, 12, xt), g("path", {
1715
+ style: Ie({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1716
+ }, null, 12, xt), _("path", {
1717
1717
  d: `M ${e.open.x},${e.open.y} ${e.close.x},${e.close.y}`,
1718
1718
  stroke: e.isBullish ? F.value.style.layout.candle.colors.bullish : F.value.style.layout.candle.colors.bearish,
1719
1719
  "stroke-width": Math.min(6, t / 1.5),
1720
- style: x({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1720
+ style: Ie({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1721
1721
  }, null, 12, St)]))), 256))]),
1722
1722
  _: 3
1723
- }, 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("."))) : m("", !0),
1724
- g("div", {
1723
+ }, 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("."))) : h("", !0),
1724
+ _("div", {
1725
1725
  ref_key: "chartLegend",
1726
1726
  ref: Ht
1727
1727
  }, [T(e.$slots, "legend", { legend: Z.value }, void 0, !0)], 512),
1728
- e.$slots.source ? (S(), h("div", {
1728
+ e.$slots.source ? (S(), g("div", {
1729
1729
  key: 7,
1730
1730
  ref_key: "source",
1731
1731
  ref: Wt,
1732
1732
  dir: "auto"
1733
- }, [T(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
1734
- Pe(D(Tt), {
1733
+ }, [T(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
1734
+ Ne(D(Tt), {
1735
1735
  teleportTo: F.value.style.tooltip.teleportTo,
1736
1736
  show: H.value.showTooltip && Rt.value,
1737
1737
  backgroundColor: F.value.style.tooltip.backgroundColor,
@@ -1755,9 +1755,9 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1755
1755
  isA11yMode: tn.value === "keyboard",
1756
1756
  a11yPosition: en.value
1757
1757
  }, {
1758
- "tooltip-before": O(() => [T(e.$slots, "tooltip-before", b(v({ ...Zn.value })), void 0, !0)]),
1759
- tooltip: O(() => [T(e.$slots, "tooltip", b(v({ ...Zn.value })), void 0, !0)]),
1760
- "tooltip-after": O(() => [T(e.$slots, "tooltip-after", b(v({ ...Zn.value })), void 0, !0)]),
1758
+ "tooltip-before": O(() => [T(e.$slots, "tooltip-before", x(y({ ...Zn.value })), void 0, !0)]),
1759
+ tooltip: O(() => [T(e.$slots, "tooltip", x(y({ ...Zn.value })), void 0, !0)]),
1760
+ "tooltip-after": O(() => [T(e.$slots, "tooltip-after", x(y({ ...Zn.value })), void 0, !0)]),
1761
1761
  _: 3
1762
1762
  }, 8, [
1763
1763
  "teleportTo",
@@ -1783,12 +1783,12 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1783
1783
  "isA11yMode",
1784
1784
  "a11yPosition"
1785
1785
  ]),
1786
- It.value && F.value.userOptions.buttons.table ? (S(), p(ze(yr.value.component), Fe({ key: 8 }, yr.value.props, {
1786
+ It.value && F.value.userOptions.buttons.table ? (S(), m(ze(yr.value.component), Pe({ key: 8 }, yr.value.props, {
1787
1787
  ref_key: "tableUnit",
1788
1788
  ref: Zt,
1789
1789
  onClose: br
1790
- }), Me({
1791
- content: O(() => [(S(), p(D(Dt), {
1790
+ }), je({
1791
+ content: O(() => [(S(), m(D(Dt), {
1792
1792
  key: `table_${qt.value}`,
1793
1793
  colNames: ur.value.colNames,
1794
1794
  head: ur.value.head,
@@ -1799,8 +1799,8 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1799
1799
  isCursorPointer: an.value,
1800
1800
  onClose: br
1801
1801
  }, {
1802
- th: O(({ th: e }) => [Ne(E(e), 1)]),
1803
- td: O(({ td: e }) => [g("div", { innerHTML: e }, null, 8, Ct)]),
1802
+ th: O(({ th: e }) => [Me(E(e), 1)]),
1803
+ td: O(({ td: e }) => [_("div", { innerHTML: e }, null, 8, Ct)]),
1804
1804
  _: 1
1805
1805
  }, 8, [
1806
1806
  "colNames",
@@ -1814,22 +1814,22 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1814
1814
  _: 2
1815
1815
  }, [F.value.table.useDialog ? {
1816
1816
  name: "title",
1817
- fn: O(() => [Ne(E(yr.value.title), 1)]),
1817
+ fn: O(() => [Me(E(yr.value.title), 1)]),
1818
1818
  key: "0"
1819
1819
  } : void 0, F.value.table.useDialog ? {
1820
1820
  name: "actions",
1821
- fn: O(() => [g("button", {
1821
+ fn: O(() => [_("button", {
1822
1822
  tabindex: "0",
1823
1823
  class: "vue-ui-user-options-button",
1824
1824
  onClick: t[2] ||= (e) => lr(F.value.userOptions.callbacks.csv),
1825
- style: x({ cursor: an.value ? "pointer" : "default" })
1826
- }, [Pe(D(wt), {
1825
+ style: Ie({ cursor: an.value ? "pointer" : "default" })
1826
+ }, [Ne(D(wt), {
1827
1827
  name: "fileCsv",
1828
1828
  stroke: yr.value.props.color
1829
1829
  }, null, 8, ["stroke"])], 4)]),
1830
1830
  key: "1"
1831
- } : void 0]), 1040)) : m("", !0),
1832
- T(e.$slots, "skeleton", {}, () => [D(I) ? (S(), p(he, { key: 0 })) : m("", !0)], !0)
1831
+ } : void 0]), 1040)) : h("", !0),
1832
+ T(e.$slots, "skeleton", {}, () => [D(I) ? (S(), m(me, { key: 0 })) : h("", !0)], !0)
1833
1833
  ], 46, Ge));
1834
1834
  }
1835
1835
  }, [["__scopeId", "data-v-3777144d"]]);