vue-data-ui 3.25.2 → 3.25.4

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 (194) hide show
  1. package/dist/{Arrow-CL6s6WpN.js → Arrow-DLn-pcrh.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Cwj9aGdF.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
  3. package/dist/{BaseIcon-Oj70ytWI.js → BaseIcon-t83PDe9k.js} +1 -1
  4. package/dist/{BaseLegendToggle-Cvuc-Mrr.js → BaseLegendToggle-__JnV08B.js} +1 -1
  5. package/dist/{BaseZoomControls-xstFfEqA.js → BaseZoomControls-Xo16vFa4.js} +2 -2
  6. package/dist/{ColorPicker-sZV-tVqO.js → ColorPicker-ZJrR3Olp.js} +2 -2
  7. package/dist/{DataTable-DcDMoMmQ.js → DataTable-COIO9gi4.js} +2 -2
  8. package/dist/{HillActions-BGA3Up35.js → HillActions-Cl-dNBZR.js} +1 -1
  9. package/dist/{Legend-BQxAKh7g.js → Legend-X4kF4PvW.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-1xl1Xynb.js → NonSvgPenAndPaper-DS84BAOx.js} +12 -12
  11. package/dist/{PackageVersion-DWq6mo_q.js → PackageVersion-5SWftabm.js} +1 -1
  12. package/dist/{PenAndPaper-Co2OSRzH.js → PenAndPaper-B_SdRSKH.js} +12 -12
  13. package/dist/{Shape-26P9pTZH.js → Shape-CIqU-p2F.js} +1 -1
  14. package/dist/{SlicerPreview-CPhQI1vX.js → SlicerPreview-GvsdvE-h.js} +27 -27
  15. package/dist/{SparkTooltip-CQDq9mwg.js → SparkTooltip-C-Y-mDrc.js} +1 -1
  16. package/dist/{Title-BLrnZl5j.js → Title-CPHi-evi.js} +1 -1
  17. package/dist/{Tooltip-CmmM0DtW.js → Tooltip-hhrkQ3Lk.js} +1 -1
  18. package/dist/{UserOptions-pq95M7ss.js → UserOptions-f3Q0nqrj.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-label.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-C2hxsVHU.js → dom-to-png-C6cQJ5Hq.js} +1 -1
  91. package/dist/{exposedLib-CHbGXzAI.js → exposedLib-CG3aXJ-v.js} +9 -9
  92. package/dist/{img-EYBQVkRw.js → img-DhGApYG0.js} +1 -1
  93. package/dist/{labelUtils-Ba5vMXV8.js → labelUtils-BXX2NzRe.js} +1 -1
  94. package/dist/{lib-BPg41jWd.js → lib-Dql7cqyA.js} +202 -168
  95. package/dist/{package-ciWqdXC5.js → package-DmsdiyeS.js} +1 -1
  96. package/dist/{pdf-BoZtb_Ft.js → pdf-Di5yPEw9.js} +1 -1
  97. package/dist/{render-common-BEWzwi32.js → render-common-zoPh9a78.js} +2 -2
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/{useNestedProp-fNUUtYXm.js → useNestedProp-Chvyfpl-.js} +1 -1
  103. package/dist/{usePrinter-CsDAx75S.js → usePrinter-DISD7q5m.js} +2 -2
  104. package/dist/utils.js +2 -2
  105. package/dist/{vue-data-ui-BHRh3z_-.js → vue-data-ui-DTj71yB7.js} +70 -70
  106. package/dist/vue-data-ui.js +73 -73
  107. package/dist/vue-ui-3d-bar-CH8SpxS2.js +1829 -0
  108. package/dist/{vue-ui-accordion-BGxpEtfk.js → vue-ui-accordion-D4zsdacF.js} +3 -3
  109. package/dist/{vue-ui-age-pyramid-CYHqR2NK.js → vue-ui-age-pyramid-B9MUVi75.js} +214 -214
  110. package/dist/{vue-ui-annotator-Q5zC15Pp.js → vue-ui-annotator-CmlcWPIm.js} +6 -6
  111. package/dist/vue-ui-bullet-n8KNnDwh.js +700 -0
  112. package/dist/{vue-ui-bump-DkntyN9G.js → vue-ui-bump-BkOtQNWe.js} +54 -54
  113. package/dist/{vue-ui-candlestick-Cz0s9M9a.js → vue-ui-candlestick-Bxlvqk49.js} +450 -446
  114. package/dist/vue-ui-carousel-table-CRgbs7jR.js +467 -0
  115. package/dist/{vue-ui-chestnut-iwScoeK0.js → vue-ui-chestnut-ByDKbkG9.js} +273 -273
  116. package/dist/{vue-ui-chord-Bl_91Sut.js → vue-ui-chord-DQRBgVOx.js} +31 -31
  117. package/dist/{vue-ui-circle-pack-Dm9BU5Kl.js → vue-ui-circle-pack-CBBc0HOe.js} +28 -28
  118. package/dist/{vue-ui-cursor-D_bkWVNS.js → vue-ui-cursor-BHyXRadA.js} +3 -3
  119. package/dist/{vue-ui-dag-CF4YxXqU.js → vue-ui-dag-CyVqaLbF.js} +75 -75
  120. package/dist/{vue-ui-dashboard-Bwhlqoe4.js → vue-ui-dashboard-7I-7wvCP.js} +69 -69
  121. package/dist/{vue-ui-digits-CXM0xSi6.js → vue-ui-digits-BBL8uERO.js} +3 -3
  122. package/dist/{vue-ui-donut-DEn7HF5c.js → vue-ui-donut-DcgUuefk.js} +101 -101
  123. package/dist/vue-ui-donut-DfiocufT.js +2413 -0
  124. package/dist/{vue-ui-donut-evolution-Z7fpl7Zf.js → vue-ui-donut-evolution-BoqO8By2.js} +374 -374
  125. package/dist/{vue-ui-dumbbell-BEFPs0t1.js → vue-ui-dumbbell-7M_oUQdi.js} +137 -137
  126. package/dist/{vue-ui-flow-DAId7lkh.js → vue-ui-flow-CoylrfnO.js} +40 -40
  127. package/dist/vue-ui-funnel-DaBYHWIC.js +747 -0
  128. package/dist/{vue-ui-galaxy-So95hmON.js → vue-ui-galaxy-BIebStQ3.js} +245 -245
  129. package/dist/vue-ui-gauge-CwdTmiRP.js +932 -0
  130. package/dist/{vue-ui-geo-MTJoJ3_A.js → vue-ui-geo-jR4P4pbt.js} +36 -36
  131. package/dist/{vue-ui-gizmo-D9tbjzYe.js → vue-ui-gizmo-D6W86s9o.js} +3 -3
  132. package/dist/{vue-ui-heatmap-DRdQFkV_.js → vue-ui-heatmap-DXYlGwqR.js} +180 -180
  133. package/dist/{vue-ui-hill-CdtIsBTO.js → vue-ui-hill-fFq7pm-g.js} +9 -9
  134. package/dist/vue-ui-history-plot-CgIELoD2.js +1696 -0
  135. package/dist/vue-ui-horizontal-bar-D3Sft4kp.js +1709 -0
  136. package/dist/{vue-ui-kpi-DHDy4LcL.js → vue-ui-kpi-fzLsKlyE.js} +3 -3
  137. package/dist/{vue-ui-label-Bm5iMSie.js → vue-ui-label-BSgLalWD.js} +64 -64
  138. package/dist/{vue-ui-mini-loader-EK0wtL10.js → vue-ui-mini-loader-BL2odRfu.js} +2 -2
  139. package/dist/vue-ui-molecule-DeHWkkhy.js +929 -0
  140. package/dist/{vue-ui-mood-radar-CTiFn6bj.js → vue-ui-mood-radar-bvGx6XgG.js} +201 -201
  141. package/dist/{vue-ui-nested-donuts-DKzeriUP.js → vue-ui-nested-donuts-CeAV2xPk.js} +124 -124
  142. package/dist/{vue-ui-onion-C3ZiE1dn.js → vue-ui-onion-B7oFulsQ.js} +119 -119
  143. package/dist/{vue-ui-parallel-coordinate-plot-D1xAQ_qP.js → vue-ui-parallel-coordinate-plot-B_QJ4N9o.js} +376 -376
  144. package/dist/{vue-ui-quadrant-B82S1-8b.js → vue-ui-quadrant-DrKnz37q.js} +46 -46
  145. package/dist/{vue-ui-quick-chart-BeIZ2KVy.js → vue-ui-quick-chart-BFscCR59.js} +185 -185
  146. package/dist/{vue-ui-radar-Bh7LKVWz.js → vue-ui-radar-Bzx69q8f.js} +311 -311
  147. package/dist/{vue-ui-rating-AbGGnd-1.js → vue-ui-rating-CimC9FQ9.js} +2 -2
  148. package/dist/vue-ui-relation-circle-DIQYyDGb.js +903 -0
  149. package/dist/{vue-ui-ridgeline-BmmcBvtt.js → vue-ui-ridgeline-CPEnM45x.js} +199 -199
  150. package/dist/{vue-ui-rings-Bx3lTcrM.js → vue-ui-rings-qPL5Iwji.js} +327 -327
  151. package/dist/vue-ui-scatter-BB0ClTsU.js +2403 -0
  152. package/dist/{vue-ui-skeleton-GSfVAGm5.js → vue-ui-skeleton-zmbcOVEf.js} +59 -59
  153. package/dist/{vue-ui-smiley-CVQ85iFx.js → vue-ui-smiley-DzPkCMN-.js} +2 -2
  154. package/dist/{vue-ui-spark-trend-BVS__UWD.js → vue-ui-spark-trend-Ciq7-k_q.js} +8 -8
  155. package/dist/{vue-ui-sparkbar-C-xEaUvd.js → vue-ui-sparkbar-D1M7-naP.js} +142 -142
  156. package/dist/{vue-ui-sparkgauge-_XSE8M-e.js → vue-ui-sparkgauge-rsqaeR_n.js} +33 -33
  157. package/dist/{vue-ui-sparkhistogram-DUM6ygCM.js → vue-ui-sparkhistogram-C4WXt2Ni.js} +26 -26
  158. package/dist/{vue-ui-sparkline-Dg9fXwZG.js → vue-ui-sparkline-Dv7XrEzO.js} +253 -253
  159. package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +738 -0
  160. package/dist/vue-ui-stackbar-C_hMnOLb.js +2353 -0
  161. package/dist/vue-ui-stackline-BHGi63lD.js +2467 -0
  162. package/dist/vue-ui-strip-plot-Cygpn-l8.js +1738 -0
  163. package/dist/vue-ui-table-BQna1wL6.js +1352 -0
  164. package/dist/{vue-ui-table-heatmap-DgFFlNnz.js → vue-ui-table-heatmap-Dv_ZKKm3.js} +9 -9
  165. package/dist/{vue-ui-table-sparkline-BsVOuCvB.js → vue-ui-table-sparkline-BCuimtk6.js} +13 -13
  166. package/dist/{vue-ui-thermometer-DOECuI2_.js → vue-ui-thermometer-DytlLJ32.js} +28 -28
  167. package/dist/{vue-ui-timer-B2Cd2bc6.js → vue-ui-timer-CvHP4HoW.js} +5 -5
  168. package/dist/{vue-ui-tiremarks-CrnFAVS8.js → vue-ui-tiremarks-BvjdZwgh.js} +6 -6
  169. package/dist/{vue-ui-treemap-DHZ6BvAc.js → vue-ui-treemap-C5OpqzSc.js} +39 -39
  170. package/dist/vue-ui-waffle-B7T_Zzan.js +1619 -0
  171. package/dist/{vue-ui-wheel-7U-O7-xN.js → vue-ui-wheel-D1B0k7IW.js} +23 -23
  172. package/dist/{vue-ui-word-cloud-CVsvKOiI.js → vue-ui-word-cloud-C4pX6jop.js} +27 -27
  173. package/dist/{vue-ui-world-B9VGieBA.js → vue-ui-world-D0_2upjg.js} +116 -116
  174. package/dist/{vue-ui-xy-chRPjTTj.js → vue-ui-xy-Ck41KYqF.js} +1493 -1489
  175. package/dist/{vue-ui-xy-CNy0avUa.js → vue-ui-xy-D_5FfaH-.js} +423 -422
  176. package/dist/{vue-ui-xy-canvas-B9kzEFnY.js → vue-ui-xy-canvas-B_8Mu19r.js} +77 -77
  177. package/package.json +1 -1
  178. package/dist/vue-ui-3d-bar-DUbSp0so.js +0 -1829
  179. package/dist/vue-ui-bullet-DOF7UCo_.js +0 -700
  180. package/dist/vue-ui-carousel-table-f3ddW3LA.js +0 -467
  181. package/dist/vue-ui-donut-BfehCl28.js +0 -2413
  182. package/dist/vue-ui-funnel-D6Hvhb_C.js +0 -747
  183. package/dist/vue-ui-gauge-Cs96ssGw.js +0 -932
  184. package/dist/vue-ui-history-plot-BaVZe6Fy.js +0 -1696
  185. package/dist/vue-ui-horizontal-bar-DETeVTOn.js +0 -1709
  186. package/dist/vue-ui-molecule-Dt31r51l.js +0 -929
  187. package/dist/vue-ui-relation-circle-4ZeUHCx_.js +0 -903
  188. package/dist/vue-ui-scatter-Vw4JbCjp.js +0 -2403
  189. package/dist/vue-ui-sparkstackbar-8-iyImVK.js +0 -738
  190. package/dist/vue-ui-stackbar-zl-GieBs.js +0 -2349
  191. package/dist/vue-ui-stackline-HcXMSuwS.js +0 -2463
  192. package/dist/vue-ui-strip-plot-B_q_YQiP.js +0 -1738
  193. package/dist/vue-ui-table-CftOhYTO.js +0 -1352
  194. package/dist/vue-ui-waffle-Ca4QSb5z.js +0 -1619
@@ -1,51 +1,51 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, D as n, Ht as r, Nt as i, St as a, Ut as o, X as s, Xt as c, Yt as l, _ as ee, b as u, c as te, ft as ne, lt as re, nt as d, q as ie, t as ae, yt as oe } from "./lib-BPg41jWd.js";
3
- import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
4
- import { n as le, r as ue, t as de } from "./useTimeLabels-d2f-W1L4.js";
5
- import { t as fe } from "./useConfig-CyCVHo81.js";
6
- import { t as pe } from "./usePrinter-CsDAx75S.js";
7
- import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
8
- import { t as ge } from "./useNestedProp-fNUUtYXm.js";
9
- import { t as _e } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as ve } from "./useChartExport-iwOqiIWX.js";
11
- import { t as ye } from "./useTransitions-g_zBREk2.js";
12
- import { t as be } from "./useTimeLabelCollider-AEcY4Ioe.js";
13
- import { t as xe } from "./img-EYBQVkRw.js";
14
- import { n as Se } from "./Title-BLrnZl5j.js";
15
- import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
- import { l as we, t as Te } from "./useResponsive-ZtArZtUf.js";
17
- import { t as Ee } from "./DefGrad-DVBqDjhO.js";
18
- import { t as De } from "./SlicerPreview-CPhQI1vX.js";
19
- import { t as Oe } from "./A11yDataTable-DdRsVULz.js";
20
- import { t as ke } from "./useUserOptionState-DK-_1ddE.js";
21
- import { t as Ae } from "./useChartAccessibility-DYqac8yF.js";
22
- import { t as je } from "./vue_ui_candlestick-J8jmJvxP.js";
23
- import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as Me, createTextVNode as Ne, createVNode as Pe, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as Fe, nextTick as Ie, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as Le, onMounted as Re, openBlock as C, ref as w, renderList as T, renderSlot as E, resolveDynamicComponent as ze, shallowRef as Be, toDisplayString as Ve, toRefs as He, unref as D, watch as Ue, watchEffect as We, withCtx as O } 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, 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-CyCVHo81.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-GvsdvE-h.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 m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as Ne, createTextVNode as Pe, createVNode as Fe, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as Ie, nextTick as Le, normalizeClass as b, normalizeProps as x, normalizeStyle as Re, onBeforeUnmount as ze, onMounted as Be, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as E, toRefs as Ue, unref as D, watch as We, watchEffect as Ge, withCtx as O } from "vue";
24
24
  //#region src/components/vue-ui-candlestick.vue
