vue-data-ui 2.17.0 → 2.17.2

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 (93) hide show
  1. package/README.md +2 -1
  2. package/dist/{Arrow-BAEkZGzL.js → Arrow-Dr2lyXds.js} +1 -1
  3. package/dist/{BaseDraggableDialog-ChCkcmj_.js → BaseDraggableDialog-DQ6yA8di.js} +2 -2
  4. package/dist/{BaseIcon-naqtCxVi.js → BaseIcon-C2f-EcZc.js} +1 -1
  5. package/dist/{ColorPicker-CfIPgxcj.js → ColorPicker-D-JmDe31.js} +2 -2
  6. package/dist/{DataTable-D0VYDhfx.js → DataTable-6BxhjBzt.js} +2 -2
  7. package/dist/{Legend-Bxlv67uY.js → Legend-1R-B-7st.js} +11 -11
  8. package/dist/{NonSvgPenAndPaper-b_oVy-Dd.js → NonSvgPenAndPaper-CLNy5uCL.js} +3 -3
  9. package/dist/{PackageVersion-5TR4ocqp.js → PackageVersion-CIX1W_aa.js} +1 -1
  10. package/dist/{PenAndPaper-D6AqipIO.js → PenAndPaper-CqJ4wudB.js} +3 -3
  11. package/dist/{Shape-DtFT5EJa.js → Shape-DJKQgAbU.js} +1 -1
  12. package/dist/{Slicer-CL6-MRI6.js → Slicer-Dju6LE-h.js} +2 -2
  13. package/dist/{SparkTooltip-Bcv1aoA5.js → SparkTooltip-D2mROH3o.js} +1 -1
  14. package/dist/{Title-B-2bV0SW.js → Title-BQb7X_OR.js} +1 -1
  15. package/dist/{Tooltip-CoQnTnr-.js → Tooltip-BTnTpPdO.js} +1 -1
  16. package/dist/{UserOptions-Dd34lEKb.js → UserOptions-lneAyZKu.js} +2 -2
  17. package/dist/{dom-to-png-2AA0wHlX.js → dom-to-png-C-9BWdwN.js} +1 -1
  18. package/dist/{img-Y_hYz-ZC.js → img-D0DpKcFX.js} +1 -1
  19. package/dist/{index-pPGk-uhD.js → index-JzUbx__y.js} +22 -8
  20. package/dist/{pdf-yfk3d1is.js → pdf-BgVDfZPT.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +65 -160
  23. package/dist/types/vue-data-ui.d.ts +65 -160
  24. package/dist/{useNestedProp-DjACxgdZ.js → useNestedProp-D_jd2dz9.js} +1 -1
  25. package/dist/{usePrinter-DDHcrl0A.js → usePrinter-CsyliflB.js} +2 -2
  26. package/dist/{vue-data-ui-CIWxgKjd.js → vue-data-ui-BMv8hEcb.js} +99 -97
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-D5Wpdqfk.js → vue-ui-3d-bar-CrdssfKx.js} +41 -34
  29. package/dist/{vue-ui-accordion-CVnA550V.js → vue-ui-accordion-CcTUbiHq.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-BuAl-zC5.js → vue-ui-age-pyramid-ZYFAAcwc.js} +134 -127
  31. package/dist/{vue-ui-annotator-gl2A20m3.js → vue-ui-annotator-BEgBoRWQ.js} +2 -2
  32. package/dist/{vue-ui-bullet-D-VMKpwe.js → vue-ui-bullet-DYzLfkYB.js} +90 -83
  33. package/dist/{vue-ui-candlestick-1r6YwiUV.js → vue-ui-candlestick-Cdu2ozig.js} +101 -94
  34. package/dist/{vue-ui-carousel-table-B6UJoNtP.js → vue-ui-carousel-table-Dce2wfVw.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DnlBYpC5.js → vue-ui-chestnut-CCMAbLrw.js} +270 -263
  36. package/dist/{vue-ui-chord-D3kpzYjp.js → vue-ui-chord-B8Sl_FwD.js} +60 -53
  37. package/dist/{vue-ui-circle-pack-CHgdpoYu.js → vue-ui-circle-pack-BX6_ToJl.js} +121 -114
  38. package/dist/{vue-ui-cursor-63EAvElT.js → vue-ui-cursor-CyaF0qp7.js} +2 -2
  39. package/dist/{vue-ui-dashboard-Da6CPET-.js → vue-ui-dashboard-BmL_vnj5.js} +62 -62
  40. package/dist/{vue-ui-digits-CA8pUKej.js → vue-ui-digits-BRKjd-LQ.js} +2 -2
  41. package/dist/vue-ui-donut-LZR-vpdS.js +1338 -0
  42. package/dist/{vue-ui-donut-evolution-qeBEA4W8.js → vue-ui-donut-evolution-dax3dN9r.js} +215 -211
  43. package/dist/{vue-ui-dumbbell-Bm0PvAKT.js → vue-ui-dumbbell-C7ZNBVSy.js} +117 -110
  44. package/dist/{vue-ui-flow-C2dqXvrU.js → vue-ui-flow-BeLwkeHo.js} +105 -98
  45. package/dist/{vue-ui-funnel-Dvy5rRld.js → vue-ui-funnel-BywaRLZR.js} +138 -131
  46. package/dist/{vue-ui-galaxy-Y8LYp5n2.js → vue-ui-galaxy-DYavEd4o.js} +150 -146
  47. package/dist/{vue-ui-gauge-BBo0jWAP.js → vue-ui-gauge-DwQRlRWp.js} +125 -118
  48. package/dist/{vue-ui-gizmo-DjXfTOWn.js → vue-ui-gizmo-CjRczit6.js} +3 -3
  49. package/dist/{vue-ui-heatmap-BbxRpltP.js → vue-ui-heatmap-cRy0tcES.js} +155 -148
  50. package/dist/{vue-ui-history-plot-ChYf3Nvc.js → vue-ui-history-plot-D8aTdU23.js} +141 -134
  51. package/dist/{vue-ui-kpi-Vfc5-JnE.js → vue-ui-kpi-B10h_Hbt.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-C0-Nsz8K.js → vue-ui-mini-loader-DNhr_0fr.js} +2 -2
  53. package/dist/{vue-ui-molecule-B7Yu7vzF.js → vue-ui-molecule-4MeyWn0c.js} +141 -134
  54. package/dist/{vue-ui-mood-radar-C8JUTwNw.js → vue-ui-mood-radar-DJmgRVT2.js} +126 -119
  55. package/dist/vue-ui-nested-donuts-CgaPLxV2.js +1177 -0
  56. package/dist/{vue-ui-onion-D4U7TL_N.js → vue-ui-onion-swDxtTT3.js} +88 -81
  57. package/dist/{vue-ui-parallel-coordinate-plot-CXMT7Rjr.js → vue-ui-parallel-coordinate-plot-DayzzOmK.js} +123 -116
  58. package/dist/{vue-ui-quadrant-B13pTVVZ.js → vue-ui-quadrant-CLf81ioF.js} +151 -144
  59. package/dist/{vue-ui-quick-chart-C0UL4o63.js → vue-ui-quick-chart-smKrpIwq.js} +39 -32
  60. package/dist/{vue-ui-radar-XpdiXnhz.js → vue-ui-radar-D8CIvG2q.js} +58 -51
  61. package/dist/{vue-ui-rating-CM8ZrUb1.js → vue-ui-rating-YZivkWBI.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CYoFNekk.js → vue-ui-relation-circle-DsEYbNs_.js} +127 -120
  63. package/dist/{vue-ui-ridgeline-QUquE6ck.js → vue-ui-ridgeline-Do6C5lMY.js} +98 -91
  64. package/dist/{vue-ui-rings-DwT0IfOh.js → vue-ui-rings-CMryJR1g.js} +208 -204
  65. package/dist/{vue-ui-scatter-zDpy1udm.js → vue-ui-scatter-BtLKWQbX.js} +172 -165
  66. package/dist/{vue-ui-skeleton-DJPjyNYn.js → vue-ui-skeleton-B4KQLEQy.js} +3 -3
  67. package/dist/{vue-ui-smiley-DoDXl6k0.js → vue-ui-smiley-CZBuA-1x.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-CniV6Cpr.js → vue-ui-spark-trend-CdgyexDu.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-Ds2ITgwn.js → vue-ui-sparkbar-DuZulYgD.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-CosfK-kw.js → vue-ui-sparkgauge-Di0FmUXs.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C7O1wPAJ.js → vue-ui-sparkhistogram-CHNHz9Gm.js} +4 -4
  72. package/dist/{vue-ui-sparkline-B_iUj3F2.js → vue-ui-sparkline-TaWMi8gF.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-DBhWrysr.js → vue-ui-sparkstackbar-Bv2HEegT.js} +3 -3
  74. package/dist/{vue-ui-stackbar-C3aV4IcL.js → vue-ui-stackbar-Bk3Bbzjk.js} +61 -54
  75. package/dist/{vue-ui-strip-plot-Bvr1GAzH.js → vue-ui-strip-plot-BNMDY4GI.js} +116 -109
  76. package/dist/{vue-ui-table-DQKKRgyo.js → vue-ui-table-JG0B8HuS.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-Dyqj5XJC.js → vue-ui-table-heatmap-CCdWeNZj.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-D4RubyLj.js → vue-ui-table-sparkline-C1u_b0RG.js} +4 -4
  79. package/dist/{vue-ui-thermometer-B0FKI5cG.js → vue-ui-thermometer-DkldIXw7.js} +88 -81
  80. package/dist/{vue-ui-timer-DUCBRIl-.js → vue-ui-timer-0KDTN-Gt.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CRt4UQZD.js → vue-ui-tiremarks-FPtGzTGi.js} +127 -120
  82. package/dist/vue-ui-treemap-BA5wC5Bs.js +965 -0
  83. package/dist/{vue-ui-vertical-bar-C5fPYltO.js → vue-ui-vertical-bar-DUJWYMRn.js} +233 -226
  84. package/dist/{vue-ui-waffle-BpWLlfpg.js → vue-ui-waffle-BIngg99N.js} +183 -179
  85. package/dist/{vue-ui-wheel-CTzuCroy.js → vue-ui-wheel-l5U2UH9c.js} +121 -114
  86. package/dist/{vue-ui-word-cloud-BPokdaP1.js → vue-ui-word-cloud-CTKuxhFY.js} +152 -145
  87. package/dist/{vue-ui-world-CS6k-oil.js → vue-ui-world-Dx5O9Is5.js} +77 -70
  88. package/dist/{vue-ui-xy-CQ425kLR.js → vue-ui-xy-JjA1CMAo.js} +229 -222
  89. package/dist/{vue-ui-xy-canvas-D2IFwAr7.js → vue-ui-xy-canvas-CH82b2Lp.js} +154 -147
  90. package/package.json +1 -1
  91. package/dist/vue-ui-donut-CKa7nFjt.js +0 -1324
  92. package/dist/vue-ui-nested-donuts-D0RgFifU.js +0 -1163
  93. package/dist/vue-ui-treemap-CWP5nYDx.js +0 -961
