vue-data-ui 3.0.0-next.71 → 3.0.0-next.72
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-BZNpld6u.js → Arrow-CMSMde41.js} +1 -1
- package/dist/{BaseDraggableDialog-kg-eVvXZ.js → BaseDraggableDialog-BuO_En6p.js} +2 -2
- package/dist/{BaseIcon-BdOEhJar.js → BaseIcon-C_HE-fPU.js} +1 -1
- package/dist/{ColorPicker-CWvXlPxS.js → ColorPicker-Cn82Up5w.js} +2 -2
- package/dist/{DataTable-B3yakHEM.js → DataTable-DMCB2CPj.js} +2 -2
- package/dist/{Legend-DiGLrlzP.js → Legend-C96fnhZD.js} +2 -2
- package/dist/{NonSvgPenAndPaper-C-ZjpJQd.js → NonSvgPenAndPaper-BRi2CtMk.js} +3 -3
- package/dist/{PackageVersion-6s4eI8W7.js → PackageVersion-B8cypgdJ.js} +1 -1
- package/dist/{PenAndPaper-JoUN7Ink.js → PenAndPaper-DjXtQYum.js} +3 -3
- package/dist/{Shape-CWIa2nta.js → Shape-DZSz-yYr.js} +1 -1
- package/dist/{Slicer-DYuvPkEM.js → Slicer-BOc4PzAR.js} +2 -2
- package/dist/{SparkTooltip-C_fUmbP7.js → SparkTooltip-4K9Ezba0.js} +1 -1
- package/dist/{Title-VLWyIYrj.js → Title-DnqOjg_N.js} +1 -1
- package/dist/{Tooltip-BS5naLS2.js → Tooltip-Cy2owh0T.js} +1 -1
- package/dist/{UserOptions-BV_xM-sB.js → UserOptions-Tx_9Xl_c.js} +2 -2
- package/dist/{dom-to-png-PUk0ukSG.js → dom-to-png-CDSxjzSn.js} +1 -1
- package/dist/{img-DD_2wgY3.js → img-D_LTOBii.js} +1 -1
- package/dist/{index-DKpp7RIH.js → index-Bzm4bjdY.js} +5 -1
- package/dist/{pdf-0TQQyXWM.js → pdf-BZQLWJMc.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +2 -0
- package/dist/types/vue-data-ui.d.ts +2 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-Qhry5WvH.js → useAutoSizeLabelsInsideViewbox-Rg0B250v.js} +1 -1
- package/dist/{useNestedProp-D-8c0o4p.js → useNestedProp-FhaE2yv-.js} +1 -1
- package/dist/{usePrinter-NUeckmCX.js → usePrinter-DZsH7qQs.js} +2 -2
- package/dist/{vue-data-ui-BIXXEsFZ.js → vue-data-ui-0ns7pHNm.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CVUfj12F.js → vue-ui-3d-bar-CY9hrF9C.js} +6 -6
- package/dist/{vue-ui-accordion-Cpovz3RE.js → vue-ui-accordion-ywMTtl25.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CQWFaHLV.js → vue-ui-age-pyramid-Qd4BtrXy.js} +6 -6
- package/dist/{vue-ui-annotator-C49Xw5Mh.js → vue-ui-annotator-DmOJnYF9.js} +2 -2
- package/dist/{vue-ui-bullet-DED2SuIa.js → vue-ui-bullet-B_xIDBAw.js} +7 -7
- package/dist/{vue-ui-candlestick-DGgbevy6.js → vue-ui-candlestick-D3Vsh4Rw.js} +7 -7
- package/dist/{vue-ui-carousel-table-DKIgSB1T.js → vue-ui-carousel-table-D0UgiRmJ.js} +4 -4
- package/dist/{vue-ui-chestnut-D1bEM91d.js → vue-ui-chestnut-CbMOcXYQ.js} +664 -536
- package/dist/{vue-ui-chord-CBLSqtEP.js → vue-ui-chord-DDzp12Vp.js} +8 -8
- package/dist/{vue-ui-circle-pack-g2ts9NTG.js → vue-ui-circle-pack-DOXx17NQ.js} +6 -6
- package/dist/{vue-ui-cursor-DSxmPUD8.js → vue-ui-cursor-Bg-6DHbI.js} +2 -2
- package/dist/{vue-ui-dashboard-B6FfoNjQ.js → vue-ui-dashboard-DY2lvJ7A.js} +62 -62
- package/dist/{vue-ui-digits-DKffQVgr.js → vue-ui-digits-De2GmG2N.js} +2 -2
- package/dist/{vue-ui-donut-CJrWc4-g.js → vue-ui-donut-BWQ6g1O7.js} +8 -8
- package/dist/{vue-ui-donut-evolution-Bys6cs-D.js → vue-ui-donut-evolution-DAzSv9V-.js} +8 -8
- package/dist/{vue-ui-dumbbell-Cb_I__qC.js → vue-ui-dumbbell-B32YuCNM.js} +7 -7
- package/dist/{vue-ui-flow-BzuT3ij5.js → vue-ui-flow-BZkt6OKd.js} +7 -7
- package/dist/{vue-ui-funnel-Ctp7GDiN.js → vue-ui-funnel-8WAXLQAo.js} +6 -6
- package/dist/{vue-ui-galaxy-CRBy0aio.js → vue-ui-galaxy-gfw2BThf.js} +5 -5
- package/dist/{vue-ui-gauge-NcQq5UFr.js → vue-ui-gauge-Ch5vl4T9.js} +7 -7
- package/dist/{vue-ui-gizmo-Cwfb8c-0.js → vue-ui-gizmo-CU8ddGLr.js} +3 -3
- package/dist/{vue-ui-heatmap-DElqpFVY.js → vue-ui-heatmap-YO1tESN5.js} +7 -7
- package/dist/{vue-ui-history-plot-De1Dvnhw.js → vue-ui-history-plot-C41s9ybF.js} +7 -7
- package/dist/{vue-ui-kpi-_bLScmgO.js → vue-ui-kpi-H6MYZwLY.js} +3 -3
- package/dist/{vue-ui-mini-loader-PsHE_2Wy.js → vue-ui-mini-loader-Bnjg3O7d.js} +2 -2
- package/dist/{vue-ui-molecule-CgiahnC6.js → vue-ui-molecule-DF4leieh.js} +5 -5
- package/dist/{vue-ui-mood-radar-dXVOOrhl.js → vue-ui-mood-radar-NrPILZdk.js} +7 -7
- package/dist/{vue-ui-nested-donuts-C0X6BetT.js → vue-ui-nested-donuts-BLnO_Mgf.js} +9 -9
- package/dist/{vue-ui-onion-C7sxQzk_.js → vue-ui-onion-66T65iJH.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-jwtnNX59.js → vue-ui-parallel-coordinate-plot-B5N_TkrQ.js} +8 -8
- package/dist/{vue-ui-quadrant-DguDE91h.js → vue-ui-quadrant-BoCrqBMk.js} +8 -8
- package/dist/{vue-ui-quick-chart-BpEDS08U.js → vue-ui-quick-chart-B0VC0eh-.js} +6 -6
- package/dist/{vue-ui-radar-lFrqTRqo.js → vue-ui-radar-CFVWdaIn.js} +8 -8
- package/dist/{vue-ui-rating-BHghXziv.js → vue-ui-rating-A58gcO8T.js} +2 -2
- package/dist/{vue-ui-relation-circle-C5W6NFOb.js → vue-ui-relation-circle-DU5SHiGv.js} +7 -7
- package/dist/{vue-ui-ridgeline-A2DuFEDS.js → vue-ui-ridgeline-DbL2yTIh.js} +8 -8
- package/dist/{vue-ui-rings-BgJAm9_b.js → vue-ui-rings-Bv6MCURJ.js} +8 -8
- package/dist/{vue-ui-scatter-COfpLChz.js → vue-ui-scatter-BmN7rTrR.js} +8 -8
- package/dist/{vue-ui-skeleton-DMLCBUtZ.js → vue-ui-skeleton-C4h4fFuO.js} +3 -3
- package/dist/{vue-ui-smiley-ZopESYc_.js → vue-ui-smiley-7OtzDLyY.js} +2 -2
- package/dist/{vue-ui-spark-trend-CuSQ03fQ.js → vue-ui-spark-trend-CDJGeE9c.js} +3 -3
- package/dist/{vue-ui-sparkbar-BCsX9M4q.js → vue-ui-sparkbar-D77zOuEC.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DdyZLA0T.js → vue-ui-sparkgauge-BksxAHf4.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CUxFgIcE.js → vue-ui-sparkhistogram-dgigFSzZ.js} +4 -4
- package/dist/{vue-ui-sparkline-DOkofsLL.js → vue-ui-sparkline-Dy1tSgMy.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-Bq9PZzmH.js → vue-ui-sparkstackbar-DVPYzftP.js} +3 -3
- package/dist/{vue-ui-stackbar-B7ceoT0V.js → vue-ui-stackbar-BSsTXQJ2.js} +9 -9
- package/dist/{vue-ui-strip-plot-DYh-NGQN.js → vue-ui-strip-plot-F41CWin2.js} +7 -7
- package/dist/{vue-ui-table-pESH5KAJ.js → vue-ui-table-BmnsgnjO.js} +3 -3
- package/dist/{vue-ui-table-heatmap-BVTb1xuA.js → vue-ui-table-heatmap-GuaexCA-.js} +5 -5
- package/dist/{vue-ui-table-sparkline-Bw-6l9lA.js → vue-ui-table-sparkline-DktY9A1C.js} +4 -4
- package/dist/{vue-ui-thermometer-BqqfmS-B.js → vue-ui-thermometer-EhgTVfFj.js} +7 -7
- package/dist/{vue-ui-timer-CVisMxLS.js → vue-ui-timer-Cd3Yt7HA.js} +5 -5
- package/dist/{vue-ui-tiremarks-K1dcCdpj.js → vue-ui-tiremarks-DjDnFHWc.js} +6 -6
- package/dist/{vue-ui-treemap-Bz3c68s4.js → vue-ui-treemap-BGLUEQit.js} +8 -8
- package/dist/{vue-ui-vertical-bar-BvtXpCjw.js → vue-ui-vertical-bar-DhVF0WZY.js} +9 -9
- package/dist/{vue-ui-waffle-CYO7bIf1.js → vue-ui-waffle-gXnHM7Qo.js} +8 -8
- package/dist/{vue-ui-wheel-De1spwLh.js → vue-ui-wheel-Ce2IQFq7.js} +6 -6
- package/dist/{vue-ui-word-cloud-BMmVrx_T.js → vue-ui-word-cloud-BDFn0rUl.js} +6 -6
- package/dist/{vue-ui-world-Ccpr00nJ.js → vue-ui-world-Cev3j25p.js} +6 -6
- package/dist/{vue-ui-xy-D4jaRKe3.js → vue-ui-xy-CNMFnao9.js} +9 -9
- package/dist/{vue-ui-xy-canvas-DE-Uu5oq.js → vue-ui-xy-canvas-B04eI10U.js} +8 -8
- package/package.json +1 -1
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
1
|
+
import { useCssVars as rt, defineAsyncComponent as K, computed as k, ref as z, toRefs as it, watch as Fe, shallowRef as ct, onMounted as dt, onBeforeUnmount as vt, createElementBlock as o, openBlock as a, unref as n, normalizeStyle as y, normalizeClass as w, createBlock as ee, createCommentVNode as f, renderSlot as F, createSlots as yt, withCtx as B, normalizeProps as te, guardReactiveProps as le, createVNode as Le, createElementVNode as u, toDisplayString as c, Fragment as g, renderList as _, createTextVNode as ae, withKeys as ht, nextTick as Ie } from "vue";
|
|
2
|
+
import { u as ft, c as bt, t as pt, a as gt, p as R, b as _t, d as xt, g as ve, f as oe, e as ye, o as mt, X as kt, s as A, x as Re, k as U, i as S, F as Pe, m as Oe, n as wt, q as Z, r as P, v as Ct, w as $t } from "./index-Bzm4bjdY.js";
|
|
3
|
+
import { u as Tt, B as zt } from "./useLoading-D7YHNtLX.js";
|
|
4
|
+
import { u as At } from "./usePrinter-DZsH7qQs.js";
|
|
5
|
+
import { u as Ve } from "./useNestedProp-FhaE2yv-.js";
|
|
6
|
+
import { u as St } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
+
import { u as Nt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import Ft from "./img-D_LTOBii.js";
|
|
9
|
+
import { _ as Lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
+
const It = ["id"], Rt = {
|
|
10
11
|
key: 1,
|
|
11
12
|
ref: "noTitle",
|
|
12
13
|
class: "vue-data-ui-no-title-space",
|
|
13
14
|
style: "height:36px; width: 100%;background:transparent"
|
|
14
|
-
},
|
|
15
|
+
}, Pt = ["xmlns", "viewBox"], Ot = ["width", "height"], Vt = { key: 1 }, Bt = ["fill", "font-weight", "font-size", "x", "y"], Mt = ["fill", "font-weight", "font-size", "x", "y"], jt = ["id"], Xt = ["stop-color"], Et = ["stop-color"], Gt = ["id"], Ut = ["stop-color"], Dt = ["stop-color"], Yt = ["id"], qt = ["stop-color"], Ht = ["stop-color"], Wt = ["stop-color"], Kt = ["id"], Zt = ["stop-color"], Jt = ["stop-color"], Qt = ["stop-color"], el = ["id"], tl = ["stop-color"], ll = ["stop-color"], al = ["stop-color"], ol = { key: 2 }, sl = ["x", "y", "font-size", "font-weight", "fill"], ul = ["x", "y", "font-size", "font-weight", "fill"], nl = ["id"], rl = ["stop-color"], il = ["stop-color"], cl = ["d", "stroke", "fill"], dl = ["cx", "cy", "r", "fill"], vl = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], yl = { key: 3 }, hl = ["x", "y", "font-size", "fill", "onClick"], fl = { key: 0 }, bl = ["x", "y", "fill", "font-size", "font-weight"], pl = ["x", "y", "height", "width", "fill", "rx", "onClick"], gl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], _l = { key: 4 }, xl = ["x", "y", "fill", "font-size", "onClick"], ml = ["d", "stroke"], kl = ["fill", "cx", "cy", "r", "onClick"], wl = { key: 5 }, Cl = ["x", "y", "font-size", "font-weight", "fill"], $l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Tl = ["y", "height", "width"], zl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, Al = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Sl = {
|
|
15
16
|
viewBox: "0 0 20 20",
|
|
16
17
|
height: "16",
|
|
17
18
|
width: "16"
|
|
18
|
-
},
|
|
19
|
+
}, Nl = ["fill"], Fl = { key: 7 }, Ll = ["y", "height", "width"], Il = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, Rl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Pl = {
|
|
19
20
|
viewBox: "0 0 20 20",
|
|
20
21
|
height: "16",
|
|
21
22
|
width: "16"
|
|
22
|
-
},
|
|
23
|
+
}, Ol = ["fill"], Vl = ["cx", "cy", "fill"], Bl = ["d", "stroke"], Ml = ["cx", "cy", "fill"], jl = ["d", "stroke"], Xl = ["cx", "cy", "fill"], El = ["cx", "cy", "fill"], Gl = ["x", "y", "fill", "font-size", "font-weight"], Ul = ["x", "y", "fill", "font-size", "font-weight"], Dl = ["x", "text-anchor", "y", "fill", "font-size"], Yl = ["x", "text-anchor", "y", "fill", "font-size"], ql = ["x", "text-anchor", "y", "fill", "font-size"], Hl = ["x", "text-anchor", "y", "fill", "font-size"], Wl = ["x", "text-anchor", "y", "fill", "font-size"], Kl = ["x", "y", "font-size", "fill"], Zl = ["x", "y", "font-size", "fill"], Jl = ["x", "y", "font-size", "fill"], Ql = {
|
|
23
24
|
key: 4,
|
|
24
25
|
class: "vue-data-ui-watermark"
|
|
25
|
-
},
|
|
26
|
-
key:
|
|
26
|
+
}, ea = {
|
|
27
|
+
key: 5,
|
|
27
28
|
ref: "source",
|
|
28
29
|
dir: "auto"
|
|
29
|
-
},
|
|
30
|
+
}, ta = { style: { "padding-top": "36px", position: "relative" } }, la = { class: "vue-ui-data-table" }, aa = { key: 0 }, oa = ["data-cell"], sa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ua = { key: 0 }, na = { key: 1 }, ra = ["data-cell"], ia = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ca = { key: 0 }, da = { key: 1 }, va = ["data-cell"], ya = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ha = { key: 0 }, fa = { key: 1 }, ba = ["data-cell"], pa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ga = { key: 0 }, _a = { key: 1 }, xa = ["data-cell"], ma = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ka = { key: 0 }, wa = { key: 1 }, Ca = ["data-cell"], $a = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ta = { key: 0 }, za = { key: 1 }, Aa = ["data-cell"], Sa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Na = { key: 0 }, Fa = { key: 1 }, La = ["data-cell"], Ia = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ra = ["data-cell"], Pa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Oa = ["data-cell"], Va = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ba = ["data-cell"], Ma = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ja = ["data-cell"], Xa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ea = {
|
|
30
31
|
__name: "vue-ui-chestnut",
|
|
31
32
|
props: {
|
|
32
33
|
config: {
|
|
@@ -43,37 +44,150 @@ const Tt = ["id"], zt = {
|
|
|
43
44
|
}
|
|
44
45
|
},
|
|
45
46
|
emits: ["selectRoot", "selectBranch", "selectNut"],
|
|
46
|
-
setup(
|
|
47
|
-
|
|
48
|
-
"
|
|
47
|
+
setup(Be, { expose: Me, emit: je }) {
|
|
48
|
+
rt((l) => ({
|
|
49
|
+
"49657cde": l.tdo
|
|
49
50
|
}));
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
51
|
+
const Xe = K(() => import("./BaseIcon-C_HE-fPU.js")), Ee = K(() => import("./vue-ui-accordion-ywMTtl25.js")), Ge = K(() => import("./PenAndPaper-DjXtQYum.js")), Ue = K(() => import("./UserOptions-Tx_9Xl_c.js")), De = K(() => import("./PackageVersion-B8cypgdJ.js")), { vue_ui_chestnut: Ye } = ft(), M = Be, he = k(() => !!M.dataset && M.dataset.length), C = z(bt()), H = z(null), qe = z(null), fe = z(0), e = z(ne()), { loading: be, FINAL_DATASET: se } = Tt({
|
|
52
|
+
...it(M),
|
|
53
|
+
FINAL_CONFIG: e,
|
|
54
|
+
prepareConfig: ne,
|
|
55
|
+
skeletonDataset: [
|
|
56
|
+
{
|
|
57
|
+
name: "_",
|
|
58
|
+
color: "#969696",
|
|
59
|
+
branches: [
|
|
60
|
+
{
|
|
61
|
+
name: "_",
|
|
62
|
+
value: 32,
|
|
63
|
+
breakdown: [
|
|
64
|
+
{ name: "_", value: 16, color: "#CACACA" },
|
|
65
|
+
{ name: "_", value: 16, color: "#6A6A6A" }
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: "_",
|
|
70
|
+
value: 16,
|
|
71
|
+
breakdown: [
|
|
72
|
+
{ name: "_", value: 8, color: "#CACACA" },
|
|
73
|
+
{ name: "_", value: 8, color: "#6A6A6A" }
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
name: "_",
|
|
78
|
+
value: 8,
|
|
79
|
+
breakdown: [
|
|
80
|
+
{ name: "_", value: 4, color: "#CACACA" },
|
|
81
|
+
{ name: "_", value: 4, color: "#6A6A6A" }
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: "_",
|
|
86
|
+
value: 4,
|
|
87
|
+
breakdown: [
|
|
88
|
+
{ name: "_", value: 2, color: "#CACACA" },
|
|
89
|
+
{ name: "_", value: 2, color: "#6A6A6A" }
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
name: "_",
|
|
96
|
+
color: "#C4C4C4",
|
|
97
|
+
branches: [
|
|
98
|
+
{
|
|
99
|
+
name: "_",
|
|
100
|
+
value: 24,
|
|
101
|
+
breakdown: [
|
|
102
|
+
{ name: "_", value: 12, color: "#CACACA" },
|
|
103
|
+
{ name: "_", value: 12, color: "#6A6A6A" }
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
name: "_",
|
|
108
|
+
value: 12,
|
|
109
|
+
breakdown: [
|
|
110
|
+
{ name: "_", value: 6, color: "#CACACA" },
|
|
111
|
+
{ name: "_", value: 6, color: "#6A6A6A" }
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
name: "_",
|
|
116
|
+
value: 6,
|
|
117
|
+
breakdown: [
|
|
118
|
+
{ name: "_", value: 3, color: "#CACACA" },
|
|
119
|
+
{ name: "_", value: 3, color: "#6A6A6A" }
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
name: "_",
|
|
124
|
+
value: 2,
|
|
125
|
+
breakdown: [
|
|
126
|
+
{ name: "_", value: 1, color: "#CACACA" },
|
|
127
|
+
{ name: "_", value: 1, color: "#6A6A6A" }
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
skeletonConfig: pt({
|
|
134
|
+
defaultConfig: e.value,
|
|
135
|
+
userConfig: {
|
|
136
|
+
userOptions: { show: !1 },
|
|
137
|
+
table: { show: !1 },
|
|
138
|
+
style: {
|
|
139
|
+
chart: {
|
|
140
|
+
backgroundColor: "#99999930",
|
|
141
|
+
layout: {
|
|
142
|
+
grandTotal: { show: !1 },
|
|
143
|
+
roots: {
|
|
144
|
+
stroke: "#6A6A6A",
|
|
145
|
+
labels: { show: !1 }
|
|
146
|
+
},
|
|
147
|
+
verticalSeparator: { stroke: "transparent" },
|
|
148
|
+
branches: {
|
|
149
|
+
stroke: "#6A6A6A",
|
|
150
|
+
underlayerColor: "#6A6A6A90",
|
|
151
|
+
labels: {
|
|
152
|
+
show: !1,
|
|
153
|
+
dataLabels: { show: !1 }
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
})
|
|
161
|
+
}), { userOptionsVisible: ue, setUserOptionsVisibility: pe, keepUserOptionState: ge } = St({ config: e.value }), { svgRef: _e } = Nt({ config: e.value.style.chart.layout.title });
|
|
162
|
+
function ne() {
|
|
163
|
+
const l = Ve({
|
|
164
|
+
userConfig: M.config,
|
|
165
|
+
defaultConfig: Ye
|
|
58
166
|
});
|
|
59
167
|
return l.theme ? {
|
|
60
|
-
...
|
|
61
|
-
userConfig:
|
|
168
|
+
...Ve({
|
|
169
|
+
userConfig: _t.vue_ui_chestnut[l.theme] || M.config,
|
|
62
170
|
defaultConfig: l
|
|
63
171
|
}),
|
|
64
|
-
customPalette:
|
|
172
|
+
customPalette: gt[l.theme] || R
|
|
65
173
|
} : l;
|
|
66
174
|
}
|
|
67
|
-
|
|
68
|
-
e.value =
|
|
175
|
+
Fe(() => M.config, (l) => {
|
|
176
|
+
e.value = ne(), ue.value = !e.value.userOptions.showOnChartHover, j.value.showTable = e.value.table.show, ze();
|
|
69
177
|
}, { deep: !0 });
|
|
70
|
-
const { isPrinting:
|
|
71
|
-
elementId: `vue-ui-chestnut_${
|
|
178
|
+
const { isPrinting: xe, isImaging: me, generatePdf: ke, generateImage: we } = At({
|
|
179
|
+
elementId: `vue-ui-chestnut_${C.value}`,
|
|
72
180
|
fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut",
|
|
73
181
|
options: e.value.userOptions.print
|
|
74
|
-
}),
|
|
182
|
+
}), He = k(() => e.value.userOptions.show), re = k(() => xt(e.value.customPalette)), j = z({
|
|
75
183
|
showTable: e.value.table.show
|
|
76
|
-
})
|
|
184
|
+
});
|
|
185
|
+
Fe(e, () => {
|
|
186
|
+
j.value = {
|
|
187
|
+
showTable: e.value.table.show
|
|
188
|
+
};
|
|
189
|
+
}, { immediate: !0 });
|
|
190
|
+
const ie = z(null), Ce = z(!1), We = k(() => e.value.table.responsiveBreakpoint), r = z({
|
|
77
191
|
gap: 6,
|
|
78
192
|
padding: {
|
|
79
193
|
top: 102,
|
|
@@ -85,7 +199,7 @@ const Tt = ["id"], zt = {
|
|
|
85
199
|
height: 0,
|
|
86
200
|
branchSize: 32,
|
|
87
201
|
branchStart: 128
|
|
88
|
-
}),
|
|
202
|
+
}), T = k(() => ({
|
|
89
203
|
left: r.value.padding.left,
|
|
90
204
|
top: r.value.padding.top,
|
|
91
205
|
right: r.value.width - r.value.padding.right,
|
|
@@ -93,8 +207,8 @@ const Tt = ["id"], zt = {
|
|
|
93
207
|
width: r.value.width - (r.value.padding.left + r.value.padding.right),
|
|
94
208
|
height: r.value.height - (r.value.padding.top + r.value.padding.bottom),
|
|
95
209
|
seedX: r.value.padding.left + 64
|
|
96
|
-
})),
|
|
97
|
-
|
|
210
|
+
})), O = k(() => se.value.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0)), N = k(() => (se.value.forEach((l, i) => {
|
|
211
|
+
ve({
|
|
98
212
|
datasetObject: l,
|
|
99
213
|
requiredAttributes: ["name", "branches"]
|
|
100
214
|
}).forEach((t) => {
|
|
@@ -102,114 +216,117 @@ const Tt = ["id"], zt = {
|
|
|
102
216
|
componentName: "VueUiChestnut",
|
|
103
217
|
type: "datasetSerieAttribute",
|
|
104
218
|
property: t,
|
|
105
|
-
index: i
|
|
219
|
+
index: i,
|
|
220
|
+
debug: J.value
|
|
106
221
|
});
|
|
107
222
|
}), l.branches && l.branches.forEach((t, s) => {
|
|
108
|
-
|
|
223
|
+
ve({
|
|
109
224
|
datasetObject: t,
|
|
110
225
|
requiredAttributes: ["name", "value"]
|
|
111
|
-
}).forEach((
|
|
226
|
+
}).forEach((p) => {
|
|
112
227
|
oe({
|
|
113
228
|
componentName: "VueUiChestnut",
|
|
114
229
|
type: "datasetSerieAttribute",
|
|
115
|
-
property:
|
|
116
|
-
index: `${i} - ${s}
|
|
230
|
+
property: p,
|
|
231
|
+
index: `${i} - ${s}`,
|
|
232
|
+
debug: J.value
|
|
117
233
|
});
|
|
118
|
-
}), t.breakdown && t.breakdown.forEach((
|
|
119
|
-
|
|
120
|
-
datasetObject:
|
|
234
|
+
}), t.breakdown && t.breakdown.forEach((p, b) => {
|
|
235
|
+
ve({
|
|
236
|
+
datasetObject: p,
|
|
121
237
|
requiredAttributes: ["name", "value"]
|
|
122
|
-
}).forEach((
|
|
238
|
+
}).forEach((h) => {
|
|
123
239
|
oe({
|
|
124
240
|
componentName: "VueUiChestnut",
|
|
125
241
|
type: "datasetSerieAttribute",
|
|
126
|
-
property:
|
|
127
|
-
index: `${i} - ${s} - ${
|
|
242
|
+
property: h,
|
|
243
|
+
index: `${i} - ${s} - ${b}`,
|
|
244
|
+
debug: J.value
|
|
128
245
|
});
|
|
129
246
|
});
|
|
130
247
|
});
|
|
131
248
|
});
|
|
132
|
-
}),
|
|
133
|
-
const t = (l.branches || []).map((s) => s.value || 0).reduce((s,
|
|
249
|
+
}), se.value.map((l, i) => {
|
|
250
|
+
const t = (l.branches || []).map((s) => s.value || 0).reduce((s, p) => s + p, 0);
|
|
134
251
|
return {
|
|
135
252
|
...l,
|
|
136
|
-
color:
|
|
137
|
-
id: l.id || `root_${i}_${
|
|
253
|
+
color: ye(l.color) || re.value[i] || R[i] || R[i % R.length],
|
|
254
|
+
id: l.id || `root_${i}_${C.value}`,
|
|
138
255
|
type: "root",
|
|
139
256
|
total: t,
|
|
140
257
|
rootIndex: i,
|
|
141
|
-
branches: (l.branches || []).map((s,
|
|
258
|
+
branches: (l.branches || []).map((s, p) => ({
|
|
142
259
|
...s,
|
|
143
260
|
rootName: l.name,
|
|
144
261
|
rootIndex: i,
|
|
145
|
-
color:
|
|
262
|
+
color: ye(l.color) || re.value[i] || R[i] || R[i % R.length],
|
|
146
263
|
value: s.value >= 0 ? s.value : 0,
|
|
147
|
-
id: s.id || `branch_${i}_${
|
|
264
|
+
id: s.id || `branch_${i}_${p}_${C.value}`,
|
|
148
265
|
proportionToRoot: s.value / t,
|
|
149
266
|
type: "branch",
|
|
150
|
-
breakdown: (s.breakdown || []).map((
|
|
267
|
+
breakdown: (s.breakdown || []).map((b, h) => ({
|
|
151
268
|
table: {
|
|
152
269
|
rootName: l.name,
|
|
153
270
|
rootValue: t,
|
|
154
|
-
rootToTotal: t /
|
|
271
|
+
rootToTotal: t / O.value,
|
|
155
272
|
branchName: s.name,
|
|
156
273
|
branchValue: s.value,
|
|
157
|
-
branchToTotal: s.value /
|
|
274
|
+
branchToTotal: s.value / O.value,
|
|
158
275
|
branchToRoot: s.value / t,
|
|
159
|
-
nutName:
|
|
160
|
-
nutValue:
|
|
161
|
-
nutToTotal:
|
|
162
|
-
nutToRoot:
|
|
163
|
-
nutToBranch:
|
|
276
|
+
nutName: b.name,
|
|
277
|
+
nutValue: b.value,
|
|
278
|
+
nutToTotal: b.value / O.value,
|
|
279
|
+
nutToRoot: b.value / t,
|
|
280
|
+
nutToBranch: b.value / s.value
|
|
164
281
|
},
|
|
165
|
-
...
|
|
282
|
+
...b,
|
|
166
283
|
type: "nut",
|
|
167
284
|
branchName: s.name,
|
|
168
285
|
rootName: l.name,
|
|
169
286
|
branchTotal: s.value >= 0 ? s.value : 0,
|
|
170
|
-
proportionToBranch:
|
|
171
|
-
proportionToRoot:
|
|
172
|
-
proportionToTree:
|
|
287
|
+
proportionToBranch: b.value / s.value,
|
|
288
|
+
proportionToRoot: b.value / t,
|
|
289
|
+
proportionToTree: b.value / O.value,
|
|
173
290
|
rootIndex: i,
|
|
174
|
-
id:
|
|
175
|
-
color:
|
|
176
|
-
value:
|
|
291
|
+
id: b.id || `nut_${i}_${p}_${h}_${C.value}`,
|
|
292
|
+
color: ye(b.color) || re.value[h] || R[h] || R[h % R.length],
|
|
293
|
+
value: b.value >= 0 ? b.value : 0
|
|
177
294
|
}))
|
|
178
295
|
}))
|
|
179
296
|
};
|
|
180
297
|
})));
|
|
181
|
-
function
|
|
298
|
+
function Ke() {
|
|
182
299
|
return N.value;
|
|
183
300
|
}
|
|
184
|
-
const D =
|
|
185
|
-
const t =
|
|
301
|
+
const D = je, Ze = k(() => N.value.flatMap((l) => l.branches).length), Je = k(() => Math.max(...N.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), Qe = k(() => Math.max(...N.value.flatMap((l) => l.branches.map((i) => i.value)))), $e = k(() => 256 + r.value.padding.left), X = k(() => N.value.sort((l, i) => i.total - l.total).map((l, i) => {
|
|
302
|
+
const t = T.value.height / N.value.length / 2, s = l.total / Je.value * (t > 64 ? 64 : t);
|
|
186
303
|
return {
|
|
187
304
|
...l,
|
|
188
|
-
x:
|
|
189
|
-
y:
|
|
305
|
+
x: T.value.seedX,
|
|
306
|
+
y: T.value.top + T.value.height / N.value.length * (i + 1) - (T.value.height / N.value.length / 2 + r.value.gap / 2),
|
|
190
307
|
r: s < r.value.branchSize / 2 ? r.value.branchSize / 2 : s
|
|
191
308
|
};
|
|
192
|
-
})),
|
|
309
|
+
})), et = k(() => e.value.style.chart.layout.branches.widthRatio <= 0 ? 0.1 : e.value.style.chart.layout.branches.widthRatio > 1.8 ? 1.8 : e.value.style.chart.layout.branches.widthRatio), tt = k(() => X.value.flatMap((l) => l.branches)), E = k(() => tt.value.sort((l, i) => i.value - l.value).map((l, i) => ({
|
|
193
310
|
...l,
|
|
194
|
-
y1: i * r.value.branchSize +
|
|
311
|
+
y1: i * r.value.branchSize + T.value.top + i * r.value.gap,
|
|
195
312
|
y2: i * r.value.branchSize + r.value.branchSize,
|
|
196
|
-
x1:
|
|
197
|
-
x2: 384 * l.value /
|
|
313
|
+
x1: $e.value,
|
|
314
|
+
x2: 384 * l.value / Qe.value * et.value + $e.value
|
|
198
315
|
})));
|
|
199
|
-
function
|
|
200
|
-
const i =
|
|
316
|
+
function lt(l) {
|
|
317
|
+
const i = X.value.find((t) => t.rootIndex === l.rootIndex);
|
|
201
318
|
return { x: i.x, y: i.y, r: i.r };
|
|
202
319
|
}
|
|
203
|
-
const d = z(null),
|
|
320
|
+
const d = z(null), V = z(null), x = z(null), L = z(null);
|
|
204
321
|
function $() {
|
|
205
322
|
d.value = null, x.value = null, L.value = null;
|
|
206
323
|
}
|
|
207
|
-
function
|
|
324
|
+
function I(l) {
|
|
208
325
|
return L.value ? L.value === null ? !0 : l.type === "root" ? l.id === L.value.id : l.rootIndex === L.value.rootIndex : d.value === null && x.value === null ? !0 : l.type === "nut" ? d.value.id === l.id : l.type === "branch" ? x.value.id === l.id : l.type === "root" ? x.value && x.value.rootIndex === l.rootIndex || d.value && d.value.rootIndex === l.rootIndex : !1;
|
|
209
326
|
}
|
|
210
|
-
function
|
|
211
|
-
$(),
|
|
212
|
-
d.value = l, x.value = l,
|
|
327
|
+
function at(l) {
|
|
328
|
+
$(), Ie(() => {
|
|
329
|
+
d.value = l, x.value = l, V.value = Oe(
|
|
213
330
|
{ series: l.breakdown },
|
|
214
331
|
l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
215
332
|
l.y1 + r.value.branchSize / 2,
|
|
@@ -218,43 +335,45 @@ const Tt = ["id"], zt = {
|
|
|
218
335
|
), D("selectNut", l.breakdown);
|
|
219
336
|
});
|
|
220
337
|
}
|
|
221
|
-
function
|
|
222
|
-
d.value = null,
|
|
338
|
+
function G() {
|
|
339
|
+
d.value = null, V.value = null, D("selectNut", null);
|
|
223
340
|
}
|
|
224
|
-
function
|
|
341
|
+
function ce(l) {
|
|
225
342
|
x.value && x.value.id === l.id ? (x.value = null, $(), D("selectBranch", null)) : ($(), x.value = l, D("selectBranch", l));
|
|
226
343
|
}
|
|
227
|
-
function
|
|
344
|
+
function Te(l) {
|
|
228
345
|
L.value && L.value.id === l.id ? ($(), D("selectRoot", null)) : ($(), L.value = l, D("selectRoot", l));
|
|
229
346
|
}
|
|
230
|
-
function
|
|
231
|
-
return
|
|
347
|
+
function ot() {
|
|
348
|
+
return T.value.bottom - (d.value.y1 + 180) < 0 ? 0 : T.value.bottom;
|
|
232
349
|
}
|
|
233
350
|
function Y(l) {
|
|
234
351
|
return l.proportion * 100 > e.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
|
|
235
352
|
}
|
|
236
|
-
const q =
|
|
237
|
-
function
|
|
353
|
+
const q = ct(null);
|
|
354
|
+
function st() {
|
|
238
355
|
q.value && q.value.disconnect(), q.value = new ResizeObserver((l) => {
|
|
239
356
|
l.forEach((i) => {
|
|
240
|
-
|
|
357
|
+
Ce.value = i.contentRect.width < We.value;
|
|
241
358
|
});
|
|
242
|
-
}),
|
|
359
|
+
}), ie.value && q.value.observe(ie.value);
|
|
243
360
|
}
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
}),
|
|
361
|
+
dt(() => {
|
|
362
|
+
ze();
|
|
363
|
+
}), vt(() => {
|
|
247
364
|
q.value && q.value.disconnect();
|
|
248
365
|
});
|
|
249
|
-
|
|
250
|
-
|
|
366
|
+
const J = k(() => e.value.debug);
|
|
367
|
+
function ze() {
|
|
368
|
+
mt(M.dataset) && oe({
|
|
251
369
|
componentName: "VueUiChestnut",
|
|
252
|
-
type: "dataset"
|
|
370
|
+
type: "dataset",
|
|
371
|
+
debug: J.value
|
|
253
372
|
});
|
|
254
|
-
const l =
|
|
255
|
-
r.value.height = l,
|
|
373
|
+
const l = Ze.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
|
|
374
|
+
r.value.height = l, st();
|
|
256
375
|
}
|
|
257
|
-
const v =
|
|
376
|
+
const v = k(() => {
|
|
258
377
|
const l = [
|
|
259
378
|
e.value.table.th.translations.rootName,
|
|
260
379
|
e.value.table.th.translations.rootValue,
|
|
@@ -268,170 +387,179 @@ const Tt = ["id"], zt = {
|
|
|
268
387
|
e.value.table.th.translations.nutToBranch,
|
|
269
388
|
e.value.table.th.translations.nutToRoot,
|
|
270
389
|
e.value.table.th.translations.nutToTotal
|
|
271
|
-
], i = N.value.flatMap((t, s) => t.branches.flatMap((
|
|
390
|
+
], i = N.value.flatMap((t, s) => t.branches.flatMap((p, b) => p.breakdown.flatMap((h, m) => h.table)));
|
|
272
391
|
return { head: l, body: i };
|
|
273
392
|
});
|
|
274
|
-
function
|
|
275
|
-
|
|
276
|
-
const i = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total",
|
|
277
|
-
v.value.body[
|
|
278
|
-
v.value.body[
|
|
279
|
-
v.value.body[
|
|
280
|
-
v.value.body[
|
|
281
|
-
v.value.body[
|
|
282
|
-
v.value.body[
|
|
283
|
-
v.value.body[
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
]),
|
|
290
|
-
l ? l(
|
|
393
|
+
function Ae(l = null) {
|
|
394
|
+
Ie(() => {
|
|
395
|
+
const i = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", O.value], [""]], t = v.value.head, s = v.value.body.map((h, m) => [
|
|
396
|
+
v.value.body[m - 1] && v.value.body[m - 1].rootName === h.rootName ? "" : h.rootName,
|
|
397
|
+
v.value.body[m - 1] && v.value.body[m - 1].rootName === h.rootName ? "" : h.rootValue,
|
|
398
|
+
v.value.body[m - 1] && v.value.body[m - 1].rootName === h.rootName ? "" : h.rootToTotal,
|
|
399
|
+
v.value.body[m - 1] && v.value.body[m - 1].branchName === h.branchName ? "" : h.branchName,
|
|
400
|
+
v.value.body[m - 1] && v.value.body[m - 1].branchName === h.branchName ? "" : h.branchValue,
|
|
401
|
+
v.value.body[m - 1] && v.value.body[m - 1].branchName === h.branchName ? "" : h.branchToRoot,
|
|
402
|
+
v.value.body[m - 1] && v.value.body[m - 1].branchName === h.branchName ? "" : h.branchToTotal,
|
|
403
|
+
h.nutName,
|
|
404
|
+
h.nutValue,
|
|
405
|
+
h.nutToBranch,
|
|
406
|
+
h.nutToRoot,
|
|
407
|
+
h.nutToTotal
|
|
408
|
+
]), p = i.concat([t]).concat(s), b = Ct(p);
|
|
409
|
+
l ? l(b) : $t({ csvContent: b, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
|
|
291
410
|
});
|
|
292
411
|
}
|
|
293
|
-
const
|
|
294
|
-
function
|
|
295
|
-
|
|
412
|
+
const W = z(!1);
|
|
413
|
+
function Se(l) {
|
|
414
|
+
W.value = l, fe.value += 1;
|
|
296
415
|
}
|
|
297
|
-
function
|
|
298
|
-
|
|
416
|
+
function Ne() {
|
|
417
|
+
j.value.showTable = !j.value.showTable;
|
|
299
418
|
}
|
|
300
|
-
const
|
|
301
|
-
function
|
|
302
|
-
|
|
419
|
+
const Q = z(!1);
|
|
420
|
+
function de() {
|
|
421
|
+
Q.value = !Q.value;
|
|
303
422
|
}
|
|
304
|
-
async function
|
|
305
|
-
if (!
|
|
306
|
-
const { width: i, height: t } =
|
|
423
|
+
async function ut({ scale: l = 2 } = {}) {
|
|
424
|
+
if (!H.value) return;
|
|
425
|
+
const { width: i, height: t } = H.value.getBoundingClientRect(), s = i / t, { imageUri: p, base64: b } = await Ft({ domElement: H.value, base64: !0, img: !0, scale: l });
|
|
307
426
|
return {
|
|
308
|
-
imageUri:
|
|
309
|
-
base64:
|
|
427
|
+
imageUri: p,
|
|
428
|
+
base64: b,
|
|
310
429
|
title: e.value.style.chart.layout.title.text,
|
|
311
430
|
width: i,
|
|
312
431
|
height: t,
|
|
313
432
|
aspectRatio: s
|
|
314
433
|
};
|
|
315
434
|
}
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
435
|
+
function nt(l) {
|
|
436
|
+
const i = lt(l), t = l.x1, s = l.y1, p = r.value.branchSize, b = i.x + i.r / 2, h = i.y, m = 20;
|
|
437
|
+
return [
|
|
438
|
+
`M ${t},${s}`,
|
|
439
|
+
`C ${t - m},${s} ${t - m},${s} ${b},${h}`,
|
|
440
|
+
`C ${b},${h} ${t - m},${s + p} ${t},${s + p}`,
|
|
441
|
+
"Z"
|
|
442
|
+
].join(" ");
|
|
443
|
+
}
|
|
444
|
+
return Me({
|
|
445
|
+
getData: Ke,
|
|
446
|
+
getImage: ut,
|
|
447
|
+
generatePdf: ke,
|
|
448
|
+
generateCsv: Ae,
|
|
449
|
+
generateImage: we,
|
|
450
|
+
toggleTable: Ne,
|
|
451
|
+
toggleAnnotator: de,
|
|
452
|
+
toggleFullscreen: Se
|
|
325
453
|
}), (l, i) => (a(), o("div", {
|
|
326
|
-
class:
|
|
454
|
+
class: w(`vue-ui-chestnut ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
327
455
|
ref_key: "chestnutChart",
|
|
328
|
-
ref:
|
|
329
|
-
id: `vue-ui-chestnut_${
|
|
456
|
+
ref: H,
|
|
457
|
+
id: `vue-ui-chestnut_${C.value}`,
|
|
330
458
|
style: y(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
331
|
-
onMouseenter: i[2] || (i[2] = () =>
|
|
332
|
-
onMouseleave: i[3] || (i[3] = () =>
|
|
459
|
+
onMouseenter: i[2] || (i[2] = () => n(pe)(!0)),
|
|
460
|
+
onMouseleave: i[3] || (i[3] = () => n(pe)(!1))
|
|
333
461
|
}, [
|
|
334
|
-
e.value.userOptions.buttons.annotator ? (a(), ee(
|
|
462
|
+
e.value.userOptions.buttons.annotator ? (a(), ee(n(Ge), {
|
|
335
463
|
key: 0,
|
|
336
|
-
svgRef:
|
|
464
|
+
svgRef: n(_e),
|
|
337
465
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
338
466
|
color: e.value.style.chart.color,
|
|
339
|
-
active:
|
|
340
|
-
onClose:
|
|
341
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
342
|
-
|
|
343
|
-
e.value.userOptions.show &&
|
|
467
|
+
active: Q.value,
|
|
468
|
+
onClose: de
|
|
469
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
|
|
470
|
+
He.value ? (a(), o("div", Rt, null, 512)) : f("", !0),
|
|
471
|
+
e.value.userOptions.show && he.value && (n(ge) || n(ue)) ? (a(), ee(n(Ue), {
|
|
344
472
|
ref_key: "details",
|
|
345
|
-
ref:
|
|
346
|
-
key: `user_options_${
|
|
473
|
+
ref: qe,
|
|
474
|
+
key: `user_options_${fe.value}`,
|
|
347
475
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
348
476
|
color: e.value.style.chart.color,
|
|
349
|
-
isImaging:
|
|
350
|
-
isPrinting:
|
|
351
|
-
uid:
|
|
477
|
+
isImaging: n(me),
|
|
478
|
+
isPrinting: n(xe),
|
|
479
|
+
uid: C.value,
|
|
352
480
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
353
481
|
hasImg: e.value.userOptions.buttons.img,
|
|
354
482
|
hasXls: e.value.userOptions.buttons.csv,
|
|
355
483
|
hasTable: e.value.userOptions.buttons.table,
|
|
356
484
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
357
|
-
isFullscreen:
|
|
485
|
+
isFullscreen: W.value,
|
|
358
486
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
359
|
-
chartElement:
|
|
487
|
+
chartElement: H.value,
|
|
360
488
|
position: e.value.userOptions.position,
|
|
361
489
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
362
|
-
isAnnotation:
|
|
490
|
+
isAnnotation: Q.value,
|
|
363
491
|
callbacks: e.value.userOptions.callbacks,
|
|
364
492
|
printScale: e.value.userOptions.print.scale,
|
|
365
|
-
onToggleFullscreen:
|
|
366
|
-
onGeneratePdf:
|
|
367
|
-
onGenerateCsv:
|
|
368
|
-
onGenerateImage:
|
|
369
|
-
onToggleTable:
|
|
370
|
-
onToggleAnnotator:
|
|
493
|
+
onToggleFullscreen: Se,
|
|
494
|
+
onGeneratePdf: n(ke),
|
|
495
|
+
onGenerateCsv: Ae,
|
|
496
|
+
onGenerateImage: n(we),
|
|
497
|
+
onToggleTable: Ne,
|
|
498
|
+
onToggleAnnotator: de,
|
|
371
499
|
style: y({
|
|
372
|
-
visibility:
|
|
500
|
+
visibility: n(ge) ? n(ue) ? "visible" : "hidden" : "visible"
|
|
373
501
|
})
|
|
374
|
-
},
|
|
502
|
+
}, yt({ _: 2 }, [
|
|
375
503
|
l.$slots.menuIcon ? {
|
|
376
504
|
name: "menuIcon",
|
|
377
|
-
fn:
|
|
505
|
+
fn: B(({ isOpen: t, color: s }) => [
|
|
378
506
|
F(l.$slots, "menuIcon", te(le({ isOpen: t, color: s })), void 0, !0)
|
|
379
507
|
]),
|
|
380
508
|
key: "0"
|
|
381
509
|
} : void 0,
|
|
382
510
|
l.$slots.optionPdf ? {
|
|
383
511
|
name: "optionPdf",
|
|
384
|
-
fn:
|
|
512
|
+
fn: B(() => [
|
|
385
513
|
F(l.$slots, "optionPdf", {}, void 0, !0)
|
|
386
514
|
]),
|
|
387
515
|
key: "1"
|
|
388
516
|
} : void 0,
|
|
389
517
|
l.$slots.optionCsv ? {
|
|
390
518
|
name: "optionCsv",
|
|
391
|
-
fn:
|
|
519
|
+
fn: B(() => [
|
|
392
520
|
F(l.$slots, "optionCsv", {}, void 0, !0)
|
|
393
521
|
]),
|
|
394
522
|
key: "2"
|
|
395
523
|
} : void 0,
|
|
396
524
|
l.$slots.optionImg ? {
|
|
397
525
|
name: "optionImg",
|
|
398
|
-
fn:
|
|
526
|
+
fn: B(() => [
|
|
399
527
|
F(l.$slots, "optionImg", {}, void 0, !0)
|
|
400
528
|
]),
|
|
401
529
|
key: "3"
|
|
402
530
|
} : void 0,
|
|
403
531
|
l.$slots.optionTable ? {
|
|
404
532
|
name: "optionTable",
|
|
405
|
-
fn:
|
|
533
|
+
fn: B(() => [
|
|
406
534
|
F(l.$slots, "optionTable", {}, void 0, !0)
|
|
407
535
|
]),
|
|
408
536
|
key: "4"
|
|
409
537
|
} : void 0,
|
|
410
538
|
l.$slots.optionFullscreen ? {
|
|
411
539
|
name: "optionFullscreen",
|
|
412
|
-
fn:
|
|
540
|
+
fn: B(({ toggleFullscreen: t, isFullscreen: s }) => [
|
|
413
541
|
F(l.$slots, "optionFullscreen", te(le({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
|
|
414
542
|
]),
|
|
415
543
|
key: "5"
|
|
416
544
|
} : void 0,
|
|
417
545
|
l.$slots.optionAnnotator ? {
|
|
418
546
|
name: "optionAnnotator",
|
|
419
|
-
fn:
|
|
547
|
+
fn: B(({ toggleAnnotator: t, isAnnotator: s }) => [
|
|
420
548
|
F(l.$slots, "optionAnnotator", te(le({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
|
|
421
549
|
]),
|
|
422
550
|
key: "6"
|
|
423
551
|
} : void 0
|
|
424
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
425
|
-
r.value.height > 0
|
|
552
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
553
|
+
r.value.height > 0 ? (a(), o("svg", {
|
|
426
554
|
key: 3,
|
|
427
555
|
ref_key: "svgRef",
|
|
428
|
-
ref:
|
|
429
|
-
xmlns:
|
|
430
|
-
class:
|
|
556
|
+
ref: _e,
|
|
557
|
+
xmlns: n(kt),
|
|
558
|
+
class: w({ "vue-data-ui-fullscreen--on": W.value, "vue-data-ui-fulscreen--off": !W.value }),
|
|
431
559
|
viewBox: `0 0 ${r.value.width <= 0 ? 10 : r.value.width} ${r.value.height <= 0 ? 10 : r.value.height}`,
|
|
432
560
|
style: y(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
433
561
|
}, [
|
|
434
|
-
|
|
562
|
+
Le(n(De)),
|
|
435
563
|
l.$slots["chart-background"] ? (a(), o("foreignObject", {
|
|
436
564
|
key: 0,
|
|
437
565
|
x: 0,
|
|
@@ -443,8 +571,8 @@ const Tt = ["id"], zt = {
|
|
|
443
571
|
}
|
|
444
572
|
}, [
|
|
445
573
|
F(l.$slots, "chart-background", {}, void 0, !0)
|
|
446
|
-
], 8,
|
|
447
|
-
d.value ?
|
|
574
|
+
], 8, Ot)) : f("", !0),
|
|
575
|
+
d.value ? f("", !0) : (a(), o("g", Vt, [
|
|
448
576
|
e.value.style.chart.layout.title.text ? (a(), o("text", {
|
|
449
577
|
key: 0,
|
|
450
578
|
"text-anchor": "middle",
|
|
@@ -454,7 +582,7 @@ const Tt = ["id"], zt = {
|
|
|
454
582
|
x: r.value.width / 2,
|
|
455
583
|
y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
|
|
456
584
|
onClick: $
|
|
457
|
-
}, c(e.value.style.chart.layout.title.text), 9,
|
|
585
|
+
}, c(e.value.style.chart.layout.title.text), 9, Bt)) : f("", !0),
|
|
458
586
|
e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
|
|
459
587
|
key: 1,
|
|
460
588
|
"text-anchor": "middle",
|
|
@@ -464,193 +592,202 @@ const Tt = ["id"], zt = {
|
|
|
464
592
|
x: r.value.width / 2,
|
|
465
593
|
y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
|
|
466
594
|
onClick: $
|
|
467
|
-
}, c(e.value.style.chart.layout.title.subtitle.text), 9,
|
|
595
|
+
}, c(e.value.style.chart.layout.title.subtitle.text), 9, Mt)) : f("", !0)
|
|
468
596
|
])),
|
|
469
|
-
|
|
470
|
-
(a(!0), o(
|
|
597
|
+
u("defs", null, [
|
|
598
|
+
(a(!0), o(g, null, _(N.value, (t, s) => (a(), o("radialGradient", {
|
|
471
599
|
cx: "50%",
|
|
472
600
|
cy: "50%",
|
|
473
601
|
r: "50%",
|
|
474
602
|
fx: "50%",
|
|
475
603
|
fy: "50%",
|
|
476
|
-
id: `root_gradient_${
|
|
604
|
+
id: `root_gradient_${C.value}_${t.rootIndex}`
|
|
477
605
|
}, [
|
|
478
|
-
|
|
606
|
+
u("stop", {
|
|
479
607
|
offset: "0%",
|
|
480
|
-
"stop-color":
|
|
481
|
-
}, null, 8,
|
|
482
|
-
|
|
608
|
+
"stop-color": n(A)(n(Re)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
|
|
609
|
+
}, null, 8, Xt),
|
|
610
|
+
u("stop", {
|
|
483
611
|
offset: "100%",
|
|
484
612
|
"stop-color": t.color
|
|
485
|
-
}, null, 8,
|
|
486
|
-
], 8,
|
|
487
|
-
(a(!0), o(
|
|
613
|
+
}, null, 8, Et)
|
|
614
|
+
], 8, jt))), 256)),
|
|
615
|
+
(a(!0), o(g, null, _(N.value, (t) => (a(), o("linearGradient", {
|
|
488
616
|
x1: "0%",
|
|
489
617
|
y1: "0%",
|
|
490
618
|
x2: "100%",
|
|
491
619
|
y2: "0%",
|
|
492
|
-
id: `branch_gradient_${
|
|
620
|
+
id: `branch_gradient_${C.value}_${t.rootIndex}`
|
|
493
621
|
}, [
|
|
494
|
-
|
|
622
|
+
u("stop", {
|
|
495
623
|
offset: "0%",
|
|
496
624
|
"stop-color": t.color
|
|
497
|
-
}, null, 8,
|
|
498
|
-
|
|
625
|
+
}, null, 8, Ut),
|
|
626
|
+
u("stop", {
|
|
499
627
|
offset: "100%",
|
|
500
|
-
"stop-color":
|
|
501
|
-
}, null, 8,
|
|
502
|
-
], 8,
|
|
503
|
-
|
|
628
|
+
"stop-color": n(A)(n(Re)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
|
|
629
|
+
}, null, 8, Dt)
|
|
630
|
+
], 8, Gt))), 256)),
|
|
631
|
+
u("radialGradient", {
|
|
504
632
|
cx: "50%",
|
|
505
633
|
cy: "50%",
|
|
506
634
|
r: "50%",
|
|
507
635
|
fx: "50%",
|
|
508
636
|
fy: "50%",
|
|
509
|
-
id: `nutpick_${
|
|
637
|
+
id: `nutpick_${C.value}`
|
|
510
638
|
}, [
|
|
511
|
-
|
|
639
|
+
u("stop", {
|
|
512
640
|
offset: "0%",
|
|
513
|
-
"stop-color":
|
|
514
|
-
}, null, 8,
|
|
515
|
-
|
|
641
|
+
"stop-color": n(A)("#FFFFFF", 0)
|
|
642
|
+
}, null, 8, qt),
|
|
643
|
+
u("stop", {
|
|
516
644
|
offset: "80%",
|
|
517
|
-
"stop-color":
|
|
518
|
-
}, null, 8,
|
|
519
|
-
|
|
645
|
+
"stop-color": n(A)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
|
|
646
|
+
}, null, 8, Ht),
|
|
647
|
+
u("stop", {
|
|
520
648
|
offset: "100%",
|
|
521
|
-
"stop-color":
|
|
522
|
-
}, null, 8,
|
|
523
|
-
], 8,
|
|
524
|
-
|
|
649
|
+
"stop-color": n(A)("#FFFFFF", 0)
|
|
650
|
+
}, null, 8, Wt)
|
|
651
|
+
], 8, Yt),
|
|
652
|
+
u("radialGradient", {
|
|
525
653
|
cx: "50%",
|
|
526
654
|
cy: "50%",
|
|
527
655
|
r: "50%",
|
|
528
656
|
fx: "50%",
|
|
529
657
|
fy: "50%",
|
|
530
|
-
id: `nut_${
|
|
658
|
+
id: `nut_${C.value}`
|
|
531
659
|
}, [
|
|
532
|
-
|
|
660
|
+
u("stop", {
|
|
533
661
|
offset: "0%",
|
|
534
|
-
"stop-color":
|
|
535
|
-
}, null, 8,
|
|
536
|
-
|
|
662
|
+
"stop-color": n(A)("#FFFFFF", 0)
|
|
663
|
+
}, null, 8, Zt),
|
|
664
|
+
u("stop", {
|
|
537
665
|
offset: "80%",
|
|
538
|
-
"stop-color":
|
|
539
|
-
}, null, 8,
|
|
540
|
-
|
|
666
|
+
"stop-color": n(A)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
|
|
667
|
+
}, null, 8, Jt),
|
|
668
|
+
u("stop", {
|
|
541
669
|
offset: "100%",
|
|
542
|
-
"stop-color":
|
|
543
|
-
}, null, 8,
|
|
544
|
-
], 8,
|
|
545
|
-
|
|
670
|
+
"stop-color": n(A)("#FFFFFF", 0)
|
|
671
|
+
}, null, 8, Qt)
|
|
672
|
+
], 8, Kt),
|
|
673
|
+
u("radialGradient", {
|
|
546
674
|
cx: "50%",
|
|
547
675
|
cy: "50%",
|
|
548
676
|
r: "50%",
|
|
549
677
|
fx: "50%",
|
|
550
678
|
fy: "50%",
|
|
551
|
-
id: `nut_underlayer_${
|
|
679
|
+
id: `nut_underlayer_${C.value}`
|
|
552
680
|
}, [
|
|
553
|
-
|
|
681
|
+
u("stop", {
|
|
554
682
|
offset: "0%",
|
|
555
|
-
"stop-color":
|
|
556
|
-
}, null, 8,
|
|
557
|
-
|
|
683
|
+
"stop-color": n(A)(e.value.style.chart.backgroundColor, 100)
|
|
684
|
+
}, null, 8, tl),
|
|
685
|
+
u("stop", {
|
|
558
686
|
offset: "80%",
|
|
559
|
-
"stop-color":
|
|
560
|
-
}, null, 8,
|
|
561
|
-
|
|
687
|
+
"stop-color": n(A)(e.value.style.chart.backgroundColor, 60)
|
|
688
|
+
}, null, 8, ll),
|
|
689
|
+
u("stop", {
|
|
562
690
|
offset: "100%",
|
|
563
|
-
"stop-color":
|
|
564
|
-
}, null, 8,
|
|
565
|
-
], 8,
|
|
691
|
+
"stop-color": n(A)(e.value.style.chart.backgroundColor, 0)
|
|
692
|
+
}, null, 8, al)
|
|
693
|
+
], 8, el)
|
|
566
694
|
]),
|
|
567
|
-
e.value.style.chart.layout.grandTotal.show ? (a(), o("g",
|
|
568
|
-
|
|
569
|
-
x:
|
|
695
|
+
e.value.style.chart.layout.grandTotal.show ? (a(), o("g", ol, [
|
|
696
|
+
u("text", {
|
|
697
|
+
x: T.value.seedX,
|
|
570
698
|
y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
|
|
571
699
|
"font-size": e.value.style.chart.layout.grandTotal.fontSize,
|
|
572
700
|
"font-weight": e.value.style.chart.layout.grandTotal.bold ? "bold" : "normal",
|
|
573
701
|
fill: e.value.style.chart.layout.grandTotal.color,
|
|
574
702
|
"text-anchor": "middle",
|
|
575
703
|
onClick: $
|
|
576
|
-
}, c(e.value.style.chart.layout.grandTotal.text), 9,
|
|
577
|
-
|
|
578
|
-
x:
|
|
704
|
+
}, c(e.value.style.chart.layout.grandTotal.text), 9, sl),
|
|
705
|
+
u("text", {
|
|
706
|
+
x: T.value.seedX,
|
|
579
707
|
y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
|
|
580
708
|
"font-size": e.value.style.chart.layout.grandTotal.fontSize,
|
|
581
709
|
"font-weight": e.value.style.chart.layout.grandTotal.bold ? "bold" : "normal",
|
|
582
710
|
fill: e.value.style.chart.layout.grandTotal.color,
|
|
583
711
|
"text-anchor": "middle",
|
|
584
712
|
onClick: $
|
|
585
|
-
}, c(
|
|
713
|
+
}, c(n(U)(
|
|
586
714
|
e.value.style.chart.layout.grandTotal.formatter,
|
|
587
|
-
|
|
588
|
-
|
|
715
|
+
O.value,
|
|
716
|
+
n(S)({
|
|
589
717
|
p: e.value.style.chart.layout.grandTotal.prefix,
|
|
590
|
-
v:
|
|
718
|
+
v: O.value,
|
|
591
719
|
s: e.value.style.chart.layout.grandTotal.suffix,
|
|
592
720
|
r: e.value.style.chart.layout.grandTotal.roundingValue
|
|
593
721
|
})
|
|
594
|
-
)), 9,
|
|
595
|
-
])) :
|
|
596
|
-
(a(!0), o(
|
|
597
|
-
(
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
722
|
+
)), 9, ul)
|
|
723
|
+
])) : f("", !0),
|
|
724
|
+
(a(!0), o(g, null, _(E.value, (t) => (a(), o("g", null, [
|
|
725
|
+
u("defs", null, [
|
|
726
|
+
u("linearGradient", {
|
|
727
|
+
id: `link_grad_${t.id}`
|
|
728
|
+
}, [
|
|
729
|
+
u("stop", {
|
|
730
|
+
offset: "0%",
|
|
731
|
+
"stop-color": t.color
|
|
732
|
+
}, null, 8, rl),
|
|
733
|
+
u("stop", {
|
|
734
|
+
offset: "100%",
|
|
735
|
+
"stop-color": n(A)(t.color, e.value.style.chart.layout.links.opacity)
|
|
736
|
+
}, null, 8, il)
|
|
737
|
+
], 8, nl)
|
|
738
|
+
]),
|
|
739
|
+
u("path", {
|
|
740
|
+
d: nt(t),
|
|
741
|
+
stroke: n(A)(t.color, e.value.style.chart.layout.links.opacity),
|
|
742
|
+
fill: `url(#link_grad_${t.id})`,
|
|
743
|
+
"stroke-linecap": "round",
|
|
744
|
+
"stroke-linejoin": "round",
|
|
745
|
+
style: y(`opacity:${I(t) ? 1 : 0}`),
|
|
609
746
|
onClick: $
|
|
610
|
-
}, null, 12,
|
|
747
|
+
}, null, 12, cl)
|
|
611
748
|
]))), 256)),
|
|
612
|
-
(a(!0), o(
|
|
749
|
+
(a(!0), o(g, null, _(X.value, (t) => (a(), o("circle", {
|
|
613
750
|
cx: t.x,
|
|
614
751
|
cy: t.y,
|
|
615
752
|
r: t.r,
|
|
616
753
|
fill: e.value.style.chart.layout.roots.underlayerColor,
|
|
617
754
|
stroke: "none",
|
|
618
|
-
style: y(`cursor:pointer; opacity:${
|
|
619
|
-
}, null, 12,
|
|
620
|
-
(a(!0), o(
|
|
755
|
+
style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`)
|
|
756
|
+
}, null, 12, dl))), 256)),
|
|
757
|
+
(a(!0), o(g, null, _(X.value, (t, s) => (a(), o("circle", {
|
|
621
758
|
cx: t.x,
|
|
622
759
|
cy: t.y,
|
|
623
760
|
r: t.r,
|
|
624
|
-
fill: e.value.style.chart.layout.roots.useGradient ? `url(#root_gradient_${
|
|
761
|
+
fill: e.value.style.chart.layout.roots.useGradient ? `url(#root_gradient_${C.value}_${t.rootIndex})` : t.color,
|
|
625
762
|
stroke: e.value.style.chart.layout.roots.stroke,
|
|
626
763
|
"stroke-width": e.value.style.chart.layout.roots.strokeWidth,
|
|
627
|
-
style: y(`cursor:pointer; opacity:${
|
|
628
|
-
onClick: (
|
|
629
|
-
}, null, 12,
|
|
630
|
-
e.value.style.chart.layout.roots.labels.show ? (a(), o("g",
|
|
631
|
-
(a(!0), o(
|
|
764
|
+
style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`),
|
|
765
|
+
onClick: (p) => Te(t)
|
|
766
|
+
}, null, 12, vl))), 256)),
|
|
767
|
+
e.value.style.chart.layout.roots.labels.show ? (a(), o("g", yl, [
|
|
768
|
+
(a(!0), o(g, null, _(X.value, (t, s) => (a(), o("text", {
|
|
632
769
|
x: t.x,
|
|
633
770
|
y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
|
|
634
771
|
"text-anchor": "middle",
|
|
635
772
|
"font-size": e.value.style.chart.layout.roots.labels.fontSize,
|
|
636
|
-
fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ?
|
|
773
|
+
fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? n(Pe)(t.color) : e.value.style.chart.layout.roots.labels.color,
|
|
637
774
|
"font-weight": "bold",
|
|
638
|
-
style: y(`cursor:pointer; opacity:${
|
|
639
|
-
onClick: (
|
|
640
|
-
}, c(
|
|
775
|
+
style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`),
|
|
776
|
+
onClick: (p) => Te(t)
|
|
777
|
+
}, c(n(U)(
|
|
641
778
|
e.value.style.chart.layout.roots.labels.formatter,
|
|
642
779
|
t.total,
|
|
643
|
-
|
|
780
|
+
n(S)({
|
|
644
781
|
p: e.value.style.chart.layout.roots.labels.prefix,
|
|
645
782
|
v: t.total,
|
|
646
783
|
s: e.value.style.chart.layout.roots.labels.suffix,
|
|
647
784
|
r: e.value.style.chart.layout.roots.labels.roundingValue
|
|
648
785
|
}),
|
|
649
786
|
{ datapoint: t }
|
|
650
|
-
)), 13,
|
|
651
|
-
(a(!0), o(
|
|
652
|
-
d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || L.value && t.rootIndex === L.value.rootIndex ? (a(), o("g",
|
|
653
|
-
|
|
787
|
+
)), 13, hl))), 256)),
|
|
788
|
+
(a(!0), o(g, null, _(X.value, (t) => (a(), o("g", null, [
|
|
789
|
+
d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || L.value && t.rootIndex === L.value.rootIndex ? (a(), o("g", fl, [
|
|
790
|
+
u("text", {
|
|
654
791
|
x: t.x,
|
|
655
792
|
y: t.y + t.r + 24,
|
|
656
793
|
"text-anchor": "middle",
|
|
@@ -658,11 +795,11 @@ const Tt = ["id"], zt = {
|
|
|
658
795
|
"font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
|
|
659
796
|
"font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
|
|
660
797
|
onClick: $
|
|
661
|
-
}, c(t.name), 9,
|
|
662
|
-
])) :
|
|
798
|
+
}, c(t.name), 9, bl)
|
|
799
|
+
])) : f("", !0)
|
|
663
800
|
]))), 256))
|
|
664
|
-
])) :
|
|
665
|
-
(a(!0), o(
|
|
801
|
+
])) : f("", !0),
|
|
802
|
+
(a(!0), o(g, null, _(E.value, (t) => (a(), o("rect", {
|
|
666
803
|
x: t.x1,
|
|
667
804
|
y: t.y1,
|
|
668
805
|
height: r.value.branchSize,
|
|
@@ -670,177 +807,179 @@ const Tt = ["id"], zt = {
|
|
|
670
807
|
fill: e.value.style.chart.layout.branches.underlayerColor,
|
|
671
808
|
rx: e.value.style.chart.layout.branches.borderRadius,
|
|
672
809
|
stroke: "none",
|
|
673
|
-
style: y(`opacity:${
|
|
674
|
-
onClick: (s) =>
|
|
675
|
-
}, null, 12,
|
|
676
|
-
(a(!0), o(
|
|
810
|
+
style: y(`opacity:${I(t) ? 1 : 0.05}`),
|
|
811
|
+
onClick: (s) => ce(t)
|
|
812
|
+
}, null, 12, pl))), 256)),
|
|
813
|
+
(a(!0), o(g, null, _(E.value, (t, s) => (a(), o("rect", {
|
|
677
814
|
x: t.x1,
|
|
678
815
|
y: t.y1,
|
|
679
816
|
height: r.value.branchSize,
|
|
680
817
|
width: t.x2 - t.x1,
|
|
681
|
-
fill: e.value.style.chart.layout.branches.useGradient ? `url(#branch_gradient_${
|
|
818
|
+
fill: e.value.style.chart.layout.branches.useGradient ? `url(#branch_gradient_${C.value}_${t.rootIndex})` : t.color,
|
|
682
819
|
rx: e.value.style.chart.layout.branches.borderRadius,
|
|
683
820
|
stroke: e.value.style.chart.layout.branches.stroke,
|
|
684
821
|
"stroke-width": e.value.style.chart.layout.branches.strokeWidth,
|
|
685
|
-
style: y(`cursor:pointer; opacity:${
|
|
686
|
-
onClick: (
|
|
687
|
-
}, null, 12,
|
|
688
|
-
e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g",
|
|
689
|
-
(a(!0), o(
|
|
822
|
+
style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`),
|
|
823
|
+
onClick: (p) => ce(t)
|
|
824
|
+
}, null, 12, gl))), 256)),
|
|
825
|
+
e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", _l, [
|
|
826
|
+
(a(!0), o(g, null, _(E.value, (t) => (a(), o("g", null, [
|
|
690
827
|
t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
|
|
691
828
|
key: 0,
|
|
692
829
|
x: t.x1 + 6,
|
|
693
830
|
y: t.y1 + r.value.branchSize / 1.5,
|
|
694
831
|
"text-anchor": "start",
|
|
695
|
-
fill:
|
|
832
|
+
fill: n(Pe)(t.color),
|
|
696
833
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
697
834
|
"font-weight": "bold",
|
|
698
|
-
style: y(`cursor:pointer; opacity:${
|
|
699
|
-
onClick: (s) =>
|
|
700
|
-
}, c(
|
|
835
|
+
style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`),
|
|
836
|
+
onClick: (s) => ce(t)
|
|
837
|
+
}, c(n(U)(
|
|
701
838
|
e.value.style.chart.layout.branches.labels.dataLabels.formatter,
|
|
702
839
|
t.value,
|
|
703
|
-
|
|
840
|
+
n(S)({
|
|
704
841
|
p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
|
|
705
842
|
v: t.value,
|
|
706
843
|
s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
|
|
707
844
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
708
845
|
}),
|
|
709
846
|
{ datapoint: t }
|
|
710
|
-
)), 13,
|
|
847
|
+
)), 13, xl)) : f("", !0)
|
|
711
848
|
]))), 256))
|
|
712
|
-
])) :
|
|
713
|
-
(a(!0), o(
|
|
714
|
-
(a(!0), o(
|
|
849
|
+
])) : f("", !0),
|
|
850
|
+
(a(!0), o(g, null, _(E.value, (t, s) => (a(), o("g", null, [
|
|
851
|
+
(a(!0), o(g, null, _(n(Oe)(
|
|
715
852
|
{ series: t.breakdown, base: 1 },
|
|
716
853
|
t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
717
854
|
t.y1 + r.value.branchSize / 2,
|
|
718
855
|
r.value.branchSize / 3,
|
|
719
856
|
r.value.branchSize / 3
|
|
720
|
-
), (
|
|
721
|
-
d:
|
|
722
|
-
stroke:
|
|
857
|
+
), (p, b) => (a(), o("path", {
|
|
858
|
+
d: p.path,
|
|
859
|
+
stroke: p.color,
|
|
723
860
|
"stroke-width": 10,
|
|
724
861
|
fill: "none",
|
|
725
|
-
style: y(`opacity:${
|
|
726
|
-
}, null, 12,
|
|
727
|
-
|
|
728
|
-
fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${
|
|
862
|
+
style: y(`opacity:${I(t) ? 1 : 0.1}`)
|
|
863
|
+
}, null, 12, ml))), 256)),
|
|
864
|
+
u("circle", {
|
|
865
|
+
fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${C.value})` : "transparent",
|
|
729
866
|
cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
730
867
|
cy: t.y1 + r.value.branchSize / 2,
|
|
731
868
|
r: r.value.branchSize / 2 + 2,
|
|
732
|
-
onClick: (
|
|
733
|
-
style: y(`cursor:pointer;opacity:${
|
|
734
|
-
}, null, 12,
|
|
869
|
+
onClick: (p) => at(t),
|
|
870
|
+
style: y(`cursor:pointer;opacity:${I(t) ? 1 : 0.1}`)
|
|
871
|
+
}, null, 12, kl)
|
|
735
872
|
]))), 256)),
|
|
736
|
-
e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g",
|
|
737
|
-
(a(!0), o(
|
|
873
|
+
e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", wl, [
|
|
874
|
+
(a(!0), o(g, null, _(E.value, (t) => (a(), o("text", {
|
|
738
875
|
x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
739
876
|
y: t.y1 + r.value.branchSize / 2 + 5,
|
|
740
877
|
"font-size": e.value.style.chart.layout.branches.labels.fontSize,
|
|
741
878
|
"font-weight": e.value.style.chart.layout.branches.labels.bold ? "bold" : "normal",
|
|
742
879
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
743
880
|
"text-anchor": "start",
|
|
744
|
-
style: y(`opacity:${
|
|
745
|
-
}, c(t.name), 13,
|
|
746
|
-
])) :
|
|
747
|
-
|
|
881
|
+
style: y(`opacity:${I(t) ? 1 : 0.1}`)
|
|
882
|
+
}, c(t.name), 13, Cl))), 256))
|
|
883
|
+
])) : f("", !0),
|
|
884
|
+
u("line", {
|
|
748
885
|
x1: 256 + r.value.padding.left,
|
|
749
886
|
x2: 256 + r.value.padding.left,
|
|
750
|
-
y1:
|
|
751
|
-
y2:
|
|
887
|
+
y1: T.value.top,
|
|
888
|
+
y2: T.value.bottom,
|
|
752
889
|
stroke: e.value.style.chart.layout.verticalSeparator.stroke,
|
|
753
890
|
"stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
|
|
754
|
-
}, null, 8,
|
|
891
|
+
}, null, 8, $l),
|
|
755
892
|
!d.value && !x.value ? (a(), o("foreignObject", {
|
|
756
893
|
key: 6,
|
|
757
894
|
x: 0,
|
|
758
|
-
y:
|
|
759
|
-
height: r.value.height -
|
|
895
|
+
y: T.value.bottom,
|
|
896
|
+
height: r.value.height - T.value.bottom,
|
|
760
897
|
width: r.value.width,
|
|
761
898
|
style: { overflow: "visible" },
|
|
762
899
|
onClick: $
|
|
763
900
|
}, [
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
(a(!0), o(
|
|
901
|
+
u("div", zl, [
|
|
902
|
+
u("div", Al, [
|
|
903
|
+
(a(!0), o(g, null, _(X.value, (t) => (a(), o("div", {
|
|
767
904
|
style: y(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
|
|
768
905
|
}, [
|
|
769
|
-
(a(), o("svg",
|
|
770
|
-
|
|
906
|
+
(a(), o("svg", Sl, [
|
|
907
|
+
u("circle", {
|
|
771
908
|
cx: "10",
|
|
772
909
|
cy: "10",
|
|
773
910
|
r: "10",
|
|
774
911
|
fill: t.color,
|
|
775
912
|
stroke: "none"
|
|
776
|
-
}, null, 8,
|
|
913
|
+
}, null, 8, Nl)
|
|
777
914
|
])),
|
|
778
|
-
n("
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
915
|
+
n(be) ? f("", !0) : (a(), o(g, { key: 0 }, [
|
|
916
|
+
u("span", null, c(t.name) + ":", 1),
|
|
917
|
+
u("b", null, c(n(U)(
|
|
918
|
+
e.value.style.chart.layout.roots.labels.formatter,
|
|
919
|
+
t.total,
|
|
920
|
+
n(S)({
|
|
921
|
+
p: e.value.style.chart.layout.legend.prefix,
|
|
922
|
+
v: t.total,
|
|
923
|
+
s: e.value.style.chart.layout.legend.suffix,
|
|
924
|
+
r: e.value.style.chart.layout.legend.roundingValue
|
|
925
|
+
}),
|
|
926
|
+
{ datapoint: t }
|
|
927
|
+
)), 1),
|
|
928
|
+
ae(" (" + c(n(S)({
|
|
929
|
+
v: t.total / O.value * 100,
|
|
930
|
+
s: "%",
|
|
931
|
+
r: e.value.style.chart.layout.legend.roundingPercentage
|
|
932
|
+
})) + ") ", 1)
|
|
933
|
+
], 64))
|
|
795
934
|
], 4))), 256))
|
|
796
935
|
])
|
|
797
936
|
])
|
|
798
|
-
], 8,
|
|
799
|
-
d.value &&
|
|
937
|
+
], 8, Tl)) : f("", !0),
|
|
938
|
+
d.value && V.value ? (a(), o("g", Fl, [
|
|
800
939
|
(a(), o("foreignObject", {
|
|
801
940
|
x: 0,
|
|
802
|
-
y:
|
|
803
|
-
height: r.value.height -
|
|
941
|
+
y: ot(),
|
|
942
|
+
height: r.value.height - T.value.bottom,
|
|
804
943
|
width: r.value.width,
|
|
805
944
|
style: { overflow: "visible" },
|
|
806
945
|
onClick: $
|
|
807
946
|
}, [
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
(a(!0), o(
|
|
947
|
+
u("div", Il, [
|
|
948
|
+
u("b", null, c(d.value.name), 1),
|
|
949
|
+
u("div", Rl, [
|
|
950
|
+
(a(!0), o(g, null, _(d.value.breakdown, (t, s) => (a(), o("div", {
|
|
812
951
|
style: y(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
|
|
813
952
|
}, [
|
|
814
|
-
(a(), o("svg",
|
|
815
|
-
|
|
953
|
+
(a(), o("svg", Pl, [
|
|
954
|
+
u("circle", {
|
|
816
955
|
cx: "10",
|
|
817
956
|
cy: "10",
|
|
818
957
|
r: "10",
|
|
819
958
|
fill: t.color,
|
|
820
959
|
stroke: "none"
|
|
821
|
-
}, null, 8,
|
|
960
|
+
}, null, 8, Ol)
|
|
822
961
|
])),
|
|
823
|
-
|
|
962
|
+
u("span", null, [
|
|
824
963
|
ae(c(t.name) + ": ", 1),
|
|
825
|
-
|
|
964
|
+
u("b", null, c(e.value.style.chart.layout.legend.prefix) + " " + c(t.value.toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingValue)) + " " + c(e.value.style.chart.layout.legend.suffix), 1),
|
|
826
965
|
ae(" (" + c((t.proportionToBranch * 100).toFixed(e.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
|
|
827
966
|
])
|
|
828
967
|
], 4))), 256))
|
|
829
968
|
])
|
|
830
969
|
])
|
|
831
|
-
], 8,
|
|
832
|
-
|
|
970
|
+
], 8, Ll)),
|
|
971
|
+
u("circle", {
|
|
833
972
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
834
973
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
835
974
|
r: 256,
|
|
836
|
-
fill: `url(#nut_underlayer_${
|
|
837
|
-
onClick:
|
|
838
|
-
class:
|
|
839
|
-
}, null, 10,
|
|
840
|
-
(a(!0), o(
|
|
975
|
+
fill: `url(#nut_underlayer_${C.value})`,
|
|
976
|
+
onClick: G,
|
|
977
|
+
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
978
|
+
}, null, 10, Vl),
|
|
979
|
+
(a(!0), o(g, null, _(V.value, (t) => (a(), o("g", null, [
|
|
841
980
|
Y(t) ? (a(), o("path", {
|
|
842
981
|
key: 0,
|
|
843
|
-
d:
|
|
982
|
+
d: n(wt)(
|
|
844
983
|
t,
|
|
845
984
|
{
|
|
846
985
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
@@ -857,149 +996,149 @@ const Tt = ["id"], zt = {
|
|
|
857
996
|
"stroke-linecap": "round",
|
|
858
997
|
"stroke-linejoin": "round",
|
|
859
998
|
fill: "none",
|
|
860
|
-
class:
|
|
861
|
-
}, null, 10,
|
|
999
|
+
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1000
|
+
}, null, 10, Bl)) : f("", !0)
|
|
862
1001
|
]))), 256)),
|
|
863
|
-
|
|
1002
|
+
u("circle", {
|
|
864
1003
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
865
1004
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
866
1005
|
r: 118,
|
|
867
1006
|
fill: e.value.style.chart.backgroundColor,
|
|
868
|
-
onClick:
|
|
869
|
-
class:
|
|
870
|
-
}, null, 10,
|
|
871
|
-
(a(!0), o(
|
|
1007
|
+
onClick: G,
|
|
1008
|
+
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1009
|
+
}, null, 10, Ml),
|
|
1010
|
+
(a(!0), o(g, null, _(V.value, (t) => (a(), o("path", {
|
|
872
1011
|
d: t.path,
|
|
873
1012
|
stroke: t.color,
|
|
874
1013
|
"stroke-width": 64,
|
|
875
1014
|
fill: "none",
|
|
876
|
-
onClick:
|
|
877
|
-
class:
|
|
878
|
-
}, null, 10,
|
|
879
|
-
|
|
1015
|
+
onClick: G,
|
|
1016
|
+
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1017
|
+
}, null, 10, jl))), 256)),
|
|
1018
|
+
u("circle", {
|
|
880
1019
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
881
1020
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
882
1021
|
r: 110,
|
|
883
|
-
fill: `url(#nutpick_${
|
|
884
|
-
onClick:
|
|
885
|
-
class:
|
|
886
|
-
}, null, 10,
|
|
887
|
-
|
|
1022
|
+
fill: `url(#nutpick_${C.value})`,
|
|
1023
|
+
onClick: G,
|
|
1024
|
+
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1025
|
+
}, null, 10, Xl),
|
|
1026
|
+
u("circle", {
|
|
888
1027
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
889
1028
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
890
1029
|
r: 64,
|
|
891
1030
|
fill: e.value.style.chart.backgroundColor,
|
|
892
|
-
onClick:
|
|
893
|
-
class:
|
|
894
|
-
}, null, 10,
|
|
895
|
-
|
|
1031
|
+
onClick: G,
|
|
1032
|
+
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1033
|
+
}, null, 10, El),
|
|
1034
|
+
u("text", {
|
|
896
1035
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
897
1036
|
y: d.value.y1 + 8,
|
|
898
1037
|
fill: e.value.style.chart.layout.nuts.selected.labels.core.total.color,
|
|
899
1038
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.core.total.fontSize,
|
|
900
1039
|
"font-weight": e.value.style.chart.layout.nuts.selected.labels.core.total.bold ? "bold" : "normal",
|
|
901
1040
|
"text-anchor": "middle",
|
|
902
|
-
onClick:
|
|
903
|
-
class:
|
|
904
|
-
}, c(e.value.translations.total), 11,
|
|
905
|
-
|
|
1041
|
+
onClick: G,
|
|
1042
|
+
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1043
|
+
}, c(e.value.translations.total), 11, Gl),
|
|
1044
|
+
u("text", {
|
|
906
1045
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
907
1046
|
y: d.value.y1 + 36,
|
|
908
1047
|
fill: e.value.style.chart.layout.nuts.selected.labels.core.value.color,
|
|
909
1048
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.core.value.fontSize,
|
|
910
1049
|
"font-weight": e.value.style.chart.layout.nuts.selected.labels.core.value.bold ? "bold" : "normal",
|
|
911
1050
|
"text-anchor": "middle",
|
|
912
|
-
onClick:
|
|
913
|
-
class:
|
|
914
|
-
}, c(
|
|
1051
|
+
onClick: G,
|
|
1052
|
+
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1053
|
+
}, c(n(U)(
|
|
915
1054
|
e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
|
|
916
1055
|
d.value.value,
|
|
917
|
-
|
|
1056
|
+
n(S)({
|
|
918
1057
|
p: e.value.style.chart.layout.nuts.selected.labels.core.value.prefix,
|
|
919
1058
|
v: d.value.value,
|
|
920
1059
|
s: e.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
|
|
921
1060
|
r: e.value.style.chart.layout.nuts.selected.roundingValue
|
|
922
1061
|
}),
|
|
923
1062
|
{ datapoint: d.value }
|
|
924
|
-
)), 11,
|
|
925
|
-
(a(!0), o(
|
|
1063
|
+
)), 11, Ul),
|
|
1064
|
+
(a(!0), o(g, null, _(V.value, (t, s) => (a(), o("g", null, [
|
|
926
1065
|
Y(t) ? (a(), o("text", {
|
|
927
1066
|
key: 0,
|
|
928
|
-
x:
|
|
929
|
-
"text-anchor":
|
|
930
|
-
y:
|
|
1067
|
+
x: n(P)(t).x,
|
|
1068
|
+
"text-anchor": n(P)(t).anchor,
|
|
1069
|
+
y: n(Z)(t) - e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 6,
|
|
931
1070
|
fill: t.color,
|
|
932
1071
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 2,
|
|
933
1072
|
style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
934
|
-
class:
|
|
935
|
-
}, " ⬤ ", 14,
|
|
1073
|
+
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1074
|
+
}, " ⬤ ", 14, Dl)) : f("", !0),
|
|
936
1075
|
Y(t) ? (a(), o("text", {
|
|
937
1076
|
key: 1,
|
|
938
|
-
x:
|
|
939
|
-
"text-anchor":
|
|
940
|
-
y:
|
|
1077
|
+
x: n(P)(t, !0).x,
|
|
1078
|
+
"text-anchor": n(P)(t, !0).anchor,
|
|
1079
|
+
y: n(Z)(t),
|
|
941
1080
|
fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
942
1081
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
943
1082
|
style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
944
|
-
class:
|
|
945
|
-
}, c(d.value.breakdown[s].name), 15,
|
|
1083
|
+
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1084
|
+
}, c(d.value.breakdown[s].name), 15, Yl)) : f("", !0)
|
|
946
1085
|
]))), 256)),
|
|
947
|
-
(a(!0), o(
|
|
1086
|
+
(a(!0), o(g, null, _(V.value, (t, s) => (a(), o("g", null, [
|
|
948
1087
|
Y(t) ? (a(), o("text", {
|
|
949
1088
|
key: 0,
|
|
950
|
-
x:
|
|
951
|
-
"text-anchor":
|
|
952
|
-
y:
|
|
1089
|
+
x: n(P)(t, !0).x,
|
|
1090
|
+
"text-anchor": n(P)(t).anchor,
|
|
1091
|
+
y: n(Z)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
953
1092
|
fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
954
1093
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
955
1094
|
style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
956
|
-
class:
|
|
957
|
-
}, c(
|
|
1095
|
+
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1096
|
+
}, c(n(S)({
|
|
958
1097
|
v: d.value.breakdown[s].value / d.value.value * 100,
|
|
959
1098
|
s: "%",
|
|
960
1099
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
961
|
-
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].branchName) + " " + c(
|
|
1100
|
+
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].branchName) + " " + c(n(U)(
|
|
962
1101
|
e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
|
|
963
1102
|
d.value.breakdown[s].value,
|
|
964
|
-
|
|
1103
|
+
n(S)({
|
|
965
1104
|
p: e.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix,
|
|
966
1105
|
v: d.value.breakdown[s].value,
|
|
967
1106
|
s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
|
|
968
1107
|
r: e.value.style.chart.layout.nuts.selected.roundingValue
|
|
969
1108
|
}),
|
|
970
|
-
{ datapoint:
|
|
971
|
-
)), 15,
|
|
1109
|
+
{ datapoint: V.value, seriesIndex: s }
|
|
1110
|
+
)), 15, ql)) : f("", !0),
|
|
972
1111
|
Y(t) ? (a(), o("text", {
|
|
973
1112
|
key: 1,
|
|
974
|
-
x:
|
|
975
|
-
"text-anchor":
|
|
976
|
-
y:
|
|
1113
|
+
x: n(P)(t, !0).x,
|
|
1114
|
+
"text-anchor": n(P)(t).anchor,
|
|
1115
|
+
y: n(Z)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
|
|
977
1116
|
fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
978
1117
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
979
1118
|
style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
980
|
-
class:
|
|
981
|
-
}, c(
|
|
1119
|
+
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1120
|
+
}, c(n(S)({
|
|
982
1121
|
v: d.value.breakdown[s].proportionToRoot * 100,
|
|
983
1122
|
s: "%",
|
|
984
1123
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
985
|
-
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].rootName), 15,
|
|
1124
|
+
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].rootName), 15, Hl)) : f("", !0),
|
|
986
1125
|
Y(t) ? (a(), o("text", {
|
|
987
1126
|
key: 2,
|
|
988
|
-
x:
|
|
989
|
-
"text-anchor":
|
|
990
|
-
y:
|
|
1127
|
+
x: n(P)(t, !0).x,
|
|
1128
|
+
"text-anchor": n(P)(t).anchor,
|
|
1129
|
+
y: n(Z)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
|
|
991
1130
|
fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
992
1131
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
993
1132
|
style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
994
|
-
class:
|
|
995
|
-
}, c(
|
|
1133
|
+
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1134
|
+
}, c(n(S)({
|
|
996
1135
|
v: d.value.breakdown[s].proportionToTree * 100,
|
|
997
1136
|
s: "%",
|
|
998
1137
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
999
|
-
})) + " " + c(e.value.translations.proportionToTree), 15,
|
|
1138
|
+
})) + " " + c(e.value.translations.proportionToTree), 15, Wl)) : f("", !0)
|
|
1000
1139
|
]))), 256))
|
|
1001
|
-
])) :
|
|
1002
|
-
(a(!0), o(
|
|
1140
|
+
])) : f("", !0),
|
|
1141
|
+
(a(!0), o(g, null, _(E.value, (t) => (a(), o("g", null, [
|
|
1003
1142
|
x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
|
|
1004
1143
|
key: 0,
|
|
1005
1144
|
x: t.x1 + 6,
|
|
@@ -1009,17 +1148,17 @@ const Tt = ["id"], zt = {
|
|
|
1009
1148
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
1010
1149
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
1011
1150
|
onClick: $
|
|
1012
|
-
}, c(t.name) + ": " + c(
|
|
1151
|
+
}, c(t.name) + ": " + c(n(U)(
|
|
1013
1152
|
e.value.style.chart.layout.branches.labels.dataLabels.formatter,
|
|
1014
1153
|
t.value,
|
|
1015
|
-
|
|
1154
|
+
n(S)({
|
|
1016
1155
|
p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
|
|
1017
1156
|
v: t.value,
|
|
1018
1157
|
s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
|
|
1019
1158
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
1020
1159
|
}),
|
|
1021
1160
|
{ datapoint: t }
|
|
1022
|
-
)), 9,
|
|
1161
|
+
)), 9, Kl)) : f("", !0),
|
|
1023
1162
|
x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
|
|
1024
1163
|
key: 1,
|
|
1025
1164
|
x: t.x1 + 6,
|
|
@@ -1028,11 +1167,11 @@ const Tt = ["id"], zt = {
|
|
|
1028
1167
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
1029
1168
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
1030
1169
|
onClick: $
|
|
1031
|
-
}, c(
|
|
1170
|
+
}, c(n(S)({
|
|
1032
1171
|
v: t.proportionToRoot * 100,
|
|
1033
1172
|
s: "%",
|
|
1034
1173
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
1035
|
-
})) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9,
|
|
1174
|
+
})) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, Zl)) : f("", !0),
|
|
1036
1175
|
x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
|
|
1037
1176
|
key: 2,
|
|
1038
1177
|
x: t.x1 + 6,
|
|
@@ -1041,38 +1180,26 @@ const Tt = ["id"], zt = {
|
|
|
1041
1180
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
1042
1181
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
1043
1182
|
onClick: $
|
|
1044
|
-
}, c(
|
|
1045
|
-
v: t.value /
|
|
1183
|
+
}, c(n(S)({
|
|
1184
|
+
v: t.value / O.value * 100,
|
|
1046
1185
|
s: "%",
|
|
1047
1186
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
1048
|
-
})) + " " + c(e.value.translations.proportionToTree), 9,
|
|
1187
|
+
})) + " " + c(e.value.translations.proportionToTree), 9, Jl)) : f("", !0)
|
|
1049
1188
|
]))), 256)),
|
|
1050
1189
|
F(l.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
1051
|
-
], 14,
|
|
1052
|
-
l.$slots.watermark ? (a(), o("div",
|
|
1053
|
-
F(l.$slots, "watermark", te(le({ isPrinting:
|
|
1054
|
-
])) :
|
|
1055
|
-
W.value ? h("", !0) : (a(), ee(u(je), {
|
|
1056
|
-
key: 5,
|
|
1057
|
-
config: {
|
|
1058
|
-
type: "chestnut",
|
|
1059
|
-
style: {
|
|
1060
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
1061
|
-
chestnut: {
|
|
1062
|
-
color: "#CCCCCC"
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
}, null, 8, ["config"])),
|
|
1190
|
+
], 14, Pt)) : f("", !0),
|
|
1191
|
+
l.$slots.watermark ? (a(), o("div", Ql, [
|
|
1192
|
+
F(l.$slots, "watermark", te(le({ isPrinting: n(xe) || n(me) })), void 0, !0)
|
|
1193
|
+
])) : f("", !0),
|
|
1067
1194
|
F(l.$slots, "legend", { legend: N.value }, void 0, !0),
|
|
1068
|
-
l.$slots.source ? (a(), o("div",
|
|
1195
|
+
l.$slots.source ? (a(), o("div", ea, [
|
|
1069
1196
|
F(l.$slots, "source", {}, void 0, !0)
|
|
1070
|
-
], 512)) :
|
|
1071
|
-
|
|
1072
|
-
key:
|
|
1197
|
+
], 512)) : f("", !0),
|
|
1198
|
+
he.value ? (a(), ee(n(Ee), {
|
|
1199
|
+
key: 6,
|
|
1073
1200
|
hideDetails: "",
|
|
1074
1201
|
config: {
|
|
1075
|
-
open:
|
|
1202
|
+
open: j.value.showTable,
|
|
1076
1203
|
maxHeight: 1e4,
|
|
1077
1204
|
body: {
|
|
1078
1205
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -1084,151 +1211,151 @@ const Tt = ["id"], zt = {
|
|
|
1084
1211
|
}
|
|
1085
1212
|
}
|
|
1086
1213
|
}, {
|
|
1087
|
-
content:
|
|
1088
|
-
|
|
1214
|
+
content: B(() => [
|
|
1215
|
+
u("div", {
|
|
1089
1216
|
ref_key: "tableContainer",
|
|
1090
|
-
ref:
|
|
1217
|
+
ref: ie,
|
|
1091
1218
|
class: "vue-ui-chestnut-table"
|
|
1092
1219
|
}, [
|
|
1093
|
-
|
|
1094
|
-
|
|
1220
|
+
u("div", ta, [
|
|
1221
|
+
u("div", {
|
|
1095
1222
|
role: "button",
|
|
1096
1223
|
tabindex: "0",
|
|
1097
1224
|
style: y(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
|
|
1098
|
-
onClick: i[0] || (i[0] = (t) =>
|
|
1099
|
-
onKeypress: i[1] || (i[1] =
|
|
1225
|
+
onClick: i[0] || (i[0] = (t) => j.value.showTable = !1),
|
|
1226
|
+
onKeypress: i[1] || (i[1] = ht((t) => j.value.showTable = !1, ["enter"]))
|
|
1100
1227
|
}, [
|
|
1101
|
-
|
|
1228
|
+
Le(n(Xe), {
|
|
1102
1229
|
name: "close",
|
|
1103
1230
|
stroke: e.value.table.th.color,
|
|
1104
1231
|
"stroke-width": 2
|
|
1105
1232
|
}, null, 8, ["stroke"])
|
|
1106
1233
|
], 36),
|
|
1107
|
-
|
|
1234
|
+
u("div", {
|
|
1108
1235
|
style: { width: "100%" },
|
|
1109
|
-
class:
|
|
1236
|
+
class: w({ "vue-ui-responsive": Ce.value })
|
|
1110
1237
|
}, [
|
|
1111
|
-
|
|
1112
|
-
|
|
1238
|
+
u("table", la, [
|
|
1239
|
+
u("caption", {
|
|
1113
1240
|
style: y({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
|
|
1114
1241
|
class: "vue-ui-data-table__caption"
|
|
1115
1242
|
}, [
|
|
1116
1243
|
ae(c(e.value.style.chart.layout.title.text) + " ", 1),
|
|
1117
|
-
e.value.style.chart.layout.title.subtitle.text ? (a(), o("span",
|
|
1244
|
+
e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", aa, c(e.value.style.chart.layout.title.subtitle.text), 1)) : f("", !0)
|
|
1118
1245
|
], 4),
|
|
1119
|
-
|
|
1120
|
-
|
|
1246
|
+
u("thead", null, [
|
|
1247
|
+
u("tr", {
|
|
1121
1248
|
role: "row",
|
|
1122
1249
|
style: y(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
|
|
1123
1250
|
}, [
|
|
1124
|
-
(a(!0), o(
|
|
1251
|
+
(a(!0), o(g, null, _(v.value.head, (t) => (a(), o("th", {
|
|
1125
1252
|
style: y(`outline:${e.value.table.th.outline}`)
|
|
1126
1253
|
}, c(t), 5))), 256))
|
|
1127
1254
|
], 4)
|
|
1128
1255
|
]),
|
|
1129
|
-
|
|
1130
|
-
(a(!0), o(
|
|
1131
|
-
class:
|
|
1256
|
+
u("tbody", null, [
|
|
1257
|
+
(a(!0), o(g, null, _(v.value.body, (t, s) => (a(), o("tr", {
|
|
1258
|
+
class: w({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": s % 2 === 0, "vue-ui-data-table__tbody__row-odd": s % 2 !== 0 }),
|
|
1132
1259
|
style: y(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
1133
1260
|
}, [
|
|
1134
|
-
|
|
1261
|
+
u("td", {
|
|
1135
1262
|
class: "vue-ui-data-table__tbody__td",
|
|
1136
1263
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1137
1264
|
"data-cell": v.value.head[0]
|
|
1138
1265
|
}, [
|
|
1139
|
-
|
|
1140
|
-
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span",
|
|
1266
|
+
u("div", sa, [
|
|
1267
|
+
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", ua)) : (a(), o("span", na, c(t.rootName), 1))
|
|
1141
1268
|
])
|
|
1142
|
-
], 12,
|
|
1143
|
-
|
|
1269
|
+
], 12, oa),
|
|
1270
|
+
u("td", {
|
|
1144
1271
|
class: "vue-ui-data-table__tbody__td",
|
|
1145
1272
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1146
1273
|
"data-cell": v.value.head[1]
|
|
1147
1274
|
}, [
|
|
1148
|
-
|
|
1149
|
-
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span",
|
|
1275
|
+
u("div", ia, [
|
|
1276
|
+
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", ca)) : (a(), o("span", da, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
|
|
1150
1277
|
])
|
|
1151
|
-
], 12,
|
|
1152
|
-
|
|
1278
|
+
], 12, ra),
|
|
1279
|
+
u("td", {
|
|
1153
1280
|
class: "vue-ui-data-table__tbody__td",
|
|
1154
1281
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1155
1282
|
"data-cell": v.value.head[2]
|
|
1156
1283
|
}, [
|
|
1157
|
-
|
|
1158
|
-
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span",
|
|
1284
|
+
u("div", ya, [
|
|
1285
|
+
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", ha)) : (a(), o("span", fa, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1159
1286
|
])
|
|
1160
|
-
], 12,
|
|
1161
|
-
|
|
1287
|
+
], 12, va),
|
|
1288
|
+
u("td", {
|
|
1162
1289
|
class: "vue-ui-data-table__tbody__td",
|
|
1163
1290
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1164
1291
|
"data-cell": v.value.head[3]
|
|
1165
1292
|
}, [
|
|
1166
|
-
|
|
1167
|
-
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span",
|
|
1293
|
+
u("div", pa, [
|
|
1294
|
+
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", ga)) : (a(), o("span", _a, c(t.branchName), 1))
|
|
1168
1295
|
])
|
|
1169
|
-
], 12,
|
|
1170
|
-
|
|
1296
|
+
], 12, ba),
|
|
1297
|
+
u("td", {
|
|
1171
1298
|
class: "vue-ui-data-table__tbody__td",
|
|
1172
1299
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1173
1300
|
"data-cell": v.value.head[4]
|
|
1174
1301
|
}, [
|
|
1175
|
-
|
|
1176
|
-
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span",
|
|
1302
|
+
u("div", ma, [
|
|
1303
|
+
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", ka)) : (a(), o("span", wa, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
|
|
1177
1304
|
])
|
|
1178
|
-
], 12,
|
|
1179
|
-
|
|
1305
|
+
], 12, xa),
|
|
1306
|
+
u("td", {
|
|
1180
1307
|
class: "vue-ui-data-table__tbody__td",
|
|
1181
1308
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1182
1309
|
"data-cell": v.value.head[5]
|
|
1183
1310
|
}, [
|
|
1184
|
-
|
|
1185
|
-
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span",
|
|
1311
|
+
u("div", $a, [
|
|
1312
|
+
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Ta)) : (a(), o("span", za, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1186
1313
|
])
|
|
1187
|
-
], 12,
|
|
1188
|
-
|
|
1314
|
+
], 12, Ca),
|
|
1315
|
+
u("td", {
|
|
1189
1316
|
class: "vue-ui-data-table__tbody__td",
|
|
1190
1317
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1191
1318
|
"data-cell": v.value.head[6]
|
|
1192
1319
|
}, [
|
|
1193
|
-
|
|
1194
|
-
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span",
|
|
1320
|
+
u("div", Sa, [
|
|
1321
|
+
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Na)) : (a(), o("span", Fa, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1195
1322
|
])
|
|
1196
|
-
], 12,
|
|
1197
|
-
|
|
1323
|
+
], 12, Aa),
|
|
1324
|
+
u("td", {
|
|
1198
1325
|
class: "vue-ui-data-table__tbody__td",
|
|
1199
1326
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1200
1327
|
"data-cell": v.value.head[7]
|
|
1201
1328
|
}, [
|
|
1202
|
-
|
|
1203
|
-
], 12,
|
|
1204
|
-
|
|
1329
|
+
u("div", Ia, c(t.nutName), 1)
|
|
1330
|
+
], 12, La),
|
|
1331
|
+
u("td", {
|
|
1205
1332
|
class: "vue-ui-data-table__tbody__td",
|
|
1206
1333
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1207
1334
|
"data-cell": v.value.head[8]
|
|
1208
1335
|
}, [
|
|
1209
|
-
|
|
1210
|
-
], 12,
|
|
1211
|
-
|
|
1336
|
+
u("div", Pa, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
|
|
1337
|
+
], 12, Ra),
|
|
1338
|
+
u("td", {
|
|
1212
1339
|
class: "vue-ui-data-table__tbody__td",
|
|
1213
1340
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1214
1341
|
"data-cell": v.value.head[9]
|
|
1215
1342
|
}, [
|
|
1216
|
-
|
|
1217
|
-
], 12,
|
|
1218
|
-
|
|
1343
|
+
u("div", Va, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1344
|
+
], 12, Oa),
|
|
1345
|
+
u("td", {
|
|
1219
1346
|
class: "vue-ui-data-table__tbody__td",
|
|
1220
1347
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1221
1348
|
"data-cell": v.value.head[10]
|
|
1222
1349
|
}, [
|
|
1223
|
-
|
|
1224
|
-
], 12,
|
|
1225
|
-
|
|
1350
|
+
u("div", Ma, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1351
|
+
], 12, Ba),
|
|
1352
|
+
u("td", {
|
|
1226
1353
|
class: "vue-ui-data-table__tbody__td",
|
|
1227
1354
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1228
1355
|
"data-cell": v.value.head[11]
|
|
1229
1356
|
}, [
|
|
1230
|
-
|
|
1231
|
-
], 12,
|
|
1357
|
+
u("div", Xa, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1358
|
+
], 12, ja)
|
|
1232
1359
|
], 6))), 256))
|
|
1233
1360
|
])
|
|
1234
1361
|
])
|
|
@@ -1237,10 +1364,11 @@ const Tt = ["id"], zt = {
|
|
|
1237
1364
|
], 512)
|
|
1238
1365
|
]),
|
|
1239
1366
|
_: 1
|
|
1240
|
-
}, 8, ["config"])) :
|
|
1241
|
-
|
|
1367
|
+
}, 8, ["config"])) : f("", !0),
|
|
1368
|
+
n(be) ? (a(), ee(zt, { key: 7 })) : f("", !0)
|
|
1369
|
+
], 46, It));
|
|
1242
1370
|
}
|
|
1243
|
-
},
|
|
1371
|
+
}, Ja = /* @__PURE__ */ Lt(Ea, [["__scopeId", "data-v-021d3e15"]]);
|
|
1244
1372
|
export {
|
|
1245
|
-
|
|
1373
|
+
Ja as default
|
|
1246
1374
|
};
|