25
- var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je = { style: { position: "relative" } }, Ye = [
25
+ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye = { style: { position: "relative" } }, Xe = [
26
26
  "xmlns",
27
27
  "aria-describedby",
28
28
  "viewBox"
29
- ], Xe = [
29
+ ], Ze = [
30
30
  "x",
31
31
  "y",
32
32
  "width",
33
33
  "height"
34
- ], Ze = { key: 1 }, Qe = { key: 0 }, $e = [
34
+ ], Qe = { key: 1 }, $e = { key: 0 }, et = [
35
35
  "x1",
36
36
  "x2",
37
37
  "y1",
38
38
  "y2",
39
39
  "stroke",
40
40
  "stroke-width"
41
- ], et = [
41
+ ], tt = [
42
42
  "x1",
43
43
  "x2",
44
44
  "y1",
45
45
  "y2",
46
46
  "stroke",
47
47
  "stroke-width"
48
- ], tt = [
48
+ ], nt = [
49
49
  "x1",
50
50
  "x2",
51
51
  "y1",
@@ -53,7 +53,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
53
53
  "stroke",
54
54
  "stroke-width",
55
55
  "stroke-dasharray"
56
- ], nt = [
56
+ ], rt = [
57
57
  "x1",
58
58
  "x2",
59
59
  "y1",
@@ -61,78 +61,78 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
61
61
  "stroke",
62
62
  "stroke-width",
63
63
  "stroke-dasharray"
64
- ], rt = [
64
+ ], it = [
65
65
  "x1",
66
66
  "x2",
67
67
  "y1",
68
68
  "y2",
69
69
  "stroke",
70
70
  "stroke-width"
71
- ], it = [
71
+ ], at = [
72
72
  "x1",
73
73
  "x2",
74
74
  "y1",
75
75
  "y2",
76
76
  "stroke",
77
77
  "stroke-width"
78
- ], at = [
78
+ ], ot = [
79
79
  "transform",
80
80
  "text-anchor",
81
81
  "font-size",
82
82
  "fill",
83
83
  "font-weight"
84
- ], ot = [
84
+ ], st = [
85
85
  "transform",
86
86
  "text-anchor",
87
87
  "font-size",
88
88
  "fill",
89
89
  "font-weight"
90
- ], st = [
90
+ ], ct = [
91
91
  "transform",
92
92
  "text-anchor",
93
93
  "font-size",
94
94
  "fill",
95
95
  "stroke",
96
96
  "font-weight"
97
- ], ct = [
97
+ ], lt = [
98
98
  "x",
99
99
  "y",
100
100
  "width",
101
101
  "height",
102
102
  "fill",
103
103
  "rx"
104
- ], lt = { key: 0 }, ut = [
104
+ ], ut = { key: 0 }, dt = [
105
105
  "cx",
106
106
  "cy",
107
107
  "r",
108
108
  "fill"
109
- ], dt = [
109
+ ], ft = [
110
110
  "cx",
111
111
  "cy",
112
112
  "r",
113
113
  "fill"
114
- ], ft = { key: 1 }, pt = [
114
+ ], pt = { key: 1 }, mt = [
115
115
  "x",
116
116
  "y",
117
117
  "width",
118
118
  "height",
119
119
  "rx",
120
120
  "fill"
121
- ], mt = [
121
+ ], ht = [
122
122
  "x",
123
123
  "y",
124
124
  "width",
125
125
  "height",
126
126
  "fill",
127
127
  "rx"
128
- ], ht = [
128
+ ], gt = [
129
129
  "x",
130
130
  "y",
131
131
  "height",
132
132
  "width",
133
133
  "fill",
134
134
  "rx"
135
- ], gt = [
135
+ ], _t = [
136
136
  "x",
137
137
  "y",
138
138
  "height",
@@ -141,7 +141,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
141
141
  "rx",
142
142
  "stroke",
143
143
  "stroke-width"
144
- ], _t = ["d", "stroke"], vt = [
144
+ ], vt = ["d", "stroke"], yt = [
145
145
  "x",
146
146
  "y",
147
147
  "height",
@@ -150,7 +150,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
150
150
  "onMouseover",
151
151
  "onMouseleave",
152
152
  "onClick"
153
- ], yt = ["data-start", "data-end"], bt = {
153
+ ], bt = ["data-start", "data-end"], xt = {
154
154
  key: 0,
155
155
  style: {
156
156
  position: "absolute",
@@ -160,14 +160,14 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
160
160
  },
161
161
  "data-dom-to-png-ignore": "",
162
162
  "aria-hidden": "true"
163
- }, xt = {
163
+ }, St = {
164
164
  key: 5,
165
165
  class: "vue-data-ui-watermark"
166
- }, St = ["d", "stroke"], Ct = [
166
+ }, Ct = ["d", "stroke"], wt = [
167
167
  "d",
168
168
  "stroke",
169
169
  "stroke-width"
170
- ], wt = ["innerHTML"], Tt = /*#__PURE__*/ Ce({
170
+ ], Tt = ["innerHTML"], Et = /*#__PURE__*/ we({
171
171
  __name: "vue-ui-candlestick",
172
172
  props: {
173
173
  config: {
@@ -188,16 +188,16 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
188
188
  }
189
189
  },
190
190
  emits: ["selectX", "copyAlt"],
191
- setup(e, { expose: Ce, emit: Ge }) {
192
- let Tt = v(() => import("./BaseIcon-Oj70ytWI.js").then((e) => e.n)), Et = v(() => import("./Tooltip-CmmM0DtW.js")), Dt = v(() => import("./vue-ui-accordion-BGxpEtfk.js").then((e) => e.n)), Ot = v(() => import("./DataTable-DcDMoMmQ.js")), kt = v(() => import("./PenAndPaper-Co2OSRzH.js").then((e) => e.t)), At = v(() => import("./UserOptions-pq95M7ss.js").then((e) => e.n)), jt = v(() => import("./PackageVersion-DWq6mo_q.js").then((e) => e.t)), Mt = v(() => import("./BaseDraggableDialog-Cwj9aGdF.js").then((e) => e.n)), { vue_ui_candlestick: Nt } = fe(), { isThemeValid: Pt, warnInvalidTheme: Ft } = _e(), k = e, It = Ge, Lt = p(() => !!k.dataset && k.dataset.length), A = w(!1), Rt = w(null), j = w(ie()), zt = w(!1), Bt = w(""), M = w(void 0), Vt = w(0), N = w(null), Ht = w(null), Ut = w(null), Wt = w(null), Gt = w(null), Kt = w(null), qt = w(0), Jt = w(0), Yt = w(0), Xt = w(null), Zt = w(null), Qt = w(null), $t = w(null), en = w(null), P = w(null), tn = w({
191
+ setup(e, { expose: we, emit: Ke }) {
192
+ let Et = v(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), Dt = v(() => import("./Tooltip-hhrkQ3Lk.js")), Ot = v(() => import("./vue-ui-accordion-D4zsdacF.js").then((e) => e.n)), kt = v(() => import("./DataTable-COIO9gi4.js")), At = v(() => import("./PenAndPaper-B_SdRSKH.js").then((e) => e.t)), jt = v(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), Mt = v(() => import("./PackageVersion-5SWftabm.js").then((e) => e.t)), Nt = v(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_candlestick: Pt } = pe(), { isThemeValid: Ft, warnInvalidTheme: It } = ve(), k = e, Lt = Ke, Rt = p(() => !!k.dataset && k.dataset.length), A = C(!1), zt = C(null), j = C(oe()), Bt = C(!1), Vt = C(""), M = C(void 0), Ht = C(0), N = C(null), Ut = C(null), Wt = C(null), Gt = C(null), Kt = C(null), qt = C(null), Jt = C(0), Yt = C(0), Xt = C(0), Zt = C(null), Qt = C(null), $t = C(null), en = C(null), tn = C(null), P = C(null), nn = C({
193
193
  x: 0,
194
194
  y: 0
195
- }), nn = w("pointer"), rn = w(!1), F = w(mn());
196
- se({
195
+ }), rn = C("pointer"), an = C(!1), F = C(hn());
196
+ ce({
197
197
  config: () => F.value,
198
198
  dataset: () => k.dataset,
199
199
  component: "VueUiCandlestick",
200
- rules: [ce.emptyArray, {
200
+ rules: [le.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 Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
208
208
  ]
209
209
  }]
210
210
  });
211
- let { transitionEnabled: an } = ye({
211
+ let { transitionEnabled: on } = be({
212
212
  config: () => F.value.transitions,
213
213
  dataset: () => k.dataset
214
- }), on = p(() => F.value.userOptions.useCursorPointer), sn = p(() => c({
214
+ }), sn = p(() => F.value.userOptions.useCursorPointer), cn = p(() => l({
215
215
  defaultConfig: {
216
216
  useCssAnimation: !1,
217
217
  userOptions: { show: !1 },
@@ -249,13 +249,13 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
249
249
  }
250
250
  },
251
251
  userConfig: F.value.skeletonConfig ?? {}
252
- })), { loading: I, FINAL_DATASET: L, manualLoading: cn } = me({
253
- ...He(k),
252
+ })), { loading: I, FINAL_DATASET: L, manualLoading: ln } = he({
253
+ ...Ue(k),
254
254
  FINAL_CONFIG: F,
255
- prepareConfig: mn,
255
+ prepareConfig: hn,
256
256
  callback: () => {
257
257
  Promise.resolve().then(async () => {
258
- await cr();
258
+ await lr();
259
259
  });
260
260
  },
261
261
  skeletonDataset: k.config?.skeletonDataset ?? [
@@ -356,35 +356,35 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
356
356
  5100
357
357
  ]
358
358
  ],
359
- skeletonConfig: c({
359
+ skeletonConfig: l({
360
360
  defaultConfig: F.value,
361
- userConfig: sn.value
361
+ userConfig: cn.value
362
362
  })
363
- }), { userOptionsVisible: ln, setUserOptionsVisibility: un, keepUserOptionState: dn } = ke({ config: F.value }), { svgRef: R } = Ae({ config: F.value.style.title });
364
- function fn() {
365
- un(!0);
366
- }
363
+ }), { userOptionsVisible: un, setUserOptionsVisibility: dn, keepUserOptionState: fn } = Ae({ config: F.value }), { svgRef: R } = je({ config: F.value.style.title });
367
364
  function pn() {
368
- un(!1), It("selectX", {
365
+ dn(!0);
366
+ }
367
+ function mn() {
368
+ dn(!1), Lt("selectX", {
369
369
  seriesIndex: null,
370
370
  datapoint: null
371
371
  }), M.value = null;
372
372
  }
373
- function mn() {
374
- let e = ge({
373
+ function hn() {
374
+ let e = _e({
375
375
  userConfig: k.config,
376
- defaultConfig: Nt
376
+ defaultConfig: Pt
377
377
  }), t = {};
378
- k.config && oe(k.config, "style.layout.grid.xAxis.dataLabels.showFirstAndLast") && (e.style.layout.grid.xAxis.dataLabels.showFirstAndLast = !!k.config.style.layout.grid.xAxis.dataLabels.showFirstAndLast);
378
+ k.config && te(k.config, "style.layout.grid.xAxis.dataLabels.showFirstAndLast") && (e.style.layout.grid.xAxis.dataLabels.showFirstAndLast = !!k.config.style.layout.grid.xAxis.dataLabels.showFirstAndLast);
379
379
  let n = e.theme;
380
380
  if (n) {
381
- if (!Pt.value(e)) Ft(e), t = e;
381
+ if (!Ft.value(e)) It(e), t = e;
382
382
  else {
383
- let r = ge({
384
- userConfig: je[n] || k.config,
383
+ let r = _e({
384
+ userConfig: Me[n] || k.config,
385
385
  defaultConfig: e
386
386
  });
387
- t = { ...ge({
387
+ t = { ..._e({
388
388
  userConfig: k.config,
389
389
  defaultConfig: r
390
390
  }) };
@@ -392,91 +392,91 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
392
392
  } else t = e;
393
393
  return t;
394
394
  }
395
- Ue(() => k.config, (e) => {
396
- I.value || (F.value = mn()), ln.value = !F.value.userOptions.showOnChartHover, gn(), qt.value += 1, Yt.value += 1, Jt.value += 1, H.value.showTable = F.value.table.show, H.value.showTooltip = F.value.style.tooltip.show, kn();
397
- }, { deep: !0 }), Ue(() => k.dataset, (e) => {
398
- Array.isArray(e) && e.length > 0 && (cn.value = !1), ir();
395
+ We(() => k.config, (e) => {
396
+ I.value || (F.value = hn()), un.value = !F.value.userOptions.showOnChartHover, _n(), Jt.value += 1, Xt.value += 1, Yt.value += 1, H.value.showTable = F.value.table.show, H.value.showTooltip = F.value.style.tooltip.show, An();
397
+ }, { deep: !0 }), We(() => k.dataset, (e) => {
398
+ Array.isArray(e) && e.length > 0 && (ln.value = !1), ar();
399
399
  }, { deep: !0 });
400
- let z = w({
400
+ let z = C({
401
401
  height: F.value.style.height,
402
402
  width: F.value.style.width,
403
403
  xAxisFontSize: F.value.style.layout.grid.xAxis.dataLabels.fontSize,
404
404
  yAxisFontSize: F.value.style.layout.grid.yAxis.dataLabels.fontSize
405
- }), B = Be(null), V = Be(null);
406
- Re(() => {
407
- gn();
405
+ }), B = He(null), V = He(null);
406
+ Be(() => {
407
+ _n();
408
408
  });
409
- let hn = p(() => F.value.debug);
410
- function gn() {
409
+ let gn = p(() => F.value.debug);
410
+ function _n() {
411
411
  if (i(k.dataset) && (d({
412
412
  componentName: "VueUiCandlestick",
413
413
  type: "dataset",
414
- debug: hn.value
415
- }), cn.value = !0), i(k.dataset) || (cn.value = F.value.loading), setTimeout(() => {
414
+ debug: gn.value
415
+ }), ln.value = !0), i(k.dataset) || (ln.value = F.value.loading), setTimeout(() => {
416
416
  A.value = !0;
417
417
  }, 10), F.value.responsive) {
418
- let e = we(() => {
418
+ let e = Te(() => {
419
419
  A.value = !1;
420
- let { width: e, height: t } = Te({
420
+ let { width: e, height: t } = Ee({
421
421
  chart: N.value,
422
- title: F.value.style.title.text ? Ht.value : null,
423
- slicer: F.value.style.zoom.show && G.value > 6 ? Wt.value.$el : null,
424
- legend: Ut.value,
425
- source: Gt.value,
426
- noTitle: Kt.value
422
+ title: F.value.style.title.text ? Ut.value : null,
423
+ slicer: F.value.style.zoom.show && G.value > 6 ? Gt.value.$el : null,
424
+ legend: Wt.value,
425
+ source: Kt.value,
426
+ noTitle: qt.value
427
427
  });
428
428
  requestAnimationFrame(() => {
429
- z.value.width = e, z.value.height = t - 12, F.value.responsiveProportionalSizing ? (z.value.xAxisFontSize = l({
429
+ z.value.width = e, z.value.height = t - 12, F.value.responsiveProportionalSizing ? (z.value.xAxisFontSize = c({
430
430
  relator: Math.min(e, t),
431
431
  adjuster: F.value.style.width,
432
432
  source: F.value.style.layout.grid.xAxis.dataLabels.fontSize,
433
433
  threshold: 6,
434
434
  fallback: 6
435
- }), z.value.yAxisFontSize = l({
435
+ }), z.value.yAxisFontSize = c({
436
436
  relator: Math.min(e, t),
437
437
  adjuster: F.value.style.width,
438
438
  source: F.value.style.layout.grid.yAxis.dataLabels.fontSize,
439
439
  threshold: 6,
440
440
  fallback: 6
441
- })) : (z.value.xAxisFontSize = F.value.style.layout.grid.xAxis.dataLabels.fontSize, z.value.yAxisFontSize = F.value.style.layout.grid.yAxis.dataLabels.fontSize), Rt.value && clearTimeout(Rt.value), Rt.value = setTimeout(() => {
441
+ })) : (z.value.xAxisFontSize = F.value.style.layout.grid.xAxis.dataLabels.fontSize, z.value.yAxisFontSize = F.value.style.layout.grid.yAxis.dataLabels.fontSize), zt.value && clearTimeout(zt.value), zt.value = setTimeout(() => {
442
442
  A.value = !0;
443
443
  }, 10);
444
444
  });
445
445
  });
446
446
  B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value = N.value.parentNode, B.value.observe(V.value);
447
447
  }
448
- cr();
448
+ lr();
449
449
  }
450
- Le(() => {
450
+ ze(() => {
451
451
  B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
452
452
  });
453
- let { isPrinting: _n, isImaging: vn, generatePdf: yn, generateImage: bn } = pe({
453
+ let { isPrinting: vn, isImaging: yn, generatePdf: bn, generateImage: xn } = me({
454
454
  elementId: `vue-ui-candlestick_${j.value}`,
455
455
  fileName: F.value.style.title.text || "vue-ui-candlestick",
456
456
  options: F.value.userOptions.print
457
- }), xn = p(() => F.value.userOptions.show && !F.value.style.title.text), H = w({
457
+ }), Sn = p(() => F.value.userOptions.show && !F.value.style.title.text), H = C({
458
458
  showTable: F.value.table.show,
459
459
  showTooltip: F.value.style.tooltip.show
460
- }), Sn = w(0), Cn = we((e) => {
461
- Sn.value = e;
460
+ }), Cn = C(0), wn = Te((e) => {
461
+ Cn.value = e;
462
462
  }, 100);
463
- We((e) => {
464
- let t = Zt.value;
463
+ Ge((e) => {
464
+ let t = Qt.value;
465
465
  if (!t) return;
466
466
  let n = new ResizeObserver((e) => {
467
- Cn(e[0].contentRect.height);
467
+ wn(e[0].contentRect.height);
468
468
  });
469
469
  n.observe(t), e(() => n.disconnect());
470
- }), Le(() => {
471
- Sn.value = 0;
470
+ }), ze(() => {
471
+ Cn.value = 0;
472
472
  });
473
- let wn = p(() => {
473
+ let Tn = p(() => {
474
474
  let e = 0;
475
- return Zt.value && (e = Sn.value + z.value.xAxisFontSize), e;
475
+ return Qt.value && (e = Cn.value + z.value.xAxisFontSize), e;
476
476
  }), U = p(() => F.value.style.layout.grid.yAxis.position === "right");
477
- function Tn() {
477
+ function En() {
478
478
  let e = F.value.style.layout.grid.yAxis.dataLabels.offsetX;
479
- Xt.value && (e = Array.from(Xt.value.querySelectorAll("text")).reduce((e, t) => {
479
+ Zt.value && (e = Array.from(Zt.value.querySelectorAll("text")).reduce((e, t) => {
480
480
  let n = t.getComputedTextLength();
481
481
  return n > e ? n : e;
482
482
  }, 0));
@@ -490,19 +490,19 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
490
490
  };
491
491
  }
492
492
  let W = p(() => {
493
- let { top: e, right: t, bottom: n, left: r } = F.value.style.layout.padding, i = Tn();
493
+ let { top: e, right: t, bottom: n, left: r } = F.value.style.layout.padding, i = En();
494
494
  return {
495
495
  top: e + 12,
496
496
  right: z.value.width - t - i.right,
497
497
  left: r + i.left,
498
- bottom: z.value.height - n - wn.value,
498
+ bottom: z.value.height - n - Tn.value,
499
499
  width: z.value.width - r - t - i.left - i.right,
500
- height: z.value.height - e - n - wn.value - 12,
500
+ height: z.value.height - e - n - Tn.value - 12,
501
501
  scaleLabelsWidth: i.scaleLabelsWidth,
502
502
  yAxisNameWidth: i.yAxisNameWidth,
503
503
  crosshair: i.crosshair
504
504
  };
505
- }), En = p(() => {
505
+ }), Dn = p(() => {
506
506
  let { left: e, top: t, width: n, height: r } = W.value, i = K.value.start, a = K.value.end - i, o = n / a, s = q.value.start - i, c = q.value.end - i, l = Math.max(0, Math.min(a, s)), ee = Math.max(0, Math.min(a, c));
507
507
  return {
508
508
  x: e + l * o,
@@ -521,24 +521,24 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
521
521
  animation: "none !important"
522
522
  }
523
523
  };
524
- }), G = p(() => L.value.length), K = w({
524
+ }), G = p(() => L.value.length), K = C({
525
525
  start: 0,
526
526
  end: G.value
527
- }), q = w({
527
+ }), q = C({
528
528
  start: 0,
529
529
  end: G.value
530
- }), Dn = p(() => F.value.style.zoom.preview.enable && (q.value.start !== K.value.start || q.value.end !== K.value.end));
531
- function On(e, t) {
530
+ }), On = p(() => F.value.style.zoom.preview.enable && (q.value.start !== K.value.start || q.value.end !== K.value.end));
531
+ function kn(e, t) {
532
532
  q.value[e] = t;
533
533
  }
534
- function kn() {
534
+ function An() {
535
535
  let e = Math.max(0, Math.min(K.value.start ?? 0, G.value - 1)), t = Math.max(e + 1, Math.min(K.value.end ?? G.value, G.value));
536
- (!Number.isFinite(e) || !Number.isFinite(t) || t <= e) && (e = 0, t = G.value), K.value.start = e, K.value.end = t, q.value.start = e, q.value.end = t, Wt.value && (Wt.value.setStartValue(e), Wt.value.setEndValue(t));
536
+ (!Number.isFinite(e) || !Number.isFinite(t) || t <= e) && (e = 0, t = G.value), K.value.start = e, K.value.end = t, q.value.start = e, q.value.end = t, Gt.value && (Gt.value.setStartValue(e), Gt.value.setEndValue(t));
537
537
  }
538
- let An = p(() => L.value.map((e, t) => ({
538
+ let jn = p(() => L.value.map((e, t) => ({
539
539
  ...e,
540
540
  absoluteIndex: t
541
- }))), jn = p(() => An.value.slice(K.value.start, K.value.end)), J = p(() => (hn.value && L.value.forEach((e, t) => {
541
+ }))), Mn = p(() => jn.value.slice(K.value.start, K.value.end)), J = p(() => (gn.value && L.value.forEach((e, t) => {
542
542
  [null, void 0].includes(e[0]) && d({
543
543
  componentName: "VueUiCandlestick",
544
544
  type: "datasetAttribute",
@@ -570,7 +570,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
570
570
  property: "volume (index 5)",
571
571
  index: t
572
572
  });
573
- }), jn.value.map((e) => ({
573
+ }), Mn.value.map((e) => ({
574
574
  absoluteIndex: e.absoluteIndex,
575
575
  period: e[0],
576
576
  open: e[1],
@@ -578,7 +578,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
578
578
  low: e[3],
579
579
  close: e[4],
580
580
  volume: e[5]
581
- })))), Mn = p(() => An.value.map((e) => ({
581
+ })))), Nn = p(() => jn.value.map((e) => ({
582
582
  absoluteIndex: e.absoluteIndex,
583
583
  period: e[0],
584
584
  open: e[1],
@@ -586,11 +586,11 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
586
586
  low: e[3],
587
587
  close: e[4],
588
588
  volume: e[5]
589
- }))), Y = p(() => W.value.width / jn.value.length), Nn = p(() => ({
589
+ }))), Y = p(() => W.value.width / Mn.value.length), Pn = p(() => ({
590
590
  max: F.value.style.layout.grid.yAxis.scale.max === null ? Math.max(...J.value.map((e) => e.high)) : F.value.style.layout.grid.yAxis.scale.max,
591
591
  min: F.value.style.layout.grid.yAxis.scale.min === null ? 0 : F.value.style.layout.grid.yAxis.scale.min
592
- })), X = p(() => ee(Nn.value.min, Nn.value.max, F.value.style.layout.grid.yAxis.dataLabels.steps));
593
- function Pn(e, t, n = null, r = null) {
592
+ })), X = p(() => ee(Pn.value.min, Pn.value.max, F.value.style.layout.grid.yAxis.dataLabels.steps));
593
+ function Fn(e, t, n = null, r = null) {
594
594
  return {
595
595
  ...e,
596
596
  x: u(W.value.left + t * Y.value + Y.value / 2),
@@ -613,7 +613,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
613
613
  c: Math.min(...J.value.map((e) => e.low))
614
614
  }, n = Math.max(...J.value.map((e) => e.volume)), r = Math.min(...J.value.map((e) => e.volume));
615
615
  return J.value.map((i, a) => {
616
- let o = Pn(i.open, a, e.o, t.o), s = Pn(i.high, a, e.h, t.h), c = Pn(i.low, a, e.l, t.l), l = Pn(i.close, a, e.c, t.c), ee = i.close > i.open, u = i.volume === n, te = i.volume === r;
616
+ let o = Fn(i.open, a, e.o, t.o), s = Fn(i.high, a, e.h, t.h), c = Fn(i.low, a, e.l, t.l), l = Fn(i.close, a, e.c, t.c), ee = i.close > i.open, u = i.volume === n, te = i.volume === r;
617
617
  return {
618
618
  period: i.period,
619
619
  open: o,
@@ -628,7 +628,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
628
628
  };
629
629
  });
630
630
  });
631
- function Fn({ item: e, index: t, minimapH: n, unitW: r }) {
631
+ function In({ item: e, index: t, minimapH: n, unitW: r }) {
632
632
  let i = F.value.style.layout.grid.yAxis.scale.min ?? 0, a = F.value.style.layout.grid.yAxis.scale.max ?? Math.max(...L.value.map((e) => e[2]));
633
633
  return {
634
634
  ...e,
@@ -637,23 +637,23 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
637
637
  value: u(e)
638
638
  };
639
639
  }
640
- let In = p(() => ({ minimapH: e, unitW: t }) => Mn.value.map((n, r) => {
641
- let i = Fn({
640
+ let Ln = p(() => ({ minimapH: e, unitW: t }) => Nn.value.map((n, r) => {
641
+ let i = In({
642
642
  item: n.open,
643
643
  index: r,
644
644
  minimapH: e,
645
645
  unitW: t
646
- }), a = Fn({
646
+ }), a = In({
647
647
  item: n.high,
648
648
  index: r,
649
649
  minimapH: e,
650
650
  unitW: t
651
- }), o = Fn({
651
+ }), o = In({
652
652
  item: n.low,
653
653
  index: r,
654
654
  minimapH: e,
655
655
  unitW: t
656
- }), s = Fn({
656
+ }), s = In({
657
657
  item: n.close,
658
658
  index: r,
659
659
  minimapH: e,
@@ -669,108 +669,112 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
669
669
  isBullish: c,
670
670
  absoluteIndex: n.absoluteIndex
671
671
  };
672
- })), Ln = p(() => F.value.style.zoom.minimap.show ? [{
672
+ })), Rn = p(() => F.value.style.zoom.minimap.show ? [{
673
673
  name: "",
674
674
  series: L.value.map((e) => e[2]),
675
675
  color: "#000000",
676
676
  isVisible: !0
677
677
  }] : []);
678
- function Rn(e) {
678
+ function zn(e) {
679
679
  return u((e - X.value.min) / (X.value.max - X.value.min));
680
680
  }
681
- let zn = p(() => X.value.ticks.map((e) => ({
682
- y: W.value.bottom - W.value.height * Rn(e),
681
+ let Bn = p(() => X.value.ticks.map((e) => ({
682
+ y: W.value.bottom - W.value.height * zn(e),
683
683
  value: u(e)
684
- }))), Bn = p(() => J.value.map((e) => e.period)), Q = w([]), Vn = w([]), Hn = 0;
685
- We(() => {
686
- let e = ++Hn;
684
+ }))), Vn = p(() => J.value.map((e) => e.period)), Q = C([]), Hn = C([]), Un = 0;
685
+ Ge(() => {
686
+ let e = ++Un;
687
687
  (async () => {
688
- let t = await de({
688
+ let t = await fe({
689
689
  values: L.value.map((e) => e[0]),
690
690
  maxDatapoints: L.value.length,
691
691
  formatter: F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
692
692
  start: K.value.start,
693
693
  end: K.value.end
694
694
  });
695
- e === Hn && (Q.value = t);
695
+ e === Un && (Q.value = t);
696
696
  })();
697
697
  });
698
- let Un = 0;
699
- We(() => {
700
- let e = ++Un;
698
+ let Wn = 0;
699
+ Ge(() => {
700
+ let e = ++Wn;
701
701
  (async () => {
702
- let t = await de({
702
+ let t = await fe({
703
703
  values: L.value.map((e) => e[0]),
704
704
  maxDatapoints: L.value.length,
705
705
  formatter: F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
706
706
  start: 0,
707
707
  end: G.value
708
708
  });
709
- e === Un && (Vn.value = t);
709
+ e === Wn && (Hn.value = t);
710
710
  })();
711
711
  });
712
- let Wn = w({
712
+ let Gn = C({
713
713
  months: [],
714
714
  shortMonths: [],
715
715
  days: [],
716
716
  shortDays: []
717
- }), Gn = 0;
718
- We(() => {
719
- let e = ++Gn, t = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter;
717
+ }), Kn = 0;
718
+ Ge(() => {
719
+ let e = ++Kn, t = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter;
720
720
  (async () => {
721
- let n = await ue(t.locale).catch(() => ue("en"));
722
- e === Gn && (Wn.value = n.data);
721
+ let n = await de(t.locale).catch(() => de("en"));
722
+ e === Kn && (Gn.value = n.data);
723
723
  })();
724
724
  });
725
- let Kn = p(() => {
726
- let e = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter, t = le({
725
+ let qn = p(() => {
726
+ let e = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter, t = ue({
727
727
  useUTC: e.useUTC,
728
- locale: Wn.value,
728
+ locale: Gn.value,
729
729
  januaryAsYear: e.januaryAsYear
730
730
  });
731
731
  return (e, n) => {
732
732
  let r = L.value.map((e) => e[0])?.[e];
733
733
  return r == null ? "" : t.formatDate(new Date(r), n);
734
734
  };
735
- }), qn = p(() => (L.value.map((e) => e[0]) || []).map((e, t) => ({
736
- text: Kn.value(t, F.value.style.tooltip.timeFormat),
735
+ }), Jn = p(() => (L.value.map((e) => e[0]) || []).map((e, t) => ({
736
+ text: qn.value(t, F.value.style.tooltip.timeFormat),
737
737
  absoluteIndex: t
738
- }))), Jn = p(() => (L.value.map((e) => e[0]) || []).map((e, t) => ({
739
- text: Kn.value(t, F.value.style.zoom.timeFormat),
738
+ }))), Yn = p(() => (L.value.map((e) => e[0]) || []).map((e, t) => ({
739
+ text: qn.value(t, F.value.style.zoom.timeFormat),
740
740
  absoluteIndex: t
741
- }))), Yn = p(() => {
742
- let e = Math.max(1, Math.floor(Number(F.value.style.layout.grid.xAxis.dataLabels.modulo) || 1)), t = Vn.value.length, n = Q.value.length;
743
- if (!t || !n) return e;
744
- let r = Math.max(1, Math.ceil(t / e));
745
- return Math.max(1, Math.round(n / r));
746
- }), Xn = p(() => {
747
- let e = F.value.style.layout.grid.xAxis.dataLabels, t = Q.value || [], n = Vn.value || [], r = K.value.start ?? 0, i = M.value, a = G.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? ""), c = te(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Yn.value, o, s, r, i, a);
748
- if (!e.showFirstAndLast || !e.showOnlyAtModulo || e.showOnlyFirstAndLast || !c.length) return c;
741
+ }))), Xn = p(() => {
742
+ let e = Math.max(1, Math.floor(Number(F.value.style.layout.grid.xAxis.dataLabels.modulo) || 1)), t = (Q.value || []).map((e) => e?.text ?? ""), n = (Hn.value || []).map((e) => e?.text ?? ""), r = K.value.start ?? 0, i = r > 0 || t.length < n.length;
743
+ return re({
744
+ configuredModulo: e,
745
+ visibleTexts: t,
746
+ allTexts: n,
747
+ startAbs: r,
748
+ isZoomed: i
749
+ });
750
+ }), Zn = p(() => {
751
+ let e = F.value.style.layout.grid.xAxis.dataLabels, t = Q.value || [], n = Hn.value || [], r = K.value.start ?? 0, i = M.value, a = G.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? ""), c = ne(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Xn.value, o, s, r, i, a);
752
+ if (!e.showFirstAndLast || e.showOnlyFirstAndLast || !c.length) return c;
749
753
  let l = c.length - 1;
750
754
  return c.map((e, t) => t !== 0 && t !== l ? e : {
751
755
  ...e,
752
756
  text: o[t] ?? ""
753
757
  });
754
- }), Zn = p(() => F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
758
+ }), Qn = p(() => F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
755
759
  start: Q.value.find((e) => e.absoluteIndex === K.value.start)?.text ?? "",
756
760
  end: Q.value.find((e) => e.absoluteIndex === K.value.end - 1)?.text ?? ""
757
761
  } : {
758
762
  start: L.value[K.value.start] ? L.value[K.value.start][0] : L.value[0][0],
759
763
  end: L.value[K.value.end - 1] ? L.value[K.value.end - 1][0] : L.value.at(-1)[0]
760
- }), Qn = w(null);
761
- function $n(e, t) {
764
+ }), $n = C(null);
765
+ function er(e, t) {
762
766
  F.value.events.datapointClick && F.value.events.datapointClick({
763
767
  datapoint: t,
764
768
  seriesIndex: e + K.value.start
765
769
  });
766
770
  }
767
- function er(e, t) {
771
+ function tr(e, t) {
768
772
  F.value.events.datapointLeave && F.value.events.datapointLeave({
769
773
  datapoint: t,
770
774
  seriesIndex: e + K.value.start
771
- }), M.value = void 0, zt.value = !1, P.value = null, nn.value = "pointer";
775
+ }), M.value = void 0, Bt.value = !1, P.value = null, rn.value = "pointer";
772
776
  }
773
- Ue(() => k.selectedXIndex, (e) => {
777
+ We(() => k.selectedXIndex, (e) => {
774
778
  if ([null, void 0].includes(k.selectedXIndex)) {
775
779
  M.value = null;
776
780
  return;
@@ -778,35 +782,35 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
778
782
  let t = e - K.value.start;
779
783
  t < 0 || e >= K.value.end ? M.value = null : M.value = t ?? null;
780
784
  }, { immediate: !0 });
781
- function tr(e, t, n = "pointer") {
785
+ function nr(e, t, r = "pointer") {
782
786
  F.value.events.datapointEnter && F.value.events.datapointEnter({
783
787
  datapoint: t,
784
788
  seriesIndex: e + K.value.start
785
- }), M.value = e, P.value = e, nn.value = n, Qn.value = {
789
+ }), M.value = e, P.value = e, rn.value = r, $n.value = {
786
790
  datapoint: t,
787
791
  seriesIndex: e,
788
792
  series: Z.value,
789
793
  config: F.value
790
- }, jr({
794
+ }, Mr({
791
795
  seriesIndex: e,
792
796
  datapoint: t
793
797
  });
794
- let r = F.value.style.tooltip.customFormat;
795
- if (a(r) && re(() => r({
798
+ let i = F.value.style.tooltip.customFormat;
799
+ if (n(i) && ie(() => i({
796
800
  seriesIndex: e,
797
801
  datapoint: t,
798
802
  series: Z.value,
799
803
  config: F.value
800
- }))) Bt.value = r({
804
+ }))) Vt.value = i({
801
805
  seriesIndex: e,
802
806
  datapoint: t,
803
807
  series: Z.value,
804
808
  config: F.value
805
809
  });
806
810
  else if (F.value.style.tooltip.show) {
807
- let n = "", { period: r, open: i, high: a, low: o, close: c, volume: l, isBullish: ee } = Z.value[e], { period: u, open: te, high: ne, low: re, close: d, volume: ie } = F.value.translations, ae = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? F.value.style.tooltip.useDefaultTimeFormat ? Q.value[e].text : qn.value[e].text : r;
811
+ let n = "", { period: r, open: i, high: a, low: o, close: c, volume: l, isBullish: ee } = Z.value[e], { period: u, open: te, high: ne, low: re, close: ie, volume: d } = F.value.translations, ae = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? F.value.style.tooltip.useDefaultTimeFormat ? Q.value[e].text : Jn.value[e].text : r;
808
812
  n += `<div><svg style="margin-right:6px" viewBox="0 0 12 12" height="12" width="12"><rect x="0" y="0" height="12" width="12" rx="${F.value.style.layout.candle.borderRadius * 3}" stroke="${F.value.style.layout.candle.stroke}" stroke-width="${F.value.style.layout.candle.strokeWidth}"
809
- fill="${F.value.style.layout.candle.gradient.show ? ee ? `url(#bullish_gradient_${j.value})` : `url(#bearish_gradient_${j.value})` : ee ? F.value.style.layout.candle.colors.bullish : F.value.style.layout.candle.colors.bearish}"/></svg>${ae}</div>`, n += `${ie} : <b>${isNaN(l) ? "-" : Number(l.toFixed(F.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, n += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${F.value.style.tooltip.borderColor}">`;
813
+ fill="${F.value.style.layout.candle.gradient.show ? ee ? `url(#bullish_gradient_${j.value})` : `url(#bearish_gradient_${j.value})` : ee ? F.value.style.layout.candle.colors.bullish : F.value.style.layout.candle.colors.bearish}"/></svg>${ae}</div>`, n += `${d} : <b>${isNaN(l) ? "-" : Number(l.toFixed(F.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, n += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${F.value.style.tooltip.borderColor}">`;
810
814
  let oe = s({
811
815
  p: F.value.style.tooltip.prefix,
812
816
  v: i.value,
@@ -848,43 +852,43 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
848
852
  <g>
849
853
  </svg>
850
854
  <div>
851
- ` : (n += `<div>${te}: <b>${oe}</b></div>`, n += `<div>${ne}: <b>${se}</b></div>`, n += `<div>${re}: <b>${ce}</b></div>`, n += `<div>${d}: <b>${le}</b></div>`), n += "</div>", Bt.value = `<div style="text-align:right">${n}</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>", Vt.value = `<div style="text-align:right">${n}</div>`;
852
856
  }
853
- zt.value = !0;
857
+ Bt.value = !0;
854
858
  }
855
- let nr = w(null);
856
- function rr() {
859
+ let rr = C(null);
860
+ function ir() {
857
861
  return new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(() => e())));
858
862
  }
859
- Le(() => {
860
- nr.value && cancelAnimationFrame(nr.value);
863
+ ze(() => {
864
+ rr.value && cancelAnimationFrame(rr.value);
861
865
  });
862
- async function ir() {
863
- cr(), await Ie(), nr.value && cancelAnimationFrame(nr.value), nr.value = requestAnimationFrame(async () => {
864
- await rr(), cr();
866
+ async function ar() {
867
+ lr(), await Le(), rr.value && cancelAnimationFrame(rr.value), rr.value = requestAnimationFrame(async () => {
868
+ await ir(), lr();
865
869
  });
866
870
  }
867
- let ar = w(!1), or = w(!1), sr = w(!1);
868
- function cr() {
869
- if (!ar.value) {
870
- ar.value = !0;
871
+ let or = C(!1), sr = C(!1), cr = C(!1);
872
+ function lr() {
873
+ if (!or.value) {
874
+ or.value = !0;
871
875
  try {
872
- let { startIndex: e, endIndex: t } = F.value.style.zoom, n = G.value, r = e ?? 0, i = t == null ? n : Math.min(lr(t + 1), n);
873
- sr.value = !0, K.value.start = r, K.value.end = i, q.value.start = r, q.value.end = i, kn(), or.value = !0;
876
+ let { startIndex: e, endIndex: t } = F.value.style.zoom, n = G.value, r = e ?? 0, i = t == null ? n : Math.min(ur(t + 1), n);
877
+ cr.value = !0, K.value.start = r, K.value.end = i, q.value.start = r, q.value.end = i, An(), sr.value = !0;
874
878
  } finally {
875
879
  queueMicrotask(() => {
876
- sr.value = !1;
877
- }), ar.value = !1;
880
+ cr.value = !1;
881
+ }), or.value = !1;
878
882
  }
879
883
  }
880
884
  }
881
- function lr(e) {
885
+ function ur(e) {
882
886
  let t = G.value;
883
887
  return e > t ? t : e < 0 || e < K.value.start ? F.value.style.zoom.startIndex === null ? 1 : F.value.style.zoom.startIndex + 1 : e;
884
888
  }
885
- function ur(e = null) {
886
- Ie(() => {
887
- let r = [
889
+ function dr(e = null) {
890
+ Le(() => {
891
+ let n = [
888
892
  F.value.translations.period,
889
893
  F.value.translations.open,
890
894
  F.value.translations.high,
@@ -906,15 +910,15 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
906
910
  [""],
907
911
  [""]
908
912
  ],
909
- r
910
- ].concat(i), o = n(a);
913
+ n
914
+ ].concat(i), o = r(a);
911
915
  e ? e(o) : t({
912
916
  csvContent: o,
913
917
  title: F.value.style.title.text || "vue-ui-candlestick"
914
918
  });
915
919
  });
916
920
  }
917
- let dr = p(() => {
921
+ let fr = p(() => {
918
922
  let e = Z.value.map((e, t) => {
919
923
  let n = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? Q.value?.[t]?.text ?? "" : e.period, r = s({
920
924
  p: F.value.table.td.prefix,
@@ -999,23 +1003,23 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
999
1003
  config: n,
1000
1004
  colNames: r
1001
1005
  };
1002
- }), $ = w(!1);
1003
- function fr(e) {
1004
- $.value = e, Vt.value += 1;
1006
+ }), $ = C(!1);
1007
+ function pr(e) {
1008
+ $.value = e, Ht.value += 1;
1005
1009
  }
1006
- function pr() {
1010
+ function mr() {
1007
1011
  H.value.showTable = !H.value.showTable;
1008
1012
  }
1009
- function mr() {
1013
+ function hr() {
1010
1014
  H.value.showTooltip = !H.value.showTooltip;
1011
1015
  }
1012
- let hr = w(!1);
1013
- function gr() {
1014
- hr.value = !hr.value;
1016
+ let gr = C(!1);
1017
+ function _r() {
1018
+ gr.value = !gr.value;
1015
1019
  }
1016
- async function _r({ scale: e = 2 } = {}) {
1020
+ async function vr({ scale: e = 2 } = {}) {
1017
1021
  if (!N.value) return;
1018
- let { imageUri: t, base64: n } = await xe({
1022
+ let { imageUri: t, base64: n } = await Se({
1019
1023
  domElement: N.value,
1020
1024
  base64: !0,
1021
1025
  img: !0,
@@ -1024,7 +1028,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1024
1028
  width: r.width,
1025
1029
  height: r.height,
1026
1030
  aspectRatio: r.height ? r.width / r.height : 0
1027
- }, a = await ne(t, e) ?? i;
1031
+ }, a = await ae(t, e) ?? i;
1028
1032
  return {
1029
1033
  imageUri: t,
1030
1034
  base64: n,
@@ -1032,9 +1036,9 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1032
1036
  ...a
1033
1037
  };
1034
1038
  }
1035
- let vr = p(() => z.value.width), yr = p(() => z.value.height);
1036
- be({
1037
- timeLabelsEls: Zt,
1039
+ let yr = p(() => z.value.width), br = p(() => z.value.height);
1040
+ xe({
1041
+ timeLabelsEls: Qt,
1038
1042
  timeLabels: Q,
1039
1043
  slicer: K,
1040
1044
  configRef: F,
@@ -1057,18 +1061,18 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1057
1061
  ],
1058
1062
  isAutoSize: !1,
1059
1063
  rotation: F.value.style.layout.grid.xAxis.dataLabels.autoRotate.angle,
1060
- width: vr,
1061
- height: yr
1062
- }), Ue(F, () => {
1064
+ width: yr,
1065
+ height: br
1066
+ }), We(F, () => {
1063
1067
  H.value = {
1064
1068
  showTable: F.value.table.show,
1065
1069
  showTooltip: F.value.style.tooltip.show
1066
1070
  };
1067
1071
  }, { immediate: !0 });
1068
- let br = p(() => {
1072
+ let xr = p(() => {
1069
1073
  let e = F.value.table.useDialog && !F.value.table.show, t = H.value.showTable;
1070
1074
  return {
1071
- component: e ? Mt : Dt,
1075
+ component: e ? Nt : Ot,
1072
1076
  title: `${F.value.style.title.text}${F.value.style.title.subtitle.text ? `: ${F.value.style.title.subtitle.text}` : ""}`,
1073
1077
  props: e ? {
1074
1078
  backgroundColor: F.value.table.th.backgroundColor,
@@ -1078,7 +1082,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1078
1082
  isFullscreen: $.value,
1079
1083
  fullscreenParent: N.value,
1080
1084
  forcedWidth: Math.min(800, window.innerWidth * .8),
1081
- isCursorPointer: on.value
1085
+ isCursorPointer: sn.value
1082
1086
  } : {
1083
1087
  hideDetails: !0,
1084
1088
  config: {
@@ -1096,42 +1100,42 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1096
1100
  }
1097
1101
  };
1098
1102
  });
1099
- Ue(() => H.value.showTable, (e) => {
1100
- F.value.table.show || (e && F.value.table.useDialog && Qt.value ? Qt.value.open() : "close" in Qt.value && Qt.value.close());
1103
+ We(() => H.value.showTable, (e) => {
1104
+ F.value.table.show || (e && F.value.table.useDialog && $t.value ? $t.value.open() : "close" in $t.value && $t.value.close());
1101
1105
  });
1102
- function xr() {
1103
- H.value.showTable = !1, $t.value && $t.value.setTableIconState(!1);
1106
+ function Sr() {
1107
+ H.value.showTable = !1, en.value && en.value.setTableIconState(!1);
1104
1108
  }
1105
- let Sr = p(() => F.value.style.backgroundColor), Cr = p(() => F.value.style.title), { isCallbackImaging: wr, isCallbackSvg: Tr, generateSvg: Er, onGenerateImage: Dr } = ve({
1109
+ let Cr = p(() => F.value.style.backgroundColor), wr = p(() => F.value.style.title), { isCallbackImaging: Tr, isCallbackSvg: Er, generateSvg: Dr, onGenerateImage: Or } = ye({
1106
1110
  svg: R,
1107
- title: Cr,
1111
+ title: wr,
1108
1112
  legend: null,
1109
1113
  legendItems: null,
1110
- backgroundColor: Sr,
1114
+ backgroundColor: Cr,
1111
1115
  getSvgCallback: () => F.value.userOptions.callbacks.svg,
1112
- generateImage: bn
1116
+ generateImage: xn
1113
1117
  });
1114
- function Or(e) {
1115
- en.value = e;
1116
- }
1117
1118
  function kr(e) {
1118
- ar.value || sr.value || e !== K.value.start && (K.value.start = e, q.value.start = e, kn());
1119
+ tn.value = e;
1119
1120
  }
1120
1121
  function Ar(e) {
1121
- if (ar.value || sr.value) return;
1122
- let t = lr(e);
1123
- t !== K.value.end && (K.value.end = t, q.value.end = t, kn());
1122
+ or.value || cr.value || e !== K.value.start && (K.value.start = e, q.value.start = e, An());
1123
+ }
1124
+ function jr(e) {
1125
+ if (or.value || cr.value) return;
1126
+ let t = ur(e);
1127
+ t !== K.value.end && (K.value.end = t, q.value.end = t, An());
1124
1128
  }
1125
- function jr({ seriesIndex: e, datapoint: t }) {
1129
+ function Mr({ seriesIndex: e, datapoint: t }) {
1126
1130
  let n = K.value.start + e;
1127
- It("selectX", {
1131
+ Lt("selectX", {
1128
1132
  dataset: t,
1129
1133
  index: n,
1130
1134
  indexLabel: ""
1131
1135
  });
1132
1136
  }
1133
- async function Mr() {
1134
- if (It("copyAlt", {
1137
+ async function Nr() {
1138
+ if (Lt("copyAlt", {
1135
1139
  config: F.value,
1136
1140
  dataset: Z.value
1137
1141
  }), !F.value.userOptions.callbacks.altCopy) {
@@ -1143,73 +1147,73 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1143
1147
  dataset: Z.value
1144
1148
  }));
1145
1149
  }
1146
- function Nr() {
1147
- P.value = null, rn.value = !0;
1148
- }
1149
1150
  function Pr() {
1150
- P.value = null, nn.value = "pointer", zt.value = !1, M.value = void 0, rn.value = !1;
1151
+ P.value = null, an.value = !0;
1152
+ }
1153
+ function Fr() {
1154
+ P.value = null, rn.value = "pointer", Bt.value = !1, M.value = void 0, an.value = !1;
1151
1155
  }
1152
- function Fr(e) {
1153
- if (!R.value || hr.value || document.activeElement !== R.value || !Z.value.length) return;
1156
+ function Ir(e) {
1157
+ if (!R.value || gr.value || document.activeElement !== R.value || !Z.value.length) return;
1154
1158
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1155
1159
  if (!t && !n && !r && !i) return;
1156
1160
  if (e.preventDefault(), e.stopPropagation(), i) {
1157
- P.value = null, nn.value = "pointer", zt.value = !1, M.value = void 0;
1161
+ P.value = null, rn.value = "pointer", Bt.value = !1, M.value = void 0;
1158
1162
  return;
1159
1163
  }
1160
1164
  if (r) {
1161
1165
  if (P.value === null) return;
1162
1166
  let e = Z.value[P.value];
1163
1167
  if (!e) return;
1164
- $n(P.value, e);
1168
+ er(P.value, e);
1165
1169
  return;
1166
1170
  }
1167
1171
  let a = P.value, o = M.value, s = a !== null && a >= 0 && a < Z.value.length, c = o != null && o >= 0 && o < Z.value.length;
1168
1172
  s ? n ? (a += 1, a >= Z.value.length && (a = 0)) : t && (--a, a < 0 && (a = Z.value.length - 1)) : c ? (a = n ? o + 1 : o - 1, a >= Z.value.length && (a = 0), a < 0 && (a = Z.value.length - 1)) : a = n ? 0 : Z.value.length - 1;
1169
1173
  let l = Z.value[a];
1170
- l && (Ir(a), tr(a, l, "keyboard"));
1174
+ l && (Lr(a), nr(a, l, "keyboard"));
1171
1175
  }
1172
- function Ir(e) {
1176
+ function Lr(e) {
1173
1177
  if (!Number.isFinite(e) || !R.value) return;
1174
1178
  let t = W.value.left + Y.value * e + Y.value / 2, n = W.value.top + W.value.height / 2, r = R.value.getBoundingClientRect();
1175
- tn.value = {
1179
+ nn.value = {
1176
1180
  x: r.left + t / z.value.width * r.width,
1177
1181
  y: r.top + n / z.value.height * r.height
1178
1182
  };
1179
1183
  }
1180
- let Lr = p(() => ({
1181
- headers: dr.value?.colNames ?? [],
1182
- rows: dr.value?.bodyA11y ?? []
1184
+ let Rr = p(() => ({
1185
+ headers: fr.value?.colNames ?? [],
1186
+ rows: fr.value?.bodyA11y ?? []
1183
1187
  }));
1184
- return Ce({
1185
- getImage: _r,
1186
- generatePdf: yn,
1187
- generateCsv: ur,
1188
- generateImage: bn,
1189
- generateSvg: Er,
1190
- toggleTable: pr,
1191
- toggleTooltip: mr,
1192
- toggleAnnotator: gr,
1193
- toggleFullscreen: fr,
1194
- copyAlt: Mr
1195
- }), (e, t) => (C(), g("div", {
1188
+ return we({
1189
+ getImage: vr,
1190
+ generatePdf: bn,
1191
+ generateCsv: dr,
1192
+ generateImage: xn,
1193
+ generateSvg: Dr,
1194
+ toggleTable: mr,
1195
+ toggleTooltip: hr,
1196
+ toggleAnnotator: _r,
1197
+ toggleFullscreen: pr,
1198
+ copyAlt: Nr
1199
+ }), (e, t) => (S(), g("div", {
1196
1200
  ref_key: "candlestickChart",
1197
1201
  ref: N,
1198
1202
  class: b(`vue-data-ui-component vue-ui-candlestick ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1199
- style: S(`position:relative;font-family:${F.value.style.fontFamily}; text-align:center;background:${F.value.style.backgroundColor}; ${F.value.responsive ? "height: 100%" : ""}`),
1203
+ style: Re(`position:relative;font-family:${F.value.style.fontFamily}; text-align:center;background:${F.value.style.backgroundColor}; ${F.value.responsive ? "height: 100%" : ""}`),
1200
1204
  id: `vue-ui-candlestick_${j.value}`,
1201
- onMouseenter: fn,
1202
- onMouseleave: pn
1205
+ onMouseenter: pn,
1206
+ onMouseleave: mn
1203
1207
  }, [
1204
1208
  _("div", {
1205
1209
  id: `chart-instructions-${j.value}`,
1206
1210
  class: "sr-only"
1207
- }, [_("p", null, Ve(F.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
1208
- Lr.value?.rows?.length ? (C(), m(Oe, {
1211
+ }, [_("p", null, E(F.value.a11y.translations.keyboardNavigation), 1)], 8, Je),
1212
+ Rr.value?.rows?.length ? (S(), m(ke, {
1209
1213
  key: 0,
1210
1214
  uid: j.value,
1211
- head: Lr.value.headers,
1212
- body: Lr.value.rows,
1215
+ head: Rr.value.headers,
1216
+ body: Rr.value.rows,
1213
1217
  notice: F.value.a11y.translations.tableAvailable,
1214
1218
  caption: F.value.a11y.translations.tableCaption
1215
1219
  }, null, 8, [
@@ -1219,21 +1223,21 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1219
1223
  "notice",
1220
1224
  "caption"
1221
1225
  ])) : h("", !0),
1222
- F.value.userOptions.buttons.annotator ? (C(), m(D(kt), {
1226
+ F.value.userOptions.buttons.annotator ? (S(), m(D(At), {
1223
1227
  key: 1,
1224
1228
  svgRef: D(R),
1225
1229
  backgroundColor: F.value.style.backgroundColor,
1226
1230
  color: F.value.style.color,
1227
- active: hr.value,
1228
- isCursorPointer: on.value,
1229
- onClose: gr
1231
+ active: gr.value,
1232
+ isCursorPointer: sn.value,
1233
+ onClose: _r
1230
1234
  }, {
1231
- "annotator-action-close": O(() => [E(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1232
- "annotator-action-color": O(({ color: t }) => [E(e.$slots, "annotator-action-color", x(y({ color: t })), void 0, !0)]),
1233
- "annotator-action-draw": O(({ mode: t }) => [E(e.$slots, "annotator-action-draw", x(y({ mode: t })), void 0, !0)]),
1234
- "annotator-action-undo": O(({ disabled: t }) => [E(e.$slots, "annotator-action-undo", x(y({ disabled: t })), void 0, !0)]),
1235
- "annotator-action-redo": O(({ disabled: t }) => [E(e.$slots, "annotator-action-redo", x(y({ disabled: t })), void 0, !0)]),
1236
- "annotator-action-delete": O(({ disabled: t }) => [E(e.$slots, "annotator-action-delete", x(y({ disabled: t })), void 0, !0)]),
1235
+ "annotator-action-close": O(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1236
+ "annotator-action-color": O(({ color: t }) => [T(e.$slots, "annotator-action-color", x(y({ color: t })), void 0, !0)]),
1237
+ "annotator-action-draw": O(({ mode: t }) => [T(e.$slots, "annotator-action-draw", x(y({ mode: t })), void 0, !0)]),
1238
+ "annotator-action-undo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-undo", x(y({ disabled: t })), void 0, !0)]),
1239
+ "annotator-action-redo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-redo", x(y({ disabled: t })), void 0, !0)]),
1240
+ "annotator-action-delete": O(({ disabled: t }) => [T(e.$slots, "annotator-action-delete", x(y({ disabled: t })), void 0, !0)]),
1237
1241
  _: 3
1238
1242
  }, 8, [
1239
1243
  "svgRef",
@@ -1242,20 +1246,20 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1242
1246
  "active",
1243
1247
  "isCursorPointer"
1244
1248
  ])) : h("", !0),
1245
- xn.value ? (C(), g("div", {
1249
+ Sn.value ? (S(), g("div", {
1246
1250
  key: 2,
1247
1251
  ref_key: "noTitle",
1248
- ref: Kt,
1252
+ ref: qt,
1249
1253
  class: "vue-data-ui-no-title-space",
1250
1254
  style: "height:36px; width: 100%;background:transparent"
1251
1255
  }, null, 512)) : h("", !0),
1252
- F.value.style.title.text ? (C(), g("div", {
1256
+ F.value.style.title.text ? (S(), g("div", {
1253
1257
  key: 3,
1254
1258
  ref_key: "chartTitle",
1255
- ref: Ht,
1259
+ ref: Ut,
1256
1260
  style: "width:100%;background:transparent"
1257
- }, [(C(), m(Se, {
1258
- key: `title_${Yt.value}`,
1261
+ }, [(S(), m(Ce, {
1262
+ key: `title_${Xt.value}`,
1259
1263
  config: {
1260
1264
  title: {
1261
1265
  cy: "candlestick-div-title",
@@ -1267,14 +1271,14 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1267
1271
  }
1268
1272
  }
1269
1273
  }, null, 8, ["config"]))], 512)) : h("", !0),
1270
- F.value.userOptions.show && Lt.value && (D(dn) || D(ln)) ? (C(), m(D(At), {
1274
+ F.value.userOptions.show && Rt.value && (D(fn) || D(un)) ? (S(), m(D(jt), {
1271
1275
  ref_key: "userOptionsRef",
1272
- ref: $t,
1273
- key: `user_options_${Vt.value}`,
1276
+ ref: en,
1277
+ key: `user_options_${Ht.value}`,
1274
1278
  backgroundColor: F.value.style.backgroundColor,
1275
1279
  color: F.value.style.color,
1276
- isImaging: D(vn),
1277
- isPrinting: D(_n),
1280
+ isImaging: D(yn),
1281
+ isPrinting: D(vn),
1278
1282
  uid: j.value,
1279
1283
  hasTooltip: F.value.userOptions.buttons.tooltip && F.value.style.tooltip.show,
1280
1284
  hasPdf: F.value.userOptions.buttons.pdf,
@@ -1290,25 +1294,25 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1290
1294
  chartElement: N.value,
1291
1295
  position: F.value.userOptions.position,
1292
1296
  hasAnnotator: F.value.userOptions.buttons.annotator,
1293
- isAnnotation: hr.value,
1297
+ isAnnotation: gr.value,
1294
1298
  callbacks: F.value.userOptions.callbacks,
1295
1299
  printScale: F.value.userOptions.print.scale,
1296
1300
  tableDialog: F.value.table.useDialog,
1297
- isCursorPointer: on.value,
1298
- onToggleFullscreen: fr,
1299
- onGeneratePdf: D(yn),
1300
- onGenerateCsv: ur,
1301
- onGenerateImage: D(Dr),
1302
- onGenerateSvg: D(Er),
1303
- onToggleTable: pr,
1304
- onToggleTooltip: mr,
1305
- onToggleAnnotator: gr,
1306
- onCopyAlt: Mr,
1307
- style: S({ visibility: D(dn) ? D(ln) ? "visible" : "hidden" : "visible" })
1308
- }, Me({ _: 2 }, [
1301
+ isCursorPointer: sn.value,
1302
+ onToggleFullscreen: pr,
1303
+ onGeneratePdf: D(bn),
1304
+ onGenerateCsv: dr,
1305
+ onGenerateImage: D(Or),
1306
+ onGenerateSvg: D(Dr),
1307
+ onToggleTable: mr,
1308
+ onToggleTooltip: hr,
1309
+ onToggleAnnotator: _r,
1310
+ onCopyAlt: Nr,
1311
+ style: Re({ visibility: D(fn) ? D(un) ? "visible" : "hidden" : "visible" })
1312
+ }, Ne({ _: 2 }, [
1309
1313
  e.$slots.menuIcon ? {
1310
1314
  name: "menuIcon",
1311
- fn: O(({ isOpen: t, color: n }) => [E(e.$slots, "menuIcon", x(y({
1315
+ fn: O(({ isOpen: t, color: n }) => [T(e.$slots, "menuIcon", x(y({
1312
1316
  isOpen: t,
1313
1317
  color: n
1314
1318
  })), void 0, !0)]),
@@ -1316,37 +1320,37 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1316
1320
  } : void 0,
1317
1321
  e.$slots.optionTooltip ? {
1318
1322
  name: "optionTooltip",
1319
- fn: O(() => [E(e.$slots, "optionTooltip", {}, void 0, !0)]),
1323
+ fn: O(() => [T(e.$slots, "optionTooltip", {}, void 0, !0)]),
1320
1324
  key: "1"
1321
1325
  } : void 0,
1322
1326
  e.$slots.optionPdf ? {
1323
1327
  name: "optionPdf",
1324
- fn: O(() => [E(e.$slots, "optionPdf", {}, void 0, !0)]),
1328
+ fn: O(() => [T(e.$slots, "optionPdf", {}, void 0, !0)]),
1325
1329
  key: "2"
1326
1330
  } : void 0,
1327
1331
  e.$slots.optionCsv ? {
1328
1332
  name: "optionCsv",
1329
- fn: O(() => [E(e.$slots, "optionCsv", {}, void 0, !0)]),
1333
+ fn: O(() => [T(e.$slots, "optionCsv", {}, void 0, !0)]),
1330
1334
  key: "3"
1331
1335
  } : void 0,
1332
1336
  e.$slots.optionImg ? {
1333
1337
  name: "optionImg",
1334
- fn: O(() => [E(e.$slots, "optionImg", {}, void 0, !0)]),
1338
+ fn: O(() => [T(e.$slots, "optionImg", {}, void 0, !0)]),
1335
1339
  key: "4"
1336
1340
  } : void 0,
1337
1341
  e.$slots.optionSvg ? {
1338
1342
  name: "optionSvg",
1339
- fn: O(() => [E(e.$slots, "optionSvg", {}, void 0, !0)]),
1343
+ fn: O(() => [T(e.$slots, "optionSvg", {}, void 0, !0)]),
1340
1344
  key: "5"
1341
1345
  } : void 0,
1342
1346
  e.$slots.optionTable ? {
1343
1347
  name: "optionTable",
1344
- fn: O(() => [E(e.$slots, "optionTable", {}, void 0, !0)]),
1348
+ fn: O(() => [T(e.$slots, "optionTable", {}, void 0, !0)]),
1345
1349
  key: "6"
1346
1350
  } : void 0,
1347
1351
  e.$slots.optionFullscreen ? {
1348
1352
  name: "optionFullscreen",
1349
- fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [E(e.$slots, "optionFullscreen", x(y({
1353
+ fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [T(e.$slots, "optionFullscreen", x(y({
1350
1354
  toggleFullscreen: t,
1351
1355
  isFullscreen: n
1352
1356
  })), void 0, !0)]),
@@ -1354,7 +1358,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1354
1358
  } : void 0,
1355
1359
  e.$slots.optionAnnotator ? {
1356
1360
  name: "optionAnnotator",
1357
- fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [E(e.$slots, "optionAnnotator", x(y({
1361
+ fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [T(e.$slots, "optionAnnotator", x(y({
1358
1362
  toggleAnnotator: t,
1359
1363
  isAnnotator: n
1360
1364
  })), void 0, !0)]),
@@ -1362,48 +1366,48 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1362
1366
  } : void 0,
1363
1367
  e.$slots.optionAltCopy ? {
1364
1368
  name: "optionAltCopy",
1365
- fn: O(({ altCopy: t }) => [E(e.$slots, "optionAltCopy", x(y({ altCopy: t })), void 0, !0)]),
1369
+ fn: O(({ altCopy: t }) => [T(e.$slots, "optionAltCopy", x(y({ altCopy: t })), void 0, !0)]),
1366
1370
  key: "9"
1367
1371
  } : void 0,
1368
1372
  e.$slots["custom-menu-before"] ? {
1369
1373
  name: "custom-menu-before",
1370
- fn: O(() => [E(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1374
+ fn: O(() => [T(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1371
1375
  key: "10"
1372
1376
  } : void 0,
1373
1377
  e.$slots["custom-menu-after"] ? {
1374
1378
  name: "custom-menu-after",
1375
- fn: O(() => [E(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1379
+ fn: O(() => [T(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1376
1380
  key: "11"
1377
1381
  } : void 0
1378
1382
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : h("", !0),
1379
- _("div", Je, [(C(), g("svg", {
1383
+ _("div", Ye, [(S(), g("svg", {
1380
1384
  ref_key: "svgRef",
1381
1385
  ref: R,
1382
- xmlns: D(ae),
1386
+ xmlns: D(se),
1383
1387
  "aria-describedby": `chart-instructions-${j.value}`,
1384
1388
  class: b({
1385
1389
  "vue-data-ui-fullscreen--on": $.value,
1386
1390
  "vue-data-ui-fulscreen--off": !$.value,
1387
- "vue-data-ui-no-transition": !D(an)
1391
+ "vue-data-ui-no-transition": !D(on)
1388
1392
  }),
1389
1393
  viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
1390
- style: S(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.color}`),
1394
+ style: Re(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.color}`),
1391
1395
  tabindex: "0",
1392
- onFocus: Nr,
1393
- onBlur: Pr,
1394
- onKeydown: Fr
1396
+ onFocus: Pr,
1397
+ onBlur: Fr,
1398
+ onKeydown: Ir
1395
1399
  }, [
1396
- Pe(D(jt)),
1397
- e.$slots["chart-background"] ? (C(), g("foreignObject", {
1400
+ Fe(D(Mt)),
1401
+ e.$slots["chart-background"] ? (S(), g("foreignObject", {
1398
1402
  key: 0,
1399
1403
  x: W.value.left,
1400
1404
  y: W.value.top,
1401
1405
  width: Math.max(.1, W.value.width),
1402
1406
  height: Math.max(.1, W.value.height),
1403
1407
  style: { pointerEvents: "none" }
1404
- }, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, Xe)) : h("", !0),
1405
- Z.value.length > 0 ? (C(), g("g", Ze, [
1406
- _("defs", null, [Pe(Ee, {
1408
+ }, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, Ze)) : h("", !0),
1409
+ Z.value.length > 0 ? (S(), g("g", Qe, [
1410
+ _("defs", null, [Fe(De, {
1407
1411
  t: "linear",
1408
1412
  id: `bearish_gradient_${j.value}`,
1409
1413
  x2: "0%",
@@ -1425,7 +1429,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1425
1429
  .4
1426
1430
  ]
1427
1431
  ]
1428
- }, null, 8, ["id", "stops"]), Pe(Ee, {
1432
+ }, null, 8, ["id", "stops"]), Fe(De, {
1429
1433
  t: "linear",
1430
1434
  id: `bullish_gradient_${j.value}`,
1431
1435
  x2: "0%",
@@ -1448,7 +1452,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1448
1452
  ]
1449
1453
  ]
1450
1454
  }, null, 8, ["id", "stops"])]),
1451
- F.value.style.layout.grid.show ? (C(), g("g", Qe, [
1455
+ F.value.style.layout.grid.show ? (S(), g("g", $e, [
1452
1456
  _("line", {
1453
1457
  x1: U.value ? W.value.right : W.value.left,
1454
1458
  x2: U.value ? W.value.right : W.value.left,
@@ -1457,7 +1461,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1457
1461
  stroke: F.value.style.layout.grid.stroke,
1458
1462
  "stroke-width": F.value.style.layout.grid.strokeWidth,
1459
1463
  "stroke-linecap": "round"
1460
- }, null, 8, $e),
1464
+ }, null, 8, et),
1461
1465
  _("line", {
1462
1466
  x1: W.value.left,
1463
1467
  x2: W.value.right,
@@ -1466,8 +1470,8 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1466
1470
  stroke: F.value.style.layout.grid.stroke,
1467
1471
  "stroke-width": F.value.style.layout.grid.strokeWidth,
1468
1472
  "stroke-linecap": "round"
1469
- }, null, 8, et),
1470
- F.value.style.layout.grid.horizontalLines.show ? (C(!0), g(f, { key: 0 }, T(zn.value, (e) => (C(), g("line", {
1473
+ }, null, 8, tt),
1474
+ F.value.style.layout.grid.horizontalLines.show ? (S(!0), g(f, { key: 0 }, w(Bn.value, (e) => (S(), g("line", {
1471
1475
  x1: W.value.left,
1472
1476
  x2: W.value.right,
1473
1477
  y1: e.y,
@@ -1476,8 +1480,8 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1476
1480
  "stroke-width": F.value.style.layout.grid.horizontalLines.strokeWidth,
1477
1481
  "stroke-dasharray": F.value.style.layout.grid.horizontalLines.strokeDasharray,
1478
1482
  "stroke-linecap": "round"
1479
- }, null, 8, tt))), 256)) : h("", !0),
1480
- F.value.style.layout.grid.verticalLines.show ? (C(!0), g(f, { key: 1 }, T(Xn.value, (e, t) => (C(), g("g", null, [e.text ? (C(), g("line", {
1483
+ }, null, 8, nt))), 256)) : h("", !0),
1484
+ F.value.style.layout.grid.verticalLines.show ? (S(!0), g(f, { key: 1 }, w(Zn.value, (e, t) => (S(), g("g", null, [e.text ? (S(), g("line", {
1481
1485
  key: 0,
1482
1486
  x1: W.value.left + Y.value * t + Y.value / 2,
1483
1487
  x2: W.value.left + Y.value * t + Y.value / 2,
@@ -1487,8 +1491,8 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1487
1491
  "stroke-width": F.value.style.layout.grid.verticalLines.strokeWidth,
1488
1492
  "stroke-dasharray": F.value.style.layout.grid.verticalLines.strokeDasharray,
1489
1493
  "stroke-linecap": "round"
1490
- }, null, 8, nt)) : h("", !0)]))), 256)) : h("", !0),
1491
- F.value.style.layout.grid.xAxis.ticks.show ? (C(!0), g(f, { key: 2 }, T(Xn.value, (e, t) => (C(), g("g", null, [e.text ? (C(), g("line", {
1494
+ }, null, 8, rt)) : h("", !0)]))), 256)) : h("", !0),
1495
+ F.value.style.layout.grid.xAxis.ticks.show ? (S(!0), g(f, { key: 2 }, w(Zn.value, (e, t) => (S(), g("g", null, [e.text ? (S(), g("line", {
1492
1496
  key: 0,
1493
1497
  x1: W.value.left + Y.value * t + Y.value / 2,
1494
1498
  x2: W.value.left + Y.value * t + Y.value / 2,
@@ -1497,13 +1501,13 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1497
1501
  stroke: F.value.style.layout.grid.stroke,
1498
1502
  "stroke-width": F.value.style.layout.grid.strokeWidth,
1499
1503
  "stroke-linecap": "round"
1500
- }, null, 8, rt)) : h("", !0)]))), 256)) : h("", !0)
1504
+ }, null, 8, it)) : h("", !0)]))), 256)) : h("", !0)
1501
1505
  ])) : h("", !0),
1502
- F.value.style.layout.grid.yAxis.dataLabels.show ? (C(), g("g", {
1506
+ F.value.style.layout.grid.yAxis.dataLabels.show ? (S(), g("g", {
1503
1507
  key: 1,
1504
1508
  ref_key: "scaleLabels",
1505
- ref: Xt
1506
- }, [(C(!0), g(f, null, T(zn.value, (e, t) => (C(), g("g", { key: `sl_${t}` }, [e.value >= X.value.min && e.value <= X.value.max ? (C(), g("line", {
1509
+ ref: Zt
1510
+ }, [(S(!0), g(f, null, w(Bn.value, (e, t) => (S(), g("g", { key: `sl_${t}` }, [e.value >= X.value.min && e.value <= X.value.max ? (S(), g("line", {
1507
1511
  key: 0,
1508
1512
  x1: U.value ? W.value.right : W.value.left,
1509
1513
  x2: U.value ? W.value.right + 5 : W.value.left - 5,
@@ -1512,37 +1516,37 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1512
1516
  stroke: F.value.style.layout.grid.stroke,
1513
1517
  "stroke-width": F.value.style.layout.grid.strokeWidth,
1514
1518
  "stroke-linecap": "round"
1515
- }, null, 8, it)) : h("", !0), e.value >= X.value.min && e.value <= X.value.max ? (C(), g("text", {
1519
+ }, null, 8, at)) : h("", !0), e.value >= X.value.min && e.value <= X.value.max ? (S(), g("text", {
1516
1520
  key: 1,
1517
- class: b({ "vue-data-ui-transition": D(an) }),
1521
+ class: b({ "vue-data-ui-transition": D(on) }),
1518
1522
  transform: `translate(${U.value ? W.value.right + 8 + F.value.style.layout.grid.yAxis.dataLabels.offsetX : W.value.left - 8 + F.value.style.layout.grid.yAxis.dataLabels.offsetX}, ${e.y + z.value.yAxisFontSize / 3})`,
1519
1523
  "text-anchor": U.value ? "start" : "end",
1520
1524
  "font-size": z.value.yAxisFontSize,
1521
1525
  fill: F.value.style.layout.grid.yAxis.dataLabels.color,
1522
1526
  "font-weight": F.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
1523
- }, Ve(D(s)({
1527
+ }, E(D(s)({
1524
1528
  p: F.value.style.layout.grid.yAxis.dataLabels.prefix,
1525
1529
  v: e.value,
1526
1530
  s: F.value.style.layout.grid.yAxis.dataLabels.suffix,
1527
1531
  r: F.value.style.layout.grid.yAxis.dataLabels.roundingValue
1528
- })), 11, at)) : h("", !0)]))), 128))], 512)) : h("", !0),
1529
- F.value.style.layout.grid.xAxis.dataLabels.show && !F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (C(), g("g", {
1532
+ })), 11, ot)) : h("", !0)]))), 128))], 512)) : h("", !0),
1533
+ F.value.style.layout.grid.xAxis.dataLabels.show && !F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (S(), g("g", {
1530
1534
  key: 2,
1531
1535
  ref_key: "timeLabelsEls",
1532
- ref: Zt
1533
- }, [(C(!0), g(f, null, T(Bn.value, (e, t) => (C(), g("g", null, [_("text", {
1536
+ ref: Qt
1537
+ }, [(S(!0), g(f, null, w(Vn.value, (e, t) => (S(), g("g", null, [_("text", {
1534
1538
  class: "vue-data-ui-time-label",
1535
1539
  transform: `translate(${W.value.left + Y.value * t + Y.value / 2}, ${W.value.bottom + z.value.xAxisFontSize * 1.5}), rotate(${F.value.style.layout.grid.xAxis.dataLabels.rotation})`,
1536
1540
  "text-anchor": F.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : F.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1537
1541
  "font-size": z.value.xAxisFontSize,
1538
1542
  fill: F.value.style.layout.grid.xAxis.dataLabels.color,
1539
1543
  "font-weight": F.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
1540
- }, Ve(e), 9, ot)]))), 256))], 512)) : h("", !0),
1541
- F.value.style.layout.grid.xAxis.dataLabels.show && F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (C(), g("g", {
1544
+ }, E(e), 9, st)]))), 256))], 512)) : h("", !0),
1545
+ F.value.style.layout.grid.xAxis.dataLabels.show && F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (S(), g("g", {
1542
1546
  key: 3,
1543
1547
  ref_key: "timeLabelsEls",
1544
- ref: Zt
1545
- }, [(C(!0), g(f, null, T(Xn.value, (e, t) => (C(), g("g", null, [_("text", {
1548
+ ref: Qt
1549
+ }, [(S(!0), g(f, null, w(Zn.value, (e, t) => (S(), g("g", null, [_("text", {
1546
1550
  class: "vue-data-ui-time-label",
1547
1551
  transform: `translate(${W.value.left + Y.value * t + Y.value / 2}, ${W.value.bottom + z.value.xAxisFontSize * 1.5}), rotate(${F.value.style.layout.grid.xAxis.dataLabels.rotation})`,
1548
1552
  "text-anchor": F.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : F.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
@@ -1554,8 +1558,8 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1554
1558
  "stroke-linejoin": "round",
1555
1559
  "paint-order": "stroke fill",
1556
1560
  "font-weight": F.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
1557
- }, Ve(e?.text ?? ""), 9, st)]))), 256))], 512)) : h("", !0),
1558
- F.value.type === "candlestick" ? (C(), g(f, { key: 4 }, [_("g", null, [(C(!0), g(f, null, T(Z.value, (e, t) => (C(), g("g", null, [
1561
+ }, E(e?.text ?? ""), 9, ct)]))), 256))], 512)) : h("", !0),
1562
+ F.value.type === "candlestick" ? (S(), g(f, { key: 4 }, [_("g", null, [(S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("g", null, [
1559
1563
  _("rect", {
1560
1564
  x: e.open.x - F.value.style.layout.wick.strokeWidth / 2,
1561
1565
  y: e.high.y,
@@ -1565,21 +1569,21 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1565
1569
  stroke: "none",
1566
1570
  rx: F.value.style.layout.wick.strokeWidth / 2,
1567
1571
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1568
- }, null, 10, ct),
1569
- F.value.style.layout.wick.extremity.shape === "circle" ? (C(), g("g", lt, [_("circle", {
1572
+ }, null, 10, lt),
1573
+ F.value.style.layout.wick.extremity.shape === "circle" ? (S(), g("g", ut, [_("circle", {
1570
1574
  cx: e.high.x,
1571
1575
  cy: e.high.y,
1572
1576
  r: F.value.style.layout.wick.extremity.size === "auto" ? Y.value / 20 : F.value.style.layout.wick.extremity.size,
1573
1577
  fill: F.value.style.layout.wick.extremity.color,
1574
1578
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1575
- }, null, 10, ut), _("circle", {
1579
+ }, null, 10, dt), _("circle", {
1576
1580
  cx: e.low.x,
1577
1581
  cy: e.low.y,
1578
1582
  r: F.value.style.layout.wick.extremity.size === "auto" ? Y.value / 20 : F.value.style.layout.wick.extremity.size,
1579
1583
  fill: F.value.style.layout.wick.extremity.color,
1580
1584
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1581
- }, null, 10, dt)])) : h("", !0),
1582
- F.value.style.layout.wick.extremity.shape === "line" ? (C(), g("g", ft, [_("rect", {
1585
+ }, null, 10, ft)])) : h("", !0),
1586
+ F.value.style.layout.wick.extremity.shape === "line" ? (S(), g("g", pt, [_("rect", {
1583
1587
  x: e.high.x - (F.value.style.layout.wick.extremity.size === "auto" ? Y.value * F.value.style.layout.candle.widthRatio : F.value.style.layout.wick.extremity.size) / 2,
1584
1588
  y: e.high.y - F.value.style.layout.wick.strokeWidth / 2,
1585
1589
  width: Math.abs(e.high.x - (F.value.style.layout.wick.extremity.size === "auto" ? Y.value * F.value.style.layout.candle.widthRatio : F.value.style.layout.wick.extremity.size) / 2 - (e.high.x + (F.value.style.layout.wick.extremity.size === "auto" ? Y.value * F.value.style.layout.candle.widthRatio : F.value.style.layout.wick.extremity.size) / 2)),
@@ -1588,7 +1592,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1588
1592
  fill: F.value.style.layout.wick.extremity.color,
1589
1593
  stroke: "none",
1590
1594
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1591
- }, null, 10, pt), _("rect", {
1595
+ }, null, 10, mt), _("rect", {
1592
1596
  x: e.low.x - (F.value.style.layout.wick.extremity.size === "auto" ? Y.value * F.value.style.layout.candle.widthRatio : F.value.style.layout.wick.extremity.size) / 2,
1593
1597
  y: e.low.y - F.value.style.layout.wick.strokeWidth / 2,
1594
1598
  width: Math.abs(e.low.x - (F.value.style.layout.wick.extremity.size === "auto" ? Y.value * F.value.style.layout.candle.widthRatio : F.value.style.layout.wick.extremity.size) / 2 - (e.low.x + (F.value.style.layout.wick.extremity.size === "auto" ? Y.value * F.value.style.layout.candle.widthRatio : F.value.style.layout.wick.extremity.size) / 2)),
@@ -1597,8 +1601,8 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1597
1601
  stroke: "none",
1598
1602
  rx: F.value.style.layout.wick.strokeWidth / 2,
1599
1603
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1600
- }, null, 10, mt)])) : h("", !0)
1601
- ]))), 256))]), _("g", null, [(C(!0), g(f, null, T(Z.value, (e, t) => (C(), g("rect", {
1604
+ }, null, 10, ht)])) : h("", !0)
1605
+ ]))), 256))]), _("g", null, [(S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("rect", {
1602
1606
  x: e.open.x - Y.value / 2 + Y.value * (1 - F.value.style.layout.candle.widthRatio) / 2,
1603
1607
  y: e.isBullish ? e.close.y : e.open.y,
1604
1608
  height: Math.abs(e.close.y - e.open.y) <= 0 ? 1e-4 : Math.abs(e.close.y - e.open.y),
@@ -1607,7 +1611,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1607
1611
  rx: F.value.style.layout.candle.borderRadius,
1608
1612
  stroke: "none",
1609
1613
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1610
- }, null, 10, ht))), 256)), (C(!0), g(f, null, T(Z.value, (e, t) => (C(), g("rect", {
1614
+ }, null, 10, gt))), 256)), (S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("rect", {
1611
1615
  x: e.open.x - Y.value / 2 + Y.value * (1 - F.value.style.layout.candle.widthRatio) / 2,
1612
1616
  y: e.isBullish ? e.close.y : e.open.y,
1613
1617
  height: Math.abs(e.close.y - e.open.y) <= 0 ? 1e-4 : Math.abs(e.close.y - e.open.y),
@@ -1619,48 +1623,48 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1619
1623
  "stroke-linecap": "round",
1620
1624
  "stroke-linejoin": "round",
1621
1625
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1622
- }, null, 10, gt))), 256))])], 64)) : h("", !0),
1623
- F.value.type === "ohlc" ? (C(!0), g(f, { key: 5 }, T(Z.value, (e, t) => (C(), g("g", { key: `ohlc_${e.absoluteIndex}` }, [_("path", {
1626
+ }, null, 10, _t))), 256))])], 64)) : h("", !0),
1627
+ F.value.type === "ohlc" ? (S(!0), g(f, { key: 5 }, w(Z.value, (e, t) => (S(), g("g", { key: `ohlc_${e.absoluteIndex}` }, [_("path", {
1624
1628
  d: `M ${e.high.x},${e.high.y} ${e.low.x},${e.low.y} M${e.open.x - Math.min(6, Y.value / 3)},${e.open.y} ${e.open.x},${e.open.y} M${e.close.x},${e.close.y} ${e.close.x + Math.min(6, Y.value / 3)},${e.close.y}`,
1625
1629
  stroke: e.isBullish ? F.value.style.layout.candle.colors.bullish : F.value.style.layout.candle.colors.bearish,
1626
1630
  "stroke-width": 1,
1627
- class: b({ "vue-data-ui-transition": D(an) }),
1631
+ class: b({ "vue-data-ui-transition": D(on) }),
1628
1632
  "stroke-linecap": "round",
1629
1633
  "stroke-linejoin": "round"
1630
- }, null, 10, _t)]))), 128)) : h("", !0),
1631
- _("g", null, [(C(!0), g(f, null, T(Z.value, (e, t) => (C(), g("rect", {
1634
+ }, null, 10, vt)]))), 128)) : h("", !0),
1635
+ _("g", null, [(S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("rect", {
1632
1636
  x: W.value.left + t * Y.value,
1633
1637
  y: W.value.top,
1634
1638
  height: W.value.height <= 0 ? 1e-4 : W.value.height,
1635
1639
  width: Y.value <= 0 ? 1e-4 : Y.value,
1636
- fill: M.value === t || en.value === t ? D(r)(F.value.style.layout.selector.color, F.value.style.layout.selector.opacity) : "transparent",
1637
- onMouseover: () => tr(t, e, "pointer"),
1638
- onMouseleave: () => er(t, e),
1639
- onClick: () => $n(t, e)
1640
- }, null, 40, vt))), 256))])
1640
+ fill: M.value === t || tn.value === t ? D(a)(F.value.style.layout.selector.color, F.value.style.layout.selector.opacity) : "transparent",
1641
+ onMouseover: () => nr(t, e, "pointer"),
1642
+ onMouseleave: () => tr(t, e),
1643
+ onClick: () => er(t, e)
1644
+ }, null, 40, yt))), 256))])
1641
1645
  ])) : h("", !0),
1642
- Dn.value ? (C(), g("rect", Fe({ key: 2 }, En.value, {
1646
+ On.value ? (S(), g("rect", Ie({ key: 2 }, Dn.value, {
1643
1647
  "data-start": K.value.start,
1644
1648
  "data-end": K.value.end
1645
- }), null, 16, yt)) : h("", !0),
1646
- E(e.$slots, "svg", { svg: {
1649
+ }), null, 16, bt)) : h("", !0),
1650
+ T(e.$slots, "svg", { svg: {
1647
1651
  ...z.value,
1648
1652
  data: Z.value,
1649
1653
  drawingArea: W.value,
1650
- isPrintingImg: D(_n) || D(vn) || D(wr),
1651
- isPrintingSvg: D(Tr)
1654
+ isPrintingImg: D(vn) || D(yn) || D(Tr),
1655
+ isPrintingSvg: D(Er)
1652
1656
  } }, void 0, !0)
1653
- ], 46, Ye)), e.$slots.hint ? (C(), g("div", bt, [E(e.$slots, "hint", x(y({
1657
+ ], 46, Xe)), e.$slots.hint ? (S(), g("div", xt, [T(e.$slots, "hint", x(y({
1654
1658
  hint: F.value.a11y.translations.keyboardNavigation,
1655
- isVisible: rn.value
1659
+ isVisible: an.value
1656
1660
  })), void 0, !0)])) : h("", !0)]),
1657
- e.$slots.watermark ? (C(), g("div", xt, [E(e.$slots, "watermark", x(y({ isPrinting: D(_n) || D(vn) || D(wr) || D(Tr) })), void 0, !0)])) : h("", !0),
1658
- F.value.style.zoom.show && G.value > 6 && Lt.value && or.value ? (C(), m(De, {
1661
+ e.$slots.watermark ? (S(), g("div", St, [T(e.$slots, "watermark", x(y({ isPrinting: D(vn) || D(yn) || D(Tr) || D(Er) })), void 0, !0)])) : h("", !0),
1662
+ F.value.style.zoom.show && G.value > 6 && Rt.value && sr.value ? (S(), m(Oe, {
1659
1663
  key: 6,
1660
1664
  ref_key: "chartSlicer",
1661
- ref: Wt,
1665
+ ref: Gt,
1662
1666
  "data-dom-to-png-ignore-layout": "",
1663
- allMinimaps: Ln.value,
1667
+ allMinimaps: Rn.value,
1664
1668
  background: F.value.style.zoom.color,
1665
1669
  borderColor: F.value.style.backgroundColor,
1666
1670
  customFormat: F.value.style.zoom.customFormat,
@@ -1673,9 +1677,9 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1673
1677
  fontSize: F.value.style.zoom.fontSize,
1674
1678
  immediate: !F.value.style.zoom.preview.enable,
1675
1679
  inputColor: F.value.style.zoom.color,
1676
- isPreview: Dn.value,
1677
- labelLeft: Zn.value.start || "",
1678
- labelRight: Zn.value.end || "",
1680
+ isPreview: On.value,
1681
+ labelLeft: Qn.value.start || "",
1682
+ labelRight: Qn.value.end || "",
1679
1683
  max: G.value,
1680
1684
  min: 0,
1681
1685
  minimap: F.value.style.zoom.minimap.show ? D(L).map((e) => e[2]) : [],
@@ -1687,7 +1691,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1687
1691
  minimapSelectedColorOpacity: F.value.style.zoom.minimap.selectedColorOpacity,
1688
1692
  minimapSelectedIndex: M.value,
1689
1693
  minimapSelectionRadius: 1,
1690
- preciseLabels: Jn.value,
1694
+ preciseLabels: Yn.value,
1691
1695
  refreshEndPoint: F.value.style.zoom.endIndex === null ? G.value : F.value.style.zoom.endIndex + 1,
1692
1696
  refreshStartPoint: F.value.style.zoom.startIndex === null ? 0 : F.value.style.zoom.startIndex,
1693
1697
  selectColor: F.value.style.zoom.highlightColor,
@@ -1695,7 +1699,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1695
1699
  smoothMinimap: !1,
1696
1700
  start: K.value.start,
1697
1701
  textColor: F.value.style.color,
1698
- timeLabels: Vn.value,
1702
+ timeLabels: Hn.value,
1699
1703
  usePreciseLabels: F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable && !F.value.style.zoom.useDefaultFormat,
1700
1704
  useResetSlot: F.value.style.zoom.useResetSlot,
1701
1705
  valueEnd: K.value.end,
@@ -1713,43 +1717,43 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1713
1717
  handleBorderColor: F.value.style.zoom.minimap.handleBorderColor,
1714
1718
  handleFill: F.value.style.zoom.minimap.handleFill,
1715
1719
  handleWidth: F.value.style.zoom.minimap.handleWidth,
1716
- "onUpdate:end": Ar,
1717
- "onUpdate:start": kr,
1718
- onTrapMouse: Or,
1719
- onReset: ir,
1720
- onFutureEnd: t[0] ||= (e) => On("end", e),
1721
- onFutureStart: t[1] ||= (e) => On("start", e)
1720
+ "onUpdate:end": jr,
1721
+ "onUpdate:start": Ar,
1722
+ onTrapMouse: kr,
1723
+ onReset: ar,
1724
+ onFutureEnd: t[0] ||= (e) => kn("end", e),
1725
+ onFutureStart: t[1] ||= (e) => kn("start", e)
1722
1726
  }, {
1723
- "reset-action": O(({ reset: t }) => [E(e.$slots, "reset-action", x(y({ reset: t })), void 0, !0)]),
1724
- slotMap: O(({ height: e, unitW: t }) => [(C(!0), g(f, null, T(In.value({
1727
+ "reset-action": O(({ reset: t }) => [T(e.$slots, "reset-action", x(y({ reset: t })), void 0, !0)]),
1728
+ slotMap: O(({ height: e, unitW: t }) => [(S(!0), g(f, null, w(Ln.value({
1725
1729
  minimapH: e,
1726
1730
  unitW: t
1727
- }), (e, n) => (C(), g("g", null, [_("path", {
1731
+ }), (e, n) => (S(), g("g", null, [_("path", {
1728
1732
  d: `M ${e.high.x},${e.high.y} ${e.low.x},${e.low.y}`,
1729
1733
  stroke: e.isBullish ? F.value.style.layout.candle.colors.bullish : F.value.style.layout.candle.colors.bearish,
1730
1734
  "stroke-width": 1,
1731
- style: S({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1732
- }, null, 12, St), _("path", {
1735
+ style: Re({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1736
+ }, null, 12, Ct), _("path", {
1733
1737
  d: `M ${e.open.x},${e.open.y} ${e.close.x},${e.close.y}`,
1734
1738
  stroke: e.isBullish ? F.value.style.layout.candle.colors.bullish : F.value.style.layout.candle.colors.bearish,
1735
1739
  "stroke-width": Math.min(6, t / 1.5),
1736
- style: S({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1737
- }, null, 12, Ct)]))), 256))]),
1740
+ style: Re({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1741
+ }, null, 12, wt)]))), 256))]),
1738
1742
  _: 3
1739
1743
  }, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.start.textColor.timeLabels.usePreciseLabels.useResetSlot.valueEnd.valueStart.verticalHandles.minScale.maxScale.maxWidth.minimapLeftInsetRatio.minimapRightInsetRatio.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : h("", !0),
1740
1744
  _("div", {
1741
1745
  ref_key: "chartLegend",
1742
- ref: Ut
1743
- }, [E(e.$slots, "legend", { legend: Z.value }, void 0, !0)], 512),
1744
- e.$slots.source ? (C(), g("div", {
1746
+ ref: Wt
1747
+ }, [T(e.$slots, "legend", { legend: Z.value }, void 0, !0)], 512),
1748
+ e.$slots.source ? (S(), g("div", {
1745
1749
  key: 7,
1746
1750
  ref_key: "source",
1747
- ref: Gt,
1751
+ ref: Kt,
1748
1752
  dir: "auto"
1749
- }, [E(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
1750
- Pe(D(Et), {
1753
+ }, [T(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
1754
+ Fe(D(Dt), {
1751
1755
  teleportTo: F.value.style.tooltip.teleportTo,
1752
- show: H.value.showTooltip && zt.value,
1756
+ show: H.value.showTooltip && Bt.value,
1753
1757
  backgroundColor: F.value.style.tooltip.backgroundColor,
1754
1758
  color: F.value.style.tooltip.color,
1755
1759
  borderRadius: F.value.style.tooltip.borderRadius,
@@ -1761,19 +1765,19 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1761
1765
  offsetX: F.value.style.tooltip.offsetX,
1762
1766
  offsetY: F.value.style.tooltip.offsetY,
1763
1767
  parent: N.value,
1764
- content: Bt.value,
1768
+ content: Vt.value,
1765
1769
  isFullscreen: $.value,
1766
1770
  isCustom: F.value.style.tooltip.customFormat && typeof F.value.style.tooltip.customFormat == "function",
1767
1771
  smooth: F.value.style.tooltip.smooth,
1768
1772
  backdropFilter: F.value.style.tooltip.backdropFilter,
1769
1773
  smoothForce: F.value.style.tooltip.smoothForce,
1770
1774
  smoothSnapThreshold: F.value.style.tooltip.smoothSnapThreshold,
1771
- isA11yMode: nn.value === "keyboard",
1772
- a11yPosition: tn.value
1775
+ isA11yMode: rn.value === "keyboard",
1776
+ a11yPosition: nn.value
1773
1777
  }, {
1774
- "tooltip-before": O(() => [E(e.$slots, "tooltip-before", x(y({ ...Qn.value })), void 0, !0)]),
1775
- tooltip: O(() => [E(e.$slots, "tooltip", x(y({ ...Qn.value })), void 0, !0)]),
1776
- "tooltip-after": O(() => [E(e.$slots, "tooltip-after", x(y({ ...Qn.value })), void 0, !0)]),
1778
+ "tooltip-before": O(() => [T(e.$slots, "tooltip-before", x(y({ ...$n.value })), void 0, !0)]),
1779
+ tooltip: O(() => [T(e.$slots, "tooltip", x(y({ ...$n.value })), void 0, !0)]),
1780
+ "tooltip-after": O(() => [T(e.$slots, "tooltip-after", x(y({ ...$n.value })), void 0, !0)]),
1777
1781
  _: 3
1778
1782
  }, 8, [
1779
1783
  "teleportTo",
@@ -1799,24 +1803,24 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1799
1803
  "isA11yMode",
1800
1804
  "a11yPosition"
1801
1805
  ]),
1802
- Lt.value && F.value.userOptions.buttons.table ? (C(), m(ze(br.value.component), Fe({ key: 8 }, br.value.props, {
1806
+ Rt.value && F.value.userOptions.buttons.table ? (S(), m(Ve(xr.value.component), Ie({ key: 8 }, xr.value.props, {
1803
1807
  ref_key: "tableUnit",
1804
- ref: Qt,
1805
- onClose: xr
1806
- }), Me({
1807
- content: O(() => [(C(), m(D(Ot), {
1808
- key: `table_${Jt.value}`,
1809
- colNames: dr.value.colNames,
1810
- head: dr.value.head,
1811
- body: dr.value.body,
1812
- config: dr.value.config,
1813
- title: F.value.table.useDialog ? "" : br.value.title,
1808
+ ref: $t,
1809
+ onClose: Sr
1810
+ }), Ne({
1811
+ content: O(() => [(S(), m(D(kt), {
1812
+ key: `table_${Yt.value}`,
1813
+ colNames: fr.value.colNames,
1814
+ head: fr.value.head,
1815
+ body: fr.value.body,
1816
+ config: fr.value.config,
1817
+ title: F.value.table.useDialog ? "" : xr.value.title,
1814
1818
  withCloseButton: !F.value.table.useDialog,
1815
- isCursorPointer: on.value,
1816
- onClose: xr
1819
+ isCursorPointer: sn.value,
1820
+ onClose: Sr
1817
1821
  }, {
1818
- th: O(({ th: e }) => [Ne(Ve(e), 1)]),
1819
- td: O(({ td: e }) => [_("div", { innerHTML: e }, null, 8, wt)]),
1822
+ th: O(({ th: e }) => [Pe(E(e), 1)]),
1823
+ td: O(({ td: e }) => [_("div", { innerHTML: e }, null, 8, Tt)]),
1820
1824
  _: 1
1821
1825
  }, 8, [
1822
1826
  "colNames",
@@ -1830,24 +1834,24 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
1830
1834
  _: 2
1831
1835
  }, [F.value.table.useDialog ? {
1832
1836
  name: "title",
1833
- fn: O(() => [Ne(Ve(br.value.title), 1)]),
1837
+ fn: O(() => [Pe(E(xr.value.title), 1)]),
1834
1838
  key: "0"
1835
1839
  } : void 0, F.value.table.useDialog ? {
1836
1840
  name: "actions",
1837
1841
  fn: O(() => [_("button", {
1838
1842
  tabindex: "0",
1839
1843
  class: "vue-ui-user-options-button",
1840
- onClick: t[2] ||= (e) => ur(F.value.userOptions.callbacks.csv),
1841
- style: S({ cursor: on.value ? "pointer" : "default" })
1842
- }, [Pe(D(Tt), {
1844
+ onClick: t[2] ||= (e) => dr(F.value.userOptions.callbacks.csv),
1845
+ style: Re({ cursor: sn.value ? "pointer" : "default" })
1846
+ }, [Fe(D(Et), {
1843
1847
  name: "fileCsv",
1844
- stroke: br.value.props.color
1848
+ stroke: xr.value.props.color
1845
1849
  }, null, 8, ["stroke"])], 4)]),
1846
1850
  key: "1"
1847
1851
  } : void 0]), 1040)) : h("", !0),
1848
- E(e.$slots, "skeleton", {}, () => [D(I) ? (C(), m(he, { key: 0 })) : h("", !0)], !0)
1849
- ], 46, Ke));
1852
+ T(e.$slots, "skeleton", {}, () => [D(I) ? (S(), m(ge, { key: 0 })) : h("", !0)], !0)
1853
+ ], 46, qe));
1850
1854
  }
1851
- }, [["__scopeId", "data-v-c8d6c74c"]]);
1855
+ }, [["__scopeId", "data-v-554e3182"]]);
1852
1856
  //#endregion
1853
- export { Ge as n, Tt as t };
1857
+ export { Ke as n, Et as t };