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

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 (87) hide show
  1. package/dist/{Arrow-CmqjRRUl.js → Arrow-BhI2Y-DB.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BMlyvt7E.js → BaseDraggableDialog-DyUBiw-C.js} +68 -64
  3. package/dist/{BaseIcon-CZdMutjs.js → BaseIcon-PZPlJOYf.js} +1 -1
  4. package/dist/{ColorPicker-DvVKgyAl.js → ColorPicker-Bni7kKI_.js} +2 -2
  5. package/dist/{DataTable-Cv9CIz-a.js → DataTable-bcUa-A_V.js} +2 -2
  6. package/dist/{Legend-DFunFf8i.js → Legend-iNd1Vv1J.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-pVuHj6_A.js → NonSvgPenAndPaper-DwB3JfsE.js} +3 -3
  8. package/dist/{PackageVersion-CLY-udAA.js → PackageVersion-BVH19wf6.js} +1 -1
  9. package/dist/{PenAndPaper-B9na2mbr.js → PenAndPaper-U4bWifCe.js} +3 -3
  10. package/dist/{Shape-D3w9qas1.js → Shape-CTyy5HJi.js} +1 -1
  11. package/dist/{Slicer-ncY8krrM.js → Slicer-hiaHGsme.js} +2 -2
  12. package/dist/{SparkTooltip-CwThutH2.js → SparkTooltip-oo_wqrT6.js} +1 -1
  13. package/dist/{Title-B5qqUI3M.js → Title-BTCPUIcD.js} +1 -1
  14. package/dist/{Tooltip-C9rxJ-Ru.js → Tooltip-B9AfUFVK.js} +1 -1
  15. package/dist/{UserOptions-Ddy6CuLC.js → UserOptions-yZJ8noVU.js} +1 -1
  16. package/dist/{dom-to-png-DDlooC9r.js → dom-to-png-BgRIWz9M.js} +1 -1
  17. package/dist/{img-m9g7lR5d.js → img-CgYxq-UP.js} +1 -1
  18. package/dist/{index-BiHmNd1-.js → index-CaxNz2cE.js} +1 -1
  19. package/dist/{pdf-BqM953uL.js → pdf-eUy0b_yU.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/{useNestedProp-tRqS0ZAM.js → useNestedProp-DpK9-Xt0.js} +1 -1
  22. package/dist/{usePrinter-CRCbl1WG.js → usePrinter-BprQttno.js} +2 -2
  23. package/dist/{vue-data-ui-D9uTDt73.js → vue-data-ui-BkO9svuE.js} +63 -63
  24. package/dist/vue-data-ui.js +1 -1
  25. package/dist/{vue-ui-3d-bar-rtuSc8FS.js → vue-ui-3d-bar-Bft3k9wg.js} +5 -5
  26. package/dist/{vue-ui-accordion-CmCs2yR2.js → vue-ui-accordion-BZ16n4QT.js} +3 -3
  27. package/dist/{vue-ui-age-pyramid-BrzMSiyu.js → vue-ui-age-pyramid-BblPK5iv.js} +5 -5
  28. package/dist/{vue-ui-annotator-CYxmTpf6.js → vue-ui-annotator-DW3swnxO.js} +2 -2
  29. package/dist/{vue-ui-bullet-D25qNQfb.js → vue-ui-bullet-DybokJeh.js} +6 -6
  30. package/dist/{vue-ui-candlestick-BuerNa-r.js → vue-ui-candlestick-aXzuaWXT.js} +6 -6
  31. package/dist/{vue-ui-carousel-table-aN0HLsOO.js → vue-ui-carousel-table-D7_v27hl.js} +4 -4
  32. package/dist/{vue-ui-chestnut-oUj2ocsZ.js → vue-ui-chestnut-ClfPFRWK.js} +4 -4
  33. package/dist/{vue-ui-chord-C4evlXYB.js → vue-ui-chord-Clo2yN8x.js} +84 -83
  34. package/dist/{vue-ui-circle-pack-CWrNiKTY.js → vue-ui-circle-pack-B8JmpYZU.js} +5 -5
  35. package/dist/{vue-ui-cursor-DgpSttlt.js → vue-ui-cursor-1NiHT8ua.js} +2 -2
  36. package/dist/{vue-ui-dashboard-BN2ha1Eh.js → vue-ui-dashboard-Dqu8UHsY.js} +62 -62
  37. package/dist/{vue-ui-digits-BhjAxXgm.js → vue-ui-digits-CUtyrFQ-.js} +2 -2
  38. package/dist/{vue-ui-donut-D3_z61HI.js → vue-ui-donut-5_qG_tB0.js} +105 -104
  39. package/dist/{vue-ui-donut-evolution-oKtmZPx4.js → vue-ui-donut-evolution-1lYLTlUJ.js} +106 -104
  40. package/dist/{vue-ui-dumbbell-C8Lokx-F.js → vue-ui-dumbbell-CuwZfqp-.js} +6 -6
  41. package/dist/{vue-ui-flow-BVRkH0PS.js → vue-ui-flow-nxV5Lnel.js} +6 -6
  42. package/dist/{vue-ui-funnel-DFxcmAB5.js → vue-ui-funnel-tTYudPKX.js} +5 -5
  43. package/dist/{vue-ui-galaxy-CGE0hlBC.js → vue-ui-galaxy-CB7f2IrG.js} +4 -4
  44. package/dist/{vue-ui-gauge-B48eMvOR.js → vue-ui-gauge-C-GUoJrH.js} +5 -5
  45. package/dist/{vue-ui-gizmo-zTKNpjvv.js → vue-ui-gizmo-DJCYaqYy.js} +3 -3
  46. package/dist/{vue-ui-heatmap-UNfTt8SM.js → vue-ui-heatmap-Bbzq8KZx.js} +6 -6
  47. package/dist/{vue-ui-history-plot-CbCWmvtg.js → vue-ui-history-plot-B8-Tt_rt.js} +6 -6
  48. package/dist/{vue-ui-kpi-Drf_lrlh.js → vue-ui-kpi-VZWKmy4e.js} +3 -3
  49. package/dist/{vue-ui-mini-loader-DU3G6BVs.js → vue-ui-mini-loader-DzRSBGF2.js} +2 -2
  50. package/dist/{vue-ui-molecule-B5MOXYEA.js → vue-ui-molecule-Bd_c8Hcd.js} +4 -4
  51. package/dist/{vue-ui-mood-radar-CC_CVLvn.js → vue-ui-mood-radar-CjiJjcj8.js} +6 -6
  52. package/dist/{vue-ui-nested-donuts-D_H962kk.js → vue-ui-nested-donuts-CVhAGwOt.js} +6 -6
  53. package/dist/{vue-ui-onion-P8k6T724.js → vue-ui-onion-D9pp5ytM.js} +6 -6
  54. package/dist/{vue-ui-parallel-coordinate-plot-B5Los0vX.js → vue-ui-parallel-coordinate-plot-hOcz4qfM.js} +135 -134
  55. package/dist/{vue-ui-quadrant-B3wzCTxK.js → vue-ui-quadrant-Ht49w0AN.js} +119 -118
  56. package/dist/{vue-ui-quick-chart-oucj6hXk.js → vue-ui-quick-chart-SFe7EifM.js} +5 -5
  57. package/dist/{vue-ui-radar-Cjqlyu6d.js → vue-ui-radar-C1mc0XYY.js} +6 -6
  58. package/dist/{vue-ui-rating-gryk_h_6.js → vue-ui-rating-DVYexEqN.js} +2 -2
  59. package/dist/{vue-ui-relation-circle-ielvWC-1.js → vue-ui-relation-circle-CFkW0M7L.js} +5 -5
  60. package/dist/{vue-ui-ridgeline-Dydqo68b.js → vue-ui-ridgeline-DcOstg2I.js} +145 -142
  61. package/dist/{vue-ui-rings-BRBXektJ.js → vue-ui-rings-C56TMht1.js} +79 -78
  62. package/dist/{vue-ui-scatter-Df-BM7Ts.js → vue-ui-scatter-C2S6nsP6.js} +145 -144
  63. package/dist/{vue-ui-skeleton-CbYQYRvD.js → vue-ui-skeleton-C2paDc2u.js} +3 -3
  64. package/dist/{vue-ui-smiley-BfHaQMaW.js → vue-ui-smiley-gtVgClTv.js} +2 -2
  65. package/dist/{vue-ui-spark-trend-z3fUChs_.js → vue-ui-spark-trend-C_p-qgkO.js} +3 -3
  66. package/dist/{vue-ui-sparkbar-ChtFIugH.js → vue-ui-sparkbar-DIS3FVja.js} +3 -3
  67. package/dist/{vue-ui-sparkgauge-DtpODCww.js → vue-ui-sparkgauge-D92XnV3e.js} +3 -3
  68. package/dist/{vue-ui-sparkhistogram-C3XnYiXI.js → vue-ui-sparkhistogram-BQlf7QW3.js} +62 -61
  69. package/dist/{vue-ui-sparkline-CoL8jiX8.js → vue-ui-sparkline-C9vOtZav.js} +3 -3
  70. package/dist/{vue-ui-sparkstackbar-CYk3mZJH.js → vue-ui-sparkstackbar-B2G5fOpR.js} +3 -3
  71. package/dist/{vue-ui-stackbar-D9LGbuG5.js → vue-ui-stackbar-L_7f4pZj.js} +144 -143
  72. package/dist/{vue-ui-strip-plot-C5r1Ee2R.js → vue-ui-strip-plot-Dhj9PQvC.js} +136 -135
  73. package/dist/{vue-ui-table-DBaT_TfA.js → vue-ui-table-CZ1DXGtE.js} +3 -3
  74. package/dist/{vue-ui-table-heatmap-CYW4YfKN.js → vue-ui-table-heatmap-C8oJOBM-.js} +70 -69
  75. package/dist/{vue-ui-table-sparkline-Di0MYR4p.js → vue-ui-table-sparkline-D-ZfWmxu.js} +4 -4
  76. package/dist/{vue-ui-thermometer-BF1btHY2.js → vue-ui-thermometer-D7S49sXa.js} +5 -5
  77. package/dist/{vue-ui-timer-D9FfRWN5.js → vue-ui-timer-Bh_0k4fp.js} +5 -5
  78. package/dist/{vue-ui-tiremarks-CQ0lk8fJ.js → vue-ui-tiremarks-CQVFXHjo.js} +5 -5
  79. package/dist/{vue-ui-treemap-1Lx7YRtc.js → vue-ui-treemap-DshqhXXR.js} +7 -7
  80. package/dist/{vue-ui-vertical-bar-DdVVQ1ED.js → vue-ui-vertical-bar-64gS06ES.js} +145 -144
  81. package/dist/{vue-ui-waffle-BhnuPiRD.js → vue-ui-waffle-MjyNmQ85.js} +138 -137
  82. package/dist/{vue-ui-wheel-BIjJ0fg8.js → vue-ui-wheel-FzQbyvix.js} +5 -5
  83. package/dist/{vue-ui-word-cloud-3-r8HwO_.js → vue-ui-word-cloud-BHPSrRVK.js} +5 -5
  84. package/dist/{vue-ui-world-CPIGEswq.js → vue-ui-world-8UgjM7P9.js} +361 -360
  85. package/dist/{vue-ui-xy-9e_epIN4.js → vue-ui-xy-BbYuna1k.js} +16 -16
  86. package/dist/{vue-ui-xy-canvas-DcGgQ7s4.js → vue-ui-xy-canvas-CDNUpxZ5.js} +7 -7
  87. package/package.json +1 -1
@@ -1,16 +1,16 @@
1
- import { defineAsyncComponent as F, computed as b, ref as y, onMounted as xt, watch as Be, createElementBlock as n, openBlock as o, unref as r, normalizeStyle as Z, normalizeClass as D, createBlock as N, createCommentVNode as c, renderSlot as $, createSlots as kt, withCtx as C, normalizeProps as W, guardReactiveProps as j, createVNode as Ct, createElementVNode as _, Fragment as A, renderList as L, toDisplayString as p, createTextVNode as ce, nextTick as Y } from "vue";
2
- import { u as _t, o as wt, e as ee, g as St, c as Xe, t as $t, p as te, a as At, C as Ge, b as Lt, d as ve, H as zt, D as We, m as de, X as It, s as q, E as Nt, i as he, f as le, j as Dt, k as Pt, n as je, q as Ft, r as Ot, I as Ye, J as Et } from "./index-BiHmNd1-.js";
3
- import { u as qe } from "./useNestedProp-tRqS0ZAM.js";
4
- import { u as Tt } from "./usePrinter-CRCbl1WG.js";
1
+ import { defineAsyncComponent as F, computed as b, ref as y, onMounted as xt, watch as Be, createElementBlock as n, openBlock as o, unref as r, normalizeStyle as Z, normalizeClass as P, createBlock as N, createCommentVNode as c, renderSlot as $, createSlots as kt, withCtx as C, normalizeProps as W, guardReactiveProps as j, createVNode as Ct, createElementVNode as _, Fragment as A, renderList as L, toDisplayString as p, createTextVNode as ve, nextTick as Y } from "vue";
2
+ import { u as _t, o as wt, e as ee, g as St, c as Xe, t as $t, p as te, a as At, C as Ge, b as Lt, d as de, H as zt, D as We, m as he, X as It, s as q, E as Nt, i as ye, f as le, j as Pt, k as Dt, n as je, q as Ft, r as Ot, I as Ye, J as Et } from "./index-CaxNz2cE.js";
3
+ import { u as qe } from "./useNestedProp-DpK9-Xt0.js";
4
+ import { u as Tt } from "./usePrinter-BprQttno.js";
5
5
  import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { u as Ht } from "./useChartAccessibility-9icAAmYg.js";
7
- import Rt from "./Legend-DFunFf8i.js";
8
- import { S as Mt } from "./Slicer-ncY8krrM.js";
9
- import Ut from "./Title-B5qqUI3M.js";
7
+ import Rt from "./Legend-iNd1Vv1J.js";
8
+ import { S as Mt } from "./Slicer-hiaHGsme.js";
9
+ import Ut from "./Title-BTCPUIcD.js";
10
10
  import { _ as Bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"], jt = ["id"], Yt = ["stop-color"], qt = ["stop-color"], Jt = ["id"], Kt = ["stop-color"], Qt = ["stop-color"], Zt = ["stop-color"], el = { key: 1 }, tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], al = { key: 0 }, ol = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ul = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], nl = ["x", "y", "font-size", "fill", "font-weight"], sl = {
12
12
  key: 3,
13
- class: /* @__PURE__ */ D({ "donut-opacity": !0 })
13
+ class: /* @__PURE__ */ P({ "donut-opacity": !0 })
14
14
  }, rl = ["text-anchor", "font-size", "fill", "transform"], il = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], cl = { key: 1 }, vl = ["cx", "cy", "r", "fill"], dl = { key: 0 }, hl = { key: 0 }, yl = ["d", "stroke"], gl = ["text-anchor", "x", "y", "fill"], fl = ["cx", "cy", "r", "fill"], ml = { key: 0 }, bl = ["cx", "cy", "fill"], pl = { key: 1 }, xl = ["d", "fill", "stroke"], kl = { key: 2 }, Cl = ["d", "fill", "stroke"], _l = ["x", "y", "font-size", "fill"], wl = ["x", "y", "width", "height", "fill"], Sl = ["x", "y", "width", "height", "onMouseenter", "onClick"], $l = {
15
15
  key: 5,
16
16
  class: "vue-data-ui-watermark"
@@ -18,7 +18,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
18
18
  key: 9,
19
19
  ref: "source",
20
20
  dir: "auto"
21
- }, Nl = { key: 0 }, Dl = { key: 1 }, Pl = {
21
+ }, Nl = { key: 0 }, Pl = { key: 1 }, Dl = {
22
22
  __name: "vue-ui-donut-evolution",
23
23
  props: {
24
24
  config: {
@@ -36,15 +36,15 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
36
36
  },
37
37
  emits: ["selectLegend"],
38
38
  setup(Je, { expose: Ke, emit: Qe }) {
39
- const Ze = F(() => import("./vue-ui-accordion-CmCs2yR2.js")), et = F(() => import("./BaseDraggableDialog-BMlyvt7E.js")), tt = F(() => import("./DataTable-Cv9CIz-a.js")), lt = F(() => import("./PackageVersion-CLY-udAA.js")), at = F(() => import("./PenAndPaper-B9na2mbr.js")), ot = F(() => import("./vue-ui-skeleton-CbYQYRvD.js")), ut = F(() => import("./UserOptions-Ddy6CuLC.js")), nt = F(() => import("./vue-ui-donut-D3_z61HI.js")), { vue_ui_donut_evolution: st } = _t(), m = Je, J = b(() => !!m.dataset && m.dataset.length), d = y({
39
+ const Ze = F(() => import("./vue-ui-accordion-BZ16n4QT.js")), et = F(() => import("./BaseDraggableDialog-DyUBiw-C.js")), tt = F(() => import("./DataTable-bcUa-A_V.js")), lt = F(() => import("./PackageVersion-BVH19wf6.js")), at = F(() => import("./PenAndPaper-U4bWifCe.js")), ot = F(() => import("./vue-ui-skeleton-C2paDc2u.js")), ut = F(() => import("./UserOptions-yZJ8noVU.js")), nt = F(() => import("./vue-ui-donut-5_qG_tB0.js")), { vue_ui_donut_evolution: st } = _t(), m = Je, J = b(() => !!m.dataset && m.dataset.length), d = y({
40
40
  start: 0,
41
41
  end: Math.max(...m.dataset.map((t) => t.values.length))
42
42
  });
43
- function ye() {
44
- ge();
43
+ function ge() {
44
+ fe();
45
45
  }
46
46
  const E = y(null);
47
- async function ge() {
47
+ async function fe() {
48
48
  (e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && E.value ? (e.value.style.chart.zoom.startIndex !== null && (await Y(), await Y(), E.value && E.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await Y(), await Y(), E.value && E.value.setEndValue(rt(e.value.style.chart.zoom.endIndex + 1)))) : (d.value = {
49
49
  start: 0,
50
50
  end: O.value
@@ -55,9 +55,9 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
55
55
  return t > a ? a : t < 0 || e.value.style.chart.zoom.startIndex !== null && t < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : t;
56
56
  }
57
57
  xt(() => {
58
- fe();
58
+ me();
59
59
  });
60
- function fe() {
60
+ function me() {
61
61
  wt(m.dataset) ? ee({
62
62
  componentName: "VueUiDonutEvolution",
63
63
  type: "dataset"
@@ -73,12 +73,12 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
73
73
  index: a
74
74
  });
75
75
  });
76
- }), ge();
76
+ }), fe();
77
77
  }
78
- const T = y(Xe()), x = y([]), g = y(null), K = y(null), ae = y(!1), V = y(null), me = y(null), it = y(null), be = y(0), pe = y(0), xe = y(0), ke = y(0), Ce = y(0), _e = Qe, e = b({
78
+ const T = y(Xe()), x = y([]), g = y(null), K = y(null), ae = y(!1), V = y(null), oe = y(null), it = y(null), be = y(0), pe = y(0), xe = y(0), ke = y(0), Ce = y(0), _e = Qe, e = b({
79
79
  get: () => Ae(),
80
80
  set: (t) => t
81
- }), { userOptionsVisible: oe, setUserOptionsVisibility: we, keepUserOptionState: Se } = Vt({ config: e.value }), { svgRef: $e } = Ht({ config: e.value.style.chart.title });
81
+ }), { userOptionsVisible: ue, setUserOptionsVisibility: we, keepUserOptionState: Se } = Vt({ config: e.value }), { svgRef: $e } = Ht({ config: e.value.style.chart.title });
82
82
  function Ae() {
83
83
  const t = qe({
84
84
  userConfig: m.config,
@@ -94,15 +94,15 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
94
94
  } : a = t, m.config && Ge(m.config, "style.chart.zoom.startIndex") ? a.style.chart.zoom.startIndex = m.config.style.chart.zoom.startIndex : a.style.chart.zoom.startIndex = null, m.config && Ge(m.config, "style.chart.zoom.endIndex") ? a.style.chart.zoom.endIndex = m.config.style.chart.zoom.endIndex : a.style.chart.zoom.endIndex = null, a;
95
95
  }
96
96
  Be(() => m.config, (t) => {
97
- e.value = Ae(), oe.value = !e.value.userOptions.showOnChartHover, fe(), xe.value += 1, ke.value += 1, Ce.value += 1, U.value.showTable = e.value.table.show;
97
+ e.value = Ae(), ue.value = !e.value.userOptions.showOnChartHover, me(), xe.value += 1, ke.value += 1, Ce.value += 1, B.value.showTable = e.value.table.show;
98
98
  }, { deep: !0 }), Be(() => m.dataset, (t) => {
99
- ye();
99
+ ge();
100
100
  }, { deep: !0 });
101
101
  const { isPrinting: Le, isImaging: ze, generatePdf: Ie, generateImage: Ne } = Tt({
102
102
  elementId: T.value,
103
103
  fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution",
104
104
  options: e.value.userOptions.print
105
- }), ct = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), vt = b(() => Lt(e.value.customPalette)), U = y({
105
+ }), ct = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), vt = b(() => Lt(e.value.customPalette)), B = y({
106
106
  showTable: e.value.table.show
107
107
  }), i = b(() => ({
108
108
  top: e.value.style.chart.layout.padding.top,
@@ -119,7 +119,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
119
119
  height: l,
120
120
  width: s
121
121
  };
122
- }), P = b(() => (m.dataset.forEach((t, a) => {
122
+ }), D = b(() => (m.dataset.forEach((t, a) => {
123
123
  [null, void 0].includes(t.name) && ee({
124
124
  componentName: "VueUiDonutEvolution",
125
125
  type: "datasetSerieAttribute",
@@ -134,49 +134,49 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
134
134
  }), m.dataset.map((t, a) => ({
135
135
  ...t,
136
136
  values: zt(t.values),
137
- color: ve(t.color) || vt.value[a] || te[a] || te[a % te.length],
137
+ color: de(t.color) || vt.value[a] || te[a] || te[a % te.length],
138
138
  length: (t.values || []).length,
139
139
  uid: Xe()
140
- })))), B = b(() => P.value.filter((t) => !x.value.includes(t.uid)).map((t) => ({
140
+ })))), X = b(() => D.value.filter((t) => !x.value.includes(t.uid)).map((t) => ({
141
141
  ...t,
142
142
  values: t.values.filter((a, l) => l >= d.value.start && l <= d.value.end)
143
- }))), O = b(() => Math.max(...B.value.map((t) => t.length))), w = b(() => v.value.width / (d.value.end - d.value.start)), k = b(() => {
143
+ }))), O = b(() => Math.max(...X.value.map((t) => t.length))), w = b(() => v.value.width / (d.value.end - d.value.start)), k = b(() => {
144
144
  const t = [];
145
145
  for (let u = 0; u < d.value.end - d.value.start; u += 1) {
146
- const f = B.value.map((I) => I.values[u] ?? null), h = f.filter((I) => [void 0, null].includes(I)).length === f.length, z = f.reduce((I, S) => I + S, 0), ie = f.map((I) => I / z), M = i.value.left + w.value * u + w.value / 2;
146
+ const f = X.value.map((I) => I.values[u] ?? null), h = f.filter((I) => [void 0, null].includes(I)).length === f.length, z = f.reduce((I, S) => I + S, 0), ce = f.map((I) => I / z), U = i.value.left + w.value * u + w.value / 2;
147
147
  t.push({
148
148
  index: u,
149
- percentages: ie,
149
+ percentages: ce,
150
150
  subtotal: h || z < 0 ? null : z,
151
151
  values: f,
152
- x: M
152
+ x: U
153
153
  });
154
154
  }
155
155
  const a = 0, l = Math.max(...t.map((u) => u.subtotal)), s = t.length === 1 ? l * 2 : l;
156
156
  return t.map((u, f) => {
157
- const h = w.value / 2 * 0.7, z = h > v.value.width / 16 ? v.value.width / 16 : h, ie = g.value === u.index ? v.value.width / 16 : z, M = t.length > 4 ? h * 2 : h * 2 > w.value / 2 * 0.7 ? w.value / 2 * 0.7 : h * 2, I = v.value.absoluteHeight - i.value.bottom - v.value.height * u.subtotal / We(a, s, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
157
+ const h = w.value / 2 * 0.7, z = h > v.value.width / 16 ? v.value.width / 16 : h, ce = g.value === u.index ? v.value.width / 16 : z, U = t.length > 4 ? h * 2 : h * 2 > w.value / 2 * 0.7 ? w.value / 2 * 0.7 : h * 2, I = v.value.absoluteHeight - i.value.bottom - v.value.height * u.subtotal / We(a, s, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
158
158
  return {
159
159
  ...u,
160
160
  y: I,
161
161
  radius: z,
162
- activeRadius: ie,
163
- hoverRadius: M,
164
- donut: de({
165
- series: B.value.map((S, Ue) => ({
162
+ activeRadius: ce,
163
+ hoverRadius: U,
164
+ donut: he({
165
+ series: X.value.map((S, Ue) => ({
166
166
  color: S.color,
167
167
  name: S.name,
168
168
  value: S.values[f] ?? 0
169
169
  }))
170
170
  }, u.x, I, z, z, 1.99999, 2, 1, 360, 105.25, z / 2),
171
- donutHover: de({
172
- series: B.value.map((S, Ue) => ({
171
+ donutHover: he({
172
+ series: X.value.map((S, Ue) => ({
173
173
  color: S.color,
174
174
  name: S.name,
175
175
  value: S.values[f] ?? 0
176
176
  }))
177
- }, u.x, I, M, M, 1.99999, 2, 1, 360, 105.25, M / 2),
178
- donutFocus: de({
179
- series: B.value.map((S, Ue) => ({
177
+ }, u.x, I, U, U, 1.99999, 2, 1, 360, 105.25, U / 2),
178
+ donutFocus: he({
179
+ series: X.value.map((S, Ue) => ({
180
180
  color: S.color,
181
181
  name: S.name,
182
182
  value: S.values[f] ?? 0
@@ -185,8 +185,8 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
185
185
  };
186
186
  });
187
187
  });
188
- function De(t, a, l) {
189
- return he(
188
+ function Pe(t, a, l) {
189
+ return ye(
190
190
  e.value.style.chart.layout.dataLabels.formatter,
191
191
  t,
192
192
  le({
@@ -198,12 +198,12 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
198
198
  { datapoint: a, index: l }
199
199
  );
200
200
  }
201
- const ue = b(() => ({
201
+ const ne = b(() => ({
202
202
  max: Math.max(...k.value.map((t) => t.subtotal)),
203
203
  min: 0
204
204
  })), H = b(() => {
205
- const t = k.value.length === 1 ? ue.value.max * 2 : ue.value.max;
206
- return We(ue.value.min, t, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
205
+ const t = k.value.length === 1 ? ne.value.max * 2 : ne.value.max;
206
+ return We(ne.value.min, t, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
207
207
  });
208
208
  function dt(t) {
209
209
  return t / H.value.max;
@@ -215,17 +215,17 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
215
215
  function yt(t, a) {
216
216
  return isNaN(t.value / Ye(a, "value")) ? 0 : (t.value / Ye(a, "value") * 100).toFixed(0) + "%";
217
217
  }
218
- function Pe() {
218
+ function De() {
219
219
  g.value = null, K.value = null;
220
220
  }
221
221
  function gt(t) {
222
222
  g.value = t.index, K.value = t;
223
223
  }
224
- const X = y(null);
224
+ const G = y(null);
225
225
  function Fe(t, a) {
226
- !t.subtotal || !e.value.style.chart.dialog.show || (K.value = null, g.value = null, ae.value = !0, V.value = t, pt(t), [null, void 0].includes(a) || (X.value = a));
226
+ !t.subtotal || !e.value.style.chart.dialog.show || (K.value = null, g.value = null, ae.value = !0, V.value = t, pt(t), [null, void 0].includes(a) || (G.value = a));
227
227
  }
228
- const Oe = b(() => P.value.map((t, a) => ({
228
+ const Oe = b(() => D.value.map((t, a) => ({
229
229
  name: t.name,
230
230
  value: t.values.slice(d.value.start, d.value.end).reduce((l, s) => l + s, 0),
231
231
  shape: "circle",
@@ -234,7 +234,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
234
234
  })).sort((t, a) => a.value - t.value).map((t) => ({
235
235
  ...t,
236
236
  opacity: x.value.includes(t.uid) ? 0.5 : 1,
237
- segregate: () => ne(t.uid),
237
+ segregate: () => se(t.uid),
238
238
  isSegregated: x.value.includes(t.uid)
239
239
  }))), Ee = b(() => k.value.map((t) => t.subtotal).reduce((t, a) => t + a, 0)), ft = b(() => ({
240
240
  cy: "donut-div-legend",
@@ -244,24 +244,24 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
244
244
  paddingBottom: 12,
245
245
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
246
246
  }));
247
- function ne(t) {
247
+ function se(t) {
248
248
  if (x.value.includes(t))
249
249
  x.value = x.value.filter((a) => a !== t), _e("selectLegend", null);
250
250
  else {
251
- if (x.value.length === P.value.length - 1) return;
252
- x.value.push(t), _e("selectLegend", P.value.find((a) => a.uid === t));
251
+ if (x.value.length === D.value.length - 1) return;
252
+ x.value.push(t), _e("selectLegend", D.value.find((a) => a.uid === t));
253
253
  }
254
- V.value && Fe(k.value.find((a, l) => l === X.value));
254
+ V.value && Fe(k.value.find((a, l) => l === G.value));
255
255
  }
256
256
  const R = b(() => {
257
- const t = [""].concat(P.value.filter((u) => !x.value.includes(u.uid)).map((u) => ({
257
+ const t = [""].concat(D.value.filter((u) => !x.value.includes(u.uid)).map((u) => ({
258
258
  name: u.name,
259
259
  color: u.color
260
260
  }))).concat(["Σ"]);
261
261
  let a = [];
262
262
  for (let u = 0; u < O.value; u += 1) {
263
- const f = P.value.filter((h) => !x.value.includes(h.uid)).map((h) => h.values[u] ?? 0).reduce((h, z) => h + z, 0);
264
- a.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[u] ?? "-"].concat(P.value.filter((h) => !x.value.includes(h.uid)).map((h) => ({
263
+ const f = D.value.filter((h) => !x.value.includes(h.uid)).map((h) => h.values[u] ?? 0).reduce((h, z) => h + z, 0);
264
+ a.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[u] ?? "-"].concat(D.value.filter((h) => !x.value.includes(h.uid)).map((h) => ({
265
265
  value: h.values[u] ?? 0,
266
266
  percentage: h.values[u] ? h.values[u] / f * 100 : 0
267
267
  }))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(f.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
@@ -280,11 +280,11 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
280
280
  breakpoint: e.value.table.responsiveBreakpoint
281
281
  }, s = [
282
282
  e.value.table.columnNames.period
283
- ].concat(P.value.filter((u) => !x.value.includes(u.uid)).map((u) => u.name)).concat(e.value.table.columnNames.total);
283
+ ].concat(D.value.filter((u) => !x.value.includes(u.uid)).map((u) => u.name)).concat(e.value.table.columnNames.total);
284
284
  return { head: t, body: a, config: l, colNames: s };
285
285
  });
286
286
  function mt() {
287
- return P.value;
287
+ return D.value;
288
288
  }
289
289
  function Te() {
290
290
  Y(() => {
@@ -292,21 +292,21 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
292
292
  Ot({ csvContent: u, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
293
293
  });
294
294
  }
295
- const G = y(!1);
295
+ const M = y(!1);
296
296
  function bt(t) {
297
- G.value = t, be.value += 1;
297
+ M.value = t, be.value += 1;
298
298
  }
299
299
  function Ve() {
300
- U.value.showTable = !U.value.showTable;
300
+ B.value.showTable = !B.value.showTable;
301
301
  }
302
302
  const Q = y(!1);
303
- function se() {
303
+ function re() {
304
304
  Q.value = !Q.value;
305
305
  }
306
306
  function He(t) {
307
307
  return t.proportion * 100 > e.value.style.chart.donuts.hover.hideLabelsUnderValue;
308
308
  }
309
- const Re = y([]), Me = y({}), re = y(null);
309
+ const Re = y([]), Me = y({}), ie = y(null);
310
310
  function pt(t) {
311
311
  Re.value = t.donut.map((a) => ({
312
312
  name: a.name,
@@ -316,7 +316,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
316
316
  ...e.value.style.chart.dialog.donutChart,
317
317
  responsive: !0,
318
318
  theme: e.value.theme
319
- }), re.value && re.value.open();
319
+ }), ie.value && ie.value.open();
320
320
  }
321
321
  return Ke({
322
322
  getData: mt,
@@ -324,11 +324,11 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
324
324
  generateCsv: Te,
325
325
  generateImage: Ne,
326
326
  toggleTable: Ve,
327
- toggleAnnotator: se
327
+ toggleAnnotator: re
328
328
  }), (t, a) => (o(), n("div", {
329
329
  ref_key: "donutEvolutionChart",
330
- ref: me,
331
- class: D(`vue-ui-donut-evolution ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
330
+ ref: oe,
331
+ class: P(`vue-ui-donut-evolution ${M.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
332
332
  style: Z(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
333
333
  id: T.value,
334
334
  onMouseenter: a[5] || (a[5] = () => r(we)(!0)),
@@ -340,7 +340,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
340
340
  backgroundColor: e.value.style.chart.backgroundColor,
341
341
  color: e.value.style.chart.color,
342
342
  active: Q.value,
343
- onClose: se
343
+ onClose: re
344
344
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
345
345
  ct.value ? (o(), n("div", {
346
346
  key: 1,
@@ -352,7 +352,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
352
352
  e.value.style.chart.title.text ? (o(), n("div", {
353
353
  key: 2,
354
354
  style: "width:100%;background:transparent;padding-bottom:24px",
355
- onMouseleave: Pe
355
+ onMouseleave: De
356
356
  }, [
357
357
  (o(), N(Ut, {
358
358
  key: `title_${xe.value}`,
@@ -368,7 +368,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
368
368
  }
369
369
  }, null, 8, ["config"]))
370
370
  ], 32)) : c("", !0),
371
- e.value.userOptions.show && J.value && (r(Se) || r(oe)) ? (o(), N(r(ut), {
371
+ e.value.userOptions.show && J.value && (r(Se) || r(ue)) ? (o(), N(r(ut), {
372
372
  ref: "details",
373
373
  key: `user_options_${be.value}`,
374
374
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -381,9 +381,9 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
381
381
  hasXls: e.value.userOptions.buttons.csv,
382
382
  hasTable: e.value.userOptions.buttons.table,
383
383
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
384
- isFullscreen: G.value,
384
+ isFullscreen: M.value,
385
385
  titles: { ...e.value.userOptions.buttonTitles },
386
- chartElement: me.value,
386
+ chartElement: oe.value,
387
387
  position: e.value.userOptions.position,
388
388
  hasAnnotator: e.value.userOptions.buttons.annotator,
389
389
  isAnnotation: Q.value,
@@ -392,9 +392,9 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
392
392
  onGenerateCsv: Te,
393
393
  onGenerateImage: r(Ne),
394
394
  onToggleTable: Ve,
395
- onToggleAnnotator: se,
395
+ onToggleAnnotator: re,
396
396
  style: Z({
397
- visibility: r(Se) ? r(oe) ? "visible" : "hidden" : "visible"
397
+ visibility: r(Se) ? r(ue) ? "visible" : "hidden" : "visible"
398
398
  })
399
399
  }, kt({ _: 2 }, [
400
400
  t.$slots.menuIcon ? {
@@ -452,7 +452,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
452
452
  ref_key: "svgRef",
453
453
  ref: $e,
454
454
  xmlns: r(It),
455
- class: D({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
455
+ class: P({ "vue-data-ui-fullscreen--on": M.value, "vue-data-ui-fulscreen--off": !M.value }),
456
456
  viewBox: `0 0 ${v.value.absoluteWidth} ${v.value.absoluteHeight}`,
457
457
  style: Z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
458
458
  }, [
@@ -491,7 +491,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
491
491
  }, [
492
492
  _("stop", {
493
493
  offset: "0%",
494
- "stop-color": r(q)(r(ve)(e.value.style.chart.backgroundColor), 0)
494
+ "stop-color": r(q)(r(de)(e.value.style.chart.backgroundColor), 0)
495
495
  }, null, 8, Kt),
496
496
  _("stop", {
497
497
  offset: "77%",
@@ -499,7 +499,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
499
499
  }, null, 8, Qt),
500
500
  _("stop", {
501
501
  offset: "100%",
502
- "stop-color": r(q)(r(ve)(e.value.style.chart.backgroundColor), 0)
502
+ "stop-color": r(q)(r(de)(e.value.style.chart.backgroundColor), 0)
503
503
  }, null, 8, Zt)
504
504
  ], 8, Jt)
505
505
  ]),
@@ -536,7 +536,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
536
536
  ])) : c("", !0),
537
537
  e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (o(), n("g", {
538
538
  key: 2,
539
- class: D({ "donut-opacity": !0, "donut-behind": g.value !== null })
539
+ class: P({ "donut-opacity": !0, "donut-behind": g.value !== null })
540
540
  }, [
541
541
  (o(!0), n(A, null, L(ht.value, (l, s) => (o(), n("g", null, [
542
542
  l.value >= H.value.min && l.value <= H.value.max ? (o(), n("line", {
@@ -556,7 +556,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
556
556
  "text-anchor": "end",
557
557
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
558
558
  "font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
559
- }, p(r(Nt)(l.value) ? r(he)(
559
+ }, p(r(Nt)(l.value) ? r(ye)(
560
560
  e.value.style.chart.layout.dataLabels.formatter,
561
561
  l.value,
562
562
  r(le)({
@@ -583,7 +583,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
583
583
  (o(!0), n(A, null, L(k.value, (l, s) => (o(), n("g", null, [
584
584
  e.value.style.chart.layout.line.show && s < k.value.length - 1 && ![l.subtotal, k.value[s + 1].subtotal].includes(null) ? (o(), n("line", {
585
585
  key: 0,
586
- class: D({ "donut-opacity": !0, "donut-behind": g.value !== null }),
586
+ class: P({ "donut-opacity": !0, "donut-behind": g.value !== null }),
587
587
  x1: l.x,
588
588
  y1: l.y,
589
589
  x2: k.value[s + 1].x,
@@ -604,14 +604,14 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
604
604
  ])) : c("", !0)
605
605
  ]))), 256)),
606
606
  (o(!0), n(A, null, L(k.value, (l, s) => (o(), n("g", {
607
- class: D({ "donut-opacity": !0, "donut-behind": s !== g.value && g.value !== null })
607
+ class: P({ "donut-opacity": !0, "donut-behind": s !== g.value && g.value !== null })
608
608
  }, [
609
609
  l.subtotal ? (o(), n("g", dl, [
610
610
  g.value !== null && g.value === s ? (o(), n("g", hl, [
611
611
  (o(!0), n(A, null, L(l.donutHover, (u) => (o(), n("g", null, [
612
612
  He(u) ? (o(), n("path", {
613
613
  key: 0,
614
- d: r(Dt)(u, { x: u.center.endX, y: u.center.endY }, 12, 12, { x: l.x, y: l.y }, !1, 20),
614
+ d: r(Pt)(u, { x: u.center.endX, y: u.center.endY }, 12, 12, { x: l.x, y: l.y }, !1, 20),
615
615
  stroke: u.color,
616
616
  "stroke-width": "1",
617
617
  "stroke-linecap": "round",
@@ -625,11 +625,11 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
625
625
  "data-cy-hover-label": "",
626
626
  "text-anchor": r(je)(u, !0, 0).anchor,
627
627
  x: r(je)(u, !0, 9).x,
628
- y: r(Pt)(u, 14, 10),
628
+ y: r(Dt)(u, 14, 10),
629
629
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
630
630
  "font-size": 8,
631
631
  "font-weight": "bold"
632
- }, p(u.name) + ": " + p(yt(u, l.donut)) + " (" + p(u.value === null ? "-" : De(u.value, u, f)) + ") ", 9, gl)) : c("", !0)
632
+ }, p(u.name) + ": " + p(yt(u, l.donut)) + " (" + p(u.value === null ? "-" : Pe(u.value, u, f)) + ") ", 9, gl)) : c("", !0)
633
633
  ]))), 256)),
634
634
  _("g", null, [
635
635
  _("circle", {
@@ -643,7 +643,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
643
643
  ])) : c("", !0)
644
644
  ], 2))), 256)),
645
645
  (o(!0), n(A, null, L(k.value, (l, s) => (o(), n("g", {
646
- class: D({ "donut-opacity": !0, "donut-behind": s !== g.value && g.value !== null })
646
+ class: P({ "donut-opacity": !0, "donut-behind": s !== g.value && g.value !== null })
647
647
  }, [
648
648
  l.subtotal !== null ? (o(), n("g", ml, [
649
649
  l.subtotal === 0 ? (o(), n("circle", {
@@ -670,7 +670,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
670
670
  ])) : c("", !0)
671
671
  ], 2))), 256)),
672
672
  (o(!0), n(A, null, L(k.value, (l, s) => (o(), n("g", {
673
- class: D({ "donut-opacity": !0, "donut-behind": s !== g.value && g.value !== null || ae.value && s !== V.value.index })
673
+ class: P({ "donut-opacity": !0, "donut-behind": s !== g.value && g.value !== null || ae.value && s !== V.value.index })
674
674
  }, [
675
675
  l.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (o(), n("text", {
676
676
  key: 0,
@@ -680,15 +680,15 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
680
680
  "font-size": e.value.style.chart.layout.dataLabels.fontSize,
681
681
  "font-weight": "bold",
682
682
  fill: e.value.style.chart.layout.dataLabels.color
683
- }, p(De(l.subtotal, l, s)), 9, _l)) : c("", !0)
683
+ }, p(Pe(l.subtotal, l, s)), 9, _l)) : c("", !0)
684
684
  ], 2))), 256)),
685
685
  (o(!0), n(A, null, L(k.value, (l, s) => (o(), n("rect", {
686
686
  x: i.value.left + s * w.value,
687
687
  y: i.value.top,
688
688
  width: w.value,
689
689
  height: v.value.height,
690
- fill: [g.value, X.value].includes(l.index) ? `url(#hover_${T.value})` : "transparent",
691
- class: D({ "donut-hover": l.subtotal && [g.value, X.value].includes(l.index) }),
690
+ fill: [g.value, G.value].includes(l.index) ? `url(#hover_${T.value})` : "transparent",
691
+ class: P({ "donut-hover": l.subtotal && [g.value, G.value].includes(l.index) }),
692
692
  style: {
693
693
  pointerEvents: "none"
694
694
  }
@@ -701,9 +701,9 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
701
701
  height: v.value.height,
702
702
  fill: "transparent",
703
703
  onMouseenter: (u) => gt(l),
704
- onMouseleave: Pe,
704
+ onMouseleave: De,
705
705
  onClick: (u) => Fe(l, s),
706
- class: D({ "donut-hover": g.value === l.index && l.subtotal })
706
+ class: P({ "donut-hover": g.value === l.index && l.subtotal })
707
707
  }, null, 42, Sl))), 256)),
708
708
  $(t.$slots, "svg", { svg: v.value }, void 0, !0)
709
709
  ], 14, Gt)) : c("", !0),
@@ -752,7 +752,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
752
752
  refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : O.value,
753
753
  enableRangeHandles: e.value.style.chart.zoom.enableRangeHandles,
754
754
  enableSelectionDrag: e.value.style.chart.zoom.enableSelectionDrag,
755
- onReset: ye
755
+ onReset: ge
756
756
  }, {
757
757
  "reset-action": C(({ reset: l }) => [
758
758
  $(t.$slots, "reset-action", W(j({ reset: l })), void 0, !0)
@@ -763,14 +763,14 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
763
763
  key: `legend_${Ce.value}`,
764
764
  legendSet: Oe.value,
765
765
  config: ft.value,
766
- onClickMarker: a[2] || (a[2] = ({ legend: l }) => ne(l.uid))
766
+ onClickMarker: a[2] || (a[2] = ({ legend: l }) => se(l.uid))
767
767
  }, {
768
768
  item: C(({ legend: l, index: s }) => [
769
769
  _("div", {
770
- onClick: (u) => ne(l.uid),
770
+ onClick: (u) => se(l.uid),
771
771
  style: Z(`opacity:${x.value.includes(l.uid) ? 0.5 : 1}`)
772
772
  }, [
773
- ce(p(l.name) + ": " + p(r(he)(
773
+ ve(p(l.name) + ": " + p(r(ye)(
774
774
  e.value.style.chart.layout.dataLabels.formatter,
775
775
  l.value,
776
776
  r(le)({
@@ -798,7 +798,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
798
798
  key: 10,
799
799
  hideDetails: "",
800
800
  config: {
801
- open: U.value.showTable,
801
+ open: B.value.showTable,
802
802
  maxHeight: 1e4,
803
803
  body: {
804
804
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -818,13 +818,13 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
818
818
  body: R.value.body,
819
819
  config: R.value.config,
820
820
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
821
- onClose: a[3] || (a[3] = (l) => U.value.showTable = !1)
821
+ onClose: a[3] || (a[3] = (l) => B.value.showTable = !1)
822
822
  }, {
823
823
  th: C(({ th: l }) => [
824
- ce(p(l.name ?? l), 1)
824
+ ve(p(l.name ?? l), 1)
825
825
  ]),
826
826
  td: C(({ td: l }) => [
827
- l.value === null ? (o(), n("span", Nl, "-")) : (o(), n("b", Dl, p(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + p(!isNaN(l.value) && l.value !== null ? Number(l.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : l) + p(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
827
+ l.value === null ? (o(), n("span", Nl, "-")) : (o(), n("b", Pl, p(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + p(!isNaN(l.value) && l.value !== null ? Number(l.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : l) + p(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
828
828
  _("span", null, p(l.percentage && !isNaN(l.percentage) ? `(${Number(l.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
829
829
  ]),
830
830
  _: 1
@@ -835,17 +835,19 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
835
835
  e.value.style.chart.dialog.show ? (o(), N(r(et), {
836
836
  key: 11,
837
837
  ref_key: "dialog",
838
- ref: re,
838
+ ref: ie,
839
839
  onClose: a[4] || (a[4] = (l) => {
840
- V.value = null, ae.value = !1, K.value = null, g.value = null, X.value = null;
840
+ V.value = null, ae.value = !1, K.value = null, g.value = null, G.value = null;
841
841
  }),
842
842
  backgroundColor: e.value.style.chart.dialog.backgroundColor,
843
843
  color: e.value.style.chart.dialog.color,
844
844
  headerBg: e.value.style.chart.dialog.header.backgroundColor,
845
- headerColor: e.value.style.chart.dialog.header.color
845
+ headerColor: e.value.style.chart.dialog.header.color,
846
+ isFullscreen: M.value,
847
+ fullscreenParent: oe.value
846
848
  }, {
847
849
  title: C(() => [
848
- ce(p(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(V.value.index) + Number(d.value.start)]), 1)
850
+ ve(p(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(V.value.index) + Number(d.value.start)]), 1)
849
851
  ]),
850
852
  default: C(() => [
851
853
  V.value ? (o(), N(r(nt), {
@@ -855,10 +857,10 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
855
857
  }, null, 8, ["config", "dataset"])) : c("", !0)
856
858
  ]),
857
859
  _: 1
858
- }, 8, ["backgroundColor", "color", "headerBg", "headerColor"])) : c("", !0)
860
+ }, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : c("", !0)
859
861
  ], 46, Xt));
860
862
  }
861
- }, Xl = /* @__PURE__ */ Bt(Pl, [["__scopeId", "data-v-f6cdba4c"]]);
863
+ }, Xl = /* @__PURE__ */ Bt(Dl, [["__scopeId", "data-v-f9ef2cda"]]);
862
864
  export {
863
865
  Xl as default
864
866
  };
@@ -1,12 +1,12 @@
1
1
  import { defineAsyncComponent as T, computed as g, ref as d, watch as ge, shallowRef as pe, onMounted as me, onBeforeUnmount as We, createElementBlock as r, openBlock as o, unref as n, normalizeStyle as E, normalizeClass as ke, createBlock as A, createCommentVNode as v, createElementVNode as i, createSlots as Ue, withCtx as k, renderSlot as p, normalizeProps as R, guardReactiveProps as H, createVNode as Be, Fragment as $, renderList as L, toDisplayString as z, createTextVNode as _e, nextTick as je } from "vue";
2
- import { u as qe, c as xe, a as Ye, o as Ze, e as we, g as Je, v as Ce, D as Ke, f as S, X as $e, i as q, l as Le, h as Ae, q as Qe, r as et } from "./index-BiHmNd1-.js";
2
+ import { u as qe, c as xe, a as Ye, o as Ze, e as we, g as Je, v as Ce, D as Ke, f as S, X as $e, i as q, l as Le, h as Ae, q as Qe, r as et } from "./index-CaxNz2cE.js";
3
3
  import { t as tt, u as lt } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as ze } from "./useNestedProp-tRqS0ZAM.js";
5
- import { u as at } from "./usePrinter-CRCbl1WG.js";
4
+ import { u as ze } from "./useNestedProp-DpK9-Xt0.js";
5
+ import { u as at } from "./usePrinter-BprQttno.js";
6
6
  import { u as st } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as ot } from "./useChartAccessibility-9icAAmYg.js";
8
- import rt from "./Legend-DFunFf8i.js";
9
- import nt from "./Title-B5qqUI3M.js";
8
+ import rt from "./Legend-iNd1Vv1J.js";
9
+ import nt from "./Title-BTCPUIcD.js";
10
10
  import { _ as ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"], vt = { key: 1 }, ht = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], yt = { key: 2 }, ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], gt = { key: 3 }, pt = ["x", "y", "font-size", "fill", "font-weight"], mt = ["x", "y", "font-size", "fill"], kt = { key: 4 }, _t = ["x", "y", "font-size", "fill", "font-weight"], xt = ["id"], wt = ["stop-color"], Ct = ["stop-color"], $t = ["stop-color"], Lt = ["id"], At = ["stop-color"], zt = ["stop-color"], St = ["stop-color"], Xt = ["id"], Nt = ["stop-color"], Tt = ["stop-color"], Pt = ["id"], Ot = ["stop-color"], Mt = ["stop-color"], It = { key: 0 }, Gt = ["d", "fill"], Dt = { key: 1 }, Ft = ["x", "y", "height", "width", "fill"], Vt = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Et = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Rt = { key: 5 }, Ht = ["x", "y", "fill", "font-size"], Wt = { key: 6 }, Ut = ["x", "y", "fill", "font-size"], Bt = {
12
12
  key: 5,
@@ -29,7 +29,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], dt = ["x", "y", "width", "height"]
29
29
  },
30
30
  emits: ["selectDatapoint"],
31
31
  setup(Se, { expose: Xe, emit: Jt }) {
32
- const Ne = T(() => import("./vue-ui-accordion-CmCs2yR2.js")), Te = T(() => import("./DataTable-Cv9CIz-a.js")), Pe = T(() => import("./PackageVersion-CLY-udAA.js")), Oe = T(() => import("./PenAndPaper-B9na2mbr.js")), Me = T(() => import("./vue-ui-skeleton-CbYQYRvD.js")), Ie = T(() => import("./UserOptions-Ddy6CuLC.js")), { vue_ui_dumbbell: Ge } = qe(), b = Se, X = g({
32
+ const Ne = T(() => import("./vue-ui-accordion-BZ16n4QT.js")), Te = T(() => import("./DataTable-bcUa-A_V.js")), Pe = T(() => import("./PackageVersion-BVH19wf6.js")), Oe = T(() => import("./PenAndPaper-U4bWifCe.js")), Me = T(() => import("./vue-ui-skeleton-C2paDc2u.js")), Ie = T(() => import("./UserOptions-yZJ8noVU.js")), { vue_ui_dumbbell: Ge } = qe(), b = Se, X = g({
33
33
  get() {
34
34
  return !!b.dataset && b.dataset.length;
35
35
  },