vue-data-ui 2.17.6 → 2.17.7

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 (89) hide show
  1. package/dist/{Arrow-B5XMxiDI.js → Arrow-me__N_0y.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B05teCuC.js → BaseDraggableDialog-B3vDETZF.js} +2 -2
  3. package/dist/{BaseIcon-CbMrQkx9.js → BaseIcon-ChZPZX-A.js} +1 -1
  4. package/dist/{ColorPicker-KP19H18w.js → ColorPicker-BTHKcTCn.js} +2 -2
  5. package/dist/{DataTable-CZ_AURpz.js → DataTable-U4EH3cP4.js} +2 -2
  6. package/dist/{Legend-BHey9BA_.js → Legend-BQfiyC_w.js} +19 -18
  7. package/dist/{NonSvgPenAndPaper-C9niuQO5.js → NonSvgPenAndPaper-B58ag5uE.js} +3 -3
  8. package/dist/{PackageVersion-BuyTFzA_.js → PackageVersion-NDKFRBq5.js} +1 -1
  9. package/dist/{PenAndPaper-C6SI350S.js → PenAndPaper-CwoLkSrd.js} +3 -3
  10. package/dist/{Shape-DeUTHS2H.js → Shape-CeJI3w0R.js} +1 -1
  11. package/dist/{Slicer-fejiX9pa.js → Slicer-DKLVa_w9.js} +2 -2
  12. package/dist/{SparkTooltip-Bh6sdk1R.js → SparkTooltip-1viQ12s2.js} +1 -1
  13. package/dist/{Title-eafHHaEy.js → Title-tOz-gEGM.js} +1 -1
  14. package/dist/{Tooltip-DqkPv4p5.js → Tooltip-Dw_vV0R_.js} +1 -1
  15. package/dist/{UserOptions-Xu1YwU1i.js → UserOptions-Bepf6s0a.js} +2 -2
  16. package/dist/{dom-to-png-DttAWyyk.js → dom-to-png-C4e097oF.js} +1 -1
  17. package/dist/{img-B7FQLrD7.js → img-Bb0wcHve.js} +1 -1
  18. package/dist/{index-CNt4Vhp9.js → index-R4FwM_IZ.js} +612 -623
  19. package/dist/{pdf-MhTzuA1z.js → pdf-Bap-QOia.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +1 -0
  22. package/dist/types/vue-data-ui.d.ts +1 -0
  23. package/dist/{useNestedProp-BI2tFEgE.js → useNestedProp-BK4CixKz.js} +1 -1
  24. package/dist/{usePrinter-BGZOlDDN.js → usePrinter-3YhL7e8Q.js} +2 -2
  25. package/dist/{vue-data-ui-ClvOBukx.js → vue-data-ui-CY0rRZ7Z.js} +63 -63
  26. package/dist/vue-data-ui.js +1 -1
  27. package/dist/{vue-ui-3d-bar-DpD3ikuS.js → vue-ui-3d-bar-Dep0ysOa.js} +6 -6
  28. package/dist/{vue-ui-accordion-BE-IMk5e.js → vue-ui-accordion-CvmwQkdH.js} +3 -3
  29. package/dist/{vue-ui-age-pyramid-iTZEunV8.js → vue-ui-age-pyramid-BCPyK18i.js} +6 -6
  30. package/dist/{vue-ui-annotator-BzvdPz95.js → vue-ui-annotator-JTkkUkwf.js} +2 -2
  31. package/dist/{vue-ui-bullet-B-wUrrB3.js → vue-ui-bullet-JkggghcX.js} +7 -7
  32. package/dist/{vue-ui-candlestick-CCWOBvyK.js → vue-ui-candlestick-BGV4q10G.js} +7 -7
  33. package/dist/{vue-ui-carousel-table-Bui8kmRH.js → vue-ui-carousel-table-B_ie5YYq.js} +4 -4
  34. package/dist/{vue-ui-chestnut-CWng5XOC.js → vue-ui-chestnut-CLxKZsOD.js} +6 -6
  35. package/dist/{vue-ui-chord-CcWakA3D.js → vue-ui-chord-Co3kJVCi.js} +8 -8
  36. package/dist/{vue-ui-circle-pack-BCaGnC6O.js → vue-ui-circle-pack-PL75C9jO.js} +6 -6
  37. package/dist/{vue-ui-cursor-CehblpQK.js → vue-ui-cursor-DC7O-8eZ.js} +2 -2
  38. package/dist/{vue-ui-dashboard-0GLoZUA2.js → vue-ui-dashboard-C3nn1lMD.js} +62 -62
  39. package/dist/{vue-ui-digits-DF1vHQ1D.js → vue-ui-digits-D5UgycEC.js} +2 -2
  40. package/dist/{vue-ui-donut-DRBk_HYh.js → vue-ui-donut-eHNz1cS2.js} +150 -143
  41. package/dist/{vue-ui-donut-evolution-CLHxXCuD.js → vue-ui-donut-evolution-BNo8EYG7.js} +8 -8
  42. package/dist/{vue-ui-dumbbell-BRmCusY0.js → vue-ui-dumbbell-D2RD8nwP.js} +7 -7
  43. package/dist/{vue-ui-flow-D7WGLuvV.js → vue-ui-flow-nlmivNyk.js} +7 -7
  44. package/dist/{vue-ui-funnel-DjNGxVxu.js → vue-ui-funnel-eWVO6Rh-.js} +6 -6
  45. package/dist/{vue-ui-galaxy-U8ejfLWO.js → vue-ui-galaxy-Ch2uWCU5.js} +5 -5
  46. package/dist/{vue-ui-gauge-DizxW2Xu.js → vue-ui-gauge-Ccknj5io.js} +6 -6
  47. package/dist/{vue-ui-gizmo-BjFeSL7X.js → vue-ui-gizmo-CYbxx735.js} +3 -3
  48. package/dist/{vue-ui-heatmap-Ccv1uJHg.js → vue-ui-heatmap-zSgV_xBw.js} +7 -7
  49. package/dist/{vue-ui-history-plot-DZr3ZdGS.js → vue-ui-history-plot-DwOOZx8Y.js} +7 -7
  50. package/dist/{vue-ui-kpi-BAbus_Tt.js → vue-ui-kpi-vZcmV3FL.js} +3 -3
  51. package/dist/{vue-ui-mini-loader-jDIz8RyR.js → vue-ui-mini-loader-DqrVkeKh.js} +2 -2
  52. package/dist/{vue-ui-molecule-DXv62-LW.js → vue-ui-molecule-DuMBa5Er.js} +5 -5
  53. package/dist/{vue-ui-mood-radar-B9oxs6M6.js → vue-ui-mood-radar-DeFiyKZo.js} +7 -7
  54. package/dist/{vue-ui-nested-donuts-DdQ09CTY.js → vue-ui-nested-donuts-ChqfdGIA.js} +7 -7
  55. package/dist/{vue-ui-onion-DOptmUuE.js → vue-ui-onion-f1aoOv6z.js} +7 -7
  56. package/dist/{vue-ui-parallel-coordinate-plot-CE05YF2g.js → vue-ui-parallel-coordinate-plot-Ca-UNZey.js} +8 -8
  57. package/dist/{vue-ui-quadrant-DYz8y-m1.js → vue-ui-quadrant-DUCj9oO3.js} +8 -8
  58. package/dist/{vue-ui-quick-chart-plvfC_DT.js → vue-ui-quick-chart-R2nTOiT6.js} +6 -6
  59. package/dist/{vue-ui-radar-CJe7r_Ks.js → vue-ui-radar-CVcnsuAK.js} +7 -7
  60. package/dist/{vue-ui-rating-D1jE5Ak_.js → vue-ui-rating-D2wYPFBm.js} +2 -2
  61. package/dist/{vue-ui-relation-circle-B6X49uAY.js → vue-ui-relation-circle-D9TquCd5.js} +6 -6
  62. package/dist/{vue-ui-ridgeline-C7EZKTo6.js → vue-ui-ridgeline-Cg1Zo2a_.js} +8 -8
  63. package/dist/{vue-ui-rings-C3RKJnZC.js → vue-ui-rings-DUjrPHK_.js} +8 -8
  64. package/dist/{vue-ui-scatter-FCuwnAoV.js → vue-ui-scatter-BWB6HCP0.js} +8 -8
  65. package/dist/{vue-ui-skeleton-Bpd3uMFT.js → vue-ui-skeleton-WSSONwJZ.js} +3 -3
  66. package/dist/{vue-ui-smiley-DJAXb8r7.js → vue-ui-smiley-WLYZ-Ah-.js} +2 -2
  67. package/dist/{vue-ui-spark-trend-aQNa2scr.js → vue-ui-spark-trend-E6k5O2Rw.js} +3 -3
  68. package/dist/{vue-ui-sparkbar-DG1xT-2y.js → vue-ui-sparkbar-CNzH63eE.js} +3 -3
  69. package/dist/{vue-ui-sparkgauge-B_P9WUij.js → vue-ui-sparkgauge-Bhh1DXey.js} +3 -3
  70. package/dist/{vue-ui-sparkhistogram-CFeb1YdS.js → vue-ui-sparkhistogram-DyLwFyLp.js} +4 -4
  71. package/dist/{vue-ui-sparkline-Du-laBid.js → vue-ui-sparkline-uS8cCax1.js} +3 -3
  72. package/dist/{vue-ui-sparkstackbar-SZ5eU6gZ.js → vue-ui-sparkstackbar-C6dYAH8m.js} +3 -3
  73. package/dist/{vue-ui-stackbar-BXFKobNU.js → vue-ui-stackbar-Dddp2o8G.js} +9 -9
  74. package/dist/{vue-ui-strip-plot-BDo6l_l6.js → vue-ui-strip-plot-B6yC9kff.js} +7 -7
  75. package/dist/{vue-ui-table-BpoXkgRA.js → vue-ui-table-Cnih0nfc.js} +3 -3
  76. package/dist/{vue-ui-table-heatmap-BJFJ2K1F.js → vue-ui-table-heatmap-BS8p2f9Z.js} +5 -5
  77. package/dist/{vue-ui-table-sparkline-Dxorwils.js → vue-ui-table-sparkline-CKq52QYD.js} +4 -4
  78. package/dist/{vue-ui-thermometer-BJF-fB5p.js → vue-ui-thermometer-DsLI46GU.js} +6 -6
  79. package/dist/{vue-ui-timer-DWmZKJij.js → vue-ui-timer-BJlG0PSO.js} +5 -5
  80. package/dist/{vue-ui-tiremarks-BwL7Z4fj.js → vue-ui-tiremarks-DdG9sprc.js} +6 -6
  81. package/dist/{vue-ui-treemap-DNgGFetB.js → vue-ui-treemap-Bv_8qc1b.js} +8 -8
  82. package/dist/{vue-ui-vertical-bar-CNr5Jrwd.js → vue-ui-vertical-bar-BFHAmyWq.js} +9 -9
  83. package/dist/{vue-ui-waffle-BeAxPtiv.js → vue-ui-waffle-DlU66HMb.js} +8 -8
  84. package/dist/{vue-ui-wheel-BZ0pa_6W.js → vue-ui-wheel-hbOXnmiy.js} +6 -6
  85. package/dist/{vue-ui-word-cloud-DIjaOMPZ.js → vue-ui-word-cloud-LPiLJ5Oe.js} +6 -6
  86. package/dist/{vue-ui-world-CvRfePfH.js → vue-ui-world-C5XgS-5e.js} +6 -6
  87. package/dist/{vue-ui-xy-5gnkPQs4.js → vue-ui-xy-BEZVemUJ.js} +17 -17
  88. package/dist/{vue-ui-xy-canvas-BHKnaGNJ.js → vue-ui-xy-canvas-DxVCBwMh.js} +8 -8
  89. package/package.json +2 -2
@@ -1,16 +1,16 @@
1
- import { defineAsyncComponent as te, useSlots as Bt, computed as f, shallowRef as W, ref as w, onMounted as st, onBeforeUnmount as Gt, watch as nt, createElementBlock as u, openBlock as s, normalizeStyle as k, normalizeClass as Ce, createBlock as le, createCommentVNode as v, renderSlot as b, createElementVNode as h, createVNode as Pe, unref as r, createSlots as ut, withCtx as P, normalizeProps as ue, guardReactiveProps as re, Fragment as p, renderList as A, mergeProps as rt, toDisplayString as M, createTextVNode as Et, nextTick as Rt } from "vue";
2
- import { u as Wt, o as Ut, e as it, g as jt, c as Ht, b as qt, v as Jt, d as vt, p as ae, m as dt, $ as Kt, f as z, X as Qt, s as ge, w as Zt, j as el, N as L, i as V, k as he, n as x, t as tl, a as ll, C as Te, q as al, r as ol, x as sl, T as ct } from "./index-CNt4Vhp9.js";
1
+ import { defineAsyncComponent as te, useSlots as Bt, computed as f, shallowRef as W, ref as w, onMounted as nt, onBeforeUnmount as Et, watch as ut, createElementBlock as u, openBlock as s, normalizeStyle as k, normalizeClass as Ce, createBlock as le, createCommentVNode as v, renderSlot as b, createElementVNode as h, createVNode as Pe, unref as r, createSlots as rt, withCtx as P, normalizeProps as ue, guardReactiveProps as re, Fragment as p, renderList as A, mergeProps as it, toDisplayString as M, createTextVNode as Gt, nextTick as Rt } from "vue";
2
+ import { u as Wt, o as Ut, e as Te, g as jt, c as Ht, b as qt, v as Jt, d as vt, p as ae, m as dt, $ as Kt, f as z, X as Qt, s as ge, w as Zt, j as el, N as L, i as V, k as he, n as x, t as tl, a as ll, C as Ie, q as al, r as ol, x as sl, T as ct } from "./index-R4FwM_IZ.js";
3
3
  import { t as nl, u as ul } from "./useResponsive-DfdjqQps.js";
4
- import { u as ht } from "./useNestedProp-BI2tFEgE.js";
5
- import { u as rl } from "./usePrinter-BGZOlDDN.js";
4
+ import { u as ht } from "./useNestedProp-BK4CixKz.js";
5
+ import { u as rl } from "./usePrinter-3YhL7e8Q.js";
6
6
  import { u as il } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as vl } from "./useChartAccessibility-9icAAmYg.js";
