vue-data-ui 3.25.2 → 3.25.4
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-CL6s6WpN.js → Arrow-DLn-pcrh.js} +1 -1
- package/dist/{BaseDraggableDialog-Cwj9aGdF.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
- package/dist/{BaseIcon-Oj70ytWI.js → BaseIcon-t83PDe9k.js} +1 -1
- package/dist/{BaseLegendToggle-Cvuc-Mrr.js → BaseLegendToggle-__JnV08B.js} +1 -1
- package/dist/{BaseZoomControls-xstFfEqA.js → BaseZoomControls-Xo16vFa4.js} +2 -2
- package/dist/{ColorPicker-sZV-tVqO.js → ColorPicker-ZJrR3Olp.js} +2 -2
- package/dist/{DataTable-DcDMoMmQ.js → DataTable-COIO9gi4.js} +2 -2
- package/dist/{HillActions-BGA3Up35.js → HillActions-Cl-dNBZR.js} +1 -1
- package/dist/{Legend-BQxAKh7g.js → Legend-X4kF4PvW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-1xl1Xynb.js → NonSvgPenAndPaper-DS84BAOx.js} +12 -12
- package/dist/{PackageVersion-DWq6mo_q.js → PackageVersion-5SWftabm.js} +1 -1
- package/dist/{PenAndPaper-Co2OSRzH.js → PenAndPaper-B_SdRSKH.js} +12 -12
- package/dist/{Shape-26P9pTZH.js → Shape-CIqU-p2F.js} +1 -1
- package/dist/{SlicerPreview-CPhQI1vX.js → SlicerPreview-GvsdvE-h.js} +27 -27
- package/dist/{SparkTooltip-CQDq9mwg.js → SparkTooltip-C-Y-mDrc.js} +1 -1
- package/dist/{Title-BLrnZl5j.js → Title-CPHi-evi.js} +1 -1
- package/dist/{Tooltip-CmmM0DtW.js → Tooltip-hhrkQ3Lk.js} +1 -1
- package/dist/{UserOptions-pq95M7ss.js → UserOptions-f3Q0nqrj.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-label.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/{dom-to-png-C2hxsVHU.js → dom-to-png-C6cQJ5Hq.js} +1 -1
- package/dist/{exposedLib-CHbGXzAI.js → exposedLib-CG3aXJ-v.js} +9 -9
- package/dist/{img-EYBQVkRw.js → img-DhGApYG0.js} +1 -1
- package/dist/{labelUtils-Ba5vMXV8.js → labelUtils-BXX2NzRe.js} +1 -1
- package/dist/{lib-BPg41jWd.js → lib-Dql7cqyA.js} +202 -168
- package/dist/{package-ciWqdXC5.js → package-DmsdiyeS.js} +1 -1
- package/dist/{pdf-BoZtb_Ft.js → pdf-Di5yPEw9.js} +1 -1
- package/dist/{render-common-BEWzwi32.js → render-common-zoPh9a78.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/{useNestedProp-fNUUtYXm.js → useNestedProp-Chvyfpl-.js} +1 -1
- package/dist/{usePrinter-CsDAx75S.js → usePrinter-DISD7q5m.js} +2 -2
- package/dist/utils.js +2 -2
- package/dist/{vue-data-ui-BHRh3z_-.js → vue-data-ui-DTj71yB7.js} +70 -70
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-CH8SpxS2.js +1829 -0
- package/dist/{vue-ui-accordion-BGxpEtfk.js → vue-ui-accordion-D4zsdacF.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CYHqR2NK.js → vue-ui-age-pyramid-B9MUVi75.js} +214 -214
- package/dist/{vue-ui-annotator-Q5zC15Pp.js → vue-ui-annotator-CmlcWPIm.js} +6 -6
- package/dist/vue-ui-bullet-n8KNnDwh.js +700 -0
- package/dist/{vue-ui-bump-DkntyN9G.js → vue-ui-bump-BkOtQNWe.js} +54 -54
- package/dist/{vue-ui-candlestick-Cz0s9M9a.js → vue-ui-candlestick-Bxlvqk49.js} +450 -446
- package/dist/vue-ui-carousel-table-CRgbs7jR.js +467 -0
- package/dist/{vue-ui-chestnut-iwScoeK0.js → vue-ui-chestnut-ByDKbkG9.js} +273 -273
- package/dist/{vue-ui-chord-Bl_91Sut.js → vue-ui-chord-DQRBgVOx.js} +31 -31
- package/dist/{vue-ui-circle-pack-Dm9BU5Kl.js → vue-ui-circle-pack-CBBc0HOe.js} +28 -28
- package/dist/{vue-ui-cursor-D_bkWVNS.js → vue-ui-cursor-BHyXRadA.js} +3 -3
- package/dist/{vue-ui-dag-CF4YxXqU.js → vue-ui-dag-CyVqaLbF.js} +75 -75
- package/dist/{vue-ui-dashboard-Bwhlqoe4.js → vue-ui-dashboard-7I-7wvCP.js} +69 -69
- package/dist/{vue-ui-digits-CXM0xSi6.js → vue-ui-digits-BBL8uERO.js} +3 -3
- package/dist/{vue-ui-donut-DEn7HF5c.js → vue-ui-donut-DcgUuefk.js} +101 -101
- package/dist/vue-ui-donut-DfiocufT.js +2413 -0
- package/dist/{vue-ui-donut-evolution-Z7fpl7Zf.js → vue-ui-donut-evolution-BoqO8By2.js} +374 -374
- package/dist/{vue-ui-dumbbell-BEFPs0t1.js → vue-ui-dumbbell-7M_oUQdi.js} +137 -137
- package/dist/{vue-ui-flow-DAId7lkh.js → vue-ui-flow-CoylrfnO.js} +40 -40
- package/dist/vue-ui-funnel-DaBYHWIC.js +747 -0
- package/dist/{vue-ui-galaxy-So95hmON.js → vue-ui-galaxy-BIebStQ3.js} +245 -245
- package/dist/vue-ui-gauge-CwdTmiRP.js +932 -0
- package/dist/{vue-ui-geo-MTJoJ3_A.js → vue-ui-geo-jR4P4pbt.js} +36 -36
- package/dist/{vue-ui-gizmo-D9tbjzYe.js → vue-ui-gizmo-D6W86s9o.js} +3 -3
- package/dist/{vue-ui-heatmap-DRdQFkV_.js → vue-ui-heatmap-DXYlGwqR.js} +180 -180
- package/dist/{vue-ui-hill-CdtIsBTO.js → vue-ui-hill-fFq7pm-g.js} +9 -9
- package/dist/vue-ui-history-plot-CgIELoD2.js +1696 -0
- package/dist/vue-ui-horizontal-bar-D3Sft4kp.js +1709 -0
- package/dist/{vue-ui-kpi-DHDy4LcL.js → vue-ui-kpi-fzLsKlyE.js} +3 -3
- package/dist/{vue-ui-label-Bm5iMSie.js → vue-ui-label-BSgLalWD.js} +64 -64
- package/dist/{vue-ui-mini-loader-EK0wtL10.js → vue-ui-mini-loader-BL2odRfu.js} +2 -2
- package/dist/vue-ui-molecule-DeHWkkhy.js +929 -0
- package/dist/{vue-ui-mood-radar-CTiFn6bj.js → vue-ui-mood-radar-bvGx6XgG.js} +201 -201
- package/dist/{vue-ui-nested-donuts-DKzeriUP.js → vue-ui-nested-donuts-CeAV2xPk.js} +124 -124
- package/dist/{vue-ui-onion-C3ZiE1dn.js → vue-ui-onion-B7oFulsQ.js} +119 -119
- package/dist/{vue-ui-parallel-coordinate-plot-D1xAQ_qP.js → vue-ui-parallel-coordinate-plot-B_QJ4N9o.js} +376 -376
- package/dist/{vue-ui-quadrant-B82S1-8b.js → vue-ui-quadrant-DrKnz37q.js} +46 -46
- package/dist/{vue-ui-quick-chart-BeIZ2KVy.js → vue-ui-quick-chart-BFscCR59.js} +185 -185
- package/dist/{vue-ui-radar-Bh7LKVWz.js → vue-ui-radar-Bzx69q8f.js} +311 -311
- package/dist/{vue-ui-rating-AbGGnd-1.js → vue-ui-rating-CimC9FQ9.js} +2 -2
- package/dist/vue-ui-relation-circle-DIQYyDGb.js +903 -0
- package/dist/{vue-ui-ridgeline-BmmcBvtt.js → vue-ui-ridgeline-CPEnM45x.js} +199 -199
- package/dist/{vue-ui-rings-Bx3lTcrM.js → vue-ui-rings-qPL5Iwji.js} +327 -327
- package/dist/vue-ui-scatter-BB0ClTsU.js +2403 -0
- package/dist/{vue-ui-skeleton-GSfVAGm5.js → vue-ui-skeleton-zmbcOVEf.js} +59 -59
- package/dist/{vue-ui-smiley-CVQ85iFx.js → vue-ui-smiley-DzPkCMN-.js} +2 -2
- package/dist/{vue-ui-spark-trend-BVS__UWD.js → vue-ui-spark-trend-Ciq7-k_q.js} +8 -8
- package/dist/{vue-ui-sparkbar-C-xEaUvd.js → vue-ui-sparkbar-D1M7-naP.js} +142 -142
- package/dist/{vue-ui-sparkgauge-_XSE8M-e.js → vue-ui-sparkgauge-rsqaeR_n.js} +33 -33
- package/dist/{vue-ui-sparkhistogram-DUM6ygCM.js → vue-ui-sparkhistogram-C4WXt2Ni.js} +26 -26
- package/dist/{vue-ui-sparkline-Dg9fXwZG.js → vue-ui-sparkline-Dv7XrEzO.js} +253 -253
- package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +738 -0
- package/dist/vue-ui-stackbar-C_hMnOLb.js +2353 -0
- package/dist/vue-ui-stackline-BHGi63lD.js +2467 -0
- package/dist/vue-ui-strip-plot-Cygpn-l8.js +1738 -0
- package/dist/vue-ui-table-BQna1wL6.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DgFFlNnz.js → vue-ui-table-heatmap-Dv_ZKKm3.js} +9 -9
- package/dist/{vue-ui-table-sparkline-BsVOuCvB.js → vue-ui-table-sparkline-BCuimtk6.js} +13 -13
- package/dist/{vue-ui-thermometer-DOECuI2_.js → vue-ui-thermometer-DytlLJ32.js} +28 -28
- package/dist/{vue-ui-timer-B2Cd2bc6.js → vue-ui-timer-CvHP4HoW.js} +5 -5
- package/dist/{vue-ui-tiremarks-CrnFAVS8.js → vue-ui-tiremarks-BvjdZwgh.js} +6 -6
- package/dist/{vue-ui-treemap-DHZ6BvAc.js → vue-ui-treemap-C5OpqzSc.js} +39 -39
- package/dist/vue-ui-waffle-B7T_Zzan.js +1619 -0
- package/dist/{vue-ui-wheel-7U-O7-xN.js → vue-ui-wheel-D1B0k7IW.js} +23 -23
- package/dist/{vue-ui-word-cloud-CVsvKOiI.js → vue-ui-word-cloud-C4pX6jop.js} +27 -27
- package/dist/{vue-ui-world-B9VGieBA.js → vue-ui-world-D0_2upjg.js} +116 -116
- package/dist/{vue-ui-xy-chRPjTTj.js → vue-ui-xy-Ck41KYqF.js} +1493 -1489
- package/dist/{vue-ui-xy-CNy0avUa.js → vue-ui-xy-D_5FfaH-.js} +423 -422
- package/dist/{vue-ui-xy-canvas-B9kzEFnY.js → vue-ui-xy-canvas-B_8Mu19r.js} +77 -77
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-DUbSp0so.js +0 -1829
- package/dist/vue-ui-bullet-DOF7UCo_.js +0 -700
- package/dist/vue-ui-carousel-table-f3ddW3LA.js +0 -467
- package/dist/vue-ui-donut-BfehCl28.js +0 -2413
- package/dist/vue-ui-funnel-D6Hvhb_C.js +0 -747
- package/dist/vue-ui-gauge-Cs96ssGw.js +0 -932
- package/dist/vue-ui-history-plot-BaVZe6Fy.js +0 -1696
- package/dist/vue-ui-horizontal-bar-DETeVTOn.js +0 -1709
- package/dist/vue-ui-molecule-Dt31r51l.js +0 -929
- package/dist/vue-ui-relation-circle-4ZeUHCx_.js +0 -903
- package/dist/vue-ui-scatter-Vw4JbCjp.js +0 -2403
- package/dist/vue-ui-sparkstackbar-8-iyImVK.js +0 -738
- package/dist/vue-ui-stackbar-zl-GieBs.js +0 -2349
- package/dist/vue-ui-stackline-HcXMSuwS.js +0 -2463
- package/dist/vue-ui-strip-plot-B_q_YQiP.js +0 -1738
- package/dist/vue-ui-table-CftOhYTO.js +0 -1352
- package/dist/vue-ui-waffle-Ca4QSb5z.js +0 -1619
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n,
|
|
3
|
-
import { n as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { Fragment as
|
|
2
|
+
import { $ as t, D as n, Lt as r, Mt as i, Pt as a, S as o, Ut as s, Wt as ee, X as c, Yt as te, Zt as ne, f as l, h as re, ht as ie, i as u, nt as ae, p as oe, q as se, r as ce, t as le, w as ue } from "./lib-Dql7cqyA.js";
|
|
3
|
+
import { n as de, t as fe } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as pe } from "./useConfig-CyCVHo81.js";
|
|
5
|
+
import { t as me } from "./usePrinter-DISD7q5m.js";
|
|
6
|
+
import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
+
import { t as _e } from "./useNestedProp-Chvyfpl-.js";
|
|
8
|
+
import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as ye } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
+
import { t as be } from "./img-DhGApYG0.js";
|
|
11
|
+
import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
+
import { t as Se } from "./DefGrad-DVBqDjhO.js";
|
|
13
|
+
import { t as Ce } from "./A11yDataTable-DdRsVULz.js";
|
|
14
|
+
import { t as we } from "./useUserOptionState-DK-_1ddE.js";
|
|
15
|
+
import { t as Te } from "./useChartAccessibility-DYqac8yF.js";
|
|
16
|
+
import { t as Ee } from "./useTableResponsive-BAqJPR68.js";
|
|
17
|
+
import { t as De } from "./vue_ui_chestnut-D2oUhad6.js";
|
|
18
|
+
import { Fragment as d, computed as f, createBlock as Oe, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as ke, createTextVNode as Ae, createVNode as je, 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",
|
|
@@ -336,7 +336,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
336
336
|
"justify-content": "flex-end",
|
|
337
337
|
width: "100%",
|
|
338
338
|
"padding-right": "3px"
|
|
339
|
-
} }, Nn = /*#__PURE__*/
|
|
339
|
+
} }, Nn = /*#__PURE__*/ xe({
|
|
340
340
|
__name: "vue-ui-chestnut",
|
|
341
341
|
props: {
|
|
342
342
|
config: {
|
|
@@ -358,21 +358,21 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
358
358
|
"selectNut",
|
|
359
359
|
"copyAlt"
|
|
360
360
|
],
|
|
361
|
-
setup(e, { expose:
|
|
361
|
+
setup(e, { expose: xe, emit: Ve }) {
|
|
362
362
|
Re((e) => ({ v442dd34a: e.tdo }));
|
|
363
|
-
let Nn = Me(() => import("./BaseIcon-
|
|
363
|
+
let Nn = Me(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), Pn = Me(() => import("./vue-ui-accordion-D4zsdacF.js").then((e) => e.n)), Fn = Me(() => import("./PenAndPaper-B_SdRSKH.js").then((e) => e.t)), In = Me(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), Ln = Me(() => import("./PackageVersion-5SWftabm.js").then((e) => e.t)), Rn = Me(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_chestnut: zn } = pe(), { isThemeValid: Bn, warnInvalidTheme: Vn } = ve(), D = e, Hn = f(() => !!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
369
|
}), M = x(tr());
|
|
370
|
-
|
|
370
|
+
de({
|
|
371
371
|
config: () => M.value,
|
|
372
372
|
dataset: () => D.dataset,
|
|
373
373
|
component: "VueUiChestnut",
|
|
374
374
|
rules: [
|
|
375
|
-
|
|
375
|
+
fe.emptyArray,
|
|
376
376
|
{
|
|
377
377
|
test: (e) => e.some((e) => e?.branches && e.branches.length > 10),
|
|
378
378
|
message: [
|
|
@@ -391,7 +391,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
391
391
|
}
|
|
392
392
|
]
|
|
393
393
|
});
|
|
394
|
-
let N =
|
|
394
|
+
let N = f(() => M.value.userOptions.useCursorPointer), Jn = f(() => ne({
|
|
395
395
|
defaultConfig: {
|
|
396
396
|
userOptions: { show: !1 },
|
|
397
397
|
table: { show: !1 },
|
|
@@ -416,7 +416,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
416
416
|
} }
|
|
417
417
|
},
|
|
418
418
|
userConfig: M.value.skeletonConfig ?? {}
|
|
419
|
-
})), { loading: Yn, FINAL_DATASET: Xn } =
|
|
419
|
+
})), { loading: Yn, FINAL_DATASET: Xn } = he({
|
|
420
420
|
...Le(D),
|
|
421
421
|
FINAL_CONFIG: M,
|
|
422
422
|
prepareConfig: tr,
|
|
@@ -539,38 +539,38 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
539
539
|
defaultConfig: M.value,
|
|
540
540
|
userConfig: Jn.value
|
|
541
541
|
})
|
|
542
|
-
}), { userOptionsVisible: Zn, setUserOptionsVisibility: Qn, keepUserOptionState: $n } =
|
|
542
|
+
}), { userOptionsVisible: Zn, setUserOptionsVisibility: Qn, keepUserOptionState: $n } = we({ config: M.value }), { svgRef: er } = Te({ config: M.value.style.chart.layout.title });
|
|
543
543
|
function tr() {
|
|
544
|
-
let e =
|
|
544
|
+
let e = _e({
|
|
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 =
|
|
551
|
-
userConfig:
|
|
550
|
+
let n = _e({
|
|
551
|
+
userConfig: De[t] || D.config,
|
|
552
552
|
defaultConfig: e
|
|
553
|
-
}),
|
|
553
|
+
}), i = _e({
|
|
554
554
|
userConfig: D.config,
|
|
555
555
|
defaultConfig: n
|
|
556
556
|
});
|
|
557
557
|
return {
|
|
558
|
-
...
|
|
559
|
-
customPalette:
|
|
558
|
+
...i,
|
|
559
|
+
customPalette: i.customPalette.length ? i.customPalette : te[t] || r
|
|
560
560
|
};
|
|
561
561
|
}
|
|
562
562
|
ze(() => D.config, (e) => {
|
|
563
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: nr, isImaging: rr, generatePdf: ir, generateImage: ar } =
|
|
565
|
+
let { isPrinting: nr, isImaging: rr, generatePdf: ir, generateImage: ar } = me({
|
|
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
|
-
}), or =
|
|
569
|
+
}), or = f(() => M.value.userOptions.show), sr = f(() => ue(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 cr = x(null), lr =
|
|
573
|
+
let cr = x(null), lr = f(() => M.value.table.responsiveBreakpoint), F = x({
|
|
574
574
|
gap: 6,
|
|
575
575
|
padding: {
|
|
576
576
|
top: 102,
|
|
@@ -582,7 +582,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
582
582
|
height: 0,
|
|
583
583
|
branchSize: 32,
|
|
584
584
|
branchStart: 128
|
|
585
|
-
}), I =
|
|
585
|
+
}), I = f(() => ({
|
|
586
586
|
left: F.value.padding.left,
|
|
587
587
|
top: F.value.padding.top,
|
|
588
588
|
right: F.value.width - F.value.padding.right,
|
|
@@ -590,34 +590,34 @@ 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 =
|
|
594
|
-
|
|
593
|
+
})), L = f(() => Xn.value.flatMap((e) => (e.branches || []).map((e) => e.value || 0)).reduce((e, t) => e + t, 0)), ur = f(() => M.value.debug), R = f(() => (ur.value && Xn.value.forEach((e, t) => {
|
|
594
|
+
ie({
|
|
595
595
|
datasetObject: e,
|
|
596
596
|
requiredAttributes: ["name", "branches"]
|
|
597
597
|
}).forEach((e) => {
|
|
598
|
-
|
|
598
|
+
ae({
|
|
599
599
|
componentName: "VueUiChestnut",
|
|
600
600
|
type: "datasetSerieAttribute",
|
|
601
601
|
property: e,
|
|
602
602
|
index: t
|
|
603
603
|
});
|
|
604
604
|
}), e.branches && e.branches.forEach((e, n) => {
|
|
605
|
-
|
|
605
|
+
ie({
|
|
606
606
|
datasetObject: e,
|
|
607
607
|
requiredAttributes: ["name", "value"]
|
|
608
608
|
}).forEach((e) => {
|
|
609
|
-
|
|
609
|
+
ae({
|
|
610
610
|
componentName: "VueUiChestnut",
|
|
611
611
|
type: "datasetSerieAttribute",
|
|
612
612
|
property: e,
|
|
613
613
|
index: `${t} - ${n}`
|
|
614
614
|
});
|
|
615
615
|
}), e.breakdown && e.breakdown.forEach((e, r) => {
|
|
616
|
-
|
|
616
|
+
ie({
|
|
617
617
|
datasetObject: e,
|
|
618
618
|
requiredAttributes: ["name", "value"]
|
|
619
619
|
}).forEach((e) => {
|
|
620
|
-
|
|
620
|
+
ae({
|
|
621
621
|
componentName: "VueUiChestnut",
|
|
622
622
|
type: "datasetSerieAttribute",
|
|
623
623
|
property: e,
|
|
@@ -630,47 +630,47 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
630
630
|
let n = (e.branches || []).map((e) => e.value || 0).reduce((e, t) => e + t, 0);
|
|
631
631
|
return {
|
|
632
632
|
...e,
|
|
633
|
-
color:
|
|
633
|
+
color: o(e.color) || sr.value[t] || r[t] || r[t % r.length],
|
|
634
634
|
id: e.id || `root_${t}_${O.value}`,
|
|
635
635
|
type: "root",
|
|
636
636
|
total: n,
|
|
637
637
|
rootIndex: t,
|
|
638
|
-
branches: (e.branches || []).map((
|
|
639
|
-
...
|
|
638
|
+
branches: (e.branches || []).map((i, a) => ({
|
|
639
|
+
...i,
|
|
640
640
|
rootName: e.name,
|
|
641
641
|
rootIndex: t,
|
|
642
|
-
color:
|
|
643
|
-
value:
|
|
644
|
-
id:
|
|
645
|
-
proportionToRoot:
|
|
642
|
+
color: o(e.color) || sr.value[t] || r[t] || r[t % r.length],
|
|
643
|
+
value: i.value >= 0 ? i.value : 0,
|
|
644
|
+
id: i.id || `branch_${t}_${a}_${O.value}`,
|
|
645
|
+
proportionToRoot: i.value / n,
|
|
646
646
|
type: "branch",
|
|
647
|
-
breakdown: (
|
|
647
|
+
breakdown: (i.breakdown || []).map((s, ee) => ({
|
|
648
648
|
table: {
|
|
649
649
|
rootName: e.name,
|
|
650
650
|
rootValue: n,
|
|
651
651
|
rootToTotal: n / L.value,
|
|
652
|
-
branchName:
|
|
653
|
-
branchValue:
|
|
654
|
-
branchToTotal:
|
|
655
|
-
branchToRoot:
|
|
656
|
-
nutName:
|
|
657
|
-
nutValue:
|
|
658
|
-
nutToTotal:
|
|
659
|
-
nutToRoot:
|
|
660
|
-
nutToBranch:
|
|
652
|
+
branchName: i.name,
|
|
653
|
+
branchValue: i.value,
|
|
654
|
+
branchToTotal: i.value / L.value,
|
|
655
|
+
branchToRoot: i.value / n,
|
|
656
|
+
nutName: s.name,
|
|
657
|
+
nutValue: s.value,
|
|
658
|
+
nutToTotal: s.value / L.value,
|
|
659
|
+
nutToRoot: s.value / n,
|
|
660
|
+
nutToBranch: s.value / i.value
|
|
661
661
|
},
|
|
662
|
-
...
|
|
662
|
+
...s,
|
|
663
663
|
type: "nut",
|
|
664
|
-
branchName:
|
|
664
|
+
branchName: i.name,
|
|
665
665
|
rootName: e.name,
|
|
666
|
-
branchTotal:
|
|
667
|
-
proportionToBranch:
|
|
668
|
-
proportionToRoot:
|
|
669
|
-
proportionToTree:
|
|
666
|
+
branchTotal: i.value >= 0 ? i.value : 0,
|
|
667
|
+
proportionToBranch: s.value / i.value,
|
|
668
|
+
proportionToRoot: s.value / n,
|
|
669
|
+
proportionToTree: s.value / L.value,
|
|
670
670
|
rootIndex: t,
|
|
671
|
-
id:
|
|
672
|
-
color:
|
|
673
|
-
value:
|
|
671
|
+
id: s.id || `nut_${t}_${a}_${ee}_${O.value}`,
|
|
672
|
+
color: o(s.color) || sr.value[ee] || r[ee] || r[ee % r.length],
|
|
673
|
+
value: s.value >= 0 ? s.value : 0
|
|
674
674
|
}))
|
|
675
675
|
}))
|
|
676
676
|
};
|
|
@@ -678,7 +678,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
678
678
|
function dr() {
|
|
679
679
|
return R.value;
|
|
680
680
|
}
|
|
681
|
-
let z = Ve, fr =
|
|
681
|
+
let z = Ve, fr = f(() => R.value.flatMap((e) => e.branches).length), pr = f(() => Math.max(...R.value.map((e) => e.branches.map((e) => e.value).reduce((e, t) => e + t, 0)))), mr = f(() => Math.max(...R.value.flatMap((e) => e.branches.map((e) => e.value)))), hr = f(() => 256 + F.value.padding.left), B = f(() => R.value.sort((e, t) => t.total - e.total).map((e, t) => {
|
|
682
682
|
let n = I.value.height / R.value.length / 2, r = e.total / pr.value * (n > 64 ? 64 : n);
|
|
683
683
|
return {
|
|
684
684
|
...e,
|
|
@@ -686,13 +686,13 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
686
686
|
y: I.value.top + I.value.height / R.value.length * (t + 1) - (I.value.height / R.value.length / 2 + F.value.gap / 2),
|
|
687
687
|
r: r < F.value.branchSize / 2 ? F.value.branchSize / 2 : r
|
|
688
688
|
};
|
|
689
|
-
})), gr =
|
|
689
|
+
})), gr = f(() => 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), _r = f(() => B.value.flatMap((e) => e.branches)), V = f(() => _r.value.sort((e, t) => t.value - e.value).map((e, t) => ({
|
|
690
690
|
...e,
|
|
691
691
|
y1: t * F.value.branchSize + I.value.top + t * F.value.gap,
|
|
692
692
|
y2: t * F.value.branchSize + F.value.branchSize,
|
|
693
693
|
x1: hr.value,
|
|
694
694
|
x2: 384 * e.value / mr.value * gr.value + hr.value
|
|
695
|
-
}))), vr =
|
|
695
|
+
}))), vr = f(() => B.value), yr = f(() => vr.value.map((e) => V.value.filter((t) => t.rootIndex === e.rootIndex).sort((e, t) => e.y1 - t.y1))), br = f(() => vr.value.map((e, t) => yr.value[t].map((e) => (e.breakdown || []).map((t, n) => ({
|
|
696
696
|
...t,
|
|
697
697
|
nutIndex: n,
|
|
698
698
|
rootIndex: e.rootIndex,
|
|
@@ -728,7 +728,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
728
728
|
K();
|
|
729
729
|
let t = vr.value.findIndex((t) => t.rootIndex === e.rootIndex), n = (yr.value[t] || []).findIndex((t) => t.id === e.id);
|
|
730
730
|
t !== -1 && (j.value.rootIndex = t), n !== -1 && (j.value.branchIndex = n), j.value.level = "nut", j.value.nutIndex = 0, Pe(() => {
|
|
731
|
-
H.value = e, W.value = e, U.value =
|
|
731
|
+
H.value = e, W.value = e, U.value = i({
|
|
732
732
|
series: e.breakdown,
|
|
733
733
|
base: 1
|
|
734
734
|
}, e.x2 + 24 + M.value.style.chart.layout.nuts.offsetX, e.y1 + F.value.branchSize / 2, 80, 80), z("selectNut", e.breakdown), Q();
|
|
@@ -755,7 +755,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
755
755
|
Dr();
|
|
756
756
|
});
|
|
757
757
|
function Dr() {
|
|
758
|
-
|
|
758
|
+
a(D.dataset) && ae({
|
|
759
759
|
componentName: "VueUiChestnut",
|
|
760
760
|
type: "dataset",
|
|
761
761
|
debug: ur.value
|
|
@@ -763,7 +763,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
763
763
|
let e = fr.value * (F.value.branchSize + F.value.gap) + F.value.padding.top + F.value.padding.bottom;
|
|
764
764
|
F.value.height = e;
|
|
765
765
|
}
|
|
766
|
-
let Y =
|
|
766
|
+
let Y = f(() => ({
|
|
767
767
|
head: [
|
|
768
768
|
M.value.table.th.translations.rootName,
|
|
769
769
|
M.value.table.th.translations.rootValue,
|
|
@@ -801,9 +801,9 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
801
801
|
e.nutToBranch,
|
|
802
802
|
e.nutToRoot,
|
|
803
803
|
e.nutToTotal
|
|
804
|
-
]), o = r.concat([i]).concat(a),
|
|
805
|
-
e ? e(
|
|
806
|
-
csvContent:
|
|
804
|
+
]), o = r.concat([i]).concat(a), s = n(o);
|
|
805
|
+
e ? e(s) : t({
|
|
806
|
+
csvContent: s,
|
|
807
807
|
title: M.value.style.chart.layout.title.text || "vue-ui-chestnut"
|
|
808
808
|
});
|
|
809
809
|
});
|
|
@@ -821,7 +821,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
821
821
|
}
|
|
822
822
|
async function Pr({ scale: e = 2 } = {}) {
|
|
823
823
|
if (!Un.value) return;
|
|
824
|
-
let { width: t, height: n } = Un.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await
|
|
824
|
+
let { width: t, height: n } = Un.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await be({
|
|
825
825
|
domElement: Un.value,
|
|
826
826
|
base64: !0,
|
|
827
827
|
img: !0,
|
|
@@ -845,7 +845,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
845
845
|
"Z"
|
|
846
846
|
].join(" ");
|
|
847
847
|
}
|
|
848
|
-
let Ir =
|
|
848
|
+
let Ir = f(() => {
|
|
849
849
|
let e = M.value.table.useDialog && !M.value.table.show, t = P.value.showTable;
|
|
850
850
|
return {
|
|
851
851
|
component: e ? Rn : Pn,
|
|
@@ -879,32 +879,32 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
879
879
|
ze(() => P.value.showTable, async (e) => {
|
|
880
880
|
M.value.table.show || (e && M.value.table.useDialog && Gn.value ? (await Pe(), Gn.value.open()) : "close" in Gn.value && Gn.value.close());
|
|
881
881
|
});
|
|
882
|
-
let { isResponsive: Lr } =
|
|
882
|
+
let { isResponsive: Lr } = Ee(cr, lr);
|
|
883
883
|
function Rr() {
|
|
884
884
|
P.value.showTable = !1, Kn.value && Kn.value.setTableIconState(!1);
|
|
885
885
|
}
|
|
886
|
-
let zr =
|
|
886
|
+
let zr = f(() => R.value.map((e, t) => ({
|
|
887
887
|
...e,
|
|
888
|
-
display: `${e.name}: ${
|
|
888
|
+
display: `${e.name}: ${u(M.value.style.chart.layout.roots.labels.formatter, e.total, c({
|
|
889
889
|
p: M.value.style.chart.layout.legend.prefix,
|
|
890
890
|
v: e.total,
|
|
891
891
|
s: M.value.style.chart.layout.legend.suffix,
|
|
892
892
|
r: M.value.style.chart.layout.legend.roundingValue
|
|
893
|
-
}), { datapoint: e })} (${
|
|
893
|
+
}), { datapoint: e })} (${c({
|
|
894
894
|
v: e.total / L.value * 100,
|
|
895
895
|
s: "%",
|
|
896
896
|
r: M.value.style.chart.layout.legend.roundingPercentage
|
|
897
897
|
})})`
|
|
898
|
-
}))), Br =
|
|
898
|
+
}))), Br = f(() => zr.value.map((e) => ({
|
|
899
899
|
color: e.color,
|
|
900
900
|
name: e.display,
|
|
901
901
|
shape: "circle"
|
|
902
|
-
}))), Vr =
|
|
902
|
+
}))), Vr = f(() => M.value.style.chart.backgroundColor), Hr = f(() => ({
|
|
903
903
|
...M.value.style.chart.layout.legend,
|
|
904
904
|
textAlign: "center",
|
|
905
905
|
show: !0,
|
|
906
906
|
position: "bottom"
|
|
907
|
-
})), Ur =
|
|
907
|
+
})), Ur = f(() => M.value.style.chart.layout.title), { isCallbackImaging: Wr, isCallbackSvg: Gr, generateSvg: Kr, onGenerateImage: qr } = ye({
|
|
908
908
|
svg: er,
|
|
909
909
|
title: Ur,
|
|
910
910
|
legend: Hr,
|
|
@@ -929,12 +929,12 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
929
929
|
}
|
|
930
930
|
function Yr(e) {
|
|
931
931
|
if (!e) return "";
|
|
932
|
-
let t =
|
|
932
|
+
let t = c({
|
|
933
933
|
p: M.value.style.chart.layout.legend.prefix,
|
|
934
934
|
v: e.total,
|
|
935
935
|
s: M.value.style.chart.layout.legend.suffix,
|
|
936
936
|
r: M.value.style.chart.layout.legend.roundingValue
|
|
937
|
-
}), n =
|
|
937
|
+
}), n = c({
|
|
938
938
|
v: e.total / L.value * 100,
|
|
939
939
|
s: "%",
|
|
940
940
|
r: M.value.style.chart.layout.legend.roundingPercentage
|
|
@@ -943,12 +943,12 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
943
943
|
}
|
|
944
944
|
function Xr(e) {
|
|
945
945
|
if (!e) return "";
|
|
946
|
-
let t =
|
|
946
|
+
let t = c({
|
|
947
947
|
p: M.value.style.chart.layout.branches.labels.dataLabels.prefix,
|
|
948
948
|
v: e.value,
|
|
949
949
|
s: M.value.style.chart.layout.branches.labels.dataLabels.suffix,
|
|
950
950
|
r: M.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
951
|
-
}), n =
|
|
951
|
+
}), n = c({
|
|
952
952
|
v: e.proportionToRoot * 100,
|
|
953
953
|
s: "%",
|
|
954
954
|
r: M.value.style.chart.layout.legend.roundingPercentage
|
|
@@ -957,19 +957,19 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
957
957
|
}
|
|
958
958
|
function Zr(e) {
|
|
959
959
|
if (!e) return "";
|
|
960
|
-
let t =
|
|
960
|
+
let t = c({
|
|
961
961
|
p: M.value.style.chart.layout.legend.prefix,
|
|
962
962
|
v: e.value,
|
|
963
963
|
s: M.value.style.chart.layout.legend.suffix,
|
|
964
964
|
r: M.value.style.chart.layout.nuts.selected.labels.roundingValue
|
|
965
|
-
}), n =
|
|
965
|
+
}), n = c({
|
|
966
966
|
v: e.proportionToBranch * 100,
|
|
967
967
|
s: "%",
|
|
968
968
|
r: M.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
969
969
|
});
|
|
970
970
|
return `Nut ${e.name}. Branch ${e.branchName}. Root ${e.rootName}. Value ${t}. ${n} of branch ${e.branchName}.`;
|
|
971
971
|
}
|
|
972
|
-
let Qr =
|
|
972
|
+
let Qr = f(() => vr.value[j.value.rootIndex] || null), X = f(() => (yr.value[j.value.rootIndex] || [])[j.value.branchIndex] || null), $r = f(() => ((br.value[j.value.rootIndex] || [])[j.value.branchIndex] || [])[j.value.nutIndex] || null), Z = f(() => Qr.value), ei = f(() => X.value), ti = f(() => j.value.level === "nut" ? X.value : null), ni = f(() => qn.value);
|
|
973
973
|
function Q() {
|
|
974
974
|
if (j.value.level === "root") {
|
|
975
975
|
A.value = Yr(Qr.value);
|
|
@@ -1082,48 +1082,48 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1082
1082
|
a && si();
|
|
1083
1083
|
}
|
|
1084
1084
|
}
|
|
1085
|
-
let di =
|
|
1085
|
+
let di = f(() => ({
|
|
1086
1086
|
headers: Y.value.head,
|
|
1087
1087
|
rows: Y.value.body.map((e) => [
|
|
1088
1088
|
e.rootName,
|
|
1089
1089
|
e.rootValue,
|
|
1090
|
-
|
|
1090
|
+
c({
|
|
1091
1091
|
v: e.rootToTotal * 100,
|
|
1092
1092
|
s: "%",
|
|
1093
1093
|
r: M.value.table.td.roundingPercentage
|
|
1094
1094
|
}),
|
|
1095
1095
|
e.branchName,
|
|
1096
1096
|
e.branchValue,
|
|
1097
|
-
|
|
1097
|
+
c({
|
|
1098
1098
|
v: e.branchToRoot * 100,
|
|
1099
1099
|
s: "%",
|
|
1100
1100
|
r: M.value.table.td.roundingPercentage
|
|
1101
1101
|
}),
|
|
1102
|
-
|
|
1102
|
+
c({
|
|
1103
1103
|
v: e.branchToTotal * 100,
|
|
1104
1104
|
s: "%",
|
|
1105
1105
|
r: M.value.table.td.roundingPercentage
|
|
1106
1106
|
}),
|
|
1107
1107
|
e.nutName,
|
|
1108
1108
|
e.nutValue,
|
|
1109
|
-
|
|
1109
|
+
c({
|
|
1110
1110
|
v: e.nutToBranch * 100,
|
|
1111
1111
|
s: "%",
|
|
1112
1112
|
r: M.value.table.td.roundingPercentage
|
|
1113
1113
|
}),
|
|
1114
|
-
|
|
1114
|
+
c({
|
|
1115
1115
|
v: e.nutToRoot * 100,
|
|
1116
1116
|
s: "%",
|
|
1117
1117
|
r: M.value.table.td.roundingPercentage
|
|
1118
1118
|
}),
|
|
1119
|
-
|
|
1119
|
+
c({
|
|
1120
1120
|
v: e.nutToTotal * 100,
|
|
1121
1121
|
s: "%",
|
|
1122
1122
|
r: M.value.table.td.roundingPercentage
|
|
1123
1123
|
})
|
|
1124
1124
|
])
|
|
1125
1125
|
}));
|
|
1126
|
-
return
|
|
1126
|
+
return xe({
|
|
1127
1127
|
getData: dr,
|
|
1128
1128
|
getImage: Pr,
|
|
1129
1129
|
generatePdf: ir,
|
|
@@ -1134,7 +1134,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1134
1134
|
toggleAnnotator: Nr,
|
|
1135
1135
|
toggleFullscreen: Ar,
|
|
1136
1136
|
copyAlt: Jr
|
|
1137
|
-
}), (e, t) => (b(),
|
|
1137
|
+
}), (e, t) => (b(), m("div", {
|
|
1138
1138
|
class: _(`vue-data-ui-component vue-ui-chestnut ${kr.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
1139
1139
|
ref_key: "chestnutChart",
|
|
1140
1140
|
ref: Un,
|
|
@@ -1143,12 +1143,12 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1143
1143
|
onMouseenter: t[12] ||= () => T(Qn)(!0),
|
|
1144
1144
|
onMouseleave: t[13] ||= () => T(Qn)(!1)
|
|
1145
1145
|
}, [
|
|
1146
|
-
|
|
1146
|
+
h("div", {
|
|
1147
1147
|
id: `chart-instructions-${O.value}`,
|
|
1148
1148
|
class: "sr-only"
|
|
1149
|
-
}, [
|
|
1150
|
-
|
|
1151
|
-
di.value?.rows?.length ? (b(),
|
|
1149
|
+
}, [h("p", null, w(M.value.a11y.translations.keyboardNavigation), 1)], 8, Ue),
|
|
1150
|
+
h("div", We, w(A.value), 1),
|
|
1151
|
+
di.value?.rows?.length ? (b(), Oe(Ce, {
|
|
1152
1152
|
key: 0,
|
|
1153
1153
|
uid: O.value,
|
|
1154
1154
|
head: di.value.headers,
|
|
@@ -1161,8 +1161,8 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1161
1161
|
"body",
|
|
1162
1162
|
"notice",
|
|
1163
1163
|
"caption"
|
|
1164
|
-
])) :
|
|
1165
|
-
M.value.userOptions.buttons.annotator ? (b(),
|
|
1164
|
+
])) : p("", !0),
|
|
1165
|
+
M.value.userOptions.buttons.annotator ? (b(), Oe(T(Fn), {
|
|
1166
1166
|
key: 1,
|
|
1167
1167
|
svgRef: T(er),
|
|
1168
1168
|
backgroundColor: M.value.style.chart.backgroundColor,
|
|
@@ -1184,9 +1184,9 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1184
1184
|
"color",
|
|
1185
1185
|
"active",
|
|
1186
1186
|
"isCursorPointer"
|
|
1187
|
-
])) :
|
|
1188
|
-
or.value ? (b(),
|
|
1189
|
-
M.value.userOptions.show && Hn.value && (T($n) || T(Zn)) ? (b(),
|
|
1187
|
+
])) : p("", !0),
|
|
1188
|
+
or.value ? (b(), m("div", Ge, null, 512)) : p("", !0),
|
|
1189
|
+
M.value.userOptions.show && Hn.value && (T($n) || T(Zn)) ? (b(), Oe(T(In), {
|
|
1190
1190
|
ref_key: "userOptionsRef",
|
|
1191
1191
|
ref: Kn,
|
|
1192
1192
|
key: `user_options_${Wn.value}`,
|
|
@@ -1221,7 +1221,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1221
1221
|
onToggleAnnotator: Nr,
|
|
1222
1222
|
onCopyAlt: Jr,
|
|
1223
1223
|
style: y({ visibility: T($n) ? T(Zn) ? "visible" : "hidden" : "visible" })
|
|
1224
|
-
},
|
|
1224
|
+
}, ke({ _: 2 }, [
|
|
1225
1225
|
e.$slots.menuIcon ? {
|
|
1226
1226
|
name: "menuIcon",
|
|
1227
1227
|
fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", v(g({
|
|
@@ -1286,12 +1286,12 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1286
1286
|
fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1287
1287
|
key: "10"
|
|
1288
1288
|
} : void 0
|
|
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("."))) :
|
|
1290
|
-
|
|
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("."))) : p("", !0),
|
|
1290
|
+
h("div", Ke, [F.value.height > 0 ? (b(), m("svg", {
|
|
1291
1291
|
key: 0,
|
|
1292
1292
|
ref_key: "svgRef",
|
|
1293
1293
|
ref: er,
|
|
1294
|
-
xmlns: T(
|
|
1294
|
+
xmlns: T(le),
|
|
1295
1295
|
"aria-describedby": `chart-instructions-${O.value}`,
|
|
1296
1296
|
class: _({
|
|
1297
1297
|
"vue-data-ui-fullscreen--on": kr.value,
|
|
@@ -1304,16 +1304,16 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1304
1304
|
onBlur: li,
|
|
1305
1305
|
onKeydown: ui
|
|
1306
1306
|
}, [
|
|
1307
|
-
|
|
1308
|
-
e.$slots["chart-background"] ? (b(),
|
|
1307
|
+
je(T(Ln)),
|
|
1308
|
+
e.$slots["chart-background"] ? (b(), m("foreignObject", {
|
|
1309
1309
|
key: 0,
|
|
1310
1310
|
x: 0,
|
|
1311
1311
|
y: 0,
|
|
1312
1312
|
width: F.value.width <= 0 ? 10 : F.value.width,
|
|
1313
1313
|
height: F.value.height <= 0 ? 10 : F.value.height,
|
|
1314
1314
|
style: { pointerEvents: "none" }
|
|
1315
|
-
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Je)) :
|
|
1316
|
-
H.value ?
|
|
1315
|
+
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Je)) : p("", !0),
|
|
1316
|
+
H.value ? p("", !0) : (b(), m("g", Ye, [M.value.style.chart.layout.title.text ? (b(), m("text", {
|
|
1317
1317
|
key: 0,
|
|
1318
1318
|
"text-anchor": "middle",
|
|
1319
1319
|
fill: M.value.style.chart.layout.title.color,
|
|
@@ -1324,7 +1324,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1324
1324
|
onClick: t[0] ||= () => {
|
|
1325
1325
|
K(), $(), k.value = !1;
|
|
1326
1326
|
}
|
|
1327
|
-
}, w(M.value.style.chart.layout.title.text), 9, Xe)) :
|
|
1327
|
+
}, w(M.value.style.chart.layout.title.text), 9, Xe)) : p("", !0), M.value.style.chart.layout.title.subtitle.text ? (b(), m("text", {
|
|
1328
1328
|
key: 1,
|
|
1329
1329
|
"text-anchor": "middle",
|
|
1330
1330
|
fill: M.value.style.chart.layout.title.subtitle.color,
|
|
@@ -1335,9 +1335,9 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1335
1335
|
onClick: t[1] ||= () => {
|
|
1336
1336
|
K(), $(), k.value = !1;
|
|
1337
1337
|
}
|
|
1338
|
-
}, w(M.value.style.chart.layout.title.subtitle.text), 9, Ze)) :
|
|
1339
|
-
|
|
1340
|
-
(b(!0),
|
|
1338
|
+
}, w(M.value.style.chart.layout.title.subtitle.text), 9, Ze)) : p("", !0)])),
|
|
1339
|
+
h("defs", null, [
|
|
1340
|
+
(b(!0), m(d, null, S(R.value, (e, t) => (b(), Oe(Se, {
|
|
1341
1341
|
t: "radial",
|
|
1342
1342
|
cx: "50%",
|
|
1343
1343
|
cy: "50%",
|
|
@@ -1348,7 +1348,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1348
1348
|
key: `root_gradient_${O.value}_${e.rootIndex}`,
|
|
1349
1349
|
stops: [[
|
|
1350
1350
|
"0%",
|
|
1351
|
-
T(
|
|
1351
|
+
T(s)(T(ee)(e.color, .05), 100 - M.value.style.chart.layout.roots.gradientIntensity),
|
|
1352
1352
|
1
|
|
1353
1353
|
], [
|
|
1354
1354
|
"100%",
|
|
@@ -1356,7 +1356,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1356
1356
|
1
|
|
1357
1357
|
]]
|
|
1358
1358
|
}, null, 8, ["id", "stops"]))), 128)),
|
|
1359
|
-
(b(!0),
|
|
1359
|
+
(b(!0), m(d, null, S(R.value, (e) => (b(), Oe(Se, {
|
|
1360
1360
|
t: "linear",
|
|
1361
1361
|
x1: "0%",
|
|
1362
1362
|
y1: "0%",
|
|
@@ -1370,11 +1370,11 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1370
1370
|
1
|
|
1371
1371
|
], [
|
|
1372
1372
|
"100%",
|
|
1373
|
-
T(
|
|
1373
|
+
T(s)(T(ee)(e.color, .02), 100 - M.value.style.chart.layout.branches.gradientIntensity),
|
|
1374
1374
|
1
|
|
1375
1375
|
]]
|
|
1376
1376
|
}, null, 8, ["id", "stops"]))), 128)),
|
|
1377
|
-
|
|
1377
|
+
je(Se, {
|
|
1378
1378
|
t: "radial",
|
|
1379
1379
|
cx: "50%",
|
|
1380
1380
|
cy: "50%",
|
|
@@ -1385,22 +1385,22 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1385
1385
|
stops: [
|
|
1386
1386
|
[
|
|
1387
1387
|
"0%",
|
|
1388
|
-
T(
|
|
1388
|
+
T(s)("#FFFFFF", 0),
|
|
1389
1389
|
0
|
|
1390
1390
|
],
|
|
1391
1391
|
[
|
|
1392
1392
|
"80%",
|
|
1393
|
-
T(
|
|
1393
|
+
T(s)("#FFFFFF", M.value.style.chart.layout.nuts.selected.gradientIntensity),
|
|
1394
1394
|
1
|
|
1395
1395
|
],
|
|
1396
1396
|
[
|
|
1397
1397
|
"100%",
|
|
1398
|
-
T(
|
|
1398
|
+
T(s)("#FFFFFF", 0),
|
|
1399
1399
|
0
|
|
1400
1400
|
]
|
|
1401
1401
|
]
|
|
1402
1402
|
}, null, 8, ["id", "stops"]),
|
|
1403
|
-
|
|
1403
|
+
je(Se, {
|
|
1404
1404
|
t: "radial",
|
|
1405
1405
|
cx: "50%",
|
|
1406
1406
|
cy: "50%",
|
|
@@ -1411,22 +1411,22 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1411
1411
|
stops: [
|
|
1412
1412
|
[
|
|
1413
1413
|
"0%",
|
|
1414
|
-
T(
|
|
1414
|
+
T(s)("#FFFFFF", 0),
|
|
1415
1415
|
0
|
|
1416
1416
|
],
|
|
1417
1417
|
[
|
|
1418
1418
|
"80%",
|
|
1419
|
-
T(
|
|
1419
|
+
T(s)("#FFFFFF", M.value.style.chart.layout.nuts.gradientIntensity),
|
|
1420
1420
|
1
|
|
1421
1421
|
],
|
|
1422
1422
|
[
|
|
1423
1423
|
"100%",
|
|
1424
|
-
T(
|
|
1424
|
+
T(s)("#FFFFFF", 0),
|
|
1425
1425
|
0
|
|
1426
1426
|
]
|
|
1427
1427
|
]
|
|
1428
1428
|
}, null, 8, ["id", "stops"]),
|
|
1429
|
-
|
|
1429
|
+
je(Se, {
|
|
1430
1430
|
t: "radial",
|
|
1431
1431
|
cx: "50%",
|
|
1432
1432
|
cy: "50%",
|
|
@@ -1437,23 +1437,23 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1437
1437
|
stops: [
|
|
1438
1438
|
[
|
|
1439
1439
|
"0%",
|
|
1440
|
-
T(
|
|
1440
|
+
T(s)(M.value.style.chart.backgroundColor, 100),
|
|
1441
1441
|
1
|
|
1442
1442
|
],
|
|
1443
1443
|
[
|
|
1444
1444
|
"80%",
|
|
1445
|
-
T(
|
|
1445
|
+
T(s)(M.value.style.chart.backgroundColor, 60),
|
|
1446
1446
|
1
|
|
1447
1447
|
],
|
|
1448
1448
|
[
|
|
1449
1449
|
"100%",
|
|
1450
|
-
T(
|
|
1450
|
+
T(s)(M.value.style.chart.backgroundColor, 0),
|
|
1451
1451
|
1
|
|
1452
1452
|
]
|
|
1453
1453
|
]
|
|
1454
1454
|
}, null, 8, ["id", "stops"])
|
|
1455
1455
|
]),
|
|
1456
|
-
M.value.style.chart.layout.grandTotal.show ? (b(),
|
|
1456
|
+
M.value.style.chart.layout.grandTotal.show ? (b(), m("g", Qe, [h("text", {
|
|
1457
1457
|
x: I.value.seedX,
|
|
1458
1458
|
y: 32 + M.value.style.chart.layout.grandTotal.offsetY,
|
|
1459
1459
|
"font-size": M.value.style.chart.layout.grandTotal.fontSize,
|
|
@@ -1463,7 +1463,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1463
1463
|
onClick: t[2] ||= () => {
|
|
1464
1464
|
K(), $(), k.value = !1;
|
|
1465
1465
|
}
|
|
1466
|
-
}, w(M.value.style.chart.layout.grandTotal.text), 9, $e),
|
|
1466
|
+
}, w(M.value.style.chart.layout.grandTotal.text), 9, $e), h("text", {
|
|
1467
1467
|
x: I.value.seedX,
|
|
1468
1468
|
y: 38 + M.value.style.chart.layout.grandTotal.fontSize + M.value.style.chart.layout.grandTotal.offsetY,
|
|
1469
1469
|
"font-size": M.value.style.chart.layout.grandTotal.fontSize,
|
|
@@ -1473,13 +1473,13 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1473
1473
|
onClick: t[3] ||= () => {
|
|
1474
1474
|
K(), $(), k.value = !1;
|
|
1475
1475
|
}
|
|
1476
|
-
}, w(T(
|
|
1476
|
+
}, w(T(u)(M.value.style.chart.layout.grandTotal.formatter, L.value, T(c)({
|
|
1477
1477
|
p: M.value.style.chart.layout.grandTotal.prefix,
|
|
1478
1478
|
v: L.value,
|
|
1479
1479
|
s: M.value.style.chart.layout.grandTotal.suffix,
|
|
1480
1480
|
r: M.value.style.chart.layout.grandTotal.roundingValue
|
|
1481
|
-
}))), 9, et)])) :
|
|
1482
|
-
(b(!0),
|
|
1481
|
+
}))), 9, et)])) : p("", !0),
|
|
1482
|
+
(b(!0), m(d, null, S(V.value, (e) => (b(), m("g", null, [h("defs", null, [je(Se, {
|
|
1483
1483
|
t: "linear",
|
|
1484
1484
|
id: `link_grad_${e.id}`,
|
|
1485
1485
|
stops: [[
|
|
@@ -1488,12 +1488,12 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1488
1488
|
1
|
|
1489
1489
|
], [
|
|
1490
1490
|
"100%",
|
|
1491
|
-
T(
|
|
1491
|
+
T(s)(e.color, M.value.style.chart.layout.links.opacity),
|
|
1492
1492
|
1
|
|
1493
1493
|
]]
|
|
1494
|
-
}, null, 8, ["id", "stops"])]),
|
|
1494
|
+
}, null, 8, ["id", "stops"])]), h("path", {
|
|
1495
1495
|
d: Fr(e),
|
|
1496
|
-
stroke: T(
|
|
1496
|
+
stroke: T(s)(e.color, M.value.style.chart.layout.links.opacity),
|
|
1497
1497
|
fill: `url(#link_grad_${e.id})`,
|
|
1498
1498
|
"stroke-linecap": "round",
|
|
1499
1499
|
"stroke-linejoin": "round",
|
|
@@ -1502,7 +1502,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1502
1502
|
K(), $(), k.value = !1;
|
|
1503
1503
|
}
|
|
1504
1504
|
}, null, 12, tt)]))), 256)),
|
|
1505
|
-
(b(!0),
|
|
1505
|
+
(b(!0), m(d, null, S(B.value, (e) => (b(), m("circle", {
|
|
1506
1506
|
cx: e.x,
|
|
1507
1507
|
cy: e.y,
|
|
1508
1508
|
r: e.r,
|
|
@@ -1510,7 +1510,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1510
1510
|
stroke: "none",
|
|
1511
1511
|
style: y(`cursor:${N.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`)
|
|
1512
1512
|
}, null, 12, nt))), 256)),
|
|
1513
|
-
(b(!0),
|
|
1513
|
+
(b(!0), m(d, null, S(B.value, (e, t) => (b(), m("circle", {
|
|
1514
1514
|
"aria-label": Yr(e),
|
|
1515
1515
|
cx: e.x,
|
|
1516
1516
|
cy: e.y,
|
|
@@ -1521,21 +1521,21 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1521
1521
|
style: y(`cursor:${N.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
|
|
1522
1522
|
onClick: (t) => wr(e)
|
|
1523
1523
|
}, null, 12, rt))), 256)),
|
|
1524
|
-
M.value.style.chart.layout.roots.labels.show ? (b(),
|
|
1524
|
+
M.value.style.chart.layout.roots.labels.show ? (b(), m("g", it, [(b(!0), m(d, null, S(B.value, (e, t) => (b(), m("text", {
|
|
1525
1525
|
x: e.x,
|
|
1526
1526
|
y: e.y + M.value.style.chart.layout.roots.labels.fontSize / 2.6,
|
|
1527
1527
|
"text-anchor": "middle",
|
|
1528
1528
|
"font-size": M.value.style.chart.layout.roots.labels.fontSize,
|
|
1529
|
-
fill: M.value.style.chart.layout.roots.labels.adaptColorToBackground ? T(
|
|
1529
|
+
fill: M.value.style.chart.layout.roots.labels.adaptColorToBackground ? T(ce)(e.color) : M.value.style.chart.layout.roots.labels.color,
|
|
1530
1530
|
"font-weight": "bold",
|
|
1531
1531
|
style: y(`cursor:${N.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
|
|
1532
1532
|
onClick: (t) => wr(e)
|
|
1533
|
-
}, w(T(
|
|
1533
|
+
}, w(T(u)(M.value.style.chart.layout.roots.labels.formatter, e.total, T(c)({
|
|
1534
1534
|
p: M.value.style.chart.layout.roots.labels.prefix,
|
|
1535
1535
|
v: e.total,
|
|
1536
1536
|
s: M.value.style.chart.layout.roots.labels.suffix,
|
|
1537
1537
|
r: M.value.style.chart.layout.roots.labels.roundingValue
|
|
1538
|
-
}), { datapoint: e })), 13, at))), 256)), (b(!0),
|
|
1538
|
+
}), { datapoint: e })), 13, at))), 256)), (b(!0), m(d, null, S(B.value, (e) => (b(), m("g", null, [H.value && e.rootIndex === H.value.rootIndex || W.value && e.rootIndex === W.value.rootIndex || G.value && e.rootIndex === G.value.rootIndex ? (b(), m("g", ot, [h("text", {
|
|
1539
1539
|
x: e.x,
|
|
1540
1540
|
y: e.y + e.r + 24,
|
|
1541
1541
|
"text-anchor": "middle",
|
|
@@ -1545,8 +1545,8 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1545
1545
|
onClick: t[5] ||= () => {
|
|
1546
1546
|
K(), $(), k.value = !1;
|
|
1547
1547
|
}
|
|
1548
|
-
}, w(e.name), 9, st)])) :
|
|
1549
|
-
(b(!0),
|
|
1548
|
+
}, w(e.name), 9, st)])) : p("", !0)]))), 256))])) : p("", !0),
|
|
1549
|
+
(b(!0), m(d, null, S(V.value, (e) => (b(), m("rect", {
|
|
1550
1550
|
x: e.x1,
|
|
1551
1551
|
y: e.y1,
|
|
1552
1552
|
height: F.value.branchSize,
|
|
@@ -1557,7 +1557,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1557
1557
|
style: y(`opacity:${q(e) ? 1 : .05}`),
|
|
1558
1558
|
onClick: (t) => Cr(e)
|
|
1559
1559
|
}, null, 12, ct))), 256)),
|
|
1560
|
-
(b(!0),
|
|
1560
|
+
(b(!0), m(d, null, S(V.value, (e, t) => (b(), m("rect", {
|
|
1561
1561
|
"aria-label": Xr(e),
|
|
1562
1562
|
x: e.x1,
|
|
1563
1563
|
y: e.y1,
|
|
@@ -1570,32 +1570,32 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1570
1570
|
style: y(`cursor:${N.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
|
|
1571
1571
|
onClick: (t) => Cr(e)
|
|
1572
1572
|
}, null, 12, lt))), 256)),
|
|
1573
|
-
M.value.style.chart.layout.branches.labels.dataLabels.show ? (b(),
|
|
1573
|
+
M.value.style.chart.layout.branches.labels.dataLabels.show ? (b(), m("g", ut, [(b(!0), m(d, null, S(V.value, (e) => (b(), m("g", null, [e.proportionToRoot * 100 > M.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (b(), m("text", {
|
|
1574
1574
|
key: 0,
|
|
1575
1575
|
x: e.x1 + 6,
|
|
1576
1576
|
y: e.y1 + F.value.branchSize / 1.5,
|
|
1577
1577
|
"text-anchor": "start",
|
|
1578
|
-
fill: T(
|
|
1578
|
+
fill: T(ce)(e.color),
|
|
1579
1579
|
"font-size": M.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
1580
1580
|
"font-weight": "bold",
|
|
1581
1581
|
style: y(`cursor:${N.value ? "pointer" : "default"}; opacity:${q(e) ? 1 : .05}`),
|
|
1582
1582
|
onClick: (t) => Cr(e)
|
|
1583
|
-
}, w(T(
|
|
1583
|
+
}, w(T(u)(M.value.style.chart.layout.branches.labels.dataLabels.formatter, e.value, T(c)({
|
|
1584
1584
|
p: M.value.style.chart.layout.branches.labels.dataLabels.prefix,
|
|
1585
1585
|
v: e.value,
|
|
1586
1586
|
s: M.value.style.chart.layout.branches.labels.dataLabels.suffix,
|
|
1587
1587
|
r: M.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
1588
|
-
}), { datapoint: e })), 13, dt)) :
|
|
1589
|
-
(b(!0),
|
|
1588
|
+
}), { datapoint: e })), 13, dt)) : p("", !0)]))), 256))])) : p("", !0),
|
|
1589
|
+
(b(!0), m(d, null, S(V.value, (e, t) => (b(), m("g", null, [(b(!0), m(d, null, S(T(i)({
|
|
1590
1590
|
series: e.breakdown,
|
|
1591
1591
|
base: 1
|
|
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(),
|
|
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(), m("path", {
|
|
1593
1593
|
d: t.path,
|
|
1594
1594
|
stroke: t.color,
|
|
1595
1595
|
"stroke-width": 10,
|
|
1596
1596
|
fill: "none",
|
|
1597
1597
|
style: y(`opacity:${q(e) ? 1 : .1}`)
|
|
1598
|
-
}, null, 12, ft))), 256)),
|
|
1598
|
+
}, null, 12, ft))), 256)), h("circle", {
|
|
1599
1599
|
"aria-label": `Open details for branch ${e.name} in root ${e.rootName}`,
|
|
1600
1600
|
fill: M.value.style.chart.layout.nuts.useGradient ? `url(#nut_${O.value})` : "transparent",
|
|
1601
1601
|
cx: e.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
|
|
@@ -1604,7 +1604,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1604
1604
|
onClick: (t) => Sr(e),
|
|
1605
1605
|
style: y(`cursor:${N.value ? "pointer" : "default"};opacity:${q(e) ? 1 : .1}`)
|
|
1606
1606
|
}, null, 12, pt)]))), 256)),
|
|
1607
|
-
M.value.style.chart.layout.branches.labels.show && !W.value ? (b(),
|
|
1607
|
+
M.value.style.chart.layout.branches.labels.show && !W.value ? (b(), m("g", mt, [(b(!0), m(d, null, S(V.value, (e) => (b(), m("text", {
|
|
1608
1608
|
x: e.x2 + F.value.branchSize + 24 + M.value.style.chart.layout.nuts.offsetX,
|
|
1609
1609
|
y: e.y1 + F.value.branchSize / 2 + 5,
|
|
1610
1610
|
"font-size": M.value.style.chart.layout.branches.labels.fontSize,
|
|
@@ -1612,8 +1612,8 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1612
1612
|
fill: M.value.style.chart.layout.branches.labels.color,
|
|
1613
1613
|
"text-anchor": "start",
|
|
1614
1614
|
style: y(`opacity:${q(e) ? 1 : .1}`)
|
|
1615
|
-
}, w(e.name), 13, ht))), 256))])) :
|
|
1616
|
-
|
|
1615
|
+
}, w(e.name), 13, ht))), 256))])) : p("", !0),
|
|
1616
|
+
h("line", {
|
|
1617
1617
|
x1: 256 + F.value.padding.left,
|
|
1618
1618
|
x2: 256 + F.value.padding.left,
|
|
1619
1619
|
y1: I.value.top,
|
|
@@ -1621,7 +1621,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1621
1621
|
stroke: M.value.style.chart.layout.verticalSeparator.stroke,
|
|
1622
1622
|
"stroke-width": M.value.style.chart.layout.verticalSeparator.strokeWidth
|
|
1623
1623
|
}, null, 8, gt),
|
|
1624
|
-
!H.value && !W.value ? (b(),
|
|
1624
|
+
!H.value && !W.value ? (b(), m("foreignObject", {
|
|
1625
1625
|
key: 6,
|
|
1626
1626
|
x: 0,
|
|
1627
1627
|
y: I.value.bottom,
|
|
@@ -1632,28 +1632,28 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1632
1632
|
onClick: t[6] ||= () => {
|
|
1633
1633
|
K(), $(), k.value = !1;
|
|
1634
1634
|
}
|
|
1635
|
-
}, [
|
|
1635
|
+
}, [h("div", vt, [h("div", yt, [(b(!0), m(d, null, S(B.value, (e) => (b(), m("div", { style: y(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${M.value.style.chart.layout.legend.fontSize}px;`) }, [(b(), m("svg", bt, [h("circle", {
|
|
1636
1636
|
cx: "10",
|
|
1637
1637
|
cy: "10",
|
|
1638
1638
|
r: "10",
|
|
1639
1639
|
fill: e.color,
|
|
1640
1640
|
stroke: "none"
|
|
1641
|
-
}, null, 8, xt)])), T(Yn) ?
|
|
1642
|
-
|
|
1643
|
-
|
|
1641
|
+
}, null, 8, xt)])), T(Yn) ? p("", !0) : (b(), m(d, { key: 0 }, [
|
|
1642
|
+
h("span", null, w(e.name) + ":", 1),
|
|
1643
|
+
h("b", null, w(T(u)(M.value.style.chart.layout.roots.labels.formatter, e.total, T(c)({
|
|
1644
1644
|
p: M.value.style.chart.layout.legend.prefix,
|
|
1645
1645
|
v: e.total,
|
|
1646
1646
|
s: M.value.style.chart.layout.legend.suffix,
|
|
1647
1647
|
r: M.value.style.chart.layout.legend.roundingValue
|
|
1648
1648
|
}), { datapoint: e })), 1),
|
|
1649
|
-
|
|
1649
|
+
Ae(" (" + w(T(c)({
|
|
1650
1650
|
v: e.total / L.value * 100,
|
|
1651
1651
|
s: "%",
|
|
1652
1652
|
r: M.value.style.chart.layout.legend.roundingPercentage
|
|
1653
1653
|
})) + ") ", 1)
|
|
1654
|
-
], 64))], 4))), 256))])])], 8, _t)) :
|
|
1655
|
-
H.value && U.value ? (b(),
|
|
1656
|
-
(b(),
|
|
1654
|
+
], 64))], 4))), 256))])])], 8, _t)) : p("", !0),
|
|
1655
|
+
H.value && U.value ? (b(), m("g", St, [
|
|
1656
|
+
(b(), m("foreignObject", {
|
|
1657
1657
|
x: 0,
|
|
1658
1658
|
y: Tr(),
|
|
1659
1659
|
height: F.value.height - I.value.bottom,
|
|
@@ -1662,18 +1662,18 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1662
1662
|
onClick: t[7] ||= () => {
|
|
1663
1663
|
K(), $(), k.value = !1;
|
|
1664
1664
|
}
|
|
1665
|
-
}, [
|
|
1665
|
+
}, [h("div", wt, [h("b", null, w(H.value.name), 1), h("div", Tt, [(b(!0), m(d, null, S(H.value.breakdown, (e, t) => (b(), m("div", { style: y(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${M.value.style.chart.layout.legend.fontSize}px;`) }, [(b(), m("svg", Et, [h("circle", {
|
|
1666
1666
|
cx: "10",
|
|
1667
1667
|
cy: "10",
|
|
1668
1668
|
r: "10",
|
|
1669
1669
|
fill: e.color,
|
|
1670
1670
|
stroke: "none"
|
|
1671
|
-
}, null, 8, Dt)])),
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1671
|
+
}, null, 8, Dt)])), h("span", null, [
|
|
1672
|
+
Ae(w(e.name) + ": ", 1),
|
|
1673
|
+
h("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
|
+
Ae(" (" + w((e.proportionToBranch * 100).toFixed(M.value.style.chart.layout.nuts.selected.labels.roundingPercentage)) + "%)", 1)
|
|
1675
1675
|
])], 4))), 256))])])], 8, Ct)),
|
|
1676
|
-
|
|
1676
|
+
h("circle", {
|
|
1677
1677
|
cx: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
|
|
1678
1678
|
cy: H.value.y1 + F.value.branchSize / 2,
|
|
1679
1679
|
r: 256,
|
|
@@ -1681,7 +1681,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1681
1681
|
onClick: J,
|
|
1682
1682
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1683
1683
|
}, null, 10, Ot),
|
|
1684
|
-
(b(!0),
|
|
1684
|
+
(b(!0), m(d, null, S(U.value, (e) => (b(), m("g", null, [Er(e) ? (b(), m("path", {
|
|
1685
1685
|
key: 0,
|
|
1686
1686
|
d: T(re)(e, {
|
|
1687
1687
|
x: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
|
|
@@ -1693,8 +1693,8 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1693
1693
|
"stroke-linejoin": "round",
|
|
1694
1694
|
fill: "none",
|
|
1695
1695
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1696
|
-
}, null, 10, kt)) :
|
|
1697
|
-
|
|
1696
|
+
}, null, 10, kt)) : p("", !0)]))), 256)),
|
|
1697
|
+
h("circle", {
|
|
1698
1698
|
cx: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
|
|
1699
1699
|
cy: H.value.y1 + F.value.branchSize / 2,
|
|
1700
1700
|
r: 118,
|
|
@@ -1702,7 +1702,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1702
1702
|
onClick: J,
|
|
1703
1703
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1704
1704
|
}, null, 10, At),
|
|
1705
|
-
(b(!0),
|
|
1705
|
+
(b(!0), m(d, null, S(U.value, (e) => (b(), m("path", {
|
|
1706
1706
|
d: e.path,
|
|
1707
1707
|
stroke: e.color,
|
|
1708
1708
|
"stroke-width": 64,
|
|
@@ -1710,7 +1710,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1710
1710
|
onClick: J,
|
|
1711
1711
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1712
1712
|
}, null, 10, jt))), 256)),
|
|
1713
|
-
|
|
1713
|
+
h("circle", {
|
|
1714
1714
|
cx: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
|
|
1715
1715
|
cy: H.value.y1 + F.value.branchSize / 2,
|
|
1716
1716
|
r: 110,
|
|
@@ -1718,7 +1718,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1718
1718
|
onClick: J,
|
|
1719
1719
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1720
1720
|
}, null, 10, Mt),
|
|
1721
|
-
|
|
1721
|
+
h("circle", {
|
|
1722
1722
|
cx: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
|
|
1723
1723
|
cy: H.value.y1 + F.value.branchSize / 2,
|
|
1724
1724
|
r: 64,
|
|
@@ -1726,7 +1726,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1726
1726
|
onClick: J,
|
|
1727
1727
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1728
1728
|
}, null, 10, Nt),
|
|
1729
|
-
|
|
1729
|
+
h("text", {
|
|
1730
1730
|
x: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
|
|
1731
1731
|
y: H.value.y1 + 8,
|
|
1732
1732
|
fill: M.value.style.chart.layout.nuts.selected.labels.core.total.color,
|
|
@@ -1736,7 +1736,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1736
1736
|
onClick: J,
|
|
1737
1737
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1738
1738
|
}, w(M.value.translations.total), 11, Pt),
|
|
1739
|
-
|
|
1739
|
+
h("text", {
|
|
1740
1740
|
x: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
|
|
1741
1741
|
y: H.value.y1 + 36,
|
|
1742
1742
|
fill: M.value.style.chart.layout.nuts.selected.labels.core.value.color,
|
|
@@ -1745,46 +1745,46 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1745
1745
|
"text-anchor": "middle",
|
|
1746
1746
|
onClick: J,
|
|
1747
1747
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1748
|
-
}, w(T(
|
|
1748
|
+
}, w(T(u)(M.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter, H.value.value, T(c)({
|
|
1749
1749
|
p: M.value.style.chart.layout.nuts.selected.labels.core.value.prefix,
|
|
1750
1750
|
v: H.value.value,
|
|
1751
1751
|
s: M.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
|
|
1752
1752
|
r: M.value.style.chart.layout.nuts.selected.roundingValue
|
|
1753
1753
|
}), { datapoint: H.value })), 11, Ft),
|
|
1754
|
-
(b(!0),
|
|
1754
|
+
(b(!0), m(d, null, S(U.value, (e, t) => (b(), m("g", null, [Er(e) ? (b(), m("text", {
|
|
1755
1755
|
key: 0,
|
|
1756
|
-
x: T(
|
|
1757
|
-
"text-anchor": T(
|
|
1758
|
-
y: T(
|
|
1756
|
+
x: T(l)(e).x,
|
|
1757
|
+
"text-anchor": T(l)(e).anchor,
|
|
1758
|
+
y: T(oe)(e) - M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 6,
|
|
1759
1759
|
fill: e.color,
|
|
1760
1760
|
"font-size": M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 2,
|
|
1761
1761
|
style: y(`font-weight:${M.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1762
1762
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1763
|
-
}, " ⬤ ", 14, It)) :
|
|
1763
|
+
}, " ⬤ ", 14, It)) : p("", !0), Er(e) ? (b(), m("text", {
|
|
1764
1764
|
key: 1,
|
|
1765
|
-
x: T(
|
|
1766
|
-
"text-anchor": T(
|
|
1767
|
-
y: T(
|
|
1765
|
+
x: T(l)(e, !0).x,
|
|
1766
|
+
"text-anchor": T(l)(e, !0).anchor,
|
|
1767
|
+
y: T(oe)(e),
|
|
1768
1768
|
fill: M.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
1769
1769
|
"font-size": M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1770
1770
|
style: y(`font-weight:${M.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1771
1771
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1772
|
-
}, w(H.value.breakdown[t].name), 15, Lt)) :
|
|
1773
|
-
(b(!0),
|
|
1774
|
-
Er(e) ? (b(),
|
|
1772
|
+
}, w(H.value.breakdown[t].name), 15, Lt)) : p("", !0)]))), 256)),
|
|
1773
|
+
(b(!0), m(d, null, S(U.value, (e, t) => (b(), m("g", null, [
|
|
1774
|
+
Er(e) ? (b(), m("text", {
|
|
1775
1775
|
key: 0,
|
|
1776
|
-
x: T(
|
|
1777
|
-
"text-anchor": T(
|
|
1778
|
-
y: T(
|
|
1776
|
+
x: T(l)(e, !0).x,
|
|
1777
|
+
"text-anchor": T(l)(e).anchor,
|
|
1778
|
+
y: T(oe)(e) + M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1779
1779
|
fill: M.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
1780
1780
|
"font-size": M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1781
1781
|
style: y(`font-weight:${M.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1782
1782
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1783
|
-
}, w(T(
|
|
1783
|
+
}, w(T(c)({
|
|
1784
1784
|
v: H.value.breakdown[t].value / H.value.value * 100,
|
|
1785
1785
|
s: "%",
|
|
1786
1786
|
r: M.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
1787
|
-
})) + " " + w(M.value.translations.of) + " " + w(H.value.breakdown[t].branchName) + " " + w(T(
|
|
1787
|
+
})) + " " + w(M.value.translations.of) + " " + w(H.value.breakdown[t].branchName) + " " + w(T(u)(M.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter, H.value.breakdown[t].value, T(c)({
|
|
1788
1788
|
p: M.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix,
|
|
1789
1789
|
v: H.value.breakdown[t].value,
|
|
1790
1790
|
s: M.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
|
|
@@ -1792,39 +1792,39 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1792
1792
|
}), {
|
|
1793
1793
|
datapoint: U.value,
|
|
1794
1794
|
seriesIndex: t
|
|
1795
|
-
})), 15, Rt)) :
|
|
1796
|
-
Er(e) ? (b(),
|
|
1795
|
+
})), 15, Rt)) : p("", !0),
|
|
1796
|
+
Er(e) ? (b(), m("text", {
|
|
1797
1797
|
key: 1,
|
|
1798
|
-
x: T(
|
|
1799
|
-
"text-anchor": T(
|
|
1800
|
-
y: T(
|
|
1798
|
+
x: T(l)(e, !0).x,
|
|
1799
|
+
"text-anchor": T(l)(e).anchor,
|
|
1800
|
+
y: T(oe)(e) + M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
|
|
1801
1801
|
fill: M.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
1802
1802
|
"font-size": M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1803
1803
|
style: y(`font-weight:${M.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1804
1804
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1805
|
-
}, w(T(
|
|
1805
|
+
}, w(T(c)({
|
|
1806
1806
|
v: H.value.breakdown[t].proportionToRoot * 100,
|
|
1807
1807
|
s: "%",
|
|
1808
1808
|
r: M.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
1809
|
-
})) + " " + w(M.value.translations.of) + " " + w(H.value.breakdown[t].rootName), 15, zt)) :
|
|
1810
|
-
Er(e) ? (b(),
|
|
1809
|
+
})) + " " + w(M.value.translations.of) + " " + w(H.value.breakdown[t].rootName), 15, zt)) : p("", !0),
|
|
1810
|
+
Er(e) ? (b(), m("text", {
|
|
1811
1811
|
key: 2,
|
|
1812
|
-
x: T(
|
|
1813
|
-
"text-anchor": T(
|
|
1814
|
-
y: T(
|
|
1812
|
+
x: T(l)(e, !0).x,
|
|
1813
|
+
"text-anchor": T(l)(e).anchor,
|
|
1814
|
+
y: T(oe)(e) + M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
|
|
1815
1815
|
fill: M.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
1816
1816
|
"font-size": M.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1817
1817
|
style: y(`font-weight:${M.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1818
1818
|
class: _(M.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1819
|
-
}, w(T(
|
|
1819
|
+
}, w(T(c)({
|
|
1820
1820
|
v: H.value.breakdown[t].proportionToTree * 100,
|
|
1821
1821
|
s: "%",
|
|
1822
1822
|
r: M.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
1823
|
-
})) + " " + w(M.value.translations.proportionToTree), 15, Bt)) :
|
|
1823
|
+
})) + " " + w(M.value.translations.proportionToTree), 15, Bt)) : p("", !0)
|
|
1824
1824
|
]))), 256))
|
|
1825
|
-
])) :
|
|
1826
|
-
(b(!0),
|
|
1827
|
-
W.value && W.value.id === e.id && !H.value ? (b(),
|
|
1825
|
+
])) : p("", !0),
|
|
1826
|
+
(b(!0), m(d, null, S(V.value, (e) => (b(), m("g", null, [
|
|
1827
|
+
W.value && W.value.id === e.id && !H.value ? (b(), m("text", {
|
|
1828
1828
|
key: 0,
|
|
1829
1829
|
x: e.x1 + 6,
|
|
1830
1830
|
y: e.y1 + F.value.branchSize + 24,
|
|
@@ -1835,13 +1835,13 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1835
1835
|
onClick: t[8] ||= () => {
|
|
1836
1836
|
K(), $(), k.value = !1;
|
|
1837
1837
|
}
|
|
1838
|
-
}, w(e.name) + ": " + w(T(
|
|
1838
|
+
}, w(e.name) + ": " + w(T(u)(M.value.style.chart.layout.branches.labels.dataLabels.formatter, e.value, T(c)({
|
|
1839
1839
|
p: M.value.style.chart.layout.branches.labels.dataLabels.prefix,
|
|
1840
1840
|
v: e.value,
|
|
1841
1841
|
s: M.value.style.chart.layout.branches.labels.dataLabels.suffix,
|
|
1842
1842
|
r: M.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
1843
|
-
}), { datapoint: e })), 9, Vt)) :
|
|
1844
|
-
W.value && W.value.id === e.id && !H.value ? (b(),
|
|
1843
|
+
}), { datapoint: e })), 9, Vt)) : p("", !0),
|
|
1844
|
+
W.value && W.value.id === e.id && !H.value ? (b(), m("text", {
|
|
1845
1845
|
key: 1,
|
|
1846
1846
|
x: e.x1 + 6,
|
|
1847
1847
|
y: e.y1 + F.value.branchSize + 48,
|
|
@@ -1851,12 +1851,12 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1851
1851
|
onClick: t[9] ||= () => {
|
|
1852
1852
|
K(), $(), k.value = !1;
|
|
1853
1853
|
}
|
|
1854
|
-
}, w(T(
|
|
1854
|
+
}, w(T(c)({
|
|
1855
1855
|
v: e.proportionToRoot * 100,
|
|
1856
1856
|
s: "%",
|
|
1857
1857
|
r: M.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
1858
|
-
})) + " " + w(M.value.translations.of) + " " + w(e.rootName), 9, Ht)) :
|
|
1859
|
-
W.value && W.value.id === e.id && !H.value ? (b(),
|
|
1858
|
+
})) + " " + w(M.value.translations.of) + " " + w(e.rootName), 9, Ht)) : p("", !0),
|
|
1859
|
+
W.value && W.value.id === e.id && !H.value ? (b(), m("text", {
|
|
1860
1860
|
key: 2,
|
|
1861
1861
|
x: e.x1 + 6,
|
|
1862
1862
|
y: e.y1 + F.value.branchSize + 72,
|
|
@@ -1866,47 +1866,47 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1866
1866
|
onClick: t[10] ||= () => {
|
|
1867
1867
|
K(), $(), k.value = !1;
|
|
1868
1868
|
}
|
|
1869
|
-
}, w(T(
|
|
1869
|
+
}, w(T(c)({
|
|
1870
1870
|
v: e.value / L.value * 100,
|
|
1871
1871
|
s: "%",
|
|
1872
1872
|
r: M.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
1873
|
-
})) + " " + w(M.value.translations.proportionToTree), 9, Ut)) :
|
|
1873
|
+
})) + " " + w(M.value.translations.proportionToTree), 9, Ut)) : p("", !0)
|
|
1874
1874
|
]))), 256)),
|
|
1875
1875
|
C(e.$slots, "svg", { svg: {
|
|
1876
1876
|
...F.value,
|
|
1877
1877
|
isPrintingImg: T(nr) || T(rr) || T(Wr),
|
|
1878
1878
|
isPrintingSvg: T(Gr)
|
|
1879
1879
|
} }, void 0, !0)
|
|
1880
|
-
], 46, qe)) :
|
|
1881
|
-
e.$slots.watermark ? (b(),
|
|
1880
|
+
], 46, qe)) : p("", !0)]),
|
|
1881
|
+
e.$slots.watermark ? (b(), m("div", Wt, [C(e.$slots, "watermark", v(g({ isPrinting: T(nr) || T(rr) || T(Wr) || T(Gr) })), void 0, !0)])) : p("", !0),
|
|
1882
1882
|
C(e.$slots, "legend", { legend: R.value }, void 0, !0),
|
|
1883
|
-
e.$slots.source ? (b(),
|
|
1884
|
-
Hn.value && M.value.userOptions.buttons.table ? (b(),
|
|
1883
|
+
e.$slots.source ? (b(), m("div", Gt, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
1884
|
+
Hn.value && M.value.userOptions.buttons.table ? (b(), Oe(Ie(Ir.value.component), Ne({ key: 6 }, Ir.value.props, {
|
|
1885
1885
|
ref_key: "tableUnit",
|
|
1886
1886
|
ref: Gn,
|
|
1887
1887
|
onClose: Rr
|
|
1888
|
-
}),
|
|
1889
|
-
content: E(() => [
|
|
1888
|
+
}), ke({
|
|
1889
|
+
content: E(() => [h("div", {
|
|
1890
1890
|
ref_key: "tableContainer",
|
|
1891
1891
|
ref: cr,
|
|
1892
1892
|
class: "vue-ui-chestnut-table",
|
|
1893
1893
|
style: y(`${M.value.table.useDialog ? "" : "max-height: 300px;margin-top:24px"}`)
|
|
1894
|
-
}, [
|
|
1894
|
+
}, [h("div", { style: y(`${M.value.table.useDialog ? "" : "padding-top:36px;"}position: relative`) }, [M.value.table.useDialog ? p("", !0) : (b(), m("div", {
|
|
1895
1895
|
key: 0,
|
|
1896
1896
|
role: "button",
|
|
1897
1897
|
tabindex: "0",
|
|
1898
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};`),
|
|
1899
1899
|
onClick: Rr,
|
|
1900
1900
|
onKeypress: Be(Rr, ["enter"])
|
|
1901
|
-
}, [
|
|
1901
|
+
}, [je(T(Nn), {
|
|
1902
1902
|
name: "close",
|
|
1903
1903
|
stroke: M.value.table.th.color,
|
|
1904
1904
|
"stroke-width": 2
|
|
1905
|
-
}, null, 8, ["stroke"])], 36)),
|
|
1905
|
+
}, null, 8, ["stroke"])], 36)), h("div", {
|
|
1906
1906
|
style: { width: "100%" },
|
|
1907
1907
|
class: _({ "vue-ui-responsive": T(Lr) })
|
|
1908
|
-
}, [
|
|
1909
|
-
M.value.table.useDialog ?
|
|
1908
|
+
}, [h("table", Kt, [
|
|
1909
|
+
M.value.table.useDialog ? p("", !0) : (b(), m("caption", {
|
|
1910
1910
|
key: 0,
|
|
1911
1911
|
style: y({
|
|
1912
1912
|
backgroundColor: M.value.table.th.backgroundColor,
|
|
@@ -1914,12 +1914,12 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1914
1914
|
outline: M.value.table.th.outline
|
|
1915
1915
|
}),
|
|
1916
1916
|
class: "vue-ui-data-table__caption"
|
|
1917
|
-
}, [
|
|
1918
|
-
|
|
1917
|
+
}, [Ae(w(M.value.style.chart.layout.title.text) + " ", 1), M.value.style.chart.layout.title.subtitle.text ? (b(), m("span", qt, w(M.value.style.chart.layout.title.subtitle.text), 1)) : p("", !0)], 4)),
|
|
1918
|
+
h("thead", null, [h("tr", {
|
|
1919
1919
|
role: "row",
|
|
1920
1920
|
style: y(`background:${M.value.table.th.backgroundColor};color:${M.value.table.th.color}`)
|
|
1921
|
-
}, [(b(!0),
|
|
1922
|
-
|
|
1921
|
+
}, [(b(!0), m(d, null, S(Y.value.head, (e) => (b(), m("th", { style: y(`outline:${M.value.table.th.outline}`) }, w(e), 5))), 256))], 4)]),
|
|
1922
|
+
h("tbody", null, [(b(!0), m(d, null, S(Y.value.body, (e, t) => (b(), m("tr", {
|
|
1923
1923
|
class: _({
|
|
1924
1924
|
"vue-ui-data-table__tbody__row": !0,
|
|
1925
1925
|
"vue-ui-data-table__tbody__row-even": t % 2 == 0,
|
|
@@ -1927,86 +1927,86 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1927
1927
|
}),
|
|
1928
1928
|
style: y(`background:${M.value.table.td.backgroundColor};color:${M.value.table.td.color}`)
|
|
1929
1929
|
}, [
|
|
1930
|
-
|
|
1930
|
+
h("td", {
|
|
1931
1931
|
class: "vue-ui-data-table__tbody__td",
|
|
1932
1932
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
1933
1933
|
"data-cell": Y.value.head[0]
|
|
1934
|
-
}, [
|
|
1935
|
-
|
|
1934
|
+
}, [h("div", Yt, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (b(), m("span", Xt)) : (b(), m("span", Zt, w(e.rootName), 1))])], 12, Jt),
|
|
1935
|
+
h("td", {
|
|
1936
1936
|
class: "vue-ui-data-table__tbody__td",
|
|
1937
1937
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
1938
1938
|
"data-cell": Y.value.head[1]
|
|
1939
|
-
}, [
|
|
1940
|
-
|
|
1939
|
+
}, [h("div", $t, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (b(), m("span", en)) : (b(), m("span", tn, w(e.rootValue.toFixed(M.value.table.td.roundingValue)), 1))])], 12, Qt),
|
|
1940
|
+
h("td", {
|
|
1941
1941
|
class: "vue-ui-data-table__tbody__td",
|
|
1942
1942
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
1943
1943
|
"data-cell": Y.value.head[2]
|
|
1944
|
-
}, [
|
|
1945
|
-
|
|
1944
|
+
}, [h("div", rn, [Y.value.body[t - 1] && Y.value.body[t - 1].rootName === e.rootName ? (b(), m("span", an)) : (b(), m("span", on, w((e.rootToTotal * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1))])], 12, nn),
|
|
1945
|
+
h("td", {
|
|
1946
1946
|
class: "vue-ui-data-table__tbody__td",
|
|
1947
1947
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
1948
1948
|
"data-cell": Y.value.head[3]
|
|
1949
|
-
}, [
|
|
1950
|
-
|
|
1949
|
+
}, [h("div", cn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), m("span", ln)) : (b(), m("span", un, w(e.branchName), 1))])], 12, sn),
|
|
1950
|
+
h("td", {
|
|
1951
1951
|
class: "vue-ui-data-table__tbody__td",
|
|
1952
1952
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
1953
1953
|
"data-cell": Y.value.head[4]
|
|
1954
|
-
}, [
|
|
1955
|
-
|
|
1954
|
+
}, [h("div", fn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), m("span", pn)) : (b(), m("span", mn, w(e.branchValue.toFixed(M.value.table.td.roundingValue)), 1))])], 12, dn),
|
|
1955
|
+
h("td", {
|
|
1956
1956
|
class: "vue-ui-data-table__tbody__td",
|
|
1957
1957
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
1958
1958
|
"data-cell": Y.value.head[5]
|
|
1959
|
-
}, [
|
|
1960
|
-
|
|
1959
|
+
}, [h("div", gn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), m("span", _n)) : (b(), m("span", vn, w((e.branchToRoot * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1))])], 12, hn),
|
|
1960
|
+
h("td", {
|
|
1961
1961
|
class: "vue-ui-data-table__tbody__td",
|
|
1962
1962
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
1963
1963
|
"data-cell": Y.value.head[6]
|
|
1964
|
-
}, [
|
|
1965
|
-
|
|
1964
|
+
}, [h("div", bn, [Y.value.body[t - 1] && Y.value.body[t - 1].branchName === e.branchName ? (b(), m("span", xn)) : (b(), m("span", Sn, w((e.branchToTotal * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1))])], 12, yn),
|
|
1965
|
+
h("td", {
|
|
1966
1966
|
class: "vue-ui-data-table__tbody__td",
|
|
1967
1967
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
1968
1968
|
"data-cell": Y.value.head[7]
|
|
1969
|
-
}, [
|
|
1970
|
-
|
|
1969
|
+
}, [h("div", wn, w(e.nutName), 1)], 12, Cn),
|
|
1970
|
+
h("td", {
|
|
1971
1971
|
class: "vue-ui-data-table__tbody__td",
|
|
1972
1972
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
1973
1973
|
"data-cell": Y.value.head[8]
|
|
1974
|
-
}, [
|
|
1975
|
-
|
|
1974
|
+
}, [h("div", En, w(e.nutValue.toFixed(M.value.table.td.roundingValue)), 1)], 12, Tn),
|
|
1975
|
+
h("td", {
|
|
1976
1976
|
class: "vue-ui-data-table__tbody__td",
|
|
1977
1977
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
1978
1978
|
"data-cell": Y.value.head[9]
|
|
1979
|
-
}, [
|
|
1980
|
-
|
|
1979
|
+
}, [h("div", On, w((e.nutToBranch * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1)], 12, Dn),
|
|
1980
|
+
h("td", {
|
|
1981
1981
|
class: "vue-ui-data-table__tbody__td",
|
|
1982
1982
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
1983
1983
|
"data-cell": Y.value.head[10]
|
|
1984
|
-
}, [
|
|
1985
|
-
|
|
1984
|
+
}, [h("div", An, w((e.nutToRoot * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1)], 12, kn),
|
|
1985
|
+
h("td", {
|
|
1986
1986
|
class: "vue-ui-data-table__tbody__td",
|
|
1987
1987
|
style: y(`outline:${M.value.table.td.outline}`),
|
|
1988
1988
|
"data-cell": Y.value.head[11]
|
|
1989
|
-
}, [
|
|
1989
|
+
}, [h("div", Mn, w((e.nutToTotal * 100).toFixed(M.value.table.td.roundingPercentage)) + "% ", 1)], 12, jn)
|
|
1990
1990
|
], 6))), 256))])
|
|
1991
1991
|
])], 2)], 4)], 4)]),
|
|
1992
1992
|
_: 2
|
|
1993
1993
|
}, [M.value.table.useDialog ? {
|
|
1994
1994
|
name: "title",
|
|
1995
|
-
fn: E(() => [
|
|
1995
|
+
fn: E(() => [Ae(w(Ir.value.title), 1)]),
|
|
1996
1996
|
key: "0"
|
|
1997
1997
|
} : void 0, M.value.table.useDialog ? {
|
|
1998
1998
|
name: "actions",
|
|
1999
|
-
fn: E(() => [
|
|
1999
|
+
fn: E(() => [h("button", {
|
|
2000
2000
|
tabindex: "0",
|
|
2001
2001
|
class: "vue-ui-user-options-button",
|
|
2002
2002
|
onClick: t[11] ||= (e) => Or(M.value.userOptions.callbacks.csv)
|
|
2003
|
-
}, [
|
|
2003
|
+
}, [je(T(Nn), {
|
|
2004
2004
|
name: "fileCsv",
|
|
2005
2005
|
stroke: Ir.value.props.color
|
|
2006
2006
|
}, null, 8, ["stroke"])])]),
|
|
2007
2007
|
key: "1"
|
|
2008
|
-
} : void 0]), 1040)) :
|
|
2009
|
-
C(e.$slots, "skeleton", {}, () => [T(Yn) ? (b(),
|
|
2008
|
+
} : void 0]), 1040)) : p("", !0),
|
|
2009
|
+
C(e.$slots, "skeleton", {}, () => [T(Yn) ? (b(), Oe(ge, { key: 0 })) : p("", !0)], !0)
|
|
2010
2010
|
], 46, He));
|
|
2011
2011
|
}
|
|
2012
2012
|
}, [["__scopeId", "data-v-92e64679"]]);
|