vue-data-ui 3.5.0 → 3.5.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 (144) hide show
  1. package/README.md +26 -0
  2. package/dist/{ColorPicker-J5wOPCeB.js → ColorPicker-ChuwChMo.js} +58 -56
  3. package/dist/{NonSvgPenAndPaper-C7TRn0_3.js → NonSvgPenAndPaper-DVgKKLIf.js} +1 -1
  4. package/dist/{PackageVersion-Cyx_s25h.js → PackageVersion-Y7t79Jtq.js} +1 -1
  5. package/dist/PenAndPaper-SZQIAgkg.js +388 -0
  6. package/dist/{Title-l36lOBMx.js → Title-BzH_LEA3.js} +1 -1
  7. package/dist/components/vue-ui-3d-bar.js +1 -1
  8. package/dist/components/vue-ui-accordion.js +1 -1
  9. package/dist/components/vue-ui-age-pyramid.js +1 -1
  10. package/dist/components/vue-ui-annotator.js +1 -1
  11. package/dist/components/vue-ui-bullet.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dashboard.js +1 -1
  19. package/dist/components/vue-ui-digits.js +1 -1
  20. package/dist/components/vue-ui-donut-evolution.js +1 -1
  21. package/dist/components/vue-ui-donut.js +1 -1
  22. package/dist/components/vue-ui-dumbbell.js +1 -1
  23. package/dist/components/vue-ui-flow.js +1 -1
  24. package/dist/components/vue-ui-funnel.js +1 -1
  25. package/dist/components/vue-ui-galaxy.js +1 -1
  26. package/dist/components/vue-ui-gauge.js +1 -1
  27. package/dist/components/vue-ui-gizmo.js +1 -1
  28. package/dist/components/vue-ui-heatmap.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-mini-loader.js +1 -1
  33. package/dist/components/vue-ui-molecule.js +1 -1
  34. package/dist/components/vue-ui-mood-radar.js +1 -1
  35. package/dist/components/vue-ui-nested-donuts.js +1 -1
  36. package/dist/components/vue-ui-onion.js +1 -1
  37. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  38. package/dist/components/vue-ui-quadrant.js +1 -1
  39. package/dist/components/vue-ui-quick-chart.js +1 -1
  40. package/dist/components/vue-ui-radar.js +1 -1
  41. package/dist/components/vue-ui-rating.js +1 -1
  42. package/dist/components/vue-ui-relation-circle.js +1 -1
  43. package/dist/components/vue-ui-ridgeline.js +1 -1
  44. package/dist/components/vue-ui-rings.js +1 -1
  45. package/dist/components/vue-ui-scatter.js +1 -1
  46. package/dist/components/vue-ui-skeleton.js +1 -1
  47. package/dist/components/vue-ui-smiley.js +1 -1
  48. package/dist/components/vue-ui-spark-trend.js +1 -1
  49. package/dist/components/vue-ui-sparkbar.js +1 -1
  50. package/dist/components/vue-ui-sparkgauge.js +1 -1
  51. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  52. package/dist/components/vue-ui-sparkline.js +1 -1
  53. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  54. package/dist/components/vue-ui-stackbar.js +1 -1
  55. package/dist/components/vue-ui-strip-plot.js +1 -1
  56. package/dist/components/vue-ui-table-heatmap.js +1 -1
  57. package/dist/components/vue-ui-table-sparkline.js +1 -1
  58. package/dist/components/vue-ui-table.js +1 -1
  59. package/dist/components/vue-ui-thermometer.js +1 -1
  60. package/dist/components/vue-ui-timer.js +1 -1
  61. package/dist/components/vue-ui-tiremarks.js +1 -1
  62. package/dist/components/vue-ui-treemap.js +1 -1
  63. package/dist/components/vue-ui-vertical-bar.js +1 -1
  64. package/dist/components/vue-ui-waffle.js +1 -1
  65. package/dist/components/vue-ui-wheel.js +1 -1
  66. package/dist/components/vue-ui-word-cloud.js +1 -1
  67. package/dist/components/vue-ui-world.js +1 -1
  68. package/dist/components/vue-ui-xy-canvas.js +1 -1
  69. package/dist/components/vue-ui-xy.js +1 -1
  70. package/dist/style.css +1 -1
  71. package/dist/types/vue-data-ui.d.ts +17 -8
  72. package/dist/{useNestedProp-BjZe1Y85.js → useNestedProp-CReNavA0.js} +23 -9
  73. package/dist/{vue-data-ui-DxgRqCAo.js → vue-data-ui-BRaq4hRp.js} +63 -63
  74. package/dist/vue-data-ui.js +64 -64
  75. package/dist/{vue-ui-3d-bar-DmNJp8SY.js → vue-ui-3d-bar-BB4ii8Nt.js} +454 -434
  76. package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-BmFTVF1a.js} +1 -1
  77. package/dist/{vue-ui-age-pyramid-CPAP3sNY.js → vue-ui-age-pyramid-8bUepd28.js} +180 -160
  78. package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-CcpaXBNK.js} +3 -3
  79. package/dist/{vue-ui-bullet-Ce6uvCQJ.js → vue-ui-bullet-BvT4scFv.js} +190 -170
  80. package/dist/{vue-ui-candlestick-DewevWV_.js → vue-ui-candlestick-CMP7UL6z.js} +201 -181
  81. package/dist/{vue-ui-carousel-table-Dv1CDfE5.js → vue-ui-carousel-table-CzOcKsDj.js} +2 -2
  82. package/dist/{vue-ui-chestnut-D9sdFZ4E.js → vue-ui-chestnut-S787oASt.js} +375 -355
  83. package/dist/vue-ui-chord-Dl9Y4mcz.js +1153 -0
  84. package/dist/{vue-ui-circle-pack-Be74QB_0.js → vue-ui-circle-pack-CU09BzOV.js} +289 -269
  85. package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-C3yD_TUr.js} +1 -1
  86. package/dist/vue-ui-dashboard-BfEcVRxQ.js +432 -0
  87. package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-pRh179Gg.js} +1 -1
  88. package/dist/{vue-ui-donut-BRGFcgxS.js → vue-ui-donut-B_tEm4dT.js} +462 -442
  89. package/dist/{vue-ui-donut-evolution-DJ0C-7jH.js → vue-ui-donut-evolution-DiGhMwMO.js} +293 -273
  90. package/dist/{vue-ui-dumbbell-iQJ0BUhm.js → vue-ui-dumbbell-BlF3CLbN.js} +210 -190
  91. package/dist/{vue-ui-flow-CTYFoib3.js → vue-ui-flow-BQi5L8mJ.js} +339 -319
  92. package/dist/{vue-ui-funnel-CG55Xcdy.js → vue-ui-funnel-CM_6Sare.js} +218 -198
  93. package/dist/{vue-ui-galaxy-BQrxjKZJ.js → vue-ui-galaxy-BnZA62Li.js} +201 -181
  94. package/dist/{vue-ui-gauge-Tc-0NI0Y.js → vue-ui-gauge-DAk72bez.js} +311 -291
  95. package/dist/{vue-ui-gizmo-P8h-gnLd.js → vue-ui-gizmo-BQzQlUJ8.js} +2 -2
  96. package/dist/{vue-ui-heatmap-BZimPzsL.js → vue-ui-heatmap-C9MhHWpp.js} +303 -283
  97. package/dist/{vue-ui-history-plot-BVzbuqYY.js → vue-ui-history-plot-BYQh3E8U.js} +229 -209
  98. package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-jcrPjW4C.js} +2 -2
  99. package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-DTM98mRN.js} +1 -1
  100. package/dist/{vue-ui-molecule-BALqwB8c.js → vue-ui-molecule-Bd1OXvl3.js} +156 -136
  101. package/dist/{vue-ui-mood-radar-QJ5nlZby.js → vue-ui-mood-radar-DuoiTsYn.js} +266 -246
  102. package/dist/{vue-ui-nested-donuts-CmUabkkQ.js → vue-ui-nested-donuts-BTswQFjz.js} +506 -486
  103. package/dist/{vue-ui-onion-DAOCf3f8.js → vue-ui-onion-D-1U2Qgl.js} +220 -200
  104. package/dist/{vue-ui-parallel-coordinate-plot-D8jTuFjq.js → vue-ui-parallel-coordinate-plot-D-7VFHas.js} +235 -215
  105. package/dist/{vue-ui-quadrant-CO52mSRY.js → vue-ui-quadrant-CeM23s0z.js} +463 -443
  106. package/dist/{vue-ui-quick-chart-DEaVSldE.js → vue-ui-quick-chart-C0RMQzjC.js} +288 -268
  107. package/dist/{vue-ui-radar-C5V4hhbW.js → vue-ui-radar-BSfxyur3.js} +331 -311
  108. package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-tj97undO.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-CbMM0Jka.js → vue-ui-relation-circle-C7uV2mIj.js} +228 -208
  110. package/dist/{vue-ui-ridgeline-CXCIRDq6.js → vue-ui-ridgeline-CYMfTlwI.js} +242 -222
  111. package/dist/{vue-ui-rings-BpUcyqo7.js → vue-ui-rings-C96aj57d.js} +189 -169
  112. package/dist/{vue-ui-scatter--Dxe-hfO.js → vue-ui-scatter-CtvOXUnx.js} +275 -255
  113. package/dist/{vue-ui-skeleton-BWq-VDzg.js → vue-ui-skeleton-87TORm6s.js} +2 -2
  114. package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-B74geHT3.js} +1 -1
  115. package/dist/{vue-ui-spark-trend-T4J_YOa_.js → vue-ui-spark-trend-6_Ibziyv.js} +2 -2
  116. package/dist/{vue-ui-sparkbar-DnKP55Vu.js → vue-ui-sparkbar-BDCocMLI.js} +2 -2
  117. package/dist/{vue-ui-sparkgauge-BDQLP-zi.js → vue-ui-sparkgauge-CQ4Zk9-f.js} +2 -2
  118. package/dist/{vue-ui-sparkhistogram-Dm7QXrA-.js → vue-ui-sparkhistogram-BlTV9wfn.js} +143 -140
  119. package/dist/{vue-ui-sparkline-tXGDLHRy.js → vue-ui-sparkline-DWESyiqL.js} +2 -2
  120. package/dist/{vue-ui-sparkstackbar-M53Nt07M.js → vue-ui-sparkstackbar-DK_7X8mL.js} +2 -2
  121. package/dist/vue-ui-stackbar-BWuw8ff4.js +1827 -0
  122. package/dist/{vue-ui-strip-plot-BX9i3wMn.js → vue-ui-strip-plot-C1N2n39d.js} +245 -225
  123. package/dist/{vue-ui-table-7r02N9R9.js → vue-ui-table-CcuoPHgI.js} +3 -3
  124. package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-C9EMEM3Z.js} +1 -1
  125. package/dist/{vue-ui-table-sparkline-DZaAh10E.js → vue-ui-table-sparkline-BAxmZRff.js} +2 -2
  126. package/dist/vue-ui-thermometer-CDrM-WFq.js +584 -0
  127. package/dist/{vue-ui-timer-Ds-MJoW2.js → vue-ui-timer-BVsUQJz_.js} +3 -3
  128. package/dist/vue-ui-tiremarks-BQH2pNkG.js +450 -0
  129. package/dist/{vue-ui-treemap-BEvl8hiw.js → vue-ui-treemap-6WLoCHsH.js} +453 -433
  130. package/dist/{vue-ui-vertical-bar-D8dtM8sw.js → vue-ui-vertical-bar-B3gfBqD_.js} +323 -303
  131. package/dist/{vue-ui-waffle-B3q-2SCR.js → vue-ui-waffle-Bhlqo4xM.js} +219 -199
  132. package/dist/vue-ui-wheel-CqHw1WuW.js +663 -0
  133. package/dist/{vue-ui-word-cloud-ChT7uLbN.js → vue-ui-word-cloud-CKuWZGLv.js} +248 -228
  134. package/dist/{vue-ui-world-CdP4g_3_.js → vue-ui-world-C8KVyDim.js} +287 -267
  135. package/dist/{vue-ui-xy-B68qQ-gX.js → vue-ui-xy-Cz2qIEfi.js} +389 -369
  136. package/dist/{vue-ui-xy-canvas-DDngEA1s.js → vue-ui-xy-canvas-y4h7gEFp.js} +4 -4
  137. package/package.json +4 -4
  138. package/dist/PenAndPaper-DSvu9dwa.js +0 -373
  139. package/dist/vue-ui-chord-BG4dxKNA.js +0 -1133
  140. package/dist/vue-ui-dashboard-C4BLwHey.js +0 -412
  141. package/dist/vue-ui-stackbar-CkBOjryQ.js +0 -1724
  142. package/dist/vue-ui-thermometer-CFPt3MOv.js +0 -564
  143. package/dist/vue-ui-tiremarks-2eIQ6vxu.js +0 -430
  144. package/dist/vue-ui-wheel-BpirIgAG.js +0 -643
