vue-data-ui 2.16.6 → 2.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/README.md +84 -53
  2. package/dist/{Arrow-DCqxVwey.js → Arrow-BDCVJzQB.js} +1 -1
  3. package/dist/{BaseDraggableDialog-6DIKXIBU.js → BaseDraggableDialog-BvuWrldK.js} +2 -2
  4. package/dist/{BaseIcon-Bn996RXm.js → BaseIcon-D9Tz8ARD.js} +1 -1
  5. package/dist/{ColorPicker-OFfLkKNb.js → ColorPicker-wGf46G2G.js} +2 -2
  6. package/dist/{DataTable-CHBLjKtZ.js → DataTable-Dt-TIOyY.js} +2 -2
  7. package/dist/{Legend-nBXoxXJH.js → Legend-3LNqqLDg.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-Cls2idJS.js → NonSvgPenAndPaper-iDdMuUEo.js} +3 -3
  9. package/dist/{PackageVersion-Bg_9KCU-.js → PackageVersion-C-4Ee8BQ.js} +1 -1
  10. package/dist/{PenAndPaper-BPTpbnay.js → PenAndPaper-Cde-wJ3N.js} +32 -32
  11. package/dist/{Shape-Bnf512BA.js → Shape-C75836Jl.js} +1 -1
  12. package/dist/{Slicer-BrqtJG2E.js → Slicer-CpSu7plp.js} +2 -2
  13. package/dist/{SparkTooltip-C-rLATAw.js → SparkTooltip-B_GXa2tb.js} +1 -1
  14. package/dist/{Title-Gi81VwUM.js → Title-DpERl1yr.js} +1 -1
  15. package/dist/{Tooltip-CJxVw7-T.js → Tooltip-DA0bYKFG.js} +1 -1
  16. package/dist/{UserOptions-CBEK6_jo.js → UserOptions-DTEJ3UM_.js} +2 -2
  17. package/dist/{dom-to-png-CRHNL8VU.js → dom-to-png-DWDGYXFL.js} +1 -1
  18. package/dist/{img-BgOg8opa.js → img-utitT2Gd.js} +1 -1
  19. package/dist/{index-DvIXJm6t.js → index-CobsZUkv.js} +22 -8
  20. package/dist/{pdf-DhTxBrbJ.js → pdf-DWZ8IB56.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +999 -160
  23. package/dist/types/vue-data-ui.d.ts +999 -160
  24. package/dist/{useNestedProp-DrYHm61t.js → useNestedProp-BwL5wmVa.js} +1 -1
  25. package/dist/{usePrinter-CWnXbGMb.js → usePrinter-DPh6U_Qk.js} +2 -2
  26. package/dist/vue-data-ui-D7ZgRDQ_.js +312 -0
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-CtlB4p7i.js → vue-ui-3d-bar-ORUAjkg7.js} +246 -231
  29. package/dist/{vue-ui-accordion-D55kCO5G.js → vue-ui-accordion-UewqY6OI.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-DSshyUn-.js → vue-ui-age-pyramid-Yl4aRpNc.js} +225 -210
  31. package/dist/{vue-ui-annotator-DQSMv_k2.js → vue-ui-annotator-B1gqiBqq.js} +2 -2
  32. package/dist/{vue-ui-bullet-FeScjj7q.js → vue-ui-bullet-C307lCPt.js} +168 -153
  33. package/dist/{vue-ui-candlestick-Drupgyoi.js → vue-ui-candlestick-BE6PcEdh.js} +218 -203
  34. package/dist/{vue-ui-carousel-table-BTZQRZfO.js → vue-ui-carousel-table-Cpvjr677.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DLWjPwRL.js → vue-ui-chestnut-CUw74AgC.js} +412 -397
  36. package/dist/{vue-ui-chord-BgLbFBT9.js → vue-ui-chord-CCPGeAiY.js} +202 -187
  37. package/dist/{vue-ui-circle-pack-VXcRh2gy.js → vue-ui-circle-pack-dfyPiQmy.js} +222 -207
  38. package/dist/{vue-ui-cursor-DWmfnM25.js → vue-ui-cursor-C2zmfeoD.js} +2 -2
  39. package/dist/{vue-ui-dashboard-CGIocEHj.js → vue-ui-dashboard-CotAqRbX.js} +62 -62
  40. package/dist/{vue-ui-digits-BgQch3Fc.js → vue-ui-digits-7qJFCuoI.js} +2 -2
  41. package/dist/{vue-ui-donut-B59bCV5_.js → vue-ui-donut-D41WeqQU.js} +420 -411
  42. package/dist/{vue-ui-donut-evolution-CI8qBIQd.js → vue-ui-donut-evolution-Deg0dsYg.js} +352 -340
  43. package/dist/{vue-ui-dumbbell-CXv7sk88.js → vue-ui-dumbbell-DDwNoTPG.js} +214 -199
  44. package/dist/{vue-ui-flow-DxF0ELtv.js → vue-ui-flow-6oR7IMyi.js} +215 -200
  45. package/dist/{vue-ui-funnel-Bco8rqF8.js → vue-ui-funnel-BnXtOJmh.js} +212 -197
  46. package/dist/{vue-ui-galaxy-CaPJwwOj.js → vue-ui-galaxy-75XC8SpV.js} +213 -201
  47. package/dist/{vue-ui-gauge-D7arhDmb.js → vue-ui-gauge-w31j915C.js} +218 -203
  48. package/dist/{vue-ui-gizmo-Dwli-Mip.js → vue-ui-gizmo-bZqk6oZS.js} +3 -3
  49. package/dist/{vue-ui-heatmap-Cyn-ahGO.js → vue-ui-heatmap-BfU62tMW.js} +242 -223
  50. package/dist/{vue-ui-history-plot-C2AEToqx.js → vue-ui-history-plot-CFfco-Yj.js} +267 -252
  51. package/dist/{vue-ui-kpi-DKDibSdl.js → vue-ui-kpi-DaJ1U3wf.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-B8OVutUx.js → vue-ui-mini-loader-CF_2jAI8.js} +2 -2
  53. package/dist/{vue-ui-molecule-BVSrqIGw.js → vue-ui-molecule-Tdk3Gd8M.js} +207 -192
  54. package/dist/{vue-ui-mood-radar-DvlyS3RN.js → vue-ui-mood-radar-Dg5wS7W5.js} +204 -189
  55. package/dist/{vue-ui-nested-donuts-D9ssSus6.js → vue-ui-nested-donuts-CpRe0sQB.js} +248 -240
  56. package/dist/{vue-ui-onion-Buu4VX3u.js → vue-ui-onion-B8o4ft2v.js} +184 -169
  57. package/dist/{vue-ui-parallel-coordinate-plot-DFLUvhxD.js → vue-ui-parallel-coordinate-plot-zW-CNqWC.js} +192 -177
  58. package/dist/{vue-ui-quadrant-BMC7NBGd.js → vue-ui-quadrant-DiRtZ16w.js} +259 -244
  59. package/dist/{vue-ui-quick-chart-DB9RKUkb.js → vue-ui-quick-chart-BRlYC_yT.js} +324 -309
  60. package/dist/{vue-ui-radar-68NMPxxQ.js → vue-ui-radar-DKgX1Ibx.js} +195 -180
  61. package/dist/{vue-ui-rating-swH9kRr3.js → vue-ui-rating-DlklKr-X.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CT-EdSjO.js → vue-ui-relation-circle-MHiAp8dC.js} +186 -171
  63. package/dist/{vue-ui-ridgeline-DftROPaX.js → vue-ui-ridgeline-DA8verAe.js} +227 -212
  64. package/dist/{vue-ui-rings-M-9dPI5D.js → vue-ui-rings-Dh6lFqun.js} +214 -202
  65. package/dist/{vue-ui-scatter-CsGhaFJh.js → vue-ui-scatter-CLC5sTOi.js} +270 -256
  66. package/dist/{vue-ui-skeleton-BAOt2neL.js → vue-ui-skeleton-8s4xts8z.js} +3 -3
  67. package/dist/{vue-ui-smiley-7_kIgPg-.js → vue-ui-smiley-utuzw8uI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DHlQQpwz.js → vue-ui-spark-trend-BODEqGRr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BnHhzuKf.js → vue-ui-sparkbar-B8MB-kn9.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-WtfkCK8g.js → vue-ui-sparkgauge-CuD7kTS3.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-B2u4XLVd.js → vue-ui-sparkhistogram-BYJszvna.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DKIyUlSm.js → vue-ui-sparkline-D77GyWzG.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BLGz2qIb.js → vue-ui-sparkstackbar-DNb1yD64.js} +3 -3
  74. package/dist/{vue-ui-stackbar-BDpMsTYe.js → vue-ui-stackbar-C6rjCYDD.js} +251 -236
  75. package/dist/{vue-ui-strip-plot-5qDcYPnR.js → vue-ui-strip-plot-B6cYojHQ.js} +239 -224
  76. package/dist/{vue-ui-table-Bg5HIQ3O.js → vue-ui-table-IC7SmWVd.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DmjNy1q1.js → vue-ui-table-heatmap-DHFpJMpA.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-CnkJkBk5.js → vue-ui-table-sparkline-D7wz-sCj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-RlD-9mJf.js → vue-ui-thermometer-D-oiVT3n.js} +168 -153
  80. package/dist/{vue-ui-timer-Bes74INL.js → vue-ui-timer-C9jVyX5l.js} +5 -5
  81. package/dist/vue-ui-tiremarks-B1bM9Aoo.js +358 -0
  82. package/dist/{vue-ui-treemap-BG1Omm38.js → vue-ui-treemap-DX48YlU5.js} +374 -362
  83. package/dist/{vue-ui-vertical-bar-CwqQyZFX.js → vue-ui-vertical-bar-6SjKPQWR.js} +252 -237
  84. package/dist/{vue-ui-waffle-Ce3T4BPp.js → vue-ui-waffle-CYao9MMw.js} +232 -220
  85. package/dist/vue-ui-wheel-USuDhMwW.js +352 -0
  86. package/dist/vue-ui-word-cloud-TOBTs7yF.js +659 -0
  87. package/dist/{vue-ui-world-B9PxVO4n.js → vue-ui-world-C2qikqBa.js} +237 -222
  88. package/dist/{vue-ui-xy-DtJ7qJib.js → vue-ui-xy-DxwgKoO-.js} +557 -544
  89. package/dist/{vue-ui-xy-canvas-S6YpFgzs.js → vue-ui-xy-canvas-N69OpVn8.js} +395 -380
  90. package/package.json +1 -1
  91. package/dist/vue-data-ui-B8EWlMIK.js +0 -301
  92. package/dist/vue-ui-tiremarks-DiLS3akQ.js +0 -343
  93. package/dist/vue-ui-wheel-6B0WTkf2.js +0 -337
  94. package/dist/vue-ui-word-cloud-ByYZCOh7.js +0 -644
