vue-data-ui 3.0.0-next.9 → 3.0.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 +32 -30
  2. package/dist/{Arrow-B6OlqyCG.js → Arrow-DQoWnUfD.js} +1 -1
  3. package/dist/{BaseDraggableDialog-CA8QOk7L.js → BaseDraggableDialog-DEw6oieL.js} +4 -4
  4. package/dist/{BaseIcon-DxUUKVlt.js → BaseIcon-DEl03NUZ.js} +1 -1
  5. package/dist/{ColorPicker-Bh1dfgXt.js → ColorPicker-CrivFZqC.js} +2 -2
  6. package/dist/{DataTable--paavNqF.js → DataTable-ClgCsiJA.js} +2 -2
  7. package/dist/{Legend-BZ06qU55.js → Legend-CMvJ6X5j.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-DN9XjEHv.js → NonSvgPenAndPaper-B2Wvbl3p.js} +3 -3
  9. package/dist/{PackageVersion-2QvaZf9_.js → PackageVersion-CD5VH_Al.js} +3 -3
  10. package/dist/{PenAndPaper-hGgW0EHz.js → PenAndPaper-D3WRn-G2.js} +32 -32
  11. package/dist/{RecursiveCircles-Dn3TGoL6.js → RecursiveCircles-BcLb1aRS.js} +15 -13
  12. package/dist/RecursiveLabels-Bgcv0pzu.js +50 -0
  13. package/dist/{RecursiveLinks-ld_gDZH4.js → RecursiveLinks-00zGWPf9.js} +20 -18
  14. package/dist/{Shape-Mr1eIp_G.js → Shape-Adi9i_-f.js} +43 -37
  15. package/dist/Slicer-t6e1t2iM.js +602 -0
  16. package/dist/{SparkTooltip-Czhz446b.js → SparkTooltip-B8OnBSvk.js} +7 -7
  17. package/dist/{Title-B2dA6-uH.js → Title-xTWR-Vil.js} +1 -1
  18. package/dist/{Tooltip-O_hCvqgF.js → Tooltip-BH3CiANh.js} +23 -19
  19. package/dist/{UserOptions-Bk03FRqW.js → UserOptions-CKKPgDLV.js} +2 -2
  20. package/dist/{dom-to-png-Bt5F9TXw.js → dom-to-png-C4hj491O.js} +1 -1
  21. package/dist/{img-C_9wps3s.js → img-Vb4QHAHI.js} +1 -1
  22. package/dist/{index-CgShIRes.js → index-Dzc2Gi60.js} +2885 -2010
  23. package/dist/{pdf-CXdbjyRJ.js → pdf-ddpqw-dt.js} +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +753 -65
  26. package/dist/types/vue-data-ui.d.ts +753 -65
  27. package/dist/useAutoSizeLabelsInsideViewbox-CN_Jh8Hr.js +81 -0
  28. package/dist/useFitSvgText-2crs6Fv5.js +69 -0
  29. package/dist/useLoading-D7YHNtLX.js +29 -0
  30. package/dist/useNestedProp-CjnS13nF.js +13 -0
  31. package/dist/usePanZoom-BVca3eMk.js +122 -0
  32. package/dist/{usePrinter-rIrqBbbm.js → usePrinter-DBRh8ZvS.js} +2 -2
  33. package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
  34. package/dist/{useTimeLabels-DG97x2hL.js → useTimeLabels-DkzmKfZn.js} +208 -156
  35. package/dist/{vue-data-ui-DiwfJSwC.js → vue-data-ui-B7ztqj9-.js} +105 -100
  36. package/dist/vue-data-ui.js +26 -25
  37. package/dist/vue-ui-3d-bar-DUmYPtHl.js +1323 -0
  38. package/dist/{vue-ui-accordion-hlzscmAS.js → vue-ui-accordion-CPk8wAuj.js} +3 -3
  39. package/dist/vue-ui-age-pyramid-Bv5HmeXj.js +835 -0
  40. package/dist/{vue-ui-annotator-BHwBUNRO.js → vue-ui-annotator-KXWlIhtd.js} +12 -12
  41. package/dist/vue-ui-bullet-B4N4mBk9.js +571 -0
  42. package/dist/vue-ui-candlestick-DENvPnUO.js +1000 -0
  43. package/dist/{vue-ui-carousel-table-6MTDYf-H.js → vue-ui-carousel-table-vC2bHBaY.js} +29 -29
  44. package/dist/{vue-ui-chestnut-Cr6dK21e.js → vue-ui-chestnut-2nS0StrY.js} +664 -536
  45. package/dist/vue-ui-chord-CyfS6vNM.js +1038 -0
  46. package/dist/vue-ui-circle-pack-C4JR-0fx.js +709 -0
  47. package/dist/{vue-ui-cursor-Ch5yUxNn.js → vue-ui-cursor-BgeSDtQh.js} +2 -2
  48. package/dist/{vue-ui-dashboard-tVZ9aEHo.js → vue-ui-dashboard-9DWUBJ-I.js} +64 -64
  49. package/dist/{vue-ui-digits-BOlYLluF.js → vue-ui-digits-BQO7IBFA.js} +2 -2
  50. package/dist/{vue-ui-donut-BKwAnTKA.js → vue-ui-donut-C-ZJXJ74.js} +431 -422
  51. package/dist/vue-ui-donut-evolution-B870IrQA.js +1076 -0
  52. package/dist/vue-ui-dumbbell-Cfs2Uotx.js +1120 -0
  53. package/dist/vue-ui-flow-DnaUVVAD.js +841 -0
  54. package/dist/{vue-ui-funnel-CAV6A--C.js → vue-ui-funnel-B9s-H5ZG.js} +16 -16
  55. package/dist/vue-ui-galaxy-BoJOczdh.js +680 -0
  56. package/dist/vue-ui-gauge-qjm4BqZR.js +791 -0
  57. package/dist/vue-ui-gizmo-fn7ZaMTI.js +210 -0
  58. package/dist/vue-ui-heatmap-CIBDKhh8.js +1078 -0
  59. package/dist/vue-ui-history-plot-bbNxldYG.js +1074 -0
  60. package/dist/{vue-ui-kpi-DjHXc1Z9.js → vue-ui-kpi-BX-2jhLx.js} +26 -26
  61. package/dist/{vue-ui-mini-loader-C68r9wbr.js → vue-ui-mini-loader-Bn1Bb8-J.js} +2 -2
  62. package/dist/vue-ui-molecule-DQ3qFtBq.js +656 -0
  63. package/dist/vue-ui-mood-radar-Cf-ehIo1.js +785 -0
  64. package/dist/vue-ui-nested-donuts-CWg5BEi-.js +1284 -0
  65. package/dist/vue-ui-onion-sHgQTYfa.js +776 -0
  66. package/dist/vue-ui-parallel-coordinate-plot-Ki3ITp_s.js +916 -0
  67. package/dist/{vue-ui-quadrant-ULvVhjjq.js → vue-ui-quadrant-BIVqW7U7.js} +512 -459
  68. package/dist/vue-ui-quick-chart-C_hvHc1b.js +1762 -0
  69. package/dist/vue-ui-radar-RZUPyPwB.js +796 -0
  70. package/dist/{vue-ui-rating-CkdVnYpj.js → vue-ui-rating-BI8Vk7dO.js} +2 -2
  71. package/dist/vue-ui-relation-circle-TVMUEtxK.js +598 -0
  72. package/dist/vue-ui-ridgeline-DQeXHQG4.js +1157 -0
  73. package/dist/vue-ui-rings-BH81WmMS.js +728 -0
  74. package/dist/vue-ui-scatter-Cy7Tz_An.js +1178 -0
  75. package/dist/{vue-ui-skeleton-BsBaCvoE.js → vue-ui-skeleton-CF50qQxr.js} +13 -13
  76. package/dist/{vue-ui-smiley-B2sBY2Q-.js → vue-ui-smiley-CrFXEbJs.js} +46 -46
  77. package/dist/vue-ui-spark-trend-DtHArnot.js +315 -0
  78. package/dist/vue-ui-sparkbar-CIOwFFgA.js +351 -0
  79. package/dist/vue-ui-sparkgauge-E0DdGotz.js +232 -0
  80. package/dist/vue-ui-sparkhistogram-Dm7WoyjY.js +380 -0
  81. package/dist/vue-ui-sparkline-DoW6DDKT.js +513 -0
  82. package/dist/vue-ui-sparkstackbar-BJnPUWY4.js +421 -0
  83. package/dist/vue-ui-stackbar-Du42smPs.js +1371 -0
  84. package/dist/vue-ui-strip-plot-DnenGI-d.js +916 -0
  85. package/dist/{vue-ui-table-DaE8lQuo.js → vue-ui-table-BQOQVlHr.js} +17 -17
  86. package/dist/{vue-ui-table-heatmap--dSEG8cU.js → vue-ui-table-heatmap-BzK4_gsP.js} +5 -5
  87. package/dist/{vue-ui-table-sparkline-D4DkGvDP.js → vue-ui-table-sparkline-B-IwcT8I.js} +19 -16
  88. package/dist/vue-ui-thermometer-06ao_Pj5.js +541 -0
  89. package/dist/{vue-ui-timer-CYXTAh6x.js → vue-ui-timer-CxQq4roK.js} +5 -5
  90. package/dist/vue-ui-tiremarks-CuTxkByj.js +406 -0
  91. package/dist/vue-ui-treemap-BgHhRpiV.js +1035 -0
  92. package/dist/{vue-ui-vertical-bar-CO9eR1ty.js → vue-ui-vertical-bar-CAcsUUCo.js} +104 -102
  93. package/dist/vue-ui-waffle-Ct3Upw3m.js +910 -0
  94. package/dist/vue-ui-wheel-oz06Kt-p.js +379 -0
  95. package/dist/vue-ui-word-cloud-BRy7fg4S.js +765 -0
  96. package/dist/{vue-ui-world-P45Plcqw.js → vue-ui-world-CTV-YfFN.js} +364 -327
  97. package/dist/vue-ui-xy-DqCy9dpa.js +3808 -0
  98. package/dist/{vue-ui-xy-canvas-DgNBgUak.js → vue-ui-xy-canvas-BZdhKUIp.js} +265 -264
  99. package/package.json +4 -4
  100. package/dist/RecursiveLabels-NTMB9w5C.js +0 -49
  101. package/dist/Slicer-3t0HimeE.js +0 -577
  102. package/dist/useLoading-Bt5Doa8m.js +0 -28
  103. package/dist/useNestedProp-BC4Ciblw.js +0 -13
  104. package/dist/usePanZoom-BQMvRXEQ.js +0 -115
  105. package/dist/vue-ui-3d-bar-BqmzX9u4.js +0 -1227
  106. package/dist/vue-ui-age-pyramid-eRPt0BJb.js +0 -746
  107. package/dist/vue-ui-bullet-BSnF2gql.js +0 -513
  108. package/dist/vue-ui-candlestick-kMbNnoYe.js +0 -873
  109. package/dist/vue-ui-chord-Dxy_bfIE.js +0 -949
  110. package/dist/vue-ui-circle-pack-I_p4FPiW.js +0 -673
  111. package/dist/vue-ui-donut-evolution-DQhZJ4Sa.js +0 -903
  112. package/dist/vue-ui-dumbbell-DdN-7b3g.js +0 -753
  113. package/dist/vue-ui-flow-MvORTthN.js +0 -765
  114. package/dist/vue-ui-galaxy-B0PLMAn8.js +0 -617
  115. package/dist/vue-ui-gauge-C4FTzDFt.js +0 -738
  116. package/dist/vue-ui-gizmo-Dl5FHFb4.js +0 -192
  117. package/dist/vue-ui-heatmap-C3dee43W.js +0 -877
  118. package/dist/vue-ui-history-plot-dqv4u1Oa.js +0 -924
  119. package/dist/vue-ui-molecule-DtRAlfhC.js +0 -597
  120. package/dist/vue-ui-mood-radar-BZj2G0zE.js +0 -670
  121. package/dist/vue-ui-nested-donuts-OqJTwMb2.js +0 -1212
  122. package/dist/vue-ui-onion-DXLokGec.js +0 -701
  123. package/dist/vue-ui-parallel-coordinate-plot-tg7QhtIE.js +0 -807
  124. package/dist/vue-ui-quick-chart-4EODniQ3.js +0 -1612
  125. package/dist/vue-ui-radar-Dt5p5oSy.js +0 -741
  126. package/dist/vue-ui-relation-circle-_SysXj9T.js +0 -542
  127. package/dist/vue-ui-ridgeline-Cs5UihNN.js +0 -969
  128. package/dist/vue-ui-rings-Duay-EmS.js +0 -685
  129. package/dist/vue-ui-scatter-C6oGQcbL.js +0 -1045
  130. package/dist/vue-ui-spark-trend-CEAqGu3d.js +0 -291
  131. package/dist/vue-ui-sparkbar-ByPUDc6x.js +0 -301
  132. package/dist/vue-ui-sparkgauge-C-GKwevJ.js +0 -201
  133. package/dist/vue-ui-sparkhistogram-Dz0DdaVW.js +0 -313
  134. package/dist/vue-ui-sparkline-BULntz_U.js +0 -459
  135. package/dist/vue-ui-sparkstackbar-DXjHOeeU.js +0 -381
  136. package/dist/vue-ui-stackbar-CeP9n7zy.js +0 -1207
  137. package/dist/vue-ui-strip-plot-CaFQkWV8.js +0 -761
  138. package/dist/vue-ui-thermometer-BXf14CYH.js +0 -495
  139. package/dist/vue-ui-tiremarks-D6hJ1cd4.js +0 -358
  140. package/dist/vue-ui-treemap-tBurCrdn.js +0 -965
  141. package/dist/vue-ui-waffle-BNzs_BxY.js +0 -863
  142. package/dist/vue-ui-wheel-tydUATi8.js +0 -352
  143. package/dist/vue-ui-word-cloud-DUUc_tj6.js +0 -659
  144. package/dist/vue-ui-xy--HToGdle.js +0 -2982
