vue-data-ui 3.23.9 → 3.23.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -40
- package/dist/{Arrow-CF0VFcBH.js → Arrow-DrF4NNJO.js} +1 -1
- package/dist/{BaseDraggableDialog-LoqqwRtV.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
- package/dist/{BaseIcon-BfndwIWE.js → BaseIcon-BbElSC8_.js} +1 -1
- package/dist/{BaseLegendToggle-DZVucLnv.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
- package/dist/{BaseZoomControls-BZvCnZEi.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
- package/dist/{ColorPicker--ayG2YHf.js → ColorPicker-ChOgAmCi.js} +2 -2
- package/dist/{DataTable-BbKgJ5UI.js → DataTable-CmyEubtT.js} +2 -2
- package/dist/{HillActions-BD9j_sOU.js → HillActions-3HneGJhS.js} +1 -1
- package/dist/{Legend-CQxUgOd-.js → Legend-BJtY2RA9.js} +2 -2
- package/dist/{NonSvgPenAndPaper-4ypecDg1.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
- package/dist/{PackageVersion-B629oKuX.js → PackageVersion-C0b7KAMa.js} +1 -1
- package/dist/{PenAndPaper-C0UZ74fa.js → PenAndPaper-CIa1F5Jq.js} +3 -3
- package/dist/{Shape-C21CMlWS.js → Shape-BAL5bQmA.js} +1 -1
- package/dist/{SlicerPreview-wUw1hFwe.js → SlicerPreview-BRRyc1p7.js} +426 -426
- package/dist/{SparkTooltip-CjsbIhzi.js → SparkTooltip-Bou05CV_.js} +1 -1
- package/dist/{Title-BE3qg9xl.js → Title-CaVA8EIw.js} +1 -1
- package/dist/{Tooltip-DhjyfHwz.js → Tooltip-CVxJe3UW.js} +1 -1
- package/dist/{UserOptions-Dt98of5H.js → UserOptions-WH7-49V0.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/{dom-to-png-BYIvdTe8.js → dom-to-png-COvyU2SG.js} +1 -1
- package/dist/exposedLib-DrUEXSyf.js +28 -0
- package/dist/{img-Bnokohej.js → img-Bkzj3lDD.js} +1 -1
- package/dist/{labelUtils-BeVpDvTJ.js → labelUtils-iX76cA2-.js} +1 -1
- package/dist/{lib-Bttd6u5E.js → lib-Dqr_-I6Y.js} +166 -163
- package/dist/{package-C01DAl-Z.js → package-D7_0M69J.js} +1 -1
- package/dist/{pdf-CVIDfCrS.js → pdf-Bk_9lTdQ.js} +1 -1
- package/dist/{render-common-Dv5BvuwZ.js → render-common-B0f5NTO9.js} +12 -12
- 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 +13 -2
- package/dist/types/vue-ui-dag.d.ts +2 -0
- package/dist/{useNestedProp-vPNvh7rV.js → useNestedProp-CulPqtou.js} +1 -1
- package/dist/{usePrinter-DN5bYhTG.js → usePrinter-CEiH1b6R.js} +2 -2
- package/dist/utils.js +9 -9
- package/dist/{vue-data-ui-DDZLOx_v.js → vue-data-ui-BlZHZHoH.js} +69 -69
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-C9Y9Uklb.js → vue-ui-3d-bar-CtT2BovY.js} +379 -381
- package/dist/{vue-ui-accordion-CLU_su1P.js → vue-ui-accordion-C6L7glHU.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D98P16h3.js → vue-ui-age-pyramid-BhGNgnLB.js} +27 -27
- package/dist/{vue-ui-annotator-QjHngrui.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
- package/dist/vue-ui-bullet-BI7KJyJx.js +700 -0
- package/dist/{vue-ui-bump-BP7UOMFX.js → vue-ui-bump-BCQ97z1G.js} +325 -325
- package/dist/{vue-ui-candlestick-XPQeeduK.js → vue-ui-candlestick-Cs7I5MQS.js} +245 -245
- package/dist/{vue-ui-carousel-table-D39rMqRb.js → vue-ui-carousel-table-CDjAjc4b.js} +108 -108
- package/dist/{vue-ui-chestnut-B0xezYHS.js → vue-ui-chestnut-d6GxjfcP.js} +86 -86
- package/dist/vue-ui-chord-BuConnPN.js +1345 -0
- package/dist/vue-ui-circle-pack-CmxANHap.js +1633 -0
- package/dist/{vue-ui-cursor-JXCd2JAw.js → vue-ui-cursor-CQcnZYBv.js} +3 -3
- package/dist/{vue-ui-dag-D42c5rJN.js → vue-ui-dag-DKUZN-aQ.js} +923 -885
- package/dist/{vue-ui-dashboard-9-9eUWEy.js → vue-ui-dashboard-ciI4wMe6.js} +69 -69
- package/dist/{vue-ui-digits-CCkSVNpz.js → vue-ui-digits-DWf1vzYE.js} +3 -3
- package/dist/{vue-ui-donut-BnVCS9Ll.js → vue-ui-donut-CvCViwSI.js} +64 -64
- package/dist/vue-ui-donut-DZTtuFAG.js +2413 -0
- package/dist/{vue-ui-donut-evolution-CgjBE6EG.js → vue-ui-donut-evolution-BvZX3Gi8.js} +347 -347
- package/dist/{vue-ui-dumbbell-CVX2tGDU.js → vue-ui-dumbbell-BZywCpHd.js} +233 -236
- package/dist/vue-ui-flow-D5jcKr_S.js +1214 -0
- package/dist/vue-ui-funnel-7zX5QnQx.js +747 -0
- package/dist/{vue-ui-galaxy-CThLjvdQ.js → vue-ui-galaxy-BuGd-Ojm.js} +323 -325
- package/dist/vue-ui-gauge-BlDQIpBk.js +932 -0
- package/dist/{vue-ui-geo-DwNCnH_W.js → vue-ui-geo-PWGZw4Un.js} +34 -34
- package/dist/{vue-ui-gizmo-BkQUnPvN.js → vue-ui-gizmo-CTxB3PAl.js} +10 -10
- package/dist/{vue-ui-heatmap-COX6rafn.js → vue-ui-heatmap-sFF5IbM8.js} +472 -472
- package/dist/{vue-ui-hill-7BisXEYH.js → vue-ui-hill-DO3r2s-i.js} +10 -10
- package/dist/vue-ui-history-plot-Cj-Olvhn.js +1695 -0
- package/dist/vue-ui-horizontal-bar-B34aYuDZ.js +1708 -0
- package/dist/{vue-ui-kpi-R9bl7je_.js → vue-ui-kpi-Co6y1YlE.js} +3 -3
- package/dist/{vue-ui-mini-loader-SNMKnmMa.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
- package/dist/{vue-ui-molecule-CNtY2_yF.js → vue-ui-molecule-ERAB4YzZ.js} +157 -163
- package/dist/{vue-ui-mood-radar-DUxhOQpR.js → vue-ui-mood-radar-BPp7L6OP.js} +302 -304
- package/dist/{vue-ui-nested-donuts-Bbub_wCe.js → vue-ui-nested-donuts-CX5ut2yp.js} +110 -113
- package/dist/vue-ui-onion-CWYJTUCq.js +1233 -0
- package/dist/vue-ui-parallel-coordinate-plot-DJrV-dVt.js +1430 -0
- package/dist/{vue-ui-quadrant-CFvonilu.js → vue-ui-quadrant-wj8Up03L.js} +32 -32
- package/dist/{vue-ui-quick-chart-iEJt6333.js → vue-ui-quick-chart-CPYdScHL.js} +153 -153
- package/dist/{vue-ui-radar-ClZ_OIr5.js → vue-ui-radar-D3gLQcI5.js} +41 -41
- package/dist/{vue-ui-rating-BnXrMeGg.js → vue-ui-rating-dBCk6ECe.js} +26 -26
- package/dist/vue-ui-relation-circle-DeNBOPjz.js +903 -0
- package/dist/vue-ui-ridgeline-DQcZJ_hv.js +1614 -0
- package/dist/vue-ui-rings-CF9NfFW2.js +1250 -0
- package/dist/vue-ui-scatter-U_xxKOte.js +2403 -0
- package/dist/{vue-ui-skeleton-Drk48XZi.js → vue-ui-skeleton-GA4wzjXV.js} +3 -3
- package/dist/{vue-ui-smiley-BQuXRW4o.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
- package/dist/{vue-ui-spark-trend-CYcS6-FN.js → vue-ui-spark-trend-BXRGMn5-.js} +23 -23
- package/dist/{vue-ui-sparkbar-eqLrT50j.js → vue-ui-sparkbar-96D0eR-o.js} +24 -24
- package/dist/{vue-ui-sparkgauge-C_b1h4DY.js → vue-ui-sparkgauge-BWBek2u2.js} +61 -61
- package/dist/{vue-ui-sparkhistogram-BzJr83-i.js → vue-ui-sparkhistogram-Cqs068RX.js} +15 -15
- package/dist/vue-ui-sparkline-B8cyY_P1.js +1584 -0
- package/dist/{vue-ui-sparkstackbar-O6Ojc2m8.js → vue-ui-sparkstackbar-C0BkLc2b.js} +207 -207
- package/dist/vue-ui-stackbar-DtsOc7B_.js +2332 -0
- package/dist/{vue-ui-stackline-D7d_Yqid.js → vue-ui-stackline-MSs0pdhE.js} +751 -747
- package/dist/{vue-ui-strip-plot-AljSBqsw.js → vue-ui-strip-plot-Df-TomML.js} +63 -66
- package/dist/vue-ui-table-BKSRQGVK.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DRABMw2H.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
- package/dist/{vue-ui-table-sparkline-OScDr7Z5.js → vue-ui-table-sparkline-B7Dh-fN2.js} +11 -11
- package/dist/vue-ui-thermometer-DXuLn8NC.js +756 -0
- package/dist/{vue-ui-timer--q-f8RPJ.js → vue-ui-timer-orCjVwS4.js} +12 -12
- package/dist/{vue-ui-tiremarks-B2Fji5g0.js → vue-ui-tiremarks-DNoQ6Fl2.js} +12 -12
- package/dist/{vue-ui-treemap-CHqCU3Mt.js → vue-ui-treemap-90_Clj0e.js} +51 -54
- package/dist/vue-ui-waffle-BSQXyJ1S.js +1610 -0
- package/dist/{vue-ui-wheel-Dz2QzZcJ.js → vue-ui-wheel-CfU0Nnn0.js} +28 -28
- package/dist/{vue-ui-word-cloud-DBp8kZ4A.js → vue-ui-word-cloud-AgMvmPlI.js} +38 -41
- package/dist/{vue-ui-world-DbYSOiC4.js → vue-ui-world-D0Z9B6M2.js} +120 -123
- package/dist/{vue-ui-xy-C23skZ-G.js → vue-ui-xy-5Te2TfRK.js} +1645 -1641
- package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
- package/dist/{vue-ui-xy-CrHCmWhv.js → vue-ui-xy-ua_mFu_a.js} +99 -99
- package/package.json +1 -1
- package/dist/exposedLib-C0DPCgFj.js +0 -28
- package/dist/vue-ui-bullet-GgRg9sbN.js +0 -700
- package/dist/vue-ui-chord-eOIKOfDO.js +0 -1345
- package/dist/vue-ui-circle-pack-kCN1R-pw.js +0 -1636
- package/dist/vue-ui-donut-HrEXYDqO.js +0 -2415
- package/dist/vue-ui-flow-R-fW_EeT.js +0 -1217
- package/dist/vue-ui-funnel-CT3ixpCM.js +0 -750
- package/dist/vue-ui-gauge-DRXsVxYq.js +0 -932
- package/dist/vue-ui-history-plot-Bn_M0AFg.js +0 -1698
- package/dist/vue-ui-horizontal-bar-CkRRidx3.js +0 -1708
- package/dist/vue-ui-onion-Bix9MN3w.js +0 -1233
- package/dist/vue-ui-parallel-coordinate-plot-6SI2vJOo.js +0 -1430
- package/dist/vue-ui-relation-circle-CZ68uWhc.js +0 -903
- package/dist/vue-ui-ridgeline-BSiPLA08.js +0 -1614
- package/dist/vue-ui-rings-mGN_bpo1.js +0 -1252
- package/dist/vue-ui-scatter-C0PouRMY.js +0 -2403
- package/dist/vue-ui-sparkline-CyJKVGYw.js +0 -1584
- package/dist/vue-ui-stackbar-J5QzbBaA.js +0 -2328
- package/dist/vue-ui-table-CBdCPS2r.js +0 -1352
- package/dist/vue-ui-thermometer-DWmM_Hn9.js +0 -756
- package/dist/vue-ui-waffle-C1ksX6OD.js +0 -1612
- package/dist/vue-ui-xy-canvas-B-KxaFGF.js +0 -1819
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
2
|
+
import { $ as t, D as n, Ht as r, It as i, Jt as a, Nt as o, S as ee, Ut as te, X as s, Xt as ne, f as c, h as re, i as l, jt as ie, mt as ae, nt as oe, p as se, q as ce, r as le, t as ue, w as de } from "./lib-Dqr_-I6Y.js";
|
|
3
3
|
import { n as fe, t as pe } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as me } from "./useConfig-DwdGsXTx.js";
|
|
5
|
-
import { t as he } from "./usePrinter-
|
|
5
|
+
import { t as he } from "./usePrinter-CEiH1b6R.js";
|
|
6
6
|
import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as ve } from "./useNestedProp-
|
|
7
|
+
import { t as ve } from "./useNestedProp-CulPqtou.js";
|
|
8
8
|
import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as be } from "./useChartExport-DNiwdPmb.js";
|
|
10
|
-
import { t as xe } from "./img-
|
|
10
|
+
import { t as xe } from "./img-Bkzj3lDD.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";
|
|
@@ -360,7 +360,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
360
360
|
],
|
|
361
361
|
setup(e, { expose: Se, emit: Ve }) {
|
|
362
362
|
Re((e) => ({ v442dd34a: e.tdo }));
|
|
363
|
-
let Nn = Me(() => import("./BaseIcon-
|
|
363
|
+
let Nn = Me(() => import("./BaseIcon-BbElSC8_.js").then((e) => e.n)), Pn = Me(() => import("./vue-ui-accordion-C6L7glHU.js").then((e) => e.n)), Fn = Me(() => import("./PenAndPaper-CIa1F5Jq.js").then((e) => e.t)), In = Me(() => import("./UserOptions-WH7-49V0.js").then((e) => e.n)), Ln = Me(() => import("./PackageVersion-C0b7KAMa.js").then((e) => e.t)), Rn = Me(() => import("./BaseDraggableDialog-Dr_Q6Yt5.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(ce()), 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,
|
|
@@ -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), Jn = d(() =>
|
|
394
|
+
let N = d(() => M.value.userOptions.useCursorPointer), Jn = d(() => ne({
|
|
395
395
|
defaultConfig: {
|
|
396
396
|
userOptions: { show: !1 },
|
|
397
397
|
table: { show: !1 },
|
|
@@ -535,7 +535,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
535
535
|
}
|
|
536
536
|
]
|
|
537
537
|
}],
|
|
538
|
-
skeletonConfig:
|
|
538
|
+
skeletonConfig: ne({
|
|
539
539
|
defaultConfig: M.value,
|
|
540
540
|
userConfig: Jn.value
|
|
541
541
|
})
|
|
@@ -556,7 +556,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
556
556
|
});
|
|
557
557
|
return {
|
|
558
558
|
...r,
|
|
559
|
-
customPalette: r.customPalette.length ? r.customPalette : a[t] ||
|
|
559
|
+
customPalette: r.customPalette.length ? r.customPalette : a[t] || i
|
|
560
560
|
};
|
|
561
561
|
}
|
|
562
562
|
ze(() => D.config, (e) => {
|
|
@@ -591,33 +591,33 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
591
591
|
height: F.value.height - (F.value.padding.top + F.value.padding.bottom),
|
|
592
592
|
seedX: F.value.padding.left + 64
|
|
593
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
|
+
ae({
|
|
595
595
|
datasetObject: e,
|
|
596
596
|
requiredAttributes: ["name", "branches"]
|
|
597
597
|
}).forEach((e) => {
|
|
598
|
-
|
|
598
|
+
oe({
|
|
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
|
+
ae({
|
|
606
606
|
datasetObject: e,
|
|
607
607
|
requiredAttributes: ["name", "value"]
|
|
608
608
|
}).forEach((e) => {
|
|
609
|
-
|
|
609
|
+
oe({
|
|
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
|
+
ae({
|
|
617
617
|
datasetObject: e,
|
|
618
618
|
requiredAttributes: ["name", "value"]
|
|
619
619
|
}).forEach((e) => {
|
|
620
|
-
|
|
620
|
+
oe({
|
|
621
621
|
componentName: "VueUiChestnut",
|
|
622
622
|
type: "datasetSerieAttribute",
|
|
623
623
|
property: e,
|
|
@@ -630,21 +630,21 @@ 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: ee(e.color) || sr.value[t] ||
|
|
633
|
+
color: ee(e.color) || sr.value[t] || i[t] || i[t % i.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((r,
|
|
638
|
+
branches: (e.branches || []).map((r, a) => ({
|
|
639
639
|
...r,
|
|
640
640
|
rootName: e.name,
|
|
641
641
|
rootIndex: t,
|
|
642
|
-
color: ee(e.color) || sr.value[t] ||
|
|
642
|
+
color: ee(e.color) || sr.value[t] || i[t] || i[t % i.length],
|
|
643
643
|
value: r.value >= 0 ? r.value : 0,
|
|
644
|
-
id: r.id || `branch_${t}_${
|
|
644
|
+
id: r.id || `branch_${t}_${a}_${O.value}`,
|
|
645
645
|
proportionToRoot: r.value / n,
|
|
646
646
|
type: "branch",
|
|
647
|
-
breakdown: (r.breakdown || []).map((
|
|
647
|
+
breakdown: (r.breakdown || []).map((o, te) => ({
|
|
648
648
|
table: {
|
|
649
649
|
rootName: e.name,
|
|
650
650
|
rootValue: n,
|
|
@@ -653,24 +653,24 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
653
653
|
branchValue: r.value,
|
|
654
654
|
branchToTotal: r.value / L.value,
|
|
655
655
|
branchToRoot: r.value / n,
|
|
656
|
-
nutName:
|
|
657
|
-
nutValue:
|
|
658
|
-
nutToTotal:
|
|
659
|
-
nutToRoot:
|
|
660
|
-
nutToBranch:
|
|
656
|
+
nutName: o.name,
|
|
657
|
+
nutValue: o.value,
|
|
658
|
+
nutToTotal: o.value / L.value,
|
|
659
|
+
nutToRoot: o.value / n,
|
|
660
|
+
nutToBranch: o.value / r.value
|
|
661
661
|
},
|
|
662
|
-
...
|
|
662
|
+
...o,
|
|
663
663
|
type: "nut",
|
|
664
664
|
branchName: r.name,
|
|
665
665
|
rootName: e.name,
|
|
666
666
|
branchTotal: r.value >= 0 ? r.value : 0,
|
|
667
|
-
proportionToBranch:
|
|
668
|
-
proportionToRoot:
|
|
669
|
-
proportionToTree:
|
|
667
|
+
proportionToBranch: o.value / r.value,
|
|
668
|
+
proportionToRoot: o.value / n,
|
|
669
|
+
proportionToTree: o.value / L.value,
|
|
670
670
|
rootIndex: t,
|
|
671
|
-
id:
|
|
672
|
-
color: ee(
|
|
673
|
-
value:
|
|
671
|
+
id: o.id || `nut_${t}_${a}_${te}_${O.value}`,
|
|
672
|
+
color: ee(o.color) || sr.value[te] || i[te] || i[te % i.length],
|
|
673
|
+
value: o.value >= 0 ? o.value : 0
|
|
674
674
|
}))
|
|
675
675
|
}))
|
|
676
676
|
};
|
|
@@ -678,21 +678,21 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
678
678
|
function dr() {
|
|
679
679
|
return R.value;
|
|
680
680
|
}
|
|
681
|
-
let
|
|
682
|
-
let n = I.value.height / R.value.length / 2, r = e.total /
|
|
681
|
+
let z = Ve, fr = d(() => R.value.flatMap((e) => e.branches).length), pr = d(() => Math.max(...R.value.map((e) => e.branches.map((e) => e.value).reduce((e, t) => e + t, 0)))), mr = d(() => Math.max(...R.value.flatMap((e) => e.branches.map((e) => e.value)))), hr = d(() => 256 + F.value.padding.left), B = d(() => R.value.sort((e, t) => t.total - e.total).map((e, t) => {
|
|
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,
|
|
685
685
|
x: I.value.seedX,
|
|
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
|
-
})),
|
|
689
|
+
})), gr = 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), _r = d(() => B.value.flatMap((e) => e.branches)), V = d(() => _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
|
-
x1:
|
|
694
|
-
x2: 384 * e.value /
|
|
695
|
-
}))),
|
|
693
|
+
x1: hr.value,
|
|
694
|
+
x2: 384 * e.value / mr.value * gr.value + hr.value
|
|
695
|
+
}))), vr = d(() => B.value), yr = d(() => vr.value.map((e) => V.value.filter((t) => t.rootIndex === e.rootIndex).sort((e, t) => e.y1 - t.y1))), br = d(() => 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,
|
|
@@ -702,7 +702,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
702
702
|
rootName: e.rootName
|
|
703
703
|
})))));
|
|
704
704
|
function xr(e) {
|
|
705
|
-
let t =
|
|
705
|
+
let t = B.value.find((t) => t.rootIndex === e.rootIndex);
|
|
706
706
|
return {
|
|
707
707
|
x: t.x,
|
|
708
708
|
y: t.y,
|
|
@@ -726,24 +726,24 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
726
726
|
}
|
|
727
727
|
function Sr(e) {
|
|
728
728
|
K();
|
|
729
|
-
let t =
|
|
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
731
|
H.value = e, W.value = e, U.value = ie({
|
|
732
732
|
series: e.breakdown,
|
|
733
733
|
base: 1
|
|
734
|
-
}, 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), z("selectNut", e.breakdown), Q();
|
|
735
735
|
});
|
|
736
736
|
}
|
|
737
737
|
function J() {
|
|
738
|
-
H.value = null, U.value = null,
|
|
738
|
+
H.value = null, U.value = null, z("selectNut", null);
|
|
739
739
|
}
|
|
740
740
|
function Cr(e) {
|
|
741
|
-
let t =
|
|
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(),
|
|
741
|
+
let t = vr.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(), z("selectBranch", null), Q()) : (K(), W.value = e, z("selectBranch", e), Q());
|
|
743
743
|
}
|
|
744
744
|
function wr(e) {
|
|
745
|
-
let t =
|
|
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(),
|
|
745
|
+
let t = vr.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(), z("selectRoot", null), Q()) : (K(), G.value = e, z("selectRoot", e), Q());
|
|
747
747
|
}
|
|
748
748
|
function Tr() {
|
|
749
749
|
return I.value.bottom - (H.value.y1 + 180) < 0 ? 0 : I.value.bottom;
|
|
@@ -755,12 +755,12 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
755
755
|
Dr();
|
|
756
756
|
});
|
|
757
757
|
function Dr() {
|
|
758
|
-
|
|
758
|
+
o(D.dataset) && oe({
|
|
759
759
|
componentName: "VueUiChestnut",
|
|
760
760
|
type: "dataset",
|
|
761
761
|
debug: ur.value
|
|
762
762
|
});
|
|
763
|
-
let e =
|
|
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
766
|
let Y = d(() => ({
|
|
@@ -782,7 +782,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
782
782
|
}));
|
|
783
783
|
function Or(e = null) {
|
|
784
784
|
Pe(() => {
|
|
785
|
-
let
|
|
785
|
+
let r = [
|
|
786
786
|
[M.value.style.chart.layout.title.text],
|
|
787
787
|
[M.value.style.chart.layout.title.subtitle.text],
|
|
788
788
|
[""],
|
|
@@ -801,7 +801,7 @@ 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 =
|
|
804
|
+
]), o = r.concat([i]).concat(a), ee = n(o);
|
|
805
805
|
e ? e(ee) : t({
|
|
806
806
|
csvContent: ee,
|
|
807
807
|
title: M.value.style.chart.layout.title.text || "vue-ui-chestnut"
|
|
@@ -915,7 +915,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
915
915
|
generateImage: ar
|
|
916
916
|
});
|
|
917
917
|
async function Jr() {
|
|
918
|
-
if (
|
|
918
|
+
if (z("copyAlt", {
|
|
919
919
|
config: M.value,
|
|
920
920
|
dataset: R.value
|
|
921
921
|
}), !M.value.userOptions.callbacks.altCopy) {
|
|
@@ -969,7 +969,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
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 = d(() =>
|
|
972
|
+
let Qr = d(() => vr.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);
|
|
973
973
|
function Q() {
|
|
974
974
|
if (j.value.level === "root") {
|
|
975
975
|
A.value = Yr(Qr.value);
|
|
@@ -1008,7 +1008,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1008
1008
|
}
|
|
1009
1009
|
function ai(e) {
|
|
1010
1010
|
if (j.value.level === "root") {
|
|
1011
|
-
let t =
|
|
1011
|
+
let t = vr.value.length;
|
|
1012
1012
|
if (!t) return;
|
|
1013
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();
|
|
1014
1014
|
return;
|
|
@@ -1291,7 +1291,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1291
1291
|
key: 0,
|
|
1292
1292
|
ref_key: "svgRef",
|
|
1293
1293
|
ref: er,
|
|
1294
|
-
xmlns: T(
|
|
1294
|
+
xmlns: T(ue),
|
|
1295
1295
|
"aria-describedby": `chart-instructions-${O.value}`,
|
|
1296
1296
|
class: _({
|
|
1297
1297
|
"vue-data-ui-fullscreen--on": kr.value,
|
|
@@ -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(r)(T(te)(e.color, .05), 100 - M.value.style.chart.layout.roots.gradientIntensity),
|
|
1352
1352
|
1
|
|
1353
1353
|
], [
|
|
1354
1354
|
"100%",
|
|
@@ -1370,7 +1370,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1370
1370
|
1
|
|
1371
1371
|
], [
|
|
1372
1372
|
"100%",
|
|
1373
|
-
T(
|
|
1373
|
+
T(r)(T(te)(e.color, .02), 100 - M.value.style.chart.layout.branches.gradientIntensity),
|
|
1374
1374
|
1
|
|
1375
1375
|
]]
|
|
1376
1376
|
}, null, 8, ["id", "stops"]))), 128)),
|
|
@@ -1385,17 +1385,17 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1385
1385
|
stops: [
|
|
1386
1386
|
[
|
|
1387
1387
|
"0%",
|
|
1388
|
-
T(
|
|
1388
|
+
T(r)("#FFFFFF", 0),
|
|
1389
1389
|
0
|
|
1390
1390
|
],
|
|
1391
1391
|
[
|
|
1392
1392
|
"80%",
|
|
1393
|
-
T(
|
|
1393
|
+
T(r)("#FFFFFF", M.value.style.chart.layout.nuts.selected.gradientIntensity),
|
|
1394
1394
|
1
|
|
1395
1395
|
],
|
|
1396
1396
|
[
|
|
1397
1397
|
"100%",
|
|
1398
|
-
T(
|
|
1398
|
+
T(r)("#FFFFFF", 0),
|
|
1399
1399
|
0
|
|
1400
1400
|
]
|
|
1401
1401
|
]
|
|
@@ -1411,17 +1411,17 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1411
1411
|
stops: [
|
|
1412
1412
|
[
|
|
1413
1413
|
"0%",
|
|
1414
|
-
T(
|
|
1414
|
+
T(r)("#FFFFFF", 0),
|
|
1415
1415
|
0
|
|
1416
1416
|
],
|
|
1417
1417
|
[
|
|
1418
1418
|
"80%",
|
|
1419
|
-
T(
|
|
1419
|
+
T(r)("#FFFFFF", M.value.style.chart.layout.nuts.gradientIntensity),
|
|
1420
1420
|
1
|
|
1421
1421
|
],
|
|
1422
1422
|
[
|
|
1423
1423
|
"100%",
|
|
1424
|
-
T(
|
|
1424
|
+
T(r)("#FFFFFF", 0),
|
|
1425
1425
|
0
|
|
1426
1426
|
]
|
|
1427
1427
|
]
|
|
@@ -1437,17 +1437,17 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1437
1437
|
stops: [
|
|
1438
1438
|
[
|
|
1439
1439
|
"0%",
|
|
1440
|
-
T(
|
|
1440
|
+
T(r)(M.value.style.chart.backgroundColor, 100),
|
|
1441
1441
|
1
|
|
1442
1442
|
],
|
|
1443
1443
|
[
|
|
1444
1444
|
"80%",
|
|
1445
|
-
T(
|
|
1445
|
+
T(r)(M.value.style.chart.backgroundColor, 60),
|
|
1446
1446
|
1
|
|
1447
1447
|
],
|
|
1448
1448
|
[
|
|
1449
1449
|
"100%",
|
|
1450
|
-
T(
|
|
1450
|
+
T(r)(M.value.style.chart.backgroundColor, 0),
|
|
1451
1451
|
1
|
|
1452
1452
|
]
|
|
1453
1453
|
]
|
|
@@ -1479,7 +1479,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1479
1479
|
s: M.value.style.chart.layout.grandTotal.suffix,
|
|
1480
1480
|
r: M.value.style.chart.layout.grandTotal.roundingValue
|
|
1481
1481
|
}))), 9, et)])) : f("", !0),
|
|
1482
|
-
(b(!0), p(u, null, S(
|
|
1482
|
+
(b(!0), p(u, null, S(V.value, (e) => (b(), p("g", null, [m("defs", null, [h(Ce, {
|
|
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(r)(e.color, M.value.style.chart.layout.links.opacity),
|
|
1492
1492
|
1
|
|
1493
1493
|
]]
|
|
1494
1494
|
}, null, 8, ["id", "stops"])]), m("path", {
|
|
1495
1495
|
d: Fr(e),
|
|
1496
|
-
stroke: T(
|
|
1496
|
+
stroke: T(r)(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), p(u, null, S(
|
|
1505
|
+
(b(!0), p(u, null, S(B.value, (e) => (b(), p("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), p(u, null, S(
|
|
1513
|
+
(b(!0), p(u, null, S(B.value, (e, t) => (b(), p("circle", {
|
|
1514
1514
|
"aria-label": Yr(e),
|
|
1515
1515
|
cx: e.x,
|
|
1516
1516
|
cy: e.y,
|
|
@@ -1521,12 +1521,12 @@ 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(), p("g", it, [(b(!0), p(u, null, S(
|
|
1524
|
+
M.value.style.chart.layout.roots.labels.show ? (b(), p("g", it, [(b(!0), p(u, null, S(B.value, (e, t) => (b(), p("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(le)(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)
|
|
@@ -1535,7 +1535,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
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), p(u, null, S(
|
|
1538
|
+
}), { datapoint: e })), 13, at))), 256)), (b(!0), p(u, null, S(B.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", {
|
|
1539
1539
|
x: e.x,
|
|
1540
1540
|
y: e.y + e.r + 24,
|
|
1541
1541
|
"text-anchor": "middle",
|
|
@@ -1546,7 +1546,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1546
1546
|
K(), $(), k.value = !1;
|
|
1547
1547
|
}
|
|
1548
1548
|
}, w(e.name), 9, st)])) : f("", !0)]))), 256))])) : f("", !0),
|
|
1549
|
-
(b(!0), p(u, null, S(
|
|
1549
|
+
(b(!0), p(u, null, S(V.value, (e) => (b(), p("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), p(u, null, S(
|
|
1560
|
+
(b(!0), p(u, null, S(V.value, (e, t) => (b(), p("rect", {
|
|
1561
1561
|
"aria-label": Xr(e),
|
|
1562
1562
|
x: e.x1,
|
|
1563
1563
|
y: e.y1,
|
|
@@ -1570,12 +1570,12 @@ 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(), p("g", ut, [(b(!0), p(u, null, S(
|
|
1573
|
+
M.value.style.chart.layout.branches.labels.dataLabels.show ? (b(), p("g", ut, [(b(!0), p(u, null, S(V.value, (e) => (b(), p("g", null, [e.proportionToRoot * 100 > M.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (b(), p("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(le)(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}`),
|
|
@@ -1586,7 +1586,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
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
1588
|
}), { datapoint: e })), 13, dt)) : f("", !0)]))), 256))])) : f("", !0),
|
|
1589
|
-
(b(!0), p(u, null, S(
|
|
1589
|
+
(b(!0), p(u, null, S(V.value, (e, t) => (b(), p("g", null, [(b(!0), p(u, null, S(T(ie)({
|
|
1590
1590
|
series: e.breakdown,
|
|
1591
1591
|
base: 1
|
|
1592
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", {
|
|
@@ -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(), p("g", mt, [(b(!0), p(u, null, S(
|
|
1607
|
+
M.value.style.chart.layout.branches.labels.show && !W.value ? (b(), p("g", mt, [(b(!0), p(u, null, S(V.value, (e) => (b(), p("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,
|
|
@@ -1632,7 +1632,7 @@ 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
|
-
}, [m("div", vt, [m("div", yt, [(b(!0), p(u, null, S(
|
|
1635
|
+
}, [m("div", vt, [m("div", yt, [(b(!0), p(u, null, S(B.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", {
|
|
1636
1636
|
cx: "10",
|
|
1637
1637
|
cy: "10",
|
|
1638
1638
|
r: "10",
|
|
@@ -1683,7 +1683,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1683
1683
|
}, null, 10, Ot),
|
|
1684
1684
|
(b(!0), p(u, null, S(U.value, (e) => (b(), p("g", null, [Er(e) ? (b(), p("path", {
|
|
1685
1685
|
key: 0,
|
|
1686
|
-
d: T(
|
|
1686
|
+
d: T(re)(e, {
|
|
1687
1687
|
x: H.value.x2 + 24 + M.value.style.chart.layout.nuts.offsetX,
|
|
1688
1688
|
y: H.value.y1 + F.value.branchSize / 2
|
|
1689
1689
|
}, 16, 16, !1, !1, 64),
|
|
@@ -1755,7 +1755,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1755
1755
|
key: 0,
|
|
1756
1756
|
x: T(c)(e).x,
|
|
1757
1757
|
"text-anchor": T(c)(e).anchor,
|
|
1758
|
-
y: T(
|
|
1758
|
+
y: T(se)(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" : ""}`),
|
|
@@ -1764,7 +1764,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1764
1764
|
key: 1,
|
|
1765
1765
|
x: T(c)(e, !0).x,
|
|
1766
1766
|
"text-anchor": T(c)(e, !0).anchor,
|
|
1767
|
-
y: T(
|
|
1767
|
+
y: T(se)(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" : ""}`),
|
|
@@ -1775,7 +1775,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1775
1775
|
key: 0,
|
|
1776
1776
|
x: T(c)(e, !0).x,
|
|
1777
1777
|
"text-anchor": T(c)(e).anchor,
|
|
1778
|
-
y: T(
|
|
1778
|
+
y: T(se)(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" : ""}`),
|
|
@@ -1797,7 +1797,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1797
1797
|
key: 1,
|
|
1798
1798
|
x: T(c)(e, !0).x,
|
|
1799
1799
|
"text-anchor": T(c)(e).anchor,
|
|
1800
|
-
y: T(
|
|
1800
|
+
y: T(se)(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" : ""}`),
|
|
@@ -1811,7 +1811,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1811
1811
|
key: 2,
|
|
1812
1812
|
x: T(c)(e, !0).x,
|
|
1813
1813
|
"text-anchor": T(c)(e).anchor,
|
|
1814
|
-
y: T(
|
|
1814
|
+
y: T(se)(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" : ""}`),
|
|
@@ -1823,7 +1823,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Nn }), He = ["id"], Ue = ["id"], We
|
|
|
1823
1823
|
})) + " " + w(M.value.translations.proportionToTree), 15, Bt)) : f("", !0)
|
|
1824
1824
|
]))), 256))
|
|
1825
1825
|
])) : f("", !0),
|
|
1826
|
-
(b(!0), p(u, null, S(
|
|
1826
|
+
(b(!0), p(u, null, S(V.value, (e) => (b(), p("g", null, [
|
|
1827
1827
|
W.value && W.value.id === e.id && !H.value ? (b(), p("text", {
|
|
1828
1828
|
key: 0,
|
|
1829
1829
|
x: e.x1 + 6,
|