vue-data-ui 3.5.0 → 3.5.2

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 (144) hide show
  1. package/README.md +26 -0
  2. package/dist/{ColorPicker-J5wOPCeB.js → ColorPicker-ChuwChMo.js} +58 -56
  3. package/dist/{NonSvgPenAndPaper-C7TRn0_3.js → NonSvgPenAndPaper-DVgKKLIf.js} +1 -1
  4. package/dist/{PackageVersion-Cyx_s25h.js → PackageVersion-Y7t79Jtq.js} +1 -1
  5. package/dist/PenAndPaper-SZQIAgkg.js +388 -0
  6. package/dist/{Title-l36lOBMx.js → Title-BzH_LEA3.js} +1 -1
  7. package/dist/components/vue-ui-3d-bar.js +1 -1
  8. package/dist/components/vue-ui-accordion.js +1 -1
  9. package/dist/components/vue-ui-age-pyramid.js +1 -1
  10. package/dist/components/vue-ui-annotator.js +1 -1
  11. package/dist/components/vue-ui-bullet.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dashboard.js +1 -1
  19. package/dist/components/vue-ui-digits.js +1 -1
  20. package/dist/components/vue-ui-donut-evolution.js +1 -1
  21. package/dist/components/vue-ui-donut.js +1 -1
  22. package/dist/components/vue-ui-dumbbell.js +1 -1
  23. package/dist/components/vue-ui-flow.js +1 -1
  24. package/dist/components/vue-ui-funnel.js +1 -1
  25. package/dist/components/vue-ui-galaxy.js +1 -1
  26. package/dist/components/vue-ui-gauge.js +1 -1
  27. package/dist/components/vue-ui-gizmo.js +1 -1
  28. package/dist/components/vue-ui-heatmap.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-mini-loader.js +1 -1
  33. package/dist/components/vue-ui-molecule.js +1 -1
  34. package/dist/components/vue-ui-mood-radar.js +1 -1
  35. package/dist/components/vue-ui-nested-donuts.js +1 -1
  36. package/dist/components/vue-ui-onion.js +1 -1
  37. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  38. package/dist/components/vue-ui-quadrant.js +1 -1
  39. package/dist/components/vue-ui-quick-chart.js +1 -1
  40. package/dist/components/vue-ui-radar.js +1 -1
  41. package/dist/components/vue-ui-rating.js +1 -1
  42. package/dist/components/vue-ui-relation-circle.js +1 -1
  43. package/dist/components/vue-ui-ridgeline.js +1 -1
  44. package/dist/components/vue-ui-rings.js +1 -1
  45. package/dist/components/vue-ui-scatter.js +1 -1
  46. package/dist/components/vue-ui-skeleton.js +1 -1
  47. package/dist/components/vue-ui-smiley.js +1 -1
  48. package/dist/components/vue-ui-spark-trend.js +1 -1
  49. package/dist/components/vue-ui-sparkbar.js +1 -1
  50. package/dist/components/vue-ui-sparkgauge.js +1 -1
  51. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  52. package/dist/components/vue-ui-sparkline.js +1 -1
  53. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  54. package/dist/components/vue-ui-stackbar.js +1 -1
  55. package/dist/components/vue-ui-strip-plot.js +1 -1
  56. package/dist/components/vue-ui-table-heatmap.js +1 -1
  57. package/dist/components/vue-ui-table-sparkline.js +1 -1
  58. package/dist/components/vue-ui-table.js +1 -1
  59. package/dist/components/vue-ui-thermometer.js +1 -1
  60. package/dist/components/vue-ui-timer.js +1 -1
  61. package/dist/components/vue-ui-tiremarks.js +1 -1
  62. package/dist/components/vue-ui-treemap.js +1 -1
  63. package/dist/components/vue-ui-vertical-bar.js +1 -1
  64. package/dist/components/vue-ui-waffle.js +1 -1
  65. package/dist/components/vue-ui-wheel.js +1 -1
  66. package/dist/components/vue-ui-word-cloud.js +1 -1
  67. package/dist/components/vue-ui-world.js +1 -1
  68. package/dist/components/vue-ui-xy-canvas.js +1 -1
  69. package/dist/components/vue-ui-xy.js +1 -1
  70. package/dist/style.css +1 -1
  71. package/dist/types/vue-data-ui.d.ts +17 -8
  72. package/dist/{useNestedProp-BjZe1Y85.js → useNestedProp-CReNavA0.js} +23 -9
  73. package/dist/{vue-data-ui-DxgRqCAo.js → vue-data-ui-BRaq4hRp.js} +63 -63
  74. package/dist/vue-data-ui.js +64 -64
  75. package/dist/{vue-ui-3d-bar-DmNJp8SY.js → vue-ui-3d-bar-BB4ii8Nt.js} +454 -434
  76. package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-BmFTVF1a.js} +1 -1
  77. package/dist/{vue-ui-age-pyramid-CPAP3sNY.js → vue-ui-age-pyramid-8bUepd28.js} +180 -160
  78. package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-CcpaXBNK.js} +3 -3
  79. package/dist/{vue-ui-bullet-Ce6uvCQJ.js → vue-ui-bullet-BvT4scFv.js} +190 -170
  80. package/dist/{vue-ui-candlestick-DewevWV_.js → vue-ui-candlestick-CMP7UL6z.js} +201 -181
  81. package/dist/{vue-ui-carousel-table-Dv1CDfE5.js → vue-ui-carousel-table-CzOcKsDj.js} +2 -2
  82. package/dist/{vue-ui-chestnut-D9sdFZ4E.js → vue-ui-chestnut-S787oASt.js} +375 -355
  83. package/dist/vue-ui-chord-Dl9Y4mcz.js +1153 -0
  84. package/dist/{vue-ui-circle-pack-Be74QB_0.js → vue-ui-circle-pack-CU09BzOV.js} +289 -269
  85. package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-C3yD_TUr.js} +1 -1
  86. package/dist/vue-ui-dashboard-BfEcVRxQ.js +432 -0
  87. package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-pRh179Gg.js} +1 -1
  88. package/dist/{vue-ui-donut-BRGFcgxS.js → vue-ui-donut-B_tEm4dT.js} +462 -442
  89. package/dist/{vue-ui-donut-evolution-DJ0C-7jH.js → vue-ui-donut-evolution-DiGhMwMO.js} +293 -273
  90. package/dist/{vue-ui-dumbbell-iQJ0BUhm.js → vue-ui-dumbbell-BlF3CLbN.js} +210 -190
  91. package/dist/{vue-ui-flow-CTYFoib3.js → vue-ui-flow-BQi5L8mJ.js} +339 -319
  92. package/dist/{vue-ui-funnel-CG55Xcdy.js → vue-ui-funnel-CM_6Sare.js} +218 -198
  93. package/dist/{vue-ui-galaxy-BQrxjKZJ.js → vue-ui-galaxy-BnZA62Li.js} +201 -181
  94. package/dist/{vue-ui-gauge-Tc-0NI0Y.js → vue-ui-gauge-DAk72bez.js} +311 -291
  95. package/dist/{vue-ui-gizmo-P8h-gnLd.js → vue-ui-gizmo-BQzQlUJ8.js} +2 -2
  96. package/dist/{vue-ui-heatmap-BZimPzsL.js → vue-ui-heatmap-C9MhHWpp.js} +303 -283
  97. package/dist/{vue-ui-history-plot-BVzbuqYY.js → vue-ui-history-plot-BYQh3E8U.js} +229 -209
  98. package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-jcrPjW4C.js} +2 -2
  99. package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-DTM98mRN.js} +1 -1
  100. package/dist/{vue-ui-molecule-BALqwB8c.js → vue-ui-molecule-Bd1OXvl3.js} +156 -136
  101. package/dist/{vue-ui-mood-radar-QJ5nlZby.js → vue-ui-mood-radar-DuoiTsYn.js} +266 -246
  102. package/dist/{vue-ui-nested-donuts-CmUabkkQ.js → vue-ui-nested-donuts-BTswQFjz.js} +506 -486
  103. package/dist/{vue-ui-onion-DAOCf3f8.js → vue-ui-onion-D-1U2Qgl.js} +220 -200
  104. package/dist/{vue-ui-parallel-coordinate-plot-D8jTuFjq.js → vue-ui-parallel-coordinate-plot-D-7VFHas.js} +235 -215
  105. package/dist/{vue-ui-quadrant-CO52mSRY.js → vue-ui-quadrant-CeM23s0z.js} +463 -443
  106. package/dist/{vue-ui-quick-chart-DEaVSldE.js → vue-ui-quick-chart-C0RMQzjC.js} +288 -268
  107. package/dist/{vue-ui-radar-C5V4hhbW.js → vue-ui-radar-BSfxyur3.js} +331 -311
  108. package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-tj97undO.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-CbMM0Jka.js → vue-ui-relation-circle-C7uV2mIj.js} +228 -208
  110. package/dist/{vue-ui-ridgeline-CXCIRDq6.js → vue-ui-ridgeline-CYMfTlwI.js} +242 -222
  111. package/dist/{vue-ui-rings-BpUcyqo7.js → vue-ui-rings-C96aj57d.js} +189 -169
  112. package/dist/{vue-ui-scatter--Dxe-hfO.js → vue-ui-scatter-CtvOXUnx.js} +275 -255
  113. package/dist/{vue-ui-skeleton-BWq-VDzg.js → vue-ui-skeleton-87TORm6s.js} +2 -2
  114. package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-B74geHT3.js} +1 -1
  115. package/dist/{vue-ui-spark-trend-T4J_YOa_.js → vue-ui-spark-trend-6_Ibziyv.js} +2 -2
  116. package/dist/{vue-ui-sparkbar-DnKP55Vu.js → vue-ui-sparkbar-BDCocMLI.js} +2 -2
  117. package/dist/{vue-ui-sparkgauge-BDQLP-zi.js → vue-ui-sparkgauge-CQ4Zk9-f.js} +2 -2
  118. package/dist/{vue-ui-sparkhistogram-Dm7QXrA-.js → vue-ui-sparkhistogram-BlTV9wfn.js} +143 -140
  119. package/dist/{vue-ui-sparkline-tXGDLHRy.js → vue-ui-sparkline-DWESyiqL.js} +2 -2
  120. package/dist/{vue-ui-sparkstackbar-M53Nt07M.js → vue-ui-sparkstackbar-DK_7X8mL.js} +2 -2
  121. package/dist/vue-ui-stackbar-BWuw8ff4.js +1827 -0
  122. package/dist/{vue-ui-strip-plot-BX9i3wMn.js → vue-ui-strip-plot-C1N2n39d.js} +245 -225
  123. package/dist/{vue-ui-table-7r02N9R9.js → vue-ui-table-CcuoPHgI.js} +3 -3
  124. package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-C9EMEM3Z.js} +1 -1
  125. package/dist/{vue-ui-table-sparkline-DZaAh10E.js → vue-ui-table-sparkline-BAxmZRff.js} +2 -2
  126. package/dist/vue-ui-thermometer-CDrM-WFq.js +584 -0
  127. package/dist/{vue-ui-timer-Ds-MJoW2.js → vue-ui-timer-BVsUQJz_.js} +3 -3
  128. package/dist/vue-ui-tiremarks-BQH2pNkG.js +450 -0
  129. package/dist/{vue-ui-treemap-BEvl8hiw.js → vue-ui-treemap-6WLoCHsH.js} +453 -433
  130. package/dist/{vue-ui-vertical-bar-D8dtM8sw.js → vue-ui-vertical-bar-B3gfBqD_.js} +323 -303
  131. package/dist/{vue-ui-waffle-B3q-2SCR.js → vue-ui-waffle-Bhlqo4xM.js} +219 -199
  132. package/dist/vue-ui-wheel-CqHw1WuW.js +663 -0
  133. package/dist/{vue-ui-word-cloud-ChT7uLbN.js → vue-ui-word-cloud-CKuWZGLv.js} +248 -228
  134. package/dist/{vue-ui-world-CdP4g_3_.js → vue-ui-world-C8KVyDim.js} +287 -267
  135. package/dist/{vue-ui-xy-B68qQ-gX.js → vue-ui-xy-Cz2qIEfi.js} +389 -369
  136. package/dist/{vue-ui-xy-canvas-DDngEA1s.js → vue-ui-xy-canvas-y4h7gEFp.js} +4 -4
  137. package/package.json +4 -4
  138. package/dist/PenAndPaper-DSvu9dwa.js +0 -373
  139. package/dist/vue-ui-chord-BG4dxKNA.js +0 -1133
  140. package/dist/vue-ui-dashboard-C4BLwHey.js +0 -412
  141. package/dist/vue-ui-stackbar-CkBOjryQ.js +0 -1724
  142. package/dist/vue-ui-thermometer-CFPt3MOv.js +0 -564
  143. package/dist/vue-ui-tiremarks-2eIQ6vxu.js +0 -430
  144. package/dist/vue-ui-wheel-BpirIgAG.js +0 -643
