vue-data-ui 3.3.1 → 3.3.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 (114) hide show
  1. package/dist/{PackageVersion-BfykJm_B.js → PackageVersion-r-Q1R3nV.js} +1 -1
  2. package/dist/components/vue-ui-3d-bar.js +1 -1
  3. package/dist/components/vue-ui-age-pyramid.js +1 -1
  4. package/dist/components/vue-ui-bullet.js +1 -1
  5. package/dist/components/vue-ui-candlestick.js +1 -1
  6. package/dist/components/vue-ui-carousel-table.js +1 -1
  7. package/dist/components/vue-ui-chestnut.js +1 -1
  8. package/dist/components/vue-ui-chord.js +1 -1
  9. package/dist/components/vue-ui-circle-pack.js +1 -1
  10. package/dist/components/vue-ui-dashboard.js +1 -1
  11. package/dist/components/vue-ui-donut-evolution.js +1 -1
  12. package/dist/components/vue-ui-donut.js +1 -1
  13. package/dist/components/vue-ui-dumbbell.js +1 -1
  14. package/dist/components/vue-ui-flow.js +1 -1
  15. package/dist/components/vue-ui-funnel.js +1 -1
  16. package/dist/components/vue-ui-galaxy.js +1 -1
  17. package/dist/components/vue-ui-gauge.js +1 -1
  18. package/dist/components/vue-ui-gizmo.js +1 -1
  19. package/dist/components/vue-ui-heatmap.js +1 -1
  20. package/dist/components/vue-ui-history-plot.js +1 -1
  21. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  22. package/dist/components/vue-ui-molecule.js +1 -1
  23. package/dist/components/vue-ui-mood-radar.js +1 -1
  24. package/dist/components/vue-ui-nested-donuts.js +1 -1
  25. package/dist/components/vue-ui-onion.js +1 -1
  26. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  27. package/dist/components/vue-ui-quadrant.js +1 -1
  28. package/dist/components/vue-ui-quick-chart.js +1 -1
  29. package/dist/components/vue-ui-radar.js +1 -1
  30. package/dist/components/vue-ui-relation-circle.js +1 -1
  31. package/dist/components/vue-ui-ridgeline.js +1 -1
  32. package/dist/components/vue-ui-rings.js +1 -1
  33. package/dist/components/vue-ui-scatter.js +1 -1
  34. package/dist/components/vue-ui-skeleton.js +1 -1
  35. package/dist/components/vue-ui-spark-trend.js +1 -1
  36. package/dist/components/vue-ui-sparkbar.js +1 -1
  37. package/dist/components/vue-ui-sparkgauge.js +1 -1
  38. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  39. package/dist/components/vue-ui-sparkline.js +1 -1
  40. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  41. package/dist/components/vue-ui-stackbar.js +1 -1
  42. package/dist/components/vue-ui-strip-plot.js +1 -1
  43. package/dist/components/vue-ui-table-sparkline.js +1 -1
  44. package/dist/components/vue-ui-table.js +1 -1
  45. package/dist/components/vue-ui-thermometer.js +1 -1
  46. package/dist/components/vue-ui-timer.js +1 -1
  47. package/dist/components/vue-ui-tiremarks.js +1 -1
  48. package/dist/components/vue-ui-treemap.js +1 -1
  49. package/dist/components/vue-ui-vertical-bar.js +1 -1
  50. package/dist/components/vue-ui-waffle.js +1 -1
  51. package/dist/components/vue-ui-wheel.js +1 -1
  52. package/dist/components/vue-ui-word-cloud.js +1 -1
  53. package/dist/components/vue-ui-world.js +1 -1
  54. package/dist/components/vue-ui-xy-canvas.js +1 -1
  55. package/dist/components/vue-ui-xy.js +1 -1
  56. package/dist/style.css +1 -1
  57. package/dist/useResizeObserverEffect-DfnWps4W.js +109 -0
  58. package/dist/{vue-data-ui-j8Dnx_Ui.js → vue-data-ui-BFdGl7rL.js} +54 -54
  59. package/dist/vue-data-ui.js +54 -54
  60. package/dist/{vue-ui-3d-bar-Cml_eeEU.js → vue-ui-3d-bar-kzlIaqHU.js} +1 -1
  61. package/dist/{vue-ui-age-pyramid-MULKSv5c.js → vue-ui-age-pyramid-YFzQ15k1.js} +26 -33
  62. package/dist/{vue-ui-bullet-BHO5zu9m.js → vue-ui-bullet-DdjpiM-T.js} +1 -1
  63. package/dist/{vue-ui-candlestick-B7EjAlSi.js → vue-ui-candlestick-x9U5Ni0N.js} +28 -35
  64. package/dist/{vue-ui-carousel-table-DXnYj0Gc.js → vue-ui-carousel-table-CRI_iPLn.js} +1 -1
  65. package/dist/{vue-ui-chestnut-B1Usqda-.js → vue-ui-chestnut-YrEA5Gq3.js} +1 -1
  66. package/dist/{vue-ui-chord-DgXH82Hg.js → vue-ui-chord-D_2DdvpZ.js} +1 -1
  67. package/dist/{vue-ui-circle-pack-BQfaZFFz.js → vue-ui-circle-pack-xm9-OOAR.js} +1 -1
  68. package/dist/{vue-ui-dashboard-C6xHAPp8.js → vue-ui-dashboard-29ZuFoLn.js} +54 -54
  69. package/dist/{vue-ui-donut-swJu7UL2.js → vue-ui-donut-BQptfVfE.js} +1 -1
  70. package/dist/{vue-ui-donut-evolution-D_CKlaay.js → vue-ui-donut-evolution-fiqngEFW.js} +72 -79
  71. package/dist/{vue-ui-dumbbell-siD31WFG.js → vue-ui-dumbbell-Cw45EBO0.js} +28 -35
  72. package/dist/{vue-ui-flow-BZCnqIs-.js → vue-ui-flow-DPu9BjPy.js} +1 -1
  73. package/dist/{vue-ui-funnel-DmgcIRzW.js → vue-ui-funnel-CtlDuNjO.js} +1 -1
  74. package/dist/{vue-ui-galaxy-C-zegxf9.js → vue-ui-galaxy-BiVjoNHW.js} +1 -1
  75. package/dist/{vue-ui-gauge-D6C8eUvP.js → vue-ui-gauge-CoM6Q3Nb.js} +1 -1
  76. package/dist/{vue-ui-gizmo-iSYUVKlt.js → vue-ui-gizmo-DXG8dS5u.js} +1 -1
  77. package/dist/{vue-ui-heatmap-RHDxexNf.js → vue-ui-heatmap-D6n8AnCc.js} +135 -156
  78. package/dist/{vue-ui-history-plot-4nwAd1qA.js → vue-ui-history-plot-C8WMHda_.js} +35 -42
  79. package/dist/{vue-ui-molecule-BhisFSGQ.js → vue-ui-molecule-DC4_vXt_.js} +1 -1
  80. package/dist/{vue-ui-mood-radar-B8yHPdrV.js → vue-ui-mood-radar-BgT5wMS0.js} +1 -1
  81. package/dist/{vue-ui-nested-donuts-Bfp0oVSK.js → vue-ui-nested-donuts-D2gSqe1f.js} +1 -1
  82. package/dist/{vue-ui-onion-f1B0W_oT.js → vue-ui-onion-CEbv2ii4.js} +1 -1
  83. package/dist/{vue-ui-parallel-coordinate-plot-DcY-0R-7.js → vue-ui-parallel-coordinate-plot-budrvcwU.js} +34 -41
  84. package/dist/{vue-ui-quadrant-DuzopA33.js → vue-ui-quadrant-PpymeiXe.js} +1 -1
  85. package/dist/{vue-ui-quick-chart-45Tm1UnC.js → vue-ui-quick-chart-k6mjTD56.js} +205 -212
  86. package/dist/{vue-ui-radar-DDS405TF.js → vue-ui-radar-C5NvYMnv.js} +1 -1
  87. package/dist/{vue-ui-relation-circle-BqXHJEvi.js → vue-ui-relation-circle-Df33aaUT.js} +1 -1
  88. package/dist/{vue-ui-ridgeline-Lx7YOCRg.js → vue-ui-ridgeline-BTw-37RS.js} +34 -41
  89. package/dist/{vue-ui-rings-crjrV65X.js → vue-ui-rings-C_s9xOtZ.js} +1 -1
  90. package/dist/{vue-ui-scatter-Bk4liS2c.js → vue-ui-scatter-Jd8bQ0S5.js} +1 -1
  91. package/dist/{vue-ui-skeleton-Pu9gPf97.js → vue-ui-skeleton-Ce7H57o7.js} +1 -1
  92. package/dist/{vue-ui-spark-trend-BmaybxJn.js → vue-ui-spark-trend-DQy4iSO7.js} +1 -1
  93. package/dist/{vue-ui-sparkbar-DvhcXniz.js → vue-ui-sparkbar-CUFTHql0.js} +1 -1
  94. package/dist/{vue-ui-sparkgauge-D4Brfset.js → vue-ui-sparkgauge-CcykuBps.js} +1 -1
  95. package/dist/{vue-ui-sparkhistogram-D5_lR__d.js → vue-ui-sparkhistogram-CyGvYpYn.js} +1 -1
  96. package/dist/{vue-ui-sparkline-DxNG5QQg.js → vue-ui-sparkline-CLWJM6hA.js} +1 -1
  97. package/dist/{vue-ui-sparkstackbar-BTFzo3fq.js → vue-ui-sparkstackbar-Cln1pduE.js} +1 -1
  98. package/dist/{vue-ui-stackbar-B8glHsE6.js → vue-ui-stackbar-DIUil9DO.js} +24 -39
  99. package/dist/{vue-ui-strip-plot-C5Bro8-W.js → vue-ui-strip-plot-C4U0fT5D.js} +104 -111
  100. package/dist/{vue-ui-table-Ddu9yx2S.js → vue-ui-table-DpdP3PDq.js} +2 -2
  101. package/dist/{vue-ui-table-sparkline-D3tgrV_k.js → vue-ui-table-sparkline-Chf5YY4A.js} +1 -1
  102. package/dist/{vue-ui-thermometer-BxQIZoXd.js → vue-ui-thermometer-D6RmaNE6.js} +1 -1
  103. package/dist/{vue-ui-timer-BwFlr_19.js → vue-ui-timer-C5E1kJRt.js} +1 -1
  104. package/dist/{vue-ui-tiremarks-KwISwJS6.js → vue-ui-tiremarks-D0erVBnj.js} +1 -1
  105. package/dist/{vue-ui-treemap-C6PLDL2Y.js → vue-ui-treemap-K8FYxuYz.js} +1 -1
  106. package/dist/{vue-ui-vertical-bar-CTmRo06n.js → vue-ui-vertical-bar-BA3OY8Sh.js} +1 -1
  107. package/dist/{vue-ui-waffle-BwOLL9aa.js → vue-ui-waffle-CgLgPuro.js} +1 -1
  108. package/dist/{vue-ui-wheel-KI9mkz8y.js → vue-ui-wheel-C_cOUhCs.js} +1 -1
  109. package/dist/{vue-ui-word-cloud-DTyjx6X4.js → vue-ui-word-cloud-uvHNOIpN.js} +1 -1
  110. package/dist/{vue-ui-world-C3QXAlC7.js → vue-ui-world-DmeNMwpX.js} +1 -1
  111. package/dist/{vue-ui-xy-canvas-CdkE1NHd.js → vue-ui-xy-canvas-BQKR36bd.js} +1 -1
  112. package/dist/{vue-ui-xy-b-CN-G4J.js → vue-ui-xy-tWE4H5ij.js} +274 -281
  113. package/package.json +1 -1
  114. package/dist/useTimeLabelCollider-CIsgDrl9.js +0 -78
