vue-data-ui 3.1.5 → 3.1.7

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 (89) hide show
  1. package/README.md +37 -37
  2. package/dist/{Arrow-BFbcF5Sq.js → Arrow-BZ8rnWYn.js} +1 -1
  3. package/dist/{BaseDraggableDialog-BO4B1Kwa.js → BaseDraggableDialog-Bdva4JFr.js} +2 -2
  4. package/dist/{BaseIcon-BQQGRQ2U.js → BaseIcon-BCS8aIf4.js} +1 -1
  5. package/dist/{ColorPicker-d1kmGapq.js → ColorPicker-DF6PDOhr.js} +2 -2
  6. package/dist/{DataTable-D6voeZvO.js → DataTable-Ddu14t59.js} +2 -2
  7. package/dist/{Legend-nPGcCxG_.js → Legend-C3I0iaLM.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-xRGRe41H.js → NonSvgPenAndPaper-LSG0MLRC.js} +3 -3
  9. package/dist/{PackageVersion-BeStrsPr.js → PackageVersion-CtYY8jBZ.js} +1 -1
  10. package/dist/{PenAndPaper-C6tiapdo.js → PenAndPaper-DtlEAsLw.js} +3 -3
  11. package/dist/{Shape-DBVq0fdK.js → Shape-B8Cdu8s1.js} +1 -1
  12. package/dist/{Slicer-Duqm7KZK.js → Slicer-Bk01kWGC.js} +66 -67
  13. package/dist/{SparkTooltip-wNGmXZSx.js → SparkTooltip-qMi3IzXb.js} +1 -1
  14. package/dist/{Title-ydtId0LC.js → Title-BUVvr0U8.js} +1 -1
  15. package/dist/{Tooltip-oeu9knGI.js → Tooltip-VlJQQsYu.js} +1 -1
  16. package/dist/{UserOptions-CnJxN2Vo.js → UserOptions-sSygisu3.js} +2 -2
  17. package/dist/{dom-to-png-CMCYtLrX.js → dom-to-png-BqX4MBZN.js} +1 -1
  18. package/dist/{img-Neec0VVb.js → img-DN0--Lx6.js} +1 -1
  19. package/dist/{index-BkfuZCRT.js → index-BlRUhv0O.js} +1 -1
  20. package/dist/{pdf-CpQ-dqJh.js → pdf-Cm5HZB7J.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/{useAutoSizeLabelsInsideViewbox-DR2HExYc.js → useAutoSizeLabelsInsideViewbox-wLT3gJAJ.js} +1 -1
  23. package/dist/{useNestedProp-BMzw9VUz.js → useNestedProp-OxTlfHdh.js} +1 -1
  24. package/dist/{usePrinter-CEdg3j8S.js → usePrinter-DR__HfSR.js} +2 -2
  25. package/dist/{vue-data-ui-D5B7a84o.js → vue-data-ui-Ci8pH3va.js} +64 -64
  26. package/dist/vue-data-ui.js +1 -1
  27. package/dist/{vue-ui-3d-bar-C8_Qu1rf.js → vue-ui-3d-bar-h-8AQQKD.js} +8 -8
  28. package/dist/{vue-ui-accordion-DFxAHGEZ.js → vue-ui-accordion-DejV6zJ2.js} +3 -3
  29. package/dist/{vue-ui-age-pyramid-D_kTImtX.js → vue-ui-age-pyramid-yTcDoeqi.js} +8 -8
  30. package/dist/{vue-ui-annotator-B1vSlzfu.js → vue-ui-annotator-HqsIz-FI.js} +2 -2
  31. package/dist/{vue-ui-bullet-VPchh2r2.js → vue-ui-bullet-Co4ZttnE.js} +7 -7
  32. package/dist/{vue-ui-candlestick-CB3bj7_-.js → vue-ui-candlestick-BQQR9K33.js} +58 -58
  33. package/dist/{vue-ui-carousel-table-CUiSyrTY.js → vue-ui-carousel-table-BzDik-6R.js} +4 -4
  34. package/dist/{vue-ui-chestnut-BE5ZEt1N.js → vue-ui-chestnut-5VG75w-T.js} +37 -37
  35. package/dist/{vue-ui-chord-DVSBY9ou.js → vue-ui-chord-5HE-ZTDA.js} +11 -11
  36. package/dist/{vue-ui-circle-pack-BfDjZFaF.js → vue-ui-circle-pack-BVcr-3fG.js} +232 -228
  37. package/dist/{vue-ui-cursor-BIuc6nds.js → vue-ui-cursor-BDH4YPCA.js} +2 -2
  38. package/dist/{vue-ui-dashboard-C7xIcrvD.js → vue-ui-dashboard-VtafJ36J.js} +67 -67
  39. package/dist/{vue-ui-digits-C3mI-0Fg.js → vue-ui-digits-Bh5fmCge.js} +2 -2
  40. package/dist/{vue-ui-donut-BApz1ho5.js → vue-ui-donut-PiILi3WQ.js} +10 -10
  41. package/dist/{vue-ui-donut-evolution-B2PJiYY9.js → vue-ui-donut-evolution-DVp2UID9.js} +38 -38
  42. package/dist/{vue-ui-dumbbell-DQjVvBH_.js → vue-ui-dumbbell-DIX_gcC_.js} +84 -84
  43. package/dist/{vue-ui-flow-COtJRNLE.js → vue-ui-flow-DY64szfV.js} +55 -55
  44. package/dist/{vue-ui-funnel-BY2qeg-m.js → vue-ui-funnel-DnQFZe9P.js} +31 -31
  45. package/dist/{vue-ui-galaxy-3zec_QLi.js → vue-ui-galaxy-C0TCFGXT.js} +31 -31
  46. package/dist/{vue-ui-gauge-CFUA5ORH.js → vue-ui-gauge-BNIAJlUC.js} +7 -7
  47. package/dist/{vue-ui-gizmo-CUPFU8GE.js → vue-ui-gizmo-BnHruhLB.js} +3 -3
  48. package/dist/{vue-ui-heatmap-DakytdCv.js → vue-ui-heatmap-CH_twICb.js} +10 -10
  49. package/dist/{vue-ui-history-plot-DnSB7au4.js → vue-ui-history-plot-CtJrkyG8.js} +88 -88
  50. package/dist/{vue-ui-kpi-UmcKQftv.js → vue-ui-kpi-Co0app61.js} +3 -3
  51. package/dist/{vue-ui-mini-loader-Bl8GHasa.js → vue-ui-mini-loader-DXrdP_7p.js} +2 -2
  52. package/dist/{vue-ui-molecule-BZrmSVps.js → vue-ui-molecule-C2cNArDQ.js} +8 -8
  53. package/dist/{vue-ui-mood-radar-CVM8vl5N.js → vue-ui-mood-radar-BrLLsYz5.js} +9 -9
  54. package/dist/{vue-ui-nested-donuts-LTzijeVK.js → vue-ui-nested-donuts-DRysa4v_.js} +42 -42
  55. package/dist/{vue-ui-onion-aHCc3r7L.js → vue-ui-onion-znQ-OGaR.js} +12 -11
  56. package/dist/{vue-ui-parallel-coordinate-plot-0xXe6A-6.js → vue-ui-parallel-coordinate-plot-DIX2Hytk.js} +10 -10
  57. package/dist/{vue-ui-quadrant-BlM9WNN7.js → vue-ui-quadrant-B4X5ePQQ.js} +10 -10
  58. package/dist/{vue-ui-quick-chart-CJ2Wdln9.js → vue-ui-quick-chart-Cm7iAsdB.js} +6 -6
  59. package/dist/{vue-ui-radar-Cgnooz7-.js → vue-ui-radar-CMXnDLdC.js} +10 -10
  60. package/dist/{vue-ui-rating-DF71ymNG.js → vue-ui-rating-wAMAKVA8.js} +2 -2
  61. package/dist/{vue-ui-relation-circle-DsuEL1gY.js → vue-ui-relation-circle-snHKlhA3.js} +7 -7
  62. package/dist/{vue-ui-ridgeline-DxP8uxgx.js → vue-ui-ridgeline-Bx7_nnJ7.js} +10 -10
  63. package/dist/{vue-ui-rings-C4hKgrft.js → vue-ui-rings-BGTPLeaD.js} +10 -10
  64. package/dist/{vue-ui-scatter-B_SzTSE5.js → vue-ui-scatter-D-rI3hK1.js} +10 -10
  65. package/dist/{vue-ui-skeleton-DCAlHSMV.js → vue-ui-skeleton-B-6lN9xS.js} +3 -3
  66. package/dist/{vue-ui-smiley-B_JFtrl6.js → vue-ui-smiley-DeLEE9m9.js} +2 -2
  67. package/dist/{vue-ui-spark-trend-CC7q1UbE.js → vue-ui-spark-trend-BvrboxYt.js} +3 -3
  68. package/dist/{vue-ui-sparkbar-C2YRX4mJ.js → vue-ui-sparkbar-nW5DeWC5.js} +3 -3
  69. package/dist/{vue-ui-sparkgauge-BO4c3j-8.js → vue-ui-sparkgauge-Isge2K7-.js} +3 -3
  70. package/dist/{vue-ui-sparkhistogram-BuGOHT9h.js → vue-ui-sparkhistogram-ChSw4gHY.js} +4 -4
  71. package/dist/{vue-ui-sparkline-hOyPCIt8.js → vue-ui-sparkline-DH-VRt5o.js} +3 -3
  72. package/dist/{vue-ui-sparkstackbar-DhSc-U8u.js → vue-ui-sparkstackbar-l45aaRR1.js} +3 -3
  73. package/dist/{vue-ui-stackbar-VdBWv1wm.js → vue-ui-stackbar-ByVq83Og.js} +11 -11
  74. package/dist/{vue-ui-strip-plot-CBj5ntWM.js → vue-ui-strip-plot-CwooqV7G.js} +9 -9
  75. package/dist/{vue-ui-table-BItmKbvF.js → vue-ui-table-BRPcCRq-.js} +3 -3
  76. package/dist/{vue-ui-table-heatmap-DziHVKba.js → vue-ui-table-heatmap-CaAadUo0.js} +5 -5
  77. package/dist/{vue-ui-table-sparkline-CpWDqm7q.js → vue-ui-table-sparkline-Bt7VtPKK.js} +4 -4
  78. package/dist/{vue-ui-thermometer-CWt0q_Tu.js → vue-ui-thermometer-B-CWjknr.js} +7 -7
  79. package/dist/{vue-ui-timer-BIv2sfQA.js → vue-ui-timer-CxLcOKNv.js} +5 -5
  80. package/dist/{vue-ui-tiremarks-BE_VWjK-.js → vue-ui-tiremarks-DYEZvwDv.js} +6 -6
  81. package/dist/{vue-ui-treemap-2AIbDpTo.js → vue-ui-treemap-CeuebtPa.js} +10 -10
  82. package/dist/{vue-ui-vertical-bar-CP-XFVV5.js → vue-ui-vertical-bar-D8_txlgd.js} +50 -50
  83. package/dist/{vue-ui-waffle-CewP8k-W.js → vue-ui-waffle-B5Qe5PKA.js} +32 -32
  84. package/dist/{vue-ui-wheel-Ik8FoLfz.js → vue-ui-wheel-CxpLOCGw.js} +6 -6
  85. package/dist/{vue-ui-word-cloud-CEEc5ep_.js → vue-ui-word-cloud-DCoL3uD5.js} +38 -38
  86. package/dist/{vue-ui-world-CuwXMI3D.js → vue-ui-world-DmnwTNAv.js} +8 -8
  87. package/dist/{vue-ui-xy-Bsh2OBHp.js → vue-ui-xy-CzdchisK.js} +1090 -1075
  88. package/dist/{vue-ui-xy-canvas-CKzjhhNg.js → vue-ui-xy-canvas-CJp0mlzr.js} +12 -12
  89. package/package.json +4 -2
@@ -1,18 +1,18 @@
1
- import { defineAsyncComponent as F, computed as g, ref as r, toRefs as Vt, watch as te, shallowRef as Ke, onMounted as Mt, onBeforeUnmount as Qe, watchEffect as Ut, nextTick as we, createElementBlock as i, openBlock as s, unref as u, normalizeStyle as Ae, normalizeClass as T, createBlock as D, createCommentVNode as p, createElementVNode as y, createVNode as Ce, createSlots as Ze, withCtx as b, renderSlot as m, normalizeProps as B, guardReactiveProps as E, Fragment as V, renderList as M, toDisplayString as Y, resolveDynamicComponent as Wt, mergeProps as Ht, createTextVNode as et } from "vue";
2
- import { u as Gt, c as Xt, t as jt, b as Yt, C as le, o as tt, f as U, D as qt, h as q, i as L, X as Jt, x as ae, s as Kt, E as lt, v as Qt, w as Zt, y as el, z as tl } from "./index-BkfuZCRT.js";
1
+ import { defineAsyncComponent as F, computed as p, ref as r, toRefs as Vt, watch as te, shallowRef as Ke, onMounted as Mt, onBeforeUnmount as Qe, watchEffect as Ut, nextTick as we, createElementBlock as i, openBlock as s, unref as u, normalizeStyle as Ae, normalizeClass as T, createBlock as D, createCommentVNode as g, createElementVNode as y, createVNode as Ce, createSlots as Ze, withCtx as b, renderSlot as m, normalizeProps as B, guardReactiveProps as E, Fragment as V, renderList as M, toDisplayString as Y, resolveDynamicComponent as Wt, mergeProps as Ht, createTextVNode as et } from "vue";
2
+ import { u as Gt, c as Xt, t as jt, b as Yt, C as le, o as tt, f as U, D as qt, h as q, i as L, X as Jt, x as ae, s as Kt, E as lt, v as Qt, w as Zt, y as el, z as tl } from "./index-BlRUhv0O.js";
3
3
  import { t as at, u as ll } from "./useResponsive-DfdjqQps.js";
4
- import { u as al } from "./usePrinter-CEdg3j8S.js";
4
+ import { u as al } from "./usePrinter-DR__HfSR.js";
5
5
  import { u as ol, B as sl } from "./BaseScanner-BgWxam9d.js";
6
- import { u as ot } from "./useNestedProp-BMzw9VUz.js";
6
+ import { u as ot } from "./useNestedProp-OxTlfHdh.js";
7
7
  import { u as ul } from "./useTimeLabels-BGFjWgrv.js";
8
8
  import { u as il } from "./useUserOptionState-BIvW1Kz7.js";
9
9
  import { u as nl } from "./useChartAccessibility-9icAAmYg.js";
10
10
  import { u as rl } from "./useTimeLabelCollider-CIsgDrl9.js";
11
- import vl from "./img-Neec0VVb.js";
12
- import dl from "./Title-ydtId0LC.js";
13
- import { S as cl } from "./Slicer-Duqm7KZK.js";
11
+ import vl from "./img-DN0--Lx6.js";
12
+ import dl from "./Title-BUVvr0U8.js";
13
+ import { S as cl } from "./Slicer-Bk01kWGC.js";
14
14
  import { _ as yl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "width", "height"], pl = { key: 1 }, bl = ["id"], ml = ["stop-color"], xl = ["stop-color"], kl = ["stop-color"], wl = ["id"], Al = ["stop-color"], Cl = ["stop-color"], _l = ["stop-color"], $l = { key: 0 }, zl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Sl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ll = ["x", "y", "font-size", "fill", "font-weight"], Il = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Fl = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Rl = ["x", "y", "width", "height", "fill", "rx"], Ol = { key: 0 }, Pl = ["cx", "cy", "r", "fill"], Nl = ["cx", "cy", "r", "fill"], Dl = { key: 1 }, Bl = ["x", "y", "width", "height", "rx", "fill"], El = ["x", "y", "width", "height", "fill", "rx"], Vl = ["x", "y", "height", "width", "fill", "rx"], Ml = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Ul = ["x", "y", "height", "width", "fill", "onMouseover", "onMouseleave", "onClick"], Wl = {
15
+ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], pl = ["x", "y", "width", "height"], gl = { key: 1 }, bl = ["id"], ml = ["stop-color"], xl = ["stop-color"], kl = ["stop-color"], wl = ["id"], Al = ["stop-color"], Cl = ["stop-color"], _l = ["stop-color"], $l = { key: 0 }, zl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Sl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ll = ["x", "y", "font-size", "fill", "font-weight"], Il = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Fl = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Rl = ["x", "y", "width", "height", "fill", "rx"], Ol = { key: 0 }, Pl = ["cx", "cy", "r", "fill"], Nl = ["cx", "cy", "r", "fill"], Dl = { key: 1 }, Bl = ["x", "y", "width", "height", "rx", "fill"], El = ["x", "y", "width", "height", "fill", "rx"], Vl = ["x", "y", "height", "width", "fill", "rx"], Ml = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Ul = ["x", "y", "height", "width", "fill", "onMouseover", "onMouseleave", "onClick"], Wl = {
16
16
  key: 4,
17
17
  class: "vue-data-ui-watermark"
18
18
  }, Hl = ["innerHTML"], Gl = {
@@ -32,13 +32,13 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
32
32
  }
33
33
  },
