vue-data-ui 3.2.8 → 3.3.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/dist/{Arrow-Bb0bGghy.js → Arrow-DLi6NnGD.js} +1 -1
- package/dist/{BaseDraggableDialog-CHhZIht2.js → BaseDraggableDialog-CVGErydD.js} +2 -2
- package/dist/{BaseIcon-Bz-1GQhu.js → BaseIcon-eZbszQrv.js} +4 -3
- package/dist/{ColorPicker-B-WUqMoV.js → ColorPicker-BoPM4Ejg.js} +2 -2
- package/dist/{DataTable-BvjacRbw.js → DataTable-yAMEyP6y.js} +2 -2
- package/dist/{Legend-BpoFJ8fc.js → Legend-By4rru90.js} +2 -2
- package/dist/{NonSvgPenAndPaper-l9giyY1Z.js → NonSvgPenAndPaper-C7QqIewT.js} +3 -3
- package/dist/{PackageVersion-C40g0Rfc.js → PackageVersion-BfykJm_B.js} +1 -1
- package/dist/{PenAndPaper-CR8q353D.js → PenAndPaper-Bo-lMUik.js} +3 -3
- package/dist/{Shape-C_C_OmqR.js → Shape-BceHSLHf.js} +1 -1
- package/dist/{Slicer-BA2GhOmY.js → Slicer-Znzt0gSE.js} +2 -2
- package/dist/{SparkTooltip-Dz1PDE_h.js → SparkTooltip--YwqrrgZ.js} +1 -1
- package/dist/{Title-DG2nloSB.js → Title-Camz1Lce.js} +1 -1
- package/dist/{Tooltip-BOXz8skU.js → Tooltip-VOcQEHa4.js} +1 -1
- package/dist/{UserOptions-DsTgvAok.js → UserOptions-CSja1SGU.js} +168 -126
- 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-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-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-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-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-BgvOdfyW.js → dom-to-png-DxyZSvDx.js} +1 -1
- package/dist/{img-DjWwQXVS.js → img-J2dLIr8Y.js} +1 -1
- package/dist/{lib-BEpWEyMm.js → lib-CEjkWSLj.js} +462 -446
- package/dist/{pdf-YD0ShN36.js → pdf-anN8VbM7.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +8 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-BVJkib7z.js → useAutoSizeLabelsInsideViewbox-CovTrBjm.js} +1 -1
- package/dist/{useNestedProp-BOk-tPdu.js → useNestedProp-Ce3PwN8T.js} +291 -246
- package/dist/{usePrinter-w23K-ezx.js → usePrinter-DJ1iH-F_.js} +2 -2
- package/dist/useSvgExport-DrjCWun4.js +750 -0
- package/dist/vue-data-ui-j8Dnx_Ui.js +326 -0
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-Cf7zHemQ.js → vue-ui-3d-bar-Cml_eeEU.js} +358 -342
- package/dist/{vue-ui-accordion-CDIzGCG1.js → vue-ui-accordion-VTP418mC.js} +3 -3
- package/dist/{vue-ui-age-pyramid-T09D0LHr.js → vue-ui-age-pyramid-MULKSv5c.js} +228 -212
- package/dist/{vue-ui-annotator-3bUg-1Zy.js → vue-ui-annotator-CmwDyy9m.js} +7 -7
- package/dist/{vue-ui-bullet-DKgdFa2v.js → vue-ui-bullet-BHO5zu9m.js} +197 -179
- package/dist/{vue-ui-candlestick-g6PO_L_7.js → vue-ui-candlestick-B7EjAlSi.js} +278 -262
- package/dist/{vue-ui-carousel-table-Ch2xooE8.js → vue-ui-carousel-table-DXnYj0Gc.js} +4 -4
- package/dist/{vue-ui-chestnut-B-nzp0b6.js → vue-ui-chestnut-B1Usqda-.js} +425 -379
- package/dist/{vue-ui-chord-BqS8DoTd.js → vue-ui-chord-DgXH82Hg.js} +317 -299
- package/dist/{vue-ui-circle-pack-B1axDP9l.js → vue-ui-circle-pack-BQfaZFFz.js} +249 -233
- package/dist/{vue-ui-cursor-Detis-4Y.js → vue-ui-cursor-Dt8Zzw22.js} +2 -2
- package/dist/{vue-ui-dashboard-TXcw45j_.js → vue-ui-dashboard-C6xHAPp8.js} +67 -67
- package/dist/{vue-ui-digits-pW7YVqxy.js → vue-ui-digits-nKPRJ9Vz.js} +2 -2
- package/dist/{vue-ui-donut-evolution-BoVslTri.js → vue-ui-donut-evolution-D_CKlaay.js} +406 -384
- package/dist/{vue-ui-donut-BFpWEe2s.js → vue-ui-donut-swJu7UL2.js} +662 -645
- package/dist/{vue-ui-dumbbell-CRHvtmq9.js → vue-ui-dumbbell-siD31WFG.js} +295 -274
- package/dist/vue-ui-flow-BZCnqIs-.js +931 -0
- package/dist/{vue-ui-funnel-CKUlzitM.js → vue-ui-funnel-DmgcIRzW.js} +174 -158
- package/dist/{vue-ui-galaxy-DZqCAK9c.js → vue-ui-galaxy-C-zegxf9.js} +265 -252
- package/dist/{vue-ui-gauge-D3bPFF59.js → vue-ui-gauge-D6C8eUvP.js} +256 -240
- package/dist/{vue-ui-gizmo-oVLp367W.js → vue-ui-gizmo-iSYUVKlt.js} +3 -3
- package/dist/{vue-ui-heatmap-C1RctcPx.js → vue-ui-heatmap-RHDxexNf.js} +386 -365
- package/dist/{vue-ui-history-plot-CoQYOlF4.js → vue-ui-history-plot-4nwAd1qA.js} +307 -289
- package/dist/{vue-ui-kpi-BZX-tqIm.js → vue-ui-kpi-Dphnwumo.js} +3 -3
- package/dist/{vue-ui-mini-loader-hMqB-KQI.js → vue-ui-mini-loader-DFk9GZ5V.js} +2 -2
- package/dist/{vue-ui-molecule-D0Kr_w-v.js → vue-ui-molecule-BhisFSGQ.js} +176 -160
- package/dist/vue-ui-mood-radar-B8yHPdrV.js +876 -0
- package/dist/{vue-ui-nested-donuts-94Gu95Z9.js → vue-ui-nested-donuts-Bfp0oVSK.js} +541 -518
- package/dist/{vue-ui-onion-Dy_aTvGI.js → vue-ui-onion-f1B0W_oT.js} +318 -289
- package/dist/{vue-ui-parallel-coordinate-plot-D_oo5lQW.js → vue-ui-parallel-coordinate-plot-DcY-0R-7.js} +252 -233
- package/dist/{vue-ui-quadrant-CRYpRl_q.js → vue-ui-quadrant-DuzopA33.js} +294 -276
- package/dist/{vue-ui-quick-chart-B1s047tz.js → vue-ui-quick-chart-45Tm1UnC.js} +723 -685
- package/dist/{vue-ui-radar-DA7EuchK.js → vue-ui-radar-DDS405TF.js} +307 -282
- package/dist/{vue-ui-rating-z2bsnprP.js → vue-ui-rating-eKlTJch9.js} +2 -2
- package/dist/{vue-ui-relation-circle-DZ8IiUNu.js → vue-ui-relation-circle-BqXHJEvi.js} +146 -131
- package/dist/{vue-ui-ridgeline-5IWuJgs6.js → vue-ui-ridgeline-Lx7YOCRg.js} +320 -299
- package/dist/{vue-ui-rings-gY2f8mVf.js → vue-ui-rings-crjrV65X.js} +323 -310
- package/dist/{vue-ui-scatter-OLidvHlx.js → vue-ui-scatter-Bk4liS2c.js} +390 -372
- package/dist/{vue-ui-skeleton-BaysGsg0.js → vue-ui-skeleton-Pu9gPf97.js} +3 -3
- package/dist/{vue-ui-smiley-Dn2IR0oC.js → vue-ui-smiley-C4mhT7ZV.js} +2 -2
- package/dist/{vue-ui-spark-trend-gp5B9uF7.js → vue-ui-spark-trend-BmaybxJn.js} +3 -3
- package/dist/{vue-ui-sparkbar-8t63RYc7.js → vue-ui-sparkbar-DvhcXniz.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BWSykUpn.js → vue-ui-sparkgauge-D4Brfset.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-BEjxKMG5.js → vue-ui-sparkhistogram-D5_lR__d.js} +4 -4
- package/dist/{vue-ui-sparkline-bFF-ZCCH.js → vue-ui-sparkline-DxNG5QQg.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-HtAlEtzK.js → vue-ui-sparkstackbar-BTFzo3fq.js} +3 -3
- package/dist/{vue-ui-stackbar-CUIWPgfk.js → vue-ui-stackbar-B8glHsE6.js} +355 -337
- package/dist/{vue-ui-strip-plot-DwS52yGc.js → vue-ui-strip-plot-C5Bro8-W.js} +368 -352
- package/dist/{vue-ui-table-BYqPx7k4.js → vue-ui-table-Ddu9yx2S.js} +5 -5
- package/dist/{vue-ui-table-heatmap-CRfjUoa1.js → vue-ui-table-heatmap-J29d8nds.js} +5 -5
- package/dist/{vue-ui-table-sparkline-Bvf0ZBOi.js → vue-ui-table-sparkline-D3tgrV_k.js} +4 -4
- package/dist/{vue-ui-thermometer-BB7cHec0.js → vue-ui-thermometer-BxQIZoXd.js} +148 -133
- package/dist/{vue-ui-timer-BVDKvC4v.js → vue-ui-timer-BwFlr_19.js} +5 -5
- package/dist/vue-ui-tiremarks-KwISwJS6.js +423 -0
- package/dist/{vue-ui-treemap-nGgRTw0l.js → vue-ui-treemap-C6PLDL2Y.js} +403 -373
- package/dist/{vue-ui-vertical-bar-BJOm2JQh.js → vue-ui-vertical-bar-CTmRo06n.js} +295 -260
- package/dist/{vue-ui-waffle-aCMPaHbw.js → vue-ui-waffle-BwOLL9aa.js} +396 -377
- package/dist/{vue-ui-wheel-D_q23eOk.js → vue-ui-wheel-KI9mkz8y.js} +196 -180
- package/dist/{vue-ui-word-cloud-C7TMR4Zq.js → vue-ui-word-cloud-DTyjx6X4.js} +233 -217
- package/dist/{vue-ui-world-DtMYYQ6T.js → vue-ui-world-C3QXAlC7.js} +344 -326
- package/dist/{vue-ui-xy-Dputm9QT.js → vue-ui-xy-b-CN-G4J.js} +1601 -1707
- package/dist/{vue-ui-xy-canvas-BCeQoXNM.js → vue-ui-xy-canvas-CdkE1NHd.js} +10 -10
- package/package.json +1 -1
- package/dist/vue-data-ui-BcRg499t.js +0 -325
- package/dist/vue-ui-flow-CKGjSZoj.js +0 -909
- package/dist/vue-ui-mood-radar-C6UCofDb.js +0 -853
- package/dist/vue-ui-tiremarks-CBVuu_Zi.js +0 -407
|
@@ -1,35 +1,36 @@
|
|
|
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
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
|
|
1
|
+
import { useCssVars as _t, defineAsyncComponent as q, computed as g, ref as z, toRefs as xt, watch as be, onMounted as mt, nextTick as pe, createElementBlock as o, openBlock as a, unref as u, normalizeStyle as y, normalizeClass as w, createBlock as le, createCommentVNode as h, renderSlot as F, createSlots as Be, withCtx as P, normalizeProps as ae, guardReactiveProps as oe, createVNode as ge, createElementVNode as n, toDisplayString as c, Fragment as _, renderList as x, createTextVNode as Z, resolveDynamicComponent as kt, mergeProps as wt, withKeys as Ct } from "vue";
|
|
2
|
+
import { c as $t, t as Tt, b as zt, p as R, e as At, g as _e, f as se, h as xe, o as St, a as M, d as A, X as Nt, s as N, i as Me, E as je, n as De, u as Ft, v as J, w as V, x as It, y as Lt } from "./lib-CEjkWSLj.js";
|
|
3
|
+
import { u as Ot, a as Xe } from "./useNestedProp-Ce3PwN8T.js";
|
|
4
|
+
import { u as Pt, B as Rt } from "./BaseScanner-BgWxam9d.js";
|
|
5
|
+
import { u as Vt } from "./usePrinter-DJ1iH-F_.js";
|
|
6
|
+
import { u as Bt } from "./useSvgExport-DrjCWun4.js";
|
|
7
|
+
import { u as Mt } from "./useTableResponsive-Cbx-ACcP.js";
|
|
8
|
+
import { u as jt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
|
+
import { u as Dt } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
|
+
import Xt from "./img-J2dLIr8Y.js";
|
|
11
|
+
import { t as Et } from "./themes-Dw-dDudK.js";
|
|
12
|
+
import { _ as Gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const Ut = ["id"], Wt = {
|
|
13
14
|
key: 1,
|
|
14
15
|
ref: "noTitle",
|
|
15
16
|
class: "vue-data-ui-no-title-space",
|
|
16
17
|
style: "height:36px; width: 100%;background:transparent"
|
|
17
|
-
},
|
|
18
|
+
}, Yt = ["xmlns", "viewBox"], Ht = ["width", "height"], qt = { key: 1 }, Kt = ["fill", "font-weight", "font-size", "x", "y"], Zt = ["fill", "font-weight", "font-size", "x", "y"], Jt = ["id"], Qt = ["stop-color"], el = ["stop-color"], tl = ["id"], ll = ["stop-color"], al = ["stop-color"], ol = ["id"], sl = ["stop-color"], ul = ["stop-color"], nl = ["stop-color"], rl = ["id"], il = ["stop-color"], cl = ["stop-color"], dl = ["stop-color"], vl = ["id"], yl = ["stop-color"], hl = ["stop-color"], fl = ["stop-color"], bl = { key: 2 }, pl = ["x", "y", "font-size", "font-weight", "fill"], gl = ["x", "y", "font-size", "font-weight", "fill"], _l = ["id"], xl = ["stop-color"], ml = ["stop-color"], kl = ["d", "stroke", "fill"], wl = ["cx", "cy", "r", "fill"], Cl = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], $l = { key: 3 }, Tl = ["x", "y", "font-size", "fill", "onClick"], zl = { key: 0 }, Al = ["x", "y", "fill", "font-size", "font-weight"], Sl = ["x", "y", "height", "width", "fill", "rx", "onClick"], Nl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], Fl = { key: 4 }, Il = ["x", "y", "fill", "font-size", "onClick"], Ll = ["d", "stroke"], Ol = ["fill", "cx", "cy", "r", "onClick"], Pl = { key: 5 }, Rl = ["x", "y", "font-size", "font-weight", "fill"], Vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bl = ["y", "height", "width"], Ml = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, jl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Dl = {
|
|
18
19
|
viewBox: "0 0 20 20",
|
|
19
20
|
height: "16",
|
|
20
21
|
width: "16"
|
|
21
|
-
},
|
|
22
|
+
}, Xl = ["fill"], El = { key: 7 }, Gl = ["y", "height", "width"], Ul = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, Wl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Yl = {
|
|
22
23
|
viewBox: "0 0 20 20",
|
|
23
24
|
height: "16",
|
|
24
25
|
width: "16"
|
|
25
|
-
},
|
|
26
|
+
}, Hl = ["fill"], ql = ["cx", "cy", "fill"], Kl = ["d", "stroke"], Zl = ["cx", "cy", "fill"], Jl = ["d", "stroke"], Ql = ["cx", "cy", "fill"], ea = ["cx", "cy", "fill"], ta = ["x", "y", "fill", "font-size", "font-weight"], la = ["x", "y", "fill", "font-size", "font-weight"], aa = ["x", "text-anchor", "y", "fill", "font-size"], oa = ["x", "text-anchor", "y", "fill", "font-size"], sa = ["x", "text-anchor", "y", "fill", "font-size"], ua = ["x", "text-anchor", "y", "fill", "font-size"], na = ["x", "text-anchor", "y", "fill", "font-size"], ra = ["x", "y", "font-size", "fill"], ia = ["x", "y", "font-size", "fill"], ca = ["x", "y", "font-size", "fill"], da = {
|
|
26
27
|
key: 4,
|
|
27
28
|
class: "vue-data-ui-watermark"
|
|
28
|
-
},
|
|
29
|
+
}, va = {
|
|
29
30
|
key: 5,
|
|
30
31
|
ref: "source",
|
|
31
32
|
dir: "auto"
|
|
32
|
-
},
|
|
33
|
+
}, ya = { class: "vue-ui-data-table" }, ha = { key: 0 }, fa = ["data-cell"], ba = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, pa = { key: 0 }, ga = { key: 1 }, _a = ["data-cell"], xa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ma = { key: 0 }, ka = { key: 1 }, wa = ["data-cell"], Ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, $a = { key: 0 }, Ta = { key: 1 }, za = ["data-cell"], Aa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Sa = { key: 0 }, Na = { key: 1 }, Fa = ["data-cell"], Ia = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, La = { key: 0 }, Oa = { key: 1 }, Pa = ["data-cell"], Ra = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Va = { key: 0 }, Ba = { key: 1 }, Ma = ["data-cell"], ja = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Da = { key: 0 }, Xa = { key: 1 }, Ea = ["data-cell"], Ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ua = ["data-cell"], Wa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ya = ["data-cell"], Ha = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, qa = ["data-cell"], Ka = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Za = ["data-cell"], Ja = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Qa = {
|
|
33
34
|
__name: "vue-ui-chestnut",
|
|
34
35
|
props: {
|
|
35
36
|
config: {
|
|
@@ -46,14 +47,14 @@ const Rt = ["id"], Vt = {
|
|
|
46
47
|
}
|
|
47
48
|
},
|
|
48
49
|
emits: ["selectRoot", "selectBranch", "selectNut"],
|
|
49
|
-
setup(
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
setup(Ee, { expose: Ge, emit: Ue }) {
|
|
51
|
+
_t((l) => ({
|
|
52
|
+
v2a442640: l.tdo
|
|
52
53
|
}));
|
|
53
|
-
const
|
|
54
|
-
...
|
|
54
|
+
const me = q(() => import("./BaseIcon-eZbszQrv.js")), We = q(() => import("./vue-ui-accordion-VTP418mC.js")), Ye = q(() => import("./PenAndPaper-Bo-lMUik.js")), He = q(() => import("./UserOptions-CSja1SGU.js")), qe = q(() => import("./PackageVersion-BfykJm_B.js")), Ke = q(() => import("./BaseDraggableDialog-CVGErydD.js")), { vue_ui_chestnut: Ze } = Ot(), j = Ee, ke = g(() => !!j.dataset && j.dataset.length), C = z($t()), U = z(null), we = z(0), K = z(null), ue = z(null), e = z(ce()), { loading: Ce, FINAL_DATASET: ne } = Pt({
|
|
55
|
+
...xt(j),
|
|
55
56
|
FINAL_CONFIG: e,
|
|
56
|
-
prepareConfig:
|
|
57
|
+
prepareConfig: ce,
|
|
57
58
|
skeletonDataset: [
|
|
58
59
|
{
|
|
59
60
|
name: "_",
|
|
@@ -132,7 +133,7 @@ const Rt = ["id"], Vt = {
|
|
|
132
133
|
]
|
|
133
134
|
}
|
|
134
135
|
],
|
|
135
|
-
skeletonConfig:
|
|
136
|
+
skeletonConfig: Tt({
|
|
136
137
|
defaultConfig: e.value,
|
|
137
138
|
userConfig: {
|
|
138
139
|
userOptions: { show: !1 },
|
|
@@ -160,36 +161,36 @@ const Rt = ["id"], Vt = {
|
|
|
160
161
|
}
|
|
161
162
|
}
|
|
162
163
|
})
|
|
163
|
-
}), { userOptionsVisible: re, setUserOptionsVisibility:
|
|
164
|
-
function
|
|
165
|
-
const l =
|
|
166
|
-
userConfig:
|
|
167
|
-
defaultConfig:
|
|
164
|
+
}), { userOptionsVisible: re, setUserOptionsVisibility: $e, keepUserOptionState: Te } = jt({ config: e.value }), { svgRef: ie } = Dt({ config: e.value.style.chart.layout.title });
|
|
165
|
+
function ce() {
|
|
166
|
+
const l = Xe({
|
|
167
|
+
userConfig: j.config,
|
|
168
|
+
defaultConfig: Ze
|
|
168
169
|
});
|
|
169
170
|
return l.theme ? {
|
|
170
|
-
...
|
|
171
|
-
userConfig:
|
|
171
|
+
...Xe({
|
|
172
|
+
userConfig: Et.vue_ui_chestnut[l.theme] || j.config,
|
|
172
173
|
defaultConfig: l
|
|
173
174
|
}),
|
|
174
|
-
customPalette:
|
|
175
|
+
customPalette: zt[l.theme] || R
|
|
175
176
|
} : l;
|
|
176
177
|
}
|
|
177
|
-
|
|
178
|
-
e.value =
|
|
178
|
+
be(() => j.config, (l) => {
|
|
179
|
+
e.value = ce(), re.value = !e.value.userOptions.showOnChartHover, D.value.showTable = e.value.table.show, Oe();
|
|
179
180
|
}, { deep: !0 });
|
|
180
|
-
const { isPrinting: ze, isImaging: Ae, generatePdf: Se, generateImage: Ne } =
|
|
181
|
+
const { isPrinting: ze, isImaging: Ae, generatePdf: Se, generateImage: Ne } = Vt({
|
|
181
182
|
elementId: `vue-ui-chestnut_${C.value}`,
|
|
182
183
|
fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut",
|
|
183
184
|
options: e.value.userOptions.print
|
|
184
|
-
}),
|
|
185
|
+
}), Je = g(() => e.value.userOptions.show), de = g(() => At(e.value.customPalette)), D = z({
|
|
185
186
|
showTable: e.value.table.show
|
|
186
187
|
});
|
|
187
|
-
|
|
188
|
-
|
|
188
|
+
be(e, () => {
|
|
189
|
+
D.value = {
|
|
189
190
|
showTable: e.value.table.show
|
|
190
191
|
};
|
|
191
192
|
}, { immediate: !0 });
|
|
192
|
-
const Fe = z(null),
|
|
193
|
+
const Fe = z(null), Qe = g(() => e.value.table.responsiveBreakpoint), r = z({
|
|
193
194
|
gap: 6,
|
|
194
195
|
padding: {
|
|
195
196
|
top: 102,
|
|
@@ -201,7 +202,7 @@ const Rt = ["id"], Vt = {
|
|
|
201
202
|
height: 0,
|
|
202
203
|
branchSize: 32,
|
|
203
204
|
branchStart: 128
|
|
204
|
-
}), T =
|
|
205
|
+
}), T = g(() => ({
|
|
205
206
|
left: r.value.padding.left,
|
|
206
207
|
top: r.value.padding.top,
|
|
207
208
|
right: r.value.width - r.value.padding.right,
|
|
@@ -209,8 +210,8 @@ const Rt = ["id"], Vt = {
|
|
|
209
210
|
width: r.value.width - (r.value.padding.left + r.value.padding.right),
|
|
210
211
|
height: r.value.height - (r.value.padding.top + r.value.padding.bottom),
|
|
211
212
|
seedX: r.value.padding.left + 64
|
|
212
|
-
})),
|
|
213
|
-
|
|
213
|
+
})), I = g(() => ne.value.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0)), S = g(() => (ne.value.forEach((l, i) => {
|
|
214
|
+
_e({
|
|
214
215
|
datasetObject: l,
|
|
215
216
|
requiredAttributes: ["name", "branches"]
|
|
216
217
|
}).forEach((t) => {
|
|
@@ -222,113 +223,113 @@ const Rt = ["id"], Vt = {
|
|
|
222
223
|
debug: Q.value
|
|
223
224
|
});
|
|
224
225
|
}), l.branches && l.branches.forEach((t, s) => {
|
|
225
|
-
|
|
226
|
+
_e({
|
|
226
227
|
datasetObject: t,
|
|
227
228
|
requiredAttributes: ["name", "value"]
|
|
228
|
-
}).forEach((
|
|
229
|
+
}).forEach((b) => {
|
|
229
230
|
se({
|
|
230
231
|
componentName: "VueUiChestnut",
|
|
231
232
|
type: "datasetSerieAttribute",
|
|
232
|
-
property:
|
|
233
|
+
property: b,
|
|
233
234
|
index: `${i} - ${s}`,
|
|
234
235
|
debug: Q.value
|
|
235
236
|
});
|
|
236
|
-
}), t.breakdown && t.breakdown.forEach((
|
|
237
|
-
|
|
238
|
-
datasetObject:
|
|
237
|
+
}), t.breakdown && t.breakdown.forEach((b, p) => {
|
|
238
|
+
_e({
|
|
239
|
+
datasetObject: b,
|
|
239
240
|
requiredAttributes: ["name", "value"]
|
|
240
241
|
}).forEach((f) => {
|
|
241
242
|
se({
|
|
242
243
|
componentName: "VueUiChestnut",
|
|
243
244
|
type: "datasetSerieAttribute",
|
|
244
245
|
property: f,
|
|
245
|
-
index: `${i} - ${s} - ${
|
|
246
|
+
index: `${i} - ${s} - ${p}`,
|
|
246
247
|
debug: Q.value
|
|
247
248
|
});
|
|
248
249
|
});
|
|
249
250
|
});
|
|
250
251
|
});
|
|
251
252
|
}), ne.value.map((l, i) => {
|
|
252
|
-
const t = (l.branches || []).map((s) => s.value || 0).reduce((s,
|
|
253
|
+
const t = (l.branches || []).map((s) => s.value || 0).reduce((s, b) => s + b, 0);
|
|
253
254
|
return {
|
|
254
255
|
...l,
|
|
255
|
-
color:
|
|
256
|
+
color: xe(l.color) || de.value[i] || R[i] || R[i % R.length],
|
|
256
257
|
id: l.id || `root_${i}_${C.value}`,
|
|
257
258
|
type: "root",
|
|
258
259
|
total: t,
|
|
259
260
|
rootIndex: i,
|
|
260
|
-
branches: (l.branches || []).map((s,
|
|
261
|
+
branches: (l.branches || []).map((s, b) => ({
|
|
261
262
|
...s,
|
|
262
263
|
rootName: l.name,
|
|
263
264
|
rootIndex: i,
|
|
264
|
-
color:
|
|
265
|
+
color: xe(l.color) || de.value[i] || R[i] || R[i % R.length],
|
|
265
266
|
value: s.value >= 0 ? s.value : 0,
|
|
266
|
-
id: s.id || `branch_${i}_${
|
|
267
|
+
id: s.id || `branch_${i}_${b}_${C.value}`,
|
|
267
268
|
proportionToRoot: s.value / t,
|
|
268
269
|
type: "branch",
|
|
269
|
-
breakdown: (s.breakdown || []).map((
|
|
270
|
+
breakdown: (s.breakdown || []).map((p, f) => ({
|
|
270
271
|
table: {
|
|
271
272
|
rootName: l.name,
|
|
272
273
|
rootValue: t,
|
|
273
|
-
rootToTotal: t /
|
|
274
|
+
rootToTotal: t / I.value,
|
|
274
275
|
branchName: s.name,
|
|
275
276
|
branchValue: s.value,
|
|
276
|
-
branchToTotal: s.value /
|
|
277
|
+
branchToTotal: s.value / I.value,
|
|
277
278
|
branchToRoot: s.value / t,
|
|
278
|
-
nutName:
|
|
279
|
-
nutValue:
|
|
280
|
-
nutToTotal:
|
|
281
|
-
nutToRoot:
|
|
282
|
-
nutToBranch:
|
|
279
|
+
nutName: p.name,
|
|
280
|
+
nutValue: p.value,
|
|
281
|
+
nutToTotal: p.value / I.value,
|
|
282
|
+
nutToRoot: p.value / t,
|
|
283
|
+
nutToBranch: p.value / s.value
|
|
283
284
|
},
|
|
284
|
-
...
|
|
285
|
+
...p,
|
|
285
286
|
type: "nut",
|
|
286
287
|
branchName: s.name,
|
|
287
288
|
rootName: l.name,
|
|
288
289
|
branchTotal: s.value >= 0 ? s.value : 0,
|
|
289
|
-
proportionToBranch:
|
|
290
|
-
proportionToRoot:
|
|
291
|
-
proportionToTree:
|
|
290
|
+
proportionToBranch: p.value / s.value,
|
|
291
|
+
proportionToRoot: p.value / t,
|
|
292
|
+
proportionToTree: p.value / I.value,
|
|
292
293
|
rootIndex: i,
|
|
293
|
-
id:
|
|
294
|
-
color:
|
|
295
|
-
value:
|
|
294
|
+
id: p.id || `nut_${i}_${b}_${f}_${C.value}`,
|
|
295
|
+
color: xe(p.color) || de.value[f] || R[f] || R[f % R.length],
|
|
296
|
+
value: p.value >= 0 ? p.value : 0
|
|
296
297
|
}))
|
|
297
298
|
}))
|
|
298
299
|
};
|
|
299
300
|
})));
|
|
300
|
-
function
|
|
301
|
-
return
|
|
301
|
+
function et() {
|
|
302
|
+
return S.value;
|
|
302
303
|
}
|
|
303
|
-
const W =
|
|
304
|
-
const t = T.value.height /
|
|
304
|
+
const W = Ue, tt = g(() => S.value.flatMap((l) => l.branches).length), lt = g(() => Math.max(...S.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), at = g(() => Math.max(...S.value.flatMap((l) => l.branches.map((i) => i.value)))), Ie = g(() => 256 + r.value.padding.left), X = g(() => S.value.sort((l, i) => i.total - l.total).map((l, i) => {
|
|
305
|
+
const t = T.value.height / S.value.length / 2, s = l.total / lt.value * (t > 64 ? 64 : t);
|
|
305
306
|
return {
|
|
306
307
|
...l,
|
|
307
308
|
x: T.value.seedX,
|
|
308
|
-
y: T.value.top + T.value.height /
|
|
309
|
+
y: T.value.top + T.value.height / S.value.length * (i + 1) - (T.value.height / S.value.length / 2 + r.value.gap / 2),
|
|
309
310
|
r: s < r.value.branchSize / 2 ? r.value.branchSize / 2 : s
|
|
310
311
|
};
|
|
311
|
-
})),
|
|
312
|
+
})), ot = g(() => 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), st = g(() => X.value.flatMap((l) => l.branches)), E = g(() => st.value.sort((l, i) => i.value - l.value).map((l, i) => ({
|
|
312
313
|
...l,
|
|
313
314
|
y1: i * r.value.branchSize + T.value.top + i * r.value.gap,
|
|
314
315
|
y2: i * r.value.branchSize + r.value.branchSize,
|
|
315
316
|
x1: Ie.value,
|
|
316
|
-
x2: 384 * l.value /
|
|
317
|
+
x2: 384 * l.value / at.value * ot.value + Ie.value
|
|
317
318
|
})));
|
|
318
|
-
function
|
|
319
|
-
const i =
|
|
319
|
+
function ut(l) {
|
|
320
|
+
const i = X.value.find((t) => t.rootIndex === l.rootIndex);
|
|
320
321
|
return { x: i.x, y: i.y, r: i.r };
|
|
321
322
|
}
|
|
322
|
-
const d = z(null), B = z(null),
|
|
323
|
+
const d = z(null), B = z(null), m = z(null), L = z(null);
|
|
323
324
|
function $() {
|
|
324
|
-
d.value = null,
|
|
325
|
+
d.value = null, m.value = null, L.value = null;
|
|
325
326
|
}
|
|
326
|
-
function
|
|
327
|
-
return
|
|
327
|
+
function O(l) {
|
|
328
|
+
return L.value ? L.value === null ? !0 : l.type === "root" ? l.id === L.value.id : l.rootIndex === L.value.rootIndex : d.value === null && m.value === null ? !0 : l.type === "nut" ? d.value.id === l.id : l.type === "branch" ? m.value.id === l.id : l.type === "root" ? m.value && m.value.rootIndex === l.rootIndex || d.value && d.value.rootIndex === l.rootIndex : !1;
|
|
328
329
|
}
|
|
329
|
-
function
|
|
330
|
-
$(),
|
|
331
|
-
d.value = l,
|
|
330
|
+
function nt(l) {
|
|
331
|
+
$(), pe(() => {
|
|
332
|
+
d.value = l, m.value = l, B.value = De(
|
|
332
333
|
{ series: l.breakdown },
|
|
333
334
|
l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
334
335
|
l.y1 + r.value.branchSize / 2,
|
|
@@ -337,35 +338,35 @@ const Rt = ["id"], Vt = {
|
|
|
337
338
|
), W("selectNut", l.breakdown);
|
|
338
339
|
});
|
|
339
340
|
}
|
|
340
|
-
function
|
|
341
|
+
function G() {
|
|
341
342
|
d.value = null, B.value = null, W("selectNut", null);
|
|
342
343
|
}
|
|
343
|
-
function
|
|
344
|
-
|
|
344
|
+
function ve(l) {
|
|
345
|
+
m.value && m.value.id === l.id ? (m.value = null, $(), W("selectBranch", null)) : ($(), m.value = l, W("selectBranch", l));
|
|
345
346
|
}
|
|
346
347
|
function Le(l) {
|
|
347
|
-
|
|
348
|
+
L.value && L.value.id === l.id ? ($(), W("selectRoot", null)) : ($(), L.value = l, W("selectRoot", l));
|
|
348
349
|
}
|
|
349
|
-
function
|
|
350
|
+
function rt() {
|
|
350
351
|
return T.value.bottom - (d.value.y1 + 180) < 0 ? 0 : T.value.bottom;
|
|
351
352
|
}
|
|
352
353
|
function Y(l) {
|
|
353
354
|
return l.proportion * 100 > e.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
|
|
354
355
|
}
|
|
355
|
-
|
|
356
|
-
|
|
356
|
+
mt(() => {
|
|
357
|
+
Oe();
|
|
357
358
|
});
|
|
358
|
-
const Q =
|
|
359
|
-
function
|
|
360
|
-
|
|
359
|
+
const Q = g(() => e.value.debug);
|
|
360
|
+
function Oe() {
|
|
361
|
+
St(j.dataset) && se({
|
|
361
362
|
componentName: "VueUiChestnut",
|
|
362
363
|
type: "dataset",
|
|
363
364
|
debug: Q.value
|
|
364
365
|
});
|
|
365
|
-
const l =
|
|
366
|
+
const l = tt.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
|
|
366
367
|
r.value.height = l;
|
|
367
368
|
}
|
|
368
|
-
const v =
|
|
369
|
+
const v = g(() => {
|
|
369
370
|
const l = [
|
|
370
371
|
e.value.table.th.translations.rootName,
|
|
371
372
|
e.value.table.th.translations.rootValue,
|
|
@@ -379,64 +380,64 @@ const Rt = ["id"], Vt = {
|
|
|
379
380
|
e.value.table.th.translations.nutToBranch,
|
|
380
381
|
e.value.table.th.translations.nutToRoot,
|
|
381
382
|
e.value.table.th.translations.nutToTotal
|
|
382
|
-
], i =
|
|
383
|
+
], i = S.value.flatMap((t, s) => t.branches.flatMap((b, p) => b.breakdown.flatMap((f, k) => f.table)));
|
|
383
384
|
return { head: l, body: i };
|
|
384
385
|
});
|
|
385
|
-
function
|
|
386
|
-
|
|
387
|
-
const i = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total",
|
|
388
|
-
v.value.body[
|
|
389
|
-
v.value.body[
|
|
390
|
-
v.value.body[
|
|
391
|
-
v.value.body[
|
|
392
|
-
v.value.body[
|
|
393
|
-
v.value.body[
|
|
394
|
-
v.value.body[
|
|
386
|
+
function ye(l = null) {
|
|
387
|
+
pe(() => {
|
|
388
|
+
const i = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", I.value], [""]], t = v.value.head, s = v.value.body.map((f, k) => [
|
|
389
|
+
v.value.body[k - 1] && v.value.body[k - 1].rootName === f.rootName ? "" : f.rootName,
|
|
390
|
+
v.value.body[k - 1] && v.value.body[k - 1].rootName === f.rootName ? "" : f.rootValue,
|
|
391
|
+
v.value.body[k - 1] && v.value.body[k - 1].rootName === f.rootName ? "" : f.rootToTotal,
|
|
392
|
+
v.value.body[k - 1] && v.value.body[k - 1].branchName === f.branchName ? "" : f.branchName,
|
|
393
|
+
v.value.body[k - 1] && v.value.body[k - 1].branchName === f.branchName ? "" : f.branchValue,
|
|
394
|
+
v.value.body[k - 1] && v.value.body[k - 1].branchName === f.branchName ? "" : f.branchToRoot,
|
|
395
|
+
v.value.body[k - 1] && v.value.body[k - 1].branchName === f.branchName ? "" : f.branchToTotal,
|
|
395
396
|
f.nutName,
|
|
396
397
|
f.nutValue,
|
|
397
398
|
f.nutToBranch,
|
|
398
399
|
f.nutToRoot,
|
|
399
400
|
f.nutToTotal
|
|
400
|
-
]),
|
|
401
|
-
l ? l(
|
|
401
|
+
]), b = i.concat([t]).concat(s), p = It(b);
|
|
402
|
+
l ? l(p) : Lt({ csvContent: p, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
|
|
402
403
|
});
|
|
403
404
|
}
|
|
404
405
|
const H = z(!1);
|
|
405
|
-
function
|
|
406
|
-
H.value = l,
|
|
406
|
+
function Pe(l) {
|
|
407
|
+
H.value = l, we.value += 1;
|
|
407
408
|
}
|
|
408
409
|
function Re() {
|
|
409
|
-
|
|
410
|
+
D.value.showTable = !D.value.showTable;
|
|
410
411
|
}
|
|
411
412
|
const ee = z(!1);
|
|
412
|
-
function
|
|
413
|
+
function he() {
|
|
413
414
|
ee.value = !ee.value;
|
|
414
415
|
}
|
|
415
|
-
async function
|
|
416
|
+
async function it({ scale: l = 2 } = {}) {
|
|
416
417
|
if (!U.value) return;
|
|
417
|
-
const { width: i, height: t } = U.value.getBoundingClientRect(), s = i / t, { imageUri:
|
|
418
|
+
const { width: i, height: t } = U.value.getBoundingClientRect(), s = i / t, { imageUri: b, base64: p } = await Xt({ domElement: U.value, base64: !0, img: !0, scale: l });
|
|
418
419
|
return {
|
|
419
|
-
imageUri:
|
|
420
|
-
base64:
|
|
420
|
+
imageUri: b,
|
|
421
|
+
base64: p,
|
|
421
422
|
title: e.value.style.chart.layout.title.text,
|
|
422
423
|
width: i,
|
|
423
424
|
height: t,
|
|
424
425
|
aspectRatio: s
|
|
425
426
|
};
|
|
426
427
|
}
|
|
427
|
-
function
|
|
428
|
-
const i =
|
|
428
|
+
function ct(l) {
|
|
429
|
+
const i = ut(l), t = l.x1, s = l.y1, b = r.value.branchSize, p = i.x + i.r / 2, f = i.y, k = 20;
|
|
429
430
|
return [
|
|
430
431
|
`M ${t},${s}`,
|
|
431
|
-
`C ${t -
|
|
432
|
-
`C ${
|
|
432
|
+
`C ${t - k},${s} ${t - k},${s} ${p},${f}`,
|
|
433
|
+
`C ${p},${f} ${t - k},${s + b} ${t},${s + b}`,
|
|
433
434
|
"Z"
|
|
434
435
|
].join(" ");
|
|
435
436
|
}
|
|
436
|
-
const te =
|
|
437
|
-
const l = e.value.table.useDialog && !e.value.table.show, i =
|
|
437
|
+
const te = g(() => {
|
|
438
|
+
const l = e.value.table.useDialog && !e.value.table.show, i = D.value.showTable;
|
|
438
439
|
return {
|
|
439
|
-
component: l ?
|
|
440
|
+
component: l ? Ke : We,
|
|
440
441
|
title: `${e.value.style.chart.layout.title.text}${e.value.style.chart.layout.title.subtitle.text ? `: ${e.value.style.chart.layout.title.subtitle.text}` : ""}`,
|
|
441
442
|
props: l ? {
|
|
442
443
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -463,44 +464,86 @@ const Rt = ["id"], Vt = {
|
|
|
463
464
|
}
|
|
464
465
|
};
|
|
465
466
|
});
|
|
466
|
-
|
|
467
|
-
e.value.table.show || (l && e.value.table.useDialog && K.value ? (await
|
|
467
|
+
be(() => D.value.showTable, async (l) => {
|
|
468
|
+
e.value.table.show || (l && e.value.table.useDialog && K.value ? (await pe(), K.value.open()) : "close" in K.value && K.value.close());
|
|
468
469
|
});
|
|
469
|
-
const { isResponsive:
|
|
470
|
-
function
|
|
471
|
-
|
|
470
|
+
const { isResponsive: dt } = Mt(Fe, Qe);
|
|
471
|
+
function fe() {
|
|
472
|
+
D.value.showTable = !1, ue.value && ue.value.setTableIconState(!1);
|
|
473
|
+
}
|
|
474
|
+
const vt = g(() => S.value.map((l, i) => ({
|
|
475
|
+
...l,
|
|
476
|
+
display: `${l.name}: ${M(
|
|
477
|
+
e.value.style.chart.layout.roots.labels.formatter,
|
|
478
|
+
l.total,
|
|
479
|
+
A({
|
|
480
|
+
p: e.value.style.chart.layout.legend.prefix,
|
|
481
|
+
v: l.total,
|
|
482
|
+
s: e.value.style.chart.layout.legend.suffix,
|
|
483
|
+
r: e.value.style.chart.layout.legend.roundingValue
|
|
484
|
+
}),
|
|
485
|
+
{ datapoint: l }
|
|
486
|
+
)} (${A({
|
|
487
|
+
v: l.total / I.value * 100,
|
|
488
|
+
s: "%",
|
|
489
|
+
r: e.value.style.chart.layout.legend.roundingPercentage
|
|
490
|
+
})})`
|
|
491
|
+
}))), yt = g(() => vt.value.map((l) => ({
|
|
492
|
+
color: l.color,
|
|
493
|
+
name: l.display,
|
|
494
|
+
shape: "circle"
|
|
495
|
+
}))), ht = g(() => e.value.style.chart.backgroundColor), ft = g(() => ({
|
|
496
|
+
...e.value.style.chart.layout.legend,
|
|
497
|
+
textAlign: "center",
|
|
498
|
+
show: !0,
|
|
499
|
+
position: "bottom"
|
|
500
|
+
})), bt = g(() => e.value.style.chart.layout.title), { exportSvg: pt, getSvg: gt } = Bt({
|
|
501
|
+
svg: ie,
|
|
502
|
+
title: bt,
|
|
503
|
+
legend: ft,
|
|
504
|
+
legendItems: yt,
|
|
505
|
+
backgroundColor: ht,
|
|
506
|
+
titleEmbedded: !0
|
|
507
|
+
});
|
|
508
|
+
async function Ve({ isCb: l }) {
|
|
509
|
+
if (l) {
|
|
510
|
+
const { blob: i, url: t, text: s, dataUrl: b } = await gt();
|
|
511
|
+
e.value.userOptions.callbacks.svg({ blob: i, url: t, text: s, dataUrl: b });
|
|
512
|
+
} else
|
|
513
|
+
pt();
|
|
472
514
|
}
|
|
473
|
-
return
|
|
474
|
-
getData:
|
|
475
|
-
getImage:
|
|
515
|
+
return Ge({
|
|
516
|
+
getData: et,
|
|
517
|
+
getImage: it,
|
|
476
518
|
generatePdf: Se,
|
|
477
|
-
generateCsv:
|
|
519
|
+
generateCsv: ye,
|
|
478
520
|
generateImage: Ne,
|
|
521
|
+
generateSvg: Ve,
|
|
479
522
|
toggleTable: Re,
|
|
480
|
-
toggleAnnotator:
|
|
481
|
-
toggleFullscreen:
|
|
523
|
+
toggleAnnotator: he,
|
|
524
|
+
toggleFullscreen: Pe
|
|
482
525
|
}), (l, i) => (a(), o("div", {
|
|
483
526
|
class: w(`vue-data-ui-component vue-ui-chestnut ${H.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
484
527
|
ref_key: "chestnutChart",
|
|
485
528
|
ref: U,
|
|
486
529
|
id: `vue-ui-chestnut_${C.value}`,
|
|
487
530
|
style: y(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
488
|
-
onMouseenter: i[1] || (i[1] = () => u(
|
|
489
|
-
onMouseleave: i[2] || (i[2] = () => u(
|
|
531
|
+
onMouseenter: i[1] || (i[1] = () => u($e)(!0)),
|
|
532
|
+
onMouseleave: i[2] || (i[2] = () => u($e)(!1))
|
|
490
533
|
}, [
|
|
491
|
-
e.value.userOptions.buttons.annotator ? (a(), le(u(
|
|
534
|
+
e.value.userOptions.buttons.annotator ? (a(), le(u(Ye), {
|
|
492
535
|
key: 0,
|
|
493
|
-
svgRef: u(
|
|
536
|
+
svgRef: u(ie),
|
|
494
537
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
495
538
|
color: e.value.style.chart.color,
|
|
496
539
|
active: ee.value,
|
|
497
|
-
onClose:
|
|
540
|
+
onClose: he
|
|
498
541
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
499
|
-
|
|
500
|
-
e.value.userOptions.show &&
|
|
542
|
+
Je.value ? (a(), o("div", Wt, null, 512)) : h("", !0),
|
|
543
|
+
e.value.userOptions.show && ke.value && (u(Te) || u(re)) ? (a(), le(u(He), {
|
|
501
544
|
ref_key: "userOptionsRef",
|
|
502
545
|
ref: ue,
|
|
503
|
-
key: `user_options_${
|
|
546
|
+
key: `user_options_${we.value}`,
|
|
504
547
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
505
548
|
color: e.value.style.chart.color,
|
|
506
549
|
isImaging: u(Ae),
|
|
@@ -508,6 +551,7 @@ const Rt = ["id"], Vt = {
|
|
|
508
551
|
uid: C.value,
|
|
509
552
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
510
553
|
hasImg: e.value.userOptions.buttons.img,
|
|
554
|
+
hasSvg: e.value.userOptions.buttons.svg,
|
|
511
555
|
hasXls: e.value.userOptions.buttons.csv,
|
|
512
556
|
hasTable: e.value.userOptions.buttons.table,
|
|
513
557
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
@@ -520,16 +564,17 @@ const Rt = ["id"], Vt = {
|
|
|
520
564
|
callbacks: e.value.userOptions.callbacks,
|
|
521
565
|
printScale: e.value.userOptions.print.scale,
|
|
522
566
|
tableDialog: e.value.table.useDialog,
|
|
523
|
-
onToggleFullscreen:
|
|
567
|
+
onToggleFullscreen: Pe,
|
|
524
568
|
onGeneratePdf: u(Se),
|
|
525
|
-
onGenerateCsv:
|
|
569
|
+
onGenerateCsv: ye,
|
|
526
570
|
onGenerateImage: u(Ne),
|
|
571
|
+
onGenerateSvg: Ve,
|
|
527
572
|
onToggleTable: Re,
|
|
528
|
-
onToggleAnnotator:
|
|
573
|
+
onToggleAnnotator: he,
|
|
529
574
|
style: y({
|
|
530
|
-
visibility: u(
|
|
575
|
+
visibility: u(Te) ? u(re) ? "visible" : "hidden" : "visible"
|
|
531
576
|
})
|
|
532
|
-
},
|
|
577
|
+
}, Be({ _: 2 }, [
|
|
533
578
|
l.$slots.menuIcon ? {
|
|
534
579
|
name: "menuIcon",
|
|
535
580
|
fn: P(({ isOpen: t, color: s }) => [
|
|
@@ -579,17 +624,17 @@ const Rt = ["id"], Vt = {
|
|
|
579
624
|
]),
|
|
580
625
|
key: "6"
|
|
581
626
|
} : void 0
|
|
582
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
627
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
583
628
|
r.value.height > 0 ? (a(), o("svg", {
|
|
584
629
|
key: 3,
|
|
585
630
|
ref_key: "svgRef",
|
|
586
|
-
ref:
|
|
587
|
-
xmlns: u(
|
|
631
|
+
ref: ie,
|
|
632
|
+
xmlns: u(Nt),
|
|
588
633
|
class: w({ "vue-data-ui-fullscreen--on": H.value, "vue-data-ui-fulscreen--off": !H.value }),
|
|
589
634
|
viewBox: `0 0 ${r.value.width <= 0 ? 10 : r.value.width} ${r.value.height <= 0 ? 10 : r.value.height}`,
|
|
590
635
|
style: y(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
591
636
|
}, [
|
|
592
|
-
|
|
637
|
+
ge(u(qe)),
|
|
593
638
|
l.$slots["chart-background"] ? (a(), o("foreignObject", {
|
|
594
639
|
key: 0,
|
|
595
640
|
x: 0,
|
|
@@ -601,8 +646,8 @@ const Rt = ["id"], Vt = {
|
|
|
601
646
|
}
|
|
602
647
|
}, [
|
|
603
648
|
F(l.$slots, "chart-background", {}, void 0, !0)
|
|
604
|
-
], 8,
|
|
605
|
-
d.value ? h("", !0) : (a(), o("g",
|
|
649
|
+
], 8, Ht)) : h("", !0),
|
|
650
|
+
d.value ? h("", !0) : (a(), o("g", qt, [
|
|
606
651
|
e.value.style.chart.layout.title.text ? (a(), o("text", {
|
|
607
652
|
key: 0,
|
|
608
653
|
"text-anchor": "middle",
|
|
@@ -612,7 +657,7 @@ const Rt = ["id"], Vt = {
|
|
|
612
657
|
x: r.value.width / 2,
|
|
613
658
|
y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
|
|
614
659
|
onClick: $
|
|
615
|
-
}, c(e.value.style.chart.layout.title.text), 9,
|
|
660
|
+
}, c(e.value.style.chart.layout.title.text), 9, Kt)) : h("", !0),
|
|
616
661
|
e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
|
|
617
662
|
key: 1,
|
|
618
663
|
"text-anchor": "middle",
|
|
@@ -622,10 +667,10 @@ const Rt = ["id"], Vt = {
|
|
|
622
667
|
x: r.value.width / 2,
|
|
623
668
|
y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
|
|
624
669
|
onClick: $
|
|
625
|
-
}, c(e.value.style.chart.layout.title.subtitle.text), 9,
|
|
670
|
+
}, c(e.value.style.chart.layout.title.subtitle.text), 9, Zt)) : h("", !0)
|
|
626
671
|
])),
|
|
627
672
|
n("defs", null, [
|
|
628
|
-
(a(!0), o(
|
|
673
|
+
(a(!0), o(_, null, x(S.value, (t, s) => (a(), o("radialGradient", {
|
|
629
674
|
cx: "50%",
|
|
630
675
|
cy: "50%",
|
|
631
676
|
r: "50%",
|
|
@@ -635,14 +680,14 @@ const Rt = ["id"], Vt = {
|
|
|
635
680
|
}, [
|
|
636
681
|
n("stop", {
|
|
637
682
|
offset: "0%",
|
|
638
|
-
"stop-color": u(
|
|
639
|
-
}, null, 8,
|
|
683
|
+
"stop-color": u(N)(u(Me)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
|
|
684
|
+
}, null, 8, Qt),
|
|
640
685
|
n("stop", {
|
|
641
686
|
offset: "100%",
|
|
642
687
|
"stop-color": t.color
|
|
643
|
-
}, null, 8,
|
|
644
|
-
], 8,
|
|
645
|
-
(a(!0), o(
|
|
688
|
+
}, null, 8, el)
|
|
689
|
+
], 8, Jt))), 256)),
|
|
690
|
+
(a(!0), o(_, null, x(S.value, (t) => (a(), o("linearGradient", {
|
|
646
691
|
x1: "0%",
|
|
647
692
|
y1: "0%",
|
|
648
693
|
x2: "100%",
|
|
@@ -652,12 +697,12 @@ const Rt = ["id"], Vt = {
|
|
|
652
697
|
n("stop", {
|
|
653
698
|
offset: "0%",
|
|
654
699
|
"stop-color": t.color
|
|
655
|
-
}, null, 8,
|
|
700
|
+
}, null, 8, ll),
|
|
656
701
|
n("stop", {
|
|
657
702
|
offset: "100%",
|
|
658
|
-
"stop-color": u(
|
|
659
|
-
}, null, 8,
|
|
660
|
-
], 8,
|
|
703
|
+
"stop-color": u(N)(u(Me)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
|
|
704
|
+
}, null, 8, al)
|
|
705
|
+
], 8, tl))), 256)),
|
|
661
706
|
n("radialGradient", {
|
|
662
707
|
cx: "50%",
|
|
663
708
|
cy: "50%",
|
|
@@ -668,17 +713,17 @@ const Rt = ["id"], Vt = {
|
|
|
668
713
|
}, [
|
|
669
714
|
n("stop", {
|
|
670
715
|
offset: "0%",
|
|
671
|
-
"stop-color": u(
|
|
672
|
-
}, null, 8,
|
|
716
|
+
"stop-color": u(N)("#FFFFFF", 0)
|
|
717
|
+
}, null, 8, sl),
|
|
673
718
|
n("stop", {
|
|
674
719
|
offset: "80%",
|
|
675
|
-
"stop-color": u(
|
|
676
|
-
}, null, 8,
|
|
720
|
+
"stop-color": u(N)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
|
|
721
|
+
}, null, 8, ul),
|
|
677
722
|
n("stop", {
|
|
678
723
|
offset: "100%",
|
|
679
|
-
"stop-color": u(
|
|
680
|
-
}, null, 8,
|
|
681
|
-
], 8,
|
|
724
|
+
"stop-color": u(N)("#FFFFFF", 0)
|
|
725
|
+
}, null, 8, nl)
|
|
726
|
+
], 8, ol),
|
|
682
727
|
n("radialGradient", {
|
|
683
728
|
cx: "50%",
|
|
684
729
|
cy: "50%",
|
|
@@ -689,17 +734,17 @@ const Rt = ["id"], Vt = {
|
|
|
689
734
|
}, [
|
|
690
735
|
n("stop", {
|
|
691
736
|
offset: "0%",
|
|
692
|
-
"stop-color": u(
|
|
693
|
-
}, null, 8,
|
|
737
|
+
"stop-color": u(N)("#FFFFFF", 0)
|
|
738
|
+
}, null, 8, il),
|
|
694
739
|
n("stop", {
|
|
695
740
|
offset: "80%",
|
|
696
|
-
"stop-color": u(
|
|
697
|
-
}, null, 8,
|
|
741
|
+
"stop-color": u(N)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
|
|
742
|
+
}, null, 8, cl),
|
|
698
743
|
n("stop", {
|
|
699
744
|
offset: "100%",
|
|
700
|
-
"stop-color": u(
|
|
701
|
-
}, null, 8,
|
|
702
|
-
], 8,
|
|
745
|
+
"stop-color": u(N)("#FFFFFF", 0)
|
|
746
|
+
}, null, 8, dl)
|
|
747
|
+
], 8, rl),
|
|
703
748
|
n("radialGradient", {
|
|
704
749
|
cx: "50%",
|
|
705
750
|
cy: "50%",
|
|
@@ -710,19 +755,19 @@ const Rt = ["id"], Vt = {
|
|
|
710
755
|
}, [
|
|
711
756
|
n("stop", {
|
|
712
757
|
offset: "0%",
|
|
713
|
-
"stop-color": u(
|
|
714
|
-
}, null, 8,
|
|
758
|
+
"stop-color": u(N)(e.value.style.chart.backgroundColor, 100)
|
|
759
|
+
}, null, 8, yl),
|
|
715
760
|
n("stop", {
|
|
716
761
|
offset: "80%",
|
|
717
|
-
"stop-color": u(
|
|
718
|
-
}, null, 8,
|
|
762
|
+
"stop-color": u(N)(e.value.style.chart.backgroundColor, 60)
|
|
763
|
+
}, null, 8, hl),
|
|
719
764
|
n("stop", {
|
|
720
765
|
offset: "100%",
|
|
721
|
-
"stop-color": u(
|
|
722
|
-
}, null, 8,
|
|
723
|
-
], 8,
|
|
766
|
+
"stop-color": u(N)(e.value.style.chart.backgroundColor, 0)
|
|
767
|
+
}, null, 8, fl)
|
|
768
|
+
], 8, vl)
|
|
724
769
|
]),
|
|
725
|
-
e.value.style.chart.layout.grandTotal.show ? (a(), o("g",
|
|
770
|
+
e.value.style.chart.layout.grandTotal.show ? (a(), o("g", bl, [
|
|
726
771
|
n("text", {
|
|
727
772
|
x: T.value.seedX,
|
|
728
773
|
y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
|
|
@@ -731,7 +776,7 @@ const Rt = ["id"], Vt = {
|
|
|
731
776
|
fill: e.value.style.chart.layout.grandTotal.color,
|
|
732
777
|
"text-anchor": "middle",
|
|
733
778
|
onClick: $
|
|
734
|
-
}, c(e.value.style.chart.layout.grandTotal.text), 9,
|
|
779
|
+
}, c(e.value.style.chart.layout.grandTotal.text), 9, pl),
|
|
735
780
|
n("text", {
|
|
736
781
|
x: T.value.seedX,
|
|
737
782
|
y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
|
|
@@ -740,18 +785,18 @@ const Rt = ["id"], Vt = {
|
|
|
740
785
|
fill: e.value.style.chart.layout.grandTotal.color,
|
|
741
786
|
"text-anchor": "middle",
|
|
742
787
|
onClick: $
|
|
743
|
-
}, c(u(
|
|
788
|
+
}, c(u(M)(
|
|
744
789
|
e.value.style.chart.layout.grandTotal.formatter,
|
|
745
|
-
|
|
746
|
-
u(
|
|
790
|
+
I.value,
|
|
791
|
+
u(A)({
|
|
747
792
|
p: e.value.style.chart.layout.grandTotal.prefix,
|
|
748
|
-
v:
|
|
793
|
+
v: I.value,
|
|
749
794
|
s: e.value.style.chart.layout.grandTotal.suffix,
|
|
750
795
|
r: e.value.style.chart.layout.grandTotal.roundingValue
|
|
751
796
|
})
|
|
752
|
-
)), 9,
|
|
797
|
+
)), 9, gl)
|
|
753
798
|
])) : h("", !0),
|
|
754
|
-
(a(!0), o(
|
|
799
|
+
(a(!0), o(_, null, x(E.value, (t) => (a(), o("g", null, [
|
|
755
800
|
n("defs", null, [
|
|
756
801
|
n("linearGradient", {
|
|
757
802
|
id: `link_grad_${t.id}`
|
|
@@ -759,64 +804,64 @@ const Rt = ["id"], Vt = {
|
|
|
759
804
|
n("stop", {
|
|
760
805
|
offset: "0%",
|
|
761
806
|
"stop-color": t.color
|
|
762
|
-
}, null, 8,
|
|
807
|
+
}, null, 8, xl),
|
|
763
808
|
n("stop", {
|
|
764
809
|
offset: "100%",
|
|
765
|
-
"stop-color": u(
|
|
766
|
-
}, null, 8,
|
|
767
|
-
], 8,
|
|
810
|
+
"stop-color": u(N)(t.color, e.value.style.chart.layout.links.opacity)
|
|
811
|
+
}, null, 8, ml)
|
|
812
|
+
], 8, _l)
|
|
768
813
|
]),
|
|
769
814
|
n("path", {
|
|
770
|
-
d:
|
|
771
|
-
stroke: u(
|
|
815
|
+
d: ct(t),
|
|
816
|
+
stroke: u(N)(t.color, e.value.style.chart.layout.links.opacity),
|
|
772
817
|
fill: `url(#link_grad_${t.id})`,
|
|
773
818
|
"stroke-linecap": "round",
|
|
774
819
|
"stroke-linejoin": "round",
|
|
775
|
-
style: y(`opacity:${
|
|
820
|
+
style: y(`opacity:${O(t) ? 1 : 0}`),
|
|
776
821
|
onClick: $
|
|
777
|
-
}, null, 12,
|
|
822
|
+
}, null, 12, kl)
|
|
778
823
|
]))), 256)),
|
|
779
|
-
(a(!0), o(
|
|
824
|
+
(a(!0), o(_, null, x(X.value, (t) => (a(), o("circle", {
|
|
780
825
|
cx: t.x,
|
|
781
826
|
cy: t.y,
|
|
782
827
|
r: t.r,
|
|
783
828
|
fill: e.value.style.chart.layout.roots.underlayerColor,
|
|
784
829
|
stroke: "none",
|
|
785
|
-
style: y(`cursor:pointer; opacity:${
|
|
786
|
-
}, null, 12,
|
|
787
|
-
(a(!0), o(
|
|
830
|
+
style: y(`cursor:pointer; opacity:${O(t) ? 1 : 0.05}`)
|
|
831
|
+
}, null, 12, wl))), 256)),
|
|
832
|
+
(a(!0), o(_, null, x(X.value, (t, s) => (a(), o("circle", {
|
|
788
833
|
cx: t.x,
|
|
789
834
|
cy: t.y,
|
|
790
835
|
r: t.r,
|
|
791
836
|
fill: e.value.style.chart.layout.roots.useGradient ? `url(#root_gradient_${C.value}_${t.rootIndex})` : t.color,
|
|
792
837
|
stroke: e.value.style.chart.layout.roots.stroke,
|
|
793
838
|
"stroke-width": e.value.style.chart.layout.roots.strokeWidth,
|
|
794
|
-
style: y(`cursor:pointer; opacity:${
|
|
795
|
-
onClick: (
|
|
796
|
-
}, null, 12,
|
|
797
|
-
e.value.style.chart.layout.roots.labels.show ? (a(), o("g",
|
|
798
|
-
(a(!0), o(
|
|
839
|
+
style: y(`cursor:pointer; opacity:${O(t) ? 1 : 0.05}`),
|
|
840
|
+
onClick: (b) => Le(t)
|
|
841
|
+
}, null, 12, Cl))), 256)),
|
|
842
|
+
e.value.style.chart.layout.roots.labels.show ? (a(), o("g", $l, [
|
|
843
|
+
(a(!0), o(_, null, x(X.value, (t, s) => (a(), o("text", {
|
|
799
844
|
x: t.x,
|
|
800
845
|
y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
|
|
801
846
|
"text-anchor": "middle",
|
|
802
847
|
"font-size": e.value.style.chart.layout.roots.labels.fontSize,
|
|
803
|
-
fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? u(
|
|
848
|
+
fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? u(je)(t.color) : e.value.style.chart.layout.roots.labels.color,
|
|
804
849
|
"font-weight": "bold",
|
|
805
|
-
style: y(`cursor:pointer; opacity:${
|
|
806
|
-
onClick: (
|
|
807
|
-
}, c(u(
|
|
850
|
+
style: y(`cursor:pointer; opacity:${O(t) ? 1 : 0.05}`),
|
|
851
|
+
onClick: (b) => Le(t)
|
|
852
|
+
}, c(u(M)(
|
|
808
853
|
e.value.style.chart.layout.roots.labels.formatter,
|
|
809
854
|
t.total,
|
|
810
|
-
u(
|
|
855
|
+
u(A)({
|
|
811
856
|
p: e.value.style.chart.layout.roots.labels.prefix,
|
|
812
857
|
v: t.total,
|
|
813
858
|
s: e.value.style.chart.layout.roots.labels.suffix,
|
|
814
859
|
r: e.value.style.chart.layout.roots.labels.roundingValue
|
|
815
860
|
}),
|
|
816
861
|
{ datapoint: t }
|
|
817
|
-
)), 13,
|
|
818
|
-
(a(!0), o(
|
|
819
|
-
d.value && t.rootIndex === d.value.rootIndex ||
|
|
862
|
+
)), 13, Tl))), 256)),
|
|
863
|
+
(a(!0), o(_, null, x(X.value, (t) => (a(), o("g", null, [
|
|
864
|
+
d.value && t.rootIndex === d.value.rootIndex || m.value && t.rootIndex === m.value.rootIndex || L.value && t.rootIndex === L.value.rootIndex ? (a(), o("g", zl, [
|
|
820
865
|
n("text", {
|
|
821
866
|
x: t.x,
|
|
822
867
|
y: t.y + t.r + 24,
|
|
@@ -825,11 +870,11 @@ const Rt = ["id"], Vt = {
|
|
|
825
870
|
"font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
|
|
826
871
|
"font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
|
|
827
872
|
onClick: $
|
|
828
|
-
}, c(t.name), 9,
|
|
873
|
+
}, c(t.name), 9, Al)
|
|
829
874
|
])) : h("", !0)
|
|
830
875
|
]))), 256))
|
|
831
876
|
])) : h("", !0),
|
|
832
|
-
(a(!0), o(
|
|
877
|
+
(a(!0), o(_, null, x(E.value, (t) => (a(), o("rect", {
|
|
833
878
|
x: t.x1,
|
|
834
879
|
y: t.y1,
|
|
835
880
|
height: r.value.branchSize,
|
|
@@ -837,10 +882,10 @@ const Rt = ["id"], Vt = {
|
|
|
837
882
|
fill: e.value.style.chart.layout.branches.underlayerColor,
|
|
838
883
|
rx: e.value.style.chart.layout.branches.borderRadius,
|
|
839
884
|
stroke: "none",
|
|
840
|
-
style: y(`opacity:${
|
|
841
|
-
onClick: (s) =>
|
|
842
|
-
}, null, 12,
|
|
843
|
-
(a(!0), o(
|
|
885
|
+
style: y(`opacity:${O(t) ? 1 : 0.05}`),
|
|
886
|
+
onClick: (s) => ve(t)
|
|
887
|
+
}, null, 12, Sl))), 256)),
|
|
888
|
+
(a(!0), o(_, null, x(E.value, (t, s) => (a(), o("rect", {
|
|
844
889
|
x: t.x1,
|
|
845
890
|
y: t.y1,
|
|
846
891
|
height: r.value.branchSize,
|
|
@@ -849,67 +894,67 @@ const Rt = ["id"], Vt = {
|
|
|
849
894
|
rx: e.value.style.chart.layout.branches.borderRadius,
|
|
850
895
|
stroke: e.value.style.chart.layout.branches.stroke,
|
|
851
896
|
"stroke-width": e.value.style.chart.layout.branches.strokeWidth,
|
|
852
|
-
style: y(`cursor:pointer; opacity:${
|
|
853
|
-
onClick: (
|
|
854
|
-
}, null, 12,
|
|
855
|
-
e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g",
|
|
856
|
-
(a(!0), o(
|
|
897
|
+
style: y(`cursor:pointer; opacity:${O(t) ? 1 : 0.05}`),
|
|
898
|
+
onClick: (b) => ve(t)
|
|
899
|
+
}, null, 12, Nl))), 256)),
|
|
900
|
+
e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", Fl, [
|
|
901
|
+
(a(!0), o(_, null, x(E.value, (t) => (a(), o("g", null, [
|
|
857
902
|
t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
|
|
858
903
|
key: 0,
|
|
859
904
|
x: t.x1 + 6,
|
|
860
905
|
y: t.y1 + r.value.branchSize / 1.5,
|
|
861
906
|
"text-anchor": "start",
|
|
862
|
-
fill: u(
|
|
907
|
+
fill: u(je)(t.color),
|
|
863
908
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
864
909
|
"font-weight": "bold",
|
|
865
|
-
style: y(`cursor:pointer; opacity:${
|
|
866
|
-
onClick: (s) =>
|
|
867
|
-
}, c(u(
|
|
910
|
+
style: y(`cursor:pointer; opacity:${O(t) ? 1 : 0.05}`),
|
|
911
|
+
onClick: (s) => ve(t)
|
|
912
|
+
}, c(u(M)(
|
|
868
913
|
e.value.style.chart.layout.branches.labels.dataLabels.formatter,
|
|
869
914
|
t.value,
|
|
870
|
-
u(
|
|
915
|
+
u(A)({
|
|
871
916
|
p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
|
|
872
917
|
v: t.value,
|
|
873
918
|
s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
|
|
874
919
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
875
920
|
}),
|
|
876
921
|
{ datapoint: t }
|
|
877
|
-
)), 13,
|
|
922
|
+
)), 13, Il)) : h("", !0)
|
|
878
923
|
]))), 256))
|
|
879
924
|
])) : h("", !0),
|
|
880
|
-
(a(!0), o(
|
|
881
|
-
(a(!0), o(
|
|
925
|
+
(a(!0), o(_, null, x(E.value, (t, s) => (a(), o("g", null, [
|
|
926
|
+
(a(!0), o(_, null, x(u(De)(
|
|
882
927
|
{ series: t.breakdown, base: 1 },
|
|
883
928
|
t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
884
929
|
t.y1 + r.value.branchSize / 2,
|
|
885
930
|
r.value.branchSize / 3,
|
|
886
931
|
r.value.branchSize / 3
|
|
887
|
-
), (
|
|
888
|
-
d:
|
|
889
|
-
stroke:
|
|
932
|
+
), (b, p) => (a(), o("path", {
|
|
933
|
+
d: b.path,
|
|
934
|
+
stroke: b.color,
|
|
890
935
|
"stroke-width": 10,
|
|
891
936
|
fill: "none",
|
|
892
|
-
style: y(`opacity:${
|
|
893
|
-
}, null, 12,
|
|
937
|
+
style: y(`opacity:${O(t) ? 1 : 0.1}`)
|
|
938
|
+
}, null, 12, Ll))), 256)),
|
|
894
939
|
n("circle", {
|
|
895
940
|
fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${C.value})` : "transparent",
|
|
896
941
|
cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
897
942
|
cy: t.y1 + r.value.branchSize / 2,
|
|
898
943
|
r: r.value.branchSize / 2 + 2,
|
|
899
|
-
onClick: (
|
|
900
|
-
style: y(`cursor:pointer;opacity:${
|
|
901
|
-
}, null, 12,
|
|
944
|
+
onClick: (b) => nt(t),
|
|
945
|
+
style: y(`cursor:pointer;opacity:${O(t) ? 1 : 0.1}`)
|
|
946
|
+
}, null, 12, Ol)
|
|
902
947
|
]))), 256)),
|
|
903
|
-
e.value.style.chart.layout.branches.labels.show && !
|
|
904
|
-
(a(!0), o(
|
|
948
|
+
e.value.style.chart.layout.branches.labels.show && !m.value ? (a(), o("g", Pl, [
|
|
949
|
+
(a(!0), o(_, null, x(E.value, (t) => (a(), o("text", {
|
|
905
950
|
x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
906
951
|
y: t.y1 + r.value.branchSize / 2 + 5,
|
|
907
952
|
"font-size": e.value.style.chart.layout.branches.labels.fontSize,
|
|
908
953
|
"font-weight": e.value.style.chart.layout.branches.labels.bold ? "bold" : "normal",
|
|
909
954
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
910
955
|
"text-anchor": "start",
|
|
911
|
-
style: y(`opacity:${
|
|
912
|
-
}, c(t.name), 13,
|
|
956
|
+
style: y(`opacity:${O(t) ? 1 : 0.1}`)
|
|
957
|
+
}, c(t.name), 13, Rl))), 256))
|
|
913
958
|
])) : h("", !0),
|
|
914
959
|
n("line", {
|
|
915
960
|
x1: 256 + r.value.padding.left,
|
|
@@ -918,36 +963,37 @@ const Rt = ["id"], Vt = {
|
|
|
918
963
|
y2: T.value.bottom,
|
|
919
964
|
stroke: e.value.style.chart.layout.verticalSeparator.stroke,
|
|
920
965
|
"stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
|
|
921
|
-
}, null, 8,
|
|
922
|
-
!d.value && !
|
|
966
|
+
}, null, 8, Vl),
|
|
967
|
+
!d.value && !m.value ? (a(), o("foreignObject", {
|
|
923
968
|
key: 6,
|
|
924
969
|
x: 0,
|
|
925
970
|
y: T.value.bottom,
|
|
926
971
|
height: r.value.height - T.value.bottom,
|
|
927
972
|
width: r.value.width,
|
|
928
973
|
style: { overflow: "visible" },
|
|
974
|
+
"data-no-svg-export": "",
|
|
929
975
|
onClick: $
|
|
930
976
|
}, [
|
|
931
|
-
n("div",
|
|
932
|
-
n("div",
|
|
933
|
-
(a(!0), o(
|
|
977
|
+
n("div", Ml, [
|
|
978
|
+
n("div", jl, [
|
|
979
|
+
(a(!0), o(_, null, x(X.value, (t) => (a(), o("div", {
|
|
934
980
|
style: y(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
|
|
935
981
|
}, [
|
|
936
|
-
(a(), o("svg",
|
|
982
|
+
(a(), o("svg", Dl, [
|
|
937
983
|
n("circle", {
|
|
938
984
|
cx: "10",
|
|
939
985
|
cy: "10",
|
|
940
986
|
r: "10",
|
|
941
987
|
fill: t.color,
|
|
942
988
|
stroke: "none"
|
|
943
|
-
}, null, 8,
|
|
989
|
+
}, null, 8, Xl)
|
|
944
990
|
])),
|
|
945
|
-
u(
|
|
991
|
+
u(Ce) ? h("", !0) : (a(), o(_, { key: 0 }, [
|
|
946
992
|
n("span", null, c(t.name) + ":", 1),
|
|
947
|
-
n("b", null, c(u(
|
|
993
|
+
n("b", null, c(u(M)(
|
|
948
994
|
e.value.style.chart.layout.roots.labels.formatter,
|
|
949
995
|
t.total,
|
|
950
|
-
u(
|
|
996
|
+
u(A)({
|
|
951
997
|
p: e.value.style.chart.layout.legend.prefix,
|
|
952
998
|
v: t.total,
|
|
953
999
|
s: e.value.style.chart.layout.legend.suffix,
|
|
@@ -955,8 +1001,8 @@ const Rt = ["id"], Vt = {
|
|
|
955
1001
|
}),
|
|
956
1002
|
{ datapoint: t }
|
|
957
1003
|
)), 1),
|
|
958
|
-
Z(" (" + c(u(
|
|
959
|
-
v: t.total /
|
|
1004
|
+
Z(" (" + c(u(A)({
|
|
1005
|
+
v: t.total / I.value * 100,
|
|
960
1006
|
s: "%",
|
|
961
1007
|
r: e.value.style.chart.layout.legend.roundingPercentage
|
|
962
1008
|
})) + ") ", 1)
|
|
@@ -964,30 +1010,30 @@ const Rt = ["id"], Vt = {
|
|
|
964
1010
|
], 4))), 256))
|
|
965
1011
|
])
|
|
966
1012
|
])
|
|
967
|
-
], 8,
|
|
968
|
-
d.value && B.value ? (a(), o("g",
|
|
1013
|
+
], 8, Bl)) : h("", !0),
|
|
1014
|
+
d.value && B.value ? (a(), o("g", El, [
|
|
969
1015
|
(a(), o("foreignObject", {
|
|
970
1016
|
x: 0,
|
|
971
|
-
y:
|
|
1017
|
+
y: rt(),
|
|
972
1018
|
height: r.value.height - T.value.bottom,
|
|
973
1019
|
width: r.value.width,
|
|
974
1020
|
style: { overflow: "visible" },
|
|
975
1021
|
onClick: $
|
|
976
1022
|
}, [
|
|
977
|
-
n("div",
|
|
1023
|
+
n("div", Ul, [
|
|
978
1024
|
n("b", null, c(d.value.name), 1),
|
|
979
|
-
n("div",
|
|
980
|
-
(a(!0), o(
|
|
1025
|
+
n("div", Wl, [
|
|
1026
|
+
(a(!0), o(_, null, x(d.value.breakdown, (t, s) => (a(), o("div", {
|
|
981
1027
|
style: y(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
|
|
982
1028
|
}, [
|
|
983
|
-
(a(), o("svg",
|
|
1029
|
+
(a(), o("svg", Yl, [
|
|
984
1030
|
n("circle", {
|
|
985
1031
|
cx: "10",
|
|
986
1032
|
cy: "10",
|
|
987
1033
|
r: "10",
|
|
988
1034
|
fill: t.color,
|
|
989
1035
|
stroke: "none"
|
|
990
|
-
}, null, 8,
|
|
1036
|
+
}, null, 8, Hl)
|
|
991
1037
|
])),
|
|
992
1038
|
n("span", null, [
|
|
993
1039
|
Z(c(t.name) + ": ", 1),
|
|
@@ -997,19 +1043,19 @@ const Rt = ["id"], Vt = {
|
|
|
997
1043
|
], 4))), 256))
|
|
998
1044
|
])
|
|
999
1045
|
])
|
|
1000
|
-
], 8,
|
|
1046
|
+
], 8, Gl)),
|
|
1001
1047
|
n("circle", {
|
|
1002
1048
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
1003
1049
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
1004
1050
|
r: 256,
|
|
1005
1051
|
fill: `url(#nut_underlayer_${C.value})`,
|
|
1006
|
-
onClick:
|
|
1052
|
+
onClick: G,
|
|
1007
1053
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1008
|
-
}, null, 10,
|
|
1009
|
-
(a(!0), o(
|
|
1054
|
+
}, null, 10, ql),
|
|
1055
|
+
(a(!0), o(_, null, x(B.value, (t) => (a(), o("g", null, [
|
|
1010
1056
|
Y(t) ? (a(), o("path", {
|
|
1011
1057
|
key: 0,
|
|
1012
|
-
d: u(
|
|
1058
|
+
d: u(Ft)(
|
|
1013
1059
|
t,
|
|
1014
1060
|
{
|
|
1015
1061
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
@@ -1027,40 +1073,40 @@ const Rt = ["id"], Vt = {
|
|
|
1027
1073
|
"stroke-linejoin": "round",
|
|
1028
1074
|
fill: "none",
|
|
1029
1075
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1030
|
-
}, null, 10,
|
|
1076
|
+
}, null, 10, Kl)) : h("", !0)
|
|
1031
1077
|
]))), 256)),
|
|
1032
1078
|
n("circle", {
|
|
1033
1079
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
1034
1080
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
1035
1081
|
r: 118,
|
|
1036
1082
|
fill: e.value.style.chart.backgroundColor,
|
|
1037
|
-
onClick:
|
|
1083
|
+
onClick: G,
|
|
1038
1084
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1039
|
-
}, null, 10,
|
|
1040
|
-
(a(!0), o(
|
|
1085
|
+
}, null, 10, Zl),
|
|
1086
|
+
(a(!0), o(_, null, x(B.value, (t) => (a(), o("path", {
|
|
1041
1087
|
d: t.path,
|
|
1042
1088
|
stroke: t.color,
|
|
1043
1089
|
"stroke-width": 64,
|
|
1044
1090
|
fill: "none",
|
|
1045
|
-
onClick:
|
|
1091
|
+
onClick: G,
|
|
1046
1092
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1047
|
-
}, null, 10,
|
|
1093
|
+
}, null, 10, Jl))), 256)),
|
|
1048
1094
|
n("circle", {
|
|
1049
1095
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
1050
1096
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
1051
1097
|
r: 110,
|
|
1052
1098
|
fill: `url(#nutpick_${C.value})`,
|
|
1053
|
-
onClick:
|
|
1099
|
+
onClick: G,
|
|
1054
1100
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1055
|
-
}, null, 10,
|
|
1101
|
+
}, null, 10, Ql),
|
|
1056
1102
|
n("circle", {
|
|
1057
1103
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
1058
1104
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
1059
1105
|
r: 64,
|
|
1060
1106
|
fill: e.value.style.chart.backgroundColor,
|
|
1061
|
-
onClick:
|
|
1107
|
+
onClick: G,
|
|
1062
1108
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1063
|
-
}, null, 10,
|
|
1109
|
+
}, null, 10, ea),
|
|
1064
1110
|
n("text", {
|
|
1065
1111
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
1066
1112
|
y: d.value.y1 + 8,
|
|
@@ -1068,9 +1114,9 @@ const Rt = ["id"], Vt = {
|
|
|
1068
1114
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.core.total.fontSize,
|
|
1069
1115
|
"font-weight": e.value.style.chart.layout.nuts.selected.labels.core.total.bold ? "bold" : "normal",
|
|
1070
1116
|
"text-anchor": "middle",
|
|
1071
|
-
onClick:
|
|
1117
|
+
onClick: G,
|
|
1072
1118
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1073
|
-
}, c(e.value.translations.total), 11,
|
|
1119
|
+
}, c(e.value.translations.total), 11, ta),
|
|
1074
1120
|
n("text", {
|
|
1075
1121
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
1076
1122
|
y: d.value.y1 + 36,
|
|
@@ -1078,98 +1124,98 @@ const Rt = ["id"], Vt = {
|
|
|
1078
1124
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.core.value.fontSize,
|
|
1079
1125
|
"font-weight": e.value.style.chart.layout.nuts.selected.labels.core.value.bold ? "bold" : "normal",
|
|
1080
1126
|
"text-anchor": "middle",
|
|
1081
|
-
onClick:
|
|
1127
|
+
onClick: G,
|
|
1082
1128
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1083
|
-
}, c(u(
|
|
1129
|
+
}, c(u(M)(
|
|
1084
1130
|
e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
|
|
1085
1131
|
d.value.value,
|
|
1086
|
-
u(
|
|
1132
|
+
u(A)({
|
|
1087
1133
|
p: e.value.style.chart.layout.nuts.selected.labels.core.value.prefix,
|
|
1088
1134
|
v: d.value.value,
|
|
1089
1135
|
s: e.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
|
|
1090
1136
|
r: e.value.style.chart.layout.nuts.selected.roundingValue
|
|
1091
1137
|
}),
|
|
1092
1138
|
{ datapoint: d.value }
|
|
1093
|
-
)), 11,
|
|
1094
|
-
(a(!0), o(
|
|
1139
|
+
)), 11, la),
|
|
1140
|
+
(a(!0), o(_, null, x(B.value, (t, s) => (a(), o("g", null, [
|
|
1095
1141
|
Y(t) ? (a(), o("text", {
|
|
1096
1142
|
key: 0,
|
|
1097
|
-
x: u(
|
|
1098
|
-
"text-anchor": u(
|
|
1143
|
+
x: u(V)(t).x,
|
|
1144
|
+
"text-anchor": u(V)(t).anchor,
|
|
1099
1145
|
y: u(J)(t) - e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 6,
|
|
1100
1146
|
fill: t.color,
|
|
1101
1147
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize / 2,
|
|
1102
1148
|
style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1103
1149
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1104
|
-
}, " ⬤ ", 14,
|
|
1150
|
+
}, " ⬤ ", 14, aa)) : h("", !0),
|
|
1105
1151
|
Y(t) ? (a(), o("text", {
|
|
1106
1152
|
key: 1,
|
|
1107
|
-
x: u(
|
|
1108
|
-
"text-anchor": u(
|
|
1153
|
+
x: u(V)(t, !0).x,
|
|
1154
|
+
"text-anchor": u(V)(t, !0).anchor,
|
|
1109
1155
|
y: u(J)(t),
|
|
1110
1156
|
fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
1111
1157
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1112
1158
|
style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1113
1159
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1114
|
-
}, c(d.value.breakdown[s].name), 15,
|
|
1160
|
+
}, c(d.value.breakdown[s].name), 15, oa)) : h("", !0)
|
|
1115
1161
|
]))), 256)),
|
|
1116
|
-
(a(!0), o(
|
|
1162
|
+
(a(!0), o(_, null, x(B.value, (t, s) => (a(), o("g", null, [
|
|
1117
1163
|
Y(t) ? (a(), o("text", {
|
|
1118
1164
|
key: 0,
|
|
1119
|
-
x: u(
|
|
1120
|
-
"text-anchor": u(
|
|
1165
|
+
x: u(V)(t, !0).x,
|
|
1166
|
+
"text-anchor": u(V)(t).anchor,
|
|
1121
1167
|
y: u(J)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1122
1168
|
fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
1123
1169
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1124
1170
|
style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1125
1171
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1126
|
-
}, c(u(
|
|
1172
|
+
}, c(u(A)({
|
|
1127
1173
|
v: d.value.breakdown[s].value / d.value.value * 100,
|
|
1128
1174
|
s: "%",
|
|
1129
1175
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
1130
|
-
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].branchName) + " " + c(u(
|
|
1176
|
+
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].branchName) + " " + c(u(M)(
|
|
1131
1177
|
e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
|
|
1132
1178
|
d.value.breakdown[s].value,
|
|
1133
|
-
u(
|
|
1179
|
+
u(A)({
|
|
1134
1180
|
p: e.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix,
|
|
1135
1181
|
v: d.value.breakdown[s].value,
|
|
1136
1182
|
s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
|
|
1137
1183
|
r: e.value.style.chart.layout.nuts.selected.roundingValue
|
|
1138
1184
|
}),
|
|
1139
1185
|
{ datapoint: B.value, seriesIndex: s }
|
|
1140
|
-
)), 15,
|
|
1186
|
+
)), 15, sa)) : h("", !0),
|
|
1141
1187
|
Y(t) ? (a(), o("text", {
|
|
1142
1188
|
key: 1,
|
|
1143
|
-
x: u(
|
|
1144
|
-
"text-anchor": u(
|
|
1189
|
+
x: u(V)(t, !0).x,
|
|
1190
|
+
"text-anchor": u(V)(t).anchor,
|
|
1145
1191
|
y: u(J)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 2,
|
|
1146
1192
|
fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
1147
1193
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1148
1194
|
style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1149
1195
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1150
|
-
}, c(u(
|
|
1196
|
+
}, c(u(A)({
|
|
1151
1197
|
v: d.value.breakdown[s].proportionToRoot * 100,
|
|
1152
1198
|
s: "%",
|
|
1153
1199
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
1154
|
-
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].rootName), 15,
|
|
1200
|
+
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[s].rootName), 15, ua)) : h("", !0),
|
|
1155
1201
|
Y(t) ? (a(), o("text", {
|
|
1156
1202
|
key: 2,
|
|
1157
|
-
x: u(
|
|
1158
|
-
"text-anchor": u(
|
|
1203
|
+
x: u(V)(t, !0).x,
|
|
1204
|
+
"text-anchor": u(V)(t).anchor,
|
|
1159
1205
|
y: u(J)(t) + e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize * 3,
|
|
1160
1206
|
fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
1161
1207
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
1162
1208
|
style: y(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
1163
1209
|
class: w(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
1164
|
-
}, c(u(
|
|
1210
|
+
}, c(u(A)({
|
|
1165
1211
|
v: d.value.breakdown[s].proportionToTree * 100,
|
|
1166
1212
|
s: "%",
|
|
1167
1213
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
1168
|
-
})) + " " + c(e.value.translations.proportionToTree), 15,
|
|
1214
|
+
})) + " " + c(e.value.translations.proportionToTree), 15, na)) : h("", !0)
|
|
1169
1215
|
]))), 256))
|
|
1170
1216
|
])) : h("", !0),
|
|
1171
|
-
(a(!0), o(
|
|
1172
|
-
|
|
1217
|
+
(a(!0), o(_, null, x(E.value, (t) => (a(), o("g", null, [
|
|
1218
|
+
m.value && m.value.id === t.id && !d.value ? (a(), o("text", {
|
|
1173
1219
|
key: 0,
|
|
1174
1220
|
x: t.x1 + 6,
|
|
1175
1221
|
y: t.y1 + r.value.branchSize + 24,
|
|
@@ -1178,18 +1224,18 @@ const Rt = ["id"], Vt = {
|
|
|
1178
1224
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
1179
1225
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
1180
1226
|
onClick: $
|
|
1181
|
-
}, c(t.name) + ": " + c(u(
|
|
1227
|
+
}, c(t.name) + ": " + c(u(M)(
|
|
1182
1228
|
e.value.style.chart.layout.branches.labels.dataLabels.formatter,
|
|
1183
1229
|
t.value,
|
|
1184
|
-
u(
|
|
1230
|
+
u(A)({
|
|
1185
1231
|
p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
|
|
1186
1232
|
v: t.value,
|
|
1187
1233
|
s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
|
|
1188
1234
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
1189
1235
|
}),
|
|
1190
1236
|
{ datapoint: t }
|
|
1191
|
-
)), 9,
|
|
1192
|
-
|
|
1237
|
+
)), 9, ra)) : h("", !0),
|
|
1238
|
+
m.value && m.value.id === t.id && !d.value ? (a(), o("text", {
|
|
1193
1239
|
key: 1,
|
|
1194
1240
|
x: t.x1 + 6,
|
|
1195
1241
|
y: t.y1 + r.value.branchSize + 48,
|
|
@@ -1197,12 +1243,12 @@ const Rt = ["id"], Vt = {
|
|
|
1197
1243
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
1198
1244
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
1199
1245
|
onClick: $
|
|
1200
|
-
}, c(u(
|
|
1246
|
+
}, c(u(A)({
|
|
1201
1247
|
v: t.proportionToRoot * 100,
|
|
1202
1248
|
s: "%",
|
|
1203
1249
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
1204
|
-
})) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9,
|
|
1205
|
-
|
|
1250
|
+
})) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, ia)) : h("", !0),
|
|
1251
|
+
m.value && m.value.id === t.id && !d.value ? (a(), o("text", {
|
|
1206
1252
|
key: 2,
|
|
1207
1253
|
x: t.x1 + 6,
|
|
1208
1254
|
y: t.y1 + r.value.branchSize + 72,
|
|
@@ -1210,26 +1256,26 @@ const Rt = ["id"], Vt = {
|
|
|
1210
1256
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
1211
1257
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
1212
1258
|
onClick: $
|
|
1213
|
-
}, c(u(
|
|
1214
|
-
v: t.value /
|
|
1259
|
+
}, c(u(A)({
|
|
1260
|
+
v: t.value / I.value * 100,
|
|
1215
1261
|
s: "%",
|
|
1216
1262
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
1217
|
-
})) + " " + c(e.value.translations.proportionToTree), 9,
|
|
1263
|
+
})) + " " + c(e.value.translations.proportionToTree), 9, ca)) : h("", !0)
|
|
1218
1264
|
]))), 256)),
|
|
1219
1265
|
F(l.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
1220
|
-
], 14,
|
|
1221
|
-
l.$slots.watermark ? (a(), o("div",
|
|
1266
|
+
], 14, Yt)) : h("", !0),
|
|
1267
|
+
l.$slots.watermark ? (a(), o("div", da, [
|
|
1222
1268
|
F(l.$slots, "watermark", ae(oe({ isPrinting: u(ze) || u(Ae) })), void 0, !0)
|
|
1223
1269
|
])) : h("", !0),
|
|
1224
|
-
F(l.$slots, "legend", { legend:
|
|
1225
|
-
l.$slots.source ? (a(), o("div",
|
|
1270
|
+
F(l.$slots, "legend", { legend: S.value }, void 0, !0),
|
|
1271
|
+
l.$slots.source ? (a(), o("div", va, [
|
|
1226
1272
|
F(l.$slots, "source", {}, void 0, !0)
|
|
1227
1273
|
], 512)) : h("", !0),
|
|
1228
|
-
|
|
1274
|
+
ke.value && e.value.userOptions.buttons.table ? (a(), le(kt(te.value.component), wt({ key: 6 }, te.value.props, {
|
|
1229
1275
|
ref_key: "tableUnit",
|
|
1230
1276
|
ref: K,
|
|
1231
|
-
onClose:
|
|
1232
|
-
}),
|
|
1277
|
+
onClose: fe
|
|
1278
|
+
}), Be({
|
|
1233
1279
|
content: P(() => [
|
|
1234
1280
|
n("div", {
|
|
1235
1281
|
ref_key: "tableContainer",
|
|
@@ -1245,10 +1291,10 @@ const Rt = ["id"], Vt = {
|
|
|
1245
1291
|
role: "button",
|
|
1246
1292
|
tabindex: "0",
|
|
1247
1293
|
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};`),
|
|
1248
|
-
onClick:
|
|
1249
|
-
onKeypress:
|
|
1294
|
+
onClick: fe,
|
|
1295
|
+
onKeypress: Ct(fe, ["enter"])
|
|
1250
1296
|
}, [
|
|
1251
|
-
|
|
1297
|
+
ge(u(me), {
|
|
1252
1298
|
name: "close",
|
|
1253
1299
|
stroke: e.value.table.th.color,
|
|
1254
1300
|
"stroke-width": 2
|
|
@@ -1256,29 +1302,29 @@ const Rt = ["id"], Vt = {
|
|
|
1256
1302
|
], 36)),
|
|
1257
1303
|
n("div", {
|
|
1258
1304
|
style: { width: "100%" },
|
|
1259
|
-
class: w({ "vue-ui-responsive": u(
|
|
1305
|
+
class: w({ "vue-ui-responsive": u(dt) })
|
|
1260
1306
|
}, [
|
|
1261
|
-
n("table",
|
|
1307
|
+
n("table", ya, [
|
|
1262
1308
|
e.value.table.useDialog ? h("", !0) : (a(), o("caption", {
|
|
1263
1309
|
key: 0,
|
|
1264
1310
|
style: y({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
|
|
1265
1311
|
class: "vue-ui-data-table__caption"
|
|
1266
1312
|
}, [
|
|
1267
1313
|
Z(c(e.value.style.chart.layout.title.text) + " ", 1),
|
|
1268
|
-
e.value.style.chart.layout.title.subtitle.text ? (a(), o("span",
|
|
1314
|
+
e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", ha, c(e.value.style.chart.layout.title.subtitle.text), 1)) : h("", !0)
|
|
1269
1315
|
], 4)),
|
|
1270
1316
|
n("thead", null, [
|
|
1271
1317
|
n("tr", {
|
|
1272
1318
|
role: "row",
|
|
1273
1319
|
style: y(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
|
|
1274
1320
|
}, [
|
|
1275
|
-
(a(!0), o(
|
|
1321
|
+
(a(!0), o(_, null, x(v.value.head, (t) => (a(), o("th", {
|
|
1276
1322
|
style: y(`outline:${e.value.table.th.outline}`)
|
|
1277
1323
|
}, c(t), 5))), 256))
|
|
1278
1324
|
], 4)
|
|
1279
1325
|
]),
|
|
1280
1326
|
n("tbody", null, [
|
|
1281
|
-
(a(!0), o(
|
|
1327
|
+
(a(!0), o(_, null, x(v.value.body, (t, s) => (a(), o("tr", {
|
|
1282
1328
|
class: w({ "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 }),
|
|
1283
1329
|
style: y(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
1284
1330
|
}, [
|
|
@@ -1287,99 +1333,99 @@ const Rt = ["id"], Vt = {
|
|
|
1287
1333
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1288
1334
|
"data-cell": v.value.head[0]
|
|
1289
1335
|
}, [
|
|
1290
|
-
n("div",
|
|
1291
|
-
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span",
|
|
1336
|
+
n("div", ba, [
|
|
1337
|
+
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", pa)) : (a(), o("span", ga, c(t.rootName), 1))
|
|
1292
1338
|
])
|
|
1293
|
-
], 12,
|
|
1339
|
+
], 12, fa),
|
|
1294
1340
|
n("td", {
|
|
1295
1341
|
class: "vue-ui-data-table__tbody__td",
|
|
1296
1342
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1297
1343
|
"data-cell": v.value.head[1]
|
|
1298
1344
|
}, [
|
|
1299
|
-
n("div",
|
|
1300
|
-
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span",
|
|
1345
|
+
n("div", xa, [
|
|
1346
|
+
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", ma)) : (a(), o("span", ka, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
|
|
1301
1347
|
])
|
|
1302
|
-
], 12,
|
|
1348
|
+
], 12, _a),
|
|
1303
1349
|
n("td", {
|
|
1304
1350
|
class: "vue-ui-data-table__tbody__td",
|
|
1305
1351
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1306
1352
|
"data-cell": v.value.head[2]
|
|
1307
1353
|
}, [
|
|
1308
|
-
n("div",
|
|
1309
|
-
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span",
|
|
1354
|
+
n("div", Ca, [
|
|
1355
|
+
v.value.body[s - 1] && v.value.body[s - 1].rootName === t.rootName ? (a(), o("span", $a)) : (a(), o("span", Ta, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1310
1356
|
])
|
|
1311
|
-
], 12,
|
|
1357
|
+
], 12, wa),
|
|
1312
1358
|
n("td", {
|
|
1313
1359
|
class: "vue-ui-data-table__tbody__td",
|
|
1314
1360
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1315
1361
|
"data-cell": v.value.head[3]
|
|
1316
1362
|
}, [
|
|
1317
|
-
n("div",
|
|
1318
|
-
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span",
|
|
1363
|
+
n("div", Aa, [
|
|
1364
|
+
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Sa)) : (a(), o("span", Na, c(t.branchName), 1))
|
|
1319
1365
|
])
|
|
1320
|
-
], 12,
|
|
1366
|
+
], 12, za),
|
|
1321
1367
|
n("td", {
|
|
1322
1368
|
class: "vue-ui-data-table__tbody__td",
|
|
1323
1369
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1324
1370
|
"data-cell": v.value.head[4]
|
|
1325
1371
|
}, [
|
|
1326
|
-
n("div",
|
|
1327
|
-
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span",
|
|
1372
|
+
n("div", Ia, [
|
|
1373
|
+
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", La)) : (a(), o("span", Oa, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
|
|
1328
1374
|
])
|
|
1329
|
-
], 12,
|
|
1375
|
+
], 12, Fa),
|
|
1330
1376
|
n("td", {
|
|
1331
1377
|
class: "vue-ui-data-table__tbody__td",
|
|
1332
1378
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1333
1379
|
"data-cell": v.value.head[5]
|
|
1334
1380
|
}, [
|
|
1335
|
-
n("div",
|
|
1336
|
-
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span",
|
|
1381
|
+
n("div", Ra, [
|
|
1382
|
+
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Va)) : (a(), o("span", Ba, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1337
1383
|
])
|
|
1338
|
-
], 12,
|
|
1384
|
+
], 12, Pa),
|
|
1339
1385
|
n("td", {
|
|
1340
1386
|
class: "vue-ui-data-table__tbody__td",
|
|
1341
1387
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1342
1388
|
"data-cell": v.value.head[6]
|
|
1343
1389
|
}, [
|
|
1344
|
-
n("div",
|
|
1345
|
-
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span",
|
|
1390
|
+
n("div", ja, [
|
|
1391
|
+
v.value.body[s - 1] && v.value.body[s - 1].branchName === t.branchName ? (a(), o("span", Da)) : (a(), o("span", Xa, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1346
1392
|
])
|
|
1347
|
-
], 12,
|
|
1393
|
+
], 12, Ma),
|
|
1348
1394
|
n("td", {
|
|
1349
1395
|
class: "vue-ui-data-table__tbody__td",
|
|
1350
1396
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1351
1397
|
"data-cell": v.value.head[7]
|
|
1352
1398
|
}, [
|
|
1353
|
-
n("div",
|
|
1354
|
-
], 12,
|
|
1399
|
+
n("div", Ga, c(t.nutName), 1)
|
|
1400
|
+
], 12, Ea),
|
|
1355
1401
|
n("td", {
|
|
1356
1402
|
class: "vue-ui-data-table__tbody__td",
|
|
1357
1403
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1358
1404
|
"data-cell": v.value.head[8]
|
|
1359
1405
|
}, [
|
|
1360
|
-
n("div",
|
|
1361
|
-
], 12,
|
|
1406
|
+
n("div", Wa, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
|
|
1407
|
+
], 12, Ua),
|
|
1362
1408
|
n("td", {
|
|
1363
1409
|
class: "vue-ui-data-table__tbody__td",
|
|
1364
1410
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1365
1411
|
"data-cell": v.value.head[9]
|
|
1366
1412
|
}, [
|
|
1367
|
-
n("div",
|
|
1368
|
-
], 12,
|
|
1413
|
+
n("div", Ha, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1414
|
+
], 12, Ya),
|
|
1369
1415
|
n("td", {
|
|
1370
1416
|
class: "vue-ui-data-table__tbody__td",
|
|
1371
1417
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1372
1418
|
"data-cell": v.value.head[10]
|
|
1373
1419
|
}, [
|
|
1374
|
-
n("div",
|
|
1375
|
-
], 12,
|
|
1420
|
+
n("div", Ka, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1421
|
+
], 12, qa),
|
|
1376
1422
|
n("td", {
|
|
1377
1423
|
class: "vue-ui-data-table__tbody__td",
|
|
1378
1424
|
style: y(`outline:${e.value.table.td.outline}`),
|
|
1379
1425
|
"data-cell": v.value.head[11]
|
|
1380
1426
|
}, [
|
|
1381
|
-
n("div",
|
|
1382
|
-
], 12,
|
|
1427
|
+
n("div", Ja, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1428
|
+
], 12, Za)
|
|
1383
1429
|
], 6))), 256))
|
|
1384
1430
|
])
|
|
1385
1431
|
])
|
|
@@ -1402,9 +1448,9 @@ const Rt = ["id"], Vt = {
|
|
|
1402
1448
|
n("button", {
|
|
1403
1449
|
tabindex: "0",
|
|
1404
1450
|
class: "vue-ui-user-options-button",
|
|
1405
|
-
onClick: i[0] || (i[0] = (t) =>
|
|
1451
|
+
onClick: i[0] || (i[0] = (t) => ye(e.value.userOptions.callbacks.csv))
|
|
1406
1452
|
}, [
|
|
1407
|
-
|
|
1453
|
+
ge(u(me), {
|
|
1408
1454
|
name: "excel",
|
|
1409
1455
|
stroke: te.value.props.color
|
|
1410
1456
|
}, null, 8, ["stroke"])
|
|
@@ -1413,10 +1459,10 @@ const Rt = ["id"], Vt = {
|
|
|
1413
1459
|
key: "1"
|
|
1414
1460
|
} : void 0
|
|
1415
1461
|
]), 1040)) : h("", !0),
|
|
1416
|
-
u(
|
|
1417
|
-
], 46,
|
|
1462
|
+
u(Ce) ? (a(), le(Rt, { key: 7 })) : h("", !0)
|
|
1463
|
+
], 46, Ut));
|
|
1418
1464
|
}
|
|
1419
|
-
},
|
|
1465
|
+
}, yo = /* @__PURE__ */ Gt(Qa, [["__scopeId", "data-v-979b8fd8"]]);
|
|
1420
1466
|
export {
|
|
1421
|
-
|
|
1467
|
+
yo as default
|
|
1422
1468
|
};
|