vue-data-ui 2.12.7-beta.0 → 2.12.7-beta.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 (87) hide show
  1. package/dist/{Arrow-CmqjRRUl.js → Arrow-BhI2Y-DB.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BMlyvt7E.js → BaseDraggableDialog-DyUBiw-C.js} +68 -64
  3. package/dist/{BaseIcon-CZdMutjs.js → BaseIcon-PZPlJOYf.js} +1 -1
  4. package/dist/{ColorPicker-DvVKgyAl.js → ColorPicker-Bni7kKI_.js} +2 -2
  5. package/dist/{DataTable-Cv9CIz-a.js → DataTable-bcUa-A_V.js} +2 -2
  6. package/dist/{Legend-DFunFf8i.js → Legend-iNd1Vv1J.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-pVuHj6_A.js → NonSvgPenAndPaper-DwB3JfsE.js} +3 -3
  8. package/dist/{PackageVersion-CLY-udAA.js → PackageVersion-BVH19wf6.js} +1 -1
  9. package/dist/{PenAndPaper-B9na2mbr.js → PenAndPaper-U4bWifCe.js} +3 -3
  10. package/dist/{Shape-D3w9qas1.js → Shape-CTyy5HJi.js} +1 -1
  11. package/dist/{Slicer-ncY8krrM.js → Slicer-hiaHGsme.js} +2 -2
  12. package/dist/{SparkTooltip-CwThutH2.js → SparkTooltip-oo_wqrT6.js} +1 -1
  13. package/dist/{Title-B5qqUI3M.js → Title-BTCPUIcD.js} +1 -1
  14. package/dist/{Tooltip-C9rxJ-Ru.js → Tooltip-B9AfUFVK.js} +1 -1
  15. package/dist/{UserOptions-Ddy6CuLC.js → UserOptions-yZJ8noVU.js} +1 -1
  16. package/dist/{dom-to-png-DDlooC9r.js → dom-to-png-BgRIWz9M.js} +1 -1
  17. package/dist/{img-m9g7lR5d.js → img-CgYxq-UP.js} +1 -1
  18. package/dist/{index-BiHmNd1-.js → index-CaxNz2cE.js} +1 -1
  19. package/dist/{pdf-BqM953uL.js → pdf-eUy0b_yU.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/{useNestedProp-tRqS0ZAM.js → useNestedProp-DpK9-Xt0.js} +1 -1
  22. package/dist/{usePrinter-CRCbl1WG.js → usePrinter-BprQttno.js} +2 -2
  23. package/dist/{vue-data-ui-D9uTDt73.js → vue-data-ui-BkO9svuE.js} +63 -63
  24. package/dist/vue-data-ui.js +1 -1
  25. package/dist/{vue-ui-3d-bar-rtuSc8FS.js → vue-ui-3d-bar-Bft3k9wg.js} +5 -5
  26. package/dist/{vue-ui-accordion-CmCs2yR2.js → vue-ui-accordion-BZ16n4QT.js} +3 -3
  27. package/dist/{vue-ui-age-pyramid-BrzMSiyu.js → vue-ui-age-pyramid-BblPK5iv.js} +5 -5
  28. package/dist/{vue-ui-annotator-CYxmTpf6.js → vue-ui-annotator-DW3swnxO.js} +2 -2
  29. package/dist/{vue-ui-bullet-D25qNQfb.js → vue-ui-bullet-DybokJeh.js} +6 -6
  30. package/dist/{vue-ui-candlestick-BuerNa-r.js → vue-ui-candlestick-aXzuaWXT.js} +6 -6
  31. package/dist/{vue-ui-carousel-table-aN0HLsOO.js → vue-ui-carousel-table-D7_v27hl.js} +4 -4
  32. package/dist/{vue-ui-chestnut-oUj2ocsZ.js → vue-ui-chestnut-ClfPFRWK.js} +4 -4
  33. package/dist/{vue-ui-chord-C4evlXYB.js → vue-ui-chord-Clo2yN8x.js} +84 -83
  34. package/dist/{vue-ui-circle-pack-CWrNiKTY.js → vue-ui-circle-pack-B8JmpYZU.js} +5 -5
  35. package/dist/{vue-ui-cursor-DgpSttlt.js → vue-ui-cursor-1NiHT8ua.js} +2 -2
  36. package/dist/{vue-ui-dashboard-BN2ha1Eh.js → vue-ui-dashboard-Dqu8UHsY.js} +62 -62
  37. package/dist/{vue-ui-digits-BhjAxXgm.js → vue-ui-digits-CUtyrFQ-.js} +2 -2
  38. package/dist/{vue-ui-donut-D3_z61HI.js → vue-ui-donut-5_qG_tB0.js} +105 -104
  39. package/dist/{vue-ui-donut-evolution-oKtmZPx4.js → vue-ui-donut-evolution-1lYLTlUJ.js} +106 -104
  40. package/dist/{vue-ui-dumbbell-C8Lokx-F.js → vue-ui-dumbbell-CuwZfqp-.js} +6 -6
  41. package/dist/{vue-ui-flow-BVRkH0PS.js → vue-ui-flow-nxV5Lnel.js} +6 -6
  42. package/dist/{vue-ui-funnel-DFxcmAB5.js → vue-ui-funnel-tTYudPKX.js} +5 -5
  43. package/dist/{vue-ui-galaxy-CGE0hlBC.js → vue-ui-galaxy-CB7f2IrG.js} +4 -4
  44. package/dist/{vue-ui-gauge-B48eMvOR.js → vue-ui-gauge-C-GUoJrH.js} +5 -5
  45. package/dist/{vue-ui-gizmo-zTKNpjvv.js → vue-ui-gizmo-DJCYaqYy.js} +3 -3
  46. package/dist/{vue-ui-heatmap-UNfTt8SM.js → vue-ui-heatmap-Bbzq8KZx.js} +6 -6
  47. package/dist/{vue-ui-history-plot-CbCWmvtg.js → vue-ui-history-plot-B8-Tt_rt.js} +6 -6
  48. package/dist/{vue-ui-kpi-Drf_lrlh.js → vue-ui-kpi-VZWKmy4e.js} +3 -3
  49. package/dist/{vue-ui-mini-loader-DU3G6BVs.js → vue-ui-mini-loader-DzRSBGF2.js} +2 -2
  50. package/dist/{vue-ui-molecule-B5MOXYEA.js → vue-ui-molecule-Bd_c8Hcd.js} +4 -4
  51. package/dist/{vue-ui-mood-radar-CC_CVLvn.js → vue-ui-mood-radar-CjiJjcj8.js} +6 -6
  52. package/dist/{vue-ui-nested-donuts-D_H962kk.js → vue-ui-nested-donuts-CVhAGwOt.js} +6 -6
  53. package/dist/{vue-ui-onion-P8k6T724.js → vue-ui-onion-D9pp5ytM.js} +6 -6
  54. package/dist/{vue-ui-parallel-coordinate-plot-B5Los0vX.js → vue-ui-parallel-coordinate-plot-hOcz4qfM.js} +135 -134
  55. package/dist/{vue-ui-quadrant-B3wzCTxK.js → vue-ui-quadrant-Ht49w0AN.js} +119 -118
  56. package/dist/{vue-ui-quick-chart-oucj6hXk.js → vue-ui-quick-chart-SFe7EifM.js} +5 -5
  57. package/dist/{vue-ui-radar-Cjqlyu6d.js → vue-ui-radar-C1mc0XYY.js} +6 -6
  58. package/dist/{vue-ui-rating-gryk_h_6.js → vue-ui-rating-DVYexEqN.js} +2 -2
  59. package/dist/{vue-ui-relation-circle-ielvWC-1.js → vue-ui-relation-circle-CFkW0M7L.js} +5 -5
  60. package/dist/{vue-ui-ridgeline-Dydqo68b.js → vue-ui-ridgeline-DcOstg2I.js} +145 -142
  61. package/dist/{vue-ui-rings-BRBXektJ.js → vue-ui-rings-C56TMht1.js} +79 -78
  62. package/dist/{vue-ui-scatter-Df-BM7Ts.js → vue-ui-scatter-C2S6nsP6.js} +145 -144
  63. package/dist/{vue-ui-skeleton-CbYQYRvD.js → vue-ui-skeleton-C2paDc2u.js} +3 -3
  64. package/dist/{vue-ui-smiley-BfHaQMaW.js → vue-ui-smiley-gtVgClTv.js} +2 -2
  65. package/dist/{vue-ui-spark-trend-z3fUChs_.js → vue-ui-spark-trend-C_p-qgkO.js} +3 -3
  66. package/dist/{vue-ui-sparkbar-ChtFIugH.js → vue-ui-sparkbar-DIS3FVja.js} +3 -3
  67. package/dist/{vue-ui-sparkgauge-DtpODCww.js → vue-ui-sparkgauge-D92XnV3e.js} +3 -3
  68. package/dist/{vue-ui-sparkhistogram-C3XnYiXI.js → vue-ui-sparkhistogram-BQlf7QW3.js} +62 -61
  69. package/dist/{vue-ui-sparkline-CoL8jiX8.js → vue-ui-sparkline-C9vOtZav.js} +3 -3
  70. package/dist/{vue-ui-sparkstackbar-CYk3mZJH.js → vue-ui-sparkstackbar-B2G5fOpR.js} +3 -3
  71. package/dist/{vue-ui-stackbar-D9LGbuG5.js → vue-ui-stackbar-L_7f4pZj.js} +144 -143
  72. package/dist/{vue-ui-strip-plot-C5r1Ee2R.js → vue-ui-strip-plot-Dhj9PQvC.js} +136 -135
  73. package/dist/{vue-ui-table-DBaT_TfA.js → vue-ui-table-CZ1DXGtE.js} +3 -3
  74. package/dist/{vue-ui-table-heatmap-CYW4YfKN.js → vue-ui-table-heatmap-C8oJOBM-.js} +70 -69
  75. package/dist/{vue-ui-table-sparkline-Di0MYR4p.js → vue-ui-table-sparkline-D-ZfWmxu.js} +4 -4
  76. package/dist/{vue-ui-thermometer-BF1btHY2.js → vue-ui-thermometer-D7S49sXa.js} +5 -5
  77. package/dist/{vue-ui-timer-D9FfRWN5.js → vue-ui-timer-Bh_0k4fp.js} +5 -5
  78. package/dist/{vue-ui-tiremarks-CQ0lk8fJ.js → vue-ui-tiremarks-CQVFXHjo.js} +5 -5
  79. package/dist/{vue-ui-treemap-1Lx7YRtc.js → vue-ui-treemap-DshqhXXR.js} +7 -7
  80. package/dist/{vue-ui-vertical-bar-DdVVQ1ED.js → vue-ui-vertical-bar-64gS06ES.js} +145 -144
  81. package/dist/{vue-ui-waffle-BhnuPiRD.js → vue-ui-waffle-MjyNmQ85.js} +138 -137
  82. package/dist/{vue-ui-wheel-BIjJ0fg8.js → vue-ui-wheel-FzQbyvix.js} +5 -5
  83. package/dist/{vue-ui-word-cloud-3-r8HwO_.js → vue-ui-word-cloud-BHPSrRVK.js} +5 -5
  84. package/dist/{vue-ui-world-CPIGEswq.js → vue-ui-world-8UgjM7P9.js} +361 -360
  85. package/dist/{vue-ui-xy-9e_epIN4.js → vue-ui-xy-BbYuna1k.js} +16 -16
  86. package/dist/{vue-ui-xy-canvas-DcGgQ7s4.js → vue-ui-xy-canvas-CDNUpxZ5.js} +7 -7
  87. package/package.json +1 -1
@@ -1,13 +1,14 @@
1
- import { defineAsyncComponent as C, computed as y, ref as v, watch as Qe, shallowRef as Ae, onMounted as Ze, onBeforeUnmount as et, createElementBlock as u, openBlock as s, unref as n, normalizeStyle as j, normalizeClass as G, createBlock as L, createCommentVNode as c, createVNode as Le, createSlots as tt, withCtx as f, renderSlot as p, normalizeProps as F, guardReactiveProps as M, createElementVNode as k, Fragment as g, renderList as $, toDisplayString as S, mergeProps as lt, createTextVNode as at, nextTick as ot } from "vue";
2
- import { u as st, c as le, t as rt, p as P, a as ut, o as nt, e as ae, g as Se, b as it, d as Pe, v as vt, D as ct, f as Y, X as ht, i as oe, l as dt, h as pt, x as Oe, F as yt, q as ft, r as bt, y as mt } from "./index-BiHmNd1-.js";
3
- import { t as gt, u as kt } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as ze } from "./useNestedProp-tRqS0ZAM.js";
5
- import { u as xt } from "./usePrinter-CRCbl1WG.js";
6
- import { u as wt } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as Ct } from "./useChartAccessibility-9icAAmYg.js";
8
- import $t from "./Title-B5qqUI3M.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 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-CaxNz2cE.js";
3
+ import { t as mt, u as gt } from "./useResponsive-JZ9xq-JV.js";
4
+ import { u as ze } from "./useNestedProp-DpK9-Xt0.js";
5
+ import { u as kt } from "./usePrinter-BprQttno.js";
6
+ import { u as xt } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as wt } from "./useChartAccessibility-9icAAmYg.js";
8
+ import Ct from "./Title-BTCPUIcD.js";
9
+ import $t from "./Shape-CTyy5HJi.js";
9
10
  import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"], St = { key: 1 }, Pt = { 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 = {
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 = {
11
12
  key: 5,
12
13
  class: "vue-data-ui-watermark"
13
14
  }, Jt = ["innerHTML"], Kt = {
@@ -28,75 +29,75 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
28
29
  },