@@ -1,7 +1,7 @@
1
- import { defineAsyncComponent as W, computed as c, ref as y, toRefs as Al, watch as se, shallowRef as bt, onMounted as $l, onBeforeUnmount as De, watchEffect as Cl, nextTick as kt, createElementBlock as i, openBlock as u, normalizeStyle as ue, normalizeClass as N, createBlock as q, createCommentVNode as m, createElementVNode as p, createVNode as Pe, unref as h, createSlots as wt, withCtx as k, renderSlot as w, normalizeProps as Y, guardReactiveProps as Q, Fragment as S, renderList as F, toDisplayString as ie, mergeProps as At, resolveDynamicComponent as _l, createTextVNode as $t } from "vue";
2
- import { c as zl, t as Sl, O as pe, o as Ct, f as J, m as Ll, x as X, v as Tl, d as E, X as Fl, i as fe, s as Il, R as _t, P as Ml, Q as Rl, G as Ol, H as Dl } from "./lib-C_mNZmhD.js";
1
+ import { defineAsyncComponent as H, computed as c, ref as y, toRefs as Al, watch as se, shallowRef as bt, onMounted as $l, onBeforeUnmount as De, watchEffect as Cl, nextTick as kt, createElementBlock as i, openBlock as u, normalizeStyle as ue, normalizeClass as V, createBlock as Q, createCommentVNode as m, createElementVNode as p, createVNode as Pe, unref as h, withCtx as g, renderSlot as b, normalizeProps as F, guardReactiveProps as I, createSlots as wt, Fragment as S, renderList as M, toDisplayString as ie, mergeProps as At, resolveDynamicComponent as _l, createTextVNode as $t } from "vue";
2
+ import { c as zl, t as Sl, O as pe, o as Ct, f as J, m as Ll, x as G, v as Tl, d as U, X as Fl, i as fe, s as Il, R as _t, P as Ml, Q as Rl, G as Ol, H as Dl } from "./lib-C_mNZmhD.js";
3
3
  import { t as zt, u as Pl } from "./useResponsive-DfdjqQps.js";
4
- import { u as Bl, a as St } from "./useNestedProp-BjZe1Y85.js";
4
+ import { u as Bl, a as St } from "./useNestedProp-CReNavA0.js";
5
5
  import { u as Nl } from "./usePrinter-DTzqpYKF.js";
6
6
  import { u as El, B as Vl } from "./BaseScanner-BgWxam9d.js";
7
7
  import { u as Lt, a as Ul, l as Wl } from "./useTimeLabels-BGFjWgrv.js";
@@ -10,7 +10,7 @@ import { u as Hl } from "./useUserOptionState-BIvW1Kz7.js";
10
10
  import { u as Gl } from "./useChartAccessibility-9icAAmYg.js";
11
11
  import { u as jl } from "./useTimeLabelCollider-CIsgDrl9.js";
12
12
  import ql from "./img-BecE5qXd.js";
13
- import Yl from "./Title-l36lOBMx.js";
13
+ import Yl from "./Title-BzH_LEA3.js";
14
14
  import { t as Ql } from "./themes-AUNCOb2G.js";
15
15
  import { S as Jl } from "./SlicerPreview-ij72TAs6.js";
16
16
  import { _ as Kl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -39,8 +39,8 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
39
39
  },
40
40
  emits: ["selectX"],
