vue-data-ui 3.20.11 → 3.21.1

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 (195) hide show
  1. package/dist/{Arrow-D6j6ocXm.js → Arrow-_pDGXl76.js} +1 -1
  2. package/dist/{BaseDraggableDialog-4hDW-Rj2.js → BaseDraggableDialog-BvaFJWHb.js} +2 -2
  3. package/dist/{BaseIcon-DfLoHNUj.js → BaseIcon-CbDazQLH.js} +1 -1
  4. package/dist/{BaseLegendToggle-C_Db-y7s.js → BaseLegendToggle-BNRi408o.js} +1 -1
  5. package/dist/{BaseZoomControls-CG7hI_1P.js → BaseZoomControls-Dbtq9oyx.js} +2 -2
  6. package/dist/{ColorPicker-Bjwxnvfh.js → ColorPicker-B4ob7JgP.js} +2 -2
  7. package/dist/{DataTable-B--IN22e.js → DataTable-DweDyHc1.js} +2 -2
  8. package/dist/{Legend-Cz2uQ5gs.js → Legend-BLhREbj7.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-gLNJ1Lmr.js → NonSvgPenAndPaper-BzZyMJBF.js} +3 -3
  10. package/dist/PackageVersion-C19kRMwz.js +12 -0
  11. package/dist/{PenAndPaper-DqrClVfb.js → PenAndPaper-D4aFMYZf.js} +3 -3
  12. package/dist/{Shape-BPCJfphn.js → Shape-BxFtoF1z.js} +1 -1
  13. package/dist/{Slicer-SHBj0VaV.js → Slicer-GABgkLkB.js} +2 -2
  14. package/dist/{SlicerPreview-By4kBVCY.js → SlicerPreview-CXLgqXX8.js} +6 -6
  15. package/dist/{SparkTooltip-CfE6yCad.js → SparkTooltip-CdSRUoZN.js} +6 -6
  16. package/dist/{Title-NWp4qB4K.js → Title-DH6G8_cZ.js} +1 -1
  17. package/dist/{Tooltip-BENq327o.js → Tooltip-979Ytd8R.js} +1 -1
  18. package/dist/{UserOptions-C1NgoGu6.js → UserOptions-qFz-9Pnw.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-BYtB4BF3.js → dom-to-png-CtV3uxDJ.js} +1 -1
  89. package/dist/exposedLib-BJbE_A8E.js +19 -0
  90. package/dist/{img-1cKsci8e.js → img-C_RNNswI.js} +1 -1
  91. package/dist/{labelUtils-CUctkYoA.js → labelUtils-Bycs-017.js} +1 -1
  92. package/dist/{lib-DUeYQsS0.js → lib-AJRHFE5U.js} +12 -6
  93. package/dist/package-2loQetAS.js +4 -0
  94. package/dist/{pdf-D0eZ99cP.js → pdf-CdX23zf1.js} +1 -1
  95. package/dist/render-common-ZYTBPta1.js +152 -0
  96. package/dist/ssr/vue-ui-donut.js +2 -0
  97. package/dist/ssr/vue-ui-xy.js +2 -0
  98. package/dist/ssr.js +3 -0
  99. package/dist/types/ssr.d.ts +182 -0
  100. package/dist/types/vue-data-ui.d.ts +135 -1
  101. package/dist/{useAutoSizeLabelsInsideViewbox-BIVntRZp.js → useAutoSizeLabelsInsideViewbox-kjVKQz36.js} +1 -1
  102. package/dist/{useNestedProp-CNcoy38D.js → useNestedProp-DtcXIg7n.js} +1 -1
  103. package/dist/{usePrinter-C1Gqt_Sp.js → usePrinter-6n2MzVyV.js} +2 -2
  104. package/dist/utils.js +8 -8
  105. package/dist/{vue-data-ui-0t8DsSSW.js → vue-data-ui-Pk8ey2Zp.js} +68 -68
  106. package/dist/vue-data-ui.js +72 -72
  107. package/dist/vue-ui-3d-bar-VTeR1mZx.js +1757 -0
  108. package/dist/{vue-ui-accordion-Bpbv-VHE.js → vue-ui-accordion-DLnwuQda.js} +3 -3
  109. package/dist/vue-ui-age-pyramid-xEOXbRHP.js +1238 -0
  110. package/dist/{vue-ui-annotator-Q57JevNc.js → vue-ui-annotator-BljP5cB7.js} +8 -8
  111. package/dist/vue-ui-bullet-CrZLxzj_.js +710 -0
  112. package/dist/{vue-ui-bump-CE8VRCs2.js → vue-ui-bump-CTgHWBol.js} +253 -253
  113. package/dist/{vue-ui-candlestick-B4tkLoQe.js → vue-ui-candlestick-BnlUMIhy.js} +276 -276
  114. package/dist/vue-ui-carousel-table-CUCUCXKo.js +455 -0
  115. package/dist/vue-ui-chestnut-duBljSlu.js +2010 -0
  116. package/dist/vue-ui-chord-Bj4slh-a.js +1391 -0
  117. package/dist/{vue-ui-circle-pack-SCxS2mrl.js → vue-ui-circle-pack-i8NWuWRC.js} +36 -36
  118. package/dist/{vue-ui-cursor-DT8uNrQa.js → vue-ui-cursor-gsK2MfeA.js} +3 -3
  119. package/dist/{vue-ui-dag-CK30vhll.js → vue-ui-dag-D1iHafKn.js} +20 -20
  120. package/dist/{vue-ui-dashboard-Cf21Q0H0.js → vue-ui-dashboard-CHGG2h_R.js} +69 -69
  121. package/dist/{vue-ui-digits-DiapBzIK.js → vue-ui-digits-L0CQHwNC.js} +3 -3
  122. package/dist/vue-ui-donut-BvdCujBD.js +973 -0
  123. package/dist/vue-ui-donut-DZI7-m5W.js +2410 -0
  124. package/dist/vue-ui-donut-evolution-6Swt5Bfu.js +1510 -0
  125. package/dist/vue-ui-dumbbell-Du7kYvcj.js +1530 -0
  126. package/dist/{vue-ui-flow-uPuvDSxv.js → vue-ui-flow-CCuIvxey.js} +57 -57
  127. package/dist/{vue-ui-funnel-CCy9NFKa.js → vue-ui-funnel-CjGDyxgn.js} +32 -32
  128. package/dist/{vue-ui-galaxy-BjoOO1lq.js → vue-ui-galaxy-CgfJo8YL.js} +330 -330
  129. package/dist/vue-ui-gauge-CQOlEqFH.js +920 -0
  130. package/dist/{vue-ui-geo-C8FXD9it.js → vue-ui-geo-BDmUqZzA.js} +18 -18
  131. package/dist/{vue-ui-gizmo-BiLdRUEw.js → vue-ui-gizmo-C5TF8RsA.js} +62 -62
  132. package/dist/{vue-ui-heatmap-D3ewCJX6.js → vue-ui-heatmap-DNfexjVQ.js} +264 -264
  133. package/dist/{vue-ui-history-plot-BpyvvMPA.js → vue-ui-history-plot-BsRlZ3Ch.js} +74 -74
  134. package/dist/vue-ui-horizontal-bar-B3FVEoEc.js +1681 -0
  135. package/dist/{vue-ui-kpi-YCPfpGty.js → vue-ui-kpi-DvNkTrdr.js} +3 -3
  136. package/dist/{vue-ui-mini-loader-Bi0nsbao.js → vue-ui-mini-loader-BnLOdRA0.js} +2 -2
  137. package/dist/vue-ui-molecule-B-SSu23l.js +925 -0
  138. package/dist/{vue-ui-mood-radar-81X63j-D.js → vue-ui-mood-radar-C0uBZS5M.js} +21 -21
  139. package/dist/{vue-ui-nested-donuts-C1j-h8RW.js → vue-ui-nested-donuts-CvOcH0kV.js} +256 -256
  140. package/dist/{vue-ui-onion-CZLJxedN.js → vue-ui-onion-DtQBdJrD.js} +45 -45
  141. package/dist/{vue-ui-parallel-coordinate-plot-Czndz3oA.js → vue-ui-parallel-coordinate-plot-Bg2tSMri.js} +39 -39
  142. package/dist/{vue-ui-quadrant-LwMr7DKL.js → vue-ui-quadrant-aMfV7BCQ.js} +355 -355
  143. package/dist/{vue-ui-quick-chart-C20W7LNY.js → vue-ui-quick-chart-B9E9JbtT.js} +359 -359
  144. package/dist/vue-ui-radar-C3sVf4Kk.js +1229 -0
  145. package/dist/{vue-ui-rating-D8QQctnQ.js → vue-ui-rating-pDVqT08V.js} +33 -33
  146. package/dist/vue-ui-relation-circle-Bh8gBtow.js +924 -0
  147. package/dist/{vue-ui-ridgeline-B5BRKUoc.js → vue-ui-ridgeline-CvON901U.js} +54 -54
  148. package/dist/{vue-ui-rings-DVA3hiUL.js → vue-ui-rings-2oM3ddqR.js} +81 -81
  149. package/dist/vue-ui-scatter-DJJ6I8jn.js +2413 -0
  150. package/dist/{vue-ui-skeleton-DxXA3XSP.js → vue-ui-skeleton-CUf4LhWq.js} +41 -41
  151. package/dist/{vue-ui-smiley-CqwB6Uhu.js → vue-ui-smiley-DUI5n89s.js} +16 -16
  152. package/dist/{vue-ui-spark-trend-B3mkyeZ3.js → vue-ui-spark-trend-5EbTK8CN.js} +27 -27
  153. package/dist/{vue-ui-sparkbar-BlmV-ndv.js → vue-ui-sparkbar-V1Q7yOzO.js} +83 -83
  154. package/dist/{vue-ui-sparkgauge-DKRJDqAS.js → vue-ui-sparkgauge-DVFBXPs-.js} +44 -44
  155. package/dist/{vue-ui-sparkhistogram-BNiXxI65.js → vue-ui-sparkhistogram--mzKP-M1.js} +110 -110
  156. package/dist/vue-ui-sparkline-IbMn1jAF.js +1507 -0
  157. package/dist/{vue-ui-sparkstackbar-C6qMimoL.js → vue-ui-sparkstackbar-BehvXszi.js} +155 -155
  158. package/dist/{vue-ui-stackbar-C7jTnGyT.js → vue-ui-stackbar-D--yXf7n.js} +81 -81
  159. package/dist/vue-ui-stackline-DI2_W85f.js +2398 -0
  160. package/dist/{vue-ui-strip-plot-CvjdxEOT.js → vue-ui-strip-plot-D243ak4S.js} +90 -90
  161. package/dist/{vue-ui-table-B0zkvlw5.js → vue-ui-table-ChiyCBKh.js} +78 -78
  162. package/dist/{vue-ui-table-heatmap-xwfStZrD.js → vue-ui-table-heatmap-C1e_7MJ2.js} +16 -16
  163. package/dist/{vue-ui-table-sparkline-BQjo2sbB.js → vue-ui-table-sparkline-BN4D7tBN.js} +22 -22
  164. package/dist/{vue-ui-thermometer-CVhxnkN-.js → vue-ui-thermometer-CV4l5Sjx.js} +21 -21
  165. package/dist/{vue-ui-timer-Cimuw9rF.js → vue-ui-timer-DtvtZpm0.js} +23 -23
  166. package/dist/{vue-ui-tiremarks-CSPL1oli.js → vue-ui-tiremarks-Bk3Cy8YN.js} +19 -19
  167. package/dist/{vue-ui-treemap-BWivpffU.js → vue-ui-treemap-CU7kBoiL.js} +65 -65
  168. package/dist/{vue-ui-waffle-FmLPDL2g.js → vue-ui-waffle-CIevmSko.js} +232 -232
  169. package/dist/{vue-ui-wheel-BjdVO5f4.js → vue-ui-wheel-CFkx_bUf.js} +36 -36
  170. package/dist/{vue-ui-word-cloud-hhjEM6ee.js → vue-ui-word-cloud-DJ7e4RZy.js} +35 -35
  171. package/dist/{vue-ui-world-H9HX6smc.js → vue-ui-world-Cng3zjSW.js} +445 -445
  172. package/dist/vue-ui-xy-B8jNN9dy.js +4744 -0
  173. package/dist/{vue-ui-xy-canvas-kbP-mjEo.js → vue-ui-xy-canvas-DjxM7y3T.js} +60 -60
  174. package/dist/vue-ui-xy-yPqdWpyW.js +1263 -0
  175. package/package.json +5 -1
  176. package/dist/PackageVersion-eS823iMF.js +0 -11
  177. package/dist/exposedLib-CI8ji8G-.js +0 -19
  178. package/dist/vue-ui-3d-bar-D1dX4mDU.js +0 -1757
  179. package/dist/vue-ui-age-pyramid-BYIxO-rR.js +0 -1238
  180. package/dist/vue-ui-bullet-B65T4IyK.js +0 -710
  181. package/dist/vue-ui-carousel-table-DB1kG5AJ.js +0 -455
  182. package/dist/vue-ui-chestnut-CXzK4gsf.js +0 -2010
  183. package/dist/vue-ui-chord-BhuABwXT.js +0 -1391
  184. package/dist/vue-ui-donut-DrM628Ge.js +0 -2410
  185. package/dist/vue-ui-donut-evolution-CIXY4tKY.js +0 -1510
  186. package/dist/vue-ui-dumbbell-B8V84XkY.js +0 -1530
  187. package/dist/vue-ui-gauge-DbV0oQs3.js +0 -920
  188. package/dist/vue-ui-horizontal-bar-DoCvNzdC.js +0 -1681
  189. package/dist/vue-ui-molecule-IFNTvQdE.js +0 -925
  190. package/dist/vue-ui-radar-Dxopl3RI.js +0 -1229
  191. package/dist/vue-ui-relation-circle-CMRXow6X.js +0 -924
  192. package/dist/vue-ui-scatter-DcveiIfl.js +0 -2413
  193. package/dist/vue-ui-sparkline-C5EDZIAt.js +0 -1507
  194. package/dist/vue-ui-stackline-fdOF6lLn.js +0 -2398
  195. package/dist/vue-ui-xy-omDIF90L.js +0 -4744
