vue-data-ui 3.2.0 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/dist/{Arrow-cyyFTTnm.js → Arrow-BWqgcDpl.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Bf6A6G_f.js → BaseDraggableDialog-Cg4ZF9cb.js} +2 -2
  3. package/dist/{BaseIcon-D2f9w5Z5.js → BaseIcon-e63bhLIi.js} +1 -1
  4. package/dist/{ColorPicker-gaAecgEC.js → ColorPicker-BO4ntExI.js} +2 -2
  5. package/dist/{DataTable-xISHA7Pu.js → DataTable-dv6G7Krn.js} +10 -10
  6. package/dist/{Legend-_Rv594VS.js → Legend-CVcdvTLM.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-DiM4-9ju.js → NonSvgPenAndPaper-DSmotL8i.js} +3 -3
  8. package/dist/{PackageVersion-D242JXMq.js → PackageVersion-C3Vg-vTM.js} +1 -1
  9. package/dist/{PenAndPaper-CtDMyIvW.js → PenAndPaper-CplrzuG7.js} +3 -3
  10. package/dist/{Shape-BDy56-wS.js → Shape-D_vfF7sk.js} +1 -1
  11. package/dist/{Slicer-BgpOhmb6.js → Slicer-BO2wNLcR.js} +121 -121
  12. package/dist/{SparkTooltip-DOFGBHJ-.js → SparkTooltip-B82G5-BO.js} +1 -1
  13. package/dist/{Title-pI68ZJsq.js → Title-DlqxaiIs.js} +1 -1
  14. package/dist/{Tooltip-Clf2K3CF.js → Tooltip-BKqK7z38.js} +1 -1
  15. package/dist/{UserOptions-Bn3u4JQu.js → UserOptions-C9IFsUt0.js} +2 -2
  16. package/dist/components/arrow.js +1 -1
  17. package/dist/components/vue-ui-3d-bar.js +1 -1
  18. package/dist/components/vue-ui-accordion.js +1 -1
  19. package/dist/components/vue-ui-age-pyramid.js +1 -1
  20. package/dist/components/vue-ui-bullet.js +1 -1
  21. package/dist/components/vue-ui-candlestick.js +1 -1
  22. package/dist/components/vue-ui-carousel-table.js +1 -1
  23. package/dist/components/vue-ui-chestnut.js +1 -1
  24. package/dist/components/vue-ui-chord.js +1 -1
  25. package/dist/components/vue-ui-circle-pack.js +1 -1
  26. package/dist/components/vue-ui-cursor.js +1 -1
  27. package/dist/components/vue-ui-dashboard.js +1 -1
  28. package/dist/components/vue-ui-digits.js +1 -1
  29. package/dist/components/vue-ui-donut-evolution.js +1 -1
  30. package/dist/components/vue-ui-donut.js +1 -1
  31. package/dist/components/vue-ui-dumbbell.js +1 -1
  32. package/dist/components/vue-ui-flow.js +1 -1
  33. package/dist/components/vue-ui-funnel.js +1 -1
  34. package/dist/components/vue-ui-galaxy.js +1 -1
  35. package/dist/components/vue-ui-gauge.js +1 -1
  36. package/dist/components/vue-ui-gizmo.js +1 -1
  37. package/dist/components/vue-ui-heatmap.js +1 -1
  38. package/dist/components/vue-ui-history-plot.js +1 -1
  39. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  40. package/dist/components/vue-ui-icon.js +1 -1
  41. package/dist/components/vue-ui-kpi.js +1 -1
  42. package/dist/components/vue-ui-mini-loader.js +1 -1
  43. package/dist/components/vue-ui-molecule.js +1 -1
  44. package/dist/components/vue-ui-mood-radar.js +1 -1
  45. package/dist/components/vue-ui-nested-donuts.js +1 -1
  46. package/dist/components/vue-ui-onion.js +1 -1
  47. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  48. package/dist/components/vue-ui-quadrant.js +1 -1
  49. package/dist/components/vue-ui-quick-chart.js +1 -1
  50. package/dist/components/vue-ui-radar.js +1 -1
  51. package/dist/components/vue-ui-rating.js +1 -1
  52. package/dist/components/vue-ui-relation-circle.js +1 -1
  53. package/dist/components/vue-ui-ridgeline.js +1 -1
  54. package/dist/components/vue-ui-rings.js +1 -1
  55. package/dist/components/vue-ui-scatter.js +1 -1
  56. package/dist/components/vue-ui-skeleton.js +1 -1
  57. package/dist/components/vue-ui-smiley.js +1 -1
  58. package/dist/components/vue-ui-spark-trend.js +1 -1
  59. package/dist/components/vue-ui-sparkbar.js +1 -1
  60. package/dist/components/vue-ui-sparkgauge.js +1 -1
  61. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  62. package/dist/components/vue-ui-sparkline.js +1 -1
  63. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  64. package/dist/components/vue-ui-stackbar.js +1 -1
  65. package/dist/components/vue-ui-strip-plot.js +1 -1
  66. package/dist/components/vue-ui-table-heatmap.js +1 -1
  67. package/dist/components/vue-ui-table-sparkline.js +1 -1
  68. package/dist/components/vue-ui-table.js +1 -1
  69. package/dist/components/vue-ui-thermometer.js +1 -1
  70. package/dist/components/vue-ui-timer.js +1 -1
  71. package/dist/components/vue-ui-tiremarks.js +1 -1
  72. package/dist/components/vue-ui-treemap.js +1 -1
  73. package/dist/components/vue-ui-vertical-bar.js +1 -1
  74. package/dist/components/vue-ui-waffle.js +1 -1
  75. package/dist/components/vue-ui-wheel.js +1 -1
  76. package/dist/components/vue-ui-word-cloud.js +1 -1
  77. package/dist/components/vue-ui-world.js +1 -1
  78. package/dist/components/vue-ui-xy-canvas.js +1 -1
  79. package/dist/components/vue-ui-xy.js +1 -1
  80. package/dist/{dom-to-png-CSg_eTqL.js → dom-to-png-1edcjS0-.js} +1 -1
  81. package/dist/{img-CH7J0fYg.js → img-A48JwXxj.js} +1 -1
  82. package/dist/{lib-p5pfHmOX.js → lib-CDp2KgIU.js} +345 -362
  83. package/dist/{pdf-Wd2BQz4D.js → pdf-BZV8MuXM.js} +1 -1
  84. package/dist/style.css +1 -1
  85. package/dist/types/vue-data-ui.d.ts +21 -0
  86. package/dist/{useAutoSizeLabelsInsideViewbox-VqESrzQg.js → useAutoSizeLabelsInsideViewbox-C2IsrQqi.js} +1 -1
  87. package/dist/{useNestedProp-DF7e2h1z.js → useNestedProp-Cwtenuui.js} +56 -31
  88. package/dist/{usePrinter-Yeu5jOfm.js → usePrinter-DU_Pi3Rq.js} +2 -2
  89. package/dist/{vue-data-ui-BQ0WHd6H.js → vue-data-ui-BHJOTOQY.js} +64 -64
  90. package/dist/vue-data-ui.js +68 -68
  91. package/dist/{vue-ui-3d-bar-BNRehnyF.js → vue-ui-3d-bar-rxghnZJO.js} +6 -6
  92. package/dist/{vue-ui-accordion-D-L73-T2.js → vue-ui-accordion-BWnxgda4.js} +4 -4
  93. package/dist/{vue-ui-age-pyramid-TVT4PaCQ.js → vue-ui-age-pyramid-gT_SnI-F.js} +6 -6
  94. package/dist/{vue-ui-annotator-SoAGIAm-.js → vue-ui-annotator-BkHDHfHG.js} +3 -3
  95. package/dist/{vue-ui-bullet-BQ47U1fM.js → vue-ui-bullet-DREbhLhy.js} +7 -7
  96. package/dist/{vue-ui-candlestick-DxqNj65Y.js → vue-ui-candlestick-D4P15Ci1.js} +7 -7
  97. package/dist/{vue-ui-carousel-table-DCenp2Yb.js → vue-ui-carousel-table-C24KX4gd.js} +4 -4
  98. package/dist/{vue-ui-chestnut-CvaTK5g0.js → vue-ui-chestnut-BbQknrj0.js} +6 -6
  99. package/dist/{vue-ui-chord-BtFHfEyn.js → vue-ui-chord-BM4_D9kI.js} +9 -9
  100. package/dist/{vue-ui-circle-pack-CbwDKath.js → vue-ui-circle-pack-S4Asc9CS.js} +8 -8
  101. package/dist/{vue-ui-cursor-0muOlHSh.js → vue-ui-cursor-F9MXsQ1K.js} +2 -2
  102. package/dist/{vue-ui-dashboard-BWXIq06l.js → vue-ui-dashboard-D6LHLdFS.js} +69 -69
  103. package/dist/{vue-ui-digits-DOUNtmB0.js → vue-ui-digits-B_8VzLOS.js} +2 -2
  104. package/dist/{vue-ui-donut-75agsMef.js → vue-ui-donut-B7T8_tP1.js} +8 -8
  105. package/dist/{vue-ui-donut-evolution-DCCu-tXT.js → vue-ui-donut-evolution-DOn-7PnK.js} +8 -8
  106. package/dist/{vue-ui-dumbbell-7FKgJlQt.js → vue-ui-dumbbell-Ch66pFUG.js} +7 -7
  107. package/dist/{vue-ui-flow-CshaNTgP.js → vue-ui-flow-DPcsRLJJ.js} +7 -7
  108. package/dist/{vue-ui-funnel-Xnd-FRVA.js → vue-ui-funnel-BdcKoacQ.js} +7 -7
  109. package/dist/{vue-ui-galaxy-D-MU1xl4.js → vue-ui-galaxy-D3c-O1Op.js} +7 -7
  110. package/dist/{vue-ui-gauge-NVrFlPvW.js → vue-ui-gauge-D1zbKzZQ.js} +7 -7
  111. package/dist/{vue-ui-gizmo-zIjavyoS.js → vue-ui-gizmo-CcrANrSX.js} +3 -3
  112. package/dist/{vue-ui-heatmap-GDVWtrn6.js → vue-ui-heatmap-CcvV9Y14.js} +8 -8
  113. package/dist/{vue-ui-history-plot-CxvcqVQY.js → vue-ui-history-plot-a0mLhd0L.js} +7 -7
  114. package/dist/{vue-ui-kpi-D7zdt7-g.js → vue-ui-kpi-BwUpplcm.js} +3 -3
  115. package/dist/{vue-ui-mini-loader-CteWqKM_.js → vue-ui-mini-loader-DBPZOqZA.js} +5 -5
  116. package/dist/{vue-ui-molecule-CMn9ItPU.js → vue-ui-molecule-xsgartoC.js} +6 -6
  117. package/dist/{vue-ui-mood-radar-ClnWru9n.js → vue-ui-mood-radar-kl2d5QsL.js} +7 -7
  118. package/dist/{vue-ui-nested-donuts-DFljgD4E.js → vue-ui-nested-donuts-D9I8_VnP.js} +7 -7
  119. package/dist/{vue-ui-onion-ynotjz5X.js → vue-ui-onion-BlxsHavW.js} +8 -8
  120. package/dist/{vue-ui-parallel-coordinate-plot-BS18TbxC.js → vue-ui-parallel-coordinate-plot-DHH6lrbW.js} +8 -8
  121. package/dist/{vue-ui-quadrant-DB5bt4Dh.js → vue-ui-quadrant-DyIQZUPC.js} +8 -8
  122. package/dist/vue-ui-quick-chart-Jfr_Ezh9.js +1892 -0
  123. package/dist/{vue-ui-radar-BfDvRRdJ.js → vue-ui-radar-BL_dJV12.js} +8 -8
  124. package/dist/{vue-ui-rating-CjoKP6-5.js → vue-ui-rating-LiragGSU.js} +2 -2
  125. package/dist/{vue-ui-relation-circle-B_j9qaV-.js → vue-ui-relation-circle-BrR2W_6V.js} +10 -10
  126. package/dist/{vue-ui-ridgeline-COAKNQNn.js → vue-ui-ridgeline-CpaOYplC.js} +8 -8
  127. package/dist/{vue-ui-rings-ViCuX090.js → vue-ui-rings-B9TGOwFE.js} +8 -8
  128. package/dist/{vue-ui-scatter-DjtrlQMV.js → vue-ui-scatter-Bq4pSRu_.js} +9 -9
  129. package/dist/{vue-ui-skeleton-C7lk4qZ8.js → vue-ui-skeleton-BlVnOk2o.js} +3 -3
  130. package/dist/{vue-ui-smiley-YRRY-yQp.js → vue-ui-smiley-DyP9gKYe.js} +2 -2
  131. package/dist/{vue-ui-spark-trend-D2rL-IrB.js → vue-ui-spark-trend-Pvdqnqia.js} +3 -3
  132. package/dist/{vue-ui-sparkbar-BImswCmL.js → vue-ui-sparkbar-DF6eDrxt.js} +3 -3
  133. package/dist/{vue-ui-sparkgauge-CLS4sHGH.js → vue-ui-sparkgauge-BR7oFSSF.js} +3 -3
  134. package/dist/{vue-ui-sparkhistogram-DLcoy-5J.js → vue-ui-sparkhistogram-CkOGqy2h.js} +4 -4
  135. package/dist/{vue-ui-sparkline-BlwZF98N.js → vue-ui-sparkline-DF8bLc-F.js} +3 -3
  136. package/dist/{vue-ui-sparkstackbar-CvlfgjY3.js → vue-ui-sparkstackbar-DMkn-0FV.js} +3 -3
  137. package/dist/{vue-ui-stackbar-JbGg5vfh.js → vue-ui-stackbar-CUXktGA-.js} +9 -9
  138. package/dist/{vue-ui-strip-plot-67B5-og6.js → vue-ui-strip-plot-ibdxtil6.js} +7 -7
  139. package/dist/{vue-ui-table-DP7udYk-.js → vue-ui-table-BocHahKB.js} +194 -154
  140. package/dist/{vue-ui-table-heatmap-iu6l-6rW.js → vue-ui-table-heatmap-B03YDYck.js} +6 -6
  141. package/dist/{vue-ui-table-sparkline-kJAE3iUQ.js → vue-ui-table-sparkline-8mOvfeTL.js} +5 -5
  142. package/dist/{vue-ui-thermometer-C_7z6ba0.js → vue-ui-thermometer-Dq_nJLiU.js} +10 -10
  143. package/dist/{vue-ui-timer-BKHZtzRY.js → vue-ui-timer-BLveMseW.js} +5 -5
  144. package/dist/{vue-ui-tiremarks-CCLFPY-g.js → vue-ui-tiremarks-DMG1_YzV.js} +6 -6
  145. package/dist/{vue-ui-treemap-Dw1ygcf6.js → vue-ui-treemap-io-J9w5R.js} +8 -8
  146. package/dist/{vue-ui-vertical-bar-pLRJQ6-o.js → vue-ui-vertical-bar-DqnTF6h2.js} +10 -10
  147. package/dist/{vue-ui-waffle-XFGV0gsS.js → vue-ui-waffle-X9DHHqlw.js} +8 -8
  148. package/dist/vue-ui-wheel-BLBwVpV8.js +620 -0
  149. package/dist/{vue-ui-word-cloud-Czs95I-E.js → vue-ui-word-cloud-0GXQqY8G.js} +7 -7
  150. package/dist/{vue-ui-world-DTgxMNzP.js → vue-ui-world-5OHPVwxv.js} +6 -6
  151. package/dist/{vue-ui-xy-Cm3dbAmQ.js → vue-ui-xy-HW0T1CD8.js} +1164 -1086
  152. package/dist/{vue-ui-xy-canvas-Cwiu1ND7.js → vue-ui-xy-canvas-C4FbbXNQ.js} +10 -10
  153. package/package.json +3 -3
  154. package/dist/vue-ui-quick-chart-Coh62JYO.js +0 -1802
  155. package/dist/vue-ui-wheel-BI7-CsXF.js +0 -380
