vue-data-ui 3.22.5 → 3.22.7
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-CgzmXCW_.js → Arrow-DaGI9u-b.js} +1 -1
- package/dist/{BaseDraggableDialog-DjzNWkiE.js → BaseDraggableDialog-1wwwdwV2.js} +2 -2
- package/dist/{BaseIcon-xBuW2jjI.js → BaseIcon-_-BX7be3.js} +1 -1
- package/dist/{BaseLegendToggle-C4Usj0LI.js → BaseLegendToggle-CHnlKalt.js} +1 -1
- package/dist/{BaseZoomControls-Cg9o2J-q.js → BaseZoomControls-C9bdZSCj.js} +2 -2
- package/dist/{ColorPicker-Usv7badH.js → ColorPicker-TB3KhY3j.js} +2 -2
- package/dist/{DataTable-PidUPOit.js → DataTable-CVF7DoZn.js} +2 -2
- package/dist/{Legend-DXOzbXb-.js → Legend-kAr7Vqqu.js} +2 -2
- package/dist/{NonSvgPenAndPaper-OIs8I25K.js → NonSvgPenAndPaper-CEiv7_gM.js} +3 -3
- package/dist/{PackageVersion-CqE8ssFu.js → PackageVersion-Dse0n05o.js} +1 -1
- package/dist/{PenAndPaper-ISUbDKXq.js → PenAndPaper-gaV1QPpP.js} +3 -3
- package/dist/{Shape-BnF9aMPX.js → Shape-CiQIxyyT.js} +1 -1
- package/dist/{Slicer-hEvKOLw3.js → Slicer-6FOtg9py.js} +2 -2
- package/dist/{SlicerPreview-BDI-aCXE.js → SlicerPreview-DUywypFu.js} +2 -2
- package/dist/{SparkTooltip-DaWSTzfA.js → SparkTooltip-B-qsPj68.js} +1 -1
- package/dist/{Title-DDEEO-Nr.js → Title-PiTKr6sp.js} +1 -1
- package/dist/{Tooltip-BhKov422.js → Tooltip-B8yYfISA.js} +1 -1
- package/dist/{UserOptions-BxT1XHzN.js → UserOptions-BL9VlHop.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.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-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.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-geo.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-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.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-rating.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-smiley.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-stackline.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/{dom-to-png-ZOysoMwu.js → dom-to-png-BZjYWNEg.js} +1 -1
- package/dist/{exposedLib-C2U48XK7.js → exposedLib-Be0ifkti.js} +1 -1
- package/dist/{img-B29J8tV5.js → img-B_abIg0o.js} +1 -1
- package/dist/{labelUtils-BFcL_t-A.js → labelUtils-CTDRZdP1.js} +1 -1
- package/dist/{lib-CuwHGt1j.js → lib-EAmk-PgA.js} +19 -9
- package/dist/{package-YOcaZtwF.js → package-DeMimPej.js} +1 -1
- package/dist/{pdf-ymYt9Lee.js → pdf-B6qrdEqB.js} +1 -1
- package/dist/{render-common-B80rr2N_.js → render-common-DMai0gHB.js} +22 -22
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +13 -0
- package/dist/types/vue-ui-treemap.d.ts +3 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js → useAutoSizeLabelsInsideViewbox-CyOGrdD_.js} +1 -1
- package/dist/{useConfig-pVLia3dt.js → useConfig-DYM3f6EI.js} +5 -3
- package/dist/{useNestedProp-BjkuFaz1.js → useNestedProp-D8XqxgOU.js} +1 -1
- package/dist/{useObjectBindings-C1XuDxFr.js → useObjectBindings-CD31syQb.js} +1 -1
- package/dist/{usePrinter-C0wAS8yc.js → usePrinter-DnGzpp6Q.js} +2 -2
- package/dist/utils.js +10 -10
- package/dist/{vue-data-ui-mqURXOql.js → vue-data-ui-D6qVWloL.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-BZ1Slxfu.js → vue-ui-3d-bar-CjNuWXoA.js} +7 -7
- package/dist/{vue-ui-accordion-B64IJyPU.js → vue-ui-accordion-Dzz8XhX3.js} +4 -4
- package/dist/vue-ui-age-pyramid-CC7Dxli-.js +1238 -0
- package/dist/{vue-ui-annotator-CU4CdKMm.js → vue-ui-annotator-DXZumSP8.js} +7 -7
- package/dist/{vue-ui-bullet-RGCGF_cO.js → vue-ui-bullet-Dde6FhbR.js} +8 -8
- package/dist/{vue-ui-bump-CiUmHi6k.js → vue-ui-bump-C5pni1JV.js} +7 -7
- package/dist/{vue-ui-candlestick-BJUk5fMm.js → vue-ui-candlestick-Ctw65O4_.js} +444 -441
- package/dist/{vue-ui-carousel-table-BksIDurC.js → vue-ui-carousel-table-BEUvhUH0.js} +5 -5
- package/dist/{vue-ui-chestnut-B3OHA5rg.js → vue-ui-chestnut-C3IbAdkQ.js} +6 -6
- package/dist/{vue-ui-chord-DETV2viY.js → vue-ui-chord-5eCWG4br.js} +9 -9
- package/dist/{vue-ui-circle-pack-DddaioRm.js → vue-ui-circle-pack-Cq4lkmee.js} +7 -7
- package/dist/{vue-ui-cursor-D2-hWt_G.js → vue-ui-cursor-DLJcFwRZ.js} +4 -4
- package/dist/{vue-ui-dag-Dp7pV6Ps.js → vue-ui-dag-DemsIecS.js} +8 -8
- package/dist/{vue-ui-dashboard-D91C5cXo.js → vue-ui-dashboard-DWHD_wNN.js} +70 -70
- package/dist/{vue-ui-digits-CMA3U4ZS.js → vue-ui-digits-sIKc85vS.js} +4 -4
- package/dist/vue-ui-donut-CLheJPcO.js +2410 -0
- package/dist/{vue-ui-donut-DpiS28CQ.js → vue-ui-donut-Dp6GW0dw.js} +91 -91
- package/dist/{vue-ui-donut-evolution-2B61hvv2.js → vue-ui-donut-evolution-zmRPpJLj.js} +10 -10
- package/dist/{vue-ui-dumbbell-Cmr65TNE.js → vue-ui-dumbbell-bSbgHd0U.js} +8 -8
- package/dist/{vue-ui-flow-7Yfsu6AY.js → vue-ui-flow-q_M7O1BK.js} +8 -8
- package/dist/{vue-ui-funnel-BLRBDW1a.js → vue-ui-funnel-BEZUEuuh.js} +7 -7
- package/dist/vue-ui-galaxy-DCCWmIyH.js +1077 -0
- package/dist/{vue-ui-gauge-yo4G5HMt.js → vue-ui-gauge-B1ljgfE1.js} +8 -8
- package/dist/{vue-ui-geo-BOHI6oMZ.js → vue-ui-geo-CM59rpnj.js} +8 -8
- package/dist/{vue-ui-gizmo-DI-35oK-.js → vue-ui-gizmo-D2RL6IVp.js} +4 -4
- package/dist/{vue-ui-heatmap-DBVM90VE.js → vue-ui-heatmap-BX6PQxML.js} +23 -23
- package/dist/{vue-ui-history-plot-BiWpOHKE.js → vue-ui-history-plot-DaHAeQph.js} +9 -9
- package/dist/{vue-ui-horizontal-bar-XBrvSxtJ.js → vue-ui-horizontal-bar-CTW6l4n3.js} +20 -20
- package/dist/{vue-ui-kpi-55wwhSBh.js → vue-ui-kpi-DLbP7lJR.js} +4 -4
- package/dist/{vue-ui-mini-loader-nOsOsA2V.js → vue-ui-mini-loader-DPHzHsM7.js} +3 -3
- package/dist/{vue-ui-molecule-DB3rmTw1.js → vue-ui-molecule-aD0SMTiX.js} +8 -8
- package/dist/{vue-ui-mood-radar-izcbwGOc.js → vue-ui-mood-radar-CCWaPr0P.js} +8 -8
- package/dist/{vue-ui-nested-donuts-DRJ1QT2n.js → vue-ui-nested-donuts--BCPWkl7.js} +21 -21
- package/dist/{vue-ui-onion-xTZOmmtb.js → vue-ui-onion-s4iMCGAP.js} +17 -17
- package/dist/{vue-ui-parallel-coordinate-plot-BxQ7D2_o.js → vue-ui-parallel-coordinate-plot-CfgvpyoC.js} +17 -17
- package/dist/{vue-ui-quadrant-BvAmtyAE.js → vue-ui-quadrant-T_UmRAAy.js} +15 -15
- package/dist/{vue-ui-quick-chart-CJ1xQgYc.js → vue-ui-quick-chart-D1OWBgQJ.js} +446 -446
- package/dist/{vue-ui-radar-C26C6p7e.js → vue-ui-radar-CHjeGOMC.js} +34 -34
- package/dist/{vue-ui-rating-CRziryE2.js → vue-ui-rating-Bek8Tgr-.js} +3 -3
- package/dist/{vue-ui-relation-circle-Dl1aWFAI.js → vue-ui-relation-circle-DRZGQ_UX.js} +8 -8
- package/dist/{vue-ui-ridgeline-BbJa5C-d.js → vue-ui-ridgeline-DIODGiu8.js} +10 -10
- package/dist/{vue-ui-rings-CyrvskTi.js → vue-ui-rings-CcdUSXGG.js} +17 -17
- package/dist/vue-ui-scatter-CixnqLoi.js +2413 -0
- package/dist/{vue-ui-skeleton-C4D0i9ho.js → vue-ui-skeleton-Fmue6DAG.js} +4 -4
- package/dist/{vue-ui-smiley-BTvDy8Fm.js → vue-ui-smiley-BVMI5vUy.js} +3 -3
- package/dist/{vue-ui-spark-trend-CMb7UI2t.js → vue-ui-spark-trend-DfZeLiWA.js} +4 -4
- package/dist/{vue-ui-sparkbar-DEawjWhg.js → vue-ui-sparkbar-Cl1e49sw.js} +4 -4
- package/dist/{vue-ui-sparkgauge-mubHGQF_.js → vue-ui-sparkgauge-DDNNBIdf.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-D8N-jNBt.js → vue-ui-sparkhistogram-ny_liYa6.js} +5 -5
- package/dist/{vue-ui-sparkline-D4p0PS3-.js → vue-ui-sparkline-BNxdO-Bx.js} +44 -44
- package/dist/{vue-ui-sparkstackbar-DnrZkIIc.js → vue-ui-sparkstackbar-BfF5-Wg2.js} +5 -5
- package/dist/vue-ui-stackbar-B-2Me3d-.js +2332 -0
- package/dist/vue-ui-stackline-CdvVPQUM.js +2419 -0
- package/dist/{vue-ui-strip-plot-pPiVqFYo.js → vue-ui-strip-plot-CRXPXA5V.js} +16 -16
- package/dist/{vue-ui-table-BzqQKuL-.js → vue-ui-table-Dr1dK3d_.js} +6 -6
- package/dist/{vue-ui-table-heatmap-D38YSxhJ.js → vue-ui-table-heatmap-D-Qrm3oX.js} +6 -6
- package/dist/{vue-ui-table-sparkline-BnavmY2R.js → vue-ui-table-sparkline-C31Q32My.js} +5 -5
- package/dist/{vue-ui-thermometer-ePIxpTuE.js → vue-ui-thermometer-BUrtIfuo.js} +8 -8
- package/dist/{vue-ui-timer-BQZxD91f.js → vue-ui-timer-B5bkNNHS.js} +6 -6
- package/dist/{vue-ui-tiremarks-CDOlCWS8.js → vue-ui-tiremarks-Bn8b-ZSz.js} +7 -7
- package/dist/vue-ui-treemap-LMWiicop.js +1713 -0
- package/dist/{vue-ui-waffle-BpZrFfUb.js → vue-ui-waffle-B_L3gkky.js} +275 -275
- package/dist/{vue-ui-wheel-DRfyK9q9.js → vue-ui-wheel-CeVwXtEX.js} +7 -7
- package/dist/{vue-ui-word-cloud-D0JUA9I9.js → vue-ui-word-cloud-D81-qJLw.js} +8 -8
- package/dist/{vue-ui-world-Dx-41fUM.js → vue-ui-world-B7npRmTa.js} +8 -8
- package/dist/{vue-ui-xy-BLSGO4Lm.js → vue-ui-xy-C2p9H2IX.js} +1498 -1496
- package/dist/{vue-ui-xy-DpRqQ09J.js → vue-ui-xy-OhwS0kcZ.js} +86 -86
- package/dist/{vue-ui-xy-canvas-CjbjJ70r.js → vue-ui-xy-canvas-DLKDdH35.js} +411 -408
- package/package.json +1 -1
- package/dist/vue-ui-age-pyramid-uUVFZo8M.js +0 -1238
- package/dist/vue-ui-donut-DObpw5zP.js +0 -2410
- package/dist/vue-ui-galaxy-B9cxOcoE.js +0 -1077
- package/dist/vue-ui-scatter-D9Iw5xlb.js +0 -2413
- package/dist/vue-ui-stackbar-BzHSHKqe.js +0 -2329
- package/dist/vue-ui-stackline-CWSvsW1n.js +0 -2416
- package/dist/vue-ui-treemap-DrZlX_7n.js +0 -1587
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as y } from "./useConfig-
|
|
1
|
+
import { $ as e, Et as t, Gt as n, Lt as r, O as i, Rt as a, U as o, Ut as s, W as c, b as l, d as u, i as d, jt as f, kt as p, p as m, q as h, t as g, u as _, v } from "./lib-EAmk-PgA.js";
|
|
2
|
+
import { t as y } from "./useConfig-DYM3f6EI.js";
|
|
3
3
|
import { t as b } from "./vue_ui_donut-BDGqG07h.js";
|
|
4
|
-
import { _ as x, a as S, c as C, d as w, g as T, i as E, l as D, n as O, o as k, p as A, r as j, s as ee, t as te, u as M, v as N } from "./render-common-
|
|
4
|
+
import { _ as x, a as S, c as C, d as w, g as T, i as E, l as D, n as O, o as k, p as A, r as j, s as ee, t as te, u as M, v as N } from "./render-common-DMai0gHB.js";
|
|
5
5
|
//#region src/svg/vue-ui-donut/create.js
|
|
6
6
|
var { vue_ui_donut: ne } = y();
|
|
7
7
|
function re({ config: e = {} } = {}) {
|
|
8
|
-
let
|
|
9
|
-
userConfig:
|
|
8
|
+
let t = e ?? {}, r = n({
|
|
9
|
+
userConfig: t,
|
|
10
10
|
defaultConfig: ne
|
|
11
11
|
}), i = r.theme;
|
|
12
12
|
if (!i) return {
|
|
13
13
|
...r,
|
|
14
14
|
customPalette: r.customPalette?.length ? r.customPalette : f
|
|
15
15
|
};
|
|
16
|
-
let a =
|
|
17
|
-
userConfig:
|
|
18
|
-
defaultConfig:
|
|
16
|
+
let a = n({
|
|
17
|
+
userConfig: t,
|
|
18
|
+
defaultConfig: n({
|
|
19
19
|
userConfig: b[i] || {},
|
|
20
20
|
defaultConfig: r
|
|
21
21
|
})
|
|
22
22
|
});
|
|
23
23
|
return {
|
|
24
24
|
...a,
|
|
25
|
-
customPalette: a.customPalette?.length ? a.customPalette :
|
|
25
|
+
customPalette: a.customPalette?.length ? a.customPalette : s[i] || f
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
function P(e, t = 0) {
|
|
@@ -45,7 +45,7 @@ function oe(e = [], t) {
|
|
|
45
45
|
sourceIndex: t,
|
|
46
46
|
value: ie(e)
|
|
47
47
|
})).filter((e) => Number.isFinite(e.value)).sort((e, t) => e.source?.ghost && !t.source?.ghost ? 1 : t.source?.ghost && !e.source?.ghost ? -1 : t.value - e.value).map((e, t) => {
|
|
48
|
-
let r = e.source, i = e.value, a = (r?.color ?
|
|
48
|
+
let r = e.source, i = e.value, a = (r?.color ? l(r.color) : "") || n[t % n.length];
|
|
49
49
|
return {
|
|
50
50
|
...r,
|
|
51
51
|
id: r?.id ?? `donut_serie_${t}`,
|
|
@@ -117,7 +117,7 @@ function le({ dataset: e = [], config: t = {}, width: n = 512, height: r = 512,
|
|
|
117
117
|
}
|
|
118
118
|
//#endregion
|
|
119
119
|
//#region src/svg/vue-ui-donut/render.js
|
|
120
|
-
var ue =
|
|
120
|
+
var ue = c();
|
|
121
121
|
function I() {
|
|
122
122
|
return ue;
|
|
123
123
|
}
|
|
@@ -209,9 +209,9 @@ function me(e, t) {
|
|
|
209
209
|
innerRadius: V(n) ? 0 : Math.max(0, T - A)
|
|
210
210
|
};
|
|
211
211
|
}
|
|
212
|
-
function he(
|
|
213
|
-
let r = x(S(
|
|
214
|
-
return
|
|
212
|
+
function he(e, n) {
|
|
213
|
+
let r = x(S(e.config, "layout.donut.rotation", 105.25), 105.25);
|
|
214
|
+
return t({ series: n }, e.center.x, e.center.y, e.radius, e.radius, 1.99999, 2, 1, 360, r, V(e.config) ? e.radius : e.thickness).map((e, t) => ({
|
|
215
215
|
...e,
|
|
216
216
|
index: t,
|
|
217
217
|
color: k(e.color, n[t]?.color),
|
|
@@ -223,7 +223,7 @@ function he(t, n) {
|
|
|
223
223
|
}
|
|
224
224
|
function ge(e, t) {
|
|
225
225
|
let n = Math.max(1, ...t.map((e) => Math.abs(x(e.value, 0))));
|
|
226
|
-
return
|
|
226
|
+
return i({
|
|
227
227
|
series: t.map((e) => Math.abs(x(e.value, 0)) / n),
|
|
228
228
|
center: e.center,
|
|
229
229
|
maxRadius: Math.min(e.drawingArea.width, e.drawingArea.height) / 3,
|
|
@@ -271,43 +271,43 @@ function ve(e) {
|
|
|
271
271
|
})), M("g", { "data-layer": "title" }, d.join(""));
|
|
272
272
|
}
|
|
273
273
|
function ye(e, t) {
|
|
274
|
-
let { config:
|
|
274
|
+
let { config: n } = e, i = [], o = !!S(n, "useGradient", !1), s = !!S(n, "layout.donut.useShadow", !1);
|
|
275
275
|
if (o) {
|
|
276
|
-
let o = E(
|
|
276
|
+
let o = E(n, "type", "classic"), s = x(S(n, "gradientIntensity", 30), 30);
|
|
277
277
|
if (o === "classic" && Number.isFinite(e.thickness / e.radius)) {
|
|
278
|
-
let t = V(
|
|
279
|
-
|
|
278
|
+
let t = V(n) ? 1 : e.thickness / e.radius;
|
|
279
|
+
i.push(M("radialGradient", { id: H(e) }, [
|
|
280
280
|
w("stop", {
|
|
281
281
|
offset: "0%",
|
|
282
|
-
"stop-color":
|
|
282
|
+
"stop-color": r(L(n), 0),
|
|
283
283
|
"stop-opacity": 0
|
|
284
284
|
}),
|
|
285
285
|
w("stop", {
|
|
286
286
|
offset: `${(1 - t) * 100}%`,
|
|
287
|
-
"stop-color":
|
|
287
|
+
"stop-color": r("#FFFFFF", 0),
|
|
288
288
|
"stop-opacity": 0
|
|
289
289
|
}),
|
|
290
290
|
w("stop", {
|
|
291
291
|
offset: `${(1 - t / 2) * 100}%`,
|
|
292
|
-
"stop-color":
|
|
292
|
+
"stop-color": r("#FFFFFF", s)
|
|
293
293
|
}),
|
|
294
294
|
w("stop", {
|
|
295
295
|
offset: "100%",
|
|
296
|
-
"stop-color":
|
|
296
|
+
"stop-color": r(L(n), 0),
|
|
297
297
|
"stop-opacity": 0
|
|
298
298
|
})
|
|
299
299
|
].join("")));
|
|
300
300
|
}
|
|
301
301
|
o === "polar" && t.forEach((t, n) => {
|
|
302
302
|
let r = e.polarAreas?.[n];
|
|
303
|
-
r?.middlePoint &&
|
|
303
|
+
r?.middlePoint && i.push(M("radialGradient", {
|
|
304
304
|
id: U(e, n),
|
|
305
305
|
cx: `${v(r.middlePoint.x / e.width * 100)}%`,
|
|
306
306
|
cy: `${v(r.middlePoint.y / e.height * 100)}%`,
|
|
307
307
|
r: "62%"
|
|
308
308
|
}, [w("stop", {
|
|
309
309
|
offset: "0%",
|
|
310
|
-
"stop-color":
|
|
310
|
+
"stop-color": a(t.color, .05),
|
|
311
311
|
"stop-opacity": s / 100
|
|
312
312
|
}), w("stop", {
|
|
313
313
|
offset: "100%",
|
|
@@ -316,8 +316,8 @@ function ye(e, t) {
|
|
|
316
316
|
});
|
|
317
317
|
}
|
|
318
318
|
if (s) {
|
|
319
|
-
let t = k(S(
|
|
320
|
-
|
|
319
|
+
let t = k(S(n, "layout.donut.shadowColor", "#000000"), "#000000"), r = x(S(n, "layout.donut.shadowOpacity", .2), .2), a = x(S(n, "layout.donut.shadowBlur", 6), 6), o = x(S(n, "layout.donut.shadowOffsetY", 3), 3);
|
|
320
|
+
i.push(M("filter", {
|
|
321
321
|
id: W(e),
|
|
322
322
|
x: "-50%",
|
|
323
323
|
y: "-50%",
|
|
@@ -326,12 +326,12 @@ function ye(e, t) {
|
|
|
326
326
|
}, [w("feDropShadow", {
|
|
327
327
|
dx: 0,
|
|
328
328
|
dy: o,
|
|
329
|
-
stdDeviation:
|
|
329
|
+
stdDeviation: a,
|
|
330
330
|
"flood-color": t,
|
|
331
|
-
"flood-opacity":
|
|
331
|
+
"flood-opacity": r
|
|
332
332
|
})].join("")));
|
|
333
333
|
}
|
|
334
|
-
return
|
|
334
|
+
return i.length ? M("defs", { "data-layer": "definitions" }, i.join("")) : "";
|
|
335
335
|
}
|
|
336
336
|
function be(e, t) {
|
|
337
337
|
return t.color;
|
|
@@ -434,7 +434,7 @@ function Q(e) {
|
|
|
434
434
|
return !!S(e.config, "layout.curvedMarkers", S(e.config, "layout.donut.curvedMarkers", !1));
|
|
435
435
|
}
|
|
436
436
|
function Ee(e, t) {
|
|
437
|
-
let n = S(e.config, "layout.labels.dataLabels", {}), r = {}, i = e.center.x, a = e.center.y, o = x(n.smallArcClusterFontSize ?? n.fontSize, 10), s = o / 3, c = o * 1.5,
|
|
437
|
+
let n = S(e.config, "layout.labels.dataLabels", {}), r = {}, i = e.center.x, a = e.center.y, o = x(n.smallArcClusterFontSize ?? n.fontSize, 10), s = o / 3, c = o * 1.5, l = e.drawingArea.top + 16, d = e.drawingArea.bottom - 16, f = i - (e.radius + 6), p = i + (e.radius + 6), m = Q(e);
|
|
438
438
|
function h(e) {
|
|
439
439
|
return {
|
|
440
440
|
x: v(e.center?.endX ?? e.endX),
|
|
@@ -490,7 +490,7 @@ function Ee(e, t) {
|
|
|
490
490
|
midX: n.x,
|
|
491
491
|
midY: n.y,
|
|
492
492
|
inlineMarkerX: _(e).x,
|
|
493
|
-
inlineMarkerY:
|
|
493
|
+
inlineMarkerY: u(e) - 3.5,
|
|
494
494
|
labelHeight: y(e.name)
|
|
495
495
|
};
|
|
496
496
|
}
|
|
@@ -550,13 +550,13 @@ function Ee(e, t) {
|
|
|
550
550
|
candidateList: D.TL,
|
|
551
551
|
side: "left",
|
|
552
552
|
bandMarkerX: f,
|
|
553
|
-
startY:
|
|
553
|
+
startY: l,
|
|
554
554
|
direction: "down"
|
|
555
555
|
}), E({
|
|
556
556
|
candidateList: D.TR,
|
|
557
557
|
side: "right",
|
|
558
558
|
bandMarkerX: p,
|
|
559
|
-
startY:
|
|
559
|
+
startY: l,
|
|
560
560
|
direction: "down"
|
|
561
561
|
}), D.BL.length > 1 && E({
|
|
562
562
|
candidateList: D.BL,
|
|
@@ -572,24 +572,24 @@ function Ee(e, t) {
|
|
|
572
572
|
direction: "up"
|
|
573
573
|
}), r;
|
|
574
574
|
}
|
|
575
|
-
function De({ state:
|
|
576
|
-
let
|
|
575
|
+
function De({ state: t, arc: n, arcIndex: r, smallArcLayout: i, fontSize: a }) {
|
|
576
|
+
let o = S(t.config, "layout.labels", {}), s = o.percentage ?? {}, c = o.name ?? {}, l = i?.labelX ?? _(n, !0, 12).x, d = i?.labelY ?? u(n), f = i?.textAnchor ?? _(n, !0, 12).anchor, { name: p } = Y(t, n), m = we(t, n), h = String(p).split(/\n/g), g = p ? h.map((n, r) => M("tspan", {
|
|
577
577
|
class: "vue-data-ui-datalabel-name",
|
|
578
|
-
x:
|
|
579
|
-
dy:
|
|
580
|
-
fill: k(
|
|
581
|
-
"font-size":
|
|
582
|
-
"font-weight":
|
|
583
|
-
},
|
|
578
|
+
x: r === 0 ? void 0 : l,
|
|
579
|
+
dy: r === 0 ? void 0 : a * 1.2,
|
|
580
|
+
fill: k(c.color, j(t.config)),
|
|
581
|
+
"font-size": a,
|
|
582
|
+
"font-weight": c.bold ? "700" : "400"
|
|
583
|
+
}, e(n + (r === h.length - 1 ? " " : "")))).join("") : "", v = m ? M("tspan", {
|
|
584
584
|
class: "vue-data-ui-datalabel-value",
|
|
585
|
-
fill: k(
|
|
586
|
-
"font-size":
|
|
587
|
-
"font-weight":
|
|
588
|
-
},
|
|
585
|
+
fill: k(s.color, j(t.config)),
|
|
586
|
+
"font-size": a,
|
|
587
|
+
"font-weight": s.bold ? "700" : "400"
|
|
588
|
+
}, e(m)) : "";
|
|
589
589
|
return M("text", {
|
|
590
|
-
"data-cy": `donut-label-inline-${
|
|
590
|
+
"data-cy": `donut-label-inline-${r}`,
|
|
591
591
|
class: "vue-data-ui-datalabel-inline",
|
|
592
|
-
x:
|
|
592
|
+
x: l,
|
|
593
593
|
y: d,
|
|
594
594
|
"text-anchor": f
|
|
595
595
|
}, `${g}${v}`);
|
|
@@ -619,7 +619,7 @@ function Oe(e, t) {
|
|
|
619
619
|
arcIndex: n,
|
|
620
620
|
smallArcLayout: {
|
|
621
621
|
labelX: _(t, !1, a + i / 2).x,
|
|
622
|
-
labelY:
|
|
622
|
+
labelY: u(t, a, a),
|
|
623
623
|
textAnchor: _(t).anchor
|
|
624
624
|
},
|
|
625
625
|
fontSize: i
|
|
@@ -638,69 +638,69 @@ function ke(e, t, n = 42) {
|
|
|
638
638
|
function Ae(e, t) {
|
|
639
639
|
return t.x < e.center.x ? "end" : t.x > e.center.x ? "start" : "middle";
|
|
640
640
|
}
|
|
641
|
-
function je(
|
|
642
|
-
let
|
|
641
|
+
function je(t, n, r, i) {
|
|
642
|
+
let a = S(t.config, "layout.labels", {}), o = a.percentage ?? {}, s = a.name ?? {}, c = x(o.fontSize, a.dataLabels?.fontSize ?? 12), l = x(s.fontSize, a.dataLabels?.fontSize ?? 12), u = M("tspan", {
|
|
643
643
|
class: "vue-data-ui-datalabel-value",
|
|
644
|
-
fill: k(
|
|
645
|
-
"font-size": s,
|
|
646
|
-
"font-weight": a.bold ? "700" : "400"
|
|
647
|
-
}, u(String(X(e, t).replace(/\n/g, " / ")))), d = o.show ? String(t.name ?? "").split(/\n/g).map((t, r) => M("tspan", {
|
|
648
|
-
class: "vue-data-ui-datalabel-name",
|
|
649
|
-
x: r === 0 ? void 0 : n,
|
|
650
|
-
dy: r === 0 ? void 0 : c * 1.2,
|
|
651
|
-
fill: k(o.color, j(e.config)),
|
|
644
|
+
fill: k(o.color, j(t.config)),
|
|
652
645
|
"font-size": c,
|
|
653
646
|
"font-weight": o.bold ? "700" : "400"
|
|
654
|
-
},
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
647
|
+
}, e(String(X(t, n).replace(/\n/g, " / ")))), d = s.show ? String(n.name ?? "").split(/\n/g).map((n, i) => M("tspan", {
|
|
648
|
+
class: "vue-data-ui-datalabel-name",
|
|
649
|
+
x: i === 0 ? void 0 : r,
|
|
650
|
+
dy: i === 0 ? void 0 : l * 1.2,
|
|
651
|
+
fill: k(s.color, j(t.config)),
|
|
652
|
+
"font-size": l,
|
|
653
|
+
"font-weight": s.bold ? "700" : "400"
|
|
654
|
+
}, e(n))).join("") : "";
|
|
655
|
+
return i === "end" ? `${d}${u}` : `${u}${d}`;
|
|
656
|
+
}
|
|
657
|
+
function Me(t, n, r) {
|
|
658
|
+
let i = S(t.config, "layout.labels", {}), a = i.dataLabels ?? {}, s = i.value ?? {}, c = i.percentage ?? {}, l = i.name ?? {};
|
|
659
|
+
if (!E(t.config, "dataLabels.show", a.show ?? !0) || !a.show) return "";
|
|
660
|
+
let u = !!a.oneLine, d = x(s.fontSize, a.fontSize ?? 12), f = x(l.fontSize, a.fontSize ?? 12), p = [];
|
|
661
|
+
return n.forEach((n, i) => {
|
|
662
|
+
let a = r[i];
|
|
663
|
+
if (!a || !Z(t, n)) return;
|
|
664
|
+
let s = ke(t, a, 42), m = Ae(t, s);
|
|
665
|
+
if (u) {
|
|
666
666
|
p.push(M("text", {
|
|
667
667
|
"data-cy": "polar-label-inline",
|
|
668
668
|
class: "vue-data-ui-datalabel-inline",
|
|
669
|
-
x:
|
|
670
|
-
y:
|
|
669
|
+
x: s.x,
|
|
670
|
+
y: s.y,
|
|
671
671
|
"text-anchor": m
|
|
672
|
-
}, je(
|
|
672
|
+
}, je(t, n, s.x, m)));
|
|
673
673
|
return;
|
|
674
674
|
}
|
|
675
675
|
p.push(M("text", {
|
|
676
676
|
"data-cy": "polar-label-value",
|
|
677
677
|
class: "vue-data-ui-datalabel-value",
|
|
678
|
-
x:
|
|
679
|
-
y:
|
|
678
|
+
x: s.x,
|
|
679
|
+
y: s.y,
|
|
680
680
|
"font-size": d,
|
|
681
|
-
"font-weight":
|
|
681
|
+
"font-weight": c.bold ? "700" : "400",
|
|
682
682
|
"text-anchor": m,
|
|
683
683
|
fill: valueFill
|
|
684
684
|
}, te({
|
|
685
|
-
content: X(
|
|
686
|
-
x:
|
|
685
|
+
content: X(t, n),
|
|
686
|
+
x: s.x,
|
|
687
687
|
fontSize: d,
|
|
688
688
|
fill: valueFill,
|
|
689
689
|
textAnchor: m
|
|
690
|
-
}))),
|
|
690
|
+
}))), l.show && p.push(M("text", {
|
|
691
691
|
"data-cy": "polar-label-name",
|
|
692
692
|
class: "vue-data-ui-datalabel-name",
|
|
693
|
-
x:
|
|
694
|
-
y:
|
|
693
|
+
x: s.x,
|
|
694
|
+
y: s.y + f * 1.2,
|
|
695
695
|
"font-size": f,
|
|
696
|
-
"font-weight":
|
|
696
|
+
"font-weight": l.bold ? "700" : "400",
|
|
697
697
|
"text-anchor": m,
|
|
698
|
-
fill: k(
|
|
699
|
-
},
|
|
700
|
-
content:
|
|
698
|
+
fill: k(l.color, j(t.config))
|
|
699
|
+
}, o({
|
|
700
|
+
content: e(String(n.name ?? "")),
|
|
701
701
|
fontSize: f,
|
|
702
|
-
fill: k(
|
|
703
|
-
x:
|
|
702
|
+
fill: k(l.color, j(t.config)),
|
|
703
|
+
x: s.x
|
|
704
704
|
})));
|
|
705
705
|
}), p.length ? M("g", { "data-layer": "polar-data-labels" }, p.join("")) : "";
|
|
706
706
|
}
|
|
@@ -727,7 +727,7 @@ function Pe(e, t) {
|
|
|
727
727
|
})), i.push(w("circle", {
|
|
728
728
|
"data-cy": `donut-label-marker-${a}`,
|
|
729
729
|
cx: o?.markerX ?? _(t).x,
|
|
730
|
-
cy: o?.markerY ??
|
|
730
|
+
cy: o?.markerY ?? u(t) - 3.5,
|
|
731
731
|
r: x(n.markerRadius, 3),
|
|
732
732
|
fill: t.color,
|
|
733
733
|
stroke: L(e.config),
|
|
@@ -929,8 +929,8 @@ function We(e, t) {
|
|
|
929
929
|
series: t.map((e) => ({ ...e }))
|
|
930
930
|
}) ?? "" : n ?? "";
|
|
931
931
|
}
|
|
932
|
-
function Ge(
|
|
933
|
-
return M("title", {},
|
|
932
|
+
function Ge(t, n, r) {
|
|
933
|
+
return M("title", {}, e(`${E(t.config, "title.text", "Donut chart") || t.svgTitle || "Donut chart"}. ${n.length} series. Total ${v(r)}.`));
|
|
934
934
|
}
|
|
935
935
|
async function Ke(e) {
|
|
936
936
|
let t = e.config, n = x(e.width, S(t, "width", 512)), r = x(e.height, S(t, "height", 512)), i = R(e), a = z(i), o = me({
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Bt as t, Et as n, Ft as r, Gt as i, H as a, Lt as o, Ot as s, Q as c, S as l, Ut as ee, W as te, X as ne, Y as re, _ as ie, b as ae, d as oe, h as se, i as ce, jt as le, p as ue, q as de, t as fe, u as pe, ut as me, w as he, xt as ge } from "./lib-
|
|
2
|
+
import { Bt as t, Et as n, Ft as r, Gt as i, H as a, Lt as o, Ot as s, Q as c, S as l, Ut as ee, W as te, X as ne, Y as re, _ as ie, b as ae, d as oe, h as se, i as ce, jt as le, p as ue, q as de, t as fe, u as pe, ut as me, w as he, xt as ge } from "./lib-EAmk-PgA.js";
|
|
3
3
|
import { t as _e } from "./useTimeLabels-BmBRv27Y.js";
|
|
4
|
-
import { t as ve } from "./useConfig-
|
|
5
|
-
import { t as ye } from "./usePrinter-
|
|
4
|
+
import { t as ve } from "./useConfig-DYM3f6EI.js";
|
|
5
|
+
import { t as ye } from "./usePrinter-DnGzpp6Q.js";
|
|
6
6
|
import { n as be, t as xe } from "./BaseScanner-DZvpgOjM.js";
|
|
7
7
|
import { t as Se } from "./useSvgExport-SVIsDot8.js";
|
|
8
|
-
import { t as Ce } from "./useNestedProp-
|
|
8
|
+
import { t as Ce } from "./useNestedProp-D8XqxgOU.js";
|
|
9
9
|
import { t as we } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as Te } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
11
|
-
import { t as Ee } from "./img-
|
|
12
|
-
import { n as De } from "./Title-
|
|
11
|
+
import { t as Ee } from "./img-B_abIg0o.js";
|
|
12
|
+
import { n as De } from "./Title-PiTKr6sp.js";
|
|
13
13
|
import { t as Oe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { c as ke } from "./canvas-lib-BOP_HS11.js";
|
|
15
15
|
import { t as Ae } from "./useResponsive-BfnK0KxU.js";
|
|
16
|
-
import { t as je } from "./BaseLegendToggle-
|
|
16
|
+
import { t as je } from "./BaseLegendToggle-CHnlKalt.js";
|
|
17
17
|
import { t as Me } from "./A11yDataTable-DdRsVULz.js";
|
|
18
18
|
import { t as Ne } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
19
|
import { t as Pe } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
-
import { t as Fe } from "./Legend-
|
|
20
|
+
import { t as Fe } from "./Legend-kAr7Vqqu.js";
|
|
21
21
|
import { t as Ie } from "./vue_ui_donut_evolution-D1yAAIHr.js";
|
|
22
|
-
import { t as Le } from "./Slicer-
|
|
22
|
+
import { t as Le } from "./Slicer-6FOtg9py.js";
|
|
23
23
|
import { Fragment as u, Teleport as Re, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as ze, createTextVNode as Be, createVNode as Ve, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as He, nextTick as Ue, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as We, onMounted as Ge, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ke, shallowRef as qe, toDisplayString as T, toRefs as Je, unref as E, watch as Ye, watchEffect as Xe, withCtx as D } from "vue";
|
|
24
24
|
//#region src/components/vue-ui-donut-evolution.vue
|
|
25
25
|
var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et = ["id"], tt = { style: { position: "relative" } }, nt = [
|
|
@@ -170,7 +170,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
|
|
|
170
170
|
},
|
|
171
171
|
emits: ["selectLegend", "copyAlt"],
|
|
172
172
|
setup(e, { expose: Oe, emit: Ze }) {
|
|
173
|
-
let Kt = g(() => import("./vue-ui-accordion-
|
|
173
|
+
let Kt = g(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), qt = g(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), Jt = g(() => import("./DataTable-CVF7DoZn.js")), Yt = g(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), Xt = g(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), Zt = g(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), Qt = g(() => import("./vue-ui-donut-CLheJPcO.js").then((e) => e.n)), $t = g(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_donut_evolution: en } = ve(), { isThemeValid: tn, warnInvalidTheme: nn } = we(), O = e, k = S(te()), A = S([]), j = S(null), M = S(null), rn = S(!1), N = S(null), P = S(null), an = S(null), on = S(0), sn = S(0), cn = S(0), ln = S(0), un = S(0), dn = S(null), fn = S(null), pn = S(null), mn = S(null), hn = S(!1), gn = S(null), _n = S(null), vn = S(!1), yn = S(!1), bn = S(null), xn = S(null), Sn = S(null), Cn = S(null), wn = S(null), Tn = S(!1), En = qe(null), Dn = qe(null), On = S(null), F = S(null), kn = S(!1), An = Ze, jn = d(() => !!O.dataset && O.dataset.length);
|
|
174
174
|
Ge(() => {
|
|
175
175
|
hn.value = !0, Nn();
|
|
176
176
|
});
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Gt as t, K as n, Lt as r, Ot as i, Q as a, Tt as o, W as s, X as ee, h as te, i as c, q as l, t as ne, ut as re, v as ie, w as ae } from "./lib-
|
|
3
|
-
import { t as oe } from "./useConfig-
|
|
4
|
-
import { t as se } from "./usePrinter-
|
|
2
|
+
import { Gt as t, K as n, Lt as r, Ot as i, Q as a, Tt as o, W as s, X as ee, h as te, i as c, q as l, t as ne, ut as re, v as ie, w as ae } from "./lib-EAmk-PgA.js";
|
|
3
|
+
import { t as oe } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as se } from "./usePrinter-DnGzpp6Q.js";
|
|
5
5
|
import { n as ce, t as le } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as ue } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as de } from "./useNestedProp-
|
|
7
|
+
import { t as de } from "./useNestedProp-D8XqxgOU.js";
|
|
8
8
|
import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as pe } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
10
|
-
import { t as me } from "./img-
|
|
11
|
-
import { n as he } from "./Title-
|
|
10
|
+
import { t as me } from "./img-B_abIg0o.js";
|
|
11
|
+
import { n as he } from "./Title-PiTKr6sp.js";
|
|
12
12
|
import { t as ge } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { c as _e } from "./canvas-lib-BOP_HS11.js";
|
|
14
14
|
import { t as ve } from "./useResponsive-BfnK0KxU.js";
|
|
15
15
|
import { t as ye } from "./A11yDataTable-DdRsVULz.js";
|
|
16
16
|
import { t as be } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
17
|
import { t as xe } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
|
-
import { t as Se } from "./Legend-
|
|
18
|
+
import { t as Se } from "./Legend-kAr7Vqqu.js";
|
|
19
19
|
import { t as Ce } from "./vue_ui_dumbbell-Bfe_jFyi.js";
|
|
20
20
|
import { Fragment as u, Teleport as we, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Te, createTextVNode as Ee, createVNode as De, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Oe, nextTick as ke, normalizeClass as Ae, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as je, onMounted as Me, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Ne, shallowRef as Pe, toDisplayString as w, toRefs as Fe, unref as T, vShow as Ie, watch as Le, watchEffect as Re, withCtx as E, withDirectives as D } from "vue";
|
|
21
21
|
//#region src/components/vue-ui-dumbbell.vue
|
|
@@ -178,7 +178,7 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
178
178
|
},
|
|
179
179
|
emits: ["selectDatapoint", "copyAlt"],
|
|
180
180
|
setup(e, { expose: ge, emit: ze }) {
|
|
181
|
-
let Xt = g(() => import("./BaseIcon-
|
|
181
|
+
let Xt = g(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), Zt = g(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), Qt = g(() => import("./DataTable-CVF7DoZn.js")), $t = g(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), en = g(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), tn = g(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), nn = g(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_dumbbell: rn } = oe(), { isThemeValid: an, warnInvalidTheme: on } = fe(), O = e, sn = ze, cn = d({
|
|
182
182
|
get() {
|
|
183
183
|
return !!O.dataset && O.dataset.length;
|
|
184
184
|
},
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Gt as t, Ot as n, Q as r, S as i, Ut as a, W as o, X as s, b as c, i as l, jt as u, n as d, q as f, r as p, t as m, v as h, vt as g, w as _ } from "./lib-
|
|
3
|
-
import { t as ee } from "./useConfig-
|
|
4
|
-
import { t as v } from "./usePrinter-
|
|
2
|
+
import { Gt as t, Ot as n, Q as r, S as i, Ut as a, W as o, X as s, b as c, i as l, jt as u, n as d, q as f, r as p, t as m, v as h, vt as g, w as _ } from "./lib-EAmk-PgA.js";
|
|
3
|
+
import { t as ee } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as v } from "./usePrinter-DnGzpp6Q.js";
|
|
5
5
|
import { n as y, t as b } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as x } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as S } from "./useNestedProp-
|
|
7
|
+
import { t as S } from "./useNestedProp-D8XqxgOU.js";
|
|
8
8
|
import { t as te } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as ne } from "./img-
|
|
10
|
-
import { n as C } from "./Title-
|
|
9
|
+
import { t as ne } from "./img-B_abIg0o.js";
|
|
10
|
+
import { n as C } from "./Title-PiTKr6sp.js";
|
|
11
11
|
import { t as re } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { c as ie } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as ae } from "./useResponsive-BfnK0KxU.js";
|
|
14
14
|
import { t as oe } from "./A11yDataTable-DdRsVULz.js";
|
|
15
15
|
import { t as se } from "./useUserOptionState-DK-_1ddE.js";
|
|
16
16
|
import { t as ce } from "./useChartAccessibility-DYqac8yF.js";
|
|
17
|
-
import { t as le } from "./Legend-
|
|
17
|
+
import { t as le } from "./Legend-kAr7Vqqu.js";
|
|
18
18
|
import { t as ue } from "./vue_ui_flow-BewZjjKG.js";
|
|
19
19
|
import { Fragment as de, Teleport as fe, computed as w, createBlock as T, createCommentVNode as E, createElementBlock as D, createElementVNode as O, createSlots as pe, createTextVNode as me, createVNode as he, defineAsyncComponent as k, guardReactiveProps as A, mergeProps as ge, nextTick as _e, normalizeClass as ve, normalizeProps as j, normalizeStyle as M, onMounted as ye, openBlock as N, ref as P, renderList as be, renderSlot as F, resolveDynamicComponent as xe, toDisplayString as Se, toRefs as Ce, unref as I, watch as we, withCtx as L } from "vue";
|
|
20
20
|
//#region src/components/vue-ui-flow.vue
|
|
@@ -87,7 +87,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
|
|
|
87
87
|
},
|
|
88
88
|
emits: ["copyAlt"],
|
|
89
89
|
setup(e, { expose: re, emit: Te }) {
|
|
90
|
-
let Ke = k(() => import("./Tooltip-
|
|
90
|
+
let Ke = k(() => import("./Tooltip-B8yYfISA.js")), qe = k(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), Je = k(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), Ye = k(() => import("./DataTable-CVF7DoZn.js")), Xe = k(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), Ze = k(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), Qe = k(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), $e = k(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_flow: et } = ee(), { isThemeValid: tt, warnInvalidTheme: nt } = te(), R = e, rt = Te, z = P(o()), B = P(null), it = P(0), at = P(0), ot = P(!1), st = P(""), ct = P(null), lt = P(null), ut = P(null), dt = P(null), ft = P(null), pt = P(!1), mt = P(null), ht = P(null), gt = P(null), _t = P(!1), vt = P(!1), yt = P(null), V = P(null), bt = P({
|
|
91
91
|
x: 0,
|
|
92
92
|
y: 0
|
|
93
93
|
}), xt = P("pointer"), St = P(!1), Ct = w(() => !!R.dataset && R.dataset.length);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Ot as t, Q as n, Tt as r, W as i, Wt as a, X as ee, b as te, i as o, q as s, r as ne, t as re, ut as ie, w as ae } from "./lib-
|
|
3
|
-
import { t as oe } from "./useConfig-
|
|
4
|
-
import { t as se } from "./usePrinter-
|
|
2
|
+
import { Ot as t, Q as n, Tt as r, W as i, Wt as a, X as ee, b as te, i as o, q as s, r as ne, t as re, ut as ie, w as ae } from "./lib-EAmk-PgA.js";
|
|
3
|
+
import { t as oe } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as se } from "./usePrinter-DnGzpp6Q.js";
|
|
5
5
|
import { t as ce } from "./useSvgExport-SVIsDot8.js";
|
|
6
|
-
import { t as le } from "./useNestedProp-
|
|
6
|
+
import { t as le } from "./useNestedProp-D8XqxgOU.js";
|
|
7
7
|
import { t as ue } from "./useThemeCheck-C43Tcqmk.js";
|
|
8
|
-
import { t as de } from "./img-
|
|
9
|
-
import { n as fe } from "./Title-
|
|
8
|
+
import { t as de } from "./img-B_abIg0o.js";
|
|
9
|
+
import { n as fe } from "./Title-PiTKr6sp.js";
|
|
10
10
|
import { t as pe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
11
11
|
import { c as me } from "./canvas-lib-BOP_HS11.js";
|
|
12
12
|
import { t as he } from "./useResponsive-BfnK0KxU.js";
|
|
@@ -59,7 +59,7 @@ var ke = /* @__PURE__ */ e({ default: () => Ke }), Ae = ["id"], je = ["xmlns", "
|
|
|
59
59
|
emits: ["copyAlt"],
|
|
60
60
|
setup(e, { expose: pe, emit: ke }) {
|
|
61
61
|
De((e) => ({ v5d52ff0c: Et.value }));
|
|
62
|
-
let Ke = m(() => import("./BaseIcon-
|
|
62
|
+
let Ke = m(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), qe = m(() => import("./vue-ui-skeleton-Fmue6DAG.js").then((e) => e.n)), Je = m(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), Ye = m(() => import("./DataTable-CVF7DoZn.js")), Xe = m(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), Ze = m(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), Qe = m(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), $e = m(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_funnel: et } = oe(), { isThemeValid: tt, warnInvalidTheme: nt } = ue(), D = e, rt = ke, O = x(null), k = x(i()), it = x(0), at = x(0), ot = x(0), st = x(null), ct = x(null), lt = x(null), A = Ee(null), j = Ee(null), M = x(!1), N = x(null), P = x(null), F = x(!1), I = x(!1), L = l(() => !!D.dataset && D.dataset.length);
|
|
63
63
|
we(ut);
|
|
64
64
|
function ut() {
|
|
65
65
|
if (t(D.dataset) ? n({
|