@@ -1,24 +1,24 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Ct as n, G as r, H as i, J as a, Mt as o, Nt as s, S as c, X as l, h as ee, nt as te, pt as ne, s as re, t as ie, v as u, zt as ae } from "./lib-DUeYQsS0.js";
3
- import { n as oe, r as se, t as ce } from "./useTimeLabels-BmBRv27Y.js";
4
- import { t as le } from "./useConfig-DnH7Pf_2.js";
5
- import { t as ue } from "./usePrinter-C1Gqt_Sp.js";
6
- import { n as de, t as fe } from "./BaseScanner-Dr2a1Msy.js";
7
- import { t as pe } from "./useSvgExport-SVIsDot8.js";
8
- import { t as me } from "./useNestedProp-CNcoy38D.js";
9
- import { t as he } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as ge } from "./useTimeLabelCollider-AEcY4Ioe.js";
11
- import { t as _e } from "./img-1cKsci8e.js";
12
- import { n as ve } from "./Title-NWp4qB4K.js";
13
- import { t as ye } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
- import { c as be } from "./canvas-lib-BOP_HS11.js";
15
- import { t as xe } from "./useResponsive-BfnK0KxU.js";
16
- import { t as Se } from "./SlicerPreview-By4kBVCY.js";
17
- import { t as Ce } from "./A11yDataTable-BCbtxMU6.js";
18
- import { t as we } from "./useUserOptionState-DK-_1ddE.js";
19
- import { t as Te } from "./useChartAccessibility-DYqac8yF.js";
20
- import { t as Ee } from "./vue_ui_candlestick-J8jmJvxP.js";
21
- import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as De, createTextVNode as Oe, createVNode as ke, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Ae, nextTick as je, normalizeClass as y, normalizeProps as b, normalizeStyle as Me, onBeforeUnmount as Ne, onMounted as Pe, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Fe, shallowRef as Ie, toDisplayString as T, toRefs as Le, unref as E, watch as Re, watchEffect as ze, withCtx as D } from "vue";
2
+ import { Ft as t, G as n, H as r, Ht as i, J as a, Pt as o, S as s, Tt as c, Vt as l, X as u, h as ee, ht as te, it as ne, s as re, t as ie, v as d } from "./lib-AJRHFE5U.js";
3
+ import { n as ae, r as oe, t as se } from "./useTimeLabels-BmBRv27Y.js";
4
+ import { t as ce } from "./useConfig-DnH7Pf_2.js";
5
+ import { t as le } from "./usePrinter-6n2MzVyV.js";
6
+ import { n as ue, t as de } from "./BaseScanner-Dr2a1Msy.js";
7
+ import { t as fe } from "./useSvgExport-SVIsDot8.js";
8
+ import { t as pe } from "./useNestedProp-DtcXIg7n.js";
9
+ import { t as me } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as he } from "./useTimeLabelCollider-AEcY4Ioe.js";
11
+ import { t as ge } from "./img-C_RNNswI.js";
12
+ import { n as _e } from "./Title-DH6G8_cZ.js";
13
+ import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
+ import { c as ye } from "./canvas-lib-BOP_HS11.js";
15
+ import { t as be } from "./useResponsive-BfnK0KxU.js";
16
+ import { t as xe } from "./SlicerPreview-CXLgqXX8.js";
17
+ import { t as Se } from "./A11yDataTable-BCbtxMU6.js";
18
+ import { t as Ce } from "./useUserOptionState-DK-_1ddE.js";
19
+ import { t as we } from "./useChartAccessibility-DYqac8yF.js";
20
+ import { t as Te } from "./vue_ui_candlestick-J8jmJvxP.js";
21
+ import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as Ee, createTextVNode as De, createVNode as Oe, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as ke, nextTick as Ae, normalizeClass as b, normalizeProps as x, normalizeStyle as je, onBeforeUnmount as Me, onMounted as Ne, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as Pe, shallowRef as Fe, toDisplayString as Ie, toRefs as Le, unref as E, watch as Re, watchEffect as ze, withCtx as D } from "vue";
22
22
  //#region src/components/vue-ui-candlestick.vue
