vue-data-ui 3.0.0-next.33 → 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 (92) hide show
  1. package/dist/{Arrow-VgHimrRb.js → Arrow-9U-UjNas.js} +1 -1
  2. package/dist/{BaseDraggableDialog-S80pCP_z.js → BaseDraggableDialog-CdaQDDs0.js} +2 -2
  3. package/dist/{BaseIcon-CVvwtj-w.js → BaseIcon-DB8UP3sU.js} +1 -1
  4. package/dist/{ColorPicker-DhGMsdlx.js → ColorPicker-Cb3SgjWM.js} +2 -2
  5. package/dist/{DataTable-CQqQt3fP.js → DataTable-BvgiQ2JE.js} +2 -2
  6. package/dist/{Legend-DAN5L1lo.js → Legend-DBh56vdD.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-s0PFQNll.js → NonSvgPenAndPaper-fHaJC-dl.js} +3 -3
  8. package/dist/{PackageVersion-DGlLBQOn.js → PackageVersion-Bhohtzrj.js} +1 -1
  9. package/dist/{PenAndPaper-hAK7vneq.js → PenAndPaper-vCj1-UEY.js} +3 -3
  10. package/dist/{Shape-CjeprST6.js → Shape-D2E4CMoi.js} +1 -1
  11. package/dist/{Slicer-8WIL9Cfq.js → Slicer-1-SaJZ80.js} +2 -2
  12. package/dist/{SparkTooltip-DeTWOnTg.js → SparkTooltip-CE4BUH-_.js} +1 -1
  13. package/dist/{Title-Bo-MVYcn.js → Title-8eeSFss9.js} +1 -1
  14. package/dist/{Tooltip-DD9Ly0Pw.js → Tooltip-C7HgI7vF.js} +1 -1
  15. package/dist/{UserOptions-dJLhbxrH.js → UserOptions-Cxr0ZsfM.js} +2 -2
  16. package/dist/{dom-to-png-CjNOdM-6.js → dom-to-png-DDW5fRWT.js} +1 -1
  17. package/dist/{img-59KgIaXp.js → img-czwmJka_.js} +1 -1
  18. package/dist/{index-h6tbqLot.js → index-Cy_OHCLi.js} +700 -660
  19. package/dist/{pdf-CVKcemYx.js → pdf-BLIP6Yoc.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +46 -8
  22. package/dist/types/vue-data-ui.d.ts +46 -8
  23. package/dist/{useNestedProp-D059IOwh.js → useNestedProp-Di0uuVL6.js} +1 -1
  24. package/dist/{usePrinter-BuJDNOzF.js → usePrinter-B3aBnAXo.js} +2 -2
  25. package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
  26. package/dist/{vue-data-ui-CnP-8qvV.js → vue-data-ui-C8hTMkHA.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-2BDo53CG.js → vue-ui-3d-bar-BybaBB_P.js} +6 -6
  29. package/dist/{vue-ui-accordion-DyBJ-mad.js → vue-ui-accordion-DJ7Cgx6-.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-DlD9Y8xr.js → vue-ui-age-pyramid-DPuw31_r.js} +6 -6
  31. package/dist/{vue-ui-annotator-BoWAUlmS.js → vue-ui-annotator-BRVlhEK2.js} +2 -2
  32. package/dist/{vue-ui-bullet-CfUFHtlX.js → vue-ui-bullet-4NYyyaH9.js} +7 -7
  33. package/dist/{vue-ui-candlestick-DDS8WYxh.js → vue-ui-candlestick-DEYGVnYY.js} +230 -222
  34. package/dist/{vue-ui-carousel-table-D2xngvtB.js → vue-ui-carousel-table-DBV6s3lm.js} +4 -4
  35. package/dist/{vue-ui-chestnut-D1pWQozg.js → vue-ui-chestnut-EngIIDHp.js} +5 -5
  36. package/dist/{vue-ui-chord-DEK-Wk7B.js → vue-ui-chord-B0lIgdaA.js} +8 -8
  37. package/dist/{vue-ui-circle-pack-CeykLpx8.js → vue-ui-circle-pack-D2_7Q03M.js} +6 -6
  38. package/dist/{vue-ui-cursor-D86Y-gg1.js → vue-ui-cursor-B8W8SBMh.js} +2 -2
  39. package/dist/{vue-ui-dashboard-CwWcub4O.js → vue-ui-dashboard-R18RfpNq.js} +62 -62
  40. package/dist/{vue-ui-digits-CBD1fasp.js → vue-ui-digits-lDDMeEMg.js} +2 -2
  41. package/dist/{vue-ui-donut-DzM857Mw.js → vue-ui-donut-C0QxZHSs.js} +8 -8
  42. package/dist/{vue-ui-donut-evolution-BPTk5wKW.js → vue-ui-donut-evolution-DMuOgr00.js} +307 -304
  43. package/dist/{vue-ui-dumbbell-Dqm2btrM.js → vue-ui-dumbbell-BoehGkow.js} +7 -7
  44. package/dist/{vue-ui-flow-C-JgLHsh.js → vue-ui-flow-CMpJ4VNW.js} +7 -7
  45. package/dist/{vue-ui-funnel-Dm3aCwVL.js → vue-ui-funnel-V-ep0uRk.js} +6 -6
  46. package/dist/{vue-ui-galaxy-siSx2yn6.js → vue-ui-galaxy-5_UI4rRC.js} +5 -5
  47. package/dist/{vue-ui-gauge-BgIR1PlQ.js → vue-ui-gauge-DuPPfpX8.js} +6 -6
  48. package/dist/{vue-ui-gizmo-CPIlfu1s.js → vue-ui-gizmo-DC0_MhU8.js} +3 -3
  49. package/dist/vue-ui-heatmap-Du7CgmK0.js +1084 -0
  50. package/dist/{vue-ui-history-plot-DOWu_0wY.js → vue-ui-history-plot-DUAojY09.js} +7 -7
  51. package/dist/{vue-ui-kpi-BqGvPVuE.js → vue-ui-kpi-DFqD1V27.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-C3RV5-mc.js → vue-ui-mini-loader-Dhx_wzdm.js} +2 -2
  53. package/dist/{vue-ui-molecule-DsMfjmG0.js → vue-ui-molecule-F69F6eYS.js} +5 -5
  54. package/dist/{vue-ui-mood-radar-CRWVJjIb.js → vue-ui-mood-radar-Bx-4k7jY.js} +7 -7
  55. package/dist/{vue-ui-nested-donuts-D5gnJmVK.js → vue-ui-nested-donuts-BVeoZkgI.js} +9 -9
  56. package/dist/{vue-ui-onion-D1qHQTBl.js → vue-ui-onion-DHYlAXM7.js} +7 -7
  57. package/dist/{vue-ui-parallel-coordinate-plot-BnAveZOI.js → vue-ui-parallel-coordinate-plot-N5KtznHX.js} +8 -8
  58. package/dist/{vue-ui-quadrant-B7Lqriri.js → vue-ui-quadrant-BsQ8O9e6.js} +8 -8
  59. package/dist/{vue-ui-quick-chart-CvQRgbKq.js → vue-ui-quick-chart-Bocy5d7r.js} +6 -6
  60. package/dist/{vue-ui-radar-D494eivm.js → vue-ui-radar-ByUt1ys9.js} +7 -7
  61. package/dist/{vue-ui-rating-CTHYICJA.js → vue-ui-rating-C1KpOoZF.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-DMtH5ofd.js → vue-ui-relation-circle-Bw-A49Ol.js} +6 -6
  63. package/dist/{vue-ui-ridgeline-BiDnGLX5.js → vue-ui-ridgeline-g9JYjIcs.js} +11 -9
  64. package/dist/{vue-ui-rings-DXGyAl3y.js → vue-ui-rings-D4-dAblw.js} +8 -8
  65. package/dist/{vue-ui-scatter-Ds7sncxR.js → vue-ui-scatter-Ese_ubEo.js} +8 -8
  66. package/dist/{vue-ui-skeleton-DIJ5u0HF.js → vue-ui-skeleton-DGCSWS6R.js} +3 -3
  67. package/dist/{vue-ui-smiley-Dyhet6zb.js → vue-ui-smiley-D-2kksbm.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-rhXFuApA.js → vue-ui-spark-trend-x900EpiA.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-COfmi6KI.js → vue-ui-sparkbar-t47Lq5jH.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-DJOsuPG-.js → vue-ui-sparkgauge-T8iByZV1.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-DV3KR-q5.js → vue-ui-sparkhistogram-D_ZvA5DH.js} +4 -4
  72. package/dist/{vue-ui-sparkline-kf86uahK.js → vue-ui-sparkline-DQExYN7j.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-DPpQkxUm.js → vue-ui-sparkstackbar-9ywYLwLc.js} +3 -3
  74. package/dist/{vue-ui-stackbar-CASe4O-t.js → vue-ui-stackbar-Cpf9GA_9.js} +455 -446
  75. package/dist/{vue-ui-strip-plot-DRfNBQ9A.js → vue-ui-strip-plot-Dd31-kf1.js} +7 -7
  76. package/dist/{vue-ui-table-Cg422ltc.js → vue-ui-table-ChP6rjYz.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-BCDOpShn.js → vue-ui-table-heatmap-sp_8-q-v.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-MtUkhn2K.js → vue-ui-table-sparkline-D04Usdos.js} +4 -4
  79. package/dist/{vue-ui-thermometer-Bz4qJzLC.js → vue-ui-thermometer-tp3Zjpbn.js} +6 -6
  80. package/dist/{vue-ui-timer-Da3hWBUk.js → vue-ui-timer-xVlYHzJH.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-Bafaf_gE.js → vue-ui-tiremarks-CkUbhFx0.js} +6 -6
  82. package/dist/{vue-ui-treemap-CSQjMeIP.js → vue-ui-treemap-BpkTja9I.js} +8 -8
  83. package/dist/{vue-ui-vertical-bar-tLYgt_Pg.js → vue-ui-vertical-bar-CQ2y_LEJ.js} +9 -9
  84. package/dist/{vue-ui-waffle-ir_3LGj_.js → vue-ui-waffle-BzBS5B9r.js} +8 -8
  85. package/dist/{vue-ui-wheel-bDEJ_vBc.js → vue-ui-wheel-CEiRdkDJ.js} +6 -6
  86. package/dist/{vue-ui-word-cloud-BLQ-MfCc.js → vue-ui-word-cloud-h7iNtGpT.js} +6 -6
  87. package/dist/{vue-ui-world-_IoWGh3p.js → vue-ui-world-D6iHt4w8.js} +6 -6
  88. package/dist/{vue-ui-xy-dnlLx-v4.js → vue-ui-xy-BtOdpKQf.js} +58 -55
  89. package/dist/{vue-ui-xy-canvas-DDRJMmPT.js → vue-ui-xy-canvas-BvrKpXv1.js} +8 -8
  90. package/package.json +1 -1
  91. package/dist/useTimeLabelCollider-V7AOiPLB.js +0 -71
  92. package/dist/vue-ui-heatmap-D_8NEANa.js +0 -881
@@ -1,21 +1,21 @@
1
- import { defineAsyncComponent as D, computed as b, ref as r, toRefs as Lt, watch as pe, shallowRef as Xe, onMounted as Tt, onBeforeUnmount as je, watchEffect as It, nextTick as be, createElementBlock as i, openBlock as s, unref as u, normalizeStyle as me, normalizeClass as S, createBlock as N, createCommentVNode as g, createElementVNode as d, createVNode as Ye, createSlots as Ft, withCtx as x, renderSlot as m, normalizeProps as P, guardReactiveProps as V, Fragment as E, renderList as B, toDisplayString as Q, createTextVNode as Rt } from "vue";
2
- import { u as Ot, c as Nt, A as Pt, a as Vt, C as Z, o as qe, e as M, D as Et, v as X, f as L, X as Bt, w as ee, s as Mt, E as Je, q as Ut, r as Wt, x as Dt, y as Ht } from "./index-h6tbqLot.js";
3
- import { t as Ke, u as Gt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Qe } from "./useNestedProp-D059IOwh.js";
5
- import { u as Xt } from "./usePrinter-BuJDNOzF.js";
6
- import { u as jt } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as Yt } from "./useChartAccessibility-9icAAmYg.js";
8
- import { u as qt, B as Jt } from "./BaseScanner-DIK2NTdp.js";
9
- import Kt from "./Title-Bo-MVYcn.js";
10
- import { S as Qt } from "./Slicer-8WIL9Cfq.js";
11
- import { u as Zt } from "./useTimeLabels-DkzmKfZn.js";
12
- import el from "./img-59KgIaXp.js";
13
- import { u as tl } from "./useTimeLabelCollider-V7AOiPLB.js";
14
- import { _ as ll } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "width", "height"], ul = { key: 1 }, il = ["id"], nl = ["stop-color"], rl = ["stop-color"], vl = ["stop-color"], dl = ["id"], yl = ["stop-color"], cl = ["stop-color"], hl = ["stop-color"], fl = { key: 0 }, gl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], bl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ml = ["x", "y", "font-size", "fill", "font-weight"], xl = ["transform", "text-anchor", "font-size", "fill", "font-weight"], kl = ["transform", "text-anchor", "font-size", "fill", "font-weight"], wl = ["x", "y", "width", "height", "fill", "rx"], Al = { key: 0 }, _l = ["cx", "cy", "r", "fill"], Cl = ["cx", "cy", "r", "fill"], $l = { key: 1 }, zl = ["x", "y", "width", "height", "rx", "fill"], Sl = ["x", "y", "width", "height", "fill", "rx"], Ll = ["x", "y", "height", "width", "fill", "rx"], Tl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Il = ["x", "y", "height", "width", "fill", "onMouseover"], Fl = {
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
- }, Rl = ["innerHTML"], Ol = {
18
+ }, El = ["innerHTML"], Vl = {
19
19
  __name: "vue-ui-candlestick",
20
20
  props: {
21
21
  config: {
@@ -32,13 +32,13 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
32
32
  }
33
33
  },
34
34
  setup(Ze, { expose: et }) {
35
- const tt = D(() => import("./vue-ui-accordion-DyBJ-mad.js")), lt = D(() => import("./DataTable-CQqQt3fP.js")), at = D(() => import("./PackageVersion-DGlLBQOn.js")), ot = D(() => import("./PenAndPaper-hAK7vneq.js")), st = D(() => import("./Tooltip-DD9Ly0Pw.js")), ut = D(() => import("./UserOptions-dJLhbxrH.js")), { vue_ui_candlestick: it } = Ot(), c = Ze, te = b(() => !!c.dataset && c.dataset.length), $ = r(!1), le = r(null), w = r(Nt()), 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 } = qt({
36
- ...Lt(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 al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
55
55
  [17304192e5, 890, 2330, 550, 1950, 3770],
56
56
  [17330112e5, 1440, 3770, 890, 3200, 5100]
57
57
  ],
58
- skeletonConfig: Pt({
58
+ skeletonConfig: Mt({
59
59
  defaultConfig: e.value,
60
60
  userConfig: {
61
61
  useCssAnimation: !1,
@@ -96,46 +96,46 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
96
96
  }
97
97
  }
98
98
  })
99
- }), { userOptionsVisible: ne, setUserOptionsVisibility: Se, keepUserOptionState: Le } = jt({ config: e.value }), { svgRef: Te } = Yt({ 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: Vt.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
- const y = r({
118
+ const d = r({
119
119
  height: e.value.style.height,
120
120
  width: e.value.style.width,
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
- Tt(() => {
124
+ Ot(() => {
125
125
  Ie();
126
126
  });
127
- const F = b(() => !!e.value.debug);
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 } = Gt({
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,
@@ -144,41 +144,41 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
144
144
  noTitle: Ce.value
145
145
  });
146
146
  requestAnimationFrame(() => {
147
- y.value.width = l, y.value.height = o - 12, e.value.responsiveProportionalSizing ? (y.value.xAxisFontSize = Je({
147
+ d.value.width = l, d.value.height = o - 12, e.value.responsiveProportionalSizing ? (d.value.xAxisFontSize = Je({
148
148
  relator: Math.min(l, o),
149
149
  adjuster: e.value.style.width,
150
150
  source: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
151
151
  threshold: 6,
152
152
  fallback: 6
153
- }), y.value.yAxisFontSize = Je({
153
+ }), d.value.yAxisFontSize = Je({
154
154
  relator: Math.min(l, o),
155
155
  adjuster: e.value.style.width,
156
156
  source: e.value.style.layout.grid.yAxis.dataLabels.fontSize,
157
157
  threshold: 6,
158
158
  fallback: 6
159
- })) : (y.value.xAxisFontSize = e.value.style.layout.grid.xAxis.dataLabels.fontSize, y.value.yAxisFontSize = e.value.style.layout.grid.yAxis.dataLabels.fontSize), le.value && clearTimeout(le.value), le.value = setTimeout(() => {
159
+ })) : (d.value.xAxisFontSize = e.value.style.layout.grid.xAxis.dataLabels.fontSize, d.value.yAxisFontSize = e.value.style.layout.grid.yAxis.dataLabels.fontSize), le.value && clearTimeout(le.value), le.value = setTimeout(() => {
160
160
  $.value = !0;
161
161
  }, 10);
162
162
  });
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 } = Xt({
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
175
- }), rt = b(() => e.value.userOptions.show && !e.value.style.title.text), _ = r({
175
+ }), rt = g(() => e.value.userOptions.show && !e.value.style.title.text), _ = r({
176
176
  showTable: e.value.table.show,
177
177
  showTooltip: e.value.style.tooltip.show
178
178
  }), ve = r(0), vt = Ke((t) => {
179
179
  ve.value = t;
180
180
  }, 100);
181
- It((t) => {
181
+ Nt((t) => {
182
182
  const a = H.value;
183
183
  if (!a) return;
184
184
  const l = new ResizeObserver((o) => {
@@ -188,34 +188,34 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
188
188
  }), je(() => {
189
189
  ve.value = 0;
190
190
  });
191
- const Pe = b(() => {
191
+ const Pe = g(() => {
192
192
  let t = 0;
193
- return H.value && (t = ve.value + y.value.xAxisFontSize), t;
193
+ return H.value && (t = ve.value + d.value.xAxisFontSize), t;
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, p) => {
198
- const f = p.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
- const n = b(() => {
203
- const { top: t, right: a, bottom: l, left: o } = e.value.style.layout.padding, p = dt(), f = 12;
202
+ const n = g(() => {
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
- right: y.value.width - a,
207
- left: o + p,
208
- bottom: y.value.height - l - Pe.value,
209
- width: y.value.width - o - a - p,
210
- height: y.value.height - t - l - Pe.value - f
206
+ right: d.value.width - a,
207
+ left: o + m,
208
+ bottom: d.value.height - l - Pe.value,
209
+ width: d.value.width - o - a - m,
210
+ height: d.value.height - t - l - Pe.value - f
211
211
  };
212
- }), G = b(() => A.value.length), h = r({
212
+ }), G = g(() => A.value.length), c = r({
213
213
  start: 0,
214
214
  end: G.value
215
- }), Ve = b(() => 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 = b(() => (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 al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["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 al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
261
261
  low: t[3],
262
262
  last: t[4],
263
263
  volume: t[5]
264
- })))), v = b(() => n.value.width / Ve.value.length), Ee = b(() => {
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 = b(() => Et(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,
@@ -276,47 +276,53 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
276
276
  value: X(t)
277
277
  };
278
278
  }
279
- const k = b(() => de.value.map((t, a) => {
280
- const l = Y(t.open, a), o = Y(t.high, a), p = Y(t.low, a), f = Y(t.last, a), O = t.last > t.open;
279
+ const k = g(() => de.value.map((t, a) => {
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: p,
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 = b(() => 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 = b(() => de.value.map((t) => t.period)), R = b(() => Zt({
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
304
- })), Be = b(() => 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
302
+ start: c.value.start,
303
+ end: c.value.end
304
+ })), Be = g(() => e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
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 (Dt(l) && Ht(() => 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 al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
330
336
  });
331
337
  else if (e.value.style.tooltip.show) {
332
338
  let o = "";
333
- const { period: p, open: f, high: O, low: fe, last: ge, volume: K, isBullish: Ge } = k.value[t], { period: Nl, open: mt, high: xt, low: kt, last: wt, volume: At } = e.value.translations, _t = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? R.value[t].text : p;
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 += `${At} : <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 Ct = 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>${mt}: <b>${Ct}</b></div>`;
343
- const $t = 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>${xt}: <b>${$t}</b></div>`;
350
- const zt = 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>${kt}: <b>${zt}</b></div>`;
357
- const St = 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>${wt}: <b>${St}</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 al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["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), p = Ut(o);
390
- t ? t(p) : Wt({ csvContent: p, 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
- const q = b(() => {
394
- const t = k.value.map((o, p) => {
395
- const f = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? R.value[p].text : o.period, O = L({
399
+ const q = g(() => {
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 al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["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: p, base64: f } = await el({ 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: p,
469
+ imageUri: m,
464
470
  base64: f,
465
471
  title: e.value.style.title.text,
466
472
  width: a,
@@ -468,21 +474,24 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
468
474
  aspectRatio: o
469
475
  };
470
476
  }
471
- return tl({
477
+ const kt = g(() => d.value.width), wt = g(() => d.value.height);
478
+ return sl({
472
479
  timeLabelsEls: H,
473
480
  timeLabels: R,
474
- slicer: h,
481
+ slicer: c,
475
482
  configRef: e,
476
483
  rotationPath: ["style", "layout", "grid", "xAxis", "dataLabels", "rotation"],
477
484
  autoRotatePath: ["style", "layout", "grid", "xAxis", "dataLabels", "autoRotate"],
478
- isAutoSize: !1
485
+ isAutoSize: !1,
486
+ width: kt,
487
+ height: wt
479
488
  }), pe(e, () => {
480
489
  _.value = {
481
490
  showTable: e.value.table.show,
482
491
  showTooltip: e.value.style.tooltip.show
483
492
  };
484
493
  }, { immediate: !0 }), et({
485
- getImage: bt,
494
+ getImage: xt,
486
495
  generatePdf: Oe,
487
496
  generateCsv: Ue,
488
497
  generateImage: Ne,
@@ -496,8 +505,8 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
496
505
  class: S(`vue-ui-candlestick ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
497
506
  style: me(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
498
507
  id: `vue-ui-candlestick_${w.value}`,
499
- onMouseenter: a[4] || (a[4] = () => u(Se)(!0)),
500
- 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))
501
510
  }, [
502
511
  e.value.userOptions.buttons.annotator ? (s(), N(u(ot), {
503
512
  key: 0,
@@ -506,21 +515,21 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
506
515
  color: e.value.style.color,
507
516
  active: J.value,
508
517
  onClose: he
509
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
518
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : p("", !0),
510
519
  rt.value ? (s(), i("div", {
511
520
  key: 1,
512
521
  ref_key: "noTitle",
513
522
  ref: Ce,
514
523
  class: "vue-data-ui-no-title-space",
515
524
  style: "height:36px; width: 100%;background:transparent"
516
- }, null, 512)) : g("", !0),
525
+ }, null, 512)) : p("", !0),
517
526
  e.value.style.title.text ? (s(), i("div", {
518
527
  key: 2,
519
528
  ref_key: "chartTitle",
520
529
  ref: ke,
521
530
  style: "width:100%;background:transparent"
522
531
  }, [
523
- (s(), N(Kt, {
532
+ (s(), N(tl, {
524
533
  key: `title_${ze.value}`,
525
534
  config: {
526
535
  title: {
@@ -533,7 +542,7 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
533
542
  }
534
543
  }
535
544
  }, null, 8, ["config"]))
536
- ], 512)) : g("", !0),
545
+ ], 512)) : p("", !0),
537
546
  e.value.userOptions.show && te.value && (u(Le) || u(ne)) ? (s(), N(u(ut), {
538
547
  ref_key: "details",
539
548
  ref: nt,
@@ -568,71 +577,71 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
568
577
  style: me({
569
578
  visibility: u(Le) ? u(ne) ? "visible" : "hidden" : "visible"
570
579
  })
571
- }, Ft({ _: 2 }, [
580
+ }, Pt({ _: 2 }, [
572
581
  t.$slots.menuIcon ? {
573
582
  name: "menuIcon",
574
583
  fn: x(({ isOpen: l, color: o }) => [
575
- 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)
576
585
  ]),
577
586
  key: "0"
578
587
  } : void 0,
579
588
  t.$slots.optionTooltip ? {
580
589
  name: "optionTooltip",
581
590
  fn: x(() => [
582
- m(t.$slots, "optionTooltip", {}, void 0, !0)
591
+ b(t.$slots, "optionTooltip", {}, void 0, !0)
583
592
  ]),
584
593
  key: "1"
585
594
  } : void 0,
586
595
  t.$slots.optionPdf ? {
587
596
  name: "optionPdf",
588
597
  fn: x(() => [
589
- m(t.$slots, "optionPdf", {}, void 0, !0)
598
+ b(t.$slots, "optionPdf", {}, void 0, !0)
590
599
  ]),
591
600
  key: "2"
592
601
  } : void 0,
593
602
  t.$slots.optionCsv ? {
594
603
  name: "optionCsv",
595
604
  fn: x(() => [
596
- m(t.$slots, "optionCsv", {}, void 0, !0)
605
+ b(t.$slots, "optionCsv", {}, void 0, !0)
597
606
  ]),
598
607
  key: "3"
599
608
  } : void 0,
600
609
  t.$slots.optionImg ? {
601
610
  name: "optionImg",
602
611
  fn: x(() => [
603
- m(t.$slots, "optionImg", {}, void 0, !0)
612
+ b(t.$slots, "optionImg", {}, void 0, !0)
604
613
  ]),
605
614
  key: "4"
606
615
  } : void 0,
607
616
  t.$slots.optionTable ? {
608
617
  name: "optionTable",
609
618
  fn: x(() => [
610
- m(t.$slots, "optionTable", {}, void 0, !0)
619
+ b(t.$slots, "optionTable", {}, void 0, !0)
611
620
  ]),
612
621
  key: "5"
613
622
  } : void 0,
614
623
  t.$slots.optionFullscreen ? {
615
624
  name: "optionFullscreen",
616
625
  fn: x(({ toggleFullscreen: l, isFullscreen: o }) => [
617
- 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)
618
627
  ]),
619
628
  key: "6"
620
629
  } : void 0,
621
630
  t.$slots.optionAnnotator ? {
622
631
  name: "optionAnnotator",
623
632
  fn: x(({ toggleAnnotator: l, isAnnotator: o }) => [
624
- 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)
625
634
  ]),
626
635
  key: "7"
627
636
  } : void 0
628
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
637
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : p("", !0),
629
638
  (s(), i("svg", {
630
639
  ref_key: "svgRef",
631
640
  ref: Te,
632
- xmlns: u(Bt),
641
+ xmlns: u(Dt),
633
642
  "aria-label": e.value.style.title.text || "candlestick chart",
634
643
  class: S({ "vue-data-ui-fullscreen--on": W.value, "vue-data-ui-fulscreen--off": !W.value }),
635
- viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${y.value.height <= 0 ? 10 : y.value.height}`,
644
+ viewBox: `0 0 ${d.value.width <= 0 ? 10 : d.value.width} ${d.value.height <= 0 ? 10 : d.value.height}`,
636
645
  style: me(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
637
646
  }, [
638
647
  Ye(u(at)),
@@ -646,49 +655,49 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
646
655
  pointerEvents: "none"
647
656
  }
648
657
  }, [
649
- m(t.$slots, "chart-background", {}, void 0, !0)
650
- ], 8, sl)) : g("", !0),
651
- k.value.length > 0 ? (s(), i("g", ul, [
652
- d("defs", null, [
653
- d("linearGradient", {
658
+ b(t.$slots, "chart-background", {}, void 0, !0)
659
+ ], 8, rl)) : p("", !0),
660
+ k.value.length > 0 ? (s(), i("g", vl, [
661
+ y("defs", null, [
662
+ y("linearGradient", {
654
663
  id: `bearish_gradient_${w.value}`,
655
664
  x2: "0%",
656
665
  y2: "100%"
657
666
  }, [
658
- d("stop", {
667
+ y("stop", {
659
668
  offset: "0%",
660
669
  "stop-color": e.value.style.layout.candle.colors.bearish
661
- }, null, 8, nl),
662
- d("stop", {
670
+ }, null, 8, cl),
671
+ y("stop", {
663
672
  offset: "50%",
664
673
  "stop-color": `${u(ee)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
665
- }, null, 8, rl),
666
- d("stop", {
674
+ }, null, 8, yl),
675
+ y("stop", {
667
676
  offset: "100%",
668
677
  "stop-color": `${u(ee)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
669
- }, null, 8, vl)
670
- ], 8, il),
671
- d("linearGradient", {
678
+ }, null, 8, hl)
679
+ ], 8, dl),
680
+ y("linearGradient", {
672
681
  id: `bullish_gradient_${w.value}`,
673
682
  x2: "0%",
674
683
  y2: "100%"
675
684
  }, [
676
- d("stop", {
685
+ y("stop", {
677
686
  offset: "0%",
678
687
  "stop-color": e.value.style.layout.candle.colors.bullish
679
- }, null, 8, yl),
680
- d("stop", {
688
+ }, null, 8, gl),
689
+ y("stop", {
681
690
  offset: "50%",
682
691
  "stop-color": `${u(ee)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
683
- }, null, 8, cl),
684
- d("stop", {
692
+ }, null, 8, pl),
693
+ y("stop", {
685
694
  offset: "100%",
686
695
  "stop-color": `${u(ee)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
687
- }, null, 8, hl)
688
- ], 8, dl)
696
+ }, null, 8, bl)
697
+ ], 8, fl)
689
698
  ]),
690
- e.value.style.layout.grid.show ? (s(), i("g", fl, [
691
- d("line", {
699
+ e.value.style.layout.grid.show ? (s(), i("g", ml, [
700
+ y("line", {
692
701
  x1: n.value.left,
693
702
  x2: n.value.left,
694
703
  y1: n.value.top,
@@ -696,8 +705,8 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
696
705
  stroke: e.value.style.layout.grid.stroke,
697
706
  "stroke-width": e.value.style.layout.grid.strokeWidth,
698
707
  "stroke-linecap": "round"
699
- }, null, 8, gl),
700
- d("line", {
708
+ }, null, 8, xl),
709
+ y("line", {
701
710
  x1: n.value.left,
702
711
  x2: n.value.right,
703
712
  y1: n.value.bottom,
@@ -705,14 +714,14 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
705
714
  stroke: e.value.style.layout.grid.stroke,
706
715
  "stroke-width": e.value.style.layout.grid.strokeWidth,
707
716
  "stroke-linecap": "round"
708
- }, null, 8, pl)
709
- ])) : g("", !0),
717
+ }, null, 8, kl)
718
+ ])) : p("", !0),
710
719
  e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), i("g", {
711
720
  key: 1,
712
721
  ref_key: "scaleLabels",
713
722
  ref: ue
714
723
  }, [
715
- (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, [
716
725
  l.value >= C.value.min && l.value <= C.value.max ? (s(), i("line", {
717
726
  key: 0,
718
727
  x1: n.value.left,
@@ -722,12 +731,12 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
722
731
  stroke: e.value.style.layout.grid.stroke,
723
732
  "stroke-width": e.value.style.layout.grid.strokeWidth,
724
733
  "stroke-linecap": "round"
725
- }, null, 8, bl)) : g("", !0),
734
+ }, null, 8, wl)) : p("", !0),
726
735
  l.value >= C.value.min && l.value <= C.value.max ? (s(), i("text", {
727
736
  key: 1,
728
737
  x: n.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
729
- y: l.y + y.value.yAxisFontSize / 3,
730
- "font-size": y.value.yAxisFontSize,
738
+ y: l.y + d.value.yAxisFontSize / 3,
739
+ "font-size": d.value.yAxisFontSize,
731
740
  "text-anchor": "end",
732
741
  fill: e.value.style.layout.grid.yAxis.dataLabels.color,
733
742
  "font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
@@ -736,44 +745,44 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
736
745
  v: l.value,
737
746
  s: e.value.style.layout.grid.yAxis.dataLabels.suffix,
738
747
  r: e.value.style.layout.grid.yAxis.dataLabels.roundingValue
739
- })), 9, ml)) : g("", !0)
748
+ })), 9, Al)) : p("", !0)
740
749
  ]))), 256))
741
- ], 512)) : g("", !0),
750
+ ], 512)) : p("", !0),
742
751
  e.value.style.layout.grid.xAxis.dataLabels.show && !e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), i("g", {
743
752
  key: 2,
744
753
  ref_key: "timeLabelsEls",
745
754
  ref: H
746
755
  }, [
747
- (s(!0), i(E, null, B(ht.value, (l, o) => (s(), i("g", null, [
748
- d("text", {
756
+ (s(!0), i(V, null, B(ht.value, (l, o) => (s(), i("g", null, [
757
+ y("text", {
749
758
  class: "vue-data-ui-time-label",
750
- transform: `translate(${n.value.left + v.value * o + v.value / 2}, ${n.value.bottom + y.value.xAxisFontSize * 1.5}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
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})`,
751
760
  "text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
752
- "font-size": y.value.xAxisFontSize,
761
+ "font-size": d.value.xAxisFontSize,
753
762
  fill: e.value.style.layout.grid.xAxis.dataLabels.color,
754
763
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
755
- }, Q(l), 9, xl)
764
+ }, Q(l), 9, _l)
756
765
  ]))), 256))
757
- ], 512)) : g("", !0),
766
+ ], 512)) : p("", !0),
758
767
  e.value.style.layout.grid.xAxis.dataLabels.show && e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), i("g", {
759
768
  key: 3,
760
769
  ref_key: "timeLabelsEls",
761
770
  ref: H
762
771
  }, [
763
- (s(!0), i(E, null, B(R.value, (l, o) => (s(), i("g", null, [
764
- d("text", {
772
+ (s(!0), i(V, null, B(R.value, (l, o) => (s(), i("g", null, [
773
+ y("text", {
765
774
  class: "vue-data-ui-time-label",
766
- transform: `translate(${n.value.left + v.value * o + v.value / 2}, ${n.value.bottom + y.value.xAxisFontSize * 1.5}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
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})`,
767
776
  "text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
768
- "font-size": y.value.xAxisFontSize,
777
+ "font-size": d.value.xAxisFontSize,
769
778
  fill: e.value.style.layout.grid.xAxis.dataLabels.color,
770
779
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
771
- }, Q(l.text), 9, kl)
780
+ }, Q(l.text), 9, Cl)
772
781
  ]))), 256))
773
- ], 512)) : g("", !0),
774
- d("g", null, [
775
- (s(!0), i(E, null, B(k.value, (l, o) => (s(), i("g", null, [
776
- d("rect", {
782
+ ], 512)) : p("", !0),
783
+ y("g", null, [
784
+ (s(!0), i(V, null, B(k.value, (l, o) => (s(), i("g", null, [
785
+ y("rect", {
777
786
  x: l.open.x - e.value.style.layout.wick.strokeWidth / 2,
778
787
  y: l.high.y,
779
788
  width: e.value.style.layout.wick.strokeWidth,
@@ -782,25 +791,25 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
782
791
  stroke: "none",
783
792
  rx: e.value.style.layout.wick.strokeWidth / 2,
784
793
  class: S({ "vue-data-ui-transition": $.value && !u(z) })
785
- }, null, 10, wl),
786
- e.value.style.layout.wick.extremity.shape === "circle" ? (s(), i("g", Al, [
787
- d("circle", {
794
+ }, null, 10, $l),
795
+ e.value.style.layout.wick.extremity.shape === "circle" ? (s(), i("g", zl, [
796
+ y("circle", {
788
797
  cx: l.high.x,
789
798
  cy: l.high.y,
790
799
  r: e.value.style.layout.wick.extremity.size === "auto" ? v.value / 20 : e.value.style.layout.wick.extremity.size,
791
800
  fill: e.value.style.layout.wick.extremity.color,
792
801
  class: S({ "vue-data-ui-transition": $.value && !u(z) })
793
- }, null, 10, _l),
794
- d("circle", {
802
+ }, null, 10, Sl),
803
+ y("circle", {
795
804
  cx: l.low.x,
796
805
  cy: l.low.y,
797
806
  r: e.value.style.layout.wick.extremity.size === "auto" ? v.value / 20 : e.value.style.layout.wick.extremity.size,
798
807
  fill: e.value.style.layout.wick.extremity.color,
799
808
  class: S({ "vue-data-ui-transition": $.value && !u(z) })
800
- }, null, 10, Cl)
801
- ])) : g("", !0),
802
- e.value.style.layout.wick.extremity.shape === "line" ? (s(), i("g", $l, [
803
- d("rect", {
809
+ }, null, 10, Ll)
810
+ ])) : p("", !0),
811
+ e.value.style.layout.wick.extremity.shape === "line" ? (s(), i("g", Tl, [
812
+ y("rect", {
804
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,
805
814
  y: l.high.y - e.value.style.layout.wick.strokeWidth / 2,
806
815
  width: Math.abs(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 - (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)),
@@ -809,8 +818,8 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
809
818
  fill: e.value.style.layout.wick.extremity.color,
810
819
  stroke: "none",
811
820
  class: S({ "vue-data-ui-transition": $.value && !u(z) })
812
- }, null, 10, zl),
813
- d("rect", {
821
+ }, null, 10, Il),
822
+ y("rect", {
814
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,
815
824
  y: l.low.y - e.value.style.layout.wick.strokeWidth / 2,
816
825
  width: Math.abs(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 - (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)),
@@ -819,12 +828,12 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
819
828
  stroke: "none",
820
829
  rx: e.value.style.layout.wick.strokeWidth / 2,
821
830
  class: S({ "vue-data-ui-transition": $.value && !u(z) })
822
- }, null, 10, Sl)
823
- ])) : g("", !0)
831
+ }, null, 10, Fl)
832
+ ])) : p("", !0)
824
833
  ]))), 256))
825
834
  ]),
826
- d("g", null, [
827
- (s(!0), i(E, null, B(k.value, (l, o) => (s(), i("rect", {
835
+ y("g", null, [
836
+ (s(!0), i(V, null, B(k.value, (l, o) => (s(), i("rect", {
828
837
  x: l.open.x - v.value / 2 + v.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
829
838
  y: l.isBullish ? l.last.y : l.open.y,
830
839
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
@@ -833,8 +842,8 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
833
842
  rx: e.value.style.layout.candle.borderRadius,
834
843
  stroke: "none",
835
844
  class: S({ "vue-data-ui-transition": $.value && !u(z) })
836
- }, null, 10, Ll))), 256)),
837
- (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", {
838
847
  x: l.open.x - v.value / 2 + v.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
839
848
  y: l.isBullish ? l.last.y : l.open.y,
840
849
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
@@ -846,33 +855,32 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
846
855
  "stroke-linecap": "round",
847
856
  "stroke-linejoin": "round",
848
857
  class: S({ "vue-data-ui-transition": $.value && !u(z) })
849
- }, null, 10, Tl))), 256))
858
+ }, null, 10, Ol))), 256))
850
859
  ]),
851
- d("g", null, [
852
- (s(!0), i(E, null, B(k.value, (l, o) => (s(), i("rect", {
860
+ y("g", null, [
861
+ (s(!0), i(V, null, B(k.value, (l, o) => (s(), i("rect", {
853
862
  x: n.value.left + o * v.value,
854
863
  y: n.value.top,
855
864
  height: n.value.height <= 0 ? 1e-4 : n.value.height,
856
865
  width: v.value <= 0 ? 1e-4 : v.value,
857
- fill: se.value === o ? u(Mt)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
858
- onMouseover: (p) => ft(o, l),
859
- onMouseleave: a[0] || (a[0] = (p) => {
860
- se.value = void 0, ae.value = !1;
861
- })
862
- }, null, 40, Il))), 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))
863
871
  ])
864
- ])) : g("", !0),
865
- m(t.$slots, "svg", { svg: y.value }, void 0, !0)
866
- ], 14, ol)),
867
- t.$slots.watermark ? (s(), i("div", Fl, [
868
- m(t.$slots, "watermark", P(V({ isPrinting: u(Fe) || u(Re) })), void 0, !0)
869
- ])) : g("", !0),
872
+ ])) : p("", !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)
877
+ ])) : p("", !0),
870
878
  e.value.style.zoom.show && te.value ? (s(), i("div", {
871
879
  key: 5,
872
880
  ref_key: "chartSlicer",
873
881
  ref: Ae
874
882
  }, [
875
- (s(), N(Qt, {
883
+ (s(), N(ll, {
876
884
  ref_key: "slicerComponent",
877
885
  ref: Me,
878
886
  key: `slicer_${j.value}`,
@@ -887,29 +895,29 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
887
895
  selectColor: e.value.style.zoom.highlightColor,
888
896
  max: G.value,
889
897
  min: 0,
890
- valueStart: h.value.start,
891
- valueEnd: h.value.end,
892
- start: h.value.start,
893
- "onUpdate:start": a[1] || (a[1] = (l) => h.value.start = l),
894
- end: h.value.end,
895
- "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),
896
904
  refreshStartPoint: e.value.style.zoom.startIndex !== null ? e.value.style.zoom.startIndex : 0,
897
905
  refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : G.value,
898
906
  enableRangeHandles: e.value.style.zoom.enableRangeHandles,
899
907
  enableSelectionDrag: e.value.style.zoom.enableSelectionDrag,
900
- onReset: gt
908
+ onReset: bt
901
909
  }, {
902
910
  "reset-action": x(({ reset: l }) => [
903
- 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)
904
912
  ]),
905
913
  _: 3
906
914
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"]))
907
- ], 512)) : g("", !0),
908
- d("div", {
915
+ ], 512)) : p("", !0),
916
+ y("div", {
909
917
  ref_key: "chartLegend",
910
918
  ref: we
911
919
  }, [
912
- m(t.$slots, "legend", { legend: k.value }, void 0, !0)
920
+ b(t.$slots, "legend", { legend: k.value }, void 0, !0)
913
921
  ], 512),
914
922
  t.$slots.source ? (s(), i("div", {
915
923
  key: 6,
@@ -917,8 +925,8 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
917
925
  ref: _e,
918
926
  dir: "auto"
919
927
  }, [
920
- m(t.$slots, "source", {}, void 0, !0)
921
- ], 512)) : g("", !0),
928
+ b(t.$slots, "source", {}, void 0, !0)
929
+ ], 512)) : p("", !0),
922
930
  Ye(u(st), {
923
931
  show: _.value.showTooltip && ae.value,
924
932
  backgroundColor: e.value.style.tooltip.backgroundColor,
@@ -938,10 +946,10 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
938
946
  backdropFilter: e.value.style.tooltip.backdropFilter
939
947
  }, {
940
948
  "tooltip-before": x(() => [
941
- 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)
942
950
  ]),
943
951
  "tooltip-after": x(() => [
944
- 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)
945
953
  ]),
946
954
  _: 3
947
955
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
@@ -969,23 +977,23 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
969
977
  body: q.value.body,
970
978
  config: q.value.config,
971
979
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
972
- onClose: a[3] || (a[3] = (l) => _.value.showTable = !1)
980
+ onClose: a[2] || (a[2] = (l) => _.value.showTable = !1)
973
981
  }, {
974
982
  th: x(({ th: l }) => [
975
- Rt(Q(l), 1)
983
+ Et(Q(l), 1)
976
984
  ]),
977
985
  td: x(({ td: l }) => [
978
- d("div", { innerHTML: l }, null, 8, Rl)
986
+ y("div", { innerHTML: l }, null, 8, El)
979
987
  ]),
980
988
  _: 1
981
989
  }, 8, ["colNames", "head", "body", "config", "title"]))
982
990
  ]),
983
991
  _: 1
984
- }, 8, ["config"])) : g("", !0),
985
- u(z) ? (s(), N(Jt, { key: 8 })) : g("", !0)
986
- ], 46, al));
992
+ }, 8, ["config"])) : p("", !0),
993
+ u(z) ? (s(), N(el, { key: 8 })) : p("", !0)
994
+ ], 46, il));
987
995
  }
988
- }, Jl = /* @__PURE__ */ ll(Ol, [["__scopeId", "data-v-d918182d"]]);
996
+ }, ea = /* @__PURE__ */ ul(Vl, [["__scopeId", "data-v-3f824beb"]]);
989
997
  export {
990
- Jl as default
998
+ ea as default
991
999
  };