vue-data-ui 3.5.0 → 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 (144) hide show
  1. package/README.md +26 -0
  2. package/dist/{ColorPicker-J5wOPCeB.js → ColorPicker-ChuwChMo.js} +58 -56
  3. package/dist/{NonSvgPenAndPaper-C7TRn0_3.js → NonSvgPenAndPaper-DVgKKLIf.js} +1 -1
  4. package/dist/{PackageVersion-Cyx_s25h.js → PackageVersion-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-DxgRqCAo.js → vue-data-ui-B_RxfmEm.js} +63 -63
  74. package/dist/vue-data-ui.js +64 -64
  75. package/dist/{vue-ui-3d-bar-DmNJp8SY.js → vue-ui-3d-bar-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-CPAP3sNY.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-Ce6uvCQJ.js → vue-ui-bullet-BWEBeYV5.js} +190 -170
  80. package/dist/{vue-ui-candlestick-DewevWV_.js → vue-ui-candlestick-BoLzL0g1.js} +201 -181
  81. package/dist/{vue-ui-carousel-table-Dv1CDfE5.js → vue-ui-carousel-table-Bi6wvUUU.js} +2 -2
  82. package/dist/{vue-ui-chestnut-D9sdFZ4E.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-Be74QB_0.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-BRGFcgxS.js → vue-ui-donut-CxZcJFTo.js} +462 -442
  89. package/dist/{vue-ui-donut-evolution-DJ0C-7jH.js → vue-ui-donut-evolution-BVYL-BUJ.js} +293 -273
  90. package/dist/{vue-ui-dumbbell-iQJ0BUhm.js → vue-ui-dumbbell-QxZn86A3.js} +210 -190
  91. package/dist/{vue-ui-flow-CTYFoib3.js → vue-ui-flow-DEI5LRch.js} +339 -319
  92. package/dist/{vue-ui-funnel-CG55Xcdy.js → vue-ui-funnel-B_A5orFg.js} +218 -198
  93. package/dist/{vue-ui-galaxy-BQrxjKZJ.js → vue-ui-galaxy-CUoDRr-O.js} +201 -181
  94. package/dist/{vue-ui-gauge-Tc-0NI0Y.js → vue-ui-gauge-46tSRZN5.js} +311 -291
  95. package/dist/{vue-ui-gizmo-P8h-gnLd.js → vue-ui-gizmo-BOgbsXao.js} +2 -2
  96. package/dist/{vue-ui-heatmap-BZimPzsL.js → vue-ui-heatmap-DKKjl1A2.js} +303 -283
  97. package/dist/{vue-ui-history-plot-BVzbuqYY.js → vue-ui-history-plot-C6p_aThr.js} +229 -209
  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-BALqwB8c.js → vue-ui-molecule-L90GnHee.js} +156 -136
  101. package/dist/{vue-ui-mood-radar-QJ5nlZby.js → vue-ui-mood-radar-Dhigm5rw.js} +266 -246
  102. package/dist/{vue-ui-nested-donuts-CmUabkkQ.js → vue-ui-nested-donuts-D0MCLs5n.js} +506 -486
  103. package/dist/{vue-ui-onion-DAOCf3f8.js → vue-ui-onion-B7yPJ3gL.js} +220 -200
  104. package/dist/{vue-ui-parallel-coordinate-plot-D8jTuFjq.js → vue-ui-parallel-coordinate-plot-DY21ivNe.js} +235 -215
  105. package/dist/{vue-ui-quadrant-CO52mSRY.js → vue-ui-quadrant-b0vMRaq-.js} +463 -443
  106. package/dist/{vue-ui-quick-chart-DEaVSldE.js → vue-ui-quick-chart-VK2EN7sh.js} +288 -268
  107. package/dist/{vue-ui-radar-C5V4hhbW.js → vue-ui-radar-B5Vkoz9M.js} +331 -311
  108. package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-BH4DW1ZY.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-CbMM0Jka.js → vue-ui-relation-circle-XHbE-ZUX.js} +228 -208
  110. package/dist/{vue-ui-ridgeline-CXCIRDq6.js → vue-ui-ridgeline-CAMNq-p_.js} +242 -222
  111. package/dist/{vue-ui-rings-BpUcyqo7.js → vue-ui-rings-ImGOqm_J.js} +189 -169
  112. package/dist/{vue-ui-scatter--Dxe-hfO.js → vue-ui-scatter-CterNJYe.js} +275 -255
  113. package/dist/{vue-ui-skeleton-BWq-VDzg.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-T4J_YOa_.js → vue-ui-spark-trend-N1AsNQJA.js} +2 -2
  116. package/dist/{vue-ui-sparkbar-DnKP55Vu.js → vue-ui-sparkbar-Bvsi5DTT.js} +2 -2
  117. package/dist/{vue-ui-sparkgauge-BDQLP-zi.js → vue-ui-sparkgauge-DyJmWCWT.js} +2 -2
  118. package/dist/{vue-ui-sparkhistogram-Dm7QXrA-.js → vue-ui-sparkhistogram-5eKrkmSb.js} +143 -140
  119. package/dist/{vue-ui-sparkline-tXGDLHRy.js → vue-ui-sparkline-ChKAzlVq.js} +2 -2
  120. package/dist/{vue-ui-sparkstackbar-M53Nt07M.js → vue-ui-sparkstackbar-BXNy6nuw.js} +2 -2
  121. package/dist/vue-ui-stackbar-1IwvUYBO.js +1827 -0
  122. package/dist/{vue-ui-strip-plot-BX9i3wMn.js → vue-ui-strip-plot-B1wGxP8-.js} +245 -225
  123. package/dist/{vue-ui-table-7r02N9R9.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-DZaAh10E.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-Ds-MJoW2.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-BEvl8hiw.js → vue-ui-treemap-DPE8SY0_.js} +453 -433
  130. package/dist/{vue-ui-vertical-bar-D8dtM8sw.js → vue-ui-vertical-bar-ZU1GCbX0.js} +323 -303
  131. package/dist/{vue-ui-waffle-B3q-2SCR.js → vue-ui-waffle-z7nuSuSV.js} +219 -199
  132. package/dist/vue-ui-wheel-DLRoRjeM.js +663 -0
  133. package/dist/{vue-ui-word-cloud-ChT7uLbN.js → vue-ui-word-cloud-D2r5E3pP.js} +248 -228
  134. package/dist/{vue-ui-world-CdP4g_3_.js → vue-ui-world-goXYnTyM.js} +287 -267
  135. package/dist/{vue-ui-xy-B68qQ-gX.js → vue-ui-xy-NDDbNbds.js} +389 -369
  136. package/dist/{vue-ui-xy-canvas-DDngEA1s.js → vue-ui-xy-canvas-2a6NlQe3.js} +4 -4
  137. package/package.json +4 -4
  138. package/dist/PenAndPaper-DSvu9dwa.js +0 -373
  139. package/dist/vue-ui-chord-BG4dxKNA.js +0 -1133
  140. package/dist/vue-ui-dashboard-C4BLwHey.js +0 -412
  141. package/dist/vue-ui-stackbar-CkBOjryQ.js +0 -1724
  142. package/dist/vue-ui-thermometer-CFPt3MOv.js +0 -564
  143. package/dist/vue-ui-tiremarks-2eIQ6vxu.js +0 -430
  144. package/dist/vue-ui-wheel-BpirIgAG.js +0 -643
