vue-data-ui 3.22.10 → 3.22.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/dist/{Arrow-Ku6rQ87g.js → Arrow-DKx74WtM.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CdkCqtag.js → BaseDraggableDialog-3n8udWmh.js} +2 -2
  3. package/dist/{BaseIcon-CDTIUIKV.js → BaseIcon-CP5RWnqt.js} +1 -1
  4. package/dist/{BaseLegendToggle-BrQ2OlzI.js → BaseLegendToggle-DsWphmIb.js} +1 -1
  5. package/dist/{BaseZoomControls-CkEX0292.js → BaseZoomControls-C9_ygNN4.js} +2 -2
  6. package/dist/{ColorPicker-C959ZIW9.js → ColorPicker-3N_HVgXs.js} +2 -2
  7. package/dist/{DataTable-ByZy5gt1.js → DataTable-DzPEVvSo.js} +2 -2
  8. package/dist/{Legend-5VQGLnmx.js → Legend-C0xAnJdO.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-Bd8OzTqw.js → NonSvgPenAndPaper-B_mE5UbR.js} +3 -3
  10. package/dist/{PackageVersion-BoTvk0i5.js → PackageVersion-Di3tpYst.js} +1 -1
  11. package/dist/{PenAndPaper-CLaZJl6K.js → PenAndPaper-CSMVXpg2.js} +3 -3
  12. package/dist/{Shape-B5ksaGa1.js → Shape-BfnXr1nJ.js} +1 -1
  13. package/dist/Slicer-C6qNUmZ4.js +1149 -0
  14. package/dist/SlicerPreview-Cw6WMVhG.js +1689 -0
  15. package/dist/{SparkTooltip-CbYYc-xb.js → SparkTooltip-uoUiL_P8.js} +1 -1
  16. package/dist/{Title-Cr3jP7Qd.js → Title-BuPs74IB.js} +1 -1
  17. package/dist/{Tooltip-CDbLl3TD.js → Tooltip-CA1rtSyl.js} +1 -1
  18. package/dist/{UserOptions-BUQOnoPR.js → UserOptions-DzAFK9cY.js} +442 -441
  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-COPbGrdd.js → dom-to-png-BdAFKZQg.js} +1 -1
  89. package/dist/{exposedLib-CZbtc2a6.js → exposedLib-Ciw6TGtP.js} +1 -1
  90. package/dist/{geoProjections-BbN7z57k.js → geoProjections-BCP_PoiB.js} +94 -94
  91. package/dist/{img-CNdXiUfZ.js → img-Bikk1dGb.js} +1 -1
  92. package/dist/{labelUtils-JaoYKi2N.js → labelUtils-BUhssos9.js} +1 -1
  93. package/dist/{lib-CnHx5WfV.js → lib-CFm_J26b.js} +3 -3
  94. package/dist/{package-BRBLwZUc.js → package-Bmet7oRZ.js} +1 -1
  95. package/dist/{pdf-CEMzBeuV.js → pdf-zmz3l2uy.js} +1 -1
  96. package/dist/{render-common-DJXFRGhU.js → render-common-Bdolvm-Q.js} +2 -2
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/composables.d.ts +28 -11
  102. package/dist/types/vue-data-ui.d.ts +27 -9
  103. package/dist/{useAutoSizeLabelsInsideViewbox-BUPt2iaP.js → useAutoSizeLabelsInsideViewbox-C9RNjsGv.js} +4 -4
  104. package/dist/{useConfig-DYM3f6EI.js → useConfig-C0V0eG7L.js} +1 -0
  105. package/dist/{useFitSvgText-CT3nmlaS.js → useFitSvgText-CXTzBplU.js} +3 -1
  106. package/dist/useMountedDelay-BAjrhRJb.js +14 -0
  107. package/dist/{useNestedProp-D8NuRneO.js → useNestedProp-BY6DNN3i.js} +1 -1
  108. package/dist/{useObjectBindings-CD31syQb.js → useObjectBindings-Djwpii4d.js} +1 -1
  109. package/dist/{usePrinter-B-X_Pub0.js → usePrinter-BH-xle1O.js} +2 -2
  110. package/dist/{canvas-lib-BOP_HS11.js → useResponsive-ZtArZtUf.js} +19 -1
  111. package/dist/{useSvgExport-SVIsDot8.js → useSvgExport-Ba9qBr9M.js} +6 -5
  112. package/dist/{useTableResponsive-B24Uwt2E.js → useTableResponsive-BAqJPR68.js} +2 -1
  113. package/dist/{useTimeLabels-BmBRv27Y.js → useTimeLabels-B9CEuiLZ.js} +1 -1
  114. package/dist/utils.js +3 -3
  115. package/dist/{vue-data-ui-Bx_8d3b_.js → vue-data-ui-DfU5hAaT.js} +68 -68
  116. package/dist/vue-data-ui.js +72 -72
  117. package/dist/{vue-ui-3d-bar-CfUfbpSE.js → vue-ui-3d-bar--HLw40qY.js} +9 -10
  118. package/dist/vue-ui-accordion-UA88lv4d.js +81 -0
  119. package/dist/{vue-ui-age-pyramid-DD-4y5Jd.js → vue-ui-age-pyramid-Bd_ubvoh.js} +9 -10
  120. package/dist/{vue-ui-annotator-BvGE3lzE.js → vue-ui-annotator-q3ZKx6ua.js} +15 -9
  121. package/dist/{vue-ui-bullet-DYOdbaO2.js → vue-ui-bullet-CM2jgN74.js} +10 -11
  122. package/dist/{vue-ui-bump-B8fJoxHF.js → vue-ui-bump-DvShTelE.js} +10 -11
  123. package/dist/{vue-ui-candlestick-BUP1JoNs.js → vue-ui-candlestick-CK9Na9KB.js} +474 -474
  124. package/dist/{vue-ui-carousel-table-D-Bwhydt.js → vue-ui-carousel-table-BxORSyv1.js} +5 -5
  125. package/dist/{vue-ui-chestnut-C2VK2NEx.js → vue-ui-chestnut-tW2ZnqwW.js} +11 -11
  126. package/dist/{vue-ui-chord-AA-QjUQI.js → vue-ui-chord-DqKCW4Pl.js} +11 -12
  127. package/dist/{vue-ui-circle-pack-CdBFGYOK.js → vue-ui-circle-pack-kmzEbu7G.js} +21 -25
  128. package/dist/{vue-ui-cursor-Cm_J_5Gk.js → vue-ui-cursor-SvEAxNKD.js} +4 -4
  129. package/dist/{vue-ui-dag-CgRph4-n.js → vue-ui-dag-DZGUw98x.js} +16 -14
  130. package/dist/{vue-ui-dashboard-BuPw5QjB.js → vue-ui-dashboard-BzzECKaL.js} +71 -72
  131. package/dist/{vue-ui-digits-ClrukmcB.js → vue-ui-digits-CKWMJqU_.js} +4 -4
  132. package/dist/{vue-ui-donut-Bc-EPZvu.js → vue-ui-donut-BWbuCT47.js} +17 -18
  133. package/dist/{vue-ui-donut-DtQCrMKL.js → vue-ui-donut-DjdH53Zj.js} +3 -3
  134. package/dist/{vue-ui-donut-evolution-DHkiY-BD.js → vue-ui-donut-evolution-CJNnXg31.js} +357 -362
  135. package/dist/{vue-ui-dumbbell-BlHEH4Mw.js → vue-ui-dumbbell-BUyfJOxH.js} +13 -13
  136. package/dist/{vue-ui-flow-PjwAW2tY.js → vue-ui-flow-C39C5dvl.js} +10 -11
  137. package/dist/{vue-ui-funnel-DojI09FV.js → vue-ui-funnel-_aMNVUkP.js} +9 -10
  138. package/dist/{vue-ui-galaxy-txYIK_LG.js → vue-ui-galaxy-Dng0GSjQ.js} +12 -13
  139. package/dist/{vue-ui-gauge-CoL0OzSd.js → vue-ui-gauge-BmZPLW3e.js} +10 -11
  140. package/dist/{vue-ui-geo-yuL-_sqF.js → vue-ui-geo-BOx-pK_5.js} +15 -14
  141. package/dist/{vue-ui-gizmo-CbC5zV3K.js → vue-ui-gizmo-BCGwhNna.js} +4 -4
  142. package/dist/{vue-ui-heatmap-CwqsZIsR.js → vue-ui-heatmap-BORjgllw.js} +12 -13
  143. package/dist/{vue-ui-history-plot-CuWssH-D.js → vue-ui-history-plot-DY3fqgIY.js} +11 -12
  144. package/dist/{vue-ui-horizontal-bar-Dyje3GND.js → vue-ui-horizontal-bar-C8f4PisL.js} +17 -17
  145. package/dist/{vue-ui-kpi-BdYenScF.js → vue-ui-kpi-BdhXSBIJ.js} +4 -4
  146. package/dist/{vue-ui-mini-loader-BbwE3vBT.js → vue-ui-mini-loader-D9pprk2c.js} +3 -3
  147. package/dist/{vue-ui-molecule-BBh31vmd.js → vue-ui-molecule-PlmDykKX.js} +9 -8
  148. package/dist/{vue-ui-mood-radar-B_6GFlaR.js → vue-ui-mood-radar-C9LTAt_c.js} +10 -11
  149. package/dist/{vue-ui-nested-donuts-BWq-At5Y.js → vue-ui-nested-donuts-F5OXPxvU.js} +12 -13
  150. package/dist/{vue-ui-onion-BwGbSE-6.js → vue-ui-onion-D1-j-pvW.js} +13 -14
  151. package/dist/{vue-ui-parallel-coordinate-plot-Bh9hNoqf.js → vue-ui-parallel-coordinate-plot-Vb_QjRp5.js} +303 -307
  152. package/dist/{vue-ui-quadrant-B72Y4Zuw.js → vue-ui-quadrant-DMFawnHm.js} +19 -18
  153. package/dist/{vue-ui-quick-chart-B3LF2ViM.js → vue-ui-quick-chart-BF5fKxY2.js} +606 -632
  154. package/dist/{vue-ui-radar-4v_E8oGX.js → vue-ui-radar-D91pCqhn.js} +12 -13
  155. package/dist/{vue-ui-rating-CzLGCFWK.js → vue-ui-rating-DbxK-ftN.js} +3 -3
  156. package/dist/{vue-ui-relation-circle-B_8dyIv2.js → vue-ui-relation-circle-DfxvnOs6.js} +14 -21
  157. package/dist/{vue-ui-ridgeline-BArLhskj.js → vue-ui-ridgeline-BOL0m1mR.js} +13 -14
  158. package/dist/{vue-ui-rings-Csn5BgLk.js → vue-ui-rings-4RxAaMo4.js} +13 -14
  159. package/dist/vue-ui-scatter-Bs1wek00.js +2409 -0
  160. package/dist/{vue-ui-skeleton-KeIPGp9U.js → vue-ui-skeleton-B84nELF_.js} +4 -4
  161. package/dist/{vue-ui-smiley-C1mYDh4R.js → vue-ui-smiley-Da2jgkb7.js} +3 -3
  162. package/dist/{vue-ui-spark-trend-EqCqmHmU.js → vue-ui-spark-trend-BR-qkwJ6.js} +6 -7
  163. package/dist/{vue-ui-sparkbar-BPh45vBP.js → vue-ui-sparkbar-DghCbhj2.js} +51 -54
  164. package/dist/{vue-ui-sparkgauge-CtouPcyW.js → vue-ui-sparkgauge-DbeTbrxx.js} +4 -4
  165. package/dist/{vue-ui-sparkhistogram-D4sI0DHN.js → vue-ui-sparkhistogram-B2xSQyOp.js} +7 -8
  166. package/dist/{vue-ui-sparkline-BDFZ78Fz.js → vue-ui-sparkline-D3xRMcy9.js} +6 -7
  167. package/dist/{vue-ui-sparkstackbar-CbTXIfxm.js → vue-ui-sparkstackbar-D8z8fVFZ.js} +5 -5
  168. package/dist/vue-ui-stackbar-B63-UgSr.js +2322 -0
  169. package/dist/{vue-ui-stackline-CzfXl5ah.js → vue-ui-stackline-Dukmj3yT.js} +588 -586
  170. package/dist/vue-ui-strip-plot-Bws0p7tP.js +1736 -0
  171. package/dist/{vue-ui-table-BAKkFXki.js → vue-ui-table-dxCS6ztG.js} +12 -11
  172. package/dist/{vue-ui-table-heatmap-CUMxqHKK.js → vue-ui-table-heatmap-CSI482KG.js} +9 -15
  173. package/dist/{vue-ui-table-sparkline-BVTm16fd.js → vue-ui-table-sparkline-C-XgNV1l.js} +10 -8
  174. package/dist/{vue-ui-thermometer-CGeEW1KV.js → vue-ui-thermometer-BUKge0w8.js} +10 -11
  175. package/dist/{vue-ui-timer-Bz7EnsM1.js → vue-ui-timer-CCd3pznw.js} +7 -8
  176. package/dist/{vue-ui-tiremarks-IOqtk_Rr.js → vue-ui-tiremarks-CG5X5rgi.js} +9 -10
  177. package/dist/{vue-ui-treemap-JxNNtb7v.js → vue-ui-treemap-CNVB8Ng6.js} +501 -492
  178. package/dist/{vue-ui-waffle-D34mcJWi.js → vue-ui-waffle-DH5Rf1WM.js} +13 -14
  179. package/dist/{vue-ui-wheel-B_qEhyvk.js → vue-ui-wheel-BzEkxqDz.js} +10 -11
  180. package/dist/{vue-ui-word-cloud-TtObhd91.js → vue-ui-word-cloud-DbfGZ-hb.js} +15 -12
  181. package/dist/{vue-ui-world-R9o00A6c.js → vue-ui-world-CL6KcPcv.js} +10 -10
  182. package/dist/{vue-ui-xy-Do34-UbE.js → vue-ui-xy-4Xp7UoLs.js} +9 -9
  183. package/dist/{vue-ui-xy-CUt6sU1s.js → vue-ui-xy-BAmxfSSw.js} +1269 -1266
  184. package/dist/{vue-ui-xy-canvas-C6eRRH--.js → vue-ui-xy-canvas-7YSYRdwr.js} +27 -27
  185. package/package.json +3 -3
  186. package/dist/Slicer-WsWTQPKt.js +0 -1150
  187. package/dist/SlicerPreview-3n516NyE.js +0 -1688
  188. package/dist/useResponsive-BfnK0KxU.js +0 -19
  189. package/dist/vue-ui-accordion-Oo3IsX3-.js +0 -81
  190. package/dist/vue-ui-scatter-BBaOx94M.js +0 -2422
  191. package/dist/vue-ui-stackbar-nMXIY9x8.js +0 -2339
  192. package/dist/vue-ui-strip-plot-BCf5nthl.js +0 -1736