@@ -1,14 +1,14 @@
1
- import { defineAsyncComponent as L, computed as c, ref as i, toRefs as Nt, watch as q, shallowRef as Xe, onMounted as Ft, onBeforeUnmount as Ye, watchEffect as Mt, createElementBlock as u, openBlock as r, unref as v, normalizeStyle as J, normalizeClass as E, createBlock as O, createCommentVNode as d, createVNode as me, createSlots as je, withCtx as b, renderSlot as y, normalizeProps as F, guardReactiveProps as M, createElementVNode as m, Fragment as g, renderList as _, toDisplayString as T, mergeProps as qe, resolveDynamicComponent as It, createTextVNode as Je, nextTick as Rt } from "vue";
2
- import { c as ge, t as Bt, b as Wt, p as z, o as Ke, f as xe, g as Qe, e as Et, h as Ze, q as Gt, C as Ht, d as K, X as Ut, a as ke, L as Vt, ac as Xt, m as Yt, r as jt, z as et, D as qt, x as Jt, y as Kt, A as Qt } from "./lib-CEjkWSLj.js";
3
- import { t as tt, u as Zt } from "./useResponsive-DfdjqQps.js";
4
- import { u as el, a as lt } from "./useNestedProp-Ce3PwN8T.js";
5
- import { u as tl, B as ll } from "./BaseScanner-BgWxam9d.js";
6
- import { u as al } from "./usePrinter-DJ1iH-F_.js";
7
- import { u as ol } from "./useSvgExport-DrjCWun4.js";
8
- import { u as sl } from "./useUserOptionState-BIvW1Kz7.js";
9
- import { u as rl } from "./useChartAccessibility-9icAAmYg.js";
10
- import { u as nl } from "./useTimeLabelCollider-CIsgDrl9.js";
11
- import ul from "./img-J2dLIr8Y.js";
1
+ import { defineAsyncComponent as L, computed as c, ref as i, toRefs as Nt, watch as q, shallowRef as Xe, onMounted as Ft, onBeforeUnmount as Ye, createElementBlock as n, openBlock as r, unref as v, normalizeStyle as J, normalizeClass as E, createBlock as O, createCommentVNode as d, createVNode as me, createSlots as je, withCtx as b, renderSlot as y, normalizeProps as F, guardReactiveProps as M, createElementVNode as m, Fragment as g, renderList as _, toDisplayString as T, mergeProps as qe, resolveDynamicComponent as Mt, createTextVNode as Je, nextTick as It } from "vue";
2
+ import { c as ge, t as Rt, b as Bt, p as z, o as Ke, f as xe, g as Qe, e as Wt, h as Ze, q as Et, C as Gt, d as K, X as Ht, a as ke, L as Ut, ac as Vt, m as Xt, r as Yt, z as et, D as jt, x as qt, y as Jt, A as Kt } from "./lib-CEjkWSLj.js";
3
+ import { t as tt, u as Qt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Zt, a as lt } from "./useNestedProp-Ce3PwN8T.js";
5
+ import { u as el, B as tl } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as ll } from "./usePrinter-DJ1iH-F_.js";
7
+ import { u as al } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as ol } from "./useUserOptionState-BIvW1Kz7.js";
9
+ import { u as sl } from "./useChartAccessibility-9icAAmYg.js";
10
+ import { u as rl, a as ul } from "./useResizeObserverEffect-DfnWps4W.js";
11
+ import nl from "./img-J2dLIr8Y.js";
12
12
  import { _ as il } from "./Shape-BceHSLHf.js";
