vue-data-ui 3.0.0-next.34 → 3.0.0-next.35

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 (89) hide show
  1. package/dist/{Arrow-7o1zcGGd.js → Arrow-9U-UjNas.js} +1 -1
  2. package/dist/{BaseDraggableDialog-fZ1Z5U4d.js → BaseDraggableDialog-CdaQDDs0.js} +2 -2
  3. package/dist/{BaseIcon-Cq9SmUOT.js → BaseIcon-DB8UP3sU.js} +1 -1
  4. package/dist/{ColorPicker-BNmC5tPY.js → ColorPicker-Cb3SgjWM.js} +2 -2
  5. package/dist/{DataTable-DonNp9Tn.js → DataTable-BvgiQ2JE.js} +2 -2
  6. package/dist/{Legend-De_LcU2x.js → Legend-DBh56vdD.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-DCCmvppN.js → NonSvgPenAndPaper-fHaJC-dl.js} +3 -3
  8. package/dist/{PackageVersion-F_KOshQ5.js → PackageVersion-Bhohtzrj.js} +1 -1
  9. package/dist/{PenAndPaper-BzsPyqiU.js → PenAndPaper-vCj1-UEY.js} +3 -3
  10. package/dist/{Shape-CJI8rA0G.js → Shape-D2E4CMoi.js} +1 -1
  11. package/dist/{Slicer-BCCGJwNV.js → Slicer-1-SaJZ80.js} +2 -2
  12. package/dist/{SparkTooltip-ZSo6Sdhj.js → SparkTooltip-CE4BUH-_.js} +1 -1
  13. package/dist/{Title-CbfJu3Bz.js → Title-8eeSFss9.js} +1 -1
  14. package/dist/{Tooltip-BuuVsO8D.js → Tooltip-C7HgI7vF.js} +1 -1
  15. package/dist/{UserOptions-32osgWD2.js → UserOptions-Cxr0ZsfM.js} +2 -2
  16. package/dist/{dom-to-png-B4iPnzPd.js → dom-to-png-DDW5fRWT.js} +1 -1
  17. package/dist/{img-Domj-5hZ.js → img-czwmJka_.js} +1 -1
  18. package/dist/{index-BeBasrrG.js → index-Cy_OHCLi.js} +29 -1
  19. package/dist/{pdf-KclgkN6e.js → pdf-BLIP6Yoc.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +34 -1
  22. package/dist/types/vue-data-ui.d.ts +34 -1
  23. package/dist/{useNestedProp-BI69cynt.js → useNestedProp-Di0uuVL6.js} +1 -1
  24. package/dist/{usePrinter-DpTBVYGM.js → usePrinter-B3aBnAXo.js} +2 -2
  25. package/dist/{vue-data-ui-DfOSI-cw.js → vue-data-ui-C8hTMkHA.js} +64 -64
  26. package/dist/vue-data-ui.js +1 -1
  27. package/dist/{vue-ui-3d-bar-BFUcEqAl.js → vue-ui-3d-bar-BybaBB_P.js} +6 -6
  28. package/dist/{vue-ui-accordion-BBZQktvS.js → vue-ui-accordion-DJ7Cgx6-.js} +3 -3
  29. package/dist/{vue-ui-age-pyramid-C1fCszkG.js → vue-ui-age-pyramid-DPuw31_r.js} +6 -6
  30. package/dist/{vue-ui-annotator-BThZoiBl.js → vue-ui-annotator-BRVlhEK2.js} +2 -2
  31. package/dist/{vue-ui-bullet-D0-jL6aT.js → vue-ui-bullet-4NYyyaH9.js} +7 -7
  32. package/dist/{vue-ui-candlestick-BKY_1NxQ.js → vue-ui-candlestick-DEYGVnYY.js} +170 -165
  33. package/dist/{vue-ui-carousel-table-RqYXqUym.js → vue-ui-carousel-table-DBV6s3lm.js} +4 -4
  34. package/dist/{vue-ui-chestnut-QLx875w4.js → vue-ui-chestnut-EngIIDHp.js} +5 -5
  35. package/dist/{vue-ui-chord-rUYoYkRO.js → vue-ui-chord-B0lIgdaA.js} +8 -8
  36. package/dist/{vue-ui-circle-pack-DX5resGr.js → vue-ui-circle-pack-D2_7Q03M.js} +6 -6
  37. package/dist/{vue-ui-cursor-Day-0aL1.js → vue-ui-cursor-B8W8SBMh.js} +2 -2
  38. package/dist/{vue-ui-dashboard-G0W4wq1U.js → vue-ui-dashboard-R18RfpNq.js} +62 -62
  39. package/dist/{vue-ui-digits-DFREi_Ky.js → vue-ui-digits-lDDMeEMg.js} +2 -2
  40. package/dist/{vue-ui-donut-BdxnEUCr.js → vue-ui-donut-C0QxZHSs.js} +8 -8
  41. package/dist/{vue-ui-donut-evolution-DYeMgZMU.js → vue-ui-donut-evolution-DMuOgr00.js} +176 -176
  42. package/dist/{vue-ui-dumbbell-ajhNYekO.js → vue-ui-dumbbell-BoehGkow.js} +7 -7
  43. package/dist/{vue-ui-flow-BOq3_apj.js → vue-ui-flow-CMpJ4VNW.js} +7 -7
  44. package/dist/{vue-ui-funnel-1Tc-WWAK.js → vue-ui-funnel-V-ep0uRk.js} +6 -6
  45. package/dist/{vue-ui-galaxy-DRdIquCv.js → vue-ui-galaxy-5_UI4rRC.js} +5 -5
  46. package/dist/{vue-ui-gauge-B0a3J_d1.js → vue-ui-gauge-DuPPfpX8.js} +6 -6
  47. package/dist/{vue-ui-gizmo-5G0uR26C.js → vue-ui-gizmo-DC0_MhU8.js} +3 -3
  48. package/dist/{vue-ui-heatmap-BGYSmKC-.js → vue-ui-heatmap-Du7CgmK0.js} +7 -7
  49. package/dist/{vue-ui-history-plot-kHo6293P.js → vue-ui-history-plot-DUAojY09.js} +7 -7
  50. package/dist/{vue-ui-kpi-6zONwNMN.js → vue-ui-kpi-DFqD1V27.js} +3 -3
  51. package/dist/{vue-ui-mini-loader-XyVfmLch.js → vue-ui-mini-loader-Dhx_wzdm.js} +2 -2
  52. package/dist/{vue-ui-molecule-BoQKd6NP.js → vue-ui-molecule-F69F6eYS.js} +5 -5
  53. package/dist/{vue-ui-mood-radar-DncLIzjX.js → vue-ui-mood-radar-Bx-4k7jY.js} +7 -7
  54. package/dist/{vue-ui-nested-donuts-DXMadqNK.js → vue-ui-nested-donuts-BVeoZkgI.js} +9 -9
  55. package/dist/{vue-ui-onion-CbtXXJHJ.js → vue-ui-onion-DHYlAXM7.js} +7 -7
  56. package/dist/{vue-ui-parallel-coordinate-plot-D-zLAqYN.js → vue-ui-parallel-coordinate-plot-N5KtznHX.js} +8 -8
  57. package/dist/{vue-ui-quadrant-DqN9de-E.js → vue-ui-quadrant-BsQ8O9e6.js} +8 -8
  58. package/dist/{vue-ui-quick-chart-fAHV8BFQ.js → vue-ui-quick-chart-Bocy5d7r.js} +6 -6
  59. package/dist/{vue-ui-radar-Dcr4Y35J.js → vue-ui-radar-ByUt1ys9.js} +7 -7
  60. package/dist/{vue-ui-rating-Y_X6wrM8.js → vue-ui-rating-C1KpOoZF.js} +2 -2
  61. package/dist/{vue-ui-relation-circle-CsjfP4w3.js → vue-ui-relation-circle-Bw-A49Ol.js} +6 -6
  62. package/dist/{vue-ui-ridgeline-COQZjWXD.js → vue-ui-ridgeline-g9JYjIcs.js} +11 -9
  63. package/dist/{vue-ui-rings-IWHU4YHR.js → vue-ui-rings-D4-dAblw.js} +8 -8
  64. package/dist/{vue-ui-scatter-zG4nPspJ.js → vue-ui-scatter-Ese_ubEo.js} +8 -8
  65. package/dist/{vue-ui-skeleton-BLCAe0aL.js → vue-ui-skeleton-DGCSWS6R.js} +3 -3
  66. package/dist/{vue-ui-smiley-CgMyaK6w.js → vue-ui-smiley-D-2kksbm.js} +2 -2
  67. package/dist/{vue-ui-spark-trend-Dn2iTtuB.js → vue-ui-spark-trend-x900EpiA.js} +3 -3
  68. package/dist/{vue-ui-sparkbar-BA_s34xX.js → vue-ui-sparkbar-t47Lq5jH.js} +3 -3
  69. package/dist/{vue-ui-sparkgauge-CGoeUY4p.js → vue-ui-sparkgauge-T8iByZV1.js} +3 -3
  70. package/dist/{vue-ui-sparkhistogram-BuSn8iJi.js → vue-ui-sparkhistogram-D_ZvA5DH.js} +4 -4
  71. package/dist/{vue-ui-sparkline-CYJUhGaJ.js → vue-ui-sparkline-DQExYN7j.js} +3 -3
  72. package/dist/{vue-ui-sparkstackbar-BDQWVxNP.js → vue-ui-sparkstackbar-9ywYLwLc.js} +3 -3
  73. package/dist/{vue-ui-stackbar-B92-pzwh.js → vue-ui-stackbar-Cpf9GA_9.js} +406 -400
  74. package/dist/{vue-ui-strip-plot-BLTjzATL.js → vue-ui-strip-plot-Dd31-kf1.js} +7 -7
  75. package/dist/{vue-ui-table-Ba7Z_7OX.js → vue-ui-table-ChP6rjYz.js} +3 -3
  76. package/dist/{vue-ui-table-heatmap-C29u3mfg.js → vue-ui-table-heatmap-sp_8-q-v.js} +5 -5
  77. package/dist/{vue-ui-table-sparkline-BLR9glHo.js → vue-ui-table-sparkline-D04Usdos.js} +4 -4
  78. package/dist/{vue-ui-thermometer-BAm6l97t.js → vue-ui-thermometer-tp3Zjpbn.js} +6 -6
  79. package/dist/{vue-ui-timer-CqbbNnBk.js → vue-ui-timer-xVlYHzJH.js} +5 -5
  80. package/dist/{vue-ui-tiremarks-BnZr2Vrp.js → vue-ui-tiremarks-CkUbhFx0.js} +6 -6
  81. package/dist/{vue-ui-treemap-J8OANLCg.js → vue-ui-treemap-BpkTja9I.js} +8 -8
  82. package/dist/{vue-ui-vertical-bar-DdR3STYF.js → vue-ui-vertical-bar-CQ2y_LEJ.js} +9 -9
  83. package/dist/{vue-ui-waffle-w5VJA7gR.js → vue-ui-waffle-BzBS5B9r.js} +8 -8
  84. package/dist/{vue-ui-wheel-D5yea4oH.js → vue-ui-wheel-CEiRdkDJ.js} +6 -6
  85. package/dist/{vue-ui-word-cloud-OugLGxgB.js → vue-ui-word-cloud-h7iNtGpT.js} +6 -6
  86. package/dist/{vue-ui-world-BSptBo4h.js → vue-ui-world-D6iHt4w8.js} +6 -6
  87. package/dist/{vue-ui-xy-DnYo2K58.js → vue-ui-xy-BtOdpKQf.js} +12 -11
  88. package/dist/{vue-ui-xy-canvas-Cmn0RWbG.js → vue-ui-xy-canvas-BvrKpXv1.js} +8 -8
  89. package/package.json +1 -1
@@ -1,21 +1,21 @@
1
- import { defineAsyncComponent as D, computed as g, ref as r, toRefs as It, watch as pe, shallowRef as Xe, onMounted as Ft, onBeforeUnmount as je, watchEffect as Rt, nextTick as be, createElementBlock as i, openBlock as s, unref as u, normalizeStyle as me, normalizeClass as S, createBlock as N, createCommentVNode as p, createElementVNode as y, createVNode as Ye, createSlots as Ot, withCtx as x, renderSlot as m, normalizeProps as P, guardReactiveProps as V, Fragment as E, renderList as B, toDisplayString as Q, createTextVNode as Nt } from "vue";
2
- import { u as Pt, c as Vt, A as Et, a as Bt, C as Z, o as qe, e as M, D as Mt, v as X, f as L, X as Ut, w as ee, s as Wt, E as Je, q as Dt, r as Ht, x as Gt, y as Xt } from "./index-BeBasrrG.js";
3
- import { t as Ke, u as jt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Qe } from "./useNestedProp-BI69cynt.js";
5
- import { u as Yt } from "./usePrinter-DpTBVYGM.js";
6
- import { u as qt } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as Jt } from "./useChartAccessibility-9icAAmYg.js";
8
- import { u as Kt, B as Qt } from "./BaseScanner-DIK2NTdp.js";
9
- import Zt from "./Title-CbfJu3Bz.js";
10
- import { S as el } from "./Slicer-BCCGJwNV.js";
11
- import { u as tl } from "./useTimeLabels-DkzmKfZn.js";
12
- import ll from "./img-Domj-5hZ.js";
13
- import { u as al } from "./useTimeLabelCollider-CIsgDrl9.js";
14
- import { _ as ol } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "width", "height"], nl = { key: 1 }, rl = ["id"], vl = ["stop-color"], dl = ["stop-color"], yl = ["stop-color"], cl = ["id"], hl = ["stop-color"], fl = ["stop-color"], gl = ["stop-color"], pl = { key: 0 }, bl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ml = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], xl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], kl = ["x", "y", "font-size", "fill", "font-weight"], wl = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Al = ["transform", "text-anchor", "font-size", "fill", "font-weight"], _l = ["x", "y", "width", "height", "fill", "rx"], Cl = { key: 0 }, $l = ["cx", "cy", "r", "fill"], zl = ["cx", "cy", "r", "fill"], Sl = { key: 1 }, Ll = ["x", "y", "width", "height", "rx", "fill"], Tl = ["x", "y", "width", "height", "fill", "rx"], Il = ["x", "y", "height", "width", "fill", "rx"], Fl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Rl = ["x", "y", "height", "width", "fill", "onMouseover"], Ol = {
1
+ import { defineAsyncComponent as D, computed as g, ref as r, toRefs as Rt, watch as pe, shallowRef as Xe, onMounted as Ot, onBeforeUnmount as je, watchEffect as Nt, nextTick as be, createElementBlock as i, openBlock as s, unref as u, normalizeStyle as me, normalizeClass as S, createBlock as N, createCommentVNode as p, createElementVNode as y, createVNode as Ye, createSlots as Pt, withCtx as x, renderSlot as b, normalizeProps as P, guardReactiveProps as E, Fragment as V, renderList as B, toDisplayString as Q, createTextVNode as Et } from "vue";
2
+ import { u as Vt, c as Bt, A as Mt, a as Ut, C as Z, o as qe, e as M, D as Wt, v as X, f as L, X as Dt, w as ee, s as Ht, E as Je, q as Gt, r as Xt, x as jt, y as Yt } from "./index-Cy_OHCLi.js";
3
+ import { t as Ke, u as qt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Qe } from "./useNestedProp-Di0uuVL6.js";
5
+ import { u as Jt } from "./usePrinter-B3aBnAXo.js";
6
+ import { u as Kt } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as Qt } from "./useChartAccessibility-9icAAmYg.js";
8
+ import { u as Zt, B as el } from "./BaseScanner-DIK2NTdp.js";
9
+ import tl from "./Title-8eeSFss9.js";
10
+ import { S as ll } from "./Slicer-1-SaJZ80.js";
11
+ import { u as al } from "./useTimeLabels-DkzmKfZn.js";
12
+ import ol from "./img-czwmJka_.js";
13
+ import { u as sl } from "./useTimeLabelCollider-CIsgDrl9.js";
14
+ import { _ as ul } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "width", "height"], vl = { key: 1 }, dl = ["id"], cl = ["stop-color"], yl = ["stop-color"], hl = ["stop-color"], fl = ["id"], gl = ["stop-color"], pl = ["stop-color"], bl = ["stop-color"], ml = { key: 0 }, xl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], kl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Al = ["x", "y", "font-size", "fill", "font-weight"], _l = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Cl = ["transform", "text-anchor", "font-size", "fill", "font-weight"], $l = ["x", "y", "width", "height", "fill", "rx"], zl = { key: 0 }, Sl = ["cx", "cy", "r", "fill"], Ll = ["cx", "cy", "r", "fill"], Tl = { key: 1 }, Il = ["x", "y", "width", "height", "rx", "fill"], Fl = ["x", "y", "width", "height", "fill", "rx"], Rl = ["x", "y", "height", "width", "fill", "rx"], Ol = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Nl = ["x", "y", "height", "width", "fill", "onMouseover", "onMouseleave", "onClick"], Pl = {
16
16
  key: 4,
17
17
  class: "vue-data-ui-watermark"
18
- }, Nl = ["innerHTML"], Pl = {
18
+ }, El = ["innerHTML"], Vl = {
19
19
  __name: "vue-ui-candlestick",
20
20
  props: {
21
21
  config: {
@@ -32,13 +32,13 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
32
32
  }
33
33
  },
34
34
  setup(Ze, { expose: et }) {
35
- const tt = D(() => import("./vue-ui-accordion-BBZQktvS.js")), lt = D(() => import("./DataTable-DonNp9Tn.js")), at = D(() => import("./PackageVersion-F_KOshQ5.js")), ot = D(() => import("./PenAndPaper-BzsPyqiU.js")), st = D(() => import("./Tooltip-BuuVsO8D.js")), ut = D(() => import("./UserOptions-32osgWD2.js")), { vue_ui_candlestick: it } = Pt(), c = Ze, te = g(() => !!c.dataset && c.dataset.length), $ = r(!1), le = r(null), w = r(Vt()), nt = r(null), ae = r(!1), oe = r(""), se = r(void 0), xe = r(0), T = r(null), ke = r(null), we = r(null), Ae = r(null), _e = r(null), Ce = r(null), j = r(0), $e = r(0), ze = r(0), ue = r(null), H = r(null), e = r(re()), { loading: z, FINAL_DATASET: A, manualLoading: ie } = Kt({
36
- ...It(c),
35
+ const tt = D(() => import("./vue-ui-accordion-DJ7Cgx6-.js")), lt = D(() => import("./DataTable-BvgiQ2JE.js")), at = D(() => import("./PackageVersion-Bhohtzrj.js")), ot = D(() => import("./PenAndPaper-vCj1-UEY.js")), st = D(() => import("./Tooltip-C7HgI7vF.js")), ut = D(() => import("./UserOptions-Cxr0ZsfM.js")), { vue_ui_candlestick: it } = Vt(), h = Ze, te = g(() => !!h.dataset && h.dataset.length), $ = r(!1), le = r(null), w = r(Bt()), nt = r(null), ae = r(!1), oe = r(""), se = r(void 0), xe = r(0), T = r(null), ke = r(null), we = r(null), Ae = r(null), _e = r(null), Ce = r(null), j = r(0), $e = r(0), ze = r(0), ue = r(null), H = r(null), e = r(re()), { loading: z, FINAL_DATASET: A, manualLoading: ie } = Zt({
36
+ ...Rt(h),
37
37
  FINAL_CONFIG: e,
38
38
  prepareConfig: re,
39
39
  callback: () => {
40
40
  Promise.resolve().then(async () => {
41
- await ce();
41
+ await ye();
42
42
  });
43
43
  },
44
44
  skeletonDataset: [
@@ -55,7 +55,7 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
55
55
  [17304192e5, 890, 2330, 550, 1950, 3770],
56
56
  [17330112e5, 1440, 3770, 890, 3200, 5100]
57
57
  ],
58
- skeletonConfig: Et({
58
+ skeletonConfig: Mt({
59
59
  defaultConfig: e.value,
60
60
  userConfig: {
61
61
  useCssAnimation: !1,
@@ -96,24 +96,24 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
96
96
  }
97
97
  }
98
98
  })
99
- }), { userOptionsVisible: ne, setUserOptionsVisibility: Se, keepUserOptionState: Le } = qt({ config: e.value }), { svgRef: Te } = Jt({ config: e.value.style.title });
99
+ }), { userOptionsVisible: ne, setUserOptionsVisibility: Se, keepUserOptionState: Le } = Kt({ config: e.value }), { svgRef: Te } = Qt({ config: e.value.style.title });
100
100
  function re() {
101
101
  const t = Qe({
102
- userConfig: c.config,
102
+ userConfig: h.config,
103
103
  defaultConfig: it
104
104
  });
105
105
  let a = {};
106
106
  return t.theme ? a = {
107
107
  ...Qe({
108
- userConfig: Bt.vue_ui_candlestick[t.theme] || c.config,
108
+ userConfig: Ut.vue_ui_candlestick[t.theme] || h.config,
109
109
  defaultConfig: t
110
110
  })
111
- } : a = t, c.config && Z(c.config, "style.zoom.startIndex") ? a.style.zoom.startIndex = c.config.style.zoom.startIndex : a.style.zoom.startIndex = null, c.config && Z(c.config, "style.zoom.endIndex") ? a.style.zoom.endIndex = c.config.style.zoom.endIndex : a.style.zoom.endIndex = null, c.config && Z(c.config, "style.layout.grid.yAxis.scale.min") ? a.style.layout.grid.yAxis.scale.min = c.config.style.layout.grid.yAxis.scale.min : a.style.layout.grid.yAxis.scale.min = null, c.config && Z(c.config, "style.layout.grid.yAxis.scale.max") ? a.style.layout.grid.yAxis.scale.max = c.config.style.layout.grid.yAxis.scale.max : a.style.layout.grid.yAxis.scale.max = null, a;
111
+ } : a = t, h.config && Z(h.config, "style.zoom.startIndex") ? a.style.zoom.startIndex = h.config.style.zoom.startIndex : a.style.zoom.startIndex = null, h.config && Z(h.config, "style.zoom.endIndex") ? a.style.zoom.endIndex = h.config.style.zoom.endIndex : a.style.zoom.endIndex = null, h.config && Z(h.config, "style.layout.grid.yAxis.scale.min") ? a.style.layout.grid.yAxis.scale.min = h.config.style.layout.grid.yAxis.scale.min : a.style.layout.grid.yAxis.scale.min = null, h.config && Z(h.config, "style.layout.grid.yAxis.scale.max") ? a.style.layout.grid.yAxis.scale.max = h.config.style.layout.grid.yAxis.scale.max : a.style.layout.grid.yAxis.scale.max = null, a;
112
112
  }
113
- pe(() => c.config, (t) => {
113
+ pe(() => h.config, (t) => {
114
114
  z.value || (e.value = re()), ne.value = !e.value.userOptions.showOnChartHover, Ie(), j.value += 1, ze.value += 1, $e.value += 1, _.value.showTable = e.value.table.show, _.value.showTooltip = e.value.style.tooltip.show;
115
- }, { deep: !0 }), pe(() => c.dataset, (t) => {
116
- Array.isArray(t) && t.length > 0 && (ie.value = !1), h.value.start = 0, h.value.end = t.length, j.value += 1;
115
+ }, { deep: !0 }), pe(() => h.dataset, (t) => {
116
+ Array.isArray(t) && t.length > 0 && (ie.value = !1), c.value.start = 0, c.value.end = t.length, j.value += 1;
117
117
  }, { deep: !0 });
118
118
  const d = r({
119
119
  height: e.value.style.height,
@@ -121,21 +121,21 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
121
121
  xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
122
122
  yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
123
123
  }), I = Xe(null), U = Xe(null);
124
- Ft(() => {
124
+ Ot(() => {
125
125
  Ie();
126
126
  });
127
127
  const F = g(() => !!e.value.debug);
128
128
  function Ie() {
129
- if (qe(c.dataset) && (M({
129
+ if (qe(h.dataset) && (M({
130
130
  componentName: "VueUiCandlestick",
131
131
  type: "dataset",
132
132
  debug: F.value
133
- }), ie.value = !0), qe(c.dataset) || (ie.value = e.value.loading), setTimeout(() => {
133
+ }), ie.value = !0), qe(h.dataset) || (ie.value = e.value.loading), setTimeout(() => {
134
134
  $.value = !0;
135
135
  }, 10), e.value.responsive) {
136
136
  const a = Ke(() => {
137
137
  $.value = !1;
138
- const { width: l, height: o } = jt({
138
+ const { width: l, height: o } = qt({
139
139
  chart: T.value,
140
140
  title: e.value.style.title.text ? ke.value : null,
141
141
  slicer: Ae.value,
@@ -163,12 +163,12 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
163
163
  });
164
164
  I.value && (U.value && I.value.unobserve(U.value), I.value.disconnect()), I.value = new ResizeObserver(a), U.value = T.value.parentNode, I.value.observe(U.value);
165
165
  }
166
- ce();
166
+ ye();
167
167
  }
168
168
  je(() => {
169
169
  I.value && (U.value && I.value.unobserve(U.value), I.value.disconnect());
170
170
  });
171
- const { isPrinting: Fe, isImaging: Re, generatePdf: Oe, generateImage: Ne } = Yt({
171
+ const { isPrinting: Fe, isImaging: Re, generatePdf: Oe, generateImage: Ne } = Jt({
172
172
  elementId: `vue-ui-candlestick_${w.value}`,
173
173
  fileName: e.value.style.title.text || "vue-ui-candlestick",
174
174
  options: e.value.userOptions.print
@@ -178,7 +178,7 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
178
178
  }), ve = r(0), vt = Ke((t) => {
179
179
  ve.value = t;
180
180
  }, 100);
181
- Rt((t) => {
181
+ Nt((t) => {
182
182
  const a = H.value;
183
183
  if (!a) return;
184
184
  const l = new ResizeObserver((o) => {
@@ -194,28 +194,28 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
194
194
  });
195
195
  function dt() {
196
196
  let t = e.value.style.layout.grid.yAxis.dataLabels.offsetX;
197
- return ue.value && (t = Array.from(ue.value.querySelectorAll("text")).reduce((o, b) => {
198
- const f = b.getComputedTextLength();
197
+ return ue.value && (t = Array.from(ue.value.querySelectorAll("text")).reduce((o, m) => {
198
+ const f = m.getComputedTextLength();
199
199
  return f > o ? f : o;
200
200
  }, 0)), t + 13;
201
201
  }
202
202
  const n = g(() => {
203
- const { top: t, right: a, bottom: l, left: o } = e.value.style.layout.padding, b = dt(), f = 12;
203
+ const { top: t, right: a, bottom: l, left: o } = e.value.style.layout.padding, m = dt(), f = 12;
204
204
  return {
205
205
  top: t + f,
206
206
  right: d.value.width - a,
207
- left: o + b,
207
+ left: o + m,
208
208
  bottom: d.value.height - l - Pe.value,
209
- width: d.value.width - o - a - b,
209
+ width: d.value.width - o - a - m,
210
210
  height: d.value.height - t - l - Pe.value - f
211
211
  };
212
- }), G = g(() => A.value.length), h = r({
212
+ }), G = g(() => A.value.length), c = r({
213
213
  start: 0,
214
214
  end: G.value
215
- }), Ve = g(() => A.value.map((t, a) => ({
215
+ }), Ee = g(() => A.value.map((t, a) => ({
216
216
  ...t,
217
217
  absoluteIndex: a
218
- })).slice(h.value.start, h.value.end)), de = g(() => (A.value.forEach((t, a) => {
218
+ })).slice(c.value.start, c.value.end)), de = g(() => (A.value.forEach((t, a) => {
219
219
  [null, void 0].includes(t[0]) && M({
220
220
  componentName: "VueUiCandlestick",
221
221
  type: "datasetAttribute",
@@ -253,7 +253,7 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
253
253
  index: a,
254
254
  debug: F.value
255
255
  });
256
- }), Ve.value.map((t) => ({
256
+ }), Ee.value.map((t) => ({
257
257
  absoluteIndex: t.absoluteIndex,
258
258
  period: t[0],
259
259
  open: t[1],
@@ -261,13 +261,13 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
261
261
  low: t[3],
262
262
  last: t[4],
263
263
  volume: t[5]
264
- })))), v = g(() => n.value.width / Ve.value.length), Ee = g(() => {
264
+ })))), v = g(() => n.value.width / Ee.value.length), Ve = g(() => {
265
265
  const t = e.value.style.layout.grid.yAxis.scale.max === null ? Math.max(...de.value.map((l) => l.high)) : e.value.style.layout.grid.yAxis.scale.max, a = e.value.style.layout.grid.yAxis.scale.min === null ? 0 : e.value.style.layout.grid.yAxis.scale.min;
266
266
  return {
267
267
  max: t,
268
268
  min: a
269
269
  };
270
- }), C = g(() => Mt(Ee.value.min, Ee.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
270
+ }), C = g(() => Wt(Ve.value.min, Ve.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
271
271
  function Y(t, a) {
272
272
  return {
273
273
  ...t,
@@ -277,46 +277,52 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
277
277
  };
278
278
  }
279
279
  const k = g(() => de.value.map((t, a) => {
280
- const l = Y(t.open, a), o = Y(t.high, a), b = Y(t.low, a), f = Y(t.last, a), O = t.last > t.open;
280
+ const l = Y(t.open, a), o = Y(t.high, a), m = Y(t.low, a), f = Y(t.last, a), O = t.last > t.open;
281
281
  return {
282
282
  period: t.period,
283
283
  open: l,
284
284
  high: o,
285
- low: b,
285
+ low: m,
286
286
  last: f,
287
287
  volume: t.volume,
288
288
  isBullish: O,
289
289
  absoluteIndex: t.absoluteIndex
290
290
  };
291
291
  }));
292
- function yt(t) {
292
+ function ct(t) {
293
293
  return X((t - C.value.min) / (C.value.max - C.value.min));
294
294
  }
295
- const ct = g(() => C.value.ticks.map((t) => ({
296
- y: n.value.bottom - n.value.height * yt(t),
295
+ const yt = g(() => C.value.ticks.map((t) => ({
296
+ y: n.value.bottom - n.value.height * ct(t),
297
297
  value: X(t)
298
- }))), ht = g(() => de.value.map((t) => t.period)), R = g(() => tl({
298
+ }))), ht = g(() => de.value.map((t) => t.period)), R = g(() => al({
299
299
  values: A.value.map((t) => t[0]),
300
300
  maxDatapoints: A.value.length,
301
301
  formatter: e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
302
- start: h.value.start,
303
- end: h.value.end
302
+ start: c.value.start,
303
+ end: c.value.end
304
304
  })), Be = g(() => e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
305
- start: R.value.find((t) => t.absoluteIndex === h.value.start).text,
306
- end: R.value.find((t) => t.absoluteIndex === h.value.end - 1).text
305
+ start: R.value.find((t) => t.absoluteIndex === c.value.start).text,
306
+ end: R.value.find((t) => t.absoluteIndex === c.value.end - 1).text
307
307
  } : {
308
- start: A.value[h.value.start] ? A.value[h.value.start][0] : A.value[0][0],
309
- end: A.value[h.value.end - 1] ? A.value[h.value.end - 1][0] : A.value.at(-1)[0]
310
- }), ye = r(null);
308
+ start: A.value[c.value.start] ? A.value[c.value.start][0] : A.value[0][0],
309
+ end: A.value[c.value.end - 1] ? A.value[c.value.end - 1][0] : A.value.at(-1)[0]
310
+ }), ce = r(null);
311
311
  function ft(t, a) {
312
- se.value = t, ye.value = {
312
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: a, seriesIndex: t + c.value.start });
313
+ }
314
+ function gt(t, a) {
315
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: t + c.value.start }), se.value = void 0, ae.value = !1;
316
+ }
317
+ function pt(t, a) {
318
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: a, seriesIndex: t + c.value.start }), se.value = t, ce.value = {
313
319
  datapoint: a,
314
320
  seriesIndex: t,
315
321
  series: k.value,
316
322
  config: e.value
317
323
  };
318
324
  const l = e.value.style.tooltip.customFormat;
319
- if (Gt(l) && Xt(() => l({
325
+ if (jt(l) && Yt(() => l({
320
326
  seriesIndex: t,
321
327
  datapoint: a,
322
328
  series: k.value,
@@ -330,50 +336,50 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
330
336
  });
331
337
  else if (e.value.style.tooltip.show) {
332
338
  let o = "";
333
- const { period: b, open: f, high: O, low: fe, last: ge, volume: K, isBullish: Ge } = k.value[t], { period: Vl, open: kt, high: wt, low: At, last: _t, volume: Ct } = e.value.translations, $t = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? R.value[t].text : b;
339
+ const { period: m, open: f, high: O, low: fe, last: ge, volume: K, isBullish: Ge } = k.value[t], { period: Bl, open: At, high: _t, low: Ct, last: $t, volume: zt } = e.value.translations, St = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? R.value[t].text : m;
334
340
  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}"
335
- fill="${e.value.style.layout.candle.gradient.show ? Ge ? `url(#bullish_gradient_${w.value})` : `url(#bearish_gradient_${w.value})` : Ge ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${$t}</div>`, o += `${Ct} : <b>${isNaN(K) ? "-" : Number(K.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}">`;
336
- const zt = L({
341
+ fill="${e.value.style.layout.candle.gradient.show ? Ge ? `url(#bullish_gradient_${w.value})` : `url(#bearish_gradient_${w.value})` : Ge ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${St}</div>`, o += `${zt} : <b>${isNaN(K) ? "-" : Number(K.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}">`;
342
+ const Lt = L({
337
343
  p: e.value.style.tooltip.prefix,
338
344
  v: f.value,
339
345
  s: e.value.style.tooltip.suffix,
340
346
  r: e.value.style.tooltip.roundingValue
341
347
  });
342
- o += `<div>${kt}: <b>${zt}</b></div>`;
343
- const St = L({
348
+ o += `<div>${At}: <b>${Lt}</b></div>`;
349
+ const Tt = L({
344
350
  p: e.value.style.tooltip.prefix,
345
351
  v: O.value,
346
352
  s: e.value.style.tooltip.suffix,
347
353
  r: e.value.style.tooltip.roundingValue
348
354
  });
349
- o += `<div>${wt}: <b>${St}</b></div>`;
350
- const Lt = L({
355
+ o += `<div>${_t}: <b>${Tt}</b></div>`;
356
+ const It = L({
351
357
  p: e.value.style.tooltip.prefix,
352
358
  v: fe.value,
353
359
  s: e.value.style.tooltip.suffix,
354
360
  r: e.value.style.tooltip.roundingValue
355
361
  });
356
- o += `<div>${At}: <b>${Lt}</b></div>`;
357
- const Tt = L({
362
+ o += `<div>${Ct}: <b>${It}</b></div>`;
363
+ const Ft = L({
358
364
  p: e.value.style.tooltip.prefix,
359
365
  v: ge.value,
360
366
  s: e.value.style.tooltip.suffix,
361
367
  r: e.value.style.tooltip.roundingValue
362
368
  });
363
- o += `<div>${_t}: <b>${Tt}</b></div>`, o += "</div>", oe.value = `<div style="text-align:right">${o}</div>`;
369
+ o += `<div>${$t}: <b>${Ft}</b></div>`, o += "</div>", oe.value = `<div style="text-align:right">${o}</div>`;
364
370
  }
365
371
  ae.value = !0;
366
372
  }
367
- function gt() {
368
- ce();
373
+ function bt() {
374
+ ye();
369
375
  }
370
376
  const Me = r(null);
371
- async function ce() {
377
+ async function ye() {
372
378
  await be(), await be();
373
379
  const { startIndex: t, endIndex: a } = e.value.style.zoom, l = Me.value, o = G.value;
374
- (t != null || a != null) && l ? (t != null && l.setStartValue(t), a != null && l.setEndValue(pt(a + 1))) : (h.value = { start: 0, end: o }, j.value += 1);
380
+ (t != null || a != null) && l ? (t != null && l.setStartValue(t), a != null && l.setEndValue(mt(a + 1))) : (c.value = { start: 0, end: o }, j.value += 1);
375
381
  }
376
- function pt(t) {
382
+ function mt(t) {
377
383
  const a = G.value;
378
384
  return t > a ? a : t < 0 || e.value.style.zoom.startIndex !== null && t < e.value.style.zoom.startIndex ? e.value.style.zoom.startIndex !== null ? e.value.style.zoom.startIndex + 1 : 1 : t;
379
385
  }
@@ -386,13 +392,13 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
386
392
  f.low.value,
387
393
  f.last.value,
388
394
  f.volume
389
- ]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(l), b = Dt(o);
390
- t ? t(b) : Ht({ csvContent: b, title: e.value.style.title.text || "vue-ui-candlestick" });
395
+ ]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(l), m = Gt(o);
396
+ t ? t(m) : Xt({ csvContent: m, title: e.value.style.title.text || "vue-ui-candlestick" });
391
397
  });
392
398
  }
393
399
  const q = g(() => {
394
- const t = k.value.map((o, b) => {
395
- const f = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? R.value[b].text : o.period, O = L({
400
+ const t = k.value.map((o, m) => {
401
+ const f = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? R.value[m].text : o.period, O = L({
396
402
  p: e.value.table.td.prefix,
397
403
  v: o.open.value,
398
404
  s: e.value.table.td.suffix,
@@ -456,11 +462,11 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
456
462
  function he() {
457
463
  J.value = !J.value;
458
464
  }
459
- async function bt({ scale: t = 2 } = {}) {
465
+ async function xt({ scale: t = 2 } = {}) {
460
466
  if (!T.value) return;
461
- const { width: a, height: l } = T.value.getBoundingClientRect(), o = a / l, { imageUri: b, base64: f } = await ll({ domElement: T.value, base64: !0, img: !0, scale: t });
467
+ const { width: a, height: l } = T.value.getBoundingClientRect(), o = a / l, { imageUri: m, base64: f } = await ol({ domElement: T.value, base64: !0, img: !0, scale: t });
462
468
  return {
463
- imageUri: b,
469
+ imageUri: m,
464
470
  base64: f,
465
471
  title: e.value.style.title.text,
466
472
  width: a,
@@ -468,24 +474,24 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
468
474
  aspectRatio: o
469
475
  };
470
476
  }
471
- const mt = g(() => d.value.width), xt = g(() => d.value.height);
472
- return al({
477
+ const kt = g(() => d.value.width), wt = g(() => d.value.height);
478
+ return sl({
473
479
  timeLabelsEls: H,
474
480
  timeLabels: R,
475
- slicer: h,
481
+ slicer: c,
476
482
  configRef: e,
477
483
  rotationPath: ["style", "layout", "grid", "xAxis", "dataLabels", "rotation"],
478
484
  autoRotatePath: ["style", "layout", "grid", "xAxis", "dataLabels", "autoRotate"],
479
485
  isAutoSize: !1,
480
- width: mt,
481
- height: xt
486
+ width: kt,
487
+ height: wt
482
488
  }), pe(e, () => {
483
489
  _.value = {
484
490
  showTable: e.value.table.show,
485
491
  showTooltip: e.value.style.tooltip.show
486
492
  };
487
493
  }, { immediate: !0 }), et({
488
- getImage: bt,
494
+ getImage: xt,
489
495
  generatePdf: Oe,
490
496
  generateCsv: Ue,
491
497
  generateImage: Ne,
@@ -499,8 +505,8 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
499
505
  class: S(`vue-ui-candlestick ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
500
506
  style: me(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
501
507
  id: `vue-ui-candlestick_${w.value}`,
502
- onMouseenter: a[4] || (a[4] = () => u(Se)(!0)),
503
- onMouseleave: a[5] || (a[5] = () => u(Se)(!1))
508
+ onMouseenter: a[3] || (a[3] = () => u(Se)(!0)),
509
+ onMouseleave: a[4] || (a[4] = () => u(Se)(!1))
504
510
  }, [
505
511
  e.value.userOptions.buttons.annotator ? (s(), N(u(ot), {
506
512
  key: 0,
@@ -523,7 +529,7 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
523
529
  ref: ke,
524
530
  style: "width:100%;background:transparent"
525
531
  }, [
526
- (s(), N(Zt, {
532
+ (s(), N(tl, {
527
533
  key: `title_${ze.value}`,
528
534
  config: {
529
535
  title: {
@@ -571,60 +577,60 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
571
577
  style: me({
572
578
  visibility: u(Le) ? u(ne) ? "visible" : "hidden" : "visible"
573
579
  })
574
- }, Ot({ _: 2 }, [
580
+ }, Pt({ _: 2 }, [
575
581
  t.$slots.menuIcon ? {
576
582
  name: "menuIcon",
577
583
  fn: x(({ isOpen: l, color: o }) => [
578
- m(t.$slots, "menuIcon", P(V({ isOpen: l, color: o })), void 0, !0)
584
+ b(t.$slots, "menuIcon", P(E({ isOpen: l, color: o })), void 0, !0)
579
585
  ]),
580
586
  key: "0"
581
587
  } : void 0,
582
588
  t.$slots.optionTooltip ? {
583
589
  name: "optionTooltip",
584
590
  fn: x(() => [
585
- m(t.$slots, "optionTooltip", {}, void 0, !0)
591
+ b(t.$slots, "optionTooltip", {}, void 0, !0)
586
592
  ]),
587
593
  key: "1"
588
594
  } : void 0,
589
595
  t.$slots.optionPdf ? {
590
596
  name: "optionPdf",
591
597
  fn: x(() => [
592
- m(t.$slots, "optionPdf", {}, void 0, !0)
598
+ b(t.$slots, "optionPdf", {}, void 0, !0)
593
599
  ]),
594
600
  key: "2"
595
601
  } : void 0,
596
602
  t.$slots.optionCsv ? {
597
603
  name: "optionCsv",
598
604
  fn: x(() => [
599
- m(t.$slots, "optionCsv", {}, void 0, !0)
605
+ b(t.$slots, "optionCsv", {}, void 0, !0)
600
606
  ]),
601
607
  key: "3"
602
608
  } : void 0,
603
609
  t.$slots.optionImg ? {
604
610
  name: "optionImg",
605
611
  fn: x(() => [
606
- m(t.$slots, "optionImg", {}, void 0, !0)
612
+ b(t.$slots, "optionImg", {}, void 0, !0)
607
613
  ]),
608
614
  key: "4"
609
615
  } : void 0,
610
616
  t.$slots.optionTable ? {
611
617
  name: "optionTable",
612
618
  fn: x(() => [
613
- m(t.$slots, "optionTable", {}, void 0, !0)
619
+ b(t.$slots, "optionTable", {}, void 0, !0)
614
620
  ]),
615
621
  key: "5"
616
622
  } : void 0,
617
623
  t.$slots.optionFullscreen ? {
618
624
  name: "optionFullscreen",
619
625
  fn: x(({ toggleFullscreen: l, isFullscreen: o }) => [
620
- m(t.$slots, "optionFullscreen", P(V({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
626
+ b(t.$slots, "optionFullscreen", P(E({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
621
627
  ]),
622
628
  key: "6"
623
629
  } : void 0,
624
630
  t.$slots.optionAnnotator ? {
625
631
  name: "optionAnnotator",
626
632
  fn: x(({ toggleAnnotator: l, isAnnotator: o }) => [
627
- m(t.$slots, "optionAnnotator", P(V({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
633
+ b(t.$slots, "optionAnnotator", P(E({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
628
634
  ]),
629
635
  key: "7"
630
636
  } : void 0
@@ -632,7 +638,7 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
632
638
  (s(), i("svg", {
633
639
  ref_key: "svgRef",
634
640
  ref: Te,
635
- xmlns: u(Ut),
641
+ xmlns: u(Dt),
636
642
  "aria-label": e.value.style.title.text || "candlestick chart",
637
643
  class: S({ "vue-data-ui-fullscreen--on": W.value, "vue-data-ui-fulscreen--off": !W.value }),
638
644
  viewBox: `0 0 ${d.value.width <= 0 ? 10 : d.value.width} ${d.value.height <= 0 ? 10 : d.value.height}`,
@@ -649,9 +655,9 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
649
655
  pointerEvents: "none"
650
656
  }
651
657
  }, [
652
- m(t.$slots, "chart-background", {}, void 0, !0)
653
- ], 8, il)) : p("", !0),
654
- k.value.length > 0 ? (s(), i("g", nl, [
658
+ b(t.$slots, "chart-background", {}, void 0, !0)
659
+ ], 8, rl)) : p("", !0),
660
+ k.value.length > 0 ? (s(), i("g", vl, [
655
661
  y("defs", null, [
656
662
  y("linearGradient", {
657
663
  id: `bearish_gradient_${w.value}`,
@@ -661,16 +667,16 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
661
667
  y("stop", {
662
668
  offset: "0%",
663
669
  "stop-color": e.value.style.layout.candle.colors.bearish
664
- }, null, 8, vl),
670
+ }, null, 8, cl),
665
671
  y("stop", {
666
672
  offset: "50%",
667
673
  "stop-color": `${u(ee)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
668
- }, null, 8, dl),
674
+ }, null, 8, yl),
669
675
  y("stop", {
670
676
  offset: "100%",
671
677
  "stop-color": `${u(ee)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
672
- }, null, 8, yl)
673
- ], 8, rl),
678
+ }, null, 8, hl)
679
+ ], 8, dl),
674
680
  y("linearGradient", {
675
681
  id: `bullish_gradient_${w.value}`,
676
682
  x2: "0%",
@@ -679,18 +685,18 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
679
685
  y("stop", {
680
686
  offset: "0%",
681
687
  "stop-color": e.value.style.layout.candle.colors.bullish
682
- }, null, 8, hl),
688
+ }, null, 8, gl),
683
689
  y("stop", {
684
690
  offset: "50%",
685
691
  "stop-color": `${u(ee)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
686
- }, null, 8, fl),
692
+ }, null, 8, pl),
687
693
  y("stop", {
688
694
  offset: "100%",
689
695
  "stop-color": `${u(ee)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
690
- }, null, 8, gl)
691
- ], 8, cl)
696
+ }, null, 8, bl)
697
+ ], 8, fl)
692
698
  ]),
693
- e.value.style.layout.grid.show ? (s(), i("g", pl, [
699
+ e.value.style.layout.grid.show ? (s(), i("g", ml, [
694
700
  y("line", {
695
701
  x1: n.value.left,
696
702
  x2: n.value.left,
@@ -699,7 +705,7 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
699
705
  stroke: e.value.style.layout.grid.stroke,
700
706
  "stroke-width": e.value.style.layout.grid.strokeWidth,
701
707
  "stroke-linecap": "round"
702
- }, null, 8, bl),
708
+ }, null, 8, xl),
703
709
  y("line", {
704
710
  x1: n.value.left,
705
711
  x2: n.value.right,
@@ -708,14 +714,14 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
708
714
  stroke: e.value.style.layout.grid.stroke,
709
715
  "stroke-width": e.value.style.layout.grid.strokeWidth,
710
716
  "stroke-linecap": "round"
711
- }, null, 8, ml)
717
+ }, null, 8, kl)
712
718
  ])) : p("", !0),
713
719
  e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), i("g", {
714
720
  key: 1,
715
721
  ref_key: "scaleLabels",
716
722
  ref: ue
717
723
  }, [
718
- (s(!0), i(E, null, B(ct.value, (l, o) => (s(), i("g", null, [
724
+ (s(!0), i(V, null, B(yt.value, (l, o) => (s(), i("g", null, [
719
725
  l.value >= C.value.min && l.value <= C.value.max ? (s(), i("line", {
720
726
  key: 0,
721
727
  x1: n.value.left,
@@ -725,7 +731,7 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
725
731
  stroke: e.value.style.layout.grid.stroke,
726
732
  "stroke-width": e.value.style.layout.grid.strokeWidth,
727
733
  "stroke-linecap": "round"
728
- }, null, 8, xl)) : p("", !0),
734
+ }, null, 8, wl)) : p("", !0),
729
735
  l.value >= C.value.min && l.value <= C.value.max ? (s(), i("text", {
730
736
  key: 1,
731
737
  x: n.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
@@ -739,7 +745,7 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
739
745
  v: l.value,
740
746
  s: e.value.style.layout.grid.yAxis.dataLabels.suffix,
741
747
  r: e.value.style.layout.grid.yAxis.dataLabels.roundingValue
742
- })), 9, kl)) : p("", !0)
748
+ })), 9, Al)) : p("", !0)
743
749
  ]))), 256))
744
750
  ], 512)) : p("", !0),
745
751
  e.value.style.layout.grid.xAxis.dataLabels.show && !e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), i("g", {
@@ -747,7 +753,7 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
747
753
  ref_key: "timeLabelsEls",
748
754
  ref: H
749
755
  }, [
750
- (s(!0), i(E, null, B(ht.value, (l, o) => (s(), i("g", null, [
756
+ (s(!0), i(V, null, B(ht.value, (l, o) => (s(), i("g", null, [
751
757
  y("text", {
752
758
  class: "vue-data-ui-time-label",
753
759
  transform: `translate(${n.value.left + v.value * o + v.value / 2}, ${n.value.bottom + d.value.xAxisFontSize * 1.5}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
@@ -755,7 +761,7 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
755
761
  "font-size": d.value.xAxisFontSize,
756
762
  fill: e.value.style.layout.grid.xAxis.dataLabels.color,
757
763
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
758
- }, Q(l), 9, wl)
764
+ }, Q(l), 9, _l)
759
765
  ]))), 256))
760
766
  ], 512)) : p("", !0),
761
767
  e.value.style.layout.grid.xAxis.dataLabels.show && e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), i("g", {
@@ -763,7 +769,7 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
763
769
  ref_key: "timeLabelsEls",
764
770
  ref: H
765
771
  }, [
766
- (s(!0), i(E, null, B(R.value, (l, o) => (s(), i("g", null, [
772
+ (s(!0), i(V, null, B(R.value, (l, o) => (s(), i("g", null, [
767
773
  y("text", {
768
774
  class: "vue-data-ui-time-label",
769
775
  transform: `translate(${n.value.left + v.value * o + v.value / 2}, ${n.value.bottom + d.value.xAxisFontSize * 1.5}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
@@ -771,11 +777,11 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
771
777
  "font-size": d.value.xAxisFontSize,
772
778
  fill: e.value.style.layout.grid.xAxis.dataLabels.color,
773
779
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
774
- }, Q(l.text), 9, Al)
780
+ }, Q(l.text), 9, Cl)
775
781
  ]))), 256))
776
782
  ], 512)) : p("", !0),
777
783
  y("g", null, [
778
- (s(!0), i(E, null, B(k.value, (l, o) => (s(), i("g", null, [
784
+ (s(!0), i(V, null, B(k.value, (l, o) => (s(), i("g", null, [
779
785
  y("rect", {
780
786
  x: l.open.x - e.value.style.layout.wick.strokeWidth / 2,
781
787
  y: l.high.y,
@@ -785,24 +791,24 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
785
791
  stroke: "none",
786
792
  rx: e.value.style.layout.wick.strokeWidth / 2,
787
793
  class: S({ "vue-data-ui-transition": $.value && !u(z) })
788
- }, null, 10, _l),
789
- e.value.style.layout.wick.extremity.shape === "circle" ? (s(), i("g", Cl, [
794
+ }, null, 10, $l),
795
+ e.value.style.layout.wick.extremity.shape === "circle" ? (s(), i("g", zl, [
790
796
  y("circle", {
791
797
  cx: l.high.x,
792
798
  cy: l.high.y,
793
799
  r: e.value.style.layout.wick.extremity.size === "auto" ? v.value / 20 : e.value.style.layout.wick.extremity.size,
794
800
  fill: e.value.style.layout.wick.extremity.color,
795
801
  class: S({ "vue-data-ui-transition": $.value && !u(z) })
796
- }, null, 10, $l),
802
+ }, null, 10, Sl),
797
803
  y("circle", {
798
804
  cx: l.low.x,
799
805
  cy: l.low.y,
800
806
  r: e.value.style.layout.wick.extremity.size === "auto" ? v.value / 20 : e.value.style.layout.wick.extremity.size,
801
807
  fill: e.value.style.layout.wick.extremity.color,
802
808
  class: S({ "vue-data-ui-transition": $.value && !u(z) })
803
- }, null, 10, zl)
809
+ }, null, 10, Ll)
804
810
  ])) : p("", !0),
805
- e.value.style.layout.wick.extremity.shape === "line" ? (s(), i("g", Sl, [
811
+ e.value.style.layout.wick.extremity.shape === "line" ? (s(), i("g", Tl, [
806
812
  y("rect", {
807
813
  x: l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ? v.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
808
814
  y: l.high.y - e.value.style.layout.wick.strokeWidth / 2,
@@ -812,7 +818,7 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
812
818
  fill: e.value.style.layout.wick.extremity.color,
813
819
  stroke: "none",
814
820
  class: S({ "vue-data-ui-transition": $.value && !u(z) })
815
- }, null, 10, Ll),
821
+ }, null, 10, Il),
816
822
  y("rect", {
817
823
  x: l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ? v.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
818
824
  y: l.low.y - e.value.style.layout.wick.strokeWidth / 2,
@@ -822,12 +828,12 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
822
828
  stroke: "none",
823
829
  rx: e.value.style.layout.wick.strokeWidth / 2,
824
830
  class: S({ "vue-data-ui-transition": $.value && !u(z) })
825
- }, null, 10, Tl)
831
+ }, null, 10, Fl)
826
832
  ])) : p("", !0)
827
833
  ]))), 256))
828
834
  ]),
829
835
  y("g", null, [
830
- (s(!0), i(E, null, B(k.value, (l, o) => (s(), i("rect", {
836
+ (s(!0), i(V, null, B(k.value, (l, o) => (s(), i("rect", {
831
837
  x: l.open.x - v.value / 2 + v.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
832
838
  y: l.isBullish ? l.last.y : l.open.y,
833
839
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
@@ -836,8 +842,8 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
836
842
  rx: e.value.style.layout.candle.borderRadius,
837
843
  stroke: "none",
838
844
  class: S({ "vue-data-ui-transition": $.value && !u(z) })
839
- }, null, 10, Il))), 256)),
840
- (s(!0), i(E, null, B(k.value, (l, o) => (s(), i("rect", {
845
+ }, null, 10, Rl))), 256)),
846
+ (s(!0), i(V, null, B(k.value, (l, o) => (s(), i("rect", {
841
847
  x: l.open.x - v.value / 2 + v.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
842
848
  y: l.isBullish ? l.last.y : l.open.y,
843
849
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
@@ -849,33 +855,32 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
849
855
  "stroke-linecap": "round",
850
856
  "stroke-linejoin": "round",
851
857
  class: S({ "vue-data-ui-transition": $.value && !u(z) })
852
- }, null, 10, Fl))), 256))
858
+ }, null, 10, Ol))), 256))
853
859
  ]),
854
860
  y("g", null, [
855
- (s(!0), i(E, null, B(k.value, (l, o) => (s(), i("rect", {
861
+ (s(!0), i(V, null, B(k.value, (l, o) => (s(), i("rect", {
856
862
  x: n.value.left + o * v.value,
857
863
  y: n.value.top,
858
864
  height: n.value.height <= 0 ? 1e-4 : n.value.height,
859
865
  width: v.value <= 0 ? 1e-4 : v.value,
860
- fill: se.value === o ? u(Wt)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
861
- onMouseover: (b) => ft(o, l),
862
- onMouseleave: a[0] || (a[0] = (b) => {
863
- se.value = void 0, ae.value = !1;
864
- })
865
- }, null, 40, Rl))), 256))
866
+ fill: se.value === o ? u(Ht)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
867
+ onMouseover: () => pt(o, l),
868
+ onMouseleave: () => gt(o, l),
869
+ onClick: () => ft(o, l)
870
+ }, null, 40, Nl))), 256))
866
871
  ])
867
872
  ])) : p("", !0),
868
- m(t.$slots, "svg", { svg: d.value }, void 0, !0)
869
- ], 14, ul)),
870
- t.$slots.watermark ? (s(), i("div", Ol, [
871
- m(t.$slots, "watermark", P(V({ isPrinting: u(Fe) || u(Re) })), void 0, !0)
873
+ b(t.$slots, "svg", { svg: d.value }, void 0, !0)
874
+ ], 14, nl)),
875
+ t.$slots.watermark ? (s(), i("div", Pl, [
876
+ b(t.$slots, "watermark", P(E({ isPrinting: u(Fe) || u(Re) })), void 0, !0)
872
877
  ])) : p("", !0),
873
878
  e.value.style.zoom.show && te.value ? (s(), i("div", {
874
879
  key: 5,
875
880
  ref_key: "chartSlicer",
876
881
  ref: Ae
877
882
  }, [
878
- (s(), N(el, {
883
+ (s(), N(ll, {
879
884
  ref_key: "slicerComponent",
880
885
  ref: Me,
881
886
  key: `slicer_${j.value}`,
@@ -890,20 +895,20 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
890
895
  selectColor: e.value.style.zoom.highlightColor,
891
896
  max: G.value,
892
897
  min: 0,
893
- valueStart: h.value.start,
894
- valueEnd: h.value.end,
895
- start: h.value.start,
896
- "onUpdate:start": a[1] || (a[1] = (l) => h.value.start = l),
897
- end: h.value.end,
898
- "onUpdate:end": a[2] || (a[2] = (l) => h.value.end = l),
898
+ valueStart: c.value.start,
899
+ valueEnd: c.value.end,
900
+ start: c.value.start,
901
+ "onUpdate:start": a[0] || (a[0] = (l) => c.value.start = l),
902
+ end: c.value.end,
903
+ "onUpdate:end": a[1] || (a[1] = (l) => c.value.end = l),
899
904
  refreshStartPoint: e.value.style.zoom.startIndex !== null ? e.value.style.zoom.startIndex : 0,
900
905
  refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : G.value,
901
906
  enableRangeHandles: e.value.style.zoom.enableRangeHandles,
902
907
  enableSelectionDrag: e.value.style.zoom.enableSelectionDrag,
903
- onReset: gt
908
+ onReset: bt
904
909
  }, {
905
910
  "reset-action": x(({ reset: l }) => [
906
- m(t.$slots, "reset-action", P(V({ reset: l })), void 0, !0)
911
+ b(t.$slots, "reset-action", P(E({ reset: l })), void 0, !0)
907
912
  ]),
908
913
  _: 3
909
914
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"]))
@@ -912,7 +917,7 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
912
917
  ref_key: "chartLegend",
913
918
  ref: we
914
919
  }, [
915
- m(t.$slots, "legend", { legend: k.value }, void 0, !0)
920
+ b(t.$slots, "legend", { legend: k.value }, void 0, !0)
916
921
  ], 512),
917
922
  t.$slots.source ? (s(), i("div", {
918
923
  key: 6,
@@ -920,7 +925,7 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
920
925
  ref: _e,
921
926
  dir: "auto"
922
927
  }, [
923
- m(t.$slots, "source", {}, void 0, !0)
928
+ b(t.$slots, "source", {}, void 0, !0)
924
929
  ], 512)) : p("", !0),
925
930
  Ye(u(st), {
926
931
  show: _.value.showTooltip && ae.value,
@@ -941,10 +946,10 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
941
946
  backdropFilter: e.value.style.tooltip.backdropFilter
942
947
  }, {
943
948
  "tooltip-before": x(() => [
944
- m(t.$slots, "tooltip-before", P(V({ ...ye.value })), void 0, !0)
949
+ b(t.$slots, "tooltip-before", P(E({ ...ce.value })), void 0, !0)
945
950
  ]),
946
951
  "tooltip-after": x(() => [
947
- m(t.$slots, "tooltip-after", P(V({ ...ye.value })), void 0, !0)
952
+ b(t.$slots, "tooltip-after", P(E({ ...ce.value })), void 0, !0)
948
953
  ]),
949
954
  _: 3
950
955
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
@@ -972,23 +977,23 @@ const sl = ["id"], ul = ["xmlns", "aria-label", "viewBox"], il = ["x", "y", "wid
972
977
  body: q.value.body,
973
978
  config: q.value.config,
974
979
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
975
- onClose: a[3] || (a[3] = (l) => _.value.showTable = !1)
980
+ onClose: a[2] || (a[2] = (l) => _.value.showTable = !1)
976
981
  }, {
977
982
  th: x(({ th: l }) => [
978
- Nt(Q(l), 1)
983
+ Et(Q(l), 1)
979
984
  ]),
980
985
  td: x(({ td: l }) => [
981
- y("div", { innerHTML: l }, null, 8, Nl)
986
+ y("div", { innerHTML: l }, null, 8, El)
982
987
  ]),
983
988
  _: 1
984
989
  }, 8, ["colNames", "head", "body", "config", "title"]))
985
990
  ]),
986
991
  _: 1
987
992
  }, 8, ["config"])) : p("", !0),
988
- u(z) ? (s(), N(Qt, { key: 8 })) : p("", !0)
989
- ], 46, sl));
993
+ u(z) ? (s(), N(el, { key: 8 })) : p("", !0)
994
+ ], 46, il));
990
995
  }
991
- }, Ql = /* @__PURE__ */ ol(Pl, [["__scopeId", "data-v-035e586e"]]);
996
+ }, ea = /* @__PURE__ */ ul(Vl, [["__scopeId", "data-v-3f824beb"]]);
992
997
  export {
993
- Ql as default
998
+ ea as default
994
999
  };