vue-data-ui 2.4.50 → 2.4.51
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/README.md +12 -0
- package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-2a_SwBgz.cjs} +1 -1
- package/dist/{Arrow-D1z9KkQN.js → Arrow-BUz63pb2.js} +1 -1
- package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
- package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-CmiukQBl.js} +1 -1
- package/dist/{DataTable-CQ8fQnex.js → DataTable-DGf6RrOJ.js} +2 -2
- package/dist/{DataTable-CovKV5Yy.cjs → DataTable-G3ICK-5h.cjs} +1 -1
- package/dist/{Legend-Br7MWNDo.js → Legend-BLaZxMge.js} +1 -1
- package/dist/{Legend-Bbz-hKDf.cjs → Legend-BiuPlEMg.cjs} +1 -1
- package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
- package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-CxJghxYD.js} +1 -1
- package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
- package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-ZdZEumki.js} +3 -3
- package/dist/{Shape-B7Mekpyf.js → Shape-DIKzzpFm.js} +1 -1
- package/dist/{Shape-BD37ZaX9.cjs → Shape-yducHWd0.cjs} +1 -1
- package/dist/{Slicer-CWvkt-8k.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
- package/dist/{Slicer-ahFReg7h.js → Slicer-Cxdl3cDt.js} +2 -2
- package/dist/{Title-C2siG5N2.cjs → Title-Bk_55doC.cjs} +1 -1
- package/dist/{Title-CIsKiWgN.js → Title-aSAft5dl.js} +1 -1
- package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-G7ENx87_.cjs} +1 -1
- package/dist/{Tooltip-B1LgrF9R.js → Tooltip-smutPF--.js} +1 -1
- package/dist/{index-BtL_cLa8.js → index-BbPeL8Gp.js} +5 -1
- package/dist/index-DhDYBLBe.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +5 -1
- package/dist/types/vue-data-ui.d.ts +5 -1
- package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-BN8claGG.js} +1 -1
- package/dist/{useNestedProp-D_feh7A_.cjs → useNestedProp-BphUExEh.cjs} +1 -1
- package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
- package/dist/{usePrinter-sRt2SKr2.js → usePrinter-DaybDVqP.js} +1 -1
- package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
- package/dist/useUserOptionState-BgepsfED.cjs +1 -0
- package/dist/{vue-data-ui-CuEYAddV.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
- package/dist/{vue-data-ui-NkhaiK6y.js → vue-data-ui-Ckbp-yIf.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-DUgumRsg.cjs +19 -0
- package/dist/{vue-ui-3d-bar-BeXYzdzu.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
- package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
- package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
- package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
- package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
- package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
- package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
- package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
- package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
- package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
- package/dist/{vue-ui-carousel-table-I1m4HMWf.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
- package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
- package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
- package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
- package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
- package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
- package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
- package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-BEWCnojc.js} +2 -2
- package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
- package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
- package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
- package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
- package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
- package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
- package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-hD0F6mTK.js} +164 -158
- package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
- package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-hcbE4yky.js} +178 -172
- package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
- package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
- package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
- package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-PGirbe6O.js} +220 -214
- package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
- package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
- package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
- package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
- package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
- package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
- package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-DjC68pSz.js} +3 -3
- package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
- package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
- package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
- package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DXj4Ce6l.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
- package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
- package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
- package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
- package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
- package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
- package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
- package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
- package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
- package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-BKpD9xDr.js} +256 -250
- package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
- package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
- package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-DQRuqev5.js} +2 -2
- package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
- package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
- package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
- package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-C1PV0873.js} +177 -172
- package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
- package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
- package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
- package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
- package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
- package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
- package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
- package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
- package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
- package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
- package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
- package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
- package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
- package/dist/{vue-ui-strip-plot-BfWQMGXy.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
- package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
- package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-CsEajH9S.js} +1 -1
- package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
- package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
- package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-YV8DUOqh.js} +173 -167
- package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
- package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
- package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
- package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-DvE_nqd9.js} +5 -5
- package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
- package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
- package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
- package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
- package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
- package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
- package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
- package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
- package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
- package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
- package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
- package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
- package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-CXoWP8bh.js} +708 -697
- package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
- package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
- package/package.json +1 -1
- package/dist/index-DoD-GxZR.cjs +0 -9
- package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
- package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
- package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
- package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
- package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
- package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
- package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
- package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
- package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
- package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
- package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
- package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
- package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
- package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
- package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
- package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
- package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
- package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
- package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
- package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
- package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
- package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
- package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
- package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
- package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
- package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
- package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
- package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
- package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
- package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
- package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
- package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
- package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
- package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
- package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
- package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
- package/dist/vue-ui-wheel-D3itrMku.js +0 -299
- package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
- package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
- package/dist/vue-ui-xy-canvas-uikeVe72.cjs +0 -9
|
@@ -1,34 +1,35 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { u as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { P as
|
|
10
|
-
import {
|
|
11
|
-
|
|
1
|
+
import { useCssVars as Ye, computed as m, ref as T, watch as qe, onMounted as He, openBlock as a, createElementBlock as o, normalizeClass as k, normalizeStyle as h, unref as n, createBlock as K, createCommentVNode as f, createSlots as We, withCtx as X, renderSlot as I, normalizeProps as se, guardReactiveProps as ue, createVNode as $e, toDisplayString as c, createElementVNode as s, Fragment as g, renderList as _, createTextVNode as J, withKeys as Ke, nextTick as Ce } from "vue";
|
|
2
|
+
import { u as Je, c as Qe, t as Ze, a as et, p as P, b as tt, g as ne, e as Q, d as re, o as lt, X as at, s as S, w as Te, i as G, f as z, G as ze, m as Ne, j as ot, k as V, n as H, q as st, r as ut } from "./index-BbPeL8Gp.js";
|
|
3
|
+
import { u as nt, U as rt } from "./usePrinter-DaybDVqP.js";
|
|
4
|
+
import it from "./vue-ui-skeleton-Bniq21d9.js";
|
|
5
|
+
import ct from "./BaseIcon-CmiukQBl.js";
|
|
6
|
+
import dt from "./vue-ui-accordion-5d5iVpr7.js";
|
|
7
|
+
import { u as Se } from "./useNestedProp-BN8claGG.js";
|
|
8
|
+
import { _ as vt } from "./PackageVersion-CxJghxYD.js";
|
|
9
|
+
import { P as yt } from "./PenAndPaper-ZdZEumki.js";
|
|
10
|
+
import { u as ht } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
|
+
import { _ as ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
+
const bt = ["id"], pt = {
|
|
12
13
|
key: 1,
|
|
13
14
|
ref: "noTitle",
|
|
14
15
|
class: "vue-data-ui-no-title-space",
|
|
15
16
|
style: "height:36px; width: 100%;background:transparent"
|
|
16
|
-
},
|
|
17
|
+
}, gt = ["xmlns", "viewBox"], _t = { key: 0 }, xt = ["fill", "font-weight", "font-size", "x", "y"], mt = ["fill", "font-weight", "font-size", "x", "y"], kt = ["id"], wt = ["stop-color"], $t = ["stop-color"], Ct = ["id"], Tt = ["stop-color"], zt = ["stop-color"], Nt = ["id"], St = ["stop-color"], Ft = ["stop-color"], Lt = ["stop-color"], It = ["id"], Pt = ["stop-color"], Vt = ["stop-color"], Mt = ["stop-color"], Ot = ["id"], Rt = ["stop-color"], Bt = ["stop-color"], jt = ["stop-color"], At = { key: 1 }, Xt = ["x", "y", "font-size", "font-weight", "fill"], Gt = ["x", "y", "font-size", "font-weight", "fill"], Et = ["d", "stroke"], Ut = ["cx", "cy", "r", "fill"], Dt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], Yt = { key: 2 }, qt = ["x", "y", "font-size", "fill", "onClick"], Ht = { key: 0 }, Wt = ["x", "y", "fill", "font-size", "font-weight"], Kt = ["x", "y", "height", "width", "fill", "rx", "onClick"], Jt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], Qt = { key: 3 }, Zt = ["x", "y", "fill", "font-size", "onClick"], el = ["d", "stroke"], tl = ["fill", "cx", "cy", "r", "onClick"], ll = { key: 4 }, al = ["x", "y", "font-size", "font-weight", "fill"], ol = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], sl = ["y", "height", "width"], ul = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, nl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, rl = {
|
|
17
18
|
viewBox: "0 0 20 20",
|
|
18
19
|
height: "16",
|
|
19
20
|
width: "16"
|
|
20
|
-
},
|
|
21
|
+
}, il = ["fill"], cl = { key: 6 }, dl = ["y", "height", "width"], vl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, yl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, hl = {
|
|
21
22
|
viewBox: "0 0 20 20",
|
|
22
23
|
height: "16",
|
|
23
24
|
width: "16"
|
|
24
|
-
},
|
|
25
|
+
}, fl = ["fill"], bl = ["cx", "cy", "fill"], pl = ["d", "stroke"], gl = ["cx", "cy", "fill"], _l = ["d", "stroke"], xl = ["cx", "cy", "fill"], ml = ["cx", "cy", "fill"], kl = ["x", "y", "fill", "font-size", "font-weight"], wl = ["x", "y", "fill", "font-size", "font-weight"], $l = ["x", "text-anchor", "y", "fill", "font-size"], Cl = ["x", "text-anchor", "y", "fill", "font-size"], Tl = ["x", "text-anchor", "y", "fill", "font-size"], zl = ["x", "text-anchor", "y", "fill", "font-size"], Nl = ["x", "text-anchor", "y", "fill", "font-size"], Sl = ["x", "y", "font-size", "fill"], Fl = ["x", "y", "font-size", "fill"], Ll = ["x", "y", "font-size", "fill"], Il = {
|
|
25
26
|
key: 4,
|
|
26
27
|
class: "vue-data-ui-watermark"
|
|
27
|
-
},
|
|
28
|
+
}, Pl = {
|
|
28
29
|
key: 6,
|
|
29
30
|
ref: "source",
|
|
30
31
|
dir: "auto"
|
|
31
|
-
},
|
|
32
|
+
}, Vl = { style: { "padding-top": "36px", position: "relative" } }, Ml = { class: "vue-ui-data-table" }, Ol = { key: 0 }, Rl = ["data-cell"], Bl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, jl = { key: 0 }, Al = { key: 1 }, Xl = ["data-cell"], Gl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, El = { key: 0 }, Ul = { key: 1 }, Dl = ["data-cell"], Yl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ql = { key: 0 }, Hl = { key: 1 }, Wl = ["data-cell"], Kl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Jl = { key: 0 }, Ql = { key: 1 }, Zl = ["data-cell"], ea = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ta = { key: 0 }, la = { key: 1 }, aa = ["data-cell"], oa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, sa = { key: 0 }, ua = { key: 1 }, na = ["data-cell"], ra = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ia = { key: 0 }, ca = { key: 1 }, da = ["data-cell"], va = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ya = ["data-cell"], ha = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, fa = ["data-cell"], ba = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, pa = ["data-cell"], ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, _a = ["data-cell"], xa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ma = {
|
|
32
33
|
__name: "vue-ui-chestnut",
|
|
33
34
|
props: {
|
|
34
35
|
config: {
|
|
@@ -45,37 +46,37 @@ const vt = ["id"], yt = {
|
|
|
45
46
|
}
|
|
46
47
|
},
|
|
47
48
|
emits: ["selectRoot", "selectBranch", "selectNut"],
|
|
48
|
-
setup(
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
setup(Fe, { expose: Le, emit: E }) {
|
|
50
|
+
const M = Fe;
|
|
51
|
+
Ye((l) => ({
|
|
52
|
+
c8600a90: l.tdo
|
|
52
53
|
}));
|
|
53
|
-
const { vue_ui_chestnut:
|
|
54
|
-
get: () =>
|
|
54
|
+
const { vue_ui_chestnut: Ie } = Je(), D = m(() => !!M.dataset && M.dataset.length), w = T(Qe()), Z = T(null), Pe = T(null), ie = T(0), e = m({
|
|
55
|
+
get: () => ye(),
|
|
55
56
|
set: (l) => l
|
|
56
|
-
});
|
|
57
|
-
function
|
|
58
|
-
const l =
|
|
59
|
-
userConfig:
|
|
60
|
-
defaultConfig:
|
|
57
|
+
}), { userOptionsVisible: ce, setUserOptionsVisibility: de, keepUserOptionState: ve } = ht({ config: e.value });
|
|
58
|
+
function ye() {
|
|
59
|
+
const l = Se({
|
|
60
|
+
userConfig: M.config,
|
|
61
|
+
defaultConfig: Ie
|
|
61
62
|
});
|
|
62
63
|
return l.theme ? {
|
|
63
|
-
...
|
|
64
|
-
userConfig:
|
|
64
|
+
...Se({
|
|
65
|
+
userConfig: Ze.vue_ui_chestnut[l.theme] || M.config,
|
|
65
66
|
defaultConfig: l
|
|
66
67
|
}),
|
|
67
|
-
customPalette:
|
|
68
|
+
customPalette: et[l.theme] || P
|
|
68
69
|
} : l;
|
|
69
70
|
}
|
|
70
|
-
|
|
71
|
-
e.value =
|
|
71
|
+
qe(() => M.config, (l) => {
|
|
72
|
+
e.value = ye(), me();
|
|
72
73
|
}, { deep: !0 });
|
|
73
|
-
const { isPrinting:
|
|
74
|
+
const { isPrinting: he, isImaging: fe, generatePdf: be, generateImage: pe } = nt({
|
|
74
75
|
elementId: `vue-ui-chestnut_${w.value}`,
|
|
75
76
|
fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut"
|
|
76
|
-
}),
|
|
77
|
+
}), Ve = m(() => e.value.userOptions.show), ee = m(() => tt(e.value.customPalette)), Y = T({
|
|
77
78
|
showTable: e.value.table.show
|
|
78
|
-
}), te = T(null),
|
|
79
|
+
}), te = T(null), ge = T(!1), Me = m(() => e.value.table.responsiveBreakpoint), r = T({
|
|
79
80
|
gap: 6,
|
|
80
81
|
padding: {
|
|
81
82
|
top: 102,
|
|
@@ -95,7 +96,7 @@ const vt = ["id"], yt = {
|
|
|
95
96
|
width: r.value.width - (r.value.padding.left + r.value.padding.right),
|
|
96
97
|
height: r.value.height - (r.value.padding.top + r.value.padding.bottom),
|
|
97
98
|
seedX: r.value.padding.left + 64
|
|
98
|
-
})),
|
|
99
|
+
})), O = m(() => D.value ? M.dataset.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0) : 0), N = m(() => (M.dataset.forEach((l, i) => {
|
|
99
100
|
ne({
|
|
100
101
|
datasetObject: l,
|
|
101
102
|
requiredAttributes: ["name", "branches"]
|
|
@@ -131,7 +132,7 @@ const vt = ["id"], yt = {
|
|
|
131
132
|
});
|
|
132
133
|
});
|
|
133
134
|
});
|
|
134
|
-
}),
|
|
135
|
+
}), M.dataset.map((l, i) => {
|
|
135
136
|
const t = (l.branches || []).map((u) => u.value || 0).reduce((u, b) => u + b, 0);
|
|
136
137
|
return {
|
|
137
138
|
...l,
|
|
@@ -153,14 +154,14 @@ const vt = ["id"], yt = {
|
|
|
153
154
|
table: {
|
|
154
155
|
rootName: l.name,
|
|
155
156
|
rootValue: t,
|
|
156
|
-
rootToTotal: t /
|
|
157
|
+
rootToTotal: t / O.value,
|
|
157
158
|
branchName: u.name,
|
|
158
159
|
branchValue: u.value,
|
|
159
|
-
branchToTotal: u.value /
|
|
160
|
+
branchToTotal: u.value / O.value,
|
|
160
161
|
branchToRoot: u.value / t,
|
|
161
162
|
nutName: y.name,
|
|
162
163
|
nutValue: y.value,
|
|
163
|
-
nutToTotal: y.value /
|
|
164
|
+
nutToTotal: y.value / O.value,
|
|
164
165
|
nutToRoot: y.value / t,
|
|
165
166
|
nutToBranch: y.value / u.value
|
|
166
167
|
},
|
|
@@ -171,7 +172,7 @@ const vt = ["id"], yt = {
|
|
|
171
172
|
branchTotal: u.value >= 0 ? u.value : 0,
|
|
172
173
|
proportionToBranch: y.value / u.value,
|
|
173
174
|
proportionToRoot: y.value / t,
|
|
174
|
-
proportionToTree: y.value /
|
|
175
|
+
proportionToTree: y.value / O.value,
|
|
175
176
|
rootIndex: i,
|
|
176
177
|
id: y.id || `nut_${i}_${b}_${p}_${w.value}`,
|
|
177
178
|
color: re(y.color) || ee.value[p] || P[p] || P[p % P.length],
|
|
@@ -180,38 +181,38 @@ const vt = ["id"], yt = {
|
|
|
180
181
|
}))
|
|
181
182
|
};
|
|
182
183
|
})));
|
|
183
|
-
function
|
|
184
|
+
function Oe() {
|
|
184
185
|
return N.value;
|
|
185
186
|
}
|
|
186
|
-
const
|
|
187
|
-
const t = C.value.height / N.value.length / 2, u = l.total /
|
|
187
|
+
const Re = m(() => N.value.flatMap((l) => l.branches).length), Be = m(() => Math.max(...N.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), je = m(() => Math.max(...N.value.flatMap((l) => l.branches.map((i) => i.value)))), _e = m(() => 256 + r.value.padding.left), B = m(() => N.value.sort((l, i) => i.total - l.total).map((l, i) => {
|
|
188
|
+
const t = C.value.height / N.value.length / 2, u = l.total / Be.value * (t > 64 ? 64 : t);
|
|
188
189
|
return {
|
|
189
190
|
...l,
|
|
190
191
|
x: C.value.seedX,
|
|
191
192
|
y: C.value.top + C.value.height / N.value.length * (i + 1) - (C.value.height / N.value.length / 2 + r.value.gap / 2),
|
|
192
193
|
r: u < r.value.branchSize / 2 ? r.value.branchSize / 2 : u
|
|
193
194
|
};
|
|
194
|
-
})),
|
|
195
|
+
})), Ae = m(() => 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), Xe = m(() => B.value.flatMap((l) => l.branches)), j = m(() => Xe.value.sort((l, i) => i.value - l.value).map((l, i) => ({
|
|
195
196
|
...l,
|
|
196
197
|
y1: i * r.value.branchSize + C.value.top + i * r.value.gap,
|
|
197
198
|
y2: i * r.value.branchSize + r.value.branchSize,
|
|
198
|
-
x1:
|
|
199
|
-
x2: 384 * l.value /
|
|
199
|
+
x1: _e.value,
|
|
200
|
+
x2: 384 * l.value / je.value * Ae.value + _e.value
|
|
200
201
|
})));
|
|
201
202
|
function le(l) {
|
|
202
|
-
const i =
|
|
203
|
+
const i = B.value.find((t) => t.rootIndex === l.rootIndex);
|
|
203
204
|
return { x: i.x, y: i.y, r: i.r };
|
|
204
205
|
}
|
|
205
|
-
const d = T(null),
|
|
206
|
+
const d = T(null), R = T(null), x = T(null), F = T(null);
|
|
206
207
|
function $() {
|
|
207
208
|
d.value = null, x.value = null, F.value = null;
|
|
208
209
|
}
|
|
209
210
|
function L(l) {
|
|
210
211
|
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;
|
|
211
212
|
}
|
|
212
|
-
function
|
|
213
|
-
$(),
|
|
214
|
-
d.value = l, x.value = l,
|
|
213
|
+
function Ge(l) {
|
|
214
|
+
$(), Ce(() => {
|
|
215
|
+
d.value = l, x.value = l, R.value = Ne(
|
|
215
216
|
{ series: l.breakdown, base: 1 },
|
|
216
217
|
l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
217
218
|
l.y1 + r.value.branchSize / 2,
|
|
@@ -221,38 +222,38 @@ const vt = ["id"], yt = {
|
|
|
221
222
|
});
|
|
222
223
|
}
|
|
223
224
|
function A() {
|
|
224
|
-
d.value = null,
|
|
225
|
+
d.value = null, R.value = null, E("selectNut", null);
|
|
225
226
|
}
|
|
226
227
|
function ae(l) {
|
|
227
228
|
x.value && x.value.id === l.id ? (x.value = null, $(), E("selectBranch", null)) : ($(), x.value = l, E("selectBranch", l));
|
|
228
229
|
}
|
|
229
|
-
function
|
|
230
|
+
function xe(l) {
|
|
230
231
|
F.value && F.value.id === l.id ? ($(), E("selectRoot", null)) : ($(), F.value = l, E("selectRoot", l));
|
|
231
232
|
}
|
|
232
|
-
function
|
|
233
|
+
function Ee() {
|
|
233
234
|
return C.value.bottom - (d.value.y1 + 180) < 0 ? 0 : C.value.bottom;
|
|
234
235
|
}
|
|
235
236
|
function U(l) {
|
|
236
237
|
return l.proportion * 100 > e.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
|
|
237
238
|
}
|
|
238
|
-
function
|
|
239
|
+
function Ue() {
|
|
239
240
|
const l = new ResizeObserver((i) => {
|
|
240
241
|
i.forEach((t) => {
|
|
241
|
-
|
|
242
|
+
ge.value = t.contentRect.width < Me.value;
|
|
242
243
|
});
|
|
243
244
|
});
|
|
244
245
|
te.value && l.observe(te.value);
|
|
245
246
|
}
|
|
246
|
-
|
|
247
|
-
|
|
247
|
+
He(() => {
|
|
248
|
+
me();
|
|
248
249
|
});
|
|
249
|
-
function
|
|
250
|
-
|
|
250
|
+
function me() {
|
|
251
|
+
lt(M.dataset) && Q({
|
|
251
252
|
componentName: "VueUiChestnut",
|
|
252
253
|
type: "dataset"
|
|
253
254
|
});
|
|
254
|
-
const l =
|
|
255
|
-
r.value.height = l,
|
|
255
|
+
const l = Re.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
|
|
256
|
+
r.value.height = l, Ue();
|
|
256
257
|
}
|
|
257
258
|
const v = m(() => {
|
|
258
259
|
const l = [
|
|
@@ -268,12 +269,12 @@ const vt = ["id"], yt = {
|
|
|
268
269
|
e.value.table.th.translations.nutToBranch,
|
|
269
270
|
e.value.table.th.translations.nutToRoot,
|
|
270
271
|
e.value.table.th.translations.nutToTotal
|
|
271
|
-
], i = N.value.flatMap((t, u) => t.branches.flatMap((b, y) => b.breakdown.flatMap((p,
|
|
272
|
+
], i = N.value.flatMap((t, u) => t.branches.flatMap((b, y) => b.breakdown.flatMap((p, ka) => p.table)));
|
|
272
273
|
return { head: l, body: i };
|
|
273
274
|
});
|
|
274
|
-
function
|
|
275
|
-
|
|
276
|
-
const l = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total",
|
|
275
|
+
function ke() {
|
|
276
|
+
Ce(() => {
|
|
277
|
+
const l = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", O.value], [""]], i = v.value.head, t = v.value.body.map((y, p) => [
|
|
277
278
|
v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootName,
|
|
278
279
|
v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootValue,
|
|
279
280
|
v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootToTotal,
|
|
@@ -286,36 +287,38 @@ const vt = ["id"], yt = {
|
|
|
286
287
|
y.nutToBranch,
|
|
287
288
|
y.nutToRoot,
|
|
288
289
|
y.nutToTotal
|
|
289
|
-
]), u = l.concat([i]).concat(t), b =
|
|
290
|
-
|
|
290
|
+
]), u = l.concat([i]).concat(t), b = st(u);
|
|
291
|
+
ut({ csvContent: b, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
|
|
291
292
|
});
|
|
292
293
|
}
|
|
293
294
|
const q = T(!1);
|
|
294
|
-
function
|
|
295
|
+
function De(l) {
|
|
295
296
|
q.value = l, ie.value += 1;
|
|
296
297
|
}
|
|
297
|
-
function
|
|
298
|
+
function we() {
|
|
298
299
|
Y.value.showTable = !Y.value.showTable;
|
|
299
300
|
}
|
|
300
301
|
const W = T(!1);
|
|
301
302
|
function oe() {
|
|
302
303
|
W.value = !W.value;
|
|
303
304
|
}
|
|
304
|
-
return
|
|
305
|
-
getData:
|
|
306
|
-
generatePdf:
|
|
307
|
-
generateCsv:
|
|
308
|
-
generateImage:
|
|
309
|
-
toggleTable:
|
|
305
|
+
return Le({
|
|
306
|
+
getData: Oe,
|
|
307
|
+
generatePdf: be,
|
|
308
|
+
generateCsv: ke,
|
|
309
|
+
generateImage: pe,
|
|
310
|
+
toggleTable: we,
|
|
310
311
|
toggleAnnotator: oe
|
|
311
312
|
}), (l, i) => (a(), o("div", {
|
|
312
313
|
class: k(`vue-ui-chestnut ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
313
314
|
ref_key: "chestnutChart",
|
|
314
315
|
ref: Z,
|
|
315
316
|
id: `vue-ui-chestnut_${w.value}`,
|
|
316
|
-
style: h(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`)
|
|
317
|
+
style: h(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
318
|
+
onMouseenter: i[2] || (i[2] = () => n(de)(!0)),
|
|
319
|
+
onMouseleave: i[3] || (i[3] = () => n(de)(!1))
|
|
317
320
|
}, [
|
|
318
|
-
e.value.userOptions.buttons.annotator ? (a(), K(
|
|
321
|
+
e.value.userOptions.buttons.annotator ? (a(), K(yt, {
|
|
319
322
|
key: 0,
|
|
320
323
|
parent: Z.value,
|
|
321
324
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -323,15 +326,15 @@ const vt = ["id"], yt = {
|
|
|
323
326
|
active: W.value,
|
|
324
327
|
onClose: oe
|
|
325
328
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
|
|
326
|
-
|
|
327
|
-
e.value.userOptions.show && D.value ? (a(), K(
|
|
329
|
+
Ve.value ? (a(), o("div", pt, null, 512)) : f("", !0),
|
|
330
|
+
e.value.userOptions.show && D.value && (n(ve) || n(ce)) ? (a(), K(rt, {
|
|
328
331
|
ref_key: "details",
|
|
329
|
-
ref:
|
|
332
|
+
ref: Pe,
|
|
330
333
|
key: `user_options_${ie.value}`,
|
|
331
334
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
332
335
|
color: e.value.style.chart.color,
|
|
333
|
-
isImaging: n(
|
|
334
|
-
isPrinting: n(
|
|
336
|
+
isImaging: n(fe),
|
|
337
|
+
isPrinting: n(he),
|
|
335
338
|
uid: w.value,
|
|
336
339
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
337
340
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -344,13 +347,16 @@ const vt = ["id"], yt = {
|
|
|
344
347
|
position: e.value.userOptions.position,
|
|
345
348
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
346
349
|
isAnnotation: W.value,
|
|
347
|
-
onToggleFullscreen:
|
|
348
|
-
onGeneratePdf: n(
|
|
349
|
-
onGenerateCsv:
|
|
350
|
-
onGenerateImage: n(
|
|
351
|
-
onToggleTable:
|
|
352
|
-
onToggleAnnotator: oe
|
|
353
|
-
|
|
350
|
+
onToggleFullscreen: De,
|
|
351
|
+
onGeneratePdf: n(be),
|
|
352
|
+
onGenerateCsv: ke,
|
|
353
|
+
onGenerateImage: n(pe),
|
|
354
|
+
onToggleTable: we,
|
|
355
|
+
onToggleAnnotator: oe,
|
|
356
|
+
style: h({
|
|
357
|
+
visibility: n(ve) ? n(ce) ? "visible" : "hidden" : "visible"
|
|
358
|
+
})
|
|
359
|
+
}, We({ _: 2 }, [
|
|
354
360
|
l.$slots.optionPdf ? {
|
|
355
361
|
name: "optionPdf",
|
|
356
362
|
fn: X(() => [
|
|
@@ -393,16 +399,16 @@ const vt = ["id"], yt = {
|
|
|
393
399
|
]),
|
|
394
400
|
key: "5"
|
|
395
401
|
} : void 0
|
|
396
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
|
|
402
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
397
403
|
r.value.height > 0 && D.value ? (a(), o("svg", {
|
|
398
404
|
key: 3,
|
|
399
|
-
xmlns: n(
|
|
405
|
+
xmlns: n(at),
|
|
400
406
|
class: k({ "vue-data-ui-fullscreen--on": q.value, "vue-data-ui-fulscreen--off": !q.value }),
|
|
401
407
|
viewBox: `0 0 ${r.value.width} ${r.value.height}`,
|
|
402
408
|
style: h(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
403
409
|
}, [
|
|
404
|
-
|
|
405
|
-
d.value ? f("", !0) : (a(), o("g",
|
|
410
|
+
$e(vt),
|
|
411
|
+
d.value ? f("", !0) : (a(), o("g", _t, [
|
|
406
412
|
e.value.style.chart.layout.title.text ? (a(), o("text", {
|
|
407
413
|
key: 0,
|
|
408
414
|
"text-anchor": "middle",
|
|
@@ -412,7 +418,7 @@ const vt = ["id"], yt = {
|
|
|
412
418
|
x: r.value.width / 2,
|
|
413
419
|
y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
|
|
414
420
|
onClick: $
|
|
415
|
-
}, c(e.value.style.chart.layout.title.text), 9,
|
|
421
|
+
}, c(e.value.style.chart.layout.title.text), 9, xt)) : f("", !0),
|
|
416
422
|
e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
|
|
417
423
|
key: 1,
|
|
418
424
|
"text-anchor": "middle",
|
|
@@ -422,7 +428,7 @@ const vt = ["id"], yt = {
|
|
|
422
428
|
x: r.value.width / 2,
|
|
423
429
|
y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
|
|
424
430
|
onClick: $
|
|
425
|
-
}, c(e.value.style.chart.layout.title.subtitle.text), 9,
|
|
431
|
+
}, c(e.value.style.chart.layout.title.subtitle.text), 9, mt)) : f("", !0)
|
|
426
432
|
])),
|
|
427
433
|
s("defs", null, [
|
|
428
434
|
(a(!0), o(g, null, _(N.value, (t, u) => (a(), o("radialGradient", {
|
|
@@ -435,13 +441,13 @@ const vt = ["id"], yt = {
|
|
|
435
441
|
}, [
|
|
436
442
|
s("stop", {
|
|
437
443
|
offset: "0%",
|
|
438
|
-
"stop-color": n(S)(n(
|
|
439
|
-
}, null, 8,
|
|
444
|
+
"stop-color": n(S)(n(Te)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
|
|
445
|
+
}, null, 8, wt),
|
|
440
446
|
s("stop", {
|
|
441
447
|
offset: "100%",
|
|
442
448
|
"stop-color": t.color
|
|
443
|
-
}, null, 8,
|
|
444
|
-
], 8,
|
|
449
|
+
}, null, 8, $t)
|
|
450
|
+
], 8, kt))), 256)),
|
|
445
451
|
(a(!0), o(g, null, _(N.value, (t) => (a(), o("linearGradient", {
|
|
446
452
|
x1: "0%",
|
|
447
453
|
y1: "0%",
|
|
@@ -452,12 +458,12 @@ const vt = ["id"], yt = {
|
|
|
452
458
|
s("stop", {
|
|
453
459
|
offset: "0%",
|
|
454
460
|
"stop-color": t.color
|
|
455
|
-
}, null, 8,
|
|
461
|
+
}, null, 8, Tt),
|
|
456
462
|
s("stop", {
|
|
457
463
|
offset: "100%",
|
|
458
|
-
"stop-color": n(S)(n(
|
|
459
|
-
}, null, 8,
|
|
460
|
-
], 8,
|
|
464
|
+
"stop-color": n(S)(n(Te)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
|
|
465
|
+
}, null, 8, zt)
|
|
466
|
+
], 8, Ct))), 256)),
|
|
461
467
|
s("radialGradient", {
|
|
462
468
|
cx: "50%",
|
|
463
469
|
cy: "50%",
|
|
@@ -469,16 +475,16 @@ const vt = ["id"], yt = {
|
|
|
469
475
|
s("stop", {
|
|
470
476
|
offset: "0%",
|
|
471
477
|
"stop-color": n(S)("#FFFFFF", 0)
|
|
472
|
-
}, null, 8,
|
|
478
|
+
}, null, 8, St),
|
|
473
479
|
s("stop", {
|
|
474
480
|
offset: "80%",
|
|
475
481
|
"stop-color": n(S)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
|
|
476
|
-
}, null, 8,
|
|
482
|
+
}, null, 8, Ft),
|
|
477
483
|
s("stop", {
|
|
478
484
|
offset: "100%",
|
|
479
485
|
"stop-color": n(S)("#FFFFFF", 0)
|
|
480
|
-
}, null, 8,
|
|
481
|
-
], 8,
|
|
486
|
+
}, null, 8, Lt)
|
|
487
|
+
], 8, Nt),
|
|
482
488
|
s("radialGradient", {
|
|
483
489
|
cx: "50%",
|
|
484
490
|
cy: "50%",
|
|
@@ -490,16 +496,16 @@ const vt = ["id"], yt = {
|
|
|
490
496
|
s("stop", {
|
|
491
497
|
offset: "0%",
|
|
492
498
|
"stop-color": n(S)("#FFFFFF", 0)
|
|
493
|
-
}, null, 8,
|
|
499
|
+
}, null, 8, Pt),
|
|
494
500
|
s("stop", {
|
|
495
501
|
offset: "80%",
|
|
496
502
|
"stop-color": n(S)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
|
|
497
|
-
}, null, 8,
|
|
503
|
+
}, null, 8, Vt),
|
|
498
504
|
s("stop", {
|
|
499
505
|
offset: "100%",
|
|
500
506
|
"stop-color": n(S)("#FFFFFF", 0)
|
|
501
|
-
}, null, 8,
|
|
502
|
-
], 8,
|
|
507
|
+
}, null, 8, Mt)
|
|
508
|
+
], 8, It),
|
|
503
509
|
s("radialGradient", {
|
|
504
510
|
cx: "50%",
|
|
505
511
|
cy: "50%",
|
|
@@ -511,18 +517,18 @@ const vt = ["id"], yt = {
|
|
|
511
517
|
s("stop", {
|
|
512
518
|
offset: "0%",
|
|
513
519
|
"stop-color": n(S)(e.value.style.chart.backgroundColor, 100)
|
|
514
|
-
}, null, 8,
|
|
520
|
+
}, null, 8, Rt),
|
|
515
521
|
s("stop", {
|
|
516
522
|
offset: "80%",
|
|
517
523
|
"stop-color": n(S)(e.value.style.chart.backgroundColor, 60)
|
|
518
|
-
}, null, 8,
|
|
524
|
+
}, null, 8, Bt),
|
|
519
525
|
s("stop", {
|
|
520
526
|
offset: "100%",
|
|
521
527
|
"stop-color": n(S)(e.value.style.chart.backgroundColor, 0)
|
|
522
|
-
}, null, 8,
|
|
523
|
-
], 8,
|
|
528
|
+
}, null, 8, jt)
|
|
529
|
+
], 8, Ot)
|
|
524
530
|
]),
|
|
525
|
-
e.value.style.chart.layout.grandTotal.show ? (a(), o("g",
|
|
531
|
+
e.value.style.chart.layout.grandTotal.show ? (a(), o("g", At, [
|
|
526
532
|
s("text", {
|
|
527
533
|
x: C.value.seedX,
|
|
528
534
|
y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
|
|
@@ -531,7 +537,7 @@ const vt = ["id"], yt = {
|
|
|
531
537
|
fill: e.value.style.chart.layout.grandTotal.color,
|
|
532
538
|
"text-anchor": "middle",
|
|
533
539
|
onClick: $
|
|
534
|
-
}, c(e.value.style.chart.layout.grandTotal.text), 9,
|
|
540
|
+
}, c(e.value.style.chart.layout.grandTotal.text), 9, Xt),
|
|
535
541
|
s("text", {
|
|
536
542
|
x: C.value.seedX,
|
|
537
543
|
y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
|
|
@@ -542,14 +548,14 @@ const vt = ["id"], yt = {
|
|
|
542
548
|
onClick: $
|
|
543
549
|
}, c(n(G)(
|
|
544
550
|
e.value.style.chart.layout.grandTotal.formatter,
|
|
545
|
-
|
|
551
|
+
O.value,
|
|
546
552
|
n(z)({
|
|
547
553
|
p: e.value.style.chart.layout.grandTotal.prefix,
|
|
548
|
-
v:
|
|
554
|
+
v: O.value,
|
|
549
555
|
s: e.value.style.chart.layout.grandTotal.suffix,
|
|
550
556
|
r: e.value.style.chart.layout.grandTotal.roundingValue
|
|
551
557
|
})
|
|
552
|
-
)), 9,
|
|
558
|
+
)), 9, Gt)
|
|
553
559
|
])) : f("", !0),
|
|
554
560
|
(a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
|
|
555
561
|
(a(!0), o(g, null, _(r.value.branchSize, (u, b) => (a(), o("path", {
|
|
@@ -565,17 +571,17 @@ const vt = ["id"], yt = {
|
|
|
565
571
|
"shape-rendering": "cirspEdges",
|
|
566
572
|
style: h(`opacity:${L(t) ? 1 : 0}`),
|
|
567
573
|
onClick: $
|
|
568
|
-
}, null, 12,
|
|
574
|
+
}, null, 12, Et))), 256))
|
|
569
575
|
]))), 256)),
|
|
570
|
-
(a(!0), o(g, null, _(
|
|
576
|
+
(a(!0), o(g, null, _(B.value, (t) => (a(), o("circle", {
|
|
571
577
|
cx: t.x,
|
|
572
578
|
cy: t.y,
|
|
573
579
|
r: t.r,
|
|
574
580
|
fill: e.value.style.chart.layout.roots.underlayerColor,
|
|
575
581
|
stroke: "none",
|
|
576
582
|
style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`)
|
|
577
|
-
}, null, 12,
|
|
578
|
-
(a(!0), o(g, null, _(
|
|
583
|
+
}, null, 12, Ut))), 256)),
|
|
584
|
+
(a(!0), o(g, null, _(B.value, (t, u) => (a(), o("circle", {
|
|
579
585
|
cx: t.x,
|
|
580
586
|
cy: t.y,
|
|
581
587
|
r: t.r,
|
|
@@ -583,18 +589,18 @@ const vt = ["id"], yt = {
|
|
|
583
589
|
stroke: e.value.style.chart.layout.roots.stroke,
|
|
584
590
|
"stroke-width": e.value.style.chart.layout.roots.strokeWidth,
|
|
585
591
|
style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
|
|
586
|
-
onClick: (b) =>
|
|
587
|
-
}, null, 12,
|
|
588
|
-
e.value.style.chart.layout.roots.labels.show ? (a(), o("g",
|
|
589
|
-
(a(!0), o(g, null, _(
|
|
592
|
+
onClick: (b) => xe(t)
|
|
593
|
+
}, null, 12, Dt))), 256)),
|
|
594
|
+
e.value.style.chart.layout.roots.labels.show ? (a(), o("g", Yt, [
|
|
595
|
+
(a(!0), o(g, null, _(B.value, (t, u) => (a(), o("text", {
|
|
590
596
|
x: t.x,
|
|
591
597
|
y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
|
|
592
598
|
"text-anchor": "middle",
|
|
593
599
|
"font-size": e.value.style.chart.layout.roots.labels.fontSize,
|
|
594
|
-
fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? n(
|
|
600
|
+
fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? n(ze)(t.color) : e.value.style.chart.layout.roots.labels.color,
|
|
595
601
|
"font-weight": "bold",
|
|
596
602
|
style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
|
|
597
|
-
onClick: (b) =>
|
|
603
|
+
onClick: (b) => xe(t)
|
|
598
604
|
}, c(n(G)(
|
|
599
605
|
e.value.style.chart.layout.roots.labels.formatter,
|
|
600
606
|
t.total,
|
|
@@ -605,9 +611,9 @@ const vt = ["id"], yt = {
|
|
|
605
611
|
r: e.value.style.chart.layout.roots.labels.roundingValue
|
|
606
612
|
}),
|
|
607
613
|
{ datapoint: t }
|
|
608
|
-
)), 13,
|
|
609
|
-
(a(!0), o(g, null, _(
|
|
610
|
-
d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || F.value && t.rootIndex === F.value.rootIndex ? (a(), o("g",
|
|
614
|
+
)), 13, qt))), 256)),
|
|
615
|
+
(a(!0), o(g, null, _(B.value, (t) => (a(), o("g", null, [
|
|
616
|
+
d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || F.value && t.rootIndex === F.value.rootIndex ? (a(), o("g", Ht, [
|
|
611
617
|
s("text", {
|
|
612
618
|
x: t.x,
|
|
613
619
|
y: t.y + t.r + 24,
|
|
@@ -616,7 +622,7 @@ const vt = ["id"], yt = {
|
|
|
616
622
|
"font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
|
|
617
623
|
"font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
|
|
618
624
|
onClick: $
|
|
619
|
-
}, c(t.name), 9,
|
|
625
|
+
}, c(t.name), 9, Wt)
|
|
620
626
|
])) : f("", !0)
|
|
621
627
|
]))), 256))
|
|
622
628
|
])) : f("", !0),
|
|
@@ -630,7 +636,7 @@ const vt = ["id"], yt = {
|
|
|
630
636
|
stroke: "none",
|
|
631
637
|
style: h(`opacity:${L(t) ? 1 : 0.05}`),
|
|
632
638
|
onClick: (u) => ae(t)
|
|
633
|
-
}, null, 12,
|
|
639
|
+
}, null, 12, Kt))), 256)),
|
|
634
640
|
(a(!0), o(g, null, _(j.value, (t, u) => (a(), o("rect", {
|
|
635
641
|
x: t.x1,
|
|
636
642
|
y: t.y1,
|
|
@@ -642,15 +648,15 @@ const vt = ["id"], yt = {
|
|
|
642
648
|
"stroke-width": e.value.style.chart.layout.branches.strokeWidth,
|
|
643
649
|
style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
|
|
644
650
|
onClick: (b) => ae(t)
|
|
645
|
-
}, null, 12,
|
|
646
|
-
e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g",
|
|
651
|
+
}, null, 12, Jt))), 256)),
|
|
652
|
+
e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", Qt, [
|
|
647
653
|
(a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
|
|
648
654
|
t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
|
|
649
655
|
key: 0,
|
|
650
656
|
x: t.x1 + 6,
|
|
651
657
|
y: t.y1 + r.value.branchSize / 1.5,
|
|
652
658
|
"text-anchor": "start",
|
|
653
|
-
fill: n(
|
|
659
|
+
fill: n(ze)(t.color),
|
|
654
660
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
655
661
|
"font-weight": "bold",
|
|
656
662
|
style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
|
|
@@ -665,11 +671,11 @@ const vt = ["id"], yt = {
|
|
|
665
671
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
666
672
|
}),
|
|
667
673
|
{ datapoint: t }
|
|
668
|
-
)), 13,
|
|
674
|
+
)), 13, Zt)) : f("", !0)
|
|
669
675
|
]))), 256))
|
|
670
676
|
])) : f("", !0),
|
|
671
677
|
(a(!0), o(g, null, _(j.value, (t, u) => (a(), o("g", null, [
|
|
672
|
-
(a(!0), o(g, null, _(n(
|
|
678
|
+
(a(!0), o(g, null, _(n(Ne)(
|
|
673
679
|
{ series: t.breakdown, base: 1 },
|
|
674
680
|
t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
675
681
|
t.y1 + r.value.branchSize / 2,
|
|
@@ -681,17 +687,17 @@ const vt = ["id"], yt = {
|
|
|
681
687
|
"stroke-width": 10,
|
|
682
688
|
fill: "none",
|
|
683
689
|
style: h(`opacity:${L(t) ? 1 : 0.1}`)
|
|
684
|
-
}, null, 12,
|
|
690
|
+
}, null, 12, el))), 256)),
|
|
685
691
|
s("circle", {
|
|
686
692
|
fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${w.value})` : "transparent",
|
|
687
693
|
cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
688
694
|
cy: t.y1 + r.value.branchSize / 2,
|
|
689
695
|
r: r.value.branchSize / 2 + 2,
|
|
690
|
-
onClick: (b) =>
|
|
696
|
+
onClick: (b) => Ge(t),
|
|
691
697
|
style: h(`cursor:pointer;opacity:${L(t) ? 1 : 0.1}`)
|
|
692
|
-
}, null, 12,
|
|
698
|
+
}, null, 12, tl)
|
|
693
699
|
]))), 256)),
|
|
694
|
-
e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g",
|
|
700
|
+
e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", ll, [
|
|
695
701
|
(a(!0), o(g, null, _(j.value, (t) => (a(), o("text", {
|
|
696
702
|
x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
697
703
|
y: t.y1 + r.value.branchSize / 2 + 5,
|
|
@@ -700,7 +706,7 @@ const vt = ["id"], yt = {
|
|
|
700
706
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
701
707
|
"text-anchor": "start",
|
|
702
708
|
style: h(`opacity:${L(t) ? 1 : 0.1}`)
|
|
703
|
-
}, c(t.name), 13,
|
|
709
|
+
}, c(t.name), 13, al))), 256))
|
|
704
710
|
])) : f("", !0),
|
|
705
711
|
s("line", {
|
|
706
712
|
x1: 256 + r.value.padding.left,
|
|
@@ -709,7 +715,7 @@ const vt = ["id"], yt = {
|
|
|
709
715
|
y2: C.value.bottom,
|
|
710
716
|
stroke: e.value.style.chart.layout.verticalSeparator.stroke,
|
|
711
717
|
"stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
|
|
712
|
-
}, null, 8,
|
|
718
|
+
}, null, 8, ol),
|
|
713
719
|
!d.value && !x.value ? (a(), o("foreignObject", {
|
|
714
720
|
key: 5,
|
|
715
721
|
x: 0,
|
|
@@ -719,19 +725,19 @@ const vt = ["id"], yt = {
|
|
|
719
725
|
style: { overflow: "visible" },
|
|
720
726
|
onClick: $
|
|
721
727
|
}, [
|
|
722
|
-
s("div",
|
|
723
|
-
s("div",
|
|
724
|
-
(a(!0), o(g, null, _(
|
|
728
|
+
s("div", ul, [
|
|
729
|
+
s("div", nl, [
|
|
730
|
+
(a(!0), o(g, null, _(B.value, (t) => (a(), o("div", {
|
|
725
731
|
style: h(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
|
|
726
732
|
}, [
|
|
727
|
-
(a(), o("svg",
|
|
733
|
+
(a(), o("svg", rl, [
|
|
728
734
|
s("circle", {
|
|
729
735
|
cx: "10",
|
|
730
736
|
cy: "10",
|
|
731
737
|
r: "10",
|
|
732
738
|
fill: t.color,
|
|
733
739
|
stroke: "none"
|
|
734
|
-
}, null, 8,
|
|
740
|
+
}, null, 8, il)
|
|
735
741
|
])),
|
|
736
742
|
s("span", null, c(t.name) + ":", 1),
|
|
737
743
|
s("b", null, c(n(G)(
|
|
@@ -746,37 +752,37 @@ const vt = ["id"], yt = {
|
|
|
746
752
|
{ datapoint: t }
|
|
747
753
|
)), 1),
|
|
748
754
|
J(" (" + c(n(z)({
|
|
749
|
-
v: t.total /
|
|
755
|
+
v: t.total / O.value * 100,
|
|
750
756
|
s: "%",
|
|
751
757
|
r: e.value.style.chart.layout.legend.roundingPercentage
|
|
752
758
|
})) + ") ", 1)
|
|
753
759
|
], 4))), 256))
|
|
754
760
|
])
|
|
755
761
|
])
|
|
756
|
-
], 8,
|
|
757
|
-
d.value &&
|
|
762
|
+
], 8, sl)) : f("", !0),
|
|
763
|
+
d.value && R.value ? (a(), o("g", cl, [
|
|
758
764
|
(a(), o("foreignObject", {
|
|
759
765
|
x: 0,
|
|
760
|
-
y:
|
|
766
|
+
y: Ee(),
|
|
761
767
|
height: r.value.height - C.value.bottom,
|
|
762
768
|
width: r.value.width,
|
|
763
769
|
style: { overflow: "visible" },
|
|
764
770
|
onClick: $
|
|
765
771
|
}, [
|
|
766
|
-
s("div",
|
|
772
|
+
s("div", vl, [
|
|
767
773
|
s("b", null, c(d.value.name), 1),
|
|
768
|
-
s("div",
|
|
774
|
+
s("div", yl, [
|
|
769
775
|
(a(!0), o(g, null, _(d.value.breakdown, (t, u) => (a(), o("div", {
|
|
770
776
|
style: h(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
|
|
771
777
|
}, [
|
|
772
|
-
(a(), o("svg",
|
|
778
|
+
(a(), o("svg", hl, [
|
|
773
779
|
s("circle", {
|
|
774
780
|
cx: "10",
|
|
775
781
|
cy: "10",
|
|
776
782
|
r: "10",
|
|
777
783
|
fill: t.color,
|
|
778
784
|
stroke: "none"
|
|
779
|
-
}, null, 8,
|
|
785
|
+
}, null, 8, fl)
|
|
780
786
|
])),
|
|
781
787
|
s("span", null, [
|
|
782
788
|
J(c(t.name) + ": ", 1),
|
|
@@ -786,7 +792,7 @@ const vt = ["id"], yt = {
|
|
|
786
792
|
], 4))), 256))
|
|
787
793
|
])
|
|
788
794
|
])
|
|
789
|
-
], 8,
|
|
795
|
+
], 8, dl)),
|
|
790
796
|
s("circle", {
|
|
791
797
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
792
798
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
@@ -794,11 +800,11 @@ const vt = ["id"], yt = {
|
|
|
794
800
|
fill: `url(#nut_underlayer_${w.value})`,
|
|
795
801
|
onClick: A,
|
|
796
802
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
797
|
-
}, null, 10,
|
|
798
|
-
(a(!0), o(g, null, _(
|
|
803
|
+
}, null, 10, bl),
|
|
804
|
+
(a(!0), o(g, null, _(R.value, (t) => (a(), o("g", null, [
|
|
799
805
|
U(t) ? (a(), o("path", {
|
|
800
806
|
key: 0,
|
|
801
|
-
d: n(
|
|
807
|
+
d: n(ot)(
|
|
802
808
|
t,
|
|
803
809
|
{
|
|
804
810
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
@@ -816,7 +822,7 @@ const vt = ["id"], yt = {
|
|
|
816
822
|
"stroke-linejoin": "round",
|
|
817
823
|
fill: "none",
|
|
818
824
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
819
|
-
}, null, 10,
|
|
825
|
+
}, null, 10, pl)) : f("", !0)
|
|
820
826
|
]))), 256)),
|
|
821
827
|
s("circle", {
|
|
822
828
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
@@ -825,15 +831,15 @@ const vt = ["id"], yt = {
|
|
|
825
831
|
fill: e.value.style.chart.backgroundColor,
|
|
826
832
|
onClick: A,
|
|
827
833
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
828
|
-
}, null, 10,
|
|
829
|
-
(a(!0), o(g, null, _(
|
|
834
|
+
}, null, 10, gl),
|
|
835
|
+
(a(!0), o(g, null, _(R.value, (t) => (a(), o("path", {
|
|
830
836
|
d: t.path,
|
|
831
837
|
stroke: t.color,
|
|
832
838
|
"stroke-width": 64,
|
|
833
839
|
fill: "none",
|
|
834
840
|
onClick: A,
|
|
835
841
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
836
|
-
}, null, 10,
|
|
842
|
+
}, null, 10, _l))), 256)),
|
|
837
843
|
s("circle", {
|
|
838
844
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
839
845
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
@@ -841,7 +847,7 @@ const vt = ["id"], yt = {
|
|
|
841
847
|
fill: `url(#nutpick_${w.value})`,
|
|
842
848
|
onClick: A,
|
|
843
849
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
844
|
-
}, null, 10,
|
|
850
|
+
}, null, 10, xl),
|
|
845
851
|
s("circle", {
|
|
846
852
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
847
853
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
@@ -849,7 +855,7 @@ const vt = ["id"], yt = {
|
|
|
849
855
|
fill: e.value.style.chart.backgroundColor,
|
|
850
856
|
onClick: A,
|
|
851
857
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
852
|
-
}, null, 10,
|
|
858
|
+
}, null, 10, ml),
|
|
853
859
|
s("text", {
|
|
854
860
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
855
861
|
y: d.value.y1 + 8,
|
|
@@ -859,7 +865,7 @@ const vt = ["id"], yt = {
|
|
|
859
865
|
"text-anchor": "middle",
|
|
860
866
|
onClick: A,
|
|
861
867
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
862
|
-
}, c(e.value.translations.total), 11,
|
|
868
|
+
}, c(e.value.translations.total), 11, kl),
|
|
863
869
|
s("text", {
|
|
864
870
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
865
871
|
y: d.value.y1 + 36,
|
|
@@ -879,8 +885,8 @@ const vt = ["id"], yt = {
|
|
|
879
885
|
r: e.value.style.chart.layout.nuts.selected.roundingValue
|
|
880
886
|
}),
|
|
881
887
|
{ datapoint: d.value }
|
|
882
|
-
)), 11,
|
|
883
|
-
(a(!0), o(g, null, _(
|
|
888
|
+
)), 11, wl),
|
|
889
|
+
(a(!0), o(g, null, _(R.value, (t, u) => (a(), o("g", null, [
|
|
884
890
|
U(t) ? (a(), o("text", {
|
|
885
891
|
key: 0,
|
|
886
892
|
x: n(V)(t).x,
|
|
@@ -890,7 +896,7 @@ const vt = ["id"], yt = {
|
|
|
890
896
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
891
897
|
style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
892
898
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
893
|
-
}, " ⬤ ", 14,
|
|
899
|
+
}, " ⬤ ", 14, $l)) : f("", !0),
|
|
894
900
|
U(t) ? (a(), o("text", {
|
|
895
901
|
key: 1,
|
|
896
902
|
x: n(V)(t, !0).x,
|
|
@@ -900,9 +906,9 @@ const vt = ["id"], yt = {
|
|
|
900
906
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
901
907
|
style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
902
908
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
903
|
-
}, c(d.value.breakdown[u].name), 15,
|
|
909
|
+
}, c(d.value.breakdown[u].name), 15, Cl)) : f("", !0)
|
|
904
910
|
]))), 256)),
|
|
905
|
-
(a(!0), o(g, null, _(
|
|
911
|
+
(a(!0), o(g, null, _(R.value, (t, u) => (a(), o("g", null, [
|
|
906
912
|
U(t) ? (a(), o("text", {
|
|
907
913
|
key: 0,
|
|
908
914
|
x: n(V)(t, !0).x,
|
|
@@ -925,8 +931,8 @@ const vt = ["id"], yt = {
|
|
|
925
931
|
s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
|
|
926
932
|
r: e.value.style.chart.layout.nuts.selected.roundingValue
|
|
927
933
|
}),
|
|
928
|
-
{ datapoint:
|
|
929
|
-
)), 15,
|
|
934
|
+
{ datapoint: R.value, seriesIndex: u }
|
|
935
|
+
)), 15, Tl)) : f("", !0),
|
|
930
936
|
U(t) ? (a(), o("text", {
|
|
931
937
|
key: 1,
|
|
932
938
|
x: n(V)(t, !0).x,
|
|
@@ -940,7 +946,7 @@ const vt = ["id"], yt = {
|
|
|
940
946
|
v: d.value.breakdown[u].proportionToRoot * 100,
|
|
941
947
|
s: "%",
|
|
942
948
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
943
|
-
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[u].rootName), 15,
|
|
949
|
+
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[u].rootName), 15, zl)) : f("", !0),
|
|
944
950
|
U(t) ? (a(), o("text", {
|
|
945
951
|
key: 2,
|
|
946
952
|
x: n(V)(t, !0).x,
|
|
@@ -954,7 +960,7 @@ const vt = ["id"], yt = {
|
|
|
954
960
|
v: d.value.breakdown[u].proportionToTree * 100,
|
|
955
961
|
s: "%",
|
|
956
962
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
957
|
-
})) + " " + c(e.value.translations.proportionToTree), 15,
|
|
963
|
+
})) + " " + c(e.value.translations.proportionToTree), 15, Nl)) : f("", !0)
|
|
958
964
|
]))), 256))
|
|
959
965
|
])) : f("", !0),
|
|
960
966
|
(a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
|
|
@@ -977,7 +983,7 @@ const vt = ["id"], yt = {
|
|
|
977
983
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
978
984
|
}),
|
|
979
985
|
{ datapoint: t }
|
|
980
|
-
)), 9,
|
|
986
|
+
)), 9, Sl)) : f("", !0),
|
|
981
987
|
x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
|
|
982
988
|
key: 1,
|
|
983
989
|
x: t.x1 + 6,
|
|
@@ -990,7 +996,7 @@ const vt = ["id"], yt = {
|
|
|
990
996
|
v: t.proportionToRoot * 100,
|
|
991
997
|
s: "%",
|
|
992
998
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
993
|
-
})) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9,
|
|
999
|
+
})) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, Fl)) : f("", !0),
|
|
994
1000
|
x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
|
|
995
1001
|
key: 2,
|
|
996
1002
|
x: t.x1 + 6,
|
|
@@ -1000,17 +1006,17 @@ const vt = ["id"], yt = {
|
|
|
1000
1006
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
1001
1007
|
onClick: $
|
|
1002
1008
|
}, c(n(z)({
|
|
1003
|
-
v: t.value /
|
|
1009
|
+
v: t.value / O.value * 100,
|
|
1004
1010
|
s: "%",
|
|
1005
1011
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
1006
|
-
})) + " " + c(e.value.translations.proportionToTree), 9,
|
|
1012
|
+
})) + " " + c(e.value.translations.proportionToTree), 9, Ll)) : f("", !0)
|
|
1007
1013
|
]))), 256)),
|
|
1008
1014
|
I(l.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
1009
|
-
], 14,
|
|
1010
|
-
l.$slots.watermark ? (a(), o("div",
|
|
1011
|
-
I(l.$slots, "watermark", se(ue({ isPrinting: n(
|
|
1015
|
+
], 14, gt)) : f("", !0),
|
|
1016
|
+
l.$slots.watermark ? (a(), o("div", Il, [
|
|
1017
|
+
I(l.$slots, "watermark", se(ue({ isPrinting: n(he) || n(fe) })), void 0, !0)
|
|
1012
1018
|
])) : f("", !0),
|
|
1013
|
-
D.value ? f("", !0) : (a(), K(
|
|
1019
|
+
D.value ? f("", !0) : (a(), K(it, {
|
|
1014
1020
|
key: 5,
|
|
1015
1021
|
config: {
|
|
1016
1022
|
type: "chestnut",
|
|
@@ -1023,10 +1029,10 @@ const vt = ["id"], yt = {
|
|
|
1023
1029
|
}
|
|
1024
1030
|
}, null, 8, ["config"])),
|
|
1025
1031
|
I(l.$slots, "legend", { legend: N.value }, void 0, !0),
|
|
1026
|
-
l.$slots.source ? (a(), o("div",
|
|
1032
|
+
l.$slots.source ? (a(), o("div", Pl, [
|
|
1027
1033
|
I(l.$slots, "source", {}, void 0, !0)
|
|
1028
1034
|
], 512)) : f("", !0),
|
|
1029
|
-
D.value ? (a(), K(
|
|
1035
|
+
D.value ? (a(), K(dt, {
|
|
1030
1036
|
key: 7,
|
|
1031
1037
|
hideDetails: "",
|
|
1032
1038
|
config: {
|
|
@@ -1048,15 +1054,15 @@ const vt = ["id"], yt = {
|
|
|
1048
1054
|
ref: te,
|
|
1049
1055
|
class: "vue-ui-chestnut-table"
|
|
1050
1056
|
}, [
|
|
1051
|
-
s("div",
|
|
1057
|
+
s("div", Vl, [
|
|
1052
1058
|
s("div", {
|
|
1053
1059
|
role: "button",
|
|
1054
1060
|
tabindex: "0",
|
|
1055
1061
|
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};`),
|
|
1056
1062
|
onClick: i[0] || (i[0] = (t) => Y.value.showTable = !1),
|
|
1057
|
-
onKeypress: i[1] || (i[1] =
|
|
1063
|
+
onKeypress: i[1] || (i[1] = Ke((t) => Y.value.showTable = !1, ["enter"]))
|
|
1058
1064
|
}, [
|
|
1059
|
-
|
|
1065
|
+
$e(ct, {
|
|
1060
1066
|
name: "close",
|
|
1061
1067
|
stroke: e.value.table.th.color,
|
|
1062
1068
|
"stroke-width": 2
|
|
@@ -1064,15 +1070,15 @@ const vt = ["id"], yt = {
|
|
|
1064
1070
|
], 36),
|
|
1065
1071
|
s("div", {
|
|
1066
1072
|
style: { width: "100%" },
|
|
1067
|
-
class: k({ "vue-ui-responsive":
|
|
1073
|
+
class: k({ "vue-ui-responsive": ge.value })
|
|
1068
1074
|
}, [
|
|
1069
|
-
s("table",
|
|
1075
|
+
s("table", Ml, [
|
|
1070
1076
|
s("caption", {
|
|
1071
1077
|
style: h({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
|
|
1072
1078
|
class: "vue-ui-data-table__caption"
|
|
1073
1079
|
}, [
|
|
1074
1080
|
J(c(e.value.style.chart.layout.title.text) + " ", 1),
|
|
1075
|
-
e.value.style.chart.layout.title.subtitle.text ? (a(), o("span",
|
|
1081
|
+
e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", Ol, c(e.value.style.chart.layout.title.subtitle.text), 1)) : f("", !0)
|
|
1076
1082
|
], 4),
|
|
1077
1083
|
s("thead", null, [
|
|
1078
1084
|
s("tr", {
|
|
@@ -1094,99 +1100,99 @@ const vt = ["id"], yt = {
|
|
|
1094
1100
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1095
1101
|
"data-cell": v.value.head[0]
|
|
1096
1102
|
}, [
|
|
1097
|
-
s("div",
|
|
1098
|
-
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span",
|
|
1103
|
+
s("div", Bl, [
|
|
1104
|
+
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", jl)) : (a(), o("span", Al, c(t.rootName), 1))
|
|
1099
1105
|
])
|
|
1100
|
-
], 12,
|
|
1106
|
+
], 12, Rl),
|
|
1101
1107
|
s("td", {
|
|
1102
1108
|
class: "vue-ui-data-table__tbody__td",
|
|
1103
1109
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1104
1110
|
"data-cell": v.value.head[1]
|
|
1105
|
-
}, [
|
|
1106
|
-
s("div", Ol, [
|
|
1107
|
-
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", jl)) : (a(), o("span", Al, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
|
|
1108
|
-
])
|
|
1109
|
-
], 12, Ml),
|
|
1110
|
-
s("td", {
|
|
1111
|
-
class: "vue-ui-data-table__tbody__td",
|
|
1112
|
-
style: h(`outline:${e.value.table.td.outline}`),
|
|
1113
|
-
"data-cell": v.value.head[2]
|
|
1114
1111
|
}, [
|
|
1115
1112
|
s("div", Gl, [
|
|
1116
|
-
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", El)) : (a(), o("span", Ul, c(
|
|
1113
|
+
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", El)) : (a(), o("span", Ul, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
|
|
1117
1114
|
])
|
|
1118
1115
|
], 12, Xl),
|
|
1119
1116
|
s("td", {
|
|
1120
1117
|
class: "vue-ui-data-table__tbody__td",
|
|
1121
1118
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1122
|
-
"data-cell": v.value.head[
|
|
1119
|
+
"data-cell": v.value.head[2]
|
|
1123
1120
|
}, [
|
|
1124
1121
|
s("div", Yl, [
|
|
1125
|
-
v.value.body[u - 1] && v.value.body[u - 1].
|
|
1122
|
+
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", ql)) : (a(), o("span", Hl, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1126
1123
|
])
|
|
1127
1124
|
], 12, Dl),
|
|
1128
1125
|
s("td", {
|
|
1129
1126
|
class: "vue-ui-data-table__tbody__td",
|
|
1130
1127
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1131
|
-
"data-cell": v.value.head[
|
|
1128
|
+
"data-cell": v.value.head[3]
|
|
1132
1129
|
}, [
|
|
1133
1130
|
s("div", Kl, [
|
|
1134
|
-
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Jl)) : (a(), o("span", Ql, c(t.
|
|
1131
|
+
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Jl)) : (a(), o("span", Ql, c(t.branchName), 1))
|
|
1135
1132
|
])
|
|
1136
1133
|
], 12, Wl),
|
|
1137
1134
|
s("td", {
|
|
1138
1135
|
class: "vue-ui-data-table__tbody__td",
|
|
1139
1136
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1140
|
-
"data-cell": v.value.head[
|
|
1137
|
+
"data-cell": v.value.head[4]
|
|
1141
1138
|
}, [
|
|
1142
1139
|
s("div", ea, [
|
|
1143
|
-
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", ta)) : (a(), o("span", la, c(
|
|
1140
|
+
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", ta)) : (a(), o("span", la, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
|
|
1144
1141
|
])
|
|
1145
1142
|
], 12, Zl),
|
|
1146
1143
|
s("td", {
|
|
1147
1144
|
class: "vue-ui-data-table__tbody__td",
|
|
1148
1145
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1149
|
-
"data-cell": v.value.head[
|
|
1146
|
+
"data-cell": v.value.head[5]
|
|
1150
1147
|
}, [
|
|
1151
1148
|
s("div", oa, [
|
|
1152
|
-
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", sa)) : (a(), o("span", ua, c((t.
|
|
1149
|
+
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", sa)) : (a(), o("span", ua, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1153
1150
|
])
|
|
1154
1151
|
], 12, aa),
|
|
1155
1152
|
s("td", {
|
|
1156
1153
|
class: "vue-ui-data-table__tbody__td",
|
|
1157
1154
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1158
|
-
"data-cell": v.value.head[
|
|
1155
|
+
"data-cell": v.value.head[6]
|
|
1159
1156
|
}, [
|
|
1160
|
-
s("div", ra,
|
|
1157
|
+
s("div", ra, [
|
|
1158
|
+
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", ia)) : (a(), o("span", ca, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1159
|
+
])
|
|
1161
1160
|
], 12, na),
|
|
1161
|
+
s("td", {
|
|
1162
|
+
class: "vue-ui-data-table__tbody__td",
|
|
1163
|
+
style: h(`outline:${e.value.table.td.outline}`),
|
|
1164
|
+
"data-cell": v.value.head[7]
|
|
1165
|
+
}, [
|
|
1166
|
+
s("div", va, c(t.nutName), 1)
|
|
1167
|
+
], 12, da),
|
|
1162
1168
|
s("td", {
|
|
1163
1169
|
class: "vue-ui-data-table__tbody__td",
|
|
1164
1170
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1165
1171
|
"data-cell": v.value.head[8]
|
|
1166
1172
|
}, [
|
|
1167
|
-
s("div",
|
|
1168
|
-
], 12,
|
|
1173
|
+
s("div", ha, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
|
|
1174
|
+
], 12, ya),
|
|
1169
1175
|
s("td", {
|
|
1170
1176
|
class: "vue-ui-data-table__tbody__td",
|
|
1171
1177
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1172
1178
|
"data-cell": v.value.head[9]
|
|
1173
1179
|
}, [
|
|
1174
|
-
s("div",
|
|
1175
|
-
], 12,
|
|
1180
|
+
s("div", ba, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1181
|
+
], 12, fa),
|
|
1176
1182
|
s("td", {
|
|
1177
1183
|
class: "vue-ui-data-table__tbody__td",
|
|
1178
1184
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1179
1185
|
"data-cell": v.value.head[10]
|
|
1180
1186
|
}, [
|
|
1181
|
-
s("div",
|
|
1182
|
-
], 12,
|
|
1187
|
+
s("div", ga, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1188
|
+
], 12, pa),
|
|
1183
1189
|
s("td", {
|
|
1184
1190
|
class: "vue-ui-data-table__tbody__td",
|
|
1185
1191
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1186
1192
|
"data-cell": v.value.head[11]
|
|
1187
1193
|
}, [
|
|
1188
|
-
s("div",
|
|
1189
|
-
], 12,
|
|
1194
|
+
s("div", xa, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1195
|
+
], 12, _a)
|
|
1190
1196
|
], 6))), 256))
|
|
1191
1197
|
])
|
|
1192
1198
|
])
|
|
@@ -1196,9 +1202,9 @@ const vt = ["id"], yt = {
|
|
|
1196
1202
|
]),
|
|
1197
1203
|
_: 1
|
|
1198
1204
|
}, 8, ["config"])) : f("", !0)
|
|
1199
|
-
],
|
|
1205
|
+
], 46, bt));
|
|
1200
1206
|
}
|
|
1201
|
-
},
|
|
1207
|
+
}, Va = /* @__PURE__ */ ft(ma, [["__scopeId", "data-v-16ed7b13"]]);
|
|
1202
1208
|
export {
|
|
1203
|
-
|
|
1209
|
+
Va as default
|
|
1204
1210
|
};
|