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