vue-data-ui 2.12.8-beta.2 → 2.12.8-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/README.md +21 -0
  2. package/dist/{Arrow-HbfibAF0.js → Arrow-XoY1VXNf.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DGrErCX-.js → BaseDraggableDialog-CXe0WfN-.js} +2 -2
  4. package/dist/{BaseIcon-j0c6lJUs.js → BaseIcon-d4dmqhkb.js} +1 -1
  5. package/dist/{ColorPicker-DitXXl-H.js → ColorPicker-B3v0IhDO.js} +2 -2
  6. package/dist/{DataTable-CsoAI95B.js → DataTable-CmbjnjRg.js} +2 -2
  7. package/dist/{Legend-ZW-PFcHg.js → Legend-YPYnzTBz.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-DJTUaQ94.js → NonSvgPenAndPaper-SD-bH_GI.js} +3 -3
  9. package/dist/{PackageVersion-DCAZ9Z7V.js → PackageVersion-OcbP0WH2.js} +1 -1
  10. package/dist/{PenAndPaper-B9RP4oFj.js → PenAndPaper-BgPXmpGI.js} +3 -3
  11. package/dist/{Shape-BBbhObHC.js → Shape-WvXjwML_.js} +1 -1
  12. package/dist/{Slicer-Vh74fjdf.js → Slicer-CaMHCF_p.js} +2 -2
  13. package/dist/{SparkTooltip-CG-HMbX2.js → SparkTooltip-BTLad6y3.js} +1 -1
  14. package/dist/{Title-Dx8ctnVy.js → Title-CJcZXNtK.js} +1 -1
  15. package/dist/{Tooltip-COHlzpZI.js → Tooltip-dXp8FaUj.js} +1 -1
  16. package/dist/{UserOptions-CGn3YdRV.js → UserOptions-Cs7JW3dK.js} +154 -138
  17. package/dist/dom-to-png-DGfv21rX.js +247 -0
  18. package/dist/img-fdViJw1e.js +20 -0
  19. package/dist/{index-CbcpITE_.js → index-BzQ0j5xI.js} +190 -128
  20. package/dist/{pdf-Cy09nTjn.js → pdf-Bj65uPK-.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +60 -1
  23. package/dist/types/vue-data-ui.d.ts +60 -1
  24. package/dist/{useNestedProp-y56W8I7J.js → useNestedProp-DqpZEE3h.js} +1 -1
  25. package/dist/{usePrinter-u-gQiRNz.js → usePrinter-CpG5jh_z.js} +2 -2
  26. package/dist/{vue-data-ui-DGmMT-Yp.js → vue-data-ui-CeIncf6V.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-Du4TkjPV.js → vue-ui-3d-bar-fAJK0nIB.js} +175 -174
  29. package/dist/{vue-ui-accordion-BkA7rtwr.js → vue-ui-accordion-bpaEpjqI.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-bw7gLRlR.js → vue-ui-age-pyramid-D5w5EqmV.js} +200 -199
  31. package/dist/{vue-ui-annotator-C-_zXB7H.js → vue-ui-annotator-CSGemK-O.js} +2 -2
  32. package/dist/{vue-ui-bullet-BRnz7E8e.js → vue-ui-bullet-FPBahjOr.js} +9 -8
  33. package/dist/{vue-ui-candlestick-9cPPnO0t.js → vue-ui-candlestick-BpP9MQC2.js} +115 -114
  34. package/dist/{vue-ui-carousel-table-BJuSGbk2.js → vue-ui-carousel-table-lpdLFAfT.js} +80 -79
  35. package/dist/{vue-ui-chestnut-D2dnrdHT.js → vue-ui-chestnut-D5um0tmC.js} +453 -452
  36. package/dist/{vue-ui-chord-Rvygj27H.js → vue-ui-chord-CgrXXOgv.js} +43 -42
  37. package/dist/{vue-ui-circle-pack-BR79EDAC.js → vue-ui-circle-pack-Jk-Yd8T_.js} +143 -142
  38. package/dist/{vue-ui-cursor-K11x9TYc.js → vue-ui-cursor-BjmAMjTd.js} +2 -2
  39. package/dist/{vue-ui-dashboard-BgxqXwqN.js → vue-ui-dashboard-CQ0B1DMq.js} +62 -62
  40. package/dist/{vue-ui-digits-D7StMUym.js → vue-ui-digits-B3h4BufU.js} +2 -2
  41. package/dist/{vue-ui-donut-CyOg8kph.js → vue-ui-donut-DcjJqRof.js} +151 -150
  42. package/dist/{vue-ui-donut-evolution-CVhQaMNQ.js → vue-ui-donut-evolution-DmSbXlMu.js} +111 -110
  43. package/dist/{vue-ui-dumbbell-C7Wex4VO.js → vue-ui-dumbbell-BLcmTUd_.js} +54 -53
  44. package/dist/{vue-ui-flow-DFNdP-V9.js → vue-ui-flow-BmIGl6DC.js} +14 -13
  45. package/dist/{vue-ui-funnel-DqWcZVvF.js → vue-ui-funnel-BJfxaSQC.js} +75 -74
  46. package/dist/{vue-ui-galaxy-BhPbJqYr.js → vue-ui-galaxy-Cpnr2YW-.js} +84 -83
  47. package/dist/{vue-ui-gauge-sP6YPTJH.js → vue-ui-gauge-BhPFNziU.js} +33 -32
  48. package/dist/{vue-ui-gizmo-B4fq_bGX.js → vue-ui-gizmo-B2wA-kmz.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CpNjtuyD.js → vue-ui-heatmap-CpwNMx3i.js} +222 -221
  50. package/dist/{vue-ui-history-plot-CtgTg4fG.js → vue-ui-history-plot-DpxHqDZw.js} +234 -233
  51. package/dist/{vue-ui-kpi-CN2AE1VF.js → vue-ui-kpi-CvqXwiiE.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CYt8LlhO.js → vue-ui-mini-loader-DIjSfc7L.js} +2 -2
  53. package/dist/{vue-ui-molecule-D3kexAu_.js → vue-ui-molecule-3-vg0Re6.js} +44 -43
  54. package/dist/{vue-ui-mood-radar-hHqR8eS7.js → vue-ui-mood-radar-B7W7wGkW.js} +76 -75
  55. package/dist/{vue-ui-nested-donuts-DXwaOA_n.js → vue-ui-nested-donuts-ByoeDL-3.js} +53 -52
  56. package/dist/{vue-ui-onion-C7R2R5tf.js → vue-ui-onion-CNVwf4QX.js} +72 -71
  57. package/dist/{vue-ui-parallel-coordinate-plot-Dh772r8W.js → vue-ui-parallel-coordinate-plot-C0KJrBX8.js} +13 -12
  58. package/dist/{vue-ui-quadrant-jrOesLSU.js → vue-ui-quadrant-C-wPn5l5.js} +13 -12
  59. package/dist/{vue-ui-quick-chart-CtLnhGZA.js → vue-ui-quick-chart-SV-m_FhA.js} +8 -7
  60. package/dist/{vue-ui-radar-BikYRjfw.js → vue-ui-radar-DqOzvLUy.js} +283 -282
  61. package/dist/{vue-ui-rating-DUYbT-Ve.js → vue-ui-rating-CsZXcINB.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CjnDrflp.js → vue-ui-relation-circle-B0zxq02O.js} +75 -74
  63. package/dist/{vue-ui-ridgeline-o7-RpeJx.js → vue-ui-ridgeline-CykFyAin.js} +102 -101
  64. package/dist/{vue-ui-rings-Dinj5ws1.js → vue-ui-rings-DoJwXgd3.js} +110 -109
  65. package/dist/{vue-ui-scatter-CODAsxBq.js → vue-ui-scatter-BTT3BYrI.js} +166 -165
  66. package/dist/{vue-ui-skeleton-miKWlCAi.js → vue-ui-skeleton-CavMQlAm.js} +3 -3
  67. package/dist/{vue-ui-smiley-DwqlNm1O.js → vue-ui-smiley-DdT6TBz8.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-BjL35phT.js → vue-ui-spark-trend-D9q63V2-.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-2o2ZLL50.js → vue-ui-sparkbar-DCS_f__b.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-CMlBpOcc.js → vue-ui-sparkgauge-CGDjBHjo.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C7Ue-aaI.js → vue-ui-sparkhistogram-Ctpm0106.js} +4 -4
  72. package/dist/{vue-ui-sparkline-w29yzdZG.js → vue-ui-sparkline-BVyjNK_A.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-DbIxY7W3.js → vue-ui-sparkstackbar-BsNDucJO.js} +3 -3
  74. package/dist/{vue-ui-stackbar-CWqpeYW-.js → vue-ui-stackbar-DuGcJQ6F.js} +39 -38
  75. package/dist/{vue-ui-strip-plot-DyjQVaDX.js → vue-ui-strip-plot-C6vbloAI.js} +82 -81
  76. package/dist/{vue-ui-table-Bx82XIlz.js → vue-ui-table-Bb6pNaIM.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-RvSyx9L6.js → vue-ui-table-heatmap-_ypWL_z2.js} +77 -76
  78. package/dist/{vue-ui-table-sparkline-DebvtEV3.js → vue-ui-table-sparkline-_pPedR_D.js} +74 -73
  79. package/dist/{vue-ui-thermometer-yPKRIlqA.js → vue-ui-thermometer-CmLnTIU7.js} +22 -21
  80. package/dist/{vue-ui-timer-C15nOU7T.js → vue-ui-timer-CpAJT80M.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-C2G8HtiX.js → vue-ui-tiremarks-DXgmJClr.js} +38 -37
  82. package/dist/{vue-ui-treemap-cFhw0xSg.js → vue-ui-treemap-Ci2Yi9Gh.js} +109 -108
  83. package/dist/{vue-ui-vertical-bar-dWiOw4sV.js → vue-ui-vertical-bar-pn_EqFmU.js} +82 -81
  84. package/dist/{vue-ui-waffle-Uldnmn6D.js → vue-ui-waffle-vqh1kEDT.js} +33 -32
  85. package/dist/{vue-ui-wheel-Cz79iDLO.js → vue-ui-wheel-BCcK6wwZ.js} +8 -7
  86. package/dist/{vue-ui-word-cloud-BGeHV6hS.js → vue-ui-word-cloud-Bu8Giu0b.js} +110 -109
  87. package/dist/{vue-ui-world-D1Dy-4mh.js → vue-ui-world-CzRlg19V.js} +57 -56
  88. package/dist/{vue-ui-xy-BA7xWU7_.js → vue-ui-xy-0gHPOOwZ.js} +982 -856
  89. package/dist/{vue-ui-xy-canvas-B2kkKb64.js → vue-ui-xy-canvas-DuAgXbBB.js} +41 -40
  90. package/package.json +1 -1
  91. package/dist/dom-to-png-BjSUS-jY.js +0 -243
  92. package/dist/img-DWfzRJdv.js +0 -19
@@ -1,13 +1,13 @@
1
- import { defineAsyncComponent as K, useSlots as Mt, computed as f, shallowRef as W, ref as _, onMounted as tt, onBeforeUnmount as Nt, watch as lt, createElementBlock as r, openBlock as o, normalizeStyle as b, normalizeClass as _e, createBlock as Q, createCommentVNode as i, renderSlot as p, createElementVNode as y, createVNode as xe, unref as u, createSlots as at, withCtx as C, normalizeProps as oe, guardReactiveProps as se, Fragment as g, renderList as S, mergeProps as ot, toDisplayString as P, createTextVNode as st, nextTick as Yt } from "vue";
2
- import { u as Xt, o as It, e as ut, g as Dt, c as Vt, b as Bt, d as nt, p as Z, m as Gt, _ as Rt, f as N, X as Wt, s as ve, w as Et, j as Ut, M as L, i as D, k as ce, n as w, t as jt, a as Ht, q as qt, r as Jt, x as Kt, S as rt } from "./index-CbcpITE_.js";
1
+ import { defineAsyncComponent as K, useSlots as Mt, computed as p, shallowRef as W, ref as _, onMounted as tt, onBeforeUnmount as Nt, watch as lt, createElementBlock as r, openBlock as o, normalizeStyle as b, normalizeClass as _e, createBlock as Q, createCommentVNode as i, renderSlot as g, createElementVNode as f, createVNode as xe, unref as u, createSlots as at, withCtx as C, normalizeProps as oe, guardReactiveProps as se, Fragment as m, renderList as S, mergeProps as ot, toDisplayString as P, createTextVNode as st, nextTick as Yt } from "vue";
2
+ import { u as Xt, o as It, e as ut, g as Dt, c as Vt, b as Bt, d as nt, p as Z, m as Gt, _ as Rt, f as N, X as Wt, s as ve, w as Et, j as Ut, M as L, i as D, k as ce, n as w, t as jt, a as Ht, q as qt, r as Jt, x as Kt, S as rt } from "./index-BzQ0j5xI.js";
3
3
  import { t as Qt, u as Zt } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as it } from "./useNestedProp-y56W8I7J.js";
