vue-data-ui 3.24.0 → 3.25.0

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 (183) hide show
  1. package/dist/{Arrow-CJuuMivt.js → Arrow-cWEoIMbe.js} +1 -1
  2. package/dist/{BaseDraggableDialog-9RMU4zIz.js → BaseDraggableDialog-obpncsqR.js} +2 -2
  3. package/dist/{BaseIcon-U0y1Y7dC.js → BaseIcon-Dmgd8MfJ.js} +1 -1
  4. package/dist/{BaseLegendToggle-B_wibe7d.js → BaseLegendToggle-Dj1a_tSb.js} +1 -1
  5. package/dist/{BaseZoomControls-DXDTBATh.js → BaseZoomControls-CdYm4Qh4.js} +2 -2
  6. package/dist/{ColorPicker-Diee0Pe9.js → ColorPicker-B93_eq_J.js} +2 -2
  7. package/dist/{DataTable-1Lsn9w61.js → DataTable-D6vq6n14.js} +2 -2
  8. package/dist/{HillActions-DntqVj-0.js → HillActions-D0OMo0PZ.js} +1 -1
  9. package/dist/{Legend-Cg1jtWxv.js → Legend-Du6YK6gu.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-aCu8CNkj.js → NonSvgPenAndPaper-DbwjIxnE.js} +3 -3
  11. package/dist/{PackageVersion-CrLLZ567.js → PackageVersion-CU9Hflo-.js} +1 -1
  12. package/dist/{PenAndPaper-ktbpEc-t.js → PenAndPaper-CD5tlFYh.js} +3 -3
  13. package/dist/{Shape-BV_BCG2F.js → Shape-Dqpgbk7w.js} +1 -1
  14. package/dist/{SlicerPreview-CsFT236o.js → SlicerPreview-BSjcCjhA.js} +2 -2
  15. package/dist/{SparkTooltip-BqzJa3h2.js → SparkTooltip-Da4O7iOD.js} +1 -1
  16. package/dist/{Title-C5ytqOnj.js → Title-y2KUSK-I.js} +1 -1
  17. package/dist/{Tooltip-CTgk02J6.js → Tooltip-CLpW5URN.js} +1 -1
  18. package/dist/{UserOptions-DJt-e5q0.js → UserOptions-3Qr8es3g.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-K9hvrmBm.js → dom-to-png-CQUIoewh.js} +1 -1
  91. package/dist/{exposedLib-CNHCqGuG.js → exposedLib-4fR8MXNd.js} +1 -1
  92. package/dist/{img-DRq3Equ5.js → img-D3Ck2d_T.js} +1 -1
  93. package/dist/{labelUtils-CSh956Gz.js → labelUtils-CJ6EaaYo.js} +1 -1
  94. package/dist/{lib-DfMn_3jf.js → lib-DurLxjMz.js} +21 -42
  95. package/dist/{package-DwX5gXIb.js → package-CawqE4gj.js} +1 -1
  96. package/dist/{pdf-CglSdC4O.js → pdf-2aQfvzB9.js} +1 -1
  97. package/dist/{render-common-DruozHP7.js → render-common-DrbN2WgW.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/types/vue-data-ui.d.ts +6 -0
  103. package/dist/{useConfig-BtJSJ6AK.js → useConfig-CyCVHo81.js} +27 -17
  104. package/dist/{useNestedProp-CLEe1P5W.js → useNestedProp-B3XMQAL1.js} +1 -1
  105. package/dist/{useObjectBindings-CgRKOMSB.js → useObjectBindings-ByORl1rV.js} +1 -1
  106. package/dist/{usePrinter-Daqyj6c7.js → usePrinter-D53IAxB2.js} +2 -2
  107. package/dist/utils.js +3 -3
  108. package/dist/{vue-data-ui-C37q2rbt.js → vue-data-ui-DHA6rnQ7.js} +70 -70
  109. package/dist/vue-data-ui.js +74 -74
  110. package/dist/{vue-ui-3d-bar-B_z643_d.js → vue-ui-3d-bar-B3bLF2Fp.js} +7 -7
  111. package/dist/{vue-ui-accordion-BhOSscZB.js → vue-ui-accordion-D2W-dY3E.js} +4 -4
  112. package/dist/{vue-ui-age-pyramid-CS1J-mHZ.js → vue-ui-age-pyramid-CvRi9Web.js} +7 -7
  113. package/dist/{vue-ui-annotator-DmTbmRrw.js → vue-ui-annotator-BTozB0Fb.js} +7 -7
  114. package/dist/{vue-ui-bullet-BUuF_-rE.js → vue-ui-bullet-BbCPpZ5k.js} +8 -8
  115. package/dist/{vue-ui-bump-Dt13LCR2.js → vue-ui-bump-FZIoCybJ.js} +100 -96
  116. package/dist/{vue-ui-candlestick-CgvK082R.js → vue-ui-candlestick-IlS8zO5O.js} +431 -416
  117. package/dist/{vue-ui-carousel-table-C6IZZLpG.js → vue-ui-carousel-table-DokjHbNr.js} +5 -5
  118. package/dist/{vue-ui-chestnut-B03dTYpe.js → vue-ui-chestnut-DoUFUSVm.js} +6 -6
  119. package/dist/{vue-ui-chord-R7YLYkOS.js → vue-ui-chord-6t-7dxVu.js} +9 -9
  120. package/dist/{vue-ui-circle-pack-CxIJbXSK.js → vue-ui-circle-pack-CexF2pcc.js} +7 -7
  121. package/dist/{vue-ui-cursor-Bqm8zbqD.js → vue-ui-cursor-YbgOW5z6.js} +4 -4
  122. package/dist/{vue-ui-dag-TqlqeLgZ.js → vue-ui-dag-B4RKzj4H.js} +8 -8
  123. package/dist/{vue-ui-dashboard-W0PV1gGV.js → vue-ui-dashboard-BUXA_h5X.js} +70 -70
  124. package/dist/{vue-ui-digits-D3VKW9O0.js → vue-ui-digits-C4eNwkQW.js} +4 -4
  125. package/dist/{vue-ui-donut-8W7ZV_hU.js → vue-ui-donut-BS9ICnxW.js} +3 -3
  126. package/dist/{vue-ui-donut-C_CUqRdv.js → vue-ui-donut-DBhaQARJ.js} +11 -11
  127. package/dist/{vue-ui-donut-evolution-CHQHSkpq.js → vue-ui-donut-evolution-B0v3uJNo.js} +10 -10
  128. package/dist/{vue-ui-dumbbell-D3G5uL-P.js → vue-ui-dumbbell-Dj-FFcXl.js} +8 -8
  129. package/dist/{vue-ui-flow-CjvO8Fsp.js → vue-ui-flow-CGjXnUTR.js} +8 -8
  130. package/dist/{vue-ui-funnel-eHR9hTpj.js → vue-ui-funnel-B8qoKSY6.js} +7 -7
  131. package/dist/{vue-ui-galaxy-DBarvxFP.js → vue-ui-galaxy-BOqqpg7g.js} +10 -10
  132. package/dist/{vue-ui-gauge-Cz6PC_H5.js → vue-ui-gauge-C6gbloYZ.js} +7 -7
  133. package/dist/{vue-ui-geo-BmjzP6NK.js → vue-ui-geo-BMRhXP7L.js} +8 -8
  134. package/dist/{vue-ui-gizmo-BChwImvX.js → vue-ui-gizmo-DjnW3oDO.js} +4 -4
  135. package/dist/{vue-ui-heatmap-h0_V5jv6.js → vue-ui-heatmap-DyxHJCSO.js} +8 -8
  136. package/dist/{vue-ui-hill-D_2DFdNy.js → vue-ui-hill-C4osOxU0.js} +7 -7
  137. package/dist/{vue-ui-history-plot-Bis3f9Ub.js → vue-ui-history-plot-Cwi7sVNg.js} +9 -9
  138. package/dist/{vue-ui-horizontal-bar-2AOgQ694.js → vue-ui-horizontal-bar-CrgP4Bm8.js} +11 -11
  139. package/dist/{vue-ui-kpi-k0yLSsqF.js → vue-ui-kpi-is2_nVkE.js} +4 -4
  140. package/dist/{vue-ui-label-aHnVFvfK.js → vue-ui-label-BbX73tEX.js} +4 -4
  141. package/dist/{vue-ui-mini-loader-DUsSEO5b.js → vue-ui-mini-loader-DntLxOr0.js} +3 -3
  142. package/dist/{vue-ui-molecule--1J4__BY.js → vue-ui-molecule-CIY3r7HA.js} +6 -6
  143. package/dist/{vue-ui-mood-radar-BEruKK_i.js → vue-ui-mood-radar-CezYlJmD.js} +8 -8
  144. package/dist/{vue-ui-nested-donuts-MBeHoc-t.js → vue-ui-nested-donuts-CF7YdoRx.js} +10 -10
  145. package/dist/{vue-ui-onion-j0eEGvru.js → vue-ui-onion-Chk8CzSw.js} +10 -10
  146. package/dist/{vue-ui-parallel-coordinate-plot-BvuYSu3N.js → vue-ui-parallel-coordinate-plot-hKkob-cX.js} +10 -10
  147. package/dist/{vue-ui-quadrant-DWtwr7JT.js → vue-ui-quadrant-B3Wy4REJ.js} +10 -10
  148. package/dist/{vue-ui-quick-chart-vhICAvQe.js → vue-ui-quick-chart-rUvFKRs1.js} +8 -8
  149. package/dist/{vue-ui-radar-e9eoRxOC.js → vue-ui-radar-DA5EnHNt.js} +9 -9
  150. package/dist/{vue-ui-rating-WsMfVsJN.js → vue-ui-rating-DglGQ_DQ.js} +3 -3
  151. package/dist/{vue-ui-relation-circle-NgJ8121q.js → vue-ui-relation-circle-ta7aeXOK.js} +7 -7
  152. package/dist/{vue-ui-ridgeline-BZ1Czz8V.js → vue-ui-ridgeline-BDqNGJ20.js} +20 -13
  153. package/dist/{vue-ui-rings-grgJPuxE.js → vue-ui-rings-BbSBLvb4.js} +13 -13
  154. package/dist/{vue-ui-scatter-DuqZxbZD.js → vue-ui-scatter-DwgFHsYb.js} +10 -10
  155. package/dist/{vue-ui-skeleton-CnexlOV6.js → vue-ui-skeleton-UP0Bv65Q.js} +4 -4
  156. package/dist/{vue-ui-smiley-Bvs5RJtM.js → vue-ui-smiley-CmN35dmK.js} +3 -3
  157. package/dist/{vue-ui-spark-trend-C2knAS0F.js → vue-ui-spark-trend-BHC8GKeh.js} +4 -4
  158. package/dist/vue-ui-sparkbar-DG5Lx7L_.js +401 -0
  159. package/dist/{vue-ui-sparkgauge-CCkcq4Wh.js → vue-ui-sparkgauge-Budj4a8D.js} +4 -4
  160. package/dist/{vue-ui-sparkhistogram-B-fzheQo.js → vue-ui-sparkhistogram-EF6l_8DB.js} +5 -5
  161. package/dist/{vue-ui-sparkline-DVYlqELY.js → vue-ui-sparkline-Bt3WUBs7.js} +4 -4
  162. package/dist/vue-ui-sparkstackbar-zcc269TN.js +738 -0
  163. package/dist/{vue-ui-stackbar-CIUS0xkc.js → vue-ui-stackbar-RFBCfoIt.js} +612 -596
  164. package/dist/vue-ui-stackline-B2cHovb4.js +2463 -0
  165. package/dist/{vue-ui-strip-plot-Sshmlk9v.js → vue-ui-strip-plot-Cu-cVKCS.js} +8 -8
  166. package/dist/{vue-ui-table-DSUvcqI9.js → vue-ui-table-BukgLZ8K.js} +6 -6
  167. package/dist/{vue-ui-table-heatmap-btnDozZ-.js → vue-ui-table-heatmap-y9oWnS6t.js} +6 -6
  168. package/dist/{vue-ui-table-sparkline-C12IgrZG.js → vue-ui-table-sparkline-B4V_s9rK.js} +5 -5
  169. package/dist/{vue-ui-thermometer-3ZSPCE1q.js → vue-ui-thermometer-CqVDnPmF.js} +7 -7
  170. package/dist/{vue-ui-timer-Birf1RVz.js → vue-ui-timer-D2pn3RWL.js} +6 -6
  171. package/dist/{vue-ui-tiremarks-BuzKLW5l.js → vue-ui-tiremarks-BMIIhkaB.js} +7 -7
  172. package/dist/{vue-ui-treemap-DMwq5MYv.js → vue-ui-treemap-fFJPPf8-.js} +10 -10
  173. package/dist/{vue-ui-waffle-wjn4e1mz.js → vue-ui-waffle-B9TaBdel.js} +11 -11
  174. package/dist/{vue-ui-wheel-BS6f8xC-.js → vue-ui-wheel-BN-YBzNj.js} +7 -7
  175. package/dist/{vue-ui-word-cloud-BH1JB5hg.js → vue-ui-word-cloud-CZzUlZBc.js} +8 -8
  176. package/dist/{vue-ui-world-DtNML6Oz.js → vue-ui-world-C--4pHTs.js} +8 -8
  177. package/dist/{vue-ui-xy-DNvRGCN_.js → vue-ui-xy-16TcfetH.js} +47 -28
  178. package/dist/{vue-ui-xy-B9S7cAhC.js → vue-ui-xy-BTh5QolL.js} +31 -17
  179. package/dist/{vue-ui-xy-canvas-Hk0x8dd_.js → vue-ui-xy-canvas-BzbNRbft.js} +12 -12
  180. package/package.json +3 -3
  181. package/dist/vue-ui-sparkbar-Daxkni2h.js +0 -400
  182. package/dist/vue-ui-sparkstackbar-pip0BOeZ.js +0 -688
  183. package/dist/vue-ui-stackline-Dy4tIQwk.js +0 -2447
@@ -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 } from "./lib-DfMn_3jf.js";
3
- import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
4
- import { n as ce, r as le, t as ue } from "./useTimeLabels-d2f-W1L4.js";
5
- import { t as de } from "./useConfig-BtJSJ6AK.js";
6
- import { t as fe } from "./usePrinter-Daqyj6c7.js";
7
- import { n as pe, t as me } from "./BaseScanner-DZvpgOjM.js";
8
- import { t as he } from "./useNestedProp-CLEe1P5W.js";
9
- import { t as ge } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as _e } from "./useChartExport-iwOqiIWX.js";
11
- import { t as ve } from "./useTransitions-g_zBREk2.js";
12
- import { t as ye } from "./useTimeLabelCollider-AEcY4Ioe.js";
13
- import { t as be } from "./img-DRq3Equ5.js";
14
- import { n as xe } from "./Title-C5ytqOnj.js";
15
- import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
- import { l as Ce, t as we } from "./useResponsive-ZtArZtUf.js";
17
- import { t as Te } from "./DefGrad-DVBqDjhO.js";
18
- import { t as Ee } from "./SlicerPreview-CsFT236o.js";
19
- import { t as De } from "./A11yDataTable-DdRsVULz.js";
20
- import { t as Oe } from "./useUserOptionState-DK-_1ddE.js";
21
- import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
22
- import { t as Ae } from "./vue_ui_candlestick-J8jmJvxP.js";
23
- import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as je, createTextVNode as Me, createVNode as Ne, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as Pe, nextTick as Fe, normalizeClass as b, normalizeProps as x, normalizeStyle as Ie, onBeforeUnmount as Le, onMounted as Re, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as ze, shallowRef as Be, toDisplayString as E, toRefs as Ve, unref as D, watch as He, watchEffect as Ue, withCtx as O } from "vue";
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-DurLxjMz.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-D53IAxB2.js";
7
+ import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
8
+ import { t as ge } from "./useNestedProp-B3XMQAL1.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-D3Ck2d_T.js";
14
+ import { n as Se } from "./Title-y2KUSK-I.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-BSjcCjhA.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";
24
24
  //#region src/components/vue-ui-candlestick.vue
