vue-data-ui 2.16.6 → 2.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/README.md +83 -53
  2. package/dist/{Arrow-DCqxVwey.js → Arrow-BAEkZGzL.js} +1 -1
  3. package/dist/{BaseDraggableDialog-6DIKXIBU.js → BaseDraggableDialog-ChCkcmj_.js} +2 -2
  4. package/dist/{BaseIcon-Bn996RXm.js → BaseIcon-naqtCxVi.js} +1 -1
  5. package/dist/{ColorPicker-OFfLkKNb.js → ColorPicker-CfIPgxcj.js} +2 -2
  6. package/dist/{DataTable-CHBLjKtZ.js → DataTable-D0VYDhfx.js} +2 -2
  7. package/dist/{Legend-nBXoxXJH.js → Legend-Bxlv67uY.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-Cls2idJS.js → NonSvgPenAndPaper-b_oVy-Dd.js} +3 -3
  9. package/dist/{PackageVersion-Bg_9KCU-.js → PackageVersion-5TR4ocqp.js} +1 -1
  10. package/dist/{PenAndPaper-BPTpbnay.js → PenAndPaper-D6AqipIO.js} +32 -32
  11. package/dist/{Shape-Bnf512BA.js → Shape-DtFT5EJa.js} +1 -1
  12. package/dist/{Slicer-BrqtJG2E.js → Slicer-CL6-MRI6.js} +2 -2
  13. package/dist/{SparkTooltip-C-rLATAw.js → SparkTooltip-Bcv1aoA5.js} +1 -1
  14. package/dist/{Title-Gi81VwUM.js → Title-B-2bV0SW.js} +1 -1
  15. package/dist/{Tooltip-CJxVw7-T.js → Tooltip-CoQnTnr-.js} +1 -1
  16. package/dist/{UserOptions-CBEK6_jo.js → UserOptions-Dd34lEKb.js} +2 -2
  17. package/dist/{dom-to-png-CRHNL8VU.js → dom-to-png-2AA0wHlX.js} +1 -1
  18. package/dist/{img-BgOg8opa.js → img-Y_hYz-ZC.js} +1 -1
  19. package/dist/{index-DvIXJm6t.js → index-pPGk-uhD.js} +1 -1
  20. package/dist/{pdf-DhTxBrbJ.js → pdf-yfk3d1is.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1096 -160
  23. package/dist/types/vue-data-ui.d.ts +1096 -160
  24. package/dist/{useNestedProp-DrYHm61t.js → useNestedProp-DjACxgdZ.js} +1 -1
  25. package/dist/{usePrinter-CWnXbGMb.js → usePrinter-DDHcrl0A.js} +2 -2
  26. package/dist/vue-data-ui-CIWxgKjd.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-D5Wpdqfk.js} +228 -220
  29. package/dist/{vue-ui-accordion-D55kCO5G.js → vue-ui-accordion-CVnA550V.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-DSshyUn-.js → vue-ui-age-pyramid-BuAl-zC5.js} +179 -171
  31. package/dist/{vue-ui-annotator-DQSMv_k2.js → vue-ui-annotator-gl2A20m3.js} +2 -2
  32. package/dist/{vue-ui-bullet-FeScjj7q.js → vue-ui-bullet-D-VMKpwe.js} +127 -119
  33. package/dist/{vue-ui-candlestick-Drupgyoi.js → vue-ui-candlestick-1r6YwiUV.js} +194 -186
  34. package/dist/{vue-ui-carousel-table-BTZQRZfO.js → vue-ui-carousel-table-B6UJoNtP.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DLWjPwRL.js → vue-ui-chestnut-DnlBYpC5.js} +226 -218
  36. package/dist/{vue-ui-chord-BgLbFBT9.js → vue-ui-chord-D3kpzYjp.js} +175 -167
  37. package/dist/{vue-ui-circle-pack-VXcRh2gy.js → vue-ui-circle-pack-CHgdpoYu.js} +188 -180
  38. package/dist/{vue-ui-cursor-DWmfnM25.js → vue-ui-cursor-63EAvElT.js} +2 -2
  39. package/dist/{vue-ui-dashboard-CGIocEHj.js → vue-ui-dashboard-Da6CPET-.js} +62 -62
  40. package/dist/{vue-ui-digits-BgQch3Fc.js → vue-ui-digits-CA8pUKej.js} +2 -2
  41. package/dist/{vue-ui-donut-B59bCV5_.js → vue-ui-donut-CKa7nFjt.js} +329 -321
  42. package/dist/{vue-ui-donut-evolution-CI8qBIQd.js → vue-ui-donut-evolution-qeBEA4W8.js} +245 -237
  43. package/dist/{vue-ui-dumbbell-CXv7sk88.js → vue-ui-dumbbell-Bm0PvAKT.js} +144 -136
  44. package/dist/{vue-ui-flow-DxF0ELtv.js → vue-ui-flow-C2dqXvrU.js} +169 -161
  45. package/dist/{vue-ui-funnel-Bco8rqF8.js → vue-ui-funnel-Dvy5rRld.js} +132 -124
  46. package/dist/{vue-ui-galaxy-CaPJwwOj.js → vue-ui-galaxy-Y8LYp5n2.js} +168 -160
  47. package/dist/{vue-ui-gauge-D7arhDmb.js → vue-ui-gauge-BBo0jWAP.js} +164 -156
  48. package/dist/{vue-ui-gizmo-Dwli-Mip.js → vue-ui-gizmo-DjXfTOWn.js} +3 -3
  49. package/dist/{vue-ui-heatmap-Cyn-ahGO.js → vue-ui-heatmap-BbxRpltP.js} +240 -228
  50. package/dist/{vue-ui-history-plot-C2AEToqx.js → vue-ui-history-plot-ChYf3Nvc.js} +214 -206
  51. package/dist/{vue-ui-kpi-DKDibSdl.js → vue-ui-kpi-Vfc5-JnE.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-B8OVutUx.js → vue-ui-mini-loader-C0-Nsz8K.js} +2 -2
  53. package/dist/{vue-ui-molecule-BVSrqIGw.js → vue-ui-molecule-B7Yu7vzF.js} +158 -150
  54. package/dist/{vue-ui-mood-radar-DvlyS3RN.js → vue-ui-mood-radar-C8JUTwNw.js} +128 -120
  55. package/dist/{vue-ui-nested-donuts-D9ssSus6.js → vue-ui-nested-donuts-D0RgFifU.js} +196 -188
  56. package/dist/{vue-ui-onion-Buu4VX3u.js → vue-ui-onion-D4U7TL_N.js} +166 -158
  57. package/dist/{vue-ui-parallel-coordinate-plot-DFLUvhxD.js → vue-ui-parallel-coordinate-plot-CXMT7Rjr.js} +186 -178
  58. package/dist/{vue-ui-quadrant-BMC7NBGd.js → vue-ui-quadrant-B13pTVVZ.js} +182 -174
  59. package/dist/{vue-ui-quick-chart-DB9RKUkb.js → vue-ui-quick-chart-C0UL4o63.js} +305 -297
  60. package/dist/{vue-ui-radar-68NMPxxQ.js → vue-ui-radar-XpdiXnhz.js} +167 -159
  61. package/dist/{vue-ui-rating-swH9kRr3.js → vue-ui-rating-CM8ZrUb1.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CT-EdSjO.js → vue-ui-relation-circle-CYoFNekk.js} +144 -136
  63. package/dist/{vue-ui-ridgeline-DftROPaX.js → vue-ui-ridgeline-QUquE6ck.js} +196 -188
  64. package/dist/{vue-ui-rings-M-9dPI5D.js → vue-ui-rings-DwT0IfOh.js} +145 -137
  65. package/dist/{vue-ui-scatter-CsGhaFJh.js → vue-ui-scatter-zDpy1udm.js} +179 -172
  66. package/dist/{vue-ui-skeleton-BAOt2neL.js → vue-ui-skeleton-DJPjyNYn.js} +3 -3
  67. package/dist/{vue-ui-smiley-7_kIgPg-.js → vue-ui-smiley-DoDXl6k0.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DHlQQpwz.js → vue-ui-spark-trend-CniV6Cpr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BnHhzuKf.js → vue-ui-sparkbar-Ds2ITgwn.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-WtfkCK8g.js → vue-ui-sparkgauge-CosfK-kw.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-B2u4XLVd.js → vue-ui-sparkhistogram-C7O1wPAJ.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DKIyUlSm.js → vue-ui-sparkline-B_iUj3F2.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BLGz2qIb.js → vue-ui-sparkstackbar-DBhWrysr.js} +3 -3
  74. package/dist/{vue-ui-stackbar-BDpMsTYe.js → vue-ui-stackbar-C3aV4IcL.js} +240 -232
  75. package/dist/{vue-ui-strip-plot-5qDcYPnR.js → vue-ui-strip-plot-Bvr1GAzH.js} +204 -196
  76. package/dist/{vue-ui-table-Bg5HIQ3O.js → vue-ui-table-DQKKRgyo.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DmjNy1q1.js → vue-ui-table-heatmap-Dyqj5XJC.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-CnkJkBk5.js → vue-ui-table-sparkline-D4RubyLj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-RlD-9mJf.js → vue-ui-thermometer-B0FKI5cG.js} +145 -137
  80. package/dist/{vue-ui-timer-Bes74INL.js → vue-ui-timer-DUCBRIl-.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-DiLS3akQ.js → vue-ui-tiremarks-CRt4UQZD.js} +108 -100
  82. package/dist/vue-ui-treemap-CWP5nYDx.js +961 -0
  83. package/dist/{vue-ui-vertical-bar-CwqQyZFX.js → vue-ui-vertical-bar-C5fPYltO.js} +278 -270
  84. package/dist/{vue-ui-waffle-Ce3T4BPp.js → vue-ui-waffle-BpWLlfpg.js} +188 -180
  85. package/dist/{vue-ui-wheel-6B0WTkf2.js → vue-ui-wheel-CTzuCroy.js} +112 -104
  86. package/dist/{vue-ui-word-cloud-ByYZCOh7.js → vue-ui-word-cloud-BPokdaP1.js} +198 -190
  87. package/dist/{vue-ui-world-B9PxVO4n.js → vue-ui-world-CS6k-oil.js} +199 -191
  88. package/dist/{vue-ui-xy-DtJ7qJib.js → vue-ui-xy-CQ425kLR.js} +550 -544
  89. package/dist/{vue-ui-xy-canvas-S6YpFgzs.js → vue-ui-xy-canvas-D2IFwAr7.js} +306 -298
  90. package/package.json +1 -1
  91. package/dist/vue-data-ui-B8EWlMIK.js +0 -301
  92. package/dist/vue-ui-treemap-BG1Omm38.js +0 -953