@@ -1,19 +1,19 @@
1
- import { defineAsyncComponent as _, computed as v, ref as c, toRefs as Vt, watch as de, shallowRef as He, onMounted as Dt, onBeforeUnmount as zt, createElementBlock as r, openBlock as n, unref as u, normalizeStyle as Z, normalizeClass as H, createBlock as P, createCommentVNode as p, createElementVNode as C, createVNode as ee, createSlots as je, withCtx as g, renderSlot as f, normalizeProps as E, guardReactiveProps as M, Fragment as L, renderList as N, toDisplayString as R, Teleport as Ut, resolveDynamicComponent as Bt, mergeProps as Et, createTextVNode as pe, nextTick as qe } from "vue";
2
- import { c as Mt, t as Gt, b as Wt, p as V, o as Xt, f as D, e as Yt, h as Qe, k as Je, x as Ht, d as G, a as he, X as jt, s as ge, i as qt, a8 as Ke, g as Ze, P as Qt, Q as Jt, G as Kt, H as Zt } from "./lib-C_mNZmhD.js";
1
+ import { defineAsyncComponent as S, computed as v, ref as c, toRefs as Vt, watch as ve, shallowRef as He, onMounted as Dt, onBeforeUnmount as zt, createElementBlock as r, openBlock as s, unref as u, normalizeStyle as Z, normalizeClass as H, createBlock as x, createCommentVNode as g, createElementVNode as w, createVNode as ee, withCtx as d, renderSlot as p, normalizeProps as C, guardReactiveProps as $, createSlots as je, Fragment as R, renderList as V, toDisplayString as D, Teleport as Ut, resolveDynamicComponent as Bt, mergeProps as Et, createTextVNode as pe, nextTick as qe } from "vue";
2
+ import { c as Mt, t as Gt, b as Wt, p as z, o as Xt, f as U, e as Yt, h as Qe, k as Je, x as Ht, d as G, a as he, X as jt, s as ge, i as qt, a8 as Ke, g as Ze, P as Qt, Q as Jt, G as Kt, H as Zt } from "./lib-C_mNZmhD.js";
3
3
  import { t as ea, u as ta } from "./useResponsive-DfdjqQps.js";
4
- import { u as aa, a as et } from "./useNestedProp-BjZe1Y85.js";
4
+ import { u as aa, a as et } from "./useNestedProp-CReNavA0.js";
5
5
  import { u as oa, B as la } from "./BaseScanner-BgWxam9d.js";
6
- import { u as sa } from "./usePrinter-DTzqpYKF.js";
7
- import { u as na } from "./useUserOptionState-BIvW1Kz7.js";
6
+ import { u as na } from "./usePrinter-DTzqpYKF.js";
7
+ import { u as sa } from "./useUserOptionState-BIvW1Kz7.js";
8
8
  import { u as ra } from "./useChartAccessibility-9icAAmYg.js";
9
9
  import { u as ua } from "./useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js";
10
10
  import ia from "./img-BecE5qXd.js";
11
- import ca from "./Title-l36lOBMx.js";
12
- import va from "./Legend-G6GMcdAc.js";
13
- import { t as da } from "./themes-AUNCOb2G.js";
11
+ import ca from "./Title-BzH_LEA3.js";
12
+ import da from "./Legend-G6GMcdAc.js";
13
+ import { t as va } from "./themes-AUNCOb2G.js";
14
14
  import { u as pa } from "./useSvgExport-DrjCWun4.js";
15
15
  import { _ as ha } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "height"], ba = ["id"], ka = ["stop-color"], Ca = ["stop-color"], wa = { key: 1 }, $a = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], _a = { key: 0 }, Ta = ["d", "stroke", "stroke-width"], Sa = ["d", "stroke", "stroke-width"], Aa = { key: 2 }, Pa = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter", "onMouseleave", "onClick"], xa = ["points", "stroke", "stroke-width"], Oa = ["points", "stroke", "stroke-width", "fill"], Fa = { key: 3 }, Ia = ["cx", "cy", "fill", "r", "stroke"], La = {
16
+ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "height"], ba = ["id"], ka = ["stop-color"], wa = ["stop-color"], Ca = { key: 1 }, $a = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], _a = { key: 0 }, Ta = ["d", "stroke", "stroke-width"], Sa = ["d", "stroke", "stroke-width"], Aa = { key: 2 }, Pa = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter", "onMouseleave", "onClick"], Oa = ["points", "stroke", "stroke-width"], xa = ["points", "stroke", "stroke-width", "fill"], Fa = { key: 3 }, Ia = ["cx", "cy", "fill", "r", "stroke"], La = {
17
17
  key: 4,
18
18
  class: "vue-data-ui-watermark"
19
19
  }, Na = ["id"], Ra = ["onClick"], Va = {
@@ -40,10 +40,10 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
40
40
  },
41
41
  emits: ["selectLegend"],
