vue-data-ui 3.23.0 → 3.23.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
- package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
- package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
- package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
- package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
- package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
- package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
- package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
- package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
- package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-DXU7nRr9.js} +1 -1
- package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
- package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
- package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
- package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
- package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
- package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
- package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/composables.js +1 -1
- package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
- package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
- package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
- package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
- package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
- package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
- package/dist/{package-BMc_ZieJ.js → package-bsfpO6y3.js} +1 -1
- package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
- package/dist/{render-common-Ktg2LZFG.js → render-common-C0PEe9so.js} +2 -2
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +9 -0
- package/dist/{useSvgExport-Ba9qBr9M.js → useChartExport-DNiwdPmb.js} +48 -2
- package/dist/{useConfig-BilxnBNr.js → useConfig-DlNpz6P8.js} +13 -1
- package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
- package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-BeWS5v0i.js} +1 -1
- package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
- package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
- package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-BNxtW8pK.js} +69 -69
- package/dist/vue-data-ui.js +74 -74
- package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-BYumVxZG.js} +147 -165
- package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-DegI2lzR.js} +4 -4
- package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
- package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-DfG79D4r.js} +41 -68
- package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
- package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-mKysp0KO.js} +222 -272
- package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
- package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
- package/dist/{vue-ui-chestnut-ArloORzP.js → vue-ui-chestnut-Dpklo-VE.js} +311 -365
- package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
- package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
- package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-DIt7vOwc.js} +4 -4
- package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-Cl0WdSLb.js} +812 -840
- package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-BwxRLR4E.js} +70 -70
- package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Bp1OH_t1.js} +5 -5
- package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-BZUT7QYt.js} +352 -377
- package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
- package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-y6tOAVyY.js} +18 -17
- package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-BtKZcAOV.js} +370 -420
- package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-BF_cndsv.js} +191 -216
- package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
- package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-ClWaSOmM.js} +276 -302
- package/dist/vue-ui-gauge-CJstpakj.js +932 -0
- package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-B1tOD3HC.js} +398 -449
- package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-foatosAv.js} +4 -4
- package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-By33A9dZ.js} +479 -502
- package/dist/{vue-ui-hill-D7LYAgAL.js → vue-ui-hill-ewqkK9s5.js} +570 -593
- package/dist/vue-ui-history-plot-FEIwXlsz.js +1698 -0
- package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-D51sAeVu.js} +307 -332
- package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-y3EkgqJQ.js} +4 -4
- package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CtTewZJG.js} +3 -3
- package/dist/vue-ui-molecule-paWHp18h.js +935 -0
- package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-wBRTZI5k.js} +341 -390
- package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
- package/dist/vue-ui-onion-B2Q2n55x.js +1233 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +189 -214
- package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-DOPuejDE.js} +254 -284
- package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-CgHX9njq.js} +108 -109
- package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-BLvG-_zE.js} +407 -434
- package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-BDVSVFA0.js} +10 -11
- package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
- package/dist/vue-ui-ridgeline-BbrnXvBo.js +1614 -0
- package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-B3cKfMWy.js} +419 -444
- package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
- package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-DwKxd7fk.js} +4 -4
- package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-5iHJeTPc.js} +64 -65
- package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-MpvrV5Wd.js} +11 -11
- package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
- package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-B-BYVv4p.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-D7D4NHdi.js} +18 -19
- package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-RbeYtLWp.js} +11 -11
- package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-ohN7mtbg.js} +194 -198
- package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-D2bpvQYt.js} +530 -552
- package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Bo1oE8yq.js} +592 -614
- package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
- package/dist/vue-ui-table-3PPiJPV6.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-D1bbPXKG.js} +56 -57
- package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-l1cUX3ny.js} +13 -15
- package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-DltAELO7.js} +240 -261
- package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-DWNdx47q.js} +6 -6
- package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
- package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-DjNlnOG5.js} +521 -547
- package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
- package/dist/vue-ui-wheel-DrefGLos.js +871 -0
- package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-CQZ8AyOi.js} +382 -405
- package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-Y7a3VEjq.js} +426 -451
- package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-CJcdttNL.js} +879 -905
- package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-DPxtkYGc.js} +329 -326
- package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-1rbwMA1m.js} +30 -27
- package/package.json +4 -4
- package/dist/Slicer-5yIrdoJv.js +0 -1149
- package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
- package/dist/vue-ui-age-pyramid-CgnPWA93.js +0 -1263
- package/dist/vue-ui-bullet-Bc3-WaN1.js +0 -724
- package/dist/vue-ui-candlestick-DvvsrIdp.js +0 -1864
- package/dist/vue-ui-carousel-table-DtsNVim8.js +0 -463
- package/dist/vue-ui-chord-xX5gWZy8.js +0 -1396
- package/dist/vue-ui-circle-pack-D8wykmqg.js +0 -1638
- package/dist/vue-ui-donut-evolution-D6vH_hfx.js +0 -1598
- package/dist/vue-ui-funnel-CjYosIik.js +0 -797
- package/dist/vue-ui-gauge-CByT0_vF.js +0 -953
- package/dist/vue-ui-history-plot-BhcU94Pt.js +0 -1722
- package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
- package/dist/vue-ui-nested-donuts-aS4YzaB3.js +0 -1528
- package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
- package/dist/vue-ui-relation-circle-FLs8vOxQ.js +0 -925
- package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
- package/dist/vue-ui-scatter-CNA7jF-o.js +0 -2428
- package/dist/vue-ui-strip-plot-ACeYOoHj.js +0 -1757
- package/dist/vue-ui-table-rFy16bp0.js +0 -1347
- package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
- package/dist/vue-ui-waffle-iPpdk1Bm.js +0 -1412
- package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, Bt as n, D as r, Jt as i, Kt as a, Pt as o, S as ee, Vt as te, X as s, f as c, h as ne, i as l, jt as re, kt as ie, p as ae, pt as oe, q as se, r as ce, t as le, tt as ue, w as de } from "./lib-
|
|
2
|
+
import { $ as t, Bt as n, D as r, Jt as i, Kt as a, Pt as o, S as ee, Vt as te, X as s, f as c, h as ne, i as l, jt as re, kt as ie, p as ae, pt as oe, q as se, r as ce, t as le, tt as ue, w as de } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as fe, t as pe } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as me } from "./useConfig-
|
|
5
|
-
import { t as he } from "./usePrinter-
|
|
4
|
+
import { t as me } from "./useConfig-DlNpz6P8.js";
|
|
5
|
+
import { t as he } from "./usePrinter-DN5bYhTG.js";
|
|
6
6
|
import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as ve } from "./
|
|
8
|
-
import { t as ye } from "./
|
|
9
|
-
import { t as be } from "./
|
|
10
|
-
import { t as xe } from "./img-
|
|
7
|
+
import { t as ve } from "./useNestedProp-vPNvh7rV.js";
|
|
8
|
+
import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as be } from "./useChartExport-DNiwdPmb.js";
|
|
10
|
+
import { t as xe } from "./img-Bnokohej.js";
|
|
11
11
|
import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { t as Ce } from "./DefGrad-DVBqDjhO.js";
|
|
13
13
|
import { t as we } from "./A11yDataTable-DdRsVULz.js";
|
|
@@ -15,7 +15,7 @@ import { t as Te } from "./useUserOptionState-DK-_1ddE.js";
|
|
|
15
15
|
import { t as Ee } from "./useChartAccessibility-DYqac8yF.js";
|
|
16
16
|
import { t as De } from "./useTableResponsive-BAqJPR68.js";
|
|
17
17
|
import { t as Oe } from "./vue_ui_chestnut-D2oUhad6.js";
|
|
18
|
-
import { Fragment as u, computed as d, createBlock as
|
|
18
|
+
import { Fragment as u, computed as d, createBlock as ke, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Ae, createTextVNode as je, createVNode as h, defineAsyncComponent as Me, guardReactiveProps as g, mergeProps as Ne, nextTick as Pe, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onMounted as Fe, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Ie, toDisplayString as w, toRefs as Le, unref as T, useCssVars as Re, watch as ze, withCtx as E, withKeys as Be } from "vue";
|
|
19
19
|
//#region src/components/vue-ui-chestnut.vue
|
|
20
20
|
var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We = {
|
|
21
21
|
"aria-live": "polite",
|
|
@@ -359,14 +359,14 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
359
359
|
"copyAlt"
|
|
360
360
|
],
|
|
361
361
|
setup(e, { expose: Se, emit: Ve }) {
|
|
362
|
-
Re((e) => ({
|
|
363
|
-
let Nn = Me(() => import("./BaseIcon-
|
|
362
|
+
Re((e) => ({ v442dd34a: e.tdo }));
|
|
363
|
+
let Nn = Me(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), Pn = Me(() => import("./vue-ui-accordion-DegI2lzR.js").then((e) => e.n)), Fn = Me(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), In = Me(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Ln = Me(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), Rn = Me(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_chestnut: zn } = me(), { isThemeValid: Bn, warnInvalidTheme: Vn } = ye(), D = e, Hn = d(() => !!D.dataset && D.dataset.length), O = x(se()), Un = x(null), Wn = x(0), Gn = x(null), Kn = x(null), qn = x(!1), k = x(!1), A = x(""), j = x({
|
|
364
364
|
level: "root",
|
|
365
365
|
rootIndex: 0,
|
|
366
366
|
branchIndex: 0,
|
|
367
367
|
nutIndex: 0,
|
|
368
368
|
locked: !1
|
|
369
|
-
}), M = x(
|
|
369
|
+
}), M = x(tr());
|
|
370
370
|
fe({
|
|
371
371
|
config: () => M.value,
|
|
372
372
|
dataset: () => D.dataset,
|
|
@@ -391,7 +391,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
391
391
|
}
|
|
392
392
|
]
|
|
393
393
|
});
|
|
394
|
-
let N = d(() => M.value.userOptions.useCursorPointer),
|
|
394
|
+
let N = d(() => M.value.userOptions.useCursorPointer), Jn = d(() => i({
|
|
395
395
|
defaultConfig: {
|
|
396
396
|
userOptions: { show: !1 },
|
|
397
397
|
table: { show: !1 },
|
|
@@ -416,10 +416,10 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
416
416
|
} }
|
|
417
417
|
},
|
|
418
418
|
userConfig: M.value.skeletonConfig ?? {}
|
|
419
|
-
})), { loading:
|
|
419
|
+
})), { loading: Yn, FINAL_DATASET: Xn } = ge({
|
|
420
420
|
...Le(D),
|
|
421
421
|
FINAL_CONFIG: M,
|
|
422
|
-
prepareConfig:
|
|
422
|
+
prepareConfig: tr,
|
|
423
423
|
skeletonDataset: D.config?.skeletonDataset ?? [{
|
|
424
424
|
name: "_",
|
|
425
425
|
color: "#969696",
|
|
@@ -537,20 +537,20 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
537
537
|
}],
|
|
538
538
|
skeletonConfig: i({
|
|
539
539
|
defaultConfig: M.value,
|
|
540
|
-
userConfig:
|
|
540
|
+
userConfig: Jn.value
|
|
541
541
|
})
|
|
542
|
-
}), { userOptionsVisible:
|
|
543
|
-
function
|
|
544
|
-
let e =
|
|
542
|
+
}), { userOptionsVisible: Zn, setUserOptionsVisibility: Qn, keepUserOptionState: $n } = Te({ config: M.value }), { svgRef: er } = Ee({ config: M.value.style.chart.layout.title });
|
|
543
|
+
function tr() {
|
|
544
|
+
let e = ve({
|
|
545
545
|
userConfig: D.config,
|
|
546
546
|
defaultConfig: zn
|
|
547
547
|
}), t = e.theme;
|
|
548
548
|
if (!t) return e;
|
|
549
549
|
if (!Bn.value(e)) return Vn(e), e;
|
|
550
|
-
let n =
|
|
550
|
+
let n = ve({
|
|
551
551
|
userConfig: Oe[t] || D.config,
|
|
552
552
|
defaultConfig: e
|
|
553
|
-
}), r =
|
|
553
|
+
}), r = ve({
|
|
554
554
|
userConfig: D.config,
|
|
555
555
|
defaultConfig: n
|
|
556
556
|
});
|
|
@@ -560,17 +560,17 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
560
560
|
};
|
|
561
561
|
}
|
|
562
562
|
ze(() => D.config, (e) => {
|
|
563
|
-
M.value =
|
|
563
|
+
M.value = tr(), Zn.value = !M.value.userOptions.showOnChartHover, P.value.showTable = M.value.table.show, Dr();
|
|
564
564
|
}, { deep: !0 });
|
|
565
|
-
let { isPrinting:
|
|
565
|
+
let { isPrinting: nr, isImaging: rr, generatePdf: ir, generateImage: ar } = he({
|
|
566
566
|
elementId: `vue-ui-chestnut_${O.value}`,
|
|
567
567
|
fileName: M.value.style.chart.layout.title.text || "vue-ui-chestnut",
|
|
568
568
|
options: M.value.userOptions.print
|
|
569
|
-
}),
|
|
569
|
+
}), or = d(() => M.value.userOptions.show), sr = d(() => de(M.value.customPalette)), P = x({ showTable: M.value.table.show });
|
|
570
570
|
ze(M, () => {
|
|
571
571
|
P.value = { showTable: M.value.table.show };
|
|
572
572
|
}, { immediate: !0 });
|
|
573
|
-
let
|
|
573
|
+
let cr = x(null), lr = d(() => M.value.table.responsiveBreakpoint), F = x({
|
|
574
574
|
gap: 6,
|
|
575
575
|
padding: {
|
|
576
576
|
top: 102,
|
|
@@ -590,7 +590,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
590
590
|
width: F.value.width - (F.value.padding.left + F.value.padding.right),
|
|
591
591
|
height: F.value.height - (F.value.padding.top + F.value.padding.bottom),
|
|
592
592
|
seedX: F.value.padding.left + 64
|
|
593
|
-
})), L = d(() =>
|
|
593
|
+
})), L = d(() => Xn.value.flatMap((e) => (e.branches || []).map((e) => e.value || 0)).reduce((e, t) => e + t, 0)), ur = d(() => M.value.debug), R = d(() => (ur.value && Xn.value.forEach((e, t) => {
|
|
594
594
|
oe({
|
|
595
595
|
datasetObject: e,
|
|
596
596
|
requiredAttributes: ["name", "branches"]
|
|
@@ -599,8 +599,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
599
599
|
componentName: "VueUiChestnut",
|
|
600
600
|
type: "datasetSerieAttribute",
|
|
601
601
|
property: e,
|
|
602
|
-
index: t
|
|
603
|
-
debug: Or.value
|
|
602
|
+
index: t
|
|
604
603
|
});
|
|
605
604
|
}), e.branches && e.branches.forEach((e, n) => {
|
|
606
605
|
oe({
|
|
@@ -611,8 +610,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
611
610
|
componentName: "VueUiChestnut",
|
|
612
611
|
type: "datasetSerieAttribute",
|
|
613
612
|
property: e,
|
|
614
|
-
index: `${t} - ${n}
|
|
615
|
-
debug: Or.value
|
|
613
|
+
index: `${t} - ${n}`
|
|
616
614
|
});
|
|
617
615
|
}), e.breakdown && e.breakdown.forEach((e, r) => {
|
|
618
616
|
oe({
|
|
@@ -623,17 +621,16 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
623
621
|
componentName: "VueUiChestnut",
|
|
624
622
|
type: "datasetSerieAttribute",
|
|
625
623
|
property: e,
|
|
626
|
-
index: `${t} - ${n} - ${r}
|
|
627
|
-
debug: Or.value
|
|
624
|
+
index: `${t} - ${n} - ${r}`
|
|
628
625
|
});
|
|
629
626
|
});
|
|
630
627
|
});
|
|
631
628
|
});
|
|
632
|
-
}),
|
|
629
|
+
}), Xn.value.map((e, t) => {
|
|
633
630
|
let n = (e.branches || []).map((e) => e.value || 0).reduce((e, t) => e + t, 0);
|
|
634
631
|
return {
|
|
635
632
|
...e,
|
|
636
|
-
color: ee(e.color) ||
|
|
633
|
+
color: ee(e.color) || sr.value[t] || o[t] || o[t % o.length],
|
|
637
634
|
id: e.id || `root_${t}_${O.value}`,
|
|
638
635
|
type: "root",
|
|
639
636
|
total: n,
|
|
@@ -642,7 +639,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
642
639
|
...r,
|
|
643
640
|
rootName: e.name,
|
|
644
641
|
rootIndex: t,
|
|
645
|
-
color: ee(e.color) ||
|
|
642
|
+
color: ee(e.color) || sr.value[t] || o[t] || o[t % o.length],
|
|
646
643
|
value: r.value >= 0 ? r.value : 0,
|
|
647
644
|
id: r.id || `branch_${t}_${i}_${O.value}`,
|
|
648
645
|
proportionToRoot: r.value / n,
|
|
@@ -672,16 +669,16 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
672
669
|
proportionToTree: a.value / L.value,
|
|
673
670
|
rootIndex: t,
|
|
674
671
|
id: a.id || `nut_${t}_${i}_${te}_${O.value}`,
|
|
675
|
-
color: ee(a.color) ||
|
|
672
|
+
color: ee(a.color) || sr.value[te] || o[te] || o[te % o.length],
|
|
676
673
|
value: a.value >= 0 ? a.value : 0
|
|
677
674
|
}))
|
|
678
675
|
}))
|
|
679
676
|
};
|
|
680
677
|
})));
|
|
681
|
-
function
|
|
678
|
+
function dr() {
|
|
682
679
|
return R.value;
|
|
683
680
|
}
|
|
684
|
-
let
|
|
681
|
+
let fr = Ve, pr = d(() => R.value.flatMap((e) => e.branches).length), mr = d(() => Math.max(...R.value.map((e) => e.branches.map((e) => e.value).reduce((e, t) => e + t, 0)))), hr = d(() => Math.max(...R.value.flatMap((e) => e.branches.map((e) => e.value)))), gr = d(() => 256 + F.value.padding.left), z = d(() => R.value.sort((e, t) => t.total - e.total).map((e, t) => {
|
|
685
682
|
let n = I.value.height / R.value.length / 2, r = e.total / mr.value * (n > 64 ? 64 : n);
|
|
686
683
|
return {
|
|
687
684
|
...e,
|
|
@@ -689,13 +686,13 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
689
686
|
y: I.value.top + I.value.height / R.value.length * (t + 1) - (I.value.height / R.value.length / 2 + F.value.gap / 2),
|
|
690
687
|
r: r < F.value.branchSize / 2 ? F.value.branchSize / 2 : r
|
|
691
688
|
};
|
|
692
|
-
})), _r = d(() => M.value.style.chart.layout.branches.widthRatio <= 0 ? .1 : M.value.style.chart.layout.branches.widthRatio > 1.8 ? 1.8 : M.value.style.chart.layout.branches.widthRatio), vr = d(() =>
|
|
689
|
+
})), _r = d(() => M.value.style.chart.layout.branches.widthRatio <= 0 ? .1 : M.value.style.chart.layout.branches.widthRatio > 1.8 ? 1.8 : M.value.style.chart.layout.branches.widthRatio), vr = d(() => z.value.flatMap((e) => e.branches)), B = d(() => vr.value.sort((e, t) => t.value - e.value).map((e, t) => ({
|
|
693
690
|
...e,
|
|
694
691
|
y1: t * F.value.branchSize + I.value.top + t * F.value.gap,
|
|
695
692
|
y2: t * F.value.branchSize + F.value.branchSize,
|
|
696
693
|
x1: gr.value,
|
|
697
694
|
x2: 384 * e.value / hr.value * _r.value + gr.value
|
|
698
|
-
}))),
|
|
695
|
+
}))), V = d(() => z.value), yr = d(() => V.value.map((e) => B.value.filter((t) => t.rootIndex === e.rootIndex).sort((e, t) => e.y1 - t.y1))), br = d(() => V.value.map((e, t) => yr.value[t].map((e) => (e.breakdown || []).map((t, n) => ({
|
|
699
696
|
...t,
|
|
700
697
|
nutIndex: n,
|
|
701
698
|
rootIndex: e.rootIndex,
|
|
@@ -704,8 +701,8 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
704
701
|
branchValue: e.value,
|
|
705
702
|
rootName: e.rootName
|
|
706
703
|
})))));
|
|
707
|
-
function
|
|
708
|
-
let t =
|
|
704
|
+
function xr(e) {
|
|
705
|
+
let t = z.value.find((t) => t.rootIndex === e.rootIndex);
|
|
709
706
|
return {
|
|
710
707
|
x: t.x,
|
|
711
708
|
y: t.y,
|
|
@@ -720,49 +717,48 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
720
717
|
if (H.value) return e.type === "root" ? e.rootIndex === H.value.rootIndex : e.type === "branch" ? e.id === H.value.id : e.type === "nut" && e.branchName === H.value.name && e.rootIndex === H.value.rootIndex;
|
|
721
718
|
if (W.value) return e.type === "root" ? e.rootIndex === W.value.rootIndex : e.type === "branch" ? e.id === W.value.id : e.type === "nut" && e.branchName === W.value.name && e.rootIndex === W.value.rootIndex;
|
|
722
719
|
if (G.value) return e.type === "root" ? e.id === G.value.id : e.type === "branch" || e.type === "nut" ? e.rootIndex === G.value.rootIndex : !1;
|
|
723
|
-
if (
|
|
720
|
+
if (ni.value && k.value) {
|
|
724
721
|
if (j.value.level === "root") return e.type === "root" ? Z.value && e.id === Z.value.id : e.type === "branch" || e.type === "nut" ? Z.value && e.rootIndex === Z.value.rootIndex : !1;
|
|
725
|
-
if (j.value.level === "branch") return e.type === "root" ? Z.value && e.rootIndex === Z.value.rootIndex : e.type === "branch" ?
|
|
726
|
-
if (j.value.level === "nut") return e.type === "root" ? Z.value && e.rootIndex === Z.value.rootIndex : e.type === "branch" ?
|
|
722
|
+
if (j.value.level === "branch") return e.type === "root" ? Z.value && e.rootIndex === Z.value.rootIndex : e.type === "branch" ? ei.value && e.id === ei.value.id : (e.type, !1);
|
|
723
|
+
if (j.value.level === "nut") return e.type === "root" ? Z.value && e.rootIndex === Z.value.rootIndex : e.type === "branch" ? ti.value && e.id === ti.value.id : e.type === "nut" && ti.value && e.branchName === ti.value.name && e.rootIndex === ti.value.rootIndex;
|
|
727
724
|
}
|
|
728
725
|
return !0;
|
|
729
726
|
}
|
|
730
|
-
function
|
|
727
|
+
function Sr(e) {
|
|
731
728
|
K();
|
|
732
|
-
let t =
|
|
729
|
+
let t = V.value.findIndex((t) => t.rootIndex === e.rootIndex), n = (yr.value[t] || []).findIndex((t) => t.id === e.id);
|
|
733
730
|
t !== -1 && (j.value.rootIndex = t), n !== -1 && (j.value.branchIndex = n), j.value.level = "nut", j.value.nutIndex = 0, Pe(() => {
|
|
734
731
|
H.value = e, W.value = e, U.value = ie({
|
|
735
732
|
series: e.breakdown,
|
|
736
733
|
base: 1
|
|
737
|
-
}, e.x2 + 24 + M.value.style.chart.layout.nuts.offsetX, e.y1 + F.value.branchSize / 2, 80, 80),
|
|
734
|
+
}, e.x2 + 24 + M.value.style.chart.layout.nuts.offsetX, e.y1 + F.value.branchSize / 2, 80, 80), fr("selectNut", e.breakdown), Q();
|
|
738
735
|
});
|
|
739
736
|
}
|
|
740
737
|
function J() {
|
|
741
|
-
H.value = null, U.value = null,
|
|
738
|
+
H.value = null, U.value = null, fr("selectNut", null);
|
|
742
739
|
}
|
|
743
|
-
function
|
|
744
|
-
let t =
|
|
745
|
-
t !== -1 && (j.value.rootIndex = t), n !== -1 && (j.value.branchIndex = n), j.value.level = "branch", j.value.nutIndex = 0, W.value && W.value.id === e.id ? (W.value = null, K(),
|
|
740
|
+
function Cr(e) {
|
|
741
|
+
let t = V.value.findIndex((t) => t.rootIndex === e.rootIndex), n = (yr.value[t] || []).findIndex((t) => t.id === e.id);
|
|
742
|
+
t !== -1 && (j.value.rootIndex = t), n !== -1 && (j.value.branchIndex = n), j.value.level = "branch", j.value.nutIndex = 0, W.value && W.value.id === e.id ? (W.value = null, K(), fr("selectBranch", null), Q()) : (K(), W.value = e, fr("selectBranch", e), Q());
|
|
746
743
|
}
|
|
747
|
-
function
|
|
748
|
-
let t =
|
|
749
|
-
t !== -1 && (j.value.rootIndex = t), j.value.level = "root", j.value.branchIndex = 0, j.value.nutIndex = 0, G.value && G.value.id === e.id ? (K(),
|
|
744
|
+
function wr(e) {
|
|
745
|
+
let t = V.value.findIndex((t) => t.id === e.id);
|
|
746
|
+
t !== -1 && (j.value.rootIndex = t), j.value.level = "root", j.value.branchIndex = 0, j.value.nutIndex = 0, G.value && G.value.id === e.id ? (K(), fr("selectRoot", null), Q()) : (K(), G.value = e, fr("selectRoot", e), Q());
|
|
750
747
|
}
|
|
751
|
-
function
|
|
748
|
+
function Tr() {
|
|
752
749
|
return I.value.bottom - (H.value.y1 + 180) < 0 ? 0 : I.value.bottom;
|
|
753
750
|
}
|
|
754
|
-
function
|
|
751
|
+
function Er(e) {
|
|
755
752
|
return e.proportion * 100 > M.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
|
|
756
753
|
}
|
|
757
754
|
Fe(() => {
|
|
758
|
-
|
|
755
|
+
Dr();
|
|
759
756
|
});
|
|
760
|
-
|
|
761
|
-
function kr() {
|
|
757
|
+
function Dr() {
|
|
762
758
|
re(D.dataset) && ue({
|
|
763
759
|
componentName: "VueUiChestnut",
|
|
764
760
|
type: "dataset",
|
|
765
|
-
debug:
|
|
761
|
+
debug: ur.value
|
|
766
762
|
});
|
|
767
763
|
let e = pr.value * (F.value.branchSize + F.value.gap) + F.value.padding.top + F.value.padding.bottom;
|
|
768
764
|
F.value.height = e;
|
|
@@ -784,7 +780,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
784
780
|
],
|
|
785
781
|
body: R.value.flatMap((e, t) => e.branches.flatMap((e, t) => e.breakdown.flatMap((e, t) => e.table)))
|
|
786
782
|
}));
|
|
787
|
-
function
|
|
783
|
+
function Or(e = null) {
|
|
788
784
|
Pe(() => {
|
|
789
785
|
let n = [
|
|
790
786
|
[M.value.style.chart.layout.title.text],
|
|
@@ -805,25 +801,25 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
805
801
|
e.nutToBranch,
|
|
806
802
|
e.nutToRoot,
|
|
807
803
|
e.nutToTotal
|
|
808
|
-
]), o =
|
|
809
|
-
e ? e(
|
|
810
|
-
csvContent:
|
|
804
|
+
]), o = n.concat([i]).concat(a), ee = r(o);
|
|
805
|
+
e ? e(ee) : t({
|
|
806
|
+
csvContent: ee,
|
|
811
807
|
title: M.value.style.chart.layout.title.text || "vue-ui-chestnut"
|
|
812
808
|
});
|
|
813
809
|
});
|
|
814
810
|
}
|
|
815
|
-
let
|
|
816
|
-
function
|
|
817
|
-
|
|
811
|
+
let kr = x(!1);
|
|
812
|
+
function Ar(e) {
|
|
813
|
+
kr.value = e, Wn.value += 1;
|
|
818
814
|
}
|
|
819
|
-
function
|
|
815
|
+
function jr() {
|
|
820
816
|
P.value.showTable = !P.value.showTable;
|
|
821
817
|
}
|
|
822
|
-
let
|
|
823
|
-
function
|
|
824
|
-
|
|
818
|
+
let Mr = x(!1);
|
|
819
|
+
function Nr() {
|
|
820
|
+
Mr.value = !Mr.value;
|
|
825
821
|
}
|
|
826
|
-
async function
|
|
822
|
+
async function Pr({ scale: e = 2 } = {}) {
|
|
827
823
|
if (!Un.value) return;
|
|
828
824
|
let { width: t, height: n } = Un.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await xe({
|
|
829
825
|
domElement: Un.value,
|
|
@@ -840,8 +836,8 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
840
836
|
aspectRatio: r
|
|
841
837
|
};
|
|
842
838
|
}
|
|
843
|
-
function
|
|
844
|
-
let t =
|
|
839
|
+
function Fr(e) {
|
|
840
|
+
let t = xr(e), n = e.x1, r = e.y1, i = F.value.branchSize, a = t.x + t.r / 2, o = t.y;
|
|
845
841
|
return [
|
|
846
842
|
`M ${n},${r}`,
|
|
847
843
|
`C ${n - 20},${r} ${n - 20},${r} ${a},${o}`,
|
|
@@ -849,7 +845,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
849
845
|
"Z"
|
|
850
846
|
].join(" ");
|
|
851
847
|
}
|
|
852
|
-
let
|
|
848
|
+
let Ir = d(() => {
|
|
853
849
|
let e = M.value.table.useDialog && !M.value.table.show, t = P.value.showTable;
|
|
854
850
|
return {
|
|
855
851
|
component: e ? Rn : Pn,
|
|
@@ -859,7 +855,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
859
855
|
color: M.value.table.th.color,
|
|
860
856
|
headerColor: M.value.table.th.color,
|
|
861
857
|
headerBg: M.value.table.th.backgroundColor,
|
|
862
|
-
isFullscreen:
|
|
858
|
+
isFullscreen: kr.value,
|
|
863
859
|
fullscreenParent: Un.value,
|
|
864
860
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
865
861
|
isCursorPointer: N.value
|
|
@@ -883,11 +879,11 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
883
879
|
ze(() => P.value.showTable, async (e) => {
|
|
884
880
|
M.value.table.show || (e && M.value.table.useDialog && Gn.value ? (await Pe(), Gn.value.open()) : "close" in Gn.value && Gn.value.close());
|
|
885
881
|
});
|
|
886
|
-
let { isResponsive:
|
|
887
|
-
function
|
|
882
|
+
let { isResponsive: Lr } = De(cr, lr);
|
|
883
|
+
function Rr() {
|
|
888
884
|
P.value.showTable = !1, Kn.value && Kn.value.setTableIconState(!1);
|
|
889
885
|
}
|
|
890
|
-
let
|
|
886
|
+
let zr = d(() => R.value.map((e, t) => ({
|
|
891
887
|
...e,
|
|
892
888
|
display: `${e.name}: ${l(M.value.style.chart.layout.roots.labels.formatter, e.total, s({
|
|
893
889
|
p: M.value.style.chart.layout.legend.prefix,
|
|
@@ -899,52 +895,27 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
899
895
|
s: "%",
|
|
900
896
|
r: M.value.style.chart.layout.legend.roundingPercentage
|
|
901
897
|
})})`
|
|
902
|
-
}))),
|
|
898
|
+
}))), Br = d(() => zr.value.map((e) => ({
|
|
903
899
|
color: e.color,
|
|
904
900
|
name: e.display,
|
|
905
901
|
shape: "circle"
|
|
906
|
-
}))),
|
|
902
|
+
}))), Vr = d(() => M.value.style.chart.backgroundColor), Hr = d(() => ({
|
|
907
903
|
...M.value.style.chart.layout.legend,
|
|
908
904
|
textAlign: "center",
|
|
909
905
|
show: !0,
|
|
910
906
|
position: "bottom"
|
|
911
|
-
})), {
|
|
912
|
-
svg:
|
|
913
|
-
title:
|
|
914
|
-
legend:
|
|
915
|
-
legendItems:
|
|
916
|
-
backgroundColor:
|
|
917
|
-
titleEmbedded: !0
|
|
907
|
+
})), Ur = d(() => M.value.style.chart.layout.title), { isCallbackImaging: Wr, isCallbackSvg: Gr, generateSvg: Kr, onGenerateImage: qr } = be({
|
|
908
|
+
svg: er,
|
|
909
|
+
title: Ur,
|
|
910
|
+
legend: Hr,
|
|
911
|
+
legendItems: Br,
|
|
912
|
+
backgroundColor: Vr,
|
|
913
|
+
titleEmbedded: !0,
|
|
914
|
+
getSvgCallback: () => M.value.userOptions.callbacks.svg,
|
|
915
|
+
generateImage: ar
|
|
918
916
|
});
|
|
919
|
-
async function
|
|
920
|
-
|
|
921
|
-
try {
|
|
922
|
-
if (e) {
|
|
923
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await Kr();
|
|
924
|
-
await Promise.resolve(M.value.userOptions.callbacks.svg({
|
|
925
|
-
blob: e,
|
|
926
|
-
url: t,
|
|
927
|
-
text: n,
|
|
928
|
-
dataUrl: r
|
|
929
|
-
}));
|
|
930
|
-
} else await Promise.resolve(Gr());
|
|
931
|
-
} finally {
|
|
932
|
-
Jn.value = !1;
|
|
933
|
-
}
|
|
934
|
-
}
|
|
935
|
-
function Jr(e) {
|
|
936
|
-
if (e?.stage === "start") {
|
|
937
|
-
qn.value = !0;
|
|
938
|
-
return;
|
|
939
|
-
}
|
|
940
|
-
if (e?.stage === "end") {
|
|
941
|
-
qn.value = !1;
|
|
942
|
-
return;
|
|
943
|
-
}
|
|
944
|
-
sr();
|
|
945
|
-
}
|
|
946
|
-
async function Yr() {
|
|
947
|
-
if (z("copyAlt", {
|
|
917
|
+
async function Jr() {
|
|
918
|
+
if (fr("copyAlt", {
|
|
948
919
|
config: M.value,
|
|
949
920
|
dataset: R.value
|
|
950
921
|
}), !M.value.userOptions.callbacks.altCopy) {
|
|
@@ -956,7 +927,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
956
927
|
dataset: R.value
|
|
957
928
|
}));
|
|
958
929
|
}
|
|
959
|
-
function
|
|
930
|
+
function Yr(e) {
|
|
960
931
|
if (!e) return "";
|
|
961
932
|
let t = s({
|
|
962
933
|
p: M.value.style.chart.layout.legend.prefix,
|
|
@@ -970,7 +941,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
970
941
|
});
|
|
971
942
|
return `Root ${e.name}. Value ${t}. ${n} of total.`;
|
|
972
943
|
}
|
|
973
|
-
function
|
|
944
|
+
function Xr(e) {
|
|
974
945
|
if (!e) return "";
|
|
975
946
|
let t = s({
|
|
976
947
|
p: M.value.style.chart.layout.branches.labels.dataLabels.prefix,
|
|
@@ -984,7 +955,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
984
955
|
});
|
|
985
956
|
return `Branch ${e.name}. Root ${e.rootName}. Value ${t}. ${n} of root ${e.rootName}.`;
|
|
986
957
|
}
|
|
987
|
-
function
|
|
958
|
+
function Zr(e) {
|
|
988
959
|
if (!e) return "";
|
|
989
960
|
let t = s({
|
|
990
961
|
p: M.value.style.chart.layout.legend.prefix,
|
|
@@ -998,17 +969,17 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
998
969
|
});
|
|
999
970
|
return `Nut ${e.name}. Branch ${e.branchName}. Root ${e.rootName}. Value ${t}. ${n} of branch ${e.branchName}.`;
|
|
1000
971
|
}
|
|
1001
|
-
let
|
|
972
|
+
let Qr = d(() => V.value[j.value.rootIndex] || null), X = d(() => (yr.value[j.value.rootIndex] || [])[j.value.branchIndex] || null), $r = d(() => ((br.value[j.value.rootIndex] || [])[j.value.branchIndex] || [])[j.value.nutIndex] || null), Z = d(() => Qr.value), ei = d(() => X.value), ti = d(() => j.value.level === "nut" ? X.value : null), ni = d(() => qn.value);
|
|
1002
973
|
function Q() {
|
|
1003
974
|
if (j.value.level === "root") {
|
|
1004
|
-
A.value =
|
|
975
|
+
A.value = Yr(Qr.value);
|
|
1005
976
|
return;
|
|
1006
977
|
}
|
|
1007
978
|
if (j.value.level === "branch") {
|
|
1008
|
-
A.value =
|
|
979
|
+
A.value = Xr(X.value);
|
|
1009
980
|
return;
|
|
1010
981
|
}
|
|
1011
|
-
j.value.level === "nut" && (A.value =
|
|
982
|
+
j.value.level === "nut" && (A.value = Zr($r.value));
|
|
1012
983
|
}
|
|
1013
984
|
function $() {
|
|
1014
985
|
j.value = {
|
|
@@ -1019,45 +990,45 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1019
990
|
locked: !1
|
|
1020
991
|
}, A.value = "";
|
|
1021
992
|
}
|
|
1022
|
-
function
|
|
1023
|
-
let e =
|
|
993
|
+
function ri() {
|
|
994
|
+
let e = yr.value[j.value.rootIndex] || [];
|
|
1024
995
|
if (!e.length) {
|
|
1025
996
|
j.value.branchIndex = 0;
|
|
1026
997
|
return;
|
|
1027
998
|
}
|
|
1028
999
|
j.value.branchIndex >= e.length && (j.value.branchIndex = 0), j.value.branchIndex < 0 && (j.value.branchIndex = e.length - 1);
|
|
1029
1000
|
}
|
|
1030
|
-
function
|
|
1031
|
-
let e = (
|
|
1001
|
+
function ii() {
|
|
1002
|
+
let e = (br.value[j.value.rootIndex] || [])[j.value.branchIndex] || [];
|
|
1032
1003
|
if (!e.length) {
|
|
1033
1004
|
j.value.nutIndex = 0;
|
|
1034
1005
|
return;
|
|
1035
1006
|
}
|
|
1036
1007
|
j.value.nutIndex >= e.length && (j.value.nutIndex = 0), j.value.nutIndex < 0 && (j.value.nutIndex = e.length - 1);
|
|
1037
1008
|
}
|
|
1038
|
-
function
|
|
1009
|
+
function ai(e) {
|
|
1039
1010
|
if (j.value.level === "root") {
|
|
1040
|
-
let t =
|
|
1011
|
+
let t = V.value.length;
|
|
1041
1012
|
if (!t) return;
|
|
1042
1013
|
j.value.rootIndex += e, j.value.rootIndex >= t && (j.value.rootIndex = 0), j.value.rootIndex < 0 && (j.value.rootIndex = t - 1), j.value.branchIndex = 0, j.value.nutIndex = 0, Q();
|
|
1043
1014
|
return;
|
|
1044
1015
|
}
|
|
1045
1016
|
if (j.value.level === "branch") {
|
|
1046
|
-
j.value.branchIndex += e,
|
|
1017
|
+
j.value.branchIndex += e, ri(), j.value.nutIndex = 0, Q();
|
|
1047
1018
|
return;
|
|
1048
1019
|
}
|
|
1049
|
-
j.value.level === "nut" && (j.value.nutIndex += e,
|
|
1020
|
+
j.value.level === "nut" && (j.value.nutIndex += e, ii(), Q());
|
|
1050
1021
|
}
|
|
1051
|
-
function
|
|
1022
|
+
function oi(e) {
|
|
1052
1023
|
if (e > 0) {
|
|
1053
1024
|
if (j.value.level === "root") {
|
|
1054
|
-
if (!(
|
|
1025
|
+
if (!(yr.value[j.value.rootIndex] || []).length) return;
|
|
1055
1026
|
j.value.level = "branch", j.value.branchIndex = 0, j.value.nutIndex = 0, Q();
|
|
1056
1027
|
return;
|
|
1057
1028
|
}
|
|
1058
1029
|
if (j.value.level === "branch") {
|
|
1059
|
-
if (!((
|
|
1060
|
-
j.value.level = "nut", j.value.nutIndex = 0, X.value ?
|
|
1030
|
+
if (!((br.value[j.value.rootIndex] || [])[j.value.branchIndex] || []).length) return;
|
|
1031
|
+
j.value.level = "nut", j.value.nutIndex = 0, X.value ? Sr(X.value) : Q();
|
|
1061
1032
|
return;
|
|
1062
1033
|
}
|
|
1063
1034
|
return;
|
|
@@ -1068,50 +1039,50 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1068
1039
|
}
|
|
1069
1040
|
j.value.level === "branch" && (W.value = null, G.value = null, j.value.level = "root", j.value.nutIndex = 0, Q());
|
|
1070
1041
|
}
|
|
1071
|
-
function
|
|
1072
|
-
if (j.value.level === "root" &&
|
|
1073
|
-
|
|
1042
|
+
function si() {
|
|
1043
|
+
if (j.value.level === "root" && Qr.value) {
|
|
1044
|
+
wr(Qr.value), A.value = `${Yr(Qr.value)} selected.`;
|
|
1074
1045
|
return;
|
|
1075
1046
|
}
|
|
1076
1047
|
if (j.value.level === "branch" && X.value) {
|
|
1077
|
-
|
|
1048
|
+
Cr(X.value), A.value = `${Xr(X.value)} selected.`;
|
|
1078
1049
|
return;
|
|
1079
1050
|
}
|
|
1080
|
-
j.value.level === "nut" && X.value &&
|
|
1051
|
+
j.value.level === "nut" && X.value && $r.value && (Sr(X.value), A.value = `${Zr($r.value)} details opened.`);
|
|
1081
1052
|
}
|
|
1082
|
-
function
|
|
1083
|
-
|
|
1053
|
+
function ci() {
|
|
1054
|
+
qn.value = !0, k.value = !1;
|
|
1084
1055
|
}
|
|
1085
|
-
function
|
|
1086
|
-
|
|
1056
|
+
function li() {
|
|
1057
|
+
qn.value = !1, k.value = !1, A.value = "", !G.value && !W.value && !H.value && $();
|
|
1087
1058
|
}
|
|
1088
|
-
function
|
|
1059
|
+
function ui(e) {
|
|
1089
1060
|
let t = e.key === "ArrowUp", n = e.key === "ArrowDown", r = e.key === "ArrowLeft", i = e.key === "ArrowRight", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
|
|
1090
1061
|
if (!(!t && !n && !r && !i && !a && !o)) {
|
|
1091
|
-
if (e.preventDefault(), e.stopPropagation(),
|
|
1062
|
+
if (e.preventDefault(), e.stopPropagation(), qn.value ||= !0, o) {
|
|
1092
1063
|
K(), $(), k.value = !1;
|
|
1093
1064
|
return;
|
|
1094
1065
|
}
|
|
1095
1066
|
if ((t || n || r || i) && (k.value = !0), t) {
|
|
1096
|
-
|
|
1067
|
+
ai(-1);
|
|
1097
1068
|
return;
|
|
1098
1069
|
}
|
|
1099
1070
|
if (n) {
|
|
1100
|
-
|
|
1071
|
+
ai(1);
|
|
1101
1072
|
return;
|
|
1102
1073
|
}
|
|
1103
1074
|
if (r) {
|
|
1104
|
-
|
|
1075
|
+
oi(-1);
|
|
1105
1076
|
return;
|
|
1106
1077
|
}
|
|
1107
1078
|
if (i) {
|
|
1108
|
-
|
|
1079
|
+
oi(1);
|
|
1109
1080
|
return;
|
|
1110
1081
|
}
|
|
1111
|
-
a &&
|
|
1082
|
+
a && si();
|
|
1112
1083
|
}
|
|
1113
1084
|
}
|
|
1114
|
-
let
|
|
1085
|
+
let di = d(() => ({
|
|
1115
1086
|
headers: Y.value.head,
|
|
1116
1087
|
rows: Y.value.body.map((e) => [
|
|
1117
1088
|
e.rootName,
|
|
@@ -1153,35 +1124,35 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1153
1124
|
])
|
|
1154
1125
|
}));
|
|
1155
1126
|
return Se({
|
|
1156
|
-
getData:
|
|
1157
|
-
getImage:
|
|
1158
|
-
generatePdf:
|
|
1159
|
-
generateCsv:
|
|
1160
|
-
generateImage:
|
|
1161
|
-
generateSvg:
|
|
1162
|
-
toggleTable:
|
|
1163
|
-
toggleAnnotator:
|
|
1164
|
-
toggleFullscreen:
|
|
1165
|
-
copyAlt:
|
|
1166
|
-
}), (e, t) => (b(),
|
|
1167
|
-
class: _(`vue-data-ui-component vue-ui-chestnut ${
|
|
1127
|
+
getData: dr,
|
|
1128
|
+
getImage: Pr,
|
|
1129
|
+
generatePdf: ir,
|
|
1130
|
+
generateCsv: Or,
|
|
1131
|
+
generateImage: ar,
|
|
1132
|
+
generateSvg: Kr,
|
|
1133
|
+
toggleTable: jr,
|
|
1134
|
+
toggleAnnotator: Nr,
|
|
1135
|
+
toggleFullscreen: Ar,
|
|
1136
|
+
copyAlt: Jr
|
|
1137
|
+
}), (e, t) => (b(), p("div", {
|
|
1138
|
+
class: _(`vue-data-ui-component vue-ui-chestnut ${kr.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
1168
1139
|
ref_key: "chestnutChart",
|
|
1169
1140
|
ref: Un,
|
|
1170
1141
|
id: `vue-ui-chestnut_${O.value}`,
|
|
1171
1142
|
style: y(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${M.value.style.chart.backgroundColor}`),
|
|
1172
|
-
onMouseenter: t[12] ||= () => T(
|
|
1173
|
-
onMouseleave: t[13] ||= () => T(
|
|
1143
|
+
onMouseenter: t[12] ||= () => T(Qn)(!0),
|
|
1144
|
+
onMouseleave: t[13] ||= () => T(Qn)(!1)
|
|
1174
1145
|
}, [
|
|
1175
|
-
|
|
1146
|
+
m("div", {
|
|
1176
1147
|
id: `chart-instructions-${O.value}`,
|
|
1177
1148
|
class: "sr-only"
|
|
1178
|
-
}, [
|
|
1179
|
-
|
|
1180
|
-
|
|
1149
|
+
}, [m("p", null, w(M.value.a11y.translations.keyboardNavigation), 1)], 8, Ue),
|
|
1150
|
+
m("div", We, w(A.value), 1),
|
|
1151
|
+
di.value?.rows?.length ? (b(), ke(we, {
|
|
1181
1152
|
key: 0,
|
|
1182
1153
|
uid: O.value,
|
|
1183
|
-
head:
|
|
1184
|
-
body:
|
|
1154
|
+
head: di.value.headers,
|
|
1155
|
+
body: di.value.rows,
|
|
1185
1156
|
notice: M.value.a11y.translations.tableAvailable,
|
|
1186
1157
|
caption: M.value.a11y.translations.tableCaption
|
|
1187
1158
|
}, null, 8, [
|
|
@@ -1190,15 +1161,15 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1190
1161
|
"body",
|
|
1191
1162
|
"notice",
|
|
1192
1163
|
"caption"
|
|
1193
|
-
])) :
|
|
1194
|
-
M.value.userOptions.buttons.annotator ? (b(),
|
|
1164
|
+
])) : f("", !0),
|
|
1165
|
+
M.value.userOptions.buttons.annotator ? (b(), ke(T(Fn), {
|
|
1195
1166
|
key: 1,
|
|
1196
|
-
svgRef: T(
|
|
1167
|
+
svgRef: T(er),
|
|
1197
1168
|
backgroundColor: M.value.style.chart.backgroundColor,
|
|
1198
1169
|
color: M.value.style.chart.color,
|
|
1199
|
-
active:
|
|
1170
|
+
active: Mr.value,
|
|
1200
1171
|
isCursorPointer: N.value,
|
|
1201
|
-
onClose:
|
|
1172
|
+
onClose: Nr
|
|
1202
1173
|
}, {
|
|
1203
1174
|
"annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1204
1175
|
"annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
|
|
@@ -1213,16 +1184,16 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1213
1184
|
"color",
|
|
1214
1185
|
"active",
|
|
1215
1186
|
"isCursorPointer"
|
|
1216
|
-
])) :
|
|
1217
|
-
|
|
1218
|
-
M.value.userOptions.show && Hn.value && (T(
|
|
1187
|
+
])) : f("", !0),
|
|
1188
|
+
or.value ? (b(), p("div", Ge, null, 512)) : f("", !0),
|
|
1189
|
+
M.value.userOptions.show && Hn.value && (T($n) || T(Zn)) ? (b(), ke(T(In), {
|
|
1219
1190
|
ref_key: "userOptionsRef",
|
|
1220
1191
|
ref: Kn,
|
|
1221
1192
|
key: `user_options_${Wn.value}`,
|
|
1222
1193
|
backgroundColor: M.value.style.chart.backgroundColor,
|
|
1223
1194
|
color: M.value.style.chart.color,
|
|
1224
|
-
isImaging: T(
|
|
1225
|
-
isPrinting: T(
|
|
1195
|
+
isImaging: T(rr),
|
|
1196
|
+
isPrinting: T(nr),
|
|
1226
1197
|
uid: O.value,
|
|
1227
1198
|
hasPdf: M.value.userOptions.buttons.pdf,
|
|
1228
1199
|
hasImg: M.value.userOptions.buttons.img,
|
|
@@ -1231,26 +1202,26 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1231
1202
|
hasTable: M.value.userOptions.buttons.table,
|
|
1232
1203
|
hasFullscreen: M.value.userOptions.buttons.fullscreen,
|
|
1233
1204
|
hasAltCopy: M.value.userOptions.buttons.altCopy,
|
|
1234
|
-
isFullscreen:
|
|
1205
|
+
isFullscreen: kr.value,
|
|
1235
1206
|
titles: { ...M.value.userOptions.buttonTitles },
|
|
1236
1207
|
chartElement: Un.value,
|
|
1237
1208
|
position: M.value.userOptions.position,
|
|
1238
1209
|
hasAnnotator: M.value.userOptions.buttons.annotator,
|
|
1239
|
-
isAnnotation:
|
|
1210
|
+
isAnnotation: Mr.value,
|
|
1240
1211
|
callbacks: M.value.userOptions.callbacks,
|
|
1241
1212
|
printScale: M.value.userOptions.print.scale,
|
|
1242
1213
|
tableDialog: M.value.table.useDialog,
|
|
1243
1214
|
isCursorPointer: N.value,
|
|
1244
|
-
onToggleFullscreen:
|
|
1245
|
-
onGeneratePdf: T(
|
|
1246
|
-
onGenerateCsv:
|
|
1247
|
-
onGenerateImage:
|
|
1248
|
-
onGenerateSvg:
|
|
1249
|
-
onToggleTable:
|
|
1250
|
-
onToggleAnnotator:
|
|
1251
|
-
onCopyAlt:
|
|
1252
|
-
style: y({ visibility: T(
|
|
1253
|
-
},
|
|
1215
|
+
onToggleFullscreen: Ar,
|
|
1216
|
+
onGeneratePdf: T(ir),
|
|
1217
|
+
onGenerateCsv: Or,
|
|
1218
|
+
onGenerateImage: T(qr),
|
|
1219
|
+
onGenerateSvg: T(Kr),
|
|
1220
|
+
onToggleTable: jr,
|
|
1221
|
+
onToggleAnnotator: Nr,
|
|
1222
|
+
onCopyAlt: Jr,
|
|
1223
|
+
style: y({ visibility: T($n) ? T(Zn) ? "visible" : "hidden" : "visible" })
|
|
1224
|
+
}, Ae({ _: 2 }, [
|
|
1254
1225
|
e.$slots.menuIcon ? {
|
|
1255
1226
|
name: "menuIcon",
|
|
1256
1227
|
fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", v(g({
|
|
@@ -1315,59 +1286,34 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1315
1286
|
fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1316
1287
|
key: "10"
|
|
1317
1288
|
} : void 0
|
|
1318
|
-
]), 1032,
|
|
1319
|
-
|
|
1320
|
-
"color",
|
|
1321
|
-
"isImaging",
|
|
1322
|
-
"isPrinting",
|
|
1323
|
-
"uid",
|
|
1324
|
-
"hasPdf",
|
|
1325
|
-
"hasImg",
|
|
1326
|
-
"hasSvg",
|
|
1327
|
-
"hasXls",
|
|
1328
|
-
"hasTable",
|
|
1329
|
-
"hasFullscreen",
|
|
1330
|
-
"hasAltCopy",
|
|
1331
|
-
"isFullscreen",
|
|
1332
|
-
"titles",
|
|
1333
|
-
"chartElement",
|
|
1334
|
-
"position",
|
|
1335
|
-
"hasAnnotator",
|
|
1336
|
-
"isAnnotation",
|
|
1337
|
-
"callbacks",
|
|
1338
|
-
"printScale",
|
|
1339
|
-
"tableDialog",
|
|
1340
|
-
"isCursorPointer",
|
|
1341
|
-
"onGeneratePdf",
|
|
1342
|
-
"style"
|
|
1343
|
-
])) : p("", !0),
|
|
1344
|
-
h("div", Ke, [F.value.height > 0 ? (b(), m("svg", {
|
|
1289
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : f("", !0),
|
|
1290
|
+
m("div", Ke, [F.value.height > 0 ? (b(), p("svg", {
|
|
1345
1291
|
key: 0,
|
|
1346
1292
|
ref_key: "svgRef",
|
|
1347
|
-
ref:
|
|
1293
|
+
ref: er,
|
|
1348
1294
|
xmlns: T(le),
|
|
1349
1295
|
"aria-describedby": `chart-instructions-${O.value}`,
|
|
1350
1296
|
class: _({
|
|
1351
|
-
"vue-data-ui-fullscreen--on":
|
|
1352
|
-
"vue-data-ui-fulscreen--off": !
|
|
1297
|
+
"vue-data-ui-fullscreen--on": kr.value,
|
|
1298
|
+
"vue-data-ui-fulscreen--off": !kr.value
|
|
1353
1299
|
}),
|
|
1354
1300
|
viewBox: `0 0 ${F.value.width <= 0 ? 10 : F.value.width} ${F.value.height <= 0 ? 10 : F.value.height}`,
|
|
1355
1301
|
style: y(`overflow:visible;background:transparent;color:${M.value.style.chart.color}`),
|
|
1356
1302
|
tabindex: "0",
|
|
1357
|
-
onFocus:
|
|
1358
|
-
onBlur:
|
|
1359
|
-
onKeydown:
|
|
1303
|
+
onFocus: ci,
|
|
1304
|
+
onBlur: li,
|
|
1305
|
+
onKeydown: ui
|
|
1360
1306
|
}, [
|
|
1361
|
-
|
|
1362
|
-
e.$slots["chart-background"] ? (b(),
|
|
1307
|
+
h(T(Ln)),
|
|
1308
|
+
e.$slots["chart-background"] ? (b(), p("foreignObject", {
|
|
1363
1309
|
key: 0,
|
|
1364
1310
|
x: 0,
|
|
1365
1311
|
y: 0,
|
|
1366
1312
|
width: F.value.width <= 0 ? 10 : F.value.width,
|
|
1367
1313
|
height: F.value.height <= 0 ? 10 : F.value.height,
|
|
1368
1314
|
style: { pointerEvents: "none" }
|
|
1369
|
-
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Je)) :
|
|
1370
|
-
H.value ?
|
|
1315
|
+
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Je)) : f("", !0),
|
|
1316
|
+
H.value ? f("", !0) : (b(), p("g", Ye, [M.value.style.chart.layout.title.text ? (b(), p("text", {
|
|
1371
1317
|
key: 0,
|
|
1372
1318
|
"text-anchor": "middle",
|
|
1373
1319
|
fill: M.value.style.chart.layout.title.color,
|
|
@@ -1378,7 +1324,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1378
1324
|
onClick: t[0] ||= () => {
|
|
1379
1325
|
K(), $(), k.value = !1;
|
|
1380
1326
|
}
|
|
1381
|
-
}, w(M.value.style.chart.layout.title.text), 9, Xe)) :
|
|
1327
|
+
}, w(M.value.style.chart.layout.title.text), 9, Xe)) : f("", !0), M.value.style.chart.layout.title.subtitle.text ? (b(), p("text", {
|
|
1382
1328
|
key: 1,
|
|
1383
1329
|
"text-anchor": "middle",
|
|
1384
1330
|
fill: M.value.style.chart.layout.title.subtitle.color,
|
|
@@ -1389,9 +1335,9 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1389
1335
|
onClick: t[1] ||= () => {
|
|
1390
1336
|
K(), $(), k.value = !1;
|
|
1391
1337
|
}
|
|
1392
|
-
}, w(M.value.style.chart.layout.title.subtitle.text), 9, Ze)) :
|
|
1393
|
-
|
|
1394
|
-
(b(!0),
|
|
1338
|
+
}, w(M.value.style.chart.layout.title.subtitle.text), 9, Ze)) : f("", !0)])),
|
|
1339
|
+
m("defs", null, [
|
|
1340
|
+
(b(!0), p(u, null, S(R.value, (e, t) => (b(), ke(Ce, {
|
|
1395
1341
|
t: "radial",
|
|
1396
1342
|
cx: "50%",
|
|
1397
1343
|
cy: "50%",
|
|
@@ -1410,7 +1356,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1410
1356
|
1
|
|
1411
1357
|
]]
|
|
1412
1358
|
}, null, 8, ["id", "stops"]))), 128)),
|
|
1413
|
-
(b(!0),
|
|
1359
|
+
(b(!0), p(u, null, S(R.value, (e) => (b(), ke(Ce, {
|
|
1414
1360
|
t: "linear",
|
|
1415
1361
|
x1: "0%",
|
|
1416
1362
|
y1: "0%",
|
|
@@ -1428,7 +1374,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1428
1374
|
1
|
|
1429
1375
|
]]
|
|
1430
1376
|
}, null, 8, ["id", "stops"]))), 128)),
|
|
1431
|
-
|
|
1377
|
+
h(Ce, {
|
|
1432
1378
|
t: "radial",
|
|
1433
1379
|
cx: "50%",
|
|
1434
1380
|
cy: "50%",
|
|
@@ -1454,7 +1400,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1454
1400
|
]
|
|
1455
1401
|
]
|
|
1456
1402
|
}, null, 8, ["id", "stops"]),
|
|
1457
|
-
|
|
1403
|
+
h(Ce, {
|
|
1458
1404
|
t: "radial",
|
|
1459
1405
|
cx: "50%",
|
|
1460
1406
|
cy: "50%",
|
|
@@ -1480,7 +1426,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1480
1426
|
]
|
|
1481
1427
|
]
|
|
1482
1428
|
}, null, 8, ["id", "stops"]),
|
|
1483
|
-
|
|
1429
|
+
h(Ce, {
|
|
1484
1430
|
t: "radial",
|
|
1485
1431
|
cx: "50%",
|
|
1486
1432
|
cy: "50%",
|
|
@@ -1507,7 +1453,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1507
1453
|
]
|
|
1508
1454
|
}, null, 8, ["id", "stops"])
|
|
1509
1455
|
]),
|
|
1510
|
-
M.value.style.chart.layout.grandTotal.show ? (b(),
|
|
1456
|
+
M.value.style.chart.layout.grandTotal.show ? (b(), p("g", Qe, [m("text", {
|
|
1511
1457
|
x: I.value.seedX,
|
|
1512
1458
|
y: 32 + M.value.style.chart.layout.grandTotal.offsetY,
|
|
1513
1459
|
"font-size": M.value.style.chart.layout.grandTotal.fontSize,
|
|
@@ -1517,7 +1463,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1517
1463
|
onClick: t[2] ||= () => {
|
|
1518
1464
|
K(), $(), k.value = !1;
|
|
1519
1465
|
}
|
|
1520
|
-
}, w(M.value.style.chart.layout.grandTotal.text), 9, $e),
|
|
1466
|
+
}, w(M.value.style.chart.layout.grandTotal.text), 9, $e), m("text", {
|
|
1521
1467
|
x: I.value.seedX,
|
|
1522
1468
|
y: 38 + M.value.style.chart.layout.grandTotal.fontSize + M.value.style.chart.layout.grandTotal.offsetY,
|
|
1523
1469
|
"font-size": M.value.style.chart.layout.grandTotal.fontSize,
|
|
@@ -1532,8 +1478,8 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1532
1478
|
v: L.value,
|
|
1533
1479
|
s: M.value.style.chart.layout.grandTotal.suffix,
|
|
1534
1480
|
r: M.value.style.chart.layout.grandTotal.roundingValue
|
|
1535
|
-
}))), 9, et)])) :
|
|
1536
|
-
(b(!0),
|
|
1481
|
+
}))), 9, et)])) : f("", !0),
|
|
1482
|
+
(b(!0), p(u, null, S(B.value, (e) => (b(), p("g", null, [m("defs", null, [h(Ce, {
|
|
1537
1483
|
t: "linear",
|
|
1538
1484
|
id: `link_grad_${e.id}`,
|
|
1539
1485
|
stops: [[
|
|
@@ -1545,8 +1491,8 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1545
1491
|
T(n)(e.color, M.value.style.chart.layout.links.opacity),
|
|
1546
1492
|
1
|
|
1547
1493
|
]]
|
|
1548
|
-
}, null, 8, ["id", "stops"])]),
|
|
1549
|
-
d:
|
|
1494
|
+
}, null, 8, ["id", "stops"])]), m("path", {
|
|
1495
|
+
d: Fr(e),
|
|
1550
1496
|
stroke: T(n)(e.color, M.value.style.chart.layout.links.opacity),
|
|
1551
1497
|
fill: `url(#link_grad_${e.id})`,
|
|
1552
1498
|
"stroke-linecap": "round",
|
|
@@ -1556,7 +1502,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1556
1502
|
K(), $(), k.value = !1;
|
|
1557
1503
|
}
|
|
1558
1504
|
}, null, 12, tt)]))), 256)),
|
|
1559
|
-
(b(!0),
|
|
1505
|
+
(b(!0), p(u, null, S(z.value, (e) => (b(), p("circle", {
|
|
1560
1506
|
cx: e.x,
|
|
1561
1507
|
cy: e.y,
|
|
1562
1508
|
r: e.r,
|
|
@@ -1564,8 +1510,8 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1564
1510
|
stroke: "none",
|
|
1565
1511
|
style: y(`cursor:${N.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`)
|
|
1566
1512
|
}, null, 12, nt))), 256)),
|
|
1567
|
-
(b(!0),
|
|
1568
|
-
"aria-label":
|
|
1513
|
+
(b(!0), p(u, null, S(z.value, (e, t) => (b(), p("circle", {
|
|
1514
|
+
"aria-label": Yr(e),
|
|
1569
1515
|
cx: e.x,
|
|
1570
1516
|
cy: e.y,
|
|
1571
1517
|
r: e.r,
|
|
@@ -1573,9 +1519,9 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1573
1519
|
stroke: M.value.style.chart.layout.roots.stroke,
|
|
1574
1520
|
"stroke-width": M.value.style.chart.layout.roots.strokeWidth,
|
|
1575
1521
|
style: y(`cursor:${N.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
|
|
1576
|
-
onClick: (t) =>
|
|
1522
|
+
onClick: (t) => wr(e)
|
|
1577
1523
|
}, null, 12, rt))), 256)),
|
|
1578
|
-
M.value.style.chart.layout.roots.labels.show ? (b(),
|
|
1524
|
+
M.value.style.chart.layout.roots.labels.show ? (b(), p("g", it, [(b(!0), p(u, null, S(z.value, (e, t) => (b(), p("text", {
|
|
1579
1525
|
x: e.x,
|
|
1580
1526
|
y: e.y + M.value.style.chart.layout.roots.labels.fontSize / 2.6,
|
|
1581
1527
|
"text-anchor": "middle",
|
|
@@ -1583,13 +1529,13 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1583
1529
|
fill: M.value.style.chart.layout.roots.labels.adaptColorToBackground ? T(ce)(e.color) : M.value.style.chart.layout.roots.labels.color,
|
|
1584
1530
|
"font-weight": "bold",
|
|
1585
1531
|
style: y(`cursor:${N.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
|
|
1586
|
-
onClick: (t) =>
|
|
1532
|
+
onClick: (t) => wr(e)
|
|
1587
1533
|
}, w(T(l)(M.value.style.chart.layout.roots.labels.formatter, e.total, T(s)({
|
|
1588
1534
|
p: M.value.style.chart.layout.roots.labels.prefix,
|
|
1589
1535
|
v: e.total,
|
|
1590
1536
|
s: M.value.style.chart.layout.roots.labels.suffix,
|
|
1591
1537
|
r: M.value.style.chart.layout.roots.labels.roundingValue
|
|
1592
|
-
}), { datapoint: e })), 13, at))), 256)), (b(!0),
|
|
1538
|
+
}), { datapoint: e })), 13, at))), 256)), (b(!0), p(u, null, S(z.value, (e) => (b(), p("g", null, [H.value && e.rootIndex === H.value.rootIndex || W.value && e.rootIndex === W.value.rootIndex || G.value && e.rootIndex === G.value.rootIndex ? (b(), p("g", ot, [m("text", {
|
|
1593
1539
|
x: e.x,
|
|
1594
1540
|
y: e.y + e.r + 24,
|
|
1595
1541
|
"text-anchor": "middle",
|
|
@@ -1599,8 +1545,8 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1599
1545
|
onClick: t[5] ||= () => {
|
|
1600
1546
|
K(), $(), k.value = !1;
|
|
1601
1547
|
}
|
|
1602
|
-
}, w(e.name), 9, st)])) :
|
|
1603
|
-
(b(!0),
|
|
1548
|
+
}, w(e.name), 9, st)])) : f("", !0)]))), 256))])) : f("", !0),
|
|
1549
|
+
(b(!0), p(u, null, S(B.value, (e) => (b(), p("rect", {
|
|
1604
1550
|
x: e.x1,
|
|
1605
1551
|
y: e.y1,
|
|
1606
1552
|
height: F.value.branchSize,
|
|
@@ -1609,10 +1555,10 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1609
1555
|
rx: M.value.style.chart.layout.branches.borderRadius,
|
|
1610
1556
|
stroke: "none",
|
|
1611
1557
|
style: y(`opacity:${q(e) ? 1 : .05}`),
|
|
1612
|
-
onClick: (t) =>
|
|
1558
|
+
onClick: (t) => Cr(e)
|
|
1613
1559
|
}, null, 12, ct))), 256)),
|
|
1614
|
-
(b(!0),
|
|
1615
|
-
"aria-label":
|
|
1560
|
+
(b(!0), p(u, null, S(B.value, (e, t) => (b(), p("rect", {
|
|
1561
|
+
"aria-label": Xr(e),
|
|
1616
1562
|
x: e.x1,
|
|
1617
1563
|
y: e.y1,
|
|
1618
1564
|
height: F.value.branchSize,
|
|
@@ -1622,9 +1568,9 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1622
1568
|
stroke: M.value.style.chart.layout.branches.stroke,
|
|
1623
1569
|
"stroke-width": M.value.style.chart.layout.branches.strokeWidth,
|
|
1624
1570
|
style: y(`cursor:${N.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
|
|
1625
|
-
onClick: (t) =>
|
|
1571
|
+
onClick: (t) => Cr(e)
|
|
1626
1572
|
}, null, 12, lt))), 256)),
|
|
1627
|
-
M.value.style.chart.layout.branches.labels.dataLabels.show ? (b(),
|
|
1573
|
+
M.value.style.chart.layout.branches.labels.dataLabels.show ? (b(), p("g", ut, [(b(!0), p(u, null, S(B.value, (e) => (b(), p("g", null, [e.proportionToRoot * 100 > M.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (b(), p("text", {
|
|
1628
1574
|
key: 0,
|
|
1629
1575
|
x: e.x1 + 6,
|
|
1630
1576
|
y: e.y1 + F.value.branchSize / 1.5,
|
|
@@ -1633,32 +1579,32 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1633
1579
|
"font-size": M.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
1634
1580
|
"font-weight": "bold",
|
|
1635
1581
|
style: y(`cursor:${N.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
|
|
1636
|
-
onClick: (t) =>
|
|
1582
|
+
onClick: (t) => Cr(e)
|
|
1637
1583
|
}, w(T(l)(M.value.style.chart.layout.branches.labels.dataLabels.formatter, e.value, T(s)({
|
|
1638
1584
|
p: M.value.style.chart.layout.branches.labels.dataLabels.prefix,
|
|
1639
1585
|
v: e.value,
|
|
1640
1586
|
s: M.value.style.chart.layout.branches.labels.dataLabels.suffix,
|
|
1641
1587
|
r: M.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
1642
|
-
}), { datapoint: e })), 13, dt)) :
|
|
1643
|
-
(b(!0),
|
|
1588
|
+
}), { datapoint: e })), 13, dt)) : f("", !0)]))), 256))])) : f("", !0),
|
|
1589
|
+
(b(!0), p(u, null, S(B.value, (e, t) => (b(), p("g", null, [(b(!0), p(u, null, S(T(ie)({
|
|
1644
1590
|
series: e.breakdown,
|
|
1645
1591
|
base: 1
|
|
1646
|
-
}, e.x2 + 24 + M.value.style.chart.layout.nuts.offsetX, e.y1 + F.value.branchSize / 2, F.value.branchSize / 3, F.value.branchSize / 3), (t, n) => (b(),
|
|
1592
|
+
}, e.x2 + 24 + M.value.style.chart.layout.nuts.offsetX, e.y1 + F.value.branchSize / 2, F.value.branchSize / 3, F.value.branchSize / 3), (t, n) => (b(), p("path", {
|
|
1647
1593
|
d: t.path,
|
|
1648
1594
|
stroke: t.color,
|
|
1649
1595
|
"stroke-width": 10,
|
|
1650
1596
|
fill: "none",
|
|
1651
1597
|
style: y(`opacity:${q(e) ? 1 : .1}`)
|
|
1652
|
-
}, null, 12, ft))), 256)),
|
|
1598
|
+
}, null, 12, ft))), 256)), m("circle", {
|
|
1653
1599
|
"aria-label": `Open details for branch ${e.name} in root ${e.rootName}`,
|
|
1654
1600
|
fill: M.value.style.chart.layout.nuts.useGradient ? `url(#nut_${O.value})` : "transparent",
|
|
1655
1601
|
cx: e.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
|
|
1656
1602
|
cy: e.y1 + F.value.branchSize / 2,
|
|
1657
1603
|
r: F.value.branchSize / 2 + 2,
|
|
1658
|
-
onClick: (t) =>
|
|
1604
|
+
onClick: (t) => Sr(e),
|
|
1659
1605
|
style: y(`cursor:${N.value ? "pointer" : "default"};opacity:${q(e) ? 1 : .1}`)
|
|
1660
1606
|
}, null, 12, pt)]))), 256)),
|
|
1661
|
-
M.value.style.chart.layout.branches.labels.show && !W.value ? (b(),
|
|
1607
|
+
M.value.style.chart.layout.branches.labels.show && !W.value ? (b(), p("g", mt, [(b(!0), p(u, null, S(B.value, (e) => (b(), p("text", {
|
|
1662
1608
|
x: e.x2 + F.value.branchSize + 24 + M.value.style.chart.layout.nuts.offsetX,
|
|
1663
1609
|
y: e.y1 + F.value.branchSize / 2 + 5,
|
|
1664
1610
|
"font-size": M.value.style.chart.layout.branches.labels.fontSize,
|
|
@@ -1666,8 +1612,8 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1666
1612
|
fill: M.value.style.chart.layout.branches.labels.color,
|
|
1667
1613
|
"text-anchor": "start",
|
|
1668
1614
|
style: y(`opacity:${q(e) ? 1 : .1}`)
|
|
1669
|
-
}, w(e.name), 13, ht))), 256))])) :
|
|
1670
|
-
|
|
1615
|
+
}, w(e.name), 13, ht))), 256))])) : f("", !0),
|
|
1616
|
+
m("line", {
|
|
1671
1617
|
x1: 256 + F.value.padding.left,
|
|
1672
1618
|
x2: 256 + F.value.padding.left,
|
|
1673
1619
|
y1: I.value.top,
|
|
@@ -1675,7 +1621,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1675
1621
|
stroke: M.value.style.chart.layout.verticalSeparator.stroke,
|
|
1676
1622
|
"stroke-width": M.value.style.chart.layout.verticalSeparator.strokeWidth
|
|
1677
1623
|
}, null, 8, gt),
|
|
1678
|
-
!H.value && !W.value ? (b(),
|
|
1624
|
+
!H.value && !W.value ? (b(), p("foreignObject", {
|
|
1679
1625
|
key: 6,
|
|
1680
1626
|
x: 0,
|
|
1681
1627
|
y: I.value.bottom,
|
|
@@ -1686,48 +1632,48 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1686
1632
|
onClick: t[6] ||= () => {
|
|
1687
1633
|
K(), $(), k.value = !1;
|
|
1688
1634
|
}
|
|
1689
|
-
}, [
|
|
1635
|
+
}, [m("div", vt, [m("div", yt, [(b(!0), p(u, null, S(z.value, (e) => (b(), p("div", { style: y(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${M.value.style.chart.layout.legend.fontSize}px;`) }, [(b(), p("svg", bt, [m("circle", {
|
|
1690
1636
|
cx: "10",
|
|
1691
1637
|
cy: "10",
|
|
1692
1638
|
r: "10",
|
|
1693
1639
|
fill: e.color,
|
|
1694
1640
|
stroke: "none"
|
|
1695
|
-
}, null, 8, xt)])), T(
|
|
1696
|
-
|
|
1697
|
-
|
|
1641
|
+
}, null, 8, xt)])), T(Yn) ? f("", !0) : (b(), p(u, { key: 0 }, [
|
|
1642
|
+
m("span", null, w(e.name) + ":", 1),
|
|
1643
|
+
m("b", null, w(T(l)(M.value.style.chart.layout.roots.labels.formatter, e.total, T(s)({
|
|
1698
1644
|
p: M.value.style.chart.layout.legend.prefix,
|
|
1699
1645
|
v: e.total,
|
|
1700
1646
|
s: M.value.style.chart.layout.legend.suffix,
|
|
1701
1647
|
r: M.value.style.chart.layout.legend.roundingValue
|
|
1702
1648
|
}), { datapoint: e })), 1),
|
|
1703
|
-
|
|
1649
|
+
je(" (" + w(T(s)({
|
|
1704
1650
|
v: e.total / L.value * 100,
|
|
1705
1651
|
s: "%",
|
|
1706
1652
|
r: M.value.style.chart.layout.legend.roundingPercentage
|
|
1707
1653
|
})) + ") ", 1)
|
|
1708
|
-
], 64))], 4))), 256))])])], 8, _t)) :
|
|
1709
|
-
H.value && U.value ? (b(),
|
|
1710
|
-
(b(),
|
|
1654
|
+
], 64))], 4))), 256))])])], 8, _t)) : f("", !0),
|
|
1655
|
+
H.value && U.value ? (b(), p("g", St, [
|
|
1656
|
+
(b(), p("foreignObject", {
|
|
1711
1657
|
x: 0,
|
|
1712
|
-
y:
|
|
1658
|
+
y: Tr(),
|
|
1713
1659
|
height: F.value.height - I.value.bottom,
|
|
1714
1660
|
width: F.value.width,
|
|
1715
1661
|
style: { overflow: "visible" },
|
|
1716
1662
|
onClick: t[7] ||= () => {
|
|
1717
1663
|
K(), $(), k.value = !1;
|
|
1718
1664
|
}
|
|
1719
|
-
}, [
|
|
1665
|
+
}, [m("div", wt, [m("b", null, w(H.value.name), 1), m("div", Tt, [(b(!0), p(u, null, S(H.value.breakdown, (e, t) => (b(), p("div", { style: y(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${M.value.style.chart.layout.legend.fontSize}px;`) }, [(b(), p("svg", Et, [m("circle", {
|
|
1720
1666
|
cx: "10",
|
|
1721
1667
|
cy: "10",
|
|
1722
1668
|
r: "10",
|
|
1723
1669
|
fill: e.color,
|
|
1724
1670
|
stroke: "none"
|
|
1725
|
-
}, null, 8, Dt)])),
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1671
|
+
}, null, 8, Dt)])), m("span", null, [
|
|
1672
|
+
je(w(e.name) + ": ", 1),
|
|
1673
|
+
m("b", null, w(M.value.style.chart.layout.legend.prefix) + " " + w(e.value.toFixed(M.value.style.chart.layout.nuts.selected.labels.roundingValue)) + " " + w(M.value.style.chart.layout.legend.suffix), 1),
|
|
1674
|
+
je(" (" + w((e.proportionToBranch * 100).toFixed(M.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
|
|
1729
1675
|
])], 4))), 256))])])], 8, Ct)),
|
|
1730
|
-
|
|
1676
|
+
m("circle", {
|
|
1731
1677
|
cx: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
|
|
1732
1678
|
cy: H.value.y1 + F.value.branchSize / 2,
|
|
1733
1679
|
r: 256,
|
|
@@ -1735,7 +1681,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1735
1681
|
onClick: J,
|
|
1736
1682
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1737
1683
|
}, null, 10, Ot),
|
|
1738
|
-
(b(!0),
|
|
1684
|
+
(b(!0), p(u, null, S(U.value, (e) => (b(), p("g", null, [Er(e) ? (b(), p("path", {
|
|
1739
1685
|
key: 0,
|
|
1740
1686
|
d: T(ne)(e, {
|
|
1741
1687
|
x: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
|
|
@@ -1747,8 +1693,8 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1747
1693
|
"stroke-linejoin": "round",
|
|
1748
1694
|
fill: "none",
|
|
1749
1695
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1750
|
-
}, null, 10, kt)) :
|
|
1751
|
-
|
|
1696
|
+
}, null, 10, kt)) : f("", !0)]))), 256)),
|
|
1697
|
+
m("circle", {
|
|
1752
1698
|
cx: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
|
|
1753
1699
|
cy: H.value.y1 + F.value.branchSize / 2,
|
|
1754
1700
|
r: 118,
|
|
@@ -1756,7 +1702,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1756
1702
|
onClick: J,
|
|
1757
1703
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1758
1704
|
}, null, 10, At),
|
|
1759
|
-
(b(!0),
|
|
1705
|
+
(b(!0), p(u, null, S(U.value, (e) => (b(), p("path", {
|
|
1760
1706
|
d: e.path,
|
|
1761
1707
|
stroke: e.color,
|
|
1762
1708
|
"stroke-width": 64,
|
|
@@ -1764,7 +1710,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1764
1710
|
onClick: J,
|
|
1765
1711
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1766
1712
|
}, null, 10, jt))), 256)),
|
|
1767
|
-
|
|
1713
|
+
m("circle", {
|
|
1768
1714
|
cx: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
|
|
1769
1715
|
cy: H.value.y1 + F.value.branchSize / 2,
|
|
1770
1716
|
r: 110,
|
|
@@ -1772,7 +1718,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1772
1718
|
onClick: J,
|
|
1773
1719
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1774
1720
|
}, null, 10, Mt),
|
|
1775
|
-
|
|
1721
|
+
m("circle", {
|
|
1776
1722
|
cx: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
|
|
1777
1723
|
cy: H.value.y1 + F.value.branchSize / 2,
|
|
1778
1724
|
r: 64,
|
|
@@ -1780,7 +1726,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1780
1726
|
onClick: J,
|
|
1781
1727
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1782
1728
|
}, null, 10, Nt),
|
|
1783
|
-
|
|
1729
|
+
m("text", {
|
|
1784
1730
|
x: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
|
|
1785
1731
|
y: H.value.y1 + 8,
|
|
1786
1732
|
fill: M.value.style.chart.layout.nuts.selected.labels.core.total.color,
|
|
@@ -1790,7 +1736,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1790
1736
|
onClick: J,
|
|
1791
1737
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1792
1738
|
}, w(M.value.translations.total), 11, Pt),
|
|
1793
|
-
|
|
1739
|
+
m("text", {
|
|
1794
1740
|
x: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
|
|
1795
1741
|
y: H.value.y1 + 36,
|
|
1796
1742
|
fill: M.value.style.chart.layout.nuts.selected.labels.core.value.color,
|
|
@@ -1805,7 +1751,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1805
1751
|
s: M.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
|
|
1806
1752
|
r: M.value.style.chart.layout.nuts.selected.roundingValue
|
|
1807
1753
|
}), { datapoint: H.value })), 11, Ft),
|
|
1808
|
-
(b(!0),
|
|
1754
|
+
(b(!0), p(u, null, S(U.value, (e, t) => (b(), p("g", null, [Er(e) ? (b(), p("text", {
|
|
1809
1755
|
key: 0,
|
|
1810
1756
|
x: T(c)(e).x,
|
|
1811
1757
|
"text-anchor": T(c)(e).anchor,
|
|
@@ -1814,7 +1760,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1814
1760
|
"font-size": M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 2,
|
|
1815
1761
|
style: y(`font-weight:${M.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1816
1762
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1817
|
-
}, " ⬤ ", 14, It)) :
|
|
1763
|
+
}, " ⬤ ", 14, It)) : f("", !0), Er(e) ? (b(), p("text", {
|
|
1818
1764
|
key: 1,
|
|
1819
1765
|
x: T(c)(e, !0).x,
|
|
1820
1766
|
"text-anchor": T(c)(e, !0).anchor,
|
|
@@ -1823,9 +1769,9 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1823
1769
|
"font-size": M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1824
1770
|
style: y(`font-weight:${M.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1825
1771
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1826
|
-
}, w(H.value.breakdown[t].name), 15, Lt)) :
|
|
1827
|
-
(b(!0),
|
|
1828
|
-
|
|
1772
|
+
}, w(H.value.breakdown[t].name), 15, Lt)) : f("", !0)]))), 256)),
|
|
1773
|
+
(b(!0), p(u, null, S(U.value, (e, t) => (b(), p("g", null, [
|
|
1774
|
+
Er(e) ? (b(), p("text", {
|
|
1829
1775
|
key: 0,
|
|
1830
1776
|
x: T(c)(e, !0).x,
|
|
1831
1777
|
"text-anchor": T(c)(e).anchor,
|
|
@@ -1846,8 +1792,8 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1846
1792
|
}), {
|
|
1847
1793
|
datapoint: U.value,
|
|
1848
1794
|
seriesIndex: t
|
|
1849
|
-
})), 15, Rt)) :
|
|
1850
|
-
|
|
1795
|
+
})), 15, Rt)) : f("", !0),
|
|
1796
|
+
Er(e) ? (b(), p("text", {
|
|
1851
1797
|
key: 1,
|
|
1852
1798
|
x: T(c)(e, !0).x,
|
|
1853
1799
|
"text-anchor": T(c)(e).anchor,
|
|
@@ -1860,8 +1806,8 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1860
1806
|
v: H.value.breakdown[t].proportionToRoot * 100,
|
|
1861
1807
|
s: "%",
|
|
1862
1808
|
r: M.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
1863
|
-
})) + " " + w(M.value.translations.of) + " " + w(H.value.breakdown[t].rootName), 15, zt)) :
|
|
1864
|
-
|
|
1809
|
+
})) + " " + w(M.value.translations.of) + " " + w(H.value.breakdown[t].rootName), 15, zt)) : f("", !0),
|
|
1810
|
+
Er(e) ? (b(), p("text", {
|
|
1865
1811
|
key: 2,
|
|
1866
1812
|
x: T(c)(e, !0).x,
|
|
1867
1813
|
"text-anchor": T(c)(e).anchor,
|
|
@@ -1874,11 +1820,11 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1874
1820
|
v: H.value.breakdown[t].proportionToTree * 100,
|
|
1875
1821
|
s: "%",
|
|
1876
1822
|
r: M.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
1877
|
-
})) + " " + w(M.value.translations.proportionToTree), 15, Bt)) :
|
|
1823
|
+
})) + " " + w(M.value.translations.proportionToTree), 15, Bt)) : f("", !0)
|
|
1878
1824
|
]))), 256))
|
|
1879
|
-
])) :
|
|
1880
|
-
(b(!0),
|
|
1881
|
-
W.value && W.value.id === e.id && !H.value ? (b(),
|
|
1825
|
+
])) : f("", !0),
|
|
1826
|
+
(b(!0), p(u, null, S(B.value, (e) => (b(), p("g", null, [
|
|
1827
|
+
W.value && W.value.id === e.id && !H.value ? (b(), p("text", {
|
|
1882
1828
|
key: 0,
|
|
1883
1829
|
x: e.x1 + 6,
|
|
1884
1830
|
y: e.y1 + F.value.branchSize + 24,
|
|
@@ -1894,8 +1840,8 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1894
1840
|
v: e.value,
|
|
1895
1841
|
s: M.value.style.chart.layout.branches.labels.dataLabels.suffix,
|
|
1896
1842
|
r: M.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
1897
|
-
}), { datapoint: e })), 9, Vt)) :
|
|
1898
|
-
W.value && W.value.id === e.id && !H.value ? (b(),
|
|
1843
|
+
}), { datapoint: e })), 9, Vt)) : f("", !0),
|
|
1844
|
+
W.value && W.value.id === e.id && !H.value ? (b(), p("text", {
|
|
1899
1845
|
key: 1,
|
|
1900
1846
|
x: e.x1 + 6,
|
|
1901
1847
|
y: e.y1 + F.value.branchSize + 48,
|
|
@@ -1909,8 +1855,8 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1909
1855
|
v: e.proportionToRoot * 100,
|
|
1910
1856
|
s: "%",
|
|
1911
1857
|
r: M.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
1912
|
-
})) + " " + w(M.value.translations.of) + " " + w(e.rootName), 9, Ht)) :
|
|
1913
|
-
W.value && W.value.id === e.id && !H.value ? (b(),
|
|
1858
|
+
})) + " " + w(M.value.translations.of) + " " + w(e.rootName), 9, Ht)) : f("", !0),
|
|
1859
|
+
W.value && W.value.id === e.id && !H.value ? (b(), p("text", {
|
|
1914
1860
|
key: 2,
|
|
1915
1861
|
x: e.x1 + 6,
|
|
1916
1862
|
y: e.y1 + F.value.branchSize + 72,
|
|
@@ -1924,43 +1870,43 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1924
1870
|
v: e.value / L.value * 100,
|
|
1925
1871
|
s: "%",
|
|
1926
1872
|
r: M.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
1927
|
-
})) + " " + w(M.value.translations.proportionToTree), 9, Ut)) :
|
|
1873
|
+
})) + " " + w(M.value.translations.proportionToTree), 9, Ut)) : f("", !0)
|
|
1928
1874
|
]))), 256)),
|
|
1929
1875
|
C(e.$slots, "svg", { svg: {
|
|
1930
1876
|
...F.value,
|
|
1931
|
-
isPrintingImg: T(
|
|
1932
|
-
isPrintingSvg:
|
|
1877
|
+
isPrintingImg: T(nr) || T(rr) || T(Wr),
|
|
1878
|
+
isPrintingSvg: T(Gr)
|
|
1933
1879
|
} }, void 0, !0)
|
|
1934
|
-
], 46, qe)) :
|
|
1935
|
-
e.$slots.watermark ? (b(),
|
|
1880
|
+
], 46, qe)) : f("", !0)]),
|
|
1881
|
+
e.$slots.watermark ? (b(), p("div", Wt, [C(e.$slots, "watermark", v(g({ isPrinting: T(nr) || T(rr) || T(Wr) || T(Gr) })), void 0, !0)])) : f("", !0),
|
|
1936
1882
|
C(e.$slots, "legend", { legend: R.value }, void 0, !0),
|
|
1937
|
-
e.$slots.source ? (b(),
|
|
1938
|
-
Hn.value && M.value.userOptions.buttons.table ? (b(),
|
|
1883
|
+
e.$slots.source ? (b(), p("div", Gt, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
1884
|
+
Hn.value && M.value.userOptions.buttons.table ? (b(), ke(Ie(Ir.value.component), Ne({ key: 6 }, Ir.value.props, {
|
|
1939
1885
|
ref_key: "tableUnit",
|
|
1940
1886
|
ref: Gn,
|
|
1941
|
-
onClose:
|
|
1942
|
-
}),
|
|
1943
|
-
content: E(() => [
|
|
1887
|
+
onClose: Rr
|
|
1888
|
+
}), Ae({
|
|
1889
|
+
content: E(() => [m("div", {
|
|
1944
1890
|
ref_key: "tableContainer",
|
|
1945
|
-
ref:
|
|
1891
|
+
ref: cr,
|
|
1946
1892
|
class: "vue-ui-chestnut-table",
|
|
1947
1893
|
style: y(`${M.value.table.useDialog ? "" : "max-height: 300px;margin-top:24px"}`)
|
|
1948
|
-
}, [
|
|
1894
|
+
}, [m("div", { style: y(`${M.value.table.useDialog ? "" : "padding-top:36px;"}position: relative`) }, [M.value.table.useDialog ? f("", !0) : (b(), p("div", {
|
|
1949
1895
|
key: 0,
|
|
1950
1896
|
role: "button",
|
|
1951
1897
|
tabindex: "0",
|
|
1952
1898
|
style: y(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:${N.value ? "pointer" : "default"}; background:${M.value.table.th.backgroundColor};`),
|
|
1953
|
-
onClick:
|
|
1954
|
-
onKeypress: Be(
|
|
1955
|
-
}, [
|
|
1899
|
+
onClick: Rr,
|
|
1900
|
+
onKeypress: Be(Rr, ["enter"])
|
|
1901
|
+
}, [h(T(Nn), {
|
|
1956
1902
|
name: "close",
|
|
1957
1903
|
stroke: M.value.table.th.color,
|
|
1958
1904
|
"stroke-width": 2
|
|
1959
|
-
}, null, 8, ["stroke"])], 36)),
|
|
1905
|
+
}, null, 8, ["stroke"])], 36)), m("div", {
|
|
1960
1906
|
style: { width: "100%" },
|
|
1961
|
-
class: _({ "vue-ui-responsive": T(
|
|
1962
|
-
}, [
|
|
1963
|
-
M.value.table.useDialog ?
|
|
1907
|
+
class: _({ "vue-ui-responsive": T(Lr) })
|
|
1908
|
+
}, [m("table", Kt, [
|
|
1909
|
+
M.value.table.useDialog ? f("", !0) : (b(), p("caption", {
|
|
1964
1910
|
key: 0,
|
|
1965
1911
|
style: y({
|
|
1966
1912
|
backgroundColor: M.value.table.th.backgroundColor,
|
|
@@ -1968,12 +1914,12 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1968
1914
|
outline: M.value.table.th.outline
|
|
1969
1915
|
}),
|
|
1970
1916
|
class: "vue-ui-data-table__caption"
|
|
1971
|
-
}, [
|
|
1972
|
-
|
|
1917
|
+
}, [je(w(M.value.style.chart.layout.title.text) + " ", 1), M.value.style.chart.layout.title.subtitle.text ? (b(), p("span", qt, w(M.value.style.chart.layout.title.subtitle.text), 1)) : f("", !0)], 4)),
|
|
1918
|
+
m("thead", null, [m("tr", {
|
|
1973
1919
|
role: "row",
|
|
1974
1920
|
style: y(`background:${M.value.table.th.backgroundColor};color:${M.value.table.th.color}`)
|
|
1975
|
-
}, [(b(!0),
|
|
1976
|
-
|
|
1921
|
+
}, [(b(!0), p(u, null, S(Y.value.head, (e) => (b(), p("th", { style: y(`outline:${M.value.table.th.outline}`) }, w(e), 5))), 256))], 4)]),
|
|
1922
|
+
m("tbody", null, [(b(!0), p(u, null, S(Y.value.body, (e, t) => (b(), p("tr", {
|
|
1977
1923
|
class: _({
|
|
1978
1924
|
"vue-ui-data-table__tbody__row": !0,
|
|
1979
1925
|
"vue-ui-data-table__tbody__row-even": t % 2 == 0,
|
|
@@ -1981,88 +1927,88 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1981
1927
|
}),
|
|
1982
1928
|
style: y(`background:${M.value.table.td.backgroundColor};color:${M.value.table.td.color}`)
|
|
1983
1929
|
}, [
|
|
1984
|
-
|
|
1930
|
+
m("td", {
|
|
1985
1931
|
class: "vue-ui-data-table__tbody__td",
|
|
1986
1932
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
1987
1933
|
"data-cell": Y.value.head[0]
|
|
1988
|
-
}, [
|
|
1989
|
-
|
|
1934
|
+
}, [m("div", Yt, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (b(), p("span", Xt)) : (b(), p("span", Zt, w(e.rootName), 1))])], 12, Jt),
|
|
1935
|
+
m("td", {
|
|
1990
1936
|
class: "vue-ui-data-table__tbody__td",
|
|
1991
1937
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
1992
1938
|
"data-cell": Y.value.head[1]
|
|
1993
|
-
}, [
|
|
1994
|
-
|
|
1939
|
+
}, [m("div", $t, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (b(), p("span", en)) : (b(), p("span", tn, w(e.rootValue.toFixed(M.value.table.td.roundingValue)), 1))])], 12, Qt),
|
|
1940
|
+
m("td", {
|
|
1995
1941
|
class: "vue-ui-data-table__tbody__td",
|
|
1996
1942
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
1997
1943
|
"data-cell": Y.value.head[2]
|
|
1998
|
-
}, [
|
|
1999
|
-
|
|
1944
|
+
}, [m("div", rn, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (b(), p("span", an)) : (b(), p("span", on, w((e.rootToTotal * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1))])], 12, nn),
|
|
1945
|
+
m("td", {
|
|
2000
1946
|
class: "vue-ui-data-table__tbody__td",
|
|
2001
1947
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
2002
1948
|
"data-cell": Y.value.head[3]
|
|
2003
|
-
}, [
|
|
2004
|
-
|
|
1949
|
+
}, [m("div", cn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), p("span", ln)) : (b(), p("span", un, w(e.branchName), 1))])], 12, sn),
|
|
1950
|
+
m("td", {
|
|
2005
1951
|
class: "vue-ui-data-table__tbody__td",
|
|
2006
1952
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
2007
1953
|
"data-cell": Y.value.head[4]
|
|
2008
|
-
}, [
|
|
2009
|
-
|
|
1954
|
+
}, [m("div", fn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), p("span", pn)) : (b(), p("span", mn, w(e.branchValue.toFixed(M.value.table.td.roundingValue)), 1))])], 12, dn),
|
|
1955
|
+
m("td", {
|
|
2010
1956
|
class: "vue-ui-data-table__tbody__td",
|
|
2011
1957
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
2012
1958
|
"data-cell": Y.value.head[5]
|
|
2013
|
-
}, [
|
|
2014
|
-
|
|
1959
|
+
}, [m("div", gn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), p("span", _n)) : (b(), p("span", vn, w((e.branchToRoot * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1))])], 12, hn),
|
|
1960
|
+
m("td", {
|
|
2015
1961
|
class: "vue-ui-data-table__tbody__td",
|
|
2016
1962
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
2017
1963
|
"data-cell": Y.value.head[6]
|
|
2018
|
-
}, [
|
|
2019
|
-
|
|
1964
|
+
}, [m("div", bn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), p("span", xn)) : (b(), p("span", Sn, w((e.branchToTotal * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1))])], 12, yn),
|
|
1965
|
+
m("td", {
|
|
2020
1966
|
class: "vue-ui-data-table__tbody__td",
|
|
2021
1967
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
2022
1968
|
"data-cell": Y.value.head[7]
|
|
2023
|
-
}, [
|
|
2024
|
-
|
|
1969
|
+
}, [m("div", wn, w(e.nutName), 1)], 12, Cn),
|
|
1970
|
+
m("td", {
|
|
2025
1971
|
class: "vue-ui-data-table__tbody__td",
|
|
2026
1972
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
2027
1973
|
"data-cell": Y.value.head[8]
|
|
2028
|
-
}, [
|
|
2029
|
-
|
|
1974
|
+
}, [m("div", En, w(e.nutValue.toFixed(M.value.table.td.roundingValue)), 1)], 12, Tn),
|
|
1975
|
+
m("td", {
|
|
2030
1976
|
class: "vue-ui-data-table__tbody__td",
|
|
2031
1977
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
2032
1978
|
"data-cell": Y.value.head[9]
|
|
2033
|
-
}, [
|
|
2034
|
-
|
|
1979
|
+
}, [m("div", On, w((e.nutToBranch * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1)], 12, Dn),
|
|
1980
|
+
m("td", {
|
|
2035
1981
|
class: "vue-ui-data-table__tbody__td",
|
|
2036
1982
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
2037
1983
|
"data-cell": Y.value.head[10]
|
|
2038
|
-
}, [
|
|
2039
|
-
|
|
1984
|
+
}, [m("div", An, w((e.nutToRoot * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1)], 12, kn),
|
|
1985
|
+
m("td", {
|
|
2040
1986
|
class: "vue-ui-data-table__tbody__td",
|
|
2041
1987
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
2042
1988
|
"data-cell": Y.value.head[11]
|
|
2043
|
-
}, [
|
|
1989
|
+
}, [m("div", Mn, w((e.nutToTotal * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1)], 12, jn)
|
|
2044
1990
|
], 6))), 256))])
|
|
2045
1991
|
])], 2)], 4)], 4)]),
|
|
2046
1992
|
_: 2
|
|
2047
1993
|
}, [M.value.table.useDialog ? {
|
|
2048
1994
|
name: "title",
|
|
2049
|
-
fn: E(() => [
|
|
1995
|
+
fn: E(() => [je(w(Ir.value.title), 1)]),
|
|
2050
1996
|
key: "0"
|
|
2051
1997
|
} : void 0, M.value.table.useDialog ? {
|
|
2052
1998
|
name: "actions",
|
|
2053
|
-
fn: E(() => [
|
|
1999
|
+
fn: E(() => [m("button", {
|
|
2054
2000
|
tabindex: "0",
|
|
2055
2001
|
class: "vue-ui-user-options-button",
|
|
2056
|
-
onClick: t[11] ||= (e) =>
|
|
2057
|
-
}, [
|
|
2002
|
+
onClick: t[11] ||= (e) => Or(M.value.userOptions.callbacks.csv)
|
|
2003
|
+
}, [h(T(Nn), {
|
|
2058
2004
|
name: "fileCsv",
|
|
2059
|
-
stroke:
|
|
2005
|
+
stroke: Ir.value.props.color
|
|
2060
2006
|
}, null, 8, ["stroke"])])]),
|
|
2061
2007
|
key: "1"
|
|
2062
|
-
} : void 0]), 1040)) :
|
|
2063
|
-
C(e.$slots, "skeleton", {}, () => [T(
|
|
2008
|
+
} : void 0]), 1040)) : f("", !0),
|
|
2009
|
+
C(e.$slots, "skeleton", {}, () => [T(Yn) ? (b(), ke(_e, { key: 0 })) : f("", !0)], !0)
|
|
2064
2010
|
], 46, He));
|
|
2065
2011
|
}
|
|
2066
|
-
}, [["__scopeId", "data-v-
|
|
2012
|
+
}, [["__scopeId", "data-v-92e64679"]]);
|
|
2067
2013
|
//#endregion
|
|
2068
2014
|
export { Ve as n, Nn as t };
|