vue-data-ui 2.12.8-beta.3 → 2.13.0

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 (92) hide show
  1. package/README.md +10 -4
  2. package/dist/{Arrow-kQyQXUUg.js → Arrow-B2y3GYgv.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DLRFrsDT.js → BaseDraggableDialog-B3CZVeze.js} +2 -2
  4. package/dist/{BaseIcon-DaR0sIWZ.js → BaseIcon-P7wV92Er.js} +1 -1
  5. package/dist/{ColorPicker-Bj3sq9o7.js → ColorPicker-C7b6TR_9.js} +2 -2
  6. package/dist/{DataTable-BBqbcutV.js → DataTable-DBkfb6pd.js} +2 -2
  7. package/dist/{Legend-DRqzYrP9.js → Legend-DcDRW3Xd.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-CQIC2PMP.js → NonSvgPenAndPaper-DYA_rF1x.js} +3 -3
  9. package/dist/{PackageVersion-ClpqQxYT.js → PackageVersion-C5fpg4GN.js} +2 -2
  10. package/dist/{PenAndPaper-B-T7XvxF.js → PenAndPaper-BRkuVFb4.js} +3 -3
  11. package/dist/{Shape-DEWxbZ-l.js → Shape-CnD-h_98.js} +1 -1
  12. package/dist/{Slicer-o6jJH5bw.js → Slicer-CxdgZOQ7.js} +2 -2
  13. package/dist/{SparkTooltip-LPnbBoFu.js → SparkTooltip-BIAMOmfJ.js} +1 -1
  14. package/dist/{Title-apr_T9tg.js → Title-DoWqzga-.js} +1 -1
  15. package/dist/{Tooltip-BuHsMAfp.js → Tooltip-DYCBNM-_.js} +1 -1
  16. package/dist/{UserOptions-OVNxxnq5.js → UserOptions-B3q-xfQV.js} +16 -11
  17. package/dist/dom-to-png-4VVH9Qna.js +247 -0
  18. package/dist/img-Dy6IrSzX.js +20 -0
  19. package/dist/{index-CH_mJIWj.js → index-BXbyT0Qn.js} +6 -2
  20. package/dist/{pdf-Jun3ogRn.js → pdf-ZrUvUcH9.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +20 -3
  23. package/dist/types/vue-data-ui.d.ts +20 -3
  24. package/dist/{useNestedProp-rMR-JeOJ.js → useNestedProp-DVZpeH84.js} +1 -1
  25. package/dist/{usePrinter-DJ7WfWUs.js → usePrinter-aKh5-HcK.js} +2 -2
  26. package/dist/{vue-data-ui-D7AaTKU6.js → vue-data-ui-DUHiuRmY.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-BfLLrwWi.js → vue-ui-3d-bar-C3cqHCNp.js} +173 -173
  29. package/dist/{vue-ui-accordion-Ds4zkPIx.js → vue-ui-accordion-CXsjHe1y.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-C7ca5TG5.js → vue-ui-age-pyramid-B2EpIzV9.js} +179 -179
  31. package/dist/{vue-ui-annotator-DG2z1gw8.js → vue-ui-annotator-Czvbjx_j.js} +2 -2
  32. package/dist/{vue-ui-bullet-Dh25QAEH.js → vue-ui-bullet-ClY1tgTT.js} +6 -6
  33. package/dist/{vue-ui-candlestick-7Yo_kEV0.js → vue-ui-candlestick-BQ1RVdoH.js} +113 -113
  34. package/dist/{vue-ui-carousel-table-Det9Kwmy.js → vue-ui-carousel-table-UQjCOJJV.js} +94 -94
  35. package/dist/{vue-ui-chestnut-DLlFv6Uj.js → vue-ui-chestnut-DmEa8kef.js} +452 -452
  36. package/dist/{vue-ui-chord-BXlv5Z2x.js → vue-ui-chord-CEDZ-UcP.js} +17 -17
  37. package/dist/{vue-ui-circle-pack-DdRcdWmx.js → vue-ui-circle-pack-Bx_mLhCR.js} +116 -116
  38. package/dist/{vue-ui-cursor-Djtg6Ppw.js → vue-ui-cursor-D27qwk90.js} +2 -2
  39. package/dist/{vue-ui-dashboard-C4MDDCl6.js → vue-ui-dashboard-DKsYxh6J.js} +62 -62
  40. package/dist/{vue-ui-digits-8Ox6q1Ov.js → vue-ui-digits-CdDTbIAN.js} +2 -2
  41. package/dist/{vue-ui-donut-Hk4EaVhb.js → vue-ui-donut-DS-DfHIm.js} +149 -149
  42. package/dist/{vue-ui-donut-evolution-DzgYokPU.js → vue-ui-donut-evolution-XMEmv1DK.js} +109 -109
  43. package/dist/{vue-ui-dumbbell-CAC44_Hu.js → vue-ui-dumbbell-DAm5A4u3.js} +65 -65
  44. package/dist/{vue-ui-flow-CYWiZjrP.js → vue-ui-flow-CTbmqqmV.js} +12 -12
  45. package/dist/{vue-ui-funnel-C2eqxh_8.js → vue-ui-funnel-CihunDsZ.js} +65 -65
  46. package/dist/{vue-ui-galaxy-BBfg84E4.js → vue-ui-galaxy-CJHycmpt.js} +82 -82
  47. package/dist/{vue-ui-gauge-BJgJgef_.js → vue-ui-gauge-Bsc9wIKK.js} +5 -5
  48. package/dist/{vue-ui-gizmo-DBclpybR.js → vue-ui-gizmo-D6AciZZe.js} +3 -3
  49. package/dist/{vue-ui-heatmap-D65wOgqe.js → vue-ui-heatmap-in5WwNRr.js} +221 -221
  50. package/dist/{vue-ui-history-plot-CHhDy7Da.js → vue-ui-history-plot-C9IEmAmm.js} +232 -232
  51. package/dist/{vue-ui-kpi-uT6fsAaO.js → vue-ui-kpi-fDPWRpRZ.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CKVlBiYB.js → vue-ui-mini-loader-BeJRaP7N.js} +2 -2
  53. package/dist/{vue-ui-molecule-BwtHZtGN.js → vue-ui-molecule-BJbwA0F6.js} +30 -30
  54. package/dist/{vue-ui-mood-radar-Vf4_-R-m.js → vue-ui-mood-radar--YEOJ6q6.js} +75 -75
  55. package/dist/{vue-ui-nested-donuts-BVkSns4S.js → vue-ui-nested-donuts-BswKH0D6.js} +16 -16
  56. package/dist/{vue-ui-onion-UzMmwtvF.js → vue-ui-onion-BAw8X4iu.js} +70 -70
  57. package/dist/{vue-ui-parallel-coordinate-plot-Dk5T3ZAr.js → vue-ui-parallel-coordinate-plot-CYkzOe_Q.js} +11 -11
  58. package/dist/{vue-ui-quadrant-Ck7xALez.js → vue-ui-quadrant-BupqUnMn.js} +11 -11
  59. package/dist/{vue-ui-quick-chart-B62Pa0nG.js → vue-ui-quick-chart-BzpDL6CR.js} +5 -5
  60. package/dist/{vue-ui-radar-DMfv2hSb.js → vue-ui-radar-zPrbIZv5.js} +283 -282
  61. package/dist/{vue-ui-rating-CFYHJrxj.js → vue-ui-rating-DqCOz2LB.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-RWlfC5BI.js → vue-ui-relation-circle-DQp_zboM.js} +5 -5
  63. package/dist/{vue-ui-ridgeline-Bh93VzcO.js → vue-ui-ridgeline-DoJfX7Ii.js} +100 -100
  64. package/dist/{vue-ui-rings-CyX30Ccv.js → vue-ui-rings-Bk4QJYsW.js} +96 -96
  65. package/dist/{vue-ui-scatter-BEDnWByj.js → vue-ui-scatter-RxF0N8Zj.js} +164 -164
  66. package/dist/{vue-ui-skeleton-C6PWt_m5.js → vue-ui-skeleton-Fxr752Oi.js} +3 -3
  67. package/dist/{vue-ui-smiley-79itAe84.js → vue-ui-smiley-CNScIHKI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-AaA4KuaH.js → vue-ui-spark-trend-CyMzdoJ9.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-CYBZeaor.js → vue-ui-sparkbar-DMTRPWwC.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-ElGarXVS.js → vue-ui-sparkgauge-itAGdTj_.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C_LV99i1.js → vue-ui-sparkhistogram-CZx5cF_r.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DwzCA8d6.js → vue-ui-sparkline-POYMl6cO.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-CobB11uw.js → vue-ui-sparkstackbar-C0EE8xrA.js} +3 -3
  74. package/dist/{vue-ui-stackbar-B4SxM5Ix.js → vue-ui-stackbar-B6ytrTFL.js} +37 -37
  75. package/dist/{vue-ui-strip-plot-9VK_Y3SC.js → vue-ui-strip-plot-u39z36tT.js} +80 -80
  76. package/dist/{vue-ui-table-DFTE1OH5.js → vue-ui-table-Cvmrm0sZ.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DvyJx0j7.js → vue-ui-table-heatmap-BOFRFilm.js} +57 -57
  78. package/dist/{vue-ui-table-sparkline-SGsBnQTK.js → vue-ui-table-sparkline-CMhk8rpj.js} +72 -72
  79. package/dist/{vue-ui-thermometer-DEMS6HXl.js → vue-ui-thermometer-Cxznchnu.js} +5 -5
  80. package/dist/{vue-ui-timer-CQ71yJ_N.js → vue-ui-timer-Du0Cskiy.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CsN_QtUK.js → vue-ui-tiremarks-BzC40iBw.js} +5 -5
  82. package/dist/{vue-ui-treemap-B0CPNusH.js → vue-ui-treemap-D5Nk7usb.js} +297 -297
  83. package/dist/{vue-ui-vertical-bar-Cxv-ahMT.js → vue-ui-vertical-bar-BivMp4WH.js} +81 -81
  84. package/dist/{vue-ui-waffle-TgNNo9UX.js → vue-ui-waffle-DI0Ul1Tb.js} +50 -50
  85. package/dist/{vue-ui-wheel-Bq0ZLc-R.js → vue-ui-wheel-BfHsxhQq.js} +5 -5
  86. package/dist/{vue-ui-word-cloud-D28awCaT.js → vue-ui-word-cloud-ytYbdQKa.js} +67 -67
  87. package/dist/{vue-ui-world-BhUsfhY5.js → vue-ui-world-CiYvMEKb.js} +55 -55
  88. package/dist/{vue-ui-xy-CEFkua9H.js → vue-ui-xy-DxgCkZEV.js} +201 -182
  89. package/dist/{vue-ui-xy-canvas-oHhzL0ui.js → vue-ui-xy-canvas-R0tICTKy.js} +80 -80
  90. package/package.json +1 -1
  91. package/dist/dom-to-png-C0Ct8ClX.js +0 -243
  92. package/dist/img-P0SFFw37.js +0 -19
@@ -1,12 +1,12 @@
1
- import { defineAsyncComponent as A, computed as f, ref as v, watch as Ke, shallowRef as Ae, onMounted as Qe, onBeforeUnmount as Ze, createElementBlock as u, openBlock as s, unref as i, normalizeStyle as j, normalizeClass as G, createBlock as L, createCommentVNode as c, createVNode as Le, createSlots as et, withCtx as y, renderSlot as p, normalizeProps as F, guardReactiveProps as M, createElementVNode as k, Fragment as g, renderList as C, toDisplayString as P, mergeProps as tt, createTextVNode as lt, nextTick as at } from "vue";
2
- import { u as ot, c as le, t as st, p as S, a as rt, o as ut, e as ae, g as Pe, b as nt, d as Se, v as it, D as vt, f as Y, X as ct, i as oe, l as ht, h as dt, x as Oe, F as pt, q as ft, r as yt, y as bt } from "./index-CH_mJIWj.js";
1
+ import { defineAsyncComponent as A, computed as f, ref as v, watch as Ke, shallowRef as Ae, onMounted as Qe, onBeforeUnmount as Ze, createElementBlock as u, openBlock as r, unref as i, normalizeStyle as j, normalizeClass as G, createBlock as L, createCommentVNode as c, createVNode as Le, createSlots as et, withCtx as y, renderSlot as p, normalizeProps as F, guardReactiveProps as M, createElementVNode as k, Fragment as g, renderList as $, toDisplayString as P, mergeProps as tt, createTextVNode as lt, nextTick as at } from "vue";
2
+ import { u as ot, c as le, t as st, p as S, a as rt, o as ut, e as ae, g as Pe, b as nt, d as Se, v as it, D as vt, f as Y, X as ct, i as oe, l as ht, h as dt, x as Oe, F as pt, q as ft, r as yt, y as bt } from "./index-BXbyT0Qn.js";
3
3
  import { t as mt, u as gt } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as ze } from "./useNestedProp-rMR-JeOJ.js";
