vue-data-ui 2.3.90 → 2.3.92
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 -2
- package/dist/{Arrow-C_Fnn6al.js → Arrow-16rQhq4i.js} +1 -1
- package/dist/{Arrow-D1pymKl6.cjs → Arrow-CdJD01md.cjs} +1 -1
- package/dist/{BaseIcon-BMfi5PnL.js → BaseIcon-CAmYNoaf.js} +1 -1
- package/dist/{BaseIcon-CnFXP_n9.cjs → BaseIcon-dYWMubrH.cjs} +1 -1
- package/dist/{DataTable-Cmbf3abv.js → DataTable-BXnbua0J.js} +2 -2
- package/dist/{DataTable-cOEA6Z37.cjs → DataTable-oa0Srfuc.cjs} +1 -1
- package/dist/{Legend-CCq0mNRg.js → Legend-Cr1hulgT.js} +1 -1
- package/dist/{Legend-XqP6-7Ac.cjs → Legend-Dhm9_peB.cjs} +1 -1
- package/dist/PackageVersion-BVZfgDqm.js +10 -0
- package/dist/PackageVersion-BkgJVmj1.cjs +1 -0
- package/dist/{Shape-BNocET8E.js → Shape-D75m5xWM.js} +1 -1
- package/dist/{Shape-B51JGReT.cjs → Shape-hGbEoQOv.cjs} +1 -1
- package/dist/{Slicer-Bc7OWCcl.cjs → Slicer-B7ya0m2Q.cjs} +1 -1
- package/dist/{Slicer-BKszZXjM.js → Slicer-Bx8AozB8.js} +2 -2
- package/dist/{Title-DlBwa3-X.js → Title-1Sw6EmHy.js} +1 -1
- package/dist/{Title-BaR4XyXa.cjs → Title-Bjrh7khe.cjs} +1 -1
- package/dist/{Tooltip-CX57w9Q9.cjs → Tooltip-CPATjuur.cjs} +1 -1
- package/dist/{Tooltip-w32n-8sY.js → Tooltip-EJf3VBPR.js} +1 -1
- package/dist/documentation/installation.md +1 -1
- package/dist/index-D09qCApg.cjs +4 -0
- package/dist/{index-DQl1TFXa.js → index-DhJby8wL.js} +8 -3
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +16 -0
- package/dist/types/vue-data-ui.d.ts +16 -0
- package/dist/{useNestedProp-DlCe_zZz.cjs → useNestedProp-Bwd7mK1Z.cjs} +1 -1
- package/dist/{useNestedProp-lmeFt-ev.js → useNestedProp-CrHvyupb.js} +1 -1
- package/dist/{usePrinter-DgKGVvJC.js → usePrinter-Bwm8J3RQ.js} +1 -1
- package/dist/{usePrinter-BmXrEJ99.cjs → usePrinter-DdsPm5a4.cjs} +1 -1
- package/dist/{vue-data-ui-Byrb_Y3k.js → vue-data-ui-CLxne31S.js} +57 -57
- package/dist/{vue-data-ui-DQurgvN8.cjs → vue-data-ui-ZitCqVgG.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-DAv5cYGJ.cjs +19 -0
- package/dist/{vue-ui-3d-bar-CM_usP2U.js → vue-ui-3d-bar-Dg87_AAm.js} +148 -146
- package/dist/{vue-ui-accordion-DRI-fN6I.cjs → vue-ui-accordion-BAHX7KzB.cjs} +1 -1
- package/dist/{vue-ui-accordion-CroZrm7T.js → vue-ui-accordion-Cn5Jbplg.js} +3 -3
- package/dist/vue-ui-age-pyramid-GzHwQzsH.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-BZU-WI_a.js → vue-ui-age-pyramid-PlamQWqC.js} +83 -81
- package/dist/{vue-ui-annotator-BpzM25VY.cjs → vue-ui-annotator-DGgQwl-K.cjs} +1 -1
- package/dist/{vue-ui-annotator-CsfYgmrC.js → vue-ui-annotator-Dd5KF_cy.js} +1 -1
- package/dist/vue-ui-candlestick-BIEB2J1w.cjs +2 -0
- package/dist/{vue-ui-candlestick-BPi7aBEf.js → vue-ui-candlestick-DTzwPhV5.js} +113 -111
- package/dist/{vue-ui-carousel-table-CpodLcgX.cjs → vue-ui-carousel-table-HNTf5AYY.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-tbviS8Fo.js → vue-ui-carousel-table-YEfvPESA.js} +4 -4
- package/dist/vue-ui-chestnut-DzjdAYsT.cjs +6 -0
- package/dist/{vue-ui-chestnut-ql9yEs6j.js → vue-ui-chestnut-PzMOM7mp.js} +161 -159
- package/dist/{vue-ui-cursor-B3w0SgJP.cjs → vue-ui-cursor-C5rsiCdn.cjs} +1 -1
- package/dist/{vue-ui-cursor-Dw7_R_Pd.js → vue-ui-cursor-DWea2yXV.js} +2 -2
- package/dist/{vue-ui-dashboard-enrB5B3P.cjs → vue-ui-dashboard-BqXhoS8m.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DAY0cdat.js → vue-ui-dashboard-CVespiTo.js} +2 -2
- package/dist/{vue-ui-digits-DN6CRpXc.js → vue-ui-digits-gNKgZqYU.js} +2 -2
- package/dist/{vue-ui-digits-3Q6uZCzD.cjs → vue-ui-digits-wmDN7Vkf.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-CzBvVRKG.js → vue-ui-donut-evolution-Ch6HH0ja.js} +102 -100
- package/dist/vue-ui-donut-evolution-DhDxLZ1J.cjs +1 -0
- package/dist/vue-ui-donut-n37BZPxr.cjs +1 -0
- package/dist/{vue-ui-donut-B3yDJvZI.js → vue-ui-donut-sQunZI1L.js} +118 -116
- package/dist/vue-ui-dumbbell-B9Z_pjnG.cjs +9 -0
- package/dist/{vue-ui-dumbbell-vQ5YRGwJ.js → vue-ui-dumbbell-lFlZX8Yi.js} +88 -86
- package/dist/vue-ui-flow-BaFpUJg-.cjs +1 -0
- package/dist/{vue-ui-flow-DAOKURA6.js → vue-ui-flow-CSIOC-JR.js} +65 -63
- package/dist/vue-ui-galaxy-BIR5GxIc.cjs +1 -0
- package/dist/{vue-ui-galaxy-B86BK1JM.js → vue-ui-galaxy-DL2mnel_.js} +82 -80
- package/dist/{vue-ui-gauge-n8TilFo9.js → vue-ui-gauge-BMq7KT3t.js} +56 -54
- package/dist/vue-ui-gauge-r_qvpwE7.cjs +1 -0
- package/dist/vue-ui-gizmo-DBas_Sw_.cjs +1 -0
- package/dist/{vue-ui-gizmo-CFIBlG4V.js → vue-ui-gizmo-Dj7zvNI1.js} +32 -30
- package/dist/{vue-ui-heatmap-ZkmD9EAg.js → vue-ui-heatmap-pqBYIrxm.js} +99 -97
- package/dist/vue-ui-heatmap-qPgEhAzc.cjs +1 -0
- package/dist/{vue-ui-kpi-D6Myg0y1.cjs → vue-ui-kpi-Cmo9J7wp.cjs} +1 -1
- package/dist/{vue-ui-kpi-CtJ3t6GX.js → vue-ui-kpi-ZPBinMiF.js} +3 -3
- package/dist/{vue-ui-mini-loader-BjJ_YYZj.cjs → vue-ui-mini-loader-Ce-jbgMT.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-Cosy9XjR.js → vue-ui-mini-loader-DOTWhLi9.js} +2 -2
- package/dist/vue-ui-molecule-D429iwPP.cjs +1 -0
- package/dist/{vue-ui-molecule-DTFOBjgC.js → vue-ui-molecule-RDpgNrHQ.js} +77 -75
- package/dist/{vue-ui-mood-radar-J_dI9m_i.js → vue-ui-mood-radar-CD5L8WCU.js} +76 -74
- package/dist/vue-ui-mood-radar-CdLJxrkT.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-CtqU4xxu.js → vue-ui-nested-donuts-A-tid5cQ.js} +112 -110
- package/dist/vue-ui-nested-donuts-DyM3uc7x.cjs +17 -0
- package/dist/vue-ui-onion-BKql8oal.cjs +5 -0
- package/dist/{vue-ui-onion-BMo0Ye54.js → vue-ui-onion-Cap01Ehu.js} +82 -80
- package/dist/vue-ui-parallel-coordinate-plot-B0zMgtnq.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-yKLZbDS5.js → vue-ui-parallel-coordinate-plot-CcDKe4L0.js} +91 -89
- package/dist/{vue-ui-quadrant-BrRasVaj.js → vue-ui-quadrant-BDEfAeyJ.js} +141 -139
- package/dist/vue-ui-quadrant-CZzdpeQ2.cjs +1 -0
- package/dist/{vue-ui-quick-chart-uH33UIjX.js → vue-ui-quick-chart-DlAUYg5u.js} +166 -164
- package/dist/vue-ui-quick-chart-DpGYUyhq.cjs +15 -0
- package/dist/{vue-ui-radar-BJ3qMHP4.js → vue-ui-radar-CbTln7gs.js} +89 -87
- package/dist/vue-ui-radar-oBeaHlpT.cjs +1 -0
- package/dist/{vue-ui-rating-BEWaQMBR.cjs → vue-ui-rating-BU7-F3_e.cjs} +1 -1
- package/dist/{vue-ui-rating-BFskhiyh.js → vue-ui-rating-BkDncqow.js} +2 -2
- package/dist/{vue-ui-relation-circle-DdK4qk0P.js → vue-ui-relation-circle-C5B6UNGd.js} +54 -52
- package/dist/vue-ui-relation-circle-IWiJWgcB.cjs +1 -0
- package/dist/{vue-ui-rings-BqHSq6Wt.js → vue-ui-rings-BujVUJ90.js} +97 -93
- package/dist/{vue-ui-rings-D_T_D6AS.cjs → vue-ui-rings-Df2cRgD8.cjs} +2 -2
- package/dist/{vue-ui-scatter-C0gfF6NJ.js → vue-ui-scatter-D6yqZJ7s.js} +132 -130
- package/dist/vue-ui-scatter-jFTeM2hW.cjs +1 -0
- package/dist/{vue-ui-screenshot-6tOLntj9.js → vue-ui-screenshot-CHAySwpv.js} +1 -1
- package/dist/{vue-ui-screenshot-CbvIYfYU.cjs → vue-ui-screenshot-CVu8IM33.cjs} +1 -1
- package/dist/{vue-ui-skeleton-BVJGmYjj.js → vue-ui-skeleton-ASX40MGk.js} +423 -388
- package/dist/vue-ui-skeleton-CAlTn_Cg.cjs +41 -0
- package/dist/{vue-ui-smiley-2EoxEmXW.js → vue-ui-smiley-DGVzhza2.js} +2 -2
- package/dist/{vue-ui-smiley-CUgH2tnV.cjs → vue-ui-smiley-dwCqhB0r.cjs} +1 -1
- package/dist/vue-ui-spark-trend-A1EHFK_r.cjs +1 -0
- package/dist/{vue-ui-spark-trend-DjNPMOkN.js → vue-ui-spark-trend-B7XhDvTj.js} +42 -40
- package/dist/{vue-ui-sparkbar-BBm3DE1P.js → vue-ui-sparkbar-BuNcvi66.js} +53 -51
- package/dist/vue-ui-sparkbar-CwNjHOjD.cjs +1 -0
- package/dist/vue-ui-sparkgauge-ISu154lS.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-IIW24eJQ.js → vue-ui-sparkgauge-JY2kB9WX.js} +31 -29
- package/dist/vue-ui-sparkhistogram-C8zyC-ii.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-DVXxA6ji.js → vue-ui-sparkhistogram-DyEPWxkP.js} +69 -67
- package/dist/vue-ui-sparkline-DL3Thtc4.cjs +1 -0
- package/dist/{vue-ui-sparkline-CH89kcaa.js → vue-ui-sparkline-DYC3sdvQ.js} +65 -63
- package/dist/{vue-ui-sparkstackbar-Bcod5yu_.js → vue-ui-sparkstackbar-7TmtP3WR.js} +46 -44
- package/dist/vue-ui-sparkstackbar-ChIM9bn2.cjs +1 -0
- package/dist/{vue-ui-stackbar-Djjcgtyg.js → vue-ui-stackbar-CP5C6Gb_.js} +128 -126
- package/dist/vue-ui-stackbar-DrtiSaNc.cjs +6 -0
- package/dist/vue-ui-strip-plot-BMYMIHGu.cjs +1 -0
- package/dist/{vue-ui-strip-plot-ByPCQ4xk.js → vue-ui-strip-plot-DJQCq_KE.js} +78 -76
- package/dist/{vue-ui-table-B6Kpda3o.cjs → vue-ui-table-D6hvgMif.cjs} +1 -1
- package/dist/{vue-ui-table-D8Sm2fzX.js → vue-ui-table-IJi0xaVg.js} +1 -1
- package/dist/{vue-ui-table-heatmap-DjEN0l12.cjs → vue-ui-table-heatmap-BZNKXZNs.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-mlq_J56h.js → vue-ui-table-heatmap-Ls8_xq0D.js} +4 -4
- package/dist/{vue-ui-table-sparkline-DByva7rj.cjs → vue-ui-table-sparkline-BQFK30H1.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DF29_qZk.js → vue-ui-table-sparkline-BeuvdssX.js} +5 -5
- package/dist/vue-ui-thermometer-DKm8SXlE.cjs +1 -0
- package/dist/{vue-ui-thermometer-BKf-rGuS.js → vue-ui-thermometer-DPWIvG92.js} +80 -78
- package/dist/{vue-ui-timer-B8jW8M60.js → vue-ui-timer-CEzDvZf7.js} +62 -60
- package/dist/vue-ui-timer-n6lv7oTx.cjs +64 -0
- package/dist/vue-ui-tiremarks-B33mHXZN.cjs +1 -0
- package/dist/{vue-ui-tiremarks-riEfve5q.js → vue-ui-tiremarks-BUGoY22W.js} +51 -49
- package/dist/vue-ui-treemap-DPxBZUUr.cjs +1 -0
- package/dist/{vue-ui-treemap-5F0ynBnb.js → vue-ui-treemap-DmOYjJ_F.js} +93 -91
- package/dist/vue-ui-vertical-bar-BJMYX8t4.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CxRBvHZy.js → vue-ui-vertical-bar-BpVKdSY5.js} +110 -108
- package/dist/vue-ui-waffle-DGcueccy.cjs +1 -0
- package/dist/{vue-ui-waffle-B8G4i5WH.js → vue-ui-waffle-ULg6SwPx.js} +72 -70
- package/dist/vue-ui-wheel-CWKq-CFW.cjs +1 -0
- package/dist/{vue-ui-wheel-DmzkGeCY.js → vue-ui-wheel-DlmgZd-_.js} +43 -41
- package/dist/vue-ui-word-cloud-BhHWdmqP.cjs +1 -0
- package/dist/vue-ui-word-cloud-DWyboczt.js +574 -0
- package/dist/vue-ui-xy-Cz81fw_E.cjs +3 -0
- package/dist/{vue-ui-xy-iUQyB_PL.js → vue-ui-xy-V13Ns1gv.js} +507 -504
- package/dist/{vue-ui-xy-canvas-nraUv13Y.js → vue-ui-xy-canvas-B9cRe5gT.js} +10 -10
- package/dist/{vue-ui-xy-canvas-CCwtKYgd.cjs → vue-ui-xy-canvas-GiuHOyj5.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-B8EMsnjU.cjs +0 -4
- package/dist/vue-ui-3d-bar-Ce-Re50D.cjs +0 -19
- package/dist/vue-ui-age-pyramid-C08rTXJn.cjs +0 -1
- package/dist/vue-ui-candlestick-m8fjxbj-.cjs +0 -2
- package/dist/vue-ui-chestnut-Y0gQvbbf.cjs +0 -6
- package/dist/vue-ui-donut-CCm7GJsm.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DiN8Jm0n.cjs +0 -1
- package/dist/vue-ui-dumbbell-lb72j7bY.cjs +0 -9
- package/dist/vue-ui-flow-B5Gxaqvl.cjs +0 -1
- package/dist/vue-ui-galaxy-Ck5cPkrh.cjs +0 -1
- package/dist/vue-ui-gauge-BwIhwSUw.cjs +0 -1
- package/dist/vue-ui-gizmo-DrGaoiM_.cjs +0 -1
- package/dist/vue-ui-heatmap-BLc6thGZ.cjs +0 -1
- package/dist/vue-ui-molecule-CAj1HFit.cjs +0 -1
- package/dist/vue-ui-mood-radar-CV2in2wO.cjs +0 -1
- package/dist/vue-ui-nested-donuts-4vO23n9z.cjs +0 -17
- package/dist/vue-ui-onion-B3mtn6xf.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DFMbhLY9.cjs +0 -8
- package/dist/vue-ui-quadrant-CpJX1Jwa.cjs +0 -1
- package/dist/vue-ui-quick-chart-CTxsI2tk.cjs +0 -15
- package/dist/vue-ui-radar-DFjsXmJ3.cjs +0 -1
- package/dist/vue-ui-relation-circle-DXuKdCih.cjs +0 -1
- package/dist/vue-ui-scatter-DPByFMNL.cjs +0 -1
- package/dist/vue-ui-skeleton-Bli7jLZ7.cjs +0 -41
- package/dist/vue-ui-spark-trend-sfgUJ32Q.cjs +0 -1
- package/dist/vue-ui-sparkbar-CKWYzriN.cjs +0 -1
- package/dist/vue-ui-sparkgauge-D0q9F9Nz.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-CywhBkm2.cjs +0 -1
- package/dist/vue-ui-sparkline-Besp8Ffy.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-qXm8Ozzm.cjs +0 -1
- package/dist/vue-ui-stackbar-D0fGVkCR.cjs +0 -6
- package/dist/vue-ui-strip-plot-XDj8rL9m.cjs +0 -1
- package/dist/vue-ui-thermometer-C3T56ras.cjs +0 -1
- package/dist/vue-ui-timer-B_ZvV1ON.cjs +0 -64
- package/dist/vue-ui-tiremarks-DRbSpTgq.cjs +0 -1
- package/dist/vue-ui-treemap-CtKUTs2G.cjs +0 -1
- package/dist/vue-ui-vertical-bar-BBIWdeXH.cjs +0 -4
- package/dist/vue-ui-waffle-9a3C4Nj-.cjs +0 -1
- package/dist/vue-ui-wheel-CErxlmqw.cjs +0 -1
- package/dist/vue-ui-word-cloud-dMBTVGVk.js +0 -513
- package/dist/vue-ui-word-cloud-nmx846H2.cjs +0 -1
- package/dist/vue-ui-xy-CLYgZk3Y.cjs +0 -3
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
import { computed as g, ref as d, watch as De, onMounted as
|
|
2
|
-
import { u as tt, c as lt, t as at, a as ot, p as Q, o as st, e as A, b as ut, G as
|
|
1
|
+
import { computed as g, ref as d, watch as De, onMounted as Je, onBeforeUnmount as Ke, openBlock as u, createElementBlock as n, normalizeClass as z, normalizeStyle as ue, createBlock as P, createCommentVNode as y, unref as r, createSlots as Qe, withCtx as m, renderSlot as $, normalizeProps as q, guardReactiveProps as J, createVNode as Oe, createElementVNode as p, Fragment as x, renderList as S, toDisplayString as T, createTextVNode as K, nextTick as Ze, pushScopeId as je, popScopeId as et } from "vue";
|
|
2
|
+
import { u as tt, c as lt, t as at, a as ot, p as Q, o as st, e as A, b as ut, G as ze, d as nt, m as Pe, f as L, X as rt, s as Ae, I as it, k as V, n as ne, i as G, x as Ve, y as dt, q as ct, r as vt } from "./index-DhJby8wL.js";
|
|
3
3
|
import { t as ft, u as ht } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
-
import { _ as yt } from "./Title-
|
|
5
|
-
import { u as pt, U as bt } from "./usePrinter-
|
|
6
|
-
import { D as gt } from "./DataTable-
|
|
7
|
-
import { _ as mt } from "./Tooltip-
|
|
8
|
-
import { L as
|
|
9
|
-
import
|
|
10
|
-
import kt from "./vue-ui-accordion-
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as xt } from "./
|
|
13
|
-
|
|
4
|
+
import { _ as yt } from "./Title-1Sw6EmHy.js";
|
|
5
|
+
import { u as pt, U as bt } from "./usePrinter-Bwm8J3RQ.js";
|
|
6
|
+
import { D as gt } from "./DataTable-BXnbua0J.js";
|
|
7
|
+
import { _ as mt } from "./Tooltip-EJf3VBPR.js";
|
|
8
|
+
import { L as _t } from "./Legend-Cr1hulgT.js";
|
|
9
|
+
import wt from "./vue-ui-skeleton-ASX40MGk.js";
|
|
10
|
+
import kt from "./vue-ui-accordion-Cn5Jbplg.js";
|
|
11
|
+
import { u as Me } from "./useNestedProp-CrHvyupb.js";
|
|
12
|
+
import { _ as xt } from "./PackageVersion-BVZfgDqm.js";
|
|
13
|
+
import { _ as $t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = ["xmlns", "viewBox"], Ft = ["id"], St = /* @__PURE__ */ re(() => /* @__PURE__ */ p("stop", {
|
|
14
15
|
offset: "0%",
|
|
15
16
|
"stop-color": "#FFFFFF",
|
|
16
17
|
"stop-opacity": "0"
|
|
17
|
-
}, null, -1)),
|
|
18
|
+
}, null, -1)), Nt = ["offset", "stop-color"], Tt = ["offset", "stop-opacity"], It = /* @__PURE__ */ re(() => /* @__PURE__ */ p("stop", {
|
|
18
19
|
offset: "100%",
|
|
19
20
|
"stop-color": "#FFFFFF",
|
|
20
21
|
"stop-opacity": "0"
|
|
21
|
-
}, null, -1)),
|
|
22
|
+
}, null, -1)), Dt = ["id"], Ot = ["id"], zt = /* @__PURE__ */ re(() => /* @__PURE__ */ p("feColorMatrix", {
|
|
22
23
|
type: "saturate",
|
|
23
24
|
values: "0"
|
|
24
|
-
}, null, -1)),
|
|
25
|
+
}, null, -1)), Pt = ["id"], At = ["flood-color"], Vt = ["d", "fill", "stroke", "stroke-width", "filter"], Mt = { key: 0 }, Bt = ["d", "fill"], Ut = { key: 1 }, Gt = ["x", "y", "font-size", "font-weight", "fill"], Rt = { key: 2 }, Et = ["filter"], Yt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Xt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Wt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Ht = ["d", "fill", "onMouseenter", "onClick"], qt = {
|
|
25
26
|
key: 3,
|
|
26
27
|
class: "vue-data-ui-watermark"
|
|
27
|
-
},
|
|
28
|
+
}, Jt = {
|
|
28
29
|
key: 0,
|
|
29
30
|
class: "vue-ui-nested-donuts-legend-title"
|
|
30
|
-
},
|
|
31
|
+
}, Kt = ["onClick"], Qt = ["innerHTML"], Zt = {
|
|
31
32
|
__name: "vue-ui-nested-donuts",
|
|
32
33
|
props: {
|
|
33
34
|
config: {
|
|
@@ -44,9 +45,9 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
44
45
|
}
|
|
45
46
|
},
|
|
46
47
|
emits: ["selectLegend", "selectDatapoint"],
|
|
47
|
-
setup(M, { expose:
|
|
48
|
-
const I = M, { vue_ui_nested_donuts:
|
|
49
|
-
function
|
|
48
|
+
setup(M, { expose: Be, emit: ie }) {
|
|
49
|
+
const I = M, { vue_ui_nested_donuts: Ue } = tt(), R = g(() => !!I.dataset && I.dataset.length), _ = d(lt()), Z = d(!1), j = d(""), Ge = d(null), de = d(0), B = d(null), ce = d(null), ee = d(null), ve = d(0), fe = d(0), he = d(0), U = d(!1);
|
|
50
|
+
function Re(t) {
|
|
50
51
|
U.value = t, de.value += 1;
|
|
51
52
|
}
|
|
52
53
|
const e = g({
|
|
@@ -54,12 +55,12 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
54
55
|
set: (t) => t
|
|
55
56
|
});
|
|
56
57
|
function ye() {
|
|
57
|
-
const t =
|
|
58
|
+
const t = Me({
|
|
58
59
|
userConfig: I.config,
|
|
59
|
-
defaultConfig:
|
|
60
|
+
defaultConfig: Ue
|
|
60
61
|
});
|
|
61
62
|
return t.theme ? {
|
|
62
|
-
...
|
|
63
|
+
...Me({
|
|
63
64
|
userConfig: at.vue_ui_nested_donuts[t.theme] || I.config,
|
|
64
65
|
defaultConfig: t
|
|
65
66
|
}),
|
|
@@ -70,7 +71,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
70
71
|
e.value = ye(), pe(), ve.value += 1, fe.value += 1, he.value += 1;
|
|
71
72
|
}, { deep: !0 });
|
|
72
73
|
const E = d(null);
|
|
73
|
-
|
|
74
|
+
Je(() => {
|
|
74
75
|
pe();
|
|
75
76
|
});
|
|
76
77
|
function pe() {
|
|
@@ -89,13 +90,13 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
89
90
|
E.value = new ResizeObserver(t), E.value.observe(B.value.parentNode);
|
|
90
91
|
}
|
|
91
92
|
}
|
|
92
|
-
|
|
93
|
+
Ke(() => {
|
|
93
94
|
E.value && E.value.disconnect();
|
|
94
95
|
});
|
|
95
|
-
const { isPrinting: be, isImaging: ge, generatePdf: me, generateImage:
|
|
96
|
-
elementId: `nested_donuts_${
|
|
96
|
+
const { isPrinting: be, isImaging: ge, generatePdf: me, generateImage: _e } = pt({
|
|
97
|
+
elementId: `nested_donuts_${_.value}`,
|
|
97
98
|
fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts"
|
|
98
|
-
}),
|
|
99
|
+
}), Ee = g(() => ut(e.value.customPalette)), w = d({
|
|
99
100
|
dataLabels: {
|
|
100
101
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
101
102
|
},
|
|
@@ -105,7 +106,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
105
106
|
height: 512,
|
|
106
107
|
width: 512
|
|
107
108
|
});
|
|
108
|
-
function
|
|
109
|
+
function Ye({ datapoint: t, index: s }) {
|
|
109
110
|
ie("selectDatapoint", { datapoint: t, index: s });
|
|
110
111
|
}
|
|
111
112
|
const h = d([]), C = g(() => (I.dataset.forEach((t, s) => {
|
|
@@ -140,21 +141,21 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
140
141
|
});
|
|
141
142
|
}), I.dataset.map((t, s) => ({
|
|
142
143
|
...t,
|
|
143
|
-
total: t.series.filter((a) => !h.value.includes(a.id)).map((a) =>
|
|
144
|
+
total: t.series.filter((a) => !h.value.includes(a.id)).map((a) => ze(a.values).reduce((o, l) => o + l, 0)).reduce((a, o) => a + o, 0),
|
|
144
145
|
datasetIndex: s,
|
|
145
|
-
id: `${
|
|
146
|
+
id: `${_.value}_${s}`,
|
|
146
147
|
series: t.series.map((a, o) => ({
|
|
147
148
|
name: a.name,
|
|
148
149
|
arcOf: t.name,
|
|
149
|
-
arcOfId: `${
|
|
150
|
-
id: `${
|
|
150
|
+
arcOfId: `${_.value}_${s}`,
|
|
151
|
+
id: `${_.value}_${s}_${o}`,
|
|
151
152
|
seriesIndex: o,
|
|
152
153
|
datasetIndex: s,
|
|
153
|
-
color: nt(a.color) ||
|
|
154
|
-
value:
|
|
154
|
+
color: nt(a.color) || Ee.value[o] || Q[o] || Q[o % Q.length],
|
|
155
|
+
value: ze(a.values).reduce((l, i) => l + i, 0),
|
|
155
156
|
absoluteValues: a.values || []
|
|
156
157
|
}))
|
|
157
|
-
})))), F = g(() => Math.min(f.value.height, f.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)),
|
|
158
|
+
})))), F = g(() => Math.min(f.value.height, f.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), we = g(() => [...C.value].map((t, s) => {
|
|
158
159
|
const a = t.series.filter((o) => !h.value.includes(o.id)).map((o) => o.value).reduce((o, l) => o + l, 0);
|
|
159
160
|
return {
|
|
160
161
|
...t,
|
|
@@ -165,20 +166,20 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
165
166
|
}))
|
|
166
167
|
};
|
|
167
168
|
}));
|
|
168
|
-
function
|
|
169
|
+
function Xe(t, s, a) {
|
|
169
170
|
let o = 0;
|
|
170
171
|
for (let l = 0; l < t.length; l += 1)
|
|
171
172
|
a.includes(t[l]) && (o += 1);
|
|
172
173
|
return o < s;
|
|
173
174
|
}
|
|
174
|
-
const v = d(
|
|
175
|
-
De(() =>
|
|
175
|
+
const v = d(we.value);
|
|
176
|
+
De(() => we.value, (t) => v.value = t);
|
|
176
177
|
const ke = d(null), xe = d(null);
|
|
177
178
|
function te(t) {
|
|
178
179
|
ie("selectLegend", t);
|
|
179
180
|
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);
|
|
180
181
|
let l = a ? a.value : 0;
|
|
181
|
-
const i = C.value.find((c) => c.id === s.arcOfId).series.map((c) => c.id), b =
|
|
182
|
+
const i = C.value.find((c) => c.id === s.arcOfId).series.map((c) => c.id), b = Xe(i, i.length - 1, h.value);
|
|
182
183
|
if (h.value.includes(t.id)) {
|
|
183
184
|
let c = function() {
|
|
184
185
|
l > s.value ? (cancelAnimationFrame(ke.value), v.value = v.value.map((k) => ({
|
|
@@ -220,7 +221,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
220
221
|
return {
|
|
221
222
|
...t,
|
|
222
223
|
radius: F.value - a,
|
|
223
|
-
donut:
|
|
224
|
+
donut: Pe(
|
|
224
225
|
{ series: t.series },
|
|
225
226
|
f.value.width / 2,
|
|
226
227
|
f.value.height / 2,
|
|
@@ -238,7 +239,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
238
239
|
const a = s * F.value / C.value.length;
|
|
239
240
|
return {
|
|
240
241
|
sizeRatio: a,
|
|
241
|
-
donut:
|
|
242
|
+
donut: Pe(
|
|
242
243
|
{ series: [{ value: 1 }] },
|
|
243
244
|
f.value.width / 2,
|
|
244
245
|
f.value.height / 2,
|
|
@@ -253,7 +254,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
253
254
|
)[0]
|
|
254
255
|
};
|
|
255
256
|
})), Ce = d(null), X = d(null), W = d(null), ae = d(null);
|
|
256
|
-
function
|
|
257
|
+
function We({ datapoint: t, _relativeIndex: s, seriesIndex: a }) {
|
|
257
258
|
Ce.value = t.arcOfId, X.value = t.id, W.value = a, ae.value = {
|
|
258
259
|
datapoint: t,
|
|
259
260
|
seriesIndex: a,
|
|
@@ -261,7 +262,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
261
262
|
config: e.value
|
|
262
263
|
};
|
|
263
264
|
const o = e.value.style.chart.tooltip.customFormat;
|
|
264
|
-
if (
|
|
265
|
+
if (Ve(o) && dt(() => o({
|
|
265
266
|
seriesIndex: a,
|
|
266
267
|
datapoint: t,
|
|
267
268
|
series: v.value,
|
|
@@ -342,9 +343,9 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
342
343
|
if (!e.value.useBlurOnHover)
|
|
343
344
|
return "";
|
|
344
345
|
if (e.value.style.chart.tooltip.showAllItemsAtIndex && h.value.length === 0)
|
|
345
|
-
return [null, void 0].includes(W.value) || W.value === s ? "" : `url(#blur_${
|
|
346
|
+
return [null, void 0].includes(W.value) || W.value === s ? "" : `url(#blur_${_.value})`;
|
|
346
347
|
if (!e.value.style.chart.tooltip.showAllItemsAtIndex || h.value.length)
|
|
347
|
-
return [null, void 0].includes(X.value) || X.value === t.id ? "" : `url(#blur_${
|
|
348
|
+
return [null, void 0].includes(X.value) || X.value === t.id ? "" : `url(#blur_${_.value})`;
|
|
348
349
|
}
|
|
349
350
|
const se = g(() => C.value.map((t, s) => t.series.map((a, o) => ({
|
|
350
351
|
name: a.name,
|
|
@@ -361,7 +362,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
361
362
|
opacity: h.value.includes(a.id) ? 0.5 : 1,
|
|
362
363
|
segregate: () => te(a),
|
|
363
364
|
isSegregated: h.value.includes(a.id)
|
|
364
|
-
})))),
|
|
365
|
+
})))), He = g(() => ({
|
|
365
366
|
cy: "nested-donuts-legend",
|
|
366
367
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
367
368
|
color: e.value.style.chart.legend.color,
|
|
@@ -427,23 +428,23 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
427
428
|
config: a
|
|
428
429
|
};
|
|
429
430
|
});
|
|
430
|
-
function
|
|
431
|
+
function qe() {
|
|
431
432
|
return C.value;
|
|
432
433
|
}
|
|
433
434
|
function Ne() {
|
|
434
|
-
|
|
435
|
+
w.value.showTable = !w.value.showTable;
|
|
435
436
|
}
|
|
436
437
|
function Te() {
|
|
437
|
-
|
|
438
|
+
w.value.dataLabels.show = !w.value.dataLabels.show;
|
|
438
439
|
}
|
|
439
440
|
function Ie() {
|
|
440
|
-
|
|
441
|
+
w.value.showTooltip = !w.value.showTooltip;
|
|
441
442
|
}
|
|
442
|
-
return
|
|
443
|
-
getData:
|
|
443
|
+
return Be({
|
|
444
|
+
getData: qe,
|
|
444
445
|
generatePdf: me,
|
|
445
446
|
generateCsv: Se,
|
|
446
|
-
generateImage:
|
|
447
|
+
generateImage: _e,
|
|
447
448
|
toggleTable: Ne,
|
|
448
449
|
toggleLabels: Te,
|
|
449
450
|
toggleTooltip: Ie
|
|
@@ -452,7 +453,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
452
453
|
ref: B,
|
|
453
454
|
class: z(`vue-ui-nested-donuts ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
454
455
|
style: ue(`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}`),
|
|
455
|
-
id: `nested_donuts_${
|
|
456
|
+
id: `nested_donuts_${_.value}`
|
|
456
457
|
}, [
|
|
457
458
|
e.value.style.chart.title.text ? (u(), n("div", {
|
|
458
459
|
key: 0,
|
|
@@ -480,7 +481,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
480
481
|
color: e.value.style.chart.color,
|
|
481
482
|
isPrinting: r(be),
|
|
482
483
|
isImaging: r(ge),
|
|
483
|
-
uid:
|
|
484
|
+
uid: _.value,
|
|
484
485
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
485
486
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
486
487
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -489,18 +490,18 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
489
490
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
490
491
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
491
492
|
isFullscreen: U.value,
|
|
492
|
-
isTooltip:
|
|
493
|
+
isTooltip: w.value.showTooltip,
|
|
493
494
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
494
495
|
chartElement: B.value,
|
|
495
496
|
position: e.value.userOptions.position,
|
|
496
|
-
onToggleFullscreen:
|
|
497
|
+
onToggleFullscreen: Re,
|
|
497
498
|
onGeneratePdf: r(me),
|
|
498
499
|
onGenerateCsv: Se,
|
|
499
|
-
onGenerateImage: r(
|
|
500
|
+
onGenerateImage: r(_e),
|
|
500
501
|
onToggleTable: Ne,
|
|
501
502
|
onToggleLabels: Te,
|
|
502
503
|
onToggleTooltip: Ie
|
|
503
|
-
},
|
|
504
|
+
}, Qe({ _: 2 }, [
|
|
504
505
|
t.$slots.optionTooltip ? {
|
|
505
506
|
name: "optionTooltip",
|
|
506
507
|
fn: m(() => [
|
|
@@ -558,27 +559,28 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
558
559
|
viewBox: `0 0 ${f.value.width <= 0 ? 1e-3 : f.value.width} ${f.value.height < 0 ? 1e-3 : f.value.height}`,
|
|
559
560
|
style: ue(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
560
561
|
}, [
|
|
562
|
+
Oe(xt),
|
|
561
563
|
p("defs", null, [
|
|
562
564
|
(u(!0), n(x, null, S(Le.value, (a, o) => (u(), n("radialGradient", {
|
|
563
|
-
id: `radial_${
|
|
565
|
+
id: `radial_${_.value}_${o}`
|
|
564
566
|
}, [
|
|
565
|
-
|
|
567
|
+
St,
|
|
566
568
|
p("stop", {
|
|
567
569
|
offset: `${(1 - le.value / $e.value[o]) * 100}%`,
|
|
568
|
-
"stop-color": r(
|
|
570
|
+
"stop-color": r(Ae)("#FFFFFF", 0),
|
|
569
571
|
"stop-opacity": "0"
|
|
570
|
-
}, null, 8,
|
|
572
|
+
}, null, 8, Nt),
|
|
571
573
|
p("stop", {
|
|
572
574
|
offset: `${(1 - le.value / $e.value[o] / 2) * 100}%`,
|
|
573
575
|
"stop-color": "#FFFFFF",
|
|
574
576
|
"stop-opacity": e.value.style.chart.gradientIntensity / 100
|
|
575
|
-
}, null, 8,
|
|
576
|
-
|
|
577
|
-
], 8,
|
|
577
|
+
}, null, 8, Tt),
|
|
578
|
+
It
|
|
579
|
+
], 8, Ft))), 256))
|
|
578
580
|
]),
|
|
579
581
|
p("defs", null, [
|
|
580
582
|
p("filter", {
|
|
581
|
-
id: `blur_${
|
|
583
|
+
id: `blur_${_.value}`,
|
|
582
584
|
x: "-50%",
|
|
583
585
|
y: "-50%",
|
|
584
586
|
width: "200%",
|
|
@@ -587,12 +589,12 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
587
589
|
p("feGaussianBlur", {
|
|
588
590
|
in: "SourceGraphic",
|
|
589
591
|
stdDeviation: 2,
|
|
590
|
-
id: `blur_std_${
|
|
591
|
-
}, null, 8,
|
|
592
|
-
|
|
593
|
-
], 8,
|
|
592
|
+
id: `blur_std_${_.value}`
|
|
593
|
+
}, null, 8, Ot),
|
|
594
|
+
zt
|
|
595
|
+
], 8, Dt),
|
|
594
596
|
p("filter", {
|
|
595
|
-
id: `shadow_${
|
|
597
|
+
id: `shadow_${_.value}`,
|
|
596
598
|
"color-interpolation-filters": "sRGB"
|
|
597
599
|
}, [
|
|
598
600
|
p("feDropShadow", {
|
|
@@ -601,32 +603,32 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
601
603
|
stdDeviation: "10",
|
|
602
604
|
"flood-opacity": "0.5",
|
|
603
605
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
604
|
-
}, null, 8,
|
|
605
|
-
], 8,
|
|
606
|
+
}, null, 8, At)
|
|
607
|
+
], 8, Pt)
|
|
606
608
|
]),
|
|
607
609
|
(u(!0), n(x, null, S(Y.value, (a, o) => (u(), n("g", null, [
|
|
608
610
|
(u(!0), n(x, null, S(a.donut, (l, i) => (u(), n("g", null, [
|
|
609
611
|
p("path", {
|
|
610
612
|
class: "vue-ui-donut-arc-path",
|
|
611
613
|
d: l.arcSlice,
|
|
612
|
-
fill: r(
|
|
614
|
+
fill: r(Ae)(l.color, 80),
|
|
613
615
|
stroke: e.value.style.chart.backgroundColor,
|
|
614
616
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
615
617
|
filter: Fe(l, i)
|
|
616
|
-
}, null, 8,
|
|
618
|
+
}, null, 8, Vt)
|
|
617
619
|
]))), 256))
|
|
618
620
|
]))), 256)),
|
|
619
|
-
e.value.style.chart.useGradient ? (u(), n("g",
|
|
621
|
+
e.value.style.chart.useGradient ? (u(), n("g", Mt, [
|
|
620
622
|
(u(!0), n(x, null, S(Le.value, (a, o) => (u(), n("g", null, [
|
|
621
623
|
p("path", {
|
|
622
624
|
d: a.donut.arcSlice,
|
|
623
|
-
fill: `url(#radial_${
|
|
625
|
+
fill: `url(#radial_${_.value}_${o})`,
|
|
624
626
|
stroke: "transparent",
|
|
625
627
|
"stroke-width": "0"
|
|
626
|
-
}, null, 8,
|
|
628
|
+
}, null, 8, Bt)
|
|
627
629
|
]))), 256))
|
|
628
630
|
])) : y("", !0),
|
|
629
|
-
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g",
|
|
631
|
+
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g", Ut, [
|
|
630
632
|
(u(!0), n(x, null, S(Y.value, (a, o) => (u(), n("g", null, [
|
|
631
633
|
(u(!0), n(x, null, S(a.donut, (l, i) => (u(), n("g", null, [
|
|
632
634
|
i === 0 && f.value.width && f.value.height ? (u(), n("text", {
|
|
@@ -638,16 +640,16 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
638
640
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
639
641
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
|
|
640
642
|
fill: e.value.style.chart.layout.labels.dataLabels.color
|
|
641
|
-
}, T(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(it)({ source: a.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : a.name), 11,
|
|
643
|
+
}, T(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(it)({ source: a.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : a.name), 11, Gt)) : y("", !0)
|
|
642
644
|
]))), 256))
|
|
643
645
|
]))), 256))
|
|
644
646
|
])) : y("", !0),
|
|
645
|
-
e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g",
|
|
647
|
+
e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g", Rt, [
|
|
646
648
|
(u(!0), n(x, null, S(Y.value, (a, o) => (u(), n("g", null, [
|
|
647
649
|
(u(!0), n(x, null, S(a.donut, (l, i) => (u(), n("g", {
|
|
648
650
|
filter: Fe(l, i)
|
|
649
651
|
}, [
|
|
650
|
-
oe(l) &&
|
|
652
|
+
oe(l) && w.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (u(), n("text", {
|
|
651
653
|
key: 0,
|
|
652
654
|
class: z({ animated: e.value.useCssAnimation }),
|
|
653
655
|
"text-anchor": r(V)(l, !0).anchor,
|
|
@@ -656,8 +658,8 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
656
658
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
657
659
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
658
660
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
|
|
659
|
-
}, T(r(L)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11,
|
|
660
|
-
oe(l) &&
|
|
661
|
+
}, T(r(L)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, Yt)) : y("", !0),
|
|
662
|
+
oe(l) && w.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
661
663
|
key: 1,
|
|
662
664
|
class: z({ animated: e.value.useCssAnimation }),
|
|
663
665
|
"text-anchor": r(V)(l, !0).anchor,
|
|
@@ -676,8 +678,8 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
676
678
|
r: e.value.style.chart.layout.labels.dataLabels.roundingValue
|
|
677
679
|
}),
|
|
678
680
|
{ datapoint: l, seriesIndex: o, datapointIndex: i }
|
|
679
|
-
)) + ") ", 11,
|
|
680
|
-
oe(l) &&
|
|
681
|
+
)) + ") ", 11, Xt)) : y("", !0),
|
|
682
|
+
oe(l) && w.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
681
683
|
key: 2,
|
|
682
684
|
class: z({ animated: e.value.useCssAnimation }),
|
|
683
685
|
"text-anchor": r(V)(l, !0).anchor,
|
|
@@ -696,8 +698,8 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
696
698
|
r: e.value.style.chart.layout.labels.dataLabels.roundingValue
|
|
697
699
|
}),
|
|
698
700
|
{ datapoint: l, seriesIndex: o, datapointIndex: i }
|
|
699
|
-
)), 11,
|
|
700
|
-
], 8,
|
|
701
|
+
)), 11, Wt)) : y("", !0)
|
|
702
|
+
], 8, Et))), 256))
|
|
701
703
|
]))), 256))
|
|
702
704
|
])) : y("", !0),
|
|
703
705
|
(u(!0), n(x, null, S(Y.value, (a, o) => (u(), n("g", null, [
|
|
@@ -705,25 +707,25 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
705
707
|
p("path", {
|
|
706
708
|
"data-cy-donut-trap": "",
|
|
707
709
|
d: l.arcSlice,
|
|
708
|
-
fill:
|
|
709
|
-
onMouseenter: (b) =>
|
|
710
|
+
fill: Ge.value === o ? "rgba(0,0,0,0.1)" : "transparent",
|
|
711
|
+
onMouseenter: (b) => We({
|
|
710
712
|
datapoint: l,
|
|
711
713
|
relativeIndex: o,
|
|
712
714
|
seriesIndex: l.seriesIndex
|
|
713
715
|
}),
|
|
714
|
-
onClick: (b) =>
|
|
716
|
+
onClick: (b) => Ye({ datapoint: l, index: i }),
|
|
715
717
|
onMouseleave: s[0] || (s[0] = (b) => {
|
|
716
718
|
Z.value = !1, Ce.value = null, X.value = null, W.value = null;
|
|
717
719
|
})
|
|
718
|
-
}, null, 40,
|
|
720
|
+
}, null, 40, Ht)
|
|
719
721
|
]))), 256))
|
|
720
722
|
]))), 256)),
|
|
721
723
|
$(t.$slots, "svg", { svg: f.value }, void 0, !0)
|
|
722
|
-
], 14,
|
|
723
|
-
t.$slots.watermark ? (u(), n("div",
|
|
724
|
+
], 14, Ct)) : y("", !0),
|
|
725
|
+
t.$slots.watermark ? (u(), n("div", qt, [
|
|
724
726
|
$(t.$slots, "watermark", q(J({ isPrinting: r(be) || r(ge) })), void 0, !0)
|
|
725
727
|
])) : y("", !0),
|
|
726
|
-
R.value ? y("", !0) : (u(), P(
|
|
728
|
+
R.value ? y("", !0) : (u(), P(wt, {
|
|
727
729
|
key: 4,
|
|
728
730
|
config: {
|
|
729
731
|
type: "donut",
|
|
@@ -735,8 +737,8 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
735
737
|
}
|
|
736
738
|
}
|
|
737
739
|
}, null, 8, ["config"])),
|
|
738
|
-
|
|
739
|
-
show:
|
|
740
|
+
Oe(mt, {
|
|
741
|
+
show: w.value.showTooltip && Z.value,
|
|
740
742
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
741
743
|
color: e.value.style.chart.tooltip.color,
|
|
742
744
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -748,7 +750,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
748
750
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
749
751
|
parent: B.value,
|
|
750
752
|
content: j.value,
|
|
751
|
-
isCustom: r(
|
|
753
|
+
isCustom: r(Ve)(e.value.style.chart.tooltip.customFormat)
|
|
752
754
|
}, {
|
|
753
755
|
"tooltip-before": m(() => [
|
|
754
756
|
$(t.$slots, "tooltip-before", q(J({ ...ae.value })), void 0, !0)
|
|
@@ -764,14 +766,14 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
764
766
|
ref: ee,
|
|
765
767
|
class: z({ "vue-ui-nested-donuts-legend": se.value.length > 1 })
|
|
766
768
|
}, [
|
|
767
|
-
(u(!0), n(x, null, S(se.value, (a, o) => (u(), P(
|
|
769
|
+
(u(!0), n(x, null, S(se.value, (a, o) => (u(), P(_t, {
|
|
768
770
|
key: `legend_${o}_${he.value}`,
|
|
769
771
|
legendSet: a,
|
|
770
|
-
config:
|
|
772
|
+
config: He.value,
|
|
771
773
|
onClickMarker: s[1] || (s[1] = ({ legend: l }) => te(l))
|
|
772
774
|
}, {
|
|
773
775
|
legendTitle: m(({ titleSet: l }) => [
|
|
774
|
-
l[0] && l[0].arcOf ? (u(), n("div",
|
|
776
|
+
l[0] && l[0].arcOf ? (u(), n("div", Jt, T(l[0].arcOf), 1)) : y("", !0)
|
|
775
777
|
]),
|
|
776
778
|
item: m(({ legend: l, index: i }) => [
|
|
777
779
|
p("div", {
|
|
@@ -794,7 +796,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
794
796
|
], 64)) : (u(), n(x, { key: 0 }, [
|
|
795
797
|
K(" (" + T(isNaN(l.value / l.total) ? "-" : r(L)({ v: l.value / l.total * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })) + ") ", 1)
|
|
796
798
|
], 64))
|
|
797
|
-
], 12,
|
|
799
|
+
], 12, Kt)
|
|
798
800
|
]),
|
|
799
801
|
_: 2
|
|
800
802
|
}, 1032, ["legendSet", "config"]))), 128))
|
|
@@ -810,7 +812,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
810
812
|
key: 7,
|
|
811
813
|
hideDetails: "",
|
|
812
814
|
config: {
|
|
813
|
-
open:
|
|
815
|
+
open: w.value.showTable,
|
|
814
816
|
maxHeight: 1e4,
|
|
815
817
|
body: {
|
|
816
818
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -830,13 +832,13 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
830
832
|
body: H.value.body,
|
|
831
833
|
config: H.value.config,
|
|
832
834
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
833
|
-
onClose: s[2] || (s[2] = (a) =>
|
|
835
|
+
onClose: s[2] || (s[2] = (a) => w.value.showTable = !1)
|
|
834
836
|
}, {
|
|
835
837
|
th: m(({ th: a }) => [
|
|
836
838
|
p("div", {
|
|
837
839
|
innerHTML: a,
|
|
838
840
|
style: { display: "flex", "align-items": "center" }
|
|
839
|
-
}, null, 8,
|
|
841
|
+
}, null, 8, Qt)
|
|
840
842
|
]),
|
|
841
843
|
td: m(({ td: a }) => [
|
|
842
844
|
K(T(a.name || a), 1)
|
|
@@ -846,9 +848,9 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
846
848
|
]),
|
|
847
849
|
_: 1
|
|
848
850
|
}, 8, ["config"])) : y("", !0)
|
|
849
|
-
], 14,
|
|
851
|
+
], 14, Lt));
|
|
850
852
|
}
|
|
851
|
-
},
|
|
853
|
+
}, vl = /* @__PURE__ */ $t(Zt, [["__scopeId", "data-v-e05474aa"]]);
|
|
852
854
|
export {
|
|
853
|
-
|
|
855
|
+
vl as default
|
|
854
856
|
};
|