@@ -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 mt } from "vue";
2
+ import { u as xt, 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-pPGk-uhD.js";
3
+ import { t as Tt, u as Lt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Me } from "./useNestedProp-DjACxgdZ.js";
5
+ import { u as Ft } from "./usePrinter-DDHcrl0A.js";
6
+ import { u as Rt } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as Ot } from "./useChartAccessibility-9icAAmYg.js";
8
+ import Nt from "./Title-B-2bV0SW.js";
9
+ import { S as Pt } from "./Slicer-CL6-MRI6.js";
10
+ import { u as Vt } from "./useTimeLabels-Mrr0jrpL.js";
11
+ import Et from "./img-Y_hYz-ZC.js";
12
+ import { _ as Mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const Ut = ["id"], Bt = ["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"], ml = {
13
14
  key: 5,
14
15
  class: "vue-data-ui-watermark"
15
- }, gl = ["innerHTML"], xl = {
16
+ }, xl = ["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({
33
- get: () => me(),
32
+ setup(Ue, { expose: Be }) {
33
+ const De = I(() => import("./vue-ui-accordion-CVnA550V.js")), We = I(() => import("./DataTable-D0VYDhfx.js")), Ge = I(() => import("./PackageVersion-5TR4ocqp.js")), He = I(() => import("./PenAndPaper-D6AqipIO.js")), je = I(() => import("./vue-ui-skeleton-DJPjyNYn.js")), Xe = I(() => import("./Tooltip-CoQnTnr-.js")), Ye = I(() => import("./UserOptions-Dd34lEKb.js")), { vue_ui_candlestick: qe } = xt(), i = Ue, U = f(() => !!i.dataset && i.dataset.length), k = y(bt()), Je = y(null), Q = y(!1), Z = y(""), ee = y(void 0), ne = y(0), z = 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({
34
+ get: () => xe(),
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
- function me() {
36
+ }), { userOptionsVisible: te, setUserOptionsVisibility: fe, keepUserOptionState: ge } = Rt({ config: e.value }), { svgRef: me } = Ot({ config: e.value.style.title });
37
+ function xe() {
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 = xe(), 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;
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
+ }), A = 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: z.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
+ A.value && (P.value && A.value.unobserve(P.value), A.value.disconnect()), A.value = new ResizeObserver(t), P.value = z.value.parentNode, A.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
+ A.value && (P.value && A.value.unobserve(P.value), A.value.disconnect());
99
100
  });
100
- const { isPrinting: ke, isImaging: we, generatePdf: _e, generateImage: Ce } = Lt({
101
+ const { isPrinting: ke, isImaging: we, generatePdf: _e, generateImage: Ce } = Ft({
101
102
  elementId: `vue-ui-candlestick_${k.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), _ = y({
105
106
  showTable: e.value.table.show,
106
107
  showTooltip: e.value.style.tooltip.show
107
108
  }), n = f(() => {
@@ -114,39 +115,39 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
114
115
  width: c.value.width - o - a,
115
116
  height: c.value.height - t - l
116
117
  };
117
- }), U = f(() => i.dataset.length), p = y({
118
+ }), B = f(() => i.dataset.length), p = y({
118
119
  start: 0,
119
- end: U.value
120
+ end: B.value
120
121
  }), $e = f(() => i.dataset.map((t, a) => ({
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,7 +167,7 @@ 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
+ }), w = 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,
@@ -175,8 +176,8 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "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 x = f(() => le.value.map((t, a) => {
180
+ const l = H(t.open, a), o = H(t.high, a), C = H(t.low, a), b = H(t.last, a), S = t.last > t.open;
180
181
  return {
181
182
  period: t.period,
182
183
  open: l,
@@ -184,115 +185,115 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
184
185
  low: C,
185
186
  last: b,
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
+ function Qe(t) {
192
193
  return W((t - w.value.min) / (w.value.max - w.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(() => w.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: x.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: x.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: x.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: C, open: b, high: S, low: se, last: ue, volume: Y, isBullish: Re } = x.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 : C;
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 = $({
235
+ fill="${e.value.style.layout.candle.gradient.show ? Re ? `url(#bullish_gradient_${k.value})` : `url(#bearish_gradient_${k.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}">`;
236
+ const vt = $({
236
237
  p: e.value.style.tooltip.prefix,
237
238
  v: b.value,
238
239
  s: e.value.style.tooltip.suffix,
239
240
  r: e.value.style.tooltip.roundingValue
240
241
  });
241
- o += `<div>${ot}: <b>${dt}</b></div>`;
242
- const vt = $({
242
+ o += `<div>${st}: <b>${vt}</b></div>`;
243
+ const yt = $({
243
244
  p: e.value.style.tooltip.prefix,
244
- v: z.value,
245
+ v: S.value,
245
246
  s: e.value.style.tooltip.suffix,
246
247
  r: e.value.style.tooltip.roundingValue
247
248
  });
248
- o += `<div>${st}: <b>${vt}</b></div>`;
249
- const yt = $({
249
+ o += `<div>${ut}: <b>${yt}</b></div>`;
250
+ const ct = $({
250
251
  p: e.value.style.tooltip.prefix,
251
252
  v: se.value,
252
253
  s: e.value.style.tooltip.suffix,
253
254
  r: e.value.style.tooltip.roundingValue
254
255
  });
255
- o += `<div>${ut}: <b>${yt}</b></div>`;
256
- const ct = $({
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
- end: U.value
274
+ end: B.value
274
275
  }, G.value += 1);
275
276
  }
276
- function lt(t) {
277
- const a = U.value;
277
+ function at(t) {
278
+ const a = B.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,
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 = x.value.map((b, S) => [
284
+ e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? V.value[S].text : b.period,
284
285
  b.open.value,
285
286
  b.high.value,
286
287
  b.low.value,
287
288
  b.last.value,
288
289
  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" });
290
+ ]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(l), C = At(o);
291
+ t ? t(C) : zt({ csvContent: C, 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 = x.value.map((o, C) => {
296
+ const b = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? V.value[C].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,
@@ -315,7 +316,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
315
316
  });
316
317
  return [
317
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_${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,
319
+ S,
319
320
  se,
320
321
  ue,
321
322
  Y,
@@ -343,44 +344,51 @@ 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
+ function Le() {
350
351
  _.value.showTable = !_.value.showTable;
351
352
  }
352
- function Le() {
353
+ function Fe() {
353
354
  _.value.showTooltip = !_.value.showTooltip;
354
355
  }
355
356
  const X = y(!1);
356
357
  function oe() {
357
358
  X.value = !X.value;
358
359
  }
360
+ async function ot({ scale: t = 2 } = {}) {
361
+ if (!z.value) return;
362
+ const { imageUri: a, base64: l } = await Et({ domElement: z.value, base64: !0, img: !0, scale: t });
363
+ return { imageUri: a, base64: l };
364
+ }
359
365
  return Be({
366
+ getImage: ot,
360
367
  generatePdf: _e,
361
368
  generateCsv: Ie,
362
369
  generateImage: Ce,
363
- toggleTable: Te,
364
- toggleTooltip: Le,
365
- toggleAnnotator: oe
370
+ toggleTable: Le,
371
+ toggleTooltip: Fe,
372
+ toggleAnnotator: oe,
373
+ toggleFullscreen: Te
366
374
  }), (t, a) => (s(), u("div", {
367
375
  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"}`),
376
+ ref: z,
377
+ class: Pe(`vue-ui-candlestick ${M.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
370
378
  style: ie(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
371
379
  id: `vue-ui-candlestick_${k.value}`,
372
380
  onMouseenter: a[4] || (a[4] = () => r(fe)(!0)),
373
381
  onMouseleave: a[5] || (a[5] = () => r(fe)(!1))
374
382
  }, [
375
- e.value.userOptions.buttons.annotator ? (s(), I(r(Ge), {
383
+ e.value.userOptions.buttons.annotator ? (s(), T(r(He), {
376
384
  key: 0,
377
- svgRef: r(xe),
385
+ svgRef: r(me),
378
386
  backgroundColor: e.value.style.backgroundColor,
379
387
  color: e.value.style.color,
380
388
  active: X.value,
381
389
  onClose: oe
382
390
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
383
- Je.value ? (s(), u("div", {
391
+ Ke.value ? (s(), u("div", {
384
392
  key: 1,
385
393
  ref_key: "noTitle",
386
394
  ref: ce,
@@ -393,7 +401,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
393
401
  ref: re,
394
402
  style: "width:100%;background:transparent"
395
403
  }, [
396
- (s(), I(Ot, {
404
+ (s(), T(Nt, {
397
405
  key: `title_${pe.value}`,
398
406
  config: {
399
407
  title: {
@@ -407,9 +415,9 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
407
415
  }
408
416
  }, null, 8, ["config"]))
409
417
  ], 512)) : h("", !0),
410
- e.value.userOptions.show && E.value && (r(ge) || r(te)) ? (s(), I(r(Xe), {
418
+ e.value.userOptions.show && U.value && (r(ge) || r(te)) ? (s(), T(r(Ye), {
411
419
  ref_key: "details",
412
- ref: qe,
420
+ ref: Je,
413
421
  key: `user_options_${ne.value}`,
414
422
  backgroundColor: e.value.style.backgroundColor,
415
423
  color: e.value.style.color,
@@ -425,90 +433,90 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
425
433
  isFullscreen: M.value,
426
434
  isTooltip: _.value.showTooltip,
427
435
  titles: { ...e.value.userOptions.buttonTitles },
428
- chartElement: B.value,
436
+ chartElement: z.value,
429
437
  position: e.value.userOptions.position,
430
438
  hasAnnotator: e.value.userOptions.buttons.annotator,
431
439
  isAnnotation: X.value,
432
440
  callbacks: e.value.userOptions.callbacks,
433
441
  printScale: e.value.userOptions.print.scale,
434
- onToggleFullscreen: at,
442
+ onToggleFullscreen: Te,
435
443
  onGeneratePdf: r(_e),
436
444
  onGenerateCsv: Ie,
437
445
  onGenerateImage: r(Ce),
438
- onToggleTable: Te,
439
- onToggleTooltip: Le,
446
+ onToggleTable: Le,
447
+ onToggleTooltip: Fe,
440
448
  onToggleAnnotator: oe,
441
449
  style: ie({
442
450
  visibility: r(ge) ? r(te) ? "visible" : "hidden" : "visible"
443
451
  })
444
- }, ft({ _: 2 }, [
452
+ }, gt({ _: 2 }, [
445
453
  t.$slots.menuIcon ? {
446
454
  name: "menuIcon",
447
- fn: x(({ isOpen: l, color: o }) => [
448
- g(t.$slots, "menuIcon", T(L({ isOpen: l, color: o })), void 0, !0)
455
+ fn: m(({ isOpen: l, color: o }) => [
456
+ g(t.$slots, "menuIcon", L(F({ isOpen: l, color: o })), void 0, !0)
449
457
  ]),
450
458
  key: "0"
451
459
  } : void 0,
452
460
  t.$slots.optionTooltip ? {
453
461
  name: "optionTooltip",
454
- fn: x(() => [
462
+ fn: m(() => [
455
463
  g(t.$slots, "optionTooltip", {}, void 0, !0)
456
464
  ]),
457
465
  key: "1"
458
466
  } : void 0,
459
467
  t.$slots.optionPdf ? {
460
468
  name: "optionPdf",
461
- fn: x(() => [
469
+ fn: m(() => [
462
470
  g(t.$slots, "optionPdf", {}, void 0, !0)
463
471
  ]),
464
472
  key: "2"
465
473
  } : void 0,
466
474
  t.$slots.optionCsv ? {
467
475
  name: "optionCsv",
468
- fn: x(() => [
476
+ fn: m(() => [
469
477
  g(t.$slots, "optionCsv", {}, void 0, !0)
470
478
  ]),
471
479
  key: "3"
472
480
  } : void 0,
473
481
  t.$slots.optionImg ? {
474
482
  name: "optionImg",
475
- fn: x(() => [
483
+ fn: m(() => [
476
484
  g(t.$slots, "optionImg", {}, void 0, !0)
477
485
  ]),
478
486
  key: "4"
479
487
  } : void 0,
480
488
  t.$slots.optionTable ? {
481
489
  name: "optionTable",
482
- fn: x(() => [
490
+ fn: m(() => [
483
491
  g(t.$slots, "optionTable", {}, void 0, !0)
484
492
  ]),
485
493
  key: "5"
486
494
  } : void 0,
487
495
  t.$slots.optionFullscreen ? {
488
496
  name: "optionFullscreen",
489
- fn: x(({ toggleFullscreen: l, isFullscreen: o }) => [
490
- g(t.$slots, "optionFullscreen", T(L({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
497
+ fn: m(({ toggleFullscreen: l, isFullscreen: o }) => [
498
+ g(t.$slots, "optionFullscreen", L(F({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
491
499
  ]),
492
500
  key: "6"
493
501
  } : void 0,
494
502
  t.$slots.optionAnnotator ? {
495
503
  name: "optionAnnotator",
496
- fn: x(({ toggleAnnotator: l, isAnnotator: o }) => [
497
- g(t.$slots, "optionAnnotator", T(L({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
504
+ fn: m(({ toggleAnnotator: l, isAnnotator: o }) => [
505
+ g(t.$slots, "optionAnnotator", L(F({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
498
506
  ]),
499
507
  key: "7"
500
508
  } : void 0
501
509
  ]), 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", {
510
+ U.value ? (s(), u("svg", {
503
511
  key: 4,
504
512
  ref_key: "svgRef",
505
- ref: xe,
506
- xmlns: r(_t),
507
- class: Ne({ "vue-data-ui-fullscreen--on": M.value, "vue-data-ui-fulscreen--off": !M.value }),
513
+ ref: me,
514
+ xmlns: r(Ct),
515
+ class: Pe({ "vue-data-ui-fullscreen--on": M.value, "vue-data-ui-fulscreen--off": !M.value }),
508
516
  viewBox: `0 0 ${c.value.width <= 0 ? 10 : c.value.width} ${c.value.height <= 0 ? 10 : c.value.height}`,
509
517
  style: ie(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
510
518
  }, [
511
- Pe(r(We)),
519
+ Ve(r(Ge)),
512
520
  t.$slots["chart-background"] ? (s(), u("foreignObject", {
513
521
  key: 0,
514
522
  x: n.value.left,
@@ -520,8 +528,8 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
520
528
  }
521
529
  }, [
522
530
  g(t.$slots, "chart-background", {}, void 0, !0)
523
- ], 8, Bt)) : h("", !0),
524
- m.value.length > 0 ? (s(), u("g", Ut, [
531
+ ], 8, Dt)) : h("", !0),
532
+ x.value.length > 0 ? (s(), u("g", Wt, [
525
533
  v("defs", null, [
526
534
  v("linearGradient", {
527
535
  id: `bearish_gradient_${k.value}`,
@@ -531,16 +539,16 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
531
539
  v("stop", {
532
540
  offset: "0%",
533
541
  "stop-color": e.value.style.layout.candle.colors.bearish
534
- }, null, 8, Wt),
542
+ }, null, 8, Ht),
535
543
  v("stop", {
536
544
  offset: "50%",
537
545
  "stop-color": `${r(K)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
538
- }, null, 8, Gt),
546
+ }, null, 8, jt),
539
547
  v("stop", {
540
548
  offset: "100%",
541
549
  "stop-color": `${r(K)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
542
- }, null, 8, Ht)
543
- ], 8, Dt),
550
+ }, null, 8, Xt)
551
+ ], 8, Gt),
544
552
  v("linearGradient", {
545
553
  id: `bullish_gradient_${k.value}`,
546
554
  x2: "0%",
@@ -549,18 +557,18 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
549
557
  v("stop", {
550
558
  offset: "0%",
551
559
  "stop-color": e.value.style.layout.candle.colors.bullish
552
- }, null, 8, Xt),
560
+ }, null, 8, qt),
553
561
  v("stop", {
554
562
  offset: "50%",
555
563
  "stop-color": `${r(K)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
556
- }, null, 8, Yt),
564
+ }, null, 8, Jt),
557
565
  v("stop", {
558
566
  offset: "100%",
559
567
  "stop-color": `${r(K)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
560
- }, null, 8, qt)
561
- ], 8, jt)
568
+ }, null, 8, Kt)
569
+ ], 8, Yt)
562
570
  ]),
563
- e.value.style.layout.grid.show ? (s(), u("g", Jt, [
571
+ e.value.style.layout.grid.show ? (s(), u("g", Qt, [
564
572
  v("line", {
565
573
  x1: n.value.left,
566
574
  x2: n.value.left,
@@ -569,7 +577,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
569
577
  stroke: e.value.style.layout.grid.stroke,
570
578
  "stroke-width": e.value.style.layout.grid.strokeWidth,
571
579
  "stroke-linecap": "round"
572
- }, null, 8, Kt),
580
+ }, null, 8, Zt),
573
581
  v("line", {
574
582
  x1: n.value.left,
575
583
  x2: n.value.right,
@@ -578,10 +586,10 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
578
586
  stroke: e.value.style.layout.grid.stroke,
579
587
  "stroke-width": e.value.style.layout.grid.strokeWidth,
580
588
  "stroke-linecap": "round"
581
- }, null, 8, Qt)
589
+ }, null, 8, el)
582
590
  ])) : 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, [
591
+ e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g", tl, [
592
+ (s(!0), u(R, null, O(Ze.value, (l, o) => (s(), u("g", null, [
585
593
  l.value >= w.value.min && l.value <= w.value.max ? (s(), u("line", {
586
594
  key: 0,
587
595
  x1: n.value.left,
@@ -591,7 +599,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
591
599
  stroke: e.value.style.layout.grid.stroke,
592
600
  "stroke-width": e.value.style.layout.grid.strokeWidth,
593
601
  "stroke-linecap": "round"
594
- }, null, 8, el)) : h("", !0),
602
+ }, null, 8, ll)) : h("", !0),
595
603
  l.value >= w.value.min && l.value <= w.value.max ? (s(), u("text", {
596
604
  key: 1,
597
605
  x: n.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
@@ -605,33 +613,33 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
605
613
  v: l.value,
606
614
  s: e.value.style.layout.grid.yAxis.dataLabels.suffix,
607
615
  r: e.value.style.layout.grid.yAxis.dataLabels.roundingValue
608
- })), 9, tl)) : h("", !0)
616
+ })), 9, al)) : h("", !0)
609
617
  ]))), 256))
610
618
  ])) : 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, [
619
+ e.value.style.layout.grid.xAxis.dataLabels.show && !e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), u("g", ol, [
620
+ (s(!0), u(R, null, O(et.value, (l, o) => (s(), u("g", null, [
613
621
  v("text", {
614
622
  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
623
  "text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
616
624
  "font-size": c.value.xAxisFontSize,
617
625
  fill: e.value.style.layout.grid.xAxis.dataLabels.color,
618
626
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
619
- }, q(l), 9, al)
627
+ }, q(l), 9, sl)
620
628
  ]))), 256))
621
629
  ])) : 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, [
630
+ e.value.style.layout.grid.xAxis.dataLabels.show && e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), u("g", ul, [
631
+ (s(!0), u(R, null, O(V.value, (l, o) => (s(), u("g", null, [
624
632
  v("text", {
625
633
  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
634
  "text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
627
635
  "font-size": c.value.xAxisFontSize,
628
636
  fill: e.value.style.layout.grid.xAxis.dataLabels.color,
629
637
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
630
- }, q(l.text), 9, sl)
638
+ }, q(l.text), 9, il)
631
639
  ]))), 256))
632
640
  ])) : h("", !0),
633
641
  v("g", null, [
634
- (s(!0), u(F, null, R(m.value, (l, o) => (s(), u("g", null, [
642
+ (s(!0), u(R, null, O(x.value, (l, o) => (s(), u("g", null, [
635
643
  v("line", {
636
644
  x1: l.open.x,
637
645
  x2: l.open.x,
@@ -640,22 +648,22 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
640
648
  stroke: e.value.style.layout.wick.stroke,
641
649
  "stroke-width": e.value.style.layout.wick.strokeWidth,
642
650
  "stroke-linecap": "round"
643
- }, null, 8, ul),
644
- e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", il, [
651
+ }, null, 8, nl),
652
+ e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", rl, [
645
653
  v("circle", {
646
654
  cx: l.high.x,
647
655
  cy: l.high.y,
648
656
  r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
649
657
  fill: e.value.style.layout.wick.extremity.color
650
- }, null, 8, nl),
658
+ }, null, 8, dl),
651
659
  v("circle", {
652
660
  cx: l.low.x,
653
661
  cy: l.low.y,
654
662
  r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
655
663
  fill: e.value.style.layout.wick.extremity.color
656
- }, null, 8, rl)
664
+ }, null, 8, vl)
657
665
  ])) : h("", !0),
658
- e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", dl, [
666
+ e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", yl, [
659
667
  v("line", {
660
668
  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
669
  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 +672,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
664
672
  stroke: e.value.style.layout.wick.extremity.color,
665
673
  "stroke-width": e.value.style.layout.wick.strokeWidth,
666
674
  "stroke-linecap": "round"
667
- }, null, 8, vl),
675
+ }, null, 8, cl),
668
676
  v("line", {
669
677
  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
678
  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 +681,12 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
673
681
  stroke: e.value.style.layout.wick.extremity.color,
674
682
  "stroke-width": e.value.style.layout.wick.strokeWidth,
675
683
  "stroke-linecap": "round"
676
- }, null, 8, yl)
684
+ }, null, 8, hl)
677
685
  ])) : h("", !0)
678
686
  ]))), 256))
679
687
  ]),
680
688
  v("g", null, [
681
- (s(!0), u(F, null, R(m.value, (l, o) => (s(), u("rect", {
689
+ (s(!0), u(R, null, O(x.value, (l, o) => (s(), u("rect", {
682
690
  x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
683
691
  y: l.isBullish ? l.last.y : l.open.y,
684
692
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
@@ -686,8 +694,8 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
686
694
  fill: e.value.style.layout.candle.gradient.underlayer,
687
695
  rx: e.value.style.layout.candle.borderRadius,
688
696
  stroke: "none"
689
- }, null, 8, cl))), 256)),
690
- (s(!0), u(F, null, R(m.value, (l, o) => (s(), u("rect", {
697
+ }, null, 8, pl))), 256)),
698
+ (s(!0), u(R, null, O(x.value, (l, o) => (s(), u("rect", {
691
699
  x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
692
700
  y: l.isBullish ? l.last.y : l.open.y,
693
701
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
@@ -698,28 +706,28 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
698
706
  "stroke-width": e.value.style.layout.candle.strokeWidth,
699
707
  "stroke-linecap": "round",
700
708
  "stroke-linejoin": "round"
701
- }, null, 8, hl))), 256))
709
+ }, null, 8, fl))), 256))
702
710
  ]),
703
711
  v("g", null, [
704
- (s(!0), u(F, null, R(m.value, (l, o) => (s(), u("rect", {
712
+ (s(!0), u(R, null, O(x.value, (l, o) => (s(), u("rect", {
705
713
  x: n.value.left + o * d.value,
706
714
  y: n.value.top,
707
715
  height: n.value.height <= 0 ? 1e-4 : n.value.height,
708
716
  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),
717
+ fill: ee.value === o ? r($t)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
718
+ onMouseover: (C) => tt(o, l),
711
719
  onMouseleave: a[0] || (a[0] = (C) => {
712
720
  ee.value = void 0, Q.value = !1;
713
721
  })
714
- }, null, 40, pl))), 256))
722
+ }, null, 40, gl))), 256))
715
723
  ])
716
724
  ])) : h("", !0),
717
725
  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)
726
+ ], 14, Bt)) : h("", !0),
727
+ t.$slots.watermark ? (s(), u("div", ml, [
728
+ g(t.$slots, "watermark", L(F({ isPrinting: r(ke) || r(we) })), void 0, !0)
721
729
  ])) : h("", !0),
722
- E.value ? h("", !0) : (s(), I(r(He), {
730
+ U.value ? h("", !0) : (s(), T(r(je), {
723
731
  key: 6,
724
732
  config: {
725
733
  type: "candlesticks",
@@ -736,14 +744,14 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
736
744
  }
737
745
  }
738
746
  }, null, 8, ["config"])),
739
- e.value.style.zoom.show && E.value ? (s(), u("div", {
747
+ e.value.style.zoom.show && U.value ? (s(), u("div", {
740
748
  key: 7,
741
749
  ref_key: "chartSlicer",
742
750
  ref: ve
743
751
  }, [
744
- (s(), I(Nt, {
752
+ (s(), T(Pt, {
745
753
  ref_key: "slicerComponent",
746
- ref: V,
754
+ ref: E,
747
755
  key: `slicer_${G.value}`,
748
756
  background: e.value.style.zoom.color,
749
757
  borderColor: e.value.style.backgroundColor,
@@ -754,7 +762,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
754
762
  textColor: e.value.style.color,
755
763
  inputColor: e.value.style.zoom.color,
756
764
  selectColor: e.value.style.zoom.highlightColor,
757
- max: U.value,
765
+ max: B.value,
758
766
  min: 0,
759
767
  valueStart: p.value.start,
760
768
  valueEnd: p.value.end,
@@ -763,13 +771,13 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
763
771
  end: p.value.end,
764
772
  "onUpdate:end": a[2] || (a[2] = (l) => p.value.end = l),
765
773
  refreshStartPoint: e.value.style.zoom.startIndex !== null ? e.value.style.zoom.startIndex : 0,
766
- refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : U.value,
774
+ refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : B.value,
767
775
  enableRangeHandles: e.value.style.zoom.enableRangeHandles,
768
776
  enableSelectionDrag: e.value.style.zoom.enableSelectionDrag,
769
- onReset: tt
777
+ onReset: lt
770
778
  }, {
771
- "reset-action": x(({ reset: l }) => [
772
- g(t.$slots, "reset-action", T(L({ reset: l })), void 0, !0)
779
+ "reset-action": m(({ reset: l }) => [
780
+ g(t.$slots, "reset-action", L(F({ reset: l })), void 0, !0)
773
781
  ]),
774
782
  _: 3
775
783
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"]))
@@ -778,7 +786,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
778
786
  ref_key: "chartLegend",
779
787
  ref: de
780
788
  }, [
781
- g(t.$slots, "legend", { legend: m.value }, void 0, !0)
789
+ g(t.$slots, "legend", { legend: x.value }, void 0, !0)
782
790
  ], 512),
783
791
  t.$slots.source ? (s(), u("div", {
784
792
  key: 8,
@@ -788,7 +796,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
788
796
  }, [
789
797
  g(t.$slots, "source", {}, void 0, !0)
790
798
  ], 512)) : h("", !0),
791
- Pe(r(je), {
799
+ Ve(r(Xe), {
792
800
  show: _.value.showTooltip && Q.value,
793
801
  backgroundColor: e.value.style.tooltip.backgroundColor,
794
802
  color: e.value.style.tooltip.color,
@@ -799,20 +807,20 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
799
807
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
800
808
  position: e.value.style.tooltip.position,
801
809
  offsetY: e.value.style.tooltip.offsetY,
802
- parent: B.value,
810
+ parent: z.value,
803
811
  content: Z.value,
804
812
  isFullscreen: M.value,
805
813
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
806
814
  }, {
807
- "tooltip-before": x(() => [
808
- g(t.$slots, "tooltip-before", T(L({ ...ae.value })), void 0, !0)
815
+ "tooltip-before": m(() => [
816
+ g(t.$slots, "tooltip-before", L(F({ ...ae.value })), void 0, !0)
809
817
  ]),
810
- "tooltip-after": x(() => [
811
- g(t.$slots, "tooltip-after", T(L({ ...ae.value })), void 0, !0)
818
+ "tooltip-after": m(() => [
819
+ g(t.$slots, "tooltip-after", L(F({ ...ae.value })), void 0, !0)
812
820
  ]),
813
821
  _: 3
814
822
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
815
- E.value ? (s(), I(r(Ue), {
823
+ U.value ? (s(), T(r(De), {
816
824
  key: 9,
817
825
  hideDetails: "",
818
826
  config: {
@@ -828,8 +836,8 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
828
836
  }
829
837
  }
830
838
  }, {
831
- content: x(() => [
832
- (s(), I(r(De), {
839
+ content: m(() => [
840
+ (s(), T(r(We), {
833
841
  key: `table_${he.value}`,
834
842
  colNames: j.value.colNames,
835
843
  head: j.value.head,
@@ -838,20 +846,20 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Bt = ["x", "y", "width", "height"]
838
846
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
839
847
  onClose: a[3] || (a[3] = (l) => _.value.showTable = !1)
840
848
  }, {
841
- th: x(({ th: l }) => [
842
- gt(q(l), 1)
849
+ th: m(({ th: l }) => [
850
+ mt(q(l), 1)
843
851
  ]),
844
- td: x(({ td: l }) => [
845
- v("div", { innerHTML: l }, null, 8, gl)
852
+ td: m(({ td: l }) => [
853
+ v("div", { innerHTML: l }, null, 8, xl)
846
854
  ]),
847
855
  _: 1
848
856
  }, 8, ["colNames", "head", "body", "config", "title"]))
849
857
  ]),
850
858
  _: 1
851
859
  }, 8, ["config"])) : h("", !0)
852
- ], 46, Mt));
860
+ ], 46, Ut));
853
861
  }
854
- }, Ll = /* @__PURE__ */ Vt(xl, [["__scopeId", "data-v-1e1e32d3"]]);
862
+ }, Ol = /* @__PURE__ */ Mt(bl, [["__scopeId", "data-v-f8f4ab18"]]);
855
863
  export {
856
- Ll as default
864
+ Ol as default
857
865
  };