vue-data-ui 2.4.3 → 2.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/{Arrow-Dz6AomGr.cjs → Arrow-BeQLfJqp.cjs} +1 -1
- package/dist/{Arrow-C7lNL7sY.js → Arrow-Dvaq-qLp.js} +1 -1
- package/dist/{BaseIcon-uALK38Ov.cjs → BaseIcon-BQM6PtJu.cjs} +1 -1
- package/dist/{BaseIcon-BbvG1AlW.js → BaseIcon-D9DRVW03.js} +1 -1
- package/dist/{DataTable-DTzynbND.cjs → DataTable-DO2GAcBm.cjs} +1 -1
- package/dist/{DataTable-DYqC2pqu.js → DataTable-rs_YrvMR.js} +2 -2
- package/dist/{Legend-Cgw4lO2O.cjs → Legend-BoBvZGqQ.cjs} +1 -1
- package/dist/{Legend-DNgTCgEK.js → Legend-DrmUpnIK.js} +1 -1
- package/dist/{PackageVersion-VkaUzgmt.js → PackageVersion-D9rYHrFZ.js} +1 -1
- package/dist/{PackageVersion-DwI-KhXH.cjs → PackageVersion-DdLmDkTt.cjs} +1 -1
- package/dist/PenAndPaper-C-KjtyNA.js +308 -0
- package/dist/PenAndPaper-DyMNuRla.cjs +1 -0
- package/dist/{Shape-D2Dpshg1.cjs → Shape-BGqIhzPX.cjs} +1 -1
- package/dist/{Shape-Bwon0l0g.js → Shape-CBrmBvYy.js} +1 -1
- package/dist/{Slicer-TfpN2Cr4.js → Slicer-4R6np1wa.js} +3 -3
- package/dist/{Slicer-uSjfNJjG.cjs → Slicer-BLkkkNUl.cjs} +1 -1
- package/dist/{Title-0Tp4hZ4u.cjs → Title-Dn00hErp.cjs} +1 -1
- package/dist/{Title-C5pIfQAz.js → Title-W7iJGPjg.js} +1 -1
- package/dist/{Tooltip-9Tp2Yrd1.cjs → Tooltip-DJiwKA4y.cjs} +1 -1
- package/dist/{Tooltip-Cz24YLfw.js → Tooltip-Pv3Bhir5.js} +1 -1
- package/dist/{index-Bya_q1J-.js → index-C1GB0E49.js} +1 -1
- package/dist/{index-eFox7weK.cjs → index-C9HllqQA.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-B33hazbH.js → useNestedProp-CNAPgW6E.js} +1 -1
- package/dist/{useNestedProp-BkgEhTQY.cjs → useNestedProp-DOr0hj4s.cjs} +1 -1
- package/dist/{usePrinter-CSRFnDBU.cjs → usePrinter-FSAw5pod.cjs} +1 -1
- package/dist/{usePrinter-CiHd1FwD.js → usePrinter-y5uHyknw.js} +1 -1
- package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
- package/dist/{useResponsive-BY8tgM1n.js → useResponsive-CoxXLe23.js} +8 -7
- package/dist/{vue-data-ui-Bduq4f2p.js → vue-data-ui-Bg5KOKEX.js} +58 -58
- package/dist/{vue-data-ui-BTtxyUc3.cjs → vue-data-ui-Bnkz3Xmu.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BUEq_VdY.js → vue-ui-3d-bar-mUrcbG6J.js} +9 -9
- package/dist/{vue-ui-3d-bar-B-P7PMHs.cjs → vue-ui-3d-bar-sjkBzHFn.cjs} +1 -1
- package/dist/{vue-ui-accordion-TEMpM1hO.cjs → vue-ui-accordion-BkUGNe2H.cjs} +1 -1
- package/dist/{vue-ui-accordion-DfUfL2dI.js → vue-ui-accordion-DWyRC3-h.js} +3 -3
- package/dist/vue-ui-age-pyramid-CKQ8OHuS.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CH72tAMb.js → vue-ui-age-pyramid-CVktvXpY.js} +145 -137
- package/dist/{vue-ui-annotator-DPeJ2its.js → vue-ui-annotator-Cp8KDkuP.js} +1 -1
- package/dist/{vue-ui-annotator-DU_DJKCw.cjs → vue-ui-annotator-DSJ25l4s.cjs} +1 -1
- package/dist/vue-ui-bullet-Bg3TPFgV.cjs +34 -0
- package/dist/{vue-ui-bullet-CtP3MlUT.js → vue-ui-bullet-D4atsFQx.js} +75 -69
- package/dist/vue-ui-candlestick-BhdG9CY1.cjs +2 -0
- package/dist/{vue-ui-candlestick-DDil13a0.js → vue-ui-candlestick-DUNyCQ6Z.js} +240 -232
- package/dist/{vue-ui-carousel-table-BaeIxyc0.js → vue-ui-carousel-table-BRrYpr-2.js} +4 -4
- package/dist/{vue-ui-carousel-table-C7SJIOG-.cjs → vue-ui-carousel-table-DF4FhrBd.cjs} +1 -1
- package/dist/vue-ui-chestnut-BLBS9QO2.cjs +6 -0
- package/dist/{vue-ui-chestnut-BczSJF6S.js → vue-ui-chestnut-CjS4qC_J.js} +262 -256
- package/dist/{vue-ui-cursor-Dg_Dmww-.js → vue-ui-cursor-C3SpabMF.js} +2 -2
- package/dist/{vue-ui-cursor-C2Pj_CI_.cjs → vue-ui-cursor-DzVt5_py.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Bul9dqx1.js → vue-ui-dashboard-BCOKtsyJ.js} +2 -2
- package/dist/{vue-ui-dashboard-Cg020NiT.cjs → vue-ui-dashboard-CIv7W8Yn.cjs} +1 -1
- package/dist/{vue-ui-digits-B8iAa4YZ.js → vue-ui-digits-DaMKAZkt.js} +2 -2
- package/dist/{vue-ui-digits-Ctgd84JR.cjs → vue-ui-digits-yNfQgOLZ.cjs} +1 -1
- package/dist/{vue-ui-donut-DUcp-fat.js → vue-ui-donut-B_-VAqBw.js} +338 -330
- package/dist/vue-ui-donut-Bo4SbdEe.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-C_YMbTwq.js → vue-ui-donut-evolution-C9TXFzCm.js} +163 -156
- package/dist/vue-ui-donut-evolution-DOPY3I3Q.cjs +1 -0
- package/dist/{vue-ui-dumbbell-Buwngz_V.js → vue-ui-dumbbell-BP_Vf_u2.js} +208 -200
- package/dist/vue-ui-dumbbell-Cgwng71s.cjs +9 -0
- package/dist/vue-ui-flow-BiQj4v8i.cjs +1 -0
- package/dist/{vue-ui-flow-Bz3c0K5P.js → vue-ui-flow-DHoxK4t1.js} +130 -124
- package/dist/vue-ui-galaxy-C5ZaT8pw.cjs +1 -0
- package/dist/{vue-ui-galaxy-Cjh0XGTX.js → vue-ui-galaxy-DuLPsC4Q.js} +125 -119
- package/dist/vue-ui-gauge-26eHgOjR.cjs +1 -0
- package/dist/{vue-ui-gauge-B1UvGkQa.js → vue-ui-gauge-BhrXiD4S.js} +167 -159
- package/dist/{vue-ui-gizmo-DFW6HnHp.cjs → vue-ui-gizmo-Bb_SWCsE.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DUQ4t-At.js → vue-ui-gizmo-D3kBYI1G.js} +3 -3
- package/dist/vue-ui-heatmap-Bc4HvgMk.cjs +1 -0
- package/dist/{vue-ui-heatmap-C-poazUw.js → vue-ui-heatmap-wjsvn1_e.js} +156 -149
- package/dist/{vue-ui-kpi-Z4Oi4raz.cjs → vue-ui-kpi-BbvfVZn0.cjs} +1 -1
- package/dist/{vue-ui-kpi-DXe-vxAk.js → vue-ui-kpi-DLJuo47I.js} +3 -3
- package/dist/{vue-ui-mini-loader-MMvpm9pz.cjs → vue-ui-mini-loader-BaxwhF7o.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BVtHTqxS.js → vue-ui-mini-loader-D4aLvv-D.js} +2 -2
- package/dist/{vue-ui-molecule-BaJpDZND.js → vue-ui-molecule-DXpMMgdW.js} +109 -103
- package/dist/vue-ui-molecule-ZqAJHh6x.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BUNDwsEI.js → vue-ui-mood-radar-B_uWY92C.js} +173 -166
- package/dist/vue-ui-mood-radar-BhteAPWH.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-mDy2hXa6.js → vue-ui-nested-donuts-By32x0Y7.js} +311 -303
- package/dist/vue-ui-nested-donuts-ClgkX1-p.cjs +17 -0
- package/dist/vue-ui-onion-BdIxJpfA.cjs +5 -0
- package/dist/{vue-ui-onion-DwFG3HAI.js → vue-ui-onion-dQTXKNju.js} +149 -141
- package/dist/{vue-ui-parallel-coordinate-plot-ImET_zeo.js → vue-ui-parallel-coordinate-plot-CTF9Ujab.js} +186 -178
- package/dist/vue-ui-parallel-coordinate-plot-D6MUp-5W.cjs +8 -0
- package/dist/vue-ui-quadrant-CArA4Vmm.cjs +1 -0
- package/dist/{vue-ui-quadrant-BeveRihK.js → vue-ui-quadrant-Coqh0pYO.js} +225 -217
- package/dist/vue-ui-quick-chart-6Av74TTC.cjs +15 -0
- package/dist/{vue-ui-quick-chart-DAhllTfa.js → vue-ui-quick-chart-Bfdddr_B.js} +386 -378
- package/dist/{vue-ui-radar-BllatzRa.js → vue-ui-radar-BpdGMVHw.js} +172 -164
- package/dist/vue-ui-radar-CLr-gu1X.cjs +1 -0
- package/dist/{vue-ui-rating-D1ykV4xO.js → vue-ui-rating-B-YedcK0.js} +2 -2
- package/dist/{vue-ui-rating-BoZo7caL.cjs → vue-ui-rating-KFJoH-JV.cjs} +1 -1
- package/dist/vue-ui-relation-circle-BLVThOqT.js +366 -0
- package/dist/vue-ui-relation-circle-DuGQKFor.cjs +1 -0
- package/dist/{vue-ui-rings-B-ZcX6y1.js → vue-ui-rings-BGeYkj-O.js} +196 -188
- package/dist/vue-ui-rings-DzgehQZ5.cjs +2 -0
- package/dist/{vue-ui-scatter-DG43ck1g.js → vue-ui-scatter-CsBPCCco.js} +288 -280
- package/dist/vue-ui-scatter-jPnr8qI0.cjs +1 -0
- package/dist/{vue-ui-screenshot-C1JBP_N0.cjs → vue-ui-screenshot-1nXVH-hp.cjs} +1 -1
- package/dist/{vue-ui-screenshot-p3ca8cAl.js → vue-ui-screenshot-B2FTnuxH.js} +1 -1
- package/dist/{vue-ui-skeleton-BYssP0K4.js → vue-ui-skeleton-CE6ibl1T.js} +3 -3
- package/dist/{vue-ui-skeleton-BqKzuhkB.cjs → vue-ui-skeleton-CPwED1As.cjs} +1 -1
- package/dist/{vue-ui-smiley-D7dDCdpq.js → vue-ui-smiley-2H9hMFZ_.js} +2 -2
- package/dist/{vue-ui-smiley-BXKVpHl2.cjs → vue-ui-smiley-DqOZwhT4.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-9V60hM3Z.cjs → vue-ui-spark-trend-CLW85O32.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-GWFrO_0z.js → vue-ui-spark-trend-Dx9xVq9a.js} +5 -5
- package/dist/{vue-ui-sparkbar-Bgn6AY0q.cjs → vue-ui-sparkbar-DJDXrRyp.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CwqlyAyv.js → vue-ui-sparkbar-zafUIv1n.js} +4 -4
- package/dist/{vue-ui-sparkgauge-F2XbiXyA.js → vue-ui-sparkgauge-CFAdhTLk.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Dqntz2Zv.cjs → vue-ui-sparkgauge-CPNAXUyl.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DRIKK6Ym.js → vue-ui-sparkhistogram-B3DIjpaE.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DnY4-Sdn.cjs → vue-ui-sparkhistogram-CHc3_xRE.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Cxtzdlhi.js → vue-ui-sparkline-C-LE7J9H.js} +5 -5
- package/dist/{vue-ui-sparkline-CAEs-gtK.cjs → vue-ui-sparkline-U22Yhwy7.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-0A1klq9s.js → vue-ui-sparkstackbar-BzLoGC-y.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-D37ms1rx.cjs → vue-ui-sparkstackbar-nx-Lt8sX.cjs} +1 -1
- package/dist/{vue-ui-stackbar-wun4S3C0.cjs → vue-ui-stackbar-BwgHLhj2.cjs} +1 -1
- package/dist/{vue-ui-stackbar-ByOuJSdM.js → vue-ui-stackbar-C5xNRXnW.js} +13 -13
- package/dist/{vue-ui-strip-plot-CMD0MSqY.js → vue-ui-strip-plot-6khUDDeA.js} +204 -196
- package/dist/vue-ui-strip-plot-BFUtZW4b.cjs +1 -0
- package/dist/{vue-ui-table-aj0XZ7T5.cjs → vue-ui-table-B3Eng0fH.cjs} +1 -1
- package/dist/{vue-ui-table-B75DJ39t.js → vue-ui-table-DsBM7Osw.js} +1 -1
- package/dist/{vue-ui-table-heatmap-Ce93TyBF.cjs → vue-ui-table-heatmap-DwCdS68z.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BO2ugWqD.js → vue-ui-table-heatmap-ccQKInFD.js} +4 -4
- package/dist/{vue-ui-table-sparkline-CbjfAaj2.js → vue-ui-table-sparkline-BU-hOCZ7.js} +5 -5
- package/dist/{vue-ui-table-sparkline-D6KJjDnU.cjs → vue-ui-table-sparkline-CDmrQFKv.cjs} +1 -1
- package/dist/vue-ui-thermometer-BhHYcxmT.cjs +1 -0
- package/dist/{vue-ui-thermometer-Pq4PvSIP.js → vue-ui-thermometer-DuI3uDCZ.js} +171 -165
- package/dist/{vue-ui-timer-B6IB6yS6.cjs → vue-ui-timer-D7EKaAqa.cjs} +1 -1
- package/dist/{vue-ui-timer-Bk3BvB-B.js → vue-ui-timer-Gk3bl_em.js} +6 -6
- package/dist/{vue-ui-tiremarks-CU9HJIqf.js → vue-ui-tiremarks-AcEjMpJH.js} +119 -112
- package/dist/vue-ui-tiremarks-UX2FbnyG.cjs +1 -0
- package/dist/{vue-ui-treemap-DY-lRAhC.js → vue-ui-treemap-CFTpzgX5.js} +266 -258
- package/dist/vue-ui-treemap-D6CTMfsm.cjs +1 -0
- package/dist/vue-ui-vertical-bar-BzY2H3UC.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CtnIKsM1.js → vue-ui-vertical-bar-CuBJx5l1.js} +245 -237
- package/dist/vue-ui-waffle-CZxR13EG.cjs +1 -0
- package/dist/{vue-ui-waffle-reOsx-gJ.js → vue-ui-waffle-rDfZLxvH.js} +224 -216
- package/dist/{vue-ui-wheel-kYxny3vn.js → vue-ui-wheel-BFt2o4yO.js} +125 -117
- package/dist/vue-ui-wheel-BM-St3xT.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DwLY4QdB.cjs → vue-ui-word-cloud-DjKyKUbA.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DbMqrHAf.js → vue-ui-word-cloud-pNPIrJ-g.js} +11 -11
- package/dist/vue-ui-xy-CBZUMMlP.cjs +3 -0
- package/dist/{vue-ui-xy-rbACig0h.js → vue-ui-xy-DwkEc4Np.js} +302 -291
- package/dist/{vue-ui-xy-canvas-B0HTR7OV.js → vue-ui-xy-canvas-CW90CROL.js} +12 -12
- package/dist/{vue-ui-xy-canvas-CgJd5FiT.cjs → vue-ui-xy-canvas-DWGGLom_.cjs} +1 -1
- package/package.json +1 -1
- package/dist/PenAndPaper-CDFVOo7X.cjs +0 -1
- package/dist/PenAndPaper-DAZYA8Ew.js +0 -269
- package/dist/useResponsive-CodiGUOE.cjs +0 -1
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +0 -1
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +0 -34
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +0 -2
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +0 -6
- package/dist/vue-ui-donut-D7KT9EAp.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +0 -1
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +0 -9
- package/dist/vue-ui-flow-D6rc8J-8.cjs +0 -1
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +0 -1
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +0 -1
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +0 -1
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +0 -1
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +0 -17
- package/dist/vue-ui-onion-GWNoZRhw.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +0 -8
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +0 -1
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +0 -15
- package/dist/vue-ui-radar-BJH5SE6-.cjs +0 -1
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +0 -1
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +0 -358
- package/dist/vue-ui-rings-DjH3CK23.cjs +0 -2
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +0 -1
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +0 -1
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +0 -1
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +0 -1
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +0 -1
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +0 -4
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +0 -1
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +0 -1
- package/dist/vue-ui-xy-CGWzriYn.cjs +0 -3
|
@@ -1,29 +1,34 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { u as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { P as
|
|
10
|
-
import { _ as
|
|
11
|
-
const
|
|
1
|
+
import { useCssVars as Ee, computed as m, ref as T, watch as Ue, onMounted as De, openBlock as a, createElementBlock as o, normalizeClass as k, normalizeStyle as h, createBlock as K, createCommentVNode as f, unref as n, createSlots as Ye, withCtx as X, renderSlot as I, normalizeProps as se, guardReactiveProps as ue, createVNode as me, toDisplayString as c, createElementVNode as s, Fragment as g, renderList as _, createTextVNode as J, withKeys as qe, nextTick as ke } from "vue";
|
|
2
|
+
import { u as He, c as We, t as Ke, a as Je, p as P, b as Qe, g as ne, e as Q, d as re, o as Ze, X as et, s as S, w as we, i as G, f as z, F as $e, m as Ce, j as tt, k as V, n as H, q as lt, r as at } from "./index-C1GB0E49.js";
|
|
3
|
+
import { u as ot, U as st } from "./usePrinter-y5uHyknw.js";
|
|
4
|
+
import ut from "./vue-ui-skeleton-CE6ibl1T.js";
|
|
5
|
+
import nt from "./BaseIcon-D9DRVW03.js";
|
|
6
|
+
import rt from "./vue-ui-accordion-DWyRC3-h.js";
|
|
7
|
+
import { u as Te } from "./useNestedProp-CNAPgW6E.js";
|
|
8
|
+
import { _ as it } from "./PackageVersion-D9rYHrFZ.js";
|
|
9
|
+
import { P as ct } from "./PenAndPaper-C-KjtyNA.js";
|
|
10
|
+
import { _ as dt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
+
const vt = ["id"], yt = {
|
|
12
|
+
key: 1,
|
|
13
|
+
ref: "noTitle",
|
|
14
|
+
class: "vue-data-ui-no-title-space",
|
|
15
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
16
|
+
}, ht = ["xmlns", "viewBox"], ft = { key: 0 }, bt = ["fill", "font-weight", "font-size", "x", "y"], pt = ["fill", "font-weight", "font-size", "x", "y"], gt = ["id"], _t = ["stop-color"], xt = ["stop-color"], mt = ["id"], kt = ["stop-color"], wt = ["stop-color"], $t = ["id"], Ct = ["stop-color"], Tt = ["stop-color"], zt = ["stop-color"], Nt = ["id"], St = ["stop-color"], Ft = ["stop-color"], Lt = ["stop-color"], It = ["id"], Pt = ["stop-color"], Vt = ["stop-color"], Rt = ["stop-color"], Bt = { key: 1 }, Mt = ["x", "y", "font-size", "font-weight", "fill"], Ot = ["x", "y", "font-size", "font-weight", "fill"], jt = ["d", "stroke"], At = ["cx", "cy", "r", "fill"], Xt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], Gt = { key: 2 }, Et = ["x", "y", "font-size", "fill", "onClick"], Ut = { key: 0 }, Dt = ["x", "y", "fill", "font-size", "font-weight"], Yt = ["x", "y", "height", "width", "fill", "rx", "onClick"], qt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], Ht = { key: 3 }, Wt = ["x", "y", "fill", "font-size", "onClick"], Kt = ["d", "stroke"], Jt = ["fill", "cx", "cy", "r", "onClick"], Qt = { key: 4 }, Zt = ["x", "y", "font-size", "font-weight", "fill"], el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], 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 = {
|
|
12
17
|
viewBox: "0 0 20 20",
|
|
13
18
|
height: "16",
|
|
14
19
|
width: "16"
|
|
15
|
-
},
|
|
20
|
+
}, sl = ["fill"], ul = { key: 6 }, nl = ["y", "height", "width"], rl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, il = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, cl = {
|
|
16
21
|
viewBox: "0 0 20 20",
|
|
17
22
|
height: "16",
|
|
18
23
|
width: "16"
|
|
19
|
-
},
|
|
20
|
-
key:
|
|
24
|
+
}, dl = ["fill"], vl = ["cx", "cy", "fill"], yl = ["d", "stroke"], hl = ["cx", "cy", "fill"], fl = ["d", "stroke"], bl = ["cx", "cy", "fill"], pl = ["cx", "cy", "fill"], gl = ["x", "y", "fill", "font-size", "font-weight"], _l = ["x", "y", "fill", "font-size", "font-weight"], xl = ["x", "text-anchor", "y", "fill", "font-size"], ml = ["x", "text-anchor", "y", "fill", "font-size"], kl = ["x", "text-anchor", "y", "fill", "font-size"], wl = ["x", "text-anchor", "y", "fill", "font-size"], $l = ["x", "text-anchor", "y", "fill", "font-size"], Cl = ["x", "y", "font-size", "fill"], Tl = ["x", "y", "font-size", "fill"], zl = ["x", "y", "font-size", "fill"], Nl = {
|
|
25
|
+
key: 4,
|
|
21
26
|
class: "vue-data-ui-watermark"
|
|
22
|
-
},
|
|
23
|
-
key:
|
|
27
|
+
}, Sl = {
|
|
28
|
+
key: 6,
|
|
24
29
|
ref: "source",
|
|
25
30
|
dir: "auto"
|
|
26
|
-
},
|
|
31
|
+
}, Fl = { style: { "padding-top": "36px", position: "relative" } }, Ll = { class: "vue-ui-data-table" }, Il = { key: 0 }, Pl = ["data-cell"], Vl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Rl = { key: 0 }, Bl = { key: 1 }, Ml = ["data-cell"], Ol = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, jl = { key: 0 }, Al = { key: 1 }, Xl = ["data-cell"], Gl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, El = { key: 0 }, Ul = { key: 1 }, Dl = ["data-cell"], Yl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ql = { key: 0 }, Hl = { key: 1 }, Wl = ["data-cell"], Kl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Jl = { key: 0 }, Ql = { key: 1 }, Zl = ["data-cell"], ea = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ta = { key: 0 }, la = { key: 1 }, aa = ["data-cell"], oa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, sa = { key: 0 }, ua = { key: 1 }, na = ["data-cell"], ra = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ia = ["data-cell"], ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, da = ["data-cell"], va = { 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" } }, fa = ["data-cell"], ba = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, pa = {
|
|
27
32
|
__name: "vue-ui-chestnut",
|
|
28
33
|
props: {
|
|
29
34
|
config: {
|
|
@@ -40,37 +45,37 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
40
45
|
}
|
|
41
46
|
},
|
|
42
47
|
emits: ["selectRoot", "selectBranch", "selectNut"],
|
|
43
|
-
setup(
|
|
44
|
-
const R =
|
|
45
|
-
|
|
46
|
-
|
|
48
|
+
setup(ze, { expose: Ne, emit: E }) {
|
|
49
|
+
const R = ze;
|
|
50
|
+
Ee((l) => ({
|
|
51
|
+
e1bbb6a4: l.tdo
|
|
47
52
|
}));
|
|
48
|
-
const { vue_ui_chestnut: Se } =
|
|
53
|
+
const { vue_ui_chestnut: Se } = He(), D = m(() => !!R.dataset && R.dataset.length), w = T(We()), Z = T(null), Fe = T(null), ie = T(0), e = m({
|
|
49
54
|
get: () => ce(),
|
|
50
55
|
set: (l) => l
|
|
51
56
|
});
|
|
52
57
|
function ce() {
|
|
53
|
-
const l =
|
|
58
|
+
const l = Te({
|
|
54
59
|
userConfig: R.config,
|
|
55
60
|
defaultConfig: Se
|
|
56
61
|
});
|
|
57
62
|
return l.theme ? {
|
|
58
|
-
...
|
|
59
|
-
userConfig:
|
|
63
|
+
...Te({
|
|
64
|
+
userConfig: Ke.vue_ui_chestnut[l.theme] || R.config,
|
|
60
65
|
defaultConfig: l
|
|
61
66
|
}),
|
|
62
|
-
customPalette:
|
|
67
|
+
customPalette: Je[l.theme] || P
|
|
63
68
|
} : l;
|
|
64
69
|
}
|
|
65
|
-
|
|
70
|
+
Ue(() => R.config, (l) => {
|
|
66
71
|
e.value = ce(), ge();
|
|
67
72
|
}, { deep: !0 });
|
|
68
|
-
const { isPrinting: de, isImaging: ve, generatePdf: ye, generateImage: he } =
|
|
69
|
-
elementId: `vue-ui-chestnut_${
|
|
73
|
+
const { isPrinting: de, isImaging: ve, generatePdf: ye, generateImage: he } = ot({
|
|
74
|
+
elementId: `vue-ui-chestnut_${w.value}`,
|
|
70
75
|
fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut"
|
|
71
|
-
}), ee =
|
|
76
|
+
}), Le = m(() => e.value.userOptions.show), ee = m(() => Qe(e.value.customPalette)), Y = T({
|
|
72
77
|
showTable: e.value.table.show
|
|
73
|
-
}), te =
|
|
78
|
+
}), te = T(null), fe = T(!1), Ie = m(() => e.value.table.responsiveBreakpoint), r = T({
|
|
74
79
|
gap: 6,
|
|
75
80
|
padding: {
|
|
76
81
|
top: 102,
|
|
@@ -82,7 +87,7 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
82
87
|
height: 0,
|
|
83
88
|
branchSize: 32,
|
|
84
89
|
branchStart: 128
|
|
85
|
-
}), C =
|
|
90
|
+
}), C = m(() => ({
|
|
86
91
|
left: r.value.padding.left,
|
|
87
92
|
top: r.value.padding.top,
|
|
88
93
|
right: r.value.width - r.value.padding.right,
|
|
@@ -90,7 +95,7 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
90
95
|
width: r.value.width - (r.value.padding.left + r.value.padding.right),
|
|
91
96
|
height: r.value.height - (r.value.padding.top + r.value.padding.bottom),
|
|
92
97
|
seedX: r.value.padding.left + 64
|
|
93
|
-
})), B =
|
|
98
|
+
})), B = m(() => D.value ? R.dataset.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0) : 0), N = m(() => (R.dataset.forEach((l, i) => {
|
|
94
99
|
ne({
|
|
95
100
|
datasetObject: l,
|
|
96
101
|
requiredAttributes: ["name", "branches"]
|
|
@@ -131,7 +136,7 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
131
136
|
return {
|
|
132
137
|
...l,
|
|
133
138
|
color: re(l.color) || ee.value[i] || P[i] || P[i % P.length],
|
|
134
|
-
id: l.id || `root_${i}_${
|
|
139
|
+
id: l.id || `root_${i}_${w.value}`,
|
|
135
140
|
type: "root",
|
|
136
141
|
total: t,
|
|
137
142
|
rootIndex: i,
|
|
@@ -141,7 +146,7 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
141
146
|
rootIndex: i,
|
|
142
147
|
color: re(l.color) || ee.value[i] || P[i] || P[i % P.length],
|
|
143
148
|
value: u.value >= 0 ? u.value : 0,
|
|
144
|
-
id: u.id || `branch_${i}_${b}_${
|
|
149
|
+
id: u.id || `branch_${i}_${b}_${w.value}`,
|
|
145
150
|
proportionToRoot: u.value / t,
|
|
146
151
|
type: "branch",
|
|
147
152
|
breakdown: (u.breakdown || []).map((y, p) => ({
|
|
@@ -168,44 +173,44 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
168
173
|
proportionToRoot: y.value / t,
|
|
169
174
|
proportionToTree: y.value / B.value,
|
|
170
175
|
rootIndex: i,
|
|
171
|
-
id: y.id || `nut_${i}_${b}_${p}_${
|
|
176
|
+
id: y.id || `nut_${i}_${b}_${p}_${w.value}`,
|
|
172
177
|
color: re(y.color) || ee.value[p] || P[p] || P[p % P.length],
|
|
173
178
|
value: y.value >= 0 ? y.value : 0
|
|
174
179
|
}))
|
|
175
180
|
}))
|
|
176
181
|
};
|
|
177
182
|
})));
|
|
178
|
-
function
|
|
183
|
+
function Pe() {
|
|
179
184
|
return N.value;
|
|
180
185
|
}
|
|
181
|
-
const
|
|
182
|
-
const t = C.value.height / N.value.length / 2, u = l.total /
|
|
186
|
+
const Ve = m(() => N.value.flatMap((l) => l.branches).length), Re = m(() => Math.max(...N.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), Be = m(() => Math.max(...N.value.flatMap((l) => l.branches.map((i) => i.value)))), be = m(() => 256 + r.value.padding.left), O = m(() => N.value.sort((l, i) => i.total - l.total).map((l, i) => {
|
|
187
|
+
const t = C.value.height / N.value.length / 2, u = l.total / Re.value * (t > 64 ? 64 : t);
|
|
183
188
|
return {
|
|
184
189
|
...l,
|
|
185
190
|
x: C.value.seedX,
|
|
186
191
|
y: C.value.top + C.value.height / N.value.length * (i + 1) - (C.value.height / N.value.length / 2 + r.value.gap / 2),
|
|
187
192
|
r: u < r.value.branchSize / 2 ? r.value.branchSize / 2 : u
|
|
188
193
|
};
|
|
189
|
-
})),
|
|
194
|
+
})), Me = m(() => 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), Oe = m(() => O.value.flatMap((l) => l.branches)), j = m(() => Oe.value.sort((l, i) => i.value - l.value).map((l, i) => ({
|
|
190
195
|
...l,
|
|
191
196
|
y1: i * r.value.branchSize + C.value.top + i * r.value.gap,
|
|
192
197
|
y2: i * r.value.branchSize + r.value.branchSize,
|
|
193
198
|
x1: be.value,
|
|
194
|
-
x2: 384 * l.value /
|
|
199
|
+
x2: 384 * l.value / Be.value * Me.value + be.value
|
|
195
200
|
})));
|
|
196
201
|
function le(l) {
|
|
197
|
-
const i =
|
|
202
|
+
const i = O.value.find((t) => t.rootIndex === l.rootIndex);
|
|
198
203
|
return { x: i.x, y: i.y, r: i.r };
|
|
199
204
|
}
|
|
200
|
-
const d =
|
|
201
|
-
function
|
|
205
|
+
const d = T(null), M = T(null), x = T(null), F = T(null);
|
|
206
|
+
function $() {
|
|
202
207
|
d.value = null, x.value = null, F.value = null;
|
|
203
208
|
}
|
|
204
209
|
function L(l) {
|
|
205
210
|
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;
|
|
206
211
|
}
|
|
207
212
|
function je(l) {
|
|
208
|
-
|
|
213
|
+
$(), ke(() => {
|
|
209
214
|
d.value = l, x.value = l, M.value = Ce(
|
|
210
215
|
{ series: l.breakdown, base: 1 },
|
|
211
216
|
l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
@@ -215,14 +220,14 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
215
220
|
), E("selectNut", l.breakdown);
|
|
216
221
|
});
|
|
217
222
|
}
|
|
218
|
-
function
|
|
223
|
+
function A() {
|
|
219
224
|
d.value = null, M.value = null, E("selectNut", null);
|
|
220
225
|
}
|
|
221
226
|
function ae(l) {
|
|
222
|
-
x.value && x.value.id === l.id ? (x.value = null,
|
|
227
|
+
x.value && x.value.id === l.id ? (x.value = null, $(), E("selectBranch", null)) : ($(), x.value = l, E("selectBranch", l));
|
|
223
228
|
}
|
|
224
229
|
function pe(l) {
|
|
225
|
-
F.value && F.value.id === l.id ? (
|
|
230
|
+
F.value && F.value.id === l.id ? ($(), E("selectRoot", null)) : ($(), F.value = l, E("selectRoot", l));
|
|
226
231
|
}
|
|
227
232
|
function Ae() {
|
|
228
233
|
return C.value.bottom - (d.value.y1 + 180) < 0 ? 0 : C.value.bottom;
|
|
@@ -230,26 +235,26 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
230
235
|
function U(l) {
|
|
231
236
|
return l.proportion * 100 > e.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
|
|
232
237
|
}
|
|
233
|
-
function
|
|
238
|
+
function Xe() {
|
|
234
239
|
const l = new ResizeObserver((i) => {
|
|
235
240
|
i.forEach((t) => {
|
|
236
|
-
fe.value = t.contentRect.width <
|
|
241
|
+
fe.value = t.contentRect.width < Ie.value;
|
|
237
242
|
});
|
|
238
243
|
});
|
|
239
244
|
te.value && l.observe(te.value);
|
|
240
245
|
}
|
|
241
|
-
|
|
246
|
+
De(() => {
|
|
242
247
|
ge();
|
|
243
248
|
});
|
|
244
249
|
function ge() {
|
|
245
|
-
|
|
250
|
+
Ze(R.dataset) && Q({
|
|
246
251
|
componentName: "VueUiChestnut",
|
|
247
252
|
type: "dataset"
|
|
248
253
|
});
|
|
249
|
-
const l =
|
|
250
|
-
r.value.height = l,
|
|
254
|
+
const l = Ve.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
|
|
255
|
+
r.value.height = l, Xe();
|
|
251
256
|
}
|
|
252
|
-
const v =
|
|
257
|
+
const v = m(() => {
|
|
253
258
|
const l = [
|
|
254
259
|
e.value.table.th.translations.rootName,
|
|
255
260
|
e.value.table.th.translations.rootValue,
|
|
@@ -263,7 +268,7 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
263
268
|
e.value.table.th.translations.nutToBranch,
|
|
264
269
|
e.value.table.th.translations.nutToRoot,
|
|
265
270
|
e.value.table.th.translations.nutToTotal
|
|
266
|
-
], i = N.value.flatMap((t, u) => t.branches.flatMap((b, y) => b.breakdown.flatMap((p,
|
|
271
|
+
], i = N.value.flatMap((t, u) => t.branches.flatMap((b, y) => b.breakdown.flatMap((p, ga) => p.table)));
|
|
267
272
|
return { head: l, body: i };
|
|
268
273
|
});
|
|
269
274
|
function _e() {
|
|
@@ -281,36 +286,36 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
281
286
|
y.nutToBranch,
|
|
282
287
|
y.nutToRoot,
|
|
283
288
|
y.nutToTotal
|
|
284
|
-
]), u = l.concat([i]).concat(t), b =
|
|
285
|
-
|
|
289
|
+
]), u = l.concat([i]).concat(t), b = lt(u);
|
|
290
|
+
at({ csvContent: b, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
|
|
286
291
|
});
|
|
287
292
|
}
|
|
288
|
-
const q =
|
|
289
|
-
function
|
|
293
|
+
const q = T(!1);
|
|
294
|
+
function Ge(l) {
|
|
290
295
|
q.value = l, ie.value += 1;
|
|
291
296
|
}
|
|
292
297
|
function xe() {
|
|
293
298
|
Y.value.showTable = !Y.value.showTable;
|
|
294
299
|
}
|
|
295
|
-
const W =
|
|
300
|
+
const W = T(!1);
|
|
296
301
|
function oe() {
|
|
297
302
|
W.value = !W.value;
|
|
298
303
|
}
|
|
299
304
|
return Ne({
|
|
300
|
-
getData:
|
|
305
|
+
getData: Pe,
|
|
301
306
|
generatePdf: ye,
|
|
302
307
|
generateCsv: _e,
|
|
303
308
|
generateImage: he,
|
|
304
309
|
toggleTable: xe,
|
|
305
310
|
toggleAnnotator: oe
|
|
306
311
|
}), (l, i) => (a(), o("div", {
|
|
307
|
-
class:
|
|
312
|
+
class: k(`vue-ui-chestnut ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
308
313
|
ref_key: "chestnutChart",
|
|
309
314
|
ref: Z,
|
|
310
|
-
id: `vue-ui-chestnut_${
|
|
311
|
-
style: h(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;
|
|
315
|
+
id: `vue-ui-chestnut_${w.value}`,
|
|
316
|
+
style: h(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`)
|
|
312
317
|
}, [
|
|
313
|
-
e.value.userOptions.buttons.annotator ? (a(), K(
|
|
318
|
+
e.value.userOptions.buttons.annotator ? (a(), K(ct, {
|
|
314
319
|
key: 0,
|
|
315
320
|
parent: Z.value,
|
|
316
321
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -318,7 +323,8 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
318
323
|
active: W.value,
|
|
319
324
|
onClose: oe
|
|
320
325
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
|
|
321
|
-
|
|
326
|
+
Le.value ? (a(), o("div", yt, null, 512)) : f("", !0),
|
|
327
|
+
e.value.userOptions.show && D.value ? (a(), K(st, {
|
|
322
328
|
ref_key: "details",
|
|
323
329
|
ref: Fe,
|
|
324
330
|
key: `user_options_${ie.value}`,
|
|
@@ -326,7 +332,7 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
326
332
|
color: e.value.style.chart.color,
|
|
327
333
|
isImaging: n(ve),
|
|
328
334
|
isPrinting: n(de),
|
|
329
|
-
uid:
|
|
335
|
+
uid: w.value,
|
|
330
336
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
331
337
|
hasImg: e.value.userOptions.buttons.img,
|
|
332
338
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -338,13 +344,13 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
338
344
|
position: e.value.userOptions.position,
|
|
339
345
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
340
346
|
isAnnotation: W.value,
|
|
341
|
-
onToggleFullscreen:
|
|
347
|
+
onToggleFullscreen: Ge,
|
|
342
348
|
onGeneratePdf: n(ye),
|
|
343
349
|
onGenerateCsv: _e,
|
|
344
350
|
onGenerateImage: n(he),
|
|
345
351
|
onToggleTable: xe,
|
|
346
352
|
onToggleAnnotator: oe
|
|
347
|
-
},
|
|
353
|
+
}, Ye({ _: 2 }, [
|
|
348
354
|
l.$slots.optionPdf ? {
|
|
349
355
|
name: "optionPdf",
|
|
350
356
|
fn: X(() => [
|
|
@@ -389,14 +395,14 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
389
395
|
} : void 0
|
|
390
396
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
|
|
391
397
|
r.value.height > 0 && D.value ? (a(), o("svg", {
|
|
392
|
-
key:
|
|
393
|
-
xmlns: n(
|
|
394
|
-
class:
|
|
398
|
+
key: 3,
|
|
399
|
+
xmlns: n(et),
|
|
400
|
+
class: k({ "vue-data-ui-fullscreen--on": q.value, "vue-data-ui-fulscreen--off": !q.value }),
|
|
395
401
|
viewBox: `0 0 ${r.value.width} ${r.value.height}`,
|
|
396
402
|
style: h(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
397
403
|
}, [
|
|
398
|
-
me(
|
|
399
|
-
d.value ? f("", !0) : (a(), o("g",
|
|
404
|
+
me(it),
|
|
405
|
+
d.value ? f("", !0) : (a(), o("g", ft, [
|
|
400
406
|
e.value.style.chart.layout.title.text ? (a(), o("text", {
|
|
401
407
|
key: 0,
|
|
402
408
|
"text-anchor": "middle",
|
|
@@ -405,8 +411,8 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
405
411
|
"font-size": e.value.style.chart.layout.title.fontSize,
|
|
406
412
|
x: r.value.width / 2,
|
|
407
413
|
y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
|
|
408
|
-
onClick:
|
|
409
|
-
}, c(e.value.style.chart.layout.title.text), 9,
|
|
414
|
+
onClick: $
|
|
415
|
+
}, c(e.value.style.chart.layout.title.text), 9, bt)) : f("", !0),
|
|
410
416
|
e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
|
|
411
417
|
key: 1,
|
|
412
418
|
"text-anchor": "middle",
|
|
@@ -415,8 +421,8 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
415
421
|
"font-size": e.value.style.chart.layout.title.subtitle.fontSize,
|
|
416
422
|
x: r.value.width / 2,
|
|
417
423
|
y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
|
|
418
|
-
onClick:
|
|
419
|
-
}, c(e.value.style.chart.layout.title.subtitle.text), 9,
|
|
424
|
+
onClick: $
|
|
425
|
+
}, c(e.value.style.chart.layout.title.subtitle.text), 9, pt)) : f("", !0)
|
|
420
426
|
])),
|
|
421
427
|
s("defs", null, [
|
|
422
428
|
(a(!0), o(g, null, _(N.value, (t, u) => (a(), o("radialGradient", {
|
|
@@ -425,98 +431,98 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
425
431
|
r: "50%",
|
|
426
432
|
fx: "50%",
|
|
427
433
|
fy: "50%",
|
|
428
|
-
id: `root_gradient_${
|
|
434
|
+
id: `root_gradient_${w.value}_${t.rootIndex}`
|
|
429
435
|
}, [
|
|
430
436
|
s("stop", {
|
|
431
437
|
offset: "0%",
|
|
432
438
|
"stop-color": n(S)(n(we)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
|
|
433
|
-
}, null, 8,
|
|
439
|
+
}, null, 8, _t),
|
|
434
440
|
s("stop", {
|
|
435
441
|
offset: "100%",
|
|
436
442
|
"stop-color": t.color
|
|
437
|
-
}, null, 8,
|
|
438
|
-
], 8,
|
|
443
|
+
}, null, 8, xt)
|
|
444
|
+
], 8, gt))), 256)),
|
|
439
445
|
(a(!0), o(g, null, _(N.value, (t) => (a(), o("linearGradient", {
|
|
440
446
|
x1: "0%",
|
|
441
447
|
y1: "0%",
|
|
442
448
|
x2: "100%",
|
|
443
449
|
y2: "0%",
|
|
444
|
-
id: `branch_gradient_${
|
|
450
|
+
id: `branch_gradient_${w.value}_${t.rootIndex}`
|
|
445
451
|
}, [
|
|
446
452
|
s("stop", {
|
|
447
453
|
offset: "0%",
|
|
448
454
|
"stop-color": t.color
|
|
449
|
-
}, null, 8,
|
|
455
|
+
}, null, 8, kt),
|
|
450
456
|
s("stop", {
|
|
451
457
|
offset: "100%",
|
|
452
458
|
"stop-color": n(S)(n(we)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
|
|
453
|
-
}, null, 8,
|
|
454
|
-
], 8,
|
|
459
|
+
}, null, 8, wt)
|
|
460
|
+
], 8, mt))), 256)),
|
|
455
461
|
s("radialGradient", {
|
|
456
462
|
cx: "50%",
|
|
457
463
|
cy: "50%",
|
|
458
464
|
r: "50%",
|
|
459
465
|
fx: "50%",
|
|
460
466
|
fy: "50%",
|
|
461
|
-
id: `nutpick_${
|
|
467
|
+
id: `nutpick_${w.value}`
|
|
462
468
|
}, [
|
|
463
469
|
s("stop", {
|
|
464
470
|
offset: "0%",
|
|
465
471
|
"stop-color": n(S)("#FFFFFF", 0)
|
|
466
|
-
}, null, 8,
|
|
472
|
+
}, null, 8, Ct),
|
|
467
473
|
s("stop", {
|
|
468
474
|
offset: "80%",
|
|
469
475
|
"stop-color": n(S)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
|
|
470
|
-
}, null, 8,
|
|
476
|
+
}, null, 8, Tt),
|
|
471
477
|
s("stop", {
|
|
472
478
|
offset: "100%",
|
|
473
479
|
"stop-color": n(S)("#FFFFFF", 0)
|
|
474
|
-
}, null, 8,
|
|
475
|
-
], 8,
|
|
480
|
+
}, null, 8, zt)
|
|
481
|
+
], 8, $t),
|
|
476
482
|
s("radialGradient", {
|
|
477
483
|
cx: "50%",
|
|
478
484
|
cy: "50%",
|
|
479
485
|
r: "50%",
|
|
480
486
|
fx: "50%",
|
|
481
487
|
fy: "50%",
|
|
482
|
-
id: `nut_${
|
|
488
|
+
id: `nut_${w.value}`
|
|
483
489
|
}, [
|
|
484
490
|
s("stop", {
|
|
485
491
|
offset: "0%",
|
|
486
492
|
"stop-color": n(S)("#FFFFFF", 0)
|
|
487
|
-
}, null, 8,
|
|
493
|
+
}, null, 8, St),
|
|
488
494
|
s("stop", {
|
|
489
495
|
offset: "80%",
|
|
490
496
|
"stop-color": n(S)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
|
|
491
|
-
}, null, 8,
|
|
497
|
+
}, null, 8, Ft),
|
|
492
498
|
s("stop", {
|
|
493
499
|
offset: "100%",
|
|
494
500
|
"stop-color": n(S)("#FFFFFF", 0)
|
|
495
|
-
}, null, 8,
|
|
496
|
-
], 8,
|
|
501
|
+
}, null, 8, Lt)
|
|
502
|
+
], 8, Nt),
|
|
497
503
|
s("radialGradient", {
|
|
498
504
|
cx: "50%",
|
|
499
505
|
cy: "50%",
|
|
500
506
|
r: "50%",
|
|
501
507
|
fx: "50%",
|
|
502
508
|
fy: "50%",
|
|
503
|
-
id: `nut_underlayer_${
|
|
509
|
+
id: `nut_underlayer_${w.value}`
|
|
504
510
|
}, [
|
|
505
511
|
s("stop", {
|
|
506
512
|
offset: "0%",
|
|
507
513
|
"stop-color": n(S)(e.value.style.chart.backgroundColor, 100)
|
|
508
|
-
}, null, 8,
|
|
514
|
+
}, null, 8, Pt),
|
|
509
515
|
s("stop", {
|
|
510
516
|
offset: "80%",
|
|
511
517
|
"stop-color": n(S)(e.value.style.chart.backgroundColor, 60)
|
|
512
|
-
}, null, 8,
|
|
518
|
+
}, null, 8, Vt),
|
|
513
519
|
s("stop", {
|
|
514
520
|
offset: "100%",
|
|
515
521
|
"stop-color": n(S)(e.value.style.chart.backgroundColor, 0)
|
|
516
|
-
}, null, 8,
|
|
517
|
-
], 8,
|
|
522
|
+
}, null, 8, Rt)
|
|
523
|
+
], 8, It)
|
|
518
524
|
]),
|
|
519
|
-
e.value.style.chart.layout.grandTotal.show ? (a(), o("g",
|
|
525
|
+
e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Bt, [
|
|
520
526
|
s("text", {
|
|
521
527
|
x: C.value.seedX,
|
|
522
528
|
y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
|
|
@@ -524,8 +530,8 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
524
530
|
"font-weight": e.value.style.chart.layout.grandTotal.bold ? "bold" : "normal",
|
|
525
531
|
fill: e.value.style.chart.layout.grandTotal.color,
|
|
526
532
|
"text-anchor": "middle",
|
|
527
|
-
onClick:
|
|
528
|
-
}, c(e.value.style.chart.layout.grandTotal.text), 9,
|
|
533
|
+
onClick: $
|
|
534
|
+
}, c(e.value.style.chart.layout.grandTotal.text), 9, Mt),
|
|
529
535
|
s("text", {
|
|
530
536
|
x: C.value.seedX,
|
|
531
537
|
y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
|
|
@@ -533,19 +539,19 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
533
539
|
"font-weight": e.value.style.chart.layout.grandTotal.bold ? "bold" : "normal",
|
|
534
540
|
fill: e.value.style.chart.layout.grandTotal.color,
|
|
535
541
|
"text-anchor": "middle",
|
|
536
|
-
onClick:
|
|
542
|
+
onClick: $
|
|
537
543
|
}, c(n(G)(
|
|
538
544
|
e.value.style.chart.layout.grandTotal.formatter,
|
|
539
545
|
B.value,
|
|
540
|
-
n(
|
|
546
|
+
n(z)({
|
|
541
547
|
p: e.value.style.chart.layout.grandTotal.prefix,
|
|
542
548
|
v: B.value,
|
|
543
549
|
s: e.value.style.chart.layout.grandTotal.suffix,
|
|
544
550
|
r: e.value.style.chart.layout.grandTotal.roundingValue
|
|
545
551
|
})
|
|
546
|
-
)), 9,
|
|
552
|
+
)), 9, Ot)
|
|
547
553
|
])) : f("", !0),
|
|
548
|
-
(a(!0), o(g, null, _(
|
|
554
|
+
(a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
|
|
549
555
|
(a(!0), o(g, null, _(r.value.branchSize, (u, b) => (a(), o("path", {
|
|
550
556
|
d: `M
|
|
551
557
|
${t.x1},${t.y1 + b}
|
|
@@ -558,29 +564,29 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
558
564
|
"stroke-width": "2",
|
|
559
565
|
"shape-rendering": "cirspEdges",
|
|
560
566
|
style: h(`opacity:${L(t) ? 1 : 0}`),
|
|
561
|
-
onClick:
|
|
562
|
-
}, null, 12,
|
|
567
|
+
onClick: $
|
|
568
|
+
}, null, 12, jt))), 256))
|
|
563
569
|
]))), 256)),
|
|
564
|
-
(a(!0), o(g, null, _(
|
|
570
|
+
(a(!0), o(g, null, _(O.value, (t) => (a(), o("circle", {
|
|
565
571
|
cx: t.x,
|
|
566
572
|
cy: t.y,
|
|
567
573
|
r: t.r,
|
|
568
574
|
fill: e.value.style.chart.layout.roots.underlayerColor,
|
|
569
575
|
stroke: "none",
|
|
570
576
|
style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`)
|
|
571
|
-
}, null, 12,
|
|
572
|
-
(a(!0), o(g, null, _(
|
|
577
|
+
}, null, 12, At))), 256)),
|
|
578
|
+
(a(!0), o(g, null, _(O.value, (t, u) => (a(), o("circle", {
|
|
573
579
|
cx: t.x,
|
|
574
580
|
cy: t.y,
|
|
575
581
|
r: t.r,
|
|
576
|
-
fill: e.value.style.chart.layout.roots.useGradient ? `url(#root_gradient_${
|
|
582
|
+
fill: e.value.style.chart.layout.roots.useGradient ? `url(#root_gradient_${w.value}_${t.rootIndex})` : t.color,
|
|
577
583
|
stroke: e.value.style.chart.layout.roots.stroke,
|
|
578
584
|
"stroke-width": e.value.style.chart.layout.roots.strokeWidth,
|
|
579
585
|
style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
|
|
580
586
|
onClick: (b) => pe(t)
|
|
581
|
-
}, null, 12,
|
|
582
|
-
e.value.style.chart.layout.roots.labels.show ? (a(), o("g",
|
|
583
|
-
(a(!0), o(g, null, _(
|
|
587
|
+
}, null, 12, Xt))), 256)),
|
|
588
|
+
e.value.style.chart.layout.roots.labels.show ? (a(), o("g", Gt, [
|
|
589
|
+
(a(!0), o(g, null, _(O.value, (t, u) => (a(), o("text", {
|
|
584
590
|
x: t.x,
|
|
585
591
|
y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
|
|
586
592
|
"text-anchor": "middle",
|
|
@@ -592,16 +598,16 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
592
598
|
}, c(n(G)(
|
|
593
599
|
e.value.style.chart.layout.roots.labels.formatter,
|
|
594
600
|
t.total,
|
|
595
|
-
n(
|
|
601
|
+
n(z)({
|
|
596
602
|
p: e.value.style.chart.layout.roots.labels.prefix,
|
|
597
603
|
v: t.total,
|
|
598
604
|
s: e.value.style.chart.layout.roots.labels.suffix,
|
|
599
605
|
r: e.value.style.chart.layout.roots.labels.roundingValue
|
|
600
606
|
}),
|
|
601
607
|
{ datapoint: t }
|
|
602
|
-
)), 13,
|
|
603
|
-
(a(!0), o(g, null, _(
|
|
604
|
-
d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || F.value && t.rootIndex === F.value.rootIndex ? (a(), o("g",
|
|
608
|
+
)), 13, Et))), 256)),
|
|
609
|
+
(a(!0), o(g, null, _(O.value, (t) => (a(), o("g", null, [
|
|
610
|
+
d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || F.value && t.rootIndex === F.value.rootIndex ? (a(), o("g", Ut, [
|
|
605
611
|
s("text", {
|
|
606
612
|
x: t.x,
|
|
607
613
|
y: t.y + t.r + 24,
|
|
@@ -609,12 +615,12 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
609
615
|
fill: e.value.style.chart.layout.roots.labels.name.color,
|
|
610
616
|
"font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
|
|
611
617
|
"font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
|
|
612
|
-
onClick:
|
|
613
|
-
}, c(t.name), 9,
|
|
618
|
+
onClick: $
|
|
619
|
+
}, c(t.name), 9, Dt)
|
|
614
620
|
])) : f("", !0)
|
|
615
621
|
]))), 256))
|
|
616
622
|
])) : f("", !0),
|
|
617
|
-
(a(!0), o(g, null, _(
|
|
623
|
+
(a(!0), o(g, null, _(j.value, (t) => (a(), o("rect", {
|
|
618
624
|
x: t.x1,
|
|
619
625
|
y: t.y1,
|
|
620
626
|
height: r.value.branchSize,
|
|
@@ -624,21 +630,21 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
624
630
|
stroke: "none",
|
|
625
631
|
style: h(`opacity:${L(t) ? 1 : 0.05}`),
|
|
626
632
|
onClick: (u) => ae(t)
|
|
627
|
-
}, null, 12,
|
|
628
|
-
(a(!0), o(g, null, _(
|
|
633
|
+
}, null, 12, Yt))), 256)),
|
|
634
|
+
(a(!0), o(g, null, _(j.value, (t, u) => (a(), o("rect", {
|
|
629
635
|
x: t.x1,
|
|
630
636
|
y: t.y1,
|
|
631
637
|
height: r.value.branchSize,
|
|
632
638
|
width: t.x2 - t.x1,
|
|
633
|
-
fill: e.value.style.chart.layout.branches.useGradient ? `url(#branch_gradient_${
|
|
639
|
+
fill: e.value.style.chart.layout.branches.useGradient ? `url(#branch_gradient_${w.value}_${t.rootIndex})` : t.color,
|
|
634
640
|
rx: e.value.style.chart.layout.branches.borderRadius,
|
|
635
641
|
stroke: e.value.style.chart.layout.branches.stroke,
|
|
636
642
|
"stroke-width": e.value.style.chart.layout.branches.strokeWidth,
|
|
637
643
|
style: h(`cursor:pointer; opacity:${L(t) ? 1 : 0.05}`),
|
|
638
644
|
onClick: (b) => ae(t)
|
|
639
|
-
}, null, 12,
|
|
640
|
-
e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g",
|
|
641
|
-
(a(!0), o(g, null, _(
|
|
645
|
+
}, null, 12, qt))), 256)),
|
|
646
|
+
e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", Ht, [
|
|
647
|
+
(a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
|
|
642
648
|
t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
|
|
643
649
|
key: 0,
|
|
644
650
|
x: t.x1 + 6,
|
|
@@ -652,17 +658,17 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
652
658
|
}, c(n(G)(
|
|
653
659
|
e.value.style.chart.layout.branches.labels.dataLabels.formatter,
|
|
654
660
|
t.value,
|
|
655
|
-
n(
|
|
661
|
+
n(z)({
|
|
656
662
|
p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
|
|
657
663
|
v: t.value,
|
|
658
664
|
s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
|
|
659
665
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
660
666
|
}),
|
|
661
667
|
{ datapoint: t }
|
|
662
|
-
)), 13,
|
|
668
|
+
)), 13, Wt)) : f("", !0)
|
|
663
669
|
]))), 256))
|
|
664
670
|
])) : f("", !0),
|
|
665
|
-
(a(!0), o(g, null, _(
|
|
671
|
+
(a(!0), o(g, null, _(j.value, (t, u) => (a(), o("g", null, [
|
|
666
672
|
(a(!0), o(g, null, _(n(Ce)(
|
|
667
673
|
{ series: t.breakdown, base: 1 },
|
|
668
674
|
t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
@@ -675,18 +681,18 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
675
681
|
"stroke-width": 10,
|
|
676
682
|
fill: "none",
|
|
677
683
|
style: h(`opacity:${L(t) ? 1 : 0.1}`)
|
|
678
|
-
}, null, 12,
|
|
684
|
+
}, null, 12, Kt))), 256)),
|
|
679
685
|
s("circle", {
|
|
680
|
-
fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${
|
|
686
|
+
fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${w.value})` : "transparent",
|
|
681
687
|
cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
682
688
|
cy: t.y1 + r.value.branchSize / 2,
|
|
683
689
|
r: r.value.branchSize / 2 + 2,
|
|
684
690
|
onClick: (b) => je(t),
|
|
685
691
|
style: h(`cursor:pointer;opacity:${L(t) ? 1 : 0.1}`)
|
|
686
|
-
}, null, 12,
|
|
692
|
+
}, null, 12, Jt)
|
|
687
693
|
]))), 256)),
|
|
688
|
-
e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g",
|
|
689
|
-
(a(!0), o(g, null, _(
|
|
694
|
+
e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", Qt, [
|
|
695
|
+
(a(!0), o(g, null, _(j.value, (t) => (a(), o("text", {
|
|
690
696
|
x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
691
697
|
y: t.y1 + r.value.branchSize / 2 + 5,
|
|
692
698
|
"font-size": e.value.style.chart.layout.branches.labels.fontSize,
|
|
@@ -694,7 +700,7 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
694
700
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
695
701
|
"text-anchor": "start",
|
|
696
702
|
style: h(`opacity:${L(t) ? 1 : 0.1}`)
|
|
697
|
-
}, c(t.name), 13,
|
|
703
|
+
}, c(t.name), 13, Zt))), 256))
|
|
698
704
|
])) : f("", !0),
|
|
699
705
|
s("line", {
|
|
700
706
|
x1: 256 + r.value.padding.left,
|
|
@@ -703,7 +709,7 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
703
709
|
y2: C.value.bottom,
|
|
704
710
|
stroke: e.value.style.chart.layout.verticalSeparator.stroke,
|
|
705
711
|
"stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
|
|
706
|
-
}, null, 8,
|
|
712
|
+
}, null, 8, el),
|
|
707
713
|
!d.value && !x.value ? (a(), o("foreignObject", {
|
|
708
714
|
key: 5,
|
|
709
715
|
x: 0,
|
|
@@ -711,27 +717,27 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
711
717
|
height: r.value.height - C.value.bottom,
|
|
712
718
|
width: r.value.width,
|
|
713
719
|
style: { overflow: "visible" },
|
|
714
|
-
onClick:
|
|
720
|
+
onClick: $
|
|
715
721
|
}, [
|
|
716
|
-
s("div",
|
|
717
|
-
s("div",
|
|
718
|
-
(a(!0), o(g, null, _(
|
|
722
|
+
s("div", ll, [
|
|
723
|
+
s("div", al, [
|
|
724
|
+
(a(!0), o(g, null, _(O.value, (t) => (a(), o("div", {
|
|
719
725
|
style: h(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
|
|
720
726
|
}, [
|
|
721
|
-
(a(), o("svg",
|
|
727
|
+
(a(), o("svg", ol, [
|
|
722
728
|
s("circle", {
|
|
723
729
|
cx: "10",
|
|
724
730
|
cy: "10",
|
|
725
731
|
r: "10",
|
|
726
732
|
fill: t.color,
|
|
727
733
|
stroke: "none"
|
|
728
|
-
}, null, 8,
|
|
734
|
+
}, null, 8, sl)
|
|
729
735
|
])),
|
|
730
736
|
s("span", null, c(t.name) + ":", 1),
|
|
731
737
|
s("b", null, c(n(G)(
|
|
732
738
|
e.value.style.chart.layout.roots.labels.formatter,
|
|
733
739
|
t.total,
|
|
734
|
-
n(
|
|
740
|
+
n(z)({
|
|
735
741
|
p: e.value.style.chart.layout.legend.prefix,
|
|
736
742
|
v: t.total,
|
|
737
743
|
s: e.value.style.chart.layout.legend.suffix,
|
|
@@ -739,7 +745,7 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
739
745
|
}),
|
|
740
746
|
{ datapoint: t }
|
|
741
747
|
)), 1),
|
|
742
|
-
J(" (" + c(n(
|
|
748
|
+
J(" (" + c(n(z)({
|
|
743
749
|
v: t.total / B.value * 100,
|
|
744
750
|
s: "%",
|
|
745
751
|
r: e.value.style.chart.layout.legend.roundingPercentage
|
|
@@ -747,30 +753,30 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
747
753
|
], 4))), 256))
|
|
748
754
|
])
|
|
749
755
|
])
|
|
750
|
-
], 8,
|
|
751
|
-
d.value && M.value ? (a(), o("g",
|
|
756
|
+
], 8, tl)) : f("", !0),
|
|
757
|
+
d.value && M.value ? (a(), o("g", ul, [
|
|
752
758
|
(a(), o("foreignObject", {
|
|
753
759
|
x: 0,
|
|
754
760
|
y: Ae(),
|
|
755
761
|
height: r.value.height - C.value.bottom,
|
|
756
762
|
width: r.value.width,
|
|
757
763
|
style: { overflow: "visible" },
|
|
758
|
-
onClick:
|
|
764
|
+
onClick: $
|
|
759
765
|
}, [
|
|
760
|
-
s("div",
|
|
766
|
+
s("div", rl, [
|
|
761
767
|
s("b", null, c(d.value.name), 1),
|
|
762
|
-
s("div",
|
|
768
|
+
s("div", il, [
|
|
763
769
|
(a(!0), o(g, null, _(d.value.breakdown, (t, u) => (a(), o("div", {
|
|
764
770
|
style: h(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
|
|
765
771
|
}, [
|
|
766
|
-
(a(), o("svg",
|
|
772
|
+
(a(), o("svg", cl, [
|
|
767
773
|
s("circle", {
|
|
768
774
|
cx: "10",
|
|
769
775
|
cy: "10",
|
|
770
776
|
r: "10",
|
|
771
777
|
fill: t.color,
|
|
772
778
|
stroke: "none"
|
|
773
|
-
}, null, 8,
|
|
779
|
+
}, null, 8, dl)
|
|
774
780
|
])),
|
|
775
781
|
s("span", null, [
|
|
776
782
|
J(c(t.name) + ": ", 1),
|
|
@@ -780,19 +786,19 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
780
786
|
], 4))), 256))
|
|
781
787
|
])
|
|
782
788
|
])
|
|
783
|
-
], 8,
|
|
789
|
+
], 8, nl)),
|
|
784
790
|
s("circle", {
|
|
785
791
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
786
792
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
787
793
|
r: 256,
|
|
788
|
-
fill: `url(#nut_underlayer_${
|
|
789
|
-
onClick:
|
|
790
|
-
class:
|
|
791
|
-
}, null, 10,
|
|
794
|
+
fill: `url(#nut_underlayer_${w.value})`,
|
|
795
|
+
onClick: A,
|
|
796
|
+
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
797
|
+
}, null, 10, vl),
|
|
792
798
|
(a(!0), o(g, null, _(M.value, (t) => (a(), o("g", null, [
|
|
793
799
|
U(t) ? (a(), o("path", {
|
|
794
800
|
key: 0,
|
|
795
|
-
d: n(
|
|
801
|
+
d: n(tt)(
|
|
796
802
|
t,
|
|
797
803
|
{
|
|
798
804
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
@@ -809,41 +815,41 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
809
815
|
"stroke-linecap": "round",
|
|
810
816
|
"stroke-linejoin": "round",
|
|
811
817
|
fill: "none",
|
|
812
|
-
class:
|
|
813
|
-
}, null, 10,
|
|
818
|
+
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
819
|
+
}, null, 10, yl)) : f("", !0)
|
|
814
820
|
]))), 256)),
|
|
815
821
|
s("circle", {
|
|
816
822
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
817
823
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
818
824
|
r: 118,
|
|
819
825
|
fill: e.value.style.chart.backgroundColor,
|
|
820
|
-
onClick:
|
|
821
|
-
class:
|
|
822
|
-
}, null, 10,
|
|
826
|
+
onClick: A,
|
|
827
|
+
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
828
|
+
}, null, 10, hl),
|
|
823
829
|
(a(!0), o(g, null, _(M.value, (t) => (a(), o("path", {
|
|
824
830
|
d: t.path,
|
|
825
831
|
stroke: t.color,
|
|
826
832
|
"stroke-width": 64,
|
|
827
833
|
fill: "none",
|
|
828
|
-
onClick:
|
|
829
|
-
class:
|
|
830
|
-
}, null, 10,
|
|
834
|
+
onClick: A,
|
|
835
|
+
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
836
|
+
}, null, 10, fl))), 256)),
|
|
831
837
|
s("circle", {
|
|
832
838
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
833
839
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
834
840
|
r: 100,
|
|
835
|
-
fill: `url(#nutpick_${
|
|
836
|
-
onClick:
|
|
837
|
-
class:
|
|
838
|
-
}, null, 10,
|
|
841
|
+
fill: `url(#nutpick_${w.value})`,
|
|
842
|
+
onClick: A,
|
|
843
|
+
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
844
|
+
}, null, 10, bl),
|
|
839
845
|
s("circle", {
|
|
840
846
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
841
847
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
842
848
|
r: 48,
|
|
843
849
|
fill: e.value.style.chart.backgroundColor,
|
|
844
|
-
onClick:
|
|
845
|
-
class:
|
|
846
|
-
}, null, 10,
|
|
850
|
+
onClick: A,
|
|
851
|
+
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
852
|
+
}, null, 10, pl),
|
|
847
853
|
s("text", {
|
|
848
854
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
849
855
|
y: d.value.y1 + 8,
|
|
@@ -851,9 +857,9 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
851
857
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.core.total.fontSize,
|
|
852
858
|
"font-weight": e.value.style.chart.layout.nuts.selected.labels.core.total.bold ? "bold" : "normal",
|
|
853
859
|
"text-anchor": "middle",
|
|
854
|
-
onClick:
|
|
855
|
-
class:
|
|
856
|
-
}, c(e.value.translations.total), 11,
|
|
860
|
+
onClick: A,
|
|
861
|
+
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
862
|
+
}, c(e.value.translations.total), 11, gl),
|
|
857
863
|
s("text", {
|
|
858
864
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
859
865
|
y: d.value.y1 + 36,
|
|
@@ -861,19 +867,19 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
861
867
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.core.value.fontSize,
|
|
862
868
|
"font-weight": e.value.style.chart.layout.nuts.selected.labels.core.value.bold ? "bold" : "normal",
|
|
863
869
|
"text-anchor": "middle",
|
|
864
|
-
onClick:
|
|
865
|
-
class:
|
|
870
|
+
onClick: A,
|
|
871
|
+
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
866
872
|
}, c(n(G)(
|
|
867
873
|
e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
|
|
868
874
|
d.value.value,
|
|
869
|
-
n(
|
|
875
|
+
n(z)({
|
|
870
876
|
p: e.value.style.chart.layout.nuts.selected.labels.core.value.prefix,
|
|
871
877
|
v: d.value.value,
|
|
872
878
|
s: e.value.style.chart.layout.nuts.selected.labels.core.value.suffix,
|
|
873
879
|
r: e.value.style.chart.layout.nuts.selected.roundingValue
|
|
874
880
|
}),
|
|
875
881
|
{ datapoint: d.value }
|
|
876
|
-
)), 11,
|
|
882
|
+
)), 11, _l),
|
|
877
883
|
(a(!0), o(g, null, _(M.value, (t, u) => (a(), o("g", null, [
|
|
878
884
|
U(t) ? (a(), o("text", {
|
|
879
885
|
key: 0,
|
|
@@ -883,8 +889,8 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
883
889
|
fill: t.color,
|
|
884
890
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
885
891
|
style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
886
|
-
class:
|
|
887
|
-
}, " ⬤ ", 14,
|
|
892
|
+
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
893
|
+
}, " ⬤ ", 14, xl)) : f("", !0),
|
|
888
894
|
U(t) ? (a(), o("text", {
|
|
889
895
|
key: 1,
|
|
890
896
|
x: n(V)(t, !0).x,
|
|
@@ -893,8 +899,8 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
893
899
|
fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
894
900
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
895
901
|
style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
896
|
-
class:
|
|
897
|
-
}, c(d.value.breakdown[u].name), 15,
|
|
902
|
+
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
903
|
+
}, c(d.value.breakdown[u].name), 15, ml)) : f("", !0)
|
|
898
904
|
]))), 256)),
|
|
899
905
|
(a(!0), o(g, null, _(M.value, (t, u) => (a(), o("g", null, [
|
|
900
906
|
U(t) ? (a(), o("text", {
|
|
@@ -905,22 +911,22 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
905
911
|
fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
906
912
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
907
913
|
style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
908
|
-
class:
|
|
909
|
-
}, c(n(
|
|
914
|
+
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
915
|
+
}, c(n(z)({
|
|
910
916
|
v: d.value.breakdown[u].value / d.value.value * 100,
|
|
911
917
|
s: "%",
|
|
912
918
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
913
919
|
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[u].branchName) + " " + c(n(G)(
|
|
914
920
|
e.value.style.chart.layout.nuts.selected.labels.dataLabels.formatter,
|
|
915
921
|
d.value.breakdown[u].value,
|
|
916
|
-
n(
|
|
922
|
+
n(z)({
|
|
917
923
|
p: e.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix,
|
|
918
924
|
v: d.value.breakdown[u].value,
|
|
919
925
|
s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
|
|
920
926
|
r: e.value.style.chart.layout.nuts.selected.roundingValue
|
|
921
927
|
}),
|
|
922
928
|
{ datapoint: M.value, seriesIndex: u }
|
|
923
|
-
)), 15,
|
|
929
|
+
)), 15, kl)) : f("", !0),
|
|
924
930
|
U(t) ? (a(), o("text", {
|
|
925
931
|
key: 1,
|
|
926
932
|
x: n(V)(t, !0).x,
|
|
@@ -929,12 +935,12 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
929
935
|
fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
930
936
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
931
937
|
style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
932
|
-
class:
|
|
933
|
-
}, c(n(
|
|
938
|
+
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
939
|
+
}, c(n(z)({
|
|
934
940
|
v: d.value.breakdown[u].proportionToRoot * 100,
|
|
935
941
|
s: "%",
|
|
936
942
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
937
|
-
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[u].rootName), 15,
|
|
943
|
+
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[u].rootName), 15, wl)) : f("", !0),
|
|
938
944
|
U(t) ? (a(), o("text", {
|
|
939
945
|
key: 2,
|
|
940
946
|
x: n(V)(t, !0).x,
|
|
@@ -943,15 +949,15 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
943
949
|
fill: e.value.style.chart.layout.nuts.selected.labels.dataLabels.color,
|
|
944
950
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
945
951
|
style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
946
|
-
class:
|
|
947
|
-
}, c(n(
|
|
952
|
+
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
953
|
+
}, c(n(z)({
|
|
948
954
|
v: d.value.breakdown[u].proportionToTree * 100,
|
|
949
955
|
s: "%",
|
|
950
956
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
951
|
-
})) + " " + c(e.value.translations.proportionToTree), 15,
|
|
957
|
+
})) + " " + c(e.value.translations.proportionToTree), 15, $l)) : f("", !0)
|
|
952
958
|
]))), 256))
|
|
953
959
|
])) : f("", !0),
|
|
954
|
-
(a(!0), o(g, null, _(
|
|
960
|
+
(a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
|
|
955
961
|
x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
|
|
956
962
|
key: 0,
|
|
957
963
|
x: t.x1 + 6,
|
|
@@ -960,18 +966,18 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
960
966
|
"text-anchor": "start",
|
|
961
967
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
962
968
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
963
|
-
onClick:
|
|
969
|
+
onClick: $
|
|
964
970
|
}, c(t.name) + ": " + c(n(G)(
|
|
965
971
|
e.value.style.chart.layout.branches.labels.dataLabels.formatter,
|
|
966
972
|
t.value,
|
|
967
|
-
n(
|
|
973
|
+
n(z)({
|
|
968
974
|
p: e.value.style.chart.layout.branches.labels.dataLabels.prefix,
|
|
969
975
|
v: t.value,
|
|
970
976
|
s: e.value.style.chart.layout.branches.labels.dataLabels.suffix,
|
|
971
977
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
972
978
|
}),
|
|
973
979
|
{ datapoint: t }
|
|
974
|
-
)), 9,
|
|
980
|
+
)), 9, Cl)) : f("", !0),
|
|
975
981
|
x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
|
|
976
982
|
key: 1,
|
|
977
983
|
x: t.x1 + 6,
|
|
@@ -979,12 +985,12 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
979
985
|
"text-anchor": "start",
|
|
980
986
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
981
987
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
982
|
-
onClick:
|
|
983
|
-
}, c(n(
|
|
988
|
+
onClick: $
|
|
989
|
+
}, c(n(z)({
|
|
984
990
|
v: t.proportionToRoot * 100,
|
|
985
991
|
s: "%",
|
|
986
992
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
987
|
-
})) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9,
|
|
993
|
+
})) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, Tl)) : f("", !0),
|
|
988
994
|
x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
|
|
989
995
|
key: 2,
|
|
990
996
|
x: t.x1 + 6,
|
|
@@ -992,20 +998,20 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
992
998
|
"text-anchor": "start",
|
|
993
999
|
"font-size": e.value.style.chart.layout.branches.labels.dataLabels.fontSize,
|
|
994
1000
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
995
|
-
onClick:
|
|
996
|
-
}, c(n(
|
|
1001
|
+
onClick: $
|
|
1002
|
+
}, c(n(z)({
|
|
997
1003
|
v: t.value / B.value * 100,
|
|
998
1004
|
s: "%",
|
|
999
1005
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
1000
|
-
})) + " " + c(e.value.translations.proportionToTree), 9,
|
|
1006
|
+
})) + " " + c(e.value.translations.proportionToTree), 9, zl)) : f("", !0)
|
|
1001
1007
|
]))), 256)),
|
|
1002
1008
|
I(l.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
1003
|
-
], 14,
|
|
1004
|
-
l.$slots.watermark ? (a(), o("div",
|
|
1009
|
+
], 14, ht)) : f("", !0),
|
|
1010
|
+
l.$slots.watermark ? (a(), o("div", Nl, [
|
|
1005
1011
|
I(l.$slots, "watermark", se(ue({ isPrinting: n(de) || n(ve) })), void 0, !0)
|
|
1006
1012
|
])) : f("", !0),
|
|
1007
|
-
D.value ? f("", !0) : (a(), K(
|
|
1008
|
-
key:
|
|
1013
|
+
D.value ? f("", !0) : (a(), K(ut, {
|
|
1014
|
+
key: 5,
|
|
1009
1015
|
config: {
|
|
1010
1016
|
type: "chestnut",
|
|
1011
1017
|
style: {
|
|
@@ -1017,11 +1023,11 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
1017
1023
|
}
|
|
1018
1024
|
}, null, 8, ["config"])),
|
|
1019
1025
|
I(l.$slots, "legend", { legend: N.value }, void 0, !0),
|
|
1020
|
-
l.$slots.source ? (a(), o("div",
|
|
1026
|
+
l.$slots.source ? (a(), o("div", Sl, [
|
|
1021
1027
|
I(l.$slots, "source", {}, void 0, !0)
|
|
1022
1028
|
], 512)) : f("", !0),
|
|
1023
|
-
D.value ? (a(), K(
|
|
1024
|
-
key:
|
|
1029
|
+
D.value ? (a(), K(rt, {
|
|
1030
|
+
key: 7,
|
|
1025
1031
|
hideDetails: "",
|
|
1026
1032
|
config: {
|
|
1027
1033
|
open: Y.value.showTable,
|
|
@@ -1042,15 +1048,15 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
1042
1048
|
ref: te,
|
|
1043
1049
|
class: "vue-ui-chestnut-table"
|
|
1044
1050
|
}, [
|
|
1045
|
-
s("div",
|
|
1051
|
+
s("div", Fl, [
|
|
1046
1052
|
s("div", {
|
|
1047
1053
|
role: "button",
|
|
1048
1054
|
tabindex: "0",
|
|
1049
1055
|
style: h(`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};`),
|
|
1050
1056
|
onClick: i[0] || (i[0] = (t) => Y.value.showTable = !1),
|
|
1051
|
-
onKeypress: i[1] || (i[1] =
|
|
1057
|
+
onKeypress: i[1] || (i[1] = qe((t) => Y.value.showTable = !1, ["enter"]))
|
|
1052
1058
|
}, [
|
|
1053
|
-
me(
|
|
1059
|
+
me(nt, {
|
|
1054
1060
|
name: "close",
|
|
1055
1061
|
stroke: e.value.table.th.color,
|
|
1056
1062
|
"stroke-width": 2
|
|
@@ -1058,15 +1064,15 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
1058
1064
|
], 36),
|
|
1059
1065
|
s("div", {
|
|
1060
1066
|
style: { width: "100%" },
|
|
1061
|
-
class:
|
|
1067
|
+
class: k({ "vue-ui-responsive": fe.value })
|
|
1062
1068
|
}, [
|
|
1063
|
-
s("table",
|
|
1069
|
+
s("table", Ll, [
|
|
1064
1070
|
s("caption", {
|
|
1065
1071
|
style: h({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
|
|
1066
1072
|
class: "vue-ui-data-table__caption"
|
|
1067
1073
|
}, [
|
|
1068
1074
|
J(c(e.value.style.chart.layout.title.text) + " ", 1),
|
|
1069
|
-
e.value.style.chart.layout.title.subtitle.text ? (a(), o("span",
|
|
1075
|
+
e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", Il, c(e.value.style.chart.layout.title.subtitle.text), 1)) : f("", !0)
|
|
1070
1076
|
], 4),
|
|
1071
1077
|
s("thead", null, [
|
|
1072
1078
|
s("tr", {
|
|
@@ -1080,7 +1086,7 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
1080
1086
|
]),
|
|
1081
1087
|
s("tbody", null, [
|
|
1082
1088
|
(a(!0), o(g, null, _(v.value.body, (t, u) => (a(), o("tr", {
|
|
1083
|
-
class:
|
|
1089
|
+
class: k({ "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 }),
|
|
1084
1090
|
style: h(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
1085
1091
|
}, [
|
|
1086
1092
|
s("td", {
|
|
@@ -1088,99 +1094,99 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
1088
1094
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1089
1095
|
"data-cell": v.value.head[0]
|
|
1090
1096
|
}, [
|
|
1091
|
-
s("div",
|
|
1092
|
-
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span",
|
|
1097
|
+
s("div", Vl, [
|
|
1098
|
+
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Rl)) : (a(), o("span", Bl, c(t.rootName), 1))
|
|
1093
1099
|
])
|
|
1094
|
-
], 12,
|
|
1100
|
+
], 12, Pl),
|
|
1095
1101
|
s("td", {
|
|
1096
1102
|
class: "vue-ui-data-table__tbody__td",
|
|
1097
1103
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1098
1104
|
"data-cell": v.value.head[1]
|
|
1099
1105
|
}, [
|
|
1100
|
-
s("div",
|
|
1101
|
-
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span",
|
|
1106
|
+
s("div", Ol, [
|
|
1107
|
+
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", jl)) : (a(), o("span", Al, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
|
|
1102
1108
|
])
|
|
1103
|
-
], 12,
|
|
1109
|
+
], 12, Ml),
|
|
1104
1110
|
s("td", {
|
|
1105
1111
|
class: "vue-ui-data-table__tbody__td",
|
|
1106
1112
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1107
1113
|
"data-cell": v.value.head[2]
|
|
1108
1114
|
}, [
|
|
1109
|
-
s("div",
|
|
1110
|
-
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span",
|
|
1115
|
+
s("div", Gl, [
|
|
1116
|
+
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", El)) : (a(), o("span", Ul, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1111
1117
|
])
|
|
1112
|
-
], 12,
|
|
1118
|
+
], 12, Xl),
|
|
1113
1119
|
s("td", {
|
|
1114
1120
|
class: "vue-ui-data-table__tbody__td",
|
|
1115
1121
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1116
1122
|
"data-cell": v.value.head[3]
|
|
1117
1123
|
}, [
|
|
1118
|
-
s("div",
|
|
1119
|
-
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span",
|
|
1124
|
+
s("div", Yl, [
|
|
1125
|
+
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", ql)) : (a(), o("span", Hl, c(t.branchName), 1))
|
|
1120
1126
|
])
|
|
1121
|
-
], 12,
|
|
1127
|
+
], 12, Dl),
|
|
1122
1128
|
s("td", {
|
|
1123
1129
|
class: "vue-ui-data-table__tbody__td",
|
|
1124
1130
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1125
1131
|
"data-cell": v.value.head[4]
|
|
1126
1132
|
}, [
|
|
1127
|
-
s("div",
|
|
1128
|
-
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span",
|
|
1133
|
+
s("div", Kl, [
|
|
1134
|
+
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", Jl)) : (a(), o("span", Ql, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
|
|
1129
1135
|
])
|
|
1130
|
-
], 12,
|
|
1136
|
+
], 12, Wl),
|
|
1131
1137
|
s("td", {
|
|
1132
1138
|
class: "vue-ui-data-table__tbody__td",
|
|
1133
1139
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1134
1140
|
"data-cell": v.value.head[5]
|
|
1135
1141
|
}, [
|
|
1136
|
-
s("div",
|
|
1137
|
-
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span",
|
|
1142
|
+
s("div", ea, [
|
|
1143
|
+
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", ta)) : (a(), o("span", la, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1138
1144
|
])
|
|
1139
|
-
], 12,
|
|
1145
|
+
], 12, Zl),
|
|
1140
1146
|
s("td", {
|
|
1141
1147
|
class: "vue-ui-data-table__tbody__td",
|
|
1142
1148
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1143
1149
|
"data-cell": v.value.head[6]
|
|
1144
1150
|
}, [
|
|
1145
|
-
s("div",
|
|
1146
|
-
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span",
|
|
1151
|
+
s("div", oa, [
|
|
1152
|
+
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", sa)) : (a(), o("span", ua, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1147
1153
|
])
|
|
1148
|
-
], 12,
|
|
1154
|
+
], 12, aa),
|
|
1149
1155
|
s("td", {
|
|
1150
1156
|
class: "vue-ui-data-table__tbody__td",
|
|
1151
1157
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1152
1158
|
"data-cell": v.value.head[7]
|
|
1153
1159
|
}, [
|
|
1154
|
-
s("div",
|
|
1155
|
-
], 12,
|
|
1160
|
+
s("div", ra, c(t.nutName), 1)
|
|
1161
|
+
], 12, na),
|
|
1156
1162
|
s("td", {
|
|
1157
1163
|
class: "vue-ui-data-table__tbody__td",
|
|
1158
1164
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1159
1165
|
"data-cell": v.value.head[8]
|
|
1160
1166
|
}, [
|
|
1161
|
-
s("div",
|
|
1162
|
-
], 12,
|
|
1167
|
+
s("div", ca, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
|
|
1168
|
+
], 12, ia),
|
|
1163
1169
|
s("td", {
|
|
1164
1170
|
class: "vue-ui-data-table__tbody__td",
|
|
1165
1171
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1166
1172
|
"data-cell": v.value.head[9]
|
|
1167
1173
|
}, [
|
|
1168
|
-
s("div",
|
|
1169
|
-
], 12,
|
|
1174
|
+
s("div", va, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1175
|
+
], 12, da),
|
|
1170
1176
|
s("td", {
|
|
1171
1177
|
class: "vue-ui-data-table__tbody__td",
|
|
1172
1178
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1173
1179
|
"data-cell": v.value.head[10]
|
|
1174
1180
|
}, [
|
|
1175
|
-
s("div",
|
|
1176
|
-
], 12,
|
|
1181
|
+
s("div", ha, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1182
|
+
], 12, ya),
|
|
1177
1183
|
s("td", {
|
|
1178
1184
|
class: "vue-ui-data-table__tbody__td",
|
|
1179
1185
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1180
1186
|
"data-cell": v.value.head[11]
|
|
1181
1187
|
}, [
|
|
1182
|
-
s("div",
|
|
1183
|
-
], 12,
|
|
1188
|
+
s("div", ba, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1189
|
+
], 12, fa)
|
|
1184
1190
|
], 6))), 256))
|
|
1185
1191
|
])
|
|
1186
1192
|
])
|
|
@@ -1190,9 +1196,9 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], yt = { key: 0 }, ht = ["fill", "fo
|
|
|
1190
1196
|
]),
|
|
1191
1197
|
_: 1
|
|
1192
1198
|
}, 8, ["config"])) : f("", !0)
|
|
1193
|
-
], 14,
|
|
1199
|
+
], 14, vt));
|
|
1194
1200
|
}
|
|
1195
|
-
},
|
|
1201
|
+
}, Sa = /* @__PURE__ */ dt(pa, [["__scopeId", "data-v-d77250e7"]]);
|
|
1196
1202
|
export {
|
|
1197
|
-
|
|
1203
|
+
Sa as default
|
|
1198
1204
|
};
|