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,35 +1,35 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { D as $t } from "./DataTable-
|
|
7
|
-
import { _ as
|
|
8
|
-
import { L as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import { _ as
|
|
15
|
-
const de = (B) => (
|
|
1
|
+
import { computed as g, ref as i, watch as ze, onMounted as et, onBeforeUnmount as tt, openBlock as s, createElementBlock as n, normalizeClass as P, normalizeStyle as re, createBlock as D, createCommentVNode as v, unref as r, createSlots as lt, withCtx as m, renderSlot as k, normalizeProps as R, guardReactiveProps as E, createVNode as Ve, createElementVNode as p, Fragment as L, renderList as F, toDisplayString as N, createTextVNode as Q, nextTick as at, pushScopeId as ot, popScopeId as st } from "vue";
|
|
2
|
+
import { u as ut, c as nt, t as rt, a as it, p as Z, o as dt, e as V, b as ct, I as Me, d as vt, m as Be, f as x, X as ft, s as Ue, K as ht, k as M, n as ie, i as G, x as Re, y as yt, q as pt, r as bt } from "./index-C1GB0E49.js";
|
|
3
|
+
import { t as gt, u as mt } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as kt } from "./Title-W7iJGPjg.js";
|
|
5
|
+
import { u as wt, U as _t } from "./usePrinter-y5uHyknw.js";
|
|
6
|
+
import { D as $t } from "./DataTable-rs_YrvMR.js";
|
|
7
|
+
import { _ as Lt } from "./Tooltip-Pv3Bhir5.js";
|
|
8
|
+
import { L as xt } from "./Legend-DrmUpnIK.js";
|
|
9
|
+
import Ct from "./vue-ui-skeleton-CE6ibl1T.js";
|
|
10
|
+
import Tt from "./vue-ui-accordion-DWyRC3-h.js";
|
|
11
|
+
import { u as Ee } from "./useNestedProp-CNAPgW6E.js";
|
|
12
|
+
import { _ as Ft } from "./PackageVersion-D9rYHrFZ.js";
|
|
13
|
+
import { P as St } from "./PenAndPaper-C-KjtyNA.js";
|
|
14
|
+
import { _ as Nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const de = (B) => (ot("data-v-038450b3"), B = B(), st(), B), It = ["id"], At = ["xmlns", "viewBox"], Ot = ["id"], Pt = /* @__PURE__ */ de(() => /* @__PURE__ */ p("stop", {
|
|
16
16
|
offset: "0%",
|
|
17
17
|
"stop-color": "#FFFFFF",
|
|
18
18
|
"stop-opacity": "0"
|
|
19
|
-
}, null, -1)),
|
|
19
|
+
}, null, -1)), Dt = ["offset", "stop-color"], zt = ["offset", "stop-opacity"], Vt = /* @__PURE__ */ de(() => /* @__PURE__ */ p("stop", {
|
|
20
20
|
offset: "100%",
|
|
21
21
|
"stop-color": "#FFFFFF",
|
|
22
22
|
"stop-opacity": "0"
|
|
23
|
-
}, null, -1)),
|
|
23
|
+
}, null, -1)), Mt = ["id"], Bt = ["id"], Ut = /* @__PURE__ */ de(() => /* @__PURE__ */ p("feColorMatrix", {
|
|
24
24
|
type: "saturate",
|
|
25
25
|
values: "0"
|
|
26
|
-
}, null, -1)),
|
|
27
|
-
key:
|
|
26
|
+
}, null, -1)), Rt = ["id"], Et = ["flood-color"], Gt = ["d", "fill", "stroke", "stroke-width", "filter"], Yt = { key: 0 }, Xt = ["d", "fill"], Wt = { key: 1 }, Ht = ["x", "y", "font-size", "font-weight", "fill"], qt = { key: 2 }, Kt = ["filter"], Jt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Qt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Zt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], jt = ["d", "fill", "onMouseenter", "onClick"], el = {
|
|
27
|
+
key: 5,
|
|
28
28
|
class: "vue-data-ui-watermark"
|
|
29
|
-
},
|
|
29
|
+
}, tl = {
|
|
30
30
|
key: 0,
|
|
31
31
|
class: "vue-ui-nested-donuts-legend-title"
|
|
32
|
-
},
|
|
32
|
+
}, ll = ["onClick"], al = ["innerHTML"], ol = {
|
|
33
33
|
__name: "vue-ui-nested-donuts",
|
|
34
34
|
props: {
|
|
35
35
|
config: {
|
|
@@ -46,86 +46,87 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
|
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
emits: ["selectLegend", "selectDatapoint"],
|
|
49
|
-
setup(B, { expose:
|
|
50
|
-
const I = B, { vue_ui_nested_donuts:
|
|
51
|
-
function
|
|
49
|
+
setup(B, { expose: Ge, emit: ce }) {
|
|
50
|
+
const I = B, { vue_ui_nested_donuts: Ye } = ut(), Y = g(() => !!I.dataset && I.dataset.length), w = i(nt()), j = i(!1), ee = i(""), Xe = i(null), ve = i(0), z = i(null), fe = i(null), te = i(null), he = i(null), ye = i(null), pe = i(0), be = i(0), ge = i(0), U = i(!1);
|
|
51
|
+
function We(t) {
|
|
52
52
|
U.value = t, ve.value += 1;
|
|
53
53
|
}
|
|
54
|
-
const e =
|
|
55
|
-
get: () =>
|
|
54
|
+
const e = g({
|
|
55
|
+
get: () => me(),
|
|
56
56
|
set: (t) => t
|
|
57
57
|
});
|
|
58
|
-
function
|
|
59
|
-
const t =
|
|
58
|
+
function me() {
|
|
59
|
+
const t = Ee({
|
|
60
60
|
userConfig: I.config,
|
|
61
|
-
defaultConfig:
|
|
61
|
+
defaultConfig: Ye
|
|
62
62
|
});
|
|
63
63
|
return t.theme ? {
|
|
64
|
-
...
|
|
65
|
-
userConfig:
|
|
64
|
+
...Ee({
|
|
65
|
+
userConfig: rt.vue_ui_nested_donuts[t.theme] || I.config,
|
|
66
66
|
defaultConfig: t
|
|
67
67
|
}),
|
|
68
|
-
customPalette:
|
|
68
|
+
customPalette: it[t.theme] || Z
|
|
69
69
|
} : t;
|
|
70
70
|
}
|
|
71
|
-
|
|
72
|
-
e.value =
|
|
71
|
+
ze(() => I.config, (t) => {
|
|
72
|
+
e.value = me(), ke(), pe.value += 1, be.value += 1, ge.value += 1;
|
|
73
73
|
}, { deep: !0 });
|
|
74
|
-
const X =
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
const X = i(null);
|
|
75
|
+
et(() => {
|
|
76
|
+
ke();
|
|
77
77
|
});
|
|
78
|
-
function
|
|
79
|
-
if (
|
|
78
|
+
function ke() {
|
|
79
|
+
if (dt(I.dataset) && V({
|
|
80
80
|
componentName: "VueUiNestedDonuts",
|
|
81
81
|
type: "dataset"
|
|
82
82
|
}), e.value.responsive) {
|
|
83
|
-
const t =
|
|
84
|
-
const { width:
|
|
83
|
+
const t = gt(() => {
|
|
84
|
+
const { width: u, height: a } = mt({
|
|
85
85
|
chart: z.value,
|
|
86
86
|
title: e.value.style.chart.title.text ? fe.value : null,
|
|
87
87
|
legend: e.value.style.chart.legend.show ? te.value : null,
|
|
88
|
-
source: he.value
|
|
88
|
+
source: he.value,
|
|
89
|
+
noTitle: ye.value
|
|
89
90
|
});
|
|
90
|
-
h.value.width =
|
|
91
|
+
h.value.width = u, h.value.height = a;
|
|
91
92
|
});
|
|
92
93
|
X.value = new ResizeObserver(t), X.value.observe(z.value.parentNode);
|
|
93
94
|
}
|
|
94
95
|
}
|
|
95
|
-
|
|
96
|
+
tt(() => {
|
|
96
97
|
X.value && X.value.disconnect();
|
|
97
98
|
});
|
|
98
|
-
const { isPrinting:
|
|
99
|
-
elementId: `nested_donuts_${
|
|
99
|
+
const { isPrinting: we, isImaging: _e, generatePdf: $e, generateImage: Le } = wt({
|
|
100
|
+
elementId: `nested_donuts_${w.value}`,
|
|
100
101
|
fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts"
|
|
101
|
-
}),
|
|
102
|
+
}), He = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), qe = g(() => ct(e.value.customPalette)), _ = i({
|
|
102
103
|
dataLabels: {
|
|
103
104
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
104
105
|
},
|
|
105
106
|
showTable: e.value.table.show,
|
|
106
107
|
showTooltip: e.value.style.chart.tooltip.show
|
|
107
|
-
}), h =
|
|
108
|
+
}), h = i({
|
|
108
109
|
height: 512,
|
|
109
110
|
width: 512
|
|
110
111
|
});
|
|
111
|
-
function
|
|
112
|
-
ce("selectDatapoint", { datapoint: t, index:
|
|
112
|
+
function Ke({ datapoint: t, index: u }) {
|
|
113
|
+
ce("selectDatapoint", { datapoint: t, index: u });
|
|
113
114
|
}
|
|
114
|
-
const
|
|
115
|
+
const y = i([]), C = g(() => (I.dataset.forEach((t, u) => {
|
|
115
116
|
[null, void 0].includes(t.name) && V({
|
|
116
117
|
componentName: "VueUiNestedDonuts",
|
|
117
118
|
type: "datasetSerieAttribute",
|
|
118
119
|
property: "name",
|
|
119
|
-
index:
|
|
120
|
+
index: u
|
|
120
121
|
}), [null, void 0].includes(t.series) ? V({
|
|
121
122
|
componentName: "VueUiNestedDonuts",
|
|
122
123
|
type: "datasetSerieAttribute",
|
|
123
124
|
property: "series",
|
|
124
|
-
index:
|
|
125
|
+
index: u
|
|
125
126
|
}) : t.series.length === 0 ? V({
|
|
126
127
|
componentName: "VueUiNestedDonuts",
|
|
127
128
|
type: "datasetAttributeEmpty",
|
|
128
|
-
property: `series at index ${
|
|
129
|
+
property: `series at index ${u}`
|
|
129
130
|
}) : t.series.forEach((a, o) => {
|
|
130
131
|
[null, void 0].includes(a.name) && V({
|
|
131
132
|
componentName: "VueUiNestedDonuts",
|
|
@@ -141,94 +142,94 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
|
|
|
141
142
|
key: "serie"
|
|
142
143
|
});
|
|
143
144
|
});
|
|
144
|
-
}), I.dataset.map((t,
|
|
145
|
+
}), I.dataset.map((t, u) => ({
|
|
145
146
|
...t,
|
|
146
|
-
total: t.series.filter((a) => !
|
|
147
|
-
datasetIndex:
|
|
148
|
-
id: `${
|
|
147
|
+
total: t.series.filter((a) => !y.value.includes(a.id)).map((a) => Me(a.values).reduce((o, l) => o + l, 0)).reduce((a, o) => a + o, 0),
|
|
148
|
+
datasetIndex: u,
|
|
149
|
+
id: `${w.value}_${u}`,
|
|
149
150
|
series: t.series.map((a, o) => ({
|
|
150
151
|
name: a.name,
|
|
151
152
|
arcOf: t.name,
|
|
152
|
-
arcOfId: `${
|
|
153
|
-
id: `${
|
|
153
|
+
arcOfId: `${w.value}_${u}`,
|
|
154
|
+
id: `${w.value}_${u}_${o}`,
|
|
154
155
|
seriesIndex: o,
|
|
155
|
-
datasetIndex:
|
|
156
|
-
color:
|
|
157
|
-
value:
|
|
156
|
+
datasetIndex: u,
|
|
157
|
+
color: vt(a.color) || qe.value[o] || Z[o] || Z[o % Z.length],
|
|
158
|
+
value: Me(a.values).reduce((l, d) => l + d, 0),
|
|
158
159
|
absoluteValues: a.values || []
|
|
159
160
|
}))
|
|
160
|
-
})))),
|
|
161
|
-
const a = t.series.filter((o) => !
|
|
161
|
+
})))), T = g(() => Math.min(h.value.height, h.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), xe = g(() => [...C.value].map((t, u) => {
|
|
162
|
+
const a = t.series.filter((o) => !y.value.includes(o.id)).map((o) => o.value).reduce((o, l) => o + l, 0);
|
|
162
163
|
return {
|
|
163
164
|
...t,
|
|
164
165
|
total: a,
|
|
165
|
-
series: t.series.filter((o) => !
|
|
166
|
+
series: t.series.filter((o) => !y.value.includes(o.id)).map((o) => ({
|
|
166
167
|
...o,
|
|
167
168
|
proportion: o.value / a
|
|
168
169
|
}))
|
|
169
170
|
};
|
|
170
171
|
}));
|
|
171
|
-
function
|
|
172
|
+
function Je(t, u, a) {
|
|
172
173
|
let o = 0;
|
|
173
174
|
for (let l = 0; l < t.length; l += 1)
|
|
174
175
|
a.includes(t[l]) && (o += 1);
|
|
175
|
-
return o <
|
|
176
|
+
return o < u;
|
|
176
177
|
}
|
|
177
|
-
const
|
|
178
|
-
|
|
179
|
-
const
|
|
178
|
+
const f = i(xe.value);
|
|
179
|
+
ze(() => xe.value, (t) => f.value = t);
|
|
180
|
+
const Ce = i(null), Te = i(null);
|
|
180
181
|
function le(t) {
|
|
181
182
|
ce("selectLegend", t);
|
|
182
|
-
const
|
|
183
|
+
const u = C.value.flatMap((c) => c.series).find((c) => c.id === t.id), a = f.value.flatMap((c) => c.series).find((c) => c.id === t.id);
|
|
183
184
|
let l = a ? a.value : 0;
|
|
184
|
-
const
|
|
185
|
-
if (
|
|
185
|
+
const d = C.value.find((c) => c.id === u.arcOfId).series.map((c) => c.id), b = Je(d, d.length - 1, y.value);
|
|
186
|
+
if (y.value.includes(t.id)) {
|
|
186
187
|
let c = function() {
|
|
187
|
-
l >
|
|
188
|
-
|
|
189
|
-
series:
|
|
190
|
-
...
|
|
191
|
-
value:
|
|
192
|
-
} :
|
|
193
|
-
}))) : (l +=
|
|
194
|
-
|
|
195
|
-
series:
|
|
196
|
-
...
|
|
188
|
+
l > u.value ? (cancelAnimationFrame(Ce.value), f.value = f.value.map(($) => ({
|
|
189
|
+
...$,
|
|
190
|
+
series: $.series.map((S) => S.id == t.id ? {
|
|
191
|
+
...S,
|
|
192
|
+
value: u.value
|
|
193
|
+
} : S)
|
|
194
|
+
}))) : (l += u.value * 0.025, f.value = f.value.map(($) => ({
|
|
195
|
+
...$,
|
|
196
|
+
series: $.series.map((S) => S.id === t.id ? {
|
|
197
|
+
...S,
|
|
197
198
|
value: l
|
|
198
|
-
} :
|
|
199
|
-
})),
|
|
199
|
+
} : S)
|
|
200
|
+
})), Ce.value = requestAnimationFrame(c));
|
|
200
201
|
};
|
|
201
|
-
|
|
202
|
+
y.value = y.value.filter(($) => $ !== t.id), c();
|
|
202
203
|
} else if (b) {
|
|
203
204
|
let c = function() {
|
|
204
|
-
l < 0.1 ? (cancelAnimationFrame(
|
|
205
|
-
|
|
206
|
-
series:
|
|
205
|
+
l < 0.1 ? (cancelAnimationFrame(Te.value), y.value.push(t.id), f.value = f.value.map(($, S) => ({
|
|
206
|
+
...$,
|
|
207
|
+
series: $.series.map((O) => O.id === t.id ? {
|
|
207
208
|
...O,
|
|
208
209
|
value: 0
|
|
209
210
|
} : O)
|
|
210
|
-
}))) : (l /= 1.1,
|
|
211
|
-
|
|
212
|
-
series:
|
|
211
|
+
}))) : (l /= 1.1, f.value = f.value.map(($, S) => ({
|
|
212
|
+
...$,
|
|
213
|
+
series: $.series.map((O) => O.id === t.id ? {
|
|
213
214
|
...O,
|
|
214
215
|
value: l
|
|
215
216
|
} : O)
|
|
216
|
-
})),
|
|
217
|
+
})), Te.value = requestAnimationFrame(c));
|
|
217
218
|
};
|
|
218
219
|
c();
|
|
219
220
|
}
|
|
220
221
|
}
|
|
221
|
-
const ae =
|
|
222
|
-
const a =
|
|
222
|
+
const ae = g(() => T.value / C.value.length * e.value.style.chart.layout.donut.spacingRatio), Fe = g(() => f.value.map((t, u) => T.value - u * T.value / C.value.length)), W = g(() => f.value.map((t, u) => {
|
|
223
|
+
const a = u * T.value / C.value.length;
|
|
223
224
|
return {
|
|
224
225
|
...t,
|
|
225
|
-
radius:
|
|
226
|
-
donut:
|
|
226
|
+
radius: T.value - a,
|
|
227
|
+
donut: Be(
|
|
227
228
|
{ series: t.series },
|
|
228
229
|
h.value.width / 2,
|
|
229
230
|
h.value.height / 2,
|
|
230
|
-
|
|
231
|
-
|
|
231
|
+
T.value - a,
|
|
232
|
+
T.value - a,
|
|
232
233
|
1.99999,
|
|
233
234
|
2,
|
|
234
235
|
1,
|
|
@@ -237,53 +238,53 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
|
|
|
237
238
|
ae.value
|
|
238
239
|
)
|
|
239
240
|
};
|
|
240
|
-
})), Se =
|
|
241
|
-
const a =
|
|
241
|
+
})), Se = g(() => [...C.value].map((t, u) => {
|
|
242
|
+
const a = u * T.value / C.value.length;
|
|
242
243
|
return {
|
|
243
244
|
sizeRatio: a,
|
|
244
|
-
donut:
|
|
245
|
+
donut: Be(
|
|
245
246
|
{ series: [{ value: 1 }] },
|
|
246
247
|
h.value.width / 2,
|
|
247
248
|
h.value.height / 2,
|
|
248
|
-
|
|
249
|
-
|
|
249
|
+
T.value - a,
|
|
250
|
+
T.value - a,
|
|
250
251
|
1.99999,
|
|
251
252
|
2,
|
|
252
253
|
1,
|
|
253
254
|
360,
|
|
254
255
|
105.25,
|
|
255
|
-
|
|
256
|
+
T.value / C.value.length * e.value.style.chart.layout.donut.spacingRatio
|
|
256
257
|
)[0]
|
|
257
258
|
};
|
|
258
|
-
})),
|
|
259
|
-
function
|
|
260
|
-
|
|
259
|
+
})), Ne = i(null), H = i(null), q = i(null), oe = i(null);
|
|
260
|
+
function Qe({ datapoint: t, _relativeIndex: u, seriesIndex: a }) {
|
|
261
|
+
Ne.value = t.arcOfId, H.value = t.id, q.value = a, oe.value = {
|
|
261
262
|
datapoint: t,
|
|
262
263
|
seriesIndex: a,
|
|
263
|
-
series:
|
|
264
|
+
series: f.value,
|
|
264
265
|
config: e.value
|
|
265
266
|
};
|
|
266
267
|
const o = e.value.style.chart.tooltip.customFormat;
|
|
267
|
-
if (
|
|
268
|
+
if (Re(o) && yt(() => o({
|
|
268
269
|
seriesIndex: a,
|
|
269
270
|
datapoint: t,
|
|
270
|
-
series:
|
|
271
|
+
series: f.value,
|
|
271
272
|
config: e.value
|
|
272
273
|
})))
|
|
273
274
|
ee.value = o({
|
|
274
275
|
seriesIndex: a,
|
|
275
276
|
datapoint: t,
|
|
276
|
-
series:
|
|
277
|
+
series: f.value,
|
|
277
278
|
config: e.value
|
|
278
279
|
});
|
|
279
280
|
else {
|
|
280
281
|
let l = "";
|
|
281
|
-
if (e.value.style.chart.tooltip.showAllItemsAtIndex &&
|
|
282
|
-
const
|
|
283
|
-
|
|
282
|
+
if (e.value.style.chart.tooltip.showAllItemsAtIndex && y.value.length === 0) {
|
|
283
|
+
const d = f.value.map((b) => b.series.find((c) => c.seriesIndex === a));
|
|
284
|
+
d.forEach((b, c) => {
|
|
284
285
|
if (!b) return "";
|
|
285
286
|
l += `
|
|
286
|
-
<div style="display:flex; flex-direction: column; justify-content:flex-start; align-items:flex-start;padding:6px 0; ${c <
|
|
287
|
+
<div style="display:flex; flex-direction: column; justify-content:flex-start; align-items:flex-start;padding:6px 0; ${c < d.length - 1 ? `border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor}` : ""}">
|
|
287
288
|
<div style="display:flex; flex-direction: row; gap: 3px; justify-content:flex-start; align-items:center;">
|
|
288
289
|
<svg viewBox="0 0 20 20" height="${e.value.style.chart.tooltip.fontSize}" width="${e.value.style.chart.tooltip.fontSize}">
|
|
289
290
|
<circle cx="10" cy="10" r="10" fill="${b.color}"/>
|
|
@@ -341,15 +342,15 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
|
|
|
341
342
|
function se(t) {
|
|
342
343
|
return t.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
|
|
343
344
|
}
|
|
344
|
-
function
|
|
345
|
+
function Ie(t, u) {
|
|
345
346
|
if (!e.value.useBlurOnHover)
|
|
346
347
|
return "";
|
|
347
|
-
if (e.value.style.chart.tooltip.showAllItemsAtIndex &&
|
|
348
|
-
return [null, void 0].includes(q.value) || q.value ===
|
|
349
|
-
if (!e.value.style.chart.tooltip.showAllItemsAtIndex ||
|
|
350
|
-
return [null, void 0].includes(H.value) || H.value === t.id ? "" : `url(#blur_${
|
|
348
|
+
if (e.value.style.chart.tooltip.showAllItemsAtIndex && y.value.length === 0)
|
|
349
|
+
return [null, void 0].includes(q.value) || q.value === u ? "" : `url(#blur_${w.value})`;
|
|
350
|
+
if (!e.value.style.chart.tooltip.showAllItemsAtIndex || y.value.length)
|
|
351
|
+
return [null, void 0].includes(H.value) || H.value === t.id ? "" : `url(#blur_${w.value})`;
|
|
351
352
|
}
|
|
352
|
-
const ue =
|
|
353
|
+
const ue = g(() => C.value.map((t, u) => t.series.map((a, o) => ({
|
|
353
354
|
name: a.name,
|
|
354
355
|
color: a.color,
|
|
355
356
|
value: a.value,
|
|
@@ -357,51 +358,51 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
|
|
|
357
358
|
arcOf: a.arcOf,
|
|
358
359
|
id: a.id,
|
|
359
360
|
seriesIndex: o,
|
|
360
|
-
datasetIndex:
|
|
361
|
-
total: t.series.filter((l) => !
|
|
361
|
+
datasetIndex: u,
|
|
362
|
+
total: t.series.filter((l) => !y.value.includes(l.id)).map((l) => l.value).reduce((l, d) => l + d, 0)
|
|
362
363
|
})).map((a) => ({
|
|
363
364
|
...a,
|
|
364
|
-
opacity:
|
|
365
|
+
opacity: y.value.includes(a.id) ? 0.5 : 1,
|
|
365
366
|
segregate: () => le(a),
|
|
366
|
-
isSegregated:
|
|
367
|
-
})))),
|
|
367
|
+
isSegregated: y.value.includes(a.id)
|
|
368
|
+
})))), Ze = g(() => ({
|
|
368
369
|
cy: "nested-donuts-legend",
|
|
369
370
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
370
371
|
color: e.value.style.chart.legend.color,
|
|
371
372
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
372
373
|
paddingBottom: 12,
|
|
373
374
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
374
|
-
})), A =
|
|
375
|
-
const t =
|
|
375
|
+
})), A = g(() => {
|
|
376
|
+
const t = f.value.flatMap((a) => a.series.map((o) => ({
|
|
376
377
|
name: `${a.name} - ${o.name}`,
|
|
377
378
|
color: o.color,
|
|
378
379
|
total: a.total
|
|
379
|
-
}))),
|
|
380
|
-
return { head: t, body:
|
|
380
|
+
}))), u = f.value.flatMap((a) => a.series.map((o) => o.value));
|
|
381
|
+
return { head: t, body: u };
|
|
381
382
|
});
|
|
382
|
-
function
|
|
383
|
-
|
|
383
|
+
function Ae() {
|
|
384
|
+
at(() => {
|
|
384
385
|
const t = A.value.head.map((o, l) => [[
|
|
385
386
|
o.name
|
|
386
|
-
], [A.value.body[l]], [isNaN(A.value.body[l] / o.total) ? "-" : A.value.body[l] / o.total * 100]]),
|
|
387
|
-
|
|
387
|
+
], [A.value.body[l]], [isNaN(A.value.body[l] / o.total) ? "-" : A.value.body[l] / o.total * 100]]), u = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), a = pt(u);
|
|
388
|
+
bt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
|
|
388
389
|
});
|
|
389
390
|
}
|
|
390
|
-
const K =
|
|
391
|
+
const K = g(() => {
|
|
391
392
|
const t = [
|
|
392
393
|
e.value.table.columnNames.series,
|
|
393
394
|
e.value.table.columnNames.value,
|
|
394
395
|
e.value.table.columnNames.percentage
|
|
395
|
-
],
|
|
396
|
-
const b = x({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: A.value.body[
|
|
396
|
+
], u = A.value.head.map((l, d) => {
|
|
397
|
+
const b = x({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: A.value.body[d], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
397
398
|
return [
|
|
398
399
|
{
|
|
399
400
|
color: l.color,
|
|
400
401
|
name: l.name
|
|
401
402
|
},
|
|
402
403
|
b,
|
|
403
|
-
isNaN(A.value.body[
|
|
404
|
-
v: A.value.body[
|
|
404
|
+
isNaN(A.value.body[d] / l.total) ? "-" : x({
|
|
405
|
+
v: A.value.body[d] / l.total * 100,
|
|
405
406
|
s: "%",
|
|
406
407
|
r: e.value.table.td.roundingPercentage
|
|
407
408
|
})
|
|
@@ -426,56 +427,63 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
|
|
|
426
427
|
e.value.table.columnNames.percentage
|
|
427
428
|
],
|
|
428
429
|
head: t,
|
|
429
|
-
body:
|
|
430
|
+
body: u,
|
|
430
431
|
config: a
|
|
431
432
|
};
|
|
432
433
|
});
|
|
433
|
-
function
|
|
434
|
+
function je() {
|
|
434
435
|
return C.value;
|
|
435
436
|
}
|
|
436
|
-
function Ae() {
|
|
437
|
-
w.value.showTable = !w.value.showTable;
|
|
438
|
-
}
|
|
439
437
|
function Oe() {
|
|
440
|
-
|
|
438
|
+
_.value.showTable = !_.value.showTable;
|
|
441
439
|
}
|
|
442
440
|
function Pe() {
|
|
443
|
-
|
|
441
|
+
_.value.dataLabels.show = !_.value.dataLabels.show;
|
|
444
442
|
}
|
|
445
|
-
|
|
443
|
+
function De() {
|
|
444
|
+
_.value.showTooltip = !_.value.showTooltip;
|
|
445
|
+
}
|
|
446
|
+
const J = i(!1);
|
|
446
447
|
function ne() {
|
|
447
448
|
J.value = !J.value;
|
|
448
449
|
}
|
|
449
|
-
return
|
|
450
|
-
getData:
|
|
451
|
-
generatePdf:
|
|
452
|
-
generateCsv:
|
|
453
|
-
generateImage:
|
|
454
|
-
toggleTable:
|
|
455
|
-
toggleLabels:
|
|
456
|
-
toggleTooltip:
|
|
450
|
+
return Ge({
|
|
451
|
+
getData: je,
|
|
452
|
+
generatePdf: $e,
|
|
453
|
+
generateCsv: Ae,
|
|
454
|
+
generateImage: Le,
|
|
455
|
+
toggleTable: Oe,
|
|
456
|
+
toggleLabels: Pe,
|
|
457
|
+
toggleTooltip: De,
|
|
457
458
|
toggleAnnotator: ne
|
|
458
|
-
}), (t,
|
|
459
|
+
}), (t, u) => (s(), n("div", {
|
|
459
460
|
ref_key: "nestedDonutsChart",
|
|
460
461
|
ref: z,
|
|
461
462
|
class: P(`vue-ui-nested-donuts ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
462
|
-
style: re(`font-family:${e.value.style.fontFamily};width:100%; text-align:center
|
|
463
|
-
id: `nested_donuts_${
|
|
463
|
+
style: re(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
464
|
+
id: `nested_donuts_${w.value}`
|
|
464
465
|
}, [
|
|
465
|
-
e.value.userOptions.buttons.annotator ? (
|
|
466
|
+
e.value.userOptions.buttons.annotator ? (s(), D(St, {
|
|
466
467
|
key: 0,
|
|
467
468
|
parent: z.value,
|
|
468
469
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
469
470
|
color: e.value.style.chart.color,
|
|
470
471
|
active: J.value,
|
|
471
472
|
onClose: ne
|
|
472
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
473
|
-
|
|
473
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : v("", !0),
|
|
474
|
+
He.value ? (s(), n("div", {
|
|
474
475
|
key: 1,
|
|
476
|
+
ref_key: "noTitle",
|
|
477
|
+
ref: ye,
|
|
478
|
+
class: "vue-data-ui-no-title-space",
|
|
479
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
480
|
+
}, null, 512)) : v("", !0),
|
|
481
|
+
e.value.style.chart.title.text ? (s(), n("div", {
|
|
482
|
+
key: 2,
|
|
475
483
|
ref_key: "chartTitle",
|
|
476
484
|
ref: fe
|
|
477
485
|
}, [
|
|
478
|
-
(
|
|
486
|
+
(s(), D(kt, {
|
|
479
487
|
key: `title_${pe.value}`,
|
|
480
488
|
config: {
|
|
481
489
|
title: {
|
|
@@ -488,15 +496,15 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
|
|
|
488
496
|
}
|
|
489
497
|
}
|
|
490
498
|
}, null, 8, ["config"]))
|
|
491
|
-
], 512)) :
|
|
492
|
-
e.value.userOptions.show && Y.value ? (
|
|
499
|
+
], 512)) : v("", !0),
|
|
500
|
+
e.value.userOptions.show && Y.value ? (s(), D(_t, {
|
|
493
501
|
ref: "details",
|
|
494
502
|
key: `user_option_${ve.value}`,
|
|
495
503
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
496
504
|
color: e.value.style.chart.color,
|
|
497
|
-
isPrinting: r(
|
|
498
|
-
isImaging: r(
|
|
499
|
-
uid:
|
|
505
|
+
isPrinting: r(we),
|
|
506
|
+
isImaging: r(_e),
|
|
507
|
+
uid: w.value,
|
|
500
508
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
501
509
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
502
510
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -505,158 +513,158 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
|
|
|
505
513
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
506
514
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
507
515
|
isFullscreen: U.value,
|
|
508
|
-
isTooltip:
|
|
516
|
+
isTooltip: _.value.showTooltip,
|
|
509
517
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
510
518
|
chartElement: z.value,
|
|
511
519
|
position: e.value.userOptions.position,
|
|
512
520
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
513
521
|
isAnnotation: J.value,
|
|
514
|
-
onToggleFullscreen:
|
|
515
|
-
onGeneratePdf: r(
|
|
516
|
-
onGenerateCsv:
|
|
517
|
-
onGenerateImage: r(
|
|
518
|
-
onToggleTable:
|
|
519
|
-
onToggleLabels:
|
|
520
|
-
onToggleTooltip:
|
|
522
|
+
onToggleFullscreen: We,
|
|
523
|
+
onGeneratePdf: r($e),
|
|
524
|
+
onGenerateCsv: Ae,
|
|
525
|
+
onGenerateImage: r(Le),
|
|
526
|
+
onToggleTable: Oe,
|
|
527
|
+
onToggleLabels: Pe,
|
|
528
|
+
onToggleTooltip: De,
|
|
521
529
|
onToggleAnnotator: ne
|
|
522
|
-
},
|
|
530
|
+
}, lt({ _: 2 }, [
|
|
523
531
|
t.$slots.optionTooltip ? {
|
|
524
532
|
name: "optionTooltip",
|
|
525
|
-
fn:
|
|
533
|
+
fn: m(() => [
|
|
526
534
|
k(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
527
535
|
]),
|
|
528
536
|
key: "0"
|
|
529
537
|
} : void 0,
|
|
530
538
|
t.$slots.optionPdf ? {
|
|
531
539
|
name: "optionPdf",
|
|
532
|
-
fn:
|
|
540
|
+
fn: m(() => [
|
|
533
541
|
k(t.$slots, "optionPdf", {}, void 0, !0)
|
|
534
542
|
]),
|
|
535
543
|
key: "1"
|
|
536
544
|
} : void 0,
|
|
537
545
|
t.$slots.optionCsv ? {
|
|
538
546
|
name: "optionCsv",
|
|
539
|
-
fn:
|
|
547
|
+
fn: m(() => [
|
|
540
548
|
k(t.$slots, "optionCsv", {}, void 0, !0)
|
|
541
549
|
]),
|
|
542
550
|
key: "2"
|
|
543
551
|
} : void 0,
|
|
544
552
|
t.$slots.optionImg ? {
|
|
545
553
|
name: "optionImg",
|
|
546
|
-
fn:
|
|
554
|
+
fn: m(() => [
|
|
547
555
|
k(t.$slots, "optionImg", {}, void 0, !0)
|
|
548
556
|
]),
|
|
549
557
|
key: "3"
|
|
550
558
|
} : void 0,
|
|
551
559
|
t.$slots.optionTable ? {
|
|
552
560
|
name: "optionTable",
|
|
553
|
-
fn:
|
|
561
|
+
fn: m(() => [
|
|
554
562
|
k(t.$slots, "optionTable", {}, void 0, !0)
|
|
555
563
|
]),
|
|
556
564
|
key: "4"
|
|
557
565
|
} : void 0,
|
|
558
566
|
t.$slots.optionLabels ? {
|
|
559
567
|
name: "optionLabels",
|
|
560
|
-
fn:
|
|
568
|
+
fn: m(() => [
|
|
561
569
|
k(t.$slots, "optionLabels", {}, void 0, !0)
|
|
562
570
|
]),
|
|
563
571
|
key: "5"
|
|
564
572
|
} : void 0,
|
|
565
573
|
t.$slots.optionFullscreen ? {
|
|
566
574
|
name: "optionFullscreen",
|
|
567
|
-
fn:
|
|
575
|
+
fn: m(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
568
576
|
k(t.$slots, "optionFullscreen", R(E({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
569
577
|
]),
|
|
570
578
|
key: "6"
|
|
571
579
|
} : void 0,
|
|
572
580
|
t.$slots.optionAnnotator ? {
|
|
573
581
|
name: "optionAnnotator",
|
|
574
|
-
fn:
|
|
582
|
+
fn: m(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
575
583
|
k(t.$slots, "optionAnnotator", R(E({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
576
584
|
]),
|
|
577
585
|
key: "7"
|
|
578
586
|
} : void 0
|
|
579
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) :
|
|
580
|
-
Y.value ? (
|
|
581
|
-
key:
|
|
582
|
-
xmlns: r(
|
|
587
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
|
|
588
|
+
Y.value ? (s(), n("svg", {
|
|
589
|
+
key: 4,
|
|
590
|
+
xmlns: r(ft),
|
|
583
591
|
class: P({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
|
|
584
592
|
viewBox: `0 0 ${h.value.width <= 0 ? 1e-3 : h.value.width} ${h.value.height < 0 ? 1e-3 : h.value.height}`,
|
|
585
593
|
style: re(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
586
594
|
}, [
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
(
|
|
590
|
-
id: `radial_${
|
|
595
|
+
Ve(Ft),
|
|
596
|
+
p("defs", null, [
|
|
597
|
+
(s(!0), n(L, null, F(Se.value, (a, o) => (s(), n("radialGradient", {
|
|
598
|
+
id: `radial_${w.value}_${o}`
|
|
591
599
|
}, [
|
|
592
|
-
|
|
593
|
-
|
|
600
|
+
Pt,
|
|
601
|
+
p("stop", {
|
|
594
602
|
offset: `${(1 - ae.value / Fe.value[o]) * 100}%`,
|
|
595
|
-
"stop-color": r(
|
|
603
|
+
"stop-color": r(Ue)("#FFFFFF", 0),
|
|
596
604
|
"stop-opacity": "0"
|
|
597
|
-
}, null, 8,
|
|
598
|
-
|
|
605
|
+
}, null, 8, Dt),
|
|
606
|
+
p("stop", {
|
|
599
607
|
offset: `${(1 - ae.value / Fe.value[o] / 2) * 100}%`,
|
|
600
608
|
"stop-color": "#FFFFFF",
|
|
601
609
|
"stop-opacity": e.value.style.chart.gradientIntensity / 100
|
|
602
|
-
}, null, 8,
|
|
603
|
-
|
|
604
|
-
], 8,
|
|
610
|
+
}, null, 8, zt),
|
|
611
|
+
Vt
|
|
612
|
+
], 8, Ot))), 256))
|
|
605
613
|
]),
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
id: `blur_${
|
|
614
|
+
p("defs", null, [
|
|
615
|
+
p("filter", {
|
|
616
|
+
id: `blur_${w.value}`,
|
|
609
617
|
x: "-50%",
|
|
610
618
|
y: "-50%",
|
|
611
619
|
width: "200%",
|
|
612
620
|
height: "200%"
|
|
613
621
|
}, [
|
|
614
|
-
|
|
622
|
+
p("feGaussianBlur", {
|
|
615
623
|
in: "SourceGraphic",
|
|
616
624
|
stdDeviation: 2,
|
|
617
|
-
id: `blur_std_${
|
|
618
|
-
}, null, 8,
|
|
619
|
-
|
|
620
|
-
], 8,
|
|
621
|
-
|
|
622
|
-
id: `shadow_${
|
|
625
|
+
id: `blur_std_${w.value}`
|
|
626
|
+
}, null, 8, Bt),
|
|
627
|
+
Ut
|
|
628
|
+
], 8, Mt),
|
|
629
|
+
p("filter", {
|
|
630
|
+
id: `shadow_${w.value}`,
|
|
623
631
|
"color-interpolation-filters": "sRGB"
|
|
624
632
|
}, [
|
|
625
|
-
|
|
633
|
+
p("feDropShadow", {
|
|
626
634
|
dx: "0",
|
|
627
635
|
dy: "0",
|
|
628
636
|
stdDeviation: "10",
|
|
629
637
|
"flood-opacity": "0.5",
|
|
630
638
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
631
|
-
}, null, 8,
|
|
632
|
-
], 8,
|
|
639
|
+
}, null, 8, Et)
|
|
640
|
+
], 8, Rt)
|
|
633
641
|
]),
|
|
634
|
-
(
|
|
635
|
-
(
|
|
636
|
-
|
|
642
|
+
(s(!0), n(L, null, F(W.value, (a, o) => (s(), n("g", null, [
|
|
643
|
+
(s(!0), n(L, null, F(a.donut, (l, d) => (s(), n("g", null, [
|
|
644
|
+
p("path", {
|
|
637
645
|
class: "vue-ui-donut-arc-path",
|
|
638
646
|
d: l.arcSlice,
|
|
639
|
-
fill: r(
|
|
647
|
+
fill: r(Ue)(l.color, 80),
|
|
640
648
|
stroke: e.value.style.chart.backgroundColor,
|
|
641
649
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
642
|
-
filter:
|
|
643
|
-
}, null, 8,
|
|
650
|
+
filter: Ie(l, d)
|
|
651
|
+
}, null, 8, Gt)
|
|
644
652
|
]))), 256))
|
|
645
653
|
]))), 256)),
|
|
646
|
-
e.value.style.chart.useGradient ? (
|
|
647
|
-
(
|
|
648
|
-
|
|
654
|
+
e.value.style.chart.useGradient ? (s(), n("g", Yt, [
|
|
655
|
+
(s(!0), n(L, null, F(Se.value, (a, o) => (s(), n("g", null, [
|
|
656
|
+
p("path", {
|
|
649
657
|
d: a.donut.arcSlice,
|
|
650
|
-
fill: `url(#radial_${
|
|
658
|
+
fill: `url(#radial_${w.value}_${o})`,
|
|
651
659
|
stroke: "transparent",
|
|
652
660
|
"stroke-width": "0"
|
|
653
|
-
}, null, 8,
|
|
661
|
+
}, null, 8, Xt)
|
|
654
662
|
]))), 256))
|
|
655
|
-
])) :
|
|
656
|
-
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (
|
|
657
|
-
(
|
|
658
|
-
(
|
|
659
|
-
|
|
663
|
+
])) : v("", !0),
|
|
664
|
+
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (s(), n("g", Wt, [
|
|
665
|
+
(s(!0), n(L, null, F(W.value, (a, o) => (s(), n("g", null, [
|
|
666
|
+
(s(!0), n(L, null, F(a.donut, (l, d) => (s(), n("g", null, [
|
|
667
|
+
d === 0 && h.value.width && h.value.height ? (s(), n("text", {
|
|
660
668
|
key: 0,
|
|
661
669
|
class: P({ animated: e.value.useCssAnimation }),
|
|
662
670
|
x: h.value.width / 2,
|
|
@@ -665,16 +673,16 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
|
|
|
665
673
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
666
674
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
|
|
667
675
|
fill: e.value.style.chart.layout.labels.dataLabels.color
|
|
668
|
-
}, N(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(
|
|
676
|
+
}, N(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(ht)({ source: a.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : a.name), 11, Ht)) : v("", !0)
|
|
669
677
|
]))), 256))
|
|
670
678
|
]))), 256))
|
|
671
|
-
])) :
|
|
672
|
-
e.value.style.chart.layout.labels.dataLabels.show ? (
|
|
673
|
-
(
|
|
674
|
-
(
|
|
675
|
-
filter:
|
|
679
|
+
])) : v("", !0),
|
|
680
|
+
e.value.style.chart.layout.labels.dataLabels.show ? (s(), n("g", qt, [
|
|
681
|
+
(s(!0), n(L, null, F(W.value, (a, o) => (s(), n("g", null, [
|
|
682
|
+
(s(!0), n(L, null, F(a.donut, (l, d) => (s(), n("g", {
|
|
683
|
+
filter: Ie(l, d)
|
|
676
684
|
}, [
|
|
677
|
-
se(l) &&
|
|
685
|
+
se(l) && _.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (s(), n("text", {
|
|
678
686
|
key: 0,
|
|
679
687
|
class: P({ animated: e.value.useCssAnimation }),
|
|
680
688
|
"text-anchor": r(M)(l, !0).anchor,
|
|
@@ -683,8 +691,8 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
|
|
|
683
691
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
684
692
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
685
693
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
|
|
686
|
-
}, N(r(x)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11,
|
|
687
|
-
se(l) &&
|
|
694
|
+
}, N(r(x)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, Jt)) : v("", !0),
|
|
695
|
+
se(l) && _.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (s(), n("text", {
|
|
688
696
|
key: 1,
|
|
689
697
|
class: P({ animated: e.value.useCssAnimation }),
|
|
690
698
|
"text-anchor": r(M)(l, !0).anchor,
|
|
@@ -702,9 +710,9 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
|
|
|
702
710
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
703
711
|
r: e.value.style.chart.layout.labels.dataLabels.roundingValue
|
|
704
712
|
}),
|
|
705
|
-
{ datapoint: l, seriesIndex: o, datapointIndex:
|
|
706
|
-
)) + ") ", 11,
|
|
707
|
-
se(l) &&
|
|
713
|
+
{ datapoint: l, seriesIndex: o, datapointIndex: d }
|
|
714
|
+
)) + ") ", 11, Qt)) : v("", !0),
|
|
715
|
+
se(l) && _.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (s(), n("text", {
|
|
708
716
|
key: 2,
|
|
709
717
|
class: P({ animated: e.value.useCssAnimation }),
|
|
710
718
|
"text-anchor": r(M)(l, !0).anchor,
|
|
@@ -722,36 +730,36 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
|
|
|
722
730
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
723
731
|
r: e.value.style.chart.layout.labels.dataLabels.roundingValue
|
|
724
732
|
}),
|
|
725
|
-
{ datapoint: l, seriesIndex: o, datapointIndex:
|
|
726
|
-
)), 11,
|
|
727
|
-
], 8,
|
|
733
|
+
{ datapoint: l, seriesIndex: o, datapointIndex: d }
|
|
734
|
+
)), 11, Zt)) : v("", !0)
|
|
735
|
+
], 8, Kt))), 256))
|
|
728
736
|
]))), 256))
|
|
729
|
-
])) :
|
|
730
|
-
(
|
|
731
|
-
(
|
|
732
|
-
|
|
737
|
+
])) : v("", !0),
|
|
738
|
+
(s(!0), n(L, null, F(W.value, (a, o) => (s(), n("g", null, [
|
|
739
|
+
(s(!0), n(L, null, F(a.donut, (l, d) => (s(), n("g", null, [
|
|
740
|
+
p("path", {
|
|
733
741
|
"data-cy-donut-trap": "",
|
|
734
742
|
d: l.arcSlice,
|
|
735
|
-
fill:
|
|
736
|
-
onMouseenter: (b) =>
|
|
743
|
+
fill: Xe.value === o ? "rgba(0,0,0,0.1)" : "transparent",
|
|
744
|
+
onMouseenter: (b) => Qe({
|
|
737
745
|
datapoint: l,
|
|
738
746
|
relativeIndex: o,
|
|
739
747
|
seriesIndex: l.seriesIndex
|
|
740
748
|
}),
|
|
741
|
-
onClick: (b) =>
|
|
742
|
-
onMouseleave:
|
|
743
|
-
j.value = !1,
|
|
749
|
+
onClick: (b) => Ke({ datapoint: l, index: d }),
|
|
750
|
+
onMouseleave: u[0] || (u[0] = (b) => {
|
|
751
|
+
j.value = !1, Ne.value = null, H.value = null, q.value = null;
|
|
744
752
|
})
|
|
745
|
-
}, null, 40,
|
|
753
|
+
}, null, 40, jt)
|
|
746
754
|
]))), 256))
|
|
747
755
|
]))), 256)),
|
|
748
756
|
k(t.$slots, "svg", { svg: h.value }, void 0, !0)
|
|
749
|
-
], 14,
|
|
750
|
-
t.$slots.watermark ? (
|
|
751
|
-
k(t.$slots, "watermark", R(E({ isPrinting: r(
|
|
752
|
-
])) :
|
|
753
|
-
Y.value ?
|
|
754
|
-
key:
|
|
757
|
+
], 14, At)) : v("", !0),
|
|
758
|
+
t.$slots.watermark ? (s(), n("div", el, [
|
|
759
|
+
k(t.$slots, "watermark", R(E({ isPrinting: r(we) || r(_e) })), void 0, !0)
|
|
760
|
+
])) : v("", !0),
|
|
761
|
+
Y.value ? v("", !0) : (s(), D(Ct, {
|
|
762
|
+
key: 6,
|
|
755
763
|
config: {
|
|
756
764
|
type: "donut",
|
|
757
765
|
style: {
|
|
@@ -762,8 +770,8 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
|
|
|
762
770
|
}
|
|
763
771
|
}
|
|
764
772
|
}, null, 8, ["config"])),
|
|
765
|
-
|
|
766
|
-
show:
|
|
773
|
+
Ve(Lt, {
|
|
774
|
+
show: _.value.showTooltip && j.value,
|
|
767
775
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
768
776
|
color: e.value.style.chart.tooltip.color,
|
|
769
777
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -775,35 +783,35 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
|
|
|
775
783
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
776
784
|
parent: z.value,
|
|
777
785
|
content: ee.value,
|
|
778
|
-
isCustom: r(
|
|
786
|
+
isCustom: r(Re)(e.value.style.chart.tooltip.customFormat)
|
|
779
787
|
}, {
|
|
780
|
-
"tooltip-before":
|
|
788
|
+
"tooltip-before": m(() => [
|
|
781
789
|
k(t.$slots, "tooltip-before", R(E({ ...oe.value })), void 0, !0)
|
|
782
790
|
]),
|
|
783
|
-
"tooltip-after":
|
|
791
|
+
"tooltip-after": m(() => [
|
|
784
792
|
k(t.$slots, "tooltip-after", R(E({ ...oe.value })), void 0, !0)
|
|
785
793
|
]),
|
|
786
794
|
_: 3
|
|
787
795
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
788
|
-
e.value.style.chart.legend.show ? (
|
|
789
|
-
key:
|
|
796
|
+
e.value.style.chart.legend.show ? (s(), n("div", {
|
|
797
|
+
key: 7,
|
|
790
798
|
ref_key: "chartLegend",
|
|
791
799
|
ref: te,
|
|
792
800
|
class: P({ "vue-ui-nested-donuts-legend": ue.value.length > 1 })
|
|
793
801
|
}, [
|
|
794
|
-
(
|
|
795
|
-
key: `legend_${o}_${
|
|
802
|
+
(s(!0), n(L, null, F(ue.value, (a, o) => (s(), D(xt, {
|
|
803
|
+
key: `legend_${o}_${ge.value}`,
|
|
796
804
|
legendSet: a,
|
|
797
|
-
config:
|
|
798
|
-
onClickMarker:
|
|
805
|
+
config: Ze.value,
|
|
806
|
+
onClickMarker: u[1] || (u[1] = ({ legend: l }) => le(l))
|
|
799
807
|
}, {
|
|
800
|
-
legendTitle:
|
|
801
|
-
l[0] && l[0].arcOf ? (
|
|
808
|
+
legendTitle: m(({ titleSet: l }) => [
|
|
809
|
+
l[0] && l[0].arcOf ? (s(), n("div", tl, N(l[0].arcOf), 1)) : v("", !0)
|
|
802
810
|
]),
|
|
803
|
-
item:
|
|
804
|
-
|
|
811
|
+
item: m(({ legend: l, index: d }) => [
|
|
812
|
+
p("div", {
|
|
805
813
|
onClick: (b) => le(l),
|
|
806
|
-
style: re(`opacity:${
|
|
814
|
+
style: re(`opacity:${y.value.includes(l.id) ? 0.5 : 1}`)
|
|
807
815
|
}, [
|
|
808
816
|
Q(N(l.name) + ": " + N(r(G)(
|
|
809
817
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
@@ -814,38 +822,38 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
|
|
|
814
822
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
815
823
|
r: e.value.style.chart.legend.roundingValue
|
|
816
824
|
}),
|
|
817
|
-
{ datapoint: l, seriesIndex:
|
|
825
|
+
{ datapoint: l, seriesIndex: d }
|
|
818
826
|
)) + " ", 1),
|
|
819
|
-
|
|
827
|
+
y.value.includes(l.id) ? (s(), n(L, { key: 1 }, [
|
|
820
828
|
Q(" ( - % ) ")
|
|
821
|
-
], 64)) : (
|
|
829
|
+
], 64)) : (s(), n(L, { key: 0 }, [
|
|
822
830
|
Q(" (" + N(isNaN(l.value / l.total) ? "-" : r(x)({ v: l.value / l.total * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })) + ") ", 1)
|
|
823
831
|
], 64))
|
|
824
|
-
], 12,
|
|
832
|
+
], 12, ll)
|
|
825
833
|
]),
|
|
826
834
|
_: 2
|
|
827
835
|
}, 1032, ["legendSet", "config"]))), 128))
|
|
828
|
-
], 2)) :
|
|
829
|
-
e.value.style.chart.legend.show ?
|
|
830
|
-
key:
|
|
836
|
+
], 2)) : v("", !0),
|
|
837
|
+
e.value.style.chart.legend.show ? v("", !0) : (s(), n("div", {
|
|
838
|
+
key: 8,
|
|
831
839
|
ref_key: "chartLegend",
|
|
832
840
|
ref: te
|
|
833
841
|
}, [
|
|
834
842
|
k(t.$slots, "legend", { legend: ue.value }, void 0, !0)
|
|
835
843
|
], 512)),
|
|
836
|
-
t.$slots.source ? (
|
|
837
|
-
key:
|
|
844
|
+
t.$slots.source ? (s(), n("div", {
|
|
845
|
+
key: 9,
|
|
838
846
|
ref_key: "source",
|
|
839
847
|
ref: he,
|
|
840
848
|
dir: "auto"
|
|
841
849
|
}, [
|
|
842
850
|
k(t.$slots, "source", {}, void 0, !0)
|
|
843
|
-
], 512)) :
|
|
844
|
-
Y.value ? (
|
|
845
|
-
key:
|
|
851
|
+
], 512)) : v("", !0),
|
|
852
|
+
Y.value ? (s(), D(Tt, {
|
|
853
|
+
key: 10,
|
|
846
854
|
hideDetails: "",
|
|
847
855
|
config: {
|
|
848
|
-
open:
|
|
856
|
+
open: _.value.showTable,
|
|
849
857
|
maxHeight: 1e4,
|
|
850
858
|
body: {
|
|
851
859
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -857,33 +865,33 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
|
|
|
857
865
|
}
|
|
858
866
|
}
|
|
859
867
|
}, {
|
|
860
|
-
content:
|
|
861
|
-
(
|
|
862
|
-
key: `table_${
|
|
868
|
+
content: m(() => [
|
|
869
|
+
(s(), D($t, {
|
|
870
|
+
key: `table_${be.value}`,
|
|
863
871
|
colNames: K.value.colNames,
|
|
864
872
|
head: K.value.head,
|
|
865
873
|
body: K.value.body,
|
|
866
874
|
config: K.value.config,
|
|
867
875
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
868
|
-
onClose:
|
|
876
|
+
onClose: u[2] || (u[2] = (a) => _.value.showTable = !1)
|
|
869
877
|
}, {
|
|
870
|
-
th:
|
|
871
|
-
|
|
878
|
+
th: m(({ th: a }) => [
|
|
879
|
+
p("div", {
|
|
872
880
|
innerHTML: a,
|
|
873
881
|
style: { display: "flex", "align-items": "center" }
|
|
874
|
-
}, null, 8,
|
|
882
|
+
}, null, 8, al)
|
|
875
883
|
]),
|
|
876
|
-
td:
|
|
884
|
+
td: m(({ td: a }) => [
|
|
877
885
|
Q(N(a.name || a), 1)
|
|
878
886
|
]),
|
|
879
887
|
_: 1
|
|
880
888
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
881
889
|
]),
|
|
882
890
|
_: 1
|
|
883
|
-
}, 8, ["config"])) :
|
|
884
|
-
], 14,
|
|
891
|
+
}, 8, ["config"])) : v("", !0)
|
|
892
|
+
], 14, It));
|
|
885
893
|
}
|
|
886
|
-
},
|
|
894
|
+
}, ml = /* @__PURE__ */ Nt(ol, [["__scopeId", "data-v-038450b3"]]);
|
|
887
895
|
export {
|
|
888
|
-
|
|
896
|
+
ml as default
|
|
889
897
|
};
|