vue-data-ui 3.1.0 → 3.1.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 (94) hide show
  1. package/dist/{Arrow-DvG07exK.js → Arrow-BotYLY2I.js} +1 -1
  2. package/dist/{BaseDraggableDialog-O7900pGp.js → BaseDraggableDialog-Dkpr-qUQ.js} +2 -2
  3. package/dist/{BaseIcon-DHtro8us.js → BaseIcon-BLg8FaQ2.js} +5 -3
  4. package/dist/{ColorPicker-CpWzNn4r.js → ColorPicker-C2sMVpbA.js} +2 -2
  5. package/dist/{DataTable-DJjA2_wf.js → DataTable-BRN1-1ob.js} +2 -2
  6. package/dist/{Legend-2-dC7DVb.js → Legend-DLzeDl3-.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-DHeE4Yuv.js → NonSvgPenAndPaper-Dp53d2re.js} +3 -3
  8. package/dist/{PackageVersion-DU12WH3O.js → PackageVersion-Jz9FlNXl.js} +1 -1
  9. package/dist/{PenAndPaper-B7QEDgx4.js → PenAndPaper-TgGWddgD.js} +3 -3
  10. package/dist/{Shape-Dj2Hl33H.js → Shape-Bmpx9GRg.js} +1 -1
  11. package/dist/{Slicer-D99HytqX.js → Slicer-DeWHn8zH.js} +2 -2
  12. package/dist/{SparkTooltip-B-wL07rI.js → SparkTooltip-C6fJOQ0j.js} +1 -1
  13. package/dist/{Title-Dq2_Z9kR.js → Title-AGmmsSi_.js} +1 -1
  14. package/dist/{Tooltip-Y219DXZO.js → Tooltip-le0yZk_t.js} +1 -1
  15. package/dist/{UserOptions-BuGfCdAY.js → UserOptions-DEFwuQIo.js} +125 -108
  16. package/dist/{dom-to-png-BhciAKaM.js → dom-to-png-C7V0EktO.js} +1 -1
  17. package/dist/{img-JOqdlnUs.js → img-DvuphHeJ.js} +1 -1
  18. package/dist/{index-CDQbCd41.js → index-BFqW8WA0.js} +97 -74
  19. package/dist/pdf-Bdf65IBz.js +79 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +25 -2
  22. package/dist/types/vue-data-ui.d.ts +25 -2
  23. package/dist/{useAutoSizeLabelsInsideViewbox-Bky5KGFZ.js → useAutoSizeLabelsInsideViewbox-N1I6Rk6M.js} +1 -1
  24. package/dist/{useNestedProp-BPEHGiYX.js → useNestedProp-BSZCnuGl.js} +1 -1
  25. package/dist/{usePrinter-Bnl1YeUU.js → usePrinter-DDIKRiOp.js} +13 -12
  26. package/dist/useTableResponsive-Cbx-ACcP.js +22 -0
  27. package/dist/{vue-data-ui-DcNYz3cZ.js → vue-data-ui-vwh3dolO.js} +64 -64
  28. package/dist/vue-data-ui.js +1 -1
  29. package/dist/{vue-ui-3d-bar-BNIFAeN-.js → vue-ui-3d-bar-DNw3RWRt.js} +371 -366
  30. package/dist/{vue-ui-accordion-Bf_LHFFX.js → vue-ui-accordion-Cv747Pg6.js} +3 -3
  31. package/dist/{vue-ui-age-pyramid-Bz-l1afR.js → vue-ui-age-pyramid-B1Yun-v7.js} +200 -195
  32. package/dist/{vue-ui-annotator-BcfRH2BF.js → vue-ui-annotator-B_5hOApA.js} +2 -2
  33. package/dist/{vue-ui-bullet-DK1aM9fX.js → vue-ui-bullet-C2Aj7Lcx.js} +7 -7
  34. package/dist/{vue-ui-candlestick-D6mMjvtu.js → vue-ui-candlestick-BBYqZVUp.js} +225 -220
  35. package/dist/{vue-ui-carousel-table-Vp5f238W.js → vue-ui-carousel-table-DPIOnp9J.js} +4 -4
  36. package/dist/{vue-ui-chestnut-BKc4v-lf.js → vue-ui-chestnut-C4B0wEFn.js} +484 -487
  37. package/dist/{vue-ui-chord-CquhRjf0.js → vue-ui-chord-B9Zml1V7.js} +272 -266
  38. package/dist/{vue-ui-circle-pack-D6zLgxa3.js → vue-ui-circle-pack-CLn19BHH.js} +6 -6
  39. package/dist/{vue-ui-cursor-DIXb2S93.js → vue-ui-cursor-AVEV-uv3.js} +2 -2
  40. package/dist/vue-ui-dashboard-DwNYa1I4.js +412 -0
  41. package/dist/{vue-ui-digits-CLAIo9gW.js → vue-ui-digits-Dr4OHGU0.js} +2 -2
  42. package/dist/{vue-ui-donut-evolution-C3r0YhKz.js → vue-ui-donut-evolution-hJh-1Z48.js} +310 -304
  43. package/dist/{vue-ui-donut-C8h_tCSO.js → vue-ui-donut-xseR2SnT.js} +348 -343
  44. package/dist/{vue-ui-dumbbell-D-t4M00E.js → vue-ui-dumbbell-FdTx7uAG.js} +293 -287
  45. package/dist/{vue-ui-flow-D7_D_UNm.js → vue-ui-flow-Bh6FqlC1.js} +263 -257
  46. package/dist/{vue-ui-funnel-B0QOfZRz.js → vue-ui-funnel-BlsKhHbk.js} +206 -200
  47. package/dist/{vue-ui-galaxy-Ccw5uNes.js → vue-ui-galaxy-C0B8stYi.js} +243 -238
  48. package/dist/{vue-ui-gauge-DvW7nFmK.js → vue-ui-gauge-B1-UiZwV.js} +7 -7
  49. package/dist/{vue-ui-gizmo-WGQxvGPy.js → vue-ui-gizmo-Df_SCjOI.js} +3 -3
  50. package/dist/{vue-ui-heatmap-BQkLujyp.js → vue-ui-heatmap-NfRSd6fU.js} +370 -375
  51. package/dist/{vue-ui-history-plot-eU33r_Ot.js → vue-ui-history-plot-Ce-DJ8xC.js} +305 -299
  52. package/dist/{vue-ui-kpi-CKg2i71M.js → vue-ui-kpi-CH3rWyiG.js} +3 -3
  53. package/dist/{vue-ui-mini-loader-BmkGQsm_.js → vue-ui-mini-loader-D9EVnpxk.js} +2 -2
  54. package/dist/{vue-ui-molecule-Dlu0hjSg.js → vue-ui-molecule-C973vfYh.js} +188 -183
  55. package/dist/{vue-ui-mood-radar-DQaxfw9R.js → vue-ui-mood-radar-DdLxBhlO.js} +197 -192
  56. package/dist/{vue-ui-nested-donuts-Djj9Aw_i.js → vue-ui-nested-donuts-tARXMYzx.js} +326 -320
  57. package/dist/{vue-ui-onion-ZgsErXis.js → vue-ui-onion-BC9czZGG.js} +8 -8
  58. package/dist/{vue-ui-parallel-coordinate-plot-B5fB22Jc.js → vue-ui-parallel-coordinate-plot-CxDIkZKr.js} +401 -395
  59. package/dist/{vue-ui-quadrant-CMevCtXH.js → vue-ui-quadrant-Bpm5ZoTp.js} +339 -334
  60. package/dist/{vue-ui-quick-chart-DcparKSX.js → vue-ui-quick-chart-Bkc_JBCw.js} +6 -6
  61. package/dist/{vue-ui-radar-DFbxoKCK.js → vue-ui-radar-DVJQYNeL.js} +248 -243
  62. package/dist/{vue-ui-rating-ZUpxCWrk.js → vue-ui-rating-DITnRSiS.js} +2 -2
  63. package/dist/{vue-ui-relation-circle-eNKJY4Sx.js → vue-ui-relation-circle-D_OTYUmS.js} +7 -7
  64. package/dist/{vue-ui-ridgeline-D4shpQZd.js → vue-ui-ridgeline-Gc1c4LXq.js} +267 -263
  65. package/dist/{vue-ui-rings-TdTHMbsa.js → vue-ui-rings-CUT1N_kK.js} +229 -224
  66. package/dist/{vue-ui-scatter-CVuV9ljU.js → vue-ui-scatter-DwnZHy0V.js} +359 -354
  67. package/dist/{vue-ui-skeleton-CFxBU2-p.js → vue-ui-skeleton-CeyaKpZd.js} +3 -3
  68. package/dist/{vue-ui-smiley-Har3B3aQ.js → vue-ui-smiley-B9yNexWr.js} +2 -2
  69. package/dist/{vue-ui-spark-trend-FPk-XEwI.js → vue-ui-spark-trend-DTYVcrHV.js} +3 -3
  70. package/dist/{vue-ui-sparkbar-V3eJ0w0t.js → vue-ui-sparkbar-BzxynYoW.js} +3 -3
  71. package/dist/{vue-ui-sparkgauge-DKTGkWnJ.js → vue-ui-sparkgauge-DoznCX5h.js} +3 -3
  72. package/dist/{vue-ui-sparkhistogram-DJsgFwHs.js → vue-ui-sparkhistogram-DoZpd0H2.js} +4 -4
  73. package/dist/{vue-ui-sparkline-Dmrm5SL5.js → vue-ui-sparkline-ZKit-hgG.js} +3 -3
  74. package/dist/{vue-ui-sparkstackbar-B0Pl7VMI.js → vue-ui-sparkstackbar-DjoqH_Xs.js} +3 -3
  75. package/dist/{vue-ui-stackbar-CNsgBPhj.js → vue-ui-stackbar-J-gxI4Xn.js} +310 -304
  76. package/dist/{vue-ui-strip-plot-CYAWwYOM.js → vue-ui-strip-plot-CO7NVeFi.js} +246 -240
  77. package/dist/{vue-ui-table-heatmap-COI9LRqC.js → vue-ui-table-heatmap-BEFdai_O.js} +5 -5
  78. package/dist/{vue-ui-table-Dn6H98rP.js → vue-ui-table-rmbBw_0d.js} +3 -3
  79. package/dist/{vue-ui-table-sparkline-B7Gg5FfJ.js → vue-ui-table-sparkline-CjgaQXbc.js} +4 -4
  80. package/dist/{vue-ui-thermometer-Bgynq5El.js → vue-ui-thermometer--aqaJwFo.js} +7 -7
  81. package/dist/{vue-ui-timer-CXng51v5.js → vue-ui-timer-qFNHDcU_.js} +5 -5
  82. package/dist/{vue-ui-tiremarks-Cy1U3hO1.js → vue-ui-tiremarks-DA8fzQHo.js} +6 -6
  83. package/dist/{vue-ui-treemap-BsvIvRmE.js → vue-ui-treemap-DGC9zxon.js} +262 -256
  84. package/dist/{vue-ui-vertical-bar-DHqWeDIf.js → vue-ui-vertical-bar-DOCeCCqz.js} +297 -298
  85. package/dist/{vue-ui-waffle-D1Mscj3N.js → vue-ui-waffle-DD9jtkcQ.js} +257 -252
  86. package/dist/{vue-ui-wheel-DpV-N5tF.js → vue-ui-wheel-87VStrfJ.js} +6 -6
  87. package/dist/vue-ui-word-cloud-CCMfa9H1.js +817 -0
  88. package/dist/{vue-ui-world-DYz6zw3x.js → vue-ui-world-Cm3Hn1-2.js} +257 -252
  89. package/dist/{vue-ui-xy-B1nqNbzw.js → vue-ui-xy-C2SnbN6w.js} +1453 -1447
  90. package/dist/{vue-ui-xy-canvas-D4wd-Asd.js → vue-ui-xy-canvas-WxSJqoiF.js} +235 -229
  91. package/package.json +1 -1
  92. package/dist/pdf-Dd-LIJqz.js +0 -61
  93. package/dist/vue-ui-dashboard-DmiriAK7.js +0 -325
  94. package/dist/vue-ui-word-cloud-MaNQ3Kdk.js +0 -811