@@ -1,19 +1,19 @@
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";
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-JzUbx__y.js";
3
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";
4
+ import { u as Me } from "./useNestedProp-D_jd2dz9.js";
5
+ import { u as Ft } from "./usePrinter-CsyliflB.js";
6
6
  import { u as Rt } from "./useUserOptionState-BIvW1Kz7.js";
7
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";
8
+ import Nt from "./Title-BQb7X_OR.js";
9
+ import { S as Pt } from "./Slicer-Dju6LE-h.js";
10
10
  import { u as Vt } from "./useTimeLabels-Mrr0jrpL.js";
11
- import Et from "./img-Y_hYz-ZC.js";
11
+ import Et from "./img-D0DpKcFX.js";
12
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
+ 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 = {
14
14
  key: 5,
15
15
  class: "vue-data-ui-watermark"
16
- }, xl = ["innerHTML"], bl = {
16
+ }, ml = ["innerHTML"], bl = {
17
17
  __name: "vue-ui-candlestick",
18
18
  props: {
19
19
  config: {
@@ -29,12 +29,12 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
29
29
  }
30
30
  }
31
31
  },
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(),
32
+ setup(Be, { expose: Ue }) {
33
+ const De = I(() => import("./vue-ui-accordion-CcTUbiHq.js")), We = I(() => import("./DataTable-6BxhjBzt.js")), Ge = I(() => import("./PackageVersion-CIX1W_aa.js")), He = I(() => import("./PenAndPaper-CqJ4wudB.js")), je = I(() => import("./vue-ui-skeleton-B4KQLEQy.js")), Xe = I(() => import("./Tooltip-BTnTpPdO.js")), Ye = I(() => import("./UserOptions-lneAyZKu.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({
34
+ get: () => me(),
35
35
  set: (t) => t
36
- }), { userOptionsVisible: te, setUserOptionsVisibility: fe, keepUserOptionState: ge } = Rt({ config: e.value }), { svgRef: me } = Ot({ config: e.value.style.title });
37
- function xe() {
36
+ }), { userOptionsVisible: te, setUserOptionsVisibility: fe, keepUserOptionState: ge } = Rt({ config: e.value }), { svgRef: xe } = Ot({ config: e.value.style.title });
37
+ function me() {
38
38
  const t = Me({
39
39
  userConfig: i.config,
40
40
  defaultConfig: qe
@@ -48,7 +48,7 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
48
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;
49
49
  }
50
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;
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
52
  }, { deep: !0 }), Oe(() => i.dataset, (t) => {
53
53
  p.value.start = 0, p.value.end = t.length, G.value += 1;
54
54
  }, { deep: !0 });