@@ -1,7 +1,7 @@
1
- import { useCssVars as Ot, computed as s, ref as d, onMounted as lt, onBeforeUnmount as Le, watch as Z, nextTick as ve, onUpdated as Ut, createElementBlock as i, openBlock as u, createElementVNode as P, createCommentVNode as m, renderSlot as Zt, normalizeStyle as L, createVNode as Yt, withDirectives as at, unref as me, Fragment as y, renderList as R, normalizeProps as Jt, mergeProps as qt, normalizeClass as Y, vModelText as nt, toDisplayString as $e } from "vue";
2
- import { c as Kt, X as Qt, G as Ee, ae as it, W as ut, af as ot, V as rt, ag as st } from "./lib-p5pfHmOX.js";
1
+ import { useCssVars as Ot, computed as s, ref as d, onMounted as lt, onBeforeUnmount as Le, watch as Z, nextTick as ve, onUpdated as Ut, createElementBlock as i, openBlock as u, createElementVNode as P, createCommentVNode as m, renderSlot as Zt, normalizeStyle as L, createVNode as Yt, withDirectives as at, unref as me, Fragment as M, renderList as R, normalizeProps as Jt, mergeProps as qt, normalizeClass as Y, vModelText as nt, toDisplayString as $e } from "vue";
2
+ import { c as Kt, X as Qt, G as Ee, ae as it, W as ut, af as ot, V as rt, ag as st } from "./lib-CDp2KgIU.js";
3
3
  import { t as ct, d as jt, u as _t } from "./useResponsive-DfdjqQps.js";