@@ -1,18 +1,19 @@
1
- import { defineAsyncComponent as S, computed as f, ref as y, watch as Re, shallowRef as Oe, onMounted as ht, onBeforeUnmount as pt, nextTick as D, createElementBlock as u, openBlock as s, unref as r, normalizeStyle as ie, normalizeClass as Ne, createBlock as I, createCommentVNode as h, createElementVNode as v, createVNode as Pe, createSlots as ft, withCtx as x, renderSlot as g, normalizeProps as T, guardReactiveProps as L, Fragment as F, renderList as R, toDisplayString as q, createTextVNode as gt } from "vue";
2
- import { u as xt, c as mt, a as bt, C as J, o as kt, e as O, D as wt, v as W, f as $, X as _t, w as K, s as Ct, E as Ve, q as $t, r as At, x as zt, y as St } from "./index-DvIXJm6t.js";
3
- import { t as It, u as Tt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Me } from "./useNestedProp-DrYHm61t.js";
5
- import { u as Lt } from "./usePrinter-CWnXbGMb.js";
6
- import { u as Ft } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as Rt } from "./useChartAccessibility-9icAAmYg.js";
8
- import Ot from "./Title-Gi81VwUM.js";
9
- import { S as Nt } from "./Slicer-BrqtJG2E.js";
10
- import { u as Pt } from "./useTimeLabels-Mrr0jrpL.js";
11
- import { _ as Vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"], Ut = { key: 1 }, Dt = ["id"], Wt = ["stop-color"], Gt = ["stop-color"], Ht = ["stop-color"], jt = ["id"], Xt = ["stop-color"], Yt = ["stop-color"], qt = ["stop-color"], Jt = { key: 0 }, Kt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Zt = { key: 1 }, el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], tl = ["x", "y", "font-size", "fill", "font-weight"], ll = { key: 2 }, al = ["transform", "text-anchor", "font-size", "fill", "font-weight"], ol = { key: 3 }, sl = ["transform", "text-anchor", "font-size", "fill", "font-weight"], ul = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], il = { key: 0 }, nl = ["cx", "cy", "r", "fill"], rl = ["cx", "cy", "r", "fill"], dl = { key: 1 }, vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], yl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], cl = ["x", "y", "height", "width", "fill", "rx"], hl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], pl = ["x", "y", "height", "width", "fill", "onMouseover"], fl = {
1
+ import { defineAsyncComponent as I, computed as f, ref as y, watch as Oe, shallowRef as Ne, onMounted as pt, onBeforeUnmount as ft, nextTick as D, createElementBlock as u, openBlock as s, unref as r, normalizeStyle as ie, normalizeClass as Pe, createBlock as T, createCommentVNode as h, createElementVNode as v, createVNode as Ve, createSlots as gt, withCtx as m, renderSlot as g, normalizeProps as L, guardReactiveProps as F, Fragment as R, renderList as O, toDisplayString as q, createTextVNode as xt } from "vue";
2
+ import { u as mt, c as bt, a as kt, C as J, o as wt, e as N, D as _t, v as W, f as $, X as Ct, w as K, s as $t, E as Ee, q as At, r as zt, x as St, y as It } from "./index-CobsZUkv.js";
3
+ import { t as Tt, u as Lt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Me } from "./useNestedProp-BwL5wmVa.js";
5
+ import { u as Ft } from "./usePrinter-DPh6U_Qk.js";
6
+ import { u as Rt } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as Ot } from "./useChartAccessibility-9icAAmYg.js";
8
+ import Nt from "./Title-DpERl1yr.js";
9
+ import { S as Pt } from "./Slicer-CpSu7plp.js";
10
+ import { u as Vt } from "./useTimeLabels-Mrr0jrpL.js";
11
+ import Et from "./img-utitT2Gd.js";
12
+ import { _ as Mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const Bt = ["id"], Ut = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"], Wt = { key: 1 }, Gt = ["id"], Ht = ["stop-color"], jt = ["stop-color"], Xt = ["stop-color"], Yt = ["id"], qt = ["stop-color"], Jt = ["stop-color"], Kt = ["stop-color"], Qt = { key: 0 }, Zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], tl = { key: 1 }, ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], al = ["x", "y", "font-size", "fill", "font-weight"], ol = { key: 2 }, sl = ["transform", "text-anchor", "font-size", "fill", "font-weight"], ul = { key: 3 }, il = ["transform", "text-anchor", "font-size", "fill", "font-weight"], nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], rl = { key: 0 }, dl = ["cx", "cy", "r", "fill"], vl = ["cx", "cy", "r", "fill"], yl = { key: 1 }, cl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], hl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pl = ["x", "y", "height", "width", "fill", "rx"], fl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], gl = ["x", "y", "height", "width", "fill", "onMouseover"], xl = {
13
14
  key: 5,
14
15
  class: "vue-data-ui-watermark"
15
- }, gl = ["innerHTML"], xl = {
16
+ }, ml = ["innerHTML"], bl = {
16
17
  __name: "vue-ui-candlestick",
17
18
  props: {
18
19
  config: {
@@ -28,27 +29,27 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
28
29
  }
29
30
  }
30
31
  },
