vue-data-ui 3.22.6 → 3.22.8
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-DdymhUfY.js} +1 -1
- package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
- package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-C2qlyHc7.js} +1 -1
- package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
- package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C6zonwhr.js} +2 -2
- package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-CK2-h611.js} +2 -2
- package/dist/{DataTable-CXfvIulC.js → DataTable-D9NvewTT.js} +2 -2
- package/dist/{Legend-D-635Kag.js → Legend-ROt6ugzW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-BHHNsVVP.js} +29 -29
- package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-DW7zwRcm.js} +1 -1
- package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-pcgwlYr2.js} +18 -18
- package/dist/{Shape-BSetplwm.js → Shape-UpH0a4Ur.js} +3 -3
- package/dist/{Slicer-ClIGOuoX.js → Slicer-BZ5VnOOS.js} +19 -19
- package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-BQFeCw0m.js} +351 -351
- package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-BTLN-Kex.js} +6 -6
- package/dist/{Title-C-p0ilWB.js → Title-CcNiYzEo.js} +1 -1
- package/dist/{Tooltip-YabpoXo1.js → Tooltip-CxOrWlFy.js} +1 -1
- package/dist/{UserOptions-BO4VFL8O.js → UserOptions-16uF1ayB.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-BbwhsRIr.js} +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +19 -0
- package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
- package/dist/{img-B_y5qDdm.js → img-DnP3eXuv.js} +1 -1
- package/dist/{labelUtils-CyVwqXSh.js → labelUtils-DBEh078l.js} +1 -1
- package/dist/{lib-DRBJCmHW.js → lib-JqW18y5I.js} +49 -30
- package/dist/{package-DyQ_PQis.js → package-gp9pYCfN.js} +1 -1
- package/dist/{pdf-CG02qhAH.js → pdf-hj3gzrE7.js} +1 -1
- package/dist/{render-common-CUAlQvAQ.js → render-common-CLn1VXJ9.js} +20 -20
- 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/utils.d.ts +18 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
- package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-DIuuzG1r.js} +1 -1
- package/dist/{usePrinter-CRp5IW3v.js → usePrinter-CqqHmnBI.js} +2 -2
- package/dist/utils.js +23 -23
- package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/{vue-ui-3d-bar-BAH0jNtT.js → vue-ui-3d-bar-B3HxJmDI.js} +124 -124
- package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-YyosvEPo.js} +3 -3
- package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
- package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-CfJXeAOE.js} +6 -6
- package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
- package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
- package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
- package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
- package/dist/{vue-ui-chestnut-Cx8T3NEl.js → vue-ui-chestnut-RfWMGUD-.js} +114 -114
- package/dist/{vue-ui-chord-B-sauvLo.js → vue-ui-chord-Db1O_diJ.js} +57 -57
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
- package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
- package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DL3zq0F2.js} +37 -37
- package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
- package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-ThFVNO3l.js} +3 -3
- package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-BuTd6dt4.js} +224 -224
- package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-C3Rt6j-I.js} +458 -458
- package/dist/vue-ui-donut-evolution-DY46UPF_.js +1510 -0
- package/dist/vue-ui-dumbbell-wK7vUB0x.js +1530 -0
- package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-BTUNfWb7.js} +122 -122
- package/dist/vue-ui-funnel-BhoHzyHa.js +777 -0
- package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DJ2uNYcN.js} +263 -263
- package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-Cf4NqvrO.js} +226 -226
- package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-ovHu_Sc9.js} +21 -21
- package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-DDxEj-qe.js} +7 -7
- package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-Npqnvb1r.js} +282 -282
- package/dist/vue-ui-history-plot-C3Kjy2tc.js +1715 -0
- package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
- package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
- package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
- package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
- package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-DlVh6hwx.js} +27 -27
- package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
- package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DBpHCFxa.js → vue-ui-parallel-coordinate-plot-DSp_cwU-.js} +57 -57
- package/dist/vue-ui-quadrant-ByVg-NBs.js +1978 -0
- package/dist/{vue-ui-quick-chart-so_8PzvS.js → vue-ui-quick-chart-WMzSJxGZ.js} +188 -188
- package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-DE-me6OC.js} +64 -64
- package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
- package/dist/vue-ui-relation-circle-L7-dTqet.js +924 -0
- package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
- package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
- package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
- package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
- package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-D4NnZ1mg.js} +17 -17
- package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-C38ysZ-c.js} +21 -21
- package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-B03ndcUe.js} +80 -80
- package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DgPc4vPT.js} +7 -7
- package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-D02ff7ZI.js} +115 -115
- package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-DlTfNQj8.js} +464 -464
- package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +662 -0
- package/dist/vue-ui-stackbar-BVdApDnY.js +2332 -0
- package/dist/vue-ui-stackline-QzQQ7lTy.js +2419 -0
- package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
- package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Q3brrivC.js} +68 -68
- package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
- package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-Q6BHPKUn.js} +199 -199
- package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-Bg0RR6m4.js} +26 -26
- package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-BdzKpoRj.js} +29 -29
- package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-DWb69ofh.js} +17 -17
- package/dist/{vue-ui-treemap-B03c4RIy.js → vue-ui-treemap-uUz07Prw.js} +401 -401
- package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
- package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-DTfvWYA7.js} +137 -137
- package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-DqfljAqH.js} +40 -40
- package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
- package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-Bvgy2do1.js} +1598 -1596
- package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-D5KsuNR2.js} +259 -259
- package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-BfgeE3TW.js} +440 -437
- package/package.json +1 -1
- package/dist/exposedLib-CjwriUaG.js +0 -19
- package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +0 -1238
- package/dist/vue-ui-bullet-C_oBS1cr.js +0 -710
- package/dist/vue-ui-bump-BZB1Na8h.js +0 -1249
- package/dist/vue-ui-candlestick-8d_1xO8X.js +0 -1826
- package/dist/vue-ui-carousel-table-BfZNcwmY.js +0 -455
- package/dist/vue-ui-circle-pack-BLh8HnGK.js +0 -1608
- package/dist/vue-ui-donut-evolution-D1k4u6cA.js +0 -1510
- 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-horizontal-bar-CwB4sc6M.js +0 -1683
- package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
- package/dist/vue-ui-nested-donuts-wfesrzle.js +0 -1487
- package/dist/vue-ui-onion-B8-psLbF.js +0 -1200
- package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
- package/dist/vue-ui-rating-CKWHDKOT.js +0 -343
- package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
- package/dist/vue-ui-ridgeline-DVbYznRz.js +0 -1622
- 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-stackline-C0NHBUaE.js +0 -2416
- package/dist/vue-ui-strip-plot-_6LL45i9.js +0 -1729
- package/dist/vue-ui-waffle-afa8HSxz.js +0 -1362
- package/dist/vue-ui-world-CqS-HhZl.js +0 -14264
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as t, Dt as n, G as r, J as i, Kt as a, Mt as o, Rt as s, S as ee, T as te, Wt as ne, Z as re, b as ie, d as ae, dt as oe, i as c, kt as se, p as ce, r as le, t as ue, u as l, zt as de } from "./lib-JqW18y5I.js";
|
|
3
3
|
import { t as fe } from "./useConfig-DYM3f6EI.js";
|
|
4
|
-
import { t as pe } from "./usePrinter-
|
|
4
|
+
import { t as pe } from "./usePrinter-CqqHmnBI.js";
|
|
5
5
|
import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as ge } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as _e } from "./useNestedProp-
|
|
7
|
+
import { t as _e } from "./useNestedProp-DIuuzG1r.js";
|
|
8
8
|
import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as ye } from "./img-
|
|
9
|
+
import { t as ye } from "./img-DnP3eXuv.js";
|
|
10
10
|
import { t as be } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
11
11
|
import { t as xe } from "./A11yDataTable-DdRsVULz.js";
|
|
12
12
|
import { t as Se } from "./useUserOptionState-DK-_1ddE.js";
|
|
@@ -358,13 +358,13 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
358
358
|
],
|
|
359
359
|
setup(e, { expose: be, emit: ze }) {
|
|
360
360
|
Ie((e) => ({ bd8a0696: e.tdo }));
|
|
361
|
-
let Qn = Ae(() => import("./BaseIcon-
|
|
361
|
+
let Qn = Ae(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), $n = Ae(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), er = Ae(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), tr = Ae(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), nr = Ae(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), rr = Ae(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_chestnut: ir } = fe(), { isThemeValid: ar, warnInvalidTheme: or } = ve(), E = e, sr = d(() => !!E.dataset && E.dataset.length), D = b(r()), cr = b(null), lr = b(0), ur = b(null), dr = b(null), fr = b(!1), pr = b(!1), mr = b(!1), O = b(!1), k = b(""), A = b({
|
|
362
362
|
level: "root",
|
|
363
363
|
rootIndex: 0,
|
|
364
364
|
branchIndex: 0,
|
|
365
365
|
nutIndex: 0,
|
|
366
366
|
locked: !1
|
|
367
|
-
}), j = b(Sr()), M = d(() => j.value.userOptions.useCursorPointer), hr = d(() =>
|
|
367
|
+
}), j = b(Sr()), M = d(() => j.value.userOptions.useCursorPointer), hr = d(() => a({
|
|
368
368
|
defaultConfig: {
|
|
369
369
|
userOptions: { show: !1 },
|
|
370
370
|
table: { show: !1 },
|
|
@@ -508,7 +508,7 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
508
508
|
}
|
|
509
509
|
]
|
|
510
510
|
}],
|
|
511
|
-
skeletonConfig:
|
|
511
|
+
skeletonConfig: a({
|
|
512
512
|
defaultConfig: j.value,
|
|
513
513
|
userConfig: hr.value
|
|
514
514
|
})
|
|
@@ -517,19 +517,19 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
517
517
|
let e = _e({
|
|
518
518
|
userConfig: E.config,
|
|
519
519
|
defaultConfig: ir
|
|
520
|
-
}),
|
|
521
|
-
if (!
|
|
520
|
+
}), t = e.theme;
|
|
521
|
+
if (!t) return e;
|
|
522
522
|
if (!ar.value(e)) return or(e), e;
|
|
523
|
-
let
|
|
524
|
-
userConfig: Te[
|
|
523
|
+
let n = _e({
|
|
524
|
+
userConfig: Te[t] || E.config,
|
|
525
525
|
defaultConfig: e
|
|
526
|
-
}),
|
|
526
|
+
}), r = _e({
|
|
527
527
|
userConfig: E.config,
|
|
528
|
-
defaultConfig:
|
|
528
|
+
defaultConfig: n
|
|
529
529
|
});
|
|
530
530
|
return {
|
|
531
|
-
...
|
|
532
|
-
customPalette:
|
|
531
|
+
...r,
|
|
532
|
+
customPalette: r.customPalette.length ? r.customPalette : ne[t] || o
|
|
533
533
|
};
|
|
534
534
|
}
|
|
535
535
|
Le(() => E.config, (e) => {
|
|
@@ -563,90 +563,90 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
563
563
|
width: P.value.width - (P.value.padding.left + P.value.padding.right),
|
|
564
564
|
height: P.value.height - (P.value.padding.top + P.value.padding.bottom),
|
|
565
565
|
seedX: P.value.padding.left + 64
|
|
566
|
-
})), I = d(() => _r.value.flatMap((e) => (e.branches || []).map((e) => e.value || 0)).reduce((e, t) => e + t, 0)), L = d(() => (_r.value.forEach((e,
|
|
567
|
-
|
|
566
|
+
})), I = d(() => _r.value.flatMap((e) => (e.branches || []).map((e) => e.value || 0)).reduce((e, t) => e + t, 0)), L = d(() => (_r.value.forEach((e, n) => {
|
|
567
|
+
oe({
|
|
568
568
|
datasetObject: e,
|
|
569
569
|
requiredAttributes: ["name", "branches"]
|
|
570
570
|
}).forEach((e) => {
|
|
571
|
-
|
|
571
|
+
t({
|
|
572
572
|
componentName: "VueUiChestnut",
|
|
573
573
|
type: "datasetSerieAttribute",
|
|
574
574
|
property: e,
|
|
575
|
-
index:
|
|
575
|
+
index: n,
|
|
576
576
|
debug: Kr.value
|
|
577
577
|
});
|
|
578
|
-
}), e.branches && e.branches.forEach((e,
|
|
579
|
-
|
|
578
|
+
}), e.branches && e.branches.forEach((e, r) => {
|
|
579
|
+
oe({
|
|
580
580
|
datasetObject: e,
|
|
581
581
|
requiredAttributes: ["name", "value"]
|
|
582
582
|
}).forEach((e) => {
|
|
583
|
-
|
|
583
|
+
t({
|
|
584
584
|
componentName: "VueUiChestnut",
|
|
585
585
|
type: "datasetSerieAttribute",
|
|
586
586
|
property: e,
|
|
587
|
-
index: `${
|
|
587
|
+
index: `${n} - ${r}`,
|
|
588
588
|
debug: Kr.value
|
|
589
589
|
});
|
|
590
|
-
}), e.breakdown && e.breakdown.forEach((e,
|
|
591
|
-
|
|
590
|
+
}), e.breakdown && e.breakdown.forEach((e, i) => {
|
|
591
|
+
oe({
|
|
592
592
|
datasetObject: e,
|
|
593
593
|
requiredAttributes: ["name", "value"]
|
|
594
594
|
}).forEach((e) => {
|
|
595
|
-
|
|
595
|
+
t({
|
|
596
596
|
componentName: "VueUiChestnut",
|
|
597
597
|
type: "datasetSerieAttribute",
|
|
598
598
|
property: e,
|
|
599
|
-
index: `${
|
|
599
|
+
index: `${n} - ${r} - ${i}`,
|
|
600
600
|
debug: Kr.value
|
|
601
601
|
});
|
|
602
602
|
});
|
|
603
603
|
});
|
|
604
604
|
});
|
|
605
|
-
}), _r.value.map((e,
|
|
606
|
-
let
|
|
605
|
+
}), _r.value.map((e, t) => {
|
|
606
|
+
let n = (e.branches || []).map((e) => e.value || 0).reduce((e, t) => e + t, 0);
|
|
607
607
|
return {
|
|
608
608
|
...e,
|
|
609
|
-
color:
|
|
610
|
-
id: e.id || `root_${
|
|
609
|
+
color: ie(e.color) || Or.value[t] || o[t] || o[t % o.length],
|
|
610
|
+
id: e.id || `root_${t}_${D.value}`,
|
|
611
611
|
type: "root",
|
|
612
|
-
total:
|
|
613
|
-
rootIndex:
|
|
614
|
-
branches: (e.branches || []).map((
|
|
615
|
-
...
|
|
612
|
+
total: n,
|
|
613
|
+
rootIndex: t,
|
|
614
|
+
branches: (e.branches || []).map((r, i) => ({
|
|
615
|
+
...r,
|
|
616
616
|
rootName: e.name,
|
|
617
|
-
rootIndex:
|
|
618
|
-
color:
|
|
619
|
-
value:
|
|
620
|
-
id:
|
|
621
|
-
proportionToRoot:
|
|
617
|
+
rootIndex: t,
|
|
618
|
+
color: ie(e.color) || Or.value[t] || o[t] || o[t % o.length],
|
|
619
|
+
value: r.value >= 0 ? r.value : 0,
|
|
620
|
+
id: r.id || `branch_${t}_${i}_${D.value}`,
|
|
621
|
+
proportionToRoot: r.value / n,
|
|
622
622
|
type: "branch",
|
|
623
|
-
breakdown: (
|
|
623
|
+
breakdown: (r.breakdown || []).map((a, s) => ({
|
|
624
624
|
table: {
|
|
625
625
|
rootName: e.name,
|
|
626
|
-
rootValue:
|
|
627
|
-
rootToTotal:
|
|
628
|
-
branchName:
|
|
629
|
-
branchValue:
|
|
630
|
-
branchToTotal:
|
|
631
|
-
branchToRoot:
|
|
632
|
-
nutName:
|
|
633
|
-
nutValue:
|
|
634
|
-
nutToTotal:
|
|
635
|
-
nutToRoot:
|
|
636
|
-
nutToBranch:
|
|
626
|
+
rootValue: n,
|
|
627
|
+
rootToTotal: n / I.value,
|
|
628
|
+
branchName: r.name,
|
|
629
|
+
branchValue: r.value,
|
|
630
|
+
branchToTotal: r.value / I.value,
|
|
631
|
+
branchToRoot: r.value / n,
|
|
632
|
+
nutName: a.name,
|
|
633
|
+
nutValue: a.value,
|
|
634
|
+
nutToTotal: a.value / I.value,
|
|
635
|
+
nutToRoot: a.value / n,
|
|
636
|
+
nutToBranch: a.value / r.value
|
|
637
637
|
},
|
|
638
|
-
...
|
|
638
|
+
...a,
|
|
639
639
|
type: "nut",
|
|
640
|
-
branchName:
|
|
640
|
+
branchName: r.name,
|
|
641
641
|
rootName: e.name,
|
|
642
|
-
branchTotal:
|
|
643
|
-
proportionToBranch:
|
|
644
|
-
proportionToRoot:
|
|
645
|
-
proportionToTree:
|
|
646
|
-
rootIndex:
|
|
647
|
-
id:
|
|
648
|
-
color:
|
|
649
|
-
value:
|
|
642
|
+
branchTotal: r.value >= 0 ? r.value : 0,
|
|
643
|
+
proportionToBranch: a.value / r.value,
|
|
644
|
+
proportionToRoot: a.value / n,
|
|
645
|
+
proportionToTree: a.value / I.value,
|
|
646
|
+
rootIndex: t,
|
|
647
|
+
id: a.id || `nut_${t}_${i}_${s}_${D.value}`,
|
|
648
|
+
color: ie(a.color) || Or.value[s] || o[s] || o[s % o.length],
|
|
649
|
+
value: a.value >= 0 ? a.value : 0
|
|
650
650
|
}))
|
|
651
651
|
}))
|
|
652
652
|
};
|
|
@@ -702,9 +702,9 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
702
702
|
}
|
|
703
703
|
function Vr(e) {
|
|
704
704
|
K();
|
|
705
|
-
let t = V.value.findIndex((t) => t.rootIndex === e.rootIndex),
|
|
706
|
-
t !== -1 && (A.value.rootIndex = t),
|
|
707
|
-
H.value = e, W.value = e, U.value =
|
|
705
|
+
let t = V.value.findIndex((t) => t.rootIndex === e.rootIndex), r = (Rr.value[t] || []).findIndex((t) => t.id === e.id);
|
|
706
|
+
t !== -1 && (A.value.rootIndex = t), r !== -1 && (A.value.branchIndex = r), A.value.level = "nut", A.value.nutIndex = 0, Me(() => {
|
|
707
|
+
H.value = e, W.value = e, U.value = n({
|
|
708
708
|
series: e.breakdown,
|
|
709
709
|
base: 1
|
|
710
710
|
}, e.x2 + 24 + j.value.style.chart.layout.nuts.offsetX, e.y1 + P.value.branchSize / 2, 80, 80), R("selectNut", e.breakdown), Q();
|
|
@@ -732,7 +732,7 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
732
732
|
});
|
|
733
733
|
let Kr = d(() => j.value.debug);
|
|
734
734
|
function qr() {
|
|
735
|
-
|
|
735
|
+
se(E.dataset) && t({
|
|
736
736
|
componentName: "VueUiChestnut",
|
|
737
737
|
type: "dataset",
|
|
738
738
|
debug: Kr.value
|
|
@@ -778,8 +778,8 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
778
778
|
e.nutToBranch,
|
|
779
779
|
e.nutToRoot,
|
|
780
780
|
e.nutToTotal
|
|
781
|
-
]), i =
|
|
782
|
-
e ? e(i) :
|
|
781
|
+
]), i = te(t.concat([n]).concat(r));
|
|
782
|
+
e ? e(i) : re({
|
|
783
783
|
csvContent: i,
|
|
784
784
|
title: j.value.style.chart.layout.title.text || "vue-ui-chestnut"
|
|
785
785
|
});
|
|
@@ -862,12 +862,12 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
862
862
|
}
|
|
863
863
|
let ai = d(() => L.value.map((e, t) => ({
|
|
864
864
|
...e,
|
|
865
|
-
display: `${e.name}: ${
|
|
865
|
+
display: `${e.name}: ${c(j.value.style.chart.layout.roots.labels.formatter, e.total, i({
|
|
866
866
|
p: j.value.style.chart.layout.legend.prefix,
|
|
867
867
|
v: e.total,
|
|
868
868
|
s: j.value.style.chart.layout.legend.suffix,
|
|
869
869
|
r: j.value.style.chart.layout.legend.roundingValue
|
|
870
|
-
}), { datapoint: e })} (${
|
|
870
|
+
}), { datapoint: e })} (${i({
|
|
871
871
|
v: e.total / I.value * 100,
|
|
872
872
|
s: "%",
|
|
873
873
|
r: j.value.style.chart.layout.legend.roundingPercentage
|
|
@@ -931,12 +931,12 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
931
931
|
}
|
|
932
932
|
function mi(e) {
|
|
933
933
|
if (!e) return "";
|
|
934
|
-
let t =
|
|
934
|
+
let t = i({
|
|
935
935
|
p: j.value.style.chart.layout.legend.prefix,
|
|
936
936
|
v: e.total,
|
|
937
937
|
s: j.value.style.chart.layout.legend.suffix,
|
|
938
938
|
r: j.value.style.chart.layout.legend.roundingValue
|
|
939
|
-
}), n =
|
|
939
|
+
}), n = i({
|
|
940
940
|
v: e.total / I.value * 100,
|
|
941
941
|
s: "%",
|
|
942
942
|
r: j.value.style.chart.layout.legend.roundingPercentage
|
|
@@ -945,12 +945,12 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
945
945
|
}
|
|
946
946
|
function hi(e) {
|
|
947
947
|
if (!e) return "";
|
|
948
|
-
let t =
|
|
948
|
+
let t = i({
|
|
949
949
|
p: j.value.style.chart.layout.branches.labels.dataLabels.prefix,
|
|
950
950
|
v: e.value,
|
|
951
951
|
s: j.value.style.chart.layout.branches.labels.dataLabels.suffix,
|
|
952
952
|
r: j.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
953
|
-
}), n =
|
|
953
|
+
}), n = i({
|
|
954
954
|
v: e.proportionToRoot * 100,
|
|
955
955
|
s: "%",
|
|
956
956
|
r: j.value.style.chart.layout.legend.roundingPercentage
|
|
@@ -959,12 +959,12 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
959
959
|
}
|
|
960
960
|
function gi(e) {
|
|
961
961
|
if (!e) return "";
|
|
962
|
-
let t =
|
|
962
|
+
let t = i({
|
|
963
963
|
p: j.value.style.chart.layout.legend.prefix,
|
|
964
964
|
v: e.value,
|
|
965
965
|
s: j.value.style.chart.layout.legend.suffix,
|
|
966
966
|
r: j.value.style.chart.layout.nuts.selected.labels.roundingValue
|
|
967
|
-
}), n =
|
|
967
|
+
}), n = i({
|
|
968
968
|
v: e.proportionToBranch * 100,
|
|
969
969
|
s: "%",
|
|
970
970
|
r: j.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
@@ -1089,36 +1089,36 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
1089
1089
|
rows: Y.value.body.map((e) => [
|
|
1090
1090
|
e.rootName,
|
|
1091
1091
|
e.rootValue,
|
|
1092
|
-
|
|
1092
|
+
i({
|
|
1093
1093
|
v: e.rootToTotal * 100,
|
|
1094
1094
|
s: "%",
|
|
1095
1095
|
r: j.value.table.td.roundingPercentage
|
|
1096
1096
|
}),
|
|
1097
1097
|
e.branchName,
|
|
1098
1098
|
e.branchValue,
|
|
1099
|
-
|
|
1099
|
+
i({
|
|
1100
1100
|
v: e.branchToRoot * 100,
|
|
1101
1101
|
s: "%",
|
|
1102
1102
|
r: j.value.table.td.roundingPercentage
|
|
1103
1103
|
}),
|
|
1104
|
-
|
|
1104
|
+
i({
|
|
1105
1105
|
v: e.branchToTotal * 100,
|
|
1106
1106
|
s: "%",
|
|
1107
1107
|
r: j.value.table.td.roundingPercentage
|
|
1108
1108
|
}),
|
|
1109
1109
|
e.nutName,
|
|
1110
1110
|
e.nutValue,
|
|
1111
|
-
|
|
1111
|
+
i({
|
|
1112
1112
|
v: e.nutToBranch * 100,
|
|
1113
1113
|
s: "%",
|
|
1114
1114
|
r: j.value.table.td.roundingPercentage
|
|
1115
1115
|
}),
|
|
1116
|
-
|
|
1116
|
+
i({
|
|
1117
1117
|
v: e.nutToRoot * 100,
|
|
1118
1118
|
s: "%",
|
|
1119
1119
|
r: j.value.table.td.roundingPercentage
|
|
1120
1120
|
}),
|
|
1121
|
-
|
|
1121
|
+
i({
|
|
1122
1122
|
v: e.nutToTotal * 100,
|
|
1123
1123
|
s: "%",
|
|
1124
1124
|
r: j.value.table.td.roundingPercentage
|
|
@@ -1373,7 +1373,7 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
1373
1373
|
id: `root_gradient_${D.value}_${e.rootIndex}`
|
|
1374
1374
|
}, [m("stop", {
|
|
1375
1375
|
offset: "0%",
|
|
1376
|
-
"stop-color": w(
|
|
1376
|
+
"stop-color": w(s)(w(de)(e.color, .05), 100 - j.value.style.chart.layout.roots.gradientIntensity)
|
|
1377
1377
|
}, null, 8, Ze), m("stop", {
|
|
1378
1378
|
offset: "100%",
|
|
1379
1379
|
"stop-color": e.color
|
|
@@ -1389,7 +1389,7 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
1389
1389
|
"stop-color": e.color
|
|
1390
1390
|
}, null, 8, et), m("stop", {
|
|
1391
1391
|
offset: "100%",
|
|
1392
|
-
"stop-color": w(
|
|
1392
|
+
"stop-color": w(s)(w(de)(e.color, .02), 100 - j.value.style.chart.layout.branches.gradientIntensity)
|
|
1393
1393
|
}, null, 8, tt)], 8, $e))), 256)),
|
|
1394
1394
|
m("radialGradient", {
|
|
1395
1395
|
cx: "50%",
|
|
@@ -1401,15 +1401,15 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
1401
1401
|
}, [
|
|
1402
1402
|
m("stop", {
|
|
1403
1403
|
offset: "0%",
|
|
1404
|
-
"stop-color": w(
|
|
1404
|
+
"stop-color": w(s)("#FFFFFF", 0)
|
|
1405
1405
|
}, null, 8, rt),
|
|
1406
1406
|
m("stop", {
|
|
1407
1407
|
offset: "80%",
|
|
1408
|
-
"stop-color": w(
|
|
1408
|
+
"stop-color": w(s)("#FFFFFF", j.value.style.chart.layout.nuts.selected.gradientIntensity)
|
|
1409
1409
|
}, null, 8, it),
|
|
1410
1410
|
m("stop", {
|
|
1411
1411
|
offset: "100%",
|
|
1412
|
-
"stop-color": w(
|
|
1412
|
+
"stop-color": w(s)("#FFFFFF", 0)
|
|
1413
1413
|
}, null, 8, at)
|
|
1414
1414
|
], 8, nt),
|
|
1415
1415
|
m("radialGradient", {
|
|
@@ -1422,15 +1422,15 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
1422
1422
|
}, [
|
|
1423
1423
|
m("stop", {
|
|
1424
1424
|
offset: "0%",
|
|
1425
|
-
"stop-color": w(
|
|
1425
|
+
"stop-color": w(s)("#FFFFFF", 0)
|
|
1426
1426
|
}, null, 8, st),
|
|
1427
1427
|
m("stop", {
|
|
1428
1428
|
offset: "80%",
|
|
1429
|
-
"stop-color": w(
|
|
1429
|
+
"stop-color": w(s)("#FFFFFF", j.value.style.chart.layout.nuts.gradientIntensity)
|
|
1430
1430
|
}, null, 8, ct),
|
|
1431
1431
|
m("stop", {
|
|
1432
1432
|
offset: "100%",
|
|
1433
|
-
"stop-color": w(
|
|
1433
|
+
"stop-color": w(s)("#FFFFFF", 0)
|
|
1434
1434
|
}, null, 8, lt)
|
|
1435
1435
|
], 8, ot),
|
|
1436
1436
|
m("radialGradient", {
|
|
@@ -1443,15 +1443,15 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
1443
1443
|
}, [
|
|
1444
1444
|
m("stop", {
|
|
1445
1445
|
offset: "0%",
|
|
1446
|
-
"stop-color": w(
|
|
1446
|
+
"stop-color": w(s)(j.value.style.chart.backgroundColor, 100)
|
|
1447
1447
|
}, null, 8, dt),
|
|
1448
1448
|
m("stop", {
|
|
1449
1449
|
offset: "80%",
|
|
1450
|
-
"stop-color": w(
|
|
1450
|
+
"stop-color": w(s)(j.value.style.chart.backgroundColor, 60)
|
|
1451
1451
|
}, null, 8, ft),
|
|
1452
1452
|
m("stop", {
|
|
1453
1453
|
offset: "100%",
|
|
1454
|
-
"stop-color": w(
|
|
1454
|
+
"stop-color": w(s)(j.value.style.chart.backgroundColor, 0)
|
|
1455
1455
|
}, null, 8, pt)
|
|
1456
1456
|
], 8, ut)
|
|
1457
1457
|
]),
|
|
@@ -1475,7 +1475,7 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
1475
1475
|
onClick: t[3] ||= () => {
|
|
1476
1476
|
K(), $(), O.value = !1;
|
|
1477
1477
|
}
|
|
1478
|
-
}, C(w(
|
|
1478
|
+
}, C(w(c)(j.value.style.chart.layout.grandTotal.formatter, I.value, w(i)({
|
|
1479
1479
|
p: j.value.style.chart.layout.grandTotal.prefix,
|
|
1480
1480
|
v: I.value,
|
|
1481
1481
|
s: j.value.style.chart.layout.grandTotal.suffix,
|
|
@@ -1486,10 +1486,10 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
1486
1486
|
"stop-color": e.color
|
|
1487
1487
|
}, null, 8, vt), m("stop", {
|
|
1488
1488
|
offset: "100%",
|
|
1489
|
-
"stop-color": w(
|
|
1489
|
+
"stop-color": w(s)(e.color, j.value.style.chart.layout.links.opacity)
|
|
1490
1490
|
}, null, 8, yt)], 8, _t)]), m("path", {
|
|
1491
1491
|
d: ti(e),
|
|
1492
|
-
stroke: w(
|
|
1492
|
+
stroke: w(s)(e.color, j.value.style.chart.layout.links.opacity),
|
|
1493
1493
|
fill: `url(#link_grad_${e.id})`,
|
|
1494
1494
|
"stroke-linecap": "round",
|
|
1495
1495
|
"stroke-linejoin": "round",
|
|
@@ -1526,7 +1526,7 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
1526
1526
|
"font-weight": "bold",
|
|
1527
1527
|
style: v(`cursor:${M.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
|
|
1528
1528
|
onClick: (t) => Ur(e)
|
|
1529
|
-
}, C(w(
|
|
1529
|
+
}, C(w(c)(j.value.style.chart.layout.roots.labels.formatter, e.total, w(i)({
|
|
1530
1530
|
p: j.value.style.chart.layout.roots.labels.prefix,
|
|
1531
1531
|
v: e.total,
|
|
1532
1532
|
s: j.value.style.chart.layout.roots.labels.suffix,
|
|
@@ -1576,13 +1576,13 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
1576
1576
|
"font-weight": "bold",
|
|
1577
1577
|
style: v(`cursor:${M.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
|
|
1578
1578
|
onClick: (t) => Hr(e)
|
|
1579
|
-
}, C(w(
|
|
1579
|
+
}, C(w(c)(j.value.style.chart.layout.branches.labels.dataLabels.formatter, e.value, w(i)({
|
|
1580
1580
|
p: j.value.style.chart.layout.branches.labels.dataLabels.prefix,
|
|
1581
1581
|
v: e.value,
|
|
1582
1582
|
s: j.value.style.chart.layout.branches.labels.dataLabels.suffix,
|
|
1583
1583
|
r: j.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
1584
1584
|
}), { datapoint: e })), 13, At)) : f("", !0)]))), 256))])) : f("", !0),
|
|
1585
|
-
(y(!0), p(u, null, x(B.value, (e, t) => (y(), p("g", null, [(y(!0), p(u, null, x(w(
|
|
1585
|
+
(y(!0), p(u, null, x(B.value, (e, t) => (y(), p("g", null, [(y(!0), p(u, null, x(w(n)({
|
|
1586
1586
|
series: e.breakdown,
|
|
1587
1587
|
base: 1
|
|
1588
1588
|
}, e.x2 + 24 + j.value.style.chart.layout.nuts.offsetX, e.y1 + P.value.branchSize / 2, P.value.branchSize / 3, P.value.branchSize / 3), (t, n) => (y(), p("path", {
|
|
@@ -1636,13 +1636,13 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
1636
1636
|
stroke: "none"
|
|
1637
1637
|
}, null, 8, Bt)])), w(gr) ? f("", !0) : (y(), p(u, { key: 0 }, [
|
|
1638
1638
|
m("span", null, C(e.name) + ":", 1),
|
|
1639
|
-
m("b", null, C(w(
|
|
1639
|
+
m("b", null, C(w(c)(j.value.style.chart.layout.roots.labels.formatter, e.total, w(i)({
|
|
1640
1640
|
p: j.value.style.chart.layout.legend.prefix,
|
|
1641
1641
|
v: e.total,
|
|
1642
1642
|
s: j.value.style.chart.layout.legend.suffix,
|
|
1643
1643
|
r: j.value.style.chart.layout.legend.roundingValue
|
|
1644
1644
|
}), { datapoint: e })), 1),
|
|
1645
|
-
Oe(" (" + C(w(
|
|
1645
|
+
Oe(" (" + C(w(i)({
|
|
1646
1646
|
v: e.total / I.value * 100,
|
|
1647
1647
|
s: "%",
|
|
1648
1648
|
r: j.value.style.chart.layout.legend.roundingPercentage
|
|
@@ -1741,7 +1741,7 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
1741
1741
|
"text-anchor": "middle",
|
|
1742
1742
|
onClick: J,
|
|
1743
1743
|
class: g(j.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1744
|
-
}, C(w(
|
|
1744
|
+
}, C(w(c)(j.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter, H.value.value, w(i)({
|
|
1745
1745
|
p: j.value.style.chart.layout.nuts.selected.labels.core.value.prefix,
|
|
1746
1746
|
v: H.value.value,
|
|
1747
1747
|
s: j.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
|
|
@@ -1751,7 +1751,7 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
1751
1751
|
key: 0,
|
|
1752
1752
|
x: w(l)(e).x,
|
|
1753
1753
|
"text-anchor": w(l)(e).anchor,
|
|
1754
|
-
y: w(
|
|
1754
|
+
y: w(ae)(e) - j.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 6,
|
|
1755
1755
|
fill: e.color,
|
|
1756
1756
|
"font-size": j.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 2,
|
|
1757
1757
|
style: v(`font-weight:${j.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
@@ -1760,7 +1760,7 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
1760
1760
|
key: 1,
|
|
1761
1761
|
x: w(l)(e, !0).x,
|
|
1762
1762
|
"text-anchor": w(l)(e, !0).anchor,
|
|
1763
|
-
y: w(
|
|
1763
|
+
y: w(ae)(e),
|
|
1764
1764
|
fill: j.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
1765
1765
|
"font-size": j.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1766
1766
|
style: v(`font-weight:${j.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
@@ -1771,16 +1771,16 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
1771
1771
|
key: 0,
|
|
1772
1772
|
x: w(l)(e, !0).x,
|
|
1773
1773
|
"text-anchor": w(l)(e).anchor,
|
|
1774
|
-
y: w(
|
|
1774
|
+
y: w(ae)(e) + j.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1775
1775
|
fill: j.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
1776
1776
|
"font-size": j.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1777
1777
|
style: v(`font-weight:${j.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1778
1778
|
class: g(j.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1779
|
-
}, C(w(
|
|
1779
|
+
}, C(w(i)({
|
|
1780
1780
|
v: H.value.breakdown[t].value / H.value.value * 100,
|
|
1781
1781
|
s: "%",
|
|
1782
1782
|
r: j.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
1783
|
-
})) + " " + C(j.value.translations.of) + " " + C(H.value.breakdown[t].branchName) + " " + C(w(
|
|
1783
|
+
})) + " " + C(j.value.translations.of) + " " + C(H.value.breakdown[t].branchName) + " " + C(w(c)(j.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter, H.value.breakdown[t].value, w(i)({
|
|
1784
1784
|
p: j.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix,
|
|
1785
1785
|
v: H.value.breakdown[t].value,
|
|
1786
1786
|
s: j.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
|
|
@@ -1793,12 +1793,12 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
1793
1793
|
key: 1,
|
|
1794
1794
|
x: w(l)(e, !0).x,
|
|
1795
1795
|
"text-anchor": w(l)(e).anchor,
|
|
1796
|
-
y: w(
|
|
1796
|
+
y: w(ae)(e) + j.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
|
|
1797
1797
|
fill: j.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
1798
1798
|
"font-size": j.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1799
1799
|
style: v(`font-weight:${j.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1800
1800
|
class: g(j.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1801
|
-
}, C(w(
|
|
1801
|
+
}, C(w(i)({
|
|
1802
1802
|
v: H.value.breakdown[t].proportionToRoot * 100,
|
|
1803
1803
|
s: "%",
|
|
1804
1804
|
r: j.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
@@ -1807,12 +1807,12 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
1807
1807
|
key: 2,
|
|
1808
1808
|
x: w(l)(e, !0).x,
|
|
1809
1809
|
"text-anchor": w(l)(e).anchor,
|
|
1810
|
-
y: w(
|
|
1810
|
+
y: w(ae)(e) + j.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
|
|
1811
1811
|
fill: j.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
1812
1812
|
"font-size": j.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1813
1813
|
style: v(`font-weight:${j.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1814
1814
|
class: g(j.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1815
|
-
}, C(w(
|
|
1815
|
+
}, C(w(i)({
|
|
1816
1816
|
v: H.value.breakdown[t].proportionToTree * 100,
|
|
1817
1817
|
s: "%",
|
|
1818
1818
|
r: j.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
@@ -1831,7 +1831,7 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
1831
1831
|
onClick: t[8] ||= () => {
|
|
1832
1832
|
K(), $(), O.value = !1;
|
|
1833
1833
|
}
|
|
1834
|
-
}, C(e.name) + ": " + C(w(
|
|
1834
|
+
}, C(e.name) + ": " + C(w(c)(j.value.style.chart.layout.branches.labels.dataLabels.formatter, e.value, w(i)({
|
|
1835
1835
|
p: j.value.style.chart.layout.branches.labels.dataLabels.prefix,
|
|
1836
1836
|
v: e.value,
|
|
1837
1837
|
s: j.value.style.chart.layout.branches.labels.dataLabels.suffix,
|
|
@@ -1847,7 +1847,7 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
1847
1847
|
onClick: t[9] ||= () => {
|
|
1848
1848
|
K(), $(), O.value = !1;
|
|
1849
1849
|
}
|
|
1850
|
-
}, C(w(
|
|
1850
|
+
}, C(w(i)({
|
|
1851
1851
|
v: e.proportionToRoot * 100,
|
|
1852
1852
|
s: "%",
|
|
1853
1853
|
r: j.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
@@ -1862,7 +1862,7 @@ var ze = /* @__PURE__ */ e({ default: () => Qn }), Be = ["id"], Ve = ["id"], He
|
|
|
1862
1862
|
onClick: t[10] ||= () => {
|
|
1863
1863
|
K(), $(), O.value = !1;
|
|
1864
1864
|
}
|
|
1865
|
-
}, C(w(
|
|
1865
|
+
}, C(w(i)({
|
|
1866
1866
|
v: e.value / I.value * 100,
|
|
1867
1867
|
s: "%",
|
|
1868
1868
|
r: j.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|