vue-data-ui 2.12.5 → 2.12.7-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/README.md +56 -1
  2. package/dist/{Arrow-CD7YT-M0.js → Arrow-CmqjRRUl.js} +1 -1
  3. package/dist/BaseDraggableDialog-BMlyvt7E.js +180 -0
  4. package/dist/{BaseIcon-CgSWwnK7.js → BaseIcon-CZdMutjs.js} +1 -1
  5. package/dist/{ColorPicker-w8R8Tqdv.js → ColorPicker-DvVKgyAl.js} +23 -24
  6. package/dist/{DataTable-CicthvOV.js → DataTable-Cv9CIz-a.js} +11 -11
  7. package/dist/{Legend-0UY0Mmli.js → Legend-DFunFf8i.js} +8 -8
  8. package/dist/NonSvgPenAndPaper-pVuHj6_A.js +467 -0
  9. package/dist/PackageVersion-CLY-udAA.js +10 -0
  10. package/dist/{PenAndPaper-DLsvRwoD.js → PenAndPaper-B9na2mbr.js} +8 -10
  11. package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
  12. package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
  13. package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
  14. package/dist/{Shape-DICeBEtN.js → Shape-D3w9qas1.js} +2 -2
  15. package/dist/{Slicer-D1nsbsWE.js → Slicer-ncY8krrM.js} +2 -2
  16. package/dist/SparkTooltip-CwThutH2.js +68 -0
  17. package/dist/{Title-xO1jFsSw.js → Title-B5qqUI3M.js} +2 -2
  18. package/dist/Tooltip-C9rxJ-Ru.js +149 -0
  19. package/dist/{usePrinter-CcgJXHIK.js → UserOptions-Ddy6CuLC.js} +172 -231
  20. package/dist/{dom-to-png-CS4NRYd_.js → dom-to-png-DDlooC9r.js} +1 -1
  21. package/dist/{img-CsXjm5I4.js → img-m9g7lR5d.js} +1 -1
  22. package/dist/{index-vjCxtaM0.js → index-BiHmNd1-.js} +153 -118
  23. package/dist/{pdf-DHexTTpK.js → pdf-BqM953uL.js} +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +96 -2
  26. package/dist/types/vue-data-ui.d.ts +96 -2
  27. package/dist/useChartAccessibility-9icAAmYg.js +12 -0
  28. package/dist/useMouse-AicQS8Vf.js +13 -0
  29. package/dist/{useNestedProp-Du1hnYFA.js → useNestedProp-tRqS0ZAM.js} +1 -1
  30. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  31. package/dist/usePrinter-CRCbl1WG.js +53 -0
  32. package/dist/vClickOutside-C6WiFswA.js +13 -0
  33. package/dist/{vue-data-ui-BOrA3Tc9.js → vue-data-ui-D9uTDt73.js} +63 -63
  34. package/dist/vue-data-ui.js +42 -40
  35. package/dist/{vue-ui-3d-bar-Z8yAd4bw.js → vue-ui-3d-bar-rtuSc8FS.js} +397 -402
  36. package/dist/{vue-ui-accordion-CAN430Oy.js → vue-ui-accordion-CmCs2yR2.js} +3 -3
  37. package/dist/{vue-ui-age-pyramid-C6PZU9Ez.js → vue-ui-age-pyramid-BrzMSiyu.js} +215 -218
  38. package/dist/{vue-ui-annotator-CqoDLx3t.js → vue-ui-annotator-CYxmTpf6.js} +2 -2
  39. package/dist/{vue-ui-bullet-DZC3aY3d.js → vue-ui-bullet-D25qNQfb.js} +137 -140
  40. package/dist/{vue-ui-candlestick-B5mq_lgW.js → vue-ui-candlestick-BuerNa-r.js} +265 -271
  41. package/dist/{vue-ui-carousel-table-CBwerU49.js → vue-ui-carousel-table-aN0HLsOO.js} +137 -137
  42. package/dist/{vue-ui-chestnut-COyOAY28.js → vue-ui-chestnut-oUj2ocsZ.js} +397 -400
  43. package/dist/{vue-ui-chord-Cw0F_jHM.js → vue-ui-chord-C4evlXYB.js} +356 -365
  44. package/dist/vue-ui-circle-pack-CWrNiKTY.js +656 -0
  45. package/dist/{vue-ui-cursor-CWXqmlVy.js → vue-ui-cursor-DgpSttlt.js} +2 -2
  46. package/dist/{vue-ui-dashboard-Ba2tF4md.js → vue-ui-dashboard-BN2ha1Eh.js} +62 -62
  47. package/dist/{vue-ui-digits-BV7yyUdY.js → vue-ui-digits-BhjAxXgm.js} +2 -2
  48. package/dist/vue-ui-donut-D3_z61HI.js +1291 -0
  49. package/dist/vue-ui-donut-evolution-oKtmZPx4.js +864 -0
  50. package/dist/{vue-ui-dumbbell-SDCcLJIc.js → vue-ui-dumbbell-C8Lokx-F.js} +265 -270
  51. package/dist/{vue-ui-flow-CrqGSDNK.js → vue-ui-flow-BVRkH0PS.js} +291 -300
  52. package/dist/{vue-ui-funnel-CcDOoxp8.js → vue-ui-funnel-DFxcmAB5.js} +216 -219
  53. package/dist/{vue-ui-galaxy-jlDp0DRJ.js → vue-ui-galaxy-CGE0hlBC.js} +227 -235
  54. package/dist/{vue-ui-gauge-8t8rWb1C.js → vue-ui-gauge-B48eMvOR.js} +240 -243
  55. package/dist/{vue-ui-gizmo-CFwdrMYP.js → vue-ui-gizmo-zTKNpjvv.js} +57 -58
  56. package/dist/{vue-ui-heatmap-BT-mIeZp.js → vue-ui-heatmap-UNfTt8SM.js} +239 -242
  57. package/dist/{vue-ui-history-plot-crLloc7J.js → vue-ui-history-plot-CbCWmvtg.js} +257 -262
  58. package/dist/{vue-ui-kpi-96v4ZIYo.js → vue-ui-kpi-Drf_lrlh.js} +29 -30
  59. package/dist/{vue-ui-mini-loader-rBHBxNIT.js → vue-ui-mini-loader-DU3G6BVs.js} +2 -2
  60. package/dist/vue-ui-molecule-B5MOXYEA.js +580 -0
  61. package/dist/{vue-ui-mood-radar-DrVSXIY4.js → vue-ui-mood-radar-CC_CVLvn.js} +180 -186
  62. package/dist/{vue-ui-nested-donuts-C9Ah9lgv.js → vue-ui-nested-donuts-D_H962kk.js} +366 -374
  63. package/dist/{vue-ui-onion-DwNPyn4X.js → vue-ui-onion-P8k6T724.js} +252 -258
  64. package/dist/{vue-ui-parallel-coordinate-plot-tSuK6xWu.js → vue-ui-parallel-coordinate-plot-B5Los0vX.js} +296 -303
  65. package/dist/{vue-ui-quadrant-C0Kaoo7K.js → vue-ui-quadrant-B3wzCTxK.js} +402 -409
  66. package/dist/{vue-ui-quick-chart-xMh_Ygct.js → vue-ui-quick-chart-oucj6hXk.js} +611 -616
  67. package/dist/{vue-ui-radar-C1jSDQt_.js → vue-ui-radar-Cjqlyu6d.js} +270 -277
  68. package/dist/{vue-ui-rating-6Kb7hsKF.js → vue-ui-rating-gryk_h_6.js} +2 -2
  69. package/dist/vue-ui-relation-circle-ielvWC-1.js +525 -0
  70. package/dist/{vue-ui-ridgeline-BBvPVQjC.js → vue-ui-ridgeline-Dydqo68b.js} +321 -326
  71. package/dist/{vue-ui-rings-B92cXv7f.js → vue-ui-rings-BRBXektJ.js} +262 -269
  72. package/dist/{vue-ui-scatter-Bt1aty87.js → vue-ui-scatter-Df-BM7Ts.js} +372 -379
  73. package/dist/{vue-ui-skeleton-DfOIDTJM.js → vue-ui-skeleton-CbYQYRvD.js} +19 -19
  74. package/dist/{vue-ui-smiley-sVgBnkbx.js → vue-ui-smiley-BfHaQMaW.js} +2 -2
  75. package/dist/{vue-ui-spark-trend-D6uzJ4Qd.js → vue-ui-spark-trend-z3fUChs_.js} +114 -117
  76. package/dist/{vue-ui-sparkbar-D4c2EE7J.js → vue-ui-sparkbar-ChtFIugH.js} +104 -106
  77. package/dist/{vue-ui-sparkgauge-DaQ6iz98.js → vue-ui-sparkgauge-DtpODCww.js} +72 -74
  78. package/dist/{vue-ui-sparkhistogram-D_YnmM2T.js → vue-ui-sparkhistogram-C3XnYiXI.js} +83 -86
  79. package/dist/vue-ui-sparkline-CoL8jiX8.js +459 -0
  80. package/dist/{vue-ui-sparkstackbar-DecnmqgJ.js → vue-ui-sparkstackbar-CYk3mZJH.js} +102 -105
  81. package/dist/{vue-ui-stackbar-D1eNs1j_.js → vue-ui-stackbar-D9LGbuG5.js} +433 -437
  82. package/dist/{vue-ui-strip-plot-iPZ8Hhmr.js → vue-ui-strip-plot-C5r1Ee2R.js} +245 -252
  83. package/dist/{vue-ui-table-BFjE28sw.js → vue-ui-table-DBaT_TfA.js} +3 -3
  84. package/dist/{vue-ui-table-heatmap-DipFDu39.js → vue-ui-table-heatmap-CYW4YfKN.js} +93 -94
  85. package/dist/{vue-ui-table-sparkline-CGAecOZh.js → vue-ui-table-sparkline-Di0MYR4p.js} +212 -212
  86. package/dist/{vue-ui-thermometer-Cx_yr-hs.js → vue-ui-thermometer-BF1btHY2.js} +154 -157
  87. package/dist/{vue-ui-timer-ClVmS8MH.js → vue-ui-timer-D9FfRWN5.js} +180 -181
  88. package/dist/vue-ui-tiremarks-CQ0lk8fJ.js +341 -0
  89. package/dist/vue-ui-treemap-1Lx7YRtc.js +947 -0
  90. package/dist/{vue-ui-vertical-bar-BHYCnFEN.js → vue-ui-vertical-bar-DdVVQ1ED.js} +397 -403
  91. package/dist/{vue-ui-waffle-DEPUbrOt.js → vue-ui-waffle-BhnuPiRD.js} +317 -324
  92. package/dist/vue-ui-wheel-BIjJ0fg8.js +335 -0
  93. package/dist/vue-ui-word-cloud-3-r8HwO_.js +642 -0
  94. package/dist/{vue-ui-world-DStJ5i0i.js → vue-ui-world-CPIGEswq.js} +430 -442
  95. package/dist/{vue-ui-xy-CEop49z6.js → vue-ui-xy-9e_epIN4.js} +845 -846
  96. package/dist/vue-ui-xy-canvas-DcGgQ7s4.js +1206 -0
  97. package/package.json +6 -6
  98. package/dist/BaseDraggableDialog-BjFEob7i.js +0 -186
  99. package/dist/PackageVersion-Cw2caN1c.js +0 -10
  100. package/dist/Tooltip-LKe8L-Mg.js +0 -158
  101. package/dist/useChartAccessibility-BWojgys7.js +0 -13
  102. package/dist/vue-ui-circle-pack-BtpaZLYs.js +0 -659
  103. package/dist/vue-ui-donut-CRdQFQgA.js +0 -1292
  104. package/dist/vue-ui-donut-evolution-De3-5OgR.js +0 -871
  105. package/dist/vue-ui-molecule-DSr_bHGG.js +0 -782
  106. package/dist/vue-ui-relation-circle-fh0Hl9m0.js +0 -528
  107. package/dist/vue-ui-sparkline-C2HuTMDz.js +0 -519
  108. package/dist/vue-ui-tiremarks-4Sa3RCSv.js +0 -344
  109. package/dist/vue-ui-treemap-CD5pPg7v.js +0 -956
  110. package/dist/vue-ui-wheel-qU0bgJsi.js +0 -338
  111. package/dist/vue-ui-word-cloud-z2ZguOdy.js +0 -648
  112. package/dist/vue-ui-xy-canvas-DV0BVdZb.js +0 -1673
