vue-data-ui 2.4.2 → 2.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-JuK2z9IB.js → Arrow-C7lNL7sY.js} +1 -1
- package/dist/{Arrow-DLTRnzcG.cjs → Arrow-Dz6AomGr.cjs} +1 -1
- package/dist/{BaseIcon-rRli6Sfv.js → BaseIcon-BbvG1AlW.js} +1 -1
- package/dist/{BaseIcon-BGExhz6v.cjs → BaseIcon-uALK38Ov.cjs} +1 -1
- package/dist/{DataTable-DJzhv96s.cjs → DataTable-DTzynbND.cjs} +1 -1
- package/dist/{DataTable-DTk7C4Pr.js → DataTable-DYqC2pqu.js} +2 -2
- package/dist/{Legend-YZ7Hz3o1.cjs → Legend-Cgw4lO2O.cjs} +1 -1
- package/dist/{Legend-CYF2gpXG.js → Legend-DNgTCgEK.js} +1 -1
- package/dist/{PackageVersion-DVZtsuy4.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
- package/dist/{PackageVersion-CvCRsT5_.js → PackageVersion-VkaUzgmt.js} +1 -1
- package/dist/{PenAndPaper-CyXm-yVL.cjs → PenAndPaper-CDFVOo7X.cjs} +1 -1
- package/dist/{PenAndPaper-Jb0pLt3G.js → PenAndPaper-DAZYA8Ew.js} +2 -2
- package/dist/{Shape-BpPn4eWR.js → Shape-Bwon0l0g.js} +1 -1
- package/dist/{Shape-X2F-QV_B.cjs → Shape-D2Dpshg1.cjs} +1 -1
- package/dist/{Slicer-CU7dRZR0.js → Slicer-TfpN2Cr4.js} +3 -3
- package/dist/{Slicer-CL0tP5a5.cjs → Slicer-uSjfNJjG.cjs} +1 -1
- package/dist/{Title-Co5jI5ed.cjs → Title-0Tp4hZ4u.cjs} +1 -1
- package/dist/{Title-5VmBwT4i.js → Title-C5pIfQAz.js} +1 -1
- package/dist/{Tooltip-Bl6W8Zn7.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
- package/dist/{Tooltip-Cj4EF7v1.js → Tooltip-Cz24YLfw.js} +1 -1
- package/dist/{index-DnVHQ2xI.js → index-Bya_q1J-.js} +4 -1
- package/dist/index-eFox7weK.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +4 -1
- package/dist/types/vue-data-ui.d.ts +4 -1
- package/dist/{useNestedProp-Cox0K0Y5.js → useNestedProp-B33hazbH.js} +1 -1
- package/dist/{useNestedProp-q7byAAIJ.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
- package/dist/{usePrinter-BCAFeO_J.cjs → usePrinter-CSRFnDBU.cjs} +1 -1
- package/dist/{usePrinter-BEeNAqS5.js → usePrinter-CiHd1FwD.js} +1 -1
- package/dist/useResponsive-BY8tgM1n.js +188 -0
- package/dist/useResponsive-CodiGUOE.cjs +1 -0
- package/dist/{vue-data-ui-CRLLZpt0.cjs → vue-data-ui-BTtxyUc3.cjs} +1 -1
- package/dist/{vue-data-ui-W7nnqn0v.js → vue-data-ui-Bduq4f2p.js} +58 -58
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-bD_n6qL_.cjs → vue-ui-3d-bar-B-P7PMHs.cjs} +2 -2
- package/dist/{vue-ui-3d-bar-BwBrUabe.js → vue-ui-3d-bar-BUEq_VdY.js} +41 -34
- package/dist/{vue-ui-accordion-DspS4q3f.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
- package/dist/{vue-ui-accordion-xXgqfR2l.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-CxBvm3uM.js → vue-ui-age-pyramid-CH72tAMb.js} +163 -154
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
- package/dist/{vue-ui-annotator-BOofWpzv.js → vue-ui-annotator-DPeJ2its.js} +1 -1
- package/dist/{vue-ui-annotator-C6T5_7ZV.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
- package/dist/{vue-ui-bullet-DraC-oFu.js → vue-ui-bullet-CtP3MlUT.js} +167 -136
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
- package/dist/{vue-ui-candlestick-DQZ5eT1f.js → vue-ui-candlestick-DDil13a0.js} +173 -164
- package/dist/{vue-ui-carousel-table-PdLjpH1p.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
- package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
- package/dist/{vue-ui-chestnut-ByI_O5hB.js → vue-ui-chestnut-BczSJF6S.js} +96 -89
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
- package/dist/{vue-ui-cursor-BvadpA2m.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
- package/dist/{vue-ui-cursor-BM74l93B.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
- package/dist/{vue-ui-dashboard-CoANBhAM.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
- package/dist/{vue-ui-dashboard-OP51Gs8I.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
- package/dist/{vue-ui-digits-DioaBnkB.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
- package/dist/{vue-ui-digits-C7jJJg9k.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
- package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
- package/dist/{vue-ui-donut-ldqSm_JV.js → vue-ui-donut-DUcp-fat.js} +244 -235
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DAb1xzNd.js → vue-ui-donut-evolution-C_YMbTwq.js} +125 -118
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
- package/dist/{vue-ui-dumbbell-Dg7PkiKJ.js → vue-ui-dumbbell-Buwngz_V.js} +192 -183
- package/dist/{vue-ui-flow-DKT7ZEnr.js → vue-ui-flow-Bz3c0K5P.js} +78 -71
- package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
- package/dist/{vue-ui-galaxy-qAA9be3S.js → vue-ui-galaxy-Cjh0XGTX.js} +49 -42
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
- package/dist/{vue-ui-gauge-D8yVTIgP.js → vue-ui-gauge-B1UvGkQa.js} +160 -151
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
- package/dist/{vue-ui-gizmo-W6bTkg59.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DC0uUwI3.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
- package/dist/{vue-ui-heatmap-u1raIzBQ.js → vue-ui-heatmap-C-poazUw.js} +110 -103
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
- package/dist/{vue-ui-kpi-C-iTxMD2.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
- package/dist/{vue-ui-kpi-DY_2WF7U.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7x7S0hi.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
- package/dist/{vue-ui-mini-loader-Bfq2MNWu.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
- package/dist/{vue-ui-molecule-BFnOIxxs.js → vue-ui-molecule-BaJpDZND.js} +78 -71
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
- package/dist/{vue-ui-mood-radar-CR1v5v2x.js → vue-ui-mood-radar-BUNDwsEI.js} +132 -125
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-DEiloQzq.js → vue-ui-nested-donuts-mDy2hXa6.js} +198 -189
- package/dist/{vue-ui-onion-LsEhBe4x.js → vue-ui-onion-DwFG3HAI.js} +248 -239
- package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-CTlIjJqG.js → vue-ui-parallel-coordinate-plot-ImET_zeo.js} +233 -224
- package/dist/{vue-ui-quadrant-DKVVFufb.js → vue-ui-quadrant-BeveRihK.js} +188 -179
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
- package/dist/{vue-ui-quick-chart-8vJikiGH.js → vue-ui-quick-chart-DAhllTfa.js} +343 -334
- package/dist/{vue-ui-quick-chart-gG5Ar8-i.cjs → vue-ui-quick-chart-DgFDBzjS.cjs} +2 -2
- package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
- package/dist/{vue-ui-radar-20QhOUer.js → vue-ui-radar-BllatzRa.js} +174 -165
- package/dist/{vue-ui-rating-Bbzm5nUK.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
- package/dist/{vue-ui-rating-DRWJsve1.js → vue-ui-rating-D1ykV4xO.js} +2 -2
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
- package/dist/{vue-ui-relation-circle-I45_Sk5l.js → vue-ui-relation-circle-xv2l5Be9.js} +142 -133
- package/dist/{vue-ui-rings-DG8GCi3y.js → vue-ui-rings-B-ZcX6y1.js} +165 -156
- package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
- package/dist/{vue-ui-scatter-Hqu5-F2H.js → vue-ui-scatter-DG43ck1g.js} +269 -260
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
- package/dist/{vue-ui-screenshot-D8nxd5RV.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
- package/dist/{vue-ui-screenshot-cjiqbtLK.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
- package/dist/{vue-ui-skeleton-aZmkNzAe.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
- package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
- package/dist/{vue-ui-smiley-B1TA19Hv.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
- package/dist/{vue-ui-smiley-ChNvxygm.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
- package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CQxELQcf.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
- package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
- package/dist/{vue-ui-sparkbar-0ixbKZzf.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
- package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-pdYb7OwH.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
- package/dist/{vue-ui-sparkhistogram-N69h2q0U.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
- package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
- package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
- package/dist/{vue-ui-sparkline-2BKYZMOb.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
- package/dist/{vue-ui-sparkstackbar-sh03cuOU.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
- package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
- package/dist/{vue-ui-stackbar-B1si-1RM.js → vue-ui-stackbar-ByOuJSdM.js} +205 -196
- package/dist/{vue-ui-stackbar-Dy_saeSe.cjs → vue-ui-stackbar-wun4S3C0.cjs} +2 -2
- package/dist/{vue-ui-strip-plot-BYn-QrTQ.js → vue-ui-strip-plot-CMD0MSqY.js} +218 -209
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
- package/dist/{vue-ui-table-DQORPCDJ.js → vue-ui-table-B75DJ39t.js} +1 -1
- package/dist/{vue-ui-table-Ce4waJaj.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Csp7Tx8N.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
- package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-DdwVrfUj.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
- package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
- package/dist/{vue-ui-thermometer-I6ZnlfAv.js → vue-ui-thermometer-Pq4PvSIP.js} +67 -60
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
- package/dist/{vue-ui-timer-COOXcn14.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
- package/dist/{vue-ui-timer-pi1SazTU.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
- package/dist/{vue-ui-tiremarks-vdPQYiDp.js → vue-ui-tiremarks-CU9HJIqf.js} +84 -77
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
- package/dist/{vue-ui-treemap-3FNUlKxL.js → vue-ui-treemap-DY-lRAhC.js} +211 -202
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-DwxpB46q.js → vue-ui-vertical-bar-CtnIKsM1.js} +359 -350
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
- package/dist/{vue-ui-waffle-XecHJIc-.js → vue-ui-waffle-reOsx-gJ.js} +177 -168
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
- package/dist/{vue-ui-wheel-Bbih5sSL.js → vue-ui-wheel-kYxny3vn.js} +95 -86
- package/dist/{vue-ui-word-cloud-DnhXUn5x.js → vue-ui-word-cloud-DbMqrHAf.js} +192 -183
- package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
- package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-C8c2X5fk.js → vue-ui-xy-canvas-B0HTR7OV.js} +255 -246
- package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
- package/dist/{vue-ui-xy-CqlRuFMc.js → vue-ui-xy-rbACig0h.js} +131 -122
- package/package.json +1 -1
- package/dist/index-FfZRtJ6A.cjs +0 -9
- package/dist/useResponsive-B3TrDDIG.cjs +0 -1
- package/dist/useResponsive-NZB-WLRF.js +0 -187
- package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +0 -1
- package/dist/vue-ui-bullet-ChaEgXvR.cjs +0 -23
- package/dist/vue-ui-candlestick--hPCfMFH.cjs +0 -2
- package/dist/vue-ui-carousel-table-DpRQklDZ.cjs +0 -1
- package/dist/vue-ui-chestnut-ae6x87wl.cjs +0 -6
- package/dist/vue-ui-donut-CplNylps.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +0 -1
- package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +0 -9
- package/dist/vue-ui-flow-BPt35d5K.cjs +0 -1
- package/dist/vue-ui-galaxy-e06PkTmp.cjs +0 -1
- package/dist/vue-ui-gauge-DiZVIU0D.cjs +0 -1
- package/dist/vue-ui-heatmap-CbZcv_2I.cjs +0 -1
- package/dist/vue-ui-molecule-CbKMLrDT.cjs +0 -1
- package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +0 -17
- package/dist/vue-ui-onion-CLvvu4Ku.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +0 -8
- package/dist/vue-ui-quadrant-OM5J1mG3.cjs +0 -1
- package/dist/vue-ui-radar-CAaHjDO7.cjs +0 -1
- package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +0 -1
- package/dist/vue-ui-rings-B9WQ7S5m.cjs +0 -2
- package/dist/vue-ui-scatter-BZfg1YIN.cjs +0 -1
- package/dist/vue-ui-skeleton-Djv08J67.cjs +0 -41
- package/dist/vue-ui-spark-trend-BqrPr63O.cjs +0 -1
- package/dist/vue-ui-sparkbar-CrTEPTU5.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BYxpe_WV.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-D21XDUH2.cjs +0 -1
- package/dist/vue-ui-sparkline-Cf4m-Fxo.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-dAS8XoJs.cjs +0 -1
- package/dist/vue-ui-strip-plot-D53LABpZ.cjs +0 -1
- package/dist/vue-ui-table-heatmap-EqHt-O7Y.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DONmVOMh.cjs +0 -1
- package/dist/vue-ui-thermometer-hQBkMa7u.cjs +0 -1
- package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +0 -1
- package/dist/vue-ui-treemap-Cv0TSFQa.cjs +0 -1
- package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +0 -4
- package/dist/vue-ui-waffle-CKM0QyJN.cjs +0 -1
- package/dist/vue-ui-wheel-C0dJrzOJ.cjs +0 -1
- package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +0 -1
- package/dist/vue-ui-xy-BDpqVzAq.cjs +0 -3
- package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +0 -9
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { computed as m, ref as d, watch as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { D as
|
|
7
|
-
import { _ as wt } from "./Tooltip-
|
|
8
|
-
import { L as _t } from "./Legend-
|
|
9
|
-
import
|
|
10
|
-
import xt from "./vue-ui-accordion-
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import { _ as
|
|
15
|
-
const de = (B) => (
|
|
1
|
+
import { computed as m, ref as d, watch as De, onMounted as Ze, onBeforeUnmount as je, openBlock as u, createElementBlock as n, normalizeClass as P, normalizeStyle as re, createBlock as D, createCommentVNode as f, unref as r, createSlots as et, withCtx as g, renderSlot as k, normalizeProps as R, guardReactiveProps as E, createVNode as ze, createElementVNode as y, Fragment as L, renderList as S, toDisplayString as N, createTextVNode as Q, nextTick as tt, pushScopeId as lt, popScopeId as at } from "vue";
|
|
2
|
+
import { u as ot, c as st, t as ut, a as nt, p as Z, o as rt, e as V, b as it, I as Ve, d as dt, m as Me, f as x, X as ct, s as Be, K as vt, k as M, n as ie, i as G, x as Ue, y as ft, q as ht, r as pt } from "./index-Bya_q1J-.js";
|
|
3
|
+
import { t as yt, u as bt } from "./useResponsive-BY8tgM1n.js";
|
|
4
|
+
import { _ as gt } from "./Title-C5pIfQAz.js";
|
|
5
|
+
import { u as mt, U as kt } from "./usePrinter-CiHd1FwD.js";
|
|
6
|
+
import { D as $t } from "./DataTable-DYqC2pqu.js";
|
|
7
|
+
import { _ as wt } from "./Tooltip-Cz24YLfw.js";
|
|
8
|
+
import { L as _t } from "./Legend-DNgTCgEK.js";
|
|
9
|
+
import Lt from "./vue-ui-skeleton-BYssP0K4.js";
|
|
10
|
+
import xt from "./vue-ui-accordion-DfUfL2dI.js";
|
|
11
|
+
import { u as Re } from "./useNestedProp-B33hazbH.js";
|
|
12
|
+
import { _ as Ct } from "./PackageVersion-VkaUzgmt.js";
|
|
13
|
+
import { P as Ft } from "./PenAndPaper-DAZYA8Ew.js";
|
|
14
|
+
import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = ["xmlns", "viewBox"], It = ["id"], At = /* @__PURE__ */ de(() => /* @__PURE__ */ y("stop", {
|
|
16
16
|
offset: "0%",
|
|
17
17
|
"stop-color": "#FFFFFF",
|
|
18
18
|
"stop-opacity": "0"
|
|
19
|
-
}, null, -1)),
|
|
19
|
+
}, null, -1)), Ot = ["offset", "stop-color"], Pt = ["offset", "stop-opacity"], Dt = /* @__PURE__ */ de(() => /* @__PURE__ */ y("stop", {
|
|
20
20
|
offset: "100%",
|
|
21
21
|
"stop-color": "#FFFFFF",
|
|
22
22
|
"stop-opacity": "0"
|
|
23
|
-
}, null, -1)),
|
|
23
|
+
}, null, -1)), zt = ["id"], Vt = ["id"], Mt = /* @__PURE__ */ de(() => /* @__PURE__ */ y("feColorMatrix", {
|
|
24
24
|
type: "saturate",
|
|
25
25
|
values: "0"
|
|
26
|
-
}, null, -1)),
|
|
26
|
+
}, null, -1)), Bt = ["id"], Ut = ["flood-color"], Rt = ["d", "fill", "stroke", "stroke-width", "filter"], Et = { key: 0 }, Gt = ["d", "fill"], Yt = { key: 1 }, Xt = ["x", "y", "font-size", "font-weight", "fill"], Wt = { key: 2 }, Ht = ["filter"], qt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Kt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Jt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Qt = ["d", "fill", "onMouseenter", "onClick"], Zt = {
|
|
27
27
|
key: 4,
|
|
28
28
|
class: "vue-data-ui-watermark"
|
|
29
|
-
},
|
|
29
|
+
}, jt = {
|
|
30
30
|
key: 0,
|
|
31
31
|
class: "vue-ui-nested-donuts-legend-title"
|
|
32
|
-
},
|
|
32
|
+
}, el = ["onClick"], tl = ["innerHTML"], ll = {
|
|
33
33
|
__name: "vue-ui-nested-donuts",
|
|
34
34
|
props: {
|
|
35
35
|
config: {
|
|
@@ -46,58 +46,59 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
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: Ee, emit: ce }) {
|
|
50
|
+
const I = B, { vue_ui_nested_donuts: Ge } = ot(), Y = m(() => !!I.dataset && I.dataset.length), $ = d(st()), j = d(!1), ee = d(""), Ye = d(null), ve = d(0), z = d(null), fe = d(null), te = d(null), he = d(null), pe = d(0), ye = d(0), be = d(0), U = d(!1);
|
|
51
|
+
function Xe(t) {
|
|
52
52
|
U.value = t, ve.value += 1;
|
|
53
53
|
}
|
|
54
54
|
const e = m({
|
|
55
|
-
get: () =>
|
|
55
|
+
get: () => ge(),
|
|
56
56
|
set: (t) => t
|
|
57
57
|
});
|
|
58
|
-
function
|
|
59
|
-
const t =
|
|
58
|
+
function ge() {
|
|
59
|
+
const t = Re({
|
|
60
60
|
userConfig: I.config,
|
|
61
|
-
defaultConfig:
|
|
61
|
+
defaultConfig: Ge
|
|
62
62
|
});
|
|
63
63
|
return t.theme ? {
|
|
64
|
-
...
|
|
65
|
-
userConfig:
|
|
64
|
+
...Re({
|
|
65
|
+
userConfig: ut.vue_ui_nested_donuts[t.theme] || I.config,
|
|
66
66
|
defaultConfig: t
|
|
67
67
|
}),
|
|
68
|
-
customPalette:
|
|
68
|
+
customPalette: nt[t.theme] || Z
|
|
69
69
|
} : t;
|
|
70
70
|
}
|
|
71
|
-
|
|
72
|
-
e.value =
|
|
71
|
+
De(() => I.config, (t) => {
|
|
72
|
+
e.value = ge(), me(), pe.value += 1, ye.value += 1, be.value += 1;
|
|
73
73
|
}, { deep: !0 });
|
|
74
74
|
const X = d(null);
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
Ze(() => {
|
|
76
|
+
me();
|
|
77
77
|
});
|
|
78
|
-
function
|
|
79
|
-
if (
|
|
78
|
+
function me() {
|
|
79
|
+
if (rt(I.dataset) && V({
|
|
80
80
|
componentName: "VueUiNestedDonuts",
|
|
81
81
|
type: "dataset"
|
|
82
82
|
}), e.value.responsive) {
|
|
83
|
-
const t =
|
|
84
|
-
const { width: s, height: a } =
|
|
83
|
+
const t = yt(() => {
|
|
84
|
+
const { width: s, height: a } = bt({
|
|
85
85
|
chart: z.value,
|
|
86
86
|
title: e.value.style.chart.title.text ? fe.value : null,
|
|
87
|
-
legend: e.value.style.chart.legend.show ? te.value : null
|
|
87
|
+
legend: e.value.style.chart.legend.show ? te.value : null,
|
|
88
|
+
source: he.value
|
|
88
89
|
});
|
|
89
90
|
h.value.width = s, h.value.height = a;
|
|
90
91
|
});
|
|
91
92
|
X.value = new ResizeObserver(t), X.value.observe(z.value.parentNode);
|
|
92
93
|
}
|
|
93
94
|
}
|
|
94
|
-
|
|
95
|
+
je(() => {
|
|
95
96
|
X.value && X.value.disconnect();
|
|
96
97
|
});
|
|
97
|
-
const { isPrinting:
|
|
98
|
-
elementId: `nested_donuts_${
|
|
98
|
+
const { isPrinting: ke, isImaging: $e, generatePdf: we, generateImage: _e } = mt({
|
|
99
|
+
elementId: `nested_donuts_${$.value}`,
|
|
99
100
|
fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts"
|
|
100
|
-
}),
|
|
101
|
+
}), We = m(() => it(e.value.customPalette)), w = d({
|
|
101
102
|
dataLabels: {
|
|
102
103
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
103
104
|
},
|
|
@@ -107,7 +108,7 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
107
108
|
height: 512,
|
|
108
109
|
width: 512
|
|
109
110
|
});
|
|
110
|
-
function
|
|
111
|
+
function He({ datapoint: t, index: s }) {
|
|
111
112
|
ce("selectDatapoint", { datapoint: t, index: s });
|
|
112
113
|
}
|
|
113
114
|
const p = d([]), C = m(() => (I.dataset.forEach((t, s) => {
|
|
@@ -142,21 +143,21 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
142
143
|
});
|
|
143
144
|
}), I.dataset.map((t, s) => ({
|
|
144
145
|
...t,
|
|
145
|
-
total: t.series.filter((a) => !p.value.includes(a.id)).map((a) =>
|
|
146
|
+
total: t.series.filter((a) => !p.value.includes(a.id)).map((a) => Ve(a.values).reduce((o, l) => o + l, 0)).reduce((a, o) => a + o, 0),
|
|
146
147
|
datasetIndex: s,
|
|
147
|
-
id: `${
|
|
148
|
+
id: `${$.value}_${s}`,
|
|
148
149
|
series: t.series.map((a, o) => ({
|
|
149
150
|
name: a.name,
|
|
150
151
|
arcOf: t.name,
|
|
151
|
-
arcOfId: `${
|
|
152
|
-
id: `${
|
|
152
|
+
arcOfId: `${$.value}_${s}`,
|
|
153
|
+
id: `${$.value}_${s}_${o}`,
|
|
153
154
|
seriesIndex: o,
|
|
154
155
|
datasetIndex: s,
|
|
155
|
-
color:
|
|
156
|
-
value:
|
|
156
|
+
color: dt(a.color) || We.value[o] || Z[o] || Z[o % Z.length],
|
|
157
|
+
value: Ve(a.values).reduce((l, i) => l + i, 0),
|
|
157
158
|
absoluteValues: a.values || []
|
|
158
159
|
}))
|
|
159
|
-
})))), F = m(() => Math.min(h.value.height, h.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)),
|
|
160
|
+
})))), F = m(() => Math.min(h.value.height, h.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), Le = m(() => [...C.value].map((t, s) => {
|
|
160
161
|
const a = t.series.filter((o) => !p.value.includes(o.id)).map((o) => o.value).reduce((o, l) => o + l, 0);
|
|
161
162
|
return {
|
|
162
163
|
...t,
|
|
@@ -167,20 +168,20 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
167
168
|
}))
|
|
168
169
|
};
|
|
169
170
|
}));
|
|
170
|
-
function
|
|
171
|
+
function qe(t, s, a) {
|
|
171
172
|
let o = 0;
|
|
172
173
|
for (let l = 0; l < t.length; l += 1)
|
|
173
174
|
a.includes(t[l]) && (o += 1);
|
|
174
175
|
return o < s;
|
|
175
176
|
}
|
|
176
|
-
const v = d(
|
|
177
|
-
|
|
178
|
-
const xe = d(null),
|
|
177
|
+
const v = d(Le.value);
|
|
178
|
+
De(() => Le.value, (t) => v.value = t);
|
|
179
|
+
const xe = d(null), Ce = d(null);
|
|
179
180
|
function le(t) {
|
|
180
181
|
ce("selectLegend", t);
|
|
181
182
|
const s = C.value.flatMap((c) => c.series).find((c) => c.id === t.id), a = v.value.flatMap((c) => c.series).find((c) => c.id === t.id);
|
|
182
183
|
let l = a ? a.value : 0;
|
|
183
|
-
const i = C.value.find((c) => c.id === s.arcOfId).series.map((c) => c.id), b =
|
|
184
|
+
const i = C.value.find((c) => c.id === s.arcOfId).series.map((c) => c.id), b = qe(i, i.length - 1, p.value);
|
|
184
185
|
if (p.value.includes(t.id)) {
|
|
185
186
|
let c = function() {
|
|
186
187
|
l > s.value ? (cancelAnimationFrame(xe.value), v.value = v.value.map((_) => ({
|
|
@@ -200,7 +201,7 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
200
201
|
p.value = p.value.filter((_) => _ !== t.id), c();
|
|
201
202
|
} else if (b) {
|
|
202
203
|
let c = function() {
|
|
203
|
-
l < 0.1 ? (cancelAnimationFrame(
|
|
204
|
+
l < 0.1 ? (cancelAnimationFrame(Ce.value), p.value.push(t.id), v.value = v.value.map((_, T) => ({
|
|
204
205
|
..._,
|
|
205
206
|
series: _.series.map((O) => O.id === t.id ? {
|
|
206
207
|
...O,
|
|
@@ -212,17 +213,17 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
212
213
|
...O,
|
|
213
214
|
value: l
|
|
214
215
|
} : O)
|
|
215
|
-
})),
|
|
216
|
+
})), Ce.value = requestAnimationFrame(c));
|
|
216
217
|
};
|
|
217
218
|
c();
|
|
218
219
|
}
|
|
219
220
|
}
|
|
220
|
-
const ae = m(() => F.value / C.value.length * e.value.style.chart.layout.donut.spacingRatio),
|
|
221
|
+
const ae = m(() => F.value / C.value.length * e.value.style.chart.layout.donut.spacingRatio), Fe = m(() => v.value.map((t, s) => F.value - s * F.value / C.value.length)), W = m(() => v.value.map((t, s) => {
|
|
221
222
|
const a = s * F.value / C.value.length;
|
|
222
223
|
return {
|
|
223
224
|
...t,
|
|
224
225
|
radius: F.value - a,
|
|
225
|
-
donut:
|
|
226
|
+
donut: Me(
|
|
226
227
|
{ series: t.series },
|
|
227
228
|
h.value.width / 2,
|
|
228
229
|
h.value.height / 2,
|
|
@@ -236,11 +237,11 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
236
237
|
ae.value
|
|
237
238
|
)
|
|
238
239
|
};
|
|
239
|
-
})),
|
|
240
|
+
})), Se = m(() => [...C.value].map((t, s) => {
|
|
240
241
|
const a = s * F.value / C.value.length;
|
|
241
242
|
return {
|
|
242
243
|
sizeRatio: a,
|
|
243
|
-
donut:
|
|
244
|
+
donut: Me(
|
|
244
245
|
{ series: [{ value: 1 }] },
|
|
245
246
|
h.value.width / 2,
|
|
246
247
|
h.value.height / 2,
|
|
@@ -254,16 +255,16 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
254
255
|
F.value / C.value.length * e.value.style.chart.layout.donut.spacingRatio
|
|
255
256
|
)[0]
|
|
256
257
|
};
|
|
257
|
-
})),
|
|
258
|
-
function
|
|
259
|
-
|
|
258
|
+
})), Te = d(null), H = d(null), q = d(null), oe = d(null);
|
|
259
|
+
function Ke({ datapoint: t, _relativeIndex: s, seriesIndex: a }) {
|
|
260
|
+
Te.value = t.arcOfId, H.value = t.id, q.value = a, oe.value = {
|
|
260
261
|
datapoint: t,
|
|
261
262
|
seriesIndex: a,
|
|
262
263
|
series: v.value,
|
|
263
264
|
config: e.value
|
|
264
265
|
};
|
|
265
266
|
const o = e.value.style.chart.tooltip.customFormat;
|
|
266
|
-
if (
|
|
267
|
+
if (Ue(o) && ft(() => o({
|
|
267
268
|
seriesIndex: a,
|
|
268
269
|
datapoint: t,
|
|
269
270
|
series: v.value,
|
|
@@ -295,7 +296,7 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
295
296
|
${e.value.style.chart.tooltip.showValue ? `<b>${G(
|
|
296
297
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
297
298
|
t.value,
|
|
298
|
-
|
|
299
|
+
x({
|
|
299
300
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
300
301
|
v: t.value,
|
|
301
302
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -304,7 +305,7 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
304
305
|
{ datapoint: t, seriesIndex: a }
|
|
305
306
|
)}
|
|
306
307
|
</b>` : ""}
|
|
307
|
-
${e.value.style.chart.tooltip.showPercentage ? `(${
|
|
308
|
+
${e.value.style.chart.tooltip.showPercentage ? `(${x({
|
|
308
309
|
v: b.proportion * 100,
|
|
309
310
|
s: "%",
|
|
310
311
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
@@ -317,18 +318,18 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
317
318
|
l += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.arcOf ?? ""} - ${t.name}</div>`, l += `<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="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (l += `<b>${G(
|
|
318
319
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
319
320
|
t.value,
|
|
320
|
-
|
|
321
|
+
x({
|
|
321
322
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
322
323
|
v: t.value,
|
|
323
324
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
324
325
|
r: e.value.style.chart.tooltip.roundingValue
|
|
325
326
|
}),
|
|
326
327
|
{ datapoint: t, seriesIndex: a }
|
|
327
|
-
)}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? l += `<span>(${
|
|
328
|
+
)}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? l += `<span>(${x({
|
|
328
329
|
v: t.proportion * 100,
|
|
329
330
|
s: "%",
|
|
330
331
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
331
|
-
})})</span></div>` : l += `<b>${
|
|
332
|
+
})})</span></div>` : l += `<b>${x({
|
|
332
333
|
v: t.proportion * 100,
|
|
333
334
|
s: "%",
|
|
334
335
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
@@ -340,13 +341,13 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
340
341
|
function se(t) {
|
|
341
342
|
return t.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
|
|
342
343
|
}
|
|
343
|
-
function
|
|
344
|
+
function Ne(t, s) {
|
|
344
345
|
if (!e.value.useBlurOnHover)
|
|
345
346
|
return "";
|
|
346
347
|
if (e.value.style.chart.tooltip.showAllItemsAtIndex && p.value.length === 0)
|
|
347
|
-
return [null, void 0].includes(q.value) || q.value === s ? "" : `url(#blur_${
|
|
348
|
+
return [null, void 0].includes(q.value) || q.value === s ? "" : `url(#blur_${$.value})`;
|
|
348
349
|
if (!e.value.style.chart.tooltip.showAllItemsAtIndex || p.value.length)
|
|
349
|
-
return [null, void 0].includes(H.value) || H.value === t.id ? "" : `url(#blur_${
|
|
350
|
+
return [null, void 0].includes(H.value) || H.value === t.id ? "" : `url(#blur_${$.value})`;
|
|
350
351
|
}
|
|
351
352
|
const ue = m(() => C.value.map((t, s) => t.series.map((a, o) => ({
|
|
352
353
|
name: a.name,
|
|
@@ -363,7 +364,7 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
363
364
|
opacity: p.value.includes(a.id) ? 0.5 : 1,
|
|
364
365
|
segregate: () => le(a),
|
|
365
366
|
isSegregated: p.value.includes(a.id)
|
|
366
|
-
})))),
|
|
367
|
+
})))), Je = m(() => ({
|
|
367
368
|
cy: "nested-donuts-legend",
|
|
368
369
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
369
370
|
color: e.value.style.chart.legend.color,
|
|
@@ -378,12 +379,12 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
378
379
|
}))), s = v.value.flatMap((a) => a.series.map((o) => o.value));
|
|
379
380
|
return { head: t, body: s };
|
|
380
381
|
});
|
|
381
|
-
function
|
|
382
|
-
|
|
382
|
+
function Ie() {
|
|
383
|
+
tt(() => {
|
|
383
384
|
const t = A.value.head.map((o, l) => [[
|
|
384
385
|
o.name
|
|
385
|
-
], [A.value.body[l]], [isNaN(A.value.body[l] / o.total) ? "-" : A.value.body[l] / o.total * 100]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), a =
|
|
386
|
-
|
|
386
|
+
], [A.value.body[l]], [isNaN(A.value.body[l] / o.total) ? "-" : A.value.body[l] / o.total * 100]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), a = ht(s);
|
|
387
|
+
pt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
|
|
387
388
|
});
|
|
388
389
|
}
|
|
389
390
|
const K = m(() => {
|
|
@@ -392,14 +393,14 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
392
393
|
e.value.table.columnNames.value,
|
|
393
394
|
e.value.table.columnNames.percentage
|
|
394
395
|
], s = A.value.head.map((l, i) => {
|
|
395
|
-
const b =
|
|
396
|
+
const b = x({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: A.value.body[i], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
396
397
|
return [
|
|
397
398
|
{
|
|
398
399
|
color: l.color,
|
|
399
400
|
name: l.name
|
|
400
401
|
},
|
|
401
402
|
b,
|
|
402
|
-
isNaN(A.value.body[i] / l.total) ? "-" :
|
|
403
|
+
isNaN(A.value.body[i] / l.total) ? "-" : x({
|
|
403
404
|
v: A.value.body[i] / l.total * 100,
|
|
404
405
|
s: "%",
|
|
405
406
|
r: e.value.table.td.roundingPercentage
|
|
@@ -429,39 +430,39 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
429
430
|
config: a
|
|
430
431
|
};
|
|
431
432
|
});
|
|
432
|
-
function
|
|
433
|
+
function Qe() {
|
|
433
434
|
return C.value;
|
|
434
435
|
}
|
|
435
|
-
function
|
|
436
|
+
function Ae() {
|
|
436
437
|
w.value.showTable = !w.value.showTable;
|
|
437
438
|
}
|
|
438
|
-
function
|
|
439
|
+
function Oe() {
|
|
439
440
|
w.value.dataLabels.show = !w.value.dataLabels.show;
|
|
440
441
|
}
|
|
441
|
-
function
|
|
442
|
+
function Pe() {
|
|
442
443
|
w.value.showTooltip = !w.value.showTooltip;
|
|
443
444
|
}
|
|
444
445
|
const J = d(!1);
|
|
445
446
|
function ne() {
|
|
446
447
|
J.value = !J.value;
|
|
447
448
|
}
|
|
448
|
-
return
|
|
449
|
-
getData:
|
|
449
|
+
return Ee({
|
|
450
|
+
getData: Qe,
|
|
450
451
|
generatePdf: we,
|
|
451
|
-
generateCsv:
|
|
452
|
+
generateCsv: Ie,
|
|
452
453
|
generateImage: _e,
|
|
453
|
-
toggleTable:
|
|
454
|
-
toggleLabels:
|
|
455
|
-
toggleTooltip:
|
|
454
|
+
toggleTable: Ae,
|
|
455
|
+
toggleLabels: Oe,
|
|
456
|
+
toggleTooltip: Pe,
|
|
456
457
|
toggleAnnotator: ne
|
|
457
458
|
}), (t, s) => (u(), n("div", {
|
|
458
459
|
ref_key: "nestedDonutsChart",
|
|
459
460
|
ref: z,
|
|
460
461
|
class: P(`vue-ui-nested-donuts ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
461
462
|
style: re(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${!e.value.style.chart.title.text && e.value.userOptions.show ? "padding-top:36px" : ""};background:${e.value.style.chart.backgroundColor}`),
|
|
462
|
-
id: `nested_donuts_${
|
|
463
|
+
id: `nested_donuts_${$.value}`
|
|
463
464
|
}, [
|
|
464
|
-
e.value.userOptions.buttons.annotator ? (u(), D(
|
|
465
|
+
e.value.userOptions.buttons.annotator ? (u(), D(Ft, {
|
|
465
466
|
key: 0,
|
|
466
467
|
parent: z.value,
|
|
467
468
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -474,8 +475,8 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
474
475
|
ref_key: "chartTitle",
|
|
475
476
|
ref: fe
|
|
476
477
|
}, [
|
|
477
|
-
(u(), D(
|
|
478
|
-
key: `title_${
|
|
478
|
+
(u(), D(gt, {
|
|
479
|
+
key: `title_${pe.value}`,
|
|
479
480
|
config: {
|
|
480
481
|
title: {
|
|
481
482
|
cy: "donut-div-title",
|
|
@@ -488,14 +489,14 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
488
489
|
}
|
|
489
490
|
}, null, 8, ["config"]))
|
|
490
491
|
], 512)) : f("", !0),
|
|
491
|
-
e.value.userOptions.show && Y.value ? (u(), D(
|
|
492
|
+
e.value.userOptions.show && Y.value ? (u(), D(kt, {
|
|
492
493
|
ref: "details",
|
|
493
494
|
key: `user_option_${ve.value}`,
|
|
494
495
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
495
496
|
color: e.value.style.chart.color,
|
|
496
|
-
isPrinting: r(
|
|
497
|
-
isImaging: r(
|
|
498
|
-
uid:
|
|
497
|
+
isPrinting: r(ke),
|
|
498
|
+
isImaging: r($e),
|
|
499
|
+
uid: $.value,
|
|
499
500
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
500
501
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
501
502
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -510,101 +511,101 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
510
511
|
position: e.value.userOptions.position,
|
|
511
512
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
512
513
|
isAnnotation: J.value,
|
|
513
|
-
onToggleFullscreen:
|
|
514
|
+
onToggleFullscreen: Xe,
|
|
514
515
|
onGeneratePdf: r(we),
|
|
515
|
-
onGenerateCsv:
|
|
516
|
+
onGenerateCsv: Ie,
|
|
516
517
|
onGenerateImage: r(_e),
|
|
517
|
-
onToggleTable:
|
|
518
|
-
onToggleLabels:
|
|
519
|
-
onToggleTooltip:
|
|
518
|
+
onToggleTable: Ae,
|
|
519
|
+
onToggleLabels: Oe,
|
|
520
|
+
onToggleTooltip: Pe,
|
|
520
521
|
onToggleAnnotator: ne
|
|
521
|
-
},
|
|
522
|
+
}, et({ _: 2 }, [
|
|
522
523
|
t.$slots.optionTooltip ? {
|
|
523
524
|
name: "optionTooltip",
|
|
524
525
|
fn: g(() => [
|
|
525
|
-
|
|
526
|
+
k(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
526
527
|
]),
|
|
527
528
|
key: "0"
|
|
528
529
|
} : void 0,
|
|
529
530
|
t.$slots.optionPdf ? {
|
|
530
531
|
name: "optionPdf",
|
|
531
532
|
fn: g(() => [
|
|
532
|
-
|
|
533
|
+
k(t.$slots, "optionPdf", {}, void 0, !0)
|
|
533
534
|
]),
|
|
534
535
|
key: "1"
|
|
535
536
|
} : void 0,
|
|
536
537
|
t.$slots.optionCsv ? {
|
|
537
538
|
name: "optionCsv",
|
|
538
539
|
fn: g(() => [
|
|
539
|
-
|
|
540
|
+
k(t.$slots, "optionCsv", {}, void 0, !0)
|
|
540
541
|
]),
|
|
541
542
|
key: "2"
|
|
542
543
|
} : void 0,
|
|
543
544
|
t.$slots.optionImg ? {
|
|
544
545
|
name: "optionImg",
|
|
545
546
|
fn: g(() => [
|
|
546
|
-
|
|
547
|
+
k(t.$slots, "optionImg", {}, void 0, !0)
|
|
547
548
|
]),
|
|
548
549
|
key: "3"
|
|
549
550
|
} : void 0,
|
|
550
551
|
t.$slots.optionTable ? {
|
|
551
552
|
name: "optionTable",
|
|
552
553
|
fn: g(() => [
|
|
553
|
-
|
|
554
|
+
k(t.$slots, "optionTable", {}, void 0, !0)
|
|
554
555
|
]),
|
|
555
556
|
key: "4"
|
|
556
557
|
} : void 0,
|
|
557
558
|
t.$slots.optionLabels ? {
|
|
558
559
|
name: "optionLabels",
|
|
559
560
|
fn: g(() => [
|
|
560
|
-
|
|
561
|
+
k(t.$slots, "optionLabels", {}, void 0, !0)
|
|
561
562
|
]),
|
|
562
563
|
key: "5"
|
|
563
564
|
} : void 0,
|
|
564
565
|
t.$slots.optionFullscreen ? {
|
|
565
566
|
name: "optionFullscreen",
|
|
566
567
|
fn: g(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
567
|
-
|
|
568
|
+
k(t.$slots, "optionFullscreen", R(E({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
568
569
|
]),
|
|
569
570
|
key: "6"
|
|
570
571
|
} : void 0,
|
|
571
572
|
t.$slots.optionAnnotator ? {
|
|
572
573
|
name: "optionAnnotator",
|
|
573
574
|
fn: g(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
574
|
-
|
|
575
|
+
k(t.$slots, "optionAnnotator", R(E({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
575
576
|
]),
|
|
576
577
|
key: "7"
|
|
577
578
|
} : void 0
|
|
578
579
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
|
|
579
580
|
Y.value ? (u(), n("svg", {
|
|
580
581
|
key: 3,
|
|
581
|
-
xmlns: r(
|
|
582
|
+
xmlns: r(ct),
|
|
582
583
|
class: P({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
|
|
583
584
|
viewBox: `0 0 ${h.value.width <= 0 ? 1e-3 : h.value.width} ${h.value.height < 0 ? 1e-3 : h.value.height}`,
|
|
584
585
|
style: re(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
585
586
|
}, [
|
|
586
|
-
|
|
587
|
+
ze(Ct),
|
|
587
588
|
y("defs", null, [
|
|
588
|
-
(u(!0), n(
|
|
589
|
-
id: `radial_${
|
|
589
|
+
(u(!0), n(L, null, S(Se.value, (a, o) => (u(), n("radialGradient", {
|
|
590
|
+
id: `radial_${$.value}_${o}`
|
|
590
591
|
}, [
|
|
591
|
-
|
|
592
|
+
At,
|
|
592
593
|
y("stop", {
|
|
593
|
-
offset: `${(1 - ae.value /
|
|
594
|
-
"stop-color": r(
|
|
594
|
+
offset: `${(1 - ae.value / Fe.value[o]) * 100}%`,
|
|
595
|
+
"stop-color": r(Be)("#FFFFFF", 0),
|
|
595
596
|
"stop-opacity": "0"
|
|
596
|
-
}, null, 8,
|
|
597
|
+
}, null, 8, Ot),
|
|
597
598
|
y("stop", {
|
|
598
|
-
offset: `${(1 - ae.value /
|
|
599
|
+
offset: `${(1 - ae.value / Fe.value[o] / 2) * 100}%`,
|
|
599
600
|
"stop-color": "#FFFFFF",
|
|
600
601
|
"stop-opacity": e.value.style.chart.gradientIntensity / 100
|
|
601
|
-
}, null, 8,
|
|
602
|
-
|
|
603
|
-
], 8,
|
|
602
|
+
}, null, 8, Pt),
|
|
603
|
+
Dt
|
|
604
|
+
], 8, It))), 256))
|
|
604
605
|
]),
|
|
605
606
|
y("defs", null, [
|
|
606
607
|
y("filter", {
|
|
607
|
-
id: `blur_${
|
|
608
|
+
id: `blur_${$.value}`,
|
|
608
609
|
x: "-50%",
|
|
609
610
|
y: "-50%",
|
|
610
611
|
width: "200%",
|
|
@@ -613,12 +614,12 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
613
614
|
y("feGaussianBlur", {
|
|
614
615
|
in: "SourceGraphic",
|
|
615
616
|
stdDeviation: 2,
|
|
616
|
-
id: `blur_std_${
|
|
617
|
-
}, null, 8,
|
|
618
|
-
|
|
619
|
-
], 8,
|
|
617
|
+
id: `blur_std_${$.value}`
|
|
618
|
+
}, null, 8, Vt),
|
|
619
|
+
Mt
|
|
620
|
+
], 8, zt),
|
|
620
621
|
y("filter", {
|
|
621
|
-
id: `shadow_${
|
|
622
|
+
id: `shadow_${$.value}`,
|
|
622
623
|
"color-interpolation-filters": "sRGB"
|
|
623
624
|
}, [
|
|
624
625
|
y("feDropShadow", {
|
|
@@ -627,34 +628,34 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
627
628
|
stdDeviation: "10",
|
|
628
629
|
"flood-opacity": "0.5",
|
|
629
630
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
630
|
-
}, null, 8,
|
|
631
|
-
], 8,
|
|
631
|
+
}, null, 8, Ut)
|
|
632
|
+
], 8, Bt)
|
|
632
633
|
]),
|
|
633
|
-
(u(!0), n(
|
|
634
|
-
(u(!0), n(
|
|
634
|
+
(u(!0), n(L, null, S(W.value, (a, o) => (u(), n("g", null, [
|
|
635
|
+
(u(!0), n(L, null, S(a.donut, (l, i) => (u(), n("g", null, [
|
|
635
636
|
y("path", {
|
|
636
637
|
class: "vue-ui-donut-arc-path",
|
|
637
638
|
d: l.arcSlice,
|
|
638
|
-
fill: r(
|
|
639
|
+
fill: r(Be)(l.color, 80),
|
|
639
640
|
stroke: e.value.style.chart.backgroundColor,
|
|
640
641
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
641
|
-
filter:
|
|
642
|
-
}, null, 8,
|
|
642
|
+
filter: Ne(l, i)
|
|
643
|
+
}, null, 8, Rt)
|
|
643
644
|
]))), 256))
|
|
644
645
|
]))), 256)),
|
|
645
|
-
e.value.style.chart.useGradient ? (u(), n("g",
|
|
646
|
-
(u(!0), n(
|
|
646
|
+
e.value.style.chart.useGradient ? (u(), n("g", Et, [
|
|
647
|
+
(u(!0), n(L, null, S(Se.value, (a, o) => (u(), n("g", null, [
|
|
647
648
|
y("path", {
|
|
648
649
|
d: a.donut.arcSlice,
|
|
649
|
-
fill: `url(#radial_${
|
|
650
|
+
fill: `url(#radial_${$.value}_${o})`,
|
|
650
651
|
stroke: "transparent",
|
|
651
652
|
"stroke-width": "0"
|
|
652
|
-
}, null, 8,
|
|
653
|
+
}, null, 8, Gt)
|
|
653
654
|
]))), 256))
|
|
654
655
|
])) : f("", !0),
|
|
655
|
-
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g",
|
|
656
|
-
(u(!0), n(
|
|
657
|
-
(u(!0), n(
|
|
656
|
+
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g", Yt, [
|
|
657
|
+
(u(!0), n(L, null, S(W.value, (a, o) => (u(), n("g", null, [
|
|
658
|
+
(u(!0), n(L, null, S(a.donut, (l, i) => (u(), n("g", null, [
|
|
658
659
|
i === 0 && h.value.width && h.value.height ? (u(), n("text", {
|
|
659
660
|
key: 0,
|
|
660
661
|
class: P({ animated: e.value.useCssAnimation }),
|
|
@@ -664,14 +665,14 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
664
665
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
665
666
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
|
|
666
667
|
fill: e.value.style.chart.layout.labels.dataLabels.color
|
|
667
|
-
}, N(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(
|
|
668
|
+
}, N(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(vt)({ source: a.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : a.name), 11, Xt)) : f("", !0)
|
|
668
669
|
]))), 256))
|
|
669
670
|
]))), 256))
|
|
670
671
|
])) : f("", !0),
|
|
671
|
-
e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g",
|
|
672
|
-
(u(!0), n(
|
|
673
|
-
(u(!0), n(
|
|
674
|
-
filter:
|
|
672
|
+
e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g", Wt, [
|
|
673
|
+
(u(!0), n(L, null, S(W.value, (a, o) => (u(), n("g", null, [
|
|
674
|
+
(u(!0), n(L, null, S(a.donut, (l, i) => (u(), n("g", {
|
|
675
|
+
filter: Ne(l, i)
|
|
675
676
|
}, [
|
|
676
677
|
se(l) && w.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (u(), n("text", {
|
|
677
678
|
key: 0,
|
|
@@ -682,7 +683,7 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
682
683
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
683
684
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
684
685
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
|
|
685
|
-
}, N(r(
|
|
686
|
+
}, N(r(x)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, qt)) : f("", !0),
|
|
686
687
|
se(l) && w.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
687
688
|
key: 1,
|
|
688
689
|
class: P({ animated: e.value.useCssAnimation }),
|
|
@@ -695,14 +696,14 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
695
696
|
}, " (" + N(r(G)(
|
|
696
697
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
697
698
|
l.value,
|
|
698
|
-
r(
|
|
699
|
+
r(x)({
|
|
699
700
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
700
701
|
v: l.value,
|
|
701
702
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
702
703
|
r: e.value.style.chart.layout.labels.dataLabels.roundingValue
|
|
703
704
|
}),
|
|
704
705
|
{ datapoint: l, seriesIndex: o, datapointIndex: i }
|
|
705
|
-
)) + ") ", 11,
|
|
706
|
+
)) + ") ", 11, Kt)) : f("", !0),
|
|
706
707
|
se(l) && w.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
707
708
|
key: 2,
|
|
708
709
|
class: P({ animated: e.value.useCssAnimation }),
|
|
@@ -715,41 +716,41 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
715
716
|
}, N(r(G)(
|
|
716
717
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
717
718
|
l.value,
|
|
718
|
-
r(
|
|
719
|
+
r(x)({
|
|
719
720
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
720
721
|
v: l.value,
|
|
721
722
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
722
723
|
r: e.value.style.chart.layout.labels.dataLabels.roundingValue
|
|
723
724
|
}),
|
|
724
725
|
{ datapoint: l, seriesIndex: o, datapointIndex: i }
|
|
725
|
-
)), 11,
|
|
726
|
-
], 8,
|
|
726
|
+
)), 11, Jt)) : f("", !0)
|
|
727
|
+
], 8, Ht))), 256))
|
|
727
728
|
]))), 256))
|
|
728
729
|
])) : f("", !0),
|
|
729
|
-
(u(!0), n(
|
|
730
|
-
(u(!0), n(
|
|
730
|
+
(u(!0), n(L, null, S(W.value, (a, o) => (u(), n("g", null, [
|
|
731
|
+
(u(!0), n(L, null, S(a.donut, (l, i) => (u(), n("g", null, [
|
|
731
732
|
y("path", {
|
|
732
733
|
"data-cy-donut-trap": "",
|
|
733
734
|
d: l.arcSlice,
|
|
734
|
-
fill:
|
|
735
|
-
onMouseenter: (b) =>
|
|
735
|
+
fill: Ye.value === o ? "rgba(0,0,0,0.1)" : "transparent",
|
|
736
|
+
onMouseenter: (b) => Ke({
|
|
736
737
|
datapoint: l,
|
|
737
738
|
relativeIndex: o,
|
|
738
739
|
seriesIndex: l.seriesIndex
|
|
739
740
|
}),
|
|
740
|
-
onClick: (b) =>
|
|
741
|
+
onClick: (b) => He({ datapoint: l, index: i }),
|
|
741
742
|
onMouseleave: s[0] || (s[0] = (b) => {
|
|
742
|
-
j.value = !1,
|
|
743
|
+
j.value = !1, Te.value = null, H.value = null, q.value = null;
|
|
743
744
|
})
|
|
744
|
-
}, null, 40,
|
|
745
|
+
}, null, 40, Qt)
|
|
745
746
|
]))), 256))
|
|
746
747
|
]))), 256)),
|
|
747
|
-
|
|
748
|
-
], 14,
|
|
749
|
-
t.$slots.watermark ? (u(), n("div",
|
|
750
|
-
|
|
748
|
+
k(t.$slots, "svg", { svg: h.value }, void 0, !0)
|
|
749
|
+
], 14, Nt)) : f("", !0),
|
|
750
|
+
t.$slots.watermark ? (u(), n("div", Zt, [
|
|
751
|
+
k(t.$slots, "watermark", R(E({ isPrinting: r(ke) || r($e) })), void 0, !0)
|
|
751
752
|
])) : f("", !0),
|
|
752
|
-
Y.value ? f("", !0) : (u(), D(
|
|
753
|
+
Y.value ? f("", !0) : (u(), D(Lt, {
|
|
753
754
|
key: 5,
|
|
754
755
|
config: {
|
|
755
756
|
type: "donut",
|
|
@@ -761,7 +762,7 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
761
762
|
}
|
|
762
763
|
}
|
|
763
764
|
}, null, 8, ["config"])),
|
|
764
|
-
|
|
765
|
+
ze(wt, {
|
|
765
766
|
show: w.value.showTooltip && j.value,
|
|
766
767
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
767
768
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -774,13 +775,13 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
774
775
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
775
776
|
parent: z.value,
|
|
776
777
|
content: ee.value,
|
|
777
|
-
isCustom: r(
|
|
778
|
+
isCustom: r(Ue)(e.value.style.chart.tooltip.customFormat)
|
|
778
779
|
}, {
|
|
779
780
|
"tooltip-before": g(() => [
|
|
780
|
-
|
|
781
|
+
k(t.$slots, "tooltip-before", R(E({ ...oe.value })), void 0, !0)
|
|
781
782
|
]),
|
|
782
783
|
"tooltip-after": g(() => [
|
|
783
|
-
|
|
784
|
+
k(t.$slots, "tooltip-after", R(E({ ...oe.value })), void 0, !0)
|
|
784
785
|
]),
|
|
785
786
|
_: 3
|
|
786
787
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
@@ -790,14 +791,14 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
790
791
|
ref: te,
|
|
791
792
|
class: P({ "vue-ui-nested-donuts-legend": ue.value.length > 1 })
|
|
792
793
|
}, [
|
|
793
|
-
(u(!0), n(
|
|
794
|
-
key: `legend_${o}_${
|
|
794
|
+
(u(!0), n(L, null, S(ue.value, (a, o) => (u(), D(_t, {
|
|
795
|
+
key: `legend_${o}_${be.value}`,
|
|
795
796
|
legendSet: a,
|
|
796
|
-
config:
|
|
797
|
+
config: Je.value,
|
|
797
798
|
onClickMarker: s[1] || (s[1] = ({ legend: l }) => le(l))
|
|
798
799
|
}, {
|
|
799
800
|
legendTitle: g(({ titleSet: l }) => [
|
|
800
|
-
l[0] && l[0].arcOf ? (u(), n("div",
|
|
801
|
+
l[0] && l[0].arcOf ? (u(), n("div", jt, N(l[0].arcOf), 1)) : f("", !0)
|
|
801
802
|
]),
|
|
802
803
|
item: g(({ legend: l, index: i }) => [
|
|
803
804
|
y("div", {
|
|
@@ -807,7 +808,7 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
807
808
|
Q(N(l.name) + ": " + N(r(G)(
|
|
808
809
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
809
810
|
l.value,
|
|
810
|
-
r(
|
|
811
|
+
r(x)({
|
|
811
812
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
812
813
|
v: l.value,
|
|
813
814
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -815,12 +816,12 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
815
816
|
}),
|
|
816
817
|
{ datapoint: l, seriesIndex: i }
|
|
817
818
|
)) + " ", 1),
|
|
818
|
-
p.value.includes(l.id) ? (u(), n(
|
|
819
|
+
p.value.includes(l.id) ? (u(), n(L, { key: 1 }, [
|
|
819
820
|
Q(" ( - % ) ")
|
|
820
|
-
], 64)) : (u(), n(
|
|
821
|
-
Q(" (" + N(isNaN(l.value / l.total) ? "-" : r(
|
|
821
|
+
], 64)) : (u(), n(L, { key: 0 }, [
|
|
822
|
+
Q(" (" + N(isNaN(l.value / l.total) ? "-" : r(x)({ v: l.value / l.total * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })) + ") ", 1)
|
|
822
823
|
], 64))
|
|
823
|
-
], 12,
|
|
824
|
+
], 12, el)
|
|
824
825
|
]),
|
|
825
826
|
_: 2
|
|
826
827
|
}, 1032, ["legendSet", "config"]))), 128))
|
|
@@ -830,10 +831,18 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
830
831
|
ref_key: "chartLegend",
|
|
831
832
|
ref: te
|
|
832
833
|
}, [
|
|
833
|
-
|
|
834
|
+
k(t.$slots, "legend", { legend: ue.value }, void 0, !0)
|
|
834
835
|
], 512)),
|
|
835
|
-
|
|
836
|
+
t.$slots.source ? (u(), n("div", {
|
|
836
837
|
key: 8,
|
|
838
|
+
ref_key: "source",
|
|
839
|
+
ref: he,
|
|
840
|
+
dir: "auto"
|
|
841
|
+
}, [
|
|
842
|
+
k(t.$slots, "source", {}, void 0, !0)
|
|
843
|
+
], 512)) : f("", !0),
|
|
844
|
+
Y.value ? (u(), D(xt, {
|
|
845
|
+
key: 9,
|
|
837
846
|
hideDetails: "",
|
|
838
847
|
config: {
|
|
839
848
|
open: w.value.showTable,
|
|
@@ -849,8 +858,8 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
849
858
|
}
|
|
850
859
|
}, {
|
|
851
860
|
content: g(() => [
|
|
852
|
-
(u(), D(
|
|
853
|
-
key: `table_${
|
|
861
|
+
(u(), D($t, {
|
|
862
|
+
key: `table_${ye.value}`,
|
|
854
863
|
colNames: K.value.colNames,
|
|
855
864
|
head: K.value.head,
|
|
856
865
|
body: K.value.body,
|
|
@@ -862,7 +871,7 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
862
871
|
y("div", {
|
|
863
872
|
innerHTML: a,
|
|
864
873
|
style: { display: "flex", "align-items": "center" }
|
|
865
|
-
}, null, 8,
|
|
874
|
+
}, null, 8, tl)
|
|
866
875
|
]),
|
|
867
876
|
td: g(({ td: a }) => [
|
|
868
877
|
Q(N(a.name || a), 1)
|
|
@@ -872,9 +881,9 @@ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = [
|
|
|
872
881
|
]),
|
|
873
882
|
_: 1
|
|
874
883
|
}, 8, ["config"])) : f("", !0)
|
|
875
|
-
], 14,
|
|
884
|
+
], 14, Tt));
|
|
876
885
|
}
|
|
877
|
-
},
|
|
886
|
+
}, bl = /* @__PURE__ */ St(ll, [["__scopeId", "data-v-65f48b0a"]]);
|
|
878
887
|
export {
|
|
879
|
-
|
|
888
|
+
bl as default
|
|
880
889
|
};
|