5
- import { u as el } from "./usePrinter-u-gQiRNz.js";
4
+ import { u as it } from "./useNestedProp-DqpZEE3h.js";
5
+ import { u as el } from "./usePrinter-CpG5jh_z.js";
6
6
  import { u as tl } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as ll } from "./useChartAccessibility-9icAAmYg.js";
8
- import al from "./Legend-ZW-PFcHg.js";
9
- import ol from "./Title-Dx8ctnVy.js";
10
- import { _ as sl } from "./Shape-BBbhObHC.js";
8
+ import al from "./Legend-YPYnzTBz.js";
9
+ import ol from "./Title-CJcZXNtK.js";
10
+ import { _ as sl } from "./Shape-WvXjwML_.js";
11
11
  import { _ as ul } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { key: 1 }, cl = ["id"], dl = ["stop-color"], hl = ["offset", "stop-color"], yl = ["offset", "stop-color"], fl = ["stop-color"], pl = { key: 2 }, gl = ["id", "cx", "cy"], ml = ["stop-color", "stop-opacity"], bl = ["stop-color"], wl = ["id"], kl = ["id"], _l = ["id"], xl = ["flood-color"], $l = ["id"], Cl = ["flood-color"], Tl = ["d", "stroke", "filter"], Pl = ["d", "stroke", "filter"], Al = ["cx", "cy", "r", "fill", "filter"], Fl = { key: 6 }, Sl = ["stroke", "d"], Ll = { key: 0 }, zl = ["d", "fill", "stroke", "stroke-width", "filter"], Ol = ["d", "fill", "stroke", "stroke-width", "filter"], Ml = { key: 0 }, Nl = ["stroke", "d"], Yl = { key: 0 }, Xl = ["d", "stroke", "stroke-width", "filter"], Il = { key: 1 }, Dl = ["d", "fill", "stroke", "stroke-width", "filter"], Vl = ["d", "fill", "stroke", "stroke-width", "filter"], Bl = { key: 1 }, Gl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Rl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Wl = ["cx", "cy", "r", "stroke"], El = ["cx", "cy", "r", "fill"], Ul = { key: 0 }, jl = ["d", "fill", "onMouseenter", "onClick"], Hl = { key: 1 }, ql = ["cx", "cy", "r"], Jl = ["x", "y", "fill", "font-size"], Kl = ["x", "y", "fill", "font-size"], Ql = ["x", "y", "fill", "font-size"], Zl = ["x", "y", "fill", "font-size"], ea = ["filter"], ta = { key: 0 }, la = ["x", "y"], aa = { key: 1 }, oa = ["cx", "cy", "fill", "stroke", "filter", "onClick"], sa = ["cx", "cy", "fill", "stroke", "filter", "onClick"], ua = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], na = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], ra = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], ia = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], va = { key: 2 }, ca = ["x", "y", "width"], da = ["x", "y", "width"], ha = {
13
13
  key: 5,
@@ -33,7 +33,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
33
33
  },
34
34
  emits: ["selectLegend", "selectDatapoint"],