29
30
  emits: ["selectDatapoint"],
30
31
  setup(Ne, { expose: Fe, emit: Me }) {
31
- const Ie = C(() => import("./vue-ui-accordion-CmCs2yR2.js")), We = C(() => import("./DataTable-Cv9CIz-a.js")), De = C(() => import("./PackageVersion-CLY-udAA.js")), Ge = C(() => import("./PenAndPaper-B9na2mbr.js")), Re = C(() => import("./Shape-D3w9qas1.js")), Ve = C(() => import("./vue-ui-skeleton-CbYQYRvD.js")), Ee = C(() => import("./Tooltip-C9rxJ-Ru.js")), Ue = C(() => import("./UserOptions-Ddy6CuLC.js")), { vue_ui_strip_plot: He } = st(), b = Ne, Be = Me, T = y({
32
+ const Ie = A(() => import("./vue-ui-accordion-BZ16n4QT.js")), We = A(() => import("./DataTable-bcUa-A_V.js")), De = A(() => import("./PackageVersion-BVH19wf6.js")), Ge = A(() => import("./PenAndPaper-U4bWifCe.js")), Re = A(() => import("./vue-ui-skeleton-C2paDc2u.js")), Ve = A(() => import("./Tooltip-B9AfUFVK.js")), Ee = A(() => import("./UserOptions-yZJ8noVU.js")), { vue_ui_strip_plot: Ue } = ot(), b = Ne, He = Me, $ = f({
32
33
  get() {
33
34
  return !!b.dataset && b.dataset.length;
34
35
  },
35
36
  set(t) {
36
37
  return t;
37
38
  }
38
- }), q = v(le()), se = v(0), J = v(!1), K = v(""), I = v(null), re = v(null), ue = v(null), ne = v(null), ie = v(!1), ve = v(0), ce = v(0), e = y({
39
- get: () => ye(),
39
+ }), q = v(le()), se = v(0), J = v(!1), K = v(""), I = v(null), re = v(null), ue = v(null), ne = v(null), ie = v(!1), ve = v(0), ce = v(0), e = f({
40
+ get: () => fe(),
40
41
  set: (t) => t
41
- }), { userOptionsVisible: Q, setUserOptionsVisibility: he, keepUserOptionState: de } = wt({ config: e.value }), { svgRef: pe } = Ct({ config: e.value.style.chart.title });
42
- function ye() {
42
+ }), { userOptionsVisible: Q, setUserOptionsVisibility: he, keepUserOptionState: de } = xt({ config: e.value }), { svgRef: pe } = wt({ config: e.value.style.chart.title });
43
+ function fe() {
43
44
  const t = ze({
44
45
  userConfig: b.config,
45
- defaultConfig: He
46
+ defaultConfig: Ue
46
47
  });
47
48
  return t.theme ? {
48
49
  ...ze({
49
- userConfig: ut.vue_ui_strip_plot[t.theme] || b.config,
50
+ userConfig: rt.vue_ui_strip_plot[t.theme] || b.config,
50
51
  defaultConfig: t
51
52
  }),
52
- customPalette: rt[t.theme] || P
53
+ customPalette: st[t.theme] || S
53
54
  } : t;
54
55
  }
55
- Qe(() => b.config, (t) => {
56
- e.value = ye(), Q.value = !e.value.userOptions.showOnChartHover, fe(), 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;
56
+ Ke(() => b.config, (t) => {
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;
57
58
  }, { deep: !0 });
58
59
  const w = Ae(null), O = Ae(null);
59
- Ze(() => {
60
- fe();
60
+ Qe(() => {
61
+ ye();
61
62
  });
62
- function fe() {
63
- if (nt(b.dataset) ? ae({
63
+ function ye() {
64
+ if (ut(b.dataset) ? ae({
64
65
  componentName: "VueUiStripPlot",
65
66
  type: "dataset"
66
67
  }) : b.dataset.forEach((t, o) => {
67
- Se({
68
+ Pe({
68
69
  datasetObject: t,
69
70
  requiredAttributes: ["name", "plots"]
70
71
  }).forEach((l) => {
71
- T.value = !1, ae({
72
+ $.value = !1, ae({
72
73
  componentName: "VueUiStripPlot",
73
74
  type: "datasetSerieAttribute",
74
75
  property: l,
75
76
  index: o
76
77
  });
77
78
  }), t.plots && t.plots.forEach((l, r) => {
78
- Se({
79
+ Pe({
79
80
  datasetObject: l,
80
81
  requiredAttributes: ["name", "value"]
81
- }).forEach((i) => {
82
- T.value = !1, ae({
82
+ }).forEach((n) => {
83
+ $.value = !1, ae({
83
84
  componentName: "VueUiStripPlot",
84
85
  type: "datasetSerieAttribute",
85
- property: i,
86
+ property: n,
86
87
  index: `${o},${r}`
87
88
  });
88
89
  });
89
90
  });
90
91
  }), e.value.responsive) {
91
- const t = gt(() => {
92
- const { width: o, height: l } = kt({
92
+ const t = mt(() => {
93
+ const { width: o, height: l } = gt({
93
94
  chart: I.value,
94
95
  title: e.value.style.chart.title.text ? re.value : null,
95
96
  source: ue.value,
96
97
  noTitle: ne.value
97
98
  });
98
99
  requestAnimationFrame(() => {
99
- R.value = l, z.value.width = o, z.value.height = l, D.value = (o - m.value.left - m.value.right) / b.dataset.length, V.value = yt({
100
+ R.value = l, z.value.width = o, z.value.height = l, D.value = (o - m.value.left - m.value.right) / b.dataset.length, V.value = pt({
100
101
  relator: Math.min(l, o),
101
102
  adjuster: 600,
102
103
  source: e.value.style.chart.plots.radius,
@@ -109,16 +110,16 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
109
110
  }
110
111
  ie.value = !0, setTimeout(() => {
111
112
  W.value = !1;
112
- }, je.value * 50);
113
+ }, Xe.value * 50);
113
114
  }
114
- et(() => {
115
+ Ze(() => {
115
116
  w.value && (O.value && w.value.unobserve(O.value), w.value.disconnect());
116
117
  });
117
- const { isPrinting: be, isImaging: me, generatePdf: ge, generateImage: ke } = xt({
118
+ const { isPrinting: be, isImaging: me, generatePdf: ge, generateImage: ke } = kt({
118
119
  elementId: `strip-plot_${q.value}`,
119
120
  fileName: e.value.style.chart.title.text || "vue-ui-strip-plot",
120
121
  options: e.value.userOptions.print
121
- }), Xe = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), xe = y(() => 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(() => nt(e.value.customPalette)), W = v(e.value.useCssAnimation), d = v({
122
123
  showTable: e.value.table.show,
123
124
  dataLabels: {
124
125
  show: e.value.style.chart.labels.bestPlotLabel.show
@@ -132,7 +133,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
132
133
  }), D = v(e.value.style.chart.stripWidth), R = v(e.value.style.chart.height), V = v(e.value.style.chart.plots.radius), z = v({
133
134
  width: D.value * b.dataset.length + m.value.left + m.value.right,
134
135
  height: e.value.style.chart.height
135
- }), a = y(() => {
136
+ }), a = f(() => {
136
137
  const t = D.value * b.dataset.length + m.value.left + m.value.right;
137
138
  return {
138
139
  left: m.value.left,
@@ -145,48 +146,48 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
145
146
  absoluteHeight: R.value,
146
147
  absoluteWidth: t
147
148
  };
148
- }), E = y(() => T.value ? b.dataset.map((t, o) => {
149
+ }), E = f(() => $.value ? b.dataset.map((t, o) => {
149
150
  const l = le();
150
151
  return {
151
152
  ...t,
152
153
  id: l,
153
- color: t.color ? Pe(t.color) : xe.value[o] || P[o] || P[o % P.length],
154
+ color: t.color ? Se(t.color) : xe.value[o] || S[o] || S[o % S.length],
154
155
  plots: t.plots.map((r) => ({
155
156
  ...r,
156
- value: vt(r.value),
157
+ value: it(r.value),
157
158
  parentId: l,
158
- color: t.color ? Pe(t.color) : xe.value[o] || P[o] || P[o % P.length],
159
+ color: t.color ? Se(t.color) : xe.value[o] || S[o] || S[o % S.length],
159
160
  id: le()
160
- })).sort((r, i) => r.value - i.value)
161
+ })).sort((r, n) => r.value - n.value)
161
162
  };
162
- }) : null), x = y(() => (E.value || []).map((t, o) => ({
163
+ }) : null), x = f(() => (E.value || []).map((t, o) => ({
163
164
  ...t,
164
165
  plots: t.plots.map((l) => ({
165
166
  ...l,
166
167
  x: a.value.left + (o + 1) * a.value.stripWidth - a.value.stripWidth / 2
167
168
  }))
168
- }))), je = y(() => Math.max(...x.value.map((t) => t.plots.length))), Z = y(() => {
169
+ }))), Xe = f(() => Math.max(...x.value.map((t) => t.plots.length))), Z = f(() => {
169
170
  const t = x.value.flatMap((o) => o.plots.map((l) => l.value));
170
171
  return {
171
172
  max: Math.max(...t),
172
173
  min: Math.min(...t)
173
174
  };
174
- }), _ = y(() => ct(Z.value.min < 0 ? Z.value.min : 0, Z.value.max, e.value.style.chart.grid.scaleSteps)), Ye = y(() => (x.value || []).map((t, o) => ({
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
176
  ...t,
176
177
  plots: t.plots.map((l) => ({
177
178
  ...l,
178
- y: a.value.bottom - (l.value + Math.abs(_.value.min)) / (_.value.max + Math.abs(_.value.min)) * a.value.height
179
+ y: a.value.bottom - (l.value + Math.abs(T.value.min)) / (T.value.max + Math.abs(T.value.min)) * a.value.height
179
180
  }))
180
- }))), we = y(() => _.value.ticks.map((t) => ({
181
- y: a.value.bottom - a.value.height * ((t + Math.abs(_.value.min)) / (_.value.max + Math.abs(_.value.min))),
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))),
182
183
  x1: a.value.left,
183
184
  x2: a.value.right,
184
185
  value: t
185
186
  }))), ee = v(null), h = v(null);
186
- function qe({ datapoint: t, seriesIndex: o }) {
187
+ function Ye({ datapoint: t, seriesIndex: o }) {
187
188
  ee.value = { datapoint: t, seriesIndex: o, config: e.value, series: E.value }, J.value = !0, h.value = t;
188
189
  const l = e.value.style.chart.tooltip.customFormat;
189
- if (Oe(l) && mt(() => l({
190
+ if (Oe(l) && bt(() => l({
190
191
  seriesIndex: o,
191
192
  datapoint: t,
192
193
  series: E.value,
@@ -213,36 +214,36 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
213
214
  )}</div>`, K.value = `<div>${r}</div>`;
214
215
  }
215
216
  }
216
- const U = y(() => {
217
- const t = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r, i) => i.value - r.value).map((r) => ({
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) => ({
218
219
  name: `${l.name} - ${r.name}`,
219
220
  color: r.color
220
- }))), o = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r, i) => i.value - r.value).map((r) => r.value));
221
+ }))), o = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r, n) => n.value - r.value).map((r) => r.value));
221
222
  return { head: t, body: o };
222
223
  });
223
224
  function Ce() {
224
- ot(() => {
225
- const t = U.value.head.map((r, i) => [[
225
+ at(() => {
226
+ const t = U.value.head.map((r, n) => [[
226
227
  r.name
227
- ], [U.value.body[i]]]), 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);
228
- bt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
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" });
229
230
  });
230
231
  }
231
- const H = y(() => {
232
+ const H = f(() => {
232
233
  const t = [
233
234
  e.value.table.columnNames.series,
234
235
  e.value.table.columnNames.value
235
- ], o = U.value.head.map((i, A) => {
236
+ ], o = U.value.head.map((n, _) => {
236
237
  const X = Y({
237
238
  p: e.value.style.chart.labels.prefix,
238
- v: U.value.body[A],
239
+ v: U.value.body[_],
239
240
  s: e.value.style.chart.labels.suffix,
240
241
  r: e.value.table.td.roundingValue
241
242
  });
242
243
  return [
243
244
  {
244
- color: i.color,
245
- name: i.name
245
+ color: n.color,
246
+ name: n.name
246
247
  },
247
248
  X
248
249
  ];
@@ -269,10 +270,10 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
269
270
  config: l
270
271
  };
271
272
  }), N = v(!1);
272
- function Je(t) {
273
+ function qe(t) {
273
274
  N.value = t, se.value += 1;
274
275
  }
275
- function Ke() {
276
+ function Je() {
276
277
  return x.value;
277
278
  }
278
279
  function $e() {
@@ -289,7 +290,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
289
290
  B.value = !B.value;
290
291
  }
291
292
  return Fe({
292
- getData: Ke,
293
+ getData: Je,
293
294
  generatePdf: ge,
294
295
  generateCsv: Ce,
295
296
  generateImage: ke,
@@ -303,18 +304,18 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
303
304
  class: G(`vue-ui-strip-plot ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
304
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
306
  id: `strip-plot_${q.value}`,
306
- onMouseenter: o[2] || (o[2] = () => n(he)(!0)),
307
- onMouseleave: o[3] || (o[3] = () => n(he)(!1))
307
+ onMouseenter: o[2] || (o[2] = () => i(he)(!0)),
308
+ onMouseleave: o[3] || (o[3] = () => i(he)(!1))
308
309
  }, [
309
- e.value.userOptions.buttons.annotator ? (s(), L(n(Ge), {
310
+ e.value.userOptions.buttons.annotator ? (s(), L(i(Ge), {
310
311
  key: 0,
311
- svgRef: n(pe),
312
+ svgRef: i(pe),
312
313
  backgroundColor: e.value.style.chart.backgroundColor,
313
314
  color: e.value.style.chart.color,
314
315
  active: B.value,
315
316
  onClose: te
316
317
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
317
- Xe.value ? (s(), u("div", {
318
+ Be.value ? (s(), u("div", {
318
319
  key: 1,
319
320
  ref_key: "noTitle",
320
321
  ref: ne,
@@ -327,7 +328,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
327
328
  ref: re,
328
329
  style: "width:100%;background:transparent;padding-bottom:24px"
329
330
  }, [
330
- (s(), L($t, {
331
+ (s(), L(Ct, {
331
332
  key: `title_${ve.value}`,
332
333
  config: {
333
334
  title: {
@@ -341,13 +342,13 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
341
342
  }
342
343
  }, null, 8, ["config"]))
343
344
  ], 512)) : c("", !0),
344
- e.value.userOptions.show && T.value && (n(de) || n(Q)) ? (s(), L(n(Ue), {
345
+ e.value.userOptions.show && $.value && (i(de) || i(Q)) ? (s(), L(i(Ee), {
345
346
  ref: "details",
346
347
  key: `user_option_${se.value}`,
347
348
  backgroundColor: e.value.style.chart.backgroundColor,
348
349
  color: e.value.style.chart.color,
349
- isPrinting: n(be),
350
- isImaging: n(me),
350
+ isPrinting: i(be),
351
+ isImaging: i(me),
351
352
  uid: q.value,
352
353
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
353
354
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -363,92 +364,92 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
363
364
  position: e.value.userOptions.position,
364
365
  hasAnnotator: e.value.userOptions.buttons.annotator,
365
366
  isAnnotation: B.value,
366
- onToggleFullscreen: Je,
367
- onGeneratePdf: n(ge),
367
+ onToggleFullscreen: qe,
368
+ onGeneratePdf: i(ge),
368
369
  onGenerateCsv: Ce,
369
- onGenerateImage: n(ke),
370
+ onGenerateImage: i(ke),
370
371
  onToggleTable: $e,
371
372
  onToggleLabels: Te,
372
373
  onToggleTooltip: _e,
373
374
  onToggleAnnotator: te,
374
375
  style: j({
375
- visibility: n(de) ? n(Q) ? "visible" : "hidden" : "visible"
376
+ visibility: i(de) ? i(Q) ? "visible" : "hidden" : "visible"
376
377
  })
377
- }, tt({ _: 2 }, [
378
+ }, et({ _: 2 }, [
378
379
  t.$slots.menuIcon ? {
379
380
  name: "menuIcon",
380
- fn: f(({ isOpen: l, color: r }) => [
381
+ fn: y(({ isOpen: l, color: r }) => [
381
382
  p(t.$slots, "menuIcon", F(M({ isOpen: l, color: r })), void 0, !0)
382
383
  ]),
383
384
  key: "0"
384
385
  } : void 0,
385
386
  t.$slots.optionTooltip ? {
386
387
  name: "optionTooltip",
387
- fn: f(() => [
388
+ fn: y(() => [
388
389
  p(t.$slots, "optionTooltip", {}, void 0, !0)
389
390
  ]),
390
391
  key: "1"
391
392
  } : void 0,
392
393
  t.$slots.optionPdf ? {
393
394
  name: "optionPdf",
394
- fn: f(() => [
395
+ fn: y(() => [
395
396
  p(t.$slots, "optionPdf", {}, void 0, !0)
396
397
  ]),
397
398
  key: "2"
398
399
  } : void 0,
399
400
  t.$slots.optionCsv ? {
400
401
  name: "optionCsv",
401
- fn: f(() => [
402
+ fn: y(() => [
402
403
  p(t.$slots, "optionCsv", {}, void 0, !0)
403
404
  ]),
404
405
  key: "3"
405
406
  } : void 0,
406
407
  t.$slots.optionImg ? {
407
408
  name: "optionImg",
408
- fn: f(() => [
409
+ fn: y(() => [
409
410
  p(t.$slots, "optionImg", {}, void 0, !0)
410
411
  ]),
411
412
  key: "4"
412
413
  } : void 0,
413
414
  t.$slots.optionTable ? {
414
415
  name: "optionTable",
415
- fn: f(() => [
416
+ fn: y(() => [
416
417
  p(t.$slots, "optionTable", {}, void 0, !0)
417
418
  ]),
418
419
  key: "5"
419
420
  } : void 0,
420
421
  t.$slots.optionLabels ? {
421
422
  name: "optionLabels",
422
- fn: f(() => [
423
+ fn: y(() => [
423
424
  p(t.$slots, "optionLabels", {}, void 0, !0)
424
425
  ]),
425
426
  key: "6"
426
427
  } : void 0,
427
428
  t.$slots.optionFullscreen ? {
428
429
  name: "optionFullscreen",
429
- fn: f(({ toggleFullscreen: l, isFullscreen: r }) => [
430
+ fn: y(({ toggleFullscreen: l, isFullscreen: r }) => [
430
431
  p(t.$slots, "optionFullscreen", F(M({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
431
432
  ]),
432
433
  key: "7"
433
434
  } : void 0,
434
435
  t.$slots.optionAnnotator ? {
435
436
  name: "optionAnnotator",
436
- fn: f(({ toggleAnnotator: l, isAnnotator: r }) => [
437
+ fn: y(({ toggleAnnotator: l, isAnnotator: r }) => [
437
438
  p(t.$slots, "optionAnnotator", F(M({ toggleAnnotator: l, isAnnotator: r })), void 0, !0)
438
439
  ]),
439
440
  key: "8"
440
441
  } : void 0
441
442
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
442
- T.value ? (s(), u("svg", {
443
+ $.value ? (s(), u("svg", {
443
444
  key: 4,
444
445
  ref_key: "svgRef",
445
446
  ref: pe,
446
- xmlns: n(ht),
447
+ xmlns: i(ct),
447
448
  class: G({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
448
449
  viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
449
450
  style: j(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
450
451
  }, [
451
- Le(n(De)),
452
+ Le(i(De)),
452
453
  t.$slots["chart-background"] ? (s(), u("foreignObject", {
453
454
  key: 0,
454
455
  x: a.value.left,
@@ -461,9 +462,9 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
461
462
  }, [
462
463
  p(t.$slots, "chart-background", {}, void 0, !0)
463
464
  ], 8, Lt)) : c("", !0),
464
- e.value.style.chart.grid.show ? (s(), u("g", St, [
465
- e.value.style.chart.grid.horizontalGrid.show ? (s(), u("g", Pt, [
466
- (s(!0), u(g, null, $(we.value, (l) => (s(), u("line", {
465
+ e.value.style.chart.grid.show ? (s(), u("g", Pt, [
466
+ e.value.style.chart.grid.horizontalGrid.show ? (s(), u("g", St, [
467
+ (s(!0), u(g, null, C(we.value, (l) => (s(), u("line", {
467
468
  x1: l.x1,
468
469
  x2: l.x2,
469
470
  y1: l.y,
@@ -475,7 +476,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
475
476
  }, null, 8, Ot))), 256))
476
477
  ])) : c("", !0),
477
478
  e.value.style.chart.grid.verticalGrid.show ? (s(), u("g", zt, [
478
- (s(!0), u(g, null, $(x.value, (l, r) => (s(), u("line", {
479
+ (s(!0), u(g, null, C(x.value, (l, r) => (s(), u("line", {
479
480
  x1: a.value.left + (r + 1) * a.value.stripWidth,
480
481
  x2: a.value.left + (r + 1) * a.value.stripWidth,
481
482
  y1: a.value.top,
@@ -505,16 +506,16 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
505
506
  "stroke-linecap": "round"
506
507
  }, null, 8, Mt)
507
508
  ])) : c("", !0),
508
- e.value.style.chart.labels.yAxisLabels.show ? (s(!0), u(g, { key: 2 }, $(we.value, (l, r) => (s(), u("text", {
509
+ e.value.style.chart.labels.yAxisLabels.show ? (s(!0), u(g, { key: 2 }, C(we.value, (l, r) => (s(), u("text", {
509
510
  x: l.x1 - e.value.style.chart.labels.yAxisLabels.fontSize / 2 + e.value.style.chart.labels.yAxisLabels.offsetX,
510
511
  y: l.y + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
511
512
  fill: e.value.style.chart.labels.yAxisLabels.color,
512
513
  "font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
513
514
  "text-anchor": "end"
514
- }, S(n(oe)(
515
+ }, P(i(oe)(
515
516
  e.value.style.chart.labels.formatter,
516
517
  l.value,
517
- n(Y)({
518
+ i(Y)({
518
519
  p: e.value.style.chart.labels.prefix,
519
520
  v: l.value,
520
521
  s: e.value.style.chart.labels.suffix,
@@ -522,20 +523,20 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
522
523
  }),
523
524
  { datapoint: l, seriesIndex: r }
524
525
  )), 9, It))), 256)) : c("", !0),
525
- e.value.style.chart.labels.xAxisLabels.show ? (s(!0), u(g, { key: 3 }, $(x.value, (l, r) => (s(), u("text", {
526
+ e.value.style.chart.labels.xAxisLabels.show ? (s(!0), u(g, { key: 3 }, C(x.value, (l, r) => (s(), u("text", {
526
527
  x: a.value.left + (r + 1) * a.value.stripWidth - a.value.stripWidth / 2,
527
528
  y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY,
528
529
  "font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
529
530
  fill: e.value.style.chart.labels.xAxisLabels.color,
530
531
  "text-anchor": "middle"
531
- }, S(l.name), 9, Wt))), 256)) : c("", !0),
532
+ }, P(l.name), 9, Wt))), 256)) : c("", !0),
532
533
  e.value.style.chart.labels.axis.yLabel ? (s(), u("text", {
533
534
  key: 4,
534
535
  fill: e.value.style.chart.labels.axis.color,
535
536
  "font-size": e.value.style.chart.labels.axis.fontSize,
536
537
  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)`,
537
538
  "text-anchor": "middle"
538
- }, S(e.value.style.chart.labels.axis.yLabel), 9, Dt)) : c("", !0),
539
+ }, P(e.value.style.chart.labels.axis.yLabel), 9, Dt)) : c("", !0),
539
540
  e.value.style.chart.labels.axis.xLabel ? (s(), u("text", {
540
541
  key: 5,
541
542
  fill: e.value.style.chart.labels.axis.color,
@@ -543,7 +544,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
543
544
  x: a.value.left + a.value.width / 2,
544
545
  y: a.value.absoluteHeight,
545
546
  "text-anchor": "middle"
546
- }, S(e.value.style.chart.labels.axis.xLabel), 9, Gt)) : c("", !0),
547
+ }, P(e.value.style.chart.labels.axis.xLabel), 9, Gt)) : c("", !0),
547
548
  h.value ? (s(), u(g, { key: 6 }, [
548
549
  k("line", {
549
550
  x1: a.value.left,
@@ -570,17 +571,17 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
570
571
  }, null, 10, Et)
571
572
  ], 64)) : c("", !0),
572
573
  k("defs", null, [
573
- (s(!0), u(g, null, $(x.value, (l) => (s(), u("radialGradient", {
574
+ (s(!0), u(g, null, C(x.value, (l) => (s(), u("radialGradient", {
574
575
  id: l.id,
575
576
  fy: "30%"
576
577
  }, [
577
578
  k("stop", {
578
579
  offset: "10%",
579
- "stop-color": n(dt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
580
+ "stop-color": i(ht)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
580
581
  }, null, 8, Ht),
581
582
  k("stop", {
582
583
  offset: "90%",
583
- "stop-color": n(pt)(l.color, 0.1)
584
+ "stop-color": i(dt)(l.color, 0.1)
584
585
  }, null, 8, Bt),
585
586
  k("stop", {
586
587
  offset: "100%",
@@ -588,42 +589,42 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
588
589
  }, null, 8, Xt)
589
590
  ], 8, Ut))), 256))
590
591
  ]),
591
- (s(!0), u(g, null, $(Ye.value, (l, r) => (s(), u(g, null, [
592
- (s(!0), u(g, null, $(l.plots, (i, A) => (s(), L(n(Re), lt({
593
- plot: { x: i.x, y: ie.value ? i.y : a.value.top },
594
- radius: h.value && h.value.id === i.id ? V.value * 1.5 : V.value,
592
+ (s(!0), u(g, null, C(je.value, (l, r) => (s(), u(g, null, [
593
+ (s(!0), u(g, null, C(l.plots, (n, _) => (s(), L($t, tt({
594
+ plot: { x: n.x, y: ie.value ? n.y : a.value.top },
595
+ radius: h.value && h.value.id === n.id ? V.value * 1.5 : V.value,
595
596
  shape: e.value.style.chart.plots.shape,
596
597
  stroke: e.value.style.chart.plots.stroke,
597
598
  strokeWidth: e.value.style.chart.plots.strokeWidth,
598
599
  color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
599
- onMouseenter: (X) => qe({ datapoint: i, seriesIndex: A }),
600
+ onMouseenter: (X) => Ye({ datapoint: n, seriesIndex: _ }),
600
601
  onMouseleave: o[0] || (o[0] = (X) => {
601
602
  J.value = !1, h.value = null;
602
603
  }),
603
- onClick: (X) => Be("selectDatapoint", i),
604
- 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:${A * 50}ms` : ""}`,
604
+ onClick: (X) => He("selectDatapoint", n),
605
+ 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` : ""}`,
605
606
  class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && W.value, "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !W.value }
606
607
  }, { ref_for: !0 }, t.$attrs), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "onMouseenter", "onClick", "style", "class"]))), 256)),
607
608
  d.value.dataLabels.show ? (s(), u("g", jt, [
608
- (s(!0), u(g, null, $(l.plots, (i, A) => (s(), u(g, null, [
609
- A === l.plots.length - 1 || h.value && h.value.id === i.id && !d.value.showTooltip ? (s(), u("text", {
609
+ (s(!0), u(g, null, C(l.plots, (n, _) => (s(), u(g, null, [
610
+ _ === l.plots.length - 1 || h.value && h.value.id === n.id && !d.value.showTooltip ? (s(), u("text", {
610
611
  key: 0,
611
- x: i.x,
612
- y: i.y + e.value.style.chart.labels.bestPlotLabel.offsetY - V.value * (h.value && h.value.id === i.id && !d.value.showTooltip ? 2 : 1.5),
612
+ x: n.x,
613
+ 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),
613
614
  "font-size": e.value.style.chart.labels.bestPlotLabel.fontSize,
614
615
  fill: e.value.style.chart.labels.bestPlotLabel.color,
615
616
  "text-anchor": "middle",
616
617
  style: j(`opacity:${e.value.useCssAnimation && W.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
617
- }, S(i.name) + " " + S(e.value.style.chart.labels.bestPlotLabel.showValue ? n(oe)(
618
+ }, P(n.name) + " " + P(e.value.style.chart.labels.bestPlotLabel.showValue ? i(oe)(
618
619
  e.value.style.chart.labels.formatter,
619
- i.value,
620
- n(Y)({
620
+ n.value,
621
+ i(Y)({
621
622
  p: `(${e.value.style.chart.labels.prefix}`,
622
- v: i.value,
623
+ v: n.value,
623
624
  s: `${e.value.style.chart.labels.suffix})`,
624
625
  r: e.value.style.chart.labels.bestPlotLabel.rounding
625
626
  }),
626
- { datapoint: i, seriesIndex: A }
627
+ { datapoint: n, seriesIndex: _ }
627
628
  ) : ""), 13, Yt)) : c("", !0)
628
629
  ], 64))), 256))
629
630
  ])) : c("", !0)
@@ -631,9 +632,9 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
631
632
  p(t.$slots, "svg", { svg: a.value }, void 0, !0)
632
633
  ], 14, At)) : c("", !0),
633
634
  t.$slots.watermark ? (s(), u("div", qt, [
634
- p(t.$slots, "watermark", F(M({ isPrinting: n(be) || n(me) })), void 0, !0)
635
+ p(t.$slots, "watermark", F(M({ isPrinting: i(be) || i(me) })), void 0, !0)
635
636
  ])) : c("", !0),
636
- T.value ? c("", !0) : (s(), L(n(Ve), {
637
+ $.value ? c("", !0) : (s(), L(i(Re), {
637
638
  key: 6,
638
639
  config: {
639
640
  type: "stripPlot",
@@ -653,7 +654,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
653
654
  }, [
654
655
  p(t.$slots, "source", {}, void 0, !0)
655
656
  ], 512)) : c("", !0),
656
- Le(n(Ee), {
657
+ Le(i(Ve), {
657
658
  show: d.value.showTooltip && J.value,
658
659
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
659
660
  color: e.value.style.chart.tooltip.color,
@@ -667,17 +668,17 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
667
668
  parent: I.value,
668
669
  content: K.value,
669
670
  isFullscreen: N.value,
670
- isCustom: n(Oe)(e.value.style.chart.tooltip.customFormat)
671
+ isCustom: i(Oe)(e.value.style.chart.tooltip.customFormat)
671
672
  }, {
672
- "tooltip-before": f(() => [
673
+ "tooltip-before": y(() => [
673
674
  p(t.$slots, "tooltip-before", F(M({ ...ee.value })), void 0, !0)
674
675
  ]),
675
- "tooltip-after": f(() => [
676
+ "tooltip-after": y(() => [
676
677
  p(t.$slots, "tooltip-after", F(M({ ...ee.value })), void 0, !0)
677
678
  ]),
678
679
  _: 3
679
680
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
680
- T.value ? (s(), L(n(Ie), {
681
+ $.value ? (s(), L(i(Ie), {
681
682
  key: 8,
682
683
  hideDetails: "",
683
684
  config: {
@@ -693,8 +694,8 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
693
694
  }
694
695
  }
695
696
  }, {
696
- content: f(() => [
697
- (s(), L(n(We), {
697
+ content: y(() => [
698
+ (s(), L(i(We), {
698
699
  key: `table_${ce.value}`,
699
700
  colNames: H.value.colNames,
700
701
  head: H.value.head,
@@ -703,14 +704,14 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
703
704
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
704
705
  onClose: o[1] || (o[1] = (l) => d.value.showTable = !1)
705
706
  }, {
706
- th: f(({ th: l }) => [
707
+ th: y(({ th: l }) => [
707
708
  k("div", {
708
709
  innerHTML: l,
709
710
  style: { display: "flex", "align-items": "center" }
710
711
  }, null, 8, Jt)
711
712
  ]),
712
- td: f(({ td: l }) => [
713
- at(S(l.name || l), 1)
713
+ td: y(({ td: l }) => [
714
+ lt(P(l.name || l), 1)
714
715
  ]),
715
716
  _: 1
716
717
  }, 8, ["colNames", "head", "body", "config", "title"]))
@@ -719,7 +720,7 @@ const _t = ["id"], At = ["xmlns", "viewBox"], Lt = ["x", "y", "width", "height"]
719
720
  }, 8, ["config"])) : c("", !0)
720
721
  ], 46, _t));
721
722
  }
722
- }, ul = /* @__PURE__ */ Tt(Kt, [["__scopeId", "data-v-35a31690"]]);
723
+ }, nl = /* @__PURE__ */ Tt(Kt, [["__scopeId", "data-v-4497e32b"]]);
723
724
  export {
724
- ul as default
725
+ nl as default
725
726
  };