vue-data-ui 3.1.3 → 3.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist/{Arrow-DBaAWGvq.js → Arrow-BFbcF5Sq.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BmN9jTP8.js → BaseDraggableDialog-BO4B1Kwa.js} +2 -2
  3. package/dist/{BaseIcon-BcOSijbz.js → BaseIcon-BQQGRQ2U.js} +1 -1
  4. package/dist/{ColorPicker-D1yNPt76.js → ColorPicker-d1kmGapq.js} +2 -2
  5. package/dist/{DataTable-Cm8Tt9PQ.js → DataTable-D6voeZvO.js} +2 -2
  6. package/dist/{Legend-5qvgVkrY.js → Legend-nPGcCxG_.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-D3QGd7vP.js → NonSvgPenAndPaper-xRGRe41H.js} +3 -3
  8. package/dist/{PackageVersion-0XlRFsI_.js → PackageVersion-BeStrsPr.js} +1 -1
  9. package/dist/{PenAndPaper-CyH7Ip2i.js → PenAndPaper-C6tiapdo.js} +3 -3
  10. package/dist/{Shape-DiplSMFy.js → Shape-DBVq0fdK.js} +1 -1
  11. package/dist/Slicer-Duqm7KZK.js +597 -0
  12. package/dist/{SparkTooltip-VveQSwlw.js → SparkTooltip-wNGmXZSx.js} +1 -1
  13. package/dist/{Title-CqYBs02Y.js → Title-ydtId0LC.js} +1 -1
  14. package/dist/Tooltip-oeu9knGI.js +200 -0
  15. package/dist/{UserOptions-ZmwlARCV.js → UserOptions-CnJxN2Vo.js} +29 -29
  16. package/dist/{dom-to-png-DGA4a3xT.js → dom-to-png-CMCYtLrX.js} +1 -1
  17. package/dist/{img-DSrvx9J6.js → img-Neec0VVb.js} +1 -1
  18. package/dist/{index-CaxArMHL.js → index-BkfuZCRT.js} +7 -2
  19. package/dist/{pdf-BG8PiGFH.js → pdf-CpQ-dqJh.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +12 -0
  22. package/dist/types/vue-data-ui.d.ts +12 -0
  23. package/dist/{useAutoSizeLabelsInsideViewbox-DmtFf4bt.js → useAutoSizeLabelsInsideViewbox-DR2HExYc.js} +1 -1
  24. package/dist/{useNestedProp-tWT02_6S.js → useNestedProp-BMzw9VUz.js} +1 -1
  25. package/dist/{usePrinter-BYtPmEo8.js → usePrinter-CEdg3j8S.js} +2 -2
  26. package/dist/{vue-data-ui-DVb8r5z7.js → vue-data-ui-D5B7a84o.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-BLKyWpz7.js → vue-ui-3d-bar-C8_Qu1rf.js} +6 -6
  29. package/dist/{vue-ui-accordion-DUlNpLir.js → vue-ui-accordion-DFxAHGEZ.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-LLqbXP1m.js → vue-ui-age-pyramid-D_kTImtX.js} +43 -41
  31. package/dist/{vue-ui-annotator-CcYIlcKF.js → vue-ui-annotator-B1vSlzfu.js} +2 -2
  32. package/dist/{vue-ui-bullet-BKmts_u4.js → vue-ui-bullet-VPchh2r2.js} +7 -7
  33. package/dist/{vue-ui-candlestick-C9l_NpXu.js → vue-ui-candlestick-CB3bj7_-.js} +42 -40
  34. package/dist/{vue-ui-carousel-table-H7xS6aBC.js → vue-ui-carousel-table-CUiSyrTY.js} +4 -4
  35. package/dist/{vue-ui-chestnut-CAW0IOdY.js → vue-ui-chestnut-BE5ZEt1N.js} +5 -5
  36. package/dist/{vue-ui-chord-CK5YhCqM.js → vue-ui-chord-DVSBY9ou.js} +8 -8
  37. package/dist/{vue-ui-circle-pack-NLyZgTGF.js → vue-ui-circle-pack-BfDjZFaF.js} +6 -6
  38. package/dist/{vue-ui-cursor-CyGUrKWU.js → vue-ui-cursor-BIuc6nds.js} +2 -2
  39. package/dist/{vue-ui-dashboard-Cf5pvEzD.js → vue-ui-dashboard-C7xIcrvD.js} +79 -80
  40. package/dist/{vue-ui-digits-BZWwwp7c.js → vue-ui-digits-C3mI-0Fg.js} +2 -2
  41. package/dist/{vue-ui-donut-g1WHrj6G.js → vue-ui-donut-BApz1ho5.js} +52 -50
  42. package/dist/{vue-ui-donut-evolution-CaEYMVZj.js → vue-ui-donut-evolution-B2PJiYY9.js} +8 -8
  43. package/dist/{vue-ui-dumbbell-BArS1nXS.js → vue-ui-dumbbell-DQjVvBH_.js} +7 -7
  44. package/dist/{vue-ui-flow-BR0CB5qt.js → vue-ui-flow-COtJRNLE.js} +40 -38
  45. package/dist/{vue-ui-funnel-D2OCItvq.js → vue-ui-funnel-BY2qeg-m.js} +6 -6
  46. package/dist/{vue-ui-galaxy-qgGF1AAf.js → vue-ui-galaxy-3zec_QLi.js} +58 -56
  47. package/dist/{vue-ui-gauge-BIXmGyQL.js → vue-ui-gauge-CFUA5ORH.js} +8 -8
  48. package/dist/{vue-ui-gizmo-DHEoS051.js → vue-ui-gizmo-CUPFU8GE.js} +3 -3
  49. package/dist/{vue-ui-heatmap-tRzq9BnI.js → vue-ui-heatmap-DakytdCv.js} +68 -66
  50. package/dist/{vue-ui-history-plot-DmwHhrDk.js → vue-ui-history-plot-DnSB7au4.js} +85 -83
  51. package/dist/{vue-ui-kpi-C2b2R5i1.js → vue-ui-kpi-UmcKQftv.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-Bs1Mi1tD.js → vue-ui-mini-loader-Bl8GHasa.js} +2 -2
  53. package/dist/{vue-ui-molecule-BsUvf2v7.js → vue-ui-molecule-BZrmSVps.js} +63 -61
  54. package/dist/{vue-ui-mood-radar-D3JIpVvX.js → vue-ui-mood-radar-CVM8vl5N.js} +7 -7
  55. package/dist/{vue-ui-nested-donuts-dJEgQXTH.js → vue-ui-nested-donuts-LTzijeVK.js} +70 -68
  56. package/dist/{vue-ui-onion-D8dF1DdA.js → vue-ui-onion-aHCc3r7L.js} +38 -36
  57. package/dist/{vue-ui-parallel-coordinate-plot-LmFsg7UA.js → vue-ui-parallel-coordinate-plot-0xXe6A-6.js} +54 -52
  58. package/dist/{vue-ui-quadrant-C4O8ki4N.js → vue-ui-quadrant-BlM9WNN7.js} +203 -201
  59. package/dist/{vue-ui-quick-chart-6bEtTQBG.js → vue-ui-quick-chart-CJ2Wdln9.js} +152 -150
  60. package/dist/{vue-ui-radar-CfjGWGk3.js → vue-ui-radar-Cgnooz7-.js} +121 -119
  61. package/dist/{vue-ui-rating-D3WSs2OD.js → vue-ui-rating-DF71ymNG.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-DzTfi7Tf.js → vue-ui-relation-circle-DsuEL1gY.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-NtYOJvDy.js → vue-ui-ridgeline-DxP8uxgx.js} +8 -8
  64. package/dist/{vue-ui-rings-CYQ4i71V.js → vue-ui-rings-C4hKgrft.js} +162 -160
  65. package/dist/{vue-ui-scatter-meJEHdAD.js → vue-ui-scatter-B_SzTSE5.js} +157 -155
  66. package/dist/{vue-ui-skeleton-BtILTxx-.js → vue-ui-skeleton-DCAlHSMV.js} +3 -3
  67. package/dist/{vue-ui-smiley-B5bELpYD.js → vue-ui-smiley-B_JFtrl6.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-lixdWq_N.js → vue-ui-spark-trend-CC7q1UbE.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-CaGPav-J.js → vue-ui-sparkbar-C2YRX4mJ.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-BZBGYDjs.js → vue-ui-sparkgauge-BO4c3j-8.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-Bp6KxpjH.js → vue-ui-sparkhistogram-BuGOHT9h.js} +4 -4
  72. package/dist/{vue-ui-sparkline-CF-EAZa6.js → vue-ui-sparkline-hOyPCIt8.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-Cj1LAYC8.js → vue-ui-sparkstackbar-DhSc-U8u.js} +36 -34
  74. package/dist/{vue-ui-stackbar-BrzKhqAK.js → vue-ui-stackbar-VdBWv1wm.js} +14 -12
  75. package/dist/{vue-ui-strip-plot-BfVVaSFn.js → vue-ui-strip-plot-CBj5ntWM.js} +58 -56
  76. package/dist/{vue-ui-table-CBzNgzVP.js → vue-ui-table-BItmKbvF.js} +156 -121
  77. package/dist/{vue-ui-table-heatmap-CKz5bA7N.js → vue-ui-table-heatmap-DziHVKba.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-O-Z0YH6u.js → vue-ui-table-sparkline-CpWDqm7q.js} +4 -4
  79. package/dist/{vue-ui-thermometer-DpNyTGNH.js → vue-ui-thermometer-CWt0q_Tu.js} +7 -7
  80. package/dist/{vue-ui-timer-uvshaRMI.js → vue-ui-timer-BIv2sfQA.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-A8Akuz-q.js → vue-ui-tiremarks-BE_VWjK-.js} +6 -6
  82. package/dist/{vue-ui-treemap-Dvmuo3tM.js → vue-ui-treemap-2AIbDpTo.js} +41 -39
  83. package/dist/{vue-ui-vertical-bar-eMgRMSKN.js → vue-ui-vertical-bar-CP-XFVV5.js} +53 -51
  84. package/dist/{vue-ui-waffle-Cm8VfnG8.js → vue-ui-waffle-CewP8k-W.js} +67 -65
  85. package/dist/{vue-ui-wheel-Bhsklf_m.js → vue-ui-wheel-Ik8FoLfz.js} +6 -6
  86. package/dist/{vue-ui-word-cloud-C9HGLsG4.js → vue-ui-word-cloud-CEEc5ep_.js} +83 -80
  87. package/dist/{vue-ui-world-B_MrjwGJ.js → vue-ui-world-CuwXMI3D.js} +11 -9
  88. package/dist/{vue-ui-xy-DnYJw2aS.js → vue-ui-xy-Bsh2OBHp.js} +1326 -1329
  89. package/dist/{vue-ui-xy-canvas-C0Snw0Dz.js → vue-ui-xy-canvas-CKzjhhNg.js} +46 -44
  90. package/package.json +1 -1
  91. package/dist/Slicer-DG99wPTy.js +0 -604
  92. package/dist/Tooltip-CP0tVHAf.js +0 -161
@@ -1,17 +1,17 @@
1
- import { defineAsyncComponent as O, useSlots as ft, ref as u, computed as f, toRefs as yt, watch as q, shallowRef as Be, onMounted as mt, onBeforeUnmount as bt, createElementBlock as p, openBlock as i, unref as s, normalizeStyle as N, normalizeClass as W, createBlock as I, createCommentVNode as b, createElementVNode as C, createVNode as J, createSlots as re, withCtx as c, renderSlot as h, normalizeProps as V, guardReactiveProps as B, Fragment as ie, renderList as ve, mergeProps as Me, Teleport as kt, toDisplayString as M, resolveDynamicComponent as wt, createTextVNode as ze, nextTick as Ct } from "vue";
2
- import { u as $t, c as Ee, t as Tt, a as _t, p as D, b as xt, o as Ue, f as ce, g as At, d as Ot, G as It, e as We, i as L, X as Ft, s as St, x as Pt, h as K, k as Ge, v as Nt, w as Dt, y as Lt, z as Rt } from "./index-CaxArMHL.js";
1
+ import { defineAsyncComponent as F, useSlots as ft, ref as u, computed as f, toRefs as yt, watch as q, shallowRef as Be, onMounted as mt, onBeforeUnmount as bt, createElementBlock as h, openBlock as i, unref as s, normalizeStyle as N, normalizeClass as W, createBlock as O, createCommentVNode as b, createElementVNode as C, createVNode as J, createSlots as re, withCtx as c, renderSlot as p, normalizeProps as V, guardReactiveProps as B, Fragment as ie, renderList as ve, mergeProps as Me, Teleport as kt, toDisplayString as M, resolveDynamicComponent as wt, createTextVNode as ze, nextTick as Ct } from "vue";
2
+ import { u as $t, c as Ee, t as Tt, a as _t, p as D, b as xt, o as Ue, f as ce, g as At, d as Ft, G as Ot, e as We, i as L, X as It, s as St, x as Pt, h as K, k as Ge, v as Nt, w as Dt, y as Lt, z as Rt } from "./index-BkfuZCRT.js";
3
3
  import { t as Vt, u as Bt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Mt } from "./usePrinter-BYtPmEo8.js";
4
+ import { u as Mt } from "./usePrinter-CEdg3j8S.js";
5
5
  import { u as zt, B as Et } from "./BaseScanner-BgWxam9d.js";
6
- import { u as He } from "./useNestedProp-tWT02_6S.js";
6
+ import { u as He } from "./useNestedProp-BMzw9VUz.js";
7
7
  import { u as Ut } from "./useUserOptionState-BIvW1Kz7.js";
8
8
  import { u as Wt } from "./useChartAccessibility-9icAAmYg.js";
9
- import Gt from "./img-DSrvx9J6.js";
10
- import { _ as Ht } from "./Shape-DiplSMFy.js";
11
- import jt from "./Title-CqYBs02Y.js";
12
- import Xt from "./Legend-5qvgVkrY.js";
9
+ import Gt from "./img-Neec0VVb.js";
10
+ import { _ as Ht } from "./Shape-DBVq0fdK.js";
11
+ import jt from "./Title-ydtId0LC.js";
12
+ import Xt from "./Legend-nPGcCxG_.js";
13
13
  import { _ as Yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "height"], Zt = ["id"], el = ["stop-color"], tl = ["stop-color"], ll = { key: 1 }, al = ["stroke", "cx", "cy", "r", "fill"], ol = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], sl = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], nl = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], ul = {
14
+ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "height"], Zt = ["id"], el = ["stop-color"], tl = ["stop-color"], ll = { key: 1 }, ol = ["stroke", "cx", "cy", "r", "fill"], al = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], sl = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], nl = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], ul = {
15
15
  key: 4,
16
16
  class: "vue-data-ui-watermark"
17
17
  }, rl = ["id"], il = ["onClick"], vl = ["innerHTML"], cl = {
@@ -32,7 +32,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
32
32
  },