5
- import { u as kt } from "./usePrinter-DJ7WfWUs.js";
4
+ import { u as ze } from "./useNestedProp-DVZpeH84.js";
5
+ import { u as kt } from "./usePrinter-aKh5-HcK.js";
6
6
  import { u as xt } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as wt } from "./useChartAccessibility-9icAAmYg.js";
8
- import Ct from "./Title-apr_T9tg.js";
9
- import { _ as $t } from "./Shape-DEWxbZ-l.js";
8
+ import Ct from "./Title-DoWqzga-.js";
9
+ import { _ as $t } from "./Shape-CnD-h_98.js";
10
10
  import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"], Pt = { key: 1 }, St = { key: 0 }, Ot = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], zt = { key: 1 }, Nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], It = ["x", "y", "fill", "font-size"], Wt = ["x", "y", "font-size", "fill"], Dt = ["fill", "font-size", "transform"], Gt = ["fill", "font-size", "x", "y"], Rt = ["x1", "x2", "y1", "y2", "stroke"], Vt = ["cx", "cy", "fill"], Et = ["cx", "cy", "fill"], Ut = ["id"], Ht = ["stop-color"], Bt = ["stop-color"], Xt = ["stop-color"], jt = { key: 0 }, Yt = ["x", "y", "font-size", "fill"], qt = {
