vue-data-ui 3.22.6 → 3.22.7

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 (191) hide show
  1. package/dist/{Arrow-Ds4xmpiQ.js → Arrow-DaGI9u-b.js} +1 -1
  2. package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-1wwwdwV2.js} +2 -2
  3. package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-_-BX7be3.js} +1 -1
  4. package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-CHnlKalt.js} +1 -1
  5. package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C9bdZSCj.js} +2 -2
  6. package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-TB3KhY3j.js} +2 -2
  7. package/dist/{DataTable-CXfvIulC.js → DataTable-CVF7DoZn.js} +2 -2
  8. package/dist/{Legend-D-635Kag.js → Legend-kAr7Vqqu.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-CEiv7_gM.js} +29 -29
  10. package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-Dse0n05o.js} +1 -1
  11. package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-gaV1QPpP.js} +18 -18
  12. package/dist/{Shape-BSetplwm.js → Shape-CiQIxyyT.js} +1 -1
  13. package/dist/{Slicer-ClIGOuoX.js → Slicer-6FOtg9py.js} +2 -2
  14. package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-DUywypFu.js} +4 -4
  15. package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-B-qsPj68.js} +1 -1
  16. package/dist/{Title-C-p0ilWB.js → Title-PiTKr6sp.js} +1 -1
  17. package/dist/{Tooltip-YabpoXo1.js → Tooltip-B8yYfISA.js} +1 -1
  18. package/dist/{UserOptions-BO4VFL8O.js → UserOptions-BL9VlHop.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-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-CVJfsfwL.js → dom-to-png-BZjYWNEg.js} +1 -1
  89. package/dist/exposedLib-Be0ifkti.js +19 -0
  90. package/dist/{img-B_y5qDdm.js → img-B_abIg0o.js} +1 -1
  91. package/dist/{labelUtils-CyVwqXSh.js → labelUtils-CTDRZdP1.js} +1 -1
  92. package/dist/{lib-DRBJCmHW.js → lib-EAmk-PgA.js} +14 -1
  93. package/dist/{package-DyQ_PQis.js → package-DeMimPej.js} +1 -1
  94. package/dist/{pdf-CG02qhAH.js → pdf-B6qrdEqB.js} +1 -1
  95. package/dist/{render-common-CUAlQvAQ.js → render-common-DMai0gHB.js} +2 -2
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/style.css +1 -1
  100. package/dist/{useAutoSizeLabelsInsideViewbox-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-CyOGrdD_.js} +1 -1
  101. package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-D8XqxgOU.js} +1 -1
  102. package/dist/{usePrinter-CRp5IW3v.js → usePrinter-DnGzpp6Q.js} +2 -2
  103. package/dist/utils.js +10 -10
  104. package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-D6qVWloL.js} +68 -68
  105. package/dist/vue-data-ui.js +72 -72
  106. package/dist/vue-ui-3d-bar-CjNuWXoA.js +1757 -0
  107. package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-Dzz8XhX3.js} +3 -3
  108. package/dist/{vue-ui-age-pyramid-BF5ZuuyI.js → vue-ui-age-pyramid-CC7Dxli-.js} +21 -21
  109. package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-DXZumSP8.js} +67 -67
  110. package/dist/{vue-ui-bullet-C_oBS1cr.js → vue-ui-bullet-Dde6FhbR.js} +17 -17
  111. package/dist/{vue-ui-bump-BZB1Na8h.js → vue-ui-bump-C5pni1JV.js} +243 -243
  112. package/dist/{vue-ui-candlestick-8d_1xO8X.js → vue-ui-candlestick-Ctw65O4_.js} +449 -446
  113. package/dist/{vue-ui-carousel-table-BfZNcwmY.js → vue-ui-carousel-table-BEUvhUH0.js} +42 -42
  114. package/dist/vue-ui-chestnut-C3IbAdkQ.js +2010 -0
  115. package/dist/vue-ui-chord-5eCWG4br.js +1391 -0
  116. package/dist/{vue-ui-circle-pack-BLh8HnGK.js → vue-ui-circle-pack-Cq4lkmee.js} +31 -31
  117. package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLJcFwRZ.js} +3 -3
  118. package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DemsIecS.js} +23 -23
  119. package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-DWHD_wNN.js} +69 -69
  120. package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-sIKc85vS.js} +3 -3
  121. package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-CLheJPcO.js} +414 -414
  122. package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-Dp6GW0dw.js} +85 -85
  123. package/dist/{vue-ui-donut-evolution-D1k4u6cA.js → vue-ui-donut-evolution-zmRPpJLj.js} +419 -419
  124. package/dist/vue-ui-dumbbell-bSbgHd0U.js +1530 -0
  125. package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-q_M7O1BK.js} +83 -83
  126. package/dist/vue-ui-funnel-BEZUEuuh.js +777 -0
  127. package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DCCWmIyH.js} +250 -250
  128. package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-B1ljgfE1.js} +216 -216
  129. package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-CM59rpnj.js} +17 -17
  130. package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-D2RL6IVp.js} +62 -62
  131. package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-BX6PQxML.js} +245 -245
  132. package/dist/vue-ui-history-plot-DaHAeQph.js +1715 -0
  133. package/dist/{vue-ui-horizontal-bar-CwB4sc6M.js → vue-ui-horizontal-bar-CTW6l4n3.js} +274 -274
  134. package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-DLbP7lJR.js} +3 -3
  135. package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-DPHzHsM7.js} +2 -2
  136. package/dist/vue-ui-molecule-aD0SMTiX.js +925 -0
  137. package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-CCWaPr0P.js} +29 -29
  138. package/dist/{vue-ui-nested-donuts-wfesrzle.js → vue-ui-nested-donuts--BCPWkl7.js} +104 -104
  139. package/dist/{vue-ui-onion-B8-psLbF.js → vue-ui-onion-s4iMCGAP.js} +39 -39
  140. package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +1416 -0
  141. package/dist/vue-ui-quadrant-T_UmRAAy.js +1978 -0
  142. package/dist/vue-ui-quick-chart-D1OWBgQJ.js +2469 -0
  143. package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-CHjeGOMC.js} +78 -78
  144. package/dist/{vue-ui-rating-CKWHDKOT.js → vue-ui-rating-Bek8Tgr-.js} +33 -33
  145. package/dist/vue-ui-relation-circle-DRZGQ_UX.js +924 -0
  146. package/dist/{vue-ui-ridgeline-DVbYznRz.js → vue-ui-ridgeline-DIODGiu8.js} +101 -101
  147. package/dist/vue-ui-rings-CcdUSXGG.js +1246 -0
  148. package/dist/vue-ui-scatter-CixnqLoi.js +2413 -0
  149. package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-Fmue6DAG.js} +3 -3
  150. package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-BVMI5vUy.js} +9 -9
  151. package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-DfZeLiWA.js} +98 -98
  152. package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-Cl1e49sw.js} +87 -87
  153. package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DDNNBIdf.js} +48 -48
  154. package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-ny_liYa6.js} +104 -104
  155. package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-BNxdO-Bx.js} +268 -268
  156. package/dist/vue-ui-sparkstackbar-BfF5-Wg2.js +662 -0
  157. package/dist/vue-ui-stackbar-B-2Me3d-.js +2332 -0
  158. package/dist/{vue-ui-stackline-C0NHBUaE.js → vue-ui-stackline-CdvVPQUM.js} +697 -694
  159. package/dist/{vue-ui-strip-plot-_6LL45i9.js → vue-ui-strip-plot-CRXPXA5V.js} +368 -368
  160. package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Dr1dK3d_.js} +25 -25
  161. package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D-Qrm3oX.js} +5 -5
  162. package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-C31Q32My.js} +201 -201
  163. package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-BUrtIfuo.js} +119 -119
  164. package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-B5bkNNHS.js} +29 -29
  165. package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-Bn8b-ZSz.js} +14 -14
  166. package/dist/vue-ui-treemap-LMWiicop.js +1713 -0
  167. package/dist/{vue-ui-waffle-afa8HSxz.js → vue-ui-waffle-B_L3gkky.js} +306 -306
  168. package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-CeVwXtEX.js} +36 -36
  169. package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-D81-qJLw.js} +37 -37
  170. package/dist/{vue-ui-world-CqS-HhZl.js → vue-ui-world-B7npRmTa.js} +399 -399
  171. package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-C2p9H2IX.js} +1438 -1436
  172. package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-OhwS0kcZ.js} +218 -218
  173. package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-DLKDdH35.js} +420 -417
  174. package/package.json +1 -1
  175. package/dist/exposedLib-CjwriUaG.js +0 -19
  176. package/dist/vue-ui-3d-bar-BAH0jNtT.js +0 -1757
  177. package/dist/vue-ui-chestnut-Cx8T3NEl.js +0 -2010
  178. package/dist/vue-ui-chord-B-sauvLo.js +0 -1391
  179. package/dist/vue-ui-dumbbell-DgmvPpK2.js +0 -1530
  180. package/dist/vue-ui-funnel-BYCFV5TD.js +0 -777
  181. package/dist/vue-ui-history-plot-B7zuCfdg.js +0 -1715
  182. package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
  183. package/dist/vue-ui-parallel-coordinate-plot-DBpHCFxa.js +0 -1416
  184. package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
  185. package/dist/vue-ui-quick-chart-so_8PzvS.js +0 -2469
  186. package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
  187. package/dist/vue-ui-rings-c-yLWFHr.js +0 -1246
  188. package/dist/vue-ui-scatter-QhmE7n1H.js +0 -2413
  189. package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +0 -662
  190. package/dist/vue-ui-stackbar-DDvuDGQ_.js +0 -2329
  191. package/dist/vue-ui-treemap-B03c4RIy.js +0 -1713
@@ -1,49 +1,49 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Dt as t, It as n, Lt as r, Q as i, Ut as a, W as o, Wt as s, X as c, _t as l, at as ee, h as te, q as u, s as ne, t as re, v as d, w as ie } from "./lib-DRBJCmHW.js";
3
- import { n as ae, r as oe, t as se } from "./useTimeLabels-BmBRv27Y.js";
4
- import { t as ce } from "./useConfig-DYM3f6EI.js";
5
- import { t as le } from "./usePrinter-CRp5IW3v.js";
6
- import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as fe } from "./useSvgExport-SVIsDot8.js";
8
- import { t as pe } from "./useNestedProp-BEo2N1Db.js";
9
- import { t as me } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as he } from "./useTimeLabelCollider-AEcY4Ioe.js";
11
- import { t as ge } from "./img-B_y5qDdm.js";
12
- import { n as _e } from "./Title-C-p0ilWB.js";
13
- import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
- import { c as ye } from "./canvas-lib-BOP_HS11.js";
15
- import { t as be } from "./useResponsive-BfnK0KxU.js";
16
- import { t as xe } from "./SlicerPreview-D1n9AW39.js";
17
- import { t as Se } from "./A11yDataTable-DdRsVULz.js";
18
- import { t as Ce } from "./useUserOptionState-DK-_1ddE.js";
19
- import { t as we } from "./useChartAccessibility-DYqac8yF.js";
20
- import { t as Te } from "./vue_ui_candlestick-J8jmJvxP.js";
21
- import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as Ee, createTextVNode as De, createVNode as Oe, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as ke, nextTick as Ae, normalizeClass as b, normalizeProps as x, normalizeStyle as je, onBeforeUnmount as Me, onMounted as Ne, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as Pe, shallowRef as Fe, toDisplayString as E, toRefs as Ie, unref as D, watch as Le, watchEffect as Re, withCtx as O } from "vue";
2
+ import { Gt as t, Lt as n, Ot as r, Q as i, Rt as a, W as o, Wt as s, X as c, at as l, ct as ee, h as te, q as u, s as ne, t as re, v as d, vt as ie, w as ae } from "./lib-EAmk-PgA.js";
3
+ import { n as oe, r as se, t as ce } from "./useTimeLabels-BmBRv27Y.js";
4
+ import { t as le } from "./useConfig-DYM3f6EI.js";
5
+ import { t as ue } from "./usePrinter-DnGzpp6Q.js";
6
+ import { n as de, t as fe } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as pe } from "./useSvgExport-SVIsDot8.js";
8
+ import { t as me } from "./useNestedProp-D8XqxgOU.js";
9
+ import { t as he } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as ge } from "./useTimeLabelCollider-AEcY4Ioe.js";
11
+ import { t as _e } from "./img-B_abIg0o.js";
12
+ import { n as ve } from "./Title-PiTKr6sp.js";
13
+ import { t as ye } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
+ import { c as be } from "./canvas-lib-BOP_HS11.js";
15
+ import { t as xe } from "./useResponsive-BfnK0KxU.js";
16
+ import { t as Se } from "./SlicerPreview-DUywypFu.js";
17
+ import { t as Ce } from "./A11yDataTable-DdRsVULz.js";
18
+ import { t as we } from "./useUserOptionState-DK-_1ddE.js";
19
+ import { t as Te } from "./useChartAccessibility-DYqac8yF.js";
20
+ import { t as Ee } from "./vue_ui_candlestick-J8jmJvxP.js";
21
+ import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as De, createTextVNode as Oe, createVNode as ke, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as Ae, nextTick as je, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as Me, onMounted as Ne, openBlock as C, ref as w, renderList as T, renderSlot as E, resolveDynamicComponent as Pe, shallowRef as Fe, toDisplayString as Ie, toRefs as Le, unref as D, watch as Re, watchEffect as ze, withCtx as O } from "vue";
22
22
  //#region src/components/vue-ui-candlestick.vue