@@ -1,21 +1,21 @@
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-CDQbCd41.js";
3
- import { t as tt, u as tl } from "./useResponsive-DfdjqQps.js";
4
- import { u as ll } from "./usePrinter-Bnl1YeUU.js";
5
- import { u as al, B as ol } from "./BaseScanner-BgWxam9d.js";
6
- import { u as lt } from "./useNestedProp-BPEHGiYX.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-JOqdlnUs.js";
12
- import vl from "./Title-Dq2_Z9kR.js";
13
- import { S as dl } from "./Slicer-D99HytqX.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 = {
1
+ import { defineAsyncComponent as F, computed as g, ref as r, toRefs as Vt, watch as te, shallowRef as Ke, onMounted as Mt, onBeforeUnmount as Qe, watchEffect as Ut, nextTick as we, createElementBlock as i, openBlock as s, unref as u, normalizeStyle as Ae, normalizeClass as L, createBlock as D, createCommentVNode as p, createElementVNode as y, createVNode as Ce, createSlots as Ze, withCtx as b, renderSlot as m, normalizeProps as B, guardReactiveProps as E, Fragment as V, renderList as M, toDisplayString as Y, resolveDynamicComponent as Wt, mergeProps as Ht, createTextVNode as et } from "vue";
2
+ import { u as Gt, c as Xt, t as jt, b as Yt, C as le, o as tt, f as U, D as qt, h as q, i as T, X as Jt, x as ae, s as Kt, E as lt, v as Qt, w as Zt, y as el, z as tl } from "./index-BFqW8WA0.js";
3
+ import { t as at, u as ll } from "./useResponsive-DfdjqQps.js";
4
+ import { u as al } from "./usePrinter-DDIKRiOp.js";
5
+ import { u as ol, B as sl } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as ot } from "./useNestedProp-BSZCnuGl.js";
7
+ import { u as ul } from "./useTimeLabels-BGFjWgrv.js";
8
+ import { u as il } from "./useUserOptionState-BIvW1Kz7.js";
9
+ import { u as nl } from "./useChartAccessibility-9icAAmYg.js";
10
+ import { u as rl } from "./useTimeLabelCollider-CIsgDrl9.js";
11
+ import vl from "./img-DvuphHeJ.js";
12
+ import dl from "./Title-AGmmsSi_.js";
13
+ import { S as cl } from "./Slicer-DeWHn8zH.js";
14
+ import { _ as yl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "width", "height"], pl = { key: 1 }, bl = ["id"], ml = ["stop-color"], xl = ["stop-color"], kl = ["stop-color"], wl = ["id"], Al = ["stop-color"], Cl = ["stop-color"], _l = ["stop-color"], $l = { key: 0 }, zl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Sl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Tl = ["x", "y", "font-size", "fill", "font-weight"], Il = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Fl = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Rl = ["x", "y", "width", "height", "fill", "rx"], Ol = { key: 0 }, Pl = ["cx", "cy", "r", "fill"], Nl = ["cx", "cy", "r", "fill"], Dl = { key: 1 }, Bl = ["x", "y", "width", "height", "rx", "fill"], El = ["x", "y", "width", "height", "fill", "rx"], Vl = ["x", "y", "height", "width", "fill", "rx"], Ml = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Ul = ["x", "y", "height", "width", "fill", "onMouseover", "onMouseleave", "onClick"], Wl = {
16
16
  key: 4,
17
17
  class: "vue-data-ui-watermark"
18
- }, Wl = ["innerHTML"], Hl = {
18
+ }, Hl = ["innerHTML"], Gl = {
19
19
  __name: "vue-ui-candlestick",
20
20
  props: {
21
21
  config: {
@@ -31,14 +31,14 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
31
31
  }
32
32
  }
33
33
  },
