vue-data-ui 2.12.7-beta.0 → 2.12.7-beta.2
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/{Arrow-CmqjRRUl.js → Arrow-BhI2Y-DB.js} +1 -1
- package/dist/{BaseDraggableDialog-BMlyvt7E.js → BaseDraggableDialog-DyUBiw-C.js} +68 -64
- package/dist/{BaseIcon-CZdMutjs.js → BaseIcon-PZPlJOYf.js} +1 -1
- package/dist/{ColorPicker-DvVKgyAl.js → ColorPicker-Bni7kKI_.js} +2 -2
- package/dist/{DataTable-Cv9CIz-a.js → DataTable-bcUa-A_V.js} +2 -2
- package/dist/{Legend-DFunFf8i.js → Legend-iNd1Vv1J.js} +2 -2
- package/dist/{NonSvgPenAndPaper-pVuHj6_A.js → NonSvgPenAndPaper-DwB3JfsE.js} +3 -3
- package/dist/{PackageVersion-CLY-udAA.js → PackageVersion-BVH19wf6.js} +1 -1
- package/dist/{PenAndPaper-B9na2mbr.js → PenAndPaper-U4bWifCe.js} +3 -3
- package/dist/{Shape-D3w9qas1.js → Shape-CTyy5HJi.js} +1 -1
- package/dist/{Slicer-ncY8krrM.js → Slicer-hiaHGsme.js} +2 -2
- package/dist/{SparkTooltip-CwThutH2.js → SparkTooltip-oo_wqrT6.js} +1 -1
- package/dist/{Title-B5qqUI3M.js → Title-BTCPUIcD.js} +1 -1
- package/dist/{Tooltip-C9rxJ-Ru.js → Tooltip-B9AfUFVK.js} +1 -1
- package/dist/{UserOptions-Ddy6CuLC.js → UserOptions-yZJ8noVU.js} +1 -1
- package/dist/{dom-to-png-DDlooC9r.js → dom-to-png-BgRIWz9M.js} +1 -1
- package/dist/{img-m9g7lR5d.js → img-CgYxq-UP.js} +1 -1
- package/dist/{index-BiHmNd1-.js → index-CaxNz2cE.js} +1 -1
- package/dist/{pdf-BqM953uL.js → pdf-eUy0b_yU.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-tRqS0ZAM.js → useNestedProp-DpK9-Xt0.js} +1 -1
- package/dist/{usePrinter-CRCbl1WG.js → usePrinter-BprQttno.js} +2 -2
- package/dist/{vue-data-ui-D9uTDt73.js → vue-data-ui-BkO9svuE.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-rtuSc8FS.js → vue-ui-3d-bar-Bft3k9wg.js} +5 -5
- package/dist/{vue-ui-accordion-CmCs2yR2.js → vue-ui-accordion-BZ16n4QT.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BrzMSiyu.js → vue-ui-age-pyramid-BblPK5iv.js} +5 -5
- package/dist/{vue-ui-annotator-CYxmTpf6.js → vue-ui-annotator-DW3swnxO.js} +2 -2
- package/dist/{vue-ui-bullet-D25qNQfb.js → vue-ui-bullet-DybokJeh.js} +6 -6
- package/dist/{vue-ui-candlestick-BuerNa-r.js → vue-ui-candlestick-aXzuaWXT.js} +6 -6
- package/dist/{vue-ui-carousel-table-aN0HLsOO.js → vue-ui-carousel-table-D7_v27hl.js} +4 -4
- package/dist/{vue-ui-chestnut-oUj2ocsZ.js → vue-ui-chestnut-ClfPFRWK.js} +4 -4
- package/dist/{vue-ui-chord-C4evlXYB.js → vue-ui-chord-Clo2yN8x.js} +84 -83
- package/dist/{vue-ui-circle-pack-CWrNiKTY.js → vue-ui-circle-pack-B8JmpYZU.js} +5 -5
- package/dist/{vue-ui-cursor-DgpSttlt.js → vue-ui-cursor-1NiHT8ua.js} +2 -2
- package/dist/{vue-ui-dashboard-BN2ha1Eh.js → vue-ui-dashboard-Dqu8UHsY.js} +62 -62
- package/dist/{vue-ui-digits-BhjAxXgm.js → vue-ui-digits-CUtyrFQ-.js} +2 -2
- package/dist/{vue-ui-donut-D3_z61HI.js → vue-ui-donut-5_qG_tB0.js} +105 -104
- package/dist/{vue-ui-donut-evolution-oKtmZPx4.js → vue-ui-donut-evolution-1lYLTlUJ.js} +106 -104
- package/dist/{vue-ui-dumbbell-C8Lokx-F.js → vue-ui-dumbbell-CuwZfqp-.js} +6 -6
- package/dist/{vue-ui-flow-BVRkH0PS.js → vue-ui-flow-nxV5Lnel.js} +6 -6
- package/dist/{vue-ui-funnel-DFxcmAB5.js → vue-ui-funnel-tTYudPKX.js} +5 -5
- package/dist/{vue-ui-galaxy-CGE0hlBC.js → vue-ui-galaxy-CB7f2IrG.js} +4 -4
- package/dist/{vue-ui-gauge-B48eMvOR.js → vue-ui-gauge-C-GUoJrH.js} +5 -5
- package/dist/{vue-ui-gizmo-zTKNpjvv.js → vue-ui-gizmo-DJCYaqYy.js} +3 -3
- package/dist/{vue-ui-heatmap-UNfTt8SM.js → vue-ui-heatmap-Bbzq8KZx.js} +6 -6
- package/dist/{vue-ui-history-plot-CbCWmvtg.js → vue-ui-history-plot-B8-Tt_rt.js} +6 -6
- package/dist/{vue-ui-kpi-Drf_lrlh.js → vue-ui-kpi-VZWKmy4e.js} +3 -3
- package/dist/{vue-ui-mini-loader-DU3G6BVs.js → vue-ui-mini-loader-DzRSBGF2.js} +2 -2
- package/dist/{vue-ui-molecule-B5MOXYEA.js → vue-ui-molecule-Bd_c8Hcd.js} +4 -4
- package/dist/{vue-ui-mood-radar-CC_CVLvn.js → vue-ui-mood-radar-CjiJjcj8.js} +6 -6
- package/dist/{vue-ui-nested-donuts-D_H962kk.js → vue-ui-nested-donuts-CVhAGwOt.js} +6 -6
- package/dist/{vue-ui-onion-P8k6T724.js → vue-ui-onion-D9pp5ytM.js} +6 -6
- package/dist/{vue-ui-parallel-coordinate-plot-B5Los0vX.js → vue-ui-parallel-coordinate-plot-hOcz4qfM.js} +135 -134
- package/dist/{vue-ui-quadrant-B3wzCTxK.js → vue-ui-quadrant-Ht49w0AN.js} +119 -118
- package/dist/{vue-ui-quick-chart-oucj6hXk.js → vue-ui-quick-chart-SFe7EifM.js} +5 -5
- package/dist/{vue-ui-radar-Cjqlyu6d.js → vue-ui-radar-C1mc0XYY.js} +6 -6
- package/dist/{vue-ui-rating-gryk_h_6.js → vue-ui-rating-DVYexEqN.js} +2 -2
- package/dist/{vue-ui-relation-circle-ielvWC-1.js → vue-ui-relation-circle-CFkW0M7L.js} +5 -5
- package/dist/{vue-ui-ridgeline-Dydqo68b.js → vue-ui-ridgeline-DcOstg2I.js} +145 -142
- package/dist/{vue-ui-rings-BRBXektJ.js → vue-ui-rings-C56TMht1.js} +79 -78
- package/dist/{vue-ui-scatter-Df-BM7Ts.js → vue-ui-scatter-C2S6nsP6.js} +145 -144
- package/dist/{vue-ui-skeleton-CbYQYRvD.js → vue-ui-skeleton-C2paDc2u.js} +3 -3
- package/dist/{vue-ui-smiley-BfHaQMaW.js → vue-ui-smiley-gtVgClTv.js} +2 -2
- package/dist/{vue-ui-spark-trend-z3fUChs_.js → vue-ui-spark-trend-C_p-qgkO.js} +3 -3
- package/dist/{vue-ui-sparkbar-ChtFIugH.js → vue-ui-sparkbar-DIS3FVja.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DtpODCww.js → vue-ui-sparkgauge-D92XnV3e.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-C3XnYiXI.js → vue-ui-sparkhistogram-BQlf7QW3.js} +62 -61
- package/dist/{vue-ui-sparkline-CoL8jiX8.js → vue-ui-sparkline-C9vOtZav.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-CYk3mZJH.js → vue-ui-sparkstackbar-B2G5fOpR.js} +3 -3
- package/dist/{vue-ui-stackbar-D9LGbuG5.js → vue-ui-stackbar-L_7f4pZj.js} +144 -143
- package/dist/{vue-ui-strip-plot-C5r1Ee2R.js → vue-ui-strip-plot-Dhj9PQvC.js} +136 -135
- package/dist/{vue-ui-table-DBaT_TfA.js → vue-ui-table-CZ1DXGtE.js} +3 -3
- package/dist/{vue-ui-table-heatmap-CYW4YfKN.js → vue-ui-table-heatmap-C8oJOBM-.js} +70 -69
- package/dist/{vue-ui-table-sparkline-Di0MYR4p.js → vue-ui-table-sparkline-D-ZfWmxu.js} +4 -4
- package/dist/{vue-ui-thermometer-BF1btHY2.js → vue-ui-thermometer-D7S49sXa.js} +5 -5
- package/dist/{vue-ui-timer-D9FfRWN5.js → vue-ui-timer-Bh_0k4fp.js} +5 -5
- package/dist/{vue-ui-tiremarks-CQ0lk8fJ.js → vue-ui-tiremarks-CQVFXHjo.js} +5 -5
- package/dist/{vue-ui-treemap-1Lx7YRtc.js → vue-ui-treemap-DshqhXXR.js} +7 -7
- package/dist/{vue-ui-vertical-bar-DdVVQ1ED.js → vue-ui-vertical-bar-64gS06ES.js} +145 -144
- package/dist/{vue-ui-waffle-BhnuPiRD.js → vue-ui-waffle-MjyNmQ85.js} +138 -137
- package/dist/{vue-ui-wheel-BIjJ0fg8.js → vue-ui-wheel-FzQbyvix.js} +5 -5
- package/dist/{vue-ui-word-cloud-3-r8HwO_.js → vue-ui-word-cloud-BHPSrRVK.js} +5 -5
- package/dist/{vue-ui-world-CPIGEswq.js → vue-ui-world-8UgjM7P9.js} +361 -360
- package/dist/{vue-ui-xy-9e_epIN4.js → vue-ui-xy-BbYuna1k.js} +16 -16
- package/dist/{vue-ui-xy-canvas-DcGgQ7s4.js → vue-ui-xy-canvas-CDNUpxZ5.js} +7 -7
- package/package.json +1 -1
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as et } from "./useNestedProp-
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { t as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
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 z, createBlock as G, 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 F, renderList as U, mergeProps as Tt, toDisplayString as j, createTextVNode as St, 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 zt, b as Ft, d as Rt, X as Xt, G as jt, f as ge, q as Dt, r as Vt, i as Yt } from "./index-CaxNz2cE.js";
|
|
3
|
+
import { u as Gt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
4
|
+
import { u as et } from "./useNestedProp-DpK9-Xt0.js";
|
|
5
|
+
import { u as Ut } from "./useChartAccessibility-9icAAmYg.js";
|
|
6
|
+
import { u as Wt } from "./usePrinter-BprQttno.js";
|
|
7
|
+
import { t as qt, u as Ht } from "./useResponsive-JZ9xq-JV.js";
|
|
8
|
+
import Qt from "./Legend-iNd1Vv1J.js";
|
|
9
|
+
import Zt from "./Title-BTCPUIcD.js";
|
|
10
|
+
import Jt from "./Shape-CTyy5HJi.js";
|
|
10
11
|
import { _ as Kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
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"], ba = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], pa = ["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 = {
|
|
12
13
|
key: 5,
|
|
@@ -33,13 +34,13 @@ const ea = ["id"], ta = ["xmlns", "viewBox"], aa = ["width", "height"], oa = { k
|
|
|
33
34
|
},
|
|
34
35
|
emits: ["selectLegend", "selectGroup", "selectRibbon"],
|
|
35
36
|
setup(tt, { expose: at, emit: ot }) {
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
Pt((t) => ({
|
|
38
|
+
cd4b43ce: t.slicerColor
|
|
38
39
|
}));
|
|
39
|
-
const lt =
|
|
40
|
+
const lt = Y(() => import("./vue-ui-accordion-BZ16n4QT.js")), st = Y(() => import("./BaseIcon-PZPlJOYf.js")), nt = Y(() => import("./DataTable-bcUa-A_V.js")), rt = Y(() => import("./PackageVersion-BVH19wf6.js")), ut = Y(() => import("./PenAndPaper-U4bWifCe.js")), it = Y(() => import("./vue-ui-skeleton-C2paDc2u.js")), ct = Y(() => import("./UserOptions-yZJ8noVU.js")), { vue_ui_chord: dt } = Bt(), g = tt, te = ot, L = h(!!g.dataset && Object.hasOwn(g.dataset, "matrix")), T = h(fe()), w = h(null), m = h(null), b = h(null), be = h(0), W = h(null), pe = 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({
|
|
40
41
|
get: () => Te(),
|
|
41
42
|
set: (t) => t
|
|
42
|
-
}), { userOptionsVisible: ce, setUserOptionsVisibility: Me, keepUserOptionState: xe } =
|
|
43
|
+
}), { userOptionsVisible: ce, setUserOptionsVisibility: Me, keepUserOptionState: xe } = Gt({ config: a.value }), { svgRef: Q } = Ut({ config: a.value.style.chart.title }), { isPrinting: Ae, isImaging: Ie, generatePdf: Pe, generateImage: _e } = Wt({
|
|
43
44
|
elementId: `chord_${T.value}`,
|
|
44
45
|
fileName: a.value.style.chart.title.text || "vue-ui-chord",
|
|
45
46
|
options: a.value.userOptions.print
|
|
@@ -49,24 +50,24 @@ const ea = ["id"], ta = ["xmlns", "viewBox"], aa = ["width", "height"], oa = { k
|
|
|
49
50
|
function Te() {
|
|
50
51
|
const t = et({
|
|
51
52
|
userConfig: g.config,
|
|
52
|
-
defaultConfig:
|
|
53
|
+
defaultConfig: dt
|
|
53
54
|
});
|
|
54
55
|
return t.theme ? {
|
|
55
56
|
...et({
|
|
56
|
-
userConfig:
|
|
57
|
+
userConfig: Nt.vue_ui_chord[t.theme] || g.config,
|
|
57
58
|
defaultConfig: t
|
|
58
59
|
}),
|
|
59
|
-
customPalette:
|
|
60
|
+
customPalette: Lt[t.theme] || ie
|
|
60
61
|
} : t;
|
|
61
62
|
}
|
|
62
|
-
|
|
63
|
+
_t(() => g.config, (t) => {
|
|
63
64
|
a.value = Te(), ce.value = !a.value.userOptions.showOnChartHover, Se(), $e.value += 1, we.value += 1, Ce.value += 1, x.value = a.value.initialRotation, Z.value.showTable = a.value.table.show;
|
|
64
65
|
}, { deep: !0 });
|
|
65
66
|
function Se() {
|
|
66
|
-
if (
|
|
67
|
+
if (Et(g.dataset) ? Ke({
|
|
67
68
|
componentName: "VueUiChord",
|
|
68
69
|
type: "dataset"
|
|
69
|
-
}) :
|
|
70
|
+
}) : zt({
|
|
70
71
|
datasetObject: g.dataset,
|
|
71
72
|
requiredAttributes: ["matrix"]
|
|
72
73
|
}).forEach((t) => {
|
|
@@ -76,8 +77,8 @@ const ea = ["id"], ta = ["xmlns", "viewBox"], aa = ["width", "height"], oa = { k
|
|
|
76
77
|
property: t
|
|
77
78
|
});
|
|
78
79
|
}), L.value && Oe(), a.value.responsive) {
|
|
79
|
-
const t =
|
|
80
|
-
const { width: o, height: e, heightNoTitle: l, heightSource: u, heightTitle: s, heightLegend: r } =
|
|
80
|
+
const t = qt(() => {
|
|
81
|
+
const { width: o, height: e, heightNoTitle: l, heightSource: u, heightTitle: s, heightLegend: r } = Ht({
|
|
81
82
|
chart: W.value,
|
|
82
83
|
title: a.value.style.chart.title.text ? pe.value : null,
|
|
83
84
|
legend: a.value.style.chart.legend.show ? me.value : null,
|
|
@@ -115,19 +116,19 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
115
116
|
const S = h({
|
|
116
117
|
height: 600,
|
|
117
118
|
width: 600
|
|
118
|
-
}),
|
|
119
|
+
}), vt = C(() => a.value.userOptions.show && !a.value.style.chart.title.text), ht = C(() => Ft(a.value.customPalette)), p = C(() => ({
|
|
119
120
|
inner: S.value.width * 0.3 * a.value.style.chart.arcs.innerRadiusRatio,
|
|
120
121
|
outer: S.value.width * 0.34 * a.value.style.chart.arcs.outerRadiusRatio
|
|
121
|
-
})),
|
|
122
|
+
})), ft = C(() => a.value.style.chart.arcs.padAngle / 100), y = C(() => L.value ? {
|
|
122
123
|
matrix: g.dataset.matrix ?? [[0]],
|
|
123
124
|
labels: g.dataset.labels ?? [""],
|
|
124
|
-
colors: g.dataset.colors && Array.isArray(g.dataset.colors) && g.dataset.colors.length ? g.dataset.colors.map((t) =>
|
|
125
|
+
colors: g.dataset.colors && Array.isArray(g.dataset.colors) && g.dataset.colors.length ? g.dataset.colors.map((t) => Rt(t)) : g.dataset.matrix.map((t, o) => ht.value[o] || ie[o] || ie[o % ie.length])
|
|
125
126
|
} : {
|
|
126
127
|
matrix: [],
|
|
127
128
|
labels: [],
|
|
128
129
|
colors: []
|
|
129
130
|
});
|
|
130
|
-
function
|
|
131
|
+
function gt(t, o) {
|
|
131
132
|
const e = t.length, l = p.value.inner, u = new Array(e).fill(0);
|
|
132
133
|
let s = 0;
|
|
133
134
|
for (let c = 0; c < e; c += 1)
|
|
@@ -154,20 +155,20 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
154
155
|
k.sort((O, X) => X.v - O.v);
|
|
155
156
|
let P = f[c].startAngle;
|
|
156
157
|
for (const { j: O, v: X } of k) {
|
|
157
|
-
const
|
|
158
|
+
const V = P, ee = V + X * r;
|
|
158
159
|
I.push({
|
|
159
160
|
index: c,
|
|
160
161
|
subIndex: O,
|
|
161
162
|
pattern: `pattern_${T.value}_${c}`,
|
|
162
|
-
startAngle:
|
|
163
|
+
startAngle: V,
|
|
163
164
|
endAngle: ee,
|
|
164
165
|
value: X,
|
|
165
166
|
groupName: y.value.labels[c],
|
|
166
167
|
groupId: f[c].id,
|
|
167
168
|
groupColor: y.value.colors[c],
|
|
168
|
-
midAngle: (
|
|
169
|
-
midBaseX: Math.cos((
|
|
170
|
-
midBaseY: Math.sin((
|
|
169
|
+
midAngle: (V + ee) / 2,
|
|
170
|
+
midBaseX: Math.cos((V + ee) / 2 - Math.PI / 2) * l,
|
|
171
|
+
midBaseY: Math.sin((V + ee) / 2 - Math.PI / 2) * l
|
|
171
172
|
}), P = ee;
|
|
172
173
|
}
|
|
173
174
|
}
|
|
@@ -181,11 +182,11 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
181
182
|
return { groups: f, chords: N };
|
|
182
183
|
}
|
|
183
184
|
const M = C(() => {
|
|
184
|
-
const t =
|
|
185
|
+
const t = gt(y.value.matrix, ft.value);
|
|
185
186
|
return Oe(), t.chords.sort(
|
|
186
187
|
(o, e) => Math.max(e.source.value, e.target.value) - Math.max(o.source.value, o.target.value)
|
|
187
188
|
), t;
|
|
188
|
-
}),
|
|
189
|
+
}), bt = C(() => {
|
|
189
190
|
const t = p.value.outer + a.value.style.chart.ribbons.labels.offset + 12, e = a.value.style.chart.ribbons.labels.fontSize * 0.6, l = [];
|
|
190
191
|
if (m.value) {
|
|
191
192
|
const s = m.value;
|
|
@@ -244,8 +245,8 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
244
245
|
});
|
|
245
246
|
}
|
|
246
247
|
return b.value && u(b.value), w.value && u(w.value.id), l;
|
|
247
|
-
}),
|
|
248
|
-
const t =
|
|
248
|
+
}), pt = C(() => {
|
|
249
|
+
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;
|
|
249
250
|
let e = !0, l = 0;
|
|
250
251
|
for (; e && l++ < 10; ) {
|
|
251
252
|
e = !1;
|
|
@@ -263,25 +264,25 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
263
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`;
|
|
264
265
|
}
|
|
265
266
|
function ae(t, o) {
|
|
266
|
-
const e = p.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,
|
|
267
|
-
return `M${f},${A}A${e},${e} 0 ${X} 1 ${I},${N}Q0,0 ${c},${k}A${e},${e} 0 ${
|
|
267
|
+
const e = p.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`;
|
|
268
269
|
}
|
|
269
270
|
const Ne = C(() => x.value * Math.PI / 180);
|
|
270
|
-
function
|
|
271
|
+
function mt(t) {
|
|
271
272
|
return (t.startAngle + t.endAngle) / 2;
|
|
272
273
|
}
|
|
273
|
-
function
|
|
274
|
-
return ((
|
|
274
|
+
function yt(t) {
|
|
275
|
+
return ((mt(t) + Ne.value) % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI);
|
|
275
276
|
}
|
|
276
|
-
function
|
|
277
|
+
function kt(t) {
|
|
277
278
|
let o = t + Ne.value;
|
|
278
279
|
return o = (o % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI), o > Math.PI ? "end" : "start";
|
|
279
280
|
}
|
|
280
|
-
function
|
|
281
|
+
function $t(t) {
|
|
281
282
|
const o = t - Math.PI / 2, e = Math.cos(o) * (p.value.outer + a.value.style.chart.arcs.labels.offset + 24), l = Math.sin(o) * (p.value.outer + a.value.style.chart.arcs.labels.offset + 24);
|
|
282
283
|
return `translate(${e},${l})`;
|
|
283
284
|
}
|
|
284
|
-
function
|
|
285
|
+
function wt(t, o, e) {
|
|
285
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, A = Math.sin(u) * e, I = o - t > Math.PI ? 1 : 0;
|
|
286
287
|
return `M${s},${r} A${e},${e} 0 ${I} 1 ${f},${A}`;
|
|
287
288
|
}
|
|
@@ -303,7 +304,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
303
304
|
J.value = !1;
|
|
304
305
|
}
|
|
305
306
|
function Xe(t) {
|
|
306
|
-
return
|
|
307
|
+
return Yt(
|
|
307
308
|
a.value.style.chart.ribbons.labels.formatter,
|
|
308
309
|
t,
|
|
309
310
|
ge({
|
|
@@ -320,13 +321,13 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
320
321
|
window.removeEventListener("mousemove", oe), window.removeEventListener("mouseup", le), window.removeEventListener("touchmove", oe), window.removeEventListener("touchend", le), clearTimeout(Be.value), R.value && (H.value && R.value.unobserve(H.value), R.value.disconnect());
|
|
321
322
|
});
|
|
322
323
|
const de = h(!1);
|
|
323
|
-
function
|
|
324
|
+
function Ct(t) {
|
|
324
325
|
de.value = t, be.value += 1;
|
|
325
326
|
}
|
|
326
|
-
function
|
|
327
|
+
function Mt(t) {
|
|
327
328
|
b.value || (w.value = t);
|
|
328
329
|
}
|
|
329
|
-
function
|
|
330
|
+
function xt(t) {
|
|
330
331
|
b.value || (m.value = t);
|
|
331
332
|
}
|
|
332
333
|
function je(t) {
|
|
@@ -342,20 +343,20 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
342
343
|
function Ve() {
|
|
343
344
|
Z.value.showTable = !Z.value.showTable;
|
|
344
345
|
}
|
|
345
|
-
function
|
|
346
|
+
function At() {
|
|
346
347
|
return M.value;
|
|
347
348
|
}
|
|
348
|
-
const
|
|
349
|
+
const D = h(null);
|
|
349
350
|
function Ye() {
|
|
350
351
|
const t = a.value.initialRotation;
|
|
351
|
-
|
|
352
|
+
D.value !== null && cancelAnimationFrame(D.value);
|
|
352
353
|
const o = () => {
|
|
353
|
-
x.value += (t - x.value) * 0.05, Math.abs(x.value - t) < 0.1 ? (x.value = t,
|
|
354
|
+
x.value += (t - x.value) * 0.05, Math.abs(x.value - t) < 0.1 ? (x.value = t, D.value = null) : D.value = requestAnimationFrame(o);
|
|
354
355
|
};
|
|
355
|
-
|
|
356
|
+
D.value = requestAnimationFrame(o);
|
|
356
357
|
}
|
|
357
358
|
Qe(() => {
|
|
358
|
-
|
|
359
|
+
D.value !== null && cancelAnimationFrame(D.value);
|
|
359
360
|
});
|
|
360
361
|
function Ge(t) {
|
|
361
362
|
t === b.value ? (b.value = null, te("selectLegend", null)) : (b.value = t, te("selectLegend", M.value.groups.find((o) => o.id === t)));
|
|
@@ -369,7 +370,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
369
370
|
id: t.id,
|
|
370
371
|
select: () => Ge(t.id),
|
|
371
372
|
opacity: b.value ? b.value === t.id ? 1 : 0.3 : 1
|
|
372
|
-
}))),
|
|
373
|
+
}))), It = C(() => ({
|
|
373
374
|
cy: "chord-div-legend",
|
|
374
375
|
backgroundColor: a.value.style.chart.legend.backgroundColor,
|
|
375
376
|
color: a.value.style.chart.legend.color,
|
|
@@ -407,7 +408,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
407
408
|
};
|
|
408
409
|
});
|
|
409
410
|
function We() {
|
|
410
|
-
|
|
411
|
+
Ot(() => {
|
|
411
412
|
const t = y.value.matrix.map((l, u) => [
|
|
412
413
|
[y.value.labels[u] || u],
|
|
413
414
|
l
|
|
@@ -418,12 +419,12 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
418
419
|
[""],
|
|
419
420
|
...y.value.labels.map((l, u) => [l || u])
|
|
420
421
|
]
|
|
421
|
-
].concat(t), e =
|
|
422
|
-
|
|
422
|
+
].concat(t), e = Dt(o);
|
|
423
|
+
Vt({ csvContent: e, title: a.value.style.chart.title.text || "vue-ui-chord" });
|
|
423
424
|
});
|
|
424
425
|
}
|
|
425
426
|
return at({
|
|
426
|
-
getData:
|
|
427
|
+
getData: At,
|
|
427
428
|
generateCsv: We,
|
|
428
429
|
generateImage: _e,
|
|
429
430
|
generatePdf: Pe,
|
|
@@ -451,7 +452,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
451
452
|
onClose: ve
|
|
452
453
|
}, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : v("", !0),
|
|
453
454
|
$(t.$slots, "userConfig", {}, void 0, !0),
|
|
454
|
-
|
|
455
|
+
vt.value ? (n(), i("div", {
|
|
455
456
|
key: 1,
|
|
456
457
|
ref_key: "noTitle",
|
|
457
458
|
ref: ke,
|
|
@@ -464,7 +465,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
464
465
|
ref: pe,
|
|
465
466
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
466
467
|
}, [
|
|
467
|
-
(n(), G(
|
|
468
|
+
(n(), G(Zt, {
|
|
468
469
|
key: `title_${$e.value}`,
|
|
469
470
|
config: {
|
|
470
471
|
title: {
|
|
@@ -478,7 +479,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
478
479
|
}
|
|
479
480
|
}, null, 8, ["config"]))
|
|
480
481
|
], 512)) : v("", !0),
|
|
481
|
-
a.value.userOptions.show && L.value && (d(xe) || d(ce)) ? (n(), G(d(
|
|
482
|
+
a.value.userOptions.show && L.value && (d(xe) || d(ce)) ? (n(), G(d(ct), {
|
|
482
483
|
ref: "details",
|
|
483
484
|
key: `user_option_${be.value}`,
|
|
484
485
|
backgroundColor: a.value.style.chart.backgroundColor,
|
|
@@ -499,7 +500,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
499
500
|
titles: { ...a.value.userOptions.buttonTitles },
|
|
500
501
|
hasAnnotator: a.value.userOptions.buttons.annotator,
|
|
501
502
|
isAnnotation: K.value,
|
|
502
|
-
onToggleFullscreen:
|
|
503
|
+
onToggleFullscreen: Ct,
|
|
503
504
|
onGeneratePdf: d(Pe),
|
|
504
505
|
onGenerateCsv: We,
|
|
505
506
|
onGenerateImage: d(_e),
|
|
@@ -561,7 +562,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
561
562
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
562
563
|
L.value ? (n(), i("svg", {
|
|
563
564
|
key: 4,
|
|
564
|
-
xmlns: d(
|
|
565
|
+
xmlns: d(Xt),
|
|
565
566
|
ref_key: "svgRef",
|
|
566
567
|
ref: Q,
|
|
567
568
|
viewBox: `0 0 ${S.value.width} ${S.value.height}`,
|
|
@@ -590,7 +591,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
590
591
|
(n(!0), i(F, null, U(M.value.groups, (e, l) => (n(), i("path", {
|
|
591
592
|
key: `labelPath-${l}`,
|
|
592
593
|
id: `labelPath-${l}_${T.value}`,
|
|
593
|
-
d:
|
|
594
|
+
d: wt(
|
|
594
595
|
e.startAngle,
|
|
595
596
|
e.endAngle,
|
|
596
597
|
(p.value.inner + p.value.outer) / 2 + a.value.style.chart.arcs.labels.offset
|
|
@@ -600,7 +601,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
600
601
|
])) : v("", !0),
|
|
601
602
|
t.$slots.pattern ? (n(), i("g", sa, [
|
|
602
603
|
(n(!0), i(F, null, U(M.value.groups, (e, l) => (n(), i("defs", null, [
|
|
603
|
-
$(t.$slots, "pattern",
|
|
604
|
+
$(t.$slots, "pattern", Tt({ ref_for: !0 }, { seriesIndex: e.index, patternId: `pattern_${T.value}_${l}` }), void 0, !0)
|
|
604
605
|
]))), 256))
|
|
605
606
|
])) : v("", !0),
|
|
606
607
|
B("g", {
|
|
@@ -624,7 +625,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
624
625
|
style: E({
|
|
625
626
|
opacity: De(e)
|
|
626
627
|
}),
|
|
627
|
-
onMouseenter: () =>
|
|
628
|
+
onMouseenter: () => Mt(e),
|
|
628
629
|
onMouseleave: o[0] || (o[0] = (u) => w.value = null),
|
|
629
630
|
onClick: (u) => te("selectGroup", e)
|
|
630
631
|
}, null, 46, ra)),
|
|
@@ -669,7 +670,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
669
670
|
"stroke-linecap": "round",
|
|
670
671
|
"stroke-linejoin": "round",
|
|
671
672
|
style: E({ opacity: je(e) }),
|
|
672
|
-
onMouseenter: () =>
|
|
673
|
+
onMouseenter: () => xt({
|
|
673
674
|
...e,
|
|
674
675
|
path: ae(e.source, e.target),
|
|
675
676
|
color: y.value.colors[e.source.index]
|
|
@@ -723,7 +724,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
723
724
|
}, null, 8, ha)) : v("", !0)
|
|
724
725
|
]),
|
|
725
726
|
(w.value || m.value || b.value) && a.value.style.chart.ribbons.labels.show ? (n(), i("g", fa, [
|
|
726
|
-
(n(!0), i(F, null, U(
|
|
727
|
+
(n(!0), i(F, null, U(pt.value, (e) => (n(), i(F, {
|
|
727
728
|
key: e.id
|
|
728
729
|
}, [
|
|
729
730
|
B("line", {
|
|
@@ -762,12 +763,12 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
762
763
|
) rotate(${-x.value})
|
|
763
764
|
`,
|
|
764
765
|
fill: a.value.style.chart.ribbons.labels.useSerieColor ? e.groupColor : a.value.style.chart.ribbons.labels.color,
|
|
765
|
-
"text-anchor":
|
|
766
|
+
"text-anchor": kt(e.theta),
|
|
766
767
|
"font-size": a.value.style.chart.ribbons.labels.fontSize,
|
|
767
768
|
"font-weight": a.value.style.chart.ribbons.labels.bold ? "bold" : "normal",
|
|
768
769
|
dy: ".35em",
|
|
769
770
|
"pointer-events": "none"
|
|
770
|
-
},
|
|
771
|
+
}, j(Xe(e.value)), 9, ma)
|
|
771
772
|
], 64))), 128))
|
|
772
773
|
])) : v("", !0),
|
|
773
774
|
a.value.style.chart.arcs.labels.show ? (n(), i("g", ya, [
|
|
@@ -775,13 +776,13 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
775
776
|
key: `curved-label-${l}`,
|
|
776
777
|
"font-size": a.value.style.chart.arcs.labels.fontSize,
|
|
777
778
|
"font-weight": a.value.style.chart.arcs.labels.bold ? "bold" : "normal",
|
|
778
|
-
fill: a.value.style.chart.arcs.labels.adaptColorToBackground ? d(
|
|
779
|
+
fill: a.value.style.chart.arcs.labels.adaptColorToBackground ? d(jt)(y.value.colors[l]) : a.value.style.chart.arcs.labels.color
|
|
779
780
|
}, [
|
|
780
781
|
B("textPath", {
|
|
781
782
|
href: `#labelPath-${l}_${T.value}`,
|
|
782
783
|
startOffset: "50%",
|
|
783
784
|
"text-anchor": "middle"
|
|
784
|
-
},
|
|
785
|
+
}, j(y.value.labels[l]) + j(a.value.style.chart.arcs.labels.showPercentage ? d(ge)({
|
|
785
786
|
p: " (",
|
|
786
787
|
v: isNaN(e.proportion) ? 0 : e.proportion * 100,
|
|
787
788
|
s: "%)",
|
|
@@ -790,15 +791,15 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
790
791
|
], 8, ka))), 128)) : !w.value && !m.value && !b.value ? (n(!0), i(F, { key: 1 }, U(M.value.groups, (e, l) => (n(), i("text", {
|
|
791
792
|
key: `label-${l}`,
|
|
792
793
|
transform: `
|
|
793
|
-
${
|
|
794
|
+
${$t((e.startAngle + e.endAngle) / 2)}
|
|
794
795
|
rotate(${-x.value})
|
|
795
796
|
`,
|
|
796
797
|
dy: ".35em",
|
|
797
|
-
"text-anchor":
|
|
798
|
+
"text-anchor": yt(e) > Math.PI ? "end" : "start",
|
|
798
799
|
"font-size": a.value.style.chart.arcs.labels.fontSize,
|
|
799
800
|
"font-weight": a.value.style.chart.arcs.labels.bold ? "bold" : "normal",
|
|
800
801
|
fill: a.value.style.chart.arcs.labels.color
|
|
801
|
-
},
|
|
802
|
+
}, j(y.value.labels[l]) + j(a.value.style.chart.arcs.labels.showPercentage ? d(ge)({
|
|
802
803
|
p: " (",
|
|
803
804
|
v: isNaN(e.proportion) ? 0 : e.proportion * 100,
|
|
804
805
|
s: "%)",
|
|
@@ -811,7 +812,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
811
812
|
t.$slots.watermark ? (n(), i("div", Ca, [
|
|
812
813
|
$(t.$slots, "watermark", re(ue({ isPrinting: d(Ae) || d(Ie) })), void 0, !0)
|
|
813
814
|
])) : v("", !0),
|
|
814
|
-
L.value ? v("", !0) : (n(), G(d(
|
|
815
|
+
L.value ? v("", !0) : (n(), G(d(it), {
|
|
815
816
|
key: 6,
|
|
816
817
|
config: {
|
|
817
818
|
type: "chord",
|
|
@@ -827,10 +828,10 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
827
828
|
ref_key: "chartLegend",
|
|
828
829
|
ref: me
|
|
829
830
|
}, [
|
|
830
|
-
a.value.style.chart.legend.show ? (n(), G(
|
|
831
|
+
a.value.style.chart.legend.show ? (n(), G(Qt, {
|
|
831
832
|
key: `legend_${Ce.value}`,
|
|
832
833
|
legendSet: Ue.value,
|
|
833
|
-
config:
|
|
834
|
+
config: It.value,
|
|
834
835
|
onClickMarker: o[2] || (o[2] = ({ legend: e }) => Ge(e.id))
|
|
835
836
|
}, Ze({
|
|
836
837
|
item: _(({ legend: e }) => [
|
|
@@ -839,14 +840,14 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
839
840
|
opacity: b.value ? b.value === e.id ? 1 : 0.3 : 1
|
|
840
841
|
}),
|
|
841
842
|
onClick: (l) => e.select()
|
|
842
|
-
},
|
|
843
|
+
}, j(e.name), 13, Ma)
|
|
843
844
|
]),
|
|
844
845
|
_: 2
|
|
845
846
|
}, [
|
|
846
847
|
t.$slots.pattern ? {
|
|
847
848
|
name: "legend-pattern",
|
|
848
849
|
fn: _(({ legend: e, index: l }) => [
|
|
849
|
-
he(
|
|
850
|
+
he(Jt, {
|
|
850
851
|
shape: e.shape,
|
|
851
852
|
radius: 30,
|
|
852
853
|
stroke: "none",
|
|
@@ -913,10 +914,10 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
913
914
|
onClose: o[3] || (o[3] = (e) => Z.value.showTable = !1)
|
|
914
915
|
}, {
|
|
915
916
|
th: _(({ th: e }) => [
|
|
916
|
-
|
|
917
|
+
St(j(e.name), 1)
|
|
917
918
|
]),
|
|
918
919
|
td: _(({ td: e }) => [
|
|
919
|
-
B("div", Aa,
|
|
920
|
+
B("div", Aa, j(e.name ? e.name : Xe(e)), 1)
|
|
920
921
|
]),
|
|
921
922
|
_: 1
|
|
922
923
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
@@ -925,7 +926,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
925
926
|
}, 8, ["config"])) : v("", !0)
|
|
926
927
|
], 46, ea));
|
|
927
928
|
}
|
|
928
|
-
},
|
|
929
|
+
}, Ra = /* @__PURE__ */ Kt(Ia, [["__scopeId", "data-v-f848c3b0"]]);
|
|
929
930
|
export {
|
|
930
|
-
|
|
931
|
+
Ra as default
|
|
931
932
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useCssVars as lt, computed as w, defineAsyncComponent as L, ref as b, watch as Ne, shallowRef as Me, onMounted as at, onBeforeUnmount as ot, watchEffect as st, createElementBlock as g, openBlock as f, unref as u, normalizeStyle as te, normalizeClass as Ee, createBlock as V, createCommentVNode as k, renderSlot as x, createSlots as nt, withCtx as _, normalizeProps as q, guardReactiveProps as W, createVNode as rt, Fragment as le, renderList as ut, createElementVNode as C, mergeProps as Re, toDisplayString as X, createTextVNode as it, nextTick as Ae } from "vue";
|
|
2
|
-
import { u as ct, c as De, t as de, p as ae, a as vt, o as dt, e as ht, b as ft, d as yt, h as Le, f as he, X as mt, l as pt, G as Y, af as bt, q as gt, r as kt, i as Ve } from "./index-
|
|
3
|
-
import { u as He } from "./useNestedProp-
|
|
4
|
-
import { u as xt } from "./usePrinter-
|
|
2
|
+
import { u as ct, c as De, t as de, p as ae, a as vt, o as dt, e as ht, b as ft, d as yt, h as Le, f as he, X as mt, l as pt, G as Y, af as bt, q as gt, r as kt, i as Ve } from "./index-CaxNz2cE.js";
|
|
3
|
+
import { u as He } from "./useNestedProp-DpK9-Xt0.js";
|
|
4
|
+
import { u as xt } from "./usePrinter-BprQttno.js";
|
|
5
5
|
import { u as wt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as Ct } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
7
|
import { t as zt, u as _t } from "./useResponsive-JZ9xq-JV.js";
|
|
8
|
-
import $t from "./Title-
|
|
8
|
+
import $t from "./Title-BTCPUIcD.js";
|
|
9
9
|
import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
function Be(r, i = 0) {
|
|
11
11
|
const h = r.reduce((a, { x: s, r: v }) => Math.min(a, s - v - i), 1 / 0), y = r.reduce((a, { x: s, r: v }) => Math.max(a, s + v + i), -1 / 0), c = r.reduce((a, { y: s, r: v }) => Math.min(a, s - v - i), 1 / 0), o = r.reduce((a, { y: s, r: v }) => Math.max(a, s + v + i), -1 / 0);
|
|
@@ -98,7 +98,7 @@ const St = ["id"], It = ["xmlns", "viewBox", "height", "width"], Ot = ["x", "y",
|
|
|
98
98
|
f5f64da8: D.value,
|
|
99
99
|
"76ae4825": re.value
|
|
100
100
|
}));
|
|
101
|
-
const y = L(() => import("./vue-ui-accordion-
|
|
101
|
+
const y = L(() => import("./vue-ui-accordion-BZ16n4QT.js")), c = L(() => import("./DataTable-bcUa-A_V.js")), o = L(() => import("./PackageVersion-BVH19wf6.js")), a = L(() => import("./PenAndPaper-U4bWifCe.js")), s = L(() => import("./vue-ui-skeleton-C2paDc2u.js")), v = L(() => import("./UserOptions-yZJ8noVU.js")), p = r, T = h, { vue_ui_circle_pack: Z } = ct(), N = w(() => !!p.dataset && p.dataset.length), P = b(De()), $ = b(null), fe = b(null), ye = b(null), me = b(0), pe = b(0), be = b(0), qe = b(null), e = w({
|
|
102
102
|
get: () => we(),
|
|
103
103
|
set: (t) => t
|
|
104
104
|
}), { svgRef: ge } = Ct({ config: e.value.style.chart.title }), {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as c, computed as _, onMounted as R, onBeforeUnmount as S, createElementBlock as l, createCommentVNode as o, openBlock as i, normalizeStyle as E, unref as m, createElementVNode as r, normalizeClass as C, toDisplayString as p, nextTick as b } from "vue";
|
|
2
|
-
import { u as F } from "./useNestedProp-
|
|
3
|
-
import { u as L, c as z, X as O, s as I } from "./index-
|
|
2
|
+
import { u as F } from "./useNestedProp-DpK9-Xt0.js";
|
|
3
|
+
import { u as L, c as z, X as O, s as I } from "./index-CaxNz2cE.js";
|
|
4
4
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const N = ["xmlns", "height", "width"], T = {
|
|
6
6
|
id: "follower",
|