vue-data-ui 3.4.9 → 3.5.1

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 (151) hide show
  1. package/README.md +114 -37
  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-CTUqGqWV.js → PackageVersion-DQvyATVa.js} +1 -1
  5. package/dist/PenAndPaper-SZQIAgkg.js +388 -0
  6. package/dist/{Title-l36lOBMx.js → Title-isbiM8i8.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-DjGXw6S9.js} +22 -8
  73. package/dist/{vue-data-ui-DjxWWa78.js → vue-data-ui-B_RxfmEm.js} +113 -107
  74. package/dist/vue-data-ui.js +64 -64
  75. package/dist/{vue-ui-3d-bar-CLE7f9pl.js → vue-ui-3d-bar-CMNYyVa2.js} +454 -434
  76. package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-CqhVCfc2.js} +1 -1
  77. package/dist/{vue-ui-age-pyramid-D73uIOPm.js → vue-ui-age-pyramid-Vqa9iYXE.js} +180 -160
  78. package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-nNv10fBm.js} +3 -3
  79. package/dist/{vue-ui-bullet-Bybo0xK2.js → vue-ui-bullet-BWEBeYV5.js} +190 -170
  80. package/dist/{vue-ui-candlestick-D_FyMdqH.js → vue-ui-candlestick-BoLzL0g1.js} +201 -181
  81. package/dist/{vue-ui-carousel-table-BvMlNdVo.js → vue-ui-carousel-table-Bi6wvUUU.js} +2 -2
  82. package/dist/{vue-ui-chestnut-DA0g0bDV.js → vue-ui-chestnut-BGz1TLXG.js} +375 -355
  83. package/dist/vue-ui-chord-CebhS7ln.js +1153 -0
  84. package/dist/{vue-ui-circle-pack-BPDm-ro5.js → vue-ui-circle-pack-7PJVyKjp.js} +289 -269
  85. package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-qYLAwvzn.js} +1 -1
  86. package/dist/vue-ui-dashboard-DcmMvhgM.js +432 -0
  87. package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-DyE8eU1m.js} +1 -1
  88. package/dist/vue-ui-donut-CxZcJFTo.js +1681 -0
  89. package/dist/{vue-ui-donut-evolution-Ca3Svr0B.js → vue-ui-donut-evolution-BVYL-BUJ.js} +480 -444
  90. package/dist/{vue-ui-dumbbell-CxCE2luV.js → vue-ui-dumbbell-QxZn86A3.js} +210 -190
  91. package/dist/{vue-ui-flow-DEvwXd4W.js → vue-ui-flow-DEI5LRch.js} +339 -319
  92. package/dist/{vue-ui-funnel-Bgcx7xia.js → vue-ui-funnel-B_A5orFg.js} +218 -198
  93. package/dist/{vue-ui-galaxy-BWr1EMob.js → vue-ui-galaxy-CUoDRr-O.js} +313 -277
  94. package/dist/{vue-ui-gauge-DQricvo2.js → vue-ui-gauge-46tSRZN5.js} +311 -291
  95. package/dist/{vue-ui-gizmo-C-fKe3io.js → vue-ui-gizmo-BOgbsXao.js} +2 -2
  96. package/dist/{vue-ui-heatmap-B-o_i7Hu.js → vue-ui-heatmap-DKKjl1A2.js} +303 -283
  97. package/dist/{vue-ui-history-plot-DzQ9DPUJ.js → vue-ui-history-plot-C6p_aThr.js} +478 -442
  98. package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-B1yJ83aF.js} +2 -2
  99. package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-BudcNBg-.js} +1 -1
  100. package/dist/{vue-ui-molecule-I2OhrCR2.js → vue-ui-molecule-L90GnHee.js} +156 -136
  101. package/dist/{vue-ui-mood-radar-BAT7kZUy.js → vue-ui-mood-radar-Dhigm5rw.js} +266 -246
  102. package/dist/{vue-ui-nested-donuts-CjhJDAQi.js → vue-ui-nested-donuts-D0MCLs5n.js} +597 -557
  103. package/dist/vue-ui-onion-B7yPJ3gL.js +915 -0
  104. package/dist/vue-ui-parallel-coordinate-plot-DY21ivNe.js +1051 -0
  105. package/dist/{vue-ui-quadrant-DGnasrCR.js → vue-ui-quadrant-b0vMRaq-.js} +532 -495
  106. package/dist/{vue-ui-quick-chart-Cam_sWet.js → vue-ui-quick-chart-VK2EN7sh.js} +288 -268
  107. package/dist/{vue-ui-radar-DNI9WI2R.js → vue-ui-radar-B5Vkoz9M.js} +412 -373
  108. package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-BH4DW1ZY.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-Dj1jhcsl.js → vue-ui-relation-circle-XHbE-ZUX.js} +228 -208
  110. package/dist/{vue-ui-ridgeline-adIls6bj.js → vue-ui-ridgeline-CAMNq-p_.js} +517 -481
  111. package/dist/vue-ui-rings-ImGOqm_J.js +855 -0
  112. package/dist/vue-ui-scatter-CterNJYe.js +1590 -0
  113. package/dist/{vue-ui-skeleton-DUdI2uOO.js → vue-ui-skeleton-CykXHWj-.js} +2 -2
  114. package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-DnGm6qrK.js} +1 -1
  115. package/dist/{vue-ui-spark-trend-DxpRfUJz.js → vue-ui-spark-trend-N1AsNQJA.js} +2 -2
  116. package/dist/{vue-ui-sparkbar-B44oER5n.js → vue-ui-sparkbar-Bvsi5DTT.js} +2 -2
  117. package/dist/{vue-ui-sparkgauge-ix12NZ7M.js → vue-ui-sparkgauge-DyJmWCWT.js} +2 -2
  118. package/dist/{vue-ui-sparkhistogram-Cs-QDYBR.js → vue-ui-sparkhistogram-5eKrkmSb.js} +143 -140
  119. package/dist/{vue-ui-sparkline-Cb8ZmyUq.js → vue-ui-sparkline-ChKAzlVq.js} +2 -2
  120. package/dist/vue-ui-sparkstackbar-BXNy6nuw.js +441 -0
  121. package/dist/vue-ui-stackbar-1IwvUYBO.js +1827 -0
  122. package/dist/{vue-ui-strip-plot-BjG-Jxnb.js → vue-ui-strip-plot-B1wGxP8-.js} +245 -225
  123. package/dist/{vue-ui-table-DdBdLrAL.js → vue-ui-table-DSsIrT4L.js} +3 -3
  124. package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-DXFHy7-E.js} +1 -1
  125. package/dist/{vue-ui-table-sparkline-EpCo2Be5.js → vue-ui-table-sparkline-DpqY_4ay.js} +2 -2
  126. package/dist/vue-ui-thermometer-CMKvSA8p.js +584 -0
  127. package/dist/{vue-ui-timer-Br3wp8hG.js → vue-ui-timer-BpdCY_wg.js} +3 -3
  128. package/dist/vue-ui-tiremarks-CNipzVli.js +450 -0
  129. package/dist/vue-ui-treemap-DPE8SY0_.js +1330 -0
  130. package/dist/{vue-ui-vertical-bar-yfbEfLqy.js → vue-ui-vertical-bar-ZU1GCbX0.js} +484 -448
  131. package/dist/{vue-ui-waffle-m-9sqQik.js → vue-ui-waffle-z7nuSuSV.js} +398 -362
  132. package/dist/vue-ui-wheel-DLRoRjeM.js +663 -0
  133. package/dist/{vue-ui-word-cloud-vNwswYZD.js → vue-ui-word-cloud-D2r5E3pP.js} +248 -228
  134. package/dist/{vue-ui-world-BsCNyZy_.js → vue-ui-world-goXYnTyM.js} +287 -267
  135. package/dist/{vue-ui-xy-CIrw1lWQ.js → vue-ui-xy-NDDbNbds.js} +1263 -1227
  136. package/dist/{vue-ui-xy-canvas-DXnLFwW3.js → vue-ui-xy-canvas-2a6NlQe3.js} +338 -322
  137. package/package.json +4 -4
  138. package/dist/PenAndPaper-DSvu9dwa.js +0 -373
  139. package/dist/vue-ui-chord-CDgzolI-.js +0 -1133
  140. package/dist/vue-ui-dashboard-CeJwbiON.js +0 -412
  141. package/dist/vue-ui-donut-DjQXHBJE.js +0 -1645
  142. package/dist/vue-ui-onion-DTY2p87s.js +0 -873
  143. package/dist/vue-ui-parallel-coordinate-plot-C8aWTcNn.js +0 -1014
  144. package/dist/vue-ui-rings-CnTMFK6R.js +0 -813
  145. package/dist/vue-ui-scatter-fzR2c0St.js +0 -1554
  146. package/dist/vue-ui-sparkstackbar-BiRZ51OU.js +0 -424
  147. package/dist/vue-ui-stackbar-DubS6Pg8.js +0 -1708
  148. package/dist/vue-ui-thermometer-DTnfnf9z.js +0 -564
  149. package/dist/vue-ui-tiremarks-CrC_tlIx.js +0 -430
  150. package/dist/vue-ui-treemap-kyuyi2ES.js +0 -1294
  151. package/dist/vue-ui-wheel-BasM7FWt.js +0 -643
