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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/{Arrow-Bd9ZVBnX.js → Arrow-CmqjRRUl.js} +1 -1
  2. package/dist/BaseDraggableDialog-BMlyvt7E.js +180 -0
  3. package/dist/{BaseIcon-CNbwMh_-.js → BaseIcon-CZdMutjs.js} +1 -1
  4. package/dist/{ColorPicker-B_FoQwtO.js → ColorPicker-DvVKgyAl.js} +23 -24
  5. package/dist/{DataTable-Rajdtaf6.js → DataTable-Cv9CIz-a.js} +11 -11
  6. package/dist/{Legend-BxtDQCIv.js → Legend-DFunFf8i.js} +8 -8
  7. package/dist/NonSvgPenAndPaper-pVuHj6_A.js +467 -0
  8. package/dist/PackageVersion-CLY-udAA.js +10 -0
  9. package/dist/{PenAndPaper-BkP3J-Ft.js → PenAndPaper-B9na2mbr.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-D3w9qas1.js} +2 -2
  14. package/dist/{Slicer-7qFdY-bT.js → Slicer-ncY8krrM.js} +2 -2
  15. package/dist/SparkTooltip-CwThutH2.js +68 -0
  16. package/dist/{Title-CzaCeCOm.js → Title-B5qqUI3M.js} +2 -2
  17. package/dist/Tooltip-C9rxJ-Ru.js +149 -0
  18. package/dist/{usePrinter-C5bLp34h.js → UserOptions-Ddy6CuLC.js} +172 -231
  19. package/dist/{dom-to-png-Bm0D0yPL.js → dom-to-png-DDlooC9r.js} +1 -1
  20. package/dist/{img-BN9AzqUr.js → img-m9g7lR5d.js} +1 -1
  21. package/dist/{index-BFzQMJda.js → index-BiHmNd1-.js} +21 -21
  22. package/dist/{pdf-uTbs813M.js → pdf-BqM953uL.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-tRqS0ZAM.js} +1 -1
  27. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  28. package/dist/usePrinter-CRCbl1WG.js +53 -0
  29. package/dist/vClickOutside-C6WiFswA.js +13 -0
  30. package/dist/{vue-data-ui-D1k8FeRp.js → vue-data-ui-D9uTDt73.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-rtuSc8FS.js} +397 -402
  33. package/dist/{vue-ui-accordion-BUz4JIIX.js → vue-ui-accordion-CmCs2yR2.js} +3 -3
  34. package/dist/{vue-ui-age-pyramid-4kyBq-Dy.js → vue-ui-age-pyramid-BrzMSiyu.js} +215 -218
  35. package/dist/{vue-ui-annotator-Bq1ZeFfb.js → vue-ui-annotator-CYxmTpf6.js} +2 -2
  36. package/dist/{vue-ui-bullet-DU10avvA.js → vue-ui-bullet-D25qNQfb.js} +137 -140
  37. package/dist/{vue-ui-candlestick-BI1t3flz.js → vue-ui-candlestick-BuerNa-r.js} +265 -271
  38. package/dist/{vue-ui-carousel-table-VowLf_oc.js → vue-ui-carousel-table-aN0HLsOO.js} +137 -137
  39. package/dist/{vue-ui-chestnut-BHjV3d94.js → vue-ui-chestnut-oUj2ocsZ.js} +397 -400
  40. package/dist/{vue-ui-chord-CPr7r-2_.js → vue-ui-chord-C4evlXYB.js} +356 -365
  41. package/dist/vue-ui-circle-pack-CWrNiKTY.js +656 -0
  42. package/dist/{vue-ui-cursor-C9teAbVI.js → vue-ui-cursor-DgpSttlt.js} +2 -2
  43. package/dist/{vue-ui-dashboard-CwDYB8tP.js → vue-ui-dashboard-BN2ha1Eh.js} +62 -62
  44. package/dist/{vue-ui-digits-CHmkL0hn.js → vue-ui-digits-BhjAxXgm.js} +2 -2
  45. package/dist/vue-ui-donut-D3_z61HI.js +1291 -0
  46. package/dist/vue-ui-donut-evolution-oKtmZPx4.js +864 -0
  47. package/dist/{vue-ui-dumbbell-DTKLLd1N.js → vue-ui-dumbbell-C8Lokx-F.js} +265 -270
  48. package/dist/{vue-ui-flow-BLBhsU2n.js → vue-ui-flow-BVRkH0PS.js} +291 -300
  49. package/dist/{vue-ui-funnel-CIrWdeBk.js → vue-ui-funnel-DFxcmAB5.js} +216 -219
  50. package/dist/{vue-ui-galaxy-ByhKyIV4.js → vue-ui-galaxy-CGE0hlBC.js} +227 -235
  51. package/dist/{vue-ui-gauge-BbfBMpng.js → vue-ui-gauge-B48eMvOR.js} +240 -243
  52. package/dist/{vue-ui-gizmo-BM-_QfHM.js → vue-ui-gizmo-zTKNpjvv.js} +57 -58
  53. package/dist/{vue-ui-heatmap-BA4z4hsw.js → vue-ui-heatmap-UNfTt8SM.js} +239 -242
  54. package/dist/{vue-ui-history-plot-8vM_IUy8.js → vue-ui-history-plot-CbCWmvtg.js} +257 -262
  55. package/dist/{vue-ui-kpi-D57QLK6A.js → vue-ui-kpi-Drf_lrlh.js} +29 -30
  56. package/dist/{vue-ui-mini-loader-CR4c-xJQ.js → vue-ui-mini-loader-DU3G6BVs.js} +2 -2
  57. package/dist/vue-ui-molecule-B5MOXYEA.js +580 -0
  58. package/dist/{vue-ui-mood-radar-Brc9cxoD.js → vue-ui-mood-radar-CC_CVLvn.js} +180 -186
  59. package/dist/{vue-ui-nested-donuts-W3Z5F--L.js → vue-ui-nested-donuts-D_H962kk.js} +366 -374
  60. package/dist/{vue-ui-onion-BNBlGNlF.js → vue-ui-onion-P8k6T724.js} +252 -258
  61. package/dist/{vue-ui-parallel-coordinate-plot-B5G3jyvg.js → vue-ui-parallel-coordinate-plot-B5Los0vX.js} +296 -303
  62. package/dist/{vue-ui-quadrant-CUy9mVIA.js → vue-ui-quadrant-B3wzCTxK.js} +402 -409
  63. package/dist/{vue-ui-quick-chart-D4_8mRXU.js → vue-ui-quick-chart-oucj6hXk.js} +611 -616
  64. package/dist/{vue-ui-radar-BUk56jGL.js → vue-ui-radar-Cjqlyu6d.js} +270 -277
  65. package/dist/{vue-ui-rating-B9TQl5KP.js → vue-ui-rating-gryk_h_6.js} +2 -2
  66. package/dist/vue-ui-relation-circle-ielvWC-1.js +525 -0
  67. package/dist/{vue-ui-ridgeline-Cl06bGom.js → vue-ui-ridgeline-Dydqo68b.js} +321 -326
  68. package/dist/{vue-ui-rings-B6bpFlFp.js → vue-ui-rings-BRBXektJ.js} +262 -269
  69. package/dist/{vue-ui-scatter--WUuVw5G.js → vue-ui-scatter-Df-BM7Ts.js} +372 -379
  70. package/dist/{vue-ui-skeleton-B_YI7Yuc.js → vue-ui-skeleton-CbYQYRvD.js} +19 -19
  71. package/dist/{vue-ui-smiley-Bbam2fDz.js → vue-ui-smiley-BfHaQMaW.js} +2 -2
  72. package/dist/{vue-ui-spark-trend-DavXuwGt.js → vue-ui-spark-trend-z3fUChs_.js} +114 -117
  73. package/dist/{vue-ui-sparkbar-9N1FU9-J.js → vue-ui-sparkbar-ChtFIugH.js} +104 -106
  74. package/dist/{vue-ui-sparkgauge-_9ntq4EK.js → vue-ui-sparkgauge-DtpODCww.js} +72 -74
  75. package/dist/{vue-ui-sparkhistogram-BEzOV4HV.js → vue-ui-sparkhistogram-C3XnYiXI.js} +83 -86
  76. package/dist/vue-ui-sparkline-CoL8jiX8.js +459 -0
  77. package/dist/{vue-ui-sparkstackbar-BSWcs3v0.js → vue-ui-sparkstackbar-CYk3mZJH.js} +102 -105
  78. package/dist/{vue-ui-stackbar-gG5BLlAr.js → vue-ui-stackbar-D9LGbuG5.js} +433 -437
  79. package/dist/{vue-ui-strip-plot-BJouRmxh.js → vue-ui-strip-plot-C5r1Ee2R.js} +245 -252
  80. package/dist/{vue-ui-table-D9Ry8s4N.js → vue-ui-table-DBaT_TfA.js} +3 -3
  81. package/dist/{vue-ui-table-heatmap-Bizzpi31.js → vue-ui-table-heatmap-CYW4YfKN.js} +93 -94
  82. package/dist/{vue-ui-table-sparkline-Dg54Ovs2.js → vue-ui-table-sparkline-Di0MYR4p.js} +212 -212
  83. package/dist/{vue-ui-thermometer-6MSdF_Gm.js → vue-ui-thermometer-BF1btHY2.js} +154 -157
  84. package/dist/{vue-ui-timer-ByaKokk8.js → vue-ui-timer-D9FfRWN5.js} +180 -181
  85. package/dist/vue-ui-tiremarks-CQ0lk8fJ.js +341 -0
  86. package/dist/vue-ui-treemap-1Lx7YRtc.js +947 -0
  87. package/dist/{vue-ui-vertical-bar-CE4oBwBv.js → vue-ui-vertical-bar-DdVVQ1ED.js} +397 -403
  88. package/dist/{vue-ui-waffle-DNEEnY_G.js → vue-ui-waffle-BhnuPiRD.js} +317 -324
  89. package/dist/vue-ui-wheel-BIjJ0fg8.js +335 -0
  90. package/dist/vue-ui-word-cloud-3-r8HwO_.js +642 -0
  91. package/dist/{vue-ui-world-Brhq17TE.js → vue-ui-world-CPIGEswq.js} +430 -442
  92. package/dist/{vue-ui-xy-K2G7QQxG.js → vue-ui-xy-9e_epIN4.js} +845 -846
  93. package/dist/vue-ui-xy-canvas-DcGgQ7s4.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,16 @@
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 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";
9
+ 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 = {
18
11
  key: 5,
19
12
  class: "vue-data-ui-watermark"
20
- }, jt = ["innerHTML"], Yt = {
13
+ }, Jt = ["innerHTML"], Kt = {
21
14
  __name: "vue-ui-strip-plot",
22
15
  props: {
23
16
  config: {
@@ -34,59 +27,59 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
34
27
  }
35
28
  },
36
29
  emits: ["selectDatapoint"],
37
- setup(Oe, { expose: Pe, emit: ze }) {
38
- const { vue_ui_strip_plot: Ne } = Ye(), b = Oe, Fe = ze, C = f({
30
+ 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({
39
32
  get() {
40
33
  return !!b.dataset && b.dataset.length;
41
34
  },
42
35
  set(t) {
43
36
  return t;
44
37
  }
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(),
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(),
47
40
  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({
41
+ }), { userOptionsVisible: Q, setUserOptionsVisibility: he, keepUserOptionState: de } = wt({ config: e.value }), { svgRef: pe } = Ct({ config: e.value.style.chart.title });
42
+ function ye() {
43
+ const t = ze({
51
44
  userConfig: b.config,
52
- defaultConfig: Ne
45
+ defaultConfig: He
53
46
  });
54
47
  return t.theme ? {
55
- ...Se({
56
- userConfig: Je.vue_ui_strip_plot[t.theme] || b.config,
48
+ ...ze({
49
+ userConfig: ut.vue_ui_strip_plot[t.theme] || b.config,
57
50
  defaultConfig: t
58
51
  }),
59
- customPalette: qe[t.theme] || A
52
+ customPalette: rt[t.theme] || P
60
53
  } : t;
61
54
  }
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;
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;
64
57
  }, { deep: !0 });
65
- const W = n(null);
66
- Ve(() => {
67
- pe();
58
+ const w = Ae(null), O = Ae(null);
59
+ Ze(() => {
60
+ fe();
68
61
  });
69
- function pe() {
70
- if (Ke(b.dataset) ? te({
62
+ function fe() {
63
+ if (nt(b.dataset) ? ae({
71
64
  componentName: "VueUiStripPlot",
72
65
  type: "dataset"
73
66
  }) : b.dataset.forEach((t, o) => {
74
- Te({
67
+ Se({
75
68
  datasetObject: t,
76
69
  requiredAttributes: ["name", "plots"]
77
70
  }).forEach((l) => {
78
- C.value = !1, te({
71
+ T.value = !1, ae({
79
72
  componentName: "VueUiStripPlot",
80
73
  type: "datasetSerieAttribute",
81
74
  property: l,
82
75
  index: o
83
76
  });
84
77
  }), t.plots && t.plots.forEach((l, r) => {
85
- Te({
78
+ Se({
86
79
  datasetObject: l,
87
80
  requiredAttributes: ["name", "value"]
88
81
  }).forEach((i) => {
89
- C.value = !1, te({
82
+ T.value = !1, ae({
90
83
  componentName: "VueUiStripPlot",
91
84
  type: "datasetSerieAttribute",
92
85
  property: i,
@@ -95,15 +88,15 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
95
88
  });
96
89
  });
97
90
  }), 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
91
+ const t = gt(() => {
92
+ const { width: o, height: l } = kt({
93
+ chart: I.value,
94
+ title: e.value.style.chart.title.text ? re.value : null,
95
+ source: ue.value,
96
+ noTitle: ne.value
104
97
  });
105
98
  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({
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({
107
100
  relator: Math.min(l, o),
108
101
  adjuster: 600,
109
102
  source: e.value.style.chart.plots.radius,
@@ -112,137 +105,137 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
112
105
  });
113
106
  });
114
107
  });
115
- W.value = new ResizeObserver(t), W.value.observe(N.value.parentNode);
108
+ 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
109
  }
117
- ue.value = !0, setTimeout(() => {
118
- F.value = !1;
119
- }, Me.value * 50);
110
+ ie.value = !0, setTimeout(() => {
111
+ W.value = !1;
112
+ }, je.value * 50);
120
113
  }
121
- Ee(() => {
122
- W.value && W.value.disconnect();
114
+ et(() => {
115
+ w.value && (O.value && w.value.unobserve(O.value), w.value.disconnect());
123
116
  });
124
- const { isPrinting: fe, isImaging: ye, generatePdf: be, generateImage: me } = ct({
125
- elementId: `strip-plot_${j.value}`,
117
+ const { isPrinting: be, isImaging: me, generatePdf: ge, generateImage: ke } = xt({
118
+ elementId: `strip-plot_${q.value}`,
126
119
  fileName: e.value.style.chart.title.text || "vue-ui-strip-plot",
127
120
  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({
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({
129
122
  showTable: e.value.table.show,
130
123
  dataLabels: {
131
124
  show: e.value.style.chart.labels.bestPlotLabel.show
132
125
  },
133
126
  showTooltip: e.value.style.chart.tooltip.show
134
- }), m = n({
127
+ }), m = v({
135
128
  top: e.value.style.chart.padding.top,
136
129
  bottom: e.value.style.chart.padding.bottom,
137
130
  left: e.value.style.chart.padding.left,
138
131
  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,
132
+ }), 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
+ width: D.value * b.dataset.length + m.value.left + m.value.right,
141
134
  height: e.value.style.chart.height
142
- }), a = f(() => {
143
- const t = I.value * b.dataset.length + m.value.left + m.value.right;
135
+ }), a = y(() => {
136
+ const t = D.value * b.dataset.length + m.value.left + m.value.right;
144
137
  return {
145
138
  left: m.value.left,
146
139
  right: t - m.value.right,
147
140
  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,
141
+ bottom: R.value - m.value.bottom,
142
+ width: D.value * b.dataset.length,
143
+ height: R.value - m.value.top - m.value.bottom,
144
+ stripWidth: D.value,
145
+ absoluteHeight: R.value,
153
146
  absoluteWidth: t
154
147
  };
155
- }), R = f(() => C.value ? b.dataset.map((t, o) => {
156
- const l = ee();
148
+ }), E = y(() => T.value ? b.dataset.map((t, o) => {
149
+ const l = le();
157
150
  return {
158
151
  ...t,
159
152
  id: l,
160
- color: t.color ? Le(t.color) : ge.value[o] || A[o] || A[o % A.length],
153
+ color: t.color ? Pe(t.color) : xe.value[o] || P[o] || P[o % P.length],
161
154
  plots: t.plots.map((r) => ({
162
155
  ...r,
163
- value: Ze(r.value),
156
+ value: vt(r.value),
164
157
  parentId: l,
165
- color: t.color ? Le(t.color) : ge.value[o] || A[o] || A[o % A.length],
166
- id: ee()
158
+ color: t.color ? Pe(t.color) : xe.value[o] || P[o] || P[o % P.length],
159
+ id: le()
167
160
  })).sort((r, i) => r.value - i.value)
168
161
  };
169
- }) : null), x = f(() => (R.value || []).map((t, o) => ({
162
+ }) : null), x = y(() => (E.value || []).map((t, o) => ({
170
163
  ...t,
171
164
  plots: t.plots.map((l) => ({
172
165
  ...l,
173
166
  x: a.value.left + (o + 1) * a.value.stripWidth - a.value.stripWidth / 2
174
167
  }))
175
- }))), Me = f(() => Math.max(...x.value.map((t) => t.plots.length))), K = f(() => {
168
+ }))), je = y(() => Math.max(...x.value.map((t) => t.plots.length))), Z = y(() => {
176
169
  const t = x.value.flatMap((o) => o.plots.map((l) => l.value));
177
170
  return {
178
171
  max: Math.max(...t),
179
172
  min: Math.min(...t)
180
173
  };
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) => ({
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) => ({
182
175
  ...t,
183
176
  plots: t.plots.map((l) => ({
184
177
  ...l,
185
- y: a.value.bottom - (l.value + Math.abs($.value.min)) / ($.value.max + Math.abs($.value.min)) * a.value.height
178
+ y: a.value.bottom - (l.value + Math.abs(_.value.min)) / (_.value.max + Math.abs(_.value.min)) * a.value.height
186
179
  }))
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))),
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))),
189
182
  x1: a.value.left,
190
183
  x2: a.value.right,
191
184
  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;
185
+ }))), ee = v(null), h = v(null);
186
+ function qe({ datapoint: t, seriesIndex: o }) {
187
+ ee.value = { datapoint: t, seriesIndex: o, config: e.value, series: E.value }, J.value = !0, h.value = t;
195
188
  const l = e.value.style.chart.tooltip.customFormat;
196
- if (Ae(l) && ut(() => l({
189
+ if (Oe(l) && mt(() => l({
197
190
  seriesIndex: o,
198
191
  datapoint: t,
199
- series: R.value,
192
+ series: E.value,
200
193
  config: e.value
201
194
  })))
202
- q.value = l({
195
+ K.value = l({
203
196
  seriesIndex: o,
204
197
  datapoint: t,
205
- series: R.value,
198
+ series: E.value,
206
199
  config: e.value
207
200
  });
208
201
  else {
209
202
  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(
203
+ 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
204
  e.value.style.chart.labels.formatter,
212
205
  t.value,
213
- X({
206
+ Y({
214
207
  p: e.value.style.chart.labels.prefix,
215
208
  v: t.value,
216
209
  s: e.value.style.chart.labels.suffix,
217
210
  r: e.value.style.chart.tooltip.roundingValue
218
211
  }),
219
212
  { datapoint: t, seriesIndex: o }
220
- )}</div>`, q.value = `<div>${r}</div>`;
213
+ )}</div>`, K.value = `<div>${r}</div>`;
221
214
  }
222
215
  }
223
- const U = f(() => {
216
+ const U = y(() => {
224
217
  const t = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r, i) => i.value - r.value).map((r) => ({
225
218
  name: `${l.name} - ${r.name}`,
226
219
  color: r.color
227
220
  }))), o = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r, i) => i.value - r.value).map((r) => r.value));
228
221
  return { head: t, body: o };
229
222
  });
230
- function xe() {
231
- je(() => {
223
+ function Ce() {
224
+ ot(() => {
232
225
  const t = U.value.head.map((r, i) => [[
233
226
  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" });
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" });
236
229
  });
237
230
  }
238
- const V = f(() => {
231
+ const H = y(() => {
239
232
  const t = [
240
233
  e.value.table.columnNames.series,
241
234
  e.value.table.columnNames.value
242
- ], o = U.value.head.map((i, _) => {
243
- const H = X({
235
+ ], o = U.value.head.map((i, A) => {
236
+ const X = Y({
244
237
  p: e.value.style.chart.labels.prefix,
245
- v: U.value.body[_],
238
+ v: U.value.body[A],
246
239
  s: e.value.style.chart.labels.suffix,
247
240
  r: e.value.table.td.roundingValue
248
241
  });
@@ -251,7 +244,7 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
251
244
  color: i.color,
252
245
  name: i.name
253
246
  },
254
- H
247
+ X
255
248
  ];
256
249
  }), l = {
257
250
  th: {
@@ -275,67 +268,67 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
275
268
  body: o,
276
269
  config: l
277
270
  };
278
- }), O = n(!1);
279
- function Ge(t) {
280
- O.value = t, ae.value += 1;
271
+ }), N = v(!1);
272
+ function Je(t) {
273
+ N.value = t, se.value += 1;
281
274
  }
282
- function Re() {
275
+ function Ke() {
283
276
  return x.value;
284
277
  }
285
- function we() {
278
+ function $e() {
286
279
  d.value.showTable = !d.value.showTable;
287
280
  }
288
- function Ce() {
281
+ function Te() {
289
282
  d.value.dataLabels.show = !d.value.dataLabels.show;
290
283
  }
291
- function $e() {
284
+ function _e() {
292
285
  d.value.showTooltip = !d.value.showTooltip;
293
286
  }
294
- const E = n(!1);
295
- function Z() {
296
- E.value = !E.value;
287
+ const B = v(!1);
288
+ function te() {
289
+ B.value = !B.value;
297
290
  }
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
291
+ return Fe({
292
+ getData: Ke,
293
+ generatePdf: ge,
294
+ generateCsv: Ce,
295
+ generateImage: ke,
296
+ toggleTable: $e,
297
+ toggleLabels: Te,
298
+ toggleTooltip: _e,
299
+ toggleAnnotator: te
307
300
  }), (t, o) => (s(), u("div", {
308
301
  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))
302
+ ref: I,
303
+ class: G(`vue-ui-strip-plot ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
304
+ 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
+ id: `strip-plot_${q.value}`,
306
+ onMouseenter: o[2] || (o[2] = () => n(he)(!0)),
307
+ onMouseleave: o[3] || (o[3] = () => n(he)(!1))
315
308
  }, [
316
- e.value.userOptions.buttons.annotator ? (s(), T(gt, {
309
+ e.value.userOptions.buttons.annotator ? (s(), L(n(Ge), {
317
310
  key: 0,
318
- svgRef: v(he),
311
+ svgRef: n(pe),
319
312
  backgroundColor: e.value.style.chart.backgroundColor,
320
313
  color: e.value.style.chart.color,
321
- active: E.value,
322
- onClose: Z
314
+ active: B.value,
315
+ onClose: te
323
316
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
324
- Ie.value ? (s(), u("div", {
317
+ Xe.value ? (s(), u("div", {
325
318
  key: 1,
326
319
  ref_key: "noTitle",
327
- ref: re,
320
+ ref: ne,
328
321
  class: "vue-data-ui-no-title-space",
329
322
  style: "height:36px; width: 100%;background:transparent"
330
323
  }, null, 512)) : c("", !0),
331
324
  e.value.style.chart.title.text ? (s(), u("div", {
332
325
  key: 2,
333
326
  ref_key: "chartTitle",
334
- ref: oe,
327
+ ref: re,
335
328
  style: "width:100%;background:transparent;padding-bottom:24px"
336
329
  }, [
337
- (s(), T(vt, {
338
- key: `title_${ie.value}`,
330
+ (s(), L($t, {
331
+ key: `title_${ve.value}`,
339
332
  config: {
340
333
  title: {
341
334
  cy: "donut-div-title",
@@ -348,14 +341,14 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
348
341
  }
349
342
  }, null, 8, ["config"]))
350
343
  ], 512)) : c("", !0),
351
- e.value.userOptions.show && C.value && (v(ce) || v(J)) ? (s(), T(ht, {
344
+ e.value.userOptions.show && T.value && (n(de) || n(Q)) ? (s(), L(n(Ue), {
352
345
  ref: "details",
353
- key: `user_option_${ae.value}`,
346
+ key: `user_option_${se.value}`,
354
347
  backgroundColor: e.value.style.chart.backgroundColor,
355
348
  color: e.value.style.chart.color,
356
- isPrinting: v(fe),
357
- isImaging: v(ye),
358
- uid: j.value,
349
+ isPrinting: n(be),
350
+ isImaging: n(me),
351
+ uid: q.value,
359
352
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
360
353
  hasPdf: e.value.userOptions.buttons.pdf,
361
354
  hasXls: e.value.userOptions.buttons.csv,
@@ -364,113 +357,113 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
364
357
  hasLabel: e.value.userOptions.buttons.labels,
365
358
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
366
359
  isTooltip: d.value.showTooltip,
367
- isFullscreen: O.value,
360
+ isFullscreen: N.value,
368
361
  titles: { ...e.value.userOptions.buttonTitles },
369
- chartElement: N.value,
362
+ chartElement: I.value,
370
363
  position: e.value.userOptions.position,
371
364
  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"
365
+ isAnnotation: B.value,
366
+ onToggleFullscreen: Je,
367
+ onGeneratePdf: n(ge),
368
+ onGenerateCsv: Ce,
369
+ onGenerateImage: n(ke),
370
+ onToggleTable: $e,
371
+ onToggleLabels: Te,
372
+ onToggleTooltip: _e,
373
+ onToggleAnnotator: te,
374
+ style: j({
375
+ visibility: n(de) ? n(Q) ? "visible" : "hidden" : "visible"
383
376
  })
384
- }, He({ _: 2 }, [
377
+ }, tt({ _: 2 }, [
385
378
  t.$slots.menuIcon ? {
386
379
  name: "menuIcon",
387
- fn: y(({ isOpen: l, color: r }) => [
388
- p(t.$slots, "menuIcon", P(z({ isOpen: l, color: r })), void 0, !0)
380
+ fn: f(({ isOpen: l, color: r }) => [
381
+ p(t.$slots, "menuIcon", F(M({ isOpen: l, color: r })), void 0, !0)
389
382
  ]),
390
383
  key: "0"
391
384
  } : void 0,
392
385
  t.$slots.optionTooltip ? {
393
386
  name: "optionTooltip",
394
- fn: y(() => [
387
+ fn: f(() => [
395
388
  p(t.$slots, "optionTooltip", {}, void 0, !0)
396
389
  ]),
397
390
  key: "1"
398
391
  } : void 0,
399
392
  t.$slots.optionPdf ? {
400
393
  name: "optionPdf",
401
- fn: y(() => [
394
+ fn: f(() => [
402
395
  p(t.$slots, "optionPdf", {}, void 0, !0)
403
396
  ]),
404
397
  key: "2"
405
398
  } : void 0,
406
399
  t.$slots.optionCsv ? {
407
400
  name: "optionCsv",
408
- fn: y(() => [
401
+ fn: f(() => [
409
402
  p(t.$slots, "optionCsv", {}, void 0, !0)
410
403
  ]),
411
404
  key: "3"
412
405
  } : void 0,
413
406
  t.$slots.optionImg ? {
414
407
  name: "optionImg",
415
- fn: y(() => [
408
+ fn: f(() => [
416
409
  p(t.$slots, "optionImg", {}, void 0, !0)
417
410
  ]),
418
411
  key: "4"
419
412
  } : void 0,
420
413
  t.$slots.optionTable ? {
421
414
  name: "optionTable",
422
- fn: y(() => [
415
+ fn: f(() => [
423
416
  p(t.$slots, "optionTable", {}, void 0, !0)
424
417
  ]),
425
418
  key: "5"
426
419
  } : void 0,
427
420
  t.$slots.optionLabels ? {
428
421
  name: "optionLabels",
429
- fn: y(() => [
422
+ fn: f(() => [
430
423
  p(t.$slots, "optionLabels", {}, void 0, !0)
431
424
  ]),
432
425
  key: "6"
433
426
  } : void 0,
434
427
  t.$slots.optionFullscreen ? {
435
428
  name: "optionFullscreen",
436
- fn: y(({ toggleFullscreen: l, isFullscreen: r }) => [
437
- p(t.$slots, "optionFullscreen", P(z({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
429
+ fn: f(({ toggleFullscreen: l, isFullscreen: r }) => [
430
+ p(t.$slots, "optionFullscreen", F(M({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
438
431
  ]),
439
432
  key: "7"
440
433
  } : void 0,
441
434
  t.$slots.optionAnnotator ? {
442
435
  name: "optionAnnotator",
443
- fn: y(({ toggleAnnotator: l, isAnnotator: r }) => [
444
- p(t.$slots, "optionAnnotator", P(z({ toggleAnnotator: l, isAnnotator: r })), void 0, !0)
436
+ fn: f(({ toggleAnnotator: l, isAnnotator: r }) => [
437
+ p(t.$slots, "optionAnnotator", F(M({ toggleAnnotator: l, isAnnotator: r })), void 0, !0)
445
438
  ]),
446
439
  key: "8"
447
440
  } : void 0
448
441
  ]), 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", {
442
+ T.value ? (s(), u("svg", {
450
443
  key: 4,
451
444
  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};`)
445
+ ref: pe,
446
+ xmlns: n(ht),
447
+ class: G({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
448
+ viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
449
+ style: j(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
457
450
  }, [
458
- _e(mt),
451
+ Le(n(De)),
459
452
  t.$slots["chart-background"] ? (s(), u("foreignObject", {
460
453
  key: 0,
461
454
  x: a.value.left,
462
455
  y: a.value.top,
463
- width: a.value.width,
464
- height: a.value.height,
456
+ width: Math.max(0.1, a.value.width),
457
+ height: Math.max(0.1, a.value.height),
465
458
  style: {
466
459
  pointerEvents: "none"
467
460
  }
468
461
  }, [
469
462
  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", {
463
+ ], 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", {
474
467
  x1: l.x1,
475
468
  x2: l.x2,
476
469
  y1: l.y,
@@ -479,10 +472,10 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
479
472
  "stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
480
473
  "stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray,
481
474
  "stroke-linecap": "round"
482
- }, null, 8, At))), 256))
475
+ }, null, 8, Ot))), 256))
483
476
  ])) : 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", {
477
+ e.value.style.chart.grid.verticalGrid.show ? (s(), u("g", zt, [
478
+ (s(!0), u(g, null, $(x.value, (l, r) => (s(), u("line", {
486
479
  x1: a.value.left + (r + 1) * a.value.stripWidth,
487
480
  x2: a.value.left + (r + 1) * a.value.stripWidth,
488
481
  y1: a.value.top,
@@ -491,7 +484,7 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
491
484
  "stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
492
485
  "stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray,
493
486
  "stroke-linecap": "round"
494
- }, null, 8, Ot))), 256))
487
+ }, null, 8, Nt))), 256))
495
488
  ])) : c("", !0),
496
489
  k("line", {
497
490
  x1: a.value.left,
@@ -501,7 +494,7 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
501
494
  stroke: e.value.style.chart.grid.stroke,
502
495
  "stroke-width": e.value.style.chart.grid.strokeWidth,
503
496
  "stroke-linecap": "round"
504
- }, null, 8, Pt),
497
+ }, null, 8, Ft),
505
498
  k("line", {
506
499
  x1: a.value.left,
507
500
  x2: a.value.right,
@@ -510,39 +503,39 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
510
503
  stroke: e.value.style.chart.grid.stroke,
511
504
  "stroke-width": e.value.style.chart.grid.strokeWidth,
512
505
  "stroke-linecap": "round"
513
- }, null, 8, zt)
506
+ }, null, 8, Mt)
514
507
  ])) : c("", !0),
515
- e.value.style.chart.labels.yAxisLabels.show ? (s(!0), u(g, { key: 2 }, w(ke.value, (l, r) => (s(), u("text", {
508
+ e.value.style.chart.labels.yAxisLabels.show ? (s(!0), u(g, { key: 2 }, $(we.value, (l, r) => (s(), u("text", {
516
509
  x: l.x1 - e.value.style.chart.labels.yAxisLabels.fontSize / 2 + e.value.style.chart.labels.yAxisLabels.offsetX,
517
510
  y: l.y + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
518
511
  fill: e.value.style.chart.labels.yAxisLabels.color,
519
512
  "font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
520
513
  "text-anchor": "end"
521
- }, L(v(le)(
514
+ }, S(n(oe)(
522
515
  e.value.style.chart.labels.formatter,
523
516
  l.value,
524
- v(X)({
517
+ n(Y)({
525
518
  p: e.value.style.chart.labels.prefix,
526
519
  v: l.value,
527
520
  s: e.value.style.chart.labels.suffix,
528
521
  r: e.value.style.chart.labels.yAxisLabels.rounding
529
522
  }),
530
523
  { 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", {
524
+ )), 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", {
533
526
  x: a.value.left + (r + 1) * a.value.stripWidth - a.value.stripWidth / 2,
534
527
  y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY,
535
528
  "font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
536
529
  fill: e.value.style.chart.labels.xAxisLabels.color,
537
530
  "text-anchor": "middle"
538
- }, L(l.name), 9, Ft))), 256)) : c("", !0),
531
+ }, S(l.name), 9, Wt))), 256)) : c("", !0),
539
532
  e.value.style.chart.labels.axis.yLabel ? (s(), u("text", {
540
533
  key: 4,
541
534
  fill: e.value.style.chart.labels.axis.color,
542
535
  "font-size": e.value.style.chart.labels.axis.fontSize,
543
536
  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
537
  "text-anchor": "middle"
545
- }, L(e.value.style.chart.labels.axis.yLabel), 9, It)) : c("", !0),
538
+ }, S(e.value.style.chart.labels.axis.yLabel), 9, Dt)) : c("", !0),
546
539
  e.value.style.chart.labels.axis.xLabel ? (s(), u("text", {
547
540
  key: 5,
548
541
  fill: e.value.style.chart.labels.axis.color,
@@ -550,7 +543,7 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
550
543
  x: a.value.left + a.value.width / 2,
551
544
  y: a.value.absoluteHeight,
552
545
  "text-anchor": "middle"
553
- }, L(e.value.style.chart.labels.axis.xLabel), 9, Mt)) : c("", !0),
546
+ }, S(e.value.style.chart.labels.axis.xLabel), 9, Gt)) : c("", !0),
554
547
  h.value ? (s(), u(g, { key: 6 }, [
555
548
  k("line", {
556
549
  x1: a.value.left,
@@ -559,88 +552,88 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
559
552
  y2: h.value.y,
560
553
  stroke: h.value.color,
561
554
  "stroke-width": 1,
562
- class: M({ "select-circle": e.value.useCssAnimation })
563
- }, null, 10, Wt),
555
+ class: G({ "select-circle": e.value.useCssAnimation })
556
+ }, null, 10, Rt),
564
557
  k("circle", {
565
558
  cx: a.value.left,
566
559
  cy: h.value.y,
567
560
  r: 3,
568
561
  fill: h.value.color,
569
- class: M({ "select-circle": e.value.useCssAnimation })
570
- }, null, 10, Dt),
562
+ class: G({ "select-circle": e.value.useCssAnimation })
563
+ }, null, 10, Vt),
571
564
  k("circle", {
572
565
  cx: a.value.right,
573
566
  cy: h.value.y,
574
567
  r: 3,
575
568
  fill: h.value.color,
576
- class: M({ "select-circle": e.value.useCssAnimation })
577
- }, null, 10, Gt)
569
+ class: G({ "select-circle": e.value.useCssAnimation })
570
+ }, null, 10, Et)
578
571
  ], 64)) : c("", !0),
579
572
  k("defs", null, [
580
- (s(!0), u(g, null, w(x.value, (l) => (s(), u("radialGradient", {
573
+ (s(!0), u(g, null, $(x.value, (l) => (s(), u("radialGradient", {
581
574
  id: l.id,
582
575
  fy: "30%"
583
576
  }, [
584
577
  k("stop", {
585
578
  offset: "10%",
586
- "stop-color": v(lt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
587
- }, null, 8, Ut),
579
+ "stop-color": n(dt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
580
+ }, null, 8, Ht),
588
581
  k("stop", {
589
582
  offset: "90%",
590
- "stop-color": v(at)(l.color, 0.1)
591
- }, null, 8, Vt),
583
+ "stop-color": n(pt)(l.color, 0.1)
584
+ }, null, 8, Bt),
592
585
  k("stop", {
593
586
  offset: "100%",
594
587
  "stop-color": l.color
595
- }, null, 8, Et)
596
- ], 8, Rt))), 256))
588
+ }, null, 8, Xt)
589
+ ], 8, Ut))), 256))
597
590
  ]),
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,
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,
602
595
  shape: e.value.style.chart.plots.shape,
603
596
  stroke: e.value.style.chart.plots.stroke,
604
597
  strokeWidth: e.value.style.chart.plots.strokeWidth,
605
598
  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;
599
+ onMouseenter: (X) => qe({ datapoint: i, seriesIndex: A }),
600
+ onMouseleave: o[0] || (o[0] = (X) => {
601
+ J.value = !1, h.value = null;
609
602
  }),
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 }
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` : ""}`,
605
+ class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && W.value, "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !W.value }
613
606
  }, { 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", {
607
+ 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", {
617
610
  key: 0,
618
611
  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
+ 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),
620
613
  "font-size": e.value.style.chart.labels.bestPlotLabel.fontSize,
621
614
  fill: e.value.style.chart.labels.bestPlotLabel.color,
622
615
  "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)(
616
+ 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)(
625
618
  e.value.style.chart.labels.formatter,
626
619
  i.value,
627
- v(X)({
620
+ n(Y)({
628
621
  p: `(${e.value.style.chart.labels.prefix}`,
629
622
  v: i.value,
630
623
  s: `${e.value.style.chart.labels.suffix})`,
631
624
  r: e.value.style.chart.labels.bestPlotLabel.rounding
632
625
  }),
633
- { datapoint: i, seriesIndex: _ }
634
- ) : ""), 13, Bt)) : c("", !0)
626
+ { datapoint: i, seriesIndex: A }
627
+ ) : ""), 13, Yt)) : c("", !0)
635
628
  ], 64))), 256))