@@ -1,741 +0,0 @@
1
- import { defineAsyncComponent as _, computed as p, ref as c, watch as nt, shallowRef as Se, onMounted as ut, onBeforeUnmount as it, createElementBlock as u, openBlock as r, unref as n, normalizeStyle as q, normalizeClass as B, createBlock as x, createCommentVNode as d, createElementVNode as O, createVNode as oe, createSlots as ct, withCtx as f, renderSlot as g, normalizeProps as z, guardReactiveProps as M, Fragment as A, renderList as F, toDisplayString as D, createTextVNode as Ne, nextTick as dt } from "vue";
2
- import { u as vt, c as pt, t as ht, p as S, a as gt, o as ft, e as V, b as yt, g as Ie, d as Re, R as Le, v as mt, i as ze, f as G, X as bt, s as le, w as kt, S as Me, q as Ct, r as wt, x as $t, y as _t } from "./index-CgShIRes.js";
3
- import { t as Tt, u as Pt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ve } from "./useNestedProp-BC4Ciblw.js";
5
- import { u as xt } from "./usePrinter-rIrqBbbm.js";
6
- import { u as Ot } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as At } from "./useChartAccessibility-9icAAmYg.js";
8
- import Ft from "./Legend-BZ06qU55.js";
9
- import St from "./Title-B2dA6-uH.js";
10
- import Nt from "./img-C_9wps3s.js";
11
- import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const Rt = ["id"], Lt = ["xmlns", "viewBox"], zt = ["width", "height"], Mt = ["id"], Vt = ["stop-color"], Ut = ["stop-color"], Et = { key: 1 }, Bt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Dt = { key: 0 }, Gt = ["d", "stroke", "stroke-width"], Wt = ["d", "stroke", "stroke-width"], Xt = { key: 2 }, jt = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], qt = ["points", "stroke", "stroke-width"], Ht = ["points", "stroke", "stroke-width", "fill"], Yt = { key: 3 }, Jt = ["cx", "cy", "fill", "r", "stroke"], Kt = {
13
- key: 5,
14
- class: "vue-data-ui-watermark"
15
- }, Qt = ["onClick"], Zt = {
16
- key: 0,
17
- style: { "max-width": "200px", margin: "0 auto" }
18
- }, ea = {
19
- __name: "vue-ui-radar",
20
- props: {
21
- config: {
22
- type: Object,
23
- default() {
24
- return {};
25
- }
26
- },
27
- dataset: {
28
- type: Object,
29
- default() {
30
- return {};
31
- }
32
- }
33
- },
34
- emits: ["selectLegend"],
35
- setup(Ue, { expose: Ee, emit: Be }) {
36
- const De = _(() => import("./DataTable--paavNqF.js")), Ge = _(() => import("./PenAndPaper-hGgW0EHz.js")), We = _(() => import("./vue-ui-accordion-hlzscmAS.js")), Xe = _(() => import("./vue-ui-skeleton-BsBaCvoE.js")), je = _(() => import("./Tooltip-O_hCvqgF.js")), qe = _(() => import("./UserOptions-Bk03FRqW.js")), He = _(() => import("./PackageVersion-2QvaZf9_.js")), Ye = _(() => import("./vue-ui-sparkbar-ByPUDc6x.js")), { vue_ui_radar: Je } = vt(), h = Ue, U = p(() => !!h.dataset && Object.keys(h.dataset).length), T = c(pt()), Ke = c(null), H = c(!1), Y = c(""), re = c(0), C = c(null), se = c(null), ne = c(null), ue = c(null), ie = c(null), ce = c(0), de = c(0), ve = c(0), e = p({
37
- get: () => fe(),
38
- set: (t) => t
39
- }), { userOptionsVisible: J, setUserOptionsVisibility: pe, keepUserOptionState: he } = Ot({ config: e.value }), { svgRef: ge } = At({ config: e.value.style.chart.title });
40
- function fe() {
41
- const t = Ve({
42
- userConfig: h.config,
43
- defaultConfig: Je
44
- });
45
- return t.theme ? {
46
- ...Ve({
47
- userConfig: gt.vue_ui_radar[t.theme] || h.config,
48
- defaultConfig: t
49
- }),
50
- customPalette: ht[t.theme] || S
51
- } : t;
52
- }
53
- nt(() => h.config, (t) => {
54
- e.value = fe(), J.value = !e.value.userOptions.showOnChartHover, ye(), ce.value += 1, de.value += 1, ve.value += 1, b.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, b.value.showTable = e.value.table.show, b.value.showTooltip = e.value.style.chart.tootlip ? e.value.style.chart.tootlip.show : !1;
55
- }, { deep: !0 });
56
- const w = Se(null), N = Se(null);
57
- function ye() {
58
- if (ft(h.dataset) && V({
59
- componentName: "VueUiRadar",
60
- type: "dataset"
61
- }), e.value.responsive) {
62
- const t = Tt(() => {
63
- const { width: a, height: o } = Pt({
64
- chart: C.value,
65
- title: e.value.style.chart.title.text ? se.value : null,
66
- legend: e.value.style.chart.legend.show ? ne.value : null,
67
- source: ue.value,
68
- noTitle: ie.value
69
- });
70
- requestAnimationFrame(() => {
71
- i.value.width = a, i.value.height = o;
72
- });
73
- });
74
- w.value && (N.value && w.value.unobserve(N.value), w.value.disconnect()), w.value = new ResizeObserver(t), N.value = C.value.parentNode, w.value.observe(N.value);
75
- }
76
- }
77
- ut(() => {
78
- ye();
79
- }), it(() => {
80
- w.value && (N.value && w.value.unobserve(N.value), w.value.disconnect());
81
- });
82
- const { isPrinting: me, isImaging: be, generatePdf: ke, generateImage: Ce } = xt({
83
- elementId: `vue-ui-radar_${T.value}`,
84
- fileName: e.value.style.chart.title.text || "vue-ui-radar",
85
- options: e.value.userOptions.print
86
- }), Qe = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), we = p(() => yt(e.value.customPalette)), b = c({
87
- dataLabels: {
88
- show: e.value.style.chart.layout.labels.dataLabels.show
89
- },
90
- showTable: e.value.table.show,
91
- showTooltip: e.value.style.chart.tooltip.show
92
- }), Ze = p(() => ({
93
- style: {
94
- backgroundColor: "#FFFFFF00",
95
- animation: {
96
- show: e.value.style.chart.tooltip.animation.show,
97
- animationFrames: e.value.style.chart.tooltip.animation.animationFrames
98
- },
99
- labels: {
100
- fontSize: e.value.style.chart.tooltip.fontSize,
101
- name: {
102
- color: e.value.style.chart.tooltip.color
103
- }
104
- },
105
- gutter: {
106
- backgroundColor: "#CCCCCC",
107
- opacity: 30
108
- }
109
- }
110
- })), i = c({
111
- height: 312,
112
- width: 512
113
- }), et = Be, v = c([]), E = c(null), I = c(!1);
114
- function $e(t) {
115
- I.value = !0, v.value.includes(t) ? (E.value = t, v.value = v.value.filter((a) => a !== t), setTimeout(() => {
116
- I.value = !1, E.value = null;
117
- }, 500)) : (v.value.push(t), setTimeout(() => {
118
- I.value = !1;
119
- }, 500)), et("selectLegend", R.value.filter((a, o) => !v.value.includes(o)).map((a) => ({
120
- name: a.name,
121
- color: a.color,
122
- proportion: a.totalProportion
123
- })));
124
- }
125
- function tt() {
126
- return R.value.map((t) => ({
127
- name: t.name,
128
- color: t.color,
129
- proportion: t.totalProportion
130
- }));
131
- }
132
- const y = p(() => [null, void 0].includes(h.dataset.categories) ? (V({
133
- componentName: "VueUiRadar",
134
- type: "datasetAttribute",
135
- property: "categories ({ name: string; prefix?: string; suffix?: string}[])"
136
- }), []) : (h.dataset.categories.length === 0 ? V({
137
- componentName: "VueUiRadar",
138
- type: "datasetAttributeEmpty",
139
- property: "categories"
140
- }) : h.dataset.categories.forEach((t, a) => {
141
- Ie({
142
- datasetObject: t,
143
- requiredAttributes: ["name"]
144
- }).forEach((o) => {
145
- V({
146
- componentName: "VueUiRadar",
147
- type: "datasetAttribute",
148
- property: `category.${o} at index ${a}`,
149
- index: a
150
- });
151
- });
152
- }), [null, void 0].includes(h.dataset.series) ? V({
153
- componentName: "VueUiRadar",
154
- type: "datasetAttribute",
155
- property: "series ({ name: string; values: number[]; color?: string; target: number}[])"
156
- }) : h.dataset.series.forEach((t, a) => {
157
- Ie({
158
- datasetObject: t,
159
- requiredAttributes: ["name", "values", "target"]
160
- }).forEach((o) => {
161
- V({
162
- componentName: "VueUiRadar",
163
- type: "datasetSerieAttribute",
164
- key: "series",
165
- property: o,
166
- index: a
167
- });
168
- });
169
- }), h.dataset.categories.map((t, a) => ({
170
- name: t.name,
171
- categoryId: `radar_category_${T.value}_${a}`,
172
- color: Re(t.color) || we.value[a] || S[a] || S[a % S.length],
173
- prefix: t.prefix ?? "",
174
- suffix: t.suffix ?? ""
175
- })))), k = p(() => U.value ? h.dataset.series.map((t, a) => ({
176
- ...t,
177
- color: Re(t.color) || we.value[a] || S[a] || S[a % S.length],
178
- serieId: `radar_serie_${T.value}_${a}`,
179
- formatter: t.formatter || null
180
- })) : []), _e = p(() => Math.max(...k.value.flatMap((t) => t.values))), Te = p(() => k.value.length), K = p(() => Math.min(i.value.width, i.value.height) / 3), Pe = p(() => Le({
181
- plot: { x: i.value.width / 2, y: i.value.height / 2 },
182
- radius: K.value,
183
- sides: Te.value,
184
- rotation: 0
185
- })), at = p(() => {
186
- const t = [];
187
- for (let a = 0; a < K.value; a += K.value / e.value.style.chart.layout.grid.graduations)
188
- t.push(a);
189
- return t;
190
- }), $ = p(() => Pe.value.coordinates.map((t, a) => {
191
- const o = k.value[a].values.map((l) => ot({
192
- centerX: i.value.width / 2,
193
- centerY: i.value.height / 2,
194
- apexX: t.x,
195
- apexY: t.y,
196
- proportion: l / (k.value[a].target || _e.value)
197
- }));
198
- return {
199
- ...t,
200
- ...k.value[a],
201
- plots: o
202
- };
203
- }));
204
- function Q({ x: t, y: a }) {
205
- let o = "middle";
206
- return t = Math.round(t), a = Math.round(a), t > i.value.width / 2 && (t += 12, o = "start"), t < i.value.width / 2 && (t -= 12, o = "end"), a > i.value.height / 2 && (a += 20), a < i.value.height / 2 && (a -= 12), a === i.value.height / 2 && (a += 4), { x: t, y: a, anchor: o };
207
- }
208
- function ot({ centerX: t, centerY: a, apexX: o, apexY: l, proportion: s }) {
209
- return {
210
- x: t + (o - t) * s,
211
- y: a + (l - a) * s
212
- };
213
- }
214
- const R = p(() => {
215
- const t = k.value.map((a, o) => a.values.map((l) => l / (a.target || _e.value)));
216
- return y.value.map((a, o) => ({
217
- ...a,
218
- totalProportion: mt(t.map((l) => l[o]).reduce((l, s) => l + s, 0) / k.value.length),
219
- shape: "circle",
220
- opacity: v.value.includes(o) ? 0.5 : 1,
221
- segregate: () => $e(o),
222
- isSegregated: v.value.includes(o)
223
- }));
224
- }), lt = p(() => ({
225
- cy: "radar-div-legend",
226
- backgroundColor: e.value.style.chart.legend.backgroundColor,
227
- color: e.value.style.chart.legend.color,
228
- fontSize: e.value.style.chart.legend.fontSize,
229
- paddingBottom: 12,
230
- fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
231
- })), W = p(() => {
232
- const t = [
233
- { name: e.value.translations.datapoint, color: "" },
234
- { name: e.value.translations.target, color: "" },
235
- ...R.value
236
- ], a = h.dataset.series.map((l) => [
237
- l.name,
238
- ze(
239
- l.formatter,
240
- l.target,
241
- G({
242
- p: l.prefix,
243
- v: l.target,
244
- s: l.suffix,
245
- r: e.value.table.td.roundingValue
246
- })
247
- ),
248
- ...l.values.map((s, m) => `${ze(
249
- l.formatter,
250
- s,
251
- G({ p: y.value[m].prefix, v: s, s: y.value[m].suffix, r: e.value.table.td.roundingValue })
252
- )} (${isNaN(s / l.target) ? "" : G({
253
- v: s / l.target * 100,
254
- s: "%",
255
- r: e.value.table.td.roundingPercentage
256
- })})`)
257
- ]), o = {
258
- th: {
259
- backgroundColor: e.value.table.th.backgroundColor,
260
- color: e.value.table.th.color,
261
- outline: e.value.table.th.outline
262
- },
263
- td: {
264
- backgroundColor: e.value.table.td.backgroundColor,
265
- color: e.value.table.td.color,
266
- outline: e.value.table.td.outline
267
- },
268
- breakpoint: e.value.table.responsiveBreakpoint
269
- };
270
- return { head: t, body: a, config: o, colNames: t };
271
- }), X = c(null), Z = c([]), ee = c(null);
272
- function rt(t, a) {
273
- Z.value = [], X.value = a, H.value = !0;
274
- let o = "";
275
- ee.value = {
276
- datapoint: t,
277
- seriesIndex: a,
278
- series: {
279
- categories: y.value,
280
- datapoints: k.value,
281
- radar: $.value
282
- },
283
- config: e.value
284
- };
285
- const l = e.value.style.chart.tooltip.customFormat;
286
- if ($t(l) && _t(() => l({
287
- seriesIndex: a,
288
- datapoint: t,
289
- series: { categories: y.value, datapoints: k.value, radar: $.value },
290
- config: e.value
291
- })))
292
- Y.value = l({
293
- seriesIndex: a,
294
- datapoint: t,
295
- series: { categories: y.value, datapoints: k.value, radar: $.value },
296
- config: e.value
297
- });
298
- else {
299
- o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`;
300
- for (let s = 0; s < t.values.length; s += 1)
301
- v.value.includes(s) || Z.value.push({
302
- name: y.value[s].name,
303
- value: t.values[s] / t.target * 100,
304
- color: y.value[s].color,
305
- suffix: "%)",
306
- prefix: `${G({ p: y.value[s].prefix ?? "", v: t.values[s], s: y.value[s].suffix ?? "", r: e.value.style.chart.tooltip.roundingValue })} (`,
307
- rounding: e.value.style.chart.tooltip.roundingPercentage,
308
- formatter: t.formatter
309
- });
310
- Y.value = o;
311
- }
312
- }
313
- function xe(t = null) {
314
- dt(() => {
315
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = [[""], [e.value.translations.target], ...R.value.flatMap((P) => [[P.name], ["%"]])], l = h.dataset.series.map((P, ta) => [P.name, P.target, ...P.values.flatMap((ae) => [
316
- ae,
317
- isNaN(ae / P.target) ? "" : ae / P.target * 100
318
- ])]), s = a.concat([o]).concat(l), m = Ct(s);
319
- t ? t(m) : wt({ csvContent: m, title: e.value.style.chart.title.text || "vue-ui-radar" });
320
- });
321
- }
322
- const L = c(!1);
323
- function Oe(t) {
324
- L.value = t, re.value += 1;
325
- }
326
- function Ae() {
327
- b.value.showTable = !b.value.showTable;
328
- }
329
- function Fe() {
330
- b.value.showTooltip = !b.value.showTooltip;
331
- }
332
- const j = c(!1);
333
- function te() {
334
- j.value = !j.value;
335
- }
336
- async function st({ scale: t = 2 } = {}) {
337
- if (!C.value) return;
338
- const { width: a, height: o } = C.value.getBoundingClientRect(), l = a / o, { imageUri: s, base64: m } = await Nt({ domElement: C.value, base64: !0, img: !0, scale: t });
339
- return {
340
- imageUri: s,
341
- base64: m,
342
- title: e.value.style.chart.title.text,
343
- width: a,
344
- height: o,
345
- aspectRatio: l
346
- };
347
- }
348
- return Ee({
349
- getData: tt,
350
- getImage: st,
351
- generatePdf: ke,
352
- generateCsv: xe,
353
- generateImage: Ce,
354
- toggleTable: Ae,
355
- toggleTooltip: Fe,
356
- toggleAnnotator: te,
357
- toggleFullscreen: Oe
358
- }), (t, a) => (r(), u("div", {
359
- class: B(`vue-ui-radar ${L.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
360
- ref_key: "radarChart",
361
- ref: C,
362
- id: `vue-ui-radar_${T.value}`,
363
- style: q(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
364
- onMouseenter: a[3] || (a[3] = () => n(pe)(!0)),
365
- onMouseleave: a[4] || (a[4] = () => n(pe)(!1))
366
- }, [
367
- e.value.userOptions.buttons.annotator ? (r(), x(n(Ge), {
368
- key: 0,
369
- svgRef: n(ge),
370
- backgroundColor: e.value.style.chart.backgroundColor,
371
- color: e.value.style.chart.color,
372
- active: j.value,
373
- onClose: te
374
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
375
- Qe.value ? (r(), u("div", {
376
- key: 1,
377
- ref_key: "noTitle",
378
- ref: ie,
379
- class: "vue-data-ui-no-title-space",
380
- style: "height:36px; width: 100%;background:transparent"
381
- }, null, 512)) : d("", !0),
382
- e.value.style.chart.title.text ? (r(), u("div", {
383
- key: 2,
384
- ref_key: "chartTitle",
385
- ref: se,
386
- style: "width:100%;background:transparent;padding-bottom:12px"
387
- }, [
388
- (r(), x(St, {
389
- key: `title_${ce.value}`,
390
- config: {
391
- title: {
392
- cy: "radar-div-title",
393
- ...e.value.style.chart.title
394
- },
395
- subtitle: {
396
- cy: "radar-div-subtitle",
397
- ...e.value.style.chart.title.subtitle
398
- }
399
- }
400
- }, null, 8, ["config"]))
401
- ], 512)) : d("", !0),
402
- e.value.userOptions.show && U.value && (n(he) || n(J)) ? (r(), x(n(qe), {
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
- isImaging: n(be),
409
- isPrinting: n(me),
410
- uid: T.value,
411
- hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
412
- hasPdf: e.value.userOptions.buttons.pdf,
413
- hasImg: e.value.userOptions.buttons.img,
414
- hasXls: e.value.userOptions.buttons.csv,
415
- hasTable: e.value.userOptions.buttons.table,
416
- hasFullscreen: e.value.userOptions.buttons.fullscreen,
417
- isFullscreen: L.value,
418
- isTooltip: b.value.showTooltip,
419
- titles: { ...e.value.userOptions.buttonTitles },
420
- chartElement: C.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: n(ke),
428
- onGenerateCsv: xe,
429
- onGenerateImage: n(Ce),
430
- onToggleTable: Ae,
431
- onToggleTooltip: Fe,
432
- onToggleAnnotator: te,
433
- style: q({
434
- visibility: n(he) ? n(J) ? "visible" : "hidden" : "visible"
435
- })
436
- }, ct({ _: 2 }, [
437
- t.$slots.menuIcon ? {
438
- name: "menuIcon",
439
- fn: f(({ isOpen: o, color: l }) => [
440
- g(t.$slots, "menuIcon", z(M({ isOpen: o, color: l })), void 0, !0)
441
- ]),
442
- key: "0"
443
- } : void 0,
444
- t.$slots.optionTooltip ? {
445
- name: "optionTooltip",
446
- fn: f(() => [
447
- g(t.$slots, "optionTooltip", {}, void 0, !0)
448
- ]),
449
- key: "1"
450
- } : void 0,
451
- t.$slots.optionPdf ? {
452
- name: "optionPdf",
453
- fn: f(() => [
454
- g(t.$slots, "optionPdf", {}, void 0, !0)
455
- ]),
456
- key: "2"
457
- } : void 0,
458
- t.$slots.optionCsv ? {
459
- name: "optionCsv",
460
- fn: f(() => [
461
- g(t.$slots, "optionCsv", {}, void 0, !0)
462
- ]),
463
- key: "3"
464
- } : void 0,
465
- t.$slots.optionImg ? {
466
- name: "optionImg",
467
- fn: f(() => [
468
- g(t.$slots, "optionImg", {}, void 0, !0)
469
- ]),
470
- key: "4"
471
- } : void 0,
472
- t.$slots.optionTable ? {
473
- name: "optionTable",
474
- fn: f(() => [
475
- g(t.$slots, "optionTable", {}, void 0, !0)
476
- ]),
477
- key: "5"
478
- } : void 0,
479
- t.$slots.optionFullscreen ? {
480
- name: "optionFullscreen",
481
- fn: f(({ toggleFullscreen: o, isFullscreen: l }) => [
482
- g(t.$slots, "optionFullscreen", z(M({ toggleFullscreen: o, isFullscreen: l })), void 0, !0)
483
- ]),
484
- key: "6"
485
- } : void 0,
486
- t.$slots.optionAnnotator ? {
487
- name: "optionAnnotator",
488
- fn: f(({ toggleAnnotator: o, isAnnotator: l }) => [
489
- g(t.$slots, "optionAnnotator", z(M({ toggleAnnotator: o, isAnnotator: l })), void 0, !0)
490
- ]),
491
- key: "7"
492
- } : void 0
493
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
494
- U.value ? (r(), u("svg", {
495
- key: 4,
496
- ref_key: "svgRef",
497
- ref: ge,
498
- xmlns: n(bt),
499
- class: B({ "vue-data-ui-fullscreen--on": L.value, "vue-data-ui-fulscreen--off": !L.value }),
500
- viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
501
- style: q(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
502
- }, [
503
- oe(n(He)),
504
- t.$slots["chart-background"] ? (r(), u("foreignObject", {
505
- key: 0,
506
- x: 0,
507
- y: 0,
508
- width: i.value.width <= 0 ? 10 : i.value.width,
509
- height: i.value.height <= 0 ? 10 : i.value.height,
510
- style: {
511
- pointerEvents: "none"
512
- }
513
- }, [
514
- g(t.$slots, "chart-background", {}, void 0, !0)
515
- ], 8, zt)) : d("", !0),
516
- O("defs", null, [
517
- (r(!0), u(A, null, F(y.value, (o, l) => (r(), u("radialGradient", {
518
- cx: "50%",
519
- cy: "50%",
520
- r: "50%",
521
- fx: "50%",
522
- fy: "50%",
523
- id: `radar_gradient_${T.value}_${l}`
524
- }, [
525
- O("stop", {
526
- offset: "0%",
527
- "stop-color": n(le)(n(kt)(o.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
528
- }, null, 8, Vt),
529
- O("stop", {
530
- offset: "100%",
531
- "stop-color": n(le)(o.color, e.value.style.chart.layout.dataPolygon.opacity)
532
- }, null, 8, Ut)
533
- ], 8, Mt))), 256))
534
- ]),
535
- e.value.style.chart.layout.grid.show ? (r(), u("g", Et, [
536
- (r(!0), u(A, null, F($.value, (o) => (r(), u("line", {
537
- x1: i.value.width / 2,
538
- y1: i.value.height / 2,
539
- x2: o.x,
540
- y2: o.y,
541
- stroke: e.value.style.chart.layout.grid.stroke,
542
- "stroke-width": e.value.style.chart.layout.grid.strokeWidth
543
- }, null, 8, Bt))), 256)),
544
- e.value.style.chart.layout.grid.graduations > 0 ? (r(), u("g", Dt, [
545
- (r(!0), u(A, null, F(at.value, (o) => (r(), u("path", {
546
- d: n(Le)({
547
- plot: { x: i.value.width / 2, y: i.value.height / 2 },
548
- radius: o,
549
- sides: Te.value,
550
- rotation: 0
551
- }).path,
552
- fill: "none",
553
- stroke: e.value.style.chart.layout.grid.stroke,
554
- "stroke-width": e.value.style.chart.layout.grid.strokeWidth
555
- }, null, 8, Gt))), 256))
556
- ])) : d("", !0)
557
- ])) : d("", !0),
558
- O("path", {
559
- d: Pe.value.path,
560
- fill: "none",
561
- stroke: e.value.style.chart.layout.outerPolygon.stroke,
562
- "stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
563
- "stroke-linejoin": "round",
564
- "stroke-linecap": "round"
565
- }, null, 8, Wt),
566
- e.value.style.chart.layout.labels.dataLabels.show ? (r(), u("g", Xt, [
567
- (r(!0), u(A, null, F($.value, (o, l) => (r(), u("text", {
568
- x: Q(o).x,
569
- y: Q(o).y,
570
- "text-anchor": Q(o).anchor,
571
- "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
572
- fill: e.value.style.chart.layout.labels.dataLabels.color,
573
- onMouseenter: (s) => rt(o, l),
574
- onMouseleave: a[0] || (a[0] = (s) => {
575
- H.value = !1, X.value = null;
576
- })
577
- }, D(o.name), 41, jt))), 256))
578
- ])) : d("", !0),
579
- (r(!0), u(A, null, F(y.value, (o, l) => (r(), u("g", null, [
580
- O("g", null, [
581
- e.value.useCssAnimation || !e.value.useCssAnimation && !v.value.includes(l) ? (r(), u("polygon", {
582
- key: 0,
583
- points: n(Me)($.value.map((s) => s.plots[l]), !1, !0),
584
- stroke: e.value.style.chart.backgroundColor,
585
- "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth + 1,
586
- fill: "none",
587
- class: B({ "animated-out": v.value.includes(l) && e.value.useCssAnimation, "animated-in": I.value && E.value === l && e.value.useCssAnimation })
588
- }, null, 10, qt)) : d("", !0),
589
- e.value.useCssAnimation || !e.value.useCssAnimation && !v.value.includes(l) ? (r(), u("polygon", {
590
- key: 1,
591
- points: n(Me)($.value.map((s) => s.plots[l]), !1, !0),
592
- stroke: o.color,
593
- "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
594
- fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${T.value}_${l})` : n(le)(o.color, e.value.style.chart.layout.dataPolygon.opacity),
595
- class: B({ "animated-out": v.value.includes(l) && e.value.useCssAnimation, "animated-in": I.value && E.value === l && e.value.useCssAnimation })
596
- }, null, 10, Ht)) : d("", !0)
597
- ])
598
- ]))), 256)),
599
- e.value.style.chart.layout.plots.show ? (r(), u("g", Yt, [
600
- (r(!0), u(A, null, F($.value, (o, l) => (r(), u("g", null, [
601
- (r(!0), u(A, null, F(o.plots, (s, m) => (r(), u("circle", {
602
- cx: s.x,
603
- cy: s.y,
604
- fill: v.value.includes(m) ? "transparent" : y.value[m].color,
605
- r: X.value !== null && X.value === l ? e.value.style.chart.layout.plots.radius * 1.6 : e.value.style.chart.layout.plots.radius,
606
- stroke: v.value.includes(m) ? "transparent" : e.value.style.chart.backgroundColor,
607
- "stroke-width": 0.5,
608
- class: B({ "animated-out": v.value.includes(m) && e.value.useCssAnimation, "animated-in": I.value && E.value === m && e.value.useCssAnimation })
609
- }, null, 10, Jt))), 256))
610
- ]))), 256))
611
- ])) : d("", !0),
612
- g(t.$slots, "svg", { svg: i.value }, void 0, !0)
613
- ], 14, Lt)) : d("", !0),
614
- t.$slots.watermark ? (r(), u("div", Kt, [
615
- g(t.$slots, "watermark", z(M({ isPrinting: n(me) || n(be) })), void 0, !0)
616
- ])) : d("", !0),
617
- U.value ? d("", !0) : (r(), x(n(Xe), {
618
- key: 6,
619
- config: {
620
- type: "radar",
621
- style: {
622
- backgroundColor: e.value.style.chart.backgroundColor,
623
- radar: {
624
- grid: {
625
- color: e.value.style.chart.layout.outerPolygon.stroke
626
- },
627
- shapes: {
628
- color: e.value.style.chart.layout.outerPolygon.stroke
629
- }
630
- }
631
- }
632
- }
633
- }, null, 8, ["config"])),
634
- O("div", {
635
- ref_key: "chartLegend",
636
- ref: ne
637
- }, [
638
- e.value.style.chart.legend.show ? (r(), x(Ft, {
639
- key: `legend_${ve.value}`,
640
- legendSet: R.value,
641
- config: lt.value,
642
- onClickMarker: a[1] || (a[1] = ({ i: o }) => $e(o))
643
- }, {
644
- item: f(({ legend: o, index: l }) => [
645
- O("div", {
646
- onClick: (s) => o.segregate(),
647
- style: q(`opacity:${v.value.includes(l) ? 0.5 : 1}`)
648
- }, D(o.name) + ": " + D(n(G)({
649
- v: o.totalProportion * 100,
650
- s: "%",
651
- r: e.value.style.chart.legend.roundingPercentage
652
- })), 13, Qt)
653
- ]),
654
- _: 1
655
- }, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
656
- key: 1,
657
- legend: R.value
658
- }, void 0, !0)
659
- ], 512),
660
- t.$slots.source ? (r(), u("div", {
661
- key: 7,
662
- ref_key: "source",
663
- ref: ue,
664
- dir: "auto"
665
- }, [
666
- g(t.$slots, "source", {}, void 0, !0)
667
- ], 512)) : d("", !0),
668
- oe(n(je), {
669
- show: b.value.showTooltip && H.value,
670
- backgroundColor: e.value.style.chart.tooltip.backgroundColor,
671
- color: e.value.style.chart.tooltip.color,
672
- borderRadius: e.value.style.chart.tooltip.borderRadius,
673
- borderColor: e.value.style.chart.tooltip.borderColor,
674
- borderWidth: e.value.style.chart.tooltip.borderWidth,
675
- backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
676
- fontSize: e.value.style.chart.tooltip.fontSize,
677
- position: e.value.style.chart.tooltip.position,
678
- offsetY: e.value.style.chart.tooltip.offsetY,
679
- parent: C.value,
680
- content: Y.value,
681
- isFullscreen: L.value,
682
- isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
683
- }, {
684
- "tooltip-before": f(() => [
685
- g(t.$slots, "tooltip-before", z(M({ ...ee.value })), void 0, !0)
686
- ]),
687
- "tooltip-after": f(() => [
688
- ["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? d("", !0) : (r(), u("div", Zt, [
689
- oe(n(Ye), {
690
- dataset: Z.value,
691
- config: Ze.value,
692
- backgroundOpacity: 0
693
- }, null, 8, ["dataset", "config"])
694
- ])),
695
- g(t.$slots, "tooltip-after", z(M({ ...ee.value })), void 0, !0)
696
- ]),
697
- _: 3
698
- }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "fontSize", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
699
- U.value ? (r(), x(n(We), {
700
- key: 8,
701
- hideDetails: "",
702
- config: {
703
- open: b.value.showTable,
704
- maxHeight: 1e4,
705
- body: {
706
- backgroundColor: e.value.style.chart.backgroundColor,
707
- color: e.value.style.chart.color
708
- },
709
- head: {
710
- backgroundColor: e.value.style.chart.backgroundColor,
711
- color: e.value.style.chart.color
712
- }
713
- }
714
- }, {
715
- content: f(() => [
716
- (r(), x(n(De), {
717
- key: `table_${de.value}`,
718
- colNames: W.value.colNames,
719
- head: W.value.head,
720
- body: W.value.body,
721
- config: W.value.config,
722
- title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
723
- onClose: a[2] || (a[2] = (o) => b.value.showTable = !1)
724
- }, {
725
- th: f(({ th: o }) => [
726
- Ne(D(o.name), 1)
727
- ]),
728
- td: f(({ td: o }) => [
729
- Ne(D(o), 1)
730
- ]),
731
- _: 1
732
- }, 8, ["colNames", "head", "body", "config", "title"]))
733
- ]),
734
- _: 1
735
- }, 8, ["config"])) : d("", !0)
736
- ], 46, Rt));
737
- }
738
- }, pa = /* @__PURE__ */ It(ea, [["__scopeId", "data-v-699cbae7"]]);
739
- export {
740
- pa as default
741
- };