@@ -57,7 +57,7 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
57
57
  width: e.value.style.width,
58
58
  xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
59
59
  yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
60
- }), A = Ne(null), P = Ne(null);
60
+ }), z = Ne(null), P = Ne(null);
61
61
  pt(() => {
62
62
  be();
63
63
  });
@@ -68,7 +68,7 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
68
68
  }), e.value.responsive) {
69
69
  const t = Tt(() => {
70
70
  const { width: a, height: l } = Lt({
71
- chart: z.value,
71
+ chart: A.value,
72
72
  title: e.value.style.title.text ? re.value : null,
73
73
  slicer: ve.value,
74
74
  legend: de.value,
@@ -91,18 +91,18 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
91
91
  })) : (c.value.xAxisFontSize = e.value.style.layout.grid.xAxis.dataLabels.fontSize, c.value.yAxisFontSize = e.value.style.layout.grid.yAxis.dataLabels.fontSize);
92
92
  });
93
93
  });
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
+ 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);
95
95
  }
96
96
  Se();
97
97
  }
98
98
  ft(() => {
99
- A.value && (P.value && A.value.unobserve(P.value), A.value.disconnect());
99
+ z.value && (P.value && z.value.unobserve(P.value), z.value.disconnect());
100
100
  });
101
101
  const { isPrinting: ke, isImaging: we, generatePdf: _e, generateImage: Ce } = Ft({
102
- elementId: `vue-ui-candlestick_${k.value}`,
102
+ elementId: `vue-ui-candlestick_${w.value}`,
103
103
  fileName: e.value.style.title.text || "vue-ui-candlestick",
104
104
  options: e.value.userOptions.print
105
- }), Ke = 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({
106
106
  showTable: e.value.table.show,
107
107
  showTooltip: e.value.style.tooltip.show
108
108
  }), n = f(() => {
@@ -115,9 +115,9 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
115
115
  width: c.value.width - o - a,
116
116
  height: c.value.height - t - l
117
117
  };
118
- }), B = f(() => i.dataset.length), p = y({
118
+ }), U = f(() => i.dataset.length), p = y({
119
119
  start: 0,
120
- end: B.value
120
+ end: U.value
121
121
  }), $e = f(() => i.dataset.map((t, a) => ({
122
122
  ...t,
123
123
  absoluteIndex: a
@@ -167,32 +167,32 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
167
167
  max: t,
168
168
  min: a
169
169
  };
170
- }), w = f(() => _t(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));
171
171
  function H(t, a) {
172
172
  return {
173
173
  ...t,
174
174
  x: W(n.value.left + a * d.value + d.value / 2),
175
- 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),
176
176
  value: W(t)
177
177
  };
178
178
  }
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;
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;
181
181
  return {
182
182
  period: t.period,
183
183
  open: l,
184
184
  high: o,
185
- low: C,
186
- last: b,
185
+ low: k,
186
+ last: x,
187
187
  volume: t.volume,
188
188
  isBullish: S,
189
189
  absoluteIndex: t.absoluteIndex
190
190
  };