34
34
  setup(st, { expose: ut }) {
35
- const it = F(() => import("./BaseIcon-BQQGRQ2U.js")), nt = F(() => import("./Tooltip-oeu9knGI.js")), rt = F(() => import("./vue-ui-accordion-DFxAHGEZ.js")), vt = F(() => import("./DataTable-D6voeZvO.js")), dt = F(() => import("./PenAndPaper-C6tiapdo.js")), ct = F(() => import("./UserOptions-CnJxN2Vo.js")), yt = F(() => import("./PackageVersion-BeStrsPr.js")), ht = F(() => import("./BaseDraggableDialog-BO4B1Kwa.js")), { vue_ui_candlestick: ft } = Gt(), h = st, oe = g(() => !!h.dataset && h.dataset.length), $ = r(!1), se = r(null), A = r(Xt()), ue = r(!1), ie = r(""), ne = r(void 0), _e = r(0), z = r(null), $e = r(null), ze = r(null), Se = r(null), Te = r(null), Le = r(null), J = r(0), Ie = r(0), Fe = r(0), re = r(null), H = r(null), G = r(null), ve = r(null), e = r(ye()), { loading: S, FINAL_DATASET: C, manualLoading: de } = ol({
35
+ const it = F(() => import("./BaseIcon-BCS8aIf4.js")), nt = F(() => import("./Tooltip-VlJQQsYu.js")), rt = F(() => import("./vue-ui-accordion-DejV6zJ2.js")), vt = F(() => import("./DataTable-Ddu14t59.js")), dt = F(() => import("./PenAndPaper-DtlEAsLw.js")), ct = F(() => import("./UserOptions-sSygisu3.js")), yt = F(() => import("./PackageVersion-CtYY8jBZ.js")), ht = F(() => import("./BaseDraggableDialog-Bdva4JFr.js")), { vue_ui_candlestick: ft } = Gt(), h = st, oe = p(() => !!h.dataset && h.dataset.length), $ = r(!1), se = r(null), A = r(Xt()), ue = r(!1), ie = r(""), ne = r(void 0), _e = r(0), z = r(null), $e = r(null), ze = r(null), Se = r(null), Te = r(null), Le = r(null), J = r(0), Ie = r(0), Fe = r(0), re = r(null), H = r(null), G = r(null), ve = r(null), e = r(ye()), { loading: S, FINAL_DATASET: C, manualLoading: de } = ol({
36
36
  ...Vt(h),
37
37
  FINAL_CONFIG: e,
38
38
  prepareConfig: ye,
39
39
  callback: () => {
40
40
  Promise.resolve().then(async () => {
41
- await pe();
41
+ await ge();
42
42
  });
43
43
  },
44
44
  skeletonDataset: [
@@ -124,7 +124,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
124
124
  Mt(() => {
125
125
  Ne();
126
126
  });
127
- const R = g(() => !!e.value.debug);
127
+ const R = p(() => !!e.value.debug);
128
128
  function Ne() {
129
129
  if (tt(h.dataset) && (U({
130
130
  componentName: "VueUiCandlestick",
@@ -163,7 +163,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
163
163
  });
164
164
  I.value && (W.value && I.value.unobserve(W.value), I.value.disconnect()), I.value = new ResizeObserver(a), W.value = z.value.parentNode, I.value.observe(W.value);
165
165
  }
166
- pe();
166
+ ge();
167
167
  }
168
168
  Qe(() => {
169
169
  I.value && (W.value && I.value.unobserve(W.value), I.value.disconnect());
@@ -172,23 +172,23 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
172
172
  elementId: `vue-ui-candlestick_${A.value}`,
173
173
  fileName: e.value.style.title.text || "vue-ui-candlestick",
174
174
  options: e.value.userOptions.print
175
- }), gt = g(() => e.value.userOptions.show && !e.value.style.title.text), k = r({
175
+ }), pt = p(() => e.value.userOptions.show && !e.value.style.title.text), k = r({
176
176
  showTable: e.value.table.show,
177
177
  showTooltip: e.value.style.tooltip.show
178
- }), he = r(0), pt = at((t) => {
178
+ }), he = r(0), gt = at((t) => {
179
179
  he.value = t;
180
180
  }, 100);
181
181
  Ut((t) => {
182
182
  const a = H.value;
183
183
  if (!a) return;
184
184
  const l = new ResizeObserver((o) => {
185
- pt(o[0].contentRect.height);
185
+ gt(o[0].contentRect.height);
186
186
  });
187
187
  l.observe(a), t(() => l.disconnect());
188
188
  }), Qe(() => {
189
189
  he.value = 0;
190
190
  });
191
- const Me = g(() => {
191
+ const Me = p(() => {
192
192
  let t = 0;
193
193
  return H.value && (t = he.value + c.value.xAxisFontSize), t;
194
194
  });
@@ -199,7 +199,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
199
199
  return f > o ? f : o;
200
200
  }, 0)), t + 13;
201
201
  }
202
- const n = g(() => {
202
+ const n = p(() => {
203
203
  const { top: t, right: a, bottom: l, left: o } = e.value.style.layout.padding, x = bt(), f = 12;
204
204
  return {
205
205
  top: t + f,
@@ -209,13 +209,13 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
209
209
  width: c.value.width - o - a - x,
210
210
  height: c.value.height - t - l - Me.value - f
211
211
  };
212
- }), X = g(() => C.value.length), v = r({
212
+ }), X = p(() => C.value.length), v = r({
213
213
  start: 0,
214
214
  end: X.value
215
- }), Ue = g(() => C.value.map((t, a) => ({
215
+ }), Ue = p(() => C.value.map((t, a) => ({
216
216
  ...t,
217
217
  absoluteIndex: a
218
- })).slice(v.value.start, v.value.end)), fe = g(() => (C.value.forEach((t, a) => {
218
+ })).slice(v.value.start, v.value.end)), fe = p(() => (C.value.forEach((t, a) => {
219
219
  [null, void 0].includes(t[0]) && U({
220
220
  componentName: "VueUiCandlestick",
221
221
  type: "datasetAttribute",
@@ -261,13 +261,13 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
261
261
  low: t[3],
262
262
  last: t[4],
263
263
  volume: t[5]
264
- })))), d = g(() => n.value.width / Ue.value.length), We = g(() => {
264
+ })))), d = p(() => n.value.width / Ue.value.length), We = p(() => {
265
265
  const t = e.value.style.layout.grid.yAxis.scale.max === null ? Math.max(...fe.value.map((l) => l.high)) : e.value.style.layout.grid.yAxis.scale.max, a = e.value.style.layout.grid.yAxis.scale.min === null ? 0 : e.value.style.layout.grid.yAxis.scale.min;
266
266
  return {
267
267
  max: t,
268
268
  min: a
269
269
  };
270
- }), _ = g(() => qt(We.value.min, We.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
270
+ }), _ = p(() => qt(We.value.min, We.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
271
271
  function K(t, a) {
272
272
  return {
273
273
  ...t,
@@ -276,7 +276,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
276
276
  value: q(t)
277
277
  };
278
278
  }
279
- const w = g(() => fe.value.map((t, a) => {
279
+ const w = p(() => fe.value.map((t, a) => {
280
280
  const l = K(t.open, a), o = K(t.high, a), x = K(t.low, a), f = K(t.last, a), N = t.last > t.open;
281
281
  return {
282
282
  period: t.period,
@@ -292,22 +292,22 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
292
292
  function mt(t) {
293
293
  return q((t - _.value.min) / (_.value.max - _.value.min));
294
294
  }
295
- const xt = g(() => _.value.ticks.map((t) => ({
295
+ const xt = p(() => _.value.ticks.map((t) => ({
296
296
  y: n.value.bottom - n.value.height * mt(t),
297
297
  value: q(t)
298
- }))), kt = g(() => fe.value.map((t) => t.period)), O = g(() => ul({
298
+ }))), kt = p(() => fe.value.map((t) => t.period)), O = p(() => ul({
299
299
  values: C.value.map((t) => t[0]),
300
300
  maxDatapoints: C.value.length,
301
301
  formatter: e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
302
302
  start: v.value.start,
303
303
  end: v.value.end
304
- })), He = g(() => e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
304
+ })), He = p(() => e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
305
305
  start: O.value.find((t) => t.absoluteIndex === v.value.start).text,
306
306
  end: O.value.find((t) => t.absoluteIndex === v.value.end - 1).text
307
307
  } : {
308
308
  start: C.value[v.value.start] ? C.value[v.value.start][0] : C.value[0][0],
309
309
  end: C.value[v.value.end - 1] ? C.value[v.value.end - 1][0] : C.value.at(-1)[0]
310
- }), ge = r(null);
310
+ }), pe = r(null);
311
311
  function wt(t, a) {
312
312
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: a, seriesIndex: t + v.value.start });
313
313
  }
@@ -315,7 +315,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
315
315
  e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: t + v.value.start }), ne.value = void 0, ue.value = !1;
316
316
  }
317
317
  function Ct(t, a) {
318
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: a, seriesIndex: t + v.value.start }), ne.value = t, ge.value = {
318
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: a, seriesIndex: t + v.value.start }), ne.value = t, pe.value = {
319
319
  datapoint: a,
320
320
  seriesIndex: t,
321
321
  series: w.value,
@@ -371,10 +371,10 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
371
371
  ue.value = !0;
372
372
  }
373
373
  function _t() {
374
- pe();
374
+ ge();
375
375
  }
376
376
  const Ge = r(null);
377
- async function pe() {
377
+ async function ge() {
378
378
  await we(), await we();
379
379
  const { startIndex: t, endIndex: a } = e.value.style.zoom, l = Ge.value, o = X.value;
380
380
  v.value = { start: 0, end: o }, (t != null || a != null) && l ? (t != null ? l.setStartValue(t) : (v.value.start = 0, l.setStartValue(0)), a != null ? l.setEndValue($t(a + 1)) : (v.value.end = o, l.setEndValue(o))) : (v.value = { start: 0, end: o }, J.value += 1);
@@ -396,7 +396,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
396
396
  t ? t(x) : Zt({ csvContent: x, title: e.value.style.title.text || "vue-ui-candlestick" });
397
397
  });
398
398
  }
399
- const Q = g(() => {
399
+ const Q = p(() => {
400
400
  const t = w.value.map((o, x) => {
401
401
  const f = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? O.value[x].text : o.period, N = L({
402
402
  p: e.value.table.td.prefix,
@@ -474,7 +474,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
474
474
  aspectRatio: o
475
475
  };
476
476
  }
477
- const St = g(() => c.value.width), Tt = g(() => c.value.height);
477
+ const St = p(() => c.value.width), Tt = p(() => c.value.height);
478
478
  rl({
479
479
  timeLabelsEls: H,
480
480
  timeLabels: O,
@@ -492,7 +492,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
492
492
  showTooltip: e.value.style.tooltip.show
493
493
  };
494
494
  }, { immediate: !0 });
495
- const j = g(() => {
495
+ const j = p(() => {
496
496
  const t = e.value.table.useDialog && !e.value.table.show, a = k.value.showTable;
497
497
  return {
498
498
  component: t ? ht : rt,
@@ -553,14 +553,14 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
553
553
  color: e.value.style.color,
554
554
  active: Z.value,
555
555
  onClose: me
556
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : p("", !0),
557
- gt.value ? (s(), i("div", {
556
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
557
+ pt.value ? (s(), i("div", {
558
558
  key: 1,
559
559
  ref_key: "noTitle",
560
560
  ref: Le,
561
561
  class: "vue-data-ui-no-title-space",
562
562
  style: "height:36px; width: 100%;background:transparent"
563
- }, null, 512)) : p("", !0),
563
+ }, null, 512)) : g("", !0),
564
564
  e.value.style.title.text ? (s(), i("div", {
565
565
  key: 2,
566
566
  ref_key: "chartTitle",
@@ -580,7 +580,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
580
580
  }
581
581
  }
582
582
  }, null, 8, ["config"]))
583
- ], 512)) : p("", !0),
583
+ ], 512)) : g("", !0),
584
584
  e.value.userOptions.show && oe.value && (u(Oe) || u(ce)) ? (s(), D(u(ct), {
585
585
  ref_key: "userOptionsRef",
586
586
  ref: ve,
@@ -673,7 +673,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
673
673
  ]),
674
674
  key: "7"
675
675
  } : void 0
676
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : p("", !0),
676
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
677
677
  (s(), i("svg", {
678
678
  ref_key: "svgRef",
679
679
  ref: Pe,
@@ -695,8 +695,8 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
695
695
  }
696
696
  }, [
697
697
  m(t.$slots, "chart-background", {}, void 0, !0)
698
- ], 8, gl)) : p("", !0),
699
- w.value.length > 0 ? (s(), i("g", pl, [
698
+ ], 8, pl)) : g("", !0),
699
+ w.value.length > 0 ? (s(), i("g", gl, [
700
700
  y("defs", null, [
701
701
  y("linearGradient", {
702
702
  id: `bearish_gradient_${A.value}`,
@@ -754,7 +754,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
754
754
  "stroke-width": e.value.style.layout.grid.strokeWidth,
755
755
  "stroke-linecap": "round"
756
756
  }, null, 8, Sl)
757
- ])) : p("", !0),
757
+ ])) : g("", !0),
758
758
  e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), i("g", {
759
759
  key: 1,
760
760
  ref_key: "scaleLabels",
@@ -770,7 +770,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
770
770
  stroke: e.value.style.layout.grid.stroke,
771
771
  "stroke-width": e.value.style.layout.grid.strokeWidth,
772
772
  "stroke-linecap": "round"
773
- }, null, 8, Tl)) : p("", !0),
773
+ }, null, 8, Tl)) : g("", !0),
774
774
  l.value >= _.value.min && l.value <= _.value.max ? (s(), i("text", {
775
775
  key: 1,
776
776
  x: n.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
@@ -784,9 +784,9 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
784
784
  v: l.value,
785
785
  s: e.value.style.layout.grid.yAxis.dataLabels.suffix,
786
786
  r: e.value.style.layout.grid.yAxis.dataLabels.roundingValue
787
- })), 9, Ll)) : p("", !0)
787
+ })), 9, Ll)) : g("", !0)
788
788
  ]))), 256))
