vue-data-ui 2.16.5 → 2.16.6
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 +2 -2
- package/dist/{Arrow-D9B36pfx.js → Arrow-DCqxVwey.js} +1 -1
- package/dist/{BaseDraggableDialog-DloHiD4h.js → BaseDraggableDialog-6DIKXIBU.js} +2 -2
- package/dist/{BaseIcon-DJab5OQD.js → BaseIcon-Bn996RXm.js} +1 -1
- package/dist/{ColorPicker-Br0rMnNb.js → ColorPicker-OFfLkKNb.js} +2 -2
- package/dist/{DataTable-B6MXw9cG.js → DataTable-CHBLjKtZ.js} +2 -2
- package/dist/{Legend-DoxQwq_u.js → Legend-nBXoxXJH.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DhbyLXKW.js → NonSvgPenAndPaper-Cls2idJS.js} +3 -3
- package/dist/{PackageVersion-DCreTQN4.js → PackageVersion-Bg_9KCU-.js} +1 -1
- package/dist/{PenAndPaper-BS60tkQN.js → PenAndPaper-BPTpbnay.js} +3 -3
- package/dist/{Shape-CrstrfQ9.js → Shape-Bnf512BA.js} +1 -1
- package/dist/{Slicer-Bd0AkciG.js → Slicer-BrqtJG2E.js} +2 -2
- package/dist/{SparkTooltip-B4j_rvhG.js → SparkTooltip-C-rLATAw.js} +1 -1
- package/dist/{Title-BQLtfM0P.js → Title-Gi81VwUM.js} +1 -1
- package/dist/{Tooltip-5JmGL7sR.js → Tooltip-CJxVw7-T.js} +1 -1
- package/dist/{UserOptions-DMGkAAIO.js → UserOptions-CBEK6_jo.js} +137 -129
- package/dist/{dom-to-png-g3Q8kjna.js → dom-to-png-CRHNL8VU.js} +1 -1
- package/dist/img-BgOg8opa.js +27 -0
- package/dist/{index-CZNLCg7T.js → index-DvIXJm6t.js} +1 -1
- package/dist/{pdf-DJVOD0cz.js → pdf-DhTxBrbJ.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +2 -2
- package/dist/types/vue-data-ui.d.ts +2 -2
- package/dist/{useNestedProp-BcPDA6Xr.js → useNestedProp-DrYHm61t.js} +1 -1
- package/dist/{usePrinter-ButWuZVm.js → usePrinter-CWnXbGMb.js} +2 -2
- package/dist/{vue-data-ui-BB8Upnjm.js → vue-data-ui-B8EWlMIK.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-o8P0DCbz.js → vue-ui-3d-bar-CtlB4p7i.js} +42 -41
- package/dist/{vue-ui-accordion-CO4hmfuX.js → vue-ui-accordion-D55kCO5G.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C9T5bAEl.js → vue-ui-age-pyramid-DSshyUn-.js} +39 -38
- package/dist/{vue-ui-annotator-CyOygaxE.js → vue-ui-annotator-DQSMv_k2.js} +2 -2
- package/dist/{vue-ui-bullet-CPT1jdcz.js → vue-ui-bullet-FeScjj7q.js} +23 -22
- package/dist/{vue-ui-candlestick-BfZTMGE0.js → vue-ui-candlestick-Drupgyoi.js} +100 -99
- package/dist/{vue-ui-carousel-table-Bam9qqkj.js → vue-ui-carousel-table-BTZQRZfO.js} +17 -16
- package/dist/{vue-ui-chestnut-BAIMBFaQ.js → vue-ui-chestnut-DLWjPwRL.js} +64 -63
- package/dist/{vue-ui-chord-92E1yKdu.js → vue-ui-chord-BgLbFBT9.js} +87 -86
- package/dist/{vue-ui-circle-pack-DxXPqA7Z.js → vue-ui-circle-pack-VXcRh2gy.js} +31 -30
- package/dist/{vue-ui-cursor-Bvy_o8wb.js → vue-ui-cursor-DWmfnM25.js} +2 -2
- package/dist/{vue-ui-dashboard--QRCkp7q.js → vue-ui-dashboard-CGIocEHj.js} +62 -62
- package/dist/{vue-ui-digits-Dl8RHLvt.js → vue-ui-digits-BgQch3Fc.js} +2 -2
- package/dist/{vue-ui-donut-BxSTOFDt.js → vue-ui-donut-B59bCV5_.js} +74 -73
- package/dist/{vue-ui-donut-evolution-DNzTtWnJ.js → vue-ui-donut-evolution-CI8qBIQd.js} +44 -43
- package/dist/{vue-ui-dumbbell-D01p3t3P.js → vue-ui-dumbbell-CXv7sk88.js} +9 -8
- package/dist/{vue-ui-flow-BMvaRn7E.js → vue-ui-flow-DxF0ELtv.js} +9 -8
- package/dist/{vue-ui-funnel-Bd_3wouw.js → vue-ui-funnel-Bco8rqF8.js} +20 -19
- package/dist/{vue-ui-galaxy-D4HJH1qq.js → vue-ui-galaxy-CaPJwwOj.js} +22 -21
- package/dist/{vue-ui-gauge-CgIlk2pu.js → vue-ui-gauge-D7arhDmb.js} +8 -7
- package/dist/{vue-ui-gizmo-C1-QYvsn.js → vue-ui-gizmo-Dwli-Mip.js} +3 -3
- package/dist/{vue-ui-heatmap-tUn_BlSp.js → vue-ui-heatmap-Cyn-ahGO.js} +10 -9
- package/dist/{vue-ui-history-plot-TfVRzyIK.js → vue-ui-history-plot-C2AEToqx.js} +27 -26
- package/dist/{vue-ui-kpi-BuL8MAMD.js → vue-ui-kpi-DKDibSdl.js} +3 -3
- package/dist/{vue-ui-mini-loader-DIeG36P8.js → vue-ui-mini-loader-B8OVutUx.js} +2 -2
- package/dist/{vue-ui-molecule-8RJNzWIw.js → vue-ui-molecule-BVSrqIGw.js} +22 -21
- package/dist/{vue-ui-mood-radar-DftzG_Bi.js → vue-ui-mood-radar-DvlyS3RN.js} +9 -8
- package/dist/{vue-ui-nested-donuts-B9JC_0xK.js → vue-ui-nested-donuts-D9ssSus6.js} +89 -88
- package/dist/{vue-ui-onion-DTjaH-Bu.js → vue-ui-onion-Buu4VX3u.js} +40 -39
- package/dist/{vue-ui-parallel-coordinate-plot-DwqfVqFB.js → vue-ui-parallel-coordinate-plot-DFLUvhxD.js} +29 -28
- package/dist/{vue-ui-quadrant-Cv3VWA6d.js → vue-ui-quadrant-BMC7NBGd.js} +90 -89
- package/dist/{vue-ui-quick-chart-imc0KrbF.js → vue-ui-quick-chart-DB9RKUkb.js} +59 -58
- package/dist/{vue-ui-radar-kNySclk1.js → vue-ui-radar-68NMPxxQ.js} +26 -25
- package/dist/{vue-ui-rating-DBhEbgwD.js → vue-ui-rating-swH9kRr3.js} +2 -2
- package/dist/{vue-ui-relation-circle-BJQhS0aG.js → vue-ui-relation-circle-CT-EdSjO.js} +11 -10
- package/dist/{vue-ui-ridgeline-Bhd1Uwm8.js → vue-ui-ridgeline-DftROPaX.js} +10 -9
- package/dist/{vue-ui-rings-C_IT2mi0.js → vue-ui-rings-M-9dPI5D.js} +45 -44
- package/dist/{vue-ui-scatter-i8XZreWa.js → vue-ui-scatter-CsGhaFJh.js} +44 -43
- package/dist/{vue-ui-skeleton-D9B8DY_k.js → vue-ui-skeleton-BAOt2neL.js} +3 -3
- package/dist/{vue-ui-smiley-gmdnUWcW.js → vue-ui-smiley-7_kIgPg-.js} +2 -2
- package/dist/{vue-ui-spark-trend-DOF3vl8_.js → vue-ui-spark-trend-DHlQQpwz.js} +3 -3
- package/dist/{vue-ui-sparkbar-BVOVq3dA.js → vue-ui-sparkbar-BnHhzuKf.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DVO2Z0Rg.js → vue-ui-sparkgauge-WtfkCK8g.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CbV86a2i.js → vue-ui-sparkhistogram-B2u4XLVd.js} +4 -4
- package/dist/{vue-ui-sparkline-jDNAVZu-.js → vue-ui-sparkline-DKIyUlSm.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-auT8CUXm.js → vue-ui-sparkstackbar-BLGz2qIb.js} +3 -3
- package/dist/{vue-ui-stackbar-DmO02We2.js → vue-ui-stackbar-BDpMsTYe.js} +11 -10
- package/dist/{vue-ui-strip-plot-B25s87lj.js → vue-ui-strip-plot-5qDcYPnR.js} +22 -21
- package/dist/{vue-ui-table-B4xbQdK_.js → vue-ui-table-Bg5HIQ3O.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DI57VcvH.js → vue-ui-table-heatmap-DmjNy1q1.js} +26 -25
- package/dist/{vue-ui-table-sparkline-DRgsZztN.js → vue-ui-table-sparkline-CnkJkBk5.js} +8 -7
- package/dist/{vue-ui-thermometer-DkeT5DV_.js → vue-ui-thermometer-RlD-9mJf.js} +30 -29
- package/dist/{vue-ui-timer-uon_DLeH.js → vue-ui-timer-Bes74INL.js} +5 -5
- package/dist/{vue-ui-tiremarks-BV0qXRF2.js → vue-ui-tiremarks-DiLS3akQ.js} +29 -28
- package/dist/vue-ui-treemap-BG1Omm38.js +953 -0
- package/dist/{vue-ui-vertical-bar-CkLS_DGb.js → vue-ui-vertical-bar-CwqQyZFX.js} +39 -38
- package/dist/{vue-ui-waffle-B2XiLGQx.js → vue-ui-waffle-Ce3T4BPp.js} +10 -9
- package/dist/{vue-ui-wheel-BR1DDpKU.js → vue-ui-wheel-6B0WTkf2.js} +34 -33
- package/dist/{vue-ui-word-cloud-BvOT6hu2.js → vue-ui-word-cloud-ByYZCOh7.js} +42 -41
- package/dist/{vue-ui-world-BeP91MNX.js → vue-ui-world-B9PxVO4n.js} +8 -7
- package/dist/{vue-ui-xy-BaR-ZDba.js → vue-ui-xy-DtJ7qJib.js} +69 -68
- package/dist/{vue-ui-xy-canvas-B4ZmECCK.js → vue-ui-xy-canvas-S6YpFgzs.js} +131 -130
- package/package.json +1 -1
- package/dist/img-CTC5DLKL.js +0 -20
- package/dist/vue-ui-treemap-DzJsjtz7.js +0 -952
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { useCssVars as Pt, defineAsyncComponent as Y, ref as h, shallowRef as qe, computed as C, watch as _t, onMounted as He, onBeforeUnmount as Qe, createElementBlock as i, openBlock as n, unref as d, normalizeStyle as E, normalizeClass as F, createBlock as U, createCommentVNode as v, renderSlot as $, createElementVNode as B, createSlots as Ze, withCtx as _, normalizeProps as re, guardReactiveProps as ue, withModifiers as Je, createVNode as he, Fragment as z, renderList as G, mergeProps as
|
|
2
|
-
import { u as Bt, c as fe, t as Lt, p as ie, a as Nt, o as Et, e as Ke, g as Ft, b as zt, d as Rt, X as Xt, F as jt, f as ge, q as Dt, r as Vt, i as Yt } from "./index-
|
|
1
|
+
import { useCssVars as Pt, defineAsyncComponent as Y, ref as h, shallowRef as qe, computed as C, watch as _t, onMounted as He, onBeforeUnmount as Qe, createElementBlock as i, openBlock as n, unref as d, normalizeStyle as E, normalizeClass as F, createBlock as U, createCommentVNode as v, renderSlot as $, createElementVNode as B, createSlots as Ze, withCtx as _, normalizeProps as re, guardReactiveProps as ue, withModifiers as Je, createVNode as he, Fragment as z, renderList as G, mergeProps as St, toDisplayString as j, createTextVNode as Tt, nextTick as Ot } from "vue";
|
|
2
|
+
import { u as Bt, c as fe, t as Lt, p as ie, a as Nt, o as Et, e as Ke, g as Ft, b as zt, d as Rt, X as Xt, F as jt, f as ge, q as Dt, r as Vt, i as Yt } from "./index-DvIXJm6t.js";
|
|
3
3
|
import { u as Ut } from "./useUserOptionState-BIvW1Kz7.js";
|
|
4
|
-
import { u as et } from "./useNestedProp-
|
|
4
|
+
import { u as et } from "./useNestedProp-DrYHm61t.js";
|
|
5
5
|
import { u as Gt } from "./useChartAccessibility-9icAAmYg.js";
|
|
6
|
-
import { u as Wt } from "./usePrinter-
|
|
6
|
+
import { u as Wt } from "./usePrinter-CWnXbGMb.js";
|
|
7
7
|
import { t as qt, u as Ht } from "./useResponsive-DfdjqQps.js";
|
|
8
|
-
import Qt from "./Legend-
|
|
9
|
-
import Zt from "./Title-
|
|
10
|
-
import { _ as Jt } from "./Shape-
|
|
8
|
+
import Qt from "./Legend-nBXoxXJH.js";
|
|
9
|
+
import Zt from "./Title-Gi81VwUM.js";
|
|
10
|
+
import { _ as Jt } from "./Shape-Bnf512BA.js";
|
|
11
11
|
import { _ as Kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
-
const ea = ["id"], ta = ["xmlns", "viewBox"], aa = ["width", "height"], oa = { key: 1 }, la = ["id", "d"], sa = { key: 2 }, na = ["transform"], ra = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick"], ua = ["d", "fill", "stroke", "stroke-width"], ia = ["d", "fill"], ca = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick"], da = ["d", "fill", "stroke", "stroke-width"], va = ["d", "fill", "stroke", "stroke-width"], ha = ["d", "fill", "stroke", "stroke-width"], fa = { key: 0 }, ga = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"],
|
|
12
|
+
const ea = ["id"], ta = ["xmlns", "viewBox"], aa = ["width", "height"], oa = { key: 1 }, la = ["id", "d"], sa = { key: 2 }, na = ["transform"], ra = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick"], ua = ["d", "fill", "stroke", "stroke-width"], ia = ["d", "fill"], ca = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick"], da = ["d", "fill", "stroke", "stroke-width"], va = ["d", "fill", "stroke", "stroke-width"], ha = ["d", "fill", "stroke", "stroke-width"], fa = { key: 0 }, ga = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], pa = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ba = ["cx", "cy", "r", "stroke", "stroke-width", "fill"], ma = ["transform", "fill", "text-anchor", "font-size", "font-weight"], ya = { key: 1 }, ka = ["font-size", "font-weight", "fill"], $a = ["href"], wa = ["transform", "text-anchor", "font-size", "font-weight", "fill"], Ca = {
|
|
13
13
|
key: 5,
|
|
14
14
|
class: "vue-data-ui-watermark"
|
|
15
15
|
}, Ma = ["onClick"], xa = {
|
|
@@ -35,19 +35,19 @@ const ea = ["id"], ta = ["xmlns", "viewBox"], aa = ["width", "height"], oa = { k
|
|
|
35
35
|
emits: ["selectLegend", "selectGroup", "selectRibbon"],
|
|
36
36
|
setup(tt, { expose: at, emit: ot }) {
|
|
37
37
|
Pt((t) => ({
|
|
38
|
-
|
|
38
|
+
bcd9ecd2: t.slicerColor
|
|
39
39
|
}));
|
|
40
|
-
const lt = Y(() => import("./vue-ui-accordion-
|
|
41
|
-
get: () =>
|
|
40
|
+
const lt = Y(() => import("./vue-ui-accordion-D55kCO5G.js")), st = Y(() => import("./BaseIcon-Bn996RXm.js")), nt = Y(() => import("./DataTable-CHBLjKtZ.js")), rt = Y(() => import("./PackageVersion-Bg_9KCU-.js")), ut = Y(() => import("./PenAndPaper-BPTpbnay.js")), it = Y(() => import("./vue-ui-skeleton-BAOt2neL.js")), ct = Y(() => import("./UserOptions-CBEK6_jo.js")), { vue_ui_chord: dt } = Bt(), g = tt, te = ot, L = h(!!g.dataset && Object.hasOwn(g.dataset, "matrix")), S = h(fe()), w = h(null), m = h(null), p = h(null), pe = h(0), W = 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), R = qe(null), H = qe(null), a = C({
|
|
41
|
+
get: () => Se(),
|
|
42
42
|
set: (t) => t
|
|
43
43
|
}), { userOptionsVisible: ce, setUserOptionsVisibility: Me, keepUserOptionState: xe } = Ut({ config: a.value }), { svgRef: Q } = Gt({ config: a.value.style.chart.title }), { isPrinting: Ae, isImaging: Ie, generatePdf: Pe, generateImage: _e } = Wt({
|
|
44
|
-
elementId: `chord_${
|
|
44
|
+
elementId: `chord_${S.value}`,
|
|
45
45
|
fileName: a.value.style.chart.title.text || "vue-ui-chord",
|
|
46
46
|
options: a.value.userOptions.print
|
|
47
47
|
}), Z = h({
|
|
48
48
|
showTable: a.value.table.show
|
|
49
49
|
});
|
|
50
|
-
function
|
|
50
|
+
function Se() {
|
|
51
51
|
const t = et({
|
|
52
52
|
userConfig: g.config,
|
|
53
53
|
defaultConfig: dt
|
|
@@ -61,9 +61,9 @@ const ea = ["id"], ta = ["xmlns", "viewBox"], aa = ["width", "height"], oa = { k
|
|
|
61
61
|
} : t;
|
|
62
62
|
}
|
|
63
63
|
_t(() => g.config, (t) => {
|
|
64
|
-
a.value =
|
|
64
|
+
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
65
|
}, { deep: !0 });
|
|
66
|
-
function
|
|
66
|
+
function Te() {
|
|
67
67
|
if (Et(g.dataset) ? Ke({
|
|
68
68
|
componentName: "VueUiChord",
|
|
69
69
|
type: "dataset"
|
|
@@ -76,11 +76,11 @@ const ea = ["id"], ta = ["xmlns", "viewBox"], aa = ["width", "height"], oa = { k
|
|
|
76
76
|
type: "datasetAttribute",
|
|
77
77
|
property: t
|
|
78
78
|
});
|
|
79
|
-
}), L.value &&
|
|
79
|
+
}), L.value && Oe(), a.value.responsive) {
|
|
80
80
|
const t = qt(() => {
|
|
81
81
|
const { width: o, height: e, heightNoTitle: l, heightSource: u, heightTitle: s, heightLegend: r } = Ht({
|
|
82
82
|
chart: W.value,
|
|
83
|
-
title: a.value.style.chart.title.text ?
|
|
83
|
+
title: a.value.style.chart.title.text ? be.value : null,
|
|
84
84
|
legend: a.value.style.chart.legend.show ? me.value : null,
|
|
85
85
|
source: ye.value,
|
|
86
86
|
noTitle: ke.value
|
|
@@ -93,7 +93,7 @@ const ea = ["id"], ta = ["xmlns", "viewBox"], aa = ["width", "height"], oa = { k
|
|
|
93
93
|
q.value = !0;
|
|
94
94
|
}, 500);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function Oe() {
|
|
97
97
|
if (!g.dataset || !Object.hasOwn(g.dataset, "matrix") || g.dataset.matrix.length < 2) {
|
|
98
98
|
console.warn(`VueUiChord: dataset.matrix requires a minimum of 2 datapoints, for example:
|
|
99
99
|
|
|
@@ -111,14 +111,14 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
111
111
|
}
|
|
112
112
|
const Be = h(null);
|
|
113
113
|
He(() => {
|
|
114
|
-
|
|
114
|
+
Te();
|
|
115
115
|
});
|
|
116
|
-
const
|
|
116
|
+
const T = h({
|
|
117
117
|
height: 600,
|
|
118
118
|
width: 600
|
|
119
|
-
}), vt = C(() => a.value.userOptions.show && !a.value.style.chart.title.text), ht = C(() => zt(a.value.customPalette)),
|
|
120
|
-
inner:
|
|
121
|
-
outer:
|
|
119
|
+
}), vt = C(() => a.value.userOptions.show && !a.value.style.chart.title.text), ht = C(() => zt(a.value.customPalette)), b = C(() => ({
|
|
120
|
+
inner: T.value.width * 0.3 * a.value.style.chart.arcs.innerRadiusRatio,
|
|
121
|
+
outer: T.value.width * 0.34 * a.value.style.chart.arcs.outerRadiusRatio
|
|
122
122
|
})), ft = C(() => a.value.style.chart.arcs.padAngle / 100), y = C(() => L.value ? {
|
|
123
123
|
matrix: g.dataset.matrix ?? [[0]],
|
|
124
124
|
labels: g.dataset.labels ?? [""],
|
|
@@ -129,7 +129,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
129
129
|
colors: []
|
|
130
130
|
});
|
|
131
131
|
function gt(t, o) {
|
|
132
|
-
const e = t.length, l =
|
|
132
|
+
const e = t.length, l = b.value.inner, u = new Array(e).fill(0);
|
|
133
133
|
let s = 0;
|
|
134
134
|
for (let c = 0; c < e; c += 1)
|
|
135
135
|
for (let k = 0; k < e; k += 1)
|
|
@@ -140,7 +140,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
140
140
|
const k = A, P = k + u[c] * r;
|
|
141
141
|
f.push({
|
|
142
142
|
index: c,
|
|
143
|
-
pattern: `pattern_${
|
|
143
|
+
pattern: `pattern_${S.value}_${c}`,
|
|
144
144
|
startAngle: k,
|
|
145
145
|
endAngle: P,
|
|
146
146
|
name: y.value.labels[c],
|
|
@@ -151,15 +151,15 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
151
151
|
}
|
|
152
152
|
const I = [];
|
|
153
153
|
for (let c = 0; c < e; c += 1) {
|
|
154
|
-
const k = t[c].map((
|
|
155
|
-
k.sort((
|
|
154
|
+
const k = t[c].map((O, X) => ({ j: X, v: O }));
|
|
155
|
+
k.sort((O, X) => X.v - O.v);
|
|
156
156
|
let P = f[c].startAngle;
|
|
157
|
-
for (const { j:
|
|
157
|
+
for (const { j: O, v: X } of k) {
|
|
158
158
|
const V = P, ee = V + X * r;
|
|
159
159
|
I.push({
|
|
160
160
|
index: c,
|
|
161
|
-
subIndex:
|
|
162
|
-
pattern: `pattern_${
|
|
161
|
+
subIndex: O,
|
|
162
|
+
pattern: `pattern_${S.value}_${c}`,
|
|
163
163
|
startAngle: V,
|
|
164
164
|
endAngle: ee,
|
|
165
165
|
value: X,
|
|
@@ -183,11 +183,11 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
183
183
|
}
|
|
184
184
|
const M = C(() => {
|
|
185
185
|
const t = gt(y.value.matrix, ft.value);
|
|
186
|
-
return
|
|
186
|
+
return Oe(), t.chords.sort(
|
|
187
187
|
(o, e) => Math.max(e.source.value, e.target.value) - Math.max(o.source.value, o.target.value)
|
|
188
188
|
), t;
|
|
189
|
-
}),
|
|
190
|
-
const t =
|
|
189
|
+
}), pt = C(() => {
|
|
190
|
+
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
191
|
if (m.value) {
|
|
192
192
|
const s = m.value;
|
|
193
193
|
if (s.source.value) {
|
|
@@ -244,9 +244,9 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
244
244
|
}
|
|
245
245
|
});
|
|
246
246
|
}
|
|
247
|
-
return
|
|
248
|
-
}),
|
|
249
|
-
const t =
|
|
247
|
+
return p.value && u(p.value), w.value && u(w.value.id), l;
|
|
248
|
+
}), bt = C(() => {
|
|
249
|
+
const t = pt.value.map((u) => ({ ...u })).sort((u, s) => u.theta - s.theta), o = a.value.style.chart.ribbons.labels.minSeparationDeg * Math.PI / 180;
|
|
250
250
|
let e = !0, l = 0;
|
|
251
251
|
for (; e && l++ < 10; ) {
|
|
252
252
|
e = !1;
|
|
@@ -260,12 +260,12 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
260
260
|
return t;
|
|
261
261
|
});
|
|
262
262
|
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, A = Math.cos(s) * e, I = Math.sin(s) * e, N = Math.cos(s) * l, c = Math.sin(s) * l, k = Math.cos(u) * l, P = Math.sin(u) * l,
|
|
264
|
-
return `M${r},${f} A${e},${e} 0 ${
|
|
263
|
+
const u = t - Math.PI / 2, s = o - Math.PI / 2, r = Math.cos(u) * e, f = Math.sin(u) * e, A = Math.cos(s) * e, I = 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;
|
|
264
|
+
return `M${r},${f} A${e},${e} 0 ${O} 1 ${A},${I} L${N},${c} A${l},${l} 0 ${O} 0 ${k},${P} Z`;
|
|
265
265
|
}
|
|
266
266
|
function ae(t, o) {
|
|
267
|
-
const e =
|
|
268
|
-
return `M${f},${A}A${e},${e} 0 ${X} 1 ${I},${N}Q0,0 ${c},${k}A${e},${e} 0 ${V} 1 ${P},${
|
|
267
|
+
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, A = Math.sin(l) * e, I = 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, X = t.endAngle - t.startAngle > Math.PI ? 1 : 0, V = o.endAngle - o.startAngle > Math.PI ? 1 : 0;
|
|
268
|
+
return `M${f},${A}A${e},${e} 0 ${X} 1 ${I},${N}Q0,0 ${c},${k}A${e},${e} 0 ${V} 1 ${P},${O}Q0,0 ${f},${A}Z`;
|
|
269
269
|
}
|
|
270
270
|
const Ne = C(() => x.value * Math.PI / 180);
|
|
271
271
|
function mt(t) {
|
|
@@ -279,7 +279,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
279
279
|
return o = (o % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI), o > Math.PI ? "end" : "start";
|
|
280
280
|
}
|
|
281
281
|
function $t(t) {
|
|
282
|
-
const o = t - Math.PI / 2, e = Math.cos(o) * (
|
|
282
|
+
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
283
|
return `translate(${e},${l})`;
|
|
284
284
|
}
|
|
285
285
|
function wt(t, o, e) {
|
|
@@ -322,19 +322,19 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
322
322
|
});
|
|
323
323
|
const de = h(!1);
|
|
324
324
|
function Ct(t) {
|
|
325
|
-
de.value = t,
|
|
325
|
+
de.value = t, pe.value += 1;
|
|
326
326
|
}
|
|
327
327
|
function Mt(t) {
|
|
328
|
-
|
|
328
|
+
p.value || (w.value = t);
|
|
329
329
|
}
|
|
330
330
|
function xt(t) {
|
|
331
|
-
|
|
331
|
+
p.value || (m.value = t);
|
|
332
332
|
}
|
|
333
333
|
function je(t) {
|
|
334
|
-
return !
|
|
334
|
+
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;
|
|
335
335
|
}
|
|
336
336
|
function De(t) {
|
|
337
|
-
return !
|
|
337
|
+
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
338
|
}
|
|
339
339
|
const K = h(!1);
|
|
340
340
|
function ve() {
|
|
@@ -359,17 +359,17 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
359
359
|
D.value !== null && cancelAnimationFrame(D.value);
|
|
360
360
|
});
|
|
361
361
|
function Ue(t) {
|
|
362
|
-
t ===
|
|
362
|
+
t === p.value ? (p.value = null, te("selectLegend", null)) : (p.value = t, te("selectLegend", M.value.groups.find((o) => o.id === t)));
|
|
363
363
|
}
|
|
364
364
|
const Ge = C(() => M.value.groups.map((t, o) => ({
|
|
365
365
|
name: t.name,
|
|
366
366
|
color: t.color,
|
|
367
367
|
shape: "circle",
|
|
368
368
|
patternIndex: o,
|
|
369
|
-
pattern: `pattern_${
|
|
369
|
+
pattern: `pattern_${S.value}_${o}`,
|
|
370
370
|
id: t.id,
|
|
371
371
|
select: () => Ue(t.id),
|
|
372
|
-
opacity:
|
|
372
|
+
opacity: p.value ? p.value === t.id ? 1 : 0.3 : 1
|
|
373
373
|
}))), It = C(() => ({
|
|
374
374
|
cy: "chord-div-legend",
|
|
375
375
|
backgroundColor: a.value.style.chart.legend.backgroundColor,
|
|
@@ -408,7 +408,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
408
408
|
};
|
|
409
409
|
});
|
|
410
410
|
function We(t = null) {
|
|
411
|
-
|
|
411
|
+
Ot(() => {
|
|
412
412
|
const o = y.value.matrix.map((u, s) => [
|
|
413
413
|
[y.value.labels[s] || s],
|
|
414
414
|
u
|
|
@@ -439,7 +439,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
439
439
|
"vue-data-ui-responsive": a.value.responsive
|
|
440
440
|
}),
|
|
441
441
|
style: E(`font-family:${a.value.style.fontFamily};width:100%; text-align:center;background:${a.value.style.chart.backgroundColor}`),
|
|
442
|
-
id: `chord_${
|
|
442
|
+
id: `chord_${S.value}`,
|
|
443
443
|
onMouseenter: o[4] || (o[4] = () => d(Me)(!0)),
|
|
444
444
|
onMouseleave: o[5] || (o[5] = () => d(Me)(!1))
|
|
445
445
|
}, [
|
|
@@ -462,7 +462,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
462
462
|
a.value.style.chart.title.text ? (n(), i("div", {
|
|
463
463
|
key: 2,
|
|
464
464
|
ref_key: "chartTitle",
|
|
465
|
-
ref:
|
|
465
|
+
ref: be,
|
|
466
466
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
467
467
|
}, [
|
|
468
468
|
(n(), U(Zt, {
|
|
@@ -481,12 +481,12 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
481
481
|
], 512)) : v("", !0),
|
|
482
482
|
a.value.userOptions.show && L.value && (d(xe) || d(ce)) ? (n(), U(d(ct), {
|
|
483
483
|
ref: "details",
|
|
484
|
-
key: `user_option_${
|
|
484
|
+
key: `user_option_${pe.value}`,
|
|
485
485
|
backgroundColor: a.value.style.chart.backgroundColor,
|
|
486
486
|
color: a.value.style.chart.color,
|
|
487
487
|
isPrinting: d(Ae),
|
|
488
488
|
isImaging: d(Ie),
|
|
489
|
-
uid:
|
|
489
|
+
uid: S.value,
|
|
490
490
|
hasTooltip: !1,
|
|
491
491
|
hasPdf: a.value.userOptions.buttons.pdf,
|
|
492
492
|
hasImg: a.value.userOptions.buttons.img,
|
|
@@ -501,6 +501,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
501
501
|
hasAnnotator: a.value.userOptions.buttons.annotator,
|
|
502
502
|
isAnnotation: K.value,
|
|
503
503
|
callbacks: a.value.userOptions.callbacks,
|
|
504
|
+
printScale: a.value.userOptions.print.scale,
|
|
504
505
|
onToggleFullscreen: Ct,
|
|
505
506
|
onGeneratePdf: d(Pe),
|
|
506
507
|
onGenerateCsv: We,
|
|
@@ -560,13 +561,13 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
560
561
|
]),
|
|
561
562
|
key: "6"
|
|
562
563
|
} : 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),
|
|
564
|
+
]), 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
565
|
L.value ? (n(), i("svg", {
|
|
565
566
|
key: 4,
|
|
566
567
|
xmlns: d(Xt),
|
|
567
568
|
ref_key: "svgRef",
|
|
568
569
|
ref: Q,
|
|
569
|
-
viewBox: `0 0 ${
|
|
570
|
+
viewBox: `0 0 ${T.value.width} ${T.value.height}`,
|
|
570
571
|
preserveAspectRatio: "xMidYMid meet",
|
|
571
572
|
style: {
|
|
572
573
|
overflow: "visible"
|
|
@@ -580,8 +581,8 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
580
581
|
key: 0,
|
|
581
582
|
x: 0,
|
|
582
583
|
y: 0,
|
|
583
|
-
width:
|
|
584
|
-
height:
|
|
584
|
+
width: T.value.width <= 0 ? 10 : T.value.width,
|
|
585
|
+
height: T.value.height <= 0 ? 10 : T.value.height,
|
|
585
586
|
style: {
|
|
586
587
|
pointerEvents: "none"
|
|
587
588
|
}
|
|
@@ -591,22 +592,22 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
591
592
|
a.value.style.chart.arcs.labels.curved ? (n(), i("defs", oa, [
|
|
592
593
|
(n(!0), i(z, null, G(M.value.groups, (e, l) => (n(), i("path", {
|
|
593
594
|
key: `labelPath-${l}`,
|
|
594
|
-
id: `labelPath-${l}_${
|
|
595
|
+
id: `labelPath-${l}_${S.value}`,
|
|
595
596
|
d: wt(
|
|
596
597
|
e.startAngle,
|
|
597
598
|
e.endAngle,
|
|
598
|
-
(
|
|
599
|
+
(b.value.inner + b.value.outer) / 2 + a.value.style.chart.arcs.labels.offset
|
|
599
600
|
),
|
|
600
601
|
fill: "none"
|
|
601
602
|
}, null, 8, la))), 128))
|
|
602
603
|
])) : v("", !0),
|
|
603
604
|
t.$slots.pattern ? (n(), i("g", sa, [
|
|
604
605
|
(n(!0), i(z, null, G(M.value.groups, (e, l) => (n(), i("defs", null, [
|
|
605
|
-
$(t.$slots, "pattern",
|
|
606
|
+
$(t.$slots, "pattern", St({ ref_for: !0 }, { seriesIndex: e.index, patternId: `pattern_${S.value}_${l}` }), void 0, !0)
|
|
606
607
|
]))), 256))
|
|
607
608
|
])) : v("", !0),
|
|
608
609
|
B("g", {
|
|
609
|
-
transform: `translate(${
|
|
610
|
+
transform: `translate(${T.value.width / 2}, ${T.value.height / 2}) rotate(${x.value})`
|
|
610
611
|
}, [
|
|
611
612
|
(n(!0), i(z, null, G(M.value.groups, (e, l) => (n(), i("g", null, [
|
|
612
613
|
(n(), i("path", {
|
|
@@ -615,8 +616,8 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
615
616
|
d: Le(
|
|
616
617
|
e.startAngle,
|
|
617
618
|
e.endAngle,
|
|
618
|
-
|
|
619
|
-
|
|
619
|
+
b.value.outer,
|
|
620
|
+
b.value.inner
|
|
620
621
|
),
|
|
621
622
|
fill: y.value.colors[l],
|
|
622
623
|
stroke: a.value.style.chart.arcs.stroke,
|
|
@@ -636,8 +637,8 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
636
637
|
d: Le(
|
|
637
638
|
e.startAngle,
|
|
638
639
|
e.endAngle,
|
|
639
|
-
|
|
640
|
-
|
|
640
|
+
b.value.outer,
|
|
641
|
+
b.value.inner
|
|
641
642
|
),
|
|
642
643
|
fill: `url(#${e.pattern})`,
|
|
643
644
|
stroke: a.value.style.chart.arcs.stroke,
|
|
@@ -651,7 +652,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
651
652
|
}, null, 14, ua)) : v("", !0)
|
|
652
653
|
]))), 256)),
|
|
653
654
|
B("g", null, [
|
|
654
|
-
(n(!0), i(z, null, G(w.value ? M.value.chords.filter((e) => e.source.groupId === w.value.id) :
|
|
655
|
+
(n(!0), i(z, null, G(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
656
|
key: `ribbon-${e.id}`
|
|
656
657
|
}, [
|
|
657
658
|
e.source.value ? (n(), i("path", {
|
|
@@ -686,7 +687,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
686
687
|
key: 2,
|
|
687
688
|
class: F({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": a.value.useCssAnimation && !q.value }),
|
|
688
689
|
d: ae(e.source, e.target),
|
|
689
|
-
fill: `url(#pattern_${
|
|
690
|
+
fill: `url(#pattern_${S.value}_${e.source.index})`,
|
|
690
691
|
stroke: a.value.style.chart.ribbons.stroke,
|
|
691
692
|
"stroke-width": a.value.style.chart.ribbons.strokeWidth,
|
|
692
693
|
"stroke-linecap": "round",
|
|
@@ -724,15 +725,15 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
724
725
|
}
|
|
725
726
|
}, null, 8, ha)) : v("", !0)
|
|
726
727
|
]),
|
|
727
|
-
(w.value || m.value ||
|
|
728
|
-
(n(!0), i(z, null, G(
|
|
728
|
+
(w.value || m.value || p.value) && a.value.style.chart.ribbons.labels.show ? (n(), i("g", fa, [
|
|
729
|
+
(n(!0), i(z, null, G(bt.value, (e) => (n(), i(z, {
|
|
729
730
|
key: e.id
|
|
730
731
|
}, [
|
|
731
732
|
B("line", {
|
|
732
733
|
x1: e.midBaseX,
|
|
733
734
|
y1: e.midBaseY,
|
|
734
|
-
x2: Math.cos(e.theta - Math.PI / 2) * (
|
|
735
|
-
y2: Math.sin(e.theta - Math.PI / 2) * (
|
|
735
|
+
x2: Math.cos(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
|
|
736
|
+
y2: Math.sin(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
|
|
736
737
|
stroke: a.value.style.chart.backgroundColor,
|
|
737
738
|
"stroke-width": a.value.style.chart.ribbons.labels.connector.strokeWidth * 3,
|
|
738
739
|
"pointer-events": "none"
|
|
@@ -740,27 +741,27 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
740
741
|
B("line", {
|
|
741
742
|
x1: e.midBaseX,
|
|
742
743
|
y1: e.midBaseY,
|
|
743
|
-
x2: Math.cos(e.theta - Math.PI / 2) * (
|
|
744
|
-
y2: Math.sin(e.theta - Math.PI / 2) * (
|
|
744
|
+
x2: Math.cos(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
|
|
745
|
+
y2: Math.sin(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
|
|
745
746
|
stroke: a.value.style.chart.ribbons.labels.connector.stroke,
|
|
746
747
|
"stroke-width": a.value.style.chart.ribbons.labels.connector.strokeWidth,
|
|
747
748
|
"pointer-events": "none"
|
|
748
|
-
}, null, 8,
|
|
749
|
+
}, null, 8, pa),
|
|
749
750
|
a.value.style.chart.ribbons.labels.marker.show ? (n(), i("circle", {
|
|
750
751
|
key: 0,
|
|
751
|
-
cx: Math.cos(e.theta - Math.PI / 2) * (
|
|
752
|
-
cy: Math.sin(e.theta - Math.PI / 2) * (
|
|
752
|
+
cx: Math.cos(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
|
|
753
|
+
cy: Math.sin(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 12),
|
|
753
754
|
r: a.value.style.chart.ribbons.labels.marker.radius,
|
|
754
755
|
stroke: a.value.style.chart.ribbons.labels.marker.stroke,
|
|
755
756
|
"stroke-width": a.value.style.chart.ribbons.labels.marker.strokeWidth,
|
|
756
757
|
fill: e.groupColor,
|
|
757
758
|
"pointer-events": "none"
|
|
758
|
-
}, null, 8,
|
|
759
|
+
}, null, 8, ba)) : v("", !0),
|
|
759
760
|
B("text", {
|
|
760
761
|
transform: `
|
|
761
762
|
translate(
|
|
762
|
-
${Math.cos(e.theta - Math.PI / 2) * (
|
|
763
|
-
${Math.sin(e.theta - Math.PI / 2) * (
|
|
763
|
+
${Math.cos(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 24)},
|
|
764
|
+
${Math.sin(e.theta - Math.PI / 2) * (b.value.outer + a.value.style.chart.ribbons.labels.offset + 24)}
|
|
764
765
|
) rotate(${-x.value})
|
|
765
766
|
`,
|
|
766
767
|
fill: a.value.style.chart.ribbons.labels.useSerieColor ? e.groupColor : a.value.style.chart.ribbons.labels.color,
|
|
@@ -780,7 +781,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
780
781
|
fill: a.value.style.chart.arcs.labels.adaptColorToBackground ? d(jt)(y.value.colors[l]) : a.value.style.chart.arcs.labels.color
|
|
781
782
|
}, [
|
|
782
783
|
B("textPath", {
|
|
783
|
-
href: `#labelPath-${l}_${
|
|
784
|
+
href: `#labelPath-${l}_${S.value}`,
|
|
784
785
|
startOffset: "50%",
|
|
785
786
|
"text-anchor": "middle"
|
|
786
787
|
}, j(y.value.labels[l]) + j(a.value.style.chart.arcs.labels.showPercentage ? d(ge)({
|
|
@@ -789,7 +790,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
789
790
|
s: "%)",
|
|
790
791
|
r: a.value.style.chart.arcs.labels.roundingPercentage
|
|
791
792
|
}) : ""), 9, $a)
|
|
792
|
-
], 8, ka))), 128)) : !w.value && !m.value && !
|
|
793
|
+
], 8, ka))), 128)) : !w.value && !m.value && !p.value ? (n(!0), i(z, { key: 1 }, G(M.value.groups, (e, l) => (n(), i("text", {
|
|
793
794
|
key: `label-${l}`,
|
|
794
795
|
transform: `
|
|
795
796
|
${$t((e.startAngle + e.endAngle) / 2)}
|
|
@@ -838,7 +839,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
838
839
|
item: _(({ legend: e }) => [
|
|
839
840
|
B("div", {
|
|
840
841
|
style: E({
|
|
841
|
-
opacity:
|
|
842
|
+
opacity: p.value ? p.value === e.id ? 1 : 0.3 : 1
|
|
842
843
|
}),
|
|
843
844
|
onClick: (l) => e.select()
|
|
844
845
|
}, j(e.name), 13, Ma)
|
|
@@ -853,7 +854,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
853
854
|
radius: 30,
|
|
854
855
|
stroke: "none",
|
|
855
856
|
plot: { x: 30, y: 30 },
|
|
856
|
-
fill: `url(#pattern_${
|
|
857
|
+
fill: `url(#pattern_${S.value}_${l})`
|
|
857
858
|
}, null, 8, ["shape", "fill"])
|
|
858
859
|
]),
|
|
859
860
|
key: "0"
|
|
@@ -915,7 +916,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
915
916
|
onClose: o[3] || (o[3] = (e) => Z.value.showTable = !1)
|
|
916
917
|
}, {
|
|
917
918
|
th: _(({ th: e }) => [
|
|
918
|
-
|
|
919
|
+
Tt(j(e.name), 1)
|
|
919
920
|
]),
|
|
920
921
|
td: _(({ td: e }) => [
|
|
921
922
|
B("div", Aa, j(e.name ? e.name : Xe(e)), 1)
|
|
@@ -927,7 +928,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
927
928
|
}, 8, ["config"])) : v("", !0)
|
|
928
929
|
], 46, ea));
|
|
929
930
|
}
|
|
930
|
-
}, Ra = /* @__PURE__ */ Kt(Ia, [["__scopeId", "data-v-
|
|
931
|
+
}, Ra = /* @__PURE__ */ Kt(Ia, [["__scopeId", "data-v-f06fb39d"]]);
|
|
931
932
|
export {
|
|
932
933
|
Ra as default
|
|
933
934
|
};
|