12
12
  key: 5,
@@ -29,7 +29,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
29
29
  },
30
30
  emits: ["selectDatapoint"],
31
31
  setup(Ne, { expose: Fe, emit: Me }) {
32
- const Ie = A(() => import("./vue-ui-accordion-Ds4zkPIx.js")), We = A(() => import("./DataTable-BBqbcutV.js")), De = A(() => import("./PackageVersion-ClpqQxYT.js")), Ge = A(() => import("./PenAndPaper-B-T7XvxF.js")), Re = A(() => import("./vue-ui-skeleton-C6PWt_m5.js")), Ve = A(() => import("./Tooltip-BuHsMAfp.js")), Ee = A(() => import("./UserOptions-OVNxxnq5.js")), { vue_ui_strip_plot: Ue } = ot(), b = Ne, He = Me, $ = f({
32
+ const Ie = A(() => import("./vue-ui-accordion-CXsjHe1y.js")), We = A(() => import("./DataTable-DBkfb6pd.js")), De = A(() => import("./PackageVersion-C5fpg4GN.js")), Ge = A(() => import("./PenAndPaper-BRkuVFb4.js")), Re = A(() => import("./vue-ui-skeleton-Fxr752Oi.js")), Ve = A(() => import("./Tooltip-DYCBNM-_.js")), Ee = A(() => import("./UserOptions-B3q-xfQV.js")), { vue_ui_strip_plot: Ue } = ot(), b = Ne, He = Me, T = f({
33
33
  get() {
34
34
  return !!b.dataset && b.dataset.length;
35
35
  },
@@ -56,7 +56,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
56
56
  Ke(() => b.config, (t) => {
57
57
  e.value = fe(), Q.value = !e.value.userOptions.showOnChartHover, ye(), ve.value += 1, ce.value += 1, d.value.dataLabels.show = e.value.style.chart.labels.bestPlotLabel.show, d.value.showTable = e.value.table.show, d.value.showTooltip = e.value.style.chart.tooltip.show;
58
58
  }, { deep: !0 });
59
- const w = Ae(null), O = Ae(null);
59
+ const C = Ae(null), O = Ae(null);
60
60
  Qe(() => {
61
61
  ye();
62
62
  });
@@ -69,22 +69,22 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
69
69
  datasetObject: t,
70
70
  requiredAttributes: ["name", "plots"]
71
71
  }).forEach((l) => {
72
- $.value = !1, ae({
72
+ T.value = !1, ae({
73
73
  componentName: "VueUiStripPlot",
74
74
  type: "datasetSerieAttribute",
75
75
  property: l,
76
76
  index: o
77
77
  });
78
- }), t.plots && t.plots.forEach((l, r) => {
78
+ }), t.plots && t.plots.forEach((l, s) => {
79
79
  Pe({
80
80
  datasetObject: l,
81
81
  requiredAttributes: ["name", "value"]
82
82
  }).forEach((n) => {
83
- $.value = !1, ae({
83
+ T.value = !1, ae({
84
84
  componentName: "VueUiStripPlot",
85
85
  type: "datasetSerieAttribute",
86
86
  property: n,
87
- index: `${o},${r}`
87
+ index: `${o},${s}`
88
88
  });
89
89
  });
90
90
  });
@@ -106,14 +106,14 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
106
106
  }));
107
107
  });
108
108
  });
