vue-data-ui 3.2.8 → 3.3.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 (159) hide show
  1. package/dist/{Arrow-Bb0bGghy.js → Arrow-CKLBHe3L.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CHhZIht2.js → BaseDraggableDialog-q3pgSDTz.js} +2 -2
  3. package/dist/{BaseIcon-Bz-1GQhu.js → BaseIcon-CtqN7W_g.js} +4 -3
  4. package/dist/{ColorPicker-B-WUqMoV.js → ColorPicker-Cr6rUDTP.js} +2 -2
  5. package/dist/{DataTable-BvjacRbw.js → DataTable-BeI6gYJX.js} +2 -2
  6. package/dist/{Legend-BpoFJ8fc.js → Legend-DsogCeTb.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-l9giyY1Z.js → NonSvgPenAndPaper-BDK_ucTG.js} +3 -3
  8. package/dist/{PackageVersion-C40g0Rfc.js → PackageVersion-C9oklnuy.js} +1 -1
  9. package/dist/{PenAndPaper-CR8q353D.js → PenAndPaper-BxbYiPy4.js} +3 -3
  10. package/dist/{Shape-C_C_OmqR.js → Shape-DJG2zW7b.js} +1 -1
  11. package/dist/{Slicer-BA2GhOmY.js → Slicer-D6T4aUhr.js} +2 -2
  12. package/dist/{SparkTooltip-Dz1PDE_h.js → SparkTooltip-Cp0G9giW.js} +1 -1
  13. package/dist/{Title-DG2nloSB.js → Title-D17CJXko.js} +1 -1
  14. package/dist/{Tooltip-BOXz8skU.js → Tooltip-CtVdvbZi.js} +1 -1
  15. package/dist/{UserOptions-DsTgvAok.js → UserOptions-B3vCIe-u.js} +168 -126
  16. package/dist/components/arrow.js +1 -1
  17. package/dist/components/vue-ui-3d-bar.js +1 -1
  18. package/dist/components/vue-ui-accordion.js +1 -1
  19. package/dist/components/vue-ui-age-pyramid.js +1 -1
  20. package/dist/components/vue-ui-annotator.js +1 -1
  21. package/dist/components/vue-ui-bullet.js +1 -1
  22. package/dist/components/vue-ui-candlestick.js +1 -1
  23. package/dist/components/vue-ui-carousel-table.js +1 -1
  24. package/dist/components/vue-ui-chestnut.js +1 -1
  25. package/dist/components/vue-ui-chord.js +1 -1
  26. package/dist/components/vue-ui-circle-pack.js +1 -1
  27. package/dist/components/vue-ui-cursor.js +1 -1
  28. package/dist/components/vue-ui-dashboard.js +1 -1
  29. package/dist/components/vue-ui-digits.js +1 -1
  30. package/dist/components/vue-ui-donut-evolution.js +1 -1
  31. package/dist/components/vue-ui-donut.js +1 -1
  32. package/dist/components/vue-ui-dumbbell.js +1 -1
  33. package/dist/components/vue-ui-flow.js +1 -1
  34. package/dist/components/vue-ui-funnel.js +1 -1
  35. package/dist/components/vue-ui-galaxy.js +1 -1
  36. package/dist/components/vue-ui-gauge.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-mini-loader.js +1 -1
  44. package/dist/components/vue-ui-molecule.js +1 -1
  45. package/dist/components/vue-ui-mood-radar.js +1 -1
  46. package/dist/components/vue-ui-nested-donuts.js +1 -1
  47. package/dist/components/vue-ui-onion.js +1 -1
  48. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  49. package/dist/components/vue-ui-quadrant.js +1 -1
  50. package/dist/components/vue-ui-quick-chart.js +1 -1
  51. package/dist/components/vue-ui-radar.js +1 -1
  52. package/dist/components/vue-ui-rating.js +1 -1
  53. package/dist/components/vue-ui-relation-circle.js +1 -1
  54. package/dist/components/vue-ui-ridgeline.js +1 -1
  55. package/dist/components/vue-ui-rings.js +1 -1
  56. package/dist/components/vue-ui-scatter.js +1 -1
  57. package/dist/components/vue-ui-skeleton.js +1 -1
  58. package/dist/components/vue-ui-smiley.js +1 -1
  59. package/dist/components/vue-ui-spark-trend.js +1 -1
  60. package/dist/components/vue-ui-sparkbar.js +1 -1
  61. package/dist/components/vue-ui-sparkgauge.js +1 -1
  62. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  63. package/dist/components/vue-ui-sparkline.js +1 -1
  64. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  65. package/dist/components/vue-ui-stackbar.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{dom-to-png-BgvOdfyW.js → dom-to-png-BiyqJA3t.js} +1 -1
  82. package/dist/{img-DjWwQXVS.js → img-6wPuVVtk.js} +1 -1
  83. package/dist/{lib-BEpWEyMm.js → lib-GIYcnm0E.js} +110 -96
  84. package/dist/{pdf-YD0ShN36.js → pdf-DjbHsnrb.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/types/vue-data-ui.d.ts +8 -1
  87. package/dist/{useAutoSizeLabelsInsideViewbox-BVJkib7z.js → useAutoSizeLabelsInsideViewbox-Csv3pVmh.js} +1 -1
  88. package/dist/{useNestedProp-BOk-tPdu.js → useNestedProp-mxyyqd0B.js} +291 -246
  89. package/dist/{usePrinter-w23K-ezx.js → usePrinter-DYRFiw7X.js} +2 -2
  90. package/dist/useSvgExport-B7-Vrjtu.js +732 -0
  91. package/dist/vue-data-ui-DLU1snC3.js +326 -0
  92. package/dist/vue-data-ui.js +68 -68
  93. package/dist/{vue-ui-3d-bar-Cf7zHemQ.js → vue-ui-3d-bar-D6xoBrN6.js} +358 -342
  94. package/dist/{vue-ui-accordion-CDIzGCG1.js → vue-ui-accordion-Dch9YrCi.js} +3 -3
  95. package/dist/{vue-ui-age-pyramid-T09D0LHr.js → vue-ui-age-pyramid-D74mAaLA.js} +228 -212
  96. package/dist/{vue-ui-annotator-3bUg-1Zy.js → vue-ui-annotator-DwRwhrgB.js} +7 -7
  97. package/dist/{vue-ui-bullet-DKgdFa2v.js → vue-ui-bullet-D2qVUqWs.js} +197 -179
  98. package/dist/{vue-ui-candlestick-g6PO_L_7.js → vue-ui-candlestick-C81k1_f9.js} +278 -262
  99. package/dist/{vue-ui-carousel-table-Ch2xooE8.js → vue-ui-carousel-table-DBIhnEj-.js} +4 -4
  100. package/dist/{vue-ui-chestnut-B-nzp0b6.js → vue-ui-chestnut-CSM-_IWw.js} +425 -379
  101. package/dist/{vue-ui-chord-BqS8DoTd.js → vue-ui-chord-BFW9nnNh.js} +317 -299
  102. package/dist/{vue-ui-circle-pack-B1axDP9l.js → vue-ui-circle-pack-D6mTG5i0.js} +249 -233
  103. package/dist/{vue-ui-cursor-Detis-4Y.js → vue-ui-cursor-BJmTAMpP.js} +2 -2
  104. package/dist/{vue-ui-dashboard-TXcw45j_.js → vue-ui-dashboard-BdFLsK4u.js} +67 -67
  105. package/dist/{vue-ui-digits-pW7YVqxy.js → vue-ui-digits-DXum1rs6.js} +2 -2
  106. package/dist/{vue-ui-donut-BFpWEe2s.js → vue-ui-donut-CqefukGp.js} +662 -645
  107. package/dist/{vue-ui-donut-evolution-BoVslTri.js → vue-ui-donut-evolution-DFIbK50s.js} +406 -384
  108. package/dist/{vue-ui-dumbbell-CRHvtmq9.js → vue-ui-dumbbell-DIo2ecGY.js} +295 -274
  109. package/dist/vue-ui-flow--kiGWaq4.js +931 -0
  110. package/dist/{vue-ui-funnel-CKUlzitM.js → vue-ui-funnel-B8UHwj15.js} +174 -158
  111. package/dist/{vue-ui-galaxy-DZqCAK9c.js → vue-ui-galaxy-eQZh_y3l.js} +265 -252
  112. package/dist/{vue-ui-gauge-D3bPFF59.js → vue-ui-gauge-DJ-E6L2T.js} +256 -240
  113. package/dist/{vue-ui-gizmo-oVLp367W.js → vue-ui-gizmo-DFxlqPz7.js} +3 -3
  114. package/dist/{vue-ui-heatmap-C1RctcPx.js → vue-ui-heatmap-CcAe5dDN.js} +393 -372
  115. package/dist/{vue-ui-history-plot-CoQYOlF4.js → vue-ui-history-plot-CgKvd7Jx.js} +307 -289
  116. package/dist/{vue-ui-kpi-BZX-tqIm.js → vue-ui-kpi-Ct2iyD49.js} +3 -3
  117. package/dist/{vue-ui-mini-loader-hMqB-KQI.js → vue-ui-mini-loader-ByjcvXBB.js} +2 -2
  118. package/dist/{vue-ui-molecule-D0Kr_w-v.js → vue-ui-molecule-CGDBEAkX.js} +176 -160
  119. package/dist/vue-ui-mood-radar-D9GuK4cI.js +876 -0
  120. package/dist/{vue-ui-nested-donuts-94Gu95Z9.js → vue-ui-nested-donuts-CGKgOTX2.js} +541 -518
  121. package/dist/{vue-ui-onion-Dy_aTvGI.js → vue-ui-onion-C5tE1Woz.js} +318 -289
  122. package/dist/{vue-ui-parallel-coordinate-plot-D_oo5lQW.js → vue-ui-parallel-coordinate-plot-CVhD6IoH.js} +252 -233
  123. package/dist/{vue-ui-quadrant-CRYpRl_q.js → vue-ui-quadrant-BGDCaOXv.js} +294 -276
  124. package/dist/{vue-ui-quick-chart-B1s047tz.js → vue-ui-quick-chart-CjXSB-2S.js} +723 -685
  125. package/dist/{vue-ui-radar-DA7EuchK.js → vue-ui-radar-rhxkROX7.js} +307 -282
  126. package/dist/{vue-ui-rating-z2bsnprP.js → vue-ui-rating-Bo9gSy-z.js} +2 -2
  127. package/dist/{vue-ui-relation-circle-DZ8IiUNu.js → vue-ui-relation-circle-Qo8FKbL2.js} +146 -131
  128. package/dist/{vue-ui-ridgeline-5IWuJgs6.js → vue-ui-ridgeline-ahOApbEC.js} +320 -299
  129. package/dist/{vue-ui-rings-gY2f8mVf.js → vue-ui-rings-DFAVaEBs.js} +323 -310
  130. package/dist/{vue-ui-scatter-OLidvHlx.js → vue-ui-scatter-zjlWyvVd.js} +390 -372
  131. package/dist/{vue-ui-skeleton-BaysGsg0.js → vue-ui-skeleton-CKfOnyd_.js} +3 -3
  132. package/dist/{vue-ui-smiley-Dn2IR0oC.js → vue-ui-smiley-CY7UiJ9C.js} +2 -2
  133. package/dist/{vue-ui-spark-trend-gp5B9uF7.js → vue-ui-spark-trend-DwNYP97M.js} +3 -3
  134. package/dist/{vue-ui-sparkbar-8t63RYc7.js → vue-ui-sparkbar-BkdcYrmg.js} +3 -3
  135. package/dist/{vue-ui-sparkgauge-BWSykUpn.js → vue-ui-sparkgauge-C6Kq_OGV.js} +3 -3
  136. package/dist/{vue-ui-sparkhistogram-BEjxKMG5.js → vue-ui-sparkhistogram-CjB33yXB.js} +4 -4
  137. package/dist/{vue-ui-sparkline-bFF-ZCCH.js → vue-ui-sparkline-DcH4yIEd.js} +3 -3
  138. package/dist/{vue-ui-sparkstackbar-HtAlEtzK.js → vue-ui-sparkstackbar-MKr2u_pO.js} +3 -3
  139. package/dist/{vue-ui-stackbar-CUIWPgfk.js → vue-ui-stackbar-DKV-exfd.js} +355 -337
  140. package/dist/{vue-ui-strip-plot-DwS52yGc.js → vue-ui-strip-plot-ncTrDlNC.js} +368 -352
  141. package/dist/{vue-ui-table-BYqPx7k4.js → vue-ui-table-BdT3lGuv.js} +5 -5
  142. package/dist/{vue-ui-table-heatmap-CRfjUoa1.js → vue-ui-table-heatmap-D929cWB0.js} +5 -5
  143. package/dist/{vue-ui-table-sparkline-Bvf0ZBOi.js → vue-ui-table-sparkline-CkZ_ygR1.js} +4 -4
  144. package/dist/{vue-ui-thermometer-BB7cHec0.js → vue-ui-thermometer-CjBLR6H9.js} +148 -133
  145. package/dist/{vue-ui-timer-BVDKvC4v.js → vue-ui-timer-Bs7eMmiC.js} +5 -5
  146. package/dist/vue-ui-tiremarks-nGOZKRcz.js +423 -0
  147. package/dist/{vue-ui-treemap-nGgRTw0l.js → vue-ui-treemap-SQ2f5wbN.js} +403 -373
  148. package/dist/{vue-ui-vertical-bar-BJOm2JQh.js → vue-ui-vertical-bar-Hh9gAN5j.js} +295 -260
  149. package/dist/{vue-ui-waffle-aCMPaHbw.js → vue-ui-waffle-C7moVBln.js} +396 -377
  150. package/dist/{vue-ui-wheel-D_q23eOk.js → vue-ui-wheel-KrGLMCqW.js} +196 -180
  151. package/dist/{vue-ui-word-cloud-C7TMR4Zq.js → vue-ui-word-cloud-BQSu6kiR.js} +233 -217
  152. package/dist/{vue-ui-world-DtMYYQ6T.js → vue-ui-world-DdoMFJcV.js} +344 -326
  153. package/dist/{vue-ui-xy-Dputm9QT.js → vue-ui-xy-B2fjTYMJ.js} +1601 -1707
  154. package/dist/{vue-ui-xy-canvas-BCeQoXNM.js → vue-ui-xy-canvas-oUXISeU8.js} +10 -10
  155. package/package.json +1 -1
  156. package/dist/vue-data-ui-BcRg499t.js +0 -325
  157. package/dist/vue-ui-flow-CKGjSZoj.js +0 -909
  158. package/dist/vue-ui-mood-radar-C6UCofDb.js +0 -853
  159. package/dist/vue-ui-tiremarks-CBVuu_Zi.js +0 -407
@@ -1,24 +1,25 @@
1
- import { defineAsyncComponent as _, computed as v, ref as c, toRefs as wt, watch as Ue, shallowRef as Ve, onMounted as _t, onBeforeUnmount as $t, createElementBlock as u, openBlock as s, unref as r, normalizeStyle as J, normalizeClass as X, createBlock as P, createCommentVNode as d, createElementVNode as $, createVNode as K, createSlots as We, withCtx as h, renderSlot as g, normalizeProps as B, guardReactiveProps as M, Fragment as O, renderList as I, toDisplayString as E, Teleport as Tt, resolveDynamicComponent as At, mergeProps as Pt, createTextVNode as ve, nextTick as Ge } from "vue";
2
- import { c as xt, t as St, b as Ft, p as N, o as Ot, f as U, e as It, g as Xe, h as Ye, k as qe, q as Nt, a as He, d as Y, X as Lt, s as de, i as Rt, S as je, x as zt, y as Dt, z as Bt, A as Mt } from "./lib-BEpWEyMm.js";
3
- import { t as Et, u as Ut } from "./useResponsive-DfdjqQps.js";
4
- import { u as Vt, a as Je } from "./useNestedProp-BOk-tPdu.js";
5
- import { u as Wt, B as Gt } from "./BaseScanner-BgWxam9d.js";
6
- import { u as Xt } from "./usePrinter-w23K-ezx.js";
7
- import { u as Yt } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as qt } from "./useChartAccessibility-9icAAmYg.js";
9
- import { u as Ht } from "./useAutoSizeLabelsInsideViewbox-BVJkib7z.js";
10
- import jt from "./img-DjWwQXVS.js";
11
- import Jt from "./Title-DG2nloSB.js";
12
- import Kt from "./Legend-BpoFJ8fc.js";
13
- import { t as Qt } from "./themes-Dw-dDudK.js";
14
- import { _ as Zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "height"], la = ["id"], sa = ["stop-color"], na = ["stop-color"], ra = { key: 1 }, ua = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ia = { key: 0 }, ca = ["d", "stroke", "stroke-width"], va = ["d", "stroke", "stroke-width"], da = { key: 2 }, pa = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter", "onMouseleave", "onClick"], ha = ["points", "stroke", "stroke-width"], ga = ["points", "stroke", "stroke-width", "fill"], fa = { key: 3 }, ma = ["cx", "cy", "fill", "r", "stroke"], ya = {
1
+ import { defineAsyncComponent as _, computed as v, ref as c, toRefs as Pt, watch as Ve, shallowRef as We, onMounted as Ot, onBeforeUnmount as Ft, createElementBlock as u, openBlock as n, unref as r, normalizeStyle as K, normalizeClass as G, createBlock as S, createCommentVNode as d, createElementVNode as $, createVNode as Q, createSlots as Ge, withCtx as g, renderSlot as f, normalizeProps as B, guardReactiveProps as E, Fragment as I, renderList as L, toDisplayString as X, Teleport as It, resolveDynamicComponent as Lt, mergeProps as Nt, createTextVNode as ve, nextTick as Xe } from "vue";
2
+ import { c as Rt, t as zt, b as Dt, p as N, o as Bt, f as M, e as Et, g as Ye, h as qe, k as He, q as Mt, d as Y, a as je, X as Ut, s as de, i as Vt, S as Je, x as Wt, y as Gt, z as Xt, A as Yt } from "./lib-GIYcnm0E.js";
3
+ import { t as qt, u as Ht } from "./useResponsive-DfdjqQps.js";
4
+ import { u as jt, a as Ke } from "./useNestedProp-mxyyqd0B.js";
5
+ import { u as Jt, B as Kt } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as Qt } from "./usePrinter-DYRFiw7X.js";
7
+ import { u as Zt } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as ea } from "./useChartAccessibility-9icAAmYg.js";
9
+ import { u as ta } from "./useAutoSizeLabelsInsideViewbox-Csv3pVmh.js";
10
+ import aa from "./img-6wPuVVtk.js";
11
+ import oa from "./Title-D17CJXko.js";
12
+ import la from "./Legend-DsogCeTb.js";
13
+ import { t as sa } from "./themes-Dw-dDudK.js";
14
+ import { u as na } from "./useSvgExport-B7-Vrjtu.js";
15
+ import { _ as ra } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const ua = ["id"], ia = ["id"], ca = ["xmlns", "viewBox"], va = ["width", "height"], da = ["id"], pa = ["stop-color"], ha = ["stop-color"], ga = { key: 1 }, fa = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ma = { key: 0 }, ya = ["d", "stroke", "stroke-width"], ba = ["d", "stroke", "stroke-width"], ka = { key: 2 }, Ca = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter", "onMouseleave", "onClick"], wa = ["points", "stroke", "stroke-width"], _a = ["points", "stroke", "stroke-width", "fill"], $a = { key: 3 }, Ta = ["cx", "cy", "fill", "r", "stroke"], Aa = {
16
17
  key: 4,
