vue-data-ui 3.1.1 → 3.1.2
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-xQM7mBzd.js → Arrow-BotYLY2I.js} +1 -1
- package/dist/{BaseDraggableDialog-B2BQC0-h.js → BaseDraggableDialog-Dkpr-qUQ.js} +2 -2
- package/dist/{BaseIcon-DLesaZpW.js → BaseIcon-BLg8FaQ2.js} +5 -3
- package/dist/{ColorPicker-BKvJvFtX.js → ColorPicker-C2sMVpbA.js} +2 -2
- package/dist/{DataTable-BAf4Obr9.js → DataTable-BRN1-1ob.js} +2 -2
- package/dist/{Legend-8_V5egWW.js → Legend-DLzeDl3-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Cq4fHmA0.js → NonSvgPenAndPaper-Dp53d2re.js} +3 -3
- package/dist/{PackageVersion-Cv_ypT0N.js → PackageVersion-Jz9FlNXl.js} +1 -1
- package/dist/{PenAndPaper-B6OvfyHH.js → PenAndPaper-TgGWddgD.js} +3 -3
- package/dist/{Shape-Cjca5zta.js → Shape-Bmpx9GRg.js} +1 -1
- package/dist/{Slicer-6w3K8gAc.js → Slicer-DeWHn8zH.js} +2 -2
- package/dist/{SparkTooltip-BV4Z-NMp.js → SparkTooltip-C6fJOQ0j.js} +1 -1
- package/dist/{Title-Dz-j6ERs.js → Title-AGmmsSi_.js} +1 -1
- package/dist/{Tooltip-BTGOEC7w.js → Tooltip-le0yZk_t.js} +1 -1
- package/dist/{UserOptions-CsDlFB0L.js → UserOptions-DEFwuQIo.js} +125 -108
- package/dist/{dom-to-png-BOu5-Ohz.js → dom-to-png-C7V0EktO.js} +1 -1
- package/dist/{img-gBDz7xQQ.js → img-DvuphHeJ.js} +1 -1
- package/dist/{index-BKQqb9lF.js → index-BFqW8WA0.js} +97 -74
- package/dist/pdf-Bdf65IBz.js +79 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +25 -2
- package/dist/types/vue-data-ui.d.ts +25 -2
- package/dist/{useAutoSizeLabelsInsideViewbox-IO2dh0Uq.js → useAutoSizeLabelsInsideViewbox-N1I6Rk6M.js} +1 -1
- package/dist/{useNestedProp-aBOhgs4U.js → useNestedProp-BSZCnuGl.js} +1 -1
- package/dist/{usePrinter-BzuXiubT.js → usePrinter-DDIKRiOp.js} +13 -12
- package/dist/{vue-data-ui-B6eM6hF3.js → vue-data-ui-vwh3dolO.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DBeWmnvH.js → vue-ui-3d-bar-DNw3RWRt.js} +371 -366
- package/dist/{vue-ui-accordion-B5QeV3BK.js → vue-ui-accordion-Cv747Pg6.js} +3 -3
- package/dist/{vue-ui-age-pyramid-rZFdUsgz.js → vue-ui-age-pyramid-B1Yun-v7.js} +200 -195
- package/dist/{vue-ui-annotator-CCCuslrT.js → vue-ui-annotator-B_5hOApA.js} +2 -2
- package/dist/{vue-ui-bullet-DhJf9mvK.js → vue-ui-bullet-C2Aj7Lcx.js} +7 -7
- package/dist/{vue-ui-candlestick-CGVtDKqZ.js → vue-ui-candlestick-BBYqZVUp.js} +225 -220
- package/dist/{vue-ui-carousel-table-DLAR3WY8.js → vue-ui-carousel-table-DPIOnp9J.js} +4 -4
- package/dist/{vue-ui-chestnut-BXnSxoXB.js → vue-ui-chestnut-C4B0wEFn.js} +344 -340
- package/dist/{vue-ui-chord-DH_MwAKX.js → vue-ui-chord-B9Zml1V7.js} +272 -266
- package/dist/{vue-ui-circle-pack-Cx_E1R63.js → vue-ui-circle-pack-CLn19BHH.js} +6 -6
- package/dist/{vue-ui-cursor-CEvH1qDS.js → vue-ui-cursor-AVEV-uv3.js} +2 -2
- package/dist/vue-ui-dashboard-DwNYa1I4.js +412 -0
- package/dist/{vue-ui-digits-PTozKs3l.js → vue-ui-digits-Dr4OHGU0.js} +2 -2
- package/dist/{vue-ui-donut-evolution-DD7o-CxF.js → vue-ui-donut-evolution-hJh-1Z48.js} +310 -304
- package/dist/{vue-ui-donut-CsEtKJJD.js → vue-ui-donut-xseR2SnT.js} +348 -343
- package/dist/{vue-ui-dumbbell-DfPYl3fu.js → vue-ui-dumbbell-FdTx7uAG.js} +293 -287
- package/dist/{vue-ui-flow-CSTTZHwg.js → vue-ui-flow-Bh6FqlC1.js} +263 -257
- package/dist/{vue-ui-funnel-C-NUZqIo.js → vue-ui-funnel-BlsKhHbk.js} +206 -200
- package/dist/{vue-ui-galaxy-BwsZnU6T.js → vue-ui-galaxy-C0B8stYi.js} +243 -238
- package/dist/{vue-ui-gauge-D9MUneq0.js → vue-ui-gauge-B1-UiZwV.js} +7 -7
- package/dist/{vue-ui-gizmo-Dnzs9wSf.js → vue-ui-gizmo-Df_SCjOI.js} +3 -3
- package/dist/{vue-ui-heatmap-CYaQIhy8.js → vue-ui-heatmap-NfRSd6fU.js} +405 -401
- package/dist/{vue-ui-history-plot-DMTFzl-_.js → vue-ui-history-plot-Ce-DJ8xC.js} +305 -299
- package/dist/{vue-ui-kpi-CkPotdff.js → vue-ui-kpi-CH3rWyiG.js} +3 -3
- package/dist/{vue-ui-mini-loader-CCE-bDOJ.js → vue-ui-mini-loader-D9EVnpxk.js} +2 -2
- package/dist/{vue-ui-molecule-DaN5lroq.js → vue-ui-molecule-C973vfYh.js} +188 -183
- package/dist/{vue-ui-mood-radar-tM0mmZh8.js → vue-ui-mood-radar-DdLxBhlO.js} +197 -192
- package/dist/{vue-ui-nested-donuts-RB4r6beI.js → vue-ui-nested-donuts-tARXMYzx.js} +326 -320
- package/dist/{vue-ui-onion-CxDozHg3.js → vue-ui-onion-BC9czZGG.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-CK9nNExU.js → vue-ui-parallel-coordinate-plot-CxDIkZKr.js} +401 -395
- package/dist/{vue-ui-quadrant-C7tLJYn7.js → vue-ui-quadrant-Bpm5ZoTp.js} +339 -334
- package/dist/{vue-ui-quick-chart-MUBAkrHb.js → vue-ui-quick-chart-Bkc_JBCw.js} +6 -6
- package/dist/{vue-ui-radar-Br4K80I9.js → vue-ui-radar-DVJQYNeL.js} +248 -243
- package/dist/{vue-ui-rating-NtvT9r_M.js → vue-ui-rating-DITnRSiS.js} +2 -2
- package/dist/{vue-ui-relation-circle-CPQjAy1g.js → vue-ui-relation-circle-D_OTYUmS.js} +7 -7
- package/dist/{vue-ui-ridgeline-C2M_Cjlh.js → vue-ui-ridgeline-Gc1c4LXq.js} +267 -263
- package/dist/{vue-ui-rings-DEru-cWN.js → vue-ui-rings-CUT1N_kK.js} +229 -224
- package/dist/{vue-ui-scatter-CJKkiKle.js → vue-ui-scatter-DwnZHy0V.js} +359 -354
- package/dist/{vue-ui-skeleton--twnjS2t.js → vue-ui-skeleton-CeyaKpZd.js} +3 -3
- package/dist/{vue-ui-smiley-CNccdPZ7.js → vue-ui-smiley-B9yNexWr.js} +2 -2
- package/dist/{vue-ui-spark-trend-9BFkkC0u.js → vue-ui-spark-trend-DTYVcrHV.js} +3 -3
- package/dist/{vue-ui-sparkbar-RYAThoA4.js → vue-ui-sparkbar-BzxynYoW.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DkPlmgMF.js → vue-ui-sparkgauge-DoznCX5h.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-6EkCyYRF.js → vue-ui-sparkhistogram-DoZpd0H2.js} +4 -4
- package/dist/{vue-ui-sparkline-Bl3nj8zd.js → vue-ui-sparkline-ZKit-hgG.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-B88lA7iy.js → vue-ui-sparkstackbar-DjoqH_Xs.js} +3 -3
- package/dist/{vue-ui-stackbar-Csj7NhT6.js → vue-ui-stackbar-J-gxI4Xn.js} +310 -304
- package/dist/{vue-ui-strip-plot-yY9NsUUI.js → vue-ui-strip-plot-CO7NVeFi.js} +246 -240
- package/dist/{vue-ui-table-heatmap-BWU7CAWP.js → vue-ui-table-heatmap-BEFdai_O.js} +5 -5
- package/dist/{vue-ui-table-Dg6U31ex.js → vue-ui-table-rmbBw_0d.js} +3 -3
- package/dist/{vue-ui-table-sparkline-DV4Y9aRL.js → vue-ui-table-sparkline-CjgaQXbc.js} +4 -4
- package/dist/{vue-ui-thermometer-C3fKamV-.js → vue-ui-thermometer--aqaJwFo.js} +7 -7
- package/dist/{vue-ui-timer-6VAK9XyF.js → vue-ui-timer-qFNHDcU_.js} +5 -5
- package/dist/{vue-ui-tiremarks-BB-KAkF7.js → vue-ui-tiremarks-DA8fzQHo.js} +6 -6
- package/dist/{vue-ui-treemap-GrXkD_3Z.js → vue-ui-treemap-DGC9zxon.js} +262 -256
- package/dist/{vue-ui-vertical-bar-Mmz6u4aX.js → vue-ui-vertical-bar-DOCeCCqz.js} +310 -306
- package/dist/{vue-ui-waffle-DzPVRUOA.js → vue-ui-waffle-DD9jtkcQ.js} +257 -252
- package/dist/{vue-ui-wheel-idRCvS5t.js → vue-ui-wheel-87VStrfJ.js} +6 -6
- package/dist/vue-ui-word-cloud-CCMfa9H1.js +817 -0
- package/dist/{vue-ui-world-D6s5Eph8.js → vue-ui-world-Cm3Hn1-2.js} +257 -252
- package/dist/{vue-ui-xy-BKTGSvfU.js → vue-ui-xy-C2SnbN6w.js} +1453 -1447
- package/dist/{vue-ui-xy-canvas-BOQyxVRl.js → vue-ui-xy-canvas-WxSJqoiF.js} +235 -229
- package/package.json +1 -1
- package/dist/pdf-Cjsn5GEE.js +0 -61
- package/dist/vue-ui-dashboard-CvduVgEy.js +0 -325
- package/dist/vue-ui-word-cloud-B2641uNP.js +0 -811
|
@@ -1,34 +1,34 @@
|
|
|
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 { u as
|
|
1
|
+
import { useCssVars as dt, defineAsyncComponent as H, computed as k, ref as z, toRefs as vt, watch as fe, onMounted as yt, nextTick as be, createElementBlock as o, openBlock as a, unref as u, normalizeStyle as y, normalizeClass as w, createBlock as le, createCommentVNode as h, renderSlot as F, createSlots as Ve, withCtx as P, normalizeProps as ae, guardReactiveProps as oe, createVNode as pe, createElementVNode as n, toDisplayString as c, Fragment as g, renderList as _, createTextVNode as Z, resolveDynamicComponent as ht, mergeProps as ft, withKeys as bt } from "vue";
|
|
2
|
+
import { u as pt, c as gt, t as _t, a as xt, p as R, b as mt, d as kt, g as ge, f as se, e as _e, o as wt, X as Ct, s as A, x as Be, k as E, i as S, F as Me, m as je, n as $t, q as J, r as O, v as Tt, w as zt } from "./index-BFqW8WA0.js";
|
|
3
|
+
import { u as At, B as St } from "./BaseScanner-BgWxam9d.js";
|
|
4
|
+
import { u as Nt } from "./usePrinter-DDIKRiOp.js";
|
|
5
|
+
import { u as De } from "./useNestedProp-BSZCnuGl.js";
|
|
6
|
+
import { u as Ft } from "./useTableResponsive-Cbx-ACcP.js";
|
|
7
|
+
import { u as It } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as Lt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import
|
|
10
|
-
import { _ as
|
|
11
|
-
const
|
|
9
|
+
import Pt from "./img-DvuphHeJ.js";
|
|
10
|
+
import { _ as Rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
+
const Ot = ["id"], Vt = {
|
|
12
12
|
key: 1,
|
|
13
13
|
ref: "noTitle",
|
|
14
14
|
class: "vue-data-ui-no-title-space",
|
|
15
15
|
style: "height:36px; width: 100%;background:transparent"
|
|
16
|
-
},
|
|
16
|
+
}, Bt = ["xmlns", "viewBox"], Mt = ["width", "height"], jt = { key: 1 }, Dt = ["fill", "font-weight", "font-size", "x", "y"], Xt = ["fill", "font-weight", "font-size", "x", "y"], Gt = ["id"], Et = ["stop-color"], Ut = ["stop-color"], Wt = ["id"], Yt = ["stop-color"], qt = ["stop-color"], Ht = ["id"], Kt = ["stop-color"], Zt = ["stop-color"], Jt = ["stop-color"], Qt = ["id"], el = ["stop-color"], tl = ["stop-color"], ll = ["stop-color"], al = ["id"], ol = ["stop-color"], sl = ["stop-color"], ul = ["stop-color"], nl = { key: 2 }, rl = ["x", "y", "font-size", "font-weight", "fill"], il = ["x", "y", "font-size", "font-weight", "fill"], cl = ["id"], dl = ["stop-color"], vl = ["stop-color"], yl = ["d", "stroke", "fill"], hl = ["cx", "cy", "r", "fill"], fl = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], bl = { key: 3 }, pl = ["x", "y", "font-size", "fill", "onClick"], gl = { key: 0 }, _l = ["x", "y", "fill", "font-size", "font-weight"], xl = ["x", "y", "height", "width", "fill", "rx", "onClick"], ml = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], kl = { key: 4 }, wl = ["x", "y", "fill", "font-size", "onClick"], Cl = ["d", "stroke"], $l = ["fill", "cx", "cy", "r", "onClick"], Tl = { key: 5 }, zl = ["x", "y", "font-size", "font-weight", "fill"], Al = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Sl = ["y", "height", "width"], Nl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, Fl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Il = {
|
|
17
17
|
viewBox: "0 0 20 20",
|
|
18
18
|
height: "16",
|
|
19
19
|
width: "16"
|
|
20
|
-
}, Ll = ["fill"],
|
|
20
|
+
}, Ll = ["fill"], Pl = { key: 7 }, Rl = ["y", "height", "width"], Ol = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, Vl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Bl = {
|
|
21
21
|
viewBox: "0 0 20 20",
|
|
22
22
|
height: "16",
|
|
23
23
|
width: "16"
|
|
24
|
-
},
|
|
24
|
+
}, Ml = ["fill"], jl = ["cx", "cy", "fill"], Dl = ["d", "stroke"], Xl = ["cx", "cy", "fill"], Gl = ["d", "stroke"], El = ["cx", "cy", "fill"], Ul = ["cx", "cy", "fill"], Wl = ["x", "y", "fill", "font-size", "font-weight"], Yl = ["x", "y", "fill", "font-size", "font-weight"], ql = ["x", "text-anchor", "y", "fill", "font-size"], Hl = ["x", "text-anchor", "y", "fill", "font-size"], Kl = ["x", "text-anchor", "y", "fill", "font-size"], Zl = ["x", "text-anchor", "y", "fill", "font-size"], Jl = ["x", "text-anchor", "y", "fill", "font-size"], Ql = ["x", "y", "font-size", "fill"], ea = ["x", "y", "font-size", "fill"], ta = ["x", "y", "font-size", "fill"], la = {
|
|
25
25
|
key: 4,
|
|
26
26
|
class: "vue-data-ui-watermark"
|
|
27
|
-
},
|
|
27
|
+
}, aa = {
|
|
28
28
|
key: 5,
|
|
29
29
|
ref: "source",
|
|
30
30
|
dir: "auto"
|
|
31
|
-
},
|
|
31
|
+
}, oa = { class: "vue-ui-data-table" }, sa = { key: 0 }, ua = ["data-cell"], na = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ra = { key: 0 }, ia = { key: 1 }, ca = ["data-cell"], da = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, va = { key: 0 }, ya = { key: 1 }, ha = ["data-cell"], fa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ba = { key: 0 }, pa = { key: 1 }, ga = ["data-cell"], _a = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, xa = { key: 0 }, ma = { key: 1 }, ka = ["data-cell"], wa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ca = { key: 0 }, $a = { key: 1 }, Ta = ["data-cell"], za = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Aa = { key: 0 }, Sa = { key: 1 }, Na = ["data-cell"], Fa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ia = { key: 0 }, La = { key: 1 }, Pa = ["data-cell"], Ra = { 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"], Da = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Xa = ["data-cell"], Ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ea = {
|
|
32
32
|
__name: "vue-ui-chestnut",
|
|
33
33
|
props: {
|
|
34
34
|
config: {
|
|
@@ -45,14 +45,14 @@ const Rt = ["id"], Ot = {
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
emits: ["selectRoot", "selectBranch", "selectNut"],
|
|
48
|
-
setup(
|
|
49
|
-
|
|
50
|
-
"
|
|
48
|
+
setup(Xe, { expose: Ge, emit: Ee }) {
|
|
49
|
+
dt((l) => ({
|
|
50
|
+
"566a3b9e": l.tdo
|
|
51
51
|
}));
|
|
52
|
-
const
|
|
53
|
-
...
|
|
52
|
+
const xe = H(() => import("./BaseIcon-BLg8FaQ2.js")), Ue = H(() => import("./vue-ui-accordion-Cv747Pg6.js")), We = H(() => import("./PenAndPaper-TgGWddgD.js")), Ye = H(() => import("./UserOptions-DEFwuQIo.js")), qe = H(() => import("./PackageVersion-Jz9FlNXl.js")), He = H(() => import("./BaseDraggableDialog-Dkpr-qUQ.js")), { vue_ui_chestnut: Ke } = pt(), M = Xe, me = k(() => !!M.dataset && M.dataset.length), C = z(gt()), U = z(null), ke = z(0), K = z(null), ue = z(null), e = z(ie()), { loading: we, FINAL_DATASET: ne } = At({
|
|
53
|
+
...vt(M),
|
|
54
54
|
FINAL_CONFIG: e,
|
|
55
|
-
prepareConfig:
|
|
55
|
+
prepareConfig: ie,
|
|
56
56
|
skeletonDataset: [
|
|
57
57
|
{
|
|
58
58
|
name: "_",
|
|
@@ -131,7 +131,7 @@ const Rt = ["id"], Ot = {
|
|
|
131
131
|
]
|
|
132
132
|
}
|
|
133
133
|
],
|
|
134
|
-
skeletonConfig:
|
|
134
|
+
skeletonConfig: _t({
|
|
135
135
|
defaultConfig: e.value,
|
|
136
136
|
userConfig: {
|
|
137
137
|
userOptions: { show: !1 },
|
|
@@ -159,36 +159,36 @@ const Rt = ["id"], Ot = {
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
})
|
|
162
|
-
}), { userOptionsVisible:
|
|
163
|
-
function
|
|
164
|
-
const l =
|
|
165
|
-
userConfig:
|
|
166
|
-
defaultConfig:
|
|
162
|
+
}), { userOptionsVisible: re, setUserOptionsVisibility: Ce, keepUserOptionState: $e } = It({ config: e.value }), { svgRef: Te } = Lt({ config: e.value.style.chart.layout.title });
|
|
163
|
+
function ie() {
|
|
164
|
+
const l = De({
|
|
165
|
+
userConfig: M.config,
|
|
166
|
+
defaultConfig: Ke
|
|
167
167
|
});
|
|
168
168
|
return l.theme ? {
|
|
169
|
-
...
|
|
170
|
-
userConfig:
|
|
169
|
+
...De({
|
|
170
|
+
userConfig: mt.vue_ui_chestnut[l.theme] || M.config,
|
|
171
171
|
defaultConfig: l
|
|
172
172
|
}),
|
|
173
|
-
customPalette:
|
|
173
|
+
customPalette: xt[l.theme] || R
|
|
174
174
|
} : l;
|
|
175
175
|
}
|
|
176
|
-
|
|
177
|
-
e.value =
|
|
176
|
+
fe(() => M.config, (l) => {
|
|
177
|
+
e.value = ie(), re.value = !e.value.userOptions.showOnChartHover, j.value.showTable = e.value.table.show, Pe();
|
|
178
178
|
}, { deep: !0 });
|
|
179
|
-
const { isPrinting:
|
|
179
|
+
const { isPrinting: ze, isImaging: Ae, generatePdf: Se, generateImage: Ne } = Nt({
|
|
180
180
|
elementId: `vue-ui-chestnut_${C.value}`,
|
|
181
181
|
fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut",
|
|
182
182
|
options: e.value.userOptions.print
|
|
183
|
-
}),
|
|
183
|
+
}), Ze = k(() => e.value.userOptions.show), ce = k(() => kt(e.value.customPalette)), j = z({
|
|
184
184
|
showTable: e.value.table.show
|
|
185
185
|
});
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
fe(e, () => {
|
|
187
|
+
j.value = {
|
|
188
188
|
showTable: e.value.table.show
|
|
189
189
|
};
|
|
190
190
|
}, { immediate: !0 });
|
|
191
|
-
const
|
|
191
|
+
const Fe = z(null), Je = k(() => e.value.table.responsiveBreakpoint), r = z({
|
|
192
192
|
gap: 6,
|
|
193
193
|
padding: {
|
|
194
194
|
top: 102,
|
|
@@ -201,15 +201,15 @@ const Rt = ["id"], Ot = {
|
|
|
201
201
|
branchSize: 32,
|
|
202
202
|
branchStart: 128
|
|
203
203
|
}), T = k(() => ({
|
|
204
|
-
left:
|
|
205
|
-
top:
|
|
206
|
-
right:
|
|
207
|
-
bottom:
|
|
208
|
-
width:
|
|
209
|
-
height:
|
|
210
|
-
seedX:
|
|
211
|
-
})),
|
|
212
|
-
|
|
204
|
+
left: r.value.padding.left,
|
|
205
|
+
top: r.value.padding.top,
|
|
206
|
+
right: r.value.width - r.value.padding.right,
|
|
207
|
+
bottom: r.value.height - r.value.padding.bottom,
|
|
208
|
+
width: r.value.width - (r.value.padding.left + r.value.padding.right),
|
|
209
|
+
height: r.value.height - (r.value.padding.top + r.value.padding.bottom),
|
|
210
|
+
seedX: r.value.padding.left + 64
|
|
211
|
+
})), V = k(() => ne.value.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0)), N = k(() => (ne.value.forEach((l, i) => {
|
|
212
|
+
ge({
|
|
213
213
|
datasetObject: l,
|
|
214
214
|
requiredAttributes: ["name", "branches"]
|
|
215
215
|
}).forEach((t) => {
|
|
@@ -217,11 +217,11 @@ const Rt = ["id"], Ot = {
|
|
|
217
217
|
componentName: "VueUiChestnut",
|
|
218
218
|
type: "datasetSerieAttribute",
|
|
219
219
|
property: t,
|
|
220
|
-
index:
|
|
220
|
+
index: i,
|
|
221
221
|
debug: Q.value
|
|
222
222
|
});
|
|
223
223
|
}), l.branches && l.branches.forEach((t, s) => {
|
|
224
|
-
|
|
224
|
+
ge({
|
|
225
225
|
datasetObject: t,
|
|
226
226
|
requiredAttributes: ["name", "value"]
|
|
227
227
|
}).forEach((p) => {
|
|
@@ -229,11 +229,11 @@ const Rt = ["id"], Ot = {
|
|
|
229
229
|
componentName: "VueUiChestnut",
|
|
230
230
|
type: "datasetSerieAttribute",
|
|
231
231
|
property: p,
|
|
232
|
-
index: `${
|
|
232
|
+
index: `${i} - ${s}`,
|
|
233
233
|
debug: Q.value
|
|
234
234
|
});
|
|
235
235
|
}), t.breakdown && t.breakdown.forEach((p, b) => {
|
|
236
|
-
|
|
236
|
+
ge({
|
|
237
237
|
datasetObject: p,
|
|
238
238
|
requiredAttributes: ["name", "value"]
|
|
239
239
|
}).forEach((f) => {
|
|
@@ -241,42 +241,42 @@ const Rt = ["id"], Ot = {
|
|
|
241
241
|
componentName: "VueUiChestnut",
|
|
242
242
|
type: "datasetSerieAttribute",
|
|
243
243
|
property: f,
|
|
244
|
-
index: `${
|
|
244
|
+
index: `${i} - ${s} - ${b}`,
|
|
245
245
|
debug: Q.value
|
|
246
246
|
});
|
|
247
247
|
});
|
|
248
248
|
});
|
|
249
249
|
});
|
|
250
|
-
}),
|
|
250
|
+
}), ne.value.map((l, i) => {
|
|
251
251
|
const t = (l.branches || []).map((s) => s.value || 0).reduce((s, p) => s + p, 0);
|
|
252
252
|
return {
|
|
253
253
|
...l,
|
|
254
|
-
color:
|
|
255
|
-
id: l.id || `root_${
|
|
254
|
+
color: _e(l.color) || ce.value[i] || R[i] || R[i % R.length],
|
|
255
|
+
id: l.id || `root_${i}_${C.value}`,
|
|
256
256
|
type: "root",
|
|
257
257
|
total: t,
|
|
258
|
-
rootIndex:
|
|
258
|
+
rootIndex: i,
|
|
259
259
|
branches: (l.branches || []).map((s, p) => ({
|
|
260
260
|
...s,
|
|
261
261
|
rootName: l.name,
|
|
262
|
-
rootIndex:
|
|
263
|
-
color:
|
|
262
|
+
rootIndex: i,
|
|
263
|
+
color: _e(l.color) || ce.value[i] || R[i] || R[i % R.length],
|
|
264
264
|
value: s.value >= 0 ? s.value : 0,
|
|
265
|
-
id: s.id || `branch_${
|
|
265
|
+
id: s.id || `branch_${i}_${p}_${C.value}`,
|
|
266
266
|
proportionToRoot: s.value / t,
|
|
267
267
|
type: "branch",
|
|
268
268
|
breakdown: (s.breakdown || []).map((b, f) => ({
|
|
269
269
|
table: {
|
|
270
270
|
rootName: l.name,
|
|
271
271
|
rootValue: t,
|
|
272
|
-
rootToTotal: t /
|
|
272
|
+
rootToTotal: t / V.value,
|
|
273
273
|
branchName: s.name,
|
|
274
274
|
branchValue: s.value,
|
|
275
|
-
branchToTotal: s.value /
|
|
275
|
+
branchToTotal: s.value / V.value,
|
|
276
276
|
branchToRoot: s.value / t,
|
|
277
277
|
nutName: b.name,
|
|
278
278
|
nutValue: b.value,
|
|
279
|
-
nutToTotal: b.value /
|
|
279
|
+
nutToTotal: b.value / V.value,
|
|
280
280
|
nutToRoot: b.value / t,
|
|
281
281
|
nutToBranch: b.value / s.value
|
|
282
282
|
},
|
|
@@ -287,82 +287,82 @@ const Rt = ["id"], Ot = {
|
|
|
287
287
|
branchTotal: s.value >= 0 ? s.value : 0,
|
|
288
288
|
proportionToBranch: b.value / s.value,
|
|
289
289
|
proportionToRoot: b.value / t,
|
|
290
|
-
proportionToTree: b.value /
|
|
291
|
-
rootIndex:
|
|
292
|
-
id: b.id || `nut_${
|
|
293
|
-
color:
|
|
290
|
+
proportionToTree: b.value / V.value,
|
|
291
|
+
rootIndex: i,
|
|
292
|
+
id: b.id || `nut_${i}_${p}_${f}_${C.value}`,
|
|
293
|
+
color: _e(b.color) || ce.value[f] || R[f] || R[f % R.length],
|
|
294
294
|
value: b.value >= 0 ? b.value : 0
|
|
295
295
|
}))
|
|
296
296
|
}))
|
|
297
297
|
};
|
|
298
298
|
})));
|
|
299
|
-
function
|
|
299
|
+
function Qe() {
|
|
300
300
|
return N.value;
|
|
301
301
|
}
|
|
302
|
-
const W =
|
|
303
|
-
const t = T.value.height / N.value.length / 2, s = l.total /
|
|
302
|
+
const W = Ee, et = k(() => N.value.flatMap((l) => l.branches).length), tt = k(() => Math.max(...N.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), lt = k(() => Math.max(...N.value.flatMap((l) => l.branches.map((i) => i.value)))), Ie = k(() => 256 + r.value.padding.left), D = k(() => N.value.sort((l, i) => i.total - l.total).map((l, i) => {
|
|
303
|
+
const t = T.value.height / N.value.length / 2, s = l.total / tt.value * (t > 64 ? 64 : t);
|
|
304
304
|
return {
|
|
305
305
|
...l,
|
|
306
306
|
x: T.value.seedX,
|
|
307
|
-
y: T.value.top + T.value.height / N.value.length * (
|
|
308
|
-
r: s <
|
|
307
|
+
y: T.value.top + T.value.height / N.value.length * (i + 1) - (T.value.height / N.value.length / 2 + r.value.gap / 2),
|
|
308
|
+
r: s < r.value.branchSize / 2 ? r.value.branchSize / 2 : s
|
|
309
309
|
};
|
|
310
|
-
})),
|
|
310
|
+
})), at = 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), ot = k(() => D.value.flatMap((l) => l.branches)), X = k(() => ot.value.sort((l, i) => i.value - l.value).map((l, i) => ({
|
|
311
311
|
...l,
|
|
312
|
-
y1:
|
|
313
|
-
y2:
|
|
314
|
-
x1:
|
|
315
|
-
x2: 384 * l.value /
|
|
312
|
+
y1: i * r.value.branchSize + T.value.top + i * r.value.gap,
|
|
313
|
+
y2: i * r.value.branchSize + r.value.branchSize,
|
|
314
|
+
x1: Ie.value,
|
|
315
|
+
x2: 384 * l.value / lt.value * at.value + Ie.value
|
|
316
316
|
})));
|
|
317
|
-
function
|
|
318
|
-
const
|
|
319
|
-
return { x:
|
|
317
|
+
function st(l) {
|
|
318
|
+
const i = D.value.find((t) => t.rootIndex === l.rootIndex);
|
|
319
|
+
return { x: i.x, y: i.y, r: i.r };
|
|
320
320
|
}
|
|
321
|
-
const d = z(null),
|
|
321
|
+
const d = z(null), B = z(null), x = z(null), I = z(null);
|
|
322
322
|
function $() {
|
|
323
|
-
d.value = null, x.value = null,
|
|
323
|
+
d.value = null, x.value = null, I.value = null;
|
|
324
324
|
}
|
|
325
|
-
function
|
|
326
|
-
return
|
|
325
|
+
function L(l) {
|
|
326
|
+
return I.value ? I.value === null ? !0 : l.type === "root" ? l.id === I.value.id : l.rootIndex === I.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;
|
|
327
327
|
}
|
|
328
|
-
function
|
|
329
|
-
$(),
|
|
330
|
-
d.value = l, x.value = l,
|
|
328
|
+
function ut(l) {
|
|
329
|
+
$(), be(() => {
|
|
330
|
+
d.value = l, x.value = l, B.value = je(
|
|
331
331
|
{ series: l.breakdown },
|
|
332
332
|
l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
333
|
-
l.y1 +
|
|
333
|
+
l.y1 + r.value.branchSize / 2,
|
|
334
334
|
80,
|
|
335
335
|
80
|
|
336
336
|
), W("selectNut", l.breakdown);
|
|
337
337
|
});
|
|
338
338
|
}
|
|
339
339
|
function G() {
|
|
340
|
-
d.value = null,
|
|
340
|
+
d.value = null, B.value = null, W("selectNut", null);
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function de(l) {
|
|
343
343
|
x.value && x.value.id === l.id ? (x.value = null, $(), W("selectBranch", null)) : ($(), x.value = l, W("selectBranch", l));
|
|
344
344
|
}
|
|
345
|
-
function
|
|
346
|
-
|
|
345
|
+
function Le(l) {
|
|
346
|
+
I.value && I.value.id === l.id ? ($(), W("selectRoot", null)) : ($(), I.value = l, W("selectRoot", l));
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function nt() {
|
|
349
349
|
return T.value.bottom - (d.value.y1 + 180) < 0 ? 0 : T.value.bottom;
|
|
350
350
|
}
|
|
351
351
|
function Y(l) {
|
|
352
352
|
return l.proportion * 100 > e.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
|
|
353
353
|
}
|
|
354
|
-
|
|
355
|
-
|
|
354
|
+
yt(() => {
|
|
355
|
+
Pe();
|
|
356
356
|
});
|
|
357
357
|
const Q = k(() => e.value.debug);
|
|
358
|
-
function
|
|
359
|
-
|
|
358
|
+
function Pe() {
|
|
359
|
+
wt(M.dataset) && se({
|
|
360
360
|
componentName: "VueUiChestnut",
|
|
361
361
|
type: "dataset",
|
|
362
362
|
debug: Q.value
|
|
363
363
|
});
|
|
364
|
-
const l =
|
|
365
|
-
|
|
364
|
+
const l = et.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
|
|
365
|
+
r.value.height = l;
|
|
366
366
|
}
|
|
367
367
|
const v = k(() => {
|
|
368
368
|
const l = [
|
|
@@ -378,12 +378,12 @@ const Rt = ["id"], Ot = {
|
|
|
378
378
|
e.value.table.th.translations.nutToBranch,
|
|
379
379
|
e.value.table.th.translations.nutToRoot,
|
|
380
380
|
e.value.table.th.translations.nutToTotal
|
|
381
|
-
],
|
|
382
|
-
return { head: l, body:
|
|
381
|
+
], i = N.value.flatMap((t, s) => t.branches.flatMap((p, b) => p.breakdown.flatMap((f, m) => f.table)));
|
|
382
|
+
return { head: l, body: i };
|
|
383
383
|
});
|
|
384
|
-
function
|
|
385
|
-
|
|
386
|
-
const
|
|
384
|
+
function ve(l = null) {
|
|
385
|
+
be(() => {
|
|
386
|
+
const i = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", V.value], [""]], t = v.value.head, s = v.value.body.map((f, m) => [
|
|
387
387
|
v.value.body[m - 1] && v.value.body[m - 1].rootName === f.rootName ? "" : f.rootName,
|
|
388
388
|
v.value.body[m - 1] && v.value.body[m - 1].rootName === f.rootName ? "" : f.rootValue,
|
|
389
389
|
v.value.body[m - 1] && v.value.body[m - 1].rootName === f.rootName ? "" : f.rootToTotal,
|
|
@@ -396,35 +396,35 @@ const Rt = ["id"], Ot = {
|
|
|
396
396
|
f.nutToBranch,
|
|
397
397
|
f.nutToRoot,
|
|
398
398
|
f.nutToTotal
|
|
399
|
-
]), p =
|
|
400
|
-
l ? l(b) :
|
|
399
|
+
]), p = i.concat([t]).concat(s), b = Tt(p);
|
|
400
|
+
l ? l(b) : zt({ csvContent: b, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
const q = z(!1);
|
|
404
|
-
function
|
|
405
|
-
q.value = l,
|
|
404
|
+
function Re(l) {
|
|
405
|
+
q.value = l, ke.value += 1;
|
|
406
406
|
}
|
|
407
|
-
function
|
|
408
|
-
|
|
407
|
+
function Oe() {
|
|
408
|
+
j.value.showTable = !j.value.showTable;
|
|
409
409
|
}
|
|
410
410
|
const ee = z(!1);
|
|
411
|
-
function
|
|
411
|
+
function ye() {
|
|
412
412
|
ee.value = !ee.value;
|
|
413
413
|
}
|
|
414
|
-
async function
|
|
414
|
+
async function rt({ scale: l = 2 } = {}) {
|
|
415
415
|
if (!U.value) return;
|
|
416
|
-
const { width:
|
|
416
|
+
const { width: i, height: t } = U.value.getBoundingClientRect(), s = i / t, { imageUri: p, base64: b } = await Pt({ domElement: U.value, base64: !0, img: !0, scale: l });
|
|
417
417
|
return {
|
|
418
418
|
imageUri: p,
|
|
419
419
|
base64: b,
|
|
420
420
|
title: e.value.style.chart.layout.title.text,
|
|
421
|
-
width:
|
|
421
|
+
width: i,
|
|
422
422
|
height: t,
|
|
423
423
|
aspectRatio: s
|
|
424
424
|
};
|
|
425
425
|
}
|
|
426
|
-
function
|
|
427
|
-
const
|
|
426
|
+
function it(l) {
|
|
427
|
+
const i = st(l), t = l.x1, s = l.y1, p = r.value.branchSize, b = i.x + i.r / 2, f = i.y, m = 20;
|
|
428
428
|
return [
|
|
429
429
|
`M ${t},${s}`,
|
|
430
430
|
`C ${t - m},${s} ${t - m},${s} ${b},${f}`,
|
|
@@ -433,9 +433,9 @@ const Rt = ["id"], Ot = {
|
|
|
433
433
|
].join(" ");
|
|
434
434
|
}
|
|
435
435
|
const te = k(() => {
|
|
436
|
-
const l = e.value.table.useDialog && !e.value.table.show,
|
|
436
|
+
const l = e.value.table.useDialog && !e.value.table.show, i = j.value.showTable;
|
|
437
437
|
return {
|
|
438
|
-
component: l ?
|
|
438
|
+
component: l ? He : Ue,
|
|
439
439
|
title: `${e.value.style.chart.layout.title.text}${e.value.style.chart.layout.title.subtitle.text ? `: ${e.value.style.chart.layout.title.subtitle.text}` : ""}`,
|
|
440
440
|
props: l ? {
|
|
441
441
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -448,7 +448,7 @@ const Rt = ["id"], Ot = {
|
|
|
448
448
|
} : {
|
|
449
449
|
hideDetails: !0,
|
|
450
450
|
config: {
|
|
451
|
-
open:
|
|
451
|
+
open: i,
|
|
452
452
|
maxHeight: 1e4,
|
|
453
453
|
body: {
|
|
454
454
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -462,45 +462,48 @@ const Rt = ["id"], Ot = {
|
|
|
462
462
|
}
|
|
463
463
|
};
|
|
464
464
|
});
|
|
465
|
-
|
|
466
|
-
e.value.table.show || (l && e.value.table.useDialog && K.value ? (await
|
|
465
|
+
fe(() => j.value.showTable, async (l) => {
|
|
466
|
+
e.value.table.show || (l && e.value.table.useDialog && K.value ? (await be(), K.value.open()) : "close" in K.value && K.value.close());
|
|
467
467
|
});
|
|
468
|
-
const { isResponsive:
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
468
|
+
const { isResponsive: ct } = Ft(Fe, Je);
|
|
469
|
+
function he() {
|
|
470
|
+
j.value.showTable = !1, ue.value && ue.value.setTableIconState(!1);
|
|
471
|
+
}
|
|
472
|
+
return Ge({
|
|
473
|
+
getData: Qe,
|
|
474
|
+
getImage: rt,
|
|
475
|
+
generatePdf: Se,
|
|
476
|
+
generateCsv: ve,
|
|
477
|
+
generateImage: Ne,
|
|
478
|
+
toggleTable: Oe,
|
|
479
|
+
toggleAnnotator: ye,
|
|
480
|
+
toggleFullscreen: Re
|
|
481
|
+
}), (l, i) => (a(), o("div", {
|
|
479
482
|
class: w(`vue-ui-chestnut ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
480
483
|
ref_key: "chestnutChart",
|
|
481
484
|
ref: U,
|
|
482
485
|
id: `vue-ui-chestnut_${C.value}`,
|
|
483
486
|
style: y(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
484
|
-
onMouseenter:
|
|
485
|
-
onMouseleave:
|
|
487
|
+
onMouseenter: i[1] || (i[1] = () => u(Ce)(!0)),
|
|
488
|
+
onMouseleave: i[2] || (i[2] = () => u(Ce)(!1))
|
|
486
489
|
}, [
|
|
487
|
-
e.value.userOptions.buttons.annotator ? (a(), le(u(
|
|
490
|
+
e.value.userOptions.buttons.annotator ? (a(), le(u(We), {
|
|
488
491
|
key: 0,
|
|
489
|
-
svgRef: u(
|
|
492
|
+
svgRef: u(Te),
|
|
490
493
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
491
494
|
color: e.value.style.chart.color,
|
|
492
495
|
active: ee.value,
|
|
493
|
-
onClose:
|
|
496
|
+
onClose: ye
|
|
494
497
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
495
|
-
|
|
496
|
-
e.value.userOptions.show &&
|
|
497
|
-
ref_key: "
|
|
498
|
-
ref:
|
|
499
|
-
key: `user_options_${
|
|
498
|
+
Ze.value ? (a(), o("div", Vt, null, 512)) : h("", !0),
|
|
499
|
+
e.value.userOptions.show && me.value && (u($e) || u(re)) ? (a(), le(u(Ye), {
|
|
500
|
+
ref_key: "userOptionsRef",
|
|
501
|
+
ref: ue,
|
|
502
|
+
key: `user_options_${ke.value}`,
|
|
500
503
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
501
504
|
color: e.value.style.chart.color,
|
|
502
|
-
isImaging: u(
|
|
503
|
-
isPrinting: u(
|
|
505
|
+
isImaging: u(Ae),
|
|
506
|
+
isPrinting: u(ze),
|
|
504
507
|
uid: C.value,
|
|
505
508
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
506
509
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -515,16 +518,17 @@ const Rt = ["id"], Ot = {
|
|
|
515
518
|
isAnnotation: ee.value,
|
|
516
519
|
callbacks: e.value.userOptions.callbacks,
|
|
517
520
|
printScale: e.value.userOptions.print.scale,
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
521
|
+
tableDialog: e.value.table.useDialog,
|
|
522
|
+
onToggleFullscreen: Re,
|
|
523
|
+
onGeneratePdf: u(Se),
|
|
524
|
+
onGenerateCsv: ve,
|
|
525
|
+
onGenerateImage: u(Ne),
|
|
526
|
+
onToggleTable: Oe,
|
|
527
|
+
onToggleAnnotator: ye,
|
|
524
528
|
style: y({
|
|
525
|
-
visibility: u(
|
|
529
|
+
visibility: u($e) ? u(re) ? "visible" : "hidden" : "visible"
|
|
526
530
|
})
|
|
527
|
-
},
|
|
531
|
+
}, Ve({ _: 2 }, [
|
|
528
532
|
l.$slots.menuIcon ? {
|
|
529
533
|
name: "menuIcon",
|
|
530
534
|
fn: P(({ isOpen: t, color: s }) => [
|
|
@@ -574,50 +578,50 @@ const Rt = ["id"], Ot = {
|
|
|
574
578
|
]),
|
|
575
579
|
key: "6"
|
|
576
580
|
} : void 0
|
|
577
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
578
|
-
|
|
581
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
582
|
+
r.value.height > 0 ? (a(), o("svg", {
|
|
579
583
|
key: 3,
|
|
580
584
|
ref_key: "svgRef",
|
|
581
|
-
ref:
|
|
582
|
-
xmlns: u(
|
|
585
|
+
ref: Te,
|
|
586
|
+
xmlns: u(Ct),
|
|
583
587
|
class: w({ "vue-data-ui-fullscreen--on": q.value, "vue-data-ui-fulscreen--off": !q.value }),
|
|
584
|
-
viewBox: `0 0 ${
|
|
588
|
+
viewBox: `0 0 ${r.value.width <= 0 ? 10 : r.value.width} ${r.value.height <= 0 ? 10 : r.value.height}`,
|
|
585
589
|
style: y(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
586
590
|
}, [
|
|
587
|
-
|
|
591
|
+
pe(u(qe)),
|
|
588
592
|
l.$slots["chart-background"] ? (a(), o("foreignObject", {
|
|
589
593
|
key: 0,
|
|
590
594
|
x: 0,
|
|
591
595
|
y: 0,
|
|
592
|
-
width:
|
|
593
|
-
height:
|
|
596
|
+
width: r.value.width <= 0 ? 10 : r.value.width,
|
|
597
|
+
height: r.value.height <= 0 ? 10 : r.value.height,
|
|
594
598
|
style: {
|
|
595
599
|
pointerEvents: "none"
|
|
596
600
|
}
|
|
597
601
|
}, [
|
|
598
602
|
F(l.$slots, "chart-background", {}, void 0, !0)
|
|
599
|
-
], 8,
|
|
600
|
-
d.value ? h("", !0) : (a(), o("g",
|
|
603
|
+
], 8, Mt)) : h("", !0),
|
|
604
|
+
d.value ? h("", !0) : (a(), o("g", jt, [
|
|
601
605
|
e.value.style.chart.layout.title.text ? (a(), o("text", {
|
|
602
606
|
key: 0,
|
|
603
607
|
"text-anchor": "middle",
|
|
604
608
|
fill: e.value.style.chart.layout.title.color,
|
|
605
609
|
"font-weight": e.value.style.chart.layout.title.bold ? "bold" : "normal",
|
|
606
610
|
"font-size": e.value.style.chart.layout.title.fontSize,
|
|
607
|
-
x:
|
|
611
|
+
x: r.value.width / 2,
|
|
608
612
|
y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
|
|
609
613
|
onClick: $
|
|
610
|
-
}, c(e.value.style.chart.layout.title.text), 9,
|
|
614
|
+
}, c(e.value.style.chart.layout.title.text), 9, Dt)) : h("", !0),
|
|
611
615
|
e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
|
|
612
616
|
key: 1,
|
|
613
617
|
"text-anchor": "middle",
|
|
614
618
|
fill: e.value.style.chart.layout.title.subtitle.color,
|
|
615
619
|
"font-weight": e.value.style.chart.layout.title.subtitle.bold ? "bold" : "normal",
|
|
616
620
|
"font-size": e.value.style.chart.layout.title.subtitle.fontSize,
|
|
617
|
-
x:
|
|
621
|
+
x: r.value.width / 2,
|
|
618
622
|
y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
|
|
619
623
|
onClick: $
|
|
620
|
-
}, c(e.value.style.chart.layout.title.subtitle.text), 9,
|
|
624
|
+
}, c(e.value.style.chart.layout.title.subtitle.text), 9, Xt)) : h("", !0)
|
|
621
625
|
])),
|
|
622
626
|
n("defs", null, [
|
|
623
627
|
(a(!0), o(g, null, _(N.value, (t, s) => (a(), o("radialGradient", {
|
|
@@ -630,13 +634,13 @@ const Rt = ["id"], Ot = {
|
|
|
630
634
|
}, [
|
|
631
635
|
n("stop", {
|
|
632
636
|
offset: "0%",
|
|
633
|
-
"stop-color": u(A)(u(
|
|
634
|
-
}, null, 8,
|
|
637
|
+
"stop-color": u(A)(u(Be)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
|
|
638
|
+
}, null, 8, Et),
|
|
635
639
|
n("stop", {
|
|
636
640
|
offset: "100%",
|
|
637
641
|
"stop-color": t.color
|
|
638
|
-
}, null, 8,
|
|
639
|
-
], 8,
|
|
642
|
+
}, null, 8, Ut)
|
|
643
|
+
], 8, Gt))), 256)),
|
|
640
644
|
(a(!0), o(g, null, _(N.value, (t) => (a(), o("linearGradient", {
|
|
641
645
|
x1: "0%",
|
|
642
646
|
y1: "0%",
|
|
@@ -647,12 +651,12 @@ const Rt = ["id"], Ot = {
|
|
|
647
651
|
n("stop", {
|
|
648
652
|
offset: "0%",
|
|
649
653
|
"stop-color": t.color
|
|
650
|
-
}, null, 8,
|
|
654
|
+
}, null, 8, Yt),
|
|
651
655
|
n("stop", {
|
|
652
656
|
offset: "100%",
|
|
653
|
-
"stop-color": u(A)(u(
|
|
654
|
-
}, null, 8,
|
|
655
|
-
], 8,
|
|
657
|
+
"stop-color": u(A)(u(Be)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
|
|
658
|
+
}, null, 8, qt)
|
|
659
|
+
], 8, Wt))), 256)),
|
|
656
660
|
n("radialGradient", {
|
|
657
661
|
cx: "50%",
|
|
658
662
|
cy: "50%",
|
|
@@ -664,16 +668,16 @@ const Rt = ["id"], Ot = {
|
|
|
664
668
|
n("stop", {
|
|
665
669
|
offset: "0%",
|
|
666
670
|
"stop-color": u(A)("#FFFFFF", 0)
|
|
667
|
-
}, null, 8,
|
|
671
|
+
}, null, 8, Kt),
|
|
668
672
|
n("stop", {
|
|
669
673
|
offset: "80%",
|
|
670
674
|
"stop-color": u(A)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
|
|
671
|
-
}, null, 8,
|
|
675
|
+
}, null, 8, Zt),
|
|
672
676
|
n("stop", {
|
|
673
677
|
offset: "100%",
|
|
674
678
|
"stop-color": u(A)("#FFFFFF", 0)
|
|
675
|
-
}, null, 8,
|
|
676
|
-
], 8,
|
|
679
|
+
}, null, 8, Jt)
|
|
680
|
+
], 8, Ht),
|
|
677
681
|
n("radialGradient", {
|
|
678
682
|
cx: "50%",
|
|
679
683
|
cy: "50%",
|
|
@@ -685,16 +689,16 @@ const Rt = ["id"], Ot = {
|
|
|
685
689
|
n("stop", {
|
|
686
690
|
offset: "0%",
|
|
687
691
|
"stop-color": u(A)("#FFFFFF", 0)
|
|
688
|
-
}, null, 8,
|
|
692
|
+
}, null, 8, el),
|
|
689
693
|
n("stop", {
|
|
690
694
|
offset: "80%",
|
|
691
695
|
"stop-color": u(A)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
|
|
692
|
-
}, null, 8,
|
|
696
|
+
}, null, 8, tl),
|
|
693
697
|
n("stop", {
|
|
694
698
|
offset: "100%",
|
|
695
699
|
"stop-color": u(A)("#FFFFFF", 0)
|
|
696
|
-
}, null, 8,
|
|
697
|
-
], 8,
|
|
700
|
+
}, null, 8, ll)
|
|
701
|
+
], 8, Qt),
|
|
698
702
|
n("radialGradient", {
|
|
699
703
|
cx: "50%",
|
|
700
704
|
cy: "50%",
|
|
@@ -706,18 +710,18 @@ const Rt = ["id"], Ot = {
|
|
|
706
710
|
n("stop", {
|
|
707
711
|
offset: "0%",
|
|
708
712
|
"stop-color": u(A)(e.value.style.chart.backgroundColor, 100)
|
|
709
|
-
}, null, 8,
|
|
713
|
+
}, null, 8, ol),
|
|
710
714
|
n("stop", {
|
|
711
715
|
offset: "80%",
|
|
712
716
|
"stop-color": u(A)(e.value.style.chart.backgroundColor, 60)
|
|
713
|
-
}, null, 8,
|
|
717
|
+
}, null, 8, sl),
|
|
714
718
|
n("stop", {
|
|
715
719
|
offset: "100%",
|
|
716
720
|
"stop-color": u(A)(e.value.style.chart.backgroundColor, 0)
|
|
717
|
-
}, null, 8,
|
|
718
|
-
], 8,
|
|
721
|
+
}, null, 8, ul)
|
|
722
|
+
], 8, al)
|
|
719
723
|
]),
|
|
720
|
-
e.value.style.chart.layout.grandTotal.show ? (a(), o("g",
|
|
724
|
+
e.value.style.chart.layout.grandTotal.show ? (a(), o("g", nl, [
|
|
721
725
|
n("text", {
|
|
722
726
|
x: T.value.seedX,
|
|
723
727
|
y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
|
|
@@ -726,7 +730,7 @@ const Rt = ["id"], Ot = {
|
|
|
726
730
|
fill: e.value.style.chart.layout.grandTotal.color,
|
|
727
731
|
"text-anchor": "middle",
|
|
728
732
|
onClick: $
|
|
729
|
-
}, c(e.value.style.chart.layout.grandTotal.text), 9,
|
|
733
|
+
}, c(e.value.style.chart.layout.grandTotal.text), 9, rl),
|
|
730
734
|
n("text", {
|
|
731
735
|
x: T.value.seedX,
|
|
732
736
|
y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
|
|
@@ -737,14 +741,14 @@ const Rt = ["id"], Ot = {
|
|
|
737
741
|
onClick: $
|
|
738
742
|
}, c(u(E)(
|
|
739
743
|
e.value.style.chart.layout.grandTotal.formatter,
|
|
740
|
-
|
|
744
|
+
V.value,
|
|
741
745
|
u(S)({
|
|
742
746
|
p: e.value.style.chart.layout.grandTotal.prefix,
|
|
743
|
-
v:
|
|
747
|
+
v: V.value,
|
|
744
748
|
s: e.value.style.chart.layout.grandTotal.suffix,
|
|
745
749
|
r: e.value.style.chart.layout.grandTotal.roundingValue
|
|
746
750
|
})
|
|
747
|
-
)), 9,
|
|
751
|
+
)), 9, il)
|
|
748
752
|
])) : h("", !0),
|
|
749
753
|
(a(!0), o(g, null, _(X.value, (t) => (a(), o("g", null, [
|
|
750
754
|
n("defs", null, [
|
|
@@ -754,22 +758,22 @@ const Rt = ["id"], Ot = {
|
|
|
754
758
|
n("stop", {
|
|
755
759
|
offset: "0%",
|
|
756
760
|
"stop-color": t.color
|
|
757
|
-
}, null, 8,
|
|
761
|
+
}, null, 8, dl),
|
|
758
762
|
n("stop", {
|
|
759
763
|
offset: "100%",
|
|
760
764
|
"stop-color": u(A)(t.color, e.value.style.chart.layout.links.opacity)
|
|
761
|
-
}, null, 8,
|
|
762
|
-
], 8,
|
|
765
|
+
}, null, 8, vl)
|
|
766
|
+
], 8, cl)
|
|
763
767
|
]),
|
|
764
768
|
n("path", {
|
|
765
|
-
d:
|
|
769
|
+
d: it(t),
|
|
766
770
|
stroke: u(A)(t.color, e.value.style.chart.layout.links.opacity),
|
|
767
771
|
fill: `url(#link_grad_${t.id})`,
|
|
768
772
|
"stroke-linecap": "round",
|
|
769
773
|
"stroke-linejoin": "round",
|
|
770
|
-
style: y(`opacity:${
|
|
774
|
+
style: y(`opacity:${L(t) ? 1 : 0}`),
|
|
771
775
|
onClick: $
|
|
772
|
-
}, null, 12,
|
|
776
|
+
}, null, 12, yl)
|
|
773
777
|
]))), 256)),
|
|
774
778
|
(a(!0), o(g, null, _(D.value, (t) => (a(), o("circle", {
|
|
775
779
|
cx: t.x,
|
|
@@ -777,8 +781,8 @@ const Rt = ["id"], Ot = {
|
|
|
777
781
|
r: t.r,
|
|
778
782
|
fill: e.value.style.chart.layout.roots.underlayerColor,
|
|
779
783
|
stroke: "none",
|
|
780
|
-
style: y(`cursor:pointer; opacity:${
|
|
781
|
-
}, null, 12,
|
|
784
|
+
style: y(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`)
|
|
785
|
+
}, null, 12, hl))), 256)),
|
|
782
786
|
(a(!0), o(g, null, _(D.value, (t, s) => (a(), o("circle", {
|
|
783
787
|
cx: t.x,
|
|
784
788
|
cy: t.y,
|
|
@@ -786,19 +790,19 @@ const Rt = ["id"], Ot = {
|
|
|
786
790
|
fill: e.value.style.chart.layout.roots.useGradient ? `url(#root_gradient_${C.value}_${t.rootIndex})` : t.color,
|
|
787
791
|
stroke: e.value.style.chart.layout.roots.stroke,
|
|
788
792
|
"stroke-width": e.value.style.chart.layout.roots.strokeWidth,
|
|
789
|
-
style: y(`cursor:pointer; opacity:${
|
|
790
|
-
onClick: (p) =>
|
|
791
|
-
}, null, 12,
|
|
792
|
-
e.value.style.chart.layout.roots.labels.show ? (a(), o("g",
|
|
793
|
+
style: y(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
|
|
794
|
+
onClick: (p) => Le(t)
|
|
795
|
+
}, null, 12, fl))), 256)),
|
|
796
|
+
e.value.style.chart.layout.roots.labels.show ? (a(), o("g", bl, [
|
|
793
797
|
(a(!0), o(g, null, _(D.value, (t, s) => (a(), o("text", {
|
|
794
798
|
x: t.x,
|
|
795
799
|
y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
|
|
796
800
|
"text-anchor": "middle",
|
|
797
801
|
"font-size": e.value.style.chart.layout.roots.labels.fontSize,
|
|
798
|
-
fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? u(
|
|
802
|
+
fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? u(Me)(t.color) : e.value.style.chart.layout.roots.labels.color,
|
|
799
803
|
"font-weight": "bold",
|
|
800
|
-
style: y(`cursor:pointer; opacity:${
|
|
801
|
-
onClick: (p) =>
|
|
804
|
+
style: y(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
|
|
805
|
+
onClick: (p) => Le(t)
|
|
802
806
|
}, c(u(E)(
|
|
803
807
|
e.value.style.chart.layout.roots.labels.formatter,
|
|
804
808
|
t.total,
|
|
@@ -809,9 +813,9 @@ const Rt = ["id"], Ot = {
|
|
|
809
813
|
r: e.value.style.chart.layout.roots.labels.roundingValue
|
|
810
814
|
}),
|
|
811
815
|
{ datapoint: t }
|
|
812
|
-
)), 13,
|
|
816
|
+
)), 13, pl))), 256)),
|
|
813
817
|
(a(!0), o(g, null, _(D.value, (t) => (a(), o("g", null, [
|
|
814
|
-
d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex ||
|
|
818
|
+
d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || I.value && t.rootIndex === I.value.rootIndex ? (a(), o("g", gl, [
|
|
815
819
|
n("text", {
|
|
816
820
|
x: t.x,
|
|
817
821
|
y: t.y + t.r + 24,
|
|
@@ -820,45 +824,45 @@ const Rt = ["id"], Ot = {
|
|
|
820
824
|
"font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
|
|
821
825
|
"font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
|
|
822
826
|
onClick: $
|
|
823
|
-
}, c(t.name), 9,
|
|
827
|
+
}, c(t.name), 9, _l)
|
|
824
828
|
])) : h("", !0)
|
|
825
829
|
]))), 256))
|
|
826
830
|
])) : h("", !0),
|
|
827
831
|
(a(!0), o(g, null, _(X.value, (t) => (a(), o("rect", {
|
|
828
832
|
x: t.x1,
|
|
829
833
|
y: t.y1,
|
|
830
|
-
height:
|
|
834
|
+
height: r.value.branchSize,
|
|
831
835
|
width: t.x2 - t.x1,
|
|
832
836
|
fill: e.value.style.chart.layout.branches.underlayerColor,
|
|
833
837
|
rx: e.value.style.chart.layout.branches.borderRadius,
|
|
834
838
|
stroke: "none",
|
|
835
|
-
style: y(`opacity:${
|
|
836
|
-
onClick: (s) =>
|
|
837
|
-
}, null, 12,
|
|
839
|
+
style: y(`opacity:${L(t) ? 1 : 0.05}`),
|
|
840
|
+
onClick: (s) => de(t)
|
|
841
|
+
}, null, 12, xl))), 256)),
|
|
838
842
|
(a(!0), o(g, null, _(X.value, (t, s) => (a(), o("rect", {
|
|
839
843
|
x: t.x1,
|
|
840
844
|
y: t.y1,
|
|
841
|
-
height:
|
|
845
|
+
height: r.value.branchSize,
|
|
842
846
|
width: t.x2 - t.x1,
|
|
843
847
|
fill: e.value.style.chart.layout.branches.useGradient ? `url(#branch_gradient_${C.value}_${t.rootIndex})` : t.color,
|
|
844
848
|
rx: e.value.style.chart.layout.branches.borderRadius,
|
|
845
849
|
stroke: e.value.style.chart.layout.branches.stroke,
|
|
846
850
|
"stroke-width": e.value.style.chart.layout.branches.strokeWidth,
|
|
847
|
-
style: y(`cursor:pointer; opacity:${
|
|
848
|
-
onClick: (p) =>
|
|
849
|
-
}, null, 12,
|
|
850
|
-
e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g",
|
|
851
|
+
style: y(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
|
|
852
|
+
onClick: (p) => de(t)
|
|
853
|
+
}, null, 12, ml))), 256)),
|
|
854
|
+
e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", kl, [
|
|
851
855
|
(a(!0), o(g, null, _(X.value, (t) => (a(), o("g", null, [
|
|
852
856
|
t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
|
|
853
857
|
key: 0,
|
|
854
858
|
x: t.x1 + 6,
|
|
855
|
-
y: t.y1 +
|
|
859
|
+
y: t.y1 + r.value.branchSize / 1.5,
|
|
856
860
|
"text-anchor": "start",
|
|
857
|
-
fill: u(
|
|
861
|
+
fill: u(Me)(t.color),
|
|
858
862
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
859
863
|
"font-weight": "bold",
|
|
860
|
-
style: y(`cursor:pointer; opacity:${
|
|
861
|
-
onClick: (s) =>
|
|
864
|
+
style: y(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
|
|
865
|
+
onClick: (s) => de(t)
|
|
862
866
|
}, c(u(E)(
|
|
863
867
|
e.value.style.chart.layout.branches.labels.dataLabels.formatter,
|
|
864
868
|
t.value,
|
|
@@ -869,66 +873,66 @@ const Rt = ["id"], Ot = {
|
|
|
869
873
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
870
874
|
}),
|
|
871
875
|
{ datapoint: t }
|
|
872
|
-
)), 13,
|
|
876
|
+
)), 13, wl)) : h("", !0)
|
|
873
877
|
]))), 256))
|
|
874
878
|
])) : h("", !0),
|
|
875
879
|
(a(!0), o(g, null, _(X.value, (t, s) => (a(), o("g", null, [
|
|
876
|
-
(a(!0), o(g, null, _(u(
|
|
880
|
+
(a(!0), o(g, null, _(u(je)(
|
|
877
881
|
{ series: t.breakdown, base: 1 },
|
|
878
882
|
t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
879
|
-
t.y1 +
|
|
880
|
-
|
|
881
|
-
|
|
883
|
+
t.y1 + r.value.branchSize / 2,
|
|
884
|
+
r.value.branchSize / 3,
|
|
885
|
+
r.value.branchSize / 3
|
|
882
886
|
), (p, b) => (a(), o("path", {
|
|
883
887
|
d: p.path,
|
|
884
888
|
stroke: p.color,
|
|
885
889
|
"stroke-width": 10,
|
|
886
890
|
fill: "none",
|
|
887
|
-
style: y(`opacity:${
|
|
888
|
-
}, null, 12,
|
|
891
|
+
style: y(`opacity:${L(t) ? 1 : 0.1}`)
|
|
892
|
+
}, null, 12, Cl))), 256)),
|
|
889
893
|
n("circle", {
|
|
890
894
|
fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${C.value})` : "transparent",
|
|
891
895
|
cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
892
|
-
cy: t.y1 +
|
|
893
|
-
r:
|
|
894
|
-
onClick: (p) =>
|
|
895
|
-
style: y(`cursor:pointer;opacity:${
|
|
896
|
-
}, null, 12,
|
|
896
|
+
cy: t.y1 + r.value.branchSize / 2,
|
|
897
|
+
r: r.value.branchSize / 2 + 2,
|
|
898
|
+
onClick: (p) => ut(t),
|
|
899
|
+
style: y(`cursor:pointer;opacity:${L(t) ? 1 : 0.1}`)
|
|
900
|
+
}, null, 12, $l)
|
|
897
901
|
]))), 256)),
|
|
898
|
-
e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g",
|
|
902
|
+
e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", Tl, [
|
|
899
903
|
(a(!0), o(g, null, _(X.value, (t) => (a(), o("text", {
|
|
900
|
-
x: t.x2 +
|
|
901
|
-
y: t.y1 +
|
|
904
|
+
x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
905
|
+
y: t.y1 + r.value.branchSize / 2 + 5,
|
|
902
906
|
"font-size": e.value.style.chart.layout.branches.labels.fontSize,
|
|
903
907
|
"font-weight": e.value.style.chart.layout.branches.labels.bold ? "bold" : "normal",
|
|
904
908
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
905
909
|
"text-anchor": "start",
|
|
906
|
-
style: y(`opacity:${
|
|
907
|
-
}, c(t.name), 13,
|
|
910
|
+
style: y(`opacity:${L(t) ? 1 : 0.1}`)
|
|
911
|
+
}, c(t.name), 13, zl))), 256))
|
|
908
912
|
])) : h("", !0),
|
|
909
913
|
n("line", {
|
|
910
|
-
x1: 256 +
|
|
911
|
-
x2: 256 +
|
|
914
|
+
x1: 256 + r.value.padding.left,
|
|
915
|
+
x2: 256 + r.value.padding.left,
|
|
912
916
|
y1: T.value.top,
|
|
913
917
|
y2: T.value.bottom,
|
|
914
918
|
stroke: e.value.style.chart.layout.verticalSeparator.stroke,
|
|
915
919
|
"stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
|
|
916
|
-
}, null, 8,
|
|
920
|
+
}, null, 8, Al),
|
|
917
921
|
!d.value && !x.value ? (a(), o("foreignObject", {
|
|
918
922
|
key: 6,
|
|
919
923
|
x: 0,
|
|
920
924
|
y: T.value.bottom,
|
|
921
|
-
height:
|
|
922
|
-
width:
|
|
925
|
+
height: r.value.height - T.value.bottom,
|
|
926
|
+
width: r.value.width,
|
|
923
927
|
style: { overflow: "visible" },
|
|
924
928
|
onClick: $
|
|
925
929
|
}, [
|
|
926
|
-
n("div",
|
|
927
|
-
n("div",
|
|
930
|
+
n("div", Nl, [
|
|
931
|
+
n("div", Fl, [
|
|
928
932
|
(a(!0), o(g, null, _(D.value, (t) => (a(), o("div", {
|
|
929
933
|
style: y(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
|
|
930
934
|
}, [
|
|
931
|
-
(a(), o("svg",
|
|
935
|
+
(a(), o("svg", Il, [
|
|
932
936
|
n("circle", {
|
|
933
937
|
cx: "10",
|
|
934
938
|
cy: "10",
|
|
@@ -937,7 +941,7 @@ const Rt = ["id"], Ot = {
|
|
|
937
941
|
stroke: "none"
|
|
938
942
|
}, null, 8, Ll)
|
|
939
943
|
])),
|
|
940
|
-
u(
|
|
944
|
+
u(we) ? h("", !0) : (a(), o(g, { key: 0 }, [
|
|
941
945
|
n("span", null, c(t.name) + ":", 1),
|
|
942
946
|
n("b", null, c(u(E)(
|
|
943
947
|
e.value.style.chart.layout.roots.labels.formatter,
|
|
@@ -951,7 +955,7 @@ const Rt = ["id"], Ot = {
|
|
|
951
955
|
{ datapoint: t }
|
|
952
956
|
)), 1),
|
|
953
957
|
Z(" (" + c(u(S)({
|
|
954
|
-
v: t.total /
|
|
958
|
+
v: t.total / V.value * 100,
|
|
955
959
|
s: "%",
|
|
956
960
|
r: e.value.style.chart.layout.legend.roundingPercentage
|
|
957
961
|
})) + ") ", 1)
|
|
@@ -959,30 +963,30 @@ const Rt = ["id"], Ot = {
|
|
|
959
963
|
], 4))), 256))
|
|
960
964
|
])
|
|
961
965
|
])
|
|
962
|
-
], 8,
|
|
963
|
-
d.value &&
|
|
966
|
+
], 8, Sl)) : h("", !0),
|
|
967
|
+
d.value && B.value ? (a(), o("g", Pl, [
|
|
964
968
|
(a(), o("foreignObject", {
|
|
965
969
|
x: 0,
|
|
966
|
-
y:
|
|
967
|
-
height:
|
|
968
|
-
width:
|
|
970
|
+
y: nt(),
|
|
971
|
+
height: r.value.height - T.value.bottom,
|
|
972
|
+
width: r.value.width,
|
|
969
973
|
style: { overflow: "visible" },
|
|
970
974
|
onClick: $
|
|
971
975
|
}, [
|
|
972
|
-
n("div",
|
|
976
|
+
n("div", Ol, [
|
|
973
977
|
n("b", null, c(d.value.name), 1),
|
|
974
|
-
n("div",
|
|
978
|
+
n("div", Vl, [
|
|
975
979
|
(a(!0), o(g, null, _(d.value.breakdown, (t, s) => (a(), o("div", {
|
|
976
980
|
style: y(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
|
|
977
981
|
}, [
|
|
978
|
-
(a(), o("svg",
|
|
982
|
+
(a(), o("svg", Bl, [
|
|
979
983
|
n("circle", {
|
|
980
984
|
cx: "10",
|
|
981
985
|
cy: "10",
|
|
982
986
|
r: "10",
|
|
983
987
|
fill: t.color,
|
|
984
988
|
stroke: "none"
|
|
985
|
-
}, null, 8,
|
|
989
|
+
}, null, 8, Ml)
|
|
986
990
|
])),
|
|
987
991
|
n("span", null, [
|
|
988
992
|
Z(c(t.name) + ": ", 1),
|
|
@@ -992,23 +996,23 @@ const Rt = ["id"], Ot = {
|
|
|
992
996
|
], 4))), 256))
|
|
993
997
|
])
|
|
994
998
|
])
|
|
995
|
-
], 8,
|
|
999
|
+
], 8, Rl)),
|
|
996
1000
|
n("circle", {
|
|
997
1001
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
998
|
-
cy: d.value.y1 +
|
|
1002
|
+
cy: d.value.y1 + r.value.branchSize / 2,
|
|
999
1003
|
r: 256,
|
|
1000
1004
|
fill: `url(#nut_underlayer_${C.value})`,
|
|
1001
1005
|
onClick: G,
|
|
1002
1006
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1003
|
-
}, null, 10,
|
|
1004
|
-
(a(!0), o(g, null, _(
|
|
1007
|
+
}, null, 10, jl),
|
|
1008
|
+
(a(!0), o(g, null, _(B.value, (t) => (a(), o("g", null, [
|
|
1005
1009
|
Y(t) ? (a(), o("path", {
|
|
1006
1010
|
key: 0,
|
|
1007
|
-
d: u(
|
|
1011
|
+
d: u($t)(
|
|
1008
1012
|
t,
|
|
1009
1013
|
{
|
|
1010
1014
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
1011
|
-
y: d.value.y1 +
|
|
1015
|
+
y: d.value.y1 + r.value.branchSize / 2
|
|
1012
1016
|
},
|
|
1013
1017
|
16,
|
|
1014
1018
|
16,
|
|
@@ -1022,40 +1026,40 @@ const Rt = ["id"], Ot = {
|
|
|
1022
1026
|
"stroke-linejoin": "round",
|
|
1023
1027
|
fill: "none",
|
|
1024
1028
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1025
|
-
}, null, 10,
|
|
1029
|
+
}, null, 10, Dl)) : h("", !0)
|
|
1026
1030
|
]))), 256)),
|
|
1027
1031
|
n("circle", {
|
|
1028
1032
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
1029
|
-
cy: d.value.y1 +
|
|
1033
|
+
cy: d.value.y1 + r.value.branchSize / 2,
|
|
1030
1034
|
r: 118,
|
|
1031
1035
|
fill: e.value.style.chart.backgroundColor,
|
|
1032
1036
|
onClick: G,
|
|
1033
1037
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1034
|
-
}, null, 10,
|
|
1035
|
-
(a(!0), o(g, null, _(
|
|
1038
|
+
}, null, 10, Xl),
|
|
1039
|
+
(a(!0), o(g, null, _(B.value, (t) => (a(), o("path", {
|
|
1036
1040
|
d: t.path,
|
|
1037
1041
|
stroke: t.color,
|
|
1038
1042
|
"stroke-width": 64,
|
|
1039
1043
|
fill: "none",
|
|
1040
1044
|
onClick: G,
|
|
1041
1045
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1042
|
-
}, null, 10,
|
|
1046
|
+
}, null, 10, Gl))), 256)),
|
|
1043
1047
|
n("circle", {
|
|
1044
1048
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
1045
|
-
cy: d.value.y1 +
|
|
1049
|
+
cy: d.value.y1 + r.value.branchSize / 2,
|
|
1046
1050
|
r: 110,
|
|
1047
1051
|
fill: `url(#nutpick_${C.value})`,
|
|
1048
1052
|
onClick: G,
|
|
1049
1053
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1050
|
-
}, null, 10,
|
|
1054
|
+
}, null, 10, El),
|
|
1051
1055
|
n("circle", {
|
|
1052
1056
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
1053
|
-
cy: d.value.y1 +
|
|
1057
|
+
cy: d.value.y1 + r.value.branchSize / 2,
|
|
1054
1058
|
r: 64,
|
|
1055
1059
|
fill: e.value.style.chart.backgroundColor,
|
|
1056
1060
|
onClick: G,
|
|
1057
1061
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1058
|
-
}, null, 10,
|
|
1062
|
+
}, null, 10, Ul),
|
|
1059
1063
|
n("text", {
|
|
1060
1064
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
1061
1065
|
y: d.value.y1 + 8,
|
|
@@ -1065,7 +1069,7 @@ const Rt = ["id"], Ot = {
|
|
|
1065
1069
|
"text-anchor": "middle",
|
|
1066
1070
|
onClick: G,
|
|
1067
1071
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1068
|
-
}, c(e.value.translations.total), 11,
|
|
1072
|
+
}, c(e.value.translations.total), 11, Wl),
|
|
1069
1073
|
n("text", {
|
|
1070
1074
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
1071
1075
|
y: d.value.y1 + 36,
|
|
@@ -1085,8 +1089,8 @@ const Rt = ["id"], Ot = {
|
|
|
1085
1089
|
r: e.value.style.chart.layout.nuts.selected.roundingValue
|
|
1086
1090
|
}),
|
|
1087
1091
|
{ datapoint: d.value }
|
|
1088
|
-
)), 11,
|
|
1089
|
-
(a(!0), o(g, null, _(
|
|
1092
|
+
)), 11, Yl),
|
|
1093
|
+
(a(!0), o(g, null, _(B.value, (t, s) => (a(), o("g", null, [
|
|
1090
1094
|
Y(t) ? (a(), o("text", {
|
|
1091
1095
|
key: 0,
|
|
1092
1096
|
x: u(O)(t).x,
|
|
@@ -1096,7 +1100,7 @@ const Rt = ["id"], Ot = {
|
|
|
1096
1100
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 2,
|
|
1097
1101
|
style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1098
1102
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1099
|
-
}, " ⬤ ", 14,
|
|
1103
|
+
}, " ⬤ ", 14, ql)) : h("", !0),
|
|
1100
1104
|
Y(t) ? (a(), o("text", {
|
|
1101
1105
|
key: 1,
|
|
1102
1106
|
x: u(O)(t, !0).x,
|
|
@@ -1106,9 +1110,9 @@ const Rt = ["id"], Ot = {
|
|
|
1106
1110
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1107
1111
|
style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1108
1112
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1109
|
-
}, c(d.value.breakdown[s].name), 15,
|
|
1113
|
+
}, c(d.value.breakdown[s].name), 15, Hl)) : h("", !0)
|
|
1110
1114
|
]))), 256)),
|
|
1111
|
-
(a(!0), o(g, null, _(
|
|
1115
|
+
(a(!0), o(g, null, _(B.value, (t, s) => (a(), o("g", null, [
|
|
1112
1116
|
Y(t) ? (a(), o("text", {
|
|
1113
1117
|
key: 0,
|
|
1114
1118
|
x: u(O)(t, !0).x,
|
|
@@ -1131,8 +1135,8 @@ const Rt = ["id"], Ot = {
|
|
|
1131
1135
|
s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
|
|
1132
1136
|
r: e.value.style.chart.layout.nuts.selected.roundingValue
|
|
1133
1137
|
}),
|
|
1134
|
-
{ datapoint:
|
|
1135
|
-
)), 15,
|
|
1138
|
+
{ datapoint: B.value, seriesIndex: s }
|
|
1139
|
+
)), 15, Kl)) : h("", !0),
|
|
1136
1140
|
Y(t) ? (a(), o("text", {
|
|
1137
1141
|
key: 1,
|
|
1138
1142
|
x: u(O)(t, !0).x,
|
|
@@ -1146,7 +1150,7 @@ const Rt = ["id"], Ot = {
|
|
|
1146
1150
|
v: d.value.breakdown[s].proportionToRoot * 100,
|
|
1147
1151
|
s: "%",
|
|
1148
1152
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
1149
|
-
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].rootName), 15,
|
|
1153
|
+
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].rootName), 15, Zl)) : h("", !0),
|
|
1150
1154
|
Y(t) ? (a(), o("text", {
|
|
1151
1155
|
key: 2,
|
|
1152
1156
|
x: u(O)(t, !0).x,
|
|
@@ -1160,14 +1164,14 @@ const Rt = ["id"], Ot = {
|
|
|
1160
1164
|
v: d.value.breakdown[s].proportionToTree * 100,
|
|
1161
1165
|
s: "%",
|
|
1162
1166
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
1163
|
-
})) + " " + c(e.value.translations.proportionToTree), 15,
|
|
1167
|
+
})) + " " + c(e.value.translations.proportionToTree), 15, Jl)) : h("", !0)
|
|
1164
1168
|
]))), 256))
|
|
1165
1169
|
])) : h("", !0),
|
|
1166
1170
|
(a(!0), o(g, null, _(X.value, (t) => (a(), o("g", null, [
|
|
1167
1171
|
x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
|
|
1168
1172
|
key: 0,
|
|
1169
1173
|
x: t.x1 + 6,
|
|
1170
|
-
y: t.y1 +
|
|
1174
|
+
y: t.y1 + r.value.branchSize + 24,
|
|
1171
1175
|
"font-weight": "bold",
|
|
1172
1176
|
"text-anchor": "start",
|
|
1173
1177
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
@@ -1183,11 +1187,11 @@ const Rt = ["id"], Ot = {
|
|
|
1183
1187
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
1184
1188
|
}),
|
|
1185
1189
|
{ datapoint: t }
|
|
1186
|
-
)), 9,
|
|
1190
|
+
)), 9, Ql)) : h("", !0),
|
|
1187
1191
|
x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
|
|
1188
1192
|
key: 1,
|
|
1189
1193
|
x: t.x1 + 6,
|
|
1190
|
-
y: t.y1 +
|
|
1194
|
+
y: t.y1 + r.value.branchSize + 48,
|
|
1191
1195
|
"text-anchor": "start",
|
|
1192
1196
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
1193
1197
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
@@ -1196,39 +1200,39 @@ const Rt = ["id"], Ot = {
|
|
|
1196
1200
|
v: t.proportionToRoot * 100,
|
|
1197
1201
|
s: "%",
|
|
1198
1202
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
1199
|
-
})) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9,
|
|
1203
|
+
})) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, ea)) : h("", !0),
|
|
1200
1204
|
x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
|
|
1201
1205
|
key: 2,
|
|
1202
1206
|
x: t.x1 + 6,
|
|
1203
|
-
y: t.y1 +
|
|
1207
|
+
y: t.y1 + r.value.branchSize + 72,
|
|
1204
1208
|
"text-anchor": "start",
|
|
1205
1209
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
1206
1210
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
1207
1211
|
onClick: $
|
|
1208
1212
|
}, c(u(S)({
|
|
1209
|
-
v: t.value /
|
|
1213
|
+
v: t.value / V.value * 100,
|
|
1210
1214
|
s: "%",
|
|
1211
1215
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
1212
|
-
})) + " " + c(e.value.translations.proportionToTree), 9,
|
|
1216
|
+
})) + " " + c(e.value.translations.proportionToTree), 9, ta)) : h("", !0)
|
|
1213
1217
|
]))), 256)),
|
|
1214
|
-
F(l.$slots, "svg", { svg:
|
|
1215
|
-
], 14,
|
|
1216
|
-
l.$slots.watermark ? (a(), o("div",
|
|
1217
|
-
F(l.$slots, "watermark", ae(oe({ isPrinting: u(
|
|
1218
|
+
F(l.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
1219
|
+
], 14, Bt)) : h("", !0),
|
|
1220
|
+
l.$slots.watermark ? (a(), o("div", la, [
|
|
1221
|
+
F(l.$slots, "watermark", ae(oe({ isPrinting: u(ze) || u(Ae) })), void 0, !0)
|
|
1218
1222
|
])) : h("", !0),
|
|
1219
1223
|
F(l.$slots, "legend", { legend: N.value }, void 0, !0),
|
|
1220
|
-
l.$slots.source ? (a(), o("div",
|
|
1224
|
+
l.$slots.source ? (a(), o("div", aa, [
|
|
1221
1225
|
F(l.$slots, "source", {}, void 0, !0)
|
|
1222
1226
|
], 512)) : h("", !0),
|
|
1223
|
-
|
|
1227
|
+
me.value ? (a(), le(ht(te.value.component), ft({ key: 6 }, te.value.props, {
|
|
1224
1228
|
ref_key: "tableUnit",
|
|
1225
1229
|
ref: K,
|
|
1226
|
-
onClose:
|
|
1227
|
-
}),
|
|
1230
|
+
onClose: he
|
|
1231
|
+
}), Ve({
|
|
1228
1232
|
content: P(() => [
|
|
1229
1233
|
n("div", {
|
|
1230
1234
|
ref_key: "tableContainer",
|
|
1231
|
-
ref:
|
|
1235
|
+
ref: Fe,
|
|
1232
1236
|
class: "vue-ui-chestnut-table",
|
|
1233
1237
|
style: y(`${e.value.table.useDialog ? "" : "max-height: 300px;margin-top:24px"}`)
|
|
1234
1238
|
}, [
|
|
@@ -1240,10 +1244,10 @@ const Rt = ["id"], Ot = {
|
|
|
1240
1244
|
role: "button",
|
|
1241
1245
|
tabindex: "0",
|
|
1242
1246
|
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};`),
|
|
1243
|
-
onClick:
|
|
1244
|
-
onKeypress:
|
|
1247
|
+
onClick: he,
|
|
1248
|
+
onKeypress: bt(he, ["enter"])
|
|
1245
1249
|
}, [
|
|
1246
|
-
|
|
1250
|
+
pe(u(xe), {
|
|
1247
1251
|
name: "close",
|
|
1248
1252
|
stroke: e.value.table.th.color,
|
|
1249
1253
|
"stroke-width": 2
|
|
@@ -1251,16 +1255,16 @@ const Rt = ["id"], Ot = {
|
|
|
1251
1255
|
], 36)),
|
|
1252
1256
|
n("div", {
|
|
1253
1257
|
style: { width: "100%" },
|
|
1254
|
-
class: w({ "vue-ui-responsive": u(
|
|
1258
|
+
class: w({ "vue-ui-responsive": u(ct) })
|
|
1255
1259
|
}, [
|
|
1256
|
-
n("table",
|
|
1260
|
+
n("table", oa, [
|
|
1257
1261
|
e.value.table.useDialog ? h("", !0) : (a(), o("caption", {
|
|
1258
1262
|
key: 0,
|
|
1259
1263
|
style: y({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
|
|
1260
1264
|
class: "vue-ui-data-table__caption"
|
|
1261
1265
|
}, [
|
|
1262
1266
|
Z(c(e.value.style.chart.layout.title.text) + " ", 1),
|
|
1263
|
-
e.value.style.chart.layout.title.subtitle.text ? (a(), o("span",
|
|
1267
|
+
e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", sa, c(e.value.style.chart.layout.title.subtitle.text), 1)) : h("", !0)
|
|
1264
1268
|
], 4)),
|
|
1265
1269
|
n("thead", null, [
|
|
1266
1270
|
n("tr", {
|
|
@@ -1282,99 +1286,99 @@ const Rt = ["id"], Ot = {
|
|
|
1282
1286
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1283
1287
|
"data-cell": v.value.head[0]
|
|
1284
1288
|
}, [
|
|
1285
|
-
n("div",
|
|
1286
|
-
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span",
|
|
1289
|
+
n("div", na, [
|
|
1290
|
+
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", ra)) : (a(), o("span", ia, c(t.rootName), 1))
|
|
1287
1291
|
])
|
|
1288
|
-
], 12,
|
|
1292
|
+
], 12, ua),
|
|
1289
1293
|
n("td", {
|
|
1290
1294
|
class: "vue-ui-data-table__tbody__td",
|
|
1291
1295
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1292
1296
|
"data-cell": v.value.head[1]
|
|
1293
1297
|
}, [
|
|
1294
|
-
n("div",
|
|
1295
|
-
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span",
|
|
1298
|
+
n("div", da, [
|
|
1299
|
+
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", va)) : (a(), o("span", ya, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
|
|
1296
1300
|
])
|
|
1297
|
-
], 12,
|
|
1301
|
+
], 12, ca),
|
|
1298
1302
|
n("td", {
|
|
1299
1303
|
class: "vue-ui-data-table__tbody__td",
|
|
1300
1304
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1301
1305
|
"data-cell": v.value.head[2]
|
|
1302
1306
|
}, [
|
|
1303
|
-
n("div",
|
|
1304
|
-
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span",
|
|
1307
|
+
n("div", fa, [
|
|
1308
|
+
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", ba)) : (a(), o("span", pa, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1305
1309
|
])
|
|
1306
|
-
], 12,
|
|
1310
|
+
], 12, ha),
|
|
1307
1311
|
n("td", {
|
|
1308
1312
|
class: "vue-ui-data-table__tbody__td",
|
|
1309
1313
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1310
1314
|
"data-cell": v.value.head[3]
|
|
1311
1315
|
}, [
|
|
1312
|
-
n("div",
|
|
1313
|
-
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span",
|
|
1316
|
+
n("div", _a, [
|
|
1317
|
+
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", xa)) : (a(), o("span", ma, c(t.branchName), 1))
|
|
1314
1318
|
])
|
|
1315
|
-
], 12,
|
|
1319
|
+
], 12, ga),
|
|
1316
1320
|
n("td", {
|
|
1317
1321
|
class: "vue-ui-data-table__tbody__td",
|
|
1318
1322
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1319
1323
|
"data-cell": v.value.head[4]
|
|
1320
1324
|
}, [
|
|
1321
|
-
n("div",
|
|
1322
|
-
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span",
|
|
1325
|
+
n("div", wa, [
|
|
1326
|
+
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Ca)) : (a(), o("span", $a, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
|
|
1323
1327
|
])
|
|
1324
|
-
], 12,
|
|
1328
|
+
], 12, ka),
|
|
1325
1329
|
n("td", {
|
|
1326
1330
|
class: "vue-ui-data-table__tbody__td",
|
|
1327
1331
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1328
1332
|
"data-cell": v.value.head[5]
|
|
1329
1333
|
}, [
|
|
1330
|
-
n("div",
|
|
1331
|
-
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span",
|
|
1334
|
+
n("div", za, [
|
|
1335
|
+
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Aa)) : (a(), o("span", Sa, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1332
1336
|
])
|
|
1333
|
-
], 12,
|
|
1337
|
+
], 12, Ta),
|
|
1334
1338
|
n("td", {
|
|
1335
1339
|
class: "vue-ui-data-table__tbody__td",
|
|
1336
1340
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1337
1341
|
"data-cell": v.value.head[6]
|
|
1338
1342
|
}, [
|
|
1339
|
-
n("div",
|
|
1340
|
-
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span",
|
|
1343
|
+
n("div", Fa, [
|
|
1344
|
+
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Ia)) : (a(), o("span", La, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1341
1345
|
])
|
|
1342
|
-
], 12,
|
|
1346
|
+
], 12, Na),
|
|
1343
1347
|
n("td", {
|
|
1344
1348
|
class: "vue-ui-data-table__tbody__td",
|
|
1345
1349
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1346
1350
|
"data-cell": v.value.head[7]
|
|
1347
1351
|
}, [
|
|
1348
|
-
n("div",
|
|
1349
|
-
], 12,
|
|
1352
|
+
n("div", Ra, c(t.nutName), 1)
|
|
1353
|
+
], 12, Pa),
|
|
1350
1354
|
n("td", {
|
|
1351
1355
|
class: "vue-ui-data-table__tbody__td",
|
|
1352
1356
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1353
1357
|
"data-cell": v.value.head[8]
|
|
1354
1358
|
}, [
|
|
1355
|
-
n("div",
|
|
1356
|
-
], 12,
|
|
1359
|
+
n("div", Va, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
|
|
1360
|
+
], 12, Oa),
|
|
1357
1361
|
n("td", {
|
|
1358
1362
|
class: "vue-ui-data-table__tbody__td",
|
|
1359
1363
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1360
1364
|
"data-cell": v.value.head[9]
|
|
1361
1365
|
}, [
|
|
1362
|
-
n("div",
|
|
1363
|
-
], 12,
|
|
1366
|
+
n("div", Ma, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1367
|
+
], 12, Ba),
|
|
1364
1368
|
n("td", {
|
|
1365
1369
|
class: "vue-ui-data-table__tbody__td",
|
|
1366
1370
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1367
1371
|
"data-cell": v.value.head[10]
|
|
1368
1372
|
}, [
|
|
1369
|
-
n("div",
|
|
1370
|
-
], 12,
|
|
1373
|
+
n("div", Da, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1374
|
+
], 12, ja),
|
|
1371
1375
|
n("td", {
|
|
1372
1376
|
class: "vue-ui-data-table__tbody__td",
|
|
1373
1377
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1374
1378
|
"data-cell": v.value.head[11]
|
|
1375
1379
|
}, [
|
|
1376
|
-
n("div",
|
|
1377
|
-
], 12,
|
|
1380
|
+
n("div", Ga, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1381
|
+
], 12, Xa)
|
|
1378
1382
|
], 6))), 256))
|
|
1379
1383
|
])
|
|
1380
1384
|
])
|
|
@@ -1397,9 +1401,9 @@ const Rt = ["id"], Ot = {
|
|
|
1397
1401
|
n("button", {
|
|
1398
1402
|
tabindex: "0",
|
|
1399
1403
|
class: "vue-ui-user-options-button",
|
|
1400
|
-
onClick:
|
|
1404
|
+
onClick: i[0] || (i[0] = (t) => ve(e.value.userOptions.callbacks.csv))
|
|
1401
1405
|
}, [
|
|
1402
|
-
|
|
1406
|
+
pe(u(xe), {
|
|
1403
1407
|
name: "excel",
|
|
1404
1408
|
stroke: te.value.props.color
|
|
1405
1409
|
}, null, 8, ["stroke"])
|
|
@@ -1408,10 +1412,10 @@ const Rt = ["id"], Ot = {
|
|
|
1408
1412
|
key: "1"
|
|
1409
1413
|
} : void 0
|
|
1410
1414
|
]), 1040)) : h("", !0),
|
|
1411
|
-
u(
|
|
1412
|
-
], 46,
|
|
1415
|
+
u(we) ? (a(), le(St, { key: 7 })) : h("", !0)
|
|
1416
|
+
], 46, Ot));
|
|
1413
1417
|
}
|
|
1414
|
-
},
|
|
1418
|
+
}, to = /* @__PURE__ */ Rt(Ea, [["__scopeId", "data-v-08d09099"]]);
|
|
1415
1419
|
export {
|
|
1416
|
-
|
|
1420
|
+
to as default
|
|
1417
1421
|
};
|