109
- w.value && (O.value && w.value.unobserve(O.value), w.value.disconnect()), w.value = new ResizeObserver(t), O.value = I.value.parentNode, w.value.observe(O.value);
109
+ C.value && (O.value && C.value.unobserve(O.value), C.value.disconnect()), C.value = new ResizeObserver(t), O.value = I.value.parentNode, C.value.observe(O.value);
110
110
  }
111
111
  ie.value = !0, setTimeout(() => {
112
112
  W.value = !1;
113
113
  }, Xe.value * 50);
114
114
  }
115
115
  Ze(() => {
116
- w.value && (O.value && w.value.unobserve(O.value), w.value.disconnect());
116
+ C.value && (O.value && C.value.unobserve(O.value), C.value.disconnect());
117
117
  });
118
118
  const { isPrinting: be, isImaging: me, generatePdf: ge, generateImage: ke } = kt({
119
119
  elementId: `strip-plot_${q.value}`,
@@ -146,19 +146,19 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
146
146
  absoluteHeight: R.value,
147
147
  absoluteWidth: t
148
148
  };
149
- }), E = f(() => $.value ? b.dataset.map((t, o) => {
149
+ }), E = f(() => T.value ? b.dataset.map((t, o) => {
150
150
  const l = le();
151
151
  return {
152
152
  ...t,
153
153
  id: l,
154
154
  color: t.color ? Se(t.color) : xe.value[o] || S[o] || S[o % S.length],
155
- plots: t.plots.map((r) => ({
156
- ...r,
157
- value: it(r.value),
155
+ plots: t.plots.map((s) => ({
156
+ ...s,
157
+ value: it(s.value),
158
158
  parentId: l,
159
159
  color: t.color ? Se(t.color) : xe.value[o] || S[o] || S[o % S.length],
160
160
  id: le()
161
- })).sort((r, n) => r.value - n.value)
161
+ })).sort((s, n) => s.value - n.value)
162
162
  };
163
163
  }) : null), x = f(() => (E.value || []).map((t, o) => ({
164
164
  ...t,
@@ -172,14 +172,14 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
172
172
  max: Math.max(...t),
173
173
  min: Math.min(...t)
174
174
  };
175
- }), T = f(() => vt(Z.value.min < 0 ? Z.value.min : 0, Z.value.max, e.value.style.chart.grid.scaleSteps)), je = f(() => (x.value || []).map((t, o) => ({
175
+ }), _ = f(() => vt(Z.value.min < 0 ? Z.value.min : 0, Z.value.max, e.value.style.chart.grid.scaleSteps)), je = f(() => (x.value || []).map((t, o) => ({
176
176
  ...t,
177
177
  plots: t.plots.map((l) => ({
178
178
  ...l,
179
- y: a.value.bottom - (l.value + Math.abs(T.value.min)) / (T.value.max + Math.abs(T.value.min)) * a.value.height
179
+ y: a.value.bottom - (l.value + Math.abs(_.value.min)) / (_.value.max + Math.abs(_.value.min)) * a.value.height
180
180
  }))
181
- }))), we = f(() => T.value.ticks.map((t) => ({
182
- y: a.value.bottom - a.value.height * ((t + Math.abs(T.value.min)) / (T.value.max + Math.abs(T.value.min))),
181
+ }))), we = f(() => _.value.ticks.map((t) => ({
182
+ y: a.value.bottom - a.value.height * ((t + Math.abs(_.value.min)) / (_.value.max + Math.abs(_.value.min))),
183
183
  x1: a.value.left,
184
184
  x2: a.value.right,
185
185
  value: t
@@ -200,8 +200,8 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
200
200
  config: e.value
201
201
  });
202
202
  else {
203
- let r = "";
204
- r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.value.style.chart.plots.gradient.show ? `url(#${t.parentId})` : t.color}"/></svg>${t.name}</div>`, r += `<div>${oe(
203
+ let s = "";
204
+ s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.value.style.chart.plots.gradient.show ? `url(#${t.parentId})` : t.color}"/></svg>${t.name}</div>`, s += `<div>${oe(
205
205
  e.value.style.chart.labels.formatter,
206
206
  t.value,
207
207
  Y({
@@ -211,32 +211,32 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
211
211
  r: e.value.style.chart.tooltip.roundingValue
212
212
  }),
213
213
  { datapoint: t, seriesIndex: o }
214
- )}</div>`, K.value = `<div>${r}</div>`;
214
+ )}</div>`, K.value = `<div>${s}</div>`;
215
215
  }
216
216
  }
217
217
  const U = f(() => {
218
- const t = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r, n) => n.value - r.value).map((r) => ({
219
- name: `${l.name} - ${r.name}`,
220
- color: r.color
221
- }))), o = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r, n) => n.value - r.value).map((r) => r.value));
218
+ const t = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((s, n) => n.value - s.value).map((s) => ({
219
+ name: `${l.name} - ${s.name}`,
220
+ color: s.color
221
+ }))), o = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((s, n) => n.value - s.value).map((s) => s.value));
222
222
  return { head: t, body: o };
