vue-data-ui 3.22.4 → 3.22.6
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-Ds4xmpiQ.js} +1 -1
- package/dist/{BaseDraggableDialog-DjzNWkiE.js → BaseDraggableDialog-VbypEaAa.js} +2 -2
- package/dist/{BaseIcon-xBuW2jjI.js → BaseIcon-DcUvOfxf.js} +1 -1
- package/dist/{BaseLegendToggle-C4Usj0LI.js → BaseLegendToggle-DFwIY5bE.js} +1 -1
- package/dist/{BaseZoomControls-Cg9o2J-q.js → BaseZoomControls-DwolSINF.js} +2 -2
- package/dist/{ColorPicker-Usv7badH.js → ColorPicker-UVDPcrjE.js} +2 -2
- package/dist/{DataTable-PidUPOit.js → DataTable-CXfvIulC.js} +2 -2
- package/dist/{Legend-DXOzbXb-.js → Legend-D-635Kag.js} +2 -2
- package/dist/{NonSvgPenAndPaper-OIs8I25K.js → NonSvgPenAndPaper-pR_1qp3s.js} +29 -29
- package/dist/{PackageVersion-Cm-3hwIF.js → PackageVersion-Da7hl-34.js} +1 -1
- package/dist/{PenAndPaper-ISUbDKXq.js → PenAndPaper-Bk2-E7V4.js} +18 -18
- package/dist/{Shape-BnF9aMPX.js → Shape-BSetplwm.js} +1 -1
- package/dist/{Slicer-hEvKOLw3.js → Slicer-ClIGOuoX.js} +2 -2
- package/dist/{SlicerPreview-BDI-aCXE.js → SlicerPreview-D1n9AW39.js} +4 -4
- package/dist/{SparkTooltip-DaWSTzfA.js → SparkTooltip-CjDAyolg.js} +1 -1
- package/dist/{Title-DDEEO-Nr.js → Title-C-p0ilWB.js} +1 -1
- package/dist/{Tooltip-BhKov422.js → Tooltip-YabpoXo1.js} +1 -1
- package/dist/{UserOptions-BxT1XHzN.js → UserOptions-BO4VFL8O.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-CVJfsfwL.js} +1 -1
- package/dist/exposedLib-CjwriUaG.js +19 -0
- package/dist/{img-B29J8tV5.js → img-B_y5qDdm.js} +1 -1
- package/dist/{labelUtils-BFcL_t-A.js → labelUtils-CyVwqXSh.js} +1 -1
- package/dist/{lib-CuwHGt1j.js → lib-DRBJCmHW.js} +6 -9
- package/dist/{package-CRlwXCDr.js → package-DyQ_PQis.js} +1 -1
- package/dist/{pdf-ymYt9Lee.js → pdf-CG02qhAH.js} +1 -1
- package/dist/{render-common-D6ny-Fwu.js → render-common-CUAlQvAQ.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 +14 -0
- package/dist/types/vue-ui-treemap.d.ts +3 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js → useAutoSizeLabelsInsideViewbox-DPMOys9n.js} +1 -1
- package/dist/{useConfig-pVLia3dt.js → useConfig-DYM3f6EI.js} +5 -3
- package/dist/{useNestedProp-BjkuFaz1.js → useNestedProp-BEo2N1Db.js} +1 -1
- package/dist/{useObjectBindings-C1XuDxFr.js → useObjectBindings-CD31syQb.js} +1 -1
- package/dist/{usePrinter-C0wAS8yc.js → usePrinter-CRp5IW3v.js} +2 -2
- package/dist/utils.js +10 -10
- package/dist/{vue-data-ui-DTWqd0R2.js → vue-data-ui-Bpu4kxlm.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-BAH0jNtT.js +1757 -0
- package/dist/{vue-ui-accordion-B64IJyPU.js → vue-ui-accordion-CfMrbDoq.js} +4 -4
- package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +1238 -0
- package/dist/{vue-ui-annotator-CU4CdKMm.js → vue-ui-annotator-CG6rhFpy.js} +68 -68
- package/dist/{vue-ui-bullet-tlj5_z_z.js → vue-ui-bullet-C_oBS1cr.js} +18 -18
- package/dist/{vue-ui-bump-BD0Uq3As.js → vue-ui-bump-BZB1Na8h.js} +243 -243
- package/dist/{vue-ui-candlestick-CZxsNGKS.js → vue-ui-candlestick-8d_1xO8X.js} +27 -27
- package/dist/{vue-ui-carousel-table-ycbcmBKt.js → vue-ui-carousel-table-BfZNcwmY.js} +43 -43
- package/dist/vue-ui-chestnut-Cx8T3NEl.js +2010 -0
- package/dist/vue-ui-chord-B-sauvLo.js +1391 -0
- package/dist/{vue-ui-circle-pack-BPC6zUis.js → vue-ui-circle-pack-BLh8HnGK.js} +32 -32
- package/dist/{vue-ui-cursor-DF_e5k1s.js → vue-ui-cursor-DVsEm_4l.js} +4 -4
- package/dist/{vue-ui-dag-BIo4-Oa8.js → vue-ui-dag-Cfi0b9qm.js} +24 -24
- package/dist/{vue-ui-dashboard-BEtF6UX2.js → vue-ui-dashboard-F_NZ1xoQ.js} +70 -70
- package/dist/{vue-ui-digits-07IxTlNO.js → vue-ui-digits-BfP1kbj3.js} +4 -4
- package/dist/vue-ui-donut-BwAyvV3-.js +2410 -0
- package/dist/{vue-ui-donut-C5oRCxAO.js → vue-ui-donut-DlVRnVr_.js} +120 -120
- package/dist/{vue-ui-donut-evolution-BSeyPC9k.js → vue-ui-donut-evolution-D1k4u6cA.js} +419 -419
- package/dist/vue-ui-dumbbell-DgmvPpK2.js +1530 -0
- package/dist/{vue-ui-flow-R_dLE1WS.js → vue-ui-flow-D_7Idmmw.js} +84 -84
- package/dist/vue-ui-funnel-BYCFV5TD.js +777 -0
- package/dist/vue-ui-galaxy-Bjxbg5_B.js +1077 -0
- package/dist/{vue-ui-gauge-AbzY-7Gg.js → vue-ui-gauge-Dt0H7DgC.js} +217 -217
- package/dist/{vue-ui-geo-DVT9XEC3.js → vue-ui-geo-89DEQb5l.js} +18 -18
- package/dist/{vue-ui-gizmo-DJTRXao8.js → vue-ui-gizmo-CQyLK18v.js} +62 -62
- package/dist/{vue-ui-heatmap-BCFId15K.js → vue-ui-heatmap-o6MvoxBK.js} +247 -247
- package/dist/vue-ui-history-plot-B7zuCfdg.js +1715 -0
- package/dist/{vue-ui-horizontal-bar-j3jszojt.js → vue-ui-horizontal-bar-CwB4sc6M.js} +275 -275
- package/dist/{vue-ui-kpi-DJjF6tcf.js → vue-ui-kpi-4C-j92D-.js} +4 -4
- package/dist/{vue-ui-mini-loader-nOsOsA2V.js → vue-ui-mini-loader-Bj4Wv-i8.js} +3 -3
- package/dist/vue-ui-molecule-BDrRmwmm.js +925 -0
- package/dist/{vue-ui-mood-radar-DP_4LHfZ.js → vue-ui-mood-radar-B5W35Fvp.js} +30 -30
- package/dist/{vue-ui-nested-donuts-DFsLZEqx.js → vue-ui-nested-donuts-wfesrzle.js} +105 -105
- package/dist/{vue-ui-onion-CzXx3Rme.js → vue-ui-onion-B8-psLbF.js} +40 -40
- package/dist/vue-ui-parallel-coordinate-plot-DBpHCFxa.js +1416 -0
- package/dist/vue-ui-quadrant-BzyGOJR2.js +1978 -0
- package/dist/{vue-ui-quick-chart-CnIFPFPv.js → vue-ui-quick-chart-so_8PzvS.js} +663 -663
- package/dist/{vue-ui-radar-CNwKFbHc.js → vue-ui-radar-5fQ5AAWD.js} +63 -63
- package/dist/{vue-ui-rating-CRziryE2.js → vue-ui-rating-CKWHDKOT.js} +34 -34
- package/dist/vue-ui-relation-circle-Bd_ONHCz.js +924 -0
- package/dist/{vue-ui-ridgeline-Kw50zROq.js → vue-ui-ridgeline-DVbYznRz.js} +102 -102
- package/dist/vue-ui-rings-c-yLWFHr.js +1246 -0
- package/dist/{vue-ui-scatter-DoL5Kh1Y.js → vue-ui-scatter-QhmE7n1H.js} +87 -87
- package/dist/{vue-ui-skeleton-BOHwJSdz.js → vue-ui-skeleton-BkxB6Dik.js} +4 -4
- package/dist/{vue-ui-smiley-BTvDy8Fm.js → vue-ui-smiley-C4g0iaF7.js} +10 -10
- package/dist/{vue-ui-spark-trend-OgSFIFh0.js → vue-ui-spark-trend-0FELlq4x.js} +98 -98
- package/dist/{vue-ui-sparkbar-D8FdqMB_.js → vue-ui-sparkbar-D-i_VLO6.js} +87 -87
- package/dist/{vue-ui-sparkgauge-CBpPbVkw.js → vue-ui-sparkgauge-CWw6w_ng.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-BQjbLa2k.js → vue-ui-sparkhistogram-DuGpkfma.js} +105 -105
- package/dist/{vue-ui-sparkline-BJfh5Lje.js → vue-ui-sparkline-Bi06lHQd.js} +252 -252
- package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +662 -0
- package/dist/{vue-ui-stackbar-Dqs7_g8D.js → vue-ui-stackbar-DDvuDGQ_.js} +85 -85
- package/dist/vue-ui-stackline-C0NHBUaE.js +2416 -0
- package/dist/{vue-ui-strip-plot-B7D6Hk8R.js → vue-ui-strip-plot-_6LL45i9.js} +369 -369
- package/dist/{vue-ui-table-Bqi9XNvY.js → vue-ui-table-DBlZswRi.js} +26 -26
- package/dist/{vue-ui-table-heatmap-D38YSxhJ.js → vue-ui-table-heatmap-3xYIDKcP.js} +6 -6
- package/dist/{vue-ui-table-sparkline-0Ffb2jdf.js → vue-ui-table-sparkline-BH5PzEnJ.js} +201 -201
- package/dist/{vue-ui-thermometer-Di5PXtEO.js → vue-ui-thermometer-BxMzAqoT.js} +119 -119
- package/dist/{vue-ui-timer-9CDcd-gP.js → vue-ui-timer-ONSitYDm.js} +30 -30
- package/dist/{vue-ui-tiremarks-BAQ-cCSq.js → vue-ui-tiremarks-DWXM-9nR.js} +15 -15
- package/dist/vue-ui-treemap-B03c4RIy.js +1713 -0
- package/dist/{vue-ui-waffle-DG2IfACo.js → vue-ui-waffle-afa8HSxz.js} +160 -160
- package/dist/{vue-ui-wheel-BfXJFCjv.js → vue-ui-wheel-DRP7X8S2.js} +37 -37
- package/dist/{vue-ui-word-cloud-3NJy1z6d.js → vue-ui-word-cloud-AKpMO97a.js} +38 -38
- package/dist/{vue-ui-world-vrGT5g1H.js → vue-ui-world-CqS-HhZl.js} +400 -400
- package/dist/{vue-ui-xy-Dg0wxSeC.js → vue-ui-xy-Bmd11BxR.js} +656 -656
- package/dist/{vue-ui-xy-Cb7u46JN.js → vue-ui-xy-DJ8YKPgs.js} +244 -244
- package/dist/{vue-ui-xy-canvas-CjbjJ70r.js → vue-ui-xy-canvas-DO_PDGKf.js} +47 -47
- package/package.json +1 -1
- package/dist/exposedLib-C2U48XK7.js +0 -19
- package/dist/vue-ui-3d-bar-DBpSRV-C.js +0 -1757
- package/dist/vue-ui-age-pyramid-e09oK-Fp.js +0 -1238
- package/dist/vue-ui-chestnut-CnEsjvh4.js +0 -2010
- package/dist/vue-ui-chord-BZhXsZXp.js +0 -1391
- package/dist/vue-ui-donut-C4FcvXm3.js +0 -2410
- package/dist/vue-ui-dumbbell-Cykw4WYn.js +0 -1530
- package/dist/vue-ui-funnel-Ct5xQdak.js +0 -777
- package/dist/vue-ui-galaxy-B5BkdIt5.js +0 -1077
- package/dist/vue-ui-history-plot-DCeroetw.js +0 -1700
- package/dist/vue-ui-molecule-2pfoR63d.js +0 -925
- package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +0 -1416
- package/dist/vue-ui-quadrant-Br_iZmcw.js +0 -1978
- package/dist/vue-ui-relation-circle-BVDIikGi.js +0 -924
- package/dist/vue-ui-rings-BDJyoWvT.js +0 -1246
- package/dist/vue-ui-sparkstackbar-1WUQrqd7.js +0 -662
- package/dist/vue-ui-stackline-IRjugedp.js +0 -2416
- package/dist/vue-ui-treemap-CLOlWiDE.js +0 -1587
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as me } from "./useConfig-
|
|
4
|
-
import { t as he } from "./usePrinter-
|
|
2
|
+
import { At as t, Dt as n, Ht as r, It as i, Pt as a, Q as o, S as s, Tt as c, W as l, Wt as ee, X as te, Z as ne, _t as re, at as ie, b as ae, d as oe, i as se, jt as ce, n as le, q as u, t as ue, u as de, v as fe, w as pe } from "./lib-DRBJCmHW.js";
|
|
3
|
+
import { t as me } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as he } from "./usePrinter-CRp5IW3v.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-BEo2N1Db.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_y5qDdm.js";
|
|
10
|
+
import { n as Se } from "./Title-C-p0ilWB.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-DFwIY5bE.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-CyVwqXSh.js";
|
|
19
|
+
import { t as je } from "./Legend-D-635Kag.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-YabpoXo1.js")), kt = _(() => import("./BaseIcon-DcUvOfxf.js").then((e) => e.n)), At = _(() => import("./vue-ui-accordion-CfMrbDoq.js").then((e) => e.n)), jt = _(() => import("./DataTable-CXfvIulC.js")), Mt = _(() => import("./UserOptions-BO4VFL8O.js").then((e) => e.n)), Nt = _(() => import("./PenAndPaper-Bk2-E7V4.js").then((e) => e.t)), Pt = _(() => import("./PackageVersion-Da7hl-34.js").then((e) => e.t)), Ft = _(() => import("./BaseDraggableDialog-VbypEaAa.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(l()), 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(() => ee({
|
|
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: ee({
|
|
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
|
+
}), n = {}, i = e.theme;
|
|
183
|
+
if (i) if (!Lt.value(e)) Rt(e), n = e;
|
|
184
184
|
else {
|
|
185
|
-
let
|
|
186
|
-
userConfig: Me[
|
|
185
|
+
let a = ye({
|
|
186
|
+
userConfig: Me[i] || O.config,
|
|
187
187
|
defaultConfig: e
|
|
188
188
|
});
|
|
189
|
-
|
|
189
|
+
n = {
|
|
190
190
|
...ye({
|
|
191
191
|
userConfig: O.config,
|
|
192
|
-
defaultConfig:
|
|
192
|
+
defaultConfig: a
|
|
193
193
|
}),
|
|
194
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
194
|
+
customPalette: e.customPalette.length ? e.customPalette : r[i] || t
|
|
195
195
|
};
|
|
196
196
|
}
|
|
197
|
-
else
|
|
198
|
-
return
|
|
197
|
+
else n = e;
|
|
198
|
+
return n;
|
|
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, n = 50) {
|
|
214
|
+
return new Promise((r) => {
|
|
215
|
+
let i = e.length;
|
|
216
|
+
M.value = Array(i).fill(0), Zt.value = [];
|
|
217
217
|
let o = 0;
|
|
218
218
|
e.forEach((e, s) => {
|
|
219
219
|
setTimeout(() => {
|
|
220
|
-
let
|
|
220
|
+
let n = performance.now();
|
|
221
221
|
function c(l) {
|
|
222
|
-
let ee = Math.min((l -
|
|
222
|
+
let ee = Math.min((l - n) / 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 n = fe(e.series.reduce((e, t) => e + fe(a(t.values).reduce((e, t) => e + t, 0)), 0)) - fe(M.value.slice(ie, ie + e.series.length).reduce((e, t) => e + t, 0));
|
|
227
|
+
n > 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: n,
|
|
236
|
+
fullValue: n,
|
|
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 === i && r());
|
|
241
241
|
}
|
|
242
242
|
requestAnimationFrame(c);
|
|
243
|
-
}, s *
|
|
243
|
+
}, s * n);
|
|
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) => a(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 n = e.series.reduce((e, t) => e + a(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: n,
|
|
261
|
+
fullValue: n,
|
|
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 (n(O.dataset) ? (o({
|
|
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(() => s(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) && o({
|
|
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) ? o({
|
|
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 ? o({
|
|
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) && o({
|
|
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) && o({
|
|
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((n, r) => ({
|
|
375
|
+
...n,
|
|
376
|
+
total: n.series.filter((e) => !W.value.includes(e.id)).map((e) => a(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: n.series.map((i, o) => {
|
|
380
|
+
let s = a(i.values).reduce((e, t) => e + t, 0);
|
|
381
381
|
return {
|
|
382
382
|
name: i.name,
|
|
383
|
-
arcOf:
|
|
383
|
+
arcOf: n.name,
|
|
384
384
|
arcOfId: `${k.value}_${r}`,
|
|
385
|
-
id: `${k.value}_${r}_${
|
|
386
|
-
seriesIndex:
|
|
385
|
+
id: `${k.value}_${r}_${o}`,
|
|
386
|
+
seriesIndex: o,
|
|
387
387
|
datasetIndex: r,
|
|
388
|
-
color:
|
|
389
|
-
value: j.value ? M.value[e++] ?? 0 :
|
|
388
|
+
color: ae(i.color) || En.value[o] || t[o % t.length],
|
|
389
|
+
value: j.value ? M.value[e++] ?? 0 : s,
|
|
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, n) => ({
|
|
426
|
+
value: a(e.values).reduce((e, t) => e + t, 0),
|
|
427
|
+
id: `${k.value}_${t}_${n}`,
|
|
428
428
|
arcOfId: `${k.value}_${t}`
|
|
429
429
|
}))).find((t) => t.id === e.id);
|
|
430
430
|
if (!t) return;
|
|
431
|
-
let
|
|
431
|
+
let n = G.value.flatMap((e) => e.series).find((t) => t.id === e.id)?.value ?? 0, r = J.value.flatMap((e) => e.series).find((t) => t.id === e.id), i = r ? r.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: i,
|
|
436
|
+
to: n,
|
|
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: n
|
|
455
455
|
} : t)
|
|
456
456
|
})), U("selectLegend", q.value))) : c && (F.value.serieToggleAnimation.show ? On({
|
|
457
|
-
from:
|
|
457
|
+
from: i,
|
|
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, t) => {
|
|
496
|
+
let n = Math.abs(e.series.map((e) => e.value).reduce((e, t) => e + t, 0)) > 0, r = K.value - t * K.value / J.value.length, i = j.value ? Zt.value.find((e) => e.datasetIndex === t) : null, a = [...e.series, ...i ? [i] : []].map((e) => ({
|
|
497
497
|
...e,
|
|
498
498
|
value: e.value < 1e-11 ? Number.MIN_VALUE : e.value
|
|
499
|
-
})),
|
|
499
|
+
})), o = c({ 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, r, r, 1.99999, 2, 1, 360, 105.25, Pn.value), s = `M ${H.value.width / 2},${H.value.height / 2 + r}
|
|
504
|
+
a ${r},${r} 0 1,1 0,${-2 * r}
|
|
505
|
+
a ${r},${r} 0 1,1 0,${2 * r}`;
|
|
506
506
|
return {
|
|
507
507
|
...e,
|
|
508
|
-
hasData:
|
|
509
|
-
radius:
|
|
510
|
-
skeleton:
|
|
511
|
-
fullCirclePath:
|
|
512
|
-
donut:
|
|
508
|
+
hasData: n,
|
|
509
|
+
radius: r,
|
|
510
|
+
skeleton: o,
|
|
511
|
+
fullCirclePath: s,
|
|
512
|
+
donut: c({ series: a }, H.value.width / 2, H.value.height / 2, r, r, 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, t) => {
|
|
515
|
+
let n = t * K.value / G.value.length;
|
|
516
516
|
return {
|
|
517
|
-
sizeRatio:
|
|
518
|
-
donut:
|
|
517
|
+
sizeRatio: n,
|
|
518
|
+
donut: c({ series: [{ value: 1 }] }, H.value.width / 2, H.value.height / 2, K.value - n, K.value - n, 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 (re(i) && ie(() => 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: se(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>${se(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 n = e.series.filter((e) => !W.value.includes(e.id)), r = j.value ? n.map((e) => {
|
|
631
|
+
let n = L.value[t].series.findIndex((t) => t.name === e.name);
|
|
632
|
+
return a(L.value[t].series[n].values).reduce((e, t) => e + t, 0);
|
|
633
|
+
}).reduce((e, t) => e + t, 0) : n.map((e) => e.value).reduce((e, t) => e + t, 0);
|
|
634
|
+
return e.series.map((e, n) => {
|
|
635
|
+
let i = a(L.value[t].series[n].values).reduce((e, t) => e + t, 0), o = j.value ? i : e.value, s = Vn({
|
|
636
|
+
val: se(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: n
|
|
644
644
|
}),
|
|
645
|
-
percentage: isNaN(o /
|
|
646
|
-
v: o /
|
|
645
|
+
percentage: isNaN(o / r) || W.value.includes(e.id) ? "-" : u({
|
|
646
|
+
v: o / r * 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: n,
|
|
664
664
|
datasetIndex: t,
|
|
665
|
-
total:
|
|
665
|
+
total: r,
|
|
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(ue),
|
|
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(le)({
|
|
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(le)({
|
|
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(de)(e, !0).anchor,
|
|
1273
|
+
x: E(de)(e, !1, F.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
1274
|
+
y: E(oe)(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(ce)(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(de)(e, !0).anchor,
|
|
1286
|
+
x: E(de)(e, !1, F.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
1287
|
+
y: E(oe)(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(ce)(E(se)(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(re)(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,
|