191
191
  }));
192
192
  function Qe(t) {
193
- return W((t - w.value.min) / (w.value.max - w.value.min));
193
+ return W((t - _.value.min) / (_.value.max - _.value.min));
194
194
  }
195
- const Ze = f(() => w.value.ticks.map((t) => ({
195
+ const Ze = f(() => _.value.ticks.map((t) => ({
196
196
  y: n.value.bottom - n.value.height * Qe(t),
197
197
  value: W(t)
198
198
  }))), et = f(() => le.value.map((t) => t.period)), V = f(() => Vt({
@@ -212,30 +212,30 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
212
212
  ee.value = t, ae.value = {
213
213
  datapoint: a,
214
214
  seriesIndex: t,
215
- series: x.value,
215
+ series: b.value,
216
216
  config: e.value
217
217
  };
218
218
  const l = e.value.style.tooltip.customFormat;
219
219
  if (St(l) && It(() => l({
220
220
  seriesIndex: t,
221
221
  datapoint: a,
222
- series: x.value,
222
+ series: b.value,
223
223
  config: e.value
224
224
  })))
225
225
  Z.value = l({
226
226
  seriesIndex: t,
227
227
  datapoint: a,
228
- series: x.value,
228
+ series: b.value,
229
229
  config: e.value
230
230
  });
231
231
  else if (e.value.style.tooltip.show) {
232
232
  let o = "";
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
+ 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;
234
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}"
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}">`;
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}">`;
236
236
  const vt = $({
237
237
  p: e.value.style.tooltip.prefix,
238
- v: b.value,
238
+ v: x.value,
239
239
  s: e.value.style.tooltip.suffix,
240
240
  r: e.value.style.tooltip.roundingValue
241
241
  });
@@ -271,29 +271,29 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
271
271
  async function Se() {
272
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 = {
273
273
  start: 0,
274
- end: B.value
274
+ end: U.value
275
275
  }, G.value += 1);
276
276
  }
277
277
  function at(t) {
278
- const a = B.value;
278
+ const a = U.value;
279
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;
280
280
  }
281
281
  function Ie(t = null) {
282
282
  D(() => {
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,
285
- b.open.value,
286
- b.high.value,
287
- b.low.value,
288
- b.last.value,
289
- b.volume
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" });
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" });
292
292
  });
293
293
  }
294
294
  const j = f(() => {
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 = $({
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 = $({
297
297
  p: e.value.table.td.prefix,
298
298
  v: o.open.value,
299
299
  s: e.value.table.td.suffix,
@@ -315,7 +315,7 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
315
315
  r: e.value.table.td.roundingValue
316
316
  });
317
317
  return [
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
+ `<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
319
  S,
320
320
  se,
321
321
  ue,
@@ -348,21 +348,28 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
348
348
  M.value = t, ne.value += 1;
349
349
  }
350
350
  function Le() {
351
- _.value.showTable = !_.value.showTable;
351
+ C.value.showTable = !C.value.showTable;
352
352
  }
353
353
  function Fe() {
354
- _.value.showTooltip = !_.value.showTooltip;
354
+ C.value.showTooltip = !C.value.showTooltip;
355
355
  }
356
356
  const X = y(!1);
357
357
  function oe() {
358
358
  X.value = !X.value;
359
359
  }
360
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 };
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
+ };
364
371
  }
365
- return Be({
372
+ return Ue({
366
373
  getImage: ot,
367
374
  generatePdf: _e,
368
375
  generateCsv: Ie,
@@ -373,16 +380,16 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
373
380
  toggleFullscreen: Te
374
381
  }), (t, a) => (s(), u("div", {
375
382
  ref_key: "candlestickChart",
376
- ref: z,
383
+ ref: A,
377
384
  class: Pe(`vue-ui-candlestick ${M.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
378
385
  style: ie(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
379
- id: `vue-ui-candlestick_${k.value}`,
386
+ id: `vue-ui-candlestick_${w.value}`,
380
387
  onMouseenter: a[4] || (a[4] = () => r(fe)(!0)),
381
388
  onMouseleave: a[5] || (a[5] = () => r(fe)(!1))
382
389
  }, [
383
390
  e.value.userOptions.buttons.annotator ? (s(), T(r(He), {
384
391
  key: 0,
385
- svgRef: r(me),
392
+ svgRef: r(xe),
386
393
  backgroundColor: e.value.style.backgroundColor,
387
394
  color: e.value.style.color,
388
395
  active: X.value,
@@ -415,7 +422,7 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
415
422
  }
416
423
  }, null, 8, ["config"]))
417
424
  ], 512)) : h("", !0),
418
- e.value.userOptions.show && U.value && (r(ge) || r(te)) ? (s(), T(r(Ye), {
425
+ e.value.userOptions.show && B.value && (r(ge) || r(te)) ? (s(), T(r(Ye), {
419
426
  ref_key: "details",
420
427
  ref: Je,
421
428
  key: `user_options_${ne.value}`,
@@ -423,7 +430,7 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
423
430
  color: e.value.style.color,
424
431
  isImaging: r(we),
425
432
  isPrinting: r(ke),
426
- uid: k.value,
433
+ uid: w.value,
427
434
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
428
435
  hasPdf: e.value.userOptions.buttons.pdf,
429
436
  hasImg: e.value.userOptions.buttons.img,
@@ -431,9 +438,9 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
431
438
  hasTable: e.value.userOptions.buttons.table,
432
439
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
433
440
  isFullscreen: M.value,
434
- isTooltip: _.value.showTooltip,
441
+ isTooltip: C.value.showTooltip,
435
442
  titles: { ...e.value.userOptions.buttonTitles },
436
- chartElement: z.value,
443
+ chartElement: A.value,
437
444
  position: e.value.userOptions.position,
438
445
  hasAnnotator: e.value.userOptions.buttons.annotator,
439
446
  isAnnotation: X.value,
@@ -507,10 +514,10 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
507
514
  key: "7"
508
515
  } : void 0
509
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),
510
- U.value ? (s(), u("svg", {
517
+ B.value ? (s(), u("svg", {
511
518
  key: 4,
512
519
  ref_key: "svgRef",
513
- ref: me,
520
+ ref: xe,
514
521
  xmlns: r(Ct),
515
522
  class: Pe({ "vue-data-ui-fullscreen--on": M.value, "vue-data-ui-fulscreen--off": !M.value }),
516
523
  viewBox: `0 0 ${c.value.width <= 0 ? 10 : c.value.width} ${c.value.height <= 0 ? 10 : c.value.height}`,
@@ -529,10 +536,10 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
529
536
  }, [
530
537
  g(t.$slots, "chart-background", {}, void 0, !0)
531
538
  ], 8, Dt)) : h("", !0),
532
- x.value.length > 0 ? (s(), u("g", Wt, [
539
+ b.value.length > 0 ? (s(), u("g", Wt, [
533
540
  v("defs", null, [
534
541
  v("linearGradient", {
535
- id: `bearish_gradient_${k.value}`,
542
+ id: `bearish_gradient_${w.value}`,
536
543
  x2: "0%",
537
544
  y2: "100%"
538
545
  }, [
@@ -550,7 +557,7 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
550
557
  }, null, 8, Xt)
551
558
  ], 8, Gt),
552
559
  v("linearGradient", {
553
- id: `bullish_gradient_${k.value}`,
560
+ id: `bullish_gradient_${w.value}`,
554
561
  x2: "0%",
555
562
  y2: "100%"
556
563
  }, [
@@ -590,7 +597,7 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
590
597
  ])) : h("", !0),
591
598
  e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g", tl, [
592
599
  (s(!0), u(R, null, O(Ze.value, (l, o) => (s(), u("g", null, [
593
- l.value >= w.value.min && l.value <= w.value.max ? (s(), u("line", {
600
+ l.value >= _.value.min && l.value <= _.value.max ? (s(), u("line", {
594
601
  key: 0,
595
602
  x1: n.value.left,
596
603
  x2: n.value.left - 5,
@@ -600,7 +607,7 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
600
607
  "stroke-width": e.value.style.layout.grid.strokeWidth,
601
608
  "stroke-linecap": "round"
602
609
  }, null, 8, ll)) : h("", !0),
603
- l.value >= w.value.min && l.value <= w.value.max ? (s(), u("text", {
610
+ l.value >= _.value.min && l.value <= _.value.max ? (s(), u("text", {
604
611
  key: 1,
605
612
  x: n.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
606
613
  y: l.y + c.value.yAxisFontSize / 3,
@@ -639,7 +646,7 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
639
646
  ]))), 256))
640
647
  ])) : h("", !0),
641
648
  v("g", null, [
642
- (s(!0), u(R, null, O(x.value, (l, o) => (s(), u("g", null, [
649
+ (s(!0), u(R, null, O(b.value, (l, o) => (s(), u("g", null, [
643
650
  v("line", {
644
651
  x1: l.open.x,
645
652
  x2: l.open.x,
@@ -686,7 +693,7 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
686
693
  ]))), 256))
687
694
  ]),
688
695
  v("g", null, [
689
- (s(!0), u(R, null, O(x.value, (l, o) => (s(), u("rect", {
696
+ (s(!0), u(R, null, O(b.value, (l, o) => (s(), u("rect", {
690
697
  x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
691
698
  y: l.isBullish ? l.last.y : l.open.y,
692
699
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
@@ -695,12 +702,12 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
695
702
  rx: e.value.style.layout.candle.borderRadius,
696
703
  stroke: "none"
697
704
  }, null, 8, pl))), 256)),
698
- (s(!0), u(R, null, O(x.value, (l, o) => (s(), u("rect", {
705
+ (s(!0), u(R, null, O(b.value, (l, o) => (s(), u("rect", {
699
706
  x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
700
707
  y: l.isBullish ? l.last.y : l.open.y,
701
708
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
702
709
  width: d.value * e.value.style.layout.candle.widthRatio <= 0 ? 1e-4 : d.value * e.value.style.layout.candle.widthRatio,
703
- 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,
704
711
  rx: e.value.style.layout.candle.borderRadius,
705
712
  stroke: e.value.style.layout.candle.stroke,
706
713
  "stroke-width": e.value.style.layout.candle.strokeWidth,
@@ -709,25 +716,25 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
709
716
  }, null, 8, fl))), 256))
710
717
  ]),
711
718
  v("g", null, [
712
- (s(!0), u(R, null, O(x.value, (l, o) => (s(), u("rect", {
719
+ (s(!0), u(R, null, O(b.value, (l, o) => (s(), u("rect", {
713
720
  x: n.value.left + o * d.value,
714
721
  y: n.value.top,
715
722
  height: n.value.height <= 0 ? 1e-4 : n.value.height,
716
723
  width: d.value <= 0 ? 1e-4 : d.value,
717
724
  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),
719
- onMouseleave: a[0] || (a[0] = (C) => {
725
+ onMouseover: (k) => tt(o, l),
726
+ onMouseleave: a[0] || (a[0] = (k) => {
720
727
  ee.value = void 0, Q.value = !1;
721
728
  })
722
729
  }, null, 40, gl))), 256))
723
730
  ])
724
731
  ])) : h("", !0),
725
732
  g(t.$slots, "svg", { svg: c.value }, void 0, !0)
726
- ], 14, Bt)) : h("", !0),
727
- t.$slots.watermark ? (s(), u("div", ml, [
733
+ ], 14, Ut)) : h("", !0),
734
+ t.$slots.watermark ? (s(), u("div", xl, [
728
735
  g(t.$slots, "watermark", L(F({ isPrinting: r(ke) || r(we) })), void 0, !0)
729
736
  ])) : h("", !0),
730
- U.value ? h("", !0) : (s(), T(r(je), {
737
+ B.value ? h("", !0) : (s(), T(r(je), {
731
738
  key: 6,
732
739
  config: {
733
740
  type: "candlesticks",
@@ -744,7 +751,7 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
744
751
  }
745
752
  }
746
753
  }, null, 8, ["config"])),
747
- e.value.style.zoom.show && U.value ? (s(), u("div", {
754
+ e.value.style.zoom.show && B.value ? (s(), u("div", {
748
755
  key: 7,
749
756
  ref_key: "chartSlicer",
750
757
  ref: ve
@@ -762,7 +769,7 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
762
769
  textColor: e.value.style.color,
763
770
  inputColor: e.value.style.zoom.color,
764
771
  selectColor: e.value.style.zoom.highlightColor,
765
- max: B.value,
772
+ max: U.value,
766
773
  min: 0,
767
774
  valueStart: p.value.start,
768
775
  valueEnd: p.value.end,
@@ -771,7 +778,7 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
771
778
  end: p.value.end,
772
779
  "onUpdate:end": a[2] || (a[2] = (l) => p.value.end = l),
773
780
  refreshStartPoint: e.value.style.zoom.startIndex !== null ? e.value.style.zoom.startIndex : 0,
774
- refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : B.value,
781
+ refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : U.value,
775
782
  enableRangeHandles: e.value.style.zoom.enableRangeHandles,
776
783
  enableSelectionDrag: e.value.style.zoom.enableSelectionDrag,
777
784
  onReset: lt
@@ -786,7 +793,7 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
786
793
  ref_key: "chartLegend",
787
794
  ref: de
788
795
  }, [
789
- g(t.$slots, "legend", { legend: x.value }, void 0, !0)
796
+ g(t.$slots, "legend", { legend: b.value }, void 0, !0)
790
797
  ], 512),
791
798
  t.$slots.source ? (s(), u("div", {
792
799
  key: 8,
@@ -797,7 +804,7 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
797
804
  g(t.$slots, "source", {}, void 0, !0)
798
805
  ], 512)) : h("", !0),
799
806
  Ve(r(Xe), {
800
- show: _.value.showTooltip && Q.value,
807
+ show: C.value.showTooltip && Q.value,
801
808
  backgroundColor: e.value.style.tooltip.backgroundColor,
802
809
  color: e.value.style.tooltip.color,
803
810
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -807,7 +814,7 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
807
814
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
808
815
  position: e.value.style.tooltip.position,
809
816
  offsetY: e.value.style.tooltip.offsetY,
810
- parent: z.value,
817
+ parent: A.value,
811
818
  content: Z.value,
812
819
  isFullscreen: M.value,
813
820
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
@@ -820,11 +827,11 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
820
827
  ]),
821
828
  _: 3
822
829
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
823
- U.value ? (s(), T(r(De), {
830
+ B.value ? (s(), T(r(De), {
824
831
  key: 9,
825
832
  hideDetails: "",
826
833
  config: {
827
- open: _.value.showTable,
834
+ open: C.value.showTable,
828
835
  maxHeight: 1e4,
829
836
  body: {
830
837
  backgroundColor: e.value.style.backgroundColor,
@@ -844,22 +851,22 @@ const Ut = ["id"], Bt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
844
851
  body: j.value.body,
845
852
  config: j.value.config,
846
853
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
847
- onClose: a[3] || (a[3] = (l) => _.value.showTable = !1)
854
+ onClose: a[3] || (a[3] = (l) => C.value.showTable = !1)
848
855
  }, {
849
856
  th: m(({ th: l }) => [
850
- mt(q(l), 1)
857
+ xt(q(l), 1)
851
858
  ]),
852
859
  td: m(({ td: l }) => [
853
- v("div", { innerHTML: l }, null, 8, xl)
860
+ v("div", { innerHTML: l }, null, 8, ml)
854
861
  ]),
855
862
  _: 1
856
863
  }, 8, ["colNames", "head", "body", "config", "title"]))
857
864
  ]),
858
865
  _: 1
859
866
  }, 8, ["config"])) : h("", !0)
860
- ], 46, Ut));
867
+ ], 46, Bt));
861
868
  }
862
- }, Ol = /* @__PURE__ */ Mt(bl, [["__scopeId", "data-v-f8f4ab18"]]);
869
+ }, Ol = /* @__PURE__ */ Mt(bl, [["__scopeId", "data-v-6c3f7cbc"]]);
863
870
  export {
864
871
  Ol as default
865
872
  };
@@ -1,7 +1,7 @@
1
1
  import { defineAsyncComponent as ce, ref as n, useSlots as Se, onMounted as A, computed as R, watch as N, onBeforeUnmount as G, shallowRef as ze, nextTick as fe, createElementBlock as v, openBlock as r, unref as u, createElementVNode as U, createBlock as he, createCommentVNode as S, normalizeClass as Ee, normalizeStyle as h, createTextVNode as D, renderSlot as p, toDisplayString as X, Fragment as j, renderList as J, mergeProps as me, createSlots as He, withCtx as w, normalizeProps as ge, guardReactiveProps as be } from "vue";
2
- import { u as Ne, c as Ue, o as K, e as Q, s as Ve, q as Me, r as qe } from "./index-pPGk-uhD.js";
3
- import { u as Le } from "./useNestedProp-DjACxgdZ.js";
4
- import { u as Ge } from "./usePrinter-DDHcrl0A.js";
2
+ import { u as Ne, c as Ue, o as K, e as Q, s as Ve, q as Me, r as qe } from "./index-JzUbx__y.js";
3
+ import { u as Le } from "./useNestedProp-D_jd2dz9.js";
4
+ import { u as Ge } from "./usePrinter-CsyliflB.js";
5
5
  import { u as De } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { _ as Xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  const je = ["id"], Je = ["height"], Ke = ["data-cell", "height"], Qe = {
@@ -25,7 +25,7 @@ const je = ["id"], Je = ["height"], Ke = ["data-cell", "height"], Qe = {
25
25
  }
26
26
  },
27
27
  setup(T, { expose: ye }) {
28
- const Ce = ce(() => import("./vue-ui-skeleton-DJPjyNYn.js")), $e = ce(() => import("./UserOptions-Dd34lEKb.js")), { vue_ui_carousel_table: Te } = Ne(), i = T, V = n(Ue()), W = n(!1), O = n(!!i.dataset), ke = Se();
28
+ const Ce = ce(() => import("./vue-ui-skeleton-B4KQLEQy.js")), $e = ce(() => import("./UserOptions-lneAyZKu.js")), { vue_ui_carousel_table: Te } = Ne(), i = T, V = n(Ue()), W = n(!1), O = n(!!i.dataset), ke = Se();
29
29
  A(() => {
30
30
  Y();
31
31
  }), A(() => {