@@ -1,50 +1,50 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, Bt as n, E as r, K as i, Kt as a, Q as o, Y as s, bt as ee, et as c, g as te, qt as ne, s as re, st as ie, t as ae, ut as oe, y as l, zt as se } from "./lib-CnHx5WfV.js";
3
- import { n as ce, r as le, t as ue } from "./useTimeLabels-BmBRv27Y.js";
4
- import { t as de } from "./useConfig-DYM3f6EI.js";
5
- import { t as fe } from "./usePrinter-B-X_Pub0.js";
6
- import { n as pe, t as me } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as he } from "./useSvgExport-SVIsDot8.js";
8
- import { t as ge } from "./useNestedProp-D8NuRneO.js";
9
- import { t as _e } from "./useThemeCheck-C43Tcqmk.js";
2
+ import { At as t, Bt as n, E as r, K as i, Kt as a, Q as o, Y as s, bt as c, et as l, g as ee, qt as te, s as ne, st as re, t as ie, ut as ae, y as u, zt as oe } from "./lib-CFm_J26b.js";
3
+ import { n as se, r as ce, t as le } from "./useTimeLabels-B9CEuiLZ.js";
4
+ import { t as ue } from "./useConfig-C0V0eG7L.js";
5
+ import { t as de } from "./usePrinter-BH-xle1O.js";
6
+ import { n as fe, t as pe } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as me } from "./useSvgExport-Ba9qBr9M.js";
8
+ import { t as he } from "./useNestedProp-BY6DNN3i.js";
9
+ import { t as ge } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as _e } from "./useMountedDelay-BAjrhRJb.js";
10
11
  import { t as ve } from "./useTimeLabelCollider-AEcY4Ioe.js";
11
- import { t as ye } from "./img-CNdXiUfZ.js";
12
- import { n as be } from "./Title-Cr3jP7Qd.js";
12
+ import { t as ye } from "./img-Bikk1dGb.js";
13
+ import { n as be } from "./Title-BuPs74IB.js";
13
14
  import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
- import { c as Se } from "./canvas-lib-BOP_HS11.js";
15
- import { t as Ce } from "./useResponsive-BfnK0KxU.js";
15
+ import { l as Se, t as Ce } from "./useResponsive-ZtArZtUf.js";
16
16
  import { t as we } from "./DefGrad-DVBqDjhO.js";
17
- import { t as Te } from "./SlicerPreview-3n516NyE.js";
17
+ import { t as Te } from "./SlicerPreview-Cw6WMVhG.js";
18
18
  import { t as Ee } from "./A11yDataTable-DdRsVULz.js";
19
19
  import { t as De } from "./useUserOptionState-DK-_1ddE.js";
20
20
  import { t as Oe } from "./useChartAccessibility-DYqac8yF.js";
21
21
  import { t as ke } from "./vue_ui_candlestick-J8jmJvxP.js";
22
- import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Ae, createTextVNode as je, createVNode as Me, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Ne, nextTick as Pe, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Fe, onMounted as Ie, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Le, shallowRef as Re, toDisplayString as T, toRefs as ze, unref as E, watch as Be, watchEffect as Ve, withCtx as D } from "vue";
22
+ import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Ae, createTextVNode as je, createVNode as Me, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Ne, nextTick as Pe, normalizeClass as y, normalizeProps as b, normalizeStyle as Fe, onBeforeUnmount as Ie, onMounted as Le, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Re, shallowRef as ze, toDisplayString as T, toRefs as Be, unref as E, watch as Ve, watchEffect as He, withCtx as D } from "vue";
23
23
  //#region src/components/vue-ui-candlestick.vue