636
629
  ])) : c("", !0)
637
630
  ], 64))), 256)),
638
631
  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)
632
+ ], 14, At)) : c("", !0),
633
+ t.$slots.watermark ? (s(), u("div", qt, [
634
+ p(t.$slots, "watermark", F(M({ isPrinting: n(be) || n(me) })), void 0, !0)
642
635
  ])) : c("", !0),
643
- C.value ? c("", !0) : (s(), T(ft, {
636
+ T.value ? c("", !0) : (s(), L(n(Ve), {
644
637
  key: 6,
645
638
  config: {
646
639
  type: "stripPlot",
@@ -655,13 +648,13 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
655
648
  t.$slots.source ? (s(), u("div", {
656
649
  key: 7,
657
650
  ref_key: "source",
658
- ref: se,
651
+ ref: ue,
659
652
  dir: "auto"
660
653
  }, [
661
654
  p(t.$slots, "source", {}, void 0, !0)
662
655
  ], 512)) : c("", !0),
663
- _e(dt, {
664
- show: d.value.showTooltip && Y.value,
656
+ Le(n(Ee), {
657
+ show: d.value.showTooltip && J.value,
665
658
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
666
659
  color: e.value.style.chart.tooltip.color,
667
660
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -671,20 +664,20 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
671
664
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
672
665
  position: e.value.style.chart.tooltip.position,
673
666
  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)
667
+ parent: I.value,
668
+ content: K.value,
669
+ isFullscreen: N.value,
670
+ isCustom: n(Oe)(e.value.style.chart.tooltip.customFormat)
678
671
  }, {
679
- "tooltip-before": y(() => [
680
- p(t.$slots, "tooltip-before", P(z({ ...Q.value })), void 0, !0)
672
+ "tooltip-before": f(() => [
673
+ p(t.$slots, "tooltip-before", F(M({ ...ee.value })), void 0, !0)
681
674
  ]),
682
- "tooltip-after": y(() => [
683
- p(t.$slots, "tooltip-after", P(z({ ...Q.value })), void 0, !0)
675
+ "tooltip-after": f(() => [
676
+ p(t.$slots, "tooltip-after", F(M({ ...ee.value })), void 0, !0)
684
677
  ]),
685
678
  _: 3
686
679
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
687
- C.value ? (s(), T(bt, {
680
+ T.value ? (s(), L(n(Ie), {
688
681
  key: 8,
689
682
  hideDetails: "",
690
683
  config: {
@@ -700,33 +693,33 @@ const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"]
700
693
  }
701
694
  }
702
695
  }, {
703
- 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,
696
+ content: f(() => [
697
+ (s(), L(n(We), {
698
+ key: `table_${ce.value}`,
699
+ colNames: H.value.colNames,
700
+ head: H.value.head,
701
+ body: H.value.body,
702
+ config: H.value.config,
710
703
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
711
704
  onClose: o[1] || (o[1] = (l) => d.value.showTable = !1)
712
705
  }, {
713
- th: y(({ th: l }) => [
706
+ th: f(({ th: l }) => [
714
707
  k("div", {
715
708
  innerHTML: l,
716
709
  style: { display: "flex", "align-items": "center" }
717
- }, null, 8, jt)
710
+ }, null, 8, Jt)
718
711
  ]),
719
- td: y(({ td: l }) => [
720
- Xe(L(l.name || l), 1)
712
+ td: f(({ td: l }) => [
713
+ at(S(l.name || l), 1)
721
714
  ]),
722
715
  _: 1
723
716
  }, 8, ["colNames", "head", "body", "config", "title"]))
724
717
  ]),
725
718
  _: 1
726
719
  }, 8, ["config"])) : c("", !0)
727
- ], 46, Ct));
720
+ ], 46, _t));
728
721
  }
729
- }, cl = /* @__PURE__ */ wt(Yt, [["__scopeId", "data-v-409e2195"]]);
722
+ }, ul = /* @__PURE__ */ Tt(Kt, [["__scopeId", "data-v-35a31690"]]);
730
723
  export {
731
- cl as default
724
+ ul as default
732
725
  };