789
- ], 512)) : p("", !0),
789
+ ], 512)) : g("", !0),
790
790
  e.value.style.layout.grid.xAxis.dataLabels.show && !e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), i("g", {
791
791
  key: 2,
792
792
  ref_key: "timeLabelsEls",
@@ -802,7 +802,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
802
802
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
803
803
  }, Y(l), 9, Il)
804
804
  ]))), 256))
805
- ], 512)) : p("", !0),
805
+ ], 512)) : g("", !0),
806
806
  e.value.style.layout.grid.xAxis.dataLabels.show && e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? (s(), i("g", {
807
807
  key: 3,
808
808
  ref_key: "timeLabelsEls",
@@ -818,7 +818,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
818
818
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
819
819
  }, Y(l.text), 9, Fl)
820
820
  ]))), 256))
821
- ], 512)) : p("", !0),
821
+ ], 512)) : g("", !0),
822
822
  y("g", null, [
823
823
  (s(!0), i(V, null, M(w.value, (l, o) => (s(), i("g", null, [
824
824
  y("rect", {
@@ -846,7 +846,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
846
846
  fill: e.value.style.layout.wick.extremity.color,
847
847
  class: T({ "vue-data-ui-transition": $.value && !u(S) })
848
848
  }, null, 10, Nl)
849
- ])) : p("", !0),
849
+ ])) : g("", !0),
850
850
  e.value.style.layout.wick.extremity.shape === "line" ? (s(), i("g", Dl, [
851
851
  y("rect", {
852
852
  x: l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
@@ -868,7 +868,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
868
868
  rx: e.value.style.layout.wick.strokeWidth / 2,
869
869
  class: T({ "vue-data-ui-transition": $.value && !u(S) })
870
870
  }, null, 10, El)
871
- ])) : p("", !0)
871
+ ])) : g("", !0)
872
872
  ]))), 256))
