vue-data-ui 2.3.89 → 2.3.91
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-6DWnAEHt.js → Arrow-CHTslrAF.js} +1 -1
- package/dist/{Arrow-CW5gDSmt.cjs → Arrow-DpuaFuue.cjs} +1 -1
- package/dist/{BaseIcon-Dj8EbAXm.js → BaseIcon-DfaCNBgc.js} +1 -1
- package/dist/{BaseIcon-B_MrASni.cjs → BaseIcon-JWGtHqTA.cjs} +1 -1
- package/dist/{DataTable-BmYcdJ1w.js → DataTable-BKc3r3k3.js} +2 -2
- package/dist/{DataTable-DAwK5x3h.cjs → DataTable-CnkdsvIo.cjs} +1 -1
- package/dist/{Legend-DhQ-a1RH.cjs → Legend-BQJV6Xk4.cjs} +1 -1
- package/dist/{Legend-BRG8ddDy.js → Legend-WNL92WSx.js} +1 -1
- package/dist/PackageVersion-D9PU8glB.js +10 -0
- package/dist/PackageVersion-LdLhc8hQ.cjs +1 -0
- package/dist/{Shape-D7jva0XA.cjs → Shape-CgW0V2Og.cjs} +1 -1
- package/dist/{Shape-BcL3EDZ5.js → Shape-DPvoEBm9.js} +1 -1
- package/dist/{Slicer-DI1kgq9D.js → Slicer-DE9nFM_c.js} +2 -2
- package/dist/{Slicer-DV29nclP.cjs → Slicer-Dma3nlzi.cjs} +1 -1
- package/dist/{Title-DYwo_Q5b.cjs → Title-Bg_BK11V.cjs} +1 -1
- package/dist/{Title-fAvrqioZ.js → Title-CECK1w9L.js} +1 -1
- package/dist/{Tooltip-TZYYFvPe.js → Tooltip-Ci3AprCm.js} +1 -1
- package/dist/{Tooltip-03RvVGln.cjs → Tooltip-lM1Jzkza.cjs} +1 -1
- package/dist/{index-BKTciLz4.cjs → index-BhH89oF0.cjs} +1 -1
- package/dist/{index-Ca4RHJ4t.js → index-mBy4elhB.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-vP7uimPz.js → useNestedProp-BrIRtQj1.js} +1 -1
- package/dist/{useNestedProp-BFnXnY0k.cjs → useNestedProp-m8IH8hWW.cjs} +1 -1
- package/dist/{usePrinter-CxYg-Dw-.cjs → usePrinter-B8jr_V3b.cjs} +1 -1
- package/dist/{usePrinter-5fwXghqP.js → usePrinter-Ck-yukK2.js} +1 -1
- package/dist/{vue-data-ui-BaLkNH7M.cjs → vue-data-ui-BgaY7Noy.cjs} +1 -1
- package/dist/{vue-data-ui-4VG00HFR.js → vue-data-ui-BuL-2aYA.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-C9a-AsIX.cjs +19 -0
- package/dist/{vue-ui-3d-bar-DPJWcxqV.js → vue-ui-3d-bar-Cv-56A3m.js} +148 -146
- package/dist/{vue-ui-accordion-SXHdW20_.cjs → vue-ui-accordion-Bzq1iTL2.cjs} +1 -1
- package/dist/{vue-ui-accordion-vYoYjedX.js → vue-ui-accordion-dyF20BlD.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BEC4SHLl.js → vue-ui-age-pyramid-BqsDR6uw.js} +83 -81
- package/dist/vue-ui-age-pyramid-DDPU8QV8.cjs +1 -0
- package/dist/{vue-ui-annotator-B1NZRuJJ.cjs → vue-ui-annotator-B9HxrEVE.cjs} +1 -1
- package/dist/{vue-ui-annotator-DFpv61wn.js → vue-ui-annotator-CkJsRR0r.js} +1 -1
- package/dist/{vue-ui-candlestick-AEKT8X3p.js → vue-ui-candlestick-B8eYA2g0.js} +113 -111
- package/dist/vue-ui-candlestick-DbbbJa-d.cjs +2 -0
- package/dist/{vue-ui-carousel-table-DhzVxOvp.js → vue-ui-carousel-table-BCiTg3Ok.js} +4 -4
- package/dist/{vue-ui-carousel-table-DCk2p-1k.cjs → vue-ui-carousel-table-CCWGcKb7.cjs} +1 -1
- package/dist/{vue-ui-chestnut-qqcIpMGB.js → vue-ui-chestnut-DI-N69Ad.js} +161 -159
- package/dist/vue-ui-chestnut-rsWP_sXY.cjs +6 -0
- package/dist/{vue-ui-cursor-CgSghVjL.js → vue-ui-cursor-BUzJk1oC.js} +2 -2
- package/dist/{vue-ui-cursor-CvJgJk1M.cjs → vue-ui-cursor-wY14Z-Vd.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CtJdVmtu.cjs → vue-ui-dashboard-Cf8TYbAr.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CYzkic0X.js → vue-ui-dashboard-CiG3kXLl.js} +2 -2
- package/dist/{vue-ui-digits-C0dMG-hR.cjs → vue-ui-digits-BBho1-xO.cjs} +1 -1
- package/dist/{vue-ui-digits-BO1hSjoq.js → vue-ui-digits-DZJI0YuX.js} +2 -2
- package/dist/{vue-ui-donut-DP-yxiw3.js → vue-ui-donut-CBG9ECp8.js} +118 -116
- package/dist/vue-ui-donut-D4WpeX9W.cjs +1 -0
- package/dist/vue-ui-donut-evolution-BVnSrr-b.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-C-yDyglF.js → vue-ui-donut-evolution-BtTiBfLb.js} +102 -100
- package/dist/vue-ui-dumbbell-BQKiB9yH.cjs +9 -0
- package/dist/{vue-ui-dumbbell-D2SQ4cKV.js → vue-ui-dumbbell-DlEN2c_X.js} +88 -86
- package/dist/{vue-ui-flow-D_E9V2A1.js → vue-ui-flow-CXqGztWj.js} +65 -63
- package/dist/vue-ui-flow-DfMNmttZ.cjs +1 -0
- package/dist/vue-ui-galaxy-CGn5nkD5.cjs +1 -0
- package/dist/{vue-ui-galaxy-DqE2UiA3.js → vue-ui-galaxy-xI38Kf-S.js} +82 -80
- package/dist/{vue-ui-gauge-CFYXDw2p.js → vue-ui-gauge-BEludqYn.js} +56 -54
- package/dist/vue-ui-gauge-Bz-OSNOJ.cjs +1 -0
- package/dist/{vue-ui-gizmo-BWztIJ3j.js → vue-ui-gizmo-BB28OTr1.js} +32 -30
- package/dist/vue-ui-gizmo-CZZB7YgY.cjs +1 -0
- package/dist/vue-ui-heatmap-BtUvE7rK.cjs +1 -0
- package/dist/{vue-ui-heatmap-E1MlhSCs.js → vue-ui-heatmap-mywZXUV8.js} +99 -97
- package/dist/{vue-ui-kpi-BWDPF-9X.cjs → vue-ui-kpi-CEAGjnkj.cjs} +1 -1
- package/dist/{vue-ui-kpi-DeP0XmP7.js → vue-ui-kpi-zr721ux9.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bal12IrX.js → vue-ui-mini-loader-9zyuKIpT.js} +2 -2
- package/dist/{vue-ui-mini-loader-D5e8uW_d.cjs → vue-ui-mini-loader-DBFAzGb2.cjs} +1 -1
- package/dist/{vue-ui-molecule-DHrHeQgF.js → vue-ui-molecule-Bv_ppQig.js} +77 -75
- package/dist/vue-ui-molecule-DltNL0kV.cjs +1 -0
- package/dist/{vue-ui-mood-radar-dJaJotNf.js → vue-ui-mood-radar-CIK2Xohn.js} +76 -74
- package/dist/vue-ui-mood-radar-CQkF2Rp1.cjs +1 -0
- package/dist/{vue-ui-nested-donuts--K9ygdH3.js → vue-ui-nested-donuts-f-cMx3iQ.js} +112 -110
- package/dist/vue-ui-nested-donuts-vHr23QlH.cjs +17 -0
- package/dist/vue-ui-onion-B6ZrryDW.cjs +5 -0
- package/dist/{vue-ui-onion-Bm1inM56.js → vue-ui-onion-CmUXelhy.js} +82 -80
- package/dist/vue-ui-parallel-coordinate-plot-BU0yoxD9.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-9PSGD-LR.js → vue-ui-parallel-coordinate-plot-h9dS2u_k.js} +91 -89
- package/dist/{vue-ui-quadrant-iGQbx93I.js → vue-ui-quadrant-DNT_0fTL.js} +141 -139
- package/dist/vue-ui-quadrant-DPPXilUd.cjs +1 -0
- package/dist/vue-ui-quick-chart-1gG267X0.cjs +15 -0
- package/dist/{vue-ui-quick-chart-DeEQcx6A.js → vue-ui-quick-chart-T6C0BTyw.js} +166 -164
- package/dist/{vue-ui-radar-DfnhsNQV.js → vue-ui-radar-CfCHXIYJ.js} +89 -87
- package/dist/vue-ui-radar-DpzjMFZD.cjs +1 -0
- package/dist/{vue-ui-rating-D0rgVdkT.cjs → vue-ui-rating-DYcT_LS-.cjs} +1 -1
- package/dist/{vue-ui-rating-CCesFD6e.js → vue-ui-rating-DuRLpMwk.js} +2 -2
- package/dist/vue-ui-relation-circle-BMrPtD2n.cjs +1 -0
- package/dist/{vue-ui-relation-circle-D2GXm_Fk.js → vue-ui-relation-circle-WmZMKqHL.js} +54 -52
- package/dist/{vue-ui-rings-B7_-G3JM.js → vue-ui-rings-Ce0Z_osd.js} +97 -93
- package/dist/{vue-ui-rings-CScmcQ1n.cjs → vue-ui-rings-CkYl3uce.cjs} +2 -2
- package/dist/vue-ui-scatter-Cjie2D-t.cjs +1 -0
- package/dist/{vue-ui-scatter-DdhiNjLc.js → vue-ui-scatter-DY9EpoGP.js} +132 -130
- package/dist/{vue-ui-screenshot-BrhjnTwn.cjs → vue-ui-screenshot-BCFym6go.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Cpy2qbf1.js → vue-ui-screenshot-lQLJHBQ2.js} +1 -1
- package/dist/vue-ui-skeleton-Cf89QIhl.cjs +41 -0
- package/dist/{vue-ui-skeleton-D7aLznpP.js → vue-ui-skeleton-DDhwPZd_.js} +423 -388
- package/dist/{vue-ui-smiley-Cj0yi7_H.cjs → vue-ui-smiley-DMA6fgGr.cjs} +1 -1
- package/dist/{vue-ui-smiley-vcpYARLj.js → vue-ui-smiley-xxMwBT9c.js} +2 -2
- package/dist/vue-ui-spark-trend-Btj_H6fa.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CFJSCQnf.js → vue-ui-spark-trend-CLHTqp94.js} +42 -40
- package/dist/{vue-ui-sparkbar-CgRdDfk6.js → vue-ui-sparkbar-Btk6snt4.js} +53 -51
- package/dist/vue-ui-sparkbar-CKrbBVKQ.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-CCPMNge0.js → vue-ui-sparkgauge-DKJtFTSv.js} +31 -29
- package/dist/vue-ui-sparkgauge-DfWLtFYS.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-D5z2Wtpk.js → vue-ui-sparkhistogram-JRLlw9EX.js} +69 -67
- package/dist/vue-ui-sparkhistogram-wHJ-8zVV.cjs +1 -0
- package/dist/vue-ui-sparkline-DElVaalm.cjs +1 -0
- package/dist/{vue-ui-sparkline-KYN0oKt1.js → vue-ui-sparkline-tBF9iaNm.js} +65 -63
- package/dist/{vue-ui-sparkstackbar-7lurD9-4.js → vue-ui-sparkstackbar-BS9I8en7.js} +102 -87
- package/dist/vue-ui-sparkstackbar-tZa2IYHP.cjs +1 -0
- package/dist/{vue-ui-stackbar-CsVmAvl3.js → vue-ui-stackbar-UiX8q4yL.js} +128 -126
- package/dist/vue-ui-stackbar-rOa0atA9.cjs +6 -0
- package/dist/{vue-ui-strip-plot-B63AgKts.js → vue-ui-strip-plot-BOkfg5vB.js} +78 -76
- package/dist/vue-ui-strip-plot-hRy6QRHK.cjs +1 -0
- package/dist/{vue-ui-table-hPqdMR-m.cjs → vue-ui-table-B9dc0l0k.cjs} +1 -1
- package/dist/{vue-ui-table-G5O8K-F_.js → vue-ui-table-Dtfv71zG.js} +1 -1
- package/dist/{vue-ui-table-heatmap-t9Ngijvp.js → vue-ui-table-heatmap-BMl-sP5Q.js} +4 -4
- package/dist/{vue-ui-table-heatmap-BhVuTdSS.cjs → vue-ui-table-heatmap-DUQEHohs.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DtjJrGve.cjs → vue-ui-table-sparkline-BVnGb-lu.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-BX4en1c-.js → vue-ui-table-sparkline-BeunspIj.js} +5 -5
- package/dist/vue-ui-thermometer-A3Xxn5Ly.cjs +1 -0
- package/dist/{vue-ui-thermometer-BWGyDQ7_.js → vue-ui-thermometer-Cb9ALBj_.js} +80 -78
- package/dist/{vue-ui-timer-8AlVLAJi.js → vue-ui-timer-2PRDq1w6.js} +62 -60
- package/dist/vue-ui-timer-DltmIdrq.cjs +64 -0
- package/dist/vue-ui-tiremarks-BTlJcW4v.cjs +1 -0
- package/dist/{vue-ui-tiremarks-DYIHGkBU.js → vue-ui-tiremarks-Bse3PMGV.js} +51 -49
- package/dist/vue-ui-treemap-Cv_mHK8H.cjs +1 -0
- package/dist/{vue-ui-treemap-mmvdTHiX.js → vue-ui-treemap-D8fjVYq0.js} +93 -91
- package/dist/{vue-ui-vertical-bar-DAKHNRoR.js → vue-ui-vertical-bar-BVldPT8k.js} +110 -108
- package/dist/vue-ui-vertical-bar-ZgJq3_CI.cjs +4 -0
- package/dist/vue-ui-waffle-BpeGEjCl.cjs +1 -0
- package/dist/{vue-ui-waffle-B-A4NYNd.js → vue-ui-waffle-wikAjwZY.js} +72 -70
- package/dist/vue-ui-wheel-BlgfdULS.cjs +1 -0
- package/dist/{vue-ui-wheel-DN9WvA6Z.js → vue-ui-wheel-D5qyBs0Y.js} +43 -41
- package/dist/{vue-ui-word-cloud-BWTyaGAT.js → vue-ui-word-cloud-Bcdl2iE-.js} +60 -58
- package/dist/vue-ui-word-cloud-sNzfl_Tq.cjs +1 -0
- package/dist/{vue-ui-xy-Dzp4qCjk.js → vue-ui-xy-CUjllUSv.js} +507 -504
- package/dist/vue-ui-xy-FHLTc7xG.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-CAcTkk_r.cjs → vue-ui-xy-canvas-BJUnRVuf.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-9NPbm7dE.js → vue-ui-xy-canvas-BkOlPU8e.js} +10 -10
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-rOT9iPsm.cjs +0 -19
- package/dist/vue-ui-age-pyramid-HElID9Ax.cjs +0 -1
- package/dist/vue-ui-candlestick-p1s0Av21.cjs +0 -2
- package/dist/vue-ui-chestnut-oFfB3fBF.cjs +0 -6
- package/dist/vue-ui-donut-Dnnoj71c.cjs +0 -1
- package/dist/vue-ui-donut-evolution-vBUH5VVx.cjs +0 -1
- package/dist/vue-ui-dumbbell-BUA_uSse.cjs +0 -9
- package/dist/vue-ui-flow-B-AFlw-n.cjs +0 -1
- package/dist/vue-ui-galaxy-CbL5nONj.cjs +0 -1
- package/dist/vue-ui-gauge-BUV_hQND.cjs +0 -1
- package/dist/vue-ui-gizmo-B-LxuvDh.cjs +0 -1
- package/dist/vue-ui-heatmap-DW5StHKM.cjs +0 -1
- package/dist/vue-ui-molecule-DHBId4h4.cjs +0 -1
- package/dist/vue-ui-mood-radar-DSXB9l99.cjs +0 -1
- package/dist/vue-ui-nested-donuts-CEX2cvop.cjs +0 -17
- package/dist/vue-ui-onion-Iekdjs8b.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-OlFoYL_3.cjs +0 -8
- package/dist/vue-ui-quadrant-CgJeo2zZ.cjs +0 -1
- package/dist/vue-ui-quick-chart-Du8lDPmh.cjs +0 -15
- package/dist/vue-ui-radar-BYk9DWnM.cjs +0 -1
- package/dist/vue-ui-relation-circle-8eoBav4O.cjs +0 -1
- package/dist/vue-ui-scatter-BnBI8qdt.cjs +0 -1
- package/dist/vue-ui-skeleton-pDeQ3NcD.cjs +0 -41
- package/dist/vue-ui-spark-trend-BW8k0jDd.cjs +0 -1
- package/dist/vue-ui-sparkbar-BbJHfAQj.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BESRB8_4.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-BYnSfLdb.cjs +0 -1
- package/dist/vue-ui-sparkline-D5WUy4p5.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-Dy-IfQ3q.cjs +0 -1
- package/dist/vue-ui-stackbar-Ch-fmE9l.cjs +0 -6
- package/dist/vue-ui-strip-plot-BLRl-tF6.cjs +0 -1
- package/dist/vue-ui-thermometer-B07RI9fZ.cjs +0 -1
- package/dist/vue-ui-timer-CXrENAVg.cjs +0 -64
- package/dist/vue-ui-tiremarks-C43c4_IR.cjs +0 -1
- package/dist/vue-ui-treemap-BN90ISQv.cjs +0 -1
- package/dist/vue-ui-vertical-bar-BRDO_Rsu.cjs +0 -4
- package/dist/vue-ui-waffle-BN_yZEtJ.cjs +0 -1
- package/dist/vue-ui-wheel-50_zeiIW.cjs +0 -1
- package/dist/vue-ui-word-cloud-BVoFIb_q.cjs +0 -1
- package/dist/vue-ui-xy-CJHHesUD.cjs +0 -3
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as De, c as Ye, t as qe, a as He, p as I, b as We, g as le, e as K, d as ae, o as Ke, X as Je, s as S, w as
|
|
3
|
-
import { u as tt, U as lt } from "./usePrinter-
|
|
4
|
-
import at from "./vue-ui-skeleton-
|
|
5
|
-
import ot from "./BaseIcon-
|
|
6
|
-
import st from "./vue-ui-accordion-
|
|
7
|
-
import { u as
|
|
8
|
-
import { _ as ut } from "./
|
|
9
|
-
|
|
1
|
+
import { useCssVars as Xe, computed as $, ref as z, watch as Ge, onMounted as Ee, openBlock as a, createElementBlock as o, normalizeClass as m, normalizeStyle as h, createBlock as te, unref as n, createSlots as Ae, withCtx as U, renderSlot as M, normalizeProps as pe, guardReactiveProps as ge, createCommentVNode as f, createVNode as _e, toDisplayString as c, createElementVNode as s, Fragment as g, renderList as _, createTextVNode as W, withKeys as Ue, nextTick as xe } from "vue";
|
|
2
|
+
import { u as De, c as Ye, t as qe, a as He, p as I, b as We, g as le, e as K, d as ae, o as Ke, X as Je, s as S, w as me, i as G, f as T, F as ke, m as we, j as Qe, k as P, n as H, q as Ze, r as et } from "./index-mBy4elhB.js";
|
|
3
|
+
import { u as tt, U as lt } from "./usePrinter-Ck-yukK2.js";
|
|
4
|
+
import at from "./vue-ui-skeleton-DDhwPZd_.js";
|
|
5
|
+
import ot from "./BaseIcon-DfaCNBgc.js";
|
|
6
|
+
import st from "./vue-ui-accordion-dyF20BlD.js";
|
|
7
|
+
import { u as $e } from "./useNestedProp-BrIRtQj1.js";
|
|
8
|
+
import { _ as ut } from "./PackageVersion-D9PU8glB.js";
|
|
9
|
+
import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
+
const rt = ["id"], it = ["xmlns", "viewBox"], ct = { key: 0 }, dt = ["fill", "font-weight", "font-size", "x", "y"], vt = ["fill", "font-weight", "font-size", "x", "y"], yt = ["id"], ht = ["stop-color"], ft = ["stop-color"], bt = ["id"], pt = ["stop-color"], gt = ["stop-color"], _t = ["id"], xt = ["stop-color"], mt = ["stop-color"], kt = ["stop-color"], wt = ["id"], $t = ["stop-color"], Ct = ["stop-color"], zt = ["stop-color"], Tt = ["id"], Nt = ["stop-color"], St = ["stop-color"], Ft = ["stop-color"], Lt = { key: 1 }, It = ["x", "y", "font-size", "font-weight", "fill"], Pt = ["x", "y", "font-size", "font-weight", "fill"], Vt = ["d", "stroke"], Rt = ["cx", "cy", "r", "fill"], Bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], Mt = { key: 2 }, jt = ["x", "y", "font-size", "fill", "onClick"], Ot = { key: 0 }, Xt = ["x", "y", "fill", "font-size", "font-weight"], Gt = ["x", "y", "height", "width", "fill", "rx", "onClick"], Et = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], At = { key: 3 }, Ut = ["x", "y", "fill", "font-size", "onClick"], Dt = ["d", "stroke"], Yt = ["fill", "cx", "cy", "r", "onClick"], qt = { key: 4 }, Ht = ["x", "y", "font-size", "font-weight", "fill"], Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Kt = ["y", "height", "width"], Jt = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, Qt = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Zt = {
|
|
10
11
|
viewBox: "0 0 20 20",
|
|
11
12
|
height: "16",
|
|
12
13
|
width: "16"
|
|
13
|
-
},
|
|
14
|
+
}, el = ["fill"], tl = { key: 6 }, ll = ["y", "height", "width"], al = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, ol = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, sl = {
|
|
14
15
|
viewBox: "0 0 20 20",
|
|
15
16
|
height: "16",
|
|
16
17
|
width: "16"
|
|
17
|
-
},
|
|
18
|
+
}, ul = ["fill"], nl = ["cx", "cy", "fill"], rl = ["d", "stroke"], il = ["cx", "cy", "fill"], cl = ["d", "stroke"], dl = ["cx", "cy", "fill"], vl = ["cx", "cy", "fill"], yl = ["x", "y", "fill", "font-size", "font-weight"], hl = ["x", "y", "fill", "font-size", "font-weight"], fl = ["x", "text-anchor", "y", "fill", "font-size"], bl = ["x", "text-anchor", "y", "fill", "font-size"], pl = ["x", "text-anchor", "y", "fill", "font-size"], gl = ["x", "text-anchor", "y", "fill", "font-size"], _l = ["x", "text-anchor", "y", "fill", "font-size"], xl = ["x", "y", "font-size", "fill"], ml = ["x", "y", "font-size", "fill"], kl = ["x", "y", "font-size", "fill"], wl = {
|
|
18
19
|
key: 2,
|
|
19
20
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
21
|
+
}, $l = { style: { "padding-top": "36px", position: "relative" } }, Cl = { class: "vue-ui-data-table" }, zl = { key: 0 }, Tl = ["data-cell"], Nl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Sl = { key: 0 }, Fl = { key: 1 }, Ll = ["data-cell"], Il = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Pl = { key: 0 }, Vl = { key: 1 }, Rl = ["data-cell"], Bl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ml = { key: 0 }, jl = { key: 1 }, Ol = ["data-cell"], Xl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Gl = { key: 0 }, El = { key: 1 }, Al = ["data-cell"], Ul = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Dl = { key: 0 }, Yl = { key: 1 }, ql = ["data-cell"], Hl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Wl = { key: 0 }, Kl = { key: 1 }, Jl = ["data-cell"], Ql = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Zl = { key: 0 }, ea = { key: 1 }, ta = ["data-cell"], la = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, aa = ["data-cell"], oa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, sa = ["data-cell"], ua = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, na = ["data-cell"], ra = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ia = ["data-cell"], ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, da = {
|
|
21
22
|
__name: "vue-ui-chestnut",
|
|
22
23
|
props: {
|
|
23
24
|
config: {
|
|
@@ -34,29 +35,29 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
34
35
|
}
|
|
35
36
|
},
|
|
36
37
|
emits: ["selectRoot", "selectBranch", "selectNut"],
|
|
37
|
-
setup(
|
|
38
|
-
const V =
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
setup(Ce, { expose: ze, emit: E }) {
|
|
39
|
+
const V = Ce;
|
|
40
|
+
Xe((l) => ({
|
|
41
|
+
"1ff4e893": l.tdo
|
|
41
42
|
}));
|
|
42
|
-
const { vue_ui_chestnut:
|
|
43
|
+
const { vue_ui_chestnut: Te } = De(), D = $(() => !!V.dataset && V.dataset.length), k = z(Ye()), oe = z(null), Ne = z(null), se = z(0), e = $({
|
|
43
44
|
get: () => ue(),
|
|
44
45
|
set: (l) => l
|
|
45
46
|
});
|
|
46
47
|
function ue() {
|
|
47
|
-
const l =
|
|
48
|
+
const l = $e({
|
|
48
49
|
userConfig: V.config,
|
|
49
|
-
defaultConfig:
|
|
50
|
+
defaultConfig: Te
|
|
50
51
|
});
|
|
51
52
|
return l.theme ? {
|
|
52
|
-
|
|
53
|
+
...$e({
|
|
53
54
|
userConfig: qe.vue_ui_chestnut[l.theme] || V.config,
|
|
54
55
|
defaultConfig: l
|
|
55
56
|
}),
|
|
56
57
|
customPalette: He[l.theme] || I
|
|
57
58
|
} : l;
|
|
58
59
|
}
|
|
59
|
-
|
|
60
|
+
Ge(() => V.config, (l) => {
|
|
60
61
|
e.value = ue(), he();
|
|
61
62
|
}, { deep: !0 });
|
|
62
63
|
const { isPrinting: ne, isImaging: re, generatePdf: ie, generateImage: ce } = tt({
|
|
@@ -64,7 +65,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
64
65
|
fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut"
|
|
65
66
|
}), J = $(() => We(e.value.customPalette)), Y = z({
|
|
66
67
|
showTable: e.value.table.show
|
|
67
|
-
}), Q = z(null), de = z(!1),
|
|
68
|
+
}), Q = z(null), de = z(!1), Se = $(() => e.value.table.responsiveBreakpoint), r = z({
|
|
68
69
|
gap: 6,
|
|
69
70
|
padding: {
|
|
70
71
|
top: 102,
|
|
@@ -169,23 +170,23 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
169
170
|
}))
|
|
170
171
|
};
|
|
171
172
|
})));
|
|
172
|
-
function
|
|
173
|
+
function Fe() {
|
|
173
174
|
return N.value;
|
|
174
175
|
}
|
|
175
|
-
const
|
|
176
|
-
const t = C.value.height / N.value.length / 2, u = l.total /
|
|
176
|
+
const Le = $(() => N.value.flatMap((l) => l.branches).length), Ie = $(() => Math.max(...N.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), Pe = $(() => Math.max(...N.value.flatMap((l) => l.branches.map((i) => i.value)))), ve = $(() => 256 + r.value.padding.left), j = $(() => N.value.sort((l, i) => i.total - l.total).map((l, i) => {
|
|
177
|
+
const t = C.value.height / N.value.length / 2, u = l.total / Ie.value * (t > 64 ? 64 : t);
|
|
177
178
|
return {
|
|
178
179
|
...l,
|
|
179
180
|
x: C.value.seedX,
|
|
180
181
|
y: C.value.top + C.value.height / N.value.length * (i + 1) - (C.value.height / N.value.length / 2 + r.value.gap / 2),
|
|
181
182
|
r: u < r.value.branchSize / 2 ? r.value.branchSize / 2 : u
|
|
182
183
|
};
|
|
183
|
-
})),
|
|
184
|
+
})), Ve = $(() => 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), Re = $(() => j.value.flatMap((l) => l.branches)), O = $(() => Re.value.sort((l, i) => i.value - l.value).map((l, i) => ({
|
|
184
185
|
...l,
|
|
185
186
|
y1: i * r.value.branchSize + C.value.top + i * r.value.gap,
|
|
186
187
|
y2: i * r.value.branchSize + r.value.branchSize,
|
|
187
188
|
x1: ve.value,
|
|
188
|
-
x2: 384 * l.value /
|
|
189
|
+
x2: 384 * l.value / Pe.value * Ve.value + ve.value
|
|
189
190
|
})));
|
|
190
191
|
function Z(l) {
|
|
191
192
|
const i = j.value.find((t) => t.rootIndex === l.rootIndex);
|
|
@@ -198,9 +199,9 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
198
199
|
function L(l) {
|
|
199
200
|
return F.value ? F.value === null ? !0 : l.type === "root" ? l.id === F.value.id : l.rootIndex === F.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;
|
|
200
201
|
}
|
|
201
|
-
function
|
|
202
|
-
w(),
|
|
203
|
-
d.value = l, x.value = l, B.value =
|
|
202
|
+
function Be(l) {
|
|
203
|
+
w(), xe(() => {
|
|
204
|
+
d.value = l, x.value = l, B.value = we(
|
|
204
205
|
{ series: l.breakdown, base: 1 },
|
|
205
206
|
l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
206
207
|
l.y1 + r.value.branchSize / 2,
|
|
@@ -218,21 +219,21 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
218
219
|
function ye(l) {
|
|
219
220
|
F.value && F.value.id === l.id ? (w(), E("selectRoot", null)) : (w(), F.value = l, E("selectRoot", l));
|
|
220
221
|
}
|
|
221
|
-
function
|
|
222
|
+
function Me() {
|
|
222
223
|
return C.value.bottom - (d.value.y1 + 180) < 0 ? 0 : C.value.bottom;
|
|
223
224
|
}
|
|
224
225
|
function A(l) {
|
|
225
226
|
return l.proportion * 100 > e.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
|
|
226
227
|
}
|
|
227
|
-
function
|
|
228
|
+
function je() {
|
|
228
229
|
const l = new ResizeObserver((i) => {
|
|
229
230
|
i.forEach((t) => {
|
|
230
|
-
de.value = t.contentRect.width <
|
|
231
|
+
de.value = t.contentRect.width < Se.value;
|
|
231
232
|
});
|
|
232
233
|
});
|
|
233
234
|
Q.value && l.observe(Q.value);
|
|
234
235
|
}
|
|
235
|
-
|
|
236
|
+
Ee(() => {
|
|
236
237
|
he();
|
|
237
238
|
});
|
|
238
239
|
function he() {
|
|
@@ -240,8 +241,8 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
240
241
|
componentName: "VueUiChestnut",
|
|
241
242
|
type: "dataset"
|
|
242
243
|
});
|
|
243
|
-
const l =
|
|
244
|
-
r.value.height = l,
|
|
244
|
+
const l = Le.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
|
|
245
|
+
r.value.height = l, je();
|
|
245
246
|
}
|
|
246
247
|
const v = $(() => {
|
|
247
248
|
const l = [
|
|
@@ -257,11 +258,11 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
257
258
|
e.value.table.th.translations.nutToBranch,
|
|
258
259
|
e.value.table.th.translations.nutToRoot,
|
|
259
260
|
e.value.table.th.translations.nutToTotal
|
|
260
|
-
], i = N.value.flatMap((t, u) => t.branches.flatMap((b, y) => b.breakdown.flatMap((p,
|
|
261
|
+
], i = N.value.flatMap((t, u) => t.branches.flatMap((b, y) => b.breakdown.flatMap((p, va) => p.table)));
|
|
261
262
|
return { head: l, body: i };
|
|
262
263
|
});
|
|
263
264
|
function fe() {
|
|
264
|
-
|
|
265
|
+
xe(() => {
|
|
265
266
|
const l = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", R.value], [""]], i = v.value.head, t = v.value.body.map((y, p) => [
|
|
266
267
|
v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootName,
|
|
267
268
|
v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootValue,
|
|
@@ -280,14 +281,14 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
280
281
|
});
|
|
281
282
|
}
|
|
282
283
|
const q = z(!1);
|
|
283
|
-
function
|
|
284
|
+
function Oe(l) {
|
|
284
285
|
q.value = l, se.value += 1;
|
|
285
286
|
}
|
|
286
287
|
function be() {
|
|
287
288
|
Y.value.showTable = !Y.value.showTable;
|
|
288
289
|
}
|
|
289
|
-
return
|
|
290
|
-
getData:
|
|
290
|
+
return ze({
|
|
291
|
+
getData: Fe,
|
|
291
292
|
generatePdf: ie,
|
|
292
293
|
generateCsv: fe,
|
|
293
294
|
generateImage: ce,
|
|
@@ -301,7 +302,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
301
302
|
}, [
|
|
302
303
|
e.value.userOptions.show && D.value ? (a(), te(lt, {
|
|
303
304
|
ref_key: "details",
|
|
304
|
-
ref:
|
|
305
|
+
ref: Ne,
|
|
305
306
|
key: `user_options_${se.value}`,
|
|
306
307
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
307
308
|
color: e.value.style.chart.color,
|
|
@@ -317,12 +318,12 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
317
318
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
318
319
|
chartElement: oe.value,
|
|
319
320
|
position: e.value.userOptions.position,
|
|
320
|
-
onToggleFullscreen:
|
|
321
|
+
onToggleFullscreen: Oe,
|
|
321
322
|
onGeneratePdf: n(ie),
|
|
322
323
|
onGenerateCsv: fe,
|
|
323
324
|
onGenerateImage: n(ce),
|
|
324
325
|
onToggleTable: be
|
|
325
|
-
},
|
|
326
|
+
}, Ae({ _: 2 }, [
|
|
326
327
|
l.$slots.optionPdf ? {
|
|
327
328
|
name: "optionPdf",
|
|
328
329
|
fn: U(() => [
|
|
@@ -366,7 +367,8 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
366
367
|
viewBox: `0 0 ${r.value.width} ${r.value.height}`,
|
|
367
368
|
style: h(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
368
369
|
}, [
|
|
369
|
-
|
|
370
|
+
_e(ut),
|
|
371
|
+
d.value ? f("", !0) : (a(), o("g", ct, [
|
|
370
372
|
e.value.style.chart.layout.title.text ? (a(), o("text", {
|
|
371
373
|
key: 0,
|
|
372
374
|
"text-anchor": "middle",
|
|
@@ -376,7 +378,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
376
378
|
x: r.value.width / 2,
|
|
377
379
|
y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
|
|
378
380
|
onClick: w
|
|
379
|
-
}, c(e.value.style.chart.layout.title.text), 9,
|
|
381
|
+
}, c(e.value.style.chart.layout.title.text), 9, dt)) : f("", !0),
|
|
380
382
|
e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
|
|
381
383
|
key: 1,
|
|
382
384
|
"text-anchor": "middle",
|
|
@@ -386,7 +388,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
386
388
|
x: r.value.width / 2,
|
|
387
389
|
y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
|
|
388
390
|
onClick: w
|
|
389
|
-
}, c(e.value.style.chart.layout.title.subtitle.text), 9,
|
|
391
|
+
}, c(e.value.style.chart.layout.title.subtitle.text), 9, vt)) : f("", !0)
|
|
390
392
|
])),
|
|
391
393
|
s("defs", null, [
|
|
392
394
|
(a(!0), o(g, null, _(N.value, (t, u) => (a(), o("radialGradient", {
|
|
@@ -399,13 +401,13 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
399
401
|
}, [
|
|
400
402
|
s("stop", {
|
|
401
403
|
offset: "0%",
|
|
402
|
-
"stop-color": n(S)(n(
|
|
403
|
-
}, null, 8,
|
|
404
|
+
"stop-color": n(S)(n(me)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
|
|
405
|
+
}, null, 8, ht),
|
|
404
406
|
s("stop", {
|
|
405
407
|
offset: "100%",
|
|
406
408
|
"stop-color": t.color
|
|
407
|
-
}, null, 8,
|
|
408
|
-
], 8,
|
|
409
|
+
}, null, 8, ft)
|
|
410
|
+
], 8, yt))), 256)),
|
|
409
411
|
(a(!0), o(g, null, _(N.value, (t) => (a(), o("linearGradient", {
|
|
410
412
|
x1: "0%",
|
|
411
413
|
y1: "0%",
|
|
@@ -416,12 +418,12 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
416
418
|
s("stop", {
|
|
417
419
|
offset: "0%",
|
|
418
420
|
"stop-color": t.color
|
|
419
|
-
}, null, 8,
|
|
421
|
+
}, null, 8, pt),
|
|
420
422
|
s("stop", {
|
|
421
423
|
offset: "100%",
|
|
422
|
-
"stop-color": n(S)(n(
|
|
423
|
-
}, null, 8,
|
|
424
|
-
], 8,
|
|
424
|
+
"stop-color": n(S)(n(me)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
|
|
425
|
+
}, null, 8, gt)
|
|
426
|
+
], 8, bt))), 256)),
|
|
425
427
|
s("radialGradient", {
|
|
426
428
|
cx: "50%",
|
|
427
429
|
cy: "50%",
|
|
@@ -433,16 +435,16 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
433
435
|
s("stop", {
|
|
434
436
|
offset: "0%",
|
|
435
437
|
"stop-color": n(S)("#FFFFFF", 0)
|
|
436
|
-
}, null, 8,
|
|
438
|
+
}, null, 8, xt),
|
|
437
439
|
s("stop", {
|
|
438
440
|
offset: "80%",
|
|
439
441
|
"stop-color": n(S)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
|
|
440
|
-
}, null, 8,
|
|
442
|
+
}, null, 8, mt),
|
|
441
443
|
s("stop", {
|
|
442
444
|
offset: "100%",
|
|
443
445
|
"stop-color": n(S)("#FFFFFF", 0)
|
|
444
|
-
}, null, 8,
|
|
445
|
-
], 8,
|
|
446
|
+
}, null, 8, kt)
|
|
447
|
+
], 8, _t),
|
|
446
448
|
s("radialGradient", {
|
|
447
449
|
cx: "50%",
|
|
448
450
|
cy: "50%",
|
|
@@ -454,16 +456,16 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
454
456
|
s("stop", {
|
|
455
457
|
offset: "0%",
|
|
456
458
|
"stop-color": n(S)("#FFFFFF", 0)
|
|
457
|
-
}, null, 8,
|
|
459
|
+
}, null, 8, $t),
|
|
458
460
|
s("stop", {
|
|
459
461
|
offset: "80%",
|
|
460
462
|
"stop-color": n(S)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
|
|
461
|
-
}, null, 8,
|
|
463
|
+
}, null, 8, Ct),
|
|
462
464
|
s("stop", {
|
|
463
465
|
offset: "100%",
|
|
464
466
|
"stop-color": n(S)("#FFFFFF", 0)
|
|
465
|
-
}, null, 8,
|
|
466
|
-
], 8,
|
|
467
|
+
}, null, 8, zt)
|
|
468
|
+
], 8, wt),
|
|
467
469
|
s("radialGradient", {
|
|
468
470
|
cx: "50%",
|
|
469
471
|
cy: "50%",
|
|
@@ -475,18 +477,18 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
475
477
|
s("stop", {
|
|
476
478
|
offset: "0%",
|
|
477
479
|
"stop-color": n(S)(e.value.style.chart.backgroundColor, 100)
|
|
478
|
-
}, null, 8,
|
|
480
|
+
}, null, 8, Nt),
|
|
479
481
|
s("stop", {
|
|
480
482
|
offset: "80%",
|
|
481
483
|
"stop-color": n(S)(e.value.style.chart.backgroundColor, 60)
|
|
482
|
-
}, null, 8,
|
|
484
|
+
}, null, 8, St),
|
|
483
485
|
s("stop", {
|
|
484
486
|
offset: "100%",
|
|
485
487
|
"stop-color": n(S)(e.value.style.chart.backgroundColor, 0)
|
|
486
|
-
}, null, 8,
|
|
487
|
-
], 8,
|
|
488
|
+
}, null, 8, Ft)
|
|
489
|
+
], 8, Tt)
|
|
488
490
|
]),
|
|
489
|
-
e.value.style.chart.layout.grandTotal.show ? (a(), o("g",
|
|
491
|
+
e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Lt, [
|
|
490
492
|
s("text", {
|
|
491
493
|
x: C.value.seedX,
|
|
492
494
|
y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
|
|
@@ -495,7 +497,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
495
497
|
fill: e.value.style.chart.layout.grandTotal.color,
|
|
496
498
|
"text-anchor": "middle",
|
|
497
499
|
onClick: w
|
|
498
|
-
}, c(e.value.style.chart.layout.grandTotal.text), 9,
|
|
500
|
+
}, c(e.value.style.chart.layout.grandTotal.text), 9, It),
|
|
499
501
|
s("text", {
|
|
500
502
|
x: C.value.seedX,
|
|
501
503
|
y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
|
|
@@ -513,7 +515,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
513
515
|
s: e.value.style.chart.layout.grandTotal.suffix,
|
|
514
516
|
r: e.value.style.chart.layout.grandTotal.roundingValue
|
|
515
517
|
})
|
|
516
|
-
)), 9,
|
|
518
|
+
)), 9, Pt)
|
|
517
519
|
])) : f("", !0),
|
|
518
520
|
(a(!0), o(g, null, _(O.value, (t) => (a(), o("g", null, [
|
|
519
521
|
(a(!0), o(g, null, _(r.value.branchSize, (u, b) => (a(), o("path", {
|
|
@@ -529,7 +531,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
529
531
|
"shape-rendering": "cirspEdges",
|
|
530
532
|
style: h(`opacity:${L(t) ? 1 : 0}`),
|
|
531
533
|
onClick: w
|
|
532
|
-
}, null, 12,
|
|
534
|
+
}, null, 12, Vt))), 256))
|
|
533
535
|
]))), 256)),
|
|
534
536
|
(a(!0), o(g, null, _(j.value, (t) => (a(), o("circle", {
|
|
535
537
|
cx: t.x,
|
|
@@ -538,7 +540,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
538
540
|
fill: e.value.style.chart.layout.roots.underlayerColor,
|
|
539
541
|
stroke: "none",
|
|
540
542
|
style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`)
|
|
541
|
-
}, null, 12,
|
|
543
|
+
}, null, 12, Rt))), 256)),
|
|
542
544
|
(a(!0), o(g, null, _(j.value, (t, u) => (a(), o("circle", {
|
|
543
545
|
cx: t.x,
|
|
544
546
|
cy: t.y,
|
|
@@ -548,14 +550,14 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
548
550
|
"stroke-width": e.value.style.chart.layout.roots.strokeWidth,
|
|
549
551
|
style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
|
|
550
552
|
onClick: (b) => ye(t)
|
|
551
|
-
}, null, 12,
|
|
552
|
-
e.value.style.chart.layout.roots.labels.show ? (a(), o("g",
|
|
553
|
+
}, null, 12, Bt))), 256)),
|
|
554
|
+
e.value.style.chart.layout.roots.labels.show ? (a(), o("g", Mt, [
|
|
553
555
|
(a(!0), o(g, null, _(j.value, (t, u) => (a(), o("text", {
|
|
554
556
|
x: t.x,
|
|
555
557
|
y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
|
|
556
558
|
"text-anchor": "middle",
|
|
557
559
|
"font-size": e.value.style.chart.layout.roots.labels.fontSize,
|
|
558
|
-
fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? n(
|
|
560
|
+
fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? n(ke)(t.color) : e.value.style.chart.layout.roots.labels.color,
|
|
559
561
|
"font-weight": "bold",
|
|
560
562
|
style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
|
|
561
563
|
onClick: (b) => ye(t)
|
|
@@ -569,9 +571,9 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
569
571
|
r: e.value.style.chart.layout.roots.labels.roundingValue
|
|
570
572
|
}),
|
|
571
573
|
{ datapoint: t }
|
|
572
|
-
)), 13,
|
|
574
|
+
)), 13, jt))), 256)),
|
|
573
575
|
(a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
|
|
574
|
-
d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || F.value && t.rootIndex === F.value.rootIndex ? (a(), o("g",
|
|
576
|
+
d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || F.value && t.rootIndex === F.value.rootIndex ? (a(), o("g", Ot, [
|
|
575
577
|
s("text", {
|
|
576
578
|
x: t.x,
|
|
577
579
|
y: t.y + t.r + 24,
|
|
@@ -580,7 +582,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
580
582
|
"font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
|
|
581
583
|
"font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
|
|
582
584
|
onClick: w
|
|
583
|
-
}, c(t.name), 9,
|
|
585
|
+
}, c(t.name), 9, Xt)
|
|
584
586
|
])) : f("", !0)
|
|
585
587
|
]))), 256))
|
|
586
588
|
])) : f("", !0),
|
|
@@ -594,7 +596,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
594
596
|
stroke: "none",
|
|
595
597
|
style: h(`opacity:${L(t) ? 1 : 0.05}`),
|
|
596
598
|
onClick: (u) => ee(t)
|
|
597
|
-
}, null, 12,
|
|
599
|
+
}, null, 12, Gt))), 256)),
|
|
598
600
|
(a(!0), o(g, null, _(O.value, (t, u) => (a(), o("rect", {
|
|
599
601
|
x: t.x1,
|
|
600
602
|
y: t.y1,
|
|
@@ -606,15 +608,15 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
606
608
|
"stroke-width": e.value.style.chart.layout.branches.strokeWidth,
|
|
607
609
|
style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
|
|
608
610
|
onClick: (b) => ee(t)
|
|
609
|
-
}, null, 12,
|
|
610
|
-
e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g",
|
|
611
|
+
}, null, 12, Et))), 256)),
|
|
612
|
+
e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", At, [
|
|
611
613
|
(a(!0), o(g, null, _(O.value, (t) => (a(), o("g", null, [
|
|
612
614
|
t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
|
|
613
615
|
key: 0,
|
|
614
616
|
x: t.x1 + 6,
|
|
615
617
|
y: t.y1 + r.value.branchSize / 1.5,
|
|
616
618
|
"text-anchor": "start",
|
|
617
|
-
fill: n(
|
|
619
|
+
fill: n(ke)(t.color),
|
|
618
620
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
619
621
|
"font-weight": "bold",
|
|
620
622
|
style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
|
|
@@ -629,11 +631,11 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
629
631
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
630
632
|
}),
|
|
631
633
|
{ datapoint: t }
|
|
632
|
-
)), 13,
|
|
634
|
+
)), 13, Ut)) : f("", !0)
|
|
633
635
|
]))), 256))
|
|
634
636
|
])) : f("", !0),
|
|
635
637
|
(a(!0), o(g, null, _(O.value, (t, u) => (a(), o("g", null, [
|
|
636
|
-
(a(!0), o(g, null, _(n(
|
|
638
|
+
(a(!0), o(g, null, _(n(we)(
|
|
637
639
|
{ series: t.breakdown, base: 1 },
|
|
638
640
|
t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
639
641
|
t.y1 + r.value.branchSize / 2,
|
|
@@ -645,17 +647,17 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
645
647
|
"stroke-width": 10,
|
|
646
648
|
fill: "none",
|
|
647
649
|
style: h(`opacity:${L(t) ? 1 : 0.1}`)
|
|
648
|
-
}, null, 12,
|
|
650
|
+
}, null, 12, Dt))), 256)),
|
|
649
651
|
s("circle", {
|
|
650
652
|
fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${k.value})` : "transparent",
|
|
651
653
|
cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
652
654
|
cy: t.y1 + r.value.branchSize / 2,
|
|
653
655
|
r: r.value.branchSize / 2 + 2,
|
|
654
|
-
onClick: (b) =>
|
|
656
|
+
onClick: (b) => Be(t),
|
|
655
657
|
style: h(`cursor:pointer;opacity:${L(t) ? 1 : 0.1}`)
|
|
656
|
-
}, null, 12,
|
|
658
|
+
}, null, 12, Yt)
|
|
657
659
|
]))), 256)),
|
|
658
|
-
e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g",
|
|
660
|
+
e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", qt, [
|
|
659
661
|
(a(!0), o(g, null, _(O.value, (t) => (a(), o("text", {
|
|
660
662
|
x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
661
663
|
y: t.y1 + r.value.branchSize / 2 + 5,
|
|
@@ -664,7 +666,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
664
666
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
665
667
|
"text-anchor": "start",
|
|
666
668
|
style: h(`opacity:${L(t) ? 1 : 0.1}`)
|
|
667
|
-
}, c(t.name), 13,
|
|
669
|
+
}, c(t.name), 13, Ht))), 256))
|
|
668
670
|
])) : f("", !0),
|
|
669
671
|
s("line", {
|
|
670
672
|
x1: 256 + r.value.padding.left,
|
|
@@ -673,7 +675,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
673
675
|
y2: C.value.bottom,
|
|
674
676
|
stroke: e.value.style.chart.layout.verticalSeparator.stroke,
|
|
675
677
|
"stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
|
|
676
|
-
}, null, 8,
|
|
678
|
+
}, null, 8, Wt),
|
|
677
679
|
!d.value && !x.value ? (a(), o("foreignObject", {
|
|
678
680
|
key: 5,
|
|
679
681
|
x: 0,
|
|
@@ -683,19 +685,19 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
683
685
|
style: { overflow: "visible" },
|
|
684
686
|
onClick: w
|
|
685
687
|
}, [
|
|
686
|
-
s("div",
|
|
687
|
-
s("div",
|
|
688
|
+
s("div", Jt, [
|
|
689
|
+
s("div", Qt, [
|
|
688
690
|
(a(!0), o(g, null, _(j.value, (t) => (a(), o("div", {
|
|
689
691
|
style: h(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
|
|
690
692
|
}, [
|
|
691
|
-
(a(), o("svg",
|
|
693
|
+
(a(), o("svg", Zt, [
|
|
692
694
|
s("circle", {
|
|
693
695
|
cx: "10",
|
|
694
696
|
cy: "10",
|
|
695
697
|
r: "10",
|
|
696
698
|
fill: t.color,
|
|
697
699
|
stroke: "none"
|
|
698
|
-
}, null, 8,
|
|
700
|
+
}, null, 8, el)
|
|
699
701
|
])),
|
|
700
702
|
s("span", null, c(t.name) + ":", 1),
|
|
701
703
|
s("b", null, c(n(G)(
|
|
@@ -717,30 +719,30 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
717
719
|
], 4))), 256))
|
|
718
720
|
])
|
|
719
721
|
])
|
|
720
|
-
], 8,
|
|
721
|
-
d.value && B.value ? (a(), o("g",
|
|
722
|
+
], 8, Kt)) : f("", !0),
|
|
723
|
+
d.value && B.value ? (a(), o("g", tl, [
|
|
722
724
|
(a(), o("foreignObject", {
|
|
723
725
|
x: 0,
|
|
724
|
-
y:
|
|
726
|
+
y: Me(),
|
|
725
727
|
height: r.value.height - C.value.bottom,
|
|
726
728
|
width: r.value.width,
|
|
727
729
|
style: { overflow: "visible" },
|
|
728
730
|
onClick: w
|
|
729
731
|
}, [
|
|
730
|
-
s("div",
|
|
732
|
+
s("div", al, [
|
|
731
733
|
s("b", null, c(d.value.name), 1),
|
|
732
|
-
s("div",
|
|
734
|
+
s("div", ol, [
|
|
733
735
|
(a(!0), o(g, null, _(d.value.breakdown, (t, u) => (a(), o("div", {
|
|
734
736
|
style: h(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
|
|
735
737
|
}, [
|
|
736
|
-
(a(), o("svg",
|
|
738
|
+
(a(), o("svg", sl, [
|
|
737
739
|
s("circle", {
|
|
738
740
|
cx: "10",
|
|
739
741
|
cy: "10",
|
|
740
742
|
r: "10",
|
|
741
743
|
fill: t.color,
|
|
742
744
|
stroke: "none"
|
|
743
|
-
}, null, 8,
|
|
745
|
+
}, null, 8, ul)
|
|
744
746
|
])),
|
|
745
747
|
s("span", null, [
|
|
746
748
|
W(c(t.name) + ": ", 1),
|
|
@@ -750,7 +752,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
750
752
|
], 4))), 256))
|
|
751
753
|
])
|
|
752
754
|
])
|
|
753
|
-
], 8,
|
|
755
|
+
], 8, ll)),
|
|
754
756
|
s("circle", {
|
|
755
757
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
756
758
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
@@ -758,7 +760,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
758
760
|
fill: `url(#nut_underlayer_${k.value})`,
|
|
759
761
|
onClick: X,
|
|
760
762
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
761
|
-
}, null, 10,
|
|
763
|
+
}, null, 10, nl),
|
|
762
764
|
(a(!0), o(g, null, _(B.value, (t) => (a(), o("g", null, [
|
|
763
765
|
A(t) ? (a(), o("path", {
|
|
764
766
|
key: 0,
|
|
@@ -780,7 +782,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
780
782
|
"stroke-linejoin": "round",
|
|
781
783
|
fill: "none",
|
|
782
784
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
783
|
-
}, null, 10,
|
|
785
|
+
}, null, 10, rl)) : f("", !0)
|
|
784
786
|
]))), 256)),
|
|
785
787
|
s("circle", {
|
|
786
788
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
@@ -789,7 +791,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
789
791
|
fill: e.value.style.chart.backgroundColor,
|
|
790
792
|
onClick: X,
|
|
791
793
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
792
|
-
}, null, 10,
|
|
794
|
+
}, null, 10, il),
|
|
793
795
|
(a(!0), o(g, null, _(B.value, (t) => (a(), o("path", {
|
|
794
796
|
d: t.path,
|
|
795
797
|
stroke: t.color,
|
|
@@ -797,7 +799,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
797
799
|
fill: "none",
|
|
798
800
|
onClick: X,
|
|
799
801
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
800
|
-
}, null, 10,
|
|
802
|
+
}, null, 10, cl))), 256)),
|
|
801
803
|
s("circle", {
|
|
802
804
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
803
805
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
@@ -805,7 +807,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
805
807
|
fill: `url(#nutpick_${k.value})`,
|
|
806
808
|
onClick: X,
|
|
807
809
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
808
|
-
}, null, 10,
|
|
810
|
+
}, null, 10, dl),
|
|
809
811
|
s("circle", {
|
|
810
812
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
811
813
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
@@ -813,7 +815,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
813
815
|
fill: e.value.style.chart.backgroundColor,
|
|
814
816
|
onClick: X,
|
|
815
817
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
816
|
-
}, null, 10,
|
|
818
|
+
}, null, 10, vl),
|
|
817
819
|
s("text", {
|
|
818
820
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
819
821
|
y: d.value.y1 + 8,
|
|
@@ -823,7 +825,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
823
825
|
"text-anchor": "middle",
|
|
824
826
|
onClick: X,
|
|
825
827
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
826
|
-
}, c(e.value.translations.total), 11,
|
|
828
|
+
}, c(e.value.translations.total), 11, yl),
|
|
827
829
|
s("text", {
|
|
828
830
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
829
831
|
y: d.value.y1 + 36,
|
|
@@ -843,7 +845,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
843
845
|
r: e.value.style.chart.layout.nuts.selected.roundingValue
|
|
844
846
|
}),
|
|
845
847
|
{ datapoint: d.value }
|
|
846
|
-
)), 11,
|
|
848
|
+
)), 11, hl),
|
|
847
849
|
(a(!0), o(g, null, _(B.value, (t, u) => (a(), o("g", null, [
|
|
848
850
|
A(t) ? (a(), o("text", {
|
|
849
851
|
key: 0,
|
|
@@ -854,7 +856,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
854
856
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
855
857
|
style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
856
858
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
857
|
-
}, " ⬤ ", 14,
|
|
859
|
+
}, " ⬤ ", 14, fl)) : f("", !0),
|
|
858
860
|
A(t) ? (a(), o("text", {
|
|
859
861
|
key: 1,
|
|
860
862
|
x: n(P)(t, !0).x,
|
|
@@ -864,7 +866,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
864
866
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
865
867
|
style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
866
868
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
867
|
-
}, c(d.value.breakdown[u].name), 15,
|
|
869
|
+
}, c(d.value.breakdown[u].name), 15, bl)) : f("", !0)
|
|
868
870
|
]))), 256)),
|
|
869
871
|
(a(!0), o(g, null, _(B.value, (t, u) => (a(), o("g", null, [
|
|
870
872
|
A(t) ? (a(), o("text", {
|
|
@@ -890,7 +892,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
890
892
|
r: e.value.style.chart.layout.nuts.selected.roundingValue
|
|
891
893
|
}),
|
|
892
894
|
{ datapoint: B.value, seriesIndex: u }
|
|
893
|
-
)), 15,
|
|
895
|
+
)), 15, pl)) : f("", !0),
|
|
894
896
|
A(t) ? (a(), o("text", {
|
|
895
897
|
key: 1,
|
|
896
898
|
x: n(P)(t, !0).x,
|
|
@@ -904,7 +906,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
904
906
|
v: d.value.breakdown[u].proportionToRoot * 100,
|
|
905
907
|
s: "%",
|
|
906
908
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
907
|
-
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[u].rootName), 15,
|
|
909
|
+
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[u].rootName), 15, gl)) : f("", !0),
|
|
908
910
|
A(t) ? (a(), o("text", {
|
|
909
911
|
key: 2,
|
|
910
912
|
x: n(P)(t, !0).x,
|
|
@@ -918,7 +920,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
918
920
|
v: d.value.breakdown[u].proportionToTree * 100,
|
|
919
921
|
s: "%",
|
|
920
922
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
921
|
-
})) + " " + c(e.value.translations.proportionToTree), 15,
|
|
923
|
+
})) + " " + c(e.value.translations.proportionToTree), 15, _l)) : f("", !0)
|
|
922
924
|
]))), 256))
|
|
923
925
|
])) : f("", !0),
|
|
924
926
|
(a(!0), o(g, null, _(O.value, (t) => (a(), o("g", null, [
|
|
@@ -941,7 +943,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
941
943
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
942
944
|
}),
|
|
943
945
|
{ datapoint: t }
|
|
944
|
-
)), 9,
|
|
946
|
+
)), 9, xl)) : f("", !0),
|
|
945
947
|
x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
|
|
946
948
|
key: 1,
|
|
947
949
|
x: t.x1 + 6,
|
|
@@ -954,7 +956,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
954
956
|
v: t.proportionToRoot * 100,
|
|
955
957
|
s: "%",
|
|
956
958
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
957
|
-
})) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9,
|
|
959
|
+
})) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, ml)) : f("", !0),
|
|
958
960
|
x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
|
|
959
961
|
key: 2,
|
|
960
962
|
x: t.x1 + 6,
|
|
@@ -967,11 +969,11 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
967
969
|
v: t.value / R.value * 100,
|
|
968
970
|
s: "%",
|
|
969
971
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
970
|
-
})) + " " + c(e.value.translations.proportionToTree), 9,
|
|
972
|
+
})) + " " + c(e.value.translations.proportionToTree), 9, kl)) : f("", !0)
|
|
971
973
|
]))), 256)),
|
|
972
974
|
M(l.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
973
|
-
], 14,
|
|
974
|
-
l.$slots.watermark ? (a(), o("div",
|
|
975
|
+
], 14, it)) : f("", !0),
|
|
976
|
+
l.$slots.watermark ? (a(), o("div", wl, [
|
|
975
977
|
M(l.$slots, "watermark", pe(ge({ isPrinting: n(ne) || n(re) })), void 0, !0)
|
|
976
978
|
])) : f("", !0),
|
|
977
979
|
D.value ? f("", !0) : (a(), te(at, {
|
|
@@ -1009,15 +1011,15 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
1009
1011
|
ref: Q,
|
|
1010
1012
|
class: "vue-ui-chestnut-table"
|
|
1011
1013
|
}, [
|
|
1012
|
-
s("div",
|
|
1014
|
+
s("div", $l, [
|
|
1013
1015
|
s("div", {
|
|
1014
1016
|
role: "button",
|
|
1015
1017
|
tabindex: "0",
|
|
1016
1018
|
style: h(`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};`),
|
|
1017
1019
|
onClick: i[0] || (i[0] = (t) => Y.value.showTable = !1),
|
|
1018
|
-
onKeypress: i[1] || (i[1] =
|
|
1020
|
+
onKeypress: i[1] || (i[1] = Ue((t) => Y.value.showTable = !1, ["enter"]))
|
|
1019
1021
|
}, [
|
|
1020
|
-
|
|
1022
|
+
_e(ot, {
|
|
1021
1023
|
name: "close",
|
|
1022
1024
|
stroke: e.value.table.th.color,
|
|
1023
1025
|
"stroke-width": 2
|
|
@@ -1027,13 +1029,13 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
1027
1029
|
style: { width: "100%" },
|
|
1028
1030
|
class: m({ "vue-ui-responsive": de.value })
|
|
1029
1031
|
}, [
|
|
1030
|
-
s("table",
|
|
1032
|
+
s("table", Cl, [
|
|
1031
1033
|
s("caption", {
|
|
1032
1034
|
style: h({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
|
|
1033
1035
|
class: "vue-ui-data-table__caption"
|
|
1034
1036
|
}, [
|
|
1035
1037
|
W(c(e.value.style.chart.layout.title.text) + " ", 1),
|
|
1036
|
-
e.value.style.chart.layout.title.subtitle.text ? (a(), o("span",
|
|
1038
|
+
e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", zl, c(e.value.style.chart.layout.title.subtitle.text), 1)) : f("", !0)
|
|
1037
1039
|
], 4),
|
|
1038
1040
|
s("thead", null, [
|
|
1039
1041
|
s("tr", {
|
|
@@ -1055,99 +1057,99 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
1055
1057
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1056
1058
|
"data-cell": v.value.head[0]
|
|
1057
1059
|
}, [
|
|
1058
|
-
s("div",
|
|
1059
|
-
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span",
|
|
1060
|
+
s("div", Nl, [
|
|
1061
|
+
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Sl)) : (a(), o("span", Fl, c(t.rootName), 1))
|
|
1060
1062
|
])
|
|
1061
|
-
], 12,
|
|
1063
|
+
], 12, Tl),
|
|
1062
1064
|
s("td", {
|
|
1063
1065
|
class: "vue-ui-data-table__tbody__td",
|
|
1064
1066
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1065
1067
|
"data-cell": v.value.head[1]
|
|
1066
1068
|
}, [
|
|
1067
|
-
s("div",
|
|
1068
|
-
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span",
|
|
1069
|
+
s("div", Il, [
|
|
1070
|
+
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Pl)) : (a(), o("span", Vl, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
|
|
1069
1071
|
])
|
|
1070
|
-
], 12,
|
|
1072
|
+
], 12, Ll),
|
|
1071
1073
|
s("td", {
|
|
1072
1074
|
class: "vue-ui-data-table__tbody__td",
|
|
1073
1075
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1074
1076
|
"data-cell": v.value.head[2]
|
|
1075
1077
|
}, [
|
|
1076
|
-
s("div",
|
|
1077
|
-
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span",
|
|
1078
|
+
s("div", Bl, [
|
|
1079
|
+
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Ml)) : (a(), o("span", jl, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1078
1080
|
])
|
|
1079
|
-
], 12,
|
|
1081
|
+
], 12, Rl),
|
|
1080
1082
|
s("td", {
|
|
1081
1083
|
class: "vue-ui-data-table__tbody__td",
|
|
1082
1084
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1083
1085
|
"data-cell": v.value.head[3]
|
|
1084
1086
|
}, [
|
|
1085
|
-
s("div",
|
|
1086
|
-
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span",
|
|
1087
|
+
s("div", Xl, [
|
|
1088
|
+
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Gl)) : (a(), o("span", El, c(t.branchName), 1))
|
|
1087
1089
|
])
|
|
1088
|
-
], 12,
|
|
1090
|
+
], 12, Ol),
|
|
1089
1091
|
s("td", {
|
|
1090
1092
|
class: "vue-ui-data-table__tbody__td",
|
|
1091
1093
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1092
1094
|
"data-cell": v.value.head[4]
|
|
1093
1095
|
}, [
|
|
1094
|
-
s("div",
|
|
1095
|
-
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span",
|
|
1096
|
+
s("div", Ul, [
|
|
1097
|
+
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Dl)) : (a(), o("span", Yl, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
|
|
1096
1098
|
])
|
|
1097
|
-
], 12,
|
|
1099
|
+
], 12, Al),
|
|
1098
1100
|
s("td", {
|
|
1099
1101
|
class: "vue-ui-data-table__tbody__td",
|
|
1100
1102
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1101
1103
|
"data-cell": v.value.head[5]
|
|
1102
1104
|
}, [
|
|
1103
|
-
s("div",
|
|
1104
|
-
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span",
|
|
1105
|
+
s("div", Hl, [
|
|
1106
|
+
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Wl)) : (a(), o("span", Kl, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1105
1107
|
])
|
|
1106
|
-
], 12,
|
|
1108
|
+
], 12, ql),
|
|
1107
1109
|
s("td", {
|
|
1108
1110
|
class: "vue-ui-data-table__tbody__td",
|
|
1109
1111
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1110
1112
|
"data-cell": v.value.head[6]
|
|
1111
1113
|
}, [
|
|
1112
|
-
s("div",
|
|
1113
|
-
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span",
|
|
1114
|
+
s("div", Ql, [
|
|
1115
|
+
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Zl)) : (a(), o("span", ea, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1114
1116
|
])
|
|
1115
|
-
], 12,
|
|
1117
|
+
], 12, Jl),
|
|
1116
1118
|
s("td", {
|
|
1117
1119
|
class: "vue-ui-data-table__tbody__td",
|
|
1118
1120
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1119
1121
|
"data-cell": v.value.head[7]
|
|
1120
1122
|
}, [
|
|
1121
|
-
s("div",
|
|
1122
|
-
], 12,
|
|
1123
|
+
s("div", la, c(t.nutName), 1)
|
|
1124
|
+
], 12, ta),
|
|
1123
1125
|
s("td", {
|
|
1124
1126
|
class: "vue-ui-data-table__tbody__td",
|
|
1125
1127
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1126
1128
|
"data-cell": v.value.head[8]
|
|
1127
1129
|
}, [
|
|
1128
|
-
s("div",
|
|
1129
|
-
], 12,
|
|
1130
|
+
s("div", oa, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
|
|
1131
|
+
], 12, aa),
|
|
1130
1132
|
s("td", {
|
|
1131
1133
|
class: "vue-ui-data-table__tbody__td",
|
|
1132
1134
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1133
1135
|
"data-cell": v.value.head[9]
|
|
1134
1136
|
}, [
|
|
1135
|
-
s("div",
|
|
1136
|
-
], 12,
|
|
1137
|
+
s("div", ua, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1138
|
+
], 12, sa),
|
|
1137
1139
|
s("td", {
|
|
1138
1140
|
class: "vue-ui-data-table__tbody__td",
|
|
1139
1141
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1140
1142
|
"data-cell": v.value.head[10]
|
|
1141
1143
|
}, [
|
|
1142
|
-
s("div",
|
|
1143
|
-
], 12,
|
|
1144
|
+
s("div", ra, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1145
|
+
], 12, na),
|
|
1144
1146
|
s("td", {
|
|
1145
1147
|
class: "vue-ui-data-table__tbody__td",
|
|
1146
1148
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1147
1149
|
"data-cell": v.value.head[11]
|
|
1148
1150
|
}, [
|
|
1149
|
-
s("div",
|
|
1150
|
-
], 12,
|
|
1151
|
+
s("div", ca, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1152
|
+
], 12, ia)
|
|
1151
1153
|
], 6))), 256))
|
|
1152
1154
|
])
|
|
1153
1155
|
])
|
|
@@ -1157,9 +1159,9 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
1157
1159
|
]),
|
|
1158
1160
|
_: 1
|
|
1159
1161
|
}, 8, ["config"])) : f("", !0)
|
|
1160
|
-
], 14,
|
|
1162
|
+
], 14, rt));
|
|
1161
1163
|
}
|
|
1162
|
-
},
|
|
1164
|
+
}, ka = /* @__PURE__ */ nt(da, [["__scopeId", "data-v-c10dbcb5"]]);
|
|
1163
1165
|
export {
|
|
1164
|
-
|
|
1166
|
+
ka as default
|
|
1165
1167
|
};
|