@@ -1,23 +1,17 @@
1
- import { computed as g, ref as n, watch as Ne, onMounted as Je, onBeforeUnmount as Ke, nextTick as V, createElementBlock as u, openBlock as s, unref as v, normalizeStyle as ee, normalizeClass as Ae, createBlock as _, createCommentVNode as y, createElementVNode as r, createVNode as Te, createSlots as Qe, withCtx as m, renderSlot as f, normalizeProps as z, guardReactiveProps as S, Fragment as I, renderList as F, toDisplayString as P, createTextVNode as Ze } from "vue";
2
- import { u as et, c as tt, a as lt, C as Ie, o as ot, e as N, D as at, v as U, X as st, w as j, E as ut, s as it, F as Fe, q as nt, r as rt, x as dt, y as vt } from "./index-vjCxtaM0.js";
3
- import { t as yt, u as ct } from "./useResponsive-JZ9xq-JV.js";
4
- import { _ as ht } from "./Title-xO1jFsSw.js";
5
- import { u as ft, U as pt } from "./usePrinter-CcgJXHIK.js";
6
- import { _ as gt } from "./Tooltip-LKe8L-Mg.js";
7
- import { D as mt } from "./DataTable-CicthvOV.js";
8
- import bt from "./vue-ui-skeleton-DfOIDTJM.js";
9
- import { S as xt } from "./Slicer-D1nsbsWE.js";
10
- import kt from "./vue-ui-accordion-CAN430Oy.js";
11
- import { u as Re } from "./useNestedProp-Du1hnYFA.js";
12
- import { _ as wt } from "./PackageVersion-Cw2caN1c.js";
13
- import { _ as $t } from "./PenAndPaper-DLsvRwoD.js";
14
- import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
15
- import { u as _t } from "./useChartAccessibility-BWojgys7.js";
16
- import { _ as zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"], Tt = { key: 1 }, It = ["id"], Ft = ["stop-color"], Rt = ["stop-color"], Lt = ["stop-color"], Ot = ["id"], Vt = ["stop-color"], Pt = ["stop-color"], Ut = ["stop-color"], Bt = { key: 0 }, Et = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = { key: 1 }, Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gt = ["x", "y", "font-size", "fill", "font-weight"], Ht = { key: 2 }, jt = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Xt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Yt = { key: 0 }, qt = ["cx", "cy", "r", "fill"], Jt = ["cx", "cy", "r", "fill"], Kt = { key: 1 }, Qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], el = ["x", "y", "height", "width", "fill", "rx"], tl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], ll = ["x", "y", "height", "width", "fill", "onMouseover"], ol = {
1
+ import { defineAsyncComponent as z, computed as g, ref as r, watch as Te, shallowRef as Ie, onMounted as ut, onBeforeUnmount as it, nextTick as E, createElementBlock as u, openBlock as s, unref as n, normalizeStyle as le, normalizeClass as Fe, createBlock as S, createCommentVNode as y, createElementVNode as v, createVNode as Re, createSlots as nt, withCtx as m, renderSlot as p, normalizeProps as N, guardReactiveProps as A, Fragment as L, renderList as O, toDisplayString as B, createTextVNode as rt } from "vue";
2
+ import { u as vt, c as dt, a as yt, C as Le, o as ct, e as T, D as ht, v as U, X as pt, w as Y, E as ft, s as gt, F as Oe, q as mt, r as bt, x as xt, y as kt } from "./index-BiHmNd1-.js";
3
+ import { t as wt, u as $t } from "./useResponsive-JZ9xq-JV.js";
4
+ import { u as Ve } from "./useNestedProp-tRqS0ZAM.js";
5
+ import { u as Ct } from "./usePrinter-CRCbl1WG.js";
6
+ import { u as _t } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as zt } from "./useChartAccessibility-9icAAmYg.js";
8
+ import St from "./Title-B5qqUI3M.js";
9
+ import { S as Nt } from "./Slicer-ncY8krrM.js";
10
+ import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
+ const Tt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"], Rt = { key: 1 }, Lt = ["id"], Ot = ["stop-color"], Vt = ["stop-color"], Pt = ["stop-color"], Mt = ["id"], Et = ["stop-color"], Bt = ["stop-color"], Ut = ["stop-color"], Dt = { key: 0 }, Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ht = { key: 1 }, jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Xt = ["x", "y", "font-size", "fill", "font-weight"], Yt = { key: 2 }, qt = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Kt = { key: 0 }, Qt = ["cx", "cy", "r", "fill"], Zt = ["cx", "cy", "r", "fill"], el = { key: 1 }, tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ol = ["x", "y", "height", "width", "fill", "rx"], al = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], sl = ["x", "y", "height", "width", "fill", "onMouseover"], ul = {
18
12
  key: 5,