873
873
  ]),
874
874
  y("g", null, [
@@ -908,12 +908,12 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
908
908
  onClick: () => wt(o, l)
909
909
  }, null, 40, Ul))), 256))
910
910
  ])
911
- ])) : p("", !0),
911
+ ])) : g("", !0),
912
912
  m(t.$slots, "svg", { svg: c.value }, void 0, !0)
913
913
  ], 14, fl)),
914
914
  t.$slots.watermark ? (s(), i("div", Wl, [
915
915
  m(t.$slots, "watermark", B(E({ isPrinting: u(De) || u(Be) })), void 0, !0)
916
- ])) : p("", !0),
916
+ ])) : g("", !0),
917
917
  e.value.style.zoom.show && oe.value ? (s(), i("div", {
918
918
  key: 5,
919
919
  ref_key: "chartSlicer",
@@ -951,7 +951,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
951
951
  ]),
952
952
  _: 3
953
953
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"]))
954
- ], 512)) : p("", !0),
954
+ ], 512)) : g("", !0),
955
955
  y("div", {
956
956
  ref_key: "chartLegend",
957
957
  ref: ze
@@ -965,7 +965,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
965
965
  dir: "auto"
966
966
  }, [
967
967
  m(t.$slots, "source", {}, void 0, !0)
968
- ], 512)) : p("", !0),
968
+ ], 512)) : g("", !0),
969
969
  Ce(u(nt), {
970
970
  show: k.value.showTooltip && ue.value,
971
971
  backgroundColor: e.value.style.tooltip.backgroundColor,
@@ -987,14 +987,14 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
987
987
  smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
988
988
  }, {
989
989
  "tooltip-before": b(() => [
990
- m(t.$slots, "tooltip-before", B(E({ ...ge.value })), void 0, !0)
990
+ m(t.$slots, "tooltip-before", B(E({ ...pe.value })), void 0, !0)
991
991
  ]),
992
992
  "tooltip-after": b(() => [
993
- m(t.$slots, "tooltip-after", B(E({ ...ge.value })), void 0, !0)
993
+ m(t.$slots, "tooltip-after", B(E({ ...pe.value })), void 0, !0)
994
994
  ]),
995
995
  _: 3
996
996
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
997
- oe.value ? (s(), D(Wt(j.value.component), Ht({ key: 7 }, j.value.props, {
997
+ oe.value && e.value.userOptions.buttons.table ? (s(), D(Wt(j.value.component), Ht({ key: 7 }, j.value.props, {
998
998
  ref_key: "tableUnit",
999
999
  ref: G,
1000
1000
  onClose: qe
@@ -1044,11 +1044,11 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
1044
1044
  ]),
1045
1045
  key: "1"
1046
1046
  } : void 0
1047
- ]), 1040)) : p("", !0),
1048
- u(S) ? (s(), D(sl, { key: 8 })) : p("", !0)
1047
+ ]), 1040)) : g("", !0),
1048
+ u(S) ? (s(), D(sl, { key: 8 })) : g("", !0)
1049
1049
  ], 46, hl));
