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,27 +1,27 @@
|
|
|
1
|
-
import { computed as _, ref as d, onMounted as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { D as
|
|
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
|
|
1
|
+
import { computed as _, ref as d, onMounted as tt, onBeforeUnmount as lt, watch as Be, openBlock as o, createElementBlock as s, normalizeClass as ce, normalizeStyle as Y, createBlock as V, createCommentVNode as i, renderSlot as m, unref as n, createSlots as at, withCtx as P, normalizeProps as U, guardReactiveProps as E, createVNode as Me, createElementVNode as h, Fragment as w, renderList as X, toDisplayString as x, createTextVNode as Ge, nextTick as ot, pushScopeId as ut, popScopeId as st } from "vue";
|
|
2
|
+
import { u as nt, o as rt, e as Ve, g as it, c as vt, b as ct, d as je, p as j, m as dt, G as ht, f as L, X as yt, s as ee, w as ft, j as pt, H as F, i as A, k as b, n as te, t as gt, a as bt, x as mt, q as wt, r as kt } from "./index-C1GB0E49.js";
|
|
3
|
+
import { t as _t, u as xt } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as Ct } from "./Title-W7iJGPjg.js";
|
|
5
|
+
import { u as $t, U as Pt } from "./usePrinter-y5uHyknw.js";
|
|
6
|
+
import { D as St } from "./DataTable-rs_YrvMR.js";
|
|
7
|
+
import { _ as Lt } from "./Tooltip-Pv3Bhir5.js";
|
|
8
|
+
import { L as Ft } from "./Legend-DrmUpnIK.js";
|
|
9
|
+
import Tt from "./vue-ui-skeleton-CE6ibl1T.js";
|
|
10
|
+
import zt from "./vue-ui-accordion-DWyRC3-h.js";
|
|
11
|
+
import { u as He } from "./useNestedProp-CNAPgW6E.js";
|
|
12
|
+
import { _ as Yt } from "./PackageVersion-D9rYHrFZ.js";
|
|
13
|
+
import { P as At } from "./PenAndPaper-C-KjtyNA.js";
|
|
14
|
+
import { _ as Nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = ["xmlns", "viewBox"], Dt = { key: 0 }, Bt = ["id"], Mt = ["stop-color"], Gt = ["offset", "stop-color"], Vt = ["offset", "stop-color"], jt = ["stop-color"], Ht = { key: 1 }, Rt = ["id", "cx", "cy"], Ut = ["stop-color", "stop-opacity"], Et = ["stop-color"], Wt = ["id"], qt = ["id"], Jt = /* @__PURE__ */ Ot(() => /* @__PURE__ */ h("feColorMatrix", {
|
|
16
16
|
type: "saturate",
|
|
17
17
|
values: "0"
|
|
18
|
-
}, null, -1)),
|
|
19
|
-
key:
|
|
18
|
+
}, null, -1)), Kt = ["id"], Qt = ["flood-color"], Zt = ["id"], el = ["flood-color"], tl = ["d", "stroke", "filter"], ll = ["x1", "y1", "x2", "y2", "stroke", "filter"], al = ["cx", "cy", "r", "fill", "filter"], ol = ["stroke", "d"], ul = ["d", "fill", "stroke", "stroke-width", "filter"], sl = { key: 0 }, nl = ["stroke", "d"], rl = { key: 0 }, il = ["d", "stroke", "stroke-width", "filter"], vl = ["d", "fill", "stroke", "stroke-width", "filter"], cl = { key: 1 }, dl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], hl = ["cx", "cy", "r", "stroke"], yl = ["cx", "cy", "r", "fill"], fl = { key: 0 }, pl = ["d", "fill", "onMouseenter", "onClick"], gl = { key: 1 }, bl = ["cx", "cy", "r", "fill"], ml = ["x", "y", "fill", "font-size"], wl = ["x", "y", "fill", "font-size"], kl = ["x", "y", "fill", "font-size"], _l = ["x", "y", "fill", "font-size"], xl = ["filter"], Cl = { key: 0 }, $l = ["x", "y"], Pl = { key: 1 }, Sl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Ll = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Fl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Tl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], zl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Yl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Al = { key: 2 }, Nl = ["x", "y", "width"], Ol = ["x", "y", "width"], Xl = {
|
|
19
|
+
key: 5,
|
|
20
20
|
class: "vue-data-ui-watermark"
|
|
21
|
-
},
|
|
21
|
+
}, Il = ["onClick"], Dl = {
|
|
22
22
|
key: 0,
|
|
23
23
|
style: { "font-variant-numeric": "tabular-nums" }
|
|
24
|
-
},
|
|
24
|
+
}, Bl = { key: 1 }, Ml = ["innerHTML"], Gl = {
|
|
25
25
|
__name: "vue-ui-donut",
|
|
26
26
|
props: {
|
|
27
27
|
config: {
|
|
@@ -38,30 +38,30 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
emits: ["selectLegend", "selectDatapoint"],
|
|
41
|
-
setup(W, { expose:
|
|
42
|
-
const
|
|
41
|
+
setup(W, { expose: Re, emit: de }) {
|
|
42
|
+
const N = W, { vue_ui_donut: Ue } = nt(), q = _({
|
|
43
43
|
get() {
|
|
44
|
-
return !!
|
|
44
|
+
return !!N.dataset && N.dataset.length;
|
|
45
45
|
},
|
|
46
46
|
set(l) {
|
|
47
47
|
return l;
|
|
48
48
|
}
|
|
49
|
-
}), H = d(null), he = d(null), ye = d(null), le = d(null), fe = d(null), pe = d(
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}),
|
|
49
|
+
}), H = d(null), he = d(null), ye = d(null), le = d(null), fe = d(null), pe = d(null), ge = d(0), be = d(0), me = d(0);
|
|
50
|
+
tt(() => {
|
|
51
|
+
we();
|
|
52
|
+
}), lt(() => {
|
|
53
53
|
le.value && le.value.disconnect();
|
|
54
54
|
});
|
|
55
|
-
function
|
|
56
|
-
if (
|
|
55
|
+
function we() {
|
|
56
|
+
if (rt(N.dataset) ? Ve({
|
|
57
57
|
componentName: "VueUiDonut",
|
|
58
58
|
type: "dataset"
|
|
59
|
-
}) :
|
|
60
|
-
|
|
59
|
+
}) : N.dataset.forEach((l, r) => {
|
|
60
|
+
it({
|
|
61
61
|
datasetObject: l,
|
|
62
62
|
requiredAttributes: ["name", "values"]
|
|
63
63
|
}).forEach((t) => {
|
|
64
|
-
q.value = !1,
|
|
64
|
+
q.value = !1, Ve({
|
|
65
65
|
componentName: "VueUiDonut",
|
|
66
66
|
type: "datasetSerieAttribute",
|
|
67
67
|
property: t,
|
|
@@ -69,43 +69,44 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
71
|
}), e.value.responsive) {
|
|
72
|
-
const l =
|
|
73
|
-
const { width: r, height: t } =
|
|
72
|
+
const l = _t(() => {
|
|
73
|
+
const { width: r, height: t } = xt({
|
|
74
74
|
chart: H.value,
|
|
75
75
|
title: e.value.style.chart.title.text ? he.value : null,
|
|
76
76
|
legend: e.value.style.chart.legend.show ? ye.value : null,
|
|
77
|
-
source: fe.value
|
|
77
|
+
source: fe.value,
|
|
78
|
+
noTitle: pe.value
|
|
78
79
|
});
|
|
79
80
|
u.value.width = r, u.value.height = t;
|
|
80
81
|
});
|
|
81
82
|
le.value = new ResizeObserver(l), le.value.observe(H.value.parentNode);
|
|
82
83
|
}
|
|
83
84
|
}
|
|
84
|
-
const k = d(
|
|
85
|
-
function
|
|
86
|
-
const l =
|
|
87
|
-
userConfig:
|
|
88
|
-
defaultConfig:
|
|
85
|
+
const k = d(vt()), Ee = d(null), ae = d(!1), se = d(""), S = d(null), ke = d(0);
|
|
86
|
+
function _e() {
|
|
87
|
+
const l = He({
|
|
88
|
+
userConfig: N.config,
|
|
89
|
+
defaultConfig: Ue
|
|
89
90
|
});
|
|
90
91
|
return l.theme ? {
|
|
91
|
-
...
|
|
92
|
-
userConfig:
|
|
92
|
+
...He({
|
|
93
|
+
userConfig: gt.vue_ui_donut[l.theme] || N.config,
|
|
93
94
|
defaultConfig: l
|
|
94
95
|
}),
|
|
95
|
-
customPalette:
|
|
96
|
+
customPalette: bt[l.theme] || j
|
|
96
97
|
} : l;
|
|
97
98
|
}
|
|
98
99
|
const e = _({
|
|
99
|
-
get: () =>
|
|
100
|
+
get: () => _e(),
|
|
100
101
|
set: (l) => l
|
|
101
102
|
});
|
|
102
|
-
|
|
103
|
-
e.value =
|
|
103
|
+
Be(() => N.config, (l) => {
|
|
104
|
+
e.value = _e(), we(), ge.value += 1, be.value += 1, me.value += 1;
|
|
104
105
|
}, { deep: !0 });
|
|
105
|
-
const { isPrinting:
|
|
106
|
+
const { isPrinting: xe, isImaging: Ce, generatePdf: $e, generateImage: Pe } = $t({
|
|
106
107
|
elementId: `donut__${k.value}`,
|
|
107
108
|
fileName: e.value.style.chart.title.text || "vue-ui-donut"
|
|
108
|
-
}),
|
|
109
|
+
}), We = _(() => e.value.userOptions.show && !e.value.style.chart.title.text), Se = _(() => ct(e.value.customPalette)), y = d({
|
|
109
110
|
dataLabels: {
|
|
110
111
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
111
112
|
},
|
|
@@ -117,54 +118,54 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
117
118
|
}), J = _(() => {
|
|
118
119
|
const l = e.value.style.chart.layout.donut.strokeWidth / 512, r = u.value.width * l, t = r > C.value ? C.value : r;
|
|
119
120
|
return t < 24 ? 24 : t;
|
|
120
|
-
}), M = _(() =>
|
|
121
|
+
}), M = _(() => N.dataset.map((l, r) => ({
|
|
121
122
|
name: l.name,
|
|
122
|
-
color:
|
|
123
|
+
color: je(l.color) || Se.value[r] || j[r] || j[r % j.length],
|
|
123
124
|
value: l.values.reduce((t, a) => t + a, 0),
|
|
124
125
|
absoluteValues: l.values,
|
|
125
126
|
comment: l.comment || ""
|
|
126
127
|
}))), T = d(M.value);
|
|
127
|
-
|
|
128
|
-
function
|
|
128
|
+
Be(() => M.value, (l) => T.value = l);
|
|
129
|
+
function qe() {
|
|
129
130
|
return M.value.map((l) => ({
|
|
130
131
|
name: l.name,
|
|
131
132
|
color: l.color,
|
|
132
133
|
value: l.value
|
|
133
134
|
}));
|
|
134
135
|
}
|
|
135
|
-
const
|
|
136
|
-
function
|
|
137
|
-
const r = M.value.find((
|
|
138
|
-
let a = T.value.find((
|
|
139
|
-
if (
|
|
136
|
+
const O = d([]), Le = d(null), Fe = d(null), G = d(!1);
|
|
137
|
+
function Te(l) {
|
|
138
|
+
const r = M.value.find((v, g) => g === l);
|
|
139
|
+
let a = T.value.find((v, g) => g === l).value;
|
|
140
|
+
if (O.value.includes(l)) {
|
|
140
141
|
let g = function() {
|
|
141
|
-
a >
|
|
142
|
+
a > v ? (cancelAnimationFrame(Le.value), T.value = T.value.map((p, ve) => l === ve ? {
|
|
142
143
|
...p,
|
|
143
|
-
value:
|
|
144
|
-
} : p), G.value = !1) : (G.value = !0, a +=
|
|
144
|
+
value: v
|
|
145
|
+
} : p), G.value = !1) : (G.value = !0, a += v * 0.025, T.value = T.value.map((p, ve) => l === ve ? {
|
|
145
146
|
...p,
|
|
146
147
|
value: a
|
|
147
|
-
} : p),
|
|
148
|
+
} : p), Le.value = requestAnimationFrame(g));
|
|
148
149
|
};
|
|
149
|
-
|
|
150
|
-
const
|
|
150
|
+
O.value = O.value.filter((p) => p !== l);
|
|
151
|
+
const v = r.value;
|
|
151
152
|
g();
|
|
152
|
-
} else if (
|
|
153
|
-
let
|
|
154
|
-
a < 0.1 ? (cancelAnimationFrame(
|
|
153
|
+
} else if (O.value.length < M.value.length - 1) {
|
|
154
|
+
let v = function() {
|
|
155
|
+
a < 0.1 ? (cancelAnimationFrame(Fe.value), O.value.push(l), T.value = T.value.map((g, p) => l === p ? {
|
|
155
156
|
...g,
|
|
156
157
|
value: 0
|
|
157
158
|
} : g), G.value = !1) : (G.value = !0, a /= 1.1, T.value = T.value.map((g, p) => l === p ? {
|
|
158
159
|
...g,
|
|
159
160
|
value: a
|
|
160
|
-
} : g),
|
|
161
|
+
} : g), Fe.value = requestAnimationFrame(v));
|
|
161
162
|
};
|
|
162
|
-
|
|
163
|
+
v();
|
|
163
164
|
}
|
|
164
|
-
de("selectLegend", I.value.map((
|
|
165
|
-
name:
|
|
166
|
-
color:
|
|
167
|
-
value:
|
|
165
|
+
de("selectLegend", I.value.map((v) => ({
|
|
166
|
+
name: v.name,
|
|
167
|
+
color: v.color,
|
|
168
|
+
value: v.value
|
|
168
169
|
})));
|
|
169
170
|
}
|
|
170
171
|
const I = _(() => (T.value.forEach((l, r) => {
|
|
@@ -176,18 +177,18 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
176
177
|
}), T.value.map((l, r) => ({
|
|
177
178
|
...l,
|
|
178
179
|
seriesIndex: r
|
|
179
|
-
})).filter((l, r) => !
|
|
180
|
+
})).filter((l, r) => !O.value.includes(r)))), ze = _(() => N.dataset.map((l, r) => ({
|
|
180
181
|
name: l.name,
|
|
181
|
-
color:
|
|
182
|
+
color: je(l.color) || Se.value[r] || j[r] || j[r % j.length],
|
|
182
183
|
value: (l.values || []).reduce((t, a) => t + a, 0),
|
|
183
184
|
shape: "circle"
|
|
184
185
|
})).map((l, r) => ({
|
|
185
186
|
...l,
|
|
186
|
-
proportion: l.value /
|
|
187
|
-
opacity:
|
|
188
|
-
segregate: () =>
|
|
189
|
-
isSegregated:
|
|
190
|
-
}))),
|
|
187
|
+
proportion: l.value / N.dataset.map((t) => (t.values || []).reduce((a, v) => a + v, 0)).reduce((t, a) => t + a, 0),
|
|
188
|
+
opacity: O.value.includes(r) ? 0.5 : 1,
|
|
189
|
+
segregate: () => Te(r),
|
|
190
|
+
isSegregated: O.value.includes(r)
|
|
191
|
+
}))), Je = _(() => ({
|
|
191
192
|
cy: "donut-div-legend",
|
|
192
193
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
193
194
|
color: e.value.style.chart.legend.color,
|
|
@@ -197,9 +198,9 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
197
198
|
})), C = _(() => {
|
|
198
199
|
const l = Math.min(u.value.width / 3, u.value.height / 3);
|
|
199
200
|
return l < 55 ? 55 : l;
|
|
200
|
-
}), f = _(() =>
|
|
201
|
+
}), f = _(() => dt({ series: I.value }, u.value.width / 2, u.value.height / 2, C.value, C.value, 1.99999, 2, 1, 360, 105.25, J.value)), c = _(() => {
|
|
201
202
|
const l = Math.max(...I.value.map((t) => t.value)), r = I.value.map((t) => t.value / l);
|
|
202
|
-
return
|
|
203
|
+
return ht({
|
|
203
204
|
series: r,
|
|
204
205
|
center: {
|
|
205
206
|
x: u.value.width / 2,
|
|
@@ -211,14 +212,14 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
211
212
|
function R(l) {
|
|
212
213
|
return l.x > u.value.width / 2 + 6 ? "start" : l.x < u.value.width / 2 - 6 ? "end" : "middle";
|
|
213
214
|
}
|
|
214
|
-
function
|
|
215
|
+
function Ke(l) {
|
|
215
216
|
return l.middlePoint.y > u.value.height / 2 ? F({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 100, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y : F({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 0, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y - 100;
|
|
216
217
|
}
|
|
217
218
|
function z(l) {
|
|
218
219
|
return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
|
|
219
220
|
}
|
|
220
221
|
function ne(l, r) {
|
|
221
|
-
const t = l.value /
|
|
222
|
+
const t = l.value / Qe(r);
|
|
222
223
|
return isNaN(t) ? 0 : A(
|
|
223
224
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
224
225
|
t * 100,
|
|
@@ -230,15 +231,15 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
230
231
|
{ datapoint: l }
|
|
231
232
|
);
|
|
232
233
|
}
|
|
233
|
-
function
|
|
234
|
+
function Qe(l) {
|
|
234
235
|
return [...l].map((r) => r.value).reduce((r, t) => r + t, 0);
|
|
235
236
|
}
|
|
236
|
-
const $ = _(() => I.value.map((l) => l.value).reduce((l, r) => l + r, 0)),
|
|
237
|
-
function
|
|
237
|
+
const $ = _(() => I.value.map((l) => l.value).reduce((l, r) => l + r, 0)), Ye = _(() => $.value / I.value.length), re = d(null), K = d(!1);
|
|
238
|
+
function Ae({ datapoint: l, relativeIndex: r, seriesIndex: t, show: a = !1 }) {
|
|
238
239
|
re.value = { datapoint: l, seriesIndex: t, config: e.value, series: M.value }, ae.value = a, S.value = r;
|
|
239
|
-
let
|
|
240
|
+
let v = "";
|
|
240
241
|
const g = e.value.style.chart.tooltip.customFormat;
|
|
241
|
-
if (K.value = !1,
|
|
242
|
+
if (K.value = !1, mt(g))
|
|
242
243
|
try {
|
|
243
244
|
const p = g({
|
|
244
245
|
seriesIndex: t,
|
|
@@ -251,7 +252,7 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
251
252
|
console.warn("Custom format cannot be applied."), K.value = !1;
|
|
252
253
|
}
|
|
253
254
|
if (!K.value) {
|
|
254
|
-
if (
|
|
255
|
+
if (v += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, v += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${l.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (v += `<b>${A(
|
|
255
256
|
e.value.style.chart.layout.labels.value.formatter,
|
|
256
257
|
l.value,
|
|
257
258
|
L({
|
|
@@ -280,9 +281,9 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
280
281
|
seriesIndex: t
|
|
281
282
|
}
|
|
282
283
|
);
|
|
283
|
-
e.value.style.chart.tooltip.showValue ?
|
|
284
|
+
e.value.style.chart.tooltip.showValue ? v += `<span>(${p})</span></div>` : v += `<b>${p}</b></div>`;
|
|
284
285
|
}
|
|
285
|
-
e.value.style.chart.comments.showInTooltip && l.comment && (
|
|
286
|
+
e.value.style.chart.comments.showInTooltip && l.comment && (v += `<div class="vue-data-ui-tooltip-comment" style="background:${l.color}20; padding: 6px; margin-bottom: 6px; margin-top:6px; border-left: 1px solid ${l.color}">${l.comment}</div>`), se.value = `<div>${v}</div>`;
|
|
286
287
|
}
|
|
287
288
|
}
|
|
288
289
|
function Q(l) {
|
|
@@ -295,12 +296,12 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
295
296
|
})), r = I.value.map((t) => t.value);
|
|
296
297
|
return { head: l, body: r };
|
|
297
298
|
});
|
|
298
|
-
function
|
|
299
|
-
|
|
300
|
-
const l = D.value.head.map((a,
|
|
299
|
+
function Ne() {
|
|
300
|
+
ot(() => {
|
|
301
|
+
const l = D.value.head.map((a, v) => [[
|
|
301
302
|
a.name
|
|
302
|
-
], [D.value.body[
|
|
303
|
-
|
|
303
|
+
], [D.value.body[v]], [isNaN(D.value.body[v] / $.value) ? "-" : D.value.body[v] / $.value * 100]]), r = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t = wt(r);
|
|
304
|
+
kt({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
|
|
304
305
|
});
|
|
305
306
|
}
|
|
306
307
|
const oe = _(() => {
|
|
@@ -308,12 +309,12 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
308
309
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
309
310
|
L({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: $.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
310
311
|
"100%"
|
|
311
|
-
], r = D.value.head.map((
|
|
312
|
+
], r = D.value.head.map((v, g) => {
|
|
312
313
|
const p = L({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: D.value.body[g], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
313
314
|
return [
|
|
314
315
|
{
|
|
315
|
-
color:
|
|
316
|
-
name:
|
|
316
|
+
color: v.color,
|
|
317
|
+
name: v.name
|
|
317
318
|
},
|
|
318
319
|
p,
|
|
319
320
|
isNaN(D.value.body[g] / $.value) ? "-" : (D.value.body[g] / $.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
|
|
@@ -342,62 +343,69 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
342
343
|
config: t
|
|
343
344
|
};
|
|
344
345
|
}), Z = d(!1);
|
|
345
|
-
function
|
|
346
|
-
Z.value = l,
|
|
346
|
+
function Ze(l) {
|
|
347
|
+
Z.value = l, ke.value += 1;
|
|
347
348
|
}
|
|
348
|
-
const
|
|
349
|
-
function
|
|
349
|
+
const Oe = _(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
|
|
350
|
+
function et(l) {
|
|
350
351
|
return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((r) => "-").join("");
|
|
351
352
|
}
|
|
352
353
|
function B(l, r) {
|
|
353
354
|
de("selectDatapoint", { datapoint: l, index: r });
|
|
354
355
|
}
|
|
355
|
-
function
|
|
356
|
+
function Xe() {
|
|
356
357
|
y.value.showTable = !y.value.showTable;
|
|
357
358
|
}
|
|
358
|
-
function
|
|
359
|
+
function Ie() {
|
|
359
360
|
y.value.dataLabels.show = !y.value.dataLabels.show;
|
|
360
361
|
}
|
|
361
|
-
function
|
|
362
|
+
function De() {
|
|
362
363
|
y.value.showTooltip = !y.value.showTooltip;
|
|
363
364
|
}
|
|
364
365
|
const ue = d(!1);
|
|
365
366
|
function ie() {
|
|
366
367
|
ue.value = !ue.value;
|
|
367
368
|
}
|
|
368
|
-
return
|
|
369
|
-
getData:
|
|
370
|
-
generatePdf:
|
|
371
|
-
generateCsv:
|
|
372
|
-
generateImage:
|
|
373
|
-
toggleTable:
|
|
374
|
-
toggleLabels:
|
|
375
|
-
toggleTooltip:
|
|
369
|
+
return Re({
|
|
370
|
+
getData: qe,
|
|
371
|
+
generatePdf: $e,
|
|
372
|
+
generateCsv: Ne,
|
|
373
|
+
generateImage: Pe,
|
|
374
|
+
toggleTable: Xe,
|
|
375
|
+
toggleLabels: Ie,
|
|
376
|
+
toggleTooltip: De,
|
|
376
377
|
toggleAnnotator: ie
|
|
377
|
-
}), (l, r) => (o(),
|
|
378
|
+
}), (l, r) => (o(), s("div", {
|
|
378
379
|
ref_key: "donutChart",
|
|
379
380
|
ref: H,
|
|
380
381
|
class: ce(`vue-ui-donut ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
381
|
-
style: Y(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center
|
|
382
|
+
style: Y(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
382
383
|
id: `donut__${k.value}`
|
|
383
384
|
}, [
|
|
384
|
-
e.value.userOptions.buttons.annotator ? (o(), V(
|
|
385
|
+
e.value.userOptions.buttons.annotator ? (o(), V(At, {
|
|
385
386
|
key: 0,
|
|
386
387
|
parent: H.value,
|
|
387
388
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
388
389
|
color: e.value.style.chart.color,
|
|
389
390
|
active: ue.value,
|
|
390
391
|
onClose: ie
|
|
391
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
392
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : i("", !0),
|
|
392
393
|
m(l.$slots, "userConfig", {}, void 0, !0),
|
|
393
|
-
|
|
394
|
+
We.value ? (o(), s("div", {
|
|
394
395
|
key: 1,
|
|
396
|
+
ref_key: "noTitle",
|
|
397
|
+
ref: pe,
|
|
398
|
+
class: "vue-data-ui-no-title-space",
|
|
399
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
400
|
+
}, null, 512)) : i("", !0),
|
|
401
|
+
e.value.style.chart.title.text ? (o(), s("div", {
|
|
402
|
+
key: 2,
|
|
395
403
|
ref_key: "chartTitle",
|
|
396
404
|
ref: he,
|
|
397
405
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
398
406
|
}, [
|
|
399
|
-
(o(), V(
|
|
400
|
-
key: `title_${
|
|
407
|
+
(o(), V(Ct, {
|
|
408
|
+
key: `title_${ge.value}`,
|
|
401
409
|
config: {
|
|
402
410
|
title: {
|
|
403
411
|
cy: "donut-div-title",
|
|
@@ -409,15 +417,15 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
409
417
|
}
|
|
410
418
|
}
|
|
411
419
|
}, null, 8, ["config"]))
|
|
412
|
-
], 512)) :
|
|
413
|
-
e.value.userOptions.show && q.value ? (o(), V(
|
|
420
|
+
], 512)) : i("", !0),
|
|
421
|
+
e.value.userOptions.show && q.value ? (o(), V(Pt, {
|
|
414
422
|
ref_key: "details",
|
|
415
|
-
ref:
|
|
416
|
-
key: `user_option_${
|
|
423
|
+
ref: Ee,
|
|
424
|
+
key: `user_option_${ke.value}`,
|
|
417
425
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
418
426
|
color: e.value.style.chart.color,
|
|
419
|
-
isPrinting:
|
|
420
|
-
isImaging:
|
|
427
|
+
isPrinting: n(xe),
|
|
428
|
+
isImaging: n(Ce),
|
|
421
429
|
uid: k.value,
|
|
422
430
|
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
423
431
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -433,15 +441,15 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
433
441
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
434
442
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
435
443
|
isAnnotation: ue.value,
|
|
436
|
-
onToggleFullscreen:
|
|
437
|
-
onGeneratePdf:
|
|
438
|
-
onGenerateCsv:
|
|
439
|
-
onGenerateImage:
|
|
440
|
-
onToggleTable:
|
|
441
|
-
onToggleLabels:
|
|
442
|
-
onToggleTooltip:
|
|
444
|
+
onToggleFullscreen: Ze,
|
|
445
|
+
onGeneratePdf: n($e),
|
|
446
|
+
onGenerateCsv: Ne,
|
|
447
|
+
onGenerateImage: n(Pe),
|
|
448
|
+
onToggleTable: Xe,
|
|
449
|
+
onToggleLabels: Ie,
|
|
450
|
+
onToggleTooltip: De,
|
|
443
451
|
onToggleAnnotator: ie
|
|
444
|
-
},
|
|
452
|
+
}, at({ _: 2 }, [
|
|
445
453
|
l.$slots.optionTooltip ? {
|
|
446
454
|
name: "optionTooltip",
|
|
447
455
|
fn: P(() => [
|
|
@@ -498,43 +506,43 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
498
506
|
]),
|
|
499
507
|
key: "7"
|
|
500
508
|
} : void 0
|
|
501
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) :
|
|
502
|
-
q.value ? (o(),
|
|
503
|
-
key:
|
|
504
|
-
xmlns:
|
|
509
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : i("", !0),
|
|
510
|
+
q.value ? (o(), s("svg", {
|
|
511
|
+
key: 4,
|
|
512
|
+
xmlns: n(yt),
|
|
505
513
|
class: ce({ "vue-data-ui-fullscreen--on": Z.value, "vue-data-ui-fulscreen--off": !Z.value }),
|
|
506
514
|
viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
|
|
507
515
|
style: Y(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
508
516
|
}, [
|
|
509
|
-
|
|
510
|
-
e.value.type === "classic" ? (o(),
|
|
511
|
-
e.value.style.chart.useGradient ? (o(),
|
|
517
|
+
Me(Yt),
|
|
518
|
+
e.value.type === "classic" ? (o(), s("defs", Dt, [
|
|
519
|
+
e.value.style.chart.useGradient ? (o(), s("radialGradient", {
|
|
512
520
|
key: 0,
|
|
513
521
|
id: `gradient_${k.value}`
|
|
514
522
|
}, [
|
|
515
523
|
h("stop", {
|
|
516
524
|
offset: "0%",
|
|
517
|
-
"stop-color":
|
|
525
|
+
"stop-color": n(ee)(e.value.style.chart.backgroundColor, 0),
|
|
518
526
|
"stop-opacity": "0"
|
|
519
|
-
}, null, 8,
|
|
527
|
+
}, null, 8, Mt),
|
|
520
528
|
h("stop", {
|
|
521
529
|
offset: `${(1 - J.value / C.value) * 100}%`,
|
|
522
|
-
"stop-color":
|
|
530
|
+
"stop-color": n(ee)("#FFFFFF", 0),
|
|
523
531
|
"stop-opacity": "0"
|
|
524
|
-
}, null, 8,
|
|
532
|
+
}, null, 8, Gt),
|
|
525
533
|
h("stop", {
|
|
526
534
|
offset: `${(1 - J.value / C.value / 2) * 100}%`,
|
|
527
|
-
"stop-color":
|
|
528
|
-
}, null, 8,
|
|
535
|
+
"stop-color": n(ee)("#FFFFFF", e.value.style.chart.gradientIntensity)
|
|
536
|
+
}, null, 8, Vt),
|
|
529
537
|
h("stop", {
|
|
530
538
|
offset: "100%",
|
|
531
|
-
"stop-color":
|
|
539
|
+
"stop-color": n(ee)(e.value.style.chart.backgroundColor, 0),
|
|
532
540
|
"stop-opacity": "0"
|
|
533
|
-
}, null, 8,
|
|
534
|
-
], 8,
|
|
535
|
-
])) :
|
|
536
|
-
e.value.type === "polar" ? (o(),
|
|
537
|
-
(o(!0),
|
|
541
|
+
}, null, 8, jt)
|
|
542
|
+
], 8, Bt)) : i("", !0)
|
|
543
|
+
])) : i("", !0),
|
|
544
|
+
e.value.type === "polar" ? (o(), s("defs", Ht, [
|
|
545
|
+
(o(!0), s(w, null, X(c.value, (t, a) => (o(), s("radialGradient", {
|
|
538
546
|
id: `polar_gradient_${a}_${k.value}`,
|
|
539
547
|
cx: t.middlePoint.x / u.value.width * 100 + "%",
|
|
540
548
|
cy: t.middlePoint.y / u.value.height * 100 + "%",
|
|
@@ -542,15 +550,15 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
542
550
|
}, [
|
|
543
551
|
h("stop", {
|
|
544
552
|
offset: "0%",
|
|
545
|
-
"stop-color":
|
|
553
|
+
"stop-color": n(ft)(f.value[a].color, 0.05),
|
|
546
554
|
"stop-opacity": e.value.style.chart.gradientIntensity / 100
|
|
547
|
-
}, null, 8,
|
|
555
|
+
}, null, 8, Ut),
|
|
548
556
|
h("stop", {
|
|
549
557
|
offset: "100%",
|
|
550
558
|
"stop-color": f.value[a].color
|
|
551
|
-
}, null, 8,
|
|
552
|
-
], 8,
|
|
553
|
-
])) :
|
|
559
|
+
}, null, 8, Et)
|
|
560
|
+
], 8, Rt))), 256))
|
|
561
|
+
])) : i("", !0),
|
|
554
562
|
h("defs", null, [
|
|
555
563
|
h("filter", {
|
|
556
564
|
id: `blur_${k.value}`,
|
|
@@ -563,9 +571,9 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
563
571
|
in: "SourceGraphic",
|
|
564
572
|
stdDeviation: 2,
|
|
565
573
|
id: `blur_std_${k.value}`
|
|
566
|
-
}, null, 8,
|
|
567
|
-
|
|
568
|
-
], 8,
|
|
574
|
+
}, null, 8, qt),
|
|
575
|
+
Jt
|
|
576
|
+
], 8, Wt),
|
|
569
577
|
h("filter", {
|
|
570
578
|
id: `shadow_${k.value}`,
|
|
571
579
|
"color-interpolation-filters": "sRGB"
|
|
@@ -576,8 +584,8 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
576
584
|
stdDeviation: "10",
|
|
577
585
|
"flood-opacity": "0.5",
|
|
578
586
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
579
|
-
}, null, 8,
|
|
580
|
-
], 8,
|
|
587
|
+
}, null, 8, Qt)
|
|
588
|
+
], 8, Kt),
|
|
581
589
|
h("filter", {
|
|
582
590
|
id: `drop_shadow_${k.value}`,
|
|
583
591
|
"color-interpolation-filters": "sRGB",
|
|
@@ -592,26 +600,26 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
592
600
|
stdDeviation: "3",
|
|
593
601
|
"flood-opacity": "1",
|
|
594
602
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
595
|
-
}, null, 8,
|
|
596
|
-
], 8,
|
|
603
|
+
}, null, 8, el)
|
|
604
|
+
], 8, Zt)
|
|
597
605
|
]),
|
|
598
|
-
e.value.type === "classic" ? (o(!0),
|
|
599
|
-
z(t) && y.value.dataLabels.show ? (o(),
|
|
606
|
+
e.value.type === "classic" ? (o(!0), s(w, { key: 2 }, X(f.value, (t, a) => (o(), s("g", null, [
|
|
607
|
+
z(t) && y.value.dataLabels.show ? (o(), s("path", {
|
|
600
608
|
key: 0,
|
|
601
|
-
d:
|
|
609
|
+
d: n(pt)(t, { x: u.value.width / 2, y: u.value.height / 2 }, 16, 16, !1, !1, J.value),
|
|
602
610
|
stroke: t.color,
|
|
603
611
|
"stroke-width": "1",
|
|
604
612
|
"stroke-linecap": "round",
|
|
605
613
|
"stroke-linejoin": "round",
|
|
606
614
|
fill: "none",
|
|
607
615
|
filter: Q(a)
|
|
608
|
-
}, null, 8,
|
|
609
|
-
]))), 256)) :
|
|
610
|
-
e.value.type === "polar" ? (o(!0),
|
|
611
|
-
z(t) && y.value.dataLabels.show ? (o(),
|
|
616
|
+
}, null, 8, tl)) : i("", !0)
|
|
617
|
+
]))), 256)) : i("", !0),
|
|
618
|
+
e.value.type === "polar" ? (o(!0), s(w, { key: 3 }, X(f.value, (t, a) => (o(), s("g", null, [
|
|
619
|
+
z(t) && y.value.dataLabels.show ? (o(), s("line", {
|
|
612
620
|
key: 0,
|
|
613
|
-
x1:
|
|
614
|
-
y1:
|
|
621
|
+
x1: n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
|
|
622
|
+
y1: n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y,
|
|
615
623
|
x2: c.value[a].middlePoint.x,
|
|
616
624
|
y2: c.value[a].middlePoint.y,
|
|
617
625
|
stroke: t.color,
|
|
@@ -620,57 +628,57 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
620
628
|
"stroke-linejoin": "round",
|
|
621
629
|
fill: "none",
|
|
622
630
|
filter: Q(a)
|
|
623
|
-
}, null, 8,
|
|
624
|
-
]))), 256)) :
|
|
625
|
-
e.value.type === "classic" ? (o(),
|
|
631
|
+
}, null, 8, ll)) : i("", !0)
|
|
632
|
+
]))), 256)) : i("", !0),
|
|
633
|
+
e.value.type === "classic" ? (o(), s("circle", {
|
|
626
634
|
key: 4,
|
|
627
635
|
cx: u.value.width / 2,
|
|
628
636
|
cy: u.value.height / 2,
|
|
629
637
|
r: C.value <= 0 ? 10 : C.value,
|
|
630
638
|
fill: e.value.style.chart.backgroundColor,
|
|
631
639
|
filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${k.value})` : ""
|
|
632
|
-
}, null, 8,
|
|
633
|
-
$.value && e.value.type === "classic" ? (o(),
|
|
634
|
-
(o(!0),
|
|
640
|
+
}, null, 8, al)) : i("", !0),
|
|
641
|
+
$.value && e.value.type === "classic" ? (o(), s(w, { key: 5 }, [
|
|
642
|
+
(o(!0), s(w, null, X(f.value, (t, a) => (o(), s("path", {
|
|
635
643
|
stroke: e.value.style.chart.backgroundColor,
|
|
636
644
|
d: t.arcSlice,
|
|
637
645
|
fill: "#FFFFFF"
|
|
638
|
-
}, null, 8,
|
|
639
|
-
(o(!0),
|
|
646
|
+
}, null, 8, ol))), 256)),
|
|
647
|
+
(o(!0), s(w, null, X(f.value, (t, a) => (o(), s("path", {
|
|
640
648
|
class: "vue-ui-donut-arc-path",
|
|
641
649
|
d: t.arcSlice,
|
|
642
|
-
fill:
|
|
650
|
+
fill: n(ee)(t.color, 80),
|
|
643
651
|
stroke: e.value.style.chart.backgroundColor,
|
|
644
652
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
645
653
|
filter: Q(a)
|
|
646
|
-
}, null, 8,
|
|
647
|
-
], 64)) :
|
|
648
|
-
$.value && e.value.type === "polar" ? (o(),
|
|
649
|
-
f.value.length > 1 ? (o(),
|
|
650
|
-
(o(!0),
|
|
654
|
+
}, null, 8, ul))), 256))
|
|
655
|
+
], 64)) : i("", !0),
|
|
656
|
+
$.value && e.value.type === "polar" ? (o(), s(w, { key: 6 }, [
|
|
657
|
+
f.value.length > 1 ? (o(), s("g", sl, [
|
|
658
|
+
(o(!0), s(w, null, X(f.value, (t, a) => (o(), s("path", {
|
|
651
659
|
stroke: e.value.style.chart.backgroundColor,
|
|
652
660
|
d: c.value[a].path,
|
|
653
661
|
fill: "#FFFFFF"
|
|
654
|
-
}, null, 8,
|
|
655
|
-
e.value.style.chart.layout.donut.useShadow ? (o(),
|
|
656
|
-
(o(!0),
|
|
662
|
+
}, null, 8, nl))), 256)),
|
|
663
|
+
e.value.style.chart.layout.donut.useShadow ? (o(), s("g", rl, [
|
|
664
|
+
(o(!0), s(w, null, X(f.value, (t, a) => (o(), s("path", {
|
|
657
665
|
class: "vue-ui-donut-arc-path",
|
|
658
666
|
d: c.value[a].path,
|
|
659
667
|
fill: "transparent",
|
|
660
668
|
stroke: e.value.style.chart.backgroundColor,
|
|
661
669
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
662
670
|
filter: `url(#drop_shadow_${k.value})`
|
|
663
|
-
}, null, 8,
|
|
664
|
-
])) :
|
|
665
|
-
(o(!0),
|
|
671
|
+
}, null, 8, il))), 256))
|
|
672
|
+
])) : i("", !0),
|
|
673
|
+
(o(!0), s(w, null, X(f.value, (t, a) => (o(), s("path", {
|
|
666
674
|
class: "vue-ui-donut-arc-path",
|
|
667
675
|
d: c.value[a].path,
|
|
668
676
|
fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${k.value})` : t.color,
|
|
669
677
|
stroke: e.value.style.chart.backgroundColor,
|
|
670
678
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
671
679
|
filter: Q(a)
|
|
672
|
-
}, null, 8,
|
|
673
|
-
])) : (o(),
|
|
680
|
+
}, null, 8, vl))), 256))
|
|
681
|
+
])) : (o(), s("g", cl, [
|
|
674
682
|
h("circle", {
|
|
675
683
|
cx: u.value.width / 2,
|
|
676
684
|
cy: u.value.height / 2,
|
|
@@ -678,17 +686,17 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
678
686
|
fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${k.value})` : f.value[0].color,
|
|
679
687
|
stroke: e.value.style.chart.backgroundColor,
|
|
680
688
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth
|
|
681
|
-
}, null, 8,
|
|
689
|
+
}, null, 8, dl)
|
|
682
690
|
]))
|
|
683
|
-
], 64)) : (o(),
|
|
691
|
+
], 64)) : (o(), s("circle", {
|
|
684
692
|
key: 7,
|
|
685
693
|
cx: u.value.width / 2,
|
|
686
694
|
cy: u.value.height / 2,
|
|
687
695
|
r: C.value <= 0 ? 10 : C.value,
|
|
688
696
|
fill: "transparent",
|
|
689
697
|
stroke: e.value.style.chart.backgroundColor
|
|
690
|
-
}, null, 8,
|
|
691
|
-
e.value.style.chart.useGradient && e.value.type === "classic" ? (o(),
|
|
698
|
+
}, null, 8, hl)),
|
|
699
|
+
e.value.style.chart.useGradient && e.value.type === "classic" ? (o(), s("circle", {
|
|
692
700
|
key: 8,
|
|
693
701
|
cx: u.value.width / 2,
|
|
694
702
|
cy: u.value.height / 2,
|
|
@@ -697,32 +705,32 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
697
705
|
C.value <= 0 ? 10 : C.value
|
|
698
706
|
),
|
|
699
707
|
fill: `url(#gradient_${k.value})`
|
|
700
|
-
}, null, 8,
|
|
701
|
-
$.value ? (o(),
|
|
702
|
-
f.value.length > 1 || e.value.type === "classic" ? (o(),
|
|
703
|
-
(o(!0),
|
|
708
|
+
}, null, 8, yl)) : i("", !0),
|
|
709
|
+
$.value ? (o(), s(w, { key: 9 }, [
|
|
710
|
+
f.value.length > 1 || e.value.type === "classic" ? (o(), s("g", fl, [
|
|
711
|
+
(o(!0), s(w, null, X(f.value, (t, a) => (o(), s("path", {
|
|
704
712
|
"data-cy-donut-trap": "",
|
|
705
713
|
d: e.value.type === "classic" ? t.arcSlice : c.value[a].path,
|
|
706
714
|
fill: S.value === a ? "rgba(0,0,0,0.1)" : "transparent",
|
|
707
|
-
onMouseenter: (
|
|
715
|
+
onMouseenter: (v) => Ae({
|
|
708
716
|
datapoint: t,
|
|
709
717
|
relativeIndex: a,
|
|
710
718
|
seriesIndex: t.seriesIndex,
|
|
711
719
|
show: !0
|
|
712
720
|
}),
|
|
713
|
-
onMouseleave: r[0] || (r[0] = (
|
|
721
|
+
onMouseleave: r[0] || (r[0] = (v) => {
|
|
714
722
|
ae.value = !1, S.value = null;
|
|
715
723
|
}),
|
|
716
|
-
onClick: (
|
|
717
|
-
}, null, 40,
|
|
718
|
-
])) : (o(),
|
|
724
|
+
onClick: (v) => B(t, a)
|
|
725
|
+
}, null, 40, pl))), 256))
|
|
726
|
+
])) : (o(), s("g", gl, [
|
|
719
727
|
h("circle", {
|
|
720
728
|
cx: u.value.width / 2,
|
|
721
729
|
cy: u.value.height / 2,
|
|
722
730
|
r: C.value,
|
|
723
731
|
fill: S.value === l.i ? "rgba(0,0,0,0.1)" : "transparent",
|
|
724
732
|
"data-cy-donut-trap": "",
|
|
725
|
-
onMouseenter: r[1] || (r[1] = (t) =>
|
|
733
|
+
onMouseenter: r[1] || (r[1] = (t) => Ae({
|
|
726
734
|
datapoint: f.value[0],
|
|
727
735
|
relativeIndex: 0,
|
|
728
736
|
seriesIndex: f.value[0].seriesIndex,
|
|
@@ -732,11 +740,11 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
732
740
|
ae.value = !1, S.value = null;
|
|
733
741
|
}),
|
|
734
742
|
onClick: r[3] || (r[3] = (t) => B(f.value[0], l.i))
|
|
735
|
-
}, null, 40,
|
|
743
|
+
}, null, 40, bl)
|
|
736
744
|
]))
|
|
737
|
-
], 64)) :
|
|
738
|
-
e.value.type === "classic" ? (o(),
|
|
739
|
-
e.value.style.chart.layout.labels.hollow.total.show ? (o(),
|
|
745
|
+
], 64)) : i("", !0),
|
|
746
|
+
e.value.type === "classic" ? (o(), s(w, { key: 10 }, [
|
|
747
|
+
e.value.style.chart.layout.labels.hollow.total.show ? (o(), s("text", {
|
|
740
748
|
key: 0,
|
|
741
749
|
"text-anchor": "middle",
|
|
742
750
|
x: u.value.width / 2,
|
|
@@ -744,8 +752,8 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
744
752
|
fill: e.value.style.chart.layout.labels.hollow.total.color,
|
|
745
753
|
"font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
|
|
746
754
|
style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
|
|
747
|
-
}, x(e.value.style.chart.layout.labels.hollow.total.text), 13,
|
|
748
|
-
e.value.style.chart.layout.labels.hollow.total.show ? (o(),
|
|
755
|
+
}, x(e.value.style.chart.layout.labels.hollow.total.text), 13, ml)) : i("", !0),
|
|
756
|
+
e.value.style.chart.layout.labels.hollow.total.show ? (o(), s("text", {
|
|
749
757
|
key: 1,
|
|
750
758
|
"text-anchor": "middle",
|
|
751
759
|
x: u.value.width / 2,
|
|
@@ -753,16 +761,16 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
753
761
|
fill: e.value.style.chart.layout.labels.hollow.total.value.color,
|
|
754
762
|
"font-size": e.value.style.chart.layout.labels.hollow.total.value.fontSize,
|
|
755
763
|
style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
|
|
756
|
-
}, x(
|
|
764
|
+
}, x(n(A)(
|
|
757
765
|
e.value.style.chart.layout.labels.hollow.total.value.formatter,
|
|
758
766
|
$.value,
|
|
759
|
-
|
|
767
|
+
n(L)({
|
|
760
768
|
p: e.value.style.chart.layout.labels.hollow.total.value.prefix,
|
|
761
769
|
v: $.value,
|
|
762
770
|
s: e.value.style.chart.layout.labels.hollow.total.value.suffix
|
|
763
771
|
})
|
|
764
|
-
)), 13,
|
|
765
|
-
e.value.style.chart.layout.labels.hollow.average.show ? (o(),
|
|
772
|
+
)), 13, wl)) : i("", !0),
|
|
773
|
+
e.value.style.chart.layout.labels.hollow.average.show ? (o(), s("text", {
|
|
766
774
|
key: 2,
|
|
767
775
|
"text-anchor": "middle",
|
|
768
776
|
x: u.value.width / 2,
|
|
@@ -770,8 +778,8 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
770
778
|
fill: e.value.style.chart.layout.labels.hollow.average.color,
|
|
771
779
|
"font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
|
|
772
780
|
style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
|
|
773
|
-
}, x(e.value.style.chart.layout.labels.hollow.average.text), 13,
|
|
774
|
-
e.value.style.chart.layout.labels.hollow.average.show ? (o(),
|
|
781
|
+
}, x(e.value.style.chart.layout.labels.hollow.average.text), 13, kl)) : i("", !0),
|
|
782
|
+
e.value.style.chart.layout.labels.hollow.average.show ? (o(), s("text", {
|
|
775
783
|
key: 3,
|
|
776
784
|
"text-anchor": "middle",
|
|
777
785
|
x: u.value.width / 2,
|
|
@@ -779,25 +787,25 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
779
787
|
fill: e.value.style.chart.layout.labels.hollow.average.value.color,
|
|
780
788
|
"font-size": e.value.style.chart.layout.labels.hollow.average.value.fontSize,
|
|
781
789
|
style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
|
|
782
|
-
}, x(G.value ? "--" :
|
|
790
|
+
}, x(G.value ? "--" : n(A)(
|
|
783
791
|
e.value.style.chart.layout.labels.hollow.average.value.formatter,
|
|
784
|
-
|
|
785
|
-
|
|
792
|
+
Ye.value,
|
|
793
|
+
n(L)({
|
|
786
794
|
p: e.value.style.chart.layout.labels.hollow.average.value.prefix,
|
|
787
|
-
v:
|
|
795
|
+
v: Ye.value,
|
|
788
796
|
s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
|
|
789
797
|
r: e.value.style.chart.layout.labels.hollow.average.value.rounding
|
|
790
798
|
})
|
|
791
|
-
)), 13,
|
|
792
|
-
], 64)) :
|
|
793
|
-
(o(!0),
|
|
799
|
+
)), 13, _l)) : i("", !0)
|
|
800
|
+
], 64)) : i("", !0),
|
|
801
|
+
(o(!0), s(w, null, X(f.value, (t, a) => (o(), s("g", {
|
|
794
802
|
filter: Q(a),
|
|
795
803
|
class: ce({ animated: e.value.useCssAnimation })
|
|
796
804
|
}, [
|
|
797
|
-
e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(),
|
|
798
|
-
(o(),
|
|
799
|
-
x:
|
|
800
|
-
y:
|
|
805
|
+
e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), s("g", Cl, [
|
|
806
|
+
(o(), s("foreignObject", {
|
|
807
|
+
x: n(b)(t, !0).anchor === "end" ? n(b)(t).x - 120 : n(b)(t, !0).anchor === "middle" ? n(b)(t).x - 60 : n(b)(t).x,
|
|
808
|
+
y: n(te)(t) - (Oe.value ? 20 : 0),
|
|
801
809
|
width: "120",
|
|
802
810
|
height: "60",
|
|
803
811
|
style: { overflow: "visible" }
|
|
@@ -806,125 +814,125 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
806
814
|
m(l.$slots, "dataLabel", U(E({
|
|
807
815
|
datapoint: t,
|
|
808
816
|
isBlur: !e.value.useBlurOnHover || [null, void 0].includes(S.value) || S.value === a,
|
|
809
|
-
isSafari:
|
|
817
|
+
isSafari: Oe.value,
|
|
810
818
|
isVisible: z(t) && y.value.dataLabels.show,
|
|
811
|
-
textAlign:
|
|
812
|
-
flexAlign:
|
|
819
|
+
textAlign: n(b)(t, !0, 16, !0).anchor,
|
|
820
|
+
flexAlign: n(b)(t, !0, 16).anchor,
|
|
813
821
|
percentage: ne(t, f.value)
|
|
814
822
|
})), void 0, !0)
|
|
815
823
|
])
|
|
816
|
-
], 8,
|
|
817
|
-
])) : (o(),
|
|
818
|
-
e.value.type === "classic" ? (o(),
|
|
819
|
-
z(t) && y.value.dataLabels.show ? (o(),
|
|
824
|
+
], 8, $l))
|
|
825
|
+
])) : (o(), s("g", Pl, [
|
|
826
|
+
e.value.type === "classic" ? (o(), s(w, { key: 0 }, [
|
|
827
|
+
z(t) && y.value.dataLabels.show ? (o(), s("circle", {
|
|
820
828
|
key: 0,
|
|
821
|
-
cx:
|
|
822
|
-
cy:
|
|
829
|
+
cx: n(b)(t).x,
|
|
830
|
+
cy: n(te)(t) - 3.5,
|
|
823
831
|
fill: t.color,
|
|
824
832
|
stroke: e.value.style.chart.backgroundColor,
|
|
825
833
|
"stroke-width": 1,
|
|
826
834
|
r: 3,
|
|
827
835
|
filter: !e.value.useBlurOnHover || [null, void 0].includes(S.value) || S.value === a ? "" : `url(#blur_${k.value})`,
|
|
828
|
-
onClick: (
|
|
829
|
-
}, null, 8,
|
|
830
|
-
], 64)) :
|
|
831
|
-
e.value.type === "polar" ? (o(),
|
|
832
|
-
z(t) && y.value.dataLabels.show ? (o(),
|
|
836
|
+
onClick: (v) => B(t, a)
|
|
837
|
+
}, null, 8, Sl)) : i("", !0)
|
|
838
|
+
], 64)) : i("", !0),
|
|
839
|
+
e.value.type === "polar" ? (o(), s(w, { key: 1 }, [
|
|
840
|
+
z(t) && y.value.dataLabels.show ? (o(), s("circle", {
|
|
833
841
|
key: 0,
|
|
834
|
-
cx:
|
|
835
|
-
cy:
|
|
842
|
+
cx: n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
|
|
843
|
+
cy: n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y,
|
|
836
844
|
fill: t.color,
|
|
837
845
|
stroke: e.value.style.chart.backgroundColor,
|
|
838
846
|
"stroke-width": 1,
|
|
839
847
|
r: 3,
|
|
840
848
|
filter: !e.value.useBlurOnHover || [null, void 0].includes(S.value) || S.value === a ? "" : `url(#blur_${k.value})`,
|
|
841
|
-
onClick: (
|
|
842
|
-
}, null, 8,
|
|
843
|
-
], 64)) :
|
|
844
|
-
e.value.type === "classic" ? (o(),
|
|
845
|
-
z(t) && y.value.dataLabels.show ? (o(),
|
|
849
|
+
onClick: (v) => B(t, a)
|
|
850
|
+
}, null, 8, Ll)) : i("", !0)
|
|
851
|
+
], 64)) : i("", !0),
|
|
852
|
+
e.value.type === "classic" ? (o(), s(w, { key: 2 }, [
|
|
853
|
+
z(t) && y.value.dataLabels.show ? (o(), s("text", {
|
|
846
854
|
key: 0,
|
|
847
|
-
"text-anchor":
|
|
848
|
-
x:
|
|
849
|
-
y:
|
|
855
|
+
"text-anchor": n(b)(t, !0, 12).anchor,
|
|
856
|
+
x: n(b)(t, !0, 12).x,
|
|
857
|
+
y: n(te)(t),
|
|
850
858
|
fill: e.value.style.chart.layout.labels.percentage.color,
|
|
851
859
|
"font-size": e.value.style.chart.layout.labels.percentage.fontSize,
|
|
852
860
|
style: Y(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
|
|
853
|
-
onClick: (
|
|
854
|
-
}, x(ne(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${
|
|
861
|
+
onClick: (v) => B(t, a)
|
|
862
|
+
}, x(ne(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${n(A)(
|
|
855
863
|
e.value.style.chart.layout.labels.value.formatter,
|
|
856
864
|
t.value,
|
|
857
|
-
|
|
865
|
+
n(L)({
|
|
858
866
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
859
867
|
v: t.value,
|
|
860
868
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
861
869
|
r: e.value.style.chart.layout.labels.value.rounding
|
|
862
870
|
}),
|
|
863
871
|
{ datapoint: t }
|
|
864
|
-
)})` : ""), 13,
|
|
865
|
-
z(t) && y.value.dataLabels.show ? (o(),
|
|
872
|
+
)})` : ""), 13, Fl)) : i("", !0),
|
|
873
|
+
z(t) && y.value.dataLabels.show ? (o(), s("text", {
|
|
866
874
|
key: 1,
|
|
867
|
-
"text-anchor":
|
|
868
|
-
x:
|
|
869
|
-
y:
|
|
875
|
+
"text-anchor": n(b)(t).anchor,
|
|
876
|
+
x: n(b)(t, !0, 12).x,
|
|
877
|
+
y: n(te)(t) + e.value.style.chart.layout.labels.percentage.fontSize,
|
|
870
878
|
fill: e.value.style.chart.layout.labels.name.color,
|
|
871
879
|
"font-size": e.value.style.chart.layout.labels.name.fontSize,
|
|
872
880
|
style: Y(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
|
|
873
|
-
onClick: (
|
|
874
|
-
}, x(t.name), 13,
|
|
875
|
-
], 64)) :
|
|
876
|
-
e.value.type === "polar" ? (o(),
|
|
877
|
-
z(t) && y.value.dataLabels.show ? (o(),
|
|
881
|
+
onClick: (v) => B(t, a)
|
|
882
|
+
}, x(t.name), 13, Tl)) : i("", !0)
|
|
883
|
+
], 64)) : i("", !0),
|
|
884
|
+
e.value.type === "polar" ? (o(), s(w, { key: 3 }, [
|
|
885
|
+
z(t) && y.value.dataLabels.show ? (o(), s("text", {
|
|
878
886
|
key: 0,
|
|
879
887
|
"text-anchor": R(c.value[a].middlePoint),
|
|
880
|
-
x:
|
|
881
|
-
y:
|
|
888
|
+
x: n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
|
|
889
|
+
y: n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y,
|
|
882
890
|
fill: e.value.style.chart.layout.labels.percentage.color,
|
|
883
891
|
"font-size": e.value.style.chart.layout.labels.percentage.fontSize,
|
|
884
892
|
style: Y(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
|
|
885
|
-
onClick: (
|
|
886
|
-
}, x(ne(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${
|
|
893
|
+
onClick: (v) => B(t, a)
|
|
894
|
+
}, x(ne(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${n(A)(
|
|
887
895
|
e.value.style.chart.layout.labels.value.formatter,
|
|
888
896
|
t.value,
|
|
889
|
-
|
|
897
|
+
n(L)({
|
|
890
898
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
891
899
|
v: t.value,
|
|
892
900
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
893
901
|
r: e.value.style.chart.layout.labels.value.rounding
|
|
894
902
|
}),
|
|
895
903
|
{ datapoint: t }
|
|
896
|
-
)})` : ""), 13,
|
|
897
|
-
z(t) && y.value.dataLabels.show ? (o(),
|
|
904
|
+
)})` : ""), 13, zl)) : i("", !0),
|
|
905
|
+
z(t) && y.value.dataLabels.show ? (o(), s("text", {
|
|
898
906
|
key: 1,
|
|
899
907
|
"text-anchor": R(c.value[a].middlePoint),
|
|
900
|
-
x:
|
|
901
|
-
y:
|
|
908
|
+
x: n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
|
|
909
|
+
y: n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y + e.value.style.chart.layout.labels.percentage.fontSize,
|
|
902
910
|
fill: e.value.style.chart.layout.labels.name.color,
|
|
903
911
|
"font-size": e.value.style.chart.layout.labels.name.fontSize,
|
|
904
912
|
style: Y(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
|
|
905
|
-
onClick: (
|
|
906
|
-
}, x(t.name), 13,
|
|
907
|
-
], 64)) :
|
|
913
|
+
onClick: (v) => B(t, a)
|
|
914
|
+
}, x(t.name), 13, Yl)) : i("", !0)
|
|
915
|
+
], 64)) : i("", !0)
|
|
908
916
|
])),
|
|
909
|
-
y.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(),
|
|
910
|
-
z(t) && e.value.type === "classic" ? (o(),
|
|
917
|
+
y.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), s("g", Al, [
|
|
918
|
+
z(t) && e.value.type === "classic" ? (o(), s("foreignObject", {
|
|
911
919
|
key: 0,
|
|
912
|
-
x: e.value.style.chart.comments.offsetX + (
|
|
913
|
-
y:
|
|
920
|
+
x: e.value.style.chart.comments.offsetX + (n(b)(t, !0).anchor === "end" ? n(b)(t).x - e.value.style.chart.comments.width : n(b)(t, !0).anchor === "middle" ? n(b)(t).x - e.value.style.chart.comments.width / 2 : n(b)(t).x),
|
|
921
|
+
y: n(te)(t) + 24 + e.value.style.chart.comments.offsetY,
|
|
914
922
|
width: e.value.style.chart.comments.width,
|
|
915
923
|
height: "200",
|
|
916
924
|
style: { overflow: "visible", "pointer-events": "none" }
|
|
917
925
|
}, [
|
|
918
926
|
h("div", null, [
|
|
919
927
|
m(l.$slots, "plot-comment", {
|
|
920
|
-
plot: { ...t, textAlign:
|
|
928
|
+
plot: { ...t, textAlign: n(b)(t, !0, 16, !0).anchor, flexAlign: n(b)(t, !0, 16).anchor }
|
|
921
929
|
}, void 0, !0)
|
|
922
930
|
])
|
|
923
|
-
], 8,
|
|
924
|
-
z(t) && e.value.type === "polar" ? (o(),
|
|
931
|
+
], 8, Nl)) : i("", !0),
|
|
932
|
+
z(t) && e.value.type === "polar" ? (o(), s("foreignObject", {
|
|
925
933
|
key: 1,
|
|
926
|
-
x: e.value.style.chart.comments.offsetX + (R(c.value[a].middlePoint) === "end" ?
|
|
927
|
-
y:
|
|
934
|
+
x: e.value.style.chart.comments.offsetX + (R(c.value[a].middlePoint) === "end" ? n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x - e.value.style.chart.comments.width : R(c.value[a].middlePoint) === "middle" ? n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x),
|
|
935
|
+
y: Ke(c.value[a]) + e.value.style.chart.comments.offsetY,
|
|
928
936
|
width: e.value.style.chart.comments.width,
|
|
929
937
|
height: "200",
|
|
930
938
|
style: { overflow: "visible", "pointer-events": "none" }
|
|
@@ -934,16 +942,16 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
934
942
|
plot: { ...t, textAlign: R(c.value[a].middlePoint), flexAlign: R(c.value[a].middlePoint) }
|
|
935
943
|
}, void 0, !0)
|
|
936
944
|
])
|
|
937
|
-
], 8,
|
|
938
|
-
])) :
|
|
939
|
-
], 10,
|
|
945
|
+
], 8, Ol)) : i("", !0)
|
|
946
|
+
])) : i("", !0)
|
|
947
|
+
], 10, xl))), 256)),
|
|
940
948
|
m(l.$slots, "svg", { svg: u.value }, void 0, !0)
|
|
941
|
-
], 14,
|
|
942
|
-
l.$slots.watermark ? (o(),
|
|
943
|
-
m(l.$slots, "watermark", U(E({ isPrinting:
|
|
944
|
-
])) :
|
|
945
|
-
q.value ?
|
|
946
|
-
key:
|
|
949
|
+
], 14, It)) : i("", !0),
|
|
950
|
+
l.$slots.watermark ? (o(), s("div", Xl, [
|
|
951
|
+
m(l.$slots, "watermark", U(E({ isPrinting: n(xe) || n(Ce) })), void 0, !0)
|
|
952
|
+
])) : i("", !0),
|
|
953
|
+
q.value ? i("", !0) : (o(), V(Tt, {
|
|
954
|
+
key: 6,
|
|
947
955
|
config: {
|
|
948
956
|
type: "donut",
|
|
949
957
|
style: {
|
|
@@ -959,21 +967,21 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
959
967
|
ref_key: "chartLegend",
|
|
960
968
|
ref: ye
|
|
961
969
|
}, [
|
|
962
|
-
e.value.style.chart.legend.show ? (o(), V(
|
|
963
|
-
key: `legend_${
|
|
964
|
-
legendSet:
|
|
965
|
-
config:
|
|
966
|
-
onClickMarker: r[4] || (r[4] = ({ i: t }) =>
|
|
970
|
+
e.value.style.chart.legend.show ? (o(), V(Ft, {
|
|
971
|
+
key: `legend_${me.value}`,
|
|
972
|
+
legendSet: ze.value,
|
|
973
|
+
config: Je.value,
|
|
974
|
+
onClickMarker: r[4] || (r[4] = ({ i: t }) => Te(t))
|
|
967
975
|
}, {
|
|
968
976
|
item: P(({ legend: t, index: a }) => [
|
|
969
977
|
h("div", {
|
|
970
|
-
onClick: (
|
|
971
|
-
style: Y(`opacity:${
|
|
978
|
+
onClick: (v) => t.segregate(),
|
|
979
|
+
style: Y(`opacity:${O.value.includes(a) ? 0.5 : 1}`)
|
|
972
980
|
}, [
|
|
973
|
-
|
|
981
|
+
Ge(x(t.name) + ": " + x(n(A)(
|
|
974
982
|
e.value.style.chart.layout.labels.value.formatter,
|
|
975
983
|
t.value,
|
|
976
|
-
|
|
984
|
+
n(L)({
|
|
977
985
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
978
986
|
v: t.value,
|
|
979
987
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -984,30 +992,30 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
984
992
|
index: a
|
|
985
993
|
}
|
|
986
994
|
)) + " ", 1),
|
|
987
|
-
|
|
995
|
+
O.value.includes(a) ? (o(), s("span", Bl, " ( " + x(et(t.proportion * 100)) + " % ) ", 1)) : (o(), s("span", Dl, " (" + x(isNaN(t.value / $.value) ? "-" : n(A)(
|
|
988
996
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
989
997
|
G.value ? t.proportion * 100 : t.value / $.value * 100,
|
|
990
|
-
|
|
998
|
+
n(L)({
|
|
991
999
|
v: G.value ? t.proportion * 100 : t.value / $.value * 100,
|
|
992
1000
|
s: "%",
|
|
993
1001
|
r: e.value.style.chart.legend.roundingPercentage
|
|
994
1002
|
})
|
|
995
1003
|
)) + ") ", 1))
|
|
996
|
-
], 12,
|
|
1004
|
+
], 12, Il)
|
|
997
1005
|
]),
|
|
998
1006
|
_: 1
|
|
999
|
-
}, 8, ["legendSet", "config"])) :
|
|
1000
|
-
m(l.$slots, "legend", { legend:
|
|
1007
|
+
}, 8, ["legendSet", "config"])) : i("", !0),
|
|
1008
|
+
m(l.$slots, "legend", { legend: ze.value }, void 0, !0)
|
|
1001
1009
|
], 512),
|
|
1002
|
-
l.$slots.source ? (o(),
|
|
1003
|
-
key:
|
|
1010
|
+
l.$slots.source ? (o(), s("div", {
|
|
1011
|
+
key: 7,
|
|
1004
1012
|
ref_key: "source",
|
|
1005
1013
|
ref: fe,
|
|
1006
1014
|
dir: "auto"
|
|
1007
1015
|
}, [
|
|
1008
1016
|
m(l.$slots, "source", {}, void 0, !0)
|
|
1009
|
-
], 512)) :
|
|
1010
|
-
|
|
1017
|
+
], 512)) : i("", !0),
|
|
1018
|
+
Me(Lt, {
|
|
1011
1019
|
show: y.value.showTooltip && ae.value,
|
|
1012
1020
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1013
1021
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -1030,8 +1038,8 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
1030
1038
|
]),
|
|
1031
1039
|
_: 3
|
|
1032
1040
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
1033
|
-
q.value ? (o(), V(
|
|
1034
|
-
key:
|
|
1041
|
+
q.value ? (o(), V(zt, {
|
|
1042
|
+
key: 8,
|
|
1035
1043
|
hideDetails: "",
|
|
1036
1044
|
config: {
|
|
1037
1045
|
open: y.value.showTable,
|
|
@@ -1047,8 +1055,8 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
1047
1055
|
}
|
|
1048
1056
|
}, {
|
|
1049
1057
|
content: P(() => [
|
|
1050
|
-
(o(), V(
|
|
1051
|
-
key: `table_${
|
|
1058
|
+
(o(), V(St, {
|
|
1059
|
+
key: `table_${be.value}`,
|
|
1052
1060
|
colNames: oe.value.colNames,
|
|
1053
1061
|
head: oe.value.head,
|
|
1054
1062
|
body: oe.value.body,
|
|
@@ -1060,21 +1068,21 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
1060
1068
|
h("div", {
|
|
1061
1069
|
innerHTML: t,
|
|
1062
1070
|
style: { display: "flex", "align-items": "center" }
|
|
1063
|
-
}, null, 8,
|
|
1071
|
+
}, null, 8, Ml)
|
|
1064
1072
|
]),
|
|
1065
1073
|
td: P(({ td: t }) => [
|
|
1066
|
-
|
|
1074
|
+
Ge(x(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : n(A)(
|
|
1067
1075
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
1068
1076
|
t,
|
|
1069
|
-
|
|
1077
|
+
n(L)({
|
|
1070
1078
|
v: t,
|
|
1071
1079
|
s: "%",
|
|
1072
1080
|
r: e.value.style.chart.layout.labels.percentage.rounding
|
|
1073
1081
|
})
|
|
1074
|
-
) :
|
|
1082
|
+
) : n(A)(
|
|
1075
1083
|
e.value.style.chart.layout.labels.value.formatter,
|
|
1076
1084
|
t,
|
|
1077
|
-
|
|
1085
|
+
n(L)({
|
|
1078
1086
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
1079
1087
|
v: t,
|
|
1080
1088
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -1086,10 +1094,10 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
|
|
|
1086
1094
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
1087
1095
|
]),
|
|
1088
1096
|
_: 1
|
|
1089
|
-
}, 8, ["config"])) :
|
|
1097
|
+
}, 8, ["config"])) : i("", !0)
|
|
1090
1098
|
], 14, Xt));
|
|
1091
1099
|
}
|
|
1092
|
-
},
|
|
1100
|
+
}, la = /* @__PURE__ */ Nt(Gl, [["__scopeId", "data-v-897a9187"]]);
|
|
1093
1101
|
export {
|
|
1094
|
-
|
|
1102
|
+
la as default
|
|
1095
1103
|
};
|