42
42
  setup(tt, { expose: at, emit: ot }) {
43
- const lt = _(() => import("./Tooltip-oWCO1HKy.js")), st = _(() => import("./BaseIcon-BmMbm4d0.js")), nt = _(() => import("./vue-ui-sparkbar-DnKP55Vu.js")), rt = _(() => import("./vue-ui-accordion-CZ0thhxa.js")), ut = _(() => import("./DataTable-BT7VF2ua.js")), it = _(() => import("./PenAndPaper-DSvu9dwa.js")), ct = _(() => import("./UserOptions-CGnQt6Fd.js")), vt = _(() => import("./PackageVersion-Cyx_s25h.js")), dt = _(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_radar: pt } = aa(), x = tt, fe = v(() => !!x.dataset && Object.keys(x.dataset).length), b = c(Mt()), te = c(!1), ae = c(""), ye = c(0), $ = c(null), me = c(null), be = c(null), ke = c(null), Ce = c(null), we = c(0), $e = c(0), _e = c(0), Te = c(!1), W = c(null), oe = c(null), e = c(se()), { loading: Se, FINAL_DATASET: O } = oa({
44
- ...Vt(x),
43
+ const lt = S(() => import("./Tooltip-oWCO1HKy.js")), nt = S(() => import("./BaseIcon-BmMbm4d0.js")), st = S(() => import("./vue-ui-sparkbar-BDCocMLI.js")), rt = S(() => import("./vue-ui-accordion-BmFTVF1a.js")), ut = S(() => import("./DataTable-BT7VF2ua.js")), it = S(() => import("./PenAndPaper-SZQIAgkg.js")), ct = S(() => import("./UserOptions-CGnQt6Fd.js")), dt = S(() => import("./PackageVersion-Y7t79Jtq.js")), vt = S(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_radar: pt } = aa(), F = tt, fe = v(() => !!F.dataset && Object.keys(F.dataset).length), b = c(Mt()), te = c(!1), ae = c(""), ye = c(0), T = c(null), me = c(null), be = c(null), ke = c(null), we = c(null), Ce = c(0), $e = c(0), _e = c(0), Te = c(!1), W = c(null), oe = c(null), e = c(ne()), { loading: Se, FINAL_DATASET: I } = oa({
44
+ ...Vt(F),
45
45
  FINAL_CONFIG: e,
46
- prepareConfig: se,
46
+ prepareConfig: ne,
47
47
  callback: () => {
48
48
  Promise.resolve().then(async () => {
49
49
  await qe(), y.value.showTable = e.value.table.show;
@@ -87,52 +87,52 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
87
87
  }
88
88
  }
89
89
  })
90
- }), { userOptionsVisible: le, setUserOptionsVisibility: Ae, keepUserOptionState: Pe } = na({ config: e.value }), { svgRef: j } = ra({ config: e.value.style.chart.title });
91
- function se() {
90
+ }), { userOptionsVisible: le, setUserOptionsVisibility: Ae, keepUserOptionState: Pe } = sa({ config: e.value }), { svgRef: j } = ra({ config: e.value.style.chart.title });
91
+ function ne() {
92
92
  const t = et({
93
- userConfig: x.config,
93
+ userConfig: F.config,
94
94
  defaultConfig: pt
95
95
  });
96
96
  return t.theme ? {
97
97
  ...et({
98
- userConfig: da.vue_ui_radar[t.theme] || x.config,
98
+ userConfig: va.vue_ui_radar[t.theme] || F.config,
99
99
  defaultConfig: t
100
100
  }),
101
- customPalette: Wt[t.theme] || V
101
+ customPalette: Wt[t.theme] || z
102
102
  } : t;
103
103
  }
104
- de(() => x.config, (t) => {
105
- e.value = se(), le.value = !e.value.userOptions.showOnChartHover, xe(), we.value += 1, $e.value += 1, _e.value += 1, y.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, y.value.showTable = e.value.table.show, y.value.showTooltip = e.value.style.chart.tooltip ? e.value.style.chart.tooltip.show : !1;
104
+ ve(() => F.config, (t) => {
105
+ e.value = ne(), le.value = !e.value.userOptions.showOnChartHover, Oe(), Ce.value += 1, $e.value += 1, _e.value += 1, y.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, y.value.showTable = e.value.table.show, y.value.showTooltip = e.value.style.chart.tooltip ? e.value.style.chart.tooltip.show : !1;
106
106
  }, { deep: !0 });
107
- const T = He(null), z = He(null), F = v(() => e.value.debug);
108
- function xe() {
109
- if (Xt(x.dataset) && D({
107
+ const A = He(null), B = He(null), L = v(() => e.value.debug);
108
+ function Oe() {
109
+ if (Xt(F.dataset) && U({
110
110
  componentName: "VueUiRadar",
111
111
  type: "dataset",
112
- debug: F.value
112
+ debug: L.value
113
113
  }), e.value.responsive) {
114
114
  const t = ea(() => {
115
- const { width: a, height: o } = ta({
116
- chart: $.value,
115
+ const { width: o, height: a } = ta({
116
+ chart: T.value,
117
117
  title: e.value.style.chart.title.text ? me.value : null,
118
118
  legend: e.value.style.chart.legend.show ? be.value : null,
119
119
  source: ke.value,
120
- noTitle: Ce.value
120
+ noTitle: we.value
121
121
  });
122
122
  requestAnimationFrame(() => {
123
- i.value.width = a, i.value.height = o, Ue();
123
+ i.value.width = o, i.value.height = a, Ue();
124
124
  });
125
125
  });
126
- T.value && (z.value && T.value.unobserve(z.value), T.value.disconnect()), T.value = new ResizeObserver(t), z.value = $.value.parentNode, T.value.observe(z.value);
126
+ A.value && (B.value && A.value.unobserve(B.value), A.value.disconnect()), A.value = new ResizeObserver(t), B.value = T.value.parentNode, A.value.observe(B.value);
127
127
  }
128
128
  Ue();
129
129
  }
130
130
  Dt(() => {
131
- Te.value = !0, xe();
131
+ Te.value = !0, Oe();
132
132
  }), zt(() => {
133
- T.value && (z.value && T.value.unobserve(z.value), T.value.disconnect());
133
+ A.value && (B.value && A.value.unobserve(B.value), A.value.disconnect());
134
134
  });
135
- const { isPrinting: Oe, isImaging: Fe, generatePdf: Ie, generateImage: Le } = sa({
135
+ const { isPrinting: xe, isImaging: Fe, generatePdf: Ie, generateImage: Le } = na({
136
136
  elementId: `vue-ui-radar_${b.value}`,
137
137
  fileName: e.value.style.chart.title.text || "vue-ui-radar",
138
138
  options: e.value.userOptions.print
@@ -163,136 +163,136 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
163
163
  })), i = c({
164
164
  height: 312,
165
165
  width: 512
166
- }), ft = ot, h = c([]), X = c(null), U = c(!1);
166
+ }), ft = ot, f = c([]), X = c(null), E = c(!1);
167
167
  function q(t) {
168
- U.value = !0, h.value.includes(t) ? (X.value = t, h.value = h.value.filter((a) => a !== t), setTimeout(() => {
169
- U.value = !1, X.value = null;
170
- }, 500)) : (h.value.push(t), setTimeout(() => {
171
- U.value = !1;
172
- }, 500)), ft("selectLegend", A.value.filter((a, o) => !h.value.includes(o)).map((a) => ({
173
- name: a.name,
174
- color: a.color,
175
- proportion: a.totalProportion
168
+ E.value = !0, f.value.includes(t) ? (X.value = t, f.value = f.value.filter((o) => o !== t), setTimeout(() => {
169
+ E.value = !1, X.value = null;
170
+ }, 500)) : (f.value.push(t), setTimeout(() => {
171
+ E.value = !1;
172
+ }, 500)), ft("selectLegend", O.value.filter((o, a) => !f.value.includes(a)).map((o) => ({
173
+ name: o.name,
174
+ color: o.color,
175
+ proportion: o.totalProportion
176
176
  })));
177
177
  }
178
178
  function yt() {
179
- return A.value.map((t) => ({
179
+ return O.value.map((t) => ({
180
180
  name: t.name,
181
181
  color: t.color,
182
182
  proportion: t.totalProportion
183
183
  }));
184
184
  }
185
185
  function mt() {
186
- const t = O.value;
186
+ const t = I.value;
187
187
  if ([null, void 0].includes(t?.categories)) {
188
- D({
188
+ U({
189
189
  componentName: "VueUiRadar",
190
190
  type: "dataset",
191
- debug: F.value
192
- }), D({
191
+ debug: L.value
192
+ }), U({
193
193
  componentName: "VueUiRadar",
194
194
  type: "datasetAttribute",
195
195
  property: "categories ({ name: string; prefix?: string; suffix?: string}[])",
196
- debug: F.value
196
+ debug: L.value
197
197
  });
198
198
  return;
199
199
  }
200
- t.categories.length === 0 ? D({
200
+ t.categories.length === 0 ? U({
201
201
  componentName: "VueUiRadar",
202
202
  type: "datasetAttributeEmpty",
203
203
  property: "categories",
204
- debug: F.value
205
- }) : t.categories.forEach((a, o) => {
204
+ debug: L.value
205
+ }) : t.categories.forEach((o, a) => {
206
206
  Ze({
207
- datasetObject: a,
207
+ datasetObject: o,
208
208
  requiredAttributes: ["name"]
209
209
  }).forEach((l) => {
210
- D({
210
+ U({
211
211
  componentName: "VueUiRadar",
212
212
  type: "datasetAttribute",
213
- property: `category.${l} at index ${o}`,
214
- index: o,
215
- debug: F.value
213
+ property: `category.${l} at index ${a}`,
214
+ index: a,
215
+ debug: L.value
216
216
  });
217
217
  });
218
- }), [null, void 0].includes(t?.series) ? D({
218
+ }), [null, void 0].includes(t?.series) ? U({
219
219
  componentName: "VueUiRadar",
220
220
  type: "datasetAttribute",
221
221
  property: "series ({ name: string; values: number[]; color?: string; target: number}[])",
222
- debug: F.value
223
- }) : t.series.forEach((a, o) => {
222
+ debug: L.value
223
+ }) : t.series.forEach((o, a) => {
224
224
  Ze({
225
- datasetObject: a,
225
+ datasetObject: o,
226
226
  requiredAttributes: ["name", "values", "target"]
227
227
  }).forEach((l) => {
228
- D({
228
+ U({
229
229
  componentName: "VueUiRadar",
230
230
  type: "datasetSerieAttribute",
231
231
  key: "series",
232
232
  property: l,
233
- index: o,
234
- debug: F.value
233
+ index: a,
234
+ debug: L.value
235
235
  });
236
236
  });
237
237
  });
238
238
  }
239
- de(
240
- () => O.value,
239
+ ve(
240
+ () => I.value,
241
241
  () => mt(),
242
242
  { deep: !0, immediate: !0 }
243
243
  );
244
- const w = v(() => {
245
- const t = Array.isArray(O.value?.categories) ? O.value.categories : [], a = Ne.value ?? V;
246
- return t.map((o, l) => ({
247
- name: o?.name ?? "",
244
+ const _ = v(() => {
245
+ const t = Array.isArray(I.value?.categories) ? I.value.categories : [], o = Ne.value ?? z;
246
+ return t.map((a, l) => ({
247
+ name: a?.name ?? "",
248
248
  categoryId: `radar_category_${b.value}_${l}`,
249
- color: Qe(o?.color) || a[l] || V[l % V.length],
250
- prefix: o?.prefix ?? "",
251
- suffix: o?.suffix ?? ""
249
+ color: Qe(a?.color) || o[l] || z[l % z.length],
250
+ prefix: a?.prefix ?? "",
251
+ suffix: a?.suffix ?? ""
252
252
  }));
253
- }), k = v(() => O.value.series.map((t, a) => ({
253
+ }), k = v(() => I.value.series.map((t, o) => ({
254
254
  ...t,
255
- color: Qe(t.color) || Ne.value[a] || V[a] || V[a % V.length],
256
- serieId: `radar_serie_${b.value}_${a}`,
255
+ color: Qe(t.color) || Ne.value[o] || z[o] || z[o % z.length],
256
+ serieId: `radar_serie_${b.value}_${o}`,
257
257
  formatter: t.formatter || null,
258
- absoluteIndex: a
258
+ absoluteIndex: o
259
259
  })));
260
260
  function Re(t) {
261
261
  if (!k.value.length)
262
262
  return e.value.debug && console.warn("VueUiRadar - There are no series to show."), null;
263
- const a = A.value.find((o) => o.name === t);
264
- return a || (e.value.debug && console.warn(`VueUiRadar - Series name not found "${t}"`), null);
263
+ const o = O.value.find((a) => a.name === t);
264
+ return o || (e.value.debug && console.warn(`VueUiRadar - Series name not found "${t}"`), null);
265
265
  }
266
266
  function bt(t) {
267
- const a = Re(t);
268
- a !== null && h.value.includes(a.absoluteIndex) && q(a.absoluteIndex);
267
+ const o = Re(t);
268
+ o !== null && f.value.includes(o.absoluteIndex) && q(o.absoluteIndex);
269
269
  }
270
270
  function kt(t) {
271
- const a = Re(t);
272
- a !== null && (h.value.includes(a.absoluteIndex) || q(a.absoluteIndex));
271
+ const o = Re(t);
272
+ o !== null && (f.value.includes(o.absoluteIndex) || q(o.absoluteIndex));
273
273
  }
274
- const Ve = v(() => Math.max(...k.value.flatMap((t) => t.values))), De = v(() => k.value.length), ne = v(() => Math.min(i.value.width, i.value.height) / 3), ze = v(() => Je({
274
+ const Ve = v(() => Math.max(...k.value.flatMap((t) => t.values))), De = v(() => k.value.length), se = v(() => Math.min(i.value.width, i.value.height) / 3), ze = v(() => Je({
275
275
  plot: { x: i.value.width / 2, y: i.value.height / 2 },
276
- radius: ne.value,
276
+ radius: se.value,
277
277
  sides: De.value,
278
278
  rotation: 0
279
- })), Ct = v(() => {
279
+ })), wt = v(() => {
280
280
  const t = [];
281
- for (let a = 0; a < ne.value; a += ne.value / e.value.style.chart.layout.grid.graduations)
282
- t.push(a);
281
+ for (let o = 0; o < se.value; o += se.value / e.value.style.chart.layout.grid.graduations)
282
+ t.push(o);
283
283
  return t;
284
- }), S = v(() => ze.value.coordinates.map((t, a) => {
285
- const o = k.value[a].values.map((l) => $t({
284
+ }), P = v(() => ze.value.coordinates.map((t, o) => {
285
+ const a = k.value[o].values.map((l) => $t({
286
286
  centerX: i.value.width / 2,
287
287
  centerY: i.value.height / 2,
288
288
  apexX: t.x,
289
289
  apexY: t.y,
290
- proportion: l / (k.value[a].target || Ve.value)
290
+ proportion: l / (k.value[o].target || Ve.value)
291
291
  }));
292
292
  return {
293
293
  ...t,
294
- ...k.value[a],
295
- plots: o
294
+ ...k.value[o],
295
+ plots: a
296
296
  };
297
297
  }).map((t) => ({
298
298
  ...t,
@@ -300,39 +300,39 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
300
300
  labelY: re(t).y,
301
301
  labelAnchor: re(t).anchor
302
302
  })));
303
- function re({ x: t, y: a }) {
304
- let o = "middle";
305
- return t = Math.round(t), a = Math.round(a), t > i.value.width / 2 && (t += 12, o = "start"), t < i.value.width / 2 && (t -= 12, o = "end"), a > i.value.height / 2 + 1 && (a += 20), a < i.value.height / 2 - 1 && (a -= 12), a === i.value.height / 2 && (a += 4), { x: t, y: a, anchor: o };
303
+ function re({ x: t, y: o }) {
304
+ let a = "middle";
305
+ return t = Math.round(t), o = Math.round(o), t > i.value.width / 2 && (t += 12, a = "start"), t < i.value.width / 2 && (t -= 12, a = "end"), o > i.value.height / 2 + 1 && (o += 20), o < i.value.height / 2 - 1 && (o -= 12), o === i.value.height / 2 && (o += 4), { x: t, y: o, anchor: a };
306
306
  }
307
- const wt = v({
307
+ const Ct = v({
308
308
  get: () => e.value.style.chart.layout.labels.dataLabels.fontSize,
309
309
  set: (t) => t
310
310
  }), { autoSizeLabels: Ue } = ua({
311
311
  svgRef: j,
312
312
  fontSize: e.value.style.chart.layout.labels.dataLabels.fontSize,
313
313
  minFontSize: 6,
314
- sizeRef: wt,
314
+ sizeRef: Ct,
315
315
  labelClass: ".vue-ui-radar-apex-label"
316
316
  });
317
- function $t({ centerX: t, centerY: a, apexX: o, apexY: l, proportion: s }) {
317
+ function $t({ centerX: t, centerY: o, apexX: a, apexY: l, proportion: n }) {
318
318
  return {
319
- x: t + (o - t) * s,
320
- y: a + (l - a) * s
319
+ x: t + (a - t) * n,
320
+ y: o + (l - o) * n
321
321
  };
322
322
  }
323
- const A = v(() => {
324
- const t = k.value.map((a, o) => a.values.map((l) => l / (a.target || Ve.value)));
325
- return w.value.map((a, o) => {
326
- const l = Ht(t.map((s) => s[o]).reduce((s, d) => s + d, 0) / k.value.length);
323
+ const O = v(() => {
324
+ const t = k.value.map((o, a) => o.values.map((l) => l / (o.target || Ve.value)));
325
+ return _.value.map((o, a) => {
326
+ const l = Ht(t.map((n) => n[a]).reduce((n, h) => n + h, 0) / k.value.length);
327
327
  return {
328
- ...a,
329
- absoluteIndex: o,
328
+ ...o,
329
+ absoluteIndex: a,
330
330
  totalProportion: l,
331
331
  shape: "circle",
332
- opacity: h.value.includes(o) ? 0.5 : 1,
333
- segregate: () => q(o),
334
- isSegregated: h.value.includes(o),
335
- display: `${a.name}: ${G({
332
+ opacity: f.value.includes(a) ? 0.5 : 1,
333
+ segregate: () => q(a),
334
+ isSegregated: f.value.includes(a),
335
+ display: `${o.name}: ${G({
336
336
  v: (l ?? 0) * 100,
337
337
  s: "%",
338
338
  r: e.value.style.chart.legend.roundingPercentage
@@ -350,8 +350,8 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
350
350
  const t = [
351
351
  { name: e.value.translations.datapoint, color: "" },
352
352
  { name: e.value.translations.target, color: "" },
353
- ...A.value
354
- ], a = O.value.series.map((l) => [
353
+ ...O.value
354
+ ], o = I.value.series.map((l) => [
355
355
  l.name,
356
356
  he(
357
357
  l.formatter,
@@ -363,16 +363,16 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
363
363
  r: e.value.table.td.roundingValue
364
364
  })
365
365
  ),
366
- ...l.values.map((s, d) => `${he(
366
+ ...l.values.map((n, h) => `${he(
367
367
  l.formatter,
368
- s,
369
- G({ p: w.value[d]?.prefix ?? "", v: s, s: w.value[d]?.suffix ?? "", r: e.value.table.td.roundingValue })
370
- )} (${isNaN(s / l.target) ? "" : G({
371
- v: s / l.target * 100,
368
+ n,
369
+ G({ p: _.value[h]?.prefix ?? "", v: n, s: _.value[h]?.suffix ?? "", r: e.value.table.td.roundingValue })
370
+ )} (${isNaN(n / l.target) ? "" : G({
371
+ v: n / l.target * 100,
372
372
  s: "%",
373
373
  r: e.value.table.td.roundingPercentage
374
374
  })})`)
375
- ]), o = {
375
+ ]), a = {
376
376
  th: {
377
377
  backgroundColor: e.value.table.th.backgroundColor,
378
378
  color: e.value.table.th.color,
@@ -385,52 +385,52 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
385
385
  },
386
386
  breakpoint: e.value.table.responsiveBreakpoint
387
387
  };
388
- return { head: t, body: a, config: o, colNames: t };
388
+ return { head: t, body: o, config: a, colNames: t };
389
389
  }), J = c(null), ue = c([]), ie = c(null);
390
- function Tt(t, a) {
391
- te.value = !1, J.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a });
390
+ function Tt(t, o) {
391
+ te.value = !1, J.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o });
392
392
  }
393
- function St(t, a) {
394
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
393
+ function St(t, o) {
394
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: o });
395
395
  }
396
- function At(t, a) {
397
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a });
398
- const o = w.value.slice();
399
- ue.value = [], J.value = a, te.value = !0, ie.value = {
396
+ function At(t, o) {
397
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o });
398
+ const a = _.value.slice();
399
+ ue.value = [], J.value = o, te.value = !0, ie.value = {
400
400
  datapoint: t,
401
- seriesIndex: a,
401
+ seriesIndex: o,
402
402
  series: {
403
- categories: o,
403
+ categories: a,
404
404
  datapoints: k.value,
405
- radar: S.value
405
+ radar: P.value
406
406
  },
407
407
  config: e.value
408
408
  };
409
409
  const l = e.value.style.chart.tooltip.customFormat;
410
410
  if (Kt(l) && Zt(() => l({
411
- seriesIndex: a,
411
+ seriesIndex: o,
412
412
  datapoint: t,
413
- series: { categories: o, datapoints: k.value, radar: S.value },
413
+ series: { categories: a, datapoints: k.value, radar: P.value },
414
414
  config: e.value
415
415
  }))) {
416
416
  ae.value = l({
417
- seriesIndex: a,
417
+ seriesIndex: o,
418
418
  datapoint: t,
419
- series: { categories: o, datapoints: k.value, radar: S.value },
419
+ series: { categories: a, datapoints: k.value, radar: P.value },
420
420
  config: e.value
421
421
  });
422
422
  return;
423
423
  }
424
424
  ae.value = `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`;
425
- for (let s = 0; s < t.values.length; s += 1)
426
- if (!h.value.includes(s)) {
427
- const d = o[s], m = t.values[s], Xe = isNaN(m / t.target) ? 0 : m / t.target * 100, B = he(
425
+ for (let n = 0; n < t.values.length; n += 1)
426
+ if (!f.value.includes(n)) {
427
+ const h = a[n], m = t.values[n], Xe = isNaN(m / t.target) ? 0 : m / t.target * 100, M = he(
428
428
  t.formatter,
429
429
  m,
430
430
  G({
431
- p: w.value[s].prefix,
431
+ p: _.value[n].prefix,
432
432
  v: m,
433
- s: w.value[s].suffix,
433
+ s: _.value[n].suffix,
434
434
  r: e.value.style.chart.tooltip.roundingValue
435
435
  }),
436
436
  { datapoint: t }
@@ -438,11 +438,11 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
438
438
  v: Xe,
439
439
  s: "%",
440
440
  r: e.value.style.chart.tooltip.roundingPercentage
441
- }), Rt = e.value.style.chart.tooltip.showValue && e.value.style.chart.tooltip.showPercentage ? `${B} (${Ye})` : e.value.style.chart.tooltip.showValue && !e.value.style.chart.tooltip.showPercentage ? B : !e.value.style.chart.tooltip.showValue && e.value.style.chart.tooltip.showPercentage ? `${Ye}` : "";
441
+ }), Rt = e.value.style.chart.tooltip.showValue && e.value.style.chart.tooltip.showPercentage ? `${M} (${Ye})` : e.value.style.chart.tooltip.showValue && !e.value.style.chart.tooltip.showPercentage ? M : !e.value.style.chart.tooltip.showValue && e.value.style.chart.tooltip.showPercentage ? `${Ye}` : "";
442
442
  ue.value.push({
443
- name: d?.name ?? `#${s + 1}`,
444
- value: t.values[s] / t.target * 100,
445
- color: d?.color,
443
+ name: h?.name ?? `#${n + 1}`,
444
+ value: t.values[n] / t.target * 100,
445
+ color: h?.color,
446
446
  suffix: Rt,
447
447
  prefix: "",
448
448
  rounding: e.value.style.chart.tooltip.roundingPercentage,
@@ -452,16 +452,16 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
452
452
  }
453
453
  function ce(t = null) {
454
454
  qe(() => {
455
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = [[""], [e.value.translations.target], ...A.value.flatMap((m) => [[m.name], ["%"]])], l = O.value.series.map((m, Xe) => [m.name, m.target, ...m.values.flatMap((B) => [
456
- B,
457
- isNaN(B / m.target) ? "" : B / m.target * 100
458
- ])]), s = a.concat([o]).concat(l), d = Qt(s);
459
- t ? t(d) : Jt({ csvContent: d, title: e.value.style.chart.title.text || "vue-ui-radar" });
455
+ const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = [[""], [e.value.translations.target], ...O.value.flatMap((m) => [[m.name], ["%"]])], l = I.value.series.map((m, Xe) => [m.name, m.target, ...m.values.flatMap((M) => [
456
+ M,
457
+ isNaN(M / m.target) ? "" : M / m.target * 100
458
+ ])]), n = o.concat([a]).concat(l), h = Qt(n);
459
+ t ? t(h) : Jt({ csvContent: h, title: e.value.style.chart.title.text || "vue-ui-radar" });
460
460
  });
461
461
  }
462
- const I = c(!1);
462
+ const N = c(!1);
463
463
  function Be(t) {
464
- I.value = t, ye.value += 1;
464
+ N.value = t, ye.value += 1;
465
465
  }
466
466
  function Ee() {
467
467
  y.value.showTable = !y.value.showTable;
@@ -470,38 +470,38 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
470
470
  y.value.showTooltip = !y.value.showTooltip;
471
471
  }
472
472
  const K = c(!1);
473
- function ve() {
473
+ function de() {
474
474
  K.value = !K.value;
475
475
  }
476
476
  async function Pt({ scale: t = 2 } = {}) {
477
- if (!$.value) return;
478
- const { width: a, height: o } = $.value.getBoundingClientRect(), l = a / o, { imageUri: s, base64: d } = await ia({ domElement: $.value, base64: !0, img: !0, scale: t });
477
+ if (!T.value) return;
478
+ const { width: o, height: a } = T.value.getBoundingClientRect(), l = o / a, { imageUri: n, base64: h } = await ia({ domElement: T.value, base64: !0, img: !0, scale: t });
479
479
  return {
480
- imageUri: s,
481
- base64: d,
480
+ imageUri: n,
481
+ base64: h,
482
482
  title: e.value.style.chart.title.text,
483
- width: a,
484
- height: o,
483
+ width: o,
484
+ height: a,
485
485
  aspectRatio: l
486
486
  };
487
487
  }
488
488
  const Y = v(() => {
489
- const t = e.value.table.useDialog && !e.value.table.show, a = y.value.showTable;
489
+ const t = e.value.table.useDialog && !e.value.table.show, o = y.value.showTable;
490
490
  return {
491
- component: t ? dt : rt,
491
+ component: t ? vt : rt,
492
492
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
493
493
  props: t ? {
494
494
  backgroundColor: e.value.table.th.backgroundColor,
495
495
  color: e.value.table.th.color,
496
496
  headerColor: e.value.table.th.color,
497
497
  headerBg: e.value.table.th.backgroundColor,
498
- isFullscreen: I.value,
499
- fullscreenParent: $.value,
498
+ isFullscreen: N.value,
499
+ fullscreenParent: T.value,
500
500
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
501
501
  } : {
502
502
  hideDetails: !0,
503
503
  config: {
504
- open: a,
504
+ open: o,
505
505
  maxHeight: 1e4,
506
506
  body: {
507
507
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -515,26 +515,26 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
515
515
  }
516
516
  };
517
517
  });
518
- de(() => y.value.showTable, (t) => {
518
+ ve(() => y.value.showTable, (t) => {
519
519
  e.value.table.show || (t && e.value.table.useDialog && W.value ? W.value.open() : "close" in W.value && W.value.close());
520
520
  });
521
521
  function Ge() {
522
522
  y.value.showTable = !1, oe.value && oe.value.setTableIconState(!1);
523
523
  }
524
- const xt = v(() => A.value.map((t) => ({
524
+ const Ot = v(() => O.value.map((t) => ({
525
525
  ...t,
526
526
  name: t.display
527
- }))), Ot = v(() => e.value.style.chart.backgroundColor), Ft = v(() => e.value.style.chart.legend), It = v(() => e.value.style.chart.title), { exportSvg: Lt, getSvg: Nt } = pa({
527
+ }))), xt = v(() => e.value.style.chart.backgroundColor), Ft = v(() => e.value.style.chart.legend), It = v(() => e.value.style.chart.title), { exportSvg: Lt, getSvg: Nt } = pa({
528
528
  svg: j,
529
529
  title: It,
530
530
  legend: Ft,
531
- legendItems: xt,
532
- backgroundColor: Ot
531
+ legendItems: Ot,
532
+ backgroundColor: xt
533
533
  });
534
534
  async function We({ isCb: t }) {
535
535
  if (t) {
536
- const { blob: a, url: o, text: l, dataUrl: s } = await Nt();
537
- e.value.userOptions.callbacks.svg({ blob: a, url: o, text: l, dataUrl: s });
536
+ const { blob: o, url: a, text: l, dataUrl: n } = await Nt();
537
+ e.value.userOptions.callbacks.svg({ blob: o, url: a, text: l, dataUrl: n });
538
538
  } else
539
539
  Lt();
540
540
  }
@@ -549,40 +549,60 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
549
549
  showSeries: bt,
550
550
  toggleTable: Ee,
551
551
  toggleTooltip: Me,
552
- toggleAnnotator: ve,
552
+ toggleAnnotator: de,
553
553
  toggleFullscreen: Be
554
- }), (t, a) => (n(), r("div", {
555
- class: H(`vue-data-ui-component vue-ui-radar ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
554
+ }), (t, o) => (s(), r("div", {
555
+ class: H(`vue-data-ui-component vue-ui-radar ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
556
556
  ref_key: "radarChart",
557
- ref: $,
557
+ ref: T,
558
558
  id: `vue-ui-radar_${b.value}`,
559
559
  style: Z(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
560
- onMouseenter: a[2] || (a[2] = () => u(Ae)(!0)),
561
- onMouseleave: a[3] || (a[3] = () => u(Ae)(!1))
560
+ onMouseenter: o[2] || (o[2] = () => u(Ae)(!0)),
561
+ onMouseleave: o[3] || (o[3] = () => u(Ae)(!1))
562
562
  }, [
563
- e.value.userOptions.buttons.annotator ? (n(), P(u(it), {
563
+ e.value.userOptions.buttons.annotator ? (s(), x(u(it), {
564
564
  key: 0,
565
565
  svgRef: u(j),
566
566
  backgroundColor: e.value.style.chart.backgroundColor,
567
567
  color: e.value.style.chart.color,
568
568
  active: K.value,
569
- onClose: ve
570
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : p("", !0),
571
- ht.value ? (n(), r("div", {
569
+ onClose: de
570
+ }, {
571
+ "annotator-action-close": d(() => [
572
+ p(t.$slots, "annotator-action-close", {}, void 0, !0)
573
+ ]),
574
+ "annotator-action-color": d(({ color: a }) => [
575
+ p(t.$slots, "annotator-action-color", C($({ color: a })), void 0, !0)
576
+ ]),
577
+ "annotator-action-draw": d(({ mode: a }) => [
578
+ p(t.$slots, "annotator-action-draw", C($({ mode: a })), void 0, !0)
579
+ ]),
580
+ "annotator-action-undo": d(({ disabled: a }) => [
581
+ p(t.$slots, "annotator-action-undo", C($({ disabled: a })), void 0, !0)
582
+ ]),
583
+ "annotator-action-redo": d(({ disabled: a }) => [
584
+ p(t.$slots, "annotator-action-redo", C($({ disabled: a })), void 0, !0)
585
+ ]),
586
+ "annotator-action-delete": d(({ disabled: a }) => [
587
+ p(t.$slots, "annotator-action-delete", C($({ disabled: a })), void 0, !0)
588
+ ]),
589
+ _: 3
590
+ }, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
591
+ ht.value ? (s(), r("div", {
572
592
  key: 1,
573
593
  ref_key: "noTitle",
574
- ref: Ce,
594
+ ref: we,
575
595
  class: "vue-data-ui-no-title-space",
576
596
  style: "height:36px; width: 100%;background:transparent"
577
- }, null, 512)) : p("", !0),
578
- e.value.style.chart.title.text ? (n(), r("div", {
597
+ }, null, 512)) : g("", !0),
598
+ e.value.style.chart.title.text ? (s(), r("div", {
579
599
  key: 2,
580
600
  ref_key: "chartTitle",
581
601
  ref: me,
582
602
  style: "width:100%;background:transparent;padding-bottom:12px"
583
603
  }, [
584
- (n(), P(ca, {
585
- key: `title_${we.value}`,
604
+ (s(), x(ca, {
605
+ key: `title_${Ce.value}`,
586
606
  config: {
587
607
  title: {
588
608
  cy: "radar-div-title",
@@ -594,18 +614,18 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
594
614
  }
595
615
  }
596
616
  }, null, 8, ["config"]))
597
- ], 512)) : p("", !0),
598
- C("div", {
617
+ ], 512)) : g("", !0),
618
+ w("div", {
599
619
  id: `legend-top-${b.value}`
600
620
  }, null, 8, fa),
601
- e.value.userOptions.show && fe.value && (u(Pe) || u(le)) ? (n(), P(u(ct), {
621
+ e.value.userOptions.show && fe.value && (u(Pe) || u(le)) ? (s(), x(u(ct), {
602
622
  ref_key: "userOptionsRef",
603
623
  ref: oe,
604
624
  key: `user_options_${ye.value}`,
605
625
  backgroundColor: e.value.style.chart.backgroundColor,
606
626
  color: e.value.style.chart.color,
607
627
  isImaging: u(Fe),
608
- isPrinting: u(Oe),
628
+ isPrinting: u(xe),
609
629
  uid: b.value,
610
630
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
611
631
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -614,10 +634,10 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
614
634
  hasXls: e.value.userOptions.buttons.csv,
615
635
  hasTable: e.value.userOptions.buttons.table,
616
636
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
617
- isFullscreen: I.value,
637
+ isFullscreen: N.value,
618
638
  isTooltip: y.value.showTooltip,
619
639
  titles: { ...e.value.userOptions.buttonTitles },
620
- chartElement: $.value,
640
+ chartElement: T.value,
621
641
  position: e.value.userOptions.position,
622
642
  hasAnnotator: e.value.userOptions.buttons.annotator,
623
643
  isAnnotation: K.value,
@@ -631,85 +651,85 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
631
651
  onGenerateSvg: We,
632
652
  onToggleTable: Ee,
633
653
  onToggleTooltip: Me,
634
- onToggleAnnotator: ve,
654
+ onToggleAnnotator: de,
635
655
  style: Z({
636
656
  visibility: u(Pe) ? u(le) ? "visible" : "hidden" : "visible"
637
657
  })
638
658
  }, je({ _: 2 }, [
639
659
  t.$slots.menuIcon ? {
640
660
  name: "menuIcon",
641
- fn: g(({ isOpen: o, color: l }) => [
642
- f(t.$slots, "menuIcon", E(M({ isOpen: o, color: l })), void 0, !0)
661
+ fn: d(({ isOpen: a, color: l }) => [
662
+ p(t.$slots, "menuIcon", C($({ isOpen: a, color: l })), void 0, !0)
643
663
  ]),
644
664
  key: "0"
645
665
  } : void 0,
646
666
  t.$slots.optionTooltip ? {
647
667
  name: "optionTooltip",
648
- fn: g(() => [
649
- f(t.$slots, "optionTooltip", {}, void 0, !0)
668
+ fn: d(() => [
669
+ p(t.$slots, "optionTooltip", {}, void 0, !0)
650
670
  ]),
651
671
  key: "1"
652
672
  } : void 0,
653
673
  t.$slots.optionPdf ? {
654
674
  name: "optionPdf",
655
- fn: g(() => [
656
- f(t.$slots, "optionPdf", {}, void 0, !0)
675
+ fn: d(() => [
676
+ p(t.$slots, "optionPdf", {}, void 0, !0)
657
677
  ]),
658
678
  key: "2"
659
679
  } : void 0,
660
680
  t.$slots.optionCsv ? {
661
681
  name: "optionCsv",
662
- fn: g(() => [
663
- f(t.$slots, "optionCsv", {}, void 0, !0)
682
+ fn: d(() => [
683
+ p(t.$slots, "optionCsv", {}, void 0, !0)
664
684
  ]),
665
685
  key: "3"
666
686
  } : void 0,
667
687
  t.$slots.optionImg ? {
668
688
  name: "optionImg",
669
- fn: g(() => [
670
- f(t.$slots, "optionImg", {}, void 0, !0)
689
+ fn: d(() => [
690
+ p(t.$slots, "optionImg", {}, void 0, !0)
671
691
  ]),
672
692
  key: "4"
673
693
  } : void 0,
674
694
  t.$slots.optionSvg ? {
675
695
  name: "optionSvg",
676
- fn: g(() => [
677
- f(t.$slots, "optionSvg", {}, void 0, !0)
696
+ fn: d(() => [
697
+ p(t.$slots, "optionSvg", {}, void 0, !0)
678
698
  ]),
679
699
  key: "5"
680
700
  } : void 0,
681
701
  t.$slots.optionTable ? {
682
702
  name: "optionTable",
683
- fn: g(() => [
684
- f(t.$slots, "optionTable", {}, void 0, !0)
703
+ fn: d(() => [
704
+ p(t.$slots, "optionTable", {}, void 0, !0)
685
705
  ]),
686
706
  key: "6"
687
707
  } : void 0,
688
708
  t.$slots.optionFullscreen ? {
689
709
  name: "optionFullscreen",
690
- fn: g(({ toggleFullscreen: o, isFullscreen: l }) => [
691
- f(t.$slots, "optionFullscreen", E(M({ toggleFullscreen: o, isFullscreen: l })), void 0, !0)
710
+ fn: d(({ toggleFullscreen: a, isFullscreen: l }) => [
711
+ p(t.$slots, "optionFullscreen", C($({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
692
712
  ]),
693
713
  key: "7"
694
714
  } : void 0,
695
715
  t.$slots.optionAnnotator ? {
696
716
  name: "optionAnnotator",
697
- fn: g(({ toggleAnnotator: o, isAnnotator: l }) => [
698
- f(t.$slots, "optionAnnotator", E(M({ toggleAnnotator: o, isAnnotator: l })), void 0, !0)
717
+ fn: d(({ toggleAnnotator: a, isAnnotator: l }) => [
718
+ p(t.$slots, "optionAnnotator", C($({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
699
719
  ]),
700
720
  key: "8"
701
721
  } : void 0
702
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : p("", !0),
703
- (n(), r("svg", {
722
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
723
+ (s(), r("svg", {
704
724
  ref_key: "svgRef",
705
725
  ref: j,
706
726
  xmlns: u(jt),
707
- class: H({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
727
+ class: H({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
708
728
  viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
709
729
  style: Z(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
710
730
  }, [
711
- ee(u(vt)),
712
- t.$slots["chart-background"] ? (n(), r("foreignObject", {
731
+ ee(u(dt)),
732
+ t.$slots["chart-background"] ? (s(), r("foreignObject", {
713
733
  key: 0,
714
734
  x: 0,
715
735
  y: 0,
@@ -719,10 +739,10 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
719
739
  pointerEvents: "none"
720
740
  }
721
741
  }, [
722
- f(t.$slots, "chart-background", {}, void 0, !0)
723
- ], 8, ma)) : p("", !0),
724
- C("defs", null, [
725
- (n(!0), r(L, null, N(w.value, (o, l) => (n(), r("radialGradient", {
742
+ p(t.$slots, "chart-background", {}, void 0, !0)
743
+ ], 8, ma)) : g("", !0),
744
+ w("defs", null, [
745
+ (s(!0), r(R, null, V(_.value, (a, l) => (s(), r("radialGradient", {
726
746
  cx: "50%",
727
747
  cy: "50%",
728
748
  r: "50%",
@@ -730,30 +750,30 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
730
750
  fy: "50%",
731
751
  id: `radar_gradient_${b.value}_${l}`
732
752
  }, [
733
- C("stop", {
753
+ w("stop", {
734
754
  offset: "0%",
735
- "stop-color": u(ge)(u(qt)(o.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
755
+ "stop-color": u(ge)(u(qt)(a.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
736
756
  }, null, 8, ka),
737
- C("stop", {
757
+ w("stop", {
738
758
  offset: "100%",
739
- "stop-color": u(ge)(o.color, e.value.style.chart.layout.dataPolygon.opacity)
740
- }, null, 8, Ca)
759
+ "stop-color": u(ge)(a.color, e.value.style.chart.layout.dataPolygon.opacity)
760
+ }, null, 8, wa)
741
761
  ], 8, ba))), 256))
742
762
  ]),
743
- e.value.style.chart.layout.grid.show ? (n(), r("g", wa, [
744
- (n(!0), r(L, null, N(S.value, (o) => (n(), r("line", {
763
+ e.value.style.chart.layout.grid.show ? (s(), r("g", Ca, [
764
+ (s(!0), r(R, null, V(P.value, (a) => (s(), r("line", {
745
765
  x1: i.value.width / 2,
746
766
  y1: i.value.height / 2,
747
- x2: o.x,
748
- y2: o.y,
767
+ x2: a.x,
768
+ y2: a.y,
749
769
  stroke: e.value.style.chart.layout.grid.stroke,
750
770
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
751
771
  }, null, 8, $a))), 256)),
752
- e.value.style.chart.layout.grid.graduations > 0 ? (n(), r("g", _a, [
753
- (n(!0), r(L, null, N(Ct.value, (o) => (n(), r("path", {
772
+ e.value.style.chart.layout.grid.graduations > 0 ? (s(), r("g", _a, [
773
+ (s(!0), r(R, null, V(wt.value, (a) => (s(), r("path", {
754
774
  d: u(Je)({
755
775
  plot: { x: i.value.width / 2, y: i.value.height / 2 },
756
- radius: o,
776
+ radius: a,
757
777
  sides: De.value,
758
778
  rotation: 0
759
779
  }).path,
@@ -761,9 +781,9 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
761
781
  stroke: e.value.style.chart.layout.grid.stroke,
762
782
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
763
783
  }, null, 8, Ta))), 256))
764
- ])) : p("", !0)
765
- ])) : p("", !0),
766
- C("path", {
784
+ ])) : g("", !0)
785
+ ])) : g("", !0),
786
+ w("path", {
767
787
  d: ze.value.path,
768
788
  fill: "none",
769
789
  stroke: e.value.style.chart.layout.outerPolygon.stroke,
@@ -771,96 +791,96 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
771
791
  "stroke-linejoin": "round",
772
792
  "stroke-linecap": "round"
773
793
  }, null, 8, Sa),
774
- e.value.style.chart.layout.labels.dataLabels.show ? (n(), r("g", Aa, [
775
- (n(!0), r(L, null, N(S.value, (o, l) => (n(), r("text", {
794
+ e.value.style.chart.layout.labels.dataLabels.show ? (s(), r("g", Aa, [
795
+ (s(!0), r(R, null, V(P.value, (a, l) => (s(), r("text", {
776
796
  class: "vue-ui-radar-apex-label",
777
- x: o.labelX,
778
- y: o.labelY,
779
- "text-anchor": o.labelAnchor,
797
+ x: a.labelX,
798
+ y: a.labelY,
799
+ "text-anchor": a.labelAnchor,
780
800
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
781
801
  fill: e.value.style.chart.layout.labels.dataLabels.color,
782
- onMouseenter: (s) => At(o, l),
783
- onMouseleave: (s) => Tt(o, l),
784
- onClick: (s) => St(o, l)
785
- }, R(o.name), 41, Pa))), 256))
786
- ])) : p("", !0),
787
- (n(!0), r(L, null, N(w.value, (o, l) => (n(), r("g", null, [
788
- C("g", null, [
789
- e.value.useCssAnimation || !e.value.useCssAnimation && !h.value.includes(l) ? (n(), r("polygon", {
802
+ onMouseenter: (n) => At(a, l),
803
+ onMouseleave: (n) => Tt(a, l),
804
+ onClick: (n) => St(a, l)
805
+ }, D(a.name), 41, Pa))), 256))
806
+ ])) : g("", !0),
807
+ (s(!0), r(R, null, V(_.value, (a, l) => (s(), r("g", null, [
808
+ w("g", null, [
809
+ e.value.useCssAnimation || !e.value.useCssAnimation && !f.value.includes(l) ? (s(), r("polygon", {
790
810
  key: 0,
791
- points: u(Ke)(S.value.map((s) => s.plots[l]), !1, !0),
811
+ points: u(Ke)(P.value.map((n) => n.plots[l]), !1, !0),
792
812
  stroke: e.value.style.chart.backgroundColor,
793
813
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth + 1,
794
814
  fill: "none",
795
- class: H({ "animated-out": h.value.includes(l) && e.value.useCssAnimation, "animated-in": U.value && X.value === l && e.value.useCssAnimation })
796
- }, null, 10, xa)) : p("", !0),
797
- e.value.useCssAnimation || !e.value.useCssAnimation && !h.value.includes(l) ? (n(), r("polygon", {
815
+ class: H({ "animated-out": f.value.includes(l) && e.value.useCssAnimation, "animated-in": E.value && X.value === l && e.value.useCssAnimation })
816
+ }, null, 10, Oa)) : g("", !0),
817
+ e.value.useCssAnimation || !e.value.useCssAnimation && !f.value.includes(l) ? (s(), r("polygon", {
798
818
  key: 1,
799
- points: u(Ke)(S.value.map((s) => s.plots[l]), !1, !0),
800
- stroke: o.color,
819
+ points: u(Ke)(P.value.map((n) => n.plots[l]), !1, !0),
820
+ stroke: a.color,
801
821
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
802
- fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${b.value}_${l})` : u(ge)(o.color, e.value.style.chart.layout.dataPolygon.opacity),
803
- class: H({ "animated-out": h.value.includes(l) && e.value.useCssAnimation, "animated-in": U.value && X.value === l && e.value.useCssAnimation })
804
- }, null, 10, Oa)) : p("", !0)
822
+ fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${b.value}_${l})` : u(ge)(a.color, e.value.style.chart.layout.dataPolygon.opacity),
823
+ class: H({ "animated-out": f.value.includes(l) && e.value.useCssAnimation, "animated-in": E.value && X.value === l && e.value.useCssAnimation })
824
+ }, null, 10, xa)) : g("", !0)
805
825
  ])
806
826
  ]))), 256)),
807
- e.value.style.chart.layout.plots.show ? (n(), r("g", Fa, [
808
- (n(!0), r(L, null, N(S.value, (o, l) => (n(), r("g", null, [
809
- (n(!0), r(L, null, N(o.plots, (s, d) => (n(), r("circle", {
810
- cx: s.x,
811
- cy: s.y,
812
- fill: h.value.includes(d) ? "transparent" : w.value[d] ? w.value[d].color : "transparent",
827
+ e.value.style.chart.layout.plots.show ? (s(), r("g", Fa, [
828
+ (s(!0), r(R, null, V(P.value, (a, l) => (s(), r("g", null, [
829
+ (s(!0), r(R, null, V(a.plots, (n, h) => (s(), r("circle", {
830
+ cx: n.x,
831
+ cy: n.y,
832
+ fill: f.value.includes(h) ? "transparent" : _.value[h] ? _.value[h].color : "transparent",
813
833
  r: J.value !== null && J.value === l ? e.value.style.chart.layout.plots.radius * 1.6 : e.value.style.chart.layout.plots.radius,
814
- stroke: h.value.includes(d) ? "transparent" : e.value.style.chart.backgroundColor,
834
+ stroke: f.value.includes(h) ? "transparent" : e.value.style.chart.backgroundColor,
815
835
  "stroke-width": 0.5,
816
- class: H({ "animated-out": h.value.includes(d) && e.value.useCssAnimation, "animated-in": U.value && X.value === d && e.value.useCssAnimation })
836
+ class: H({ "animated-out": f.value.includes(h) && e.value.useCssAnimation, "animated-in": E.value && X.value === h && e.value.useCssAnimation })
817
837
  }, null, 10, Ia))), 256))
818
838
  ]))), 256))
819
- ])) : p("", !0),
820
- f(t.$slots, "svg", { svg: i.value }, void 0, !0)
839
+ ])) : g("", !0),
840
+ p(t.$slots, "svg", { svg: i.value }, void 0, !0)
821
841
  ], 14, ya)),
822
- t.$slots.watermark ? (n(), r("div", La, [
823
- f(t.$slots, "watermark", E(M({ isPrinting: u(Oe) || u(Fe) })), void 0, !0)
824
- ])) : p("", !0),
825
- C("div", {
842
+ t.$slots.watermark ? (s(), r("div", La, [
843
+ p(t.$slots, "watermark", C($({ isPrinting: u(xe) || u(Fe) })), void 0, !0)
844
+ ])) : g("", !0),
845
+ w("div", {
826
846
  id: `legend-bottom-${b.value}`
827
847
  }, null, 8, Na),
828
- Te.value ? (n(), P(Ut, {
848
+ Te.value ? (s(), x(Ut, {
829
849
  key: 5,
830
850
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${b.value}` : `#legend-bottom-${b.value}`
831
851
  }, [
832
- C("div", {
852
+ w("div", {
833
853
  ref_key: "chartLegend",
834
854
  ref: be
835
855
  }, [
836
- e.value.style.chart.legend.show ? (n(), P(va, {
856
+ e.value.style.chart.legend.show ? (s(), x(da, {
837
857
  key: `legend_${_e.value}`,
838
- legendSet: A.value,
858
+ legendSet: O.value,
839
859
  config: _t.value,
840
- onClickMarker: a[0] || (a[0] = ({ i: o }) => q(o))
860
+ onClickMarker: o[0] || (o[0] = ({ i: a }) => q(a))
841
861
  }, {
842
- item: g(({ legend: o, index: l }) => [
843
- u(Se) ? p("", !0) : (n(), r("div", {
862
+ item: d(({ legend: a, index: l }) => [
863
+ u(Se) ? g("", !0) : (s(), r("div", {
844
864
  key: 0,
845
- onClick: (s) => o.segregate(),
846
- style: Z(`opacity:${h.value.includes(l) ? 0.5 : 1}`)
847
- }, R(o.display), 13, Ra))
865
+ onClick: (n) => a.segregate(),
866
+ style: Z(`opacity:${f.value.includes(l) ? 0.5 : 1}`)
867
+ }, D(a.display), 13, Ra))
848
868
  ]),
849
869
  _: 1
850
- }, 8, ["legendSet", "config"])) : f(t.$slots, "legend", {
870
+ }, 8, ["legendSet", "config"])) : p(t.$slots, "legend", {
851
871
  key: 1,
852
- legend: A.value
872
+ legend: O.value
853
873
  }, void 0, !0)
854
874
  ], 512)
855
- ], 8, ["to"])) : p("", !0),
856
- t.$slots.source ? (n(), r("div", {
875
+ ], 8, ["to"])) : g("", !0),
876
+ t.$slots.source ? (s(), r("div", {
857
877
  key: 6,
858
878
  ref_key: "source",
859
879
  ref: ke,
860
880
  dir: "auto"
861
881
  }, [
862
- f(t.$slots, "source", {}, void 0, !0)
863
- ], 512)) : p("", !0),
882
+ p(t.$slots, "source", {}, void 0, !0)
883
+ ], 512)) : g("", !0),
864
884
  ee(u(lt), {
865
885
  show: y.value.showTooltip && te.value,
866
886
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
@@ -872,45 +892,45 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
872
892
  fontSize: e.value.style.chart.tooltip.fontSize,
873
893
  position: e.value.style.chart.tooltip.position,
874
894
  offsetY: e.value.style.chart.tooltip.offsetY,
875
- parent: $.value,
895
+ parent: T.value,
876
896
  content: ae.value,
877
- isFullscreen: I.value,
897
+ isFullscreen: N.value,
878
898
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
879
899
  smooth: e.value.style.chart.tooltip.smooth,
880
900
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
881
901
  smoothForce: e.value.style.chart.tooltip.smoothForce,
882
902
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
883
903
  }, {
884
- "tooltip-before": g(() => [
885
- f(t.$slots, "tooltip-before", E(M({ ...ie.value })), void 0, !0)
904
+ "tooltip-before": d(() => [
905
+ p(t.$slots, "tooltip-before", C($({ ...ie.value })), void 0, !0)
886
906
  ]),
887
- "tooltip-after": g(() => [
888
- ["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? p("", !0) : (n(), r("div", Va, [
889
- ee(u(nt), {
907
+ "tooltip-after": d(() => [
908
+ ["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? g("", !0) : (s(), r("div", Va, [
909
+ ee(u(st), {
890
910
  dataset: ue.value,
891
911
  config: gt.value,
892
912
  backgroundOpacity: 0
893
913
  }, {
894
- "data-label": g(({ bar: o }) => [
895
- C("div", Da, [
896
- C("span", za, R(o.name + (e.value.style.chart.tooltip.showValue || e.value.style.chart.tooltip.showPercentage ? ":" : "")), 1),
897
- e.value.style.chart.tooltip.showValue || e.value.style.chart.tooltip.showPercentage ? (n(), r("span", Ua, R(o.suffix), 1)) : p("", !0)
914
+ "data-label": d(({ bar: a }) => [
915
+ w("div", Da, [
916
+ w("span", za, D(a.name + (e.value.style.chart.tooltip.showValue || e.value.style.chart.tooltip.showPercentage ? ":" : "")), 1),
917
+ e.value.style.chart.tooltip.showValue || e.value.style.chart.tooltip.showPercentage ? (s(), r("span", Ua, D(a.suffix), 1)) : g("", !0)
898
918
  ])
899
919
  ]),
900
920
  _: 1
901
921
  }, 8, ["dataset", "config"])
902
922
  ])),
903
- f(t.$slots, "tooltip-after", E(M({ ...ie.value })), void 0, !0)
923
+ p(t.$slots, "tooltip-after", C($({ ...ie.value })), void 0, !0)
904
924
  ]),
905
925
  _: 3
906
926
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "fontSize", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
907
- fe.value && e.value.userOptions.buttons.table ? (n(), P(Bt(Y.value.component), Et({ key: 7 }, Y.value.props, {
927
+ fe.value && e.value.userOptions.buttons.table ? (s(), x(Bt(Y.value.component), Et({ key: 7 }, Y.value.props, {
908
928
  ref_key: "tableUnit",
909
929
  ref: W,
910
930
  onClose: Ge
911
931
  }), je({
912
- content: g(() => [
913
- (n(), P(u(ut), {
932
+ content: d(() => [
933
+ (s(), x(u(ut), {
914
934
  key: `table_${$e.value}`,
915
935
  colNames: Q.value.colNames,
916
936
  head: Q.value.head,
@@ -920,11 +940,11 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
920
940
  withCloseButton: !e.value.table.useDialog,
921
941
  onClose: Ge
922
942
  }, {
923
- th: g(({ th: o }) => [
924
- pe(R(o.name), 1)
943
+ th: d(({ th: a }) => [
944
+ pe(D(a.name), 1)
925
945
  ]),
926
- td: g(({ td: o }) => [
927
- pe(R(o), 1)
946
+ td: d(({ td: a }) => [
947
+ pe(D(a), 1)
928
948
  ]),
929
949
  _: 1
930
950
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -933,20 +953,20 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
933
953
  }, [
934
954
  e.value.table.useDialog ? {
935
955
  name: "title",
936
- fn: g(() => [
937
- pe(R(Y.value.title), 1)
956
+ fn: d(() => [
957
+ pe(D(Y.value.title), 1)
938
958
  ]),
939
959
  key: "0"
940
960
  } : void 0,
941
961
  e.value.table.useDialog ? {
942
962
  name: "actions",
943
- fn: g(() => [
944
- C("button", {
963
+ fn: d(() => [
964
+ w("button", {
945
965
  tabindex: "0",
946
966
  class: "vue-ui-user-options-button",
947
- onClick: a[1] || (a[1] = (o) => ce(e.value.userOptions.callbacks.csv))
967
+ onClick: o[1] || (o[1] = (a) => ce(e.value.userOptions.callbacks.csv))
948
968
  }, [
949
- ee(u(st), {
969
+ ee(u(nt), {
950
970
  name: "excel",
951
971
  stroke: Y.value.props.color
952
972
  }, null, 8, ["stroke"])
@@ -954,11 +974,11 @@ const ga = ["id"], fa = ["id"], ya = ["xmlns", "viewBox"], ma = ["width", "heigh
954
974
  ]),
955
975
  key: "1"
956
976
  } : void 0
957
- ]), 1040)) : p("", !0),
958
- u(Se) ? (n(), P(la, { key: 8 })) : p("", !0)
977
+ ]), 1040)) : g("", !0),
978
+ u(Se) ? (s(), x(la, { key: 8 })) : g("", !0)
959
979
  ], 46, ga));
960
980
  }
961
- }, ao = /* @__PURE__ */ ha(Ba, [["__scopeId", "data-v-e4b61e07"]]);
981
+ }, ao = /* @__PURE__ */ ha(Ba, [["__scopeId", "data-v-6e33b912"]]);
962
982
  export {
963
983
  ao as default
964
984
  };