23
23
  var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue = { style: { position: "relative" } }, We = [
24
24
  "xmlns",
@@ -165,7 +165,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
165
165
  "d",
166
166
  "stroke",
167
167
  "stroke-width"
168
- ], Dt = ["innerHTML"], Ot = /* @__PURE__ */ ye({
168
+ ], Dt = ["innerHTML"], Ot = /* @__PURE__ */ ve({
169
169
  __name: "vue-ui-candlestick",
170
170
  props: {
171
171
  config: {
@@ -186,11 +186,11 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
186
186
  }
187
187
  },
188
188
  emits: ["selectX", "copyAlt"],
189
- setup(e, { expose: ye, emit: Be }) {
190
- let Ot = _(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), kt = _(() => import("./Tooltip-BENq327o.js")), At = _(() => import("./vue-ui-accordion-Bpbv-VHE.js").then((e) => e.n)), jt = _(() => import("./DataTable-B--IN22e.js")), Mt = _(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), Nt = _(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), Pt = _(() => import("./PackageVersion-eS823iMF.js").then((e) => e.t)), Ft = _(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_candlestick: It } = le(), { isThemeValid: Lt, warnInvalidTheme: Rt } = he(), O = e, zt = Be, Bt = f(() => !!O.dataset && O.dataset.length), k = S(!1), Vt = S(null), A = S(i()), Ht = S(!1), Ut = S(""), j = S(void 0), Wt = S(0), M = S(null), Gt = S(null), Kt = S(null), qt = S(null), Jt = S(null), Yt = S(null), Xt = S(0), Zt = S(0), Qt = S(0), $t = S(null), en = S(null), tn = S(null), nn = S(null), rn = S(null), an = S(!1), on = S(!1), N = S(null), sn = S({
189
+ setup(e, { expose: ve, emit: Be }) {
190
+ let Ot = v(() => import("./BaseIcon-CbDazQLH.js").then((e) => e.n)), kt = v(() => import("./Tooltip-979Ytd8R.js")), At = v(() => import("./vue-ui-accordion-DLnwuQda.js").then((e) => e.n)), jt = v(() => import("./DataTable-DweDyHc1.js")), Mt = v(() => import("./PenAndPaper-D4aFMYZf.js").then((e) => e.t)), Nt = v(() => import("./UserOptions-qFz-9Pnw.js").then((e) => e.n)), Pt = v(() => import("./PackageVersion-C19kRMwz.js").then((e) => e.t)), Ft = v(() => import("./BaseDraggableDialog-BvaFJWHb.js").then((e) => e.n)), { vue_ui_candlestick: It } = ce(), { isThemeValid: Lt, warnInvalidTheme: Rt } = me(), O = e, zt = Be, Bt = p(() => !!O.dataset && O.dataset.length), k = C(!1), Vt = C(null), A = C(r()), Ht = C(!1), Ut = C(""), j = C(void 0), Wt = C(0), M = C(null), Gt = C(null), Kt = C(null), qt = C(null), Jt = C(null), Yt = C(null), Xt = C(0), Zt = C(0), Qt = C(0), $t = C(null), en = C(null), tn = C(null), nn = C(null), rn = C(null), an = C(!1), on = C(!1), N = C(null), sn = C({
191
191
  x: 0,
192
192
  y: 0
193
- }), cn = S("pointer"), ln = S(!1), P = S(vn()), un = f(() => P.value.userOptions.useCursorPointer), dn = f(() => t({
193
+ }), cn = C("pointer"), ln = C(!1), P = C(vn()), un = p(() => P.value.userOptions.useCursorPointer), dn = p(() => i({
194
194
  defaultConfig: {
195
195
  useCssAnimation: !1,
196
196
  userOptions: { show: !1 },
@@ -228,7 +228,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
228
228
  }
229
229
  },
230
230
  userConfig: P.value.skeletonConfig ?? {}
231
- })), { loading: F, FINAL_DATASET: I, manualLoading: fn } = de({
231
+ })), { loading: F, FINAL_DATASET: I, manualLoading: fn } = ue({
232
232
  ...Le(O),
233
233
  FINAL_CONFIG: P,
234
234
  prepareConfig: vn,
@@ -335,11 +335,11 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
335
335
  5100
336
336
  ]
337
337
  ],
338
- skeletonConfig: t({
338
+ skeletonConfig: i({
339
339
  defaultConfig: P.value,
340
340
  userConfig: dn.value
341
341
  })
342
- }), { userOptionsVisible: pn, setUserOptionsVisibility: mn, keepUserOptionState: hn } = we({ config: P.value }), { svgRef: L } = Te({ config: P.value.style.title });
342
+ }), { userOptionsVisible: pn, setUserOptionsVisibility: mn, keepUserOptionState: hn } = Ce({ config: P.value }), { svgRef: L } = we({ config: P.value.style.title });
343
343
  function gn() {
344
344
  mn(!0);
345
345
  }
@@ -350,17 +350,17 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
350
350
  }), j.value = null;
351
351
  }
352
352
  function vn() {
353
- let e = me({
353
+ let e = pe({
354
354
  userConfig: O.config,
355
355
  defaultConfig: It
356
356
  }), t = {}, n = e.theme;
357
357
  if (n) if (!Lt.value(e)) Rt(e), t = e;
358
358
  else {
359
- let r = me({
360
- userConfig: Ee[n] || O.config,
359
+ let r = pe({
360
+ userConfig: Te[n] || O.config,
361
361
  defaultConfig: e
362
362
  });
363
- t = { ...me({
363
+ t = { ...pe({
364
364
  userConfig: O.config,
365
365
  defaultConfig: r
366
366
  }) };
@@ -373,27 +373,27 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
373
373
  }, { deep: !0 }), Re(() => O.dataset, (e) => {
374
374
  Array.isArray(e) && e.length > 0 && (fn.value = !1), sr();
375
375
  }, { deep: !0 });
376
- let R = S({
376
+ let R = C({
377
377
  height: P.value.style.height,
378
378
  width: P.value.style.width,
379
379
  xAxisFontSize: P.value.style.layout.grid.xAxis.dataLabels.fontSize,
380
380
  yAxisFontSize: P.value.style.layout.grid.yAxis.dataLabels.fontSize
381
- }), z = Ie(null), B = Ie(null);
382
- Pe(() => {
381
+ }), z = Fe(null), B = Fe(null);
382
+ Ne(() => {
383
383
  yn();
384
384
  });
385
- let V = f(() => !!P.value.debug);
385
+ let V = p(() => !!P.value.debug);
386
386
  function yn() {
387
- if (n(O.dataset) && (l({
387
+ if (c(O.dataset) && (u({
388
388
  componentName: "VueUiCandlestick",
389
389
  type: "dataset",
390
390
  debug: V.value
391
- }), fn.value = !0), n(O.dataset) || (fn.value = P.value.loading), setTimeout(() => {
391
+ }), fn.value = !0), c(O.dataset) || (fn.value = P.value.loading), setTimeout(() => {
392
392
  k.value = !0;
393
393
  }, 10), P.value.responsive) {
394
- let e = be(() => {
394
+ let e = ye(() => {
395
395
  k.value = !1;
396
- let { width: e, height: t } = xe({
396
+ let { width: e, height: t } = be({
397
397
  chart: M.value,
398
398
  title: P.value.style.title.text ? Gt.value : null,
399
399
  slicer: P.value.style.zoom.show && G.value > 6 ? qt.value.$el : null,
@@ -402,13 +402,13 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
402
402
  noTitle: Yt.value
403
403
  });
404
404
  requestAnimationFrame(() => {
405
- R.value.width = e, R.value.height = t - 12, P.value.responsiveProportionalSizing ? (R.value.xAxisFontSize = ae({
405
+ R.value.width = e, R.value.height = t - 12, P.value.responsiveProportionalSizing ? (R.value.xAxisFontSize = l({
406
406
  relator: Math.min(e, t),
407
407
  adjuster: P.value.style.width,
408
408
  source: P.value.style.layout.grid.xAxis.dataLabels.fontSize,
409
409
  threshold: 6,
410
410
  fallback: 6
411
- }), R.value.yAxisFontSize = ae({
411
+ }), R.value.yAxisFontSize = l({
412
412
  relator: Math.min(e, t),
413
413
  adjuster: P.value.style.width,
414
414
  source: P.value.style.layout.grid.yAxis.dataLabels.fontSize,
@@ -423,17 +423,17 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
423
423
  }
424
424
  dr();
425
425
  }
426
- Ne(() => {
426
+ Me(() => {
427
427
  z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect());
428
428
  });
429
- let { isPrinting: bn, isImaging: xn, generatePdf: Sn, generateImage: Cn } = ue({
429
+ let { isPrinting: bn, isImaging: xn, generatePdf: Sn, generateImage: Cn } = le({
430
430
  elementId: `vue-ui-candlestick_${A.value}`,
431
431
  fileName: P.value.style.title.text || "vue-ui-candlestick",
432
432
  options: P.value.userOptions.print
433
- }), wn = f(() => P.value.userOptions.show && !P.value.style.title.text), H = S({
433
+ }), wn = p(() => P.value.userOptions.show && !P.value.style.title.text), H = C({
434
434
  showTable: P.value.table.show,
435
435
  showTooltip: P.value.style.tooltip.show
436
- }), Tn = S(0), En = be((e) => {
436
+ }), Tn = C(0), En = ye((e) => {
437
437
  Tn.value = e;
438
438
  }, 100);
439
439
  ze((e) => {
@@ -443,13 +443,13 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
443
443
  En(e[0].contentRect.height);
444
444
  });
445
445
  n.observe(t), e(() => n.disconnect());
446
- }), Ne(() => {
446
+ }), Me(() => {
447
447
  Tn.value = 0;
448
448
  });
449
- let Dn = f(() => {
449
+ let Dn = p(() => {
450
450
  let e = 0;
451
451
  return en.value && (e = Tn.value + R.value.xAxisFontSize), e;
452
- }), U = f(() => P.value.style.layout.grid.yAxis.position === "right");
452
+ }), U = p(() => P.value.style.layout.grid.yAxis.position === "right");
453
453
  function On() {
454
454
  let e = P.value.style.layout.grid.yAxis.dataLabels.offsetX;
455
455
  $t.value && (e = Array.from($t.value.querySelectorAll("text")).reduce((e, t) => {
@@ -465,7 +465,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
465
465
  crosshair: 13
466
466
  };
467
467
  }
468
- let W = f(() => {
468
+ let W = p(() => {
469
469
  let { top: e, right: t, bottom: n, left: r } = P.value.style.layout.padding, i = On();
470
470
  return {
471
471
  top: e + 12,
@@ -478,12 +478,12 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
478
478
  yAxisNameWidth: i.yAxisNameWidth,
479
479
  crosshair: i.crosshair
480
480
  };
481
- }), kn = f(() => {
482
- let { left: e, top: t, width: n, height: r } = W.value, i = K.value.start, a = K.value.end - i, o = n / a, s = q.value.start - i, c = q.value.end - i, l = Math.max(0, Math.min(a, s)), ee = Math.max(0, Math.min(a, c));
481
+ }), kn = p(() => {
482
+ let { left: e, top: t, width: n, height: r } = W.value, i = K.value.start, a = K.value.end - i, o = n / a, s = q.value.start - i, c = q.value.end - i, l = Math.max(0, Math.min(a, s)), u = Math.max(0, Math.min(a, c));
483
483
  return {
484
484
  x: e + l * o,
485
485
  y: t,
486
- width: (ee - l) * o,
486
+ width: (u - l) * o,
487
487
  height: r,
488
488
  fill: P.value.style.zoom.preview.fill,
489
489
  stroke: P.value.style.zoom.preview.stroke,
@@ -497,13 +497,13 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
497
497
  animation: "none !important"
498
498
  }
499
499
  };
500
- }), G = f(() => I.value.length), K = S({
500
+ }), G = p(() => I.value.length), K = C({
501
501
  start: 0,
502
502
  end: G.value
503
- }), q = S({
503
+ }), q = C({
504
504
  start: 0,
505
505
  end: G.value
506
- }), An = f(() => P.value.style.zoom.preview.enable && (q.value.start !== K.value.start || q.value.end !== K.value.end));
506
+ }), An = p(() => P.value.style.zoom.preview.enable && (q.value.start !== K.value.start || q.value.end !== K.value.end));
507
507
  function jn(e, t) {
508
508
  q.value[e] = t;
509
509
  }
@@ -511,41 +511,41 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
511
511
  let e = Math.max(0, Math.min(K.value.start ?? 0, G.value - 1)), t = Math.max(e + 1, Math.min(K.value.end ?? G.value, G.value));
512
512
  (!Number.isFinite(e) || !Number.isFinite(t) || t <= e) && (e = 0, t = G.value), K.value.start = e, K.value.end = t, q.value.start = e, q.value.end = t, qt.value && (qt.value.setStartValue(e), qt.value.setEndValue(t));
513
513
  }
514
- let Nn = f(() => I.value.map((e, t) => ({
514
+ let Nn = p(() => I.value.map((e, t) => ({
515
515
  ...e,
516
516
  absoluteIndex: t
517
- }))), Pn = f(() => Nn.value.slice(K.value.start, K.value.end)), J = f(() => (I.value.forEach((e, t) => {
518
- [null, void 0].includes(e[0]) && l({
517
+ }))), Pn = p(() => Nn.value.slice(K.value.start, K.value.end)), J = p(() => (I.value.forEach((e, t) => {
518
+ [null, void 0].includes(e[0]) && u({
519
519
  componentName: "VueUiCandlestick",
520
520
  type: "datasetAttribute",
521
521
  property: "period (index 0)",
522
522
  index: t,
523
523
  debug: V.value
524
- }), [null, void 0].includes(e[1]) && l({
524
+ }), [null, void 0].includes(e[1]) && u({
525
525
  componentName: "VueUiCandlestick",
526
526
  type: "datasetAttribute",
527
527
  property: "open (index 1)",
528
528
  index: t,
529
529
  debug: V.value
530
- }), [null, void 0].includes(e[2]) && l({
530
+ }), [null, void 0].includes(e[2]) && u({
531
531
  componentName: "VueUiCandlestick",
532
532
  type: "datasetAttribute",
533
533
  property: "high (index 2)",
534
534
  index: t,
535
535
  debug: V.value
536
- }), [null, void 0].includes(e[3]) && l({
536
+ }), [null, void 0].includes(e[3]) && u({
537
537
  componentName: "VueUiCandlestick",
538
538
  type: "datasetAttribute",
539
539
  property: "low (index 3)",
540
540
  index: t,
541
541
  debug: V.value
542
- }), [null, void 0].includes(e[4]) && l({
542
+ }), [null, void 0].includes(e[4]) && u({
543
543
  componentName: "VueUiCandlestick",
544
544
  type: "datasetAttribute",
545
545
  property: "close (index 4)",
546
546
  index: t,
547
547
  debug: V.value
548
- }), [null, void 0].includes(e[5]) && l({
548
+ }), [null, void 0].includes(e[5]) && u({
549
549
  componentName: "VueUiCandlestick",
550
550
  type: "datasetAttribute",
551
551
  property: "volume (index 5)",
@@ -560,7 +560,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
560
560
  low: e[3],
561
561
  close: e[4],
562
562
  volume: e[5]
563
- })))), Fn = f(() => Nn.value.map((e) => ({
563
+ })))), Fn = p(() => Nn.value.map((e) => ({
564
564
  absoluteIndex: e.absoluteIndex,
565
565
  period: e[0],
566
566
  open: e[1],
@@ -568,21 +568,21 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
568
568
  low: e[3],
569
569
  close: e[4],
570
570
  volume: e[5]
571
- }))), Y = f(() => W.value.width / Pn.value.length), In = f(() => ({
571
+ }))), Y = p(() => W.value.width / Pn.value.length), In = p(() => ({
572
572
  max: P.value.style.layout.grid.yAxis.scale.max === null ? Math.max(...J.value.map((e) => e.high)) : P.value.style.layout.grid.yAxis.scale.max,
573
573
  min: P.value.style.layout.grid.yAxis.scale.min === null ? 0 : P.value.style.layout.grid.yAxis.scale.min
574
- })), X = f(() => ee(In.value.min, In.value.max, P.value.style.layout.grid.yAxis.dataLabels.steps));
574
+ })), X = p(() => ee(In.value.min, In.value.max, P.value.style.layout.grid.yAxis.dataLabels.steps));
575
575
  function Ln(e, t, n = null, r = null) {
576
576
  return {
577
577
  ...e,
578
- x: u(W.value.left + t * Y.value + Y.value / 2),
579
- y: u(W.value.top + (1 - (e - X.value.min) / (X.value.max - X.value.min)) * W.value.height),
580
- value: u(e),
578
+ x: d(W.value.left + t * Y.value + Y.value / 2),
579
+ y: d(W.value.top + (1 - (e - X.value.min) / (X.value.max - X.value.min)) * W.value.height),
580
+ value: d(e),
581
581
  isMax: e === n,
582
582
  isMin: e === r
583
583
  };
584
584
  }
585
- let Z = f(() => {
585
+ let Z = p(() => {
586
586
  let e = {
587
587
  o: Math.max(...J.value.map((e) => e.open)),
588
588
  h: Math.max(...J.value.map((e) => e.high)),
@@ -595,7 +595,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
595
595
  c: Math.min(...J.value.map((e) => e.low))
596
596
  }, n = Math.max(...J.value.map((e) => e.volume)), r = Math.min(...J.value.map((e) => e.volume));
597
597
  return J.value.map((i, a) => {
598
- let o = Ln(i.open, a, e.o, t.o), s = Ln(i.high, a, e.h, t.h), c = Ln(i.low, a, e.l, t.l), l = Ln(i.close, a, e.c, t.c), ee = i.close > i.open, te = i.volume === n, ne = i.volume === r;
598
+ let o = Ln(i.open, a, e.o, t.o), s = Ln(i.high, a, e.h, t.h), c = Ln(i.low, a, e.l, t.l), l = Ln(i.close, a, e.c, t.c), u = i.close > i.open, ee = i.volume === n, te = i.volume === r;
599
599
  return {
600
600
  period: i.period,
601
601
  open: o,
@@ -603,10 +603,10 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
603
603
  low: c,
604
604
  close: l,
605
605
  volume: i.volume,
606
- isBullish: ee,
606
+ isBullish: u,
607
607
  absoluteIndex: i.absoluteIndex,
608
- isMaxVolume: te,
609
- isMinVolume: ne
608
+ isMaxVolume: ee,
609
+ isMinVolume: te
610
610
  };
611
611
  });
612
612
  });
@@ -614,12 +614,12 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
614
614
  let i = P.value.style.layout.grid.yAxis.scale.min ?? 0, a = P.value.style.layout.grid.yAxis.scale.max ?? Math.max(...I.value.map((e) => e[2]));
615
615
  return {
616
616
  ...e,
617
- x: u(t * r),
618
- y: u((1 - (e - i) / (a - i)) * n),
619
- value: u(e)
617
+ x: d(t * r),
618
+ y: d((1 - (e - i) / (a - i)) * n),
619
+ value: d(e)
620
620
  };
621
621
  }
622
- let zn = f(() => ({ minimapH: e, unitW: t }) => Fn.value.map((n, r) => {
622
+ let zn = p(() => ({ minimapH: e, unitW: t }) => Fn.value.map((n, r) => {
623
623
  let i = Rn({
624
624
  item: n.open,
625
625
  index: r,
@@ -651,23 +651,23 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
651
651
  isBullish: c,
652
652
  absoluteIndex: n.absoluteIndex
653
653
  };
654
- })), Bn = f(() => P.value.style.zoom.minimap.show ? [{
654
+ })), Bn = p(() => P.value.style.zoom.minimap.show ? [{
655
655
  name: "",
656
656
  series: I.value.map((e) => e[2]),
657
657
  color: "#000000",
658
658
  isVisible: !0
659
659
  }] : []);
660
660
  function Vn(e) {
661
- return u((e - X.value.min) / (X.value.max - X.value.min));
661
+ return d((e - X.value.min) / (X.value.max - X.value.min));
662
662
  }
663
- let Hn = f(() => X.value.ticks.map((e) => ({
663
+ let Hn = p(() => X.value.ticks.map((e) => ({
664
664
  y: W.value.bottom - W.value.height * Vn(e),
665
- value: u(e)
666
- }))), Un = f(() => J.value.map((e) => e.period)), Q = S([]), Wn = S([]), Gn = 0;
665
+ value: d(e)
666
+ }))), Un = p(() => J.value.map((e) => e.period)), Q = C([]), Wn = C([]), Gn = 0;
667
667
  ze(() => {
668
668
  let e = ++Gn;
669
669
  (async () => {
670
- let t = await ce({
670
+ let t = await se({
671
671
  values: I.value.map((e) => e[0]),
672
672
  maxDatapoints: I.value.length,
673
673
  formatter: P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
@@ -681,7 +681,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
681
681
  ze(() => {
682
682
  let e = ++Kn;
683
683
  (async () => {
684
- let t = await ce({
684
+ let t = await se({
685
685
  values: I.value.map((e) => e[0]),
686
686
  maxDatapoints: I.value.length,
687
687
  formatter: P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
@@ -691,10 +691,10 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
691
691
  e === Kn && (Wn.value = t);
692
692
  })();
693
693
  });
694
- let qn = f(() => {
694
+ let qn = p(() => {
695
695
  let e = P.value.style.layout.grid.xAxis.dataLabels.modulo;
696
696
  return Q.value.length ? Math.min(e, [...new Set(Q.value.map((e) => e.text))].length) : e;
697
- }), Jn = S({
697
+ }), Jn = C({
698
698
  months: [],
699
699
  shortMonths: [],
700
700
  days: [],
@@ -703,12 +703,12 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
703
703
  ze(() => {
704
704
  let e = ++Yn, t = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter;
705
705
  (async () => {
706
- let n = await se(t.locale).catch(() => se("en"));
706
+ let n = await oe(t.locale).catch(() => oe("en"));
707
707
  e === Yn && (Jn.value = n.data);
708
708
  })();
709
709
  });
710
- let Xn = f(() => {
711
- let e = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter, t = oe({
710
+ let Xn = p(() => {
711
+ let e = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter, t = ae({
712
712
  useUTC: e.useUTC,
713
713
  locale: Jn.value,
714
714
  januaryAsYear: e.januaryAsYear
@@ -717,22 +717,22 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
717
717
  let r = I.value.map((e) => e[0])?.[e];
718
718
  return r == null ? "" : t.formatDate(new Date(r), n);
719
719
  };
720
- }), Zn = f(() => (I.value.map((e) => e[0]) || []).map((e, t) => ({
720
+ }), Zn = p(() => (I.value.map((e) => e[0]) || []).map((e, t) => ({
721
721
  text: Xn.value(t, P.value.style.tooltip.timeFormat),
722
722
  absoluteIndex: t
723
- }))), Qn = f(() => (I.value.map((e) => e[0]) || []).map((e, t) => ({
723
+ }))), Qn = p(() => (I.value.map((e) => e[0]) || []).map((e, t) => ({
724
724
  text: Xn.value(t, P.value.style.zoom.timeFormat),
725
725
  absoluteIndex: t
726
- }))), $n = f(() => {
726
+ }))), $n = p(() => {
727
727
  let e = P.value.style.layout.grid.xAxis.dataLabels, t = Q.value || [], n = Wn.value || [], r = K.value.start ?? 0, i = j.value, a = G.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? "");
728
728
  return re(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, qn.value || 1), o, s, r, i, a);
729
- }), er = f(() => P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
729
+ }), er = p(() => P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
730
730
  start: Q.value.find((e) => e.absoluteIndex === K.value.start)?.text ?? "",
731
731
  end: Q.value.find((e) => e.absoluteIndex === K.value.end - 1)?.text ?? ""
732
732
  } : {
733
733
  start: I.value[K.value.start] ? I.value[K.value.start][0] : I.value[0][0],
734
734
  end: I.value[K.value.end - 1] ? I.value[K.value.end - 1][0] : I.value.at(-1)[0]
735
- }), tr = S(null);
735
+ }), tr = C(null);
736
736
  function nr(e, t) {
737
737
  P.value.events.datapointClick && P.value.events.datapointClick({
738
738
  datapoint: t,
@@ -753,11 +753,11 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
753
753
  let t = e - K.value.start;
754
754
  t < 0 || e >= K.value.end ? j.value = null : j.value = t ?? null;
755
755
  }, { immediate: !0 });
756
- function ir(e, t, n = "pointer") {
756
+ function ir(e, t, r = "pointer") {
757
757
  P.value.events.datapointEnter && P.value.events.datapointEnter({
758
758
  datapoint: t,
759
759
  seriesIndex: e + K.value.start
760
- }), j.value = e, N.value = e, cn.value = n, tr.value = {
760
+ }), j.value = e, N.value = e, cn.value = r, tr.value = {
761
761
  datapoint: t,
762
762
  seriesIndex: e,
763
763
  series: Z.value,
@@ -767,7 +767,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
767
767
  datapoint: t
768
768
  });
769
769
  let i = P.value.style.tooltip.customFormat;
770
- if (ne(i) && te(() => i({
770
+ if (te(i) && ne(() => i({
771
771
  seriesIndex: e,
772
772
  datapoint: t,
773
773
  series: Z.value,
@@ -779,67 +779,67 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
779
779
  config: P.value
780
780
  });
781
781
  else if (P.value.style.tooltip.show) {
782
- let n = "", { period: i, open: a, high: o, low: s, close: c, volume: l, isBullish: ee } = Z.value[e], { period: te, open: ne, high: re, low: ie, close: u, volume: ae } = P.value.translations, oe = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? P.value.style.tooltip.useDefaultTimeFormat ? Q.value[e].text : Zn.value[e].text : i;
783
- n += `<div><svg style="margin-right:6px" viewBox="0 0 12 12" height="12" width="12"><rect x="0" y="0" height="12" width="12" rx="${P.value.style.layout.candle.borderRadius * 3}" stroke="${P.value.style.layout.candle.stroke}" stroke-width="${P.value.style.layout.candle.strokeWidth}"
784
- fill="${P.value.style.layout.candle.gradient.show ? ee ? `url(#bullish_gradient_${A.value})` : `url(#bearish_gradient_${A.value})` : ee ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish}"/></svg>${oe}</div>`, n += `${ae} : <b>${isNaN(l) ? "-" : Number(l.toFixed(P.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, n += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${P.value.style.tooltip.borderColor}">`;
785
- let se = r({
782
+ let r = "", { period: i, open: a, high: o, low: s, close: c, volume: l, isBullish: u } = Z.value[e], { period: ee, open: te, high: ne, low: re, close: ie, volume: d } = P.value.translations, ae = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? P.value.style.tooltip.useDefaultTimeFormat ? Q.value[e].text : Zn.value[e].text : i;
783
+ r += `<div><svg style="margin-right:6px" viewBox="0 0 12 12" height="12" width="12"><rect x="0" y="0" height="12" width="12" rx="${P.value.style.layout.candle.borderRadius * 3}" stroke="${P.value.style.layout.candle.stroke}" stroke-width="${P.value.style.layout.candle.strokeWidth}"
784
+ fill="${P.value.style.layout.candle.gradient.show ? u ? `url(#bullish_gradient_${A.value})` : `url(#bearish_gradient_${A.value})` : u ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish}"/></svg>${ae}</div>`, r += `${d} : <b>${isNaN(l) ? "-" : Number(l.toFixed(P.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, r += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${P.value.style.tooltip.borderColor}">`;
785
+ let oe = n({
786
786
  p: P.value.style.tooltip.prefix,
787
787
  v: a.value,
788
788
  s: P.value.style.tooltip.suffix,
789
789
  r: P.value.style.tooltip.roundingValue
790
- }), ce = r({
790
+ }), se = n({
791
791
  p: P.value.style.tooltip.prefix,
792
792
  v: o.value,
793
793
  s: P.value.style.tooltip.suffix,
794
794
  r: P.value.style.tooltip.roundingValue
795
- }), le = r({
795
+ }), ce = n({
796
796
  p: P.value.style.tooltip.prefix,
797
797
  v: s.value,
798
798
  s: P.value.style.tooltip.suffix,
799
799
  r: P.value.style.tooltip.roundingValue
800
- }), ue = r({
800
+ }), le = n({
801
801
  p: P.value.style.tooltip.prefix,
802
802
  v: c.value,
803
803
  s: P.value.style.tooltip.suffix,
804
804
  r: P.value.style.tooltip.roundingValue
805
805
  });
806
- P.value.style.tooltip.showChart ? n += `<div style="width:100%;display:flex;align-items:center;justify-content:center;">
806
+ P.value.style.tooltip.showChart ? r += `<div style="width:100%;display:flex;align-items:center;justify-content:center;">
807
807
  <svg viewBox="0 0 100 100" width="100px" style="background: transparent; overflow: visible">
808
808
  <g>
809
809
  <line x1="50" x2="50" y1="20" y2="80" stroke="${t.isBullish ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish}" stroke-width="2" stroke-linecap="round" />
810
810
  ${t.isBullish ? `
811
811
  <line x1="45" x2="50" y1="65" y2="65" stroke="${P.value.style.layout.candle.colors.bullish}" stroke-width="1.5" stroke-linecap="round" />
812
812
  <line x1="50" x2="55" y1="35" y2="35" stroke="${P.value.style.layout.candle.colors.bullish}" stroke-width="1.5" stroke-linecap="round" />
813
- <text x="38" y="70" text-anchor="end" fill="${P.value.style.tooltip.color}">${se}</text>
814
- <text x="62" y="40" text-anchor="start" fill="${P.value.style.tooltip.color}">${ue}</text>
813
+ <text x="38" y="70" text-anchor="end" fill="${P.value.style.tooltip.color}">${oe}</text>
814
+ <text x="62" y="40" text-anchor="start" fill="${P.value.style.tooltip.color}">${le}</text>
815
815
  ` : `
816
816
  <line x1="45" x2="50" y1="35" y2="35" stroke="${P.value.style.layout.candle.colors.bearish}" stroke-width="1.5" stroke-linecap="round" />
817
817
  <line x1="50" x2="55" y1="65" y2="65" stroke="${P.value.style.layout.candle.colors.bearish}" stroke-width="1.5" stroke-linecap="round" />
818
- <text x="40" y="40" text-anchor="end" fill="${P.value.style.tooltip.color}">${se}</text>
819
- <text x="60" y="70" text-anchor="start" fill="${P.value.style.tooltip.color}">${ue}</text>
818
+ <text x="40" y="40" text-anchor="end" fill="${P.value.style.tooltip.color}">${oe}</text>
819
+ <text x="60" y="70" text-anchor="start" fill="${P.value.style.tooltip.color}">${le}</text>
820
820
  `}
821
- <text x="50" y="13" text-anchor="middle" fill="${P.value.style.tooltip.color}">${ce}</text>
822
- <text x="50" y="97" text-anchor="middle" fill="${P.value.style.tooltip.color}">${le}</text>
821
+ <text x="50" y="13" text-anchor="middle" fill="${P.value.style.tooltip.color}">${se}</text>
822
+ <text x="50" y="97" text-anchor="middle" fill="${P.value.style.tooltip.color}">${ce}</text>
823
823
  <g>
824
824
  </svg>
825
825
  <div>
826
- ` : (n += `<div>${ne}: <b>${se}</b></div>`, n += `<div>${re}: <b>${ce}</b></div>`, n += `<div>${ie}: <b>${le}</b></div>`, n += `<div>${u}: <b>${ue}</b></div>`), n += "</div>", Ut.value = `<div style="text-align:right">${n}</div>`;
826
+ ` : (r += `<div>${te}: <b>${oe}</b></div>`, r += `<div>${ne}: <b>${se}</b></div>`, r += `<div>${re}: <b>${ce}</b></div>`, r += `<div>${ie}: <b>${le}</b></div>`), r += "</div>", Ut.value = `<div style="text-align:right">${r}</div>`;
827
827
  }
828
828
  Ht.value = !0;
829
829
  }
830
- let ar = S(null);
830
+ let ar = C(null);
831
831
  function or() {
832
832
  return new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(() => e())));
833
833
  }
834
- Ne(() => {
834
+ Me(() => {
835
835
  ar.value && cancelAnimationFrame(ar.value);
836
836
  });
837
837
  async function sr() {
838
- dr(), await je(), ar.value && cancelAnimationFrame(ar.value), ar.value = requestAnimationFrame(async () => {
838
+ dr(), await Ae(), ar.value && cancelAnimationFrame(ar.value), ar.value = requestAnimationFrame(async () => {
839
839
  await or(), dr();
840
840
  });
841
841
  }
842
- let cr = S(!1), lr = S(!1), ur = S(!1);
842
+ let cr = C(!1), lr = C(!1), ur = C(!1);
843
843
  function dr() {
844
844
  if (!cr.value) {
845
845
  cr.value = !0;
@@ -858,7 +858,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
858
858
  return e > t ? t : e < 0 || e < K.value.start ? P.value.style.zoom.startIndex === null ? 1 : P.value.style.zoom.startIndex + 1 : e;
859
859
  }
860
860
  function pr(e = null) {
861
- je(() => {
861
+ Ae(() => {
862
862
  let t = [
863
863
  P.value.translations.period,
864
864
  P.value.translations.open,
@@ -873,7 +873,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
873
873
  e.low.value,
874
874
  e.close.value,
875
875
  e.volume
876
- ]), r = c([
876
+ ]), r = s([
877
877
  [P.value.style.title.text],
878
878
  [P.value.style.title.subtitle.text],
879
879
  [
@@ -889,31 +889,31 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
889
889
  });
890
890
  });
891
891
  }
892
- let mr = f(() => {
892
+ let mr = p(() => {
893
893
  let e = Z.value.map((e, t) => {
894
- let n = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? Q.value?.[t]?.text ?? "" : e.period, i = r({
894
+ let r = P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? Q.value?.[t]?.text ?? "" : e.period, i = n({
895
895
  p: P.value.table.td.prefix,
896
896
  v: e.open.value,
897
897
  s: P.value.table.td.suffix,
898
898
  r: P.value.table.td.roundingValue
899
- }), a = r({
899
+ }), a = n({
900
900
  p: P.value.table.td.prefix,
901
901
  v: e.high.value,
902
902
  s: P.value.table.td.suffix,
903
903
  r: P.value.table.td.roundingValue
904
- }), o = r({
904
+ }), o = n({
905
905
  p: P.value.table.td.prefix,
906
906
  v: e.low.value,
907
907
  s: P.value.table.td.suffix,
908
908
  r: P.value.table.td.roundingValue
909
- }), s = r({
909
+ }), s = n({
910
910
  p: P.value.table.td.prefix,
911
911
  v: e.close.value,
912
912
  s: P.value.table.td.suffix,
913
913
  r: P.value.table.td.roundingValue
914
914
  });
915
915
  return [
916
- `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" height="12" width="12" style="margin-right: 6px"><rect x="0" y="0" height="12" width="12" rx="${P.value.style.layout.candle.borderRadius * 3}" fill="${P.value.style.layout.candle.gradient.show ? e.isBullish ? `url(#bullish_gradient_${A.value}` : `url(#bearish_gradient_${A.value})` : e.isBullish ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish}"/></svg> ${n}`,
916
+ `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" height="12" width="12" style="margin-right: 6px"><rect x="0" y="0" height="12" width="12" rx="${P.value.style.layout.candle.borderRadius * 3}" fill="${P.value.style.layout.candle.gradient.show ? e.isBullish ? `url(#bullish_gradient_${A.value}` : `url(#bearish_gradient_${A.value})` : e.isBullish ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish}"/></svg> ${r}`,
917
917
  i,
918
918
  a,
919
919
  o,
@@ -922,32 +922,32 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
922
922
  ];
923
923
  }), t = Z.value.map((e, t) => [
924
924
  P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? Q.value?.[t]?.text ?? "" : e.period,
925
- r({
925
+ n({
926
926
  p: P.value.table.td.prefix,
927
927
  v: e.open.value,
928
928
  s: P.value.table.td.suffix,
929
929
  r: P.value.table.td.roundingValue
930
930
  }),
931
- r({
931
+ n({
932
932
  p: P.value.table.td.prefix,
933
933
  v: e.high.value,
934
934
  s: P.value.table.td.suffix,
935
935
  r: P.value.table.td.roundingValue
936
936
  }),
937
- r({
937
+ n({
938
938
  p: P.value.table.td.prefix,
939
939
  v: e.low.value,
940
940
  s: P.value.table.td.suffix,
941
941
  r: P.value.table.td.roundingValue
942
942
  }),
943
- r({
943
+ n({
944
944
  p: P.value.table.td.prefix,
945
945
  v: e.close.value,
946
946
  s: P.value.table.td.suffix,
947
947
  r: P.value.table.td.roundingValue
948
948
  }),
949
949
  `${isNaN(e.volume) ? "-" : e.volume}`
950
- ]), n = {
950
+ ]), r = {
951
951
  th: {
952
952
  backgroundColor: P.value.table.th.backgroundColor,
953
953
  color: P.value.table.th.color,
@@ -971,10 +971,10 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
971
971
  head: i,
972
972
  body: e,
973
973
  bodyA11y: t,
974
- config: n,
974
+ config: r,
975
975
  colNames: i
976
976
  };
977
- }), $ = S(!1);
977
+ }), $ = C(!1);
978
978
  function hr(e) {
979
979
  $.value = e, Wt.value += 1;
980
980
  }
@@ -984,13 +984,13 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
984
984
  function _r() {
985
985
  H.value.showTooltip = !H.value.showTooltip;
986
986
  }
987
- let vr = S(!1);
987
+ let vr = C(!1);
988
988
  function yr() {
989
989
  vr.value = !vr.value;
990
990
  }
991
991
  async function br({ scale: e = 2 } = {}) {
992
992
  if (!M.value) return;
993
- let { width: t, height: n } = M.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await _e({
993
+ let { width: t, height: n } = M.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ge({
994
994
  domElement: M.value,
995
995
  base64: !0,
996
996
  img: !0,
@@ -1005,8 +1005,8 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1005
1005
  aspectRatio: r
1006
1006
  };
1007
1007
  }
1008
- let xr = f(() => R.value.width), Sr = f(() => R.value.height);
1009
- ge({
1008
+ let xr = p(() => R.value.width), Sr = p(() => R.value.height);
1009
+ he({
1010
1010
  timeLabelsEls: en,
1011
1011
  timeLabels: Q,
1012
1012
  slicer: K,
@@ -1038,7 +1038,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1038
1038
  showTooltip: P.value.style.tooltip.show
1039
1039
  };
1040
1040
  }, { immediate: !0 });
1041
- let Cr = f(() => {
1041
+ let Cr = p(() => {
1042
1042
  let e = P.value.table.useDialog && !P.value.table.show, t = H.value.showTable;
1043
1043
  return {
1044
1044
  component: e ? Ft : At,
@@ -1075,13 +1075,13 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1075
1075
  function wr() {
1076
1076
  H.value.showTable = !1, nn.value && nn.value.setTableIconState(!1);
1077
1077
  }
1078
- let Tr = f(() => P.value.style.backgroundColor), { exportSvg: Er, getSvg: Dr } = pe({
1078
+ let Tr = p(() => P.value.style.backgroundColor), { exportSvg: Er, getSvg: Dr } = fe({
1079
1079
  svg: L,
1080
- title: f(() => P.value.style.title),
1080
+ title: p(() => P.value.style.title),
1081
1081
  backgroundColor: Tr
1082
1082
  });
1083
1083
  async function Or({ isCb: e }) {
1084
- on.value = !0, await je();
1084
+ on.value = !0, await Ae();
1085
1085
  try {
1086
1086
  if (e) {
1087
1087
  let { blob: e, url: t, text: n, dataUrl: r } = await Dr();
@@ -1172,11 +1172,11 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1172
1172
  y: r.top + n / R.value.height * r.height
1173
1173
  };
1174
1174
  }
1175
- let zr = f(() => ({
1175
+ let zr = p(() => ({
1176
1176
  headers: mr.value?.colNames ?? [],
1177
1177
  rows: mr.value?.bodyA11y ?? []
1178
1178
  }));
1179
- return ye({
1179
+ return ve({
1180
1180
  getImage: br,
1181
1181
  generatePdf: Sn,
1182
1182
  generateCsv: pr,
@@ -1187,20 +1187,20 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1187
1187
  toggleAnnotator: yr,
1188
1188
  toggleFullscreen: hr,
1189
1189
  copyAlt: Pr
1190
- }), (e, t) => (x(), h("div", {
1190
+ }), (e, r) => (S(), g("div", {
1191
1191
  ref_key: "candlestickChart",
1192
1192
  ref: M,
1193
- class: y(`vue-data-ui-component vue-ui-candlestick ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1194
- style: Me(`position:relative;font-family:${P.value.style.fontFamily}; text-align:center;background:${P.value.style.backgroundColor}; ${P.value.responsive ? "height: 100%" : ""}`),
1193
+ class: b(`vue-data-ui-component vue-ui-candlestick ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1194
+ style: je(`position:relative;font-family:${P.value.style.fontFamily}; text-align:center;background:${P.value.style.backgroundColor}; ${P.value.responsive ? "height: 100%" : ""}`),
1195
1195
  id: `vue-ui-candlestick_${A.value}`,
1196
1196
  onMouseenter: gn,
1197
1197
  onMouseleave: _n
1198
1198
  }, [
1199
- g("div", {
1199
+ _("div", {
1200
1200
  id: `chart-instructions-${A.value}`,
1201
1201
  class: "sr-only"
1202
- }, [g("p", null, T(P.value.a11y.translations.keyboardNavigation), 1)], 8, He),
1203
- zr.value?.rows?.length ? (x(), p(Ce, {
1202
+ }, [_("p", null, Ie(P.value.a11y.translations.keyboardNavigation), 1)], 8, He),
1203
+ zr.value?.rows?.length ? (S(), m(Se, {
1204
1204
  key: 0,
1205
1205
  uid: A.value,
1206
1206
  head: zr.value.headers,
@@ -1213,8 +1213,8 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1213
1213
  "body",
1214
1214
  "notice",
1215
1215
  "caption"
1216
- ])) : m("", !0),
1217
- P.value.userOptions.buttons.annotator ? (x(), p(E(Mt), {
1216
+ ])) : h("", !0),
1217
+ P.value.userOptions.buttons.annotator ? (S(), m(E(Mt), {
1218
1218
  key: 1,
1219
1219
  svgRef: E(L),
1220
1220
  backgroundColor: P.value.style.backgroundColor,
@@ -1223,12 +1223,12 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1223
1223
  isCursorPointer: un.value,
1224
1224
  onClose: yr
1225
1225
  }, {
1226
- "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1227
- "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", b(v({ color: t })), void 0, !0)]),
1228
- "annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", b(v({ mode: t })), void 0, !0)]),
1229
- "annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", b(v({ disabled: t })), void 0, !0)]),
1230
- "annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", b(v({ disabled: t })), void 0, !0)]),
1231
- "annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", b(v({ disabled: t })), void 0, !0)]),
1226
+ "annotator-action-close": D(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1227
+ "annotator-action-color": D(({ color: t }) => [T(e.$slots, "annotator-action-color", x(y({ color: t })), void 0, !0)]),
1228
+ "annotator-action-draw": D(({ mode: t }) => [T(e.$slots, "annotator-action-draw", x(y({ mode: t })), void 0, !0)]),
1229
+ "annotator-action-undo": D(({ disabled: t }) => [T(e.$slots, "annotator-action-undo", x(y({ disabled: t })), void 0, !0)]),
1230
+ "annotator-action-redo": D(({ disabled: t }) => [T(e.$slots, "annotator-action-redo", x(y({ disabled: t })), void 0, !0)]),
1231
+ "annotator-action-delete": D(({ disabled: t }) => [T(e.$slots, "annotator-action-delete", x(y({ disabled: t })), void 0, !0)]),
1232
1232
  _: 3
1233
1233
  }, 8, [
1234
1234
  "svgRef",
@@ -1236,20 +1236,20 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1236
1236
  "color",
1237
1237
  "active",
1238
1238
  "isCursorPointer"
1239
- ])) : m("", !0),
1240
- wn.value ? (x(), h("div", {
1239
+ ])) : h("", !0),
1240
+ wn.value ? (S(), g("div", {
1241
1241
  key: 2,
1242
1242
  ref_key: "noTitle",
1243
1243
  ref: Yt,
1244
1244
  class: "vue-data-ui-no-title-space",
1245
1245
  style: "height:36px; width: 100%;background:transparent"
1246
- }, null, 512)) : m("", !0),
1247
- P.value.style.title.text ? (x(), h("div", {
1246
+ }, null, 512)) : h("", !0),
1247
+ P.value.style.title.text ? (S(), g("div", {
1248
1248
  key: 3,
1249
1249
  ref_key: "chartTitle",
1250
1250
  ref: Gt,
1251
1251
  style: "width:100%;background:transparent"
1252
- }, [(x(), p(ve, {
1252
+ }, [(S(), m(_e, {
1253
1253
  key: `title_${Qt.value}`,
1254
1254
  config: {
1255
1255
  title: {
@@ -1261,8 +1261,8 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1261
1261
  ...P.value.style.title.subtitle
1262
1262
  }
1263
1263
  }
1264
- }, null, 8, ["config"]))], 512)) : m("", !0),
1265
- P.value.userOptions.show && Bt.value && (E(hn) || E(pn)) ? (x(), p(E(Nt), {
1264
+ }, null, 8, ["config"]))], 512)) : h("", !0),
1265
+ P.value.userOptions.show && Bt.value && (E(hn) || E(pn)) ? (S(), m(E(Nt), {
1266
1266
  ref_key: "userOptionsRef",
1267
1267
  ref: nn,
1268
1268
  key: `user_options_${Wt.value}`,
@@ -1299,11 +1299,11 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1299
1299
  onToggleTooltip: _r,
1300
1300
  onToggleAnnotator: yr,
1301
1301
  onCopyAlt: Pr,
1302
- style: Me({ visibility: E(hn) ? E(pn) ? "visible" : "hidden" : "visible" })
1303
- }, De({ _: 2 }, [
1302
+ style: je({ visibility: E(hn) ? E(pn) ? "visible" : "hidden" : "visible" })
1303
+ }, Ee({ _: 2 }, [
1304
1304
  e.$slots.menuIcon ? {
1305
1305
  name: "menuIcon",
1306
- fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", b(v({
1306
+ fn: D(({ isOpen: t, color: n }) => [T(e.$slots, "menuIcon", x(y({
1307
1307
  isOpen: t,
1308
1308
  color: n
1309
1309
  })), void 0, !0)]),
@@ -1311,37 +1311,37 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1311
1311
  } : void 0,
1312
1312
  e.$slots.optionTooltip ? {
1313
1313
  name: "optionTooltip",
1314
- fn: D(() => [w(e.$slots, "optionTooltip", {}, void 0, !0)]),
1314
+ fn: D(() => [T(e.$slots, "optionTooltip", {}, void 0, !0)]),
1315
1315
  key: "1"
1316
1316
  } : void 0,
1317
1317
  e.$slots.optionPdf ? {
1318
1318
  name: "optionPdf",
1319
- fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
1319
+ fn: D(() => [T(e.$slots, "optionPdf", {}, void 0, !0)]),
1320
1320
  key: "2"
1321
1321
  } : void 0,
1322
1322
  e.$slots.optionCsv ? {
1323
1323
  name: "optionCsv",
1324
- fn: D(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
1324
+ fn: D(() => [T(e.$slots, "optionCsv", {}, void 0, !0)]),
1325
1325
  key: "3"
1326
1326
  } : void 0,
1327
1327
  e.$slots.optionImg ? {
1328
1328
  name: "optionImg",
1329
- fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
1329
+ fn: D(() => [T(e.$slots, "optionImg", {}, void 0, !0)]),
1330
1330
  key: "4"
1331
1331
  } : void 0,
1332
1332
  e.$slots.optionSvg ? {
1333
1333
  name: "optionSvg",
1334
- fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
1334
+ fn: D(() => [T(e.$slots, "optionSvg", {}, void 0, !0)]),
1335
1335
  key: "5"
1336
1336
  } : void 0,
1337
1337
  e.$slots.optionTable ? {
1338
1338
  name: "optionTable",
1339
- fn: D(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
1339
+ fn: D(() => [T(e.$slots, "optionTable", {}, void 0, !0)]),
1340
1340
  key: "6"
1341
1341
  } : void 0,
1342
1342
  e.$slots.optionFullscreen ? {
1343
1343
  name: "optionFullscreen",
1344
- fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", b(v({
1344
+ fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [T(e.$slots, "optionFullscreen", x(y({
1345
1345
  toggleFullscreen: t,
1346
1346
  isFullscreen: n
1347
1347
  })), void 0, !0)]),
@@ -1349,7 +1349,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1349
1349
  } : void 0,
1350
1350
  e.$slots.optionAnnotator ? {
1351
1351
  name: "optionAnnotator",
1352
- fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", b(v({
1352
+ fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [T(e.$slots, "optionAnnotator", x(y({
1353
1353
  toggleAnnotator: t,
1354
1354
  isAnnotator: n
1355
1355
  })), void 0, !0)]),
@@ -1357,83 +1357,83 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1357
1357
  } : void 0,
1358
1358
  e.$slots.optionAltCopy ? {
1359
1359
  name: "optionAltCopy",
1360
- fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", b(v({ altCopy: t })), void 0, !0)]),
1360
+ fn: D(({ altCopy: t }) => [T(e.$slots, "optionAltCopy", x(y({ altCopy: t })), void 0, !0)]),
1361
1361
  key: "9"
1362
1362
  } : void 0,
1363
1363
  e.$slots["custom-menu-before"] ? {
1364
1364
  name: "custom-menu-before",
1365
- fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1365
+ fn: D(() => [T(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1366
1366
  key: "10"
1367
1367
  } : void 0,
1368
1368
  e.$slots["custom-menu-after"] ? {
1369
1369
  name: "custom-menu-after",
1370
- fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1370
+ fn: D(() => [T(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1371
1371
  key: "11"
1372
1372
  } : void 0
1373
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : m("", !0),
1374
- g("div", Ue, [(x(), h("svg", {
1373
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : h("", !0),
1374
+ _("div", Ue, [(S(), g("svg", {
1375
1375
  ref_key: "svgRef",
1376
1376
  ref: L,
1377
1377
  xmlns: E(ie),
1378
1378
  "aria-describedby": `chart-instructions-${A.value}`,
1379
- class: y({
1379
+ class: b({
1380
1380
  "vue-data-ui-fullscreen--on": $.value,
1381
1381
  "vue-data-ui-fulscreen--off": !$.value
1382
1382
  }),
1383
1383
  viewBox: `0 0 ${R.value.width <= 0 ? 10 : R.value.width} ${R.value.height <= 0 ? 10 : R.value.height}`,
1384
- style: Me(`max-width:100%;overflow:visible;background:transparent;color:${P.value.style.color}`),
1384
+ style: je(`max-width:100%;overflow:visible;background:transparent;color:${P.value.style.color}`),
1385
1385
  tabindex: "0",
1386
1386
  onFocus: Fr,
1387
1387
  onBlur: Ir,
1388
1388
  onKeydown: Lr
1389
1389
  }, [
1390
- ke(E(Pt)),
1391
- e.$slots["chart-background"] ? (x(), h("foreignObject", {
1390
+ Oe(E(Pt)),
1391
+ e.$slots["chart-background"] ? (S(), g("foreignObject", {
1392
1392
  key: 0,
1393
1393
  x: W.value.left,
1394
1394
  y: W.value.top,
1395
1395
  width: Math.max(.1, W.value.width),
1396
1396
  height: Math.max(.1, W.value.height),
1397
1397
  style: { pointerEvents: "none" }
1398
- }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Ge)) : m("", !0),
1399
- Z.value.length > 0 ? (x(), h("g", Ke, [
1400
- g("defs", null, [g("linearGradient", {
1398
+ }, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, Ge)) : h("", !0),
1399
+ Z.value.length > 0 ? (S(), g("g", Ke, [
1400
+ _("defs", null, [_("linearGradient", {
1401
1401
  id: `bearish_gradient_${A.value}`,
1402
1402
  x2: "0%",
1403
1403
  y2: "100%"
1404
1404
  }, [
1405
- g("stop", {
1405
+ _("stop", {
1406
1406
  offset: "0%",
1407
1407
  "stop-color": P.value.style.layout.candle.colors.bearish
1408
1408
  }, null, 8, Je),
1409
- g("stop", {
1409
+ _("stop", {
1410
1410
  offset: "50%",
1411
- "stop-color": `${E(s)(P.value.style.layout.candle.colors.bearish, .02)}DE`
1411
+ "stop-color": `${E(t)(P.value.style.layout.candle.colors.bearish, .02)}DE`
1412
1412
  }, null, 8, Ye),
1413
- g("stop", {
1413
+ _("stop", {
1414
1414
  offset: "100%",
1415
- "stop-color": `${E(s)(P.value.style.layout.candle.colors.bearish, .05)}66`
1415
+ "stop-color": `${E(t)(P.value.style.layout.candle.colors.bearish, .05)}66`
1416
1416
  }, null, 8, Xe)
1417
- ], 8, qe), g("linearGradient", {
1417
+ ], 8, qe), _("linearGradient", {
1418
1418
  id: `bullish_gradient_${A.value}`,
1419
1419
  x2: "0%",
1420
1420
  y2: "100%"
1421
1421
  }, [
1422
- g("stop", {
1422
+ _("stop", {
1423
1423
  offset: "0%",
1424
1424
  "stop-color": P.value.style.layout.candle.colors.bullish
1425
1425
  }, null, 8, Qe),
1426
- g("stop", {
1426
+ _("stop", {
1427
1427
  offset: "50%",
1428
- "stop-color": `${E(s)(P.value.style.layout.candle.colors.bullish, .02)}DE`
1428
+ "stop-color": `${E(t)(P.value.style.layout.candle.colors.bullish, .02)}DE`
1429
1429
  }, null, 8, $e),
1430
- g("stop", {
1430
+ _("stop", {
1431
1431
  offset: "100%",
1432
- "stop-color": `${E(s)(P.value.style.layout.candle.colors.bullish, .05)}66`
1432
+ "stop-color": `${E(t)(P.value.style.layout.candle.colors.bullish, .05)}66`
1433
1433
  }, null, 8, et)
1434
1434
  ], 8, Ze)]),
1435
- P.value.style.layout.grid.show ? (x(), h("g", tt, [
1436
- g("line", {
1435
+ P.value.style.layout.grid.show ? (S(), g("g", tt, [
1436
+ _("line", {
1437
1437
  x1: U.value ? W.value.right : W.value.left,
1438
1438
  x2: U.value ? W.value.right : W.value.left,
1439
1439
  y1: W.value.top,
@@ -1442,7 +1442,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1442
1442
  "stroke-width": P.value.style.layout.grid.strokeWidth,
1443
1443
  "stroke-linecap": "round"
1444
1444
  }, null, 8, nt),
1445
- g("line", {
1445
+ _("line", {
1446
1446
  x1: W.value.left,
1447
1447
  x2: W.value.right,
1448
1448
  y1: W.value.bottom,
@@ -1451,7 +1451,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1451
1451
  "stroke-width": P.value.style.layout.grid.strokeWidth,
1452
1452
  "stroke-linecap": "round"
1453
1453
  }, null, 8, rt),
1454
- P.value.style.layout.grid.horizontalLines.show ? (x(!0), h(d, { key: 0 }, C(Hn.value, (e) => (x(), h("line", {
1454
+ P.value.style.layout.grid.horizontalLines.show ? (S(!0), g(f, { key: 0 }, w(Hn.value, (e) => (S(), g("line", {
1455
1455
  x1: W.value.left,
1456
1456
  x2: W.value.right,
1457
1457
  y1: e.y,
@@ -1460,8 +1460,8 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1460
1460
  "stroke-width": P.value.style.layout.grid.horizontalLines.strokeWidth,
1461
1461
  "stroke-dasharray": P.value.style.layout.grid.horizontalLines.strokeDasharray,
1462
1462
  "stroke-linecap": "round"
1463
- }, null, 8, it))), 256)) : m("", !0),
1464
- P.value.style.layout.grid.verticalLines.show ? (x(!0), h(d, { key: 1 }, C($n.value, (e, t) => (x(), h("g", null, [e.text ? (x(), h("line", {
1463
+ }, null, 8, it))), 256)) : h("", !0),
1464
+ P.value.style.layout.grid.verticalLines.show ? (S(!0), g(f, { key: 1 }, w($n.value, (e, t) => (S(), g("g", null, [e.text ? (S(), g("line", {
1465
1465
  key: 0,
1466
1466
  x1: W.value.left + Y.value * t + Y.value / 2,
1467
1467
  x2: W.value.left + Y.value * t + Y.value / 2,
@@ -1471,8 +1471,8 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1471
1471
  "stroke-width": P.value.style.layout.grid.verticalLines.strokeWidth,
1472
1472
  "stroke-dasharray": P.value.style.layout.grid.verticalLines.strokeDasharray,
1473
1473
  "stroke-linecap": "round"
1474
- }, null, 8, at)) : m("", !0)]))), 256)) : m("", !0),
1475
- P.value.style.layout.grid.xAxis.ticks.show ? (x(!0), h(d, { key: 2 }, C($n.value, (e, t) => (x(), h("g", null, [e.text ? (x(), h("line", {
1474
+ }, null, 8, at)) : h("", !0)]))), 256)) : h("", !0),
1475
+ P.value.style.layout.grid.xAxis.ticks.show ? (S(!0), g(f, { key: 2 }, w($n.value, (e, t) => (S(), g("g", null, [e.text ? (S(), g("line", {
1476
1476
  key: 0,
1477
1477
  x1: W.value.left + Y.value * t + Y.value / 2,
1478
1478
  x2: W.value.left + Y.value * t + Y.value / 2,
@@ -1481,13 +1481,13 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1481
1481
  stroke: P.value.style.layout.grid.stroke,
1482
1482
  "stroke-width": P.value.style.layout.grid.strokeWidth,
1483
1483
  "stroke-linecap": "round"
1484
- }, null, 8, ot)) : m("", !0)]))), 256)) : m("", !0)
1485
- ])) : m("", !0),
1486
- P.value.style.layout.grid.yAxis.dataLabels.show ? (x(), h("g", {
1484
+ }, null, 8, ot)) : h("", !0)]))), 256)) : h("", !0)
1485
+ ])) : h("", !0),
1486
+ P.value.style.layout.grid.yAxis.dataLabels.show ? (S(), g("g", {
1487
1487
  key: 1,
1488
1488
  ref_key: "scaleLabels",
1489
1489
  ref: $t
1490
- }, [(x(!0), h(d, null, C(Hn.value, (e, t) => (x(), h("g", null, [e.value >= X.value.min && e.value <= X.value.max ? (x(), h("line", {
1490
+ }, [(S(!0), g(f, null, w(Hn.value, (e, t) => (S(), g("g", null, [e.value >= X.value.min && e.value <= X.value.max ? (S(), g("line", {
1491
1491
  key: 0,
1492
1492
  x1: U.value ? W.value.right : W.value.left,
1493
1493
  x2: U.value ? W.value.right + 5 : W.value.left - 5,
@@ -1496,7 +1496,7 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1496
1496
  stroke: P.value.style.layout.grid.stroke,
1497
1497
  "stroke-width": P.value.style.layout.grid.strokeWidth,
1498
1498
  "stroke-linecap": "round"
1499
- }, null, 8, st)) : m("", !0), e.value >= X.value.min && e.value <= X.value.max ? (x(), h("text", {
1499
+ }, null, 8, st)) : h("", !0), e.value >= X.value.min && e.value <= X.value.max ? (S(), g("text", {
1500
1500
  key: 1,
1501
1501
  x: U.value ? W.value.right + 8 + P.value.style.layout.grid.yAxis.dataLabels.offsetX : W.value.left - 8 + P.value.style.layout.grid.yAxis.dataLabels.offsetX,
1502
1502
  y: e.y + R.value.yAxisFontSize / 3,
@@ -1504,38 +1504,38 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1504
1504
  "font-size": R.value.yAxisFontSize,
1505
1505
  fill: P.value.style.layout.grid.yAxis.dataLabels.color,
1506
1506
  "font-weight": P.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
1507
- }, T(E(r)({
1507
+ }, Ie(E(n)({
1508
1508
  p: P.value.style.layout.grid.yAxis.dataLabels.prefix,
1509
1509
  v: e.value,
1510
1510
  s: P.value.style.layout.grid.yAxis.dataLabels.suffix,
1511
1511
  r: P.value.style.layout.grid.yAxis.dataLabels.roundingValue
1512
- })), 9, ct)) : m("", !0)]))), 256))], 512)) : m("", !0),
1513
- P.value.style.layout.grid.xAxis.dataLabels.show && !P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (x(), h("g", {
1512
+ })), 9, ct)) : h("", !0)]))), 256))], 512)) : h("", !0),
1513
+ P.value.style.layout.grid.xAxis.dataLabels.show && !P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (S(), g("g", {
1514
1514
  key: 2,
1515
1515
  ref_key: "timeLabelsEls",
1516
1516
  ref: en
1517
- }, [(x(!0), h(d, null, C(Un.value, (e, t) => (x(), h("g", null, [g("text", {
1517
+ }, [(S(!0), g(f, null, w(Un.value, (e, t) => (S(), g("g", null, [_("text", {
1518
1518
  class: "vue-data-ui-time-label",
1519
1519
  transform: `translate(${W.value.left + Y.value * t + Y.value / 2}, ${W.value.bottom + R.value.xAxisFontSize * 1.5}), rotate(${P.value.style.layout.grid.xAxis.dataLabels.rotation})`,
1520
1520
  "text-anchor": P.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : P.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1521
1521
  "font-size": R.value.xAxisFontSize,
1522
1522
  fill: P.value.style.layout.grid.xAxis.dataLabels.color,
1523
1523
  "font-weight": P.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
1524
- }, T(e), 9, lt)]))), 256))], 512)) : m("", !0),
1525
- P.value.style.layout.grid.xAxis.dataLabels.show && P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (x(), h("g", {
1524
+ }, Ie(e), 9, lt)]))), 256))], 512)) : h("", !0),
1525
+ P.value.style.layout.grid.xAxis.dataLabels.show && P.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (S(), g("g", {
1526
1526
  key: 3,
1527
1527
  ref_key: "timeLabelsEls",
1528
1528
  ref: en
1529
- }, [(x(!0), h(d, null, C($n.value, (e, t) => (x(), h("g", null, [g("text", {
1529
+ }, [(S(!0), g(f, null, w($n.value, (e, t) => (S(), g("g", null, [_("text", {
1530
1530
  class: "vue-data-ui-time-label",
1531
1531
  transform: `translate(${W.value.left + Y.value * t + Y.value / 2}, ${W.value.bottom + R.value.xAxisFontSize * 1.5}), rotate(${P.value.style.layout.grid.xAxis.dataLabels.rotation})`,
1532
1532
  "text-anchor": P.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : P.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1533
1533
  "font-size": R.value.xAxisFontSize,
1534
1534
  fill: P.value.style.layout.grid.xAxis.dataLabels.color,
1535
1535
  "font-weight": P.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
1536
- }, T(e?.text ?? ""), 9, ut)]))), 256))], 512)) : m("", !0),
1537
- P.value.type === "candlestick" ? (x(), h(d, { key: 4 }, [g("g", null, [(x(!0), h(d, null, C(Z.value, (e, t) => (x(), h("g", null, [
1538
- g("rect", {
1536
+ }, Ie(e?.text ?? ""), 9, ut)]))), 256))], 512)) : h("", !0),
1537
+ P.value.type === "candlestick" ? (S(), g(f, { key: 4 }, [_("g", null, [(S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("g", null, [
1538
+ _("rect", {
1539
1539
  x: e.open.x - P.value.style.layout.wick.strokeWidth / 2,
1540
1540
  y: e.high.y,
1541
1541
  width: P.value.style.layout.wick.strokeWidth,
@@ -1543,22 +1543,22 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1543
1543
  fill: P.value.style.layout.wick.stroke,
1544
1544
  stroke: "none",
1545
1545
  rx: P.value.style.layout.wick.strokeWidth / 2,
1546
- class: y({ "vue-data-ui-transition": k.value && !E(F) })
1546
+ class: b({ "vue-data-ui-transition": k.value && !E(F) })
1547
1547
  }, null, 10, dt),
1548
- P.value.style.layout.wick.extremity.shape === "circle" ? (x(), h("g", ft, [g("circle", {
1548
+ P.value.style.layout.wick.extremity.shape === "circle" ? (S(), g("g", ft, [_("circle", {
1549
1549
  cx: e.high.x,
1550
1550
  cy: e.high.y,
1551
1551
  r: P.value.style.layout.wick.extremity.size === "auto" ? Y.value / 20 : P.value.style.layout.wick.extremity.size,
1552
1552
  fill: P.value.style.layout.wick.extremity.color,
1553
- class: y({ "vue-data-ui-transition": k.value && !E(F) })
1554
- }, null, 10, pt), g("circle", {
1553
+ class: b({ "vue-data-ui-transition": k.value && !E(F) })
1554
+ }, null, 10, pt), _("circle", {
1555
1555
  cx: e.low.x,
1556
1556
  cy: e.low.y,
1557
1557
  r: P.value.style.layout.wick.extremity.size === "auto" ? Y.value / 20 : P.value.style.layout.wick.extremity.size,
1558
1558
  fill: P.value.style.layout.wick.extremity.color,
1559
- class: y({ "vue-data-ui-transition": k.value && !E(F) })
1560
- }, null, 10, mt)])) : m("", !0),
1561
- P.value.style.layout.wick.extremity.shape === "line" ? (x(), h("g", ht, [g("rect", {
1559
+ class: b({ "vue-data-ui-transition": k.value && !E(F) })
1560
+ }, null, 10, mt)])) : h("", !0),
1561
+ P.value.style.layout.wick.extremity.shape === "line" ? (S(), g("g", ht, [_("rect", {
1562
1562
  x: e.high.x - (P.value.style.layout.wick.extremity.size === "auto" ? Y.value * P.value.style.layout.candle.widthRatio : P.value.style.layout.wick.extremity.size) / 2,
1563
1563
  y: e.high.y - P.value.style.layout.wick.strokeWidth / 2,
1564
1564
  width: Math.abs(e.high.x - (P.value.style.layout.wick.extremity.size === "auto" ? Y.value * P.value.style.layout.candle.widthRatio : P.value.style.layout.wick.extremity.size) / 2 - (e.high.x + (P.value.style.layout.wick.extremity.size === "auto" ? Y.value * P.value.style.layout.candle.widthRatio : P.value.style.layout.wick.extremity.size) / 2)),
@@ -1566,8 +1566,8 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1566
1566
  rx: P.value.style.layout.wick.strokeWidth / 2,
1567
1567
  fill: P.value.style.layout.wick.extremity.color,
1568
1568
  stroke: "none",
1569
- class: y({ "vue-data-ui-transition": k.value && !E(F) })
1570
- }, null, 10, gt), g("rect", {
1569
+ class: b({ "vue-data-ui-transition": k.value && !E(F) })
1570
+ }, null, 10, gt), _("rect", {
1571
1571
  x: e.low.x - (P.value.style.layout.wick.extremity.size === "auto" ? Y.value * P.value.style.layout.candle.widthRatio : P.value.style.layout.wick.extremity.size) / 2,
1572
1572
  y: e.low.y - P.value.style.layout.wick.strokeWidth / 2,
1573
1573
  width: Math.abs(e.low.x - (P.value.style.layout.wick.extremity.size === "auto" ? Y.value * P.value.style.layout.candle.widthRatio : P.value.style.layout.wick.extremity.size) / 2 - (e.low.x + (P.value.style.layout.wick.extremity.size === "auto" ? Y.value * P.value.style.layout.candle.widthRatio : P.value.style.layout.wick.extremity.size) / 2)),
@@ -1575,9 +1575,9 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1575
1575
  fill: P.value.style.layout.wick.extremity.color,
1576
1576
  stroke: "none",
1577
1577
  rx: P.value.style.layout.wick.strokeWidth / 2,
1578
- class: y({ "vue-data-ui-transition": k.value && !E(F) })
1579
- }, null, 10, _t)])) : m("", !0)
1580
- ]))), 256))]), g("g", null, [(x(!0), h(d, null, C(Z.value, (e, t) => (x(), h("rect", {
1578
+ class: b({ "vue-data-ui-transition": k.value && !E(F) })
1579
+ }, null, 10, _t)])) : h("", !0)
1580
+ ]))), 256))]), _("g", null, [(S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("rect", {
1581
1581
  x: e.open.x - Y.value / 2 + Y.value * (1 - P.value.style.layout.candle.widthRatio) / 2,
1582
1582
  y: e.isBullish ? e.close.y : e.open.y,
1583
1583
  height: Math.abs(e.close.y - e.open.y) <= 0 ? 1e-4 : Math.abs(e.close.y - e.open.y),
@@ -1585,8 +1585,8 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1585
1585
  fill: P.value.style.layout.candle.gradient.underlayer,
1586
1586
  rx: P.value.style.layout.candle.borderRadius,
1587
1587
  stroke: "none",
1588
- class: y({ "vue-data-ui-transition": k.value && !E(F) })
1589
- }, null, 10, vt))), 256)), (x(!0), h(d, null, C(Z.value, (e, t) => (x(), h("rect", {
1588
+ class: b({ "vue-data-ui-transition": k.value && !E(F) })
1589
+ }, null, 10, vt))), 256)), (S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("rect", {
1590
1590
  x: e.open.x - Y.value / 2 + Y.value * (1 - P.value.style.layout.candle.widthRatio) / 2,
1591
1591
  y: e.isBullish ? e.close.y : e.open.y,
1592
1592
  height: Math.abs(e.close.y - e.open.y) <= 0 ? 1e-4 : Math.abs(e.close.y - e.open.y),
@@ -1597,14 +1597,14 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1597
1597
  "stroke-width": P.value.style.layout.candle.strokeWidth,
1598
1598
  "stroke-linecap": "round",
1599
1599
  "stroke-linejoin": "round",
1600
- class: y({ "vue-data-ui-transition": k.value && !E(F) })
1601
- }, null, 10, yt))), 256))])], 64)) : m("", !0),
1602
- P.value.type === "ohlc" ? (x(!0), h(d, { key: 5 }, C(Z.value, (e, t) => (x(), h("g", null, [g("path", {
1600
+ class: b({ "vue-data-ui-transition": k.value && !E(F) })
1601
+ }, null, 10, yt))), 256))])], 64)) : h("", !0),
1602
+ P.value.type === "ohlc" ? (S(!0), g(f, { key: 5 }, w(Z.value, (e, t) => (S(), g("g", null, [_("path", {
1603
1603
  d: `M ${e.high.x},${e.high.y} ${e.low.x},${e.low.y} M${e.open.x - Math.min(6, Y.value / 3)},${e.open.y} ${e.open.x},${e.open.y} M${e.close.x},${e.close.y} ${e.close.x + Math.min(6, Y.value / 3)},${e.close.y}`,
1604
1604
  stroke: e.isBullish ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish,
1605
1605
  "stroke-width": 1
1606
- }, null, 8, bt)]))), 256)) : m("", !0),
1607
- g("g", null, [(x(!0), h(d, null, C(Z.value, (e, t) => (x(), h("rect", {
1606
+ }, null, 8, bt)]))), 256)) : h("", !0),
1607
+ _("g", null, [(S(!0), g(f, null, w(Z.value, (e, t) => (S(), g("rect", {
1608
1608
  x: W.value.left + t * Y.value,
1609
1609
  y: W.value.top,
1610
1610
  height: W.value.height <= 0 ? 1e-4 : W.value.height,
@@ -1614,24 +1614,24 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1614
1614
  onMouseleave: () => rr(t, e),
1615
1615
  onClick: () => nr(t, e)
1616
1616
  }, null, 40, xt))), 256))])
1617
- ])) : m("", !0),
1618
- An.value ? (x(), h("rect", Ae({ key: 2 }, kn.value, {
1617
+ ])) : h("", !0),
1618
+ An.value ? (S(), g("rect", ke({ key: 2 }, kn.value, {
1619
1619
  "data-start": K.value.start,
1620
1620
  "data-end": K.value.end
1621
- }), null, 16, St)) : m("", !0),
1622
- w(e.$slots, "svg", { svg: {
1621
+ }), null, 16, St)) : h("", !0),
1622
+ T(e.$slots, "svg", { svg: {
1623
1623
  ...R.value,
1624
1624
  data: Z.value,
1625
1625
  drawingArea: W.value,
1626
1626
  isPrintingImg: E(bn) || E(xn) || an.value,
1627
1627
  isPrintingSvg: on.value
1628
1628
  } }, void 0, !0)
1629
- ], 46, We)), e.$slots.hint ? (x(), h("div", Ct, [w(e.$slots, "hint", b(v({
1629
+ ], 46, We)), e.$slots.hint ? (S(), g("div", Ct, [T(e.$slots, "hint", x(y({
1630
1630
  hint: P.value.a11y.translations.keyboardNavigation,
1631
1631
  isVisible: ln.value
1632
- })), void 0, !0)])) : m("", !0)]),
1633
- e.$slots.watermark ? (x(), h("div", wt, [w(e.$slots, "watermark", b(v({ isPrinting: E(bn) || E(xn) || an.value || on.value })), void 0, !0)])) : m("", !0),
1634
- P.value.style.zoom.show && G.value > 6 && Bt.value && lr.value ? (x(), p(Se, {
1632
+ })), void 0, !0)])) : h("", !0)]),
1633
+ e.$slots.watermark ? (S(), g("div", wt, [T(e.$slots, "watermark", x(y({ isPrinting: E(bn) || E(xn) || an.value || on.value })), void 0, !0)])) : h("", !0),
1634
+ P.value.style.zoom.show && G.value > 6 && Bt.value && lr.value ? (S(), m(xe, {
1635
1635
  key: 6,
1636
1636
  ref_key: "chartSlicer",
1637
1637
  ref: qt,
@@ -1690,37 +1690,37 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1690
1690
  "onUpdate:start": Ar,
1691
1691
  onTrapMouse: kr,
1692
1692
  onReset: sr,
1693
- onFutureEnd: t[0] ||= (e) => jn("end", e),
1694
- onFutureStart: t[1] ||= (e) => jn("start", e)
1693
+ onFutureEnd: r[0] ||= (e) => jn("end", e),
1694
+ onFutureStart: r[1] ||= (e) => jn("start", e)
1695
1695
  }, {
1696
- "reset-action": D(({ reset: t }) => [w(e.$slots, "reset-action", b(v({ reset: t })), void 0, !0)]),
1697
- slotMap: D(({ height: e, unitW: t }) => [(x(!0), h(d, null, C(zn.value({
1696
+ "reset-action": D(({ reset: t }) => [T(e.$slots, "reset-action", x(y({ reset: t })), void 0, !0)]),
1697
+ slotMap: D(({ height: e, unitW: t }) => [(S(!0), g(f, null, w(zn.value({
1698
1698
  minimapH: e,
1699
1699
  unitW: t
1700
- }), (e, n) => (x(), h("g", null, [g("path", {
1700
+ }), (e, n) => (S(), g("g", null, [_("path", {
1701
1701
  d: `M ${e.high.x},${e.high.y} ${e.low.x},${e.low.y}`,
1702
1702
  stroke: e.isBullish ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish,
1703
1703
  "stroke-width": 1,
1704
- style: Me({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1705
- }, null, 12, Tt), g("path", {
1704
+ style: je({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1705
+ }, null, 12, Tt), _("path", {
1706
1706
  d: `M ${e.open.x},${e.open.y} ${e.close.x},${e.close.y}`,
1707
1707
  stroke: e.isBullish ? P.value.style.layout.candle.colors.bullish : P.value.style.layout.candle.colors.bearish,
1708
1708
  "stroke-width": Math.min(6, t / 1.5),
1709
- style: Me({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1709
+ style: je({ opacity: n >= q.value.start && n <= q.value.end ? 1 : .6 })
1710
1710
  }, null, 12, Et)]))), 256))]),
1711
1711
  _: 3
1712
- }, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.start.textColor.timeLabels.usePreciseLabels.useResetSlot.valueEnd.valueStart.verticalHandles.minScale.maxScale.maxWidth.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : m("", !0),
1713
- g("div", {
1712
+ }, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.start.textColor.timeLabels.usePreciseLabels.useResetSlot.valueEnd.valueStart.verticalHandles.minScale.maxScale.maxWidth.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : h("", !0),
1713
+ _("div", {
1714
1714
  ref_key: "chartLegend",
1715
1715
  ref: Kt
1716
- }, [w(e.$slots, "legend", { legend: Z.value }, void 0, !0)], 512),
1717
- e.$slots.source ? (x(), h("div", {
1716
+ }, [T(e.$slots, "legend", { legend: Z.value }, void 0, !0)], 512),
1717
+ e.$slots.source ? (S(), g("div", {
1718
1718
  key: 7,
1719
1719
  ref_key: "source",
1720
1720
  ref: Jt,
1721
1721
  dir: "auto"
1722
- }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
1723
- ke(E(kt), {
1722
+ }, [T(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
1723
+ Oe(E(kt), {
1724
1724
  teleportTo: P.value.style.tooltip.teleportTo,
1725
1725
  show: H.value.showTooltip && Ht.value,
1726
1726
  backgroundColor: P.value.style.tooltip.backgroundColor,
@@ -1744,9 +1744,9 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1744
1744
  isA11yMode: cn.value === "keyboard",
1745
1745
  a11yPosition: sn.value
1746
1746
  }, {
1747
- "tooltip-before": D(() => [w(e.$slots, "tooltip-before", b(v({ ...tr.value })), void 0, !0)]),
1748
- tooltip: D(() => [w(e.$slots, "tooltip", b(v({ ...tr.value })), void 0, !0)]),
1749
- "tooltip-after": D(() => [w(e.$slots, "tooltip-after", b(v({ ...tr.value })), void 0, !0)]),
1747
+ "tooltip-before": D(() => [T(e.$slots, "tooltip-before", x(y({ ...tr.value })), void 0, !0)]),
1748
+ tooltip: D(() => [T(e.$slots, "tooltip", x(y({ ...tr.value })), void 0, !0)]),
1749
+ "tooltip-after": D(() => [T(e.$slots, "tooltip-after", x(y({ ...tr.value })), void 0, !0)]),
1750
1750
  _: 3
1751
1751
  }, 8, [
1752
1752
  "teleportTo",
@@ -1772,12 +1772,12 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1772
1772
  "isA11yMode",
1773
1773
  "a11yPosition"
1774
1774
  ]),
1775
- Bt.value && P.value.userOptions.buttons.table ? (x(), p(Fe(Cr.value.component), Ae({ key: 8 }, Cr.value.props, {
1775
+ Bt.value && P.value.userOptions.buttons.table ? (S(), m(Pe(Cr.value.component), ke({ key: 8 }, Cr.value.props, {
1776
1776
  ref_key: "tableUnit",
1777
1777
  ref: tn,
1778
1778
  onClose: wr
1779
- }), De({
1780
- content: D(() => [(x(), p(E(jt), {
1779
+ }), Ee({
1780
+ content: D(() => [(S(), m(E(jt), {
1781
1781
  key: `table_${Zt.value}`,
1782
1782
  colNames: mr.value.colNames,
1783
1783
  head: mr.value.head,
@@ -1788,8 +1788,8 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1788
1788
  isCursorPointer: un.value,
1789
1789
  onClose: wr
1790
1790
  }, {
1791
- th: D(({ th: e }) => [Oe(T(e), 1)]),
1792
- td: D(({ td: e }) => [g("div", { innerHTML: e }, null, 8, Dt)]),
1791
+ th: D(({ th: e }) => [De(Ie(e), 1)]),
1792
+ td: D(({ td: e }) => [_("div", { innerHTML: e }, null, 8, Dt)]),
1793
1793
  _: 1
1794
1794
  }, 8, [
1795
1795
  "colNames",
@@ -1803,22 +1803,22 @@ var Be = /* @__PURE__ */ e({ default: () => Ot }), Ve = ["id"], He = ["id"], Ue
1803
1803
  _: 2
1804
1804
  }, [P.value.table.useDialog ? {
1805
1805
  name: "title",
1806
- fn: D(() => [Oe(T(Cr.value.title), 1)]),
1806
+ fn: D(() => [De(Ie(Cr.value.title), 1)]),
1807
1807
  key: "0"
1808
1808
  } : void 0, P.value.table.useDialog ? {
1809
1809
  name: "actions",
1810
- fn: D(() => [g("button", {
1810
+ fn: D(() => [_("button", {
1811
1811
  tabindex: "0",
1812
1812
  class: "vue-ui-user-options-button",
1813
- onClick: t[2] ||= (e) => pr(P.value.userOptions.callbacks.csv),
1814
- style: Me({ cursor: un.value ? "pointer" : "default" })
1815
- }, [ke(E(Ot), {
1813
+ onClick: r[2] ||= (e) => pr(P.value.userOptions.callbacks.csv),
1814
+ style: je({ cursor: un.value ? "pointer" : "default" })
1815
+ }, [Oe(E(Ot), {
1816
1816
  name: "fileCsv",
1817
1817
  stroke: Cr.value.props.color
1818
1818
  }, null, 8, ["stroke"])], 4)]),
1819
1819
  key: "1"
1820
- } : void 0]), 1040)) : m("", !0),
1821
- w(e.$slots, "skeleton", {}, () => [E(F) ? (x(), p(fe, { key: 0 })) : m("", !0)], !0)
1820
+ } : void 0]), 1040)) : h("", !0),
1821
+ T(e.$slots, "skeleton", {}, () => [E(F) ? (S(), m(de, { key: 0 })) : h("", !0)], !0)
1822
1822
  ], 46, Ve));
1823
1823
  }
1824
1824
  }, [["__scopeId", "data-v-6b89a6b9"]]);