vue-data-ui 3.25.7 → 3.25.9

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 (163) hide show
  1. package/dist/{BaseScanner-DZvpgOjM.js → BaseScanner-Dzc8VT3j.js} +6 -3
  2. package/dist/{PackageVersion-UfoQuPMf.js → PackageVersion-KBMdaOXg.js} +1 -1
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-accordion.js +1 -1
  5. package/dist/components/vue-ui-age-pyramid.js +1 -1
  6. package/dist/components/vue-ui-annotator.js +1 -1
  7. package/dist/components/vue-ui-bullet.js +1 -1
  8. package/dist/components/vue-ui-bump.js +1 -1
  9. package/dist/components/vue-ui-candlestick.js +1 -1
  10. package/dist/components/vue-ui-carousel-table.js +1 -1
  11. package/dist/components/vue-ui-chestnut.js +1 -1
  12. package/dist/components/vue-ui-chord.js +1 -1
  13. package/dist/components/vue-ui-circle-pack.js +1 -1
  14. package/dist/components/vue-ui-cursor.js +1 -1
  15. package/dist/components/vue-ui-dag.js +1 -1
  16. package/dist/components/vue-ui-dashboard.js +1 -1
  17. package/dist/components/vue-ui-digits.js +1 -1
  18. package/dist/components/vue-ui-donut-evolution.js +1 -1
  19. package/dist/components/vue-ui-donut.js +1 -1
  20. package/dist/components/vue-ui-dumbbell.js +1 -1
  21. package/dist/components/vue-ui-flow.js +1 -1
  22. package/dist/components/vue-ui-funnel.js +1 -1
  23. package/dist/components/vue-ui-galaxy.js +1 -1
  24. package/dist/components/vue-ui-gauge.js +1 -1
  25. package/dist/components/vue-ui-geo.js +1 -1
  26. package/dist/components/vue-ui-gizmo.js +1 -1
  27. package/dist/components/vue-ui-heatmap.js +1 -1
  28. package/dist/components/vue-ui-hill.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-label.js +1 -1
  33. package/dist/components/vue-ui-mini-loader.js +1 -1
  34. package/dist/components/vue-ui-molecule.js +1 -1
  35. package/dist/components/vue-ui-mood-radar.js +1 -1
  36. package/dist/components/vue-ui-nested-donuts.js +1 -1
  37. package/dist/components/vue-ui-onion.js +1 -1
  38. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  39. package/dist/components/vue-ui-quadrant.js +1 -1
  40. package/dist/components/vue-ui-quick-chart.js +1 -1
  41. package/dist/components/vue-ui-radar.js +1 -1
  42. package/dist/components/vue-ui-rating.js +1 -1
  43. package/dist/components/vue-ui-relation-circle.js +1 -1
  44. package/dist/components/vue-ui-ridgeline.js +1 -1
  45. package/dist/components/vue-ui-rings.js +1 -1
  46. package/dist/components/vue-ui-scatter.js +1 -1
  47. package/dist/components/vue-ui-skeleton.js +1 -1
  48. package/dist/components/vue-ui-smiley.js +1 -1
  49. package/dist/components/vue-ui-spark-trend.js +1 -1
  50. package/dist/components/vue-ui-sparkbar.js +1 -1
  51. package/dist/components/vue-ui-sparkgauge.js +1 -1
  52. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  53. package/dist/components/vue-ui-sparkline.js +1 -1
  54. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  55. package/dist/components/vue-ui-stackbar.js +1 -1
  56. package/dist/components/vue-ui-stackline.js +1 -1
  57. package/dist/components/vue-ui-strip-plot.js +1 -1
  58. package/dist/components/vue-ui-table-heatmap.js +1 -1
  59. package/dist/components/vue-ui-table-sparkline.js +1 -1
  60. package/dist/components/vue-ui-table.js +1 -1
  61. package/dist/components/vue-ui-thermometer.js +1 -1
  62. package/dist/components/vue-ui-timer.js +1 -1
  63. package/dist/components/vue-ui-tiremarks.js +1 -1
  64. package/dist/components/vue-ui-treemap.js +1 -1
  65. package/dist/components/vue-ui-vertical-bar.js +1 -1
  66. package/dist/components/vue-ui-waffle.js +1 -1
  67. package/dist/components/vue-ui-wheel.js +1 -1
  68. package/dist/components/vue-ui-word-cloud.js +1 -1
  69. package/dist/components/vue-ui-world.js +1 -1
  70. package/dist/components/vue-ui-xy-canvas.js +1 -1
  71. package/dist/components/vue-ui-xy.js +1 -1
  72. package/dist/{package-B-3S5q00.js → package-BL27Ev_h.js} +1 -1
  73. package/dist/{render-common-CAXK7ycr.js → render-common-By8J0AE-.js} +1 -1
  74. package/dist/ssr/vue-ui-donut.js +1 -1
  75. package/dist/ssr/vue-ui-xy.js +1 -1
  76. package/dist/ssr.js +2 -2
  77. package/dist/style.css +1 -1
  78. package/dist/types/vue-data-ui.d.ts +2 -0
  79. package/dist/{useConfig-CIQZ6_r7.js → useConfig-D32D002m.js} +2 -0
  80. package/dist/{useObjectBindings---mHNfbS.js → useObjectBindings-Cd_WuYIn.js} +1 -1
  81. package/dist/utils.js +1 -1
  82. package/dist/{vue-data-ui-DlWT702n.js → vue-data-ui-CBWuUAXT.js} +69 -69
  83. package/dist/vue-data-ui.js +70 -70
  84. package/dist/{vue-ui-3d-bar-DbOk2kpM.js → vue-ui-3d-bar-BSbq90H3.js} +3 -3
  85. package/dist/{vue-ui-accordion-BSmBUjwZ.js → vue-ui-accordion-DmkL8A59.js} +1 -1
  86. package/dist/{vue-ui-age-pyramid-C7_mGIRk.js → vue-ui-age-pyramid-CrXl71iC.js} +263 -251
  87. package/dist/{vue-ui-annotator-CTQHAPho.js → vue-ui-annotator-BO5ihHOB.js} +2 -2
  88. package/dist/{vue-ui-bullet-CDy_dkYz.js → vue-ui-bullet-B2Y3Wqh9.js} +3 -3
  89. package/dist/{vue-ui-bump-DP24leiD.js → vue-ui-bump-DXvvjG4I.js} +3 -3
  90. package/dist/{vue-ui-candlestick-kJLmYaR7.js → vue-ui-candlestick-CFqR6W56.js} +453 -441
  91. package/dist/{vue-ui-carousel-table-BQzAQDw6.js → vue-ui-carousel-table-D-ZkPRta.js} +2 -2
  92. package/dist/{vue-ui-chestnut-DnnRp3Kl.js → vue-ui-chestnut-CyW3IoYC.js} +3 -3
  93. package/dist/{vue-ui-chord-DO15ZDCS.js → vue-ui-chord-DS0jni9A.js} +3 -3
  94. package/dist/{vue-ui-circle-pack-DYTllMPV.js → vue-ui-circle-pack-j2ChgLWr.js} +494 -482
  95. package/dist/{vue-ui-cursor-CtViSjNp.js → vue-ui-cursor-qOONOtcv.js} +2 -2
  96. package/dist/{vue-ui-dag-NXtGYzqg.js → vue-ui-dag-CmeFsKhR.js} +3 -3
  97. package/dist/{vue-ui-dashboard-D3_4QohV.js → vue-ui-dashboard-C7Z5BTN4.js} +65 -65
  98. package/dist/{vue-ui-digits-CB09pLQx.js → vue-ui-digits-Bf68x6fb.js} +2 -2
  99. package/dist/{vue-ui-donut-yTE6D8yV.js → vue-ui-donut-CkBPJW_T.js} +837 -825
  100. package/dist/{vue-ui-donut-eysaEyTy.js → vue-ui-donut-DzDSYgVp.js} +2 -2
  101. package/dist/{vue-ui-donut-evolution-DhrtxvAd.js → vue-ui-donut-evolution-CDJumo0t.js} +3 -3
  102. package/dist/{vue-ui-dumbbell-CmGIeULQ.js → vue-ui-dumbbell-Cr__26dN.js} +3 -3
  103. package/dist/vue-ui-flow-Cz6WRi2c.js +1229 -0
  104. package/dist/{vue-ui-funnel-CLAii4wi.js → vue-ui-funnel-BlC7KxS6.js} +2 -2
  105. package/dist/vue-ui-galaxy-Bg2smlcI.js +1097 -0
  106. package/dist/{vue-ui-gauge-D76-4Z_0.js → vue-ui-gauge-BHsaent1.js} +3 -3
  107. package/dist/{vue-ui-geo-BQ7-UnuG.js → vue-ui-geo-CE3Cr0or.js} +407 -395
  108. package/dist/{vue-ui-gizmo-C47zjcs-.js → vue-ui-gizmo-DqFUBEai.js} +3 -3
  109. package/dist/{vue-ui-heatmap-XJef60IZ.js → vue-ui-heatmap-DXqj9ial.js} +478 -446
  110. package/dist/{vue-ui-hill-D5BYGPXB.js → vue-ui-hill-B3fPAfhL.js} +2 -2
  111. package/dist/vue-ui-history-plot-CrnTnpaM.js +1710 -0
  112. package/dist/{vue-ui-horizontal-bar-BgFHi6_7.js → vue-ui-horizontal-bar-DqvN3imH.js} +432 -420
  113. package/dist/{vue-ui-kpi-Cb8QJeaj.js → vue-ui-kpi-Mf318HvK.js} +2 -2
  114. package/dist/{vue-ui-label-ClMQ5Gez.js → vue-ui-label-C1UAzvAu.js} +1 -1
  115. package/dist/{vue-ui-mini-loader-DtPOVIkK.js → vue-ui-mini-loader-wGeACd-Y.js} +1 -1
  116. package/dist/{vue-ui-molecule-BzwMl-in.js → vue-ui-molecule-CaLReo4h.js} +346 -334
  117. package/dist/{vue-ui-mood-radar-BUR_YCcr.js → vue-ui-mood-radar-jkE2ENX5.js} +3 -3
  118. package/dist/{vue-ui-nested-donuts-BEB4nfsD.js → vue-ui-nested-donuts-BgMOKjil.js} +360 -348
  119. package/dist/vue-ui-onion-DBN3Ev4j.js +1247 -0
  120. package/dist/{vue-ui-parallel-coordinate-plot-CSO4johj.js → vue-ui-parallel-coordinate-plot-BcJzEGJ-.js} +387 -375
  121. package/dist/{vue-ui-quadrant-CKav0I6g.js → vue-ui-quadrant-BvoVlxTI.js} +418 -406
  122. package/dist/{vue-ui-quick-chart-BAQNS9_2.js → vue-ui-quick-chart-2hn8-F_C.js} +550 -538
  123. package/dist/{vue-ui-radar-ClPAgf5I.js → vue-ui-radar-O3AjGrc-.js} +330 -318
  124. package/dist/{vue-ui-rating-CWFMoYpE.js → vue-ui-rating-Criq0ofQ.js} +1 -1
  125. package/dist/{vue-ui-relation-circle-Da2MhrVe.js → vue-ui-relation-circle-CRnH2ikm.js} +3 -3
  126. package/dist/{vue-ui-ridgeline-D7gFs8yR.js → vue-ui-ridgeline-Blejn8LY.js} +3 -3
  127. package/dist/{vue-ui-rings-DkDJ0k5b.js → vue-ui-rings-C1U38Bp0.js} +321 -309
  128. package/dist/{vue-ui-scatter-yv4JzJID.js → vue-ui-scatter-DTsCc9hg.js} +584 -572
  129. package/dist/{vue-ui-skeleton-oFnh5zWs.js → vue-ui-skeleton-BPr3u7IL.js} +2 -2
  130. package/dist/{vue-ui-smiley-DJVusLnp.js → vue-ui-smiley-BIjAIpJ9.js} +1 -1
  131. package/dist/{vue-ui-spark-trend-IqZWPvSB.js → vue-ui-spark-trend-B7w4Mg8O.js} +3 -3
  132. package/dist/{vue-ui-sparkbar-_FW47iYj.js → vue-ui-sparkbar-lVDnYEYA.js} +3 -3
  133. package/dist/{vue-ui-sparkgauge--2vk2Y23.js → vue-ui-sparkgauge-BryoGCoc.js} +3 -3
  134. package/dist/{vue-ui-sparkhistogram-CFEIPa5n.js → vue-ui-sparkhistogram-BdNoLb9L.js} +3 -3
  135. package/dist/{vue-ui-sparkline-Cs9CJR6W.js → vue-ui-sparkline-CNFD5K6z.js} +3 -3
  136. package/dist/vue-ui-sparkstackbar-CZ4tGL-_.js +750 -0
  137. package/dist/vue-ui-stackbar-DfsgaZy7.js +2369 -0
  138. package/dist/vue-ui-stackline-Cx7q2sGF.js +2483 -0
  139. package/dist/vue-ui-strip-plot-BcYhLPHM.js +1752 -0
  140. package/dist/{vue-ui-table-CiccGbRB.js → vue-ui-table-BzF75YjN.js} +3 -3
  141. package/dist/{vue-ui-table-heatmap-DnP3pzh2.js → vue-ui-table-heatmap-BSUab4fG.js} +1 -1
  142. package/dist/{vue-ui-table-sparkline-Bp7RiZh4.js → vue-ui-table-sparkline-B9ICTtoE.js} +2 -2
  143. package/dist/{vue-ui-thermometer-CawumQKP.js → vue-ui-thermometer-Am7llqdI.js} +3 -3
  144. package/dist/{vue-ui-timer-CXinMW7q.js → vue-ui-timer-D6EvkM31.js} +2 -2
  145. package/dist/{vue-ui-tiremarks-BnI2uhki.js → vue-ui-tiremarks-DiQJu8Em.js} +3 -3
  146. package/dist/{vue-ui-treemap-DTlFbfD6.js → vue-ui-treemap-wUZpijpr.js} +310 -298
  147. package/dist/vue-ui-waffle-6hO0flDT.js +1633 -0
  148. package/dist/{vue-ui-wheel-B02tiG0p.js → vue-ui-wheel-DnyCE0CK.js} +3 -3
  149. package/dist/{vue-ui-word-cloud-BZnCOMHx.js → vue-ui-word-cloud-D_MZ3gCS.js} +385 -372
  150. package/dist/{vue-ui-world-DO2VZ-T-.js → vue-ui-world-QNGY2WPz.js} +474 -462
  151. package/dist/{vue-ui-xy-CD6BiP_g.js → vue-ui-xy-BD-ighya.js} +2 -2
  152. package/dist/{vue-ui-xy-BC9GVdWE.js → vue-ui-xy-Ctcwn7Rk.js} +1447 -1432
  153. package/dist/{vue-ui-xy-canvas-DANPuyf4.js → vue-ui-xy-canvas-DUeglcdP.js} +523 -511
  154. package/package.json +1 -1
  155. package/dist/vue-ui-flow-qYAq3Rmn.js +0 -1217
  156. package/dist/vue-ui-galaxy-BVX-o2f-.js +0 -1085
  157. package/dist/vue-ui-history-plot-D-d-1ZiM.js +0 -1698
  158. package/dist/vue-ui-onion-CG6myK7a.js +0 -1235
  159. package/dist/vue-ui-sparkstackbar-Cvbue77A.js +0 -738
  160. package/dist/vue-ui-stackbar-C5ANS2hd.js +0 -2355
  161. package/dist/vue-ui-stackline-7yajJFW4.js +0 -2469
  162. package/dist/vue-ui-strip-plot-BT6Eqhup.js +0 -1740
  163. package/dist/vue-ui-waffle-CjgRkQAp.js +0 -1621