19
13
  class: "vue-data-ui-watermark"
20
- }, al = ["innerHTML"], sl = {
14
+ }, il = ["innerHTML"], nl = {
21
15
  __name: "vue-ui-candlestick",
22
16
  props: {
23
17
  config: {
@@ -33,60 +27,60 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
33
27
  }
34
28
  }
35
29
  },
36
- setup($, { expose: Le }) {
37
- const { vue_ui_candlestick: Oe } = et(), h = $, R = g(() => !!h.dataset && h.dataset.length), k = n(tt()), Ve = n(null), X = n(!1), Y = n(""), q = n(void 0), te = n(0), L = n(null), le = n(null), oe = n(null), ae = n(null), se = n(null), ue = n(null), B = n(0), ie = n(0), ne = n(0), e = g({
38
- get: () => ye(),
30
+ setup(C, { expose: Pe }) {
31
+ const Me = z(() => import("./vue-ui-accordion-CmCs2yR2.js")), Ee = z(() => import("./DataTable-Cv9CIz-a.js")), Be = z(() => import("./PackageVersion-CLY-udAA.js")), Ue = z(() => import("./PenAndPaper-B9na2mbr.js")), De = z(() => import("./vue-ui-skeleton-CbYQYRvD.js")), We = z(() => import("./Tooltip-C9rxJ-Ru.js")), Ge = z(() => import("./UserOptions-Ddy6CuLC.js")), { vue_ui_candlestick: He } = vt(), h = C, V = g(() => !!h.dataset && h.dataset.length), k = r(dt()), je = r(null), q = r(!1), J = r(""), K = r(void 0), oe = r(0), P = r(null), ae = r(null), se = r(null), ue = r(null), ie = r(null), ne = r(null), D = r(0), re = r(0), ve = r(0), e = g({
32
+ get: () => he(),
39
33
  set: (t) => t
40
- }), { userOptionsVisible: J, setUserOptionsVisibility: re, keepUserOptionState: de } = Ct({ config: e.value }), { svgRef: ve } = _t({ config: e.value.style.title });
41
- function ye() {
42
- const t = Re({
34
+ }), { userOptionsVisible: Q, setUserOptionsVisibility: de, keepUserOptionState: ye } = _t({ config: e.value }), { svgRef: ce } = zt({ config: e.value.style.title });
35
+ function he() {
36
+ const t = Ve({
43
37
  userConfig: h.config,
44
- defaultConfig: Oe
38
+ defaultConfig: He
45
39
  });
46
40
  let o = {};
47
41
  return t.theme ? o = {
48
- ...Re({
49
- userConfig: lt.vue_ui_candlestick[t.theme] || h.config,
42
+ ...Ve({
43
+ userConfig: yt.vue_ui_candlestick[t.theme] || h.config,
50
44
  defaultConfig: t
51
45
  })
52
- } : o = t, h.config && Ie(h.config, "style.zoom.startIndex") ? o.style.zoom.startIndex = h.config.style.zoom.startIndex : o.style.zoom.startIndex = null, h.config && Ie(h.config, "style.zoom.endIndex") ? o.style.zoom.endIndex = h.config.style.zoom.endIndex : o.style.zoom.endIndex = null, o;
46
+ } : o = t, h.config && Le(h.config, "style.zoom.startIndex") ? o.style.zoom.startIndex = h.config.style.zoom.startIndex : o.style.zoom.startIndex = null, h.config && Le(h.config, "style.zoom.endIndex") ? o.style.zoom.endIndex = h.config.style.zoom.endIndex : o.style.zoom.endIndex = null, o;
53
47
  }
54
- Ne(() => h.config, (t) => {
55
- e.value = ye(), J.value = !e.value.userOptions.showOnChartHover, ce(), B.value += 1, ne.value += 1, ie.value += 1, w.value.showTable = e.value.table.show, w.value.showTooltip = e.value.style.tooltip.show;
56
- }, { deep: !0 }), Ne(() => h.dataset, (t) => {
57
- p.value.start = 0, p.value.end = t.length, B.value += 1;
48
+ Te(() => h.config, (t) => {
49
+ e.value = he(), Q.value = !e.value.userOptions.showOnChartHover, pe(), D.value += 1, ve.value += 1, re.value += 1, w.value.showTable = e.value.table.show, w.value.showTooltip = e.value.style.tooltip.show;
50
+ }, { deep: !0 }), Te(() => h.dataset, (t) => {
51
+ f.value.start = 0, f.value.end = t.length, D.value += 1;
58
52
  }, { deep: !0 });
59
- const c = n({
53
+ const c = r({
60
54
  height: e.value.style.height,
61
55
  width: e.value.style.width,
62
56
  xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
63
57
  yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
64
- }), E = n(null);
65
- Je(() => {
66
- ce();
58
+ }), $ = Ie(null), I = Ie(null);
59
+ ut(() => {
60
+ pe();
67
61
  });
68
- function ce() {
69
- if (ot(h.dataset) && N({
62
+ function pe() {
63
+ if (ct(h.dataset) && T({
70
64
  componentName: "VueUiCandlestick",
71
65
  type: "dataset"
72
66
  }), e.value.responsive) {
73
- const t = yt(() => {
74
- const { width: o, height: l } = ct({
75
- chart: L.value,
76
- title: e.value.style.title.text ? le.value : null,
77
- slicer: ae.value,
78
- legend: oe.value,
79
- source: se.value,
80
- noTitle: ue.value
67
+ const t = wt(() => {
68
+ const { width: o, height: l } = $t({
69
+ chart: P.value,
70
+ title: e.value.style.title.text ? ae.value : null,
71
+ slicer: ue.value,
72
+ legend: se.value,
73
+ source: ie.value,
74
+ noTitle: ne.value
81
75
  });
82
76
  requestAnimationFrame(() => {
83
- c.value.width = o, c.value.height = l, c.value.xAxisFontSize = Fe({
77
+ c.value.width = o, c.value.height = l, c.value.xAxisFontSize = Oe({
84
78
  relator: Math.min(o, l),
85
79
  adjuster: e.value.style.width,
86
80
  source: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
87
81
  threshold: 6,
88
82
  fallback: 6
89
- }), c.value.yAxisFontSize = Fe({
83
+ }), c.value.yAxisFontSize = Oe({
90
84
  relator: Math.min(o, l),
91
85
  adjuster: e.value.style.width,
92
86
  source: e.value.style.layout.grid.yAxis.dataLabels.fontSize,
@@ -95,18 +89,18 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
95
89
  });
96
90
  });
97
91
  });
98
- E.value = new ResizeObserver(t), E.value.observe(L.value.parentNode);
92
+ $.value && (I.value && $.value.unobserve(I.value), $.value.disconnect()), $.value = new ResizeObserver(t), I.value = P.value.parentNode, $.value.observe(I.value);
99
93
  }
100
- xe();
94
+ we();
101
95
  }
102
- Ke(() => {
103
- E.value && E.value.disconnect();
96
+ it(() => {
97
+ $.value && (I.value && $.value.unobserve(I.value), $.value.disconnect());
104
98
  });
105
- const { isPrinting: he, isImaging: fe, generatePdf: pe, generateImage: ge } = ft({
99
+ const { isPrinting: fe, isImaging: ge, generatePdf: me, generateImage: be } = Ct({
106
100
  elementId: `vue-ui-candlestick_${k.value}`,
107
101
  fileName: e.value.style.title.text || "vue-ui-candlestick",
108
102
  options: e.value.userOptions.print
109
- }), Pe = g(() => e.value.userOptions.show && !e.value.style.title.text), w = n({
103
+ }), Xe = g(() => e.value.userOptions.show && !e.value.style.title.text), w = r({
110
104
  showTable: e.value.table.show,
111
105
  showTooltip: e.value.style.tooltip.show
112
106
  }), i = g(() => {
@@ -119,94 +113,94 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
119
113
  width: c.value.width - a - o,
120
114
  height: c.value.height - t - l
121
115
  };
122
- }), O = g(() => h.dataset.length), p = n({
116
+ }), M = g(() => h.dataset.length), f = r({
123
117
  start: 0,
124
- end: O.value
125
- }), me = g(() => h.dataset.slice(p.value.start, p.value.end)), K = g(() => (h.dataset.forEach((t, o) => {
126
- [null, void 0].includes(t[0]) && N({
118
+ end: M.value
119
+ }), xe = g(() => h.dataset.slice(f.value.start, f.value.end)), Z = g(() => (h.dataset.forEach((t, o) => {
120
+ [null, void 0].includes(t[0]) && T({
127
121
  componentName: "VueUiCandlestick",
128
122
  type: "datasetAttribute",
129
123
  property: "period (index 0)",
130
124
  index: o
131
- }), [null, void 0].includes(t[1]) && N({
125
+ }), [null, void 0].includes(t[1]) && T({
132
126
  componentName: "VueUiCandlestick",
133
127
  type: "datasetAttribute",
134
128
  property: "open (index 1)",
135
129
  index: o
136
- }), [null, void 0].includes(t[2]) && N({
130
+ }), [null, void 0].includes(t[2]) && T({
137
131
  componentName: "VueUiCandlestick",
138
132
  type: "datasetAttribute",
139
133
  property: "high (index 2)",
140
134
  index: o
141
- }), [null, void 0].includes(t[3]) && N({
135
+ }), [null, void 0].includes(t[3]) && T({
142
136
  componentName: "VueUiCandlestick",
143
137
  type: "datasetAttribute",
144
138
  property: "low (index 3)",
145
139
  index: o
146
- }), [null, void 0].includes(t[4]) && N({
140
+ }), [null, void 0].includes(t[4]) && T({
147
141
  componentName: "VueUiCandlestick",
148
142
  type: "datasetAttribute",
149
143
  property: "last (index 4)",
150
144
  index: o
151
- }), [null, void 0].includes(t[5]) && N({
145
+ }), [null, void 0].includes(t[5]) && T({
152
146
  componentName: "VueUiCandlestick",
153
147
  type: "datasetAttribute",
154
148
  property: "volume (index 5)",
155
149
  index: o
156
150
  });
157
- }), me.value.map((t) => ({
151
+ }), xe.value.map((t) => ({
158
152
  period: t[0],
159
153
  open: t[1],
160
154
  high: t[2],
161
155
  low: t[3],
162
156
  last: t[4],
163
157
  volume: t[5]
164
- })))), d = g(() => i.value.width / me.value.length), be = g(() => ({
165
- max: Math.max(...K.value.map((t) => t.high)),
158
+ })))), d = g(() => i.value.width / xe.value.length), ke = g(() => ({
159
+ max: Math.max(...Z.value.map((t) => t.high)),
166
160
  min: 0
167
- })), C = g(() => at(be.value.min, be.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
168
- function M(t, o) {
161
+ })), _ = g(() => ht(ke.value.min, ke.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
162
+ function W(t, o) {
169
163
  return {
170
164
  ...t,
171
165
  x: U(i.value.left + o * d.value + d.value / 2),
172
- y: U(i.value.top + (1 - t / C.value.max) * i.value.height),
166
+ y: U(i.value.top + (1 - t / _.value.max) * i.value.height),
173
167
  value: U(t)
174
168
  };
175
169
  }
176
- const b = g(() => K.value.map((t, o) => {
177
- const l = M(t.open, o), a = M(t.high, o), x = M(t.low, o), G = M(t.last, o), H = t.last > t.open;
170
+ const b = g(() => Z.value.map((t, o) => {
171
+ const l = W(t.open, o), a = W(t.high, o), x = W(t.low, o), j = W(t.last, o), X = t.last > t.open;
178
172
  return {
179
173
  period: t.period,
180
174
  open: l,
181
175
  high: a,
182
176
  low: x,
183
- last: G,
177
+ last: j,
184
178
  volume: t.volume,
185
- isBullish: H
179
+ isBullish: X
186
180
  };
187
181
  }));
188
- function Ue(t) {
189
- return U(t / C.value.max);
182
+ function Ye(t) {
183
+ return U(t / _.value.max);
190
184
  }
191
- const Be = g(() => C.value.ticks.map((t) => ({
192
- y: i.value.bottom - i.value.height * Ue(t),
185
+ const qe = g(() => _.value.ticks.map((t) => ({
186
+ y: i.value.bottom - i.value.height * Ye(t),
193
187
  value: U(t)
194
- }))), Ee = g(() => K.value.map((t) => t.period)), Q = n(null);
195
- function Me(t, o) {
196
- q.value = t, Q.value = {
188
+ }))), Je = g(() => Z.value.map((t) => t.period)), ee = r(null);
189
+ function Ke(t, o) {
190
+ K.value = t, ee.value = {
197
191
  datapoint: o,
198
192
  seriesIndex: t,
199
193
  series: b.value,
200
194
  config: e.value
201
195
  };
202
196
  const l = e.value.style.tooltip.customFormat;
203
- if (dt(l) && vt(() => l({
197
+ if (xt(l) && kt(() => l({
204
198
  seriesIndex: t,
205
199
  datapoint: o,
206
200
  series: b.value,
207
201
  config: e.value
208
202
  })))
209
- Y.value = l({
203
+ J.value = l({
210
204
  seriesIndex: t,
211
205
  datapoint: o,
212
206
  series: b.value,
@@ -214,28 +208,28 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
214
208
  });
215
209
  else if (e.value.style.tooltip.show) {
216
210
  let a = "";
217
- const { period: x, open: G, high: H, low: Ce, last: _e, volume: ze, isBullish: Se } = b.value[t], { period: ul, open: He, high: je, low: Xe, last: Ye, volume: qe } = e.value.translations;
211
+ const { period: x, open: j, high: X, low: ze, last: Se, volume: Ne, isBullish: Ae } = b.value[t], { period: rl, open: tt, high: lt, low: ot, last: at, volume: st } = e.value.translations;
218
212
  a += `<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}"
219
- fill="${e.value.style.layout.candle.gradient.show ? Se ? `url(#bullish_gradient_${k.value})` : `url(#bearish_gradient_${k.value})` : Se ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${x}</div>`, a += `${qe} : <b>${isNaN(ze) ? "-" : Number(ze.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, a += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, a += `<div>${He}: <b>${e.value.style.tooltip.prefix} ${isNaN(G.value) ? "-" : Number(G.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, a += `<div>${je}: <b>${e.value.style.tooltip.prefix} ${isNaN(H.value) ? "-" : Number(H.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, a += `<div>${Xe}: <b>${e.value.style.tooltip.prefix} ${isNaN(Ce.value) ? "-" : Number(Ce.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, a += `<div>${Ye}: <b>${e.value.style.tooltip.prefix} ${isNaN(_e.value) ? "-" : Number(_e.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, a += "</div>", Y.value = `<div style="text-align:right">${a}</div>`;
213
+ fill="${e.value.style.layout.candle.gradient.show ? Ae ? `url(#bullish_gradient_${k.value})` : `url(#bearish_gradient_${k.value})` : Ae ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${x}</div>`, a += `${st} : <b>${isNaN(Ne) ? "-" : Number(Ne.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, a += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, a += `<div>${tt}: <b>${e.value.style.tooltip.prefix} ${isNaN(j.value) ? "-" : Number(j.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, a += `<div>${lt}: <b>${e.value.style.tooltip.prefix} ${isNaN(X.value) ? "-" : Number(X.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, a += `<div>${ot}: <b>${e.value.style.tooltip.prefix} ${isNaN(ze.value) ? "-" : Number(ze.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, a += `<div>${at}: <b>${e.value.style.tooltip.prefix} ${isNaN(Se.value) ? "-" : Number(Se.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, a += "</div>", J.value = `<div style="text-align:right">${a}</div>`;
220
214
  }
221
- X.value = !0;
215
+ q.value = !0;
222
216
  }
223
- function De() {
224
- xe();
217
+ function Qe() {
218
+ we();
225
219
  }
226
- const A = n(null);
227
- async function xe() {
228
- (e.value.style.zoom.startIndex !== null || e.value.style.zoom.endIndex !== null) && A.value ? (e.value.style.zoom.startIndex !== null && (await V(), await V(), A.value && A.value.setStartValue(e.value.style.zoom.startIndex)), e.value.style.zoom.endIndex !== null && (await V(), await V(), A.value && A.value.setEndValue(We(e.value.style.zoom.endIndex + 1)))) : (p.value = {
220
+ const F = r(null);
221
+ async function we() {
222
+ (e.value.style.zoom.startIndex !== null || e.value.style.zoom.endIndex !== null) && F.value ? (e.value.style.zoom.startIndex !== null && (await E(), await E(), F.value && F.value.setStartValue(e.value.style.zoom.startIndex)), e.value.style.zoom.endIndex !== null && (await E(), await E(), F.value && F.value.setEndValue(Ze(e.value.style.zoom.endIndex + 1)))) : (f.value = {
229
223
  start: 0,
230
- end: O.value
231
- }, B.value += 1);
224
+ end: M.value
225
+ }, D.value += 1);
232
226
  }
233
- function We(t) {
234
- const o = O.value;
227
+ function Ze(t) {
228
+ const o = M.value;
235
229
  return t > o ? o : 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;
236
230
  }
237
- function ke() {
238
- V(() => {
231
+ function $e() {
232
+ E(() => {
239
233
  const t = [e.value.translations.period, e.value.translations.open, e.value.translations.high, e.value.translations.low, e.value.translations.last, e.value.translations.volume], o = b.value.map((x) => [
240
234
  x.period,
241
235
  x.open.value,
@@ -243,11 +237,11 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
243
237
  x.low.value,
244
238
  x.last.value,
245
239
  x.volume
246
- ]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(o), a = nt(l);
247
- rt({ csvContent: a, title: e.value.style.title.text || "vue-ui-candlestick" });
240
+ ]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(o), a = mt(l);
241
+ bt({ csvContent: a, title: e.value.style.title.text || "vue-ui-candlestick" });
248
242
  });
249
243
  }
250
- const D = g(() => {
244
+ const G = g(() => {
251
245
  const t = b.value.map((a) => [
252
246
  `<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 ? a.isBullish ? `url(#bullish_gradient_${k.value}` : `url(#bearish_gradient_${k.value})` : a.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg> ${a.period}`,
253
247
  `${e.value.table.td.prefix} ${isNaN(a.open.value) ? "-" : Number(a.open.value.toFixed(e.value.table.td.roundingValue)).toLocaleString()} ${e.value.table.td.suffix}`,
@@ -276,59 +270,59 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
276
270
  e.value.translations.volume
277
271
  ];
278
272
  return { head: l, body: t, config: o, colNames: l };
279
- }), T = n(!1);
280
- function Ge(t) {
281
- T.value = t, te.value += 1;
273
+ }), R = r(!1);
274
+ function et(t) {
275
+ R.value = t, oe.value += 1;
282
276
  }
283
- function we() {
277
+ function Ce() {
284
278
  w.value.showTable = !w.value.showTable;
285
279
  }
286
- function $e() {
280
+ function _e() {
287
281
  w.value.showTooltip = !w.value.showTooltip;
288
282
  }
289
- const W = n(!1);
290
- function Z() {
291
- W.value = !W.value;
283
+ const H = r(!1);
284
+ function te() {
285
+ H.value = !H.value;
292
286
  }
293
- return Le({
294
- generatePdf: pe,
295
- generateCsv: ke,
296
- generateImage: ge,
297
- toggleTable: we,
298
- toggleTooltip: $e,
299
- toggleAnnotator: Z
287
+ return Pe({
288
+ generatePdf: me,
289
+ generateCsv: $e,
290
+ generateImage: be,
291
+ toggleTable: Ce,
292
+ toggleTooltip: _e,
293
+ toggleAnnotator: te
300
294
  }), (t, o) => (s(), u("div", {
301
295
  ref_key: "candlestickChart",
302
- ref: L,
303
- class: Ae(`vue-ui-candlestick ${T.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
304
- style: ee(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
296
+ ref: P,
297
+ class: Fe(`vue-ui-candlestick ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
298
+ style: le(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
305
299
  id: `vue-ui-candlestick_${k.value}`,
306
- onMouseenter: o[4] || (o[4] = () => v(re)(!0)),
307
- onMouseleave: o[5] || (o[5] = () => v(re)(!1))
300
+ onMouseenter: o[4] || (o[4] = () => n(de)(!0)),
301
+ onMouseleave: o[5] || (o[5] = () => n(de)(!1))
308
302
  }, [
309
- e.value.userOptions.buttons.annotator ? (s(), _($t, {
303
+ e.value.userOptions.buttons.annotator ? (s(), S(n(Ue), {
310
304
  key: 0,
311
- svgRef: v(ve),
305
+ svgRef: n(ce),
312
306
  backgroundColor: e.value.style.backgroundColor,
313
307
  color: e.value.style.color,
314
- active: W.value,
315
- onClose: Z
308
+ active: H.value,
309
+ onClose: te
316
310
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
317
- Pe.value ? (s(), u("div", {
311
+ Xe.value ? (s(), u("div", {
318
312
  key: 1,
319
313
  ref_key: "noTitle",
320
- ref: ue,
314
+ ref: ne,
321
315
  class: "vue-data-ui-no-title-space",
322
316
  style: "height:36px; width: 100%;background:transparent"
323
317
  }, null, 512)) : y("", !0),
324
318
  e.value.style.title.text ? (s(), u("div", {
325
319
  key: 2,
326
320
  ref_key: "chartTitle",
327
- ref: le,
321
+ ref: ae,
328
322
  style: "width:100%;background:transparent"
329
323
  }, [
330
- (s(), _(ht, {
331
- key: `title_${ne.value}`,
324
+ (s(), S(St, {
325
+ key: `title_${ve.value}`,
332
326
  config: {
333
327
  title: {
334
328
  cy: "candlestick-div-title",
@@ -341,14 +335,14 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
341
335
  }
342
336
  }, null, 8, ["config"]))
343
337
  ], 512)) : y("", !0),
344
- e.value.userOptions.show && R.value && (v(de) || v(J)) ? (s(), _(pt, {
338
+ e.value.userOptions.show && V.value && (n(ye) || n(Q)) ? (s(), S(n(Ge), {
345
339
  ref_key: "details",
346
- ref: Ve,
347
- key: `user_options_${te.value}`,
340
+ ref: je,
341
+ key: `user_options_${oe.value}`,
348
342
  backgroundColor: e.value.style.backgroundColor,
349
343
  color: e.value.style.color,
350
- isImaging: v(fe),
351
- isPrinting: v(he),
344
+ isImaging: n(ge),
345
+ isPrinting: n(fe),
352
346
  uid: k.value,
353
347
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
354
348
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -356,144 +350,144 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
356
350
  hasXls: e.value.userOptions.buttons.csv,
357
351
  hasTable: e.value.userOptions.buttons.table,
358
352
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
359
- isFullscreen: T.value,
353
+ isFullscreen: R.value,
360
354
  isTooltip: w.value.showTooltip,
361
355
  titles: { ...e.value.userOptions.buttonTitles },
362
- chartElement: L.value,
356
+ chartElement: P.value,
363
357
  position: e.value.userOptions.position,
364
358
  hasAnnotator: e.value.userOptions.buttons.annotator,
365
- isAnnotation: W.value,
366
- onToggleFullscreen: Ge,
367
- onGeneratePdf: v(pe),
368
- onGenerateCsv: ke,
369
- onGenerateImage: v(ge),
370
- onToggleTable: we,
371
- onToggleTooltip: $e,
372
- onToggleAnnotator: Z,
373
- style: ee({
374
- visibility: v(de) ? v(J) ? "visible" : "hidden" : "visible"
359
+ isAnnotation: H.value,
360
+ onToggleFullscreen: et,
361
+ onGeneratePdf: n(me),
362
+ onGenerateCsv: $e,
363
+ onGenerateImage: n(be),
364
+ onToggleTable: Ce,
365
+ onToggleTooltip: _e,
366
+ onToggleAnnotator: te,
367
+ style: le({
368
+ visibility: n(ye) ? n(Q) ? "visible" : "hidden" : "visible"
375
369
  })
376
- }, Qe({ _: 2 }, [
370
+ }, nt({ _: 2 }, [
377
371
  t.$slots.menuIcon ? {
378
372
  name: "menuIcon",
379
373
  fn: m(({ isOpen: l, color: a }) => [
380
- f(t.$slots, "menuIcon", z(S({ isOpen: l, color: a })), void 0, !0)
374
+ p(t.$slots, "menuIcon", N(A({ isOpen: l, color: a })), void 0, !0)
381
375
  ]),
382
376
  key: "0"
383
377
  } : void 0,
384
378
  t.$slots.optionTooltip ? {
385
379
  name: "optionTooltip",
386
380
  fn: m(() => [
387
- f(t.$slots, "optionTooltip", {}, void 0, !0)
381
+ p(t.$slots, "optionTooltip", {}, void 0, !0)
388
382
  ]),
389
383
  key: "1"
390
384
  } : void 0,
391
385
  t.$slots.optionPdf ? {
392
386
  name: "optionPdf",
393
387
  fn: m(() => [
394
- f(t.$slots, "optionPdf", {}, void 0, !0)
388
+ p(t.$slots, "optionPdf", {}, void 0, !0)
395
389
  ]),
396
390
  key: "2"
397
391
  } : void 0,
398
392
  t.$slots.optionCsv ? {
399
393
  name: "optionCsv",
400
394
  fn: m(() => [
401
- f(t.$slots, "optionCsv", {}, void 0, !0)
395
+ p(t.$slots, "optionCsv", {}, void 0, !0)
402
396
  ]),
403
397
  key: "3"
404
398
  } : void 0,
405
399
  t.$slots.optionImg ? {
406
400
  name: "optionImg",
407
401
  fn: m(() => [
408
- f(t.$slots, "optionImg", {}, void 0, !0)
402
+ p(t.$slots, "optionImg", {}, void 0, !0)
409
403
  ]),
410
404
  key: "4"
411
405
  } : void 0,
412
406
  t.$slots.optionTable ? {
413
407
  name: "optionTable",
414
408
  fn: m(() => [
415
- f(t.$slots, "optionTable", {}, void 0, !0)
409
+ p(t.$slots, "optionTable", {}, void 0, !0)
416
410
  ]),
417
411
  key: "5"
418
412
  } : void 0,
419
413
  t.$slots.optionFullscreen ? {
420
414
  name: "optionFullscreen",
421
415
  fn: m(({ toggleFullscreen: l, isFullscreen: a }) => [
422
- f(t.$slots, "optionFullscreen", z(S({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
416
+ p(t.$slots, "optionFullscreen", N(A({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
423
417
  ]),
424
418
  key: "6"
425
419
  } : void 0,
426
420
  t.$slots.optionAnnotator ? {
427
421
  name: "optionAnnotator",
428
422
  fn: m(({ toggleAnnotator: l, isAnnotator: a }) => [
429
- f(t.$slots, "optionAnnotator", z(S({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
423
+ p(t.$slots, "optionAnnotator", N(A({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
430
424
  ]),
431
425
  key: "7"
432
426
  } : void 0
433
427
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
434
- R.value ? (s(), u("svg", {
428
+ V.value ? (s(), u("svg", {
435
429
  key: 4,
436
430
  ref_key: "svgRef",
437
- ref: ve,
438
- xmlns: v(st),
439
- class: Ae({ "vue-data-ui-fullscreen--on": T.value, "vue-data-ui-fulscreen--off": !T.value }),
431
+ ref: ce,
432
+ xmlns: n(pt),
433
+ class: Fe({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
440
434
  viewBox: `0 0 ${c.value.width <= 0 ? 10 : c.value.width} ${c.value.height <= 0 ? 10 : c.value.height}`,
441
- style: ee(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
435
+ style: le(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
442
436
  }, [
443
- Te(wt),
437
+ Re(n(Be)),
444
438
  t.$slots["chart-background"] ? (s(), u("foreignObject", {
445
439
  key: 0,
446
440
  x: i.value.left,
447
441
  y: i.value.top,
448
- width: i.value.width,
449
- height: i.value.height,
442
+ width: Math.max(0.1, i.value.width),
443
+ height: Math.max(0.1, i.value.height),
450
444
  style: {
451
445
  pointerEvents: "none"
452
446
  }
453
447
  }, [
454
- f(t.$slots, "chart-background", {}, void 0, !0)
455
- ], 8, At)) : y("", !0),
456
- b.value.length > 0 ? (s(), u("g", Tt, [
457
- r("defs", null, [
458
- r("linearGradient", {
448
+ p(t.$slots, "chart-background", {}, void 0, !0)
449
+ ], 8, Ft)) : y("", !0),
450
+ b.value.length > 0 ? (s(), u("g", Rt, [
451
+ v("defs", null, [
452
+ v("linearGradient", {
459
453
  id: `bearish_gradient_${k.value}`,
460
454
  x2: "0%",
461
455
  y2: "100%"
462
456
  }, [
463
- r("stop", {
457
+ v("stop", {
464
458
  offset: "0%",
465
459
  "stop-color": e.value.style.layout.candle.colors.bearish
466
- }, null, 8, Ft),
467
- r("stop", {
460
+ }, null, 8, Ot),
461
+ v("stop", {
468
462
  offset: "50%",
469
- "stop-color": `${v(j)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
470
- }, null, 8, Rt),
471
- r("stop", {
463
+ "stop-color": `${n(Y)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
464
+ }, null, 8, Vt),
465
+ v("stop", {
472
466
  offset: "100%",
473
- "stop-color": `${v(j)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
474
- }, null, 8, Lt)
475
- ], 8, It),
476
- r("linearGradient", {
467
+ "stop-color": `${n(Y)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
468
+ }, null, 8, Pt)
469
+ ], 8, Lt),
470
+ v("linearGradient", {
477
471
  id: `bullish_gradient_${k.value}`,
478
472
  x2: "0%",
479
473
  y2: "100%"
480
474
  }, [
481
- r("stop", {
475
+ v("stop", {
482
476
  offset: "0%",
483
477
  "stop-color": e.value.style.layout.candle.colors.bullish
484
- }, null, 8, Vt),
485
- r("stop", {
478
+ }, null, 8, Et),
479
+ v("stop", {
486
480
  offset: "50%",
487
- "stop-color": `${v(j)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
488
- }, null, 8, Pt),
489
- r("stop", {
481
+ "stop-color": `${n(Y)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
482
+ }, null, 8, Bt),
483
+ v("stop", {
490
484
  offset: "100%",
491
- "stop-color": `${v(j)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
485
+ "stop-color": `${n(Y)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
492
486
  }, null, 8, Ut)
493
- ], 8, Ot)
487
+ ], 8, Mt)
494
488
  ]),
495
- e.value.style.layout.grid.show ? (s(), u("g", Bt, [
496
- r("line", {
489
+ e.value.style.layout.grid.show ? (s(), u("g", Dt, [
490
+ v("line", {
497
491
  x1: i.value.left,
498
492
  x2: i.value.left,
499
493
  y1: i.value.top,
@@ -501,8 +495,8 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
501
495
  stroke: e.value.style.layout.grid.stroke,
502
496
  "stroke-width": e.value.style.layout.grid.strokeWidth,
503
497
  "stroke-linecap": "round"
504
- }, null, 8, Et),
505
- r("line", {
498
+ }, null, 8, Wt),
499
+ v("line", {
506
500
  x1: i.value.left,
507
501
  x2: i.value.right,
508
502
  y1: i.value.bottom,
@@ -510,11 +504,11 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
510
504
  stroke: e.value.style.layout.grid.stroke,
511
505
  "stroke-width": e.value.style.layout.grid.strokeWidth,
512
506
  "stroke-linecap": "round"
513
- }, null, 8, Mt)
507
+ }, null, 8, Gt)
514
508
  ])) : y("", !0),
515
- e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g", Dt, [
516
- (s(!0), u(I, null, F(Be.value, (l, a) => (s(), u("g", null, [
517
- l.value >= C.value.min && l.value <= C.value.max ? (s(), u("line", {
509
+ e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g", Ht, [
510
+ (s(!0), u(L, null, O(qe.value, (l, a) => (s(), u("g", null, [
511
+ l.value >= _.value.min && l.value <= _.value.max ? (s(), u("line", {
518
512
  key: 0,
519
513
  x1: i.value.left,
520
514
  x2: i.value.left - 5,
@@ -523,8 +517,8 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
523
517
  stroke: e.value.style.layout.grid.stroke,
524
518
  "stroke-width": e.value.style.layout.grid.strokeWidth,
525
519
  "stroke-linecap": "round"
526
- }, null, 8, Wt)) : y("", !0),
527
- l.value >= C.value.min && l.value <= C.value.max ? (s(), u("text", {
520
+ }, null, 8, jt)) : y("", !0),
521
+ l.value >= _.value.min && l.value <= _.value.max ? (s(), u("text", {
528
522
  key: 1,
529
523
  x: i.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
530
524
  y: l.y + c.value.yAxisFontSize / 3,
@@ -532,23 +526,23 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
532
526
  "text-anchor": "end",
533
527
  fill: e.value.style.layout.grid.yAxis.dataLabels.color,
534
528
  "font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
535
- }, P(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + P(v(ut)(l.value) ? l.value.toFixed(e.value.style.layout.grid.yAxis.dataLabels.roundingValue) : "") + " " + P(e.value.style.layout.grid.yAxis.dataLabels.suffix), 9, Gt)) : y("", !0)
529
+ }, B(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + B(n(ft)(l.value) ? l.value.toFixed(e.value.style.layout.grid.yAxis.dataLabels.roundingValue) : "") + " " + B(e.value.style.layout.grid.yAxis.dataLabels.suffix), 9, Xt)) : y("", !0)
536
530
  ]))), 256))
537
531
  ])) : y("", !0),
538
- e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g", Ht, [
539
- (s(!0), u(I, null, F(Ee.value, (l, a) => (s(), u("g", null, [
540
- r("text", {
532
+ e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g", Yt, [
533
+ (s(!0), u(L, null, O(Je.value, (l, a) => (s(), u("g", null, [
534
+ v("text", {
541
535
  transform: `translate(${i.value.left + d.value * a + d.value / 2}, ${i.value.bottom + c.value.xAxisFontSize * 2 + e.value.style.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
542
536
  "text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
543
537
  "font-size": c.value.xAxisFontSize,
544
538
  fill: e.value.style.layout.grid.xAxis.dataLabels.color,
545
539
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
546
- }, P(l), 9, jt)
540
+ }, B(l), 9, qt)
547
541
  ]))), 256))
548
542
  ])) : y("", !0),
549
- r("g", null, [
550
- (s(!0), u(I, null, F(b.value, (l, a) => (s(), u("g", null, [
551
- r("line", {
543
+ v("g", null, [
544
+ (s(!0), u(L, null, O(b.value, (l, a) => (s(), u("g", null, [
545
+ v("line", {
552
546
  x1: l.open.x,
553
547
  x2: l.open.x,
554
548
  y1: l.high.y,
@@ -556,23 +550,23 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
556
550
  stroke: e.value.style.layout.wick.stroke,
557
551
  "stroke-width": e.value.style.layout.wick.strokeWidth,
558
552
  "stroke-linecap": "round"
559
- }, null, 8, Xt),
560
- e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", Yt, [
561
- r("circle", {
553
+ }, null, 8, Jt),
554
+ e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", Kt, [
555
+ v("circle", {
562
556
  cx: l.high.x,
563
557
  cy: l.high.y,
564
558
  r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
565
559
  fill: e.value.style.layout.wick.extremity.color
566
- }, null, 8, qt),
567
- r("circle", {
560
+ }, null, 8, Qt),
561
+ v("circle", {
568
562
  cx: l.low.x,
569
563
  cy: l.low.y,
570
564
  r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
571
565
  fill: e.value.style.layout.wick.extremity.color
572
- }, null, 8, Jt)
566
+ }, null, 8, Zt)
573
567
  ])) : y("", !0),
574
- e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", Kt, [
575
- r("line", {
568
+ e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", el, [
569
+ v("line", {
576
570
  x1: l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
577
571
  x2: l.high.x + (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
578
572
  y1: l.high.y,
@@ -580,8 +574,8 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
580
574
  stroke: e.value.style.layout.wick.extremity.color,
581
575
  "stroke-width": e.value.style.layout.wick.strokeWidth,
582
576
  "stroke-linecap": "round"
583
- }, null, 8, Qt),
584
- r("line", {
577
+ }, null, 8, tl),
578
+ v("line", {
585
579
  x1: l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
586
580
  x2: l.low.x + (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
587
581
  y1: l.low.y,
@@ -589,12 +583,12 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
589
583
  stroke: e.value.style.layout.wick.extremity.color,
590
584
  "stroke-width": e.value.style.layout.wick.strokeWidth,
591
585
  "stroke-linecap": "round"
592
- }, null, 8, Zt)
586
+ }, null, 8, ll)
593
587
  ])) : y("", !0)
594
588
  ]))), 256))
595
589
  ]),
596
- r("g", null, [
597
- (s(!0), u(I, null, F(b.value, (l, a) => (s(), u("rect", {
590
+ v("g", null, [
591
+ (s(!0), u(L, null, O(b.value, (l, a) => (s(), u("rect", {
598
592
  x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
599
593
  y: l.isBullish ? l.last.y : l.open.y,
600
594
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
@@ -602,8 +596,8 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
602
596
  fill: e.value.style.layout.candle.gradient.underlayer,
603
597
  rx: e.value.style.layout.candle.borderRadius,
604
598
  stroke: "none"
605
- }, null, 8, el))), 256)),
606
- (s(!0), u(I, null, F(b.value, (l, a) => (s(), u("rect", {
599
+ }, null, 8, ol))), 256)),
600
+ (s(!0), u(L, null, O(b.value, (l, a) => (s(), u("rect", {
607
601
  x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
608
602
  y: l.isBullish ? l.last.y : l.open.y,
609
603
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
@@ -614,28 +608,28 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
614
608
  "stroke-width": e.value.style.layout.candle.strokeWidth,
615
609
  "stroke-linecap": "round",
616
610
  "stroke-linejoin": "round"
617
- }, null, 8, tl))), 256))
611
+ }, null, 8, al))), 256))
618
612
  ]),
619
- r("g", null, [
620
- (s(!0), u(I, null, F(b.value, (l, a) => (s(), u("rect", {
613
+ v("g", null, [
614
+ (s(!0), u(L, null, O(b.value, (l, a) => (s(), u("rect", {
621
615
  x: i.value.left + a * d.value,
622
616
  y: i.value.top,
623
617
  height: i.value.height <= 0 ? 1e-4 : i.value.height,
624
618
  width: d.value <= 0 ? 1e-4 : d.value,
625
- fill: q.value === a ? v(it)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
626
- onMouseover: (x) => Me(a, l),
619
+ fill: K.value === a ? n(gt)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
620
+ onMouseover: (x) => Ke(a, l),
627
621
  onMouseleave: o[0] || (o[0] = (x) => {
628
- q.value = void 0, X.value = !1;
622
+ K.value = void 0, q.value = !1;
629
623
  })
630
- }, null, 40, ll))), 256))
624
+ }, null, 40, sl))), 256))
631
625
  ])
632
626
  ])) : y("", !0),
633
- f(t.$slots, "svg", { svg: c.value }, void 0, !0)
634
- ], 14, Nt)) : y("", !0),
635
- t.$slots.watermark ? (s(), u("div", ol, [
636
- f(t.$slots, "watermark", z(S({ isPrinting: v(he) || v(fe) })), void 0, !0)
627
+ p(t.$slots, "svg", { svg: c.value }, void 0, !0)
628
+ ], 14, It)) : y("", !0),
629
+ t.$slots.watermark ? (s(), u("div", ul, [
630
+ p(t.$slots, "watermark", N(A({ isPrinting: n(fe) || n(ge) })), void 0, !0)
637
631
  ])) : y("", !0),
638
- R.value ? y("", !0) : (s(), _(bt, {
632
+ V.value ? y("", !0) : (s(), S(n(De), {
639
633
  key: 6,
640
634
  config: {
641
635
  type: "candlesticks",
@@ -652,60 +646,60 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
652
646
  }
653
647
  }
654
648
  }, null, 8, ["config"])),
655
- e.value.style.zoom.show && R.value ? (s(), u("div", {
649
+ e.value.style.zoom.show && V.value ? (s(), u("div", {
656
650
  key: 7,
657
651
  ref_key: "chartSlicer",
658
- ref: ae
652
+ ref: ue
659
653
  }, [
660
- (s(), _(xt, {
654
+ (s(), S(Nt, {
661
655
  ref_key: "slicerComponent",
662
- ref: A,
663
- key: `slicer_${B.value}`,
656
+ ref: F,
657
+ key: `slicer_${D.value}`,
664
658
  background: e.value.style.zoom.color,
665
659
  borderColor: e.value.style.backgroundColor,
666
660
  fontSize: e.value.style.zoom.fontSize,
667
661
  useResetSlot: e.value.style.zoom.useResetSlot,
668
- labelLeft: $.dataset[p.value.start] ? $.dataset[p.value.start][0] : $.dataset[0][0],
669
- labelRight: $.dataset[p.value.end - 1] ? $.dataset[p.value.end - 1][0] : $.dataset.at(-1)[0],
662
+ labelLeft: C.dataset[f.value.start] ? C.dataset[f.value.start][0] : C.dataset[0][0],
663
+ labelRight: C.dataset[f.value.end - 1] ? C.dataset[f.value.end - 1][0] : C.dataset.at(-1)[0],
670
664
  textColor: e.value.style.color,
671
665
  inputColor: e.value.style.zoom.color,
672
666
  selectColor: e.value.style.zoom.highlightColor,
673
- max: O.value,
667
+ max: M.value,
674
668
  min: 0,
675
- valueStart: p.value.start,
676
- valueEnd: p.value.end,
677
- start: p.value.start,
678
- "onUpdate:start": o[1] || (o[1] = (l) => p.value.start = l),
679
- end: p.value.end,
680
- "onUpdate:end": o[2] || (o[2] = (l) => p.value.end = l),
669
+ valueStart: f.value.start,
670
+ valueEnd: f.value.end,
671
+ start: f.value.start,
672
+ "onUpdate:start": o[1] || (o[1] = (l) => f.value.start = l),
673
+ end: f.value.end,
674
+ "onUpdate:end": o[2] || (o[2] = (l) => f.value.end = l),
681
675
  refreshStartPoint: e.value.style.zoom.startIndex !== null ? e.value.style.zoom.startIndex : 0,
682
- refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : O.value,
676
+ refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : M.value,
683
677
  enableRangeHandles: e.value.style.zoom.enableRangeHandles,
684
678
  enableSelectionDrag: e.value.style.zoom.enableSelectionDrag,
685
- onReset: De
679
+ onReset: Qe
686
680
  }, {
687
681
  "reset-action": m(({ reset: l }) => [
688
- f(t.$slots, "reset-action", z(S({ reset: l })), void 0, !0)
682
+ p(t.$slots, "reset-action", N(A({ reset: l })), void 0, !0)
689
683
  ]),
690
684
  _: 3
691
685
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"]))
692
686
  ], 512)) : y("", !0),
693
- r("div", {
687
+ v("div", {
694
688
  ref_key: "chartLegend",
695
- ref: oe
689
+ ref: se
696
690
  }, [
697
- f(t.$slots, "legend", { legend: b.value }, void 0, !0)
691
+ p(t.$slots, "legend", { legend: b.value }, void 0, !0)
698
692
  ], 512),
699
693
  t.$slots.source ? (s(), u("div", {
700
694
  key: 8,
701
695
  ref_key: "source",
702
- ref: se,
696
+ ref: ie,
703
697
  dir: "auto"
704
698
  }, [
705
- f(t.$slots, "source", {}, void 0, !0)
699
+ p(t.$slots, "source", {}, void 0, !0)
706
700
  ], 512)) : y("", !0),
707
- Te(gt, {
708
- show: w.value.showTooltip && X.value,
701
+ Re(n(We), {
702
+ show: w.value.showTooltip && q.value,
709
703
  backgroundColor: e.value.style.tooltip.backgroundColor,
710
704
  color: e.value.style.tooltip.color,
711
705
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -715,20 +709,20 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
715
709
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
716
710
  position: e.value.style.tooltip.position,
717
711
  offsetY: e.value.style.tooltip.offsetY,
718
- parent: L.value,
719
- content: Y.value,
720
- isFullscreen: T.value,
712
+ parent: P.value,
713
+ content: J.value,
714
+ isFullscreen: R.value,
721
715
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
722
716
  }, {
723
717
  "tooltip-before": m(() => [
724
- f(t.$slots, "tooltip-before", z(S({ ...Q.value })), void 0, !0)
718
+ p(t.$slots, "tooltip-before", N(A({ ...ee.value })), void 0, !0)
725
719
  ]),
726
720
  "tooltip-after": m(() => [
727
- f(t.$slots, "tooltip-after", z(S({ ...Q.value })), void 0, !0)
721
+ p(t.$slots, "tooltip-after", N(A({ ...ee.value })), void 0, !0)
728
722
  ]),
729
723
  _: 3
730
724
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
731
- R.value ? (s(), _(kt, {
725
+ V.value ? (s(), S(n(Me), {
732
726
  key: 9,
733
727
  hideDetails: "",
734
728
  config: {
@@ -745,29 +739,29 @@ const St = ["id"], Nt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
745
739
  }
746
740
  }, {
747
741
  content: m(() => [
748
- (s(), _(mt, {
749
- key: `table_${ie.value}`,
750
- colNames: D.value.colNames,
751
- head: D.value.head,
752
- body: D.value.body,
753
- config: D.value.config,
742
+ (s(), S(n(Ee), {
743
+ key: `table_${re.value}`,
744
+ colNames: G.value.colNames,
745
+ head: G.value.head,
746
+ body: G.value.body,
747
+ config: G.value.config,
754
748
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
755
749
  onClose: o[3] || (o[3] = (l) => w.value.showTable = !1)
756
750
  }, {
757
751
  th: m(({ th: l }) => [
758
- Ze(P(l), 1)
752
+ rt(B(l), 1)
759
753
  ]),
760
754
  td: m(({ td: l }) => [
761
- r("div", { innerHTML: l }, null, 8, al)
755
+ v("div", { innerHTML: l }, null, 8, il)
762
756
  ]),
763
757
  _: 1
764
758
  }, 8, ["colNames", "head", "body", "config", "title"]))
765
759
  ]),
766
760
  _: 1
767
761
  }, 8, ["config"])) : y("", !0)
768
- ], 46, St));
762
+ ], 46, Tt));
769
763
  }
770
- }, $l = /* @__PURE__ */ zt(sl, [["__scopeId", "data-v-83916fa7"]]);
764
+ }, xl = /* @__PURE__ */ At(nl, [["__scopeId", "data-v-6f6b416c"]]);
771
765
  export {
772
- $l as default
766
+ xl as default
773
767
  };