vue-data-ui 3.4.2 → 3.4.3

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 (134) hide show
  1. package/dist/{PackageVersion-C6RwvG8P.js → PackageVersion-Df-8U2yE.js} +1 -1
  2. package/dist/{Title-CFmv95In.js → Title-D7_5ICX_.js} +1 -1
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-accordion.js +1 -1
  5. package/dist/components/vue-ui-age-pyramid.js +1 -1
  6. package/dist/components/vue-ui-annotator.js +1 -1
  7. package/dist/components/vue-ui-bullet.js +1 -1
  8. package/dist/components/vue-ui-candlestick.js +1 -1
  9. package/dist/components/vue-ui-carousel-table.js +1 -1
  10. package/dist/components/vue-ui-chestnut.js +1 -1
  11. package/dist/components/vue-ui-chord.js +1 -1
  12. package/dist/components/vue-ui-circle-pack.js +1 -1
  13. package/dist/components/vue-ui-cursor.js +1 -1
  14. package/dist/components/vue-ui-dashboard.js +1 -1
  15. package/dist/components/vue-ui-digits.js +1 -1
  16. package/dist/components/vue-ui-donut-evolution.js +1 -1
  17. package/dist/components/vue-ui-donut.js +1 -1
  18. package/dist/components/vue-ui-dumbbell.js +1 -1
  19. package/dist/components/vue-ui-flow.js +1 -1
  20. package/dist/components/vue-ui-funnel.js +1 -1
  21. package/dist/components/vue-ui-galaxy.js +1 -1
  22. package/dist/components/vue-ui-gauge.js +1 -1
  23. package/dist/components/vue-ui-gizmo.js +1 -1
  24. package/dist/components/vue-ui-heatmap.js +1 -1
  25. package/dist/components/vue-ui-history-plot.js +1 -1
  26. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  27. package/dist/components/vue-ui-kpi.js +1 -1
  28. package/dist/components/vue-ui-mini-loader.js +1 -1
  29. package/dist/components/vue-ui-molecule.js +1 -1
  30. package/dist/components/vue-ui-mood-radar.js +1 -1
  31. package/dist/components/vue-ui-nested-donuts.js +1 -1
  32. package/dist/components/vue-ui-onion.js +1 -1
  33. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  34. package/dist/components/vue-ui-quadrant.js +1 -1
  35. package/dist/components/vue-ui-quick-chart.js +1 -1
  36. package/dist/components/vue-ui-radar.js +1 -1
  37. package/dist/components/vue-ui-rating.js +1 -1
  38. package/dist/components/vue-ui-relation-circle.js +1 -1
  39. package/dist/components/vue-ui-ridgeline.js +1 -1
  40. package/dist/components/vue-ui-rings.js +1 -1
  41. package/dist/components/vue-ui-scatter.js +1 -1
  42. package/dist/components/vue-ui-skeleton.js +1 -1
  43. package/dist/components/vue-ui-smiley.js +1 -1
  44. package/dist/components/vue-ui-spark-trend.js +1 -1
  45. package/dist/components/vue-ui-sparkbar.js +1 -1
  46. package/dist/components/vue-ui-sparkgauge.js +1 -1
  47. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  48. package/dist/components/vue-ui-sparkline.js +1 -1
  49. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  50. package/dist/components/vue-ui-stackbar.js +1 -1
  51. package/dist/components/vue-ui-strip-plot.js +1 -1
  52. package/dist/components/vue-ui-table-heatmap.js +1 -1
  53. package/dist/components/vue-ui-table-sparkline.js +1 -1
  54. package/dist/components/vue-ui-table.js +1 -1
  55. package/dist/components/vue-ui-thermometer.js +1 -1
  56. package/dist/components/vue-ui-timer.js +1 -1
  57. package/dist/components/vue-ui-tiremarks.js +1 -1
  58. package/dist/components/vue-ui-treemap.js +1 -1
  59. package/dist/components/vue-ui-vertical-bar.js +1 -1
  60. package/dist/components/vue-ui-waffle.js +1 -1
  61. package/dist/components/vue-ui-wheel.js +1 -1
  62. package/dist/components/vue-ui-word-cloud.js +1 -1
  63. package/dist/components/vue-ui-world.js +1 -1
  64. package/dist/components/vue-ui-xy-canvas.js +1 -1
  65. package/dist/components/vue-ui-xy.js +1 -1
  66. package/dist/style.css +1 -1
  67. package/dist/{themes-Dw-dDudK.js → themes-AUNCOb2G.js} +5 -5
  68. package/dist/types/vue-data-ui.d.ts +8 -0
  69. package/dist/{useNestedProp-B7CiTRDS.js → useNestedProp-CtheCta-.js} +4 -2
  70. package/dist/{vue-data-ui-CzLP2rN0.js → vue-data-ui-OfJx8jSP.js} +63 -63
  71. package/dist/vue-data-ui.js +65 -65
  72. package/dist/{vue-ui-3d-bar-D0b-iURl.js → vue-ui-3d-bar-Bp-sqsyU.js} +4 -4
  73. package/dist/{vue-ui-accordion-BKkTS12x.js → vue-ui-accordion-DXdd_qAk.js} +1 -1
  74. package/dist/{vue-ui-age-pyramid-Bd9FocGT.js → vue-ui-age-pyramid-CUVtajBe.js} +4 -4
  75. package/dist/{vue-ui-annotator-DkSYrnwb.js → vue-ui-annotator-D5GKadj6.js} +2 -2
  76. package/dist/{vue-ui-bullet-DjQMFX7b.js → vue-ui-bullet-rQoLiK2b.js} +4 -4
  77. package/dist/{vue-ui-candlestick-C0B0r7Nv.js → vue-ui-candlestick-D7eCxbQ8.js} +479 -456
  78. package/dist/{vue-ui-carousel-table-Csg8asJF.js → vue-ui-carousel-table-Bu8HSJRc.js} +2 -2
  79. package/dist/{vue-ui-chestnut-Ffn8vxbh.js → vue-ui-chestnut-BqyduBAg.js} +3 -3
  80. package/dist/{vue-ui-chord-kdRc-Q-q.js → vue-ui-chord-VTRyVBx4.js} +4 -4
  81. package/dist/{vue-ui-circle-pack-C0kAjLnX.js → vue-ui-circle-pack-DIXUixuK.js} +4 -4
  82. package/dist/{vue-ui-cursor-iuati4v1.js → vue-ui-cursor-TFVxgVEa.js} +1 -1
  83. package/dist/{vue-ui-dashboard-D6F9BaXG.js → vue-ui-dashboard-DeFPygcZ.js} +63 -63
  84. package/dist/{vue-ui-digits-eYxf3UFN.js → vue-ui-digits-B6cIiy1Z.js} +1 -1
  85. package/dist/{vue-ui-donut-BrfxHSjb.js → vue-ui-donut-B3kaTm1I.js} +4 -4
  86. package/dist/{vue-ui-donut-evolution-eTmI2x_r.js → vue-ui-donut-evolution-CGxyHap0.js} +4 -4
  87. package/dist/{vue-ui-dumbbell-Cw9zO8Mn.js → vue-ui-dumbbell-BpHU2gPm.js} +4 -4
  88. package/dist/{vue-ui-flow-B0RDvOVg.js → vue-ui-flow-B1jwV-to.js} +4 -4
  89. package/dist/{vue-ui-funnel-Dsr0GCoj.js → vue-ui-funnel-C07ghZCo.js} +4 -4
  90. package/dist/{vue-ui-galaxy-pZn1NOt3.js → vue-ui-galaxy-C2aCa9u0.js} +4 -4
  91. package/dist/{vue-ui-gauge-BjLEfS3a.js → vue-ui-gauge-BymG1mO4.js} +4 -4
  92. package/dist/{vue-ui-gizmo-CxJXz4nC.js → vue-ui-gizmo-BjPbDZKf.js} +2 -2
  93. package/dist/{vue-ui-heatmap-DZe-8jxm.js → vue-ui-heatmap-D2udHyOO.js} +5 -5
  94. package/dist/{vue-ui-history-plot-mKwh56x-.js → vue-ui-history-plot-C1v5py9J.js} +4 -4
  95. package/dist/{vue-ui-kpi-N8s0i48S.js → vue-ui-kpi-4fToBGEE.js} +2 -2
  96. package/dist/{vue-ui-mini-loader-Db-9iQcC.js → vue-ui-mini-loader-o6xsgflK.js} +1 -1
  97. package/dist/{vue-ui-molecule-NSKEl9DU.js → vue-ui-molecule-QJY9Jg--.js} +3 -3
  98. package/dist/{vue-ui-mood-radar-D0P9U7A2.js → vue-ui-mood-radar-CYz7t7cO.js} +4 -4
  99. package/dist/{vue-ui-nested-donuts-CsoawOMw.js → vue-ui-nested-donuts-Cs_KVggH.js} +4 -4
  100. package/dist/{vue-ui-onion-CB81rQHr.js → vue-ui-onion-DI__t0Yo.js} +4 -4
  101. package/dist/{vue-ui-parallel-coordinate-plot-Bfqdsh29.js → vue-ui-parallel-coordinate-plot-BUFBIY0H.js} +4 -4
  102. package/dist/{vue-ui-quadrant-B6S8er0z.js → vue-ui-quadrant-q27Crjhv.js} +4 -4
  103. package/dist/{vue-ui-quick-chart-BEJz4IrK.js → vue-ui-quick-chart-vA-5-zU_.js} +3 -3
  104. package/dist/{vue-ui-radar-CfVWwJ9O.js → vue-ui-radar-v6sFZlta.js} +4 -4
  105. package/dist/{vue-ui-rating-fR2WRHYO.js → vue-ui-rating-B1TGv80Y.js} +1 -1
  106. package/dist/{vue-ui-relation-circle-CDrFFs7x.js → vue-ui-relation-circle-C_7j_HC1.js} +4 -4
  107. package/dist/{vue-ui-ridgeline-HctkhJNL.js → vue-ui-ridgeline-BaDr8YsQ.js} +4 -4
  108. package/dist/{vue-ui-rings-DNdvT73I.js → vue-ui-rings-BcsyGpD-.js} +4 -4
  109. package/dist/{vue-ui-scatter-tqqXVlml.js → vue-ui-scatter-DsvtDcRf.js} +121 -112
  110. package/dist/{vue-ui-skeleton-CIFKbc2Z.js → vue-ui-skeleton-DJka_Bjy.js} +2 -2
  111. package/dist/{vue-ui-smiley-BKXuAviQ.js → vue-ui-smiley-D-W7GeoN.js} +1 -1
  112. package/dist/{vue-ui-spark-trend-ClzBuy9g.js → vue-ui-spark-trend-ufRxrEgv.js} +3 -3
  113. package/dist/{vue-ui-sparkbar-DOC0sinb.js → vue-ui-sparkbar-C0hU8raA.js} +3 -3
  114. package/dist/{vue-ui-sparkgauge-CtRGuXYE.js → vue-ui-sparkgauge-1bi-EEqb.js} +3 -3
  115. package/dist/{vue-ui-sparkhistogram-CH5SQ49i.js → vue-ui-sparkhistogram-H1BSDVyx.js} +3 -3
  116. package/dist/{vue-ui-sparkline-C1ANB_RH.js → vue-ui-sparkline-DElVjWGk.js} +3 -3
  117. package/dist/{vue-ui-sparkstackbar-DJZvIWb3.js → vue-ui-sparkstackbar-DE3D2xTJ.js} +3 -3
  118. package/dist/{vue-ui-stackbar-DzT3xjPg.js → vue-ui-stackbar-DVTV6JcM.js} +50 -45
  119. package/dist/{vue-ui-strip-plot-DdgSGxqd.js → vue-ui-strip-plot-0RudVLPB.js} +4 -4
  120. package/dist/{vue-ui-table-heatmap-DU6GKPVy.js → vue-ui-table-heatmap-BQgeM3lZ.js} +2 -2
  121. package/dist/{vue-ui-table-DpSVU3nR.js → vue-ui-table-jbkT9pG2.js} +3 -3
  122. package/dist/{vue-ui-table-sparkline-DNiqSZPO.js → vue-ui-table-sparkline-Elk05A1j.js} +3 -3
  123. package/dist/{vue-ui-thermometer-BEg7V1Pf.js → vue-ui-thermometer-6QNHvlxi.js} +4 -4
  124. package/dist/{vue-ui-timer-GYpb3XQc.js → vue-ui-timer-BvHuXOu1.js} +3 -3
  125. package/dist/{vue-ui-tiremarks-vkoU5KYk.js → vue-ui-tiremarks-CCfLSw7X.js} +4 -4
  126. package/dist/{vue-ui-treemap-Bikx-ODr.js → vue-ui-treemap-DNimXWh4.js} +4 -4
  127. package/dist/{vue-ui-vertical-bar-CFCfwBWt.js → vue-ui-vertical-bar-C8UcI92_.js} +5 -5
  128. package/dist/{vue-ui-waffle-yn1j310A.js → vue-ui-waffle-CMO0x41z.js} +4 -4
  129. package/dist/{vue-ui-wheel-0aFR982b.js → vue-ui-wheel-CB2KRY13.js} +4 -4
  130. package/dist/{vue-ui-word-cloud-CkV8cGp6.js → vue-ui-word-cloud-BDP2WP1p.js} +162 -151
  131. package/dist/{vue-ui-world-DD5SbHCe.js → vue-ui-world-CobFs5Vm.js} +2 -2
  132. package/dist/{vue-ui-xy-BJiDW7Os.js → vue-ui-xy-DmWHarZg.js} +841 -835
  133. package/dist/{vue-ui-xy-canvas-Dct7tf8w.js → vue-ui-xy-canvas-BwhZD5_d.js} +4 -4
  134. package/package.json +1 -1