13
13
  import vl from "./Title-Camz1Lce.js";
14
14
  import { t as cl } from "./themes-Dw-dDudK.js";
@@ -34,14 +34,14 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
34
34
  },
35
35
  emits: ["selectDatapoint"],
36
36
  setup(at, { expose: ot, emit: st }) {
37
- const rt = L(() => import("./Tooltip-VOcQEHa4.js")), nt = L(() => import("./BaseIcon-eZbszQrv.js")), ut = L(() => import("./vue-ui-accordion-VTP418mC.js")), it = L(() => import("./DataTable-yAMEyP6y.js")), vt = L(() => import("./UserOptions-CSja1SGU.js")), ct = L(() => import("./PenAndPaper-Bo-lMUik.js")), ht = L(() => import("./PackageVersion-BfykJm_B.js")), dt = L(() => import("./BaseDraggableDialog-CVGErydD.js")), { vue_ui_strip_plot: pt } = el(), x = at, ft = st, G = c({
37
+ const rt = L(() => import("./Tooltip-VOcQEHa4.js")), ut = L(() => import("./BaseIcon-eZbszQrv.js")), nt = L(() => import("./vue-ui-accordion-VTP418mC.js")), it = L(() => import("./DataTable-yAMEyP6y.js")), vt = L(() => import("./UserOptions-CSja1SGU.js")), ct = L(() => import("./PenAndPaper-Bo-lMUik.js")), ht = L(() => import("./PackageVersion-r-Q1R3nV.js")), dt = L(() => import("./BaseDraggableDialog-CVGErydD.js")), { vue_ui_strip_plot: pt } = Zt(), x = at, ft = st, G = c({
38
38
  get() {
39
39
  return !!x.dataset && x.dataset.length;
40
40
  },
41
41
  set(t) {
42
42
  return t;
43
43
  }
44
- }), Q = i(ge()), we = i(0), Z = i(!1), ee = i(""), w = i(null), Ce = i(null), Ae = i(null), Le = i(null), _e = i(!1), Te = i(0), $e = i(0), I = i(null), te = i(null), le = i(null), ae = i(null), H = i(null), oe = i(null), e = i(ve()), { loading: se, FINAL_DATASET: re, manualLoading: ne } = tl({
44
+ }), Q = i(ge()), we = i(0), Z = i(!1), ee = i(""), w = i(null), Ce = i(null), Ae = i(null), Le = i(null), _e = i(!1), Te = i(0), $e = i(0), I = i(null), te = i(null), le = i(null), ae = i(null), H = i(null), oe = i(null), e = i(ve()), { loading: se, FINAL_DATASET: re, manualLoading: ue } = el({
45
45
  ...Nt(x),
46
46
  FINAL_CONFIG: e,
47
47
  prepareConfig: ve,
@@ -92,7 +92,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
92
92
  ]
93
93
  }
94
94
  ],
95
- skeletonConfig: Bt({
95
+ skeletonConfig: Rt({
96
96
  defaultConfig: e.value,
97
97
  userConfig: {
98
98
  userOptions: { show: !1 },
@@ -131,7 +131,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
131
131
  }
132
132
  }
133
133
  })
134
- }), { userOptionsVisible: ue, setUserOptionsVisibility: Se, keepUserOptionState: Oe } = sl({ config: e.value }), { svgRef: ie } = rl({ config: e.value.style.chart.title });
134
+ }), { userOptionsVisible: ne, setUserOptionsVisibility: Se, keepUserOptionState: Oe } = ol({ config: e.value }), { svgRef: ie } = sl({ config: e.value.style.chart.title });
135
135
  function ve() {
136
136
  const t = lt({
137
137
  userConfig: x.config,
@@ -142,13 +142,13 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
142
142
  userConfig: cl.vue_ui_strip_plot[t.theme] || x.config,
143
143
  defaultConfig: t
144
144
  }),
145
- customPalette: Wt[t.theme] || z
145
+ customPalette: Bt[t.theme] || z
146
146
  } : t;
147
147
  }
148
148
  q(() => x.config, async (t) => {
149
- se.value || (e.value = ve()), ue.value = !e.value.userOptions.showOnChartHover, ze(), Te.value += 1, $e.value += 1, p.value.dataLabels.show = e.value.style.chart.labels.bestPlotLabel.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show, D.value = e.value.style.chart.width, A.value = e.value.style.chart.height, B.value = e.value.style.chart.plots.radius;
149
+ se.value || (e.value = ve()), ne.value = !e.value.userOptions.showOnChartHover, ze(), Te.value += 1, $e.value += 1, p.value.dataLabels.show = e.value.style.chart.labels.bestPlotLabel.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show, D.value = e.value.style.chart.width, A.value = e.value.style.chart.height, B.value = e.value.style.chart.plots.radius;
150
150
  }, { deep: !0 }), q(() => x.dataset, (t) => {
151
- Array.isArray(t) && t.length > 0 && (ne.value = !1);
151
+ Array.isArray(t) && t.length > 0 && (ue.value = !1);
152
152
  }, { deep: !0 });