@@ -1,18 +1,18 @@
1
- import { defineAsyncComponent as T, ref as o, computed as i, toRefs as xt, onMounted as Tt, watch as Fe, createElementBlock as c, openBlock as n, unref as u, normalizeStyle as W, normalizeClass as U, createBlock as S, createCommentVNode as d, createElementVNode as w, createVNode as ae, createSlots as Ae, withCtx as v, renderSlot as h, normalizeProps as I, guardReactiveProps as D, 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 _t, o as It, 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 O, X as Bt, G as Ue, P as Vt, Q as Et, H as Mt } from "./lib-C_mNZmhD.js";
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
3
  import { t as Gt, u as Rt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Wt, a as ze } from "./useNestedProp-BjZe1Y85.js";
4
+ import { u as Wt, a as ze } from "./useNestedProp-DjGXw6S9.js";
5
5
  import { u as Ut, B as zt } from "./BaseScanner-BgWxam9d.js";
6
6
  import { u as Ht } from "./usePrinter-DTzqpYKF.js";
7
7
  import { u as Xt } from "./useUserOptionState-BIvW1Kz7.js";
8
8
  import { u as Yt } from "./useChartAccessibility-9icAAmYg.js";
9
9
  import jt from "./img-BecE5qXd.js";
10
10
  import { t as qt } from "./themes-AUNCOb2G.js";
11
- import Qt from "./Title-l36lOBMx.js";
11
+ import Qt from "./Title-isbiM8i8.js";
12
12
  import Jt from "./Legend-G6GMcdAc.js";
13
13
  import { u as Kt } from "./useSvgExport-DrjCWun4.js";
14
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"], vl = ["d", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], cl = {
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
18
  }, dl = ["id"], hl = ["onClick"], gl = ["innerHTML"], pl = {
@@ -33,8 +33,8 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
33
33
  },
34
34
  emits: ["selectLegend", "selectDatapoint"],
