vue-data-ui 2.3.76 → 2.3.78
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-DY9RKUmG.js → Arrow-BCYtOwX7.js} +1 -1
- package/dist/{Arrow-D7M4-bW7.cjs → Arrow-DWkvIpW8.cjs} +1 -1
- package/dist/{BaseIcon-rwm-10Hu.js → BaseIcon-BIQXWVMS.js} +1 -1
- package/dist/{BaseIcon-DB7Apwv_.cjs → BaseIcon-Bcpzfk34.cjs} +1 -1
- package/dist/{DataTable-CsNozyz7.cjs → DataTable-C5TOiC61.cjs} +1 -1
- package/dist/{DataTable-e2fnfjXV.js → DataTable-y1lX5jVj.js} +2 -2
- package/dist/{Legend-5cQ0xZjK.js → Legend-BLXcdrri.js} +1 -1
- package/dist/{Legend-DgFd-O0m.cjs → Legend-CGGD8NhP.cjs} +1 -1
- package/dist/{Shape-CiTElr_0.js → Shape-CsoTtJx6.js} +1 -1
- package/dist/{Shape-yPECDLiP.cjs → Shape-qJYTY2BC.cjs} +1 -1
- package/dist/{Slicer-DaZgCKV7.cjs → Slicer-CZJXKSeE.cjs} +1 -1
- package/dist/{Slicer-DwBBu3kB.js → Slicer-DzJZ4axa.js} +12 -12
- package/dist/{Title-3EduyW4p.cjs → Title-BSpa3uge.cjs} +1 -1
- package/dist/{Title-gUz6GDA3.js → Title-Bx-VO3md.js} +1 -1
- package/dist/{Tooltip-DfSM1mNP.js → Tooltip-Dk-cimhQ.js} +23 -23
- package/dist/Tooltip-rmhZhv96.cjs +1 -0
- package/dist/index-CzjC8LfY.cjs +4 -0
- package/dist/{index-CaV1s-yZ.js → index-DP8dqFNd.js} +1147 -1145
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-tWCzZrLx.js → useNestedProp-B-oZxD4x.js} +1 -1
- package/dist/{useNestedProp-CisbRRo_.cjs → useNestedProp-CY7DebVH.cjs} +1 -1
- package/dist/{usePrinter-DzTaA1eh.cjs → usePrinter-DiLM6jav.cjs} +1 -1
- package/dist/{usePrinter-rvJyT65A.js → usePrinter-DiuHo4LO.js} +1 -1
- package/dist/{vue-data-ui-BGkWRPUY.cjs → vue-data-ui-Ce5IFSYA.cjs} +1 -1
- package/dist/{vue-data-ui-BO89gTtq.js → vue-data-ui-Ct7n5wkM.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +9 -9
- package/dist/vue-ui-3d-bar-B_i2EoFu.cjs +19 -0
- package/dist/{vue-ui-3d-bar-CcTMIHiB.js → vue-ui-3d-bar-O3fB5J7V.js} +342 -342
- package/dist/{vue-ui-accordion-CpzGQ63y.js → vue-ui-accordion-Dl8zkZPk.js} +3 -3
- package/dist/{vue-ui-accordion-7e4Myhcg.cjs → vue-ui-accordion-DpI7fTKZ.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-D71ZLkVV.js → vue-ui-age-pyramid-BeiREI6d.js} +22 -22
- package/dist/vue-ui-age-pyramid-BsAfxkN4.cjs +1 -0
- package/dist/{vue-ui-annotator-B8Iu6cYt.js → vue-ui-annotator-0yje27Qq.js} +39 -39
- package/dist/{vue-ui-annotator-BKQrweqm.cjs → vue-ui-annotator-DpN-6IwB.cjs} +2 -2
- package/dist/{vue-ui-candlestick-Bx4QVkY0.js → vue-ui-candlestick-D9UteVvx.js} +34 -34
- package/dist/{vue-ui-candlestick-DAc1FQ-i.cjs → vue-ui-candlestick-lv78wnpS.cjs} +2 -2
- package/dist/{vue-ui-carousel-table-uFRqkghO.cjs → vue-ui-carousel-table-Br6FwMKM.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-xuQG6bcH.js → vue-ui-carousel-table-jxZ3h5pq.js} +31 -31
- package/dist/{vue-ui-chestnut-Bo6rDcU7.js → vue-ui-chestnut-DXuHRJy4.js} +291 -288
- package/dist/vue-ui-chestnut-DbYHeNaL.cjs +6 -0
- package/dist/{vue-ui-cursor-C0KOqEOq.js → vue-ui-cursor-BzPbdVRJ.js} +20 -20
- package/dist/vue-ui-cursor-iss6SJ1Y.cjs +1 -0
- package/dist/{vue-ui-dashboard-BT71xS7P.js → vue-ui-dashboard-CGjWuFrI.js} +2 -2
- package/dist/{vue-ui-dashboard-0Hsjx-bO.cjs → vue-ui-dashboard-DKT82yQ4.cjs} +1 -1
- package/dist/{vue-ui-digits-BRqpKYvD.js → vue-ui-digits-BCguvLxB.js} +2 -2
- package/dist/{vue-ui-digits-C2ReH6w0.cjs → vue-ui-digits-BfwDCfYp.cjs} +1 -1
- package/dist/{vue-ui-donut-NQW-3prf.js → vue-ui-donut-DJTeGLVG.js} +209 -212
- package/dist/{vue-ui-donut-evolution-jbXQQGTc.js → vue-ui-donut-evolution-BaLDZNDG.js} +106 -106
- package/dist/vue-ui-donut-evolution-Bil1AIhX.cjs +1 -0
- package/dist/vue-ui-donut-uVPdO4UH.cjs +1 -0
- package/dist/{vue-ui-dumbbell-Dyz8xdtC.js → vue-ui-dumbbell-BqtDdV5w.js} +17 -17
- package/dist/{vue-ui-dumbbell-DXQSg6wa.cjs → vue-ui-dumbbell-DiL3xhKY.cjs} +1 -1
- package/dist/{vue-ui-flow-UqSNwH9d.cjs → vue-ui-flow-BVTbbsCK.cjs} +1 -1
- package/dist/{vue-ui-flow-BL3JWW1m.js → vue-ui-flow-zfTGon4s.js} +28 -28
- package/dist/{vue-ui-galaxy-Dx9nsOuM.js → vue-ui-galaxy-5iRb5sQ-.js} +22 -22
- package/dist/{vue-ui-galaxy-DTQWGvRH.cjs → vue-ui-galaxy-GSO_6KIe.cjs} +1 -1
- package/dist/vue-ui-gauge-Bz7oLa51.cjs +1 -0
- package/dist/{vue-ui-gauge-CLaKGi0-.js → vue-ui-gauge-DljHYdCS.js} +101 -110
- package/dist/{vue-ui-gizmo-of-4s5HG.js → vue-ui-gizmo-B-fxFOZy.js} +2 -2
- package/dist/{vue-ui-gizmo-Kitfqu0J.cjs → vue-ui-gizmo-KL0OJY2K.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BIzjOMXO.js → vue-ui-heatmap-ketn_NV3.js} +17 -17
- package/dist/{vue-ui-heatmap-DUw2350O.cjs → vue-ui-heatmap-thMJPCfo.cjs} +1 -1
- package/dist/{vue-ui-kpi-By3YPwgo.js → vue-ui-kpi-Bxu8uZ21.js} +3 -3
- package/dist/{vue-ui-kpi-DyL2Hcz-.cjs → vue-ui-kpi-e1QWa8D4.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DnK3V2z2.js → vue-ui-mini-loader-BZ_2aV8O.js} +2 -2
- package/dist/{vue-ui-mini-loader-C048-8Kd.cjs → vue-ui-mini-loader-paRZQU8H.cjs} +1 -1
- package/dist/{vue-ui-molecule-BfhbIqa5.js → vue-ui-molecule-Bpp5unvI.js} +33 -33
- package/dist/{vue-ui-molecule-D-ahly6R.cjs → vue-ui-molecule-VOBL4Osc.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-DXxEKr3x.js → vue-ui-mood-radar-BY8XP_Q5.js} +129 -132
- package/dist/vue-ui-mood-radar-CwtMLwP8.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-BdUdHFd-.js → vue-ui-nested-donuts-5uuLi3If.js} +98 -98
- package/dist/{vue-ui-nested-donuts-C7qM_FRw.cjs → vue-ui-nested-donuts-CLnVnAiD.cjs} +2 -2
- package/dist/{vue-ui-onion-DX3gofXZ.cjs → vue-ui-onion-CMSPSSSG.cjs} +1 -1
- package/dist/{vue-ui-onion-D0vF5jBt.js → vue-ui-onion-zDy4ecPl.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-DEx5kFYd.cjs → vue-ui-parallel-coordinate-plot-1PFxiI__.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-CTZY-pY8.js → vue-ui-parallel-coordinate-plot-BeEkL7Dq.js} +24 -24
- package/dist/vue-ui-quadrant-Cx5z_c90.cjs +1 -0
- package/dist/{vue-ui-quadrant-ByY8GP3y.js → vue-ui-quadrant-MCIlbbsW.js} +35 -35
- package/dist/{vue-ui-quick-chart-DWZEgUJF.cjs → vue-ui-quick-chart-Xn-47NQG.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-DTxJ__7j.js → vue-ui-quick-chart-r6Qa7qg_.js} +69 -69
- package/dist/{vue-ui-radar-DEED0rTz.cjs → vue-ui-radar-ANQ1wXFc.cjs} +1 -1
- package/dist/{vue-ui-radar-5UBmAU6W.js → vue-ui-radar-DFV5cFkl.js} +39 -39
- package/dist/{vue-ui-rating-Ce_Ewqtl.cjs → vue-ui-rating-BVzCbQbv.cjs} +1 -1
- package/dist/{vue-ui-rating-Dr6jquxh.js → vue-ui-rating-DYu1EuJF.js} +6 -6
- package/dist/{vue-ui-relation-circle-BU8i2miI.js → vue-ui-relation-circle-BAcmDQB_.js} +29 -29
- package/dist/vue-ui-relation-circle-DEM6C6Or.cjs +1 -0
- package/dist/{vue-ui-rings-Ctl3Jywh.js → vue-ui-rings-BiLlYpgu.js} +31 -31
- package/dist/{vue-ui-rings-OQ8a1Ruw.cjs → vue-ui-rings-Ce4G4hat.cjs} +2 -2
- package/dist/{vue-ui-scatter-BwJ_koWT.js → vue-ui-scatter-D2ndYfkQ.js} +95 -95
- package/dist/vue-ui-scatter-OtlcTCUF.cjs +1 -0
- package/dist/{vue-ui-screenshot-BS3L5vhN.js → vue-ui-screenshot-CKCNPn-e.js} +4 -4
- package/dist/{vue-ui-screenshot-bAVk3EPl.cjs → vue-ui-screenshot-DTQx4VsM.cjs} +1 -1
- package/dist/{vue-ui-skeleton-CvFX_ExX.js → vue-ui-skeleton-B30ZhUV7.js} +96 -96
- package/dist/vue-ui-skeleton-CwqzJlQf.cjs +41 -0
- package/dist/{vue-ui-smiley-CGYZpNt9.js → vue-ui-smiley-DzLvZR1k.js} +2 -2
- package/dist/{vue-ui-smiley-sF8QIso1.cjs → vue-ui-smiley-L6o24M6h.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-B4XSSKl9.js → vue-ui-spark-trend-BKsmENbH.js} +21 -21
- package/dist/vue-ui-spark-trend-BoWeviHk.cjs +1 -0
- package/dist/{vue-ui-sparkbar-BbsJGDMZ.js → vue-ui-sparkbar-DNzZkp8z.js} +10 -10
- package/dist/vue-ui-sparkbar-DY3iOLo4.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-D4w_i_QJ.js → vue-ui-sparkgauge-B2DngjVP.js} +8 -8
- package/dist/{vue-ui-sparkgauge-BKyQoI7C.cjs → vue-ui-sparkgauge-BlZ-lJm4.cjs} +1 -1
- package/dist/vue-ui-sparkhistogram-BUBewgdH.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-CYybrW-6.js → vue-ui-sparkhistogram-Co9N3BeQ.js} +111 -101
- package/dist/vue-ui-sparkline-BhL0mxXD.cjs +1 -0
- package/dist/{vue-ui-sparkline-DjN1SVdO.js → vue-ui-sparkline-Dpqo4aRJ.js} +34 -34
- package/dist/{vue-ui-sparkstackbar-BZ2bESBi.cjs → vue-ui-sparkstackbar-DtNbx3EV.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-BLMhJxaN.js → vue-ui-sparkstackbar-_JwfRxF8.js} +5 -5
- package/dist/{vue-ui-stackbar-BTKOHUYc.js → vue-ui-stackbar-BtN7ZM7-.js} +202 -200
- package/dist/{vue-ui-stackbar-DRHaJFR8.cjs → vue-ui-stackbar-C7AWHP6m.cjs} +2 -2
- package/dist/{vue-ui-strip-plot-o6GTsGAT.js → vue-ui-strip-plot-6L9a7BSw.js} +26 -26
- package/dist/{vue-ui-strip-plot-DxQxFbWg.cjs → vue-ui-strip-plot-cgOFTunJ.cjs} +1 -1
- package/dist/{vue-ui-table-BFIj1Rgh.cjs → vue-ui-table-4Pf9tmFg.cjs} +1 -1
- package/dist/{vue-ui-table-CnquiTpr.js → vue-ui-table-BFYHRMCS.js} +1 -1
- package/dist/{vue-ui-table-heatmap-CZRIwv-Q.js → vue-ui-table-heatmap--kPCu8mA.js} +24 -24
- package/dist/{vue-ui-table-heatmap-CCGK12Fa.cjs → vue-ui-table-heatmap-CltKb2V9.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DYmgfHz4.cjs → vue-ui-table-sparkline-B5OjJud8.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-B3zEeq6Z.js → vue-ui-table-sparkline-CsWx1Ksy.js} +26 -26
- package/dist/{vue-ui-thermometer-CzPRBt6c.cjs → vue-ui-thermometer-62_4QovL.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BopiohUh.js → vue-ui-thermometer-nTD7sp8r.js} +40 -40
- package/dist/{vue-ui-timer-Bonw69Lt.cjs → vue-ui-timer-BU0s7Vt9.cjs} +1 -1
- package/dist/{vue-ui-timer-C7WkW8hK.js → vue-ui-timer-DMFHjnzA.js} +8 -8
- package/dist/{vue-ui-tiremarks-BurRtFv4.js → vue-ui-tiremarks-1X9B1VKM.js} +18 -18
- package/dist/{vue-ui-tiremarks-DkIGfq8t.cjs → vue-ui-tiremarks-mwBeBMJY.cjs} +1 -1
- package/dist/{vue-ui-treemap-DWy4voIr.js → vue-ui-treemap-CVTwqPFA.js} +29 -29
- package/dist/{vue-ui-treemap-CalhJmnp.cjs → vue-ui-treemap-DQmBbm7e.cjs} +1 -1
- package/dist/vue-ui-vertical-bar-BXiy8KRC.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CJW1YhtY.js → vue-ui-vertical-bar-Br6Z0A3F.js} +14 -14
- package/dist/{vue-ui-waffle-faQMBYNx.cjs → vue-ui-waffle-CLCsHw9j.cjs} +1 -1
- package/dist/{vue-ui-waffle-DB7X6nTS.js → vue-ui-waffle-DEXMh07q.js} +84 -84
- package/dist/{vue-ui-wheel-CryKap2E.js → vue-ui-wheel-CwjuVi6U.js} +24 -24
- package/dist/{vue-ui-wheel-BzjbGP6a.cjs → vue-ui-wheel-DSFKKX65.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-COqUkvei.js → vue-ui-word-cloud-BKeD3fHb.js} +19 -19
- package/dist/{vue-ui-word-cloud-DJN9I4q4.cjs → vue-ui-word-cloud-DZS4hCeR.cjs} +1 -1
- package/dist/vue-ui-xy-B5aCogSL.cjs +3 -0
- package/dist/{vue-ui-xy-b1Z_HPsx.js → vue-ui-xy-DA3qqL8u.js} +351 -350
- package/dist/{vue-ui-xy-canvas-BgbLnY5B.js → vue-ui-xy-canvas-B7DH4RK5.js} +18 -18
- package/dist/vue-ui-xy-canvas-heCdqh5X.cjs +9 -0
- package/package.json +1 -1
- package/dist/Tooltip-DScSrYXJ.cjs +0 -1
- package/dist/index-BTgtr0F8.cjs +0 -4
- package/dist/vue-ui-3d-bar-DzmcGuqh.cjs +0 -19
- package/dist/vue-ui-age-pyramid-C7qr9EwB.cjs +0 -1
- package/dist/vue-ui-chestnut-DJkm72oD.cjs +0 -6
- package/dist/vue-ui-cursor-BQbeuW-k.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DOe-cwLi.cjs +0 -1
- package/dist/vue-ui-donut-v81suIOX.cjs +0 -1
- package/dist/vue-ui-gauge-BUB7H0qA.cjs +0 -1
- package/dist/vue-ui-mood-radar-DD8R9BpJ.cjs +0 -1
- package/dist/vue-ui-quadrant-CgApzie6.cjs +0 -1
- package/dist/vue-ui-relation-circle-CRcQ6Zcy.cjs +0 -1
- package/dist/vue-ui-scatter-B8StSjt8.cjs +0 -1
- package/dist/vue-ui-skeleton-CMQzFTs9.cjs +0 -41
- package/dist/vue-ui-spark-trend-CdIoxaqb.cjs +0 -1
- package/dist/vue-ui-sparkbar-C3i1K7hi.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-CvTYEmbz.cjs +0 -1
- package/dist/vue-ui-sparkline-CDowaDRS.cjs +0 -1
- package/dist/vue-ui-vertical-bar-rwWp-sai.cjs +0 -4
- package/dist/vue-ui-xy-BmA0tspd.cjs +0 -3
- package/dist/vue-ui-xy-canvas-DOM2Kq_s.cjs +0 -9
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as De, c as Ye, t as qe, a as He, p as I, b as We, g as le, e as K, d as ae, o as Ke, X as Je,
|
|
3
|
-
import { u as tt, U as lt } from "./usePrinter-
|
|
4
|
-
import at from "./vue-ui-skeleton-
|
|
5
|
-
import ot from "./BaseIcon-
|
|
6
|
-
import st from "./vue-ui-accordion-
|
|
7
|
-
import { u as
|
|
1
|
+
import { useCssVars as Oe, computed as $, ref as z, watch as Xe, onMounted as Ge, openBlock as a, createElementBlock as o, normalizeClass as m, normalizeStyle as h, createBlock as te, unref as n, createSlots as Ee, withCtx as U, renderSlot as M, normalizeProps as pe, guardReactiveProps as ge, createCommentVNode as f, toDisplayString as c, createElementVNode as s, Fragment as g, renderList as _, createTextVNode as W, withKeys as Ae, createVNode as Ue, nextTick as _e } from "vue";
|
|
2
|
+
import { u as De, c as Ye, t as qe, a as He, p as I, b as We, g as le, e as K, d as ae, o as Ke, X as Je, s as S, w as xe, i as G, f as T, F as me, m as ke, j as Qe, k as P, n as H, q as Ze, r as et } from "./index-DP8dqFNd.js";
|
|
3
|
+
import { u as tt, U as lt } from "./usePrinter-DiuHo4LO.js";
|
|
4
|
+
import at from "./vue-ui-skeleton-B30ZhUV7.js";
|
|
5
|
+
import ot from "./BaseIcon-BIQXWVMS.js";
|
|
6
|
+
import st from "./vue-ui-accordion-Dl8zkZPk.js";
|
|
7
|
+
import { u as we } from "./useNestedProp-B-oZxD4x.js";
|
|
8
8
|
import { _ as ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "font-weight", "font-size", "x", "y"], dt = ["fill", "font-weight", "font-size", "x", "y"], vt = ["id"], yt = ["stop-color"], ht = ["stop-color"], ft = ["id"], bt = ["stop-color"], pt = ["stop-color"], gt = ["id"], _t = ["stop-color"], xt = ["stop-color"], mt = ["stop-color"], kt = ["id"], wt = ["stop-color"], $t = ["stop-color"], Ct = ["stop-color"], zt = ["id"], Tt = ["stop-color"], Nt = ["stop-color"], St = ["stop-color"], Ft = { key: 1 }, Lt = ["x", "y", "font-size", "font-weight", "fill"], It = ["x", "y", "font-size", "font-weight", "fill"], Pt = ["d", "stroke"], Vt = ["cx", "cy", "r", "fill"], Rt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], Bt = { key: 2 }, Mt = ["x", "y", "font-size", "fill", "onClick"], jt = { key: 0 },
|
|
9
|
+
const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "font-weight", "font-size", "x", "y"], dt = ["fill", "font-weight", "font-size", "x", "y"], vt = ["id"], yt = ["stop-color"], ht = ["stop-color"], ft = ["id"], bt = ["stop-color"], pt = ["stop-color"], gt = ["id"], _t = ["stop-color"], xt = ["stop-color"], mt = ["stop-color"], kt = ["id"], wt = ["stop-color"], $t = ["stop-color"], Ct = ["stop-color"], zt = ["id"], Tt = ["stop-color"], Nt = ["stop-color"], St = ["stop-color"], Ft = { key: 1 }, Lt = ["x", "y", "font-size", "font-weight", "fill"], It = ["x", "y", "font-size", "font-weight", "fill"], Pt = ["d", "stroke"], Vt = ["cx", "cy", "r", "fill"], Rt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], Bt = { key: 2 }, Mt = ["x", "y", "font-size", "fill", "onClick"], jt = { key: 0 }, Ot = ["x", "y", "fill", "font-size", "font-weight"], Xt = ["x", "y", "height", "width", "fill", "rx", "onClick"], Gt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], Et = { key: 3 }, At = ["x", "y", "fill", "font-size", "onClick"], Ut = ["d", "stroke"], Dt = ["fill", "cx", "cy", "r", "onClick"], Yt = { key: 4 }, qt = ["x", "y", "font-size", "font-weight", "fill"], Ht = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wt = ["y", "height", "width"], Kt = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, Jt = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, Qt = {
|
|
10
10
|
viewBox: "0 0 20 20",
|
|
11
11
|
height: "16",
|
|
12
12
|
width: "16"
|
|
13
|
-
},
|
|
13
|
+
}, Zt = ["fill"], el = { key: 6 }, tl = ["y", "height", "width"], ll = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, al = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, ol = {
|
|
14
14
|
viewBox: "0 0 20 20",
|
|
15
15
|
height: "16",
|
|
16
16
|
width: "16"
|
|
17
|
-
},
|
|
17
|
+
}, sl = ["fill"], ul = ["cx", "cy", "fill"], nl = ["d", "stroke"], rl = ["cx", "cy", "fill"], il = ["d", "stroke"], cl = ["cx", "cy", "fill"], dl = ["cx", "cy", "fill"], vl = ["x", "y", "fill", "font-size", "font-weight"], yl = ["x", "y", "fill", "font-size", "font-weight"], hl = ["x", "text-anchor", "y", "fill", "font-size"], fl = ["x", "text-anchor", "y", "fill", "font-size"], bl = ["x", "text-anchor", "y", "fill", "font-size"], pl = ["x", "text-anchor", "y", "fill", "font-size"], gl = ["x", "text-anchor", "y", "fill", "font-size"], _l = ["x", "y", "font-size", "fill"], xl = ["x", "y", "font-size", "fill"], ml = ["x", "y", "font-size", "fill"], kl = {
|
|
18
18
|
key: 2,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
20
|
+
}, wl = { style: { "padding-top": "36px", position: "relative" } }, $l = { class: "vue-ui-data-table" }, Cl = { key: 0 }, zl = ["data-cell"], Tl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Nl = { key: 0 }, Sl = { key: 1 }, Fl = ["data-cell"], Ll = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Il = { key: 0 }, Pl = { key: 1 }, Vl = ["data-cell"], Rl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Bl = { key: 0 }, Ml = { key: 1 }, jl = ["data-cell"], Ol = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Xl = { key: 0 }, Gl = { key: 1 }, El = ["data-cell"], Al = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ul = { key: 0 }, Dl = { key: 1 }, Yl = ["data-cell"], ql = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Hl = { key: 0 }, Wl = { key: 1 }, Kl = ["data-cell"], Jl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ql = { key: 0 }, Zl = { key: 1 }, ea = ["data-cell"], ta = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, la = ["data-cell"], aa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, oa = ["data-cell"], sa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ua = ["data-cell"], na = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ra = ["data-cell"], ia = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ca = {
|
|
21
21
|
__name: "vue-ui-chestnut",
|
|
22
22
|
props: {
|
|
23
23
|
config: {
|
|
@@ -34,37 +34,37 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
emits: ["selectRoot", "selectBranch", "selectNut"],
|
|
37
|
-
setup(
|
|
38
|
-
const V =
|
|
39
|
-
|
|
40
|
-
"
|
|
37
|
+
setup($e, { expose: Ce, emit: E }) {
|
|
38
|
+
const V = $e;
|
|
39
|
+
Oe((l) => ({
|
|
40
|
+
"1f0e4d4b": l.tdo
|
|
41
41
|
}));
|
|
42
|
-
const { vue_ui_chestnut:
|
|
42
|
+
const { vue_ui_chestnut: ze } = De(), D = $(() => !!V.dataset && V.dataset.length), k = z(Ye()), oe = z(null), Te = z(null), se = z(0), e = $({
|
|
43
43
|
get: () => ue(),
|
|
44
44
|
set: (l) => l
|
|
45
45
|
});
|
|
46
46
|
function ue() {
|
|
47
|
-
const l =
|
|
47
|
+
const l = we({
|
|
48
48
|
userConfig: V.config,
|
|
49
|
-
defaultConfig:
|
|
49
|
+
defaultConfig: ze
|
|
50
50
|
});
|
|
51
51
|
return l.theme ? {
|
|
52
|
-
|
|
52
|
+
...we({
|
|
53
53
|
userConfig: qe.vue_ui_chestnut[l.theme] || V.config,
|
|
54
54
|
defaultConfig: l
|
|
55
55
|
}),
|
|
56
56
|
customPalette: He[l.theme] || I
|
|
57
57
|
} : l;
|
|
58
58
|
}
|
|
59
|
-
|
|
60
|
-
e.value = ue(),
|
|
59
|
+
Xe(() => V.config, (l) => {
|
|
60
|
+
e.value = ue(), he();
|
|
61
61
|
}, { deep: !0 });
|
|
62
62
|
const { isPrinting: ne, isImaging: re, generatePdf: ie, generateImage: ce } = tt({
|
|
63
63
|
elementId: `vue-ui-chestnut_${k.value}`,
|
|
64
64
|
fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut"
|
|
65
65
|
}), J = $(() => We(e.value.customPalette)), Y = z({
|
|
66
66
|
showTable: e.value.table.show
|
|
67
|
-
}), Q = z(null), de = z(!1),
|
|
67
|
+
}), Q = z(null), de = z(!1), Ne = $(() => e.value.table.responsiveBreakpoint), r = z({
|
|
68
68
|
gap: 6,
|
|
69
69
|
padding: {
|
|
70
70
|
top: 102,
|
|
@@ -99,29 +99,29 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
99
99
|
le({
|
|
100
100
|
datasetObject: t,
|
|
101
101
|
requiredAttributes: ["name", "value"]
|
|
102
|
-
}).forEach((
|
|
102
|
+
}).forEach((b) => {
|
|
103
103
|
K({
|
|
104
104
|
componentName: "VueUiChestnut",
|
|
105
105
|
type: "datasetSerieAttribute",
|
|
106
|
-
property:
|
|
106
|
+
property: b,
|
|
107
107
|
index: `${i} - ${u}`
|
|
108
108
|
});
|
|
109
|
-
}), t.breakdown && t.breakdown.forEach((
|
|
109
|
+
}), t.breakdown && t.breakdown.forEach((b, y) => {
|
|
110
110
|
le({
|
|
111
|
-
datasetObject:
|
|
111
|
+
datasetObject: b,
|
|
112
112
|
requiredAttributes: ["name", "value"]
|
|
113
|
-
}).forEach((
|
|
113
|
+
}).forEach((p) => {
|
|
114
114
|
K({
|
|
115
115
|
componentName: "VueUiChestnut",
|
|
116
116
|
type: "datasetSerieAttribute",
|
|
117
|
-
property:
|
|
117
|
+
property: p,
|
|
118
118
|
index: `${i} - ${u} - ${y}`
|
|
119
119
|
});
|
|
120
120
|
});
|
|
121
121
|
});
|
|
122
122
|
});
|
|
123
123
|
}), V.dataset.map((l, i) => {
|
|
124
|
-
const t = (l.branches || []).map((u) => u.value || 0).reduce((u,
|
|
124
|
+
const t = (l.branches || []).map((u) => u.value || 0).reduce((u, b) => u + b, 0);
|
|
125
125
|
return {
|
|
126
126
|
...l,
|
|
127
127
|
color: ae(l.color) || J.value[i] || I[i] || I[i % I.length],
|
|
@@ -129,16 +129,16 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
129
129
|
type: "root",
|
|
130
130
|
total: t,
|
|
131
131
|
rootIndex: i,
|
|
132
|
-
branches: (l.branches || []).map((u,
|
|
132
|
+
branches: (l.branches || []).map((u, b) => ({
|
|
133
133
|
...u,
|
|
134
134
|
rootName: l.name,
|
|
135
135
|
rootIndex: i,
|
|
136
136
|
color: ae(l.color) || J.value[i] || I[i] || I[i % I.length],
|
|
137
137
|
value: u.value >= 0 ? u.value : 0,
|
|
138
|
-
id: u.id || `branch_${i}_${
|
|
138
|
+
id: u.id || `branch_${i}_${b}_${k.value}`,
|
|
139
139
|
proportionToRoot: u.value / t,
|
|
140
140
|
type: "branch",
|
|
141
|
-
breakdown: (u.breakdown || []).map((y,
|
|
141
|
+
breakdown: (u.breakdown || []).map((y, p) => ({
|
|
142
142
|
table: {
|
|
143
143
|
rootName: l.name,
|
|
144
144
|
rootValue: t,
|
|
@@ -162,64 +162,64 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
162
162
|
proportionToRoot: y.value / t,
|
|
163
163
|
proportionToTree: y.value / R.value,
|
|
164
164
|
rootIndex: i,
|
|
165
|
-
id: y.id || `nut_${i}_${
|
|
166
|
-
color: ae(y.color) || J.value[
|
|
165
|
+
id: y.id || `nut_${i}_${b}_${p}_${k.value}`,
|
|
166
|
+
color: ae(y.color) || J.value[p] || I[p] || I[p % I.length],
|
|
167
167
|
value: y.value >= 0 ? y.value : 0
|
|
168
168
|
}))
|
|
169
169
|
}))
|
|
170
170
|
};
|
|
171
171
|
})));
|
|
172
|
-
function
|
|
172
|
+
function Se() {
|
|
173
173
|
return N.value;
|
|
174
174
|
}
|
|
175
|
-
const
|
|
176
|
-
const t = C.value.height / N.value.length / 2, u = l.total /
|
|
175
|
+
const Fe = $(() => N.value.flatMap((l) => l.branches).length), Le = $(() => Math.max(...N.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), Ie = $(() => Math.max(...N.value.flatMap((l) => l.branches.map((i) => i.value)))), ve = $(() => 256 + r.value.padding.left), j = $(() => N.value.sort((l, i) => i.total - l.total).map((l, i) => {
|
|
176
|
+
const t = C.value.height / N.value.length / 2, u = l.total / Le.value * (t > 64 ? 64 : t);
|
|
177
177
|
return {
|
|
178
178
|
...l,
|
|
179
179
|
x: C.value.seedX,
|
|
180
180
|
y: C.value.top + C.value.height / N.value.length * (i + 1) - (C.value.height / N.value.length / 2 + r.value.gap / 2),
|
|
181
181
|
r: u < r.value.branchSize / 2 ? r.value.branchSize / 2 : u
|
|
182
182
|
};
|
|
183
|
-
})),
|
|
183
|
+
})), Pe = $(() => 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), Ve = $(() => j.value.flatMap((l) => l.branches)), O = $(() => Ve.value.sort((l, i) => i.value - l.value).map((l, i) => ({
|
|
184
184
|
...l,
|
|
185
185
|
y1: i * r.value.branchSize + C.value.top + i * r.value.gap,
|
|
186
186
|
y2: i * r.value.branchSize + r.value.branchSize,
|
|
187
187
|
x1: ve.value,
|
|
188
|
-
x2: 384 * l.value /
|
|
188
|
+
x2: 384 * l.value / Ie.value * Pe.value + ve.value
|
|
189
189
|
})));
|
|
190
190
|
function Z(l) {
|
|
191
|
-
const i =
|
|
191
|
+
const i = j.value.find((t) => t.rootIndex === l.rootIndex);
|
|
192
192
|
return { x: i.x, y: i.y, r: i.r };
|
|
193
193
|
}
|
|
194
|
-
const
|
|
194
|
+
const d = z(null), B = z(null), x = z(null), F = z(null);
|
|
195
195
|
function w() {
|
|
196
|
-
|
|
196
|
+
d.value = null, x.value = null, F.value = null;
|
|
197
197
|
}
|
|
198
198
|
function L(l) {
|
|
199
|
-
return F.value ? F.value === null ? !0 : l.type === "root" ? l.id === F.value.id : l.rootIndex === F.value.rootIndex :
|
|
199
|
+
return F.value ? F.value === null ? !0 : l.type === "root" ? l.id === F.value.id : l.rootIndex === F.value.rootIndex : d.value === null && x.value === null ? !0 : l.type === "nut" ? d.value.id === l.id : l.type === "branch" ? x.value.id === l.id : l.type === "root" ? x.value && x.value.rootIndex === l.rootIndex || d.value && d.value.rootIndex === l.rootIndex : !1;
|
|
200
200
|
}
|
|
201
|
-
function
|
|
202
|
-
w(),
|
|
203
|
-
|
|
201
|
+
function Re(l) {
|
|
202
|
+
w(), _e(() => {
|
|
203
|
+
d.value = l, x.value = l, B.value = ke(
|
|
204
204
|
{ series: l.breakdown, base: 1 },
|
|
205
205
|
l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
206
206
|
l.y1 + r.value.branchSize / 2,
|
|
207
207
|
80,
|
|
208
208
|
80
|
|
209
|
-
),
|
|
209
|
+
), E("selectNut", l.breakdown);
|
|
210
210
|
});
|
|
211
211
|
}
|
|
212
|
-
function
|
|
213
|
-
|
|
212
|
+
function X() {
|
|
213
|
+
d.value = null, B.value = null, E("selectNut", null);
|
|
214
214
|
}
|
|
215
215
|
function ee(l) {
|
|
216
|
-
x.value && x.value.id === l.id ? (x.value = null, w(),
|
|
216
|
+
x.value && x.value.id === l.id ? (x.value = null, w(), E("selectBranch", null)) : (w(), x.value = l, E("selectBranch", l));
|
|
217
217
|
}
|
|
218
|
-
function
|
|
219
|
-
F.value && F.value.id === l.id ? (w(),
|
|
218
|
+
function ye(l) {
|
|
219
|
+
F.value && F.value.id === l.id ? (w(), E("selectRoot", null)) : (w(), F.value = l, E("selectRoot", l));
|
|
220
220
|
}
|
|
221
221
|
function Be() {
|
|
222
|
-
return C.value.bottom - (
|
|
222
|
+
return C.value.bottom - (d.value.y1 + 180) < 0 ? 0 : C.value.bottom;
|
|
223
223
|
}
|
|
224
224
|
function A(l) {
|
|
225
225
|
return l.proportion * 100 > e.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
|
|
@@ -227,23 +227,23 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
227
227
|
function Me() {
|
|
228
228
|
const l = new ResizeObserver((i) => {
|
|
229
229
|
i.forEach((t) => {
|
|
230
|
-
de.value = t.contentRect.width <
|
|
230
|
+
de.value = t.contentRect.width < Ne.value;
|
|
231
231
|
});
|
|
232
232
|
});
|
|
233
233
|
Q.value && l.observe(Q.value);
|
|
234
234
|
}
|
|
235
|
-
|
|
236
|
-
|
|
235
|
+
Ge(() => {
|
|
236
|
+
he();
|
|
237
237
|
});
|
|
238
|
-
function
|
|
238
|
+
function he() {
|
|
239
239
|
Ke(V.dataset) && K({
|
|
240
240
|
componentName: "VueUiChestnut",
|
|
241
241
|
type: "dataset"
|
|
242
242
|
});
|
|
243
|
-
const l =
|
|
243
|
+
const l = Fe.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
|
|
244
244
|
r.value.height = l, Me();
|
|
245
245
|
}
|
|
246
|
-
const
|
|
246
|
+
const v = $(() => {
|
|
247
247
|
const l = [
|
|
248
248
|
e.value.table.th.translations.rootName,
|
|
249
249
|
e.value.table.th.translations.rootValue,
|
|
@@ -257,41 +257,41 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
257
257
|
e.value.table.th.translations.nutToBranch,
|
|
258
258
|
e.value.table.th.translations.nutToRoot,
|
|
259
259
|
e.value.table.th.translations.nutToTotal
|
|
260
|
-
], i = N.value.flatMap((t, u) => t.branches.flatMap((
|
|
260
|
+
], i = N.value.flatMap((t, u) => t.branches.flatMap((b, y) => b.breakdown.flatMap((p, da) => p.table)));
|
|
261
261
|
return { head: l, body: i };
|
|
262
262
|
});
|
|
263
|
-
function
|
|
264
|
-
|
|
265
|
-
const l = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", R.value], [""]], i =
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
263
|
+
function fe() {
|
|
264
|
+
_e(() => {
|
|
265
|
+
const l = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", R.value], [""]], i = v.value.head, t = v.value.body.map((y, p) => [
|
|
266
|
+
v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootName,
|
|
267
|
+
v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootValue,
|
|
268
|
+
v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootToTotal,
|
|
269
|
+
v.value.body[p - 1] && v.value.body[p - 1].branchName === y.branchName ? "" : y.branchName,
|
|
270
|
+
v.value.body[p - 1] && v.value.body[p - 1].branchName === y.branchName ? "" : y.branchValue,
|
|
271
|
+
v.value.body[p - 1] && v.value.body[p - 1].branchName === y.branchName ? "" : y.branchToRoot,
|
|
272
|
+
v.value.body[p - 1] && v.value.body[p - 1].branchName === y.branchName ? "" : y.branchToTotal,
|
|
273
273
|
y.nutName,
|
|
274
274
|
y.nutValue,
|
|
275
275
|
y.nutToBranch,
|
|
276
276
|
y.nutToRoot,
|
|
277
277
|
y.nutToTotal
|
|
278
|
-
]), u = l.concat([i]).concat(t),
|
|
279
|
-
et({ csvContent:
|
|
278
|
+
]), u = l.concat([i]).concat(t), b = Ze(u);
|
|
279
|
+
et({ csvContent: b, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
|
|
280
280
|
});
|
|
281
281
|
}
|
|
282
282
|
const q = z(!1);
|
|
283
283
|
function je(l) {
|
|
284
284
|
q.value = l, se.value += 1;
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function be() {
|
|
287
287
|
Y.value.showTable = !Y.value.showTable;
|
|
288
288
|
}
|
|
289
|
-
return
|
|
290
|
-
getData:
|
|
289
|
+
return Ce({
|
|
290
|
+
getData: Se,
|
|
291
291
|
generatePdf: ie,
|
|
292
|
-
generateCsv:
|
|
292
|
+
generateCsv: fe,
|
|
293
293
|
generateImage: ce,
|
|
294
|
-
toggleTable:
|
|
294
|
+
toggleTable: be
|
|
295
295
|
}), (l, i) => (a(), o("div", {
|
|
296
296
|
class: m(`vue-ui-chestnut ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
297
297
|
ref_key: "chestnutChart",
|
|
@@ -301,7 +301,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
301
301
|
}, [
|
|
302
302
|
e.value.userOptions.show && D.value ? (a(), te(lt, {
|
|
303
303
|
ref_key: "details",
|
|
304
|
-
ref:
|
|
304
|
+
ref: Te,
|
|
305
305
|
key: `user_options_${se.value}`,
|
|
306
306
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
307
307
|
color: e.value.style.chart.color,
|
|
@@ -318,46 +318,46 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
318
318
|
chartElement: oe.value,
|
|
319
319
|
onToggleFullscreen: je,
|
|
320
320
|
onGeneratePdf: n(ie),
|
|
321
|
-
onGenerateCsv:
|
|
321
|
+
onGenerateCsv: fe,
|
|
322
322
|
onGenerateImage: n(ce),
|
|
323
|
-
onToggleTable:
|
|
324
|
-
},
|
|
323
|
+
onToggleTable: be
|
|
324
|
+
}, Ee({ _: 2 }, [
|
|
325
325
|
l.$slots.optionPdf ? {
|
|
326
326
|
name: "optionPdf",
|
|
327
327
|
fn: U(() => [
|
|
328
|
-
|
|
328
|
+
M(l.$slots, "optionPdf", {}, void 0, !0)
|
|
329
329
|
]),
|
|
330
330
|
key: "0"
|
|
331
331
|
} : void 0,
|
|
332
332
|
l.$slots.optionCsv ? {
|
|
333
333
|
name: "optionCsv",
|
|
334
334
|
fn: U(() => [
|
|
335
|
-
|
|
335
|
+
M(l.$slots, "optionCsv", {}, void 0, !0)
|
|
336
336
|
]),
|
|
337
337
|
key: "1"
|
|
338
338
|
} : void 0,
|
|
339
339
|
l.$slots.optionImg ? {
|
|
340
340
|
name: "optionImg",
|
|
341
341
|
fn: U(() => [
|
|
342
|
-
|
|
342
|
+
M(l.$slots, "optionImg", {}, void 0, !0)
|
|
343
343
|
]),
|
|
344
344
|
key: "2"
|
|
345
345
|
} : void 0,
|
|
346
346
|
l.$slots.optionTable ? {
|
|
347
347
|
name: "optionTable",
|
|
348
348
|
fn: U(() => [
|
|
349
|
-
|
|
349
|
+
M(l.$slots, "optionTable", {}, void 0, !0)
|
|
350
350
|
]),
|
|
351
351
|
key: "3"
|
|
352
352
|
} : void 0,
|
|
353
353
|
l.$slots.optionFullscreen ? {
|
|
354
354
|
name: "optionFullscreen",
|
|
355
355
|
fn: U(({ toggleFullscreen: t, isFullscreen: u }) => [
|
|
356
|
-
|
|
356
|
+
M(l.$slots, "optionFullscreen", pe(ge({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
|
|
357
357
|
]),
|
|
358
358
|
key: "4"
|
|
359
359
|
} : void 0
|
|
360
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) :
|
|
360
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
|
|
361
361
|
r.value.height > 0 && D.value ? (a(), o("svg", {
|
|
362
362
|
key: 1,
|
|
363
363
|
xmlns: n(Je),
|
|
@@ -365,7 +365,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
365
365
|
viewBox: `0 0 ${r.value.width} ${r.value.height}`,
|
|
366
366
|
style: h(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
|
|
367
367
|
}, [
|
|
368
|
-
|
|
368
|
+
d.value ? f("", !0) : (a(), o("g", it, [
|
|
369
369
|
e.value.style.chart.layout.title.text ? (a(), o("text", {
|
|
370
370
|
key: 0,
|
|
371
371
|
"text-anchor": "middle",
|
|
@@ -375,7 +375,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
375
375
|
x: r.value.width / 2,
|
|
376
376
|
y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
|
|
377
377
|
onClick: w
|
|
378
|
-
}, c(e.value.style.chart.layout.title.text), 9, ct)) :
|
|
378
|
+
}, c(e.value.style.chart.layout.title.text), 9, ct)) : f("", !0),
|
|
379
379
|
e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
|
|
380
380
|
key: 1,
|
|
381
381
|
"text-anchor": "middle",
|
|
@@ -385,10 +385,10 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
385
385
|
x: r.value.width / 2,
|
|
386
386
|
y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
|
|
387
387
|
onClick: w
|
|
388
|
-
}, c(e.value.style.chart.layout.title.subtitle.text), 9, dt)) :
|
|
388
|
+
}, c(e.value.style.chart.layout.title.subtitle.text), 9, dt)) : f("", !0)
|
|
389
389
|
])),
|
|
390
390
|
s("defs", null, [
|
|
391
|
-
(a(!0), o(
|
|
391
|
+
(a(!0), o(g, null, _(N.value, (t, u) => (a(), o("radialGradient", {
|
|
392
392
|
cx: "50%",
|
|
393
393
|
cy: "50%",
|
|
394
394
|
r: "50%",
|
|
@@ -398,14 +398,14 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
398
398
|
}, [
|
|
399
399
|
s("stop", {
|
|
400
400
|
offset: "0%",
|
|
401
|
-
"stop-color":
|
|
401
|
+
"stop-color": n(S)(n(xe)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
|
|
402
402
|
}, null, 8, yt),
|
|
403
403
|
s("stop", {
|
|
404
404
|
offset: "100%",
|
|
405
405
|
"stop-color": t.color
|
|
406
406
|
}, null, 8, ht)
|
|
407
407
|
], 8, vt))), 256)),
|
|
408
|
-
(a(!0), o(
|
|
408
|
+
(a(!0), o(g, null, _(N.value, (t) => (a(), o("linearGradient", {
|
|
409
409
|
x1: "0%",
|
|
410
410
|
y1: "0%",
|
|
411
411
|
x2: "100%",
|
|
@@ -418,7 +418,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
418
418
|
}, null, 8, bt),
|
|
419
419
|
s("stop", {
|
|
420
420
|
offset: "100%",
|
|
421
|
-
"stop-color":
|
|
421
|
+
"stop-color": n(S)(n(xe)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
|
|
422
422
|
}, null, 8, pt)
|
|
423
423
|
], 8, ft))), 256)),
|
|
424
424
|
s("radialGradient", {
|
|
@@ -431,15 +431,15 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
431
431
|
}, [
|
|
432
432
|
s("stop", {
|
|
433
433
|
offset: "0%",
|
|
434
|
-
"stop-color":
|
|
434
|
+
"stop-color": n(S)("#FFFFFF", 0)
|
|
435
435
|
}, null, 8, _t),
|
|
436
436
|
s("stop", {
|
|
437
437
|
offset: "80%",
|
|
438
|
-
"stop-color":
|
|
438
|
+
"stop-color": n(S)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
|
|
439
439
|
}, null, 8, xt),
|
|
440
440
|
s("stop", {
|
|
441
441
|
offset: "100%",
|
|
442
|
-
"stop-color":
|
|
442
|
+
"stop-color": n(S)("#FFFFFF", 0)
|
|
443
443
|
}, null, 8, mt)
|
|
444
444
|
], 8, gt),
|
|
445
445
|
s("radialGradient", {
|
|
@@ -452,15 +452,15 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
452
452
|
}, [
|
|
453
453
|
s("stop", {
|
|
454
454
|
offset: "0%",
|
|
455
|
-
"stop-color":
|
|
455
|
+
"stop-color": n(S)("#FFFFFF", 0)
|
|
456
456
|
}, null, 8, wt),
|
|
457
457
|
s("stop", {
|
|
458
458
|
offset: "80%",
|
|
459
|
-
"stop-color":
|
|
459
|
+
"stop-color": n(S)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
|
|
460
460
|
}, null, 8, $t),
|
|
461
461
|
s("stop", {
|
|
462
462
|
offset: "100%",
|
|
463
|
-
"stop-color":
|
|
463
|
+
"stop-color": n(S)("#FFFFFF", 0)
|
|
464
464
|
}, null, 8, Ct)
|
|
465
465
|
], 8, kt),
|
|
466
466
|
s("radialGradient", {
|
|
@@ -473,15 +473,15 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
473
473
|
}, [
|
|
474
474
|
s("stop", {
|
|
475
475
|
offset: "0%",
|
|
476
|
-
"stop-color":
|
|
476
|
+
"stop-color": n(S)(e.value.style.chart.backgroundColor, 100)
|
|
477
477
|
}, null, 8, Tt),
|
|
478
478
|
s("stop", {
|
|
479
479
|
offset: "80%",
|
|
480
|
-
"stop-color":
|
|
480
|
+
"stop-color": n(S)(e.value.style.chart.backgroundColor, 60)
|
|
481
481
|
}, null, 8, Nt),
|
|
482
482
|
s("stop", {
|
|
483
483
|
offset: "100%",
|
|
484
|
-
"stop-color":
|
|
484
|
+
"stop-color": n(S)(e.value.style.chart.backgroundColor, 0)
|
|
485
485
|
}, null, 8, St)
|
|
486
486
|
], 8, zt)
|
|
487
487
|
]),
|
|
@@ -503,7 +503,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
503
503
|
fill: e.value.style.chart.layout.grandTotal.color,
|
|
504
504
|
"text-anchor": "middle",
|
|
505
505
|
onClick: w
|
|
506
|
-
}, c(n(
|
|
506
|
+
}, c(n(G)(
|
|
507
507
|
e.value.style.chart.layout.grandTotal.formatter,
|
|
508
508
|
R.value,
|
|
509
509
|
n(T)({
|
|
@@ -513,16 +513,16 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
513
513
|
r: e.value.style.chart.layout.grandTotal.roundingValue
|
|
514
514
|
})
|
|
515
515
|
)), 9, It)
|
|
516
|
-
])) :
|
|
517
|
-
(a(!0), o(
|
|
518
|
-
(a(!0), o(
|
|
516
|
+
])) : f("", !0),
|
|
517
|
+
(a(!0), o(g, null, _(O.value, (t) => (a(), o("g", null, [
|
|
518
|
+
(a(!0), o(g, null, _(r.value.branchSize, (u, b) => (a(), o("path", {
|
|
519
519
|
d: `M
|
|
520
|
-
${t.x1},${t.y1 +
|
|
521
|
-
C${t.x1 - 20},${t.y1 +
|
|
522
|
-
${t.x1 - 80},${t.y1 +
|
|
520
|
+
${t.x1},${t.y1 + b}
|
|
521
|
+
C${t.x1 - 20},${t.y1 + b}
|
|
522
|
+
${t.x1 - 80},${t.y1 + b}
|
|
523
523
|
${Z(t).x + Z(t).r / 2}, ${Z(t).y}
|
|
524
524
|
`,
|
|
525
|
-
stroke:
|
|
525
|
+
stroke: n(S)(t.color, e.value.style.chart.layout.links.opacity),
|
|
526
526
|
fill: "none",
|
|
527
527
|
"stroke-width": "2",
|
|
528
528
|
"shape-rendering": "cirspEdges",
|
|
@@ -530,7 +530,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
530
530
|
onClick: w
|
|
531
531
|
}, null, 12, Pt))), 256))
|
|
532
532
|
]))), 256)),
|
|
533
|
-
(a(!0), o(
|
|
533
|
+
(a(!0), o(g, null, _(j.value, (t) => (a(), o("circle", {
|
|
534
534
|
cx: t.x,
|
|
535
535
|
cy: t.y,
|
|
536
536
|
r: t.r,
|
|
@@ -538,7 +538,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
538
538
|
stroke: "none",
|
|
539
539
|
style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`)
|
|
540
540
|
}, null, 12, Vt))), 256)),
|
|
541
|
-
(a(!0), o(
|
|
541
|
+
(a(!0), o(g, null, _(j.value, (t, u) => (a(), o("circle", {
|
|
542
542
|
cx: t.x,
|
|
543
543
|
cy: t.y,
|
|
544
544
|
r: t.r,
|
|
@@ -546,19 +546,19 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
546
546
|
stroke: e.value.style.chart.layout.roots.stroke,
|
|
547
547
|
"stroke-width": e.value.style.chart.layout.roots.strokeWidth,
|
|
548
548
|
style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
|
|
549
|
-
onClick: (
|
|
549
|
+
onClick: (b) => ye(t)
|
|
550
550
|
}, null, 12, Rt))), 256)),
|
|
551
551
|
e.value.style.chart.layout.roots.labels.show ? (a(), o("g", Bt, [
|
|
552
|
-
(a(!0), o(
|
|
552
|
+
(a(!0), o(g, null, _(j.value, (t, u) => (a(), o("text", {
|
|
553
553
|
x: t.x,
|
|
554
554
|
y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
|
|
555
555
|
"text-anchor": "middle",
|
|
556
556
|
"font-size": e.value.style.chart.layout.roots.labels.fontSize,
|
|
557
|
-
fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? n(
|
|
557
|
+
fill: e.value.style.chart.layout.roots.labels.adaptColorToBackground ? n(me)(t.color) : e.value.style.chart.layout.roots.labels.color,
|
|
558
558
|
"font-weight": "bold",
|
|
559
559
|
style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
|
|
560
|
-
onClick: (
|
|
561
|
-
}, c(n(
|
|
560
|
+
onClick: (b) => ye(t)
|
|
561
|
+
}, c(n(G)(
|
|
562
562
|
e.value.style.chart.layout.roots.labels.formatter,
|
|
563
563
|
t.total,
|
|
564
564
|
n(T)({
|
|
@@ -569,8 +569,8 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
569
569
|
}),
|
|
570
570
|
{ datapoint: t }
|
|
571
571
|
)), 13, Mt))), 256)),
|
|
572
|
-
(a(!0), o(
|
|
573
|
-
|
|
572
|
+
(a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
|
|
573
|
+
d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || F.value && t.rootIndex === F.value.rootIndex ? (a(), o("g", jt, [
|
|
574
574
|
s("text", {
|
|
575
575
|
x: t.x,
|
|
576
576
|
y: t.y + t.r + 24,
|
|
@@ -579,11 +579,11 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
579
579
|
"font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
|
|
580
580
|
"font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
|
|
581
581
|
onClick: w
|
|
582
|
-
}, c(t.name), 9,
|
|
583
|
-
])) :
|
|
582
|
+
}, c(t.name), 9, Ot)
|
|
583
|
+
])) : f("", !0)
|
|
584
584
|
]))), 256))
|
|
585
|
-
])) :
|
|
586
|
-
(a(!0), o(
|
|
585
|
+
])) : f("", !0),
|
|
586
|
+
(a(!0), o(g, null, _(O.value, (t) => (a(), o("rect", {
|
|
587
587
|
x: t.x1,
|
|
588
588
|
y: t.y1,
|
|
589
589
|
height: r.value.branchSize,
|
|
@@ -593,8 +593,8 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
593
593
|
stroke: "none",
|
|
594
594
|
style: h(`opacity:${L(t) ? 1 : 0.05}`),
|
|
595
595
|
onClick: (u) => ee(t)
|
|
596
|
-
}, null, 12,
|
|
597
|
-
(a(!0), o(
|
|
596
|
+
}, null, 12, Xt))), 256)),
|
|
597
|
+
(a(!0), o(g, null, _(O.value, (t, u) => (a(), o("rect", {
|
|
598
598
|
x: t.x1,
|
|
599
599
|
y: t.y1,
|
|
600
600
|
height: r.value.branchSize,
|
|
@@ -604,21 +604,21 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
604
604
|
stroke: e.value.style.chart.layout.branches.stroke,
|
|
605
605
|
"stroke-width": e.value.style.chart.layout.branches.strokeWidth,
|
|
606
606
|
style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
|
|
607
|
-
onClick: (
|
|
608
|
-
}, null, 12,
|
|
609
|
-
e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g",
|
|
610
|
-
(a(!0), o(
|
|
607
|
+
onClick: (b) => ee(t)
|
|
608
|
+
}, null, 12, Gt))), 256)),
|
|
609
|
+
e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", Et, [
|
|
610
|
+
(a(!0), o(g, null, _(O.value, (t) => (a(), o("g", null, [
|
|
611
611
|
t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
|
|
612
612
|
key: 0,
|
|
613
613
|
x: t.x1 + 6,
|
|
614
614
|
y: t.y1 + r.value.branchSize / 1.5,
|
|
615
615
|
"text-anchor": "start",
|
|
616
|
-
fill: n(
|
|
616
|
+
fill: n(me)(t.color),
|
|
617
617
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
618
618
|
"font-weight": "bold",
|
|
619
619
|
style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
|
|
620
620
|
onClick: (u) => ee(t)
|
|
621
|
-
}, c(n(
|
|
621
|
+
}, c(n(G)(
|
|
622
622
|
e.value.style.chart.layout.branches.labels.dataLabels.formatter,
|
|
623
623
|
t.value,
|
|
624
624
|
n(T)({
|
|
@@ -628,42 +628,34 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
628
628
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
629
629
|
}),
|
|
630
630
|
{ datapoint: t }
|
|
631
|
-
)), 13, At)) :
|
|
631
|
+
)), 13, At)) : f("", !0)
|
|
632
632
|
]))), 256))
|
|
633
|
-
])) :
|
|
634
|
-
(a(!0), o(
|
|
635
|
-
(a(!0), o(
|
|
633
|
+
])) : f("", !0),
|
|
634
|
+
(a(!0), o(g, null, _(O.value, (t, u) => (a(), o("g", null, [
|
|
635
|
+
(a(!0), o(g, null, _(n(ke)(
|
|
636
636
|
{ series: t.breakdown, base: 1 },
|
|
637
637
|
t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
638
638
|
t.y1 + r.value.branchSize / 2,
|
|
639
639
|
r.value.branchSize / 3,
|
|
640
640
|
r.value.branchSize / 3
|
|
641
|
-
), (
|
|
642
|
-
d:
|
|
643
|
-
stroke:
|
|
641
|
+
), (b, y) => (a(), o("path", {
|
|
642
|
+
d: b.path,
|
|
643
|
+
stroke: b.color,
|
|
644
644
|
"stroke-width": 10,
|
|
645
645
|
fill: "none",
|
|
646
646
|
style: h(`opacity:${L(t) ? 1 : 0.1}`)
|
|
647
647
|
}, null, 12, Ut))), 256)),
|
|
648
|
-
(a(!0), o(p, null, g(B.value, (f) => (a(), o("circle", {
|
|
649
|
-
cx: f.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
650
|
-
cy: f.y1 + r.value.branchSize / 2,
|
|
651
|
-
r: 6,
|
|
652
|
-
fill: e.value.style.chart.backgroundColor,
|
|
653
|
-
onClick: (y) => ye(f),
|
|
654
|
-
style: { cursor: "pointer" }
|
|
655
|
-
}, null, 8, Dt))), 256)),
|
|
656
648
|
s("circle", {
|
|
657
649
|
fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${k.value})` : "transparent",
|
|
658
650
|
cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
659
651
|
cy: t.y1 + r.value.branchSize / 2,
|
|
660
652
|
r: r.value.branchSize / 2 + 2,
|
|
661
|
-
onClick: (
|
|
653
|
+
onClick: (b) => Re(t),
|
|
662
654
|
style: h(`cursor:pointer;opacity:${L(t) ? 1 : 0.1}`)
|
|
663
|
-
}, null, 12,
|
|
655
|
+
}, null, 12, Dt)
|
|
664
656
|
]))), 256)),
|
|
665
|
-
e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g",
|
|
666
|
-
(a(!0), o(
|
|
657
|
+
e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", Yt, [
|
|
658
|
+
(a(!0), o(g, null, _(O.value, (t) => (a(), o("text", {
|
|
667
659
|
x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
668
660
|
y: t.y1 + r.value.branchSize / 2 + 5,
|
|
669
661
|
"font-size": e.value.style.chart.layout.branches.labels.fontSize,
|
|
@@ -671,8 +663,8 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
671
663
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
672
664
|
"text-anchor": "start",
|
|
673
665
|
style: h(`opacity:${L(t) ? 1 : 0.1}`)
|
|
674
|
-
}, c(t.name), 13,
|
|
675
|
-
])) :
|
|
666
|
+
}, c(t.name), 13, qt))), 256))
|
|
667
|
+
])) : f("", !0),
|
|
676
668
|
s("line", {
|
|
677
669
|
x1: 256 + r.value.padding.left,
|
|
678
670
|
x2: 256 + r.value.padding.left,
|
|
@@ -680,8 +672,8 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
680
672
|
y2: C.value.bottom,
|
|
681
673
|
stroke: e.value.style.chart.layout.verticalSeparator.stroke,
|
|
682
674
|
"stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
|
|
683
|
-
}, null, 8,
|
|
684
|
-
!
|
|
675
|
+
}, null, 8, Ht),
|
|
676
|
+
!d.value && !x.value ? (a(), o("foreignObject", {
|
|
685
677
|
key: 5,
|
|
686
678
|
x: 0,
|
|
687
679
|
y: C.value.bottom,
|
|
@@ -690,22 +682,22 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
690
682
|
style: { overflow: "visible" },
|
|
691
683
|
onClick: w
|
|
692
684
|
}, [
|
|
693
|
-
s("div",
|
|
694
|
-
s("div",
|
|
695
|
-
(a(!0), o(
|
|
685
|
+
s("div", Kt, [
|
|
686
|
+
s("div", Jt, [
|
|
687
|
+
(a(!0), o(g, null, _(j.value, (t) => (a(), o("div", {
|
|
696
688
|
style: h(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
|
|
697
689
|
}, [
|
|
698
|
-
(a(), o("svg",
|
|
690
|
+
(a(), o("svg", Qt, [
|
|
699
691
|
s("circle", {
|
|
700
692
|
cx: "10",
|
|
701
693
|
cy: "10",
|
|
702
694
|
r: "10",
|
|
703
695
|
fill: t.color,
|
|
704
696
|
stroke: "none"
|
|
705
|
-
}, null, 8,
|
|
697
|
+
}, null, 8, Zt)
|
|
706
698
|
])),
|
|
707
699
|
s("span", null, c(t.name) + ":", 1),
|
|
708
|
-
s("b", null, c(n(
|
|
700
|
+
s("b", null, c(n(G)(
|
|
709
701
|
e.value.style.chart.layout.roots.labels.formatter,
|
|
710
702
|
t.total,
|
|
711
703
|
n(T)({
|
|
@@ -724,8 +716,8 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
724
716
|
], 4))), 256))
|
|
725
717
|
])
|
|
726
718
|
])
|
|
727
|
-
], 8,
|
|
728
|
-
|
|
719
|
+
], 8, Wt)) : f("", !0),
|
|
720
|
+
d.value && B.value ? (a(), o("g", el, [
|
|
729
721
|
(a(), o("foreignObject", {
|
|
730
722
|
x: 0,
|
|
731
723
|
y: Be(),
|
|
@@ -734,20 +726,20 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
734
726
|
style: { overflow: "visible" },
|
|
735
727
|
onClick: w
|
|
736
728
|
}, [
|
|
737
|
-
s("div",
|
|
738
|
-
s("b", null, c(
|
|
739
|
-
s("div",
|
|
740
|
-
(a(!0), o(
|
|
729
|
+
s("div", ll, [
|
|
730
|
+
s("b", null, c(d.value.name), 1),
|
|
731
|
+
s("div", al, [
|
|
732
|
+
(a(!0), o(g, null, _(d.value.breakdown, (t, u) => (a(), o("div", {
|
|
741
733
|
style: h(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
|
|
742
734
|
}, [
|
|
743
|
-
(a(), o("svg",
|
|
735
|
+
(a(), o("svg", ol, [
|
|
744
736
|
s("circle", {
|
|
745
737
|
cx: "10",
|
|
746
738
|
cy: "10",
|
|
747
739
|
r: "10",
|
|
748
740
|
fill: t.color,
|
|
749
741
|
stroke: "none"
|
|
750
|
-
}, null, 8,
|
|
742
|
+
}, null, 8, sl)
|
|
751
743
|
])),
|
|
752
744
|
s("span", null, [
|
|
753
745
|
W(c(t.name) + ": ", 1),
|
|
@@ -757,90 +749,101 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
757
749
|
], 4))), 256))
|
|
758
750
|
])
|
|
759
751
|
])
|
|
760
|
-
], 8,
|
|
761
|
-
(
|
|
752
|
+
], 8, tl)),
|
|
753
|
+
s("circle", {
|
|
754
|
+
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
755
|
+
cy: d.value.y1 + r.value.branchSize / 2,
|
|
756
|
+
r: 256,
|
|
757
|
+
fill: `url(#nut_underlayer_${k.value})`,
|
|
758
|
+
onClick: X,
|
|
759
|
+
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
760
|
+
}, null, 10, ul),
|
|
761
|
+
(a(!0), o(g, null, _(B.value, (t) => (a(), o("g", null, [
|
|
762
762
|
A(t) ? (a(), o("path", {
|
|
763
763
|
key: 0,
|
|
764
|
-
d: n(Qe)(
|
|
764
|
+
d: n(Qe)(
|
|
765
|
+
t,
|
|
766
|
+
{
|
|
767
|
+
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
768
|
+
y: d.value.y1 + r.value.branchSize / 2
|
|
769
|
+
},
|
|
770
|
+
16,
|
|
771
|
+
16,
|
|
772
|
+
!1,
|
|
773
|
+
!1,
|
|
774
|
+
64
|
|
775
|
+
),
|
|
765
776
|
stroke: t.color,
|
|
766
777
|
"stroke-width": "1",
|
|
767
778
|
"stroke-linecap": "round",
|
|
768
779
|
"stroke-linejoin": "round",
|
|
769
780
|
fill: "none",
|
|
770
781
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
771
|
-
}, null, 10, nl)) :
|
|
782
|
+
}, null, 10, nl)) : f("", !0)
|
|
772
783
|
]))), 256)),
|
|
773
784
|
s("circle", {
|
|
774
|
-
cx:
|
|
775
|
-
cy:
|
|
776
|
-
r: 256,
|
|
777
|
-
fill: `url(#nut_underlayer_${k.value})`,
|
|
778
|
-
onClick: O,
|
|
779
|
-
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
780
|
-
}, null, 10, rl),
|
|
781
|
-
s("circle", {
|
|
782
|
-
cx: v.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
783
|
-
cy: v.value.y1 + r.value.branchSize / 2,
|
|
785
|
+
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
786
|
+
cy: d.value.y1 + r.value.branchSize / 2,
|
|
784
787
|
r: 118,
|
|
785
788
|
fill: e.value.style.chart.backgroundColor,
|
|
786
|
-
onClick:
|
|
789
|
+
onClick: X,
|
|
787
790
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
788
|
-
}, null, 10,
|
|
789
|
-
(a(!0), o(
|
|
791
|
+
}, null, 10, rl),
|
|
792
|
+
(a(!0), o(g, null, _(B.value, (t) => (a(), o("path", {
|
|
790
793
|
d: t.path,
|
|
791
794
|
stroke: t.color,
|
|
792
795
|
"stroke-width": 64,
|
|
793
796
|
fill: "none",
|
|
794
|
-
onClick:
|
|
797
|
+
onClick: X,
|
|
795
798
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
796
|
-
}, null, 10,
|
|
799
|
+
}, null, 10, il))), 256)),
|
|
797
800
|
s("circle", {
|
|
798
|
-
cx:
|
|
799
|
-
cy:
|
|
801
|
+
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
802
|
+
cy: d.value.y1 + r.value.branchSize / 2,
|
|
800
803
|
r: 100,
|
|
801
804
|
fill: `url(#nutpick_${k.value})`,
|
|
802
|
-
onClick:
|
|
805
|
+
onClick: X,
|
|
803
806
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
804
|
-
}, null, 10,
|
|
807
|
+
}, null, 10, cl),
|
|
805
808
|
s("circle", {
|
|
806
|
-
cx:
|
|
807
|
-
cy:
|
|
809
|
+
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
810
|
+
cy: d.value.y1 + r.value.branchSize / 2,
|
|
808
811
|
r: 48,
|
|
809
812
|
fill: e.value.style.chart.backgroundColor,
|
|
810
|
-
onClick:
|
|
813
|
+
onClick: X,
|
|
811
814
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
812
|
-
}, null, 10,
|
|
815
|
+
}, null, 10, dl),
|
|
813
816
|
s("text", {
|
|
814
|
-
x:
|
|
815
|
-
y:
|
|
817
|
+
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
818
|
+
y: d.value.y1 + 8,
|
|
816
819
|
fill: e.value.style.chart.layout.nuts.selected.labels.core.total.color,
|
|
817
820
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.core.total.fontSize,
|
|
818
821
|
"font-weight": e.value.style.chart.layout.nuts.selected.labels.core.total.bold ? "bold" : "normal",
|
|
819
822
|
"text-anchor": "middle",
|
|
820
|
-
onClick:
|
|
823
|
+
onClick: X,
|
|
821
824
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
822
|
-
}, c(e.value.translations.total), 11,
|
|
825
|
+
}, c(e.value.translations.total), 11, vl),
|
|
823
826
|
s("text", {
|
|
824
|
-
x:
|
|
825
|
-
y:
|
|
827
|
+
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
828
|
+
y: d.value.y1 + 36,
|
|
826
829
|
fill: e.value.style.chart.layout.nuts.selected.labels.core.value.color,
|
|
827
830
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.core.value.fontSize,
|
|
828
831
|
"font-weight": e.value.style.chart.layout.nuts.selected.labels.core.value.bold ? "bold" : "normal",
|
|
829
832
|
"text-anchor": "middle",
|
|
830
|
-
onClick:
|
|
833
|
+
onClick: X,
|
|
831
834
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
832
|
-
}, c(n(
|
|
835
|
+
}, c(n(G)(
|
|
833
836
|
e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
|
|
834
|
-
|
|
837
|
+
d.value.value,
|
|
835
838
|
n(T)({
|
|
836
839
|
p: e.value.style.chart.layout.nuts.selected.labels.core.value.prefix,
|
|
837
|
-
v:
|
|
840
|
+
v: d.value.value,
|
|
838
841
|
s: e.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
|
|
839
842
|
r: e.value.style.chart.layout.nuts.selected.roundingValue
|
|
840
843
|
}),
|
|
841
|
-
{ datapoint:
|
|
842
|
-
)), 11,
|
|
843
|
-
(a(!0), o(
|
|
844
|
+
{ datapoint: d.value }
|
|
845
|
+
)), 11, yl),
|
|
846
|
+
(a(!0), o(g, null, _(B.value, (t, u) => (a(), o("g", null, [
|
|
844
847
|
A(t) ? (a(), o("text", {
|
|
845
848
|
key: 0,
|
|
846
849
|
x: n(P)(t).x,
|
|
@@ -850,7 +853,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
850
853
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
851
854
|
style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
852
855
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
853
|
-
}, " ⬤ ", 14,
|
|
856
|
+
}, " ⬤ ", 14, hl)) : f("", !0),
|
|
854
857
|
A(t) ? (a(), o("text", {
|
|
855
858
|
key: 1,
|
|
856
859
|
x: n(P)(t, !0).x,
|
|
@@ -860,9 +863,9 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
860
863
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
861
864
|
style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
862
865
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
863
|
-
}, c(
|
|
866
|
+
}, c(d.value.breakdown[u].name), 15, fl)) : f("", !0)
|
|
864
867
|
]))), 256)),
|
|
865
|
-
(a(!0), o(
|
|
868
|
+
(a(!0), o(g, null, _(B.value, (t, u) => (a(), o("g", null, [
|
|
866
869
|
A(t) ? (a(), o("text", {
|
|
867
870
|
key: 0,
|
|
868
871
|
x: n(P)(t, !0).x,
|
|
@@ -873,20 +876,20 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
873
876
|
style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
874
877
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
875
878
|
}, c(n(T)({
|
|
876
|
-
v:
|
|
879
|
+
v: d.value.breakdown[u].value / d.value.value * 100,
|
|
877
880
|
s: "%",
|
|
878
881
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
879
|
-
})) + " " + c(e.value.translations.of) + " " + c(
|
|
882
|
+
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[u].branchName) + " " + c(n(G)(
|
|
880
883
|
e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
|
|
881
|
-
|
|
884
|
+
d.value.breakdown[u].value,
|
|
882
885
|
n(T)({
|
|
883
886
|
p: e.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix,
|
|
884
|
-
v:
|
|
887
|
+
v: d.value.breakdown[u].value,
|
|
885
888
|
s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
|
|
886
889
|
r: e.value.style.chart.layout.nuts.selected.roundingValue
|
|
887
890
|
}),
|
|
888
|
-
{ datapoint:
|
|
889
|
-
)), 15,
|
|
891
|
+
{ datapoint: B.value, seriesIndex: u }
|
|
892
|
+
)), 15, bl)) : f("", !0),
|
|
890
893
|
A(t) ? (a(), o("text", {
|
|
891
894
|
key: 1,
|
|
892
895
|
x: n(P)(t, !0).x,
|
|
@@ -897,10 +900,10 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
897
900
|
style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
898
901
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
899
902
|
}, c(n(T)({
|
|
900
|
-
v:
|
|
903
|
+
v: d.value.breakdown[u].proportionToRoot * 100,
|
|
901
904
|
s: "%",
|
|
902
905
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
903
|
-
})) + " " + c(e.value.translations.of) + " " + c(
|
|
906
|
+
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[u].rootName), 15, pl)) : f("", !0),
|
|
904
907
|
A(t) ? (a(), o("text", {
|
|
905
908
|
key: 2,
|
|
906
909
|
x: n(P)(t, !0).x,
|
|
@@ -911,14 +914,14 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
911
914
|
style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
912
915
|
class: m(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
913
916
|
}, c(n(T)({
|
|
914
|
-
v:
|
|
917
|
+
v: d.value.breakdown[u].proportionToTree * 100,
|
|
915
918
|
s: "%",
|
|
916
919
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
917
|
-
})) + " " + c(e.value.translations.proportionToTree), 15,
|
|
920
|
+
})) + " " + c(e.value.translations.proportionToTree), 15, gl)) : f("", !0)
|
|
918
921
|
]))), 256))
|
|
919
|
-
])) :
|
|
920
|
-
(a(!0), o(
|
|
921
|
-
x.value && x.value.id === t.id && !
|
|
922
|
+
])) : f("", !0),
|
|
923
|
+
(a(!0), o(g, null, _(O.value, (t) => (a(), o("g", null, [
|
|
924
|
+
x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
|
|
922
925
|
key: 0,
|
|
923
926
|
x: t.x1 + 6,
|
|
924
927
|
y: t.y1 + r.value.branchSize + 24,
|
|
@@ -927,7 +930,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
927
930
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
928
931
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
929
932
|
onClick: w
|
|
930
|
-
}, c(t.name) + ": " + c(n(
|
|
933
|
+
}, c(t.name) + ": " + c(n(G)(
|
|
931
934
|
e.value.style.chart.layout.branches.labels.dataLabels.formatter,
|
|
932
935
|
t.value,
|
|
933
936
|
n(T)({
|
|
@@ -937,8 +940,8 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
937
940
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
938
941
|
}),
|
|
939
942
|
{ datapoint: t }
|
|
940
|
-
)), 9,
|
|
941
|
-
x.value && x.value.id === t.id && !
|
|
943
|
+
)), 9, _l)) : f("", !0),
|
|
944
|
+
x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
|
|
942
945
|
key: 1,
|
|
943
946
|
x: t.x1 + 6,
|
|
944
947
|
y: t.y1 + r.value.branchSize + 48,
|
|
@@ -950,8 +953,8 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
950
953
|
v: t.proportionToRoot * 100,
|
|
951
954
|
s: "%",
|
|
952
955
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
953
|
-
})) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9,
|
|
954
|
-
x.value && x.value.id === t.id && !
|
|
956
|
+
})) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, xl)) : f("", !0),
|
|
957
|
+
x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
|
|
955
958
|
key: 2,
|
|
956
959
|
x: t.x1 + 6,
|
|
957
960
|
y: t.y1 + r.value.branchSize + 72,
|
|
@@ -963,14 +966,14 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
963
966
|
v: t.value / R.value * 100,
|
|
964
967
|
s: "%",
|
|
965
968
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
966
|
-
})) + " " + c(e.value.translations.proportionToTree), 9,
|
|
969
|
+
})) + " " + c(e.value.translations.proportionToTree), 9, ml)) : f("", !0)
|
|
967
970
|
]))), 256)),
|
|
968
|
-
|
|
969
|
-
], 14, rt)) :
|
|
970
|
-
l.$slots.watermark ? (a(), o("div",
|
|
971
|
-
|
|
972
|
-
])) :
|
|
973
|
-
D.value ?
|
|
971
|
+
M(l.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
972
|
+
], 14, rt)) : f("", !0),
|
|
973
|
+
l.$slots.watermark ? (a(), o("div", kl, [
|
|
974
|
+
M(l.$slots, "watermark", pe(ge({ isPrinting: n(ne) || n(re) })), void 0, !0)
|
|
975
|
+
])) : f("", !0),
|
|
976
|
+
D.value ? f("", !0) : (a(), te(at, {
|
|
974
977
|
key: 3,
|
|
975
978
|
config: {
|
|
976
979
|
type: "chestnut",
|
|
@@ -982,7 +985,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
982
985
|
}
|
|
983
986
|
}
|
|
984
987
|
}, null, 8, ["config"])),
|
|
985
|
-
|
|
988
|
+
M(l.$slots, "legend", { legend: N.value }, void 0, !0),
|
|
986
989
|
D.value ? (a(), te(st, {
|
|
987
990
|
key: 4,
|
|
988
991
|
hideDetails: "",
|
|
@@ -1005,7 +1008,7 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
1005
1008
|
ref: Q,
|
|
1006
1009
|
class: "vue-ui-chestnut-table"
|
|
1007
1010
|
}, [
|
|
1008
|
-
s("div",
|
|
1011
|
+
s("div", wl, [
|
|
1009
1012
|
s("div", {
|
|
1010
1013
|
role: "button",
|
|
1011
1014
|
tabindex: "0",
|
|
@@ -1023,127 +1026,127 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
1023
1026
|
style: { width: "100%" },
|
|
1024
1027
|
class: m({ "vue-ui-responsive": de.value })
|
|
1025
1028
|
}, [
|
|
1026
|
-
s("table",
|
|
1029
|
+
s("table", $l, [
|
|
1027
1030
|
s("caption", {
|
|
1028
1031
|
style: h({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
|
|
1029
1032
|
class: "vue-ui-data-table__caption"
|
|
1030
1033
|
}, [
|
|
1031
1034
|
W(c(e.value.style.chart.layout.title.text) + " ", 1),
|
|
1032
|
-
e.value.style.chart.layout.title.subtitle.text ? (a(), o("span",
|
|
1035
|
+
e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", Cl, c(e.value.style.chart.layout.title.subtitle.text), 1)) : f("", !0)
|
|
1033
1036
|
], 4),
|
|
1034
1037
|
s("thead", null, [
|
|
1035
1038
|
s("tr", {
|
|
1036
1039
|
role: "row",
|
|
1037
1040
|
style: h(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
|
|
1038
1041
|
}, [
|
|
1039
|
-
(a(!0), o(
|
|
1042
|
+
(a(!0), o(g, null, _(v.value.head, (t) => (a(), o("th", {
|
|
1040
1043
|
style: h(`outline:${e.value.table.th.outline}`)
|
|
1041
1044
|
}, c(t), 5))), 256))
|
|
1042
1045
|
], 4)
|
|
1043
1046
|
]),
|
|
1044
1047
|
s("tbody", null, [
|
|
1045
|
-
(a(!0), o(
|
|
1048
|
+
(a(!0), o(g, null, _(v.value.body, (t, u) => (a(), o("tr", {
|
|
1046
1049
|
class: m({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": u % 2 === 0, "vue-ui-data-table__tbody__row-odd": u % 2 !== 0 }),
|
|
1047
1050
|
style: h(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
1048
1051
|
}, [
|
|
1049
1052
|
s("td", {
|
|
1050
1053
|
class: "vue-ui-data-table__tbody__td",
|
|
1051
1054
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1052
|
-
"data-cell":
|
|
1055
|
+
"data-cell": v.value.head[0]
|
|
1053
1056
|
}, [
|
|
1054
|
-
s("div",
|
|
1055
|
-
|
|
1057
|
+
s("div", Tl, [
|
|
1058
|
+
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Nl)) : (a(), o("span", Sl, c(t.rootName), 1))
|
|
1056
1059
|
])
|
|
1057
|
-
], 12,
|
|
1060
|
+
], 12, zl),
|
|
1058
1061
|
s("td", {
|
|
1059
1062
|
class: "vue-ui-data-table__tbody__td",
|
|
1060
1063
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1061
|
-
"data-cell":
|
|
1064
|
+
"data-cell": v.value.head[1]
|
|
1062
1065
|
}, [
|
|
1063
|
-
s("div",
|
|
1064
|
-
|
|
1066
|
+
s("div", Ll, [
|
|
1067
|
+
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Il)) : (a(), o("span", Pl, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
|
|
1065
1068
|
])
|
|
1066
|
-
], 12,
|
|
1069
|
+
], 12, Fl),
|
|
1067
1070
|
s("td", {
|
|
1068
1071
|
class: "vue-ui-data-table__tbody__td",
|
|
1069
1072
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1070
|
-
"data-cell":
|
|
1073
|
+
"data-cell": v.value.head[2]
|
|
1071
1074
|
}, [
|
|
1072
|
-
s("div",
|
|
1073
|
-
|
|
1075
|
+
s("div", Rl, [
|
|
1076
|
+
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Bl)) : (a(), o("span", Ml, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1074
1077
|
])
|
|
1075
|
-
], 12,
|
|
1078
|
+
], 12, Vl),
|
|
1076
1079
|
s("td", {
|
|
1077
1080
|
class: "vue-ui-data-table__tbody__td",
|
|
1078
1081
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1079
|
-
"data-cell":
|
|
1082
|
+
"data-cell": v.value.head[3]
|
|
1080
1083
|
}, [
|
|
1081
1084
|
s("div", Ol, [
|
|
1082
|
-
|
|
1085
|
+
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Xl)) : (a(), o("span", Gl, c(t.branchName), 1))
|
|
1083
1086
|
])
|
|
1084
|
-
], 12,
|
|
1087
|
+
], 12, jl),
|
|
1085
1088
|
s("td", {
|
|
1086
1089
|
class: "vue-ui-data-table__tbody__td",
|
|
1087
1090
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1088
|
-
"data-cell":
|
|
1091
|
+
"data-cell": v.value.head[4]
|
|
1089
1092
|
}, [
|
|
1090
|
-
s("div",
|
|
1091
|
-
|
|
1093
|
+
s("div", Al, [
|
|
1094
|
+
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Ul)) : (a(), o("span", Dl, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
|
|
1092
1095
|
])
|
|
1093
|
-
], 12,
|
|
1096
|
+
], 12, El),
|
|
1094
1097
|
s("td", {
|
|
1095
1098
|
class: "vue-ui-data-table__tbody__td",
|
|
1096
1099
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1097
|
-
"data-cell":
|
|
1100
|
+
"data-cell": v.value.head[5]
|
|
1098
1101
|
}, [
|
|
1099
|
-
s("div",
|
|
1100
|
-
|
|
1102
|
+
s("div", ql, [
|
|
1103
|
+
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Hl)) : (a(), o("span", Wl, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1101
1104
|
])
|
|
1102
|
-
], 12,
|
|
1105
|
+
], 12, Yl),
|
|
1103
1106
|
s("td", {
|
|
1104
1107
|
class: "vue-ui-data-table__tbody__td",
|
|
1105
1108
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1106
|
-
"data-cell":
|
|
1109
|
+
"data-cell": v.value.head[6]
|
|
1107
1110
|
}, [
|
|
1108
|
-
s("div",
|
|
1109
|
-
|
|
1111
|
+
s("div", Jl, [
|
|
1112
|
+
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Ql)) : (a(), o("span", Zl, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1110
1113
|
])
|
|
1111
|
-
], 12,
|
|
1114
|
+
], 12, Kl),
|
|
1112
1115
|
s("td", {
|
|
1113
1116
|
class: "vue-ui-data-table__tbody__td",
|
|
1114
1117
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1115
|
-
"data-cell":
|
|
1118
|
+
"data-cell": v.value.head[7]
|
|
1116
1119
|
}, [
|
|
1117
|
-
s("div",
|
|
1118
|
-
], 12,
|
|
1120
|
+
s("div", ta, c(t.nutName), 1)
|
|
1121
|
+
], 12, ea),
|
|
1119
1122
|
s("td", {
|
|
1120
1123
|
class: "vue-ui-data-table__tbody__td",
|
|
1121
1124
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1122
|
-
"data-cell":
|
|
1125
|
+
"data-cell": v.value.head[8]
|
|
1123
1126
|
}, [
|
|
1124
|
-
s("div",
|
|
1125
|
-
], 12,
|
|
1127
|
+
s("div", aa, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
|
|
1128
|
+
], 12, la),
|
|
1126
1129
|
s("td", {
|
|
1127
1130
|
class: "vue-ui-data-table__tbody__td",
|
|
1128
1131
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1129
|
-
"data-cell":
|
|
1132
|
+
"data-cell": v.value.head[9]
|
|
1130
1133
|
}, [
|
|
1131
|
-
s("div",
|
|
1132
|
-
], 12,
|
|
1134
|
+
s("div", sa, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1135
|
+
], 12, oa),
|
|
1133
1136
|
s("td", {
|
|
1134
1137
|
class: "vue-ui-data-table__tbody__td",
|
|
1135
1138
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1136
|
-
"data-cell":
|
|
1139
|
+
"data-cell": v.value.head[10]
|
|
1137
1140
|
}, [
|
|
1138
|
-
s("div",
|
|
1139
|
-
], 12,
|
|
1141
|
+
s("div", na, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1142
|
+
], 12, ua),
|
|
1140
1143
|
s("td", {
|
|
1141
1144
|
class: "vue-ui-data-table__tbody__td",
|
|
1142
1145
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1143
|
-
"data-cell":
|
|
1146
|
+
"data-cell": v.value.head[11]
|
|
1144
1147
|
}, [
|
|
1145
|
-
s("div",
|
|
1146
|
-
], 12,
|
|
1148
|
+
s("div", ia, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1149
|
+
], 12, ra)
|
|
1147
1150
|
], 6))), 256))
|
|
1148
1151
|
])
|
|
1149
1152
|
])
|
|
@@ -1152,10 +1155,10 @@ const nt = ["id"], rt = ["xmlns", "viewBox"], it = { key: 0 }, ct = ["fill", "fo
|
|
|
1152
1155
|
], 512)
|
|
1153
1156
|
]),
|
|
1154
1157
|
_: 1
|
|
1155
|
-
}, 8, ["config"])) :
|
|
1158
|
+
}, 8, ["config"])) : f("", !0)
|
|
1156
1159
|
], 14, nt));
|
|
1157
1160
|
}
|
|
1158
|
-
},
|
|
1161
|
+
}, xa = /* @__PURE__ */ ut(ca, [["__scopeId", "data-v-be83cccc"]]);
|
|
1159
1162
|
export {
|
|
1160
|
-
|
|
1163
|
+
xa as default
|
|
1161
1164
|
};
|