vue-data-ui 3.4.7 → 3.4.8

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 (115) hide show
  1. package/dist/{PackageVersion-QNVkHOgG.js → PackageVersion-D-auaEEJ.js} +1 -1
  2. package/dist/{UserOptions-CnzumGJj.js → UserOptions-CGnQt6Fd.js} +91 -91
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-bullet.js +1 -1
  6. package/dist/components/vue-ui-candlestick.js +1 -1
  7. package/dist/components/vue-ui-carousel-table.js +1 -1
  8. package/dist/components/vue-ui-chestnut.js +1 -1
  9. package/dist/components/vue-ui-chord.js +1 -1
  10. package/dist/components/vue-ui-circle-pack.js +1 -1
  11. package/dist/components/vue-ui-dashboard.js +1 -1
  12. package/dist/components/vue-ui-donut-evolution.js +1 -1
  13. package/dist/components/vue-ui-donut.js +1 -1
  14. package/dist/components/vue-ui-dumbbell.js +1 -1
  15. package/dist/components/vue-ui-flow.js +1 -1
  16. package/dist/components/vue-ui-funnel.js +1 -1
  17. package/dist/components/vue-ui-galaxy.js +1 -1
  18. package/dist/components/vue-ui-gauge.js +1 -1
  19. package/dist/components/vue-ui-gizmo.js +1 -1
  20. package/dist/components/vue-ui-heatmap.js +1 -1
  21. package/dist/components/vue-ui-history-plot.js +1 -1
  22. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  23. package/dist/components/vue-ui-molecule.js +1 -1
  24. package/dist/components/vue-ui-mood-radar.js +1 -1
  25. package/dist/components/vue-ui-nested-donuts.js +1 -1
  26. package/dist/components/vue-ui-onion.js +1 -1
  27. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  28. package/dist/components/vue-ui-quadrant.js +1 -1
  29. package/dist/components/vue-ui-quick-chart.js +1 -1
  30. package/dist/components/vue-ui-radar.js +1 -1
  31. package/dist/components/vue-ui-relation-circle.js +1 -1
  32. package/dist/components/vue-ui-ridgeline.js +1 -1
  33. package/dist/components/vue-ui-rings.js +1 -1
  34. package/dist/components/vue-ui-scatter.js +1 -1
  35. package/dist/components/vue-ui-skeleton.js +1 -1
  36. package/dist/components/vue-ui-spark-trend.js +1 -1
  37. package/dist/components/vue-ui-sparkbar.js +1 -1
  38. package/dist/components/vue-ui-sparkgauge.js +1 -1
  39. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  40. package/dist/components/vue-ui-sparkline.js +1 -1
  41. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  42. package/dist/components/vue-ui-stackbar.js +1 -1
  43. package/dist/components/vue-ui-strip-plot.js +1 -1
  44. package/dist/components/vue-ui-table-heatmap.js +1 -1
  45. package/dist/components/vue-ui-table-sparkline.js +1 -1
  46. package/dist/components/vue-ui-table.js +1 -1
  47. package/dist/components/vue-ui-thermometer.js +1 -1
  48. package/dist/components/vue-ui-timer.js +1 -1
  49. package/dist/components/vue-ui-tiremarks.js +1 -1
  50. package/dist/components/vue-ui-treemap.js +1 -1
  51. package/dist/components/vue-ui-vertical-bar.js +1 -1
  52. package/dist/components/vue-ui-waffle.js +1 -1
  53. package/dist/components/vue-ui-wheel.js +1 -1
  54. package/dist/components/vue-ui-word-cloud.js +1 -1
  55. package/dist/components/vue-ui-world.js +1 -1
  56. package/dist/components/vue-ui-xy-canvas.js +1 -1
  57. package/dist/components/vue-ui-xy.js +1 -1
  58. package/dist/style.css +1 -1
  59. package/dist/{vue-data-ui-BFwmY6si.js → vue-data-ui-CzqHcPqG.js} +55 -55
  60. package/dist/vue-data-ui.js +55 -55
  61. package/dist/{vue-ui-3d-bar-D1GoJWeg.js → vue-ui-3d-bar-CwXiD8zD.js} +49 -42
  62. package/dist/{vue-ui-age-pyramid-BDGFSsA5.js → vue-ui-age-pyramid-DlEPlWmV.js} +12 -5
  63. package/dist/{vue-ui-bullet-C3GtE3bF.js → vue-ui-bullet-DtzpeIu4.js} +59 -52
  64. package/dist/{vue-ui-candlestick-BlzmB2vM.js → vue-ui-candlestick-DzoiyaeB.js} +56 -49
  65. package/dist/{vue-ui-carousel-table-TKa7KYZ0.js → vue-ui-carousel-table-BqRERrjs.js} +79 -72
  66. package/dist/{vue-ui-chestnut-DNxARRsx.js → vue-ui-chestnut-CzBGckif.js} +77 -70
  67. package/dist/{vue-ui-chord-BM7tZig3.js → vue-ui-chord-B4waG93A.js} +71 -64
  68. package/dist/{vue-ui-circle-pack-BZU75WUb.js → vue-ui-circle-pack-DiTw_p5r.js} +58 -51
  69. package/dist/{vue-ui-dashboard-pNXFzQu4.js → vue-ui-dashboard-Bt-MUKqy.js} +56 -56
  70. package/dist/{vue-ui-donut-CRvfqCUO.js → vue-ui-donut-Bc492JeS.js} +95 -88
  71. package/dist/{vue-ui-donut-evolution-CCdIWlyZ.js → vue-ui-donut-evolution-D6TaZK2x.js} +80 -73
  72. package/dist/{vue-ui-dumbbell-CLmwZyrf.js → vue-ui-dumbbell-BlZr68Sq.js} +12 -5
  73. package/dist/{vue-ui-flow-BY8XQXKF.js → vue-ui-flow-ByEP18dA.js} +205 -198
  74. package/dist/{vue-ui-funnel-BmxhWoVW.js → vue-ui-funnel-BU7d_U6T.js} +98 -91
  75. package/dist/{vue-ui-galaxy-BgtKffX5.js → vue-ui-galaxy-CpVrxaTr.js} +140 -133
  76. package/dist/{vue-ui-gauge-DLpK4-Cd.js → vue-ui-gauge-B9Z4EXoj.js} +108 -101
  77. package/dist/{vue-ui-gizmo-CCNboEnL.js → vue-ui-gizmo-T1paJEJ3.js} +1 -1
  78. package/dist/{vue-ui-heatmap-BSDmuvq8.js → vue-ui-heatmap-Uw83eEMz.js} +97 -90
  79. package/dist/{vue-ui-history-plot-s8wYm7fn.js → vue-ui-history-plot-C93VwVCY.js} +41 -34
  80. package/dist/{vue-ui-molecule-BYWE2ONy.js → vue-ui-molecule-CFMWwXFN.js} +94 -87
  81. package/dist/{vue-ui-mood-radar-BOvaA1Jq.js → vue-ui-mood-radar-FkVaaOVG.js} +71 -64
  82. package/dist/{vue-ui-nested-donuts-BUGkuN56.js → vue-ui-nested-donuts-Cyi98NXq.js} +93 -86
  83. package/dist/{vue-ui-onion-CPshjlgf.js → vue-ui-onion-BCENNhsY.js} +82 -75
  84. package/dist/{vue-ui-parallel-coordinate-plot-orQotxDr.js → vue-ui-parallel-coordinate-plot-Dca9wkD0.js} +116 -109
  85. package/dist/{vue-ui-quadrant-CM3iH31f.js → vue-ui-quadrant-CEtFEZT3.js} +46 -39
  86. package/dist/{vue-ui-quick-chart-BhO2YQn0.js → vue-ui-quick-chart-bqcp6BIl.js} +171 -164
  87. package/dist/{vue-ui-radar-CNZVFG-v.js → vue-ui-radar-lgRCmyNP.js} +36 -29
  88. package/dist/{vue-ui-relation-circle-BX48Cgx3.js → vue-ui-relation-circle-cRRrbaIT.js} +100 -93
  89. package/dist/{vue-ui-ridgeline-MQAF9nvq.js → vue-ui-ridgeline-CaeFJq9a.js} +23 -16
  90. package/dist/{vue-ui-rings-BPhLSCUX.js → vue-ui-rings-DbsYfGjx.js} +55 -48
  91. package/dist/{vue-ui-scatter-C3dD6T6q.js → vue-ui-scatter-DcMnoNrY.js} +189 -182
  92. package/dist/{vue-ui-skeleton-Be8xm0gy.js → vue-ui-skeleton-b5fdgyHv.js} +1 -1
  93. package/dist/{vue-ui-spark-trend-suNsujGP.js → vue-ui-spark-trend-DrQ26BzL.js} +1 -1
  94. package/dist/{vue-ui-sparkbar-BjD2kUth.js → vue-ui-sparkbar-BlvXLcfO.js} +1 -1
  95. package/dist/{vue-ui-sparkgauge-C816ocz6.js → vue-ui-sparkgauge-CQmNePxu.js} +1 -1
  96. package/dist/{vue-ui-sparkhistogram-CAgfueUq.js → vue-ui-sparkhistogram-CJatqy8x.js} +1 -1
  97. package/dist/{vue-ui-sparkline-BmVwG9vw.js → vue-ui-sparkline-5m7hFiMq.js} +1 -1
  98. package/dist/{vue-ui-sparkstackbar-DoFTW_u_.js → vue-ui-sparkstackbar-Z5g6L2Hj.js} +1 -1
  99. package/dist/{vue-ui-stackbar-C1qHHSuI.js → vue-ui-stackbar-WrexTg8_.js} +53 -46
  100. package/dist/{vue-ui-strip-plot-Ccz9BiSl.js → vue-ui-strip-plot-DqX7yya9.js} +13 -6
  101. package/dist/{vue-ui-table-IKsrsEUh.js → vue-ui-table-BhrP9BCp.js} +2 -2
  102. package/dist/{vue-ui-table-heatmap-B4rjR34n.js → vue-ui-table-heatmap-BqCEBoUf.js} +1 -1
  103. package/dist/{vue-ui-table-sparkline-B71QVMkq.js → vue-ui-table-sparkline-BECa8n5_.js} +1 -1
  104. package/dist/{vue-ui-thermometer-fY5WxAbX.js → vue-ui-thermometer-BxBGrsSR.js} +83 -76
  105. package/dist/{vue-ui-timer-BBdNJ0fK.js → vue-ui-timer-BbHY5Ed5.js} +1 -1
  106. package/dist/{vue-ui-tiremarks-Co0t61HH.js → vue-ui-tiremarks-DzL3Sc1f.js} +43 -36
  107. package/dist/{vue-ui-treemap-ujTn_36A.js → vue-ui-treemap-DoHoS5NK.js} +114 -107
  108. package/dist/{vue-ui-vertical-bar-BNp-Vl0q.js → vue-ui-vertical-bar-D0N5btU-.js} +89 -82
  109. package/dist/{vue-ui-waffle-CRPYb9mZ.js → vue-ui-waffle-CTt7dxCY.js} +41 -34
  110. package/dist/{vue-ui-wheel-BvycoQ3Z.js → vue-ui-wheel--TIPvQ9I.js} +132 -125
  111. package/dist/{vue-ui-word-cloud-Cjs46-dC.js → vue-ui-word-cloud-D5pZq4Jq.js} +116 -109
  112. package/dist/{vue-ui-world-BTLAdJeD.js → vue-ui-world-BERHgePa.js} +71 -64
  113. package/dist/{vue-ui-xy-CBRHUbAn.js → vue-ui-xy-BI5stV8f.js} +163 -156
  114. package/dist/{vue-ui-xy-canvas-BGl_2pHw.js → vue-ui-xy-canvas-DXnLFwW3.js} +1 -1
  115. package/package.json +1 -1