223
223
  });
224
- function Ce() {
224
+ function Ce(t = null) {
225
225
  at(() => {
226
- const t = U.value.head.map((r, n) => [[
227
- r.name
228
- ], [U.value.body[n]]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(t), l = ft(o);
229
- yt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
226
+ const o = U.value.head.map((n, w) => [[
227
+ n.name
228
+ ], [U.value.body[w]]]), 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(o), s = ft(l);
229
+ t ? t(s) : yt({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
230
230
  });
231
231
  }
232
232
  const H = f(() => {
233
233
  const t = [
234
234
  e.value.table.columnNames.series,
235
235
  e.value.table.columnNames.value
236
- ], o = U.value.head.map((n, _) => {
236
+ ], o = U.value.head.map((n, w) => {
237
237
  const X = Y({
238
238
  p: e.value.style.chart.labels.prefix,
239
- v: U.value.body[_],
239
+ v: U.value.body[w],
240
240
  s: e.value.style.chart.labels.suffix,
241
241
  r: e.value.table.td.roundingValue
242
242
  });
@@ -298,7 +298,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
298
298
  toggleLabels: Te,
299
299
  toggleTooltip: _e,
300
300
  toggleAnnotator: te
301
- }), (t, o) => (s(), u("div", {
301
+ }), (t, o) => (r(), u("div", {
302
302
  ref_key: "stripPlotChart",
303
303
  ref: I,
304
304
  class: G(`vue-ui-strip-plot ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
@@ -307,7 +307,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
307
307
  onMouseenter: o[2] || (o[2] = () => i(he)(!0)),
308
308
  onMouseleave: o[3] || (o[3] = () => i(he)(!1))
309
309
  }, [
310
- e.value.userOptions.buttons.annotator ? (s(), L(i(Ge), {
310
+ e.value.userOptions.buttons.annotator ? (r(), L(i(Ge), {
311
311
  key: 0,
312
312
  svgRef: i(pe),
313
313
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -315,20 +315,20 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
315
315
  active: B.value,
316
316
  onClose: te
317
317
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
318
- Be.value ? (s(), u("div", {
318
+ Be.value ? (r(), u("div", {
319
319
  key: 1,
320
320
  ref_key: "noTitle",
321
321
  ref: ne,
322
322
  class: "vue-data-ui-no-title-space",
323
323
  style: "height:36px; width: 100%;background:transparent"
324
324
  }, null, 512)) : c("", !0),
325
- e.value.style.chart.title.text ? (s(), u("div", {
325
+ e.value.style.chart.title.text ? (r(), u("div", {
326
326
  key: 2,
327
327
  ref_key: "chartTitle",
328
328
  ref: re,
329
329
  style: "width:100%;background:transparent;padding-bottom:24px"
330
330
  }, [
331
- (s(), L(Ct, {
331
+ (r(), L(Ct, {
332
332
  key: `title_${ve.value}`,
333
333
  config: {
334
334
  title: {
@@ -342,7 +342,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
342
342
  }
343
343
  }, null, 8, ["config"]))
344
344
  ], 512)) : c("", !0),
345
- e.value.userOptions.show && $.value && (i(de) || i(Q)) ? (s(), L(i(Ee), {
345
+ e.value.userOptions.show && T.value && (i(de) || i(Q)) ? (r(), L(i(Ee), {
346
346
  ref: "details",
347
347
  key: `user_option_${se.value}`,
348
348
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -379,8 +379,8 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
379
379
  }, et({ _: 2 }, [
380
380
  t.$slots.menuIcon ? {
381
381
  name: "menuIcon",
382
- fn: y(({ isOpen: l, color: r }) => [
383
- p(t.$slots, "menuIcon", F(M({ isOpen: l, color: r })), void 0, !0)
382
+ fn: y(({ isOpen: l, color: s }) => [
383
+ p(t.$slots, "menuIcon", F(M({ isOpen: l, color: s })), void 0, !0)
384
384
  ]),
385
385
  key: "0"
386
386
  } : void 0,
@@ -428,20 +428,20 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
428
428
  } : void 0,
429
429
  t.$slots.optionFullscreen ? {
430
430
  name: "optionFullscreen",
431
- fn: y(({ toggleFullscreen: l, isFullscreen: r }) => [
432
- p(t.$slots, "optionFullscreen", F(M({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
431
+ fn: y(({ toggleFullscreen: l, isFullscreen: s }) => [
432
+ p(t.$slots, "optionFullscreen", F(M({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
433
433
  ]),
434
434
  key: "7"
435
435
  } : void 0,
436
436
  t.$slots.optionAnnotator ? {
437
437
  name: "optionAnnotator",
438
- fn: y(({ toggleAnnotator: l, isAnnotator: r }) => [
439
- p(t.$slots, "optionAnnotator", F(M({ toggleAnnotator: l, isAnnotator: r })), void 0, !0)
438
+ fn: y(({ toggleAnnotator: l, isAnnotator: s }) => [
439
+ p(t.$slots, "optionAnnotator", F(M({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
440
440
  ]),
441
441
  key: "8"
442
442
  } : void 0
443
443
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
444
- $.value ? (s(), u("svg", {
444
+ T.value ? (r(), u("svg", {
445
445
  key: 4,
446
446
  ref_key: "svgRef",
447
447
  ref: pe,
@@ -451,7 +451,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
451
451
  style: j(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
452
452
  }, [
453
453
  Le(i(De)),
454
- t.$slots["chart-background"] ? (s(), u("foreignObject", {
454
+ t.$slots["chart-background"] ? (r(), u("foreignObject", {
455
455
  key: 0,
456
456
  x: a.value.left,
457
457
  y: a.value.top,
@@ -463,9 +463,9 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
463
463
  }, [
464
464
  p(t.$slots, "chart-background", {}, void 0, !0)
465
465
  ], 8, Lt)) : c("", !0),
466
- e.value.style.chart.grid.show ? (s(), u("g", Pt, [
467
- e.value.style.chart.grid.horizontalGrid.show ? (s(), u("g", St, [
468
- (s(!0), u(g, null, C(we.value, (l) => (s(), u("line", {
466
+ e.value.style.chart.grid.show ? (r(), u("g", Pt, [
467
+ e.value.style.chart.grid.horizontalGrid.show ? (r(), u("g", St, [
468
+ (r(!0), u(g, null, $(we.value, (l) => (r(), u("line", {
469
469
  x1: l.x1,
470
470
  x2: l.x2,
471
471
  y1: l.y,
@@ -476,10 +476,10 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
476
476
  "stroke-linecap": "round"
477
477
  }, null, 8, Ot))), 256))
478
478
  ])) : c("", !0),
479
- e.value.style.chart.grid.verticalGrid.show ? (s(), u("g", zt, [
480
- (s(!0), u(g, null, C(x.value, (l, r) => (s(), u("line", {
481
- x1: a.value.left + (r + 1) * a.value.stripWidth,
482
- x2: a.value.left + (r + 1) * a.value.stripWidth,
479
+ e.value.style.chart.grid.verticalGrid.show ? (r(), u("g", zt, [
480
+ (r(!0), u(g, null, $(x.value, (l, s) => (r(), u("line", {
481
+ x1: a.value.left + (s + 1) * a.value.stripWidth,
482
+ x2: a.value.left + (s + 1) * a.value.stripWidth,
483
483
  y1: a.value.top,
484
484
  y2: a.value.bottom,
485
485
  stroke: e.value.style.chart.grid.verticalGrid.stroke,
@@ -507,7 +507,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
507
507
  "stroke-linecap": "round"
508
508
  }, null, 8, Mt)
509
509
  ])) : c("", !0),
510
- e.value.style.chart.labels.yAxisLabels.show ? (s(!0), u(g, { key: 2 }, C(we.value, (l, r) => (s(), u("text", {
510
+ e.value.style.chart.labels.yAxisLabels.show ? (r(!0), u(g, { key: 2 }, $(we.value, (l, s) => (r(), u("text", {
511
511
  x: l.x1 - e.value.style.chart.labels.yAxisLabels.fontSize / 2 + e.value.style.chart.labels.yAxisLabels.offsetX,
512
512
  y: l.y + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
513
513
  fill: e.value.style.chart.labels.yAxisLabels.color,
@@ -522,23 +522,23 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
522
522
  s: e.value.style.chart.labels.suffix,
523
523
  r: e.value.style.chart.labels.yAxisLabels.rounding
524
524
  }),
525
- { datapoint: l, seriesIndex: r }
525
+ { datapoint: l, seriesIndex: s }
526
526
  )), 9, It))), 256)) : c("", !0),
527
- e.value.style.chart.labels.xAxisLabels.show ? (s(!0), u(g, { key: 3 }, C(x.value, (l, r) => (s(), u("text", {
528
- x: a.value.left + (r + 1) * a.value.stripWidth - a.value.stripWidth / 2,
527
+ e.value.style.chart.labels.xAxisLabels.show ? (r(!0), u(g, { key: 3 }, $(x.value, (l, s) => (r(), u("text", {
528
+ x: a.value.left + (s + 1) * a.value.stripWidth - a.value.stripWidth / 2,
529
529
  y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY,
530
530
  "font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
531
531
  fill: e.value.style.chart.labels.xAxisLabels.color,
532
532
  "text-anchor": "middle"
533
533
  }, P(l.name), 9, Wt))), 256)) : c("", !0),
534
- e.value.style.chart.labels.axis.yLabel ? (s(), u("text", {
534
+ e.value.style.chart.labels.axis.yLabel ? (r(), u("text", {
535
535
  key: 4,
536
536
  fill: e.value.style.chart.labels.axis.color,
537
537
  "font-size": e.value.style.chart.labels.axis.fontSize,
538
538
  transform: `translate(${e.value.style.chart.labels.axis.fontSize + e.value.style.chart.labels.axis.yLabelOffsetX}, ${a.value.top + a.value.height / 2}) rotate(-90)`,
539
539
  "text-anchor": "middle"
540
540
  }, P(e.value.style.chart.labels.axis.yLabel), 9, Dt)) : c("", !0),
541
- e.value.style.chart.labels.axis.xLabel ? (s(), u("text", {
541
+ e.value.style.chart.labels.axis.xLabel ? (r(), u("text", {
542
542
  key: 5,
543
543
  fill: e.value.style.chart.labels.axis.color,
544
544
  "font-size": e.value.style.chart.labels.axis.fontSize,
@@ -546,7 +546,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
546
546
  y: a.value.absoluteHeight,
547
547
  "text-anchor": "middle"
548
548
  }, P(e.value.style.chart.labels.axis.xLabel), 9, Gt)) : c("", !0),
549
- h.value ? (s(), u(g, { key: 6 }, [
549
+ h.value ? (r(), u(g, { key: 6 }, [
550
550
  k("line", {
551
551
  x1: a.value.left,
552
552
  x2: a.value.right,
@@ -572,7 +572,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
572
572
  }, null, 10, Et)
573
573
  ], 64)) : c("", !0),
574
574
  k("defs", null, [
575
- (s(!0), u(g, null, C(x.value, (l) => (s(), u("radialGradient", {
575
+ (r(!0), u(g, null, $(x.value, (l) => (r(), u("radialGradient", {
576
576
  id: l.id,
577
577
  fy: "30%"
578
578
  }, [
@@ -590,25 +590,25 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
590
590
  }, null, 8, Xt)
591
591
  ], 8, Ut))), 256))
592
592
  ]),
593
- (s(!0), u(g, null, C(je.value, (l, r) => (s(), u(g, null, [
594
- (s(!0), u(g, null, C(l.plots, (n, _) => (s(), L($t, tt({
593
+ (r(!0), u(g, null, $(je.value, (l, s) => (r(), u(g, null, [
594
+ (r(!0), u(g, null, $(l.plots, (n, w) => (r(), L($t, tt({
595
595
  plot: { x: n.x, y: ie.value ? n.y : a.value.top },
596
596
  radius: h.value && h.value.id === n.id ? V.value * 1.5 : V.value,
597
597
  shape: e.value.style.chart.plots.shape,
598
598
  stroke: e.value.style.chart.plots.stroke,
599
599
  strokeWidth: e.value.style.chart.plots.strokeWidth,
600
600
  color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
601
- onMouseenter: (X) => Ye({ datapoint: n, seriesIndex: _ }),
601
+ onMouseenter: (X) => Ye({ datapoint: n, seriesIndex: w }),
602
602
  onMouseleave: o[0] || (o[0] = (X) => {
603
603
  J.value = !1, h.value = null;
604
604
  }),
605
605
  onClick: (X) => He("selectDatapoint", n),
606
- style: `transition: all 0.2s ease-in-out; opacity:${h.value ? h.value.id === n.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${W.value ? `transition-delay:${_ * 50}ms` : ""}`,
606
+ style: `transition: all 0.2s ease-in-out; opacity:${h.value ? h.value.id === n.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${W.value ? `transition-delay:${w * 50}ms` : ""}`,
607
607
  class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && W.value, "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !W.value }
608
608
  }, { ref_for: !0 }, t.$attrs), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "onMouseenter", "onClick", "style", "class"]))), 256)),
609
- d.value.dataLabels.show ? (s(), u("g", jt, [
610
- (s(!0), u(g, null, C(l.plots, (n, _) => (s(), u(g, null, [
611
- _ === l.plots.length - 1 || h.value && h.value.id === n.id && !d.value.showTooltip ? (s(), u("text", {
609
+ d.value.dataLabels.show ? (r(), u("g", jt, [
610
+ (r(!0), u(g, null, $(l.plots, (n, w) => (r(), u(g, null, [
611
+ w === l.plots.length - 1 || h.value && h.value.id === n.id && !d.value.showTooltip ? (r(), u("text", {
612
612
  key: 0,
613
613
  x: n.x,
614
614
  y: n.y + e.value.style.chart.labels.bestPlotLabel.offsetY - V.value * (h.value && h.value.id === n.id && !d.value.showTooltip ? 2 : 1.5),
@@ -625,17 +625,17 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
625
625
  s: `${e.value.style.chart.labels.suffix})`,
626
626
  r: e.value.style.chart.labels.bestPlotLabel.rounding
627
627
  }),
628
- { datapoint: n, seriesIndex: _ }
628
+ { datapoint: n, seriesIndex: w }
629
629
  ) : ""), 13, Yt)) : c("", !0)
630
630
  ], 64))), 256))
631
631
  ])) : c("", !0)
632
632
  ], 64))), 256)),
633
633
  p(t.$slots, "svg", { svg: a.value }, void 0, !0)
634
634
  ], 14, At)) : c("", !0),
635
- t.$slots.watermark ? (s(), u("div", qt, [
635
+ t.$slots.watermark ? (r(), u("div", qt, [
636
636
  p(t.$slots, "watermark", F(M({ isPrinting: i(be) || i(me) })), void 0, !0)
637
637
  ])) : c("", !0),
638
- $.value ? c("", !0) : (s(), L(i(Re), {
638
+ T.value ? c("", !0) : (r(), L(i(Re), {
639
639
  key: 6,
640
640
  config: {
641
641
  type: "stripPlot",
@@ -647,7 +647,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
647
647
  }
648
648
  }
649
649
  }, null, 8, ["config"])),
650
- t.$slots.source ? (s(), u("div", {
650
+ t.$slots.source ? (r(), u("div", {
651
651
  key: 7,
652
652
  ref_key: "source",
653
653
  ref: ue,
@@ -679,7 +679,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
679
679
  ]),
680
680
  _: 3
681
681
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
682
- $.value ? (s(), L(i(Ie), {
682
+ T.value ? (r(), L(i(Ie), {
683
683
  key: 8,
684
684
  hideDetails: "",
685
685
  config: {
@@ -696,7 +696,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
696
696
  }
697
697
  }, {
698
698
  content: y(() => [
699
- (s(), L(i(We), {
699
+ (r(), L(i(We), {
700
700
  key: `table_${ce.value}`,
701
701
  colNames: H.value.colNames,
702
702
  head: H.value.head,
@@ -721,7 +721,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
721
721
  }, 8, ["config"])) : c("", !0)
722
722
  ], 46, _t));
723
723
  }
724
- }, nl = /* @__PURE__ */ Tt(Kt, [["__scopeId", "data-v-557b9cd4"]]);
724
+ }, nl = /* @__PURE__ */ Tt(Kt, [["__scopeId", "data-v-2953e6f7"]]);
725
725
  export {
726
726
  nl as default
727
727
  };
@@ -1,6 +1,6 @@
1
- import { a4 as z, A as P, l as T, r as U, f as V, h as X, q as j, z as Y, d as W, G as J, u as K, p as Z } from "./index-CH_mJIWj.js";
2
- import q from "./vue-ui-xy-CEFkua9H.js";
3
- import Q from "./vue-ui-donut-Hk4EaVhb.js";
1
+ import { a4 as z, A as P, l as T, r as U, f as V, h as X, q as j, z as Y, d as W, G as J, u as K, p as Z } from "./index-BXbyT0Qn.js";
2
+ import q from "./vue-ui-xy-DxgCkZEV.js";
3
+ import Q from "./vue-ui-donut-DS-DfHIm.js";
4
4
  import { resolveComponent as x, createElementBlock as u, openBlock as c, normalizeStyle as g, createElementVNode as a, createCommentVNode as b, toDisplayString as d, Fragment as I, renderList as _, normalizeClass as p, createTextVNode as w, withDirectives as O, vModelText as S, withKeys as L, withModifiers as A, vModelSelect as $, createBlock as E, createVNode as ee } from "vue";
5
5
  import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const se = {