vue-data-ui 3.4.6 → 3.4.8
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/dist/{PackageVersion-BSldVhnp.js → PackageVersion-D-auaEEJ.js} +1 -1
- package/dist/{UserOptions-CnzumGJj.js → UserOptions-CGnQt6Fd.js} +91 -91
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{vue-data-ui-BCOCglbX.js → vue-data-ui-CzqHcPqG.js} +55 -55
- package/dist/vue-data-ui.js +55 -55
- package/dist/{vue-ui-3d-bar-E-nuI5P-.js → vue-ui-3d-bar-CwXiD8zD.js} +49 -42
- package/dist/{vue-ui-age-pyramid-DfN03uDZ.js → vue-ui-age-pyramid-DlEPlWmV.js} +12 -5
- package/dist/{vue-ui-bullet-DVOmSxcg.js → vue-ui-bullet-DtzpeIu4.js} +59 -52
- package/dist/{vue-ui-candlestick-C0tlhgvf.js → vue-ui-candlestick-DzoiyaeB.js} +56 -49
- package/dist/{vue-ui-carousel-table-Bwf70lBb.js → vue-ui-carousel-table-BqRERrjs.js} +79 -72
- package/dist/{vue-ui-chestnut-CzNj08EH.js → vue-ui-chestnut-CzBGckif.js} +77 -70
- package/dist/{vue-ui-chord-CQAAGCjj.js → vue-ui-chord-B4waG93A.js} +71 -64
- package/dist/{vue-ui-circle-pack-8Ut7fxPJ.js → vue-ui-circle-pack-DiTw_p5r.js} +58 -51
- package/dist/{vue-ui-dashboard-CpG2L2Xk.js → vue-ui-dashboard-Bt-MUKqy.js} +56 -56
- package/dist/{vue-ui-donut-acdGdmqY.js → vue-ui-donut-Bc492JeS.js} +95 -88
- package/dist/{vue-ui-donut-evolution-J2tTLcht.js → vue-ui-donut-evolution-D6TaZK2x.js} +80 -73
- package/dist/{vue-ui-dumbbell-DhDvD0DH.js → vue-ui-dumbbell-BlZr68Sq.js} +12 -5
- package/dist/{vue-ui-flow-Du9joQEy.js → vue-ui-flow-ByEP18dA.js} +205 -198
- package/dist/{vue-ui-funnel-BPccZaVG.js → vue-ui-funnel-BU7d_U6T.js} +98 -91
- package/dist/{vue-ui-galaxy-D69X300F.js → vue-ui-galaxy-CpVrxaTr.js} +140 -133
- package/dist/{vue-ui-gauge-C_tPaN05.js → vue-ui-gauge-B9Z4EXoj.js} +108 -101
- package/dist/{vue-ui-gizmo-Bsc620Bs.js → vue-ui-gizmo-T1paJEJ3.js} +1 -1
- package/dist/{vue-ui-heatmap-CRoQ0Xo1.js → vue-ui-heatmap-Uw83eEMz.js} +97 -90
- package/dist/{vue-ui-history-plot-PQT8iCyT.js → vue-ui-history-plot-C93VwVCY.js} +41 -34
- package/dist/{vue-ui-molecule-C0hQ1BHF.js → vue-ui-molecule-CFMWwXFN.js} +94 -87
- package/dist/{vue-ui-mood-radar-DMng4w8x.js → vue-ui-mood-radar-FkVaaOVG.js} +71 -64
- package/dist/{vue-ui-nested-donuts-DtnysjV9.js → vue-ui-nested-donuts-Cyi98NXq.js} +93 -86
- package/dist/{vue-ui-onion-C0Z5_zay.js → vue-ui-onion-BCENNhsY.js} +82 -75
- package/dist/{vue-ui-parallel-coordinate-plot-C0grlzOd.js → vue-ui-parallel-coordinate-plot-Dca9wkD0.js} +116 -109
- package/dist/{vue-ui-quadrant-BJGF3wuL.js → vue-ui-quadrant-CEtFEZT3.js} +46 -39
- package/dist/{vue-ui-quick-chart-CaR3jp1D.js → vue-ui-quick-chart-bqcp6BIl.js} +171 -164
- package/dist/{vue-ui-radar-wYNRX7Uh.js → vue-ui-radar-lgRCmyNP.js} +36 -29
- package/dist/{vue-ui-relation-circle-CIwou-3d.js → vue-ui-relation-circle-cRRrbaIT.js} +100 -93
- package/dist/{vue-ui-ridgeline-DnzoIClq.js → vue-ui-ridgeline-CaeFJq9a.js} +23 -16
- package/dist/{vue-ui-rings-B7zSZa8h.js → vue-ui-rings-DbsYfGjx.js} +55 -48
- package/dist/{vue-ui-scatter-Bevyh8s3.js → vue-ui-scatter-DcMnoNrY.js} +189 -182
- package/dist/{vue-ui-skeleton-DfuGqFYM.js → vue-ui-skeleton-b5fdgyHv.js} +1 -1
- package/dist/{vue-ui-spark-trend-D16UBZxk.js → vue-ui-spark-trend-DrQ26BzL.js} +1 -1
- package/dist/{vue-ui-sparkbar-Dl1kY_5e.js → vue-ui-sparkbar-BlvXLcfO.js} +1 -1
- package/dist/{vue-ui-sparkgauge-iJIT26xG.js → vue-ui-sparkgauge-CQmNePxu.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-Bawjmfxu.js → vue-ui-sparkhistogram-CJatqy8x.js} +1 -1
- package/dist/{vue-ui-sparkline-CGVoLIcr.js → vue-ui-sparkline-5m7hFiMq.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-CdlGAlFM.js → vue-ui-sparkstackbar-Z5g6L2Hj.js} +1 -1
- package/dist/{vue-ui-stackbar-Cjz4PvOG.js → vue-ui-stackbar-WrexTg8_.js} +53 -46
- package/dist/{vue-ui-strip-plot-DS84cU6V.js → vue-ui-strip-plot-DqX7yya9.js} +13 -6
- package/dist/{vue-ui-table-t9Shp522.js → vue-ui-table-BhrP9BCp.js} +2 -2
- package/dist/{vue-ui-table-heatmap-B4rjR34n.js → vue-ui-table-heatmap-BqCEBoUf.js} +1 -1
- package/dist/{vue-ui-table-sparkline-CAqqSvhG.js → vue-ui-table-sparkline-BECa8n5_.js} +1 -1
- package/dist/{vue-ui-thermometer-CKciCjTK.js → vue-ui-thermometer-BxBGrsSR.js} +83 -76
- package/dist/{vue-ui-timer-CNwoVRn5.js → vue-ui-timer-BbHY5Ed5.js} +1 -1
- package/dist/{vue-ui-tiremarks-Dxp9rcJi.js → vue-ui-tiremarks-DzL3Sc1f.js} +43 -36
- package/dist/{vue-ui-treemap-D4cRZ9SZ.js → vue-ui-treemap-DoHoS5NK.js} +114 -107
- package/dist/{vue-ui-vertical-bar-Cz6yCNYK.js → vue-ui-vertical-bar-D0N5btU-.js} +89 -82
- package/dist/{vue-ui-waffle-BhQ0m4Ia.js → vue-ui-waffle-CTt7dxCY.js} +41 -34
- package/dist/{vue-ui-wheel-Bh_G3WQQ.js → vue-ui-wheel--TIPvQ9I.js} +132 -125
- package/dist/{vue-ui-word-cloud-Bk2yP7oQ.js → vue-ui-word-cloud-D5pZq4Jq.js} +116 -109
- package/dist/{vue-ui-world-C_eUAzmI.js → vue-ui-world-BERHgePa.js} +71 -64
- package/dist/{vue-ui-xy-BDc2EKMr.js → vue-ui-xy-BI5stV8f.js} +163 -156
- package/dist/{vue-ui-xy-canvas-BGl_2pHw.js → vue-ui-xy-canvas-DXnLFwW3.js} +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useCssVars as ea, defineAsyncComponent as W, ref as v, shallowRef as ut, toRefs as ta, watch as Ae, computed as p, onMounted as it, onBeforeUnmount as ct, createElementBlock as i, openBlock as r, unref as d, normalizeStyle as R, normalizeClass as F, createBlock as V, createCommentVNode as h, renderSlot as
|
|
1
|
+
import { useCssVars as ea, defineAsyncComponent as W, ref as v, shallowRef as ut, toRefs as ta, watch as Ae, computed as p, onMounted as it, onBeforeUnmount as ct, createElementBlock as i, openBlock as r, unref as d, normalizeStyle as R, normalizeClass as F, createBlock as V, createCommentVNode as h, renderSlot as $, createElementVNode as I, createSlots as Ie, withCtx as C, normalizeProps as de, guardReactiveProps as he, withModifiers as vt, createVNode as fe, Fragment as z, renderList as q, mergeProps as dt, toDisplayString as H, Teleport as aa, resolveDynamicComponent as oa, createTextVNode as ht, nextTick as ft } from "vue";
|
|
2
2
|
import { c as _e, t as la, b as na, p as ge, o as sa, f as gt, g as ra, e as ua, h as ia, X as ca, J as va, d as Pe, $ as da, al as ha, P as fa, Q as ga, a as ba } from "./lib-C_mNZmhD.js";
|
|
3
3
|
import { t as pa, u as ma } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as ya, a as bt } from "./useNestedProp-BjZe1Y85.js";
|
|
@@ -39,9 +39,9 @@ const Ba = ["id"], Oa = ["id"], La = ["xmlns", "viewBox"], Da = ["width", "heigh
|
|
|
39
39
|
emits: ["selectLegend", "selectGroup", "selectRibbon"],
|
|
40
40
|
setup(pt, { expose: mt, emit: yt }) {
|
|
41
41
|
ea((t) => ({
|
|
42
|
-
|
|
42
|
+
v0b699be6: t.slicerColor
|
|
43
43
|
}));
|
|
44
|
-
const kt = W(() => import("./vue-ui-accordion-CZ0thhxa.js")), Se = W(() => import("./BaseIcon-BmMbm4d0.js")), $t = W(() => import("./DataTable-BT7VF2ua.js")), wt = W(() => import("./PackageVersion-
|
|
44
|
+
const kt = W(() => import("./vue-ui-accordion-CZ0thhxa.js")), Se = W(() => import("./BaseIcon-BmMbm4d0.js")), $t = W(() => import("./DataTable-BT7VF2ua.js")), wt = W(() => import("./PackageVersion-D-auaEEJ.js")), Ct = W(() => import("./PenAndPaper-DSvu9dwa.js")), Mt = W(() => import("./UserOptions-CGnQt6Fd.js")), xt = W(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_chord: At } = ya(), B = pt, ne = yt, E = v(!!B.dataset && Object.hasOwn(B.dataset, "matrix")), w = v(_e()), M = v(null), m = v(null), g = v(null), Te = v(0), O = v(null), Be = v(null), Oe = v(null), Le = v(null), De = v(null), be = v(0), pe = v(0), me = v(0), Q = v(!1), U = ut(null), Z = ut(null), Ee = v(!1), K = v(null), ye = v(null), e = v($e()), { loading: Ne, FINAL_DATASET: x, manualLoading: ee } = ka({
|
|
45
45
|
...ta(B),
|
|
46
46
|
FINAL_CONFIG: e,
|
|
47
47
|
prepareConfig: $e,
|
|
@@ -90,7 +90,7 @@ const Ba = ["id"], Oa = ["id"], La = ["xmlns", "viewBox"], Da = ["width", "heigh
|
|
|
90
90
|
}
|
|
91
91
|
})
|
|
92
92
|
}), { userOptionsVisible: ke, setUserOptionsVisibility: Re, keepUserOptionState: Fe } = Ma({ config: e.value }), { svgRef: J } = xa({ config: e.value.style.chart.title }), { isPrinting: ze, isImaging: Ue, generatePdf: Xe, generateImage: Ve } = wa({
|
|
93
|
-
elementId: `chord_${
|
|
93
|
+
elementId: `chord_${w.value}`,
|
|
94
94
|
fileName: e.value.style.chart.title.text || "vue-ui-chord",
|
|
95
95
|
options: e.value.userOptions.print
|
|
96
96
|
}), j = v({
|
|
@@ -180,7 +180,7 @@ dataset.matrix[${l}] = [${Array.isArray(o[l]) ? o[l].toString() : "invalid"}]`
|
|
|
180
180
|
}, 500);
|
|
181
181
|
}
|
|
182
182
|
function It() {
|
|
183
|
-
if (!
|
|
183
|
+
if (!x.value || !Object.hasOwn(x.value, "matrix") || x.value.matrix.length < 2) {
|
|
184
184
|
console.warn(`VueUiChord: dataset.matrix requires a minimum of 2 datapoints, for example:
|
|
185
185
|
|
|
186
186
|
matrix:[
|
|
@@ -189,10 +189,10 @@ matrix:[
|
|
|
189
189
|
]`), E.value = !1;
|
|
190
190
|
return;
|
|
191
191
|
}
|
|
192
|
-
|
|
193
|
-
t.length !==
|
|
192
|
+
x.value.matrix.forEach((t, o) => {
|
|
193
|
+
t.length !== x.value.matrix.length && (console.warn(`VueUiChord - Invalid matrix: dataset.matrix at index ${o} has ${t.length} elements instead of the required ${x.value.matrix.length}
|
|
194
194
|
|
|
195
|
-
dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should have the same length as the matrix itself (${
|
|
195
|
+
dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should have the same length as the matrix itself (${x.value.matrix.length})`), E.value = !1);
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
198
|
const Ye = v(null);
|
|
@@ -206,9 +206,9 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
206
206
|
inner: L.value.width * 0.3 * e.value.style.chart.arcs.innerRadiusRatio,
|
|
207
207
|
outer: L.value.width * 0.34 * e.value.style.chart.arcs.outerRadiusRatio
|
|
208
208
|
})), St = p(() => e.value.style.chart.arcs.padAngle / 100), y = p(() => ({
|
|
209
|
-
matrix:
|
|
210
|
-
labels:
|
|
211
|
-
colors:
|
|
209
|
+
matrix: x.value.matrix ?? [[0]],
|
|
210
|
+
labels: x.value.labels ?? [""],
|
|
211
|
+
colors: x.value.colors && Array.isArray(x.value.colors) && x.value.colors.length ? x.value.colors.map((t) => ia(t)) : x.value.matrix.map((t, o) => Pt.value[o] || ge[o] || ge[o % ge.length])
|
|
212
212
|
}));
|
|
213
213
|
function Tt(t, o) {
|
|
214
214
|
const a = t.length, l = b.value.inner, s = new Array(a).fill(0);
|
|
@@ -222,7 +222,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
222
222
|
const k = P, T = k + s[c] * u;
|
|
223
223
|
f.push({
|
|
224
224
|
index: c,
|
|
225
|
-
pattern: `pattern_${
|
|
225
|
+
pattern: `pattern_${w.value}_${c}`,
|
|
226
226
|
startAngle: k,
|
|
227
227
|
endAngle: T,
|
|
228
228
|
name: y.value.labels[c],
|
|
@@ -241,7 +241,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
241
241
|
S.push({
|
|
242
242
|
index: c,
|
|
243
243
|
subIndex: D,
|
|
244
|
-
pattern: `pattern_${
|
|
244
|
+
pattern: `pattern_${w.value}_${c}`,
|
|
245
245
|
startAngle: Y,
|
|
246
246
|
endAngle: le,
|
|
247
247
|
value: X,
|
|
@@ -326,7 +326,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
326
326
|
}
|
|
327
327
|
});
|
|
328
328
|
}
|
|
329
|
-
return g.value && s(g.value),
|
|
329
|
+
return g.value && s(g.value), M.value && s(M.value.id), l;
|
|
330
330
|
}), Ot = p(() => {
|
|
331
331
|
const t = Bt.value.map((s) => ({ ...s })).sort((s, n) => s.theta - n.theta), o = e.value.style.chart.ribbons.labels.minSeparationDeg * Math.PI / 180;
|
|
332
332
|
let a = !0, l = 0;
|
|
@@ -407,10 +407,10 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
407
407
|
ie.value = t, Te.value += 1;
|
|
408
408
|
}
|
|
409
409
|
function Ft(t, o) {
|
|
410
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o }), !g.value && (
|
|
410
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o }), !g.value && (M.value = t);
|
|
411
411
|
}
|
|
412
412
|
function zt(t, o) {
|
|
413
|
-
|
|
413
|
+
M.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o });
|
|
414
414
|
}
|
|
415
415
|
function Ut(t, o) {
|
|
416
416
|
ne("selectGroup", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: o });
|
|
@@ -425,10 +425,10 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
425
425
|
ne("selectRibbon", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: o });
|
|
426
426
|
}
|
|
427
427
|
function tt(t) {
|
|
428
|
-
return !g.value && !
|
|
428
|
+
return !g.value && !M.value && !m.value ? 0.8 : (g.value ? g.value === t.source.groupId : M.value ? M.value.id === t.source.groupId : m.value?.id === t.id) ? 1 : 0.1;
|
|
429
429
|
}
|
|
430
430
|
function at(t) {
|
|
431
|
-
return !g.value && !
|
|
431
|
+
return !g.value && !M.value && !m.value || (g.value ? g.value === t.id : M.value ? M.value.id === t.id : [m.value?.source.groupId, m.value?.target.groupId].includes(t.id)) ? 1 : 0.3;
|
|
432
432
|
}
|
|
433
433
|
const ae = v(!1);
|
|
434
434
|
function Ce() {
|
|
@@ -460,7 +460,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
460
460
|
color: t.color,
|
|
461
461
|
shape: "circle",
|
|
462
462
|
patternIndex: o,
|
|
463
|
-
pattern: `pattern_${
|
|
463
|
+
pattern: `pattern_${w.value}_${o}`,
|
|
464
464
|
id: t.id,
|
|
465
465
|
select: () => nt(t.id),
|
|
466
466
|
opacity: g.value ? g.value === t.id ? 1 : 0.3 : 1
|
|
@@ -607,7 +607,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
607
607
|
"vue-data-ui-responsive": e.value.responsive
|
|
608
608
|
}),
|
|
609
609
|
style: R(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
610
|
-
id: `chord_${
|
|
610
|
+
id: `chord_${w.value}`,
|
|
611
611
|
onMouseenter: o[2] || (o[2] = () => d(Re)(!0)),
|
|
612
612
|
onMouseleave: o[3] || (o[3] = () => d(Re)(!1))
|
|
613
613
|
}, [
|
|
@@ -619,7 +619,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
619
619
|
svgRef: d(J),
|
|
620
620
|
onClose: Ce
|
|
621
621
|
}, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : h("", !0),
|
|
622
|
-
|
|
622
|
+
$(t.$slots, "userConfig", {}, void 0, !0),
|
|
623
623
|
_t.value ? (r(), i("div", {
|
|
624
624
|
key: 1,
|
|
625
625
|
ref_key: "noTitle",
|
|
@@ -648,7 +648,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
648
648
|
}, null, 8, ["config"]))
|
|
649
649
|
], 512)) : h("", !0),
|
|
650
650
|
I("div", {
|
|
651
|
-
id: `legend-top-${
|
|
651
|
+
id: `legend-top-${w.value}`
|
|
652
652
|
}, null, 8, Oa),
|
|
653
653
|
e.value.userOptions.show && E.value && (d(Fe) || d(ke)) ? (r(), V(d(Mt), {
|
|
654
654
|
ref_key: "userOptionsRef",
|
|
@@ -658,7 +658,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
658
658
|
color: e.value.style.chart.color,
|
|
659
659
|
isPrinting: d(ze),
|
|
660
660
|
isImaging: d(Ue),
|
|
661
|
-
uid:
|
|
661
|
+
uid: w.value,
|
|
662
662
|
hasTooltip: !1,
|
|
663
663
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
664
664
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -689,52 +689,59 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
689
689
|
}, Ie({ _: 2 }, [
|
|
690
690
|
t.$slots.menuIcon ? {
|
|
691
691
|
name: "menuIcon",
|
|
692
|
-
fn:
|
|
693
|
-
|
|
692
|
+
fn: C(({ isOpen: a, color: l }) => [
|
|
693
|
+
$(t.$slots, "menuIcon", de(he({ isOpen: a, color: l })), void 0, !0)
|
|
694
694
|
]),
|
|
695
695
|
key: "0"
|
|
696
696
|
} : void 0,
|
|
697
697
|
t.$slots.optionPdf ? {
|
|
698
698
|
name: "optionPdf",
|
|
699
|
-
fn:
|
|
700
|
-
|
|
699
|
+
fn: C(() => [
|
|
700
|
+
$(t.$slots, "optionPdf", {}, void 0, !0)
|
|
701
701
|
]),
|
|
702
702
|
key: "1"
|
|
703
703
|
} : void 0,
|
|
704
704
|
t.$slots.optionCsv ? {
|
|
705
705
|
name: "optionCsv",
|
|
706
|
-
fn:
|
|
707
|
-
|
|
706
|
+
fn: C(() => [
|
|
707
|
+
$(t.$slots, "optionCsv", {}, void 0, !0)
|
|
708
708
|
]),
|
|
709
709
|
key: "2"
|
|
710
710
|
} : void 0,
|
|
711
711
|
t.$slots.optionImg ? {
|
|
712
712
|
name: "optionImg",
|
|
713
|
-
fn:
|
|
714
|
-
|
|
713
|
+
fn: C(() => [
|
|
714
|
+
$(t.$slots, "optionImg", {}, void 0, !0)
|
|
715
715
|
]),
|
|
716
716
|
key: "3"
|
|
717
717
|
} : void 0,
|
|
718
|
+
t.$slots.optionSvg ? {
|
|
719
|
+
name: "optionSvg",
|
|
720
|
+
fn: C(() => [
|
|
721
|
+
$(t.$slots, "optionSvg", {}, void 0, !0)
|
|
722
|
+
]),
|
|
723
|
+
key: "4"
|
|
724
|
+
} : void 0,
|
|
718
725
|
t.$slots.optionTable ? {
|
|
719
726
|
name: "optionTable",
|
|
720
|
-
fn:
|
|
721
|
-
|
|
727
|
+
fn: C(() => [
|
|
728
|
+
$(t.$slots, "optionTable", {}, void 0, !0)
|
|
722
729
|
]),
|
|
723
|
-
key: "
|
|
730
|
+
key: "5"
|
|
724
731
|
} : void 0,
|
|
725
732
|
t.$slots.optionFullscreen ? {
|
|
726
733
|
name: "optionFullscreen",
|
|
727
|
-
fn:
|
|
728
|
-
|
|
734
|
+
fn: C(({ toggleFullscreen: a, isFullscreen: l }) => [
|
|
735
|
+
$(t.$slots, "optionFullscreen", de(he({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
|
|
729
736
|
]),
|
|
730
|
-
key: "
|
|
737
|
+
key: "6"
|
|
731
738
|
} : void 0,
|
|
732
739
|
t.$slots.optionAnnotator ? {
|
|
733
740
|
name: "optionAnnotator",
|
|
734
|
-
fn:
|
|
735
|
-
|
|
741
|
+
fn: C(({ toggleAnnotator: a, isAnnotator: l }) => [
|
|
742
|
+
$(t.$slots, "optionAnnotator", de(he({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
|
|
736
743
|
]),
|
|
737
|
-
key: "
|
|
744
|
+
key: "7"
|
|
738
745
|
} : void 0
|
|
739
746
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
740
747
|
(r(), i("svg", {
|
|
@@ -761,12 +768,12 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
761
768
|
pointerEvents: "none"
|
|
762
769
|
}
|
|
763
770
|
}, [
|
|
764
|
-
|
|
771
|
+
$(t.$slots, "chart-background", {}, void 0, !0)
|
|
765
772
|
], 8, Da)) : h("", !0),
|
|
766
773
|
e.value.style.chart.arcs.labels.curved ? (r(), i("defs", Ea, [
|
|
767
774
|
(r(!0), i(z, null, q(A.value.groups, (a, l) => (r(), i("path", {
|
|
768
775
|
key: `labelPath-${l}`,
|
|
769
|
-
id: `labelPath-${l}_${
|
|
776
|
+
id: `labelPath-${l}_${w.value}`,
|
|
770
777
|
d: Rt(
|
|
771
778
|
a.startAngle,
|
|
772
779
|
a.endAngle,
|
|
@@ -777,7 +784,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
777
784
|
])) : h("", !0),
|
|
778
785
|
t.$slots.pattern ? (r(), i("g", Ra, [
|
|
779
786
|
(r(!0), i(z, null, q(A.value.groups, (a, l) => (r(), i("defs", null, [
|
|
780
|
-
|
|
787
|
+
$(t.$slots, "pattern", dt({ ref_for: !0 }, { seriesIndex: a.index, patternId: `pattern_${w.value}_${l}` }), void 0, !0)
|
|
781
788
|
]))), 256))
|
|
782
789
|
])) : h("", !0),
|
|
783
790
|
I("g", {
|
|
@@ -826,7 +833,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
826
833
|
}, null, 14, Ua)) : h("", !0)
|
|
827
834
|
]))), 256)),
|
|
828
835
|
I("g", null, [
|
|
829
|
-
(r(!0), i(z, null, q(
|
|
836
|
+
(r(!0), i(z, null, q(M.value ? A.value.chords.filter((a) => a.source.groupId === M.value.id) : g.value ? A.value.chords.filter((a) => a.source.groupId === g.value) : A.value.chords, (a, l) => (r(), i(z, {
|
|
830
837
|
key: `ribbon-${a.id}`
|
|
831
838
|
}, [
|
|
832
839
|
a.source.value ? (r(), i("path", {
|
|
@@ -864,7 +871,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
864
871
|
key: 2,
|
|
865
872
|
class: F({ "vue-ui-chord-ribbon": !0, "vue-ui-chord-ribbon-animated": e.value.useCssAnimation && !Q.value }),
|
|
866
873
|
d: se(a.source, a.target),
|
|
867
|
-
fill: `url(#pattern_${
|
|
874
|
+
fill: `url(#pattern_${w.value}_${a.source.index})`,
|
|
868
875
|
stroke: e.value.style.chart.ribbons.stroke,
|
|
869
876
|
"stroke-width": e.value.style.chart.ribbons.strokeWidth,
|
|
870
877
|
"stroke-linecap": "round",
|
|
@@ -902,7 +909,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
902
909
|
}
|
|
903
910
|
}, null, 8, Ya)) : h("", !0)
|
|
904
911
|
]),
|
|
905
|
-
(
|
|
912
|
+
(M.value || m.value || g.value) && e.value.style.chart.ribbons.labels.show ? (r(), i("g", Wa, [
|
|
906
913
|
(r(!0), i(z, null, q(Ot.value, (a) => (r(), i(z, {
|
|
907
914
|
key: a.id
|
|
908
915
|
}, [
|
|
@@ -959,7 +966,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
959
966
|
fill: e.value.style.chart.arcs.labels.adaptColorToBackground ? d(va)(y.value.colors[l]) : e.value.style.chart.arcs.labels.color
|
|
960
967
|
}, [
|
|
961
968
|
I("textPath", {
|
|
962
|
-
href: `#labelPath-${l}_${
|
|
969
|
+
href: `#labelPath-${l}_${w.value}`,
|
|
963
970
|
startOffset: "50%",
|
|
964
971
|
"text-anchor": "middle"
|
|
965
972
|
}, H(y.value.labels[l]) + H(e.value.style.chart.arcs.labels.showPercentage ? d(Pe)({
|
|
@@ -968,7 +975,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
968
975
|
s: "%)",
|
|
969
976
|
r: e.value.style.chart.arcs.labels.roundingPercentage
|
|
970
977
|
}) : ""), 9, eo)
|
|
971
|
-
], 8, Ka))), 128)) : !
|
|
978
|
+
], 8, Ka))), 128)) : !M.value && !m.value && !g.value ? (r(!0), i(z, { key: 1 }, q(A.value.groups, (a, l) => (r(), i("text", {
|
|
972
979
|
class: "vue-ui-chord-label-straight",
|
|
973
980
|
key: `label-${l}`,
|
|
974
981
|
transform: `
|
|
@@ -990,17 +997,17 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
990
997
|
}, null, 8, to))), 128)) : h("", !0)
|
|
991
998
|
])) : h("", !0)
|
|
992
999
|
], 8, Fa),
|
|
993
|
-
|
|
1000
|
+
$(t.$slots, "svg", { svg: { height: 600, width: 600 } }, void 0, !0)
|
|
994
1001
|
], 42, La)),
|
|
995
1002
|
t.$slots.watermark ? (r(), i("div", ao, [
|
|
996
|
-
|
|
1003
|
+
$(t.$slots, "watermark", de(he({ isPrinting: d(ze) || d(Ue) })), void 0, !0)
|
|
997
1004
|
])) : h("", !0),
|
|
998
1005
|
I("div", {
|
|
999
|
-
id: `legend-bottom-${
|
|
1006
|
+
id: `legend-bottom-${w.value}`
|
|
1000
1007
|
}, null, 8, oo),
|
|
1001
1008
|
Ee.value ? (r(), V(aa, {
|
|
1002
1009
|
key: 5,
|
|
1003
|
-
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
1010
|
+
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${w.value}` : `#legend-bottom-${w.value}`
|
|
1004
1011
|
}, [
|
|
1005
1012
|
I("div", {
|
|
1006
1013
|
ref_key: "chartLegend",
|
|
@@ -1012,7 +1019,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
1012
1019
|
config: Yt.value,
|
|
1013
1020
|
onClickMarker: o[0] || (o[0] = ({ legend: a }) => nt(a.id))
|
|
1014
1021
|
}, Ie({
|
|
1015
|
-
item:
|
|
1022
|
+
item: C(({ legend: a }) => [
|
|
1016
1023
|
I("div", {
|
|
1017
1024
|
style: R({
|
|
1018
1025
|
opacity: g.value ? g.value === a.id ? 1 : 0.3 : 1
|
|
@@ -1024,19 +1031,19 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
1024
1031
|
}, [
|
|
1025
1032
|
t.$slots.pattern ? {
|
|
1026
1033
|
name: "legend-pattern",
|
|
1027
|
-
fn:
|
|
1034
|
+
fn: C(({ legend: a, index: l }) => [
|
|
1028
1035
|
fe(Ia, {
|
|
1029
1036
|
shape: a.shape,
|
|
1030
1037
|
radius: 30,
|
|
1031
1038
|
stroke: "none",
|
|
1032
1039
|
plot: { x: 30, y: 30 },
|
|
1033
|
-
fill: `url(#pattern_${
|
|
1040
|
+
fill: `url(#pattern_${w.value}_${l})`
|
|
1034
1041
|
}, null, 8, ["shape", "fill"])
|
|
1035
1042
|
]),
|
|
1036
1043
|
key: "0"
|
|
1037
1044
|
} : void 0
|
|
1038
1045
|
]), 1032, ["legendSet", "config"])) : h("", !0),
|
|
1039
|
-
|
|
1046
|
+
$(t.$slots, "legend", { legend: Me.value }, void 0, !0)
|
|
1040
1047
|
], 512)
|
|
1041
1048
|
], 8, ["to"])) : h("", !0),
|
|
1042
1049
|
t.$slots.source ? (r(), i("div", {
|
|
@@ -1045,10 +1052,10 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
1045
1052
|
ref: Le,
|
|
1046
1053
|
dir: "auto"
|
|
1047
1054
|
}, [
|
|
1048
|
-
|
|
1055
|
+
$(t.$slots, "source", {}, void 0, !0)
|
|
1049
1056
|
], 512)) : h("", !0),
|
|
1050
1057
|
_.value !== e.value.initialRotation ? (r(), i("div", no, [
|
|
1051
|
-
|
|
1058
|
+
$(t.$slots, "reset-action", { reset: lt }, () => [
|
|
1052
1059
|
I("button", {
|
|
1053
1060
|
"data-cy-reset": "",
|
|
1054
1061
|
tabindex: "0",
|
|
@@ -1071,7 +1078,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
1071
1078
|
ref: K,
|
|
1072
1079
|
onClose: st
|
|
1073
1080
|
}), Ie({
|
|
1074
|
-
content:
|
|
1081
|
+
content: C(() => [
|
|
1075
1082
|
(r(), V(d($t), {
|
|
1076
1083
|
key: `table_${pe.value}`,
|
|
1077
1084
|
colNames: ve.value.colNames,
|
|
@@ -1082,10 +1089,10 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
1082
1089
|
withCloseButton: !e.value.table.useDialog,
|
|
1083
1090
|
onClose: st
|
|
1084
1091
|
}, {
|
|
1085
|
-
th:
|
|
1092
|
+
th: C(({ th: a }) => [
|
|
1086
1093
|
ht(H(a.name), 1)
|
|
1087
1094
|
]),
|
|
1088
|
-
td:
|
|
1095
|
+
td: C(({ td: a }) => [
|
|
1089
1096
|
I("div", so, H(a.name ? a.name : Ke(a)), 1)
|
|
1090
1097
|
]),
|
|
1091
1098
|
_: 1
|
|
@@ -1095,14 +1102,14 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
1095
1102
|
}, [
|
|
1096
1103
|
e.value.table.useDialog ? {
|
|
1097
1104
|
name: "title",
|
|
1098
|
-
fn:
|
|
1105
|
+
fn: C(() => [
|
|
1099
1106
|
ht(H(oe.value.title), 1)
|
|
1100
1107
|
]),
|
|
1101
1108
|
key: "0"
|
|
1102
1109
|
} : void 0,
|
|
1103
1110
|
e.value.table.useDialog ? {
|
|
1104
1111
|
name: "actions",
|
|
1105
|
-
fn:
|
|
1112
|
+
fn: C(() => [
|
|
1106
1113
|
I("button", {
|
|
1107
1114
|
tabindex: "0",
|
|
1108
1115
|
class: "vue-ui-user-options-button",
|
|
@@ -1120,7 +1127,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
1120
1127
|
d(Ne) ? (r(), V($a, { key: 9 })) : h("", !0)
|
|
1121
1128
|
], 46, Ba));
|
|
1122
1129
|
}
|
|
1123
|
-
}, Mo = /* @__PURE__ */ Ta(ro, [["__scopeId", "data-v-
|
|
1130
|
+
}, Mo = /* @__PURE__ */ Ta(ro, [["__scopeId", "data-v-13f25e35"]]);
|
|
1124
1131
|
export {
|
|
1125
1132
|
Mo as default
|
|
1126
1133
|
};
|