35
35
  setup(He, { expose: Xe, emit: Ye }) {
36
- const je = T(() => import("./Tooltip-oWCO1HKy.js")), qe = T(() => import("./BaseIcon-BmMbm4d0.js")), Qe = T(() => import("./vue-ui-accordion-CZ0thhxa.js")), Je = T(() => import("./DataTable-BT7VF2ua.js")), Ke = T(() => import("./PenAndPaper-DSvu9dwa.js")), Ze = T(() => import("./UserOptions-CGnQt6Fd.js")), et = T(() => import("./PackageVersion-Cyx_s25h.js")), tt = T(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_galaxy: lt } = Wt(), C = He, y = o(Me()), b = o(null), H = o(!1), X = o(""), P = 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), V = o(null), he = o(!1), F = o(null), Y = o(null), ge = i(() => !!C.dataset && C.dataset.length), e = o(J()), { loading: j, FINAL_DATASET: pe } = Ut({
37
- ...xt(C),
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
39
  prepareConfig: J,
40
40
  callback: () => {
@@ -47,7 +47,7 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
47
47
  { name: "_", values: [13], color: "#C4C4C4" },
48
48
  { name: "_", values: [8], color: "#ADADAD" }
49
49
  ],
50
- skeletonConfig: _t({
50
+ skeletonConfig: It({
51
51
  defaultConfig: e.value,
52
52
  userConfig: {
53
53
  userOptions: { show: !1 },
@@ -64,16 +64,16 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
64
64
  }
65
65
  })
66
66
  });
67
- Tt(() => {
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 (It(C.dataset) ? Ge({
72
+ if (_t(T.dataset) ? Ge({
73
73
  componentName: "VueUiGalaxy",
74
74
  type: "dataset",
75
75
  debug: fe.value
76
- }) : C.dataset.forEach((t, a) => {
76
+ }) : T.dataset.forEach((t, a) => {
77
77
  Dt({
78
78
  datasetObject: t,
79
79
  requiredAttributes: ["name", "values"]
@@ -89,73 +89,73 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
89
89
  }), e.value.responsive) {
90
90
  const t = Gt(() => {
91
91
  const { width: a, height: l } = Rt({
92
- chart: b.value,
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
99
  E.value = Math.max(0.1, a), M.value = Math.max(0.1, l - 12);
100
100
  });
101
101
  });
102
- L.value && (V.value && L.value.unobserve(V.value), L.value.disconnect()), L.value = new ResizeObserver(t), V.value = b.value.parentNode, L.value.observe(V.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
105
  const { userOptionsVisible: q, setUserOptionsVisibility: be, keepUserOptionState: me } = Xt({ config: e.value }), { svgRef: Q } = Yt({ config: e.value.style.chart.title });
106
106
  function J() {
107
107
  const t = ze({
108
- userConfig: C.config,
108
+ userConfig: T.config,
109
109
  defaultConfig: lt
110
110
  });
111
111
  return t.theme ? {
112
112
  ...ze({
113
- userConfig: qt.vue_ui_galaxy[t.theme] || C.config,
113
+ userConfig: qt.vue_ui_galaxy[t.theme] || T.config,
114
114
  defaultConfig: t
115
115
  }),
116
116
  customPalette: Lt[t.theme] || z
117
117
  } : t;
118
118
  }
119
- Fe(() => C.config, (t) => {
119
+ Fe(() => T.config, (t) => {
120
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
122
  const { isPrinting: ke, isImaging: we, generatePdf: Ce, generateImage: $e } = Ht({
123
- elementId: `galaxy_${y.value}`,
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
- }), at = i(() => e.value.userOptions.show && !e.value.style.chart.title.text), ot = i(() => Ft(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
- }), E = o(250), M = o(180), st = o(0), nt = o(0), $ = i(() => ({
132
+ }), E = o(250), M = o(180), st = o(0), nt = o(0), x = v(() => ({
133
133
  width: E.value,
134
134
  height: M.value,
135
135
  viewBox: `${st.value} ${nt.value} ${E.value} ${M.value}`
136
- })), xe = Ye, f = o([]);
136
+ })), Te = Ye, f = o([]);
137
137
  function A(t) {
138
- f.value.includes(t.id) ? f.value = f.value.filter((a) => a !== t.id) : f.value.push(t.id), xe("selectLegend", N.value.map((a) => ({
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
- function Te(t) {
145
- if (!m.value.length)
144
+ function xe(t) {
145
+ if (!w.value.length)
146
146
  return e.value.debug && console.warn("VueUiGalaxy - There are no series to show."), null;
147
- const a = m.value.find((l) => l.name === t);
147
+ const a = w.value.find((l) => l.name === t);
148
148
  return a || (e.value.debug && console.warn(`VueUiGalaxy - Series name not found "${t}"`), null);
149
149
  }
150
150
  function ut(t) {
151
- const a = Te(t);
151
+ const a = xe(t);
152
152
  a !== null && f.value.includes(a.id) && A({ id: a.id });
153
153
  }
154
154
  function rt(t) {
155
- const a = Te(t);
155
+ const a = xe(t);
156
156
  a !== null && (f.value.includes(a.id) || A({ id: a.id }));
157
157
  }
158
- const m = i(() => pe.value.map((t, a) => ({
158
+ const w = v(() => pe.value.map((t, a) => ({
159
159
  name: t.name,
160
160
  color: At(t.color) || ot.value[a] || z[a] || z[a % z.length],
161
161
  value: t.values ? Re(t.values).reduce((l, s) => l + s, 0) : 0,
@@ -166,117 +166,117 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
166
166
  absoluteIndex: a
167
167
  })));
168
168
  function it() {
169
- return m.value.map((t) => ({
169
+ return w.value.map((t) => ({
170
170
  name: t.name,
171
171
  color: t.color,
172
172
  value: t.value
173
173
  }));
174
174
  }
175
- const k = i(() => m.value.filter((t) => !f.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), Se = o(190), Oe = i(() => m.value.filter((t) => !f.value.includes(t.id))), vt = 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(
176
176
  () => (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) / 2 + (e.value.style.chart.layout.padding ?? 12)
177
- ), ct = i(() => Nt({
177
+ ), vt = v(() => Nt({
178
178
  maxPoints: Se.value,
179
179
  a: e.value.style.chart.layout.arcs.a ?? 6,
180
180
  b: e.value.style.chart.layout.arcs.b ?? 6,
181
181
  angleStep: e.value.style.chart.layout.arcs.angleStep ?? 0.07,
182
- startX: $.value.width / 2 + e.value.style.chart.layout.arcs.offsetX,
183
- startY: $.value.height / 2 + e.value.style.chart.layout.arcs.offsetY,
184
- boxWidth: $.value.width,
185
- boxHeight: $.value.height,
186
- padding: vt.value
187
- })), N = 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(() => {
188
188
  const t = [];
189
189
  for (let a = 0; a < Oe.value.length; a += 1) {
190
- const l = Oe.value[a], s = l.value / k.value * Se.value + (a > 0 && t.length ? t[a - 1].points : 0);
190
+ const l = Oe.value[a], s = l.value / C.value * Se.value + (a > 0 && t.length ? t[a - 1].points : 0);
191
191
  t.push({
192
192
  points: s,
193
193
  ...l,
194
194
  seriesIndex: a,
195
- proportion: l.value / k.value,
196
- path: ct.value(s)
195
+ proportion: l.value / C.value,
196
+ path: vt.value(s)
197
197
  });
198
198
  }
199
199
  return t.filter((a) => !f.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
200
200
  });
201
201
  function K(t) {
202
- const a = Math.min(E.value, M.value), l = P.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;
203
203
  return {
204
204
  border: s / 180 * a,
205
205
  path: r / 180 * a,
206
206
  blur: g / 180 * a
207
207
  };
208
208
  }
209
- const _ = o(!1);
209
+ const D = o(!1);
210
210
  function Pe(t) {
211
- _.value = t, se.value += 1;
211
+ D.value = t, se.value += 1;
212
212
  }
213
213
  const Z = o(null);
214
214
  function dt(t) {
215
- H.value = !1, P.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.absoluteIndex });
215
+ H.value = !1, _.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.absoluteIndex });
216
216
  }
217
217
  function ht(t) {
218
- xe("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.absoluteIndex });
218
+ Te("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.absoluteIndex });
219
219
  }
220
220
  function gt({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: s = !1 }) {
221
221
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.absoluteIndex }), Z.value = {
222
222
  datapoint: t,
223
223
  seriesIndex: l,
224
- series: m.value,
224
+ series: w.value,
225
225
  config: e.value
226
- }, H.value = s, P.value = t.id;
226
+ }, H.value = s, _.value = t.id;
227
227
  let r = "";
228
228
  const g = e.value.style.chart.tooltip.customFormat;
229
229
  Ue(g) && Mt(() => g({
230
230
  seriesIndex: l,
231
231
  datapoint: t,
232
- series: m.value,
232
+ series: w.value,
233
233
  config: e.value
234
234
  })) ? X.value = g({
235
235
  seriesIndex: l,
236
236
  datapoint: t,
237
- series: m.value,
237
+ series: w.value,
238
238
  config: e.value
239
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(
240
240
  e.value.style.chart.layout.labels.dataLabels.formatter,
241
241
  t.value,
242
- O({
242
+ I({
243
243
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
244
244
  v: t.value,
245
245
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
246
246
  r: e.value.style.chart.tooltip.roundingValue
247
247
  }),
248
248
  { datapoint: t, seriesIndex: l }
249
- )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? r += `<span>(${O({
249
+ )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? r += `<span>(${I({
250
250
  v: t.proportion * 100,
251
251
  s: "%",
252
252
  r: e.value.style.chart.tooltip.roundingPercentage
253
- })})</span></div>` : r += `<b>${O({
253
+ })})</span></div>` : r += `<b>${I({
254
254
  v: t.proportion * 100,
255
255
  s: "%",
256
256
  r: e.value.style.chart.tooltip.roundingPercentage
257
257
  })}</b></div>`), X.value = `<div>${r}</div>`);
258
258
  }
259
- const ee = i(() => m.value.map((t, a) => ({
259
+ const ee = v(() => w.value.map((t, a) => ({
260
260
  ...t,
261
261
  proportion: (t.value || 0) / pe.value.map((l) => (l.values || []).reduce((s, r) => s + r, 0)).reduce((l, s) => l + s, 0),
262
262
  opacity: f.value.includes(t.id) ? 0.5 : 1,
263
263
  shape: t.shape || "circle",
264
264
  segregate: () => A(t),
265
265
  isSegregated: f.value.includes(t.id),
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, O({
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({
267
267
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
268
268
  v: t.value,
269
269
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
270
270
  r: e.value.style.chart.legend.roundingValue
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 / k.value) ? "-" : O({ v: t.value / k.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
272
- }))), pt = 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(() => ({
273
273
  cy: "galaxy-div-legend",
274
274
  backgroundColor: e.value.style.chart.legend.backgroundColor,
275
275
  color: e.value.style.chart.legend.color,
276
276
  fontSize: e.value.style.chart.legend.fontSize,
277
277
  paddingBottom: 12,
278
278
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
279
- })), x = i(() => {
279
+ })), S = v(() => {
280
280
  const t = N.value.map((l) => ({
281
281
  name: l.name,
282
282
  color: l.color
@@ -285,27 +285,27 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
285
285
  });
286
286
  function te(t = null) {
287
287
  Ee(() => {
288
- const a = x.value.head.map((r, g) => [[
288
+ const a = S.value.head.map((r, g) => [[
289
289
  r.name
290
- ], [x.value.body[g]], [isNaN(x.value.body[g] / k.value) ? "-" : x.value.body[g] / k.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), s = Vt(l);
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
291
  t ? t(s) : Et({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
292
292
  });
293
293
  }
294
- const G = i(() => {
294
+ const G = v(() => {
295
295
  const t = [
296
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>',
297
- O({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: k.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 }),
298
298
  "100%"
299
- ], a = x.value.head.map((r, g) => {
300
- const $t = O({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: x.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 });
301
301
  return [
302
302
  {
303
303
  color: r.color,
304
304
  name: r.name
305
305
  },
306
306
  $t,
307
- isNaN(x.value.body[g] / k.value) ? "-" : O({
308
- v: x.value.body[g] / k.value * 100,
307
+ isNaN(S.value.body[g] / C.value) ? "-" : I({
308
+ v: S.value.body[g] / C.value * 100,
309
309
  s: "%",
310
310
  r: e.value.table.td.roundingPercentage
311
311
  })
@@ -334,10 +334,10 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
334
334
  config: l
335
335
  };
336
336
  });
337
- function _e() {
337
+ function Ie() {
338
338
  p.value.showTable = !p.value.showTable;
339
339
  }
340
- function Ie() {
340
+ function _e() {
341
341
  p.value.showTooltip = !p.value.showTooltip;
342
342
  }
343
343
  const R = o(!1);
@@ -345,8 +345,8 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
345
345
  R.value = !R.value;
346
346
  }
347
347
  async function ft({ scale: t = 2 } = {}) {
348
- if (!b.value) return;
349
- const { width: a, height: l } = b.value.getBoundingClientRect(), s = a / l, { imageUri: r, base64: g } = await jt({ domElement: b.value, base64: !0, img: !0, scale: t });
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 });
350
350
  return {
351
351
  imageUri: r,
352
352
  base64: g,
@@ -356,7 +356,7 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
356
356
  aspectRatio: s
357
357
  };
358
358
  }
359
- const B = i(() => {
359
+ const B = v(() => {
360
360
  const t = e.value.table.useDialog && !e.value.table.show, a = p.value.showTable;
361
361
  return {
362
362
  component: t ? tt : Qe,
@@ -366,8 +366,8 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
366
366
  color: e.value.table.th.color,
367
367
  headerColor: e.value.table.th.color,
368
368
  headerBg: e.value.table.th.backgroundColor,
369
- isFullscreen: _.value,
370
- fullscreenParent: b.value,
369
+ isFullscreen: D.value,
370
+ fullscreenParent: k.value,
371
371
  forcedWidth: Math.min(500, window.innerWidth * 0.8)
372
372
  } : {
373
373
  hideDetails: !0,
@@ -392,10 +392,10 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
392
392
  function De() {
393
393
  p.value.showTable = !1, Y.value && Y.value.setTableIconState(!1);
394
394
  }
395
- const yt = i(() => ee.value.map((t) => ({
395
+ const yt = v(() => ee.value.map((t) => ({
396
396
  ...t,
397
397
  name: t.display
398
- }))), bt = i(() => e.value.style.chart.backgroundColor), mt = i(() => e.value.style.chart.legend), kt = i(() => e.value.style.chart.title), { exportSvg: wt, getSvg: Ct } = Kt({
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
399
  svg: Q,
400
400
  title: kt,
401
401
  legend: mt,
@@ -418,41 +418,61 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
418
418
  generateSvg: Le,
419
419
  hideSeries: rt,
420
420
  showSeries: ut,
421
- toggleTable: _e,
422
- toggleTooltip: Ie,
421
+ toggleTable: Ie,
422
+ toggleTooltip: _e,
423
423
  toggleAnnotator: le,
424
424
  toggleFullscreen: Pe
425
- }), (t, a) => (n(), c("div", {
425
+ }), (t, a) => (n(), d("div", {
426
426
  ref_key: "galaxyChart",
427
- ref: b,
428
- class: U(`vue-data-ui-component vue-ui-galaxy ${_.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${u(j) ? "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" : ""}`),
429
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}`),
430
- id: `galaxy_${y.value}`,
430
+ id: `galaxy_${m.value}`,
431
431
  onMouseenter: a[2] || (a[2] = () => u(be)(!0)),
432
432
  onMouseleave: a[3] || (a[3] = () => u(be)(!1))
433
433
  }, [
434
- e.value.userOptions.buttons.annotator ? (n(), S(u(Ke), {
434
+ e.value.userOptions.buttons.annotator ? (n(), P(u(Ke), {
435
435
  key: 0,
436
436
  svgRef: u(Q),
437
437
  backgroundColor: e.value.style.chart.backgroundColor,
438
438
  color: e.value.style.chart.color,
439
439
  active: R.value,
440
440
  onClose: le
441
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
442
- at.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", {
443
463
  key: 1,
444
464
  ref_key: "noTitle",
445
465
  ref: de,
446
466
  class: "vue-data-ui-no-title-space",
447
467
  style: "height:36px; width: 100%;background:transparent"
448
- }, null, 512)) : d("", !0),
449
- e.value.style.chart.title.text ? (n(), c("div", {
468
+ }, null, 512)) : h("", !0),
469
+ e.value.style.chart.title.text ? (n(), d("div", {
450
470
  key: 2,
451
471
  ref_key: "chartTitle",
452
472
  ref: ie,
453
473
  style: "width:100%;background:transparent;padding-bottom:24px"
454
474
  }, [
455
- (n(), S(Qt, {
475
+ (n(), P(Qt, {
456
476
  key: `title_${ne.value}`,
457
477
  config: {
458
478
  title: {
@@ -465,11 +485,11 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
465
485
  }
466
486
  }
467
487
  }, null, 8, ["config"]))
468
- ], 512)) : d("", !0),
469
- w("div", {
470
- id: `legend-top-${y.value}`
488
+ ], 512)) : h("", !0),
489
+ $("div", {
490
+ id: `legend-top-${m.value}`
471
491
  }, null, 8, tl),
472
- e.value.userOptions.show && ge.value && (u(me) || u(q)) ? (n(), S(u(Ze), {
492
+ e.value.userOptions.show && ge.value && (u(me) || u(q)) ? (n(), P(u(Ze), {
473
493
  ref_key: "userOptionsRef",
474
494
  ref: Y,
475
495
  key: `user_option_${se.value}`,
@@ -477,7 +497,7 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
477
497
  color: e.value.style.chart.color,
478
498
  isPrinting: u(ke),
479
499
  isImaging: u(we),
480
- uid: y.value,
500
+ uid: m.value,
481
501
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
482
502
  hasPdf: e.value.userOptions.buttons.pdf,
483
503
  hasXls: e.value.userOptions.buttons.csv,
@@ -486,9 +506,9 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
486
506
  hasTable: e.value.userOptions.buttons.table,
487
507
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
488
508
  isTooltip: p.value.showTooltip,
489
- isFullscreen: _.value,
509
+ isFullscreen: D.value,
490
510
  titles: { ...e.value.userOptions.buttonTitles },
491
- chartElement: b.value,
511
+ chartElement: k.value,
492
512
  position: e.value.userOptions.position,
493
513
  hasAnnotator: e.value.userOptions.buttons.annotator,
494
514
  isAnnotation: R.value,
@@ -500,8 +520,8 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
500
520
  onGenerateCsv: te,
501
521
  onGenerateImage: u($e),
502
522
  onGenerateSvg: Le,
503
- onToggleTable: _e,
504
- onToggleTooltip: Ie,
523
+ onToggleTable: Ie,
524
+ onToggleTooltip: _e,
505
525
  onToggleAnnotator: le,
506
526
  style: W({
507
527
  visibility: u(me) ? u(q) ? "visible" : "hidden" : "visible"
@@ -509,137 +529,137 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
509
529
  }, Ae({ _: 2 }, [
510
530
  t.$slots.menuIcon ? {
511
531
  name: "menuIcon",
512
- fn: v(({ isOpen: l, color: s }) => [
513
- 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)
514
534
  ]),
515
535
  key: "0"
516
536
  } : void 0,
517
537
  t.$slots.optionTooltip ? {
518
538
  name: "optionTooltip",
519
- fn: v(() => [
520
- h(t.$slots, "optionTooltip", {}, void 0, !0)
539
+ fn: i(() => [
540
+ c(t.$slots, "optionTooltip", {}, void 0, !0)
521
541
  ]),
522
542
  key: "1"
523
543
  } : void 0,
524
544
  t.$slots.optionPdf ? {
525
545
  name: "optionPdf",
526
- fn: v(() => [
527
- h(t.$slots, "optionPdf", {}, void 0, !0)
546
+ fn: i(() => [
547
+ c(t.$slots, "optionPdf", {}, void 0, !0)
528
548
  ]),
529
549
  key: "2"
530
550
  } : void 0,
531
551
  t.$slots.optionCsv ? {
532
552
  name: "optionCsv",
533
- fn: v(() => [
534
- h(t.$slots, "optionCsv", {}, void 0, !0)
553
+ fn: i(() => [
554
+ c(t.$slots, "optionCsv", {}, void 0, !0)
535
555
  ]),
536
556
  key: "3"
537
557
  } : void 0,
538
558
  t.$slots.optionImg ? {
539
559
  name: "optionImg",
540
- fn: v(() => [
541
- h(t.$slots, "optionImg", {}, void 0, !0)
560
+ fn: i(() => [
561
+ c(t.$slots, "optionImg", {}, void 0, !0)
542
562
  ]),
543
563
  key: "4"
544
564
  } : void 0,
545
565
  t.$slots.optionSvg ? {
546
566
  name: "optionSvg",
547
- fn: v(() => [
548
- h(t.$slots, "optionSvg", {}, void 0, !0)
567
+ fn: i(() => [
568
+ c(t.$slots, "optionSvg", {}, void 0, !0)
549
569
  ]),
550
570
  key: "5"
551
571
  } : void 0,
552
572
  t.$slots.optionTable ? {
553
573
  name: "optionTable",
554
- fn: v(() => [
555
- h(t.$slots, "optionTable", {}, void 0, !0)
574
+ fn: i(() => [
575
+ c(t.$slots, "optionTable", {}, void 0, !0)
556
576
  ]),
557
577
  key: "6"
558
578
  } : void 0,
559
579
  t.$slots.optionFullscreen ? {
560
580
  name: "optionFullscreen",
561
- fn: v(({ toggleFullscreen: l, isFullscreen: s }) => [
562
- 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)
563
583
  ]),
564
584
  key: "7"
565
585
  } : void 0,
566
586
  t.$slots.optionAnnotator ? {
567
587
  name: "optionAnnotator",
568
- fn: v(({ toggleAnnotator: l, isAnnotator: s }) => [
569
- 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)
570
590
  ]),
571
591
  key: "8"
572
592
  } : void 0
573
- ]), 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),
574
- (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", {
575
595
  ref_key: "svgRef",
576
596
  ref: Q,
577
597
  xmlns: u(Bt),
578
- class: U({ "vue-data-ui-fullscreen--on": _.value, "vue-data-ui-fulscreen--off": !_.value }),
579
- viewBox: $.value.viewBox,
598
+ class: U({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
599
+ viewBox: x.value.viewBox,
580
600
  style: W(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
581
601
  }, [
582
602
  ae(u(et)),
583
- t.$slots["chart-background"] ? (n(), c("foreignObject", {
603
+ t.$slots["chart-background"] ? (n(), d("foreignObject", {
584
604
  key: 0,
585
605
  x: 0,
586
606
  y: 0,
587
- width: $.value.width,
588
- height: $.value.height,
607
+ width: x.value.width,
608
+ height: x.value.height,
589
609
  style: {
590
610
  pointerEvents: "none"
591
611
  }
592
612
  }, [
593
- h(t.$slots, "chart-background", {}, void 0, !0)
594
- ], 8, al)) : d("", !0),
595
- w("defs", null, [
596
- w("filter", {
597
- 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}`,
598
618
  x: "-50%",
599
619
  y: "-50%",
600
620
  width: "200%",
601
621
  height: "200%"
602
622
  }, [
603
- w("feGaussianBlur", {
623
+ $("feGaussianBlur", {
604
624
  in: "SourceGraphic",
605
625
  stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
606
626
  }, null, 8, sl)
607
627
  ], 8, ol)
608
628
  ]),
609
- (n(!0), c(Ne, null, Be(N.value, (l) => (n(), c("g", null, [
610
- 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", {
611
631
  key: 0,
612
632
  d: l.path,
613
633
  fill: "none",
614
634
  stroke: e.value.style.chart.backgroundColor,
615
635
  "stroke-width": K(l).border,
616
636
  "stroke-linecap": "round"
617
- }, null, 8, nl)) : d("", !0),
618
- l.value ? (n(), c("path", {
637
+ }, null, 8, nl)) : h("", !0),
638
+ l.value ? (n(), d("path", {
619
639
  key: 1,
620
640
  d: l.path,
621
641
  fill: "none",
622
642
  stroke: l.color,
623
643
  "stroke-width": K(l).path,
624
644
  "stroke-linecap": "round",
625
- class: U(`${P.value && P.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
626
- }, null, 10, ul)) : d("", !0),
627
- 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", {
628
648
  key: 2,
629
- filter: `url(#blur_${y.value})`
649
+ filter: `url(#blur_${m.value})`
630
650
  }, [
631
- w("path", {
651
+ $("path", {
632
652
  d: l.path,
633
653
  fill: "none",
634
654
  stroke: e.value.style.chart.layout.arcs.gradient.color,
635
655
  "stroke-width": K(l).blur,
636
656
  "stroke-linecap": "round",
637
- class: U(`vue-ui-galaxy-gradient ${P.value && P.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
657
+ class: U(`vue-ui-galaxy-gradient ${_.value && _.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
638
658
  }, null, 10, il)
639
- ], 8, rl)) : d("", !0)
659
+ ], 8, rl)) : h("", !0)
640
660
  ]))), 256)),
641
- (n(!0), c(Ne, null, Be(N.value, (l, s) => (n(), c("g", null, [
642
- 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", {
643
663
  key: 0,
644
664
  d: l.path,
645
665
  fill: "none",
@@ -653,50 +673,50 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
653
673
  }),
654
674
  onMouseleave: (r) => dt(l),
655
675
  onClick: (r) => ht(l)
656
- }, null, 40, vl)) : d("", !0)
676
+ }, null, 40, cl)) : h("", !0)
657
677
  ]))), 256)),
658
- h(t.$slots, "svg", { svg: $.value }, void 0, !0)
678
+ c(t.$slots, "svg", { svg: x.value }, void 0, !0)
659
679
  ], 14, ll)),
660
- t.$slots.watermark ? (n(), c("div", cl, [
661
- h(t.$slots, "watermark", I(D({ isPrinting: u(ke) || u(we) })), void 0, !0)
662
- ])) : d("", !0),
663
- w("div", {
664
- id: `legend-bottom-${y.value}`
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}`
665
685
  }, null, 8, dl),
666
- he.value ? (n(), S(St, {
686
+ he.value ? (n(), P(St, {
667
687
  key: 5,
668
- 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}`
669
689
  }, [
670
- w("div", {
690
+ $("div", {
671
691
  ref_key: "chartLegend",
672
- ref: ve
692
+ ref: ce
673
693
  }, [
674
- e.value.style.chart.legend.show ? (n(), S(Jt, {
694
+ e.value.style.chart.legend.show ? (n(), P(Jt, {
675
695
  key: `legend_${re.value}`,
676
696
  legendSet: ee.value,
677
697
  config: pt.value,
678
698
  onClickMarker: a[0] || (a[0] = ({ legend: l }) => A(l))
679
699
  }, {
680
- item: v(({ legend: l, index: s }) => [
681
- u(j) ? d("", !0) : (n(), c("div", {
700
+ item: i(({ legend: l, index: s }) => [
701
+ u(j) ? h("", !0) : (n(), d("div", {
682
702
  key: 0,
683
703
  onClick: (r) => A(l),
684
704
  style: W(`opacity:${f.value.includes(l.id) ? 0.5 : 1}`)
685
705
  }, oe(l.display), 13, hl))
686
706
  ]),
687
707
  _: 1
688
- }, 8, ["legendSet", "config"])) : d("", !0),
689
- 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)
690
710
  ], 512)
691
- ], 8, ["to"])) : d("", !0),
692
- t.$slots.source ? (n(), c("div", {
711
+ ], 8, ["to"])) : h("", !0),
712
+ t.$slots.source ? (n(), d("div", {
693
713
  key: 6,
694
714
  ref_key: "source",
695
- ref: ce,
715
+ ref: ve,
696
716
  dir: "auto"
697
717
  }, [
698
- h(t.$slots, "source", {}, void 0, !0)
699
- ], 512)) : d("", !0),
718
+ c(t.$slots, "source", {}, void 0, !0)
719
+ ], 512)) : h("", !0),
700
720
  ae(u(je), {
701
721
  show: p.value.showTooltip && H.value,
702
722
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
@@ -708,30 +728,30 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
708
728
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
709
729
  position: e.value.style.chart.tooltip.position,
710
730
  offsetY: e.value.style.chart.tooltip.offsetY,
711
- parent: b.value,
731
+ parent: k.value,
712
732
  content: X.value,
713
- isFullscreen: _.value,
733
+ isFullscreen: D.value,
714
734
  isCustom: u(Ue)(e.value.style.chart.tooltip.customFormat),
715
735
  smooth: e.value.style.chart.tooltip.smooth,
716
736
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
717
737
  smoothForce: e.value.style.chart.tooltip.smoothForce,
718
738
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
719
739
  }, {
720
- "tooltip-before": v(() => [
721
- 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)
722
742
  ]),
723
- "tooltip-after": v(() => [
724
- 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)
725
745
  ]),
726
746
  _: 3
727
747
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
728
- ge.value && e.value.userOptions.buttons.table ? (n(), S(Ot(B.value.component), Pt({ key: 7 }, B.value.props, {
748
+ ge.value && e.value.userOptions.buttons.table ? (n(), P(Ot(B.value.component), Pt({ key: 7 }, B.value.props, {
729
749
  ref_key: "tableUnit",
730
750
  ref: F,
731
751
  onClose: De
732
752
  }), Ae({
733
- content: v(() => [
734
- (n(), S(u(Je), {
753
+ content: i(() => [
754
+ (n(), P(u(Je), {
735
755
  key: `table_${ue.value}`,
736
756
  colNames: G.value.colNames,
737
757
  head: G.value.head,
@@ -741,13 +761,13 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
741
761
  withCloseButton: !e.value.table.useDialog,
742
762
  onClose: De
743
763
  }, {
744
- th: v(({ th: l }) => [
745
- w("div", {
764
+ th: i(({ th: l }) => [
765
+ $("div", {
746
766
  innerHTML: l,
747
767
  style: { display: "flex", "align-items": "center" }
748
768
  }, null, 8, gl)
749
769
  ]),
750
- td: v(({ td: l }) => [
770
+ td: i(({ td: l }) => [
751
771
  Ve(oe(l.name || l), 1)
752
772
  ]),
753
773
  _: 1
@@ -757,15 +777,15 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
757
777
  }, [
758
778
  e.value.table.useDialog ? {
759
779
  name: "title",
760
- fn: v(() => [
780
+ fn: i(() => [
761
781
  Ve(oe(B.value.title), 1)
762
782
  ]),
763
783
  key: "0"
764
784
  } : void 0,
765
785
  e.value.table.useDialog ? {
766
786
  name: "actions",
767
- fn: v(() => [
768
- w("button", {
787
+ fn: i(() => [
788
+ $("button", {
769
789
  tabindex: "0",
770
790
  class: "vue-ui-user-options-button",
771
791
  onClick: a[1] || (a[1] = (l) => te(e.value.userOptions.callbacks.csv))
@@ -778,11 +798,11 @@ const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox"], al = ["width", "heigh
778
798
  ]),
779
799
  key: "1"
780
800
  } : void 0
781
- ]), 1040)) : d("", !0),
782
- u(j) ? (n(), S(zt, { key: 8 })) : d("", !0)
801
+ ]), 1040)) : h("", !0),
802
+ u(j) ? (n(), P(zt, { key: 8 })) : h("", !0)
783
803
  ], 46, el));
784
804
  }
785
- }, Il = /* @__PURE__ */ Zt(pl, [["__scopeId", "data-v-f5a928e8"]]);
805
+ }, _l = /* @__PURE__ */ Zt(pl, [["__scopeId", "data-v-2bf9793a"]]);
786
806
  export {
787
- Il as default
807
+ _l as default
788
808
  };