34
- setup(at, { expose: ot }) {
35
- const st = F(() => import("./BaseIcon-DHtro8us.js")), ut = F(() => import("./Tooltip-Y219DXZO.js")), it = F(() => import("./vue-ui-accordion-Bf_LHFFX.js")), nt = F(() => import("./DataTable-DJjA2_wf.js")), rt = F(() => import("./PenAndPaper-B7QEDgx4.js")), vt = F(() => import("./UserOptions-BuGfCdAY.js")), dt = F(() => import("./PackageVersion-DU12WH3O.js")), ct = F(() => import("./BaseDraggableDialog-O7900pGp.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({
34
+ setup(st, { expose: ut }) {
35
+ const it = F(() => import("./BaseIcon-BLg8FaQ2.js")), nt = F(() => import("./Tooltip-le0yZk_t.js")), rt = F(() => import("./vue-ui-accordion-Cv747Pg6.js")), vt = F(() => import("./DataTable-BRN1-1ob.js")), dt = F(() => import("./PenAndPaper-TgGWddgD.js")), ct = F(() => import("./UserOptions-DEFwuQIo.js")), yt = F(() => import("./PackageVersion-Jz9FlNXl.js")), ht = F(() => import("./BaseDraggableDialog-Dkpr-qUQ.js")), { vue_ui_candlestick: ft } = Gt(), h = st, oe = g(() => !!h.dataset && h.dataset.length), $ = r(!1), se = r(null), A = r(Xt()), ue = r(!1), ie = r(""), ne = r(void 0), _e = r(0), z = r(null), $e = r(null), ze = r(null), Se = r(null), Le = r(null), Te = r(null), J = r(0), Ie = r(0), Fe = r(0), re = r(null), H = r(null), G = r(null), ve = r(null), e = r(ye()), { loading: S, FINAL_DATASET: C, manualLoading: de } = ol({
36
36
  ...Vt(h),
37
37
  FINAL_CONFIG: e,
38
- prepareConfig: ce,
38
+ prepareConfig: ye,
39
39
  callback: () => {
40
40
  Promise.resolve().then(async () => {
41
- await ge();
41
+ await pe();
42
42
  });
43
43
  },
44
44
  skeletonDataset: [
@@ -55,7 +55,7 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
55
55
  [17304192e5, 890, 2330, 550, 1950, 3770],
56
56
  [17330112e5, 1440, 3770, 890, 3200, 5100]
57
57
  ],
58
- skeletonConfig: Xt({
58
+ skeletonConfig: jt({
59
59
  defaultConfig: e.value,
60
60
  userConfig: {
61
61
  useCssAnimation: !1,
@@ -96,61 +96,61 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
96
96
  }
97
97
  }
98
98
  })
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({
99
+ }), { userOptionsVisible: ce, setUserOptionsVisibility: Re, keepUserOptionState: Oe } = il({ config: e.value }), { svgRef: Pe } = nl({ config: e.value.style.title });
100
+ function ye() {
101
+ const t = ot({
102
102
  userConfig: h.config,
103
- defaultConfig: yt
103
+ defaultConfig: ft
104
104
  });
105
105
  let a = {};
106
106
  return t.theme ? a = {
107
- ...lt({
108
- userConfig: jt.vue_ui_candlestick[t.theme] || h.config,
107
+ ...ot({
108
+ userConfig: Yt.vue_ui_candlestick[t.theme] || h.config,
109
109
  defaultConfig: t
110
110
  })
111
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
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;
114
+ S.value || (e.value = ye()), ce.value = !e.value.userOptions.showOnChartHover, Ne(), J.value += 1, Fe.value += 1, Ie.value += 1, k.value.showTable = e.value.table.show, k.value.showTooltip = e.value.style.tooltip.show;
115
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;
116
+ Array.isArray(t) && t.length > 0 && (de.value = !1), v.value.start = 0, v.value.end = t.length, J.value += 1;
117
117
  }, { deep: !0 });
118
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 = qe(null), W = qe(null);
124
- Dt(() => {
125
- Pe();
123
+ }), I = Ke(null), W = Ke(null);
124
+ Mt(() => {
125
+ Ne();
126
126
  });
127
127
  const R = g(() => !!e.value.debug);
128
- function Pe() {
129
- if (Ze(h.dataset) && (U({
128
+ function Ne() {
129
+ if (tt(h.dataset) && (U({
130
130
  componentName: "VueUiCandlestick",
131
131
  type: "dataset",
132
132
  debug: R.value
133
- }), ve.value = !0), Ze(h.dataset) || (ve.value = e.value.loading), setTimeout(() => {
133
+ }), de.value = !0), tt(h.dataset) || (de.value = e.value.loading), setTimeout(() => {
134
134
  $.value = !0;
135
135
  }, 10), e.value.responsive) {
136
- const a = tt(() => {
136
+ const a = at(() => {
137
137
  $.value = !1;
138
- const { width: l, height: o } = tl({
138
+ const { width: l, height: o } = ll({
139
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
140
+ title: e.value.style.title.text ? $e.value : null,
141
+ slicer: Se.value,
142
+ legend: ze.value,
143
+ source: Le.value,
144
+ noTitle: Te.value
145
145
  });
146
146
  requestAnimationFrame(() => {
147
- c.value.width = l, c.value.height = o - 12, e.value.responsiveProportionalSizing ? (c.value.xAxisFontSize = et({
147
+ c.value.width = l, c.value.height = o - 12, e.value.responsiveProportionalSizing ? (c.value.xAxisFontSize = lt({
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
- }), c.value.yAxisFontSize = et({
153
+ }), c.value.yAxisFontSize = lt({
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,
@@ -163,36 +163,36 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
163
163
  });
164
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
- ge();
166
+ pe();
167
167
  }
168
- Je(() => {
168
+ Qe(() => {
169
169
  I.value && (W.value && I.value.unobserve(W.value), I.value.disconnect());
170
170
  });
171
- const { isPrinting: Ne, isImaging: Be, generatePdf: Ee, generateImage: Ve } = ll({
171
+ const { isPrinting: De, isImaging: Be, generatePdf: Ee, generateImage: Ve } = al({
172
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
- }), ft = g(() => e.value.userOptions.show && !e.value.style.title.text), k = r({
175
+ }), gt = 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
- }), ye = r(0), gt = tt((t) => {
179
- ye.value = t;
178
+ }), he = r(0), pt = at((t) => {
179
+ he.value = t;
180
180
  }, 100);
181
- Mt((t) => {
181
+ Ut((t) => {
182
182
  const a = H.value;
183
183
  if (!a) return;
184
184
  const l = new ResizeObserver((o) => {
185
- gt(o[0].contentRect.height);
185
+ pt(o[0].contentRect.height);
186
186
  });
187
187
  l.observe(a), t(() => l.disconnect());
188
- }), Je(() => {
189
- ye.value = 0;
188
+ }), Qe(() => {
189
+ he.value = 0;
190
190
  });
191
- const De = g(() => {
191
+ const Me = g(() => {
192
192
  let t = 0;
193
- return H.value && (t = ye.value + c.value.xAxisFontSize), t;
193
+ return H.value && (t = he.value + c.value.xAxisFontSize), t;
194
194
  });
195
- function pt() {
195
+ function bt() {
196
196
  let t = e.value.style.layout.grid.yAxis.dataLabels.offsetX;
197
197
  return re.value && (t = Array.from(re.value.querySelectorAll("text")).reduce((o, x) => {
198
198
  const f = x.getComputedTextLength();
@@ -200,22 +200,22 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
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, x = pt(), f = 12;
203
+ const { top: t, right: a, bottom: l, left: o } = e.value.style.layout.padding, x = bt(), f = 12;
204
204
  return {
205
205
  top: t + f,
206
206
  right: c.value.width - a,
207
207
  left: o + x,
208
- bottom: c.value.height - l - De.value,
208
+ bottom: c.value.height - l - Me.value,
209
209
  width: c.value.width - o - a - x,
210
- height: c.value.height - t - l - De.value - f
210
+ height: c.value.height - t - l - Me.value - f
211
211
  };
212
212
  }), X = g(() => C.value.length), v = r({
213
213
  start: 0,
214
214
  end: X.value
215
- }), Me = g(() => C.value.map((t, a) => ({
215
+ }), Ue = g(() => C.value.map((t, a) => ({
216
216
  ...t,
217
217
  absoluteIndex: a
218
- })).slice(v.value.start, v.value.end)), he = g(() => (C.value.forEach((t, a) => {
218
+ })).slice(v.value.start, v.value.end)), fe = g(() => (C.value.forEach((t, a) => {
219
219
  [null, void 0].includes(t[0]) && U({
220
220
  componentName: "VueUiCandlestick",
221
221
  type: "datasetAttribute",
@@ -253,7 +253,7 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
253
253
  index: a,
254
254
  debug: R.value
255
255
  });
256
- }), Me.value.map((t) => ({
256
+ }), Ue.value.map((t) => ({
257
257
  absoluteIndex: t.absoluteIndex,
258
258
  period: t[0],
259
259
  open: t[1],
@@ -261,13 +261,13 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
261
261
  low: t[3],
262
262
  last: t[4],
263
263
  volume: t[5]
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;
264
+ })))), d = g(() => n.value.width / Ue.value.length), We = g(() => {
265
+ const t = e.value.style.layout.grid.yAxis.scale.max === null ? Math.max(...fe.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
- }), _ = g(() => Yt(Ue.value.min, Ue.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
270
+ }), _ = g(() => qt(We.value.min, We.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
271
271
  function K(t, a) {
272
272
  return {
273
273
  ...t,
@@ -276,7 +276,7 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
276
276
  value: q(t)
277
277
  };
278
278
  }
279
- const w = g(() => he.value.map((t, a) => {
279
+ const w = g(() => fe.value.map((t, a) => {
280
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,
@@ -289,40 +289,40 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
289
289
  absoluteIndex: t.absoluteIndex
290
290
  };
291
291
  }));
292
- function bt(t) {
292
+ function mt(t) {
293
293
  return q((t - _.value.min) / (_.value.max - _.value.min));
294
294
  }
295
- const mt = g(() => _.value.ticks.map((t) => ({
296
- y: n.value.bottom - n.value.height * bt(t),
295
+ const xt = g(() => _.value.ticks.map((t) => ({
296
+ y: n.value.bottom - n.value.height * mt(t),
297
297
  value: q(t)
298
- }))), xt = g(() => he.value.map((t) => t.period)), O = g(() => sl({
298
+ }))), kt = g(() => fe.value.map((t) => t.period)), O = g(() => ul({
299
299
  values: C.value.map((t) => t[0]),
300
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
- })), We = g(() => e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
304
+ })), He = g(() => e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
305
305
  start: O.value.find((t) => t.absoluteIndex === v.value.start).text,
306
306
  end: O.value.find((t) => t.absoluteIndex === v.value.end - 1).text
307
307
  } : {
308
308
  start: C.value[v.value.start] ? C.value[v.value.start][0] : C.value[0][0],
309
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) {
310
+ }), ge = r(null);
311
+ function wt(t, a) {
312
312
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: a, seriesIndex: t + v.value.start });
313
313
  }
314
- function wt(t, a) {
314
+ function At(t, a) {
315
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 At(t, a) {
318
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: a, seriesIndex: t + v.value.start }), ne.value = t, fe.value = {
317
+ function Ct(t, a) {
318
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: a, seriesIndex: t + v.value.start }), ne.value = t, ge.value = {
319
319
  datapoint: a,
320
320
  seriesIndex: t,
321
321
  series: w.value,
322
322
  config: e.value
323
323
  };
324
324
  const l = e.value.style.tooltip.customFormat;
325
- if (Zt(l) && el(() => l({
325
+ if (el(l) && tl(() => l({
326
326
  seriesIndex: t,
327
327
  datapoint: a,
328
328
  series: w.value,
@@ -336,55 +336,55 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
336
336
  });
337
337
  else if (e.value.style.tooltip.show) {
338
338
  let o = "";
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;
339
+ const { period: x, open: f, high: N, low: xe, last: ke, volume: ee, isBullish: Je } = w.value[t], { period: Xl, open: Tt, high: It, low: Ft, last: Rt, volume: Ot } = e.value.translations, Pt = 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 ? 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({
341
+ fill="${e.value.style.layout.candle.gradient.show ? Je ? `url(#bullish_gradient_${A.value})` : `url(#bearish_gradient_${A.value})` : Je ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${Pt}</div>`, o += `${Ot} : <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 Nt = 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>${Lt}: <b>${Pt}</b></div>`;
349
- const Nt = T({
348
+ o += `<div>${Tt}: <b>${Nt}</b></div>`;
349
+ const Dt = T({
350
350
  p: e.value.style.tooltip.prefix,
351
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>${Tt}: <b>${Nt}</b></div>`;
355
+ o += `<div>${It}: <b>${Dt}</b></div>`;
356
356
  const Bt = T({
357
357
  p: e.value.style.tooltip.prefix,
358
- v: me.value,
358
+ v: xe.value,
359
359
  s: e.value.style.tooltip.suffix,
360
360
  r: e.value.style.tooltip.roundingValue
361
361
  });
362
- o += `<div>${It}: <b>${Bt}</b></div>`;
362
+ o += `<div>${Ft}: <b>${Bt}</b></div>`;
363
363
  const Et = T({
364
364
  p: e.value.style.tooltip.prefix,
365
- v: xe.value,
365
+ v: ke.value,
366
366
  s: e.value.style.tooltip.suffix,
367
367
  r: e.value.style.tooltip.roundingValue
368
368
  });
369
- o += `<div>${Ft}: <b>${Et}</b></div>`, o += "</div>", ie.value = `<div style="text-align:right">${o}</div>`;
369
+ o += `<div>${Rt}: <b>${Et}</b></div>`, o += "</div>", ie.value = `<div style="text-align:right">${o}</div>`;
370
370
  }
371
371
  ue.value = !0;
372
372
  }
373
- function Ct() {
374
- ge();
373
+ function _t() {
374
+ pe();
375
375
  }
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);
376
+ const Ge = r(null);
377
+ async function pe() {
378
+ await we(), await we();
379
+ const { startIndex: t, endIndex: a } = e.value.style.zoom, l = Ge.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 _t(t) {
382
+ function $t(t) {
383
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 pe(t = null) {
387
- ke(() => {
386
+ function be(t = null) {
387
+ we(() => {
388
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
389
  e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? O.value[N].text : f.period,
390
390
  f.open.value,
@@ -392,8 +392,8 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
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), x = Kt(o);
396
- t ? t(x) : Qt({ csvContent: x, 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 = Qt(o);
396
+ t ? t(x) : Zt({ csvContent: x, title: e.value.style.title.text || "vue-ui-candlestick" });
397
397
  });
398
398
  }
399
399
  const Q = g(() => {
@@ -403,12 +403,12 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
403
403
  v: o.open.value,
404
404
  s: e.value.table.td.suffix,
405
405
  r: e.value.table.td.roundingValue
406
- }), me = T({
406
+ }), xe = 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
- }), xe = T({
411
+ }), ke = T({
412
412
  p: e.value.table.td.prefix,
413
413
  v: o.low.value,
414
414
  s: e.value.table.td.suffix,
@@ -422,8 +422,8 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
422
422
  return [
423
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
424
  N,
425
- me,
426
425
  xe,
426
+ ke,
427
427
  ee,
428
428
  `${isNaN(o.volume) ? "-" : o.volume.toLocaleString()}`
429
429
  ];
@@ -449,22 +449,22 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
449
449
  ];
450
450
  return { head: l, body: t, config: a, colNames: l };
451
451
  }), P = r(!1);
452
- function Ge(t) {
453
- P.value = t, Ce.value += 1;
452
+ function Xe(t) {
453
+ P.value = t, _e.value += 1;
454
454
  }
455
- function Xe() {
455
+ function je() {
456
456
  k.value.showTable = !k.value.showTable;
457
457
  }
458
- function je() {
458
+ function Ye() {
459
459
  k.value.showTooltip = !k.value.showTooltip;
460
460
  }
461
461
  const Z = r(!1);
462
- function be() {
462
+ function me() {
463
463
  Z.value = !Z.value;
464
464
  }
465
- async function $t({ scale: t = 2 } = {}) {
465
+ async function zt({ scale: t = 2 } = {}) {
466
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 });
467
+ const { width: a, height: l } = z.value.getBoundingClientRect(), o = a / l, { imageUri: x, base64: f } = await vl({ domElement: z.value, base64: !0, img: !0, scale: t });
468
468
  return {
469
469
  imageUri: x,
470
470
  base64: f,
@@ -474,8 +474,8 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
474
474
  aspectRatio: o
475
475
  };
476
476
  }
477
- const zt = g(() => c.value.width), St = g(() => c.value.height);
478
- nl({
477
+ const St = g(() => c.value.width), Lt = g(() => c.value.height);
478
+ rl({
479
479
  timeLabelsEls: H,
480
480
  timeLabels: O,
481
481
  slicer: v,
@@ -484,8 +484,8 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
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: zt,
488
- height: St
487
+ width: St,
488
+ height: Lt
489
489
  }), te(e, () => {
490
490
  k.value = {
491
491
  showTable: e.value.table.show,
@@ -495,7 +495,7 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
495
495
  const j = g(() => {
496
496
  const t = e.value.table.useDialog && !e.value.table.show, a = k.value.showTable;
497
497
  return {
498
- component: t ? ct : it,
498
+ component: t ? ht : rt,
499
499
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
500
500
  props: t ? {
501
501
  backgroundColor: e.value.table.th.backgroundColor,
@@ -522,49 +522,53 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
522
522
  }
523
523
  };
524
524
  });
525
- return te(() => k.value.showTable, (t) => {
525
+ te(() => k.value.showTable, (t) => {
526
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,
527
+ });
528
+ function qe() {
529
+ k.value.showTable = !1, ve.value && ve.value.setTableIconState(!1);
530
+ }
531
+ return ut({
532
+ getImage: zt,
529
533
  generatePdf: Ee,
530
- generateCsv: pe,
534
+ generateCsv: be,
531
535
  generateImage: Ve,
532
- toggleTable: Xe,
533
- toggleTooltip: je,
534
- toggleAnnotator: be,
535
- toggleFullscreen: Ge
536
+ toggleTable: je,
537
+ toggleTooltip: Ye,
538
+ toggleAnnotator: me,
539
+ toggleFullscreen: Xe
536
540
  }), (t, a) => (s(), i("div", {
537
541
  ref_key: "candlestickChart",
538
542
  ref: z,
539
543
  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%" : ""}`),
544
+ style: Ae(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
541
545
  id: `vue-ui-candlestick_${A.value}`,
542
- onMouseenter: a[5] || (a[5] = () => u(Fe)(!0)),
543
- onMouseleave: a[6] || (a[6] = () => u(Fe)(!1))
546
+ onMouseenter: a[3] || (a[3] = () => u(Re)(!0)),
547
+ onMouseleave: a[4] || (a[4] = () => u(Re)(!1))
544
548
  }, [
545
- e.value.userOptions.buttons.annotator ? (s(), B(u(rt), {
549
+ e.value.userOptions.buttons.annotator ? (s(), D(u(dt), {
546
550
  key: 0,
547
- svgRef: u(Oe),
551
+ svgRef: u(Pe),
548
552
  backgroundColor: e.value.style.backgroundColor,
549
553
  color: e.value.style.color,
550
554
  active: Z.value,
551
- onClose: be
555
+ onClose: me
552
556
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : p("", !0),
553
- ft.value ? (s(), i("div", {
557
+ gt.value ? (s(), i("div", {
554
558
  key: 1,
555
559
  ref_key: "noTitle",
556
- ref: Le,
560
+ ref: Te,
557
561
  class: "vue-data-ui-no-title-space",
558
562
  style: "height:36px; width: 100%;background:transparent"
559
563
  }, null, 512)) : p("", !0),
560
564
  e.value.style.title.text ? (s(), i("div", {
561
565
  key: 2,
562
566
  ref_key: "chartTitle",
563
- ref: _e,
567
+ ref: $e,
564
568
  style: "width:100%;background:transparent"
565
569
  }, [
566
- (s(), B(vl, {
567
- key: `title_${Ie.value}`,
570
+ (s(), D(dl, {
571
+ key: `title_${Fe.value}`,
568
572
  config: {
569
573
  title: {
570
574
  cy: "candlestick-div-title",
@@ -577,14 +581,14 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
577
581
  }
578
582
  }, null, 8, ["config"]))
579
583
  ], 512)) : p("", !0),
580
- e.value.userOptions.show && oe.value && (u(Re) || u(de)) ? (s(), B(u(vt), {
581
- ref_key: "details",
582
- ref: ht,
583
- key: `user_options_${Ce.value}`,
584
+ e.value.userOptions.show && oe.value && (u(Oe) || u(ce)) ? (s(), D(u(ct), {
585
+ ref_key: "userOptionsRef",
586
+ ref: ve,
587
+ key: `user_options_${_e.value}`,
584
588
  backgroundColor: e.value.style.backgroundColor,
585
589
  color: e.value.style.color,
586
590
  isImaging: u(Be),
587
- isPrinting: u(Ne),
591
+ isPrinting: u(De),
588
592
  uid: A.value,
589
593
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
590
594
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -601,21 +605,22 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
601
605
  isAnnotation: Z.value,
602
606
  callbacks: e.value.userOptions.callbacks,
603
607
  printScale: e.value.userOptions.print.scale,
604
- onToggleFullscreen: Ge,
608
+ tableDialog: e.value.table.useDialog,
609
+ onToggleFullscreen: Xe,
605
610
  onGeneratePdf: u(Ee),
606
- onGenerateCsv: pe,
611
+ onGenerateCsv: be,
607
612
  onGenerateImage: u(Ve),
608
- onToggleTable: Xe,
609
- onToggleTooltip: je,
610
- onToggleAnnotator: be,
611
- style: we({
612
- visibility: u(Re) ? u(de) ? "visible" : "hidden" : "visible"
613
+ onToggleTable: je,
614
+ onToggleTooltip: Ye,
615
+ onToggleAnnotator: me,
616
+ style: Ae({
617
+ visibility: u(Oe) ? u(ce) ? "visible" : "hidden" : "visible"
613
618
  })
614
- }, Ke({ _: 2 }, [
619
+ }, Ze({ _: 2 }, [
615
620
  t.$slots.menuIcon ? {
616
621
  name: "menuIcon",
617
622
  fn: b(({ isOpen: l, color: o }) => [
618
- m(t.$slots, "menuIcon", E(V({ isOpen: l, color: o })), void 0, !0)
623
+ m(t.$slots, "menuIcon", B(E({ isOpen: l, color: o })), void 0, !0)
619
624
  ]),
620
625
  key: "0"
621
626
  } : void 0,
@@ -657,28 +662,28 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
657
662
  t.$slots.optionFullscreen ? {
658
663
  name: "optionFullscreen",
659
664
  fn: b(({ toggleFullscreen: l, isFullscreen: o }) => [
660
- m(t.$slots, "optionFullscreen", E(V({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
665
+ m(t.$slots, "optionFullscreen", B(E({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
661
666
  ]),
662
667
  key: "6"
663
668
  } : void 0,
664
669
  t.$slots.optionAnnotator ? {
665
670
  name: "optionAnnotator",
666
671
  fn: b(({ toggleAnnotator: l, isAnnotator: o }) => [
667
- m(t.$slots, "optionAnnotator", E(V({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
672
+ m(t.$slots, "optionAnnotator", B(E({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
668
673
  ]),
669
674
  key: "7"
670
675
  } : void 0
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),
676
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : p("", !0),
672
677
  (s(), i("svg", {
673
678
  ref_key: "svgRef",
674
- ref: Oe,
675
- xmlns: u(qt),
679
+ ref: Pe,
680
+ xmlns: u(Jt),
676
681
  "aria-label": e.value.style.title.text || "candlestick chart",
677
682
  class: L({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
678
683
  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}`)
684
+ style: Ae(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
680
685
  }, [
681
- Ae(u(dt)),
686
+ Ce(u(yt)),
682
687
  t.$slots["chart-background"] ? (s(), i("foreignObject", {
683
688
  key: 0,
684
689
  x: n.value.left,
@@ -690,8 +695,8 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
690
695
  }
691
696
  }, [
692
697
  m(t.$slots, "chart-background", {}, void 0, !0)
693
- ], 8, fl)) : p("", !0),
694
- w.value.length > 0 ? (s(), i("g", gl, [
698
+ ], 8, gl)) : p("", !0),
699
+ w.value.length > 0 ? (s(), i("g", pl, [
695
700
  y("defs", null, [
696
701
  y("linearGradient", {
697
702
  id: `bearish_gradient_${A.value}`,
@@ -701,16 +706,16 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
701
706
  y("stop", {
702
707
  offset: "0%",
703
708
  "stop-color": e.value.style.layout.candle.colors.bearish
704
- }, null, 8, bl),
709
+ }, null, 8, ml),
705
710
  y("stop", {
706
711
  offset: "50%",
707
712
  "stop-color": `${u(ae)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
708
- }, null, 8, ml),
713
+ }, null, 8, xl),
709
714
  y("stop", {
710
715
  offset: "100%",
711
716
  "stop-color": `${u(ae)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
712
- }, null, 8, xl)
713
- ], 8, pl),
717
+ }, null, 8, kl)
718
+ ], 8, bl),
714
719
  y("linearGradient", {
715
720
  id: `bullish_gradient_${A.value}`,
716
721
  x2: "0%",
@@ -719,18 +724,18 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
719
724
  y("stop", {
720
725
  offset: "0%",
721
726
  "stop-color": e.value.style.layout.candle.colors.bullish
722
- }, null, 8, wl),
727
+ }, null, 8, Al),
723
728
  y("stop", {
724
729
  offset: "50%",
725
730
  "stop-color": `${u(ae)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
726
- }, null, 8, Al),
731
+ }, null, 8, Cl),
727
732
  y("stop", {
728
733
  offset: "100%",
729
734
  "stop-color": `${u(ae)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
730
- }, null, 8, Cl)
731
- ], 8, kl)
735
+ }, null, 8, _l)
736
+ ], 8, wl)
732
737
  ]),
733
- e.value.style.layout.grid.show ? (s(), i("g", _l, [
738
+ e.value.style.layout.grid.show ? (s(), i("g", $l, [
734
739
  y("line", {
735
740
  x1: n.value.left,
736
741
  x2: n.value.left,
@@ -739,7 +744,7 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
739
744
  stroke: e.value.style.layout.grid.stroke,
740
745
  "stroke-width": e.value.style.layout.grid.strokeWidth,
741
746
  "stroke-linecap": "round"
742
- }, null, 8, $l),
747
+ }, null, 8, zl),
743
748
  y("line", {
744
749
  x1: n.value.left,
745
750
  x2: n.value.right,
@@ -748,14 +753,14 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
748
753
  stroke: e.value.style.layout.grid.stroke,
749
754
  "stroke-width": e.value.style.layout.grid.strokeWidth,
750
755
  "stroke-linecap": "round"
751
- }, null, 8, zl)
756
+ }, null, 8, Sl)
752
757
  ])) : p("", !0),
753
758
  e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), i("g", {
754
759
  key: 1,
755
760
  ref_key: "scaleLabels",
756
761
  ref: re
757
762
  }, [
758
- (s(!0), i(D, null, M(mt.value, (l, o) => (s(), i("g", null, [
763
+ (s(!0), i(V, null, M(xt.value, (l, o) => (s(), i("g", null, [
759
764
  l.value >= _.value.min && l.value <= _.value.max ? (s(), i("line", {
760
765
  key: 0,
761
766
  x1: n.value.left,
@@ -765,7 +770,7 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
765
770
  stroke: e.value.style.layout.grid.stroke,
766
771
  "stroke-width": e.value.style.layout.grid.strokeWidth,
767
772
  "stroke-linecap": "round"
768
- }, null, 8, Sl)) : p("", !0),
773
+ }, null, 8, Ll)) : p("", !0),
769
774
  l.value >= _.value.min && l.value <= _.value.max ? (s(), i("text", {
770
775
  key: 1,
771
776
  x: n.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
@@ -779,7 +784,7 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
779
784
  v: l.value,
780
785
  s: e.value.style.layout.grid.yAxis.dataLabels.suffix,
781
786
  r: e.value.style.layout.grid.yAxis.dataLabels.roundingValue
782
- })), 9, Ll)) : p("", !0)
787
+ })), 9, Tl)) : p("", !0)
783
788
  ]))), 256))
784
789
  ], 512)) : p("", !0),
785
790
  e.value.style.layout.grid.xAxis.dataLabels.show && !e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), i("g", {
@@ -787,7 +792,7 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
787
792
  ref_key: "timeLabelsEls",
788
793
  ref: H
789
794
  }, [
790
- (s(!0), i(D, null, M(xt.value, (l, o) => (s(), i("g", null, [
795
+ (s(!0), i(V, null, M(kt.value, (l, o) => (s(), i("g", null, [
791
796
  y("text", {
792
797
  class: "vue-data-ui-time-label",
793
798
  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})`,
@@ -795,7 +800,7 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
795
800
  "font-size": c.value.xAxisFontSize,
796
801
  fill: e.value.style.layout.grid.xAxis.dataLabels.color,
797
802
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
798
- }, Y(l), 9, Tl)
803
+ }, Y(l), 9, Il)
799
804
  ]))), 256))
800
805
  ], 512)) : p("", !0),
801
806
  e.value.style.layout.grid.xAxis.dataLabels.show && e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), i("g", {
@@ -803,7 +808,7 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
803
808
  ref_key: "timeLabelsEls",
804
809
  ref: H
805
810
  }, [
806
- (s(!0), i(D, null, M(O.value, (l, o) => (s(), i("g", null, [
811
+ (s(!0), i(V, null, M(O.value, (l, o) => (s(), i("g", null, [
807
812
  y("text", {
808
813
  class: "vue-data-ui-time-label",
809
814
  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})`,
@@ -811,11 +816,11 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
811
816
  "font-size": c.value.xAxisFontSize,
812
817
  fill: e.value.style.layout.grid.xAxis.dataLabels.color,
813
818
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
814
- }, Y(l.text), 9, Il)
819
+ }, Y(l.text), 9, Fl)
815
820
  ]))), 256))
816
821
  ], 512)) : p("", !0),
817
822
  y("g", null, [
818
- (s(!0), i(D, null, M(w.value, (l, o) => (s(), i("g", null, [
823
+ (s(!0), i(V, null, M(w.value, (l, o) => (s(), i("g", null, [
819
824
  y("rect", {
820
825
  x: l.open.x - e.value.style.layout.wick.strokeWidth / 2,
821
826
  y: l.high.y,
@@ -825,24 +830,24 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
825
830
  stroke: "none",
826
831
  rx: e.value.style.layout.wick.strokeWidth / 2,
827
832
  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, [
833
+ }, null, 10, Rl),
834
+ e.value.style.layout.wick.extremity.shape === "circle" ? (s(), i("g", Ol, [
830
835
  y("circle", {
831
836
  cx: l.high.x,
832
837
  cy: l.high.y,
833
838
  r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
834
839
  fill: e.value.style.layout.wick.extremity.color,
835
840
  class: L({ "vue-data-ui-transition": $.value && !u(S) })
836
- }, null, 10, Ol),
841
+ }, null, 10, Pl),
837
842
  y("circle", {
838
843
  cx: l.low.x,
839
844
  cy: l.low.y,
840
845
  r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
841
846
  fill: e.value.style.layout.wick.extremity.color,
842
847
  class: L({ "vue-data-ui-transition": $.value && !u(S) })
843
- }, null, 10, Pl)
848
+ }, null, 10, Nl)
844
849
  ])) : p("", !0),
845
- e.value.style.layout.wick.extremity.shape === "line" ? (s(), i("g", Nl, [
850
+ e.value.style.layout.wick.extremity.shape === "line" ? (s(), i("g", Dl, [
846
851
  y("rect", {
847
852
  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,
848
853
  y: l.high.y - e.value.style.layout.wick.strokeWidth / 2,
@@ -867,7 +872,7 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
867
872
  ]))), 256))
868
873
  ]),
869
874
  y("g", null, [
870
- (s(!0), i(D, null, M(w.value, (l, o) => (s(), i("rect", {
875
+ (s(!0), i(V, null, M(w.value, (l, o) => (s(), i("rect", {
871
876
  x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
872
877
  y: l.isBullish ? l.last.y : l.open.y,
873
878
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
@@ -877,7 +882,7 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
877
882
  stroke: "none",
878
883
  class: L({ "vue-data-ui-transition": $.value && !u(S) })
879
884
  }, null, 10, Vl))), 256)),
880
- (s(!0), i(D, null, M(w.value, (l, o) => (s(), i("rect", {
885
+ (s(!0), i(V, null, M(w.value, (l, o) => (s(), i("rect", {
881
886
  x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
882
887
  y: l.isBullish ? l.last.y : l.open.y,
883
888
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
@@ -889,41 +894,41 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
889
894
  "stroke-linecap": "round",
890
895
  "stroke-linejoin": "round",
891
896
  class: L({ "vue-data-ui-transition": $.value && !u(S) })
892
- }, null, 10, Dl))), 256))
897
+ }, null, 10, Ml))), 256))
893
898
  ]),
894
899
  y("g", null, [
895
- (s(!0), i(D, null, M(w.value, (l, o) => (s(), i("rect", {
900
+ (s(!0), i(V, null, M(w.value, (l, o) => (s(), i("rect", {
896
901
  x: n.value.left + o * d.value,
897
902
  y: n.value.top,
898
903
  height: n.value.height <= 0 ? 1e-4 : n.value.height,
899
904
  width: d.value <= 0 ? 1e-4 : d.value,
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))
905
+ fill: ne.value === o ? u(Kt)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
906
+ onMouseover: () => Ct(o, l),
907
+ onMouseleave: () => At(o, l),
908
+ onClick: () => wt(o, l)
909
+ }, null, 40, Ul))), 256))
905
910
  ])
906
911
  ])) : p("", !0),
907
912
  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)
913
+ ], 14, fl)),
914
+ t.$slots.watermark ? (s(), i("div", Wl, [
915
+ m(t.$slots, "watermark", B(E({ isPrinting: u(De) || u(Be) })), void 0, !0)
911
916
  ])) : p("", !0),
912
917
  e.value.style.zoom.show && oe.value ? (s(), i("div", {
913
918
  key: 5,
914
919
  ref_key: "chartSlicer",
915
- ref: ze
920
+ ref: Se
916
921
  }, [
917
- (s(), B(dl, {
922
+ (s(), D(cl, {
918
923
  ref_key: "slicerComponent",
919
- ref: He,
924
+ ref: Ge,
920
925
  key: `slicer_${J.value}`,
921
926
  background: e.value.style.zoom.color,
922
927
  borderColor: e.value.style.backgroundColor,
923
928
  fontSize: e.value.style.zoom.fontSize,
924
929
  useResetSlot: e.value.style.zoom.useResetSlot,
925
- labelLeft: We.value.start,
926
- labelRight: We.value.end,
930
+ labelLeft: He.value.start,
931
+ labelRight: He.value.end,
927
932
  textColor: e.value.style.color,
928
933
  inputColor: e.value.style.zoom.color,
929
934
  selectColor: e.value.style.zoom.highlightColor,
@@ -939,29 +944,29 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
939
944
  refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : X.value,
940
945
  enableRangeHandles: e.value.style.zoom.enableRangeHandles,
941
946
  enableSelectionDrag: e.value.style.zoom.enableSelectionDrag,
942
- onReset: Ct
947
+ onReset: _t
943
948
  }, {
944
949
  "reset-action": b(({ reset: l }) => [
945
- m(t.$slots, "reset-action", E(V({ reset: l })), void 0, !0)
950
+ m(t.$slots, "reset-action", B(E({ reset: l })), void 0, !0)
946
951
  ]),
947
952
  _: 3
948
953
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"]))
949
954
  ], 512)) : p("", !0),
950
955
  y("div", {
951
956
  ref_key: "chartLegend",
952
- ref: $e
957
+ ref: ze
953
958
  }, [
954
959
  m(t.$slots, "legend", { legend: w.value }, void 0, !0)
955
960
  ], 512),
956
961
  t.$slots.source ? (s(), i("div", {
957
962
  key: 6,
958
963
  ref_key: "source",
959
- ref: Se,
964
+ ref: Le,
960
965
  dir: "auto"
961
966
  }, [
962
967
  m(t.$slots, "source", {}, void 0, !0)
963
968
  ], 512)) : p("", !0),
964
- Ae(u(ut), {
969
+ Ce(u(nt), {
965
970
  show: k.value.showTooltip && ue.value,
966
971
  backgroundColor: e.value.style.tooltip.backgroundColor,
967
972
  color: e.value.style.tooltip.color,
@@ -980,34 +985,34 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
980
985
  backdropFilter: e.value.style.tooltip.backdropFilter
981
986
  }, {
982
987
  "tooltip-before": b(() => [
983
- m(t.$slots, "tooltip-before", E(V({ ...fe.value })), void 0, !0)
988
+ m(t.$slots, "tooltip-before", B(E({ ...ge.value })), void 0, !0)
984
989
  ]),
985
990
  "tooltip-after": b(() => [
986
- m(t.$slots, "tooltip-after", E(V({ ...fe.value })), void 0, !0)
991
+ m(t.$slots, "tooltip-after", B(E({ ...ge.value })), void 0, !0)
987
992
  ]),
988
993
  _: 3
989
994
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
990
- oe.value ? (s(), B(Ut(j.value.component), Wt({ key: 7 }, j.value.props, {
995
+ oe.value ? (s(), D(Wt(j.value.component), Ht({ key: 7 }, j.value.props, {
991
996
  ref_key: "tableUnit",
992
997
  ref: G,
993
- onClose: a[4] || (a[4] = (l) => k.value.showTable = !1)
994
- }), Ke({
998
+ onClose: qe
999
+ }), Ze({
995
1000
  content: b(() => [
996
- (s(), B(u(nt), {
997
- key: `table_${Te.value}`,
1001
+ (s(), D(u(vt), {
1002
+ key: `table_${Ie.value}`,
998
1003
  colNames: Q.value.colNames,
999
1004
  head: Q.value.head,
1000
1005
  body: Q.value.body,
1001
1006
  config: Q.value.config,
1002
1007
  title: e.value.table.useDialog ? "" : j.value.title,
1003
1008
  withCloseButton: !e.value.table.useDialog,
1004
- onClose: a[3] || (a[3] = (l) => k.value.showTable = !1)
1009
+ onClose: qe
1005
1010
  }, {
1006
1011
  th: b(({ th: l }) => [
1007
- Qe(Y(l), 1)
1012
+ et(Y(l), 1)
1008
1013
  ]),
1009
1014
  td: b(({ td: l }) => [
1010
- y("div", { innerHTML: l }, null, 8, Wl)
1015
+ y("div", { innerHTML: l }, null, 8, Hl)
1011
1016
  ]),
1012
1017
  _: 1
1013
1018
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -1017,7 +1022,7 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
1017
1022
  e.value.table.useDialog ? {
1018
1023
  name: "title",
1019
1024
  fn: b(() => [
1020
- Qe(Y(j.value.title), 1)
1025
+ et(Y(j.value.title), 1)
1021
1026
  ]),
1022
1027
  key: "0"
1023
1028
  } : void 0,
@@ -1027,9 +1032,9 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
1027
1032
  y("button", {
1028
1033
  tabindex: "0",
1029
1034
  class: "vue-ui-user-options-button",
1030
- onClick: a[2] || (a[2] = (l) => pe(e.value.userOptions.callbacks.csv))
1035
+ onClick: a[2] || (a[2] = (l) => be(e.value.userOptions.callbacks.csv))
1031
1036
  }, [
1032
- Ae(u(st), {
1037
+ Ce(u(it), {
1033
1038
  name: "excel",
1034
1039
  stroke: j.value.props.color
1035
1040
  }, null, 8, ["stroke"])
@@ -1038,10 +1043,10 @@ const yl = ["id"], hl = ["xmlns", "aria-label", "viewBox"], fl = ["x", "y", "wid
1038
1043
  key: "1"
1039
1044
  } : void 0
1040
1045
  ]), 1040)) : p("", !0),
1041
- u(S) ? (s(), B(ol, { key: 8 })) : p("", !0)
1042
- ], 46, yl));
1046
+ u(S) ? (s(), D(sl, { key: 8 })) : p("", !0)
1047
+ ], 46, hl));
1043
1048
  }
1044
- }, ua = /* @__PURE__ */ cl(Hl, [["__scopeId", "data-v-edf6444a"]]);
1049
+ }, ia = /* @__PURE__ */ yl(Gl, [["__scopeId", "data-v-58fcc0ef"]]);
1045
1050
  export {
1046
- ua as default
1051
+ ia as default
1047
1052
  };