@@ -1,51 +1,51 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Ct as n, D as r, Pt as i, Ut as a, Wt as o, X as s, Xt as c, Zt as l, _ as ee, b as u, bt as te, c as ne, ft as re, lt as ie, nt as d, pt as ae, q as oe, t as se } from "./lib-Dql7cqyA.js";
3
- import { n as ce, t as le } from "./useHints-Dq_w2E8B.js";
4
- import { n as ue, r as de, t as fe } from "./useTimeLabels-d2f-W1L4.js";
5
- import { t as pe } from "./useConfig-CIQZ6_r7.js";
6
- import { t as me } from "./usePrinter-DISD7q5m.js";
7
- import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
8
- import { t as _e } from "./useNestedProp-Chvyfpl-.js";
9
- import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as ye } from "./useChartExport-iwOqiIWX.js";
11
- import { t as be } from "./useTransitions-g_zBREk2.js";
12
- import { t as xe } from "./useTimeLabelCollider-AEcY4Ioe.js";
13
- import { t as Se } from "./img-DhGApYG0.js";
14
- import { n as Ce } from "./Title-CPHi-evi.js";
15
- import { t as we } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
- import { l as Te, t as Ee } from "./useResponsive-ZtArZtUf.js";
17
- import { t as De } from "./DefGrad-DVBqDjhO.js";
18
- import { t as Oe } from "./SlicerPreview-B6iHOC9L.js";
19
- import { t as ke } from "./A11yDataTable-DdRsVULz.js";
20
- import { t as Ae } from "./useUserOptionState-DK-_1ddE.js";
21
- import { t as je } from "./useChartAccessibility-DYqac8yF.js";
22
- import { t as Me } from "./vue_ui_candlestick-J8jmJvxP.js";
23
- import { Fragment as f, computed as p, createBlock as Ne, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Le, nextTick as Re, normalizeClass as y, normalizeProps as b, normalizeStyle as ze, onBeforeUnmount as Be, onMounted as Ve, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as He, shallowRef as Ue, toDisplayString as We, toRefs as Ge, unref as T, watch as Ke, watchEffect as qe, withCtx as E } from "vue";
2
+ import { $ as t, Ct as n, D as r, Pt as i, Ut as a, Wt as o, X as s, Xt as c, Z as l, Zt as ee, _ as te, b as u, bt as ne, c as re, ft as ie, lt as ae, nt as oe, pt as se, q as ce, t as le } from "./lib-Dql7cqyA.js";
3
+ import { n as ue, t as de } from "./useHints-Dq_w2E8B.js";
4
+ import { n as fe, r as pe, t as me } from "./useTimeLabels-d2f-W1L4.js";
5
+ import { t as he } from "./useConfig-D32D002m.js";
6
+ import { t as ge } from "./usePrinter-DISD7q5m.js";
7
+ import { n as _e, t as ve } from "./BaseScanner-Dzc8VT3j.js";
8
+ import { t as ye } from "./useNestedProp-Chvyfpl-.js";
9
+ import { t as be } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as xe } from "./useChartExport-iwOqiIWX.js";
11
+ import { t as Se } from "./useTransitions-g_zBREk2.js";
12
+ import { t as Ce } from "./useTimeLabelCollider-AEcY4Ioe.js";
13
+ import { t as we } from "./img-DhGApYG0.js";
14
+ import { n as Te } from "./Title-CPHi-evi.js";
15
+ import { t as Ee } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
+ import { l as De, t as Oe } from "./useResponsive-ZtArZtUf.js";
17
+ import { t as ke } from "./DefGrad-DVBqDjhO.js";
18
+ import { t as Ae } from "./SlicerPreview-B6iHOC9L.js";
19
+ import { t as je } from "./A11yDataTable-DdRsVULz.js";
20
+ import { t as Me } from "./useUserOptionState-DK-_1ddE.js";
21
+ import { t as Ne } from "./useChartAccessibility-DYqac8yF.js";
22
+ import { t as Pe } from "./vue_ui_candlestick-J8jmJvxP.js";
23
+ import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Fe, createTextVNode as Ie, createVNode as Le, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Re, nextTick as ze, normalizeClass as y, normalizeProps as b, normalizeStyle as Be, onBeforeUnmount as Ve, onMounted as He, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ue, shallowRef as We, toDisplayString as Ge, toRefs as Ke, unref as T, watch as qe, watchEffect as Je, withCtx as E } from "vue";
24
24
  //#region src/components/vue-ui-candlestick.vue
