vue-data-ui 3.0.23 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/dist/{Arrow-B1Op9F3x.js → Arrow-xQM7mBzd.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B4OaMIom.js → BaseDraggableDialog-B2BQC0-h.js} +72 -59
  3. package/dist/{BaseIcon-CgUOIGjr.js → BaseIcon-DLesaZpW.js} +1 -1
  4. package/dist/{useLoading-D7YHNtLX.js → BaseScanner-BgWxam9d.js} +11 -11
  5. package/dist/{ColorPicker-C0nf8VH0.js → ColorPicker-BKvJvFtX.js} +2 -2
  6. package/dist/DataTable-BAf4Obr9.js +140 -0
  7. package/dist/{Legend-CyYXMSsW.js → Legend-8_V5egWW.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-D63qeScu.js → NonSvgPenAndPaper-Cq4fHmA0.js} +3 -3
  9. package/dist/{PackageVersion-B6M-3jRt.js → PackageVersion-Cv_ypT0N.js} +1 -1
  10. package/dist/{PenAndPaper-zym5uEeN.js → PenAndPaper-B6OvfyHH.js} +3 -3
  11. package/dist/{Shape-CYVs2kYz.js → Shape-Cjca5zta.js} +1 -1
  12. package/dist/{Slicer-BTIFUO4x.js → Slicer-6w3K8gAc.js} +2 -2
  13. package/dist/{SparkTooltip-CNz7AYUL.js → SparkTooltip-BV4Z-NMp.js} +1 -1
  14. package/dist/{Title-D_e0SFWS.js → Title-Dz-j6ERs.js} +1 -1
  15. package/dist/{Tooltip-DjVoFYj1.js → Tooltip-BTGOEC7w.js} +1 -1
  16. package/dist/{UserOptions-z0NWZ7aQ.js → UserOptions-CsDlFB0L.js} +2 -2
  17. package/dist/{dom-to-png-DD0au3Qz.js → dom-to-png-BOu5-Ohz.js} +1 -1
  18. package/dist/{img-z5p1gGfY.js → img-gBDz7xQQ.js} +1 -1
  19. package/dist/{index-BEuUtONc.js → index-BKQqb9lF.js} +37 -2
  20. package/dist/{pdf-BmUjVBni.js → pdf-Cjsn5GEE.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +35 -0
  23. package/dist/types/vue-data-ui.d.ts +35 -0
  24. package/dist/{useAutoSizeLabelsInsideViewbox-CchB8S-o.js → useAutoSizeLabelsInsideViewbox-IO2dh0Uq.js} +1 -1
  25. package/dist/{useNestedProp-DhLFhguL.js → useNestedProp-aBOhgs4U.js} +1 -1
  26. package/dist/{usePrinter-DiB0_UNt.js → usePrinter-BzuXiubT.js} +2 -2
  27. package/dist/useTableResponsive-Cbx-ACcP.js +22 -0
  28. package/dist/{vue-data-ui-DJIAas-7.js → vue-data-ui-B6eM6hF3.js} +64 -64
  29. package/dist/vue-data-ui.js +1 -1
  30. package/dist/vue-ui-3d-bar-DBeWmnvH.js +1369 -0
  31. package/dist/{vue-ui-accordion-B4YfUjZ5.js → vue-ui-accordion-B5QeV3BK.js} +3 -3
  32. package/dist/{vue-ui-age-pyramid-CkXXNN79.js → vue-ui-age-pyramid-rZFdUsgz.js} +333 -286
  33. package/dist/{vue-ui-annotator-DnSsIkvU.js → vue-ui-annotator-CCCuslrT.js} +2 -2
  34. package/dist/{vue-ui-bullet-kZkBsWPY.js → vue-ui-bullet-DhJf9mvK.js} +8 -8
  35. package/dist/{vue-ui-candlestick-CIn0xZm0.js → vue-ui-candlestick-CGVtDKqZ.js} +453 -406
  36. package/dist/{vue-ui-carousel-table-f1FDOAqH.js → vue-ui-carousel-table-DLAR3WY8.js} +4 -4
  37. package/dist/{vue-ui-chestnut-B-jSj7FT.js → vue-ui-chestnut-BXnSxoXB.js} +563 -520
  38. package/dist/vue-ui-chord-DH_MwAKX.js +1100 -0
  39. package/dist/vue-ui-circle-pack-Cx_E1R63.js +755 -0
  40. package/dist/{vue-ui-cursor-DdBrui6i.js → vue-ui-cursor-CEvH1qDS.js} +2 -2
  41. package/dist/{vue-ui-dashboard-DSUfW7mI.js → vue-ui-dashboard-CvduVgEy.js} +62 -62
  42. package/dist/{vue-ui-digits-Cb3Wq5WR.js → vue-ui-digits-PTozKs3l.js} +2 -2
  43. package/dist/{vue-ui-donut-BCZqlAO3.js → vue-ui-donut-CsEtKJJD.js} +477 -431
  44. package/dist/{vue-ui-donut-evolution-HmQBq9VP.js → vue-ui-donut-evolution-DD7o-CxF.js} +482 -435
  45. package/dist/{vue-ui-dumbbell-B5w2oqNO.js → vue-ui-dumbbell-DfPYl3fu.js} +443 -398
  46. package/dist/vue-ui-flow-CSTTZHwg.js +900 -0
  47. package/dist/vue-ui-funnel-C-NUZqIo.js +666 -0
  48. package/dist/vue-ui-galaxy-BwsZnU6T.js +744 -0
  49. package/dist/{vue-ui-gauge-C_KLPWk2.js → vue-ui-gauge-D9MUneq0.js} +8 -8
  50. package/dist/{vue-ui-gizmo-CsPX25Ti.js → vue-ui-gizmo-Dnzs9wSf.js} +4 -4
  51. package/dist/{vue-ui-heatmap-BHq6hBaL.js → vue-ui-heatmap-CYaQIhy8.js} +501 -461
  52. package/dist/{vue-ui-history-plot-DgpYiaUD.js → vue-ui-history-plot-DMTFzl-_.js} +408 -361
  53. package/dist/{vue-ui-kpi-DOgibU7W.js → vue-ui-kpi-CkPotdff.js} +3 -3
  54. package/dist/{vue-ui-mini-loader-BjsQAxDx.js → vue-ui-mini-loader-CCE-bDOJ.js} +2 -2
  55. package/dist/vue-ui-molecule-DaN5lroq.js +702 -0
  56. package/dist/{vue-ui-mood-radar-DMwVl3wz.js → vue-ui-mood-radar-tM0mmZh8.js} +342 -291
  57. package/dist/{vue-ui-nested-donuts-H0GzIAF0.js → vue-ui-nested-donuts-RB4r6beI.js} +548 -502
  58. package/dist/{vue-ui-onion-A6nKcus1.js → vue-ui-onion-CxDozHg3.js} +363 -317
  59. package/dist/vue-ui-parallel-coordinate-plot-CK9nNExU.js +979 -0
  60. package/dist/vue-ui-quadrant-C7tLJYn7.js +1483 -0
  61. package/dist/{vue-ui-quick-chart-mwXE3w_o.js → vue-ui-quick-chart-MUBAkrHb.js} +7 -7
  62. package/dist/vue-ui-radar-Br4K80I9.js +858 -0
  63. package/dist/{vue-ui-rating-CleNHFo5.js → vue-ui-rating-NtvT9r_M.js} +2 -2
  64. package/dist/{vue-ui-relation-circle-CMCH7Ia6.js → vue-ui-relation-circle-CPQjAy1g.js} +8 -8
  65. package/dist/vue-ui-ridgeline-C2M_Cjlh.js +1204 -0
  66. package/dist/vue-ui-rings-DEru-cWN.js +785 -0
  67. package/dist/{vue-ui-scatter-kv28dsT3.js → vue-ui-scatter-CJKkiKle.js} +594 -548
  68. package/dist/{vue-ui-skeleton-DCNOYh9x.js → vue-ui-skeleton--twnjS2t.js} +3 -3
  69. package/dist/{vue-ui-smiley-DcS0CM-z.js → vue-ui-smiley-CNccdPZ7.js} +2 -2
  70. package/dist/{vue-ui-spark-trend-LHgReXth.js → vue-ui-spark-trend-9BFkkC0u.js} +4 -4
  71. package/dist/{vue-ui-sparkbar-Da315uRq.js → vue-ui-sparkbar-RYAThoA4.js} +4 -4
  72. package/dist/{vue-ui-sparkgauge-BeAkjGap.js → vue-ui-sparkgauge-DkPlmgMF.js} +4 -4
  73. package/dist/{vue-ui-sparkhistogram-Cy19W3y1.js → vue-ui-sparkhistogram-6EkCyYRF.js} +5 -5
  74. package/dist/{vue-ui-sparkline-IjlQWgs3.js → vue-ui-sparkline-Bl3nj8zd.js} +4 -4
  75. package/dist/{vue-ui-sparkstackbar-CoFgOa3r.js → vue-ui-sparkstackbar-B88lA7iy.js} +4 -4
  76. package/dist/{vue-ui-stackbar-fbCs4sHF.js → vue-ui-stackbar-Csj7NhT6.js} +525 -479
  77. package/dist/{vue-ui-strip-plot-Cm8Zr6RE.js → vue-ui-strip-plot-yY9NsUUI.js} +390 -343
  78. package/dist/{vue-ui-table-q7jWgS26.js → vue-ui-table-Dg6U31ex.js} +3 -3
  79. package/dist/{vue-ui-table-heatmap-CsK9gR1G.js → vue-ui-table-heatmap-BWU7CAWP.js} +5 -5
  80. package/dist/{vue-ui-table-sparkline-CXTPucPr.js → vue-ui-table-sparkline-DV4Y9aRL.js} +4 -4
  81. package/dist/{vue-ui-thermometer-BFxdNgrd.js → vue-ui-thermometer-C3fKamV-.js} +8 -8
  82. package/dist/{vue-ui-timer-BsoeDFjK.js → vue-ui-timer-6VAK9XyF.js} +5 -5
  83. package/dist/{vue-ui-tiremarks-BW_jSayT.js → vue-ui-tiremarks-BB-KAkF7.js} +7 -7
  84. package/dist/vue-ui-treemap-GrXkD_3Z.js +1092 -0
  85. package/dist/{vue-ui-vertical-bar-OrLV4CxH.js → vue-ui-vertical-bar-Mmz6u4aX.js} +504 -461
  86. package/dist/{vue-ui-waffle-BA6rNfVs.js → vue-ui-waffle-DzPVRUOA.js} +416 -370
  87. package/dist/{vue-ui-wheel-B_BkI-5f.js → vue-ui-wheel-idRCvS5t.js} +7 -7
  88. package/dist/vue-ui-word-cloud-B2641uNP.js +811 -0
  89. package/dist/{vue-ui-world-B4mKuSSn.js → vue-ui-world-D6s5Eph8.js} +512 -466
  90. package/dist/{vue-ui-xy-m1SWJk77.js → vue-ui-xy-BKTGSvfU.js} +1551 -1500
  91. package/dist/vue-ui-xy-canvas-BOQyxVRl.js +1291 -0
  92. package/package.json +1 -1
  93. package/dist/DataTable-nO6ydJO2.js +0 -133
  94. package/dist/vue-ui-3d-bar-B56WqLJ-.js +0 -1323
  95. package/dist/vue-ui-chord-Ck4yV3Tb.js +0 -1049
  96. package/dist/vue-ui-circle-pack-BAfRk_Hd.js +0 -709
  97. package/dist/vue-ui-flow-BXkxtUoF.js +0 -852
  98. package/dist/vue-ui-funnel-DFvDO--q.js +0 -620
  99. package/dist/vue-ui-galaxy-BXNLLc3U.js +0 -691
  100. package/dist/vue-ui-molecule-BtyMTwEn.js +0 -656
  101. package/dist/vue-ui-parallel-coordinate-plot-DZ9_0F5c.js +0 -927
  102. package/dist/vue-ui-quadrant-CUggSeUN.js +0 -1432
  103. package/dist/vue-ui-radar-BRKZ8e_X.js +0 -807
  104. package/dist/vue-ui-ridgeline-xW7UrSfR.js +0 -1157
  105. package/dist/vue-ui-rings-D3NfFMaO.js +0 -739
  106. package/dist/vue-ui-treemap-DhAYSVB9.js +0 -1046
  107. package/dist/vue-ui-word-cloud-CrSLGFOK.js +0 -765
  108. package/dist/vue-ui-xy-canvas-CX2JT6T3.js +0 -1243
@@ -1,21 +1,21 @@
1
- import { defineAsyncComponent as D, computed as g, ref as r, toRefs as Rt, watch as pe, shallowRef as Xe, onMounted as Ot, onBeforeUnmount as je, watchEffect as Nt, nextTick as be, createElementBlock as i, openBlock as s, unref as u, normalizeStyle as me, normalizeClass as S, createBlock as N, createCommentVNode as p, createElementVNode as c, createVNode as Ye, createSlots as Pt, withCtx as x, renderSlot as b, normalizeProps as P, guardReactiveProps as E, Fragment as V, renderList as B, toDisplayString as Q, createTextVNode as Et } from "vue";
2
- import { u as Vt, c as Bt, t as Mt, b as Ut, C as Z, o as qe, f as M, D as Wt, h as X, i as L, X as Dt, x as ee, s as Ht, E as Je, v as Gt, w as Xt, y as jt, z as Yt } from "./index-BEuUtONc.js";
3
- import { t as Ke, u as qt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Qe } from "./useNestedProp-DhLFhguL.js";
5
- import { u as Jt } from "./usePrinter-DiB0_UNt.js";
6
- import { u as Kt } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as Qt } from "./useChartAccessibility-9icAAmYg.js";
8
- import { u as Zt, B as el } from "./useLoading-D7YHNtLX.js";
9
- import tl from "./Title-D_e0SFWS.js";
10
- import { S as ll } from "./Slicer-BTIFUO4x.js";
11
- import { u as al } from "./useTimeLabels-BGFjWgrv.js";
12
- import ol from "./img-z5p1gGfY.js";
13
- import { u as sl } from "./useTimeLabelCollider-CIsgDrl9.js";
14
- import { _ as ul } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "width", "height"], vl = { key: 1 }, dl = ["id"], yl = ["stop-color"], cl = ["stop-color"], hl = ["stop-color"], fl = ["id"], gl = ["stop-color"], pl = ["stop-color"], bl = ["stop-color"], ml = { key: 0 }, xl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], kl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Al = ["x", "y", "font-size", "fill", "font-weight"], _l = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Cl = ["transform", "text-anchor", "font-size", "fill", "font-weight"], $l = ["x", "y", "width", "height", "fill", "rx"], zl = { key: 0 }, Sl = ["cx", "cy", "r", "fill"], Ll = ["cx", "cy", "r", "fill"], Tl = { key: 1 }, Il = ["x", "y", "width", "height", "rx", "fill"], Fl = ["x", "y", "width", "height", "fill", "rx"], Rl = ["x", "y", "height", "width", "fill", "rx"], Ol = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Nl = ["x", "y", "height", "width", "fill", "onMouseover", "onMouseleave", "onClick"], Pl = {
1
+ import { defineAsyncComponent as F, computed as g, ref as r, toRefs as Vt, watch as te, shallowRef as qe, onMounted as Dt, onBeforeUnmount as Je, watchEffect as Mt, nextTick as ke, createElementBlock as i, openBlock as s, unref as u, normalizeStyle as we, normalizeClass as L, createBlock as B, createCommentVNode as p, createElementVNode as y, createVNode as Ae, createSlots as Ke, withCtx as b, renderSlot as m, normalizeProps as E, guardReactiveProps as V, Fragment as D, renderList as M, toDisplayString as Y, resolveDynamicComponent as Ut, mergeProps as Wt, createTextVNode as Qe } from "vue";
2
+ import { u as Ht, c as Gt, t as Xt, b as jt, C as le, o as Ze, f as U, D as Yt, h as q, i as T, X as qt, x as ae, s as Jt, E as et, v as Kt, w as Qt, y as Zt, z as el } from "./index-BKQqb9lF.js";
3
+ import { t as tt, u as tl } from "./useResponsive-DfdjqQps.js";
4
+ import { u as ll } from "./usePrinter-BzuXiubT.js";
5
+ import { u as al, B as ol } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as lt } from "./useNestedProp-aBOhgs4U.js";
7
+ import { u as sl } from "./useTimeLabels-BGFjWgrv.js";
8
+ import { u as ul } from "./useUserOptionState-BIvW1Kz7.js";
9
+ import { u as il } from "./useChartAccessibility-9icAAmYg.js";
10
+ import { u as nl } from "./useTimeLabelCollider-CIsgDrl9.js";
11
+ import rl from "./img-gBDz7xQQ.js";
12
+ import vl from "./Title-Dz-j6ERs.js";
13
+ import { S as dl } from "./Slicer-6w3K8gAc.js";
14
+ import { _ as cl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "width", "height"], gl = { key: 1 }, pl = ["id"], bl = ["stop-color"], ml = ["stop-color"], xl = ["stop-color"], kl = ["id"], wl = ["stop-color"], Al = ["stop-color"], Cl = ["stop-color"], _l = { key: 0 }, $l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Sl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ll = ["x", "y", "font-size", "fill", "font-weight"], Tl = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Il = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Fl = ["x", "y", "width", "height", "fill", "rx"], Rl = { key: 0 }, Ol = ["cx", "cy", "r", "fill"], Pl = ["cx", "cy", "r", "fill"], Nl = { key: 1 }, Bl = ["x", "y", "width", "height", "rx", "fill"], El = ["x", "y", "width", "height", "fill", "rx"], Vl = ["x", "y", "height", "width", "fill", "rx"], Dl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Ml = ["x", "y", "height", "width", "fill", "onMouseover", "onMouseleave", "onClick"], Ul = {
16
16
  key: 4,
17
17
  class: "vue-data-ui-watermark"
18
- }, El = ["innerHTML"], Vl = {
18
+ }, Wl = ["innerHTML"], Hl = {
19
19
  __name: "vue-ui-candlestick",
20
20
  props: {
21
21
  config: {
@@ -31,14 +31,14 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
31
31
  }
32
32
  }
33
33
  },
