vue-data-ui 2.12.8-beta.2 → 2.12.8-beta.3
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 +15 -0
- package/dist/{Arrow-HbfibAF0.js → Arrow-kQyQXUUg.js} +1 -1
- package/dist/{BaseDraggableDialog-DGrErCX-.js → BaseDraggableDialog-DLRFrsDT.js} +2 -2
- package/dist/{BaseIcon-j0c6lJUs.js → BaseIcon-DaR0sIWZ.js} +1 -1
- package/dist/{ColorPicker-DitXXl-H.js → ColorPicker-Bj3sq9o7.js} +2 -2
- package/dist/{DataTable-CsoAI95B.js → DataTable-BBqbcutV.js} +2 -2
- package/dist/{Legend-ZW-PFcHg.js → Legend-DRqzYrP9.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DJTUaQ94.js → NonSvgPenAndPaper-CQIC2PMP.js} +3 -3
- package/dist/{PackageVersion-DCAZ9Z7V.js → PackageVersion-ClpqQxYT.js} +1 -1
- package/dist/{PenAndPaper-B9RP4oFj.js → PenAndPaper-B-T7XvxF.js} +3 -3
- package/dist/{Shape-BBbhObHC.js → Shape-DEWxbZ-l.js} +1 -1
- package/dist/{Slicer-Vh74fjdf.js → Slicer-o6jJH5bw.js} +2 -2
- package/dist/{SparkTooltip-CG-HMbX2.js → SparkTooltip-LPnbBoFu.js} +1 -1
- package/dist/{Title-Dx8ctnVy.js → Title-apr_T9tg.js} +1 -1
- package/dist/{Tooltip-COHlzpZI.js → Tooltip-BuHsMAfp.js} +1 -1
- package/dist/{UserOptions-CGn3YdRV.js → UserOptions-OVNxxnq5.js} +144 -133
- package/dist/{dom-to-png-BjSUS-jY.js → dom-to-png-C0Ct8ClX.js} +1 -1
- package/dist/{img-DWfzRJdv.js → img-P0SFFw37.js} +1 -1
- package/dist/{index-CbcpITE_.js → index-CH_mJIWj.js} +185 -127
- package/dist/{pdf-Cy09nTjn.js → pdf-Jun3ogRn.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +42 -0
- package/dist/types/vue-data-ui.d.ts +42 -0
- package/dist/{useNestedProp-y56W8I7J.js → useNestedProp-rMR-JeOJ.js} +1 -1
- package/dist/{usePrinter-u-gQiRNz.js → usePrinter-DJ7WfWUs.js} +2 -2
- package/dist/{vue-data-ui-DGmMT-Yp.js → vue-data-ui-D7AaTKU6.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-Du4TkjPV.js → vue-ui-3d-bar-BfLLrwWi.js} +8 -7
- package/dist/{vue-ui-accordion-BkA7rtwr.js → vue-ui-accordion-Ds4zkPIx.js} +3 -3
- package/dist/{vue-ui-age-pyramid-bw7gLRlR.js → vue-ui-age-pyramid-C7ca5TG5.js} +41 -40
- package/dist/{vue-ui-annotator-C-_zXB7H.js → vue-ui-annotator-DG2z1gw8.js} +2 -2
- package/dist/{vue-ui-bullet-BRnz7E8e.js → vue-ui-bullet-Dh25QAEH.js} +9 -8
- package/dist/{vue-ui-candlestick-9cPPnO0t.js → vue-ui-candlestick-7Yo_kEV0.js} +9 -8
- package/dist/{vue-ui-carousel-table-BJuSGbk2.js → vue-ui-carousel-table-Det9Kwmy.js} +28 -27
- package/dist/{vue-ui-chestnut-D2dnrdHT.js → vue-ui-chestnut-DLlFv6Uj.js} +8 -7
- package/dist/{vue-ui-chord-Rvygj27H.js → vue-ui-chord-BXlv5Z2x.js} +35 -34
- package/dist/{vue-ui-circle-pack-BR79EDAC.js → vue-ui-circle-pack-DdRcdWmx.js} +43 -42
- package/dist/{vue-ui-cursor-K11x9TYc.js → vue-ui-cursor-Djtg6Ppw.js} +2 -2
- package/dist/{vue-ui-dashboard-BgxqXwqN.js → vue-ui-dashboard-C4MDDCl6.js} +62 -62
- package/dist/{vue-ui-digits-D7StMUym.js → vue-ui-digits-8Ox6q1Ov.js} +2 -2
- package/dist/{vue-ui-donut-CyOg8kph.js → vue-ui-donut-Hk4EaVhb.js} +10 -9
- package/dist/{vue-ui-donut-evolution-CVhQaMNQ.js → vue-ui-donut-evolution-DzgYokPU.js} +10 -9
- package/dist/{vue-ui-dumbbell-C7Wex4VO.js → vue-ui-dumbbell-CAC44_Hu.js} +52 -51
- package/dist/{vue-ui-flow-DFNdP-V9.js → vue-ui-flow-CYWiZjrP.js} +9 -8
- package/dist/{vue-ui-funnel-DqWcZVvF.js → vue-ui-funnel-C2eqxh_8.js} +20 -19
- package/dist/{vue-ui-galaxy-BhPbJqYr.js → vue-ui-galaxy-BBfg84E4.js} +7 -6
- package/dist/{vue-ui-gauge-sP6YPTJH.js → vue-ui-gauge-BJgJgef_.js} +33 -32
- package/dist/{vue-ui-gizmo-B4fq_bGX.js → vue-ui-gizmo-DBclpybR.js} +3 -3
- package/dist/{vue-ui-heatmap-CpNjtuyD.js → vue-ui-heatmap-D65wOgqe.js} +10 -9
- package/dist/{vue-ui-history-plot-CtgTg4fG.js → vue-ui-history-plot-CHhDy7Da.js} +9 -8
- package/dist/{vue-ui-kpi-CN2AE1VF.js → vue-ui-kpi-uT6fsAaO.js} +3 -3
- package/dist/{vue-ui-mini-loader-CYt8LlhO.js → vue-ui-mini-loader-CKVlBiYB.js} +2 -2
- package/dist/{vue-ui-molecule-D3kexAu_.js → vue-ui-molecule-BwtHZtGN.js} +22 -21
- package/dist/{vue-ui-mood-radar-hHqR8eS7.js → vue-ui-mood-radar-Vf4_-R-m.js} +9 -8
- package/dist/{vue-ui-nested-donuts-DXwaOA_n.js → vue-ui-nested-donuts-BVkSns4S.js} +44 -43
- package/dist/{vue-ui-onion-C7R2R5tf.js → vue-ui-onion-UzMmwtvF.js} +9 -8
- package/dist/{vue-ui-parallel-coordinate-plot-Dh772r8W.js → vue-ui-parallel-coordinate-plot-Dk5T3ZAr.js} +10 -9
- package/dist/{vue-ui-quadrant-jrOesLSU.js → vue-ui-quadrant-Ck7xALez.js} +10 -9
- package/dist/{vue-ui-quick-chart-CtLnhGZA.js → vue-ui-quick-chart-B62Pa0nG.js} +8 -7
- package/dist/{vue-ui-radar-BikYRjfw.js → vue-ui-radar-DMfv2hSb.js} +6 -6
- package/dist/{vue-ui-rating-DUYbT-Ve.js → vue-ui-rating-CFYHJrxj.js} +2 -2
- package/dist/{vue-ui-relation-circle-CjnDrflp.js → vue-ui-relation-circle-RWlfC5BI.js} +75 -74
- package/dist/{vue-ui-ridgeline-o7-RpeJx.js → vue-ui-ridgeline-Bh93VzcO.js} +10 -9
- package/dist/{vue-ui-rings-Dinj5ws1.js → vue-ui-rings-CyX30Ccv.js} +23 -22
- package/dist/{vue-ui-scatter-CODAsxBq.js → vue-ui-scatter-BEDnWByj.js} +10 -9
- package/dist/{vue-ui-skeleton-miKWlCAi.js → vue-ui-skeleton-C6PWt_m5.js} +3 -3
- package/dist/{vue-ui-smiley-DwqlNm1O.js → vue-ui-smiley-79itAe84.js} +2 -2
- package/dist/{vue-ui-spark-trend-BjL35phT.js → vue-ui-spark-trend-AaA4KuaH.js} +3 -3
- package/dist/{vue-ui-sparkbar-2o2ZLL50.js → vue-ui-sparkbar-CYBZeaor.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CMlBpOcc.js → vue-ui-sparkgauge-ElGarXVS.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-C7Ue-aaI.js → vue-ui-sparkhistogram-C_LV99i1.js} +4 -4
- package/dist/{vue-ui-sparkline-w29yzdZG.js → vue-ui-sparkline-DwzCA8d6.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DbIxY7W3.js → vue-ui-sparkstackbar-CobB11uw.js} +3 -3
- package/dist/{vue-ui-stackbar-CWqpeYW-.js → vue-ui-stackbar-B4SxM5Ix.js} +11 -10
- package/dist/{vue-ui-strip-plot-DyjQVaDX.js → vue-ui-strip-plot-9VK_Y3SC.js} +9 -8
- package/dist/{vue-ui-table-Bx82XIlz.js → vue-ui-table-DFTE1OH5.js} +3 -3
- package/dist/{vue-ui-table-heatmap-RvSyx9L6.js → vue-ui-table-heatmap-DvyJx0j7.js} +48 -47
- package/dist/{vue-ui-table-sparkline-DebvtEV3.js → vue-ui-table-sparkline-SGsBnQTK.js} +8 -7
- package/dist/{vue-ui-thermometer-yPKRIlqA.js → vue-ui-thermometer-DEMS6HXl.js} +22 -21
- package/dist/{vue-ui-timer-C15nOU7T.js → vue-ui-timer-CQ71yJ_N.js} +5 -5
- package/dist/{vue-ui-tiremarks-C2G8HtiX.js → vue-ui-tiremarks-CsN_QtUK.js} +38 -37
- package/dist/{vue-ui-treemap-cFhw0xSg.js → vue-ui-treemap-B0CPNusH.js} +229 -228
- package/dist/{vue-ui-vertical-bar-dWiOw4sV.js → vue-ui-vertical-bar-Cxv-ahMT.js} +12 -11
- package/dist/{vue-ui-waffle-Uldnmn6D.js → vue-ui-waffle-TgNNo9UX.js} +66 -65
- package/dist/{vue-ui-wheel-Cz79iDLO.js → vue-ui-wheel-Bq0ZLc-R.js} +8 -7
- package/dist/{vue-ui-word-cloud-BGeHV6hS.js → vue-ui-word-cloud-D28awCaT.js} +66 -65
- package/dist/{vue-ui-world-D1Dy-4mh.js → vue-ui-world-BhUsfhY5.js} +8 -7
- package/dist/{vue-ui-xy-BA7xWU7_.js → vue-ui-xy-CEFkua9H.js} +918 -811
- package/dist/{vue-ui-xy-canvas-B2kkKb64.js → vue-ui-xy-canvas-oHhzL0ui.js} +53 -52
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
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
|
|
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-
|
|
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 Ot, nextTick as St } 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-CH_mJIWj.js";
|
|
3
3
|
import { u as Gt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
4
|
-
import { u as et } from "./useNestedProp-
|
|
4
|
+
import { u as et } from "./useNestedProp-rMR-JeOJ.js";
|
|
5
5
|
import { u as Ut } from "./useChartAccessibility-9icAAmYg.js";
|
|
6
|
-
import { u as Wt } from "./usePrinter-
|
|
6
|
+
import { u as Wt } from "./usePrinter-DJ7WfWUs.js";
|
|
7
7
|
import { t as qt, u as Ht } from "./useResponsive-JZ9xq-JV.js";
|
|
8
|
-
import Qt from "./Legend-
|
|
9
|
-
import Zt from "./Title-
|
|
10
|
-
import { _ as Jt } from "./Shape-
|
|
8
|
+
import Qt from "./Legend-DRqzYrP9.js";
|
|
9
|
+
import Zt from "./Title-apr_T9tg.js";
|
|
10
|
+
import { _ as Jt } from "./Shape-DEWxbZ-l.js";
|
|
11
11
|
import { _ as Kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
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 = {
|
|
13
13
|
key: 5,
|
|
@@ -35,9 +35,9 @@ 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
|
+
"09f04582": t.slicerColor
|
|
39
39
|
}));
|
|
40
|
-
const lt = Y(() => import("./vue-ui-accordion-
|
|
40
|
+
const lt = Y(() => import("./vue-ui-accordion-Ds4zkPIx.js")), st = Y(() => import("./BaseIcon-DaR0sIWZ.js")), nt = Y(() => import("./DataTable-BBqbcutV.js")), rt = Y(() => import("./PackageVersion-ClpqQxYT.js")), ut = Y(() => import("./PenAndPaper-B-T7XvxF.js")), it = Y(() => import("./vue-ui-skeleton-C6PWt_m5.js")), ct = Y(() => import("./UserOptions-OVNxxnq5.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({
|
|
41
41
|
get: () => Te(),
|
|
42
42
|
set: (t) => t
|
|
43
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({
|
|
@@ -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 = Te(), ce.value = !a.value.userOptions.showOnChartHover,
|
|
64
|
+
a.value = Te(), ce.value = !a.value.userOptions.showOnChartHover, Oe(), $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 Oe() {
|
|
67
67
|
if (Et(g.dataset) ? Ke({
|
|
68
68
|
componentName: "VueUiChord",
|
|
69
69
|
type: "dataset"
|
|
@@ -76,7 +76,7 @@ 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 && Se(), 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,
|
|
@@ -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 Se() {
|
|
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
|
+
Oe();
|
|
115
115
|
});
|
|
116
|
-
const
|
|
116
|
+
const O = h({
|
|
117
117
|
height: 600,
|
|
118
118
|
width: 600
|
|
119
119
|
}), vt = C(() => a.value.userOptions.show && !a.value.style.chart.title.text), ht = C(() => Ft(a.value.customPalette)), p = C(() => ({
|
|
120
|
-
inner:
|
|
121
|
-
outer:
|
|
120
|
+
inner: O.value.width * 0.3 * a.value.style.chart.arcs.innerRadiusRatio,
|
|
121
|
+
outer: O.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 ?? [""],
|
|
@@ -151,14 +151,14 @@ 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((S, X) => ({ j: X, v: S }));
|
|
155
|
+
k.sort((S, X) => X.v - S.v);
|
|
156
156
|
let P = f[c].startAngle;
|
|
157
|
-
for (const { j:
|
|
157
|
+
for (const { j: S, v: X } of k) {
|
|
158
158
|
const V = P, ee = V + X * r;
|
|
159
159
|
I.push({
|
|
160
160
|
index: c,
|
|
161
|
-
subIndex:
|
|
161
|
+
subIndex: S,
|
|
162
162
|
pattern: `pattern_${T.value}_${c}`,
|
|
163
163
|
startAngle: V,
|
|
164
164
|
endAngle: ee,
|
|
@@ -183,7 +183,7 @@ 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 Se(), 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
189
|
}), bt = C(() => {
|
|
@@ -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, S = o - t > Math.PI ? 1 : 0;
|
|
264
|
+
return `M${r},${f} A${e},${e} 0 ${S} 1 ${A},${I} L${N},${c} A${l},${l} 0 ${S} 0 ${k},${P} Z`;
|
|
265
265
|
}
|
|
266
266
|
function ae(t, o) {
|
|
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,
|
|
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 = 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, S = 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},${S}Q0,0 ${f},${A}Z`;
|
|
269
269
|
}
|
|
270
270
|
const Ne = C(() => x.value * Math.PI / 180);
|
|
271
271
|
function mt(t) {
|
|
@@ -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() {
|
|
411
|
-
|
|
411
|
+
St(() => {
|
|
412
412
|
const t = y.value.matrix.map((l, u) => [
|
|
413
413
|
[y.value.labels[u] || u],
|
|
414
414
|
l
|
|
@@ -500,6 +500,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
500
500
|
titles: { ...a.value.userOptions.buttonTitles },
|
|
501
501
|
hasAnnotator: a.value.userOptions.buttons.annotator,
|
|
502
502
|
isAnnotation: K.value,
|
|
503
|
+
callbacks: a.value.userOptions.callbacks,
|
|
503
504
|
onToggleFullscreen: Ct,
|
|
504
505
|
onGeneratePdf: d(Pe),
|
|
505
506
|
onGenerateCsv: We,
|
|
@@ -559,13 +560,13 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
559
560
|
]),
|
|
560
561
|
key: "6"
|
|
561
562
|
} : void 0
|
|
562
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !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),
|
|
563
564
|
L.value ? (n(), i("svg", {
|
|
564
565
|
key: 4,
|
|
565
566
|
xmlns: d(Xt),
|
|
566
567
|
ref_key: "svgRef",
|
|
567
568
|
ref: Q,
|
|
568
|
-
viewBox: `0 0 ${
|
|
569
|
+
viewBox: `0 0 ${O.value.width} ${O.value.height}`,
|
|
569
570
|
preserveAspectRatio: "xMidYMid meet",
|
|
570
571
|
style: {
|
|
571
572
|
overflow: "visible"
|
|
@@ -579,8 +580,8 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
579
580
|
key: 0,
|
|
580
581
|
x: 0,
|
|
581
582
|
y: 0,
|
|
582
|
-
width:
|
|
583
|
-
height:
|
|
583
|
+
width: O.value.width <= 0 ? 10 : O.value.width,
|
|
584
|
+
height: O.value.height <= 0 ? 10 : O.value.height,
|
|
584
585
|
style: {
|
|
585
586
|
pointerEvents: "none"
|
|
586
587
|
}
|
|
@@ -605,7 +606,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
605
606
|
]))), 256))
|
|
606
607
|
])) : v("", !0),
|
|
607
608
|
B("g", {
|
|
608
|
-
transform: `translate(${
|
|
609
|
+
transform: `translate(${O.value.width / 2}, ${O.value.height / 2}) rotate(${x.value})`
|
|
609
610
|
}, [
|
|
610
611
|
(n(!0), i(F, null, U(M.value.groups, (e, l) => (n(), i("g", null, [
|
|
611
612
|
(n(), i("path", {
|
|
@@ -914,7 +915,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
914
915
|
onClose: o[3] || (o[3] = (e) => Z.value.showTable = !1)
|
|
915
916
|
}, {
|
|
916
917
|
th: _(({ th: e }) => [
|
|
917
|
-
|
|
918
|
+
Ot(j(e.name), 1)
|
|
918
919
|
]),
|
|
919
920
|
td: _(({ td: e }) => [
|
|
920
921
|
B("div", Aa, j(e.name ? e.name : Xe(e)), 1)
|
|
@@ -926,7 +927,7 @@ dataset.matrix[${o}] = [${t.toString()}] has a length of ${t.length} but should
|
|
|
926
927
|
}, 8, ["config"])) : v("", !0)
|
|
927
928
|
], 46, ea));
|
|
928
929
|
}
|
|
929
|
-
}, Ra = /* @__PURE__ */ Kt(Ia, [["__scopeId", "data-v-
|
|
930
|
+
}, Ra = /* @__PURE__ */ Kt(Ia, [["__scopeId", "data-v-909c50e7"]]);
|
|
930
931
|
export {
|
|
931
932
|
Ra as default
|
|
932
933
|
};
|
|
@@ -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-CH_mJIWj.js";
|
|
3
|
+
import { u as He } from "./useNestedProp-rMR-JeOJ.js";
|
|
4
|
+
import { u as xt } from "./usePrinter-DJ7WfWUs.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-apr_T9tg.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);
|
|
@@ -70,7 +70,7 @@ class oe {
|
|
|
70
70
|
this._ = i, this.next = null, this.previous = null;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
const
|
|
73
|
+
const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y", "width", "height"], Ft = ["id"], Nt = ["stop-color"], Mt = ["stop-color"], Et = ["stop-color"], Rt = { key: 0 }, At = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx", "onMouseenter", "onClick"], Dt = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx"], Lt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Vt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Ht = ["cx", "cy", "r", "opacity", "stroke", "stroke-width", "fill"], Bt = {
|
|
74
74
|
key: 0,
|
|
75
75
|
style: { pointerEvents: "none" }
|
|
76
76
|
}, Gt = { key: 1 }, Ut = ["opacity", "x", "y", "font-size", "fill", "font-weight"], jt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], qt = {
|
|
@@ -95,10 +95,10 @@ const St = ["id"], It = ["xmlns", "viewBox", "height", "width"], Ot = ["x", "y",
|
|
|
95
95
|
emits: ["selectDatapoint"],
|
|
96
96
|
setup(r, { expose: i, emit: h }) {
|
|
97
97
|
lt((t) => ({
|
|
98
|
-
|
|
99
|
-
"
|
|
98
|
+
"6b4c9e7d": D.value,
|
|
99
|
+
"0c192db6": re.value
|
|
100
100
|
}));
|
|
101
|
-
const y = L(() => import("./vue-ui-accordion-
|
|
101
|
+
const y = L(() => import("./vue-ui-accordion-Ds4zkPIx.js")), c = L(() => import("./DataTable-BBqbcutV.js")), o = L(() => import("./PackageVersion-ClpqQxYT.js")), a = L(() => import("./PenAndPaper-B-T7XvxF.js")), s = L(() => import("./vue-ui-skeleton-C6PWt_m5.js")), v = L(() => import("./UserOptions-OVNxxnq5.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 }), {
|
|
@@ -128,12 +128,12 @@ const St = ["id"], It = ["xmlns", "viewBox", "height", "width"], Ot = ["x", "y",
|
|
|
128
128
|
options: e.value.userOptions.print
|
|
129
129
|
}), We = w(() => e.value.userOptions.show && !e.value.style.chart.title.text), H = b({
|
|
130
130
|
showTable: e.value.table.show
|
|
131
|
-
}),
|
|
131
|
+
}), O = Me(null), M = Me(null), E = b({ h: 10, w: 10 }), Te = b(0), R = b([0, 0, 100, 100]), J = b({ h: 0, w: 0 });
|
|
132
132
|
async function ne() {
|
|
133
133
|
dt(p.dataset) && ht({
|
|
134
134
|
componentName: "VueUiCirclePack",
|
|
135
135
|
type: "dataset"
|
|
136
|
-
}), A.value = await Ge(K.value),
|
|
136
|
+
}), A.value = await Ge(K.value), S.value = Be(A.value, 1).join(" "), J.value = Pe($.value);
|
|
137
137
|
const t = zt(() => {
|
|
138
138
|
const { width: n, height: l, heightTitle: m, heightNoTitle: z } = _t({
|
|
139
139
|
chart: $.value,
|
|
@@ -143,14 +143,14 @@ const St = ["id"], It = ["xmlns", "viewBox", "height", "width"], Ot = ["x", "y",
|
|
|
143
143
|
Te.value = e.value.style.chart.title.text ? m : z, requestAnimationFrame(() => {
|
|
144
144
|
E.value.w = ce, E.value.h = ve - Te.value, Ae(async () => {
|
|
145
145
|
const et = K.value.map((tt) => ({ ...tt }));
|
|
146
|
-
A.value = await Ge(et, E.value.h, E.value.w), R.value = Be(A.value, 1),
|
|
146
|
+
A.value = await Ge(et, E.value.h, E.value.w), R.value = Be(A.value, 1), S.value = R.value.join(" "), J.value = Pe($.value);
|
|
147
147
|
});
|
|
148
148
|
});
|
|
149
149
|
});
|
|
150
|
-
|
|
150
|
+
O.value && (M.value && O.value.unobserve(M.value), O.value.disconnect()), O.value = new ResizeObserver(t), M.value = $.value.parentNode, O.value.observe(M.value);
|
|
151
151
|
}
|
|
152
152
|
at(ne), ot(() => {
|
|
153
|
-
|
|
153
|
+
O.value && (M.value && O.value.unobserve(M.value), O.value.disconnect());
|
|
154
154
|
});
|
|
155
155
|
function Pe(t) {
|
|
156
156
|
if (!t || !t.parentElement)
|
|
@@ -172,26 +172,26 @@ const St = ["id"], It = ["xmlns", "viewBox", "height", "width"], Ot = ["x", "y",
|
|
|
172
172
|
id: De(),
|
|
173
173
|
color: l
|
|
174
174
|
};
|
|
175
|
-
}).filter((t) => ![null, void 0, 1 / 0, -1 / 0].includes(t.value))), A = b([]),
|
|
176
|
-
function
|
|
175
|
+
}).filter((t) => ![null, void 0, 1 / 0, -1 / 0].includes(t.value))), A = b([]), S = b("0 0 100 100"), B = w(() => Math.max(...A.value.map((t) => t.r)));
|
|
176
|
+
function Oe(t, n) {
|
|
177
177
|
return n / B.value * t;
|
|
178
178
|
}
|
|
179
179
|
const d = b(null);
|
|
180
180
|
function Ye(t) {
|
|
181
181
|
e.value.style.chart.circles.zoom.show && (d.value = t);
|
|
182
182
|
}
|
|
183
|
-
const D = w(() => d.value ? d.value.r : 0), re = w(() => F.value ? D.value : d.value ? d.value.r > R.value[3] / 6 * e.value.style.chart.circles.zoom.zoomRatio ? d.value.r : R.value[3] / 6 * e.value.style.chart.circles.zoom.zoomRatio : 0),
|
|
183
|
+
const D = w(() => d.value ? d.value.r : 0), re = w(() => F.value ? D.value : d.value ? d.value.r > R.value[3] / 6 * e.value.style.chart.circles.zoom.zoomRatio ? d.value.r : R.value[3] / 6 * e.value.style.chart.circles.zoom.zoomRatio : 0), I = b(0), Ze = w(() => ({
|
|
184
184
|
pointerEvents: "none",
|
|
185
|
-
opacity:
|
|
185
|
+
opacity: I.value,
|
|
186
186
|
filter: `drop-shadow(0px 0px 6px ${Le(d.value.color, e.value.style.chart.circles.zoom.shadowForce)})`
|
|
187
187
|
})), G = b(D.value);
|
|
188
188
|
st(() => {
|
|
189
|
-
G.value = D.value,
|
|
189
|
+
G.value = D.value, I.value = 0;
|
|
190
190
|
let t = null;
|
|
191
191
|
function n(l) {
|
|
192
192
|
t || (t = l);
|
|
193
193
|
const m = (l - t) / e.value.style.chart.circles.zoom.animationFrameMs;
|
|
194
|
-
m < 1 ? (G.value = D.value + (re.value - D.value) * m,
|
|
194
|
+
m < 1 ? (G.value = D.value + (re.value - D.value) * m, I.value = 0 + e.value.style.chart.circles.zoom.opacity * m, requestAnimationFrame(n)) : (G.value = re.value, I.value = e.value.style.chart.circles.zoom.opacity);
|
|
195
195
|
}
|
|
196
196
|
requestAnimationFrame(n);
|
|
197
197
|
});
|
|
@@ -223,7 +223,7 @@ const St = ["id"], It = ["xmlns", "viewBox", "height", "width"], Ot = ["x", "y",
|
|
|
223
223
|
})
|
|
224
224
|
);
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Se(t) {
|
|
227
227
|
if (!t)
|
|
228
228
|
return 0;
|
|
229
229
|
const n = t.r / ue(t).length * (ue(t).length === 1 ? 1 : 2);
|
|
@@ -245,7 +245,7 @@ const St = ["id"], It = ["xmlns", "viewBox", "height", "width"], Ot = ["x", "y",
|
|
|
245
245
|
})).toSorted((l, m) => m.value - l.value), n = t.map((l) => l.value);
|
|
246
246
|
return { head: t, body: n };
|
|
247
247
|
});
|
|
248
|
-
function
|
|
248
|
+
function Ie() {
|
|
249
249
|
Ae(() => {
|
|
250
250
|
const t = Q.value.head.map((m, z) => [[
|
|
251
251
|
m.name
|
|
@@ -302,7 +302,7 @@ const St = ["id"], It = ["xmlns", "viewBox", "height", "width"], Ot = ["x", "y",
|
|
|
302
302
|
}
|
|
303
303
|
return i({
|
|
304
304
|
getData: Qe,
|
|
305
|
-
generateCsv:
|
|
305
|
+
generateCsv: Ie,
|
|
306
306
|
generatePdf: _e,
|
|
307
307
|
generateImage: $e,
|
|
308
308
|
toggleTable: Fe,
|
|
@@ -371,12 +371,13 @@ const St = ["id"], It = ["xmlns", "viewBox", "height", "width"], Ot = ["x", "y",
|
|
|
371
371
|
isFullscreen: j.value,
|
|
372
372
|
chartElement: $.value,
|
|
373
373
|
position: e.value.userOptions.position,
|
|
374
|
+
callbacks: e.value.userOptions.callbacks,
|
|
374
375
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
375
376
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
376
377
|
isAnnotation: F.value,
|
|
377
378
|
onToggleFullscreen: Ke,
|
|
378
379
|
onGeneratePdf: u(_e),
|
|
379
|
-
onGenerateCsv:
|
|
380
|
+
onGenerateCsv: Ie,
|
|
380
381
|
onGenerateImage: u($e),
|
|
381
382
|
onToggleTable: Fe,
|
|
382
383
|
onToggleAnnotator: ie,
|
|
@@ -433,13 +434,13 @@ const St = ["id"], It = ["xmlns", "viewBox", "height", "width"], Ot = ["x", "y",
|
|
|
433
434
|
]),
|
|
434
435
|
key: "6"
|
|
435
436
|
} : void 0
|
|
436
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : k("", !0),
|
|
437
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "callbacks", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : k("", !0),
|
|
437
438
|
N.value ? (f(), g("svg", {
|
|
438
439
|
key: 4,
|
|
439
440
|
ref_key: "svgRef",
|
|
440
441
|
ref: ge,
|
|
441
442
|
xmlns: u(mt),
|
|
442
|
-
viewBox:
|
|
443
|
+
viewBox: S.value,
|
|
443
444
|
height: E.value.h,
|
|
444
445
|
width: E.value.w,
|
|
445
446
|
class: Ee({ "vue-data-ui-fullscreen--on": j.value, "vue-data-ui-fulscreen--off": !j.value }),
|
|
@@ -448,16 +449,16 @@ const St = ["id"], It = ["xmlns", "viewBox", "height", "width"], Ot = ["x", "y",
|
|
|
448
449
|
rt(u(o)),
|
|
449
450
|
t.$slots["chart-background"] ? (f(), g("foreignObject", {
|
|
450
451
|
key: 0,
|
|
451
|
-
x:
|
|
452
|
-
y:
|
|
453
|
-
width:
|
|
454
|
-
height:
|
|
452
|
+
x: S.value.x,
|
|
453
|
+
y: S.value.y,
|
|
454
|
+
width: S.value.width,
|
|
455
|
+
height: S.value.height,
|
|
455
456
|
style: {
|
|
456
457
|
pointerEvents: "none"
|
|
457
458
|
}
|
|
458
459
|
}, [
|
|
459
460
|
x(t.$slots, "chart-background", {}, void 0, !0)
|
|
460
|
-
], 8,
|
|
461
|
+
], 8, It)) : k("", !0),
|
|
461
462
|
(f(!0), g(le, null, ut(A.value, (l) => (f(), g(le, null, [
|
|
462
463
|
C("defs", null, [
|
|
463
464
|
C("radialGradient", {
|
|
@@ -513,7 +514,7 @@ const St = ["id"], It = ["xmlns", "viewBox", "height", "width"], Ot = ["x", "y",
|
|
|
513
514
|
t.$slots["data-label"] ? x(t.$slots, "data-label", Re({
|
|
514
515
|
key: 2,
|
|
515
516
|
ref_for: !0
|
|
516
|
-
}, { ...l, createTSpans: u(bt), fontSize: { name: l.r / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio, value:
|
|
517
|
+
}, { ...l, createTSpans: u(bt), fontSize: { name: l.r / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio, value: Se(l) * e.value.style.chart.circles.labels.value.fontSizeRatio }, color: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : u(Y)(l.color) }), void 0, !0) : (f(), g(le, { key: 3 }, [
|
|
517
518
|
e.value.style.chart.circles.labels.name.show && l.name ? (f(), g("text", {
|
|
518
519
|
key: 0,
|
|
519
520
|
style: {
|
|
@@ -522,7 +523,7 @@ const St = ["id"], It = ["xmlns", "viewBox", "height", "width"], Ot = ["x", "y",
|
|
|
522
523
|
},
|
|
523
524
|
opacity: d.value && !F.value ? 0.2 : 1,
|
|
524
525
|
x: l.x,
|
|
525
|
-
y: l.y +
|
|
526
|
+
y: l.y + Oe(l.r, e.value.style.chart.circles.labels.name.offsetY) - l.r / 10,
|
|
526
527
|
"font-size": l.r / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio,
|
|
527
528
|
fill: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : u(Y)(l.color),
|
|
528
529
|
"font-weight": e.value.style.chart.circles.labels.name.bold ? "bold" : "normal",
|
|
@@ -536,8 +537,8 @@ const St = ["id"], It = ["xmlns", "viewBox", "height", "width"], Ot = ["x", "y",
|
|
|
536
537
|
},
|
|
537
538
|
opacity: d.value && !F.value ? 0.2 : 1,
|
|
538
539
|
x: l.x,
|
|
539
|
-
y: l.y +
|
|
540
|
-
"font-size":
|
|
540
|
+
y: l.y + Oe(l.r, e.value.style.chart.circles.labels.value.offsetY) + l.r / 2.5,
|
|
541
|
+
"font-size": Se(l) * e.value.style.chart.circles.labels.value.fontSizeRatio,
|
|
541
542
|
fill: e.value.style.chart.circles.labels.value.color ? e.value.style.chart.circles.labels.value.color : u(Y)(l.color),
|
|
542
543
|
"font-weight": e.value.style.chart.circles.labels.value.bold ? "bold" : "normal",
|
|
543
544
|
"text-anchor": "middle"
|
|
@@ -550,19 +551,19 @@ const St = ["id"], It = ["xmlns", "viewBox", "height", "width"], Ot = ["x", "y",
|
|
|
550
551
|
cx: d.value.x,
|
|
551
552
|
cy: d.value.y,
|
|
552
553
|
r: G.value,
|
|
553
|
-
opacity:
|
|
554
|
+
opacity: I.value,
|
|
554
555
|
stroke: e.value.style.chart.circles.stroke,
|
|
555
556
|
"stroke-width": e.value.style.chart.circles.strokeWidth * B.value / 100,
|
|
556
557
|
fill: e.value.style.chart.circles.gradient.show ? `url(#${d.value.id})` : d.value.color
|
|
557
558
|
}, null, 12, Ht),
|
|
558
559
|
t.$slots["zoom-label"] ? (f(), g("g", Bt, [
|
|
559
|
-
x(t.$slots, "zoom-label", q(W({ ...d.value, zoomOpacity:
|
|
560
|
+
x(t.$slots, "zoom-label", q(W({ ...d.value, zoomOpacity: I.value, currentRadius: G.value, fontSize: U.value })), void 0, !0)
|
|
560
561
|
])) : (f(), g("g", Gt, [
|
|
561
562
|
C("text", {
|
|
562
563
|
style: {
|
|
563
564
|
pointerEvents: "none"
|
|
564
565
|
},
|
|
565
|
-
opacity:
|
|
566
|
+
opacity: I.value,
|
|
566
567
|
x: d.value.x,
|
|
567
568
|
y: d.value.y + e.value.style.chart.circles.zoom.label.name.offsetY - U.value.name / 4,
|
|
568
569
|
"text-anchor": "middle",
|
|
@@ -574,7 +575,7 @@ const St = ["id"], It = ["xmlns", "viewBox", "height", "width"], Ot = ["x", "y",
|
|
|
574
575
|
style: {
|
|
575
576
|
pointerEvents: "none"
|
|
576
577
|
},
|
|
577
|
-
opacity:
|
|
578
|
+
opacity: I.value,
|
|
578
579
|
x: d.value.x,
|
|
579
580
|
y: d.value.y + U.value.value + e.value.style.chart.circles.zoom.label.value.offsetY,
|
|
580
581
|
"text-anchor": "middle",
|
|
@@ -585,9 +586,9 @@ const St = ["id"], It = ["xmlns", "viewBox", "height", "width"], Ot = ["x", "y",
|
|
|
585
586
|
]))
|
|
586
587
|
], 64)) : k("", !0),
|
|
587
588
|
x(t.$slots, "svg", {
|
|
588
|
-
svg: { ...
|
|
589
|
+
svg: { ...S.value }
|
|
589
590
|
}, void 0, !0)
|
|
590
|
-
], 14,
|
|
591
|
+
], 14, St)) : k("", !0),
|
|
591
592
|
N.value ? k("", !0) : (f(), V(u(s), {
|
|
592
593
|
key: 5,
|
|
593
594
|
config: {
|
|
@@ -648,9 +649,9 @@ const St = ["id"], It = ["xmlns", "viewBox", "height", "width"], Ot = ["x", "y",
|
|
|
648
649
|
]),
|
|
649
650
|
_: 1
|
|
650
651
|
}, 8, ["config"])) : k("", !0)
|
|
651
|
-
], 46,
|
|
652
|
+
], 46, Ot));
|
|
652
653
|
}
|
|
653
|
-
}, ol = /* @__PURE__ */ Tt(Xt, [["__scopeId", "data-v-
|
|
654
|
+
}, ol = /* @__PURE__ */ Tt(Xt, [["__scopeId", "data-v-e507b533"]]);
|
|
654
655
|
export {
|
|
655
656
|
ol as default
|
|
656
657
|
};
|
|
@@ -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-rMR-JeOJ.js";
|
|
3
|
+
import { u as L, c as z, X as O, s as I } from "./index-CH_mJIWj.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",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as ae, computed as V, defineAsyncComponent as o, ref as r, watch as ie, createElementBlock as y, openBlock as g, createCommentVNode as N, createElementVNode as b, normalizeStyle as S, createStaticVNode as ne, Fragment as W, renderList as le, normalizeClass as re, renderSlot as z, createBlock as se, resolveDynamicComponent as de, mergeProps as ce } from "vue";
|
|
2
|
-
import he from "./pdf-
|
|
3
|
-
import { u as ve } from "./useNestedProp-
|
|
4
|
-
import { u as pe, c as fe } from "./index-
|
|
2
|
+
import he from "./pdf-Jun3ogRn.js";
|
|
3
|
+
import { u as ve } from "./useNestedProp-rMR-JeOJ.js";
|
|
4
|
+
import { u as pe, c as fe } from "./index-CH_mJIWj.js";
|
|
5
5
|
import { _ as me } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const ge = {
|
|
7
7
|
key: 0,
|
|
@@ -20,65 +20,65 @@ const ge = {
|
|
|
20
20
|
"2fbe8dda": Z.value
|
|
21
21
|
}));
|
|
22
22
|
const L = {
|
|
23
|
-
VueDataUi: o(() => import("./vue-data-ui-
|
|
24
|
-
VueUi3dBar: o(() => import("./vue-ui-3d-bar-
|
|
25
|
-
VueUiAccordion: o(() => import("./vue-ui-accordion-
|
|
26
|
-
VueUiAgePyramid: o(() => import("./vue-ui-age-pyramid-
|
|
27
|
-
VueUiAnnotator: o(() => import("./vue-ui-annotator-
|
|
28
|
-
VueUiCandlestick: o(() => import("./vue-ui-candlestick-
|
|
29
|
-
VueUiChestnut: o(() => import("./vue-ui-chestnut-
|
|
30
|
-
VueUiDigits: o(() => import("./vue-ui-digits-
|
|
31
|
-
VueUiDonut: o(() => import("./vue-ui-donut-
|
|
32
|
-
VueUiDonutEvolution: o(() => import("./vue-ui-donut-evolution-
|
|
33
|
-
VueUiDumbbell: o(() => import("./vue-ui-dumbbell-
|
|
34
|
-
VueUiFlow: o(() => import("./vue-ui-flow-
|
|
35
|
-
VueUiGalaxy: o(() => import("./vue-ui-galaxy-
|
|
36
|
-
VueUiGauge: o(() => import("./vue-ui-gauge-
|
|
37
|
-
VueUiHeatmap: o(() => import("./vue-ui-heatmap-
|
|
38
|
-
VueUiKpi: o(() => import("./vue-ui-kpi-
|
|
39
|
-
VueUiMiniLoader: o(() => import("./vue-ui-mini-loader-
|
|
40
|
-
VueUiMolecule: o(() => import("./vue-ui-molecule-
|
|
41
|
-
VueUiMoodRadar: o(() => import("./vue-ui-mood-radar-
|
|
42
|
-
VueUiNestedDonuts: o(() => import("./vue-ui-nested-donuts-
|
|
43
|
-
VueUiOnion: o(() => import("./vue-ui-onion-
|
|
44
|
-
VueUiParallelCoordinatePlot: o(() => import("./vue-ui-parallel-coordinate-plot-
|
|
45
|
-
VueUiQuadrant: o(() => import("./vue-ui-quadrant-
|
|
46
|
-
VueUiQuickChart: o(() => import("./vue-ui-quick-chart-
|
|
47
|
-
VueUiRadar: o(() => import("./vue-ui-radar-
|
|
48
|
-
VueUiRating: o(() => import("./vue-ui-rating-
|
|
49
|
-
VueUiRelationCircle: o(() => import("./vue-ui-relation-circle-
|
|
50
|
-
VueUiRings: o(() => import("./vue-ui-rings-
|
|
51
|
-
VueUiScatter: o(() => import("./vue-ui-scatter-
|
|
52
|
-
VueUiSkeleton: o(() => import("./vue-ui-skeleton-
|
|
53
|
-
VueUiSmiley: o(() => import("./vue-ui-smiley-
|
|
54
|
-
VueUiSparkHistogram: o(() => import("./vue-ui-sparkhistogram-
|
|
55
|
-
VueUiSparkStackbar: o(() => import("./vue-ui-sparkstackbar-
|
|
56
|
-
VueUiSparkTrend: o(() => import("./vue-ui-spark-trend-
|
|
57
|
-
VueUiSparkbar: o(() => import("./vue-ui-sparkbar-
|
|
58
|
-
VueUiSparkgauge: o(() => import("./vue-ui-sparkgauge-
|
|
59
|
-
VueUiSparkline: o(() => import("./vue-ui-sparkline-
|
|
60
|
-
VueUiStripPlot: o(() => import("./vue-ui-strip-plot-
|
|
61
|
-
VueUiTable: o(() => import("./vue-ui-table-
|
|
62
|
-
VueUiTableHeatmap: o(() => import("./vue-ui-table-heatmap-
|
|
63
|
-
VueUiTableSparkline: o(() => import("./vue-ui-table-sparkline-
|
|
64
|
-
VueUiThermometer: o(() => import("./vue-ui-thermometer-
|
|
65
|
-
VueUiTimer: o(() => import("./vue-ui-timer-
|
|
66
|
-
VueUiTiremarks: o(() => import("./vue-ui-tiremarks-
|
|
67
|
-
VueUiTreemap: o(() => import("./vue-ui-treemap-
|
|
68
|
-
VueUiVerticalBar: o(() => import("./vue-ui-vertical-bar-
|
|
69
|
-
VueUiWaffle: o(() => import("./vue-ui-waffle-
|
|
70
|
-
VueUiWheel: o(() => import("./vue-ui-wheel-
|
|
71
|
-
VueUiWordCloud: o(() => import("./vue-ui-word-cloud-
|
|
72
|
-
VueUiXy: o(() => import("./vue-ui-xy-
|
|
73
|
-
VueUiXyCanvas: o(() => import("./vue-ui-xy-canvas-
|
|
74
|
-
VueUiCarouselTable: o(() => import("./vue-ui-carousel-table-
|
|
75
|
-
VueUiGizmo: o(() => import("./vue-ui-gizmo-
|
|
76
|
-
VueUiStackbar: o(() => import("./vue-ui-stackbar-
|
|
77
|
-
VueUiBullet: o(() => import("./vue-ui-bullet-
|
|
78
|
-
VueUiFunnel: o(() => import("./vue-ui-funnel-
|
|
79
|
-
VueUiHistoryPlot: o(() => import("./vue-ui-history-plot-
|
|
80
|
-
VueUiCirclePack: o(() => import("./vue-ui-circle-pack-
|
|
81
|
-
VueUiWorld: o(() => import("./vue-ui-world-
|
|
23
|
+
VueDataUi: o(() => import("./vue-data-ui-D7AaTKU6.js")),
|
|
24
|
+
VueUi3dBar: o(() => import("./vue-ui-3d-bar-BfLLrwWi.js")),
|
|
25
|
+
VueUiAccordion: o(() => import("./vue-ui-accordion-Ds4zkPIx.js")),
|
|
26
|
+
VueUiAgePyramid: o(() => import("./vue-ui-age-pyramid-C7ca5TG5.js")),
|
|
27
|
+
VueUiAnnotator: o(() => import("./vue-ui-annotator-DG2z1gw8.js")),
|
|
28
|
+
VueUiCandlestick: o(() => import("./vue-ui-candlestick-7Yo_kEV0.js")),
|
|
29
|
+
VueUiChestnut: o(() => import("./vue-ui-chestnut-DLlFv6Uj.js")),
|
|
30
|
+
VueUiDigits: o(() => import("./vue-ui-digits-8Ox6q1Ov.js")),
|
|
31
|
+
VueUiDonut: o(() => import("./vue-ui-donut-Hk4EaVhb.js")),
|
|
32
|
+
VueUiDonutEvolution: o(() => import("./vue-ui-donut-evolution-DzgYokPU.js")),
|
|
33
|
+
VueUiDumbbell: o(() => import("./vue-ui-dumbbell-CAC44_Hu.js")),
|
|
34
|
+
VueUiFlow: o(() => import("./vue-ui-flow-CYWiZjrP.js")),
|
|
35
|
+
VueUiGalaxy: o(() => import("./vue-ui-galaxy-BBfg84E4.js")),
|
|
36
|
+
VueUiGauge: o(() => import("./vue-ui-gauge-BJgJgef_.js")),
|
|
37
|
+
VueUiHeatmap: o(() => import("./vue-ui-heatmap-D65wOgqe.js")),
|
|
38
|
+
VueUiKpi: o(() => import("./vue-ui-kpi-uT6fsAaO.js")),
|
|
39
|
+
VueUiMiniLoader: o(() => import("./vue-ui-mini-loader-CKVlBiYB.js")),
|
|
40
|
+
VueUiMolecule: o(() => import("./vue-ui-molecule-BwtHZtGN.js")),
|
|
41
|
+
VueUiMoodRadar: o(() => import("./vue-ui-mood-radar-Vf4_-R-m.js")),
|
|
42
|
+
VueUiNestedDonuts: o(() => import("./vue-ui-nested-donuts-BVkSns4S.js")),
|
|
43
|
+
VueUiOnion: o(() => import("./vue-ui-onion-UzMmwtvF.js")),
|
|
44
|
+
VueUiParallelCoordinatePlot: o(() => import("./vue-ui-parallel-coordinate-plot-Dk5T3ZAr.js")),
|
|
45
|
+
VueUiQuadrant: o(() => import("./vue-ui-quadrant-Ck7xALez.js")),
|
|
46
|
+
VueUiQuickChart: o(() => import("./vue-ui-quick-chart-B62Pa0nG.js")),
|
|
47
|
+
VueUiRadar: o(() => import("./vue-ui-radar-DMfv2hSb.js")),
|
|
48
|
+
VueUiRating: o(() => import("./vue-ui-rating-CFYHJrxj.js")),
|
|
49
|
+
VueUiRelationCircle: o(() => import("./vue-ui-relation-circle-RWlfC5BI.js")),
|
|
50
|
+
VueUiRings: o(() => import("./vue-ui-rings-CyX30Ccv.js")),
|
|
51
|
+
VueUiScatter: o(() => import("./vue-ui-scatter-BEDnWByj.js")),
|
|
52
|
+
VueUiSkeleton: o(() => import("./vue-ui-skeleton-C6PWt_m5.js")),
|
|
53
|
+
VueUiSmiley: o(() => import("./vue-ui-smiley-79itAe84.js")),
|
|
54
|
+
VueUiSparkHistogram: o(() => import("./vue-ui-sparkhistogram-C_LV99i1.js")),
|
|
55
|
+
VueUiSparkStackbar: o(() => import("./vue-ui-sparkstackbar-CobB11uw.js")),
|
|
56
|
+
VueUiSparkTrend: o(() => import("./vue-ui-spark-trend-AaA4KuaH.js")),
|
|
57
|
+
VueUiSparkbar: o(() => import("./vue-ui-sparkbar-CYBZeaor.js")),
|
|
58
|
+
VueUiSparkgauge: o(() => import("./vue-ui-sparkgauge-ElGarXVS.js")),
|
|
59
|
+
VueUiSparkline: o(() => import("./vue-ui-sparkline-DwzCA8d6.js")),
|
|
60
|
+
VueUiStripPlot: o(() => import("./vue-ui-strip-plot-9VK_Y3SC.js")),
|
|
61
|
+
VueUiTable: o(() => import("./vue-ui-table-DFTE1OH5.js")),
|
|
62
|
+
VueUiTableHeatmap: o(() => import("./vue-ui-table-heatmap-DvyJx0j7.js")),
|
|
63
|
+
VueUiTableSparkline: o(() => import("./vue-ui-table-sparkline-SGsBnQTK.js")),
|
|
64
|
+
VueUiThermometer: o(() => import("./vue-ui-thermometer-DEMS6HXl.js")),
|
|
65
|
+
VueUiTimer: o(() => import("./vue-ui-timer-CQ71yJ_N.js")),
|
|
66
|
+
VueUiTiremarks: o(() => import("./vue-ui-tiremarks-CsN_QtUK.js")),
|
|
67
|
+
VueUiTreemap: o(() => import("./vue-ui-treemap-B0CPNusH.js")),
|
|
68
|
+
VueUiVerticalBar: o(() => import("./vue-ui-vertical-bar-Cxv-ahMT.js")),
|
|
69
|
+
VueUiWaffle: o(() => import("./vue-ui-waffle-TgNNo9UX.js")),
|
|
70
|
+
VueUiWheel: o(() => import("./vue-ui-wheel-Bq0ZLc-R.js")),
|
|
71
|
+
VueUiWordCloud: o(() => import("./vue-ui-word-cloud-D28awCaT.js")),
|
|
72
|
+
VueUiXy: o(() => import("./vue-ui-xy-CEFkua9H.js")),
|
|
73
|
+
VueUiXyCanvas: o(() => import("./vue-ui-xy-canvas-oHhzL0ui.js")),
|
|
74
|
+
VueUiCarouselTable: o(() => import("./vue-ui-carousel-table-Det9Kwmy.js")),
|
|
75
|
+
VueUiGizmo: o(() => import("./vue-ui-gizmo-DBclpybR.js")),
|
|
76
|
+
VueUiStackbar: o(() => import("./vue-ui-stackbar-B4SxM5Ix.js")),
|
|
77
|
+
VueUiBullet: o(() => import("./vue-ui-bullet-Dh25QAEH.js")),
|
|
78
|
+
VueUiFunnel: o(() => import("./vue-ui-funnel-C2eqxh_8.js")),
|
|
79
|
+
VueUiHistoryPlot: o(() => import("./vue-ui-history-plot-CHhDy7Da.js")),
|
|
80
|
+
VueUiCirclePack: o(() => import("./vue-ui-circle-pack-DdRcdWmx.js")),
|
|
81
|
+
VueUiWorld: o(() => import("./vue-ui-world-BhUsfhY5.js"))
|
|
82
82
|
}, { vue_ui_dashboard: F } = pe(), D = R, s = V(() => ve({
|
|
83
83
|
userConfig: D.config,
|
|
84
84
|
defaultConfig: F
|