vue-data-ui 2.14.2 → 2.14.3-beta.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 (88) hide show
  1. package/README.md +17 -0
  2. package/dist/{Arrow-DNJvKMao.js → Arrow-DrUXalK1.js} +1 -1
  3. package/dist/{BaseDraggableDialog-XPll8ONG.js → BaseDraggableDialog-BBiAE4t8.js} +2 -2
  4. package/dist/{BaseIcon-D0Q4E4nY.js → BaseIcon-avTvifnO.js} +1 -1
  5. package/dist/{ColorPicker-CQl1kba_.js → ColorPicker-BAOfnFRQ.js} +2 -2
  6. package/dist/{DataTable-DzCoab4C.js → DataTable-D8n1mvaG.js} +2 -2
  7. package/dist/{Legend-DLJ9I-cg.js → Legend-Cpx0xSce.js} +4 -4
  8. package/dist/{NonSvgPenAndPaper-B0-XpttN.js → NonSvgPenAndPaper-ClnGCm8G.js} +3 -3
  9. package/dist/{PackageVersion-DrhYhyQR.js → PackageVersion-Bwu7jdjH.js} +2 -2
  10. package/dist/{PenAndPaper-BdnVqpO9.js → PenAndPaper-BzQcbTCN.js} +3 -3
  11. package/dist/{Shape-DdpwkHh8.js → Shape-D65xhJAN.js} +1 -1
  12. package/dist/{Slicer-B6mk6VRe.js → Slicer-DjwiDPEk.js} +14 -14
  13. package/dist/{SparkTooltip-DvS7F_gk.js → SparkTooltip-B8nH7aKM.js} +1 -1
  14. package/dist/{Title-xtSGHclp.js → Title-B71Dk29x.js} +1 -1
  15. package/dist/{Tooltip-D8swCIay.js → Tooltip-BuP-Tir7.js} +1 -1
  16. package/dist/{UserOptions-BbJkNcCM.js → UserOptions-fd2DeGS7.js} +2 -2
  17. package/dist/{dom-to-png-DrB0WHa5.js → dom-to-png-D7idYX2d.js} +1 -1
  18. package/dist/{img-CtqhCOnQ.js → img-CSeVuPYh.js} +1 -1
  19. package/dist/{index-DBYSSUsg.js → index-BzH6XFI9.js} +409 -394
  20. package/dist/{pdf-Cq3bf6D0.js → pdf-ksl9rS7r.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/{useNestedProp-Cu77c3W4.js → useNestedProp-CKM2gCr5.js} +1 -1
  23. package/dist/{usePrinter-xF9W73YL.js → usePrinter-C653sJjz.js} +2 -2
  24. package/dist/{vue-data-ui-BhsGEgCE.js → vue-data-ui-DdffTqYM.js} +63 -63
  25. package/dist/vue-data-ui.js +21 -21
  26. package/dist/{vue-ui-3d-bar-BiehKQpG.js → vue-ui-3d-bar-vdc7daf_.js} +5 -5
  27. package/dist/{vue-ui-accordion-CEZHj_of.js → vue-ui-accordion-Cjq4hqGi.js} +3 -3
  28. package/dist/{vue-ui-age-pyramid-CV3X9UIL.js → vue-ui-age-pyramid-CMFgIKLE.js} +5 -5
  29. package/dist/{vue-ui-annotator-C0tRqId7.js → vue-ui-annotator-BvODcd7y.js} +2 -2
  30. package/dist/{vue-ui-bullet-Dnzzp7eQ.js → vue-ui-bullet-BX73-v3g.js} +6 -6
  31. package/dist/{vue-ui-candlestick-HP8z-e20.js → vue-ui-candlestick-Ogvne-GG.js} +6 -6
  32. package/dist/{vue-ui-carousel-table-CIytKGfB.js → vue-ui-carousel-table-DXeRsoL_.js} +4 -4
  33. package/dist/{vue-ui-chestnut-jJ5DocEt.js → vue-ui-chestnut-DXDQOgbn.js} +4 -4
  34. package/dist/{vue-ui-chord-C2p48bdc.js → vue-ui-chord-CWStby-a.js} +7 -7
  35. package/dist/{vue-ui-circle-pack-Cm42Kre2.js → vue-ui-circle-pack-C4kdJPNJ.js} +5 -5
  36. package/dist/{vue-ui-cursor-DYOAowBf.js → vue-ui-cursor-Du4IVYWM.js} +2 -2
  37. package/dist/{vue-ui-dashboard-CqQ_erdb.js → vue-ui-dashboard-XpoAcLb4.js} +62 -62
  38. package/dist/{vue-ui-digits-Ckblhu11.js → vue-ui-digits-Ce_eR3L5.js} +2 -2
  39. package/dist/{vue-ui-donut-6ioyEN3H.js → vue-ui-donut-D6VPixUt.js} +111 -111
  40. package/dist/{vue-ui-donut-evolution-DcpDJ9Nx.js → vue-ui-donut-evolution-C3MA75pG.js} +309 -293
  41. package/dist/{vue-ui-dumbbell-Bs6C9JZw.js → vue-ui-dumbbell-CeQOb65i.js} +6 -6
  42. package/dist/{vue-ui-flow-2PtX-g_5.js → vue-ui-flow-D-_7gBhg.js} +26 -26
  43. package/dist/{vue-ui-funnel-DnjXDXiD.js → vue-ui-funnel-BsXNYzPK.js} +5 -5
  44. package/dist/{vue-ui-galaxy-C15I7QgX.js → vue-ui-galaxy--N2CYrWl.js} +4 -4
  45. package/dist/{vue-ui-gauge-C4ukJ9LH.js → vue-ui-gauge-DhKGlAJd.js} +5 -5
  46. package/dist/{vue-ui-gizmo-CV03sWPz.js → vue-ui-gizmo-Bcwgwj-f.js} +3 -3
  47. package/dist/{vue-ui-heatmap-C-9U8urH.js → vue-ui-heatmap-BlY7-ZUF.js} +6 -6
  48. package/dist/{vue-ui-history-plot-CctIOnX8.js → vue-ui-history-plot-typzqDiw.js} +234 -210
  49. package/dist/{vue-ui-kpi-D8DQ02cm.js → vue-ui-kpi-Cj_96Iru.js} +3 -3
  50. package/dist/{vue-ui-mini-loader-DpwNHrxl.js → vue-ui-mini-loader-Dr42qu-K.js} +2 -2
  51. package/dist/{vue-ui-molecule-je8BUEgl.js → vue-ui-molecule-DfQCNRcr.js} +16 -16
  52. package/dist/{vue-ui-mood-radar-DUwpDrKf.js → vue-ui-mood-radar-ChryER9p.js} +19 -19
  53. package/dist/{vue-ui-nested-donuts-CcIiH5y3.js → vue-ui-nested-donuts-CWm-A-co.js} +46 -46
  54. package/dist/{vue-ui-onion-B3ciM-zx.js → vue-ui-onion-Bb8s5St0.js} +6 -6
  55. package/dist/{vue-ui-parallel-coordinate-plot-C4jC8sCn.js → vue-ui-parallel-coordinate-plot-DcD53HSq.js} +188 -171
  56. package/dist/{vue-ui-quadrant--xMPLV7W.js → vue-ui-quadrant-CpuFmTG9.js} +243 -225
  57. package/dist/{vue-ui-quick-chart-Bce5gdOB.js → vue-ui-quick-chart-BHO_J8Tc.js} +369 -353
  58. package/dist/{vue-ui-radar-Bs4DRm4L.js → vue-ui-radar-LsSH7YAg.js} +45 -45
  59. package/dist/{vue-ui-rating-BjP1BHbM.js → vue-ui-rating-rcN8C68M.js} +8 -8
  60. package/dist/{vue-ui-relation-circle-D9P-zdmr.js → vue-ui-relation-circle-CmZ8rXwC.js} +5 -5
  61. package/dist/{vue-ui-ridgeline-DmNbKyms.js → vue-ui-ridgeline-CpXWT3tk.js} +185 -165
  62. package/dist/{vue-ui-rings-BebupVaJ.js → vue-ui-rings-x_HCzzIw.js} +7 -7
  63. package/dist/{vue-ui-scatter-cQ-Eu6ff.js → vue-ui-scatter-DNgUU2mO.js} +49 -49
  64. package/dist/{vue-ui-skeleton-BJy7bURO.js → vue-ui-skeleton-qa5B2MES.js} +3 -3
  65. package/dist/{vue-ui-smiley-D5QHdm68.js → vue-ui-smiley-C0DEaxQK.js} +2 -2
  66. package/dist/{vue-ui-spark-trend-CP5l6hCt.js → vue-ui-spark-trend-DjctYLri.js} +3 -3
  67. package/dist/{vue-ui-sparkbar-CW95uw6O.js → vue-ui-sparkbar-Un3CJINy.js} +3 -3
  68. package/dist/{vue-ui-sparkgauge-a4VbU8l_.js → vue-ui-sparkgauge-BascS5LC.js} +8 -8
  69. package/dist/{vue-ui-sparkhistogram-Bu2URfSJ.js → vue-ui-sparkhistogram-CZYnWAUW.js} +4 -4
  70. package/dist/{vue-ui-sparkline-TItbUk-X.js → vue-ui-sparkline-DyIDPpiz.js} +11 -11
  71. package/dist/{vue-ui-sparkstackbar-B7hTZ5lP.js → vue-ui-sparkstackbar-Ctz_OFbi.js} +3 -3
  72. package/dist/{vue-ui-stackbar-Dsdwa6lC.js → vue-ui-stackbar-DqIv6O-t.js} +417 -373
  73. package/dist/{vue-ui-strip-plot-8t8ozRzt.js → vue-ui-strip-plot-BAfdL6Ih.js} +202 -184
  74. package/dist/{vue-ui-table-CFn0ptr3.js → vue-ui-table-CCMkrVp7.js} +3 -3
  75. package/dist/{vue-ui-table-heatmap-By7Epu_x.js → vue-ui-table-heatmap--gO5Zuyp.js} +18 -18
  76. package/dist/{vue-ui-table-sparkline-CXqoNu29.js → vue-ui-table-sparkline-5HTiQPhC.js} +4 -4
  77. package/dist/{vue-ui-thermometer-XTsctSeT.js → vue-ui-thermometer-BbxNtsdP.js} +5 -5
  78. package/dist/{vue-ui-timer-LsMK3baq.js → vue-ui-timer-DwUmt-Jo.js} +5 -5
  79. package/dist/{vue-ui-tiremarks-Dmqxy_za.js → vue-ui-tiremarks-YyiGuluO.js} +5 -5
  80. package/dist/{vue-ui-treemap-CBK79HgE.js → vue-ui-treemap-hHSyoGry.js} +7 -7
  81. package/dist/{vue-ui-vertical-bar-s0W_ZvXa.js → vue-ui-vertical-bar-Bjyjarmi.js} +8 -8
  82. package/dist/{vue-ui-waffle-DYSvsk-v.js → vue-ui-waffle-B3lfeeZs.js} +246 -242
  83. package/dist/{vue-ui-wheel-ffWrYzpO.js → vue-ui-wheel-DrVnxe3n.js} +5 -5
  84. package/dist/{vue-ui-word-cloud-DMtRVU6x.js → vue-ui-word-cloud-CRFfYl4B.js} +15 -15
  85. package/dist/{vue-ui-world-DPT1WnyR.js → vue-ui-world-BeVT9bsc.js} +5 -5
  86. package/dist/{vue-ui-xy-BhuRQnpn.js → vue-ui-xy-B6LjQd7h.js} +591 -570
  87. package/dist/{vue-ui-xy-canvas-BaqwCoBL.js → vue-ui-xy-canvas-DviTudRz.js} +7 -7
  88. package/package.json +1 -1
@@ -1,17 +1,17 @@
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 n, normalizeStyle as j, normalizeClass as R, 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 it, d as Se, v as nt, 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-DBYSSUsg.js";
3
- import { t as mt, u as gt } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as ze } from "./useNestedProp-Cu77c3W4.js";
5
- import { u as kt } from "./usePrinter-xF9W73YL.js";
6
- import { u as xt } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as wt } from "./useChartAccessibility-9icAAmYg.js";
8
- import Ct from "./Title-xtSGHclp.js";
9
- import { _ as $t } from "./Shape-DdpwkHh8.js";
10
- import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
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 = {
1
+ import { defineAsyncComponent as L, computed as f, ref as v, watch as Ke, shallowRef as Le, onMounted as Qe, onBeforeUnmount as Ze, createElementBlock as u, openBlock as s, unref as i, normalizeStyle as Y, normalizeClass as R, createBlock as A, createCommentVNode as c, createVNode as Ae, 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 S, mergeProps as tt, createTextVNode as lt, nextTick as at } from "vue";
2
+ import { u as ot, c as le, t as st, p as z, a as rt, o as ut, e as ae, g as Se, b as it, d as ze, v as nt, D as vt, f as j, X as ct, i as oe, I as ht, l as dt, h as pt, x as Pe, F as ft, q as yt, r as bt, y as mt } from "./index-BzH6XFI9.js";
3
+ import { t as gt, u as kt } from "./useResponsive-JZ9xq-JV.js";
4
+ import { u as Oe } from "./useNestedProp-CKM2gCr5.js";
5
+ import { u as xt } from "./usePrinter-C653sJjz.js";
6
+ import { u as wt } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as Ct } from "./useChartAccessibility-9icAAmYg.js";
8
+ import $t from "./Title-B71Dk29x.js";
9
+ import { _ as Tt } from "./Shape-D65xhJAN.js";
10
+ import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
+ const Lt = ["id"], At = ["xmlns", "viewBox"], St = ["x", "y", "width", "height"], zt = { key: 1 }, Pt = { key: 0 }, Ot = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Nt = { key: 1 }, Ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], It = ["x", "y", "fill", "font-size"], Dt = ["x", "y", "font-size", "fill"], Gt = ["x", "y", "font-size", "fill", "innerHTML"], Rt = ["fill", "font-size", "transform"], Vt = ["fill", "font-size", "x", "y"], Et = ["x1", "x2", "y1", "y2", "stroke"], Ht = ["cx", "cy", "fill"], Ut = ["cx", "cy", "fill"], Bt = ["id"], Xt = ["stop-color"], Yt = ["stop-color"], jt = ["stop-color"], qt = { key: 0 }, Jt = ["x", "y", "font-size", "fill"], Kt = {
12
12
  key: 5,
13
13
  class: "vue-data-ui-watermark"
14
- }, Jt = ["innerHTML"], Kt = {
14
+ }, Qt = ["innerHTML"], Zt = {
15
15
  __name: "vue-ui-strip-plot",
16
16
  props: {
17
17
  config: {
@@ -29,34 +29,34 @@ 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-CEZHj_of.js")), We = A(() => import("./DataTable-DzCoab4C.js")), De = A(() => import("./PackageVersion-DrhYhyQR.js")), Ge = A(() => import("./PenAndPaper-BdnVqpO9.js")), Re = A(() => import("./vue-ui-skeleton-BJy7bURO.js")), Ve = A(() => import("./Tooltip-D8swCIay.js")), Ee = A(() => import("./UserOptions-BbJkNcCM.js")), { vue_ui_strip_plot: Ue } = ot(), b = Ne, He = Me, T = f({
32
+ const We = L(() => import("./vue-ui-accordion-Cjq4hqGi.js")), Ie = L(() => import("./DataTable-D8n1mvaG.js")), De = L(() => import("./PackageVersion-Bwu7jdjH.js")), Ge = L(() => import("./PenAndPaper-BzQcbTCN.js")), Re = L(() => import("./vue-ui-skeleton-qa5B2MES.js")), Ve = L(() => import("./Tooltip-BuP-Tir7.js")), Ee = L(() => import("./UserOptions-fd2DeGS7.js")), { vue_ui_strip_plot: He } = ot(), b = Ne, Ue = Me, T = f({
33
33
  get() {
34
34
  return !!b.dataset && b.dataset.length;
35
35
  },
36
36
  set(t) {
37
37
  return t;
38
38
  }
39
- }), q = v(le()), se = v(0), J = v(!1), K = v(""), I = v(null), re = v(null), ue = v(null), ie = v(null), ne = v(!1), ve = v(0), ce = v(0), e = f({
39
+ }), q = v(le()), se = v(0), J = v(!1), K = v(""), W = v(null), re = v(null), ue = v(null), ie = v(null), ne = v(!1), ve = v(0), ce = v(0), e = f({
40
40
  get: () => fe(),
41
41
  set: (t) => t
42
- }), { userOptionsVisible: Q, setUserOptionsVisibility: he, keepUserOptionState: de } = xt({ config: e.value }), { svgRef: pe } = wt({ config: e.value.style.chart.title });
42
+ }), { userOptionsVisible: Q, setUserOptionsVisibility: he, keepUserOptionState: de } = wt({ config: e.value }), { svgRef: pe } = Ct({ config: e.value.style.chart.title });
43
43
  function fe() {
44
- const t = ze({
44
+ const t = Oe({
45
45
  userConfig: b.config,
46
- defaultConfig: Ue
46
+ defaultConfig: He
47
47
  });
48
48
  return t.theme ? {
49
- ...ze({
49
+ ...Oe({
50
50
  userConfig: rt.vue_ui_strip_plot[t.theme] || b.config,
51
51
  defaultConfig: t
52
52
  }),
53
- customPalette: st[t.theme] || S
53
+ customPalette: st[t.theme] || z
54
54
  } : t;
55
55
  }
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 C = Ae(null), O = Ae(null);
59
+ const C = Le(null), P = Le(null);
60
60
  Qe(() => {
61
61
  ye();
62
62
  });
@@ -64,8 +64,8 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
64
64
  if (ut(b.dataset) ? ae({
65
65
  componentName: "VueUiStripPlot",
66
66
  type: "dataset"
67
- }) : b.dataset.forEach((t, o) => {
68
- Pe({
67
+ }) : b.dataset.forEach((t, r) => {
68
+ Se({
69
69
  datasetObject: t,
70
70
  requiredAttributes: ["name", "plots"]
71
71
  }).forEach((l) => {
@@ -73,32 +73,32 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
73
73
  componentName: "VueUiStripPlot",
74
74
  type: "datasetSerieAttribute",
75
75
  property: l,
76
- index: o
76
+ index: r
77
77
  });
78
- }), t.plots && t.plots.forEach((l, s) => {
79
- Pe({
78
+ }), t.plots && t.plots.forEach((l, o) => {
79
+ Se({
80
80
  datasetObject: l,
81
81
  requiredAttributes: ["name", "value"]
82
- }).forEach((i) => {
82
+ }).forEach((n) => {
83
83
  T.value = !1, ae({
84
84
  componentName: "VueUiStripPlot",
85
85
  type: "datasetSerieAttribute",
86
- property: i,
87
- index: `${o},${s}`
86
+ property: n,
87
+ index: `${r},${o}`
88
88
  });
89
89
  });
90
90
  });
91
91
  }), e.value.responsive) {
92
- const t = mt(() => {
93
- const { width: o, height: l } = gt({
94
- chart: I.value,
92
+ const t = gt(() => {
93
+ const { width: r, height: l } = kt({
94
+ chart: W.value,
95
95
  title: e.value.style.chart.title.text ? re.value : null,
96
96
  source: ue.value,
97
97
  noTitle: ie.value
98
98
  });
99
99
  requestAnimationFrame(() => {
100
- V.value = l, z.value.width = o, z.value.height = l, D.value = (o - m.value.left - m.value.right) / b.dataset.length, e.value.responsiveProportionalSizing ? G.value = pt({
101
- relator: Math.min(l, o),
100
+ V.value = l, O.value.width = r, O.value.height = l, D.value = (r - m.value.left - m.value.right) / b.dataset.length, e.value.responsiveProportionalSizing ? G.value = ft({
101
+ relator: Math.min(l, r),
102
102
  adjuster: 600,
103
103
  source: e.value.style.chart.plots.radius,
104
104
  threshold: 6,
@@ -106,20 +106,20 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
106
106
  }) : G.value = e.value.style.chart.plots.radius;
107
107
  });
108
108
  });
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);
109
+ C.value && (P.value && C.value.unobserve(P.value), C.value.disconnect()), C.value = new ResizeObserver(t), P.value = W.value.parentNode, C.value.observe(P.value);
110
110
  }
111
111
  ne.value = !0, setTimeout(() => {
112
- W.value = !1;
112
+ I.value = !1;
113
113
  }, Xe.value * 50);
114
114
  }
115
115
  Ze(() => {
116
- C.value && (O.value && C.value.unobserve(O.value), C.value.disconnect());
116
+ C.value && (P.value && C.value.unobserve(P.value), C.value.disconnect());
117
117
  });
118
- const { isPrinting: be, isImaging: me, generatePdf: ge, generateImage: ke } = kt({
118
+ const { isPrinting: be, isImaging: me, generatePdf: ge, generateImage: ke } = xt({
119
119
  elementId: `strip-plot_${q.value}`,
120
120
  fileName: e.value.style.chart.title.text || "vue-ui-strip-plot",
121
121
  options: e.value.userOptions.print
122
- }), Be = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), xe = f(() => it(e.value.customPalette)), W = v(e.value.useCssAnimation), d = v({
122
+ }), Be = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), xe = f(() => it(e.value.customPalette)), I = v(e.value.useCssAnimation), d = v({
123
123
  showTable: e.value.table.show,
124
124
  dataLabels: {
125
125
  show: e.value.style.chart.labels.bestPlotLabel.show
@@ -130,7 +130,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
130
130
  bottom: e.value.style.chart.padding.bottom,
131
131
  left: e.value.style.chart.padding.left,
132
132
  right: e.value.style.chart.padding.right
133
- }), D = v(e.value.style.chart.stripWidth), V = v(e.value.style.chart.height), G = v(e.value.style.chart.plots.radius), z = v({
133
+ }), D = v(e.value.style.chart.stripWidth), V = v(e.value.style.chart.height), G = v(e.value.style.chart.plots.radius), O = v({
134
134
  width: D.value * b.dataset.length + m.value.left + m.value.right,
135
135
  height: e.value.style.chart.height
136
136
  }), a = f(() => {
@@ -146,33 +146,33 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
146
146
  absoluteHeight: V.value,
147
147
  absoluteWidth: t
148
148
  };
149
- }), E = f(() => T.value ? b.dataset.map((t, o) => {
149
+ }), E = f(() => T.value ? b.dataset.map((t, r) => {
150
150
  const l = le();
151
151
  return {
152
152
  ...t,
153
153
  id: l,
154
- color: t.color ? Se(t.color) : xe.value[o] || S[o] || S[o % S.length],
155
- plots: t.plots.map((s) => ({
156
- ...s,
157
- value: nt(s.value),
154
+ color: t.color ? ze(t.color) : xe.value[r] || z[r] || z[r % z.length],
155
+ plots: t.plots.map((o) => ({
156
+ ...o,
157
+ value: nt(o.value),
158
158
  parentId: l,
159
- color: t.color ? Se(t.color) : xe.value[o] || S[o] || S[o % S.length],
159
+ color: t.color ? ze(t.color) : xe.value[r] || z[r] || z[r % z.length],
160
160
  id: le()
161
- })).sort((s, i) => s.value - i.value)
161
+ })).sort((o, n) => o.value - n.value)
162
162
  };
163
- }) : null), x = f(() => (E.value || []).map((t, o) => ({
163
+ }) : null), x = f(() => (E.value || []).map((t, r) => ({
164
164
  ...t,
165
165
  plots: t.plots.map((l) => ({
166
166
  ...l,
167
- x: a.value.left + (o + 1) * a.value.stripWidth - a.value.stripWidth / 2
167
+ x: a.value.left + (r + 1) * a.value.stripWidth - a.value.stripWidth / 2
168
168
  }))
169
169
  }))), Xe = f(() => Math.max(...x.value.map((t) => t.plots.length))), Z = f(() => {
170
- const t = x.value.flatMap((o) => o.plots.map((l) => l.value));
170
+ const t = x.value.flatMap((r) => r.plots.map((l) => l.value));
171
171
  return {
172
172
  max: Math.max(...t),
173
173
  min: Math.min(...t)
174
174
  };
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) => ({
175
+ }), _ = f(() => vt(Z.value.min < 0 ? Z.value.min : 0, Z.value.max, e.value.style.chart.grid.scaleSteps)), Ye = f(() => (x.value || []).map((t, r) => ({
176
176
  ...t,
177
177
  plots: t.plots.map((l) => ({
178
178
  ...l,
@@ -184,66 +184,66 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
184
184
  x2: a.value.right,
185
185
  value: t
186
186
  }))), ee = v(null), h = v(null);
187
- function Ye({ datapoint: t, seriesIndex: o }) {
188
- ee.value = { datapoint: t, seriesIndex: o, config: e.value, series: E.value }, J.value = !0, h.value = t;
187
+ function je({ datapoint: t, seriesIndex: r }) {
188
+ ee.value = { datapoint: t, seriesIndex: r, config: e.value, series: E.value }, J.value = !0, h.value = t;
189
189
  const l = e.value.style.chart.tooltip.customFormat;
190
- if (Oe(l) && bt(() => l({
191
- seriesIndex: o,
190
+ if (Pe(l) && mt(() => l({
191
+ seriesIndex: r,
192
192
  datapoint: t,
193
193
  series: E.value,
194
194
  config: e.value
195
195
  })))
196
196
  K.value = l({
197
- seriesIndex: o,
197
+ seriesIndex: r,
198
198
  datapoint: t,
199
199
  series: E.value,
200
200
  config: e.value
201
201
  });
202
202
  else {
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(
203
+ let o = "";
204
+ o += `<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>`, o += `<div>${oe(
205
205
  e.value.style.chart.labels.formatter,
206
206
  t.value,
207
- Y({
207
+ j({
208
208
  p: e.value.style.chart.labels.prefix,
209
209
  v: t.value,
210
210
  s: e.value.style.chart.labels.suffix,
211
211
  r: e.value.style.chart.tooltip.roundingValue
212
212
  }),
213
- { datapoint: t, seriesIndex: o }
214
- )}</div>`, K.value = `<div>${s}</div>`;
213
+ { datapoint: t, seriesIndex: r }
214
+ )}</div>`, K.value = `<div>${o}</div>`;
215
215
  }
216
216
  }
217
- const U = f(() => {
218
- const t = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((s, i) => i.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, i) => i.value - s.value).map((s) => s.value));
222
- return { head: t, body: o };
217
+ const H = f(() => {
218
+ const t = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, n) => n.value - o.value).map((o) => ({
219
+ name: `${l.name} - ${o.name}`,
220
+ color: o.color
221
+ }))), r = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, n) => n.value - o.value).map((o) => o.value));
222
+ return { head: t, body: r };
223
223
  });
224
224
  function Ce(t = null) {
225
225
  at(() => {
226
- const o = U.value.head.map((i, w) => [[
227
- i.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" });
226
+ const r = H.value.head.map((n, w) => [[
227
+ n.name
228
+ ], [H.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(r), o = yt(l);
229
+ t ? t(o) : bt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
230
230
  });
231
231
  }
232
- const H = f(() => {
232
+ const U = 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((i, w) => {
237
- const X = Y({
236
+ ], r = H.value.head.map((n, w) => {
237
+ const X = j({
238
238
  p: e.value.style.chart.labels.prefix,
239
- v: U.value.body[w],
239
+ v: H.value.body[w],
240
240
  s: e.value.style.chart.labels.suffix,
241
241
  r: e.value.table.td.roundingValue
242
242
  });
243
243
  return [
244
244
  {
245
- color: i.color,
246
- name: i.name
245
+ color: n.color,
246
+ name: n.name
247
247
  },
248
248
  X
249
249
  ];
@@ -266,7 +266,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
266
266
  e.value.table.columnNames.value
267
267
  ],
268
268
  head: t,
269
- body: o,
269
+ body: r,
270
270
  config: l
271
271
  };
272
272
  }), N = v(!1);
@@ -298,37 +298,37 @@ 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) => (r(), u("div", {
301
+ }), (t, r) => (s(), u("div", {
302
302
  ref_key: "stripPlotChart",
303
- ref: I,
303
+ ref: W,
304
304
  class: R(`vue-ui-strip-plot ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
305
- style: j(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
305
+ style: Y(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
306
306
  id: `strip-plot_${q.value}`,
307
- onMouseenter: o[2] || (o[2] = () => n(he)(!0)),
308
- onMouseleave: o[3] || (o[3] = () => n(he)(!1))
307
+ onMouseenter: r[2] || (r[2] = () => i(he)(!0)),
308
+ onMouseleave: r[3] || (r[3] = () => i(he)(!1))
309
309
  }, [
310
- e.value.userOptions.buttons.annotator ? (r(), L(n(Ge), {
310
+ e.value.userOptions.buttons.annotator ? (s(), A(i(Ge), {
311
311
  key: 0,
312
- svgRef: n(pe),
312
+ svgRef: i(pe),
313
313
  backgroundColor: e.value.style.chart.backgroundColor,
314
314
  color: e.value.style.chart.color,
315
315
  active: B.value,
316
316
  onClose: te
317
317
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
318
- Be.value ? (r(), u("div", {
318
+ Be.value ? (s(), u("div", {
319
319
  key: 1,
320
320
  ref_key: "noTitle",
321
321
  ref: ie,
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 ? (r(), u("div", {
325
+ e.value.style.chart.title.text ? (s(), 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
- (r(), L(Ct, {
331
+ (s(), A($t, {
332
332
  key: `title_${ve.value}`,
333
333
  config: {
334
334
  title: {
@@ -342,13 +342,13 @@ 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 && T.value && (n(de) || n(Q)) ? (r(), L(n(Ee), {
345
+ e.value.userOptions.show && T.value && (i(de) || i(Q)) ? (s(), A(i(Ee), {
346
346
  ref: "details",
347
347
  key: `user_option_${se.value}`,
348
348
  backgroundColor: e.value.style.chart.backgroundColor,
349
349
  color: e.value.style.chart.color,
350
- isPrinting: n(be),
351
- isImaging: n(me),
350
+ isPrinting: i(be),
351
+ isImaging: i(me),
352
352
  uid: q.value,
353
353
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
354
354
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -360,27 +360,27 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
360
360
  isTooltip: d.value.showTooltip,
361
361
  isFullscreen: N.value,
362
362
  titles: { ...e.value.userOptions.buttonTitles },
363
- chartElement: I.value,
363
+ chartElement: W.value,
364
364
  position: e.value.userOptions.position,
365
365
  hasAnnotator: e.value.userOptions.buttons.annotator,
366
366
  isAnnotation: B.value,
367
367
  callbacks: e.value.userOptions.callbacks,
368
368
  onToggleFullscreen: qe,
369
- onGeneratePdf: n(ge),
369
+ onGeneratePdf: i(ge),
370
370
  onGenerateCsv: Ce,
371
- onGenerateImage: n(ke),
371
+ onGenerateImage: i(ke),
372
372
  onToggleTable: $e,
373
373
  onToggleLabels: Te,
374
374
  onToggleTooltip: _e,
375
375
  onToggleAnnotator: te,
376
- style: j({
377
- visibility: n(de) ? n(Q) ? "visible" : "hidden" : "visible"
376
+ style: Y({
377
+ visibility: i(de) ? i(Q) ? "visible" : "hidden" : "visible"
378
378
  })
379
379
  }, et({ _: 2 }, [
380
380
  t.$slots.menuIcon ? {
381
381
  name: "menuIcon",
382
- fn: y(({ isOpen: l, color: s }) => [
383
- p(t.$slots, "menuIcon", F(M({ isOpen: l, color: s })), void 0, !0)
382
+ fn: y(({ isOpen: l, color: o }) => [
383
+ p(t.$slots, "menuIcon", F(M({ isOpen: l, color: o })), void 0, !0)
384
384
  ]),
385
385
  key: "0"
386
386
  } : void 0,
@@ -428,30 +428,30 @@ 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: s }) => [
432
- p(t.$slots, "optionFullscreen", F(M({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
431
+ fn: y(({ toggleFullscreen: l, isFullscreen: o }) => [
432
+ p(t.$slots, "optionFullscreen", F(M({ toggleFullscreen: l, isFullscreen: o })), 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: s }) => [
439
- p(t.$slots, "optionAnnotator", F(M({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
438
+ fn: y(({ toggleAnnotator: l, isAnnotator: o }) => [
439
+ p(t.$slots, "optionAnnotator", F(M({ toggleAnnotator: l, isAnnotator: o })), 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
- T.value ? (r(), u("svg", {
444
+ T.value ? (s(), u("svg", {
445
445
  key: 4,
446
446
  ref_key: "svgRef",
447
447
  ref: pe,
448
- xmlns: n(ct),
448
+ xmlns: i(ct),
449
449
  class: R({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
450
- viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
451
- style: j(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
450
+ viewBox: `0 0 ${O.value.width <= 0 ? 10 : O.value.width} ${O.value.height <= 0 ? 10 : O.value.height}`,
451
+ style: Y(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
452
452
  }, [
453
- Le(n(De)),
454
- t.$slots["chart-background"] ? (r(), u("foreignObject", {
453
+ Ae(i(De)),
454
+ t.$slots["chart-background"] ? (s(), u("foreignObject", {
455
455
  key: 0,
456
456
  x: a.value.left,
457
457
  y: a.value.top,
@@ -462,10 +462,10 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
462
462
  }
463
463
  }, [
464
464
  p(t.$slots, "chart-background", {}, void 0, !0)
465
- ], 8, Lt)) : c("", !0),
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", {
465
+ ], 8, St)) : c("", !0),
466
+ e.value.style.chart.grid.show ? (s(), u("g", zt, [
467
+ e.value.style.chart.grid.horizontalGrid.show ? (s(), u("g", Pt, [
468
+ (s(!0), u(g, null, $(we.value, (l) => (s(), u("line", {
469
469
  x1: l.x1,
470
470
  x2: l.x2,
471
471
  y1: l.y,
@@ -476,17 +476,17 @@ 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 ? (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,
479
+ e.value.style.chart.grid.verticalGrid.show ? (s(), u("g", Nt, [
480
+ (s(!0), u(g, null, $(x.value, (l, o) => (s(), u("line", {
481
+ x1: a.value.left + (o + 1) * a.value.stripWidth,
482
+ x2: a.value.left + (o + 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,
486
486
  "stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
487
487
  "stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray,
488
488
  "stroke-linecap": "round"
489
- }, null, 8, Nt))), 256))
489
+ }, null, 8, Ft))), 256))
490
490
  ])) : c("", !0),
491
491
  k("line", {
492
492
  x1: a.value.left,
@@ -496,7 +496,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
496
496
  stroke: e.value.style.chart.grid.stroke,
497
497
  "stroke-width": e.value.style.chart.grid.strokeWidth,
498
498
  "stroke-linecap": "round"
499
- }, null, 8, Ft),
499
+ }, null, 8, Mt),
500
500
  k("line", {
501
501
  x1: a.value.left,
502
502
  x2: a.value.right,
@@ -505,48 +505,66 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
505
505
  stroke: e.value.style.chart.grid.stroke,
506
506
  "stroke-width": e.value.style.chart.grid.strokeWidth,
507
507
  "stroke-linecap": "round"
508
- }, null, 8, Mt)
508
+ }, null, 8, Wt)
509
509
  ])) : c("", !0),
510
- e.value.style.chart.labels.yAxisLabels.show ? (r(!0), u(g, { key: 2 }, $(we.value, (l, s) => (r(), u("text", {
510
+ e.value.style.chart.labels.yAxisLabels.show ? (s(!0), u(g, { key: 2 }, $(we.value, (l, o) => (s(), 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,
514
514
  "font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
515
515
  "text-anchor": "end"
516
- }, P(n(oe)(
516
+ }, S(i(oe)(
517
517
  e.value.style.chart.labels.formatter,
518
518
  l.value,
519
- n(Y)({
519
+ i(j)({
520
520
  p: e.value.style.chart.labels.prefix,
521
521
  v: l.value,
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: s }
525
+ { datapoint: l, seriesIndex: o }
526
526
  )), 9, It))), 256)) : c("", !0),
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
- y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY,
530
- "font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
531
- fill: e.value.style.chart.labels.xAxisLabels.color,
532
- "text-anchor": "middle"
533
- }, P(l.name), 9, Wt))), 256)) : c("", !0),
534
- e.value.style.chart.labels.axis.yLabel ? (r(), u("text", {
527
+ e.value.style.chart.labels.xAxisLabels.show ? (s(!0), u(g, { key: 3 }, $(x.value, (l, o) => (s(), u("g", null, [
528
+ l.name.includes(`
529
+ `) ? (s(), u("text", {
530
+ key: 1,
531
+ x: a.value.left + (o + 1) * a.value.stripWidth - a.value.stripWidth / 2,
532
+ y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY,
533
+ "font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
534
+ fill: e.value.style.chart.labels.xAxisLabels.color,
535
+ "text-anchor": "middle",
536
+ innerHTML: i(ht)({
537
+ content: l.name,
538
+ fontSize: e.value.style.chart.labels.xAxisLabels.fontSize,
539
+ fill: e.value.style.chart.labels.xAxisLabels.color,
540
+ x: a.value.left + (o + 1) * a.value.stripWidth - a.value.stripWidth / 2,
541
+ y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY
542
+ })
543
+ }, null, 8, Gt)) : (s(), u("text", {
544
+ key: 0,
545
+ x: a.value.left + (o + 1) * a.value.stripWidth - a.value.stripWidth / 2,
546
+ y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY,
547
+ "font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
548
+ fill: e.value.style.chart.labels.xAxisLabels.color,
549
+ "text-anchor": "middle"
550
+ }, S(l.name), 9, Dt))
551
+ ]))), 256)) : c("", !0),
552
+ e.value.style.chart.labels.axis.yLabel ? (s(), u("text", {
535
553
  key: 4,
536
554
  fill: e.value.style.chart.labels.axis.color,
537
555
  "font-size": e.value.style.chart.labels.axis.fontSize,
538
556
  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
557
  "text-anchor": "middle"
540
- }, P(e.value.style.chart.labels.axis.yLabel), 9, Dt)) : c("", !0),
541
- e.value.style.chart.labels.axis.xLabel ? (r(), u("text", {
558
+ }, S(e.value.style.chart.labels.axis.yLabel), 9, Rt)) : c("", !0),
559
+ e.value.style.chart.labels.axis.xLabel ? (s(), u("text", {
542
560
  key: 5,
543
561
  fill: e.value.style.chart.labels.axis.color,
544
562
  "font-size": e.value.style.chart.labels.axis.fontSize,
545
563
  x: a.value.left + a.value.width / 2,
546
564
  y: a.value.absoluteHeight,
547
565
  "text-anchor": "middle"
548
- }, P(e.value.style.chart.labels.axis.xLabel), 9, Gt)) : c("", !0),
549
- h.value ? (r(), u(g, { key: 6 }, [
566
+ }, S(e.value.style.chart.labels.axis.xLabel), 9, Vt)) : c("", !0),
567
+ h.value ? (s(), u(g, { key: 6 }, [
550
568
  k("line", {
551
569
  x1: a.value.left,
552
570
  x2: a.value.right,
@@ -555,87 +573,87 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
555
573
  stroke: h.value.color,
556
574
  "stroke-width": 1,
557
575
  class: R({ "select-circle": e.value.useCssAnimation })
558
- }, null, 10, Rt),
576
+ }, null, 10, Et),
559
577
  k("circle", {
560
578
  cx: a.value.left,
561
579
  cy: h.value.y,
562
580
  r: 3,
563
581
  fill: h.value.color,
564
582
  class: R({ "select-circle": e.value.useCssAnimation })
565
- }, null, 10, Vt),
583
+ }, null, 10, Ht),
566
584
  k("circle", {
567
585
  cx: a.value.right,
568
586
  cy: h.value.y,
569
587
  r: 3,
570
588
  fill: h.value.color,
571
589
  class: R({ "select-circle": e.value.useCssAnimation })
572
- }, null, 10, Et)
590
+ }, null, 10, Ut)
573
591
  ], 64)) : c("", !0),
574
592
  k("defs", null, [
575
- (r(!0), u(g, null, $(x.value, (l) => (r(), u("radialGradient", {
593
+ (s(!0), u(g, null, $(x.value, (l) => (s(), u("radialGradient", {
576
594
  id: l.id,
577
595
  fy: "30%"
578
596
  }, [
579
597
  k("stop", {
580
598
  offset: "10%",
581
- "stop-color": n(ht)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
582
- }, null, 8, Ht),
599
+ "stop-color": i(dt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
600
+ }, null, 8, Xt),
583
601
  k("stop", {
584
602
  offset: "90%",
585
- "stop-color": n(dt)(l.color, 0.1)
586
- }, null, 8, Bt),
603
+ "stop-color": i(pt)(l.color, 0.1)
604
+ }, null, 8, Yt),
587
605
  k("stop", {
588
606
  offset: "100%",
589
607
  "stop-color": l.color
590
- }, null, 8, Xt)
591
- ], 8, Ut))), 256))
608
+ }, null, 8, jt)
609
+ ], 8, Bt))), 256))
592
610
  ]),
593
- (r(!0), u(g, null, $(je.value, (l, s) => (r(), u(g, null, [
594
- (r(!0), u(g, null, $(l.plots, (i, w) => (r(), L($t, tt({
595
- plot: { x: i.x, y: ne.value ? i.y : a.value.top },
596
- radius: h.value && h.value.id === i.id ? G.value * 1.5 : G.value,
611
+ (s(!0), u(g, null, $(Ye.value, (l, o) => (s(), u(g, null, [
612
+ (s(!0), u(g, null, $(l.plots, (n, w) => (s(), A(Tt, tt({
613
+ plot: { x: n.x, y: ne.value ? n.y : a.value.top },
614
+ radius: h.value && h.value.id === n.id ? G.value * 1.5 : G.value,
597
615
  shape: e.value.style.chart.plots.shape,
598
616
  stroke: e.value.style.chart.plots.stroke,
599
617
  strokeWidth: e.value.style.chart.plots.strokeWidth,
600
618
  color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
601
- onMouseenter: (X) => Ye({ datapoint: i, seriesIndex: w }),
602
- onMouseleave: o[0] || (o[0] = (X) => {
619
+ onMouseenter: (X) => je({ datapoint: n, seriesIndex: w }),
620
+ onMouseleave: r[0] || (r[0] = (X) => {
603
621
  J.value = !1, h.value = null;
604
622
  }),
605
- onClick: (X) => He("selectDatapoint", i),
606
- style: `transition: all 0.2s ease-in-out; opacity:${h.value ? h.value.id === i.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${W.value ? `transition-delay:${w * 50}ms` : ""}`,
607
- class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && W.value, "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !W.value }
623
+ onClick: (X) => Ue("selectDatapoint", n),
624
+ 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};${I.value ? `transition-delay:${w * 50}ms` : ""}`,
625
+ class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && I.value, "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !I.value }
608
626
  }, { ref_for: !0 }, t.$attrs), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "onMouseenter", "onClick", "style", "class"]))), 256)),
609
- d.value.dataLabels.show ? (r(), u("g", jt, [
610
- (r(!0), u(g, null, $(l.plots, (i, w) => (r(), u(g, null, [
611
- w === l.plots.length - 1 || h.value && h.value.id === i.id && !d.value.showTooltip ? (r(), u("text", {
627
+ d.value.dataLabels.show ? (s(), u("g", qt, [
628
+ (s(!0), u(g, null, $(l.plots, (n, w) => (s(), u(g, null, [
629
+ w === l.plots.length - 1 || h.value && h.value.id === n.id && !d.value.showTooltip ? (s(), u("text", {
612
630
  key: 0,
613
- x: i.x,
614
- y: i.y + e.value.style.chart.labels.bestPlotLabel.offsetY - G.value * (h.value && h.value.id === i.id && !d.value.showTooltip ? 2 : 1.5),
631
+ x: n.x,
632
+ y: n.y + e.value.style.chart.labels.bestPlotLabel.offsetY - G.value * (h.value && h.value.id === n.id && !d.value.showTooltip ? 2 : 1.5),
615
633
  "font-size": e.value.style.chart.labels.bestPlotLabel.fontSize,
616
634
  fill: e.value.style.chart.labels.bestPlotLabel.color,
617
635
  "text-anchor": "middle",
618
- style: j(`opacity:${e.value.useCssAnimation && W.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
619
- }, P(i.name) + " " + P(e.value.style.chart.labels.bestPlotLabel.showValue ? n(oe)(
636
+ style: Y(`opacity:${e.value.useCssAnimation && I.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
637
+ }, S(n.name) + " " + S(e.value.style.chart.labels.bestPlotLabel.showValue ? i(oe)(
620
638
  e.value.style.chart.labels.formatter,
621
- i.value,
622
- n(Y)({
639
+ n.value,
640
+ i(j)({
623
641
  p: `(${e.value.style.chart.labels.prefix}`,
624
- v: i.value,
642
+ v: n.value,
625
643
  s: `${e.value.style.chart.labels.suffix})`,
626
644
  r: e.value.style.chart.labels.bestPlotLabel.rounding
627
645
  }),
628
- { datapoint: i, seriesIndex: w }
629
- ) : ""), 13, Yt)) : c("", !0)
646
+ { datapoint: n, seriesIndex: w }
647
+ ) : ""), 13, Jt)) : c("", !0)
630
648
  ], 64))), 256))
631
649
  ])) : c("", !0)
632
650
  ], 64))), 256)),
633
651
  p(t.$slots, "svg", { svg: a.value }, void 0, !0)
634
652
  ], 14, At)) : c("", !0),
635
- t.$slots.watermark ? (r(), u("div", qt, [
636
- p(t.$slots, "watermark", F(M({ isPrinting: n(be) || n(me) })), void 0, !0)
653
+ t.$slots.watermark ? (s(), u("div", Kt, [
654
+ p(t.$slots, "watermark", F(M({ isPrinting: i(be) || i(me) })), void 0, !0)
637
655
  ])) : c("", !0),
638
- T.value ? c("", !0) : (r(), L(n(Re), {
656
+ T.value ? c("", !0) : (s(), A(i(Re), {
639
657
  key: 6,
640
658
  config: {
641
659
  type: "stripPlot",
@@ -647,7 +665,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
647
665
  }
648
666
  }
649
667
  }, null, 8, ["config"])),
650
- t.$slots.source ? (r(), u("div", {
668
+ t.$slots.source ? (s(), u("div", {
651
669
  key: 7,
652
670
  ref_key: "source",
653
671
  ref: ue,
@@ -655,7 +673,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
655
673
  }, [
656
674
  p(t.$slots, "source", {}, void 0, !0)
657
675
  ], 512)) : c("", !0),
658
- Le(n(Ve), {
676
+ Ae(i(Ve), {
659
677
  show: d.value.showTooltip && J.value,
660
678
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
661
679
  color: e.value.style.chart.tooltip.color,
@@ -666,10 +684,10 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
666
684
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
667
685
  position: e.value.style.chart.tooltip.position,
668
686
  offsetY: e.value.style.chart.tooltip.offsetY,
669
- parent: I.value,
687
+ parent: W.value,
670
688
  content: K.value,
671
689
  isFullscreen: N.value,
672
- isCustom: n(Oe)(e.value.style.chart.tooltip.customFormat)
690
+ isCustom: i(Pe)(e.value.style.chart.tooltip.customFormat)
673
691
  }, {
674
692
  "tooltip-before": y(() => [
675
693
  p(t.$slots, "tooltip-before", F(M({ ...ee.value })), void 0, !0)
@@ -679,7 +697,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
679
697
  ]),
680
698
  _: 3
681
699
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
682
- T.value ? (r(), L(n(Ie), {
700
+ T.value ? (s(), A(i(We), {
683
701
  key: 8,
684
702
  hideDetails: "",
685
703
  config: {
@@ -696,32 +714,32 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
696
714
  }
697
715
  }, {
698
716
  content: y(() => [
699
- (r(), L(n(We), {
717
+ (s(), A(i(Ie), {
700
718
  key: `table_${ce.value}`,
701
- colNames: H.value.colNames,
702
- head: H.value.head,
703
- body: H.value.body,
704
- config: H.value.config,
719
+ colNames: U.value.colNames,
720
+ head: U.value.head,
721
+ body: U.value.body,
722
+ config: U.value.config,
705
723
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
706
- onClose: o[1] || (o[1] = (l) => d.value.showTable = !1)
724
+ onClose: r[1] || (r[1] = (l) => d.value.showTable = !1)
707
725
  }, {
708
726
  th: y(({ th: l }) => [
709
727
  k("div", {
710
728
  innerHTML: l,
711
729
  style: { display: "flex", "align-items": "center" }
712
- }, null, 8, Jt)
730
+ }, null, 8, Qt)
713
731
  ]),
714
732
  td: y(({ td: l }) => [
715
- lt(P(l.name || l), 1)
733
+ lt(S(l.name || l), 1)
716
734
  ]),
717
735
  _: 1
718
736
  }, 8, ["colNames", "head", "body", "config", "title"]))
719
737
  ]),
720
738
  _: 1
721
739
  }, 8, ["config"])) : c("", !0)
722
- ], 46, _t));
740
+ ], 46, Lt));
723
741
  }
724
- }, il = /* @__PURE__ */ Tt(Kt, [["__scopeId", "data-v-fb96de6d"]]);
742
+ }, vl = /* @__PURE__ */ _t(Zt, [["__scopeId", "data-v-c60992de"]]);
725
743
  export {
726
- il as default
744
+ vl as default
727
745
  };