33
33
  emits: ["selectLegend"],
34
34
  setup(je, { expose: Xe, emit: Ye }) {
35
- const qe = O(() => import("./Tooltip-CP0tVHAf.js")), Je = O(() => import("./BaseIcon-BcOSijbz.js")), Ke = O(() => import("./vue-ui-accordion-DUlNpLir.js")), Qe = O(() => import("./DataTable-Cm8Tt9PQ.js")), Ze = O(() => import("./PenAndPaper-CyH7Ip2i.js")), et = O(() => import("./UserOptions-ZmwlARCV.js")), tt = O(() => import("./PackageVersion-0XlRFsI_.js")), lt = O(() => import("./BaseDraggableDialog-BmN9jTP8.js")), { vue_ui_rings: at } = $t(), ot = ft(), k = je, F = u(!1), de = f(() => !!k.dataset && k.dataset.length), y = u(Ee()), G = u(!1), Q = u(""), T = u(null), pe = u(0), _ = u(null), he = u(null), ge = u(null), fe = u(null), ye = u(null), me = u(0), be = u(0), ke = u(0), Z = u(!1), we = u(!1), z = u(null), ee = u(null), e = u(le()), { loading: S, FINAL_DATASET: Ce, manualLoading: H } = zt({
35
+ const qe = F(() => import("./Tooltip-oeu9knGI.js")), Je = F(() => import("./BaseIcon-BQQGRQ2U.js")), Ke = F(() => import("./vue-ui-accordion-DFxAHGEZ.js")), Qe = F(() => import("./DataTable-D6voeZvO.js")), Ze = F(() => import("./PenAndPaper-C6tiapdo.js")), et = F(() => import("./UserOptions-CnJxN2Vo.js")), tt = F(() => import("./PackageVersion-BeStrsPr.js")), lt = F(() => import("./BaseDraggableDialog-BO4B1Kwa.js")), { vue_ui_rings: ot } = $t(), at = ft(), k = je, I = u(!1), de = f(() => !!k.dataset && k.dataset.length), y = u(Ee()), G = u(!1), Q = u(""), T = u(null), he = u(0), _ = u(null), pe = u(null), ge = u(null), fe = u(null), ye = u(null), me = u(0), be = u(0), ke = u(0), Z = u(!1), we = u(!1), z = u(null), ee = u(null), e = u(le()), { loading: S, FINAL_DATASET: Ce, manualLoading: H } = zt({
36
36
  ...yt(k),
37
37
  FINAL_CONFIG: e,
38
38
  prepareConfig: le,
@@ -70,7 +70,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
70
70
  function le() {
71
71
  const t = He({
72
72
  userConfig: k.config,
73
- defaultConfig: at
73
+ defaultConfig: ot
74
74
  });
75
75
  return t.theme ? {
76
76
  ...He({
@@ -89,17 +89,17 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
89
89
  mt(() => {
90
90
  we.value = !0, xe();
91
91
  });
92
- const ae = f(() => !!e.value.debug);
92
+ const oe = f(() => !!e.value.debug);
93
93
  function xe() {
94
94
  if (Ue(k.dataset) ? (ce({
95
95
  componentName: "VueUiRings",
96
96
  type: "dataset",
97
- debug: ae.value
98
- }), H.value = !0) : k.dataset.forEach((t, a) => {
97
+ debug: oe.value
98
+ }), H.value = !0) : k.dataset.forEach((t, o) => {
99
99
  t.values.length || (ce({
100
100
  componentName: "VueUiRings",
101
101
  type: "dataset",
102
- debug: ae.value
102
+ debug: oe.value
103
103
  }), H.value = !0), At({
104
104
  datasetObject: t,
105
105
  requiredAttributes: ["name", "values"]
@@ -108,38 +108,38 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
108
108
  componentName: "VueUiRings",
109
109
  type: "datasetSerieAttribute",
110
110
  property: l,
111
- index: a,
112
- debug: ae.value
111
+ index: o,
112
+ debug: oe.value
113
113
  });
114
114
  });
115
115
  }), Ue(k.dataset) || (H.value = e.value.loading), e.value.responsive) {
116
116
  const t = Vt(() => {
117
117
  Z.value = !0;
118
- const { width: a, height: l } = Bt({
118
+ const { width: o, height: l } = Bt({
119
119
  chart: _.value,
120
- title: e.value.style.chart.title.text ? he.value : null,
120
+ title: e.value.style.chart.title.text ? pe.value : null,
121
121
  legend: e.value.style.chart.legend.show ? ge.value : null,
122
122
  source: fe.value,
123
123
  noTitle: ye.value
124
124
  });
125
125
  requestAnimationFrame(() => {
126
- n.value.width = a, n.value.height = l - 12, Z.value = !1;
126
+ n.value.width = o, n.value.height = l - 12, Z.value = !1;
127
127
  });
128
128
  });
129
129
  x.value && (R.value && x.value.unobserve(R.value), x.value.disconnect()), x.value = new ResizeObserver(t), R.value = _.value.parentNode, x.value.observe(R.value);
130
130
  }
131
131
  setTimeout(() => {
132
- F.value = !0;
132
+ I.value = !0;
133
133
  }, 600);
134
134
  }
135
135
  bt(() => {
136
136
  x.value && (R.value && x.value.unobserve(R.value), x.value.disconnect());
137
137
  });
138
- const { isPrinting: Ae, isImaging: Oe, generatePdf: Ie, generateImage: Fe } = Mt({
138
+ const { isPrinting: Ae, isImaging: Fe, generatePdf: Oe, generateImage: Ie } = Mt({
139
139
  elementId: `rings_${y.value}`,
140
140
  fileName: e.value.style.chart.title.text || "vue-ui-rings",
141
141
  options: e.value.userOptions.print
142
- }), st = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Se = f(() => Ot(e.value.customPalette)), w = u({
142
+ }), st = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Se = f(() => Ft(e.value.customPalette)), w = u({
143
143
  showTable: e.value.table.show,
144
144
  showTooltip: e.value.style.chart.tooltip.show
145
145
  });
@@ -153,11 +153,11 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
153
153
  height: 360,
154
154
  width: 360
155
155
  }), nt = f(() => Math.min(n.value.height, n.value.width)), ut = Ye, m = u([]);
156
- function oe(t) {
157
- m.value.includes(t) ? m.value = m.value.filter((a) => a !== t) : m.value.push(t), ut("selectLegend", g.value.map((a) => ({
158
- name: a.name,
159
- color: a.color,
160
- value: a.value
156
+ function ae(t) {
157
+ m.value.includes(t) ? m.value = m.value.filter((o) => o !== t) : m.value.push(t), ut("selectLegend", g.value.map((o) => ({
158
+ name: o.name,
159
+ color: o.color,
160
+ value: o.value
161
161
  })));
162
162
  }
163
163
  const rt = f(() => Math.max(
@@ -166,82 +166,82 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
166
166
  function Pe(t) {
167
167
  return t / rt.value;
168
168
  }
169
- const j = f(() => Ce.value.map(({ values: t, name: a, color: l = null }, o) => {
170
- const r = It(t).reduce((v, U) => v + U, 0);
169
+ const j = f(() => Ce.value.map(({ values: t, name: o, color: l = null }, a) => {
170
+ const r = Ot(t).reduce((v, U) => v + U, 0);
171
171
  return {
172
- name: a,
173
- color: l || We(l) || Se.value[o] || D[o] || D[o % D.length],
172
+ name: o,
173
+ color: l || We(l) || Se.value[a] || D[a] || D[a % D.length],
174
174
  value: r,
175
175
  proportion: r / Ce.value.map((v) => (v.values || []).reduce((U, gt) => U + gt, 0)).reduce((v, U) => v + U, 0),
176
176
  uid: Ee(),
177
- absoluteIndex: o
177
+ absoluteIndex: a
178
178
  };
179
179
  })), Ne = f(() => j.value.map((t) => ({
180
180
  ...t,
181
181
  shape: "circle",
182
182
  opacity: m.value.includes(t.uid) ? 0.5 : 1,
183
- segregate: () => oe(t.uid),
183
+ segregate: () => ae(t.uid),
184
184
  isSegregated: m.value.includes(t.uid)
185
- })).toSorted((t, a) => a.value - t.value)), it = f(() => ({
185
+ })).toSorted((t, o) => o.value - t.value)), it = f(() => ({
186
186
  cy: "rings-div-legend",
187
187
  backgroundColor: e.value.style.chart.legend.backgroundColor,
188
188
  color: e.value.style.chart.legend.color,
189
189
  fontSize: e.value.style.chart.legend.fontSize,
190
190
  paddingBottom: 12,
191
191
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
192
- })), $ = f(() => j.value.filter((t) => !m.value.includes(t.uid)).map(({ value: t }) => t).reduce((t, a) => t + a, 0)), g = f(() => j.value.filter((t) => !m.value.includes(t.uid)).map(({ name: t, value: a, color: l = null, uid: o, absoluteIndex: r }, v) => ({
192
+ })), $ = f(() => j.value.filter((t) => !m.value.includes(t.uid)).map(({ value: t }) => t).reduce((t, o) => t + o, 0)), g = f(() => j.value.filter((t) => !m.value.includes(t.uid)).map(({ name: t, value: o, color: l = null, uid: a, absoluteIndex: r }, v) => ({
193
193
  absoluteIndex: r,
194
- uid: o,
194
+ uid: a,
195
195
  name: t,
196
196
  color: l || We(l) || Se.value[v] || D[v] || D[v % D.length],
197
- value: a,
198
- proportion: Pe(a),
199
- percentage: a / $.value * 100,
200
- strokeWidth: e.value.style.chart.layout.rings.strokeWidth * Pe(a)
201
- })).toSorted((t, a) => a.value - t.value));
197
+ value: o,
198
+ proportion: Pe(o),
199
+ percentage: o / $.value * 100,
200
+ strokeWidth: e.value.style.chart.layout.rings.strokeWidth * Pe(o)
201
+ })).toSorted((t, o) => o.value - t.value));
202
202
  function vt() {
203
203
  return g.value.map(
204
- ({ name: t, color: a, value: l, absoluteValues: o, percentage: r }) => ({
204
+ ({ name: t, color: o, value: l, absoluteValues: a, percentage: r }) => ({
205
205
  name: t,
206
- color: a,
206
+ color: o,
207
207
  value: l,
208
- absoluteValues: o,
208
+ absoluteValues: a,
209
209
  percentage: r
210
210
  })
211
211
  );
212
212
  }
213
213
  const d = f(() => nt.value - e.value.style.chart.layout.rings.strokeWidth * 2);
214
- function ct(t, a) {
215
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
214
+ function ct(t, o) {
215
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: o });
216
216
  }
217
- function dt(t, a) {
218
- T.value = null, G.value = !1, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a });
217
+ function dt(t, o) {
218
+ T.value = null, G.value = !1, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o });
219
219
  }
220
220
  const se = u(null);
221
- function pt(t, a) {
222
- if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), m.value.length === k.dataset.length) return;
221
+ function ht(t, o) {
222
+ if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o }), m.value.length === k.dataset.length) return;
223
223
  se.value = {
224
224
  datapoint: t,
225
- seriesIndex: a,
225
+ seriesIndex: o,
226
226
  series: g.value,
227
227
  config: e.value
228
- }, T.value = a;
229
- const l = g.value[a], o = e.value.style.chart.tooltip.customFormat;
230
- if (Lt(o) && Rt(() => o({
231
- seriesIndex: a,
228
+ }, T.value = o;
229
+ const l = g.value[o], a = e.value.style.chart.tooltip.customFormat;
230
+ if (Lt(a) && Rt(() => a({
231
+ seriesIndex: o,
232
232
  datapoint: t,
233
233
  series: g.value,
234
234
  config: e.value
235
235
  })))
236
- Q.value = o({
237
- seriesIndex: a,
236
+ Q.value = a({
237
+ seriesIndex: o,
238
238
  datapoint: t,
239
239
  series: g.value,
240
240
  config: e.value
241
241
  });
242
242
  else {
243
243
  let r = "";
244
- r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${l.color}" />${ot.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${y.value}_${t.absoluteIndex})" />` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (r += `<b>${Ge(
244
+ r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${l.color}" />${at.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${y.value}_${t.absoluteIndex})" />` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (r += `<b>${Ge(
245
245
  e.value.style.chart.layout.labels.dataLabels.formatter,
246
246
  l.value,
247
247
  L({
@@ -250,7 +250,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
250
250
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
251
251
  r: e.value.style.chart.tooltip.roundingValue
252
252
  }),
253
- { datapoint: t, seriesIndex: a }
253
+ { datapoint: t, seriesIndex: o }
254
254
  )}
255
255
  </b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? r += `<span>(${L({
256
256
  v: l.value / $.value * 100,
@@ -268,14 +268,14 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
268
268
  const t = g.value.map((l) => ({
269
269
  name: l.name,
270
270
  color: l.color
271
- })), a = g.value.map((l) => l.value);
272
- return { head: t, body: a };
271
+ })), o = g.value.map((l) => l.value);
272
+ return { head: t, body: o };
273
273
  }), X = f(() => {
274
274
  const t = [
275
275
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
276
276
  L({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: $.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
277
277
  "100%"
278
- ], a = A.value.head.map((r, v) => [
278
+ ], o = A.value.head.map((r, v) => [
279
279
  {
280
280
  color: r.color,
281
281
  name: r.name
@@ -294,29 +294,29 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
294
294
  outline: e.value.table.td.outline
295
295
  },
296
296
  breakpoint: e.value.table.responsiveBreakpoint
297
- }, o = [
297
+ }, a = [
298
298
  e.value.table.columnNames.series,
299
299
  e.value.table.columnNames.value,
300
300
  e.value.table.columnNames.percentage
301
301
  ];
302
302
  return {
303
303
  head: t,
304
- body: a,
304
+ body: o,
305
305
  config: l,
306
- colNames: o
306
+ colNames: a
307
307
  };
308
308
  });
309
309
  function ne(t = null) {
310
310
  Ct(() => {
311
- const a = A.value.head.map((r, v) => [[
311
+ const o = A.value.head.map((r, v) => [[
312
312
  r.name
313
- ], [A.value.body[v]], [isNaN(A.value.body[v] / $.value) ? "-" : A.value.body[v] / $.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), o = Nt(l);
314
- t ? t(o) : Dt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-rings" });
313
+ ], [A.value.body[v]], [isNaN(A.value.body[v] / $.value) ? "-" : A.value.body[v] / $.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(o), a = Nt(l);
314
+ t ? t(a) : Dt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-rings" });
315
315
  });
316
316
  }
317
317
  const P = u(!1);
318
318
  function De(t) {
319
- P.value = t, pe.value += 1;
319
+ P.value = t, he.value += 1;
320
320
  }
321
321
  function Le() {
322
322
  w.value.showTable = !w.value.showTable;
@@ -328,20 +328,20 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
328
328
  function ue() {
329
329
  Y.value = !Y.value;
330
330
  }
331
- async function ht({ scale: t = 2 } = {}) {
331
+ async function pt({ scale: t = 2 } = {}) {
332
332
  if (!_.value) return;
333
- const { width: a, height: l } = _.value.getBoundingClientRect(), o = a / l, { imageUri: r, base64: v } = await Gt({ domElement: _.value, base64: !0, img: !0, scale: t });
333
+ const { width: o, height: l } = _.value.getBoundingClientRect(), a = o / l, { imageUri: r, base64: v } = await Gt({ domElement: _.value, base64: !0, img: !0, scale: t });
334
334
  return {
335
335
  imageUri: r,
336
336
  base64: v,
337
337
  title: e.value.style.chart.title.text,
338
- width: a,
338
+ width: o,
339
339
  height: l,
340
- aspectRatio: o
340
+ aspectRatio: a
341
341
  };
342
342
  }
343
343
  const E = f(() => {
344
- const t = e.value.table.useDialog && !e.value.table.show, a = w.value.showTable;
344
+ const t = e.value.table.useDialog && !e.value.table.show, o = w.value.showTable;
345
345
  return {
346
346
  component: t ? lt : Ke,
347
347
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
@@ -356,7 +356,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
356
356
  } : {
357
357
  hideDetails: !0,
358
358
  config: {
359
- open: a,
359
+ open: o,
360
360
  maxHeight: 1e4,
361
361
  body: {
362
362
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -378,26 +378,26 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
378
378
  }
379
379
  return Xe({
380
380
  getData: vt,
381
- getImage: ht,
382
- generatePdf: Ie,
381
+ getImage: pt,
382
+ generatePdf: Oe,
383
383
  generateCsv: ne,
384
- generateImage: Fe,
384
+ generateImage: Ie,
385
385
  toggleTable: Le,
386
386
  toggleTooltip: Re,
387
387
  toggleAnnotator: ue,
388
388
  toggleFullscreen: De
389
- }), (t, a) => (i(), p("div", {
389
+ }), (t, o) => (i(), h("div", {
390
390
  ref_key: "ringsChart",
391
391
  ref: _,
392
392
  class: W(`vue-ui-rings ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
393
393
  style: N(`font-family:${e.value.style.fontFamily};text-align:center;width:100%;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
394
394
  id: `rings_${y.value}`,
395
- onMouseleave: a[2] || (a[2] = (l) => {
395
+ onMouseleave: o[2] || (o[2] = (l) => {
396
396
  T.value = null, G.value = !1, s($e)(!1);
397
397
  }),
398
- onMouseenter: a[3] || (a[3] = () => s($e)(!0))
398
+ onMouseenter: o[3] || (o[3] = () => s($e)(!0))
399
399
  }, [
400
- e.value.userOptions.buttons.annotator ? (i(), I(s(Ze), {
400
+ e.value.userOptions.buttons.annotator ? (i(), O(s(Ze), {
401
401
  key: 0,
402
402
  svgRef: s(_e),
403
403
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -405,20 +405,20 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
405
405
  active: Y.value,
406
406
  onClose: ue
407
407
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : b("", !0),
408
- st.value ? (i(), p("div", {
408
+ st.value ? (i(), h("div", {
409
409
  key: 1,
410
410
  ref_key: "noTitle",
411
411
  ref: ye,
412
412
  class: "vue-data-ui-no-title-space",
413
413
  style: "height:36px; width: 100%;background:transparent"
414
414
  }, null, 512)) : b("", !0),
415
- e.value.style.chart.title.text ? (i(), p("div", {
415
+ e.value.style.chart.title.text ? (i(), h("div", {
416
416
  key: 2,
417
417
  ref_key: "chartTitle",
418
- ref: he,
418
+ ref: pe,
419
419
  style: "width:100%;background:transparent"
420
420
  }, [
421
- (i(), I(jt, {
421
+ (i(), O(jt, {
422
422
  key: `title_${me.value}`,
423
423
  config: {
424
424
  title: {
@@ -435,14 +435,14 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
435
435
  C("div", {
436
436
  id: `legend-top-${y.value}`
437
437
  }, null, 8, Jt),
438
- e.value.userOptions.show && de.value && (s(Te) || s(te)) ? (i(), I(s(et), {
438
+ e.value.userOptions.show && de.value && (s(Te) || s(te)) ? (i(), O(s(et), {
439
439
  ref_key: "userOptionsRef",
440
440
  ref: ee,
441
- key: `user_options_${pe.value}`,
441
+ key: `user_options_${he.value}`,
442
442
  backgroundColor: e.value.style.chart.backgroundColor,
443
443
  color: e.value.style.chart.color,
444
444
  isPrinting: s(Ae),
445
- isImaging: s(Oe),
445
+ isImaging: s(Fe),
446
446
  uid: y.value,
447
447
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
448
448
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -461,9 +461,9 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
461
461
  printScale: e.value.userOptions.print.scale,
462
462
  tableDialog: e.value.table.useDialog,
463
463
  onToggleFullscreen: De,
464
- onGeneratePdf: s(Ie),
464
+ onGeneratePdf: s(Oe),
465
465
  onGenerateCsv: ne,
466
- onGenerateImage: s(Fe),
466
+ onGenerateImage: s(Ie),
467
467
  onToggleTable: Le,
468
468
  onToggleTooltip: Re,
469
469
  onToggleAnnotator: ue,
@@ -473,71 +473,71 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
473
473
  }, re({ _: 2 }, [
474
474
  t.$slots.menuIcon ? {
475
475
  name: "menuIcon",
476
- fn: c(({ isOpen: l, color: o }) => [
477
- h(t.$slots, "menuIcon", V(B({ isOpen: l, color: o })), void 0, !0)
476
+ fn: c(({ isOpen: l, color: a }) => [
477
+ p(t.$slots, "menuIcon", V(B({ isOpen: l, color: a })), void 0, !0)
478
478
  ]),
479
479
  key: "0"
480
480
  } : void 0,
481
481
  t.$slots.optionTooltip ? {
482
482
  name: "optionTooltip",
483
483
  fn: c(() => [
484
- h(t.$slots, "optionTooltip", {}, void 0, !0)
484
+ p(t.$slots, "optionTooltip", {}, void 0, !0)
485
485
  ]),
486
486
  key: "1"
487
487
  } : void 0,
488
488
  t.$slots.optionPdf ? {
489
489
  name: "optionPdf",
490
490
  fn: c(() => [
491
- h(t.$slots, "optionPdf", {}, void 0, !0)
491
+ p(t.$slots, "optionPdf", {}, void 0, !0)
492
492
  ]),
493
493
  key: "2"
494
494
  } : void 0,
495
495
  t.$slots.optionCsv ? {
496
496
  name: "optionCsv",
497
497
  fn: c(() => [
498
- h(t.$slots, "optionCsv", {}, void 0, !0)
498
+ p(t.$slots, "optionCsv", {}, void 0, !0)
499
499
  ]),
500
500
  key: "3"
501
501
  } : void 0,
502
502
  t.$slots.optionImg ? {
503
503
  name: "optionImg",
504
504
  fn: c(() => [
505
- h(t.$slots, "optionImg", {}, void 0, !0)
505
+ p(t.$slots, "optionImg", {}, void 0, !0)
506
506
  ]),
507
507
  key: "4"
508
508
  } : void 0,
509
509
  t.$slots.optionTable ? {
510
510
  name: "optionTable",
511
511
  fn: c(() => [
512
- h(t.$slots, "optionTable", {}, void 0, !0)
512
+ p(t.$slots, "optionTable", {}, void 0, !0)
513
513
  ]),
514
514
  key: "5"
515
515
  } : void 0,
516
516
  t.$slots.optionFullscreen ? {
517
517
  name: "optionFullscreen",
518
- fn: c(({ toggleFullscreen: l, isFullscreen: o }) => [
519
- h(t.$slots, "optionFullscreen", V(B({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
518
+ fn: c(({ toggleFullscreen: l, isFullscreen: a }) => [
519
+ p(t.$slots, "optionFullscreen", V(B({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
520
520
  ]),
521
521
  key: "6"
522
522
  } : void 0,
523
523
  t.$slots.optionAnnotator ? {
524
524
  name: "optionAnnotator",
525
- fn: c(({ toggleAnnotator: l, isAnnotator: o }) => [
526
- h(t.$slots, "optionAnnotator", V(B({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
525
+ fn: c(({ toggleAnnotator: l, isAnnotator: a }) => [
526
+ p(t.$slots, "optionAnnotator", V(B({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
527
527
  ]),
528
528
  key: "7"
529
529
  } : void 0
530
530
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : b("", !0),
531
- (i(), p("svg", {
531
+ (i(), h("svg", {
532
532
  ref_key: "svgRef",
533
533
  ref: _e,
534
- xmlns: s(Ft),
534
+ xmlns: s(It),
535
535
  class: W({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value, resizing: Z.value || s(S) }),
536
536
  viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
537
537
  style: N(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
538
538
  }, [
539
539
  J(s(tt)),
540
- t.$slots["chart-background"] ? (i(), p("foreignObject", {
540
+ t.$slots["chart-background"] ? (i(), h("foreignObject", {
541
541
  key: 0,
542
542
  x: 0,
543
543
  y: 0,
@@ -547,16 +547,16 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
547
547
  pointerEvents: "none"
548
548
  }
549
549
  }, [
550
- h(t.$slots, "chart-background", {}, void 0, !0)
550
+ p(t.$slots, "chart-background", {}, void 0, !0)
551
551
  ], 8, Qt)) : b("", !0),
552
552
  C("defs", null, [
553
- (i(!0), p(ie, null, ve(g.value, (l, o) => (i(), p("radialGradient", {
553
+ (i(!0), h(ie, null, ve(g.value, (l, a) => (i(), h("radialGradient", {
554
554
  cx: "50%",
555
555
  cy: "30%",
556
556
  r: "50%",
557
557
  fx: "50%",
558
558
  fy: "50%",
559
- id: `gradient_${y.value}_${o}`
559
+ id: `gradient_${y.value}_${a}`
560
560
  }, [
561
561
  C("stop", {
562
562
  offset: "0%",
@@ -568,76 +568,76 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
568
568
  }, null, 8, tl)
569
569
  ], 8, Zt))), 256))
570
570
  ]),
571
- t.$slots.pattern ? (i(), p("g", ll, [
572
- (i(!0), p(ie, null, ve(g.value, (l) => (i(), p("defs", null, [
573
- h(t.$slots, "pattern", Me({ ref_for: !0 }, { seriesIndex: l.absoluteIndex, patternId: `pattern_${y.value}_${l.absoluteIndex}` }), void 0, !0)
571
+ t.$slots.pattern ? (i(), h("g", ll, [
572
+ (i(!0), h(ie, null, ve(g.value, (l) => (i(), h("defs", null, [
573
+ p(t.$slots, "pattern", Me({ ref_for: !0 }, { seriesIndex: l.absoluteIndex, patternId: `pattern_${y.value}_${l.absoluteIndex}` }), void 0, !0)
574
574
  ]))), 256))
575
575
  ])) : b("", !0),
576
- (i(!0), p(ie, null, ve(g.value, (l, o) => (i(), p("g", null, [
576
+ (i(!0), h(ie, null, ve(g.value, (l, a) => (i(), h("g", null, [
577
577
  C("circle", {
578
578
  class: W({
579
- "vue-ui-rings-item": F.value && e.value.useCssAnimation,
580
- "vue-rings-item-onload": !F.value && e.value.useCssAnimation && !s(S),
581
- "vue-ui-rings-opacity": T.value !== null && T.value !== o
579
+ "vue-ui-rings-item": I.value && e.value.useCssAnimation,
580
+ "vue-rings-item-onload": !I.value && e.value.useCssAnimation && !s(S),
581
+ "vue-ui-rings-opacity": T.value !== null && T.value !== a
582
582
  }),
583
- style: N(`animation-delay:${o * 100}ms`),
583
+ style: N(`animation-delay:${a * 100}ms`),
584
584
  stroke: e.value.style.chart.layout.rings.stroke,
585
585
  cx: n.value.width / 2,
586
- cy: o === 0 ? n.value.height / 2 : n.value.height / 2 + d.value * g.value[0].proportion / 2 - d.value * l.proportion / 2 - 2 * (o + 1),
586
+ cy: a === 0 ? n.value.height / 2 : n.value.height / 2 + d.value * g.value[0].proportion / 2 - d.value * l.proportion / 2 - 2 * (a + 1),
587
587
  r: s(K)(d.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : d.value * l.proportion / 2 * 0.9),
588
588
  fill: e.value.style.chart.layout.rings.gradient.underlayerColor
589
- }, null, 14, al),
589
+ }, null, 14, ol),
590
590
  C("circle", {
591
591
  class: W({
592
- "vue-ui-rings-item": F.value && e.value.useCssAnimation,
593
- "vue-rings-item-onload": !F.value && e.value.useCssAnimation && !s(S),
592
+ "vue-ui-rings-item": I.value && e.value.useCssAnimation,
593
+ "vue-rings-item-onload": !I.value && e.value.useCssAnimation && !s(S),
594
594
  "vue-ui-rings-shadow": e.value.style.chart.layout.rings.useShadow,
595
- "vue-ui-rings-blur": T.value !== null && T.value !== o
595
+ "vue-ui-rings-blur": T.value !== null && T.value !== a
596
596
  }),
597
- style: N(`animation-delay:${o * 100}ms`),
597
+ style: N(`animation-delay:${a * 100}ms`),
598
598
  stroke: e.value.style.chart.layout.rings.stroke,
599
599
  "stroke-width": l.strokeWidth < 0.5 ? 0.5 : l.strokeWidth,
600
600
  cx: n.value.width / 2,
601
- cy: o === 0 ? n.value.height / 2 : n.value.height / 2 + d.value * g.value[0].proportion / 2 - d.value * l.proportion / 2 - 2 * (o + 1),
601
+ cy: a === 0 ? n.value.height / 2 : n.value.height / 2 + d.value * g.value[0].proportion / 2 - d.value * l.proportion / 2 - 2 * (a + 1),
602
602
  r: s(K)(d.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : d.value * l.proportion / 2 * 0.9),
603
- fill: e.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${y.value}_${o})` : l.color
604
- }, null, 14, ol),
605
- t.$slots.pattern ? (i(), p("circle", {
603
+ fill: e.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${y.value}_${a})` : l.color
604
+ }, null, 14, al),
605
+ t.$slots.pattern ? (i(), h("circle", {
606
606
  key: 0,
607
607
  class: W({
608
- "vue-ui-rings-item": F.value && e.value.useCssAnimation,
609
- "vue-rings-item-onload": !F.value && e.value.useCssAnimation && !s(S),
608
+ "vue-ui-rings-item": I.value && e.value.useCssAnimation,
609
+ "vue-rings-item-onload": !I.value && e.value.useCssAnimation && !s(S),
610
610
  "vue-ui-rings-shadow": e.value.style.chart.layout.rings.useShadow,
611
- "vue-ui-rings-blur": T.value !== null && T.value !== o
611
+ "vue-ui-rings-blur": T.value !== null && T.value !== a
612
612
  }),
613
- style: N(`animation-delay:${o * 100}ms`),
613
+ style: N(`animation-delay:${a * 100}ms`),
614
614
  stroke: e.value.style.chart.layout.rings.stroke,
615
615
  "stroke-width": l.strokeWidth < 0.5 ? 0.5 : l.strokeWidth,
616
616
  cx: n.value.width / 2,
617
- cy: o === 0 ? n.value.height / 2 : n.value.height / 2 + d.value * g.value[0].proportion / 2 - d.value * l.proportion / 2 - 2 * (o + 1),
617
+ cy: a === 0 ? n.value.height / 2 : n.value.height / 2 + d.value * g.value[0].proportion / 2 - d.value * l.proportion / 2 - 2 * (a + 1),
618
618
  r: s(K)(d.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : d.value * l.proportion / 2 * 0.9),
619
619
  fill: `url(#pattern_${y.value}_${l.absoluteIndex})`
620
620
  }, null, 14, sl)) : b("", !0),
621
621
  C("circle", {
622
622
  stroke: "none",
623
623
  cx: n.value.width / 2,
624
- cy: o === 0 ? n.value.height / 2 : n.value.height / 2 + d.value * g.value[0].proportion / 2 - d.value * l.proportion / 2 - 2 * (o + 1),
624
+ cy: a === 0 ? n.value.height / 2 : n.value.height / 2 + d.value * g.value[0].proportion / 2 - d.value * l.proportion / 2 - 2 * (a + 1),
625
625
  r: s(K)(d.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : d.value * l.proportion / 2 * 0.9),
626
626
  fill: "transparent",
627
- onMouseenter: (r) => pt(l, o),
628
- onMouseleave: (r) => dt(l, o),
629
- onClick: (r) => ct(l, o)
627
+ onMouseenter: (r) => ht(l, a),
628
+ onMouseleave: (r) => dt(l, a),
629
+ onClick: (r) => ct(l, a)
630
630
  }, null, 40, nl)
631
631
  ]))), 256)),
632
- h(t.$slots, "svg", { svg: n.value }, void 0, !0)
632
+ p(t.$slots, "svg", { svg: n.value }, void 0, !0)
633
633
  ], 14, Kt)),
634
- t.$slots.watermark ? (i(), p("div", ul, [
635
- h(t.$slots, "watermark", V(B({ isPrinting: s(Ae) || s(Oe) })), void 0, !0)
634
+ t.$slots.watermark ? (i(), h("div", ul, [
635
+ p(t.$slots, "watermark", V(B({ isPrinting: s(Ae) || s(Fe) })), void 0, !0)
636
636
  ])) : b("", !0),
637
637
  C("div", {
638
638
  id: `legend-bottom-${y.value}`
639
639
  }, null, 8, rl),
640
- we.value ? (i(), I(kt, {
640
+ we.value ? (i(), O(kt, {
641
641
  key: 5,
642
642
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${y.value}` : `#legend-bottom-${y.value}`
643
643
  }, [
@@ -645,16 +645,16 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
645
645
  ref_key: "chartLegend",
646
646
  ref: ge
647
647
  }, [
648
- e.value.style.chart.legend.show ? (i(), I(Xt, {
648
+ e.value.style.chart.legend.show ? (i(), O(Xt, {
649
649
  key: `legend_${ke.value}`,
650
650
  legendSet: Ne.value,
651
651
  config: it.value,
652
- onClickMarker: a[0] || (a[0] = ({ legend: l }) => oe(l.uid))
652
+ onClickMarker: o[0] || (o[0] = ({ legend: l }) => ae(l.uid))
653
653
  }, re({
654
- item: c(({ legend: l, index: o }) => [
655
- s(S) ? b("", !0) : (i(), p("div", {
654
+ item: c(({ legend: l, index: a }) => [
655
+ s(S) ? b("", !0) : (i(), h("div", {
656
656
  key: 0,
657
- onClick: (r) => oe(l.uid),
657
+ onClick: (r) => ae(l.uid),
658
658
  style: N(`opacity:${m.value.includes(l.uid) ? 0.5 : 1}`)
659
659
  }, M(l.name) + M(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + M(e.value.style.chart.legend.showValue ? s(Ge)(
660
660
  e.value.style.chart.layout.labels.dataLabels.formatter,
@@ -665,7 +665,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
665
665
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
666
666
  r: e.value.style.chart.legend.roundingValue
667
667
  }),
668
- { datapoint: l, seriesIndex: o }
668
+ { datapoint: l, seriesIndex: a }
669
669
  ) : "") + " " + M(e.value.style.chart.legend.showPercentage ? m.value.includes(l.uid) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(l.value / $.value) ? "-" : s(L)({
670
670
  v: l.value / $.value * 100,
671
671
  s: "%",
@@ -676,30 +676,30 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
676
676
  }, [
677
677
  t.$slots.pattern ? {
678
678
  name: "legend-pattern",
679
- fn: c(({ legend: l, index: o }) => [
679
+ fn: c(({ legend: l, index: a }) => [
680
680
  J(Ht, {
681
681
  shape: l.shape,
682
682
  radius: 30,
683
683
  stroke: "none",
684
684
  plot: { x: 30, y: 30 },
685
- fill: `url(#pattern_${y.value}_${o})`
685
+ fill: `url(#pattern_${y.value}_${a})`
686
686
  }, null, 8, ["shape", "fill"])
687
687
  ]),
688
688
  key: "0"
689
689
  } : void 0
690
- ]), 1032, ["legendSet", "config"])) : h(t.$slots, "legend", {
690
+ ]), 1032, ["legendSet", "config"])) : p(t.$slots, "legend", {
691
691
  key: 1,
692
692
  legend: Ne.value
693
693
  }, void 0, !0)
694
694
  ], 512)
695
695
  ], 8, ["to"])) : b("", !0),
696
- t.$slots.source ? (i(), p("div", {
696
+ t.$slots.source ? (i(), h("div", {
697
697
  key: 6,
698
698
  ref_key: "source",
699
699
  ref: fe,
700
700
  dir: "auto"
701
701
  }, [
702
- h(t.$slots, "source", {}, void 0, !0)
702
+ p(t.$slots, "source", {}, void 0, !0)
703
703
  ], 512)) : b("", !0),
704
704
  J(s(qe), {
705
705
  show: w.value.showTooltip && G.value && m.value.length < k.dataset.length,
@@ -717,23 +717,25 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
717
717
  isFullscreen: P.value,
718
718
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
719
719
  smooth: e.value.style.chart.tooltip.smooth,
720
- backdropFilter: e.value.style.chart.tooltip.backdropFilter
720
+ backdropFilter: e.value.style.chart.tooltip.backdropFilter,
721
+ smoothForce: e.value.style.chart.tooltip.smoothForce,
722
+ smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
721
723
  }, {
722
724
  "tooltip-before": c(() => [
723
- h(t.$slots, "tooltip-before", V(B({ ...se.value })), void 0, !0)
725
+ p(t.$slots, "tooltip-before", V(B({ ...se.value })), void 0, !0)
724
726
  ]),
725
727
  "tooltip-after": c(() => [
726
- h(t.$slots, "tooltip-after", V(B({ ...se.value })), void 0, !0)
728
+ p(t.$slots, "tooltip-after", V(B({ ...se.value })), void 0, !0)
727
729
  ]),
728
730
  _: 3
729
- }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
730
- de.value ? (i(), I(wt(E.value.component), Me({ key: 7 }, E.value.props, {
731
+ }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
732
+ de.value ? (i(), O(wt(E.value.component), Me({ key: 7 }, E.value.props, {
731
733
  ref_key: "tableUnit",
732
734
  ref: z,
733
735
  onClose: Ve
734
736
  }), re({
735
737
  content: c(() => [
736
- (i(), I(s(Qe), {
738
+ (i(), O(s(Qe), {
737
739
  key: `table_${be.value}`,
738
740
  colNames: X.value.colNames,
739
741
  head: X.value.head,
@@ -770,7 +772,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
770
772
  C("button", {
771
773
  tabindex: "0",
772
774
  class: "vue-ui-user-options-button",
773
- onClick: a[1] || (a[1] = (l) => ne(e.value.userOptions.callbacks.csv))
775
+ onClick: o[1] || (o[1] = (l) => ne(e.value.userOptions.callbacks.csv))
774
776
  }, [
775
777
  J(s(Je), {
776
778
  name: "excel",
@@ -781,10 +783,10 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
781
783
  key: "1"
782
784
  } : void 0
783
785
  ]), 1040)) : b("", !0),
784
- s(S) ? (i(), I(Et, { key: 8 })) : b("", !0)
786
+ s(S) ? (i(), O(Et, { key: 8 })) : b("", !0)
785
787
  ], 46, qt));
786
788
  }
787
- }, _l = /* @__PURE__ */ Yt(cl, [["__scopeId", "data-v-d86f47cb"]]);
789
+ }, _l = /* @__PURE__ */ Yt(cl, [["__scopeId", "data-v-80ccc0fd"]]);
788
790
  export {
789
791
  _l as default
790
792
  };