vue-data-ui 3.22.6 → 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-Ds4xmpiQ.js → Arrow-DaGI9u-b.js} +1 -1
- package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-1wwwdwV2.js} +2 -2
- package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-_-BX7be3.js} +1 -1
- package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-CHnlKalt.js} +1 -1
- package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C9bdZSCj.js} +2 -2
- package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-TB3KhY3j.js} +2 -2
- package/dist/{DataTable-CXfvIulC.js → DataTable-CVF7DoZn.js} +2 -2
- package/dist/{Legend-D-635Kag.js → Legend-kAr7Vqqu.js} +2 -2
- package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-CEiv7_gM.js} +29 -29
- package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-Dse0n05o.js} +1 -1
- package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-gaV1QPpP.js} +18 -18
- package/dist/{Shape-BSetplwm.js → Shape-CiQIxyyT.js} +1 -1
- package/dist/{Slicer-ClIGOuoX.js → Slicer-6FOtg9py.js} +2 -2
- package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-DUywypFu.js} +4 -4
- package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-B-qsPj68.js} +1 -1
- package/dist/{Title-C-p0ilWB.js → Title-PiTKr6sp.js} +1 -1
- package/dist/{Tooltip-YabpoXo1.js → Tooltip-B8yYfISA.js} +1 -1
- package/dist/{UserOptions-BO4VFL8O.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-CVJfsfwL.js → dom-to-png-BZjYWNEg.js} +1 -1
- package/dist/exposedLib-Be0ifkti.js +19 -0
- package/dist/{img-B_y5qDdm.js → img-B_abIg0o.js} +1 -1
- package/dist/{labelUtils-CyVwqXSh.js → labelUtils-CTDRZdP1.js} +1 -1
- package/dist/{lib-DRBJCmHW.js → lib-EAmk-PgA.js} +14 -1
- package/dist/{package-DyQ_PQis.js → package-DeMimPej.js} +1 -1
- package/dist/{pdf-CG02qhAH.js → pdf-B6qrdEqB.js} +1 -1
- package/dist/{render-common-CUAlQvAQ.js → render-common-DMai0gHB.js} +2 -2
- 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/{useAutoSizeLabelsInsideViewbox-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-CyOGrdD_.js} +1 -1
- package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-D8XqxgOU.js} +1 -1
- package/dist/{usePrinter-CRp5IW3v.js → usePrinter-DnGzpp6Q.js} +2 -2
- package/dist/utils.js +10 -10
- package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-D6qVWloL.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-CjNuWXoA.js +1757 -0
- package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-Dzz8XhX3.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BF5ZuuyI.js → vue-ui-age-pyramid-CC7Dxli-.js} +21 -21
- package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-DXZumSP8.js} +67 -67
- package/dist/{vue-ui-bullet-C_oBS1cr.js → vue-ui-bullet-Dde6FhbR.js} +17 -17
- package/dist/{vue-ui-bump-BZB1Na8h.js → vue-ui-bump-C5pni1JV.js} +243 -243
- package/dist/{vue-ui-candlestick-8d_1xO8X.js → vue-ui-candlestick-Ctw65O4_.js} +449 -446
- package/dist/{vue-ui-carousel-table-BfZNcwmY.js → vue-ui-carousel-table-BEUvhUH0.js} +42 -42
- package/dist/vue-ui-chestnut-C3IbAdkQ.js +2010 -0
- package/dist/vue-ui-chord-5eCWG4br.js +1391 -0
- package/dist/{vue-ui-circle-pack-BLh8HnGK.js → vue-ui-circle-pack-Cq4lkmee.js} +31 -31
- package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLJcFwRZ.js} +3 -3
- package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DemsIecS.js} +23 -23
- package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-DWHD_wNN.js} +69 -69
- package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-sIKc85vS.js} +3 -3
- package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-CLheJPcO.js} +414 -414
- package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-Dp6GW0dw.js} +85 -85
- package/dist/{vue-ui-donut-evolution-D1k4u6cA.js → vue-ui-donut-evolution-zmRPpJLj.js} +419 -419
- package/dist/vue-ui-dumbbell-bSbgHd0U.js +1530 -0
- package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-q_M7O1BK.js} +83 -83
- package/dist/vue-ui-funnel-BEZUEuuh.js +777 -0
- package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DCCWmIyH.js} +250 -250
- package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-B1ljgfE1.js} +216 -216
- package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-CM59rpnj.js} +17 -17
- package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-D2RL6IVp.js} +62 -62
- package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-BX6PQxML.js} +245 -245
- package/dist/vue-ui-history-plot-DaHAeQph.js +1715 -0
- package/dist/{vue-ui-horizontal-bar-CwB4sc6M.js → vue-ui-horizontal-bar-CTW6l4n3.js} +274 -274
- package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-DLbP7lJR.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-DPHzHsM7.js} +2 -2
- package/dist/vue-ui-molecule-aD0SMTiX.js +925 -0
- package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-CCWaPr0P.js} +29 -29
- package/dist/{vue-ui-nested-donuts-wfesrzle.js → vue-ui-nested-donuts--BCPWkl7.js} +104 -104
- package/dist/{vue-ui-onion-B8-psLbF.js → vue-ui-onion-s4iMCGAP.js} +39 -39
- package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +1416 -0
- package/dist/vue-ui-quadrant-T_UmRAAy.js +1978 -0
- package/dist/vue-ui-quick-chart-D1OWBgQJ.js +2469 -0
- package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-CHjeGOMC.js} +78 -78
- package/dist/{vue-ui-rating-CKWHDKOT.js → vue-ui-rating-Bek8Tgr-.js} +33 -33
- package/dist/vue-ui-relation-circle-DRZGQ_UX.js +924 -0
- package/dist/{vue-ui-ridgeline-DVbYznRz.js → vue-ui-ridgeline-DIODGiu8.js} +101 -101
- package/dist/vue-ui-rings-CcdUSXGG.js +1246 -0
- package/dist/vue-ui-scatter-CixnqLoi.js +2413 -0
- package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-Fmue6DAG.js} +3 -3
- package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-BVMI5vUy.js} +9 -9
- package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-DfZeLiWA.js} +98 -98
- package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-Cl1e49sw.js} +87 -87
- package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DDNNBIdf.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-ny_liYa6.js} +104 -104
- package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-BNxdO-Bx.js} +268 -268
- package/dist/vue-ui-sparkstackbar-BfF5-Wg2.js +662 -0
- package/dist/vue-ui-stackbar-B-2Me3d-.js +2332 -0
- package/dist/{vue-ui-stackline-C0NHBUaE.js → vue-ui-stackline-CdvVPQUM.js} +697 -694
- package/dist/{vue-ui-strip-plot-_6LL45i9.js → vue-ui-strip-plot-CRXPXA5V.js} +368 -368
- package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Dr1dK3d_.js} +25 -25
- package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D-Qrm3oX.js} +5 -5
- package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-C31Q32My.js} +201 -201
- package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-BUrtIfuo.js} +119 -119
- package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-B5bkNNHS.js} +29 -29
- package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-Bn8b-ZSz.js} +14 -14
- package/dist/vue-ui-treemap-LMWiicop.js +1713 -0
- package/dist/{vue-ui-waffle-afa8HSxz.js → vue-ui-waffle-B_L3gkky.js} +306 -306
- package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-CeVwXtEX.js} +36 -36
- package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-D81-qJLw.js} +37 -37
- package/dist/{vue-ui-world-CqS-HhZl.js → vue-ui-world-B7npRmTa.js} +399 -399
- package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-C2p9H2IX.js} +1438 -1436
- package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-OhwS0kcZ.js} +218 -218
- package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-DLKDdH35.js} +420 -417
- package/package.json +1 -1
- package/dist/exposedLib-CjwriUaG.js +0 -19
- package/dist/vue-ui-3d-bar-BAH0jNtT.js +0 -1757
- package/dist/vue-ui-chestnut-Cx8T3NEl.js +0 -2010
- package/dist/vue-ui-chord-B-sauvLo.js +0 -1391
- package/dist/vue-ui-dumbbell-DgmvPpK2.js +0 -1530
- package/dist/vue-ui-funnel-BYCFV5TD.js +0 -777
- package/dist/vue-ui-history-plot-B7zuCfdg.js +0 -1715
- package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
- package/dist/vue-ui-parallel-coordinate-plot-DBpHCFxa.js +0 -1416
- package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
- package/dist/vue-ui-quick-chart-so_8PzvS.js +0 -2469
- package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
- package/dist/vue-ui-rings-c-yLWFHr.js +0 -1246
- package/dist/vue-ui-scatter-QhmE7n1H.js +0 -2413
- package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +0 -662
- package/dist/vue-ui-stackbar-DDvuDGQ_.js +0 -2329
- package/dist/vue-ui-treemap-B03c4RIy.js +0 -1713
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Et as t, Ft as n, Gt as r, Lt as i, Mt as a, Ot as o, Q as s, S as c, Ut as l, W as ee, X as te, Z as ne, at as re, b as ie, d as ae, i as oe, jt as se, n as ce, q as u, t as le, u as ue, v as de, vt as fe, w as pe } from "./lib-EAmk-PgA.js";
|
|
3
3
|
import { t as me } from "./useConfig-DYM3f6EI.js";
|
|
4
|
-
import { t as he } from "./usePrinter-
|
|
4
|
+
import { t as he } from "./usePrinter-DnGzpp6Q.js";
|
|
5
5
|
import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as ve } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as ye } from "./useNestedProp-
|
|
7
|
+
import { t as ye } from "./useNestedProp-D8XqxgOU.js";
|
|
8
8
|
import { t as be } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as xe } from "./img-
|
|
10
|
-
import { n as Se } from "./Title-
|
|
9
|
+
import { t as xe } from "./img-B_abIg0o.js";
|
|
10
|
+
import { n as Se } from "./Title-PiTKr6sp.js";
|
|
11
11
|
import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { c as we } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as Te } from "./useResponsive-BfnK0KxU.js";
|
|
14
|
-
import { t as Ee } from "./BaseLegendToggle-
|
|
14
|
+
import { t as Ee } from "./BaseLegendToggle-CHnlKalt.js";
|
|
15
15
|
import { t as De } from "./A11yDataTable-DdRsVULz.js";
|
|
16
16
|
import { t as Oe } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
17
|
import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
|
-
import { t as Ae } from "./labelUtils-
|
|
19
|
-
import { t as je } from "./Legend-
|
|
18
|
+
import { t as Ae } from "./labelUtils-CTDRZdP1.js";
|
|
19
|
+
import { t as je } from "./Legend-kAr7Vqqu.js";
|
|
20
20
|
import { t as Me } from "./vue_ui_nested_donuts-B8csIoVO.js";
|
|
21
21
|
import { Fragment as d, Teleport as Ne, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Le, nextTick as Re, normalizeClass as y, normalizeProps as b, normalizeStyle as ze, onBeforeUnmount as Be, onMounted as Ve, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as He, shallowRef as Ue, toDisplayString as T, toRefs as We, unref as E, vShow as Ge, watch as Ke, withCtx as D, withDirectives as qe } from "vue";
|
|
22
22
|
//#region src/components/vue-ui-nested-donuts.vue
|
|
@@ -106,14 +106,14 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
106
106
|
"copyAlt"
|
|
107
107
|
],
|
|
108
108
|
setup(e, { expose: Ce, emit: Je }) {
|
|
109
|
-
let Ot = _(() => import("./Tooltip-
|
|
109
|
+
let Ot = _(() => import("./Tooltip-B8yYfISA.js")), kt = _(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), At = _(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), jt = _(() => import("./DataTable-CVF7DoZn.js")), Mt = _(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), Nt = _(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), Pt = _(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), Ft = _(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_nested_donuts: It } = me(), { isThemeValid: Lt, warnInvalidTheme: Rt } = be(), O = e, zt = f({
|
|
110
110
|
get() {
|
|
111
111
|
return !!O.dataset && O.dataset.length;
|
|
112
112
|
},
|
|
113
113
|
set(e) {
|
|
114
114
|
return e;
|
|
115
115
|
}
|
|
116
|
-
}), k = S(
|
|
116
|
+
}), k = S(ee()), Bt = S(!1), Vt = S(""), Ht = S(null), Ut = S(0), A = S(null), Wt = S(null), Gt = S(null), Kt = S(null), qt = S(null), Jt = S(0), Yt = S(0), Xt = S(0), j = S(!0), M = S([]), Zt = S([]), Qt = S(!1), $t = S(null), en = S(null), tn = S(!1), nn = S(!1), N = S(null), rn = S({
|
|
117
117
|
x: 0,
|
|
118
118
|
y: 0
|
|
119
119
|
}), an = S("pointer"), on = S(!1), P = S(!1);
|
|
@@ -139,7 +139,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
139
139
|
color: "#CACACA"
|
|
140
140
|
}
|
|
141
141
|
]
|
|
142
|
-
}, ln = f(() =>
|
|
142
|
+
}, ln = f(() => r({
|
|
143
143
|
defaultConfig: {
|
|
144
144
|
useCssAnimation: !1,
|
|
145
145
|
table: { show: !1 },
|
|
@@ -170,7 +170,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
170
170
|
});
|
|
171
171
|
},
|
|
172
172
|
skeletonDataset: O.config?.skeletonDataset ?? [cn, cn],
|
|
173
|
-
skeletonConfig:
|
|
173
|
+
skeletonConfig: r({
|
|
174
174
|
defaultConfig: F.value,
|
|
175
175
|
userConfig: ln.value
|
|
176
176
|
})
|
|
@@ -179,23 +179,23 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
179
179
|
let e = ye({
|
|
180
180
|
userConfig: O.config,
|
|
181
181
|
defaultConfig: It
|
|
182
|
-
}),
|
|
183
|
-
if (
|
|
182
|
+
}), t = {}, n = e.theme;
|
|
183
|
+
if (n) if (!Lt.value(e)) Rt(e), t = e;
|
|
184
184
|
else {
|
|
185
|
-
let
|
|
186
|
-
userConfig: Me[
|
|
185
|
+
let r = ye({
|
|
186
|
+
userConfig: Me[n] || O.config,
|
|
187
187
|
defaultConfig: e
|
|
188
188
|
});
|
|
189
|
-
|
|
189
|
+
t = {
|
|
190
190
|
...ye({
|
|
191
191
|
userConfig: O.config,
|
|
192
|
-
defaultConfig:
|
|
192
|
+
defaultConfig: r
|
|
193
193
|
}),
|
|
194
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
194
|
+
customPalette: e.customPalette.length ? e.customPalette : l[n] || se
|
|
195
195
|
};
|
|
196
196
|
}
|
|
197
|
-
else
|
|
198
|
-
return
|
|
197
|
+
else t = e;
|
|
198
|
+
return t;
|
|
199
199
|
}
|
|
200
200
|
Ke(() => O.config, (e) => {
|
|
201
201
|
un.value || (F.value = hn()), fn.value = !F.value.userOptions.showOnChartHover, bn(), Jt.value += 1, Yt.value += 1, Xt.value += 1, V.value.dataLabels.show = F.value.style.chart.layout.labels.dataLabels.show, V.value.showTable = F.value.table.show, V.value.showTooltip = F.value.style.chart.tooltip.show, H.value.width = F.value.style.chart.width, H.value.height = F.value.style.chart.height;
|
|
@@ -210,21 +210,21 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
210
210
|
left: r
|
|
211
211
|
};
|
|
212
212
|
});
|
|
213
|
-
function _n(e, t = 1e3,
|
|
214
|
-
return new Promise((
|
|
215
|
-
let
|
|
216
|
-
M.value = Array(
|
|
213
|
+
function _n(e, t = 1e3, r = 50) {
|
|
214
|
+
return new Promise((i) => {
|
|
215
|
+
let a = e.length;
|
|
216
|
+
M.value = Array(a).fill(0), Zt.value = [];
|
|
217
217
|
let o = 0;
|
|
218
218
|
e.forEach((e, s) => {
|
|
219
219
|
setTimeout(() => {
|
|
220
|
-
let
|
|
220
|
+
let r = performance.now();
|
|
221
221
|
function c(l) {
|
|
222
|
-
let ee = Math.min((l -
|
|
222
|
+
let ee = Math.min((l - r) / t, 1), te = e * ne(ee);
|
|
223
223
|
M.value[s] = te, M.value = [...M.value];
|
|
224
224
|
let re = [], ie = 0;
|
|
225
225
|
O.dataset.forEach((e, t) => {
|
|
226
|
-
let
|
|
227
|
-
|
|
226
|
+
let r = de(e.series.reduce((e, t) => e + de(n(t.values).reduce((e, t) => e + t, 0)), 0)) - de(M.value.slice(ie, ie + e.series.length).reduce((e, t) => e + t, 0));
|
|
227
|
+
r > Number.MIN_VALUE && re.push({
|
|
228
228
|
name: "__ghost__",
|
|
229
229
|
arcOf: e.name,
|
|
230
230
|
arcOfId: `${k.value}_${t}`,
|
|
@@ -232,23 +232,23 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
232
232
|
seriesIndex: -1,
|
|
233
233
|
datasetIndex: t,
|
|
234
234
|
color: "transparent",
|
|
235
|
-
value:
|
|
236
|
-
fullValue:
|
|
235
|
+
value: r,
|
|
236
|
+
fullValue: r,
|
|
237
237
|
absoluteValues: [],
|
|
238
238
|
ghost: !0
|
|
239
239
|
}), ie += e.series.length;
|
|
240
|
-
}), Zt.value = re, ee < 1 ? requestAnimationFrame(c) : (o += 1, o ===
|
|
240
|
+
}), Zt.value = re, ee < 1 ? requestAnimationFrame(c) : (o += 1, o === a && i());
|
|
241
241
|
}
|
|
242
242
|
requestAnimationFrame(c);
|
|
243
|
-
}, s *
|
|
243
|
+
}, s * r);
|
|
244
244
|
});
|
|
245
245
|
});
|
|
246
246
|
}
|
|
247
247
|
async function vn() {
|
|
248
248
|
if (F.value.startAnimation?.show) {
|
|
249
|
-
let e = L.value.flatMap((e) => e.series).map((e) =>
|
|
249
|
+
let e = L.value.flatMap((e) => e.series).map((e) => n(e.values).reduce((e, t) => e + t, 0));
|
|
250
250
|
M.value = e.map(() => 0), j.value = !0, Zt.value = L.value.map((e, t) => {
|
|
251
|
-
let
|
|
251
|
+
let r = e.series.reduce((e, t) => e + n(t.values).reduce((e, t) => e + t, 0), 0);
|
|
252
252
|
return {
|
|
253
253
|
name: "__ghost__",
|
|
254
254
|
arcOf: e.name,
|
|
@@ -257,8 +257,8 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
257
257
|
seriesIndex: -1,
|
|
258
258
|
datasetIndex: t,
|
|
259
259
|
color: "transparent",
|
|
260
|
-
value:
|
|
261
|
-
fullValue:
|
|
260
|
+
value: r,
|
|
261
|
+
fullValue: r,
|
|
262
262
|
absoluteValues: [],
|
|
263
263
|
ghost: !0
|
|
264
264
|
};
|
|
@@ -272,7 +272,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
272
272
|
});
|
|
273
273
|
let z = Ue(null), B = Ue(null), yn = f(() => !!F.value.debug);
|
|
274
274
|
function bn() {
|
|
275
|
-
if (
|
|
275
|
+
if (o(O.dataset) ? (s({
|
|
276
276
|
componentName: "VueUiNestedDonuts",
|
|
277
277
|
type: "dataset",
|
|
278
278
|
debug: yn.value
|
|
@@ -300,7 +300,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
300
300
|
elementId: `nested_donuts_${k.value}`,
|
|
301
301
|
fileName: F.value.style.chart.title.text || "vue-ui-nested-donuts",
|
|
302
302
|
options: F.value.userOptions.print
|
|
303
|
-
}), Tn = f(() => F.value.userOptions.show && !F.value.style.chart.title.text), En = f(() =>
|
|
303
|
+
}), Tn = f(() => F.value.userOptions.show && !F.value.style.chart.title.text), En = f(() => c(F.value.customPalette)), V = S({
|
|
304
304
|
dataLabels: { show: F.value.style.chart.layout.labels.dataLabels.show },
|
|
305
305
|
showTable: F.value.table.show,
|
|
306
306
|
showTooltip: F.value.style.chart.tooltip.show
|
|
@@ -335,32 +335,32 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
335
335
|
}
|
|
336
336
|
let W = S([]), G = f(() => {
|
|
337
337
|
un.value, L.value.forEach((e, t) => {
|
|
338
|
-
[null, void 0].includes(e.name) &&
|
|
338
|
+
[null, void 0].includes(e.name) && s({
|
|
339
339
|
componentName: "VueUiNestedDonuts",
|
|
340
340
|
type: "datasetSerieAttribute",
|
|
341
341
|
property: "name",
|
|
342
342
|
index: t,
|
|
343
343
|
debug: yn.value
|
|
344
|
-
}), [null, void 0].includes(e.series) ?
|
|
344
|
+
}), [null, void 0].includes(e.series) ? s({
|
|
345
345
|
componentName: "VueUiNestedDonuts",
|
|
346
346
|
type: "datasetSerieAttribute",
|
|
347
347
|
property: "series",
|
|
348
348
|
index: t,
|
|
349
349
|
debug: yn.value
|
|
350
|
-
}) : e.series.length === 0 ?
|
|
350
|
+
}) : e.series.length === 0 ? s({
|
|
351
351
|
componentName: "VueUiNestedDonuts",
|
|
352
352
|
type: "datasetAttributeEmpty",
|
|
353
353
|
property: `series at index ${t}`,
|
|
354
354
|
debug: yn.value
|
|
355
355
|
}) : e.series.forEach((e, t) => {
|
|
356
|
-
[null, void 0].includes(e.name) &&
|
|
356
|
+
[null, void 0].includes(e.name) && s({
|
|
357
357
|
componentName: "VueUiNestedDonuts",
|
|
358
358
|
type: "datasetSerieAttribute",
|
|
359
359
|
property: "name",
|
|
360
360
|
index: t,
|
|
361
361
|
key: "serie",
|
|
362
362
|
debug: yn.value
|
|
363
|
-
}), [null, void 0].includes(e.values) &&
|
|
363
|
+
}), [null, void 0].includes(e.values) && s({
|
|
364
364
|
componentName: "VueUiNestedDonuts",
|
|
365
365
|
type: "datasetSerieAttribute",
|
|
366
366
|
property: "values",
|
|
@@ -371,22 +371,22 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
371
371
|
});
|
|
372
372
|
});
|
|
373
373
|
let e = 0;
|
|
374
|
-
return L.value.map((
|
|
375
|
-
...
|
|
376
|
-
total:
|
|
374
|
+
return L.value.map((t, r) => ({
|
|
375
|
+
...t,
|
|
376
|
+
total: t.series.filter((e) => !W.value.includes(e.id)).map((e) => n(e.values).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
|
|
377
377
|
datasetIndex: r,
|
|
378
378
|
id: `${k.value}_${r}`,
|
|
379
|
-
series:
|
|
380
|
-
let
|
|
379
|
+
series: t.series.map((i, a) => {
|
|
380
|
+
let o = n(i.values).reduce((e, t) => e + t, 0);
|
|
381
381
|
return {
|
|
382
382
|
name: i.name,
|
|
383
|
-
arcOf:
|
|
383
|
+
arcOf: t.name,
|
|
384
384
|
arcOfId: `${k.value}_${r}`,
|
|
385
|
-
id: `${k.value}_${r}_${
|
|
386
|
-
seriesIndex:
|
|
385
|
+
id: `${k.value}_${r}_${a}`,
|
|
386
|
+
seriesIndex: a,
|
|
387
387
|
datasetIndex: r,
|
|
388
|
-
color:
|
|
389
|
-
value: j.value ? M.value[e++] ?? 0 :
|
|
388
|
+
color: ie(i.color) || En.value[a] || se[a % se.length],
|
|
389
|
+
value: j.value ? M.value[e++] ?? 0 : o,
|
|
390
390
|
absoluteValues: i.values || []
|
|
391
391
|
};
|
|
392
392
|
})
|
|
@@ -422,18 +422,18 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
422
422
|
U("selectLegend", q.value);
|
|
423
423
|
}
|
|
424
424
|
function Y(e) {
|
|
425
|
-
let t = O.dataset.flatMap((e, t) => e.series.map((e,
|
|
426
|
-
value:
|
|
427
|
-
id: `${k.value}_${t}_${
|
|
425
|
+
let t = O.dataset.flatMap((e, t) => e.series.map((e, r) => ({
|
|
426
|
+
value: n(e.values).reduce((e, t) => e + t, 0),
|
|
427
|
+
id: `${k.value}_${t}_${r}`,
|
|
428
428
|
arcOfId: `${k.value}_${t}`
|
|
429
429
|
}))).find((t) => t.id === e.id);
|
|
430
430
|
if (!t) return;
|
|
431
|
-
let
|
|
431
|
+
let r = G.value.flatMap((e) => e.series).find((t) => t.id === e.id)?.value ?? 0, i = J.value.flatMap((e) => e.series).find((t) => t.id === e.id), a = i ? i.value : 0, o = G.value.find((e) => e.id === t.arcOfId);
|
|
432
432
|
if (!o) return;
|
|
433
433
|
let s = o.series.map((e) => e.id), c = kn(s, s.length - 1, W.value);
|
|
434
434
|
W.value.includes(e.id) ? (W.value = W.value.filter((t) => t !== e.id), F.value.serieToggleAnimation.show ? On({
|
|
435
|
-
from:
|
|
436
|
-
to:
|
|
435
|
+
from: a,
|
|
436
|
+
to: r,
|
|
437
437
|
duration: F.value.serieToggleAnimation.durationMs,
|
|
438
438
|
onUpdate: (t) => {
|
|
439
439
|
J.value = J.value.map((n) => ({
|
|
@@ -451,10 +451,10 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
451
451
|
...t,
|
|
452
452
|
series: t.series.map((t) => t.id === e.id ? {
|
|
453
453
|
...t,
|
|
454
|
-
value:
|
|
454
|
+
value: r
|
|
455
455
|
} : t)
|
|
456
456
|
})), U("selectLegend", q.value))) : c && (F.value.serieToggleAnimation.show ? On({
|
|
457
|
-
from:
|
|
457
|
+
from: a,
|
|
458
458
|
to: 0,
|
|
459
459
|
duration: F.value.serieToggleAnimation.durationMs,
|
|
460
460
|
onUpdate: (t) => {
|
|
@@ -492,30 +492,30 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
492
492
|
W.value.includes(e.id) || Y({ id: e.id });
|
|
493
493
|
}) : W.value.includes(t.id) || Y({ id: t.id }));
|
|
494
494
|
}
|
|
495
|
-
let Pn = f(() => K.value / G.value.length * F.value.style.chart.layout.donut.spacingRatio), Fn = f(() => J.value.map((e, t) => K.value - t * K.value / G.value.length)), X = f(() => J.value.map((e,
|
|
496
|
-
let
|
|
495
|
+
let Pn = f(() => K.value / G.value.length * F.value.style.chart.layout.donut.spacingRatio), Fn = f(() => J.value.map((e, t) => K.value - t * K.value / G.value.length)), X = f(() => J.value.map((e, n) => {
|
|
496
|
+
let r = Math.abs(e.series.map((e) => e.value).reduce((e, t) => e + t, 0)) > 0, i = K.value - n * K.value / J.value.length, a = j.value ? Zt.value.find((e) => e.datasetIndex === n) : null, o = [...e.series, ...a ? [a] : []].map((e) => ({
|
|
497
497
|
...e,
|
|
498
498
|
value: e.value < 1e-11 ? Number.MIN_VALUE : e.value
|
|
499
|
-
})),
|
|
499
|
+
})), s = t({ series: [{
|
|
500
500
|
name: "_",
|
|
501
501
|
color: F.value.style.chart.layout.donut.emptyFill,
|
|
502
502
|
value: 1
|
|
503
|
-
}] }, H.value.width / 2, H.value.height / 2,
|
|
504
|
-
a ${
|
|
505
|
-
a ${
|
|
503
|
+
}] }, H.value.width / 2, H.value.height / 2, i, i, 1.99999, 2, 1, 360, 105.25, Pn.value), c = `M ${H.value.width / 2},${H.value.height / 2 + i}
|
|
504
|
+
a ${i},${i} 0 1,1 0,${-2 * i}
|
|
505
|
+
a ${i},${i} 0 1,1 0,${2 * i}`;
|
|
506
506
|
return {
|
|
507
507
|
...e,
|
|
508
|
-
hasData:
|
|
509
|
-
radius:
|
|
510
|
-
skeleton:
|
|
511
|
-
fullCirclePath:
|
|
512
|
-
donut:
|
|
508
|
+
hasData: r,
|
|
509
|
+
radius: i,
|
|
510
|
+
skeleton: s,
|
|
511
|
+
fullCirclePath: c,
|
|
512
|
+
donut: t({ series: o }, H.value.width / 2, H.value.height / 2, i, i, 1.99999, 2, 1, 360, 105.25, Pn.value)
|
|
513
513
|
};
|
|
514
|
-
})), In = f(() => [...G.value].map((e,
|
|
515
|
-
let
|
|
514
|
+
})), In = f(() => [...G.value].map((e, n) => {
|
|
515
|
+
let r = n * K.value / G.value.length;
|
|
516
516
|
return {
|
|
517
|
-
sizeRatio:
|
|
518
|
-
donut:
|
|
517
|
+
sizeRatio: r,
|
|
518
|
+
donut: t({ series: [{ value: 1 }] }, H.value.width / 2, H.value.height / 2, K.value - r, K.value - r, 1.99999, 2, 1, 360, 105.25, K.value / G.value.length * F.value.style.chart.layout.donut.spacingRatio)[0]
|
|
519
519
|
};
|
|
520
520
|
})), Ln = S(null), Rn = S(null), Z = S(null), zn = S(null);
|
|
521
521
|
function Bn({ datapoint: e, seriesIndex: t }) {
|
|
@@ -544,7 +544,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
544
544
|
config: F.value
|
|
545
545
|
};
|
|
546
546
|
let i = F.value.style.chart.tooltip.customFormat;
|
|
547
|
-
if (
|
|
547
|
+
if (fe(i) && re(() => i({
|
|
548
548
|
seriesIndex: n,
|
|
549
549
|
datapoint: e,
|
|
550
550
|
series: J.value,
|
|
@@ -577,7 +577,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
577
577
|
config: F.value.style.chart.tooltip,
|
|
578
578
|
showVal: F.value.style.chart.tooltip.showValue,
|
|
579
579
|
showPercentage: F.value.style.chart.tooltip.showPercentage,
|
|
580
|
-
val:
|
|
580
|
+
val: oe(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, u({
|
|
581
581
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
582
582
|
v: e.value,
|
|
583
583
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -597,7 +597,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
597
597
|
</div>
|
|
598
598
|
`;
|
|
599
599
|
});
|
|
600
|
-
} else t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.arcOf ?? ""} - ${e.name}</div>`, t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, F.value.style.chart.tooltip.showValue && (t += `<b>${
|
|
600
|
+
} else t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.arcOf ?? ""} - ${e.name}</div>`, t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, F.value.style.chart.tooltip.showValue && (t += `<b>${oe(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, u({
|
|
601
601
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
602
602
|
v: e.value,
|
|
603
603
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -627,23 +627,23 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
627
627
|
if (!F.value.style.chart.tooltip.showAllItemsAtIndex || W.value.length) return [null, void 0].includes(Rn.value) || Rn.value === e.id ? "" : `url(#blur_${k.value})`;
|
|
628
628
|
}
|
|
629
629
|
let Gn = f(() => G.value.map((e, t) => {
|
|
630
|
-
let
|
|
631
|
-
let
|
|
632
|
-
return
|
|
633
|
-
}).reduce((e, t) => e + t, 0) :
|
|
634
|
-
return e.series.map((e,
|
|
635
|
-
let
|
|
636
|
-
val:
|
|
630
|
+
let r = e.series.filter((e) => !W.value.includes(e.id)), i = j.value ? r.map((e) => {
|
|
631
|
+
let r = L.value[t].series.findIndex((t) => t.name === e.name);
|
|
632
|
+
return n(L.value[t].series[r].values).reduce((e, t) => e + t, 0);
|
|
633
|
+
}).reduce((e, t) => e + t, 0) : r.map((e) => e.value).reduce((e, t) => e + t, 0);
|
|
634
|
+
return e.series.map((e, r) => {
|
|
635
|
+
let a = n(L.value[t].series[r].values).reduce((e, t) => e + t, 0), o = j.value ? a : e.value, s = Vn({
|
|
636
|
+
val: oe(F.value.style.chart.layout.labels.dataLabels.formatter, o, u({
|
|
637
637
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
638
638
|
v: o,
|
|
639
639
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
640
640
|
r: F.value.style.chart.legend.roundingValue
|
|
641
641
|
}), {
|
|
642
642
|
datapoint: e,
|
|
643
|
-
seriesIndex:
|
|
643
|
+
seriesIndex: r
|
|
644
644
|
}),
|
|
645
|
-
percentage: isNaN(o /
|
|
646
|
-
v: o /
|
|
645
|
+
percentage: isNaN(o / i) || W.value.includes(e.id) ? "-" : u({
|
|
646
|
+
v: o / i * 100,
|
|
647
647
|
s: "%",
|
|
648
648
|
r: F.value.style.chart.legend.roundingPercentage
|
|
649
649
|
}),
|
|
@@ -660,9 +660,9 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
660
660
|
shape: "circle",
|
|
661
661
|
arcOf: e.arcOf,
|
|
662
662
|
id: e.id,
|
|
663
|
-
seriesIndex:
|
|
663
|
+
seriesIndex: r,
|
|
664
664
|
datasetIndex: t,
|
|
665
|
-
total:
|
|
665
|
+
total: i,
|
|
666
666
|
opacity: W.value.includes(e.id) ? .5 : 1,
|
|
667
667
|
segregate: () => Y(e),
|
|
668
668
|
isSegregated: W.value.includes(e.id)
|
|
@@ -1138,7 +1138,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1138
1138
|
g("div", Qe, [(x(), h("svg", {
|
|
1139
1139
|
ref_key: "svgRef",
|
|
1140
1140
|
ref: R,
|
|
1141
|
-
xmlns: E(
|
|
1141
|
+
xmlns: E(le),
|
|
1142
1142
|
"aria-describedby": `chart-instructions-${k.value}`,
|
|
1143
1143
|
class: y({
|
|
1144
1144
|
"vue-data-ui-fullscreen--on": P.value,
|
|
@@ -1250,7 +1250,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1250
1250
|
"text-anchor": "middle",
|
|
1251
1251
|
method: "align",
|
|
1252
1252
|
spacing: "auto"
|
|
1253
|
-
}, T(F.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? E(
|
|
1253
|
+
}, T(F.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? E(ce)({
|
|
1254
1254
|
source: e.name,
|
|
1255
1255
|
length: F.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
|
|
1256
1256
|
}) : e.name), 9, ht)], 10, mt)) : m("", !0)]))), 256))]))), 256)) : (x(!0), h(d, { key: 1 }, C(X.value, (e, t) => (x(), h("g", null, [(x(!0), h(d, null, C(e.donut, (t, n) => (x(), h("g", null, [n === 0 && H.value.width && H.value.height ? (x(), h("text", {
|
|
@@ -1262,33 +1262,33 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1262
1262
|
"font-size": F.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1263
1263
|
"font-weight": F.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
|
|
1264
1264
|
fill: F.value.style.chart.layout.labels.dataLabels.color
|
|
1265
|
-
}, T(F.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? E(
|
|
1265
|
+
}, T(F.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? E(ce)({
|
|
1266
1266
|
source: e.name,
|
|
1267
1267
|
length: F.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
|
|
1268
1268
|
}) : e.name), 11, gt)) : m("", !0)]))), 256))]))), 256))])) : m("", !0),
|
|
1269
1269
|
F.value.style.chart.layout.labels.dataLabels.show ? (x(), h("g", _t, [(x(!0), h(d, null, C(X.value, (e, t) => (x(), h("g", null, [(x(!0), h(d, null, C(e.donut.filter((e) => !e.ghost), (e, n) => (x(), h("g", { filter: Wn(e, n) }, [qe(g("text", {
|
|
1270
1270
|
class: y({ animated: F.value.useCssAnimation }),
|
|
1271
1271
|
opacity: +!!Un(e),
|
|
1272
|
-
"text-anchor": E(
|
|
1273
|
-
x: E(
|
|
1274
|
-
y: E(
|
|
1272
|
+
"text-anchor": E(ue)(e, !0).anchor,
|
|
1273
|
+
x: E(ue)(e, !1, F.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
1274
|
+
y: E(ae)(e, F.value.style.chart.layout.labels.dataLabels.offsetY, F.value.style.chart.layout.labels.dataLabels.offsetY) + (F.value.style.chart.layout.labels.dataLabels.showValueFirst && F.value.style.chart.layout.labels.dataLabels.showValue ? F.value.style.chart.layout.labels.dataLabels.fontSize : 0),
|
|
1275
1275
|
fill: F.value.style.chart.layout.labels.dataLabels.useSerieColor ? e.color : F.value.style.chart.layout.labels.dataLabels.color,
|
|
1276
1276
|
"font-size": F.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1277
1277
|
"font-weight": F.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
|
|
1278
|
-
}, T(E(
|
|
1278
|
+
}, T(E(a)(E(u)({
|
|
1279
1279
|
v: e.proportion * 100,
|
|
1280
1280
|
s: "%",
|
|
1281
1281
|
r: F.value.style.chart.layout.labels.dataLabels.roundingPercentage
|
|
1282
1282
|
}), F.value.style.chart.layout.labels.dataLabels.usePercentageParens ? "(" : "", F.value.style.chart.layout.labels.dataLabels.usePercentageParens ? ")" : "")), 11, yt), [[Ge, V.value.dataLabels.show && F.value.style.chart.layout.labels.dataLabels.showPercentage]]), qe(g("text", {
|
|
1283
1283
|
class: y({ animated: F.value.useCssAnimation }),
|
|
1284
1284
|
opacity: +!!Un(e),
|
|
1285
|
-
"text-anchor": E(
|
|
1286
|
-
x: E(
|
|
1287
|
-
y: E(
|
|
1285
|
+
"text-anchor": E(ue)(e, !0).anchor,
|
|
1286
|
+
x: E(ue)(e, !1, F.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
1287
|
+
y: E(ae)(e, F.value.style.chart.layout.labels.dataLabels.offsetY, F.value.style.chart.layout.labels.dataLabels.offsetY) + (F.value.style.chart.layout.labels.dataLabels.showValueFirst || !F.value.style.chart.layout.labels.dataLabels.showPercentage ? 0 : F.value.style.chart.layout.labels.dataLabels.fontSize),
|
|
1288
1288
|
fill: F.value.style.chart.layout.labels.dataLabels.useSerieColor ? e.color : F.value.style.chart.layout.labels.dataLabels.color,
|
|
1289
1289
|
"font-size": F.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1290
1290
|
"font-weight": F.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
|
|
1291
|
-
}, T(E(
|
|
1291
|
+
}, T(E(a)(E(oe)(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, E(u)({
|
|
1292
1292
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
1293
1293
|
v: e.value,
|
|
1294
1294
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -1342,7 +1342,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1342
1342
|
parent: A.value,
|
|
1343
1343
|
content: Vt.value,
|
|
1344
1344
|
isFullscreen: P.value,
|
|
1345
|
-
isCustom: E(
|
|
1345
|
+
isCustom: E(fe)(F.value.style.chart.tooltip.customFormat),
|
|
1346
1346
|
smooth: F.value.style.chart.tooltip.smooth,
|
|
1347
1347
|
backdropFilter: F.value.style.chart.tooltip.backdropFilter,
|
|
1348
1348
|
smoothForce: F.value.style.chart.tooltip.smoothForce,
|