vue-data-ui 2.12.6 → 2.12.7-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/{Arrow-Bd9ZVBnX.js → Arrow-CmqjRRUl.js} +1 -1
  2. package/dist/BaseDraggableDialog-BMlyvt7E.js +180 -0
  3. package/dist/{BaseIcon-CNbwMh_-.js → BaseIcon-CZdMutjs.js} +1 -1
  4. package/dist/{ColorPicker-B_FoQwtO.js → ColorPicker-DvVKgyAl.js} +23 -24
  5. package/dist/{DataTable-Rajdtaf6.js → DataTable-Cv9CIz-a.js} +11 -11
  6. package/dist/{Legend-BxtDQCIv.js → Legend-DFunFf8i.js} +8 -8
  7. package/dist/NonSvgPenAndPaper-pVuHj6_A.js +467 -0
  8. package/dist/PackageVersion-CLY-udAA.js +10 -0
  9. package/dist/{PenAndPaper-BkP3J-Ft.js → PenAndPaper-B9na2mbr.js} +8 -10
  10. package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
  11. package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
  12. package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
  13. package/dist/{Shape-C69a0f29.js → Shape-D3w9qas1.js} +2 -2
  14. package/dist/{Slicer-7qFdY-bT.js → Slicer-ncY8krrM.js} +2 -2
  15. package/dist/SparkTooltip-CwThutH2.js +68 -0
  16. package/dist/{Title-CzaCeCOm.js → Title-B5qqUI3M.js} +2 -2
  17. package/dist/Tooltip-C9rxJ-Ru.js +149 -0
  18. package/dist/{usePrinter-C5bLp34h.js → UserOptions-Ddy6CuLC.js} +172 -231
  19. package/dist/{dom-to-png-Bm0D0yPL.js → dom-to-png-DDlooC9r.js} +1 -1
  20. package/dist/{img-BN9AzqUr.js → img-m9g7lR5d.js} +1 -1
  21. package/dist/{index-BFzQMJda.js → index-BiHmNd1-.js} +21 -21
  22. package/dist/{pdf-uTbs813M.js → pdf-BqM953uL.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/useChartAccessibility-9icAAmYg.js +12 -0
  25. package/dist/useMouse-AicQS8Vf.js +13 -0
  26. package/dist/{useNestedProp-v7KPpwuP.js → useNestedProp-tRqS0ZAM.js} +1 -1
  27. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  28. package/dist/usePrinter-CRCbl1WG.js +53 -0
  29. package/dist/vClickOutside-C6WiFswA.js +13 -0
  30. package/dist/{vue-data-ui-D1k8FeRp.js → vue-data-ui-D9uTDt73.js} +63 -63
  31. package/dist/vue-data-ui.js +19 -19
  32. package/dist/{vue-ui-3d-bar-DoklA4DT.js → vue-ui-3d-bar-rtuSc8FS.js} +397 -402
  33. package/dist/{vue-ui-accordion-BUz4JIIX.js → vue-ui-accordion-CmCs2yR2.js} +3 -3
  34. package/dist/{vue-ui-age-pyramid-4kyBq-Dy.js → vue-ui-age-pyramid-BrzMSiyu.js} +215 -218
  35. package/dist/{vue-ui-annotator-Bq1ZeFfb.js → vue-ui-annotator-CYxmTpf6.js} +2 -2
  36. package/dist/{vue-ui-bullet-DU10avvA.js → vue-ui-bullet-D25qNQfb.js} +137 -140
  37. package/dist/{vue-ui-candlestick-BI1t3flz.js → vue-ui-candlestick-BuerNa-r.js} +265 -271
  38. package/dist/{vue-ui-carousel-table-VowLf_oc.js → vue-ui-carousel-table-aN0HLsOO.js} +137 -137
  39. package/dist/{vue-ui-chestnut-BHjV3d94.js → vue-ui-chestnut-oUj2ocsZ.js} +397 -400
  40. package/dist/{vue-ui-chord-CPr7r-2_.js → vue-ui-chord-C4evlXYB.js} +356 -365
  41. package/dist/vue-ui-circle-pack-CWrNiKTY.js +656 -0
  42. package/dist/{vue-ui-cursor-C9teAbVI.js → vue-ui-cursor-DgpSttlt.js} +2 -2
  43. package/dist/{vue-ui-dashboard-CwDYB8tP.js → vue-ui-dashboard-BN2ha1Eh.js} +62 -62
  44. package/dist/{vue-ui-digits-CHmkL0hn.js → vue-ui-digits-BhjAxXgm.js} +2 -2
  45. package/dist/vue-ui-donut-D3_z61HI.js +1291 -0
  46. package/dist/vue-ui-donut-evolution-oKtmZPx4.js +864 -0
  47. package/dist/{vue-ui-dumbbell-DTKLLd1N.js → vue-ui-dumbbell-C8Lokx-F.js} +265 -270
  48. package/dist/{vue-ui-flow-BLBhsU2n.js → vue-ui-flow-BVRkH0PS.js} +291 -300
  49. package/dist/{vue-ui-funnel-CIrWdeBk.js → vue-ui-funnel-DFxcmAB5.js} +216 -219
  50. package/dist/{vue-ui-galaxy-ByhKyIV4.js → vue-ui-galaxy-CGE0hlBC.js} +227 -235
  51. package/dist/{vue-ui-gauge-BbfBMpng.js → vue-ui-gauge-B48eMvOR.js} +240 -243
  52. package/dist/{vue-ui-gizmo-BM-_QfHM.js → vue-ui-gizmo-zTKNpjvv.js} +57 -58
  53. package/dist/{vue-ui-heatmap-BA4z4hsw.js → vue-ui-heatmap-UNfTt8SM.js} +239 -242
  54. package/dist/{vue-ui-history-plot-8vM_IUy8.js → vue-ui-history-plot-CbCWmvtg.js} +257 -262
  55. package/dist/{vue-ui-kpi-D57QLK6A.js → vue-ui-kpi-Drf_lrlh.js} +29 -30
  56. package/dist/{vue-ui-mini-loader-CR4c-xJQ.js → vue-ui-mini-loader-DU3G6BVs.js} +2 -2
  57. package/dist/vue-ui-molecule-B5MOXYEA.js +580 -0
  58. package/dist/{vue-ui-mood-radar-Brc9cxoD.js → vue-ui-mood-radar-CC_CVLvn.js} +180 -186
  59. package/dist/{vue-ui-nested-donuts-W3Z5F--L.js → vue-ui-nested-donuts-D_H962kk.js} +366 -374
  60. package/dist/{vue-ui-onion-BNBlGNlF.js → vue-ui-onion-P8k6T724.js} +252 -258
  61. package/dist/{vue-ui-parallel-coordinate-plot-B5G3jyvg.js → vue-ui-parallel-coordinate-plot-B5Los0vX.js} +296 -303
  62. package/dist/{vue-ui-quadrant-CUy9mVIA.js → vue-ui-quadrant-B3wzCTxK.js} +402 -409
  63. package/dist/{vue-ui-quick-chart-D4_8mRXU.js → vue-ui-quick-chart-oucj6hXk.js} +611 -616
  64. package/dist/{vue-ui-radar-BUk56jGL.js → vue-ui-radar-Cjqlyu6d.js} +270 -277
  65. package/dist/{vue-ui-rating-B9TQl5KP.js → vue-ui-rating-gryk_h_6.js} +2 -2
  66. package/dist/vue-ui-relation-circle-ielvWC-1.js +525 -0
  67. package/dist/{vue-ui-ridgeline-Cl06bGom.js → vue-ui-ridgeline-Dydqo68b.js} +321 -326
  68. package/dist/{vue-ui-rings-B6bpFlFp.js → vue-ui-rings-BRBXektJ.js} +262 -269
  69. package/dist/{vue-ui-scatter--WUuVw5G.js → vue-ui-scatter-Df-BM7Ts.js} +372 -379
  70. package/dist/{vue-ui-skeleton-B_YI7Yuc.js → vue-ui-skeleton-CbYQYRvD.js} +19 -19
  71. package/dist/{vue-ui-smiley-Bbam2fDz.js → vue-ui-smiley-BfHaQMaW.js} +2 -2
  72. package/dist/{vue-ui-spark-trend-DavXuwGt.js → vue-ui-spark-trend-z3fUChs_.js} +114 -117
  73. package/dist/{vue-ui-sparkbar-9N1FU9-J.js → vue-ui-sparkbar-ChtFIugH.js} +104 -106
  74. package/dist/{vue-ui-sparkgauge-_9ntq4EK.js → vue-ui-sparkgauge-DtpODCww.js} +72 -74
  75. package/dist/{vue-ui-sparkhistogram-BEzOV4HV.js → vue-ui-sparkhistogram-C3XnYiXI.js} +83 -86
  76. package/dist/vue-ui-sparkline-CoL8jiX8.js +459 -0
  77. package/dist/{vue-ui-sparkstackbar-BSWcs3v0.js → vue-ui-sparkstackbar-CYk3mZJH.js} +102 -105
  78. package/dist/{vue-ui-stackbar-gG5BLlAr.js → vue-ui-stackbar-D9LGbuG5.js} +433 -437
  79. package/dist/{vue-ui-strip-plot-BJouRmxh.js → vue-ui-strip-plot-C5r1Ee2R.js} +245 -252
  80. package/dist/{vue-ui-table-D9Ry8s4N.js → vue-ui-table-DBaT_TfA.js} +3 -3
  81. package/dist/{vue-ui-table-heatmap-Bizzpi31.js → vue-ui-table-heatmap-CYW4YfKN.js} +93 -94
  82. package/dist/{vue-ui-table-sparkline-Dg54Ovs2.js → vue-ui-table-sparkline-Di0MYR4p.js} +212 -212
  83. package/dist/{vue-ui-thermometer-6MSdF_Gm.js → vue-ui-thermometer-BF1btHY2.js} +154 -157
  84. package/dist/{vue-ui-timer-ByaKokk8.js → vue-ui-timer-D9FfRWN5.js} +180 -181
  85. package/dist/vue-ui-tiremarks-CQ0lk8fJ.js +341 -0
  86. package/dist/vue-ui-treemap-1Lx7YRtc.js +947 -0
  87. package/dist/{vue-ui-vertical-bar-CE4oBwBv.js → vue-ui-vertical-bar-DdVVQ1ED.js} +397 -403
  88. package/dist/{vue-ui-waffle-DNEEnY_G.js → vue-ui-waffle-BhnuPiRD.js} +317 -324
  89. package/dist/vue-ui-wheel-BIjJ0fg8.js +335 -0
  90. package/dist/vue-ui-word-cloud-3-r8HwO_.js +642 -0
  91. package/dist/{vue-ui-world-Brhq17TE.js → vue-ui-world-CPIGEswq.js} +430 -442
  92. package/dist/{vue-ui-xy-K2G7QQxG.js → vue-ui-xy-9e_epIN4.js} +845 -846
  93. package/dist/vue-ui-xy-canvas-DcGgQ7s4.js +1206 -0
  94. package/package.json +6 -6
  95. package/dist/BaseDraggableDialog-Bzwlfmy1.js +0 -186
  96. package/dist/PackageVersion-BjrblLPQ.js +0 -10
  97. package/dist/Tooltip-CWmRmhJr.js +0 -158
  98. package/dist/useChartAccessibility-BWojgys7.js +0 -13
  99. package/dist/vue-ui-circle-pack-D_jYpsuD.js +0 -659
  100. package/dist/vue-ui-donut-WRUDvvZa.js +0 -1292
  101. package/dist/vue-ui-donut-evolution-BQxV5D_L.js +0 -871
  102. package/dist/vue-ui-molecule-Bq69N7rC.js +0 -782
  103. package/dist/vue-ui-relation-circle-T6aTibIU.js +0 -528
  104. package/dist/vue-ui-sparkline-D__GCUAz.js +0 -519
  105. package/dist/vue-ui-tiremarks-Z8pjUT1g.js +0 -344
  106. package/dist/vue-ui-treemap-pRJ3be5l.js +0 -956
  107. package/dist/vue-ui-wheel-DWPYZxdT.js +0 -338
  108. package/dist/vue-ui-word-cloud-DAR7R8F8.js +0 -648
  109. package/dist/vue-ui-xy-canvas-ml44sPHS.js +0 -1673
@@ -1,34 +1,26 @@
1
- import { computed as h, onMounted as Fe, ref as n, watch as Ae, createElementBlock as i, openBlock as o, unref as u, normalizeStyle as A, normalizeClass as E, createBlock as $, createCommentVNode as c, renderSlot as v, createVNode as ce, createSlots as Ee, withCtx as d, normalizeProps as _, guardReactiveProps as T, createElementVNode as O, Fragment as ve, renderList as de, createTextVNode as he, toDisplayString as V, nextTick as Ve } from "vue";
2
- import { u as De, o as Me, e as pe, g as Be, c as ye, t as Ge, p as D, a as ze, b as Ue, H as fe, d as We, L as He, f as k, X as Re, i as ge, x as be, q as Xe, r as je, y as Ye } from "./index-BFzQMJda.js";
3
- import { L as qe } from "./Legend-BxtDQCIv.js";
4
- import { _ as Je } from "./Title-CzaCeCOm.js";
5
- import { _ as Ke } from "./Tooltip-CWmRmhJr.js";
6
- import { D as Qe } from "./DataTable-Rajdtaf6.js";
7
- import { u as Ze, U as et } from "./usePrinter-C5bLp34h.js";
8
- import tt from "./vue-ui-skeleton-B_YI7Yuc.js";
9
- import lt from "./vue-ui-accordion-BUz4JIIX.js";
10
- import { u as me } from "./useNestedProp-v7KPpwuP.js";
11
- import { _ as at } from "./PackageVersion-BjrblLPQ.js";
12
- import { _ as ot } from "./PenAndPaper-BkP3J-Ft.js";
13
- import { u as st } from "./useUserOptionState-BIvW1Kz7.js";
14
- import { u as rt } from "./useChartAccessibility-BWojgys7.js";
15
- import { _ as ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const nt = ["id"], it = {
1
+ import { defineAsyncComponent as m, computed as h, onMounted as He, ref as n, watch as Re, createElementBlock as i, openBlock as s, unref as a, normalizeStyle as V, normalizeClass as E, createBlock as x, createCommentVNode as c, renderSlot as v, createVNode as ve, createSlots as Ue, withCtx as d, normalizeProps as _, guardReactiveProps as O, createElementVNode as P, Fragment as de, renderList as he, createTextVNode as pe, toDisplayString as M, nextTick as Xe } from "vue";
2
+ import { u as je, o as Ye, e as ye, g as qe, c as ge, t as Je, p as B, a as Ke, b as Qe, H as fe, d as Ze, L as et, f as C, X as tt, i as be, x as me, q as lt, r as ot, y as at } from "./index-BiHmNd1-.js";
3
+ import { u as ke } from "./useNestedProp-tRqS0ZAM.js";
4
+ import { u as st } from "./usePrinter-CRCbl1WG.js";
5
+ import { u as rt } from "./useUserOptionState-BIvW1Kz7.js";
6
+ import { u as ut } from "./useChartAccessibility-9icAAmYg.js";
7
+ import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
+ const it = ["id"], ct = {
17
9
  key: 1,
18
10
  ref: "noTitle",
19
11
  class: "vue-data-ui-no-title-space",
20
12
  style: "height:36px; width: 100%;background:transparent"
21
- }, ct = {
13
+ }, vt = {
22
14
  key: 2,
23
15
  style: "width:100%;background:transparent;padding-bottom:24px"
24
- }, vt = ["xmlns", "viewBox"], dt = ["width", "height"], ht = ["id"], pt = ["stdDeviation"], yt = ["d", "stroke", "stroke-width"], ft = ["d", "stroke", "stroke-width"], gt = ["filter"], bt = ["d", "stroke", "stroke-width"], mt = ["d", "stroke-width", "onMouseenter", "onClick"], kt = {
16
+ }, dt = ["xmlns", "viewBox"], ht = ["width", "height"], pt = ["id"], yt = ["stdDeviation"], gt = ["d", "stroke", "stroke-width"], ft = ["d", "stroke", "stroke-width"], bt = ["filter"], mt = ["d", "stroke", "stroke-width"], kt = ["d", "stroke-width", "onMouseenter", "onClick"], Ct = {
25
17
  key: 5,
26
18
  class: "vue-data-ui-watermark"
27
- }, Ct = ["onClick"], wt = { key: 0 }, $t = { key: 1 }, xt = {
19
+ }, wt = ["onClick"], $t = { key: 0 }, xt = { key: 1 }, Tt = {
28
20
  key: 8,
29
21
  ref: "source",
30
22
  dir: "auto"
31
- }, _t = ["innerHTML"], Tt = {
23
+ }, _t = ["innerHTML"], Ot = {
32
24
  __name: "vue-ui-galaxy",
33
25
  props: {
34
26
  config: {
@@ -45,192 +37,192 @@ const nt = ["id"], it = {
45
37
  }
46
38
  },
47
39
  emits: ["selectLegend", "selectDatapoint"],
48
- setup(ke, { expose: Ce, emit: we }) {
49
- const { vue_ui_galaxy: $e } = De(), f = ke, N = h(() => !!f.dataset && f.dataset.length);
50
- Fe(() => {
51
- R();
40
+ setup(Ce, { expose: we, emit: $e }) {
41
+ const xe = m(() => import("./vue-ui-accordion-CmCs2yR2.js")), Te = m(() => import("./DataTable-Cv9CIz-a.js")), _e = m(() => import("./Legend-DFunFf8i.js")), Oe = m(() => import("./PackageVersion-CLY-udAA.js")), Pe = m(() => import("./PenAndPaper-B9na2mbr.js")), Se = m(() => import("./vue-ui-skeleton-CbYQYRvD.js")), Ne = m(() => import("./Title-B5qqUI3M.js")), Le = m(() => import("./Tooltip-C9rxJ-Ru.js")), Ie = m(() => import("./UserOptions-Ddy6CuLC.js")), { vue_ui_galaxy: Ae } = je(), g = Ce, I = h(() => !!g.dataset && g.dataset.length);
42
+ He(() => {
43
+ X();
52
44
  });
53
- function R() {
54
- Me(f.dataset) ? pe({
45
+ function X() {
46
+ Ye(g.dataset) ? ye({
55
47
  componentName: "VueUiGalaxy",
56
48
  type: "dataset"
57
- }) : f.dataset.forEach((t, a) => {
58
- Be({
49
+ }) : g.dataset.forEach((t, o) => {
50
+ qe({
59
51
  datasetObject: t,
60
52
  requiredAttributes: ["name", "values"]
61
53
  }).forEach((l) => {
62
- pe({
54
+ ye({
63
55
  componentName: "VueUiGalaxy",
64
56
  type: "datasetSerieAttribute",
65
57
  property: l,
66
- index: a
58
+ index: o
67
59
  });
68
60
  });
69
61
  });
70
62
  }
71
- const S = n(ye()), M = n(null), xe = n(null), B = n(!1), G = n(""), g = n(null), X = n(0), j = n(0), Y = n(0), q = n(0), e = h({
72
- get: () => Z(),
63
+ const S = n(ge()), D = n(null), Fe = n(null), G = n(!1), z = n(""), f = n(null), j = n(0), Y = n(0), q = n(0), J = n(0), e = h({
64
+ get: () => ee(),
73
65
  set: (t) => t
74
- }), { userOptionsVisible: z, setUserOptionsVisibility: J, keepUserOptionState: K } = st({ config: e.value }), { svgRef: Q } = rt({ config: e.value.style.chart.title });
75
- function Z() {
76
- const t = me({
77
- userConfig: f.config,
78
- defaultConfig: $e
66
+ }), { userOptionsVisible: W, setUserOptionsVisibility: K, keepUserOptionState: Q } = rt({ config: e.value }), { svgRef: Z } = ut({ config: e.value.style.chart.title });
67
+ function ee() {
68
+ const t = ke({
69
+ userConfig: g.config,
70
+ defaultConfig: Ae
79
71
  });
80
72
  return t.theme ? {
81
- ...me({
82
- userConfig: ze.vue_ui_galaxy[t.theme] || f.config,
73
+ ...ke({
74
+ userConfig: Ke.vue_ui_galaxy[t.theme] || g.config,
83
75
  defaultConfig: t
84
76
  }),
85
- customPalette: Ge[t.theme] || D
77
+ customPalette: Je[t.theme] || B
86
78
  } : t;
87
79
  }
88
- Ae(() => f.config, (t) => {
89
- e.value = Z(), z.value = !e.value.userOptions.showOnChartHover, R(), j.value += 1, Y.value += 1, q.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;
80
+ Re(() => g.config, (t) => {
81
+ e.value = ee(), W.value = !e.value.userOptions.showOnChartHover, X(), Y.value += 1, q.value += 1, J.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;
90
82
  }, { deep: !0 });
91
- const { isPrinting: ee, isImaging: te, generatePdf: le, generateImage: ae } = Ze({
83
+ const { isPrinting: te, isImaging: le, generatePdf: oe, generateImage: ae } = st({
92
84
  elementId: `galaxy_${S.value}`,
93
85
  fileName: e.value.style.chart.title.text || "vue-ui-galaxy",
94
86
  options: e.value.userOptions.print
95
- }), _e = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Te = h(() => Ue(e.value.customPalette)), p = n({
87
+ }), Ve = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ee = h(() => Qe(e.value.customPalette)), p = n({
96
88
  dataLabels: {
97
89
  show: e.value.style.chart.layout.labels.dataLabels.show
98
90
  },
99
91
  showTable: e.value.table.show,
100
92
  showTooltip: e.value.style.chart.tooltip.show
101
- }), P = n({
93
+ }), N = n({
102
94
  height: 180,
103
95
  // or 250 if non fibo
104
96
  width: 250
105
- }), oe = we, y = n([]);
106
- function U(t) {
107
- y.value.includes(t.id) ? y.value = y.value.filter((a) => a !== t.id) : y.value.push(t.id), oe("selectLegend", L.value.map((a) => ({
108
- name: a.name,
109
- color: a.color,
110
- value: a.value
97
+ }), se = $e, y = n([]);
98
+ function H(t) {
99
+ y.value.includes(t.id) ? y.value = y.value.filter((o) => o !== t.id) : y.value.push(t.id), se("selectLegend", L.value.map((o) => ({
100
+ name: o.name,
101
+ color: o.color,
102
+ value: o.value
111
103
  })));
112
104
  }
113
- const C = h(() => f.dataset.map((t, a) => ({
105
+ const w = h(() => g.dataset.map((t, o) => ({
114
106
  name: t.name,
115
- color: We(t.color) || Te.value[a] || D[a] || D[a % D.length],
116
- value: t.values ? fe(t.values).reduce((l, s) => l + s, 0) : 0,
107
+ color: Ze(t.color) || Ee.value[o] || B[o] || B[o % B.length],
108
+ value: t.values ? fe(t.values).reduce((l, r) => l + r, 0) : 0,
117
109
  absoluteValues: fe(t.values),
118
- id: ye(),
119
- seriesIndex: a
120
- })).sort((t, a) => a.value - t.value));
121
- function Oe() {
122
- return C.value.map((t) => ({
110
+ id: ge(),
111
+ seriesIndex: o
112
+ })).sort((t, o) => o.value - t.value));
113
+ function Me() {
114
+ return w.value.map((t) => ({
123
115
  name: t.name,
124
116
  color: t.color,
125
117
  value: t.value
126
118
  }));
127
119
  }
128
- const b = h(() => C.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), Se = n(190), se = h(() => C.value.filter((t) => !y.value.includes(t.id))), L = h(() => {
120
+ const b = h(() => w.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value).reduce((t, o) => t + o, 0)), Be = n(190), re = h(() => w.value.filter((t) => !y.value.includes(t.id))), L = h(() => {
129
121
  const t = [];
130
- for (let a = 0; a < se.value.length; a += 1) {
131
- const l = se.value[a];
132
- let s = l.value / b.value * Se.value;
133
- a > 0 && t.length && (s += t[a - 1].points), t.push({
134
- points: s,
122
+ for (let o = 0; o < re.value.length; o += 1) {
123
+ const l = re.value[o];
124
+ let r = l.value / b.value * Be.value;
125
+ o > 0 && t.length && (r += t[o - 1].points), t.push({
126
+ points: r,
135
127
  ...l,
136
- seriesIndex: a,
128
+ seriesIndex: o,
137
129
  proportion: l.value / b.value,
138
- path: He({
139
- points: s,
130
+ path: et({
131
+ points: r,
140
132
  startX: 115 + e.value.style.chart.layout.arcs.offsetX,
141
133
  startY: 90 + e.value.style.chart.layout.arcs.offsetY
142
134
  })
143
135
  });
144
136
  }
145
- return t.filter((a, l) => !y.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
146
- }), x = n(!1);
147
- function Pe(t) {
148
- x.value = t, X.value += 1;
137
+ return t.filter((o, l) => !y.value.includes(o.id)).toSorted((o, l) => l.points - o.points);
138
+ }), T = n(!1);
139
+ function De(t) {
140
+ T.value = t, j.value += 1;
149
141
  }
150
- const W = n(null);
151
- function Le({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: s = !1 }) {
152
- W.value = {
142
+ const R = n(null);
143
+ function Ge({ datapoint: t, _relativeIndex: o, seriesIndex: l, show: r = !1 }) {
144
+ R.value = {
153
145
  datapoint: t,
154
146
  seriesIndex: l,
155
- series: C.value,
147
+ series: w.value,
156
148
  config: e.value
157
- }, B.value = s, g.value = t.id;
158
- let r = "";
159
- const w = e.value.style.chart.tooltip.customFormat;
160
- be(w) && Ye(() => w({
149
+ }, G.value = r, f.value = t.id;
150
+ let u = "";
151
+ const $ = e.value.style.chart.tooltip.customFormat;
152
+ me($) && at(() => $({
161
153
  seriesIndex: l,
162
154
  datapoint: t,
163
- series: C.value,
155
+ series: w.value,
164
156
  config: e.value
165
- })) ? G.value = w({
157
+ })) ? z.value = $({
166
158
  seriesIndex: l,
167
159
  datapoint: t,
168
- series: C.value,
160
+ series: w.value,
169
161
  config: e.value
170
- }) : (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>${ge(
162
+ }) : (u += `<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>`, u += `<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 && (u += `<b>${be(
171
163
  e.value.style.chart.layout.labels.dataLabels.formatter,
172
164
  t.value,
173
- k({
165
+ C({
174
166
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
175
167
  v: t.value,
176
168
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
177
169
  r: e.value.style.chart.tooltip.roundingValue
178
170
  }),
179
171
  { datapoint: t, seriesIndex: l }
180
- )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? r += `<span>(${k({
172
+ )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? u += `<span>(${C({
181
173
  v: t.proportion * 100,
182
174
  s: "%",
183
175
  r: e.value.style.chart.tooltip.roundingPercentage
184
- })})</span></div>` : r += `<b>${k({
176
+ })})</span></div>` : u += `<b>${C({
185
177
  v: t.proportion * 100,
186
178
  s: "%",
187
179
  r: e.value.style.chart.tooltip.roundingPercentage
188
- })}</b></div>`), G.value = `<div>${r}</div>`);
180
+ })}</b></div>`), z.value = `<div>${u}</div>`);
189
181
  }
190
- const re = h(() => C.value.map((t, a) => ({
182
+ const ue = h(() => w.value.map((t, o) => ({
191
183
  ...t,
192
- proportion: (t.value || 0) / f.dataset.map((l) => (l.values || []).reduce((s, r) => s + r, 0)).reduce((l, s) => l + s, 0),
184
+ proportion: (t.value || 0) / g.dataset.map((l) => (l.values || []).reduce((r, u) => r + u, 0)).reduce((l, r) => l + r, 0),
193
185
  opacity: y.value.includes(t.id) ? 0.5 : 1,
194
186
  shape: t.shape || "circle",
195
- segregate: () => U(t),
187
+ segregate: () => H(t),
196
188
  isSegregated: y.value.includes(t.id)
197
- }))), Ne = h(() => ({
189
+ }))), ze = h(() => ({
198
190
  cy: "galaxy-div-legend",
199
191
  backgroundColor: e.value.style.chart.legend.backgroundColor,
200
192
  color: e.value.style.chart.legend.color,
201
193
  fontSize: e.value.style.chart.legend.fontSize,
202
194
  paddingBottom: 12,
203
195
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
204
- })), m = h(() => {
196
+ })), k = h(() => {
205
197
  const t = L.value.map((l) => ({
206
198
  name: l.name,
207
199
  color: l.color
208
- })), a = L.value.map((l) => l.value);
209
- return { head: t, body: a };
200
+ })), o = L.value.map((l) => l.value);
201
+ return { head: t, body: o };
210
202
  });
211
- function ue() {
212
- Ve(() => {
213
- const t = m.value.head.map((s, r) => [[
214
- s.name
215
- ], [m.value.body[r]], [isNaN(m.value.body[r] / b.value) ? "-" : m.value.body[r] / b.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = Xe(a);
216
- je({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
203
+ function ne() {
204
+ Xe(() => {
205
+ const t = k.value.head.map((r, u) => [[
206
+ r.name
207
+ ], [k.value.body[u]], [isNaN(k.value.body[u] / b.value) ? "-" : k.value.body[u] / b.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = lt(o);
208
+ ot({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
217
209
  });
218
210
  }
219
- const I = h(() => {
211
+ const A = h(() => {
220
212
  const t = [
221
213
  ' <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>',
222
- k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: b.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
214
+ C({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: b.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
223
215
  "100%"
224
- ], a = m.value.head.map((r, w) => {
225
- const Ie = k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value.body[w], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
216
+ ], o = k.value.head.map((u, $) => {
217
+ const We = C({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: k.value.body[$], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
226
218
  return [
227
219
  {
228
- color: r.color,
229
- name: r.name
220
+ color: u.color,
221
+ name: u.name
230
222
  },
231
- Ie,
232
- isNaN(m.value.body[w] / b.value) ? "-" : k({
233
- v: m.value.body[w] / b.value * 100,
223
+ We,
224
+ isNaN(k.value.body[$] / b.value) ? "-" : C({
225
+ v: k.value.body[$] / b.value * 100,
234
226
  s: "%",
235
227
  r: e.value.table.td.roundingPercentage
236
228
  })
@@ -255,49 +247,49 @@ const nt = ["id"], it = {
255
247
  e.value.table.columnNames.percentage
256
248
  ],
257
249
  head: t,
258
- body: a,
250
+ body: o,
259
251
  config: l
260
252
  };
261
253
  });
262
- function ne() {
254
+ function ie() {
263
255
  p.value.showTable = !p.value.showTable;
264
256
  }
265
- function ie() {
257
+ function ce() {
266
258
  p.value.showTooltip = !p.value.showTooltip;
267
259
  }
268
260
  const F = n(!1);
269
- function H() {
261
+ function U() {
270
262
  F.value = !F.value;
271
263
  }
272
- return Ce({
273
- getData: Oe,
274
- generatePdf: le,
275
- generateCsv: ue,
264
+ return we({
265
+ getData: Me,
266
+ generatePdf: oe,
267
+ generateCsv: ne,
276
268
  generateImage: ae,
277
- toggleTable: ne,
278
- toggleTooltip: ie,
279
- toggleAnnotator: H
280
- }), (t, a) => (o(), i("div", {
269
+ toggleTable: ie,
270
+ toggleTooltip: ce,
271
+ toggleAnnotator: U
272
+ }), (t, o) => (s(), i("div", {
281
273
  ref_key: "galaxyChart",
282
- ref: M,
283
- class: E(`vue-ui-galaxy ${x.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
284
- style: A(`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}`),
274
+ ref: D,
275
+ class: E(`vue-ui-galaxy ${T.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
276
+ style: V(`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}`),
285
277
  id: `galaxy_${S.value}`,
286
- onMouseenter: a[3] || (a[3] = () => u(J)(!0)),
287
- onMouseleave: a[4] || (a[4] = () => u(J)(!1))
278
+ onMouseenter: o[3] || (o[3] = () => a(K)(!0)),
279
+ onMouseleave: o[4] || (o[4] = () => a(K)(!1))
288
280
  }, [
289
- e.value.userOptions.buttons.annotator ? (o(), $(ot, {
281
+ e.value.userOptions.buttons.annotator ? (s(), x(a(Pe), {
290
282
  key: 0,
291
- svgRef: u(Q),
283
+ svgRef: a(Z),
292
284
  backgroundColor: e.value.style.chart.backgroundColor,
293
285
  color: e.value.style.chart.color,
294
286
  active: F.value,
295
- onClose: H
287
+ onClose: U
296
288
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
297
- _e.value ? (o(), i("div", it, null, 512)) : c("", !0),
298
- e.value.style.chart.title.text ? (o(), i("div", ct, [
299
- (o(), $(Je, {
300
- key: `title_${j.value}`,
289
+ Ve.value ? (s(), i("div", ct, null, 512)) : c("", !0),
290
+ e.value.style.chart.title.text ? (s(), i("div", vt, [
291
+ (s(), x(a(Ne), {
292
+ key: `title_${Y.value}`,
301
293
  config: {
302
294
  title: {
303
295
  cy: "galaxy-div-title",
@@ -310,14 +302,14 @@ const nt = ["id"], it = {
310
302
  }
311
303
  }, null, 8, ["config"]))
312
304
  ])) : c("", !0),
313
- e.value.userOptions.show && N.value && (u(K) || u(z)) ? (o(), $(et, {
305
+ e.value.userOptions.show && I.value && (a(Q) || a(W)) ? (s(), x(a(Ie), {
314
306
  ref_key: "details",
315
- ref: xe,
316
- key: `user_option_${X.value}`,
307
+ ref: Fe,
308
+ key: `user_option_${j.value}`,
317
309
  backgroundColor: e.value.style.chart.backgroundColor,
318
310
  color: e.value.style.chart.color,
319
- isPrinting: u(ee),
320
- isImaging: u(te),
311
+ isPrinting: a(te),
312
+ isImaging: a(le),
321
313
  uid: S.value,
322
314
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
323
315
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -326,27 +318,27 @@ const nt = ["id"], it = {
326
318
  hasTable: e.value.userOptions.buttons.table,
327
319
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
328
320
  isTooltip: p.value.showTooltip,
329
- isFullscreen: x.value,
321
+ isFullscreen: T.value,
330
322
  titles: { ...e.value.userOptions.buttonTitles },
331
- chartElement: M.value,
323
+ chartElement: D.value,
332
324
  position: e.value.userOptions.position,
333
325
  hasAnnotator: e.value.userOptions.buttons.annotator,
334
326
  isAnnotation: F.value,
335
- onToggleFullscreen: Pe,
336
- onGeneratePdf: u(le),
337
- onGenerateCsv: ue,
338
- onGenerateImage: u(ae),
339
- onToggleTable: ne,
340
- onToggleTooltip: ie,
341
- onToggleAnnotator: H,
342
- style: A({
343
- visibility: u(K) ? u(z) ? "visible" : "hidden" : "visible"
327
+ onToggleFullscreen: De,
328
+ onGeneratePdf: a(oe),
329
+ onGenerateCsv: ne,
330
+ onGenerateImage: a(ae),
331
+ onToggleTable: ie,
332
+ onToggleTooltip: ce,
333
+ onToggleAnnotator: U,
334
+ style: V({
335
+ visibility: a(Q) ? a(W) ? "visible" : "hidden" : "visible"
344
336
  })
345
- }, Ee({ _: 2 }, [
337
+ }, Ue({ _: 2 }, [
346
338
  t.$slots.menuIcon ? {
347
339
  name: "menuIcon",
348
- fn: d(({ isOpen: l, color: s }) => [
349
- v(t.$slots, "menuIcon", _(T({ isOpen: l, color: s })), void 0, !0)
340
+ fn: d(({ isOpen: l, color: r }) => [
341
+ v(t.$slots, "menuIcon", _(O({ isOpen: l, color: r })), void 0, !0)
350
342
  ]),
351
343
  key: "0"
352
344
  } : void 0,
@@ -387,112 +379,112 @@ const nt = ["id"], it = {
387
379
  } : void 0,
388
380
  t.$slots.optionFullscreen ? {
389
381
  name: "optionFullscreen",
390
- fn: d(({ toggleFullscreen: l, isFullscreen: s }) => [
391
- v(t.$slots, "optionFullscreen", _(T({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
382
+ fn: d(({ toggleFullscreen: l, isFullscreen: r }) => [
383
+ v(t.$slots, "optionFullscreen", _(O({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
392
384
  ]),
393
385
  key: "6"
394
386
  } : void 0,
395
387
  t.$slots.optionAnnotator ? {
396
388
  name: "optionAnnotator",
397
- fn: d(({ toggleAnnotator: l, isAnnotator: s }) => [
398
- v(t.$slots, "optionAnnotator", _(T({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
389
+ fn: d(({ toggleAnnotator: l, isAnnotator: r }) => [
390
+ v(t.$slots, "optionAnnotator", _(O({ toggleAnnotator: l, isAnnotator: r })), void 0, !0)
399
391
  ]),
400
392
  key: "7"
401
393
  } : void 0
402
394
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
403
- N.value ? (o(), i("svg", {
395
+ I.value ? (s(), i("svg", {
404
396
  key: 4,
405
397
  ref_key: "svgRef",
406
- ref: Q,
407
- xmlns: u(Re),
408
- class: E({ "vue-data-ui-fullscreen--on": x.value, "vue-data-ui-fulscreen--off": !x.value }),
409
- viewBox: `0 0 ${P.value.width} ${P.value.height}`,
410
- style: A(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
398
+ ref: Z,
399
+ xmlns: a(tt),
400
+ class: E({ "vue-data-ui-fullscreen--on": T.value, "vue-data-ui-fulscreen--off": !T.value }),
401
+ viewBox: `0 0 ${N.value.width} ${N.value.height}`,
402
+ style: V(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
411
403
  }, [
412
- ce(at),
413
- t.$slots["chart-background"] ? (o(), i("foreignObject", {
404
+ ve(a(Oe)),
405
+ t.$slots["chart-background"] ? (s(), i("foreignObject", {
414
406
  key: 0,
415
407
  x: 0,
416
408
  y: 0,
417
- width: P.value.width,
418
- height: P.value.height,
409
+ width: N.value.width,
410
+ height: N.value.height,
419
411
  style: {
420
412
  pointerEvents: "none"
421
413
  }
422
414
  }, [
423
415
  v(t.$slots, "chart-background", {}, void 0, !0)
424
- ], 8, dt)) : c("", !0),
425
- O("defs", null, [
426
- O("filter", {
416
+ ], 8, ht)) : c("", !0),
417
+ P("defs", null, [
418
+ P("filter", {
427
419
  id: `blur_${S.value}`,
428
420
  x: "-50%",
429
421
  y: "-50%",
430
422
  width: "200%",
431
423
  height: "200%"
432
424
  }, [
433
- O("feGaussianBlur", {
425
+ P("feGaussianBlur", {
434
426
  in: "SourceGraphic",
435
427
  stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
436
- }, null, 8, pt)
437
- ], 8, ht)
428
+ }, null, 8, yt)
429
+ ], 8, pt)
438
430
  ]),
439
- (o(!0), i(ve, null, de(L.value, (l) => (o(), i("g", null, [
440
- l.value ? (o(), i("path", {
431
+ (s(!0), i(de, null, he(L.value, (l) => (s(), i("g", null, [
432
+ l.value ? (s(), i("path", {
441
433
  key: 0,
442
434
  d: l.path,
443
435
  fill: "none",
444
436
  stroke: e.value.style.chart.backgroundColor,
445
- "stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (g.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
437
+ "stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
446
438
  "stroke-linecap": "round"
447
- }, null, 8, yt)) : c("", !0),
448
- l.value ? (o(), i("path", {
439
+ }, null, 8, gt)) : c("", !0),
440
+ l.value ? (s(), i("path", {
449
441
  key: 1,
450
442
  d: l.path,
451
443
  fill: "none",
452
444
  stroke: l.color,
453
- "stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (g.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
445
+ "stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
454
446
  "stroke-linecap": "round",
455
- class: E(`${g.value && g.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
447
+ class: E(`${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
456
448
  }, null, 10, ft)) : c("", !0),
457
- l.value && e.value.style.chart.layout.arcs.gradient.show ? (o(), i("g", {
449
+ l.value && e.value.style.chart.layout.arcs.gradient.show ? (s(), i("g", {
458
450
  key: 2,
459
451
  filter: `url(#blur_${S.value})`
460
452
  }, [
461
- O("path", {
453
+ P("path", {
462
454
  d: l.path,
463
455
  fill: "none",
464
456
  stroke: e.value.style.chart.layout.arcs.gradient.color,
465
- "stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (g.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
457
+ "stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
466
458
  "stroke-linecap": "round",
467
- class: E(`vue-ui-galaxy-gradient ${g.value && g.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
468
- }, null, 10, bt)
469
- ], 8, gt)) : c("", !0)
459
+ class: E(`vue-ui-galaxy-gradient ${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
460
+ }, null, 10, mt)
461
+ ], 8, bt)) : c("", !0)
470
462
  ]))), 256)),
471
- (o(!0), i(ve, null, de(L.value, (l, s) => (o(), i("g", null, [
472
- l.value ? (o(), i("path", {
463
+ (s(!0), i(de, null, he(L.value, (l, r) => (s(), i("g", null, [
464
+ l.value ? (s(), i("path", {
473
465
  key: 0,
474
466
  d: l.path,
475
467
  fill: "none",
476
468
  stroke: "transparent",
477
469
  "stroke-width": e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth,
478
470
  "stroke-linecap": "round",
479
- onMouseenter: (r) => Le({
471
+ onMouseenter: (u) => Ge({
480
472
  datapoint: l,
481
473
  seriesIndex: l.seriesIndex,
482
474
  show: !0
483
475
  }),
484
- onMouseleave: a[0] || (a[0] = (r) => {
485
- B.value = !1, g.value = null;
476
+ onMouseleave: o[0] || (o[0] = (u) => {
477
+ G.value = !1, f.value = null;
486
478
  }),
487
- onClick: (r) => oe("selectDatapoint", l)
488
- }, null, 40, mt)) : c("", !0)
479
+ onClick: (u) => se("selectDatapoint", l)
480
+ }, null, 40, kt)) : c("", !0)
489
481
  ]))), 256)),
490
- v(t.$slots, "svg", { svg: P.value }, void 0, !0)
491
- ], 14, vt)) : c("", !0),
492
- t.$slots.watermark ? (o(), i("div", kt, [
493
- v(t.$slots, "watermark", _(T({ isPrinting: u(ee) || u(te) })), void 0, !0)
482
+ v(t.$slots, "svg", { svg: N.value }, void 0, !0)
483
+ ], 14, dt)) : c("", !0),
484
+ t.$slots.watermark ? (s(), i("div", Ct, [
485
+ v(t.$slots, "watermark", _(O({ isPrinting: a(te) || a(le) })), void 0, !0)
494
486
  ])) : c("", !0),
495
- N.value ? c("", !0) : (o(), $(tt, {
487
+ I.value ? c("", !0) : (s(), x(a(Se), {
496
488
  key: 6,
497
489
  config: {
498
490
  type: "galaxy",
@@ -504,43 +496,43 @@ const nt = ["id"], it = {
504
496
  }
505
497
  }
506
498
  }, null, 8, ["config"])),
507
- e.value.style.chart.legend.show ? (o(), $(qe, {
508
- key: `legend_${q.value}`,
509
- legendSet: re.value,
510
- config: Ne.value,
511
- onClickMarker: a[1] || (a[1] = ({ legend: l }) => U(l))
499
+ e.value.style.chart.legend.show ? (s(), x(a(_e), {
500
+ key: `legend_${J.value}`,
501
+ legendSet: ue.value,
502
+ config: ze.value,
503
+ onClickMarker: o[1] || (o[1] = ({ legend: l }) => H(l))
512
504
  }, {
513
- item: d(({ legend: l, index: s }) => [
514
- O("div", {
515
- onClick: (r) => U(l),
516
- style: A(`opacity:${y.value.includes(l.id) ? 0.5 : 1}`)
505
+ item: d(({ legend: l, index: r }) => [
506
+ P("div", {
507
+ onClick: (u) => H(l),
508
+ style: V(`opacity:${y.value.includes(l.id) ? 0.5 : 1}`)
517
509
  }, [
518
- he(V(l.name) + ": " + V(u(ge)(
510
+ pe(M(l.name) + ": " + M(a(be)(
519
511
  e.value.style.chart.layout.labels.dataLabels.formatter,
520
512
  l.value,
521
- u(k)({
513
+ a(C)({
522
514
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
523
515
  v: l.value,
524
516
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
525
517
  r: e.value.style.chart.legend.roundingValue
526
518
  }),
527
- { datapoint: l, seriesIndex: s }
519
+ { datapoint: l, seriesIndex: r }
528
520
  )) + " ", 1),
529
- y.value.includes(l.id) ? (o(), i("span", $t, " ( - % ) ")) : (o(), i("span", wt, " (" + V(isNaN(l.value / b.value) ? "-" : u(k)({
521
+ y.value.includes(l.id) ? (s(), i("span", xt, " ( - % ) ")) : (s(), i("span", $t, " (" + M(isNaN(l.value / b.value) ? "-" : a(C)({
530
522
  v: l.value / b.value * 100,
531
523
  s: "%",
532
524
  r: e.value.style.chart.legend.roundingPercentage
533
525
  })) + ") ", 1))
534
- ], 12, Ct)
526
+ ], 12, wt)
535
527
  ]),
536
528
  _: 1
537
529
  }, 8, ["legendSet", "config"])) : c("", !0),
538
- v(t.$slots, "legend", { legend: re.value }, void 0, !0),
539
- t.$slots.source ? (o(), i("div", xt, [
530
+ v(t.$slots, "legend", { legend: ue.value }, void 0, !0),
531
+ t.$slots.source ? (s(), i("div", Tt, [
540
532
  v(t.$slots, "source", {}, void 0, !0)
541
533
  ], 512)) : c("", !0),
542
- ce(Ke, {
543
- show: p.value.showTooltip && B.value,
534
+ ve(a(Le), {
535
+ show: p.value.showTooltip && G.value,
544
536
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
545
537
  color: e.value.style.chart.tooltip.color,
546
538
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -550,20 +542,20 @@ const nt = ["id"], it = {
550
542
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
551
543
  position: e.value.style.chart.tooltip.position,
552
544
  offsetY: e.value.style.chart.tooltip.offsetY,
553
- parent: M.value,
554
- content: G.value,
555
- isFullscreen: x.value,
556
- isCustom: u(be)(e.value.style.chart.tooltip.customFormat)
545
+ parent: D.value,
546
+ content: z.value,
547
+ isFullscreen: T.value,
548
+ isCustom: a(me)(e.value.style.chart.tooltip.customFormat)
557
549
  }, {
558
550
  "tooltip-before": d(() => [
559
- v(t.$slots, "tooltip-before", _(T({ ...W.value })), void 0, !0)
551
+ v(t.$slots, "tooltip-before", _(O({ ...R.value })), void 0, !0)
560
552
  ]),
561
553
  "tooltip-after": d(() => [
562
- v(t.$slots, "tooltip-after", _(T({ ...W.value })), void 0, !0)
554
+ v(t.$slots, "tooltip-after", _(O({ ...R.value })), void 0, !0)
563
555
  ]),
564
556
  _: 3
565
557
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
566
- N.value ? (o(), $(lt, {
558
+ I.value ? (s(), x(a(xe), {
567
559
  key: 9,
568
560
  hideDetails: "",
569
561
  config: {
@@ -580,32 +572,32 @@ const nt = ["id"], it = {
580
572
  }
581
573
  }, {
582
574
  content: d(() => [
583
- (o(), $(Qe, {
584
- key: `table_${Y.value}`,
585
- colNames: I.value.colNames,
586
- head: I.value.head,
587
- body: I.value.body,
588
- config: I.value.config,
575
+ (s(), x(a(Te), {
576
+ key: `table_${q.value}`,
577
+ colNames: A.value.colNames,
578
+ head: A.value.head,
579
+ body: A.value.body,
580
+ config: A.value.config,
589
581
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
590
- onClose: a[2] || (a[2] = (l) => p.value.showTable = !1)
582
+ onClose: o[2] || (o[2] = (l) => p.value.showTable = !1)
591
583
  }, {
592
584
  th: d(({ th: l }) => [
593
- O("div", {
585
+ P("div", {
594
586
  innerHTML: l,
595
587
  style: { display: "flex", "align-items": "center" }
596
588
  }, null, 8, _t)
597
589
  ]),
598
590
  td: d(({ td: l }) => [
599
- he(V(l.name || l), 1)
591
+ pe(M(l.name || l), 1)
600
592
  ]),
601
593
  _: 1
602
594
  }, 8, ["colNames", "head", "body", "config", "title"]))
603
595
  ]),
604
596
  _: 1
605
597
  }, 8, ["config"])) : c("", !0)
606
- ], 46, nt));
598
+ ], 46, it));
607
599
  }
608
- }, Ut = /* @__PURE__ */ ut(Tt, [["__scopeId", "data-v-41382c10"]]);
600
+ }, Vt = /* @__PURE__ */ nt(Ot, [["__scopeId", "data-v-1281b625"]]);
609
601
  export {
610
- Ut as default
602
+ Vt as default
611
603
  };