153
153
  const C = Xe(null), P = Xe(null);
154
154
  Ft(() => {
@@ -160,7 +160,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
160
160
  componentName: "VueUiStripPlot",
161
161
  type: "dataset",
162
162
  debug: ce.value
163
- }), ne.value = !0) : x.dataset.forEach((t, a) => {
163
+ }), ue.value = !0) : x.dataset.forEach((t, a) => {
164
164
  Qe({
165
165
  datasetObject: t,
166
166
  requiredAttributes: ["name", "plots"]
@@ -176,26 +176,26 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
176
176
  Qe({
177
177
  datasetObject: l,
178
178
  requiredAttributes: ["name", "value"]
179
- }).forEach((n) => {
179
+ }).forEach((u) => {
180
180
  G.value = !1, xe({
181
181
  componentName: "VueUiStripPlot",
182
182
  type: "datasetSerieAttribute",
183
- property: n,
183
+ property: u,
184
184
  index: `${a},${o}`,
185
185
  debug: ce.value
186
186
  });
187
187
  });
188
188
  });
189
- }), Ke(x.dataset) || (ne.value = e.value.loading), e.value.responsive) {
189
+ }), Ke(x.dataset) || (ue.value = e.value.loading), e.value.responsive) {
190
190
  const t = tt(() => {
191
- const { width: a, height: l } = Zt({
191
+ const { width: a, height: l } = Qt({
192
192
  chart: w.value,
193
193
  title: e.value.style.chart.title.text ? Ce.value : null,
194
194
  source: Ae.value,
195
195
  noTitle: Le.value
196
196
  });
197
197
  requestAnimationFrame(() => {
198
- yt.value = l, D.value = Math.max(0.1, a), A.value = Math.max(0.1, l - 12), e.value.responsiveProportionalSizing ? B.value = qt({
198
+ yt.value = l, D.value = Math.max(0.1, a), A.value = Math.max(0.1, l - 12), e.value.responsiveProportionalSizing ? B.value = jt({
199
199
  relator: Math.min(l, a),
200
200
  adjuster: 600,
201
201
  source: e.value.style.chart.plots.radius,
@@ -213,11 +213,11 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
213
213
  Ye(() => {
214
214
  C.value && (P.value && C.value.unobserve(P.value), C.value.disconnect());
215
215
  });
216
- const { isPrinting: Pe, isImaging: De, generatePdf: Ne, generateImage: Fe } = al({
216
+ const { isPrinting: Pe, isImaging: De, generatePdf: Ne, generateImage: Fe } = ll({
217
217
  elementId: `strip-plot_${Q.value}`,
218
218
  fileName: e.value.style.chart.title.text || "vue-ui-strip-plot",
219
219
  options: e.value.userOptions.print
220
- }), bt = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), Me = c(() => Et(e.value.customPalette)), R = i(e.value.useCssAnimation), U = i({
220
+ }), bt = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), Me = c(() => Wt(e.value.customPalette)), R = i(e.value.useCssAnimation), U = i({
221
221
  top: e.value.style.chart.padding.top,
222
222
  bottom: e.value.style.chart.padding.bottom,
223
223
  left: e.value.style.chart.padding.left,
@@ -241,8 +241,8 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
241
241
  const he = c(() => Math.min(B.value, s.value.stripWidth / 2 * 0.9));
242
242
  function mt() {
243
243
  let t = 0;
244
- oe.value && (t = Array.from(oe.value.querySelectorAll("text")).reduce((o, n) => {
245
- const h = n.getComputedTextLength();
244
+ oe.value && (t = Array.from(oe.value.querySelectorAll("text")).reduce((o, u) => {
245
+ const h = u.getComputedTextLength();
246
246
  return h > o ? h : o;
247
247
  }, 0));
248
248
  const a = ae.value ? ae.value.getBoundingClientRect().width : 0;
@@ -251,14 +251,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
251
251
  const de = i(0), gt = tt((t) => {
252
252
  de.value = t;
253
253
  }, 100);
254
- Mt((t) => {
255
- const a = H.value;
256
- if (!a) return;
257
- const l = new ResizeObserver((o) => {
258
- gt(o[0].contentRect.height);
259
- });
260
- l.observe(a), t(() => l.disconnect());
261
- }), Ye(() => {
254
+ rl({ elementRef: H, callback: gt, attr: "height" }), Ye(() => {
262
255
  de.value = 0;
263
256
  });
264
257
  const xt = c(() => {
@@ -267,11 +260,11 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
267
260
  let a = 0;
268
261
  return H.value && (a = de.value + 12), t + a;
269
262
  }), s = c(() => {
270
- const t = mt(), a = U.value.left + t + e.value.style.chart.labels.axis.yLabelOffsetX + 5, l = D.value - U.value.right, o = Math.max(0, l - a), n = U.value.top + e.value.style.chart.plots.radius + e.value.style.chart.labels.bestPlotLabel.fontSize, h = A.value - U.value.bottom - xt.value, N = Math.max(0, h - n), Ve = Array.isArray(re.value) ? re.value.length : 0, Dt = Ve > 0 ? o / Ve : 0;
263
+ const t = mt(), a = U.value.left + t + e.value.style.chart.labels.axis.yLabelOffsetX + 5, l = D.value - U.value.right, o = Math.max(0, l - a), u = U.value.top + e.value.style.chart.plots.radius + e.value.style.chart.labels.bestPlotLabel.fontSize, h = A.value - U.value.bottom - xt.value, N = Math.max(0, h - u), Ve = Array.isArray(re.value) ? re.value.length : 0, Dt = Ve > 0 ? o / Ve : 0;
271
264
  return {
272
265
  left: a,
273
266
  right: l,
274
- top: n,
267
+ top: u,
275
268
  bottom: h,
276
269
  width: o,
277
270
  height: N,
@@ -284,16 +277,16 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
284
277
  ...t,
285
278
  id: l,
286
279
  color: t.color ? Ze(t.color) : Me.value[a] || z[a] || z[a % z.length],
287
- plots: t.plots.map((o, n) => ({
280
+ plots: t.plots.map((o, u) => ({
288
281
  ...o,
289
- value: Gt(o.value),
282
+ value: Et(o.value),
290
283
  parentId: l,
291
284
  parentName: t.name,
292
285
  parentIndex: a,
293
- plotIndex: n,
286
+ plotIndex: u,
294
287
  color: t.color ? Ze(t.color) : Me.value[a] || z[a] || z[a % z.length],
295
288
  id: ge()
296
- })).sort((o, n) => o.value - n.value)
289
+ })).sort((o, u) => o.value - u.value)
297
290
  };
298
291
  })), k = c(() => (V.value || []).map((t, a) => ({
299
292
  ...t,
@@ -307,7 +300,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
307
300
  max: Math.max(...t),
308
301
  min: Math.min(...t)
309
302
  };
310
- }), $ = c(() => Ht(pe.value.min < 0 ? pe.value.min : 0, pe.value.max, e.value.style.chart.grid.scaleSteps)), wt = c(() => (k.value || []).map((t, a) => ({
303
+ }), $ = c(() => Gt(pe.value.min < 0 ? pe.value.min : 0, pe.value.max, e.value.style.chart.grid.scaleSteps)), wt = c(() => (k.value || []).map((t, a) => ({
311
304
  ...t,
312
305
  plots: t.plots.map((l) => ({
313
306
  ...l,
@@ -328,7 +321,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
328
321
  function Lt({ datapoint: t, seriesIndex: a }) {
329
322
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), fe.value = { datapoint: t, seriesIndex: a, config: e.value, series: V.value }, Z.value = !0, f.value = t;
330
323
  const l = e.value.style.chart.tooltip.customFormat;
331
- if (et(l) && Qt(() => l({
324
+ if (et(l) && Kt(() => l({
332
325
  seriesIndex: a,
333
326
  datapoint: t,
334
327
  series: V.value,
@@ -356,25 +349,25 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
356
349
  }
357
350
  }
358
351
  const X = c(() => {
359
- const t = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, n) => n.value - o.value).map((o) => ({
352
+ const t = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, u) => u.value - o.value).map((o) => ({
360
353
  name: `${l.name} - ${o.name}`,
361
354
  color: o.color
362
- }))), a = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, n) => n.value - o.value).map((o) => o.value));
355
+ }))), a = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, u) => u.value - o.value).map((o) => o.value));
363
356
  return { head: t, body: a };
364
357
  });
365
358
  function be(t = null) {
366
- Rt(() => {
367
- const a = X.value.head.map((n, h) => [[
368
- n.name
369
- ], [X.value.body[h]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(a), o = Jt(l);
370
- t ? t(o) : Kt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
359
+ It(() => {
360
+ const a = X.value.head.map((u, h) => [[
361
+ u.name
362
+ ], [X.value.body[h]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(a), o = qt(l);
363
+ t ? t(o) : Jt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
371
364
  });
372
365
  }
373
366
  const Y = c(() => {
374
367
  const t = [
375
368
  e.value.table.columnNames.series,
376
369
  e.value.table.columnNames.value
377
- ], a = X.value.head.map((n, h) => {
370
+ ], a = X.value.head.map((u, h) => {
378
371
  const N = K({
379
372
  p: e.value.style.chart.labels.prefix,
380
373
  v: X.value.body[h],
@@ -383,8 +376,8 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
383
376
  });
384
377
  return [
385
378
  {
386
- color: n.color,
387
- name: n.name
379
+ color: u.color,
380
+ name: u.name
388
381
  },
389
382
  N
390
383
  ];
@@ -432,9 +425,9 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
432
425
  }
433
426
  async function Tt({ scale: t = 2 } = {}) {
434
427
  if (!w.value) return;
435
- const { width: a, height: l } = w.value.getBoundingClientRect(), o = a / l, { imageUri: n, base64: h } = await ul({ domElement: w.value, base64: !0, img: !0, scale: t });
428
+ const { width: a, height: l } = w.value.getBoundingClientRect(), o = a / l, { imageUri: u, base64: h } = await nl({ domElement: w.value, base64: !0, img: !0, scale: t });
436
429
  return {
437
- imageUri: n,
430
+ imageUri: u,
438
431
  base64: h,
439
432
  title: e.value.style.chart.title.text,
440
433
  width: a,
@@ -443,7 +436,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
443
436
  };
444
437
  }
445
438
  const Ge = c(() => k.value.map((t) => t.name)), $t = i({ start: 0, end: k.value.length });
446
- nl({
439
+ ul({
447
440
  timeLabelsEls: H,
448
441
  timeLabels: Ge,
449
442
  slicer: $t,
@@ -459,7 +452,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
459
452
  const W = c(() => {
460
453
  const t = e.value.table.useDialog && !e.value.table.show, a = p.value.showTable;
461
454
  return {
462
- component: t ? dt : ut,
455
+ component: t ? dt : nt,
463
456
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
464
457
  props: t ? {
465
458
  backgroundColor: e.value.table.th.backgroundColor,
@@ -492,15 +485,15 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
492
485
  function He() {
493
486
  p.value.showTable = !1, te.value && te.value.setTableIconState(!1);
494
487
  }
495
- const St = c(() => e.value.style.chart.backgroundColor), Ot = c(() => e.value.style.chart.title), { exportSvg: zt, getSvg: Pt } = ol({
488
+ const St = c(() => e.value.style.chart.backgroundColor), Ot = c(() => e.value.style.chart.title), { exportSvg: zt, getSvg: Pt } = al({
496
489
  svg: ie,
497
490
  title: Ot,
498
491
  backgroundColor: St
499
492
  });
500
493
  async function Ue({ isCb: t }) {
501
494
  if (t) {
502
- const { blob: a, url: l, text: o, dataUrl: n } = await Pt();
503
- e.value.userOptions.callbacks.svg({ blob: a, url: l, text: o, dataUrl: n });
495
+ const { blob: a, url: l, text: o, dataUrl: u } = await Pt();
496
+ e.value.userOptions.callbacks.svg({ blob: a, url: l, text: o, dataUrl: u });
504
497
  } else
505
498
  zt();
506
499
  }
@@ -516,7 +509,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
516
509
  toggleTooltip: Ee,
517
510
  toggleAnnotator: ye,
518
511
  toggleFullscreen: Re
519
- }), (t, a) => (r(), u("div", {
512
+ }), (t, a) => (r(), n("div", {
520
513
  ref_key: "stripPlotChart",
521
514
  ref: w,
522
515
  class: E(`vue-data-ui-component vue-ui-strip-plot ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
@@ -533,14 +526,14 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
533
526
  active: j.value,
534
527
  onClose: ye
535
528
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
536
- bt.value ? (r(), u("div", {
529
+ bt.value ? (r(), n("div", {
537
530
  key: 1,
538
531
  ref_key: "noTitle",
539
532
  ref: Le,
540
533
  class: "vue-data-ui-no-title-space",
541
534
  style: "height:36px; width: 100%;background:transparent"
542
535
  }, null, 512)) : d("", !0),
543
- e.value.style.chart.title.text ? (r(), u("div", {
536
+ e.value.style.chart.title.text ? (r(), n("div", {
544
537
  key: 2,
545
538
  ref_key: "chartTitle",
546
539
  ref: Ce,
@@ -560,7 +553,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
560
553
  }
561
554
  }, null, 8, ["config"]))
562
555
  ], 512)) : d("", !0),
563
- e.value.userOptions.show && G.value && (v(Oe) || v(ue)) ? (r(), O(v(vt), {
556
+ e.value.userOptions.show && G.value && (v(Oe) || v(ne)) ? (r(), O(v(vt), {
564
557
  ref_key: "userOptionsRef",
565
558
  ref: te,
566
559
  key: `user_option_${we.value}`,
@@ -597,7 +590,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
597
590
  onToggleTooltip: Ee,
598
591
  onToggleAnnotator: ye,
599
592
  style: J({
600
- visibility: v(Oe) ? v(ue) ? "visible" : "hidden" : "visible"
593
+ visibility: v(Oe) ? v(ne) ? "visible" : "hidden" : "visible"
601
594
  })
602
595
  }, je({ _: 2 }, [
603
596
  t.$slots.menuIcon ? {
@@ -664,16 +657,16 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
664
657
  key: "8"
665
658
  } : void 0
666
659
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
667
- (r(), u("svg", {
660
+ (r(), n("svg", {
668
661
  ref_key: "svgRef",
669
662
  ref: ie,
670
- xmlns: v(Ut),
663
+ xmlns: v(Ht),
671
664
  class: E({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
672
665
  viewBox: `0 0 ${D.value} ${A.value}`,
673
666
  style: J(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
674
667
  }, [
675
668
  me(v(ht)),
676
- t.$slots["chart-background"] ? (r(), u("foreignObject", {
669
+ t.$slots["chart-background"] ? (r(), n("foreignObject", {
677
670
  key: 0,
678
671
  x: s.value.left,
679
672
  y: s.value.top,
@@ -685,9 +678,9 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
685
678
  }, [
686
679
  y(t.$slots, "chart-background", {}, void 0, !0)
687
680
  ], 8, fl)) : d("", !0),
688
- e.value.style.chart.grid.show ? (r(), u("g", bl, [
689
- e.value.style.chart.grid.horizontalGrid.show ? (r(), u("g", yl, [
690
- (r(!0), u(g, null, _(Ie.value, (l) => (r(), u("line", {
681
+ e.value.style.chart.grid.show ? (r(), n("g", bl, [
682
+ e.value.style.chart.grid.horizontalGrid.show ? (r(), n("g", yl, [
683
+ (r(!0), n(g, null, _(Ie.value, (l) => (r(), n("line", {
691
684
  x1: l.x1,
692
685
  x2: l.x2,
693
686
  y1: l.y,
@@ -698,8 +691,8 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
698
691
  "stroke-linecap": "round"
699
692
  }, null, 8, ml))), 256))
700
693
  ])) : d("", !0),
701
- e.value.style.chart.grid.verticalGrid.show ? (r(), u("g", gl, [
702
- (r(!0), u(g, null, _(k.value, (l, o) => (r(), u("line", {
694
+ e.value.style.chart.grid.verticalGrid.show ? (r(), n("g", gl, [
695
+ (r(!0), n(g, null, _(k.value, (l, o) => (r(), n("line", {
703
696
  x1: s.value.left + (o + 1) * s.value.stripWidth,
704
697
  x2: s.value.left + (o + 1) * s.value.stripWidth,
705
698
  y1: s.value.top,
@@ -729,12 +722,12 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
729
722
  "stroke-linecap": "round"
730
723
  }, null, 8, wl)
731
724
  ])) : d("", !0),
732
- e.value.style.chart.labels.yAxisLabels.show ? (r(), u("g", {
725
+ e.value.style.chart.labels.yAxisLabels.show ? (r(), n("g", {
733
726
  key: 2,
734
727
  ref_key: "scaleLabels",
735
728
  ref: oe
736
729
  }, [
737
- (r(!0), u(g, null, _(Ie.value, (l, o) => (r(), u("text", {
730
+ (r(!0), n(g, null, _(Ie.value, (l, o) => (r(), n("text", {
738
731
  x: l.x1 + e.value.style.chart.labels.yAxisLabels.offsetX - 5,
739
732
  y: l.y + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
740
733
  fill: e.value.style.chart.labels.yAxisLabels.color,
@@ -752,28 +745,28 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
752
745
  { datapoint: l, seriesIndex: o }
753
746
  )), 9, Cl))), 256))
754
747
  ], 512)) : d("", !0),
755
- e.value.style.chart.labels.xAxisLabels.show ? (r(), u("g", {
748
+ e.value.style.chart.labels.xAxisLabels.show ? (r(), n("g", {
756
749
  key: 3,
757
750
  ref_key: "timeLabelsEls",
758
751
  ref: H
759
752
  }, [
760
- (r(!0), u(g, null, _(Ge.value, (l, o) => (r(), u("g", null, [
753
+ (r(!0), n(g, null, _(Ge.value, (l, o) => (r(), n("g", null, [
761
754
  String(l).includes(`
762
- `) ? (r(), u("text", {
755
+ `) ? (r(), n("text", {
763
756
  key: 1,
764
757
  class: "vue-ui-strip-plot-category-name",
765
758
  transform: `translate(${s.value.left + (o + 1) * s.value.stripWidth - s.value.stripWidth / 2}, ${s.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${e.value.style.chart.labels.xAxisLabels.rotation})`,
766
759
  "font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
767
760
  fill: e.value.style.chart.labels.xAxisLabels.color,
768
761
  "text-anchor": e.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : e.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
769
- innerHTML: v(Vt)({
770
- content: v(Xt)(String(l)),
762
+ innerHTML: v(Ut)({
763
+ content: v(Vt)(String(l)),
771
764
  fontSize: e.value.style.chart.labels.xAxisLabels.fontSize,
772
765
  fill: e.value.style.chart.labels.xAxisLabels.color,
773
766
  x: 0,
774
767
  y: 0
775
768
  })
776
- }, null, 8, Ll)) : (r(), u("text", {
769
+ }, null, 8, Ll)) : (r(), n("text", {
777
770
  key: 0,
778
771
  class: "vue-ui-strip-plot-category-name",
779
772
  transform: `translate(${s.value.left + (o + 1) * s.value.stripWidth - s.value.stripWidth / 2}, ${s.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${e.value.style.chart.labels.xAxisLabels.rotation})`,
@@ -783,7 +776,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
783
776
  }, T(String(l)), 9, Al))
784
777
  ]))), 256))
785
778
  ], 512)) : d("", !0),
786
- e.value.style.chart.labels.axis.yLabel ? (r(), u("text", {
779
+ e.value.style.chart.labels.axis.yLabel ? (r(), n("text", {
787
780
  key: 4,
788
781
  ref_key: "yAxisLabel",
789
782
  ref: ae,
@@ -792,7 +785,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
792
785
  transform: `translate(${e.value.style.chart.labels.axis.fontSize}, ${s.value.top + s.value.height / 2}) rotate(-90)`,
793
786
  "text-anchor": "middle"
794
787
  }, T(e.value.style.chart.labels.axis.yLabel), 9, _l)) : d("", !0),
795
- e.value.style.chart.labels.axis.xLabel ? (r(), u("text", {
788
+ e.value.style.chart.labels.axis.xLabel ? (r(), n("text", {
796
789
  key: 5,
797
790
  ref_key: "xAxisLabel",
798
791
  ref: le,
@@ -802,7 +795,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
802
795
  y: A.value - e.value.style.chart.labels.axis.fontSize / 3,
803
796
  "text-anchor": "middle"
804
797
  }, T(e.value.style.chart.labels.axis.xLabel), 9, Tl)) : d("", !0),
805
- f.value ? (r(), u(g, { key: 6 }, [
798
+ f.value ? (r(), n(g, { key: 6 }, [
806
799
  m("line", {
807
800
  x1: s.value.left,
808
801
  x2: s.value.right,
@@ -828,17 +821,17 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
828
821
  }, null, 10, Ol)
829
822
  ], 64)) : d("", !0),
830
823
  m("defs", null, [
831
- (r(!0), u(g, null, _(k.value, (l) => (r(), u("radialGradient", {
824
+ (r(!0), n(g, null, _(k.value, (l) => (r(), n("radialGradient", {
832
825
  id: l.id,
833
826
  fy: "30%"
834
827
  }, [
835
828
  m("stop", {
836
829
  offset: "10%",
837
- "stop-color": v(Yt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
830
+ "stop-color": v(Xt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
838
831
  }, null, 8, Pl),
839
832
  m("stop", {
840
833
  offset: "90%",
841
- "stop-color": v(jt)(l.color, 0.1)
834
+ "stop-color": v(Yt)(l.color, 0.1)
842
835
  }, null, 8, Dl),
843
836
  m("stop", {
844
837
  offset: "100%",
@@ -846,50 +839,50 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
846
839
  }, null, 8, Nl)
847
840
  ], 8, zl))), 256))
848
841
  ]),
849
- (r(!0), u(g, null, _(wt.value, (l, o) => (r(), u(g, null, [
850
- (r(!0), u(g, null, _(l.plots, (n, h) => (r(), O(il, qe({ ref_for: !0 }, t.$attrs, {
851
- plot: { x: n.x, y: _e.value ? n.y : s.value.top },
852
- radius: f.value && f.value.id === n.id ? he.value * 1.5 : he.value,
842
+ (r(!0), n(g, null, _(wt.value, (l, o) => (r(), n(g, null, [
843
+ (r(!0), n(g, null, _(l.plots, (u, h) => (r(), O(il, qe({ ref_for: !0 }, t.$attrs, {
844
+ plot: { x: u.x, y: _e.value ? u.y : s.value.top },
845
+ radius: f.value && f.value.id === u.id ? he.value * 1.5 : he.value,
853
846
  shape: e.value.style.chart.plots.shape,
854
847
  stroke: e.value.style.chart.plots.stroke,
855
848
  strokeWidth: e.value.style.chart.plots.strokeWidth,
856
849
  color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
857
- style: `transition: all 0.2s ease-in-out; opacity:${f.value ? f.value.id === n.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${R.value ? `transition-delay:${h * 50}ms` : ""}`,
850
+ style: `transition: all 0.2s ease-in-out; opacity:${f.value ? f.value.id === u.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${R.value ? `transition-delay:${h * 50}ms` : ""}`,
858
851
  class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && R.value && !v(se), "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !R.value },
859
- onMouseenter: (N) => Lt({ datapoint: n, seriesIndex: h }),
860
- onMouseleave: (N) => Ct({ datapoint: n, seriesIndex: h }),
861
- onClick: (N) => At({ datapoint: n, seriesIndex: h })
852
+ onMouseenter: (N) => Lt({ datapoint: u, seriesIndex: h }),
853
+ onMouseleave: (N) => Ct({ datapoint: u, seriesIndex: h }),
854
+ onClick: (N) => At({ datapoint: u, seriesIndex: h })
862
855
  }), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "style", "class", "onMouseenter", "onMouseleave", "onClick"]))), 256)),
863
- p.value.dataLabels.show ? (r(), u("g", Fl, [
864
- (r(!0), u(g, null, _(l.plots, (n, h) => (r(), u(g, null, [
865
- h === l.plots.length - 1 || f.value && f.value.id === n.id && !p.value.showTooltip ? (r(), u("text", {
856
+ p.value.dataLabels.show ? (r(), n("g", Fl, [
857
+ (r(!0), n(g, null, _(l.plots, (u, h) => (r(), n(g, null, [
858
+ h === l.plots.length - 1 || f.value && f.value.id === u.id && !p.value.showTooltip ? (r(), n("text", {
866
859
  key: 0,
867
- x: n.x,
868
- y: n.y + e.value.style.chart.labels.bestPlotLabel.offsetY - he.value * (f.value && f.value.id === n.id && !p.value.showTooltip ? 2 : 1.5),
860
+ x: u.x,
861
+ y: u.y + e.value.style.chart.labels.bestPlotLabel.offsetY - he.value * (f.value && f.value.id === u.id && !p.value.showTooltip ? 2 : 1.5),
869
862
  "font-size": e.value.style.chart.labels.bestPlotLabel.fontSize,
870
863
  fill: e.value.style.chart.labels.bestPlotLabel.color,
871
864
  "text-anchor": "middle",
872
865
  style: J(`opacity:${e.value.useCssAnimation && R.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
873
- }, T(n.name) + " " + T(e.value.style.chart.labels.bestPlotLabel.showValue ? v(ke)(
866
+ }, T(u.name) + " " + T(e.value.style.chart.labels.bestPlotLabel.showValue ? v(ke)(
874
867
  e.value.style.chart.labels.formatter,
875
- n.value,
868
+ u.value,
876
869
  v(K)({
877
870
  p: `(${e.value.style.chart.labels.prefix}`,
878
- v: n.value,
871
+ v: u.value,
879
872
  s: `${e.value.style.chart.labels.suffix})`,
880
873
  r: e.value.style.chart.labels.bestPlotLabel.rounding
881
874
  }),
882
- { datapoint: n, seriesIndex: h }
875
+ { datapoint: u, seriesIndex: h }
883
876
  ) : ""), 13, Ml)) : d("", !0)
884
877
  ], 64))), 256))
885
878
  ])) : d("", !0)
886
879
  ], 64))), 256)),
887
880
  y(t.$slots, "svg", { svg: s.value }, void 0, !0)
888
881
  ], 14, pl)),
889
- t.$slots.watermark ? (r(), u("div", Il, [
882
+ t.$slots.watermark ? (r(), n("div", Il, [
890
883
  y(t.$slots, "watermark", F(M({ isPrinting: v(Pe) || v(De) })), void 0, !0)
891
884
  ])) : d("", !0),
892
- t.$slots.source ? (r(), u("div", {
885
+ t.$slots.source ? (r(), n("div", {
893
886
  key: 5,
894
887
  ref_key: "source",
895
888
  ref: Ae,
@@ -925,7 +918,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
925
918
  ]),
926
919
  _: 3
927
920
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
928
- G.value && e.value.userOptions.buttons.table ? (r(), O(It(W.value.component), qe({ key: 6 }, W.value.props, {
921
+ G.value && e.value.userOptions.buttons.table ? (r(), O(Mt(W.value.component), qe({ key: 6 }, W.value.props, {
929
922
  ref_key: "tableUnit",
930
923
  ref: I,
931
924
  onClose: He
@@ -970,7 +963,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
970
963
  class: "vue-ui-user-options-button",
971
964
  onClick: a[0] || (a[0] = (l) => be(e.value.userOptions.callbacks.csv))
972
965
  }, [
973
- me(v(nt), {
966
+ me(v(ut), {
974
967
  name: "excel",
975
968
  stroke: W.value.props.color
976
969
  }, null, 8, ["stroke"])
@@ -979,10 +972,10 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
979
972
  key: "1"
980
973
  } : void 0
981
974
  ]), 1040)) : d("", !0),
982
- v(se) ? (r(), O(ll, { key: 7 })) : d("", !0)
975
+ v(se) ? (r(), O(tl, { key: 7 })) : d("", !0)
983
976
  ], 46, dl));
984
977
  }
985
- }, ta = /* @__PURE__ */ hl(Bl, [["__scopeId", "data-v-20847046"]]);
978
+ }, ta = /* @__PURE__ */ hl(Bl, [["__scopeId", "data-v-2d2bad6e"]]);
986
979
  export {
987
980
  ta as default
988
981
  };
@@ -1,7 +1,7 @@
1
1
  import { a2 as Y, t as W, m as G, y as J, d as K, r as Z, x as q, a6 as Q, h as $, E as ee, s as E, p as te } from "./lib-CEjkWSLj.js";
2
2
  import { u as se } from "./useNestedProp-Ce3PwN8T.js";
3
- import ne from "./vue-ui-xy-b-CN-G4J.js";
4
- import re from "./vue-ui-donut-swJu7UL2.js";
3
+ import ne from "./vue-ui-xy-tWE4H5ij.js";
4
+ import re from "./vue-ui-donut-BQptfVfE.js";
5
5
  import le from "./BaseIcon-eZbszQrv.js";
6
6
  import { resolveComponent as x, createElementBlock as u, openBlock as c, normalizeStyle as g, createCommentVNode as b, createElementVNode as a, toDisplayString as h, withDirectives as O, withKeys as L, withModifiers as S, vModelText as A, createVNode as P, Fragment as C, renderList as k, normalizeClass as p, createTextVNode as _, vModelSelect as H, createBlock as R, ref as oe, computed as ae, useCssVars as ie } from "vue";
7
7
  import { _ as ce } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -44,7 +44,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
44
44
  Fe((t) => ({
45
45
  v310cbdc6: t.tdo
46
46
  }));
47
- const Ce = J(() => import("./vue-ui-sparkline-DxNG5QQg.js")), N = J(() => import("./BaseIcon-eZbszQrv.js")), xe = J(() => import("./UserOptions-CSja1SGU.js")), { vue_ui_table_sparkline: we } = Ge(), x = ke, U = p(Le()), Z = p(0), B = p(0), E = p(null), Se = Ve();
47
+ const Ce = J(() => import("./vue-ui-sparkline-CLWJM6hA.js")), N = J(() => import("./BaseIcon-eZbszQrv.js")), xe = J(() => import("./UserOptions-CSja1SGU.js")), { vue_ui_table_sparkline: we } = Ge(), x = ke, U = p(Le()), Z = p(0), B = p(0), E = p(null), Se = Ve();
48
48
  me(() => {
49
49
  Se["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
50
50
  });
@@ -42,7 +42,7 @@ const ft = ["id"], gt = {
42
42
  ee141c4a: Oe.value,
43
43
  e9077cf0: Ae.value
44
44
  }));
45
- const pe = j(() => import("./PackageVersion-BfykJm_B.js")), ke = j(() => import("./PenAndPaper-Bo-lMUik.js")), be = j(() => import("./UserOptions-CSja1SGU.js")), { vue_ui_thermometer: xe } = lt(), g = F, p = v(Be()), k = v(null), X = v(0), J = v(0), K = v(null), Q = v(null), x = v(null), I = v(null), we = c(() => !!g.dataset && Object.keys(g.dataset).length);
45
+ const pe = j(() => import("./PackageVersion-r-Q1R3nV.js")), ke = j(() => import("./PenAndPaper-Bo-lMUik.js")), be = j(() => import("./UserOptions-CSja1SGU.js")), { vue_ui_thermometer: xe } = lt(), g = F, p = v(Be()), k = v(null), X = v(0), J = v(0), K = v(null), Q = v(null), x = v(null), I = v(null), we = c(() => !!g.dataset && Object.keys(g.dataset).length);
46
46
  Ee(() => {
47
47
  te();
48
48
  });
@@ -130,7 +130,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
130
130
  },
131
131
  emits: ["start", "pause", "reset", "restart", "lap"],
132
132
  setup(q, { expose: L, emit: N }) {
133
- const S = se(() => import("./PackageVersion-BfykJm_B.js")), { vue_ui_timer: j } = ne(), D = q, g = N, $ = v(null), A = v(null), i = v(null), n = K(null), o = K(null), h = v(ve()), k = v(0);
133
+ const S = se(() => import("./PackageVersion-r-Q1R3nV.js")), { vue_ui_timer: j } = ne(), D = q, g = N, $ = v(null), A = v(null), i = v(null), n = K(null), o = K(null), h = v(ve()), k = v(0);
134
134
  le(() => {
135
135
  m();
136
136
  });