17
18
  class: "vue-data-ui-watermark"
18
- }, ba = ["id"], ka = ["onClick"], Ca = {
19
+ }, Sa = ["id"], xa = ["onClick"], Pa = {
19
20
  key: 0,
20
21
  style: { "max-width": "200px", margin: "0 auto" }
21
- }, wa = {
22
+ }, Oa = {
22
23
  __name: "vue-ui-radar",
23
24
  props: {
24
25
  config: {
@@ -35,14 +36,14 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
35
36
  }
36
37
  },
37
38
  emits: ["selectLegend"],
38
- setup(Ke, { expose: Qe, emit: Ze }) {
39
- const et = _(() => import("./Tooltip-BOXz8skU.js")), tt = _(() => import("./BaseIcon-Bz-1GQhu.js")), at = _(() => import("./vue-ui-sparkbar-8t63RYc7.js")), ot = _(() => import("./vue-ui-accordion-CDIzGCG1.js")), lt = _(() => import("./DataTable-BvjacRbw.js")), st = _(() => import("./PenAndPaper-CR8q353D.js")), nt = _(() => import("./UserOptions-DsTgvAok.js")), rt = _(() => import("./PackageVersion-C40g0Rfc.js")), ut = _(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_radar: it } = Vt(), x = Ke, pe = v(() => !!x.dataset && Object.keys(x.dataset).length), b = c(xt()), Q = c(!1), Z = c(""), he = c(0), C = c(null), ge = c(null), fe = c(null), me = c(null), ye = c(null), be = c(0), ke = c(0), Ce = c(0), we = c(!1), V = c(null), ee = c(null), e = c(oe()), { loading: _e, FINAL_DATASET: w } = Wt({
40
- ...wt(x),
39
+ setup(Qe, { expose: Ze, emit: et }) {
40
+ const tt = _(() => import("./Tooltip-CtVdvbZi.js")), at = _(() => import("./BaseIcon-CtqN7W_g.js")), ot = _(() => import("./vue-ui-sparkbar-BkdcYrmg.js")), lt = _(() => import("./vue-ui-accordion-Dch9YrCi.js")), st = _(() => import("./DataTable-BeI6gYJX.js")), nt = _(() => import("./PenAndPaper-BxbYiPy4.js")), rt = _(() => import("./UserOptions-B3vCIe-u.js")), ut = _(() => import("./PackageVersion-C9oklnuy.js")), it = _(() => import("./BaseDraggableDialog-q3pgSDTz.js")), { vue_ui_radar: ct } = jt(), x = Qe, pe = v(() => !!x.dataset && Object.keys(x.dataset).length), b = c(Rt()), Z = c(!1), ee = c(""), he = c(0), C = c(null), ge = c(null), fe = c(null), me = c(null), ye = c(null), be = c(0), ke = c(0), Ce = c(0), we = c(!1), U = c(null), te = c(null), e = c(oe()), { loading: _e, FINAL_DATASET: w } = Jt({
41
+ ...Pt(x),
41
42
  FINAL_CONFIG: e,
42
43
  prepareConfig: oe,
43
44
  callback: () => {
44
45
  Promise.resolve().then(async () => {
45
- await Ge(), y.value.showTable = e.value.table.show;
46
+ await Xe(), y.value.showTable = e.value.table.show;
46
47
  });
47
48
  },
48
49
  skeletonDataset: {
@@ -56,7 +57,7 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
56
57
  { name: "_", values: [0.6], target: 1 }
57
58
  ]
58
59
  },
59
- skeletonConfig: St({
60
+ skeletonConfig: zt({
60
61
  defaultConfig: e.value,
61
62
  userConfig: {
62
63
  userOptions: { show: !1 },
@@ -83,32 +84,32 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
83
84
  }
84
85
  }
85
86
  })
86
- }), { userOptionsVisible: te, setUserOptionsVisibility: $e, keepUserOptionState: Te } = Yt({ config: e.value }), { svgRef: ae } = qt({ config: e.value.style.chart.title });
87
+ }), { userOptionsVisible: ae, setUserOptionsVisibility: $e, keepUserOptionState: Te } = Zt({ config: e.value }), { svgRef: q } = ea({ config: e.value.style.chart.title });
87
88
  function oe() {
88
- const t = Je({
89
+ const t = Ke({
89
90
  userConfig: x.config,
90
- defaultConfig: it
91
+ defaultConfig: ct
91
92
  });
92
93
  return t.theme ? {
93
- ...Je({
94
- userConfig: Qt.vue_ui_radar[t.theme] || x.config,
94
+ ...Ke({
95
+ userConfig: sa.vue_ui_radar[t.theme] || x.config,
95
96
  defaultConfig: t
96
97
  }),
97
- customPalette: Ft[t.theme] || N
98
+ customPalette: Dt[t.theme] || N
98
99
  } : t;
99
100
  }
100
- Ue(() => x.config, (t) => {
101
- e.value = oe(), te.value = !e.value.userOptions.showOnChartHover, Ae(), be.value += 1, ke.value += 1, Ce.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;
101
+ Ve(() => x.config, (t) => {
102
+ e.value = oe(), ae.value = !e.value.userOptions.showOnChartHover, Ae(), be.value += 1, ke.value += 1, Ce.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;
102
103
  }, { deep: !0 });
103
- const T = Ve(null), L = Ve(null), R = v(() => e.value.debug);
104
+ const T = We(null), R = We(null), z = v(() => e.value.debug);
104
105
  function Ae() {
105
- if (Ot(x.dataset) && U({
106
+ if (Bt(x.dataset) && M({
106
107
  componentName: "VueUiRadar",
107
108
  type: "dataset",
108
- debug: R.value
109
+ debug: z.value
109
110
  }), e.value.responsive) {
110
- const t = Et(() => {
111
- const { width: a, height: o } = Ut({
111
+ const t = qt(() => {
112
+ const { width: a, height: o } = Ht({
112
113
  chart: C.value,
113
114
  title: e.value.style.chart.title.text ? ge.value : null,
114
115
  legend: e.value.style.chart.legend.show ? fe.value : null,
@@ -119,26 +120,26 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
119
120
  i.value.width = a, i.value.height = o, ze();
120
121
  });
121
122
  });
122
- T.value && (L.value && T.value.unobserve(L.value), T.value.disconnect()), T.value = new ResizeObserver(t), L.value = C.value.parentNode, T.value.observe(L.value);
123
+ T.value && (R.value && T.value.unobserve(R.value), T.value.disconnect()), T.value = new ResizeObserver(t), R.value = C.value.parentNode, T.value.observe(R.value);
123
124
  }
124
125
  ze();
125
126
  }
126
- _t(() => {
127
+ Ot(() => {
127
128
  we.value = !0, Ae();
128
- }), $t(() => {
129
- T.value && (L.value && T.value.unobserve(L.value), T.value.disconnect());
129
+ }), Ft(() => {
130
+ T.value && (R.value && T.value.unobserve(R.value), T.value.disconnect());
130
131
  });
131
- const { isPrinting: Pe, isImaging: xe, generatePdf: Se, generateImage: Fe } = Xt({
132
+ const { isPrinting: Se, isImaging: xe, generatePdf: Pe, generateImage: Oe } = Qt({
132
133
  elementId: `vue-ui-radar_${b.value}`,
133
134
  fileName: e.value.style.chart.title.text || "vue-ui-radar",
134
135
  options: e.value.userOptions.print
135
- }), ct = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), Oe = v(() => It(e.value.customPalette)), y = c({
136
+ }), vt = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), Fe = v(() => Et(e.value.customPalette)), y = c({
136
137
  dataLabels: {
137
138
  show: e.value.style.chart.layout.labels.dataLabels.show
138
139
  },
139
140
  showTable: e.value.table.show,
140
141
  showTooltip: e.value.style.chart.tooltip.show
141
- }), vt = v(() => ({
142
+ }), dt = v(() => ({
142
143
  style: {
143
144
  backgroundColor: "#FFFFFF00",
144
145
  animation: {
@@ -159,95 +160,95 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
159
160
  })), i = c({
160
161
  height: 312,
161
162
  width: 512
162
- }), dt = Ze, p = c([]), W = c(null), z = c(!1);
163
+ }), pt = et, p = c([]), V = c(null), D = c(!1);
163
164
  function Ie(t) {
164
- z.value = !0, p.value.includes(t) ? (W.value = t, p.value = p.value.filter((a) => a !== t), setTimeout(() => {
165
- z.value = !1, W.value = null;
165
+ D.value = !0, p.value.includes(t) ? (V.value = t, p.value = p.value.filter((a) => a !== t), setTimeout(() => {
166
+ D.value = !1, V.value = null;
166
167
  }, 500)) : (p.value.push(t), setTimeout(() => {
167
- z.value = !1;
168
- }, 500)), dt("selectLegend", D.value.filter((a, o) => !p.value.includes(o)).map((a) => ({
168
+ D.value = !1;
169
+ }, 500)), pt("selectLegend", P.value.filter((a, o) => !p.value.includes(o)).map((a) => ({
169
170
  name: a.name,
170
171
  color: a.color,
171
172
  proportion: a.totalProportion
172
173
  })));
173
174
  }
174
- function pt() {
175
- return D.value.map((t) => ({
175
+ function ht() {
176
+ return P.value.map((t) => ({
176
177
  name: t.name,
177
178
  color: t.color,
178
179
  proportion: t.totalProportion
179
180
  }));
180
181
  }
181
- const f = v(() => [null, void 0].includes(w.value.categories) ? (U({
182
+ const m = v(() => [null, void 0].includes(w.value.categories) ? (M({
182
183
  componentName: "VueUiRadar",
183
184
  type: "datasetAttribute",
184
185
  property: "categories ({ name: string; prefix?: string; suffix?: string}[])",
185
- debug: R.value
186
- }), []) : (w.value.categories.length === 0 ? U({
186
+ debug: z.value
187
+ }), []) : (w.value.categories.length === 0 ? M({
187
188
  componentName: "VueUiRadar",
188
189
  type: "datasetAttributeEmpty",
189
190
  property: "categories",
190
- debug: R.value
191
+ debug: z.value
191
192
  }) : w.value.categories.forEach((t, a) => {
192
- Xe({
193
+ Ye({
193
194
  datasetObject: t,
194
195
  requiredAttributes: ["name"]
195
196
  }).forEach((o) => {
196
- U({
197
+ M({
197
198
  componentName: "VueUiRadar",
198
199
  type: "datasetAttribute",
199
200
  property: `category.${o} at index ${a}`,
200
201
  index: a,
201
- debug: R.value
202
+ debug: z.value
202
203
  });
203
204
  });
204
- }), [null, void 0].includes(w.value.series) ? U({
205
+ }), [null, void 0].includes(w.value.series) ? M({
205
206
  componentName: "VueUiRadar",
206
207
  type: "datasetAttribute",
207
208
  property: "series ({ name: string; values: number[]; color?: string; target: number}[])",
208
- debug: R.value
209
+ debug: z.value
209
210
  }) : w.value.series.forEach((t, a) => {
210
- Xe({
211
+ Ye({
211
212
  datasetObject: t,
212
213
  requiredAttributes: ["name", "values", "target"]
213
214
  }).forEach((o) => {
214
- U({
215
+ M({
215
216
  componentName: "VueUiRadar",
216
217
  type: "datasetSerieAttribute",
217
218
  key: "series",
218
219
  property: o,
219
220
  index: a,
220
- debug: R.value
221
+ debug: z.value
221
222
  });
222
223
  });
223
224
  }), w.value.categories.map((t, a) => ({
224
225
  name: t.name,
225
226
  categoryId: `radar_category_${b.value}_${a}`,
226
- color: Ye(t.color) || Oe.value[a] || N[a] || N[a % N.length],
227
+ color: qe(t.color) || Fe.value[a] || N[a] || N[a % N.length],
227
228
  prefix: t.prefix ?? "",
228
229
  suffix: t.suffix ?? ""
229
230
  })))), k = v(() => w.value.series.map((t, a) => ({
230
231
  ...t,
231
- color: Ye(t.color) || Oe.value[a] || N[a] || N[a % N.length],
232
+ color: qe(t.color) || Fe.value[a] || N[a] || N[a % N.length],
232
233
  serieId: `radar_serie_${b.value}_${a}`,
233
234
  formatter: t.formatter || null
234
- }))), Ne = v(() => Math.max(...k.value.flatMap((t) => t.values))), Le = v(() => k.value.length), le = v(() => Math.min(i.value.width, i.value.height) / 3), Re = v(() => qe({
235
+ }))), Le = v(() => Math.max(...k.value.flatMap((t) => t.values))), Ne = v(() => k.value.length), le = v(() => Math.min(i.value.width, i.value.height) / 3), Re = v(() => He({
235
236
  plot: { x: i.value.width / 2, y: i.value.height / 2 },
236
237
  radius: le.value,
237
- sides: Le.value,
238
+ sides: Ne.value,
238
239
  rotation: 0
239
- })), ht = v(() => {
240
+ })), gt = v(() => {
240
241
  const t = [];
241
242
  for (let a = 0; a < le.value; a += le.value / e.value.style.chart.layout.grid.graduations)
242
243
  t.push(a);
243
244
  return t;
244
245
  }), A = v(() => Re.value.coordinates.map((t, a) => {
245
- const o = k.value[a].values.map((l) => ft({
246
+ const o = k.value[a].values.map((l) => mt({
246
247
  centerX: i.value.width / 2,
247
248
  centerY: i.value.height / 2,
248
249
  apexX: t.x,
249
250
  apexY: t.y,
250
- proportion: l / (k.value[a].target || Ne.value)
251
+ proportion: l / (k.value[a].target || Le.value)
251
252
  }));
252
253
  return {
253
254
  ...t,
@@ -264,47 +265,55 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
264
265
  let o = "middle";
265
266
  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 };
266
267
  }
267
- const gt = v({
268
+ const ft = v({
268
269
  get: () => e.value.style.chart.layout.labels.dataLabels.fontSize,
269
270
  set: (t) => t
270
- }), { autoSizeLabels: ze } = Ht({
271
- svgRef: ae,
271
+ }), { autoSizeLabels: ze } = ta({
272
+ svgRef: q,
272
273
  fontSize: e.value.style.chart.layout.labels.dataLabels.fontSize,
273
274
  minFontSize: 6,
274
- sizeRef: gt,
275
+ sizeRef: ft,
275
276
  labelClass: ".vue-ui-radar-apex-label"
276
277
  });
277
- function ft({ centerX: t, centerY: a, apexX: o, apexY: l, proportion: n }) {
278
+ function mt({ centerX: t, centerY: a, apexX: o, apexY: l, proportion: s }) {
278
279
  return {
279
- x: t + (o - t) * n,
280
- y: a + (l - a) * n
280
+ x: t + (o - t) * s,
281
+ y: a + (l - a) * s
281
282
  };
282
283
  }
283
- const D = v(() => {
284
- const t = k.value.map((a, o) => a.values.map((l) => l / (a.target || Ne.value)));
285
- return f.value.map((a, o) => ({
286
- ...a,
287
- totalProportion: Nt(t.map((l) => l[o]).reduce((l, n) => l + n, 0) / k.value.length),
288
- shape: "circle",
289
- opacity: p.value.includes(o) ? 0.5 : 1,
290
- segregate: () => Ie(o),
291
- isSegregated: p.value.includes(o)
292
- }));
293
- }), mt = v(() => ({
284
+ const P = v(() => {
285
+ const t = k.value.map((a, o) => a.values.map((l) => l / (a.target || Le.value)));
286
+ return m.value.map((a, o) => {
287
+ const l = Mt(t.map((s) => s[o]).reduce((s, h) => s + h, 0) / k.value.length);
288
+ return {
289
+ ...a,
290
+ totalProportion: l,
291
+ shape: "circle",
292
+ opacity: p.value.includes(o) ? 0.5 : 1,
293
+ segregate: () => Ie(o),
294
+ isSegregated: p.value.includes(o),
295
+ display: `${a.name}: ${Y({
296
+ v: (l ?? 0) * 100,
297
+ s: "%",
298
+ r: e.value.style.chart.legend.roundingPercentage
299
+ })}`
300
+ };
301
+ });
302
+ }), yt = v(() => ({
294
303
  cy: "radar-div-legend",
295
304
  backgroundColor: e.value.style.chart.legend.backgroundColor,
296
305
  color: e.value.style.chart.legend.color,
297
306
  fontSize: e.value.style.chart.legend.fontSize,
298
307
  paddingBottom: 12,
299
308
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
300
- })), q = v(() => {
309
+ })), H = v(() => {
301
310
  const t = [
302
311
  { name: e.value.translations.datapoint, color: "" },
303
312
  { name: e.value.translations.target, color: "" },
304
- ...D.value
313
+ ...P.value
305
314
  ], a = w.value.series.map((l) => [
306
315
  l.name,
307
- He(
316
+ je(
308
317
  l.formatter,
309
318
  l.target,
310
319
  Y({
@@ -314,12 +323,12 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
314
323
  r: e.value.table.td.roundingValue
315
324
  })
316
325
  ),
317
- ...l.values.map((n, m) => `${He(
326
+ ...l.values.map((s, h) => `${je(
318
327
  l.formatter,
319
- n,
320
- Y({ p: f.value[m].prefix, v: n, s: f.value[m].suffix, r: e.value.table.td.roundingValue })
321
- )} (${isNaN(n / l.target) ? "" : Y({
322
- v: n / l.target * 100,
328
+ s,
329
+ Y({ p: m.value[h].prefix, v: s, s: m.value[h].suffix, r: e.value.table.td.roundingValue })
330
+ )} (${isNaN(s / l.target) ? "" : Y({
331
+ v: s / l.target * 100,
323
332
  s: "%",
324
333
  r: e.value.table.td.roundingPercentage
325
334
  })})`)
@@ -337,100 +346,100 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
337
346
  breakpoint: e.value.table.responsiveBreakpoint
338
347
  };
339
348
  return { head: t, body: a, config: o, colNames: t };
340
- }), H = c(null), ne = c([]), re = c(null);
341
- function yt(t, a) {
342
- Q.value = !1, H.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a });
343
- }
349
+ }), j = c(null), ne = c([]), re = c(null);
344
350
  function bt(t, a) {
345
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
351
+ Z.value = !1, j.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a });
346
352
  }
347
353
  function kt(t, a) {
348
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), ne.value = [], H.value = a, Q.value = !0;
354
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
355
+ }
356
+ function Ct(t, a) {
357
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), ne.value = [], j.value = a, Z.value = !0;
349
358
  let o = "";
350
359
  re.value = {
351
360
  datapoint: t,
352
361
  seriesIndex: a,
353
362
  series: {
354
- categories: f.value,
363
+ categories: m.value,
355
364
  datapoints: k.value,
356
365
  radar: A.value
357
366
  },
358
367
  config: e.value
359
368
  };
360
369
  const l = e.value.style.chart.tooltip.customFormat;
361
- if (Bt(l) && Mt(() => l({
370
+ if (Xt(l) && Yt(() => l({
362
371
  seriesIndex: a,
363
372
  datapoint: t,
364
- series: { categories: f.value, datapoints: k.value, radar: A.value },
373
+ series: { categories: m.value, datapoints: k.value, radar: A.value },
365
374
  config: e.value
366
375
  })))
367
- Z.value = l({
376
+ ee.value = l({
368
377
  seriesIndex: a,
369
378
  datapoint: t,
370
- series: { categories: f.value, datapoints: k.value, radar: A.value },
379
+ series: { categories: m.value, datapoints: k.value, radar: A.value },
371
380
  config: e.value
372
381
  });
373
382
  else {
374
383
  o += `<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>`;
375
- for (let n = 0; n < t.values.length; n += 1)
376
- p.value.includes(n) || ne.value.push({
377
- name: f.value[n].name,
378
- value: t.values[n] / t.target * 100,
379
- color: f.value[n].color,
384
+ for (let s = 0; s < t.values.length; s += 1)
385
+ p.value.includes(s) || ne.value.push({
386
+ name: m.value[s].name,
387
+ value: t.values[s] / t.target * 100,
388
+ color: m.value[s].color,
380
389
  suffix: "%)",
381
- prefix: `${Y({ p: f.value[n].prefix ?? "", v: t.values[n], s: f.value[n].suffix ?? "", r: e.value.style.chart.tooltip.roundingValue })} (`,
390
+ prefix: `${Y({ p: m.value[s].prefix ?? "", v: t.values[s], s: m.value[s].suffix ?? "", r: e.value.style.chart.tooltip.roundingValue })} (`,
382
391
  rounding: e.value.style.chart.tooltip.roundingPercentage,
383
392
  formatter: t.formatter
384
393
  });
385
- Z.value = o;
394
+ ee.value = o;
386
395
  }
387
396
  }
388
397
  function ue(t = null) {
389
- Ge(() => {
390
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = [[""], [e.value.translations.target], ...D.value.flatMap((F) => [[F.name], ["%"]])], l = w.value.series.map((F, _a) => [F.name, F.target, ...F.values.flatMap((ce) => [
398
+ Xe(() => {
399
+ const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = [[""], [e.value.translations.target], ...P.value.flatMap((F) => [[F.name], ["%"]])], l = w.value.series.map((F, Fa) => [F.name, F.target, ...F.values.flatMap((ce) => [
391
400
  ce,
392
401
  isNaN(ce / F.target) ? "" : ce / F.target * 100
393
- ])]), n = a.concat([o]).concat(l), m = zt(n);
394
- t ? t(m) : Dt({ csvContent: m, title: e.value.style.chart.title.text || "vue-ui-radar" });
402
+ ])]), s = a.concat([o]).concat(l), h = Wt(s);
403
+ t ? t(h) : Gt({ csvContent: h, title: e.value.style.chart.title.text || "vue-ui-radar" });
395
404
  });
396
405
  }
397
- const S = c(!1);
406
+ const O = c(!1);
398
407
  function De(t) {
399
- S.value = t, he.value += 1;
408
+ O.value = t, he.value += 1;
400
409
  }
401
410
  function Be() {
402
411
  y.value.showTable = !y.value.showTable;
403
412
  }
404
- function Me() {
413
+ function Ee() {
405
414
  y.value.showTooltip = !y.value.showTooltip;
406
415
  }
407
- const j = c(!1);
416
+ const J = c(!1);
408
417
  function ie() {
409
- j.value = !j.value;
418
+ J.value = !J.value;
410
419
  }
411
- async function Ct({ scale: t = 2 } = {}) {
420
+ async function wt({ scale: t = 2 } = {}) {
412
421
  if (!C.value) return;
413
- const { width: a, height: o } = C.value.getBoundingClientRect(), l = a / o, { imageUri: n, base64: m } = await jt({ domElement: C.value, base64: !0, img: !0, scale: t });
422
+ const { width: a, height: o } = C.value.getBoundingClientRect(), l = a / o, { imageUri: s, base64: h } = await aa({ domElement: C.value, base64: !0, img: !0, scale: t });
414
423
  return {
415
- imageUri: n,
416
- base64: m,
424
+ imageUri: s,
425
+ base64: h,
417
426
  title: e.value.style.chart.title.text,
418
427
  width: a,
419
428
  height: o,
420
429
  aspectRatio: l
421
430
  };
422
431
  }
423
- const G = v(() => {
432
+ const W = v(() => {
424
433
  const t = e.value.table.useDialog && !e.value.table.show, a = y.value.showTable;
425
434
  return {
426
- component: t ? ut : ot,
435
+ component: t ? it : lt,
427
436
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
428
437
  props: t ? {
429
438
  backgroundColor: e.value.table.th.backgroundColor,
430
439
  color: e.value.table.th.color,
431
440
  headerColor: e.value.table.th.color,
432
441
  headerBg: e.value.table.th.backgroundColor,
433
- isFullscreen: S.value,
442
+ isFullscreen: O.value,
434
443
  fullscreenParent: C.value,
435
444
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
436
445
  } : {
@@ -450,53 +459,71 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
450
459
  }
451
460
  };
452
461
  });
453
- Ue(() => y.value.showTable, (t) => {
454
- e.value.table.show || (t && e.value.table.useDialog && V.value ? V.value.open() : "close" in V.value && V.value.close());
462
+ Ve(() => y.value.showTable, (t) => {
463
+ e.value.table.show || (t && e.value.table.useDialog && U.value ? U.value.open() : "close" in U.value && U.value.close());
455
464
  });
456
- function Ee() {
457
- y.value.showTable = !1, ee.value && ee.value.setTableIconState(!1);
465
+ function Me() {
466
+ y.value.showTable = !1, te.value && te.value.setTableIconState(!1);
467
+ }
468
+ const _t = v(() => P.value.map((t) => ({
469
+ ...t,
470
+ name: t.display
471
+ }))), $t = v(() => e.value.style.chart.backgroundColor), Tt = v(() => e.value.style.chart.legend), At = v(() => e.value.style.chart.title), { exportSvg: St, getSvg: xt } = na({
472
+ svg: q,
473
+ title: At,
474
+ legend: Tt,
475
+ legendItems: _t,
476
+ backgroundColor: $t
477
+ });
478
+ async function Ue({ isCb: t }) {
479
+ if (t) {
480
+ const { blob: a, url: o, text: l, dataUrl: s } = await xt();
481
+ e.value.userOptions.callbacks.svg({ blob: a, url: o, text: l, dataUrl: s });
482
+ } else
483
+ St();
458
484
  }
459
- return Qe({
460
- getData: pt,
461
- getImage: Ct,
462
- generatePdf: Se,
485
+ return Ze({
486
+ getData: ht,
487
+ getImage: wt,
488
+ generatePdf: Pe,
463
489
  generateCsv: ue,
464
- generateImage: Fe,
490
+ generateImage: Oe,
491
+ generateSvg: Ue,
465
492
  toggleTable: Be,
466
- toggleTooltip: Me,
493
+ toggleTooltip: Ee,
467
494
  toggleAnnotator: ie,
468
495
  toggleFullscreen: De
469
- }), (t, a) => (s(), u("div", {
470
- class: X(`vue-data-ui-component vue-ui-radar ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
496
+ }), (t, a) => (n(), u("div", {
497
+ class: G(`vue-data-ui-component vue-ui-radar ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
471
498
  ref_key: "radarChart",
472
499
  ref: C,
473
500
  id: `vue-ui-radar_${b.value}`,
474
- style: J(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
501
+ style: K(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
475
502
  onMouseenter: a[2] || (a[2] = () => r($e)(!0)),
476
503
  onMouseleave: a[3] || (a[3] = () => r($e)(!1))
477
504
  }, [
478
- e.value.userOptions.buttons.annotator ? (s(), P(r(st), {
505
+ e.value.userOptions.buttons.annotator ? (n(), S(r(nt), {
479
506
  key: 0,
480
- svgRef: r(ae),
507
+ svgRef: r(q),
481
508
  backgroundColor: e.value.style.chart.backgroundColor,
482
509
  color: e.value.style.chart.color,
483
- active: j.value,
510
+ active: J.value,
484
511
  onClose: ie
485
512
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
486
- ct.value ? (s(), u("div", {
513
+ vt.value ? (n(), u("div", {
487
514
  key: 1,
488
515
  ref_key: "noTitle",
489
516
  ref: ye,
490
517
  class: "vue-data-ui-no-title-space",
491
518
  style: "height:36px; width: 100%;background:transparent"
492
519
  }, null, 512)) : d("", !0),
493
- e.value.style.chart.title.text ? (s(), u("div", {
520
+ e.value.style.chart.title.text ? (n(), u("div", {
494
521
  key: 2,
495
522
  ref_key: "chartTitle",
496
523
  ref: ge,
497
524
  style: "width:100%;background:transparent;padding-bottom:12px"
498
525
  }, [
499
- (s(), P(Jt, {
526
+ (n(), S(oa, {
500
527
  key: `title_${be.value}`,
501
528
  config: {
502
529
  title: {
@@ -512,110 +539,112 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
512
539
  ], 512)) : d("", !0),
513
540
  $("div", {
514
541
  id: `legend-top-${b.value}`
515
- }, null, 8, ta),
516
- e.value.userOptions.show && pe.value && (r(Te) || r(te)) ? (s(), P(r(nt), {
542
+ }, null, 8, ia),
543
+ e.value.userOptions.show && pe.value && (r(Te) || r(ae)) ? (n(), S(r(rt), {
517
544
  ref_key: "userOptionsRef",
518
- ref: ee,
545
+ ref: te,
519
546
  key: `user_options_${he.value}`,
520
547
  backgroundColor: e.value.style.chart.backgroundColor,
521
548
  color: e.value.style.chart.color,
522
549
  isImaging: r(xe),
523
- isPrinting: r(Pe),
550
+ isPrinting: r(Se),
524
551
  uid: b.value,
525
552
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
526
553
  hasPdf: e.value.userOptions.buttons.pdf,
527
554
  hasImg: e.value.userOptions.buttons.img,
555
+ hasSvg: e.value.userOptions.buttons.svg,
528
556
  hasXls: e.value.userOptions.buttons.csv,
529
557
  hasTable: e.value.userOptions.buttons.table,
530
558
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
531
- isFullscreen: S.value,
559
+ isFullscreen: O.value,
532
560
  isTooltip: y.value.showTooltip,
533
561
  titles: { ...e.value.userOptions.buttonTitles },
534
562
  chartElement: C.value,
535
563
  position: e.value.userOptions.position,
536
564
  hasAnnotator: e.value.userOptions.buttons.annotator,
537
- isAnnotation: j.value,
565
+ isAnnotation: J.value,
538
566
  callbacks: e.value.userOptions.callbacks,
539
567
  printScale: e.value.userOptions.print.scale,
540
568
  tableDialog: e.value.table.useDialog,
541
569
  onToggleFullscreen: De,
542
- onGeneratePdf: r(Se),
570
+ onGeneratePdf: r(Pe),
543
571
  onGenerateCsv: ue,
544
- onGenerateImage: r(Fe),
572
+ onGenerateImage: r(Oe),
573
+ onGenerateSvg: Ue,
545
574
  onToggleTable: Be,
546
- onToggleTooltip: Me,
575
+ onToggleTooltip: Ee,
547
576
  onToggleAnnotator: ie,
548
- style: J({
549
- visibility: r(Te) ? r(te) ? "visible" : "hidden" : "visible"
577
+ style: K({
578
+ visibility: r(Te) ? r(ae) ? "visible" : "hidden" : "visible"
550
579
  })
551
- }, We({ _: 2 }, [
580
+ }, Ge({ _: 2 }, [
552
581
  t.$slots.menuIcon ? {
553
582
  name: "menuIcon",
554
- fn: h(({ isOpen: o, color: l }) => [
555
- g(t.$slots, "menuIcon", B(M({ isOpen: o, color: l })), void 0, !0)
583
+ fn: g(({ isOpen: o, color: l }) => [
584
+ f(t.$slots, "menuIcon", B(E({ isOpen: o, color: l })), void 0, !0)
556
585
  ]),
557
586
  key: "0"
558
587
  } : void 0,
559
588
  t.$slots.optionTooltip ? {
560
589
  name: "optionTooltip",
561
- fn: h(() => [
562
- g(t.$slots, "optionTooltip", {}, void 0, !0)
590
+ fn: g(() => [
591
+ f(t.$slots, "optionTooltip", {}, void 0, !0)
563
592
  ]),
564
593
  key: "1"
565
594
  } : void 0,
566
595
  t.$slots.optionPdf ? {
567
596
  name: "optionPdf",
568
- fn: h(() => [
569
- g(t.$slots, "optionPdf", {}, void 0, !0)
597
+ fn: g(() => [
598
+ f(t.$slots, "optionPdf", {}, void 0, !0)
570
599
  ]),
571
600
  key: "2"
572
601
  } : void 0,
573
602
  t.$slots.optionCsv ? {
574
603
  name: "optionCsv",
575
- fn: h(() => [
576
- g(t.$slots, "optionCsv", {}, void 0, !0)
604
+ fn: g(() => [
605
+ f(t.$slots, "optionCsv", {}, void 0, !0)
577
606
  ]),
578
607
  key: "3"
579
608
  } : void 0,
580
609
  t.$slots.optionImg ? {
581
610
  name: "optionImg",
582
- fn: h(() => [
583
- g(t.$slots, "optionImg", {}, void 0, !0)
611
+ fn: g(() => [
612
+ f(t.$slots, "optionImg", {}, void 0, !0)
584
613
  ]),
585
614
  key: "4"
586
615
  } : void 0,
587
616
  t.$slots.optionTable ? {
588
617
  name: "optionTable",
589
- fn: h(() => [
590
- g(t.$slots, "optionTable", {}, void 0, !0)
618
+ fn: g(() => [
619
+ f(t.$slots, "optionTable", {}, void 0, !0)
591
620
  ]),
592
621
  key: "5"
593
622
  } : void 0,
594
623
  t.$slots.optionFullscreen ? {
595
624
  name: "optionFullscreen",
596
- fn: h(({ toggleFullscreen: o, isFullscreen: l }) => [
597
- g(t.$slots, "optionFullscreen", B(M({ toggleFullscreen: o, isFullscreen: l })), void 0, !0)
625
+ fn: g(({ toggleFullscreen: o, isFullscreen: l }) => [
626
+ f(t.$slots, "optionFullscreen", B(E({ toggleFullscreen: o, isFullscreen: l })), void 0, !0)
598
627
  ]),
599
628
  key: "6"
600
629
  } : void 0,
601
630
  t.$slots.optionAnnotator ? {
602
631
  name: "optionAnnotator",
603
- fn: h(({ toggleAnnotator: o, isAnnotator: l }) => [
604
- g(t.$slots, "optionAnnotator", B(M({ toggleAnnotator: o, isAnnotator: l })), void 0, !0)
632
+ fn: g(({ toggleAnnotator: o, isAnnotator: l }) => [
633
+ f(t.$slots, "optionAnnotator", B(E({ toggleAnnotator: o, isAnnotator: l })), void 0, !0)
605
634
  ]),
606
635
  key: "7"
607
636
  } : void 0
608
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
609
- (s(), u("svg", {
637
+ ]), 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"])) : d("", !0),
638
+ (n(), u("svg", {
610
639
  ref_key: "svgRef",
611
- ref: ae,
612
- xmlns: r(Lt),
613
- class: X({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
640
+ ref: q,
641
+ xmlns: r(Ut),
642
+ class: G({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
614
643
  viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
615
- style: J(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
644
+ style: K(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
616
645
  }, [
617
- K(r(rt)),
618
- t.$slots["chart-background"] ? (s(), u("foreignObject", {
646
+ Q(r(ut)),
647
+ t.$slots["chart-background"] ? (n(), u("foreignObject", {
619
648
  key: 0,
620
649
  x: 0,
621
650
  y: 0,
@@ -625,10 +654,10 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
625
654
  pointerEvents: "none"
626
655
  }
627
656
  }, [
628
- g(t.$slots, "chart-background", {}, void 0, !0)
629
- ], 8, oa)) : d("", !0),
657
+ f(t.$slots, "chart-background", {}, void 0, !0)
658
+ ], 8, va)) : d("", !0),
630
659
  $("defs", null, [
631
- (s(!0), u(O, null, I(f.value, (o, l) => (s(), u("radialGradient", {
660
+ (n(!0), u(I, null, L(m.value, (o, l) => (n(), u("radialGradient", {
632
661
  cx: "50%",
633
662
  cy: "50%",
634
663
  r: "50%",
@@ -638,35 +667,35 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
638
667
  }, [
639
668
  $("stop", {
640
669
  offset: "0%",
641
- "stop-color": r(de)(r(Rt)(o.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
642
- }, null, 8, sa),
670
+ "stop-color": r(de)(r(Vt)(o.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
671
+ }, null, 8, pa),
643
672
  $("stop", {
644
673
  offset: "100%",
645
674
  "stop-color": r(de)(o.color, e.value.style.chart.layout.dataPolygon.opacity)
646
- }, null, 8, na)
647
- ], 8, la))), 256))
675
+ }, null, 8, ha)
676
+ ], 8, da))), 256))
648
677
  ]),
649
- e.value.style.chart.layout.grid.show ? (s(), u("g", ra, [
650
- (s(!0), u(O, null, I(A.value, (o) => (s(), u("line", {
678
+ e.value.style.chart.layout.grid.show ? (n(), u("g", ga, [
679
+ (n(!0), u(I, null, L(A.value, (o) => (n(), u("line", {
651
680
  x1: i.value.width / 2,
652
681
  y1: i.value.height / 2,
653
682
  x2: o.x,
654
683
  y2: o.y,
655
684
  stroke: e.value.style.chart.layout.grid.stroke,
656
685
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
657
- }, null, 8, ua))), 256)),
658
- e.value.style.chart.layout.grid.graduations > 0 ? (s(), u("g", ia, [
659
- (s(!0), u(O, null, I(ht.value, (o) => (s(), u("path", {
660
- d: r(qe)({
686
+ }, null, 8, fa))), 256)),
687
+ e.value.style.chart.layout.grid.graduations > 0 ? (n(), u("g", ma, [
688
+ (n(!0), u(I, null, L(gt.value, (o) => (n(), u("path", {
689
+ d: r(He)({
661
690
  plot: { x: i.value.width / 2, y: i.value.height / 2 },
662
691
  radius: o,
663
- sides: Le.value,
692
+ sides: Ne.value,
664
693
  rotation: 0
665
694
  }).path,
666
695
  fill: "none",
667
696
  stroke: e.value.style.chart.layout.grid.stroke,
668
697
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
669
- }, null, 8, ca))), 256))
698
+ }, null, 8, ya))), 256))
670
699
  ])) : d("", !0)
671
700
  ])) : d("", !0),
672
701
  $("path", {
@@ -676,62 +705,62 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
676
705
  "stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
677
706
  "stroke-linejoin": "round",
678
707
  "stroke-linecap": "round"
679
- }, null, 8, va),
680
- e.value.style.chart.layout.labels.dataLabels.show ? (s(), u("g", da, [
681
- (s(!0), u(O, null, I(A.value, (o, l) => (s(), u("text", {
708
+ }, null, 8, ba),
709
+ e.value.style.chart.layout.labels.dataLabels.show ? (n(), u("g", ka, [
710
+ (n(!0), u(I, null, L(A.value, (o, l) => (n(), u("text", {
682
711
  class: "vue-ui-radar-apex-label",
683
712
  x: o.labelX,
684
713
  y: o.labelY,
685
714
  "text-anchor": o.labelAnchor,
686
715
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
687
716
  fill: e.value.style.chart.layout.labels.dataLabels.color,
688
- onMouseenter: (n) => kt(o, l),
689
- onMouseleave: (n) => yt(o, l),
690
- onClick: (n) => bt(o, l)
691
- }, E(o.name), 41, pa))), 256))
717
+ onMouseenter: (s) => Ct(o, l),
718
+ onMouseleave: (s) => bt(o, l),
719
+ onClick: (s) => kt(o, l)
720
+ }, X(o.name), 41, Ca))), 256))
692
721
  ])) : d("", !0),
693
- (s(!0), u(O, null, I(f.value, (o, l) => (s(), u("g", null, [
722
+ (n(!0), u(I, null, L(m.value, (o, l) => (n(), u("g", null, [
694
723
  $("g", null, [
695
- e.value.useCssAnimation || !e.value.useCssAnimation && !p.value.includes(l) ? (s(), u("polygon", {
724
+ e.value.useCssAnimation || !e.value.useCssAnimation && !p.value.includes(l) ? (n(), u("polygon", {
696
725
  key: 0,
697
- points: r(je)(A.value.map((n) => n.plots[l]), !1, !0),
726
+ points: r(Je)(A.value.map((s) => s.plots[l]), !1, !0),
698
727
  stroke: e.value.style.chart.backgroundColor,
699
728
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth + 1,
700
729
  fill: "none",
701
- class: X({ "animated-out": p.value.includes(l) && e.value.useCssAnimation, "animated-in": z.value && W.value === l && e.value.useCssAnimation })
702
- }, null, 10, ha)) : d("", !0),
703
- e.value.useCssAnimation || !e.value.useCssAnimation && !p.value.includes(l) ? (s(), u("polygon", {
730
+ class: G({ "animated-out": p.value.includes(l) && e.value.useCssAnimation, "animated-in": D.value && V.value === l && e.value.useCssAnimation })
731
+ }, null, 10, wa)) : d("", !0),
732
+ e.value.useCssAnimation || !e.value.useCssAnimation && !p.value.includes(l) ? (n(), u("polygon", {
704
733
  key: 1,
705
- points: r(je)(A.value.map((n) => n.plots[l]), !1, !0),
734
+ points: r(Je)(A.value.map((s) => s.plots[l]), !1, !0),
706
735
  stroke: o.color,
707
736
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
708
737
  fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${b.value}_${l})` : r(de)(o.color, e.value.style.chart.layout.dataPolygon.opacity),
709
- class: X({ "animated-out": p.value.includes(l) && e.value.useCssAnimation, "animated-in": z.value && W.value === l && e.value.useCssAnimation })
710
- }, null, 10, ga)) : d("", !0)
738
+ class: G({ "animated-out": p.value.includes(l) && e.value.useCssAnimation, "animated-in": D.value && V.value === l && e.value.useCssAnimation })
739
+ }, null, 10, _a)) : d("", !0)
711
740
  ])
712
741
  ]))), 256)),
713
- e.value.style.chart.layout.plots.show ? (s(), u("g", fa, [
714
- (s(!0), u(O, null, I(A.value, (o, l) => (s(), u("g", null, [
715
- (s(!0), u(O, null, I(o.plots, (n, m) => (s(), u("circle", {
716
- cx: n.x,
717
- cy: n.y,
718
- fill: p.value.includes(m) ? "transparent" : f.value[m] ? f.value[m].color : "transparent",
719
- r: H.value !== null && H.value === l ? e.value.style.chart.layout.plots.radius * 1.6 : e.value.style.chart.layout.plots.radius,
720
- stroke: p.value.includes(m) ? "transparent" : e.value.style.chart.backgroundColor,
742
+ e.value.style.chart.layout.plots.show ? (n(), u("g", $a, [
743
+ (n(!0), u(I, null, L(A.value, (o, l) => (n(), u("g", null, [
744
+ (n(!0), u(I, null, L(o.plots, (s, h) => (n(), u("circle", {
745
+ cx: s.x,
746
+ cy: s.y,
747
+ fill: p.value.includes(h) ? "transparent" : m.value[h] ? m.value[h].color : "transparent",
748
+ r: j.value !== null && j.value === l ? e.value.style.chart.layout.plots.radius * 1.6 : e.value.style.chart.layout.plots.radius,
749
+ stroke: p.value.includes(h) ? "transparent" : e.value.style.chart.backgroundColor,
721
750
  "stroke-width": 0.5,
722
- class: X({ "animated-out": p.value.includes(m) && e.value.useCssAnimation, "animated-in": z.value && W.value === m && e.value.useCssAnimation })
723
- }, null, 10, ma))), 256))
751
+ class: G({ "animated-out": p.value.includes(h) && e.value.useCssAnimation, "animated-in": D.value && V.value === h && e.value.useCssAnimation })
752
+ }, null, 10, Ta))), 256))
724
753
  ]))), 256))
725
754
  ])) : d("", !0),
726
- g(t.$slots, "svg", { svg: i.value }, void 0, !0)
727
- ], 14, aa)),
728
- t.$slots.watermark ? (s(), u("div", ya, [
729
- g(t.$slots, "watermark", B(M({ isPrinting: r(Pe) || r(xe) })), void 0, !0)
755
+ f(t.$slots, "svg", { svg: i.value }, void 0, !0)
756
+ ], 14, ca)),
757
+ t.$slots.watermark ? (n(), u("div", Aa, [
758
+ f(t.$slots, "watermark", B(E({ isPrinting: r(Se) || r(xe) })), void 0, !0)
730
759
  ])) : d("", !0),
731
760
  $("div", {
732
761
  id: `legend-bottom-${b.value}`
733
- }, null, 8, ba),
734
- we.value ? (s(), P(Tt, {
762
+ }, null, 8, Sa),
763
+ we.value ? (n(), S(It, {
735
764
  key: 5,
736
765
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${b.value}` : `#legend-bottom-${b.value}`
737
766
  }, [
@@ -739,40 +768,36 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
739
768
  ref_key: "chartLegend",
740
769
  ref: fe
741
770
  }, [
742
- e.value.style.chart.legend.show ? (s(), P(Kt, {
771
+ e.value.style.chart.legend.show ? (n(), S(la, {
743
772
  key: `legend_${Ce.value}`,
744
- legendSet: D.value,
745
- config: mt.value,
773
+ legendSet: P.value,
774
+ config: yt.value,
746
775
  onClickMarker: a[0] || (a[0] = ({ i: o }) => Ie(o))
747
776
  }, {
748
- item: h(({ legend: o, index: l }) => [
749
- r(_e) ? d("", !0) : (s(), u("div", {
777
+ item: g(({ legend: o, index: l }) => [
778
+ r(_e) ? d("", !0) : (n(), u("div", {
750
779
  key: 0,
751
- onClick: (n) => o.segregate(),
752
- style: J(`opacity:${p.value.includes(l) ? 0.5 : 1}`)
753
- }, E(o.name) + ": " + E(r(Y)({
754
- v: o.totalProportion * 100,
755
- s: "%",
756
- r: e.value.style.chart.legend.roundingPercentage
757
- })), 13, ka))
780
+ onClick: (s) => o.segregate(),
781
+ style: K(`opacity:${p.value.includes(l) ? 0.5 : 1}`)
782
+ }, X(o.display), 13, xa))
758
783
  ]),
759
784
  _: 1
760
- }, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
785
+ }, 8, ["legendSet", "config"])) : f(t.$slots, "legend", {
761
786
  key: 1,
762
- legend: D.value
787
+ legend: P.value
763
788
  }, void 0, !0)
764
789
  ], 512)
765
790
  ], 8, ["to"])) : d("", !0),
766
- t.$slots.source ? (s(), u("div", {
791
+ t.$slots.source ? (n(), u("div", {
767
792
  key: 6,
768
793
  ref_key: "source",
769
794
  ref: me,
770
795
  dir: "auto"
771
796
  }, [
772
- g(t.$slots, "source", {}, void 0, !0)
797
+ f(t.$slots, "source", {}, void 0, !0)
773
798
  ], 512)) : d("", !0),
774
- K(r(et), {
775
- show: y.value.showTooltip && Q.value,
799
+ Q(r(tt), {
800
+ show: y.value.showTooltip && Z.value,
776
801
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
777
802
  color: e.value.style.chart.tooltip.color,
778
803
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -783,50 +808,50 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
783
808
  position: e.value.style.chart.tooltip.position,
784
809
  offsetY: e.value.style.chart.tooltip.offsetY,
785
810
  parent: C.value,
786
- content: Z.value,
787
- isFullscreen: S.value,
811
+ content: ee.value,
812
+ isFullscreen: O.value,
788
813
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
789
814
  smooth: e.value.style.chart.tooltip.smooth,
790
815
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
791
816
  smoothForce: e.value.style.chart.tooltip.smoothForce,
792
817
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
793
818
  }, {
794
- "tooltip-before": h(() => [
795
- g(t.$slots, "tooltip-before", B(M({ ...re.value })), void 0, !0)
819
+ "tooltip-before": g(() => [
820
+ f(t.$slots, "tooltip-before", B(E({ ...re.value })), void 0, !0)
796
821
  ]),
797
- "tooltip-after": h(() => [
798
- ["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? d("", !0) : (s(), u("div", Ca, [
799
- K(r(at), {
822
+ "tooltip-after": g(() => [
823
+ ["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? d("", !0) : (n(), u("div", Pa, [
824
+ Q(r(ot), {
800
825
  dataset: ne.value,
801
- config: vt.value,
826
+ config: dt.value,
802
827
  backgroundOpacity: 0
803
828
  }, null, 8, ["dataset", "config"])
804
829
  ])),
805
- g(t.$slots, "tooltip-after", B(M({ ...re.value })), void 0, !0)
830
+ f(t.$slots, "tooltip-after", B(E({ ...re.value })), void 0, !0)
806
831
  ]),
807
832
  _: 3
808
833
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "fontSize", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
809
- pe.value && e.value.userOptions.buttons.table ? (s(), P(At(G.value.component), Pt({ key: 7 }, G.value.props, {
834
+ pe.value && e.value.userOptions.buttons.table ? (n(), S(Lt(W.value.component), Nt({ key: 7 }, W.value.props, {
810
835
  ref_key: "tableUnit",
811
- ref: V,
812
- onClose: Ee
813
- }), We({
814
- content: h(() => [
815
- (s(), P(r(lt), {
836
+ ref: U,
837
+ onClose: Me
838
+ }), Ge({
839
+ content: g(() => [
840
+ (n(), S(r(st), {
816
841
  key: `table_${ke.value}`,
817
- colNames: q.value.colNames,
818
- head: q.value.head,
819
- body: q.value.body,
820
- config: q.value.config,
821
- title: e.value.table.useDialog ? "" : G.value.title,
842
+ colNames: H.value.colNames,
843
+ head: H.value.head,
844
+ body: H.value.body,
845
+ config: H.value.config,
846
+ title: e.value.table.useDialog ? "" : W.value.title,
822
847
  withCloseButton: !e.value.table.useDialog,
823
- onClose: Ee
848
+ onClose: Me
824
849
  }, {
825
- th: h(({ th: o }) => [
826
- ve(E(o.name), 1)
850
+ th: g(({ th: o }) => [
851
+ ve(X(o.name), 1)
827
852
  ]),
828
- td: h(({ td: o }) => [
829
- ve(E(o), 1)
853
+ td: g(({ td: o }) => [
854
+ ve(X(o), 1)
830
855
  ]),
831
856
  _: 1
832
857
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -835,32 +860,32 @@ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
835
860
  }, [
836
861
  e.value.table.useDialog ? {
837
862
  name: "title",
838
- fn: h(() => [
839
- ve(E(G.value.title), 1)
863
+ fn: g(() => [
864
+ ve(X(W.value.title), 1)
840
865
  ]),
841
866
  key: "0"
842
867
  } : void 0,
843
868
  e.value.table.useDialog ? {
844
869
  name: "actions",
845
- fn: h(() => [
870
+ fn: g(() => [
846
871
  $("button", {
847
872
  tabindex: "0",
848
873
  class: "vue-ui-user-options-button",
849
874
  onClick: a[1] || (a[1] = (o) => ue(e.value.userOptions.callbacks.csv))
850
875
  }, [
851
- K(r(tt), {
876
+ Q(r(at), {
852
877
  name: "excel",
853
- stroke: G.value.props.color
878
+ stroke: W.value.props.color
854
879
  }, null, 8, ["stroke"])
855
880
  ])
856
881
  ]),
857
882
  key: "1"
858
883
  } : void 0
859
884
  ]), 1040)) : d("", !0),
860
- r(_e) ? (s(), P(Gt, { key: 8 })) : d("", !0)
861
- ], 46, ea));
885
+ r(_e) ? (n(), S(Kt, { key: 8 })) : d("", !0)
886
+ ], 46, ua));
862
887
  }
863
- }, Ba = /* @__PURE__ */ Zt(wa, [["__scopeId", "data-v-a432366e"]]);
888
+ }, qa = /* @__PURE__ */ ra(Oa, [["__scopeId", "data-v-cfb6bdec"]]);
864
889
  export {
865
- Ba as default
890
+ qa as default
866
891
  };