vue-data-ui 3.4.8 → 3.5.0

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 (114) hide show
  1. package/README.md +88 -37
  2. package/dist/{PackageVersion-D-auaEEJ.js → PackageVersion-Cyx_s25h.js} +1 -1
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-bullet.js +1 -1
  6. package/dist/components/vue-ui-candlestick.js +1 -1
  7. package/dist/components/vue-ui-carousel-table.js +1 -1
  8. package/dist/components/vue-ui-chestnut.js +1 -1
  9. package/dist/components/vue-ui-chord.js +1 -1
  10. package/dist/components/vue-ui-circle-pack.js +1 -1
  11. package/dist/components/vue-ui-dashboard.js +1 -1
  12. package/dist/components/vue-ui-donut-evolution.js +1 -1
  13. package/dist/components/vue-ui-donut.js +1 -1
  14. package/dist/components/vue-ui-dumbbell.js +1 -1
  15. package/dist/components/vue-ui-flow.js +1 -1
  16. package/dist/components/vue-ui-funnel.js +1 -1
  17. package/dist/components/vue-ui-galaxy.js +1 -1
  18. package/dist/components/vue-ui-gauge.js +1 -1
  19. package/dist/components/vue-ui-gizmo.js +1 -1
  20. package/dist/components/vue-ui-heatmap.js +1 -1
  21. package/dist/components/vue-ui-history-plot.js +1 -1
  22. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  23. package/dist/components/vue-ui-molecule.js +1 -1
  24. package/dist/components/vue-ui-mood-radar.js +1 -1
  25. package/dist/components/vue-ui-nested-donuts.js +1 -1
  26. package/dist/components/vue-ui-onion.js +1 -1
  27. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  28. package/dist/components/vue-ui-quadrant.js +1 -1
  29. package/dist/components/vue-ui-quick-chart.js +1 -1
  30. package/dist/components/vue-ui-radar.js +1 -1
  31. package/dist/components/vue-ui-relation-circle.js +1 -1
  32. package/dist/components/vue-ui-ridgeline.js +1 -1
  33. package/dist/components/vue-ui-rings.js +1 -1
  34. package/dist/components/vue-ui-scatter.js +1 -1
  35. package/dist/components/vue-ui-skeleton.js +1 -1
  36. package/dist/components/vue-ui-spark-trend.js +1 -1
  37. package/dist/components/vue-ui-sparkbar.js +1 -1
  38. package/dist/components/vue-ui-sparkgauge.js +1 -1
  39. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  40. package/dist/components/vue-ui-sparkline.js +1 -1
  41. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  42. package/dist/components/vue-ui-stackbar.js +1 -1
  43. package/dist/components/vue-ui-strip-plot.js +1 -1
  44. package/dist/components/vue-ui-table-sparkline.js +1 -1
  45. package/dist/components/vue-ui-table.js +1 -1
  46. package/dist/components/vue-ui-thermometer.js +1 -1
  47. package/dist/components/vue-ui-timer.js +1 -1
  48. package/dist/components/vue-ui-tiremarks.js +1 -1
  49. package/dist/components/vue-ui-treemap.js +1 -1
  50. package/dist/components/vue-ui-vertical-bar.js +1 -1
  51. package/dist/components/vue-ui-waffle.js +1 -1
  52. package/dist/components/vue-ui-wheel.js +1 -1
  53. package/dist/components/vue-ui-word-cloud.js +1 -1
  54. package/dist/components/vue-ui-world.js +1 -1
  55. package/dist/components/vue-ui-xy-canvas.js +1 -1
  56. package/dist/components/vue-ui-xy.js +1 -1
  57. package/dist/style.css +1 -1
  58. package/dist/{vue-data-ui-CzqHcPqG.js → vue-data-ui-DxgRqCAo.js} +104 -98
  59. package/dist/vue-data-ui.js +54 -54
  60. package/dist/{vue-ui-3d-bar-CwXiD8zD.js → vue-ui-3d-bar-DmNJp8SY.js} +1 -1
  61. package/dist/{vue-ui-age-pyramid-DlEPlWmV.js → vue-ui-age-pyramid-CPAP3sNY.js} +1 -1
  62. package/dist/{vue-ui-bullet-DtzpeIu4.js → vue-ui-bullet-Ce6uvCQJ.js} +1 -1
  63. package/dist/{vue-ui-candlestick-DzoiyaeB.js → vue-ui-candlestick-DewevWV_.js} +1 -1
  64. package/dist/{vue-ui-carousel-table-BqRERrjs.js → vue-ui-carousel-table-Dv1CDfE5.js} +1 -1
  65. package/dist/{vue-ui-chestnut-CzBGckif.js → vue-ui-chestnut-D9sdFZ4E.js} +1 -1
  66. package/dist/{vue-ui-chord-B4waG93A.js → vue-ui-chord-BG4dxKNA.js} +1 -1
  67. package/dist/{vue-ui-circle-pack-DiTw_p5r.js → vue-ui-circle-pack-Be74QB_0.js} +1 -1
  68. package/dist/{vue-ui-dashboard-Bt-MUKqy.js → vue-ui-dashboard-C4BLwHey.js} +54 -54
  69. package/dist/{vue-ui-donut-Bc492JeS.js → vue-ui-donut-BRGFcgxS.js} +542 -526
  70. package/dist/{vue-ui-donut-evolution-D6TaZK2x.js → vue-ui-donut-evolution-DJ0C-7jH.js} +364 -348
  71. package/dist/{vue-ui-dumbbell-BlZr68Sq.js → vue-ui-dumbbell-iQJ0BUhm.js} +1 -1
  72. package/dist/{vue-ui-flow-ByEP18dA.js → vue-ui-flow-CTYFoib3.js} +1 -1
  73. package/dist/{vue-ui-funnel-BU7d_U6T.js → vue-ui-funnel-CG55Xcdy.js} +1 -1
  74. package/dist/{vue-ui-galaxy-CpVrxaTr.js → vue-ui-galaxy-BQrxjKZJ.js} +221 -205
  75. package/dist/{vue-ui-gauge-B9Z4EXoj.js → vue-ui-gauge-Tc-0NI0Y.js} +1 -1
  76. package/dist/{vue-ui-gizmo-T1paJEJ3.js → vue-ui-gizmo-P8h-gnLd.js} +1 -1
  77. package/dist/{vue-ui-heatmap-Uw83eEMz.js → vue-ui-heatmap-BZimPzsL.js} +1 -1
  78. package/dist/{vue-ui-history-plot-C93VwVCY.js → vue-ui-history-plot-BVzbuqYY.js} +383 -367
  79. package/dist/{vue-ui-molecule-CFMWwXFN.js → vue-ui-molecule-BALqwB8c.js} +1 -1
  80. package/dist/{vue-ui-mood-radar-FkVaaOVG.js → vue-ui-mood-radar-QJ5nlZby.js} +1 -1
  81. package/dist/{vue-ui-nested-donuts-Cyi98NXq.js → vue-ui-nested-donuts-CmUabkkQ.js} +404 -384
  82. package/dist/{vue-ui-onion-BCENNhsY.js → vue-ui-onion-DAOCf3f8.js} +331 -309
  83. package/dist/{vue-ui-parallel-coordinate-plot-Dca9wkD0.js → vue-ui-parallel-coordinate-plot-D8jTuFjq.js} +378 -361
  84. package/dist/{vue-ui-quadrant-CEtFEZT3.js → vue-ui-quadrant-CO52mSRY.js} +428 -411
  85. package/dist/{vue-ui-quick-chart-bqcp6BIl.js → vue-ui-quick-chart-DEaVSldE.js} +1 -1
  86. package/dist/{vue-ui-radar-lgRCmyNP.js → vue-ui-radar-C5V4hhbW.js} +393 -374
  87. package/dist/{vue-ui-relation-circle-cRRrbaIT.js → vue-ui-relation-circle-CbMM0Jka.js} +1 -1
  88. package/dist/{vue-ui-ridgeline-CaeFJq9a.js → vue-ui-ridgeline-CXCIRDq6.js} +454 -438
  89. package/dist/{vue-ui-rings-DbsYfGjx.js → vue-ui-rings-BpUcyqo7.js} +285 -263
  90. package/dist/{vue-ui-scatter-DcMnoNrY.js → vue-ui-scatter--Dxe-hfO.js} +629 -613
  91. package/dist/{vue-ui-skeleton-b5fdgyHv.js → vue-ui-skeleton-BWq-VDzg.js} +1 -1
  92. package/dist/{vue-ui-spark-trend-DrQ26BzL.js → vue-ui-spark-trend-T4J_YOa_.js} +1 -1
  93. package/dist/{vue-ui-sparkbar-BlvXLcfO.js → vue-ui-sparkbar-DnKP55Vu.js} +1 -1
  94. package/dist/{vue-ui-sparkgauge-CQmNePxu.js → vue-ui-sparkgauge-BDQLP-zi.js} +1 -1
  95. package/dist/{vue-ui-sparkhistogram-CJatqy8x.js → vue-ui-sparkhistogram-Dm7QXrA-.js} +1 -1
  96. package/dist/{vue-ui-sparkline-5m7hFiMq.js → vue-ui-sparkline-tXGDLHRy.js} +1 -1
  97. package/dist/vue-ui-sparkstackbar-M53Nt07M.js +441 -0
  98. package/dist/{vue-ui-stackbar-WrexTg8_.js → vue-ui-stackbar-CkBOjryQ.js} +438 -421
  99. package/dist/{vue-ui-strip-plot-DqX7yya9.js → vue-ui-strip-plot-BX9i3wMn.js} +1 -1
  100. package/dist/{vue-ui-table-BhrP9BCp.js → vue-ui-table-7r02N9R9.js} +2 -2
  101. package/dist/{vue-ui-table-sparkline-BECa8n5_.js → vue-ui-table-sparkline-DZaAh10E.js} +1 -1
  102. package/dist/{vue-ui-thermometer-BxBGrsSR.js → vue-ui-thermometer-CFPt3MOv.js} +1 -1
  103. package/dist/{vue-ui-timer-BbHY5Ed5.js → vue-ui-timer-Ds-MJoW2.js} +1 -1
  104. package/dist/{vue-ui-tiremarks-DzL3Sc1f.js → vue-ui-tiremarks-2eIQ6vxu.js} +1 -1
  105. package/dist/{vue-ui-treemap-DoHoS5NK.js → vue-ui-treemap-BEvl8hiw.js} +500 -484
  106. package/dist/{vue-ui-vertical-bar-D0N5btU-.js → vue-ui-vertical-bar-D8dtM8sw.js} +350 -334
  107. package/dist/{vue-ui-waffle-CTt7dxCY.js → vue-ui-waffle-B3q-2SCR.js} +302 -286
  108. package/dist/{vue-ui-wheel--TIPvQ9I.js → vue-ui-wheel-BpirIgAG.js} +1 -1
  109. package/dist/{vue-ui-word-cloud-D5pZq4Jq.js → vue-ui-word-cloud-ChT7uLbN.js} +1 -1
  110. package/dist/{vue-ui-world-BERHgePa.js → vue-ui-world-CdP4g_3_.js} +1 -1
  111. package/dist/{vue-ui-xy-BI5stV8f.js → vue-ui-xy-B68qQ-gX.js} +1089 -1073
  112. package/dist/{vue-ui-xy-canvas-DXnLFwW3.js → vue-ui-xy-canvas-DDngEA1s.js} +338 -322
  113. package/package.json +1 -1
  114. package/dist/vue-ui-sparkstackbar-Z5g6L2Hj.js +0 -424
