vue-data-ui 3.0.23 → 3.1.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 (108) hide show
  1. package/dist/{Arrow-B1Op9F3x.js → Arrow-DvG07exK.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B4OaMIom.js → BaseDraggableDialog-O7900pGp.js} +72 -59
  3. package/dist/{BaseIcon-CgUOIGjr.js → BaseIcon-DHtro8us.js} +1 -1
  4. package/dist/{useLoading-D7YHNtLX.js → BaseScanner-BgWxam9d.js} +11 -11
  5. package/dist/{ColorPicker-C0nf8VH0.js → ColorPicker-CpWzNn4r.js} +2 -2
  6. package/dist/DataTable-DJjA2_wf.js +140 -0
  7. package/dist/{Legend-CyYXMSsW.js → Legend-2-dC7DVb.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-D63qeScu.js → NonSvgPenAndPaper-DHeE4Yuv.js} +3 -3
  9. package/dist/{PackageVersion-B6M-3jRt.js → PackageVersion-DU12WH3O.js} +1 -1
  10. package/dist/{PenAndPaper-zym5uEeN.js → PenAndPaper-B7QEDgx4.js} +3 -3
  11. package/dist/{Shape-CYVs2kYz.js → Shape-Dj2Hl33H.js} +1 -1
  12. package/dist/{Slicer-BTIFUO4x.js → Slicer-D99HytqX.js} +2 -2
  13. package/dist/{SparkTooltip-CNz7AYUL.js → SparkTooltip-B-wL07rI.js} +1 -1
  14. package/dist/{Title-D_e0SFWS.js → Title-Dq2_Z9kR.js} +1 -1
  15. package/dist/{Tooltip-DjVoFYj1.js → Tooltip-Y219DXZO.js} +1 -1
  16. package/dist/{UserOptions-z0NWZ7aQ.js → UserOptions-BuGfCdAY.js} +2 -2
  17. package/dist/{dom-to-png-DD0au3Qz.js → dom-to-png-BhciAKaM.js} +1 -1
  18. package/dist/{img-z5p1gGfY.js → img-JOqdlnUs.js} +1 -1
  19. package/dist/{index-BEuUtONc.js → index-CDQbCd41.js} +37 -2
  20. package/dist/{pdf-BmUjVBni.js → pdf-Dd-LIJqz.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +35 -0
  23. package/dist/types/vue-data-ui.d.ts +35 -0
  24. package/dist/{useAutoSizeLabelsInsideViewbox-CchB8S-o.js → useAutoSizeLabelsInsideViewbox-Bky5KGFZ.js} +1 -1
  25. package/dist/{useNestedProp-DhLFhguL.js → useNestedProp-BPEHGiYX.js} +1 -1
  26. package/dist/{usePrinter-DiB0_UNt.js → usePrinter-Bnl1YeUU.js} +2 -2
  27. package/dist/{vue-data-ui-DJIAas-7.js → vue-data-ui-DcNYz3cZ.js} +64 -64
  28. package/dist/vue-data-ui.js +1 -1
  29. package/dist/vue-ui-3d-bar-BNIFAeN-.js +1369 -0
  30. package/dist/{vue-ui-accordion-B4YfUjZ5.js → vue-ui-accordion-Bf_LHFFX.js} +3 -3
  31. package/dist/{vue-ui-age-pyramid-CkXXNN79.js → vue-ui-age-pyramid-Bz-l1afR.js} +333 -286
  32. package/dist/{vue-ui-annotator-DnSsIkvU.js → vue-ui-annotator-BcfRH2BF.js} +2 -2
  33. package/dist/{vue-ui-bullet-kZkBsWPY.js → vue-ui-bullet-DK1aM9fX.js} +8 -8
  34. package/dist/{vue-ui-candlestick-CIn0xZm0.js → vue-ui-candlestick-D6mMjvtu.js} +453 -406
  35. package/dist/{vue-ui-carousel-table-f1FDOAqH.js → vue-ui-carousel-table-Vp5f238W.js} +4 -4
  36. package/dist/{vue-ui-chestnut-B-jSj7FT.js → vue-ui-chestnut-BKc4v-lf.js} +509 -459
  37. package/dist/vue-ui-chord-CquhRjf0.js +1100 -0
  38. package/dist/vue-ui-circle-pack-D6zLgxa3.js +755 -0
  39. package/dist/{vue-ui-cursor-DdBrui6i.js → vue-ui-cursor-DIXb2S93.js} +2 -2
  40. package/dist/{vue-ui-dashboard-DSUfW7mI.js → vue-ui-dashboard-DmiriAK7.js} +62 -62
  41. package/dist/{vue-ui-digits-Cb3Wq5WR.js → vue-ui-digits-CLAIo9gW.js} +2 -2
  42. package/dist/{vue-ui-donut-BCZqlAO3.js → vue-ui-donut-C8h_tCSO.js} +477 -431
  43. package/dist/{vue-ui-donut-evolution-HmQBq9VP.js → vue-ui-donut-evolution-C3r0YhKz.js} +482 -435
  44. package/dist/{vue-ui-dumbbell-B5w2oqNO.js → vue-ui-dumbbell-D-t4M00E.js} +443 -398
  45. package/dist/vue-ui-flow-D7_D_UNm.js +900 -0
  46. package/dist/vue-ui-funnel-B0QOfZRz.js +666 -0
  47. package/dist/vue-ui-galaxy-Ccw5uNes.js +744 -0
  48. package/dist/{vue-ui-gauge-C_KLPWk2.js → vue-ui-gauge-DvW7nFmK.js} +8 -8
  49. package/dist/{vue-ui-gizmo-CsPX25Ti.js → vue-ui-gizmo-WGQxvGPy.js} +4 -4
  50. package/dist/vue-ui-heatmap-BQkLujyp.js +1127 -0
  51. package/dist/{vue-ui-history-plot-DgpYiaUD.js → vue-ui-history-plot-eU33r_Ot.js} +408 -361
  52. package/dist/{vue-ui-kpi-DOgibU7W.js → vue-ui-kpi-CKg2i71M.js} +3 -3
  53. package/dist/{vue-ui-mini-loader-BjsQAxDx.js → vue-ui-mini-loader-BmkGQsm_.js} +2 -2
  54. package/dist/vue-ui-molecule-Dlu0hjSg.js +702 -0
  55. package/dist/{vue-ui-mood-radar-DMwVl3wz.js → vue-ui-mood-radar-DQaxfw9R.js} +342 -291
  56. package/dist/{vue-ui-nested-donuts-H0GzIAF0.js → vue-ui-nested-donuts-Djj9Aw_i.js} +548 -502
  57. package/dist/{vue-ui-onion-A6nKcus1.js → vue-ui-onion-ZgsErXis.js} +363 -317
  58. package/dist/vue-ui-parallel-coordinate-plot-B5fB22Jc.js +979 -0
  59. package/dist/vue-ui-quadrant-CMevCtXH.js +1483 -0
  60. package/dist/{vue-ui-quick-chart-mwXE3w_o.js → vue-ui-quick-chart-DcparKSX.js} +7 -7
  61. package/dist/vue-ui-radar-DFbxoKCK.js +858 -0
  62. package/dist/{vue-ui-rating-CleNHFo5.js → vue-ui-rating-ZUpxCWrk.js} +2 -2
  63. package/dist/{vue-ui-relation-circle-CMCH7Ia6.js → vue-ui-relation-circle-eNKJY4Sx.js} +8 -8
  64. package/dist/vue-ui-ridgeline-D4shpQZd.js +1204 -0
  65. package/dist/vue-ui-rings-TdTHMbsa.js +785 -0
  66. package/dist/{vue-ui-scatter-kv28dsT3.js → vue-ui-scatter-CVuV9ljU.js} +594 -548
  67. package/dist/{vue-ui-skeleton-DCNOYh9x.js → vue-ui-skeleton-CFxBU2-p.js} +3 -3
  68. package/dist/{vue-ui-smiley-DcS0CM-z.js → vue-ui-smiley-Har3B3aQ.js} +2 -2
  69. package/dist/{vue-ui-spark-trend-LHgReXth.js → vue-ui-spark-trend-FPk-XEwI.js} +4 -4
  70. package/dist/{vue-ui-sparkbar-Da315uRq.js → vue-ui-sparkbar-V3eJ0w0t.js} +4 -4
  71. package/dist/{vue-ui-sparkgauge-BeAkjGap.js → vue-ui-sparkgauge-DKTGkWnJ.js} +4 -4
  72. package/dist/{vue-ui-sparkhistogram-Cy19W3y1.js → vue-ui-sparkhistogram-DJsgFwHs.js} +5 -5
  73. package/dist/{vue-ui-sparkline-IjlQWgs3.js → vue-ui-sparkline-Dmrm5SL5.js} +4 -4
  74. package/dist/{vue-ui-sparkstackbar-CoFgOa3r.js → vue-ui-sparkstackbar-B0Pl7VMI.js} +4 -4
  75. package/dist/{vue-ui-stackbar-fbCs4sHF.js → vue-ui-stackbar-CNsgBPhj.js} +525 -479
  76. package/dist/{vue-ui-strip-plot-Cm8Zr6RE.js → vue-ui-strip-plot-CYAWwYOM.js} +390 -343
  77. package/dist/{vue-ui-table-q7jWgS26.js → vue-ui-table-Dn6H98rP.js} +3 -3
  78. package/dist/{vue-ui-table-heatmap-CsK9gR1G.js → vue-ui-table-heatmap-COI9LRqC.js} +5 -5
  79. package/dist/{vue-ui-table-sparkline-CXTPucPr.js → vue-ui-table-sparkline-B7Gg5FfJ.js} +4 -4
  80. package/dist/{vue-ui-thermometer-BFxdNgrd.js → vue-ui-thermometer-Bgynq5El.js} +8 -8
  81. package/dist/{vue-ui-timer-BsoeDFjK.js → vue-ui-timer-CXng51v5.js} +5 -5
  82. package/dist/{vue-ui-tiremarks-BW_jSayT.js → vue-ui-tiremarks-Cy1U3hO1.js} +7 -7
  83. package/dist/vue-ui-treemap-BsvIvRmE.js +1092 -0
  84. package/dist/{vue-ui-vertical-bar-OrLV4CxH.js → vue-ui-vertical-bar-DHqWeDIf.js} +512 -464
  85. package/dist/{vue-ui-waffle-BA6rNfVs.js → vue-ui-waffle-D1Mscj3N.js} +416 -370
  86. package/dist/{vue-ui-wheel-B_BkI-5f.js → vue-ui-wheel-DpV-N5tF.js} +7 -7
  87. package/dist/vue-ui-word-cloud-MaNQ3Kdk.js +811 -0
  88. package/dist/{vue-ui-world-B4mKuSSn.js → vue-ui-world-DYz6zw3x.js} +512 -466
  89. package/dist/{vue-ui-xy-m1SWJk77.js → vue-ui-xy-B1nqNbzw.js} +1551 -1500
  90. package/dist/vue-ui-xy-canvas-D4wd-Asd.js +1291 -0
  91. package/package.json +1 -1
  92. package/dist/DataTable-nO6ydJO2.js +0 -133
  93. package/dist/vue-ui-3d-bar-B56WqLJ-.js +0 -1323
  94. package/dist/vue-ui-chord-Ck4yV3Tb.js +0 -1049
  95. package/dist/vue-ui-circle-pack-BAfRk_Hd.js +0 -709
  96. package/dist/vue-ui-flow-BXkxtUoF.js +0 -852
  97. package/dist/vue-ui-funnel-DFvDO--q.js +0 -620
  98. package/dist/vue-ui-galaxy-BXNLLc3U.js +0 -691
  99. package/dist/vue-ui-heatmap-BHq6hBaL.js +0 -1078
  100. package/dist/vue-ui-molecule-BtyMTwEn.js +0 -656
  101. package/dist/vue-ui-parallel-coordinate-plot-DZ9_0F5c.js +0 -927
  102. package/dist/vue-ui-quadrant-CUggSeUN.js +0 -1432
  103. package/dist/vue-ui-radar-BRKZ8e_X.js +0 -807
  104. package/dist/vue-ui-ridgeline-xW7UrSfR.js +0 -1157
  105. package/dist/vue-ui-rings-D3NfFMaO.js +0 -739
  106. package/dist/vue-ui-treemap-DhAYSVB9.js +0 -1046
  107. package/dist/vue-ui-word-cloud-CrSLGFOK.js +0 -765
  108. package/dist/vue-ui-xy-canvas-CX2JT6T3.js +0 -1243
@@ -1,739 +0,0 @@
1
- import { defineAsyncComponent as R, useSlots as it, ref as r, computed as f, toRefs as vt, watch as le, shallowRef as Ne, onMounted as ct, onBeforeUnmount as dt, createElementBlock as d, openBlock as i, unref as s, normalizeStyle as S, normalizeClass as B, createBlock as F, createCommentVNode as b, createElementVNode as $, createVNode as ae, createSlots as Le, withCtx as g, renderSlot as h, normalizeProps as D, guardReactiveProps as M, Fragment as oe, renderList as se, mergeProps as ht, Teleport as pt, toDisplayString as E, createTextVNode as gt, nextTick as ft } from "vue";
2
- import { u as yt, c as Ve, t as mt, a as bt, p as P, b as kt, o as Re, f as ne, g as wt, d as Ct, G as $t, e as De, i as N, X as Tt, s as _t, x as xt, h as X, k as Me, v as At, w as Ft, y as It, z as Ot } from "./index-BEuUtONc.js";
3
- import { t as St, u as Pt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Nt } from "./usePrinter-DiB0_UNt.js";
5
- import { u as Lt, B as Vt } from "./useLoading-D7YHNtLX.js";
6
- import { u as ze } from "./useNestedProp-DhLFhguL.js";
7
- import { u as Rt } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as Dt } from "./useChartAccessibility-9icAAmYg.js";
9
- import Mt from "./Legend-CyYXMSsW.js";
10
- import zt from "./Title-D_e0SFWS.js";
11
- import { _ as Bt } from "./Shape-CYVs2kYz.js";
12
- import Et from "./img-z5p1gGfY.js";
13
- import { _ as Ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const Wt = ["id"], Gt = ["id"], Ht = ["xmlns", "viewBox"], jt = ["width", "height"], Xt = ["id"], Yt = ["stop-color"], qt = ["stop-color"], Jt = { key: 1 }, Kt = ["stroke", "cx", "cy", "r", "fill"], Qt = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], Zt = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], el = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], tl = {
15
- key: 4,
16
- class: "vue-data-ui-watermark"
17
- }, ll = ["id"], al = ["onClick"], ol = ["innerHTML"], sl = {
18
- __name: "vue-ui-rings",
19
- props: {
20
- config: {
21
- type: Object,
22
- default() {
23
- return {};
24
- }
25
- },
26
- dataset: {
27
- type: Array,
28
- default() {
29
- return [];
30
- }
31
- }
32
- },
33
- emits: ["selectLegend"],
34
- setup(Be, { expose: Ee, emit: Ue }) {
35
- const We = R(() => import("./vue-ui-accordion-B4YfUjZ5.js")), Ge = R(() => import("./DataTable-nO6ydJO2.js")), He = R(() => import("./PackageVersion-B6M-3jRt.js")), je = R(() => import("./PenAndPaper-zym5uEeN.js")), Xe = R(() => import("./Tooltip-DjVoFYj1.js")), Ye = R(() => import("./UserOptions-z0NWZ7aQ.js")), { vue_ui_rings: qe } = yt(), Je = it(), k = Be, I = r(!1), ue = f(() => !!k.dataset && k.dataset.length), y = r(Ve()), Ke = r(null), U = r(!1), Y = r(""), T = r(null), re = r(0), _ = r(null), ie = r(null), ve = r(null), ce = r(null), de = r(null), he = r(0), pe = r(0), ge = r(0), q = r(!1), fe = r(!1), e = r(K()), { loading: O, FINAL_DATASET: ye, manualLoading: W } = Lt({
36
- ...vt(k),
37
- FINAL_CONFIG: e,
38
- prepareConfig: K,
39
- skeletonDataset: [
40
- { name: "_", values: [13], color: "#808080" },
41
- { name: "_", values: [8], color: "#969696" },
42
- { name: "_", values: [5], color: "#ADADAD" },
43
- { name: "_", values: [3], color: "#C4C4C4" },
44
- { name: "_", values: [2], color: "#DBDBDB" }
45
- ],
46
- skeletonConfig: mt({
47
- defaultConfig: e.value,
48
- userConfig: {
49
- userOptions: { show: !1 },
50
- table: { show: !1 },
51
- style: {
52
- chart: {
53
- backgroundColor: "#99999930",
54
- layout: {
55
- rings: {
56
- stroke: "#6A6A6A",
57
- gradient: {
58
- underlayerColor: "#FFFFFF"
59
- }
60
- }
61
- },
62
- legend: {
63
- backgroundColor: "transparent"
64
- }
65
- }
66
- }
67
- }
68
- })
69
- }), { userOptionsVisible: J, setUserOptionsVisibility: me, keepUserOptionState: be } = Rt({ config: e.value }), { svgRef: ke } = Dt({ config: e.value.style.chart.title });
70
- function K() {
71
- const t = ze({
72
- userConfig: k.config,
73
- defaultConfig: qe
74
- });
75
- return t.theme ? {
76
- ...ze({
77
- userConfig: kt.vue_ui_rings[t.theme] || k.config,
78
- defaultConfig: t
79
- }),
80
- customPalette: bt[t.theme] || P
81
- } : t;
82
- }
83
- le(() => k.config, (t) => {
84
- O.value || (e.value = K()), J.value = !e.value.userOptions.showOnChartHover, we(), he.value += 1, pe.value += 1, ge.value += 1, w.value.showTable = e.value.table.show, w.value.showTooltip = e.value.style.chart.tooltip.show;
85
- }, { deep: !0 }), le(() => k.dataset, (t) => {
86
- Array.isArray(t) && t.length > 0 && (W.value = !1);
87
- }, { deep: !0 });
88
- const x = Ne(null), L = Ne(null);
89
- ct(() => {
90
- fe.value = !0, we();
91
- });
92
- const Q = f(() => !!e.value.debug);
93
- function we() {
94
- if (Re(k.dataset) ? (ne({
95
- componentName: "VueUiRings",
96
- type: "dataset",
97
- debug: Q.value
98
- }), W.value = !0) : k.dataset.forEach((t, a) => {
99
- t.values.length || (ne({
100
- componentName: "VueUiRings",
101
- type: "dataset",
102
- debug: Q.value
103
- }), W.value = !0), wt({
104
- datasetObject: t,
105
- requiredAttributes: ["name", "values"]
106
- }).forEach((l) => {
107
- ne({
108
- componentName: "VueUiRings",
109
- type: "datasetSerieAttribute",
110
- property: l,
111
- index: a,
112
- debug: Q.value
113
- });
114
- });
115
- }), Re(k.dataset) || (W.value = e.value.loading), e.value.responsive) {
116
- const t = St(() => {
117
- q.value = !0;
118
- const { width: a, height: l } = Pt({
119
- chart: _.value,
120
- title: e.value.style.chart.title.text ? ie.value : null,
121
- legend: e.value.style.chart.legend.show ? ve.value : null,
122
- source: ce.value,
123
- noTitle: de.value
124
- });
125
- requestAnimationFrame(() => {
126
- n.value.width = a, n.value.height = l - 12, q.value = !1;
127
- });
128
- });
129
- x.value && (L.value && x.value.unobserve(L.value), x.value.disconnect()), x.value = new ResizeObserver(t), L.value = _.value.parentNode, x.value.observe(L.value);
130
- }
131
- setTimeout(() => {
132
- I.value = !0;
133
- }, 600);
134
- }
135
- dt(() => {
136
- x.value && (L.value && x.value.unobserve(L.value), x.value.disconnect());
137
- });
138
- const { isPrinting: Ce, isImaging: $e, generatePdf: Te, generateImage: _e } = Nt({
139
- elementId: `rings_${y.value}`,
140
- fileName: e.value.style.chart.title.text || "vue-ui-rings",
141
- options: e.value.userOptions.print
142
- }), Qe = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), xe = f(() => Ct(e.value.customPalette)), w = r({
143
- showTable: e.value.table.show,
144
- showTooltip: e.value.style.chart.tooltip.show
145
- });
146
- le(e, () => {
147
- w.value = {
148
- showTable: e.value.table.show,
149
- showTooltip: e.value.style.chart.tooltip.show
150
- };
151
- }, { immediate: !0 });
152
- const n = r({
153
- height: 360,
154
- width: 360
155
- }), Ze = f(() => Math.min(n.value.height, n.value.width)), et = Ue, m = r([]);
156
- function Z(t) {
157
- m.value.includes(t) ? m.value = m.value.filter((a) => a !== t) : m.value.push(t), et("selectLegend", p.value.map((a) => ({
158
- name: a.name,
159
- color: a.color,
160
- value: a.value
161
- })));
162
- }
163
- const tt = f(() => Math.max(
164
- ...G.value.filter((t) => !m.value.includes(t.uid)).map(({ value: t }) => t)
165
- ));
166
- function Ae(t) {
167
- return t / tt.value;
168
- }
169
- const G = f(() => ye.value.map(({ values: t, name: a, color: l = null }, o) => {
170
- const u = $t(t).reduce((v, z) => v + z, 0);
171
- return {
172
- name: a,
173
- color: l || De(l) || xe.value[o] || P[o] || P[o % P.length],
174
- value: u,
175
- proportion: u / ye.value.map((v) => (v.values || []).reduce((z, rt) => z + rt, 0)).reduce((v, z) => v + z, 0),
176
- uid: Ve(),
177
- absoluteIndex: o
178
- };
179
- })), Fe = f(() => G.value.map((t) => ({
180
- ...t,
181
- shape: "circle",
182
- opacity: m.value.includes(t.uid) ? 0.5 : 1,
183
- segregate: () => Z(t.uid),
184
- isSegregated: m.value.includes(t.uid)
185
- })).toSorted((t, a) => a.value - t.value)), lt = f(() => ({
186
- cy: "rings-div-legend",
187
- backgroundColor: e.value.style.chart.legend.backgroundColor,
188
- color: e.value.style.chart.legend.color,
189
- fontSize: e.value.style.chart.legend.fontSize,
190
- paddingBottom: 12,
191
- fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
192
- })), C = f(() => G.value.filter((t) => !m.value.includes(t.uid)).map(({ value: t }) => t).reduce((t, a) => t + a, 0)), p = f(() => G.value.filter((t) => !m.value.includes(t.uid)).map(({ name: t, value: a, color: l = null, uid: o, absoluteIndex: u }, v) => ({
193
- absoluteIndex: u,
194
- uid: o,
195
- name: t,
196
- color: l || De(l) || xe.value[v] || P[v] || P[v % P.length],
197
- value: a,
198
- proportion: Ae(a),
199
- percentage: a / C.value * 100,
200
- strokeWidth: e.value.style.chart.layout.rings.strokeWidth * Ae(a)
201
- })).toSorted((t, a) => a.value - t.value));
202
- function at() {
203
- return p.value.map(
204
- ({ name: t, color: a, value: l, absoluteValues: o, percentage: u }) => ({
205
- name: t,
206
- color: a,
207
- value: l,
208
- absoluteValues: o,
209
- percentage: u
210
- })
211
- );
212
- }
213
- const c = f(() => Ze.value - e.value.style.chart.layout.rings.strokeWidth * 2);
214
- function ot(t, a) {
215
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
216
- }
217
- function st(t, a) {
218
- T.value = null, U.value = !1, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a });
219
- }
220
- const ee = r(null);
221
- function nt(t, a) {
222
- if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), m.value.length === k.dataset.length) return;
223
- ee.value = {
224
- datapoint: t,
225
- seriesIndex: a,
226
- series: p.value,
227
- config: e.value
228
- }, T.value = a;
229
- const l = p.value[a], o = e.value.style.chart.tooltip.customFormat;
230
- if (It(o) && Ot(() => o({
231
- seriesIndex: a,
232
- datapoint: t,
233
- series: p.value,
234
- config: e.value
235
- })))
236
- Y.value = o({
237
- seriesIndex: a,
238
- datapoint: t,
239
- series: p.value,
240
- config: e.value
241
- });
242
- else {
243
- let u = "";
244
- u += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, u += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${l.color}" />${Je.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${y.value}_${t.absoluteIndex})" />` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (u += `<b>${Me(
245
- e.value.style.chart.layout.labels.dataLabels.formatter,
246
- l.value,
247
- N({
248
- p: e.value.style.chart.layout.labels.dataLabels.prefix,
249
- v: l.value,
250
- s: e.value.style.chart.layout.labels.dataLabels.suffix,
251
- r: e.value.style.chart.tooltip.roundingValue
252
- }),
253
- { datapoint: t, seriesIndex: a }
254
- )}
255
- </b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? u += `<span>(${N({
256
- v: l.value / C.value * 100,
257
- s: "%",
258
- r: e.value.style.chart.tooltip.roundingPercentage
259
- })})</span></div>` : u += `<b>${N({
260
- v: l.value / C.value * 100,
261
- s: "%",
262
- r: e.value.style.chart.tooltip.roundingPercentage
263
- })}</b></div>`), Y.value = u;
264
- }
265
- U.value = !0;
266
- }
267
- const A = f(() => {
268
- const t = p.value.map((l) => ({
269
- name: l.name,
270
- color: l.color
271
- })), a = p.value.map((l) => l.value);
272
- return { head: t, body: a };
273
- }), H = f(() => {
274
- const t = [
275
- ' <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>',
276
- N({ 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 }),
277
- "100%"
278
- ], a = A.value.head.map((u, v) => [
279
- {
280
- color: u.color,
281
- name: u.name
282
- },
283
- N({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: A.value.body[v], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
284
- isNaN(A.value.body[v] / C.value) ? "-" : (A.value.body[v] / C.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
285
- ]), l = {
286
- th: {
287
- backgroundColor: e.value.table.th.backgroundColor,
288
- color: e.value.table.th.color,
289
- outline: e.value.table.th.outline
290
- },
291
- td: {
292
- backgroundColor: e.value.table.td.backgroundColor,
293
- color: e.value.table.td.color,
294
- outline: e.value.table.td.outline
295
- },
296
- breakpoint: e.value.table.responsiveBreakpoint
297
- }, o = [
298
- e.value.table.columnNames.series,
299
- e.value.table.columnNames.value,
300
- e.value.table.columnNames.percentage
301
- ];
302
- return {
303
- head: t,
304
- body: a,
305
- config: l,
306
- colNames: o
307
- };
308
- });
309
- function Ie(t = null) {
310
- ft(() => {
311
- const a = A.value.head.map((u, v) => [[
312
- u.name
313
- ], [A.value.body[v]], [isNaN(A.value.body[v] / C.value) ? "-" : A.value.body[v] / C.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), o = At(l);
314
- t ? t(o) : Ft({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-rings" });
315
- });
316
- }
317
- const V = r(!1);
318
- function Oe(t) {
319
- V.value = t, re.value += 1;
320
- }
321
- function Se() {
322
- w.value.showTable = !w.value.showTable;
323
- }
324
- function Pe() {
325
- w.value.showTooltip = !w.value.showTooltip;
326
- }
327
- const j = r(!1);
328
- function te() {
329
- j.value = !j.value;
330
- }
331
- async function ut({ scale: t = 2 } = {}) {
332
- if (!_.value) return;
333
- const { width: a, height: l } = _.value.getBoundingClientRect(), o = a / l, { imageUri: u, base64: v } = await Et({ domElement: _.value, base64: !0, img: !0, scale: t });
334
- return {
335
- imageUri: u,
336
- base64: v,
337
- title: e.value.style.chart.title.text,
338
- width: a,
339
- height: l,
340
- aspectRatio: o
341
- };
342
- }
343
- return Ee({
344
- getData: at,
345
- getImage: ut,
346
- generatePdf: Te,
347
- generateCsv: Ie,
348
- generateImage: _e,
349
- toggleTable: Se,
350
- toggleTooltip: Pe,
351
- toggleAnnotator: te,
352
- toggleFullscreen: Oe
353
- }), (t, a) => (i(), d("div", {
354
- ref_key: "ringsChart",
355
- ref: _,
356
- class: B(`vue-ui-rings ${V.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
357
- style: S(`font-family:${e.value.style.fontFamily};text-align:center;width:100%;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
358
- id: `rings_${y.value}`,
359
- onMouseleave: a[2] || (a[2] = (l) => {
360
- T.value = null, U.value = !1, s(me)(!1);
361
- }),
362
- onMouseenter: a[3] || (a[3] = () => s(me)(!0))
363
- }, [
364
- e.value.userOptions.buttons.annotator ? (i(), F(s(je), {
365
- key: 0,
366
- svgRef: s(ke),
367
- backgroundColor: e.value.style.chart.backgroundColor,
368
- color: e.value.style.chart.color,
369
- active: j.value,
370
- onClose: te
371
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : b("", !0),
372
- Qe.value ? (i(), d("div", {
373
- key: 1,
374
- ref_key: "noTitle",
375
- ref: de,
376
- class: "vue-data-ui-no-title-space",
377
- style: "height:36px; width: 100%;background:transparent"
378
- }, null, 512)) : b("", !0),
379
- e.value.style.chart.title.text ? (i(), d("div", {
380
- key: 2,
381
- ref_key: "chartTitle",
382
- ref: ie,
383
- style: "width:100%;background:transparent"
384
- }, [
385
- (i(), F(zt, {
386
- key: `title_${he.value}`,
387
- config: {
388
- title: {
389
- cy: "rings-div-title",
390
- ...e.value.style.chart.title
391
- },
392
- subtitle: {
393
- cy: "rings-div-subtitle",
394
- ...e.value.style.chart.title.subtitle
395
- }
396
- }
397
- }, null, 8, ["config"]))
398
- ], 512)) : b("", !0),
399
- $("div", {
400
- id: `legend-top-${y.value}`
401
- }, null, 8, Gt),
402
- e.value.userOptions.show && ue.value && (s(be) || s(J)) ? (i(), F(s(Ye), {
403
- ref_key: "details",
404
- ref: Ke,
405
- key: `user_options_${re.value}`,
406
- backgroundColor: e.value.style.chart.backgroundColor,
407
- color: e.value.style.chart.color,
408
- isPrinting: s(Ce),
409
- isImaging: s($e),
410
- uid: y.value,
411
- hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
412
- hasPdf: e.value.userOptions.buttons.pdf,
413
- hasXls: e.value.userOptions.buttons.csv,
414
- hasImg: e.value.userOptions.buttons.img,
415
- hasTable: e.value.userOptions.buttons.table,
416
- hasFullscreen: e.value.userOptions.buttons.fullscreen,
417
- isTooltip: w.value.showTooltip,
418
- isFullscreen: V.value,
419
- titles: { ...e.value.userOptions.buttonTitles },
420
- chartElement: _.value,
421
- position: e.value.userOptions.position,
422
- hasAnnotator: e.value.userOptions.buttons.annotator,
423
- isAnnotation: j.value,
424
- callbacks: e.value.userOptions.callbacks,
425
- printScale: e.value.userOptions.print.scale,
426
- onToggleFullscreen: Oe,
427
- onGeneratePdf: s(Te),
428
- onGenerateCsv: Ie,
429
- onGenerateImage: s(_e),
430
- onToggleTable: Se,
431
- onToggleTooltip: Pe,
432
- onToggleAnnotator: te,
433
- style: S({
434
- visibility: s(be) ? s(J) ? "visible" : "hidden" : "visible"
435
- })
436
- }, Le({ _: 2 }, [
437
- t.$slots.menuIcon ? {
438
- name: "menuIcon",
439
- fn: g(({ isOpen: l, color: o }) => [
440
- h(t.$slots, "menuIcon", D(M({ isOpen: l, color: o })), void 0, !0)
441
- ]),
442
- key: "0"
443
- } : void 0,
444
- t.$slots.optionTooltip ? {
445
- name: "optionTooltip",
446
- fn: g(() => [
447
- h(t.$slots, "optionTooltip", {}, void 0, !0)
448
- ]),
449
- key: "1"
450
- } : void 0,
451
- t.$slots.optionPdf ? {
452
- name: "optionPdf",
453
- fn: g(() => [
454
- h(t.$slots, "optionPdf", {}, void 0, !0)
455
- ]),
456
- key: "2"
457
- } : void 0,
458
- t.$slots.optionCsv ? {
459
- name: "optionCsv",
460
- fn: g(() => [
461
- h(t.$slots, "optionCsv", {}, void 0, !0)
462
- ]),
463
- key: "3"
464
- } : void 0,
465
- t.$slots.optionImg ? {
466
- name: "optionImg",
467
- fn: g(() => [
468
- h(t.$slots, "optionImg", {}, void 0, !0)
469
- ]),
470
- key: "4"
471
- } : void 0,
472
- t.$slots.optionTable ? {
473
- name: "optionTable",
474
- fn: g(() => [
475
- h(t.$slots, "optionTable", {}, void 0, !0)
476
- ]),
477
- key: "5"
478
- } : void 0,
479
- t.$slots.optionFullscreen ? {
480
- name: "optionFullscreen",
481
- fn: g(({ toggleFullscreen: l, isFullscreen: o }) => [
482
- h(t.$slots, "optionFullscreen", D(M({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
483
- ]),
484
- key: "6"
485
- } : void 0,
486
- t.$slots.optionAnnotator ? {
487
- name: "optionAnnotator",
488
- fn: g(({ toggleAnnotator: l, isAnnotator: o }) => [
489
- h(t.$slots, "optionAnnotator", D(M({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
490
- ]),
491
- key: "7"
492
- } : void 0
493
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : b("", !0),
494
- (i(), d("svg", {
495
- ref_key: "svgRef",
496
- ref: ke,
497
- xmlns: s(Tt),
498
- class: B({ "vue-data-ui-fullscreen--on": V.value, "vue-data-ui-fulscreen--off": !V.value, resizing: q.value || s(O) }),
499
- viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
500
- style: S(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
501
- }, [
502
- ae(s(He)),
503
- t.$slots["chart-background"] ? (i(), d("foreignObject", {
504
- key: 0,
505
- x: 0,
506
- y: 0,
507
- width: n.value.width <= 0 ? 10 : n.value.width,
508
- height: n.value.height <= 0 ? 10 : n.value.height,
509
- style: {
510
- pointerEvents: "none"
511
- }
512
- }, [
513
- h(t.$slots, "chart-background", {}, void 0, !0)
514
- ], 8, jt)) : b("", !0),
515
- $("defs", null, [
516
- (i(!0), d(oe, null, se(p.value, (l, o) => (i(), d("radialGradient", {
517
- cx: "50%",
518
- cy: "30%",
519
- r: "50%",
520
- fx: "50%",
521
- fy: "50%",
522
- id: `gradient_${y.value}_${o}`
523
- }, [
524
- $("stop", {
525
- offset: "0%",
526
- "stop-color": s(_t)(s(xt)(l.color, 0.05), 100 - e.value.style.chart.layout.rings.gradient.intensity)
527
- }, null, 8, Yt),
528
- $("stop", {
529
- offset: "100%",
530
- "stop-color": l.color
531
- }, null, 8, qt)
532
- ], 8, Xt))), 256))
533
- ]),
534
- t.$slots.pattern ? (i(), d("g", Jt, [
535
- (i(!0), d(oe, null, se(p.value, (l) => (i(), d("defs", null, [
536
- h(t.$slots, "pattern", ht({ ref_for: !0 }, { seriesIndex: l.absoluteIndex, patternId: `pattern_${y.value}_${l.absoluteIndex}` }), void 0, !0)
537
- ]))), 256))
538
- ])) : b("", !0),
539
- (i(!0), d(oe, null, se(p.value, (l, o) => (i(), d("g", null, [
540
- $("circle", {
541
- class: B({
542
- "vue-ui-rings-item": I.value && e.value.useCssAnimation,
543
- "vue-rings-item-onload": !I.value && e.value.useCssAnimation && !s(O),
544
- "vue-ui-rings-opacity": T.value !== null && T.value !== o
545
- }),
546
- style: S(`animation-delay:${o * 100}ms`),
547
- stroke: e.value.style.chart.layout.rings.stroke,
548
- cx: n.value.width / 2,
549
- cy: o === 0 ? n.value.height / 2 : n.value.height / 2 + c.value * p.value[0].proportion / 2 - c.value * l.proportion / 2 - 2 * (o + 1),
550
- r: s(X)(c.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : c.value * l.proportion / 2 * 0.9),
551
- fill: e.value.style.chart.layout.rings.gradient.underlayerColor
552
- }, null, 14, Kt),
553
- $("circle", {
554
- class: B({
555
- "vue-ui-rings-item": I.value && e.value.useCssAnimation,
556
- "vue-rings-item-onload": !I.value && e.value.useCssAnimation && !s(O),
557
- "vue-ui-rings-shadow": e.value.style.chart.layout.rings.useShadow,
558
- "vue-ui-rings-blur": T.value !== null && T.value !== o
559
- }),
560
- style: S(`animation-delay:${o * 100}ms`),
561
- stroke: e.value.style.chart.layout.rings.stroke,
562
- "stroke-width": l.strokeWidth < 0.5 ? 0.5 : l.strokeWidth,
563
- cx: n.value.width / 2,
564
- cy: o === 0 ? n.value.height / 2 : n.value.height / 2 + c.value * p.value[0].proportion / 2 - c.value * l.proportion / 2 - 2 * (o + 1),
565
- r: s(X)(c.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : c.value * l.proportion / 2 * 0.9),
566
- fill: e.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${y.value}_${o})` : l.color
567
- }, null, 14, Qt),
568
- t.$slots.pattern ? (i(), d("circle", {
569
- key: 0,
570
- class: B({
571
- "vue-ui-rings-item": I.value && e.value.useCssAnimation,
572
- "vue-rings-item-onload": !I.value && e.value.useCssAnimation && !s(O),
573
- "vue-ui-rings-shadow": e.value.style.chart.layout.rings.useShadow,
574
- "vue-ui-rings-blur": T.value !== null && T.value !== o
575
- }),
576
- style: S(`animation-delay:${o * 100}ms`),
577
- stroke: e.value.style.chart.layout.rings.stroke,
578
- "stroke-width": l.strokeWidth < 0.5 ? 0.5 : l.strokeWidth,
579
- cx: n.value.width / 2,
580
- cy: o === 0 ? n.value.height / 2 : n.value.height / 2 + c.value * p.value[0].proportion / 2 - c.value * l.proportion / 2 - 2 * (o + 1),
581
- r: s(X)(c.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : c.value * l.proportion / 2 * 0.9),
582
- fill: `url(#pattern_${y.value}_${l.absoluteIndex})`
583
- }, null, 14, Zt)) : b("", !0),
584
- $("circle", {
585
- stroke: "none",
586
- cx: n.value.width / 2,
587
- cy: o === 0 ? n.value.height / 2 : n.value.height / 2 + c.value * p.value[0].proportion / 2 - c.value * l.proportion / 2 - 2 * (o + 1),
588
- r: s(X)(c.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : c.value * l.proportion / 2 * 0.9),
589
- fill: "transparent",
590
- onMouseenter: (u) => nt(l, o),
591
- onMouseleave: (u) => st(l, o),
592
- onClick: (u) => ot(l, o)
593
- }, null, 40, el)
594
- ]))), 256)),
595
- h(t.$slots, "svg", { svg: n.value }, void 0, !0)
596
- ], 14, Ht)),
597
- t.$slots.watermark ? (i(), d("div", tl, [
598
- h(t.$slots, "watermark", D(M({ isPrinting: s(Ce) || s($e) })), void 0, !0)
599
- ])) : b("", !0),
600
- $("div", {
601
- id: `legend-bottom-${y.value}`
602
- }, null, 8, ll),
603
- fe.value ? (i(), F(pt, {
604
- key: 5,
605
- to: e.value.style.chart.legend.position === "top" ? `#legend-top-${y.value}` : `#legend-bottom-${y.value}`
606
- }, [
607
- $("div", {
608
- ref_key: "chartLegend",
609
- ref: ve
610
- }, [
611
- e.value.style.chart.legend.show ? (i(), F(Mt, {
612
- key: `legend_${ge.value}`,
613
- legendSet: Fe.value,
614
- config: lt.value,
615
- onClickMarker: a[0] || (a[0] = ({ legend: l }) => Z(l.uid))
616
- }, Le({
617
- item: g(({ legend: l, index: o }) => [
618
- s(O) ? b("", !0) : (i(), d("div", {
619
- key: 0,
620
- onClick: (u) => Z(l.uid),
621
- style: S(`opacity:${m.value.includes(l.uid) ? 0.5 : 1}`)
622
- }, E(l.name) + E(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + E(e.value.style.chart.legend.showValue ? s(Me)(
623
- e.value.style.chart.layout.labels.dataLabels.formatter,
624
- l.value,
625
- s(N)({
626
- p: e.value.style.chart.layout.labels.dataLabels.prefix,
627
- v: l.value,
628
- s: e.value.style.chart.layout.labels.dataLabels.suffix,
629
- r: e.value.style.chart.legend.roundingValue
630
- }),
631
- { datapoint: l, seriesIndex: o }
632
- ) : "") + " " + E(e.value.style.chart.legend.showPercentage ? m.value.includes(l.uid) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(l.value / C.value) ? "-" : s(N)({
633
- v: l.value / C.value * 100,
634
- s: "%",
635
- r: e.value.style.chart.legend.roundingPercentage
636
- })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""), 13, al))
637
- ]),
638
- _: 2
639
- }, [
640
- t.$slots.pattern ? {
641
- name: "legend-pattern",
642
- fn: g(({ legend: l, index: o }) => [
643
- ae(Bt, {
644
- shape: l.shape,
645
- radius: 30,
646
- stroke: "none",
647
- plot: { x: 30, y: 30 },
648
- fill: `url(#pattern_${y.value}_${o})`
649
- }, null, 8, ["shape", "fill"])
650
- ]),
651
- key: "0"
652
- } : void 0
653
- ]), 1032, ["legendSet", "config"])) : h(t.$slots, "legend", {
654
- key: 1,
655
- legend: Fe.value
656
- }, void 0, !0)
657
- ], 512)
658
- ], 8, ["to"])) : b("", !0),
659
- t.$slots.source ? (i(), d("div", {
660
- key: 6,
661
- ref_key: "source",
662
- ref: ce,
663
- dir: "auto"
664
- }, [
665
- h(t.$slots, "source", {}, void 0, !0)
666
- ], 512)) : b("", !0),
667
- ae(s(Xe), {
668
- show: w.value.showTooltip && U.value && m.value.length < k.dataset.length,
669
- backgroundColor: e.value.style.chart.tooltip.backgroundColor,
670
- color: e.value.style.chart.tooltip.color,
671
- borderRadius: e.value.style.chart.tooltip.borderRadius,
672
- borderColor: e.value.style.chart.tooltip.borderColor,
673
- borderWidth: e.value.style.chart.tooltip.borderWidth,
674
- fontSize: e.value.style.chart.tooltip.fontSize,
675
- backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
676
- position: e.value.style.chart.tooltip.position,
677
- offsetY: e.value.style.chart.tooltip.offsetY,
678
- parent: _.value,
679
- content: Y.value,
680
- isFullscreen: V.value,
681
- isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
682
- smooth: e.value.style.chart.tooltip.smooth,
683
- backdropFilter: e.value.style.chart.tooltip.backdropFilter
684
- }, {
685
- "tooltip-before": g(() => [
686
- h(t.$slots, "tooltip-before", D(M({ ...ee.value })), void 0, !0)
687
- ]),
688
- "tooltip-after": g(() => [
689
- h(t.$slots, "tooltip-after", D(M({ ...ee.value })), void 0, !0)
690
- ]),
691
- _: 3
692
- }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
693
- ue.value ? (i(), F(s(We), {
694
- key: 7,
695
- hideDetails: "",
696
- config: {
697
- open: w.value.showTable,
698
- maxHeight: 1e4,
699
- body: {
700
- backgroundColor: e.value.style.chart.backgroundColor,
701
- color: e.value.style.chart.color
702
- },
703
- head: {
704
- backgroundColor: e.value.style.chart.backgroundColor,
705
- color: e.value.style.chart.color
706
- }
707
- }
708
- }, {
709
- content: g(() => [
710
- (i(), F(s(Ge), {
711
- key: `table_${pe.value}`,
712
- colNames: H.value.colNames,
713
- head: H.value.head,
714
- body: H.value.body,
715
- config: H.value.config,
716
- title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
717
- onClose: a[1] || (a[1] = (l) => w.value.showTable = !1)
718
- }, {
719
- th: g(({ th: l }) => [
720
- $("div", {
721
- innerHTML: l,
722
- style: { display: "flex", "align-items": "center" }
723
- }, null, 8, ol)
724
- ]),
725
- td: g(({ td: l }) => [
726
- gt(E(l.name || l), 1)
727
- ]),
728
- _: 1
729
- }, 8, ["colNames", "head", "body", "config", "title"]))
730
- ]),
731
- _: 1
732
- }, 8, ["config"])) : b("", !0),
733
- s(O) ? (i(), F(Vt, { key: 8 })) : b("", !0)
734
- ], 46, Wt));
735
- }
736
- }, bl = /* @__PURE__ */ Ut(sl, [["__scopeId", "data-v-1b4eaf1a"]]);
737
- export {
738
- bl as default
739
- };