@@ -1,5 +1,5 @@
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-C_mNZmhD.js";
1
+ import { defineAsyncComponent as W, computed as c, ref as y, toRefs as Al, watch as se, shallowRef as bt, onMounted as $l, onBeforeUnmount as De, watchEffect as Cl, 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 $t } from "vue";
2
+ import { c as zl, t as Sl, O as pe, o as Ct, 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-C_mNZmhD.js";
3
3
  import { t as zt, u as Pl } from "./useResponsive-DfdjqQps.js";
4
4
  import { u as Bl, a as St } from "./useNestedProp-BjZe1Y85.js";
5
5
  import { u as Nl } from "./usePrinter-DTzqpYKF.js";
@@ -14,7 +14,7 @@ import Yl from "./Title-l36lOBMx.js";
14
14
  import { t as Ql } from "./themes-AUNCOb2G.js";
15
15
  import { S as Jl } from "./SlicerPreview-ij72TAs6.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"], Ma = {
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"], $a = ["cx", "cy", "r", "fill"], Ca = { 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
20
  }, Ra = ["d", "stroke"], Oa = ["d", "stroke", "stroke-width"], Da = ["innerHTML"], Pa = {
@@ -39,7 +39,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
39
39
  },
40
40
  emits: ["selectX"],
41
41
  setup(Tt, { expose: Ft, emit: It }) {
42
- const Mt = W(() => import("./BaseIcon-BmMbm4d0.js")), Rt = W(() => import("./Tooltip-oWCO1HKy.js")), Ot = W(() => import("./vue-ui-accordion-CZ0thhxa.js")), Dt = W(() => import("./DataTable-BT7VF2ua.js")), Pt = W(() => import("./PenAndPaper-DSvu9dwa.js")), Bt = W(() => import("./UserOptions-CnzumGJj.js")), Nt = W(() => import("./PackageVersion-QNVkHOgG.js")), Et = W(() => import("./BaseDraggableDialog-ymf2sfB8.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({
42
+ const Mt = W(() => import("./BaseIcon-BmMbm4d0.js")), Rt = W(() => import("./Tooltip-oWCO1HKy.js")), Ot = W(() => import("./vue-ui-accordion-CZ0thhxa.js")), Dt = W(() => import("./DataTable-BT7VF2ua.js")), Pt = W(() => import("./PenAndPaper-DSvu9dwa.js")), Bt = W(() => import("./UserOptions-CGnQt6Fd.js")), Nt = W(() => import("./PackageVersion-D-auaEEJ.js")), Et = W(() => import("./BaseDraggableDialog-ymf2sfB8.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: $e } = El({
43
43
  ...Al(g),
44
44
  FINAL_CONFIG: e,
45
45
  prepareConfig: ze,
@@ -109,7 +109,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
109
109
  }
110
110
  }
111
111
  })
112
- }), { userOptionsVisible: $e, setUserOptionsVisibility: je, keepUserOptionState: qe } = Hl({ config: e.value }), { svgRef: _e } = Gl({ config: e.value.style.title });
112
+ }), { userOptionsVisible: Ce, setUserOptionsVisibility: je, keepUserOptionState: qe } = Hl({ config: e.value }), { svgRef: _e } = Gl({ config: e.value.style.title });
113
113
  function Wt() {
114
114
  je(!0);
115
115
  }