31
- setup(Ee, { expose: Be }) {
32
- const Ue = S(() => import("./vue-ui-accordion-D55kCO5G.js")), De = S(() => import("./DataTable-CHBLjKtZ.js")), We = S(() => import("./PackageVersion-Bg_9KCU-.js")), Ge = S(() => import("./PenAndPaper-BPTpbnay.js")), He = S(() => import("./vue-ui-skeleton-BAOt2neL.js")), je = S(() => import("./Tooltip-CJxVw7-T.js")), Xe = S(() => import("./UserOptions-CBEK6_jo.js")), { vue_ui_candlestick: Ye } = xt(), i = Ee, E = f(() => !!i.dataset && i.dataset.length), k = y(mt()), qe = y(null), Q = y(!1), Z = y(""), ee = y(void 0), ne = y(0), B = y(null), re = y(null), de = y(null), ve = y(null), ye = y(null), ce = y(null), G = y(0), he = y(0), pe = y(0), e = f({
32
+ setup(Be, { expose: Ue }) {
33
+ const De = I(() => import("./vue-ui-accordion-UewqY6OI.js")), We = I(() => import("./DataTable-Dt-TIOyY.js")), Ge = I(() => import("./PackageVersion-C-4Ee8BQ.js")), He = I(() => import("./PenAndPaper-Cde-wJ3N.js")), je = I(() => import("./vue-ui-skeleton-8s4xts8z.js")), Xe = I(() => import("./Tooltip-DA0bYKFG.js")), Ye = I(() => import("./UserOptions-DTEJ3UM_.js")), { vue_ui_candlestick: qe } = mt(), i = Be, B = f(() => !!i.dataset && i.dataset.length), w = y(bt()), Je = y(null), Q = y(!1), Z = y(""), ee = y(void 0), ne = y(0), A = y(null), re = y(null), de = y(null), ve = y(null), ye = y(null), ce = y(null), G = y(0), he = y(0), pe = y(0), e = f({
33
34
  get: () => me(),
34
35
  set: (t) => t
35
- }), { userOptionsVisible: te, setUserOptionsVisibility: fe, keepUserOptionState: ge } = Ft({ config: e.value }), { svgRef: xe } = Rt({ config: e.value.style.title });
36
+ }), { userOptionsVisible: te, setUserOptionsVisibility: fe, keepUserOptionState: ge } = Rt({ config: e.value }), { svgRef: xe } = Ot({ config: e.value.style.title });
36
37
  function me() {
37
38
  const t = Me({
38
39
  userConfig: i.config,
39
- defaultConfig: Ye
40
+ defaultConfig: qe
40
41
  });
41
42
  let a = {};
42
43
  return t.theme ? a = {
43
44
  ...Me({
44
- userConfig: bt.vue_ui_candlestick[t.theme] || i.config,
45
+ userConfig: kt.vue_ui_candlestick[t.theme] || i.config,
45
46
  defaultConfig: t
46
47
  })
47
48
  } : a = t, i.config && J(i.config, "style.zoom.startIndex") ? a.style.zoom.startIndex = i.config.style.zoom.startIndex : a.style.zoom.startIndex = null, i.config && J(i.config, "style.zoom.endIndex") ? a.style.zoom.endIndex = i.config.style.zoom.endIndex : a.style.zoom.endIndex = null, i.config && J(i.config, "style.layout.grid.yAxis.scale.min") ? a.style.layout.grid.yAxis.scale.min = i.config.style.layout.grid.yAxis.scale.min : a.style.layout.grid.yAxis.scale.min = null, i.config && J(i.config, "style.layout.grid.yAxis.scale.max") ? a.style.layout.grid.yAxis.scale.max = i.config.style.layout.grid.yAxis.scale.max : a.style.layout.grid.yAxis.scale.max = null, a;
48
49
  }
49
- Re(() => i.config, (t) => {
50
- e.value = me(), te.value = !e.value.userOptions.showOnChartHover, be(), G.value += 1, pe.value += 1, he.value += 1, _.value.showTable = e.value.table.show, _.value.showTooltip = e.value.style.tooltip.show;
51
- }, { deep: !0 }), Re(() => i.dataset, (t) => {
50
+ Oe(() => i.config, (t) => {
51
+ e.value = me(), te.value = !e.value.userOptions.showOnChartHover, be(), G.value += 1, pe.value += 1, he.value += 1, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.tooltip.show;
52
+ }, { deep: !0 }), Oe(() => i.dataset, (t) => {
52
53
  p.value.start = 0, p.value.end = t.length, G.value += 1;
53
54
  }, { deep: !0 });
54
55
  const c = y({
@@ -56,18 +57,18 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
56
57
  width: e.value.style.width,
57
58
  xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
58
59
  yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
59
- }), A = Oe(null), N = Oe(null);
60
- ht(() => {
60
+ }), z = Ne(null), P = Ne(null);
61
+ pt(() => {
61
62
  be();
62
63
  });
63
64
  function be() {
64
- if (kt(i.dataset) && O({
65
+ if (wt(i.dataset) && N({
65
66
  componentName: "VueUiCandlestick",
66
67
  type: "dataset"
67
68
  }), e.value.responsive) {
68
- const t = It(() => {
69
- const { width: a, height: l } = Tt({
70
- chart: B.value,
69
+ const t = Tt(() => {
70
+ const { width: a, height: l } = Lt({
71
+ chart: A.value,
71
72
  title: e.value.style.title.text ? re.value : null,
72
73
  slicer: ve.value,
73
74
  legend: de.value,
@@ -75,13 +76,13 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
75
76
  noTitle: ce.value
76
77
  });
77
78
  requestAnimationFrame(() => {
78
- c.value.width = a, c.value.height = l, e.value.responsiveProportionalSizing ? (c.value.xAxisFontSize = Ve({
79
+ c.value.width = a, c.value.height = l, e.value.responsiveProportionalSizing ? (c.value.xAxisFontSize = Ee({
79
80
  relator: Math.min(a, l),
80
81
  adjuster: e.value.style.width,
81
82
  source: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
82
83
  threshold: 6,
83
84
  fallback: 6
84
- }), c.value.yAxisFontSize = Ve({
85
+ }), c.value.yAxisFontSize = Ee({
85
86
  relator: Math.min(a, l),
86
87
  adjuster: e.value.style.width,
87
88
  source: e.value.style.layout.grid.yAxis.dataLabels.fontSize,
@@ -90,18 +91,18 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
90
91
  })) : (c.value.xAxisFontSize = e.value.style.layout.grid.xAxis.dataLabels.fontSize, c.value.yAxisFontSize = e.value.style.layout.grid.yAxis.dataLabels.fontSize);
91
92
  });
92
93
  });
93
- A.value && (N.value && A.value.unobserve(N.value), A.value.disconnect()), A.value = new ResizeObserver(t), N.value = B.value.parentNode, A.value.observe(N.value);
94
+ z.value && (P.value && z.value.unobserve(P.value), z.value.disconnect()), z.value = new ResizeObserver(t), P.value = A.value.parentNode, z.value.observe(P.value);
94
95
  }
95
96
  Se();
96
97
  }
97
- pt(() => {
98
- A.value && (N.value && A.value.unobserve(N.value), A.value.disconnect());
98
+ ft(() => {
99
+ z.value && (P.value && z.value.unobserve(P.value), z.value.disconnect());
99
100
  });
100
- const { isPrinting: ke, isImaging: we, generatePdf: _e, generateImage: Ce } = Lt({
101
- elementId: `vue-ui-candlestick_${k.value}`,
101
+ const { isPrinting: ke, isImaging: we, generatePdf: _e, generateImage: Ce } = Ft({
102
+ elementId: `vue-ui-candlestick_${w.value}`,
102
103
  fileName: e.value.style.title.text || "vue-ui-candlestick",
103
104
  options: e.value.userOptions.print
104
- }), Je = f(() => e.value.userOptions.show && !e.value.style.title.text), _ = y({
105
+ }), Ke = f(() => e.value.userOptions.show && !e.value.style.title.text), C = y({
105
106
  showTable: e.value.table.show,
106
107
  showTooltip: e.value.style.tooltip.show
107
108
  }), n = f(() => {
@@ -121,32 +122,32 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
121
122
  ...t,
122
123
  absoluteIndex: a
123
124
  })).slice(p.value.start, p.value.end)), le = f(() => (i.dataset.forEach((t, a) => {
124
- [null, void 0].includes(t[0]) && O({
125
+ [null, void 0].includes(t[0]) && N({
125
126
  componentName: "VueUiCandlestick",
126
127
  type: "datasetAttribute",
127
128
  property: "period (index 0)",
128
129
  index: a
129
- }), [null, void 0].includes(t[1]) && O({
130
+ }), [null, void 0].includes(t[1]) && N({
130
131
  componentName: "VueUiCandlestick",
131
132
  type: "datasetAttribute",
132
133
  property: "open (index 1)",
133
134
  index: a
134
- }), [null, void 0].includes(t[2]) && O({
135
+ }), [null, void 0].includes(t[2]) && N({
135
136
  componentName: "VueUiCandlestick",
136
137
  type: "datasetAttribute",
137
138
  property: "high (index 2)",
138
139
  index: a
139
- }), [null, void 0].includes(t[3]) && O({
140
+ }), [null, void 0].includes(t[3]) && N({
140
141
  componentName: "VueUiCandlestick",
141
142
  type: "datasetAttribute",
142
143
  property: "low (index 3)",
143
144
  index: a
144
- }), [null, void 0].includes(t[4]) && O({
145
+ }), [null, void 0].includes(t[4]) && N({
145
146
  componentName: "VueUiCandlestick",
146
147
  type: "datasetAttribute",
147
148
  property: "last (index 4)",
148
149
  index: a
149
- }), [null, void 0].includes(t[5]) && O({
150
+ }), [null, void 0].includes(t[5]) && N({
150
151
  componentName: "VueUiCandlestick",
151
152
  type: "datasetAttribute",
152
153
  property: "volume (index 5)",
@@ -166,133 +167,133 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
166
167
  max: t,
167
168
  min: a
168
169
  };
169
- }), w = f(() => wt(Ae.value.min, Ae.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
170
+ }), _ = f(() => _t(Ae.value.min, Ae.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
170
171
  function H(t, a) {
171
172
  return {
172
173
  ...t,
173
174
  x: W(n.value.left + a * d.value + d.value / 2),
174
- y: W(n.value.top + (1 - (t - w.value.min) / (w.value.max - w.value.min)) * n.value.height),
175
+ y: W(n.value.top + (1 - (t - _.value.min) / (_.value.max - _.value.min)) * n.value.height),
175
176
  value: W(t)
176
177
  };
177
178
  }
178
- const m = f(() => le.value.map((t, a) => {
179
- const l = H(t.open, a), o = H(t.high, a), C = H(t.low, a), b = H(t.last, a), z = t.last > t.open;
179
+ const b = f(() => le.value.map((t, a) => {
180
+ const l = H(t.open, a), o = H(t.high, a), k = H(t.low, a), x = H(t.last, a), S = t.last > t.open;
180
181
  return {
181
182
  period: t.period,
182
183
  open: l,
183
184
  high: o,
184
- low: C,
185
- last: b,
185
+ low: k,
186
+ last: x,
186
187
  volume: t.volume,
187
- isBullish: z,
188
+ isBullish: S,
188
189
  absoluteIndex: t.absoluteIndex
189
190
  };
190
191
  }));
191
- function Ke(t) {
192
- return W((t - w.value.min) / (w.value.max - w.value.min));
192
+ function Qe(t) {
193
+ return W((t - _.value.min) / (_.value.max - _.value.min));
193
194
  }
194
- const Qe = f(() => w.value.ticks.map((t) => ({
195
- y: n.value.bottom - n.value.height * Ke(t),
195
+ const Ze = f(() => _.value.ticks.map((t) => ({
196
+ y: n.value.bottom - n.value.height * Qe(t),
196
197
  value: W(t)
197
- }))), Ze = f(() => le.value.map((t) => t.period)), P = f(() => Pt({
198
+ }))), et = f(() => le.value.map((t) => t.period)), V = f(() => Vt({
198
199
  values: i.dataset.map((t) => t[0]),
199
200
  maxDatapoints: i.dataset.length,
200
201
  formatter: e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
201
202
  start: p.value.start,
202
203
  end: p.value.end
203
204
  })), ze = f(() => e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
204
- start: P.value.find((t) => t.absoluteIndex === p.value.start).text,
205
- end: P.value.find((t) => t.absoluteIndex === p.value.end - 1).text
205
+ start: V.value.find((t) => t.absoluteIndex === p.value.start).text,
206
+ end: V.value.find((t) => t.absoluteIndex === p.value.end - 1).text
206
207
  } : {
207
208
  start: i.dataset[p.value.start] ? i.dataset[p.value.start][0] : i.dataset[0][0],
208
209
  end: i.dataset[p.value.end - 1] ? i.dataset[p.value.end - 1][0] : i.dataset.at(-1)[0]
209
210
  }), ae = y(null);
210
- function et(t, a) {
211
+ function tt(t, a) {
211
212
  ee.value = t, ae.value = {
212
213
  datapoint: a,
213
214
  seriesIndex: t,
214
- series: m.value,
215
+ series: b.value,
215
216
  config: e.value
216
217
  };
217
218
  const l = e.value.style.tooltip.customFormat;
218
- if (zt(l) && St(() => l({
219
+ if (St(l) && It(() => l({
219
220
  seriesIndex: t,
220
221
  datapoint: a,
221
- series: m.value,
222
+ series: b.value,
222
223
  config: e.value
223
224
  })))
224
225
  Z.value = l({
225
226
  seriesIndex: t,
226
227
  datapoint: a,
227
- series: m.value,
228
+ series: b.value,
228
229
  config: e.value
229
230
  });
230
231
  else if (e.value.style.tooltip.show) {
231
232
  let o = "";
232
- const { period: C, open: b, high: z, low: se, last: ue, volume: Y, isBullish: Fe } = m.value[t], { period: ml, open: ot, high: st, low: ut, last: it, volume: nt } = e.value.translations, rt = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? P.value[t].text : C;
233
+ const { period: k, open: x, high: S, low: se, last: ue, volume: Y, isBullish: Re } = b.value[t], { period: kl, open: st, high: ut, low: it, last: nt, volume: rt } = e.value.translations, dt = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? V.value[t].text : k;
233
234
  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}"
234
- fill="${e.value.style.layout.candle.gradient.show ? Fe ? `url(#bullish_gradient_${k.value})` : `url(#bearish_gradient_${k.value})` : Fe ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${rt}</div>`, o += `${nt} : <b>${isNaN(Y) ? "-" : Number(Y.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}">`;
235
- const dt = $({
236
- p: e.value.style.tooltip.prefix,
237
- v: b.value,
238
- s: e.value.style.tooltip.suffix,
239
- r: e.value.style.tooltip.roundingValue
240
- });
241
- o += `<div>${ot}: <b>${dt}</b></div>`;
235
+ fill="${e.value.style.layout.candle.gradient.show ? Re ? `url(#bullish_gradient_${w.value})` : `url(#bearish_gradient_${w.value})` : Re ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${dt}</div>`, o += `${rt} : <b>${isNaN(Y) ? "-" : Number(Y.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}">`;
242
236
  const vt = $({
243
237
  p: e.value.style.tooltip.prefix,
244
- v: z.value,
238
+ v: x.value,
245
239
  s: e.value.style.tooltip.suffix,
246
240
  r: e.value.style.tooltip.roundingValue
247
241
  });
248
242
  o += `<div>${st}: <b>${vt}</b></div>`;
249
243
  const yt = $({
250
244
  p: e.value.style.tooltip.prefix,
251
- v: se.value,
245
+ v: S.value,
252
246
  s: e.value.style.tooltip.suffix,
253
247
  r: e.value.style.tooltip.roundingValue
254
248
  });
255
249
  o += `<div>${ut}: <b>${yt}</b></div>`;
256
250
  const ct = $({
251
+ p: e.value.style.tooltip.prefix,
252
+ v: se.value,
253
+ s: e.value.style.tooltip.suffix,
254
+ r: e.value.style.tooltip.roundingValue
255
+ });
256
+ o += `<div>${it}: <b>${ct}</b></div>`;
257
+ const ht = $({
257
258
  p: e.value.style.tooltip.prefix,
258
259
  v: ue.value,
259
260
  s: e.value.style.tooltip.suffix,
260
261
  r: e.value.style.tooltip.roundingValue
261
262
  });
262
- o += `<div>${it}: <b>${ct}</b></div>`, o += "</div>", Z.value = `<div style="text-align:right">${o}</div>`;
263
+ o += `<div>${nt}: <b>${ht}</b></div>`, o += "</div>", Z.value = `<div style="text-align:right">${o}</div>`;
263
264
  }
264
265
  Q.value = !0;
265
266
  }
266
- function tt() {
267
+ function lt() {
267
268
  Se();
268
269
  }
269
- const V = y(null);
270
+ const E = y(null);
270
271
  async function Se() {
271
- (e.value.style.zoom.startIndex !== null || e.value.style.zoom.endIndex !== null) && V.value ? (e.value.style.zoom.startIndex !== null && (await D(), await D(), V.value && V.value.setStartValue(e.value.style.zoom.startIndex)), e.value.style.zoom.endIndex !== null && (await D(), await D(), V.value && V.value.setEndValue(lt(e.value.style.zoom.endIndex + 1)))) : (p.value = {
272
+ (e.value.style.zoom.startIndex !== null || e.value.style.zoom.endIndex !== null) && E.value ? (e.value.style.zoom.startIndex !== null && (await D(), await D(), E.value && E.value.setStartValue(e.value.style.zoom.startIndex)), e.value.style.zoom.endIndex !== null && (await D(), await D(), E.value && E.value.setEndValue(at(e.value.style.zoom.endIndex + 1)))) : (p.value = {
272
273
  start: 0,
273
274
  end: U.value
274
275
  }, G.value += 1);
275
276
  }
276
- function lt(t) {
277
+ function at(t) {
277
278
  const a = U.value;
278
279
  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;
279
280
  }
280
281
  function Ie(t = null) {
281
282
  D(() => {
282
- const a = [e.value.translations.period, e.value.translations.open, e.value.translations.high, e.value.translations.low, e.value.translations.last, e.value.translations.volume], l = m.value.map((b, z) => [
283
- e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? P.value[z].text : b.period,
284
- b.open.value,
285
- b.high.value,
286
- b.low.value,
287
- b.last.value,
288
- b.volume
289
- ]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(l), C = $t(o);
290
- t ? t(C) : At({ csvContent: C, title: e.value.style.title.text || "vue-ui-candlestick" });
283
+ const a = [e.value.translations.period, e.value.translations.open, e.value.translations.high, e.value.translations.low, e.value.translations.last, e.value.translations.volume], l = b.value.map((x, S) => [
284
+ e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? V.value[S].text : x.period,
285
+ x.open.value,
286
+ x.high.value,
287
+ x.low.value,
288
+ x.last.value,
289
+ x.volume
290
+ ]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(l), k = At(o);
291
+ t ? t(k) : zt({ csvContent: k, title: e.value.style.title.text || "vue-ui-candlestick" });
291
292
  });
292
293
  }
293
294
  const j = f(() => {
294
- const t = m.value.map((o, C) => {
295
- const b = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? P.value[C].text : o.period, z = $({
295
+ const t = b.value.map((o, k) => {
296
+ const x = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? V.value[k].text : o.period, S = $({
296
297
  p: e.value.table.td.prefix,
297
298
  v: o.open.value,
298
299
  s: e.value.table.td.suffix,
@@ -314,8 +315,8 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
314
315
  r: e.value.table.td.roundingValue
315
316
  });
316
317
  return [
317
- `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" height="12" width="12" style="margin-right: 6px"><rect x="0" y="0" height="12" width="12" :rx="${e.value.style.layout.candle.borderRadius * 3}" fill="${e.value.style.layout.candle.gradient.show ? o.isBullish ? `url(#bullish_gradient_${k.value}` : `url(#bearish_gradient_${k.value})` : o.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg> ${b}`,
318
- z,
318
+ `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" height="12" width="12" style="margin-right: 6px"><rect x="0" y="0" height="12" width="12" :rx="${e.value.style.layout.candle.borderRadius * 3}" fill="${e.value.style.layout.candle.gradient.show ? o.isBullish ? `url(#bullish_gradient_${w.value}` : `url(#bearish_gradient_${w.value})` : o.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg> ${x}`,
319
+ S,
319
320
  se,
320
321
  ue,
321
322
  Y,
@@ -343,36 +344,50 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
343
344
  ];
344
345
  return { head: l, body: t, config: a, colNames: l };
345
346
  }), M = y(!1);
346
- function at(t) {
347
+ function Te(t) {
347
348
  M.value = t, ne.value += 1;
348
349
  }
349
- function Te() {
350
- _.value.showTable = !_.value.showTable;
351
- }
352
350
  function Le() {
353
- _.value.showTooltip = !_.value.showTooltip;
351
+ C.value.showTable = !C.value.showTable;
352
+ }
353
+ function Fe() {
354
+ C.value.showTooltip = !C.value.showTooltip;
354
355
  }
355
356
  const X = y(!1);
356
357
  function oe() {
357
358
  X.value = !X.value;
358
359
  }
359
- return Be({
360
+ async function ot({ scale: t = 2 } = {}) {
361
+ if (!A.value) return;
362
+ const { width: a, height: l } = A.value.getBoundingClientRect(), o = a / l, { imageUri: k, base64: x } = await Et({ domElement: A.value, base64: !0, img: !0, scale: t });
363
+ return {
364
+ imageUri: k,
365
+ base64: x,
366
+ title: e.value.style.title.text,
367
+ width: a,
368
+ height: l,
369
+ aspectRatio: o
370
+ };
371
+ }
372
+ return Ue({
373
+ getImage: ot,
360
374
  generatePdf: _e,
361
375
  generateCsv: Ie,
362
376
  generateImage: Ce,
363
- toggleTable: Te,
364
- toggleTooltip: Le,
365
- toggleAnnotator: oe
377
+ toggleTable: Le,
378
+ toggleTooltip: Fe,
379
+ toggleAnnotator: oe,
380
+ toggleFullscreen: Te
366
381
  }), (t, a) => (s(), u("div", {
367
382
  ref_key: "candlestickChart",
368
- ref: B,
369
- class: Ne(`vue-ui-candlestick ${M.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
383
+ ref: A,
384
+ class: Pe(`vue-ui-candlestick ${M.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
370
385
  style: ie(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
371
- id: `vue-ui-candlestick_${k.value}`,
386
+ id: `vue-ui-candlestick_${w.value}`,
372
387
  onMouseenter: a[4] || (a[4] = () => r(fe)(!0)),
373
388
  onMouseleave: a[5] || (a[5] = () => r(fe)(!1))
374
389
  }, [
375
- e.value.userOptions.buttons.annotator ? (s(), I(r(Ge), {
390
+ e.value.userOptions.buttons.annotator ? (s(), T(r(He), {
376
391
  key: 0,
377
392
  svgRef: r(xe),
378
393
  backgroundColor: e.value.style.backgroundColor,
@@ -380,7 +395,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
380
395
  active: X.value,
381
396
  onClose: oe
382
397
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
383
- Je.value ? (s(), u("div", {
398
+ Ke.value ? (s(), u("div", {
384
399
  key: 1,
385
400
  ref_key: "noTitle",
386
401
  ref: ce,
@@ -393,7 +408,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
393
408
  ref: re,
394
409
  style: "width:100%;background:transparent"
395
410
  }, [
396
- (s(), I(Ot, {
411
+ (s(), T(Nt, {
397
412
  key: `title_${pe.value}`,
398
413
  config: {
399
414
  title: {
@@ -407,15 +422,15 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
407
422
  }
408
423
  }, null, 8, ["config"]))
409
424
  ], 512)) : h("", !0),
410
- e.value.userOptions.show && E.value && (r(ge) || r(te)) ? (s(), I(r(Xe), {
425
+ e.value.userOptions.show && B.value && (r(ge) || r(te)) ? (s(), T(r(Ye), {
411
426
  ref_key: "details",
412
- ref: qe,
427
+ ref: Je,
413
428
  key: `user_options_${ne.value}`,
414
429
  backgroundColor: e.value.style.backgroundColor,
415
430
  color: e.value.style.color,
416
431
  isImaging: r(we),
417
432
  isPrinting: r(ke),
418
- uid: k.value,
433
+ uid: w.value,
419
434
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
420
435
  hasPdf: e.value.userOptions.buttons.pdf,
421
436
  hasImg: e.value.userOptions.buttons.img,
@@ -423,92 +438,92 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
423
438
  hasTable: e.value.userOptions.buttons.table,
424
439
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
425
440
  isFullscreen: M.value,
426
- isTooltip: _.value.showTooltip,
441
+ isTooltip: C.value.showTooltip,
427
442
  titles: { ...e.value.userOptions.buttonTitles },
428
- chartElement: B.value,
443
+ chartElement: A.value,
429
444
  position: e.value.userOptions.position,
430
445
  hasAnnotator: e.value.userOptions.buttons.annotator,
431
446
  isAnnotation: X.value,
432
447
  callbacks: e.value.userOptions.callbacks,
433
448
  printScale: e.value.userOptions.print.scale,
434
- onToggleFullscreen: at,
449
+ onToggleFullscreen: Te,
435
450
  onGeneratePdf: r(_e),
436
451
  onGenerateCsv: Ie,
437
452
  onGenerateImage: r(Ce),
438
- onToggleTable: Te,
439
- onToggleTooltip: Le,
453
+ onToggleTable: Le,
454
+ onToggleTooltip: Fe,
440
455
  onToggleAnnotator: oe,
441
456
  style: ie({
442
457
  visibility: r(ge) ? r(te) ? "visible" : "hidden" : "visible"
443
458
  })
444
- }, ft({ _: 2 }, [
459
+ }, gt({ _: 2 }, [
445
460
  t.$slots.menuIcon ? {
446
461
  name: "menuIcon",
447
- fn: x(({ isOpen: l, color: o }) => [
448
- g(t.$slots, "menuIcon", T(L({ isOpen: l, color: o })), void 0, !0)
462
+ fn: m(({ isOpen: l, color: o }) => [
463
+ g(t.$slots, "menuIcon", L(F({ isOpen: l, color: o })), void 0, !0)
449
464
  ]),
450
465
  key: "0"
451
466
  } : void 0,
452
467
  t.$slots.optionTooltip ? {
453
468
  name: "optionTooltip",
454
- fn: x(() => [
469
+ fn: m(() => [
455
470
  g(t.$slots, "optionTooltip", {}, void 0, !0)
456
471
  ]),
457
472
  key: "1"
458
473
  } : void 0,
459
474
  t.$slots.optionPdf ? {
460
475
  name: "optionPdf",
461
- fn: x(() => [
476
+ fn: m(() => [
462
477
  g(t.$slots, "optionPdf", {}, void 0, !0)
463
478
  ]),
464
479
  key: "2"
465
480
  } : void 0,
466
481
  t.$slots.optionCsv ? {
467
482
  name: "optionCsv",
468
- fn: x(() => [
483
+ fn: m(() => [
469
484
  g(t.$slots, "optionCsv", {}, void 0, !0)
470
485
  ]),
471
486
  key: "3"
472
487
  } : void 0,
473
488
  t.$slots.optionImg ? {
474
489
  name: "optionImg",
475
- fn: x(() => [
490
+ fn: m(() => [
476
491
  g(t.$slots, "optionImg", {}, void 0, !0)
477
492
  ]),
478
493
  key: "4"
479
494
  } : void 0,
480
495
  t.$slots.optionTable ? {
481
496
  name: "optionTable",
482
- fn: x(() => [
497
+ fn: m(() => [
483
498
  g(t.$slots, "optionTable", {}, void 0, !0)
484
499
  ]),
485
500
  key: "5"
486
501
  } : void 0,
487
502
  t.$slots.optionFullscreen ? {
488
503
  name: "optionFullscreen",
489
- fn: x(({ toggleFullscreen: l, isFullscreen: o }) => [
490
- g(t.$slots, "optionFullscreen", T(L({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
504
+ fn: m(({ toggleFullscreen: l, isFullscreen: o }) => [
505
+ g(t.$slots, "optionFullscreen", L(F({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
491
506
  ]),
492
507
  key: "6"
493
508
  } : void 0,
494
509
  t.$slots.optionAnnotator ? {
495
510
  name: "optionAnnotator",
496
- fn: x(({ toggleAnnotator: l, isAnnotator: o }) => [
497
- g(t.$slots, "optionAnnotator", T(L({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
511
+ fn: m(({ toggleAnnotator: l, isAnnotator: o }) => [
512
+ g(t.$slots, "optionAnnotator", L(F({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
498
513
  ]),
499
514
  key: "7"
500
515
  } : void 0
501
516
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
502
- E.value ? (s(), u("svg", {
517
+ B.value ? (s(), u("svg", {
503
518
  key: 4,
504
519
  ref_key: "svgRef",
505
520
  ref: xe,
506
- xmlns: r(_t),
507
- class: Ne({ "vue-data-ui-fullscreen--on": M.value, "vue-data-ui-fulscreen--off": !M.value }),
521
+ xmlns: r(Ct),
522
+ class: Pe({ "vue-data-ui-fullscreen--on": M.value, "vue-data-ui-fulscreen--off": !M.value }),
508
523
  viewBox: `0 0 ${c.value.width <= 0 ? 10 : c.value.width} ${c.value.height <= 0 ? 10 : c.value.height}`,
509
524
  style: ie(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
510
525
  }, [
511
- Pe(r(We)),
526
+ Ve(r(Ge)),
512
527
  t.$slots["chart-background"] ? (s(), u("foreignObject", {
513
528
  key: 0,
514
529
  x: n.value.left,
@@ -520,47 +535,47 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
520
535
  }
521
536
  }, [
522
537
  g(t.$slots, "chart-background", {}, void 0, !0)
523
- ], 8, Bt)) : h("", !0),
524
- m.value.length > 0 ? (s(), u("g", Ut, [
538
+ ], 8, Dt)) : h("", !0),
539
+ b.value.length > 0 ? (s(), u("g", Wt, [
525
540
  v("defs", null, [
526
541
  v("linearGradient", {
527
- id: `bearish_gradient_${k.value}`,
542
+ id: `bearish_gradient_${w.value}`,
528
543
  x2: "0%",
529
544
  y2: "100%"
530
545
  }, [
531
546
  v("stop", {
532
547
  offset: "0%",
533
548
  "stop-color": e.value.style.layout.candle.colors.bearish
534
- }, null, 8, Wt),
549
+ }, null, 8, Ht),
535
550
  v("stop", {
536
551
  offset: "50%",
537
552
  "stop-color": `${r(K)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
538
- }, null, 8, Gt),
553
+ }, null, 8, jt),
539
554
  v("stop", {
540
555
  offset: "100%",
541
556
  "stop-color": `${r(K)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
542
- }, null, 8, Ht)
543
- ], 8, Dt),
557
+ }, null, 8, Xt)
558
+ ], 8, Gt),
544
559
  v("linearGradient", {
545
- id: `bullish_gradient_${k.value}`,
560
+ id: `bullish_gradient_${w.value}`,
546
561
  x2: "0%",
547
562
  y2: "100%"
548
563
  }, [
549
564
  v("stop", {
550
565
  offset: "0%",
551
566
  "stop-color": e.value.style.layout.candle.colors.bullish
552
- }, null, 8, Xt),
567
+ }, null, 8, qt),
553
568
  v("stop", {
554
569
  offset: "50%",
555
570
  "stop-color": `${r(K)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
556
- }, null, 8, Yt),
571
+ }, null, 8, Jt),
557
572
  v("stop", {
558
573
  offset: "100%",
559
574
  "stop-color": `${r(K)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
560
- }, null, 8, qt)
561
- ], 8, jt)
575
+ }, null, 8, Kt)
576
+ ], 8, Yt)
562
577
  ]),
563
- e.value.style.layout.grid.show ? (s(), u("g", Jt, [
578
+ e.value.style.layout.grid.show ? (s(), u("g", Qt, [
564
579
  v("line", {
565
580
  x1: n.value.left,
566
581
  x2: n.value.left,
@@ -569,7 +584,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
569
584
  stroke: e.value.style.layout.grid.stroke,
570
585
  "stroke-width": e.value.style.layout.grid.strokeWidth,
571
586
  "stroke-linecap": "round"
572
- }, null, 8, Kt),
587
+ }, null, 8, Zt),
573
588
  v("line", {
574
589
  x1: n.value.left,
575
590
  x2: n.value.right,
@@ -578,11 +593,11 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
578
593
  stroke: e.value.style.layout.grid.stroke,
579
594
  "stroke-width": e.value.style.layout.grid.strokeWidth,
580
595
  "stroke-linecap": "round"
581
- }, null, 8, Qt)
596
+ }, null, 8, el)
582
597
  ])) : h("", !0),
583
- e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g", Zt, [
584
- (s(!0), u(F, null, R(Qe.value, (l, o) => (s(), u("g", null, [
585
- l.value >= w.value.min && l.value <= w.value.max ? (s(), u("line", {
598
+ e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g", tl, [
599
+ (s(!0), u(R, null, O(Ze.value, (l, o) => (s(), u("g", null, [
600
+ l.value >= _.value.min && l.value <= _.value.max ? (s(), u("line", {
586
601
  key: 0,
587
602
  x1: n.value.left,
588
603
  x2: n.value.left - 5,
@@ -591,8 +606,8 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
591
606
  stroke: e.value.style.layout.grid.stroke,
592
607
  "stroke-width": e.value.style.layout.grid.strokeWidth,
593
608
  "stroke-linecap": "round"
594
- }, null, 8, el)) : h("", !0),
595
- l.value >= w.value.min && l.value <= w.value.max ? (s(), u("text", {
609
+ }, null, 8, ll)) : h("", !0),
610
+ l.value >= _.value.min && l.value <= _.value.max ? (s(), u("text", {
596
611
  key: 1,
597
612
  x: n.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
598
613
  y: l.y + c.value.yAxisFontSize / 3,
@@ -605,33 +620,33 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
605
620
  v: l.value,
606
621
  s: e.value.style.layout.grid.yAxis.dataLabels.suffix,
607
622
  r: e.value.style.layout.grid.yAxis.dataLabels.roundingValue
608
- })), 9, tl)) : h("", !0)
623
+ })), 9, al)) : h("", !0)
609
624
  ]))), 256))
610
625
  ])) : h("", !0),
611
- e.value.style.layout.grid.xAxis.dataLabels.show && !e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), u("g", ll, [
612
- (s(!0), u(F, null, R(Ze.value, (l, o) => (s(), u("g", null, [
626
+ e.value.style.layout.grid.xAxis.dataLabels.show && !e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), u("g", ol, [
627
+ (s(!0), u(R, null, O(et.value, (l, o) => (s(), u("g", null, [
613
628
  v("text", {
614
629
  transform: `translate(${n.value.left + d.value * o + d.value / 2}, ${n.value.bottom + c.value.xAxisFontSize * 2 + e.value.style.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
615
630
  "text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
616
631
  "font-size": c.value.xAxisFontSize,
617
632
  fill: e.value.style.layout.grid.xAxis.dataLabels.color,
618
633
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
619
- }, q(l), 9, al)
634
+ }, q(l), 9, sl)
620
635
  ]))), 256))
621
636
  ])) : h("", !0),
622
- e.value.style.layout.grid.xAxis.dataLabels.show && e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), u("g", ol, [
623
- (s(!0), u(F, null, R(P.value, (l, o) => (s(), u("g", null, [
637
+ e.value.style.layout.grid.xAxis.dataLabels.show && e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), u("g", ul, [
638
+ (s(!0), u(R, null, O(V.value, (l, o) => (s(), u("g", null, [
624
639
  v("text", {
625
640
  transform: `translate(${n.value.left + d.value * o + d.value / 2}, ${n.value.bottom + c.value.xAxisFontSize * 2 + e.value.style.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
626
641
  "text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
627
642
  "font-size": c.value.xAxisFontSize,
628
643
  fill: e.value.style.layout.grid.xAxis.dataLabels.color,
629
644
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
630
- }, q(l.text), 9, sl)
645
+ }, q(l.text), 9, il)
631
646
  ]))), 256))
632
647
  ])) : h("", !0),
633
648
  v("g", null, [
634
- (s(!0), u(F, null, R(m.value, (l, o) => (s(), u("g", null, [
649
+ (s(!0), u(R, null, O(b.value, (l, o) => (s(), u("g", null, [
635
650
  v("line", {
636
651
  x1: l.open.x,
637
652
  x2: l.open.x,
@@ -640,22 +655,22 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
640
655
  stroke: e.value.style.layout.wick.stroke,
641
656
  "stroke-width": e.value.style.layout.wick.strokeWidth,
642
657
  "stroke-linecap": "round"
643
- }, null, 8, ul),
644
- e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", il, [
658
+ }, null, 8, nl),
659
+ e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", rl, [
645
660
  v("circle", {
646
661
  cx: l.high.x,
647
662
  cy: l.high.y,
648
663
  r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
649
664
  fill: e.value.style.layout.wick.extremity.color
650
- }, null, 8, nl),
665
+ }, null, 8, dl),
651
666
  v("circle", {
652
667
  cx: l.low.x,
653
668
  cy: l.low.y,
654
669
  r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
655
670
  fill: e.value.style.layout.wick.extremity.color
656
- }, null, 8, rl)
671
+ }, null, 8, vl)
657
672
  ])) : h("", !0),
658
- e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", dl, [
673
+ e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", yl, [
659
674
  v("line", {
660
675
  x1: l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
661
676
  x2: l.high.x + (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
@@ -664,7 +679,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
664
679
  stroke: e.value.style.layout.wick.extremity.color,
665
680
  "stroke-width": e.value.style.layout.wick.strokeWidth,
666
681
  "stroke-linecap": "round"
667
- }, null, 8, vl),
682
+ }, null, 8, cl),
668
683
  v("line", {
669
684
  x1: l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
670
685
  x2: l.low.x + (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
@@ -673,12 +688,12 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
673
688
  stroke: e.value.style.layout.wick.extremity.color,
674
689
  "stroke-width": e.value.style.layout.wick.strokeWidth,
675
690
  "stroke-linecap": "round"
676
- }, null, 8, yl)
691
+ }, null, 8, hl)
677
692
  ])) : h("", !0)
678
693
  ]))), 256))
679
694
  ]),
680
695
  v("g", null, [
681
- (s(!0), u(F, null, R(m.value, (l, o) => (s(), u("rect", {
696
+ (s(!0), u(R, null, O(b.value, (l, o) => (s(), u("rect", {
682
697
  x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
683
698
  y: l.isBullish ? l.last.y : l.open.y,
684
699
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
@@ -686,40 +701,40 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
686
701
  fill: e.value.style.layout.candle.gradient.underlayer,
687
702
  rx: e.value.style.layout.candle.borderRadius,
688
703
  stroke: "none"
689
- }, null, 8, cl))), 256)),
690
- (s(!0), u(F, null, R(m.value, (l, o) => (s(), u("rect", {
704
+ }, null, 8, pl))), 256)),
705
+ (s(!0), u(R, null, O(b.value, (l, o) => (s(), u("rect", {
691
706
  x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
692
707
  y: l.isBullish ? l.last.y : l.open.y,
693
708
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
694
709
  width: d.value * e.value.style.layout.candle.widthRatio <= 0 ? 1e-4 : d.value * e.value.style.layout.candle.widthRatio,
695
- fill: l.isBullish ? e.value.style.layout.candle.gradient.show ? `url(#bullish_gradient_${k.value})` : e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.gradient.show ? `url(#bearish_gradient_${k.value})` : e.value.style.layout.candle.colors.bearish,
710
+ fill: l.isBullish ? e.value.style.layout.candle.gradient.show ? `url(#bullish_gradient_${w.value})` : e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.gradient.show ? `url(#bearish_gradient_${w.value})` : e.value.style.layout.candle.colors.bearish,
696
711
  rx: e.value.style.layout.candle.borderRadius,
697
712
  stroke: e.value.style.layout.candle.stroke,
698
713
  "stroke-width": e.value.style.layout.candle.strokeWidth,
699
714
  "stroke-linecap": "round",
700
715
  "stroke-linejoin": "round"
701
- }, null, 8, hl))), 256))
716
+ }, null, 8, fl))), 256))
702
717
  ]),
703
718
  v("g", null, [
704
- (s(!0), u(F, null, R(m.value, (l, o) => (s(), u("rect", {
719
+ (s(!0), u(R, null, O(b.value, (l, o) => (s(), u("rect", {
705
720
  x: n.value.left + o * d.value,
706
721
  y: n.value.top,
707
722
  height: n.value.height <= 0 ? 1e-4 : n.value.height,
708
723
  width: d.value <= 0 ? 1e-4 : d.value,
709
- fill: ee.value === o ? r(Ct)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
710
- onMouseover: (C) => et(o, l),
711
- onMouseleave: a[0] || (a[0] = (C) => {
724
+ fill: ee.value === o ? r($t)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
725
+ onMouseover: (k) => tt(o, l),
726
+ onMouseleave: a[0] || (a[0] = (k) => {
712
727
  ee.value = void 0, Q.value = !1;
713
728
  })
714
- }, null, 40, pl))), 256))
729
+ }, null, 40, gl))), 256))
715
730
  ])
716
731
  ])) : h("", !0),
717
732
  g(t.$slots, "svg", { svg: c.value }, void 0, !0)
718
- ], 14, Et)) : h("", !0),
719
- t.$slots.watermark ? (s(), u("div", fl, [
720
- g(t.$slots, "watermark", T(L({ isPrinting: r(ke) || r(we) })), void 0, !0)
733
+ ], 14, Ut)) : h("", !0),
734
+ t.$slots.watermark ? (s(), u("div", xl, [
735
+ g(t.$slots, "watermark", L(F({ isPrinting: r(ke) || r(we) })), void 0, !0)
721
736
  ])) : h("", !0),
722
- E.value ? h("", !0) : (s(), I(r(He), {
737
+ B.value ? h("", !0) : (s(), T(r(je), {
723
738
  key: 6,
724
739
  config: {
725
740
  type: "candlesticks",
@@ -736,14 +751,14 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
736
751
  }
737
752
  }
738
753
  }, null, 8, ["config"])),
739
- e.value.style.zoom.show && E.value ? (s(), u("div", {
754
+ e.value.style.zoom.show && B.value ? (s(), u("div", {
740
755
  key: 7,
741
756
  ref_key: "chartSlicer",
742
757
  ref: ve
743
758
  }, [
744
- (s(), I(Nt, {
759
+ (s(), T(Pt, {
745
760
  ref_key: "slicerComponent",
746
- ref: V,
761
+ ref: E,
747
762
  key: `slicer_${G.value}`,
748
763
  background: e.value.style.zoom.color,
749
764
  borderColor: e.value.style.backgroundColor,
@@ -766,10 +781,10 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
766
781
  refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : U.value,
767
782
  enableRangeHandles: e.value.style.zoom.enableRangeHandles,
768
783
  enableSelectionDrag: e.value.style.zoom.enableSelectionDrag,
769
- onReset: tt
784
+ onReset: lt
770
785
  }, {
771
- "reset-action": x(({ reset: l }) => [
772
- g(t.$slots, "reset-action", T(L({ reset: l })), void 0, !0)
786
+ "reset-action": m(({ reset: l }) => [
787
+ g(t.$slots, "reset-action", L(F({ reset: l })), void 0, !0)
773
788
  ]),
774
789
  _: 3
775
790
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"]))
@@ -778,7 +793,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
778
793
  ref_key: "chartLegend",
779
794
  ref: de
780
795
  }, [
781
- g(t.$slots, "legend", { legend: m.value }, void 0, !0)
796
+ g(t.$slots, "legend", { legend: b.value }, void 0, !0)
782
797
  ], 512),
783
798
  t.$slots.source ? (s(), u("div", {
784
799
  key: 8,
@@ -788,8 +803,8 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
788
803
  }, [
789
804
  g(t.$slots, "source", {}, void 0, !0)
790
805
  ], 512)) : h("", !0),
791
- Pe(r(je), {
792
- show: _.value.showTooltip && Q.value,
806
+ Ve(r(Xe), {
807
+ show: C.value.showTooltip && Q.value,
793
808
  backgroundColor: e.value.style.tooltip.backgroundColor,
794
809
  color: e.value.style.tooltip.color,
795
810
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -799,24 +814,24 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
799
814
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
800
815
  position: e.value.style.tooltip.position,
801
816
  offsetY: e.value.style.tooltip.offsetY,
802
- parent: B.value,
817
+ parent: A.value,
803
818
  content: Z.value,
804
819
  isFullscreen: M.value,
805
820
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
806
821
  }, {
807
- "tooltip-before": x(() => [
808
- g(t.$slots, "tooltip-before", T(L({ ...ae.value })), void 0, !0)
822
+ "tooltip-before": m(() => [
823
+ g(t.$slots, "tooltip-before", L(F({ ...ae.value })), void 0, !0)
809
824
  ]),
810
- "tooltip-after": x(() => [
811
- g(t.$slots, "tooltip-after", T(L({ ...ae.value })), void 0, !0)
825
+ "tooltip-after": m(() => [
826
+ g(t.$slots, "tooltip-after", L(F({ ...ae.value })), void 0, !0)
812
827
  ]),
813
828
  _: 3
814
829
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
815
- E.value ? (s(), I(r(Ue), {
830
+ B.value ? (s(), T(r(De), {
816
831
  key: 9,
817
832
  hideDetails: "",
818
833
  config: {
819
- open: _.value.showTable,
834
+ open: C.value.showTable,
820
835
  maxHeight: 1e4,
821
836
  body: {
822
837
  backgroundColor: e.value.style.backgroundColor,
@@ -828,30 +843,30 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
828
843
  }
829
844
  }
830
845
  }, {
831
- content: x(() => [
832
- (s(), I(r(De), {
846
+ content: m(() => [
847
+ (s(), T(r(We), {
833
848
  key: `table_${he.value}`,
834
849
  colNames: j.value.colNames,
835
850
  head: j.value.head,
836
851
  body: j.value.body,
837
852
  config: j.value.config,
838
853
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
839
- onClose: a[3] || (a[3] = (l) => _.value.showTable = !1)
854
+ onClose: a[3] || (a[3] = (l) => C.value.showTable = !1)
840
855
  }, {
841
- th: x(({ th: l }) => [
842
- gt(q(l), 1)
856
+ th: m(({ th: l }) => [
857
+ xt(q(l), 1)
843
858
  ]),
844
- td: x(({ td: l }) => [
845
- v("div", { innerHTML: l }, null, 8, gl)
859
+ td: m(({ td: l }) => [
860
+ v("div", { innerHTML: l }, null, 8, ml)
846
861
  ]),
847
862
  _: 1
848
863
  }, 8, ["colNames", "head", "body", "config", "title"]))
849
864
  ]),
850
865
  _: 1
851
866
  }, 8, ["config"])) : h("", !0)
852
- ], 46, Mt));
867
+ ], 46, Bt));
853
868
  }
854
- }, Ll = /* @__PURE__ */ Vt(xl, [["__scopeId", "data-v-1e1e32d3"]]);
869
+ }, Ol = /* @__PURE__ */ Mt(bl, [["__scopeId", "data-v-6c3f7cbc"]]);
855
870
  export {
856
- Ll as default
871
+ Ol as default
857
872
  };