1050
1050
  }
1051
- }, ia = /* @__PURE__ */ yl(Gl, [["__scopeId", "data-v-14b30a3c"]]);
1051
+ }, ia = /* @__PURE__ */ yl(Gl, [["__scopeId", "data-v-5de3d075"]]);
1052
1052
  export {
1053
1053
  ia as default
1054
1054
  };
@@ -1,7 +1,7 @@
1
1
  import { defineAsyncComponent as ce, ref as n, useSlots as Se, onMounted as w, computed as R, watch as N, onBeforeUnmount as G, shallowRef as ze, nextTick as fe, createElementBlock as v, openBlock as r, unref as u, createElementVNode as U, createBlock as he, createCommentVNode as S, normalizeClass as Ee, normalizeStyle as h, createTextVNode as D, renderSlot as p, toDisplayString as X, Fragment as j, renderList as J, mergeProps as me, createSlots as He, withCtx as A, normalizeProps as ge, guardReactiveProps as be } from "vue";
2
- import { u as Ne, c as Ue, o as K, f as Q, s as Ve, v as Me, w as Le } from "./index-BkfuZCRT.js";
3
- import { u as qe } from "./useNestedProp-BMzw9VUz.js";
4
- import { u as Ge } from "./usePrinter-CEdg3j8S.js";
2
+ import { u as Ne, c as Ue, o as K, f as Q, s as Ve, v as Me, w as Le } from "./index-BlRUhv0O.js";
3
+ import { u as qe } from "./useNestedProp-OxTlfHdh.js";
4
+ import { u as Ge } from "./usePrinter-DR__HfSR.js";
5
5
  import { u as De } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { _ as Xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  const je = ["id"], Je = ["height"], Ke = ["data-cell", "height"], Qe = {
@@ -25,7 +25,7 @@ const je = ["id"], Je = ["height"], Ke = ["data-cell", "height"], Qe = {
25
25
  }
26
26
  },
27
27
  setup(T, { expose: ye }) {
28
- const Ce = ce(() => import("./vue-ui-skeleton-DCAlHSMV.js")), $e = ce(() => import("./UserOptions-CnJxN2Vo.js")), { vue_ui_carousel_table: Te } = Ne(), i = T, V = n(Ue()), W = n(!1), O = n(!!i.dataset), ke = Se();
28
+ const Ce = ce(() => import("./vue-ui-skeleton-B-6lN9xS.js")), $e = ce(() => import("./UserOptions-sSygisu3.js")), { vue_ui_carousel_table: Te } = Ne(), i = T, V = n(Ue()), W = n(!1), O = n(!!i.dataset), ke = Se();
29
29
  w(() => {
30
30
  Y();
31
31
  }), w(() => {