@@ -1,23 +1,23 @@
1
- import { defineAsyncComponent as V, computed as c, ref as y, toRefs as Al, watch as oe, shallowRef as xt, onMounted as Cl, onBeforeUnmount as Me, watchEffect as $l, nextTick as bt, createElementBlock as u, openBlock as s, normalizeStyle as se, normalizeClass as B, createBlock as H, createCommentVNode as m, createElementVNode as p, createVNode as Oe, unref as h, createSlots as kt, withCtx as k, renderSlot as w, normalizeProps as G, guardReactiveProps as j, Fragment as _, renderList as S, toDisplayString as ue, mergeProps as wt, resolveDynamicComponent as _l, createTextVNode as At } from "vue";
2
- import { c as zl, t as Sl, O as he, o as Ct, f as q, m as Ll, x as U, v as Tl, d as N, X as Fl, i as me, s as Il, R as $t, P as Rl, Q as Ml, G as Ol, H as Dl } from "./lib-BcBZIm6u.js";
3
- import { t as _t, u as Pl } from "./useResponsive-DfdjqQps.js";
4
- import { u as Bl, a as zt } from "./useNestedProp-B7CiTRDS.js";
1
+ import { defineAsyncComponent as W, computed as c, ref as y, toRefs as Al, watch as se, shallowRef as bt, onMounted as Cl, onBeforeUnmount as De, watchEffect as $l, nextTick as kt, createElementBlock as i, openBlock as u, normalizeStyle as ue, normalizeClass as N, createBlock as q, createCommentVNode as m, createElementVNode as p, createVNode as Pe, unref as h, createSlots as wt, withCtx as k, renderSlot as w, normalizeProps as Y, guardReactiveProps as Q, Fragment as S, renderList as F, toDisplayString as ie, mergeProps as At, resolveDynamicComponent as _l, createTextVNode as Ct } from "vue";
2
+ import { c as zl, t as Sl, O as pe, o as $t, f as J, m as Ll, x as X, v as Tl, d as E, X as Fl, i as fe, s as Il, R as _t, P as Ml, Q as Rl, G as Ol, H as Dl } from "./lib-BcBZIm6u.js";
3
+ import { t as zt, u as Pl } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Bl, a as St } from "./useNestedProp-CtheCta-.js";
5
5
  import { u as Nl } from "./usePrinter-C1GiglOH.js";
6
6
  import { u as El, B as Vl } from "./BaseScanner-BgWxam9d.js";
7
- import { u as St, a as Ul, l as Wl } from "./useTimeLabels-BGFjWgrv.js";
7
+ import { u as Lt, a as Ul, l as Wl } from "./useTimeLabels-BGFjWgrv.js";
8
8
  import { u as Xl } from "./useSvgExport-DrjCWun4.js";
9
9
  import { u as Hl } from "./useUserOptionState-BIvW1Kz7.js";
10
10
  import { u as Gl } from "./useChartAccessibility-9icAAmYg.js";
11
11
  import { u as jl } from "./useTimeLabelCollider-CIsgDrl9.js";
12
12
  import ql from "./img-CFY3JivG.js";
13
- import Yl from "./Title-CFmv95In.js";
14
- import { t as Ql } from "./themes-Dw-dDudK.js";
13
+ import Yl from "./Title-D7_5ICX_.js";
14
+ import { t as Ql } from "./themes-AUNCOb2G.js";
15
15
  import { S as Jl } from "./SlicerPreview-Cobmb_1S.js";
16
16
  import { _ as Kl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "width", "height"], la = { key: 1 }, aa = ["id"], oa = ["stop-color"], sa = ["stop-color"], ua = ["stop-color"], ia = ["id"], na = ["stop-color"], ra = ["stop-color"], va = ["stop-color"], da = { key: 0 }, ca = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ya = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ha = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], fa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ga = ["x", "y", "font-size", "fill", "font-weight"], xa = ["transform", "text-anchor", "font-size", "fill", "font-weight"], ba = ["transform", "text-anchor", "font-size", "fill", "font-weight"], ka = ["x", "y", "width", "height", "fill", "rx"], wa = { key: 0 }, Aa = ["cx", "cy", "r", "fill"], Ca = ["cx", "cy", "r", "fill"], $a = { key: 1 }, _a = ["x", "y", "width", "height", "rx", "fill"], za = ["x", "y", "width", "height", "fill", "rx"], Sa = ["x", "y", "height", "width", "fill", "rx"], La = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Ta = ["d", "stroke"], Fa = ["x", "y", "height", "width", "fill", "onMouseover", "onMouseleave", "onClick"], Ia = ["data-start", "data-end"], Ra = {
17
+ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "width", "height"], la = { key: 1 }, aa = ["id"], oa = ["stop-color"], sa = ["stop-color"], ua = ["stop-color"], ia = ["id"], na = ["stop-color"], ra = ["stop-color"], va = ["stop-color"], da = { key: 0 }, ca = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ya = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ha = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], fa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ga = ["x", "y", "font-size", "fill", "font-weight"], xa = ["transform", "text-anchor", "font-size", "fill", "font-weight"], ba = ["transform", "text-anchor", "font-size", "fill", "font-weight"], ka = ["x", "y", "width", "height", "fill", "rx"], wa = { key: 0 }, Aa = ["cx", "cy", "r", "fill"], Ca = ["cx", "cy", "r", "fill"], $a = { key: 1 }, _a = ["x", "y", "width", "height", "rx", "fill"], za = ["x", "y", "width", "height", "fill", "rx"], Sa = ["x", "y", "height", "width", "fill", "rx"], La = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Ta = ["d", "stroke"], Fa = ["x", "y", "height", "width", "fill", "onMouseover", "onMouseleave", "onClick"], Ia = ["data-start", "data-end"], Ma = {
18
18
  key: 4,
19
19
  class: "vue-data-ui-watermark"
20
- }, Ma = ["d", "stroke"], Oa = ["d", "stroke", "stroke-width"], Da = ["innerHTML"], Pa = {
20
+ }, Ra = ["d", "stroke"], Oa = ["d", "stroke", "stroke-width"], Da = ["innerHTML"], Pa = {
21
21
  __name: "vue-ui-candlestick",
22
22
  props: {
23
23
  config: {
@@ -38,14 +38,14 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
38
38
  }
39
39
  },
40
40
  emits: ["selectX"],
41
- setup(Lt, { expose: Tt, emit: Ft }) {
42
- const It = V(() => import("./BaseIcon-B5KaGWWC.js")), Rt = V(() => import("./Tooltip-Cs4v8OnI.js")), Mt = V(() => import("./vue-ui-accordion-BKkTS12x.js")), Ot = V(() => import("./DataTable-DOx3zgih.js")), Dt = V(() => import("./PenAndPaper-Dj2diYr0.js")), Pt = V(() => import("./UserOptions-C0YT60JN.js")), Bt = V(() => import("./PackageVersion-C6RwvG8P.js")), Nt = V(() => import("./BaseDraggableDialog-CbuLbfrc.js")), { vue_ui_candlestick: Et } = Bl(), g = Lt, De = Ft, pe = c(() => !!g.dataset && g.dataset.length), I = y(!1), fe = y(null), L = y(zl()), ge = y(!1), xe = y(""), M = y(void 0), Pe = y(0), O = y(null), Be = y(null), Ne = y(null), J = y(null), Ee = y(null), Ve = y(null), Vt = y(0), Ue = y(0), We = y(0), be = y(null), K = y(null), Z = y(null), ke = y(null), Xe = y(null), e = y($e()), { loading: D, FINAL_DATASET: x, manualLoading: we } = El({
41
+ setup(Tt, { expose: Ft, emit: It }) {
42
+ const Mt = W(() => import("./BaseIcon-B5KaGWWC.js")), Rt = W(() => import("./Tooltip-Cs4v8OnI.js")), Ot = W(() => import("./vue-ui-accordion-DXdd_qAk.js")), Dt = W(() => import("./DataTable-DOx3zgih.js")), Pt = W(() => import("./PenAndPaper-Dj2diYr0.js")), Bt = W(() => import("./UserOptions-C0YT60JN.js")), Nt = W(() => import("./PackageVersion-Df-8U2yE.js")), Et = W(() => import("./BaseDraggableDialog-CbuLbfrc.js")), { vue_ui_candlestick: Vt } = Bl(), g = Tt, Be = It, ge = c(() => !!g.dataset && g.dataset.length), R = y(!1), xe = y(null), I = y(zl()), be = y(!1), ke = y(""), O = y(void 0), Ne = y(0), D = y(null), Ee = y(null), Ve = y(null), Z = y(null), Ue = y(null), We = y(null), Ut = y(0), Xe = y(0), He = y(0), we = y(null), ee = y(null), te = y(null), Ae = y(null), Ge = y(null), e = y(ze()), { loading: P, FINAL_DATASET: x, manualLoading: Ce } = El({
43
43
  ...Al(g),
44
44
  FINAL_CONFIG: e,
45
- prepareConfig: $e,
45
+ prepareConfig: ze,
46
46
  callback: () => {
47
47
  Promise.resolve().then(async () => {
48
- await de();
48
+ await ce();
49
49
  });
50
50
  },
51
51
  skeletonDataset: [
@@ -109,131 +109,131 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
109
109
  }
110
110
  }
111
111
  })
112
- }), { userOptionsVisible: Ae, setUserOptionsVisibility: He, keepUserOptionState: Ge } = Hl({ config: e.value }), { svgRef: Ce } = Gl({ config: e.value.style.title });
113
- function Ut() {
114
- He(!0);
115
- }
112
+ }), { userOptionsVisible: $e, setUserOptionsVisibility: je, keepUserOptionState: qe } = Hl({ config: e.value }), { svgRef: _e } = Gl({ config: e.value.style.title });
116
113
  function Wt() {
117
- He(!1), De("selectX", { seriesIndex: null, datapoint: null }), M.value = null;
114
+ je(!0);
115
+ }
116
+ function Xt() {
117
+ je(!1), Be("selectX", { seriesIndex: null, datapoint: null }), O.value = null;
118
118
  }