25
- var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe = { style: { position: "relative" } }, Je = [
25
+ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je = { style: { position: "relative" } }, Ye = [
26
26
  "xmlns",
27
27
  "aria-describedby",
28
28
  "viewBox"
29
- ], Ye = [
29
+ ], Xe = [
30
30
  "x",
31
31
  "y",
32
32
  "width",
33
33
  "height"
34
- ], Xe = { key: 1 }, Ze = { key: 0 }, Qe = [
34
+ ], Ze = { key: 1 }, Qe = { key: 0 }, $e = [
35
35
  "x1",
36
36
  "x2",
37
37
  "y1",
38
38
  "y2",
39
39
  "stroke",
40
40
  "stroke-width"
41
- ], $e = [
41
+ ], et = [
42
42
  "x1",
43
43
  "x2",
44
44
  "y1",
45
45
  "y2",
46
46
  "stroke",
47
47
  "stroke-width"
48
- ], et = [
48
+ ], tt = [
49
49
  "x1",
50
50
  "x2",
51
51
  "y1",
@@ -53,7 +53,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
53
53
  "stroke",
54
54
  "stroke-width",
55
55
  "stroke-dasharray"
56
- ], tt = [
56
+ ], nt = [
57
57
  "x1",
58
58
  "x2",
59
59
  "y1",
@@ -61,77 +61,78 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
61
61
  "stroke",
62
62
  "stroke-width",
63
63
  "stroke-dasharray"
64
- ], nt = [
64
+ ], rt = [
65
65
  "x1",
66
66
  "x2",
67
67
  "y1",
68
68
  "y2",
69
69
  "stroke",
70
70
  "stroke-width"
71
- ], rt = [
71
+ ], it = [
72
72
  "x1",
73
73
  "x2",
74
74
  "y1",
75
75
  "y2",
76
76
  "stroke",
77
77
  "stroke-width"
78
- ], it = [
78
+ ], at = [
79
79
  "transform",
80
80
  "text-anchor",
81
81
  "font-size",
82
82
  "fill",
83
83
  "font-weight"
84
- ], at = [
84
+ ], ot = [
85
85
  "transform",
86
86
  "text-anchor",
87
87
  "font-size",
88
88
  "fill",
89
89
  "font-weight"
90
- ], ot = [
90
+ ], st = [
91
91
  "transform",
92
92
  "text-anchor",
93
93
  "font-size",
94
94
  "fill",
95
+ "stroke",
95
96
  "font-weight"
96
- ], st = [
97
+ ], ct = [
97
98
  "x",
98
99
  "y",
99
100
  "width",
100
101
  "height",
101
102
  "fill",
102
103
  "rx"
103
- ], ct = { key: 0 }, lt = [
104
+ ], lt = { key: 0 }, ut = [
104
105
  "cx",
105
106
  "cy",
106
107
  "r",
107
108
  "fill"
108
- ], ut = [
109
+ ], dt = [
109
110
  "cx",
110
111
  "cy",
111
112
  "r",
112
113
  "fill"
113
- ], dt = { key: 1 }, ft = [
114
+ ], ft = { key: 1 }, pt = [
114
115
  "x",
115
116
  "y",
116
117
  "width",
117
118
  "height",
118
119
  "rx",
119
120
  "fill"
120
- ], pt = [
121
+ ], mt = [
121
122
  "x",
122
123
  "y",
123
124
  "width",
124
125
  "height",
125
126
  "fill",
126
127
  "rx"
127
- ], mt = [
128
+ ], ht = [
128
129
  "x",
129
130
  "y",
130
131
  "height",
131
132
  "width",
132
133
  "fill",
133
134
  "rx"
134
- ], ht = [
135
+ ], gt = [
135
136
  "x",
136
137
  "y",
137
138
  "height",
@@ -140,7 +141,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
140
141
  "rx",
141
142
  "stroke",
142
143
  "stroke-width"
143
- ], gt = ["d", "stroke"], _t = [
144
+ ], _t = ["d", "stroke"], vt = [
144
145
  "x",
145
146
  "y",
146
147
  "height",
@@ -149,7 +150,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
149
150
  "onMouseover",
150
151
  "onMouseleave",
151
152
  "onClick"
152
- ], vt = ["data-start", "data-end"], yt = {
153
+ ], yt = ["data-start", "data-end"], bt = {
153
154
  key: 0,
154
155
  style: {
155
156
  position: "absolute",
@@ -159,14 +160,14 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
159
160
  },
160
161
  "data-dom-to-png-ignore": "",
161
162
  "aria-hidden": "true"
162
- }, bt = {
163
+ }, xt = {
163
164
  key: 5,
164
165
  class: "vue-data-ui-watermark"
165
- }, xt = ["d", "stroke"], St = [
166
+ }, St = ["d", "stroke"], Ct = [
166
167
  "d",
167
168
  "stroke",
168
169
  "stroke-width"
169
- ], Ct = ["innerHTML"], wt = /*#__PURE__*/ Se({
170
+ ], wt = ["innerHTML"], Tt = /*#__PURE__*/ Ce({
170
171
  __name: "vue-ui-candlestick",
171
172
  props: {
172
173
  config: {
@@ -187,16 +188,16 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
187
188
  }
188
189
  },
189
190
  emits: ["selectX", "copyAlt"],
190
- setup(e, { expose: Se, emit: We }) {
191
- let wt = v(() => import("./BaseIcon-U0y1Y7dC.js").then((e) => e.n)), Tt = v(() => import("./Tooltip-CTgk02J6.js")), Et = v(() => import("./vue-ui-accordion-BhOSscZB.js").then((e) => e.n)), Dt = v(() => import("./DataTable-1Lsn9w61.js")), Ot = v(() => import("./PenAndPaper-ktbpEc-t.js").then((e) => e.t)), kt = v(() => import("./UserOptions-DJt-e5q0.js").then((e) => e.n)), At = v(() => import("./PackageVersion-CrLLZ567.js").then((e) => e.t)), jt = v(() => import("./BaseDraggableDialog-9RMU4zIz.js").then((e) => e.n)), { vue_ui_candlestick: Mt } = de(), { isThemeValid: Nt, warnInvalidTheme: Pt } = ge(), k = e, Ft = We, It = p(() => !!k.dataset && k.dataset.length), A = C(!1), Lt = C(null), j = C(ie()), Rt = C(!1), zt = C(""), M = C(void 0), Bt = C(0), N = C(null), Vt = C(null), Ht = C(null), Ut = C(null), Wt = C(null), Gt = C(null), Kt = C(0), qt = C(0), Jt = C(0), Yt = C(null), Xt = C(null), Zt = C(null), Qt = C(null), $t = C(null), P = C(null), en = C({
191
+ setup(e, { expose: Ce, emit: Ge }) {
192
+ let Tt = v(() => import("./BaseIcon-Dmgd8MfJ.js").then((e) => e.n)), Et = v(() => import("./Tooltip-CLpW5URN.js")), Dt = v(() => import("./vue-ui-accordion-D2W-dY3E.js").then((e) => e.n)), Ot = v(() => import("./DataTable-D6vq6n14.js")), kt = v(() => import("./PenAndPaper-CD5tlFYh.js").then((e) => e.t)), At = v(() => import("./UserOptions-3Qr8es3g.js").then((e) => e.n)), jt = v(() => import("./PackageVersion-CU9Hflo-.js").then((e) => e.t)), Mt = v(() => import("./BaseDraggableDialog-obpncsqR.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({
192
193
  x: 0,
193
194
  y: 0
194
- }), tn = C("pointer"), nn = C(!1), F = C(pn());
195
- oe({
195
+ }), nn = w("pointer"), rn = w(!1), F = w(mn());
196
+ se({
196
197
  config: () => F.value,
197
198
  dataset: () => k.dataset,
198
199
  component: "VueUiCandlestick",
199
- rules: [se.emptyArray, {
200
+ rules: [ce.emptyArray, {
200
201
  test: (e) => e.length > 200,
201
202
  message: [
202
203
  "👀 Dataset has > 200 points, which can cause performance issues. Consider:",
@@ -207,10 +208,10 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
207
208
  ]
208
209
  }]
209
210
  });
210
- let { transitionEnabled: rn } = ve({
211
+ let { transitionEnabled: an } = ye({
211
212
  config: () => F.value.transitions,
212
213
  dataset: () => k.dataset
213
- }), an = p(() => F.value.userOptions.useCursorPointer), on = p(() => c({
214
+ }), on = p(() => F.value.userOptions.useCursorPointer), sn = p(() => c({
214
215
  defaultConfig: {
215
216
  useCssAnimation: !1,
216
217
  userOptions: { show: !1 },
@@ -248,13 +249,13 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
248
249
  }
249
250
  },
250
251
  userConfig: F.value.skeletonConfig ?? {}
251
- })), { loading: I, FINAL_DATASET: L, manualLoading: sn } = pe({
252
- ...Ve(k),
252
+ })), { loading: I, FINAL_DATASET: L, manualLoading: cn } = me({
253
+ ...He(k),
253
254
  FINAL_CONFIG: F,
254
- prepareConfig: pn,
255
+ prepareConfig: mn,
255
256
  callback: () => {
256
257
  Promise.resolve().then(async () => {
257
- await sr();
258
+ await cr();
258
259
  });
259
260
  },
260
261
  skeletonDataset: k.config?.skeletonDataset ?? [
@@ -357,31 +358,33 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
357
358
  ],
358
359
  skeletonConfig: c({
359
360
  defaultConfig: F.value,
360
- userConfig: on.value
361
+ userConfig: sn.value
361
362
  })
362
- }), { userOptionsVisible: cn, setUserOptionsVisibility: ln, keepUserOptionState: un } = Oe({ config: F.value }), { svgRef: R } = ke({ config: F.value.style.title });
363
- function dn() {
364
- ln(!0);
365
- }
363
+ }), { userOptionsVisible: ln, setUserOptionsVisibility: un, keepUserOptionState: dn } = ke({ config: F.value }), { svgRef: R } = Ae({ config: F.value.style.title });
366
364
  function fn() {
367
- ln(!1), Ft("selectX", {
365
+ un(!0);
366
+ }
367
+ function pn() {
368
+ un(!1), It("selectX", {
368
369
  seriesIndex: null,
369
370
  datapoint: null
370
371
  }), M.value = null;
371
372
  }
372
- function pn() {
373
- let e = he({
373
+ function mn() {
374
+ let e = ge({
374
375
  userConfig: k.config,
375
- defaultConfig: Mt
376
- }), t = {}, n = e.theme;
376
+ defaultConfig: Nt
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);
379
+ let n = e.theme;
377
380
  if (n) {
378
- if (!Nt.value(e)) Pt(e), t = e;
381
+ if (!Pt.value(e)) Ft(e), t = e;
379
382
  else {
380
- let r = he({
381
- userConfig: Ae[n] || k.config,
383
+ let r = ge({
384
+ userConfig: je[n] || k.config,
382
385
  defaultConfig: e
383
386
  });
384
- t = { ...he({
387
+ t = { ...ge({
385
388
  userConfig: k.config,
386
389
  defaultConfig: r
387
390
  }) };
@@ -389,38 +392,38 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
389
392
  } else t = e;
390
393
  return t;
391
394
  }
392
- He(() => k.config, (e) => {
393
- I.value || (F.value = pn()), cn.value = !F.value.userOptions.showOnChartHover, hn(), Kt.value += 1, Jt.value += 1, qt.value += 1, H.value.showTable = F.value.table.show, H.value.showTooltip = F.value.style.tooltip.show, On();
394
- }, { deep: !0 }), He(() => k.dataset, (e) => {
395
- Array.isArray(e) && e.length > 0 && (sn.value = !1), rr();
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();
396
399
  }, { deep: !0 });
397
- let z = C({
400
+ let z = w({
398
401
  height: F.value.style.height,
399
402
  width: F.value.style.width,
400
403
  xAxisFontSize: F.value.style.layout.grid.xAxis.dataLabels.fontSize,
401
404
  yAxisFontSize: F.value.style.layout.grid.yAxis.dataLabels.fontSize
402
405
  }), B = Be(null), V = Be(null);
403
406
  Re(() => {
404
- hn();
407
+ gn();
405
408
  });
406
- let mn = p(() => F.value.debug);
407
- function hn() {
409
+ let hn = p(() => F.value.debug);
410
+ function gn() {
408
411
  if (i(k.dataset) && (d({
409
412
  componentName: "VueUiCandlestick",
410
413
  type: "dataset",
411
- debug: mn.value
412
- }), sn.value = !0), i(k.dataset) || (sn.value = F.value.loading), setTimeout(() => {
414
+ debug: hn.value
415
+ }), cn.value = !0), i(k.dataset) || (cn.value = F.value.loading), setTimeout(() => {
413
416
  A.value = !0;
414
417
  }, 10), F.value.responsive) {
415
- let e = Ce(() => {
418
+ let e = we(() => {
416
419
  A.value = !1;
417
- let { width: e, height: t } = we({
420
+ let { width: e, height: t } = Te({
418
421
  chart: N.value,
419
- title: F.value.style.title.text ? Vt.value : null,
420
- slicer: F.value.style.zoom.show && G.value > 6 ? Ut.value.$el : null,
421
- legend: Ht.value,
422
- source: Wt.value,
423
- noTitle: Gt.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
424
427
  });
425
428
  requestAnimationFrame(() => {
426
429
  z.value.width = e, z.value.height = t - 12, F.value.responsiveProportionalSizing ? (z.value.xAxisFontSize = l({
@@ -435,45 +438,45 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
435
438
  source: F.value.style.layout.grid.yAxis.dataLabels.fontSize,
436
439
  threshold: 6,
437
440
  fallback: 6
438
- })) : (z.value.xAxisFontSize = F.value.style.layout.grid.xAxis.dataLabels.fontSize, z.value.yAxisFontSize = F.value.style.layout.grid.yAxis.dataLabels.fontSize), Lt.value && clearTimeout(Lt.value), Lt.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), Rt.value && clearTimeout(Rt.value), Rt.value = setTimeout(() => {
439
442
  A.value = !0;
440
443
  }, 10);
441
444
  });
442
445
  });
443
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);
444
447
  }
445
- sr();
448
+ cr();
446
449
  }
447
450
  Le(() => {
448
451
  B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
449
452
  });
450
- let { isPrinting: gn, isImaging: _n, generatePdf: vn, generateImage: yn } = fe({
453
+ let { isPrinting: _n, isImaging: vn, generatePdf: yn, generateImage: bn } = pe({
451
454
  elementId: `vue-ui-candlestick_${j.value}`,
452
455
  fileName: F.value.style.title.text || "vue-ui-candlestick",
453
456
  options: F.value.userOptions.print
454
- }), bn = p(() => F.value.userOptions.show && !F.value.style.title.text), H = C({
457
+ }), xn = p(() => F.value.userOptions.show && !F.value.style.title.text), H = w({
455
458
  showTable: F.value.table.show,
456
459
  showTooltip: F.value.style.tooltip.show
457
- }), xn = C(0), Sn = Ce((e) => {
458
- xn.value = e;
460
+ }), Sn = w(0), Cn = we((e) => {
461
+ Sn.value = e;
459
462
  }, 100);
460
- Ue((e) => {
461
- let t = Xt.value;
463
+ We((e) => {
464
+ let t = Zt.value;
462
465
  if (!t) return;
463
466
  let n = new ResizeObserver((e) => {
464
- Sn(e[0].contentRect.height);
467
+ Cn(e[0].contentRect.height);
465
468
  });
466
469
  n.observe(t), e(() => n.disconnect());
467
470
  }), Le(() => {
468
- xn.value = 0;
471
+ Sn.value = 0;
469
472
  });
470
- let Cn = p(() => {
473
+ let wn = p(() => {
471
474
  let e = 0;
472
- return Xt.value && (e = xn.value + z.value.xAxisFontSize), e;
475
+ return Zt.value && (e = Sn.value + z.value.xAxisFontSize), e;
473
476
  }), U = p(() => F.value.style.layout.grid.yAxis.position === "right");
474
- function wn() {
477
+ function Tn() {
475
478
  let e = F.value.style.layout.grid.yAxis.dataLabels.offsetX;
476
- Yt.value && (e = Array.from(Yt.value.querySelectorAll("text")).reduce((e, t) => {
479
+ Xt.value && (e = Array.from(Xt.value.querySelectorAll("text")).reduce((e, t) => {
477
480
  let n = t.getComputedTextLength();
478
481
  return n > e ? n : e;
479
482
  }, 0));
@@ -487,19 +490,19 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
487
490
  };
488
491
  }
489
492
  let W = p(() => {
490
- let { top: e, right: t, bottom: n, left: r } = F.value.style.layout.padding, i = wn();
493
+ let { top: e, right: t, bottom: n, left: r } = F.value.style.layout.padding, i = Tn();
491
494
  return {
492
495
  top: e + 12,
493
496
  right: z.value.width - t - i.right,
494
497
  left: r + i.left,
495
- bottom: z.value.height - n - Cn.value,
498
+ bottom: z.value.height - n - wn.value,
496
499
  width: z.value.width - r - t - i.left - i.right,
497
- height: z.value.height - e - n - Cn.value - 12,
500
+ height: z.value.height - e - n - wn.value - 12,
498
501
  scaleLabelsWidth: i.scaleLabelsWidth,
499
502
  yAxisNameWidth: i.yAxisNameWidth,
500
503
  crosshair: i.crosshair
501
504
  };
502
- }), Tn = p(() => {
505
+ }), En = p(() => {
503
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));
504
507
  return {
505
508
  x: e + l * o,
@@ -518,24 +521,24 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
518
521
  animation: "none !important"
519
522
  }
520
523
  };
521
- }), G = p(() => L.value.length), K = C({
524
+ }), G = p(() => L.value.length), K = w({
522
525
  start: 0,
523
526
  end: G.value
524
- }), q = C({
527
+ }), q = w({
525
528
  start: 0,
526
529
  end: G.value
527
- }), En = p(() => F.value.style.zoom.preview.enable && (q.value.start !== K.value.start || q.value.end !== K.value.end));
528
- function Dn(e, t) {
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) {
529
532
  q.value[e] = t;
530
533
  }
531
- function On() {
534
+ function kn() {
532
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));
533
- (!Number.isFinite(e) || !Number.isFinite(t) || t <= e) && (e = 0, t = G.value), K.value.start = e, K.value.end = t, q.value.start = e, q.value.end = t, Ut.value && (Ut.value.setStartValue(e), Ut.value.setEndValue(t));
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));
534
537
  }
535
- let kn = p(() => L.value.map((e, t) => ({
538
+ let An = p(() => L.value.map((e, t) => ({
536
539
  ...e,
537
540
  absoluteIndex: t
538
- }))), An = p(() => kn.value.slice(K.value.start, K.value.end)), J = p(() => (mn.value && L.value.forEach((e, t) => {
541
+ }))), jn = p(() => An.value.slice(K.value.start, K.value.end)), J = p(() => (hn.value && L.value.forEach((e, t) => {
539
542
  [null, void 0].includes(e[0]) && d({
540
543
  componentName: "VueUiCandlestick",
541
544
  type: "datasetAttribute",
@@ -567,7 +570,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
567
570
  property: "volume (index 5)",
568
571
  index: t
569
572
  });
570
- }), An.value.map((e) => ({
573
+ }), jn.value.map((e) => ({
571
574
  absoluteIndex: e.absoluteIndex,
572
575
  period: e[0],
573
576
  open: e[1],
@@ -575,7 +578,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
575
578
  low: e[3],
576
579
  close: e[4],
577
580
  volume: e[5]
578
- })))), jn = p(() => kn.value.map((e) => ({
581
+ })))), Mn = p(() => An.value.map((e) => ({
579
582
  absoluteIndex: e.absoluteIndex,
580
583
  period: e[0],
581
584
  open: e[1],
@@ -583,11 +586,11 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
583
586
  low: e[3],
584
587
  close: e[4],
585
588
  volume: e[5]
586
- }))), Y = p(() => W.value.width / An.value.length), Mn = p(() => ({
589
+ }))), Y = p(() => W.value.width / jn.value.length), Nn = p(() => ({
587
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,
588
591
  min: F.value.style.layout.grid.yAxis.scale.min === null ? 0 : F.value.style.layout.grid.yAxis.scale.min
589
- })), X = p(() => ee(Mn.value.min, Mn.value.max, F.value.style.layout.grid.yAxis.dataLabels.steps));
590
- function Nn(e, t, n = null, r = null) {
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) {
591
594
  return {
592
595
  ...e,
593
596
  x: u(W.value.left + t * Y.value + Y.value / 2),
@@ -610,7 +613,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
610
613
  c: Math.min(...J.value.map((e) => e.low))
611
614
  }, n = Math.max(...J.value.map((e) => e.volume)), r = Math.min(...J.value.map((e) => e.volume));
612
615
  return J.value.map((i, a) => {
613
- let o = Nn(i.open, a, e.o, t.o), s = Nn(i.high, a, e.h, t.h), c = Nn(i.low, a, e.l, t.l), l = Nn(i.close, a, e.c, t.c), ee = i.close > i.open, u = i.volume === n, te = i.volume === r;
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;
614
617
  return {
615
618
  period: i.period,
616
619
  open: o,
@@ -625,7 +628,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
625
628
  };
626
629
  });
627
630
  });
628
- function Pn({ item: e, index: t, minimapH: n, unitW: r }) {
631
+ function Fn({ item: e, index: t, minimapH: n, unitW: r }) {
629
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]));
630
633
  return {
631
634
  ...e,
@@ -634,23 +637,23 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
634
637
  value: u(e)
635
638
  };
636
639
  }
637
- let Fn = p(() => ({ minimapH: e, unitW: t }) => jn.value.map((n, r) => {
638
- let i = Pn({
640
+ let In = p(() => ({ minimapH: e, unitW: t }) => Mn.value.map((n, r) => {
641
+ let i = Fn({
639
642
  item: n.open,
640
643
  index: r,
641
644
  minimapH: e,
642
645
  unitW: t
643
- }), a = Pn({
646
+ }), a = Fn({
644
647
  item: n.high,
645
648
  index: r,
646
649
  minimapH: e,
647
650
  unitW: t
648
- }), o = Pn({
651
+ }), o = Fn({
649
652
  item: n.low,
650
653
  index: r,
651
654
  minimapH: e,
652
655
  unitW: t
653
- }), s = Pn({
656
+ }), s = Fn({
654
657
  item: n.close,
655
658
  index: r,
656
659
  minimapH: e,
@@ -666,64 +669,61 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
666
669
  isBullish: c,
667
670
  absoluteIndex: n.absoluteIndex
668
671
  };
669
- })), In = p(() => F.value.style.zoom.minimap.show ? [{
672
+ })), Ln = p(() => F.value.style.zoom.minimap.show ? [{
670
673
  name: "",
671
674
  series: L.value.map((e) => e[2]),
672
675
  color: "#000000",
673
676
  isVisible: !0
674
677
  }] : []);
675
- function Ln(e) {
678
+ function Rn(e) {
676
679
  return u((e - X.value.min) / (X.value.max - X.value.min));
677
680
  }
678
- let Rn = p(() => X.value.ticks.map((e) => ({
679
- y: W.value.bottom - W.value.height * Ln(e),
681
+ let zn = p(() => X.value.ticks.map((e) => ({
682
+ y: W.value.bottom - W.value.height * Rn(e),
680
683
  value: u(e)
681
- }))), zn = p(() => J.value.map((e) => e.period)), Q = C([]), Bn = C([]), Vn = 0;
682
- Ue(() => {
683
- let e = ++Vn;
684
+ }))), Bn = p(() => J.value.map((e) => e.period)), Q = w([]), Vn = w([]), Hn = 0;
685
+ We(() => {
686
+ let e = ++Hn;
684
687
  (async () => {
685
- let t = await ue({
688
+ let t = await de({
686
689
  values: L.value.map((e) => e[0]),
687
690
  maxDatapoints: L.value.length,
688
691
  formatter: F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
689
692
  start: K.value.start,
690
693
  end: K.value.end
691
694
  });
692
- e === Vn && (Q.value = t);
695
+ e === Hn && (Q.value = t);
693
696
  })();
694
697
  });
695
- let Hn = 0;
696
- Ue(() => {
697
- let e = ++Hn;
698
+ let Un = 0;
699
+ We(() => {
700
+ let e = ++Un;
698
701
  (async () => {
699
- let t = await ue({
702
+ let t = await de({
700
703
  values: L.value.map((e) => e[0]),
701
704
  maxDatapoints: L.value.length,
702
705
  formatter: F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
703
706
  start: 0,
704
707
  end: G.value
705
708
  });
706
- e === Hn && (Bn.value = t);
709
+ e === Un && (Vn.value = t);
707
710
  })();
708
711
  });
709
- let Un = p(() => {
710
- let e = F.value.style.layout.grid.xAxis.dataLabels.modulo;
711
- return Q.value.length ? Math.min(e, [...new Set(Q.value.map((e) => e.text))].length) : e;
712
- }), Wn = C({
712
+ let Wn = w({
713
713
  months: [],
714
714
  shortMonths: [],
715
715
  days: [],
716
716
  shortDays: []
717
717
  }), Gn = 0;
718
- Ue(() => {
718
+ We(() => {
719
719
  let e = ++Gn, t = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter;
720
720
  (async () => {
721
- let n = await le(t.locale).catch(() => le("en"));
721
+ let n = await ue(t.locale).catch(() => ue("en"));
722
722
  e === Gn && (Wn.value = n.data);
723
723
  })();
724
724
  });
725
725
  let Kn = p(() => {
726
- let e = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter, t = ce({
726
+ let e = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter, t = le({
727
727
  useUTC: e.useUTC,
728
728
  locale: Wn.value,
729
729
  januaryAsYear: e.januaryAsYear
@@ -739,28 +739,38 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
739
739
  text: Kn.value(t, F.value.style.zoom.timeFormat),
740
740
  absoluteIndex: t
741
741
  }))), Yn = p(() => {
742
- let e = F.value.style.layout.grid.xAxis.dataLabels, t = Q.value || [], n = Bn.value || [], r = K.value.start ?? 0, i = M.value, a = G.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? "");
743
- return te(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Un.value || 1), o, s, r, i, a);
744
- }), Xn = p(() => F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
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;
749
+ let l = c.length - 1;
750
+ return c.map((e, t) => t !== 0 && t !== l ? e : {
751
+ ...e,
752
+ text: o[t] ?? ""
753
+ });
754
+ }), Zn = p(() => F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
745
755
  start: Q.value.find((e) => e.absoluteIndex === K.value.start)?.text ?? "",
746
756
  end: Q.value.find((e) => e.absoluteIndex === K.value.end - 1)?.text ?? ""
747
757
  } : {
748
758
  start: L.value[K.value.start] ? L.value[K.value.start][0] : L.value[0][0],
749
759
  end: L.value[K.value.end - 1] ? L.value[K.value.end - 1][0] : L.value.at(-1)[0]
750
- }), Zn = C(null);
751
- function Qn(e, t) {
760
+ }), Qn = w(null);
761
+ function $n(e, t) {
752
762
  F.value.events.datapointClick && F.value.events.datapointClick({
753
763
  datapoint: t,
754
764
  seriesIndex: e + K.value.start
755
765
  });
756
766
  }
757
- function $n(e, t) {
767
+ function er(e, t) {
758
768
  F.value.events.datapointLeave && F.value.events.datapointLeave({
759
769
  datapoint: t,
760
770
  seriesIndex: e + K.value.start
761
- }), M.value = void 0, Rt.value = !1, P.value = null, tn.value = "pointer";
771
+ }), M.value = void 0, zt.value = !1, P.value = null, nn.value = "pointer";
762
772
  }
763
- He(() => k.selectedXIndex, (e) => {
773
+ Ue(() => k.selectedXIndex, (e) => {
764
774
  if ([null, void 0].includes(k.selectedXIndex)) {
765
775
  M.value = null;
766
776
  return;
@@ -768,16 +778,16 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
768
778
  let t = e - K.value.start;
769
779
  t < 0 || e >= K.value.end ? M.value = null : M.value = t ?? null;
770
780
  }, { immediate: !0 });
771
- function er(e, t, n = "pointer") {
781
+ function tr(e, t, n = "pointer") {
772
782
  F.value.events.datapointEnter && F.value.events.datapointEnter({
773
783
  datapoint: t,
774
784
  seriesIndex: e + K.value.start
775
- }), M.value = e, P.value = e, tn.value = n, Zn.value = {
785
+ }), M.value = e, P.value = e, nn.value = n, Qn.value = {
776
786
  datapoint: t,
777
787
  seriesIndex: e,
778
788
  series: Z.value,
779
789
  config: F.value
780
- }, Ar({
790
+ }, jr({
781
791
  seriesIndex: e,
782
792
  datapoint: t
783
793
  });
@@ -787,7 +797,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
787
797
  datapoint: t,
788
798
  series: Z.value,
789
799
  config: F.value
790
- }))) zt.value = r({
800
+ }))) Bt.value = r({
791
801
  seriesIndex: e,
792
802
  datapoint: t,
793
803
  series: Z.value,
@@ -838,42 +848,42 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
838
848
  <g>
839
849
  </svg>
840
850
  <div>
841
- ` : (n += `<div>${te}: <b>${oe}</b></div>`, n += `<div>${ne}: <b>${se}</b></div>`, n += `<div>${re}: <b>${ce}</b></div>`, n += `<div>${d}: <b>${le}</b></div>`), n += "</div>", zt.value = `<div style="text-align:right">${n}</div>`;
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>`;
842
852
  }
843
- Rt.value = !0;
853
+ zt.value = !0;
844
854
  }
845
- let tr = C(null);
846
- function nr() {
855
+ let nr = w(null);
856
+ function rr() {
847
857
  return new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(() => e())));
848
858
  }
849
859
  Le(() => {
850
- tr.value && cancelAnimationFrame(tr.value);
860
+ nr.value && cancelAnimationFrame(nr.value);
851
861
  });
852
- async function rr() {
853
- sr(), await Fe(), tr.value && cancelAnimationFrame(tr.value), tr.value = requestAnimationFrame(async () => {
854
- await nr(), sr();
862
+ async function ir() {
863
+ cr(), await Ie(), nr.value && cancelAnimationFrame(nr.value), nr.value = requestAnimationFrame(async () => {
864
+ await rr(), cr();
855
865
  });
856
866
  }
857
- let ir = C(!1), ar = C(!1), or = C(!1);
858
- function sr() {
859
- if (!ir.value) {
860
- ir.value = !0;
867
+ let ar = w(!1), or = w(!1), sr = w(!1);
868
+ function cr() {
869
+ if (!ar.value) {
870
+ ar.value = !0;
861
871
  try {
862
- let { startIndex: e, endIndex: t } = F.value.style.zoom, n = G.value, r = e ?? 0, i = t == null ? n : Math.min(cr(t + 1), n);
863
- or.value = !0, K.value.start = r, K.value.end = i, q.value.start = r, q.value.end = i, On(), ar.value = !0;
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;
864
874
  } finally {
865
875
  queueMicrotask(() => {
866
- or.value = !1;
867
- }), ir.value = !1;
876
+ sr.value = !1;
877
+ }), ar.value = !1;
868
878
  }
869
879
  }
870
880
  }
871
- function cr(e) {
881
+ function lr(e) {
872
882
  let t = G.value;
873
883
  return e > t ? t : e < 0 || e < K.value.start ? F.value.style.zoom.startIndex === null ? 1 : F.value.style.zoom.startIndex + 1 : e;
874
884
  }
875
- function lr(e = null) {
876
- Fe(() => {
885
+ function ur(e = null) {
886
+ Ie(() => {
877
887
  let r = [
878
888
  F.value.translations.period,
879
889
  F.value.translations.open,
@@ -904,7 +914,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
904
914
  });
905
915
  });
906
916
  }
907
- let ur = p(() => {
917
+ let dr = p(() => {
908
918
  let e = Z.value.map((e, t) => {
909
919
  let n = F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? Q.value?.[t]?.text ?? "" : e.period, r = s({
910
920
  p: F.value.table.td.prefix,
@@ -989,23 +999,23 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
989
999
  config: n,
990
1000
  colNames: r
991
1001
  };
992
- }), $ = C(!1);
993
- function dr(e) {
994
- $.value = e, Bt.value += 1;
1002
+ }), $ = w(!1);
1003
+ function fr(e) {
1004
+ $.value = e, Vt.value += 1;
995
1005
  }
996
- function fr() {
1006
+ function pr() {
997
1007
  H.value.showTable = !H.value.showTable;
998
1008
  }
999
- function pr() {
1009
+ function mr() {
1000
1010
  H.value.showTooltip = !H.value.showTooltip;
1001
1011
  }
1002
- let mr = C(!1);
1003
- function hr() {
1004
- mr.value = !mr.value;
1012
+ let hr = w(!1);
1013
+ function gr() {
1014
+ hr.value = !hr.value;
1005
1015
  }
1006
- async function gr({ scale: e = 2 } = {}) {
1016
+ async function _r({ scale: e = 2 } = {}) {
1007
1017
  if (!N.value) return;
1008
- let { imageUri: t, base64: n } = await be({
1018
+ let { imageUri: t, base64: n } = await xe({
1009
1019
  domElement: N.value,
1010
1020
  base64: !0,
1011
1021
  img: !0,
@@ -1022,9 +1032,9 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1022
1032
  ...a
1023
1033
  };
1024
1034
  }
1025
- let _r = p(() => z.value.width), vr = p(() => z.value.height);
1026
- ye({
1027
- timeLabelsEls: Xt,
1035
+ let vr = p(() => z.value.width), yr = p(() => z.value.height);
1036
+ be({
1037
+ timeLabelsEls: Zt,
1028
1038
  timeLabels: Q,
1029
1039
  slicer: K,
1030
1040
  configRef: F,
@@ -1047,18 +1057,18 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1047
1057
  ],
1048
1058
  isAutoSize: !1,
1049
1059
  rotation: F.value.style.layout.grid.xAxis.dataLabels.autoRotate.angle,
1050
- width: _r,
1051
- height: vr
1052
- }), He(F, () => {
1060
+ width: vr,
1061
+ height: yr
1062
+ }), Ue(F, () => {
1053
1063
  H.value = {
1054
1064
  showTable: F.value.table.show,
1055
1065
  showTooltip: F.value.style.tooltip.show
1056
1066
  };
1057
1067
  }, { immediate: !0 });
1058
- let yr = p(() => {
1068
+ let br = p(() => {
1059
1069
  let e = F.value.table.useDialog && !F.value.table.show, t = H.value.showTable;
1060
1070
  return {
1061
- component: e ? jt : Et,
1071
+ component: e ? Mt : Dt,
1062
1072
  title: `${F.value.style.title.text}${F.value.style.title.subtitle.text ? `: ${F.value.style.title.subtitle.text}` : ""}`,
1063
1073
  props: e ? {
1064
1074
  backgroundColor: F.value.table.th.backgroundColor,
@@ -1068,7 +1078,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1068
1078
  isFullscreen: $.value,
1069
1079
  fullscreenParent: N.value,
1070
1080
  forcedWidth: Math.min(800, window.innerWidth * .8),
1071
- isCursorPointer: an.value
1081
+ isCursorPointer: on.value
1072
1082
  } : {
1073
1083
  hideDetails: !0,
1074
1084
  config: {
@@ -1086,42 +1096,42 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1086
1096
  }
1087
1097
  };
1088
1098
  });
1089
- He(() => H.value.showTable, (e) => {
1090
- F.value.table.show || (e && F.value.table.useDialog && Zt.value ? Zt.value.open() : "close" in Zt.value && Zt.value.close());
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());
1091
1101
  });
1092
- function br() {
1093
- H.value.showTable = !1, Qt.value && Qt.value.setTableIconState(!1);
1102
+ function xr() {
1103
+ H.value.showTable = !1, $t.value && $t.value.setTableIconState(!1);
1094
1104
  }
1095
- let xr = p(() => F.value.style.backgroundColor), Sr = p(() => F.value.style.title), { isCallbackImaging: Cr, isCallbackSvg: wr, generateSvg: Tr, onGenerateImage: Er } = _e({
1105
+ let Sr = p(() => F.value.style.backgroundColor), Cr = p(() => F.value.style.title), { isCallbackImaging: wr, isCallbackSvg: Tr, generateSvg: Er, onGenerateImage: Dr } = ve({
1096
1106
  svg: R,
1097
- title: Sr,
1107
+ title: Cr,
1098
1108
  legend: null,
1099
1109
  legendItems: null,
1100
- backgroundColor: xr,
1110
+ backgroundColor: Sr,
1101
1111
  getSvgCallback: () => F.value.userOptions.callbacks.svg,
1102
- generateImage: yn
1112
+ generateImage: bn
1103
1113
  });
1104
- function Dr(e) {
1105
- $t.value = e;
1106
- }
1107
1114
  function Or(e) {
1108
- ir.value || or.value || e !== K.value.start && (K.value.start = e, q.value.start = e, On());
1115
+ en.value = e;
1109
1116
  }
1110
1117
  function kr(e) {
1111
- if (ir.value || or.value) return;
1112
- let t = cr(e);
1113
- t !== K.value.end && (K.value.end = t, q.value.end = t, On());
1118
+ ar.value || sr.value || e !== K.value.start && (K.value.start = e, q.value.start = e, kn());
1119
+ }
1120
+ 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());
1114
1124
  }
1115
- function Ar({ seriesIndex: e, datapoint: t }) {
1125
+ function jr({ seriesIndex: e, datapoint: t }) {
1116
1126
  let n = K.value.start + e;
1117
- Ft("selectX", {
1127
+ It("selectX", {
1118
1128
  dataset: t,
1119
1129
  index: n,
1120
1130
  indexLabel: ""
1121
1131
  });
1122
1132
  }
1123
- async function jr() {
1124
- if (Ft("copyAlt", {
1133
+ async function Mr() {
1134
+ if (It("copyAlt", {
1125
1135
  config: F.value,
1126
1136
  dataset: Z.value
1127
1137
  }), !F.value.userOptions.callbacks.altCopy) {
@@ -1133,73 +1143,73 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1133
1143
  dataset: Z.value
1134
1144
  }));
1135
1145
  }
1136
- function Mr() {
1137
- P.value = null, nn.value = !0;
1138
- }
1139
1146
  function Nr() {
1140
- P.value = null, tn.value = "pointer", Rt.value = !1, M.value = void 0, nn.value = !1;
1147
+ P.value = null, rn.value = !0;
1141
1148
  }
1142
- function Pr(e) {
1143
- if (!R.value || mr.value || document.activeElement !== R.value || !Z.value.length) return;
1149
+ function Pr() {
1150
+ P.value = null, nn.value = "pointer", zt.value = !1, M.value = void 0, rn.value = !1;
1151
+ }
1152
+ function Fr(e) {
1153
+ if (!R.value || hr.value || document.activeElement !== R.value || !Z.value.length) return;
1144
1154
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1145
1155
  if (!t && !n && !r && !i) return;
1146
1156
  if (e.preventDefault(), e.stopPropagation(), i) {
1147
- P.value = null, tn.value = "pointer", Rt.value = !1, M.value = void 0;
1157
+ P.value = null, nn.value = "pointer", zt.value = !1, M.value = void 0;
1148
1158
  return;
1149
1159
  }
1150
1160
  if (r) {
1151
1161
  if (P.value === null) return;
1152
1162
  let e = Z.value[P.value];
1153
1163
  if (!e) return;
1154
- Qn(P.value, e);
1164
+ $n(P.value, e);
1155
1165
  return;
1156
1166
  }
1157
1167
  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;
1158
1168
  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;
1159
1169
  let l = Z.value[a];
1160
- l && (Fr(a), er(a, l, "keyboard"));
1170
+ l && (Ir(a), tr(a, l, "keyboard"));
1161
1171
  }
1162
- function Fr(e) {
1172
+ function Ir(e) {
1163
1173
  if (!Number.isFinite(e) || !R.value) return;
1164
1174
  let t = W.value.left + Y.value * e + Y.value / 2, n = W.value.top + W.value.height / 2, r = R.value.getBoundingClientRect();
1165
- en.value = {
1175
+ tn.value = {
1166
1176
  x: r.left + t / z.value.width * r.width,
1167
1177
  y: r.top + n / z.value.height * r.height
1168
1178
  };
1169
1179
  }
1170
- let Ir = p(() => ({
1171
- headers: ur.value?.colNames ?? [],
1172
- rows: ur.value?.bodyA11y ?? []
1180
+ let Lr = p(() => ({
1181
+ headers: dr.value?.colNames ?? [],
1182
+ rows: dr.value?.bodyA11y ?? []
1173
1183
  }));
1174
- return Se({
1175
- getImage: gr,
1176
- generatePdf: vn,
1177
- generateCsv: lr,
1178
- generateImage: yn,
1179
- generateSvg: Tr,
1180
- toggleTable: fr,
1181
- toggleTooltip: pr,
1182
- toggleAnnotator: hr,
1183
- toggleFullscreen: dr,
1184
- copyAlt: jr
1185
- }), (e, t) => (S(), g("div", {
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", {
1186
1196
  ref_key: "candlestickChart",
1187
1197
  ref: N,
1188
1198
  class: b(`vue-data-ui-component vue-ui-candlestick ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1189
- style: Ie(`position:relative;font-family:${F.value.style.fontFamily}; text-align:center;background:${F.value.style.backgroundColor}; ${F.value.responsive ? "height: 100%" : ""}`),
1199
+ style: S(`position:relative;font-family:${F.value.style.fontFamily}; text-align:center;background:${F.value.style.backgroundColor}; ${F.value.responsive ? "height: 100%" : ""}`),
1190
1200
  id: `vue-ui-candlestick_${j.value}`,
1191
- onMouseenter: dn,
1192
- onMouseleave: fn
1201
+ onMouseenter: fn,
1202
+ onMouseleave: pn
1193
1203
  }, [
1194
1204
  _("div", {
1195
1205
  id: `chart-instructions-${j.value}`,
1196
1206
  class: "sr-only"
1197
- }, [_("p", null, E(F.value.a11y.translations.keyboardNavigation), 1)], 8, Ke),
1198
- Ir.value?.rows?.length ? (S(), m(De, {
1207
+ }, [_("p", null, Ve(F.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
1208
+ Lr.value?.rows?.length ? (C(), m(Oe, {
1199
1209
  key: 0,
1200
1210
  uid: j.value,
1201
- head: Ir.value.headers,
1202
- body: Ir.value.rows,
1211
+ head: Lr.value.headers,
1212
+ body: Lr.value.rows,
1203
1213
  notice: F.value.a11y.translations.tableAvailable,
1204
1214
  caption: F.value.a11y.translations.tableCaption
1205
1215
  }, null, 8, [
@@ -1209,21 +1219,21 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1209
1219
  "notice",
1210
1220
  "caption"
1211
1221
  ])) : h("", !0),
1212
- F.value.userOptions.buttons.annotator ? (S(), m(D(Ot), {
1222
+ F.value.userOptions.buttons.annotator ? (C(), m(D(kt), {
1213
1223
  key: 1,
1214
1224
  svgRef: D(R),
1215
1225
  backgroundColor: F.value.style.backgroundColor,
1216
1226
  color: F.value.style.color,
1217
- active: mr.value,
1218
- isCursorPointer: an.value,
1219
- onClose: hr
1227
+ active: hr.value,
1228
+ isCursorPointer: on.value,
1229
+ onClose: gr
1220
1230
  }, {
1221
- "annotator-action-close": O(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1222
- "annotator-action-color": O(({ color: t }) => [T(e.$slots, "annotator-action-color", x(y({ color: t })), void 0, !0)]),
1223
- "annotator-action-draw": O(({ mode: t }) => [T(e.$slots, "annotator-action-draw", x(y({ mode: t })), void 0, !0)]),
1224
- "annotator-action-undo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-undo", x(y({ disabled: t })), void 0, !0)]),
1225
- "annotator-action-redo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-redo", x(y({ disabled: t })), void 0, !0)]),
1226
- "annotator-action-delete": O(({ disabled: t }) => [T(e.$slots, "annotator-action-delete", x(y({ disabled: t })), void 0, !0)]),
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)]),
1227
1237
  _: 3
1228
1238
  }, 8, [
1229
1239
  "svgRef",
@@ -1232,20 +1242,20 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1232
1242
  "active",
1233
1243
  "isCursorPointer"
1234
1244
  ])) : h("", !0),
1235
- bn.value ? (S(), g("div", {
1245
+ xn.value ? (C(), g("div", {
1236
1246
  key: 2,
1237
1247
  ref_key: "noTitle",
1238
- ref: Gt,
1248
+ ref: Kt,
1239
1249
  class: "vue-data-ui-no-title-space",
1240
1250
  style: "height:36px; width: 100%;background:transparent"
1241
1251
  }, null, 512)) : h("", !0),
1242
- F.value.style.title.text ? (S(), g("div", {
1252
+ F.value.style.title.text ? (C(), g("div", {
1243
1253
  key: 3,
1244
1254
  ref_key: "chartTitle",
1245
- ref: Vt,
1255
+ ref: Ht,
1246
1256
  style: "width:100%;background:transparent"
1247
- }, [(S(), m(xe, {
1248
- key: `title_${Jt.value}`,
1257
+ }, [(C(), m(Se, {
1258
+ key: `title_${Yt.value}`,
1249
1259
  config: {
1250
1260
  title: {
1251
1261
  cy: "candlestick-div-title",
@@ -1257,14 +1267,14 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1257
1267
  }
1258
1268
  }
1259
1269
  }, null, 8, ["config"]))], 512)) : h("", !0),
1260
- F.value.userOptions.show && It.value && (D(un) || D(cn)) ? (S(), m(D(kt), {
1270
+ F.value.userOptions.show && Lt.value && (D(dn) || D(ln)) ? (C(), m(D(At), {
1261
1271
  ref_key: "userOptionsRef",
1262
- ref: Qt,
1263
- key: `user_options_${Bt.value}`,
1272
+ ref: $t,
1273
+ key: `user_options_${Vt.value}`,
1264
1274
  backgroundColor: F.value.style.backgroundColor,
1265
1275
  color: F.value.style.color,
1266
- isImaging: D(_n),
1267
- isPrinting: D(gn),
1276
+ isImaging: D(vn),
1277
+ isPrinting: D(_n),
1268
1278
  uid: j.value,
1269
1279
  hasTooltip: F.value.userOptions.buttons.tooltip && F.value.style.tooltip.show,
1270
1280
  hasPdf: F.value.userOptions.buttons.pdf,
@@ -1280,25 +1290,25 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1280
1290
  chartElement: N.value,
1281
1291
  position: F.value.userOptions.position,
1282
1292
  hasAnnotator: F.value.userOptions.buttons.annotator,
1283
- isAnnotation: mr.value,
1293
+ isAnnotation: hr.value,
1284
1294
  callbacks: F.value.userOptions.callbacks,
1285
1295
  printScale: F.value.userOptions.print.scale,
1286
1296
  tableDialog: F.value.table.useDialog,
1287
- isCursorPointer: an.value,
1288
- onToggleFullscreen: dr,
1289
- onGeneratePdf: D(vn),
1290
- onGenerateCsv: lr,
1291
- onGenerateImage: D(Er),
1292
- onGenerateSvg: D(Tr),
1293
- onToggleTable: fr,
1294
- onToggleTooltip: pr,
1295
- onToggleAnnotator: hr,
1296
- onCopyAlt: jr,
1297
- style: Ie({ visibility: D(un) ? D(cn) ? "visible" : "hidden" : "visible" })
1298
- }, je({ _: 2 }, [
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 }, [
1299
1309
  e.$slots.menuIcon ? {
1300
1310
  name: "menuIcon",
1301
- fn: O(({ isOpen: t, color: n }) => [T(e.$slots, "menuIcon", x(y({
1311
+ fn: O(({ isOpen: t, color: n }) => [E(e.$slots, "menuIcon", x(y({
1302
1312
  isOpen: t,
1303
1313
  color: n
1304
1314
  })), void 0, !0)]),
@@ -1306,37 +1316,37 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1306
1316
  } : void 0,
1307
1317
  e.$slots.optionTooltip ? {
1308
1318
  name: "optionTooltip",
1309
- fn: O(() => [T(e.$slots, "optionTooltip", {}, void 0, !0)]),
1319
+ fn: O(() => [E(e.$slots, "optionTooltip", {}, void 0, !0)]),
1310
1320
  key: "1"
1311
1321
  } : void 0,
1312
1322
  e.$slots.optionPdf ? {
1313
1323
  name: "optionPdf",
1314
- fn: O(() => [T(e.$slots, "optionPdf", {}, void 0, !0)]),
1324
+ fn: O(() => [E(e.$slots, "optionPdf", {}, void 0, !0)]),
1315
1325
  key: "2"
1316
1326
  } : void 0,
1317
1327
  e.$slots.optionCsv ? {
1318
1328
  name: "optionCsv",
1319
- fn: O(() => [T(e.$slots, "optionCsv", {}, void 0, !0)]),
1329
+ fn: O(() => [E(e.$slots, "optionCsv", {}, void 0, !0)]),
1320
1330
  key: "3"
1321
1331
  } : void 0,
1322
1332
  e.$slots.optionImg ? {
1323
1333
  name: "optionImg",
1324
- fn: O(() => [T(e.$slots, "optionImg", {}, void 0, !0)]),
1334
+ fn: O(() => [E(e.$slots, "optionImg", {}, void 0, !0)]),
1325
1335
  key: "4"
1326
1336
  } : void 0,
1327
1337
  e.$slots.optionSvg ? {
1328
1338
  name: "optionSvg",
1329
- fn: O(() => [T(e.$slots, "optionSvg", {}, void 0, !0)]),
1339
+ fn: O(() => [E(e.$slots, "optionSvg", {}, void 0, !0)]),
1330
1340
  key: "5"
1331
1341
  } : void 0,
1332
1342
  e.$slots.optionTable ? {
1333
1343
  name: "optionTable",
1334
- fn: O(() => [T(e.$slots, "optionTable", {}, void 0, !0)]),
1344
+ fn: O(() => [E(e.$slots, "optionTable", {}, void 0, !0)]),
1335
1345
  key: "6"
1336
1346
  } : void 0,
1337
1347
  e.$slots.optionFullscreen ? {
1338
1348
  name: "optionFullscreen",
1339
- fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [T(e.$slots, "optionFullscreen", x(y({
1349
+ fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [E(e.$slots, "optionFullscreen", x(y({
1340
1350
  toggleFullscreen: t,
1341
1351
  isFullscreen: n
1342
1352
  })), void 0, !0)]),
@@ -1344,7 +1354,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1344
1354
  } : void 0,
1345
1355
  e.$slots.optionAnnotator ? {
1346
1356
  name: "optionAnnotator",
1347
- fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [T(e.$slots, "optionAnnotator", x(y({
1357
+ fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [E(e.$slots, "optionAnnotator", x(y({
1348
1358
  toggleAnnotator: t,
1349
1359
  isAnnotator: n
1350
1360
  })), void 0, !0)]),
@@ -1352,21 +1362,21 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1352
1362
  } : void 0,
1353
1363
  e.$slots.optionAltCopy ? {
1354
1364
  name: "optionAltCopy",
1355
- fn: O(({ altCopy: t }) => [T(e.$slots, "optionAltCopy", x(y({ altCopy: t })), void 0, !0)]),
1365
+ fn: O(({ altCopy: t }) => [E(e.$slots, "optionAltCopy", x(y({ altCopy: t })), void 0, !0)]),
1356
1366
  key: "9"
1357
1367
  } : void 0,
1358
1368
  e.$slots["custom-menu-before"] ? {
1359
1369
  name: "custom-menu-before",
1360
- fn: O(() => [T(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1370
+ fn: O(() => [E(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1361
1371
  key: "10"
1362
1372
  } : void 0,
1363
1373
  e.$slots["custom-menu-after"] ? {
1364
1374
  name: "custom-menu-after",
1365
- fn: O(() => [T(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1375
+ fn: O(() => [E(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1366
1376
  key: "11"
1367
1377
  } : void 0
1368
1378
  ]), 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),
1369
- _("div", qe, [(S(), g("svg", {
1379
+ _("div", Je, [(C(), g("svg", {
1370
1380
  ref_key: "svgRef",
1371
1381
  ref: R,
1372
1382
  xmlns: D(ae),
@@ -1374,26 +1384,26 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1374
1384
  class: b({
1375
1385
  "vue-data-ui-fullscreen--on": $.value,
1376
1386
  "vue-data-ui-fulscreen--off": !$.value,
1377
- "vue-data-ui-no-transition": !D(rn)
1387
+ "vue-data-ui-no-transition": !D(an)
1378
1388
  }),
1379
1389
  viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
1380
- style: Ie(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.color}`),
1390
+ style: S(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.color}`),
1381
1391
  tabindex: "0",
1382
- onFocus: Mr,
1383
- onBlur: Nr,
1384
- onKeydown: Pr
1392
+ onFocus: Nr,
1393
+ onBlur: Pr,
1394
+ onKeydown: Fr
1385
1395
  }, [
1386
- Ne(D(At)),
1387
- e.$slots["chart-background"] ? (S(), g("foreignObject", {
1396
+ Pe(D(jt)),
1397
+ e.$slots["chart-background"] ? (C(), g("foreignObject", {
1388
1398
  key: 0,
1389
1399
  x: W.value.left,
1390
1400
  y: W.value.top,
1391
1401
  width: Math.max(.1, W.value.width),
1392
1402
  height: Math.max(.1, W.value.height),
1393
1403
  style: { pointerEvents: "none" }
1394
- }, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, Ye)) : h("", !0),
1395
- Z.value.length > 0 ? (S(), g("g", Xe, [
1396
- _("defs", null, [Ne(Te, {
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, {
1397
1407
  t: "linear",
1398
1408
  id: `bearish_gradient_${j.value}`,
1399
1409
  x2: "0%",
@@ -1415,7 +1425,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1415
1425
  .4
1416
1426
  ]
1417
1427
  ]
1418
- }, null, 8, ["id", "stops"]), Ne(Te, {
1428
+ }, null, 8, ["id", "stops"]), Pe(Ee, {
1419
1429
  t: "linear",
1420
1430
  id: `bullish_gradient_${j.value}`,
1421
1431
  x2: "0%",
@@ -1438,7 +1448,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1438
1448
  ]
1439
1449
  ]
1440
1450
  }, null, 8, ["id", "stops"])]),
1441
- F.value.style.layout.grid.show ? (S(), g("g", Ze, [
1451
+ F.value.style.layout.grid.show ? (C(), g("g", Qe, [
1442
1452
  _("line", {
1443
1453
  x1: U.value ? W.value.right : W.value.left,
1444
1454
  x2: U.value ? W.value.right : W.value.left,
@@ -1447,7 +1457,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1447
1457
  stroke: F.value.style.layout.grid.stroke,
1448
1458
  "stroke-width": F.value.style.layout.grid.strokeWidth,
1449
1459
  "stroke-linecap": "round"
1450
- }, null, 8, Qe),
1460
+ }, null, 8, $e),
1451
1461
  _("line", {
1452
1462
  x1: W.value.left,
1453
1463
  x2: W.value.right,
@@ -1456,8 +1466,8 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1456
1466
  stroke: F.value.style.layout.grid.stroke,
1457
1467
  "stroke-width": F.value.style.layout.grid.strokeWidth,
1458
1468
  "stroke-linecap": "round"
1459
- }, null, 8, $e),
1460
- F.value.style.layout.grid.horizontalLines.show ? (S(!0), g(f, { key: 0 }, w(Rn.value, (e) => (S(), g("line", {
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", {
1461
1471
  x1: W.value.left,
1462
1472
  x2: W.value.right,
1463
1473
  y1: e.y,
@@ -1466,8 +1476,8 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1466
1476
  "stroke-width": F.value.style.layout.grid.horizontalLines.strokeWidth,
1467
1477
  "stroke-dasharray": F.value.style.layout.grid.horizontalLines.strokeDasharray,
1468
1478
  "stroke-linecap": "round"
1469
- }, null, 8, et))), 256)) : h("", !0),
1470
- F.value.style.layout.grid.verticalLines.show ? (S(!0), g(f, { key: 1 }, w(Yn.value, (e, t) => (S(), g("g", null, [e.text ? (S(), g("line", {
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", {
1471
1481
  key: 0,
1472
1482
  x1: W.value.left + Y.value * t + Y.value / 2,
1473
1483
  x2: W.value.left + Y.value * t + Y.value / 2,
@@ -1477,8 +1487,8 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1477
1487
  "stroke-width": F.value.style.layout.grid.verticalLines.strokeWidth,
1478
1488
  "stroke-dasharray": F.value.style.layout.grid.verticalLines.strokeDasharray,
1479
1489
  "stroke-linecap": "round"
1480
- }, null, 8, tt)) : h("", !0)]))), 256)) : h("", !0),
1481
- F.value.style.layout.grid.xAxis.ticks.show ? (S(!0), g(f, { key: 2 }, w(Yn.value, (e, t) => (S(), g("g", null, [e.text ? (S(), g("line", {
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", {
1482
1492
  key: 0,
1483
1493
  x1: W.value.left + Y.value * t + Y.value / 2,
1484
1494
  x2: W.value.left + Y.value * t + Y.value / 2,
@@ -1487,13 +1497,13 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1487
1497
  stroke: F.value.style.layout.grid.stroke,
1488
1498
  "stroke-width": F.value.style.layout.grid.strokeWidth,
1489
1499
  "stroke-linecap": "round"
1490
- }, null, 8, nt)) : h("", !0)]))), 256)) : h("", !0)
1500
+ }, null, 8, rt)) : h("", !0)]))), 256)) : h("", !0)
1491
1501
  ])) : h("", !0),
1492
- F.value.style.layout.grid.yAxis.dataLabels.show ? (S(), g("g", {
1502
+ F.value.style.layout.grid.yAxis.dataLabels.show ? (C(), g("g", {
1493
1503
  key: 1,
1494
1504
  ref_key: "scaleLabels",
1495
- ref: Yt
1496
- }, [(S(!0), g(f, null, w(Rn.value, (e, t) => (S(), g("g", { key: `sl_${t}` }, [e.value >= X.value.min && e.value <= X.value.max ? (S(), g("line", {
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", {
1497
1507
  key: 0,
1498
1508
  x1: U.value ? W.value.right : W.value.left,
1499
1509
  x2: U.value ? W.value.right + 5 : W.value.left - 5,
@@ -1502,45 +1512,50 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1502
1512
  stroke: F.value.style.layout.grid.stroke,
1503
1513
  "stroke-width": F.value.style.layout.grid.strokeWidth,
1504
1514
  "stroke-linecap": "round"
1505
- }, null, 8, rt)) : h("", !0), e.value >= X.value.min && e.value <= X.value.max ? (S(), g("text", {
1515
+ }, null, 8, it)) : h("", !0), e.value >= X.value.min && e.value <= X.value.max ? (C(), g("text", {
1506
1516
  key: 1,
1507
- class: b({ "vue-data-ui-transition": D(rn) }),
1517
+ class: b({ "vue-data-ui-transition": D(an) }),
1508
1518
  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})`,
1509
1519
  "text-anchor": U.value ? "start" : "end",
1510
1520
  "font-size": z.value.yAxisFontSize,
1511
1521
  fill: F.value.style.layout.grid.yAxis.dataLabels.color,
1512
1522
  "font-weight": F.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
1513
- }, E(D(s)({
1523
+ }, Ve(D(s)({
1514
1524
  p: F.value.style.layout.grid.yAxis.dataLabels.prefix,
1515
1525
  v: e.value,
1516
1526
  s: F.value.style.layout.grid.yAxis.dataLabels.suffix,
1517
1527
  r: F.value.style.layout.grid.yAxis.dataLabels.roundingValue
1518
- })), 11, it)) : h("", !0)]))), 128))], 512)) : h("", !0),
1519
- F.value.style.layout.grid.xAxis.dataLabels.show && !F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (S(), g("g", {
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", {
1520
1530
  key: 2,
1521
1531
  ref_key: "timeLabelsEls",
1522
- ref: Xt
1523
- }, [(S(!0), g(f, null, w(zn.value, (e, t) => (S(), g("g", null, [_("text", {
1532
+ ref: Zt
1533
+ }, [(C(!0), g(f, null, T(Bn.value, (e, t) => (C(), g("g", null, [_("text", {
1524
1534
  class: "vue-data-ui-time-label",
1525
1535
  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})`,
1526
1536
  "text-anchor": F.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : F.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1527
1537
  "font-size": z.value.xAxisFontSize,
1528
1538
  fill: F.value.style.layout.grid.xAxis.dataLabels.color,
1529
1539
  "font-weight": F.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
1530
- }, E(e), 9, at)]))), 256))], 512)) : h("", !0),
1531
- F.value.style.layout.grid.xAxis.dataLabels.show && F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (S(), g("g", {
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", {
1532
1542
  key: 3,
1533
1543
  ref_key: "timeLabelsEls",
1534
- ref: Xt
1535
- }, [(S(!0), g(f, null, w(Yn.value, (e, t) => (S(), g("g", null, [_("text", {
1544
+ ref: Zt
1545
+ }, [(C(!0), g(f, null, T(Xn.value, (e, t) => (C(), g("g", null, [_("text", {
1536
1546
  class: "vue-data-ui-time-label",
1537
1547
  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})`,
1538
1548
  "text-anchor": F.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : F.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1539
1549
  "font-size": z.value.xAxisFontSize,
1540
1550
  fill: F.value.style.layout.grid.xAxis.dataLabels.color,
1551
+ stroke: F.value.style.backgroundColor,
1552
+ "stroke-width": "3",
1553
+ "stroke-linecap": "round",
1554
+ "stroke-linejoin": "round",
1555
+ "paint-order": "stroke fill",
1541
1556
  "font-weight": F.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
1542
- }, E(e?.text ?? ""), 9, ot)]))), 256))], 512)) : h("", !0),
1543
- 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, [
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, [
1544
1559
  _("rect", {
1545
1560
  x: e.open.x - F.value.style.layout.wick.strokeWidth / 2,
1546
1561
  y: e.high.y,
@@ -1550,21 +1565,21 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1550
1565
  stroke: "none",
1551
1566
  rx: F.value.style.layout.wick.strokeWidth / 2,
1552
1567
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1553
- }, null, 10, st),
1554
- F.value.style.layout.wick.extremity.shape === "circle" ? (S(), g("g", ct, [_("circle", {
1568
+ }, null, 10, ct),
1569
+ F.value.style.layout.wick.extremity.shape === "circle" ? (C(), g("g", lt, [_("circle", {
1555
1570
  cx: e.high.x,
1556
1571
  cy: e.high.y,
1557
1572
  r: F.value.style.layout.wick.extremity.size === "auto" ? Y.value / 20 : F.value.style.layout.wick.extremity.size,
1558
1573
  fill: F.value.style.layout.wick.extremity.color,
1559
1574
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1560
- }, null, 10, lt), _("circle", {
1575
+ }, null, 10, ut), _("circle", {
1561
1576
  cx: e.low.x,
1562
1577
  cy: e.low.y,
1563
1578
  r: F.value.style.layout.wick.extremity.size === "auto" ? Y.value / 20 : F.value.style.layout.wick.extremity.size,
1564
1579
  fill: F.value.style.layout.wick.extremity.color,
1565
1580
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1566
- }, null, 10, ut)])) : h("", !0),
1567
- F.value.style.layout.wick.extremity.shape === "line" ? (S(), g("g", dt, [_("rect", {
1581
+ }, null, 10, dt)])) : h("", !0),
1582
+ F.value.style.layout.wick.extremity.shape === "line" ? (C(), g("g", ft, [_("rect", {
1568
1583
  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,
1569
1584
  y: e.high.y - F.value.style.layout.wick.strokeWidth / 2,
1570
1585
  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)),
@@ -1573,7 +1588,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1573
1588
  fill: F.value.style.layout.wick.extremity.color,
1574
1589
  stroke: "none",
1575
1590
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1576
- }, null, 10, ft), _("rect", {
1591
+ }, null, 10, pt), _("rect", {
1577
1592
  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,
1578
1593
  y: e.low.y - F.value.style.layout.wick.strokeWidth / 2,
1579
1594
  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)),
@@ -1582,8 +1597,8 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1582
1597
  stroke: "none",
1583
1598
  rx: F.value.style.layout.wick.strokeWidth / 2,
1584
1599
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1585
- }, null, 10, pt)])) : h("", !0)
1586
- ]))), 256))]), _("g", null, [(S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("rect", {
1600
+ }, null, 10, mt)])) : h("", !0)
1601
+ ]))), 256))]), _("g", null, [(C(!0), g(f, null, T(Z.value, (e, t) => (C(), g("rect", {
1587
1602
  x: e.open.x - Y.value / 2 + Y.value * (1 - F.value.style.layout.candle.widthRatio) / 2,
1588
1603
  y: e.isBullish ? e.close.y : e.open.y,
1589
1604
  height: Math.abs(e.close.y - e.open.y) <= 0 ? 1e-4 : Math.abs(e.close.y - e.open.y),
@@ -1592,7 +1607,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1592
1607
  rx: F.value.style.layout.candle.borderRadius,
1593
1608
  stroke: "none",
1594
1609
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1595
- }, null, 10, mt))), 256)), (S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("rect", {
1610
+ }, null, 10, ht))), 256)), (C(!0), g(f, null, T(Z.value, (e, t) => (C(), g("rect", {
1596
1611
  x: e.open.x - Y.value / 2 + Y.value * (1 - F.value.style.layout.candle.widthRatio) / 2,
1597
1612
  y: e.isBullish ? e.close.y : e.open.y,
1598
1613
  height: Math.abs(e.close.y - e.open.y) <= 0 ? 1e-4 : Math.abs(e.close.y - e.open.y),
@@ -1604,48 +1619,48 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1604
1619
  "stroke-linecap": "round",
1605
1620
  "stroke-linejoin": "round",
1606
1621
  class: b({ "vue-data-ui-transition": A.value && !D(I) })
1607
- }, null, 10, ht))), 256))])], 64)) : h("", !0),
1608
- F.value.type === "ohlc" ? (S(!0), g(f, { key: 5 }, w(Z.value, (e, t) => (S(), g("g", { key: `ohlc_${e.absoluteIndex}` }, [_("path", {
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", {
1609
1624
  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}`,
1610
1625
  stroke: e.isBullish ? F.value.style.layout.candle.colors.bullish : F.value.style.layout.candle.colors.bearish,
1611
1626
  "stroke-width": 1,
1612
- class: b({ "vue-data-ui-transition": D(rn) }),
1627
+ class: b({ "vue-data-ui-transition": D(an) }),
1613
1628
  "stroke-linecap": "round",
1614
1629
  "stroke-linejoin": "round"
1615
- }, null, 10, gt)]))), 128)) : h("", !0),
1616
- _("g", null, [(S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("rect", {
1630
+ }, null, 10, _t)]))), 128)) : h("", !0),
1631
+ _("g", null, [(C(!0), g(f, null, T(Z.value, (e, t) => (C(), g("rect", {
1617
1632
  x: W.value.left + t * Y.value,
1618
1633
  y: W.value.top,
1619
1634
  height: W.value.height <= 0 ? 1e-4 : W.value.height,
1620
1635
  width: Y.value <= 0 ? 1e-4 : Y.value,
1621
- fill: M.value === t || $t.value === t ? D(r)(F.value.style.layout.selector.color, F.value.style.layout.selector.opacity) : "transparent",
1622
- onMouseover: () => er(t, e, "pointer"),
1623
- onMouseleave: () => $n(t, e),
1624
- onClick: () => Qn(t, e)
1625
- }, null, 40, _t))), 256))])
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))])
1626
1641
  ])) : h("", !0),
1627
- En.value ? (S(), g("rect", Pe({ key: 2 }, Tn.value, {
1642
+ Dn.value ? (C(), g("rect", Fe({ key: 2 }, En.value, {
1628
1643
  "data-start": K.value.start,
1629
1644
  "data-end": K.value.end
1630
- }), null, 16, vt)) : h("", !0),
1631
- T(e.$slots, "svg", { svg: {
1645
+ }), null, 16, yt)) : h("", !0),
1646
+ E(e.$slots, "svg", { svg: {
1632
1647
  ...z.value,
1633
1648
  data: Z.value,
1634
1649
  drawingArea: W.value,
1635
- isPrintingImg: D(gn) || D(_n) || D(Cr),
1636
- isPrintingSvg: D(wr)
1650
+ isPrintingImg: D(_n) || D(vn) || D(wr),
1651
+ isPrintingSvg: D(Tr)
1637
1652
  } }, void 0, !0)
1638
- ], 46, Je)), e.$slots.hint ? (S(), g("div", yt, [T(e.$slots, "hint", x(y({
1653
+ ], 46, Ye)), e.$slots.hint ? (C(), g("div", bt, [E(e.$slots, "hint", x(y({
1639
1654
  hint: F.value.a11y.translations.keyboardNavigation,
1640
- isVisible: nn.value
1655
+ isVisible: rn.value
1641
1656
  })), void 0, !0)])) : h("", !0)]),
1642
- e.$slots.watermark ? (S(), g("div", bt, [T(e.$slots, "watermark", x(y({ isPrinting: D(gn) || D(_n) || D(Cr) || D(wr) })), void 0, !0)])) : h("", !0),
1643
- F.value.style.zoom.show && G.value > 6 && It.value && ar.value ? (S(), m(Ee, {
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, {
1644
1659
  key: 6,
1645
1660
  ref_key: "chartSlicer",
1646
- ref: Ut,
1661
+ ref: Wt,
1647
1662
  "data-dom-to-png-ignore-layout": "",
1648
- allMinimaps: In.value,
1663
+ allMinimaps: Ln.value,
1649
1664
  background: F.value.style.zoom.color,
1650
1665
  borderColor: F.value.style.backgroundColor,
1651
1666
  customFormat: F.value.style.zoom.customFormat,
@@ -1658,9 +1673,9 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1658
1673
  fontSize: F.value.style.zoom.fontSize,
1659
1674
  immediate: !F.value.style.zoom.preview.enable,
1660
1675
  inputColor: F.value.style.zoom.color,
1661
- isPreview: En.value,
1662
- labelLeft: Xn.value.start || "",
1663
- labelRight: Xn.value.end || "",
1676
+ isPreview: Dn.value,
1677
+ labelLeft: Zn.value.start || "",
1678
+ labelRight: Zn.value.end || "",
1664
1679
  max: G.value,
1665
1680
  min: 0,
1666
1681
  minimap: F.value.style.zoom.minimap.show ? D(L).map((e) => e[2]) : [],
@@ -1680,7 +1695,7 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1680
1695
  smoothMinimap: !1,
1681
1696
  start: K.value.start,
1682
1697
  textColor: F.value.style.color,
1683
- timeLabels: Bn.value,
1698
+ timeLabels: Vn.value,
1684
1699
  usePreciseLabels: F.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable && !F.value.style.zoom.useDefaultFormat,
1685
1700
  useResetSlot: F.value.style.zoom.useResetSlot,
1686
1701
  valueEnd: K.value.end,
@@ -1698,43 +1713,43 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1698
1713
  handleBorderColor: F.value.style.zoom.minimap.handleBorderColor,
1699
1714
  handleFill: F.value.style.zoom.minimap.handleFill,
1700
1715
  handleWidth: F.value.style.zoom.minimap.handleWidth,
1701
- "onUpdate:end": kr,
1702
- "onUpdate:start": Or,
1703
- onTrapMouse: Dr,
1704
- onReset: rr,
1705
- onFutureEnd: t[0] ||= (e) => Dn("end", e),
1706
- onFutureStart: t[1] ||= (e) => Dn("start", e)
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)
1707
1722
  }, {
1708
- "reset-action": O(({ reset: t }) => [T(e.$slots, "reset-action", x(y({ reset: t })), void 0, !0)]),
1709
- slotMap: O(({ height: e, unitW: t }) => [(S(!0), g(f, null, w(Fn.value({
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({
1710
1725
  minimapH: e,
1711
1726
  unitW: t
1712
- }), (e, n) => (S(), g("g", null, [_("path", {
1727
+ }), (e, n) => (C(), g("g", null, [_("path", {
1713
1728
  d: `M ${e.high.x},${e.high.y} ${e.low.x},${e.low.y}`,
1714
1729
  stroke: e.isBullish ? F.value.style.layout.candle.colors.bullish : F.value.style.layout.candle.colors.bearish,
1715
1730
  "stroke-width": 1,
1716
- style: Ie({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1717
- }, null, 12, xt), _("path", {
1731
+ style: S({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1732
+ }, null, 12, St), _("path", {
1718
1733
  d: `M ${e.open.x},${e.open.y} ${e.close.x},${e.close.y}`,
1719
1734
  stroke: e.isBullish ? F.value.style.layout.candle.colors.bullish : F.value.style.layout.candle.colors.bearish,
1720
1735
  "stroke-width": Math.min(6, t / 1.5),
1721
- style: Ie({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1722
- }, null, 12, St)]))), 256))]),
1736
+ style: S({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1737
+ }, null, 12, Ct)]))), 256))]),
1723
1738
  _: 3
1724
1739
  }, 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),
1725
1740
  _("div", {
1726
1741
  ref_key: "chartLegend",
1727
- ref: Ht
1728
- }, [T(e.$slots, "legend", { legend: Z.value }, void 0, !0)], 512),
1729
- e.$slots.source ? (S(), g("div", {
1742
+ ref: Ut
1743
+ }, [E(e.$slots, "legend", { legend: Z.value }, void 0, !0)], 512),
1744
+ e.$slots.source ? (C(), g("div", {
1730
1745
  key: 7,
1731
1746
  ref_key: "source",
1732
- ref: Wt,
1747
+ ref: Gt,
1733
1748
  dir: "auto"
1734
- }, [T(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
1735
- Ne(D(Tt), {
1749
+ }, [E(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
1750
+ Pe(D(Et), {
1736
1751
  teleportTo: F.value.style.tooltip.teleportTo,
1737
- show: H.value.showTooltip && Rt.value,
1752
+ show: H.value.showTooltip && zt.value,
1738
1753
  backgroundColor: F.value.style.tooltip.backgroundColor,
1739
1754
  color: F.value.style.tooltip.color,
1740
1755
  borderRadius: F.value.style.tooltip.borderRadius,
@@ -1746,19 +1761,19 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1746
1761
  offsetX: F.value.style.tooltip.offsetX,
1747
1762
  offsetY: F.value.style.tooltip.offsetY,
1748
1763
  parent: N.value,
1749
- content: zt.value,
1764
+ content: Bt.value,
1750
1765
  isFullscreen: $.value,
1751
1766
  isCustom: F.value.style.tooltip.customFormat && typeof F.value.style.tooltip.customFormat == "function",
1752
1767
  smooth: F.value.style.tooltip.smooth,
1753
1768
  backdropFilter: F.value.style.tooltip.backdropFilter,
1754
1769
  smoothForce: F.value.style.tooltip.smoothForce,
1755
1770
  smoothSnapThreshold: F.value.style.tooltip.smoothSnapThreshold,
1756
- isA11yMode: tn.value === "keyboard",
1757
- a11yPosition: en.value
1771
+ isA11yMode: nn.value === "keyboard",
1772
+ a11yPosition: tn.value
1758
1773
  }, {
1759
- "tooltip-before": O(() => [T(e.$slots, "tooltip-before", x(y({ ...Zn.value })), void 0, !0)]),
1760
- tooltip: O(() => [T(e.$slots, "tooltip", x(y({ ...Zn.value })), void 0, !0)]),
1761
- "tooltip-after": O(() => [T(e.$slots, "tooltip-after", x(y({ ...Zn.value })), void 0, !0)]),
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)]),
1762
1777
  _: 3
1763
1778
  }, 8, [
1764
1779
  "teleportTo",
@@ -1784,24 +1799,24 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1784
1799
  "isA11yMode",
1785
1800
  "a11yPosition"
1786
1801
  ]),
1787
- It.value && F.value.userOptions.buttons.table ? (S(), m(ze(yr.value.component), Pe({ key: 8 }, yr.value.props, {
1802
+ Lt.value && F.value.userOptions.buttons.table ? (C(), m(ze(br.value.component), Fe({ key: 8 }, br.value.props, {
1788
1803
  ref_key: "tableUnit",
1789
- ref: Zt,
1790
- onClose: br
1791
- }), je({
1792
- content: O(() => [(S(), m(D(Dt), {
1793
- key: `table_${qt.value}`,
1794
- colNames: ur.value.colNames,
1795
- head: ur.value.head,
1796
- body: ur.value.body,
1797
- config: ur.value.config,
1798
- title: F.value.table.useDialog ? "" : yr.value.title,
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,
1799
1814
  withCloseButton: !F.value.table.useDialog,
1800
- isCursorPointer: an.value,
1801
- onClose: br
1815
+ isCursorPointer: on.value,
1816
+ onClose: xr
1802
1817
  }, {
1803
- th: O(({ th: e }) => [Me(E(e), 1)]),
1804
- td: O(({ td: e }) => [_("div", { innerHTML: e }, null, 8, Ct)]),
1818
+ th: O(({ th: e }) => [Ne(Ve(e), 1)]),
1819
+ td: O(({ td: e }) => [_("div", { innerHTML: e }, null, 8, wt)]),
1805
1820
  _: 1
1806
1821
  }, 8, [
1807
1822
  "colNames",
@@ -1815,24 +1830,24 @@ var We = /* @__PURE__ */ e({ default: () => wt }), Ge = ["id"], Ke = ["id"], qe
1815
1830
  _: 2
1816
1831
  }, [F.value.table.useDialog ? {
1817
1832
  name: "title",
1818
- fn: O(() => [Me(E(yr.value.title), 1)]),
1833
+ fn: O(() => [Ne(Ve(br.value.title), 1)]),
1819
1834
  key: "0"
1820
1835
  } : void 0, F.value.table.useDialog ? {
1821
1836
  name: "actions",
1822
1837
  fn: O(() => [_("button", {
1823
1838
  tabindex: "0",
1824
1839
  class: "vue-ui-user-options-button",
1825
- onClick: t[2] ||= (e) => lr(F.value.userOptions.callbacks.csv),
1826
- style: Ie({ cursor: an.value ? "pointer" : "default" })
1827
- }, [Ne(D(wt), {
1840
+ onClick: t[2] ||= (e) => ur(F.value.userOptions.callbacks.csv),
1841
+ style: S({ cursor: on.value ? "pointer" : "default" })
1842
+ }, [Pe(D(Tt), {
1828
1843
  name: "fileCsv",
1829
- stroke: yr.value.props.color
1844
+ stroke: br.value.props.color
1830
1845
  }, null, 8, ["stroke"])], 4)]),
1831
1846
  key: "1"
1832
1847
  } : void 0]), 1040)) : h("", !0),
1833
- T(e.$slots, "skeleton", {}, () => [D(I) ? (S(), m(me, { key: 0 })) : h("", !0)], !0)
1834
- ], 46, Ge));
1848
+ E(e.$slots, "skeleton", {}, () => [D(I) ? (C(), m(he, { key: 0 })) : h("", !0)], !0)
1849
+ ], 46, Ke));
1835
1850
  }
1836
- }, [["__scopeId", "data-v-3777144d"]]);
1851
+ }, [["__scopeId", "data-v-c8d6c74c"]]);
1837
1852
  //#endregion
1838
- export { We as n, wt as t };
1853
+ export { Ge as n, Tt as t };