8
- import dl from "./Legend-BHey9BA_.js";
9
- import cl from "./Title-eafHHaEy.js";
10
- import { _ as hl } from "./Shape-DeUTHS2H.js";
11
- import yl from "./img-B7FQLrD7.js";
8
+ import dl from "./Legend-BQfiyC_w.js";
9
+ import cl from "./Title-tOz-gEGM.js";
10
+ import { _ as hl } from "./Shape-CeJI3w0R.js";
11
+ import yl from "./img-Bb0wcHve.js";
12
12
  import { _ as fl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { key: 1 }, wl = ["id"], kl = ["stop-color"], xl = ["offset", "stop-color"], _l = ["offset", "stop-color"], $l = ["stop-color"], Cl = { key: 2 }, Pl = ["id", "cx", "cy"], Tl = ["stop-color", "stop-opacity"], Il = ["stop-color"], Ml = ["id"], Al = ["id"], Sl = ["id"], Ll = ["flood-color"], Fl = ["id"], zl = ["flood-color"], Ol = ["d", "stroke", "filter"], Nl = ["d", "stroke", "filter"], Yl = ["cx", "cy", "r", "fill", "filter"], Xl = { key: 6 }, Vl = ["stroke", "d"], Dl = ["d", "fill", "stroke", "stroke-width", "filter"], Bl = { key: 0 }, Gl = ["d", "fill", "stroke", "stroke-width", "filter"], El = { key: 0 }, Rl = ["stroke", "d"], Wl = { key: 0 }, Ul = ["d", "stroke", "stroke-width", "filter"], jl = { key: 1 }, Hl = ["d", "fill", "stroke", "stroke-width", "filter"], ql = ["d", "fill", "stroke", "stroke-width", "filter"], Jl = { key: 1 }, Kl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ql = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Zl = { key: 0 }, ea = ["d", "fill", "stroke", "stroke-width"], ta = ["cx", "cy", "r", "stroke"], la = ["cx", "cy", "r", "fill"], aa = { key: 0 }, oa = ["d", "fill", "onMouseenter", "onMouseleave", "onClick"], sa = { key: 1 }, na = ["cx", "cy", "r"], ua = ["x", "y", "fill", "font-size"], ra = ["x", "y", "fill", "font-size"], ia = ["x", "y", "fill", "font-size"], va = ["x", "y", "fill", "font-size"], da = ["filter"], ca = { key: 0 }, ha = ["x", "y"], ya = { key: 1 }, fa = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], pa = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], ga = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], ma = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], ba = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], wa = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], ka = { key: 2 }, xa = ["x", "y", "width"], _a = ["x", "y", "width"], $a = {
13
+ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { key: 1 }, wl = ["id"], kl = ["stop-color"], xl = ["offset", "stop-color"], _l = ["offset", "stop-color"], $l = ["stop-color"], Cl = { key: 2 }, Pl = ["id", "cx", "cy"], Tl = ["stop-color", "stop-opacity"], Il = ["stop-color"], Ml = ["id"], Al = ["id"], Sl = ["id"], Ll = ["flood-color"], Fl = ["id"], zl = ["flood-color"], Ol = ["d", "stroke", "filter"], Nl = ["d", "stroke", "filter"], Yl = ["cx", "cy", "r", "fill", "filter"], Xl = { key: 6 }, Vl = ["stroke", "d"], Dl = ["d", "fill", "stroke", "stroke-width", "filter"], Bl = { key: 0 }, El = ["d", "fill", "stroke", "stroke-width", "filter"], Gl = { key: 0 }, Rl = ["stroke", "d"], Wl = { key: 0 }, Ul = ["d", "stroke", "stroke-width", "filter"], jl = { key: 1 }, Hl = ["d", "fill", "stroke", "stroke-width", "filter"], ql = ["d", "fill", "stroke", "stroke-width", "filter"], Jl = { key: 1 }, Kl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ql = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Zl = { key: 0 }, ea = ["d", "fill", "stroke", "stroke-width"], ta = ["cx", "cy", "r", "stroke"], la = ["cx", "cy", "r", "fill"], aa = { key: 0 }, oa = ["d", "fill", "onMouseenter", "onMouseleave", "onClick"], sa = { key: 1 }, na = ["cx", "cy", "r"], ua = ["x", "y", "fill", "font-size"], ra = ["x", "y", "fill", "font-size"], ia = ["x", "y", "fill", "font-size"], va = ["x", "y", "fill", "font-size"], da = ["filter"], ca = { key: 0 }, ha = ["x", "y"], ya = { key: 1 }, fa = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], pa = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], ga = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], ma = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], ba = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], wa = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], ka = { key: 2 }, xa = ["x", "y", "width"], _a = ["x", "y", "width"], $a = {
14
14
  key: 5,
15
15
  class: "vue-data-ui-watermark"
16
16
  }, Ca = ["onClick"], Pa = ["innerHTML"], Ta = {
@@ -30,45 +30,52 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
30
30
  }
