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

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 (94) hide show
  1. package/dist/{Arrow-DiI9PrPS.js → Arrow-7o1zcGGd.js} +1 -1
  2. package/dist/{BaseDraggableDialog-C0Kz_kZp.js → BaseDraggableDialog-fZ1Z5U4d.js} +2 -2
  3. package/dist/{BaseIcon-B_tGgA4H.js → BaseIcon-Cq9SmUOT.js} +1 -1
  4. package/dist/{ColorPicker-CNsQt00F.js → ColorPicker-BNmC5tPY.js} +2 -2
  5. package/dist/{DataTable-Cm1oLidx.js → DataTable-DonNp9Tn.js} +2 -2
  6. package/dist/{Legend-DlUDcF1t.js → Legend-De_LcU2x.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-CLlxRJK1.js → NonSvgPenAndPaper-DCCmvppN.js} +3 -3
  8. package/dist/{PackageVersion-DZMJZGOu.js → PackageVersion-F_KOshQ5.js} +1 -1
  9. package/dist/{PenAndPaper-BDNLADWh.js → PenAndPaper-BzsPyqiU.js} +3 -3
  10. package/dist/{Shape-Br_SZ_x0.js → Shape-CJI8rA0G.js} +1 -1
  11. package/dist/{Slicer-DMU3nifX.js → Slicer-BCCGJwNV.js} +2 -2
  12. package/dist/{SparkTooltip-B6xp9zx_.js → SparkTooltip-ZSo6Sdhj.js} +1 -1
  13. package/dist/{Title-B5lsq0cx.js → Title-CbfJu3Bz.js} +1 -1
  14. package/dist/{Tooltip-CrAURNKT.js → Tooltip-BuuVsO8D.js} +1 -1
  15. package/dist/{UserOptions-CksX2mn0.js → UserOptions-32osgWD2.js} +2 -2
  16. package/dist/{dom-to-png-CIBDe8BB.js → dom-to-png-B4iPnzPd.js} +1 -1
  17. package/dist/{img-CWXYkVMQ.js → img-Domj-5hZ.js} +1 -1
  18. package/dist/{index-DB4XIP_N.js → index-BeBasrrG.js} +160 -137
  19. package/dist/{pdf-Dm-ieKMv.js → pdf-KclgkN6e.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +14 -4
  22. package/dist/types/vue-data-ui.d.ts +14 -4
  23. package/dist/{useNestedProp-iTa19l34.js → useNestedProp-BI69cynt.js} +1 -1
  24. package/dist/{usePrinter-id381vkp.js → usePrinter-DpTBVYGM.js} +2 -2
  25. package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
  26. package/dist/{useTimeLabels-DFkUfjfs.js → useTimeLabels-DkzmKfZn.js} +21 -21
  27. package/dist/{vue-data-ui-WdvK3lBL.js → vue-data-ui-DfOSI-cw.js} +64 -64
  28. package/dist/vue-data-ui.js +1 -1
  29. package/dist/{vue-ui-3d-bar-CtiAXSRA.js → vue-ui-3d-bar-BFUcEqAl.js} +6 -6
  30. package/dist/{vue-ui-accordion-DAT3uTMD.js → vue-ui-accordion-BBZQktvS.js} +3 -3
  31. package/dist/{vue-ui-age-pyramid-LuljyG04.js → vue-ui-age-pyramid-C1fCszkG.js} +6 -6
  32. package/dist/{vue-ui-annotator-CzHa2GlG.js → vue-ui-annotator-BThZoiBl.js} +2 -2
  33. package/dist/{vue-ui-bullet-BEzXYrWC.js → vue-ui-bullet-D0-jL6aT.js} +7 -7
  34. package/dist/{vue-ui-candlestick-DSaFw3wl.js → vue-ui-candlestick-BKY_1NxQ.js} +163 -160
  35. package/dist/{vue-ui-carousel-table-D1CLPWmk.js → vue-ui-carousel-table-RqYXqUym.js} +4 -4
  36. package/dist/{vue-ui-chestnut-D3FNLdep.js → vue-ui-chestnut-QLx875w4.js} +5 -5
  37. package/dist/{vue-ui-chord-CFT-LcE4.js → vue-ui-chord-rUYoYkRO.js} +8 -8
  38. package/dist/{vue-ui-circle-pack-Bl_cyLTg.js → vue-ui-circle-pack-DX5resGr.js} +6 -6
  39. package/dist/{vue-ui-cursor-C2XYAY0n.js → vue-ui-cursor-Day-0aL1.js} +2 -2
  40. package/dist/{vue-ui-dashboard-4ZwAsn1N.js → vue-ui-dashboard-G0W4wq1U.js} +62 -62
  41. package/dist/{vue-ui-digits-Da5mTaOQ.js → vue-ui-digits-DFREi_Ky.js} +2 -2
  42. package/dist/{vue-ui-donut-B6QlrBEH.js → vue-ui-donut-BdxnEUCr.js} +8 -8
  43. package/dist/{vue-ui-donut-evolution-Tv7oj7TE.js → vue-ui-donut-evolution-DYeMgZMU.js} +215 -212
  44. package/dist/{vue-ui-dumbbell-LNnnDec4.js → vue-ui-dumbbell-ajhNYekO.js} +7 -7
  45. package/dist/{vue-ui-flow-B618L2Da.js → vue-ui-flow-BOq3_apj.js} +7 -7
  46. package/dist/{vue-ui-funnel-DS_tcSnW.js → vue-ui-funnel-1Tc-WWAK.js} +6 -6
  47. package/dist/{vue-ui-galaxy-C5qk-fEV.js → vue-ui-galaxy-DRdIquCv.js} +5 -5
  48. package/dist/{vue-ui-gauge-C33XPj6b.js → vue-ui-gauge-B0a3J_d1.js} +6 -6
  49. package/dist/{vue-ui-gizmo-Cr6zUxnq.js → vue-ui-gizmo-5G0uR26C.js} +3 -3
  50. package/dist/vue-ui-heatmap-BGYSmKC-.js +1084 -0
  51. package/dist/{vue-ui-history-plot-DM_vTyiY.js → vue-ui-history-plot-kHo6293P.js} +7 -7
  52. package/dist/{vue-ui-kpi-BgFQSUVT.js → vue-ui-kpi-6zONwNMN.js} +3 -3
  53. package/dist/{vue-ui-mini-loader-BEpehl5X.js → vue-ui-mini-loader-XyVfmLch.js} +2 -2
  54. package/dist/{vue-ui-molecule-BIQFbPof.js → vue-ui-molecule-BoQKd6NP.js} +5 -5
  55. package/dist/{vue-ui-mood-radar-RShxk3Bz.js → vue-ui-mood-radar-DncLIzjX.js} +7 -7
  56. package/dist/{vue-ui-nested-donuts-dMBxBBnZ.js → vue-ui-nested-donuts-DXMadqNK.js} +9 -9
  57. package/dist/{vue-ui-onion-ZVZ6wpNM.js → vue-ui-onion-CbtXXJHJ.js} +7 -7
  58. package/dist/{vue-ui-parallel-coordinate-plot-1a3BGVsh.js → vue-ui-parallel-coordinate-plot-D-zLAqYN.js} +8 -8
  59. package/dist/{vue-ui-quadrant-XCnxKrJd.js → vue-ui-quadrant-DqN9de-E.js} +8 -8
  60. package/dist/{vue-ui-quick-chart-BQJqdHxB.js → vue-ui-quick-chart-fAHV8BFQ.js} +7 -7
  61. package/dist/{vue-ui-radar-CeXlq2A-.js → vue-ui-radar-Dcr4Y35J.js} +7 -7
  62. package/dist/{vue-ui-rating-DTq-mZyU.js → vue-ui-rating-Y_X6wrM8.js} +2 -2
  63. package/dist/{vue-ui-relation-circle-k8viefM-.js → vue-ui-relation-circle-CsjfP4w3.js} +6 -6
  64. package/dist/{vue-ui-ridgeline-B8oddwmZ.js → vue-ui-ridgeline-COQZjWXD.js} +9 -9
  65. package/dist/{vue-ui-rings-9XT1ePuY.js → vue-ui-rings-IWHU4YHR.js} +8 -8
  66. package/dist/{vue-ui-scatter-oM-LVerf.js → vue-ui-scatter-zG4nPspJ.js} +8 -8
  67. package/dist/{vue-ui-skeleton-DDLBx4bb.js → vue-ui-skeleton-BLCAe0aL.js} +3 -3
  68. package/dist/{vue-ui-smiley-D5ybBkdY.js → vue-ui-smiley-CgMyaK6w.js} +2 -2
  69. package/dist/{vue-ui-spark-trend-Tl-sOjqa.js → vue-ui-spark-trend-Dn2iTtuB.js} +3 -3
  70. package/dist/{vue-ui-sparkbar-Ce6dYcF4.js → vue-ui-sparkbar-BA_s34xX.js} +3 -3
  71. package/dist/{vue-ui-sparkgauge-DRHrbpSl.js → vue-ui-sparkgauge-CGoeUY4p.js} +3 -3
  72. package/dist/{vue-ui-sparkhistogram-DBtPWFim.js → vue-ui-sparkhistogram-BuSn8iJi.js} +4 -4
  73. package/dist/{vue-ui-sparkline-DcF2ugGh.js → vue-ui-sparkline-CYJUhGaJ.js} +4 -4
  74. package/dist/{vue-ui-sparkstackbar-C01iI0y3.js → vue-ui-sparkstackbar-BDQWVxNP.js} +3 -3
  75. package/dist/{vue-ui-stackbar-BeCCgw_v.js → vue-ui-stackbar-B92-pzwh.js} +301 -298
  76. package/dist/{vue-ui-strip-plot-CsK2a1mH.js → vue-ui-strip-plot-BLTjzATL.js} +7 -7
  77. package/dist/{vue-ui-table-COjBJDmq.js → vue-ui-table-Ba7Z_7OX.js} +3 -3
  78. package/dist/{vue-ui-table-heatmap-DfxMcAr9.js → vue-ui-table-heatmap-C29u3mfg.js} +5 -5
  79. package/dist/{vue-ui-table-sparkline-0BC6BxKt.js → vue-ui-table-sparkline-BLR9glHo.js} +4 -4
  80. package/dist/{vue-ui-thermometer-Bf2_qGBi.js → vue-ui-thermometer-BAm6l97t.js} +6 -6
  81. package/dist/{vue-ui-timer-BC9tH4qB.js → vue-ui-timer-CqbbNnBk.js} +5 -5
  82. package/dist/{vue-ui-tiremarks-ya8ABi9I.js → vue-ui-tiremarks-BnZr2Vrp.js} +6 -6
  83. package/dist/{vue-ui-treemap-BSHptMc8.js → vue-ui-treemap-J8OANLCg.js} +8 -8
  84. package/dist/{vue-ui-vertical-bar-B_Oa-v87.js → vue-ui-vertical-bar-DdR3STYF.js} +9 -9
  85. package/dist/{vue-ui-waffle-DHB8v3nh.js → vue-ui-waffle-w5VJA7gR.js} +8 -8
  86. package/dist/{vue-ui-wheel-Bi28_KVB.js → vue-ui-wheel-D5yea4oH.js} +6 -6
  87. package/dist/{vue-ui-word-cloud-BcQ2cfcu.js → vue-ui-word-cloud-OugLGxgB.js} +6 -6
  88. package/dist/{vue-ui-world-aLL9NUDQ.js → vue-ui-world-BSptBo4h.js} +6 -6
  89. package/dist/vue-ui-xy-DnYo2K58.js +3741 -0
  90. package/dist/{vue-ui-xy-canvas-sUpmc7gl.js → vue-ui-xy-canvas-Cmn0RWbG.js} +9 -9
  91. package/package.json +1 -1
  92. package/dist/useTimeLabelCollider-V7AOiPLB.js +0 -71
  93. package/dist/vue-ui-heatmap-ksiw1nTI.js +0 -879
  94. package/dist/vue-ui-xy-BxonzF88.js +0 -3710
@@ -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-DB4XIP_N.js";
3
- import { t as Ke, u as Gt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Qe } from "./useNestedProp-iTa19l34.js";
5
- import { u as Xt } from "./usePrinter-id381vkp.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-B5lsq0cx.js";
10
- import { S as Qt } from "./Slicer-DMU3nifX.js";
11
- import { u as Zt } from "./useTimeLabels-DFkUfjfs.js";
12
- import el from "./img-CWXYkVMQ.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 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 = {
16
16
  key: 4,
17
17
  class: "vue-data-ui-watermark"
18
- }, Rl = ["innerHTML"], Ol = {
18
+ }, Nl = ["innerHTML"], Pl = {
19
19
  __name: "vue-ui-candlestick",
20
20
  props: {
21
21
  config: {
@@ -32,8 +32,8 @@ 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-DAT3uTMD.js")), lt = D(() => import("./DataTable-Cm1oLidx.js")), at = D(() => import("./PackageVersion-DZMJZGOu.js")), ot = D(() => import("./PenAndPaper-BDNLADWh.js")), st = D(() => import("./Tooltip-CrAURNKT.js")), ut = D(() => import("./UserOptions-CksX2mn0.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-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),
37
37
  FINAL_CONFIG: e,
38
38
  prepareConfig: re,
39
39
  callback: () => {
@@ -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: Et({
59
59
  defaultConfig: e.value,
60
60
  userConfig: {
61
61
  useCssAnimation: !1,
@@ -96,7 +96,7 @@ 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 } = qt({ config: e.value }), { svgRef: Te } = Jt({ config: e.value.style.title });
100
100
  function re() {
101
101
  const t = Qe({
102
102
  userConfig: c.config,
@@ -105,7 +105,7 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
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: Bt.vue_ui_candlestick[t.theme] || c.config,
109
109
  defaultConfig: t
110
110
  })
111
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;
@@ -115,16 +115,16 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
115
115
  }, { deep: !0 }), pe(() => c.dataset, (t) => {
116
116
  Array.isArray(t) && t.length > 0 && (ie.value = !1), h.value.start = 0, h.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
+ Ft(() => {
125
125
  Ie();
126
126
  });
127
- const F = b(() => !!e.value.debug);
127
+ const F = g(() => !!e.value.debug);
128
128
  function Ie() {
129
129
  if (qe(c.dataset) && (M({
130
130
  componentName: "VueUiCandlestick",
@@ -135,7 +135,7 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
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 } = jt({
139
139
  chart: T.value,
140
140
  title: e.value.style.title.text ? ke.value : null,
141
141
  slicer: Ae.value,
@@ -144,19 +144,19 @@ 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
  });
@@ -168,17 +168,17 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
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 } = Yt({
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
+ Rt((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, b) => {
198
+ const f = b.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, b = 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 + b,
208
+ bottom: d.value.height - l - Pe.value,
209
+ width: d.value.width - o - a - b,
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), h = r({
213
213
  start: 0,
214
214
  end: G.value
215
- }), Ve = b(() => A.value.map((t, a) => ({
215
+ }), Ve = 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(h.value.start, h.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",
@@ -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 / Ve.value.length), Ee = 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(() => Mt(Ee.value.min, Ee.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
271
271
  function Y(t, a) {
272
272
  return {
273
273
  ...t,
@@ -276,13 +276,13 @@ 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), b = 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: b,
286
286
  last: f,
287
287
  volume: t.volume,
288
288
  isBullish: O,
@@ -292,16 +292,16 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
292
292
  function yt(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) => ({
295
+ const ct = g(() => C.value.ticks.map((t) => ({
296
296
  y: n.value.bottom - n.value.height * yt(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(() => tl({
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
302
  start: h.value.start,
303
303
  end: h.value.end
304
- })), Be = b(() => e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
304
+ })), Be = g(() => e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
305
305
  start: R.value.find((t) => t.absoluteIndex === h.value.start).text,
306
306
  end: R.value.find((t) => t.absoluteIndex === h.value.end - 1).text
307
307
  } : {
@@ -316,7 +316,7 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
316
316
  config: e.value
317
317
  };
318
318
  const l = e.value.style.tooltip.customFormat;
319
- if (Dt(l) && Ht(() => l({
319
+ if (Gt(l) && Xt(() => l({
320
320
  seriesIndex: t,
321
321
  datapoint: a,
322
322
  series: k.value,
@@ -330,37 +330,37 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
330
330
  });
331
331
  else if (e.value.style.tooltip.show) {
332
332
  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;
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;
334
334
  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({
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({
337
337
  p: e.value.style.tooltip.prefix,
338
338
  v: f.value,
339
339
  s: e.value.style.tooltip.suffix,
340
340
  r: e.value.style.tooltip.roundingValue
341
341
  });
342
- o += `<div>${mt}: <b>${Ct}</b></div>`;
343
- const $t = L({
342
+ o += `<div>${kt}: <b>${zt}</b></div>`;
343
+ const St = L({
344
344
  p: e.value.style.tooltip.prefix,
345
345
  v: O.value,
346
346
  s: e.value.style.tooltip.suffix,
347
347
  r: e.value.style.tooltip.roundingValue
348
348
  });
349
- o += `<div>${xt}: <b>${$t}</b></div>`;
350
- const zt = L({
349
+ o += `<div>${wt}: <b>${St}</b></div>`;
350
+ const Lt = L({
351
351
  p: e.value.style.tooltip.prefix,
352
352
  v: fe.value,
353
353
  s: e.value.style.tooltip.suffix,
354
354
  r: e.value.style.tooltip.roundingValue
355
355
  });
356
- o += `<div>${kt}: <b>${zt}</b></div>`;
357
- const St = L({
356
+ o += `<div>${At}: <b>${Lt}</b></div>`;
357
+ const Tt = L({
358
358
  p: e.value.style.tooltip.prefix,
359
359
  v: ge.value,
360
360
  s: e.value.style.tooltip.suffix,
361
361
  r: e.value.style.tooltip.roundingValue
362
362
  });
363
- o += `<div>${wt}: <b>${St}</b></div>`, o += "</div>", oe.value = `<div style="text-align:right">${o}</div>`;
363
+ o += `<div>${_t}: <b>${Tt}</b></div>`, o += "</div>", oe.value = `<div style="text-align:right">${o}</div>`;
364
364
  }
365
365
  ae.value = !0;
366
366
  }
@@ -386,13 +386,13 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
386
386
  f.low.value,
387
387
  f.last.value,
388
388
  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" });
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" });
391
391
  });
392
392
  }
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({
393
+ 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({
396
396
  p: e.value.table.td.prefix,
397
397
  v: o.open.value,
398
398
  s: e.value.table.td.suffix,
@@ -458,9 +458,9 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
458
458
  }
459
459
  async function bt({ scale: t = 2 } = {}) {
460
460
  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 });
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 });
462
462
  return {
463
- imageUri: p,
463
+ imageUri: b,
464
464
  base64: f,
465
465
  title: e.value.style.title.text,
466
466
  width: a,
@@ -468,14 +468,17 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
468
468
  aspectRatio: o
469
469
  };
470
470
  }
471
- return tl({
471
+ const mt = g(() => d.value.width), xt = g(() => d.value.height);
472
+ return al({
472
473
  timeLabelsEls: H,
473
474
  timeLabels: R,
474
475
  slicer: h,
475
476
  configRef: e,
476
477
  rotationPath: ["style", "layout", "grid", "xAxis", "dataLabels", "rotation"],
477
478
  autoRotatePath: ["style", "layout", "grid", "xAxis", "dataLabels", "autoRotate"],
478
- isAutoSize: !1
479
+ isAutoSize: !1,
480
+ width: mt,
481
+ height: xt
479
482
  }), pe(e, () => {
480
483
  _.value = {
481
484
  showTable: e.value.table.show,
@@ -506,21 +509,21 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
506
509
  color: e.value.style.color,
507
510
  active: J.value,
508
511
  onClose: he
509
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
512
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : p("", !0),
510
513
  rt.value ? (s(), i("div", {
511
514
  key: 1,
512
515
  ref_key: "noTitle",
513
516
  ref: Ce,
514
517
  class: "vue-data-ui-no-title-space",
515
518
  style: "height:36px; width: 100%;background:transparent"
516
- }, null, 512)) : g("", !0),
519
+ }, null, 512)) : p("", !0),
517
520
  e.value.style.title.text ? (s(), i("div", {
518
521
  key: 2,
519
522
  ref_key: "chartTitle",
520
523
  ref: ke,
521
524
  style: "width:100%;background:transparent"
522
525
  }, [
523
- (s(), N(Kt, {
526
+ (s(), N(Zt, {
524
527
  key: `title_${ze.value}`,
525
528
  config: {
526
529
  title: {
@@ -533,7 +536,7 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
533
536
  }
534
537
  }
535
538
  }, null, 8, ["config"]))
536
- ], 512)) : g("", !0),
539
+ ], 512)) : p("", !0),
537
540
  e.value.userOptions.show && te.value && (u(Le) || u(ne)) ? (s(), N(u(ut), {
538
541
  ref_key: "details",
539
542
  ref: nt,
@@ -568,7 +571,7 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
568
571
  style: me({
569
572
  visibility: u(Le) ? u(ne) ? "visible" : "hidden" : "visible"
570
573
  })
571
- }, Ft({ _: 2 }, [
574
+ }, Ot({ _: 2 }, [
572
575
  t.$slots.menuIcon ? {
573
576
  name: "menuIcon",
574
577
  fn: x(({ isOpen: l, color: o }) => [
@@ -625,14 +628,14 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
625
628
  ]),
626
629
  key: "7"
627
630
  } : 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),
631
+ ]), 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
632
  (s(), i("svg", {
630
633
  ref_key: "svgRef",
631
634
  ref: Te,
632
- xmlns: u(Bt),
635
+ xmlns: u(Ut),
633
636
  "aria-label": e.value.style.title.text || "candlestick chart",
634
637
  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}`,
638
+ viewBox: `0 0 ${d.value.width <= 0 ? 10 : d.value.width} ${d.value.height <= 0 ? 10 : d.value.height}`,
636
639
  style: me(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
637
640
  }, [
638
641
  Ye(u(at)),
@@ -647,48 +650,48 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
647
650
  }
648
651
  }, [
649
652
  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", {
653
+ ], 8, il)) : p("", !0),
654
+ k.value.length > 0 ? (s(), i("g", nl, [
655
+ y("defs", null, [
656
+ y("linearGradient", {
654
657
  id: `bearish_gradient_${w.value}`,
655
658
  x2: "0%",
656
659
  y2: "100%"
657
660
  }, [
658
- d("stop", {
661
+ y("stop", {
659
662
  offset: "0%",
660
663
  "stop-color": e.value.style.layout.candle.colors.bearish
661
- }, null, 8, nl),
662
- d("stop", {
664
+ }, null, 8, vl),
665
+ y("stop", {
663
666
  offset: "50%",
664
667
  "stop-color": `${u(ee)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
665
- }, null, 8, rl),
666
- d("stop", {
668
+ }, null, 8, dl),
669
+ y("stop", {
667
670
  offset: "100%",
668
671
  "stop-color": `${u(ee)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
669
- }, null, 8, vl)
670
- ], 8, il),
671
- d("linearGradient", {
672
+ }, null, 8, yl)
673
+ ], 8, rl),
674
+ y("linearGradient", {
672
675
  id: `bullish_gradient_${w.value}`,
673
676
  x2: "0%",
674
677
  y2: "100%"
675
678
  }, [
676
- d("stop", {
679
+ y("stop", {
677
680
  offset: "0%",
678
681
  "stop-color": e.value.style.layout.candle.colors.bullish
679
- }, null, 8, yl),
680
- d("stop", {
682
+ }, null, 8, hl),
683
+ y("stop", {
681
684
  offset: "50%",
682
685
  "stop-color": `${u(ee)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
683
- }, null, 8, cl),
684
- d("stop", {
686
+ }, null, 8, fl),
687
+ y("stop", {
685
688
  offset: "100%",
686
689
  "stop-color": `${u(ee)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
687
- }, null, 8, hl)
688
- ], 8, dl)
690
+ }, null, 8, gl)
691
+ ], 8, cl)
689
692
  ]),
690
- e.value.style.layout.grid.show ? (s(), i("g", fl, [
691
- d("line", {
693
+ e.value.style.layout.grid.show ? (s(), i("g", pl, [
694
+ y("line", {
692
695
  x1: n.value.left,
693
696
  x2: n.value.left,
694
697
  y1: n.value.top,
@@ -696,8 +699,8 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
696
699
  stroke: e.value.style.layout.grid.stroke,
697
700
  "stroke-width": e.value.style.layout.grid.strokeWidth,
698
701
  "stroke-linecap": "round"
699
- }, null, 8, gl),
700
- d("line", {
702
+ }, null, 8, bl),
703
+ y("line", {
701
704
  x1: n.value.left,
702
705
  x2: n.value.right,
703
706
  y1: n.value.bottom,
@@ -705,8 +708,8 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
705
708
  stroke: e.value.style.layout.grid.stroke,
706
709
  "stroke-width": e.value.style.layout.grid.strokeWidth,
707
710
  "stroke-linecap": "round"
708
- }, null, 8, pl)
709
- ])) : g("", !0),
711
+ }, null, 8, ml)
712
+ ])) : p("", !0),
710
713
  e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), i("g", {
711
714
  key: 1,
712
715
  ref_key: "scaleLabels",
@@ -722,12 +725,12 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
722
725
  stroke: e.value.style.layout.grid.stroke,
723
726
  "stroke-width": e.value.style.layout.grid.strokeWidth,
724
727
  "stroke-linecap": "round"
725
- }, null, 8, bl)) : g("", !0),
728
+ }, null, 8, xl)) : p("", !0),
726
729
  l.value >= C.value.min && l.value <= C.value.max ? (s(), i("text", {
727
730
  key: 1,
728
731
  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,
732
+ y: l.y + d.value.yAxisFontSize / 3,
733
+ "font-size": d.value.yAxisFontSize,
731
734
  "text-anchor": "end",
732
735
  fill: e.value.style.layout.grid.yAxis.dataLabels.color,
733
736
  "font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
@@ -736,44 +739,44 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
736
739
  v: l.value,
737
740
  s: e.value.style.layout.grid.yAxis.dataLabels.suffix,
738
741
  r: e.value.style.layout.grid.yAxis.dataLabels.roundingValue
739
- })), 9, ml)) : g("", !0)
742
+ })), 9, kl)) : p("", !0)
740
743
  ]))), 256))
741
- ], 512)) : g("", !0),
744
+ ], 512)) : p("", !0),
742
745
  e.value.style.layout.grid.xAxis.dataLabels.show && !e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), i("g", {
743
746
  key: 2,
744
747
  ref_key: "timeLabelsEls",
745
748
  ref: H
746
749
  }, [
747
750
  (s(!0), i(E, null, B(ht.value, (l, o) => (s(), i("g", null, [
748
- d("text", {
751
+ y("text", {
749
752
  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})`,
753
+ 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
754
  "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,
755
+ "font-size": d.value.xAxisFontSize,
753
756
  fill: e.value.style.layout.grid.xAxis.dataLabels.color,
754
757
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
755
- }, Q(l), 9, xl)
758
+ }, Q(l), 9, wl)
756
759
  ]))), 256))
757
- ], 512)) : g("", !0),
760
+ ], 512)) : p("", !0),
758
761
  e.value.style.layout.grid.xAxis.dataLabels.show && e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), i("g", {
759
762
  key: 3,
760
763
  ref_key: "timeLabelsEls",
761
764
  ref: H
762
765
  }, [
763
766
  (s(!0), i(E, null, B(R.value, (l, o) => (s(), i("g", null, [
764
- d("text", {
767
+ y("text", {
765
768
  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})`,
769
+ 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
770
  "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,
771
+ "font-size": d.value.xAxisFontSize,
769
772
  fill: e.value.style.layout.grid.xAxis.dataLabels.color,
770
773
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
771
- }, Q(l.text), 9, kl)
774
+ }, Q(l.text), 9, Al)
772
775
  ]))), 256))
773
- ], 512)) : g("", !0),
774
- d("g", null, [
776
+ ], 512)) : p("", !0),
777
+ y("g", null, [
775
778
  (s(!0), i(E, null, B(k.value, (l, o) => (s(), i("g", null, [
776
- d("rect", {
779
+ y("rect", {
777
780
  x: l.open.x - e.value.style.layout.wick.strokeWidth / 2,
778
781
  y: l.high.y,
779
782
  width: e.value.style.layout.wick.strokeWidth,
@@ -782,25 +785,25 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
782
785
  stroke: "none",
783
786
  rx: e.value.style.layout.wick.strokeWidth / 2,
784
787
  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", {
788
+ }, null, 10, _l),
789
+ e.value.style.layout.wick.extremity.shape === "circle" ? (s(), i("g", Cl, [
790
+ y("circle", {
788
791
  cx: l.high.x,
789
792
  cy: l.high.y,
790
793
  r: e.value.style.layout.wick.extremity.size === "auto" ? v.value / 20 : e.value.style.layout.wick.extremity.size,
791
794
  fill: e.value.style.layout.wick.extremity.color,
792
795
  class: S({ "vue-data-ui-transition": $.value && !u(z) })
793
- }, null, 10, _l),
794
- d("circle", {
796
+ }, null, 10, $l),
797
+ y("circle", {
795
798
  cx: l.low.x,
796
799
  cy: l.low.y,
797
800
  r: e.value.style.layout.wick.extremity.size === "auto" ? v.value / 20 : e.value.style.layout.wick.extremity.size,
798
801
  fill: e.value.style.layout.wick.extremity.color,
799
802
  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", {
803
+ }, null, 10, zl)
804
+ ])) : p("", !0),
805
+ e.value.style.layout.wick.extremity.shape === "line" ? (s(), i("g", Sl, [
806
+ y("rect", {
804
807
  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
808
  y: l.high.y - e.value.style.layout.wick.strokeWidth / 2,
806
809
  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 +812,8 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
809
812
  fill: e.value.style.layout.wick.extremity.color,
810
813
  stroke: "none",
811
814
  class: S({ "vue-data-ui-transition": $.value && !u(z) })
812
- }, null, 10, zl),
813
- d("rect", {
815
+ }, null, 10, Ll),
816
+ y("rect", {
814
817
  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
818
  y: l.low.y - e.value.style.layout.wick.strokeWidth / 2,
816
819
  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,11 +822,11 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
819
822
  stroke: "none",
820
823
  rx: e.value.style.layout.wick.strokeWidth / 2,
821
824
  class: S({ "vue-data-ui-transition": $.value && !u(z) })
822
- }, null, 10, Sl)
823
- ])) : g("", !0)
825
+ }, null, 10, Tl)
826
+ ])) : p("", !0)
824
827
  ]))), 256))
825
828
  ]),
826
- d("g", null, [
829
+ y("g", null, [
827
830
  (s(!0), i(E, null, B(k.value, (l, o) => (s(), i("rect", {
828
831
  x: l.open.x - v.value / 2 + v.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
829
832
  y: l.isBullish ? l.last.y : l.open.y,
@@ -833,7 +836,7 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
833
836
  rx: e.value.style.layout.candle.borderRadius,
834
837
  stroke: "none",
835
838
  class: S({ "vue-data-ui-transition": $.value && !u(z) })
836
- }, null, 10, Ll))), 256)),
839
+ }, null, 10, Il))), 256)),
837
840
  (s(!0), i(E, null, B(k.value, (l, o) => (s(), i("rect", {
838
841
  x: l.open.x - v.value / 2 + v.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
839
842
  y: l.isBullish ? l.last.y : l.open.y,
@@ -846,33 +849,33 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
846
849
  "stroke-linecap": "round",
847
850
  "stroke-linejoin": "round",
848
851
  class: S({ "vue-data-ui-transition": $.value && !u(z) })
849
- }, null, 10, Tl))), 256))
852
+ }, null, 10, Fl))), 256))
850
853
  ]),
851
- d("g", null, [
854
+ y("g", null, [
852
855
  (s(!0), i(E, null, B(k.value, (l, o) => (s(), i("rect", {
853
856
  x: n.value.left + o * v.value,
854
857
  y: n.value.top,
855
858
  height: n.value.height <= 0 ? 1e-4 : n.value.height,
856
859
  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
+ 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) => {
860
863
  se.value = void 0, ae.value = !1;
861
864
  })
862
- }, null, 40, Il))), 256))
865
+ }, null, 40, Rl))), 256))
863
866
  ])
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, [
867
+ ])) : p("", !0),
868
+ m(t.$slots, "svg", { svg: d.value }, void 0, !0)
869
+ ], 14, ul)),
870
+ t.$slots.watermark ? (s(), i("div", Ol, [
868
871
  m(t.$slots, "watermark", P(V({ isPrinting: u(Fe) || u(Re) })), void 0, !0)
869
- ])) : g("", !0),
872
+ ])) : p("", !0),
870
873
  e.value.style.zoom.show && te.value ? (s(), i("div", {
871
874
  key: 5,
872
875
  ref_key: "chartSlicer",
873
876
  ref: Ae
874
877
  }, [
875
- (s(), N(Qt, {
878
+ (s(), N(el, {
876
879
  ref_key: "slicerComponent",
877
880
  ref: Me,
878
881
  key: `slicer_${j.value}`,
@@ -904,8 +907,8 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
904
907
  ]),
905
908
  _: 3
906
909
  }, 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", {
910
+ ], 512)) : p("", !0),
911
+ y("div", {
909
912
  ref_key: "chartLegend",
910
913
  ref: we
911
914
  }, [
@@ -918,7 +921,7 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
918
921
  dir: "auto"
919
922
  }, [
920
923
  m(t.$slots, "source", {}, void 0, !0)
921
- ], 512)) : g("", !0),
924
+ ], 512)) : p("", !0),
922
925
  Ye(u(st), {
923
926
  show: _.value.showTooltip && ae.value,
924
927
  backgroundColor: e.value.style.tooltip.backgroundColor,
@@ -972,20 +975,20 @@ const al = ["id"], ol = ["xmlns", "aria-label", "viewBox"], sl = ["x", "y", "wid
972
975
  onClose: a[3] || (a[3] = (l) => _.value.showTable = !1)
973
976
  }, {
974
977
  th: x(({ th: l }) => [
975
- Rt(Q(l), 1)
978
+ Nt(Q(l), 1)
976
979
  ]),
977
980
  td: x(({ td: l }) => [
978
- d("div", { innerHTML: l }, null, 8, Rl)
981
+ y("div", { innerHTML: l }, null, 8, Nl)
979
982
  ]),
980
983
  _: 1
981
984
  }, 8, ["colNames", "head", "body", "config", "title"]))
982
985
  ]),
983
986
  _: 1
984
- }, 8, ["config"])) : g("", !0),
985
- u(z) ? (s(), N(Jt, { key: 8 })) : g("", !0)
986
- ], 46, al));
987
+ }, 8, ["config"])) : p("", !0),
988
+ u(z) ? (s(), N(Qt, { key: 8 })) : p("", !0)
989
+ ], 46, sl));
987
990
  }
988
- }, Jl = /* @__PURE__ */ ll(Ol, [["__scopeId", "data-v-d918182d"]]);
991
+ }, Ql = /* @__PURE__ */ ol(Pl, [["__scopeId", "data-v-035e586e"]]);
989
992
  export {
990
- Jl as default
993
+ Ql as default
991
994
  };