@@ -130,9 +130,9 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
130
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
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();
133
+ P.value || (e.value = ze()), Ce.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
134
  }, { deep: !0 }), se(() => g.dataset, (t) => {
135
- Array.isArray(t) && t.length > 0 && (Ce.value = !1), vt();
135
+ Array.isArray(t) && t.length > 0 && ($e.value = !1), vt();
136
136
  }, { deep: !0 });
137
137
  const f = y({
138
138
  height: e.value.style.height,
@@ -140,16 +140,16 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
140
140
  xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
141
141
  yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
142
142
  }), V = bt(null), K = bt(null);
143
- Cl(() => {
143
+ $l(() => {
144
144
  Ye();
145
145
  });
146
146
  const H = c(() => !!e.value.debug);
147
147
  function Ye() {
148
- if ($t(g.dataset) && (J({
148
+ if (Ct(g.dataset) && (J({
149
149
  componentName: "VueUiCandlestick",
150
150
  type: "dataset",
151
151
  debug: H.value
152
- }), Ce.value = !0), $t(g.dataset) || (Ce.value = e.value.loading), setTimeout(() => {
152
+ }), $e.value = !0), Ct(g.dataset) || ($e.value = e.value.loading), setTimeout(() => {
153
153
  R.value = !0;
154
154
  }, 10), e.value.responsive) {
155
155
  const a = zt(() => {
@@ -157,7 +157,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
157
157
  const { width: l, height: o } = Pl({
158
158
  chart: D.value,
159
159
  title: e.value.style.title.text ? Ee.value : null,
160
- slicer: e.value.style.zoom.show && C.value > 6 ? Z.value.$el : null,
160
+ slicer: e.value.style.zoom.show && $.value > 6 ? Z.value.$el : null,
161
161
  legend: Ve.value,
162
162
  source: Ue.value,
163
163
  noTitle: We.value
@@ -197,7 +197,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
197
197
  }), Se = y(0), Gt = zt((t) => {
198
198
  Se.value = t;
199
199
  }, 100);
200
- $l((t) => {
200
+ Cl((t) => {
201
201
  const a = ee.value;
202
202
  if (!a) return;
203
203
  const l = new ResizeObserver((o) => {
@@ -247,16 +247,16 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
247
247
  animation: "none !important"
248
248
  }
249
249
  };
250
- }), C = c(() => x.value.length), r = y({
250
+ }), $ = c(() => x.value.length), r = y({
251
251
  start: 0,
252
- end: C.value
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));
252
+ end: $.value
253
+ }), A = y({ start: 0, end: $.value }), tt = c(() => e.value.style.zoom.preview.enable && (A.value.start !== r.value.start || A.value.end !== r.value.end));
254
254
  function lt(t, a) {
255
255
  A.value[t] = a;
256
256
  }
257
257
  function ne() {
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, Z.value && (Z.value.setStartValue(t), Z.value.setEndValue(a));
258
+ let t = Math.max(0, Math.min(r.value.start ?? 0, $.value - 1)), a = Math.max(t + 1, Math.min(r.value.end ?? $.value, $.value));
259
+ (!Number.isFinite(t) || !Number.isFinite(a) || a <= t) && (t = 0, a = $.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
261
  const at = c(() => x.value.map((t, a) => ({
262
262
  ...t,
@@ -332,7 +332,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
332
332
  isMin: t === o
333
333
  };
334
334
  }
335
- const $ = c(() => {
335
+ const C = c(() => {
336
336
  const t = {
337
337
  o: Math.max(..._.value.map((s) => s.open)),
338
338
  h: Math.max(..._.value.map((s) => s.high)),
@@ -404,7 +404,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
404
404
  maxDatapoints: x.value.length,
405
405
  formatter: e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
406
406
  start: 0,
407
- end: C.value
407
+ end: $.value
408
408
  })), el = c(() => {
409
409
  const t = e.value.style.layout.grid.xAxis.dataLabels.modulo;
410
410
  return B.value.length ? Math.min(t, [...new Set(B.value.map((a) => a.text))].length) : t;
@@ -425,7 +425,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
425
425
  text: nt.value(l, e.value.style.zoom.timeFormat),
426
426
  absoluteIndex: l
427
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 ?? "");
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 = $.value, b = a.map((z) => z?.text ?? ""), T = l.map((z) => z?.text ?? "");
429
429
  return Tl(
430
430
  !!t.showOnlyFirstAndLast,
431
431
  !!t.showOnlyAtModulo,
@@ -461,25 +461,25 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
461
461
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: a, seriesIndex: t + r.value.start }), O.value = t, Te.value = {
462
462
  datapoint: a,
463
463
  seriesIndex: t,
464
- series: $.value,
464
+ series: C.value,
465
465
  config: e.value
466
466
  }, fl({ seriesIndex: t, datapoint: a });
467
467
  const l = e.value.style.tooltip.customFormat;
468
468
  if (Ol(l) && Dl(() => l({
469
469
  seriesIndex: t,
470
470
  datapoint: a,
471
- series: $.value,
471
+ series: C.value,
472
472
  config: e.value
473
473
  })))
474
474
  ke.value = l({
475
475
  seriesIndex: t,
476
476
  datapoint: a,
477
- series: $.value,
477
+ series: C.value,
478
478
  config: e.value
479
479
  });
480
480
  else if (e.value.style.tooltip.show) {
481
481
  let o = "";
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;
482
+ const { period: s, open: v, high: b, low: T, close: z, volume: U, isBullish: j } = C.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;
483
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}"
484
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
485
  const Re = E({
@@ -546,7 +546,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
546
546
  if (!ae.value) {
547
547
  ae.value = !0;
548
548
  try {
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;
549
+ const { startIndex: t, endIndex: a } = e.value.style.zoom, l = $.value, o = t ?? 0, s = a != null ? Math.min(ct(a + 1), l) : l;
550
550
  de.value = !0, r.value.start = o, r.value.end = s, A.value.start = o, A.value.end = s, ne(), dt.value = !0;
551
551
  } finally {
552
552
  queueMicrotask(() => {
@@ -556,12 +556,12 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
556
556
  }
557
557
  }
558
558
  function ct(t) {
559
- const a = C.value;
559
+ const a = $.value;
560
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;
561
561
  }
562
562
  function Fe(t = null) {
563
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) => [
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 = C.value.map((v, b) => [
565
565
  e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? B.value[b].text : v.period,
566
566
  v.open.value,
567
567
  v.high.value,
@@ -573,7 +573,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
573
573
  });
574
574
  }
575
575
  const ye = c(() => {
576
- const t = $.value.map((o, s) => {
576
+ const t = C.value.map((o, s) => {
577
577
  const v = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? B.value[s].text : o.period, b = E({
578
578
  p: e.value.table.td.prefix,
579
579
  v: o.open.value,
@@ -789,7 +789,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
789
789
  }
790
790
  }, null, 8, ["config"]))
791
791
  ], 512)) : m("", !0),
792
- e.value.userOptions.show && ge.value && (h(qe) || h($e)) ? (u(), q(h(Bt), {
792
+ e.value.userOptions.show && ge.value && (h(qe) || h(Ce)) ? (u(), q(h(Bt), {
793
793
  ref_key: "userOptionsRef",
794
794
  ref: Ae,
795
795
  key: `user_options_${Ne.value}`,
@@ -824,7 +824,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
824
824
  onToggleTooltip: mt,
825
825
  onToggleAnnotator: Ie,
826
826
  style: ue({
827
- visibility: h(qe) ? h($e) ? "visible" : "hidden" : "visible"
827
+ visibility: h(qe) ? h(Ce) ? "visible" : "hidden" : "visible"
828
828
  })
829
829
  }, wt({ _: 2 }, [
830
830
  t.$slots.menuIcon ? {
@@ -862,26 +862,33 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
862
862
  ]),
863
863
  key: "4"
864
864
  } : void 0,
865
+ t.$slots.optionSvg ? {
866
+ name: "optionSvg",
867
+ fn: k(() => [
868
+ w(t.$slots, "optionSvg", {}, void 0, !0)
869
+ ]),
870
+ key: "5"
871
+ } : void 0,
865
872
  t.$slots.optionTable ? {
866
873
  name: "optionTable",
867
874
  fn: k(() => [
868
875
  w(t.$slots, "optionTable", {}, void 0, !0)
869
876
  ]),
870
- key: "5"
877
+ key: "6"
871
878
  } : void 0,
872
879
  t.$slots.optionFullscreen ? {
873
880
  name: "optionFullscreen",
874
881
  fn: k(({ toggleFullscreen: l, isFullscreen: o }) => [
875
882
  w(t.$slots, "optionFullscreen", Y(Q({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
876
883
  ]),
877
- key: "6"
884
+ key: "7"
878
885
  } : void 0,
879
886
  t.$slots.optionAnnotator ? {
880
887
  name: "optionAnnotator",
881
888
  fn: k(({ toggleAnnotator: l, isAnnotator: o }) => [
882
889
  w(t.$slots, "optionAnnotator", Y(Q({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
883
890
  ]),
884
- key: "7"
891
+ key: "8"
885
892
  } : void 0
886
893
  ]), 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),
887
894
  (u(), i("svg", {
@@ -906,7 +913,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
906
913
  }, [
907
914
  w(t.$slots, "chart-background", {}, void 0, !0)
908
915
  ], 8, ta)) : m("", !0),
909
- $.value.length > 0 ? (u(), i("g", la, [
916
+ C.value.length > 0 ? (u(), i("g", la, [
910
917
  p("defs", null, [
911
918
  p("linearGradient", {
912
919
  id: `bearish_gradient_${I.value}`,
@@ -1066,7 +1073,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1066
1073
  ], 512)) : m("", !0),
1067
1074
  e.value.type === "candlestick" ? (u(), i(S, { key: 4 }, [
1068
1075
  p("g", null, [
1069
- (u(!0), i(S, null, F($.value, (l, o) => (u(), i("g", null, [
1076
+ (u(!0), i(S, null, F(C.value, (l, o) => (u(), i("g", null, [
1070
1077
  p("rect", {
1071
1078
  x: l.open.x - e.value.style.layout.wick.strokeWidth / 2,
1072
1079
  y: l.high.y,
@@ -1091,9 +1098,9 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1091
1098
  r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
1092
1099
  fill: e.value.style.layout.wick.extremity.color,
1093
1100
  class: N({ "vue-data-ui-transition": R.value && !h(P) })
1094
- }, null, 10, Ca)
1101
+ }, null, 10, $a)
1095
1102
  ])) : m("", !0),
1096
- e.value.style.layout.wick.extremity.shape === "line" ? (u(), i("g", $a, [
1103
+ e.value.style.layout.wick.extremity.shape === "line" ? (u(), i("g", Ca, [
1097
1104
  p("rect", {
1098
1105
  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,
1099
1106
  y: l.high.y - e.value.style.layout.wick.strokeWidth / 2,
@@ -1118,7 +1125,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1118
1125
  ]))), 256))
1119
1126
  ]),
1120
1127
  p("g", null, [
1121
- (u(!0), i(S, null, F($.value, (l, o) => (u(), i("rect", {
1128
+ (u(!0), i(S, null, F(C.value, (l, o) => (u(), i("rect", {
1122
1129
  x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
1123
1130
  y: l.isBullish ? l.close.y : l.open.y,
1124
1131
  height: Math.abs(l.close.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.close.y - l.open.y),
@@ -1128,7 +1135,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1128
1135
  stroke: "none",
1129
1136
  class: N({ "vue-data-ui-transition": R.value && !h(P) })
1130
1137
  }, null, 10, Sa))), 256)),
1131
- (u(!0), i(S, null, F($.value, (l, o) => (u(), i("rect", {
1138
+ (u(!0), i(S, null, F(C.value, (l, o) => (u(), i("rect", {
1132
1139
  x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
1133
1140
  y: l.isBullish ? l.close.y : l.open.y,
1134
1141
  height: Math.abs(l.close.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.close.y - l.open.y),
@@ -1143,7 +1150,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1143
1150
  }, null, 10, La))), 256))
1144
1151
  ])
1145
1152
  ], 64)) : m("", !0),
1146
- e.value.type === "ohlc" ? (u(!0), i(S, { key: 5 }, F($.value, (l, o) => (u(), i("g", null, [
1153
+ e.value.type === "ohlc" ? (u(!0), i(S, { key: 5 }, F(C.value, (l, o) => (u(), i("g", null, [
1147
1154
  p("path", {
1148
1155
  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}`,
1149
1156
  stroke: l.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish,
@@ -1151,7 +1158,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1151
1158
  }, null, 8, Ta)
1152
1159
  ]))), 256)) : m("", !0),
1153
1160
  p("g", null, [
1154
- (u(!0), i(S, null, F($.value, (l, o) => (u(), i("rect", {
1161
+ (u(!0), i(S, null, F(C.value, (l, o) => (u(), i("rect", {
1155
1162
  x: n.value.left + o * d.value,
1156
1163
  y: n.value.top,
1157
1164
  height: n.value.height <= 0 ? 1e-4 : n.value.height,
@@ -1170,7 +1177,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1170
1177
  w(t.$slots, "svg", {
1171
1178
  svg: {
1172
1179
  ...f.value,
1173
- data: $.value,
1180
+ data: C.value,
1174
1181
  drawingArea: n.value
1175
1182
  }
1176
1183
  }, void 0, !0)
@@ -1178,7 +1185,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1178
1185
  t.$slots.watermark ? (u(), i("div", Ma, [
1179
1186
  w(t.$slots, "watermark", Y(Q({ isPrinting: h(Qe) || h(Je) })), void 0, !0)
1180
1187
  ])) : m("", !0),
1181
- e.value.style.zoom.show && C.value > 6 && ge.value && dt.value ? (u(), q(Jl, {
1188
+ e.value.style.zoom.show && $.value > 6 && ge.value && dt.value ? (u(), q(Jl, {
1182
1189
  key: 5,
1183
1190
  ref_key: "chartSlicer",
1184
1191
  ref: Z,
@@ -1198,7 +1205,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1198
1205
  isPreview: tt.value,
1199
1206
  labelLeft: rt.value.start || "",
1200
1207
  labelRight: rt.value.end || "",
1201
- max: C.value,
1208
+ max: $.value,
1202
1209
  min: 0,
1203
1210
  minimap: e.value.style.zoom.minimap.show ? h(x).map((l) => l[2]) : [],
1204
1211
  minimapCompact: e.value.style.zoom.minimap.compact,
@@ -1210,7 +1217,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1210
1217
  minimapSelectedIndex: O.value,
1211
1218
  minimapSelectionRadius: 1,
1212
1219
  preciseLabels: ll.value,
1213
- refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : C.value,
1220
+ refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : $.value,
1214
1221
  refreshStartPoint: e.value.style.zoom.startIndex !== null ? e.value.style.zoom.startIndex : 0,
1215
1222
  selectColor: e.value.style.zoom.highlightColor,
1216
1223
  selectedSeries: h(x),
@@ -1259,7 +1266,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1259
1266
  ref_key: "chartLegend",
1260
1267
  ref: Ve
1261
1268
  }, [
1262
- w(t.$slots, "legend", { legend: $.value }, void 0, !0)
1269
+ w(t.$slots, "legend", { legend: C.value }, void 0, !0)
1263
1270
  ], 512),
1264
1271
  t.$slots.source ? (u(), i("div", {
1265
1272
  key: 6,
@@ -1314,7 +1321,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1314
1321
  onClose: pt
1315
1322
  }, {
1316
1323
  th: k(({ th: l }) => [
1317
- Ct(ie(l), 1)
1324
+ $t(ie(l), 1)
1318
1325
  ]),
1319
1326
  td: k(({ td: l }) => [
1320
1327
  p("div", { innerHTML: l }, null, 8, Da)
@@ -1327,7 +1334,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1327
1334
  e.value.table.useDialog ? {
1328
1335
  name: "title",
1329
1336
  fn: k(() => [
1330
- Ct(ie(oe.value.title), 1)
1337
+ $t(ie(oe.value.title), 1)
1331
1338
  ]),
1332
1339
  key: "0"
1333
1340
  } : void 0,
@@ -1351,7 +1358,7 @@ const Zl = ["id"], ea = ["xmlns", "aria-label", "viewBox"], ta = ["x", "y", "wid
1351
1358
  h(P) ? (u(), q(Vl, { key: 8 })) : m("", !0)
1352
1359
  ], 46, Zl));
1353
1360
  }
1354
- }, eo = /* @__PURE__ */ Kl(Pa, [["__scopeId", "data-v-a3929371"]]);
1361
+ }, eo = /* @__PURE__ */ Kl(Pa, [["__scopeId", "data-v-ecf2e082"]]);
1355
1362
  export {
1356
1363
  eo as default
1357
1364
  };