34
- setup(Ze, { expose: et }) {
35
- const tt = D(() => import("./vue-ui-accordion-B4YfUjZ5.js")), lt = D(() => import("./DataTable-nO6ydJO2.js")), at = D(() => import("./PackageVersion-B6M-3jRt.js")), ot = D(() => import("./PenAndPaper-zym5uEeN.js")), st = D(() => import("./Tooltip-DjVoFYj1.js")), ut = D(() => import("./UserOptions-z0NWZ7aQ.js")), { vue_ui_candlestick: it } = Vt(), h = Ze, te = g(() => !!h.dataset && h.dataset.length), $ = r(!1), le = r(null), w = r(Bt()), nt = r(null), ae = r(!1), oe = r(""), se = r(void 0), xe = r(0), T = r(null), ke = r(null), we = r(null), Ae = r(null), _e = r(null), Ce = r(null), j = r(0), $e = r(0), ze = r(0), ue = r(null), H = r(null), e = r(re()), { loading: z, FINAL_DATASET: A, manualLoading: ie } = Zt({
36
- ...Rt(h),
34
+ setup(at, { expose: ot }) {
35
+ const st = F(() => import("./BaseIcon-DLesaZpW.js")), ut = F(() => import("./Tooltip-BTGOEC7w.js")), it = F(() => import("./vue-ui-accordion-B5QeV3BK.js")), nt = F(() => import("./DataTable-BAf4Obr9.js")), rt = F(() => import("./PenAndPaper-B6OvfyHH.js")), vt = F(() => import("./UserOptions-CsDlFB0L.js")), dt = F(() => import("./PackageVersion-Cv_ypT0N.js")), ct = F(() => import("./BaseDraggableDialog-B2BQC0-h.js")), { vue_ui_candlestick: yt } = Ht(), h = at, oe = g(() => !!h.dataset && h.dataset.length), $ = r(!1), se = r(null), A = r(Gt()), ht = r(null), ue = r(!1), ie = r(""), ne = r(void 0), Ce = r(0), z = r(null), _e = r(null), $e = r(null), ze = r(null), Se = r(null), Le = r(null), J = r(0), Te = r(0), Ie = r(0), re = r(null), H = r(null), G = r(null), e = r(ce()), { loading: S, FINAL_DATASET: C, manualLoading: ve } = al({
36
+ ...Vt(h),
37
37
  FINAL_CONFIG: e,
38
- prepareConfig: re,
38
+ prepareConfig: ce,
39
39
  callback: () => {
40
40
  Promise.resolve().then(async () => {
41
- await ce();
41
+ await ge();
42
42
  });
43
43
  },
44
44
  skeletonDataset: [
@@ -55,7 +55,7 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
55
55
  [17304192e5, 890, 2330, 550, 1950, 3770],
56
56
  [17330112e5, 1440, 3770, 890, 3200, 5100]
57
57
  ],
58
- skeletonConfig: Mt({
58
+ skeletonConfig: Xt({
59
59
  defaultConfig: e.value,
60
60
  userConfig: {
61
61
  useCssAnimation: !1,
@@ -96,164 +96,164 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
96
96
  }
97
97
  }
98
98
  })
99
- }), { userOptionsVisible: ne, setUserOptionsVisibility: Se, keepUserOptionState: Le } = Kt({ config: e.value }), { svgRef: Te } = Qt({ config: e.value.style.title });
100
- function re() {
101
- const t = Qe({
99
+ }), { userOptionsVisible: de, setUserOptionsVisibility: Fe, keepUserOptionState: Re } = ul({ config: e.value }), { svgRef: Oe } = il({ config: e.value.style.title });
100
+ function ce() {
101
+ const t = lt({
102
102
  userConfig: h.config,
103
- defaultConfig: it
103
+ defaultConfig: yt
104
104
  });
105
105
  let a = {};
106
106
  return t.theme ? a = {
107
- ...Qe({
108
- userConfig: Ut.vue_ui_candlestick[t.theme] || h.config,
107
+ ...lt({
108
+ userConfig: jt.vue_ui_candlestick[t.theme] || h.config,
109
109
  defaultConfig: t
110
110
  })
111
- } : a = t, h.config && Z(h.config, "style.zoom.startIndex") ? a.style.zoom.startIndex = h.config.style.zoom.startIndex : a.style.zoom.startIndex = null, h.config && Z(h.config, "style.zoom.endIndex") ? a.style.zoom.endIndex = h.config.style.zoom.endIndex : a.style.zoom.endIndex = null, h.config && Z(h.config, "style.layout.grid.yAxis.scale.min") ? a.style.layout.grid.yAxis.scale.min = h.config.style.layout.grid.yAxis.scale.min : a.style.layout.grid.yAxis.scale.min = null, h.config && Z(h.config, "style.layout.grid.yAxis.scale.max") ? a.style.layout.grid.yAxis.scale.max = h.config.style.layout.grid.yAxis.scale.max : a.style.layout.grid.yAxis.scale.max = null, a;
111
+ } : a = t, h.config && le(h.config, "style.zoom.startIndex") ? a.style.zoom.startIndex = h.config.style.zoom.startIndex : a.style.zoom.startIndex = null, h.config && le(h.config, "style.zoom.endIndex") ? a.style.zoom.endIndex = h.config.style.zoom.endIndex : a.style.zoom.endIndex = null, h.config && le(h.config, "style.layout.grid.yAxis.scale.min") ? a.style.layout.grid.yAxis.scale.min = h.config.style.layout.grid.yAxis.scale.min : a.style.layout.grid.yAxis.scale.min = null, h.config && le(h.config, "style.layout.grid.yAxis.scale.max") ? a.style.layout.grid.yAxis.scale.max = h.config.style.layout.grid.yAxis.scale.max : a.style.layout.grid.yAxis.scale.max = null, a;
112
112
  }
113
- pe(() => h.config, (t) => {
114
- z.value || (e.value = re()), ne.value = !e.value.userOptions.showOnChartHover, Ie(), j.value += 1, ze.value += 1, $e.value += 1, _.value.showTable = e.value.table.show, _.value.showTooltip = e.value.style.tooltip.show;
115
- }, { deep: !0 }), pe(() => h.dataset, (t) => {
116
- Array.isArray(t) && t.length > 0 && (ie.value = !1), v.value.start = 0, v.value.end = t.length, j.value += 1;
113
+ te(() => h.config, (t) => {
114
+ S.value || (e.value = ce()), de.value = !e.value.userOptions.showOnChartHover, Pe(), J.value += 1, Ie.value += 1, Te.value += 1, k.value.showTable = e.value.table.show, k.value.showTooltip = e.value.style.tooltip.show;
115
+ }, { deep: !0 }), te(() => h.dataset, (t) => {
116
+ Array.isArray(t) && t.length > 0 && (ve.value = !1), v.value.start = 0, v.value.end = t.length, J.value += 1;
117
117
  }, { deep: !0 });
118
- const y = r({
118
+ const c = r({
119
119
  height: e.value.style.height,
120
120
  width: e.value.style.width,
121
121
  xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
122
122
  yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
123
- }), I = Xe(null), U = Xe(null);
124
- Ot(() => {
125
- Ie();
123
+ }), I = qe(null), W = qe(null);
124
+ Dt(() => {
125
+ Pe();
126
126
  });
127
- const F = g(() => !!e.value.debug);
128
- function Ie() {
129
- if (qe(h.dataset) && (M({
127
+ const R = g(() => !!e.value.debug);
128
+ function Pe() {
129
+ if (Ze(h.dataset) && (U({
130
130
  componentName: "VueUiCandlestick",
131
131
  type: "dataset",
132
- debug: F.value
133
- }), ie.value = !0), qe(h.dataset) || (ie.value = e.value.loading), setTimeout(() => {
132
+ debug: R.value
133
+ }), ve.value = !0), Ze(h.dataset) || (ve.value = e.value.loading), setTimeout(() => {
134
134
  $.value = !0;
135
135
  }, 10), e.value.responsive) {
136
- const a = Ke(() => {
136
+ const a = tt(() => {
137
137
  $.value = !1;
138
- const { width: l, height: o } = qt({
139
- chart: T.value,
140
- title: e.value.style.title.text ? ke.value : null,
141
- slicer: Ae.value,
142
- legend: we.value,
143
- source: _e.value,
144
- noTitle: Ce.value
138
+ const { width: l, height: o } = tl({
139
+ chart: z.value,
140
+ title: e.value.style.title.text ? _e.value : null,
141
+ slicer: ze.value,
142
+ legend: $e.value,
143
+ source: Se.value,
144
+ noTitle: Le.value
145
145
  });
146
146
  requestAnimationFrame(() => {
147
- y.value.width = l, y.value.height = o - 12, e.value.responsiveProportionalSizing ? (y.value.xAxisFontSize = Je({
147
+ c.value.width = l, c.value.height = o - 12, e.value.responsiveProportionalSizing ? (c.value.xAxisFontSize = et({
148
148
  relator: Math.min(l, o),
149
149
  adjuster: e.value.style.width,
150
150
  source: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
151
151
  threshold: 6,
152
152
  fallback: 6
153
- }), y.value.yAxisFontSize = Je({
153
+ }), c.value.yAxisFontSize = et({
154
154
  relator: Math.min(l, o),
155
155
  adjuster: e.value.style.width,
156
156
  source: e.value.style.layout.grid.yAxis.dataLabels.fontSize,
157
157
  threshold: 6,
158
158
  fallback: 6
159
- })) : (y.value.xAxisFontSize = e.value.style.layout.grid.xAxis.dataLabels.fontSize, y.value.yAxisFontSize = e.value.style.layout.grid.yAxis.dataLabels.fontSize), le.value && clearTimeout(le.value), le.value = setTimeout(() => {
159
+ })) : (c.value.xAxisFontSize = e.value.style.layout.grid.xAxis.dataLabels.fontSize, c.value.yAxisFontSize = e.value.style.layout.grid.yAxis.dataLabels.fontSize), se.value && clearTimeout(se.value), se.value = setTimeout(() => {
160
160
  $.value = !0;
161
161
  }, 10);
162
162
  });
163
163
  });
164
- I.value && (U.value && I.value.unobserve(U.value), I.value.disconnect()), I.value = new ResizeObserver(a), U.value = T.value.parentNode, I.value.observe(U.value);
164
+ I.value && (W.value && I.value.unobserve(W.value), I.value.disconnect()), I.value = new ResizeObserver(a), W.value = z.value.parentNode, I.value.observe(W.value);
165
165
  }
166
- ce();
166
+ ge();
167
167
  }
168
- je(() => {
169
- I.value && (U.value && I.value.unobserve(U.value), I.value.disconnect());
168
+ Je(() => {
169
+ I.value && (W.value && I.value.unobserve(W.value), I.value.disconnect());
170
170
  });
171
- const { isPrinting: Fe, isImaging: Re, generatePdf: Oe, generateImage: Ne } = Jt({
172
- elementId: `vue-ui-candlestick_${w.value}`,
171
+ const { isPrinting: Ne, isImaging: Be, generatePdf: Ee, generateImage: Ve } = ll({
172
+ elementId: `vue-ui-candlestick_${A.value}`,
173
173
  fileName: e.value.style.title.text || "vue-ui-candlestick",
174
174
  options: e.value.userOptions.print
175
- }), rt = g(() => e.value.userOptions.show && !e.value.style.title.text), _ = r({
175
+ }), ft = g(() => e.value.userOptions.show && !e.value.style.title.text), k = r({
176
176
  showTable: e.value.table.show,
177
177
  showTooltip: e.value.style.tooltip.show
178
- }), ve = r(0), vt = Ke((t) => {
179
- ve.value = t;
178
+ }), ye = r(0), gt = tt((t) => {
179
+ ye.value = t;
180
180
  }, 100);
181
- Nt((t) => {
181
+ Mt((t) => {
182
182
  const a = H.value;
183
183
  if (!a) return;
184
184
  const l = new ResizeObserver((o) => {
185
- vt(o[0].contentRect.height);
185
+ gt(o[0].contentRect.height);
186
186
  });
187
187
  l.observe(a), t(() => l.disconnect());
188
- }), je(() => {
189
- ve.value = 0;
188
+ }), Je(() => {
189
+ ye.value = 0;
190
190
  });
191
- const Pe = g(() => {
191
+ const De = g(() => {
192
192
  let t = 0;
193
- return H.value && (t = ve.value + y.value.xAxisFontSize), t;
193
+ return H.value && (t = ye.value + c.value.xAxisFontSize), t;
194
194
  });
195
- function dt() {
195
+ function pt() {
196
196
  let t = e.value.style.layout.grid.yAxis.dataLabels.offsetX;
197
- return ue.value && (t = Array.from(ue.value.querySelectorAll("text")).reduce((o, m) => {
198
- const f = m.getComputedTextLength();
197
+ return re.value && (t = Array.from(re.value.querySelectorAll("text")).reduce((o, x) => {
198
+ const f = x.getComputedTextLength();
199
199
  return f > o ? f : o;
200
200
  }, 0)), t + 13;
201
201
  }
202
202
  const n = g(() => {
203
- const { top: t, right: a, bottom: l, left: o } = e.value.style.layout.padding, m = dt(), f = 12;
203
+ const { top: t, right: a, bottom: l, left: o } = e.value.style.layout.padding, x = pt(), f = 12;
204
204
  return {
205
205
  top: t + f,
206
- right: y.value.width - a,
207
- left: o + m,
208
- bottom: y.value.height - l - Pe.value,
209
- width: y.value.width - o - a - m,
210
- height: y.value.height - t - l - Pe.value - f
206
+ right: c.value.width - a,
207
+ left: o + x,
208
+ bottom: c.value.height - l - De.value,
209
+ width: c.value.width - o - a - x,
210
+ height: c.value.height - t - l - De.value - f
211
211
  };
212
- }), G = g(() => A.value.length), v = r({
212
+ }), X = g(() => C.value.length), v = r({
213
213
  start: 0,
214
- end: G.value
215
- }), Ee = g(() => A.value.map((t, a) => ({
214
+ end: X.value
215
+ }), Me = g(() => C.value.map((t, a) => ({
216
216
  ...t,
217
217
  absoluteIndex: a
218
- })).slice(v.value.start, v.value.end)), de = g(() => (A.value.forEach((t, a) => {
219
- [null, void 0].includes(t[0]) && M({
218
+ })).slice(v.value.start, v.value.end)), he = g(() => (C.value.forEach((t, a) => {
219
+ [null, void 0].includes(t[0]) && U({
220
220
  componentName: "VueUiCandlestick",
221
221
  type: "datasetAttribute",
222
222
  property: "period (index 0)",
223
223
  index: a,
224
- debug: F.value
225
- }), [null, void 0].includes(t[1]) && M({
224
+ debug: R.value
225
+ }), [null, void 0].includes(t[1]) && U({
226
226
  componentName: "VueUiCandlestick",
227
227
  type: "datasetAttribute",
228
228
  property: "open (index 1)",
229
229
  index: a,
230
- debug: F.value
231
- }), [null, void 0].includes(t[2]) && M({
230
+ debug: R.value
231
+ }), [null, void 0].includes(t[2]) && U({
232
232
  componentName: "VueUiCandlestick",
233
233
  type: "datasetAttribute",
234
234
  property: "high (index 2)",
235
235
  index: a,
236
- debug: F.value
237
- }), [null, void 0].includes(t[3]) && M({
236
+ debug: R.value
237
+ }), [null, void 0].includes(t[3]) && U({
238
238
  componentName: "VueUiCandlestick",
239
239
  type: "datasetAttribute",
240
240
  property: "low (index 3)",
241
241
  index: a,
242
- debug: F.value
243
- }), [null, void 0].includes(t[4]) && M({
242
+ debug: R.value
243
+ }), [null, void 0].includes(t[4]) && U({
244
244
  componentName: "VueUiCandlestick",
245
245
  type: "datasetAttribute",
246
246
  property: "last (index 4)",
247
247
  index: a,
248
- debug: F.value
249
- }), [null, void 0].includes(t[5]) && M({
248
+ debug: R.value
249
+ }), [null, void 0].includes(t[5]) && U({
250
250
  componentName: "VueUiCandlestick",
251
251
  type: "datasetAttribute",
252
252
  property: "volume (index 5)",
253
253
  index: a,
254
- debug: F.value
254
+ debug: R.value
255
255
  });
256
- }), Ee.value.map((t) => ({
256
+ }), Me.value.map((t) => ({
257
257
  absoluteIndex: t.absoluteIndex,
258
258
  period: t[0],
259
259
  open: t[1],
@@ -261,170 +261,170 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
261
261
  low: t[3],
262
262
  last: t[4],
263
263
  volume: t[5]
264
- })))), d = g(() => n.value.width / Ee.value.length), Ve = g(() => {
265
- const t = e.value.style.layout.grid.yAxis.scale.max === null ? Math.max(...de.value.map((l) => l.high)) : e.value.style.layout.grid.yAxis.scale.max, a = e.value.style.layout.grid.yAxis.scale.min === null ? 0 : e.value.style.layout.grid.yAxis.scale.min;
264
+ })))), d = g(() => n.value.width / Me.value.length), Ue = g(() => {
265
+ const t = e.value.style.layout.grid.yAxis.scale.max === null ? Math.max(...he.value.map((l) => l.high)) : e.value.style.layout.grid.yAxis.scale.max, a = e.value.style.layout.grid.yAxis.scale.min === null ? 0 : e.value.style.layout.grid.yAxis.scale.min;
266
266
  return {
267
267
  max: t,
268
268
  min: a
269
269
  };
270
- }), C = g(() => Wt(Ve.value.min, Ve.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
271
- function Y(t, a) {
270
+ }), _ = g(() => Yt(Ue.value.min, Ue.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
271
+ function K(t, a) {
272
272
  return {
273
273
  ...t,
274
- x: X(n.value.left + a * d.value + d.value / 2),
275
- y: X(n.value.top + (1 - (t - C.value.min) / (C.value.max - C.value.min)) * n.value.height),
276
- value: X(t)
274
+ x: q(n.value.left + a * d.value + d.value / 2),
275
+ y: q(n.value.top + (1 - (t - _.value.min) / (_.value.max - _.value.min)) * n.value.height),
276
+ value: q(t)
277
277
  };
278
278
  }
279
- const k = g(() => de.value.map((t, a) => {
280
- const l = Y(t.open, a), o = Y(t.high, a), m = Y(t.low, a), f = Y(t.last, a), O = t.last > t.open;
279
+ const w = g(() => he.value.map((t, a) => {
280
+ const l = K(t.open, a), o = K(t.high, a), x = K(t.low, a), f = K(t.last, a), N = t.last > t.open;
281
281
  return {
282
282
  period: t.period,
283
283
  open: l,
284
284
  high: o,
285
- low: m,
285
+ low: x,
286
286
  last: f,
287
287
  volume: t.volume,
288
- isBullish: O,
288
+ isBullish: N,
289
289
  absoluteIndex: t.absoluteIndex
290
290
  };
291
291
  }));
292
- function yt(t) {
293
- return X((t - C.value.min) / (C.value.max - C.value.min));
292
+ function bt(t) {
293
+ return q((t - _.value.min) / (_.value.max - _.value.min));
294
294
  }
295
- const ct = g(() => C.value.ticks.map((t) => ({
296
- y: n.value.bottom - n.value.height * yt(t),
297
- value: X(t)
298
- }))), ht = g(() => de.value.map((t) => t.period)), R = g(() => al({
299
- values: A.value.map((t) => t[0]),
300
- maxDatapoints: A.value.length,
295
+ const mt = g(() => _.value.ticks.map((t) => ({
296
+ y: n.value.bottom - n.value.height * bt(t),
297
+ value: q(t)
298
+ }))), xt = g(() => he.value.map((t) => t.period)), O = g(() => sl({
299
+ values: C.value.map((t) => t[0]),
300
+ maxDatapoints: C.value.length,
301
301
  formatter: e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
302
302
  start: v.value.start,
303
303
  end: v.value.end
304
- })), Be = g(() => e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
305
- start: R.value.find((t) => t.absoluteIndex === v.value.start).text,
306
- end: R.value.find((t) => t.absoluteIndex === v.value.end - 1).text
304
+ })), We = g(() => e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
305
+ start: O.value.find((t) => t.absoluteIndex === v.value.start).text,
306
+ end: O.value.find((t) => t.absoluteIndex === v.value.end - 1).text
307
307
  } : {
308
- start: A.value[v.value.start] ? A.value[v.value.start][0] : A.value[0][0],
309
- end: A.value[v.value.end - 1] ? A.value[v.value.end - 1][0] : A.value.at(-1)[0]
310
- }), ye = r(null);
311
- function ft(t, a) {
308
+ start: C.value[v.value.start] ? C.value[v.value.start][0] : C.value[0][0],
309
+ end: C.value[v.value.end - 1] ? C.value[v.value.end - 1][0] : C.value.at(-1)[0]
310
+ }), fe = r(null);
311
+ function kt(t, a) {
312
312
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: a, seriesIndex: t + v.value.start });
313
313
  }
314
- function gt(t, a) {
315
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: t + v.value.start }), se.value = void 0, ae.value = !1;
314
+ function wt(t, a) {
315
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: t + v.value.start }), ne.value = void 0, ue.value = !1;
316
316
  }
317
- function pt(t, a) {
318
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: a, seriesIndex: t + v.value.start }), se.value = t, ye.value = {
317
+ function At(t, a) {
318
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: a, seriesIndex: t + v.value.start }), ne.value = t, fe.value = {
319
319
  datapoint: a,
320
320
  seriesIndex: t,
321
- series: k.value,
321
+ series: w.value,
322
322
  config: e.value
323
323
  };
324
324
  const l = e.value.style.tooltip.customFormat;
325
- if (jt(l) && Yt(() => l({
325
+ if (Zt(l) && el(() => l({
326
326
  seriesIndex: t,
327
327
  datapoint: a,
328
- series: k.value,
328
+ series: w.value,
329
329
  config: e.value
330
330
  })))
331
- oe.value = l({
331
+ ie.value = l({
332
332
  seriesIndex: t,
333
333
  datapoint: a,
334
- series: k.value,
334
+ series: w.value,
335
335
  config: e.value
336
336
  });
337
337
  else if (e.value.style.tooltip.show) {
338
338
  let o = "";
339
- const { period: m, open: f, high: O, low: fe, last: ge, volume: K, isBullish: Ge } = k.value[t], { period: Bl, open: At, high: _t, low: Ct, last: $t, volume: zt } = e.value.translations, St = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? R.value[t].text : m;
339
+ const { period: x, open: f, high: N, low: me, last: xe, volume: ee, isBullish: Ye } = w.value[t], { period: Gl, open: Lt, high: Tt, low: It, last: Ft, volume: Rt } = e.value.translations, Ot = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? O.value[t].text : x;
340
340
  o += `<div><svg style="margin-right:6px" viewBox="0 0 12 12" height="12" width="12"><rect x="0" y="0" height="12" width="12" rx="${e.value.style.layout.candle.borderRadius * 3}" stroke="${e.value.style.layout.candle.stroke}" stroke-width="${e.value.style.layout.candle.strokeWidth}"
341
- fill="${e.value.style.layout.candle.gradient.show ? Ge ? `url(#bullish_gradient_${w.value})` : `url(#bearish_gradient_${w.value})` : Ge ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${St}</div>`, o += `${zt} : <b>${isNaN(K) ? "-" : Number(K.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, o += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`;
342
- const Lt = L({
341
+ fill="${e.value.style.layout.candle.gradient.show ? Ye ? `url(#bullish_gradient_${A.value})` : `url(#bearish_gradient_${A.value})` : Ye ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${Ot}</div>`, o += `${Rt} : <b>${isNaN(ee) ? "-" : Number(ee.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, o += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`;
342
+ const Pt = T({
343
343
  p: e.value.style.tooltip.prefix,
344
344
  v: f.value,
345
345
  s: e.value.style.tooltip.suffix,
346
346
  r: e.value.style.tooltip.roundingValue
347
347
  });
348
- o += `<div>${At}: <b>${Lt}</b></div>`;
349
- const Tt = L({
348
+ o += `<div>${Lt}: <b>${Pt}</b></div>`;
349
+ const Nt = T({
350
350
  p: e.value.style.tooltip.prefix,
351
- v: O.value,
351
+ v: N.value,
352
352
  s: e.value.style.tooltip.suffix,
353
353
  r: e.value.style.tooltip.roundingValue
354
354
  });
355
- o += `<div>${_t}: <b>${Tt}</b></div>`;
356
- const It = L({
355
+ o += `<div>${Tt}: <b>${Nt}</b></div>`;
356
+ const Bt = T({
357
357
  p: e.value.style.tooltip.prefix,
358
- v: fe.value,
358
+ v: me.value,
359
359
  s: e.value.style.tooltip.suffix,
360
360
  r: e.value.style.tooltip.roundingValue
361
361
  });
362
- o += `<div>${Ct}: <b>${It}</b></div>`;
363
- const Ft = L({
362
+ o += `<div>${It}: <b>${Bt}</b></div>`;
363
+ const Et = T({
364
364
  p: e.value.style.tooltip.prefix,
365
- v: ge.value,
365
+ v: xe.value,
366
366
  s: e.value.style.tooltip.suffix,
367
367
  r: e.value.style.tooltip.roundingValue
368
368
  });
369
- o += `<div>${$t}: <b>${Ft}</b></div>`, o += "</div>", oe.value = `<div style="text-align:right">${o}</div>`;
369
+ o += `<div>${Ft}: <b>${Et}</b></div>`, o += "</div>", ie.value = `<div style="text-align:right">${o}</div>`;
370
370
  }
371
- ae.value = !0;
371
+ ue.value = !0;
372
372
  }
373
- function bt() {
374
- ce();
373
+ function Ct() {
374
+ ge();
375
375
  }
376
- const Me = r(null);
377
- async function ce() {
378
- await be(), await be();
379
- const { startIndex: t, endIndex: a } = e.value.style.zoom, l = Me.value, o = G.value;
380
- v.value = { start: 0, end: o }, (t != null || a != null) && l ? (t != null ? l.setStartValue(t) : (v.value.start = 0, l.setStartValue(0)), a != null ? l.setEndValue(mt(a + 1)) : (v.value.end = o, l.setEndValue(o))) : (v.value = { start: 0, end: o }, j.value += 1);
376
+ const He = r(null);
377
+ async function ge() {
378
+ await ke(), await ke();
379
+ const { startIndex: t, endIndex: a } = e.value.style.zoom, l = He.value, o = X.value;
380
+ v.value = { start: 0, end: o }, (t != null || a != null) && l ? (t != null ? l.setStartValue(t) : (v.value.start = 0, l.setStartValue(0)), a != null ? l.setEndValue(_t(a + 1)) : (v.value.end = o, l.setEndValue(o))) : (v.value = { start: 0, end: o }, J.value += 1);
381
381
  }
382
- function mt(t) {
383
- const a = G.value;
382
+ function _t(t) {
383
+ const a = X.value;
384
384
  return t > a ? a : t < 0 || e.value.style.zoom.startIndex !== null && t < e.value.style.zoom.startIndex ? e.value.style.zoom.startIndex !== null ? e.value.style.zoom.startIndex + 1 : 1 : t;
385
385
  }
386
- function Ue(t = null) {
387
- be(() => {
388
- 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 = k.value.map((f, O) => [
389
- e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? R.value[O].text : f.period,
386
+ function pe(t = null) {
387
+ ke(() => {
388
+ 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 = w.value.map((f, N) => [
389
+ e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? O.value[N].text : f.period,
390
390
  f.open.value,
391
391
  f.high.value,
392
392
  f.low.value,
393
393
  f.last.value,
394
394
  f.volume
395
- ]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(l), m = Gt(o);
396
- t ? t(m) : Xt({ csvContent: m, title: e.value.style.title.text || "vue-ui-candlestick" });
395
+ ]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(l), x = Kt(o);
396
+ t ? t(x) : Qt({ csvContent: x, title: e.value.style.title.text || "vue-ui-candlestick" });
397
397
  });
398
398
  }
399
- const q = g(() => {
400
- const t = k.value.map((o, m) => {
401
- const f = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? R.value[m].text : o.period, O = L({
399
+ const Q = g(() => {
400
+ const t = w.value.map((o, x) => {
401
+ const f = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? O.value[x].text : o.period, N = T({
402
402
  p: e.value.table.td.prefix,
403
403
  v: o.open.value,
404
404
  s: e.value.table.td.suffix,
405
405
  r: e.value.table.td.roundingValue
406
- }), fe = L({
406
+ }), me = T({
407
407
  p: e.value.table.td.prefix,
408
408
  v: o.high.value,
409
409
  s: e.value.table.td.suffix,
410
410
  r: e.value.table.td.roundingValue
411
- }), ge = L({
411
+ }), xe = T({
412
412
  p: e.value.table.td.prefix,
413
413
  v: o.low.value,
414
414
  s: e.value.table.td.suffix,
415
415
  r: e.value.table.td.roundingValue
416
- }), K = L({
416
+ }), ee = T({
417
417
  p: e.value.table.td.prefix,
418
418
  v: o.last.value,
419
419
  s: e.value.table.td.suffix,
420
420
  r: e.value.table.td.roundingValue
421
421
  });
422
422
  return [
423
- `<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> ${f}`,
424
- O,
425
- fe,
426
- ge,
427
- K,
423
+ `<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_${A.value}` : `url(#bearish_gradient_${A.value})` : o.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg> ${f}`,
424
+ N,
425
+ me,
426
+ xe,
427
+ ee,
428
428
  `${isNaN(o.volume) ? "-" : o.volume.toLocaleString()}`
429
429
  ];
430
430
  }), a = {
@@ -448,25 +448,25 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
448
448
  e.value.translations.volume
449
449
  ];
450
450
  return { head: l, body: t, config: a, colNames: l };
451
- }), W = r(!1);
452
- function We(t) {
453
- W.value = t, xe.value += 1;
451
+ }), P = r(!1);
452
+ function Ge(t) {
453
+ P.value = t, Ce.value += 1;
454
454
  }
455
- function De() {
456
- _.value.showTable = !_.value.showTable;
455
+ function Xe() {
456
+ k.value.showTable = !k.value.showTable;
457
457
  }
458
- function He() {
459
- _.value.showTooltip = !_.value.showTooltip;
458
+ function je() {
459
+ k.value.showTooltip = !k.value.showTooltip;
460
460
  }
461
- const J = r(!1);
462
- function he() {
463
- J.value = !J.value;
461
+ const Z = r(!1);
462
+ function be() {
463
+ Z.value = !Z.value;
464
464
  }
465
- async function xt({ scale: t = 2 } = {}) {
466
- if (!T.value) return;
467
- const { width: a, height: l } = T.value.getBoundingClientRect(), o = a / l, { imageUri: m, base64: f } = await ol({ domElement: T.value, base64: !0, img: !0, scale: t });
465
+ async function $t({ scale: t = 2 } = {}) {
466
+ if (!z.value) return;
467
+ const { width: a, height: l } = z.value.getBoundingClientRect(), o = a / l, { imageUri: x, base64: f } = await rl({ domElement: z.value, base64: !0, img: !0, scale: t });
468
468
  return {
469
- imageUri: m,
469
+ imageUri: x,
470
470
  base64: f,
471
471
  title: e.value.style.title.text,
472
472
  width: a,
@@ -474,64 +474,97 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
474
474
  aspectRatio: o
475
475
  };
476
476
  }
477
- const kt = g(() => y.value.width), wt = g(() => y.value.height);
478
- return sl({
477
+ const zt = g(() => c.value.width), St = g(() => c.value.height);
478
+ nl({
479
479
  timeLabelsEls: H,
480
- timeLabels: R,
480
+ timeLabels: O,
481
481
  slicer: v,
482
482
  configRef: e,
483
483
  rotationPath: ["style", "layout", "grid", "xAxis", "dataLabels", "rotation"],
484
484
  autoRotatePath: ["style", "layout", "grid", "xAxis", "dataLabels", "autoRotate", "enable"],
485
485
  isAutoSize: !1,
486
486
  rotation: e.value.style.layout.grid.xAxis.dataLabels.autoRotate.angle,
487
- width: kt,
488
- height: wt
489
- }), pe(e, () => {
490
- _.value = {
487
+ width: zt,
488
+ height: St
489
+ }), te(e, () => {
490
+ k.value = {
491
491
  showTable: e.value.table.show,
492
492
  showTooltip: e.value.style.tooltip.show
493
493
  };
494
- }, { immediate: !0 }), et({
495
- getImage: xt,
496
- generatePdf: Oe,
497
- generateCsv: Ue,
498
- generateImage: Ne,
499
- toggleTable: De,
500
- toggleTooltip: He,
501
- toggleAnnotator: he,
502
- toggleFullscreen: We
494
+ }, { immediate: !0 });
495
+ const j = g(() => {
496
+ const t = e.value.table.useDialog && !e.value.table.show, a = k.value.showTable;
497
+ return {
498
+ component: t ? ct : it,
499
+ title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
500
+ props: t ? {
501
+ backgroundColor: e.value.table.th.backgroundColor,
502
+ color: e.value.table.th.color,
503
+ headerColor: e.value.table.th.color,
504
+ headerBg: e.value.table.th.backgroundColor,
505
+ isFullscreen: P.value,
506
+ fullscreenParent: z.value,
507
+ forcedWidth: Math.min(800, window.innerWidth * 0.8)
508
+ } : {
509
+ hideDetails: !0,
510
+ config: {
511
+ open: a,
512
+ maxHeight: 1e4,
513
+ body: {
514
+ backgroundColor: e.value.style.backgroundColor,
515
+ color: e.value.style.color
516
+ },
517
+ head: {
518
+ backgroundColor: e.value.style.backgroundColor,
519
+ color: e.value.style.color
520
+ }
521
+ }
522
+ }
523
+ };
524
+ });
525
+ return te(() => k.value.showTable, (t) => {
526
+ e.value.table.show || (t && e.value.table.useDialog && G.value ? G.value.open() : "close" in G.value && G.value.close());
527
+ }), ot({
528
+ getImage: $t,
529
+ generatePdf: Ee,
530
+ generateCsv: pe,
531
+ generateImage: Ve,
532
+ toggleTable: Xe,
533
+ toggleTooltip: je,
534
+ toggleAnnotator: be,
535
+ toggleFullscreen: Ge
503
536
  }), (t, a) => (s(), i("div", {
504
537
  ref_key: "candlestickChart",
505
- ref: T,
506
- class: S(`vue-ui-candlestick ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
507
- style: me(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
508
- id: `vue-ui-candlestick_${w.value}`,
509
- onMouseenter: a[3] || (a[3] = () => u(Se)(!0)),
510
- onMouseleave: a[4] || (a[4] = () => u(Se)(!1))
538
+ ref: z,
539
+ class: L(`vue-ui-candlestick ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
540
+ style: we(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
541
+ id: `vue-ui-candlestick_${A.value}`,
542
+ onMouseenter: a[5] || (a[5] = () => u(Fe)(!0)),
543
+ onMouseleave: a[6] || (a[6] = () => u(Fe)(!1))
511
544
  }, [
512
- e.value.userOptions.buttons.annotator ? (s(), N(u(ot), {
545
+ e.value.userOptions.buttons.annotator ? (s(), B(u(rt), {
513
546
  key: 0,
514
- svgRef: u(Te),
547
+ svgRef: u(Oe),
515
548
  backgroundColor: e.value.style.backgroundColor,
516
549
  color: e.value.style.color,
517
- active: J.value,
518
- onClose: he
550
+ active: Z.value,
551
+ onClose: be
519
552
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : p("", !0),
520
- rt.value ? (s(), i("div", {
553
+ ft.value ? (s(), i("div", {
521
554
  key: 1,
522
555
  ref_key: "noTitle",
523
- ref: Ce,
556
+ ref: Le,
524
557
  class: "vue-data-ui-no-title-space",
525
558
  style: "height:36px; width: 100%;background:transparent"
526
559
  }, null, 512)) : p("", !0),
527
560
  e.value.style.title.text ? (s(), i("div", {
528
561
  key: 2,
529
562
  ref_key: "chartTitle",
530
- ref: ke,
563
+ ref: _e,
531
564
  style: "width:100%;background:transparent"
532
565
  }, [
533
- (s(), N(tl, {
534
- key: `title_${ze.value}`,
566
+ (s(), B(vl, {
567
+ key: `title_${Ie.value}`,
535
568
  config: {
536
569
  title: {
537
570
  cy: "candlestick-div-title",
@@ -544,108 +577,108 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
544
577
  }
545
578
  }, null, 8, ["config"]))
546
579
  ], 512)) : p("", !0),
547
- e.value.userOptions.show && te.value && (u(Le) || u(ne)) ? (s(), N(u(ut), {
580
+ e.value.userOptions.show && oe.value && (u(Re) || u(de)) ? (s(), B(u(vt), {
548
581
  ref_key: "details",
549
- ref: nt,
550
- key: `user_options_${xe.value}`,
582
+ ref: ht,
583
+ key: `user_options_${Ce.value}`,
551
584
  backgroundColor: e.value.style.backgroundColor,
552
585
  color: e.value.style.color,
553
- isImaging: u(Re),
554
- isPrinting: u(Fe),
555
- uid: w.value,
586
+ isImaging: u(Be),
587
+ isPrinting: u(Ne),
588
+ uid: A.value,
556
589
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
557
590
  hasPdf: e.value.userOptions.buttons.pdf,
558
591
  hasImg: e.value.userOptions.buttons.img,
559
592
  hasXls: e.value.userOptions.buttons.csv,
560
593
  hasTable: e.value.userOptions.buttons.table,
561
594
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
562
- isFullscreen: W.value,
563
- isTooltip: _.value.showTooltip,
595
+ isFullscreen: P.value,
596
+ isTooltip: k.value.showTooltip,
564
597
  titles: { ...e.value.userOptions.buttonTitles },
565
- chartElement: T.value,
598
+ chartElement: z.value,
566
599
  position: e.value.userOptions.position,
567
600
  hasAnnotator: e.value.userOptions.buttons.annotator,
568
- isAnnotation: J.value,
601
+ isAnnotation: Z.value,
569
602
  callbacks: e.value.userOptions.callbacks,
570
603
  printScale: e.value.userOptions.print.scale,
571
- onToggleFullscreen: We,
572
- onGeneratePdf: u(Oe),
573
- onGenerateCsv: Ue,
574
- onGenerateImage: u(Ne),
575
- onToggleTable: De,
576
- onToggleTooltip: He,
577
- onToggleAnnotator: he,
578
- style: me({
579
- visibility: u(Le) ? u(ne) ? "visible" : "hidden" : "visible"
604
+ onToggleFullscreen: Ge,
605
+ onGeneratePdf: u(Ee),
606
+ onGenerateCsv: pe,
607
+ onGenerateImage: u(Ve),
608
+ onToggleTable: Xe,
609
+ onToggleTooltip: je,
610
+ onToggleAnnotator: be,
611
+ style: we({
612
+ visibility: u(Re) ? u(de) ? "visible" : "hidden" : "visible"
580
613
  })
581
- }, Pt({ _: 2 }, [
614
+ }, Ke({ _: 2 }, [
582
615
  t.$slots.menuIcon ? {
583
616
  name: "menuIcon",
584
- fn: x(({ isOpen: l, color: o }) => [
585
- b(t.$slots, "menuIcon", P(E({ isOpen: l, color: o })), void 0, !0)
617
+ fn: b(({ isOpen: l, color: o }) => [
618
+ m(t.$slots, "menuIcon", E(V({ isOpen: l, color: o })), void 0, !0)
586
619
  ]),
587
620
  key: "0"
588
621
  } : void 0,
589
622
  t.$slots.optionTooltip ? {
590
623
  name: "optionTooltip",
591
- fn: x(() => [
592
- b(t.$slots, "optionTooltip", {}, void 0, !0)
624
+ fn: b(() => [
625
+ m(t.$slots, "optionTooltip", {}, void 0, !0)
593
626
  ]),
594
627
  key: "1"
595
628
  } : void 0,
596
629
  t.$slots.optionPdf ? {
597
630
  name: "optionPdf",
598
- fn: x(() => [
599
- b(t.$slots, "optionPdf", {}, void 0, !0)
631
+ fn: b(() => [
632
+ m(t.$slots, "optionPdf", {}, void 0, !0)
600
633
  ]),
601
634
  key: "2"
602
635
  } : void 0,
603
636
  t.$slots.optionCsv ? {
604
637
  name: "optionCsv",
605
- fn: x(() => [
606
- b(t.$slots, "optionCsv", {}, void 0, !0)
638
+ fn: b(() => [
639
+ m(t.$slots, "optionCsv", {}, void 0, !0)
607
640
  ]),
608
641
  key: "3"
609
642
  } : void 0,
610
643
  t.$slots.optionImg ? {
611
644
  name: "optionImg",
612
- fn: x(() => [
613
- b(t.$slots, "optionImg", {}, void 0, !0)
645
+ fn: b(() => [
646
+ m(t.$slots, "optionImg", {}, void 0, !0)
614
647
  ]),
615
648
  key: "4"
616
649
  } : void 0,
617
650
  t.$slots.optionTable ? {
618
651
  name: "optionTable",
619
- fn: x(() => [
620
- b(t.$slots, "optionTable", {}, void 0, !0)
652
+ fn: b(() => [
653
+ m(t.$slots, "optionTable", {}, void 0, !0)
621
654
  ]),
622
655
  key: "5"
623
656
  } : void 0,
624
657
  t.$slots.optionFullscreen ? {
625
658
  name: "optionFullscreen",
626
- fn: x(({ toggleFullscreen: l, isFullscreen: o }) => [
627
- b(t.$slots, "optionFullscreen", P(E({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
659
+ fn: b(({ toggleFullscreen: l, isFullscreen: o }) => [
660
+ m(t.$slots, "optionFullscreen", E(V({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
628
661
  ]),
629
662
  key: "6"
630
663
  } : void 0,
631
664
  t.$slots.optionAnnotator ? {
632
665
  name: "optionAnnotator",
633
- fn: x(({ toggleAnnotator: l, isAnnotator: o }) => [
634
- b(t.$slots, "optionAnnotator", P(E({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
666
+ fn: b(({ toggleAnnotator: l, isAnnotator: o }) => [
667
+ m(t.$slots, "optionAnnotator", E(V({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
635
668
  ]),
636
669
  key: "7"
637
670
  } : void 0
638
671
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : p("", !0),
639
672
  (s(), i("svg", {
640
673
  ref_key: "svgRef",
641
- ref: Te,
642
- xmlns: u(Dt),
674
+ ref: Oe,
675
+ xmlns: u(qt),
643
676
  "aria-label": e.value.style.title.text || "candlestick chart",
644
- class: S({ "vue-data-ui-fullscreen--on": W.value, "vue-data-ui-fulscreen--off": !W.value }),
645
- viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${y.value.height <= 0 ? 10 : y.value.height}`,
646
- style: me(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
677
+ class: L({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
678
+ viewBox: `0 0 ${c.value.width <= 0 ? 10 : c.value.width} ${c.value.height <= 0 ? 10 : c.value.height}`,
679
+ style: we(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
647
680
  }, [
648
- Ye(u(at)),
681
+ Ae(u(dt)),
649
682
  t.$slots["chart-background"] ? (s(), i("foreignObject", {
650
683
  key: 0,
651
684
  x: n.value.left,
@@ -656,49 +689,49 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
656
689
  pointerEvents: "none"
657
690
  }
658
691
  }, [
659
- b(t.$slots, "chart-background", {}, void 0, !0)
660
- ], 8, rl)) : p("", !0),
661
- k.value.length > 0 ? (s(), i("g", vl, [
662
- c("defs", null, [
663
- c("linearGradient", {
664
- id: `bearish_gradient_${w.value}`,
692
+ m(t.$slots, "chart-background", {}, void 0, !0)
693
+ ], 8, fl)) : p("", !0),
694
+ w.value.length > 0 ? (s(), i("g", gl, [
695
+ y("defs", null, [
696
+ y("linearGradient", {
697
+ id: `bearish_gradient_${A.value}`,
665
698
  x2: "0%",
666
699
  y2: "100%"
667
700
  }, [
668
- c("stop", {
701
+ y("stop", {
669
702
  offset: "0%",
670
703
  "stop-color": e.value.style.layout.candle.colors.bearish
671
- }, null, 8, yl),
672
- c("stop", {
704
+ }, null, 8, bl),
705
+ y("stop", {
673
706
  offset: "50%",
674
- "stop-color": `${u(ee)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
675
- }, null, 8, cl),
676
- c("stop", {
707
+ "stop-color": `${u(ae)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
708
+ }, null, 8, ml),
709
+ y("stop", {
677
710
  offset: "100%",
678
- "stop-color": `${u(ee)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
679
- }, null, 8, hl)
680
- ], 8, dl),
681
- c("linearGradient", {
682
- id: `bullish_gradient_${w.value}`,
711
+ "stop-color": `${u(ae)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
712
+ }, null, 8, xl)
713
+ ], 8, pl),
714
+ y("linearGradient", {
715
+ id: `bullish_gradient_${A.value}`,
683
716
  x2: "0%",
684
717
  y2: "100%"
685
718
  }, [
686
- c("stop", {
719
+ y("stop", {
687
720
  offset: "0%",
688
721
  "stop-color": e.value.style.layout.candle.colors.bullish
689
- }, null, 8, gl),
690
- c("stop", {
722
+ }, null, 8, wl),
723
+ y("stop", {
691
724
  offset: "50%",
692
- "stop-color": `${u(ee)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
693
- }, null, 8, pl),
694
- c("stop", {
725
+ "stop-color": `${u(ae)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
726
+ }, null, 8, Al),
727
+ y("stop", {
695
728
  offset: "100%",
696
- "stop-color": `${u(ee)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
697
- }, null, 8, bl)
698
- ], 8, fl)
729
+ "stop-color": `${u(ae)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
730
+ }, null, 8, Cl)
731
+ ], 8, kl)
699
732
  ]),
700
- e.value.style.layout.grid.show ? (s(), i("g", ml, [
701
- c("line", {
733
+ e.value.style.layout.grid.show ? (s(), i("g", _l, [
734
+ y("line", {
702
735
  x1: n.value.left,
703
736
  x2: n.value.left,
704
737
  y1: n.value.top,
@@ -706,8 +739,8 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
706
739
  stroke: e.value.style.layout.grid.stroke,
707
740
  "stroke-width": e.value.style.layout.grid.strokeWidth,
708
741
  "stroke-linecap": "round"
709
- }, null, 8, xl),
710
- c("line", {
742
+ }, null, 8, $l),
743
+ y("line", {
711
744
  x1: n.value.left,
712
745
  x2: n.value.right,
713
746
  y1: n.value.bottom,
@@ -715,15 +748,15 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
715
748
  stroke: e.value.style.layout.grid.stroke,
716
749
  "stroke-width": e.value.style.layout.grid.strokeWidth,
717
750
  "stroke-linecap": "round"
718
- }, null, 8, kl)
751
+ }, null, 8, zl)
719
752
  ])) : p("", !0),
720
753
  e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), i("g", {
721
754
  key: 1,
722
755
  ref_key: "scaleLabels",
723
- ref: ue
756
+ ref: re
724
757
  }, [
725
- (s(!0), i(V, null, B(ct.value, (l, o) => (s(), i("g", null, [
726
- l.value >= C.value.min && l.value <= C.value.max ? (s(), i("line", {
758
+ (s(!0), i(D, null, M(mt.value, (l, o) => (s(), i("g", null, [
759
+ l.value >= _.value.min && l.value <= _.value.max ? (s(), i("line", {
727
760
  key: 0,
728
761
  x1: n.value.left,
729
762
  x2: n.value.left - 5,
@@ -732,21 +765,21 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
732
765
  stroke: e.value.style.layout.grid.stroke,
733
766
  "stroke-width": e.value.style.layout.grid.strokeWidth,
734
767
  "stroke-linecap": "round"
735
- }, null, 8, wl)) : p("", !0),
736
- l.value >= C.value.min && l.value <= C.value.max ? (s(), i("text", {
768
+ }, null, 8, Sl)) : p("", !0),
769
+ l.value >= _.value.min && l.value <= _.value.max ? (s(), i("text", {
737
770
  key: 1,
738
771
  x: n.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
739
- y: l.y + y.value.yAxisFontSize / 3,
740
- "font-size": y.value.yAxisFontSize,
772
+ y: l.y + c.value.yAxisFontSize / 3,
773
+ "font-size": c.value.yAxisFontSize,
741
774
  "text-anchor": "end",
742
775
  fill: e.value.style.layout.grid.yAxis.dataLabels.color,
743
776
  "font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
744
- }, Q(u(L)({
777
+ }, Y(u(T)({
745
778
  p: e.value.style.layout.grid.yAxis.dataLabels.prefix,
746
779
  v: l.value,
747
780
  s: e.value.style.layout.grid.yAxis.dataLabels.suffix,
748
781
  r: e.value.style.layout.grid.yAxis.dataLabels.roundingValue
749
- })), 9, Al)) : p("", !0)
782
+ })), 9, Ll)) : p("", !0)
750
783
  ]))), 256))
751
784
  ], 512)) : p("", !0),
752
785
  e.value.style.layout.grid.xAxis.dataLabels.show && !e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), i("g", {
@@ -754,15 +787,15 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
754
787
  ref_key: "timeLabelsEls",
755
788
  ref: H
756
789
  }, [
757
- (s(!0), i(V, null, B(ht.value, (l, o) => (s(), i("g", null, [
758
- c("text", {
790
+ (s(!0), i(D, null, M(xt.value, (l, o) => (s(), i("g", null, [
791
+ y("text", {
759
792
  class: "vue-data-ui-time-label",
760
- transform: `translate(${n.value.left + d.value * o + d.value / 2}, ${n.value.bottom + y.value.xAxisFontSize * 1.5}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
793
+ transform: `translate(${n.value.left + d.value * o + d.value / 2}, ${n.value.bottom + c.value.xAxisFontSize * 1.5}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
761
794
  "text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
762
- "font-size": y.value.xAxisFontSize,
795
+ "font-size": c.value.xAxisFontSize,
763
796
  fill: e.value.style.layout.grid.xAxis.dataLabels.color,
764
797
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
765
- }, Q(l), 9, _l)
798
+ }, Y(l), 9, Tl)
766
799
  ]))), 256))
767
800
  ], 512)) : p("", !0),
768
801
  e.value.style.layout.grid.xAxis.dataLabels.show && e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), i("g", {
@@ -770,20 +803,20 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
770
803
  ref_key: "timeLabelsEls",
771
804
  ref: H
772
805
  }, [
773
- (s(!0), i(V, null, B(R.value, (l, o) => (s(), i("g", null, [
774
- c("text", {
806
+ (s(!0), i(D, null, M(O.value, (l, o) => (s(), i("g", null, [
807
+ y("text", {
775
808
  class: "vue-data-ui-time-label",
776
- transform: `translate(${n.value.left + d.value * o + d.value / 2}, ${n.value.bottom + y.value.xAxisFontSize * 1.5}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
809
+ transform: `translate(${n.value.left + d.value * o + d.value / 2}, ${n.value.bottom + c.value.xAxisFontSize * 1.5}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
777
810
  "text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
778
- "font-size": y.value.xAxisFontSize,
811
+ "font-size": c.value.xAxisFontSize,
779
812
  fill: e.value.style.layout.grid.xAxis.dataLabels.color,
780
813
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
781
- }, Q(l.text), 9, Cl)
814
+ }, Y(l.text), 9, Il)
782
815
  ]))), 256))
783
816
  ], 512)) : p("", !0),
784
- c("g", null, [
785
- (s(!0), i(V, null, B(k.value, (l, o) => (s(), i("g", null, [
786
- c("rect", {
817
+ y("g", null, [
818
+ (s(!0), i(D, null, M(w.value, (l, o) => (s(), i("g", null, [
819
+ y("rect", {
787
820
  x: l.open.x - e.value.style.layout.wick.strokeWidth / 2,
788
821
  y: l.high.y,
789
822
  width: e.value.style.layout.wick.strokeWidth,
@@ -791,26 +824,26 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
791
824
  fill: e.value.style.layout.wick.stroke,
792
825
  stroke: "none",
793
826
  rx: e.value.style.layout.wick.strokeWidth / 2,
794
- class: S({ "vue-data-ui-transition": $.value && !u(z) })
795
- }, null, 10, $l),
796
- e.value.style.layout.wick.extremity.shape === "circle" ? (s(), i("g", zl, [
797
- c("circle", {
827
+ class: L({ "vue-data-ui-transition": $.value && !u(S) })
828
+ }, null, 10, Fl),
829
+ e.value.style.layout.wick.extremity.shape === "circle" ? (s(), i("g", Rl, [
830
+ y("circle", {
798
831
  cx: l.high.x,
799
832
  cy: l.high.y,
800
833
  r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
801
834
  fill: e.value.style.layout.wick.extremity.color,
802
- class: S({ "vue-data-ui-transition": $.value && !u(z) })
803
- }, null, 10, Sl),
804
- c("circle", {
835
+ class: L({ "vue-data-ui-transition": $.value && !u(S) })
836
+ }, null, 10, Ol),
837
+ y("circle", {
805
838
  cx: l.low.x,
806
839
  cy: l.low.y,
807
840
  r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
808
841
  fill: e.value.style.layout.wick.extremity.color,
809
- class: S({ "vue-data-ui-transition": $.value && !u(z) })
810
- }, null, 10, Ll)
842
+ class: L({ "vue-data-ui-transition": $.value && !u(S) })
843
+ }, null, 10, Pl)
811
844
  ])) : p("", !0),
812
- e.value.style.layout.wick.extremity.shape === "line" ? (s(), i("g", Tl, [
813
- c("rect", {
845
+ e.value.style.layout.wick.extremity.shape === "line" ? (s(), i("g", Nl, [
846
+ y("rect", {
814
847
  x: 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,
815
848
  y: l.high.y - e.value.style.layout.wick.strokeWidth / 2,
816
849
  width: Math.abs(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 - (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)),
@@ -818,9 +851,9 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
818
851
  rx: e.value.style.layout.wick.strokeWidth / 2,
819
852
  fill: e.value.style.layout.wick.extremity.color,
820
853
  stroke: "none",
821
- class: S({ "vue-data-ui-transition": $.value && !u(z) })
822
- }, null, 10, Il),
823
- c("rect", {
854
+ class: L({ "vue-data-ui-transition": $.value && !u(S) })
855
+ }, null, 10, Bl),
856
+ y("rect", {
824
857
  x: 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,
825
858
  y: l.low.y - e.value.style.layout.wick.strokeWidth / 2,
826
859
  width: Math.abs(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 - (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)),
@@ -828,13 +861,13 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
828
861
  fill: e.value.style.layout.wick.extremity.color,
829
862
  stroke: "none",
830
863
  rx: e.value.style.layout.wick.strokeWidth / 2,
831
- class: S({ "vue-data-ui-transition": $.value && !u(z) })
832
- }, null, 10, Fl)
864
+ class: L({ "vue-data-ui-transition": $.value && !u(S) })
865
+ }, null, 10, El)
833
866
  ])) : p("", !0)
834
867
  ]))), 256))
835
868
  ]),
836
- c("g", null, [
837
- (s(!0), i(V, null, B(k.value, (l, o) => (s(), i("rect", {
869
+ y("g", null, [
870
+ (s(!0), i(D, null, M(w.value, (l, o) => (s(), i("rect", {
838
871
  x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
839
872
  y: l.isBullish ? l.last.y : l.open.y,
840
873
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
@@ -842,59 +875,59 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
842
875
  fill: e.value.style.layout.candle.gradient.underlayer,
843
876
  rx: e.value.style.layout.candle.borderRadius,
844
877
  stroke: "none",
845
- class: S({ "vue-data-ui-transition": $.value && !u(z) })
846
- }, null, 10, Rl))), 256)),
847
- (s(!0), i(V, null, B(k.value, (l, o) => (s(), i("rect", {
878
+ class: L({ "vue-data-ui-transition": $.value && !u(S) })
879
+ }, null, 10, Vl))), 256)),
880
+ (s(!0), i(D, null, M(w.value, (l, o) => (s(), i("rect", {
848
881
  x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
849
882
  y: l.isBullish ? l.last.y : l.open.y,
850
883
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
851
884
  width: d.value * e.value.style.layout.candle.widthRatio <= 0 ? 1e-4 : d.value * e.value.style.layout.candle.widthRatio,
852
- 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,
885
+ fill: l.isBullish ? e.value.style.layout.candle.gradient.show ? `url(#bullish_gradient_${A.value})` : e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.gradient.show ? `url(#bearish_gradient_${A.value})` : e.value.style.layout.candle.colors.bearish,
853
886
  rx: e.value.style.layout.candle.borderRadius,
854
887
  stroke: e.value.style.layout.candle.stroke,
855
888
  "stroke-width": e.value.style.layout.candle.strokeWidth,
856
889
  "stroke-linecap": "round",
857
890
  "stroke-linejoin": "round",
858
- class: S({ "vue-data-ui-transition": $.value && !u(z) })
859
- }, null, 10, Ol))), 256))
891
+ class: L({ "vue-data-ui-transition": $.value && !u(S) })
892
+ }, null, 10, Dl))), 256))
860
893
  ]),
861
- c("g", null, [
862
- (s(!0), i(V, null, B(k.value, (l, o) => (s(), i("rect", {
894
+ y("g", null, [
895
+ (s(!0), i(D, null, M(w.value, (l, o) => (s(), i("rect", {
863
896
  x: n.value.left + o * d.value,
864
897
  y: n.value.top,
865
898
  height: n.value.height <= 0 ? 1e-4 : n.value.height,
866
899
  width: d.value <= 0 ? 1e-4 : d.value,
867
- fill: se.value === o ? u(Ht)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
868
- onMouseover: () => pt(o, l),
869
- onMouseleave: () => gt(o, l),
870
- onClick: () => ft(o, l)
871
- }, null, 40, Nl))), 256))
900
+ fill: ne.value === o ? u(Jt)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
901
+ onMouseover: () => At(o, l),
902
+ onMouseleave: () => wt(o, l),
903
+ onClick: () => kt(o, l)
904
+ }, null, 40, Ml))), 256))
872
905
  ])
873
906
  ])) : p("", !0),
874
- b(t.$slots, "svg", { svg: y.value }, void 0, !0)
875
- ], 14, nl)),
876
- t.$slots.watermark ? (s(), i("div", Pl, [
877
- b(t.$slots, "watermark", P(E({ isPrinting: u(Fe) || u(Re) })), void 0, !0)
907
+ m(t.$slots, "svg", { svg: c.value }, void 0, !0)
908
+ ], 14, hl)),
909
+ t.$slots.watermark ? (s(), i("div", Ul, [
910
+ m(t.$slots, "watermark", E(V({ isPrinting: u(Ne) || u(Be) })), void 0, !0)
878
911
  ])) : p("", !0),
879
- e.value.style.zoom.show && te.value ? (s(), i("div", {
912
+ e.value.style.zoom.show && oe.value ? (s(), i("div", {
880
913
  key: 5,
881
914
  ref_key: "chartSlicer",
882
- ref: Ae
915
+ ref: ze
883
916
  }, [
884
- (s(), N(ll, {
917
+ (s(), B(dl, {
885
918
  ref_key: "slicerComponent",
886
- ref: Me,
887
- key: `slicer_${j.value}`,
919
+ ref: He,
920
+ key: `slicer_${J.value}`,
888
921
  background: e.value.style.zoom.color,
889
922
  borderColor: e.value.style.backgroundColor,
890
923
  fontSize: e.value.style.zoom.fontSize,
891
924
  useResetSlot: e.value.style.zoom.useResetSlot,
892
- labelLeft: Be.value.start,
893
- labelRight: Be.value.end,
925
+ labelLeft: We.value.start,
926
+ labelRight: We.value.end,
894
927
  textColor: e.value.style.color,
895
928
  inputColor: e.value.style.zoom.color,
896
929
  selectColor: e.value.style.zoom.highlightColor,
897
- max: G.value,
930
+ max: X.value,
898
931
  min: 0,
899
932
  valueStart: v.value.start,
900
933
  valueEnd: v.value.end,
@@ -903,33 +936,33 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
903
936
  end: v.value.end,
904
937
  "onUpdate:end": a[1] || (a[1] = (l) => v.value.end = l),
905
938
  refreshStartPoint: e.value.style.zoom.startIndex !== null ? e.value.style.zoom.startIndex : 0,
906
- refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : G.value,
939
+ refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : X.value,
907
940
  enableRangeHandles: e.value.style.zoom.enableRangeHandles,
908
941
  enableSelectionDrag: e.value.style.zoom.enableSelectionDrag,
909
- onReset: bt
942
+ onReset: Ct
910
943
  }, {
911
- "reset-action": x(({ reset: l }) => [
912
- b(t.$slots, "reset-action", P(E({ reset: l })), void 0, !0)
944
+ "reset-action": b(({ reset: l }) => [
945
+ m(t.$slots, "reset-action", E(V({ reset: l })), void 0, !0)
913
946
  ]),
914
947
  _: 3
915
948
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"]))
916
949
  ], 512)) : p("", !0),
917
- c("div", {
950
+ y("div", {
918
951
  ref_key: "chartLegend",
919
- ref: we
952
+ ref: $e
920
953
  }, [
921
- b(t.$slots, "legend", { legend: k.value }, void 0, !0)
954
+ m(t.$slots, "legend", { legend: w.value }, void 0, !0)
922
955
  ], 512),
923
956
  t.$slots.source ? (s(), i("div", {
924
957
  key: 6,
925
958
  ref_key: "source",
926
- ref: _e,
959
+ ref: Se,
927
960
  dir: "auto"
928
961
  }, [
929
- b(t.$slots, "source", {}, void 0, !0)
962
+ m(t.$slots, "source", {}, void 0, !0)
930
963
  ], 512)) : p("", !0),
931
- Ye(u(st), {
932
- show: _.value.showTooltip && ae.value,
964
+ Ae(u(ut), {
965
+ show: k.value.showTooltip && ue.value,
933
966
  backgroundColor: e.value.style.tooltip.backgroundColor,
934
967
  color: e.value.style.tooltip.color,
935
968
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -939,62 +972,76 @@ const il = ["id"], nl = ["xmlns", "aria-label", "viewBox"], rl = ["x", "y", "wid
939
972
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
940
973
  position: e.value.style.tooltip.position,
941
974
  offsetY: e.value.style.tooltip.offsetY,
942
- parent: T.value,
943
- content: oe.value,
944
- isFullscreen: W.value,
975
+ parent: z.value,
976
+ content: ie.value,
977
+ isFullscreen: P.value,
945
978
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
946
979
  smooth: e.value.style.tooltip.smooth,
947
980
  backdropFilter: e.value.style.tooltip.backdropFilter
948
981
  }, {
949
- "tooltip-before": x(() => [
950
- b(t.$slots, "tooltip-before", P(E({ ...ye.value })), void 0, !0)
982
+ "tooltip-before": b(() => [
983
+ m(t.$slots, "tooltip-before", E(V({ ...fe.value })), void 0, !0)
951
984
  ]),
952
- "tooltip-after": x(() => [
953
- b(t.$slots, "tooltip-after", P(E({ ...ye.value })), void 0, !0)
985
+ "tooltip-after": b(() => [
986
+ m(t.$slots, "tooltip-after", E(V({ ...fe.value })), void 0, !0)
954
987
  ]),
955
988
  _: 3
956
989
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
957
- te.value ? (s(), N(u(tt), {
958
- key: 7,
959
- hideDetails: "",
960
- config: {
961
- open: _.value.showTable,
962
- maxHeight: 1e4,
963
- body: {
964
- backgroundColor: e.value.style.backgroundColor,
965
- color: e.value.style.color
966
- },
967
- head: {
968
- backgroundColor: e.value.style.backgroundColor,
969
- color: e.value.style.color
970
- }
971
- }
972
- }, {
973
- content: x(() => [
974
- (s(), N(u(lt), {
975
- key: `table_${$e.value}`,
976
- colNames: q.value.colNames,
977
- head: q.value.head,
978
- body: q.value.body,
979
- config: q.value.config,
980
- title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
981
- onClose: a[2] || (a[2] = (l) => _.value.showTable = !1)
990
+ oe.value ? (s(), B(Ut(j.value.component), Wt({ key: 7 }, j.value.props, {
991
+ ref_key: "tableUnit",
992
+ ref: G,
993
+ onClose: a[4] || (a[4] = (l) => k.value.showTable = !1)
994
+ }), Ke({
995
+ content: b(() => [
996
+ (s(), B(u(nt), {
997
+ key: `table_${Te.value}`,
998
+ colNames: Q.value.colNames,
999
+ head: Q.value.head,
1000
+ body: Q.value.body,
1001
+ config: Q.value.config,
1002
+ title: e.value.table.useDialog ? "" : j.value.title,
1003
+ withCloseButton: !e.value.table.useDialog,
1004
+ onClose: a[3] || (a[3] = (l) => k.value.showTable = !1)
982
1005
  }, {
983
- th: x(({ th: l }) => [
984
- Et(Q(l), 1)
1006
+ th: b(({ th: l }) => [
1007
+ Qe(Y(l), 1)
985
1008
  ]),
986
- td: x(({ td: l }) => [
987
- c("div", { innerHTML: l }, null, 8, El)
1009
+ td: b(({ td: l }) => [
1010
+ y("div", { innerHTML: l }, null, 8, Wl)
988
1011
  ]),
989
1012
  _: 1
990
- }, 8, ["colNames", "head", "body", "config", "title"]))
1013
+ }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
991
1014
  ]),
992
- _: 1
993
- }, 8, ["config"])) : p("", !0),
994
- u(z) ? (s(), N(el, { key: 8 })) : p("", !0)
995
- ], 46, il));
1015
+ _: 2
1016
+ }, [
1017
+ e.value.table.useDialog ? {
1018
+ name: "title",
1019
+ fn: b(() => [
1020
+ Qe(Y(j.value.title), 1)
1021
+ ]),
1022
+ key: "0"
1023
+ } : void 0,
1024
+ e.value.table.useDialog ? {
1025
+ name: "actions",
1026
+ fn: b(() => [
1027
+ y("button", {
1028
+ tabindex: "0",
1029
+ class: "vue-ui-user-options-button",
1030
+ onClick: a[2] || (a[2] = (l) => pe(e.value.userOptions.callbacks.csv))
1031
+ }, [
1032
+ Ae(u(st), {
1033
+ name: "excel",
1034
+ stroke: j.value.props.color
1035
+ }, null, 8, ["stroke"])
1036
+ ])
1037
+ ]),
1038
+ key: "1"
1039
+ } : void 0
1040
+ ]), 1040)) : p("", !0),
1041
+ u(S) ? (s(), B(ol, { key: 8 })) : p("", !0)
1042
+ ], 46, yl));
996
1043
  }
997
- }, ea = /* @__PURE__ */ ul(Vl, [["__scopeId", "data-v-cf6a1ffe"]]);
1044
+ }, ua = /* @__PURE__ */ cl(Hl, [["__scopeId", "data-v-edf6444a"]]);
998
1045
  export {
999
- ea as default
1046
+ ua as default
1000
1047
  };