25
- var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze = { style: { position: "relative" } }, Qe = [
25
+ var Ye = /* @__PURE__ */ e({ default: () => kt }), Xe = ["id"], Ze = ["id"], Qe = { style: { position: "relative" } }, $e = [
26
26
  "xmlns",
27
27
  "aria-describedby",
28
28
  "viewBox"
29
- ], $e = [
29
+ ], et = [
30
30
  "x",
31
31
  "y",
32
32
  "width",
33
33
  "height"
34
- ], et = { key: 1 }, tt = { key: 0 }, nt = [
34
+ ], tt = { key: 1 }, nt = { key: 0 }, rt = [
35
35
  "x1",
36
36
  "x2",
37
37
  "y1",
38
38
  "y2",
39
39
  "stroke",
40
40
  "stroke-width"
41
- ], rt = [
41
+ ], it = [
42
42
  "x1",
43
43
  "x2",
44
44
  "y1",
45
45
  "y2",
46
46
  "stroke",
47
47
  "stroke-width"
48
- ], it = [
48
+ ], at = [
49
49
  "x1",
50
50
  "x2",
51
51
  "y1",
@@ -53,7 +53,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
53
53
  "stroke",
54
54
  "stroke-width",
55
55
  "stroke-dasharray"
56
- ], at = [
56
+ ], ot = [
57
57
  "x1",
58
58
  "x2",
59
59
  "y1",
@@ -61,78 +61,78 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
61
61
  "stroke",
62
62
  "stroke-width",
63
63
  "stroke-dasharray"
64
- ], ot = [
64
+ ], st = [
65
65
  "x1",
66
66
  "x2",
67
67
  "y1",
68
68
  "y2",
69
69
  "stroke",
70
70
  "stroke-width"
71
- ], st = [
71
+ ], ct = [
72
72
  "x1",
73
73
  "x2",
74
74
  "y1",
75
75
  "y2",
76
76
  "stroke",
77
77
  "stroke-width"
78
- ], ct = [
78
+ ], lt = [
79
79
  "transform",
80
80
  "text-anchor",
81
81
  "font-size",
82
82
  "fill",
83
83
  "font-weight"
84
- ], lt = [
84
+ ], ut = [
85
85
  "transform",
86
86
  "text-anchor",
87
87
  "font-size",
88
88
  "fill",
89
89
  "font-weight"
90
- ], ut = [
90
+ ], dt = [
91
91
  "transform",
92
92
  "text-anchor",
93
93
  "font-size",
94
94
  "fill",
95
95
  "stroke",
96
96
  "font-weight"
97
- ], dt = [
97
+ ], ft = [
98
98
  "x",
99
99
  "y",
100
100
  "width",
101
101
  "height",
102
102
  "fill",
103
103
  "rx"
104
- ], ft = { key: 0 }, pt = [
104
+ ], pt = { key: 0 }, mt = [
105
105
  "cx",
106
106
  "cy",
107
107
  "r",
108
108
  "fill"
109
- ], mt = [
109
+ ], ht = [
110
110
  "cx",
111
111
  "cy",
112
112
  "r",
113
113
  "fill"
114
- ], ht = { key: 1 }, gt = [
114
+ ], gt = { key: 1 }, _t = [
115
115
  "x",
116
116
  "y",
117
117
  "width",
118
118
  "height",
119
119
  "rx",
120
120
  "fill"
121
- ], _t = [
121
+ ], vt = [
122
122
  "x",
123
123
  "y",
124
124
  "width",
125
125
  "height",
126
126
  "fill",
127
127
  "rx"
128
- ], vt = [
128
+ ], yt = [
129
129
  "x",
130
130
  "y",
131
131
  "height",
132
132
  "width",
133
133
  "fill",
134
134
  "rx"
135
- ], yt = [
135
+ ], bt = [
136
136
  "x",
137
137
  "y",
138
138
  "height",
@@ -141,7 +141,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
141
141
  "rx",
142
142
  "stroke",
143
143
  "stroke-width"
144
- ], bt = ["d", "stroke"], xt = [
144
+ ], xt = ["d", "stroke"], St = [
145
145
  "x",
146
146
  "y",
147
147
  "height",
@@ -150,7 +150,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
150
150
  "onMouseover",
151
151
  "onMouseleave",
152
152
  "onClick"
153
- ], St = ["data-start", "data-end"], Ct = {
153
+ ], Ct = ["data-start", "data-end"], wt = {
154
154
  key: 0,
155
155
  style: {
156
156
  position: "absolute",
@@ -160,14 +160,14 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
160
160
  },
161
161
  "data-dom-to-png-ignore": "",
162
162
  "aria-hidden": "true"
163
- }, wt = {
163
+ }, Tt = {
164
164
  key: 5,
165
165
  class: "vue-data-ui-watermark"
166
- }, Tt = ["d", "stroke"], Et = [
166
+ }, Et = ["d", "stroke"], Dt = [
167
167
  "d",
168
168
  "stroke",
169
169
  "stroke-width"
170
- ], Dt = ["innerHTML"], Ot = /*#__PURE__*/ we({
170
+ ], Ot = ["innerHTML"], kt = /*#__PURE__*/ Ee({
171
171
  __name: "vue-ui-candlestick",
172
172
  props: {
173
173
  config: {
@@ -188,16 +188,16 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
188
188
  }
189
189
  },
190
190
  emits: ["selectX", "copyAlt"],
191
- setup(e, { expose: we, emit: Je }) {
192
- let Ot = _(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), kt = _(() => import("./Tooltip-hhrkQ3Lk.js")), At = _(() => import("./vue-ui-accordion-BSmBUjwZ.js").then((e) => e.n)), jt = _(() => import("./DataTable-oiM9uWrQ.js")), Mt = _(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), Nt = _(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), Pt = _(() => import("./PackageVersion-UfoQuPMf.js").then((e) => e.t)), Ft = _(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_candlestick: It } = pe(), { isThemeValid: Lt, warnInvalidTheme: Rt } = ve(), D = e, zt = Je, Bt = p(() => !!D.dataset && D.dataset.length), O = S(!1), Vt = S(null), k = S(oe()), Ht = S(!1), Ut = S(""), A = S(void 0), Wt = S(0), j = S(null), Gt = S(null), Kt = S(null), qt = S(null), Jt = S(null), Yt = S(null), Xt = S(0), Zt = S(0), Qt = S(0), $t = S(null), en = S(null), tn = S(null), nn = S(null), rn = S(null), M = S(null), an = S({
191
+ setup(e, { expose: Ee, emit: Ye }) {
192
+ let kt = _(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), At = _(() => import("./Tooltip-hhrkQ3Lk.js")), jt = _(() => import("./vue-ui-accordion-DmkL8A59.js").then((e) => e.n)), Mt = _(() => import("./DataTable-oiM9uWrQ.js")), Nt = _(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), Pt = _(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), Ft = _(() => import("./PackageVersion-KBMdaOXg.js").then((e) => e.t)), It = _(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_candlestick: Lt } = he(), { isThemeValid: Rt, warnInvalidTheme: zt } = be(), D = e, Bt = Ye, Vt = f(() => !!D.dataset && D.dataset.length), O = S(!1), Ht = S(null), k = S(ce()), Ut = S(!1), Wt = S(""), A = S(void 0), Gt = S(0), j = S(null), Kt = S(null), qt = S(null), Jt = S(null), Yt = S(null), Xt = S(null), Zt = S(0), Qt = S(0), $t = S(0), en = S(null), tn = S(null), nn = S(null), rn = S(null), an = S(null), M = S(null), on = S({
193
193
  x: 0,
194
194
  y: 0
195
- }), on = S("pointer"), sn = S(!1), N = S(vn()), P = p(() => N.value.style.layout.candle), F = p(() => N.value.style.layout.grid), I = p(() => N.value.style.layout), L = p(() => N.value.style), R = p(() => N.value.userOptions);
196
- ce({
195
+ }), sn = S("pointer"), cn = S(!1), N = S(yn()), P = f(() => N.value.style.layout.candle), F = f(() => N.value.style.layout.grid), I = f(() => N.value.style.layout), L = f(() => N.value.style), R = f(() => N.value.userOptions);
196
+ ue({
197
197
  config: () => N.value,
198
198
  dataset: () => D.dataset,
199
199
  component: "VueUiCandlestick",
200
- rules: [le.emptyArray, {
200
+ rules: [de.emptyArray, {
201
201
  test: (e) => e.length > 200,
202
202
  message: [
203
203
  "👀 Dataset has > 200 points, which can cause performance issues. Consider:",
@@ -208,10 +208,10 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
208
208
  ]
209
209
  }]
210
210
  });
211
- let { transitionEnabled: cn } = be({
211
+ let { transitionEnabled: ln } = Se({
212
212
  config: () => N.value.transitions,
213
213
  dataset: () => D.dataset
214
- }), ln = p(() => N.value.userOptions.useCursorPointer), un = p(() => l({
214
+ }), un = f(() => N.value.userOptions.useCursorPointer), dn = f(() => ee({
215
215
  defaultConfig: {
216
216
  useCssAnimation: !1,
217
217
  userOptions: { show: !1 },
@@ -249,13 +249,13 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
249
249
  }
250
250
  },
251
251
  userConfig: N.value.skeletonConfig ?? {}
252
- })), { loading: z, FINAL_DATASET: B, manualLoading: dn } = he({
253
- ...Ge(D),
252
+ })), { loading: z, FINAL_DATASET: B, manualLoading: fn } = _e({
253
+ ...Ke(D),
254
254
  FINAL_CONFIG: N,
255
- prepareConfig: vn,
255
+ prepareConfig: yn,
256
256
  callback: () => {
257
257
  Promise.resolve().then(async () => {
258
- await pr();
258
+ await gr();
259
259
  });
260
260
  },
261
261
  skeletonDataset: D.config?.skeletonDataset ?? [
@@ -356,35 +356,35 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
356
356
  5100
357
357
  ]
358
358
  ],
359
- skeletonConfig: l({
359
+ skeletonConfig: ee({
360
360
  defaultConfig: N.value,
361
- userConfig: un.value
361
+ userConfig: dn.value
362
362
  })
363
- }), { userOptionsVisible: fn, setUserOptionsVisibility: pn, keepUserOptionState: mn } = Ae({ config: N.value }), { svgRef: hn } = je({ config: L.value.title });
364
- function gn() {
365
- pn(!0);
366
- }
363
+ }), { userOptionsVisible: pn, setUserOptionsVisibility: mn, keepUserOptionState: hn } = Me({ config: N.value }), { svgRef: gn } = Ne({ config: L.value.title });
367
364
  function _n() {
368
- pn(!1), zt("selectX", {
365
+ mn(!0);
366
+ }
367
+ function vn() {
368
+ mn(!1), Bt("selectX", {
369
369
  seriesIndex: null,
370
370
  datapoint: null
371
371
  }), A.value = null;
372
372
  }
373
- function vn() {
374
- let e = _e({
373
+ function yn() {
374
+ let e = ye({
375
375
  userConfig: D.config,
376
- defaultConfig: It
376
+ defaultConfig: Lt
377
377
  }), t = {};
378
- D.config && te(D.config, "style.layout.grid.xAxis.dataLabels.showFirstAndLast") && (e.style.layout.grid.xAxis.dataLabels.showFirstAndLast = !!D.config.style.layout.grid.xAxis.dataLabels.showFirstAndLast);
378
+ D.config && ne(D.config, "style.layout.grid.xAxis.dataLabels.showFirstAndLast") && (e.style.layout.grid.xAxis.dataLabels.showFirstAndLast = !!D.config.style.layout.grid.xAxis.dataLabels.showFirstAndLast);
379
379
  let n = e.theme;
380
380
  if (n) {
381
- if (!Lt.value(e)) Rt(e), t = e;
381
+ if (!Rt.value(e)) zt(e), t = e;
382
382
  else {
383
- let r = _e({
384
- userConfig: Me[n] || D.config,
383
+ let r = ye({
384
+ userConfig: Pe[n] || D.config,
385
385
  defaultConfig: e
386
386
  });
387
- t = { ..._e({
387
+ t = { ...ye({
388
388
  userConfig: D.config,
389
389
  defaultConfig: r
390
390
  }) };
@@ -392,38 +392,50 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
392
392
  } else t = e;
393
393
  return t;
394
394
  }
395
- Ke(() => D.config, (e) => {
396
- z.value || (N.value = vn()), fn.value = !N.value.userOptions.showOnChartHover, xn(), Xt.value += 1, Qt.value += 1, Zt.value += 1, U.value.showTable = N.value.table.show, U.value.showTooltip = L.value.tooltip.show, Pn();
397
- }, { deep: !0 }), Ke(() => D.dataset, (e) => {
398
- Array.isArray(e) && e.length > 0 && (dn.value = !1), lr();
395
+ function bn(e) {
396
+ let t = l(e);
397
+ return t?.style && delete t.style.tooltip, JSON.stringify(t);
398
+ }
399
+ let xn = bn(D.config);
400
+ qe(() => D.config, (e, t) => {
401
+ let n = bn(e), r = n !== xn;
402
+ xn = n;
403
+ let i = yn();
404
+ if (!r) {
405
+ N.value.style.tooltip = i.style.tooltip, U.value.showTooltip = N.value.style.tooltip.show;
406
+ return;
407
+ }
408
+ z.value || (N.value = yn()), pn.value = !N.value.userOptions.showOnChartHover, wn(), Zt.value += 1, $t.value += 1, Qt.value += 1, U.value.showTable = N.value.table.show, U.value.showTooltip = L.value.tooltip.show, Ln();
409
+ }, { deep: !0 }), qe(() => D.dataset, (e) => {
410
+ Array.isArray(e) && e.length > 0 && (fn.value = !1), fr();
399
411
  }, { deep: !0 });
400
412
  let V = S({
401
413
  height: L.value.height,
402
414
  width: L.value.width,
403
415
  xAxisFontSize: F.value.xAxis.dataLabels.fontSize,
404
416
  yAxisFontSize: F.value.yAxis.dataLabels.fontSize
405
- }), H = Ue(null), yn = Ue(null);
406
- Ve(() => {
407
- xn();
417
+ }), H = We(null), Sn = We(null);
418
+ He(() => {
419
+ wn();
408
420
  });
409
- let bn = p(() => N.value.debug);
410
- function xn() {
411
- if (i(D.dataset) && (d({
421
+ let Cn = f(() => N.value.debug);
422
+ function wn() {
423
+ if (i(D.dataset) && (oe({
412
424
  componentName: "VueUiCandlestick",
413
425
  type: "dataset",
414
- debug: bn.value
415
- }), dn.value = !0), i(D.dataset) || (dn.value = N.value.loading), setTimeout(() => {
426
+ debug: Cn.value
427
+ }), fn.value = !0), i(D.dataset) || (fn.value = N.value.loading), setTimeout(() => {
416
428
  O.value = !0;
417
429
  }, 10), N.value.responsive) {
418
- let e = Te(() => {
430
+ let e = De(() => {
419
431
  O.value = !1;
420
- let { width: e, height: t } = Ee({
432
+ let { width: e, height: t } = Oe({
421
433
  chart: j.value,
422
- title: L.value.title.text ? Gt.value : null,
423
- slicer: L.value.zoom.show && K.value > 6 ? qt.value.$el : null,
424
- legend: Kt.value,
425
- source: Jt.value,
426
- noTitle: Yt.value
434
+ title: L.value.title.text ? Kt.value : null,
435
+ slicer: L.value.zoom.show && K.value > 6 ? Jt.value.$el : null,
436
+ legend: qt.value,
437
+ source: Yt.value,
438
+ noTitle: Xt.value
427
439
  });
428
440
  requestAnimationFrame(() => {
429
441
  V.value.width = e, V.value.height = t - 12, N.value.responsiveProportionalSizing ? (V.value.xAxisFontSize = c({
@@ -438,45 +450,45 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
438
450
  source: F.value.yAxis.dataLabels.fontSize,
439
451
  threshold: 6,
440
452
  fallback: 6
441
- })) : (V.value.xAxisFontSize = F.value.xAxis.dataLabels.fontSize, V.value.yAxisFontSize = F.value.yAxis.dataLabels.fontSize), Vt.value && clearTimeout(Vt.value), Vt.value = setTimeout(() => {
453
+ })) : (V.value.xAxisFontSize = F.value.xAxis.dataLabels.fontSize, V.value.yAxisFontSize = F.value.yAxis.dataLabels.fontSize), Ht.value && clearTimeout(Ht.value), Ht.value = setTimeout(() => {
442
454
  O.value = !0;
443
455
  }, 10);
444
456
  });
445
457
  });
446
- H.value && (yn.value && H.value.unobserve(yn.value), H.value.disconnect()), H.value = new ResizeObserver(e), yn.value = j.value.parentNode, H.value.observe(yn.value);
458
+ H.value && (Sn.value && H.value.unobserve(Sn.value), H.value.disconnect()), H.value = new ResizeObserver(e), Sn.value = j.value.parentNode, H.value.observe(Sn.value);
447
459
  }
448
- pr();
460
+ gr();
449
461
  }
450
- Be(() => {
451
- H.value && (yn.value && H.value.unobserve(yn.value), H.value.disconnect());
462
+ Ve(() => {
463
+ H.value && (Sn.value && H.value.unobserve(Sn.value), H.value.disconnect());
452
464
  });
453
- let { isPrinting: Sn, isImaging: Cn, generatePdf: wn, generateImage: Tn } = me({
465
+ let { isPrinting: Tn, isImaging: En, generatePdf: Dn, generateImage: On } = ge({
454
466
  elementId: `vue-ui-candlestick_${k.value}`,
455
467
  fileName: L.value.title.text || "vue-ui-candlestick",
456
468
  options: N.value.userOptions.print
457
- }), En = p(() => N.value.userOptions.show && !L.value.title.text), U = S({
469
+ }), kn = f(() => N.value.userOptions.show && !L.value.title.text), U = S({
458
470
  showTable: N.value.table.show,
459
471
  showTooltip: L.value.tooltip.show
460
- }), Dn = S(0), On = Te((e) => {
461
- Dn.value = e;
472
+ }), An = S(0), jn = De((e) => {
473
+ An.value = e;
462
474
  }, 100);
463
- qe((e) => {
464
- let t = en.value;
475
+ Je((e) => {
476
+ let t = tn.value;
465
477
  if (!t) return;
466
478
  let n = new ResizeObserver((e) => {
467
- On(e[0].contentRect.height);
479
+ jn(e[0].contentRect.height);
468
480
  });
469
481
  n.observe(t), e(() => n.disconnect());
470
- }), Be(() => {
471
- Dn.value = 0;
482
+ }), Ve(() => {
483
+ An.value = 0;
472
484
  });
473
- let kn = p(() => {
485
+ let Mn = f(() => {
474
486
  let e = 0;
475
- return en.value && (e = Dn.value + V.value.xAxisFontSize), e;
476
- }), W = p(() => F.value.yAxis.position === "right");
477
- function An() {
487
+ return tn.value && (e = An.value + V.value.xAxisFontSize), e;
488
+ }), W = f(() => F.value.yAxis.position === "right");
489
+ function Nn() {
478
490
  let e = F.value.yAxis.dataLabels.offsetX;
479
- $t.value && (e = Array.from($t.value.querySelectorAll("text")).reduce((e, t) => {
491
+ en.value && (e = Array.from(en.value.querySelectorAll("text")).reduce((e, t) => {
480
492
  let n = t.getComputedTextLength();
481
493
  return n > e ? n : e;
482
494
  }, 0));
@@ -489,20 +501,20 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
489
501
  crosshair: 13
490
502
  };
491
503
  }
492
- let G = p(() => {
493
- let { top: e, right: t, bottom: n, left: r } = I.value.padding, i = An();
504
+ let G = f(() => {
505
+ let { top: e, right: t, bottom: n, left: r } = I.value.padding, i = Nn();
494
506
  return {
495
507
  top: e + 12,
496
508
  right: V.value.width - t - i.right,
497
509
  left: r + i.left,
498
- bottom: V.value.height - n - kn.value,
510
+ bottom: V.value.height - n - Mn.value,
499
511
  width: V.value.width - r - t - i.left - i.right,
500
- height: V.value.height - e - n - kn.value - 12,
512
+ height: V.value.height - e - n - Mn.value - 12,
501
513
  scaleLabelsWidth: i.scaleLabelsWidth,
502
514
  yAxisNameWidth: i.yAxisNameWidth,
503
515
  crosshair: i.crosshair
504
516
  };
505
- }), jn = p(() => {
517
+ }), Pn = f(() => {
506
518
  let { left: e, top: t, width: n, height: r } = G.value, i = q.value.start, a = q.value.end - i, o = n / a, s = J.value.start - i, c = J.value.end - i, l = Math.max(0, Math.min(a, s)), ee = Math.max(0, Math.min(a, c));
507
519
  return {
508
520
  x: e + l * o,
@@ -521,56 +533,56 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
521
533
  animation: "none !important"
522
534
  }
523
535
  };
524
- }), K = p(() => B.value.length), q = S({
536
+ }), K = f(() => B.value.length), q = S({
525
537
  start: 0,
526
538
  end: K.value
527
539
  }), J = S({
528
540
  start: 0,
529
541
  end: K.value
530
- }), Mn = p(() => L.value.zoom.preview.enable && (J.value.start !== q.value.start || J.value.end !== q.value.end));
531
- function Nn(e, t) {
542
+ }), Fn = f(() => L.value.zoom.preview.enable && (J.value.start !== q.value.start || J.value.end !== q.value.end));
543
+ function In(e, t) {
532
544
  J.value[e] = t;
533
545
  }
534
- function Pn() {
546
+ function Ln() {
535
547
  let e = Math.max(0, Math.min(q.value.start ?? 0, K.value - 1)), t = Math.max(e + 1, Math.min(q.value.end ?? K.value, K.value));
536
- (!Number.isFinite(e) || !Number.isFinite(t) || t <= e) && (e = 0, t = K.value), q.value.start = e, q.value.end = t, J.value.start = e, J.value.end = t, qt.value && (qt.value.setStartValue(e), qt.value.setEndValue(t));
548
+ (!Number.isFinite(e) || !Number.isFinite(t) || t <= e) && (e = 0, t = K.value), q.value.start = e, q.value.end = t, J.value.start = e, J.value.end = t, Jt.value && (Jt.value.setStartValue(e), Jt.value.setEndValue(t));
537
549
  }
538
- let Fn = p(() => B.value.map((e, t) => ({
550
+ let Rn = f(() => B.value.map((e, t) => ({
539
551
  ...e,
540
552
  absoluteIndex: t
541
- }))), In = p(() => Fn.value.slice(q.value.start, q.value.end)), Y = p(() => (bn.value && B.value.forEach((e, t) => {
542
- [null, void 0].includes(e[0]) && d({
553
+ }))), zn = f(() => Rn.value.slice(q.value.start, q.value.end)), Y = f(() => (Cn.value && B.value.forEach((e, t) => {
554
+ [null, void 0].includes(e[0]) && oe({
543
555
  componentName: "VueUiCandlestick",
544
556
  type: "datasetAttribute",
545
557
  property: "period (index 0)",
546
558
  index: t
547
- }), [null, void 0].includes(e[1]) && d({
559
+ }), [null, void 0].includes(e[1]) && oe({
548
560
  componentName: "VueUiCandlestick",
549
561
  type: "datasetAttribute",
550
562
  property: "open (index 1)",
551
563
  index: t
552
- }), [null, void 0].includes(e[2]) && d({
564
+ }), [null, void 0].includes(e[2]) && oe({
553
565
  componentName: "VueUiCandlestick",
554
566
  type: "datasetAttribute",
555
567
  property: "high (index 2)",
556
568
  index: t
557
- }), [null, void 0].includes(e[3]) && d({
569
+ }), [null, void 0].includes(e[3]) && oe({
558
570
  componentName: "VueUiCandlestick",
559
571
  type: "datasetAttribute",
560
572
  property: "low (index 3)",
561
573
  index: t
562
- }), [null, void 0].includes(e[4]) && d({
574
+ }), [null, void 0].includes(e[4]) && oe({
563
575
  componentName: "VueUiCandlestick",
564
576
  type: "datasetAttribute",
565
577
  property: "close (index 4)",
566
578
  index: t
567
- }), [null, void 0].includes(e[5]) && d({
579
+ }), [null, void 0].includes(e[5]) && oe({
568
580
  componentName: "VueUiCandlestick",
569
581
  type: "datasetAttribute",
570
582
  property: "volume (index 5)",
571
583
  index: t
572
584
  });
573
- }), In.value.map((e) => ({
585
+ }), zn.value.map((e) => ({
574
586
  absoluteIndex: e.absoluteIndex,
575
587
  period: e[0],
576
588
  open: e[1],
@@ -578,7 +590,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
578
590
  low: e[3],
579
591
  close: e[4],
580
592
  volume: e[5]
581
- })))), Ln = p(() => Fn.value.map((e) => ({
593
+ })))), Bn = f(() => Rn.value.map((e) => ({
582
594
  absoluteIndex: e.absoluteIndex,
583
595
  period: e[0],
584
596
  open: e[1],
@@ -586,11 +598,11 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
586
598
  low: e[3],
587
599
  close: e[4],
588
600
  volume: e[5]
589
- }))), X = p(() => G.value.width / In.value.length), Rn = p(() => ({
601
+ }))), X = f(() => G.value.width / zn.value.length), Vn = f(() => ({
590
602
  max: F.value.yAxis.scale.max === null ? Math.max(...Y.value.map((e) => e.high)) : F.value.yAxis.scale.max,
591
603
  min: F.value.yAxis.scale.min === null ? 0 : F.value.yAxis.scale.min
592
- })), Z = p(() => ee(Rn.value.min, Rn.value.max, F.value.yAxis.dataLabels.steps));
593
- function zn(e, t, n = null, r = null) {
604
+ })), Z = f(() => te(Vn.value.min, Vn.value.max, F.value.yAxis.dataLabels.steps));
605
+ function Hn(e, t, n = null, r = null) {
594
606
  return {
595
607
  ...e,
596
608
  x: u(G.value.left + t * X.value + X.value / 2),
@@ -600,7 +612,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
600
612
  isMin: e === r
601
613
  };
602
614
  }
603
- let Q = p(() => {
615
+ let Q = f(() => {
604
616
  let e = {
605
617
  o: Math.max(...Y.value.map((e) => e.open)),
606
618
  h: Math.max(...Y.value.map((e) => e.high)),
@@ -613,7 +625,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
613
625
  c: Math.min(...Y.value.map((e) => e.low))
614
626
  }, n = Math.max(...Y.value.map((e) => e.volume)), r = Math.min(...Y.value.map((e) => e.volume));
615
627
  return Y.value.map((i, a) => {
616
- let o = zn(i.open, a, e.o, t.o), s = zn(i.high, a, e.h, t.h), c = zn(i.low, a, e.l, t.l), l = zn(i.close, a, e.c, t.c), ee = i.close > i.open, u = i.volume === n, te = i.volume === r;
628
+ let o = Hn(i.open, a, e.o, t.o), s = Hn(i.high, a, e.h, t.h), c = Hn(i.low, a, e.l, t.l), l = Hn(i.close, a, e.c, t.c), ee = i.close > i.open, te = i.volume === n, u = i.volume === r;
617
629
  return {
618
630
  period: i.period,
619
631
  open: o,
@@ -623,12 +635,12 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
623
635
  volume: i.volume,
624
636
  isBullish: ee,
625
637
  absoluteIndex: i.absoluteIndex,
626
- isMaxVolume: u,
627
- isMinVolume: te
638
+ isMaxVolume: te,
639
+ isMinVolume: u
628
640
  };
629
641
  });
630
642
  });
631
- function Bn({ item: e, index: t, minimapH: n, unitW: r }) {
643
+ function Un({ item: e, index: t, minimapH: n, unitW: r }) {
632
644
  let i = F.value.yAxis.scale.min ?? 0, a = F.value.yAxis.scale.max ?? Math.max(...B.value.map((e) => e[2]));
633
645
  return {
634
646
  ...e,
@@ -637,23 +649,23 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
637
649
  value: u(e)
638
650
  };
639
651
  }
640
- let Vn = p(() => ({ minimapH: e, unitW: t }) => Ln.value.map((n, r) => {
641
- let i = Bn({
652
+ let Wn = f(() => ({ minimapH: e, unitW: t }) => Bn.value.map((n, r) => {
653
+ let i = Un({
642
654
  item: n.open,
643
655
  index: r,
644
656
  minimapH: e,
645
657
  unitW: t
646
- }), a = Bn({
658
+ }), a = Un({
647
659
  item: n.high,
648
660
  index: r,
649
661
  minimapH: e,
650
662
  unitW: t
651
- }), o = Bn({
663
+ }), o = Un({
652
664
  item: n.low,
653
665
  index: r,
654
666
  minimapH: e,
655
667
  unitW: t
656
- }), s = Bn({
668
+ }), s = Un({
657
669
  item: n.close,
658
670
  index: r,
659
671
  minimapH: e,
@@ -669,112 +681,112 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
669
681
  isBullish: c,
670
682
  absoluteIndex: n.absoluteIndex
671
683
  };
672
- })), Hn = p(() => L.value.zoom.minimap.show ? [{
684
+ })), Gn = f(() => L.value.zoom.minimap.show ? [{
673
685
  name: "",
674
686
  series: B.value.map((e) => e[2]),
675
687
  color: "#000000",
676
688
  isVisible: !0
677
689
  }] : []);
678
- function Un(e) {
690
+ function Kn(e) {
679
691
  return u((e - Z.value.min) / (Z.value.max - Z.value.min));
680
692
  }
681
- let Wn = p(() => Z.value.ticks.map((e) => ({
682
- y: G.value.bottom - G.value.height * Un(e),
693
+ let qn = f(() => Z.value.ticks.map((e) => ({
694
+ y: G.value.bottom - G.value.height * Kn(e),
683
695
  value: u(e)
684
- }))), Gn = p(() => Y.value.map((e) => e.period)), $ = S([]), Kn = S([]), qn = 0;
685
- qe(() => {
686
- let e = ++qn;
696
+ }))), Jn = f(() => Y.value.map((e) => e.period)), $ = S([]), Yn = S([]), Xn = 0;
697
+ Je(() => {
698
+ let e = ++Xn;
687
699
  (async () => {
688
- let t = await fe({
700
+ let t = await me({
689
701
  values: B.value.map((e) => e[0]),
690
702
  maxDatapoints: B.value.length,
691
703
  formatter: F.value.xAxis.dataLabels.datetimeFormatter,
692
704
  start: q.value.start,
693
705
  end: q.value.end
694
706
  });
695
- e === qn && ($.value = t);
707
+ e === Xn && ($.value = t);
696
708
  })();
697
709
  });
698
- let Jn = 0;
699
- qe(() => {
700
- let e = ++Jn;
710
+ let Zn = 0;
711
+ Je(() => {
712
+ let e = ++Zn;
701
713
  (async () => {
702
- let t = await fe({
714
+ let t = await me({
703
715
  values: B.value.map((e) => e[0]),
704
716
  maxDatapoints: B.value.length,
705
717
  formatter: F.value.xAxis.dataLabels.datetimeFormatter,
706
718
  start: 0,
707
719
  end: K.value
708
720
  });
709
- e === Jn && (Kn.value = t);
721
+ e === Zn && (Yn.value = t);
710
722
  })();
711
723
  });
712
- let Yn = S({
724
+ let Qn = S({
713
725
  months: [],
714
726
  shortMonths: [],
715
727
  days: [],
716
728
  shortDays: []
717
- }), Xn = 0;
718
- qe(() => {
719
- let e = ++Xn, t = F.value.xAxis.dataLabels.datetimeFormatter;
729
+ }), $n = 0;
730
+ Je(() => {
731
+ let e = ++$n, t = F.value.xAxis.dataLabels.datetimeFormatter;
720
732
  (async () => {
721
- let n = await de(t.locale).catch(() => de("en"));
722
- e === Xn && (Yn.value = n.data);
733
+ let n = await pe(t.locale).catch(() => pe("en"));
734
+ e === $n && (Qn.value = n.data);
723
735
  })();
724
736
  });
725
- let Zn = p(() => {
726
- let e = F.value.xAxis.dataLabels.datetimeFormatter, t = ue({
737
+ let er = f(() => {
738
+ let e = F.value.xAxis.dataLabels.datetimeFormatter, t = fe({
727
739
  useUTC: e.useUTC,
728
- locale: Yn.value,
740
+ locale: Qn.value,
729
741
  januaryAsYear: e.januaryAsYear
730
742
  });
731
743
  return (e, n) => {
732
744
  let r = B.value.map((e) => e[0])?.[e];
733
745
  return r == null ? "" : t.formatDate(new Date(r), n);
734
746
  };
735
- }), Qn = p(() => (B.value.map((e) => e[0]) || []).map((e, t) => ({
736
- text: Zn.value(t, L.value.tooltip.timeFormat),
747
+ }), tr = f(() => (B.value.map((e) => e[0]) || []).map((e, t) => ({
748
+ text: er.value(t, L.value.tooltip.timeFormat),
737
749
  absoluteIndex: t
738
- }))), $n = p(() => (B.value.map((e) => e[0]) || []).map((e, t) => ({
739
- text: Zn.value(t, L.value.zoom.timeFormat),
750
+ }))), nr = f(() => (B.value.map((e) => e[0]) || []).map((e, t) => ({
751
+ text: er.value(t, L.value.zoom.timeFormat),
740
752
  absoluteIndex: t
741
- }))), er = p(() => {
742
- let e = Math.max(1, Math.floor(Number(F.value.xAxis.dataLabels.modulo) || 1)), t = ($.value || []).map((e) => e?.text ?? ""), n = (Kn.value || []).map((e) => e?.text ?? ""), r = q.value.start ?? 0, i = r > 0 || t.length < n.length;
743
- return re({
753
+ }))), rr = f(() => {
754
+ let e = Math.max(1, Math.floor(Number(F.value.xAxis.dataLabels.modulo) || 1)), t = ($.value || []).map((e) => e?.text ?? ""), n = (Yn.value || []).map((e) => e?.text ?? ""), r = q.value.start ?? 0, i = r > 0 || t.length < n.length;
755
+ return ie({
744
756
  configuredModulo: e,
745
757
  visibleTexts: t,
746
758
  allTexts: n,
747
759
  startAbs: r,
748
760
  isZoomed: i
749
761
  });
750
- }), tr = p(() => {
751
- let e = F.value.xAxis.dataLabels, t = $.value || [], n = Kn.value || [], r = q.value.start ?? 0, i = A.value, a = K.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? ""), c = ne(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, er.value, o, s, r, i, a);
762
+ }), ir = f(() => {
763
+ let e = F.value.xAxis.dataLabels, t = $.value || [], n = Yn.value || [], r = q.value.start ?? 0, i = A.value, a = K.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? ""), c = re(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, rr.value, o, s, r, i, a);
752
764
  if (!e.showFirstAndLast || e.showOnlyFirstAndLast || !c.length) return c;
753
765
  let l = c.length - 1;
754
766
  return c.map((e, t) => t !== 0 && t !== l ? e : {
755
767
  ...e,
756
768
  text: o[t] ?? ""
757
769
  });
758
- }), nr = p(() => F.value.xAxis.dataLabels.datetimeFormatter.enable ? {
770
+ }), ar = f(() => F.value.xAxis.dataLabels.datetimeFormatter.enable ? {
759
771
  start: $.value.find((e) => e.absoluteIndex === q.value.start)?.text ?? "",
760
772
  end: $.value.find((e) => e.absoluteIndex === q.value.end - 1)?.text ?? ""
761
773
  } : {
762
774
  start: B.value[q.value.start] ? B.value[q.value.start][0] : B.value[0][0],
763
775
  end: B.value[q.value.end - 1] ? B.value[q.value.end - 1][0] : B.value.at(-1)[0]
764
- }), rr = S(null);
765
- function ir(e, t) {
776
+ }), or = S(null);
777
+ function sr(e, t) {
766
778
  N.value.events.datapointClick && N.value.events.datapointClick({
767
779
  datapoint: t,
768
780
  seriesIndex: e + q.value.start
769
781
  });
770
782
  }
771
- function ar(e, t) {
783
+ function cr(e, t) {
772
784
  N.value.events.datapointLeave && N.value.events.datapointLeave({
773
785
  datapoint: t,
774
786
  seriesIndex: e + q.value.start
775
- }), A.value = void 0, Ht.value = !1, M.value = null, on.value = "pointer";
787
+ }), A.value = void 0, Ut.value = !1, M.value = null, sn.value = "pointer";
776
788
  }
777
- Ke(() => D.selectedXIndex, (e) => {
789
+ qe(() => D.selectedXIndex, (e) => {
778
790
  if ([null, void 0].includes(D.selectedXIndex)) {
779
791
  A.value = null;
780
792
  return;
@@ -782,51 +794,51 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
782
794
  let t = e - q.value.start;
783
795
  t < 0 || e >= q.value.end ? A.value = null : A.value = t ?? null;
784
796
  }, { immediate: !0 });
785
- function or(e, t, r = "pointer") {
797
+ function lr(e, t, r = "pointer") {
786
798
  N.value.events.datapointEnter && N.value.events.datapointEnter({
787
799
  datapoint: t,
788
800
  seriesIndex: e + q.value.start
789
- }), A.value = e, M.value = e, on.value = r, rr.value = {
801
+ }), A.value = e, M.value = e, sn.value = r, or.value = {
790
802
  datapoint: t,
791
803
  seriesIndex: e,
792
804
  series: Q.value,
793
805
  config: N.value
794
- }, Lr({
806
+ }, Br({
795
807
  seriesIndex: e,
796
808
  datapoint: t
797
809
  });
798
810
  let i = L.value.tooltip.customFormat;
799
- if (n(i) && ie(() => i({
811
+ if (n(i) && ae(() => i({
800
812
  seriesIndex: e,
801
813
  datapoint: t,
802
814
  series: Q.value,
803
815
  config: N.value
804
- }))) Ut.value = i({
816
+ }))) Wt.value = i({
805
817
  seriesIndex: e,
806
818
  datapoint: t,
807
819
  series: Q.value,
808
820
  config: N.value
809
821
  });
810
822
  else if (L.value.tooltip.show) {
811
- let n = "", { period: r, open: i, high: a, low: o, close: c, volume: l, isBullish: ee } = Q.value[e], { period: u, open: te, high: ne, low: re, close: ie, volume: d } = N.value.translations, ae = F.value.xAxis.dataLabels.datetimeFormatter.enable ? L.value.tooltip.useDefaultTimeFormat ? $.value[e].text : Qn.value[e].text : r;
823
+ let n = "", { period: r, open: i, high: a, low: o, close: c, volume: l, isBullish: ee } = Q.value[e], { period: te, open: u, high: ne, low: re, close: ie, volume: ae } = N.value.translations, oe = F.value.xAxis.dataLabels.datetimeFormatter.enable ? L.value.tooltip.useDefaultTimeFormat ? $.value[e].text : tr.value[e].text : r;
812
824
  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.borderRadius * 3}" stroke="${P.value.stroke}" stroke-width="${P.value.strokeWidth}"
813
- fill="${P.value.gradient.show ? ee ? `url(#bullish_gradient_${k.value})` : `url(#bearish_gradient_${k.value})` : ee ? P.value.colors.bullish : P.value.colors.bearish}"/></svg>${ae}</div>`, n += `${d} : <b>${isNaN(l) ? "-" : Number(l.toFixed(L.value.tooltip.roundingValue)).toLocaleString()}</b>`, n += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${L.value.tooltip.borderColor}">`;
814
- let oe = s({
825
+ fill="${P.value.gradient.show ? ee ? `url(#bullish_gradient_${k.value})` : `url(#bearish_gradient_${k.value})` : ee ? P.value.colors.bullish : P.value.colors.bearish}"/></svg>${oe}</div>`, n += `${ae} : <b>${isNaN(l) ? "-" : Number(l.toFixed(L.value.tooltip.roundingValue)).toLocaleString()}</b>`, n += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${L.value.tooltip.borderColor}">`;
826
+ let se = s({
815
827
  p: L.value.tooltip.prefix,
816
828
  v: i.value,
817
829
  s: L.value.tooltip.suffix,
818
830
  r: L.value.tooltip.roundingValue
819
- }), se = s({
831
+ }), ce = s({
820
832
  p: L.value.tooltip.prefix,
821
833
  v: a.value,
822
834
  s: L.value.tooltip.suffix,
823
835
  r: L.value.tooltip.roundingValue
824
- }), ce = s({
836
+ }), le = s({
825
837
  p: L.value.tooltip.prefix,
826
838
  v: o.value,
827
839
  s: L.value.tooltip.suffix,
828
840
  r: L.value.tooltip.roundingValue
829
- }), le = s({
841
+ }), ue = s({
830
842
  p: L.value.tooltip.prefix,
831
843
  v: c.value,
832
844
  s: L.value.tooltip.suffix,
@@ -839,55 +851,55 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
839
851
  ${t.isBullish ? `
840
852
  <line x1="45" x2="50" y1="65" y2="65" stroke="${P.value.colors.bullish}" stroke-width="1.5" stroke-linecap="round" />
841
853
  <line x1="50" x2="55" y1="35" y2="35" stroke="${P.value.colors.bullish}" stroke-width="1.5" stroke-linecap="round" />
842
- <text x="38" y="70" text-anchor="end" fill="${L.value.tooltip.color}">${oe}</text>
843
- <text x="62" y="40" text-anchor="start" fill="${L.value.tooltip.color}">${le}</text>
854
+ <text x="38" y="70" text-anchor="end" fill="${L.value.tooltip.color}">${se}</text>
855
+ <text x="62" y="40" text-anchor="start" fill="${L.value.tooltip.color}">${ue}</text>
844
856
  ` : `
845
857
  <line x1="45" x2="50" y1="35" y2="35" stroke="${P.value.colors.bearish}" stroke-width="1.5" stroke-linecap="round" />
846
858
  <line x1="50" x2="55" y1="65" y2="65" stroke="${P.value.colors.bearish}" stroke-width="1.5" stroke-linecap="round" />
847
- <text x="40" y="40" text-anchor="end" fill="${L.value.tooltip.color}">${oe}</text>
848
- <text x="60" y="70" text-anchor="start" fill="${L.value.tooltip.color}">${le}</text>
859
+ <text x="40" y="40" text-anchor="end" fill="${L.value.tooltip.color}">${se}</text>
860
+ <text x="60" y="70" text-anchor="start" fill="${L.value.tooltip.color}">${ue}</text>
849
861
  `}
850
- <text x="50" y="13" text-anchor="middle" fill="${L.value.tooltip.color}">${se}</text>
851
- <text x="50" y="97" text-anchor="middle" fill="${L.value.tooltip.color}">${ce}</text>
862
+ <text x="50" y="13" text-anchor="middle" fill="${L.value.tooltip.color}">${ce}</text>
863
+ <text x="50" y="97" text-anchor="middle" fill="${L.value.tooltip.color}">${le}</text>
852
864
  <g>
853
865
  </svg>
854
866
  <div>
855
- ` : (n += `<div>${te}: <b>${oe}</b></div>`, n += `<div>${ne}: <b>${se}</b></div>`, n += `<div>${re}: <b>${ce}</b></div>`, n += `<div>${ie}: <b>${le}</b></div>`), n += "</div>", Ut.value = `<div style="text-align:right">${n}</div>`;
867
+ ` : (n += `<div>${u}: <b>${se}</b></div>`, n += `<div>${ne}: <b>${ce}</b></div>`, n += `<div>${re}: <b>${le}</b></div>`, n += `<div>${ie}: <b>${ue}</b></div>`), n += "</div>", Wt.value = `<div style="text-align:right">${n}</div>`;
856
868
  }
857
- Ht.value = !0;
869
+ Ut.value = !0;
858
870
  }
859
- let sr = S(null);
860
- function cr() {
871
+ let ur = S(null);
872
+ function dr() {
861
873
  return new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(() => e())));
862
874
  }
863
- Be(() => {
864
- sr.value && cancelAnimationFrame(sr.value);
875
+ Ve(() => {
876
+ ur.value && cancelAnimationFrame(ur.value);
865
877
  });
866
- async function lr() {
867
- pr(), await Re(), sr.value && cancelAnimationFrame(sr.value), sr.value = requestAnimationFrame(async () => {
868
- await cr(), pr();
878
+ async function fr() {
879
+ gr(), await ze(), ur.value && cancelAnimationFrame(ur.value), ur.value = requestAnimationFrame(async () => {
880
+ await dr(), gr();
869
881
  });
870
882
  }
871
- let ur = S(!1), dr = S(!1), fr = S(!1);
872
- function pr() {
873
- if (!ur.value) {
874
- ur.value = !0;
883
+ let pr = S(!1), mr = S(!1), hr = S(!1);
884
+ function gr() {
885
+ if (!pr.value) {
886
+ pr.value = !0;
875
887
  try {
876
- let { startIndex: e, endIndex: t } = L.value.zoom, n = K.value, r = e ?? 0, i = t == null ? n : Math.min(mr(t + 1), n);
877
- fr.value = !0, q.value.start = r, q.value.end = i, J.value.start = r, J.value.end = i, Pn(), dr.value = !0;
888
+ let { startIndex: e, endIndex: t } = L.value.zoom, n = K.value, r = e ?? 0, i = t == null ? n : Math.min(_r(t + 1), n);
889
+ hr.value = !0, q.value.start = r, q.value.end = i, J.value.start = r, J.value.end = i, Ln(), mr.value = !0;
878
890
  } finally {
879
891
  queueMicrotask(() => {
880
- fr.value = !1;
881
- }), ur.value = !1;
892
+ hr.value = !1;
893
+ }), pr.value = !1;
882
894
  }
883
895
  }
884
896
  }
885
- function mr(e) {
897
+ function _r(e) {
886
898
  let t = K.value;
887
899
  return e > t ? t : e < 0 || e < q.value.start ? L.value.zoom.startIndex === null ? 1 : L.value.zoom.startIndex + 1 : e;
888
900
  }
889
- function hr(e = null) {
890
- Re(() => {
901
+ function vr(e = null) {
902
+ ze(() => {
891
903
  let n = [
892
904
  N.value.translations.period,
893
905
  N.value.translations.open,
@@ -918,7 +930,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
918
930
  });
919
931
  });
920
932
  }
921
- let gr = p(() => {
933
+ let yr = f(() => {
922
934
  let e = Q.value.map((e, t) => {
923
935
  let n = F.value.xAxis.dataLabels.datetimeFormatter.enable ? $.value?.[t]?.text ?? "" : e.period, r = s({
924
936
  p: N.value.table.td.prefix,
@@ -1003,23 +1015,23 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1003
1015
  config: n,
1004
1016
  colNames: r
1005
1017
  };
1006
- }), _r = S(!1);
1007
- function vr(e) {
1008
- _r.value = e, Wt.value += 1;
1018
+ }), br = S(!1);
1019
+ function xr(e) {
1020
+ br.value = e, Gt.value += 1;
1009
1021
  }
1010
- function yr() {
1022
+ function Sr() {
1011
1023
  U.value.showTable = !U.value.showTable;
1012
1024
  }
1013
- function br() {
1025
+ function Cr() {
1014
1026
  U.value.showTooltip = !U.value.showTooltip;
1015
1027
  }
1016
- let xr = S(!1);
1017
- function Sr() {
1018
- xr.value = !xr.value;
1028
+ let wr = S(!1);
1029
+ function Tr() {
1030
+ wr.value = !wr.value;
1019
1031
  }
1020
- async function Cr({ scale: e = 2 } = {}) {
1032
+ async function Er({ scale: e = 2 } = {}) {
1021
1033
  if (!j.value) return;
1022
- let { imageUri: t, base64: n } = await Se({
1034
+ let { imageUri: t, base64: n } = await we({
1023
1035
  domElement: j.value,
1024
1036
  base64: !0,
1025
1037
  img: !0,
@@ -1028,7 +1040,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1028
1040
  width: r.width,
1029
1041
  height: r.height,
1030
1042
  aspectRatio: r.height ? r.width / r.height : 0
1031
- }, a = await ae(t, e) ?? i;
1043
+ }, a = await se(t, e) ?? i;
1032
1044
  return {
1033
1045
  imageUri: t,
1034
1046
  base64: n,
@@ -1036,9 +1048,9 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1036
1048
  ...a
1037
1049
  };
1038
1050
  }
1039
- let wr = p(() => V.value.width), Tr = p(() => V.value.height);
1040
- xe({
1041
- timeLabelsEls: en,
1051
+ let Dr = f(() => V.value.width), Or = f(() => V.value.height);
1052
+ Ce({
1053
+ timeLabelsEls: tn,
1042
1054
  timeLabels: $,
1043
1055
  slicer: q,
1044
1056
  configRef: N,
@@ -1061,28 +1073,28 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1061
1073
  ],
1062
1074
  isAutoSize: !1,
1063
1075
  rotation: F.value.xAxis.dataLabels.autoRotate.angle,
1064
- width: wr,
1065
- height: Tr
1066
- }), Ke(N, () => {
1076
+ width: Dr,
1077
+ height: Or
1078
+ }), qe(N, () => {
1067
1079
  U.value = {
1068
1080
  showTable: N.value.table.show,
1069
1081
  showTooltip: L.value.tooltip.show
1070
1082
  };
1071
1083
  }, { immediate: !0 });
1072
- let Er = p(() => {
1084
+ let kr = f(() => {
1073
1085
  let e = N.value.table.useDialog && !N.value.table.show, t = U.value.showTable;
1074
1086
  return {
1075
- component: e ? Ft : At,
1087
+ component: e ? It : jt,
1076
1088
  title: `${L.value.title.text}${L.value.title.subtitle.text ? `: ${L.value.title.subtitle.text}` : ""}`,
1077
1089
  props: e ? {
1078
1090
  backgroundColor: N.value.table.th.backgroundColor,
1079
1091
  color: N.value.table.th.color,
1080
1092
  headerColor: N.value.table.th.color,
1081
1093
  headerBg: N.value.table.th.backgroundColor,
1082
- isFullscreen: _r.value,
1094
+ isFullscreen: br.value,
1083
1095
  fullscreenParent: j.value,
1084
1096
  forcedWidth: Math.min(800, window.innerWidth * .8),
1085
- isCursorPointer: ln.value
1097
+ isCursorPointer: un.value
1086
1098
  } : {
1087
1099
  hideDetails: !0,
1088
1100
  config: {
@@ -1100,42 +1112,42 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1100
1112
  }
1101
1113
  };
1102
1114
  });
1103
- Ke(() => U.value.showTable, (e) => {
1104
- N.value.table.show || (e && N.value.table.useDialog && tn.value ? tn.value.open() : "close" in tn.value && tn.value.close());
1115
+ qe(() => U.value.showTable, (e) => {
1116
+ N.value.table.show || (e && N.value.table.useDialog && nn.value ? nn.value.open() : "close" in nn.value && nn.value.close());
1105
1117
  });
1106
- function Dr() {
1107
- U.value.showTable = !1, nn.value && nn.value.setTableIconState(!1);
1118
+ function Ar() {
1119
+ U.value.showTable = !1, rn.value && rn.value.setTableIconState(!1);
1108
1120
  }
1109
- let Or = p(() => L.value.backgroundColor), kr = p(() => L.value.title), { isCallbackImaging: Ar, isCallbackSvg: jr, generateSvg: Mr, onGenerateImage: Nr } = ye({
1110
- svg: hn,
1111
- title: kr,
1121
+ let jr = f(() => L.value.backgroundColor), Mr = f(() => L.value.title), { isCallbackImaging: Nr, isCallbackSvg: Pr, generateSvg: Fr, onGenerateImage: Ir } = xe({
1122
+ svg: gn,
1123
+ title: Mr,
1112
1124
  legend: null,
1113
1125
  legendItems: null,
1114
- backgroundColor: Or,
1126
+ backgroundColor: jr,
1115
1127
  getSvgCallback: () => N.value.userOptions.callbacks.svg,
1116
- generateImage: Tn
1128
+ generateImage: On
1117
1129
  });
1118
- function Pr(e) {
1119
- rn.value = e;
1130
+ function Lr(e) {
1131
+ an.value = e;
1120
1132
  }
1121
- function Fr(e) {
1122
- ur.value || fr.value || e !== q.value.start && (q.value.start = e, J.value.start = e, Pn());
1133
+ function Rr(e) {
1134
+ pr.value || hr.value || e !== q.value.start && (q.value.start = e, J.value.start = e, Ln());
1123
1135
  }
1124
- function Ir(e) {
1125
- if (ur.value || fr.value) return;
1126
- let t = mr(e);
1127
- t !== q.value.end && (q.value.end = t, J.value.end = t, Pn());
1136
+ function zr(e) {
1137
+ if (pr.value || hr.value) return;
1138
+ let t = _r(e);
1139
+ t !== q.value.end && (q.value.end = t, J.value.end = t, Ln());
1128
1140
  }
1129
- function Lr({ seriesIndex: e, datapoint: t }) {
1141
+ function Br({ seriesIndex: e, datapoint: t }) {
1130
1142
  let n = q.value.start + e;
1131
- zt("selectX", {
1143
+ Bt("selectX", {
1132
1144
  dataset: t,
1133
1145
  index: n,
1134
1146
  indexLabel: ""
1135
1147
  });
1136
1148
  }
1137
- async function Rr() {
1138
- if (zt("copyAlt", {
1149
+ async function Vr() {
1150
+ if (Bt("copyAlt", {
1139
1151
  config: N.value,
1140
1152
  dataset: Q.value
1141
1153
  }), !N.value.userOptions.callbacks.altCopy) {
@@ -1147,73 +1159,73 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1147
1159
  dataset: Q.value
1148
1160
  }));
1149
1161
  }
1150
- function zr() {
1151
- M.value = null, sn.value = !0;
1162
+ function Hr() {
1163
+ M.value = null, cn.value = !0;
1152
1164
  }
1153
- function Br() {
1154
- M.value = null, on.value = "pointer", Ht.value = !1, A.value = void 0, sn.value = !1;
1165
+ function Ur() {
1166
+ M.value = null, sn.value = "pointer", Ut.value = !1, A.value = void 0, cn.value = !1;
1155
1167
  }
1156
- function Vr(e) {
1157
- if (!hn.value || xr.value || document.activeElement !== hn.value || !Q.value.length) return;
1168
+ function Wr(e) {
1169
+ if (!gn.value || wr.value || document.activeElement !== gn.value || !Q.value.length) return;
1158
1170
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1159
1171
  if (!t && !n && !r && !i) return;
1160
1172
  if (e.preventDefault(), e.stopPropagation(), i) {
1161
- M.value = null, on.value = "pointer", Ht.value = !1, A.value = void 0;
1173
+ M.value = null, sn.value = "pointer", Ut.value = !1, A.value = void 0;
1162
1174
  return;
1163
1175
  }
1164
1176
  if (r) {
1165
1177
  if (M.value === null) return;
1166
1178
  let e = Q.value[M.value];
1167
1179
  if (!e) return;
1168
- ir(M.value, e);
1180
+ sr(M.value, e);
1169
1181
  return;
1170
1182
  }
1171
1183
  let a = M.value, o = A.value, s = a !== null && a >= 0 && a < Q.value.length, c = o != null && o >= 0 && o < Q.value.length;
1172
1184
  s ? n ? (a += 1, a >= Q.value.length && (a = 0)) : t && (--a, a < 0 && (a = Q.value.length - 1)) : c ? (a = n ? o + 1 : o - 1, a >= Q.value.length && (a = 0), a < 0 && (a = Q.value.length - 1)) : a = n ? 0 : Q.value.length - 1;
1173
1185
  let l = Q.value[a];
1174
- l && (Hr(a), or(a, l, "keyboard"));
1186
+ l && (Gr(a), lr(a, l, "keyboard"));
1175
1187
  }
1176
- function Hr(e) {
1177
- if (!Number.isFinite(e) || !hn.value) return;
1178
- let t = G.value.left + X.value * e + X.value / 2, n = G.value.top + G.value.height / 2, r = hn.value.getBoundingClientRect();
1179
- an.value = {
1188
+ function Gr(e) {
1189
+ if (!Number.isFinite(e) || !gn.value) return;
1190
+ let t = G.value.left + X.value * e + X.value / 2, n = G.value.top + G.value.height / 2, r = gn.value.getBoundingClientRect();
1191
+ on.value = {
1180
1192
  x: r.left + t / V.value.width * r.width,
1181
1193
  y: r.top + n / V.value.height * r.height
1182
1194
  };
1183
1195
  }
1184
- let Ur = p(() => ({
1185
- headers: gr.value?.colNames ?? [],
1186
- rows: gr.value?.bodyA11y ?? []
1196
+ let Kr = f(() => ({
1197
+ headers: yr.value?.colNames ?? [],
1198
+ rows: yr.value?.bodyA11y ?? []
1187
1199
  }));
1188
- return we({
1189
- getImage: Cr,
1190
- generatePdf: wn,
1191
- generateCsv: hr,
1192
- generateImage: Tn,
1193
- generateSvg: Mr,
1194
- toggleTable: yr,
1195
- toggleTooltip: br,
1196
- toggleAnnotator: Sr,
1197
- toggleFullscreen: vr,
1198
- copyAlt: Rr
1200
+ return Ee({
1201
+ getImage: Er,
1202
+ generatePdf: Dn,
1203
+ generateCsv: vr,
1204
+ generateImage: On,
1205
+ generateSvg: Fr,
1206
+ toggleTable: Sr,
1207
+ toggleTooltip: Cr,
1208
+ toggleAnnotator: Tr,
1209
+ toggleFullscreen: xr,
1210
+ copyAlt: Vr
1199
1211
  }), (e, t) => (x(), h("div", {
1200
1212
  ref_key: "candlestickChart",
1201
1213
  ref: j,
1202
- class: y(`vue-data-ui-component vue-ui-candlestick ${_r.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1203
- style: ze(`position:relative;font-family:${L.value.fontFamily}; text-align:center;background:${L.value.backgroundColor}; ${N.value.responsive ? "height: 100%" : ""}`),
1214
+ class: y(`vue-data-ui-component vue-ui-candlestick ${br.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1215
+ style: Be(`position:relative;font-family:${L.value.fontFamily}; text-align:center;background:${L.value.backgroundColor}; ${N.value.responsive ? "height: 100%" : ""}`),
1204
1216
  id: `vue-ui-candlestick_${k.value}`,
1205
- onMouseenter: gn,
1206
- onMouseleave: _n
1217
+ onMouseenter: _n,
1218
+ onMouseleave: vn
1207
1219
  }, [
1208
1220
  g("div", {
1209
1221
  id: `chart-instructions-${k.value}`,
1210
1222
  class: "sr-only"
1211
- }, [g("p", null, We(N.value.a11y.translations.keyboardNavigation), 1)], 8, Xe),
1212
- Ur.value?.rows?.length ? (x(), Ne(ke, {
1223
+ }, [g("p", null, Ge(N.value.a11y.translations.keyboardNavigation), 1)], 8, Ze),
1224
+ Kr.value?.rows?.length ? (x(), p(je, {
1213
1225
  key: 0,
1214
1226
  uid: k.value,
1215
- head: Ur.value.headers,
1216
- body: Ur.value.rows,
1227
+ head: Kr.value.headers,
1228
+ body: Kr.value.rows,
1217
1229
  notice: N.value.a11y.translations.tableAvailable,
1218
1230
  caption: N.value.a11y.translations.tableCaption
1219
1231
  }, null, 8, [
@@ -1223,15 +1235,15 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1223
1235
  "notice",
1224
1236
  "caption"
1225
1237
  ])) : m("", !0),
1226
- R.value.buttons.annotator ? (x(), Ne(T(Mt), {
1238
+ R.value.buttons.annotator ? (x(), p(T(Nt), {
1227
1239
  key: 1,
1228
- svgRef: T(hn),
1240
+ svgRef: T(gn),
1229
1241
  backgroundColor: L.value.backgroundColor,
1230
1242
  color: L.value.color,
1231
- active: xr.value,
1232
- isCursorPointer: ln.value,
1243
+ active: wr.value,
1244
+ isCursorPointer: un.value,
1233
1245
  palette: R.value.annotatorPalette,
1234
- onClose: Sr
1246
+ onClose: Tr
1235
1247
  }, {
1236
1248
  "annotator-action-close": E(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1237
1249
  "annotator-action-color": E(({ color: t }) => [w(e.$slots, "annotator-action-color", b(v({ color: t })), void 0, !0)]),
@@ -1248,20 +1260,20 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1248
1260
  "isCursorPointer",
1249
1261
  "palette"
1250
1262
  ])) : m("", !0),
1251
- En.value ? (x(), h("div", {
1263
+ kn.value ? (x(), h("div", {
1252
1264
  key: 2,
1253
1265
  ref_key: "noTitle",
1254
- ref: Yt,
1266
+ ref: Xt,
1255
1267
  class: "vue-data-ui-no-title-space",
1256
1268
  style: "height:36px; width: 100%;background:transparent"
1257
1269
  }, null, 512)) : m("", !0),
1258
1270
  L.value.title.text ? (x(), h("div", {
1259
1271
  key: 3,
1260
1272
  ref_key: "chartTitle",
1261
- ref: Gt,
1273
+ ref: Kt,
1262
1274
  style: "width:100%;background:transparent"
1263
- }, [(x(), Ne(Ce, {
1264
- key: `title_${Qt.value}`,
1275
+ }, [(x(), p(Te, {
1276
+ key: `title_${$t.value}`,
1265
1277
  config: {
1266
1278
  title: {
1267
1279
  cy: "candlestick-div-title",
@@ -1273,14 +1285,14 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1273
1285
  }
1274
1286
  }
1275
1287
  }, null, 8, ["config"]))], 512)) : m("", !0),
1276
- R.value.show && Bt.value && (T(mn) || T(fn)) ? (x(), Ne(T(Nt), {
1288
+ R.value.show && Vt.value && (T(hn) || T(pn)) ? (x(), p(T(Pt), {
1277
1289
  ref_key: "userOptionsRef",
1278
- ref: nn,
1279
- key: `user_options_${Wt.value}`,
1290
+ ref: rn,
1291
+ key: `user_options_${Gt.value}`,
1280
1292
  backgroundColor: L.value.backgroundColor,
1281
1293
  color: L.value.color,
1282
- isImaging: T(Cn),
1283
- isPrinting: T(Sn),
1294
+ isImaging: T(En),
1295
+ isPrinting: T(Tn),
1284
1296
  uid: k.value,
1285
1297
  hasTooltip: R.value.buttons.tooltip && L.value.tooltip.show,
1286
1298
  hasPdf: R.value.buttons.pdf,
@@ -1290,28 +1302,28 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1290
1302
  hasTable: R.value.buttons.table,
1291
1303
  hasFullscreen: R.value.buttons.fullscreen,
1292
1304
  hasAltCopy: R.value.buttons.altCopy,
1293
- isFullscreen: _r.value,
1305
+ isFullscreen: br.value,
1294
1306
  isTooltip: U.value.showTooltip,
1295
1307
  titles: { ...R.value.buttonTitles },
1296
1308
  chartElement: j.value,
1297
1309
  position: R.value.position,
1298
1310
  hasAnnotator: R.value.buttons.annotator,
1299
- isAnnotation: xr.value,
1311
+ isAnnotation: wr.value,
1300
1312
  callbacks: R.value.callbacks,
1301
1313
  printScale: R.value.print.scale,
1302
1314
  tableDialog: N.value.table.useDialog,
1303
- isCursorPointer: ln.value,
1304
- onToggleFullscreen: vr,
1305
- onGeneratePdf: T(wn),
1306
- onGenerateCsv: hr,
1307
- onGenerateImage: T(Nr),
1308
- onGenerateSvg: T(Mr),
1309
- onToggleTable: yr,
1310
- onToggleTooltip: br,
1311
- onToggleAnnotator: Sr,
1312
- onCopyAlt: Rr,
1313
- style: ze({ visibility: T(mn) ? T(fn) ? "visible" : "hidden" : "visible" })
1314
- }, Pe({ _: 2 }, [
1315
+ isCursorPointer: un.value,
1316
+ onToggleFullscreen: xr,
1317
+ onGeneratePdf: T(Dn),
1318
+ onGenerateCsv: vr,
1319
+ onGenerateImage: T(Ir),
1320
+ onGenerateSvg: T(Fr),
1321
+ onToggleTable: Sr,
1322
+ onToggleTooltip: Cr,
1323
+ onToggleAnnotator: Tr,
1324
+ onCopyAlt: Vr,
1325
+ style: Be({ visibility: T(hn) ? T(pn) ? "visible" : "hidden" : "visible" })
1326
+ }, Fe({ _: 2 }, [
1315
1327
  e.$slots.menuIcon ? {
1316
1328
  name: "menuIcon",
1317
1329
  fn: E(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", b(v({
@@ -1382,24 +1394,24 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1382
1394
  key: "11"
1383
1395
  } : void 0
1384
1396
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : m("", !0),
1385
- g("div", Ze, [(x(), h("svg", {
1397
+ g("div", Qe, [(x(), h("svg", {
1386
1398
  ref_key: "svgRef",
1387
- ref: hn,
1388
- xmlns: T(se),
1399
+ ref: gn,
1400
+ xmlns: T(le),
1389
1401
  "aria-describedby": `chart-instructions-${k.value}`,
1390
1402
  class: y({
1391
- "vue-data-ui-fullscreen--on": _r.value,
1392
- "vue-data-ui-fulscreen--off": !_r.value,
1393
- "vue-data-ui-no-transition": !T(cn)
1403
+ "vue-data-ui-fullscreen--on": br.value,
1404
+ "vue-data-ui-fulscreen--off": !br.value,
1405
+ "vue-data-ui-no-transition": !T(ln)
1394
1406
  }),
1395
1407
  viewBox: `0 0 ${V.value.width <= 0 ? 10 : V.value.width} ${V.value.height <= 0 ? 10 : V.value.height}`,
1396
- style: ze(`max-width:100%;overflow:visible;background:transparent;color:${L.value.color}`),
1408
+ style: Be(`max-width:100%;overflow:visible;background:transparent;color:${L.value.color}`),
1397
1409
  tabindex: "0",
1398
- onFocus: zr,
1399
- onBlur: Br,
1400
- onKeydown: Vr
1410
+ onFocus: Hr,
1411
+ onBlur: Ur,
1412
+ onKeydown: Wr
1401
1413
  }, [
1402
- Ie(T(Pt)),
1414
+ Le(T(Ft)),
1403
1415
  e.$slots["chart-background"] ? (x(), h("foreignObject", {
1404
1416
  key: 0,
1405
1417
  x: G.value.left,
@@ -1407,9 +1419,9 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1407
1419
  width: Math.max(.1, G.value.width),
1408
1420
  height: Math.max(.1, G.value.height),
1409
1421
  style: { pointerEvents: "none" }
1410
- }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, $e)) : m("", !0),
1411
- Q.value.length > 0 ? (x(), h("g", et, [
1412
- g("defs", null, [Ie(De, {
1422
+ }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, et)) : m("", !0),
1423
+ Q.value.length > 0 ? (x(), h("g", tt, [
1424
+ g("defs", null, [Le(ke, {
1413
1425
  t: "linear",
1414
1426
  id: `bearish_gradient_${k.value}`,
1415
1427
  x2: "0%",
@@ -1431,7 +1443,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1431
1443
  .4
1432
1444
  ]
1433
1445
  ]
1434
- }, null, 8, ["id", "stops"]), Ie(De, {
1446
+ }, null, 8, ["id", "stops"]), Le(ke, {
1435
1447
  t: "linear",
1436
1448
  id: `bullish_gradient_${k.value}`,
1437
1449
  x2: "0%",
@@ -1454,7 +1466,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1454
1466
  ]
1455
1467
  ]
1456
1468
  }, null, 8, ["id", "stops"])]),
1457
- F.value.show ? (x(), h("g", tt, [
1469
+ F.value.show ? (x(), h("g", nt, [
1458
1470
  g("line", {
1459
1471
  x1: W.value ? G.value.right : G.value.left,
1460
1472
  x2: W.value ? G.value.right : G.value.left,
@@ -1463,7 +1475,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1463
1475
  stroke: F.value.stroke,
1464
1476
  "stroke-width": F.value.strokeWidth,
1465
1477
  "stroke-linecap": "round"
1466
- }, null, 8, nt),
1478
+ }, null, 8, rt),
1467
1479
  g("line", {
1468
1480
  x1: G.value.left,
1469
1481
  x2: G.value.right,
@@ -1472,8 +1484,8 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1472
1484
  stroke: F.value.stroke,
1473
1485
  "stroke-width": F.value.strokeWidth,
1474
1486
  "stroke-linecap": "round"
1475
- }, null, 8, rt),
1476
- F.value.horizontalLines.show ? (x(!0), h(f, { key: 0 }, C(Wn.value, (e) => (x(), h("line", {
1487
+ }, null, 8, it),
1488
+ F.value.horizontalLines.show ? (x(!0), h(d, { key: 0 }, C(qn.value, (e) => (x(), h("line", {
1477
1489
  x1: G.value.left,
1478
1490
  x2: G.value.right,
1479
1491
  y1: e.y,
@@ -1482,8 +1494,8 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1482
1494
  "stroke-width": F.value.horizontalLines.strokeWidth,
1483
1495
  "stroke-dasharray": F.value.horizontalLines.strokeDasharray,
1484
1496
  "stroke-linecap": "round"
1485
- }, null, 8, it))), 256)) : m("", !0),
1486
- F.value.verticalLines.show ? (x(!0), h(f, { key: 1 }, C(tr.value, (e, t) => (x(), h("g", null, [e.text ? (x(), h("line", {
1497
+ }, null, 8, at))), 256)) : m("", !0),
1498
+ F.value.verticalLines.show ? (x(!0), h(d, { key: 1 }, C(ir.value, (e, t) => (x(), h("g", null, [e.text ? (x(), h("line", {
1487
1499
  key: 0,
1488
1500
  x1: G.value.left + X.value * t + X.value / 2,
1489
1501
  x2: G.value.left + X.value * t + X.value / 2,
@@ -1493,8 +1505,8 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1493
1505
  "stroke-width": F.value.verticalLines.strokeWidth,
1494
1506
  "stroke-dasharray": F.value.verticalLines.strokeDasharray,
1495
1507
  "stroke-linecap": "round"
1496
- }, null, 8, at)) : m("", !0)]))), 256)) : m("", !0),
1497
- F.value.xAxis.ticks.show ? (x(!0), h(f, { key: 2 }, C(tr.value, (e, t) => (x(), h("g", null, [e.text ? (x(), h("line", {
1508
+ }, null, 8, ot)) : m("", !0)]))), 256)) : m("", !0),
1509
+ F.value.xAxis.ticks.show ? (x(!0), h(d, { key: 2 }, C(ir.value, (e, t) => (x(), h("g", null, [e.text ? (x(), h("line", {
1498
1510
  key: 0,
1499
1511
  x1: G.value.left + X.value * t + X.value / 2,
1500
1512
  x2: G.value.left + X.value * t + X.value / 2,
@@ -1503,13 +1515,13 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1503
1515
  stroke: F.value.stroke,
1504
1516
  "stroke-width": F.value.strokeWidth,
1505
1517
  "stroke-linecap": "round"
1506
- }, null, 8, ot)) : m("", !0)]))), 256)) : m("", !0)
1518
+ }, null, 8, st)) : m("", !0)]))), 256)) : m("", !0)
1507
1519
  ])) : m("", !0),
1508
1520
  F.value.yAxis.dataLabels.show ? (x(), h("g", {
1509
1521
  key: 1,
1510
1522
  ref_key: "scaleLabels",
1511
- ref: $t
1512
- }, [(x(!0), h(f, null, C(Wn.value, (e, t) => (x(), h("g", { key: `sl_${t}` }, [e.value >= Z.value.min && e.value <= Z.value.max ? (x(), h("line", {
1523
+ ref: en
1524
+ }, [(x(!0), h(d, null, C(qn.value, (e, t) => (x(), h("g", { key: `sl_${t}` }, [e.value >= Z.value.min && e.value <= Z.value.max ? (x(), h("line", {
1513
1525
  key: 0,
1514
1526
  x1: W.value ? G.value.right : G.value.left,
1515
1527
  x2: W.value ? G.value.right + 5 : G.value.left - 5,
@@ -1518,37 +1530,37 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1518
1530
  stroke: F.value.stroke,
1519
1531
  "stroke-width": F.value.strokeWidth,
1520
1532
  "stroke-linecap": "round"
1521
- }, null, 8, st)) : m("", !0), e.value >= Z.value.min && e.value <= Z.value.max ? (x(), h("text", {
1533
+ }, null, 8, ct)) : m("", !0), e.value >= Z.value.min && e.value <= Z.value.max ? (x(), h("text", {
1522
1534
  key: 1,
1523
- class: y({ "vue-data-ui-transition": T(cn) }),
1535
+ class: y({ "vue-data-ui-transition": T(ln) }),
1524
1536
  transform: `translate(${W.value ? G.value.right + 8 + F.value.yAxis.dataLabels.offsetX : G.value.left - 8 + F.value.yAxis.dataLabels.offsetX}, ${e.y + V.value.yAxisFontSize / 3})`,
1525
1537
  "text-anchor": W.value ? "start" : "end",
1526
1538
  "font-size": V.value.yAxisFontSize,
1527
1539
  fill: F.value.yAxis.dataLabels.color,
1528
1540
  "font-weight": F.value.yAxis.dataLabels.bold ? "bold" : "normal"
1529
- }, We(T(s)({
1541
+ }, Ge(T(s)({
1530
1542
  p: F.value.yAxis.dataLabels.prefix,
1531
1543
  v: e.value,
1532
1544
  s: F.value.yAxis.dataLabels.suffix,
1533
1545
  r: F.value.yAxis.dataLabels.roundingValue
1534
- })), 11, ct)) : m("", !0)]))), 128))], 512)) : m("", !0),
1546
+ })), 11, lt)) : m("", !0)]))), 128))], 512)) : m("", !0),
1535
1547
  F.value.xAxis.dataLabels.show && !F.value.xAxis.dataLabels.datetimeFormatter.enable ? (x(), h("g", {
1536
1548
  key: 2,
1537
1549
  ref_key: "timeLabelsEls",
1538
- ref: en
1539
- }, [(x(!0), h(f, null, C(Gn.value, (e, t) => (x(), h("g", null, [g("text", {
1550
+ ref: tn
1551
+ }, [(x(!0), h(d, null, C(Jn.value, (e, t) => (x(), h("g", null, [g("text", {
1540
1552
  class: "vue-data-ui-time-label",
1541
1553
  transform: `translate(${G.value.left + X.value * t + X.value / 2}, ${G.value.bottom + V.value.xAxisFontSize * 1.5}), rotate(${F.value.xAxis.dataLabels.rotation})`,
1542
1554
  "text-anchor": F.value.xAxis.dataLabels.rotation > 0 ? "start" : F.value.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1543
1555
  "font-size": V.value.xAxisFontSize,
1544
1556
  fill: F.value.xAxis.dataLabels.color,
1545
1557
  "font-weight": F.value.xAxis.dataLabels.bold ? "bold" : "normal"
1546
- }, We(e), 9, lt)]))), 256))], 512)) : m("", !0),
1558
+ }, Ge(e), 9, ut)]))), 256))], 512)) : m("", !0),
1547
1559
  F.value.xAxis.dataLabels.show && F.value.xAxis.dataLabels.datetimeFormatter.enable ? (x(), h("g", {
1548
1560
  key: 3,
1549
1561
  ref_key: "timeLabelsEls",
1550
- ref: en
1551
- }, [(x(!0), h(f, null, C(tr.value, (e, t) => (x(), h("g", null, [g("text", {
1562
+ ref: tn
1563
+ }, [(x(!0), h(d, null, C(ir.value, (e, t) => (x(), h("g", null, [g("text", {
1552
1564
  class: "vue-data-ui-time-label",
1553
1565
  transform: `translate(${G.value.left + X.value * t + X.value / 2}, ${G.value.bottom + V.value.xAxisFontSize * 1.5}), rotate(${F.value.xAxis.dataLabels.rotation})`,
1554
1566
  "text-anchor": F.value.xAxis.dataLabels.rotation > 0 ? "start" : F.value.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
@@ -1560,8 +1572,8 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1560
1572
  "stroke-linejoin": "round",
1561
1573
  "paint-order": "stroke fill",
1562
1574
  "font-weight": F.value.xAxis.dataLabels.bold ? "bold" : "normal"
1563
- }, We(e?.text ?? ""), 9, ut)]))), 256))], 512)) : m("", !0),
1564
- N.value.type === "candlestick" ? (x(), h(f, { key: 4 }, [g("g", null, [(x(!0), h(f, null, C(Q.value, (e, t) => (x(), h("g", null, [
1575
+ }, Ge(e?.text ?? ""), 9, dt)]))), 256))], 512)) : m("", !0),
1576
+ N.value.type === "candlestick" ? (x(), h(d, { key: 4 }, [g("g", null, [(x(!0), h(d, null, C(Q.value, (e, t) => (x(), h("g", null, [
1565
1577
  g("rect", {
1566
1578
  x: e.open.x - I.value.wick.strokeWidth / 2,
1567
1579
  y: e.high.y,
@@ -1571,21 +1583,21 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1571
1583
  stroke: "none",
1572
1584
  rx: I.value.wick.strokeWidth / 2,
1573
1585
  class: y({ "vue-data-ui-transition": O.value && !T(z) })
1574
- }, null, 10, dt),
1575
- I.value.wick.extremity.shape === "circle" ? (x(), h("g", ft, [g("circle", {
1586
+ }, null, 10, ft),
1587
+ I.value.wick.extremity.shape === "circle" ? (x(), h("g", pt, [g("circle", {
1576
1588
  cx: e.high.x,
1577
1589
  cy: e.high.y,
1578
1590
  r: I.value.wick.extremity.size === "auto" ? X.value / 20 : I.value.wick.extremity.size,
1579
1591
  fill: I.value.wick.extremity.color,
1580
1592
  class: y({ "vue-data-ui-transition": O.value && !T(z) })
1581
- }, null, 10, pt), g("circle", {
1593
+ }, null, 10, mt), g("circle", {
1582
1594
  cx: e.low.x,
1583
1595
  cy: e.low.y,
1584
1596
  r: I.value.wick.extremity.size === "auto" ? X.value / 20 : I.value.wick.extremity.size,
1585
1597
  fill: I.value.wick.extremity.color,
1586
1598
  class: y({ "vue-data-ui-transition": O.value && !T(z) })
1587
- }, null, 10, mt)])) : m("", !0),
1588
- I.value.wick.extremity.shape === "line" ? (x(), h("g", ht, [g("rect", {
1599
+ }, null, 10, ht)])) : m("", !0),
1600
+ I.value.wick.extremity.shape === "line" ? (x(), h("g", gt, [g("rect", {
1589
1601
  x: e.high.x - (I.value.wick.extremity.size === "auto" ? X.value * I.value.candle.widthRatio : I.value.wick.extremity.size) / 2,
1590
1602
  y: e.high.y - I.value.wick.strokeWidth / 2,
1591
1603
  width: Math.abs(e.high.x - (I.value.wick.extremity.size === "auto" ? X.value * L.value.layout.candle.widthRatio : L.value.layout.wick.extremity.size) / 2 - (e.high.x + (L.value.layout.wick.extremity.size === "auto" ? X.value * L.value.layout.candle.widthRatio : L.value.layout.wick.extremity.size) / 2)),
@@ -1594,7 +1606,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1594
1606
  fill: I.value.wick.extremity.color,
1595
1607
  stroke: "none",
1596
1608
  class: y({ "vue-data-ui-transition": O.value && !T(z) })
1597
- }, null, 10, gt), g("rect", {
1609
+ }, null, 10, _t), g("rect", {
1598
1610
  x: e.low.x - (I.value.wick.extremity.size === "auto" ? X.value * I.value.candle.widthRatio : I.value.wick.extremity.size) / 2,
1599
1611
  y: e.low.y - I.value.wick.strokeWidth / 2,
1600
1612
  width: Math.abs(e.low.x - (I.value.wick.extremity.size === "auto" ? X.value * L.value.layout.candle.widthRatio : L.value.layout.wick.extremity.size) / 2 - (e.low.x + (L.value.layout.wick.extremity.size === "auto" ? X.value * L.value.layout.candle.widthRatio : L.value.layout.wick.extremity.size) / 2)),
@@ -1603,8 +1615,8 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1603
1615
  stroke: "none",
1604
1616
  rx: I.value.wick.strokeWidth / 2,
1605
1617
  class: y({ "vue-data-ui-transition": O.value && !T(z) })
1606
- }, null, 10, _t)])) : m("", !0)
1607
- ]))), 256))]), g("g", null, [(x(!0), h(f, null, C(Q.value, (e, t) => (x(), h("rect", {
1618
+ }, null, 10, vt)])) : m("", !0)
1619
+ ]))), 256))]), g("g", null, [(x(!0), h(d, null, C(Q.value, (e, t) => (x(), h("rect", {
1608
1620
  x: e.open.x - X.value / 2 + X.value * (1 - P.value.widthRatio) / 2,
1609
1621
  y: e.isBullish ? e.close.y : e.open.y,
1610
1622
  height: Math.abs(e.close.y - e.open.y) <= 0 ? 1e-4 : Math.abs(e.close.y - e.open.y),
@@ -1613,7 +1625,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1613
1625
  rx: P.value.borderRadius,
1614
1626
  stroke: "none",
1615
1627
  class: y({ "vue-data-ui-transition": O.value && !T(z) })
1616
- }, null, 10, vt))), 256)), (x(!0), h(f, null, C(Q.value, (e, t) => (x(), h("rect", {
1628
+ }, null, 10, yt))), 256)), (x(!0), h(d, null, C(Q.value, (e, t) => (x(), h("rect", {
1617
1629
  x: e.open.x - X.value / 2 + X.value * (1 - P.value.widthRatio) / 2,
1618
1630
  y: e.isBullish ? e.close.y : e.open.y,
1619
1631
  height: Math.abs(e.close.y - e.open.y) <= 0 ? 1e-4 : Math.abs(e.close.y - e.open.y),
@@ -1625,48 +1637,48 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1625
1637
  "stroke-linecap": "round",
1626
1638
  "stroke-linejoin": "round",
1627
1639
  class: y({ "vue-data-ui-transition": O.value && !T(z) })
1628
- }, null, 10, yt))), 256))])], 64)) : m("", !0),
1629
- N.value.type === "ohlc" ? (x(!0), h(f, { key: 5 }, C(Q.value, (e, t) => (x(), h("g", { key: `ohlc_${e.absoluteIndex}` }, [g("path", {
1640
+ }, null, 10, bt))), 256))])], 64)) : m("", !0),
1641
+ N.value.type === "ohlc" ? (x(!0), h(d, { key: 5 }, C(Q.value, (e, t) => (x(), h("g", { key: `ohlc_${e.absoluteIndex}` }, [g("path", {
1630
1642
  d: `M ${e.high.x},${e.high.y} ${e.low.x},${e.low.y} M${e.open.x - Math.min(6, X.value / 3)},${e.open.y} ${e.open.x},${e.open.y} M${e.close.x},${e.close.y} ${e.close.x + Math.min(6, X.value / 3)},${e.close.y}`,
1631
1643
  stroke: e.isBullish ? P.value.colors.bullish : P.value.colors.bearish,
1632
1644
  "stroke-width": 1,
1633
- class: y({ "vue-data-ui-transition": T(cn) }),
1645
+ class: y({ "vue-data-ui-transition": T(ln) }),
1634
1646
  "stroke-linecap": "round",
1635
1647
  "stroke-linejoin": "round"
1636
- }, null, 10, bt)]))), 128)) : m("", !0),
1637
- g("g", null, [(x(!0), h(f, null, C(Q.value, (e, t) => (x(), h("rect", {
1648
+ }, null, 10, xt)]))), 128)) : m("", !0),
1649
+ g("g", null, [(x(!0), h(d, null, C(Q.value, (e, t) => (x(), h("rect", {
1638
1650
  x: G.value.left + t * X.value,
1639
1651
  y: G.value.top,
1640
1652
  height: G.value.height <= 0 ? 1e-4 : G.value.height,
1641
1653
  width: X.value <= 0 ? 1e-4 : X.value,
1642
- fill: A.value === t || rn.value === t ? T(a)(I.value.selector.color, I.value.selector.opacity) : "transparent",
1643
- onMouseover: () => or(t, e, "pointer"),
1644
- onMouseleave: () => ar(t, e),
1645
- onClick: () => ir(t, e)
1646
- }, null, 40, xt))), 256))])
1654
+ fill: A.value === t || an.value === t ? T(a)(I.value.selector.color, I.value.selector.opacity) : "transparent",
1655
+ onMouseover: () => lr(t, e, "pointer"),
1656
+ onMouseleave: () => cr(t, e),
1657
+ onClick: () => sr(t, e)
1658
+ }, null, 40, St))), 256))])
1647
1659
  ])) : m("", !0),
1648
- Mn.value ? (x(), h("rect", Le({ key: 2 }, jn.value, {
1660
+ Fn.value ? (x(), h("rect", Re({ key: 2 }, Pn.value, {
1649
1661
  "data-start": q.value.start,
1650
1662
  "data-end": q.value.end
1651
- }), null, 16, St)) : m("", !0),
1663
+ }), null, 16, Ct)) : m("", !0),
1652
1664
  w(e.$slots, "svg", { svg: {
1653
1665
  ...V.value,
1654
1666
  data: Q.value,
1655
1667
  drawingArea: G.value,
1656
- isPrintingImg: T(Sn) || T(Cn) || T(Ar),
1657
- isPrintingSvg: T(jr)
1668
+ isPrintingImg: T(Tn) || T(En) || T(Nr),
1669
+ isPrintingSvg: T(Pr)
1658
1670
  } }, void 0, !0)
1659
- ], 46, Qe)), e.$slots.hint ? (x(), h("div", Ct, [w(e.$slots, "hint", b(v({
1671
+ ], 46, $e)), e.$slots.hint ? (x(), h("div", wt, [w(e.$slots, "hint", b(v({
1660
1672
  hint: N.value.a11y.translations.keyboardNavigation,
1661
- isVisible: sn.value
1673
+ isVisible: cn.value
1662
1674
  })), void 0, !0)])) : m("", !0)]),
1663
- e.$slots.watermark ? (x(), h("div", wt, [w(e.$slots, "watermark", b(v({ isPrinting: T(Sn) || T(Cn) || T(Ar) || T(jr) })), void 0, !0)])) : m("", !0),
1664
- L.value.zoom.show && K.value > 6 && Bt.value && dr.value ? (x(), Ne(Oe, {
1675
+ e.$slots.watermark ? (x(), h("div", Tt, [w(e.$slots, "watermark", b(v({ isPrinting: T(Tn) || T(En) || T(Nr) || T(Pr) })), void 0, !0)])) : m("", !0),
1676
+ L.value.zoom.show && K.value > 6 && Vt.value && mr.value ? (x(), p(Ae, {
1665
1677
  key: 6,
1666
1678
  ref_key: "chartSlicer",
1667
- ref: qt,
1679
+ ref: Jt,
1668
1680
  "data-dom-to-png-ignore-layout": "",
1669
- allMinimaps: Hn.value,
1681
+ allMinimaps: Gn.value,
1670
1682
  background: L.value.zoom.color,
1671
1683
  borderColor: L.value.backgroundColor,
1672
1684
  customFormat: L.value.zoom.customFormat,
@@ -1679,9 +1691,9 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1679
1691
  fontSize: L.value.zoom.fontSize,
1680
1692
  immediate: !L.value.zoom.preview.enable,
1681
1693
  inputColor: L.value.zoom.color,
1682
- isPreview: Mn.value,
1683
- labelLeft: nr.value.start || "",
1684
- labelRight: nr.value.end || "",
1694
+ isPreview: Fn.value,
1695
+ labelLeft: ar.value.start || "",
1696
+ labelRight: ar.value.end || "",
1685
1697
  max: K.value,
1686
1698
  min: 0,
1687
1699
  minimap: L.value.zoom.minimap.show ? T(B).map((e) => e[2]) : [],
@@ -1693,7 +1705,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1693
1705
  minimapSelectedColorOpacity: L.value.zoom.minimap.selectedColorOpacity,
1694
1706
  minimapSelectedIndex: A.value,
1695
1707
  minimapSelectionRadius: 1,
1696
- preciseLabels: $n.value,
1708
+ preciseLabels: nr.value,
1697
1709
  refreshEndPoint: L.value.zoom.endIndex === null ? K.value : L.value.zoom.endIndex + 1,
1698
1710
  refreshStartPoint: L.value.zoom.startIndex === null ? 0 : L.value.zoom.startIndex,
1699
1711
  selectColor: L.value.zoom.highlightColor,
@@ -1701,7 +1713,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1701
1713
  smoothMinimap: !1,
1702
1714
  start: q.value.start,
1703
1715
  textColor: L.value.color,
1704
- timeLabels: Kn.value,
1716
+ timeLabels: Yn.value,
1705
1717
  usePreciseLabels: F.value.xAxis.dataLabels.datetimeFormatter.enable && !L.value.zoom.useDefaultFormat,
1706
1718
  useResetSlot: L.value.zoom.useResetSlot,
1707
1719
  valueEnd: q.value.end,
@@ -1719,43 +1731,43 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1719
1731
  handleBorderColor: L.value.zoom.minimap.handleBorderColor,
1720
1732
  handleFill: L.value.zoom.minimap.handleFill,
1721
1733
  handleWidth: L.value.zoom.minimap.handleWidth,
1722
- "onUpdate:end": Ir,
1723
- "onUpdate:start": Fr,
1724
- onTrapMouse: Pr,
1725
- onReset: lr,
1726
- onFutureEnd: t[0] ||= (e) => Nn("end", e),
1727
- onFutureStart: t[1] ||= (e) => Nn("start", e)
1734
+ "onUpdate:end": zr,
1735
+ "onUpdate:start": Rr,
1736
+ onTrapMouse: Lr,
1737
+ onReset: fr,
1738
+ onFutureEnd: t[0] ||= (e) => In("end", e),
1739
+ onFutureStart: t[1] ||= (e) => In("start", e)
1728
1740
  }, {
1729
1741
  "reset-action": E(({ reset: t }) => [w(e.$slots, "reset-action", b(v({ reset: t })), void 0, !0)]),
1730
- slotMap: E(({ height: e, unitW: t }) => [(x(!0), h(f, null, C(Vn.value({
1742
+ slotMap: E(({ height: e, unitW: t }) => [(x(!0), h(d, null, C(Wn.value({
1731
1743
  minimapH: e,
1732
1744
  unitW: t
1733
1745
  }), (e, n) => (x(), h("g", null, [g("path", {
1734
1746
  d: `M ${e.high.x},${e.high.y} ${e.low.x},${e.low.y}`,
1735
1747
  stroke: e.isBullish ? P.value.colors.bullish : P.value.colors.bearish,
1736
1748
  "stroke-width": 1,
1737
- style: ze({ opacity: n >= J.value.start && n <= J.value.end ? 1 : .6 })
1738
- }, null, 12, Tt), g("path", {
1749
+ style: Be({ opacity: n >= J.value.start && n <= J.value.end ? 1 : .6 })
1750
+ }, null, 12, Et), g("path", {
1739
1751
  d: `M ${e.open.x},${e.open.y} ${e.close.x},${e.close.y}`,
1740
1752
  stroke: e.isBullish ? P.value.colors.bullish : P.value.colors.bearish,
1741
1753
  "stroke-width": Math.min(6, t / 1.5),
1742
- style: ze({ opacity: n >= J.value.start && n <= J.value.end ? 1 : .6 })
1743
- }, null, 12, Et)]))), 256))]),
1754
+ style: Be({ opacity: n >= J.value.start && n <= J.value.end ? 1 : .6 })
1755
+ }, null, 12, Dt)]))), 256))]),
1744
1756
  _: 3
1745
1757
  }, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.start.textColor.timeLabels.usePreciseLabels.useResetSlot.valueEnd.valueStart.verticalHandles.minScale.maxScale.maxWidth.minimapLeftInsetRatio.minimapRightInsetRatio.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : m("", !0),
1746
1758
  g("div", {
1747
1759
  ref_key: "chartLegend",
1748
- ref: Kt
1760
+ ref: qt
1749
1761
  }, [w(e.$slots, "legend", { legend: Q.value }, void 0, !0)], 512),
1750
1762
  e.$slots.source ? (x(), h("div", {
1751
1763
  key: 7,
1752
1764
  ref_key: "source",
1753
- ref: Jt,
1765
+ ref: Yt,
1754
1766
  dir: "auto"
1755
1767
  }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
1756
- Ie(T(kt), {
1768
+ Le(T(At), {
1757
1769
  teleportTo: L.value.tooltip.teleportTo,
1758
- show: U.value.showTooltip && Ht.value,
1770
+ show: U.value.showTooltip && Ut.value,
1759
1771
  backgroundColor: L.value.tooltip.backgroundColor,
1760
1772
  color: L.value.tooltip.color,
1761
1773
  borderRadius: L.value.tooltip.borderRadius,
@@ -1767,19 +1779,19 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1767
1779
  offsetX: L.value.tooltip.offsetX,
1768
1780
  offsetY: L.value.tooltip.offsetY,
1769
1781
  parent: j.value,
1770
- content: Ut.value,
1771
- isFullscreen: _r.value,
1782
+ content: Wt.value,
1783
+ isFullscreen: br.value,
1772
1784
  isCustom: L.value.tooltip.customFormat && typeof L.value.tooltip.customFormat == "function",
1773
1785
  smooth: L.value.tooltip.smooth,
1774
1786
  backdropFilter: L.value.tooltip.backdropFilter,
1775
1787
  smoothForce: L.value.tooltip.smoothForce,
1776
1788
  smoothSnapThreshold: L.value.tooltip.smoothSnapThreshold,
1777
- isA11yMode: on.value === "keyboard",
1778
- a11yPosition: an.value
1789
+ isA11yMode: sn.value === "keyboard",
1790
+ a11yPosition: on.value
1779
1791
  }, {
1780
- "tooltip-before": E(() => [w(e.$slots, "tooltip-before", b(v({ ...rr.value })), void 0, !0)]),
1781
- tooltip: E(() => [w(e.$slots, "tooltip", b(v({ ...rr.value })), void 0, !0)]),
1782
- "tooltip-after": E(() => [w(e.$slots, "tooltip-after", b(v({ ...rr.value })), void 0, !0)]),
1792
+ "tooltip-before": E(() => [w(e.$slots, "tooltip-before", b(v({ ...or.value })), void 0, !0)]),
1793
+ tooltip: E(() => [w(e.$slots, "tooltip", b(v({ ...or.value })), void 0, !0)]),
1794
+ "tooltip-after": E(() => [w(e.$slots, "tooltip-after", b(v({ ...or.value })), void 0, !0)]),
1783
1795
  _: 3
1784
1796
  }, 8, [
1785
1797
  "teleportTo",
@@ -1805,24 +1817,24 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1805
1817
  "isA11yMode",
1806
1818
  "a11yPosition"
1807
1819
  ]),
1808
- Bt.value && R.value.buttons.table ? (x(), Ne(He(Er.value.component), Le({ key: 8 }, Er.value.props, {
1820
+ Vt.value && R.value.buttons.table ? (x(), p(Ue(kr.value.component), Re({ key: 8 }, kr.value.props, {
1809
1821
  ref_key: "tableUnit",
1810
- ref: tn,
1811
- onClose: Dr
1812
- }), Pe({
1813
- content: E(() => [(x(), Ne(T(jt), {
1814
- key: `table_${Zt.value}`,
1815
- colNames: gr.value.colNames,
1816
- head: gr.value.head,
1817
- body: gr.value.body,
1818
- config: gr.value.config,
1819
- title: N.value.table.useDialog ? "" : Er.value.title,
1822
+ ref: nn,
1823
+ onClose: Ar
1824
+ }), Fe({
1825
+ content: E(() => [(x(), p(T(Mt), {
1826
+ key: `table_${Qt.value}`,
1827
+ colNames: yr.value.colNames,
1828
+ head: yr.value.head,
1829
+ body: yr.value.body,
1830
+ config: yr.value.config,
1831
+ title: N.value.table.useDialog ? "" : kr.value.title,
1820
1832
  withCloseButton: !N.value.table.useDialog,
1821
- isCursorPointer: ln.value,
1822
- onClose: Dr
1833
+ isCursorPointer: un.value,
1834
+ onClose: Ar
1823
1835
  }, {
1824
- th: E(({ th: e }) => [Fe(We(e), 1)]),
1825
- td: E(({ td: e }) => [g("div", { innerHTML: e }, null, 8, Dt)]),
1836
+ th: E(({ th: e }) => [Ie(Ge(e), 1)]),
1837
+ td: E(({ td: e }) => [g("div", { innerHTML: e }, null, 8, Ot)]),
1826
1838
  _: 1
1827
1839
  }, 8, [
1828
1840
  "colNames",
@@ -1836,24 +1848,24 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
1836
1848
  _: 2
1837
1849
  }, [N.value.table.useDialog ? {
1838
1850
  name: "title",
1839
- fn: E(() => [Fe(We(Er.value.title), 1)]),
1851
+ fn: E(() => [Ie(Ge(kr.value.title), 1)]),
1840
1852
  key: "0"
1841
1853
  } : void 0, N.value.table.useDialog ? {
1842
1854
  name: "actions",
1843
1855
  fn: E(() => [g("button", {
1844
1856
  tabindex: "0",
1845
1857
  class: "vue-ui-user-options-button",
1846
- onClick: t[2] ||= (e) => hr(R.value.callbacks.csv),
1847
- style: ze({ cursor: ln.value ? "pointer" : "default" })
1848
- }, [Ie(T(Ot), {
1858
+ onClick: t[2] ||= (e) => vr(R.value.callbacks.csv),
1859
+ style: Be({ cursor: un.value ? "pointer" : "default" })
1860
+ }, [Le(T(kt), {
1849
1861
  name: "fileCsv",
1850
- stroke: Er.value.props.color
1862
+ stroke: kr.value.props.color
1851
1863
  }, null, 8, ["stroke"])], 4)]),
1852
1864
  key: "1"
1853
1865
  } : void 0]), 1040)) : m("", !0),
1854
- w(e.$slots, "skeleton", {}, () => [T(z) ? (x(), Ne(ge, { key: 0 })) : m("", !0)], !0)
1855
- ], 46, Ye));
1866
+ w(e.$slots, "skeleton", {}, () => [T(z) ? (x(), p(ve, { key: 0 })) : m("", !0)], !0)
1867
+ ], 46, Xe));
1856
1868
  }
1857
- }, [["__scopeId", "data-v-2156bb2a"]]);
1869
+ }, [["__scopeId", "data-v-a5b975c7"]]);
1858
1870
  //#endregion
1859
- export { Je as n, Ot as t };
1871
+ export { Ye as n, kt as t };