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