119
- function $e() {
120
- const t = zt({
119
+ function ze() {
120
+ const t = St({
121
121
  userConfig: g.config,
122
- defaultConfig: Et
122
+ defaultConfig: Vt
123
123
  });
124
124
  let a = {};
125
125
  return t.theme ? a = {
126
- ...zt({
126
+ ...St({
127
127
  userConfig: Ql.vue_ui_candlestick[t.theme] || g.config,
128
128
  defaultConfig: t
129
129
  })
130
- } : a = t, g.config && he(g.config, "style.zoom.startIndex") ? a.style.zoom.startIndex = g.config.style.zoom.startIndex : a.style.zoom.startIndex = null, g.config && he(g.config, "style.zoom.endIndex") ? a.style.zoom.endIndex = g.config.style.zoom.endIndex : a.style.zoom.endIndex = null, g.config && he(g.config, "style.layout.grid.yAxis.scale.min") ? a.style.layout.grid.yAxis.scale.min = g.config.style.layout.grid.yAxis.scale.min : a.style.layout.grid.yAxis.scale.min = null, g.config && he(g.config, "style.layout.grid.yAxis.scale.max") ? a.style.layout.grid.yAxis.scale.max = g.config.style.layout.grid.yAxis.scale.max : a.style.layout.grid.yAxis.scale.max = null, a;
130
+ } : a = t, g.config && pe(g.config, "style.zoom.startIndex") ? a.style.zoom.startIndex = g.config.style.zoom.startIndex : a.style.zoom.startIndex = null, g.config && pe(g.config, "style.zoom.endIndex") ? a.style.zoom.endIndex = g.config.style.zoom.endIndex : a.style.zoom.endIndex = null, g.config && pe(g.config, "style.layout.grid.yAxis.scale.min") ? a.style.layout.grid.yAxis.scale.min = g.config.style.layout.grid.yAxis.scale.min : a.style.layout.grid.yAxis.scale.min = null, g.config && pe(g.config, "style.layout.grid.yAxis.scale.max") ? a.style.layout.grid.yAxis.scale.max = g.config.style.layout.grid.yAxis.scale.max : a.style.layout.grid.yAxis.scale.max = null, a;
131
131
  }
132
- oe(() => g.config, (t) => {
133
- D.value || (e.value = $e()), Ae.value = !e.value.userOptions.showOnChartHover, je(), Vt.value += 1, We.value += 1, Ue.value += 1, z.value.showTable = e.value.table.show, z.value.showTooltip = e.value.style.tooltip.show, ie();
134
- }, { deep: !0 }), oe(() => g.dataset, (t) => {
135
- Array.isArray(t) && t.length > 0 && (we.value = !1), nt();
132
+ se(() => g.config, (t) => {
133
+ P.value || (e.value = ze()), $e.value = !e.value.userOptions.showOnChartHover, Ye(), Ut.value += 1, He.value += 1, Xe.value += 1, L.value.showTable = e.value.table.show, L.value.showTooltip = e.value.style.tooltip.show, ne();
134
+ }, { deep: !0 }), se(() => g.dataset, (t) => {
135
+ Array.isArray(t) && t.length > 0 && (Ce.value = !1), vt();
136
136
  }, { deep: !0 });
137
137
  const f = y({
138
138
  height: e.value.style.height,
139
139
  width: e.value.style.width,
140
140
  xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
141
141
  yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
142
- }), E = xt(null), Y = xt(null);
142
+ }), V = bt(null), K = bt(null);
143
143
  Cl(() => {
144
- je();
144
+ Ye();
145
145
  });
146
- const W = c(() => !!e.value.debug);
147
- function je() {
148
- if (Ct(g.dataset) && (q({
146
+ const H = c(() => !!e.value.debug);
147
+ function Ye() {
148
+ if ($t(g.dataset) && (J({
149
149
  componentName: "VueUiCandlestick",
150
150
  type: "dataset",
151
- debug: W.value
152
- }), we.value = !0), Ct(g.dataset) || (we.value = e.value.loading), setTimeout(() => {
153
- I.value = !0;
151
+ debug: H.value
152
+ }), Ce.value = !0), $t(g.dataset) || (Ce.value = e.value.loading), setTimeout(() => {
153
+ R.value = !0;
154
154
  }, 10), e.value.responsive) {
155
- const a = _t(() => {
156
- I.value = !1;
155
+ const a = zt(() => {
156
+ R.value = !1;
157
157
  const { width: l, height: o } = Pl({
158
- chart: O.value,
159
- title: e.value.style.title.text ? Be.value : null,
160
- slicer: e.value.style.zoom.show && C.value > 6 ? J.value.$el : null,
161
- legend: Ne.value,
162
- source: Ee.value,
163
- noTitle: Ve.value
158
+ chart: D.value,
159
+ title: e.value.style.title.text ? Ee.value : null,
160
+ slicer: e.value.style.zoom.show && C.value > 6 ? Z.value.$el : null,
161
+ legend: Ve.value,
162
+ source: Ue.value,
163
+ noTitle: We.value
164
164
  });
165
165
  requestAnimationFrame(() => {
166
- f.value.width = l, f.value.height = o - 12, e.value.responsiveProportionalSizing ? (f.value.xAxisFontSize = $t({
166
+ f.value.width = l, f.value.height = o - 12, e.value.responsiveProportionalSizing ? (f.value.xAxisFontSize = _t({
167
167
  relator: Math.min(l, o),
168
168
  adjuster: e.value.style.width,
169
169
  source: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
170
170
  threshold: 6,
171
171
  fallback: 6
172
- }), f.value.yAxisFontSize = $t({
172
+ }), f.value.yAxisFontSize = _t({
173
173
  relator: Math.min(l, o),
174
174
  adjuster: e.value.style.width,
175
175
  source: e.value.style.layout.grid.yAxis.dataLabels.fontSize,
176
176
  threshold: 6,
177
177
  fallback: 6
178
- })) : (f.value.xAxisFontSize = e.value.style.layout.grid.xAxis.dataLabels.fontSize, f.value.yAxisFontSize = e.value.style.layout.grid.yAxis.dataLabels.fontSize), fe.value && clearTimeout(fe.value), fe.value = setTimeout(() => {
179
- I.value = !0;
178
+ })) : (f.value.xAxisFontSize = e.value.style.layout.grid.xAxis.dataLabels.fontSize, f.value.yAxisFontSize = e.value.style.layout.grid.yAxis.dataLabels.fontSize), xe.value && clearTimeout(xe.value), xe.value = setTimeout(() => {
179
+ R.value = !0;
180
180
  }, 10);
181
181
  });
182
182
  });
183
- E.value && (Y.value && E.value.unobserve(Y.value), E.value.disconnect()), E.value = new ResizeObserver(a), Y.value = O.value.parentNode, E.value.observe(Y.value);
183
+ V.value && (K.value && V.value.unobserve(K.value), V.value.disconnect()), V.value = new ResizeObserver(a), K.value = D.value.parentNode, V.value.observe(K.value);
184
184
  }
185
- de();
185
+ ce();
186
186
  }
187
- Me(() => {
188
- E.value && (Y.value && E.value.unobserve(Y.value), E.value.disconnect());
187
+ De(() => {
188
+ V.value && (K.value && V.value.unobserve(K.value), V.value.disconnect());
189
189
  });
190
- const { isPrinting: qe, isImaging: Ye, generatePdf: Qe, generateImage: Je } = Nl({
191
- elementId: `vue-ui-candlestick_${L.value}`,
190
+ const { isPrinting: Qe, isImaging: Je, generatePdf: Ke, generateImage: Ze } = Nl({
191
+ elementId: `vue-ui-candlestick_${I.value}`,
192
192
  fileName: e.value.style.title.text || "vue-ui-candlestick",
193
193
  options: e.value.userOptions.print
194
- }), Xt = c(() => e.value.userOptions.show && !e.value.style.title.text), z = y({
194
+ }), Ht = c(() => e.value.userOptions.show && !e.value.style.title.text), L = y({
195
195
  showTable: e.value.table.show,
196
196
  showTooltip: e.value.style.tooltip.show
197
- }), _e = y(0), Ht = _t((t) => {
198
- _e.value = t;
197
+ }), Se = y(0), Gt = zt((t) => {
198
+ Se.value = t;
199
199
  }, 100);
200
200
  $l((t) => {
201
- const a = K.value;
201
+ const a = ee.value;
202
202
  if (!a) return;
203
203
  const l = new ResizeObserver((o) => {
204
- Ht(o[0].contentRect.height);
204
+ Gt(o[0].contentRect.height);
205
205
  });
206
206
  l.observe(a), t(() => l.disconnect());
207
- }), Me(() => {
208
- _e.value = 0;
207
+ }), De(() => {
208
+ Se.value = 0;
209
209
  });
210
- const Ke = c(() => {
210
+ const et = c(() => {
211
211
  let t = 0;
212
- return K.value && (t = _e.value + f.value.xAxisFontSize), t;
212
+ return ee.value && (t = Se.value + f.value.xAxisFontSize), t;
213
213
  });
214
- function Gt() {
214
+ function jt() {
215
215
  let t = e.value.style.layout.grid.yAxis.dataLabels.offsetX;
216
- return be.value && (t = Array.from(be.value.querySelectorAll("text")).reduce((o, i) => {
217
- const d = i.getComputedTextLength();
218
- return d > o ? d : o;
216
+ return we.value && (t = Array.from(we.value.querySelectorAll("text")).reduce((o, s) => {
217
+ const v = s.getComputedTextLength();
218
+ return v > o ? v : o;
219
219
  }, 0)), t + 13;
220
220
  }
221
221
  const n = c(() => {
222
- const { top: t, right: a, bottom: l, left: o } = e.value.style.layout.padding, i = Gt(), d = 12;
222
+ const { top: t, right: a, bottom: l, left: o } = e.value.style.layout.padding, s = jt(), v = 12;
223
223
  return {
224
- top: t + d,
224
+ top: t + v,
225
225
  right: f.value.width - a,
226
- left: o + i,
227
- bottom: f.value.height - l - Ke.value,
228
- width: f.value.width - o - a - i,
229
- height: f.value.height - t - l - Ke.value - d
226
+ left: o + s,
227
+ bottom: f.value.height - l - et.value,
228
+ width: f.value.width - o - a - s,
229
+ height: f.value.height - t - l - et.value - v
230
230
  };
231
- }), jt = c(() => {
232
- const { left: t, top: a, width: l, height: o } = n.value, i = r.value.start, b = r.value.end - i, R = l / b, F = A.value.start - i, Q = A.value.end - i, ae = Math.max(0, Math.min(b, F)), pt = Math.max(0, Math.min(b, Q));
231
+ }), qt = c(() => {
232
+ const { left: t, top: a, width: l, height: o } = n.value, s = r.value.start, b = r.value.end - s, T = l / b, z = A.value.start - s, U = A.value.end - s, j = Math.max(0, Math.min(b, z)), me = Math.max(0, Math.min(b, U));
233
233
  return {
234
- x: t + ae * R,
234
+ x: t + j * T,
235
235
  y: a,
236
- width: (pt - ae) * R,
236
+ width: (me - j) * T,
237
237
  height: o,
238
238
  fill: e.value.style.zoom.preview.fill,
239
239
  stroke: e.value.style.zoom.preview.stroke,
@@ -250,203 +250,220 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
250
250
  }), C = c(() => x.value.length), r = y({
251
251
  start: 0,
252
252
  end: C.value
253
- }), A = y({ start: 0, end: C.value }), Ze = c(() => e.value.style.zoom.preview.enable && (A.value.start !== r.value.start || A.value.end !== r.value.end));
254
- function et(t, a) {
253
+ }), A = y({ start: 0, end: C.value }), tt = c(() => e.value.style.zoom.preview.enable && (A.value.start !== r.value.start || A.value.end !== r.value.end));
254
+ function lt(t, a) {
255
255
  A.value[t] = a;
256
256
  }
257
- function ie() {
257
+ function ne() {
258
258
  let t = Math.max(0, Math.min(r.value.start ?? 0, C.value - 1)), a = Math.max(t + 1, Math.min(r.value.end ?? C.value, C.value));
259
- (!Number.isFinite(t) || !Number.isFinite(a) || a <= t) && (t = 0, a = C.value), r.value.start = t, r.value.end = a, A.value.start = t, A.value.end = a, J.value && (J.value.setStartValue(t), J.value.setEndValue(a));
259
+ (!Number.isFinite(t) || !Number.isFinite(a) || a <= t) && (t = 0, a = C.value), r.value.start = t, r.value.end = a, A.value.start = t, A.value.end = a, Z.value && (Z.value.setStartValue(t), Z.value.setEndValue(a));
260
260
  }
261
- const tt = c(() => x.value.map((t, a) => ({
261
+ const at = c(() => x.value.map((t, a) => ({
262
262
  ...t,
263
263
  absoluteIndex: a
264
- }))), lt = c(() => tt.value.slice(r.value.start, r.value.end)), ze = c(() => (x.value.forEach((t, a) => {
265
- [null, void 0].includes(t[0]) && q({
264
+ }))), ot = c(() => at.value.slice(r.value.start, r.value.end)), _ = c(() => (x.value.forEach((t, a) => {
265
+ [null, void 0].includes(t[0]) && J({
266
266
  componentName: "VueUiCandlestick",
267
267
  type: "datasetAttribute",
268
268
  property: "period (index 0)",
269
269
  index: a,
270
- debug: W.value
271
- }), [null, void 0].includes(t[1]) && q({
270
+ debug: H.value
271
+ }), [null, void 0].includes(t[1]) && J({
272
272
  componentName: "VueUiCandlestick",
273
273
  type: "datasetAttribute",
274
274
  property: "open (index 1)",
275
275
  index: a,
276
- debug: W.value
277
- }), [null, void 0].includes(t[2]) && q({
276
+ debug: H.value
277
+ }), [null, void 0].includes(t[2]) && J({
278
278
  componentName: "VueUiCandlestick",
279
279
  type: "datasetAttribute",
280
280
  property: "high (index 2)",
281
281
  index: a,
282
- debug: W.value
283
- }), [null, void 0].includes(t[3]) && q({
282
+ debug: H.value
283
+ }), [null, void 0].includes(t[3]) && J({
284
284
  componentName: "VueUiCandlestick",
285
285
  type: "datasetAttribute",
286
286
  property: "low (index 3)",
287
287
  index: a,
288
- debug: W.value
289
- }), [null, void 0].includes(t[4]) && q({
288
+ debug: H.value
289
+ }), [null, void 0].includes(t[4]) && J({
290
290
  componentName: "VueUiCandlestick",
291
291
  type: "datasetAttribute",
292
- property: "last (index 4)",
292
+ property: "close (index 4)",
293
293
  index: a,
294
- debug: W.value
295
- }), [null, void 0].includes(t[5]) && q({
294
+ debug: H.value
295
+ }), [null, void 0].includes(t[5]) && J({
296
296
  componentName: "VueUiCandlestick",
297
297
  type: "datasetAttribute",
298
298
  property: "volume (index 5)",
299
299
  index: a,
300
- debug: W.value
300
+ debug: H.value
301
301
  });
302
- }), lt.value.map((t) => ({
302
+ }), ot.value.map((t) => ({
303
303
  absoluteIndex: t.absoluteIndex,
304
304
  period: t[0],
305
305
  open: t[1],
306
306
  high: t[2],
307
307
  low: t[3],
308
- last: t[4],
308
+ close: t[4],
309
309
  volume: t[5]
310
- })))), qt = c(() => tt.value.map((t) => ({
310
+ })))), Yt = c(() => at.value.map((t) => ({
311
311
  absoluteIndex: t.absoluteIndex,
312
312
  period: t[0],
313
313
  open: t[1],
314
314
  high: t[2],
315
315
  low: t[3],
316
- last: t[4],
316
+ close: t[4],
317
317
  volume: t[5]
318
- }))), v = c(() => n.value.width / lt.value.length), at = c(() => {
319
- const t = e.value.style.layout.grid.yAxis.scale.max === null ? Math.max(...ze.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;
318
+ }))), d = c(() => n.value.width / ot.value.length), st = c(() => {
319
+ const t = e.value.style.layout.grid.yAxis.scale.max === null ? Math.max(..._.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;
320
320
  return {
321
321
  max: t,
322
322
  min: a
323
323
  };
324
- }), T = c(() => Ll(at.value.min, at.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
325
- function ne(t, a) {
324
+ }), M = c(() => Ll(st.value.min, st.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
325
+ function re(t, a, l = null, o = null) {
326
326
  return {
327
327
  ...t,
328
- x: U(n.value.left + a * v.value + v.value / 2),
329
- y: U(n.value.top + (1 - (t - T.value.min) / (T.value.max - T.value.min)) * n.value.height),
330
- value: U(t)
328
+ x: X(n.value.left + a * d.value + d.value / 2),
329
+ y: X(n.value.top + (1 - (t - M.value.min) / (M.value.max - M.value.min)) * n.value.height),
330
+ value: X(t),
331
+ isMax: t === l,
332
+ isMin: t === o
331
333
  };
332
334
  }
333
- const $ = c(() => ze.value.map((t, a) => {
334
- const l = ne(t.open, a), o = ne(t.high, a), i = ne(t.low, a), d = ne(t.last, a), b = t.last > t.open;
335
- return {
336
- period: t.period,
337
- open: l,
338
- high: o,
339
- low: i,
340
- last: d,
341
- volume: t.volume,
342
- isBullish: b,
343
- absoluteIndex: t.absoluteIndex
344
- };
345
- }));
346
- function re({ item: t, index: a, minimapH: l, unitW: o }) {
347
- const i = e.value.style.layout.grid.yAxis.scale.min ?? 0, d = e.value.style.layout.grid.yAxis.scale.max ?? Math.max(...x.value.map((b) => b[2]));
335
+ const $ = c(() => {
336
+ const t = {
337
+ o: Math.max(..._.value.map((s) => s.open)),
338
+ h: Math.max(..._.value.map((s) => s.high)),
339
+ l: Math.max(..._.value.map((s) => s.low)),
340
+ c: Math.max(..._.value.map((s) => s.low))
341
+ }, a = {
342
+ o: Math.min(..._.value.map((s) => s.open)),
343
+ h: Math.min(..._.value.map((s) => s.high)),
344
+ l: Math.min(..._.value.map((s) => s.low)),
345
+ c: Math.min(..._.value.map((s) => s.low))
346
+ }, l = Math.max(..._.value.map((s) => s.volume)), o = Math.min(..._.value.map((s) => s.volume));
347
+ return _.value.map((s, v) => {
348
+ const b = re(s.open, v, t.o, a.o), T = re(s.high, v, t.h, a.h), z = re(s.low, v, t.l, a.l), U = re(s.close, v, t.c, a.c), j = s.close > s.open, me = s.volume === l, Me = s.volume === o;
349
+ return {
350
+ period: s.period,
351
+ open: b,
352
+ high: T,
353
+ low: z,
354
+ close: U,
355
+ volume: s.volume,
356
+ isBullish: j,
357
+ absoluteIndex: s.absoluteIndex,
358
+ isMaxVolume: me,
359
+ isMinVolume: Me
360
+ };
361
+ });
362
+ });
363
+ function ve({ item: t, index: a, minimapH: l, unitW: o }) {
364
+ const s = e.value.style.layout.grid.yAxis.scale.min ?? 0, v = e.value.style.layout.grid.yAxis.scale.max ?? Math.max(...x.value.map((b) => b[2]));
348
365
  return {
349
366
  ...t,
350
- x: U(a * o),
351
- y: U((1 - (t - i) / (d - i)) * l),
352
- value: U(t)
367
+ x: X(a * o),
368
+ y: X((1 - (t - s) / (v - s)) * l),
369
+ value: X(t)
353
370
  };
354
371
  }
355
- const Yt = c(() => ({ minimapH: t, unitW: a }) => qt.value.map((l, o) => {
356
- const i = re({ item: l.open, index: o, minimapH: t, unitW: a }), d = re({ item: l.high, index: o, minimapH: t, unitW: a }), b = re({ item: l.low, index: o, minimapH: t, unitW: a }), R = re({ item: l.last, index: o, minimapH: t, unitW: a }), F = l.last > l.open;
372
+ const Qt = c(() => ({ minimapH: t, unitW: a }) => Yt.value.map((l, o) => {
373
+ const s = ve({ item: l.open, index: o, minimapH: t, unitW: a }), v = ve({ item: l.high, index: o, minimapH: t, unitW: a }), b = ve({ item: l.low, index: o, minimapH: t, unitW: a }), T = ve({ item: l.close, index: o, minimapH: t, unitW: a }), z = l.close > l.open;
357
374
  return {
358
375
  period: l.period,
359
- open: i,
360
- high: d,
376
+ open: s,
377
+ high: v,
361
378
  low: b,
362
- last: R,
379
+ close: T,
363
380
  volume: l.volume,
364
- isBullish: F,
381
+ isBullish: z,
365
382
  absoluteIndex: l.absoluteIndex
366
383
  };
367
- })), Qt = c(() => e.value.style.zoom.minimap.show ? [{
384
+ })), Jt = c(() => e.value.style.zoom.minimap.show ? [{
368
385
  name: "",
369
386
  series: x.value.map((t) => t[2]),
370
387
  color: "#000000",
371
388
  isVisible: !0
372
389
  }] : []);
373
- function Jt(t) {
374
- return U((t - T.value.min) / (T.value.max - T.value.min));
390
+ function Kt(t) {
391
+ return X((t - M.value.min) / (M.value.max - M.value.min));
375
392
  }
376
- const ot = c(() => T.value.ticks.map((t) => ({
377
- y: n.value.bottom - n.value.height * Jt(t),
378
- value: U(t)
379
- }))), Kt = c(() => ze.value.map((t) => t.period)), P = c(() => St({
393
+ const ut = c(() => M.value.ticks.map((t) => ({
394
+ y: n.value.bottom - n.value.height * Kt(t),
395
+ value: X(t)
396
+ }))), Zt = c(() => _.value.map((t) => t.period)), B = c(() => Lt({
380
397
  values: x.value.map((t) => t[0]),
381
398
  maxDatapoints: x.value.length,
382
399
  formatter: e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
383
400
  start: r.value.start,
384
401
  end: r.value.end
385
- })), st = c(() => St({
402
+ })), it = c(() => Lt({
386
403
  values: x.value.map((t) => t[0]),
387
404
  maxDatapoints: x.value.length,
388
405
  formatter: e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
389
406
  start: 0,
390
407
  end: C.value
391
- })), Zt = c(() => {
408
+ })), el = c(() => {
392
409
  const t = e.value.style.layout.grid.xAxis.dataLabels.modulo;
393
- return P.value.length ? Math.min(t, [...new Set(P.value.map((a) => a.text))].length) : t;
394
- }), ut = c(() => {
410
+ return B.value.length ? Math.min(t, [...new Set(B.value.map((a) => a.text))].length) : t;
411
+ }), nt = c(() => {
395
412
  const t = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter, a = Ul({
396
413
  useUTC: t.useUTC,
397
414
  locale: Wl[t.locale] || { months: [], shortMonths: [], days: [], shortDays: [] },
398
415
  januaryAsYear: t.januaryAsYear
399
416
  });
400
417
  return (l, o) => {
401
- const d = x.value.map((b) => b[0])?.[l];
402
- return d == null ? "" : a.formatDate(new Date(d), o);
418
+ const v = x.value.map((b) => b[0])?.[l];
419
+ return v == null ? "" : a.formatDate(new Date(v), o);
403
420
  };
404
- }), el = c(() => (x.value.map((a) => a[0]) || []).map((a, l) => ({
405
- text: ut.value(l, e.value.style.tooltip.timeFormat),
421
+ }), tl = c(() => (x.value.map((a) => a[0]) || []).map((a, l) => ({
422
+ text: nt.value(l, e.value.style.tooltip.timeFormat),
406
423
  absoluteIndex: l
407
- }))), tl = c(() => (x.value.map((a) => a[0]) || []).map((a, l) => ({
408
- text: ut.value(l, e.value.style.zoom.timeFormat),
424
+ }))), ll = c(() => (x.value.map((a) => a[0]) || []).map((a, l) => ({
425
+ text: nt.value(l, e.value.style.zoom.timeFormat),
409
426
  absoluteIndex: l
410
- }))), Se = c(() => {
411
- const t = e.value.style.layout.grid.xAxis.dataLabels, a = P.value || [], l = st.value || [], o = r.value.start ?? 0, i = M.value, d = C.value, b = a.map((F) => F?.text ?? ""), R = l.map((F) => F?.text ?? "");
427
+ }))), Le = c(() => {
428
+ const t = e.value.style.layout.grid.xAxis.dataLabels, a = B.value || [], l = it.value || [], o = r.value.start ?? 0, s = O.value, v = C.value, b = a.map((z) => z?.text ?? ""), T = l.map((z) => z?.text ?? "");
412
429
  return Tl(
413
430
  !!t.showOnlyFirstAndLast,
414
431
  !!t.showOnlyAtModulo,
415
- Math.max(1, Zt.value || 1),
432
+ Math.max(1, el.value || 1),
416
433
  b,
417
- R,
434
+ T,
418
435
  o,
419
- i,
420
- d
436
+ s,
437
+ v
421
438
  );
422
- }), it = c(() => e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
423
- start: P.value.find((t) => t.absoluteIndex === r.value.start).text,
424
- end: P.value.find((t) => t.absoluteIndex === r.value.end - 1).text
439
+ }), rt = c(() => e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
440
+ start: B.value.find((t) => t.absoluteIndex === r.value.start)?.text ?? "",
441
+ end: B.value.find((t) => t.absoluteIndex === r.value.end - 1)?.text ?? ""
425
442
  } : {
426
443
  start: x.value[r.value.start] ? x.value[r.value.start][0] : x.value[0][0],
427
444
  end: x.value[r.value.end - 1] ? x.value[r.value.end - 1][0] : x.value.at(-1)[0]
428
- }), Le = y(null);
429
- function ll(t, a) {
445
+ }), Te = y(null);
446
+ function al(t, a) {
430
447
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: a, seriesIndex: t + r.value.start });
431
448
  }
432
- function al(t, a) {
433
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: t + r.value.start }), M.value = void 0, ge.value = !1;
449
+ function ol(t, a) {
450
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: t + r.value.start }), O.value = void 0, be.value = !1;
434
451
  }
435
- oe(() => g.selectedXIndex, (t) => {
452
+ se(() => g.selectedXIndex, (t) => {
436
453
  if ([null, void 0].includes(g.selectedXIndex)) {
437
- M.value = null;
454
+ O.value = null;
438
455
  return;
439
456
  }
440
457
  const a = t - r.value.start;
441
- a < 0 || t >= r.value.end ? M.value = null : M.value = a ?? null;
458
+ a < 0 || t >= r.value.end ? O.value = null : O.value = a ?? null;
442
459
  }, { immediate: !0 });
443
- function ol(t, a) {
444
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: a, seriesIndex: t + r.value.start }), M.value = t, Le.value = {
460
+ function sl(t, a) {
461
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: a, seriesIndex: t + r.value.start }), O.value = t, Te.value = {
445
462
  datapoint: a,
446
463
  seriesIndex: t,
447
464
  series: $.value,
448
465
  config: e.value
449
- }, pl({ seriesIndex: t, datapoint: a });
466
+ }, fl({ seriesIndex: t, datapoint: a });
450
467
  const l = e.value.style.tooltip.customFormat;
451
468
  if (Ol(l) && Dl(() => l({
452
469
  seriesIndex: t,
@@ -454,7 +471,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
454
471
  series: $.value,
455
472
  config: e.value
456
473
  })))
457
- xe.value = l({
474
+ ke.value = l({
458
475
  seriesIndex: t,
459
476
  datapoint: a,
460
477
  series: $.value,
@@ -462,27 +479,27 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
462
479
  });
463
480
  else if (e.value.style.tooltip.show) {
464
481
  let o = "";
465
- const { period: i, open: d, high: b, low: R, last: F, volume: Q, isBullish: ae } = $.value[t], { period: pt, open: fl, high: gl, low: xl, last: bl, volume: kl } = e.value.translations, wl = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? e.value.style.tooltip.useDefaultTimeFormat ? P.value[t].text : el.value[t].text : i;
482
+ const { period: s, open: v, high: b, low: T, close: z, volume: U, isBullish: j } = $.value[t], { period: me, open: Me, high: gl, low: xl, close: bl, volume: kl } = e.value.translations, wl = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? e.value.style.tooltip.useDefaultTimeFormat ? B.value[t].text : tl.value[t].text : s;
466
483
  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}"
467
- fill="${e.value.style.layout.candle.gradient.show ? ae ? `url(#bullish_gradient_${L.value})` : `url(#bearish_gradient_${L.value})` : ae ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${wl}</div>`, o += `${kl} : <b>${isNaN(Q) ? "-" : Number(Q.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}">`;
468
- const Ie = N({
484
+ fill="${e.value.style.layout.candle.gradient.show ? j ? `url(#bullish_gradient_${I.value})` : `url(#bearish_gradient_${I.value})` : j ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${wl}</div>`, o += `${kl} : <b>${isNaN(U) ? "-" : Number(U.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}">`;
485
+ const Re = E({
469
486
  p: e.value.style.tooltip.prefix,
470
- v: d.value,
487
+ v: v.value,
471
488
  s: e.value.style.tooltip.suffix,
472
489
  r: e.value.style.tooltip.roundingValue
473
- }), ft = N({
490
+ }), gt = E({
474
491
  p: e.value.style.tooltip.prefix,
475
492
  v: b.value,
476
493
  s: e.value.style.tooltip.suffix,
477
494
  r: e.value.style.tooltip.roundingValue
478
- }), gt = N({
495
+ }), xt = E({
479
496
  p: e.value.style.tooltip.prefix,
480
- v: R.value,
497
+ v: T.value,
481
498
  s: e.value.style.tooltip.suffix,
482
499
  r: e.value.style.tooltip.roundingValue
483
- }), Re = N({
500
+ }), Oe = E({
484
501
  p: e.value.style.tooltip.prefix,
485
- v: F.value,
502
+ v: z.value,
486
503
  s: e.value.style.tooltip.suffix,
487
504
  r: e.value.style.tooltip.roundingValue
488
505
  });
@@ -493,97 +510,97 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
493
510
  ${a.isBullish ? `
494
511
  <line x1="45" x2="50" y1="65" y2="65" stroke="${e.value.style.layout.candle.colors.bullish}" stroke-width="1.5" stroke-linecap="round" />
495
512
  <line x1="50" x2="55" y1="35" y2="35" stroke="${e.value.style.layout.candle.colors.bullish}" stroke-width="1.5" stroke-linecap="round" />
496
- <text x="38" y="70" text-anchor="end" fill="${e.value.style.tooltip.color}">${Ie}</text>
497
- <text x="62" y="40" text-anchor="start" fill="${e.value.style.tooltip.color}">${Re}</text>
513
+ <text x="38" y="70" text-anchor="end" fill="${e.value.style.tooltip.color}">${Re}</text>
514
+ <text x="62" y="40" text-anchor="start" fill="${e.value.style.tooltip.color}">${Oe}</text>
498
515
  ` : `
499
516
  <line x1="45" x2="50" y1="35" y2="35" stroke="${e.value.style.layout.candle.colors.bearish}" stroke-width="1.5" stroke-linecap="round" />
500
517
  <line x1="50" x2="55" y1="65" y2="65" stroke="${e.value.style.layout.candle.colors.bearish}" stroke-width="1.5" stroke-linecap="round" />
501
- <text x="40" y="40" text-anchor="end" fill="${e.value.style.tooltip.color}">${Ie}</text>
502
- <text x="60" y="70" text-anchor="start" fill="${e.value.style.tooltip.color}">${Re}</text>
518
+ <text x="40" y="40" text-anchor="end" fill="${e.value.style.tooltip.color}">${Re}</text>
519
+ <text x="60" y="70" text-anchor="start" fill="${e.value.style.tooltip.color}">${Oe}</text>
503
520
  `}
504
- <text x="50" y="13" text-anchor="middle" fill="${e.value.style.tooltip.color}">${ft}</text>
505
- <text x="50" y="97" text-anchor="middle" fill="${e.value.style.tooltip.color}">${gt}</text>
521
+ <text x="50" y="13" text-anchor="middle" fill="${e.value.style.tooltip.color}">${gt}</text>
522
+ <text x="50" y="97" text-anchor="middle" fill="${e.value.style.tooltip.color}">${xt}</text>
506
523
  <g>
507
524
  </svg>
508
525
  <div>
509
- ` : (o += `<div>${fl}: <b>${Ie}</b></div>`, o += `<div>${gl}: <b>${ft}</b></div>`, o += `<div>${xl}: <b>${gt}</b></div>`, o += `<div>${bl}: <b>${Re}</b></div>`), o += "</div>", xe.value = `<div style="text-align:right">${o}</div>`;
526
+ ` : (o += `<div>${Me}: <b>${Re}</b></div>`, o += `<div>${gl}: <b>${gt}</b></div>`, o += `<div>${xl}: <b>${xt}</b></div>`, o += `<div>${bl}: <b>${Oe}</b></div>`), o += "</div>", ke.value = `<div style="text-align:right">${o}</div>`;
510
527
  }
511
- ge.value = !0;
528
+ be.value = !0;
512
529
  }
513
- const ee = y(null);
514
- function sl() {
530
+ const le = y(null);
531
+ function ul() {
515
532
  return new Promise((t) => requestAnimationFrame(
516
533
  () => requestAnimationFrame(() => t())
517
534
  ));
518
535
  }
519
- Me(() => {
520
- ee.value && cancelAnimationFrame(ee.value);
536
+ De(() => {
537
+ le.value && cancelAnimationFrame(le.value);
521
538
  });
522
- async function nt() {
523
- de(), await bt(), ee.value && cancelAnimationFrame(ee.value), ee.value = requestAnimationFrame(async () => {
524
- await sl(), de();
539
+ async function vt() {
540
+ ce(), await kt(), le.value && cancelAnimationFrame(le.value), le.value = requestAnimationFrame(async () => {
541
+ await ul(), ce();
525
542
  });
526
543
  }
527
- const te = y(!1), rt = y(!1), ve = y(!1);
528
- function de() {
529
- if (!te.value) {
530
- te.value = !0;
544
+ const ae = y(!1), dt = y(!1), de = y(!1);
545
+ function ce() {
546
+ if (!ae.value) {
547
+ ae.value = !0;
531
548
  try {
532
- const { startIndex: t, endIndex: a } = e.value.style.zoom, l = C.value, o = t ?? 0, i = a != null ? Math.min(vt(a + 1), l) : l;
533
- ve.value = !0, r.value.start = o, r.value.end = i, A.value.start = o, A.value.end = i, ie(), rt.value = !0;
549
+ const { startIndex: t, endIndex: a } = e.value.style.zoom, l = C.value, o = t ?? 0, s = a != null ? Math.min(ct(a + 1), l) : l;
550
+ de.value = !0, r.value.start = o, r.value.end = s, A.value.start = o, A.value.end = s, ne(), dt.value = !0;
534
551
  } finally {
535
552
  queueMicrotask(() => {
536
- ve.value = !1;
537
- }), te.value = !1;
553
+ de.value = !1;
554
+ }), ae.value = !1;
538
555
  }
539
556
  }
540
557
  }
541
- function vt(t) {
558
+ function ct(t) {
542
559
  const a = C.value;
543
560
  return t > a ? a : t < 0 || t < r.value.start ? e.value.style.zoom.startIndex !== null ? e.value.style.zoom.startIndex + 1 : 1 : t;
544
561
  }
545
- function Te(t = null) {
546
- bt(() => {
547
- 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 = $.value.map((d, b) => [
548
- e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? P.value[b].text : d.period,
549
- d.open.value,
550
- d.high.value,
551
- d.low.value,
552
- d.last.value,
553
- d.volume
554
- ]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(l), i = Rl(o);
555
- t ? t(i) : Ml({ csvContent: i, title: e.value.style.title.text || "vue-ui-candlestick" });
562
+ function Fe(t = null) {
563
+ kt(() => {
564
+ const a = [e.value.translations.period, e.value.translations.open, e.value.translations.high, e.value.translations.low, e.value.translations.close, e.value.translations.volume], l = $.value.map((v, b) => [
565
+ e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? B.value[b].text : v.period,
566
+ v.open.value,
567
+ v.high.value,
568
+ v.low.value,
569
+ v.close.value,
570
+ v.volume
571
+ ]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(l), s = Ml(o);
572
+ t ? t(s) : Rl({ csvContent: s, title: e.value.style.title.text || "vue-ui-candlestick" });
556
573
  });
557
574
  }
558
- const ce = c(() => {
559
- const t = $.value.map((o, i) => {
560
- const d = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? P.value[i].text : o.period, b = N({
575
+ const ye = c(() => {
576
+ const t = $.value.map((o, s) => {
577
+ const v = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? B.value[s].text : o.period, b = E({
561
578
  p: e.value.table.td.prefix,
562
579
  v: o.open.value,
563
580
  s: e.value.table.td.suffix,
564
581
  r: e.value.table.td.roundingValue
565
- }), R = N({
582
+ }), T = E({
566
583
  p: e.value.table.td.prefix,
567
584
  v: o.high.value,
568
585
  s: e.value.table.td.suffix,
569
586
  r: e.value.table.td.roundingValue
570
- }), F = N({
587
+ }), z = E({
571
588
  p: e.value.table.td.prefix,
572
589
  v: o.low.value,
573
590
  s: e.value.table.td.suffix,
574
591
  r: e.value.table.td.roundingValue
575
- }), Q = N({
592
+ }), U = E({
576
593
  p: e.value.table.td.prefix,
577
- v: o.last.value,
594
+ v: o.close.value,
578
595
  s: e.value.table.td.suffix,
579
596
  r: e.value.table.td.roundingValue
580
597
  });
581
598
  return [
582
- `<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_${L.value}` : `url(#bearish_gradient_${L.value})` : o.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg> ${d}`,
599
+ `<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_${I.value}` : `url(#bearish_gradient_${I.value})` : o.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg> ${v}`,
583
600
  b,
584
- R,
585
- F,
586
- Q,
601
+ T,
602
+ z,
603
+ U,
587
604
  `${isNaN(o.volume) ? "-" : o.volume.toLocaleString()}`
588
605
  ];
589
606
  }), a = {
@@ -607,62 +624,62 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
607
624
  e.value.translations.volume
608
625
  ];
609
626
  return { head: l, body: t, config: a, colNames: l };
610
- }), X = y(!1);
611
- function dt(t) {
612
- X.value = t, Pe.value += 1;
627
+ }), G = y(!1);
628
+ function yt(t) {
629
+ G.value = t, Ne.value += 1;
613
630
  }
614
- function ct() {
615
- z.value.showTable = !z.value.showTable;
631
+ function ht() {
632
+ L.value.showTable = !L.value.showTable;
616
633
  }
617
- function yt() {
618
- z.value.showTooltip = !z.value.showTooltip;
634
+ function mt() {
635
+ L.value.showTooltip = !L.value.showTooltip;
619
636
  }
620
- const ye = y(!1);
621
- function Fe() {
622
- ye.value = !ye.value;
637
+ const he = y(!1);
638
+ function Ie() {
639
+ he.value = !he.value;
623
640
  }
624
- async function ul({ scale: t = 2 } = {}) {
625
- if (!O.value) return;
626
- const { width: a, height: l } = O.value.getBoundingClientRect(), o = a / l, { imageUri: i, base64: d } = await ql({ domElement: O.value, base64: !0, img: !0, scale: t });
641
+ async function il({ scale: t = 2 } = {}) {
642
+ if (!D.value) return;
643
+ const { width: a, height: l } = D.value.getBoundingClientRect(), o = a / l, { imageUri: s, base64: v } = await ql({ domElement: D.value, base64: !0, img: !0, scale: t });
627
644
  return {
628
- imageUri: i,
629
- base64: d,
645
+ imageUri: s,
646
+ base64: v,
630
647
  title: e.value.style.title.text,
631
648
  width: a,
632
649
  height: l,
633
650
  aspectRatio: o
634
651
  };
635
652
  }
636
- const il = c(() => f.value.width), nl = c(() => f.value.height);
653
+ const nl = c(() => f.value.width), rl = c(() => f.value.height);
637
654
  jl({
638
- timeLabelsEls: K,
639
- timeLabels: P,
655
+ timeLabelsEls: ee,
656
+ timeLabels: B,
640
657
  slicer: r,
641
658
  configRef: e,
642
659
  rotationPath: ["style", "layout", "grid", "xAxis", "dataLabels", "rotation"],
643
660
  autoRotatePath: ["style", "layout", "grid", "xAxis", "dataLabels", "autoRotate", "enable"],
644
661
  isAutoSize: !1,
645
662
  rotation: e.value.style.layout.grid.xAxis.dataLabels.autoRotate.angle,
646
- width: il,
647
- height: nl
648
- }), oe(e, () => {
649
- z.value = {
663
+ width: nl,
664
+ height: rl
665
+ }), se(e, () => {
666
+ L.value = {
650
667
  showTable: e.value.table.show,
651
668
  showTooltip: e.value.style.tooltip.show
652
669
  };
653
670
  }, { immediate: !0 });
654
- const le = c(() => {
655
- const t = e.value.table.useDialog && !e.value.table.show, a = z.value.showTable;
671
+ const oe = c(() => {
672
+ const t = e.value.table.useDialog && !e.value.table.show, a = L.value.showTable;
656
673
  return {
657
- component: t ? Nt : Mt,
674
+ component: t ? Et : Ot,
658
675
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
659
676
  props: t ? {
660
677
  backgroundColor: e.value.table.th.backgroundColor,
661
678
  color: e.value.table.th.color,
662
679
  headerColor: e.value.table.th.color,
663
680
  headerBg: e.value.table.th.backgroundColor,
664
- isFullscreen: X.value,
665
- fullscreenParent: O.value,
681
+ isFullscreen: G.value,
682
+ fullscreenParent: D.value,
666
683
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
667
684
  } : {
668
685
  hideDetails: !0,
@@ -681,85 +698,85 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
681
698
  }
682
699
  };
683
700
  });
684
- oe(() => z.value.showTable, (t) => {
685
- e.value.table.show || (t && e.value.table.useDialog && Z.value ? Z.value.open() : "close" in Z.value && Z.value.close());
701
+ se(() => L.value.showTable, (t) => {
702
+ e.value.table.show || (t && e.value.table.useDialog && te.value ? te.value.open() : "close" in te.value && te.value.close());
686
703
  });
687
- function ht() {
688
- z.value.showTable = !1, ke.value && ke.value.setTableIconState(!1);
704
+ function pt() {
705
+ L.value.showTable = !1, Ae.value && Ae.value.setTableIconState(!1);
689
706
  }
690
- const rl = c(() => e.value.style.backgroundColor), vl = c(() => e.value.style.title), { exportSvg: dl, getSvg: cl } = Xl({
691
- svg: Ce,
692
- title: vl,
693
- backgroundColor: rl
707
+ const vl = c(() => e.value.style.backgroundColor), dl = c(() => e.value.style.title), { exportSvg: cl, getSvg: yl } = Xl({
708
+ svg: _e,
709
+ title: dl,
710
+ backgroundColor: vl
694
711
  });
695
- async function mt({ isCb: t }) {
712
+ async function ft({ isCb: t }) {
696
713
  if (t) {
697
- const { blob: a, url: l, text: o, dataUrl: i } = await cl();
698
- e.value.userOptions.callbacks.svg({ blob: a, url: l, text: o, dataUrl: i });
714
+ const { blob: a, url: l, text: o, dataUrl: s } = await yl();
715
+ e.value.userOptions.callbacks.svg({ blob: a, url: l, text: o, dataUrl: s });
699
716
  } else
700
- dl();
701
- }
702
- function yl(t) {
703
- Xe.value = t;
717
+ cl();
704
718
  }
705
719
  function hl(t) {
706
- te.value || ve.value || t !== r.value.start && (r.value.start = t, A.value.start = t, ie());
720
+ Ge.value = t;
707
721
  }
708
722
  function ml(t) {
709
- if (te.value || ve.value) return;
710
- const a = vt(t);
711
- a !== r.value.end && (r.value.end = a, A.value.end = a, ie());
723
+ ae.value || de.value || t !== r.value.start && (r.value.start = t, A.value.start = t, ne());
712
724
  }
713
- function pl({ seriesIndex: t, datapoint: a }) {
725
+ function pl(t) {
726
+ if (ae.value || de.value) return;
727
+ const a = ct(t);
728
+ a !== r.value.end && (r.value.end = a, A.value.end = a, ne());
729
+ }
730
+ function fl({ seriesIndex: t, datapoint: a }) {
714
731
  const l = r.value.start + t;
715
- De("selectX", {
732
+ Be("selectX", {
716
733
  dataset: a,
717
734
  index: l,
718
735
  indexLabel: ""
719
736
  });
720
737
  }
721
- return Tt({
722
- getImage: ul,
723
- generatePdf: Qe,
724
- generateCsv: Te,
725
- generateImage: Je,
726
- generateSvg: mt,
727
- toggleTable: ct,
728
- toggleTooltip: yt,
729
- toggleAnnotator: Fe,
730
- toggleFullscreen: dt
731
- }), (t, a) => (s(), u("div", {
738
+ return Ft({
739
+ getImage: il,
740
+ generatePdf: Ke,
741
+ generateCsv: Fe,
742
+ generateImage: Ze,
743
+ generateSvg: ft,
744
+ toggleTable: ht,
745
+ toggleTooltip: mt,
746
+ toggleAnnotator: Ie,
747
+ toggleFullscreen: yt
748
+ }), (t, a) => (u(), i("div", {
732
749
  ref_key: "candlestickChart",
733
- ref: O,
734
- class: B(`vue-data-ui-component vue-ui-candlestick ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
735
- style: se(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
736
- id: `vue-ui-candlestick_${L.value}`,
737
- onMouseenter: Ut,
738
- onMouseleave: Wt
750
+ ref: D,
751
+ class: N(`vue-data-ui-component vue-ui-candlestick ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
752
+ style: ue(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
753
+ id: `vue-ui-candlestick_${I.value}`,
754
+ onMouseenter: Wt,
755
+ onMouseleave: Xt
739
756
  }, [
740
- e.value.userOptions.buttons.annotator ? (s(), H(h(Dt), {
757
+ e.value.userOptions.buttons.annotator ? (u(), q(h(Pt), {
741
758
  key: 0,
742
- svgRef: h(Ce),
759
+ svgRef: h(_e),
743
760
  backgroundColor: e.value.style.backgroundColor,
744
761
  color: e.value.style.color,
745
- active: ye.value,
746
- onClose: Fe
762
+ active: he.value,
763
+ onClose: Ie
747
764
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
748
- Xt.value ? (s(), u("div", {
765
+ Ht.value ? (u(), i("div", {
749
766
  key: 1,
750
767
  ref_key: "noTitle",
751
- ref: Ve,
768
+ ref: We,
752
769
  class: "vue-data-ui-no-title-space",
753
770
  style: "height:36px; width: 100%;background:transparent"
754
771
  }, null, 512)) : m("", !0),
755
- e.value.style.title.text ? (s(), u("div", {
772
+ e.value.style.title.text ? (u(), i("div", {
756
773
  key: 2,
757
774
  ref_key: "chartTitle",
758
- ref: Be,
775
+ ref: Ee,
759
776
  style: "width:100%;background:transparent"
760
777
  }, [
761
- (s(), H(Yl, {
762
- key: `title_${We.value}`,
778
+ (u(), q(Yl, {
779
+ key: `title_${He.value}`,
763
780
  config: {
764
781
  title: {
765
782
  cy: "candlestick-div-title",
@@ -772,15 +789,15 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
772
789
  }
773
790
  }, null, 8, ["config"]))
774
791
  ], 512)) : m("", !0),
775
- e.value.userOptions.show && pe.value && (h(Ge) || h(Ae)) ? (s(), H(h(Pt), {
792
+ e.value.userOptions.show && ge.value && (h(qe) || h($e)) ? (u(), q(h(Bt), {
776
793
  ref_key: "userOptionsRef",
777
- ref: ke,
778
- key: `user_options_${Pe.value}`,
794
+ ref: Ae,
795
+ key: `user_options_${Ne.value}`,
779
796
  backgroundColor: e.value.style.backgroundColor,
780
797
  color: e.value.style.color,
781
- isImaging: h(Ye),
782
- isPrinting: h(qe),
783
- uid: L.value,
798
+ isImaging: h(Je),
799
+ isPrinting: h(Qe),
800
+ uid: I.value,
784
801
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
785
802
  hasPdf: e.value.userOptions.buttons.pdf,
786
803
  hasImg: e.value.userOptions.buttons.img,
@@ -788,32 +805,32 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
788
805
  hasXls: e.value.userOptions.buttons.csv,
789
806
  hasTable: e.value.userOptions.buttons.table,
790
807
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
791
- isFullscreen: X.value,
792
- isTooltip: z.value.showTooltip,
808
+ isFullscreen: G.value,
809
+ isTooltip: L.value.showTooltip,
793
810
  titles: { ...e.value.userOptions.buttonTitles },
794
- chartElement: O.value,
811
+ chartElement: D.value,
795
812
  position: e.value.userOptions.position,
796
813
  hasAnnotator: e.value.userOptions.buttons.annotator,
797
- isAnnotation: ye.value,
814
+ isAnnotation: he.value,
798
815
  callbacks: e.value.userOptions.callbacks,
799
816
  printScale: e.value.userOptions.print.scale,
800
817
  tableDialog: e.value.table.useDialog,
801
- onToggleFullscreen: dt,
802
- onGeneratePdf: h(Qe),
803
- onGenerateCsv: Te,
804
- onGenerateImage: h(Je),
805
- onGenerateSvg: mt,
806
- onToggleTable: ct,
807
- onToggleTooltip: yt,
808
- onToggleAnnotator: Fe,
809
- style: se({
810
- visibility: h(Ge) ? h(Ae) ? "visible" : "hidden" : "visible"
818
+ onToggleFullscreen: yt,
819
+ onGeneratePdf: h(Ke),
820
+ onGenerateCsv: Fe,
821
+ onGenerateImage: h(Ze),
822
+ onGenerateSvg: ft,
823
+ onToggleTable: ht,
824
+ onToggleTooltip: mt,
825
+ onToggleAnnotator: Ie,
826
+ style: ue({
827
+ visibility: h(qe) ? h($e) ? "visible" : "hidden" : "visible"
811
828
  })
812
- }, kt({ _: 2 }, [
829
+ }, wt({ _: 2 }, [
813
830
  t.$slots.menuIcon ? {
814
831
  name: "menuIcon",
815
832
  fn: k(({ isOpen: l, color: o }) => [
816
- w(t.$slots, "menuIcon", G(j({ isOpen: l, color: o })), void 0, !0)
833
+ w(t.$slots, "menuIcon", Y(Q({ isOpen: l, color: o })), void 0, !0)
817
834
  ]),
818
835
  key: "0"
819
836
  } : void 0,
@@ -855,29 +872,29 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
855
872
  t.$slots.optionFullscreen ? {
856
873
  name: "optionFullscreen",
857
874
  fn: k(({ toggleFullscreen: l, isFullscreen: o }) => [
858
- w(t.$slots, "optionFullscreen", G(j({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
875
+ w(t.$slots, "optionFullscreen", Y(Q({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
859
876
  ]),
860
877
  key: "6"
861
878
  } : void 0,
862
879
  t.$slots.optionAnnotator ? {
863
880
  name: "optionAnnotator",
864
881
  fn: k(({ toggleAnnotator: l, isAnnotator: o }) => [
865
- w(t.$slots, "optionAnnotator", G(j({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
882
+ w(t.$slots, "optionAnnotator", Y(Q({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
866
883
  ]),
867
884
  key: "7"
868
885
  } : void 0
869
886
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
870
- (s(), u("svg", {
887
+ (u(), i("svg", {
871
888
  ref_key: "svgRef",
872
- ref: Ce,
889
+ ref: _e,
873
890
  xmlns: h(Fl),
874
891
  "aria-label": e.value.style.title.text || "candlestick chart",
875
- class: B({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
892
+ class: N({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
876
893
  viewBox: `0 0 ${f.value.width <= 0 ? 10 : f.value.width} ${f.value.height <= 0 ? 10 : f.value.height}`,
877
- style: se(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
894
+ style: ue(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
878
895
  }, [
879
- Oe(h(Bt)),
880
- t.$slots["chart-background"] ? (s(), u("foreignObject", {
896
+ Pe(h(Nt)),
897
+ t.$slots["chart-background"] ? (u(), i("foreignObject", {
881
898
  key: 0,
882
899
  x: n.value.left,
883
900
  y: n.value.top,
@@ -889,10 +906,10 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
889
906
  }, [
890
907
  w(t.$slots, "chart-background", {}, void 0, !0)
891
908
  ], 8, ta)) : m("", !0),
892
- $.value.length > 0 ? (s(), u("g", la, [
909
+ $.value.length > 0 ? (u(), i("g", la, [
893
910
  p("defs", null, [
894
911
  p("linearGradient", {
895
- id: `bearish_gradient_${L.value}`,
912
+ id: `bearish_gradient_${I.value}`,
896
913
  x2: "0%",
897
914
  y2: "100%"
898
915
  }, [
@@ -902,15 +919,15 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
902
919
  }, null, 8, oa),
903
920
  p("stop", {
904
921
  offset: "50%",
905
- "stop-color": `${h(me)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
922
+ "stop-color": `${h(fe)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
906
923
  }, null, 8, sa),
907
924
  p("stop", {
908
925
  offset: "100%",
909
- "stop-color": `${h(me)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
926
+ "stop-color": `${h(fe)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
910
927
  }, null, 8, ua)
911
928
  ], 8, aa),
912
929
  p("linearGradient", {
913
- id: `bullish_gradient_${L.value}`,
930
+ id: `bullish_gradient_${I.value}`,
914
931
  x2: "0%",
915
932
  y2: "100%"
916
933
  }, [
@@ -920,15 +937,15 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
920
937
  }, null, 8, na),
921
938
  p("stop", {
922
939
  offset: "50%",
923
- "stop-color": `${h(me)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
940
+ "stop-color": `${h(fe)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
924
941
  }, null, 8, ra),
925
942
  p("stop", {
926
943
  offset: "100%",
927
- "stop-color": `${h(me)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
944
+ "stop-color": `${h(fe)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
928
945
  }, null, 8, va)
929
946
  ], 8, ia)
930
947
  ]),
931
- e.value.style.layout.grid.show ? (s(), u("g", da, [
948
+ e.value.style.layout.grid.show ? (u(), i("g", da, [
932
949
  p("line", {
933
950
  x1: n.value.left,
934
951
  x2: n.value.left,
@@ -947,7 +964,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
947
964
  "stroke-width": e.value.style.layout.grid.strokeWidth,
948
965
  "stroke-linecap": "round"
949
966
  }, null, 8, ya),
950
- e.value.style.layout.grid.horizontalLines.show ? (s(!0), u(_, { key: 0 }, S(ot.value, (l) => (s(), u("line", {
967
+ e.value.style.layout.grid.horizontalLines.show ? (u(!0), i(S, { key: 0 }, F(ut.value, (l) => (u(), i("line", {
951
968
  x1: n.value.left,
952
969
  x2: n.value.right,
953
970
  y1: l.y,
@@ -957,11 +974,11 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
957
974
  "stroke-dasharray": e.value.style.layout.grid.horizontalLines.strokeDasharray,
958
975
  "stroke-linecap": "round"
959
976
  }, null, 8, ha))), 256)) : m("", !0),
960
- e.value.style.layout.grid.verticalLines.show ? (s(!0), u(_, { key: 1 }, S(Se.value, (l, o) => (s(), u("g", null, [
961
- l.text ? (s(), u("line", {
977
+ e.value.style.layout.grid.verticalLines.show ? (u(!0), i(S, { key: 1 }, F(Le.value, (l, o) => (u(), i("g", null, [
978
+ l.text ? (u(), i("line", {
962
979
  key: 0,
963
- x1: n.value.left + v.value * o + v.value / 2,
964
- x2: n.value.left + v.value * o + v.value / 2,
980
+ x1: n.value.left + d.value * o + d.value / 2,
981
+ x2: n.value.left + d.value * o + d.value / 2,
965
982
  y1: n.value.top,
966
983
  y2: n.value.bottom,
967
984
  stroke: e.value.style.layout.grid.verticalLines.stroke,
@@ -970,11 +987,11 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
970
987
  "stroke-linecap": "round"
971
988
  }, null, 8, ma)) : m("", !0)
972
989
  ]))), 256)) : m("", !0),
973
- e.value.style.layout.grid.xAxis.ticks.show ? (s(!0), u(_, { key: 2 }, S(Se.value, (l, o) => (s(), u("g", null, [
974
- l.text ? (s(), u("line", {
990
+ e.value.style.layout.grid.xAxis.ticks.show ? (u(!0), i(S, { key: 2 }, F(Le.value, (l, o) => (u(), i("g", null, [
991
+ l.text ? (u(), i("line", {
975
992
  key: 0,
976
- x1: n.value.left + v.value * o + v.value / 2,
977
- x2: n.value.left + v.value * o + v.value / 2,
993
+ x1: n.value.left + d.value * o + d.value / 2,
994
+ x2: n.value.left + d.value * o + d.value / 2,
978
995
  y1: n.value.bottom,
979
996
  y2: n.value.bottom + 3,
980
997
  stroke: e.value.style.layout.grid.stroke,
@@ -983,13 +1000,13 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
983
1000
  }, null, 8, pa)) : m("", !0)
984
1001
  ]))), 256)) : m("", !0)
985
1002
  ])) : m("", !0),
986
- e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g", {
1003
+ e.value.style.layout.grid.yAxis.dataLabels.show ? (u(), i("g", {
987
1004
  key: 1,
988
1005
  ref_key: "scaleLabels",
989
- ref: be
1006
+ ref: we
990
1007
  }, [
991
- (s(!0), u(_, null, S(ot.value, (l, o) => (s(), u("g", null, [
992
- l.value >= T.value.min && l.value <= T.value.max ? (s(), u("line", {
1008
+ (u(!0), i(S, null, F(ut.value, (l, o) => (u(), i("g", null, [
1009
+ l.value >= M.value.min && l.value <= M.value.max ? (u(), i("line", {
993
1010
  key: 0,
994
1011
  x1: n.value.left,
995
1012
  x2: n.value.left - 5,
@@ -999,7 +1016,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
999
1016
  "stroke-width": e.value.style.layout.grid.strokeWidth,
1000
1017
  "stroke-linecap": "round"
1001
1018
  }, null, 8, fa)) : m("", !0),
1002
- l.value >= T.value.min && l.value <= T.value.max ? (s(), u("text", {
1019
+ l.value >= M.value.min && l.value <= M.value.max ? (u(), i("text", {
1003
1020
  key: 1,
1004
1021
  x: n.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
1005
1022
  y: l.y + f.value.yAxisFontSize / 3,
@@ -1007,7 +1024,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1007
1024
  "text-anchor": "end",
1008
1025
  fill: e.value.style.layout.grid.yAxis.dataLabels.color,
1009
1026
  "font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
1010
- }, ue(h(N)({
1027
+ }, ie(h(E)({
1011
1028
  p: e.value.style.layout.grid.yAxis.dataLabels.prefix,
1012
1029
  v: l.value,
1013
1030
  s: e.value.style.layout.grid.yAxis.dataLabels.suffix,
@@ -1015,41 +1032,41 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1015
1032
  })), 9, ga)) : m("", !0)
1016
1033
  ]))), 256))
1017
1034
  ], 512)) : m("", !0),
1018
- e.value.style.layout.grid.xAxis.dataLabels.show && !e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), u("g", {
1035
+ e.value.style.layout.grid.xAxis.dataLabels.show && !e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (u(), i("g", {
1019
1036
  key: 2,
1020
1037
  ref_key: "timeLabelsEls",
1021
- ref: K
1038
+ ref: ee
1022
1039
  }, [
1023
- (s(!0), u(_, null, S(Kt.value, (l, o) => (s(), u("g", null, [
1040
+ (u(!0), i(S, null, F(Zt.value, (l, o) => (u(), i("g", null, [
1024
1041
  p("text", {
1025
1042
  class: "vue-data-ui-time-label",
1026
- transform: `translate(${n.value.left + v.value * o + v.value / 2}, ${n.value.bottom + f.value.xAxisFontSize * 1.5}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
1043
+ transform: `translate(${n.value.left + d.value * o + d.value / 2}, ${n.value.bottom + f.value.xAxisFontSize * 1.5}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
1027
1044
  "text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1028
1045
  "font-size": f.value.xAxisFontSize,
1029
1046
  fill: e.value.style.layout.grid.xAxis.dataLabels.color,
1030
1047
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
1031
- }, ue(l), 9, xa)
1048
+ }, ie(l), 9, xa)
1032
1049
  ]))), 256))
1033
1050
  ], 512)) : m("", !0),
1034
- e.value.style.layout.grid.xAxis.dataLabels.show && e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), u("g", {
1051
+ e.value.style.layout.grid.xAxis.dataLabels.show && e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (u(), i("g", {
1035
1052
  key: 3,
1036
1053
  ref_key: "timeLabelsEls",
1037
- ref: K
1054
+ ref: ee
1038
1055
  }, [
1039
- (s(!0), u(_, null, S(Se.value, (l, o) => (s(), u("g", null, [
1056
+ (u(!0), i(S, null, F(Le.value, (l, o) => (u(), i("g", null, [
1040
1057
  p("text", {
1041
1058
  class: "vue-data-ui-time-label",
1042
- transform: `translate(${n.value.left + v.value * o + v.value / 2}, ${n.value.bottom + f.value.xAxisFontSize * 1.5}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
1059
+ transform: `translate(${n.value.left + d.value * o + d.value / 2}, ${n.value.bottom + f.value.xAxisFontSize * 1.5}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
1043
1060
  "text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
1044
1061
  "font-size": f.value.xAxisFontSize,
1045
1062
  fill: e.value.style.layout.grid.xAxis.dataLabels.color,
1046
1063
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
1047
- }, ue(l.text), 9, ba)
1064
+ }, ie(l.text), 9, ba)
1048
1065
  ]))), 256))
1049
1066
  ], 512)) : m("", !0),
1050
- e.value.type === "candlestick" ? (s(), u(_, { key: 4 }, [
1067
+ e.value.type === "candlestick" ? (u(), i(S, { key: 4 }, [
1051
1068
  p("g", null, [
1052
- (s(!0), u(_, null, S($.value, (l, o) => (s(), u("g", null, [
1069
+ (u(!0), i(S, null, F($.value, (l, o) => (u(), i("g", null, [
1053
1070
  p("rect", {
1054
1071
  x: l.open.x - e.value.style.layout.wick.strokeWidth / 2,
1055
1072
  y: l.high.y,
@@ -1058,108 +1075,114 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1058
1075
  fill: e.value.style.layout.wick.stroke,
1059
1076
  stroke: "none",
1060
1077
  rx: e.value.style.layout.wick.strokeWidth / 2,
1061
- class: B({ "vue-data-ui-transition": I.value && !h(D) })
1078
+ class: N({ "vue-data-ui-transition": R.value && !h(P) })
1062
1079
  }, null, 10, ka),
1063
- e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", wa, [
1080
+ e.value.style.layout.wick.extremity.shape === "circle" ? (u(), i("g", wa, [
1064
1081
  p("circle", {
1065
1082
  cx: l.high.x,
1066
1083
  cy: l.high.y,
1067
- r: e.value.style.layout.wick.extremity.size === "auto" ? v.value / 20 : e.value.style.layout.wick.extremity.size,
1084
+ r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
1068
1085
  fill: e.value.style.layout.wick.extremity.color,
1069
- class: B({ "vue-data-ui-transition": I.value && !h(D) })
1086
+ class: N({ "vue-data-ui-transition": R.value && !h(P) })
1070
1087
  }, null, 10, Aa),
1071
1088
  p("circle", {
1072
1089
  cx: l.low.x,
1073
1090
  cy: l.low.y,
1074
- r: e.value.style.layout.wick.extremity.size === "auto" ? v.value / 20 : e.value.style.layout.wick.extremity.size,
1091
+ r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
1075
1092
  fill: e.value.style.layout.wick.extremity.color,
1076
- class: B({ "vue-data-ui-transition": I.value && !h(D) })
1093
+ class: N({ "vue-data-ui-transition": R.value && !h(P) })
1077
1094
  }, null, 10, Ca)
1078
1095
  ])) : m("", !0),
1079
- e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", $a, [
1096
+ e.value.style.layout.wick.extremity.shape === "line" ? (u(), i("g", $a, [
1080
1097
  p("rect", {
1081
- x: l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ? v.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
1098
+ 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,
1082
1099
  y: l.high.y - e.value.style.layout.wick.strokeWidth / 2,
1083
- width: Math.abs(l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ? v.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2 - (l.high.x + (e.value.style.layout.wick.extremity.size === "auto" ? v.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2)),
1100
+ width: Math.abs(l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2 - (l.high.x + (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2)),
1084
1101
  height: e.value.style.layout.wick.strokeWidth,
1085
1102
  rx: e.value.style.layout.wick.strokeWidth / 2,
1086
1103
  fill: e.value.style.layout.wick.extremity.color,
1087
1104
  stroke: "none",
1088
- class: B({ "vue-data-ui-transition": I.value && !h(D) })
1105
+ class: N({ "vue-data-ui-transition": R.value && !h(P) })
1089
1106
  }, null, 10, _a),
1090
1107
  p("rect", {
1091
- x: l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ? v.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
1108
+ x: l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
1092
1109
  y: l.low.y - e.value.style.layout.wick.strokeWidth / 2,
1093
- width: Math.abs(l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ? v.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2 - (l.low.x + (e.value.style.layout.wick.extremity.size === "auto" ? v.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2)),
1110
+ width: Math.abs(l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2 - (l.low.x + (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2)),
1094
1111
  height: e.value.style.layout.wick.strokeWidth,
1095
1112
  fill: e.value.style.layout.wick.extremity.color,
1096
1113
  stroke: "none",
1097
1114
  rx: e.value.style.layout.wick.strokeWidth / 2,
1098
- class: B({ "vue-data-ui-transition": I.value && !h(D) })
1115
+ class: N({ "vue-data-ui-transition": R.value && !h(P) })
1099
1116
  }, null, 10, za)
1100
1117
  ])) : m("", !0)
1101
1118
  ]))), 256))
1102
1119
  ]),
1103
1120
  p("g", null, [
1104
- (s(!0), u(_, null, S($.value, (l, o) => (s(), u("rect", {
1105
- x: l.open.x - v.value / 2 + v.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
1106
- y: l.isBullish ? l.last.y : l.open.y,
1107
- height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
1108
- width: v.value * e.value.style.layout.candle.widthRatio <= 0 ? 1e-4 : v.value * e.value.style.layout.candle.widthRatio,
1121
+ (u(!0), i(S, null, F($.value, (l, o) => (u(), i("rect", {
1122
+ x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
1123
+ y: l.isBullish ? l.close.y : l.open.y,
1124
+ height: Math.abs(l.close.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.close.y - l.open.y),
1125
+ width: d.value * e.value.style.layout.candle.widthRatio <= 0 ? 1e-4 : d.value * e.value.style.layout.candle.widthRatio,
1109
1126
  fill: e.value.style.layout.candle.gradient.underlayer,
1110
1127
  rx: e.value.style.layout.candle.borderRadius,
1111
1128
  stroke: "none",
1112
- class: B({ "vue-data-ui-transition": I.value && !h(D) })
1129
+ class: N({ "vue-data-ui-transition": R.value && !h(P) })
1113
1130
  }, null, 10, Sa))), 256)),
1114
- (s(!0), u(_, null, S($.value, (l, o) => (s(), u("rect", {
1115
- x: l.open.x - v.value / 2 + v.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
1116
- y: l.isBullish ? l.last.y : l.open.y,
1117
- height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
1118
- width: v.value * e.value.style.layout.candle.widthRatio <= 0 ? 1e-4 : v.value * e.value.style.layout.candle.widthRatio,
1119
- fill: l.isBullish ? e.value.style.layout.candle.gradient.show ? `url(#bullish_gradient_${L.value})` : e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.gradient.show ? `url(#bearish_gradient_${L.value})` : e.value.style.layout.candle.colors.bearish,
1131
+ (u(!0), i(S, null, F($.value, (l, o) => (u(), i("rect", {
1132
+ x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
1133
+ y: l.isBullish ? l.close.y : l.open.y,
1134
+ height: Math.abs(l.close.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.close.y - l.open.y),
1135
+ width: d.value * e.value.style.layout.candle.widthRatio <= 0 ? 1e-4 : d.value * e.value.style.layout.candle.widthRatio,
1136
+ fill: l.isBullish ? e.value.style.layout.candle.gradient.show ? `url(#bullish_gradient_${I.value})` : e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.gradient.show ? `url(#bearish_gradient_${I.value})` : e.value.style.layout.candle.colors.bearish,
1120
1137
  rx: e.value.style.layout.candle.borderRadius,
1121
1138
  stroke: e.value.style.layout.candle.stroke,
1122
1139
  "stroke-width": e.value.style.layout.candle.strokeWidth,
1123
1140
  "stroke-linecap": "round",
1124
1141
  "stroke-linejoin": "round",
1125
- class: B({ "vue-data-ui-transition": I.value && !h(D) })
1142
+ class: N({ "vue-data-ui-transition": R.value && !h(P) })
1126
1143
  }, null, 10, La))), 256))
1127
1144
  ])
1128
1145
  ], 64)) : m("", !0),
1129
- e.value.type === "ohlc" ? (s(!0), u(_, { key: 5 }, S($.value, (l, o) => (s(), u("g", null, [
1146
+ e.value.type === "ohlc" ? (u(!0), i(S, { key: 5 }, F($.value, (l, o) => (u(), i("g", null, [
1130
1147
  p("path", {
1131
- d: `M ${l.high.x},${l.high.y} ${l.low.x},${l.low.y} M${l.open.x - Math.min(6, v.value / 3)},${l.open.y} ${l.open.x},${l.open.y} M${l.last.x},${l.last.y} ${l.last.x + Math.min(6, v.value / 3)},${l.last.y}`,
1148
+ d: `M ${l.high.x},${l.high.y} ${l.low.x},${l.low.y} M${l.open.x - Math.min(6, d.value / 3)},${l.open.y} ${l.open.x},${l.open.y} M${l.close.x},${l.close.y} ${l.close.x + Math.min(6, d.value / 3)},${l.close.y}`,
1132
1149
  stroke: l.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish,
1133
1150
  "stroke-width": 1
1134
1151
  }, null, 8, Ta)
1135
1152
  ]))), 256)) : m("", !0),
1136
1153
  p("g", null, [
1137
- (s(!0), u(_, null, S($.value, (l, o) => (s(), u("rect", {
1138
- x: n.value.left + o * v.value,
1154
+ (u(!0), i(S, null, F($.value, (l, o) => (u(), i("rect", {
1155
+ x: n.value.left + o * d.value,
1139
1156
  y: n.value.top,
1140
1157
  height: n.value.height <= 0 ? 1e-4 : n.value.height,
1141
- width: v.value <= 0 ? 1e-4 : v.value,
1142
- fill: M.value === o || Xe.value === o ? h(Il)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
1143
- onMouseover: () => ol(o, l),
1144
- onMouseleave: () => al(o, l),
1145
- onClick: () => ll(o, l)
1158
+ width: d.value <= 0 ? 1e-4 : d.value,
1159
+ fill: O.value === o || Ge.value === o ? h(Il)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
1160
+ onMouseover: () => sl(o, l),
1161
+ onMouseleave: () => ol(o, l),
1162
+ onClick: () => al(o, l)
1146
1163
  }, null, 40, Fa))), 256))
1147
1164
  ])
1148
1165
  ])) : m("", !0),
1149
- Ze.value ? (s(), u("rect", wt({ key: 2 }, jt.value, {
1166
+ tt.value ? (u(), i("rect", At({ key: 2 }, qt.value, {
1150
1167
  "data-start": r.value.start,
1151
1168
  "data-end": r.value.end
1152
1169
  }), null, 16, Ia)) : m("", !0),
1153
- w(t.$slots, "svg", { svg: f.value }, void 0, !0)
1170
+ w(t.$slots, "svg", {
1171
+ svg: {
1172
+ ...f.value,
1173
+ data: $.value,
1174
+ drawingArea: n.value
1175
+ }
1176
+ }, void 0, !0)
1154
1177
  ], 14, ea)),
1155
- t.$slots.watermark ? (s(), u("div", Ra, [
1156
- w(t.$slots, "watermark", G(j({ isPrinting: h(qe) || h(Ye) })), void 0, !0)
1178
+ t.$slots.watermark ? (u(), i("div", Ma, [
1179
+ w(t.$slots, "watermark", Y(Q({ isPrinting: h(Qe) || h(Je) })), void 0, !0)
1157
1180
  ])) : m("", !0),
1158
- e.value.style.zoom.show && C.value > 6 && pe.value && rt.value ? (s(), H(Jl, {
1181
+ e.value.style.zoom.show && C.value > 6 && ge.value && dt.value ? (u(), q(Jl, {
1159
1182
  key: 5,
1160
1183
  ref_key: "chartSlicer",
1161
- ref: J,
1162
- allMinimaps: Qt.value,
1184
+ ref: Z,
1185
+ allMinimaps: Jt.value,
1163
1186
  background: e.value.style.zoom.color,
1164
1187
  borderColor: e.value.style.backgroundColor,
1165
1188
  customFormat: e.value.style.zoom.customFormat,
@@ -1172,9 +1195,9 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1172
1195
  fontSize: e.value.style.zoom.fontSize,
1173
1196
  immediate: !e.value.style.zoom.preview.enable,
1174
1197
  inputColor: e.value.style.zoom.color,
1175
- isPreview: Ze.value,
1176
- labelLeft: it.value.start || "",
1177
- labelRight: it.value.end || "",
1198
+ isPreview: tt.value,
1199
+ labelLeft: rt.value.start || "",
1200
+ labelRight: rt.value.end || "",
1178
1201
  max: C.value,
1179
1202
  min: 0,
1180
1203
  minimap: e.value.style.zoom.minimap.show ? h(x).map((l) => l[2]) : [],
@@ -1184,9 +1207,9 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1184
1207
  minimapMerged: !1,
1185
1208
  minimapSelectedColor: e.value.style.zoom.minimap.selectedColor,
1186
1209
  minimapSelectedColorOpacity: e.value.style.zoom.minimap.selectedColorOpacity,
1187
- minimapSelectedIndex: M.value,
1210
+ minimapSelectedIndex: O.value,
1188
1211
  minimapSelectionRadius: 1,
1189
- preciseLabels: tl.value,
1212
+ preciseLabels: ll.value,
1190
1213
  refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : C.value,
1191
1214
  refreshStartPoint: e.value.style.zoom.startIndex !== null ? e.value.style.zoom.startIndex : 0,
1192
1215
  selectColor: e.value.style.zoom.highlightColor,
@@ -1194,38 +1217,38 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1194
1217
  smoothMinimap: !1,
1195
1218
  start: r.value.start,
1196
1219
  textColor: e.value.style.color,
1197
- timeLabels: st.value,
1220
+ timeLabels: it.value,
1198
1221
  usePreciseLabels: e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable && !e.value.style.zoom.useDefaultFormat,
1199
1222
  useResetSlot: e.value.style.zoom.useResetSlot,
1200
1223
  valueEnd: r.value.end,
1201
1224
  valueStart: r.value.start,
1202
1225
  verticalHandles: e.value.style.zoom.minimap.verticalHandles,
1203
- "onUpdate:end": ml,
1204
- "onUpdate:start": hl,
1205
- onTrapMouse: yl,
1206
- onReset: nt,
1207
- onFutureEnd: a[0] || (a[0] = (l) => et("end", l)),
1208
- onFutureStart: a[1] || (a[1] = (l) => et("start", l))
1226
+ "onUpdate:end": pl,
1227
+ "onUpdate:start": ml,
1228
+ onTrapMouse: hl,
1229
+ onReset: vt,
1230
+ onFutureEnd: a[0] || (a[0] = (l) => lt("end", l)),
1231
+ onFutureStart: a[1] || (a[1] = (l) => lt("start", l))
1209
1232
  }, {
1210
1233
  "reset-action": k(({ reset: l }) => [
1211
- w(t.$slots, "reset-action", G(j({ reset: l })), void 0, !0)
1234
+ w(t.$slots, "reset-action", Y(Q({ reset: l })), void 0, !0)
1212
1235
  ]),
1213
1236
  slotMap: k(({ height: l, unitW: o }) => [
1214
- (s(!0), u(_, null, S(Yt.value({ minimapH: l, unitW: o }), (i, d) => (s(), u("g", null, [
1237
+ (u(!0), i(S, null, F(Qt.value({ minimapH: l, unitW: o }), (s, v) => (u(), i("g", null, [
1215
1238
  p("path", {
1216
- d: `M ${i.high.x},${i.high.y} ${i.low.x},${i.low.y}`,
1217
- stroke: i.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish,
1239
+ d: `M ${s.high.x},${s.high.y} ${s.low.x},${s.low.y}`,
1240
+ stroke: s.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish,
1218
1241
  "stroke-width": 1,
1219
- style: se({
1220
- opacity: d >= A.value.start && d <= A.value.end ? 1 : 0.6
1242
+ style: ue({
1243
+ opacity: v >= A.value.start && v <= A.value.end ? 1 : 0.6
1221
1244
  })
1222
- }, null, 12, Ma),
1245
+ }, null, 12, Ra),
1223
1246
  p("path", {
1224
- d: `M ${i.open.x},${i.open.y} ${i.last.x},${i.last.y}`,
1225
- stroke: i.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish,
1247
+ d: `M ${s.open.x},${s.open.y} ${s.close.x},${s.close.y}`,
1248
+ stroke: s.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish,
1226
1249
  "stroke-width": Math.min(6, o / 1.5),
1227
- style: se({
1228
- opacity: d >= A.value.start && d <= A.value.end ? 1 : 0.6
1250
+ style: ue({
1251
+ opacity: v >= A.value.start && v <= A.value.end ? 1 : 0.6
1229
1252
  })
1230
1253
  }, null, 12, Oa)
1231
1254
  ]))), 256))
@@ -1234,20 +1257,20 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1234
1257
  }, 8, ["allMinimaps", "background", "borderColor", "customFormat", "enableRangeHandles", "enableSelectionDrag", "end", "focusOnDrag", "focusRangeRatio", "fontSize", "immediate", "inputColor", "isPreview", "labelLeft", "labelRight", "max", "minimap", "minimapCompact", "minimapFrameColor", "minimapIndicatorColor", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "preciseLabels", "refreshEndPoint", "refreshStartPoint", "selectColor", "selectedSeries", "start", "textColor", "timeLabels", "usePreciseLabels", "useResetSlot", "valueEnd", "valueStart", "verticalHandles"])) : m("", !0),
1235
1258
  p("div", {
1236
1259
  ref_key: "chartLegend",
1237
- ref: Ne
1260
+ ref: Ve
1238
1261
  }, [
1239
1262
  w(t.$slots, "legend", { legend: $.value }, void 0, !0)
1240
1263
  ], 512),
1241
- t.$slots.source ? (s(), u("div", {
1264
+ t.$slots.source ? (u(), i("div", {
1242
1265
  key: 6,
1243
1266
  ref_key: "source",
1244
- ref: Ee,
1267
+ ref: Ue,
1245
1268
  dir: "auto"
1246
1269
  }, [
1247
1270
  w(t.$slots, "source", {}, void 0, !0)
1248
1271
  ], 512)) : m("", !0),
1249
- Oe(h(Rt), {
1250
- show: z.value.showTooltip && ge.value,
1272
+ Pe(h(Rt), {
1273
+ show: L.value.showTooltip && be.value,
1251
1274
  backgroundColor: e.value.style.tooltip.backgroundColor,
1252
1275
  color: e.value.style.tooltip.color,
1253
1276
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -1257,9 +1280,9 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1257
1280
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
1258
1281
  position: e.value.style.tooltip.position,
1259
1282
  offsetY: e.value.style.tooltip.offsetY,
1260
- parent: O.value,
1261
- content: xe.value,
1262
- isFullscreen: X.value,
1283
+ parent: D.value,
1284
+ content: ke.value,
1285
+ isFullscreen: G.value,
1263
1286
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
1264
1287
  smooth: e.value.style.tooltip.smooth,
1265
1288
  backdropFilter: e.value.style.tooltip.backdropFilter,
@@ -1267,31 +1290,31 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1267
1290
  smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
1268
1291
  }, {
1269
1292
  "tooltip-before": k(() => [
1270
- w(t.$slots, "tooltip-before", G(j({ ...Le.value })), void 0, !0)
1293
+ w(t.$slots, "tooltip-before", Y(Q({ ...Te.value })), void 0, !0)
1271
1294
  ]),
1272
1295
  "tooltip-after": k(() => [
1273
- w(t.$slots, "tooltip-after", G(j({ ...Le.value })), void 0, !0)
1296
+ w(t.$slots, "tooltip-after", Y(Q({ ...Te.value })), void 0, !0)
1274
1297
  ]),
1275
1298
  _: 3
1276
1299
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1277
- pe.value && e.value.userOptions.buttons.table ? (s(), H(_l(le.value.component), wt({ key: 7 }, le.value.props, {
1300
+ ge.value && e.value.userOptions.buttons.table ? (u(), q(_l(oe.value.component), At({ key: 7 }, oe.value.props, {
1278
1301
  ref_key: "tableUnit",
1279
- ref: Z,
1280
- onClose: ht
1281
- }), kt({
1302
+ ref: te,
1303
+ onClose: pt
1304
+ }), wt({
1282
1305
  content: k(() => [
1283
- (s(), H(h(Ot), {
1284
- key: `table_${Ue.value}`,
1285
- colNames: ce.value.colNames,
1286
- head: ce.value.head,
1287
- body: ce.value.body,
1288
- config: ce.value.config,
1289
- title: e.value.table.useDialog ? "" : le.value.title,
1306
+ (u(), q(h(Dt), {
1307
+ key: `table_${Xe.value}`,
1308
+ colNames: ye.value.colNames,
1309
+ head: ye.value.head,
1310
+ body: ye.value.body,
1311
+ config: ye.value.config,
1312
+ title: e.value.table.useDialog ? "" : oe.value.title,
1290
1313
  withCloseButton: !e.value.table.useDialog,
1291
- onClose: ht
1314
+ onClose: pt
1292
1315
  }, {
1293
1316
  th: k(({ th: l }) => [
1294
- At(ue(l), 1)
1317
+ Ct(ie(l), 1)
1295
1318
  ]),
1296
1319
  td: k(({ td: l }) => [
1297
1320
  p("div", { innerHTML: l }, null, 8, Da)
@@ -1304,7 +1327,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1304
1327
  e.value.table.useDialog ? {
1305
1328
  name: "title",
1306
1329
  fn: k(() => [
1307
- At(ue(le.value.title), 1)
1330
+ Ct(ie(oe.value.title), 1)
1308
1331
  ]),
1309
1332
  key: "0"
1310
1333
  } : void 0,
@@ -1314,21 +1337,21 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1314
1337
  p("button", {
1315
1338
  tabindex: "0",
1316
1339
  class: "vue-ui-user-options-button",
1317
- onClick: a[2] || (a[2] = (l) => Te(e.value.userOptions.callbacks.csv))
1340
+ onClick: a[2] || (a[2] = (l) => Fe(e.value.userOptions.callbacks.csv))
1318
1341
  }, [
1319
- Oe(h(It), {
1342
+ Pe(h(Mt), {
1320
1343
  name: "excel",
1321
- stroke: le.value.props.color
1344
+ stroke: oe.value.props.color
1322
1345
  }, null, 8, ["stroke"])
1323
1346
  ])
1324
1347
  ]),
1325
1348
  key: "1"
1326
1349
  } : void 0
1327
1350
  ]), 1040)) : m("", !0),
1328
- h(D) ? (s(), H(Vl, { key: 8 })) : m("", !0)
1351
+ h(P) ? (u(), q(Vl, { key: 8 })) : m("", !0)
1329
1352
  ], 46, Zl));
1330
1353
  }
1331
- }, eo = /* @__PURE__ */ Kl(Pa, [["__scopeId", "data-v-4f042a77"]]);
1354
+ }, eo = /* @__PURE__ */ Kl(Pa, [["__scopeId", "data-v-a3929371"]]);
1332
1355
  export {
1333
1356
  eo as default
1334
1357
  };