4
- import el from "./BaseIcon-D2f9w5Z5.js";
4
+ import el from "./BaseIcon-e63bhLIi.js";
5
5
  import { _ as tl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const ll = {
7
7
  class: "vue-data-ui-slicer-labels",
@@ -154,16 +154,16 @@ const ll = {
154
154
  emits: ["update:start", "update:end", "reset", "trapMouse"],
155
155
  setup(n, { expose: vt, emit: mt }) {
156
156
  Ot((e) => ({
157
- "068fea96": gt.value,
158
- c2f519ec: g.value,
159
- "763410fb": yt.value,
160
- "7ebab43a": n.selectColor,
161
- "74a671c8": xt.value
157
+ v703bd703: gt.value,
158
+ v08315f77: x.value,
159
+ v784637a8: yt.value,
160
+ v2f32beb2: n.selectColor,
161
+ v147c5fb5: xt.value
162
162
  }));
163
- const a = n, p = d(null), w = d(a.min), S = d(a.max), M = s(() => !!a.minimap.length), Ve = d(Kt()), $ = s(() => M.value && a.minimapCompact), he = d(0);
163
+ const a = n, k = d(null), w = d(a.min), S = d(a.max), b = s(() => !!a.minimap.length), Ve = d(Kt()), $ = s(() => b.value && a.minimapCompact), he = d(0);
164
164
  lt(() => {
165
165
  const e = () => {
166
- p.value && (he.value = p.value.getBoundingClientRect().width);
166
+ k.value && (he.value = k.value.getBoundingClientRect().width);
167
167
  };
168
168
  e();
169
169
  const l = ct(e, 50);
@@ -178,35 +178,35 @@ const ll = {
178
178
  }
179
179
  const e = Math.max(1, a.max - a.min);
180
180
  return (w.value - a.min) / e * 100;
181
- }), oe = s(() => {
181
+ }), re = s(() => {
182
182
  if ($.value) {
183
183
  const l = Math.max(1, ue.value - 1);
184
184
  return Me.value / l * 100;
185
185
  }
186
186
  const e = Math.max(1, a.max - a.min);
187
187
  return (S.value - a.min) / e * 100;
188
- }), de = s(() => (q.value + oe.value) / 2), fe = s(() => {
189
- if (!p.value) return !1;
190
- const e = p.value.getBoundingClientRect().width;
188
+ }), de = s(() => (q.value + re.value) / 2), fe = s(() => {
189
+ if (!k.value) return !1;
190
+ const e = k.value.getBoundingClientRect().width;
191
191
  return q.value / 100 * e - Ne.value / 2 < 0;
192
192
  }), ge = s(() => {
193
- if (!p.value) return !1;
194
- const e = p.value.getBoundingClientRect().width;
195
- return oe.value / 100 * e + se.value / 2 > e;
193
+ if (!k.value) return !1;
194
+ const e = k.value.getBoundingClientRect().width;
195
+ return re.value / 100 * e + ce.value / 2 > e;
196
196
  }), N = s(() => {
197
197
  const e = ge.value ? `calc(${de.value}% - ${ie.value.width}px - 2px)` : fe.value ? `calc(${de.value}% - 8px)` : `calc(${de.value}% - ${ie.value.width / 2}px - 4px)`;
198
198
  return {
199
199
  left: `${q.value}%`,
200
- width: `${Math.max(0, oe.value - q.value)}%`,
200
+ width: `${Math.max(0, re.value - q.value)}%`,
201
201
  background: a.selectColor,
202
202
  tooltipLeft: `calc(${q.value}% - ${fe.value ? 9 : Ne.value / 2 + 3.5}px)`,
203
- tooltipRight: `calc(${oe.value}% - ${ge.value ? se.value - 9 : se.value / 2 - 3.5}px)`,
203
+ tooltipRight: `calc(${re.value}% - ${ge.value ? ce.value - 9 : ce.value / 2 - 3.5}px)`,
204
204
  tooltipCenter: e,
205
205
  arrowLeft: !fe.value,
206
206
  arrowRight: !ge.value
207
207
  };
208
208
  }), K = s(() => Math.max(0, (Q.value || 1) - 1)), xe = s(() => Math.max(0, (ue.value || 1) - 1));
209
- function re(e) {
209
+ function se(e) {
210
210
  return xe.value === 0 ? 0 : Math.round(e / xe.value * K.value);
211
211
  }
212
212
  function Ae(e) {
@@ -214,11 +214,11 @@ const ll = {
214
214
  }
215
215
  const dt = (e) => Math.floor(a.min + e), ft = (e) => Math.ceil(a.min + e), ye = s({
216
216
  get() {
217
- return $.value ? re(I.value) : Number(w.value);
217
+ return $.value ? se(I.value) : Number(w.value);
218
218
  },
219
219
  set(e) {
220
220
  if ($.value) {
221
- const l = Math.round(+e || 0), t = Math.max(0, re(Math.max(0, X.value - 1))), o = Math.min(Math.max(0, l), t), r = Ae(o);
221
+ const l = Math.round(+e || 0), t = Math.max(0, se(Math.max(0, X.value - 1))), o = Math.min(Math.max(0, l), t), r = Ae(o);
222
222
  _(dt(r));
223
223
  } else {
224
224
  let l = Math.round(+e || 0);
@@ -228,11 +228,11 @@ const ll = {
228
228
  }
229
229
  }), Me = s({
230
230
  get() {
231
- return $.value ? re(Math.max(I.value, X.value - 1)) : Number(S.value);
231
+ return $.value ? se(Math.max(I.value, X.value - 1)) : Number(S.value);
232
232
  },
233
233
  set(e) {
234
234
  if ($.value) {
235
- const l = Math.round(+e || 0), t = re(I.value), o = Math.max(l, t), r = Ae(o);
235
+ const l = Math.round(+e || 0), t = se(I.value), o = Math.max(l, t), r = Ae(o);
236
236
  ee(ft(r + 1));
237
237
  } else {
238
238
  let l = Math.round(+e || 0);
@@ -240,7 +240,7 @@ const ll = {
240
240
  ee(o);
241
241
  }
242
242
  }
243
- }), gt = s(() => a.inputColor), xt = s(() => a.background), yt = s(() => `${a.selectColor}33`), g = s(() => a.borderColor), Be = s(() => {
243
+ }), gt = s(() => a.inputColor), xt = s(() => a.background), yt = s(() => `${a.selectColor}33`), x = s(() => a.borderColor), Be = s(() => {
244
244
  const e = [];
245
245
  for (let l = 0; l < a.max; l += 1)
246
246
  e.push(l);
@@ -260,27 +260,27 @@ const ll = {
260
260
  Number(w.value) > Number(e) && (w.value = Number(e)), Number(S.value) > Number(e) && (S.value = Number(e));
261
261
  }
262
262
  );
263
- const be = d(null), f = d({
263
+ const be = d(null), g = d({
264
264
  width: 1,
265
265
  height: 1
266
266
  }), O = d(null);
267
267
  lt(() => {
268
- if (M.value) {
268
+ if (b.value) {
269
269
  const e = ct(() => {
270
270
  const { width: l, height: t } = _t({
271
271
  chart: be.value
272
272
  });
273
- f.value.width = l, f.value.height = t - 47;
273
+ g.value.width = l, g.value.height = t - 47;
274
274
  });
275
275
  O.value = new ResizeObserver(e), O.value.observe(be.value);
276
276
  }
277
277
  }), Le(() => {
278
278
  O.value && O.value.disconnect();
279
279
  });
280
- const Q = s(() => Math.max(...a.allMinimaps.map((e) => e.series.length), a.minimap.length || 0)), b = s(() => {
280
+ const Q = s(() => Math.max(...a.allMinimaps.map((e) => e.series.length), a.minimap.length || 0)), p = s(() => {
281
281
  if (!Q.value) return 0;
282
282
  const e = Math.max(1, Q.value - (a.minimapCompact ? 1 : 0));
283
- return f.value.width / e;
283
+ return g.value.width / e;
284
284
  }), Ie = s(() => {
285
285
  const e = [];
286
286
  if (Array.isArray(a.minimap) && a.minimap.length && a.minimapMerged && e.push(...a.minimap.filter(Number.isFinite)), Array.isArray(a.allMinimaps) && a.allMinimaps.length)
@@ -288,7 +288,7 @@ const ll = {
288
288
  l?.isVisible && Array.isArray(l?.series) && e.push(...l.series.filter(Number.isFinite));
289
289
  return e.length ? { min: Math.min(...e), max: Math.max(...e) } : { min: 0, max: 1 };
290
290
  }), z = s(() => Ie.value.min), U = s(() => Ie.value.max), Mt = s(() => z.value < 0 && U.value > 0 || U.value <= 0 ? z.value : 0), bt = s(() => Math.max(1e-9, Math.max(Math.abs(z.value), Math.abs(U.value)))), pt = s(() => z.value < 0 && U.value > 0), kt = (e) => {
291
- const l = Math.max(1, f.value.height);
291
+ const l = Math.max(1, g.value.height);
292
292
  if (pt.value) {
293
293
  const t = bt.value;
294
294
  return (1 - (Math.max(-1, Math.min(1, e / t)) + 1) / 2) * l;
@@ -296,7 +296,7 @@ const ll = {
296
296
  const t = Math.min(0, z.value), o = Math.max(0, U.value);
297
297
  return l - (e - t) / Math.max(1e-9, o - t) * l;
298
298
  }
299
- }, De = s(() => kt(0)), ze = s(() => a.allMinimaps.length ? a.allMinimaps.filter((e) => e.type === "bar").length : 0), pe = s(() => b.value / (ze.value || 1) * 0.8);
299
+ }, De = s(() => kt(0)), ze = s(() => a.allMinimaps.length ? a.allMinimaps.filter((e) => e.type === "bar").length : 0), pe = s(() => p.value / (ze.value || 1) * 0.8);
300
300
  function We(e, l, t) {
301
301
  const o = pe.value, r = Math.max(1, ze.value), h = Q.value - 1;
302
302
  return t === 0 ? e + o / 2 * l : t === h ? e - o / 2 * (r - l) : e - r * o / 2 + l * o;
@@ -305,17 +305,17 @@ const ll = {
305
305
  return [0, Q.value - 1].includes(l) ? pe.value / 2 : pe.value;
306
306
  }
307
307
  function wt(e, l, t) {
308
- const o = (x, v, D) => Math.max(v, Math.min(D, x));
308
+ const o = (y, v, D) => Math.max(v, Math.min(D, y));
309
309
  if (l <= 0) {
310
- const x = Math.max(1e-9, 0 - e);
311
- return (v) => t - (v - e) / x * t;
310
+ const y = Math.max(1e-9, 0 - e);
311
+ return (v) => t - (v - e) / y * t;
312
312
  }
313
313
  if (e >= 0) {
314
- const x = Math.max(1e-9, l - 0);
315
- return (v) => t - (v - 0) / x * t;
314
+ const y = Math.max(1e-9, l - 0);
315
+ return (v) => t - (v - 0) / y * t;
316
316
  }
317
317
  const h = Math.max(1e-9, Math.max(Math.abs(e), Math.abs(l)));
318
- return (x) => (1 - (o(x / h, -1, 1) + 1) / 2) * t;
318
+ return (y) => (1 - (o(y / h, -1, 1) + 1) / 2) * t;
319
319
  }
320
320
  function He(e, l = !1) {
321
321
  if (!e || !e.length)
@@ -331,24 +331,24 @@ const ll = {
331
331
  fullMarkers: [],
332
332
  selectionMarkers: []
333
333
  };
334
- const t = Math.max(1, f.value.height), o = wt(z.value, U.value, t), r = e.length, h = Math.min(Math.max(0, I.value), Math.max(0, r - 1)), x = Math.min(r, Math.max(h + 1, X.value)), v = e.map((k, et) => {
335
- const ce = a.cutNullValues ? k : k === null ? 0 : k, tt = Number.isFinite(ce), Ht = b.value * et + (a.minimapCompact ? 0 : b.value / 2), Gt = o(0);
334
+ const t = Math.max(1, g.value.height), o = wt(z.value, U.value, t), r = e.length, h = Math.min(Math.max(0, I.value), Math.max(0, r - 1)), y = Math.min(r, Math.max(h + 1, X.value)), v = e.map((f, et) => {
335
+ const oe = f, tt = Number.isFinite(oe), Ht = p.value * et + (a.minimapCompact ? 0 : p.value / 2), Gt = o(0);
336
336
  return {
337
337
  x: Ht,
338
- y: tt ? o(ce) : NaN,
339
- v: ce,
340
- value: tt ? ce : null,
338
+ y: tt ? o(oe) : NaN,
339
+ v: oe,
340
+ value: oe == null ? null : tt ? oe : null,
341
341
  y0: Gt,
342
342
  i: et
343
343
  };
344
- }), D = (k) => k >= 0 && k < v.length && Number.isFinite(v[k]?.value), H = v.filter((k) => Number.isFinite(k.value) && !D(k.i - 1) && !D(k.i + 1)), Re = H.filter((k) => k.i >= h && k.i < x), G = v.slice(h, x), Wt = v.length >= 2 ? a.smoothMinimap || l ? a.cutNullValues ? it(v) : ut(v) : a.cutNullValues ? ot(v) : rt(v) : "", Xt = G.length >= 2 ? a.smoothMinimap || l ? a.cutNullValues ? it(G) : ut(G) : a.cutNullValues ? ot(G) : rt(G) : "";
344
+ }), D = (f) => f >= 0 && f < v.length && Number.isFinite(v[f]?.value), H = v.filter((f) => Number.isFinite(f.value) && !D(f.i - 1) && !D(f.i + 1)), Re = H.filter((f) => f.i >= h && f.i < y), G = v.slice(h, y), Wt = v.length >= 2 ? a.smoothMinimap || l ? a.cutNullValues ? it(v) : ut(v.filter((f) => f.value != null)) : a.cutNullValues ? ot(v) : rt(v.filter((f) => f.value != null)) : "", Xt = G.length >= 2 ? a.smoothMinimap || l ? a.cutNullValues ? it(G) : ut(G.filter((f) => f.value != null)) : a.cutNullValues ? ot(G) : rt(G.filter((f) => f.value != null)) : "";
345
345
  return {
346
346
  fullSet: Wt,
347
347
  points: v,
348
348
  selectionSet: Xt,
349
349
  sliced: G,
350
350
  firstPlot: v[h] || null,
351
- lastPlot: v[Math.max(0, x - 1)] || null,
351
+ lastPlot: v[Math.max(0, y - 1)] || null,
352
352
  hasFull: v.length >= 2,
353
353
  hasSelection: G.length >= 2,
354
354
  fullMarkers: H,
@@ -375,8 +375,8 @@ const ll = {
375
375
  }) : []), C = s(() => {
376
376
  const e = I.value, l = Math.max(e + 1, X.value);
377
377
  return {
378
- x: b.value * e + (a.minimapCompact ? 0 : b.value / 2),
379
- width: b.value * (l - e) - b.value
378
+ x: p.value * e + (a.minimapCompact ? 0 : p.value / 2),
379
+ width: p.value * (l - e) - p.value
380
380
  };
381
381
  }), E = d(a.minimapSelectedIndex);
382
382
  function St(e) {
@@ -408,9 +408,9 @@ const ll = {
408
408
  let T = null, V = null, A = null, B = null;
409
409
  const Ue = d(a.min);
410
410
  function Pe(e) {
411
- if (!p.value) return a.min;
412
- const l = p.value.getBoundingClientRect(), t = l.left + Te / 2, o = l.right - Te / 2, r = Math.max(1, o - t), x = (Math.max(t, Math.min(e, o)) - t) / r, v = Math.max(1, a.max - a.min);
413
- return Math.round(a.min + x * v);
411
+ if (!k.value) return a.min;
412
+ const l = k.value.getBoundingClientRect(), t = l.left + Te / 2, o = l.right - Te / 2, r = Math.max(1, o - t), y = (Math.max(t, Math.min(e, o)) - t) / r, v = Math.max(1, a.max - a.min);
413
+ return Math.round(a.min + y * v);
414
414
  }
415
415
  const Ze = async (e) => {
416
416
  if (W.value = !0, !a.enableSelectionDrag) return;
@@ -420,13 +420,13 @@ const ll = {
420
420
  if (!o || !(o instanceof Element) || o.classList && o.classList.contains("range-handle")) return;
421
421
  te.value = !0;
422
422
  const r = l ? t ? t.clientX : 0 : e.clientX;
423
- if (Rt.value = r, Ge.value = r, a.focusOnDrag && !Nt.value && p.value) {
423
+ if (Rt.value = r, Ge.value = r, a.focusOnDrag && !Nt.value && k.value) {
424
424
  Ue.value = Pe(r);
425
- const h = Math.min(0.95, Math.max(0.05, a.focusRangeRatio)), x = a.max - a.min, v = Math.max(1, Math.round(x * h)), D = Math.floor(v / 2);
425
+ const h = Math.min(0.95, Math.max(0.05, a.focusRangeRatio)), y = a.max - a.min, v = Math.max(1, Math.round(y * h)), D = Math.floor(v / 2);
426
426
  let H = Ue.value - D;
427
427
  H = Math.max(a.min, Math.min(H, a.max - v));
428
428
  const Re = Math.min(a.max, H + v);
429
- _(H), ee(Re), st(p.value, "mouseup"), await ve(), st(p.value, "mousedown", { clientX: r });
429
+ _(H), ee(Re), st(k.value, "mouseup"), await ve(), st(k.value, "mousedown", { clientX: r });
430
430
  }
431
431
  Ce.value = Number(w.value), Oe.value = Number(S.value), Vt.value = Tt.value, T = l ? "touchmove" : "mousemove", V = l ? "touchend" : "mouseup", A = l ? Bt : At, B = l ? It : Ft, window.addEventListener(T, A, { passive: !1 }), window.addEventListener(V, B);
432
432
  };
@@ -434,9 +434,9 @@ const ll = {
434
434
  te.value && Ye(e.clientX);
435
435
  }
436
436
  function Bt(e) {
437
- if (!te.value || !p.value) return;
437
+ if (!te.value || !k.value) return;
438
438
  const l = e.target;
439
- if (!(l instanceof Element) || !p.value.contains(l) || l.classList && l.classList.contains("range-handle")) return;
439
+ if (!(l instanceof Element) || !k.value.contains(l) || l.classList && l.classList.contains("range-handle")) return;
440
440
  e.preventDefault();
441
441
  const t = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
442
442
  t && Ye(t.clientX);
@@ -445,8 +445,8 @@ const ll = {
445
445
  if (!te.value) return;
446
446
  const l = Pe(Ge.value), o = Pe(e) - l, r = Math.max(1, Oe.value - Ce.value);
447
447
  let h = Math.round(Ce.value + o);
448
- const x = a.min, v = a.max - r;
449
- h < x && (h = x), h > v && (h = v);
448
+ const y = a.min, v = a.max - r;
449
+ h < y && (h = y), h > v && (h = v);
450
450
  const D = h + r;
451
451
  _(h), ee(D);
452
452
  }
@@ -459,12 +459,12 @@ const ll = {
459
459
  function Je() {
460
460
  te.value = !1, T && A && window.removeEventListener(T, A), V && B && window.removeEventListener(V, B), T = V = null, A = B = null;
461
461
  }
462
- const F = d(!1), le = d(null), ae = d(null), Ne = d(1), se = d(1), W = d(!1);
462
+ const F = d(!1), le = d(null), ae = d(null), Ne = d(1), ce = d(1), W = d(!1);
463
463
  function qe() {
464
464
  le.value && (Ne.value = le.value.getBoundingClientRect().width);
465
465
  }
466
466
  function Ke() {
467
- ae.value && (se.value = ae.value.getBoundingClientRect().width);
467
+ ae.value && (ce.value = ae.value.getBoundingClientRect().width);
468
468
  }
469
469
  const Qe = d(0);
470
470
  function je(e) {
@@ -520,10 +520,10 @@ const ll = {
520
520
  if (E.value >= I.value && E.value < X.value) {
521
521
  const e = E.value;
522
522
  return {
523
- x1: b.value * e + (a.minimapCompact ? 0 : b.value / 2),
524
- x2: b.value * e + (a.minimapCompact ? 0 : b.value / 2),
523
+ x1: p.value * e + (a.minimapCompact ? 0 : p.value / 2),
524
+ x2: p.value * e + (a.minimapCompact ? 0 : p.value / 2),
525
525
  y1: 0,
526
- y2: Math.max(f.value.height, 0),
526
+ y2: Math.max(g.value.height, 0),
527
527
  stroke: a.minimapIndicatorColor,
528
528
  "stroke-linecap": "round",
529
529
  "stroke-dasharray": 2,
@@ -537,7 +537,7 @@ const ll = {
537
537
  style: { padding: "0 24px" },
538
538
  class: "vue-data-ui-zoom",
539
539
  ref_key: "zoomWrapper",
540
- ref: p,
540
+ ref: k,
541
541
  onMousedown: Ze,
542
542
  onTouchstart: Ze,
543
543
  onTouchend: l[11] || (l[11] = (t) => W.value = !1)
@@ -553,7 +553,7 @@ const ll = {
553
553
  role: "button",
554
554
  class: "vue-data-ui-refresh-button",
555
555
  style: L({
556
- top: M.value ? "36px" : "-16px",
556
+ top: b.value ? "36px" : "-16px",
557
557
  pointerEvents: "all !important"
558
558
  }),
559
559
  onClick: Fe
@@ -573,11 +573,11 @@ const ll = {
573
573
  onMouseenter: l[9] || (l[9] = (t) => W.value = !0),
574
574
  onMouseleave: l[10] || (l[10] = (t) => W.value = !1)
575
575
  }, [
576
- M.value ? (u(), i("div", nl, [
576
+ b.value ? (u(), i("div", nl, [
577
577
  (u(), i("svg", {
578
578
  key: `mm-${n.minimapMerged ? "merged" : "split"}-${n.minimapCompact ? "compact" : "normal"}`,
579
579
  xmlns: me(Qt),
580
- viewBox: `0 0 ${Math.max(0, f.value.width)} ${Math.max(0, f.value.height)}`
580
+ viewBox: `0 0 ${Math.max(0, g.value.width)} ${Math.max(0, g.value.height)}`
581
581
  }, [
582
582
  P("defs", null, [
583
583
  P("linearGradient", {
@@ -602,8 +602,8 @@ const ll = {
602
602
  class: "vue-ui-zoom-minimap-frame",
603
603
  x: 0,
604
604
  y: 0,
605
- width: f.value.width,
606
- height: f.value.height,
605
+ width: g.value.width,
606
+ height: g.value.height,
607
607
  fill: "none",
608
608
  stroke: n.minimapFrameColor,
609
609
  rx: 3
@@ -617,9 +617,9 @@ const ll = {
617
617
  "stroke-linecap": "round",
618
618
  "stroke-linejoin": "round",
619
619
  style: { opacity: "0.6" }
620
- }, null, 8, sl)) : (u(), i(y, { key: 2 }, [
621
- (u(!0), i(y, null, R(j.value.filter((t) => t.type === "bar"), (t, o) => (u(), i("g", null, [
622
- (u(!0), i(y, null, R(t.points, (r, h) => (u(), i(y, null, [
620
+ }, null, 8, sl)) : (u(), i(M, { key: 2 }, [
621
+ (u(!0), i(M, null, R(j.value.filter((t) => t.type === "bar"), (t, o) => (u(), i("g", null, [
622
+ (u(!0), i(M, null, R(t.points, (r, h) => (u(), i(M, null, [
623
623
  t.isVisible && !isNaN(r.y) ? (u(), i("rect", {
624
624
  key: 0,
625
625
  x: We(r.x, o, h),
@@ -631,7 +631,7 @@ const ll = {
631
631
  }, null, 8, cl)) : m("", !0)
632
632
  ], 64))), 256))
633
633
  ]))), 256)),
634
- (u(!0), i(y, null, R(j.value.filter((t) => t.type === "line"), (t) => (u(), i("g", {
634
+ (u(!0), i(M, null, R(j.value.filter((t) => t.type === "line"), (t) => (u(), i("g", {
635
635
  key: String(t.key)
636
636
  }, [
637
637
  t.isVisible ? (u(), i("path", {
@@ -641,13 +641,13 @@ const ll = {
641
641
  stroke: t.color,
642
642
  style: { opacity: "0.6" }
643
643
  }, null, 8, vl)) : m("", !0),
644
- t.isVisible ? (u(!0), i(y, { key: 1 }, R(t.fullMarkers, (o) => (u(), i("circle", {
644
+ t.isVisible ? (u(!0), i(M, { key: 1 }, R(t.fullMarkers, (o) => (u(), i("circle", {
645
645
  key: `sel-dot-under-${t.key}-${o.i}`,
646
646
  cx: o.x,
647
647
  cy: o.y,
648
648
  r: "2",
649
649
  fill: t.color,
650
- stroke: g.value,
650
+ stroke: x.value,
651
651
  "stroke-width": "0.5",
652
652
  style: { opacity: "0.6" }
653
653
  }, null, 8, ml))), 128)) : m("", !0)
@@ -656,24 +656,24 @@ const ll = {
656
656
  P("rect", {
657
657
  x: C.value.x,
658
658
  width: C.value.width < 0 ? 0 : C.value.width,
659
- height: Math.max(f.value.height, 0),
659
+ height: Math.max(g.value.height, 0),
660
660
  y: 0,
661
- fill: g.value,
661
+ fill: x.value,
662
662
  rx: n.minimapSelectionRadius,
663
663
  stroke: "none"
664
664
  }, null, 8, hl),
665
665
  P("rect", {
666
666
  x: C.value.x,
667
667
  width: C.value.width < 0 ? 0 : C.value.width,
668
- height: Math.max(f.value.height, 0),
668
+ height: Math.max(g.value.height, 0),
669
669
  y: 0,
670
670
  rx: n.minimapSelectionRadius,
671
- fill: g.value
671
+ fill: x.value
672
672
  }, null, 8, dl),
673
673
  P("rect", {
674
674
  x: C.value.x,
675
675
  width: C.value.width < 0 ? 0 : C.value.width,
676
- height: Math.max(f.value.height, 0),
676
+ height: Math.max(g.value.height, 0),
677
677
  y: 0,
678
678
  fill: n.minimapSelectedColor,
679
679
  rx: n.minimapSelectionRadius,
@@ -686,17 +686,17 @@ const ll = {
686
686
  key: 4,
687
687
  class: "slicer-minimap-zero-line",
688
688
  x1: 0,
689
- x2: f.value.width,
689
+ x2: g.value.width,
690
690
  y1: De.value,
691
691
  y2: De.value,
692
692
  stroke: n.minimapFrameColor,
693
693
  "stroke-width": "0.5"
694
694
  }, null, 8, gl)) : m("", !0),
695
- n.minimapMerged ? (u(), i(y, { key: 5 }, [
696
- c.value && c.value.sliced && c.value.sliced.length ? (u(), i(y, { key: 0 }, [
695
+ n.minimapMerged ? (u(), i(M, { key: 5 }, [
696
+ c.value && c.value.sliced && c.value.sliced.length ? (u(), i(M, { key: 0 }, [
697
697
  c.value.selectionSet ? (u(), i("path", {
698
698
  key: 0,
699
- d: `M${c.value.sliced[0].x},${Math.max(f.value.height, 0)} ${c.value.selectionSet} L${c.value.sliced[c.value.sliced.length - 1].x},${Math.max(f.value.height, 0)}Z`,
699
+ d: `M${c.value.sliced[0].x},${Math.max(g.value.height, 0)} ${c.value.selectionSet} L${c.value.sliced[c.value.sliced.length - 1].x},${Math.max(g.value.height, 0)}Z`,
700
700
  fill: `url(#${Ve.value})`,
701
701
  stroke: "none",
702
702
  style: { opacity: "1" }
@@ -712,8 +712,8 @@ const ll = {
712
712
  }, null, 8, yl)) : m("", !0)
713
713
  ], 64)) : m("", !0)
714
714
  ], 64)) : (u(), i("g", Ml, [
715
- (u(!0), i(y, null, R(j.value.filter((t) => t.type === "bar"), (t, o) => (u(), i("g", null, [
716
- (u(!0), i(y, null, R(t.points, (r, h) => (u(), i(y, null, [
715
+ (u(!0), i(M, null, R(j.value.filter((t) => t.type === "bar"), (t, o) => (u(), i("g", null, [
716
+ (u(!0), i(M, null, R(t.points, (r, h) => (u(), i(M, null, [
717
717
  t.isVisible && !isNaN(r.y) ? (u(), i("rect", {
718
718
  key: 0,
719
719
  x: We(r.x, o, h),
@@ -727,7 +727,7 @@ const ll = {
727
727
  }, null, 12, bl)) : m("", !0)
728
728
  ], 64))), 256))
729
729
  ]))), 256)),
730
- (u(!0), i(y, null, R(j.value.filter((t) => t.type === "line"), (t) => (u(), i("g", {
730
+ (u(!0), i(M, null, R(j.value.filter((t) => t.type === "line"), (t) => (u(), i("g", {
731
731
  key: String(t.key)
732
732
  }, [
733
733
  t && t.hasSelection && t.selectionSet && t.isVisible ? (u(), i("path", {
@@ -741,35 +741,35 @@ const ll = {
741
741
  }, null, 8, pl)) : m("", !0)
742
742
  ]))), 128))
743
743
  ])),
744
- M.value && n.minimapCompact ? (u(), i("rect", {
744
+ b.value && n.minimapCompact ? (u(), i("rect", {
745
745
  key: 7,
746
746
  class: "vue-ui-zoom-compact-minimap-handle",
747
747
  x: C.value.x - 8,
748
748
  y: 0,
749
749
  width: 8,
750
- height: f.value.height,
751
- fill: g.value,
750
+ height: g.value.height,
751
+ fill: x.value,
752
752
  stroke: n.textColor,
753
753
  rx: 3
754
754
  }, null, 8, kl)) : m("", !0),
755
- M.value && n.minimapCompact ? (u(), i("rect", {
755
+ b.value && n.minimapCompact ? (u(), i("rect", {
756
756
  key: 8,
757
757
  class: "vue-ui-zoom-compact-minimap-handle",
758
758
  x: C.value.x + C.value.width,
759
759
  y: 0,
760
760
  width: 8,
761
- height: f.value.height,
762
- fill: g.value,
761
+ height: g.value.height,
762
+ fill: x.value,
763
763
  stroke: n.textColor,
764
764
  rx: 3
765
765
  }, null, 8, wl)) : m("", !0),
766
- n.minimapMerged ? (u(), i(y, { key: 9 }, [
766
+ n.minimapMerged ? (u(), i(M, { key: 9 }, [
767
767
  c.value && c.value.firstPlot && c.value.firstPlot.value !== null ? (u(), i("circle", {
768
768
  key: 0,
769
769
  cx: c.value.firstPlot.x,
770
770
  cy: c.value.firstPlot.y,
771
771
  "stroke-width": "0.5",
772
- stroke: g.value,
772
+ stroke: x.value,
773
773
  r: "4",
774
774
  fill: n.minimapLineColor
775
775
  }, null, 8, Sl)) : m("", !0),
@@ -778,14 +778,14 @@ const ll = {
778
778
  cx: c.value.firstPlot.x,
779
779
  cy: c.value.firstPlot.y,
780
780
  r: "2",
781
- fill: g.value
781
+ fill: x.value
782
782
  }, null, 8, Cl)) : m("", !0),
783
783
  c.value && c.value.lastPlot && c.value.lastPlot.value !== null ? (u(), i("circle", {
784
784
  key: 2,
785
785
  cx: c.value.lastPlot.x,
786
786
  cy: c.value.lastPlot.y,
787
787
  "stroke-width": "0.5",
788
- stroke: g.value,
788
+ stroke: x.value,
789
789
  r: "4",
790
790
  fill: n.minimapLineColor
791
791
  }, null, 8, Pl)) : m("", !0),
@@ -794,19 +794,19 @@ const ll = {
794
794
  cx: c.value.lastPlot.x,
795
795
  cy: c.value.lastPlot.y,
796
796
  r: "2",
797
- fill: g.value
797
+ fill: x.value
798
798
  }, null, 8, Nl)) : m("", !0)
799
799
  ], 64)) : (u(), i("g", Rl, [
800
- (u(!0), i(y, null, R(j.value.filter((t) => t.type === "line"), (t) => (u(), i("g", {
800
+ (u(!0), i(M, null, R(j.value.filter((t) => t.type === "line"), (t) => (u(), i("g", {
801
801
  key: String(t.key)
802
802
  }, [
803
- t.isVisible ? (u(!0), i(y, { key: 0 }, R(t.selectionMarkers, (o) => (u(), i("circle", {
803
+ t.isVisible ? (u(!0), i(M, { key: 0 }, R(t.selectionMarkers, (o) => (u(), i("circle", {
804
804
  key: `sel-dot-${t.key}-${o.i}`,
805
805
  cx: o.x,
806
806
  cy: o.y,
807
807
  r: "2.5",
808
808
  fill: t.color,
809
- stroke: g.value,
809
+ stroke: x.value,
810
810
  "stroke-width": "0.5"
811
811
  }, null, 8, Ll))), 128)) : m("", !0),
812
812
  t && t.firstPlot && t.isVisible && t.firstPlot.value !== null ? (u(), i("circle", {
@@ -814,7 +814,7 @@ const ll = {
814
814
  cx: t.firstPlot.x,
815
815
  cy: t.firstPlot.y,
816
816
  "stroke-width": "0.5",
817
- stroke: g.value,
817
+ stroke: x.value,
818
818
  r: "4",
819
819
  fill: t.color
820
820
  }, null, 8, $l)) : m("", !0),
@@ -823,14 +823,14 @@ const ll = {
823
823
  cx: t.firstPlot.x,
824
824
  cy: t.firstPlot.y,
825
825
  r: "2",
826
- fill: g.value
826
+ fill: x.value
827
827
  }, null, 8, El)) : m("", !0),
828
828
  t && t.lastPlot && t.isVisible && t.lastPlot.value !== null ? (u(), i("circle", {
829
829
  key: 3,
830
830
  cx: t.lastPlot.x,
831
831
  cy: t.lastPlot.y,
832
832
  "stroke-width": "0.5",
833
- stroke: g.value,
833
+ stroke: x.value,
834
834
  r: "4",
835
835
  fill: t.color
836
836
  }, null, 8, Tl)) : m("", !0),
@@ -839,19 +839,19 @@ const ll = {
839
839
  cx: t.lastPlot.x,
840
840
  cy: t.lastPlot.y,
841
841
  r: "2",
842
- fill: g.value
842
+ fill: x.value
843
843
  }, null, 8, Vl)) : m("", !0)
844
844
  ]))), 128))
845
845
  ])),
846
- (u(!0), i(y, null, R(Be.value, (t, o) => (u(), i("rect", {
846
+ (u(!0), i(M, null, R(Be.value, (t, o) => (u(), i("rect", {
847
847
  y: 0,
848
- height: Math.max(f.value.height, 0),
848
+ height: Math.max(g.value.height, 0),
849
849
  fill: "transparent",
850
850
  style: L([{ "pointer-events": "all !important" }, {
851
851
  cursor: t >= I.value && t < X.value && n.enableSelectionDrag ? F.value ? "grabbing" : "grab" : "default"
852
852
  }]),
853
- x: b.value * o - (n.minimapCompact ? b.value / 2 : 0),
854
- width: b.value < 0 ? 0 : b.value,
853
+ x: p.value * o - (n.minimapCompact ? p.value / 2 : 0),
854
+ width: p.value < 0 ? 0 : p.value,
855
855
  onMousedown: l[0] || (l[0] = (r) => F.value = !0),
856
856
  onMouseup: l[1] || (l[1] = (r) => F.value = !1),
857
857
  onMouseenter: (r) => Pt(t),
@@ -863,7 +863,7 @@ const ll = {
863
863
  ])) : m("", !0),
864
864
  P("div", {
865
865
  class: "slider-track",
866
- style: L({ visibility: M.value && n.minimapCompact ? "hidden" : "visible" })
866
+ style: L({ visibility: b.value && n.minimapCompact ? "hidden" : "visible" })
867
867
  }, null, 4),
868
868
  P("div", {
869
869
  class: Y({
@@ -875,7 +875,7 @@ const ll = {
875
875
  style: L({
876
876
  ...N.value,
877
877
  cursor: F.value ? "grabbing" : "grab",
878
- visibility: M.value && n.minimapCompact ? "hidden" : "visible"
878
+ visibility: b.value && n.minimapCompact ? "hidden" : "visible"
879
879
  })
880
880
  }, null, 38),
881
881
  n.enableRangeHandles ? at((u(), i("input", {
@@ -886,8 +886,8 @@ const ll = {
886
886
  class: Y({
887
887
  "range-left": !0,
888
888
  "range-handle": !0,
889
- "range-minimap": M.value && n.verticalHandles,
890
- "range-invisible": M.value && n.minimapCompact
889
+ "range-minimap": b.value && n.verticalHandles,
890
+ "range-invisible": b.value && n.minimapCompact
891
891
  }),
892
892
  min: n.min,
893
893
  max: $.value && n.minimapCompact ? K.value : n.max,
@@ -910,8 +910,8 @@ const ll = {
910
910
  class: Y({
911
911
  "range-right": !0,
912
912
  "range-handle": !0,
913
- "range-minimap": M.value && n.verticalHandles,
914
- "range-invisible": M.value && n.minimapCompact
913
+ "range-minimap": b.value && n.verticalHandles,
914
+ "range-invisible": b.value && n.minimapCompact
915
915
  }),
916
916
  min: n.min,
917
917
  max: $.value && n.minimapCompact ? K.value : n.max,
@@ -940,10 +940,10 @@ const ll = {
940
940
  left: N.value.tooltipLeft,
941
941
  color: me(Ee)(n.selectColor),
942
942
  backgroundColor: n.selectColor,
943
- border: `1px solid ${g.value}`,
943
+ border: `1px solid ${x.value}`,
944
944
  zIndex: `${Qe.value + 4}`,
945
945
  visibility: ne.value || n.labelLeft === n.labelRight ? "hidden" : "visible",
946
- top: M.value && n.minimapCompact ? "calc(-100% - 18px)" : "-100%"
946
+ top: b.value && n.minimapCompact ? "calc(-100% - 18px)" : "-100%"
947
947
  })
948
948
  }, $e(n.labelLeft), 7)) : m("", !0),
949
949
  (ne.value || n.labelLeft === n.labelRight) && (n.labelLeft || n.labelRight) ? (u(), i("div", {
@@ -961,9 +961,9 @@ const ll = {
961
961
  width: ie.value.width + "px",
962
962
  color: me(Ee)(n.selectColor),
963
963
  backgroundColor: n.selectColor,
964
- border: `1px solid ${g.value}`,
964
+ border: `1px solid ${x.value}`,
965
965
  zIndex: "4",
966
- top: M.value && n.minimapCompact ? "calc(-100% - 18px)" : "-100%"
966
+ top: b.value && n.minimapCompact ? "calc(-100% - 18px)" : "-100%"
967
967
  })
968
968
  }, $e(n.labelLeft === n.labelRight ? n.labelLeft : `${n.labelLeft} - ${n.labelRight}`), 7)) : m("", !0),
969
969
  n.labelRight ? (u(), i("div", {
@@ -980,16 +980,16 @@ const ll = {
980
980
  left: N.value.tooltipRight,
981
981
  color: me(Ee)(n.selectColor),
982
982
  backgroundColor: n.selectColor,
983
- border: `1px solid ${g.value}`,
983
+ border: `1px solid ${x.value}`,
984
984
  zIndex: "4",
985
985
  visibility: ne.value || n.labelLeft === n.labelRight ? "hidden" : "visible",
986
- top: M.value && n.minimapCompact ? "calc(-100% - 18px)" : "-100%"
986
+ top: b.value && n.minimapCompact ? "calc(-100% - 18px)" : "-100%"
987
987
  })
988
988
  }, $e(n.labelRight), 7)) : m("", !0)
989
989
  ], 544)
990
990
  ], 544));
991
991
  }
992
- }, Gl = /* @__PURE__ */ tl(Il, [["__scopeId", "data-v-34d41da4"]]);
992
+ }, Gl = /* @__PURE__ */ tl(Il, [["__scopeId", "data-v-a7df6c49"]]);
993
993
  export {
994
994
  Gl as S
995
995
  };