31
31
  },
32
32
  emits: ["selectLegend", "selectDatapoint"],
33
- setup(Ie, { expose: yt, emit: ft }) {
34
- const pt = te(() => import("./vue-ui-accordion-BE-IMk5e.js")), gt = te(() => import("./DataTable-CZ_AURpz.js")), mt = te(() => import("./PackageVersion-BuyTFzA_.js")), bt = te(() => import("./PenAndPaper-C6SI350S.js")), wt = te(() => import("./vue-ui-skeleton-Bpd3uMFT.js")), kt = te(() => import("./Tooltip-DqkPv4p5.js")), xt = te(() => import("./UserOptions-Xu1YwU1i.js")), { vue_ui_donut: _t } = Wt(), $t = Bt(), m = Ie, ie = f({
33
+ setup(Me, { expose: yt, emit: ft }) {
34
+ const pt = te(() => import("./vue-ui-accordion-CvmwQkdH.js")), gt = te(() => import("./DataTable-U4EH3cP4.js")), mt = te(() => import("./PackageVersion-NDKFRBq5.js")), bt = te(() => import("./PenAndPaper-CwoLkSrd.js")), wt = te(() => import("./vue-ui-skeleton-WSSONwJZ.js")), kt = te(() => import("./Tooltip-Dw_vV0R_.js")), xt = te(() => import("./UserOptions-Bepf6s0a.js")), { vue_ui_donut: _t } = Wt(), $t = Bt(), g = Me, ie = f({
35
35
  get() {
36
- return !!m.dataset && m.dataset.length;
36
+ return !!g.dataset && g.dataset.length;
37
37
  },
38
38
  set(l) {
39
39
  return l;
40
40
  }
41
- }), U = W(null), Me = W(null), Ae = W(null), j = W(null), oe = W(null), Se = W(null), Le = W(null), Fe = w(0), ze = w(0), Oe = w(0);
42
- st(() => {
43
- Ne();
44
- }), Gt(() => {
41
+ }), U = W(null), Ae = W(null), Se = W(null), j = W(null), oe = W(null), Le = W(null), Fe = W(null), ze = w(0), Oe = w(0), Ne = w(0);
42
+ nt(() => {
43
+ Ye();
44
+ }), Et(() => {
45
45
  j.value && (oe.value && j.value.unobserve(oe.value), j.value.disconnect());
46
46
  });
47
- function Ne() {
48
- if (Ut(m.dataset) ? it({
47
+ function Ye() {
48
+ if (Ut(g.dataset) ? Te({
49
49
  componentName: "VueUiDonut",
50
50
  type: "dataset"
51
- }) : m.dataset.forEach((l, o) => {
51
+ }) : (g.dataset.forEach((l, o) => {
52
52
  jt({
53
53
  datasetObject: l,
54
54
  requiredAttributes: ["name", "values"]
55
55
  }).forEach((t) => {
56
- ie.value = !1, it({
56
+ ie.value = !1, Te({
57
57
  componentName: "VueUiDonut",
58
58
  type: "datasetSerieAttribute",
59
59
  property: t,
60
60
  index: o
61
61
  });
62
62
  });
63
- }), e.value.responsive) {
63
+ }), g.dataset.forEach((l, o) => {
64
+ (!l.name || l.name === "") && Te({
65
+ componentName: "VueUiDonut",
66
+ type: "datasetAttributeEmpty",
67
+ property: "name",
68
+ index: o
69
+ });
70
+ })), e.value.responsive) {
64
71
  const l = nl(() => {
65
72
  const { width: o, height: t } = ul({
66
73
  chart: U.value,
67
- title: e.value.style.chart.title.text ? Me.value : null,
68
- legend: e.value.style.chart.legend.show ? Ae.value : null,
69
- source: Se.value,
70
- noTitle: Le.value,
71
- padding: Be.value
74
+ title: e.value.style.chart.title.text ? Ae.value : null,
75
+ legend: e.value.style.chart.legend.show ? Se.value : null,
76
+ source: Le.value,
77
+ noTitle: Fe.value,
78
+ padding: Ee.value
72
79
  });
73
80
  requestAnimationFrame(() => {
74
81
  n.value.width = o, n.value.height = t;
@@ -77,23 +84,23 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
77
84
  j.value && (oe.value && j.value.unobserve(oe.value), j.value.disconnect()), j.value = new ResizeObserver(l), oe.value = U.value.parentNode, j.value.observe(oe.value);
78
85
  }
79
86
  }
80
- const g = w(Ht()), Ct = w(null), me = w(!1), be = w(""), O = w(null), Ye = w(0);
81
- function Xe() {
87
+ const m = w(Ht()), Ct = w(null), me = w(!1), be = w(""), O = w(null), Xe = w(0);
88
+ function Ve() {
82
89
  const l = ht({
83
- userConfig: m.config,
90
+ userConfig: g.config,
84
91
  defaultConfig: _t
85
92
  });
86
93
  let o = {};
87
94
  return l.theme ? o = {
88
95
  ...ht({
89
- userConfig: ll.vue_ui_donut[l.theme] || m.config,
96
+ userConfig: ll.vue_ui_donut[l.theme] || g.config,
90
97
  defaultConfig: l
91
98
  }),
92
99
  customPalette: tl[l.theme] || ae
93
- } : o = l, m.config && Te(m.config, "events.datapointEnter") ? o.events.datapointEnter = m.config.events.datapointEnter : o.events.datapointEnter = null, m.config && Te(m.config, "events.datapointLeave") ? o.events.datapointLeave = m.config.events.datapointLeave : o.events.datapointLeave = null, m.config && Te(m.config, "events.datapointClick") ? o.events.datapointClick = m.config.events.datapointClick : o.events.datapointClick = null, o;
100
+ } : o = l, g.config && Ie(g.config, "events.datapointEnter") ? o.events.datapointEnter = g.config.events.datapointEnter : o.events.datapointEnter = null, g.config && Ie(g.config, "events.datapointLeave") ? o.events.datapointLeave = g.config.events.datapointLeave : o.events.datapointLeave = null, g.config && Ie(g.config, "events.datapointClick") ? o.events.datapointClick = g.config.events.datapointClick : o.events.datapointClick = null, o;
94
101
  }
95
102
  const e = f({
96
- get: () => Xe(),
103
+ get: () => Ve(),
97
104
  set: (l) => l
98
105
  }), T = w(!0), B = W([]);
99
106
  function Pt(l, o = 1e3, t = 50) {
@@ -113,25 +120,25 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
113
120
  });
114
121
  });
115
122
  }
116
- st(async () => {
117
- const l = m.dataset.map((o) => o.values.reduce((t, a) => t + a, 0));
123
+ nt(async () => {
124
+ const l = g.dataset.map((o) => o.values.reduce((t, a) => t + a, 0));
118
125
  e.value.startAnimation.show && await Pt(
119
126
  l,
120
127
  e.value.startAnimation.durationMs,
121
128
  e.value.startAnimation.staggerMs
122
129
  ), T.value = !1;
123
130
  });
124
- const { userOptionsVisible: we, setUserOptionsVisibility: Ve, keepUserOptionState: De } = il({ config: e.value }), { svgRef: ve } = vl({ config: e.value.style.chart.title });
131
+ const { userOptionsVisible: we, setUserOptionsVisibility: De, keepUserOptionState: Be } = il({ config: e.value }), { svgRef: ve } = vl({ config: e.value.style.chart.title });
125
132
  function Tt() {
126
- Ve(!0);
133
+ De(!0);
127
134
  }
128
135
  function It() {
129
- Ve(!1);
136
+ De(!1);
130
137
  }
131
- nt(() => m.config, (l) => {
132
- e.value = Xe(), we.value = !e.value.userOptions.showOnChartHover, Ne(), Fe.value += 1, ze.value += 1, Oe.value += 1, y.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, y.value.showTable = e.value.table.show, y.value.showTooltip = e.value.style.chart.tooltip.show, n.value.height = e.value.style.chart.height, n.value.width = e.value.style.chart.width;
138
+ ut(() => g.config, (l) => {
139
+ e.value = Ve(), we.value = !e.value.userOptions.showOnChartHover, Ye(), ze.value += 1, Oe.value += 1, Ne.value += 1, y.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, y.value.showTable = e.value.table.show, y.value.showTooltip = e.value.style.chart.tooltip.show, n.value.height = e.value.style.chart.height, n.value.width = e.value.style.chart.width;
133
140
  }, { deep: !0 });
134
- const Be = f(() => {
141
+ const Ee = f(() => {
135
142
  const { top: l, right: o, bottom: t, left: a } = e.value.style.chart.padding;
136
143
  return {
137
144
  css: `padding:${l}px ${o}px ${t}px ${a}px`,
@@ -140,11 +147,11 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
140
147
  bottom: t,
141
148
  left: a
142
149
  };
143
- }), { isPrinting: Ge, isImaging: Ee, generatePdf: Re, generateImage: We } = rl({
144
- elementId: `donut__${g.value}`,
150
+ }), { isPrinting: Ge, isImaging: Re, generatePdf: We, generateImage: Ue } = rl({
151
+ elementId: `donut__${m.value}`,
145
152
  fileName: e.value.style.chart.title.text || "vue-ui-donut",
146
153
  options: e.value.userOptions.print
147
- }), Mt = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ue = f(() => qt(e.value.customPalette)), y = w({
154
+ }), Mt = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), je = f(() => qt(e.value.customPalette)), y = w({
148
155
  dataLabels: {
149
156
  show: e.value.style.chart.layout.labels.dataLabels.show
150
157
  },
@@ -156,27 +163,27 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
156
163
  }), Q = f(() => {
157
164
  const l = e.value.style.chart.layout.donut.strokeWidth / 512, o = Math.min(n.value.width, n.value.height) * l, t = o > _.value ? _.value : o;
158
165
  return Math.max(t, 3);
159
- }), je = ft, G = f(() => m.dataset.map((l, o) => ({
166
+ }), He = ft, E = f(() => g.dataset.map((l, o) => ({
160
167
  name: l.name,
161
- color: vt(l.color) || Ue.value[o] || ae[o] || ae[o % ae.length],
168
+ color: vt(l.color) || je.value[o] || ae[o] || ae[o % ae.length],
162
169
  value: Jt(l.values.reduce((t, a) => t + a, 0)),
163
170
  absoluteValues: l.values,
164
171
  comment: l.comment || "",
165
172
  patternIndex: o,
166
173
  seriesIndex: o,
167
174
  ghost: !1,
168
- pattern: `pattern_${g.value}_${o}`
169
- }))), F = W(G.value);
170
- nt(() => G.value, (l) => F.value = l);
175
+ pattern: `pattern_${m.value}_${o}`
176
+ }))), F = W(E.value);
177
+ ut(() => E.value, (l) => F.value = l);
171
178
  function At() {
172
- return G.value.map((l) => ({
179
+ return E.value.map((l) => ({
173
180
  name: l.name,
174
181
  color: l.color,
175
182
  value: l.value
176
183
  }));
177
184
  }
178
185
  const D = w([]), Z = w(!1);
179
- function He({ from: l, to: o, duration: t, onUpdate: a, onDone: i, easing: c = ct }) {
186
+ function qe({ from: l, to: o, duration: t, onUpdate: a, onDone: i, easing: c = ct }) {
180
187
  const $ = performance.now();
181
188
  function C(R) {
182
189
  const X = Math.min((R - $) / t, 1), ce = c(X), pe = l + (o - l) * ce;
@@ -184,8 +191,8 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
184
191
  }
185
192
  requestAnimationFrame(C);
186
193
  }
187
- function qe(l) {
188
- const o = G.value.find((i, c) => c === l);
194
+ function Je(l) {
195
+ const o = E.value.find((i, c) => c === l);
189
196
  let a = F.value.find((i, c) => c === l).value;
190
197
  if (D.value.includes(l)) {
191
198
  let c = function() {
@@ -193,7 +200,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
193
200
  (C, R) => l === R ? { ...C, value: i } : C
194
201
  );
195
202
  }, $ = function() {
196
- Z.value = !0, He({
203
+ Z.value = !0, qe({
197
204
  from: a,
198
205
  to: i,
199
206
  duration: e.value.serieToggleAnimation.durationMs,
@@ -210,13 +217,13 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
210
217
  D.value = D.value.filter((C) => C !== l);
211
218
  const i = o.value;
212
219
  e.value.serieToggleAnimation.show && e.value.type === "classic" ? $() : c();
213
- } else if (D.value.length < G.value.length - 1) {
220
+ } else if (D.value.length < E.value.length - 1) {
214
221
  let i = function() {
215
222
  D.value.push(l), F.value = F.value.map(
216
223
  ($, C) => l === C ? { ...$, value: 0 } : $
217
224
  );
218
225
  }, c = function() {
219
- Z.value = !0, He({
226
+ Z.value = !0, qe({
220
227
  from: a,
221
228
  to: 0,
222
229
  duration: e.value.serieToggleAnimation.durationMs,
@@ -232,18 +239,18 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
232
239
  };
233
240
  e.value.serieToggleAnimation.show && e.value.type === "classic" ? c() : i();
234
241
  }
235
- je("selectLegend", E.value.map((i) => ({
242
+ He("selectLegend", G.value.map((i) => ({
236
243
  name: i.name,
237
244
  color: i.color,
238
245
  value: i.value
239
246
  })));
240
247
  }
241
- const St = f(() => m.dataset.reduce((l, o) => l + o.values.reduce((t, a) => t + a, 0), 0)), E = f(() => {
248
+ const St = f(() => g.dataset.reduce((l, o) => l + o.values.reduce((t, a) => t + a, 0), 0)), G = f(() => {
242
249
  if (T.value) {
243
250
  const l = B.value.map((t, a) => ({
244
- ...G.value[a],
251
+ ...E.value[a],
245
252
  value: t,
246
- color: G.value[a].color,
253
+ color: E.value[a].color,
247
254
  ghost: !1
248
255
  })), o = St.value - B.value.reduce((t, a) => t + a, 0);
249
256
  return o > 0 && l.push({
@@ -263,17 +270,17 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
263
270
  ...l,
264
271
  seriesIndex: o
265
272
  })).filter((l, o) => !D.value.includes(o));
266
- }), Je = f(() => m.dataset.map((l, o) => ({
273
+ }), Ke = f(() => g.dataset.map((l, o) => ({
267
274
  name: l.name,
268
- color: vt(l.color) || Ue.value[o] || ae[o] || ae[o % ae.length],
275
+ color: vt(l.color) || je.value[o] || ae[o] || ae[o % ae.length],
269
276
  value: (l.values || []).reduce((t, a) => t + a, 0),
270
277
  shape: "circle",
271
278
  patternIndex: o
272
279
  })).map((l, o) => ({
273
280
  ...l,
274
- proportion: l.value / m.dataset.map((t) => (t.values || []).reduce((a, i) => a + i, 0)).reduce((t, a) => t + a, 0),
281
+ proportion: l.value / g.dataset.map((t) => (t.values || []).reduce((a, i) => a + i, 0)).reduce((t, a) => t + a, 0),
275
282
  opacity: D.value.includes(o) ? 0.5 : 1,
276
- segregate: () => !Z.value && qe(o),
283
+ segregate: () => !Z.value && Je(o),
277
284
  isSegregated: D.value.includes(o)
278
285
  }))), Lt = f(() => ({
279
286
  cy: "donut-div-legend",
@@ -285,7 +292,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
285
292
  })), _ = f(() => {
286
293
  const l = Math.min(n.value.width / 3, n.value.height / 3);
287
294
  return l < 55 ? 55 : l;
288
- }), I = f(() => dt({ series: E.value }, n.value.width / 2, n.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, Q.value)), Ft = f(() => Math.abs(E.value.map((l) => l.value).reduce((l, o) => l + o, 0)) > 0), zt = f(() => dt({
295
+ }), I = f(() => dt({ series: G.value }, n.value.width / 2, n.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, Q.value)), Ft = f(() => Math.abs(G.value.map((l) => l.value).reduce((l, o) => l + o, 0)) > 0), zt = f(() => dt({
289
296
  series: [
290
297
  {
291
298
  value: 1,
@@ -298,7 +305,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
298
305
  }
299
306
  ]
300
307
  }, n.value.width / 2, n.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, Q.value)), N = f(() => I.value.filter((l) => !l.ghost)), d = f(() => {
301
- const l = Math.max(...E.value.map((t) => t.value)), o = E.value.map((t) => t.value / l);
308
+ const l = Math.max(...G.value.map((t) => t.value)), o = G.value.map((t) => t.value / l);
302
309
  return Kt({
303
310
  series: o,
304
311
  center: {
@@ -334,12 +341,12 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
334
341
  function Nt(l) {
335
342
  return [...l].map((o) => o.value).reduce((o, t) => o + t, 0);
336
343
  }
337
- const S = f(() => E.value.map((l) => l.value).reduce((l, o) => l + o, 0)), Ke = f(() => S.value / E.value.length), Qe = f(() => (l) => Z.value ? l.proportion * 100 : l.value / S.value * 100), xe = w(null), de = w(!1);
344
+ const S = f(() => G.value.map((l) => l.value).reduce((l, o) => l + o, 0)), Qe = f(() => S.value / G.value.length), Ze = f(() => (l) => Z.value ? l.proportion * 100 : l.value / S.value * 100), xe = w(null), de = w(!1);
338
345
  function H({ datapoint: l, seriesIndex: o }) {
339
346
  e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: o }), me.value = !1, O.value = null;
340
347
  }
341
348
  function q({ datapoint: l, relativeIndex: o, seriesIndex: t, show: a = !1 }) {
342
- console.log(l), e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: t }), xe.value = { datapoint: l, seriesIndex: t, config: e.value, series: G.value }, me.value = a, O.value = o;
349
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: t }), xe.value = { datapoint: l, seriesIndex: t, config: e.value, series: E.value }, me.value = a, O.value = o;
343
350
  let i = "";
344
351
  const c = e.value.style.chart.tooltip.customFormat;
345
352
  if (de.value = !1, sl(c))
@@ -347,7 +354,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
347
354
  const $ = c({
348
355
  seriesIndex: t,
349
356
  datapoint: l,
350
- series: G.value,
357
+ series: E.value,
351
358
  config: e.value
352
359
  });
353
360
  typeof $ == "string" && (be.value = $, de.value = !0);
@@ -355,7 +362,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
355
362
  console.warn("Custom format cannot be applied."), de.value = !1;
356
363
  }
357
364
  if (!de.value) {
358
- if (i += `<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>`, i += `<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}"/>${$t.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${g.value}_${t})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (i += `<b>${V(
365
+ if (i += `<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>`, i += `<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}"/>${$t.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${m.value}_${t})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (i += `<b>${V(
359
366
  e.value.style.chart.layout.labels.value.formatter,
360
367
  l.value,
361
368
  z({
@@ -390,16 +397,16 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
390
397
  }
391
398
  }
392
399
  function ee(l) {
393
- return e.value.useBlurOnHover && ![null, void 0].includes(O.value) && O.value !== l ? `url(#blur_${g.value})` : "";
400
+ return e.value.useBlurOnHover && ![null, void 0].includes(O.value) && O.value !== l ? `url(#blur_${m.value})` : "";
394
401
  }
395
402
  const J = f(() => {
396
- const l = E.value.map((t) => ({
403
+ const l = G.value.map((t) => ({
397
404
  name: t.name,
398
405
  color: t.color
399
- })), o = E.value.map((t) => t.value);
406
+ })), o = G.value.map((t) => t.value);
400
407
  return { head: l, body: o };
401
408
  });
402
- function Ze(l = null) {
409
+ function et(l = null) {
403
410
  Rt(() => {
404
411
  const o = J.value.head.map((i, c) => [[
405
412
  i.name
@@ -443,23 +450,23 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
443
450
  config: t
444
451
  };
445
452
  }), ne = w(!1);
446
- function et(l) {
447
- ne.value = l, Ye.value += 1;
453
+ function tt(l) {
454
+ ne.value = l, Xe.value += 1;
448
455
  }
449
- const tt = f(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
456
+ const lt = f(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
450
457
  function Yt(l) {
451
458
  return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((o) => "-").join("");
452
459
  }
453
460
  function K(l, o) {
454
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: l.seriesIndex }), je("selectDatapoint", { datapoint: l, index: o });
461
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: l.seriesIndex }), He("selectDatapoint", { datapoint: l, index: o });
455
462
  }
456
- function lt() {
463
+ function at() {
457
464
  y.value.showTable = !y.value.showTable;
458
465
  }
459
- function at() {
466
+ function ot() {
460
467
  y.value.dataLabels.show = !y.value.dataLabels.show;
461
468
  }
462
- function ot() {
469
+ function st() {
463
470
  y.value.showTooltip = !y.value.showTooltip;
464
471
  }
465
472
  const fe = w(!1);
@@ -488,20 +495,20 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
488
495
  autoSize: Vt,
489
496
  getData: At,
490
497
  getImage: Xt,
491
- generatePdf: Re,
492
- generateCsv: Ze,
493
- generateImage: We,
494
- toggleTable: lt,
495
- toggleLabels: at,
496
- toggleTooltip: ot,
498
+ generatePdf: We,
499
+ generateCsv: et,
500
+ generateImage: Ue,
501
+ toggleTable: at,
502
+ toggleLabels: ot,
503
+ toggleTooltip: st,
497
504
  toggleAnnotator: _e,
498
- toggleFullscreen: et
505
+ toggleFullscreen: tt
499
506
  }), (l, o) => (s(), u("div", {
500
507
  ref_key: "donutChart",
501
508
  ref: U,
502
509
  class: Ce(`vue-ui-donut ${ne.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
503
510
  style: k(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
504
- id: `donut__${g.value}`,
511
+ id: `donut__${m.value}`,
505
512
  onMouseenter: Tt,
506
513
  onMouseleave: It
507
514
  }, [
@@ -517,18 +524,18 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
517
524
  Mt.value ? (s(), u("div", {
518
525
  key: 1,
519
526
  ref_key: "noTitle",
520
- ref: Le,
527
+ ref: Fe,
521
528
  class: "vue-data-ui-no-title-space",
522
529
  style: "height:36px; width: 100%;background:transparent"
523
530
  }, null, 512)) : v("", !0),
524
531
  e.value.style.chart.title.text ? (s(), u("div", {
525
532
  key: 2,
526
533
  ref_key: "chartTitle",
527
- ref: Me,
534
+ ref: Ae,
528
535
  style: "width:100%;background:transparent;padding-bottom:24px"
529
536
  }, [
530
537
  (s(), le(cl, {
531
- key: `title_${Fe.value}`,
538
+ key: `title_${ze.value}`,
532
539
  config: {
533
540
  title: {
534
541
  cy: "donut-div-title",
@@ -541,15 +548,15 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
541
548
  }
542
549
  }, null, 8, ["config"]))
543
550
  ], 512)) : v("", !0),
544
- e.value.userOptions.show && ie.value && (r(De) || r(we)) ? (s(), le(r(xt), {
551
+ e.value.userOptions.show && ie.value && (r(Be) || r(we)) ? (s(), le(r(xt), {
545
552
  ref_key: "details",
546
553
  ref: Ct,
547
- key: `user_option_${Ye.value}`,
554
+ key: `user_option_${Xe.value}`,
548
555
  backgroundColor: e.value.style.chart.backgroundColor,
549
556
  color: e.value.style.chart.color,
550
557
  isPrinting: r(Ge),
551
- isImaging: r(Ee),
552
- uid: g.value,
558
+ isImaging: r(Re),
559
+ uid: m.value,
553
560
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
554
561
  hasPdf: e.value.userOptions.buttons.pdf,
555
562
  hasImg: e.value.userOptions.buttons.img,
@@ -566,18 +573,18 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
566
573
  hasAnnotator: e.value.userOptions.buttons.annotator,
567
574
  isAnnotation: fe.value,
568
575
  printScale: e.value.userOptions.print.scale,
569
- onToggleFullscreen: et,
570
- onGeneratePdf: r(Re),
571
- onGenerateCsv: Ze,
572
- onGenerateImage: r(We),
573
- onToggleTable: lt,
574
- onToggleLabels: at,
575
- onToggleTooltip: ot,
576
+ onToggleFullscreen: tt,
577
+ onGeneratePdf: r(We),
578
+ onGenerateCsv: et,
579
+ onGenerateImage: r(Ue),
580
+ onToggleTable: at,
581
+ onToggleLabels: ot,
582
+ onToggleTooltip: st,
576
583
  onToggleAnnotator: _e,
577
584
  style: k({
578
- visibility: r(De) ? r(we) ? "visible" : "hidden" : "visible"
585
+ visibility: r(Be) ? r(we) ? "visible" : "hidden" : "visible"
579
586
  })
580
- }, ut({ _: 2 }, [
587
+ }, rt({ _: 2 }, [
581
588
  l.$slots.menuIcon ? {
582
589
  name: "menuIcon",
583
590
  fn: P(({ isOpen: t, color: a }) => [
@@ -649,7 +656,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
649
656
  xmlns: r(Qt),
650
657
  class: Ce({ "vue-data-ui-fullscreen--on": ne.value, "vue-data-ui-fulscreen--off": !ne.value, "vue-data-ui-svg": !0 }),
651
658
  viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
652
- style: k(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${Be.value.css}`)
659
+ style: k(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${Ee.value.css}`)
653
660
  }, [
654
661
  h("g", {
655
662
  ref_key: "G",
@@ -672,7 +679,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
672
679
  e.value.type === "classic" && !isNaN(Q.value / _.value) ? (s(), u("defs", bl, [
673
680
  e.value.style.chart.useGradient ? (s(), u("radialGradient", {
674
681
  key: 0,
675
- id: `gradient_${g.value}`
682
+ id: `gradient_${m.value}`
676
683
  }, [
677
684
  h("stop", {
678
685
  offset: "0%",
@@ -697,7 +704,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
697
704
  ])) : v("", !0),
698
705
  e.value.type === "polar" ? (s(), u("defs", Cl, [
699
706
  (s(!0), u(p, null, A(d.value, (t, a) => (s(), u("radialGradient", {
700
- id: `polar_gradient_${a}_${g.value}`,
707
+ id: `polar_gradient_${a}_${m.value}`,
701
708
  cx: (isNaN(t.middlePoint.x / n.value.width * 100) ? 0 : t.middlePoint.x / n.value.width * 100) + "%",
702
709
  cy: (isNaN(t.middlePoint.y / n.value.height * 100) ? 0 : t.middlePoint.y / n.value.height * 100) + "%",
703
710
  r: "62%"
@@ -715,7 +722,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
715
722
  ])) : v("", !0),
716
723
  h("defs", null, [
717
724
  h("filter", {
718
- id: `blur_${g.value}`,
725
+ id: `blur_${m.value}`,
719
726
  x: "-50%",
720
727
  y: "-50%",
721
728
  width: "200%",
@@ -724,7 +731,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
724
731
  h("feGaussianBlur", {
725
732
  in: "SourceGraphic",
726
733
  stdDeviation: 2,
727
- id: `blur_std_${g.value}`
734
+ id: `blur_std_${m.value}`
728
735
  }, null, 8, Al),
729
736
  o[5] || (o[5] = h("feColorMatrix", {
730
737
  type: "saturate",
@@ -732,7 +739,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
732
739
  }, null, -1))
733
740
  ], 8, Ml),
734
741
  h("filter", {
735
- id: `shadow_${g.value}`,
742
+ id: `shadow_${m.value}`,
736
743
  "color-interpolation-filters": "sRGB"
737
744
  }, [
738
745
  h("feDropShadow", {
@@ -744,7 +751,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
744
751
  }, null, 8, Ll)
745
752
  ], 8, Sl),
746
753
  h("filter", {
747
- id: `drop_shadow_${g.value}`,
754
+ id: `drop_shadow_${m.value}`,
748
755
  "color-interpolation-filters": "sRGB",
749
756
  x: "-50%",
750
757
  y: "-50%",
@@ -793,13 +800,13 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
793
800
  cy: n.value.height / 2,
794
801
  r: _.value <= 0 ? 10 : _.value,
795
802
  fill: e.value.style.chart.backgroundColor,
796
- filter: `url(#shadow_${g.value})`
803
+ filter: `url(#shadow_${m.value})`
797
804
  }, null, 8, Yl)) : v("", !0),
798
805
  l.$slots.pattern ? (s(), u("g", Xl, [
799
- (s(!0), u(p, null, A(Ie.dataset, (t, a) => (s(), u("defs", {
806
+ (s(!0), u(p, null, A(Me.dataset, (t, a) => (s(), u("defs", {
800
807
  key: `pattern-${t.patternIndex}`
801
808
  }, [
802
- b(l.$slots, "pattern", rt({ ref_for: !0 }, { seriesIndex: a, patternId: `pattern_${g.value}_${a}` }), void 0, !0)
809
+ b(l.$slots, "pattern", it({ ref_for: !0 }, { seriesIndex: a, patternId: `pattern_${m.value}_${a}` }), void 0, !0)
803
810
  ]))), 128))
804
811
  ])) : v("", !0),
805
812
  S.value && e.value.type === "classic" ? (s(), u(p, { key: 7 }, [
@@ -824,11 +831,11 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
824
831
  stroke: e.value.style.chart.backgroundColor,
825
832
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
826
833
  filter: ee(a)
827
- }, null, 8, Gl))), 256))
834
+ }, null, 8, El))), 256))
828
835
  ])) : v("", !0)
829
836
  ], 64)) : v("", !0),
830
837
  S.value && e.value.type === "polar" ? (s(), u(p, { key: 8 }, [
831
- I.value.length > 1 ? (s(), u("g", El, [
838
+ I.value.length > 1 ? (s(), u("g", Gl, [
832
839
  (s(!0), u(p, null, A(N.value, (t, a) => (s(), u("path", {
833
840
  stroke: e.value.style.chart.backgroundColor,
834
841
  d: d.value[a].path,
@@ -844,7 +851,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
844
851
  fill: "transparent",
845
852
  stroke: e.value.style.chart.backgroundColor,
846
853
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
847
- filter: `url(#drop_shadow_${g.value})`,
854
+ filter: `url(#drop_shadow_${m.value})`,
848
855
  style: k({
849
856
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
850
857
  })
@@ -866,7 +873,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
866
873
  (s(!0), u(p, null, A(N.value, (t, a) => (s(), u("path", {
867
874
  class: "vue-ui-donut-arc-path",
868
875
  d: d.value[a].path,
869
- fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${g.value})` : t.color,
876
+ fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${m.value})` : t.color,
870
877
  stroke: e.value.style.chart.backgroundColor,
871
878
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
872
879
  filter: ee(a),
@@ -880,7 +887,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
880
887
  cx: n.value.width / 2,
881
888
  cy: n.value.height / 2,
882
889
  r: _.value,
883
- fill: `url(#pattern_${g.value}_${I.value[0].patternIndex})`,
890
+ fill: `url(#pattern_${m.value}_${I.value[0].patternIndex})`,
884
891
  stroke: e.value.style.chart.backgroundColor,
885
892
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
886
893
  }, null, 8, Kl)) : v("", !0),
@@ -888,7 +895,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
888
895
  cx: n.value.width / 2,
889
896
  cy: n.value.height / 2,
890
897
  r: _.value,
891
- fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${g.value})` : I.value[0].color,
898
+ fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${m.value})` : I.value[0].color,
892
899
  stroke: e.value.style.chart.backgroundColor,
893
900
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
894
901
  }, null, 8, Ql)
@@ -919,13 +926,13 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
919
926
  /* This might require adjustments */
920
927
  _.value <= 0 ? 10 : _.value
921
928
  ),
922
- fill: `url(#gradient_${g.value})`
929
+ fill: `url(#gradient_${m.value})`
923
930
  }, null, 8, la)) : v("", !0),
924
931
  S.value ? (s(), u(p, { key: 11 }, [
925
932
  I.value.length > 1 || e.value.type === "classic" ? (s(), u("g", aa, [
926
933
  (s(!0), u(p, null, A(I.value.filter((t) => !t.ghost), (t, a) => (s(), u("path", {
927
934
  d: e.value.type === "classic" ? t.arcSlice : d.value[a].path,
928
- fill: O.value === a ? "rgba(0,0,0,0.1)" : "transparent",
935
+ fill: O.value === a ? e.value.style.chart.layout.donut.selectedColor : "transparent",
929
936
  onMouseenter: (i) => q({
930
937
  datapoint: t,
931
938
  relativeIndex: a,
@@ -998,10 +1005,10 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
998
1005
  style: k(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
999
1006
  }, M(Z.value || T.value ? "--" : r(V)(
1000
1007
  e.value.style.chart.layout.labels.hollow.average.value.formatter,
1001
- Ke.value,
1008
+ Qe.value,
1002
1009
  r(z)({
1003
1010
  p: e.value.style.chart.layout.labels.hollow.average.value.prefix,
1004
- v: Ke.value,
1011
+ v: Qe.value,
1005
1012
  s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
1006
1013
  r: e.value.style.chart.layout.labels.hollow.average.value.rounding
1007
1014
  })
@@ -1014,16 +1021,16 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
1014
1021
  e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (s(), u("g", ca, [
1015
1022
  (s(), u("foreignObject", {
1016
1023
  x: r(x)(t, !0).anchor === "end" ? r(x)(t).x - 120 : r(x)(t, !0).anchor === "middle" ? r(x)(t).x - 60 : r(x)(t).x,
1017
- y: r(he)(t) - (tt.value ? 20 : 0),
1024
+ y: r(he)(t) - (lt.value ? 20 : 0),
1018
1025
  width: "120",
1019
1026
  height: "60",
1020
1027
  style: { overflow: "visible" }
1021
1028
  }, [
1022
1029
  h("div", null, [
1023
- b(l.$slots, "dataLabel", rt({ ref_for: !0 }, {
1030
+ b(l.$slots, "dataLabel", it({ ref_for: !0 }, {
1024
1031
  datapoint: t,
1025
1032
  isBlur: !e.value.useBlurOnHover || [null, void 0].includes(O.value) || O.value === a,
1026
- isSafari: tt.value,
1033
+ isSafari: lt.value,
1027
1034
  isVisible: Y(t) && y.value.dataLabels.show,
1028
1035
  textAlign: r(x)(t, !0, 16, !0).anchor,
1029
1036
  flexAlign: r(x)(t, !0, 16).anchor,
@@ -1041,7 +1048,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
1041
1048
  stroke: e.value.style.chart.backgroundColor,
1042
1049
  "stroke-width": 1,
1043
1050
  r: 3,
1044
- filter: !e.value.useBlurOnHover || [null, void 0].includes(O.value) || O.value === a ? "" : `url(#blur_${g.value})`,
1051
+ filter: !e.value.useBlurOnHover || [null, void 0].includes(O.value) || O.value === a ? "" : `url(#blur_${m.value})`,
1045
1052
  onClick: (i) => K(t, a),
1046
1053
  onMouseenter: (i) => q({
1047
1054
  datapoint: t,
@@ -1061,7 +1068,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
1061
1068
  stroke: e.value.style.chart.backgroundColor,
1062
1069
  "stroke-width": 1,
1063
1070
  r: 3,
1064
- filter: !e.value.useBlurOnHover || [null, void 0].includes(O.value) || O.value === a ? "" : `url(#blur_${g.value})`,
1071
+ filter: !e.value.useBlurOnHover || [null, void 0].includes(O.value) || O.value === a ? "" : `url(#blur_${m.value})`,
1065
1072
  onClick: (i) => K(t, a),
1066
1073
  onMouseenter: (i) => q({
1067
1074
  datapoint: t,
@@ -1213,7 +1220,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
1213
1220
  ], 512)
1214
1221
  ], 14, gl)) : v("", !0),
1215
1222
  l.$slots.watermark ? (s(), u("div", $a, [
1216
- b(l.$slots, "watermark", ue(re({ isPrinting: r(Ge) || r(Ee) })), void 0, !0)
1223
+ b(l.$slots, "watermark", ue(re({ isPrinting: r(Ge) || r(Re) })), void 0, !0)
1217
1224
  ])) : v("", !0),
1218
1225
  ie.value ? v("", !0) : (s(), le(r(wt), {
1219
1226
  key: 6,
@@ -1230,14 +1237,14 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
1230
1237
  }, null, 8, ["config"])),
1231
1238
  h("div", {
1232
1239
  ref_key: "chartLegend",
1233
- ref: Ae
1240
+ ref: Se
1234
1241
  }, [
1235
1242
  e.value.style.chart.legend.show ? (s(), le(dl, {
1236
- key: `legend_${Oe.value}`,
1237
- legendSet: Je.value,
1243
+ key: `legend_${Ne.value}`,
1244
+ legendSet: Ke.value,
1238
1245
  config: Lt.value,
1239
- onClickMarker: o[3] || (o[3] = ({ i: t }) => qe(t))
1240
- }, ut({
1246
+ onClickMarker: o[3] || (o[3] = ({ i: t }) => Je(t))
1247
+ }, rt({
1241
1248
  item: P(({ legend: t, index: a }) => [
1242
1249
  h("div", {
1243
1250
  style: k(`opacity:${D.value.includes(a) ? 0.5 : 1}`),
@@ -1257,9 +1264,9 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
1257
1264
  }
1258
1265
  ) : "") + " " + M(e.value.style.chart.legend.showPercentage ? D.value.includes(a) ? `${e.value.style.chart.legend.showValue ? "(" : ""}${Yt(t.proportion * 100)}%${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(t.value / S.value) ? "-" : r(V)(
1259
1266
  e.value.style.chart.layout.labels.percentage.formatter,
1260
- Qe.value(t),
1267
+ Ze.value(t),
1261
1268
  r(z)({
1262
- v: Qe.value(t),
1269
+ v: Ze.value(t),
1263
1270
  s: "%",
1264
1271
  r: e.value.style.chart.legend.roundingPercentage
1265
1272
  })
@@ -1275,18 +1282,18 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
1275
1282
  radius: 30,
1276
1283
  stroke: "none",
1277
1284
  plot: { x: 30, y: 30 },
1278
- fill: `url(#pattern_${g.value}_${a})`
1285
+ fill: `url(#pattern_${m.value}_${a})`
1279
1286
  }, null, 8, ["shape", "fill"])
1280
1287
  ]),
1281
1288
  key: "0"
1282
1289
  } : void 0
1283
1290
  ]), 1032, ["legendSet", "config"])) : v("", !0),
1284
- b(l.$slots, "legend", { legend: Je.value }, void 0, !0)
1291
+ b(l.$slots, "legend", { legend: Ke.value }, void 0, !0)
1285
1292
  ], 512),
1286
1293
  l.$slots.source ? (s(), u("div", {
1287
1294
  key: 7,
1288
1295
  ref_key: "source",
1289
- ref: Se,
1296
+ ref: Le,
1290
1297
  dir: "auto"
1291
1298
  }, [
1292
1299
  b(l.$slots, "source", {}, void 0, !0)
@@ -1333,7 +1340,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
1333
1340
  }, {
1334
1341
  content: P(() => [
1335
1342
  (s(), le(r(gt), {
1336
- key: `table_${ze.value}`,
1343
+ key: `table_${Oe.value}`,
1337
1344
  colNames: ye.value.colNames,
1338
1345
  head: ye.value.head,
1339
1346
  body: ye.value.body,
@@ -1348,7 +1355,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
1348
1355
  }, null, 8, Pa)
1349
1356
  ]),
1350
1357
  td: P(({ td: t }) => [
1351
- Et(M(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : r(V)(
1358
+ Gt(M(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : r(V)(
1352
1359
  e.value.style.chart.layout.labels.percentage.formatter,
1353
1360
  t,
1354
1361
  r(z)({
@@ -1374,7 +1381,7 @@ const pl = ["id"], gl = ["xmlns", "viewBox"], ml = ["width", "height"], bl = { k
1374
1381
  }, 8, ["config"])) : v("", !0)
1375
1382
  ], 46, pl));
1376
1383
  }
1377
- }, Da = /* @__PURE__ */ fl(Ta, [["__scopeId", "data-v-597511a3"]]);
1384
+ }, Da = /* @__PURE__ */ fl(Ta, [["__scopeId", "data-v-ae2bf9b9"]]);
1378
1385
  export {
1379
1386
  Da as default
1380
1387
  };