vue-data-ui 3.9.22 → 3.10.1
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 +76 -57
- package/dist/{Arrow-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
- package/dist/{BaseDraggableDialog-BHlNyA0A.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
- package/dist/{BaseIcon-DtXe9QC_.js → BaseIcon-4uOct8re.js} +29 -22
- package/dist/{BaseZoomControls-Dp7lD8dn.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
- package/dist/{ColorPicker-CnWVxKGw.js → ColorPicker-Culsjrcr.js} +2 -2
- package/dist/{DataTable-BriHstj2.js → DataTable-DyoDzNNY.js} +16 -16
- package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
- package/dist/{NonSvgPenAndPaper-C7GKy0EX.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
- package/dist/{PackageVersion-DS0AcLc9.js → PackageVersion-D6MO5wwI.js} +1 -1
- package/dist/{PenAndPaper-DBbQVgYt.js → PenAndPaper-LTuSTmWE.js} +3 -3
- package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
- package/dist/{Slicer-CdBkrOVw.js → Slicer-DckZxvyx.js} +2 -2
- package/dist/{SlicerPreview-DAWQCjXt.js → SlicerPreview-CSc_cazO.js} +2 -2
- package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
- package/dist/{Title-B7pkWzTi.js → Title-NgeRXqRA.js} +1 -1
- package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
- package/dist/{UserOptions-CEsHe7Td.js → UserOptions-CX7Xsusk.js} +7 -7
- 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 +5 -0
- 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-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-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
- package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
- package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
- package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
- package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +218 -6
- package/dist/types/vue-ui-bump.d.ts +16 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
- package/dist/{useNestedProp-gqRzbKJy.js → useNestedProp-Ckf_2P_V.js} +271 -163
- package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
- package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
- package/dist/{vue-data-ui-nqF_cACH.js → vue-data-ui-BzP8Tvow.js} +79 -77
- package/dist/vue-data-ui.js +90 -88
- package/dist/{vue-ui-3d-bar-DmrhwUsA.js → vue-ui-3d-bar-CHeF8XHm.js} +222 -218
- package/dist/{vue-ui-accordion-CDvNAvXX.js → vue-ui-accordion-DFKaB_05.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C0hgxDIF.js → vue-ui-age-pyramid-CJSA_Lp7.js} +177 -173
- package/dist/{vue-ui-annotator-koqMAb87.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
- package/dist/{vue-ui-bullet-BXJCZyhh.js → vue-ui-bullet-BGO-5x4w.js} +135 -131
- package/dist/vue-ui-bump-Ds8aQyR-.js +1006 -0
- package/dist/{vue-ui-candlestick-3YdnfK3I.js → vue-ui-candlestick-Chk1Rxwa.js} +304 -300
- package/dist/{vue-ui-carousel-table-5pBU7CnX.js → vue-ui-carousel-table-BX4wS5vL.js} +4 -4
- package/dist/{vue-ui-chestnut-BmjwbHgq.js → vue-ui-chestnut-DRGQVzIZ.js} +326 -322
- package/dist/{vue-ui-chord-C_2QTHYi.js → vue-ui-chord-CzS4uqvo.js} +171 -167
- package/dist/{vue-ui-circle-pack-BeHZwuM4.js → vue-ui-circle-pack-CTo8Eihw.js} +162 -158
- package/dist/{vue-ui-cursor-YR7_jEcG.js → vue-ui-cursor-DQ1eQR4G.js} +3 -3
- package/dist/{vue-ui-dag-h6p8aZFf.js → vue-ui-dag-Vw67oxw7.js} +451 -447
- package/dist/{vue-ui-dashboard-Cl6Jnf6s.js → vue-ui-dashboard-CBX0gXdp.js} +68 -68
- package/dist/{vue-ui-digits-bUDar5q1.js → vue-ui-digits-DnsDASGD.js} +2 -2
- package/dist/{vue-ui-donut-n-wyE9bw.js → vue-ui-donut-8T6Nmsxq.js} +467 -463
- package/dist/{vue-ui-donut-evolution-DoQwbNv4.js → vue-ui-donut-evolution-C2QW-9s6.js} +354 -350
- package/dist/{vue-ui-dumbbell-BWEAHSG8.js → vue-ui-dumbbell-Bn9pd4ij.js} +240 -236
- package/dist/{vue-ui-flow-CRgC7Mlx.js → vue-ui-flow-LxJoqDKq.js} +171 -167
- package/dist/{vue-ui-funnel-CfIPZ_zB.js → vue-ui-funnel-Dijfg4TW.js} +133 -129
- package/dist/{vue-ui-galaxy-Cp_rz8IL.js → vue-ui-galaxy-J7ABN21x.js} +146 -142
- package/dist/{vue-ui-gauge-DjJ8LiGL.js → vue-ui-gauge-DAUj4HG5.js} +175 -171
- package/dist/{vue-ui-geo-DUa0LJdd.js → vue-ui-geo-DZIQ7n5z.js} +123 -119
- package/dist/{vue-ui-gizmo-DDMnc-mn.js → vue-ui-gizmo-iP8kliCe.js} +3 -3
- package/dist/{vue-ui-heatmap-Bu78wjql.js → vue-ui-heatmap-BzJ9NhwA.js} +231 -227
- package/dist/{vue-ui-history-plot-I7RFpR4m.js → vue-ui-history-plot-CiKEQ6JR.js} +252 -248
- package/dist/{vue-ui-horizontal-bar-B76RcVtC.js → vue-ui-horizontal-bar-HXGUUZ4g.js} +325 -321
- package/dist/{vue-ui-kpi-CnmyYRvK.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
- package/dist/{vue-ui-mini-loader-DVEVYQd5.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
- package/dist/{vue-ui-molecule-B0EQor9C.js → vue-ui-molecule-BOOgtokk.js} +183 -179
- package/dist/{vue-ui-mood-radar-BXHszrJ5.js → vue-ui-mood-radar-DZzGx5Dp.js} +162 -158
- package/dist/{vue-ui-nested-donuts-Cs09jqNS.js → vue-ui-nested-donuts-BA1-O-gB.js} +178 -174
- package/dist/{vue-ui-onion-Cd4M3NhO.js → vue-ui-onion-thpUoiBE.js} +185 -181
- package/dist/{vue-ui-parallel-coordinate-plot-B3jKFKQp.js → vue-ui-parallel-coordinate-plot-DR3Ipc9q.js} +195 -191
- package/dist/{vue-ui-quadrant-BGdcyL_G.js → vue-ui-quadrant-CmCVv7Io.js} +243 -239
- package/dist/{vue-ui-quick-chart-RISnAtAO.js → vue-ui-quick-chart-D7CQqjbb.js} +295 -291
- package/dist/{vue-ui-radar-CiyUH5vY.js → vue-ui-radar-C5BYiNeE.js} +168 -164
- package/dist/{vue-ui-rating-CTN4-Xx3.js → vue-ui-rating-W6I6pacT.js} +2 -2
- package/dist/{vue-ui-relation-circle-GJ2m1KJi.js → vue-ui-relation-circle-BkWUI7cy.js} +185 -181
- package/dist/vue-ui-ridgeline-CokXNDQ5.js +1306 -0
- package/dist/{vue-ui-rings-DStX7GN9.js → vue-ui-rings-COs-uwPW.js} +299 -295
- package/dist/{vue-ui-scatter-C06XR1wk.js → vue-ui-scatter-od9j3nbg.js} +354 -350
- package/dist/{vue-ui-skeleton-BhhCaDDt.js → vue-ui-skeleton-199nlzz-.js} +3 -3
- package/dist/{vue-ui-smiley-CxVaJpm8.js → vue-ui-smiley-B23r7AWp.js} +2 -2
- package/dist/{vue-ui-spark-trend-D0C6wQaQ.js → vue-ui-spark-trend-CCh-2vX7.js} +120 -116
- package/dist/{vue-ui-sparkbar-BdiOrr_4.js → vue-ui-sparkbar-TotwU9iC.js} +84 -80
- package/dist/{vue-ui-sparkgauge-Bn69Wf48.js → vue-ui-sparkgauge-ma4q7p0M.js} +81 -77
- package/dist/{vue-ui-sparkhistogram-B2igFeIs.js → vue-ui-sparkhistogram-DkkFMKuS.js} +109 -105
- package/dist/{vue-ui-sparkline-0VCC5bBB.js → vue-ui-sparkline-B9SwcngG.js} +184 -174
- package/dist/{vue-ui-sparkstackbar-DXNNFyVU.js → vue-ui-sparkstackbar-DYz-Vson.js} +99 -95
- package/dist/{vue-ui-stackbar-O6Qnmp0y.js → vue-ui-stackbar-C_Tl2URC.js} +376 -372
- package/dist/{vue-ui-stackline-DXR5bwam.js → vue-ui-stackline-CXpElu5C.js} +347 -343
- package/dist/{vue-ui-strip-plot-Dbkd9HLL.js → vue-ui-strip-plot-DzcjpnIg.js} +248 -244
- package/dist/{vue-ui-table-CY9ofQw5.js → vue-ui-table-D_TQyQhl.js} +5 -5
- package/dist/{vue-ui-table-heatmap-Cl927pNj.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
- package/dist/{vue-ui-table-sparkline-JdC2NOYh.js → vue-ui-table-sparkline-CF5BnI-6.js} +174 -170
- package/dist/{vue-ui-thermometer-9e1IkvL9.js → vue-ui-thermometer-BmmwTeyy.js} +133 -129
- package/dist/{vue-ui-timer-C85qvi3A.js → vue-ui-timer-Bffy4n-P.js} +5 -5
- package/dist/{vue-ui-tiremarks-Dvynr7Ca.js → vue-ui-tiremarks-pMFoFCHr.js} +156 -152
- package/dist/{vue-ui-treemap-B2d4oGJZ.js → vue-ui-treemap-DSaqUKWM.js} +161 -157
- package/dist/{vue-ui-waffle-B3NfAP3B.js → vue-ui-waffle-BavDRJin.js} +185 -181
- package/dist/{vue-ui-wheel-Cti5RCaK.js → vue-ui-wheel-toELK-fC.js} +125 -121
- package/dist/{vue-ui-word-cloud-BGyunVJT.js → vue-ui-word-cloud-DCTGuXdW.js} +179 -175
- package/dist/{vue-ui-world-BjGu6FvN.js → vue-ui-world-7QFSvpGk.js} +6 -6
- package/dist/{vue-ui-xy-BC1zUOGw.js → vue-ui-xy-CTJtVYBG.js} +697 -693
- package/dist/{vue-ui-xy-canvas-ks3CRcLY.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
- package/package.json +1 -1
- package/dist/vue-ui-ridgeline-BAukx7WE.js +0 -1302
|
@@ -1,53 +1,57 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { c as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import
|
|
12
|
-
import { _ as
|
|
13
|
-
const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { grandTotal: { color: "#CCCCCC" }, roots: { stroke: "#1A1A1A", labels: { name: { color: "#CCCCCC" } } }, verticalSeparator: { stroke: "#1A1A1A" }, branches: { labels: { color: "#CCCCCC" } }, nuts: { selected: { labels: { dataLabels: { color: "#CCCCCC" }, core: { total: { color: "#CCCCCC" }, value: { color: "#CCCCCC" } } } } }, legend: { color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } },
|
|
1
|
+
import { useCssVars as Ft, defineAsyncComponent as Z, computed as p, ref as S, toRefs as Nt, watch as fe, onMounted as Bt, nextTick as ge, createElementBlock as o, openBlock as a, unref as n, normalizeStyle as y, normalizeClass as A, createBlock as oe, createCommentVNode as h, renderSlot as k, withCtx as w, normalizeProps as R, guardReactiveProps as E, createSlots as Ee, createVNode as pe, createElementVNode as u, toDisplayString as c, Fragment as _, renderList as m, createTextVNode as Q, resolveDynamicComponent as Dt, mergeProps as Lt, withKeys as It } from "vue";
|
|
2
|
+
import { c as Ot, t as Pt, i as Rt, j as O, k as Et, l as _e, g as se, m as me, o as Vt, a as j, d as F, X as Mt, s as B, h as Ve, x as Me, a3 as je, a4 as jt, a5 as ee, a6 as P, v as Gt, r as Xt } from "./lib-CVHM9FhP.js";
|
|
3
|
+
import { u as Ut, a as Ce } from "./useNestedProp-Ckf_2P_V.js";
|
|
4
|
+
import { u as Wt, B as Yt } from "./BaseScanner-BMpwQAfz.js";
|
|
5
|
+
import { u as Ht } from "./usePrinter-1NmjuP-i.js";
|
|
6
|
+
import { u as qt } from "./useSvgExport-ByUukOZt.js";
|
|
7
|
+
import { u as Kt } from "./useThemeCheck-D1ZYXUwG.js";
|
|
8
|
+
import { u as Zt } from "./useTableResponsive-Cbx-ACcP.js";
|
|
9
|
+
import { u as Jt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
|
+
import { u as Qt } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
+
import el from "./img-6fNF_rG0.js";
|
|
12
|
+
import { _ as tl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const Ge = { userOptions: { show: !1 }, style: { chart: { layout: { branches: { useGradient: !1, underlayerColor: "#FFFFFF" }, nuts: { useGradient: !1, selected: { gradientIntensity: 0 } }, roots: { useGradient: !1 } } } } }, Xe = { userOptions: { show: !1 }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { grandTotal: { color: "#CCCCCC" }, roots: { useGradient: !1, stroke: "#1A1A1A", labels: { name: { color: "#CCCCCC" } } }, verticalSeparator: { stroke: "#1A1A1A" }, branches: { useGradient: !1, underlayerColor: "#1A1A1A", labels: { color: "#CCCCCC" } }, nuts: { useGradient: !1, selected: { gradientIntensity: 0, labels: { dataLabels: { color: "#CCCCCC" }, core: { total: { color: "#CCCCCC" }, value: { color: "#CCCCCC" } } } } }, legend: { color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Ue = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { grandTotal: { color: "#CCCCCC" }, roots: { stroke: "#1A1A1A", labels: { name: { color: "#CCCCCC" } } }, verticalSeparator: { stroke: "#1A1A1A" }, branches: { labels: { color: "#CCCCCC" } }, nuts: { selected: { labels: { dataLabels: { color: "#CCCCCC" }, core: { total: { color: "#CCCCCC" }, value: { color: "#CCCCCC" } } } } }, legend: { color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, We = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { grandTotal: { color: "#424242" }, roots: { stroke: "#FFF8E1", labels: { name: { color: "#424242" } } }, verticalSeparator: { stroke: "#FFF8E1" }, branches: { borderRadius: 0, labels: { color: "#424242" } }, nuts: { selected: { labels: { dataLabels: { color: "#424242" }, core: { total: { color: "#424242" }, value: { color: "#424242" } } } } }, legend: { color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } } } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Ye = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { grandTotal: { color: "#BDBDBD" }, roots: { stroke: "#1E1E1E", labels: { name: { color: "#BDBDBD" } } }, verticalSeparator: { stroke: "#1E1E1E" }, branches: { borderRadius: 0, labels: { color: "#BDBDBD" } }, nuts: { selected: { labels: { dataLabels: { color: "#BDBDBD" }, core: { total: { color: "#BDBDBD" }, value: { color: "#BDBDBD" } } } } }, legend: { color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { grandTotal: { color: "#99CC99" }, roots: { stroke: "#1A1A1A", labels: { name: { color: "#AACCAA" } } }, verticalSeparator: { stroke: "#1A1A1A" }, branches: { borderRadius: 0, labels: { color: "#AACCAA" } }, nuts: { selected: { labels: { dataLabels: { color: "#AACCAA" }, core: { total: { color: "#99CC99" }, value: { color: "#AACCAA" } } } } }, legend: { color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, qe = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { grandTotal: { color: "#A0AC94" }, roots: { stroke: "#fbfafa", labels: { name: { color: "#A0AC94" } } }, verticalSeparator: { stroke: "#fbfafa" }, branches: { borderRadius: 12, labels: { color: "#A0AC94" } }, nuts: { selected: { labels: { dataLabels: { color: "#A0AC94" }, core: { total: { color: "#8A9892" }, value: { color: "#A0AC94" } } } } }, legend: { color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Ke = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { grandTotal: { color: "#61747E" }, roots: { stroke: "#f6f6fb", labels: { name: { color: "#8A9892" } } }, verticalSeparator: { stroke: "#f6f6fb" }, branches: { borderRadius: 0, labels: { color: "#8A9892" } }, nuts: { selected: { labels: { dataLabels: { color: "#8A9892" }, core: { total: { color: "#8A9892" }, value: { color: "#61747E" } } } } }, legend: { color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#61747E" } } } } } }, Ze = {
|
|
14
14
|
default: {},
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
minimal: Ge,
|
|
16
|
+
minimalDark: Xe,
|
|
17
|
+
dark: Ue,
|
|
18
|
+
celebration: We,
|
|
19
|
+
celebrationNight: Ye,
|
|
20
|
+
hack: He,
|
|
21
|
+
zen: qe,
|
|
22
|
+
concrete: Ke
|
|
23
|
+
}, wo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22
24
|
__proto__: null,
|
|
23
|
-
celebration:
|
|
24
|
-
celebrationNight:
|
|
25
|
-
concrete:
|
|
26
|
-
dark:
|
|
27
|
-
default:
|
|
28
|
-
hack:
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
celebration: We,
|
|
26
|
+
celebrationNight: Ye,
|
|
27
|
+
concrete: Ke,
|
|
28
|
+
dark: Ue,
|
|
29
|
+
default: Ze,
|
|
30
|
+
hack: He,
|
|
31
|
+
minimal: Ge,
|
|
32
|
+
minimalDark: Xe,
|
|
33
|
+
zen: qe
|
|
34
|
+
}, Symbol.toStringTag, { value: "Module" })), ll = ["id"], al = {
|
|
31
35
|
key: 1,
|
|
32
36
|
ref: "noTitle",
|
|
33
37
|
class: "vue-data-ui-no-title-space",
|
|
34
38
|
style: "height:36px; width: 100%;background:transparent"
|
|
35
|
-
},
|
|
39
|
+
}, ol = ["xmlns", "viewBox"], sl = ["width", "height"], nl = { key: 1 }, ul = ["fill", "font-weight", "font-size", "x", "y"], rl = ["fill", "font-weight", "font-size", "x", "y"], il = ["id"], cl = ["stop-color"], dl = ["stop-color"], vl = ["id"], yl = ["stop-color"], hl = ["stop-color"], bl = ["id"], fl = ["stop-color"], gl = ["stop-color"], pl = ["stop-color"], _l = ["id"], ml = ["stop-color"], Cl = ["stop-color"], xl = ["stop-color"], kl = ["id"], Al = ["stop-color"], wl = ["stop-color"], $l = ["stop-color"], Tl = { key: 2 }, zl = ["x", "y", "font-size", "font-weight", "fill"], Sl = ["x", "y", "font-size", "font-weight", "fill"], Fl = ["id"], Nl = ["stop-color"], Bl = ["stop-color"], Dl = ["d", "stroke", "fill"], Ll = ["cx", "cy", "r", "fill"], Il = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], Ol = { key: 3 }, Pl = ["x", "y", "font-size", "fill", "onClick"], Rl = { key: 0 }, El = ["x", "y", "fill", "font-size", "font-weight"], Vl = ["x", "y", "height", "width", "fill", "rx", "onClick"], Ml = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], jl = { key: 4 }, Gl = ["x", "y", "fill", "font-size", "onClick"], Xl = ["d", "stroke"], Ul = ["fill", "cx", "cy", "r", "onClick"], Wl = { key: 5 }, Yl = ["x", "y", "font-size", "font-weight", "fill"], Hl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ql = ["y", "height", "width"], Kl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, Zl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Jl = {
|
|
36
40
|
viewBox: "0 0 20 20",
|
|
37
41
|
height: "16",
|
|
38
42
|
width: "16"
|
|
39
|
-
},
|
|
43
|
+
}, Ql = ["fill"], ea = { key: 7 }, ta = ["y", "height", "width"], la = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, aa = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, oa = {
|
|
40
44
|
viewBox: "0 0 20 20",
|
|
41
45
|
height: "16",
|
|
42
46
|
width: "16"
|
|
43
|
-
},
|
|
47
|
+
}, sa = ["fill"], na = ["cx", "cy", "fill"], ua = ["d", "stroke"], ra = ["cx", "cy", "fill"], ia = ["d", "stroke"], ca = ["cx", "cy", "fill"], da = ["cx", "cy", "fill"], va = ["x", "y", "fill", "font-size", "font-weight"], ya = ["x", "y", "fill", "font-size", "font-weight"], ha = ["x", "text-anchor", "y", "fill", "font-size"], ba = ["x", "text-anchor", "y", "fill", "font-size"], fa = ["x", "text-anchor", "y", "fill", "font-size"], ga = ["x", "text-anchor", "y", "fill", "font-size"], pa = ["x", "text-anchor", "y", "fill", "font-size"], _a = ["x", "y", "font-size", "fill"], ma = ["x", "y", "font-size", "fill"], Ca = ["x", "y", "font-size", "fill"], xa = {
|
|
44
48
|
key: 4,
|
|
45
49
|
class: "vue-data-ui-watermark"
|
|
46
|
-
},
|
|
50
|
+
}, ka = {
|
|
47
51
|
key: 5,
|
|
48
52
|
ref: "source",
|
|
49
53
|
dir: "auto"
|
|
50
|
-
},
|
|
54
|
+
}, Aa = { class: "vue-ui-data-table" }, wa = { key: 0 }, $a = ["data-cell"], Ta = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, za = { key: 0 }, Sa = { key: 1 }, Fa = ["data-cell"], Na = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ba = { key: 0 }, Da = { key: 1 }, La = ["data-cell"], Ia = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Oa = { key: 0 }, Pa = { key: 1 }, Ra = ["data-cell"], Ea = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Va = { key: 0 }, Ma = { key: 1 }, ja = ["data-cell"], Ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Xa = { key: 0 }, Ua = { key: 1 }, Wa = ["data-cell"], Ya = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ha = { key: 0 }, qa = { key: 1 }, Ka = ["data-cell"], Za = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ja = { key: 0 }, Qa = { key: 1 }, eo = ["data-cell"], to = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, lo = ["data-cell"], ao = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, oo = ["data-cell"], so = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, no = ["data-cell"], uo = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ro = ["data-cell"], io = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, co = {
|
|
51
55
|
__name: "vue-ui-chestnut",
|
|
52
56
|
props: {
|
|
53
57
|
config: {
|
|
@@ -64,12 +68,12 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
64
68
|
}
|
|
65
69
|
},
|
|
66
70
|
emits: ["selectRoot", "selectBranch", "selectNut"],
|
|
67
|
-
setup(
|
|
68
|
-
|
|
71
|
+
setup(Je, { expose: Qe, emit: et }) {
|
|
72
|
+
Ft((l) => ({
|
|
69
73
|
v2e18205a: l.tdo
|
|
70
74
|
}));
|
|
71
|
-
const
|
|
72
|
-
...
|
|
75
|
+
const xe = Z(() => import("./BaseIcon-4uOct8re.js")), tt = Z(() => import("./vue-ui-accordion-DFKaB_05.js")), lt = Z(() => import("./PenAndPaper-LTuSTmWE.js")), at = Z(() => import("./UserOptions-CX7Xsusk.js")), ot = Z(() => import("./PackageVersion-D6MO5wwI.js")), st = Z(() => import("./BaseDraggableDialog-BQYfVNu8.js")), { vue_ui_chestnut: nt } = Ut(), { isThemeValid: ut, warnInvalidTheme: rt } = Kt(), V = Je, ke = p(() => !!V.dataset && V.dataset.length), $ = S(Ot()), Y = S(null), Ae = S(0), J = S(null), ne = S(null), e = S(ce()), { loading: we, FINAL_DATASET: ue } = Wt({
|
|
76
|
+
...Nt(V),
|
|
73
77
|
FINAL_CONFIG: e,
|
|
74
78
|
prepareConfig: ce,
|
|
75
79
|
skeletonDataset: [
|
|
@@ -150,7 +154,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
150
154
|
]
|
|
151
155
|
}
|
|
152
156
|
],
|
|
153
|
-
skeletonConfig:
|
|
157
|
+
skeletonConfig: Pt({
|
|
154
158
|
defaultConfig: e.value,
|
|
155
159
|
userConfig: {
|
|
156
160
|
userOptions: { show: !1 },
|
|
@@ -178,43 +182,43 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
178
182
|
}
|
|
179
183
|
}
|
|
180
184
|
})
|
|
181
|
-
}), { userOptionsVisible: re, setUserOptionsVisibility: $e, keepUserOptionState: Te } =
|
|
185
|
+
}), { userOptionsVisible: re, setUserOptionsVisibility: $e, keepUserOptionState: Te } = Jt({ config: e.value }), { svgRef: ie } = Qt({ config: e.value.style.chart.layout.title });
|
|
182
186
|
function ce() {
|
|
183
|
-
const l =
|
|
187
|
+
const l = Ce({
|
|
184
188
|
userConfig: V.config,
|
|
185
|
-
defaultConfig:
|
|
189
|
+
defaultConfig: nt
|
|
186
190
|
}), r = l.theme;
|
|
187
191
|
if (!r) return l;
|
|
188
|
-
if (!
|
|
189
|
-
return
|
|
190
|
-
const t =
|
|
191
|
-
userConfig:
|
|
192
|
+
if (!ut.value(l))
|
|
193
|
+
return rt(l), l;
|
|
194
|
+
const t = Ce({
|
|
195
|
+
userConfig: Ze[r] || V.config,
|
|
192
196
|
defaultConfig: l
|
|
193
|
-
}), s =
|
|
197
|
+
}), s = Ce({
|
|
194
198
|
userConfig: V.config,
|
|
195
199
|
defaultConfig: t
|
|
196
200
|
});
|
|
197
201
|
return {
|
|
198
202
|
...s,
|
|
199
|
-
customPalette: s.customPalette.length ? s.customPalette :
|
|
203
|
+
customPalette: s.customPalette.length ? s.customPalette : Rt[r] || O
|
|
200
204
|
};
|
|
201
205
|
}
|
|
202
206
|
fe(() => V.config, (l) => {
|
|
203
|
-
e.value = ce(), re.value = !e.value.userOptions.showOnChartHover,
|
|
207
|
+
e.value = ce(), re.value = !e.value.userOptions.showOnChartHover, G.value.showTable = e.value.table.show, Ie();
|
|
204
208
|
}, { deep: !0 });
|
|
205
|
-
const { isPrinting: ze, isImaging: Se, generatePdf: Fe, generateImage: Ne } =
|
|
209
|
+
const { isPrinting: ze, isImaging: Se, generatePdf: Fe, generateImage: Ne } = Ht({
|
|
206
210
|
elementId: `vue-ui-chestnut_${$.value}`,
|
|
207
211
|
fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut",
|
|
208
212
|
options: e.value.userOptions.print
|
|
209
|
-
}),
|
|
213
|
+
}), it = p(() => e.value.userOptions.show), de = p(() => Et(e.value.customPalette)), G = S({
|
|
210
214
|
showTable: e.value.table.show
|
|
211
215
|
});
|
|
212
216
|
fe(e, () => {
|
|
213
|
-
|
|
217
|
+
G.value = {
|
|
214
218
|
showTable: e.value.table.show
|
|
215
219
|
};
|
|
216
220
|
}, { immediate: !0 });
|
|
217
|
-
const Be = S(null),
|
|
221
|
+
const Be = S(null), ct = p(() => e.value.table.responsiveBreakpoint), i = S({
|
|
218
222
|
gap: 6,
|
|
219
223
|
padding: {
|
|
220
224
|
top: 102,
|
|
@@ -226,7 +230,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
226
230
|
height: 0,
|
|
227
231
|
branchSize: 32,
|
|
228
232
|
branchStart: 128
|
|
229
|
-
}), z =
|
|
233
|
+
}), z = p(() => ({
|
|
230
234
|
left: i.value.padding.left,
|
|
231
235
|
top: i.value.padding.top,
|
|
232
236
|
right: i.value.width - i.value.padding.right,
|
|
@@ -234,7 +238,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
234
238
|
width: i.value.width - (i.value.padding.left + i.value.padding.right),
|
|
235
239
|
height: i.value.height - (i.value.padding.top + i.value.padding.bottom),
|
|
236
240
|
seedX: i.value.padding.left + 64
|
|
237
|
-
})), D =
|
|
241
|
+
})), D = p(() => ue.value.flatMap((l) => (l.branches || []).map((r) => r.value || 0)).reduce((l, r) => l + r, 0)), N = p(() => (ue.value.forEach((l, r) => {
|
|
238
242
|
_e({
|
|
239
243
|
datasetObject: l,
|
|
240
244
|
requiredAttributes: ["name", "branches"]
|
|
@@ -258,7 +262,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
258
262
|
index: `${r} - ${s}`,
|
|
259
263
|
debug: te.value
|
|
260
264
|
});
|
|
261
|
-
}), t.breakdown && t.breakdown.forEach((f,
|
|
265
|
+
}), t.breakdown && t.breakdown.forEach((f, g) => {
|
|
262
266
|
_e({
|
|
263
267
|
datasetObject: f,
|
|
264
268
|
requiredAttributes: ["name", "value"]
|
|
@@ -267,7 +271,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
267
271
|
componentName: "VueUiChestnut",
|
|
268
272
|
type: "datasetSerieAttribute",
|
|
269
273
|
property: b,
|
|
270
|
-
index: `${r} - ${s} - ${
|
|
274
|
+
index: `${r} - ${s} - ${g}`,
|
|
271
275
|
debug: te.value
|
|
272
276
|
});
|
|
273
277
|
});
|
|
@@ -291,7 +295,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
291
295
|
id: s.id || `branch_${r}_${f}_${$.value}`,
|
|
292
296
|
proportionToRoot: s.value / t,
|
|
293
297
|
type: "branch",
|
|
294
|
-
breakdown: (s.breakdown || []).map((
|
|
298
|
+
breakdown: (s.breakdown || []).map((g, b) => ({
|
|
295
299
|
table: {
|
|
296
300
|
rootName: l.name,
|
|
297
301
|
rootValue: t,
|
|
@@ -300,60 +304,60 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
300
304
|
branchValue: s.value,
|
|
301
305
|
branchToTotal: s.value / D.value,
|
|
302
306
|
branchToRoot: s.value / t,
|
|
303
|
-
nutName:
|
|
304
|
-
nutValue:
|
|
305
|
-
nutToTotal:
|
|
306
|
-
nutToRoot:
|
|
307
|
-
nutToBranch:
|
|
307
|
+
nutName: g.name,
|
|
308
|
+
nutValue: g.value,
|
|
309
|
+
nutToTotal: g.value / D.value,
|
|
310
|
+
nutToRoot: g.value / t,
|
|
311
|
+
nutToBranch: g.value / s.value
|
|
308
312
|
},
|
|
309
|
-
...
|
|
313
|
+
...g,
|
|
310
314
|
type: "nut",
|
|
311
315
|
branchName: s.name,
|
|
312
316
|
rootName: l.name,
|
|
313
317
|
branchTotal: s.value >= 0 ? s.value : 0,
|
|
314
|
-
proportionToBranch:
|
|
315
|
-
proportionToRoot:
|
|
316
|
-
proportionToTree:
|
|
318
|
+
proportionToBranch: g.value / s.value,
|
|
319
|
+
proportionToRoot: g.value / t,
|
|
320
|
+
proportionToTree: g.value / D.value,
|
|
317
321
|
rootIndex: r,
|
|
318
|
-
id:
|
|
319
|
-
color: me(
|
|
320
|
-
value:
|
|
322
|
+
id: g.id || `nut_${r}_${f}_${b}_${$.value}`,
|
|
323
|
+
color: me(g.color) || de.value[b] || O[b] || O[b % O.length],
|
|
324
|
+
value: g.value >= 0 ? g.value : 0
|
|
321
325
|
}))
|
|
322
326
|
}))
|
|
323
327
|
};
|
|
324
328
|
})));
|
|
325
|
-
function
|
|
329
|
+
function dt() {
|
|
326
330
|
return N.value;
|
|
327
331
|
}
|
|
328
|
-
const H =
|
|
329
|
-
const t = z.value.height / N.value.length / 2, s = l.total /
|
|
332
|
+
const H = et, vt = p(() => N.value.flatMap((l) => l.branches).length), yt = p(() => Math.max(...N.value.map((l) => l.branches.map((r) => r.value).reduce((r, t) => r + t, 0)))), ht = p(() => Math.max(...N.value.flatMap((l) => l.branches.map((r) => r.value)))), De = p(() => 256 + i.value.padding.left), X = p(() => N.value.sort((l, r) => r.total - l.total).map((l, r) => {
|
|
333
|
+
const t = z.value.height / N.value.length / 2, s = l.total / yt.value * (t > 64 ? 64 : t);
|
|
330
334
|
return {
|
|
331
335
|
...l,
|
|
332
336
|
x: z.value.seedX,
|
|
333
337
|
y: z.value.top + z.value.height / N.value.length * (r + 1) - (z.value.height / N.value.length / 2 + i.value.gap / 2),
|
|
334
338
|
r: s < i.value.branchSize / 2 ? i.value.branchSize / 2 : s
|
|
335
339
|
};
|
|
336
|
-
})),
|
|
340
|
+
})), bt = p(() => e.value.style.chart.layout.branches.widthRatio <= 0 ? 0.1 : e.value.style.chart.layout.branches.widthRatio > 1.8 ? 1.8 : e.value.style.chart.layout.branches.widthRatio), ft = p(() => X.value.flatMap((l) => l.branches)), U = p(() => ft.value.sort((l, r) => r.value - l.value).map((l, r) => ({
|
|
337
341
|
...l,
|
|
338
342
|
y1: r * i.value.branchSize + z.value.top + r * i.value.gap,
|
|
339
343
|
y2: r * i.value.branchSize + i.value.branchSize,
|
|
340
344
|
x1: De.value,
|
|
341
|
-
x2: 384 * l.value /
|
|
345
|
+
x2: 384 * l.value / ht.value * bt.value + De.value
|
|
342
346
|
})));
|
|
343
|
-
function
|
|
344
|
-
const r =
|
|
347
|
+
function gt(l) {
|
|
348
|
+
const r = X.value.find((t) => t.rootIndex === l.rootIndex);
|
|
345
349
|
return { x: r.x, y: r.y, r: r.r };
|
|
346
350
|
}
|
|
347
|
-
const d = S(null), M = S(null),
|
|
351
|
+
const d = S(null), M = S(null), C = S(null), L = S(null);
|
|
348
352
|
function T() {
|
|
349
|
-
d.value = null,
|
|
353
|
+
d.value = null, C.value = null, L.value = null;
|
|
350
354
|
}
|
|
351
355
|
function I(l) {
|
|
352
|
-
return L.value ? L.value === null ? !0 : l.type === "root" ? l.id === L.value.id : l.rootIndex === L.value.rootIndex : d.value === null &&
|
|
356
|
+
return L.value ? L.value === null ? !0 : l.type === "root" ? l.id === L.value.id : l.rootIndex === L.value.rootIndex : d.value === null && C.value === null ? !0 : l.type === "nut" ? d.value.id === l.id : l.type === "branch" ? C.value.id === l.id : l.type === "root" ? C.value && C.value.rootIndex === l.rootIndex || d.value && d.value.rootIndex === l.rootIndex : !1;
|
|
353
357
|
}
|
|
354
|
-
function
|
|
355
|
-
T(),
|
|
356
|
-
d.value = l,
|
|
358
|
+
function pt(l) {
|
|
359
|
+
T(), ge(() => {
|
|
360
|
+
d.value = l, C.value = l, M.value = je(
|
|
357
361
|
{ series: l.breakdown },
|
|
358
362
|
l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
359
363
|
l.y1 + i.value.branchSize / 2,
|
|
@@ -366,31 +370,31 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
366
370
|
d.value = null, M.value = null, H("selectNut", null);
|
|
367
371
|
}
|
|
368
372
|
function ve(l) {
|
|
369
|
-
|
|
373
|
+
C.value && C.value.id === l.id ? (C.value = null, T(), H("selectBranch", null)) : (T(), C.value = l, H("selectBranch", l));
|
|
370
374
|
}
|
|
371
375
|
function Le(l) {
|
|
372
376
|
L.value && L.value.id === l.id ? (T(), H("selectRoot", null)) : (T(), L.value = l, H("selectRoot", l));
|
|
373
377
|
}
|
|
374
|
-
function
|
|
378
|
+
function _t() {
|
|
375
379
|
return z.value.bottom - (d.value.y1 + 180) < 0 ? 0 : z.value.bottom;
|
|
376
380
|
}
|
|
377
381
|
function q(l) {
|
|
378
382
|
return l.proportion * 100 > e.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
|
|
379
383
|
}
|
|
380
|
-
|
|
384
|
+
Bt(() => {
|
|
381
385
|
Ie();
|
|
382
386
|
});
|
|
383
|
-
const te =
|
|
387
|
+
const te = p(() => e.value.debug);
|
|
384
388
|
function Ie() {
|
|
385
|
-
|
|
389
|
+
Vt(V.dataset) && se({
|
|
386
390
|
componentName: "VueUiChestnut",
|
|
387
391
|
type: "dataset",
|
|
388
392
|
debug: te.value
|
|
389
393
|
});
|
|
390
|
-
const l =
|
|
394
|
+
const l = vt.value * (i.value.branchSize + i.value.gap) + i.value.padding.top + i.value.padding.bottom;
|
|
391
395
|
i.value.height = l;
|
|
392
396
|
}
|
|
393
|
-
const v =
|
|
397
|
+
const v = p(() => {
|
|
394
398
|
const l = [
|
|
395
399
|
e.value.table.th.translations.rootName,
|
|
396
400
|
e.value.table.th.translations.rootValue,
|
|
@@ -404,64 +408,64 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
404
408
|
e.value.table.th.translations.nutToBranch,
|
|
405
409
|
e.value.table.th.translations.nutToRoot,
|
|
406
410
|
e.value.table.th.translations.nutToTotal
|
|
407
|
-
], r = N.value.flatMap((t, s) => t.branches.flatMap((f,
|
|
411
|
+
], r = N.value.flatMap((t, s) => t.branches.flatMap((f, g) => f.breakdown.flatMap((b, x) => b.table)));
|
|
408
412
|
return { head: l, body: r };
|
|
409
413
|
});
|
|
410
414
|
function ye(l = null) {
|
|
411
|
-
|
|
412
|
-
const r = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", D.value], [""]], t = v.value.head, s = v.value.body.map((b,
|
|
413
|
-
v.value.body[
|
|
414
|
-
v.value.body[
|
|
415
|
-
v.value.body[
|
|
416
|
-
v.value.body[
|
|
417
|
-
v.value.body[
|
|
418
|
-
v.value.body[
|
|
419
|
-
v.value.body[
|
|
415
|
+
ge(() => {
|
|
416
|
+
const r = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", D.value], [""]], t = v.value.head, s = v.value.body.map((b, x) => [
|
|
417
|
+
v.value.body[x - 1] && v.value.body[x - 1].rootName === b.rootName ? "" : b.rootName,
|
|
418
|
+
v.value.body[x - 1] && v.value.body[x - 1].rootName === b.rootName ? "" : b.rootValue,
|
|
419
|
+
v.value.body[x - 1] && v.value.body[x - 1].rootName === b.rootName ? "" : b.rootToTotal,
|
|
420
|
+
v.value.body[x - 1] && v.value.body[x - 1].branchName === b.branchName ? "" : b.branchName,
|
|
421
|
+
v.value.body[x - 1] && v.value.body[x - 1].branchName === b.branchName ? "" : b.branchValue,
|
|
422
|
+
v.value.body[x - 1] && v.value.body[x - 1].branchName === b.branchName ? "" : b.branchToRoot,
|
|
423
|
+
v.value.body[x - 1] && v.value.body[x - 1].branchName === b.branchName ? "" : b.branchToTotal,
|
|
420
424
|
b.nutName,
|
|
421
425
|
b.nutValue,
|
|
422
426
|
b.nutToBranch,
|
|
423
427
|
b.nutToRoot,
|
|
424
428
|
b.nutToTotal
|
|
425
|
-
]), f = r.concat([t]).concat(s),
|
|
426
|
-
l ? l(
|
|
429
|
+
]), f = r.concat([t]).concat(s), g = Gt(f);
|
|
430
|
+
l ? l(g) : Xt({ csvContent: g, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
|
|
427
431
|
});
|
|
428
432
|
}
|
|
429
433
|
const K = S(!1);
|
|
430
434
|
function Oe(l) {
|
|
431
|
-
K.value = l,
|
|
435
|
+
K.value = l, Ae.value += 1;
|
|
432
436
|
}
|
|
433
437
|
function Pe() {
|
|
434
|
-
|
|
438
|
+
G.value.showTable = !G.value.showTable;
|
|
435
439
|
}
|
|
436
440
|
const le = S(!1);
|
|
437
441
|
function he() {
|
|
438
442
|
le.value = !le.value;
|
|
439
443
|
}
|
|
440
|
-
async function
|
|
444
|
+
async function mt({ scale: l = 2 } = {}) {
|
|
441
445
|
if (!Y.value) return;
|
|
442
|
-
const { width: r, height: t } = Y.value.getBoundingClientRect(), s = r / t, { imageUri: f, base64:
|
|
446
|
+
const { width: r, height: t } = Y.value.getBoundingClientRect(), s = r / t, { imageUri: f, base64: g } = await el({ domElement: Y.value, base64: !0, img: !0, scale: l });
|
|
443
447
|
return {
|
|
444
448
|
imageUri: f,
|
|
445
|
-
base64:
|
|
449
|
+
base64: g,
|
|
446
450
|
title: e.value.style.chart.layout.title.text,
|
|
447
451
|
width: r,
|
|
448
452
|
height: t,
|
|
449
453
|
aspectRatio: s
|
|
450
454
|
};
|
|
451
455
|
}
|
|
452
|
-
function
|
|
453
|
-
const r =
|
|
456
|
+
function Ct(l) {
|
|
457
|
+
const r = gt(l), t = l.x1, s = l.y1, f = i.value.branchSize, g = r.x + r.r / 2, b = r.y, x = 20;
|
|
454
458
|
return [
|
|
455
459
|
`M ${t},${s}`,
|
|
456
|
-
`C ${t -
|
|
457
|
-
`C ${
|
|
460
|
+
`C ${t - x},${s} ${t - x},${s} ${g},${b}`,
|
|
461
|
+
`C ${g},${b} ${t - x},${s + f} ${t},${s + f}`,
|
|
458
462
|
"Z"
|
|
459
463
|
].join(" ");
|
|
460
464
|
}
|
|
461
|
-
const ae =
|
|
462
|
-
const l = e.value.table.useDialog && !e.value.table.show, r =
|
|
465
|
+
const ae = p(() => {
|
|
466
|
+
const l = e.value.table.useDialog && !e.value.table.show, r = G.value.showTable;
|
|
463
467
|
return {
|
|
464
|
-
component: l ?
|
|
468
|
+
component: l ? st : tt,
|
|
465
469
|
title: `${e.value.style.chart.layout.title.text}${e.value.style.chart.layout.title.subtitle.text ? `: ${e.value.style.chart.layout.title.subtitle.text}` : ""}`,
|
|
466
470
|
props: l ? {
|
|
467
471
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -488,14 +492,14 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
488
492
|
}
|
|
489
493
|
};
|
|
490
494
|
});
|
|
491
|
-
fe(() =>
|
|
492
|
-
e.value.table.show || (l && e.value.table.useDialog && J.value ? (await
|
|
495
|
+
fe(() => G.value.showTable, async (l) => {
|
|
496
|
+
e.value.table.show || (l && e.value.table.useDialog && J.value ? (await ge(), J.value.open()) : "close" in J.value && J.value.close());
|
|
493
497
|
});
|
|
494
|
-
const { isResponsive:
|
|
498
|
+
const { isResponsive: xt } = Zt(Be, ct);
|
|
495
499
|
function be() {
|
|
496
|
-
|
|
500
|
+
G.value.showTable = !1, ne.value && ne.value.setTableIconState(!1);
|
|
497
501
|
}
|
|
498
|
-
const
|
|
502
|
+
const kt = p(() => N.value.map((l, r) => ({
|
|
499
503
|
...l,
|
|
500
504
|
display: `${l.name}: ${j(
|
|
501
505
|
e.value.style.chart.layout.roots.labels.formatter,
|
|
@@ -512,33 +516,33 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
512
516
|
s: "%",
|
|
513
517
|
r: e.value.style.chart.layout.legend.roundingPercentage
|
|
514
518
|
})})`
|
|
515
|
-
}))),
|
|
519
|
+
}))), At = p(() => kt.value.map((l) => ({
|
|
516
520
|
color: l.color,
|
|
517
521
|
name: l.display,
|
|
518
522
|
shape: "circle"
|
|
519
|
-
}))),
|
|
523
|
+
}))), wt = p(() => e.value.style.chart.backgroundColor), $t = p(() => ({
|
|
520
524
|
...e.value.style.chart.layout.legend,
|
|
521
525
|
textAlign: "center",
|
|
522
526
|
show: !0,
|
|
523
527
|
position: "bottom"
|
|
524
|
-
})),
|
|
528
|
+
})), Tt = p(() => e.value.style.chart.layout.title), { exportSvg: zt, getSvg: St } = qt({
|
|
525
529
|
svg: ie,
|
|
526
|
-
title:
|
|
527
|
-
legend:
|
|
528
|
-
legendItems:
|
|
529
|
-
backgroundColor:
|
|
530
|
+
title: Tt,
|
|
531
|
+
legend: $t,
|
|
532
|
+
legendItems: At,
|
|
533
|
+
backgroundColor: wt,
|
|
530
534
|
titleEmbedded: !0
|
|
531
535
|
});
|
|
532
536
|
async function Re({ isCb: l }) {
|
|
533
537
|
if (l) {
|
|
534
|
-
const { blob: r, url: t, text: s, dataUrl: f } = await
|
|
538
|
+
const { blob: r, url: t, text: s, dataUrl: f } = await St();
|
|
535
539
|
e.value.userOptions.callbacks.svg({ blob: r, url: t, text: s, dataUrl: f });
|
|
536
540
|
} else
|
|
537
|
-
|
|
541
|
+
zt();
|
|
538
542
|
}
|
|
539
|
-
return
|
|
540
|
-
getData:
|
|
541
|
-
getImage:
|
|
543
|
+
return Qe({
|
|
544
|
+
getData: dt,
|
|
545
|
+
getImage: mt,
|
|
542
546
|
generatePdf: Fe,
|
|
543
547
|
generateCsv: ye,
|
|
544
548
|
generateImage: Ne,
|
|
@@ -547,7 +551,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
547
551
|
toggleAnnotator: he,
|
|
548
552
|
toggleFullscreen: Oe
|
|
549
553
|
}), (l, r) => (a(), o("div", {
|
|
550
|
-
class:
|
|
554
|
+
class: A(`vue-data-ui-component vue-ui-chestnut ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
551
555
|
ref_key: "chestnutChart",
|
|
552
556
|
ref: Y,
|
|
553
557
|
id: `vue-ui-chestnut_${$.value}`,
|
|
@@ -555,7 +559,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
555
559
|
onMouseenter: r[1] || (r[1] = () => n($e)(!0)),
|
|
556
560
|
onMouseleave: r[2] || (r[2] = () => n($e)(!1))
|
|
557
561
|
}, [
|
|
558
|
-
e.value.userOptions.buttons.annotator ? (a(), oe(n(
|
|
562
|
+
e.value.userOptions.buttons.annotator ? (a(), oe(n(lt), {
|
|
559
563
|
key: 0,
|
|
560
564
|
svgRef: n(ie),
|
|
561
565
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -563,31 +567,31 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
563
567
|
active: le.value,
|
|
564
568
|
onClose: he
|
|
565
569
|
}, {
|
|
566
|
-
"annotator-action-close":
|
|
567
|
-
|
|
570
|
+
"annotator-action-close": w(() => [
|
|
571
|
+
k(l.$slots, "annotator-action-close", {}, void 0, !0)
|
|
568
572
|
]),
|
|
569
|
-
"annotator-action-color":
|
|
570
|
-
|
|
573
|
+
"annotator-action-color": w(({ color: t }) => [
|
|
574
|
+
k(l.$slots, "annotator-action-color", R(E({ color: t })), void 0, !0)
|
|
571
575
|
]),
|
|
572
|
-
"annotator-action-draw":
|
|
573
|
-
|
|
576
|
+
"annotator-action-draw": w(({ mode: t }) => [
|
|
577
|
+
k(l.$slots, "annotator-action-draw", R(E({ mode: t })), void 0, !0)
|
|
574
578
|
]),
|
|
575
|
-
"annotator-action-undo":
|
|
576
|
-
|
|
579
|
+
"annotator-action-undo": w(({ disabled: t }) => [
|
|
580
|
+
k(l.$slots, "annotator-action-undo", R(E({ disabled: t })), void 0, !0)
|
|
577
581
|
]),
|
|
578
|
-
"annotator-action-redo":
|
|
579
|
-
|
|
582
|
+
"annotator-action-redo": w(({ disabled: t }) => [
|
|
583
|
+
k(l.$slots, "annotator-action-redo", R(E({ disabled: t })), void 0, !0)
|
|
580
584
|
]),
|
|
581
|
-
"annotator-action-delete":
|
|
582
|
-
|
|
585
|
+
"annotator-action-delete": w(({ disabled: t }) => [
|
|
586
|
+
k(l.$slots, "annotator-action-delete", R(E({ disabled: t })), void 0, !0)
|
|
583
587
|
]),
|
|
584
588
|
_: 3
|
|
585
589
|
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
586
|
-
|
|
587
|
-
e.value.userOptions.show &&
|
|
590
|
+
it.value ? (a(), o("div", al, null, 512)) : h("", !0),
|
|
591
|
+
e.value.userOptions.show && ke.value && (n(Te) || n(re)) ? (a(), oe(n(at), {
|
|
588
592
|
ref_key: "userOptionsRef",
|
|
589
593
|
ref: ne,
|
|
590
|
-
key: `user_options_${
|
|
594
|
+
key: `user_options_${Ae.value}`,
|
|
591
595
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
592
596
|
color: e.value.style.chart.color,
|
|
593
597
|
isImaging: n(Se),
|
|
@@ -621,57 +625,57 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
621
625
|
}, Ee({ _: 2 }, [
|
|
622
626
|
l.$slots.menuIcon ? {
|
|
623
627
|
name: "menuIcon",
|
|
624
|
-
fn:
|
|
625
|
-
|
|
628
|
+
fn: w(({ isOpen: t, color: s }) => [
|
|
629
|
+
k(l.$slots, "menuIcon", R(E({ isOpen: t, color: s })), void 0, !0)
|
|
626
630
|
]),
|
|
627
631
|
key: "0"
|
|
628
632
|
} : void 0,
|
|
629
633
|
l.$slots.optionPdf ? {
|
|
630
634
|
name: "optionPdf",
|
|
631
|
-
fn:
|
|
632
|
-
|
|
635
|
+
fn: w(() => [
|
|
636
|
+
k(l.$slots, "optionPdf", {}, void 0, !0)
|
|
633
637
|
]),
|
|
634
638
|
key: "1"
|
|
635
639
|
} : void 0,
|
|
636
640
|
l.$slots.optionCsv ? {
|
|
637
641
|
name: "optionCsv",
|
|
638
|
-
fn:
|
|
639
|
-
|
|
642
|
+
fn: w(() => [
|
|
643
|
+
k(l.$slots, "optionCsv", {}, void 0, !0)
|
|
640
644
|
]),
|
|
641
645
|
key: "2"
|
|
642
646
|
} : void 0,
|
|
643
647
|
l.$slots.optionImg ? {
|
|
644
648
|
name: "optionImg",
|
|
645
|
-
fn:
|
|
646
|
-
|
|
649
|
+
fn: w(() => [
|
|
650
|
+
k(l.$slots, "optionImg", {}, void 0, !0)
|
|
647
651
|
]),
|
|
648
652
|
key: "3"
|
|
649
653
|
} : void 0,
|
|
650
654
|
l.$slots.optionSvg ? {
|
|
651
655
|
name: "optionSvg",
|
|
652
|
-
fn:
|
|
653
|
-
|
|
656
|
+
fn: w(() => [
|
|
657
|
+
k(l.$slots, "optionSvg", {}, void 0, !0)
|
|
654
658
|
]),
|
|
655
659
|
key: "4"
|
|
656
660
|
} : void 0,
|
|
657
661
|
l.$slots.optionTable ? {
|
|
658
662
|
name: "optionTable",
|
|
659
|
-
fn:
|
|
660
|
-
|
|
663
|
+
fn: w(() => [
|
|
664
|
+
k(l.$slots, "optionTable", {}, void 0, !0)
|
|
661
665
|
]),
|
|
662
666
|
key: "5"
|
|
663
667
|
} : void 0,
|
|
664
668
|
l.$slots.optionFullscreen ? {
|
|
665
669
|
name: "optionFullscreen",
|
|
666
|
-
fn:
|
|
667
|
-
|
|
670
|
+
fn: w(({ toggleFullscreen: t, isFullscreen: s }) => [
|
|
671
|
+
k(l.$slots, "optionFullscreen", R(E({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
|
|
668
672
|
]),
|
|
669
673
|
key: "6"
|
|
670
674
|
} : void 0,
|
|
671
675
|
l.$slots.optionAnnotator ? {
|
|
672
676
|
name: "optionAnnotator",
|
|
673
|
-
fn:
|
|
674
|
-
|
|
677
|
+
fn: w(({ toggleAnnotator: t, isAnnotator: s }) => [
|
|
678
|
+
k(l.$slots, "optionAnnotator", R(E({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
|
|
675
679
|
]),
|
|
676
680
|
key: "7"
|
|
677
681
|
} : void 0
|
|
@@ -680,12 +684,12 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
680
684
|
key: 3,
|
|
681
685
|
ref_key: "svgRef",
|
|
682
686
|
ref: ie,
|
|
683
|
-
xmlns: n(
|
|
684
|
-
class:
|
|
687
|
+
xmlns: n(Mt),
|
|
688
|
+
class: A({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value }),
|
|
685
689
|
viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
|
|
686
690
|
style: y(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
687
691
|
}, [
|
|
688
|
-
|
|
692
|
+
pe(n(ot)),
|
|
689
693
|
l.$slots["chart-background"] ? (a(), o("foreignObject", {
|
|
690
694
|
key: 0,
|
|
691
695
|
x: 0,
|
|
@@ -696,9 +700,9 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
696
700
|
pointerEvents: "none"
|
|
697
701
|
}
|
|
698
702
|
}, [
|
|
699
|
-
|
|
700
|
-
], 8,
|
|
701
|
-
d.value ? h("", !0) : (a(), o("g",
|
|
703
|
+
k(l.$slots, "chart-background", {}, void 0, !0)
|
|
704
|
+
], 8, sl)) : h("", !0),
|
|
705
|
+
d.value ? h("", !0) : (a(), o("g", nl, [
|
|
702
706
|
e.value.style.chart.layout.title.text ? (a(), o("text", {
|
|
703
707
|
key: 0,
|
|
704
708
|
"text-anchor": "middle",
|
|
@@ -708,7 +712,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
708
712
|
x: i.value.width / 2,
|
|
709
713
|
y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
|
|
710
714
|
onClick: T
|
|
711
|
-
}, c(e.value.style.chart.layout.title.text), 9,
|
|
715
|
+
}, c(e.value.style.chart.layout.title.text), 9, ul)) : h("", !0),
|
|
712
716
|
e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
|
|
713
717
|
key: 1,
|
|
714
718
|
"text-anchor": "middle",
|
|
@@ -718,7 +722,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
718
722
|
x: i.value.width / 2,
|
|
719
723
|
y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
|
|
720
724
|
onClick: T
|
|
721
|
-
}, c(e.value.style.chart.layout.title.subtitle.text), 9,
|
|
725
|
+
}, c(e.value.style.chart.layout.title.subtitle.text), 9, rl)) : h("", !0)
|
|
722
726
|
])),
|
|
723
727
|
u("defs", null, [
|
|
724
728
|
(a(!0), o(_, null, m(N.value, (t, s) => (a(), o("radialGradient", {
|
|
@@ -732,12 +736,12 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
732
736
|
u("stop", {
|
|
733
737
|
offset: "0%",
|
|
734
738
|
"stop-color": n(B)(n(Ve)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
|
|
735
|
-
}, null, 8,
|
|
739
|
+
}, null, 8, cl),
|
|
736
740
|
u("stop", {
|
|
737
741
|
offset: "100%",
|
|
738
742
|
"stop-color": t.color
|
|
739
|
-
}, null, 8,
|
|
740
|
-
], 8,
|
|
743
|
+
}, null, 8, dl)
|
|
744
|
+
], 8, il))), 256)),
|
|
741
745
|
(a(!0), o(_, null, m(N.value, (t) => (a(), o("linearGradient", {
|
|
742
746
|
x1: "0%",
|
|
743
747
|
y1: "0%",
|
|
@@ -748,12 +752,12 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
748
752
|
u("stop", {
|
|
749
753
|
offset: "0%",
|
|
750
754
|
"stop-color": t.color
|
|
751
|
-
}, null, 8,
|
|
755
|
+
}, null, 8, yl),
|
|
752
756
|
u("stop", {
|
|
753
757
|
offset: "100%",
|
|
754
758
|
"stop-color": n(B)(n(Ve)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
|
|
755
|
-
}, null, 8,
|
|
756
|
-
], 8,
|
|
759
|
+
}, null, 8, hl)
|
|
760
|
+
], 8, vl))), 256)),
|
|
757
761
|
u("radialGradient", {
|
|
758
762
|
cx: "50%",
|
|
759
763
|
cy: "50%",
|
|
@@ -765,16 +769,16 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
765
769
|
u("stop", {
|
|
766
770
|
offset: "0%",
|
|
767
771
|
"stop-color": n(B)("#FFFFFF", 0)
|
|
768
|
-
}, null, 8,
|
|
772
|
+
}, null, 8, fl),
|
|
769
773
|
u("stop", {
|
|
770
774
|
offset: "80%",
|
|
771
775
|
"stop-color": n(B)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
|
|
772
|
-
}, null, 8,
|
|
776
|
+
}, null, 8, gl),
|
|
773
777
|
u("stop", {
|
|
774
778
|
offset: "100%",
|
|
775
779
|
"stop-color": n(B)("#FFFFFF", 0)
|
|
776
|
-
}, null, 8,
|
|
777
|
-
], 8,
|
|
780
|
+
}, null, 8, pl)
|
|
781
|
+
], 8, bl),
|
|
778
782
|
u("radialGradient", {
|
|
779
783
|
cx: "50%",
|
|
780
784
|
cy: "50%",
|
|
@@ -786,16 +790,16 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
786
790
|
u("stop", {
|
|
787
791
|
offset: "0%",
|
|
788
792
|
"stop-color": n(B)("#FFFFFF", 0)
|
|
789
|
-
}, null, 8,
|
|
793
|
+
}, null, 8, ml),
|
|
790
794
|
u("stop", {
|
|
791
795
|
offset: "80%",
|
|
792
796
|
"stop-color": n(B)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
|
|
793
|
-
}, null, 8,
|
|
797
|
+
}, null, 8, Cl),
|
|
794
798
|
u("stop", {
|
|
795
799
|
offset: "100%",
|
|
796
800
|
"stop-color": n(B)("#FFFFFF", 0)
|
|
797
|
-
}, null, 8,
|
|
798
|
-
], 8,
|
|
801
|
+
}, null, 8, xl)
|
|
802
|
+
], 8, _l),
|
|
799
803
|
u("radialGradient", {
|
|
800
804
|
cx: "50%",
|
|
801
805
|
cy: "50%",
|
|
@@ -807,18 +811,18 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
807
811
|
u("stop", {
|
|
808
812
|
offset: "0%",
|
|
809
813
|
"stop-color": n(B)(e.value.style.chart.backgroundColor, 100)
|
|
810
|
-
}, null, 8,
|
|
814
|
+
}, null, 8, Al),
|
|
811
815
|
u("stop", {
|
|
812
816
|
offset: "80%",
|
|
813
817
|
"stop-color": n(B)(e.value.style.chart.backgroundColor, 60)
|
|
814
|
-
}, null, 8,
|
|
818
|
+
}, null, 8, wl),
|
|
815
819
|
u("stop", {
|
|
816
820
|
offset: "100%",
|
|
817
821
|
"stop-color": n(B)(e.value.style.chart.backgroundColor, 0)
|
|
818
|
-
}, null, 8,
|
|
819
|
-
], 8,
|
|
822
|
+
}, null, 8, $l)
|
|
823
|
+
], 8, kl)
|
|
820
824
|
]),
|
|
821
|
-
e.value.style.chart.layout.grandTotal.show ? (a(), o("g",
|
|
825
|
+
e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Tl, [
|
|
822
826
|
u("text", {
|
|
823
827
|
x: z.value.seedX,
|
|
824
828
|
y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
|
|
@@ -827,7 +831,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
827
831
|
fill: e.value.style.chart.layout.grandTotal.color,
|
|
828
832
|
"text-anchor": "middle",
|
|
829
833
|
onClick: T
|
|
830
|
-
}, c(e.value.style.chart.layout.grandTotal.text), 9,
|
|
834
|
+
}, c(e.value.style.chart.layout.grandTotal.text), 9, zl),
|
|
831
835
|
u("text", {
|
|
832
836
|
x: z.value.seedX,
|
|
833
837
|
y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
|
|
@@ -845,7 +849,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
845
849
|
s: e.value.style.chart.layout.grandTotal.suffix,
|
|
846
850
|
r: e.value.style.chart.layout.grandTotal.roundingValue
|
|
847
851
|
})
|
|
848
|
-
)), 9,
|
|
852
|
+
)), 9, Sl)
|
|
849
853
|
])) : h("", !0),
|
|
850
854
|
(a(!0), o(_, null, m(U.value, (t) => (a(), o("g", null, [
|
|
851
855
|
u("defs", null, [
|
|
@@ -855,32 +859,32 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
855
859
|
u("stop", {
|
|
856
860
|
offset: "0%",
|
|
857
861
|
"stop-color": t.color
|
|
858
|
-
}, null, 8,
|
|
862
|
+
}, null, 8, Nl),
|
|
859
863
|
u("stop", {
|
|
860
864
|
offset: "100%",
|
|
861
865
|
"stop-color": n(B)(t.color, e.value.style.chart.layout.links.opacity)
|
|
862
|
-
}, null, 8,
|
|
863
|
-
], 8,
|
|
866
|
+
}, null, 8, Bl)
|
|
867
|
+
], 8, Fl)
|
|
864
868
|
]),
|
|
865
869
|
u("path", {
|
|
866
|
-
d:
|
|
870
|
+
d: Ct(t),
|
|
867
871
|
stroke: n(B)(t.color, e.value.style.chart.layout.links.opacity),
|
|
868
872
|
fill: `url(#link_grad_${t.id})`,
|
|
869
873
|
"stroke-linecap": "round",
|
|
870
874
|
"stroke-linejoin": "round",
|
|
871
875
|
style: y(`opacity:${I(t) ? 1 : 0}`),
|
|
872
876
|
onClick: T
|
|
873
|
-
}, null, 12,
|
|
877
|
+
}, null, 12, Dl)
|
|
874
878
|
]))), 256)),
|
|
875
|
-
(a(!0), o(_, null, m(
|
|
879
|
+
(a(!0), o(_, null, m(X.value, (t) => (a(), o("circle", {
|
|
876
880
|
cx: t.x,
|
|
877
881
|
cy: t.y,
|
|
878
882
|
r: t.r,
|
|
879
883
|
fill: e.value.style.chart.layout.roots.underlayerColor,
|
|
880
884
|
stroke: "none",
|
|
881
885
|
style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`)
|
|
882
|
-
}, null, 12,
|
|
883
|
-
(a(!0), o(_, null, m(
|
|
886
|
+
}, null, 12, Ll))), 256)),
|
|
887
|
+
(a(!0), o(_, null, m(X.value, (t, s) => (a(), o("circle", {
|
|
884
888
|
cx: t.x,
|
|
885
889
|
cy: t.y,
|
|
886
890
|
r: t.r,
|
|
@@ -889,9 +893,9 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
889
893
|
"stroke-width": e.value.style.chart.layout.roots.strokeWidth,
|
|
890
894
|
style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`),
|
|
891
895
|
onClick: (f) => Le(t)
|
|
892
|
-
}, null, 12,
|
|
893
|
-
e.value.style.chart.layout.roots.labels.show ? (a(), o("g",
|
|
894
|
-
(a(!0), o(_, null, m(
|
|
896
|
+
}, null, 12, Il))), 256)),
|
|
897
|
+
e.value.style.chart.layout.roots.labels.show ? (a(), o("g", Ol, [
|
|
898
|
+
(a(!0), o(_, null, m(X.value, (t, s) => (a(), o("text", {
|
|
895
899
|
x: t.x,
|
|
896
900
|
y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
|
|
897
901
|
"text-anchor": "middle",
|
|
@@ -910,9 +914,9 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
910
914
|
r: e.value.style.chart.layout.roots.labels.roundingValue
|
|
911
915
|
}),
|
|
912
916
|
{ datapoint: t }
|
|
913
|
-
)), 13,
|
|
914
|
-
(a(!0), o(_, null, m(
|
|
915
|
-
d.value && t.rootIndex === d.value.rootIndex ||
|
|
917
|
+
)), 13, Pl))), 256)),
|
|
918
|
+
(a(!0), o(_, null, m(X.value, (t) => (a(), o("g", null, [
|
|
919
|
+
d.value && t.rootIndex === d.value.rootIndex || C.value && t.rootIndex === C.value.rootIndex || L.value && t.rootIndex === L.value.rootIndex ? (a(), o("g", Rl, [
|
|
916
920
|
u("text", {
|
|
917
921
|
x: t.x,
|
|
918
922
|
y: t.y + t.r + 24,
|
|
@@ -921,7 +925,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
921
925
|
"font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
|
|
922
926
|
"font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
|
|
923
927
|
onClick: T
|
|
924
|
-
}, c(t.name), 9,
|
|
928
|
+
}, c(t.name), 9, El)
|
|
925
929
|
])) : h("", !0)
|
|
926
930
|
]))), 256))
|
|
927
931
|
])) : h("", !0),
|
|
@@ -935,7 +939,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
935
939
|
stroke: "none",
|
|
936
940
|
style: y(`opacity:${I(t) ? 1 : 0.05}`),
|
|
937
941
|
onClick: (s) => ve(t)
|
|
938
|
-
}, null, 12,
|
|
942
|
+
}, null, 12, Vl))), 256)),
|
|
939
943
|
(a(!0), o(_, null, m(U.value, (t, s) => (a(), o("rect", {
|
|
940
944
|
x: t.x1,
|
|
941
945
|
y: t.y1,
|
|
@@ -947,8 +951,8 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
947
951
|
"stroke-width": e.value.style.chart.layout.branches.strokeWidth,
|
|
948
952
|
style: y(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`),
|
|
949
953
|
onClick: (f) => ve(t)
|
|
950
|
-
}, null, 12,
|
|
951
|
-
e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g",
|
|
954
|
+
}, null, 12, Ml))), 256)),
|
|
955
|
+
e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", jl, [
|
|
952
956
|
(a(!0), o(_, null, m(U.value, (t) => (a(), o("g", null, [
|
|
953
957
|
t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
|
|
954
958
|
key: 0,
|
|
@@ -970,7 +974,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
970
974
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
971
975
|
}),
|
|
972
976
|
{ datapoint: t }
|
|
973
|
-
)), 13,
|
|
977
|
+
)), 13, Gl)) : h("", !0)
|
|
974
978
|
]))), 256))
|
|
975
979
|
])) : h("", !0),
|
|
976
980
|
(a(!0), o(_, null, m(U.value, (t, s) => (a(), o("g", null, [
|
|
@@ -980,23 +984,23 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
980
984
|
t.y1 + i.value.branchSize / 2,
|
|
981
985
|
i.value.branchSize / 3,
|
|
982
986
|
i.value.branchSize / 3
|
|
983
|
-
), (f,
|
|
987
|
+
), (f, g) => (a(), o("path", {
|
|
984
988
|
d: f.path,
|
|
985
989
|
stroke: f.color,
|
|
986
990
|
"stroke-width": 10,
|
|
987
991
|
fill: "none",
|
|
988
992
|
style: y(`opacity:${I(t) ? 1 : 0.1}`)
|
|
989
|
-
}, null, 12,
|
|
993
|
+
}, null, 12, Xl))), 256)),
|
|
990
994
|
u("circle", {
|
|
991
995
|
fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${$.value})` : "transparent",
|
|
992
996
|
cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
993
997
|
cy: t.y1 + i.value.branchSize / 2,
|
|
994
998
|
r: i.value.branchSize / 2 + 2,
|
|
995
|
-
onClick: (f) =>
|
|
999
|
+
onClick: (f) => pt(t),
|
|
996
1000
|
style: y(`cursor:pointer;opacity:${I(t) ? 1 : 0.1}`)
|
|
997
|
-
}, null, 12,
|
|
1001
|
+
}, null, 12, Ul)
|
|
998
1002
|
]))), 256)),
|
|
999
|
-
e.value.style.chart.layout.branches.labels.show && !
|
|
1003
|
+
e.value.style.chart.layout.branches.labels.show && !C.value ? (a(), o("g", Wl, [
|
|
1000
1004
|
(a(!0), o(_, null, m(U.value, (t) => (a(), o("text", {
|
|
1001
1005
|
x: t.x2 + i.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
1002
1006
|
y: t.y1 + i.value.branchSize / 2 + 5,
|
|
@@ -1005,7 +1009,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1005
1009
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
1006
1010
|
"text-anchor": "start",
|
|
1007
1011
|
style: y(`opacity:${I(t) ? 1 : 0.1}`)
|
|
1008
|
-
}, c(t.name), 13,
|
|
1012
|
+
}, c(t.name), 13, Yl))), 256))
|
|
1009
1013
|
])) : h("", !0),
|
|
1010
1014
|
u("line", {
|
|
1011
1015
|
x1: 256 + i.value.padding.left,
|
|
@@ -1014,8 +1018,8 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1014
1018
|
y2: z.value.bottom,
|
|
1015
1019
|
stroke: e.value.style.chart.layout.verticalSeparator.stroke,
|
|
1016
1020
|
"stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
|
|
1017
|
-
}, null, 8,
|
|
1018
|
-
!d.value && !
|
|
1021
|
+
}, null, 8, Hl),
|
|
1022
|
+
!d.value && !C.value ? (a(), o("foreignObject", {
|
|
1019
1023
|
key: 6,
|
|
1020
1024
|
x: 0,
|
|
1021
1025
|
y: z.value.bottom,
|
|
@@ -1025,21 +1029,21 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1025
1029
|
"data-no-svg-export": "",
|
|
1026
1030
|
onClick: T
|
|
1027
1031
|
}, [
|
|
1028
|
-
u("div",
|
|
1029
|
-
u("div",
|
|
1030
|
-
(a(!0), o(_, null, m(
|
|
1032
|
+
u("div", Kl, [
|
|
1033
|
+
u("div", Zl, [
|
|
1034
|
+
(a(!0), o(_, null, m(X.value, (t) => (a(), o("div", {
|
|
1031
1035
|
style: y(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
|
|
1032
1036
|
}, [
|
|
1033
|
-
(a(), o("svg",
|
|
1037
|
+
(a(), o("svg", Jl, [
|
|
1034
1038
|
u("circle", {
|
|
1035
1039
|
cx: "10",
|
|
1036
1040
|
cy: "10",
|
|
1037
1041
|
r: "10",
|
|
1038
1042
|
fill: t.color,
|
|
1039
1043
|
stroke: "none"
|
|
1040
|
-
}, null, 8,
|
|
1044
|
+
}, null, 8, Ql)
|
|
1041
1045
|
])),
|
|
1042
|
-
n(
|
|
1046
|
+
n(we) ? h("", !0) : (a(), o(_, { key: 0 }, [
|
|
1043
1047
|
u("span", null, c(t.name) + ":", 1),
|
|
1044
1048
|
u("b", null, c(n(j)(
|
|
1045
1049
|
e.value.style.chart.layout.roots.labels.formatter,
|
|
@@ -1061,30 +1065,30 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1061
1065
|
], 4))), 256))
|
|
1062
1066
|
])
|
|
1063
1067
|
])
|
|
1064
|
-
], 8,
|
|
1065
|
-
d.value && M.value ? (a(), o("g",
|
|
1068
|
+
], 8, ql)) : h("", !0),
|
|
1069
|
+
d.value && M.value ? (a(), o("g", ea, [
|
|
1066
1070
|
(a(), o("foreignObject", {
|
|
1067
1071
|
x: 0,
|
|
1068
|
-
y:
|
|
1072
|
+
y: _t(),
|
|
1069
1073
|
height: i.value.height - z.value.bottom,
|
|
1070
1074
|
width: i.value.width,
|
|
1071
1075
|
style: { overflow: "visible" },
|
|
1072
1076
|
onClick: T
|
|
1073
1077
|
}, [
|
|
1074
|
-
u("div",
|
|
1078
|
+
u("div", la, [
|
|
1075
1079
|
u("b", null, c(d.value.name), 1),
|
|
1076
|
-
u("div",
|
|
1080
|
+
u("div", aa, [
|
|
1077
1081
|
(a(!0), o(_, null, m(d.value.breakdown, (t, s) => (a(), o("div", {
|
|
1078
1082
|
style: y(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
|
|
1079
1083
|
}, [
|
|
1080
|
-
(a(), o("svg",
|
|
1084
|
+
(a(), o("svg", oa, [
|
|
1081
1085
|
u("circle", {
|
|
1082
1086
|
cx: "10",
|
|
1083
1087
|
cy: "10",
|
|
1084
1088
|
r: "10",
|
|
1085
1089
|
fill: t.color,
|
|
1086
1090
|
stroke: "none"
|
|
1087
|
-
}, null, 8,
|
|
1091
|
+
}, null, 8, sa)
|
|
1088
1092
|
])),
|
|
1089
1093
|
u("span", null, [
|
|
1090
1094
|
Q(c(t.name) + ": ", 1),
|
|
@@ -1094,19 +1098,19 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1094
1098
|
], 4))), 256))
|
|
1095
1099
|
])
|
|
1096
1100
|
])
|
|
1097
|
-
], 8,
|
|
1101
|
+
], 8, ta)),
|
|
1098
1102
|
u("circle", {
|
|
1099
1103
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
1100
1104
|
cy: d.value.y1 + i.value.branchSize / 2,
|
|
1101
1105
|
r: 256,
|
|
1102
1106
|
fill: `url(#nut_underlayer_${$.value})`,
|
|
1103
1107
|
onClick: W,
|
|
1104
|
-
class:
|
|
1105
|
-
}, null, 10,
|
|
1108
|
+
class: A(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1109
|
+
}, null, 10, na),
|
|
1106
1110
|
(a(!0), o(_, null, m(M.value, (t) => (a(), o("g", null, [
|
|
1107
1111
|
q(t) ? (a(), o("path", {
|
|
1108
1112
|
key: 0,
|
|
1109
|
-
d: n(
|
|
1113
|
+
d: n(jt)(
|
|
1110
1114
|
t,
|
|
1111
1115
|
{
|
|
1112
1116
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
@@ -1123,8 +1127,8 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1123
1127
|
"stroke-linecap": "round",
|
|
1124
1128
|
"stroke-linejoin": "round",
|
|
1125
1129
|
fill: "none",
|
|
1126
|
-
class:
|
|
1127
|
-
}, null, 10,
|
|
1130
|
+
class: A(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1131
|
+
}, null, 10, ua)) : h("", !0)
|
|
1128
1132
|
]))), 256)),
|
|
1129
1133
|
u("circle", {
|
|
1130
1134
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
@@ -1132,32 +1136,32 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1132
1136
|
r: 118,
|
|
1133
1137
|
fill: e.value.style.chart.backgroundColor,
|
|
1134
1138
|
onClick: W,
|
|
1135
|
-
class:
|
|
1136
|
-
}, null, 10,
|
|
1139
|
+
class: A(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1140
|
+
}, null, 10, ra),
|
|
1137
1141
|
(a(!0), o(_, null, m(M.value, (t) => (a(), o("path", {
|
|
1138
1142
|
d: t.path,
|
|
1139
1143
|
stroke: t.color,
|
|
1140
1144
|
"stroke-width": 64,
|
|
1141
1145
|
fill: "none",
|
|
1142
1146
|
onClick: W,
|
|
1143
|
-
class:
|
|
1144
|
-
}, null, 10,
|
|
1147
|
+
class: A(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1148
|
+
}, null, 10, ia))), 256)),
|
|
1145
1149
|
u("circle", {
|
|
1146
1150
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
1147
1151
|
cy: d.value.y1 + i.value.branchSize / 2,
|
|
1148
1152
|
r: 110,
|
|
1149
1153
|
fill: `url(#nutpick_${$.value})`,
|
|
1150
1154
|
onClick: W,
|
|
1151
|
-
class:
|
|
1152
|
-
}, null, 10,
|
|
1155
|
+
class: A(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1156
|
+
}, null, 10, ca),
|
|
1153
1157
|
u("circle", {
|
|
1154
1158
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
1155
1159
|
cy: d.value.y1 + i.value.branchSize / 2,
|
|
1156
1160
|
r: 64,
|
|
1157
1161
|
fill: e.value.style.chart.backgroundColor,
|
|
1158
1162
|
onClick: W,
|
|
1159
|
-
class:
|
|
1160
|
-
}, null, 10,
|
|
1163
|
+
class: A(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1164
|
+
}, null, 10, da),
|
|
1161
1165
|
u("text", {
|
|
1162
1166
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
1163
1167
|
y: d.value.y1 + 8,
|
|
@@ -1166,8 +1170,8 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1166
1170
|
"font-weight": e.value.style.chart.layout.nuts.selected.labels.core.total.bold ? "bold" : "normal",
|
|
1167
1171
|
"text-anchor": "middle",
|
|
1168
1172
|
onClick: W,
|
|
1169
|
-
class:
|
|
1170
|
-
}, c(e.value.translations.total), 11,
|
|
1173
|
+
class: A(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1174
|
+
}, c(e.value.translations.total), 11, va),
|
|
1171
1175
|
u("text", {
|
|
1172
1176
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
1173
1177
|
y: d.value.y1 + 36,
|
|
@@ -1176,7 +1180,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1176
1180
|
"font-weight": e.value.style.chart.layout.nuts.selected.labels.core.value.bold ? "bold" : "normal",
|
|
1177
1181
|
"text-anchor": "middle",
|
|
1178
1182
|
onClick: W,
|
|
1179
|
-
class:
|
|
1183
|
+
class: A(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1180
1184
|
}, c(n(j)(
|
|
1181
1185
|
e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
|
|
1182
1186
|
d.value.value,
|
|
@@ -1187,7 +1191,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1187
1191
|
r: e.value.style.chart.layout.nuts.selected.roundingValue
|
|
1188
1192
|
}),
|
|
1189
1193
|
{ datapoint: d.value }
|
|
1190
|
-
)), 11,
|
|
1194
|
+
)), 11, ya),
|
|
1191
1195
|
(a(!0), o(_, null, m(M.value, (t, s) => (a(), o("g", null, [
|
|
1192
1196
|
q(t) ? (a(), o("text", {
|
|
1193
1197
|
key: 0,
|
|
@@ -1197,8 +1201,8 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1197
1201
|
fill: t.color,
|
|
1198
1202
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 2,
|
|
1199
1203
|
style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1200
|
-
class:
|
|
1201
|
-
}, " ⬤ ", 14,
|
|
1204
|
+
class: A(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1205
|
+
}, " ⬤ ", 14, ha)) : h("", !0),
|
|
1202
1206
|
q(t) ? (a(), o("text", {
|
|
1203
1207
|
key: 1,
|
|
1204
1208
|
x: n(P)(t, !0).x,
|
|
@@ -1207,8 +1211,8 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1207
1211
|
fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
1208
1212
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1209
1213
|
style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1210
|
-
class:
|
|
1211
|
-
}, c(d.value.breakdown[s].name), 15,
|
|
1214
|
+
class: A(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1215
|
+
}, c(d.value.breakdown[s].name), 15, ba)) : h("", !0)
|
|
1212
1216
|
]))), 256)),
|
|
1213
1217
|
(a(!0), o(_, null, m(M.value, (t, s) => (a(), o("g", null, [
|
|
1214
1218
|
q(t) ? (a(), o("text", {
|
|
@@ -1219,7 +1223,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1219
1223
|
fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
1220
1224
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1221
1225
|
style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1222
|
-
class:
|
|
1226
|
+
class: A(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1223
1227
|
}, c(n(F)({
|
|
1224
1228
|
v: d.value.breakdown[s].value / d.value.value * 100,
|
|
1225
1229
|
s: "%",
|
|
@@ -1234,7 +1238,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1234
1238
|
r: e.value.style.chart.layout.nuts.selected.roundingValue
|
|
1235
1239
|
}),
|
|
1236
1240
|
{ datapoint: M.value, seriesIndex: s }
|
|
1237
|
-
)), 15,
|
|
1241
|
+
)), 15, fa)) : h("", !0),
|
|
1238
1242
|
q(t) ? (a(), o("text", {
|
|
1239
1243
|
key: 1,
|
|
1240
1244
|
x: n(P)(t, !0).x,
|
|
@@ -1243,12 +1247,12 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1243
1247
|
fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
1244
1248
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1245
1249
|
style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1246
|
-
class:
|
|
1250
|
+
class: A(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1247
1251
|
}, c(n(F)({
|
|
1248
1252
|
v: d.value.breakdown[s].proportionToRoot * 100,
|
|
1249
1253
|
s: "%",
|
|
1250
1254
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
1251
|
-
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].rootName), 15,
|
|
1255
|
+
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].rootName), 15, ga)) : h("", !0),
|
|
1252
1256
|
q(t) ? (a(), o("text", {
|
|
1253
1257
|
key: 2,
|
|
1254
1258
|
x: n(P)(t, !0).x,
|
|
@@ -1257,16 +1261,16 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1257
1261
|
fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
1258
1262
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1259
1263
|
style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1260
|
-
class:
|
|
1264
|
+
class: A(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1261
1265
|
}, c(n(F)({
|
|
1262
1266
|
v: d.value.breakdown[s].proportionToTree * 100,
|
|
1263
1267
|
s: "%",
|
|
1264
1268
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
1265
|
-
})) + " " + c(e.value.translations.proportionToTree), 15,
|
|
1269
|
+
})) + " " + c(e.value.translations.proportionToTree), 15, pa)) : h("", !0)
|
|
1266
1270
|
]))), 256))
|
|
1267
1271
|
])) : h("", !0),
|
|
1268
1272
|
(a(!0), o(_, null, m(U.value, (t) => (a(), o("g", null, [
|
|
1269
|
-
|
|
1273
|
+
C.value && C.value.id === t.id && !d.value ? (a(), o("text", {
|
|
1270
1274
|
key: 0,
|
|
1271
1275
|
x: t.x1 + 6,
|
|
1272
1276
|
y: t.y1 + i.value.branchSize + 24,
|
|
@@ -1285,8 +1289,8 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1285
1289
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
1286
1290
|
}),
|
|
1287
1291
|
{ datapoint: t }
|
|
1288
|
-
)), 9,
|
|
1289
|
-
|
|
1292
|
+
)), 9, _a)) : h("", !0),
|
|
1293
|
+
C.value && C.value.id === t.id && !d.value ? (a(), o("text", {
|
|
1290
1294
|
key: 1,
|
|
1291
1295
|
x: t.x1 + 6,
|
|
1292
1296
|
y: t.y1 + i.value.branchSize + 48,
|
|
@@ -1298,8 +1302,8 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1298
1302
|
v: t.proportionToRoot * 100,
|
|
1299
1303
|
s: "%",
|
|
1300
1304
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
1301
|
-
})) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9,
|
|
1302
|
-
|
|
1305
|
+
})) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, ma)) : h("", !0),
|
|
1306
|
+
C.value && C.value.id === t.id && !d.value ? (a(), o("text", {
|
|
1303
1307
|
key: 2,
|
|
1304
1308
|
x: t.x1 + 6,
|
|
1305
1309
|
y: t.y1 + i.value.branchSize + 72,
|
|
@@ -1311,23 +1315,23 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1311
1315
|
v: t.value / D.value * 100,
|
|
1312
1316
|
s: "%",
|
|
1313
1317
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
1314
|
-
})) + " " + c(e.value.translations.proportionToTree), 9,
|
|
1318
|
+
})) + " " + c(e.value.translations.proportionToTree), 9, Ca)) : h("", !0)
|
|
1315
1319
|
]))), 256)),
|
|
1316
|
-
|
|
1317
|
-
], 14,
|
|
1318
|
-
l.$slots.watermark ? (a(), o("div",
|
|
1319
|
-
|
|
1320
|
+
k(l.$slots, "svg", { svg: i.value }, void 0, !0)
|
|
1321
|
+
], 14, ol)) : h("", !0),
|
|
1322
|
+
l.$slots.watermark ? (a(), o("div", xa, [
|
|
1323
|
+
k(l.$slots, "watermark", R(E({ isPrinting: n(ze) || n(Se) })), void 0, !0)
|
|
1320
1324
|
])) : h("", !0),
|
|
1321
|
-
|
|
1322
|
-
l.$slots.source ? (a(), o("div",
|
|
1323
|
-
|
|
1325
|
+
k(l.$slots, "legend", { legend: N.value }, void 0, !0),
|
|
1326
|
+
l.$slots.source ? (a(), o("div", ka, [
|
|
1327
|
+
k(l.$slots, "source", {}, void 0, !0)
|
|
1324
1328
|
], 512)) : h("", !0),
|
|
1325
|
-
|
|
1329
|
+
ke.value && e.value.userOptions.buttons.table ? (a(), oe(Dt(ae.value.component), Lt({ key: 6 }, ae.value.props, {
|
|
1326
1330
|
ref_key: "tableUnit",
|
|
1327
1331
|
ref: J,
|
|
1328
1332
|
onClose: be
|
|
1329
1333
|
}), Ee({
|
|
1330
|
-
content:
|
|
1334
|
+
content: w(() => [
|
|
1331
1335
|
u("div", {
|
|
1332
1336
|
ref_key: "tableContainer",
|
|
1333
1337
|
ref: Be,
|
|
@@ -1343,9 +1347,9 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1343
1347
|
tabindex: "0",
|
|
1344
1348
|
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:pointer; background:${e.value.table.th.backgroundColor};`),
|
|
1345
1349
|
onClick: be,
|
|
1346
|
-
onKeypress:
|
|
1350
|
+
onKeypress: It(be, ["enter"])
|
|
1347
1351
|
}, [
|
|
1348
|
-
|
|
1352
|
+
pe(n(xe), {
|
|
1349
1353
|
name: "close",
|
|
1350
1354
|
stroke: e.value.table.th.color,
|
|
1351
1355
|
"stroke-width": 2
|
|
@@ -1353,16 +1357,16 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1353
1357
|
], 36)),
|
|
1354
1358
|
u("div", {
|
|
1355
1359
|
style: { width: "100%" },
|
|
1356
|
-
class:
|
|
1360
|
+
class: A({ "vue-ui-responsive": n(xt) })
|
|
1357
1361
|
}, [
|
|
1358
|
-
u("table",
|
|
1362
|
+
u("table", Aa, [
|
|
1359
1363
|
e.value.table.useDialog ? h("", !0) : (a(), o("caption", {
|
|
1360
1364
|
key: 0,
|
|
1361
1365
|
style: y({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
|
|
1362
1366
|
class: "vue-ui-data-table__caption"
|
|
1363
1367
|
}, [
|
|
1364
1368
|
Q(c(e.value.style.chart.layout.title.text) + " ", 1),
|
|
1365
|
-
e.value.style.chart.layout.title.subtitle.text ? (a(), o("span",
|
|
1369
|
+
e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", wa, c(e.value.style.chart.layout.title.subtitle.text), 1)) : h("", !0)
|
|
1366
1370
|
], 4)),
|
|
1367
1371
|
u("thead", null, [
|
|
1368
1372
|
u("tr", {
|
|
@@ -1376,7 +1380,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1376
1380
|
]),
|
|
1377
1381
|
u("tbody", null, [
|
|
1378
1382
|
(a(!0), o(_, null, m(v.value.body, (t, s) => (a(), o("tr", {
|
|
1379
|
-
class:
|
|
1383
|
+
class: A({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": s % 2 === 0, "vue-ui-data-table__tbody__row-odd": s % 2 !== 0 }),
|
|
1380
1384
|
style: y(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
1381
1385
|
}, [
|
|
1382
1386
|
u("td", {
|
|
@@ -1384,99 +1388,99 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1384
1388
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1385
1389
|
"data-cell": v.value.head[0]
|
|
1386
1390
|
}, [
|
|
1387
|
-
u("div",
|
|
1388
|
-
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span",
|
|
1391
|
+
u("div", Ta, [
|
|
1392
|
+
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", za)) : (a(), o("span", Sa, c(t.rootName), 1))
|
|
1389
1393
|
])
|
|
1390
|
-
], 12,
|
|
1394
|
+
], 12, $a),
|
|
1391
1395
|
u("td", {
|
|
1392
1396
|
class: "vue-ui-data-table__tbody__td",
|
|
1393
1397
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1394
1398
|
"data-cell": v.value.head[1]
|
|
1395
1399
|
}, [
|
|
1396
|
-
u("div",
|
|
1397
|
-
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span",
|
|
1400
|
+
u("div", Na, [
|
|
1401
|
+
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", Ba)) : (a(), o("span", Da, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
|
|
1398
1402
|
])
|
|
1399
|
-
], 12,
|
|
1403
|
+
], 12, Fa),
|
|
1400
1404
|
u("td", {
|
|
1401
1405
|
class: "vue-ui-data-table__tbody__td",
|
|
1402
1406
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1403
1407
|
"data-cell": v.value.head[2]
|
|
1404
1408
|
}, [
|
|
1405
|
-
u("div",
|
|
1406
|
-
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span",
|
|
1409
|
+
u("div", Ia, [
|
|
1410
|
+
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", Oa)) : (a(), o("span", Pa, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1407
1411
|
])
|
|
1408
|
-
], 12,
|
|
1412
|
+
], 12, La),
|
|
1409
1413
|
u("td", {
|
|
1410
1414
|
class: "vue-ui-data-table__tbody__td",
|
|
1411
1415
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1412
1416
|
"data-cell": v.value.head[3]
|
|
1413
1417
|
}, [
|
|
1414
|
-
u("div",
|
|
1415
|
-
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span",
|
|
1418
|
+
u("div", Ea, [
|
|
1419
|
+
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Va)) : (a(), o("span", Ma, c(t.branchName), 1))
|
|
1416
1420
|
])
|
|
1417
|
-
], 12,
|
|
1421
|
+
], 12, Ra),
|
|
1418
1422
|
u("td", {
|
|
1419
1423
|
class: "vue-ui-data-table__tbody__td",
|
|
1420
1424
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1421
1425
|
"data-cell": v.value.head[4]
|
|
1422
1426
|
}, [
|
|
1423
|
-
u("div",
|
|
1424
|
-
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span",
|
|
1427
|
+
u("div", Ga, [
|
|
1428
|
+
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Xa)) : (a(), o("span", Ua, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
|
|
1425
1429
|
])
|
|
1426
|
-
], 12,
|
|
1430
|
+
], 12, ja),
|
|
1427
1431
|
u("td", {
|
|
1428
1432
|
class: "vue-ui-data-table__tbody__td",
|
|
1429
1433
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1430
1434
|
"data-cell": v.value.head[5]
|
|
1431
1435
|
}, [
|
|
1432
|
-
u("div",
|
|
1433
|
-
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span",
|
|
1436
|
+
u("div", Ya, [
|
|
1437
|
+
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Ha)) : (a(), o("span", qa, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1434
1438
|
])
|
|
1435
|
-
], 12,
|
|
1439
|
+
], 12, Wa),
|
|
1436
1440
|
u("td", {
|
|
1437
1441
|
class: "vue-ui-data-table__tbody__td",
|
|
1438
1442
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1439
1443
|
"data-cell": v.value.head[6]
|
|
1440
1444
|
}, [
|
|
1441
|
-
u("div",
|
|
1442
|
-
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span",
|
|
1445
|
+
u("div", Za, [
|
|
1446
|
+
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Ja)) : (a(), o("span", Qa, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1443
1447
|
])
|
|
1444
|
-
], 12,
|
|
1448
|
+
], 12, Ka),
|
|
1445
1449
|
u("td", {
|
|
1446
1450
|
class: "vue-ui-data-table__tbody__td",
|
|
1447
1451
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1448
1452
|
"data-cell": v.value.head[7]
|
|
1449
1453
|
}, [
|
|
1450
|
-
u("div",
|
|
1451
|
-
], 12,
|
|
1454
|
+
u("div", to, c(t.nutName), 1)
|
|
1455
|
+
], 12, eo),
|
|
1452
1456
|
u("td", {
|
|
1453
1457
|
class: "vue-ui-data-table__tbody__td",
|
|
1454
1458
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1455
1459
|
"data-cell": v.value.head[8]
|
|
1456
1460
|
}, [
|
|
1457
|
-
u("div",
|
|
1458
|
-
], 12,
|
|
1461
|
+
u("div", ao, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
|
|
1462
|
+
], 12, lo),
|
|
1459
1463
|
u("td", {
|
|
1460
1464
|
class: "vue-ui-data-table__tbody__td",
|
|
1461
1465
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1462
1466
|
"data-cell": v.value.head[9]
|
|
1463
1467
|
}, [
|
|
1464
|
-
u("div",
|
|
1465
|
-
], 12,
|
|
1468
|
+
u("div", so, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1469
|
+
], 12, oo),
|
|
1466
1470
|
u("td", {
|
|
1467
1471
|
class: "vue-ui-data-table__tbody__td",
|
|
1468
1472
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1469
1473
|
"data-cell": v.value.head[10]
|
|
1470
1474
|
}, [
|
|
1471
|
-
u("div",
|
|
1472
|
-
], 12,
|
|
1475
|
+
u("div", uo, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1476
|
+
], 12, no),
|
|
1473
1477
|
u("td", {
|
|
1474
1478
|
class: "vue-ui-data-table__tbody__td",
|
|
1475
1479
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1476
1480
|
"data-cell": v.value.head[11]
|
|
1477
1481
|
}, [
|
|
1478
|
-
u("div",
|
|
1479
|
-
], 12,
|
|
1482
|
+
u("div", io, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1483
|
+
], 12, ro)
|
|
1480
1484
|
], 6))), 256))
|
|
1481
1485
|
])
|
|
1482
1486
|
])
|
|
@@ -1488,20 +1492,20 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1488
1492
|
}, [
|
|
1489
1493
|
e.value.table.useDialog ? {
|
|
1490
1494
|
name: "title",
|
|
1491
|
-
fn:
|
|
1495
|
+
fn: w(() => [
|
|
1492
1496
|
Q(c(ae.value.title), 1)
|
|
1493
1497
|
]),
|
|
1494
1498
|
key: "0"
|
|
1495
1499
|
} : void 0,
|
|
1496
1500
|
e.value.table.useDialog ? {
|
|
1497
1501
|
name: "actions",
|
|
1498
|
-
fn:
|
|
1502
|
+
fn: w(() => [
|
|
1499
1503
|
u("button", {
|
|
1500
1504
|
tabindex: "0",
|
|
1501
1505
|
class: "vue-ui-user-options-button",
|
|
1502
1506
|
onClick: r[0] || (r[0] = (t) => ye(e.value.userOptions.callbacks.csv))
|
|
1503
1507
|
}, [
|
|
1504
|
-
|
|
1508
|
+
pe(n(xe), {
|
|
1505
1509
|
name: "excel",
|
|
1506
1510
|
stroke: ae.value.props.color
|
|
1507
1511
|
}, null, 8, ["stroke"])
|
|
@@ -1510,15 +1514,15 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1510
1514
|
key: "1"
|
|
1511
1515
|
} : void 0
|
|
1512
1516
|
]), 1040)) : h("", !0),
|
|
1513
|
-
n(
|
|
1514
|
-
], 46,
|
|
1517
|
+
n(we) ? (a(), oe(Yt, { key: 7 })) : h("", !0)
|
|
1518
|
+
], 46, ll));
|
|
1515
1519
|
}
|
|
1516
|
-
},
|
|
1520
|
+
}, vo = /* @__PURE__ */ tl(co, [["__scopeId", "data-v-6e30b6b8"]]), $o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1517
1521
|
__proto__: null,
|
|
1518
|
-
default:
|
|
1522
|
+
default: vo
|
|
1519
1523
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1520
1524
|
export {
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1525
|
+
wo as a,
|
|
1526
|
+
$o as b,
|
|
1527
|
+
vo as v
|
|
1524
1528
|
};
|