35
35
  setup($e, { expose: vt, emit: ct }) {
36
- const dt = K(() => import("./vue-ui-accordion-BkA7rtwr.js")), ht = K(() => import("./DataTable-CsoAI95B.js")), yt = K(() => import("./PackageVersion-DCAZ9Z7V.js")), ft = K(() => import("./PenAndPaper-B9RP4oFj.js")), pt = K(() => import("./vue-ui-skeleton-miKWlCAi.js")), gt = K(() => import("./Tooltip-COHlzpZI.js")), mt = K(() => import("./UserOptions-CGn3YdRV.js")), { vue_ui_donut: bt } = Xt(), wt = Mt(), z = $e, ue = f({
36
+ const dt = K(() => import("./vue-ui-accordion-bpaEpjqI.js")), ht = K(() => import("./DataTable-CmbjnjRg.js")), yt = K(() => import("./PackageVersion-OcbP0WH2.js")), ft = K(() => import("./PenAndPaper-BgPXmpGI.js")), pt = K(() => import("./vue-ui-skeleton-CavMQlAm.js")), gt = K(() => import("./Tooltip-dXp8FaUj.js")), mt = K(() => import("./UserOptions-Cs7JW3dK.js")), { vue_ui_donut: bt } = Xt(), wt = Mt(), z = $e, ue = p({
37
37
  get() {
38
38
  return !!z.dataset && z.dataset.length;
39
39
  },
@@ -79,7 +79,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
79
79
  E.value && (ee.value && E.value.unobserve(ee.value), E.value.disconnect()), E.value = new ResizeObserver(l), ee.value = ne.value.parentNode, E.value.observe(ee.value);
80
80
  }
81
81
  }
82
- const h = _(Vt()), kt = _(null), de = _(!1), pe = _(""), O = _(null), Oe = _(0);
82
+ const y = _(Vt()), kt = _(null), de = _(!1), pe = _(""), O = _(null), Oe = _(0);
83
83
  function Me() {
84
84
  const l = it({
85
85
  userConfig: z.config,
@@ -93,7 +93,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
93
93
  customPalette: jt[l.theme] || Z
94
94
  } : l;
95
95
  }
96
- const e = f({
96
+ const e = p({
97
97
  get: () => Me(),
98
98
  set: (l) => l
99
99
  }), T = _(!0), B = W([]);
@@ -101,13 +101,13 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
101
101
  return new Promise((a) => {
102
102
  const v = l.length;
103
103
  B.value = Array(v).fill(0);
104
- let m = 0;
104
+ let d = 0;
105
105
  l.forEach((k, $) => {
106
106
  setTimeout(() => {
107
107
  const R = performance.now();
108
108
  function I(ie) {
109
109
  const fe = Math.min((ie - R) / s, 1), Ot = rt(fe);
110
- B.value[$] = k * Ot, B.value = [...B.value], fe < 1 ? requestAnimationFrame(I) : (B.value[$] = k, B.value = [...B.value], m += 1, m === v && a());
110
+ B.value[$] = k * Ot, B.value = [...B.value], fe < 1 ? requestAnimationFrame(I) : (B.value[$] = k, B.value = [...B.value], d += 1, d === v && a());
111
111
  }
112
112
  requestAnimationFrame(I);
113
113
  }, $ * t);
@@ -130,9 +130,9 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
130
130
  Ne(!1);
131
131
  }
132
132
  lt(() => z.config, (l) => {
133
- e.value = Me(), ge.value = !e.value.userOptions.showOnChartHover, ze(), Fe.value += 1, Se.value += 1, Le.value += 1, d.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, d.value.showTable = e.value.table.show, d.value.showTooltip = e.value.style.chart.tooltip.show;
133
+ e.value = Me(), ge.value = !e.value.userOptions.showOnChartHover, ze(), Fe.value += 1, Se.value += 1, Le.value += 1, h.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, h.value.showTable = e.value.table.show, h.value.showTooltip = e.value.style.chart.tooltip.show;
134
134
  }, { deep: !0 });
135
- const Xe = f(() => {
135
+ const Xe = p(() => {
136
136
  const { top: l, right: s, bottom: t, left: a } = e.value.style.chart.padding;
137
137
  return {
138
138
  css: `padding:${l}px ${s}px ${t}px ${a}px`,
@@ -142,10 +142,10 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
142
142
  left: a
143
143
  };
144
144
  }), { isPrinting: Ie, isImaging: De, generatePdf: Ve, generateImage: Be } = el({
145
- elementId: `donut__${h.value}`,
145
+ elementId: `donut__${y.value}`,
146
146
  fileName: e.value.style.chart.title.text || "vue-ui-donut",
147
147
  options: e.value.userOptions.print
148
- }), Ct = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ge = f(() => Bt(e.value.customPalette)), d = _({
148
+ }), Ct = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ge = p(() => Bt(e.value.customPalette)), h = _({
149
149
  dataLabels: {
150
150
  show: e.value.style.chart.layout.labels.dataLabels.show
151
151
  },
@@ -154,10 +154,10 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
154
154
  }), n = _({
155
155
  height: 360,
156
156
  width: 512
157
- }), te = f(() => {
157
+ }), te = p(() => {
158
158
  const l = e.value.style.chart.layout.donut.strokeWidth / 512, s = Math.min(n.value.width, n.value.height) * l, t = s > x.value ? x.value : s;
159
159
  return Math.max(t, 3);
160
- }), Re = ct, G = f(() => z.dataset.map((l, s) => ({
160
+ }), Re = ct, G = p(() => z.dataset.map((l, s) => ({
161
161
  name: l.name,
162
162
  color: nt(l.color) || Ge.value[s] || Z[s] || Z[s % Z.length],
163
163
  value: l.values.reduce((t, a) => t + a, 0),
@@ -166,7 +166,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
166
166
  patternIndex: s,
167
167
  seriesIndex: s,
168
168
  ghost: !1,
169
- pattern: `pattern_${h.value}_${s}`
169
+ pattern: `pattern_${y.value}_${s}`
170
170
  }))), M = W(G.value);
171
171
  lt(() => G.value, (l) => M.value = l);
172
172
  function Tt() {
@@ -177,19 +177,19 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
177
177
  }));
178
178
  }
179
179
  const V = _([]), q = _(!1);
180
- function We({ from: l, to: s, duration: t, onUpdate: a, onDone: v, easing: m = rt }) {
180
+ function We({ from: l, to: s, duration: t, onUpdate: a, onDone: v, easing: d = rt }) {
181
181
  const k = performance.now();
182
182
  function $(R) {
183
- const I = Math.min((R - k) / t, 1), ie = m(I), fe = l + (s - l) * ie;
183
+ const I = Math.min((R - k) / t, 1), ie = d(I), fe = l + (s - l) * ie;
184
184
  a(fe, I), I < 1 ? requestAnimationFrame($) : (a(s, 1), v && v());
185
185
  }
186
186
  requestAnimationFrame($);
187
187
  }
188
188
  function Ee(l) {
189
- const s = G.value.find((v, m) => m === l);
190
- let a = M.value.find((v, m) => m === l).value;
189
+ const s = G.value.find((v, d) => d === l);
190
+ let a = M.value.find((v, d) => d === l).value;
191
191
  if (V.value.includes(l)) {
192
- let m = function() {
192
+ let d = function() {
193
193
  M.value = M.value.map(
194
194
  ($, R) => l === R ? { ...$, value: v } : $
195
195
  );
@@ -204,19 +204,19 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
204
204
  );
205
205
  },
206
206
  onDone: () => {
207
- m(), q.value = !1;
207
+ d(), q.value = !1;
208
208
  }
209
209
  });
210
210
  };
211
211
  V.value = V.value.filter(($) => $ !== l);
212
212
  const v = s.value;
213
- e.value.serieToggleAnimation.show && e.value.type === "classic" ? k() : m();
213
+ e.value.serieToggleAnimation.show && e.value.type === "classic" ? k() : d();
214
214
  } else if (V.value.length < G.value.length - 1) {
215
215
  let v = function() {
216
216
  V.value.push(l), M.value = M.value.map(
217
217
  (k, $) => l === $ ? { ...k, value: 0 } : k
218
218
  );
219
- }, m = function() {
219
+ }, d = function() {
220
220
  q.value = !0, We({
221
221
  from: a,
222
222
  to: 0,
@@ -231,7 +231,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
231
231
  }
232
232
  });
233
233
  };
234
- e.value.serieToggleAnimation.show && e.value.type === "classic" ? m() : v();
234
+ e.value.serieToggleAnimation.show && e.value.type === "classic" ? d() : v();
235
235
  }
236
236
  Re("selectLegend", U.value.map((v) => ({
237
237
  name: v.name,
@@ -239,7 +239,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
239
239
  value: v.value
240
240
  })));
241
241
  }
242
- const Pt = f(() => z.dataset.reduce((l, s) => l + s.values.reduce((t, a) => t + a, 0), 0)), U = f(() => {
242
+ const Pt = p(() => z.dataset.reduce((l, s) => l + s.values.reduce((t, a) => t + a, 0), 0)), U = p(() => {
243
243
  if (T.value) {
244
244
  const l = B.value.map((t, a) => ({
245
245
  ...G.value[a],
@@ -264,7 +264,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
264
264
  ...l,
265
265
  seriesIndex: s
266
266
  })).filter((l, s) => !V.value.includes(s));
267
- }), Ue = f(() => z.dataset.map((l, s) => ({
267
+ }), Ue = p(() => z.dataset.map((l, s) => ({
268
268
  name: l.name,
269
269
  color: nt(l.color) || Ge.value[s] || Z[s] || Z[s % Z.length],
270
270
  value: (l.values || []).reduce((t, a) => t + a, 0),
@@ -276,17 +276,17 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
276
276
  opacity: V.value.includes(s) ? 0.5 : 1,
277
277
  segregate: () => !q.value && Ee(s),
278
278
  isSegregated: V.value.includes(s)
279
- }))), At = f(() => ({
279
+ }))), At = p(() => ({
280
280
  cy: "donut-div-legend",
281
281
  backgroundColor: e.value.style.chart.legend.backgroundColor,
282
282
  color: e.value.style.chart.legend.color,
283
283
  fontSize: e.value.style.chart.legend.fontSize,
284
284
  paddingBottom: 12,
285
285
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
286
- })), x = f(() => {
286
+ })), x = p(() => {
287
287
  const l = Math.min(n.value.width / 3, n.value.height / 3);
288
288
  return l < 55 ? 55 : l;
289
- }), A = f(() => Gt({ series: U.value }, n.value.width / 2, n.value.height / 2, x.value, x.value, 1.99999, 2, 1, 360, 105.25, te.value)), Y = f(() => A.value.filter((l) => !l.ghost)), c = f(() => {
289
+ }), A = p(() => Gt({ series: U.value }, n.value.width / 2, n.value.height / 2, x.value, x.value, 1.99999, 2, 1, 360, 105.25, te.value)), Y = p(() => A.value.filter((l) => !l.ghost)), c = p(() => {
290
290
  const l = Math.max(...U.value.map((t) => t.value)), s = U.value.map((t) => t.value / l);
291
291
  return Rt({
292
292
  series: s,
@@ -323,14 +323,14 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
323
323
  function St(l) {
324
324
  return [...l].map((s) => s.value).reduce((s, t) => s + t, 0);
325
325
  }
326
- const F = f(() => U.value.map((l) => l.value).reduce((l, s) => l + s, 0)), je = f(() => F.value / U.value.length), He = f(() => (l) => q.value ? l.proportion * 100 : l.value / F.value * 100), we = _(null), re = _(!1);
326
+ const F = p(() => U.value.map((l) => l.value).reduce((l, s) => l + s, 0)), je = p(() => F.value / U.value.length), He = p(() => (l) => q.value ? l.proportion * 100 : l.value / F.value * 100), we = _(null), re = _(!1);
327
327
  function qe({ datapoint: l, relativeIndex: s, seriesIndex: t, show: a = !1 }) {
328
328
  we.value = { datapoint: l, seriesIndex: t, config: e.value, series: G.value }, de.value = a, O.value = s;
329
329
  let v = "";
330
- const m = e.value.style.chart.tooltip.customFormat;
331
- if (re.value = !1, Kt(m))
330
+ const d = e.value.style.chart.tooltip.customFormat;
331
+ if (re.value = !1, Kt(d))
332
332
  try {
333
- const k = m({
333
+ const k = d({
334
334
  seriesIndex: t,
335
335
  datapoint: l,
336
336
  series: G.value,
@@ -341,7 +341,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
341
341
  console.warn("Custom format cannot be applied."), re.value = !1;
342
342
  }
343
343
  if (!re.value) {
344
- if (v += `<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>`, v += `<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}"/>${wt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${h.value}_${t})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (v += `<b>${D(
344
+ if (v += `<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>`, v += `<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}"/>${wt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${y.value}_${t})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (v += `<b>${D(
345
345
  e.value.style.chart.layout.labels.value.formatter,
346
346
  l.value,
347
347
  N({
@@ -376,35 +376,35 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
376
376
  }
377
377
  }
378
378
  function J(l) {
379
- return e.value.useBlurOnHover && ![null, void 0].includes(O.value) && O.value !== l ? `url(#blur_${h.value})` : "";
379
+ return e.value.useBlurOnHover && ![null, void 0].includes(O.value) && O.value !== l ? `url(#blur_${y.value})` : "";
380
380
  }
381
- const j = f(() => {
381
+ const j = p(() => {
382
382
  const l = U.value.map((t) => ({
383
383
  name: t.name,
384
384
  color: t.color
385
385
  })), s = U.value.map((t) => t.value);
386
386
  return { head: l, body: s };
387
387
  });
388
- function Je() {
388
+ function Je(l = null) {
389
389
  Yt(() => {
390
- const l = j.value.head.map((a, v) => [[
391
- a.name
392
- ], [j.value.body[v]], [isNaN(j.value.body[v] / F.value) ? "-" : j.value.body[v] / F.value * 100]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t = qt(s);
393
- Jt({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
390
+ const s = j.value.head.map((v, d) => [[
391
+ v.name
392
+ ], [j.value.body[d]], [isNaN(j.value.body[d] / F.value) ? "-" : j.value.body[d] / F.value * 100]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(s), a = qt(t);
393
+ l ? l(a) : Jt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-donut" });
394
394
  });
395
395
  }
396
- const he = f(() => {
396
+ const he = p(() => {
397
397
  const l = [
398
398
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
399
399
  N({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: F.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
400
400
  "100%"
401
- ], s = j.value.head.map((v, m) => [
401
+ ], s = j.value.head.map((v, d) => [
402
402
  {
403
403
  color: v.color,
404
404
  name: v.name
405
405
  },
406
- j.value.body[m],
407
- isNaN(j.value.body[m] / F.value) ? "-" : (j.value.body[m] / F.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
406
+ j.value.body[d],
407
+ isNaN(j.value.body[d] / F.value) ? "-" : (j.value.body[d] / F.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
408
408
  ]), t = {
409
409
  th: {
410
410
  backgroundColor: e.value.table.th.backgroundColor,
@@ -432,7 +432,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
432
432
  function Lt(l) {
433
433
  ae.value = l, Oe.value += 1;
434
434
  }
435
- const Ke = f(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
435
+ const Ke = p(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
436
436
  function zt(l) {
437
437
  return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((s) => "-").join("");
438
438
  }
@@ -440,13 +440,13 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
440
440
  Re("selectDatapoint", { datapoint: l, index: s });
441
441
  }
442
442
  function Qe() {
443
- d.value.showTable = !d.value.showTable;
443
+ h.value.showTable = !h.value.showTable;
444
444
  }
445
445
  function Ze() {
446
- d.value.dataLabels.show = !d.value.dataLabels.show;
446
+ h.value.dataLabels.show = !h.value.dataLabels.show;
447
447
  }
448
448
  function et() {
449
- d.value.showTooltip = !d.value.showTooltip;
449
+ h.value.showTooltip = !h.value.showTooltip;
450
450
  }
451
451
  const ye = _(!1);
452
452
  function ke() {
@@ -466,7 +466,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
466
466
  ref: ne,
467
467
  class: _e(`vue-ui-donut ${ae.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
468
468
  style: b(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
469
- id: `donut__${h.value}`,
469
+ id: `donut__${y.value}`,
470
470
  onMouseenter: xt,
471
471
  onMouseleave: $t
472
472
  }, [
@@ -478,7 +478,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
478
478
  svgRef: u(me),
479
479
  onClose: ke
480
480
  }, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : i("", !0),
481
- p(l.$slots, "userConfig", {}, void 0, !0),
481
+ g(l.$slots, "userConfig", {}, void 0, !0),
482
482
  Ct.value ? (o(), r("div", {
483
483
  key: 1,
484
484
  ref_key: "noTitle",
@@ -514,7 +514,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
514
514
  color: e.value.style.chart.color,
515
515
  isPrinting: u(Ie),
516
516
  isImaging: u(De),
517
- uid: h.value,
517
+ uid: y.value,
518
518
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
519
519
  hasPdf: e.value.userOptions.buttons.pdf,
520
520
  hasImg: e.value.userOptions.buttons.img,
@@ -525,7 +525,8 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
525
525
  isFullscreen: ae.value,
526
526
  chartElement: ne.value,
527
527
  position: e.value.userOptions.position,
528
- isTooltip: d.value.showTooltip,
528
+ callbacks: e.value.userOptions.callbacks,
529
+ isTooltip: h.value.showTooltip,
529
530
  titles: { ...e.value.userOptions.buttonTitles },
530
531
  hasAnnotator: e.value.userOptions.buttons.annotator,
531
532
  isAnnotation: ye.value,
@@ -544,67 +545,67 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
544
545
  l.$slots.menuIcon ? {
545
546
  name: "menuIcon",
546
547
  fn: C(({ isOpen: t, color: a }) => [
547
- p(l.$slots, "menuIcon", oe(se({ isOpen: t, color: a })), void 0, !0)
548
+ g(l.$slots, "menuIcon", oe(se({ isOpen: t, color: a })), void 0, !0)
548
549
  ]),
549
550
  key: "0"
550
551
  } : void 0,
551
552
  l.$slots.optionTooltip ? {
552
553
  name: "optionTooltip",
553
554
  fn: C(() => [
554
- p(l.$slots, "optionTooltip", {}, void 0, !0)
555
+ g(l.$slots, "optionTooltip", {}, void 0, !0)
555
556
  ]),
556
557
  key: "1"
557
558
  } : void 0,
558
559
  l.$slots.optionPdf ? {
559
560
  name: "optionPdf",
560
561
  fn: C(() => [
561
- p(l.$slots, "optionPdf", {}, void 0, !0)
562
+ g(l.$slots, "optionPdf", {}, void 0, !0)
562
563
  ]),
563
564
  key: "2"
564
565
  } : void 0,
565
566
  l.$slots.optionCsv ? {
566
567
  name: "optionCsv",
567
568
  fn: C(() => [
568
- p(l.$slots, "optionCsv", {}, void 0, !0)
569
+ g(l.$slots, "optionCsv", {}, void 0, !0)
569
570
  ]),
570
571
  key: "3"
571
572
  } : void 0,
572
573
  l.$slots.optionImg ? {
573
574
  name: "optionImg",
574
575
  fn: C(() => [
575
- p(l.$slots, "optionImg", {}, void 0, !0)
576
+ g(l.$slots, "optionImg", {}, void 0, !0)
576
577
  ]),
577
578
  key: "4"
578
579
  } : void 0,
579
580
  l.$slots.optionTable ? {
580
581
  name: "optionTable",
581
582
  fn: C(() => [
582
- p(l.$slots, "optionTable", {}, void 0, !0)
583
+ g(l.$slots, "optionTable", {}, void 0, !0)
583
584
  ]),
584
585
  key: "5"
585
586
  } : void 0,
586
587
  l.$slots.optionLabels ? {
587
588
  name: "optionLabels",
588
589
  fn: C(() => [
589
- p(l.$slots, "optionLabels", {}, void 0, !0)
590
+ g(l.$slots, "optionLabels", {}, void 0, !0)
590
591
  ]),
591
592
  key: "6"
592
593
  } : void 0,
593
594
  l.$slots.optionFullscreen ? {
594
595
  name: "optionFullscreen",
595
596
  fn: C(({ toggleFullscreen: t, isFullscreen: a }) => [
596
- p(l.$slots, "optionFullscreen", oe(se({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
597
+ g(l.$slots, "optionFullscreen", oe(se({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
597
598
  ]),
598
599
  key: "7"
599
600
  } : void 0,
600
601
  l.$slots.optionAnnotator ? {
601
602
  name: "optionAnnotator",
602
603
  fn: C(({ toggleAnnotator: t, isAnnotator: a }) => [
603
- p(l.$slots, "optionAnnotator", oe(se({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
604
+ g(l.$slots, "optionAnnotator", oe(se({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
604
605
  ]),
605
606
  key: "8"
606
607
  } : void 0
607
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
608
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "callbacks", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
608
609
  ue.value ? (o(), r("svg", {
609
610
  key: 4,
610
611
  ref_key: "svgRef",
@@ -625,28 +626,28 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
625
626
  pointerEvents: "none"
626
627
  }
627
628
  }, [
628
- p(l.$slots, "chart-background", {}, void 0, !0)
629
+ g(l.$slots, "chart-background", {}, void 0, !0)
629
630
  ], 8, il)) : i("", !0),
630
631
  e.value.type === "classic" && !isNaN(te.value / x.value) ? (o(), r("defs", vl, [
631
632
  e.value.style.chart.useGradient ? (o(), r("radialGradient", {
632
633
  key: 0,
633
- id: `gradient_${h.value}`
634
+ id: `gradient_${y.value}`
634
635
  }, [
635
- y("stop", {
636
+ f("stop", {
636
637
  offset: "0%",
637
638
  "stop-color": u(ve)(e.value.style.chart.backgroundColor, 0),
638
639
  "stop-opacity": "0"
639
640
  }, null, 8, dl),
640
- y("stop", {
641
+ f("stop", {
641
642
  offset: `${(1 - te.value / x.value) * 100}%`,
642
643
  "stop-color": u(ve)("#FFFFFF", 0),
643
644
  "stop-opacity": "0"
644
645
  }, null, 8, hl),
645
- y("stop", {
646
+ f("stop", {
646
647
  offset: `${(1 - te.value / x.value / 2) * 100}%`,
647
648
  "stop-color": u(ve)("#FFFFFF", e.value.style.chart.gradientIntensity)
648
649
  }, null, 8, yl),
649
- y("stop", {
650
+ f("stop", {
650
651
  offset: "100%",
651
652
  "stop-color": u(ve)(e.value.style.chart.backgroundColor, 0),
652
653
  "stop-opacity": "0"
@@ -654,46 +655,46 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
654
655
  ], 8, cl)) : i("", !0)
655
656
  ])) : i("", !0),
656
657
  e.value.type === "polar" ? (o(), r("defs", pl, [
657
- (o(!0), r(g, null, S(c.value, (t, a) => (o(), r("radialGradient", {
658
- id: `polar_gradient_${a}_${h.value}`,
658
+ (o(!0), r(m, null, S(c.value, (t, a) => (o(), r("radialGradient", {
659
+ id: `polar_gradient_${a}_${y.value}`,
659
660
  cx: (isNaN(t.middlePoint.x / n.value.width * 100) ? 0 : t.middlePoint.x / n.value.width * 100) + "%",
660
661
  cy: (isNaN(t.middlePoint.y / n.value.height * 100) ? 0 : t.middlePoint.y / n.value.height * 100) + "%",
661
662
  r: "62%"
662
663
  }, [
663
- y("stop", {
664
+ f("stop", {
664
665
  offset: "0%",
665
666
  "stop-color": u(Et)(A.value[a].color, 0.05),
666
667
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
667
668
  }, null, 8, ml),
668
- y("stop", {
669
+ f("stop", {
669
670
  offset: "100%",
670
671
  "stop-color": A.value[a].color
671
672
  }, null, 8, bl)
672
673
  ], 8, gl))), 256))
673
674
  ])) : i("", !0),
674
- y("defs", null, [
675
- y("filter", {
676
- id: `blur_${h.value}`,
675
+ f("defs", null, [
676
+ f("filter", {
677
+ id: `blur_${y.value}`,
677
678
  x: "-50%",
678
679
  y: "-50%",
679
680
  width: "200%",
680
681
  height: "200%"
681
682
  }, [
682
- y("feGaussianBlur", {
683
+ f("feGaussianBlur", {
683
684
  in: "SourceGraphic",
684
685
  stdDeviation: 2,
685
- id: `blur_std_${h.value}`
686
+ id: `blur_std_${y.value}`
686
687
  }, null, 8, kl),
687
- s[6] || (s[6] = y("feColorMatrix", {
688
+ s[6] || (s[6] = f("feColorMatrix", {
688
689
  type: "saturate",
689
690
  values: "0"
690
691
  }, null, -1))
691
692
  ], 8, wl),
692
- y("filter", {
693
- id: `shadow_${h.value}`,
693
+ f("filter", {
694
+ id: `shadow_${y.value}`,
694
695
  "color-interpolation-filters": "sRGB"
695
696
  }, [
696
- y("feDropShadow", {
697
+ f("feDropShadow", {
697
698
  dx: "0",
698
699
  dy: "0",
699
700
  stdDeviation: "10",
@@ -701,15 +702,15 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
701
702
  "flood-color": e.value.style.chart.layout.donut.shadowColor
702
703
  }, null, 8, xl)
703
704
  ], 8, _l),
704
- y("filter", {
705
- id: `drop_shadow_${h.value}`,
705
+ f("filter", {
706
+ id: `drop_shadow_${y.value}`,
706
707
  "color-interpolation-filters": "sRGB",
707
708
  x: "-50%",
708
709
  y: "-50%",
709
710
  width: "200%",
710
711
  height: "200%"
711
712
  }, [
712
- y("feDropShadow", {
713
+ f("feDropShadow", {
713
714
  dx: "0",
714
715
  dy: "0",
715
716
  stdDeviation: "3",
@@ -718,8 +719,8 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
718
719
  }, null, 8, Cl)
719
720
  ], 8, $l)
720
721
  ]),
721
- e.value.type === "classic" ? (o(!0), r(g, { key: 3 }, S(A.value.filter((t) => !t.ghost), (t, a) => (o(), r("g", null, [
722
- X(t) && d.value.dataLabels.show ? (o(), r("path", {
722
+ e.value.type === "classic" ? (o(!0), r(m, { key: 3 }, S(A.value.filter((t) => !t.ghost), (t, a) => (o(), r("g", null, [
723
+ X(t) && h.value.dataLabels.show ? (o(), r("path", {
723
724
  key: 0,
724
725
  d: u(Ut)(t, { x: n.value.width / 2, y: n.value.height / 2 }, 16, 16, !1, !1, te.value, 12, e.value.style.chart.layout.curvedMarkers),
725
726
  stroke: t.color,
@@ -730,8 +731,8 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
730
731
  filter: J(a)
731
732
  }, null, 8, Tl)) : i("", !0)
732
733
  ]))), 256)) : i("", !0),
733
- e.value.type === "polar" ? (o(!0), r(g, { key: 4 }, S(A.value.filter((t) => !t.ghost), (t, a) => (o(), r("g", null, [
734
- X(t) && d.value.dataLabels.show ? (o(), r("path", {
734
+ e.value.type === "polar" ? (o(!0), r(m, { key: 4 }, S(A.value.filter((t) => !t.ghost), (t, a) => (o(), r("g", null, [
735
+ X(t) && h.value.dataLabels.show ? (o(), r("path", {
735
736
  key: 0,
736
737
  d: `M ${u(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x},${u(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y} ${c.value[a].middlePoint.x},${c.value[a].middlePoint.y}`,
737
738
  stroke: t.color,
@@ -751,23 +752,23 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
751
752
  cy: n.value.height / 2,
752
753
  r: x.value <= 0 ? 10 : x.value,
753
754
  fill: e.value.style.chart.backgroundColor,
754
- filter: `url(#shadow_${h.value})`
755
+ filter: `url(#shadow_${y.value})`
755
756
  }, null, 8, Al)) : i("", !0),
756
757
  l.$slots.pattern ? (o(), r("g", Fl, [
757
- (o(!0), r(g, null, S($e.dataset, (t, a) => (o(), r("defs", {
758
+ (o(!0), r(m, null, S($e.dataset, (t, a) => (o(), r("defs", {
758
759
  key: `pattern-${t.patternIndex}`
759
760
  }, [
760
- p(l.$slots, "pattern", ot({ ref_for: !0 }, { seriesIndex: a, patternId: `pattern_${h.value}_${a}` }), void 0, !0)
761
+ g(l.$slots, "pattern", ot({ ref_for: !0 }, { seriesIndex: a, patternId: `pattern_${y.value}_${a}` }), void 0, !0)
761
762
  ]))), 128))
762
763
  ])) : i("", !0),
763
- F.value && e.value.type === "classic" ? (o(), r(g, { key: 7 }, [
764
- (o(!0), r(g, null, S(Y.value, (t, a) => (o(), r("path", {
764
+ F.value && e.value.type === "classic" ? (o(), r(m, { key: 7 }, [
765
+ (o(!0), r(m, null, S(Y.value, (t, a) => (o(), r("path", {
765
766
  stroke: e.value.style.chart.backgroundColor,
766
767
  d: t.arcSlice,
767
768
  fill: "#FFFFFF"
768
769
  }, null, 8, Sl))), 256)),
769
770
  l.$slots.pattern ? (o(), r("g", Ll, [
770
- (o(!0), r(g, null, S(Y.value, (t, a) => (o(), r("path", {
771
+ (o(!0), r(m, null, S(Y.value, (t, a) => (o(), r("path", {
771
772
  class: "vue-ui-donut-arc-path",
772
773
  d: t.arcSlice,
773
774
  fill: `url(#${t.pattern})`,
@@ -776,7 +777,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
776
777
  filter: J(a)
777
778
  }, null, 8, zl))), 256))
778
779
  ])) : i("", !0),
779
- (o(!0), r(g, null, S(Y.value, (t, a) => (o(), r("path", {
780
+ (o(!0), r(m, null, S(Y.value, (t, a) => (o(), r("path", {
780
781
  class: "vue-ui-donut-arc-path",
781
782
  d: t.arcSlice,
782
783
  fill: u(ve)(t.color, 80),
@@ -785,9 +786,9 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
785
786
  filter: J(a)
786
787
  }, null, 8, Ol))), 256))
787
788
  ], 64)) : i("", !0),
788
- F.value && e.value.type === "polar" ? (o(), r(g, { key: 8 }, [
789
+ F.value && e.value.type === "polar" ? (o(), r(m, { key: 8 }, [
789
790
  A.value.length > 1 ? (o(), r("g", Ml, [
790
- (o(!0), r(g, null, S(Y.value, (t, a) => (o(), r("path", {
791
+ (o(!0), r(m, null, S(Y.value, (t, a) => (o(), r("path", {
791
792
  stroke: e.value.style.chart.backgroundColor,
792
793
  d: c.value[a].path,
793
794
  fill: "#FFFFFF",
@@ -796,20 +797,20 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
796
797
  })
797
798
  }, null, 12, Nl))), 256)),
798
799
  e.value.style.chart.layout.donut.useShadow ? (o(), r("g", Yl, [
799
- (o(!0), r(g, null, S(Y.value, (t, a) => (o(), r("path", {
800
+ (o(!0), r(m, null, S(Y.value, (t, a) => (o(), r("path", {
800
801
  class: "vue-ui-donut-arc-path",
801
802
  d: c.value[a].path,
802
803
  fill: "transparent",
803
804
  stroke: e.value.style.chart.backgroundColor,
804
805
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
805
- filter: `url(#drop_shadow_${h.value})`,
806
+ filter: `url(#drop_shadow_${y.value})`,
806
807
  style: b({
807
808
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
808
809
  })
809
810
  }, null, 12, Xl))), 256))
810
811
  ])) : i("", !0),
811
812
  l.$slots.pattern ? (o(), r("g", Il, [
812
- (o(!0), r(g, null, S(Y.value, (t, a) => (o(), r("path", {
813
+ (o(!0), r(m, null, S(Y.value, (t, a) => (o(), r("path", {
813
814
  class: "vue-ui-donut-arc-path",
814
815
  d: c.value[a].path,
815
816
  fill: `url(#${t.pattern})`,
@@ -821,10 +822,10 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
821
822
  })
822
823
  }, null, 12, Dl))), 256))
823
824
  ])) : i("", !0),
824
- (o(!0), r(g, null, S(Y.value, (t, a) => (o(), r("path", {
825
+ (o(!0), r(m, null, S(Y.value, (t, a) => (o(), r("path", {
825
826
  class: "vue-ui-donut-arc-path",
826
827
  d: c.value[a].path,
827
- fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${h.value})` : t.color,
828
+ fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${y.value})` : t.color,
828
829
  stroke: e.value.style.chart.backgroundColor,
829
830
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
830
831
  filter: J(a),
@@ -838,15 +839,15 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
838
839
  cx: n.value.width / 2,
839
840
  cy: n.value.height / 2,
840
841
  r: x.value,
841
- fill: `url(#pattern_${h.value}_${A.value[0].patternIndex})`,
842
+ fill: `url(#pattern_${y.value}_${A.value[0].patternIndex})`,
842
843
  stroke: e.value.style.chart.backgroundColor,
843
844
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
844
845
  }, null, 8, Gl)) : i("", !0),
845
- y("circle", {
846
+ f("circle", {
846
847
  cx: n.value.width / 2,
847
848
  cy: n.value.height / 2,
848
849
  r: x.value,
849
- fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${h.value})` : A.value[0].color,
850
+ fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${y.value})` : A.value[0].color,
850
851
  stroke: e.value.style.chart.backgroundColor,
851
852
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
852
853
  }, null, 8, Rl)
@@ -867,11 +868,11 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
867
868
  /* This might require adjustments */
868
869
  x.value <= 0 ? 10 : x.value
869
870
  ),
870
- fill: `url(#gradient_${h.value})`
871
+ fill: `url(#gradient_${y.value})`
871
872
  }, null, 8, El)) : i("", !0),
872
- F.value ? (o(), r(g, { key: 11 }, [
873
+ F.value ? (o(), r(m, { key: 11 }, [
873
874
  A.value.length > 1 || e.value.type === "classic" ? (o(), r("g", Ul, [
874
- (o(!0), r(g, null, S(A.value.filter((t) => !t.ghost), (t, a) => (o(), r("path", {
875
+ (o(!0), r(m, null, S(A.value.filter((t) => !t.ghost), (t, a) => (o(), r("path", {
875
876
  d: e.value.type === "classic" ? t.arcSlice : c.value[a].path,
876
877
  fill: O.value === a ? "rgba(0,0,0,0.1)" : "transparent",
877
878
  onMouseenter: (v) => qe({
@@ -886,7 +887,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
886
887
  onClick: (v) => H(t, a)
887
888
  }, null, 40, jl))), 256))
888
889
  ])) : (o(), r("g", Hl, [
889
- y("circle", {
890
+ f("circle", {
890
891
  cx: n.value.width / 2,
891
892
  cy: n.value.height / 2,
892
893
  r: x.value,
@@ -904,7 +905,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
904
905
  }, null, 40, ql)
905
906
  ]))
906
907
  ], 64)) : i("", !0),
907
- e.value.type === "classic" ? (o(), r(g, { key: 12 }, [
908
+ e.value.type === "classic" ? (o(), r(m, { key: 12 }, [
908
909
  e.value.style.chart.layout.labels.hollow.total.show ? (o(), r("text", {
909
910
  key: 0,
910
911
  "text-anchor": "middle",
@@ -959,7 +960,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
959
960
  })
960
961
  )), 13, Zl)) : i("", !0)
961
962
  ], 64)) : i("", !0),
962
- (o(!0), r(g, null, S(Y.value.filter((t) => !t.ghost), (t, a) => (o(), r("g", {
963
+ (o(!0), r(m, null, S(Y.value.filter((t) => !t.ghost), (t, a) => (o(), r("g", {
963
964
  filter: J(a),
964
965
  class: _e({ animated: e.value.useCssAnimation })
965
966
  }, [
@@ -971,12 +972,12 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
971
972
  height: "60",
972
973
  style: { overflow: "visible" }
973
974
  }, [
974
- y("div", null, [
975
- p(l.$slots, "dataLabel", ot({ ref_for: !0 }, {
975
+ f("div", null, [
976
+ g(l.$slots, "dataLabel", ot({ ref_for: !0 }, {
976
977
  datapoint: t,
977
978
  isBlur: !e.value.useBlurOnHover || [null, void 0].includes(O.value) || O.value === a,
978
979
  isSafari: Ke.value,
979
- isVisible: X(t) && d.value.dataLabels.show,
980
+ isVisible: X(t) && h.value.dataLabels.show,
980
981
  textAlign: u(w)(t, !0, 16, !0).anchor,
981
982
  flexAlign: u(w)(t, !0, 16).anchor,
982
983
  percentage: be(t, Y.value)
@@ -984,8 +985,8 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
984
985
  ])
985
986
  ], 8, la))
986
987
  ])) : (o(), r("g", aa, [
987
- e.value.type === "classic" ? (o(), r(g, { key: 0 }, [
988
- X(t) && d.value.dataLabels.show ? (o(), r("circle", {
988
+ e.value.type === "classic" ? (o(), r(m, { key: 0 }, [
989
+ X(t) && h.value.dataLabels.show ? (o(), r("circle", {
989
990
  key: 0,
990
991
  cx: u(w)(t).x,
991
992
  cy: u(ce)(t) - 3.5,
@@ -993,12 +994,12 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
993
994
  stroke: e.value.style.chart.backgroundColor,
994
995
  "stroke-width": 1,
995
996
  r: 3,
996
- filter: !e.value.useBlurOnHover || [null, void 0].includes(O.value) || O.value === a ? "" : `url(#blur_${h.value})`,
997
+ filter: !e.value.useBlurOnHover || [null, void 0].includes(O.value) || O.value === a ? "" : `url(#blur_${y.value})`,
997
998
  onClick: (v) => H(t, a)
998
999
  }, null, 8, oa)) : i("", !0)
999
1000
  ], 64)) : i("", !0),
1000
- e.value.type === "polar" ? (o(), r(g, { key: 1 }, [
1001
- X(t) && d.value.dataLabels.show ? (o(), r("circle", {
1001
+ e.value.type === "polar" ? (o(), r(m, { key: 1 }, [
1002
+ X(t) && h.value.dataLabels.show ? (o(), r("circle", {
1002
1003
  key: 0,
1003
1004
  cx: u(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x,
1004
1005
  cy: u(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y,
@@ -1006,15 +1007,15 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1006
1007
  stroke: e.value.style.chart.backgroundColor,
1007
1008
  "stroke-width": 1,
1008
1009
  r: 3,
1009
- filter: !e.value.useBlurOnHover || [null, void 0].includes(O.value) || O.value === a ? "" : `url(#blur_${h.value})`,
1010
+ filter: !e.value.useBlurOnHover || [null, void 0].includes(O.value) || O.value === a ? "" : `url(#blur_${y.value})`,
1010
1011
  onClick: (v) => H(t, a),
1011
1012
  style: b({
1012
1013
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1013
1014
  })
1014
1015
  }, null, 12, sa)) : i("", !0)
1015
1016
  ], 64)) : i("", !0),
1016
- e.value.type === "classic" ? (o(), r(g, { key: 2 }, [
1017
- X(t) && d.value.dataLabels.show ? (o(), r("text", {
1017
+ e.value.type === "classic" ? (o(), r(m, { key: 2 }, [
1018
+ X(t) && h.value.dataLabels.show ? (o(), r("text", {
1018
1019
  key: 0,
1019
1020
  "text-anchor": u(w)(t, !0, 12).anchor,
1020
1021
  x: u(w)(t, !0, 12).x,
@@ -1034,7 +1035,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1034
1035
  }),
1035
1036
  { datapoint: t }
1036
1037
  )})` : ""), 13, ua)) : i("", !0),
1037
- X(t) && d.value.dataLabels.show ? (o(), r("text", {
1038
+ X(t) && h.value.dataLabels.show ? (o(), r("text", {
1038
1039
  key: 1,
1039
1040
  "text-anchor": u(w)(t).anchor,
1040
1041
  x: u(w)(t, !0, 12).x,
@@ -1045,8 +1046,8 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1045
1046
  onClick: (v) => H(t, a)
1046
1047
  }, P(t.name), 13, na)) : i("", !0)
1047
1048
  ], 64)) : i("", !0),
1048
- e.value.type === "polar" ? (o(), r(g, { key: 3 }, [
1049
- X(t) && d.value.dataLabels.show ? (o(), r("text", {
1049
+ e.value.type === "polar" ? (o(), r(m, { key: 3 }, [
1050
+ X(t) && h.value.dataLabels.show ? (o(), r("text", {
1050
1051
  key: 0,
1051
1052
  "text-anchor": le(c.value[a].middlePoint),
1052
1053
  x: u(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x,
@@ -1069,7 +1070,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1069
1070
  }),
1070
1071
  { datapoint: t }
1071
1072
  )})` : ""), 13, ra)) : i("", !0),
1072
- X(t) && d.value.dataLabels.show ? (o(), r("text", {
1073
+ X(t) && h.value.dataLabels.show ? (o(), r("text", {
1073
1074
  key: 1,
1074
1075
  "text-anchor": le(c.value[a].middlePoint),
1075
1076
  x: u(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x,
@@ -1084,7 +1085,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1084
1085
  }, P(t.name), 13, ia)) : i("", !0)
1085
1086
  ], 64)) : i("", !0)
1086
1087
  ])),
1087
- d.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), r("g", va, [
1088
+ h.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), r("g", va, [
1088
1089
  X(t) && e.value.type === "classic" ? (o(), r("foreignObject", {
1089
1090
  key: 0,
1090
1091
  x: e.value.style.chart.comments.offsetX + (u(w)(t, !0).anchor === "end" ? u(w)(t).x - e.value.style.chart.comments.width : u(w)(t, !0).anchor === "middle" ? u(w)(t).x - e.value.style.chart.comments.width / 2 : u(w)(t).x),
@@ -1093,8 +1094,8 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1093
1094
  height: "200",
1094
1095
  style: { overflow: "visible", "pointer-events": "none" }
1095
1096
  }, [
1096
- y("div", null, [
1097
- p(l.$slots, "plot-comment", {
1097
+ f("div", null, [
1098
+ g(l.$slots, "plot-comment", {
1098
1099
  plot: { ...t, textAlign: u(w)(t, !0, 16, !0).anchor, flexAlign: u(w)(t, !0, 16).anchor, isFirstLoad: T.value }
1099
1100
  }, void 0, !0)
1100
1101
  ])
@@ -1111,18 +1112,18 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1111
1112
  pointerEvents: "none"
1112
1113
  })
1113
1114
  }, [
1114
- y("div", null, [
1115
- p(l.$slots, "plot-comment", {
1115
+ f("div", null, [
1116
+ g(l.$slots, "plot-comment", {
1116
1117
  plot: { ...t, textAlign: le(c.value[a].middlePoint), flexAlign: le(c.value[a].middlePoint), isFirstLoad: T.value }
1117
1118
  }, void 0, !0)
1118
1119
  ])
1119
1120
  ], 12, da)) : i("", !0)
1120
1121
  ])) : i("", !0)
1121
1122
  ], 10, ea))), 256)),
1122
- p(l.$slots, "svg", { svg: n.value }, void 0, !0)
1123
+ g(l.$slots, "svg", { svg: n.value }, void 0, !0)
1123
1124
  ], 14, rl)) : i("", !0),
1124
1125
  l.$slots.watermark ? (o(), r("div", ha, [
1125
- p(l.$slots, "watermark", oe(se({ isPrinting: u(Ie) || u(De) })), void 0, !0)
1126
+ g(l.$slots, "watermark", oe(se({ isPrinting: u(Ie) || u(De) })), void 0, !0)
1126
1127
  ])) : i("", !0),
1127
1128
  ue.value ? i("", !0) : (o(), Q(u(pt), {
1128
1129
  key: 6,
@@ -1137,7 +1138,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1137
1138
  }
1138
1139
  }
1139
1140
  }, null, 8, ["config"])),
1140
- y("div", {
1141
+ f("div", {
1141
1142
  ref_key: "chartLegend",
1142
1143
  ref: Te
1143
1144
  }, [
@@ -1148,7 +1149,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1148
1149
  onClickMarker: s[4] || (s[4] = ({ i: t }) => Ee(t))
1149
1150
  }, at({
1150
1151
  item: C(({ legend: t, index: a }) => [
1151
- y("div", {
1152
+ f("div", {
1152
1153
  style: b(`opacity:${V.value.includes(a) ? 0.5 : 1}`),
1153
1154
  onClick: (v) => t.segregate()
1154
1155
  }, [
@@ -1187,13 +1188,13 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1187
1188
  radius: 30,
1188
1189
  stroke: "none",
1189
1190
  plot: { x: 30, y: 30 },
1190
- fill: `url(#pattern_${h.value}_${a})`
1191
+ fill: `url(#pattern_${y.value}_${a})`
1191
1192
  }, null, 8, ["shape", "fill"])
1192
1193
  ]),
1193
1194
  key: "0"
1194
1195
  } : void 0
1195
1196
  ]), 1032, ["legendSet", "config"])) : i("", !0),
1196
- p(l.$slots, "legend", { legend: Ue.value }, void 0, !0)
1197
+ g(l.$slots, "legend", { legend: Ue.value }, void 0, !0)
1197
1198
  ], 512),
1198
1199
  l.$slots.source ? (o(), r("div", {
1199
1200
  key: 7,
@@ -1201,10 +1202,10 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1201
1202
  ref: Pe,
1202
1203
  dir: "auto"
1203
1204
  }, [
1204
- p(l.$slots, "source", {}, void 0, !0)
1205
+ g(l.$slots, "source", {}, void 0, !0)
1205
1206
  ], 512)) : i("", !0),
1206
1207
  xe(u(gt), {
1207
- show: d.value.showTooltip && de.value,
1208
+ show: h.value.showTooltip && de.value,
1208
1209
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1209
1210
  color: e.value.style.chart.tooltip.color,
1210
1211
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -1220,10 +1221,10 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1220
1221
  isFullscreen: ae.value
1221
1222
  }, {
1222
1223
  "tooltip-before": C(() => [
1223
- p(l.$slots, "tooltip-before", oe(se({ ...we.value })), void 0, !0)
1224
+ g(l.$slots, "tooltip-before", oe(se({ ...we.value })), void 0, !0)
1224
1225
  ]),
1225
1226
  "tooltip-after": C(() => [
1226
- p(l.$slots, "tooltip-after", oe(se({ ...we.value })), void 0, !0)
1227
+ g(l.$slots, "tooltip-after", oe(se({ ...we.value })), void 0, !0)
1227
1228
  ]),
1228
1229
  _: 3
1229
1230
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
@@ -1231,7 +1232,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1231
1232
  key: 8,
1232
1233
  hideDetails: "",
1233
1234
  config: {
1234
- open: d.value.showTable,
1235
+ open: h.value.showTable,
1235
1236
  maxHeight: 1e4,
1236
1237
  body: {
1237
1238
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -1251,10 +1252,10 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1251
1252
  body: he.value.body,
1252
1253
  config: he.value.config,
1253
1254
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
1254
- onClose: s[5] || (s[5] = (t) => d.value.showTable = !1)
1255
+ onClose: s[5] || (s[5] = (t) => h.value.showTable = !1)
1255
1256
  }, {
1256
1257
  th: C(({ th: t }) => [
1257
- y("div", {
1258
+ f("div", {
1258
1259
  innerHTML: t,
1259
1260
  style: { display: "flex", "align-items": "center" }
1260
1261
  }, null, 8, ga)
@@ -1286,7 +1287,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1286
1287
  }, 8, ["config"])) : i("", !0)
1287
1288
  ], 46, nl));
1288
1289
  }
1289
- }, Sa = /* @__PURE__ */ ul(ma, [["__scopeId", "data-v-ce420fe5"]]);
1290
+ }, Sa = /* @__PURE__ */ ul(ma, [["__scopeId", "data-v-e6ceb7ec"]]);
1290
1291
  export {
1291
1292
  Sa as default
1292
1293
  };