vue-data-ui 2.16.5 → 2.17.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.
- package/README.md +85 -55
- package/dist/{Arrow-D9B36pfx.js → Arrow-BAEkZGzL.js} +1 -1
- package/dist/{BaseDraggableDialog-DloHiD4h.js → BaseDraggableDialog-ChCkcmj_.js} +2 -2
- package/dist/{BaseIcon-DJab5OQD.js → BaseIcon-naqtCxVi.js} +1 -1
- package/dist/{ColorPicker-Br0rMnNb.js → ColorPicker-CfIPgxcj.js} +2 -2
- package/dist/{DataTable-B6MXw9cG.js → DataTable-D0VYDhfx.js} +2 -2
- package/dist/{Legend-DoxQwq_u.js → Legend-Bxlv67uY.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DhbyLXKW.js → NonSvgPenAndPaper-b_oVy-Dd.js} +3 -3
- package/dist/{PackageVersion-DCreTQN4.js → PackageVersion-5TR4ocqp.js} +1 -1
- package/dist/{PenAndPaper-BS60tkQN.js → PenAndPaper-D6AqipIO.js} +32 -32
- package/dist/{Shape-CrstrfQ9.js → Shape-DtFT5EJa.js} +1 -1
- package/dist/{Slicer-Bd0AkciG.js → Slicer-CL6-MRI6.js} +2 -2
- package/dist/{SparkTooltip-B4j_rvhG.js → SparkTooltip-Bcv1aoA5.js} +1 -1
- package/dist/{Title-BQLtfM0P.js → Title-B-2bV0SW.js} +1 -1
- package/dist/{Tooltip-5JmGL7sR.js → Tooltip-CoQnTnr-.js} +1 -1
- package/dist/{UserOptions-DMGkAAIO.js → UserOptions-Dd34lEKb.js} +137 -129
- package/dist/{dom-to-png-g3Q8kjna.js → dom-to-png-2AA0wHlX.js} +1 -1
- package/dist/img-Y_hYz-ZC.js +27 -0
- package/dist/{index-CZNLCg7T.js → index-pPGk-uhD.js} +1 -1
- package/dist/{pdf-DJVOD0cz.js → pdf-yfk3d1is.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1098 -162
- package/dist/types/vue-data-ui.d.ts +1098 -162
- package/dist/{useNestedProp-BcPDA6Xr.js → useNestedProp-DjACxgdZ.js} +1 -1
- package/dist/{usePrinter-ButWuZVm.js → usePrinter-DDHcrl0A.js} +2 -2
- package/dist/vue-data-ui-CIWxgKjd.js +312 -0
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-o8P0DCbz.js → vue-ui-3d-bar-D5Wpdqfk.js} +244 -235
- package/dist/{vue-ui-accordion-CO4hmfuX.js → vue-ui-accordion-CVnA550V.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C9T5bAEl.js → vue-ui-age-pyramid-BuAl-zC5.js} +167 -158
- package/dist/{vue-ui-annotator-CyOygaxE.js → vue-ui-annotator-gl2A20m3.js} +2 -2
- package/dist/{vue-ui-bullet-CPT1jdcz.js → vue-ui-bullet-D-VMKpwe.js} +131 -122
- package/dist/{vue-ui-candlestick-BfZTMGE0.js → vue-ui-candlestick-1r6YwiUV.js} +248 -239
- package/dist/{vue-ui-carousel-table-Bam9qqkj.js → vue-ui-carousel-table-B6UJoNtP.js} +17 -16
- package/dist/{vue-ui-chestnut-BAIMBFaQ.js → vue-ui-chestnut-DnlBYpC5.js} +257 -248
- package/dist/{vue-ui-chord-92E1yKdu.js → vue-ui-chord-D3kpzYjp.js} +229 -220
- package/dist/{vue-ui-circle-pack-DxXPqA7Z.js → vue-ui-circle-pack-CHgdpoYu.js} +200 -191
- package/dist/{vue-ui-cursor-Bvy_o8wb.js → vue-ui-cursor-63EAvElT.js} +2 -2
- package/dist/{vue-ui-dashboard--QRCkp7q.js → vue-ui-dashboard-Da6CPET-.js} +62 -62
- package/dist/{vue-ui-digits-Dl8RHLvt.js → vue-ui-digits-CA8pUKej.js} +2 -2
- package/dist/{vue-ui-donut-BxSTOFDt.js → vue-ui-donut-CKa7nFjt.js} +352 -343
- package/dist/{vue-ui-donut-evolution-DNzTtWnJ.js → vue-ui-donut-evolution-qeBEA4W8.js} +267 -258
- package/dist/{vue-ui-dumbbell-D01p3t3P.js → vue-ui-dumbbell-Bm0PvAKT.js} +146 -137
- package/dist/{vue-ui-flow-BMvaRn7E.js → vue-ui-flow-C2dqXvrU.js} +171 -162
- package/dist/{vue-ui-funnel-Bd_3wouw.js → vue-ui-funnel-Dvy5rRld.js} +134 -125
- package/dist/{vue-ui-galaxy-D4HJH1qq.js → vue-ui-galaxy-Y8LYp5n2.js} +181 -172
- package/dist/{vue-ui-gauge-CgIlk2pu.js → vue-ui-gauge-BBo0jWAP.js} +166 -157
- package/dist/{vue-ui-gizmo-C1-QYvsn.js → vue-ui-gizmo-DjXfTOWn.js} +3 -3
- package/dist/{vue-ui-heatmap-tUn_BlSp.js → vue-ui-heatmap-BbxRpltP.js} +242 -229
- package/dist/{vue-ui-history-plot-TfVRzyIK.js → vue-ui-history-plot-ChYf3Nvc.js} +218 -209
- package/dist/{vue-ui-kpi-BuL8MAMD.js → vue-ui-kpi-Vfc5-JnE.js} +3 -3
- package/dist/{vue-ui-mini-loader-DIeG36P8.js → vue-ui-mini-loader-C0-Nsz8K.js} +2 -2
- package/dist/{vue-ui-molecule-8RJNzWIw.js → vue-ui-molecule-B7Yu7vzF.js} +155 -146
- package/dist/{vue-ui-mood-radar-DftzG_Bi.js → vue-ui-mood-radar-C8JUTwNw.js} +130 -121
- package/dist/{vue-ui-nested-donuts-B9JC_0xK.js → vue-ui-nested-donuts-D0RgFifU.js} +255 -246
- package/dist/{vue-ui-onion-DTjaH-Bu.js → vue-ui-onion-D4U7TL_N.js} +150 -141
- package/dist/{vue-ui-parallel-coordinate-plot-DwqfVqFB.js → vue-ui-parallel-coordinate-plot-CXMT7Rjr.js} +194 -185
- package/dist/{vue-ui-quadrant-Cv3VWA6d.js → vue-ui-quadrant-B13pTVVZ.js} +248 -239
- package/dist/{vue-ui-quick-chart-imc0KrbF.js → vue-ui-quick-chart-C0UL4o63.js} +328 -319
- package/dist/{vue-ui-radar-kNySclk1.js → vue-ui-radar-XpdiXnhz.js} +165 -156
- package/dist/{vue-ui-rating-DBhEbgwD.js → vue-ui-rating-CM8ZrUb1.js} +2 -2
- package/dist/{vue-ui-relation-circle-BJQhS0aG.js → vue-ui-relation-circle-CYoFNekk.js} +145 -136
- package/dist/{vue-ui-ridgeline-Bhd1Uwm8.js → vue-ui-ridgeline-QUquE6ck.js} +198 -189
- package/dist/{vue-ui-rings-C_IT2mi0.js → vue-ui-rings-DwT0IfOh.js} +136 -127
- package/dist/{vue-ui-scatter-i8XZreWa.js → vue-ui-scatter-zDpy1udm.js} +207 -199
- package/dist/{vue-ui-skeleton-D9B8DY_k.js → vue-ui-skeleton-DJPjyNYn.js} +3 -3
- package/dist/{vue-ui-smiley-gmdnUWcW.js → vue-ui-smiley-DoDXl6k0.js} +2 -2
- package/dist/{vue-ui-spark-trend-DOF3vl8_.js → vue-ui-spark-trend-CniV6Cpr.js} +3 -3
- package/dist/{vue-ui-sparkbar-BVOVq3dA.js → vue-ui-sparkbar-Ds2ITgwn.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DVO2Z0Rg.js → vue-ui-sparkgauge-CosfK-kw.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CbV86a2i.js → vue-ui-sparkhistogram-C7O1wPAJ.js} +4 -4
- package/dist/{vue-ui-sparkline-jDNAVZu-.js → vue-ui-sparkline-B_iUj3F2.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-auT8CUXm.js → vue-ui-sparkstackbar-DBhWrysr.js} +3 -3
- package/dist/{vue-ui-stackbar-DmO02We2.js → vue-ui-stackbar-C3aV4IcL.js} +242 -233
- package/dist/{vue-ui-strip-plot-B25s87lj.js → vue-ui-strip-plot-Bvr1GAzH.js} +204 -195
- package/dist/{vue-ui-table-B4xbQdK_.js → vue-ui-table-DQKKRgyo.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DI57VcvH.js → vue-ui-table-heatmap-Dyqj5XJC.js} +26 -25
- package/dist/{vue-ui-table-sparkline-DRgsZztN.js → vue-ui-table-sparkline-D4RubyLj.js} +8 -7
- package/dist/{vue-ui-thermometer-DkeT5DV_.js → vue-ui-thermometer-B0FKI5cG.js} +149 -140
- package/dist/{vue-ui-timer-uon_DLeH.js → vue-ui-timer-DUCBRIl-.js} +5 -5
- package/dist/{vue-ui-tiremarks-BV0qXRF2.js → vue-ui-tiremarks-CRt4UQZD.js} +114 -105
- package/dist/{vue-ui-treemap-DzJsjtz7.js → vue-ui-treemap-CWP5nYDx.js} +298 -289
- package/dist/{vue-ui-vertical-bar-CkLS_DGb.js → vue-ui-vertical-bar-C5fPYltO.js} +294 -285
- package/dist/{vue-ui-waffle-B2XiLGQx.js → vue-ui-waffle-BpWLlfpg.js} +190 -181
- package/dist/{vue-ui-wheel-BR1DDpKU.js → vue-ui-wheel-CTzuCroy.js} +96 -87
- package/dist/{vue-ui-word-cloud-BvOT6hu2.js → vue-ui-word-cloud-BPokdaP1.js} +212 -203
- package/dist/{vue-ui-world-BeP91MNX.js → vue-ui-world-CS6k-oil.js} +201 -192
- package/dist/{vue-ui-xy-BaR-ZDba.js → vue-ui-xy-CQ425kLR.js} +517 -510
- package/dist/{vue-ui-xy-canvas-B4ZmECCK.js → vue-ui-xy-canvas-D2IFwAr7.js} +364 -355
- package/package.json +1 -1
- package/dist/img-CTC5DLKL.js +0 -20
- package/dist/vue-data-ui-BB8Upnjm.js +0 -301
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { t as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { _ as
|
|
11
|
-
import
|
|
12
|
-
|
|
1
|
+
import { useCssVars as _t, defineAsyncComponent as Y, ref as h, shallowRef as He, computed as C, watch as St, onMounted as Qe, onBeforeUnmount as Ze, createElementBlock as i, openBlock as n, unref as d, normalizeStyle as E, normalizeClass as F, createBlock as G, createCommentVNode as v, renderSlot as $, createElementVNode as B, createSlots as Je, withCtx as _, normalizeProps as re, guardReactiveProps as ue, withModifiers as Ke, createVNode as he, Fragment as z, renderList as W, mergeProps as Tt, toDisplayString as D, createTextVNode as Ot, nextTick as Bt } from "vue";
|
|
2
|
+
import { u as Lt, c as fe, t as Nt, p as ie, a as Et, o as Ft, e as et, g as zt, b as Rt, d as Xt, X as jt, F as Dt, f as ge, q as Ut, r as Vt, i as Yt } from "./index-pPGk-uhD.js";
|
|
3
|
+
import { u as Gt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
4
|
+
import { u as tt } from "./useNestedProp-DjACxgdZ.js";
|
|
5
|
+
import { u as Wt } from "./useChartAccessibility-9icAAmYg.js";
|
|
6
|
+
import { u as qt } from "./usePrinter-DDHcrl0A.js";
|
|
7
|
+
import { t as Ht, u as Qt } from "./useResponsive-DfdjqQps.js";
|
|
8
|
+
import Zt from "./Legend-Bxlv67uY.js";
|
|
9
|
+
import Jt from "./Title-B-2bV0SW.js";
|
|
10
|
+
import { _ as Kt } from "./Shape-DtFT5EJa.js";
|
|
11
|
+
import ea from "./img-Y_hYz-ZC.js";
|
|
12
|
+
import { _ as ta } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const aa = ["id"], oa = ["xmlns", "viewBox"], la = ["width", "height"], sa = { key: 1 }, na = ["id", "d"], ra = { key: 2 }, ua = ["transform"], ia = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick"], ca = ["d", "fill", "stroke", "stroke-width"], da = ["d", "fill"], va = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick"], ha = ["d", "fill", "stroke", "stroke-width"], fa = ["d", "fill", "stroke", "stroke-width"], ga = ["d", "fill", "stroke", "stroke-width"], pa = { key: 0 }, ba = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ma = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ya = ["cx", "cy", "r", "stroke", "stroke-width", "fill"], ka = ["transform", "fill", "text-anchor", "font-size", "font-weight"], $a = { key: 1 }, wa = ["font-size", "font-weight", "fill"], Ca = ["href"], Ma = ["transform", "text-anchor", "font-size", "font-weight", "fill"], xa = {
|
|
13
14
|
key: 5,
|
|
14
15
|
class: "vue-data-ui-watermark"
|
|
15
|
-
},
|
|
16
|
+
}, Ia = ["onClick"], Aa = {
|
|
16
17
|
key: 8,
|
|
17
18
|
"data-dom-to-png-ignore": "",
|
|
18
19
|
class: "reset-wrapper"
|
|
19
|
-
},
|
|
20
|
+
}, Pa = { style: { "text-align": "right", width: "100%" } }, _a = {
|
|
20
21
|
__name: "vue-ui-chord",
|
|
21
22
|
props: {
|
|
22
23
|
dataset: {
|
|
@@ -33,67 +34,67 @@ const ea = ["id"], ta = ["xmlns", "viewBox"], aa = ["width", "height"], oa = { k
|
|
|
33
34
|
}
|
|
34
35
|
},
|
|
35
36
|
emits: ["selectLegend", "selectGroup", "selectRibbon"],
|
|
36
|
-
setup(
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
setup(at, { expose: ot, emit: lt }) {
|
|
38
|
+
_t((t) => ({
|
|
39
|
+
76214312: t.slicerColor
|
|
39
40
|
}));
|
|
40
|
-
const
|
|
41
|
-
get: () =>
|
|
41
|
+
const st = Y(() => import("./vue-ui-accordion-CVnA550V.js")), nt = Y(() => import("./BaseIcon-naqtCxVi.js")), rt = Y(() => import("./DataTable-D0VYDhfx.js")), ut = Y(() => import("./PackageVersion-5TR4ocqp.js")), it = Y(() => import("./PenAndPaper-D6AqipIO.js")), ct = Y(() => import("./vue-ui-skeleton-DJPjyNYn.js")), dt = Y(() => import("./UserOptions-Dd34lEKb.js")), { vue_ui_chord: vt } = Lt(), g = at, te = lt, L = h(!!g.dataset && Object.hasOwn(g.dataset, "matrix")), S = h(fe()), w = h(null), m = h(null), p = h(null), pe = h(0), R = h(null), be = h(null), me = h(null), ye = h(null), ke = h(null), $e = h(0), we = h(0), Ce = h(0), q = h(!1), X = He(null), H = He(null), a = C({
|
|
42
|
+
get: () => Se(),
|
|
42
43
|
set: (t) => t
|
|
43
|
-
}), { userOptionsVisible: ce, setUserOptionsVisibility: Me, keepUserOptionState: xe } =
|
|
44
|
-
elementId: `chord_${
|
|
44
|
+
}), { userOptionsVisible: ce, setUserOptionsVisibility: Me, keepUserOptionState: xe } = Gt({ config: a.value }), { svgRef: Q } = Wt({ config: a.value.style.chart.title }), { isPrinting: Ie, isImaging: Ae, generatePdf: Pe, generateImage: _e } = qt({
|
|
45
|
+
elementId: `chord_${S.value}`,
|
|
45
46
|
fileName: a.value.style.chart.title.text || "vue-ui-chord",
|
|
46
47
|
options: a.value.userOptions.print
|
|
47
48
|
}), Z = h({
|
|
48
49
|
showTable: a.value.table.show
|
|
49
50
|
});
|
|
50
|
-
function
|
|
51
|
-
const t =
|
|
51
|
+
function Se() {
|
|
52
|
+
const t = tt({
|
|
52
53
|
userConfig: g.config,
|
|
53
|
-
defaultConfig:
|
|
54
|
+
defaultConfig: vt
|
|
54
55
|
});
|
|
55
56
|
return t.theme ? {
|
|
56
|
-
...
|
|
57
|
-
userConfig:
|
|
57
|
+
...tt({
|
|
58
|
+
userConfig: Et.vue_ui_chord[t.theme] || g.config,
|
|
58
59
|
defaultConfig: t
|
|
59
60
|
}),
|
|
60
|
-
customPalette:
|
|
61
|
+
customPalette: Nt[t.theme] || ie
|
|
61
62
|
} : t;
|
|
62
63
|
}
|
|
63
|
-
|
|
64
|
-
a.value =
|
|
64
|
+
St(() => g.config, (t) => {
|
|
65
|
+
a.value = Se(), ce.value = !a.value.userOptions.showOnChartHover, Te(), $e.value += 1, we.value += 1, Ce.value += 1, x.value = a.value.initialRotation, Z.value.showTable = a.value.table.show;
|
|
65
66
|
}, { deep: !0 });
|
|
66
|
-
function
|
|
67
|
-
if (
|
|
67
|
+
function Te() {
|
|
68
|
+
if (Ft(g.dataset) ? et({
|
|
68
69
|
componentName: "VueUiChord",
|
|
69
70
|
type: "dataset"
|
|
70
|
-
}) :
|
|
71
|
+
}) : zt({
|
|
71
72
|
datasetObject: g.dataset,
|
|
72
73
|
requiredAttributes: ["matrix"]
|
|
73
74
|
}).forEach((t) => {
|
|
74
|
-
L.value = !1,
|
|
75
|
+
L.value = !1, et({
|
|
75
76
|
componentName: "VueUiChord",
|
|
76
77
|
type: "datasetAttribute",
|
|
77
78
|
property: t
|
|
78
79
|
});
|
|
79
|
-
}), L.value &&
|
|
80
|
-
const t =
|
|
81
|
-
const { width: o, height: e, heightNoTitle: l, heightSource: u, heightTitle: s, heightLegend: r } =
|
|
82
|
-
chart:
|
|
83
|
-
title: a.value.style.chart.title.text ?
|
|
80
|
+
}), L.value && Oe(), a.value.responsive) {
|
|
81
|
+
const t = Ht(() => {
|
|
82
|
+
const { width: o, height: e, heightNoTitle: l, heightSource: u, heightTitle: s, heightLegend: r } = Qt({
|
|
83
|
+
chart: R.value,
|
|
84
|
+
title: a.value.style.chart.title.text ? be.value : null,
|
|
84
85
|
legend: a.value.style.chart.legend.show ? me.value : null,
|
|
85
86
|
source: ye.value,
|
|
86
87
|
noTitle: ke.value
|
|
87
88
|
}), f = s + r + u + l;
|
|
88
|
-
o < e ?
|
|
89
|
+
o < e ? R.value.style.width = "100%" : (R.value.style.height = "100%", Q.value.style.height = `calc(100% - ${f}px)`);
|
|
89
90
|
}, 100);
|
|
90
|
-
|
|
91
|
+
X.value && (H.value && X.value.unobserve(H.value), X.value.disconnect()), X.value = new ResizeObserver(t), H.value = R.value.parentNode, X.value.observe(H.value), t();
|
|
91
92
|
}
|
|
92
93
|
Be.value = setTimeout(() => {
|
|
93
94
|
q.value = !0;
|
|
94
95
|
}, 500);
|
|
95
96
|
}
|
|
96
|
-
function
|
|
97
|
+
function Oe() {
|
|
97
98
|
if (!g.dataset || !Object.hasOwn(g.dataset, "matrix") || g.dataset.matrix.length < 2) {
|
|
98
99
|
console.warn(`VueUiChord: dataset.matrix requires a minimum of 2 datapoints, for example:
|
|
99
100
|
|
|
@@ -110,59 +111,59 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
110
111
|
});
|
|
111
112
|
}
|
|
112
113
|
const Be = h(null);
|
|
113
|
-
|
|
114
|
-
|
|
114
|
+
Qe(() => {
|
|
115
|
+
Te();
|
|
115
116
|
});
|
|
116
|
-
const
|
|
117
|
+
const T = h({
|
|
117
118
|
height: 600,
|
|
118
119
|
width: 600
|
|
119
|
-
}),
|
|
120
|
-
inner:
|
|
121
|
-
outer:
|
|
122
|
-
})),
|
|
120
|
+
}), ht = C(() => a.value.userOptions.show && !a.value.style.chart.title.text), ft = C(() => Rt(a.value.customPalette)), b = C(() => ({
|
|
121
|
+
inner: T.value.width * 0.3 * a.value.style.chart.arcs.innerRadiusRatio,
|
|
122
|
+
outer: T.value.width * 0.34 * a.value.style.chart.arcs.outerRadiusRatio
|
|
123
|
+
})), gt = C(() => a.value.style.chart.arcs.padAngle / 100), y = C(() => L.value ? {
|
|
123
124
|
matrix: g.dataset.matrix ?? [[0]],
|
|
124
125
|
labels: g.dataset.labels ?? [""],
|
|
125
|
-
colors: g.dataset.colors && Array.isArray(g.dataset.colors) && g.dataset.colors.length ? g.dataset.colors.map((t) =>
|
|
126
|
+
colors: g.dataset.colors && Array.isArray(g.dataset.colors) && g.dataset.colors.length ? g.dataset.colors.map((t) => Xt(t)) : g.dataset.matrix.map((t, o) => ft.value[o] || ie[o] || ie[o % ie.length])
|
|
126
127
|
} : {
|
|
127
128
|
matrix: [],
|
|
128
129
|
labels: [],
|
|
129
130
|
colors: []
|
|
130
131
|
});
|
|
131
|
-
function
|
|
132
|
-
const e = t.length, l =
|
|
132
|
+
function pt(t, o) {
|
|
133
|
+
const e = t.length, l = b.value.inner, u = new Array(e).fill(0);
|
|
133
134
|
let s = 0;
|
|
134
135
|
for (let c = 0; c < e; c += 1)
|
|
135
136
|
for (let k = 0; k < e; k += 1)
|
|
136
137
|
u[c] += t[c][k], s += t[c][k];
|
|
137
138
|
const r = (2 * Math.PI - o * e) / s, f = [];
|
|
138
|
-
let
|
|
139
|
+
let I = 0;
|
|
139
140
|
for (let c = 0; c < e; c += 1) {
|
|
140
|
-
const k =
|
|
141
|
+
const k = I, P = k + u[c] * r;
|
|
141
142
|
f.push({
|
|
142
143
|
index: c,
|
|
143
|
-
pattern: `pattern_${
|
|
144
|
+
pattern: `pattern_${S.value}_${c}`,
|
|
144
145
|
startAngle: k,
|
|
145
146
|
endAngle: P,
|
|
146
147
|
name: y.value.labels[c],
|
|
147
148
|
id: fe(),
|
|
148
149
|
color: y.value.colors[c],
|
|
149
150
|
proportion: u[c] / s
|
|
150
|
-
}),
|
|
151
|
+
}), I = P + o;
|
|
151
152
|
}
|
|
152
|
-
const
|
|
153
|
+
const A = [];
|
|
153
154
|
for (let c = 0; c < e; c += 1) {
|
|
154
|
-
const k = t[c].map((
|
|
155
|
-
k.sort((
|
|
155
|
+
const k = t[c].map((O, j) => ({ j, v: O }));
|
|
156
|
+
k.sort((O, j) => j.v - O.v);
|
|
156
157
|
let P = f[c].startAngle;
|
|
157
|
-
for (const { j:
|
|
158
|
-
const V = P, ee = V +
|
|
159
|
-
|
|
158
|
+
for (const { j: O, v: j } of k) {
|
|
159
|
+
const V = P, ee = V + j * r;
|
|
160
|
+
A.push({
|
|
160
161
|
index: c,
|
|
161
|
-
subIndex:
|
|
162
|
-
pattern: `pattern_${
|
|
162
|
+
subIndex: O,
|
|
163
|
+
pattern: `pattern_${S.value}_${c}`,
|
|
163
164
|
startAngle: V,
|
|
164
165
|
endAngle: ee,
|
|
165
|
-
value:
|
|
166
|
+
value: j,
|
|
166
167
|
groupName: y.value.labels[c],
|
|
167
168
|
groupId: f[c].id,
|
|
168
169
|
groupColor: y.value.colors[c],
|
|
@@ -173,8 +174,8 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
173
174
|
}
|
|
174
175
|
}
|
|
175
176
|
const N = [];
|
|
176
|
-
for (const c of
|
|
177
|
-
const k =
|
|
177
|
+
for (const c of A) {
|
|
178
|
+
const k = A.find(
|
|
178
179
|
(P) => P.index === c.subIndex && P.subIndex === c.index
|
|
179
180
|
);
|
|
180
181
|
N.push({ source: c, target: k, id: fe() });
|
|
@@ -182,12 +183,12 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
182
183
|
return { groups: f, chords: N };
|
|
183
184
|
}
|
|
184
185
|
const M = C(() => {
|
|
185
|
-
const t =
|
|
186
|
-
return
|
|
186
|
+
const t = pt(y.value.matrix, gt.value);
|
|
187
|
+
return Oe(), t.chords.sort(
|
|
187
188
|
(o, e) => Math.max(e.source.value, e.target.value) - Math.max(o.source.value, o.target.value)
|
|
188
189
|
), t;
|
|
189
190
|
}), bt = C(() => {
|
|
190
|
-
const t =
|
|
191
|
+
const t = b.value.outer + a.value.style.chart.ribbons.labels.offset + 12, e = a.value.style.chart.ribbons.labels.fontSize * 0.6, l = [];
|
|
191
192
|
if (m.value) {
|
|
192
193
|
const s = m.value;
|
|
193
194
|
if (s.source.value) {
|
|
@@ -244,15 +245,15 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
244
245
|
}
|
|
245
246
|
});
|
|
246
247
|
}
|
|
247
|
-
return
|
|
248
|
-
}),
|
|
248
|
+
return p.value && u(p.value), w.value && u(w.value.id), l;
|
|
249
|
+
}), mt = C(() => {
|
|
249
250
|
const t = bt.value.map((u) => ({ ...u })).sort((u, s) => u.theta - s.theta), o = a.value.style.chart.ribbons.labels.minSeparationDeg * Math.PI / 180;
|
|
250
251
|
let e = !0, l = 0;
|
|
251
252
|
for (; e && l++ < 10; ) {
|
|
252
253
|
e = !1;
|
|
253
254
|
for (let f = 1; f < t.length; f += 1) {
|
|
254
|
-
const
|
|
255
|
-
|
|
255
|
+
const I = t[f - 1], A = t[f], N = I.theta + I.w + o;
|
|
256
|
+
A.theta < N && (A.theta = N, e = !0);
|
|
256
257
|
}
|
|
257
258
|
const u = t[0], s = t[t.length - 1], r = s.theta + s.w + o - 2 * Math.PI;
|
|
258
259
|
u.theta < r && (u.theta = r, e = !0);
|
|
@@ -260,31 +261,31 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
260
261
|
return t;
|
|
261
262
|
});
|
|
262
263
|
function Le(t, o, e, l) {
|
|
263
|
-
const u = t - Math.PI / 2, s = o - Math.PI / 2, r = Math.cos(u) * e, f = Math.sin(u) * e,
|
|
264
|
-
return `M${r},${f} A${e},${e} 0 ${
|
|
264
|
+
const u = t - Math.PI / 2, s = o - Math.PI / 2, r = Math.cos(u) * e, f = Math.sin(u) * e, I = Math.cos(s) * e, A = Math.sin(s) * e, N = Math.cos(s) * l, c = Math.sin(s) * l, k = Math.cos(u) * l, P = Math.sin(u) * l, O = o - t > Math.PI ? 1 : 0;
|
|
265
|
+
return `M${r},${f} A${e},${e} 0 ${O} 1 ${I},${A} L${N},${c} A${l},${l} 0 ${O} 0 ${k},${P} Z`;
|
|
265
266
|
}
|
|
266
267
|
function ae(t, o) {
|
|
267
|
-
const e =
|
|
268
|
-
return `M${f},${
|
|
268
|
+
const e = b.value.inner, l = t.startAngle - Math.PI / 2, u = t.endAngle - Math.PI / 2, s = o.startAngle - Math.PI / 2, r = o.endAngle - Math.PI / 2, f = Math.cos(l) * e, I = Math.sin(l) * e, A = Math.cos(u) * e, N = Math.sin(u) * e, c = Math.cos(s) * e, k = Math.sin(s) * e, P = Math.cos(r) * e, O = Math.sin(r) * e, j = t.endAngle - t.startAngle > Math.PI ? 1 : 0, V = o.endAngle - o.startAngle > Math.PI ? 1 : 0;
|
|
269
|
+
return `M${f},${I}A${e},${e} 0 ${j} 1 ${A},${N}Q0,0 ${c},${k}A${e},${e} 0 ${V} 1 ${P},${O}Q0,0 ${f},${I}Z`;
|
|
269
270
|
}
|
|
270
271
|
const Ne = C(() => x.value * Math.PI / 180);
|
|
271
|
-
function mt(t) {
|
|
272
|
-
return (t.startAngle + t.endAngle) / 2;
|
|
273
|
-
}
|
|
274
272
|
function yt(t) {
|
|
275
|
-
return (
|
|
273
|
+
return (t.startAngle + t.endAngle) / 2;
|
|
276
274
|
}
|
|
277
275
|
function kt(t) {
|
|
276
|
+
return ((yt(t) + Ne.value) % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI);
|
|
277
|
+
}
|
|
278
|
+
function $t(t) {
|
|
278
279
|
let o = t + Ne.value;
|
|
279
280
|
return o = (o % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI), o > Math.PI ? "end" : "start";
|
|
280
281
|
}
|
|
281
|
-
function
|
|
282
|
-
const o = t - Math.PI / 2, e = Math.cos(o) * (
|
|
282
|
+
function wt(t) {
|
|
283
|
+
const o = t - Math.PI / 2, e = Math.cos(o) * (b.value.outer + a.value.style.chart.arcs.labels.offset + 24), l = Math.sin(o) * (b.value.outer + a.value.style.chart.arcs.labels.offset + 24);
|
|
283
284
|
return `translate(${e},${l})`;
|
|
284
285
|
}
|
|
285
|
-
function
|
|
286
|
-
const l = t - Math.PI / 2, u = o - Math.PI / 2, s = Math.cos(l) * e, r = Math.sin(l) * e, f = Math.cos(u) * e,
|
|
287
|
-
return `M${s},${r} A${e},${e} 0 ${
|
|
286
|
+
function Ct(t, o, e) {
|
|
287
|
+
const l = t - Math.PI / 2, u = o - Math.PI / 2, s = Math.cos(l) * e, r = Math.sin(l) * e, f = Math.cos(u) * e, I = Math.sin(u) * e, A = o - t > Math.PI ? 1 : 0;
|
|
288
|
+
return `M${s},${r} A${e},${e} 0 ${A} 1 ${f},${I}`;
|
|
288
289
|
}
|
|
289
290
|
const x = h(a.value.initialRotation), J = h(!1);
|
|
290
291
|
let Ee = 0, Fe = 0;
|
|
@@ -315,26 +316,26 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
315
316
|
})
|
|
316
317
|
);
|
|
317
318
|
}
|
|
318
|
-
|
|
319
|
+
Qe(() => {
|
|
319
320
|
window.addEventListener("mousemove", oe), window.addEventListener("mouseup", le), window.addEventListener("touchmove", oe, { passive: !1 }), window.addEventListener("touchend", le);
|
|
320
|
-
}),
|
|
321
|
-
window.removeEventListener("mousemove", oe), window.removeEventListener("mouseup", le), window.removeEventListener("touchmove", oe), window.removeEventListener("touchend", le), clearTimeout(Be.value),
|
|
321
|
+
}), Ze(() => {
|
|
322
|
+
window.removeEventListener("mousemove", oe), window.removeEventListener("mouseup", le), window.removeEventListener("touchmove", oe), window.removeEventListener("touchend", le), clearTimeout(Be.value), X.value && (H.value && X.value.unobserve(H.value), X.value.disconnect());
|
|
322
323
|
});
|
|
323
324
|
const de = h(!1);
|
|
324
|
-
function
|
|
325
|
-
de.value = t,
|
|
325
|
+
function je(t) {
|
|
326
|
+
de.value = t, pe.value += 1;
|
|
326
327
|
}
|
|
327
328
|
function Mt(t) {
|
|
328
|
-
|
|
329
|
+
p.value || (w.value = t);
|
|
329
330
|
}
|
|
330
331
|
function xt(t) {
|
|
331
|
-
|
|
332
|
-
}
|
|
333
|
-
function je(t) {
|
|
334
|
-
return !b.value && !w.value && !m.value ? 0.8 : (b.value ? b.value === t.source.groupId : w.value ? w.value.id === t.source.groupId : m.value?.id === t.id) ? 1 : 0.1;
|
|
332
|
+
p.value || (m.value = t);
|
|
335
333
|
}
|
|
336
334
|
function De(t) {
|
|
337
|
-
return !
|
|
335
|
+
return !p.value && !w.value && !m.value ? 0.8 : (p.value ? p.value === t.source.groupId : w.value ? w.value.id === t.source.groupId : m.value?.id === t.id) ? 1 : 0.1;
|
|
336
|
+
}
|
|
337
|
+
function Ue(t) {
|
|
338
|
+
return !p.value && !w.value && !m.value || (p.value ? p.value === t.id : w.value ? w.value.id === t.id : [m.value?.source.groupId, m.value?.target.groupId].includes(t.id)) ? 1 : 0.3;
|
|
338
339
|
}
|
|
339
340
|
const K = h(!1);
|
|
340
341
|
function ve() {
|
|
@@ -343,34 +344,34 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
343
344
|
function Ve() {
|
|
344
345
|
Z.value.showTable = !Z.value.showTable;
|
|
345
346
|
}
|
|
346
|
-
function
|
|
347
|
+
function It() {
|
|
347
348
|
return M.value;
|
|
348
349
|
}
|
|
349
|
-
const
|
|
350
|
+
const U = h(null);
|
|
350
351
|
function Ye() {
|
|
351
352
|
const t = a.value.initialRotation;
|
|
352
|
-
|
|
353
|
+
U.value !== null && cancelAnimationFrame(U.value);
|
|
353
354
|
const o = () => {
|
|
354
|
-
x.value += (t - x.value) * 0.05, Math.abs(x.value - t) < 0.1 ? (x.value = t,
|
|
355
|
+
x.value += (t - x.value) * 0.05, Math.abs(x.value - t) < 0.1 ? (x.value = t, U.value = null) : U.value = requestAnimationFrame(o);
|
|
355
356
|
};
|
|
356
|
-
|
|
357
|
+
U.value = requestAnimationFrame(o);
|
|
357
358
|
}
|
|
358
|
-
|
|
359
|
-
|
|
359
|
+
Ze(() => {
|
|
360
|
+
U.value !== null && cancelAnimationFrame(U.value);
|
|
360
361
|
});
|
|
361
|
-
function
|
|
362
|
-
t ===
|
|
362
|
+
function Ge(t) {
|
|
363
|
+
t === p.value ? (p.value = null, te("selectLegend", null)) : (p.value = t, te("selectLegend", M.value.groups.find((o) => o.id === t)));
|
|
363
364
|
}
|
|
364
|
-
const
|
|
365
|
+
const We = C(() => M.value.groups.map((t, o) => ({
|
|
365
366
|
name: t.name,
|
|
366
367
|
color: t.color,
|
|
367
368
|
shape: "circle",
|
|
368
369
|
patternIndex: o,
|
|
369
|
-
pattern: `pattern_${
|
|
370
|
+
pattern: `pattern_${S.value}_${o}`,
|
|
370
371
|
id: t.id,
|
|
371
|
-
select: () =>
|
|
372
|
-
opacity:
|
|
373
|
-
}))),
|
|
372
|
+
select: () => Ge(t.id),
|
|
373
|
+
opacity: p.value ? p.value === t.id ? 1 : 0.3 : 1
|
|
374
|
+
}))), At = C(() => ({
|
|
374
375
|
cy: "chord-div-legend",
|
|
375
376
|
backgroundColor: a.value.style.chart.legend.backgroundColor,
|
|
376
377
|
color: a.value.style.chart.legend.color,
|
|
@@ -407,8 +408,8 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
407
408
|
config: e
|
|
408
409
|
};
|
|
409
410
|
});
|
|
410
|
-
function
|
|
411
|
-
|
|
411
|
+
function qe(t = null) {
|
|
412
|
+
Bt(() => {
|
|
412
413
|
const o = y.value.matrix.map((u, s) => [
|
|
413
414
|
[y.value.labels[s] || s],
|
|
414
415
|
u
|
|
@@ -419,31 +420,38 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
419
420
|
[""],
|
|
420
421
|
...y.value.labels.map((u, s) => [u || s])
|
|
421
422
|
]
|
|
422
|
-
].concat(o), l =
|
|
423
|
+
].concat(o), l = Ut(e);
|
|
423
424
|
t ? t(l) : Vt({ csvContent: l, title: a.value.style.chart.title.text || "vue-ui-chord" });
|
|
424
425
|
});
|
|
425
426
|
}
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
427
|
+
async function Pt({ scale: t = 2 } = {}) {
|
|
428
|
+
if (!R.value) return;
|
|
429
|
+
const { imageUri: o, base64: e } = await ea({ domElement: R.value, base64: !0, img: !0, scale: t });
|
|
430
|
+
return { imageUri: o, base64: e };
|
|
431
|
+
}
|
|
432
|
+
return ot({
|
|
433
|
+
getData: It,
|
|
434
|
+
getImage: Pt,
|
|
435
|
+
generateCsv: qe,
|
|
429
436
|
generateImage: _e,
|
|
430
437
|
generatePdf: Pe,
|
|
431
438
|
toggleAnnotator: ve,
|
|
432
|
-
toggleTable: Ve
|
|
439
|
+
toggleTable: Ve,
|
|
440
|
+
toggleFullscreen: je
|
|
433
441
|
}), (t, o) => (n(), i("div", {
|
|
434
442
|
ref_key: "chordChart",
|
|
435
|
-
ref:
|
|
443
|
+
ref: R,
|
|
436
444
|
class: F({
|
|
437
445
|
"vue-ui-chord": !0,
|
|
438
446
|
"vue-data-ui-wrapper-fullscreen": de.value,
|
|
439
447
|
"vue-data-ui-responsive": a.value.responsive
|
|
440
448
|
}),
|
|
441
449
|
style: E(`font-family:${a.value.style.fontFamily};width:100%; text-align:center;background:${a.value.style.chart.backgroundColor}`),
|
|
442
|
-
id: `chord_${
|
|
450
|
+
id: `chord_${S.value}`,
|
|
443
451
|
onMouseenter: o[4] || (o[4] = () => d(Me)(!0)),
|
|
444
452
|
onMouseleave: o[5] || (o[5] = () => d(Me)(!1))
|
|
445
453
|
}, [
|
|
446
|
-
a.value.userOptions.buttons.annotator && d(Q) ? (n(),
|
|
454
|
+
a.value.userOptions.buttons.annotator && d(Q) ? (n(), G(d(it), {
|
|
447
455
|
key: 0,
|
|
448
456
|
color: a.value.style.chart.color,
|
|
449
457
|
backgroundColor: a.value.style.chart.backgroundColor,
|
|
@@ -452,7 +460,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
452
460
|
onClose: ve
|
|
453
461
|
}, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : v("", !0),
|
|
454
462
|
$(t.$slots, "userConfig", {}, void 0, !0),
|
|
455
|
-
|
|
463
|
+
ht.value ? (n(), i("div", {
|
|
456
464
|
key: 1,
|
|
457
465
|
ref_key: "noTitle",
|
|
458
466
|
ref: ke,
|
|
@@ -462,10 +470,10 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
462
470
|
a.value.style.chart.title.text ? (n(), i("div", {
|
|
463
471
|
key: 2,
|
|
464
472
|
ref_key: "chartTitle",
|
|
465
|
-
ref:
|
|
473
|
+
ref: be,
|
|
466
474
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
467
475
|
}, [
|
|
468
|
-
(n(),
|
|
476
|
+
(n(), G(Jt, {
|
|
469
477
|
key: `title_${$e.value}`,
|
|
470
478
|
config: {
|
|
471
479
|
title: {
|
|
@@ -479,14 +487,14 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
479
487
|
}
|
|
480
488
|
}, null, 8, ["config"]))
|
|
481
489
|
], 512)) : v("", !0),
|
|
482
|
-
a.value.userOptions.show && L.value && (d(xe) || d(ce)) ? (n(),
|
|
490
|
+
a.value.userOptions.show && L.value && (d(xe) || d(ce)) ? (n(), G(d(dt), {
|
|
483
491
|
ref: "details",
|
|
484
|
-
key: `user_option_${
|
|
492
|
+
key: `user_option_${pe.value}`,
|
|
485
493
|
backgroundColor: a.value.style.chart.backgroundColor,
|
|
486
494
|
color: a.value.style.chart.color,
|
|
487
|
-
isPrinting: d(
|
|
488
|
-
isImaging: d(
|
|
489
|
-
uid:
|
|
495
|
+
isPrinting: d(Ie),
|
|
496
|
+
isImaging: d(Ae),
|
|
497
|
+
uid: S.value,
|
|
490
498
|
hasTooltip: !1,
|
|
491
499
|
hasPdf: a.value.userOptions.buttons.pdf,
|
|
492
500
|
hasImg: a.value.userOptions.buttons.img,
|
|
@@ -495,22 +503,23 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
495
503
|
hasLabel: !1,
|
|
496
504
|
hasFullscreen: a.value.userOptions.buttons.fullscreen,
|
|
497
505
|
isFullscreen: de.value,
|
|
498
|
-
chartElement:
|
|
506
|
+
chartElement: R.value,
|
|
499
507
|
position: a.value.userOptions.position,
|
|
500
508
|
titles: { ...a.value.userOptions.buttonTitles },
|
|
501
509
|
hasAnnotator: a.value.userOptions.buttons.annotator,
|
|
502
510
|
isAnnotation: K.value,
|
|
503
511
|
callbacks: a.value.userOptions.callbacks,
|
|
504
|
-
|
|
512
|
+
printScale: a.value.userOptions.print.scale,
|
|
513
|
+
onToggleFullscreen: je,
|
|
505
514
|
onGeneratePdf: d(Pe),
|
|
506
|
-
onGenerateCsv:
|
|
515
|
+
onGenerateCsv: qe,
|
|
507
516
|
onGenerateImage: d(_e),
|
|
508
517
|
onToggleTable: Ve,
|
|
509
518
|
onToggleAnnotator: ve,
|
|
510
519
|
style: E({
|
|
511
520
|
visibility: d(xe) ? d(ce) ? "visible" : "hidden" : "visible"
|
|
512
521
|
})
|
|
513
|
-
},
|
|
522
|
+
}, Je({ _: 2 }, [
|
|
514
523
|
t.$slots.menuIcon ? {
|
|
515
524
|
name: "menuIcon",
|
|
516
525
|
fn: _(({ isOpen: e, color: l }) => [
|
|
@@ -560,63 +569,63 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
560
569
|
]),
|
|
561
570
|
key: "6"
|
|
562
571
|
} : void 0
|
|
563
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
572
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
564
573
|
L.value ? (n(), i("svg", {
|
|
565
574
|
key: 4,
|
|
566
|
-
xmlns: d(
|
|
575
|
+
xmlns: d(jt),
|
|
567
576
|
ref_key: "svgRef",
|
|
568
577
|
ref: Q,
|
|
569
|
-
viewBox: `0 0 ${
|
|
578
|
+
viewBox: `0 0 ${T.value.width} ${T.value.height}`,
|
|
570
579
|
preserveAspectRatio: "xMidYMid meet",
|
|
571
580
|
style: {
|
|
572
581
|
overflow: "visible"
|
|
573
582
|
},
|
|
574
583
|
class: F({ "vue-ui-chord-rotating": J.value, "vue-ui-chord-idle": !J.value }),
|
|
575
|
-
onMousedown:
|
|
576
|
-
onTouchstart:
|
|
584
|
+
onMousedown: Ke(Re, ["prevent"]),
|
|
585
|
+
onTouchstart: Ke(Re, ["prevent"])
|
|
577
586
|
}, [
|
|
578
|
-
he(d(
|
|
587
|
+
he(d(ut)),
|
|
579
588
|
t.$slots["chart-background"] ? (n(), i("foreignObject", {
|
|
580
589
|
key: 0,
|
|
581
590
|
x: 0,
|
|
582
591
|
y: 0,
|
|
583
|
-
width:
|
|
584
|
-
height:
|
|
592
|
+
width: T.value.width <= 0 ? 10 : T.value.width,
|
|
593
|
+
height: T.value.height <= 0 ? 10 : T.value.height,
|
|
585
594
|
style: {
|
|
586
595
|
pointerEvents: "none"
|
|
587
596
|
}
|
|
588
597
|
}, [
|
|
589
598
|
$(t.$slots, "chart-background", {}, void 0, !0)
|
|
590
|
-
], 8,
|
|
591
|
-
a.value.style.chart.arcs.labels.curved ? (n(), i("defs",
|
|
592
|
-
(n(!0), i(z, null,
|
|
599
|
+
], 8, la)) : v("", !0),
|
|
600
|
+
a.value.style.chart.arcs.labels.curved ? (n(), i("defs", sa, [
|
|
601
|
+
(n(!0), i(z, null, W(M.value.groups, (e, l) => (n(), i("path", {
|
|
593
602
|
key: `labelPath-${l}`,
|
|
594
|
-
id: `labelPath-${l}_${
|
|
595
|
-
d:
|
|
603
|
+
id: `labelPath-${l}_${S.value}`,
|
|
604
|
+
d: Ct(
|
|
596
605
|
e.startAngle,
|
|
597
606
|
e.endAngle,
|
|
598
|
-
(
|
|
607
|
+
(b.value.inner + b.value.outer) / 2 + a.value.style.chart.arcs.labels.offset
|
|
599
608
|
),
|
|
600
609
|
fill: "none"
|
|
601
|
-
}, null, 8,
|
|
610
|
+
}, null, 8, na))), 128))
|
|
602
611
|
])) : v("", !0),
|
|
603
|
-
t.$slots.pattern ? (n(), i("g",
|
|
604
|
-
(n(!0), i(z, null,
|
|
605
|
-
$(t.$slots, "pattern", Tt({ ref_for: !0 }, { seriesIndex: e.index, patternId: `pattern_${
|
|
612
|
+
t.$slots.pattern ? (n(), i("g", ra, [
|
|
613
|
+
(n(!0), i(z, null, W(M.value.groups, (e, l) => (n(), i("defs", null, [
|
|
614
|
+
$(t.$slots, "pattern", Tt({ ref_for: !0 }, { seriesIndex: e.index, patternId: `pattern_${S.value}_${l}` }), void 0, !0)
|
|
606
615
|
]))), 256))
|
|
607
616
|
])) : v("", !0),
|
|
608
617
|
B("g", {
|
|
609
|
-
transform: `translate(${
|
|
618
|
+
transform: `translate(${T.value.width / 2}, ${T.value.height / 2}) rotate(${x.value})`
|
|
610
619
|
}, [
|
|
611
|
-
(n(!0), i(z, null,
|
|
620
|
+
(n(!0), i(z, null, W(M.value.groups, (e, l) => (n(), i("g", null, [
|
|
612
621
|
(n(), i("path", {
|
|
613
622
|
class: F({ "vue-ui-chord-arc": !0, "vue-ui-chord-arc-animated": a.value.useCssAnimation && !q.value }),
|
|
614
623
|
key: `arc-${l}`,
|
|
615
624
|
d: Le(
|
|
616
625
|
e.startAngle,
|
|
617
626
|
e.endAngle,
|
|
618
|
-
|
|
619
|
-
|
|
627
|
+
b.value.outer,
|
|
628
|
+
b.value.inner
|
|
620
629
|
),
|
|
621
630
|
fill: y.value.colors[l],
|
|
622
631
|
stroke: a.value.style.chart.arcs.stroke,
|
|
@@ -624,20 +633,20 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
624
633
|
"stroke-linecap": "round",
|
|
625
634
|
"stroke-linejoin": "round",
|
|
626
635
|
style: E({
|
|
627
|
-
opacity:
|
|
636
|
+
opacity: Ue(e)
|
|
628
637
|
}),
|
|
629
638
|
onMouseenter: () => Mt(e),
|
|
630
639
|
onMouseleave: o[0] || (o[0] = (u) => w.value = null),
|
|
631
640
|
onClick: (u) => te("selectGroup", e)
|
|
632
|
-
}, null, 46,
|
|
641
|
+
}, null, 46, ia)),
|
|
633
642
|
t.$slots.pattern ? (n(), i("path", {
|
|
634
643
|
class: F({ "vue-ui-chord-arc": !0, "vue-ui-chord-arc-animated": a.value.useCssAnimation && !q.value }),
|
|
635
644
|
key: `arc-${l}`,
|
|
636
645
|
d: Le(
|
|
637
646
|
e.startAngle,
|
|
638
647
|
e.endAngle,
|
|
639
|
-
|
|
640
|
-
|
|
648
|
+
b.value.outer,
|
|
649
|
+
b.value.inner
|
|
641
650
|
),
|
|
642
651
|
fill: `url(#${e.pattern})`,
|
|
643
652
|
stroke: a.value.style.chart.arcs.stroke,
|
|
@@ -645,13 +654,13 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
645
654
|
"stroke-linecap": "round",
|
|
646
655
|
"stroke-linejoin": "round",
|
|
647
656
|
style: E({
|
|
648
|
-
opacity:
|
|
657
|
+
opacity: Ue(e),
|
|
649
658
|
pointerEvents: "none"
|
|
650
659
|
})
|
|
651
|
-
}, null, 14,
|
|
660
|
+
}, null, 14, ca)) : v("", !0)
|
|
652
661
|
]))), 256)),
|
|
653
662
|
B("g", null, [
|
|
654
|
-
(n(!0), i(z, null,
|
|
663
|
+
(n(!0), i(z, null, W(w.value ? M.value.chords.filter((e) => e.source.groupId === w.value.id) : p.value ? M.value.chords.filter((e) => e.source.groupId === p.value) : M.value.chords, (e) => (n(), i(z, {
|
|
655
664
|
key: `ribbon-${e.id}`
|
|
656
665
|
}, [
|
|
657
666
|
e.source.value ? (n(), i("path", {
|
|
@@ -660,7 +669,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
660
669
|
d: ae(e.source, e.target),
|
|
661
670
|
fill: a.value.style.chart.backgroundColor,
|
|
662
671
|
style: E({ opacity: a.value.style.chart.ribbons.underlayerOpacity })
|
|
663
|
-
}, null, 14,
|
|
672
|
+
}, null, 14, da)) : v("", !0),
|
|
664
673
|
e.source.value ? (n(), i("path", {
|
|
665
674
|
key: 1,
|
|
666
675
|
class: F({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": a.value.useCssAnimation && !q.value }),
|
|
@@ -670,7 +679,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
670
679
|
"stroke-width": a.value.style.chart.ribbons.strokeWidth,
|
|
671
680
|
"stroke-linecap": "round",
|
|
672
681
|
"stroke-linejoin": "round",
|
|
673
|
-
style: E({ opacity:
|
|
682
|
+
style: E({ opacity: De(e) }),
|
|
674
683
|
onMouseenter: () => xt({
|
|
675
684
|
...e,
|
|
676
685
|
path: ae(e.source, e.target),
|
|
@@ -681,21 +690,21 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
681
690
|
color: y.value.colors[e.source.index]
|
|
682
691
|
}),
|
|
683
692
|
onMouseleave: o[1] || (o[1] = (l) => m.value = null)
|
|
684
|
-
}, null, 46,
|
|
693
|
+
}, null, 46, va)) : v("", !0),
|
|
685
694
|
e.source.value && t.$slots.pattern ? (n(), i("path", {
|
|
686
695
|
key: 2,
|
|
687
696
|
class: F({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": a.value.useCssAnimation && !q.value }),
|
|
688
697
|
d: ae(e.source, e.target),
|
|
689
|
-
fill: `url(#pattern_${
|
|
698
|
+
fill: `url(#pattern_${S.value}_${e.source.index})`,
|
|
690
699
|
stroke: a.value.style.chart.ribbons.stroke,
|
|
691
700
|
"stroke-width": a.value.style.chart.ribbons.strokeWidth,
|
|
692
701
|
"stroke-linecap": "round",
|
|
693
702
|
"stroke-linejoin": "round",
|
|
694
703
|
style: E({
|
|
695
|
-
opacity:
|
|
704
|
+
opacity: De(e),
|
|
696
705
|
pointerEvents: "none"
|
|
697
706
|
})
|
|
698
|
-
}, null, 14,
|
|
707
|
+
}, null, 14, ha)) : v("", !0)
|
|
699
708
|
], 64))), 128)),
|
|
700
709
|
m.value ? (n(), i("path", {
|
|
701
710
|
key: 0,
|
|
@@ -709,7 +718,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
709
718
|
style: {
|
|
710
719
|
pointerEvents: "none"
|
|
711
720
|
}
|
|
712
|
-
}, null, 8,
|
|
721
|
+
}, null, 8, fa)) : v("", !0),
|
|
713
722
|
m.value && t.$slots.pattern ? (n(), i("path", {
|
|
714
723
|
key: 1,
|
|
715
724
|
d: m.value.path,
|
|
@@ -722,98 +731,98 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
722
731
|
style: {
|
|
723
732
|
pointerEvents: "none"
|
|
724
733
|
}
|
|
725
|
-
}, null, 8,
|
|
734
|
+
}, null, 8, ga)) : v("", !0)
|
|
726
735
|
]),
|
|
727
|
-
(w.value || m.value ||
|
|
728
|
-
(n(!0), i(z, null,
|
|
736
|
+
(w.value || m.value || p.value) && a.value.style.chart.ribbons.labels.show ? (n(), i("g", pa, [
|
|
737
|
+
(n(!0), i(z, null, W(mt.value, (e) => (n(), i(z, {
|
|
729
738
|
key: e.id
|
|
730
739
|
}, [
|
|
731
740
|
B("line", {
|
|
732
741
|
x1: e.midBaseX,
|
|
733
742
|
y1: e.midBaseY,
|
|
734
|
-
x2: Math.cos(e.theta - Math.PI / 2) * (
|
|
735
|
-
y2: Math.sin(e.theta - Math.PI / 2) * (
|
|
743
|
+
x2: Math.cos(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
|
|
744
|
+
y2: Math.sin(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
|
|
736
745
|
stroke: a.value.style.chart.backgroundColor,
|
|
737
746
|
"stroke-width": a.value.style.chart.ribbons.labels.connector.strokeWidth * 3,
|
|
738
747
|
"pointer-events": "none"
|
|
739
|
-
}, null, 8,
|
|
748
|
+
}, null, 8, ba),
|
|
740
749
|
B("line", {
|
|
741
750
|
x1: e.midBaseX,
|
|
742
751
|
y1: e.midBaseY,
|
|
743
|
-
x2: Math.cos(e.theta - Math.PI / 2) * (
|
|
744
|
-
y2: Math.sin(e.theta - Math.PI / 2) * (
|
|
752
|
+
x2: Math.cos(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
|
|
753
|
+
y2: Math.sin(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
|
|
745
754
|
stroke: a.value.style.chart.ribbons.labels.connector.stroke,
|
|
746
755
|
"stroke-width": a.value.style.chart.ribbons.labels.connector.strokeWidth,
|
|
747
756
|
"pointer-events": "none"
|
|
748
|
-
}, null, 8,
|
|
757
|
+
}, null, 8, ma),
|
|
749
758
|
a.value.style.chart.ribbons.labels.marker.show ? (n(), i("circle", {
|
|
750
759
|
key: 0,
|
|
751
|
-
cx: Math.cos(e.theta - Math.PI / 2) * (
|
|
752
|
-
cy: Math.sin(e.theta - Math.PI / 2) * (
|
|
760
|
+
cx: Math.cos(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
|
|
761
|
+
cy: Math.sin(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
|
|
753
762
|
r: a.value.style.chart.ribbons.labels.marker.radius,
|
|
754
763
|
stroke: a.value.style.chart.ribbons.labels.marker.stroke,
|
|
755
764
|
"stroke-width": a.value.style.chart.ribbons.labels.marker.strokeWidth,
|
|
756
765
|
fill: e.groupColor,
|
|
757
766
|
"pointer-events": "none"
|
|
758
|
-
}, null, 8,
|
|
767
|
+
}, null, 8, ya)) : v("", !0),
|
|
759
768
|
B("text", {
|
|
760
769
|
transform: `
|
|
761
770
|
translate(
|
|
762
|
-
${Math.cos(e.theta - Math.PI / 2) * (
|
|
763
|
-
${Math.sin(e.theta - Math.PI / 2) * (
|
|
771
|
+
${Math.cos(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 24)},
|
|
772
|
+
${Math.sin(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 24)}
|
|
764
773
|
) rotate(${-x.value})
|
|
765
774
|
`,
|
|
766
775
|
fill: a.value.style.chart.ribbons.labels.useSerieColor ? e.groupColor : a.value.style.chart.ribbons.labels.color,
|
|
767
|
-
"text-anchor":
|
|
776
|
+
"text-anchor": $t(e.theta),
|
|
768
777
|
"font-size": a.value.style.chart.ribbons.labels.fontSize,
|
|
769
778
|
"font-weight": a.value.style.chart.ribbons.labels.bold ? "bold" : "normal",
|
|
770
779
|
dy: ".35em",
|
|
771
780
|
"pointer-events": "none"
|
|
772
|
-
},
|
|
781
|
+
}, D(Xe(e.value)), 9, ka)
|
|
773
782
|
], 64))), 128))
|
|
774
783
|
])) : v("", !0),
|
|
775
|
-
a.value.style.chart.arcs.labels.show ? (n(), i("g",
|
|
776
|
-
a.value.style.chart.arcs.labels.curved ? (n(!0), i(z, { key: 0 },
|
|
784
|
+
a.value.style.chart.arcs.labels.show ? (n(), i("g", $a, [
|
|
785
|
+
a.value.style.chart.arcs.labels.curved ? (n(!0), i(z, { key: 0 }, W(M.value.groups, (e, l) => (n(), i("text", {
|
|
777
786
|
key: `curved-label-${l}`,
|
|
778
787
|
"font-size": a.value.style.chart.arcs.labels.fontSize,
|
|
779
788
|
"font-weight": a.value.style.chart.arcs.labels.bold ? "bold" : "normal",
|
|
780
|
-
fill: a.value.style.chart.arcs.labels.adaptColorToBackground ? d(
|
|
789
|
+
fill: a.value.style.chart.arcs.labels.adaptColorToBackground ? d(Dt)(y.value.colors[l]) : a.value.style.chart.arcs.labels.color
|
|
781
790
|
}, [
|
|
782
791
|
B("textPath", {
|
|
783
|
-
href: `#labelPath-${l}_${
|
|
792
|
+
href: `#labelPath-${l}_${S.value}`,
|
|
784
793
|
startOffset: "50%",
|
|
785
794
|
"text-anchor": "middle"
|
|
786
|
-
},
|
|
795
|
+
}, D(y.value.labels[l]) + D(a.value.style.chart.arcs.labels.showPercentage ? d(ge)({
|
|
787
796
|
p: " (",
|
|
788
797
|
v: isNaN(e.proportion) ? 0 : e.proportion * 100,
|
|
789
798
|
s: "%)",
|
|
790
799
|
r: a.value.style.chart.arcs.labels.roundingPercentage
|
|
791
|
-
}) : ""), 9,
|
|
792
|
-
], 8,
|
|
800
|
+
}) : ""), 9, Ca)
|
|
801
|
+
], 8, wa))), 128)) : !w.value && !m.value && !p.value ? (n(!0), i(z, { key: 1 }, W(M.value.groups, (e, l) => (n(), i("text", {
|
|
793
802
|
key: `label-${l}`,
|
|
794
803
|
transform: `
|
|
795
|
-
${
|
|
804
|
+
${wt((e.startAngle + e.endAngle) / 2)}
|
|
796
805
|
rotate(${-x.value})
|
|
797
806
|
`,
|
|
798
807
|
dy: ".35em",
|
|
799
|
-
"text-anchor":
|
|
808
|
+
"text-anchor": kt(e) > Math.PI ? "end" : "start",
|
|
800
809
|
"font-size": a.value.style.chart.arcs.labels.fontSize,
|
|
801
810
|
"font-weight": a.value.style.chart.arcs.labels.bold ? "bold" : "normal",
|
|
802
811
|
fill: a.value.style.chart.arcs.labels.color
|
|
803
|
-
},
|
|
812
|
+
}, D(y.value.labels[l]) + D(a.value.style.chart.arcs.labels.showPercentage ? d(ge)({
|
|
804
813
|
p: " (",
|
|
805
814
|
v: isNaN(e.proportion) ? 0 : e.proportion * 100,
|
|
806
815
|
s: "%)",
|
|
807
816
|
r: a.value.style.chart.arcs.labels.roundingPercentage
|
|
808
|
-
}) : ""), 9,
|
|
817
|
+
}) : ""), 9, Ma))), 128)) : v("", !0)
|
|
809
818
|
])) : v("", !0)
|
|
810
|
-
], 8,
|
|
819
|
+
], 8, ua),
|
|
811
820
|
$(t.$slots, "svg", { svg: { height: 600, width: 600 } }, void 0, !0)
|
|
812
|
-
], 42,
|
|
813
|
-
t.$slots.watermark ? (n(), i("div",
|
|
814
|
-
$(t.$slots, "watermark", re(ue({ isPrinting: d(
|
|
821
|
+
], 42, oa)) : v("", !0),
|
|
822
|
+
t.$slots.watermark ? (n(), i("div", xa, [
|
|
823
|
+
$(t.$slots, "watermark", re(ue({ isPrinting: d(Ie) || d(Ae) })), void 0, !0)
|
|
815
824
|
])) : v("", !0),
|
|
816
|
-
L.value ? v("", !0) : (n(),
|
|
825
|
+
L.value ? v("", !0) : (n(), G(d(ct), {
|
|
817
826
|
key: 6,
|
|
818
827
|
config: {
|
|
819
828
|
type: "chord",
|
|
@@ -829,37 +838,37 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
829
838
|
ref_key: "chartLegend",
|
|
830
839
|
ref: me
|
|
831
840
|
}, [
|
|
832
|
-
a.value.style.chart.legend.show ? (n(),
|
|
841
|
+
a.value.style.chart.legend.show ? (n(), G(Zt, {
|
|
833
842
|
key: `legend_${Ce.value}`,
|
|
834
|
-
legendSet:
|
|
835
|
-
config:
|
|
836
|
-
onClickMarker: o[2] || (o[2] = ({ legend: e }) =>
|
|
837
|
-
},
|
|
843
|
+
legendSet: We.value,
|
|
844
|
+
config: At.value,
|
|
845
|
+
onClickMarker: o[2] || (o[2] = ({ legend: e }) => Ge(e.id))
|
|
846
|
+
}, Je({
|
|
838
847
|
item: _(({ legend: e }) => [
|
|
839
848
|
B("div", {
|
|
840
849
|
style: E({
|
|
841
|
-
opacity:
|
|
850
|
+
opacity: p.value ? p.value === e.id ? 1 : 0.3 : 1
|
|
842
851
|
}),
|
|
843
852
|
onClick: (l) => e.select()
|
|
844
|
-
},
|
|
853
|
+
}, D(e.name), 13, Ia)
|
|
845
854
|
]),
|
|
846
855
|
_: 2
|
|
847
856
|
}, [
|
|
848
857
|
t.$slots.pattern ? {
|
|
849
858
|
name: "legend-pattern",
|
|
850
859
|
fn: _(({ legend: e, index: l }) => [
|
|
851
|
-
he(
|
|
860
|
+
he(Kt, {
|
|
852
861
|
shape: e.shape,
|
|
853
862
|
radius: 30,
|
|
854
863
|
stroke: "none",
|
|
855
864
|
plot: { x: 30, y: 30 },
|
|
856
|
-
fill: `url(#pattern_${
|
|
865
|
+
fill: `url(#pattern_${S.value}_${l})`
|
|
857
866
|
}, null, 8, ["shape", "fill"])
|
|
858
867
|
]),
|
|
859
868
|
key: "0"
|
|
860
869
|
} : void 0
|
|
861
870
|
]), 1032, ["legendSet", "config"])) : v("", !0),
|
|
862
|
-
$(t.$slots, "legend", { legend:
|
|
871
|
+
$(t.$slots, "legend", { legend: We.value }, void 0, !0)
|
|
863
872
|
], 512),
|
|
864
873
|
t.$slots.source ? (n(), i("div", {
|
|
865
874
|
key: 7,
|
|
@@ -869,7 +878,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
869
878
|
}, [
|
|
870
879
|
$(t.$slots, "source", {}, void 0, !0)
|
|
871
880
|
], 512)) : v("", !0),
|
|
872
|
-
x.value !== a.value.initialRotation ? (n(), i("div",
|
|
881
|
+
x.value !== a.value.initialRotation ? (n(), i("div", Aa, [
|
|
873
882
|
$(t.$slots, "reset-action", { reset: Ye }, () => [
|
|
874
883
|
B("button", {
|
|
875
884
|
"data-cy-reset": "",
|
|
@@ -881,14 +890,14 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
881
890
|
}),
|
|
882
891
|
onClick: Ye
|
|
883
892
|
}, [
|
|
884
|
-
he(d(
|
|
893
|
+
he(d(nt), {
|
|
885
894
|
name: "refresh",
|
|
886
895
|
stroke: a.value.style.chart.color
|
|
887
896
|
}, null, 8, ["stroke"])
|
|
888
897
|
], 4)
|
|
889
898
|
], !0)
|
|
890
899
|
])) : v("", !0),
|
|
891
|
-
L.value ? (n(),
|
|
900
|
+
L.value ? (n(), G(d(st), {
|
|
892
901
|
key: 9,
|
|
893
902
|
hideDetails: "",
|
|
894
903
|
config: {
|
|
@@ -905,7 +914,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
905
914
|
}
|
|
906
915
|
}, {
|
|
907
916
|
content: _(() => [
|
|
908
|
-
(n(),
|
|
917
|
+
(n(), G(d(rt), {
|
|
909
918
|
key: `table_${we.value}`,
|
|
910
919
|
colNames: ne.value.colNames,
|
|
911
920
|
head: ne.value.head,
|
|
@@ -915,19 +924,19 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
915
924
|
onClose: o[3] || (o[3] = (e) => Z.value.showTable = !1)
|
|
916
925
|
}, {
|
|
917
926
|
th: _(({ th: e }) => [
|
|
918
|
-
Ot(
|
|
927
|
+
Ot(D(e.name), 1)
|
|
919
928
|
]),
|
|
920
929
|
td: _(({ td: e }) => [
|
|
921
|
-
B("div",
|
|
930
|
+
B("div", Pa, D(e.name ? e.name : Xe(e)), 1)
|
|
922
931
|
]),
|
|
923
932
|
_: 1
|
|
924
933
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
925
934
|
]),
|
|
926
935
|
_: 1
|
|
927
936
|
}, 8, ["config"])) : v("", !0)
|
|
928
|
-
], 46,
|
|
937
|
+
], 46, aa));
|
|
929
938
|
}
|
|
930
|
-
},
|
|
939
|
+
}, Da = /* @__PURE__ */ ta(_a, [["__scopeId", "data-v-ab90a89e"]]);
|
|
931
940
|
export {
|
|
932
|
-
|
|
941
|
+
Da as default
|
|
933
942
|
};
|