@@ -1,22 +1,22 @@
1
- import { defineAsyncComponent as O, useSlots as $t, ref as r, computed as c, toRefs as Tt, watch as Y, shallowRef as Me, onMounted as _t, onBeforeUnmount as xt, createElementBlock as g, openBlock as i, unref as s, normalizeStyle as L, normalizeClass as U, createBlock as A, createCommentVNode as b, createElementVNode as C, createVNode as q, createSlots as ie, withCtx as d, renderSlot as p, normalizeProps as B, guardReactiveProps as V, Fragment as ve, renderList as ce, mergeProps as ze, Teleport as St, toDisplayString as de, resolveDynamicComponent as Ot, createTextVNode as Ee, nextTick as At } from "vue";
2
- import { c as Ue, t as Ft, b as It, p as N, o as We, f as pe, g as Pt, e as Lt, a1 as Nt, h as Ge, a as He, d as D, X as Dt, s as Rt, i as Bt, x as Q, P as Vt, Q as Mt, G as zt, H as Et } from "./lib-C_mNZmhD.js";
3
- import { t as Ut, u as Wt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Gt, a as je } from "./useNestedProp-BjZe1Y85.js";
5
- import { u as Ht } from "./usePrinter-DTzqpYKF.js";
6
- import { u as jt, B as Xt } from "./BaseScanner-BgWxam9d.js";
7
- import { u as Yt } from "./useSvgExport-DrjCWun4.js";
8
- import { u as qt } from "./useUserOptionState-BIvW1Kz7.js";
9
- import { u as Qt } from "./useChartAccessibility-9icAAmYg.js";
10
- import Jt from "./img-BecE5qXd.js";
11
- import { _ as Kt } from "./Shape-CNXKB8O0.js";
12
- import Zt from "./Title-l36lOBMx.js";
13
- import { t as el } from "./themes-AUNCOb2G.js";
14
- import tl from "./Legend-G6GMcdAc.js";
15
- import { _ as ll } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const ol = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], nl = ["width", "height"], ul = ["id"], rl = ["stop-color"], il = ["stop-color"], vl = { key: 1 }, cl = ["stroke", "cx", "cy", "r", "fill"], dl = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], pl = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], hl = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], gl = {
1
+ import { defineAsyncComponent as O, useSlots as St, ref as r, computed as c, toRefs as xt, watch as q, shallowRef as Ue, onMounted as Ot, onBeforeUnmount as At, createElementBlock as f, openBlock as i, unref as s, normalizeStyle as N, normalizeClass as G, createBlock as A, createCommentVNode as b, createElementVNode as C, createVNode as Q, createSlots as ie, withCtx as d, renderSlot as h, normalizeProps as B, guardReactiveProps as M, Fragment as ve, renderList as ce, mergeProps as ze, Teleport as Ft, toDisplayString as de, resolveDynamicComponent as It, createTextVNode as Ee, nextTick as Pt } from "vue";
2
+ import { c as We, t as Lt, b as Nt, p as D, o as Ge, f as he, g as Dt, e as Rt, a1 as Vt, h as He, a as je, d as R, X as Bt, s as Mt, i as Ut, x as J, P as zt, Q as Et, G as Wt, H as Gt } from "./lib-C_mNZmhD.js";
3
+ import { t as Ht, u as jt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Xt, a as Xe } from "./useNestedProp-BjZe1Y85.js";
5
+ import { u as Yt } from "./usePrinter-DTzqpYKF.js";
6
+ import { u as qt, B as Qt } from "./BaseScanner-BgWxam9d.js";
7
+ import { u as Jt } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as Kt } from "./useUserOptionState-BIvW1Kz7.js";
9
+ import { u as Zt } from "./useChartAccessibility-9icAAmYg.js";
10
+ import el from "./img-BecE5qXd.js";
11
+ import { _ as tl } from "./Shape-CNXKB8O0.js";
12
+ import ll from "./Title-l36lOBMx.js";
13
+ import { t as ol } from "./themes-AUNCOb2G.js";
14
+ import al from "./Legend-G6GMcdAc.js";
15
+ import { _ as sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const nl = ["id"], ul = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = ["id"], cl = ["stop-color"], dl = ["stop-color"], hl = { key: 1 }, pl = ["stroke", "cx", "cy", "r", "fill"], gl = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], fl = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], yl = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], ml = {
17
17
  key: 4,
18
18
  class: "vue-data-ui-watermark"
19
- }, fl = ["id"], yl = ["onClick"], ml = ["innerHTML"], bl = {
19
+ }, bl = ["id"], kl = ["onClick"], wl = ["innerHTML"], Cl = {
20
20
  __name: "vue-ui-rings",
21
21
  props: {
22
22
  config: {
@@ -33,11 +33,11 @@ const ol = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], nl = ["width", "heigh
33
33
  }
34
34
  },
35
35
  emits: ["selectLegend"],
36
- setup(Xe, { expose: Ye, emit: qe }) {
37
- const Qe = O(() => import("./Tooltip-oWCO1HKy.js")), Je = O(() => import("./BaseIcon-BmMbm4d0.js")), Ke = O(() => import("./vue-ui-accordion-CZ0thhxa.js")), Ze = O(() => import("./DataTable-BT7VF2ua.js")), et = O(() => import("./PenAndPaper-DSvu9dwa.js")), tt = O(() => import("./UserOptions-CGnQt6Fd.js")), lt = O(() => import("./PackageVersion-D-auaEEJ.js")), ot = O(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_rings: at } = Gt(), st = $t(), k = Xe, F = r(!1), he = c(() => !!k.dataset && k.dataset.length), y = r(Ue()), W = r(!1), J = r(""), T = r(null), ge = r(0), _ = r(null), fe = r(null), ye = r(null), me = r(null), be = r(null), ke = r(0), we = r(0), Ce = r(0), K = r(!1), $e = r(!1), M = r(null), Z = r(null), e = r(le()), { loading: I, FINAL_DATASET: Te, manualLoading: G } = jt({
38
- ...Tt(k),
36
+ setup(Ye, { expose: qe, emit: Qe }) {
37
+ const Je = O(() => import("./Tooltip-oWCO1HKy.js")), Ke = O(() => import("./BaseIcon-BmMbm4d0.js")), Ze = O(() => import("./vue-ui-accordion-CZ0thhxa.js")), et = O(() => import("./DataTable-BT7VF2ua.js")), tt = O(() => import("./PenAndPaper-DSvu9dwa.js")), lt = O(() => import("./UserOptions-CGnQt6Fd.js")), ot = O(() => import("./PackageVersion-Cyx_s25h.js")), at = O(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_rings: st } = Xt(), nt = St(), k = Ye, F = r(!1), pe = c(() => !!k.dataset && k.dataset.length), m = r(We()), H = r(!1), K = r(""), T = r(null), ge = r(0), _ = r(null), fe = r(null), ye = r(null), me = r(null), be = r(null), ke = r(0), we = r(0), Ce = r(0), Z = r(!1), $e = r(!1), U = r(null), ee = r(null), e = r(oe()), { loading: I, FINAL_DATASET: Te, manualLoading: j } = qt({
38
+ ...xt(k),
39
39
  FINAL_CONFIG: e,
40
- prepareConfig: le,
40
+ prepareConfig: oe,
41
41
  skeletonDataset: [
42
42
  { name: "_", values: [13], color: "#808080" },
43
43
  { name: "_", values: [8], color: "#969696" },
@@ -45,7 +45,7 @@ const ol = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], nl = ["width", "heigh
45
45
  { name: "_", values: [3], color: "#C4C4C4" },
46
46
  { name: "_", values: [2], color: "#DBDBDB" }
47
47
  ],
48
- skeletonConfig: Ft({
48
+ skeletonConfig: Lt({
49
49
  defaultConfig: e.value,
50
50
  userConfig: {
51
51
  userOptions: { show: !1 },
@@ -68,56 +68,56 @@ const ol = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], nl = ["width", "heigh
68
68
  }
69
69
  }
70
70
  })
71
- }), { userOptionsVisible: ee, setUserOptionsVisibility: _e, keepUserOptionState: xe } = qt({ config: e.value }), { svgRef: te } = Qt({ config: e.value.style.chart.title });
72
- function le() {
73
- const t = je({
71
+ }), { userOptionsVisible: te, setUserOptionsVisibility: _e, keepUserOptionState: Se } = Kt({ config: e.value }), { svgRef: le } = Zt({ config: e.value.style.chart.title });
72
+ function oe() {
73
+ const t = Xe({
74
74
  userConfig: k.config,
75
- defaultConfig: at
75
+ defaultConfig: st
76
76
  });
77
77
  return t.theme ? {
78
- ...je({
79
- userConfig: el.vue_ui_rings[t.theme] || k.config,
78
+ ...Xe({
79
+ userConfig: ol.vue_ui_rings[t.theme] || k.config,
80
80
  defaultConfig: t
81
81
  }),
82
- customPalette: It[t.theme] || N
82
+ customPalette: Nt[t.theme] || D
83
83
  } : t;
84
84
  }
85
- Y(() => k.config, (t) => {
86
- I.value || (e.value = le()), ee.value = !e.value.userOptions.showOnChartHover, Se(), ke.value += 1, we.value += 1, Ce.value += 1, w.value.showTable = e.value.table.show, w.value.showTooltip = e.value.style.chart.tooltip.show;
87
- }, { deep: !0 }), Y(() => k.dataset, (t) => {
88
- Array.isArray(t) && t.length > 0 && (G.value = !1);
85
+ q(() => k.config, (t) => {
86
+ I.value || (e.value = oe()), te.value = !e.value.userOptions.showOnChartHover, xe(), ke.value += 1, we.value += 1, Ce.value += 1, w.value.showTable = e.value.table.show, w.value.showTooltip = e.value.style.chart.tooltip.show;
87
+ }, { deep: !0 }), q(() => k.dataset, (t) => {
88
+ Array.isArray(t) && t.length > 0 && (j.value = !1);
89
89
  }, { deep: !0 });
90
- const x = Me(null), R = Me(null);
91
- _t(() => {
92
- $e.value = !0, Se();
90
+ const S = Ue(null), V = Ue(null);
91
+ Ot(() => {
92
+ $e.value = !0, xe();
93
93
  });
94
- const oe = c(() => !!e.value.debug);
95
- function Se() {
96
- if (We(k.dataset) ? (pe({
94
+ const ae = c(() => !!e.value.debug);
95
+ function xe() {
96
+ if (Ge(k.dataset) ? (he({
97
97
  componentName: "VueUiRings",
98
98
  type: "dataset",
99
- debug: oe.value
100
- }), G.value = !0) : k.dataset.forEach((t, o) => {
101
- t.values.length || (pe({
99
+ debug: ae.value
100
+ }), j.value = !0) : k.dataset.forEach((t, o) => {
101
+ t.values.length || (he({
102
102
  componentName: "VueUiRings",
103
103
  type: "dataset",
104
- debug: oe.value
105
- }), G.value = !0), Pt({
104
+ debug: ae.value
105
+ }), j.value = !0), Dt({
106
106
  datasetObject: t,
107
107
  requiredAttributes: ["name", "values"]
108
108
  }).forEach((l) => {
109
- pe({
109
+ he({
110
110
  componentName: "VueUiRings",
111
111
  type: "datasetSerieAttribute",
112
112
  property: l,
113
113
  index: o,
114
- debug: oe.value
114
+ debug: ae.value
115
115
  });
116
116
  });
117
- }), We(k.dataset) || (G.value = e.value.loading), e.value.responsive) {
118
- const t = Ut(() => {
119
- K.value = !0;
120
- const { width: o, height: l } = Wt({
117
+ }), Ge(k.dataset) || (j.value = e.value.loading), e.value.responsive) {
118
+ const t = Ht(() => {
119
+ Z.value = !0;
120
+ const { width: o, height: l } = jt({
121
121
  chart: _.value,
122
122
  title: e.value.style.chart.title.text ? fe.value : null,
123
123
  legend: e.value.style.chart.legend.show ? ye.value : null,
@@ -125,27 +125,27 @@ const ol = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], nl = ["width", "heigh
125
125
  noTitle: be.value
126
126
  });
127
127
  requestAnimationFrame(() => {
128
- u.value.width = o, u.value.height = l - 12, K.value = !1;
128
+ u.value.width = o, u.value.height = l - 12, Z.value = !1;
129
129
  });
130
130
  });
131
- x.value && (R.value && x.value.unobserve(R.value), x.value.disconnect()), x.value = new ResizeObserver(t), R.value = _.value.parentNode, x.value.observe(R.value);
131
+ S.value && (V.value && S.value.unobserve(V.value), S.value.disconnect()), S.value = new ResizeObserver(t), V.value = _.value.parentNode, S.value.observe(V.value);
132
132
  }
133
133
  setTimeout(() => {
134
134
  F.value = !0;
135
135
  }, 600);
136
136
  }
137
- xt(() => {
138
- x.value && (R.value && x.value.unobserve(R.value), x.value.disconnect());
137
+ At(() => {
138
+ S.value && (V.value && S.value.unobserve(V.value), S.value.disconnect());
139
139
  });
140
- const { isPrinting: Oe, isImaging: Ae, generatePdf: Fe, generateImage: Ie } = Ht({
141
- elementId: `rings_${y.value}`,
140
+ const { isPrinting: Oe, isImaging: Ae, generatePdf: Fe, generateImage: Ie } = Yt({
141
+ elementId: `rings_${m.value}`,
142
142
  fileName: e.value.style.chart.title.text || "vue-ui-rings",
143
143
  options: e.value.userOptions.print
144
- }), nt = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), Pe = c(() => Lt(e.value.customPalette)), w = r({
144
+ }), ut = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), Pe = c(() => Rt(e.value.customPalette)), w = r({
145
145
  showTable: e.value.table.show,
146
146
  showTooltip: e.value.style.chart.tooltip.show
147
147
  });
148
- Y(e, () => {
148
+ q(e, () => {
149
149
  w.value = {
150
150
  showTable: e.value.table.show,
151
151
  showTooltip: e.value.style.chart.tooltip.show
@@ -154,61 +154,81 @@ const ol = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], nl = ["width", "heigh
154
154
  const u = r({
155
155
  height: 360,
156
156
  width: 360
157
- }), ut = c(() => Math.min(u.value.height, u.value.width)), rt = qe, m = r([]);
158
- function ae(t) {
159
- m.value.includes(t) ? m.value = m.value.filter((o) => o !== t) : m.value.push(t), rt("selectLegend", f.value.map((o) => ({
157
+ }), rt = c(() => Math.min(u.value.height, u.value.width)), it = Qe, p = r([]);
158
+ function z(t) {
159
+ if (p.value.includes(t))
160
+ p.value = p.value.filter((o) => o !== t);
161
+ else {
162
+ if (p.value.length === P.value.length - 1) return;
163
+ p.value.push(t);
164
+ }
165
+ it("selectLegend", y.value.map((o) => ({
160
166
  name: o.name,
161
167
  color: o.color,
162
168
  value: o.value
163
169
  })));
164
170
  }
165
- const it = c(() => Math.max(
166
- ...H.value.filter((t) => !m.value.includes(t.uid)).map(({ value: t }) => t)
167
- ));
168
171
  function Le(t) {
169
- return t / it.value;
172
+ if (!P.value.length)
173
+ return e.value.debug && console.warn("VueUiRings - There are no series to show."), null;
174
+ const o = P.value.find((l) => l.name === t);
175
+ return o || (e.value.debug && console.warn(`VueUiRings - Series name not found "${t}"`), null);
170
176
  }
171
- const H = c(() => Te.value.map(({ values: t, name: o, color: l = null }, a) => {
172
- const n = Nt(t).reduce((v, E) => v + E, 0);
177
+ function vt(t) {
178
+ const o = Le(t);
179
+ o !== null && p.value.includes(o.uid) && z(o.uid);
180
+ }
181
+ function ct(t) {
182
+ const o = Le(t);
183
+ o !== null && (p.value.includes(o.uid) || z(o.uid));
184
+ }
185
+ const dt = c(() => Math.max(
186
+ ...P.value.filter((t) => !p.value.includes(t.uid)).map(({ value: t }) => t)
187
+ ));
188
+ function Ne(t) {
189
+ return t / dt.value;
190
+ }
191
+ const P = c(() => Te.value.map(({ values: t, name: o, color: l = null }, a) => {
192
+ const n = Vt(t).reduce((v, W) => v + W, 0);
173
193
  return {
174
194
  name: o,
175
- color: l || Ge(l) || Pe.value[a] || N[a] || N[a % N.length],
195
+ color: l || He(l) || Pe.value[a] || D[a] || D[a % D.length],
176
196
  value: n,
177
- proportion: n / Te.value.map((v) => (v.values || []).reduce((E, Ct) => E + Ct, 0)).reduce((v, E) => v + E, 0),
178
- uid: Ue(),
197
+ proportion: n / Te.value.map((v) => (v.values || []).reduce((W, _t) => W + _t, 0)).reduce((v, W) => v + W, 0),
198
+ uid: We(),
179
199
  absoluteIndex: a
180
200
  };
181
- })), se = c(() => H.value.map((t, o) => ({
201
+ })), se = c(() => P.value.map((t, o) => ({
182
202
  ...t,
183
203
  shape: "circle",
184
- opacity: m.value.includes(t.uid) ? 0.5 : 1,
185
- segregate: () => ae(t.uid),
186
- isSegregated: m.value.includes(t.uid),
187
- display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? He(e.value.style.chart.layout.labels.dataLabels.formatter, t.value, D({
204
+ opacity: p.value.includes(t.uid) ? 0.5 : 1,
205
+ segregate: () => z(t.uid),
206
+ isSegregated: p.value.includes(t.uid),
207
+ display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? je(e.value.style.chart.layout.labels.dataLabels.formatter, t.value, R({
188
208
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
189
209
  v: t.value,
190
210
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
191
211
  r: e.value.style.chart.legend.roundingValue
192
- }), { datapoint: t, index: o }) : ""}${e.value.style.chart.legend.showPercentage ? m.value.includes(t.uid) ? `${e.value.style.chart.legend.showValue ? " (" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? " (" : ""}${isNaN(t.value / $.value) ? "-" : D({ v: t.value / $.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
193
- })).toSorted((t, o) => o.value - t.value)), vt = c(() => ({
212
+ }), { datapoint: t, index: o }) : ""}${e.value.style.chart.legend.showPercentage ? p.value.includes(t.uid) ? `${e.value.style.chart.legend.showValue ? " (" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? " (" : ""}${isNaN(t.value / $.value) ? "-" : R({ v: t.value / $.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
213
+ })).toSorted((t, o) => o.value - t.value)), ht = c(() => ({
194
214
  cy: "rings-div-legend",
195
215
  backgroundColor: e.value.style.chart.legend.backgroundColor,
196
216
  color: e.value.style.chart.legend.color,
197
217
  fontSize: e.value.style.chart.legend.fontSize,
198
218
  paddingBottom: 12,
199
219
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
200
- })), $ = c(() => H.value.filter((t) => !m.value.includes(t.uid)).map(({ value: t }) => t).reduce((t, o) => t + o, 0)), f = c(() => H.value.filter((t) => !m.value.includes(t.uid)).map(({ name: t, value: o, color: l = null, uid: a, absoluteIndex: n }, v) => ({
220
+ })), $ = c(() => P.value.filter((t) => !p.value.includes(t.uid)).map(({ value: t }) => t).reduce((t, o) => t + o, 0)), y = c(() => P.value.filter((t) => !p.value.includes(t.uid)).map(({ name: t, value: o, color: l = null, uid: a, absoluteIndex: n }, v) => ({
201
221
  absoluteIndex: n,
202
222
  uid: a,
203
223
  name: t,
204
- color: l || Ge(l) || Pe.value[v] || N[v] || N[v % N.length],
224
+ color: l || He(l) || Pe.value[v] || D[v] || D[v % D.length],
205
225
  value: o,
206
- proportion: Le(o),
226
+ proportion: Ne(o),
207
227
  percentage: o / $.value * 100,
208
- strokeWidth: e.value.style.chart.layout.rings.strokeWidth * Le(o)
228
+ strokeWidth: e.value.style.chart.layout.rings.strokeWidth * Ne(o)
209
229
  })).toSorted((t, o) => o.value - t.value));
210
- function ct() {
211
- return f.value.map(
230
+ function pt() {
231
+ return y.value.map(
212
232
  ({ name: t, color: o, value: l, absoluteValues: a, percentage: n }) => ({
213
233
  name: t,
214
234
  color: o,
@@ -218,41 +238,41 @@ const ol = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], nl = ["width", "heigh
218
238
  })
219
239
  );
220
240
  }
221
- const h = c(() => ut.value - e.value.style.chart.layout.rings.strokeWidth * 2);
222
- function dt(t, o) {
241
+ const g = c(() => rt.value - e.value.style.chart.layout.rings.strokeWidth * 2);
242
+ function gt(t, o) {
223
243
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: o });
224
244
  }
225
- function pt(t, o) {
226
- T.value = null, W.value = !1, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o });
245
+ function ft(t, o) {
246
+ T.value = null, H.value = !1, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o });
227
247
  }
228
248
  const ne = r(null);
229
- function ht(t, o) {
230
- if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o }), m.value.length === k.dataset.length) return;
249
+ function yt(t, o) {
250
+ if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o }), p.value.length === k.dataset.length) return;
231
251
  ne.value = {
232
252
  datapoint: t,
233
253
  seriesIndex: o,
234
- series: f.value,
254
+ series: y.value,
235
255
  config: e.value
236
256
  }, T.value = o;
237
- const l = f.value[o], a = e.value.style.chart.tooltip.customFormat;
238
- if (zt(a) && Et(() => a({
257
+ const l = y.value[o], a = e.value.style.chart.tooltip.customFormat;
258
+ if (Wt(a) && Gt(() => a({
239
259
  seriesIndex: o,
240
260
  datapoint: t,
241
- series: f.value,
261
+ series: y.value,
242
262
  config: e.value
243
263
  })))
244
- J.value = a({
264
+ K.value = a({
245
265
  seriesIndex: o,
246
266
  datapoint: t,
247
- series: f.value,
267
+ series: y.value,
248
268
  config: e.value
249
269
  });
250
270
  else {
251
271
  let n = "";
252
- n += `<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>`, n += `<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}" />${st.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${y.value}_${t.absoluteIndex})" />` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (n += `<b>${He(
272
+ n += `<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>`, n += `<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}" />${nt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${m.value}_${t.absoluteIndex})" />` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (n += `<b>${je(
253
273
  e.value.style.chart.layout.labels.dataLabels.formatter,
254
274
  l.value,
255
- D({
275
+ R({
256
276
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
257
277
  v: l.value,
258
278
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -260,36 +280,36 @@ const ol = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], nl = ["width", "heigh
260
280
  }),
261
281
  { datapoint: t, seriesIndex: o }
262
282
  )}
263
- </b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? n += `<span>(${D({
283
+ </b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? n += `<span>(${R({
264
284
  v: l.value / $.value * 100,
265
285
  s: "%",
266
286
  r: e.value.style.chart.tooltip.roundingPercentage
267
- })})</span></div>` : n += `<b>${D({
287
+ })})</span></div>` : n += `<b>${R({
268
288
  v: l.value / $.value * 100,
269
289
  s: "%",
270
290
  r: e.value.style.chart.tooltip.roundingPercentage
271
- })}</b></div>`), J.value = n;
291
+ })}</b></div>`), K.value = n;
272
292
  }
273
- W.value = !0;
293
+ H.value = !0;
274
294
  }
275
- const S = c(() => {
276
- const t = f.value.map((l) => ({
295
+ const x = c(() => {
296
+ const t = y.value.map((l) => ({
277
297
  name: l.name,
278
298
  color: l.color
279
- })), o = f.value.map((l) => l.value);
299
+ })), o = y.value.map((l) => l.value);
280
300
  return { head: t, body: o };
281
- }), j = c(() => {
301
+ }), X = c(() => {
282
302
  const t = [
283
303
  ' <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>',
284
- D({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: $.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
304
+ R({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: $.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
285
305
  "100%"
286
- ], o = S.value.head.map((n, v) => [
306
+ ], o = x.value.head.map((n, v) => [
287
307
  {
288
308
  color: n.color,
289
309
  name: n.name
290
310
  },
291
- D({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: S.value.body[v], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
292
- isNaN(S.value.body[v] / $.value) ? "-" : (S.value.body[v] / $.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
311
+ R({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: x.value.body[v], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
312
+ isNaN(x.value.body[v] / $.value) ? "-" : (x.value.body[v] / $.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
293
313
  ]), l = {
294
314
  th: {
295
315
  backgroundColor: e.value.table.th.backgroundColor,
@@ -315,30 +335,30 @@ const ol = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], nl = ["width", "heigh
315
335
  };
316
336
  });
317
337
  function ue(t = null) {
318
- At(() => {
319
- const o = S.value.head.map((n, v) => [[
338
+ Pt(() => {
339
+ const o = x.value.head.map((n, v) => [[
320
340
  n.name
321
- ], [S.value.body[v]], [isNaN(S.value.body[v] / $.value) ? "-" : S.value.body[v] / $.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(o), a = Vt(l);
322
- t ? t(a) : Mt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-rings" });
341
+ ], [x.value.body[v]], [isNaN(x.value.body[v] / $.value) ? "-" : x.value.body[v] / $.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(o), a = zt(l);
342
+ t ? t(a) : Et({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-rings" });
323
343
  });
324
344
  }
325
- const P = r(!1);
326
- function Ne(t) {
327
- P.value = t, ge.value += 1;
345
+ const L = r(!1);
346
+ function De(t) {
347
+ L.value = t, ge.value += 1;
328
348
  }
329
- function De() {
349
+ function Re() {
330
350
  w.value.showTable = !w.value.showTable;
331
351
  }
332
- function Re() {
352
+ function Ve() {
333
353
  w.value.showTooltip = !w.value.showTooltip;
334
354
  }
335
- const X = r(!1);
355
+ const Y = r(!1);
336
356
  function re() {
337
- X.value = !X.value;
357
+ Y.value = !Y.value;
338
358
  }
339
- async function gt({ scale: t = 2 } = {}) {
359
+ async function mt({ scale: t = 2 } = {}) {
340
360
  if (!_.value) return;
341
- const { width: o, height: l } = _.value.getBoundingClientRect(), a = o / l, { imageUri: n, base64: v } = await Jt({ domElement: _.value, base64: !0, img: !0, scale: t });
361
+ const { width: o, height: l } = _.value.getBoundingClientRect(), a = o / l, { imageUri: n, base64: v } = await el({ domElement: _.value, base64: !0, img: !0, scale: t });
342
362
  return {
343
363
  imageUri: n,
344
364
  base64: v,
@@ -348,17 +368,17 @@ const ol = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], nl = ["width", "heigh
348
368
  aspectRatio: a
349
369
  };
350
370
  }
351
- const z = c(() => {
371
+ const E = c(() => {
352
372
  const t = e.value.table.useDialog && !e.value.table.show, o = w.value.showTable;
353
373
  return {
354
- component: t ? ot : Ke,
374
+ component: t ? at : Ze,
355
375
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
356
376
  props: t ? {
357
377
  backgroundColor: e.value.table.th.backgroundColor,
358
378
  color: e.value.table.th.color,
359
379
  headerColor: e.value.table.th.color,
360
380
  headerBg: e.value.table.th.backgroundColor,
361
- isFullscreen: P.value,
381
+ isFullscreen: L.value,
362
382
  fullscreenParent: _.value,
363
383
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
364
384
  } : {
@@ -378,73 +398,75 @@ const ol = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], nl = ["width", "heigh
378
398
  }
379
399
  };
380
400
  });
381
- Y(() => w.value.showTable, (t) => {
382
- e.value.table.show || (t && e.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
401
+ q(() => w.value.showTable, (t) => {
402
+ e.value.table.show || (t && e.value.table.useDialog && U.value ? U.value.open() : "close" in U.value && U.value.close());
383
403
  });
384
404
  function Be() {
385
- w.value.showTable = !1, Z.value && Z.value.setTableIconState(!1);
405
+ w.value.showTable = !1, ee.value && ee.value.setTableIconState(!1);
386
406
  }
387
- const ft = c(() => se.value.map((t) => ({
407
+ const bt = c(() => se.value.map((t) => ({
388
408
  ...t,
389
409
  name: t.display
390
- }))), yt = c(() => e.value.style.chart.backgroundColor), mt = c(() => e.value.style.chart.legend), bt = c(() => e.value.style.chart.title), { exportSvg: kt, getSvg: wt } = Yt({
391
- svg: te,
392
- title: bt,
393
- legend: mt,
394
- legendItems: ft,
395
- backgroundColor: yt
410
+ }))), kt = c(() => e.value.style.chart.backgroundColor), wt = c(() => e.value.style.chart.legend), Ct = c(() => e.value.style.chart.title), { exportSvg: $t, getSvg: Tt } = Jt({
411
+ svg: le,
412
+ title: Ct,
413
+ legend: wt,
414
+ legendItems: bt,
415
+ backgroundColor: kt
396
416
  });
397
- async function Ve({ isCb: t }) {
417
+ async function Me({ isCb: t }) {
398
418
  if (t) {
399
- const { blob: o, url: l, text: a, dataUrl: n } = await wt();
419
+ const { blob: o, url: l, text: a, dataUrl: n } = await Tt();
400
420
  e.value.userOptions.callbacks.svg({ blob: o, url: l, text: a, dataUrl: n });
401
421
  } else
402
- kt();
422
+ $t();
403
423
  }
404
- return Ye({
405
- getData: ct,
406
- getImage: gt,
424
+ return qe({
425
+ getData: pt,
426
+ getImage: mt,
407
427
  generatePdf: Fe,
408
428
  generateCsv: ue,
409
429
  generateImage: Ie,
410
- generateSvg: Ve,
411
- toggleTable: De,
412
- toggleTooltip: Re,
430
+ generateSvg: Me,
431
+ hideSeries: ct,
432
+ showSeries: vt,
433
+ toggleTable: Re,
434
+ toggleTooltip: Ve,
413
435
  toggleAnnotator: re,
414
- toggleFullscreen: Ne
415
- }), (t, o) => (i(), g("div", {
436
+ toggleFullscreen: De
437
+ }), (t, o) => (i(), f("div", {
416
438
  ref_key: "ringsChart",
417
439
  ref: _,
418
- class: U(`vue-data-ui-component vue-ui-rings ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
419
- style: L(`font-family:${e.value.style.fontFamily};text-align:center;width:100%;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
420
- id: `rings_${y.value}`,
440
+ class: G(`vue-data-ui-component vue-ui-rings ${L.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
441
+ style: N(`font-family:${e.value.style.fontFamily};text-align:center;width:100%;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
442
+ id: `rings_${m.value}`,
421
443
  onMouseleave: o[2] || (o[2] = (l) => {
422
- T.value = null, W.value = !1, s(_e)(!1);
444
+ T.value = null, H.value = !1, s(_e)(!1);
423
445
  }),
424
446
  onMouseenter: o[3] || (o[3] = () => s(_e)(!0))
425
447
  }, [
426
- e.value.userOptions.buttons.annotator ? (i(), A(s(et), {
448
+ e.value.userOptions.buttons.annotator ? (i(), A(s(tt), {
427
449
  key: 0,
428
- svgRef: s(te),
450
+ svgRef: s(le),
429
451
  backgroundColor: e.value.style.chart.backgroundColor,
430
452
  color: e.value.style.chart.color,
431
- active: X.value,
453
+ active: Y.value,
432
454
  onClose: re
433
455
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : b("", !0),
434
- nt.value ? (i(), g("div", {
456
+ ut.value ? (i(), f("div", {
435
457
  key: 1,
436
458
  ref_key: "noTitle",
437
459
  ref: be,
438
460
  class: "vue-data-ui-no-title-space",
439
461
  style: "height:36px; width: 100%;background:transparent"
440
462
  }, null, 512)) : b("", !0),
441
- e.value.style.chart.title.text ? (i(), g("div", {
463
+ e.value.style.chart.title.text ? (i(), f("div", {
442
464
  key: 2,
443
465
  ref_key: "chartTitle",
444
466
  ref: fe,
445
467
  style: "width:100%;background:transparent"
446
468
  }, [
447
- (i(), A(Zt, {
469
+ (i(), A(ll, {
448
470
  key: `title_${ke.value}`,
449
471
  config: {
450
472
  title: {
@@ -459,17 +481,17 @@ const ol = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], nl = ["width", "heigh
459
481
  }, null, 8, ["config"]))
460
482
  ], 512)) : b("", !0),
461
483
  C("div", {
462
- id: `legend-top-${y.value}`
463
- }, null, 8, al),
464
- e.value.userOptions.show && he.value && (s(xe) || s(ee)) ? (i(), A(s(tt), {
484
+ id: `legend-top-${m.value}`
485
+ }, null, 8, ul),
486
+ e.value.userOptions.show && pe.value && (s(Se) || s(te)) ? (i(), A(s(lt), {
465
487
  ref_key: "userOptionsRef",
466
- ref: Z,
488
+ ref: ee,
467
489
  key: `user_options_${ge.value}`,
468
490
  backgroundColor: e.value.style.chart.backgroundColor,
469
491
  color: e.value.style.chart.color,
470
492
  isPrinting: s(Oe),
471
493
  isImaging: s(Ae),
472
- uid: y.value,
494
+ uid: m.value,
473
495
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
474
496
  hasPdf: e.value.userOptions.buttons.pdf,
475
497
  hasXls: e.value.userOptions.buttons.csv,
@@ -478,101 +500,101 @@ const ol = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], nl = ["width", "heigh
478
500
  hasTable: e.value.userOptions.buttons.table,
479
501
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
480
502
  isTooltip: w.value.showTooltip,
481
- isFullscreen: P.value,
503
+ isFullscreen: L.value,
482
504
  titles: { ...e.value.userOptions.buttonTitles },
483
505
  chartElement: _.value,
484
506
  position: e.value.userOptions.position,
485
507
  hasAnnotator: e.value.userOptions.buttons.annotator,
486
- isAnnotation: X.value,
508
+ isAnnotation: Y.value,
487
509
  callbacks: e.value.userOptions.callbacks,
488
510
  printScale: e.value.userOptions.print.scale,
489
511
  tableDialog: e.value.table.useDialog,
490
- onToggleFullscreen: Ne,
512
+ onToggleFullscreen: De,
491
513
  onGeneratePdf: s(Fe),
492
514
  onGenerateCsv: ue,
493
515
  onGenerateImage: s(Ie),
494
- onGenerateSvg: Ve,
495
- onToggleTable: De,
496
- onToggleTooltip: Re,
516
+ onGenerateSvg: Me,
517
+ onToggleTable: Re,
518
+ onToggleTooltip: Ve,
497
519
  onToggleAnnotator: re,
498
- style: L({
499
- visibility: s(xe) ? s(ee) ? "visible" : "hidden" : "visible"
520
+ style: N({
521
+ visibility: s(Se) ? s(te) ? "visible" : "hidden" : "visible"
500
522
  })
501
523
  }, ie({ _: 2 }, [
502
524
  t.$slots.menuIcon ? {
503
525
  name: "menuIcon",
504
526
  fn: d(({ isOpen: l, color: a }) => [
505
- p(t.$slots, "menuIcon", B(V({ isOpen: l, color: a })), void 0, !0)
527
+ h(t.$slots, "menuIcon", B(M({ isOpen: l, color: a })), void 0, !0)
506
528
  ]),
507
529
  key: "0"
508
530
  } : void 0,
509
531
  t.$slots.optionTooltip ? {
510
532
  name: "optionTooltip",
511
533
  fn: d(() => [
512
- p(t.$slots, "optionTooltip", {}, void 0, !0)
534
+ h(t.$slots, "optionTooltip", {}, void 0, !0)
513
535
  ]),
514
536
  key: "1"
515
537
  } : void 0,
516
538
  t.$slots.optionPdf ? {
517
539
  name: "optionPdf",
518
540
  fn: d(() => [
519
- p(t.$slots, "optionPdf", {}, void 0, !0)
541
+ h(t.$slots, "optionPdf", {}, void 0, !0)
520
542
  ]),
521
543
  key: "2"
522
544
  } : void 0,
523
545
  t.$slots.optionCsv ? {
524
546
  name: "optionCsv",
525
547
  fn: d(() => [
526
- p(t.$slots, "optionCsv", {}, void 0, !0)
548
+ h(t.$slots, "optionCsv", {}, void 0, !0)
527
549
  ]),
528
550
  key: "3"
529
551
  } : void 0,
530
552
  t.$slots.optionImg ? {
531
553
  name: "optionImg",
532
554
  fn: d(() => [
533
- p(t.$slots, "optionImg", {}, void 0, !0)
555
+ h(t.$slots, "optionImg", {}, void 0, !0)
534
556
  ]),
535
557
  key: "4"
536
558
  } : void 0,
537
559
  t.$slots.optionSvg ? {
538
560
  name: "optionSvg",
539
561
  fn: d(() => [
540
- p(t.$slots, "optionSvg", {}, void 0, !0)
562
+ h(t.$slots, "optionSvg", {}, void 0, !0)
541
563
  ]),
542
564
  key: "5"
543
565
  } : void 0,
544
566
  t.$slots.optionTable ? {
545
567
  name: "optionTable",
546
568
  fn: d(() => [
547
- p(t.$slots, "optionTable", {}, void 0, !0)
569
+ h(t.$slots, "optionTable", {}, void 0, !0)
548
570
  ]),
549
571
  key: "6"
550
572
  } : void 0,
551
573
  t.$slots.optionFullscreen ? {
552
574
  name: "optionFullscreen",
553
575
  fn: d(({ toggleFullscreen: l, isFullscreen: a }) => [
554
- p(t.$slots, "optionFullscreen", B(V({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
576
+ h(t.$slots, "optionFullscreen", B(M({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
555
577
  ]),
556
578
  key: "7"
557
579
  } : void 0,
558
580
  t.$slots.optionAnnotator ? {
559
581
  name: "optionAnnotator",
560
582
  fn: d(({ toggleAnnotator: l, isAnnotator: a }) => [
561
- p(t.$slots, "optionAnnotator", B(V({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
583
+ h(t.$slots, "optionAnnotator", B(M({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
562
584
  ]),
563
585
  key: "8"
564
586
  } : void 0
565
587
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : b("", !0),
566
- (i(), g("svg", {
588
+ (i(), f("svg", {
567
589
  ref_key: "svgRef",
568
- ref: te,
569
- xmlns: s(Dt),
570
- class: U({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value, resizing: K.value || s(I) }),
590
+ ref: le,
591
+ xmlns: s(Bt),
592
+ class: G({ "vue-data-ui-fullscreen--on": L.value, "vue-data-ui-fulscreen--off": !L.value, resizing: Z.value || s(I) }),
571
593
  viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
572
- style: L(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
594
+ style: N(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
573
595
  }, [
574
- q(s(lt)),
575
- t.$slots["chart-background"] ? (i(), g("foreignObject", {
596
+ Q(s(ot)),
597
+ t.$slots["chart-background"] ? (i(), f("foreignObject", {
576
598
  key: 0,
577
599
  x: 0,
578
600
  y: 0,
@@ -582,148 +604,148 @@ const ol = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], nl = ["width", "heigh
582
604
  pointerEvents: "none"
583
605
  }
584
606
  }, [
585
- p(t.$slots, "chart-background", {}, void 0, !0)
586
- ], 8, nl)) : b("", !0),
607
+ h(t.$slots, "chart-background", {}, void 0, !0)
608
+ ], 8, il)) : b("", !0),
587
609
  C("defs", null, [
588
- (i(!0), g(ve, null, ce(f.value, (l, a) => (i(), g("radialGradient", {
610
+ (i(!0), f(ve, null, ce(y.value, (l, a) => (i(), f("radialGradient", {
589
611
  cx: "50%",
590
612
  cy: "30%",
591
613
  r: "50%",
592
614
  fx: "50%",
593
615
  fy: "50%",
594
- id: `gradient_${y.value}_${a}`
616
+ id: `gradient_${m.value}_${a}`
595
617
  }, [
596
618
  C("stop", {
597
619
  offset: "0%",
598
- "stop-color": s(Rt)(s(Bt)(l.color, 0.05), 100 - e.value.style.chart.layout.rings.gradient.intensity)
599
- }, null, 8, rl),
620
+ "stop-color": s(Mt)(s(Ut)(l.color, 0.05), 100 - e.value.style.chart.layout.rings.gradient.intensity)
621
+ }, null, 8, cl),
600
622
  C("stop", {
601
623
  offset: "100%",
602
624
  "stop-color": l.color
603
- }, null, 8, il)
604
- ], 8, ul))), 256))
625
+ }, null, 8, dl)
626
+ ], 8, vl))), 256))
605
627
  ]),
606
- t.$slots.pattern ? (i(), g("g", vl, [
607
- (i(!0), g(ve, null, ce(f.value, (l) => (i(), g("defs", null, [
608
- p(t.$slots, "pattern", ze({ ref_for: !0 }, { seriesIndex: l.absoluteIndex, patternId: `pattern_${y.value}_${l.absoluteIndex}` }), void 0, !0)
628
+ t.$slots.pattern ? (i(), f("g", hl, [
629
+ (i(!0), f(ve, null, ce(y.value, (l) => (i(), f("defs", null, [
630
+ h(t.$slots, "pattern", ze({ ref_for: !0 }, { seriesIndex: l.absoluteIndex, patternId: `pattern_${m.value}_${l.absoluteIndex}` }), void 0, !0)
609
631
  ]))), 256))
610
632
  ])) : b("", !0),
611
- (i(!0), g(ve, null, ce(f.value, (l, a) => (i(), g("g", null, [
633
+ (i(!0), f(ve, null, ce(y.value, (l, a) => (i(), f("g", null, [
612
634
  C("circle", {
613
- class: U({
635
+ class: G({
614
636
  "vue-ui-rings-item": F.value && e.value.useCssAnimation,
615
637
  "vue-rings-item-onload": !F.value && e.value.useCssAnimation && !s(I),
616
638
  "vue-ui-rings-opacity": T.value !== null && T.value !== a
617
639
  }),
618
- style: L(`animation-delay:${a * 100}ms`),
640
+ style: N(`animation-delay:${a * 100}ms`),
619
641
  stroke: e.value.style.chart.layout.rings.stroke,
620
642
  cx: u.value.width / 2,
621
- cy: a === 0 ? u.value.height / 2 : u.value.height / 2 + h.value * f.value[0].proportion / 2 - h.value * l.proportion / 2 - 2 * (a + 1),
622
- r: s(Q)(h.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : h.value * l.proportion / 2 * 0.9),
643
+ cy: a === 0 ? u.value.height / 2 : u.value.height / 2 + g.value * y.value[0].proportion / 2 - g.value * l.proportion / 2 - 2 * (a + 1),
644
+ r: s(J)(g.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : g.value * l.proportion / 2 * 0.9),
623
645
  fill: e.value.style.chart.layout.rings.gradient.underlayerColor
624
- }, null, 14, cl),
646
+ }, null, 14, pl),
625
647
  C("circle", {
626
- class: U({
648
+ class: G({
627
649
  "vue-ui-rings-item": F.value && e.value.useCssAnimation,
628
650
  "vue-rings-item-onload": !F.value && e.value.useCssAnimation && !s(I),
629
651
  "vue-ui-rings-shadow": e.value.style.chart.layout.rings.useShadow,
630
652
  "vue-ui-rings-blur": T.value !== null && T.value !== a
631
653
  }),
632
- style: L(`animation-delay:${a * 100}ms`),
654
+ style: N(`animation-delay:${a * 100}ms`),
633
655
  stroke: e.value.style.chart.layout.rings.stroke,
634
656
  "stroke-width": l.strokeWidth < 0.5 ? 0.5 : l.strokeWidth,
635
657
  cx: u.value.width / 2,
636
- cy: a === 0 ? u.value.height / 2 : u.value.height / 2 + h.value * f.value[0].proportion / 2 - h.value * l.proportion / 2 - 2 * (a + 1),
637
- r: s(Q)(h.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : h.value * l.proportion / 2 * 0.9),
638
- fill: e.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${y.value}_${a})` : l.color
639
- }, null, 14, dl),
640
- t.$slots.pattern ? (i(), g("circle", {
658
+ cy: a === 0 ? u.value.height / 2 : u.value.height / 2 + g.value * y.value[0].proportion / 2 - g.value * l.proportion / 2 - 2 * (a + 1),
659
+ r: s(J)(g.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : g.value * l.proportion / 2 * 0.9),
660
+ fill: e.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${m.value}_${a})` : l.color
661
+ }, null, 14, gl),
662
+ t.$slots.pattern ? (i(), f("circle", {
641
663
  key: 0,
642
- class: U({
664
+ class: G({
643
665
  "vue-ui-rings-item": F.value && e.value.useCssAnimation,
644
666
  "vue-rings-item-onload": !F.value && e.value.useCssAnimation && !s(I),
645
667
  "vue-ui-rings-shadow": e.value.style.chart.layout.rings.useShadow,
646
668
  "vue-ui-rings-blur": T.value !== null && T.value !== a
647
669
  }),
648
- style: L(`animation-delay:${a * 100}ms`),
670
+ style: N(`animation-delay:${a * 100}ms`),
649
671
  stroke: e.value.style.chart.layout.rings.stroke,
650
672
  "stroke-width": l.strokeWidth < 0.5 ? 0.5 : l.strokeWidth,
651
673
  cx: u.value.width / 2,
652
- cy: a === 0 ? u.value.height / 2 : u.value.height / 2 + h.value * f.value[0].proportion / 2 - h.value * l.proportion / 2 - 2 * (a + 1),
653
- r: s(Q)(h.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : h.value * l.proportion / 2 * 0.9),
654
- fill: `url(#pattern_${y.value}_${l.absoluteIndex})`
655
- }, null, 14, pl)) : b("", !0),
674
+ cy: a === 0 ? u.value.height / 2 : u.value.height / 2 + g.value * y.value[0].proportion / 2 - g.value * l.proportion / 2 - 2 * (a + 1),
675
+ r: s(J)(g.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : g.value * l.proportion / 2 * 0.9),
676
+ fill: `url(#pattern_${m.value}_${l.absoluteIndex})`
677
+ }, null, 14, fl)) : b("", !0),
656
678
  C("circle", {
657
679
  stroke: "none",
658
680
  cx: u.value.width / 2,
659
- cy: a === 0 ? u.value.height / 2 : u.value.height / 2 + h.value * f.value[0].proportion / 2 - h.value * l.proportion / 2 - 2 * (a + 1),
660
- r: s(Q)(h.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : h.value * l.proportion / 2 * 0.9),
681
+ cy: a === 0 ? u.value.height / 2 : u.value.height / 2 + g.value * y.value[0].proportion / 2 - g.value * l.proportion / 2 - 2 * (a + 1),
682
+ r: s(J)(g.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : g.value * l.proportion / 2 * 0.9),
661
683
  fill: "transparent",
662
- onMouseenter: (n) => ht(l, a),
663
- onMouseleave: (n) => pt(l, a),
664
- onClick: (n) => dt(l, a)
665
- }, null, 40, hl)
684
+ onMouseenter: (n) => yt(l, a),
685
+ onMouseleave: (n) => ft(l, a),
686
+ onClick: (n) => gt(l, a)
687
+ }, null, 40, yl)
666
688
  ]))), 256)),
667
- p(t.$slots, "svg", { svg: u.value }, void 0, !0)
668
- ], 14, sl)),
669
- t.$slots.watermark ? (i(), g("div", gl, [
670
- p(t.$slots, "watermark", B(V({ isPrinting: s(Oe) || s(Ae) })), void 0, !0)
689
+ h(t.$slots, "svg", { svg: u.value }, void 0, !0)
690
+ ], 14, rl)),
691
+ t.$slots.watermark ? (i(), f("div", ml, [
692
+ h(t.$slots, "watermark", B(M({ isPrinting: s(Oe) || s(Ae) })), void 0, !0)
671
693
  ])) : b("", !0),
672
694
  C("div", {
673
- id: `legend-bottom-${y.value}`
674
- }, null, 8, fl),
675
- $e.value ? (i(), A(St, {
695
+ id: `legend-bottom-${m.value}`
696
+ }, null, 8, bl),
697
+ $e.value ? (i(), A(Ft, {
676
698
  key: 5,
677
- to: e.value.style.chart.legend.position === "top" ? `#legend-top-${y.value}` : `#legend-bottom-${y.value}`
699
+ to: e.value.style.chart.legend.position === "top" ? `#legend-top-${m.value}` : `#legend-bottom-${m.value}`
678
700
  }, [
679
701
  C("div", {
680
702
  ref_key: "chartLegend",
681
703
  ref: ye
682
704
  }, [
683
- e.value.style.chart.legend.show ? (i(), A(tl, {
705
+ e.value.style.chart.legend.show ? (i(), A(al, {
684
706
  key: `legend_${Ce.value}`,
685
707
  legendSet: se.value,
686
- config: vt.value,
687
- onClickMarker: o[0] || (o[0] = ({ legend: l }) => ae(l.uid))
708
+ config: ht.value,
709
+ onClickMarker: o[0] || (o[0] = ({ legend: l }) => z(l.uid))
688
710
  }, ie({
689
711
  item: d(({ legend: l, index: a }) => [
690
- s(I) ? b("", !0) : (i(), g("div", {
712
+ s(I) ? b("", !0) : (i(), f("div", {
691
713
  key: 0,
692
- onClick: (n) => ae(l.uid),
693
- style: L(`opacity:${m.value.includes(l.uid) ? 0.5 : 1}`)
694
- }, de(l.display), 13, yl))
714
+ onClick: (n) => z(l.uid),
715
+ style: N(`opacity:${p.value.includes(l.uid) ? 0.5 : 1}`)
716
+ }, de(l.display), 13, kl))
695
717
  ]),
696
718
  _: 2
697
719
  }, [
698
720
  t.$slots.pattern ? {
699
721
  name: "legend-pattern",
700
722
  fn: d(({ legend: l, index: a }) => [
701
- q(Kt, {
723
+ Q(tl, {
702
724
  shape: l.shape,
703
725
  radius: 30,
704
726
  stroke: "none",
705
727
  plot: { x: 30, y: 30 },
706
- fill: `url(#pattern_${y.value}_${a})`
728
+ fill: `url(#pattern_${m.value}_${a})`
707
729
  }, null, 8, ["shape", "fill"])
708
730
  ]),
709
731
  key: "0"
710
732
  } : void 0
711
- ]), 1032, ["legendSet", "config"])) : p(t.$slots, "legend", {
733
+ ]), 1032, ["legendSet", "config"])) : h(t.$slots, "legend", {
712
734
  key: 1,
713
735
  legend: se.value
714
736
  }, void 0, !0)
715
737
  ], 512)
716
738
  ], 8, ["to"])) : b("", !0),
717
- t.$slots.source ? (i(), g("div", {
739
+ t.$slots.source ? (i(), f("div", {
718
740
  key: 6,
719
741
  ref_key: "source",
720
742
  ref: me,
721
743
  dir: "auto"
722
744
  }, [
723
- p(t.$slots, "source", {}, void 0, !0)
745
+ h(t.$slots, "source", {}, void 0, !0)
724
746
  ], 512)) : b("", !0),
725
- q(s(Qe), {
726
- show: w.value.showTooltip && W.value && m.value.length < k.dataset.length,
747
+ Q(s(Je), {
748
+ show: w.value.showTooltip && H.value && p.value.length < k.dataset.length,
727
749
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
728
750
  color: e.value.style.chart.tooltip.color,
729
751
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -734,8 +756,8 @@ const ol = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], nl = ["width", "heigh
734
756
  position: e.value.style.chart.tooltip.position,
735
757
  offsetY: e.value.style.chart.tooltip.offsetY,
736
758
  parent: _.value,
737
- content: J.value,
738
- isFullscreen: P.value,
759
+ content: K.value,
760
+ isFullscreen: L.value,
739
761
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
740
762
  smooth: e.value.style.chart.tooltip.smooth,
741
763
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
@@ -743,26 +765,26 @@ const ol = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], nl = ["width", "heigh
743
765
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
744
766
  }, {
745
767
  "tooltip-before": d(() => [
746
- p(t.$slots, "tooltip-before", B(V({ ...ne.value })), void 0, !0)
768
+ h(t.$slots, "tooltip-before", B(M({ ...ne.value })), void 0, !0)
747
769
  ]),
748
770
  "tooltip-after": d(() => [
749
- p(t.$slots, "tooltip-after", B(V({ ...ne.value })), void 0, !0)
771
+ h(t.$slots, "tooltip-after", B(M({ ...ne.value })), void 0, !0)
750
772
  ]),
751
773
  _: 3
752
774
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
753
- he.value && e.value.userOptions.buttons.table ? (i(), A(Ot(z.value.component), ze({ key: 7 }, z.value.props, {
775
+ pe.value && e.value.userOptions.buttons.table ? (i(), A(It(E.value.component), ze({ key: 7 }, E.value.props, {
754
776
  ref_key: "tableUnit",
755
- ref: M,
777
+ ref: U,
756
778
  onClose: Be
757
779
  }), ie({
758
780
  content: d(() => [
759
- (i(), A(s(Ze), {
781
+ (i(), A(s(et), {
760
782
  key: `table_${we.value}`,
761
- colNames: j.value.colNames,
762
- head: j.value.head,
763
- body: j.value.body,
764
- config: j.value.config,
765
- title: e.value.table.useDialog ? "" : z.value.title,
783
+ colNames: X.value.colNames,
784
+ head: X.value.head,
785
+ body: X.value.body,
786
+ config: X.value.config,
787
+ title: e.value.table.useDialog ? "" : E.value.title,
766
788
  withCloseButton: !e.value.table.useDialog,
767
789
  onClose: Be
768
790
  }, {
@@ -770,7 +792,7 @@ const ol = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], nl = ["width", "heigh
770
792
  C("div", {
771
793
  innerHTML: l,
772
794
  style: { display: "flex", "align-items": "center" }
773
- }, null, 8, ml)
795
+ }, null, 8, wl)
774
796
  ]),
775
797
  td: d(({ td: l }) => [
776
798
  Ee(de(l.name || l), 1)
@@ -783,7 +805,7 @@ const ol = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], nl = ["width", "heigh
783
805
  e.value.table.useDialog ? {
784
806
  name: "title",
785
807
  fn: d(() => [
786
- Ee(de(z.value.title), 1)
808
+ Ee(de(E.value.title), 1)
787
809
  ]),
788
810
  key: "0"
789
811
  } : void 0,
@@ -795,19 +817,19 @@ const ol = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], nl = ["width", "heigh
795
817
  class: "vue-ui-user-options-button",
796
818
  onClick: o[1] || (o[1] = (l) => ue(e.value.userOptions.callbacks.csv))
797
819
  }, [
798
- q(s(Je), {
820
+ Q(s(Ke), {
799
821
  name: "excel",
800
- stroke: z.value.props.color
822
+ stroke: E.value.props.color
801
823
  }, null, 8, ["stroke"])
802
824
  ])
803
825
  ]),
804
826
  key: "1"
805
827
  } : void 0
806
828
  ]), 1040)) : b("", !0),
807
- s(I) ? (i(), A(Xt, { key: 8 })) : b("", !0)
808
- ], 46, ol));
829
+ s(I) ? (i(), A(Qt, { key: 8 })) : b("", !0)
830
+ ], 46, nl));
809
831
  }
810
- }, Dl = /* @__PURE__ */ ll(bl, [["__scopeId", "data-v-618dffa7"]]);
832
+ }, Bl = /* @__PURE__ */ sl(Cl, [["__scopeId", "data-v-c57c82f5"]]);
811
833
  export {
812
- Dl as default
834
+ Bl as default
813
835
  };