24
- var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge = { style: { position: "relative" } }, Ke = [
24
+ var Ue = /* @__PURE__ */ e({ default: () => Ct }), We = ["id"], Ge = ["id"], Ke = { style: { position: "relative" } }, qe = [
25
25
  "xmlns",
26
26
  "aria-describedby",
27
27
  "viewBox"
28
- ], qe = [
28
+ ], Je = [
29
29
  "x",
30
30
  "y",
31
31
  "width",
32
32
  "height"
33
- ], Je = { key: 1 }, Ye = { key: 0 }, Xe = [
33
+ ], Ye = { key: 1 }, Xe = { key: 0 }, Ze = [
34
34
  "x1",
35
35
  "x2",
36
36
  "y1",
37
37
  "y2",
38
38
  "stroke",
39
39
  "stroke-width"
40
- ], Ze = [
40
+ ], Qe = [
41
41
  "x1",
42
42
  "x2",
43
43
  "y1",
44
44
  "y2",
45
45
  "stroke",
46
46
  "stroke-width"
47
- ], Qe = [
47
+ ], $e = [
48
48
  "x1",
49
49
  "x2",
50
50
  "y1",
@@ -52,7 +52,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
52
52
  "stroke",
53
53
  "stroke-width",
54
54
  "stroke-dasharray"
55
- ], $e = [
55
+ ], et = [
56
56
  "x1",
57
57
  "x2",
58
58
  "y1",
@@ -60,78 +60,77 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
60
60
  "stroke",
61
61
  "stroke-width",
62
62
  "stroke-dasharray"
63
- ], et = [
63
+ ], tt = [
64
64
  "x1",
65
65
  "x2",
66
66
  "y1",
67
67
  "y2",
68
68
  "stroke",
69
69
  "stroke-width"
70
- ], tt = [
70
+ ], nt = [
71
71
  "x1",
72
72
  "x2",
73
73
  "y1",
74
74
  "y2",
75
75
  "stroke",
76
76
  "stroke-width"
77
- ], nt = [
78
- "x",
79
- "y",
77
+ ], rt = [
78
+ "transform",
80
79
  "text-anchor",
81
80
  "font-size",
82
81
  "fill",
83
82
  "font-weight"
84
- ], rt = [
83
+ ], it = [
85
84
  "transform",
86
85
  "text-anchor",
87
86
  "font-size",
88
87
  "fill",
89
88
  "font-weight"
90
- ], it = [
89
+ ], at = [
91
90
  "transform",
92
91
  "text-anchor",
93
92
  "font-size",
94
93
  "fill",
95
94
  "font-weight"
96
- ], at = [
95
+ ], ot = [
97
96
  "x",
98
97
  "y",
99
98
  "width",
100
99
  "height",
101
100
  "fill",
102
101
  "rx"
103
- ], ot = { key: 0 }, st = [
102
+ ], st = { key: 0 }, ct = [
104
103
  "cx",
105
104
  "cy",
106
105
  "r",
107
106
  "fill"
108
- ], ct = [
107
+ ], lt = [
109
108
  "cx",
110
109
  "cy",
111
110
  "r",
112
111
  "fill"
113
- ], lt = { key: 1 }, ut = [
112
+ ], ut = { key: 1 }, dt = [
114
113
  "x",
115
114
  "y",
116
115
  "width",
117
116
  "height",
118
117
  "rx",
119
118
  "fill"
120
- ], dt = [
119
+ ], ft = [
121
120
  "x",
122
121
  "y",
123
122
  "width",
124
123
  "height",
125
124
  "fill",
126
125
  "rx"
127
- ], ft = [
126
+ ], pt = [
128
127
  "x",
129
128
  "y",
130
129
  "height",
131
130
  "width",
132
131
  "fill",
133
132
  "rx"
134
- ], pt = [
133
+ ], mt = [
135
134
  "x",
136
135
  "y",
137
136
  "height",
@@ -140,7 +139,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
140
139
  "rx",
141
140
  "stroke",
142
141
  "stroke-width"
143
- ], mt = ["d", "stroke"], ht = [
142
+ ], ht = ["d", "stroke"], gt = [
144
143
  "x",
145
144
  "y",
146
145
  "height",
@@ -149,7 +148,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
149
148
  "onMouseover",
150
149
  "onMouseleave",
151
150
  "onClick"
152
- ], gt = ["data-start", "data-end"], _t = {
151
+ ], _t = ["data-start", "data-end"], vt = {
153
152
  key: 0,
154
153
  style: {
155
154
  position: "absolute",
@@ -159,14 +158,14 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
159
158
  },
160
159
  "data-dom-to-png-ignore": "",
161
160
  "aria-hidden": "true"
162
- }, vt = {
161
+ }, yt = {
163
162
  key: 5,
164
163
  class: "vue-data-ui-watermark"
165
- }, yt = ["d", "stroke"], bt = [
164
+ }, bt = ["d", "stroke"], xt = [
166
165
  "d",
167
166
  "stroke",
168
167
  "stroke-width"
169
- ], xt = ["innerHTML"], St = /*#__PURE__*/ xe({
168
+ ], St = ["innerHTML"], Ct = /*#__PURE__*/ xe({
170
169
  __name: "vue-ui-candlestick",
171
170
  props: {
172
171
  config: {
@@ -187,11 +186,11 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
187
186
  }
188
187
  },
189
188
  emits: ["selectX", "copyAlt"],
190
- setup(e, { expose: xe, emit: He }) {
191
- let St = g(() => import("./BaseIcon-CDTIUIKV.js").then((e) => e.n)), Ct = g(() => import("./Tooltip-CDbLl3TD.js")), wt = g(() => import("./vue-ui-accordion-Oo3IsX3-.js").then((e) => e.n)), Tt = g(() => import("./DataTable-ByZy5gt1.js")), Et = g(() => import("./PenAndPaper-CLaZJl6K.js").then((e) => e.t)), Dt = g(() => import("./UserOptions-BUQOnoPR.js").then((e) => e.n)), Ot = g(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), kt = g(() => import("./BaseDraggableDialog-CdkCqtag.js").then((e) => e.n)), { vue_ui_candlestick: At } = de(), { isThemeValid: jt, warnInvalidTheme: Mt } = _e(), O = e, Nt = He, Pt = d(() => !!O.dataset && O.dataset.length), k = S(!1), Ft = S(null), A = S(i()), It = S(!1), Lt = S(""), j = S(void 0), Rt = S(0), M = S(null), zt = S(null), Bt = S(null), Vt = S(null), Ht = S(null), Ut = S(null), Wt = S(0), Gt = S(0), Kt = S(0), qt = S(null), Jt = S(null), Yt = S(null), Xt = S(null), Zt = S(null), Qt = S(!1), $t = S(!1), N = S(null), en = S({
189
+ setup(e, { expose: xe, emit: Ue }) {
190
+ let Ct = _(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), wt = _(() => import("./Tooltip-CA1rtSyl.js")), Tt = _(() => import("./vue-ui-accordion-UA88lv4d.js").then((e) => e.n)), Et = _(() => import("./DataTable-DzPEVvSo.js")), Dt = _(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), Ot = _(() => import("./UserOptions-DzAFK9cY.js").then((e) => e.n)), kt = _(() => import("./PackageVersion-Di3tpYst.js").then((e) => e.t)), At = _(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), { vue_ui_candlestick: jt } = ue(), { isThemeValid: Mt, warnInvalidTheme: Nt } = ge(), { isReady: Pt } = _e(300), O = e, Ft = Ue, It = f(() => !!O.dataset && O.dataset.length), k = S(!1), Lt = S(null), A = S(i()), Rt = S(!1), zt = S(""), j = S(void 0), Bt = S(0), M = S(null), Vt = S(null), Ht = S(null), Ut = S(null), Wt = S(null), Gt = S(null), Kt = S(0), qt = S(0), Jt = S(0), Yt = S(null), Xt = S(null), Zt = S(null), Qt = S(null), $t = S(null), en = S(!1), tn = S(!1), N = S(null), nn = S({
192
191
  x: 0,
193
192
  y: 0
194
- }), tn = S("pointer"), nn = S(!1), P = S(fn()), rn = d(() => P.value.userOptions.useCursorPointer), an = d(() => ne({
193
+ }), rn = S("pointer"), an = S(!1), P = S(mn()), on = f(() => P.value.userOptions.useCursorPointer), sn = f(() => te({
195
194
  defaultConfig: {
196
195
  useCssAnimation: !1,
197
196
  userOptions: { show: !1 },
@@ -229,13 +228,13 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
229
228
  }
230
229
  },
231
230
  userConfig: P.value.skeletonConfig ?? {}
232
- })), { loading: F, FINAL_DATASET: I, manualLoading: on } = pe({
233
- ...ze(O),
231
+ })), { loading: F, FINAL_DATASET: I, manualLoading: cn } = fe({
232
+ ...Be(O),
234
233
  FINAL_CONFIG: P,
235
- prepareConfig: fn,
234
+ prepareConfig: mn,
236
235
  callback: () => {
237
236
  Promise.resolve().then(async () => {
238
- await ar();
237
+ await sr();
239
238
  });
240
239
  },
241
240
  skeletonDataset: O.config?.skeletonDataset ?? [
@@ -336,32 +335,32 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
336
335
  5100
337
336
  ]
338
337
  ],
339
- skeletonConfig: ne({
338
+ skeletonConfig: te({
340
339
  defaultConfig: P.value,
341
- userConfig: an.value
340
+ userConfig: sn.value
342
341
  })
343
- }), { userOptionsVisible: sn, setUserOptionsVisibility: cn, keepUserOptionState: ln } = De({ config: P.value }), { svgRef: L } = Oe({ config: P.value.style.title });
344
- function un() {
345
- cn(!0);
342
+ }), { userOptionsVisible: ln, setUserOptionsVisibility: un, keepUserOptionState: dn } = De({ config: P.value }), { svgRef: L } = Oe({ config: P.value.style.title });
343
+ function fn() {
344
+ un(!0);
346
345
  }
347
- function dn() {
348
- cn(!1), Nt("selectX", {
346
+ function pn() {
347
+ un(!1), Ft("selectX", {
349
348
  seriesIndex: null,
350
349
  datapoint: null
351
350
  }), j.value = null;
352
351
  }
353
- function fn() {
354
- let e = ge({
352
+ function mn() {
353
+ let e = he({
355
354
  userConfig: O.config,
356
- defaultConfig: At
355
+ defaultConfig: jt
357
356
  }), t = {}, n = e.theme;
358
- if (n) if (!jt.value(e)) Mt(e), t = e;
357
+ if (n) if (!Mt.value(e)) Nt(e), t = e;
359
358
  else {
360
- let r = ge({
359
+ let r = he({
361
360
  userConfig: ke[n] || O.config,
362
361
  defaultConfig: e
363
362
  });
364
- t = { ...ge({
363
+ t = { ...he({
365
364
  userConfig: O.config,
366
365
  defaultConfig: r
367
366
  }) };
@@ -369,38 +368,38 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
369
368
  else t = e;
370
369
  return t;
371
370
  }
372
- Be(() => O.config, (e) => {
373
- F.value || (P.value = fn()), sn.value = !P.value.userOptions.showOnChartHover, pn(), Wt.value += 1, Kt.value += 1, Gt.value += 1, H.value.showTable = P.value.table.show, H.value.showTooltip = P.value.style.tooltip.show, En();
374
- }, { deep: !0 }), Be(() => O.dataset, (e) => {
375
- Array.isArray(e) && e.length > 0 && (on.value = !1), tr();
371
+ Ve(() => O.config, (e) => {
372
+ F.value || (P.value = mn()), ln.value = !P.value.userOptions.showOnChartHover, hn(), Kt.value += 1, Jt.value += 1, qt.value += 1, H.value.showTable = P.value.table.show, H.value.showTooltip = P.value.style.tooltip.show, On();
373
+ }, { deep: !0 }), Ve(() => O.dataset, (e) => {
374
+ Array.isArray(e) && e.length > 0 && (cn.value = !1), rr();
376
375
  }, { deep: !0 });
377
376
  let R = S({
378
377
  height: P.value.style.height,
379
378
  width: P.value.style.width,
380
379
  xAxisFontSize: P.value.style.layout.grid.xAxis.dataLabels.fontSize,
381
380
  yAxisFontSize: P.value.style.layout.grid.yAxis.dataLabels.fontSize
382
- }), z = Re(null), B = Re(null);
383
- Ie(() => {
384
- pn();
381
+ }), z = ze(null), B = ze(null);
382
+ Le(() => {
383
+ hn();
385
384
  });
386
- let V = d(() => !!P.value.debug);
387
- function pn() {
388
- if (t(O.dataset) && (c({
385
+ let V = f(() => !!P.value.debug);
386
+ function hn() {
387
+ if (t(O.dataset) && (l({
389
388
  componentName: "VueUiCandlestick",
390
389
  type: "dataset",
391
390
  debug: V.value
392
- }), on.value = !0), t(O.dataset) || (on.value = P.value.loading), setTimeout(() => {
391
+ }), cn.value = !0), t(O.dataset) || (cn.value = P.value.loading), setTimeout(() => {
393
392
  k.value = !0;
394
393
  }, 10), P.value.responsive) {
395
394
  let e = Se(() => {
396
395
  k.value = !1;
397
396
  let { width: e, height: t } = Ce({
398
397
  chart: M.value,
399
- title: P.value.style.title.text ? zt.value : null,
400
- slicer: P.value.style.zoom.show && G.value > 6 ? Vt.value.$el : null,
401
- legend: Bt.value,
402
- source: Ht.value,
403
- noTitle: Ut.value
398
+ title: P.value.style.title.text ? Vt.value : null,
399
+ slicer: P.value.style.zoom.show && G.value > 6 ? Ut.value.$el : null,
400
+ legend: Ht.value,
401
+ source: Wt.value,
402
+ noTitle: Gt.value
404
403
  });
405
404
  requestAnimationFrame(() => {
406
405
  R.value.width = e, R.value.height = t - 12, P.value.responsiveProportionalSizing ? (R.value.xAxisFontSize = a({
@@ -415,45 +414,45 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
415
414
  source: P.value.style.layout.grid.yAxis.dataLabels.fontSize,
416
415
  threshold: 6,
417
416
  fallback: 6
418
- })) : (R.value.xAxisFontSize = P.value.style.layout.grid.xAxis.dataLabels.fontSize, R.value.yAxisFontSize = P.value.style.layout.grid.yAxis.dataLabels.fontSize), Ft.value && clearTimeout(Ft.value), Ft.value = setTimeout(() => {
417
+ })) : (R.value.xAxisFontSize = P.value.style.layout.grid.xAxis.dataLabels.fontSize, R.value.yAxisFontSize = P.value.style.layout.grid.yAxis.dataLabels.fontSize), Lt.value && clearTimeout(Lt.value), Lt.value = setTimeout(() => {
419
418
  k.value = !0;
420
419
  }, 10);
421
420
  });
422
421
  });
423
422
  z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect()), z.value = new ResizeObserver(e), B.value = M.value.parentNode, z.value.observe(B.value);
424
423
  }
425
- ar();
424
+ sr();
426
425
  }
427
- Fe(() => {
426
+ Ie(() => {
428
427
  z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect());
429
428
  });
430
- let { isPrinting: mn, isImaging: hn, generatePdf: gn, generateImage: _n } = fe({
429
+ let { isPrinting: gn, isImaging: _n, generatePdf: vn, generateImage: yn } = de({
431
430
  elementId: `vue-ui-candlestick_${A.value}`,
432
431
  fileName: P.value.style.title.text || "vue-ui-candlestick",
433
432
  options: P.value.userOptions.print
434
- }), vn = d(() => P.value.userOptions.show && !P.value.style.title.text), H = S({
433
+ }), bn = f(() => P.value.userOptions.show && !P.value.style.title.text), H = S({
435
434
  showTable: P.value.table.show,
436
435
  showTooltip: P.value.style.tooltip.show
437
- }), yn = S(0), bn = Se((e) => {
438
- yn.value = e;
436
+ }), xn = S(0), Sn = Se((e) => {
437
+ xn.value = e;
439
438
  }, 100);
440
- Ve((e) => {
441
- let t = Jt.value;
439
+ He((e) => {
440
+ let t = Xt.value;
442
441
  if (!t) return;
443
442
  let n = new ResizeObserver((e) => {
444
- bn(e[0].contentRect.height);
443
+ Sn(e[0].contentRect.height);
445
444
  });
446
445
  n.observe(t), e(() => n.disconnect());
447
- }), Fe(() => {
448
- yn.value = 0;
446
+ }), Ie(() => {
447
+ xn.value = 0;
449
448
  });
450
- let xn = d(() => {
449
+ let Cn = f(() => {
451
450
  let e = 0;
452
- return Jt.value && (e = yn.value + R.value.xAxisFontSize), e;
453
- }), U = d(() => P.value.style.layout.grid.yAxis.position === "right");
454
- function Sn() {
451
+ return Xt.value && (e = xn.value + R.value.xAxisFontSize), e;
452
+ }), U = f(() => P.value.style.layout.grid.yAxis.position === "right");
453
+ function wn() {
455
454
  let e = P.value.style.layout.grid.yAxis.dataLabels.offsetX;
456
- qt.value && (e = Array.from(qt.value.querySelectorAll("text")).reduce((e, t) => {
455
+ Yt.value && (e = Array.from(Yt.value.querySelectorAll("text")).reduce((e, t) => {
457
456
  let n = t.getComputedTextLength();
458
457
  return n > e ? n : e;
459
458
  }, 0));
@@ -466,25 +465,25 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
466
465
  crosshair: 13
467
466
  };
468
467
  }
469
- let W = d(() => {
470
- let { top: e, right: t, bottom: n, left: r } = P.value.style.layout.padding, i = Sn();
468
+ let W = f(() => {
469
+ let { top: e, right: t, bottom: n, left: r } = P.value.style.layout.padding, i = wn();
471
470
  return {
472
471
  top: e + 12,
473
472
  right: R.value.width - t - i.right,
474
473
  left: r + i.left,
475
- bottom: R.value.height - n - xn.value,
474
+ bottom: R.value.height - n - Cn.value,
476
475
  width: R.value.width - r - t - i.left - i.right,
477
- height: R.value.height - e - n - xn.value - 12,
476
+ height: R.value.height - e - n - Cn.value - 12,
478
477
  scaleLabelsWidth: i.scaleLabelsWidth,
479
478
  yAxisNameWidth: i.yAxisNameWidth,
480
479
  crosshair: i.crosshair
481
480
  };
482
- }), Cn = d(() => {
483
- 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, ee = q.value.end - i, c = Math.max(0, Math.min(a, s)), te = Math.max(0, Math.min(a, ee));
481
+ }), Tn = f(() => {
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));
484
483
  return {
485
- x: e + c * o,
484
+ x: e + l * o,
486
485
  y: t,
487
- width: (te - c) * o,
486
+ width: (ee - l) * o,
488
487
  height: r,
489
488
  fill: P.value.style.zoom.preview.fill,
490
489
  stroke: P.value.style.zoom.preview.stroke,
@@ -498,62 +497,62 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
498
497
  animation: "none !important"
499
498
  }
500
499
  };
501
- }), G = d(() => I.value.length), K = S({
500
+ }), G = f(() => I.value.length), K = S({
502
501
  start: 0,
503
502
  end: G.value
504
503
  }), q = S({
505
504
  start: 0,
506
505
  end: G.value
507
- }), wn = d(() => P.value.style.zoom.preview.enable && (q.value.start !== K.value.start || q.value.end !== K.value.end));
508
- function Tn(e, t) {
506
+ }), En = f(() => P.value.style.zoom.preview.enable && (q.value.start !== K.value.start || q.value.end !== K.value.end));
507
+ function Dn(e, t) {
509
508
  q.value[e] = t;
510
509
  }
511
- function En() {
510
+ function On() {
512
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));
513
- (!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, Vt.value && (Vt.value.setStartValue(e), Vt.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, Ut.value && (Ut.value.setStartValue(e), Ut.value.setEndValue(t));
514
513
  }
515
- let Dn = d(() => I.value.map((e, t) => ({
514
+ let kn = f(() => I.value.map((e, t) => ({
516
515
  ...e,
517
516
  absoluteIndex: t
518
- }))), On = d(() => Dn.value.slice(K.value.start, K.value.end)), J = d(() => (I.value.forEach((e, t) => {
519
- [null, void 0].includes(e[0]) && c({
517
+ }))), An = f(() => kn.value.slice(K.value.start, K.value.end)), J = f(() => (I.value.forEach((e, t) => {
518
+ [null, void 0].includes(e[0]) && l({
520
519
  componentName: "VueUiCandlestick",
521
520
  type: "datasetAttribute",
522
521
  property: "period (index 0)",
523
522
  index: t,
524
523
  debug: V.value
525
- }), [null, void 0].includes(e[1]) && c({
524
+ }), [null, void 0].includes(e[1]) && l({
526
525
  componentName: "VueUiCandlestick",
527
526
  type: "datasetAttribute",
528
527
  property: "open (index 1)",
529
528
  index: t,
530
529
  debug: V.value
531
- }), [null, void 0].includes(e[2]) && c({
530
+ }), [null, void 0].includes(e[2]) && l({
532
531
  componentName: "VueUiCandlestick",
533
532
  type: "datasetAttribute",
534
533
  property: "high (index 2)",
535
534
  index: t,
536
535
  debug: V.value
537
- }), [null, void 0].includes(e[3]) && c({
536
+ }), [null, void 0].includes(e[3]) && l({
538
537
  componentName: "VueUiCandlestick",
539
538
  type: "datasetAttribute",
540
539
  property: "low (index 3)",
541
540
  index: t,
542
541
  debug: V.value
543
- }), [null, void 0].includes(e[4]) && c({
542
+ }), [null, void 0].includes(e[4]) && l({
544
543
  componentName: "VueUiCandlestick",
545
544
  type: "datasetAttribute",
546
545
  property: "close (index 4)",
547
546
  index: t,
548
547
  debug: V.value
549
- }), [null, void 0].includes(e[5]) && c({
548
+ }), [null, void 0].includes(e[5]) && l({
550
549
  componentName: "VueUiCandlestick",
551
550
  type: "datasetAttribute",
552
551
  property: "volume (index 5)",
553
552
  index: t,
554
553
  debug: V.value
555
554
  });
556
- }), On.value.map((e) => ({
555
+ }), An.value.map((e) => ({
557
556
  absoluteIndex: e.absoluteIndex,
558
557
  period: e[0],
559
558
  open: e[1],
@@ -561,7 +560,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
561
560
  low: e[3],
562
561
  close: e[4],
563
562
  volume: e[5]
564
- })))), kn = d(() => Dn.value.map((e) => ({
563
+ })))), jn = f(() => kn.value.map((e) => ({
565
564
  absoluteIndex: e.absoluteIndex,
566
565
  period: e[0],
567
566
  open: e[1],
@@ -569,21 +568,21 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
569
568
  low: e[3],
570
569
  close: e[4],
571
570
  volume: e[5]
572
- }))), Y = d(() => W.value.width / On.value.length), An = d(() => ({
571
+ }))), Y = f(() => W.value.width / An.value.length), Mn = f(() => ({
573
572
  max: P.value.style.layout.grid.yAxis.scale.max === null ? Math.max(...J.value.map((e) => e.high)) : P.value.style.layout.grid.yAxis.scale.max,
574
573
  min: P.value.style.layout.grid.yAxis.scale.min === null ? 0 : P.value.style.layout.grid.yAxis.scale.min
575
- })), X = d(() => te(An.value.min, An.value.max, P.value.style.layout.grid.yAxis.dataLabels.steps));
576
- function jn(e, t, n = null, r = null) {
574
+ })), X = f(() => ee(Mn.value.min, Mn.value.max, P.value.style.layout.grid.yAxis.dataLabels.steps));
575
+ function Nn(e, t, n = null, r = null) {
577
576
  return {
578
577
  ...e,
579
- x: l(W.value.left + t * Y.value + Y.value / 2),
580
- y: l(W.value.top + (1 - (e - X.value.min) / (X.value.max - X.value.min)) * W.value.height),
581
- value: l(e),
578
+ x: u(W.value.left + t * Y.value + Y.value / 2),
579
+ y: u(W.value.top + (1 - (e - X.value.min) / (X.value.max - X.value.min)) * W.value.height),
580
+ value: u(e),
582
581
  isMax: e === n,
583
582
  isMin: e === r
584
583
  };
585
584
  }
586
- let Z = d(() => {
585
+ let Z = f(() => {
587
586
  let e = {
588
587
  o: Math.max(...J.value.map((e) => e.open)),
589
588
  h: Math.max(...J.value.map((e) => e.high)),
@@ -596,52 +595,52 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
596
595
  c: Math.min(...J.value.map((e) => e.low))
597
596
  }, n = Math.max(...J.value.map((e) => e.volume)), r = Math.min(...J.value.map((e) => e.volume));
598
597
  return J.value.map((i, a) => {
599
- let o = jn(i.open, a, e.o, t.o), s = jn(i.high, a, e.h, t.h), ee = jn(i.low, a, e.l, t.l), c = jn(i.close, a, e.c, t.c), te = i.close > i.open, ne = i.volume === n, re = i.volume === r;
598
+ let o = Nn(i.open, a, e.o, t.o), s = Nn(i.high, a, e.h, t.h), c = Nn(i.low, a, e.l, t.l), l = Nn(i.close, a, e.c, t.c), ee = i.close > i.open, te = i.volume === n, ne = i.volume === r;
600
599
  return {
601
600
  period: i.period,
602
601
  open: o,
603
602
  high: s,
604
- low: ee,
605
- close: c,
603
+ low: c,
604
+ close: l,
606
605
  volume: i.volume,
607
- isBullish: te,
606
+ isBullish: ee,
608
607
  absoluteIndex: i.absoluteIndex,
609
- isMaxVolume: ne,
610
- isMinVolume: re
608
+ isMaxVolume: te,
609
+ isMinVolume: ne
611
610
  };
612
611
  });
613
612
  });
614
- function Mn({ item: e, index: t, minimapH: n, unitW: r }) {
613
+ function Pn({ item: e, index: t, minimapH: n, unitW: r }) {
615
614
  let i = P.value.style.layout.grid.yAxis.scale.min ?? 0, a = P.value.style.layout.grid.yAxis.scale.max ?? Math.max(...I.value.map((e) => e[2]));
616
615
  return {
617
616
  ...e,
618
- x: l(t * r),
619
- y: l((1 - (e - i) / (a - i)) * n),
620
- value: l(e)
617
+ x: u(t * r),
618
+ y: u((1 - (e - i) / (a - i)) * n),
619
+ value: u(e)
621
620
  };
622
621
  }
623
- let Nn = d(() => ({ minimapH: e, unitW: t }) => kn.value.map((n, r) => {
624
- let i = Mn({
622
+ let Fn = f(() => ({ minimapH: e, unitW: t }) => jn.value.map((n, r) => {
623
+ let i = Pn({
625
624
  item: n.open,
626
625
  index: r,
627
626
  minimapH: e,
628
627
  unitW: t
629
- }), a = Mn({
628
+ }), a = Pn({
630
629
  item: n.high,
631
630
  index: r,
632
631
  minimapH: e,
633
632
  unitW: t
634
- }), o = Mn({
633
+ }), o = Pn({
635
634
  item: n.low,
636
635
  index: r,
637
636
  minimapH: e,
638
637
  unitW: t
639
- }), s = Mn({
638
+ }), s = Pn({
640
639
  item: n.close,
641
640
  index: r,
642
641
  minimapH: e,
643
642
  unitW: t
644
- }), ee = n.close > n.open;
643
+ }), c = n.close > n.open;
645
644
  return {
646
645
  period: n.period,
647
646
  open: i,
@@ -649,104 +648,104 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
649
648
  low: o,
650
649
  close: s,
651
650
  volume: n.volume,
652
- isBullish: ee,
651
+ isBullish: c,
653
652
  absoluteIndex: n.absoluteIndex
654
653
  };
655
- })), Pn = d(() => P.value.style.zoom.minimap.show ? [{
654
+ })), In = f(() => P.value.style.zoom.minimap.show ? [{
656
655
  name: "",
657
656
  series: I.value.map((e) => e[2]),
658
657
  color: "#000000",
659
658
  isVisible: !0
660
659
  }] : []);
661
- function Fn(e) {
662
- return l((e - X.value.min) / (X.value.max - X.value.min));
660
+ function Ln(e) {
661
+ return u((e - X.value.min) / (X.value.max - X.value.min));
663
662
  }
664
- let In = d(() => X.value.ticks.map((e) => ({
665
- y: W.value.bottom - W.value.height * Fn(e),
666
- value: l(e)
667
- }))), Ln = d(() => J.value.map((e) => e.period)), Q = S([]), Rn = S([]), zn = 0;
668
- Ve(() => {
669
- let e = ++zn;
663
+ let Rn = f(() => X.value.ticks.map((e) => ({
664
+ y: W.value.bottom - W.value.height * Ln(e),
665
+ value: u(e)
666
+ }))), zn = f(() => J.value.map((e) => e.period)), Q = S([]), Bn = S([]), Vn = 0;
667
+ He(() => {
668
+ let e = ++Vn;
670
669
  (async () => {
671
- let t = await ue({
670
+ let t = await le({
672
671
  values: I.value.map((e) => e[0]),
673
672
  maxDatapoints: I.value.length,
674
673
  formatter: P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
675
674
  start: K.value.start,
676
675
  end: K.value.end
677
676
  });
678
- e === zn && (Q.value = t);
677
+ e === Vn && (Q.value = t);
679
678
  })();
680
679
  });
681
- let Bn = 0;
682
- Ve(() => {
683
- let e = ++Bn;
680
+ let Hn = 0;
681
+ He(() => {
682
+ let e = ++Hn;
684
683
  (async () => {
685
- let t = await ue({
684
+ let t = await le({
686
685
  values: I.value.map((e) => e[0]),
687
686
  maxDatapoints: I.value.length,
688
687
  formatter: P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
689
688
  start: 0,
690
689
  end: G.value
691
690
  });
692
- e === Bn && (Rn.value = t);
691
+ e === Hn && (Bn.value = t);
693
692
  })();
694
693
  });
695
- let Vn = d(() => {
694
+ let Un = f(() => {
696
695
  let e = P.value.style.layout.grid.xAxis.dataLabels.modulo;
697
696
  return Q.value.length ? Math.min(e, [...new Set(Q.value.map((e) => e.text))].length) : e;
698
- }), Hn = S({
697
+ }), Wn = S({
699
698
  months: [],
700
699
  shortMonths: [],
701
700
  days: [],
702
701
  shortDays: []
703
- }), Un = 0;
704
- Ve(() => {
705
- let e = ++Un, t = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter;
702
+ }), Gn = 0;
703
+ He(() => {
704
+ let e = ++Gn, t = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter;
706
705
  (async () => {
707
- let n = await le(t.locale).catch(() => le("en"));
708
- e === Un && (Hn.value = n.data);
706
+ let n = await ce(t.locale).catch(() => ce("en"));
707
+ e === Gn && (Wn.value = n.data);
709
708
  })();
710
709
  });
711
- let Wn = d(() => {
712
- let e = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter, t = ce({
710
+ let Kn = f(() => {
711
+ let e = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter, t = se({
713
712
  useUTC: e.useUTC,
714
- locale: Hn.value,
713
+ locale: Wn.value,
715
714
  januaryAsYear: e.januaryAsYear
716
715
  });
717
716
  return (e, n) => {
718
717
  let r = I.value.map((e) => e[0])?.[e];
719
718
  return r == null ? "" : t.formatDate(new Date(r), n);
720
719
  };
721
- }), Gn = d(() => (I.value.map((e) => e[0]) || []).map((e, t) => ({
722
- text: Wn.value(t, P.value.style.tooltip.timeFormat),
720
+ }), qn = f(() => (I.value.map((e) => e[0]) || []).map((e, t) => ({
721
+ text: Kn.value(t, P.value.style.tooltip.timeFormat),
723
722
  absoluteIndex: t
724
- }))), Kn = d(() => (I.value.map((e) => e[0]) || []).map((e, t) => ({
725
- text: Wn.value(t, P.value.style.zoom.timeFormat),
723
+ }))), Jn = f(() => (I.value.map((e) => e[0]) || []).map((e, t) => ({
724
+ text: Kn.value(t, P.value.style.zoom.timeFormat),
726
725
  absoluteIndex: t
727
- }))), qn = d(() => {
728
- let e = P.value.style.layout.grid.xAxis.dataLabels, t = Q.value || [], n = Rn.value || [], r = K.value.start ?? 0, i = j.value, a = G.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? "");
729
- return re(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Vn.value || 1), o, s, r, i, a);
730
- }), Jn = d(() => P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
726
+ }))), Yn = f(() => {
727
+ let e = P.value.style.layout.grid.xAxis.dataLabels, t = Q.value || [], n = Bn.value || [], r = K.value.start ?? 0, i = j.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, Un.value || 1), o, s, r, i, a);
729
+ }), Xn = f(() => P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
731
730
  start: Q.value.find((e) => e.absoluteIndex === K.value.start)?.text ?? "",
732
731
  end: Q.value.find((e) => e.absoluteIndex === K.value.end - 1)?.text ?? ""
733
732
  } : {
734
733
  start: I.value[K.value.start] ? I.value[K.value.start][0] : I.value[0][0],
735
734
  end: I.value[K.value.end - 1] ? I.value[K.value.end - 1][0] : I.value.at(-1)[0]
736
- }), Yn = S(null);
737
- function Xn(e, t) {
735
+ }), Zn = S(null);
736
+ function Qn(e, t) {
738
737
  P.value.events.datapointClick && P.value.events.datapointClick({
739
738
  datapoint: t,
740
739
  seriesIndex: e + K.value.start
741
740
  });
742
741
  }
743
- function Zn(e, t) {
742
+ function $n(e, t) {
744
743
  P.value.events.datapointLeave && P.value.events.datapointLeave({
745
744
  datapoint: t,
746
745
  seriesIndex: e + K.value.start
747
- }), j.value = void 0, It.value = !1, N.value = null, tn.value = "pointer";
746
+ }), j.value = void 0, Rt.value = !1, N.value = null, rn.value = "pointer";
748
747
  }
749
- Be(() => O.selectedXIndex, (e) => {
748
+ Ve(() => O.selectedXIndex, (e) => {
750
749
  if ([null, void 0].includes(O.selectedXIndex)) {
751
750
  j.value = null;
752
751
  return;
@@ -754,53 +753,53 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
754
753
  let t = e - K.value.start;
755
754
  t < 0 || e >= K.value.end ? j.value = null : j.value = t ?? null;
756
755
  }, { immediate: !0 });
757
- function Qn(e, t, n = "pointer") {
756
+ function er(e, t, n = "pointer") {
758
757
  P.value.events.datapointEnter && P.value.events.datapointEnter({
759
758
  datapoint: t,
760
759
  seriesIndex: e + K.value.start
761
- }), j.value = e, N.value = e, tn.value = n, Yn.value = {
760
+ }), j.value = e, N.value = e, rn.value = n, Zn.value = {
762
761
  datapoint: t,
763
762
  seriesIndex: e,
764
763
  series: Z.value,
765
764
  config: P.value
766
- }, Er({
765
+ }, Or({
767
766
  seriesIndex: e,
768
767
  datapoint: t
769
768
  });
770
769
  let r = P.value.style.tooltip.customFormat;
771
- if (ee(r) && ie(() => r({
770
+ if (c(r) && re(() => r({
772
771
  seriesIndex: e,
773
772
  datapoint: t,
774
773
  series: Z.value,
775
774
  config: P.value
776
- }))) Lt.value = r({
775
+ }))) zt.value = r({
777
776
  seriesIndex: e,
778
777
  datapoint: t,
779
778
  series: Z.value,
780
779
  config: P.value
781
780
  });
782
781
  else if (P.value.style.tooltip.show) {
783
- let n = "", { period: r, open: i, high: a, low: o, close: ee, volume: c, isBullish: te } = Z.value[e], { period: ne, open: re, high: ie, low: ae, close: oe, volume: l } = P.value.translations, se = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? P.value.style.tooltip.useDefaultTimeFormat ? Q.value[e].text : Gn.value[e].text : r;
782
+ let n = "", { period: r, open: i, high: a, low: o, close: c, volume: l, isBullish: ee } = Z.value[e], { period: te, open: ne, high: re, low: ie, close: ae, volume: u } = P.value.translations, oe = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? P.value.style.tooltip.useDefaultTimeFormat ? Q.value[e].text : qn.value[e].text : r;
784
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="${P.value.style.layout.candle.borderRadius * 3}" stroke="${P.value.style.layout.candle.stroke}" stroke-width="${P.value.style.layout.candle.strokeWidth}"
785
- fill="${P.value.style.layout.candle.gradient.show ? te ? `url(#bullish_gradient_${A.value})` : `url(#bearish_gradient_${A.value})` : te ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish}"/></svg>${se}</div>`, n += `${l} : <b>${isNaN(c) ? "-" : Number(c.toFixed(P.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, n += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${P.value.style.tooltip.borderColor}">`;
786
- let ce = s({
784
+ fill="${P.value.style.layout.candle.gradient.show ? ee ? `url(#bullish_gradient_${A.value})` : `url(#bearish_gradient_${A.value})` : ee ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish}"/></svg>${oe}</div>`, n += `${u} : <b>${isNaN(l) ? "-" : Number(l.toFixed(P.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, n += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${P.value.style.tooltip.borderColor}">`;
785
+ let se = s({
787
786
  p: P.value.style.tooltip.prefix,
788
787
  v: i.value,
789
788
  s: P.value.style.tooltip.suffix,
790
789
  r: P.value.style.tooltip.roundingValue
791
- }), le = s({
790
+ }), ce = s({
792
791
  p: P.value.style.tooltip.prefix,
793
792
  v: a.value,
794
793
  s: P.value.style.tooltip.suffix,
795
794
  r: P.value.style.tooltip.roundingValue
796
- }), ue = s({
795
+ }), le = s({
797
796
  p: P.value.style.tooltip.prefix,
798
797
  v: o.value,
799
798
  s: P.value.style.tooltip.suffix,
800
799
  r: P.value.style.tooltip.roundingValue
801
- }), de = s({
800
+ }), ue = s({
802
801
  p: P.value.style.tooltip.prefix,
803
- v: ee.value,
802
+ v: c.value,
804
803
  s: P.value.style.tooltip.suffix,
805
804
  r: P.value.style.tooltip.roundingValue
806
805
  });
@@ -811,54 +810,54 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
811
810
  ${t.isBullish ? `
812
811
  <line x1="45" x2="50" y1="65" y2="65" stroke="${P.value.style.layout.candle.colors.bullish}" stroke-width="1.5" stroke-linecap="round" />
813
812
  <line x1="50" x2="55" y1="35" y2="35" stroke="${P.value.style.layout.candle.colors.bullish}" stroke-width="1.5" stroke-linecap="round" />
814
- <text x="38" y="70" text-anchor="end" fill="${P.value.style.tooltip.color}">${ce}</text>
815
- <text x="62" y="40" text-anchor="start" fill="${P.value.style.tooltip.color}">${de}</text>
813
+ <text x="38" y="70" text-anchor="end" fill="${P.value.style.tooltip.color}">${se}</text>
814
+ <text x="62" y="40" text-anchor="start" fill="${P.value.style.tooltip.color}">${ue}</text>
816
815
  ` : `
817
816
  <line x1="45" x2="50" y1="35" y2="35" stroke="${P.value.style.layout.candle.colors.bearish}" stroke-width="1.5" stroke-linecap="round" />
818
817
  <line x1="50" x2="55" y1="65" y2="65" stroke="${P.value.style.layout.candle.colors.bearish}" stroke-width="1.5" stroke-linecap="round" />
819
- <text x="40" y="40" text-anchor="end" fill="${P.value.style.tooltip.color}">${ce}</text>
820
- <text x="60" y="70" text-anchor="start" fill="${P.value.style.tooltip.color}">${de}</text>
818
+ <text x="40" y="40" text-anchor="end" fill="${P.value.style.tooltip.color}">${se}</text>
819
+ <text x="60" y="70" text-anchor="start" fill="${P.value.style.tooltip.color}">${ue}</text>
821
820
  `}
822
- <text x="50" y="13" text-anchor="middle" fill="${P.value.style.tooltip.color}">${le}</text>
823
- <text x="50" y="97" text-anchor="middle" fill="${P.value.style.tooltip.color}">${ue}</text>
821
+ <text x="50" y="13" text-anchor="middle" fill="${P.value.style.tooltip.color}">${ce}</text>
822
+ <text x="50" y="97" text-anchor="middle" fill="${P.value.style.tooltip.color}">${le}</text>
824
823
  <g>
825
824
  </svg>
826
825
  <div>
827
- ` : (n += `<div>${re}: <b>${ce}</b></div>`, n += `<div>${ie}: <b>${le}</b></div>`, n += `<div>${ae}: <b>${ue}</b></div>`, n += `<div>${oe}: <b>${de}</b></div>`), n += "</div>", Lt.value = `<div style="text-align:right">${n}</div>`;
826
+ ` : (n += `<div>${ne}: <b>${se}</b></div>`, n += `<div>${re}: <b>${ce}</b></div>`, n += `<div>${ie}: <b>${le}</b></div>`, n += `<div>${ae}: <b>${ue}</b></div>`), n += "</div>", zt.value = `<div style="text-align:right">${n}</div>`;
828
827
  }
829
- It.value = !0;
828
+ Rt.value = !0;
830
829
  }
831
- let $n = S(null);
832
- function er() {
830
+ let tr = S(null);
831
+ function nr() {
833
832
  return new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(() => e())));
834
833
  }
835
- Fe(() => {
836
- $n.value && cancelAnimationFrame($n.value);
834
+ Ie(() => {
835
+ tr.value && cancelAnimationFrame(tr.value);
837
836
  });
838
- async function tr() {
839
- ar(), await Pe(), $n.value && cancelAnimationFrame($n.value), $n.value = requestAnimationFrame(async () => {
840
- await er(), ar();
837
+ async function rr() {
838
+ sr(), await Pe(), tr.value && cancelAnimationFrame(tr.value), tr.value = requestAnimationFrame(async () => {
839
+ await nr(), sr();
841
840
  });
842
841
  }
843
- let nr = S(!1), rr = S(!1), ir = S(!1);
844
- function ar() {
845
- if (!nr.value) {
846
- nr.value = !0;
842
+ let ir = S(!1), ar = S(!1), or = S(!1);
843
+ function sr() {
844
+ if (!ir.value) {
845
+ ir.value = !0;
847
846
  try {
848
- let { startIndex: e, endIndex: t } = P.value.style.zoom, n = G.value, r = e ?? 0, i = t == null ? n : Math.min(or(t + 1), n);
849
- ir.value = !0, K.value.start = r, K.value.end = i, q.value.start = r, q.value.end = i, En(), rr.value = !0;
847
+ let { startIndex: e, endIndex: t } = P.value.style.zoom, n = G.value, r = e ?? 0, i = t == null ? n : Math.min(cr(t + 1), n);
848
+ or.value = !0, K.value.start = r, K.value.end = i, q.value.start = r, q.value.end = i, On(), ar.value = !0;
850
849
  } finally {
851
850
  queueMicrotask(() => {
852
- ir.value = !1;
853
- }), nr.value = !1;
851
+ or.value = !1;
852
+ }), ir.value = !1;
854
853
  }
855
854
  }
856
855
  }
857
- function or(e) {
856
+ function cr(e) {
858
857
  let t = G.value;
859
858
  return e > t ? t : e < 0 || e < K.value.start ? P.value.style.zoom.startIndex === null ? 1 : P.value.style.zoom.startIndex + 1 : e;
860
859
  }
861
- function sr(e = null) {
860
+ function lr(e = null) {
862
861
  Pe(() => {
863
862
  let t = [
864
863
  P.value.translations.period,
@@ -890,7 +889,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
890
889
  });
891
890
  });
892
891
  }
893
- let cr = d(() => {
892
+ let ur = f(() => {
894
893
  let e = Z.value.map((e, t) => {
895
894
  let n = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? Q.value?.[t]?.text ?? "" : e.period, r = s({
896
895
  p: P.value.table.td.prefix,
@@ -976,20 +975,20 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
976
975
  colNames: r
977
976
  };
978
977
  }), $ = S(!1);
979
- function lr(e) {
980
- $.value = e, Rt.value += 1;
978
+ function dr(e) {
979
+ $.value = e, Bt.value += 1;
981
980
  }
982
- function ur() {
981
+ function fr() {
983
982
  H.value.showTable = !H.value.showTable;
984
983
  }
985
- function dr() {
984
+ function pr() {
986
985
  H.value.showTooltip = !H.value.showTooltip;
987
986
  }
988
- let fr = S(!1);
989
- function pr() {
990
- fr.value = !fr.value;
987
+ let mr = S(!1);
988
+ function hr() {
989
+ mr.value = !mr.value;
991
990
  }
992
- async function mr({ scale: e = 2 } = {}) {
991
+ async function gr({ scale: e = 2 } = {}) {
993
992
  if (!M.value) return;
994
993
  let { imageUri: t, base64: n } = await ye({
995
994
  domElement: M.value,
@@ -1000,7 +999,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1000
999
  width: r.width,
1001
1000
  height: r.height,
1002
1001
  aspectRatio: r.height ? r.width / r.height : 0
1003
- }, a = await oe(t, e) ?? i;
1002
+ }, a = await ae(t, e) ?? i;
1004
1003
  return {
1005
1004
  imageUri: t,
1006
1005
  base64: n,
@@ -1008,9 +1007,9 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1008
1007
  ...a
1009
1008
  };
1010
1009
  }
1011
- let hr = d(() => R.value.width), gr = d(() => R.value.height);
1010
+ let _r = f(() => R.value.width), vr = f(() => R.value.height);
1012
1011
  ve({
1013
- timeLabelsEls: Jt,
1012
+ timeLabelsEls: Xt,
1014
1013
  timeLabels: Q,
1015
1014
  slicer: K,
1016
1015
  configRef: P,
@@ -1033,18 +1032,18 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1033
1032
  ],
1034
1033
  isAutoSize: !1,
1035
1034
  rotation: P.value.style.layout.grid.xAxis.dataLabels.autoRotate.angle,
1036
- width: hr,
1037
- height: gr
1038
- }), Be(P, () => {
1035
+ width: _r,
1036
+ height: vr
1037
+ }), Ve(P, () => {
1039
1038
  H.value = {
1040
1039
  showTable: P.value.table.show,
1041
1040
  showTooltip: P.value.style.tooltip.show
1042
1041
  };
1043
1042
  }, { immediate: !0 });
1044
- let _r = d(() => {
1043
+ let yr = f(() => {
1045
1044
  let e = P.value.table.useDialog && !P.value.table.show, t = H.value.showTable;
1046
1045
  return {
1047
- component: e ? kt : wt,
1046
+ component: e ? At : Tt,
1048
1047
  title: `${P.value.style.title.text}${P.value.style.title.subtitle.text ? `: ${P.value.style.title.subtitle.text}` : ""}`,
1049
1048
  props: e ? {
1050
1049
  backgroundColor: P.value.table.th.backgroundColor,
@@ -1054,7 +1053,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1054
1053
  isFullscreen: $.value,
1055
1054
  fullscreenParent: M.value,
1056
1055
  forcedWidth: Math.min(800, window.innerWidth * .8),
1057
- isCursorPointer: rn.value
1056
+ isCursorPointer: on.value
1058
1057
  } : {
1059
1058
  hideDetails: !0,
1060
1059
  config: {
@@ -1072,64 +1071,65 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1072
1071
  }
1073
1072
  };
1074
1073
  });
1075
- Be(() => H.value.showTable, (e) => {
1076
- P.value.table.show || (e && P.value.table.useDialog && Yt.value ? Yt.value.open() : "close" in Yt.value && Yt.value.close());
1074
+ Ve(() => H.value.showTable, (e) => {
1075
+ P.value.table.show || (e && P.value.table.useDialog && Zt.value ? Zt.value.open() : "close" in Zt.value && Zt.value.close());
1077
1076
  });
1078
- function vr() {
1079
- H.value.showTable = !1, Xt.value && Xt.value.setTableIconState(!1);
1077
+ function br() {
1078
+ H.value.showTable = !1, Qt.value && Qt.value.setTableIconState(!1);
1080
1079
  }
1081
- let yr = d(() => P.value.style.backgroundColor), { exportSvg: br, getSvg: xr } = he({
1080
+ let xr = f(() => P.value.style.backgroundColor), { exportSvg: Sr, getSvg: Cr } = me({
1082
1081
  svg: L,
1083
- title: d(() => P.value.style.title),
1084
- backgroundColor: yr
1082
+ title: f(() => P.value.style.title),
1083
+ backgroundColor: xr
1085
1084
  });
1086
- async function Sr({ isCb: e }) {
1087
- $t.value = !0, await Pe();
1085
+ async function wr({ isCb: e }) {
1086
+ tn.value = !0, await Pe();
1088
1087
  try {
1089
1088
  if (e) {
1090
- let { blob: e, url: t, text: n, dataUrl: r } = await xr();
1089
+ let { blob: e, url: t, text: n, dataUrl: r } = await Cr();
1091
1090
  await Promise.resolve(P.value.userOptions.callbacks.svg({
1092
1091
  blob: e,
1093
1092
  url: t,
1094
1093
  text: n,
1095
1094
  dataUrl: r
1096
1095
  }));
1097
- } else await Promise.resolve(br());
1096
+ } else await Promise.resolve(Sr());
1098
1097
  } finally {
1099
- $t.value = !1;
1098
+ tn.value = !1;
1100
1099
  }
1101
1100
  }
1102
- function Cr(e) {
1103
- Zt.value = e;
1101
+ function Tr(e) {
1102
+ $t.value = e;
1104
1103
  }
1105
- function wr(e) {
1106
- nr.value || ir.value || e !== K.value.start && (K.value.start = e, q.value.start = e, En());
1104
+ function Er(e) {
1105
+ ir.value || or.value || e !== K.value.start && (K.value.start = e, q.value.start = e, On());
1107
1106
  }
1108
- function Tr(e) {
1109
- if (nr.value || ir.value) return;
1110
- let t = or(e);
1111
- t !== K.value.end && (K.value.end = t, q.value.end = t, En());
1107
+ function Dr(e) {
1108
+ if (ir.value || or.value) return;
1109
+ let t = cr(e);
1110
+ t !== K.value.end && (K.value.end = t, q.value.end = t, On());
1112
1111
  }
1113
- function Er({ seriesIndex: e, datapoint: t }) {
1114
- Nt("selectX", {
1112
+ function Or({ seriesIndex: e, datapoint: t }) {
1113
+ let n = K.value.start + e;
1114
+ Ft("selectX", {
1115
1115
  dataset: t,
1116
- index: K.value.start + e,
1116
+ index: n,
1117
1117
  indexLabel: ""
1118
1118
  });
1119
1119
  }
1120
- function Dr(e) {
1120
+ function kr(e) {
1121
1121
  if (e?.stage === "start") {
1122
- Qt.value = !0;
1122
+ en.value = !0;
1123
1123
  return;
1124
1124
  }
1125
1125
  if (e?.stage === "end") {
1126
- Qt.value = !1;
1126
+ en.value = !1;
1127
1127
  return;
1128
1128
  }
1129
- _n();
1129
+ yn();
1130
1130
  }
1131
- async function Or() {
1132
- if (Nt("copyAlt", {
1131
+ async function Ar() {
1132
+ if (Ft("copyAlt", {
1133
1133
  config: P.value,
1134
1134
  dataset: Z.value
1135
1135
  }), !P.value.userOptions.callbacks.altCopy) {
@@ -1141,73 +1141,73 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1141
1141
  dataset: Z.value
1142
1142
  }));
1143
1143
  }
1144
- function kr() {
1145
- N.value = null, nn.value = !0;
1144
+ function jr() {
1145
+ N.value = null, an.value = !0;
1146
1146
  }
1147
- function Ar() {
1148
- N.value = null, tn.value = "pointer", It.value = !1, j.value = void 0, nn.value = !1;
1147
+ function Mr() {
1148
+ N.value = null, rn.value = "pointer", Rt.value = !1, j.value = void 0, an.value = !1;
1149
1149
  }
1150
- function jr(e) {
1151
- if (!L.value || fr.value || document.activeElement !== L.value || !Z.value.length) return;
1150
+ function Nr(e) {
1151
+ if (!L.value || mr.value || document.activeElement !== L.value || !Z.value.length) return;
1152
1152
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1153
1153
  if (!t && !n && !r && !i) return;
1154
1154
  if (e.preventDefault(), e.stopPropagation(), i) {
1155
- N.value = null, tn.value = "pointer", It.value = !1, j.value = void 0;
1155
+ N.value = null, rn.value = "pointer", Rt.value = !1, j.value = void 0;
1156
1156
  return;
1157
1157
  }
1158
1158
  if (r) {
1159
1159
  if (N.value === null) return;
1160
1160
  let e = Z.value[N.value];
1161
1161
  if (!e) return;
1162
- Xn(N.value, e);
1162
+ Qn(N.value, e);
1163
1163
  return;
1164
1164
  }
1165
- let a = N.value, o = j.value, s = a !== null && a >= 0 && a < Z.value.length, ee = o != null && o >= 0 && o < Z.value.length;
1166
- s ? n ? (a += 1, a >= Z.value.length && (a = 0)) : t && (--a, a < 0 && (a = Z.value.length - 1)) : ee ? (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;
1167
- let c = Z.value[a];
1168
- c && (Mr(a), Qn(a, c, "keyboard"));
1165
+ let a = N.value, o = j.value, s = a !== null && a >= 0 && a < Z.value.length, c = o != null && o >= 0 && o < Z.value.length;
1166
+ 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;
1167
+ let l = Z.value[a];
1168
+ l && (Pr(a), er(a, l, "keyboard"));
1169
1169
  }
1170
- function Mr(e) {
1170
+ function Pr(e) {
1171
1171
  if (!Number.isFinite(e) || !L.value) return;
1172
1172
  let t = W.value.left + Y.value * e + Y.value / 2, n = W.value.top + W.value.height / 2, r = L.value.getBoundingClientRect();
1173
- en.value = {
1173
+ nn.value = {
1174
1174
  x: r.left + t / R.value.width * r.width,
1175
1175
  y: r.top + n / R.value.height * r.height
1176
1176
  };
1177
1177
  }
1178
- let Nr = d(() => ({
1179
- headers: cr.value?.colNames ?? [],
1180
- rows: cr.value?.bodyA11y ?? []
1178
+ let Fr = f(() => ({
1179
+ headers: ur.value?.colNames ?? [],
1180
+ rows: ur.value?.bodyA11y ?? []
1181
1181
  }));
1182
1182
  return xe({
1183
- getImage: mr,
1184
- generatePdf: gn,
1185
- generateCsv: sr,
1186
- generateImage: _n,
1187
- generateSvg: Sr,
1188
- toggleTable: ur,
1189
- toggleTooltip: dr,
1190
- toggleAnnotator: pr,
1191
- toggleFullscreen: lr,
1192
- copyAlt: Or
1193
- }), (e, t) => (x(), m("div", {
1183
+ getImage: gr,
1184
+ generatePdf: vn,
1185
+ generateCsv: lr,
1186
+ generateImage: yn,
1187
+ generateSvg: wr,
1188
+ toggleTable: fr,
1189
+ toggleTooltip: pr,
1190
+ toggleAnnotator: hr,
1191
+ toggleFullscreen: dr,
1192
+ copyAlt: Ar
1193
+ }), (e, t) => (x(), h("div", {
1194
1194
  ref_key: "candlestickChart",
1195
1195
  ref: M,
1196
- class: v(`vue-data-ui-component vue-ui-candlestick ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1197
- style: b(`position:relative;font-family:${P.value.style.fontFamily}; text-align:center;background:${P.value.style.backgroundColor}; ${P.value.responsive ? "height: 100%" : ""}`),
1196
+ class: y(`vue-data-ui-component vue-ui-candlestick ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1197
+ style: Fe(`position:relative;font-family:${P.value.style.fontFamily}; text-align:center;background:${P.value.style.backgroundColor}; ${P.value.responsive ? "height: 100%" : ""}`),
1198
1198
  id: `vue-ui-candlestick_${A.value}`,
1199
- onMouseenter: un,
1200
- onMouseleave: dn
1199
+ onMouseenter: fn,
1200
+ onMouseleave: pn
1201
1201
  }, [
1202
- h("div", {
1202
+ g("div", {
1203
1203
  id: `chart-instructions-${A.value}`,
1204
1204
  class: "sr-only"
1205
- }, [h("p", null, T(P.value.a11y.translations.keyboardNavigation), 1)], 8, We),
1206
- Nr.value?.rows?.length ? (x(), f(Ee, {
1205
+ }, [g("p", null, T(P.value.a11y.translations.keyboardNavigation), 1)], 8, Ge),
1206
+ Fr.value?.rows?.length ? (x(), p(Ee, {
1207
1207
  key: 0,
1208
1208
  uid: A.value,
1209
- head: Nr.value.headers,
1210
- body: Nr.value.rows,
1209
+ head: Fr.value.headers,
1210
+ body: Fr.value.rows,
1211
1211
  notice: P.value.a11y.translations.tableAvailable,
1212
1212
  caption: P.value.a11y.translations.tableCaption
1213
1213
  }, null, 8, [
@@ -1216,22 +1216,22 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1216
1216
  "body",
1217
1217
  "notice",
1218
1218
  "caption"
1219
- ])) : p("", !0),
1220
- P.value.userOptions.buttons.annotator ? (x(), f(E(Et), {
1219
+ ])) : m("", !0),
1220
+ P.value.userOptions.buttons.annotator ? (x(), p(E(Dt), {
1221
1221
  key: 1,
1222
1222
  svgRef: E(L),
1223
1223
  backgroundColor: P.value.style.backgroundColor,
1224
1224
  color: P.value.style.color,
1225
- active: fr.value,
1226
- isCursorPointer: rn.value,
1227
- onClose: pr
1225
+ active: mr.value,
1226
+ isCursorPointer: on.value,
1227
+ onClose: hr
1228
1228
  }, {
1229
1229
  "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1230
- "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
1231
- "annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", y(_({ mode: t })), void 0, !0)]),
1232
- "annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", y(_({ disabled: t })), void 0, !0)]),
1233
- "annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", y(_({ disabled: t })), void 0, !0)]),
1234
- "annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", y(_({ disabled: t })), void 0, !0)]),
1230
+ "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", b(v({ color: t })), void 0, !0)]),
1231
+ "annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", b(v({ mode: t })), void 0, !0)]),
1232
+ "annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", b(v({ disabled: t })), void 0, !0)]),
1233
+ "annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", b(v({ disabled: t })), void 0, !0)]),
1234
+ "annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", b(v({ disabled: t })), void 0, !0)]),
1235
1235
  _: 3
1236
1236
  }, 8, [
1237
1237
  "svgRef",
@@ -1239,21 +1239,21 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1239
1239
  "color",
1240
1240
  "active",
1241
1241
  "isCursorPointer"
1242
- ])) : p("", !0),
1243
- vn.value ? (x(), m("div", {
1242
+ ])) : m("", !0),
1243
+ bn.value ? (x(), h("div", {
1244
1244
  key: 2,
1245
1245
  ref_key: "noTitle",
1246
- ref: Ut,
1246
+ ref: Gt,
1247
1247
  class: "vue-data-ui-no-title-space",
1248
1248
  style: "height:36px; width: 100%;background:transparent"
1249
- }, null, 512)) : p("", !0),
1250
- P.value.style.title.text ? (x(), m("div", {
1249
+ }, null, 512)) : m("", !0),
1250
+ P.value.style.title.text ? (x(), h("div", {
1251
1251
  key: 3,
1252
1252
  ref_key: "chartTitle",
1253
- ref: zt,
1253
+ ref: Vt,
1254
1254
  style: "width:100%;background:transparent"
1255
- }, [(x(), f(be, {
1256
- key: `title_${Kt.value}`,
1255
+ }, [(x(), p(be, {
1256
+ key: `title_${Jt.value}`,
1257
1257
  config: {
1258
1258
  title: {
1259
1259
  cy: "candlestick-div-title",
@@ -1264,15 +1264,15 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1264
1264
  ...P.value.style.title.subtitle
1265
1265
  }
1266
1266
  }
1267
- }, null, 8, ["config"]))], 512)) : p("", !0),
1268
- P.value.userOptions.show && Pt.value && (E(ln) || E(sn)) ? (x(), f(E(Dt), {
1267
+ }, null, 8, ["config"]))], 512)) : m("", !0),
1268
+ P.value.userOptions.show && It.value && (E(dn) || E(ln)) ? (x(), p(E(Ot), {
1269
1269
  ref_key: "userOptionsRef",
1270
- ref: Xt,
1271
- key: `user_options_${Rt.value}`,
1270
+ ref: Qt,
1271
+ key: `user_options_${Bt.value}`,
1272
1272
  backgroundColor: P.value.style.backgroundColor,
1273
1273
  color: P.value.style.color,
1274
- isImaging: E(hn),
1275
- isPrinting: E(mn),
1274
+ isImaging: E(_n),
1275
+ isPrinting: E(gn),
1276
1276
  uid: A.value,
1277
1277
  hasTooltip: P.value.userOptions.buttons.tooltip && P.value.style.tooltip.show,
1278
1278
  hasPdf: P.value.userOptions.buttons.pdf,
@@ -1288,25 +1288,25 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1288
1288
  chartElement: M.value,
1289
1289
  position: P.value.userOptions.position,
1290
1290
  hasAnnotator: P.value.userOptions.buttons.annotator,
1291
- isAnnotation: fr.value,
1291
+ isAnnotation: mr.value,
1292
1292
  callbacks: P.value.userOptions.callbacks,
1293
1293
  printScale: P.value.userOptions.print.scale,
1294
1294
  tableDialog: P.value.table.useDialog,
1295
- isCursorPointer: rn.value,
1296
- onToggleFullscreen: lr,
1297
- onGeneratePdf: E(gn),
1298
- onGenerateCsv: sr,
1299
- onGenerateImage: Dr,
1300
- onGenerateSvg: Sr,
1301
- onToggleTable: ur,
1302
- onToggleTooltip: dr,
1303
- onToggleAnnotator: pr,
1304
- onCopyAlt: Or,
1305
- style: b({ visibility: E(ln) ? E(sn) ? "visible" : "hidden" : "visible" })
1295
+ isCursorPointer: on.value,
1296
+ onToggleFullscreen: dr,
1297
+ onGeneratePdf: E(vn),
1298
+ onGenerateCsv: lr,
1299
+ onGenerateImage: kr,
1300
+ onGenerateSvg: wr,
1301
+ onToggleTable: fr,
1302
+ onToggleTooltip: pr,
1303
+ onToggleAnnotator: hr,
1304
+ onCopyAlt: Ar,
1305
+ style: Fe({ visibility: E(dn) ? E(ln) ? "visible" : "hidden" : "visible" })
1306
1306
  }, Ae({ _: 2 }, [
1307
1307
  e.$slots.menuIcon ? {
1308
1308
  name: "menuIcon",
1309
- fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(_({
1309
+ fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", b(v({
1310
1310
  isOpen: t,
1311
1311
  color: n
1312
1312
  })), void 0, !0)]),
@@ -1344,7 +1344,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1344
1344
  } : void 0,
1345
1345
  e.$slots.optionFullscreen ? {
1346
1346
  name: "optionFullscreen",
1347
- fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", y(_({
1347
+ fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", b(v({
1348
1348
  toggleFullscreen: t,
1349
1349
  isFullscreen: n
1350
1350
  })), void 0, !0)]),
@@ -1352,7 +1352,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1352
1352
  } : void 0,
1353
1353
  e.$slots.optionAnnotator ? {
1354
1354
  name: "optionAnnotator",
1355
- fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", y(_({
1355
+ fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", b(v({
1356
1356
  toggleAnnotator: t,
1357
1357
  isAnnotator: n
1358
1358
  })), void 0, !0)]),
@@ -1360,7 +1360,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1360
1360
  } : void 0,
1361
1361
  e.$slots.optionAltCopy ? {
1362
1362
  name: "optionAltCopy",
1363
- fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
1363
+ fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", b(v({ altCopy: t })), void 0, !0)]),
1364
1364
  key: "9"
1365
1365
  } : void 0,
1366
1366
  e.$slots["custom-menu-before"] ? {
@@ -1373,34 +1373,34 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1373
1373
  fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1374
1374
  key: "11"
1375
1375
  } : void 0
1376
- ]), 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("."))) : p("", !0),
1377
- h("div", Ge, [(x(), m("svg", {
1376
+ ]), 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("."))) : m("", !0),
1377
+ g("div", Ke, [(x(), h("svg", {
1378
1378
  ref_key: "svgRef",
1379
1379
  ref: L,
1380
- xmlns: E(ae),
1380
+ xmlns: E(ie),
1381
1381
  "aria-describedby": `chart-instructions-${A.value}`,
1382
- class: v({
1382
+ class: y({
1383
1383
  "vue-data-ui-fullscreen--on": $.value,
1384
1384
  "vue-data-ui-fulscreen--off": !$.value
1385
1385
  }),
1386
1386
  viewBox: `0 0 ${R.value.width <= 0 ? 10 : R.value.width} ${R.value.height <= 0 ? 10 : R.value.height}`,
1387
- style: b(`max-width:100%;overflow:visible;background:transparent;color:${P.value.style.color}`),
1387
+ style: Fe(`max-width:100%;overflow:visible;background:transparent;color:${P.value.style.color}`),
1388
1388
  tabindex: "0",
1389
- onFocus: kr,
1390
- onBlur: Ar,
1391
- onKeydown: jr
1389
+ onFocus: jr,
1390
+ onBlur: Mr,
1391
+ onKeydown: Nr
1392
1392
  }, [
1393
- Me(E(Ot)),
1394
- e.$slots["chart-background"] ? (x(), m("foreignObject", {
1393
+ Me(E(kt)),
1394
+ e.$slots["chart-background"] ? (x(), h("foreignObject", {
1395
1395
  key: 0,
1396
1396
  x: W.value.left,
1397
1397
  y: W.value.top,
1398
1398
  width: Math.max(.1, W.value.width),
1399
1399
  height: Math.max(.1, W.value.height),
1400
1400
  style: { pointerEvents: "none" }
1401
- }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, qe)) : p("", !0),
1402
- Z.value.length > 0 ? (x(), m("g", Je, [
1403
- h("defs", null, [Me(we, {
1401
+ }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Je)) : m("", !0),
1402
+ Z.value.length > 0 ? (x(), h("g", Ye, [
1403
+ g("defs", null, [Me(we, {
1404
1404
  t: "linear",
1405
1405
  id: `bearish_gradient_${A.value}`,
1406
1406
  x2: "0%",
@@ -1445,8 +1445,8 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1445
1445
  ]
1446
1446
  ]
1447
1447
  }, null, 8, ["id", "stops"])]),
1448
- P.value.style.layout.grid.show ? (x(), m("g", Ye, [
1449
- h("line", {
1448
+ P.value.style.layout.grid.show ? (x(), h("g", Xe, [
1449
+ g("line", {
1450
1450
  x1: U.value ? W.value.right : W.value.left,
1451
1451
  x2: U.value ? W.value.right : W.value.left,
1452
1452
  y1: W.value.top,
@@ -1454,8 +1454,8 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1454
1454
  stroke: P.value.style.layout.grid.stroke,
1455
1455
  "stroke-width": P.value.style.layout.grid.strokeWidth,
1456
1456
  "stroke-linecap": "round"
1457
- }, null, 8, Xe),
1458
- h("line", {
1457
+ }, null, 8, Ze),
1458
+ g("line", {
1459
1459
  x1: W.value.left,
1460
1460
  x2: W.value.right,
1461
1461
  y1: W.value.bottom,
@@ -1463,8 +1463,8 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1463
1463
  stroke: P.value.style.layout.grid.stroke,
1464
1464
  "stroke-width": P.value.style.layout.grid.strokeWidth,
1465
1465
  "stroke-linecap": "round"
1466
- }, null, 8, Ze),
1467
- P.value.style.layout.grid.horizontalLines.show ? (x(!0), m(u, { key: 0 }, C(In.value, (e) => (x(), m("line", {
1466
+ }, null, 8, Qe),
1467
+ P.value.style.layout.grid.horizontalLines.show ? (x(!0), h(d, { key: 0 }, C(Rn.value, (e) => (x(), h("line", {
1468
1468
  x1: W.value.left,
1469
1469
  x2: W.value.right,
1470
1470
  y1: e.y,
@@ -1473,8 +1473,8 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1473
1473
  "stroke-width": P.value.style.layout.grid.horizontalLines.strokeWidth,
1474
1474
  "stroke-dasharray": P.value.style.layout.grid.horizontalLines.strokeDasharray,
1475
1475
  "stroke-linecap": "round"
1476
- }, null, 8, Qe))), 256)) : p("", !0),
1477
- P.value.style.layout.grid.verticalLines.show ? (x(!0), m(u, { key: 1 }, C(qn.value, (e, t) => (x(), m("g", null, [e.text ? (x(), m("line", {
1476
+ }, null, 8, $e))), 256)) : m("", !0),
1477
+ P.value.style.layout.grid.verticalLines.show ? (x(!0), h(d, { key: 1 }, C(Yn.value, (e, t) => (x(), h("g", null, [e.text ? (x(), h("line", {
1478
1478
  key: 0,
1479
1479
  x1: W.value.left + Y.value * t + Y.value / 2,
1480
1480
  x2: W.value.left + Y.value * t + Y.value / 2,
@@ -1484,8 +1484,8 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1484
1484
  "stroke-width": P.value.style.layout.grid.verticalLines.strokeWidth,
1485
1485
  "stroke-dasharray": P.value.style.layout.grid.verticalLines.strokeDasharray,
1486
1486
  "stroke-linecap": "round"
1487
- }, null, 8, $e)) : p("", !0)]))), 256)) : p("", !0),
1488
- P.value.style.layout.grid.xAxis.ticks.show ? (x(!0), m(u, { key: 2 }, C(qn.value, (e, t) => (x(), m("g", null, [e.text ? (x(), m("line", {
1487
+ }, null, 8, et)) : m("", !0)]))), 256)) : m("", !0),
1488
+ P.value.style.layout.grid.xAxis.ticks.show ? (x(!0), h(d, { key: 2 }, C(Yn.value, (e, t) => (x(), h("g", null, [e.text ? (x(), h("line", {
1489
1489
  key: 0,
1490
1490
  x1: W.value.left + Y.value * t + Y.value / 2,
1491
1491
  x2: W.value.left + Y.value * t + Y.value / 2,
@@ -1494,13 +1494,13 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1494
1494
  stroke: P.value.style.layout.grid.stroke,
1495
1495
  "stroke-width": P.value.style.layout.grid.strokeWidth,
1496
1496
  "stroke-linecap": "round"
1497
- }, null, 8, et)) : p("", !0)]))), 256)) : p("", !0)
1498
- ])) : p("", !0),
1499
- P.value.style.layout.grid.yAxis.dataLabels.show ? (x(), m("g", {
1497
+ }, null, 8, tt)) : m("", !0)]))), 256)) : m("", !0)
1498
+ ])) : m("", !0),
1499
+ P.value.style.layout.grid.yAxis.dataLabels.show ? (x(), h("g", {
1500
1500
  key: 1,
1501
1501
  ref_key: "scaleLabels",
1502
- ref: qt
1503
- }, [(x(!0), m(u, null, C(In.value, (e, t) => (x(), m("g", null, [e.value >= X.value.min && e.value <= X.value.max ? (x(), m("line", {
1502
+ ref: Yt
1503
+ }, [(x(!0), h(d, null, C(Rn.value, (e, t) => (x(), h("g", { key: `sl_${t}` }, [e.value >= X.value.min && e.value <= X.value.max ? (x(), h("line", {
1504
1504
  key: 0,
1505
1505
  x1: U.value ? W.value.right : W.value.left,
1506
1506
  x2: U.value ? W.value.right + 5 : W.value.left - 5,
@@ -1509,10 +1509,10 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1509
1509
  stroke: P.value.style.layout.grid.stroke,
1510
1510
  "stroke-width": P.value.style.layout.grid.strokeWidth,
1511
1511
  "stroke-linecap": "round"
1512
- }, null, 8, tt)) : p("", !0), e.value >= X.value.min && e.value <= X.value.max ? (x(), m("text", {
1512
+ }, null, 8, nt)) : m("", !0), e.value >= X.value.min && e.value <= X.value.max ? (x(), h("text", {
1513
1513
  key: 1,
1514
- x: U.value ? W.value.right + 8 + P.value.style.layout.grid.yAxis.dataLabels.offsetX : W.value.left - 8 + P.value.style.layout.grid.yAxis.dataLabels.offsetX,
1515
- y: e.y + R.value.yAxisFontSize / 3,
1514
+ class: y({ "vue-data-ui-datalabel": E(Pt) }),
1515
+ transform: `translate(${U.value ? W.value.right + 8 + P.value.style.layout.grid.yAxis.dataLabels.offsetX : W.value.left - 8 + P.value.style.layout.grid.yAxis.dataLabels.offsetX}, ${e.y + R.value.yAxisFontSize / 3})`,
1516
1516
  "text-anchor": U.value ? "start" : "end",
1517
1517
  "font-size": R.value.yAxisFontSize,
1518
1518
  fill: P.value.style.layout.grid.yAxis.dataLabels.color,
@@ -1522,33 +1522,33 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1522
1522
  v: e.value,
1523
1523
  s: P.value.style.layout.grid.yAxis.dataLabels.suffix,
1524
1524
  r: P.value.style.layout.grid.yAxis.dataLabels.roundingValue
1525
- })), 9, nt)) : p("", !0)]))), 256))], 512)) : p("", !0),
1526
- P.value.style.layout.grid.xAxis.dataLabels.show && !P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (x(), m("g", {
1525
+ })), 11, rt)) : m("", !0)]))), 128))], 512)) : m("", !0),
1526
+ P.value.style.layout.grid.xAxis.dataLabels.show && !P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (x(), h("g", {
1527
1527
  key: 2,
1528
1528
  ref_key: "timeLabelsEls",
1529
- ref: Jt
1530
- }, [(x(!0), m(u, null, C(Ln.value, (e, t) => (x(), m("g", null, [h("text", {
1529
+ ref: Xt
1530
+ }, [(x(!0), h(d, null, C(zn.value, (e, t) => (x(), h("g", null, [g("text", {
1531
1531
  class: "vue-data-ui-time-label",
1532
1532
  transform: `translate(${W.value.left + Y.value * t + Y.value / 2}, ${W.value.bottom + R.value.xAxisFontSize * 1.5}), rotate(${P.value.style.layout.grid.xAxis.dataLabels.rotation})`,
1533
1533
  "text-anchor": P.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : P.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1534
1534
  "font-size": R.value.xAxisFontSize,
1535
1535
  fill: P.value.style.layout.grid.xAxis.dataLabels.color,
1536
1536
  "font-weight": P.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
1537
- }, T(e), 9, rt)]))), 256))], 512)) : p("", !0),
1538
- P.value.style.layout.grid.xAxis.dataLabels.show && P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (x(), m("g", {
1537
+ }, T(e), 9, it)]))), 256))], 512)) : m("", !0),
1538
+ P.value.style.layout.grid.xAxis.dataLabels.show && P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (x(), h("g", {
1539
1539
  key: 3,
1540
1540
  ref_key: "timeLabelsEls",
1541
- ref: Jt
1542
- }, [(x(!0), m(u, null, C(qn.value, (e, t) => (x(), m("g", null, [h("text", {
1541
+ ref: Xt
1542
+ }, [(x(!0), h(d, null, C(Yn.value, (e, t) => (x(), h("g", null, [g("text", {
1543
1543
  class: "vue-data-ui-time-label",
1544
1544
  transform: `translate(${W.value.left + Y.value * t + Y.value / 2}, ${W.value.bottom + R.value.xAxisFontSize * 1.5}), rotate(${P.value.style.layout.grid.xAxis.dataLabels.rotation})`,
1545
1545
  "text-anchor": P.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : P.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1546
1546
  "font-size": R.value.xAxisFontSize,
1547
1547
  fill: P.value.style.layout.grid.xAxis.dataLabels.color,
1548
1548
  "font-weight": P.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
1549
- }, T(e?.text ?? ""), 9, it)]))), 256))], 512)) : p("", !0),
1550
- P.value.type === "candlestick" ? (x(), m(u, { key: 4 }, [h("g", null, [(x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("g", null, [
1551
- h("rect", {
1549
+ }, T(e?.text ?? ""), 9, at)]))), 256))], 512)) : m("", !0),
1550
+ P.value.type === "candlestick" ? (x(), h(d, { key: 4 }, [g("g", null, [(x(!0), h(d, null, C(Z.value, (e, t) => (x(), h("g", null, [
1551
+ g("rect", {
1552
1552
  x: e.open.x - P.value.style.layout.wick.strokeWidth / 2,
1553
1553
  y: e.high.y,
1554
1554
  width: P.value.style.layout.wick.strokeWidth,
@@ -1556,22 +1556,22 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1556
1556
  fill: P.value.style.layout.wick.stroke,
1557
1557
  stroke: "none",
1558
1558
  rx: P.value.style.layout.wick.strokeWidth / 2,
1559
- class: v({ "vue-data-ui-transition": k.value && !E(F) })
1560
- }, null, 10, at),
1561
- P.value.style.layout.wick.extremity.shape === "circle" ? (x(), m("g", ot, [h("circle", {
1559
+ class: y({ "vue-data-ui-transition": k.value && !E(F) })
1560
+ }, null, 10, ot),
1561
+ P.value.style.layout.wick.extremity.shape === "circle" ? (x(), h("g", st, [g("circle", {
1562
1562
  cx: e.high.x,
1563
1563
  cy: e.high.y,
1564
1564
  r: P.value.style.layout.wick.extremity.size === "auto" ? Y.value / 20 : P.value.style.layout.wick.extremity.size,
1565
1565
  fill: P.value.style.layout.wick.extremity.color,
1566
- class: v({ "vue-data-ui-transition": k.value && !E(F) })
1567
- }, null, 10, st), h("circle", {
1566
+ class: y({ "vue-data-ui-transition": k.value && !E(F) })
1567
+ }, null, 10, ct), g("circle", {
1568
1568
  cx: e.low.x,
1569
1569
  cy: e.low.y,
1570
1570
  r: P.value.style.layout.wick.extremity.size === "auto" ? Y.value / 20 : P.value.style.layout.wick.extremity.size,
1571
1571
  fill: P.value.style.layout.wick.extremity.color,
1572
- class: v({ "vue-data-ui-transition": k.value && !E(F) })
1573
- }, null, 10, ct)])) : p("", !0),
1574
- P.value.style.layout.wick.extremity.shape === "line" ? (x(), m("g", lt, [h("rect", {
1572
+ class: y({ "vue-data-ui-transition": k.value && !E(F) })
1573
+ }, null, 10, lt)])) : m("", !0),
1574
+ P.value.style.layout.wick.extremity.shape === "line" ? (x(), h("g", ut, [g("rect", {
1575
1575
  x: e.high.x - (P.value.style.layout.wick.extremity.size === "auto" ? Y.value * P.value.style.layout.candle.widthRatio : P.value.style.layout.wick.extremity.size) / 2,
1576
1576
  y: e.high.y - P.value.style.layout.wick.strokeWidth / 2,
1577
1577
  width: Math.abs(e.high.x - (P.value.style.layout.wick.extremity.size === "auto" ? Y.value * P.value.style.layout.candle.widthRatio : P.value.style.layout.wick.extremity.size) / 2 - (e.high.x + (P.value.style.layout.wick.extremity.size === "auto" ? Y.value * P.value.style.layout.candle.widthRatio : P.value.style.layout.wick.extremity.size) / 2)),
@@ -1579,8 +1579,8 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1579
1579
  rx: P.value.style.layout.wick.strokeWidth / 2,
1580
1580
  fill: P.value.style.layout.wick.extremity.color,
1581
1581
  stroke: "none",
1582
- class: v({ "vue-data-ui-transition": k.value && !E(F) })
1583
- }, null, 10, ut), h("rect", {
1582
+ class: y({ "vue-data-ui-transition": k.value && !E(F) })
1583
+ }, null, 10, dt), g("rect", {
1584
1584
  x: e.low.x - (P.value.style.layout.wick.extremity.size === "auto" ? Y.value * P.value.style.layout.candle.widthRatio : P.value.style.layout.wick.extremity.size) / 2,
1585
1585
  y: e.low.y - P.value.style.layout.wick.strokeWidth / 2,
1586
1586
  width: Math.abs(e.low.x - (P.value.style.layout.wick.extremity.size === "auto" ? Y.value * P.value.style.layout.candle.widthRatio : P.value.style.layout.wick.extremity.size) / 2 - (e.low.x + (P.value.style.layout.wick.extremity.size === "auto" ? Y.value * P.value.style.layout.candle.widthRatio : P.value.style.layout.wick.extremity.size) / 2)),
@@ -1588,9 +1588,9 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1588
1588
  fill: P.value.style.layout.wick.extremity.color,
1589
1589
  stroke: "none",
1590
1590
  rx: P.value.style.layout.wick.strokeWidth / 2,
1591
- class: v({ "vue-data-ui-transition": k.value && !E(F) })
1592
- }, null, 10, dt)])) : p("", !0)
1593
- ]))), 256))]), h("g", null, [(x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
1591
+ class: y({ "vue-data-ui-transition": k.value && !E(F) })
1592
+ }, null, 10, ft)])) : m("", !0)
1593
+ ]))), 256))]), g("g", null, [(x(!0), h(d, null, C(Z.value, (e, t) => (x(), h("rect", {
1594
1594
  x: e.open.x - Y.value / 2 + Y.value * (1 - P.value.style.layout.candle.widthRatio) / 2,
1595
1595
  y: e.isBullish ? e.close.y : e.open.y,
1596
1596
  height: Math.abs(e.close.y - e.open.y) <= 0 ? 1e-4 : Math.abs(e.close.y - e.open.y),
@@ -1598,8 +1598,8 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1598
1598
  fill: P.value.style.layout.candle.gradient.underlayer,
1599
1599
  rx: P.value.style.layout.candle.borderRadius,
1600
1600
  stroke: "none",
1601
- class: v({ "vue-data-ui-transition": k.value && !E(F) })
1602
- }, null, 10, ft))), 256)), (x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
1601
+ class: y({ "vue-data-ui-transition": k.value && !E(F) })
1602
+ }, null, 10, pt))), 256)), (x(!0), h(d, null, C(Z.value, (e, t) => (x(), h("rect", {
1603
1603
  x: e.open.x - Y.value / 2 + Y.value * (1 - P.value.style.layout.candle.widthRatio) / 2,
1604
1604
  y: e.isBullish ? e.close.y : e.open.y,
1605
1605
  height: Math.abs(e.close.y - e.open.y) <= 0 ? 1e-4 : Math.abs(e.close.y - e.open.y),
@@ -1610,46 +1610,46 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1610
1610
  "stroke-width": P.value.style.layout.candle.strokeWidth,
1611
1611
  "stroke-linecap": "round",
1612
1612
  "stroke-linejoin": "round",
1613
- class: v({ "vue-data-ui-transition": k.value && !E(F) })
1614
- }, null, 10, pt))), 256))])], 64)) : p("", !0),
1615
- P.value.type === "ohlc" ? (x(!0), m(u, { key: 5 }, C(Z.value, (e, t) => (x(), m("g", null, [h("path", {
1613
+ class: y({ "vue-data-ui-transition": k.value && !E(F) })
1614
+ }, null, 10, mt))), 256))])], 64)) : m("", !0),
1615
+ P.value.type === "ohlc" ? (x(!0), h(d, { key: 5 }, C(Z.value, (e, t) => (x(), h("g", null, [g("path", {
1616
1616
  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}`,
1617
1617
  stroke: e.isBullish ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish,
1618
1618
  "stroke-width": 1
1619
- }, null, 8, mt)]))), 256)) : p("", !0),
1620
- h("g", null, [(x(!0), m(u, null, C(Z.value, (e, t) => (x(), m("rect", {
1619
+ }, null, 8, ht)]))), 256)) : m("", !0),
1620
+ g("g", null, [(x(!0), h(d, null, C(Z.value, (e, t) => (x(), h("rect", {
1621
1621
  x: W.value.left + t * Y.value,
1622
1622
  y: W.value.top,
1623
1623
  height: W.value.height <= 0 ? 1e-4 : W.value.height,
1624
1624
  width: Y.value <= 0 ? 1e-4 : Y.value,
1625
- fill: j.value === t || Zt.value === t ? E(se)(P.value.style.layout.selector.color, P.value.style.layout.selector.opacity) : "transparent",
1626
- onMouseover: () => Qn(t, e, "pointer"),
1627
- onMouseleave: () => Zn(t, e),
1628
- onClick: () => Xn(t, e)
1629
- }, null, 40, ht))), 256))])
1630
- ])) : p("", !0),
1631
- wn.value ? (x(), m("rect", Ne({ key: 2 }, Cn.value, {
1625
+ fill: j.value === t || $t.value === t ? E(oe)(P.value.style.layout.selector.color, P.value.style.layout.selector.opacity) : "transparent",
1626
+ onMouseover: () => er(t, e, "pointer"),
1627
+ onMouseleave: () => $n(t, e),
1628
+ onClick: () => Qn(t, e)
1629
+ }, null, 40, gt))), 256))])
1630
+ ])) : m("", !0),
1631
+ En.value ? (x(), h("rect", Ne({ key: 2 }, Tn.value, {
1632
1632
  "data-start": K.value.start,
1633
1633
  "data-end": K.value.end
1634
- }), null, 16, gt)) : p("", !0),
1634
+ }), null, 16, _t)) : m("", !0),
1635
1635
  w(e.$slots, "svg", { svg: {
1636
1636
  ...R.value,
1637
1637
  data: Z.value,
1638
1638
  drawingArea: W.value,
1639
- isPrintingImg: E(mn) || E(hn) || Qt.value,
1640
- isPrintingSvg: $t.value
1639
+ isPrintingImg: E(gn) || E(_n) || en.value,
1640
+ isPrintingSvg: tn.value
1641
1641
  } }, void 0, !0)
1642
- ], 46, Ke)), e.$slots.hint ? (x(), m("div", _t, [w(e.$slots, "hint", y(_({
1642
+ ], 46, qe)), e.$slots.hint ? (x(), h("div", vt, [w(e.$slots, "hint", b(v({
1643
1643
  hint: P.value.a11y.translations.keyboardNavigation,
1644
- isVisible: nn.value
1645
- })), void 0, !0)])) : p("", !0)]),
1646
- e.$slots.watermark ? (x(), m("div", vt, [w(e.$slots, "watermark", y(_({ isPrinting: E(mn) || E(hn) || Qt.value || $t.value })), void 0, !0)])) : p("", !0),
1647
- P.value.style.zoom.show && G.value > 6 && Pt.value && rr.value ? (x(), f(Te, {
1644
+ isVisible: an.value
1645
+ })), void 0, !0)])) : m("", !0)]),
1646
+ e.$slots.watermark ? (x(), h("div", yt, [w(e.$slots, "watermark", b(v({ isPrinting: E(gn) || E(_n) || en.value || tn.value })), void 0, !0)])) : m("", !0),
1647
+ P.value.style.zoom.show && G.value > 6 && It.value && ar.value ? (x(), p(Te, {
1648
1648
  key: 6,
1649
1649
  ref_key: "chartSlicer",
1650
- ref: Vt,
1650
+ ref: Ut,
1651
1651
  "data-dom-to-png-ignore-layout": "",
1652
- allMinimaps: Pn.value,
1652
+ allMinimaps: In.value,
1653
1653
  background: P.value.style.zoom.color,
1654
1654
  borderColor: P.value.style.backgroundColor,
1655
1655
  customFormat: P.value.style.zoom.customFormat,
@@ -1662,9 +1662,9 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1662
1662
  fontSize: P.value.style.zoom.fontSize,
1663
1663
  immediate: !P.value.style.zoom.preview.enable,
1664
1664
  inputColor: P.value.style.zoom.color,
1665
- isPreview: wn.value,
1666
- labelLeft: Jn.value.start || "",
1667
- labelRight: Jn.value.end || "",
1665
+ isPreview: En.value,
1666
+ labelLeft: Xn.value.start || "",
1667
+ labelRight: Xn.value.end || "",
1668
1668
  max: G.value,
1669
1669
  min: 0,
1670
1670
  minimap: P.value.style.zoom.minimap.show ? E(I).map((e) => e[2]) : [],
@@ -1676,7 +1676,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1676
1676
  minimapSelectedColorOpacity: P.value.style.zoom.minimap.selectedColorOpacity,
1677
1677
  minimapSelectedIndex: j.value,
1678
1678
  minimapSelectionRadius: 1,
1679
- preciseLabels: Kn.value,
1679
+ preciseLabels: Jn.value,
1680
1680
  refreshEndPoint: P.value.style.zoom.endIndex === null ? G.value : P.value.style.zoom.endIndex + 1,
1681
1681
  refreshStartPoint: P.value.style.zoom.startIndex === null ? 0 : P.value.style.zoom.startIndex,
1682
1682
  selectColor: P.value.style.zoom.highlightColor,
@@ -1684,7 +1684,7 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1684
1684
  smoothMinimap: !1,
1685
1685
  start: K.value.start,
1686
1686
  textColor: P.value.style.color,
1687
- timeLabels: Rn.value,
1687
+ timeLabels: Bn.value,
1688
1688
  usePreciseLabels: P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable && !P.value.style.zoom.useDefaultFormat,
1689
1689
  useResetSlot: P.value.style.zoom.useResetSlot,
1690
1690
  valueEnd: K.value.end,
@@ -1700,43 +1700,43 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1700
1700
  handleBorderColor: P.value.style.zoom.minimap.handleBorderColor,
1701
1701
  handleFill: P.value.style.zoom.minimap.handleFill,
1702
1702
  handleWidth: P.value.style.zoom.minimap.handleWidth,
1703
- "onUpdate:end": Tr,
1704
- "onUpdate:start": wr,
1705
- onTrapMouse: Cr,
1706
- onReset: tr,
1707
- onFutureEnd: t[0] ||= (e) => Tn("end", e),
1708
- onFutureStart: t[1] ||= (e) => Tn("start", e)
1703
+ "onUpdate:end": Dr,
1704
+ "onUpdate:start": Er,
1705
+ onTrapMouse: Tr,
1706
+ onReset: rr,
1707
+ onFutureEnd: t[0] ||= (e) => Dn("end", e),
1708
+ onFutureStart: t[1] ||= (e) => Dn("start", e)
1709
1709
  }, {
1710
- "reset-action": D(({ reset: t }) => [w(e.$slots, "reset-action", y(_({ reset: t })), void 0, !0)]),
1711
- slotMap: D(({ height: e, unitW: t }) => [(x(!0), m(u, null, C(Nn.value({
1710
+ "reset-action": D(({ reset: t }) => [w(e.$slots, "reset-action", b(v({ reset: t })), void 0, !0)]),
1711
+ slotMap: D(({ height: e, unitW: t }) => [(x(!0), h(d, null, C(Fn.value({
1712
1712
  minimapH: e,
1713
1713
  unitW: t
1714
- }), (e, n) => (x(), m("g", null, [h("path", {
1714
+ }), (e, n) => (x(), h("g", null, [g("path", {
1715
1715
  d: `M ${e.high.x},${e.high.y} ${e.low.x},${e.low.y}`,
1716
1716
  stroke: e.isBullish ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish,
1717
1717
  "stroke-width": 1,
1718
- style: b({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1719
- }, null, 12, yt), h("path", {
1718
+ style: Fe({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1719
+ }, null, 12, bt), g("path", {
1720
1720
  d: `M ${e.open.x},${e.open.y} ${e.close.x},${e.close.y}`,
1721
1721
  stroke: e.isBullish ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish,
1722
1722
  "stroke-width": Math.min(6, t / 1.5),
1723
- style: b({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1724
- }, null, 12, bt)]))), 256))]),
1723
+ style: Fe({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1724
+ }, null, 12, xt)]))), 256))]),
1725
1725
  _: 3
1726
- }, 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("."))) : p("", !0),
1727
- h("div", {
1726
+ }, 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("."))) : m("", !0),
1727
+ g("div", {
1728
1728
  ref_key: "chartLegend",
1729
- ref: Bt
1729
+ ref: Ht
1730
1730
  }, [w(e.$slots, "legend", { legend: Z.value }, void 0, !0)], 512),
1731
- e.$slots.source ? (x(), m("div", {
1731
+ e.$slots.source ? (x(), h("div", {
1732
1732
  key: 7,
1733
1733
  ref_key: "source",
1734
- ref: Ht,
1734
+ ref: Wt,
1735
1735
  dir: "auto"
1736
- }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1737
- Me(E(Ct), {
1736
+ }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
1737
+ Me(E(wt), {
1738
1738
  teleportTo: P.value.style.tooltip.teleportTo,
1739
- show: H.value.showTooltip && It.value,
1739
+ show: H.value.showTooltip && Rt.value,
1740
1740
  backgroundColor: P.value.style.tooltip.backgroundColor,
1741
1741
  color: P.value.style.tooltip.color,
1742
1742
  borderRadius: P.value.style.tooltip.borderRadius,
@@ -1748,19 +1748,19 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1748
1748
  offsetX: P.value.style.tooltip.offsetX,
1749
1749
  offsetY: P.value.style.tooltip.offsetY,
1750
1750
  parent: M.value,
1751
- content: Lt.value,
1751
+ content: zt.value,
1752
1752
  isFullscreen: $.value,
1753
1753
  isCustom: P.value.style.tooltip.customFormat && typeof P.value.style.tooltip.customFormat == "function",
1754
1754
  smooth: P.value.style.tooltip.smooth,
1755
1755
  backdropFilter: P.value.style.tooltip.backdropFilter,
1756
1756
  smoothForce: P.value.style.tooltip.smoothForce,
1757
1757
  smoothSnapThreshold: P.value.style.tooltip.smoothSnapThreshold,
1758
- isA11yMode: tn.value === "keyboard",
1759
- a11yPosition: en.value
1758
+ isA11yMode: rn.value === "keyboard",
1759
+ a11yPosition: nn.value
1760
1760
  }, {
1761
- "tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...Yn.value })), void 0, !0)]),
1762
- tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...Yn.value })), void 0, !0)]),
1763
- "tooltip-after": D(() => [w(e.$slots, "tooltip-after", y(_({ ...Yn.value })), void 0, !0)]),
1761
+ "tooltip-before": D(() => [w(e.$slots, "tooltip-before", b(v({ ...Zn.value })), void 0, !0)]),
1762
+ tooltip: D(() => [w(e.$slots, "tooltip", b(v({ ...Zn.value })), void 0, !0)]),
1763
+ "tooltip-after": D(() => [w(e.$slots, "tooltip-after", b(v({ ...Zn.value })), void 0, !0)]),
1764
1764
  _: 3
1765
1765
  }, 8, [
1766
1766
  "teleportTo",
@@ -1786,24 +1786,24 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1786
1786
  "isA11yMode",
1787
1787
  "a11yPosition"
1788
1788
  ]),
1789
- Pt.value && P.value.userOptions.buttons.table ? (x(), f(Le(_r.value.component), Ne({ key: 8 }, _r.value.props, {
1789
+ It.value && P.value.userOptions.buttons.table ? (x(), p(Re(yr.value.component), Ne({ key: 8 }, yr.value.props, {
1790
1790
  ref_key: "tableUnit",
1791
- ref: Yt,
1792
- onClose: vr
1791
+ ref: Zt,
1792
+ onClose: br
1793
1793
  }), Ae({
1794
- content: D(() => [(x(), f(E(Tt), {
1795
- key: `table_${Gt.value}`,
1796
- colNames: cr.value.colNames,
1797
- head: cr.value.head,
1798
- body: cr.value.body,
1799
- config: cr.value.config,
1800
- title: P.value.table.useDialog ? "" : _r.value.title,
1794
+ content: D(() => [(x(), p(E(Et), {
1795
+ key: `table_${qt.value}`,
1796
+ colNames: ur.value.colNames,
1797
+ head: ur.value.head,
1798
+ body: ur.value.body,
1799
+ config: ur.value.config,
1800
+ title: P.value.table.useDialog ? "" : yr.value.title,
1801
1801
  withCloseButton: !P.value.table.useDialog,
1802
- isCursorPointer: rn.value,
1803
- onClose: vr
1802
+ isCursorPointer: on.value,
1803
+ onClose: br
1804
1804
  }, {
1805
1805
  th: D(({ th: e }) => [je(T(e), 1)]),
1806
- td: D(({ td: e }) => [h("div", { innerHTML: e }, null, 8, xt)]),
1806
+ td: D(({ td: e }) => [g("div", { innerHTML: e }, null, 8, St)]),
1807
1807
  _: 1
1808
1808
  }, 8, [
1809
1809
  "colNames",
@@ -1817,24 +1817,24 @@ var He = /* @__PURE__ */ e({ default: () => St }), Ue = ["id"], We = ["id"], Ge
1817
1817
  _: 2
1818
1818
  }, [P.value.table.useDialog ? {
1819
1819
  name: "title",
1820
- fn: D(() => [je(T(_r.value.title), 1)]),
1820
+ fn: D(() => [je(T(yr.value.title), 1)]),
1821
1821
  key: "0"
1822
1822
  } : void 0, P.value.table.useDialog ? {
1823
1823
  name: "actions",
1824
- fn: D(() => [h("button", {
1824
+ fn: D(() => [g("button", {
1825
1825
  tabindex: "0",
1826
1826
  class: "vue-ui-user-options-button",
1827
- onClick: t[2] ||= (e) => sr(P.value.userOptions.callbacks.csv),
1828
- style: b({ cursor: rn.value ? "pointer" : "default" })
1829
- }, [Me(E(St), {
1827
+ onClick: t[2] ||= (e) => lr(P.value.userOptions.callbacks.csv),
1828
+ style: Fe({ cursor: on.value ? "pointer" : "default" })
1829
+ }, [Me(E(Ct), {
1830
1830
  name: "fileCsv",
1831
- stroke: _r.value.props.color
1831
+ stroke: yr.value.props.color
1832
1832
  }, null, 8, ["stroke"])], 4)]),
1833
1833
  key: "1"
1834
- } : void 0]), 1040)) : p("", !0),
1835
- w(e.$slots, "skeleton", {}, () => [E(F) ? (x(), f(me, { key: 0 })) : p("", !0)], !0)
1836
- ], 46, Ue));
1834
+ } : void 0]), 1040)) : m("", !0),
1835
+ w(e.$slots, "skeleton", {}, () => [E(F) ? (x(), p(pe, { key: 0 })) : m("", !0)], !0)
1836
+ ], 46, We));
1837
1837
  }
1838
- }, [["__scopeId", "data-v-df4d118c"]]);
1838
+ }, [["__scopeId", "data-v-00956938"]]);
1839
1839
  //#endregion
1840
- export { He as n, St as t };
1840
+ export { Ue as n, Ct as t };