vue-data-ui 2.12.6 → 2.12.7-beta.1

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 (109) hide show
  1. package/dist/{Arrow-Bd9ZVBnX.js → Arrow-C5-RFd0F.js} +1 -1
  2. package/dist/BaseDraggableDialog-CKbomZCX.js +180 -0
  3. package/dist/{BaseIcon-CNbwMh_-.js → BaseIcon-DhWmrDAn.js} +1 -1
  4. package/dist/{ColorPicker-B_FoQwtO.js → ColorPicker-F4TctKaQ.js} +23 -24
  5. package/dist/{DataTable-Rajdtaf6.js → DataTable-Y5HbiUZU.js} +11 -11
  6. package/dist/{Legend-BxtDQCIv.js → Legend-DtTYopxf.js} +8 -8
  7. package/dist/NonSvgPenAndPaper-PC9Yu1K_.js +467 -0
  8. package/dist/PackageVersion-DaWGaZxE.js +10 -0
  9. package/dist/{PenAndPaper-BkP3J-Ft.js → PenAndPaper-C-CpE0NC.js} +8 -10
  10. package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
  11. package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
  12. package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
  13. package/dist/{Shape-C69a0f29.js → Shape-B6kIkp2s.js} +2 -2
  14. package/dist/{Slicer-7qFdY-bT.js → Slicer-DXpA-pZk.js} +2 -2
  15. package/dist/SparkTooltip-DcdMxgqn.js +68 -0
  16. package/dist/{Title-CzaCeCOm.js → Title-Bc66VstS.js} +2 -2
  17. package/dist/Tooltip-B07vY6jm.js +149 -0
  18. package/dist/{usePrinter-C5bLp34h.js → UserOptions-C8X2STEg.js} +172 -231
  19. package/dist/{dom-to-png-Bm0D0yPL.js → dom-to-png-DH-7H-9g.js} +1 -1
  20. package/dist/{img-BN9AzqUr.js → img-CEn9LJxg.js} +1 -1
  21. package/dist/{index-BFzQMJda.js → index-BHEd2dgu.js} +21 -21
  22. package/dist/{pdf-uTbs813M.js → pdf-BfkyEFza.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/useChartAccessibility-9icAAmYg.js +12 -0
  25. package/dist/useMouse-AicQS8Vf.js +13 -0
  26. package/dist/{useNestedProp-v7KPpwuP.js → useNestedProp-CZztHZIm.js} +1 -1
  27. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  28. package/dist/usePrinter-C8URL2IU.js +53 -0
  29. package/dist/vClickOutside-C6WiFswA.js +13 -0
  30. package/dist/{vue-data-ui-D1k8FeRp.js → vue-data-ui-C0tGhjs9.js} +63 -63
  31. package/dist/vue-data-ui.js +19 -19
  32. package/dist/{vue-ui-3d-bar-DoklA4DT.js → vue-ui-3d-bar-CriyJ0Da.js} +397 -402
  33. package/dist/{vue-ui-accordion-BUz4JIIX.js → vue-ui-accordion-DntThSTF.js} +3 -3
  34. package/dist/{vue-ui-age-pyramid-4kyBq-Dy.js → vue-ui-age-pyramid-BwgozppD.js} +215 -218
  35. package/dist/{vue-ui-annotator-Bq1ZeFfb.js → vue-ui-annotator-B7jNrpQ0.js} +2 -2
  36. package/dist/{vue-ui-bullet-DU10avvA.js → vue-ui-bullet-C20X1YRt.js} +137 -140
  37. package/dist/{vue-ui-candlestick-BI1t3flz.js → vue-ui-candlestick-B264jwvu.js} +265 -271
  38. package/dist/{vue-ui-carousel-table-VowLf_oc.js → vue-ui-carousel-table-ECSEPy9m.js} +137 -137
  39. package/dist/{vue-ui-chestnut-BHjV3d94.js → vue-ui-chestnut-BxjeL4B6.js} +397 -400
  40. package/dist/{vue-ui-chord-CPr7r-2_.js → vue-ui-chord-CJNnQbPC.js} +356 -364
  41. package/dist/vue-ui-circle-pack-0RLVrL7y.js +656 -0
  42. package/dist/{vue-ui-cursor-C9teAbVI.js → vue-ui-cursor-c9pZbUX7.js} +2 -2
  43. package/dist/{vue-ui-dashboard-CwDYB8tP.js → vue-ui-dashboard-DJTFcJry.js} +62 -62
  44. package/dist/{vue-ui-digits-CHmkL0hn.js → vue-ui-digits-Cwy7WTqM.js} +2 -2
  45. package/dist/vue-ui-donut-BIFf4SLq.js +1292 -0
  46. package/dist/vue-ui-donut-evolution-mc_-1JSs.js +864 -0
  47. package/dist/{vue-ui-dumbbell-DTKLLd1N.js → vue-ui-dumbbell-D50S44wU.js} +265 -270
  48. package/dist/{vue-ui-flow-BLBhsU2n.js → vue-ui-flow-CxDTjjYn.js} +291 -300
  49. package/dist/{vue-ui-funnel-CIrWdeBk.js → vue-ui-funnel-DeC0U017.js} +216 -219
  50. package/dist/{vue-ui-galaxy-ByhKyIV4.js → vue-ui-galaxy-n0MW2u-q.js} +227 -235
  51. package/dist/{vue-ui-gauge-BbfBMpng.js → vue-ui-gauge-AYMCSEtU.js} +240 -243
  52. package/dist/{vue-ui-gizmo-BM-_QfHM.js → vue-ui-gizmo-Ckz1h7XW.js} +57 -58
  53. package/dist/{vue-ui-heatmap-BA4z4hsw.js → vue-ui-heatmap-m0SgFsTu.js} +239 -242
  54. package/dist/{vue-ui-history-plot-8vM_IUy8.js → vue-ui-history-plot-BrcF_YLL.js} +257 -262
  55. package/dist/{vue-ui-kpi-D57QLK6A.js → vue-ui-kpi-DiVxDYiV.js} +29 -30
  56. package/dist/{vue-ui-mini-loader-CR4c-xJQ.js → vue-ui-mini-loader-CqbUMft8.js} +2 -2
  57. package/dist/vue-ui-molecule-BCUC8QED.js +580 -0
  58. package/dist/{vue-ui-mood-radar-Brc9cxoD.js → vue-ui-mood-radar-DrrjD9S1.js} +180 -186
  59. package/dist/{vue-ui-nested-donuts-W3Z5F--L.js → vue-ui-nested-donuts-8RTss1yH.js} +366 -374
  60. package/dist/{vue-ui-onion-BNBlGNlF.js → vue-ui-onion-CmPLnisN.js} +252 -258
  61. package/dist/{vue-ui-parallel-coordinate-plot-B5G3jyvg.js → vue-ui-parallel-coordinate-plot-BsbEUu_g.js} +292 -298
  62. package/dist/{vue-ui-quadrant-CUy9mVIA.js → vue-ui-quadrant-CdM3bVZs.js} +403 -409
  63. package/dist/{vue-ui-quick-chart-D4_8mRXU.js → vue-ui-quick-chart-C-lgCI6O.js} +611 -616
  64. package/dist/{vue-ui-radar-BUk56jGL.js → vue-ui-radar-Dq94lb99.js} +270 -277
  65. package/dist/{vue-ui-rating-B9TQl5KP.js → vue-ui-rating-DceDRLFc.js} +2 -2
  66. package/dist/vue-ui-relation-circle-DsKddA_I.js +525 -0
  67. package/dist/{vue-ui-ridgeline-Cl06bGom.js → vue-ui-ridgeline-CVR7NvJ_.js} +313 -317
  68. package/dist/{vue-ui-rings-B6bpFlFp.js → vue-ui-rings-B0soMLZ5.js} +260 -266
  69. package/dist/{vue-ui-scatter--WUuVw5G.js → vue-ui-scatter-Bq4_NUfW.js} +368 -374
  70. package/dist/{vue-ui-skeleton-B_YI7Yuc.js → vue-ui-skeleton-CG3Pn3Zg.js} +19 -19
  71. package/dist/{vue-ui-smiley-Bbam2fDz.js → vue-ui-smiley-aGKTgh42.js} +2 -2
  72. package/dist/{vue-ui-spark-trend-DavXuwGt.js → vue-ui-spark-trend--6lA4742.js} +114 -117
  73. package/dist/{vue-ui-sparkbar-9N1FU9-J.js → vue-ui-sparkbar-BXx7Vglf.js} +104 -106
  74. package/dist/{vue-ui-sparkgauge-_9ntq4EK.js → vue-ui-sparkgauge-zM4_Tgqb.js} +72 -74
  75. package/dist/{vue-ui-sparkhistogram-BEzOV4HV.js → vue-ui-sparkhistogram-BDNrZbWN.js} +93 -95
  76. package/dist/vue-ui-sparkline-CzzyDmYJ.js +459 -0
  77. package/dist/{vue-ui-sparkstackbar-BSWcs3v0.js → vue-ui-sparkstackbar-tBSUQ_09.js} +102 -105
  78. package/dist/{vue-ui-stackbar-gG5BLlAr.js → vue-ui-stackbar-BriZOfj6.js} +409 -412
  79. package/dist/{vue-ui-strip-plot-BJouRmxh.js → vue-ui-strip-plot-DzYyFp3o.js} +240 -246
  80. package/dist/{vue-ui-table-D9Ry8s4N.js → vue-ui-table-C2qosrZR.js} +3 -3
  81. package/dist/{vue-ui-table-heatmap-Bizzpi31.js → vue-ui-table-heatmap-COKfg2KT.js} +90 -90
  82. package/dist/{vue-ui-table-sparkline-Dg54Ovs2.js → vue-ui-table-sparkline-D7C5AiCp.js} +212 -212
  83. package/dist/{vue-ui-thermometer-6MSdF_Gm.js → vue-ui-thermometer-CDG6vSMm.js} +154 -157
  84. package/dist/{vue-ui-timer-ByaKokk8.js → vue-ui-timer-DOoO0CVB.js} +180 -181
  85. package/dist/vue-ui-tiremarks-BSPIy1A3.js +341 -0
  86. package/dist/vue-ui-treemap-DsMmxgin.js +947 -0
  87. package/dist/{vue-ui-vertical-bar-CE4oBwBv.js → vue-ui-vertical-bar-B2_ZHuyv.js} +381 -386
  88. package/dist/{vue-ui-waffle-DNEEnY_G.js → vue-ui-waffle-YhkwHcUX.js} +312 -318
  89. package/dist/vue-ui-wheel-CWHJwyyL.js +335 -0
  90. package/dist/vue-ui-word-cloud-BLgEqHRF.js +642 -0
  91. package/dist/{vue-ui-world-Brhq17TE.js → vue-ui-world-BQelvSLD.js} +389 -400
  92. package/dist/{vue-ui-xy-K2G7QQxG.js → vue-ui-xy-D1luVUXJ.js} +845 -846
  93. package/dist/vue-ui-xy-canvas-C7Pu9RFN.js +1206 -0
  94. package/package.json +6 -6
  95. package/dist/BaseDraggableDialog-Bzwlfmy1.js +0 -186
  96. package/dist/PackageVersion-BjrblLPQ.js +0 -10
  97. package/dist/Tooltip-CWmRmhJr.js +0 -158
  98. package/dist/useChartAccessibility-BWojgys7.js +0 -13
  99. package/dist/vue-ui-circle-pack-D_jYpsuD.js +0 -659
  100. package/dist/vue-ui-donut-WRUDvvZa.js +0 -1292
  101. package/dist/vue-ui-donut-evolution-BQxV5D_L.js +0 -871
  102. package/dist/vue-ui-molecule-Bq69N7rC.js +0 -782
  103. package/dist/vue-ui-relation-circle-T6aTibIU.js +0 -528
  104. package/dist/vue-ui-sparkline-D__GCUAz.js +0 -519
  105. package/dist/vue-ui-tiremarks-Z8pjUT1g.js +0 -344
  106. package/dist/vue-ui-treemap-pRJ3be5l.js +0 -956
  107. package/dist/vue-ui-wheel-DWPYZxdT.js +0 -338
  108. package/dist/vue-ui-word-cloud-DAR7R8F8.js +0 -648
  109. package/dist/vue-ui-xy-canvas-ml44sPHS.js +0 -1673
@@ -1,23 +1,17 @@
1
- import { computed as f, ref as n, watch as Ue, onMounted as Ve, onBeforeUnmount as Ee, createElementBlock as u, openBlock as s, unref as v, normalizeStyle as B, normalizeClass as M, createBlock as T, createCommentVNode as c, createVNode as _e, createSlots as He, withCtx as y, renderSlot as p, normalizeProps as P, guardReactiveProps as z, createElementVNode as k, Fragment as g, renderList as w, toDisplayString as L, mergeProps as Be, createTextVNode as Xe, nextTick as je } from "vue";
2
- import { u as Ye, c as ee, t as qe, p as A, a as Je, o as Ke, e as te, g as Te, b as Qe, d as Le, v as Ze, D as et, f as X, X as tt, i as le, l as lt, h as at, x as Ae, F as ot, q as st, r as rt, y as ut } from "./index-BFzQMJda.js";
3
- import { t as it, u as nt } from "./useResponsive-JZ9xq-JV.js";
4
- import { _ as vt } from "./Title-CzaCeCOm.js";
5
- import { u as ct, U as ht } from "./usePrinter-C5bLp34h.js";
6
- import { _ as dt } from "./Tooltip-CWmRmhJr.js";
7
- import { D as pt } from "./DataTable-Rajdtaf6.js";
8
- import ft from "./vue-ui-skeleton-B_YI7Yuc.js";
9
- import { _ as yt } from "./Shape-C69a0f29.js";
10
- import bt from "./vue-ui-accordion-BUz4JIIX.js";
11
- import { u as Se } from "./useNestedProp-v7KPpwuP.js";
12
- import { _ as mt } from "./PackageVersion-BjrblLPQ.js";
13
- import { _ as gt } from "./PenAndPaper-BkP3J-Ft.js";
14
- import { u as kt } from "./useUserOptionState-BIvW1Kz7.js";
15
- import { u as xt } from "./useChartAccessibility-BWojgys7.js";
16
- import { _ as wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"], Tt = { key: 1 }, Lt = { key: 0 }, At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], St = { key: 1 }, Ot = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nt = ["x", "y", "fill", "font-size"], Ft = ["x", "y", "font-size", "fill"], It = ["fill", "font-size", "transform"], Mt = ["fill", "font-size", "x", "y"], Wt = ["x1", "x2", "y1", "y2", "stroke"], Dt = ["cx", "cy", "fill"], Gt = ["cx", "cy", "fill"], Rt = ["id"], Ut = ["stop-color"], Vt = ["stop-color"], Et = ["stop-color"], Ht = { key: 0 }, Bt = ["x", "y", "font-size", "fill"], Xt = {
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-BHEd2dgu.js";
3
+ import { t as mt, u as gt } from "./useResponsive-JZ9xq-JV.js";
4
+ import { u as ze } from "./useNestedProp-CZztHZIm.js";
5
+ import { u as kt } from "./usePrinter-C8URL2IU.js";
6
+ import { u as xt } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as wt } from "./useChartAccessibility-9icAAmYg.js";
8
+ import Ct from "./Title-Bc66VstS.js";
9
+ import $t from "./Shape-B6kIkp2s.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 = {
18
12
  key: 5,
19
13
  class: "vue-data-ui-watermark"
20
- }, jt = ["innerHTML"], Yt = {
14
+ }, Jt = ["innerHTML"], Kt = {
21
15
  __name: "vue-ui-strip-plot",
22
16
  props: {
23
17
  config: {
@@ -34,76 +28,76 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
34
28
  }
35
29
  },
36
30
  emits: ["selectDatapoint"],
37
- setup(Oe, { expose: Pe, emit: ze }) {
38
- const { vue_ui_strip_plot: Ne } = Ye(), b = Oe, Fe = ze, C = f({
31
+ setup(Ne, { expose: Fe, emit: Me }) {
32
+ const Ie = A(() => import("./vue-ui-accordion-DntThSTF.js")), We = A(() => import("./DataTable-Y5HbiUZU.js")), De = A(() => import("./PackageVersion-DaWGaZxE.js")), Ge = A(() => import("./PenAndPaper-C-CpE0NC.js")), Re = A(() => import("./vue-ui-skeleton-CG3Pn3Zg.js")), Ve = A(() => import("./Tooltip-B07vY6jm.js")), Ee = A(() => import("./UserOptions-C8X2STEg.js")), { vue_ui_strip_plot: Ue } = ot(), b = Ne, He = Me, $ = f({
39
33
  get() {
40
34
  return !!b.dataset && b.dataset.length;
41
35
  },
42
36
  set(t) {
43
37
  return t;
44
38
  }
45
- }), j = n(ee()), ae = n(0), Y = n(!1), q = n(""), N = n(null), oe = n(null), se = n(null), re = n(null), ue = n(!1), ie = n(0), ne = n(0), e = f({
46
- get: () => de(),
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(),
47
41
  set: (t) => t
48
- }), { userOptionsVisible: J, setUserOptionsVisibility: ve, keepUserOptionState: ce } = kt({ config: e.value }), { svgRef: he } = xt({ config: e.value.style.chart.title });
49
- function de() {
50
- const t = Se({
42
+ }), { userOptionsVisible: Q, setUserOptionsVisibility: he, keepUserOptionState: de } = xt({ config: e.value }), { svgRef: pe } = wt({ config: e.value.style.chart.title });
43
+ function fe() {
44
+ const t = ze({
51
45
  userConfig: b.config,
52
- defaultConfig: Ne
46
+ defaultConfig: Ue
53
47
  });
54
48
  return t.theme ? {
55
- ...Se({
56
- userConfig: Je.vue_ui_strip_plot[t.theme] || b.config,
49
+ ...ze({
50
+ userConfig: rt.vue_ui_strip_plot[t.theme] || b.config,
57
51
  defaultConfig: t
58
52
  }),
59
- customPalette: qe[t.theme] || A
53
+ customPalette: st[t.theme] || S
60
54
  } : t;
61
55
  }
62
- Ue(() => b.config, (t) => {
63
- e.value = de(), J.value = !e.value.userOptions.showOnChartHover, pe(), ie.value += 1, ne.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;
64
58
  }, { deep: !0 });
65
- const W = n(null);
66
- Ve(() => {
67
- pe();
59
+ const w = Ae(null), O = Ae(null);
60
+ Qe(() => {
61
+ ye();
68
62
  });
69
- function pe() {
70
- if (Ke(b.dataset) ? te({
63
+ function ye() {
64
+ if (ut(b.dataset) ? ae({
71
65
  componentName: "VueUiStripPlot",
72
66
  type: "dataset"
73
67
  }) : b.dataset.forEach((t, o) => {
74
- Te({
68
+ Pe({
75
69
  datasetObject: t,
76
70
  requiredAttributes: ["name", "plots"]
77
71
  }).forEach((l) => {
78
- C.value = !1, te({
72
+ $.value = !1, ae({
79
73
  componentName: "VueUiStripPlot",
80
74
  type: "datasetSerieAttribute",
81
75
  property: l,
82
76
  index: o
83
77
  });
84
78
  }), t.plots && t.plots.forEach((l, r) => {
85
- Te({
79
+ Pe({
86
80
  datasetObject: l,
87
81
  requiredAttributes: ["name", "value"]
88
- }).forEach((i) => {
89
- C.value = !1, te({
82
+ }).forEach((n) => {
83
+ $.value = !1, ae({
90
84
  componentName: "VueUiStripPlot",
91
85
  type: "datasetSerieAttribute",
92
- property: i,
86
+ property: n,
93
87
  index: `${o},${r}`
94
88
  });
95
89
  });
96
90
  });
97
91
  }), e.value.responsive) {
98
- const t = it(() => {
99
- const { width: o, height: l } = nt({
100
- chart: N.value,
101
- title: e.value.style.chart.title.text ? oe.value : null,
102
- source: se.value,
103
- noTitle: re.value
92
+ const t = mt(() => {
93
+ const { width: o, height: l } = gt({
94
+ chart: I.value,
95
+ title: e.value.style.chart.title.text ? re.value : null,
96
+ source: ue.value,
97
+ noTitle: ne.value
104
98
  });
105
99
  requestAnimationFrame(() => {
106
- D.value = l, S.value.width = o, S.value.height = l, I.value = (o - m.value.left - m.value.right) / b.dataset.length, G.value = ot({
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({
107
101
  relator: Math.min(l, o),
108
102
  adjuster: 600,
109
103
  source: e.value.style.chart.plots.radius,
@@ -112,135 +106,135 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
112
106
  });
113
107
  });
114
108
  });
115
- W.value = new ResizeObserver(t), W.value.observe(N.value.parentNode);
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);
116
110
  }
117
- ue.value = !0, setTimeout(() => {
118
- F.value = !1;
119
- }, Me.value * 50);
111
+ ie.value = !0, setTimeout(() => {
112
+ W.value = !1;
113
+ }, Xe.value * 50);
120
114
  }
121
- Ee(() => {
122
- W.value && W.value.disconnect();
115
+ Ze(() => {
116
+ w.value && (O.value && w.value.unobserve(O.value), w.value.disconnect());
123
117
  });
124
- const { isPrinting: fe, isImaging: ye, generatePdf: be, generateImage: me } = ct({
125
- elementId: `strip-plot_${j.value}`,
118
+ const { isPrinting: be, isImaging: me, generatePdf: ge, generateImage: ke } = kt({
119
+ elementId: `strip-plot_${q.value}`,
126
120
  fileName: e.value.style.chart.title.text || "vue-ui-strip-plot",
127
121
  options: e.value.userOptions.print
128
- }), Ie = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), ge = f(() => Qe(e.value.customPalette)), F = n(e.value.useCssAnimation), d = n({
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({
129
123
  showTable: e.value.table.show,
130
124
  dataLabels: {
131
125
  show: e.value.style.chart.labels.bestPlotLabel.show
132
126
  },
133
127
  showTooltip: e.value.style.chart.tooltip.show
134
- }), m = n({
128
+ }), m = v({
135
129
  top: e.value.style.chart.padding.top,
136
130
  bottom: e.value.style.chart.padding.bottom,
137
131
  left: e.value.style.chart.padding.left,
138
132
  right: e.value.style.chart.padding.right
139
- }), I = n(e.value.style.chart.stripWidth), D = n(e.value.style.chart.height), G = n(e.value.style.chart.plots.radius), S = n({
140
- width: I.value * b.dataset.length + m.value.left + m.value.right,
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({
134
+ width: D.value * b.dataset.length + m.value.left + m.value.right,
141
135
  height: e.value.style.chart.height
142
136
  }), a = f(() => {
143
- const t = I.value * b.dataset.length + m.value.left + m.value.right;
137
+ const t = D.value * b.dataset.length + m.value.left + m.value.right;
144
138
  return {
145
139
  left: m.value.left,
146
140
  right: t - m.value.right,
147
141
  top: m.value.top,
148
- bottom: D.value - m.value.bottom,
149
- width: I.value * b.dataset.length,
150
- height: D.value - m.value.top - m.value.bottom,
151
- stripWidth: I.value,
152
- absoluteHeight: D.value,
142
+ bottom: R.value - m.value.bottom,
143
+ width: D.value * b.dataset.length,
144
+ height: R.value - m.value.top - m.value.bottom,
145
+ stripWidth: D.value,
146
+ absoluteHeight: R.value,
153
147
  absoluteWidth: t
154
148
  };
155
- }), R = f(() => C.value ? b.dataset.map((t, o) => {
156
- const l = ee();
149
+ }), E = f(() => $.value ? b.dataset.map((t, o) => {
150
+ const l = le();
157
151
  return {
158
152
  ...t,
159
153
  id: l,
160
- color: t.color ? Le(t.color) : ge.value[o] || A[o] || A[o % A.length],
154
+ color: t.color ? Se(t.color) : xe.value[o] || S[o] || S[o % S.length],
161
155
  plots: t.plots.map((r) => ({
162
156
  ...r,
163
- value: Ze(r.value),
157
+ value: it(r.value),
164
158
  parentId: l,
165
- color: t.color ? Le(t.color) : ge.value[o] || A[o] || A[o % A.length],
166
- id: ee()
167
- })).sort((r, i) => r.value - i.value)
159
+ color: t.color ? Se(t.color) : xe.value[o] || S[o] || S[o % S.length],
160
+ id: le()
161
+ })).sort((r, n) => r.value - n.value)
168
162
  };
169
- }) : null), x = f(() => (R.value || []).map((t, o) => ({
163
+ }) : null), x = f(() => (E.value || []).map((t, o) => ({
170
164
  ...t,
171
165
  plots: t.plots.map((l) => ({
172
166
  ...l,
173
167
  x: a.value.left + (o + 1) * a.value.stripWidth - a.value.stripWidth / 2
174
168
  }))
175
- }))), Me = f(() => Math.max(...x.value.map((t) => t.plots.length))), K = f(() => {
169
+ }))), Xe = f(() => Math.max(...x.value.map((t) => t.plots.length))), Z = f(() => {
176
170
  const t = x.value.flatMap((o) => o.plots.map((l) => l.value));
177
171
  return {
178
172
  max: Math.max(...t),
179
173
  min: Math.min(...t)
180
174
  };
181
- }), $ = f(() => et(K.value.min < 0 ? K.value.min : 0, K.value.max, e.value.style.chart.grid.scaleSteps)), We = f(() => (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) => ({
182
176
  ...t,
183
177
  plots: t.plots.map((l) => ({
184
178
  ...l,
185
- 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
186
180
  }))
187
- }))), ke = f(() => $.value.ticks.map((t) => ({
188
- 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))),
189
183
  x1: a.value.left,
190
184
  x2: a.value.right,
191
185
  value: t
192
- }))), Q = n(null), h = n(null);
193
- function De({ datapoint: t, seriesIndex: o }) {
194
- Q.value = { datapoint: t, seriesIndex: o, config: e.value, series: R.value }, Y.value = !0, h.value = t;
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;
195
189
  const l = e.value.style.chart.tooltip.customFormat;
196
- if (Ae(l) && ut(() => l({
190
+ if (Oe(l) && bt(() => l({
197
191
  seriesIndex: o,
198
192
  datapoint: t,
199
- series: R.value,
193
+ series: E.value,
200
194
  config: e.value
201
195
  })))
202
- q.value = l({
196
+ K.value = l({
203
197
  seriesIndex: o,
204
198
  datapoint: t,
205
- series: R.value,
199
+ series: E.value,
206
200
  config: e.value
207
201
  });
208
202
  else {
209
203
  let r = "";
210
- 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>${le(
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(
211
205
  e.value.style.chart.labels.formatter,
212
206
  t.value,
213
- X({
207
+ Y({
214
208
  p: e.value.style.chart.labels.prefix,
215
209
  v: t.value,
216
210
  s: e.value.style.chart.labels.suffix,
217
211
  r: e.value.style.chart.tooltip.roundingValue
218
212
  }),
219
213
  { datapoint: t, seriesIndex: o }
220
- )}</div>`, q.value = `<div>${r}</div>`;
214
+ )}</div>`, K.value = `<div>${r}</div>`;
221
215
  }
222
216
  }
223
217
  const U = f(() => {
224
- const t = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r, i) => i.value - r.value).map((r) => ({
218
+ const t = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r, n) => n.value - r.value).map((r) => ({
225
219
  name: `${l.name} - ${r.name}`,
226
220
  color: r.color
227
- }))), 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));
228
222
  return { head: t, body: o };
229
223
  });
230
- function xe() {
231
- je(() => {
232
- const t = U.value.head.map((r, i) => [[
224
+ function Ce() {
225
+ at(() => {
226
+ const t = U.value.head.map((r, n) => [[
233
227
  r.name
234
- ], [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 = st(o);
235
- rt({ 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" });
236
230
  });
237
231
  }
238
- const V = f(() => {
232
+ const H = f(() => {
239
233
  const t = [
240
234
  e.value.table.columnNames.series,
241
235
  e.value.table.columnNames.value
242
- ], o = U.value.head.map((i, _) => {
243
- const H = X({
236
+ ], o = U.value.head.map((n, _) => {
237
+ const X = Y({
244
238
  p: e.value.style.chart.labels.prefix,
245
239
  v: U.value.body[_],
246
240
  s: e.value.style.chart.labels.suffix,
@@ -248,10 +242,10 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
248
242
  });
249
243
  return [
250
244
  {
251
- color: i.color,
252
- name: i.name
245
+ color: n.color,
246
+ name: n.name
253
247
  },
254
- H
248
+ X
255
249
  ];
256
250
  }), l = {
257
251
  th: {
@@ -275,67 +269,67 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
275
269
  body: o,
276
270
  config: l
277
271
  };
278
- }), O = n(!1);
279
- function Ge(t) {
280
- O.value = t, ae.value += 1;
272
+ }), N = v(!1);
273
+ function qe(t) {
274
+ N.value = t, se.value += 1;
281
275
  }
282
- function Re() {
276
+ function Je() {
283
277
  return x.value;
284
278
  }
285
- function we() {
279
+ function $e() {
286
280
  d.value.showTable = !d.value.showTable;
287
281
  }
288
- function Ce() {
282
+ function Te() {
289
283
  d.value.dataLabels.show = !d.value.dataLabels.show;
290
284
  }
291
- function $e() {
285
+ function _e() {
292
286
  d.value.showTooltip = !d.value.showTooltip;
293
287
  }
294
- const E = n(!1);
295
- function Z() {
296
- E.value = !E.value;
288
+ const B = v(!1);
289
+ function te() {
290
+ B.value = !B.value;
297
291
  }
298
- return Pe({
299
- getData: Re,
300
- generatePdf: be,
301
- generateCsv: xe,
302
- generateImage: me,
303
- toggleTable: we,
304
- toggleLabels: Ce,
305
- toggleTooltip: $e,
306
- toggleAnnotator: Z
292
+ return Fe({
293
+ getData: Je,
294
+ generatePdf: ge,
295
+ generateCsv: Ce,
296
+ generateImage: ke,
297
+ toggleTable: $e,
298
+ toggleLabels: Te,
299
+ toggleTooltip: _e,
300
+ toggleAnnotator: te
307
301
  }), (t, o) => (s(), u("div", {
308
302
  ref_key: "stripPlotChart",
309
- ref: N,
310
- class: M(`vue-ui-strip-plot ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
311
- style: B(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
312
- id: `strip-plot_${j.value}`,
313
- onMouseenter: o[2] || (o[2] = () => v(ve)(!0)),
314
- onMouseleave: o[3] || (o[3] = () => v(ve)(!1))
303
+ ref: I,
304
+ class: G(`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%" : ""}`),
306
+ id: `strip-plot_${q.value}`,
307
+ onMouseenter: o[2] || (o[2] = () => i(he)(!0)),
308
+ onMouseleave: o[3] || (o[3] = () => i(he)(!1))
315
309
  }, [
316
- e.value.userOptions.buttons.annotator ? (s(), T(gt, {
310
+ e.value.userOptions.buttons.annotator ? (s(), L(i(Ge), {
317
311
  key: 0,
318
- svgRef: v(he),
312
+ svgRef: i(pe),
319
313
  backgroundColor: e.value.style.chart.backgroundColor,
320
314
  color: e.value.style.chart.color,
321
- active: E.value,
322
- onClose: Z
315
+ active: B.value,
316
+ onClose: te
323
317
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
324
- Ie.value ? (s(), u("div", {
318
+ Be.value ? (s(), u("div", {
325
319
  key: 1,
326
320
  ref_key: "noTitle",
327
- ref: re,
321
+ ref: ne,
328
322
  class: "vue-data-ui-no-title-space",
329
323
  style: "height:36px; width: 100%;background:transparent"
330
324
  }, null, 512)) : c("", !0),
331
325
  e.value.style.chart.title.text ? (s(), u("div", {
332
326
  key: 2,
333
327
  ref_key: "chartTitle",
334
- ref: oe,
328
+ ref: re,
335
329
  style: "width:100%;background:transparent;padding-bottom:24px"
336
330
  }, [
337
- (s(), T(vt, {
338
- key: `title_${ie.value}`,
331
+ (s(), L(Ct, {
332
+ key: `title_${ve.value}`,
339
333
  config: {
340
334
  title: {
341
335
  cy: "donut-div-title",
@@ -348,14 +342,14 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
348
342
  }
349
343
  }, null, 8, ["config"]))
350
344
  ], 512)) : c("", !0),
351
- e.value.userOptions.show && C.value && (v(ce) || v(J)) ? (s(), T(ht, {
345
+ e.value.userOptions.show && $.value && (i(de) || i(Q)) ? (s(), L(i(Ee), {
352
346
  ref: "details",
353
- key: `user_option_${ae.value}`,
347
+ key: `user_option_${se.value}`,
354
348
  backgroundColor: e.value.style.chart.backgroundColor,
355
349
  color: e.value.style.chart.color,
356
- isPrinting: v(fe),
357
- isImaging: v(ye),
358
- uid: j.value,
350
+ isPrinting: i(be),
351
+ isImaging: i(me),
352
+ uid: q.value,
359
353
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
360
354
  hasPdf: e.value.userOptions.buttons.pdf,
361
355
  hasXls: e.value.userOptions.buttons.csv,
@@ -364,28 +358,28 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
364
358
  hasLabel: e.value.userOptions.buttons.labels,
365
359
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
366
360
  isTooltip: d.value.showTooltip,
367
- isFullscreen: O.value,
361
+ isFullscreen: N.value,
368
362
  titles: { ...e.value.userOptions.buttonTitles },
369
- chartElement: N.value,
363
+ chartElement: I.value,
370
364
  position: e.value.userOptions.position,
371
365
  hasAnnotator: e.value.userOptions.buttons.annotator,
372
- isAnnotation: E.value,
373
- onToggleFullscreen: Ge,
374
- onGeneratePdf: v(be),
375
- onGenerateCsv: xe,
376
- onGenerateImage: v(me),
377
- onToggleTable: we,
378
- onToggleLabels: Ce,
379
- onToggleTooltip: $e,
380
- onToggleAnnotator: Z,
381
- style: B({
382
- visibility: v(ce) ? v(J) ? "visible" : "hidden" : "visible"
366
+ isAnnotation: B.value,
367
+ onToggleFullscreen: qe,
368
+ onGeneratePdf: i(ge),
369
+ onGenerateCsv: Ce,
370
+ onGenerateImage: i(ke),
371
+ onToggleTable: $e,
372
+ onToggleLabels: Te,
373
+ onToggleTooltip: _e,
374
+ onToggleAnnotator: te,
375
+ style: j({
376
+ visibility: i(de) ? i(Q) ? "visible" : "hidden" : "visible"
383
377
  })
384
- }, He({ _: 2 }, [
378
+ }, et({ _: 2 }, [
385
379
  t.$slots.menuIcon ? {
386
380
  name: "menuIcon",
387
381
  fn: y(({ isOpen: l, color: r }) => [
388
- p(t.$slots, "menuIcon", P(z({ isOpen: l, color: r })), void 0, !0)
382
+ p(t.$slots, "menuIcon", F(M({ isOpen: l, color: r })), void 0, !0)
389
383
  ]),
390
384
  key: "0"
391
385
  } : void 0,
@@ -434,43 +428,43 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
434
428
  t.$slots.optionFullscreen ? {
435
429
  name: "optionFullscreen",
436
430
  fn: y(({ toggleFullscreen: l, isFullscreen: r }) => [
437
- p(t.$slots, "optionFullscreen", P(z({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
431
+ p(t.$slots, "optionFullscreen", F(M({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
438
432
  ]),
439
433
  key: "7"
440
434
  } : void 0,
441
435
  t.$slots.optionAnnotator ? {
442
436
  name: "optionAnnotator",
443
437
  fn: y(({ toggleAnnotator: l, isAnnotator: r }) => [
444
- p(t.$slots, "optionAnnotator", P(z({ toggleAnnotator: l, isAnnotator: r })), void 0, !0)
438
+ p(t.$slots, "optionAnnotator", F(M({ toggleAnnotator: l, isAnnotator: r })), void 0, !0)
445
439
  ]),
446
440
  key: "8"
447
441
  } : void 0
448
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),
449
- C.value ? (s(), u("svg", {
443
+ $.value ? (s(), u("svg", {
450
444
  key: 4,
451
445
  ref_key: "svgRef",
452
- ref: he,
453
- xmlns: v(tt),
454
- class: M({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
455
- viewBox: `0 0 ${S.value.width <= 0 ? 10 : S.value.width} ${S.value.height <= 0 ? 10 : S.value.height}`,
456
- style: B(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
446
+ ref: pe,
447
+ xmlns: i(ct),
448
+ class: G({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
449
+ viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
450
+ style: j(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
457
451
  }, [
458
- _e(mt),
452
+ Le(i(De)),
459
453
  t.$slots["chart-background"] ? (s(), u("foreignObject", {
460
454
  key: 0,
461
455
  x: a.value.left,
462
456
  y: a.value.top,
463
- width: a.value.width,
464
- height: a.value.height,
457
+ width: Math.max(0.1, a.value.width),
458
+ height: Math.max(0.1, a.value.height),
465
459
  style: {
466
460
  pointerEvents: "none"
467
461
  }
468
462
  }, [
469
463
  p(t.$slots, "chart-background", {}, void 0, !0)
470
- ], 8, _t)) : c("", !0),
471
- e.value.style.chart.grid.show ? (s(), u("g", Tt, [
472
- e.value.style.chart.grid.horizontalGrid.show ? (s(), u("g", Lt, [
473
- (s(!0), u(g, null, w(ke.value, (l) => (s(), u("line", {
464
+ ], 8, Lt)) : c("", !0),
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", {
474
468
  x1: l.x1,
475
469
  x2: l.x2,
476
470
  y1: l.y,
@@ -479,10 +473,10 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
479
473
  "stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
480
474
  "stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray,
481
475
  "stroke-linecap": "round"
482
- }, null, 8, At))), 256))
476
+ }, null, 8, Ot))), 256))
483
477
  ])) : c("", !0),
484
- e.value.style.chart.grid.verticalGrid.show ? (s(), u("g", St, [
485
- (s(!0), u(g, null, w(x.value, (l, r) => (s(), u("line", {
478
+ e.value.style.chart.grid.verticalGrid.show ? (s(), u("g", zt, [
479
+ (s(!0), u(g, null, C(x.value, (l, r) => (s(), u("line", {
486
480
  x1: a.value.left + (r + 1) * a.value.stripWidth,
487
481
  x2: a.value.left + (r + 1) * a.value.stripWidth,
488
482
  y1: a.value.top,
@@ -491,7 +485,7 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
491
485
  "stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
492
486
  "stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray,
493
487
  "stroke-linecap": "round"
494
- }, null, 8, Ot))), 256))
488
+ }, null, 8, Nt))), 256))
495
489
  ])) : c("", !0),
496
490
  k("line", {
497
491
  x1: a.value.left,
@@ -501,7 +495,7 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
501
495
  stroke: e.value.style.chart.grid.stroke,
502
496
  "stroke-width": e.value.style.chart.grid.strokeWidth,
503
497
  "stroke-linecap": "round"
504
- }, null, 8, Pt),
498
+ }, null, 8, Ft),
505
499
  k("line", {
506
500
  x1: a.value.left,
507
501
  x2: a.value.right,
@@ -510,39 +504,39 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
510
504
  stroke: e.value.style.chart.grid.stroke,
511
505
  "stroke-width": e.value.style.chart.grid.strokeWidth,
512
506
  "stroke-linecap": "round"
513
- }, null, 8, zt)
507
+ }, null, 8, Mt)
514
508
  ])) : c("", !0),
515
- e.value.style.chart.labels.yAxisLabels.show ? (s(!0), u(g, { key: 2 }, w(ke.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", {
516
510
  x: l.x1 - e.value.style.chart.labels.yAxisLabels.fontSize / 2 + e.value.style.chart.labels.yAxisLabels.offsetX,
517
511
  y: l.y + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
518
512
  fill: e.value.style.chart.labels.yAxisLabels.color,
519
513
  "font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
520
514
  "text-anchor": "end"
521
- }, L(v(le)(
515
+ }, P(i(oe)(
522
516
  e.value.style.chart.labels.formatter,
523
517
  l.value,
524
- v(X)({
518
+ i(Y)({
525
519
  p: e.value.style.chart.labels.prefix,
526
520
  v: l.value,
527
521
  s: e.value.style.chart.labels.suffix,
528
522
  r: e.value.style.chart.labels.yAxisLabels.rounding
529
523
  }),
530
524
  { datapoint: l, seriesIndex: r }
531
- )), 9, Nt))), 256)) : c("", !0),
532
- e.value.style.chart.labels.xAxisLabels.show ? (s(!0), u(g, { key: 3 }, w(x.value, (l, r) => (s(), u("text", {
525
+ )), 9, It))), 256)) : c("", !0),
526
+ e.value.style.chart.labels.xAxisLabels.show ? (s(!0), u(g, { key: 3 }, C(x.value, (l, r) => (s(), u("text", {
533
527
  x: a.value.left + (r + 1) * a.value.stripWidth - a.value.stripWidth / 2,
534
528
  y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY,
535
529
  "font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
536
530
  fill: e.value.style.chart.labels.xAxisLabels.color,
537
531
  "text-anchor": "middle"
538
- }, L(l.name), 9, Ft))), 256)) : c("", !0),
532
+ }, P(l.name), 9, Wt))), 256)) : c("", !0),
539
533
  e.value.style.chart.labels.axis.yLabel ? (s(), u("text", {
540
534
  key: 4,
541
535
  fill: e.value.style.chart.labels.axis.color,
542
536
  "font-size": e.value.style.chart.labels.axis.fontSize,
543
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)`,
544
538
  "text-anchor": "middle"
545
- }, L(e.value.style.chart.labels.axis.yLabel), 9, It)) : c("", !0),
539
+ }, P(e.value.style.chart.labels.axis.yLabel), 9, Dt)) : c("", !0),
546
540
  e.value.style.chart.labels.axis.xLabel ? (s(), u("text", {
547
541
  key: 5,
548
542
  fill: e.value.style.chart.labels.axis.color,
@@ -550,7 +544,7 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
550
544
  x: a.value.left + a.value.width / 2,
551
545
  y: a.value.absoluteHeight,
552
546
  "text-anchor": "middle"
553
- }, L(e.value.style.chart.labels.axis.xLabel), 9, Mt)) : c("", !0),
547
+ }, P(e.value.style.chart.labels.axis.xLabel), 9, Gt)) : c("", !0),
554
548
  h.value ? (s(), u(g, { key: 6 }, [
555
549
  k("line", {
556
550
  x1: a.value.left,
@@ -559,88 +553,88 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
559
553
  y2: h.value.y,
560
554
  stroke: h.value.color,
561
555
  "stroke-width": 1,
562
- class: M({ "select-circle": e.value.useCssAnimation })
563
- }, null, 10, Wt),
556
+ class: G({ "select-circle": e.value.useCssAnimation })
557
+ }, null, 10, Rt),
564
558
  k("circle", {
565
559
  cx: a.value.left,
566
560
  cy: h.value.y,
567
561
  r: 3,
568
562
  fill: h.value.color,
569
- class: M({ "select-circle": e.value.useCssAnimation })
570
- }, null, 10, Dt),
563
+ class: G({ "select-circle": e.value.useCssAnimation })
564
+ }, null, 10, Vt),
571
565
  k("circle", {
572
566
  cx: a.value.right,
573
567
  cy: h.value.y,
574
568
  r: 3,
575
569
  fill: h.value.color,
576
- class: M({ "select-circle": e.value.useCssAnimation })
577
- }, null, 10, Gt)
570
+ class: G({ "select-circle": e.value.useCssAnimation })
571
+ }, null, 10, Et)
578
572
  ], 64)) : c("", !0),
579
573
  k("defs", null, [
580
- (s(!0), u(g, null, w(x.value, (l) => (s(), u("radialGradient", {
574
+ (s(!0), u(g, null, C(x.value, (l) => (s(), u("radialGradient", {
581
575
  id: l.id,
582
576
  fy: "30%"
583
577
  }, [
584
578
  k("stop", {
585
579
  offset: "10%",
586
- "stop-color": v(lt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
587
- }, null, 8, Ut),
580
+ "stop-color": i(ht)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
581
+ }, null, 8, Ht),
588
582
  k("stop", {
589
583
  offset: "90%",
590
- "stop-color": v(at)(l.color, 0.1)
591
- }, null, 8, Vt),
584
+ "stop-color": i(dt)(l.color, 0.1)
585
+ }, null, 8, Bt),
592
586
  k("stop", {
593
587
  offset: "100%",
594
588
  "stop-color": l.color
595
- }, null, 8, Et)
596
- ], 8, Rt))), 256))
589
+ }, null, 8, Xt)
590
+ ], 8, Ut))), 256))
597
591
  ]),
598
- (s(!0), u(g, null, w(We.value, (l, r) => (s(), u(g, null, [
599
- (s(!0), u(g, null, w(l.plots, (i, _) => (s(), T(yt, Be({
600
- plot: { x: i.x, y: ue.value ? i.y : a.value.top },
601
- radius: h.value && h.value.id === i.id ? G.value * 1.5 : G.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,
602
596
  shape: e.value.style.chart.plots.shape,
603
597
  stroke: e.value.style.chart.plots.stroke,
604
598
  strokeWidth: e.value.style.chart.plots.strokeWidth,
605
599
  color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
606
- onMouseenter: (H) => De({ datapoint: i, seriesIndex: _ }),
607
- onMouseleave: o[0] || (o[0] = (H) => {
608
- Y.value = !1, h.value = null;
600
+ onMouseenter: (X) => Ye({ datapoint: n, seriesIndex: _ }),
601
+ onMouseleave: o[0] || (o[0] = (X) => {
602
+ J.value = !1, h.value = null;
609
603
  }),
610
- onClick: (H) => Fe("selectDatapoint", i),
611
- 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};${F.value ? `transition-delay:${_ * 50}ms` : ""}`,
612
- class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && F.value, "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !F.value }
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` : ""}`,
606
+ class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && W.value, "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !W.value }
613
607
  }, { ref_for: !0 }, t.$attrs), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "onMouseenter", "onClick", "style", "class"]))), 256)),
614
- d.value.dataLabels.show ? (s(), u("g", Ht, [
615
- (s(!0), u(g, null, w(l.plots, (i, _) => (s(), u(g, null, [
616
- _ === l.plots.length - 1 || h.value && h.value.id === i.id && !d.value.showTooltip ? (s(), u("text", {
608
+ d.value.dataLabels.show ? (s(), u("g", jt, [
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", {
617
611
  key: 0,
618
- x: i.x,
619
- 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),
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),
620
614
  "font-size": e.value.style.chart.labels.bestPlotLabel.fontSize,
621
615
  fill: e.value.style.chart.labels.bestPlotLabel.color,
622
616
  "text-anchor": "middle",
623
- style: B(`opacity:${e.value.useCssAnimation && F.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
624
- }, L(i.name) + " " + L(e.value.style.chart.labels.bestPlotLabel.showValue ? v(le)(
617
+ style: j(`opacity:${e.value.useCssAnimation && W.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
618
+ }, P(n.name) + " " + P(e.value.style.chart.labels.bestPlotLabel.showValue ? i(oe)(
625
619
  e.value.style.chart.labels.formatter,
626
- i.value,
627
- v(X)({
620
+ n.value,
621
+ i(Y)({
628
622
  p: `(${e.value.style.chart.labels.prefix}`,
629
- v: i.value,
623
+ v: n.value,
630
624
  s: `${e.value.style.chart.labels.suffix})`,
631
625
  r: e.value.style.chart.labels.bestPlotLabel.rounding
632
626
  }),
633
- { datapoint: i, seriesIndex: _ }
634
- ) : ""), 13, Bt)) : c("", !0)
627
+ { datapoint: n, seriesIndex: _ }
628
+ ) : ""), 13, Yt)) : c("", !0)
635
629
  ], 64))), 256))
636
630
  ])) : c("", !0)
637
631
  ], 64))), 256)),
638
632
  p(t.$slots, "svg", { svg: a.value }, void 0, !0)
639
- ], 14, $t)) : c("", !0),
640
- t.$slots.watermark ? (s(), u("div", Xt, [
641
- p(t.$slots, "watermark", P(z({ isPrinting: v(fe) || v(ye) })), void 0, !0)
633
+ ], 14, At)) : c("", !0),
634
+ t.$slots.watermark ? (s(), u("div", qt, [
635
+ p(t.$slots, "watermark", F(M({ isPrinting: i(be) || i(me) })), void 0, !0)
642
636
  ])) : c("", !0),
643
- C.value ? c("", !0) : (s(), T(ft, {
637
+ $.value ? c("", !0) : (s(), L(i(Re), {
644
638
  key: 6,
645
639
  config: {
646
640
  type: "stripPlot",
@@ -655,13 +649,13 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
655
649
  t.$slots.source ? (s(), u("div", {
656
650
  key: 7,
657
651
  ref_key: "source",
658
- ref: se,
652
+ ref: ue,
659
653
  dir: "auto"
660
654
  }, [
661
655
  p(t.$slots, "source", {}, void 0, !0)
662
656
  ], 512)) : c("", !0),
663
- _e(dt, {
664
- show: d.value.showTooltip && Y.value,
657
+ Le(i(Ve), {
658
+ show: d.value.showTooltip && J.value,
665
659
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
666
660
  color: e.value.style.chart.tooltip.color,
667
661
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -671,20 +665,20 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
671
665
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
672
666
  position: e.value.style.chart.tooltip.position,
673
667
  offsetY: e.value.style.chart.tooltip.offsetY,
674
- parent: N.value,
675
- content: q.value,
676
- isFullscreen: O.value,
677
- isCustom: v(Ae)(e.value.style.chart.tooltip.customFormat)
668
+ parent: I.value,
669
+ content: K.value,
670
+ isFullscreen: N.value,
671
+ isCustom: i(Oe)(e.value.style.chart.tooltip.customFormat)
678
672
  }, {
679
673
  "tooltip-before": y(() => [
680
- p(t.$slots, "tooltip-before", P(z({ ...Q.value })), void 0, !0)
674
+ p(t.$slots, "tooltip-before", F(M({ ...ee.value })), void 0, !0)
681
675
  ]),
682
676
  "tooltip-after": y(() => [
683
- p(t.$slots, "tooltip-after", P(z({ ...Q.value })), void 0, !0)
677
+ p(t.$slots, "tooltip-after", F(M({ ...ee.value })), void 0, !0)
684
678
  ]),
685
679
  _: 3
686
680
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
687
- C.value ? (s(), T(bt, {
681
+ $.value ? (s(), L(i(Ie), {
688
682
  key: 8,
689
683
  hideDetails: "",
690
684
  config: {
@@ -701,12 +695,12 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
701
695
  }
702
696
  }, {
703
697
  content: y(() => [
704
- (s(), T(pt, {
705
- key: `table_${ne.value}`,
706
- colNames: V.value.colNames,
707
- head: V.value.head,
708
- body: V.value.body,
709
- config: V.value.config,
698
+ (s(), L(i(We), {
699
+ key: `table_${ce.value}`,
700
+ colNames: H.value.colNames,
701
+ head: H.value.head,
702
+ body: H.value.body,
703
+ config: H.value.config,
710
704
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
711
705
  onClose: o[1] || (o[1] = (l) => d.value.showTable = !1)
712
706
  }, {
@@ -714,19 +708,19 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
714
708
  k("div", {
715
709
  innerHTML: l,
716
710
  style: { display: "flex", "align-items": "center" }
717
- }, null, 8, jt)
711
+ }, null, 8, Jt)
718
712
  ]),
719
713
  td: y(({ td: l }) => [
720
- Xe(L(l.name || l), 1)
714
+ lt(P(l.name || l), 1)
721
715
  ]),
722
716
  _: 1
723
717
  }, 8, ["colNames", "head", "body", "config", "title"]))
724
718
  ]),
725
719
  _: 1
726
720
  }, 8, ["config"])) : c("", !0)
727
- ], 46, Ct));
721
+ ], 46, _t));
728
722
  }
729
- }, cl = /* @__PURE__ */ wt(Yt, [["__scopeId", "data-v-409e2195"]]);
723
+ }, nl = /* @__PURE__ */ Tt(Kt, [["__scopeId", "data-v-4497e32b"]]);
730
724
  export {
731
- cl as default
725
+ nl as default
732
726
  };