@@ -1,21 +1,21 @@
1
- import { defineAsyncComponent as x, ref as o, computed as i, toRefs as wt, onMounted as Ct, watch as Le, createElementBlock as c, openBlock as n, unref as u, normalizeStyle as W, normalizeClass as G, createBlock as T, createCommentVNode as d, createElementVNode as k, createVNode as ae, createSlots as Fe, withCtx as v, renderSlot as h, normalizeProps as I, guardReactiveProps as D, Fragment as Ae, renderList as Ne, Teleport as $t, toDisplayString as oe, resolveDynamicComponent as xt, mergeProps as Tt, createTextVNode as Be, nextTick as Ve } from "vue";
2
- import { c as Ee, t as St, o as Ot, f as Me, g as Pt, b as _t, p as z, e as It, a1 as Re, h as Dt, a5 as Lt, a as We, d as S, X as Ft, G as Ge, P as At, Q as Nt, H as Bt } from "./lib-C_mNZmhD.js";
3
- import { t as Vt, u as Et } from "./useResponsive-DfdjqQps.js";
4
- import { u as Mt, a as ze } from "./useNestedProp-BjZe1Y85.js";
5
- import { u as Rt, B as Wt } from "./BaseScanner-BgWxam9d.js";
6
- import { u as Gt } from "./usePrinter-DTzqpYKF.js";
7
- import { u as zt } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as Ht } from "./useChartAccessibility-9icAAmYg.js";
9
- import Ut from "./img-BecE5qXd.js";
10
- import { t as Xt } from "./themes-AUNCOb2G.js";
11
- import Yt from "./Title-l36lOBMx.js";
12
- import jt from "./Legend-G6GMcdAc.js";
13
- import { u as qt } from "./useSvgExport-DrjCWun4.js";
14
- import { _ as Qt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const Jt = ["id"], Kt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "height"], tl = ["id"], ll = ["stdDeviation"], al = ["d", "stroke", "stroke-width"], ol = ["d", "stroke", "stroke-width"], sl = ["filter"], nl = ["d", "stroke", "stroke-width"], ul = ["d", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], rl = {
1
+ import { defineAsyncComponent as O, ref as o, computed as v, toRefs as Tt, onMounted as xt, watch as Fe, createElementBlock as d, openBlock as n, unref as u, normalizeStyle as W, normalizeClass as U, createBlock as P, createCommentVNode as h, createElementVNode as $, createVNode as ae, withCtx as i, renderSlot as c, normalizeProps as y, guardReactiveProps as b, createSlots as Ae, Fragment as Ne, renderList as Be, Teleport as St, toDisplayString as oe, resolveDynamicComponent as Ot, mergeProps as Pt, createTextVNode as Ve, nextTick as Ee } from "vue";
2
+ import { c as Me, t as It, o as _t, f as Ge, g as Dt, b as Lt, p as z, e as Ft, a1 as Re, h as At, a5 as Nt, a as We, d as I, X as Bt, G as Ue, P as Vt, Q as Et, H as Mt } from "./lib-C_mNZmhD.js";
3
+ import { t as Gt, u as Rt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Wt, a as ze } from "./useNestedProp-DjGXw6S9.js";
5
+ import { u as Ut, B as zt } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as Ht } from "./usePrinter-DTzqpYKF.js";
7
+ import { u as Xt } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as Yt } from "./useChartAccessibility-9icAAmYg.js";
9
+ import jt from "./img-BecE5qXd.js";
10
+ import { t as qt } from "./themes-AUNCOb2G.js";
11
+ import Qt from "./Title-isbiM8i8.js";
12
+ import Jt from "./Legend-G6GMcdAc.js";
13
+ import { u as Kt } from "./useSvgExport-DrjCWun4.js";
14
+ import { _ as Zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "height"], ol = ["id"], sl = ["stdDeviation"], nl = ["d", "stroke", "stroke-width"], ul = ["d", "stroke", "stroke-width"], rl = ["filter"], il = ["d", "stroke", "stroke-width"], cl = ["d", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], vl = {
16
16
  key: 4,
17
17
  class: "vue-data-ui-watermark"
18
- }, il = ["id"], vl = ["onClick"], cl = ["innerHTML"], dl = {
18
+ }, dl = ["id"], hl = ["onClick"], gl = ["innerHTML"], pl = {
19
19
  __name: "vue-ui-galaxy",
20
20
  props: {
21
21
  config: {
@@ -32,14 +32,14 @@ const Jt = ["id"], Kt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
32
32
  }
33
33
  },
34
34
  emits: ["selectLegend", "selectDatapoint"],
35
- setup(He, { expose: Ue, emit: Xe }) {
36
- const Ye = x(() => import("./Tooltip-oWCO1HKy.js")), je = x(() => import("./BaseIcon-BmMbm4d0.js")), qe = x(() => import("./vue-ui-accordion-CZ0thhxa.js")), Qe = x(() => import("./DataTable-BT7VF2ua.js")), Je = x(() => import("./PenAndPaper-DSvu9dwa.js")), Ke = x(() => import("./UserOptions-CGnQt6Fd.js")), Ze = x(() => import("./PackageVersion-CTUqGqWV.js")), et = x(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_galaxy: tt } = Mt(), w = He, y = o(Ee()), b = o(null), H = o(!1), U = o(""), O = o(null), se = o(0), ne = o(0), ue = o(0), re = o(0), ie = o(null), ve = o(null), ce = o(null), de = o(null), L = o(null), B = o(null), he = o(!1), F = o(null), X = o(null), ge = i(() => !!w.dataset && w.dataset.length), e = o(Q()), { loading: Y, FINAL_DATASET: pe } = Rt({
37
- ...wt(w),
35
+ setup(He, { expose: Xe, emit: Ye }) {
36
+ const je = O(() => import("./Tooltip-oWCO1HKy.js")), qe = O(() => import("./BaseIcon-BmMbm4d0.js")), Qe = O(() => import("./vue-ui-accordion-CqhVCfc2.js")), Je = O(() => import("./DataTable-BT7VF2ua.js")), Ke = O(() => import("./PenAndPaper-SZQIAgkg.js")), Ze = O(() => import("./UserOptions-CGnQt6Fd.js")), et = O(() => import("./PackageVersion-DQvyATVa.js")), tt = O(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_galaxy: lt } = Wt(), T = He, m = o(Me()), k = o(null), H = o(!1), X = o(""), _ = o(null), se = o(0), ne = o(0), ue = o(0), re = o(0), ie = o(null), ce = o(null), ve = o(null), de = o(null), L = o(null), V = o(null), he = o(!1), F = o(null), Y = o(null), ge = v(() => !!T.dataset && T.dataset.length), e = o(J()), { loading: j, FINAL_DATASET: pe } = Ut({
37
+ ...Tt(T),
38
38
  FINAL_CONFIG: e,
39
- prepareConfig: Q,
39
+ prepareConfig: J,
40
40
  callback: () => {
41
41
  Promise.resolve().then(async () => {
42
- await Ve(), p.value.showTable = e.value.table.show;
42
+ await Ee(), p.value.showTable = e.value.table.show;
43
43
  });
44
44
  },
45
45
  skeletonDataset: [
@@ -47,7 +47,7 @@ const Jt = ["id"], Kt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
47
47
  { name: "_", values: [13], color: "#C4C4C4" },
48
48
  { name: "_", values: [8], color: "#ADADAD" }
49
49
  ],
50
- skeletonConfig: St({
50
+ skeletonConfig: It({
51
51
  defaultConfig: e.value,
52
52
  userConfig: {
53
53
  userOptions: { show: !1 },
@@ -64,21 +64,21 @@ const Jt = ["id"], Kt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
64
64
  }
65
65
  })
66
66
  });
67
- Ct(() => {
67
+ xt(() => {
68
68
  he.value = !0, ye();
69
69
  });
70
- const fe = i(() => !!e.value.debug);
70
+ const fe = v(() => !!e.value.debug);
71
71
  function ye() {
72
- if (Ot(w.dataset) ? Me({
72
+ if (_t(T.dataset) ? Ge({
73
73
  componentName: "VueUiGalaxy",
74
74
  type: "dataset",
75
75
  debug: fe.value
76
- }) : w.dataset.forEach((t, a) => {
77
- Pt({
76
+ }) : T.dataset.forEach((t, a) => {
77
+ Dt({
78
78
  datasetObject: t,
79
79
  requiredAttributes: ["name", "values"]
80
80
  }).forEach((l) => {
81
- Me({
81
+ Ge({
82
82
  componentName: "VueUiGalaxy",
83
83
  type: "datasetSerieAttribute",
84
84
  property: l,
@@ -87,211 +87,225 @@ const Jt = ["id"], Kt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
87
87
  });
88
88
  });
89
89
  }), e.value.responsive) {
90
- const t = Vt(() => {
91
- const { width: a, height: l } = Et({
92
- chart: b.value,
90
+ const t = Gt(() => {
91
+ const { width: a, height: l } = Rt({
92
+ chart: k.value,
93
93
  title: e.value.style.chart.title.text ? ie.value : null,
94
- legend: e.value.style.chart.legend.show ? ve.value : null,
94
+ legend: e.value.style.chart.legend.show ? ce.value : null,
95
95
  noTitle: de.value,
96
- source: ce.value
96
+ source: ve.value
97
97
  });
98
98
  requestAnimationFrame(() => {
99
- V.value = Math.max(0.1, a), E.value = Math.max(0.1, l - 12);
99
+ E.value = Math.max(0.1, a), M.value = Math.max(0.1, l - 12);
100
100
  });
101
101
  });
102
- L.value && (B.value && L.value.unobserve(B.value), L.value.disconnect()), L.value = new ResizeObserver(t), B.value = b.value.parentNode, L.value.observe(B.value);
102
+ L.value && (V.value && L.value.unobserve(V.value), L.value.disconnect()), L.value = new ResizeObserver(t), V.value = k.value.parentNode, L.value.observe(V.value);
103
103
  }
104
104
  }
105
- const { userOptionsVisible: j, setUserOptionsVisibility: be, keepUserOptionState: me } = zt({ config: e.value }), { svgRef: q } = Ht({ config: e.value.style.chart.title });
106
- function Q() {
105
+ const { userOptionsVisible: q, setUserOptionsVisibility: be, keepUserOptionState: me } = Xt({ config: e.value }), { svgRef: Q } = Yt({ config: e.value.style.chart.title });
106
+ function J() {
107
107
  const t = ze({
108
- userConfig: w.config,
109
- defaultConfig: tt
108
+ userConfig: T.config,
109
+ defaultConfig: lt
110
110
  });
111
111
  return t.theme ? {
112
112
  ...ze({
113
- userConfig: Xt.vue_ui_galaxy[t.theme] || w.config,
113
+ userConfig: qt.vue_ui_galaxy[t.theme] || T.config,
114
114
  defaultConfig: t
115
115
  }),
116
- customPalette: _t[t.theme] || z
116
+ customPalette: Lt[t.theme] || z
117
117
  } : t;
118
118
  }
119
- Le(() => w.config, (t) => {
120
- e.value = Q(), j.value = !e.value.userOptions.showOnChartHover, ye(), ne.value += 1, ue.value += 1, re.value += 1, p.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
119
+ Fe(() => T.config, (t) => {
120
+ e.value = J(), q.value = !e.value.userOptions.showOnChartHover, ye(), ne.value += 1, ue.value += 1, re.value += 1, p.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
121
121
  }, { deep: !0 });
122
- const { isPrinting: ke, isImaging: we, generatePdf: Ce, generateImage: $e } = Gt({
123
- elementId: `galaxy_${y.value}`,
122
+ const { isPrinting: ke, isImaging: we, generatePdf: Ce, generateImage: $e } = Ht({
123
+ elementId: `galaxy_${m.value}`,
124
124
  fileName: e.value.style.chart.title.text || "vue-ui-galaxy",
125
125
  options: e.value.userOptions.print
126
- }), lt = i(() => e.value.userOptions.show && !e.value.style.chart.title.text), at = i(() => It(e.value.customPalette)), p = o({
126
+ }), at = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), ot = v(() => Ft(e.value.customPalette)), p = o({
127
127
  dataLabels: {
128
128
  show: e.value.style.chart.layout.labels.dataLabels.show
129
129
  },
130
130
  showTable: e.value.table.show,
131
131
  showTooltip: e.value.style.chart.tooltip.show
132
- }), V = o(250), E = o(180), ot = o(0), st = o(0), C = i(() => ({
133
- width: V.value,
134
- height: E.value,
135
- viewBox: `${ot.value} ${st.value} ${V.value} ${E.value}`
136
- })), xe = Xe, f = o([]);
137
- function J(t) {
138
- f.value.includes(t.id) ? f.value = f.value.filter((a) => a !== t.id) : f.value.push(t.id), xe("selectLegend", A.value.map((a) => ({
132
+ }), E = o(250), M = o(180), st = o(0), nt = o(0), x = v(() => ({
133
+ width: E.value,
134
+ height: M.value,
135
+ viewBox: `${st.value} ${nt.value} ${E.value} ${M.value}`
136
+ })), Te = Ye, f = o([]);
137
+ function A(t) {
138
+ f.value.includes(t.id) ? f.value = f.value.filter((a) => a !== t.id) : f.value.push(t.id), Te("selectLegend", N.value.map((a) => ({
139
139
  name: a.name,
140
140
  color: a.color,
141
141
  value: a.value
142
142
  })));
143
143
  }
144
- const P = i(() => pe.value.map((t, a) => ({
144
+ function xe(t) {
145
+ if (!w.value.length)
146
+ return e.value.debug && console.warn("VueUiGalaxy - There are no series to show."), null;
147
+ const a = w.value.find((l) => l.name === t);
148
+ return a || (e.value.debug && console.warn(`VueUiGalaxy - Series name not found "${t}"`), null);
149
+ }
150
+ function ut(t) {
151
+ const a = xe(t);
152
+ a !== null && f.value.includes(a.id) && A({ id: a.id });
153
+ }
154
+ function rt(t) {
155
+ const a = xe(t);
156
+ a !== null && (f.value.includes(a.id) || A({ id: a.id }));
157
+ }
158
+ const w = v(() => pe.value.map((t, a) => ({
145
159
  name: t.name,
146
- color: Dt(t.color) || at.value[a] || z[a] || z[a % z.length],
160
+ color: At(t.color) || ot.value[a] || z[a] || z[a % z.length],
147
161
  value: t.values ? Re(t.values).reduce((l, s) => l + s, 0) : 0,
148
162
  absoluteValues: Re(t.values),
149
- id: Ee()
163
+ id: Me()
150
164
  })).sort((t, a) => a.value - t.value).map((t, a) => ({
151
165
  ...t,
152
166
  absoluteIndex: a
153
167
  })));
154
- function nt() {
155
- return P.value.map((t) => ({
168
+ function it() {
169
+ return w.value.map((t) => ({
156
170
  name: t.name,
157
171
  color: t.color,
158
172
  value: t.value
159
173
  }));
160
174
  }
161
- const m = i(() => P.value.filter((t) => !f.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), Te = o(190), Se = i(() => P.value.filter((t) => !f.value.includes(t.id))), ut = i(
175
+ const C = v(() => w.value.filter((t) => !f.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), Se = o(190), Oe = v(() => w.value.filter((t) => !f.value.includes(t.id))), ct = v(
162
176
  () => (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) / 2 + (e.value.style.chart.layout.padding ?? 12)
163
- ), rt = i(() => Lt({
164
- maxPoints: Te.value,
177
+ ), vt = v(() => Nt({
178
+ maxPoints: Se.value,
165
179
  a: e.value.style.chart.layout.arcs.a ?? 6,
166
180
  b: e.value.style.chart.layout.arcs.b ?? 6,
167
181
  angleStep: e.value.style.chart.layout.arcs.angleStep ?? 0.07,
168
- startX: C.value.width / 2 + e.value.style.chart.layout.arcs.offsetX,
169
- startY: C.value.height / 2 + e.value.style.chart.layout.arcs.offsetY,
170
- boxWidth: C.value.width,
171
- boxHeight: C.value.height,
172
- padding: ut.value
173
- })), A = i(() => {
182
+ startX: x.value.width / 2 + e.value.style.chart.layout.arcs.offsetX,
183
+ startY: x.value.height / 2 + e.value.style.chart.layout.arcs.offsetY,
184
+ boxWidth: x.value.width,
185
+ boxHeight: x.value.height,
186
+ padding: ct.value
187
+ })), N = v(() => {
174
188
  const t = [];
175
- for (let a = 0; a < Se.value.length; a += 1) {
176
- const l = Se.value[a], s = l.value / m.value * Te.value + (a > 0 && t.length ? t[a - 1].points : 0);
189
+ for (let a = 0; a < Oe.value.length; a += 1) {
190
+ const l = Oe.value[a], s = l.value / C.value * Se.value + (a > 0 && t.length ? t[a - 1].points : 0);
177
191
  t.push({
178
192
  points: s,
179
193
  ...l,
180
194
  seriesIndex: a,
181
- proportion: l.value / m.value,
182
- path: rt.value(s)
195
+ proportion: l.value / C.value,
196
+ path: vt.value(s)
183
197
  });
184
198
  }
185
199
  return t.filter((a) => !f.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
186
200
  });
187
201
  function K(t) {
188
- const a = Math.min(V.value, E.value), l = O.value === t.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1, s = (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * l, r = e.value.style.chart.layout.arcs.strokeWidth * l, g = e.value.style.chart.layout.arcs.strokeWidth / 2 * l;
202
+ const a = Math.min(E.value, M.value), l = _.value === t.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1, s = (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * l, r = e.value.style.chart.layout.arcs.strokeWidth * l, g = e.value.style.chart.layout.arcs.strokeWidth / 2 * l;
189
203
  return {
190
204
  border: s / 180 * a,
191
205
  path: r / 180 * a,
192
206
  blur: g / 180 * a
193
207
  };
194
208
  }
195
- const _ = o(!1);
196
- function Oe(t) {
197
- _.value = t, se.value += 1;
209
+ const D = o(!1);
210
+ function Pe(t) {
211
+ D.value = t, se.value += 1;
198
212
  }
199
213
  const Z = o(null);
200
- function it(t) {
201
- H.value = !1, O.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.absoluteIndex });
214
+ function dt(t) {
215
+ H.value = !1, _.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.absoluteIndex });
202
216
  }
203
- function vt(t) {
204
- xe("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.absoluteIndex });
217
+ function ht(t) {
218
+ Te("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.absoluteIndex });
205
219
  }
206
- function ct({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: s = !1 }) {
220
+ function gt({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: s = !1 }) {
207
221
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.absoluteIndex }), Z.value = {
208
222
  datapoint: t,
209
223
  seriesIndex: l,
210
- series: P.value,
224
+ series: w.value,
211
225
  config: e.value
212
- }, H.value = s, O.value = t.id;
226
+ }, H.value = s, _.value = t.id;
213
227
  let r = "";
214
228
  const g = e.value.style.chart.tooltip.customFormat;
215
- Ge(g) && Bt(() => g({
229
+ Ue(g) && Mt(() => g({
216
230
  seriesIndex: l,
217
231
  datapoint: t,
218
- series: P.value,
232
+ series: w.value,
219
233
  config: e.value
220
- })) ? U.value = g({
234
+ })) ? X.value = g({
221
235
  seriesIndex: l,
222
236
  datapoint: t,
223
- series: P.value,
237
+ series: w.value,
224
238
  config: e.value
225
239
  }) : (r += `<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>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (r += `<b>${We(
226
240
  e.value.style.chart.layout.labels.dataLabels.formatter,
227
241
  t.value,
228
- S({
242
+ I({
229
243
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
230
244
  v: t.value,
231
245
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
232
246
  r: e.value.style.chart.tooltip.roundingValue
233
247
  }),
234
248
  { datapoint: t, seriesIndex: l }
235
- )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? r += `<span>(${S({
249
+ )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? r += `<span>(${I({
236
250
  v: t.proportion * 100,
237
251
  s: "%",
238
252
  r: e.value.style.chart.tooltip.roundingPercentage
239
- })})</span></div>` : r += `<b>${S({
253
+ })})</span></div>` : r += `<b>${I({
240
254
  v: t.proportion * 100,
241
255
  s: "%",
242
256
  r: e.value.style.chart.tooltip.roundingPercentage
243
- })}</b></div>`), U.value = `<div>${r}</div>`);
257
+ })}</b></div>`), X.value = `<div>${r}</div>`);
244
258
  }
245
- const ee = i(() => P.value.map((t, a) => ({
259
+ const ee = v(() => w.value.map((t, a) => ({
246
260
  ...t,
247
261
  proportion: (t.value || 0) / pe.value.map((l) => (l.values || []).reduce((s, r) => s + r, 0)).reduce((l, s) => l + s, 0),
248
262
  opacity: f.value.includes(t.id) ? 0.5 : 1,
249
263
  shape: t.shape || "circle",
250
- segregate: () => J(t),
264
+ segregate: () => A(t),
251
265
  isSegregated: f.value.includes(t.id),
252
- display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? We(e.value.style.chart.layout.labels.dataLabels.formatter, t.value, S({
266
+ display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? We(e.value.style.chart.layout.labels.dataLabels.formatter, t.value, I({
253
267
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
254
268
  v: t.value,
255
269
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
256
270
  r: e.value.style.chart.legend.roundingValue
257
- }), { datapoint: t, index: a }) : ""}${e.value.style.chart.legend.showPercentage ? f.value.includes(t.id) ? `${e.value.style.chart.legend.showValue ? " (" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? " (" : ""}${isNaN(t.value / m.value) ? "-" : S({ v: t.value / m.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
258
- }))), dt = i(() => ({
271
+ }), { datapoint: t, index: a }) : ""}${e.value.style.chart.legend.showPercentage ? f.value.includes(t.id) ? `${e.value.style.chart.legend.showValue ? " (" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? " (" : ""}${isNaN(t.value / C.value) ? "-" : I({ v: t.value / C.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
272
+ }))), pt = v(() => ({
259
273
  cy: "galaxy-div-legend",
260
274
  backgroundColor: e.value.style.chart.legend.backgroundColor,
261
275
  color: e.value.style.chart.legend.color,
262
276
  fontSize: e.value.style.chart.legend.fontSize,
263
277
  paddingBottom: 12,
264
278
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
265
- })), $ = i(() => {
266
- const t = A.value.map((l) => ({
279
+ })), S = v(() => {
280
+ const t = N.value.map((l) => ({
267
281
  name: l.name,
268
282
  color: l.color
269
- })), a = A.value.map((l) => l.value);
283
+ })), a = N.value.map((l) => l.value);
270
284
  return { head: t, body: a };
271
285
  });
272
286
  function te(t = null) {
273
- Ve(() => {
274
- const a = $.value.head.map((r, g) => [[
287
+ Ee(() => {
288
+ const a = S.value.head.map((r, g) => [[
275
289
  r.name
276
- ], [$.value.body[g]], [isNaN($.value.body[g] / m.value) ? "-" : $.value.body[g] / m.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), s = At(l);
277
- t ? t(s) : Nt({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
290
+ ], [S.value.body[g]], [isNaN(S.value.body[g] / C.value) ? "-" : S.value.body[g] / C.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), s = Vt(l);
291
+ t ? t(s) : Et({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
278
292
  });
279
293
  }
280
- const M = i(() => {
294
+ const G = v(() => {
281
295
  const t = [
282
296
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
283
- S({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
297
+ I({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: C.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
284
298
  "100%"
285
- ], a = $.value.head.map((r, g) => {
286
- const kt = S({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: $.value.body[g], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
299
+ ], a = S.value.head.map((r, g) => {
300
+ const $t = I({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: S.value.body[g], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
287
301
  return [
288
302
  {
289
303
  color: r.color,
290
304
  name: r.name
291
305
  },
292
- kt,
293
- isNaN($.value.body[g] / m.value) ? "-" : S({
294
- v: $.value.body[g] / m.value * 100,
306
+ $t,
307
+ isNaN(S.value.body[g] / C.value) ? "-" : I({
308
+ v: S.value.body[g] / C.value * 100,
295
309
  s: "%",
296
310
  r: e.value.table.td.roundingPercentage
297
311
  })
@@ -320,7 +334,7 @@ const Jt = ["id"], Kt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
320
334
  config: l
321
335
  };
322
336
  });
323
- function Pe() {
337
+ function Ie() {
324
338
  p.value.showTable = !p.value.showTable;
325
339
  }
326
340
  function _e() {
@@ -330,9 +344,9 @@ const Jt = ["id"], Kt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
330
344
  function le() {
331
345
  R.value = !R.value;
332
346
  }
333
- async function ht({ scale: t = 2 } = {}) {
334
- if (!b.value) return;
335
- const { width: a, height: l } = b.value.getBoundingClientRect(), s = a / l, { imageUri: r, base64: g } = await Ut({ domElement: b.value, base64: !0, img: !0, scale: t });
347
+ async function ft({ scale: t = 2 } = {}) {
348
+ if (!k.value) return;
349
+ const { width: a, height: l } = k.value.getBoundingClientRect(), s = a / l, { imageUri: r, base64: g } = await jt({ domElement: k.value, base64: !0, img: !0, scale: t });
336
350
  return {
337
351
  imageUri: r,
338
352
  base64: g,
@@ -342,18 +356,18 @@ const Jt = ["id"], Kt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
342
356
  aspectRatio: s
343
357
  };
344
358
  }
345
- const N = i(() => {
359
+ const B = v(() => {
346
360
  const t = e.value.table.useDialog && !e.value.table.show, a = p.value.showTable;
347
361
  return {
348
- component: t ? et : qe,
362
+ component: t ? tt : Qe,
349
363
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
350
364
  props: t ? {
351
365
  backgroundColor: e.value.table.th.backgroundColor,
352
366
  color: e.value.table.th.color,
353
367
  headerColor: e.value.table.th.color,
354
368
  headerBg: e.value.table.th.backgroundColor,
355
- isFullscreen: _.value,
356
- fullscreenParent: b.value,
369
+ isFullscreen: D.value,
370
+ fullscreenParent: k.value,
357
371
  forcedWidth: Math.min(500, window.innerWidth * 0.8)
358
372
  } : {
359
373
  hideDetails: !0,
@@ -372,71 +386,93 @@ const Jt = ["id"], Kt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
372
386
  }
373
387
  };
374
388
  });
375
- Le(() => p.value.showTable, (t) => {
389
+ Fe(() => p.value.showTable, (t) => {
376
390
  e.value.table.show || (t && e.value.table.useDialog && F.value ? F.value.open() : "close" in F.value && F.value.close());
377
391
  });
378
- function Ie() {
379
- p.value.showTable = !1, X.value && X.value.setTableIconState(!1);
392
+ function De() {
393
+ p.value.showTable = !1, Y.value && Y.value.setTableIconState(!1);
380
394
  }
381
- const gt = i(() => ee.value.map((t) => ({
395
+ const yt = v(() => ee.value.map((t) => ({
382
396
  ...t,
383
397
  name: t.display
384
- }))), pt = i(() => e.value.style.chart.backgroundColor), ft = i(() => e.value.style.chart.legend), yt = i(() => e.value.style.chart.title), { exportSvg: bt, getSvg: mt } = qt({
385
- svg: q,
386
- title: yt,
387
- legend: ft,
388
- legendItems: gt,
389
- backgroundColor: pt
398
+ }))), bt = v(() => e.value.style.chart.backgroundColor), mt = v(() => e.value.style.chart.legend), kt = v(() => e.value.style.chart.title), { exportSvg: wt, getSvg: Ct } = Kt({
399
+ svg: Q,
400
+ title: kt,
401
+ legend: mt,
402
+ legendItems: yt,
403
+ backgroundColor: bt
390
404
  });
391
- async function De({ isCb: t }) {
405
+ async function Le({ isCb: t }) {
392
406
  if (t) {
393
- const { blob: a, url: l, text: s, dataUrl: r } = await mt();
407
+ const { blob: a, url: l, text: s, dataUrl: r } = await Ct();
394
408
  e.value.userOptions.callbacks.svg({ blob: a, url: l, text: s, dataUrl: r });
395
409
  } else
396
- bt();
410
+ wt();
397
411
  }
398
- return Ue({
399
- getData: nt,
400
- getImage: ht,
412
+ return Xe({
413
+ getData: it,
414
+ getImage: ft,
401
415
  generatePdf: Ce,
402
416
  generateCsv: te,
403
417
  generateImage: $e,
404
- generateSvg: De,
405
- toggleTable: Pe,
418
+ generateSvg: Le,
419
+ hideSeries: rt,
420
+ showSeries: ut,
421
+ toggleTable: Ie,
406
422
  toggleTooltip: _e,
407
423
  toggleAnnotator: le,
408
- toggleFullscreen: Oe
409
- }), (t, a) => (n(), c("div", {
424
+ toggleFullscreen: Pe
425
+ }), (t, a) => (n(), d("div", {
410
426
  ref_key: "galaxyChart",
411
- ref: b,
412
- class: G(`vue-data-ui-component vue-ui-galaxy ${_.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${u(Y) ? "loading" : ""}`),
427
+ ref: k,
428
+ class: U(`vue-data-ui-component vue-ui-galaxy ${D.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${u(j) ? "loading" : ""}`),
413
429
  style: W(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
414
- id: `galaxy_${y.value}`,
430
+ id: `galaxy_${m.value}`,
415
431
  onMouseenter: a[2] || (a[2] = () => u(be)(!0)),
416
432
  onMouseleave: a[3] || (a[3] = () => u(be)(!1))
417
433
  }, [
418
- e.value.userOptions.buttons.annotator ? (n(), T(u(Je), {
434
+ e.value.userOptions.buttons.annotator ? (n(), P(u(Ke), {
419
435
  key: 0,
420
- svgRef: u(q),
436
+ svgRef: u(Q),
421
437
  backgroundColor: e.value.style.chart.backgroundColor,
422
438
  color: e.value.style.chart.color,
423
439
  active: R.value,
424
440
  onClose: le
425
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
426
- lt.value ? (n(), c("div", {
441
+ }, {
442
+ "annotator-action-close": i(() => [
443
+ c(t.$slots, "annotator-action-close", {}, void 0, !0)
444
+ ]),
445
+ "annotator-action-color": i(({ color: l }) => [
446
+ c(t.$slots, "annotator-action-color", y(b({ color: l })), void 0, !0)
447
+ ]),
448
+ "annotator-action-draw": i(({ mode: l }) => [
449
+ c(t.$slots, "annotator-action-draw", y(b({ mode: l })), void 0, !0)
450
+ ]),
451
+ "annotator-action-undo": i(({ disabled: l }) => [
452
+ c(t.$slots, "annotator-action-undo", y(b({ disabled: l })), void 0, !0)
453
+ ]),
454
+ "annotator-action-redo": i(({ disabled: l }) => [
455
+ c(t.$slots, "annotator-action-redo", y(b({ disabled: l })), void 0, !0)
456
+ ]),
457
+ "annotator-action-delete": i(({ disabled: l }) => [
458
+ c(t.$slots, "annotator-action-delete", y(b({ disabled: l })), void 0, !0)
459
+ ]),
460
+ _: 3
461
+ }, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
462
+ at.value ? (n(), d("div", {
427
463
  key: 1,
428
464
  ref_key: "noTitle",
429
465
  ref: de,
430
466
  class: "vue-data-ui-no-title-space",
431
467
  style: "height:36px; width: 100%;background:transparent"
432
- }, null, 512)) : d("", !0),
433
- e.value.style.chart.title.text ? (n(), c("div", {
468
+ }, null, 512)) : h("", !0),
469
+ e.value.style.chart.title.text ? (n(), d("div", {
434
470
  key: 2,
435
471
  ref_key: "chartTitle",
436
472
  ref: ie,
437
473
  style: "width:100%;background:transparent;padding-bottom:24px"
438
474
  }, [
439
- (n(), T(Yt, {
475
+ (n(), P(Qt, {
440
476
  key: `title_${ne.value}`,
441
477
  config: {
442
478
  title: {
@@ -449,19 +485,19 @@ const Jt = ["id"], Kt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
449
485
  }
450
486
  }
451
487
  }, null, 8, ["config"]))
452
- ], 512)) : d("", !0),
453
- k("div", {
454
- id: `legend-top-${y.value}`
455
- }, null, 8, Kt),
456
- e.value.userOptions.show && ge.value && (u(me) || u(j)) ? (n(), T(u(Ke), {
488
+ ], 512)) : h("", !0),
489
+ $("div", {
490
+ id: `legend-top-${m.value}`
491
+ }, null, 8, tl),
492
+ e.value.userOptions.show && ge.value && (u(me) || u(q)) ? (n(), P(u(Ze), {
457
493
  ref_key: "userOptionsRef",
458
- ref: X,
494
+ ref: Y,
459
495
  key: `user_option_${se.value}`,
460
496
  backgroundColor: e.value.style.chart.backgroundColor,
461
497
  color: e.value.style.chart.color,
462
498
  isPrinting: u(ke),
463
499
  isImaging: u(we),
464
- uid: y.value,
500
+ uid: m.value,
465
501
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
466
502
  hasPdf: e.value.userOptions.buttons.pdf,
467
503
  hasXls: e.value.userOptions.buttons.csv,
@@ -470,218 +506,218 @@ const Jt = ["id"], Kt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
470
506
  hasTable: e.value.userOptions.buttons.table,
471
507
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
472
508
  isTooltip: p.value.showTooltip,
473
- isFullscreen: _.value,
509
+ isFullscreen: D.value,
474
510
  titles: { ...e.value.userOptions.buttonTitles },
475
- chartElement: b.value,
511
+ chartElement: k.value,
476
512
  position: e.value.userOptions.position,
477
513
  hasAnnotator: e.value.userOptions.buttons.annotator,
478
514
  isAnnotation: R.value,
479
515
  callbacks: e.value.userOptions.callbacks,
480
516
  printScale: e.value.userOptions.print.scale,
481
517
  tableDialog: e.value.table.useDialog,
482
- onToggleFullscreen: Oe,
518
+ onToggleFullscreen: Pe,
483
519
  onGeneratePdf: u(Ce),
484
520
  onGenerateCsv: te,
485
521
  onGenerateImage: u($e),
486
- onGenerateSvg: De,
487
- onToggleTable: Pe,
522
+ onGenerateSvg: Le,
523
+ onToggleTable: Ie,
488
524
  onToggleTooltip: _e,
489
525
  onToggleAnnotator: le,
490
526
  style: W({
491
- visibility: u(me) ? u(j) ? "visible" : "hidden" : "visible"
527
+ visibility: u(me) ? u(q) ? "visible" : "hidden" : "visible"
492
528
  })
493
- }, Fe({ _: 2 }, [
529
+ }, Ae({ _: 2 }, [
494
530
  t.$slots.menuIcon ? {
495
531
  name: "menuIcon",
496
- fn: v(({ isOpen: l, color: s }) => [
497
- h(t.$slots, "menuIcon", I(D({ isOpen: l, color: s })), void 0, !0)
532
+ fn: i(({ isOpen: l, color: s }) => [
533
+ c(t.$slots, "menuIcon", y(b({ isOpen: l, color: s })), void 0, !0)
498
534
  ]),
499
535
  key: "0"
500
536
  } : void 0,
501
537
  t.$slots.optionTooltip ? {
502
538
  name: "optionTooltip",
503
- fn: v(() => [
504
- h(t.$slots, "optionTooltip", {}, void 0, !0)
539
+ fn: i(() => [
540
+ c(t.$slots, "optionTooltip", {}, void 0, !0)
505
541
  ]),
506
542
  key: "1"
507
543
  } : void 0,
508
544
  t.$slots.optionPdf ? {
509
545
  name: "optionPdf",
510
- fn: v(() => [
511
- h(t.$slots, "optionPdf", {}, void 0, !0)
546
+ fn: i(() => [
547
+ c(t.$slots, "optionPdf", {}, void 0, !0)
512
548
  ]),
513
549
  key: "2"
514
550
  } : void 0,
515
551
  t.$slots.optionCsv ? {
516
552
  name: "optionCsv",
517
- fn: v(() => [
518
- h(t.$slots, "optionCsv", {}, void 0, !0)
553
+ fn: i(() => [
554
+ c(t.$slots, "optionCsv", {}, void 0, !0)
519
555
  ]),
520
556
  key: "3"
521
557
  } : void 0,
522
558
  t.$slots.optionImg ? {
523
559
  name: "optionImg",
524
- fn: v(() => [
525
- h(t.$slots, "optionImg", {}, void 0, !0)
560
+ fn: i(() => [
561
+ c(t.$slots, "optionImg", {}, void 0, !0)
526
562
  ]),
527
563
  key: "4"
528
564
  } : void 0,
529
565
  t.$slots.optionSvg ? {
530
566
  name: "optionSvg",
531
- fn: v(() => [
532
- h(t.$slots, "optionSvg", {}, void 0, !0)
567
+ fn: i(() => [
568
+ c(t.$slots, "optionSvg", {}, void 0, !0)
533
569
  ]),
534
570
  key: "5"
535
571
  } : void 0,
536
572
  t.$slots.optionTable ? {
537
573
  name: "optionTable",
538
- fn: v(() => [
539
- h(t.$slots, "optionTable", {}, void 0, !0)
574
+ fn: i(() => [
575
+ c(t.$slots, "optionTable", {}, void 0, !0)
540
576
  ]),
541
577
  key: "6"
542
578
  } : void 0,
543
579
  t.$slots.optionFullscreen ? {
544
580
  name: "optionFullscreen",
545
- fn: v(({ toggleFullscreen: l, isFullscreen: s }) => [
546
- h(t.$slots, "optionFullscreen", I(D({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
581
+ fn: i(({ toggleFullscreen: l, isFullscreen: s }) => [
582
+ c(t.$slots, "optionFullscreen", y(b({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
547
583
  ]),
548
584
  key: "7"
549
585
  } : void 0,
550
586
  t.$slots.optionAnnotator ? {
551
587
  name: "optionAnnotator",
552
- fn: v(({ toggleAnnotator: l, isAnnotator: s }) => [
553
- h(t.$slots, "optionAnnotator", I(D({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
588
+ fn: i(({ toggleAnnotator: l, isAnnotator: s }) => [
589
+ c(t.$slots, "optionAnnotator", y(b({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
554
590
  ]),
555
591
  key: "8"
556
592
  } : void 0
557
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
558
- (n(), c("svg", {
593
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
594
+ (n(), d("svg", {
559
595
  ref_key: "svgRef",
560
- ref: q,
561
- xmlns: u(Ft),
562
- class: G({ "vue-data-ui-fullscreen--on": _.value, "vue-data-ui-fulscreen--off": !_.value }),
563
- viewBox: C.value.viewBox,
596
+ ref: Q,
597
+ xmlns: u(Bt),
598
+ class: U({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
599
+ viewBox: x.value.viewBox,
564
600
  style: W(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
565
601
  }, [
566
- ae(u(Ze)),
567
- t.$slots["chart-background"] ? (n(), c("foreignObject", {
602
+ ae(u(et)),
603
+ t.$slots["chart-background"] ? (n(), d("foreignObject", {
568
604
  key: 0,
569
605
  x: 0,
570
606
  y: 0,
571
- width: C.value.width,
572
- height: C.value.height,
607
+ width: x.value.width,
608
+ height: x.value.height,
573
609
  style: {
574
610
  pointerEvents: "none"
575
611
  }
576
612
  }, [
577
- h(t.$slots, "chart-background", {}, void 0, !0)
578
- ], 8, el)) : d("", !0),
579
- k("defs", null, [
580
- k("filter", {
581
- id: `blur_${y.value}`,
613
+ c(t.$slots, "chart-background", {}, void 0, !0)
614
+ ], 8, al)) : h("", !0),
615
+ $("defs", null, [
616
+ $("filter", {
617
+ id: `blur_${m.value}`,
582
618
  x: "-50%",
583
619
  y: "-50%",
584
620
  width: "200%",
585
621
  height: "200%"
586
622
  }, [
587
- k("feGaussianBlur", {
623
+ $("feGaussianBlur", {
588
624
  in: "SourceGraphic",
589
625
  stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
590
- }, null, 8, ll)
591
- ], 8, tl)
626
+ }, null, 8, sl)
627
+ ], 8, ol)
592
628
  ]),
593
- (n(!0), c(Ae, null, Ne(A.value, (l) => (n(), c("g", null, [
594
- l.value ? (n(), c("path", {
629
+ (n(!0), d(Ne, null, Be(N.value, (l) => (n(), d("g", null, [
630
+ l.value ? (n(), d("path", {
595
631
  key: 0,
596
632
  d: l.path,
597
633
  fill: "none",
598
634
  stroke: e.value.style.chart.backgroundColor,
599
635
  "stroke-width": K(l).border,
600
636
  "stroke-linecap": "round"
601
- }, null, 8, al)) : d("", !0),
602
- l.value ? (n(), c("path", {
637
+ }, null, 8, nl)) : h("", !0),
638
+ l.value ? (n(), d("path", {
603
639
  key: 1,
604
640
  d: l.path,
605
641
  fill: "none",
606
642
  stroke: l.color,
607
643
  "stroke-width": K(l).path,
608
644
  "stroke-linecap": "round",
609
- class: G(`${O.value && O.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
610
- }, null, 10, ol)) : d("", !0),
611
- l.value && e.value.style.chart.layout.arcs.gradient.show ? (n(), c("g", {
645
+ class: U(`${_.value && _.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
646
+ }, null, 10, ul)) : h("", !0),
647
+ l.value && e.value.style.chart.layout.arcs.gradient.show ? (n(), d("g", {
612
648
  key: 2,
613
- filter: `url(#blur_${y.value})`
649
+ filter: `url(#blur_${m.value})`
614
650
  }, [
615
- k("path", {
651
+ $("path", {
616
652
  d: l.path,
617
653
  fill: "none",
618
654
  stroke: e.value.style.chart.layout.arcs.gradient.color,
619
655
  "stroke-width": K(l).blur,
620
656
  "stroke-linecap": "round",
621
- class: G(`vue-ui-galaxy-gradient ${O.value && O.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
622
- }, null, 10, nl)
623
- ], 8, sl)) : d("", !0)
657
+ class: U(`vue-ui-galaxy-gradient ${_.value && _.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
658
+ }, null, 10, il)
659
+ ], 8, rl)) : h("", !0)
624
660
  ]))), 256)),
625
- (n(!0), c(Ae, null, Ne(A.value, (l, s) => (n(), c("g", null, [
626
- l.value ? (n(), c("path", {
661
+ (n(!0), d(Ne, null, Be(N.value, (l, s) => (n(), d("g", null, [
662
+ l.value ? (n(), d("path", {
627
663
  key: 0,
628
664
  d: l.path,
629
665
  fill: "none",
630
666
  stroke: "transparent",
631
667
  "stroke-width": e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth,
632
668
  "stroke-linecap": "round",
633
- onMouseenter: (r) => ct({
669
+ onMouseenter: (r) => gt({
634
670
  datapoint: l,
635
671
  seriesIndex: l.seriesIndex,
636
672
  show: !0
637
673
  }),
638
- onMouseleave: (r) => it(l),
639
- onClick: (r) => vt(l)
640
- }, null, 40, ul)) : d("", !0)
674
+ onMouseleave: (r) => dt(l),
675
+ onClick: (r) => ht(l)
676
+ }, null, 40, cl)) : h("", !0)
641
677
  ]))), 256)),
642
- h(t.$slots, "svg", { svg: C.value }, void 0, !0)
643
- ], 14, Zt)),
644
- t.$slots.watermark ? (n(), c("div", rl, [
645
- h(t.$slots, "watermark", I(D({ isPrinting: u(ke) || u(we) })), void 0, !0)
646
- ])) : d("", !0),
647
- k("div", {
648
- id: `legend-bottom-${y.value}`
649
- }, null, 8, il),
650
- he.value ? (n(), T($t, {
678
+ c(t.$slots, "svg", { svg: x.value }, void 0, !0)
679
+ ], 14, ll)),
680
+ t.$slots.watermark ? (n(), d("div", vl, [
681
+ c(t.$slots, "watermark", y(b({ isPrinting: u(ke) || u(we) })), void 0, !0)
682
+ ])) : h("", !0),
683
+ $("div", {
684
+ id: `legend-bottom-${m.value}`
685
+ }, null, 8, dl),
686
+ he.value ? (n(), P(St, {
651
687
  key: 5,
652
- to: e.value.style.chart.legend.position === "top" ? `#legend-top-${y.value}` : `#legend-bottom-${y.value}`
688
+ to: e.value.style.chart.legend.position === "top" ? `#legend-top-${m.value}` : `#legend-bottom-${m.value}`
653
689
  }, [
654
- k("div", {
690
+ $("div", {
655
691
  ref_key: "chartLegend",
656
- ref: ve
692
+ ref: ce
657
693
  }, [
658
- e.value.style.chart.legend.show ? (n(), T(jt, {
694
+ e.value.style.chart.legend.show ? (n(), P(Jt, {
659
695
  key: `legend_${re.value}`,
660
696
  legendSet: ee.value,
661
- config: dt.value,
662
- onClickMarker: a[0] || (a[0] = ({ legend: l }) => J(l))
697
+ config: pt.value,
698
+ onClickMarker: a[0] || (a[0] = ({ legend: l }) => A(l))
663
699
  }, {
664
- item: v(({ legend: l, index: s }) => [
665
- u(Y) ? d("", !0) : (n(), c("div", {
700
+ item: i(({ legend: l, index: s }) => [
701
+ u(j) ? h("", !0) : (n(), d("div", {
666
702
  key: 0,
667
- onClick: (r) => J(l),
703
+ onClick: (r) => A(l),
668
704
  style: W(`opacity:${f.value.includes(l.id) ? 0.5 : 1}`)
669
- }, oe(l.display), 13, vl))
705
+ }, oe(l.display), 13, hl))
670
706
  ]),
671
707
  _: 1
672
- }, 8, ["legendSet", "config"])) : d("", !0),
673
- h(t.$slots, "legend", { legend: ee.value }, void 0, !0)
708
+ }, 8, ["legendSet", "config"])) : h("", !0),
709
+ c(t.$slots, "legend", { legend: ee.value }, void 0, !0)
674
710
  ], 512)
675
- ], 8, ["to"])) : d("", !0),
676
- t.$slots.source ? (n(), c("div", {
711
+ ], 8, ["to"])) : h("", !0),
712
+ t.$slots.source ? (n(), d("div", {
677
713
  key: 6,
678
714
  ref_key: "source",
679
- ref: ce,
715
+ ref: ve,
680
716
  dir: "auto"
681
717
  }, [
682
- h(t.$slots, "source", {}, void 0, !0)
683
- ], 512)) : d("", !0),
684
- ae(u(Ye), {
718
+ c(t.$slots, "source", {}, void 0, !0)
719
+ ], 512)) : h("", !0),
720
+ ae(u(je), {
685
721
  show: p.value.showTooltip && H.value,
686
722
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
687
723
  color: e.value.style.chart.tooltip.color,
@@ -692,47 +728,47 @@ const Jt = ["id"], Kt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
692
728
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
693
729
  position: e.value.style.chart.tooltip.position,
694
730
  offsetY: e.value.style.chart.tooltip.offsetY,
695
- parent: b.value,
696
- content: U.value,
697
- isFullscreen: _.value,
698
- isCustom: u(Ge)(e.value.style.chart.tooltip.customFormat),
731
+ parent: k.value,
732
+ content: X.value,
733
+ isFullscreen: D.value,
734
+ isCustom: u(Ue)(e.value.style.chart.tooltip.customFormat),
699
735
  smooth: e.value.style.chart.tooltip.smooth,
700
736
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
701
737
  smoothForce: e.value.style.chart.tooltip.smoothForce,
702
738
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
703
739
  }, {
704
- "tooltip-before": v(() => [
705
- h(t.$slots, "tooltip-before", I(D({ ...Z.value })), void 0, !0)
740
+ "tooltip-before": i(() => [
741
+ c(t.$slots, "tooltip-before", y(b({ ...Z.value })), void 0, !0)
706
742
  ]),
707
- "tooltip-after": v(() => [
708
- h(t.$slots, "tooltip-after", I(D({ ...Z.value })), void 0, !0)
743
+ "tooltip-after": i(() => [
744
+ c(t.$slots, "tooltip-after", y(b({ ...Z.value })), void 0, !0)
709
745
  ]),
710
746
  _: 3
711
747
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
712
- ge.value && e.value.userOptions.buttons.table ? (n(), T(xt(N.value.component), Tt({ key: 7 }, N.value.props, {
748
+ ge.value && e.value.userOptions.buttons.table ? (n(), P(Ot(B.value.component), Pt({ key: 7 }, B.value.props, {
713
749
  ref_key: "tableUnit",
714
750
  ref: F,
715
- onClose: Ie
716
- }), Fe({
717
- content: v(() => [
718
- (n(), T(u(Qe), {
751
+ onClose: De
752
+ }), Ae({
753
+ content: i(() => [
754
+ (n(), P(u(Je), {
719
755
  key: `table_${ue.value}`,
720
- colNames: M.value.colNames,
721
- head: M.value.head,
722
- body: M.value.body,
723
- config: M.value.config,
724
- title: e.value.table.useDialog ? "" : N.value.title,
756
+ colNames: G.value.colNames,
757
+ head: G.value.head,
758
+ body: G.value.body,
759
+ config: G.value.config,
760
+ title: e.value.table.useDialog ? "" : B.value.title,
725
761
  withCloseButton: !e.value.table.useDialog,
726
- onClose: Ie
762
+ onClose: De
727
763
  }, {
728
- th: v(({ th: l }) => [
729
- k("div", {
764
+ th: i(({ th: l }) => [
765
+ $("div", {
730
766
  innerHTML: l,
731
767
  style: { display: "flex", "align-items": "center" }
732
- }, null, 8, cl)
768
+ }, null, 8, gl)
733
769
  ]),
734
- td: v(({ td: l }) => [
735
- Be(oe(l.name || l), 1)
770
+ td: i(({ td: l }) => [
771
+ Ve(oe(l.name || l), 1)
736
772
  ]),
737
773
  _: 1
738
774
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -741,32 +777,32 @@ const Jt = ["id"], Kt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
741
777
  }, [
742
778
  e.value.table.useDialog ? {
743
779
  name: "title",
744
- fn: v(() => [
745
- Be(oe(N.value.title), 1)
780
+ fn: i(() => [
781
+ Ve(oe(B.value.title), 1)
746
782
  ]),
747
783
  key: "0"
748
784
  } : void 0,
749
785
  e.value.table.useDialog ? {
750
786
  name: "actions",
751
- fn: v(() => [
752
- k("button", {
787
+ fn: i(() => [
788
+ $("button", {
753
789
  tabindex: "0",
754
790
  class: "vue-ui-user-options-button",
755
791
  onClick: a[1] || (a[1] = (l) => te(e.value.userOptions.callbacks.csv))
756
792
  }, [
757
- ae(u(je), {
793
+ ae(u(qe), {
758
794
  name: "excel",
759
- stroke: N.value.props.color
795
+ stroke: B.value.props.color
760
796
  }, null, 8, ["stroke"])
761
797
  ])
762
798
  ]),
763
799
  key: "1"
764
800
  } : void 0
765
- ]), 1040)) : d("", !0),
766
- u(Y) ? (n(), T(Wt, { key: 8 })) : d("", !0)
767
- ], 46, Jt));
801
+ ]), 1040)) : h("", !0),
802
+ u(j) ? (n(), P(zt, { key: 8 })) : h("", !0)
803
+ ], 46, el));
768
804
  }
769
- }, Ol = /* @__PURE__ */ Qt(dl, [["__scopeId", "data-v-1ff6df76"]]);
805
+ }, _l = /* @__PURE__ */ Zt(pl, [["__scopeId", "data-v-2bf9793a"]]);
770
806
  export {
771
- Ol as default
807
+ _l as default
772
808
  };