vue-data-ui 2.14.2 → 2.14.3-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/README.md +17 -0
  2. package/dist/{Arrow-DNJvKMao.js → Arrow-CHiKXhrZ.js} +1 -1
  3. package/dist/{BaseDraggableDialog-XPll8ONG.js → BaseDraggableDialog-C_zNQi8p.js} +2 -2
  4. package/dist/{BaseIcon-D0Q4E4nY.js → BaseIcon-CjLVVFOF.js} +1 -1
  5. package/dist/{ColorPicker-CQl1kba_.js → ColorPicker-4qYqEUzw.js} +2 -2
  6. package/dist/{DataTable-DzCoab4C.js → DataTable-CQHjdD9t.js} +2 -2
  7. package/dist/{Legend-DLJ9I-cg.js → Legend-XakQeDJw.js} +4 -4
  8. package/dist/{NonSvgPenAndPaper-B0-XpttN.js → NonSvgPenAndPaper-BVSNCCsg.js} +3 -3
  9. package/dist/{PackageVersion-DrhYhyQR.js → PackageVersion-mH9eFSdi.js} +2 -2
  10. package/dist/{PenAndPaper-BdnVqpO9.js → PenAndPaper-C49A3fVl.js} +3 -3
  11. package/dist/{Shape-DdpwkHh8.js → Shape-D_nY-zV8.js} +1 -1
  12. package/dist/{Slicer-B6mk6VRe.js → Slicer-DAuA0E6E.js} +14 -14
  13. package/dist/{SparkTooltip-DvS7F_gk.js → SparkTooltip-BRAWFiKX.js} +1 -1
  14. package/dist/{Title-xtSGHclp.js → Title-Be-4IBib.js} +1 -1
  15. package/dist/{Tooltip-D8swCIay.js → Tooltip-B4lRAXc3.js} +1 -1
  16. package/dist/{UserOptions-BbJkNcCM.js → UserOptions-CZOjPjId.js} +2 -2
  17. package/dist/{dom-to-png-DrB0WHa5.js → dom-to-png-O95d2xYz.js} +1 -1
  18. package/dist/{img-CtqhCOnQ.js → img-B5QfWbFM.js} +1 -1
  19. package/dist/{index-DBYSSUsg.js → index-DpgjO9No.js} +409 -394
  20. package/dist/{pdf-Cq3bf6D0.js → pdf-C86OOuya.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/{useNestedProp-Cu77c3W4.js → useNestedProp-BS0-lsm3.js} +1 -1
  23. package/dist/{usePrinter-xF9W73YL.js → usePrinter-EqGRLYQ_.js} +2 -2
  24. package/dist/{vue-data-ui-BhsGEgCE.js → vue-data-ui-CkGWUdE5.js} +63 -63
  25. package/dist/vue-data-ui.js +21 -21
  26. package/dist/{vue-ui-3d-bar-BiehKQpG.js → vue-ui-3d-bar-BMy6RIsR.js} +5 -5
  27. package/dist/{vue-ui-accordion-CEZHj_of.js → vue-ui-accordion-B7SuIgFc.js} +3 -3
  28. package/dist/{vue-ui-age-pyramid-CV3X9UIL.js → vue-ui-age-pyramid-DWAc3Ofk.js} +5 -5
  29. package/dist/{vue-ui-annotator-C0tRqId7.js → vue-ui-annotator-BjW1IoFR.js} +2 -2
  30. package/dist/{vue-ui-bullet-Dnzzp7eQ.js → vue-ui-bullet-DfpzNl51.js} +6 -6
  31. package/dist/{vue-ui-candlestick-HP8z-e20.js → vue-ui-candlestick-BhWpJIxD.js} +6 -6
  32. package/dist/{vue-ui-carousel-table-CIytKGfB.js → vue-ui-carousel-table-DMSlJoWw.js} +4 -4
  33. package/dist/{vue-ui-chestnut-jJ5DocEt.js → vue-ui-chestnut-Dby5X8Oy.js} +4 -4
  34. package/dist/{vue-ui-chord-C2p48bdc.js → vue-ui-chord-BBjEiNoo.js} +7 -7
  35. package/dist/{vue-ui-circle-pack-Cm42Kre2.js → vue-ui-circle-pack-QR1HniAL.js} +5 -5
  36. package/dist/{vue-ui-cursor-DYOAowBf.js → vue-ui-cursor-D9HDDbAr.js} +2 -2
  37. package/dist/{vue-ui-dashboard-CqQ_erdb.js → vue-ui-dashboard-DMgkrLHs.js} +62 -62
  38. package/dist/{vue-ui-digits-Ckblhu11.js → vue-ui-digits-AxsWsoNG.js} +2 -2
  39. package/dist/{vue-ui-donut-6ioyEN3H.js → vue-ui-donut-B3cs-HjU.js} +111 -111
  40. package/dist/{vue-ui-donut-evolution-DcpDJ9Nx.js → vue-ui-donut-evolution-piOrh5of.js} +295 -279
  41. package/dist/{vue-ui-dumbbell-Bs6C9JZw.js → vue-ui-dumbbell-C_amhKRH.js} +6 -6
  42. package/dist/{vue-ui-flow-2PtX-g_5.js → vue-ui-flow-kgzJDBYW.js} +26 -26
  43. package/dist/{vue-ui-funnel-DnjXDXiD.js → vue-ui-funnel-D582UlDY.js} +5 -5
  44. package/dist/{vue-ui-galaxy-C15I7QgX.js → vue-ui-galaxy-BCPNqux7.js} +4 -4
  45. package/dist/{vue-ui-gauge-C4ukJ9LH.js → vue-ui-gauge-6YFYdXxG.js} +5 -5
  46. package/dist/{vue-ui-gizmo-CV03sWPz.js → vue-ui-gizmo-PN0sgIDN.js} +3 -3
  47. package/dist/{vue-ui-heatmap-C-9U8urH.js → vue-ui-heatmap-bWGrfPpu.js} +6 -6
  48. package/dist/{vue-ui-history-plot-CctIOnX8.js → vue-ui-history-plot-CNxerxJF.js} +234 -210
  49. package/dist/{vue-ui-kpi-D8DQ02cm.js → vue-ui-kpi-BXiiCP9f.js} +3 -3
  50. package/dist/{vue-ui-mini-loader-DpwNHrxl.js → vue-ui-mini-loader-LXae2ars.js} +2 -2
  51. package/dist/{vue-ui-molecule-je8BUEgl.js → vue-ui-molecule-B2dzn9rQ.js} +16 -16
  52. package/dist/{vue-ui-mood-radar-DUwpDrKf.js → vue-ui-mood-radar-DIJJhVIZ.js} +19 -19
  53. package/dist/{vue-ui-nested-donuts-CcIiH5y3.js → vue-ui-nested-donuts-4lqDDJmG.js} +46 -46
  54. package/dist/{vue-ui-onion-B3ciM-zx.js → vue-ui-onion-BIgfyn7z.js} +6 -6
  55. package/dist/{vue-ui-parallel-coordinate-plot-C4jC8sCn.js → vue-ui-parallel-coordinate-plot-COW7u6EQ.js} +192 -175
  56. package/dist/{vue-ui-quadrant--xMPLV7W.js → vue-ui-quadrant-B3HOf0aF.js} +243 -225
  57. package/dist/{vue-ui-quick-chart-Bce5gdOB.js → vue-ui-quick-chart-Cg7pNkb3.js} +459 -443
  58. package/dist/{vue-ui-radar-Bs4DRm4L.js → vue-ui-radar-DY7BOmEO.js} +45 -45
  59. package/dist/{vue-ui-rating-BjP1BHbM.js → vue-ui-rating-C8ubvpA2.js} +8 -8
  60. package/dist/{vue-ui-relation-circle-D9P-zdmr.js → vue-ui-relation-circle-BSUJrp9v.js} +5 -5
  61. package/dist/{vue-ui-ridgeline-DmNbKyms.js → vue-ui-ridgeline-CNNfP0Gl.js} +185 -165
  62. package/dist/{vue-ui-rings-BebupVaJ.js → vue-ui-rings-C0iQMvwp.js} +7 -7
  63. package/dist/{vue-ui-scatter-cQ-Eu6ff.js → vue-ui-scatter-BaXESoFU.js} +49 -49
  64. package/dist/{vue-ui-skeleton-BJy7bURO.js → vue-ui-skeleton-C-ca3jum.js} +3 -3
  65. package/dist/{vue-ui-smiley-D5QHdm68.js → vue-ui-smiley-BPSnI-sv.js} +2 -2
  66. package/dist/{vue-ui-spark-trend-CP5l6hCt.js → vue-ui-spark-trend-C2p4SwT6.js} +3 -3
  67. package/dist/{vue-ui-sparkbar-CW95uw6O.js → vue-ui-sparkbar-C_Z7se8R.js} +3 -3
  68. package/dist/{vue-ui-sparkgauge-a4VbU8l_.js → vue-ui-sparkgauge-BNQP-wru.js} +8 -8
  69. package/dist/{vue-ui-sparkhistogram-Bu2URfSJ.js → vue-ui-sparkhistogram-S7ZqAbMr.js} +4 -4
  70. package/dist/{vue-ui-sparkline-TItbUk-X.js → vue-ui-sparkline-BOUcxjBn.js} +11 -11
  71. package/dist/{vue-ui-sparkstackbar-B7hTZ5lP.js → vue-ui-sparkstackbar-Bcz6Tg5h.js} +3 -3
  72. package/dist/{vue-ui-stackbar-Dsdwa6lC.js → vue-ui-stackbar-BwY3L4k_.js} +417 -373
  73. package/dist/{vue-ui-strip-plot-8t8ozRzt.js → vue-ui-strip-plot-BQKMvJ_f.js} +202 -184
  74. package/dist/{vue-ui-table-CFn0ptr3.js → vue-ui-table-BMFeG4Ll.js} +3 -3
  75. package/dist/{vue-ui-table-heatmap-By7Epu_x.js → vue-ui-table-heatmap-BMcm8nz5.js} +18 -18
  76. package/dist/{vue-ui-table-sparkline-CXqoNu29.js → vue-ui-table-sparkline-DvbV5c0E.js} +4 -4
  77. package/dist/{vue-ui-thermometer-XTsctSeT.js → vue-ui-thermometer-DaUJKwlB.js} +5 -5
  78. package/dist/{vue-ui-timer-LsMK3baq.js → vue-ui-timer-2lttGgfU.js} +5 -5
  79. package/dist/{vue-ui-tiremarks-Dmqxy_za.js → vue-ui-tiremarks-Br-K5C0A.js} +5 -5
  80. package/dist/{vue-ui-treemap-CBK79HgE.js → vue-ui-treemap-BMcITB4q.js} +7 -7
  81. package/dist/{vue-ui-vertical-bar-s0W_ZvXa.js → vue-ui-vertical-bar-DyHNX6fM.js} +8 -8
  82. package/dist/{vue-ui-waffle-DYSvsk-v.js → vue-ui-waffle-D2O27EVK.js} +246 -242
  83. package/dist/{vue-ui-wheel-ffWrYzpO.js → vue-ui-wheel-BJ11Yo4p.js} +5 -5
  84. package/dist/{vue-ui-word-cloud-DMtRVU6x.js → vue-ui-word-cloud-DoiCiPEX.js} +15 -15
  85. package/dist/{vue-ui-world-DPT1WnyR.js → vue-ui-world-DnATnNkX.js} +5 -5
  86. package/dist/{vue-ui-xy-BhuRQnpn.js → vue-ui-xy-DRE6d6PA.js} +591 -570
  87. package/dist/{vue-ui-xy-canvas-BaqwCoBL.js → vue-ui-xy-canvas-CB8YSoKV.js} +7 -7
  88. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { defineAsyncComponent as A, computed as x, useSlots as z, onMounted as C, watch as y, ref as k, createElementBlock as i, openBlock as s, normalizeStyle as u, normalizeClass as r, createElementVNode as $, renderSlot as n, createTextVNode as h, toDisplayString as b, createVNode as w, unref as v, Fragment as B } from "vue";
2
- import { u as L } from "./useNestedProp-Cu77c3W4.js";
3
- import { u as M, i as E, f as I } from "./index-DBYSSUsg.js";
2
+ import { u as L } from "./useNestedProp-BS0-lsm3.js";
3
+ import { u as M, i as E, f as I } from "./index-DpgjO9No.js";
4
4
  const G = {
5
5
  __name: "vue-ui-kpi",
6
6
  props: {
@@ -16,7 +16,7 @@ const G = {
16
16
  }
17
17
  },
18
18
  setup(o) {
19
- const F = A(() => import("./vue-ui-digits-Ckblhu11.js")), { vue_ui_kpi: N } = M(), l = o, e = x({
19
+ const F = A(() => import("./vue-ui-digits-AxsWsoNG.js")), { vue_ui_kpi: N } = M(), l = o, e = x({
20
20
  get: () => c(),
21
21
  set: (a) => a
22
22
  }), D = z();
@@ -1,6 +1,6 @@
1
1
  import { useCssVars as h, computed as r, ref as f, createElementBlock as n, openBlock as u, unref as M, createCommentVNode as a, createElementVNode as t, normalizeStyle as l } from "vue";
2
- import { u as m } from "./useNestedProp-Cu77c3W4.js";
3
- import { u as y, X as L } from "./index-DBYSSUsg.js";
2
+ import { u as m } from "./useNestedProp-BS0-lsm3.js";
3
+ import { u as y, X as L } from "./index-DpgjO9No.js";
4
4
  import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const b = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"], A = ["stroke"], N = { key: 1 }, O = ["stroke"], S = { key: 2 }, F = ["stroke"], I = {
6
6
  __name: "vue-ui-mini-loader",
@@ -1,7 +1,7 @@
1
1
  import { useCssVars as Qe, defineAsyncComponent as p, computed as k, onMounted as Je, ref as c, watch as Ke, createElementBlock as y, openBlock as r, unref as l, normalizeStyle as B, normalizeClass as he, createBlock as $, createCommentVNode as f, createVNode as F, createSlots as et, withCtx as d, renderSlot as i, normalizeProps as w, guardReactiveProps as T, createElementVNode as _, Fragment as tt, renderList as ot, createTextVNode as lt, toDisplayString as st, nextTick as at } from "vue";
2
- import { u as nt, o as rt, e as it, c as pe, t as ut, p as fe, a as ct, b as dt, P as vt, X as ht, l as pt, Q as ft, d as ge, q as gt, r as mt, x as yt, y as bt } from "./index-DBYSSUsg.js";
3
- import { u as me } from "./useNestedProp-Cu77c3W4.js";
4
- import { u as kt } from "./usePrinter-xF9W73YL.js";
2
+ import { u as nt, o as rt, e as it, c as pe, t as ut, p as fe, a as ct, b as dt, Q as vt, X as ht, l as pt, R as ft, d as ge, q as gt, r as mt, x as yt, y as bt } from "./index-DpgjO9No.js";
3
+ import { u as me } from "./useNestedProp-BS0-lsm3.js";
4
+ import { u as kt } from "./usePrinter-EqGRLYQ_.js";
5
5
  import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { u as $t } from "./useChartAccessibility-9icAAmYg.js";
7
7
  import { u as wt } from "./usePanZoom-BQMvRXEQ.js";
@@ -25,7 +25,7 @@ const Ot = ["id"], Pt = {
25
25
  key: 8,
26
26
  ref: "source",
27
27
  dir: "auto"
28
- }, Ut = ["innerHTML"], Rt = {
28
+ }, Rt = ["innerHTML"], Ut = {
29
29
  __name: "vue-ui-molecule",
30
30
  props: {
31
31
  config: {
@@ -46,7 +46,7 @@ const Ot = ["id"], Pt = {
46
46
  Qe((t) => ({
47
47
  "1859f908": t.slicerColor
48
48
  }));
49
- const Ce = p(() => import("./vue-ui-accordion-CEZHj_of.js")), $e = p(() => import("./BaseIcon-D0Q4E4nY.js")), we = p(() => import("./DataTable-DzCoab4C.js")), Te = p(() => import("./PackageVersion-DrhYhyQR.js")), Oe = p(() => import("./PenAndPaper-BdnVqpO9.js")), Pe = p(() => import("./RecursiveCircles-Dn3TGoL6.js")), Ae = p(() => import("./RecursiveLabels-NTMB9w5C.js")), Ie = p(() => import("./RecursiveLinks-ld_gDZH4.js")), Ne = p(() => import("./vue-ui-skeleton-BJy7bURO.js")), Fe = p(() => import("./Title-xtSGHclp.js")), _e = p(() => import("./Tooltip-D8swCIay.js")), Se = p(() => import("./UserOptions-BbJkNcCM.js")), { vue_ui_molecule: Le } = nt(), C = ye, De = ke, S = k(() => !!C.dataset && C.dataset.length);
49
+ const Ce = p(() => import("./vue-ui-accordion-B7SuIgFc.js")), $e = p(() => import("./BaseIcon-CjLVVFOF.js")), we = p(() => import("./DataTable-CQHjdD9t.js")), Te = p(() => import("./PackageVersion-mH9eFSdi.js")), Oe = p(() => import("./PenAndPaper-C49A3fVl.js")), Pe = p(() => import("./RecursiveCircles-Dn3TGoL6.js")), Ae = p(() => import("./RecursiveLabels-NTMB9w5C.js")), Ie = p(() => import("./RecursiveLinks-ld_gDZH4.js")), Ne = p(() => import("./vue-ui-skeleton-C-ca3jum.js")), Fe = p(() => import("./Title-Be-4IBib.js")), _e = p(() => import("./Tooltip-B4lRAXc3.js")), Se = p(() => import("./UserOptions-CZOjPjId.js")), { vue_ui_molecule: Le } = nt(), C = ye, De = ke, S = k(() => !!C.dataset && C.dataset.length);
50
50
  Je(() => {
51
51
  W();
52
52
  });
@@ -56,7 +56,7 @@ const Ot = ["id"], Pt = {
56
56
  type: "dataset"
57
57
  });
58
58
  }
59
- const U = c(pe()), Be = c(null), R = c(!1), L = c(""), E = c(null), X = c(0), j = c(0), Y = c(0), e = k({
59
+ const R = c(pe()), Be = c(null), U = c(!1), L = c(""), E = c(null), X = c(0), j = c(0), Y = c(0), e = k({
60
60
  get: () => Q(),
61
61
  set: (t) => t
62
62
  }), { userOptionsVisible: x, setUserOptionsVisibility: Z, keepUserOptionState: q } = Ct({ config: e.value }), { svgRef: z } = $t({ config: e.value.style.chart.title });
@@ -77,10 +77,10 @@ const Ot = ["id"], Pt = {
77
77
  e.value = Q(), x.value = !e.value.userOptions.showOnChartHover, W(), j.value += 1, Y.value += 1, h.value.showTable = e.value.table.show, h.value.showTooltip = e.value.style.chart.tooltip.show;
78
78
  }, { deep: !0 });
79
79
  const { isPrinting: J, isImaging: K, generatePdf: ee, generateImage: te } = kt({
80
- elementId: `cluster_${U.value}`,
80
+ elementId: `cluster_${R.value}`,
81
81
  fileName: e.value.style.chart.title.text || "vue-ui-molecule",
82
82
  options: e.value.userOptions.print
83
- }), Ue = k(() => e.value.userOptions.show && !e.value.style.chart.title.text), Re = k(() => dt(e.value.customPalette)), h = c({
83
+ }), Re = k(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ue = k(() => dt(e.value.customPalette)), h = c({
84
84
  showTable: e.value.table.show,
85
85
  showDataLabels: !0,
86
86
  showTooltip: e.value.style.chart.tooltip.show
@@ -114,7 +114,7 @@ const Ot = ["id"], Pt = {
114
114
  return M.startsWith("#") ? M : `#${M}`;
115
115
  })() : null;
116
116
  let P;
117
- ve ? P = ve : G === 0 ? P = g : G === 1 ? (P = Re.value[u] || fe[u] || g, u += 1) : P = g, m.polygonPath = { coordinates: [de] }, m.circleRadius = n, m.color = P, m.uid = pe(), Array.isArray(m.nodes) && m.nodes.length && (m.nodes = le(
117
+ ve ? P = ve : G === 0 ? P = g : G === 1 ? (P = Ue.value[u] || fe[u] || g, u += 1) : P = g, m.polygonPath = { coordinates: [de] }, m.circleRadius = n, m.color = P, m.uid = pe(), Array.isArray(m.nodes) && m.nodes.length && (m.nodes = le(
118
118
  m.nodes,
119
119
  de,
120
120
  o / 2.9,
@@ -174,7 +174,7 @@ const Ot = ["id"], Pt = {
174
174
  }
175
175
  const se = c(null), A = c(null);
176
176
  function Ve(t) {
177
- se.value = t, t ? (R.value = !0, He(t), A.value = t.uid) : (R.value = !1, L.value = "", A.value = null);
177
+ se.value = t, t ? (U.value = !0, He(t), A.value = t.uid) : (U.value = !1, L.value = "", A.value = null);
178
178
  }
179
179
  function Ge(t) {
180
180
  const s = [];
@@ -276,7 +276,7 @@ const Ot = ["id"], Pt = {
276
276
  ref: E,
277
277
  class: he(`vue-ui-molecule ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
278
278
  style: B(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
279
- id: `cluster_${U.value}`,
279
+ id: `cluster_${R.value}`,
280
280
  onMouseleave: s[2] || (s[2] = (o) => {
281
281
  se.value = null, A.value = null, l(Z)(!1);
282
282
  }),
@@ -290,7 +290,7 @@ const Ot = ["id"], Pt = {
290
290
  active: N.value,
291
291
  onClose: V
292
292
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
293
- Ue.value ? (r(), y("div", Pt, null, 512)) : f("", !0),
293
+ Re.value ? (r(), y("div", Pt, null, 512)) : f("", !0),
294
294
  e.value.style.chart.title.text ? (r(), y("div", At, [
295
295
  (r(), $(l(Fe), {
296
296
  key: `title_${j.value}`,
@@ -314,7 +314,7 @@ const Ot = ["id"], Pt = {
314
314
  color: e.value.style.chart.color,
315
315
  isPrinting: l(J),
316
316
  isImaging: l(K),
317
- uid: U.value,
317
+ uid: R.value,
318
318
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
319
319
  hasPdf: e.value.userOptions.buttons.pdf,
320
320
  hasXls: e.value.userOptions.buttons.csv,
@@ -510,7 +510,7 @@ const Ot = ["id"], Pt = {
510
510
  i(t.$slots, "source", {}, void 0, !0)
511
511
  ], 512)) : f("", !0),
512
512
  F(l(_e), {
513
- show: h.value.showTooltip && R.value,
513
+ show: h.value.showTooltip && U.value,
514
514
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
515
515
  color: e.value.style.chart.tooltip.color,
516
516
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -563,7 +563,7 @@ const Ot = ["id"], Pt = {
563
563
  _("div", {
564
564
  innerHTML: o,
565
565
  style: { display: "flex", "align-items": "center" }
566
- }, null, 8, Ut)
566
+ }, null, 8, Rt)
567
567
  ]),
568
568
  td: d(({ td: o }) => [
569
569
  lt(st(o.name || o), 1)
@@ -575,7 +575,7 @@ const Ot = ["id"], Pt = {
575
575
  }, 8, ["config"])) : f("", !0)
576
576
  ], 46, Ot));
577
577
  }
578
- }, Xt = /* @__PURE__ */ Tt(Rt, [["__scopeId", "data-v-20a9487b"]]);
578
+ }, Xt = /* @__PURE__ */ Tt(Ut, [["__scopeId", "data-v-20a9487b"]]);
579
579
  export {
580
580
  Xt as default
581
581
  };
@@ -1,16 +1,16 @@
1
1
  import { defineAsyncComponent as _, computed as c, onMounted as Ae, ref as y, watch as Oe, createElementBlock as h, openBlock as r, unref as a, normalizeStyle as I, normalizeClass as te, createBlock as m, createCommentVNode as i, renderSlot as v, createVNode as U, createSlots as Te, withCtx as f, normalizeProps as F, guardReactiveProps as S, createElementVNode as s, Fragment as oe, renderList as le, toDisplayString as O, createTextVNode as ae, nextTick as Le } from "vue";
2
- import { u as Ie, o as Fe, e as se, c as Se, a as Ve, Q as je, X as Re, s as C, w as Be, R as Ue, i as re, f as V, q as We, r as ze } from "./index-DBYSSUsg.js";
3
- import { u as ne } from "./useNestedProp-Cu77c3W4.js";
4
- import { u as De } from "./usePrinter-xF9W73YL.js";
2
+ import { u as Ie, o as Fe, e as se, c as Se, a as Ve, R as je, X as Re, s as C, w as Be, S as Ue, i as re, f as V, q as We, r as ze } from "./index-DpgjO9No.js";
3
+ import { u as ne } from "./useNestedProp-BS0-lsm3.js";
4
+ import { u as De } from "./usePrinter-EqGRLYQ_.js";
5
5
  import { u as Ee } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { u as Ge } from "./useChartAccessibility-9icAAmYg.js";
7
- import He from "./Legend-DLJ9I-cg.js";
8
- import Xe from "./Title-xtSGHclp.js";
7
+ import He from "./Legend-XakQeDJw.js";
8
+ import Xe from "./Title-Be-4IBib.js";
9
9
  import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- const qe = ["id"], Qe = {
10
+ const qe = ["id"], Ye = {
11
11
  key: 2,
12
12
  style: "width:100%;background:transparent"
13
- }, Ye = ["xmlns", "viewBox"], Je = ["width", "height"], Ze = ["id"], et = ["stop-color"], tt = ["stop-color"], ot = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], lt = ["d", "stroke", "stroke-width"], at = ["stroke"], st = ["fill"], rt = ["stroke"], nt = ["fill"], ut = ["stroke"], it = ["fill"], dt = ["stroke"], ct = ["fill"], vt = ["stroke"], yt = ["fill"], ht = ["d", "stroke", "stroke-width", "fill"], ft = ["x1", "y1", "stroke"], pt = ["cx", "cy", "fill", "stroke"], mt = ["fill", "stroke"], gt = ["y", "fill", "font-weight"], kt = ["y", "fill"], bt = {
13
+ }, Je = ["xmlns", "viewBox"], Qe = ["width", "height"], Ze = ["id"], et = ["stop-color"], tt = ["stop-color"], ot = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], lt = ["d", "stroke", "stroke-width"], at = ["stroke"], st = ["fill"], rt = ["stroke"], nt = ["fill"], ut = ["stroke"], it = ["fill"], dt = ["stroke"], ct = ["fill"], vt = ["stroke"], yt = ["fill"], ht = ["d", "stroke", "stroke-width", "fill"], ft = ["x1", "y1", "stroke"], pt = ["cx", "cy", "fill", "stroke"], mt = ["fill", "stroke"], gt = ["y", "fill", "font-weight"], kt = ["y", "fill"], bt = {
14
14
  key: 5,
15
15
  class: "vue-data-ui-watermark"
16
16
  }, Ct = ["onClick"], wt = { style: { "font-weight": "bold" } }, xt = {
@@ -34,7 +34,7 @@ const qe = ["id"], Qe = {
34
34
  }
35
35
  },
36
36
  setup(ue, { expose: ie }) {
37
- const de = _(() => import("./vue-ui-accordion-CEZHj_of.js")), $ = _(() => import("./BaseIcon-D0Q4E4nY.js")), ce = _(() => import("./DataTable-DzCoab4C.js")), ve = _(() => import("./PackageVersion-DrhYhyQR.js")), ye = _(() => import("./PenAndPaper-BdnVqpO9.js")), he = _(() => import("./vue-ui-skeleton-BJy7bURO.js")), fe = _(() => import("./UserOptions-BbJkNcCM.js")), { vue_ui_mood_radar: pe } = Ie(), d = ue, M = c(() => !!d.dataset && Object.keys(d.dataset).length);
37
+ const de = _(() => import("./vue-ui-accordion-B7SuIgFc.js")), $ = _(() => import("./BaseIcon-CjLVVFOF.js")), ce = _(() => import("./DataTable-CQHjdD9t.js")), ve = _(() => import("./PackageVersion-mH9eFSdi.js")), ye = _(() => import("./PenAndPaper-C49A3fVl.js")), he = _(() => import("./vue-ui-skeleton-C-ca3jum.js")), fe = _(() => import("./UserOptions-CZOjPjId.js")), { vue_ui_mood_radar: pe } = Ie(), d = ue, M = c(() => !!d.dataset && Object.keys(d.dataset).length);
38
38
  Ae(() => {
39
39
  W();
40
40
  });
@@ -63,7 +63,7 @@ const qe = ["id"], Qe = {
63
63
  Oe(() => d.config, (o) => {
64
64
  e.value = X(), j.value = !e.value.userOptions.showOnChartHover, W(), ke.value += 1, be.value += 1, D.value += 1, N.value.showTable = e.value.table.show;
65
65
  }, { deep: !0 });
66
- const { isPrinting: K, isImaging: q, generatePdf: Q, generateImage: Y } = De({
66
+ const { isPrinting: K, isImaging: q, generatePdf: Y, generateImage: J } = De({
67
67
  elementId: P.value,
68
68
  fileName: e.value.style.chart.title.text || "vue-ui-mood-radar",
69
69
  options: e.value.userOptions.print
@@ -95,7 +95,7 @@ const qe = ["id"], Qe = {
95
95
  proportion: t / w.value,
96
96
  color: e.value.style.chart.layout.smileys.colors[o]
97
97
  };
98
- }).sort((o, l) => l.key - o.key)), J = c(() => M.value ? (["1", "2", "3", "4", "5"].forEach((o) => {
98
+ }).sort((o, l) => l.key - o.key)), Q = c(() => M.value ? (["1", "2", "3", "4", "5"].forEach((o) => {
99
99
  [null, void 0].includes(d.dataset[o]) && se({
100
100
  componentName: "VueUiMoodRadar",
101
101
  type: "datasetAttribute",
@@ -194,9 +194,9 @@ const qe = ["id"], Qe = {
194
194
  }
195
195
  return ie({
196
196
  getData: Me,
197
- generatePdf: Q,
197
+ generatePdf: Y,
198
198
  generateCsv: Z,
199
- generateImage: Y,
199
+ generateImage: J,
200
200
  toggleTable: ee,
201
201
  toggleAnnotator: B
202
202
  }), (o, l) => (r(), h("div", {
@@ -223,7 +223,7 @@ const qe = ["id"], Qe = {
223
223
  class: "vue-data-ui-no-title-space",
224
224
  style: "height:36px; width: 100%;background:transparent"
225
225
  }, null, 512)) : i("", !0),
226
- e.value.style.chart.title.text ? (r(), h("div", Qe, [
226
+ e.value.style.chart.title.text ? (r(), h("div", Ye, [
227
227
  U(Xe, {
228
228
  config: {
229
229
  title: {
@@ -259,9 +259,9 @@ const qe = ["id"], Qe = {
259
259
  isAnnotation: L.value,
260
260
  callbacks: e.value.userOptions.callbacks,
261
261
  onToggleFullscreen: Pe,
262
- onGeneratePdf: a(Q),
262
+ onGeneratePdf: a(Y),
263
263
  onGenerateCsv: Z,
264
- onGenerateImage: a(Y),
264
+ onGenerateImage: a(J),
265
265
  onToggleTable: ee,
266
266
  onToggleAnnotator: B,
267
267
  style: I({
@@ -339,7 +339,7 @@ const qe = ["id"], Qe = {
339
339
  }
340
340
  }, [
341
341
  v(o.$slots, "chart-background", {}, void 0, !0)
342
- ], 8, Je)) : i("", !0),
342
+ ], 8, Qe)) : i("", !0),
343
343
  s("defs", null, [
344
344
  s("radialGradient", {
345
345
  cx: "50%",
@@ -456,14 +456,14 @@ const qe = ["id"], Qe = {
456
456
  fill: n.value === 1 ? a(C)(e.value.style.chart.layout.smileys.colors[1], 20) : "transparent"
457
457
  }, null, 40, yt),
458
458
  s("path", {
459
- d: a(Ue)(J.value.map((t) => t.plots)),
459
+ d: a(Ue)(Q.value.map((t) => t.plots)),
460
460
  stroke: e.value.style.chart.layout.dataPolygon.stroke,
461
461
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
462
462
  "stroke-linecap": "round",
463
463
  "stroke-linejoin": "round",
464
464
  fill: e.value.style.chart.layout.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${P.value})` : a(C)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.opacity)
465
465
  }, null, 8, ht),
466
- (r(!0), h(oe, null, le(J.value.map((t) => t.plots), (t, u) => (r(), h("g", {
466
+ (r(!0), h(oe, null, le(Q.value.map((t) => t.plots), (t, u) => (r(), h("g", {
467
467
  class: "vue-ui-mood-radar-trap",
468
468
  style: I(`opacity:${n.value == t.key ? "1" : "0"}`)
469
469
  }, [
@@ -521,7 +521,7 @@ const qe = ["id"], Qe = {
521
521
  })) + ") ", 9, kt)
522
522
  ], 4))), 256)),
523
523
  v(o.$slots, "svg", { svg: p.value }, void 0, !0)
524
- ], 14, Ye)) : i("", !0),
524
+ ], 14, Je)) : i("", !0),
525
525
  o.$slots.watermark ? (r(), h("div", bt, [
526
526
  v(o.$slots, "watermark", F(S({ isPrinting: a(K) || a(q) })), void 0, !0)
527
527
  ])) : i("", !0),
@@ -1,12 +1,12 @@
1
1
  import { defineAsyncComponent as R, computed as k, ref as v, watch as et, onMounted as tt, nextTick as lt, shallowRef as at, onBeforeUnmount as zt, createElementBlock as i, openBlock as n, unref as r, normalizeStyle as se, normalizeClass as B, createBlock as E, createCommentVNode as g, createVNode as ot, createSlots as Mt, withCtx as L, renderSlot as x, normalizeProps as Y, guardReactiveProps as X, createElementVNode as m, Fragment as T, renderList as F, toDisplayString as N, withDirectives as st, vShow as ut, createTextVNode as ue } from "vue";
2
- import { u as Rt, c as Bt, t as Et, p as Ce, a as Ut, H as D, o as Gt, e as H, b as Yt, d as Xt, m as nt, f as O, X as Ht, s as rt, K as Wt, k as _e, n as W, i as J, x as it, q as qt, r as Kt, y as Jt, S as dt } from "./index-DBYSSUsg.js";
2
+ import { u as Rt, c as Bt, t as Et, p as Ce, a as Ut, H as D, o as Gt, e as H, b as Yt, d as Xt, m as nt, f as O, X as Ht, s as rt, L as Wt, k as _e, n as W, i as K, x as it, q as qt, r as Jt, y as Kt, T as dt } from "./index-DpgjO9No.js";
3
3
  import { t as Qt, u as Zt } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as ct } from "./useNestedProp-Cu77c3W4.js";
5
- import { u as jt } from "./usePrinter-xF9W73YL.js";
4
+ import { u as ct } from "./useNestedProp-BS0-lsm3.js";
5
+ import { u as jt } from "./usePrinter-EqGRLYQ_.js";
6
6
  import { u as el } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as tl } from "./useChartAccessibility-9icAAmYg.js";
8
- import ll from "./Title-xtSGHclp.js";
9
- import al from "./Legend-DLJ9I-cg.js";
8
+ import ll from "./Title-Be-4IBib.js";
9
+ import al from "./Legend-XakQeDJw.js";
10
10
  import { _ as ol } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["id"], il = ["offset", "stop-color"], dl = ["offset", "stop-opacity"], cl = ["id"], vl = ["id"], hl = ["id"], fl = ["flood-color"], pl = ["d", "fill", "stroke", "stroke-width", "filter"], yl = { key: 1 }, bl = ["d", "fill"], gl = { key: 2 }, ml = ["x", "y", "font-size", "font-weight", "fill"], wl = { key: 3 }, $l = ["filter"], kl = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], Ll = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], xl = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Cl = ["d", "fill", "onMouseenter", "onClick"], _l = {
12
12
  key: 5,
@@ -14,7 +14,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
14
14
  }, Tl = {
15
15
  key: 0,
16
16
  class: "vue-ui-nested-donuts-legend-title"
17
- }, Ol = ["onClick"], Fl = ["innerHTML"], Sl = {
17
+ }, Ol = ["onClick"], Fl = ["innerHTML"], Al = {
18
18
  __name: "vue-ui-nested-donuts",
19
19
  props: {
20
20
  config: {
@@ -32,7 +32,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
32
32
  },
33
33
  emits: ["selectLegend", "selectDatapoint"],
34
34
  setup(vt, { expose: ht, emit: ft }) {
35
- const pt = R(() => import("./vue-ui-accordion-CEZHj_of.js")), yt = R(() => import("./DataTable-DzCoab4C.js")), bt = R(() => import("./PackageVersion-DrhYhyQR.js")), gt = R(() => import("./PenAndPaper-BdnVqpO9.js")), mt = R(() => import("./vue-ui-skeleton-BJy7bURO.js")), wt = R(() => import("./Tooltip-D8swCIay.js")), $t = R(() => import("./UserOptions-BbJkNcCM.js")), { vue_ui_nested_donuts: kt } = Rt(), C = vt, Q = k(() => !!C.dataset && C.dataset.length), y = v(Bt()), ne = v(!1), re = v(""), Lt = v(null), Te = v(0), q = v(null), Oe = v(null), ie = v(null), Fe = v(null), Se = v(null), Ae = v(0), Ie = v(0), Ne = v(0), z = v(!0), M = v([]), K = v([]), U = v(!1);
35
+ const pt = R(() => import("./vue-ui-accordion-B7SuIgFc.js")), yt = R(() => import("./DataTable-CQHjdD9t.js")), bt = R(() => import("./PackageVersion-mH9eFSdi.js")), gt = R(() => import("./PenAndPaper-C49A3fVl.js")), mt = R(() => import("./vue-ui-skeleton-C-ca3jum.js")), wt = R(() => import("./Tooltip-B4lRAXc3.js")), $t = R(() => import("./UserOptions-CZOjPjId.js")), { vue_ui_nested_donuts: kt } = Rt(), C = vt, Q = k(() => !!C.dataset && C.dataset.length), y = v(Bt()), ne = v(!1), re = v(""), Lt = v(null), Te = v(0), q = v(null), Oe = v(null), ie = v(null), Fe = v(null), Ae = v(null), Se = v(0), Ie = v(0), Ne = v(0), z = v(!0), M = v([]), J = v([]), U = v(!1);
36
36
  function xt(l) {
37
37
  U.value = l, Te.value += 1;
38
38
  }
@@ -58,7 +58,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
58
58
  et(
59
59
  () => C.config,
60
60
  (l) => {
61
- e.value = ze(), de.value = !e.value.userOptions.showOnChartHover, ce(), Ae.value += 1, Ie.value += 1, Ne.value += 1, $.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, $.value.showTable = e.value.table.show, $.value.showTooltip = e.value.style.chart.tooltip.show, h.value.width = e.value.style.chart.width, h.value.height = e.value.style.chart.height;
61
+ e.value = ze(), de.value = !e.value.userOptions.showOnChartHover, ce(), Se.value += 1, Ie.value += 1, Ne.value += 1, $.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, $.value.showTable = e.value.table.show, $.value.showTooltip = e.value.style.chart.tooltip.show, h.value.width = e.value.style.chart.width, h.value.height = e.value.style.chart.height;
62
62
  },
63
63
  { deep: !0 }
64
64
  );
@@ -75,7 +75,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
75
75
  function Ct(l, s = 1e3, a = 50) {
76
76
  return new Promise((o) => {
77
77
  const t = l.length;
78
- M.value = Array(t).fill(0), K.value = [];
78
+ M.value = Array(t).fill(0), J.value = [];
79
79
  let u = 0;
80
80
  l.forEach((c, f) => {
81
81
  setTimeout(() => {
@@ -103,7 +103,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
103
103
  absoluteValues: [],
104
104
  ghost: !0
105
105
  }), we += oe.series.length;
106
- }), K.value = ae, _ < 1 ? requestAnimationFrame(d) : (u += 1, u === t && o());
106
+ }), J.value = ae, _ < 1 ? requestAnimationFrame(d) : (u += 1, u === t && o());
107
107
  }
108
108
  requestAnimationFrame(d);
109
109
  }, f * a);
@@ -115,7 +115,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
115
115
  const s = C.dataset.flatMap((a) => a.series).map(
116
116
  (a) => D(a.values).reduce((o, t) => o + t, 0)
117
117
  );
118
- M.value = s.map(() => 0), z.value = !0, K.value = C.dataset.map((a, o) => {
118
+ M.value = s.map(() => 0), z.value = !0, J.value = C.dataset.map((a, o) => {
119
119
  const t = a.series.reduce(
120
120
  (u, c) => u + D(c.values).reduce((f, I) => f + I, 0),
121
121
  0
@@ -138,7 +138,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
138
138
  e.value.startAnimation.durationMs,
139
139
  e.value.startAnimation.staggerMs
140
140
  ).then(() => {
141
- z.value = !1, K.value = [];
141
+ z.value = !1, J.value = [];
142
142
  });
143
143
  } else
144
144
  z.value = !1;
@@ -158,7 +158,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
158
158
  title: e.value.style.chart.title.text ? Oe.value : null,
159
159
  legend: e.value.style.chart.legend.show ? ie.value : null,
160
160
  source: Fe.value,
161
- noTitle: Se.value,
161
+ noTitle: Ae.value,
162
162
  padding: Me.value
163
163
  });
164
164
  requestAnimationFrame(() => {
@@ -203,7 +203,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
203
203
  }
204
204
  requestAnimationFrame(f);
205
205
  }
206
- const w = v([]), S = k(() => {
206
+ const w = v([]), A = k(() => {
207
207
  C.dataset.forEach((s, a) => {
208
208
  [null, void 0].includes(s.name) && H({
209
209
  componentName: "VueUiNestedDonuts",
@@ -256,7 +256,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
256
256
  };
257
257
  })
258
258
  }));
259
- }), A = k(() => Math.min(h.value.height, h.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), Xe = k(() => [...S.value].map((l, s) => {
259
+ }), S = k(() => Math.min(h.value.height, h.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), Xe = k(() => [...A.value].map((l, s) => {
260
260
  const a = l.series.filter((o) => !w.value.includes(o.id)).map((o) => o.value).reduce((o, t) => o + t, 0);
261
261
  return {
262
262
  ...l,
@@ -288,9 +288,9 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
288
288
  }))
289
289
  ).find((d) => d.id === l.id);
290
290
  if (!s) return;
291
- const a = S.value.flatMap((d) => d.series).find((d) => d.id === l.id)?.value ?? 0, o = b.value.flatMap((d) => d.series).find((d) => d.id === l.id);
291
+ const a = A.value.flatMap((d) => d.series).find((d) => d.id === l.id)?.value ?? 0, o = b.value.flatMap((d) => d.series).find((d) => d.id === l.id);
292
292
  let u = o ? o.value : 0;
293
- const c = S.value.find(
293
+ const c = A.value.find(
294
294
  (d) => d.id === s.arcOfId
295
295
  );
296
296
  if (!c) return;
@@ -330,8 +330,8 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
330
330
  series: d.series.map((p) => p.id === l.id ? { ...p, value: 0 } : p)
331
331
  })), w.value.push(l.id)));
332
332
  }
333
- const he = k(() => A.value / S.value.length * e.value.style.chart.layout.donut.spacingRatio), He = k(() => b.value.map((l, s) => A.value - s * A.value / S.value.length)), Z = k(() => b.value.map((l, s) => {
334
- const a = A.value - s * A.value / b.value.length, o = z.value ? K.value.find((u) => u.datasetIndex === s) : null, t = [...l.series, ...o ? [o] : []].map((u) => ({
333
+ const he = k(() => S.value / A.value.length * e.value.style.chart.layout.donut.spacingRatio), He = k(() => b.value.map((l, s) => S.value - s * S.value / A.value.length)), Z = k(() => b.value.map((l, s) => {
334
+ const a = S.value - s * S.value / b.value.length, o = z.value ? J.value.find((u) => u.datasetIndex === s) : null, t = [...l.series, ...o ? [o] : []].map((u) => ({
335
335
  ...u,
336
336
  value: u.value < 1e-3 ? 1e-3 : u.value
337
337
  }));
@@ -352,26 +352,26 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
352
352
  he.value
353
353
  )
354
354
  };
355
- })), We = k(() => [...S.value].map((l, s) => {
356
- const a = s * A.value / S.value.length;
355
+ })), We = k(() => [...A.value].map((l, s) => {
356
+ const a = s * S.value / A.value.length;
357
357
  return {
358
358
  sizeRatio: a,
359
359
  donut: nt(
360
360
  { series: [{ value: 1 }] },
361
361
  h.value.width / 2,
362
362
  h.value.height / 2,
363
- A.value - a,
364
- A.value - a,
363
+ S.value - a,
364
+ S.value - a,
365
365
  1.99999,
366
366
  2,
367
367
  1,
368
368
  360,
369
369
  105.25,
370
- A.value / S.value.length * e.value.style.chart.layout.donut.spacingRatio
370
+ S.value / A.value.length * e.value.style.chart.layout.donut.spacingRatio
371
371
  )[0]
372
372
  };
373
373
  })), qe = v(null), j = v(null), ee = v(null), fe = v(null);
374
- function St({ datapoint: l, _relativeIndex: s, seriesIndex: a }) {
374
+ function At({ datapoint: l, _relativeIndex: s, seriesIndex: a }) {
375
375
  qe.value = l.arcOfId, j.value = l.id, ee.value = a, fe.value = {
376
376
  datapoint: l,
377
377
  seriesIndex: a,
@@ -379,7 +379,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
379
379
  config: e.value
380
380
  };
381
381
  const o = e.value.style.chart.tooltip.customFormat;
382
- if (it(o) && Jt(
382
+ if (it(o) && Kt(
383
383
  () => o({
384
384
  seriesIndex: a,
385
385
  datapoint: l,
@@ -410,7 +410,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
410
410
  </span>
411
411
  </div>
412
412
  <span>
413
- ${e.value.style.chart.tooltip.showValue ? `<b>${J(
413
+ ${e.value.style.chart.tooltip.showValue ? `<b>${K(
414
414
  e.value.style.chart.layout.labels.dataLabels.formatter,
415
415
  l.value,
416
416
  O({
@@ -432,7 +432,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
432
432
  `;
433
433
  });
434
434
  } else
435
- t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.arcOf ?? ""} - ${l.name}</div>`, t += `<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="${l.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (t += `<b>${J(
435
+ t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.arcOf ?? ""} - ${l.name}</div>`, t += `<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="${l.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (t += `<b>${K(
436
436
  e.value.style.chart.layout.labels.dataLabels.formatter,
437
437
  l.value,
438
438
  O({
@@ -458,7 +458,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
458
458
  function pe(l) {
459
459
  return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
460
460
  }
461
- function Ke(l, s) {
461
+ function Je(l, s) {
462
462
  if (!e.value.useBlurOnHover)
463
463
  return "";
464
464
  if (e.value.style.chart.tooltip.showAllItemsAtIndex && w.value.length === 0)
@@ -466,7 +466,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
466
466
  if (!e.value.style.chart.tooltip.showAllItemsAtIndex || w.value.length)
467
467
  return [null, void 0].includes(j.value) || j.value === l.id ? "" : `url(#blur_${y.value})`;
468
468
  }
469
- const ye = k(() => S.value.map((l, s) => {
469
+ const ye = k(() => A.value.map((l, s) => {
470
470
  const a = l.series.filter(
471
471
  (t) => !w.value.includes(t.id)
472
472
  ), o = z.value ? a.map((t) => {
@@ -497,7 +497,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
497
497
  isSegregated: w.value.includes(t.id)
498
498
  };
499
499
  });
500
- })), At = k(() => ({
500
+ })), St = k(() => ({
501
501
  cy: "nested-donuts-legend",
502
502
  backgroundColor: e.value.style.chart.legend.backgroundColor,
503
503
  color: e.value.style.chart.legend.color,
@@ -512,7 +512,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
512
512
  }))), s = b.value.flatMap((a) => a.series.map((o) => o.value));
513
513
  return { head: l, body: s };
514
514
  });
515
- function Je(l = null) {
515
+ function Ke(l = null) {
516
516
  lt(() => {
517
517
  const s = P.value.head.map((t, u) => [
518
518
  [t.name],
@@ -525,7 +525,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
525
525
  [e.value.style.chart.title.subtitle.text],
526
526
  [[""], ["val"], ["%"]]
527
527
  ].concat(s), o = qt(a);
528
- l ? l(o) : Kt({
528
+ l ? l(o) : Jt({
529
529
  csvContent: o,
530
530
  title: e.value.style.chart.title.text || "vue-ui-nested-donuts"
531
531
  });
@@ -580,7 +580,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
580
580
  };
581
581
  });
582
582
  function It() {
583
- return S.value;
583
+ return A.value;
584
584
  }
585
585
  function Qe() {
586
586
  $.value.showTable = !$.value.showTable;
@@ -598,7 +598,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
598
598
  return ht({
599
599
  getData: It,
600
600
  generatePdf: Ee,
601
- generateCsv: Je,
601
+ generateCsv: Ke,
602
602
  generateImage: Ue,
603
603
  toggleTable: Qe,
604
604
  toggleLabels: Ze,
@@ -624,7 +624,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
624
624
  _t.value ? (n(), i("div", {
625
625
  key: 1,
626
626
  ref_key: "noTitle",
627
- ref: Se,
627
+ ref: Ae,
628
628
  class: "vue-data-ui-no-title-space",
629
629
  style: "height:36px; width: 100%;background:transparent"
630
630
  }, null, 512)) : g("", !0),
@@ -634,7 +634,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
634
634
  ref: Oe
635
635
  }, [
636
636
  (n(), E(ll, {
637
- key: `title_${Ae.value}`,
637
+ key: `title_${Se.value}`,
638
638
  config: {
639
639
  title: {
640
640
  cy: "donut-div-title",
@@ -672,7 +672,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
672
672
  callbacks: e.value.userOptions.callbacks,
673
673
  onToggleFullscreen: xt,
674
674
  onGeneratePdf: r(Ee),
675
- onGenerateCsv: Je,
675
+ onGenerateCsv: Ke,
676
676
  onGenerateImage: r(Ue),
677
677
  onToggleTable: Qe,
678
678
  onToggleLabels: Ze,
@@ -836,7 +836,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
836
836
  fill: r(rt)(t.color, 80),
837
837
  stroke: e.value.style.chart.backgroundColor,
838
838
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
839
- filter: Ke(t, u)
839
+ filter: Je(t, u)
840
840
  }, null, 8, pl)
841
841
  ]))), 256))
842
842
  ]))), 256)),
@@ -872,7 +872,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
872
872
  e.value.style.chart.layout.labels.dataLabels.show ? (n(), i("g", wl, [
873
873
  (n(!0), i(T, null, F(Z.value, (a, o) => (n(), i("g", null, [
874
874
  (n(!0), i(T, null, F(a.donut.filter((t) => !t.ghost), (t, u) => (n(), i("g", {
875
- filter: Ke(t, u)
875
+ filter: Je(t, u)
876
876
  }, [
877
877
  st(m("text", {
878
878
  class: B({ animated: e.value.useCssAnimation }),
@@ -918,7 +918,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
918
918
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? t.color : e.value.style.chart.layout.labels.dataLabels.color,
919
919
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
920
920
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
921
- }, " (" + N(r(J)(
921
+ }, " (" + N(r(K)(
922
922
  e.value.style.chart.layout.labels.dataLabels.formatter,
923
923
  t.value,
924
924
  r(O)({
@@ -951,7 +951,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
951
951
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? t.color : e.value.style.chart.layout.labels.dataLabels.color,
952
952
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
953
953
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
954
- }, N(r(J)(
954
+ }, N(r(K)(
955
955
  e.value.style.chart.layout.labels.dataLabels.formatter,
956
956
  t.value,
957
957
  r(O)({
@@ -970,7 +970,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
970
970
  m("path", {
971
971
  d: t.arcSlice,
972
972
  fill: Lt.value === o ? "rgba(0,0,0,0.1)" : "transparent",
973
- onMouseenter: (c) => St({
973
+ onMouseenter: (c) => At({
974
974
  datapoint: t,
975
975
  seriesIndex: t.seriesIndex
976
976
  }),
@@ -1031,7 +1031,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
1031
1031
  (n(!0), i(T, null, F(ye.value, (a, o) => (n(), E(al, {
1032
1032
  key: `legend_${o}_${Ne.value}`,
1033
1033
  legendSet: a,
1034
- config: At.value,
1034
+ config: St.value,
1035
1035
  onClickMarker: s[1] || (s[1] = ({ legend: t }) => ve(t))
1036
1036
  }, {
1037
1037
  legendTitle: L(({ titleSet: t }) => [
@@ -1042,7 +1042,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
1042
1042
  onClick: (c) => ve(t),
1043
1043
  style: se(`opacity:${w.value.includes(t.id) ? 0.5 : 1}`)
1044
1044
  }, [
1045
- ue(N(t.name) + ": " + N(r(J)(
1045
+ ue(N(t.name) + ": " + N(r(K)(
1046
1046
  e.value.style.chart.layout.labels.dataLabels.formatter,
1047
1047
  t.value,
1048
1048
  r(O)({
@@ -1124,7 +1124,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
1124
1124
  }, 8, ["config"])) : g("", !0)
1125
1125
  ], 46, sl));
1126
1126
  }
1127
- }, El = /* @__PURE__ */ ol(Sl, [["__scopeId", "data-v-01b7bea5"]]);
1127
+ }, El = /* @__PURE__ */ ol(Al, [["__scopeId", "data-v-01b7bea5"]]);
1128
1128
  export {
1129
1129
  El as default
1130
1130
  };