41
41
  setup(Tt, { expose: Ft, emit: It }) {
42
- const Mt = W(() => import("./BaseIcon-BmMbm4d0.js")), Rt = W(() => import("./Tooltip-oWCO1HKy.js")), Ot = W(() => import("./vue-ui-accordion-CZ0thhxa.js")), Dt = W(() => import("./DataTable-BT7VF2ua.js")), Pt = W(() => import("./PenAndPaper-DSvu9dwa.js")), Bt = W(() => import("./UserOptions-CGnQt6Fd.js")), Nt = W(() => import("./PackageVersion-Cyx_s25h.js")), Et = W(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_candlestick: Vt } = Bl(), g = Tt, Be = It, ge = c(() => !!g.dataset && g.dataset.length), R = y(!1), xe = y(null), I = y(zl()), be = y(!1), ke = y(""), O = y(void 0), Ne = y(0), D = y(null), Ee = y(null), Ve = y(null), Z = y(null), Ue = y(null), We = y(null), Ut = y(0), Xe = y(0), He = y(0), we = y(null), ee = y(null), te = y(null), Ae = y(null), Ge = y(null), e = y(ze()), { loading: P, FINAL_DATASET: x, manualLoading: $e } = El({
43
- ...Al(g),
42
+ const Mt = H(() => import("./BaseIcon-BmMbm4d0.js")), Rt = H(() => import("./Tooltip-oWCO1HKy.js")), Ot = H(() => import("./vue-ui-accordion-BmFTVF1a.js")), Dt = H(() => import("./DataTable-BT7VF2ua.js")), Pt = H(() => import("./PenAndPaper-SZQIAgkg.js")), Bt = H(() => import("./UserOptions-CGnQt6Fd.js")), Nt = H(() => import("./PackageVersion-Y7t79Jtq.js")), Et = H(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_candlestick: Vt } = Bl(), x = Tt, Be = It, ge = c(() => !!x.dataset && x.dataset.length), D = y(!1), xe = y(null), R = y(zl()), be = y(!1), ke = y(""), P = y(void 0), Ne = y(0), B = y(null), Ee = y(null), Ve = y(null), Z = y(null), Ue = y(null), We = y(null), Ut = y(0), Xe = y(0), He = y(0), we = y(null), ee = y(null), te = y(null), Ae = y(null), Ge = y(null), e = y(ze()), { loading: N, FINAL_DATASET: k, manualLoading: $e } = El({
43
+ ...Al(x),
44
44
  FINAL_CONFIG: e,
45
45
  prepareConfig: ze,
46
46
  callback: () => {
@@ -114,24 +114,24 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
114
114
  je(!0);
115
115
  }
116
116
  function Xt() {
117
- je(!1), Be("selectX", { seriesIndex: null, datapoint: null }), O.value = null;
117
+ je(!1), Be("selectX", { seriesIndex: null, datapoint: null }), P.value = null;
118
118
  }
119
119
  function ze() {
120
120
  const t = St({
121
- userConfig: g.config,
121
+ userConfig: x.config,
122
122
  defaultConfig: Vt
123
123
  });
124
124
  let a = {};
125
125
  return t.theme ? a = {
126
126
  ...St({
127
- userConfig: Ql.vue_ui_candlestick[t.theme] || g.config,
127
+ userConfig: Ql.vue_ui_candlestick[t.theme] || x.config,
128
128
  defaultConfig: t
129
129
  })
130
- } : a = t, g.config && pe(g.config, "style.zoom.startIndex") ? a.style.zoom.startIndex = g.config.style.zoom.startIndex : a.style.zoom.startIndex = null, g.config && pe(g.config, "style.zoom.endIndex") ? a.style.zoom.endIndex = g.config.style.zoom.endIndex : a.style.zoom.endIndex = null, g.config && pe(g.config, "style.layout.grid.yAxis.scale.min") ? a.style.layout.grid.yAxis.scale.min = g.config.style.layout.grid.yAxis.scale.min : a.style.layout.grid.yAxis.scale.min = null, g.config && pe(g.config, "style.layout.grid.yAxis.scale.max") ? a.style.layout.grid.yAxis.scale.max = g.config.style.layout.grid.yAxis.scale.max : a.style.layout.grid.yAxis.scale.max = null, a;
130
+ } : a = t, x.config && pe(x.config, "style.zoom.startIndex") ? a.style.zoom.startIndex = x.config.style.zoom.startIndex : a.style.zoom.startIndex = null, x.config && pe(x.config, "style.zoom.endIndex") ? a.style.zoom.endIndex = x.config.style.zoom.endIndex : a.style.zoom.endIndex = null, x.config && pe(x.config, "style.layout.grid.yAxis.scale.min") ? a.style.layout.grid.yAxis.scale.min = x.config.style.layout.grid.yAxis.scale.min : a.style.layout.grid.yAxis.scale.min = null, x.config && pe(x.config, "style.layout.grid.yAxis.scale.max") ? a.style.layout.grid.yAxis.scale.max = x.config.style.layout.grid.yAxis.scale.max : a.style.layout.grid.yAxis.scale.max = null, a;
131
131
  }
132
- se(() => g.config, (t) => {
133
- P.value || (e.value = ze()), Ce.value = !e.value.userOptions.showOnChartHover, Ye(), Ut.value += 1, He.value += 1, Xe.value += 1, L.value.showTable = e.value.table.show, L.value.showTooltip = e.value.style.tooltip.show, ne();
134
- }, { deep: !0 }), se(() => g.dataset, (t) => {
132
+ se(() => x.config, (t) => {
133
+ N.value || (e.value = ze()), Ce.value = !e.value.userOptions.showOnChartHover, Ye(), Ut.value += 1, He.value += 1, Xe.value += 1, L.value.showTable = e.value.table.show, L.value.showTooltip = e.value.style.tooltip.show, ne();
134
+ }, { deep: !0 }), se(() => x.dataset, (t) => {
135
135
  Array.isArray(t) && t.length > 0 && ($e.value = !1), vt();
136
136
  }, { deep: !0 });
137
137
  const f = y({
@@ -139,23 +139,23 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
139
139
  width: e.value.style.width,
140
140
  xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
141
141
  yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
142
- }), V = bt(null), K = bt(null);
142
+ }), W = bt(null), K = bt(null);
143
143
  $l(() => {
144
144
  Ye();
145
145
  });
146
- const H = c(() => !!e.value.debug);
146
+ const j = c(() => !!e.value.debug);
147
147
  function Ye() {
148
- if (Ct(g.dataset) && (J({
148
+ if (Ct(x.dataset) && (J({
149
149
  componentName: "VueUiCandlestick",
150
150
  type: "dataset",
151
- debug: H.value
152
- }), $e.value = !0), Ct(g.dataset) || ($e.value = e.value.loading), setTimeout(() => {
153
- R.value = !0;
151
+ debug: j.value
152
+ }), $e.value = !0), Ct(x.dataset) || ($e.value = e.value.loading), setTimeout(() => {
153
+ D.value = !0;
154
154
  }, 10), e.value.responsive) {
155
155
  const a = zt(() => {
156
- R.value = !1;
156
+ D.value = !1;
157
157
  const { width: l, height: o } = Pl({
158
- chart: D.value,
158
+ chart: B.value,
159
159
  title: e.value.style.title.text ? Ee.value : null,
160
160
  slicer: e.value.style.zoom.show && $.value > 6 ? Z.value.$el : null,
161
161
  legend: Ve.value,
@@ -176,19 +176,19 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
176
176
  threshold: 6,
177
177
  fallback: 6
178
178
  })) : (f.value.xAxisFontSize = e.value.style.layout.grid.xAxis.dataLabels.fontSize, f.value.yAxisFontSize = e.value.style.layout.grid.yAxis.dataLabels.fontSize), xe.value && clearTimeout(xe.value), xe.value = setTimeout(() => {
179
- R.value = !0;
179
+ D.value = !0;
180
180
  }, 10);
181
181
  });
182
182
  });
183
- V.value && (K.value && V.value.unobserve(K.value), V.value.disconnect()), V.value = new ResizeObserver(a), K.value = D.value.parentNode, V.value.observe(K.value);
183
+ W.value && (K.value && W.value.unobserve(K.value), W.value.disconnect()), W.value = new ResizeObserver(a), K.value = B.value.parentNode, W.value.observe(K.value);
184
184
  }
185
185
  ce();
186
186
  }
187
187
  De(() => {
188
- V.value && (K.value && V.value.unobserve(K.value), V.value.disconnect());
188
+ W.value && (K.value && W.value.unobserve(K.value), W.value.disconnect());
189
189
  });
190
190
  const { isPrinting: Qe, isImaging: Je, generatePdf: Ke, generateImage: Ze } = Nl({
191
- elementId: `vue-ui-candlestick_${I.value}`,
191
+ elementId: `vue-ui-candlestick_${R.value}`,
192
192
  fileName: e.value.style.title.text || "vue-ui-candlestick",
193
193
  options: e.value.userOptions.print
194
194
  }), Ht = c(() => e.value.userOptions.show && !e.value.style.title.text), L = y({
@@ -229,11 +229,11 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
229
229
  height: f.value.height - t - l - et.value - v
230
230
  };
231
231
  }), qt = c(() => {
232
- const { left: t, top: a, width: l, height: o } = n.value, s = r.value.start, b = r.value.end - s, T = l / b, z = A.value.start - s, U = A.value.end - s, j = Math.max(0, Math.min(b, z)), me = Math.max(0, Math.min(b, U));
232
+ const { left: t, top: a, width: l, height: o } = n.value, s = r.value.start, w = r.value.end - s, T = l / w, z = A.value.start - s, X = A.value.end - s, Y = Math.max(0, Math.min(w, z)), me = Math.max(0, Math.min(w, X));
233
233
  return {
234
- x: t + j * T,
234
+ x: t + Y * T,
235
235
  y: a,
236
- width: (me - j) * T,
236
+ width: (me - Y) * T,
237
237
  height: o,
238
238
  fill: e.value.style.zoom.preview.fill,
239
239
  stroke: e.value.style.zoom.preview.stroke,
@@ -247,7 +247,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
247
247
  animation: "none !important"
248
248
  }
249
249
  };
250
- }), $ = c(() => x.value.length), r = y({
250
+ }), $ = c(() => k.value.length), r = y({
251
251
  start: 0,
252
252
  end: $.value
253
253
  }), A = y({ start: 0, end: $.value }), tt = c(() => e.value.style.zoom.preview.enable && (A.value.start !== r.value.start || A.value.end !== r.value.end));
@@ -258,46 +258,46 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
258
258
  let t = Math.max(0, Math.min(r.value.start ?? 0, $.value - 1)), a = Math.max(t + 1, Math.min(r.value.end ?? $.value, $.value));
259
259
  (!Number.isFinite(t) || !Number.isFinite(a) || a <= t) && (t = 0, a = $.value), r.value.start = t, r.value.end = a, A.value.start = t, A.value.end = a, Z.value && (Z.value.setStartValue(t), Z.value.setEndValue(a));
260
260
  }
261
- const at = c(() => x.value.map((t, a) => ({
261
+ const at = c(() => k.value.map((t, a) => ({
262
262
  ...t,
263
263
  absoluteIndex: a
264
- }))), ot = c(() => at.value.slice(r.value.start, r.value.end)), _ = c(() => (x.value.forEach((t, a) => {
264
+ }))), ot = c(() => at.value.slice(r.value.start, r.value.end)), _ = c(() => (k.value.forEach((t, a) => {
265
265
  [null, void 0].includes(t[0]) && J({
266
266
  componentName: "VueUiCandlestick",
267
267
  type: "datasetAttribute",
268
268
  property: "period (index 0)",
269
269
  index: a,
270
- debug: H.value
270
+ debug: j.value
271
271
  }), [null, void 0].includes(t[1]) && J({
272
272
  componentName: "VueUiCandlestick",
273
273
  type: "datasetAttribute",
274
274
  property: "open (index 1)",
275
275
  index: a,
276
- debug: H.value
276
+ debug: j.value
277
277
  }), [null, void 0].includes(t[2]) && J({
278
278
  componentName: "VueUiCandlestick",
279
279
  type: "datasetAttribute",
280
280
  property: "high (index 2)",
281
281
  index: a,
282
- debug: H.value
282
+ debug: j.value
283
283
  }), [null, void 0].includes(t[3]) && J({
284
284
  componentName: "VueUiCandlestick",
285
285
  type: "datasetAttribute",
286
286
  property: "low (index 3)",
287
287
  index: a,
288
- debug: H.value
288
+ debug: j.value
289
289
  }), [null, void 0].includes(t[4]) && J({
290
290
  componentName: "VueUiCandlestick",
291
291
  type: "datasetAttribute",
292
292
  property: "close (index 4)",
293
293
  index: a,
294
- debug: H.value
294
+ debug: j.value
295
295
  }), [null, void 0].includes(t[5]) && J({
296
296
  componentName: "VueUiCandlestick",
297
297
  type: "datasetAttribute",
298
298
  property: "volume (index 5)",
299
299
  index: a,
300
- debug: H.value
300
+ debug: j.value
301
301
  });
302
302
  }), ot.value.map((t) => ({
303
303
  absoluteIndex: t.absoluteIndex,
@@ -321,13 +321,13 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
321
321
  max: t,
322
322
  min: a
323
323
  };
324
- }), M = c(() => Ll(st.value.min, st.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
324
+ }), O = c(() => Ll(st.value.min, st.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
325
325
  function re(t, a, l = null, o = null) {
326
326
  return {
327
327
  ...t,
328
- x: X(n.value.left + a * d.value + d.value / 2),
329
- y: X(n.value.top + (1 - (t - M.value.min) / (M.value.max - M.value.min)) * n.value.height),
330
- value: X(t),
328
+ x: G(n.value.left + a * d.value + d.value / 2),
329
+ y: G(n.value.top + (1 - (t - O.value.min) / (O.value.max - O.value.min)) * n.value.height),
330
+ value: G(t),
331
331
  isMax: t === l,
332
332
  isMin: t === o
333
333
  };
@@ -345,15 +345,15 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
345
345
  c: Math.min(..._.value.map((s) => s.low))
346
346
  }, l = Math.max(..._.value.map((s) => s.volume)), o = Math.min(..._.value.map((s) => s.volume));
347
347
  return _.value.map((s, v) => {
348
- const b = re(s.open, v, t.o, a.o), T = re(s.high, v, t.h, a.h), z = re(s.low, v, t.l, a.l), U = re(s.close, v, t.c, a.c), j = s.close > s.open, me = s.volume === l, Me = s.volume === o;
348
+ const w = re(s.open, v, t.o, a.o), T = re(s.high, v, t.h, a.h), z = re(s.low, v, t.l, a.l), X = re(s.close, v, t.c, a.c), Y = s.close > s.open, me = s.volume === l, Me = s.volume === o;
349
349
  return {
350
350
  period: s.period,
351
- open: b,
351
+ open: w,
352
352
  high: T,
353
353
  low: z,
354
- close: U,
354
+ close: X,
355
355
  volume: s.volume,
356
- isBullish: j,
356
+ isBullish: Y,
357
357
  absoluteIndex: s.absoluteIndex,
358
358
  isMaxVolume: me,
359
359
  isMinVolume: Me
@@ -361,21 +361,21 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
361
361
  });
362
362
  });
363
363
  function ve({ item: t, index: a, minimapH: l, unitW: o }) {
364
- const s = e.value.style.layout.grid.yAxis.scale.min ?? 0, v = e.value.style.layout.grid.yAxis.scale.max ?? Math.max(...x.value.map((b) => b[2]));
364
+ const s = e.value.style.layout.grid.yAxis.scale.min ?? 0, v = e.value.style.layout.grid.yAxis.scale.max ?? Math.max(...k.value.map((w) => w[2]));
365
365
  return {
366
366
  ...t,
367
- x: X(a * o),
368
- y: X((1 - (t - s) / (v - s)) * l),
369
- value: X(t)
367
+ x: G(a * o),
368
+ y: G((1 - (t - s) / (v - s)) * l),
369
+ value: G(t)
370
370
  };
371
371
  }
372
372
  const Qt = c(() => ({ minimapH: t, unitW: a }) => Yt.value.map((l, o) => {
373
- const s = ve({ item: l.open, index: o, minimapH: t, unitW: a }), v = ve({ item: l.high, index: o, minimapH: t, unitW: a }), b = ve({ item: l.low, index: o, minimapH: t, unitW: a }), T = ve({ item: l.close, index: o, minimapH: t, unitW: a }), z = l.close > l.open;
373
+ const s = ve({ item: l.open, index: o, minimapH: t, unitW: a }), v = ve({ item: l.high, index: o, minimapH: t, unitW: a }), w = ve({ item: l.low, index: o, minimapH: t, unitW: a }), T = ve({ item: l.close, index: o, minimapH: t, unitW: a }), z = l.close > l.open;
374
374
  return {
375
375
  period: l.period,
376
376
  open: s,
377
377
  high: v,
378
- low: b,
378
+ low: w,
379
379
  close: T,
380
380
  volume: l.volume,
381
381
  isBullish: z,
@@ -383,31 +383,31 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
383
383
  };
384
384
  })), Jt = c(() => e.value.style.zoom.minimap.show ? [{
385
385
  name: "",
386
- series: x.value.map((t) => t[2]),
386
+ series: k.value.map((t) => t[2]),
387
387
  color: "#000000",
388
388
  isVisible: !0
389
389
  }] : []);
390
390
  function Kt(t) {
391
- return X((t - M.value.min) / (M.value.max - M.value.min));
391
+ return G((t - O.value.min) / (O.value.max - O.value.min));
392
392
  }
393
- const ut = c(() => M.value.ticks.map((t) => ({
393
+ const ut = c(() => O.value.ticks.map((t) => ({
394
394
  y: n.value.bottom - n.value.height * Kt(t),
395
- value: X(t)
396
- }))), Zt = c(() => _.value.map((t) => t.period)), B = c(() => Lt({
397
- values: x.value.map((t) => t[0]),
398
- maxDatapoints: x.value.length,
395
+ value: G(t)
396
+ }))), Zt = c(() => _.value.map((t) => t.period)), E = c(() => Lt({
397
+ values: k.value.map((t) => t[0]),
398
+ maxDatapoints: k.value.length,
399
399
  formatter: e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
400
400
  start: r.value.start,
401
401
  end: r.value.end
402
402
  })), it = c(() => Lt({
403
- values: x.value.map((t) => t[0]),
404
- maxDatapoints: x.value.length,
403
+ values: k.value.map((t) => t[0]),
404
+ maxDatapoints: k.value.length,
405
405
  formatter: e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
406
406
  start: 0,
407
407
  end: $.value
408
408
  })), el = c(() => {
409
409
  const t = e.value.style.layout.grid.xAxis.dataLabels.modulo;
410
- return B.value.length ? Math.min(t, [...new Set(B.value.map((a) => a.text))].length) : t;
410
+ return E.value.length ? Math.min(t, [...new Set(E.value.map((a) => a.text))].length) : t;
411
411
  }), nt = c(() => {
412
412
  const t = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter, a = Ul({
413
413
  useUTC: t.useUTC,
@@ -415,50 +415,50 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
415
415
  januaryAsYear: t.januaryAsYear
416
416
  });
417
417
  return (l, o) => {
418
- const v = x.value.map((b) => b[0])?.[l];
418
+ const v = k.value.map((w) => w[0])?.[l];
419
419
  return v == null ? "" : a.formatDate(new Date(v), o);
420
420
  };
421
- }), tl = c(() => (x.value.map((a) => a[0]) || []).map((a, l) => ({
421
+ }), tl = c(() => (k.value.map((a) => a[0]) || []).map((a, l) => ({
422
422
  text: nt.value(l, e.value.style.tooltip.timeFormat),
423
423
  absoluteIndex: l
424
- }))), ll = c(() => (x.value.map((a) => a[0]) || []).map((a, l) => ({
424
+ }))), ll = c(() => (k.value.map((a) => a[0]) || []).map((a, l) => ({
425
425
  text: nt.value(l, e.value.style.zoom.timeFormat),
426
426
  absoluteIndex: l
427
427
  }))), Le = c(() => {
428
- const t = e.value.style.layout.grid.xAxis.dataLabels, a = B.value || [], l = it.value || [], o = r.value.start ?? 0, s = O.value, v = $.value, b = a.map((z) => z?.text ?? ""), T = l.map((z) => z?.text ?? "");
428
+ const t = e.value.style.layout.grid.xAxis.dataLabels, a = E.value || [], l = it.value || [], o = r.value.start ?? 0, s = P.value, v = $.value, w = a.map((z) => z?.text ?? ""), T = l.map((z) => z?.text ?? "");
429
429
  return Tl(
430
430
  !!t.showOnlyFirstAndLast,
431
431
  !!t.showOnlyAtModulo,
432
432
  Math.max(1, el.value || 1),
433
- b,
433
+ w,
434
434
  T,
435
435
  o,
436
436
  s,
437
437
  v
438
438
  );
439
439
  }), rt = c(() => e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
440
- start: B.value.find((t) => t.absoluteIndex === r.value.start)?.text ?? "",
441
- end: B.value.find((t) => t.absoluteIndex === r.value.end - 1)?.text ?? ""
440
+ start: E.value.find((t) => t.absoluteIndex === r.value.start)?.text ?? "",
441
+ end: E.value.find((t) => t.absoluteIndex === r.value.end - 1)?.text ?? ""
442
442
  } : {
443
- start: x.value[r.value.start] ? x.value[r.value.start][0] : x.value[0][0],
444
- end: x.value[r.value.end - 1] ? x.value[r.value.end - 1][0] : x.value.at(-1)[0]
443
+ start: k.value[r.value.start] ? k.value[r.value.start][0] : k.value[0][0],
444
+ end: k.value[r.value.end - 1] ? k.value[r.value.end - 1][0] : k.value.at(-1)[0]
445
445
  }), Te = y(null);
446
446
  function al(t, a) {
447
447
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: a, seriesIndex: t + r.value.start });
448
448
  }
449
449
  function ol(t, a) {
450
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: t + r.value.start }), O.value = void 0, be.value = !1;
450
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: t + r.value.start }), P.value = void 0, be.value = !1;
451
451
  }
452
- se(() => g.selectedXIndex, (t) => {
453
- if ([null, void 0].includes(g.selectedXIndex)) {
454
- O.value = null;
452
+ se(() => x.selectedXIndex, (t) => {
453
+ if ([null, void 0].includes(x.selectedXIndex)) {
454
+ P.value = null;
455
455
  return;
456
456
  }
457
457
  const a = t - r.value.start;
458
- a < 0 || t >= r.value.end ? O.value = null : O.value = a ?? null;
458
+ a < 0 || t >= r.value.end ? P.value = null : P.value = a ?? null;
459
459
  }, { immediate: !0 });
460
460
  function sl(t, a) {
461
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: a, seriesIndex: t + r.value.start }), O.value = t, Te.value = {
461
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: a, seriesIndex: t + r.value.start }), P.value = t, Te.value = {
462
462
  datapoint: a,
463
463
  seriesIndex: t,
464
464
  series: C.value,
@@ -479,25 +479,25 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
479
479
  });
480
480
  else if (e.value.style.tooltip.show) {
481
481
  let o = "";
482
- const { period: s, open: v, high: b, low: T, close: z, volume: U, isBullish: j } = C.value[t], { period: me, open: Me, high: gl, low: xl, close: bl, volume: kl } = e.value.translations, wl = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? e.value.style.tooltip.useDefaultTimeFormat ? B.value[t].text : tl.value[t].text : s;
482
+ const { period: s, open: v, high: w, low: T, close: z, volume: X, isBullish: Y } = C.value[t], { period: me, open: Me, high: gl, low: xl, close: bl, volume: kl } = e.value.translations, wl = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? e.value.style.tooltip.useDefaultTimeFormat ? E.value[t].text : tl.value[t].text : s;
483
483
  o += `<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="${e.value.style.layout.candle.borderRadius * 3}" stroke="${e.value.style.layout.candle.stroke}" stroke-width="${e.value.style.layout.candle.strokeWidth}"
484
- fill="${e.value.style.layout.candle.gradient.show ? j ? `url(#bullish_gradient_${I.value})` : `url(#bearish_gradient_${I.value})` : j ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${wl}</div>`, o += `${kl} : <b>${isNaN(U) ? "-" : Number(U.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, o += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`;
485
- const Re = E({
484
+ fill="${e.value.style.layout.candle.gradient.show ? Y ? `url(#bullish_gradient_${R.value})` : `url(#bearish_gradient_${R.value})` : Y ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${wl}</div>`, o += `${kl} : <b>${isNaN(X) ? "-" : Number(X.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, o += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`;
485
+ const Re = U({
486
486
  p: e.value.style.tooltip.prefix,
487
487
  v: v.value,
488
488
  s: e.value.style.tooltip.suffix,
489
489
  r: e.value.style.tooltip.roundingValue
490
- }), gt = E({
490
+ }), gt = U({
491
491
  p: e.value.style.tooltip.prefix,
492
- v: b.value,
492
+ v: w.value,
493
493
  s: e.value.style.tooltip.suffix,
494
494
  r: e.value.style.tooltip.roundingValue
495
- }), xt = E({
495
+ }), xt = U({
496
496
  p: e.value.style.tooltip.prefix,
497
497
  v: T.value,
498
498
  s: e.value.style.tooltip.suffix,
499
499
  r: e.value.style.tooltip.roundingValue
500
- }), Oe = E({
500
+ }), Oe = U({
501
501
  p: e.value.style.tooltip.prefix,
502
502
  v: z.value,
503
503
  s: e.value.style.tooltip.suffix,
@@ -561,8 +561,8 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
561
561
  }
562
562
  function Fe(t = null) {
563
563
  kt(() => {
564
- const a = [e.value.translations.period, e.value.translations.open, e.value.translations.high, e.value.translations.low, e.value.translations.close, e.value.translations.volume], l = C.value.map((v, b) => [
565
- e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? B.value[b].text : v.period,
564
+ const a = [e.value.translations.period, e.value.translations.open, e.value.translations.high, e.value.translations.low, e.value.translations.close, e.value.translations.volume], l = C.value.map((v, w) => [
565
+ e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? E.value[w].text : v.period,
566
566
  v.open.value,
567
567
  v.high.value,
568
568
  v.low.value,
@@ -574,33 +574,33 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
574
574
  }
575
575
  const ye = c(() => {
576
576
  const t = C.value.map((o, s) => {
577
- const v = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? B.value[s].text : o.period, b = E({
577
+ const v = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? E.value[s].text : o.period, w = U({
578
578
  p: e.value.table.td.prefix,
579
579
  v: o.open.value,
580
580
  s: e.value.table.td.suffix,
581
581
  r: e.value.table.td.roundingValue
582
- }), T = E({
582
+ }), T = U({
583
583
  p: e.value.table.td.prefix,
584
584
  v: o.high.value,
585
585
  s: e.value.table.td.suffix,
586
586
  r: e.value.table.td.roundingValue
587
- }), z = E({
587
+ }), z = U({
588
588
  p: e.value.table.td.prefix,
589
589
  v: o.low.value,
590
590
  s: e.value.table.td.suffix,
591
591
  r: e.value.table.td.roundingValue
592
- }), U = E({
592
+ }), X = U({
593
593
  p: e.value.table.td.prefix,
594
594
  v: o.close.value,
595
595
  s: e.value.table.td.suffix,
596
596
  r: e.value.table.td.roundingValue
597
597
  });
598
598
  return [
599
- `<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="${e.value.style.layout.candle.borderRadius * 3}" fill="${e.value.style.layout.candle.gradient.show ? o.isBullish ? `url(#bullish_gradient_${I.value}` : `url(#bearish_gradient_${I.value})` : o.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg> ${v}`,
600
- b,
599
+ `<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="${e.value.style.layout.candle.borderRadius * 3}" fill="${e.value.style.layout.candle.gradient.show ? o.isBullish ? `url(#bullish_gradient_${R.value}` : `url(#bearish_gradient_${R.value})` : o.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg> ${v}`,
600
+ w,
601
601
  T,
602
602
  z,
603
- U,
603
+ X,
604
604
  `${isNaN(o.volume) ? "-" : o.volume.toLocaleString()}`
605
605
  ];
606
606
  }), a = {
@@ -624,9 +624,9 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
624
624
  e.value.translations.volume
625
625
  ];
626
626
  return { head: l, body: t, config: a, colNames: l };
627
- }), G = y(!1);
627
+ }), q = y(!1);
628
628
  function yt(t) {
629
- G.value = t, Ne.value += 1;
629
+ q.value = t, Ne.value += 1;
630
630
  }
631
631
  function ht() {
632
632
  L.value.showTable = !L.value.showTable;
@@ -639,8 +639,8 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
639
639
  he.value = !he.value;
640
640
  }
641
641
  async function il({ scale: t = 2 } = {}) {
642
- if (!D.value) return;
643
- const { width: a, height: l } = D.value.getBoundingClientRect(), o = a / l, { imageUri: s, base64: v } = await ql({ domElement: D.value, base64: !0, img: !0, scale: t });
642
+ if (!B.value) return;
643
+ const { width: a, height: l } = B.value.getBoundingClientRect(), o = a / l, { imageUri: s, base64: v } = await ql({ domElement: B.value, base64: !0, img: !0, scale: t });
644
644
  return {
645
645
  imageUri: s,
646
646
  base64: v,
@@ -653,7 +653,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
653
653
  const nl = c(() => f.value.width), rl = c(() => f.value.height);
654
654
  jl({
655
655
  timeLabelsEls: ee,
656
- timeLabels: B,
656
+ timeLabels: E,
657
657
  slicer: r,
658
658
  configRef: e,
659
659
  rotationPath: ["style", "layout", "grid", "xAxis", "dataLabels", "rotation"],
@@ -678,8 +678,8 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
678
678
  color: e.value.table.th.color,
679
679
  headerColor: e.value.table.th.color,
680
680
  headerBg: e.value.table.th.backgroundColor,
681
- isFullscreen: G.value,
682
- fullscreenParent: D.value,
681
+ isFullscreen: q.value,
682
+ fullscreenParent: B.value,
683
683
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
684
684
  } : {
685
685
  hideDetails: !0,
@@ -747,21 +747,41 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
747
747
  toggleFullscreen: yt
748
748
  }), (t, a) => (u(), i("div", {
749
749
  ref_key: "candlestickChart",
750
- ref: D,
751
- class: N(`vue-data-ui-component vue-ui-candlestick ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
750
+ ref: B,
751
+ class: V(`vue-data-ui-component vue-ui-candlestick ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
752
752
  style: ue(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
753
- id: `vue-ui-candlestick_${I.value}`,
753
+ id: `vue-ui-candlestick_${R.value}`,
754
754
  onMouseenter: Wt,
755
755
  onMouseleave: Xt
756
756
  }, [
757
- e.value.userOptions.buttons.annotator ? (u(), q(h(Pt), {
757
+ e.value.userOptions.buttons.annotator ? (u(), Q(h(Pt), {
758
758
  key: 0,
759
759
  svgRef: h(_e),
760
760
  backgroundColor: e.value.style.backgroundColor,
761
761
  color: e.value.style.color,
762
762
  active: he.value,
763
763
  onClose: Ie
764
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
764
+ }, {
765
+ "annotator-action-close": g(() => [
766
+ b(t.$slots, "annotator-action-close", {}, void 0, !0)
767
+ ]),
768
+ "annotator-action-color": g(({ color: l }) => [
769
+ b(t.$slots, "annotator-action-color", F(I({ color: l })), void 0, !0)
770
+ ]),
771
+ "annotator-action-draw": g(({ mode: l }) => [
772
+ b(t.$slots, "annotator-action-draw", F(I({ mode: l })), void 0, !0)
773
+ ]),
774
+ "annotator-action-undo": g(({ disabled: l }) => [
775
+ b(t.$slots, "annotator-action-undo", F(I({ disabled: l })), void 0, !0)
776
+ ]),
777
+ "annotator-action-redo": g(({ disabled: l }) => [
778
+ b(t.$slots, "annotator-action-redo", F(I({ disabled: l })), void 0, !0)
779
+ ]),
780
+ "annotator-action-delete": g(({ disabled: l }) => [
781
+ b(t.$slots, "annotator-action-delete", F(I({ disabled: l })), void 0, !0)
782
+ ]),
783
+ _: 3
784
+ }, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
765
785
  Ht.value ? (u(), i("div", {
766
786
  key: 1,
767
787
  ref_key: "noTitle",
@@ -775,7 +795,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
775
795
  ref: Ee,
776
796
  style: "width:100%;background:transparent"
777
797
  }, [
778
- (u(), q(Yl, {
798
+ (u(), Q(Yl, {
779
799
  key: `title_${He.value}`,
780
800
  config: {
781
801
  title: {
@@ -789,7 +809,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
789
809
  }
790
810
  }, null, 8, ["config"]))
791
811
  ], 512)) : m("", !0),
792
- e.value.userOptions.show && ge.value && (h(qe) || h(Ce)) ? (u(), q(h(Bt), {
812
+ e.value.userOptions.show && ge.value && (h(qe) || h(Ce)) ? (u(), Q(h(Bt), {
793
813
  ref_key: "userOptionsRef",
794
814
  ref: Ae,
795
815
  key: `user_options_${Ne.value}`,
@@ -797,7 +817,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
797
817
  color: e.value.style.color,
798
818
  isImaging: h(Je),
799
819
  isPrinting: h(Qe),
800
- uid: I.value,
820
+ uid: R.value,
801
821
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
802
822
  hasPdf: e.value.userOptions.buttons.pdf,
803
823
  hasImg: e.value.userOptions.buttons.img,
@@ -805,10 +825,10 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
805
825
  hasXls: e.value.userOptions.buttons.csv,
806
826
  hasTable: e.value.userOptions.buttons.table,
807
827
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
808
- isFullscreen: G.value,
828
+ isFullscreen: q.value,
809
829
  isTooltip: L.value.showTooltip,
810
830
  titles: { ...e.value.userOptions.buttonTitles },
811
- chartElement: D.value,
831
+ chartElement: B.value,
812
832
  position: e.value.userOptions.position,
813
833
  hasAnnotator: e.value.userOptions.buttons.annotator,
814
834
  isAnnotation: he.value,
@@ -829,64 +849,64 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
829
849
  }, wt({ _: 2 }, [
830
850
  t.$slots.menuIcon ? {
831
851
  name: "menuIcon",
832
- fn: k(({ isOpen: l, color: o }) => [
833
- w(t.$slots, "menuIcon", Y(Q({ isOpen: l, color: o })), void 0, !0)
852
+ fn: g(({ isOpen: l, color: o }) => [
853
+ b(t.$slots, "menuIcon", F(I({ isOpen: l, color: o })), void 0, !0)
834
854
  ]),
835
855
  key: "0"
836
856
  } : void 0,
837
857
  t.$slots.optionTooltip ? {
838
858
  name: "optionTooltip",
839
- fn: k(() => [
840
- w(t.$slots, "optionTooltip", {}, void 0, !0)
859
+ fn: g(() => [
860
+ b(t.$slots, "optionTooltip", {}, void 0, !0)
841
861
  ]),
842
862
  key: "1"
843
863
  } : void 0,
844
864
  t.$slots.optionPdf ? {
845
865
  name: "optionPdf",
846
- fn: k(() => [
847
- w(t.$slots, "optionPdf", {}, void 0, !0)
866
+ fn: g(() => [
867
+ b(t.$slots, "optionPdf", {}, void 0, !0)
848
868
  ]),
849
869
  key: "2"
850
870
  } : void 0,
851
871
  t.$slots.optionCsv ? {
852
872
  name: "optionCsv",
853
- fn: k(() => [
854
- w(t.$slots, "optionCsv", {}, void 0, !0)
873
+ fn: g(() => [
874
+ b(t.$slots, "optionCsv", {}, void 0, !0)
855
875
  ]),
856
876
  key: "3"
857
877
  } : void 0,
858
878
  t.$slots.optionImg ? {
859
879
  name: "optionImg",
860
- fn: k(() => [
861
- w(t.$slots, "optionImg", {}, void 0, !0)
880
+ fn: g(() => [
881
+ b(t.$slots, "optionImg", {}, void 0, !0)
862
882
  ]),
863
883
  key: "4"
864
884
  } : void 0,
865
885
  t.$slots.optionSvg ? {
866
886
  name: "optionSvg",
867
- fn: k(() => [
868
- w(t.$slots, "optionSvg", {}, void 0, !0)
887
+ fn: g(() => [
888
+ b(t.$slots, "optionSvg", {}, void 0, !0)
869
889
  ]),
870
890
  key: "5"
871
891
  } : void 0,
872
892
  t.$slots.optionTable ? {
873
893
  name: "optionTable",
874
- fn: k(() => [
875
- w(t.$slots, "optionTable", {}, void 0, !0)
894
+ fn: g(() => [
895
+ b(t.$slots, "optionTable", {}, void 0, !0)
876
896
  ]),
877
897
  key: "6"
878
898
  } : void 0,
879
899
  t.$slots.optionFullscreen ? {
880
900
  name: "optionFullscreen",
881
- fn: k(({ toggleFullscreen: l, isFullscreen: o }) => [
882
- w(t.$slots, "optionFullscreen", Y(Q({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
901
+ fn: g(({ toggleFullscreen: l, isFullscreen: o }) => [
902
+ b(t.$slots, "optionFullscreen", F(I({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
883
903
  ]),
884
904
  key: "7"
885
905
  } : void 0,
886
906
  t.$slots.optionAnnotator ? {
887
907
  name: "optionAnnotator",
888
- fn: k(({ toggleAnnotator: l, isAnnotator: o }) => [
889
- w(t.$slots, "optionAnnotator", Y(Q({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
908
+ fn: g(({ toggleAnnotator: l, isAnnotator: o }) => [
909
+ b(t.$slots, "optionAnnotator", F(I({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
890
910
  ]),
891
911
  key: "8"
892
912
  } : void 0
@@ -896,7 +916,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
896
916
  ref: _e,
897
917
  xmlns: h(Fl),
898
918
  "aria-label": e.value.style.title.text || "candlestick chart",
899
- class: N({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
919
+ class: V({ "vue-data-ui-fullscreen--on": q.value, "vue-data-ui-fulscreen--off": !q.value }),
900
920
  viewBox: `0 0 ${f.value.width <= 0 ? 10 : f.value.width} ${f.value.height <= 0 ? 10 : f.value.height}`,
901
921
  style: ue(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
902
922
  }, [
@@ -911,12 +931,12 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
911
931
  pointerEvents: "none"
912
932
  }
913
933
  }, [
914
- w(t.$slots, "chart-background", {}, void 0, !0)
934
+ b(t.$slots, "chart-background", {}, void 0, !0)
915
935
  ], 8, ta)) : m("", !0),
916
936
  C.value.length > 0 ? (u(), i("g", la, [
917
937
  p("defs", null, [
918
938
  p("linearGradient", {
919
- id: `bearish_gradient_${I.value}`,
939
+ id: `bearish_gradient_${R.value}`,
920
940
  x2: "0%",
921
941
  y2: "100%"
922
942
  }, [
@@ -934,7 +954,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
934
954
  }, null, 8, ua)
935
955
  ], 8, aa),
936
956
  p("linearGradient", {
937
- id: `bullish_gradient_${I.value}`,
957
+ id: `bullish_gradient_${R.value}`,
938
958
  x2: "0%",
939
959
  y2: "100%"
940
960
  }, [
@@ -971,7 +991,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
971
991
  "stroke-width": e.value.style.layout.grid.strokeWidth,
972
992
  "stroke-linecap": "round"
973
993
  }, null, 8, ya),
974
- e.value.style.layout.grid.horizontalLines.show ? (u(!0), i(S, { key: 0 }, F(ut.value, (l) => (u(), i("line", {
994
+ e.value.style.layout.grid.horizontalLines.show ? (u(!0), i(S, { key: 0 }, M(ut.value, (l) => (u(), i("line", {
975
995
  x1: n.value.left,
976
996
  x2: n.value.right,
977
997
  y1: l.y,
@@ -981,7 +1001,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
981
1001
  "stroke-dasharray": e.value.style.layout.grid.horizontalLines.strokeDasharray,
982
1002
  "stroke-linecap": "round"
983
1003
  }, null, 8, ha))), 256)) : m("", !0),
984
- e.value.style.layout.grid.verticalLines.show ? (u(!0), i(S, { key: 1 }, F(Le.value, (l, o) => (u(), i("g", null, [
1004
+ e.value.style.layout.grid.verticalLines.show ? (u(!0), i(S, { key: 1 }, M(Le.value, (l, o) => (u(), i("g", null, [
985
1005
  l.text ? (u(), i("line", {
986
1006
  key: 0,
987
1007
  x1: n.value.left + d.value * o + d.value / 2,
@@ -994,7 +1014,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
994
1014
  "stroke-linecap": "round"
995
1015
  }, null, 8, ma)) : m("", !0)
996
1016
  ]))), 256)) : m("", !0),
997
- e.value.style.layout.grid.xAxis.ticks.show ? (u(!0), i(S, { key: 2 }, F(Le.value, (l, o) => (u(), i("g", null, [
1017
+ e.value.style.layout.grid.xAxis.ticks.show ? (u(!0), i(S, { key: 2 }, M(Le.value, (l, o) => (u(), i("g", null, [
998
1018
  l.text ? (u(), i("line", {
999
1019
  key: 0,
1000
1020
  x1: n.value.left + d.value * o + d.value / 2,
@@ -1012,8 +1032,8 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1012
1032
  ref_key: "scaleLabels",
1013
1033
  ref: we
1014
1034
  }, [
1015
- (u(!0), i(S, null, F(ut.value, (l, o) => (u(), i("g", null, [
1016
- l.value >= M.value.min && l.value <= M.value.max ? (u(), i("line", {
1035
+ (u(!0), i(S, null, M(ut.value, (l, o) => (u(), i("g", null, [
1036
+ l.value >= O.value.min && l.value <= O.value.max ? (u(), i("line", {
1017
1037
  key: 0,
1018
1038
  x1: n.value.left,
1019
1039
  x2: n.value.left - 5,
@@ -1023,7 +1043,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1023
1043
  "stroke-width": e.value.style.layout.grid.strokeWidth,
1024
1044
  "stroke-linecap": "round"
1025
1045
  }, null, 8, fa)) : m("", !0),
1026
- l.value >= M.value.min && l.value <= M.value.max ? (u(), i("text", {
1046
+ l.value >= O.value.min && l.value <= O.value.max ? (u(), i("text", {
1027
1047
  key: 1,
1028
1048
  x: n.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
1029
1049
  y: l.y + f.value.yAxisFontSize / 3,
@@ -1031,7 +1051,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1031
1051
  "text-anchor": "end",
1032
1052
  fill: e.value.style.layout.grid.yAxis.dataLabels.color,
1033
1053
  "font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
1034
- }, ie(h(E)({
1054
+ }, ie(h(U)({
1035
1055
  p: e.value.style.layout.grid.yAxis.dataLabels.prefix,
1036
1056
  v: l.value,
1037
1057
  s: e.value.style.layout.grid.yAxis.dataLabels.suffix,
@@ -1044,7 +1064,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1044
1064
  ref_key: "timeLabelsEls",
1045
1065
  ref: ee
1046
1066
  }, [
1047
- (u(!0), i(S, null, F(Zt.value, (l, o) => (u(), i("g", null, [
1067
+ (u(!0), i(S, null, M(Zt.value, (l, o) => (u(), i("g", null, [
1048
1068
  p("text", {
1049
1069
  class: "vue-data-ui-time-label",
1050
1070
  transform: `translate(${n.value.left + d.value * o + d.value / 2}, ${n.value.bottom + f.value.xAxisFontSize * 1.5}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
@@ -1060,7 +1080,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1060
1080
  ref_key: "timeLabelsEls",
1061
1081
  ref: ee
1062
1082
  }, [
1063
- (u(!0), i(S, null, F(Le.value, (l, o) => (u(), i("g", null, [
1083
+ (u(!0), i(S, null, M(Le.value, (l, o) => (u(), i("g", null, [
1064
1084
  p("text", {
1065
1085
  class: "vue-data-ui-time-label",
1066
1086
  transform: `translate(${n.value.left + d.value * o + d.value / 2}, ${n.value.bottom + f.value.xAxisFontSize * 1.5}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
@@ -1073,7 +1093,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1073
1093
  ], 512)) : m("", !0),
1074
1094
  e.value.type === "candlestick" ? (u(), i(S, { key: 4 }, [
1075
1095
  p("g", null, [
1076
- (u(!0), i(S, null, F(C.value, (l, o) => (u(), i("g", null, [
1096
+ (u(!0), i(S, null, M(C.value, (l, o) => (u(), i("g", null, [
1077
1097
  p("rect", {
1078
1098
  x: l.open.x - e.value.style.layout.wick.strokeWidth / 2,
1079
1099
  y: l.high.y,
@@ -1082,7 +1102,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1082
1102
  fill: e.value.style.layout.wick.stroke,
1083
1103
  stroke: "none",
1084
1104
  rx: e.value.style.layout.wick.strokeWidth / 2,
1085
- class: N({ "vue-data-ui-transition": R.value && !h(P) })
1105
+ class: V({ "vue-data-ui-transition": D.value && !h(N) })
1086
1106
  }, null, 10, ka),
1087
1107
  e.value.style.layout.wick.extremity.shape === "circle" ? (u(), i("g", wa, [
1088
1108
  p("circle", {
@@ -1090,14 +1110,14 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1090
1110
  cy: l.high.y,
1091
1111
  r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
1092
1112
  fill: e.value.style.layout.wick.extremity.color,
1093
- class: N({ "vue-data-ui-transition": R.value && !h(P) })
1113
+ class: V({ "vue-data-ui-transition": D.value && !h(N) })
1094
1114
  }, null, 10, Aa),
1095
1115
  p("circle", {
1096
1116
  cx: l.low.x,
1097
1117
  cy: l.low.y,
1098
1118
  r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
1099
1119
  fill: e.value.style.layout.wick.extremity.color,
1100
- class: N({ "vue-data-ui-transition": R.value && !h(P) })
1120
+ class: V({ "vue-data-ui-transition": D.value && !h(N) })
1101
1121
  }, null, 10, $a)
1102
1122
  ])) : m("", !0),
1103
1123
  e.value.style.layout.wick.extremity.shape === "line" ? (u(), i("g", Ca, [
@@ -1109,7 +1129,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1109
1129
  rx: e.value.style.layout.wick.strokeWidth / 2,
1110
1130
  fill: e.value.style.layout.wick.extremity.color,
1111
1131
  stroke: "none",
1112
- class: N({ "vue-data-ui-transition": R.value && !h(P) })
1132
+ class: V({ "vue-data-ui-transition": D.value && !h(N) })
1113
1133
  }, null, 10, _a),
1114
1134
  p("rect", {
1115
1135
  x: l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
@@ -1119,13 +1139,13 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1119
1139
  fill: e.value.style.layout.wick.extremity.color,
1120
1140
  stroke: "none",
1121
1141
  rx: e.value.style.layout.wick.strokeWidth / 2,
1122
- class: N({ "vue-data-ui-transition": R.value && !h(P) })
1142
+ class: V({ "vue-data-ui-transition": D.value && !h(N) })
1123
1143
  }, null, 10, za)
1124
1144
  ])) : m("", !0)
1125
1145
  ]))), 256))
1126
1146
  ]),
1127
1147
  p("g", null, [
1128
- (u(!0), i(S, null, F(C.value, (l, o) => (u(), i("rect", {
1148
+ (u(!0), i(S, null, M(C.value, (l, o) => (u(), i("rect", {
1129
1149
  x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
1130
1150
  y: l.isBullish ? l.close.y : l.open.y,
1131
1151
  height: Math.abs(l.close.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.close.y - l.open.y),
@@ -1133,24 +1153,24 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1133
1153
  fill: e.value.style.layout.candle.gradient.underlayer,
1134
1154
  rx: e.value.style.layout.candle.borderRadius,
1135
1155
  stroke: "none",
1136
- class: N({ "vue-data-ui-transition": R.value && !h(P) })
1156
+ class: V({ "vue-data-ui-transition": D.value && !h(N) })
1137
1157
  }, null, 10, Sa))), 256)),
1138
- (u(!0), i(S, null, F(C.value, (l, o) => (u(), i("rect", {
1158
+ (u(!0), i(S, null, M(C.value, (l, o) => (u(), i("rect", {
1139
1159
  x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
1140
1160
  y: l.isBullish ? l.close.y : l.open.y,
1141
1161
  height: Math.abs(l.close.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.close.y - l.open.y),
1142
1162
  width: d.value * e.value.style.layout.candle.widthRatio <= 0 ? 1e-4 : d.value * e.value.style.layout.candle.widthRatio,
1143
- fill: l.isBullish ? e.value.style.layout.candle.gradient.show ? `url(#bullish_gradient_${I.value})` : e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.gradient.show ? `url(#bearish_gradient_${I.value})` : e.value.style.layout.candle.colors.bearish,
1163
+ fill: l.isBullish ? e.value.style.layout.candle.gradient.show ? `url(#bullish_gradient_${R.value})` : e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.gradient.show ? `url(#bearish_gradient_${R.value})` : e.value.style.layout.candle.colors.bearish,
1144
1164
  rx: e.value.style.layout.candle.borderRadius,
1145
1165
  stroke: e.value.style.layout.candle.stroke,
1146
1166
  "stroke-width": e.value.style.layout.candle.strokeWidth,
1147
1167
  "stroke-linecap": "round",
1148
1168
  "stroke-linejoin": "round",
1149
- class: N({ "vue-data-ui-transition": R.value && !h(P) })
1169
+ class: V({ "vue-data-ui-transition": D.value && !h(N) })
1150
1170
  }, null, 10, La))), 256))
1151
1171
  ])
1152
1172
  ], 64)) : m("", !0),
1153
- e.value.type === "ohlc" ? (u(!0), i(S, { key: 5 }, F(C.value, (l, o) => (u(), i("g", null, [
1173
+ e.value.type === "ohlc" ? (u(!0), i(S, { key: 5 }, M(C.value, (l, o) => (u(), i("g", null, [
1154
1174
  p("path", {
1155
1175
  d: `M ${l.high.x},${l.high.y} ${l.low.x},${l.low.y} M${l.open.x - Math.min(6, d.value / 3)},${l.open.y} ${l.open.x},${l.open.y} M${l.close.x},${l.close.y} ${l.close.x + Math.min(6, d.value / 3)},${l.close.y}`,
1156
1176
  stroke: l.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish,
@@ -1158,12 +1178,12 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1158
1178
  }, null, 8, Ta)
1159
1179
  ]))), 256)) : m("", !0),
1160
1180
  p("g", null, [
1161
- (u(!0), i(S, null, F(C.value, (l, o) => (u(), i("rect", {
1181
+ (u(!0), i(S, null, M(C.value, (l, o) => (u(), i("rect", {
1162
1182
  x: n.value.left + o * d.value,
1163
1183
  y: n.value.top,
1164
1184
  height: n.value.height <= 0 ? 1e-4 : n.value.height,
1165
1185
  width: d.value <= 0 ? 1e-4 : d.value,
1166
- fill: O.value === o || Ge.value === o ? h(Il)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
1186
+ fill: P.value === o || Ge.value === o ? h(Il)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
1167
1187
  onMouseover: () => sl(o, l),
1168
1188
  onMouseleave: () => ol(o, l),
1169
1189
  onClick: () => al(o, l)
@@ -1174,7 +1194,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1174
1194
  "data-start": r.value.start,
1175
1195
  "data-end": r.value.end
1176
1196
  }), null, 16, Ia)) : m("", !0),
1177
- w(t.$slots, "svg", {
1197
+ b(t.$slots, "svg", {
1178
1198
  svg: {
1179
1199
  ...f.value,
1180
1200
  data: C.value,
@@ -1183,9 +1203,9 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1183
1203
  }, void 0, !0)
1184
1204
  ], 14, ea)),
1185
1205
  t.$slots.watermark ? (u(), i("div", Ma, [
1186
- w(t.$slots, "watermark", Y(Q({ isPrinting: h(Qe) || h(Je) })), void 0, !0)
1206
+ b(t.$slots, "watermark", F(I({ isPrinting: h(Qe) || h(Je) })), void 0, !0)
1187
1207
  ])) : m("", !0),
1188
- e.value.style.zoom.show && $.value > 6 && ge.value && dt.value ? (u(), q(Jl, {
1208
+ e.value.style.zoom.show && $.value > 6 && ge.value && dt.value ? (u(), Q(Jl, {
1189
1209
  key: 5,
1190
1210
  ref_key: "chartSlicer",
1191
1211
  ref: Z,
@@ -1207,20 +1227,20 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1207
1227
  labelRight: rt.value.end || "",
1208
1228
  max: $.value,
1209
1229
  min: 0,
1210
- minimap: e.value.style.zoom.minimap.show ? h(x).map((l) => l[2]) : [],
1230
+ minimap: e.value.style.zoom.minimap.show ? h(k).map((l) => l[2]) : [],
1211
1231
  minimapCompact: e.value.style.zoom.minimap.compact,
1212
1232
  minimapFrameColor: e.value.style.zoom.minimap.frameColor,
1213
1233
  minimapIndicatorColor: e.value.style.zoom.minimap.indicatorColor,
1214
1234
  minimapMerged: !1,
1215
1235
  minimapSelectedColor: e.value.style.zoom.minimap.selectedColor,
1216
1236
  minimapSelectedColorOpacity: e.value.style.zoom.minimap.selectedColorOpacity,
1217
- minimapSelectedIndex: O.value,
1237
+ minimapSelectedIndex: P.value,
1218
1238
  minimapSelectionRadius: 1,
1219
1239
  preciseLabels: ll.value,
1220
1240
  refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : $.value,
1221
1241
  refreshStartPoint: e.value.style.zoom.startIndex !== null ? e.value.style.zoom.startIndex : 0,
1222
1242
  selectColor: e.value.style.zoom.highlightColor,
1223
- selectedSeries: h(x),
1243
+ selectedSeries: h(k),
1224
1244
  smoothMinimap: !1,
1225
1245
  start: r.value.start,
1226
1246
  textColor: e.value.style.color,
@@ -1237,11 +1257,11 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1237
1257
  onFutureEnd: a[0] || (a[0] = (l) => lt("end", l)),
1238
1258
  onFutureStart: a[1] || (a[1] = (l) => lt("start", l))
1239
1259
  }, {
1240
- "reset-action": k(({ reset: l }) => [
1241
- w(t.$slots, "reset-action", Y(Q({ reset: l })), void 0, !0)
1260
+ "reset-action": g(({ reset: l }) => [
1261
+ b(t.$slots, "reset-action", F(I({ reset: l })), void 0, !0)
1242
1262
  ]),
1243
- slotMap: k(({ height: l, unitW: o }) => [
1244
- (u(!0), i(S, null, F(Qt.value({ minimapH: l, unitW: o }), (s, v) => (u(), i("g", null, [
1263
+ slotMap: g(({ height: l, unitW: o }) => [
1264
+ (u(!0), i(S, null, M(Qt.value({ minimapH: l, unitW: o }), (s, v) => (u(), i("g", null, [
1245
1265
  p("path", {
1246
1266
  d: `M ${s.high.x},${s.high.y} ${s.low.x},${s.low.y}`,
1247
1267
  stroke: s.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish,
@@ -1266,7 +1286,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1266
1286
  ref_key: "chartLegend",
1267
1287
  ref: Ve
1268
1288
  }, [
1269
- w(t.$slots, "legend", { legend: C.value }, void 0, !0)
1289
+ b(t.$slots, "legend", { legend: C.value }, void 0, !0)
1270
1290
  ], 512),
1271
1291
  t.$slots.source ? (u(), i("div", {
1272
1292
  key: 6,
@@ -1274,7 +1294,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1274
1294
  ref: Ue,
1275
1295
  dir: "auto"
1276
1296
  }, [
1277
- w(t.$slots, "source", {}, void 0, !0)
1297
+ b(t.$slots, "source", {}, void 0, !0)
1278
1298
  ], 512)) : m("", !0),
1279
1299
  Pe(h(Rt), {
1280
1300
  show: L.value.showTooltip && be.value,
@@ -1287,30 +1307,30 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1287
1307
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
1288
1308
  position: e.value.style.tooltip.position,
1289
1309
  offsetY: e.value.style.tooltip.offsetY,
1290
- parent: D.value,
1310
+ parent: B.value,
1291
1311
  content: ke.value,
1292
- isFullscreen: G.value,
1312
+ isFullscreen: q.value,
1293
1313
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
1294
1314
  smooth: e.value.style.tooltip.smooth,
1295
1315
  backdropFilter: e.value.style.tooltip.backdropFilter,
1296
1316
  smoothForce: e.value.style.tooltip.smoothForce,
1297
1317
  smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
1298
1318
  }, {
1299
- "tooltip-before": k(() => [
1300
- w(t.$slots, "tooltip-before", Y(Q({ ...Te.value })), void 0, !0)
1319
+ "tooltip-before": g(() => [
1320
+ b(t.$slots, "tooltip-before", F(I({ ...Te.value })), void 0, !0)
1301
1321
  ]),
1302
- "tooltip-after": k(() => [
1303
- w(t.$slots, "tooltip-after", Y(Q({ ...Te.value })), void 0, !0)
1322
+ "tooltip-after": g(() => [
1323
+ b(t.$slots, "tooltip-after", F(I({ ...Te.value })), void 0, !0)
1304
1324
  ]),
1305
1325
  _: 3
1306
1326
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1307
- ge.value && e.value.userOptions.buttons.table ? (u(), q(_l(oe.value.component), At({ key: 7 }, oe.value.props, {
1327
+ ge.value && e.value.userOptions.buttons.table ? (u(), Q(_l(oe.value.component), At({ key: 7 }, oe.value.props, {
1308
1328
  ref_key: "tableUnit",
1309
1329
  ref: te,
1310
1330
  onClose: pt
1311
1331
  }), wt({
1312
- content: k(() => [
1313
- (u(), q(h(Dt), {
1332
+ content: g(() => [
1333
+ (u(), Q(h(Dt), {
1314
1334
  key: `table_${Xe.value}`,
1315
1335
  colNames: ye.value.colNames,
1316
1336
  head: ye.value.head,
@@ -1320,10 +1340,10 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1320
1340
  withCloseButton: !e.value.table.useDialog,
1321
1341
  onClose: pt
1322
1342
  }, {
1323
- th: k(({ th: l }) => [
1343
+ th: g(({ th: l }) => [
1324
1344
  $t(ie(l), 1)
1325
1345
  ]),
1326
- td: k(({ td: l }) => [
1346
+ td: g(({ td: l }) => [
1327
1347
  p("div", { innerHTML: l }, null, 8, Da)
1328
1348
  ]),
1329
1349
  _: 1
@@ -1333,14 +1353,14 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1333
1353
  }, [
1334
1354
  e.value.table.useDialog ? {
1335
1355
  name: "title",
1336
- fn: k(() => [
1356
+ fn: g(() => [
1337
1357
  $t(ie(oe.value.title), 1)
1338
1358
  ]),
1339
1359
  key: "0"
1340
1360
  } : void 0,
1341
1361
  e.value.table.useDialog ? {
1342
1362
  name: "actions",
1343
- fn: k(() => [
1363
+ fn: g(() => [
1344
1364
  p("button", {
1345
1365
  tabindex: "0",
1346
1366
  class: "vue-ui-user-options-button",
@@ -1355,10 +1375,10 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1355
1375
  key: "1"
1356
1376
  } : void 0
1357
1377
  ]), 1040)) : m("", !0),
1358
- h(P) ? (u(), q(Vl, { key: 8 })) : m("", !0)
1378
+ h(N) ? (u(), Q(Vl, { key: 8 })) : m("", !0)
1359
1379
  ], 46, Zl));
1360
1380
  }
1361
- }, eo = /* @__PURE__ */ Kl(Pa, [["__scopeId", "data-v-ecf2e082"]]);
1381
+ }, eo = /* @__PURE__ */ Kl(Pa, [["__scopeId", "data-v-eec0be6e"]]);
1362
1382
  export {
1363
1383
  eo as default
1364
1384
  };