23
- var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He = { style: { position: "relative" } }, Ue = [
23
+ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue = { style: { position: "relative" } }, We = [
24
24
  "xmlns",
25
25
  "aria-describedby",
26
26
  "viewBox"
27
- ], We = [
27
+ ], Ge = [
28
28
  "x",
29
29
  "y",
30
30
  "width",
31
31
  "height"
32
- ], Ge = { key: 1 }, Ke = ["id"], qe = ["stop-color"], Je = ["stop-color"], Ye = ["stop-color"], Xe = ["id"], Ze = ["stop-color"], Qe = ["stop-color"], $e = ["stop-color"], et = { key: 0 }, tt = [
32
+ ], Ke = { key: 1 }, qe = ["id"], Je = ["stop-color"], Ye = ["stop-color"], Xe = ["stop-color"], Ze = ["id"], Qe = ["stop-color"], $e = ["stop-color"], et = ["stop-color"], tt = { key: 0 }, nt = [
33
33
  "x1",
34
34
  "x2",
35
35
  "y1",
36
36
  "y2",
37
37
  "stroke",
38
38
  "stroke-width"
39
- ], nt = [
39
+ ], rt = [
40
40
  "x1",
41
41
  "x2",
42
42
  "y1",
43
43
  "y2",
44
44
  "stroke",
45
45
  "stroke-width"
46
- ], rt = [
46
+ ], it = [
47
47
  "x1",
48
48
  "x2",
49
49
  "y1",
@@ -51,7 +51,7 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
51
51
  "stroke",
52
52
  "stroke-width",
53
53
  "stroke-dasharray"
54
- ], it = [
54
+ ], at = [
55
55
  "x1",
56
56
  "x2",
57
57
  "y1",
@@ -59,78 +59,78 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
59
59
  "stroke",
60
60
  "stroke-width",
61
61
  "stroke-dasharray"
62
- ], at = [
62
+ ], ot = [
63
63
  "x1",
64
64
  "x2",
65
65
  "y1",
66
66
  "y2",
67
67
  "stroke",
68
68
  "stroke-width"
69
- ], ot = [
69
+ ], st = [
70
70
  "x1",
71
71
  "x2",
72
72
  "y1",
73
73
  "y2",
74
74
  "stroke",
75
75
  "stroke-width"
76
- ], st = [
76
+ ], ct = [
77
77
  "x",
78
78
  "y",
79
79
  "text-anchor",
80
80
  "font-size",
81
81
  "fill",
82
82
  "font-weight"
83
- ], ct = [
83
+ ], lt = [
84
84
  "transform",
85
85
  "text-anchor",
86
86
  "font-size",
87
87
  "fill",
88
88
  "font-weight"
89
- ], lt = [
89
+ ], ut = [
90
90
  "transform",
91
91
  "text-anchor",
92
92
  "font-size",
93
93
  "fill",
94
94
  "font-weight"
95
- ], ut = [
95
+ ], dt = [
96
96
  "x",
97
97
  "y",
98
98
  "width",
99
99
  "height",
100
100
  "fill",
101
101
  "rx"
102
- ], dt = { key: 0 }, ft = [
102
+ ], ft = { key: 0 }, pt = [
103
103
  "cx",
104
104
  "cy",
105
105
  "r",
106
106
  "fill"
107
- ], pt = [
107
+ ], mt = [
108
108
  "cx",
109
109
  "cy",
110
110
  "r",
111
111
  "fill"
112
- ], mt = { key: 1 }, ht = [
112
+ ], ht = { key: 1 }, gt = [
113
113
  "x",
114
114
  "y",
115
115
  "width",
116
116
  "height",
117
117
  "rx",
118
118
  "fill"
119
- ], gt = [
119
+ ], _t = [
120
120
  "x",
121
121
  "y",
122
122
  "width",
123
123
  "height",
124
124
  "fill",
125
125
  "rx"
126
- ], _t = [
126
+ ], vt = [
127
127
  "x",
128
128
  "y",
129
129
  "height",
130
130
  "width",
131
131
  "fill",
132
132
  "rx"
133
- ], vt = [
133
+ ], yt = [
134
134
  "x",
135
135
  "y",
136
136
  "height",
@@ -139,7 +139,7 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
139
139
  "rx",
140
140
  "stroke",
141
141
  "stroke-width"
142
- ], yt = ["d", "stroke"], bt = [
142
+ ], bt = ["d", "stroke"], xt = [
143
143
  "x",
144
144
  "y",
145
145
  "height",
@@ -148,7 +148,7 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
148
148
  "onMouseover",
149
149
  "onMouseleave",
150
150
  "onClick"
151
- ], xt = ["data-start", "data-end"], St = {
151
+ ], St = ["data-start", "data-end"], Ct = {
152
152
  key: 0,
153
153
  style: {
154
154
  position: "absolute",
@@ -158,14 +158,14 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
158
158
  },
159
159
  "data-dom-to-png-ignore": "",
160
160
  "aria-hidden": "true"
161
- }, Ct = {
161
+ }, wt = {
162
162
  key: 5,
163
163
  class: "vue-data-ui-watermark"
164
- }, wt = ["d", "stroke"], Tt = [
164
+ }, Tt = ["d", "stroke"], Et = [
165
165
  "d",
166
166
  "stroke",
167
167
  "stroke-width"
168
- ], Et = ["innerHTML"], Dt = /*#__PURE__*/ ve({
168
+ ], Dt = ["innerHTML"], Ot = /*#__PURE__*/ ye({
169
169
  __name: "vue-ui-candlestick",
170
170
  props: {
171
171
  config: {
@@ -186,11 +186,11 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
186
186
  }
187
187
  },
188
188
  emits: ["selectX", "copyAlt"],
189
- setup(e, { expose: ve, emit: ze }) {
190
- let Dt = v(() => import("./BaseIcon-DcUvOfxf.js").then((e) => e.n)), Ot = v(() => import("./Tooltip-YabpoXo1.js")), kt = v(() => import("./vue-ui-accordion-CfMrbDoq.js").then((e) => e.n)), At = v(() => import("./DataTable-CXfvIulC.js")), jt = v(() => import("./PenAndPaper-Bk2-E7V4.js").then((e) => e.t)), Mt = v(() => import("./UserOptions-BO4VFL8O.js").then((e) => e.n)), Nt = v(() => import("./PackageVersion-Da7hl-34.js").then((e) => e.t)), Pt = v(() => import("./BaseDraggableDialog-VbypEaAa.js").then((e) => e.n)), { vue_ui_candlestick: Ft } = ce(), { isThemeValid: It, warnInvalidTheme: Lt } = me(), k = e, Rt = ze, zt = p(() => !!k.dataset && k.dataset.length), A = C(!1), Bt = C(null), j = C(o()), Vt = C(!1), Ht = C(""), M = C(void 0), Ut = C(0), N = C(null), Wt = C(null), Gt = C(null), Kt = C(null), qt = C(null), Jt = C(null), Yt = C(0), Xt = C(0), Zt = C(0), Qt = C(null), $t = C(null), en = C(null), tn = C(null), nn = C(null), rn = C(!1), an = C(!1), P = C(null), on = C({
189
+ setup(e, { expose: ye, emit: Be }) {
190
+ let Ot = v(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), kt = v(() => import("./Tooltip-B8yYfISA.js")), At = v(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), jt = v(() => import("./DataTable-CVF7DoZn.js")), Mt = v(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), Nt = v(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), Pt = v(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), Ft = v(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_candlestick: It } = le(), { isThemeValid: Lt, warnInvalidTheme: Rt } = he(), k = e, zt = Be, Bt = p(() => !!k.dataset && k.dataset.length), A = w(!1), Vt = w(null), j = w(o()), Ht = w(!1), Ut = w(""), M = w(void 0), Wt = w(0), N = w(null), Gt = w(null), Kt = w(null), qt = w(null), Jt = w(null), Yt = w(null), Xt = w(0), Zt = w(0), Qt = w(0), $t = w(null), en = w(null), tn = w(null), nn = w(null), rn = w(null), an = w(!1), on = w(!1), P = w(null), sn = w({
191
191
  x: 0,
192
192
  y: 0
193
- }), sn = C("pointer"), cn = C(!1), F = C(_n()), ln = p(() => F.value.userOptions.useCursorPointer), un = p(() => s({
193
+ }), cn = w("pointer"), ln = w(!1), F = w(vn()), un = p(() => F.value.userOptions.useCursorPointer), dn = p(() => t({
194
194
  defaultConfig: {
195
195
  useCssAnimation: !1,
196
196
  userOptions: { show: !1 },
@@ -228,13 +228,13 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
228
228
  }
229
229
  },
230
230
  userConfig: F.value.skeletonConfig ?? {}
231
- })), { loading: I, FINAL_DATASET: L, manualLoading: dn } = ue({
232
- ...Ie(k),
231
+ })), { loading: I, FINAL_DATASET: L, manualLoading: fn } = de({
232
+ ...Le(k),
233
233
  FINAL_CONFIG: F,
234
- prepareConfig: _n,
234
+ prepareConfig: vn,
235
235
  callback: () => {
236
236
  Promise.resolve().then(async () => {
237
- await dr();
237
+ await fr();
238
238
  });
239
239
  },
240
240
  skeletonDataset: k.config?.skeletonDataset ?? [
@@ -335,32 +335,32 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
335
335
  5100
336
336
  ]
337
337
  ],
338
- skeletonConfig: s({
338
+ skeletonConfig: t({
339
339
  defaultConfig: F.value,
340
- userConfig: un.value
340
+ userConfig: dn.value
341
341
  })
342
- }), { userOptionsVisible: fn, setUserOptionsVisibility: pn, keepUserOptionState: mn } = Ce({ config: F.value }), { svgRef: R } = we({ config: F.value.style.title });
343
- function hn() {
344
- pn(!0);
345
- }
342
+ }), { userOptionsVisible: pn, setUserOptionsVisibility: mn, keepUserOptionState: hn } = we({ config: F.value }), { svgRef: R } = Te({ config: F.value.style.title });
346
343
  function gn() {
347
- pn(!1), Rt("selectX", {
344
+ mn(!0);
345
+ }
346
+ function _n() {
347
+ mn(!1), zt("selectX", {
348
348
  seriesIndex: null,
349
349
  datapoint: null
350
350
  }), M.value = null;
351
351
  }
352
- function _n() {
353
- let e = pe({
352
+ function vn() {
353
+ let e = me({
354
354
  userConfig: k.config,
355
- defaultConfig: Ft
355
+ defaultConfig: It
356
356
  }), t = {}, n = e.theme;
357
- if (n) if (!It.value(e)) Lt(e), t = e;
357
+ if (n) if (!Lt.value(e)) Rt(e), t = e;
358
358
  else {
359
- let r = pe({
360
- userConfig: Te[n] || k.config,
359
+ let r = me({
360
+ userConfig: Ee[n] || k.config,
361
361
  defaultConfig: e
362
362
  });
363
- t = { ...pe({
363
+ t = { ...me({
364
364
  userConfig: k.config,
365
365
  defaultConfig: r
366
366
  }) };
@@ -368,91 +368,91 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
368
368
  else t = e;
369
369
  return t;
370
370
  }
371
- Le(() => k.config, (e) => {
372
- I.value || (F.value = _n()), fn.value = !F.value.userOptions.showOnChartHover, yn(), Yt.value += 1, Zt.value += 1, Xt.value += 1, H.value.showTable = F.value.table.show, H.value.showTooltip = F.value.style.tooltip.show, Mn();
373
- }, { deep: !0 }), Le(() => k.dataset, (e) => {
374
- Array.isArray(e) && e.length > 0 && (dn.value = !1), sr();
371
+ Re(() => k.config, (e) => {
372
+ I.value || (F.value = vn()), pn.value = !F.value.userOptions.showOnChartHover, bn(), Xt.value += 1, Qt.value += 1, Zt.value += 1, H.value.showTable = F.value.table.show, H.value.showTooltip = F.value.style.tooltip.show, Nn();
373
+ }, { deep: !0 }), Re(() => k.dataset, (e) => {
374
+ Array.isArray(e) && e.length > 0 && (fn.value = !1), cr();
375
375
  }, { deep: !0 });
376
- let z = C({
376
+ let z = w({
377
377
  height: F.value.style.height,
378
378
  width: F.value.style.width,
379
379
  xAxisFontSize: F.value.style.layout.grid.xAxis.dataLabels.fontSize,
380
380
  yAxisFontSize: F.value.style.layout.grid.yAxis.dataLabels.fontSize
381
- }), B = Fe(null), vn = Fe(null);
381
+ }), B = Fe(null), yn = Fe(null);
382
382
  Ne(() => {
383
- yn();
383
+ bn();
384
384
  });
385
385
  let V = p(() => !!F.value.debug);
386
- function yn() {
387
- if (t(k.dataset) && (i({
386
+ function bn() {
387
+ if (r(k.dataset) && (i({
388
388
  componentName: "VueUiCandlestick",
389
389
  type: "dataset",
390
390
  debug: V.value
391
- }), dn.value = !0), t(k.dataset) || (dn.value = F.value.loading), setTimeout(() => {
391
+ }), fn.value = !0), r(k.dataset) || (fn.value = F.value.loading), setTimeout(() => {
392
392
  A.value = !0;
393
393
  }, 10), F.value.responsive) {
394
- let e = ye(() => {
394
+ let e = be(() => {
395
395
  A.value = !1;
396
- let { width: e, height: t } = be({
396
+ let { width: e, height: t } = xe({
397
397
  chart: N.value,
398
- title: F.value.style.title.text ? Wt.value : null,
399
- slicer: F.value.style.zoom.show && G.value > 6 ? Kt.value.$el : null,
400
- legend: Gt.value,
401
- source: qt.value,
402
- noTitle: Jt.value
398
+ title: F.value.style.title.text ? Gt.value : null,
399
+ slicer: F.value.style.zoom.show && G.value > 6 ? qt.value.$el : null,
400
+ legend: Kt.value,
401
+ source: Jt.value,
402
+ noTitle: Yt.value
403
403
  });
404
404
  requestAnimationFrame(() => {
405
- z.value.width = e, z.value.height = t - 12, F.value.responsiveProportionalSizing ? (z.value.xAxisFontSize = a({
405
+ z.value.width = e, z.value.height = t - 12, F.value.responsiveProportionalSizing ? (z.value.xAxisFontSize = s({
406
406
  relator: Math.min(e, t),
407
407
  adjuster: F.value.style.width,
408
408
  source: F.value.style.layout.grid.xAxis.dataLabels.fontSize,
409
409
  threshold: 6,
410
410
  fallback: 6
411
- }), z.value.yAxisFontSize = a({
411
+ }), z.value.yAxisFontSize = s({
412
412
  relator: Math.min(e, t),
413
413
  adjuster: F.value.style.width,
414
414
  source: F.value.style.layout.grid.yAxis.dataLabels.fontSize,
415
415
  threshold: 6,
416
416
  fallback: 6
417
- })) : (z.value.xAxisFontSize = F.value.style.layout.grid.xAxis.dataLabels.fontSize, z.value.yAxisFontSize = F.value.style.layout.grid.yAxis.dataLabels.fontSize), Bt.value && clearTimeout(Bt.value), Bt.value = setTimeout(() => {
417
+ })) : (z.value.xAxisFontSize = F.value.style.layout.grid.xAxis.dataLabels.fontSize, z.value.yAxisFontSize = F.value.style.layout.grid.yAxis.dataLabels.fontSize), Vt.value && clearTimeout(Vt.value), Vt.value = setTimeout(() => {
418
418
  A.value = !0;
419
419
  }, 10);
420
420
  });
421
421
  });
422
- B.value && (vn.value && B.value.unobserve(vn.value), B.value.disconnect()), B.value = new ResizeObserver(e), vn.value = N.value.parentNode, B.value.observe(vn.value);
422
+ B.value && (yn.value && B.value.unobserve(yn.value), B.value.disconnect()), B.value = new ResizeObserver(e), yn.value = N.value.parentNode, B.value.observe(yn.value);
423
423
  }
424
- dr();
424
+ fr();
425
425
  }
426
426
  Me(() => {
427
- B.value && (vn.value && B.value.unobserve(vn.value), B.value.disconnect());
427
+ B.value && (yn.value && B.value.unobserve(yn.value), B.value.disconnect());
428
428
  });
429
- let { isPrinting: bn, isImaging: xn, generatePdf: Sn, generateImage: Cn } = le({
429
+ let { isPrinting: xn, isImaging: Sn, generatePdf: Cn, generateImage: wn } = ue({
430
430
  elementId: `vue-ui-candlestick_${j.value}`,
431
431
  fileName: F.value.style.title.text || "vue-ui-candlestick",
432
432
  options: F.value.userOptions.print
433
- }), wn = p(() => F.value.userOptions.show && !F.value.style.title.text), H = C({
433
+ }), Tn = p(() => F.value.userOptions.show && !F.value.style.title.text), H = w({
434
434
  showTable: F.value.table.show,
435
435
  showTooltip: F.value.style.tooltip.show
436
- }), Tn = C(0), En = ye((e) => {
437
- Tn.value = e;
436
+ }), En = w(0), Dn = be((e) => {
437
+ En.value = e;
438
438
  }, 100);
439
- Re((e) => {
440
- let t = $t.value;
439
+ ze((e) => {
440
+ let t = en.value;
441
441
  if (!t) return;
442
442
  let n = new ResizeObserver((e) => {
443
- En(e[0].contentRect.height);
443
+ Dn(e[0].contentRect.height);
444
444
  });
445
445
  n.observe(t), e(() => n.disconnect());
446
446
  }), Me(() => {
447
- Tn.value = 0;
447
+ En.value = 0;
448
448
  });
449
- let Dn = p(() => {
449
+ let On = p(() => {
450
450
  let e = 0;
451
- return $t.value && (e = Tn.value + z.value.xAxisFontSize), e;
451
+ return en.value && (e = En.value + z.value.xAxisFontSize), e;
452
452
  }), U = p(() => F.value.style.layout.grid.yAxis.position === "right");
453
- function On() {
453
+ function kn() {
454
454
  let e = F.value.style.layout.grid.yAxis.dataLabels.offsetX;
455
- Qt.value && (e = Array.from(Qt.value.querySelectorAll("text")).reduce((e, t) => {
455
+ $t.value && (e = Array.from($t.value.querySelectorAll("text")).reduce((e, t) => {
456
456
  let n = t.getComputedTextLength();
457
457
  return n > e ? n : e;
458
458
  }, 0));
@@ -466,19 +466,19 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
466
466
  };
467
467
  }
468
468
  let W = p(() => {
469
- let { top: e, right: t, bottom: n, left: r } = F.value.style.layout.padding, i = On();
469
+ let { top: e, right: t, bottom: n, left: r } = F.value.style.layout.padding, i = kn();
470
470
  return {
471
471
  top: e + 12,
472
472
  right: z.value.width - t - i.right,
473
473
  left: r + i.left,
474
- bottom: z.value.height - n - Dn.value,
474
+ bottom: z.value.height - n - On.value,
475
475
  width: z.value.width - r - t - i.left - i.right,
476
- height: z.value.height - e - n - Dn.value - 12,
476
+ height: z.value.height - e - n - On.value - 12,
477
477
  scaleLabelsWidth: i.scaleLabelsWidth,
478
478
  yAxisNameWidth: i.yAxisNameWidth,
479
479
  crosshair: i.crosshair
480
480
  };
481
- }), kn = p(() => {
481
+ }), An = p(() => {
482
482
  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));
483
483
  return {
484
484
  x: e + l * o,
@@ -497,24 +497,24 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
497
497
  animation: "none !important"
498
498
  }
499
499
  };
500
- }), G = p(() => L.value.length), K = C({
500
+ }), G = p(() => L.value.length), K = w({
501
501
  start: 0,
502
502
  end: G.value
503
- }), q = C({
503
+ }), q = w({
504
504
  start: 0,
505
505
  end: G.value
506
- }), An = p(() => F.value.style.zoom.preview.enable && (q.value.start !== K.value.start || q.value.end !== K.value.end));
507
- function jn(e, t) {
506
+ }), jn = p(() => F.value.style.zoom.preview.enable && (q.value.start !== K.value.start || q.value.end !== K.value.end));
507
+ function Mn(e, t) {
508
508
  q.value[e] = t;
509
509
  }
510
- function Mn() {
510
+ function Nn() {
511
511
  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));
512
- (!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, Kt.value && (Kt.value.setStartValue(e), Kt.value.setEndValue(t));
512
+ (!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, qt.value && (qt.value.setStartValue(e), qt.value.setEndValue(t));
513
513
  }
514
- let Nn = p(() => L.value.map((e, t) => ({
514
+ let Pn = p(() => L.value.map((e, t) => ({
515
515
  ...e,
516
516
  absoluteIndex: t
517
- }))), Pn = p(() => Nn.value.slice(K.value.start, K.value.end)), J = p(() => (L.value.forEach((e, t) => {
517
+ }))), Fn = p(() => Pn.value.slice(K.value.start, K.value.end)), J = p(() => (L.value.forEach((e, t) => {
518
518
  [null, void 0].includes(e[0]) && i({
519
519
  componentName: "VueUiCandlestick",
520
520
  type: "datasetAttribute",
@@ -552,7 +552,7 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
552
552
  index: t,
553
553
  debug: V.value
554
554
  });
555
- }), Pn.value.map((e) => ({
555
+ }), Fn.value.map((e) => ({
556
556
  absoluteIndex: e.absoluteIndex,
557
557
  period: e[0],
558
558
  open: e[1],
@@ -560,7 +560,7 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
560
560
  low: e[3],
561
561
  close: e[4],
562
562
  volume: e[5]
563
- })))), Fn = p(() => Nn.value.map((e) => ({
563
+ })))), In = p(() => Pn.value.map((e) => ({
564
564
  absoluteIndex: e.absoluteIndex,
565
565
  period: e[0],
566
566
  open: e[1],
@@ -568,11 +568,11 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
568
568
  low: e[3],
569
569
  close: e[4],
570
570
  volume: e[5]
571
- }))), Y = p(() => W.value.width / Pn.value.length), In = p(() => ({
571
+ }))), Y = p(() => W.value.width / Fn.value.length), Ln = p(() => ({
572
572
  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,
573
573
  min: F.value.style.layout.grid.yAxis.scale.min === null ? 0 : F.value.style.layout.grid.yAxis.scale.min
574
- })), X = p(() => te(In.value.min, In.value.max, F.value.style.layout.grid.yAxis.dataLabels.steps));
575
- function Ln(e, t, n = null, r = null) {
574
+ })), X = p(() => te(Ln.value.min, Ln.value.max, F.value.style.layout.grid.yAxis.dataLabels.steps));
575
+ function Rn(e, t, n = null, r = null) {
576
576
  return {
577
577
  ...e,
578
578
  x: d(W.value.left + t * Y.value + Y.value / 2),
@@ -595,7 +595,7 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
595
595
  c: Math.min(...J.value.map((e) => e.low))
596
596
  }, n = Math.max(...J.value.map((e) => e.volume)), r = Math.min(...J.value.map((e) => e.volume));
597
597
  return J.value.map((i, a) => {
598
- let o = Ln(i.open, a, e.o, t.o), s = Ln(i.high, a, e.h, t.h), c = Ln(i.low, a, e.l, t.l), l = Ln(i.close, a, e.c, t.c), ee = i.close > i.open, te = i.volume === n, u = i.volume === r;
598
+ let o = Rn(i.open, a, e.o, t.o), s = Rn(i.high, a, e.h, t.h), c = Rn(i.low, a, e.l, t.l), l = Rn(i.close, a, e.c, t.c), ee = i.close > i.open, te = i.volume === n, u = i.volume === r;
599
599
  return {
600
600
  period: i.period,
601
601
  open: o,
@@ -610,7 +610,7 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
610
610
  };
611
611
  });
612
612
  });
613
- function Rn({ item: e, index: t, minimapH: n, unitW: r }) {
613
+ function zn({ item: e, index: t, minimapH: n, unitW: r }) {
614
614
  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]));
615
615
  return {
616
616
  ...e,
@@ -619,23 +619,23 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
619
619
  value: d(e)
620
620
  };
621
621
  }
622
- let zn = p(() => ({ minimapH: e, unitW: t }) => Fn.value.map((n, r) => {
623
- let i = Rn({
622
+ let Bn = p(() => ({ minimapH: e, unitW: t }) => In.value.map((n, r) => {
623
+ let i = zn({
624
624
  item: n.open,
625
625
  index: r,
626
626
  minimapH: e,
627
627
  unitW: t
628
- }), a = Rn({
628
+ }), a = zn({
629
629
  item: n.high,
630
630
  index: r,
631
631
  minimapH: e,
632
632
  unitW: t
633
- }), o = Rn({
633
+ }), o = zn({
634
634
  item: n.low,
635
635
  index: r,
636
636
  minimapH: e,
637
637
  unitW: t
638
- }), s = Rn({
638
+ }), s = zn({
639
639
  item: n.close,
640
640
  index: r,
641
641
  minimapH: e,
@@ -651,101 +651,101 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
651
651
  isBullish: c,
652
652
  absoluteIndex: n.absoluteIndex
653
653
  };
654
- })), Bn = p(() => F.value.style.zoom.minimap.show ? [{
654
+ })), Vn = p(() => F.value.style.zoom.minimap.show ? [{
655
655
  name: "",
656
656
  series: L.value.map((e) => e[2]),
657
657
  color: "#000000",
658
658
  isVisible: !0
659
659
  }] : []);
660
- function Vn(e) {
660
+ function Hn(e) {
661
661
  return d((e - X.value.min) / (X.value.max - X.value.min));
662
662
  }
663
- let Hn = p(() => X.value.ticks.map((e) => ({
664
- y: W.value.bottom - W.value.height * Vn(e),
663
+ let Un = p(() => X.value.ticks.map((e) => ({
664
+ y: W.value.bottom - W.value.height * Hn(e),
665
665
  value: d(e)
666
- }))), Un = p(() => J.value.map((e) => e.period)), Q = C([]), Wn = C([]), Gn = 0;
667
- Re(() => {
668
- let e = ++Gn;
666
+ }))), Wn = p(() => J.value.map((e) => e.period)), Q = w([]), Gn = w([]), Kn = 0;
667
+ ze(() => {
668
+ let e = ++Kn;
669
669
  (async () => {
670
- let t = await se({
670
+ let t = await ce({
671
671
  values: L.value.map((e) => e[0]),
672
672
  maxDatapoints: L.value.length,
673
673
  formatter: F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
674
674
  start: K.value.start,
675
675
  end: K.value.end
676
676
  });
677
- e === Gn && (Q.value = t);
677
+ e === Kn && (Q.value = t);
678
678
  })();
679
679
  });
680
- let Kn = 0;
681
- Re(() => {
682
- let e = ++Kn;
680
+ let qn = 0;
681
+ ze(() => {
682
+ let e = ++qn;
683
683
  (async () => {
684
- let t = await se({
684
+ let t = await ce({
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,
688
688
  start: 0,
689
689
  end: G.value
690
690
  });
691
- e === Kn && (Wn.value = t);
691
+ e === qn && (Gn.value = t);
692
692
  })();
693
693
  });
694
- let qn = p(() => {
694
+ let Jn = p(() => {
695
695
  let e = F.value.style.layout.grid.xAxis.dataLabels.modulo;
696
696
  return Q.value.length ? Math.min(e, [...new Set(Q.value.map((e) => e.text))].length) : e;
697
- }), Jn = C({
697
+ }), Yn = w({
698
698
  months: [],
699
699
  shortMonths: [],
700
700
  days: [],
701
701
  shortDays: []
702
- }), Yn = 0;
703
- Re(() => {
704
- let e = ++Yn, t = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter;
702
+ }), Xn = 0;
703
+ ze(() => {
704
+ let e = ++Xn, t = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter;
705
705
  (async () => {
706
- let n = await oe(t.locale).catch(() => oe("en"));
707
- e === Yn && (Jn.value = n.data);
706
+ let n = await se(t.locale).catch(() => se("en"));
707
+ e === Xn && (Yn.value = n.data);
708
708
  })();
709
709
  });
710
- let Xn = p(() => {
711
- let e = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter, t = ae({
710
+ let Zn = p(() => {
711
+ let e = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter, t = oe({
712
712
  useUTC: e.useUTC,
713
- locale: Jn.value,
713
+ locale: Yn.value,
714
714
  januaryAsYear: e.januaryAsYear
715
715
  });
716
716
  return (e, n) => {
717
717
  let r = L.value.map((e) => e[0])?.[e];
718
718
  return r == null ? "" : t.formatDate(new Date(r), n);
719
719
  };
720
- }), Zn = p(() => (L.value.map((e) => e[0]) || []).map((e, t) => ({
721
- text: Xn.value(t, F.value.style.tooltip.timeFormat),
720
+ }), Qn = p(() => (L.value.map((e) => e[0]) || []).map((e, t) => ({
721
+ text: Zn.value(t, F.value.style.tooltip.timeFormat),
722
722
  absoluteIndex: t
723
- }))), Qn = p(() => (L.value.map((e) => e[0]) || []).map((e, t) => ({
724
- text: Xn.value(t, F.value.style.zoom.timeFormat),
723
+ }))), $n = p(() => (L.value.map((e) => e[0]) || []).map((e, t) => ({
724
+ text: Zn.value(t, F.value.style.zoom.timeFormat),
725
725
  absoluteIndex: t
726
- }))), $n = p(() => {
727
- let e = F.value.style.layout.grid.xAxis.dataLabels, t = Q.value || [], n = Wn.value || [], r = K.value.start ?? 0, i = M.value, a = G.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? "");
728
- return ne(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, qn.value || 1), o, s, r, i, a);
729
- }), er = p(() => F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
726
+ }))), er = p(() => {
727
+ let e = F.value.style.layout.grid.xAxis.dataLabels, t = Q.value || [], n = Gn.value || [], r = K.value.start ?? 0, i = M.value, a = G.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? "");
728
+ return ne(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Jn.value || 1), o, s, r, i, a);
729
+ }), tr = p(() => F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
730
730
  start: Q.value.find((e) => e.absoluteIndex === K.value.start)?.text ?? "",
731
731
  end: Q.value.find((e) => e.absoluteIndex === K.value.end - 1)?.text ?? ""
732
732
  } : {
733
733
  start: L.value[K.value.start] ? L.value[K.value.start][0] : L.value[0][0],
734
734
  end: L.value[K.value.end - 1] ? L.value[K.value.end - 1][0] : L.value.at(-1)[0]
735
- }), tr = C(null);
736
- function nr(e, t) {
735
+ }), nr = w(null);
736
+ function rr(e, t) {
737
737
  F.value.events.datapointClick && F.value.events.datapointClick({
738
738
  datapoint: t,
739
739
  seriesIndex: e + K.value.start
740
740
  });
741
741
  }
742
- function rr(e, t) {
742
+ function ir(e, t) {
743
743
  F.value.events.datapointLeave && F.value.events.datapointLeave({
744
744
  datapoint: t,
745
745
  seriesIndex: e + K.value.start
746
- }), M.value = void 0, Vt.value = !1, P.value = null, sn.value = "pointer";
746
+ }), M.value = void 0, Ht.value = !1, P.value = null, cn.value = "pointer";
747
747
  }
748
- Le(() => k.selectedXIndex, (e) => {
748
+ Re(() => k.selectedXIndex, (e) => {
749
749
  if ([null, void 0].includes(k.selectedXIndex)) {
750
750
  M.value = null;
751
751
  return;
@@ -753,33 +753,33 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
753
753
  let t = e - K.value.start;
754
754
  t < 0 || e >= K.value.end ? M.value = null : M.value = t ?? null;
755
755
  }, { immediate: !0 });
756
- function ir(e, t, n = "pointer") {
756
+ function ar(e, t, n = "pointer") {
757
757
  F.value.events.datapointEnter && F.value.events.datapointEnter({
758
758
  datapoint: t,
759
759
  seriesIndex: e + K.value.start
760
- }), M.value = e, P.value = e, sn.value = n, tr.value = {
760
+ }), M.value = e, P.value = e, cn.value = n, nr.value = {
761
761
  datapoint: t,
762
762
  seriesIndex: e,
763
763
  series: Z.value,
764
764
  config: F.value
765
- }, Mr({
765
+ }, Nr({
766
766
  seriesIndex: e,
767
767
  datapoint: t
768
768
  });
769
769
  let r = F.value.style.tooltip.customFormat;
770
- if (l(r) && ee(() => r({
770
+ if (ie(r) && l(() => r({
771
771
  seriesIndex: e,
772
772
  datapoint: t,
773
773
  series: Z.value,
774
774
  config: F.value
775
- }))) Ht.value = r({
775
+ }))) Ut.value = r({
776
776
  seriesIndex: e,
777
777
  datapoint: t,
778
778
  series: Z.value,
779
779
  config: F.value
780
780
  });
781
781
  else if (F.value.style.tooltip.show) {
782
- let n = "", { period: r, open: i, high: a, low: o, close: s, volume: c, isBullish: l } = Z.value[e], { period: ee, 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 : Zn.value[e].text : r;
782
+ let n = "", { period: r, open: i, high: a, low: o, close: s, volume: c, isBullish: l } = Z.value[e], { period: ee, 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;
783
783
  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}"
784
784
  fill="${F.value.style.layout.candle.gradient.show ? l ? `url(#bullish_gradient_${j.value})` : `url(#bearish_gradient_${j.value})` : l ? F.value.style.layout.candle.colors.bullish : F.value.style.layout.candle.colors.bearish}"/></svg>${ae}</div>`, n += `${ie} : <b>${isNaN(c) ? "-" : Number(c.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}">`;
785
785
  let oe = u({
@@ -823,42 +823,42 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
823
823
  <g>
824
824
  </svg>
825
825
  <div>
826
- ` : (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>", Ht.value = `<div style="text-align:right">${n}</div>`;
826
+ ` : (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>", Ut.value = `<div style="text-align:right">${n}</div>`;
827
827
  }
828
- Vt.value = !0;
828
+ Ht.value = !0;
829
829
  }
830
- let ar = C(null);
831
- function or() {
830
+ let or = w(null);
831
+ function sr() {
832
832
  return new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(() => e())));
833
833
  }
834
834
  Me(() => {
835
- ar.value && cancelAnimationFrame(ar.value);
835
+ or.value && cancelAnimationFrame(or.value);
836
836
  });
837
- async function sr() {
838
- dr(), await Ae(), ar.value && cancelAnimationFrame(ar.value), ar.value = requestAnimationFrame(async () => {
839
- await or(), dr();
837
+ async function cr() {
838
+ fr(), await je(), or.value && cancelAnimationFrame(or.value), or.value = requestAnimationFrame(async () => {
839
+ await sr(), fr();
840
840
  });
841
841
  }
842
- let cr = C(!1), lr = C(!1), ur = C(!1);
843
- function dr() {
844
- if (!cr.value) {
845
- cr.value = !0;
842
+ let lr = w(!1), ur = w(!1), dr = w(!1);
843
+ function fr() {
844
+ if (!lr.value) {
845
+ lr.value = !0;
846
846
  try {
847
- let { startIndex: e, endIndex: t } = F.value.style.zoom, n = G.value, r = e ?? 0, i = t == null ? n : Math.min(fr(t + 1), n);
848
- ur.value = !0, K.value.start = r, K.value.end = i, q.value.start = r, q.value.end = i, Mn(), lr.value = !0;
847
+ let { startIndex: e, endIndex: t } = F.value.style.zoom, n = G.value, r = e ?? 0, i = t == null ? n : Math.min(pr(t + 1), n);
848
+ dr.value = !0, K.value.start = r, K.value.end = i, q.value.start = r, q.value.end = i, Nn(), ur.value = !0;
849
849
  } finally {
850
850
  queueMicrotask(() => {
851
- ur.value = !1;
852
- }), cr.value = !1;
851
+ dr.value = !1;
852
+ }), lr.value = !1;
853
853
  }
854
854
  }
855
855
  }
856
- function fr(e) {
856
+ function pr(e) {
857
857
  let t = G.value;
858
858
  return e > t ? t : e < 0 || e < K.value.start ? F.value.style.zoom.startIndex === null ? 1 : F.value.style.zoom.startIndex + 1 : e;
859
859
  }
860
- function pr(e = null) {
861
- Ae(() => {
860
+ function mr(e = null) {
861
+ je(() => {
862
862
  let t = [
863
863
  F.value.translations.period,
864
864
  F.value.translations.open,
@@ -873,7 +873,7 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
873
873
  e.low.value,
874
874
  e.close.value,
875
875
  e.volume
876
- ]), r = ie([
876
+ ]), r = ae([
877
877
  [F.value.style.title.text],
878
878
  [F.value.style.title.subtitle.text],
879
879
  [
@@ -889,7 +889,7 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
889
889
  });
890
890
  });
891
891
  }
892
- let mr = p(() => {
892
+ let hr = p(() => {
893
893
  let e = Z.value.map((e, t) => {
894
894
  let n = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? Q.value?.[t]?.text ?? "" : e.period, r = u({
895
895
  p: F.value.table.td.prefix,
@@ -974,40 +974,42 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
974
974
  config: n,
975
975
  colNames: r
976
976
  };
977
- }), $ = C(!1);
978
- function hr(e) {
979
- $.value = e, Ut.value += 1;
977
+ }), $ = w(!1);
978
+ function gr(e) {
979
+ $.value = e, Wt.value += 1;
980
980
  }
981
- function gr() {
981
+ function _r() {
982
982
  H.value.showTable = !H.value.showTable;
983
983
  }
984
- function _r() {
984
+ function vr() {
985
985
  H.value.showTooltip = !H.value.showTooltip;
986
986
  }
987
- let vr = C(!1);
988
- function yr() {
989
- vr.value = !vr.value;
987
+ let yr = w(!1);
988
+ function br() {
989
+ yr.value = !yr.value;
990
990
  }
991
- async function br({ scale: e = 2 } = {}) {
991
+ async function xr({ scale: e = 2 } = {}) {
992
992
  if (!N.value) return;
993
- let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ge({
993
+ let { imageUri: t, base64: n } = await _e({
994
994
  domElement: N.value,
995
995
  base64: !0,
996
996
  img: !0,
997
997
  scale: e
998
- });
998
+ }), r = N.value.getBoundingClientRect(), i = {
999
+ width: r.width,
1000
+ height: r.height,
1001
+ aspectRatio: r.height ? r.width / r.height : 0
1002
+ }, a = await ee(t, e) ?? i;
999
1003
  return {
1000
- imageUri: i,
1001
- base64: a,
1004
+ imageUri: t,
1005
+ base64: n,
1002
1006
  title: F.value.style.title.text,
1003
- width: t,
1004
- height: n,
1005
- aspectRatio: r
1007
+ ...a
1006
1008
  };
1007
1009
  }
1008
- let xr = p(() => z.value.width), Sr = p(() => z.value.height);
1009
- he({
1010
- timeLabelsEls: $t,
1010
+ let Sr = p(() => z.value.width), Cr = p(() => z.value.height);
1011
+ ge({
1012
+ timeLabelsEls: en,
1011
1013
  timeLabels: Q,
1012
1014
  slicer: K,
1013
1015
  configRef: F,
@@ -1030,18 +1032,18 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1030
1032
  ],
1031
1033
  isAutoSize: !1,
1032
1034
  rotation: F.value.style.layout.grid.xAxis.dataLabels.autoRotate.angle,
1033
- width: xr,
1034
- height: Sr
1035
- }), Le(F, () => {
1035
+ width: Sr,
1036
+ height: Cr
1037
+ }), Re(F, () => {
1036
1038
  H.value = {
1037
1039
  showTable: F.value.table.show,
1038
1040
  showTooltip: F.value.style.tooltip.show
1039
1041
  };
1040
1042
  }, { immediate: !0 });
1041
- let Cr = p(() => {
1043
+ let wr = p(() => {
1042
1044
  let e = F.value.table.useDialog && !F.value.table.show, t = H.value.showTable;
1043
1045
  return {
1044
- component: e ? Pt : kt,
1046
+ component: e ? Ft : At,
1045
1047
  title: `${F.value.style.title.text}${F.value.style.title.subtitle.text ? `: ${F.value.style.title.subtitle.text}` : ""}`,
1046
1048
  props: e ? {
1047
1049
  backgroundColor: F.value.table.th.backgroundColor,
@@ -1051,7 +1053,7 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1051
1053
  isFullscreen: $.value,
1052
1054
  fullscreenParent: N.value,
1053
1055
  forcedWidth: Math.min(800, window.innerWidth * .8),
1054
- isCursorPointer: ln.value
1056
+ isCursorPointer: un.value
1055
1057
  } : {
1056
1058
  hideDetails: !0,
1057
1059
  config: {
@@ -1069,64 +1071,64 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1069
1071
  }
1070
1072
  };
1071
1073
  });
1072
- Le(() => H.value.showTable, (e) => {
1073
- F.value.table.show || (e && F.value.table.useDialog && en.value ? en.value.open() : "close" in en.value && en.value.close());
1074
+ Re(() => H.value.showTable, (e) => {
1075
+ F.value.table.show || (e && F.value.table.useDialog && tn.value ? tn.value.open() : "close" in tn.value && tn.value.close());
1074
1076
  });
1075
- function wr() {
1076
- H.value.showTable = !1, tn.value && tn.value.setTableIconState(!1);
1077
+ function Tr() {
1078
+ H.value.showTable = !1, nn.value && nn.value.setTableIconState(!1);
1077
1079
  }
1078
- let Tr = p(() => F.value.style.backgroundColor), { exportSvg: Er, getSvg: Dr } = fe({
1080
+ let Er = p(() => F.value.style.backgroundColor), { exportSvg: Dr, getSvg: Or } = pe({
1079
1081
  svg: R,
1080
1082
  title: p(() => F.value.style.title),
1081
- backgroundColor: Tr
1083
+ backgroundColor: Er
1082
1084
  });
1083
- async function Or({ isCb: e }) {
1084
- an.value = !0, await Ae();
1085
+ async function kr({ isCb: e }) {
1086
+ on.value = !0, await je();
1085
1087
  try {
1086
1088
  if (e) {
1087
- let { blob: e, url: t, text: n, dataUrl: r } = await Dr();
1089
+ let { blob: e, url: t, text: n, dataUrl: r } = await Or();
1088
1090
  await Promise.resolve(F.value.userOptions.callbacks.svg({
1089
1091
  blob: e,
1090
1092
  url: t,
1091
1093
  text: n,
1092
1094
  dataUrl: r
1093
1095
  }));
1094
- } else await Promise.resolve(Er());
1096
+ } else await Promise.resolve(Dr());
1095
1097
  } finally {
1096
- an.value = !1;
1098
+ on.value = !1;
1097
1099
  }
1098
1100
  }
1099
- function kr(e) {
1100
- nn.value = e;
1101
- }
1102
1101
  function Ar(e) {
1103
- cr.value || ur.value || e !== K.value.start && (K.value.start = e, q.value.start = e, Mn());
1102
+ rn.value = e;
1104
1103
  }
1105
1104
  function jr(e) {
1106
- if (cr.value || ur.value) return;
1107
- let t = fr(e);
1108
- t !== K.value.end && (K.value.end = t, q.value.end = t, Mn());
1105
+ lr.value || dr.value || e !== K.value.start && (K.value.start = e, q.value.start = e, Nn());
1106
+ }
1107
+ function Mr(e) {
1108
+ if (lr.value || dr.value) return;
1109
+ let t = pr(e);
1110
+ t !== K.value.end && (K.value.end = t, q.value.end = t, Nn());
1109
1111
  }
1110
- function Mr({ seriesIndex: e, datapoint: t }) {
1111
- Rt("selectX", {
1112
+ function Nr({ seriesIndex: e, datapoint: t }) {
1113
+ zt("selectX", {
1112
1114
  dataset: t,
1113
1115
  index: K.value.start + e,
1114
1116
  indexLabel: ""
1115
1117
  });
1116
1118
  }
1117
- function Nr(e) {
1119
+ function Pr(e) {
1118
1120
  if (e?.stage === "start") {
1119
- rn.value = !0;
1121
+ an.value = !0;
1120
1122
  return;
1121
1123
  }
1122
1124
  if (e?.stage === "end") {
1123
- rn.value = !1;
1125
+ an.value = !1;
1124
1126
  return;
1125
1127
  }
1126
- Cn();
1128
+ wn();
1127
1129
  }
1128
- async function Pr() {
1129
- if (Rt("copyAlt", {
1130
+ async function Fr() {
1131
+ if (zt("copyAlt", {
1130
1132
  config: F.value,
1131
1133
  dataset: Z.value
1132
1134
  }), !F.value.userOptions.callbacks.altCopy) {
@@ -1138,73 +1140,73 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1138
1140
  dataset: Z.value
1139
1141
  }));
1140
1142
  }
1141
- function Fr() {
1142
- P.value = null, cn.value = !0;
1143
- }
1144
1143
  function Ir() {
1145
- P.value = null, sn.value = "pointer", Vt.value = !1, M.value = void 0, cn.value = !1;
1144
+ P.value = null, ln.value = !0;
1146
1145
  }
1147
- function Lr(e) {
1148
- if (!R.value || vr.value || document.activeElement !== R.value || !Z.value.length) return;
1146
+ function Lr() {
1147
+ P.value = null, cn.value = "pointer", Ht.value = !1, M.value = void 0, ln.value = !1;
1148
+ }
1149
+ function Rr(e) {
1150
+ if (!R.value || yr.value || document.activeElement !== R.value || !Z.value.length) return;
1149
1151
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1150
1152
  if (!t && !n && !r && !i) return;
1151
1153
  if (e.preventDefault(), e.stopPropagation(), i) {
1152
- P.value = null, sn.value = "pointer", Vt.value = !1, M.value = void 0;
1154
+ P.value = null, cn.value = "pointer", Ht.value = !1, M.value = void 0;
1153
1155
  return;
1154
1156
  }
1155
1157
  if (r) {
1156
1158
  if (P.value === null) return;
1157
1159
  let e = Z.value[P.value];
1158
1160
  if (!e) return;
1159
- nr(P.value, e);
1161
+ rr(P.value, e);
1160
1162
  return;
1161
1163
  }
1162
1164
  let a = P.value, o = M.value, s = a !== null && a >= 0 && a < Z.value.length, c = o != null && o >= 0 && o < Z.value.length;
1163
1165
  s ? n ? (a += 1, a >= Z.value.length && (a = 0)) : t && (--a, a < 0 && (a = Z.value.length - 1)) : c ? (a = n ? o + 1 : o - 1, a >= Z.value.length && (a = 0), a < 0 && (a = Z.value.length - 1)) : a = n ? 0 : Z.value.length - 1;
1164
1166
  let l = Z.value[a];
1165
- l && (Rr(a), ir(a, l, "keyboard"));
1167
+ l && (zr(a), ar(a, l, "keyboard"));
1166
1168
  }
1167
- function Rr(e) {
1169
+ function zr(e) {
1168
1170
  if (!Number.isFinite(e) || !R.value) return;
1169
1171
  let t = W.value.left + Y.value * e + Y.value / 2, n = W.value.top + W.value.height / 2, r = R.value.getBoundingClientRect();
1170
- on.value = {
1172
+ sn.value = {
1171
1173
  x: r.left + t / z.value.width * r.width,
1172
1174
  y: r.top + n / z.value.height * r.height
1173
1175
  };
1174
1176
  }
1175
- let zr = p(() => ({
1176
- headers: mr.value?.colNames ?? [],
1177
- rows: mr.value?.bodyA11y ?? []
1177
+ let Br = p(() => ({
1178
+ headers: hr.value?.colNames ?? [],
1179
+ rows: hr.value?.bodyA11y ?? []
1178
1180
  }));
1179
- return ve({
1180
- getImage: br,
1181
- generatePdf: Sn,
1182
- generateCsv: pr,
1183
- generateImage: Cn,
1184
- generateSvg: Or,
1185
- toggleTable: gr,
1186
- toggleTooltip: _r,
1187
- toggleAnnotator: yr,
1188
- toggleFullscreen: hr,
1189
- copyAlt: Pr
1190
- }), (e, t) => (S(), g("div", {
1181
+ return ye({
1182
+ getImage: xr,
1183
+ generatePdf: Cn,
1184
+ generateCsv: mr,
1185
+ generateImage: wn,
1186
+ generateSvg: kr,
1187
+ toggleTable: _r,
1188
+ toggleTooltip: vr,
1189
+ toggleAnnotator: br,
1190
+ toggleFullscreen: gr,
1191
+ copyAlt: Fr
1192
+ }), (e, t) => (C(), g("div", {
1191
1193
  ref_key: "candlestickChart",
1192
1194
  ref: N,
1193
1195
  class: b(`vue-data-ui-component vue-ui-candlestick ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1194
- style: je(`position:relative;font-family:${F.value.style.fontFamily}; text-align:center;background:${F.value.style.backgroundColor}; ${F.value.responsive ? "height: 100%" : ""}`),
1196
+ style: S(`position:relative;font-family:${F.value.style.fontFamily}; text-align:center;background:${F.value.style.backgroundColor}; ${F.value.responsive ? "height: 100%" : ""}`),
1195
1197
  id: `vue-ui-candlestick_${j.value}`,
1196
- onMouseenter: hn,
1197
- onMouseleave: gn
1198
+ onMouseenter: gn,
1199
+ onMouseleave: _n
1198
1200
  }, [
1199
1201
  _("div", {
1200
1202
  id: `chart-instructions-${j.value}`,
1201
1203
  class: "sr-only"
1202
- }, [_("p", null, E(F.value.a11y.translations.keyboardNavigation), 1)], 8, Ve),
1203
- zr.value?.rows?.length ? (S(), m(Se, {
1204
+ }, [_("p", null, Ie(F.value.a11y.translations.keyboardNavigation), 1)], 8, He),
1205
+ Br.value?.rows?.length ? (C(), m(Ce, {
1204
1206
  key: 0,
1205
1207
  uid: j.value,
1206
- head: zr.value.headers,
1207
- body: zr.value.rows,
1208
+ head: Br.value.headers,
1209
+ body: Br.value.rows,
1208
1210
  notice: F.value.a11y.translations.tableAvailable,
1209
1211
  caption: F.value.a11y.translations.tableCaption
1210
1212
  }, null, 8, [
@@ -1214,21 +1216,21 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1214
1216
  "notice",
1215
1217
  "caption"
1216
1218
  ])) : h("", !0),
1217
- F.value.userOptions.buttons.annotator ? (S(), m(D(jt), {
1219
+ F.value.userOptions.buttons.annotator ? (C(), m(D(Mt), {
1218
1220
  key: 1,
1219
1221
  svgRef: D(R),
1220
1222
  backgroundColor: F.value.style.backgroundColor,
1221
1223
  color: F.value.style.color,
1222
- active: vr.value,
1223
- isCursorPointer: ln.value,
1224
- onClose: yr
1224
+ active: yr.value,
1225
+ isCursorPointer: un.value,
1226
+ onClose: br
1225
1227
  }, {
1226
- "annotator-action-close": O(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1227
- "annotator-action-color": O(({ color: t }) => [T(e.$slots, "annotator-action-color", x(y({ color: t })), void 0, !0)]),
1228
- "annotator-action-draw": O(({ mode: t }) => [T(e.$slots, "annotator-action-draw", x(y({ mode: t })), void 0, !0)]),
1229
- "annotator-action-undo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-undo", x(y({ disabled: t })), void 0, !0)]),
1230
- "annotator-action-redo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-redo", x(y({ disabled: t })), void 0, !0)]),
1231
- "annotator-action-delete": O(({ disabled: t }) => [T(e.$slots, "annotator-action-delete", x(y({ disabled: t })), void 0, !0)]),
1228
+ "annotator-action-close": O(() => [E(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1229
+ "annotator-action-color": O(({ color: t }) => [E(e.$slots, "annotator-action-color", x(y({ color: t })), void 0, !0)]),
1230
+ "annotator-action-draw": O(({ mode: t }) => [E(e.$slots, "annotator-action-draw", x(y({ mode: t })), void 0, !0)]),
1231
+ "annotator-action-undo": O(({ disabled: t }) => [E(e.$slots, "annotator-action-undo", x(y({ disabled: t })), void 0, !0)]),
1232
+ "annotator-action-redo": O(({ disabled: t }) => [E(e.$slots, "annotator-action-redo", x(y({ disabled: t })), void 0, !0)]),
1233
+ "annotator-action-delete": O(({ disabled: t }) => [E(e.$slots, "annotator-action-delete", x(y({ disabled: t })), void 0, !0)]),
1232
1234
  _: 3
1233
1235
  }, 8, [
1234
1236
  "svgRef",
@@ -1237,20 +1239,20 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1237
1239
  "active",
1238
1240
  "isCursorPointer"
1239
1241
  ])) : h("", !0),
1240
- wn.value ? (S(), g("div", {
1242
+ Tn.value ? (C(), g("div", {
1241
1243
  key: 2,
1242
1244
  ref_key: "noTitle",
1243
- ref: Jt,
1245
+ ref: Yt,
1244
1246
  class: "vue-data-ui-no-title-space",
1245
1247
  style: "height:36px; width: 100%;background:transparent"
1246
1248
  }, null, 512)) : h("", !0),
1247
- F.value.style.title.text ? (S(), g("div", {
1249
+ F.value.style.title.text ? (C(), g("div", {
1248
1250
  key: 3,
1249
1251
  ref_key: "chartTitle",
1250
- ref: Wt,
1252
+ ref: Gt,
1251
1253
  style: "width:100%;background:transparent"
1252
- }, [(S(), m(_e, {
1253
- key: `title_${Zt.value}`,
1254
+ }, [(C(), m(ve, {
1255
+ key: `title_${Qt.value}`,
1254
1256
  config: {
1255
1257
  title: {
1256
1258
  cy: "candlestick-div-title",
@@ -1262,14 +1264,14 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1262
1264
  }
1263
1265
  }
1264
1266
  }, null, 8, ["config"]))], 512)) : h("", !0),
1265
- F.value.userOptions.show && zt.value && (D(mn) || D(fn)) ? (S(), m(D(Mt), {
1267
+ F.value.userOptions.show && Bt.value && (D(hn) || D(pn)) ? (C(), m(D(Nt), {
1266
1268
  ref_key: "userOptionsRef",
1267
- ref: tn,
1268
- key: `user_options_${Ut.value}`,
1269
+ ref: nn,
1270
+ key: `user_options_${Wt.value}`,
1269
1271
  backgroundColor: F.value.style.backgroundColor,
1270
1272
  color: F.value.style.color,
1271
- isImaging: D(xn),
1272
- isPrinting: D(bn),
1273
+ isImaging: D(Sn),
1274
+ isPrinting: D(xn),
1273
1275
  uid: j.value,
1274
1276
  hasTooltip: F.value.userOptions.buttons.tooltip && F.value.style.tooltip.show,
1275
1277
  hasPdf: F.value.userOptions.buttons.pdf,
@@ -1285,25 +1287,25 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1285
1287
  chartElement: N.value,
1286
1288
  position: F.value.userOptions.position,
1287
1289
  hasAnnotator: F.value.userOptions.buttons.annotator,
1288
- isAnnotation: vr.value,
1290
+ isAnnotation: yr.value,
1289
1291
  callbacks: F.value.userOptions.callbacks,
1290
1292
  printScale: F.value.userOptions.print.scale,
1291
1293
  tableDialog: F.value.table.useDialog,
1292
- isCursorPointer: ln.value,
1293
- onToggleFullscreen: hr,
1294
- onGeneratePdf: D(Sn),
1295
- onGenerateCsv: pr,
1296
- onGenerateImage: Nr,
1297
- onGenerateSvg: Or,
1298
- onToggleTable: gr,
1299
- onToggleTooltip: _r,
1300
- onToggleAnnotator: yr,
1301
- onCopyAlt: Pr,
1302
- style: je({ visibility: D(mn) ? D(fn) ? "visible" : "hidden" : "visible" })
1303
- }, Ee({ _: 2 }, [
1294
+ isCursorPointer: un.value,
1295
+ onToggleFullscreen: gr,
1296
+ onGeneratePdf: D(Cn),
1297
+ onGenerateCsv: mr,
1298
+ onGenerateImage: Pr,
1299
+ onGenerateSvg: kr,
1300
+ onToggleTable: _r,
1301
+ onToggleTooltip: vr,
1302
+ onToggleAnnotator: br,
1303
+ onCopyAlt: Fr,
1304
+ style: S({ visibility: D(hn) ? D(pn) ? "visible" : "hidden" : "visible" })
1305
+ }, De({ _: 2 }, [
1304
1306
  e.$slots.menuIcon ? {
1305
1307
  name: "menuIcon",
1306
- fn: O(({ isOpen: t, color: n }) => [T(e.$slots, "menuIcon", x(y({
1308
+ fn: O(({ isOpen: t, color: n }) => [E(e.$slots, "menuIcon", x(y({
1307
1309
  isOpen: t,
1308
1310
  color: n
1309
1311
  })), void 0, !0)]),
@@ -1311,37 +1313,37 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1311
1313
  } : void 0,
1312
1314
  e.$slots.optionTooltip ? {
1313
1315
  name: "optionTooltip",
1314
- fn: O(() => [T(e.$slots, "optionTooltip", {}, void 0, !0)]),
1316
+ fn: O(() => [E(e.$slots, "optionTooltip", {}, void 0, !0)]),
1315
1317
  key: "1"
1316
1318
  } : void 0,
1317
1319
  e.$slots.optionPdf ? {
1318
1320
  name: "optionPdf",
1319
- fn: O(() => [T(e.$slots, "optionPdf", {}, void 0, !0)]),
1321
+ fn: O(() => [E(e.$slots, "optionPdf", {}, void 0, !0)]),
1320
1322
  key: "2"
1321
1323
  } : void 0,
1322
1324
  e.$slots.optionCsv ? {
1323
1325
  name: "optionCsv",
1324
- fn: O(() => [T(e.$slots, "optionCsv", {}, void 0, !0)]),
1326
+ fn: O(() => [E(e.$slots, "optionCsv", {}, void 0, !0)]),
1325
1327
  key: "3"
1326
1328
  } : void 0,
1327
1329
  e.$slots.optionImg ? {
1328
1330
  name: "optionImg",
1329
- fn: O(() => [T(e.$slots, "optionImg", {}, void 0, !0)]),
1331
+ fn: O(() => [E(e.$slots, "optionImg", {}, void 0, !0)]),
1330
1332
  key: "4"
1331
1333
  } : void 0,
1332
1334
  e.$slots.optionSvg ? {
1333
1335
  name: "optionSvg",
1334
- fn: O(() => [T(e.$slots, "optionSvg", {}, void 0, !0)]),
1336
+ fn: O(() => [E(e.$slots, "optionSvg", {}, void 0, !0)]),
1335
1337
  key: "5"
1336
1338
  } : void 0,
1337
1339
  e.$slots.optionTable ? {
1338
1340
  name: "optionTable",
1339
- fn: O(() => [T(e.$slots, "optionTable", {}, void 0, !0)]),
1341
+ fn: O(() => [E(e.$slots, "optionTable", {}, void 0, !0)]),
1340
1342
  key: "6"
1341
1343
  } : void 0,
1342
1344
  e.$slots.optionFullscreen ? {
1343
1345
  name: "optionFullscreen",
1344
- fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [T(e.$slots, "optionFullscreen", x(y({
1346
+ fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [E(e.$slots, "optionFullscreen", x(y({
1345
1347
  toggleFullscreen: t,
1346
1348
  isFullscreen: n
1347
1349
  })), void 0, !0)]),
@@ -1349,7 +1351,7 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1349
1351
  } : void 0,
1350
1352
  e.$slots.optionAnnotator ? {
1351
1353
  name: "optionAnnotator",
1352
- fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [T(e.$slots, "optionAnnotator", x(y({
1354
+ fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [E(e.$slots, "optionAnnotator", x(y({
1353
1355
  toggleAnnotator: t,
1354
1356
  isAnnotator: n
1355
1357
  })), void 0, !0)]),
@@ -1357,21 +1359,21 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1357
1359
  } : void 0,
1358
1360
  e.$slots.optionAltCopy ? {
1359
1361
  name: "optionAltCopy",
1360
- fn: O(({ altCopy: t }) => [T(e.$slots, "optionAltCopy", x(y({ altCopy: t })), void 0, !0)]),
1362
+ fn: O(({ altCopy: t }) => [E(e.$slots, "optionAltCopy", x(y({ altCopy: t })), void 0, !0)]),
1361
1363
  key: "9"
1362
1364
  } : void 0,
1363
1365
  e.$slots["custom-menu-before"] ? {
1364
1366
  name: "custom-menu-before",
1365
- fn: O(() => [T(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1367
+ fn: O(() => [E(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1366
1368
  key: "10"
1367
1369
  } : void 0,
1368
1370
  e.$slots["custom-menu-after"] ? {
1369
1371
  name: "custom-menu-after",
1370
- fn: O(() => [T(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1372
+ fn: O(() => [E(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1371
1373
  key: "11"
1372
1374
  } : void 0
1373
1375
  ]), 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.style".split("."))) : h("", !0),
1374
- _("div", He, [(S(), g("svg", {
1376
+ _("div", Ue, [(C(), g("svg", {
1375
1377
  ref_key: "svgRef",
1376
1378
  ref: R,
1377
1379
  xmlns: D(re),
@@ -1381,22 +1383,22 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1381
1383
  "vue-data-ui-fulscreen--off": !$.value
1382
1384
  }),
1383
1385
  viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
1384
- style: je(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.color}`),
1386
+ style: S(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.color}`),
1385
1387
  tabindex: "0",
1386
- onFocus: Fr,
1387
- onBlur: Ir,
1388
- onKeydown: Lr
1388
+ onFocus: Ir,
1389
+ onBlur: Lr,
1390
+ onKeydown: Rr
1389
1391
  }, [
1390
- Oe(D(Nt)),
1391
- e.$slots["chart-background"] ? (S(), g("foreignObject", {
1392
+ ke(D(Pt)),
1393
+ e.$slots["chart-background"] ? (C(), g("foreignObject", {
1392
1394
  key: 0,
1393
1395
  x: W.value.left,
1394
1396
  y: W.value.top,
1395
1397
  width: Math.max(.1, W.value.width),
1396
1398
  height: Math.max(.1, W.value.height),
1397
1399
  style: { pointerEvents: "none" }
1398
- }, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, We)) : h("", !0),
1399
- Z.value.length > 0 ? (S(), g("g", Ge, [
1400
+ }, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, Ge)) : h("", !0),
1401
+ Z.value.length > 0 ? (C(), g("g", Ke, [
1400
1402
  _("defs", null, [_("linearGradient", {
1401
1403
  id: `bearish_gradient_${j.value}`,
1402
1404
  x2: "0%",
@@ -1405,16 +1407,16 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1405
1407
  _("stop", {
1406
1408
  offset: "0%",
1407
1409
  "stop-color": F.value.style.layout.candle.colors.bearish
1408
- }, null, 8, qe),
1410
+ }, null, 8, Je),
1409
1411
  _("stop", {
1410
1412
  offset: "50%",
1411
- "stop-color": `${D(r)(F.value.style.layout.candle.colors.bearish, .02)}DE`
1412
- }, null, 8, Je),
1413
+ "stop-color": `${D(a)(F.value.style.layout.candle.colors.bearish, .02)}DE`
1414
+ }, null, 8, Ye),
1413
1415
  _("stop", {
1414
1416
  offset: "100%",
1415
- "stop-color": `${D(r)(F.value.style.layout.candle.colors.bearish, .05)}66`
1416
- }, null, 8, Ye)
1417
- ], 8, Ke), _("linearGradient", {
1417
+ "stop-color": `${D(a)(F.value.style.layout.candle.colors.bearish, .05)}66`
1418
+ }, null, 8, Xe)
1419
+ ], 8, qe), _("linearGradient", {
1418
1420
  id: `bullish_gradient_${j.value}`,
1419
1421
  x2: "0%",
1420
1422
  y2: "100%"
@@ -1422,17 +1424,17 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1422
1424
  _("stop", {
1423
1425
  offset: "0%",
1424
1426
  "stop-color": F.value.style.layout.candle.colors.bullish
1425
- }, null, 8, Ze),
1427
+ }, null, 8, Qe),
1426
1428
  _("stop", {
1427
1429
  offset: "50%",
1428
- "stop-color": `${D(r)(F.value.style.layout.candle.colors.bullish, .02)}DE`
1429
- }, null, 8, Qe),
1430
+ "stop-color": `${D(a)(F.value.style.layout.candle.colors.bullish, .02)}DE`
1431
+ }, null, 8, $e),
1430
1432
  _("stop", {
1431
1433
  offset: "100%",
1432
- "stop-color": `${D(r)(F.value.style.layout.candle.colors.bullish, .05)}66`
1433
- }, null, 8, $e)
1434
- ], 8, Xe)]),
1435
- F.value.style.layout.grid.show ? (S(), g("g", et, [
1434
+ "stop-color": `${D(a)(F.value.style.layout.candle.colors.bullish, .05)}66`
1435
+ }, null, 8, et)
1436
+ ], 8, Ze)]),
1437
+ F.value.style.layout.grid.show ? (C(), g("g", tt, [
1436
1438
  _("line", {
1437
1439
  x1: U.value ? W.value.right : W.value.left,
1438
1440
  x2: U.value ? W.value.right : W.value.left,
@@ -1441,7 +1443,7 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1441
1443
  stroke: F.value.style.layout.grid.stroke,
1442
1444
  "stroke-width": F.value.style.layout.grid.strokeWidth,
1443
1445
  "stroke-linecap": "round"
1444
- }, null, 8, tt),
1446
+ }, null, 8, nt),
1445
1447
  _("line", {
1446
1448
  x1: W.value.left,
1447
1449
  x2: W.value.right,
@@ -1450,8 +1452,8 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1450
1452
  stroke: F.value.style.layout.grid.stroke,
1451
1453
  "stroke-width": F.value.style.layout.grid.strokeWidth,
1452
1454
  "stroke-linecap": "round"
1453
- }, null, 8, nt),
1454
- F.value.style.layout.grid.horizontalLines.show ? (S(!0), g(f, { key: 0 }, w(Hn.value, (e) => (S(), g("line", {
1455
+ }, null, 8, rt),
1456
+ F.value.style.layout.grid.horizontalLines.show ? (C(!0), g(f, { key: 0 }, T(Un.value, (e) => (C(), g("line", {
1455
1457
  x1: W.value.left,
1456
1458
  x2: W.value.right,
1457
1459
  y1: e.y,
@@ -1460,8 +1462,8 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1460
1462
  "stroke-width": F.value.style.layout.grid.horizontalLines.strokeWidth,
1461
1463
  "stroke-dasharray": F.value.style.layout.grid.horizontalLines.strokeDasharray,
1462
1464
  "stroke-linecap": "round"
1463
- }, null, 8, rt))), 256)) : h("", !0),
1464
- F.value.style.layout.grid.verticalLines.show ? (S(!0), g(f, { key: 1 }, w($n.value, (e, t) => (S(), g("g", null, [e.text ? (S(), g("line", {
1465
+ }, null, 8, it))), 256)) : h("", !0),
1466
+ F.value.style.layout.grid.verticalLines.show ? (C(!0), g(f, { key: 1 }, T(er.value, (e, t) => (C(), g("g", null, [e.text ? (C(), g("line", {
1465
1467
  key: 0,
1466
1468
  x1: W.value.left + Y.value * t + Y.value / 2,
1467
1469
  x2: W.value.left + Y.value * t + Y.value / 2,
@@ -1471,8 +1473,8 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1471
1473
  "stroke-width": F.value.style.layout.grid.verticalLines.strokeWidth,
1472
1474
  "stroke-dasharray": F.value.style.layout.grid.verticalLines.strokeDasharray,
1473
1475
  "stroke-linecap": "round"
1474
- }, null, 8, it)) : h("", !0)]))), 256)) : h("", !0),
1475
- F.value.style.layout.grid.xAxis.ticks.show ? (S(!0), g(f, { key: 2 }, w($n.value, (e, t) => (S(), g("g", null, [e.text ? (S(), g("line", {
1476
+ }, null, 8, at)) : h("", !0)]))), 256)) : h("", !0),
1477
+ F.value.style.layout.grid.xAxis.ticks.show ? (C(!0), g(f, { key: 2 }, T(er.value, (e, t) => (C(), g("g", null, [e.text ? (C(), g("line", {
1476
1478
  key: 0,
1477
1479
  x1: W.value.left + Y.value * t + Y.value / 2,
1478
1480
  x2: W.value.left + Y.value * t + Y.value / 2,
@@ -1481,13 +1483,13 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1481
1483
  stroke: F.value.style.layout.grid.stroke,
1482
1484
  "stroke-width": F.value.style.layout.grid.strokeWidth,
1483
1485
  "stroke-linecap": "round"
1484
- }, null, 8, at)) : h("", !0)]))), 256)) : h("", !0)
1486
+ }, null, 8, ot)) : h("", !0)]))), 256)) : h("", !0)
1485
1487
  ])) : h("", !0),
1486
- F.value.style.layout.grid.yAxis.dataLabels.show ? (S(), g("g", {
1488
+ F.value.style.layout.grid.yAxis.dataLabels.show ? (C(), g("g", {
1487
1489
  key: 1,
1488
1490
  ref_key: "scaleLabels",
1489
- ref: Qt
1490
- }, [(S(!0), g(f, null, w(Hn.value, (e, t) => (S(), g("g", null, [e.value >= X.value.min && e.value <= X.value.max ? (S(), g("line", {
1491
+ ref: $t
1492
+ }, [(C(!0), g(f, null, T(Un.value, (e, t) => (C(), g("g", null, [e.value >= X.value.min && e.value <= X.value.max ? (C(), g("line", {
1491
1493
  key: 0,
1492
1494
  x1: U.value ? W.value.right : W.value.left,
1493
1495
  x2: U.value ? W.value.right + 5 : W.value.left - 5,
@@ -1496,7 +1498,7 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1496
1498
  stroke: F.value.style.layout.grid.stroke,
1497
1499
  "stroke-width": F.value.style.layout.grid.strokeWidth,
1498
1500
  "stroke-linecap": "round"
1499
- }, null, 8, ot)) : h("", !0), e.value >= X.value.min && e.value <= X.value.max ? (S(), g("text", {
1501
+ }, null, 8, st)) : h("", !0), e.value >= X.value.min && e.value <= X.value.max ? (C(), g("text", {
1500
1502
  key: 1,
1501
1503
  x: 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,
1502
1504
  y: e.y + z.value.yAxisFontSize / 3,
@@ -1504,37 +1506,37 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1504
1506
  "font-size": z.value.yAxisFontSize,
1505
1507
  fill: F.value.style.layout.grid.yAxis.dataLabels.color,
1506
1508
  "font-weight": F.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
1507
- }, E(D(u)({
1509
+ }, Ie(D(u)({
1508
1510
  p: F.value.style.layout.grid.yAxis.dataLabels.prefix,
1509
1511
  v: e.value,
1510
1512
  s: F.value.style.layout.grid.yAxis.dataLabels.suffix,
1511
1513
  r: F.value.style.layout.grid.yAxis.dataLabels.roundingValue
1512
- })), 9, st)) : h("", !0)]))), 256))], 512)) : h("", !0),
1513
- F.value.style.layout.grid.xAxis.dataLabels.show && !F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (S(), g("g", {
1514
+ })), 9, ct)) : h("", !0)]))), 256))], 512)) : h("", !0),
1515
+ F.value.style.layout.grid.xAxis.dataLabels.show && !F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (C(), g("g", {
1514
1516
  key: 2,
1515
1517
  ref_key: "timeLabelsEls",
1516
- ref: $t
1517
- }, [(S(!0), g(f, null, w(Un.value, (e, t) => (S(), g("g", null, [_("text", {
1518
+ ref: en
1519
+ }, [(C(!0), g(f, null, T(Wn.value, (e, t) => (C(), g("g", null, [_("text", {
1518
1520
  class: "vue-data-ui-time-label",
1519
1521
  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})`,
1520
1522
  "text-anchor": F.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : F.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1521
1523
  "font-size": z.value.xAxisFontSize,
1522
1524
  fill: F.value.style.layout.grid.xAxis.dataLabels.color,
1523
1525
  "font-weight": F.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
1524
- }, E(e), 9, ct)]))), 256))], 512)) : h("", !0),
1525
- F.value.style.layout.grid.xAxis.dataLabels.show && F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (S(), g("g", {
1526
+ }, Ie(e), 9, lt)]))), 256))], 512)) : h("", !0),
1527
+ F.value.style.layout.grid.xAxis.dataLabels.show && F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (C(), g("g", {
1526
1528
  key: 3,
1527
1529
  ref_key: "timeLabelsEls",
1528
- ref: $t
1529
- }, [(S(!0), g(f, null, w($n.value, (e, t) => (S(), g("g", null, [_("text", {
1530
+ ref: en
1531
+ }, [(C(!0), g(f, null, T(er.value, (e, t) => (C(), g("g", null, [_("text", {
1530
1532
  class: "vue-data-ui-time-label",
1531
1533
  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})`,
1532
1534
  "text-anchor": F.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : F.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1533
1535
  "font-size": z.value.xAxisFontSize,
1534
1536
  fill: F.value.style.layout.grid.xAxis.dataLabels.color,
1535
1537
  "font-weight": F.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
1536
- }, E(e?.text ?? ""), 9, lt)]))), 256))], 512)) : h("", !0),
1537
- 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, [
1538
+ }, Ie(e?.text ?? ""), 9, ut)]))), 256))], 512)) : h("", !0),
1539
+ F.value.type === "candlestick" ? (C(), g(f, { key: 4 }, [_("g", null, [(C(!0), g(f, null, T(Z.value, (e, t) => (C(), g("g", null, [
1538
1540
  _("rect", {
1539
1541
  x: e.open.x - F.value.style.layout.wick.strokeWidth / 2,
1540
1542
  y: e.high.y,
@@ -1544,21 +1546,21 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1544
1546
  stroke: "none",
1545
1547
  rx: F.value.style.layout.wick.strokeWidth / 2,
1546
1548
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1547
- }, null, 10, ut),
1548
- F.value.style.layout.wick.extremity.shape === "circle" ? (S(), g("g", dt, [_("circle", {
1549
+ }, null, 10, dt),
1550
+ F.value.style.layout.wick.extremity.shape === "circle" ? (C(), g("g", ft, [_("circle", {
1549
1551
  cx: e.high.x,
1550
1552
  cy: e.high.y,
1551
1553
  r: F.value.style.layout.wick.extremity.size === "auto" ? Y.value / 20 : F.value.style.layout.wick.extremity.size,
1552
1554
  fill: F.value.style.layout.wick.extremity.color,
1553
1555
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1554
- }, null, 10, ft), _("circle", {
1556
+ }, null, 10, pt), _("circle", {
1555
1557
  cx: e.low.x,
1556
1558
  cy: e.low.y,
1557
1559
  r: F.value.style.layout.wick.extremity.size === "auto" ? Y.value / 20 : F.value.style.layout.wick.extremity.size,
1558
1560
  fill: F.value.style.layout.wick.extremity.color,
1559
1561
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1560
- }, null, 10, pt)])) : h("", !0),
1561
- F.value.style.layout.wick.extremity.shape === "line" ? (S(), g("g", mt, [_("rect", {
1562
+ }, null, 10, mt)])) : h("", !0),
1563
+ F.value.style.layout.wick.extremity.shape === "line" ? (C(), g("g", ht, [_("rect", {
1562
1564
  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,
1563
1565
  y: e.high.y - F.value.style.layout.wick.strokeWidth / 2,
1564
1566
  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)),
@@ -1567,7 +1569,7 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1567
1569
  fill: F.value.style.layout.wick.extremity.color,
1568
1570
  stroke: "none",
1569
1571
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1570
- }, null, 10, ht), _("rect", {
1572
+ }, null, 10, gt), _("rect", {
1571
1573
  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,
1572
1574
  y: e.low.y - F.value.style.layout.wick.strokeWidth / 2,
1573
1575
  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)),
@@ -1576,8 +1578,8 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1576
1578
  stroke: "none",
1577
1579
  rx: F.value.style.layout.wick.strokeWidth / 2,
1578
1580
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1579
- }, null, 10, gt)])) : h("", !0)
1580
- ]))), 256))]), _("g", null, [(S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("rect", {
1581
+ }, null, 10, _t)])) : h("", !0)
1582
+ ]))), 256))]), _("g", null, [(C(!0), g(f, null, T(Z.value, (e, t) => (C(), g("rect", {
1581
1583
  x: e.open.x - Y.value / 2 + Y.value * (1 - F.value.style.layout.candle.widthRatio) / 2,
1582
1584
  y: e.isBullish ? e.close.y : e.open.y,
1583
1585
  height: Math.abs(e.close.y - e.open.y) <= 0 ? 1e-4 : Math.abs(e.close.y - e.open.y),
@@ -1586,7 +1588,7 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1586
1588
  rx: F.value.style.layout.candle.borderRadius,
1587
1589
  stroke: "none",
1588
1590
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1589
- }, null, 10, _t))), 256)), (S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("rect", {
1591
+ }, null, 10, vt))), 256)), (C(!0), g(f, null, T(Z.value, (e, t) => (C(), g("rect", {
1590
1592
  x: e.open.x - Y.value / 2 + Y.value * (1 - F.value.style.layout.candle.widthRatio) / 2,
1591
1593
  y: e.isBullish ? e.close.y : e.open.y,
1592
1594
  height: Math.abs(e.close.y - e.open.y) <= 0 ? 1e-4 : Math.abs(e.close.y - e.open.y),
@@ -1598,44 +1600,45 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1598
1600
  "stroke-linecap": "round",
1599
1601
  "stroke-linejoin": "round",
1600
1602
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1601
- }, null, 10, vt))), 256))])], 64)) : h("", !0),
1602
- F.value.type === "ohlc" ? (S(!0), g(f, { key: 5 }, w(Z.value, (e, t) => (S(), g("g", null, [_("path", {
1603
+ }, null, 10, yt))), 256))])], 64)) : h("", !0),
1604
+ F.value.type === "ohlc" ? (C(!0), g(f, { key: 5 }, T(Z.value, (e, t) => (C(), g("g", null, [_("path", {
1603
1605
  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}`,
1604
1606
  stroke: e.isBullish ? F.value.style.layout.candle.colors.bullish : F.value.style.layout.candle.colors.bearish,
1605
1607
  "stroke-width": 1
1606
- }, null, 8, yt)]))), 256)) : h("", !0),
1607
- _("g", null, [(S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("rect", {
1608
+ }, null, 8, bt)]))), 256)) : h("", !0),
1609
+ _("g", null, [(C(!0), g(f, null, T(Z.value, (e, t) => (C(), g("rect", {
1608
1610
  x: W.value.left + t * Y.value,
1609
1611
  y: W.value.top,
1610
1612
  height: W.value.height <= 0 ? 1e-4 : W.value.height,
1611
1613
  width: Y.value <= 0 ? 1e-4 : Y.value,
1612
- fill: M.value === t || nn.value === t ? D(n)(F.value.style.layout.selector.color, F.value.style.layout.selector.opacity) : "transparent",
1613
- onMouseover: () => ir(t, e, "pointer"),
1614
- onMouseleave: () => rr(t, e),
1615
- onClick: () => nr(t, e)
1616
- }, null, 40, bt))), 256))])
1614
+ fill: M.value === t || rn.value === t ? D(n)(F.value.style.layout.selector.color, F.value.style.layout.selector.opacity) : "transparent",
1615
+ onMouseover: () => ar(t, e, "pointer"),
1616
+ onMouseleave: () => ir(t, e),
1617
+ onClick: () => rr(t, e)
1618
+ }, null, 40, xt))), 256))])
1617
1619
  ])) : h("", !0),
1618
- An.value ? (S(), g("rect", ke({ key: 2 }, kn.value, {
1620
+ jn.value ? (C(), g("rect", Ae({ key: 2 }, An.value, {
1619
1621
  "data-start": K.value.start,
1620
1622
  "data-end": K.value.end
1621
- }), null, 16, xt)) : h("", !0),
1622
- T(e.$slots, "svg", { svg: {
1623
+ }), null, 16, St)) : h("", !0),
1624
+ E(e.$slots, "svg", { svg: {
1623
1625
  ...z.value,
1624
1626
  data: Z.value,
1625
1627
  drawingArea: W.value,
1626
- isPrintingImg: D(bn) || D(xn) || rn.value,
1627
- isPrintingSvg: an.value
1628
+ isPrintingImg: D(xn) || D(Sn) || an.value,
1629
+ isPrintingSvg: on.value
1628
1630
  } }, void 0, !0)
1629
- ], 46, Ue)), e.$slots.hint ? (S(), g("div", St, [T(e.$slots, "hint", x(y({
1631
+ ], 46, We)), e.$slots.hint ? (C(), g("div", Ct, [E(e.$slots, "hint", x(y({
1630
1632
  hint: F.value.a11y.translations.keyboardNavigation,
1631
- isVisible: cn.value
1633
+ isVisible: ln.value
1632
1634
  })), void 0, !0)])) : h("", !0)]),
1633
- e.$slots.watermark ? (S(), g("div", Ct, [T(e.$slots, "watermark", x(y({ isPrinting: D(bn) || D(xn) || rn.value || an.value })), void 0, !0)])) : h("", !0),
1634
- F.value.style.zoom.show && G.value > 6 && zt.value && lr.value ? (S(), m(xe, {
1635
+ e.$slots.watermark ? (C(), g("div", wt, [E(e.$slots, "watermark", x(y({ isPrinting: D(xn) || D(Sn) || an.value || on.value })), void 0, !0)])) : h("", !0),
1636
+ F.value.style.zoom.show && G.value > 6 && Bt.value && ur.value ? (C(), m(Se, {
1635
1637
  key: 6,
1636
1638
  ref_key: "chartSlicer",
1637
- ref: Kt,
1638
- allMinimaps: Bn.value,
1639
+ ref: qt,
1640
+ "data-dom-to-png-ignore-layout": "",
1641
+ allMinimaps: Vn.value,
1639
1642
  background: F.value.style.zoom.color,
1640
1643
  borderColor: F.value.style.backgroundColor,
1641
1644
  customFormat: F.value.style.zoom.customFormat,
@@ -1648,9 +1651,9 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1648
1651
  fontSize: F.value.style.zoom.fontSize,
1649
1652
  immediate: !F.value.style.zoom.preview.enable,
1650
1653
  inputColor: F.value.style.zoom.color,
1651
- isPreview: An.value,
1652
- labelLeft: er.value.start || "",
1653
- labelRight: er.value.end || "",
1654
+ isPreview: jn.value,
1655
+ labelLeft: tr.value.start || "",
1656
+ labelRight: tr.value.end || "",
1654
1657
  max: G.value,
1655
1658
  min: 0,
1656
1659
  minimap: F.value.style.zoom.minimap.show ? D(L).map((e) => e[2]) : [],
@@ -1662,7 +1665,7 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1662
1665
  minimapSelectedColorOpacity: F.value.style.zoom.minimap.selectedColorOpacity,
1663
1666
  minimapSelectedIndex: M.value,
1664
1667
  minimapSelectionRadius: 1,
1665
- preciseLabels: Qn.value,
1668
+ preciseLabels: $n.value,
1666
1669
  refreshEndPoint: F.value.style.zoom.endIndex === null ? G.value : F.value.style.zoom.endIndex + 1,
1667
1670
  refreshStartPoint: F.value.style.zoom.startIndex === null ? 0 : F.value.style.zoom.startIndex,
1668
1671
  selectColor: F.value.style.zoom.highlightColor,
@@ -1670,7 +1673,7 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1670
1673
  smoothMinimap: !1,
1671
1674
  start: K.value.start,
1672
1675
  textColor: F.value.style.color,
1673
- timeLabels: Wn.value,
1676
+ timeLabels: Gn.value,
1674
1677
  usePreciseLabels: F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable && !F.value.style.zoom.useDefaultFormat,
1675
1678
  useResetSlot: F.value.style.zoom.useResetSlot,
1676
1679
  valueEnd: K.value.end,
@@ -1686,43 +1689,43 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1686
1689
  handleBorderColor: F.value.style.zoom.minimap.handleBorderColor,
1687
1690
  handleFill: F.value.style.zoom.minimap.handleFill,
1688
1691
  handleWidth: F.value.style.zoom.minimap.handleWidth,
1689
- "onUpdate:end": jr,
1690
- "onUpdate:start": Ar,
1691
- onTrapMouse: kr,
1692
- onReset: sr,
1693
- onFutureEnd: t[0] ||= (e) => jn("end", e),
1694
- onFutureStart: t[1] ||= (e) => jn("start", e)
1692
+ "onUpdate:end": Mr,
1693
+ "onUpdate:start": jr,
1694
+ onTrapMouse: Ar,
1695
+ onReset: cr,
1696
+ onFutureEnd: t[0] ||= (e) => Mn("end", e),
1697
+ onFutureStart: t[1] ||= (e) => Mn("start", e)
1695
1698
  }, {
1696
- "reset-action": O(({ reset: t }) => [T(e.$slots, "reset-action", x(y({ reset: t })), void 0, !0)]),
1697
- slotMap: O(({ height: e, unitW: t }) => [(S(!0), g(f, null, w(zn.value({
1699
+ "reset-action": O(({ reset: t }) => [E(e.$slots, "reset-action", x(y({ reset: t })), void 0, !0)]),
1700
+ slotMap: O(({ height: e, unitW: t }) => [(C(!0), g(f, null, T(Bn.value({
1698
1701
  minimapH: e,
1699
1702
  unitW: t
1700
- }), (e, n) => (S(), g("g", null, [_("path", {
1703
+ }), (e, n) => (C(), g("g", null, [_("path", {
1701
1704
  d: `M ${e.high.x},${e.high.y} ${e.low.x},${e.low.y}`,
1702
1705
  stroke: e.isBullish ? F.value.style.layout.candle.colors.bullish : F.value.style.layout.candle.colors.bearish,
1703
1706
  "stroke-width": 1,
1704
- style: je({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1705
- }, null, 12, wt), _("path", {
1707
+ style: S({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1708
+ }, null, 12, Tt), _("path", {
1706
1709
  d: `M ${e.open.x},${e.open.y} ${e.close.x},${e.close.y}`,
1707
1710
  stroke: e.isBullish ? F.value.style.layout.candle.colors.bullish : F.value.style.layout.candle.colors.bearish,
1708
1711
  "stroke-width": Math.min(6, t / 1.5),
1709
- style: je({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1710
- }, null, 12, Tt)]))), 256))]),
1712
+ style: S({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1713
+ }, null, 12, Et)]))), 256))]),
1711
1714
  _: 3
1712
1715
  }, 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.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : h("", !0),
1713
1716
  _("div", {
1714
1717
  ref_key: "chartLegend",
1715
- ref: Gt
1716
- }, [T(e.$slots, "legend", { legend: Z.value }, void 0, !0)], 512),
1717
- e.$slots.source ? (S(), g("div", {
1718
+ ref: Kt
1719
+ }, [E(e.$slots, "legend", { legend: Z.value }, void 0, !0)], 512),
1720
+ e.$slots.source ? (C(), g("div", {
1718
1721
  key: 7,
1719
1722
  ref_key: "source",
1720
- ref: qt,
1723
+ ref: Jt,
1721
1724
  dir: "auto"
1722
- }, [T(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
1723
- Oe(D(Ot), {
1725
+ }, [E(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
1726
+ ke(D(kt), {
1724
1727
  teleportTo: F.value.style.tooltip.teleportTo,
1725
- show: H.value.showTooltip && Vt.value,
1728
+ show: H.value.showTooltip && Ht.value,
1726
1729
  backgroundColor: F.value.style.tooltip.backgroundColor,
1727
1730
  color: F.value.style.tooltip.color,
1728
1731
  borderRadius: F.value.style.tooltip.borderRadius,
@@ -1734,19 +1737,19 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1734
1737
  offsetX: F.value.style.tooltip.offsetX,
1735
1738
  offsetY: F.value.style.tooltip.offsetY,
1736
1739
  parent: N.value,
1737
- content: Ht.value,
1740
+ content: Ut.value,
1738
1741
  isFullscreen: $.value,
1739
1742
  isCustom: F.value.style.tooltip.customFormat && typeof F.value.style.tooltip.customFormat == "function",
1740
1743
  smooth: F.value.style.tooltip.smooth,
1741
1744
  backdropFilter: F.value.style.tooltip.backdropFilter,
1742
1745
  smoothForce: F.value.style.tooltip.smoothForce,
1743
1746
  smoothSnapThreshold: F.value.style.tooltip.smoothSnapThreshold,
1744
- isA11yMode: sn.value === "keyboard",
1745
- a11yPosition: on.value
1747
+ isA11yMode: cn.value === "keyboard",
1748
+ a11yPosition: sn.value
1746
1749
  }, {
1747
- "tooltip-before": O(() => [T(e.$slots, "tooltip-before", x(y({ ...tr.value })), void 0, !0)]),
1748
- tooltip: O(() => [T(e.$slots, "tooltip", x(y({ ...tr.value })), void 0, !0)]),
1749
- "tooltip-after": O(() => [T(e.$slots, "tooltip-after", x(y({ ...tr.value })), void 0, !0)]),
1750
+ "tooltip-before": O(() => [E(e.$slots, "tooltip-before", x(y({ ...nr.value })), void 0, !0)]),
1751
+ tooltip: O(() => [E(e.$slots, "tooltip", x(y({ ...nr.value })), void 0, !0)]),
1752
+ "tooltip-after": O(() => [E(e.$slots, "tooltip-after", x(y({ ...nr.value })), void 0, !0)]),
1750
1753
  _: 3
1751
1754
  }, 8, [
1752
1755
  "teleportTo",
@@ -1772,24 +1775,24 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1772
1775
  "isA11yMode",
1773
1776
  "a11yPosition"
1774
1777
  ]),
1775
- zt.value && F.value.userOptions.buttons.table ? (S(), m(Pe(Cr.value.component), ke({ key: 8 }, Cr.value.props, {
1778
+ Bt.value && F.value.userOptions.buttons.table ? (C(), m(Pe(wr.value.component), Ae({ key: 8 }, wr.value.props, {
1776
1779
  ref_key: "tableUnit",
1777
- ref: en,
1778
- onClose: wr
1779
- }), Ee({
1780
- content: O(() => [(S(), m(D(At), {
1781
- key: `table_${Xt.value}`,
1782
- colNames: mr.value.colNames,
1783
- head: mr.value.head,
1784
- body: mr.value.body,
1785
- config: mr.value.config,
1786
- title: F.value.table.useDialog ? "" : Cr.value.title,
1780
+ ref: tn,
1781
+ onClose: Tr
1782
+ }), De({
1783
+ content: O(() => [(C(), m(D(jt), {
1784
+ key: `table_${Zt.value}`,
1785
+ colNames: hr.value.colNames,
1786
+ head: hr.value.head,
1787
+ body: hr.value.body,
1788
+ config: hr.value.config,
1789
+ title: F.value.table.useDialog ? "" : wr.value.title,
1787
1790
  withCloseButton: !F.value.table.useDialog,
1788
- isCursorPointer: ln.value,
1789
- onClose: wr
1791
+ isCursorPointer: un.value,
1792
+ onClose: Tr
1790
1793
  }, {
1791
- th: O(({ th: e }) => [De(E(e), 1)]),
1792
- td: O(({ td: e }) => [_("div", { innerHTML: e }, null, 8, Et)]),
1794
+ th: O(({ th: e }) => [Oe(Ie(e), 1)]),
1795
+ td: O(({ td: e }) => [_("div", { innerHTML: e }, null, 8, Dt)]),
1793
1796
  _: 1
1794
1797
  }, 8, [
1795
1798
  "colNames",
@@ -1803,24 +1806,24 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1803
1806
  _: 2
1804
1807
  }, [F.value.table.useDialog ? {
1805
1808
  name: "title",
1806
- fn: O(() => [De(E(Cr.value.title), 1)]),
1809
+ fn: O(() => [Oe(Ie(wr.value.title), 1)]),
1807
1810
  key: "0"
1808
1811
  } : void 0, F.value.table.useDialog ? {
1809
1812
  name: "actions",
1810
1813
  fn: O(() => [_("button", {
1811
1814
  tabindex: "0",
1812
1815
  class: "vue-ui-user-options-button",
1813
- onClick: t[2] ||= (e) => pr(F.value.userOptions.callbacks.csv),
1814
- style: je({ cursor: ln.value ? "pointer" : "default" })
1815
- }, [Oe(D(Dt), {
1816
+ onClick: t[2] ||= (e) => mr(F.value.userOptions.callbacks.csv),
1817
+ style: S({ cursor: un.value ? "pointer" : "default" })
1818
+ }, [ke(D(Ot), {
1816
1819
  name: "fileCsv",
1817
- stroke: Cr.value.props.color
1820
+ stroke: wr.value.props.color
1818
1821
  }, null, 8, ["stroke"])], 4)]),
1819
1822
  key: "1"
1820
1823
  } : void 0]), 1040)) : h("", !0),
1821
- T(e.$slots, "skeleton", {}, () => [D(I) ? (S(), m(de, { key: 0 })) : h("", !0)], !0)
1822
- ], 46, Be));
1824
+ E(e.$slots, "skeleton", {}, () => [D(I) ? (C(), m(fe, { key: 0 })) : h("", !0)], !0)
1825
+ ], 46, Ve));
1823
1826
  }
1824
- }, [["__scopeId", "data-v-6b89a6b9"]]);
1827
+ }, [["__scopeId", "data-v-732ff0a3"]]);
1825
1828
  //#endregion
1826
- export { ze as n, Dt as t };
1829
+ export { Be as n, Ot as t };