vue-data-ui 2.3.84 → 2.3.86
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-CQ1ubni5.js → Arrow-CJ7hmWgf.js} +1 -1
- package/dist/{Arrow-Uk_vwKtL.cjs → Arrow-CebZn6E4.cjs} +1 -1
- package/dist/{BaseIcon-B9ZZ6wkT.js → BaseIcon-B9istAKo.js} +1 -1
- package/dist/{BaseIcon-CF1HQdM0.cjs → BaseIcon-DnG75_Ol.cjs} +1 -1
- package/dist/{DataTable-CEtr89Og.cjs → DataTable-BA_BCbHC.cjs} +1 -1
- package/dist/{DataTable-C-iU_7h7.js → DataTable-tSDSY14n.js} +2 -2
- package/dist/{Legend-D2ZBCCXe.cjs → Legend-BOY57qwA.cjs} +1 -1
- package/dist/{Legend-pU_BwhaW.js → Legend-D3hovFqM.js} +1 -1
- package/dist/{Shape-BO_KyCq8.cjs → Shape-D6jrLLku.cjs} +1 -1
- package/dist/{Shape-CyM44biU.js → Shape-XiTBfhJM.js} +1 -1
- package/dist/{Slicer-CZobytqL.js → Slicer-BMvzmCKt.js} +2 -2
- package/dist/{Slicer-BAMZ4wsl.cjs → Slicer-sZ-DArc4.cjs} +1 -1
- package/dist/{Title-B1_d29Eh.cjs → Title-Ahj4TYHa.cjs} +1 -1
- package/dist/{Title-Bk3h09h9.js → Title-DJ2FNrSN.js} +1 -1
- package/dist/{Tooltip-CdB80DsD.js → Tooltip-CQpXRqRC.js} +1 -1
- package/dist/{Tooltip-BU4cSEF0.cjs → Tooltip-XhevgJmm.cjs} +1 -1
- package/dist/index-CVgBMJU6.cjs +4 -0
- package/dist/{index-DI4DaxVG.js → index-D2epy0rJ.js} +4 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +3 -0
- package/dist/types/vue-data-ui.d.ts +3 -0
- package/dist/{useNestedProp-BdsfyHWU.cjs → useNestedProp-B-NmF2LO.cjs} +1 -1
- package/dist/{useNestedProp-COsQo-tX.js → useNestedProp-C_ZrJBd9.js} +1 -1
- package/dist/usePrinter-B6qtXaHk.js +527 -0
- package/dist/usePrinter-DN-6Hoh5.cjs +1 -0
- package/dist/{vue-data-ui-kGaLyV0o.cjs → vue-data-ui-DlNasA0G.cjs} +1 -1
- package/dist/{vue-data-ui-9nofTL7J.js → vue-data-ui-vegY0BJm.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-CqRRjlUU.cjs +19 -0
- package/dist/{vue-ui-3d-bar-lKgwKkVj.js → vue-ui-3d-bar-D-0SSMOt.js} +165 -164
- package/dist/{vue-ui-accordion-C8ka_Ot0.cjs → vue-ui-accordion-BaV9R6cy.cjs} +1 -1
- package/dist/{vue-ui-accordion-DsN9lxvc.js → vue-ui-accordion-DzTB2FL0.js} +3 -3
- package/dist/vue-ui-age-pyramid-Bx4BuL3K.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-D2lSXDX6.js → vue-ui-age-pyramid-_eo2DGen.js} +68 -67
- package/dist/{vue-ui-annotator-DoLG0N5e.js → vue-ui-annotator-8j2dJ0CU.js} +1 -1
- package/dist/{vue-ui-annotator-DmfAqbqB.cjs → vue-ui-annotator-CDZtr6tp.cjs} +1 -1
- package/dist/{vue-ui-candlestick-vhHV9d6O.js → vue-ui-candlestick-CsF7OSvJ.js} +83 -82
- package/dist/vue-ui-candlestick-NypxP0Uu.cjs +2 -0
- package/dist/{vue-ui-carousel-table-BmyArloA.js → vue-ui-carousel-table-CMHd2i-6.js} +7 -7
- package/dist/{vue-ui-carousel-table-DaQV2SlJ.cjs → vue-ui-carousel-table-CV0eVeRd.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DvNW2Y0z.cjs → vue-ui-chestnut-B9miwyAN.cjs} +2 -2
- package/dist/{vue-ui-chestnut-DgbbDtL0.js → vue-ui-chestnut-CVftKftk.js} +11 -10
- package/dist/{vue-ui-cursor-zXDNHCZv.cjs → vue-ui-cursor-Bsrt107X.cjs} +1 -1
- package/dist/{vue-ui-cursor-7-jKCnOY.js → vue-ui-cursor-wujy8n_T.js} +2 -2
- package/dist/{vue-ui-dashboard-DMossMh1.cjs → vue-ui-dashboard-BCN0BhjL.cjs} +1 -1
- package/dist/{vue-ui-dashboard-B_pnIQ5P.js → vue-ui-dashboard-Cvy0gI52.js} +2 -2
- package/dist/{vue-ui-digits-BL8Vyod-.cjs → vue-ui-digits-CnHgzHPI.cjs} +1 -1
- package/dist/{vue-ui-digits-C-lpZ-rg.js → vue-ui-digits-J-WrKKHg.js} +2 -2
- package/dist/{vue-ui-donut-e-p-l-_7.js → vue-ui-donut-BOhWcHY_.js} +91 -90
- package/dist/vue-ui-donut-CZ1iKZq6.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Ol1YS2OF.js → vue-ui-donut-evolution-CSSYuoti.js} +83 -82
- package/dist/vue-ui-donut-evolution-DuY2883r.cjs +1 -0
- package/dist/{vue-ui-dumbbell-BjTXdj83.js → vue-ui-dumbbell-Cm0Rp_6W.js} +23 -22
- package/dist/{vue-ui-dumbbell-CMFNfda1.cjs → vue-ui-dumbbell-i9QcsSVO.cjs} +2 -2
- package/dist/{vue-ui-flow-B4mdXrld.js → vue-ui-flow-0m7a1NP7.js} +54 -53
- package/dist/vue-ui-flow-DXCBGdQT.cjs +1 -0
- package/dist/vue-ui-galaxy-D6GyjAnX.cjs +1 -0
- package/dist/{vue-ui-galaxy-Eg1e5SG7.js → vue-ui-galaxy-DCHEdZAl.js} +87 -86
- package/dist/{vue-ui-gauge-BTt63SCn.js → vue-ui-gauge-HcM2JJpg.js} +78 -77
- package/dist/vue-ui-gauge-wbHQGQro.cjs +1 -0
- package/dist/{vue-ui-gizmo-bFlUFJa8.cjs → vue-ui-gizmo-B-zMyi1m.cjs} +1 -1
- package/dist/{vue-ui-gizmo-C0aF0qVF.js → vue-ui-gizmo-Bfo_nUnZ.js} +2 -2
- package/dist/{vue-ui-heatmap-kiVWYvjC.js → vue-ui-heatmap-CxIHmv0t.js} +170 -169
- package/dist/vue-ui-heatmap-Du2vI5Ae.cjs +1 -0
- package/dist/{vue-ui-kpi-qw5ofS-z.cjs → vue-ui-kpi-BOe7-M9V.cjs} +1 -1
- package/dist/{vue-ui-kpi-DdtZLwfi.js → vue-ui-kpi-DibULfkp.js} +3 -3
- package/dist/{vue-ui-mini-loader-B8YrB3X-.cjs → vue-ui-mini-loader-Bv7l-Kx3.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DcL5v-Tv.js → vue-ui-mini-loader-qFRhERid.js} +2 -2
- package/dist/{vue-ui-molecule-BpomHzqe.js → vue-ui-molecule-4cIGPnWg.js} +282 -278
- package/dist/vue-ui-molecule-eOj3ZjvT.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BV9xC9xF.js → vue-ui-mood-radar-BTe21WKk.js} +144 -143
- package/dist/vue-ui-mood-radar-tUFqqekd.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-D7D20nJu.js → vue-ui-nested-donuts-BVzabOga.js} +65 -64
- package/dist/vue-ui-nested-donuts-BigBLrFR.cjs +17 -0
- package/dist/{vue-ui-onion-4wR10l5H.js → vue-ui-onion-C3TAKqro.js} +90 -89
- package/dist/vue-ui-onion-_ZC3vbIS.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-BiXGkfj7.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DA3byJV2.js → vue-ui-parallel-coordinate-plot-CKoCQXqj.js} +40 -39
- package/dist/vue-ui-quadrant-B67wGTic.cjs +1 -0
- package/dist/{vue-ui-quadrant-D5wvd5h3.js → vue-ui-quadrant-CKnyfJoi.js} +51 -50
- package/dist/vue-ui-quick-chart-DEjdx0AB.cjs +15 -0
- package/dist/{vue-ui-quick-chart-CTSq5JJE.js → vue-ui-quick-chart-DZDYYnsI.js} +63 -62
- package/dist/vue-ui-radar-Cm_QkYGb.cjs +1 -0
- package/dist/{vue-ui-radar-OW6awckj.js → vue-ui-radar-v9yayJxu.js} +44 -43
- package/dist/{vue-ui-rating-C6gyJWJF.js → vue-ui-rating-Cc_N7qbe.js} +2 -2
- package/dist/{vue-ui-rating-3ZVG38br.cjs → vue-ui-rating-DV4cCZbB.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-Dr9-ozKG.js → vue-ui-relation-circle-Clqo4kkb.js} +74 -73
- package/dist/vue-ui-relation-circle-DcpIVbI6.cjs +1 -0
- package/dist/{vue-ui-rings-Ce6tFKrN.js → vue-ui-rings-D27xNq9q.js} +78 -77
- package/dist/vue-ui-rings-DTn3t8Ku.cjs +2 -0
- package/dist/{vue-ui-scatter-C_3WQPMf.js → vue-ui-scatter-C07Mon-6.js} +53 -52
- package/dist/vue-ui-scatter-CXbrqLFm.cjs +1 -0
- package/dist/{vue-ui-screenshot-BvE2dsvU.js → vue-ui-screenshot-CsxqbqlJ.js} +1 -1
- package/dist/{vue-ui-screenshot-D6N4GbAL.cjs → vue-ui-screenshot-D8TAvQYN.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DH4t1hrL.js → vue-ui-skeleton-BLiYyX95.js} +2 -2
- package/dist/{vue-ui-skeleton-CkSlhfsB.cjs → vue-ui-skeleton-Br1K3exH.cjs} +1 -1
- package/dist/{vue-ui-smiley-C-92SyPZ.js → vue-ui-smiley-BUHatT3Z.js} +2 -2
- package/dist/{vue-ui-smiley-CSA28QLT.cjs → vue-ui-smiley-CR_TkSYT.cjs} +1 -1
- package/dist/vue-ui-spark-trend-CnUz6s1m.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CrElvUcG.js → vue-ui-spark-trend-GY2CfYRt.js} +29 -29
- package/dist/vue-ui-sparkbar-DaFwUA6Z.cjs +1 -0
- package/dist/{vue-ui-sparkbar-DrbkUcOX.js → vue-ui-sparkbar-tdgek1gv.js} +27 -27
- package/dist/{vue-ui-sparkgauge-PSRf_u0V.js → vue-ui-sparkgauge-1zu5KmTA.js} +22 -22
- package/dist/vue-ui-sparkgauge-D8P01Hem.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-pZslBri7.js → vue-ui-sparkhistogram-b68QStxA.js} +52 -52
- package/dist/vue-ui-sparkhistogram-mg6yuwLH.cjs +1 -0
- package/dist/{vue-ui-sparkline-CqgArzCs.cjs → vue-ui-sparkline-CAqav9Gn.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BPExupWx.js → vue-ui-sparkline-CMmtp8MK.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-i02y9FzO.js → vue-ui-sparkstackbar-Cz8tOM3m.js} +6 -6
- package/dist/vue-ui-sparkstackbar-DOrquZvw.cjs +1 -0
- package/dist/vue-ui-stackbar-DUa5F_Zl.cjs +6 -0
- package/dist/{vue-ui-stackbar-DfXxN_P3.js → vue-ui-stackbar-DeQkP1dj.js} +64 -63
- package/dist/vue-ui-strip-plot-KNL9ToYG.cjs +1 -0
- package/dist/{vue-ui-strip-plot-BZ-we0b1.js → vue-ui-strip-plot-vqOCzdFV.js} +73 -72
- package/dist/{vue-ui-table-Dy26T2oy.cjs → vue-ui-table-BCdHNku5.cjs} +1 -1
- package/dist/{vue-ui-table-BqLbMTHt.js → vue-ui-table-DDdVqdHt.js} +1 -1
- package/dist/vue-ui-table-heatmap-BJDnZMZN.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-KzoqT8nX.js → vue-ui-table-heatmap-DQg_jtYq.js} +27 -26
- package/dist/{vue-ui-table-sparkline-BakiSjV4.js → vue-ui-table-sparkline-Bg-VFq7X.js} +25 -24
- package/dist/{vue-ui-table-sparkline-BBEsDDnN.cjs → vue-ui-table-sparkline-D8DJxb5J.cjs} +1 -1
- package/dist/{vue-ui-thermometer-D7cgRJoy.js → vue-ui-thermometer-CajBbbYc.js} +60 -59
- package/dist/vue-ui-thermometer-eYM8DX7u.cjs +1 -0
- package/dist/{vue-ui-timer-r4VFny9D.js → vue-ui-timer-D3VRVK-8.js} +4 -4
- package/dist/{vue-ui-timer-COLXZ1J1.cjs → vue-ui-timer-RclP4Tql.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DNQpuz8A.js → vue-ui-tiremarks-BT0k_3xi.js} +93 -92
- package/dist/vue-ui-tiremarks-Bc8bBBAw.cjs +1 -0
- package/dist/{vue-ui-treemap-CsHaQjwu.cjs → vue-ui-treemap-BjWDt2b2.cjs} +1 -1
- package/dist/{vue-ui-treemap-CD5GoXrU.js → vue-ui-treemap-DMhe3zCm.js} +14 -13
- package/dist/vue-ui-vertical-bar-DWzafNBH.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-DRH98pOw.js → vue-ui-vertical-bar-hH9R9V-K.js} +180 -179
- package/dist/vue-ui-waffle-BvYE9hAY.cjs +1 -0
- package/dist/{vue-ui-waffle-l9NGD_0B.js → vue-ui-waffle-DnNd6Iba.js} +85 -84
- package/dist/{vue-ui-wheel-BpqWo_KY.js → vue-ui-wheel-Bx9_m-7W.js} +72 -71
- package/dist/vue-ui-wheel-CVBmY6h7.cjs +1 -0
- package/dist/vue-ui-word-cloud-3R-mYkIW.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DLaAm8t8.js → vue-ui-word-cloud-DUk0Xt8q.js} +109 -108
- package/dist/{vue-ui-xy-Ct-9OxiZ.js → vue-ui-xy-FtaqoNK8.js} +401 -405
- package/dist/{vue-ui-xy-canvas-BU3nj2M1.js → vue-ui-xy-canvas-Bp4PTl_E.js} +54 -53
- package/dist/{vue-ui-xy-canvas-Bub1qCm9.cjs → vue-ui-xy-canvas-Ctw_3PzN.cjs} +2 -2
- package/dist/vue-ui-xy-rX-aml0b.cjs +3 -0
- package/package.json +1 -1
- package/dist/index-Cx-40Fnz.cjs +0 -4
- package/dist/usePrinter-D9bNzUQP.js +0 -513
- package/dist/usePrinter-DbhL59iY.cjs +0 -1
- package/dist/vue-ui-3d-bar-1aTroDle.cjs +0 -19
- package/dist/vue-ui-age-pyramid-D8Tr8jvT.cjs +0 -1
- package/dist/vue-ui-candlestick-BAuWAMct.cjs +0 -2
- package/dist/vue-ui-donut-evolution-DsdzjA88.cjs +0 -1
- package/dist/vue-ui-donut-w1eqaTu0.cjs +0 -1
- package/dist/vue-ui-flow-oBnzNN4s.cjs +0 -1
- package/dist/vue-ui-galaxy-DgxKqf6u.cjs +0 -1
- package/dist/vue-ui-gauge-B64pcc54.cjs +0 -1
- package/dist/vue-ui-heatmap-cjY0mi4a.cjs +0 -1
- package/dist/vue-ui-molecule-B8cYtnHq.cjs +0 -1
- package/dist/vue-ui-mood-radar-BA2VVPO5.cjs +0 -1
- package/dist/vue-ui-nested-donuts-C3CMWjgk.cjs +0 -17
- package/dist/vue-ui-onion-CVp0g8MP.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-CmaHQR6-.cjs +0 -8
- package/dist/vue-ui-quadrant-B8ffMNIS.cjs +0 -1
- package/dist/vue-ui-quick-chart-hnVT9GKL.cjs +0 -15
- package/dist/vue-ui-radar-ySl7KzoX.cjs +0 -1
- package/dist/vue-ui-relation-circle-CMW26dvv.cjs +0 -1
- package/dist/vue-ui-rings-CR1t6iss.cjs +0 -2
- package/dist/vue-ui-scatter-CKtgbptk.cjs +0 -1
- package/dist/vue-ui-spark-trend-D4d4Mr24.cjs +0 -1
- package/dist/vue-ui-sparkbar-DDqy0UBm.cjs +0 -1
- package/dist/vue-ui-sparkgauge-D6cG2rb8.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B9sVdLfh.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-BbGJ75_9.cjs +0 -1
- package/dist/vue-ui-stackbar-CRbcnnwn.cjs +0 -6
- package/dist/vue-ui-strip-plot-oZBXDxc-.cjs +0 -1
- package/dist/vue-ui-table-heatmap-BnwiB4id.cjs +0 -1
- package/dist/vue-ui-thermometer-E0mrvP4G.cjs +0 -1
- package/dist/vue-ui-tiremarks-C15sglnJ.cjs +0 -1
- package/dist/vue-ui-vertical-bar-DucujxOR.cjs +0 -4
- package/dist/vue-ui-waffle-DhroAZB3.cjs +0 -1
- package/dist/vue-ui-wheel-Bd87HcGT.cjs +0 -1
- package/dist/vue-ui-word-cloud-D5JLdr9g.cjs +0 -1
- package/dist/vue-ui-xy-BHzOpYm9.cjs +0 -3
|
@@ -1,31 +1,34 @@
|
|
|
1
|
-
import { computed as S, ref as j, watch as Oe, onMounted as We, openBlock as r, createElementBlock as i, normalizeClass as be, normalizeStyle as
|
|
2
|
-
import { u as He, c as we, t as Ze, a as qe, p as K, b as Xe, d as Re, o as Ye, e as Q, g as ne, l as A, m as Ce, f as T, X as Je, s as g, h as ee, i as te, j as Fe, k as L, n as le, q as Ke, r as Qe } from "./index-
|
|
3
|
-
import { _ as et } from "./Title-
|
|
4
|
-
import { u as tt, U as lt } from "./usePrinter-
|
|
5
|
-
import ot from "./vue-ui-skeleton-
|
|
6
|
-
import { D as st } from "./DataTable-
|
|
7
|
-
import at from "./vue-ui-accordion-
|
|
8
|
-
import { u as Me } from "./useNestedProp-
|
|
1
|
+
import { computed as S, ref as j, watch as Oe, onMounted as We, openBlock as r, createElementBlock as i, normalizeClass as be, normalizeStyle as B, createBlock as H, createCommentVNode as y, unref as c, createSlots as Ge, withCtx as I, renderSlot as z, normalizeProps as Y, guardReactiveProps as J, createElementVNode as u, Fragment as _, renderList as m, toDisplayString as P, createTextVNode as Ve, nextTick as Ae, pushScopeId as Ue, popScopeId as Ee } from "vue";
|
|
2
|
+
import { u as He, c as we, t as Ze, a as qe, p as K, b as Xe, d as Re, o as Ye, e as Q, g as ne, l as A, m as Ce, f as T, X as Je, s as g, h as ee, i as te, j as Fe, k as L, n as le, q as Ke, r as Qe } from "./index-D2epy0rJ.js";
|
|
3
|
+
import { _ as et } from "./Title-DJ2FNrSN.js";
|
|
4
|
+
import { u as tt, U as lt } from "./usePrinter-B6qtXaHk.js";
|
|
5
|
+
import ot from "./vue-ui-skeleton-BLiYyX95.js";
|
|
6
|
+
import { D as st } from "./DataTable-tSDSY14n.js";
|
|
7
|
+
import at from "./vue-ui-accordion-DzTB2FL0.js";
|
|
8
|
+
import { u as Me } from "./useNestedProp-C_ZrJBd9.js";
|
|
9
9
|
import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
const oe = (U) => (Ue("data-v-
|
|
10
|
+
const oe = (U) => (Ue("data-v-5510cf53"), U = U(), Ee(), U), rt = ["id"], ut = {
|
|
11
|
+
key: 0,
|
|
12
|
+
style: "width:100%;background:transparent"
|
|
13
|
+
}, it = ["xmlns", "viewBox"], dt = ["id"], ct = ["stop-color"], ht = ["stop-color"], vt = ["id"], ft = ["stop-color"], pt = ["stop-color"], yt = ["id"], kt = ["stop-color"], gt = ["stop-color"], $t = ["id"], _t = ["stop-color"], mt = ["stop-color"], xt = ["stop-color"], bt = { key: 0 }, wt = ["id"], Ct = ["stop-color"], Ft = ["stop-color"], Mt = ["id"], Pt = ["stop-color"], St = ["stop-color"], jt = ["id"], Tt = ["stop-color"], zt = ["stop-color"], Dt = ["id"], Nt = /* @__PURE__ */ oe(() => /* @__PURE__ */ u("stop", {
|
|
11
14
|
offset: "0%",
|
|
12
15
|
"stop-color": "#FFFFFF"
|
|
13
|
-
}, null, -1)),
|
|
16
|
+
}, null, -1)), Bt = /* @__PURE__ */ oe(() => /* @__PURE__ */ u("stop", {
|
|
14
17
|
offset: "100%",
|
|
15
18
|
"stop-color": "#FFFFFF33"
|
|
16
|
-
}, null, -1)),
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
],
|
|
19
|
+
}, null, -1)), It = [
|
|
20
|
+
Nt,
|
|
21
|
+
Bt
|
|
22
|
+
], Lt = ["x", "y", "font-size", "font-weight", "fill"], Ot = ["x", "y"], Wt = ["d", "stroke"], Gt = ["d", "stroke"], Vt = { key: 3 }, At = { key: 0 }, Ut = ["stroke-dasharray", "d", "stroke", "stroke-width"], Et = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ht = ["stroke-dasharray", "d", "stroke", "stroke-width"], Zt = ["stroke-dasharray", "d", "stroke", "stroke-width"], qt = { key: 1 }, Xt = ["d", "stroke", "stroke-width", "fill"], Rt = ["d", "stroke", "stroke-width", "fill"], Yt = ["d", "stroke", "stroke-width", "fill"], Jt = { key: 2 }, Kt = ["d", "fill", "onMouseenter", "onClick"], Qt = ["d", "fill", "onMouseenter", "onClick"], el = ["d", "fill", "onMouseenter", "onClick"], tl = ["d", "onMouseenter", "onClick"], ll = ["d"], ol = ["d", "stroke"], sl = ["onClick"], al = ["stroke", "d"], nl = ["cx", "cy", "fill", "stroke"], rl = ["x", "y", "width", "height"], ul = { key: 1 }, il = ["d", "stroke"], dl = ["d", "fill", "stroke"], cl = ["id"], hl = ["stop-color"], vl = /* @__PURE__ */ oe(() => /* @__PURE__ */ u("stop", {
|
|
20
23
|
offset: "77%",
|
|
21
24
|
"stop-color": "#FFFFFF20"
|
|
22
|
-
}, null, -1)),
|
|
25
|
+
}, null, -1)), fl = ["stop-color"], pl = ["cx", "cy", "fill"], yl = ["cx", "cy", "fill"], kl = { key: 0 }, gl = ["text-anchor", "x", "y", "fill", "font-size"], $l = ["text-anchor", "x", "y", "fill", "font-size"], _l = { key: 2 }, ml = ["d", "fill", "stroke"], xl = { key: 4 }, bl = { key: 0 }, wl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Cl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Fl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ml = ["stroke-dasharray", "d", "stroke", "stroke-width"], Pl = ["d", "stroke", "stroke-width", "fill"], Sl = ["d", "stroke", "stroke-width", "fill"], jl = { key: 1 }, Tl = ["onClick"], zl = ["id"], Dl = ["stop-color"], Nl = ["stop-color"], Bl = ["id"], Il = ["stop-color"], Ll = ["stop-color"], Ol = ["stop-color"], Wl = ["stop-color"], Gl = ["stop-color"], Vl = ["onMouseenter", "onClick", "d", "fill"], Al = ["onMouseenter", "onClick", "d"], Ul = ["onMouseenter", "onClick", "d", "fill"], El = ["onClick"], Hl = ["stroke", "d"], Zl = ["cx", "cy", "fill", "stroke"], ql = ["x", "y", "width", "height"], Xl = { key: 1 }, Rl = ["d", "stroke"], Yl = ["d", "fill", "stroke"], Jl = ["id"], Kl = ["stop-color"], Ql = /* @__PURE__ */ oe(() => /* @__PURE__ */ u("stop", {
|
|
23
26
|
offset: "77%",
|
|
24
27
|
"stop-color": "#FFFFFF20"
|
|
25
|
-
}, null, -1)),
|
|
28
|
+
}, null, -1)), eo = ["stop-color"], to = ["cx", "cy", "fill"], lo = ["cx", "cy", "fill"], oo = { key: 0 }, so = ["text-anchor", "x", "y", "fill", "font-size"], ao = ["text-anchor", "x", "y", "fill", "font-size"], no = { key: 2 }, ro = ["d", "fill", "stroke"], uo = {
|
|
26
29
|
key: 3,
|
|
27
30
|
class: "vue-data-ui-watermark"
|
|
28
|
-
},
|
|
31
|
+
}, io = ["innerHTML"], co = {
|
|
29
32
|
__name: "vue-ui-3d-bar",
|
|
30
33
|
props: {
|
|
31
34
|
config: {
|
|
@@ -95,7 +98,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
95
98
|
return e;
|
|
96
99
|
}
|
|
97
100
|
return null;
|
|
98
|
-
}),
|
|
101
|
+
}), D = S(() => ({
|
|
99
102
|
right: `M${o.value.width / 2},${o.value.top} ${o.value.width - o.value.right}, ${o.value.top + o.value.perspective} ${o.value.width - o.value.right},${o.value.height - o.value.bottom - o.value.perspective} ${o.value.width / 2},${o.value.height - o.value.bottom}`,
|
|
100
103
|
left: `M${o.value.width / 2},${o.value.top} ${o.value.left},${o.value.top + o.value.perspective} ${o.value.left},${o.value.height - o.value.bottom - o.value.perspective} ${o.value.width / 2},${o.value.height - o.value.bottom}`,
|
|
101
104
|
side: `M${o.value.width / 2},${o.value.height - o.value.bottom} ${o.value.width / 2},${o.value.top + o.value.perspective * 2}`,
|
|
@@ -252,7 +255,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
252
255
|
function Ne() {
|
|
253
256
|
return F.value ? C.value : $.dataset.percentage;
|
|
254
257
|
}
|
|
255
|
-
const
|
|
258
|
+
const N = S(() => {
|
|
256
259
|
if (F.value) {
|
|
257
260
|
const a = C.value.flatMap((e) => e.breakdown && e.breakdown.length ? [{ name: e.name, color: e.color }, ...e.breakdown.map((h, l) => ({
|
|
258
261
|
name: h.name,
|
|
@@ -271,9 +274,9 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
271
274
|
return;
|
|
272
275
|
}
|
|
273
276
|
Ae(() => {
|
|
274
|
-
const a = C.value.map((l) => l.value).reduce((l, n) => l + n, 0), s =
|
|
277
|
+
const a = C.value.map((l) => l.value).reduce((l, n) => l + n, 0), s = N.value.head.map((l, n) => [[
|
|
275
278
|
l.name
|
|
276
|
-
], [
|
|
279
|
+
], [N.value.body[n]], [isNaN(N.value.body[n] / a) ? "-" : N.value.body[n] / a * 100]]), e = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(s), h = Ke(e);
|
|
277
280
|
Qe({ csvContent: h, title: t.value.style.chart.title.text || "vue-ui-3d-bar" });
|
|
278
281
|
});
|
|
279
282
|
}
|
|
@@ -282,16 +285,16 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
282
285
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
283
286
|
T({ p: t.value.style.chart.legend.prefix, v: a, s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue }),
|
|
284
287
|
"100%"
|
|
285
|
-
], e =
|
|
286
|
-
const k = T({ p: t.value.style.chart.legend.prefix, v:
|
|
288
|
+
], e = N.value.head.map((n, d) => {
|
|
289
|
+
const k = T({ p: t.value.style.chart.legend.prefix, v: N.value.body[d], s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue });
|
|
287
290
|
return [
|
|
288
291
|
{
|
|
289
292
|
color: n.color,
|
|
290
293
|
name: n.name
|
|
291
294
|
},
|
|
292
295
|
k,
|
|
293
|
-
isNaN(
|
|
294
|
-
v:
|
|
296
|
+
isNaN(N.value.body[d] / a) ? "-" : T({
|
|
297
|
+
v: N.value.body[d] / a * 100,
|
|
295
298
|
s: "%",
|
|
296
299
|
r: t.value.table.td.roundingPercentage
|
|
297
300
|
})
|
|
@@ -334,13 +337,10 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
334
337
|
ref_key: "bar3dChart",
|
|
335
338
|
ref: re,
|
|
336
339
|
class: be("vue-ui-3d-bar"),
|
|
337
|
-
style:
|
|
340
|
+
style: B(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),
|
|
338
341
|
id: `3d_bar_${x.value}`
|
|
339
342
|
}, [
|
|
340
|
-
t.value.style.chart.title.text ? (r(), i("div",
|
|
341
|
-
key: 0,
|
|
342
|
-
style: z(`width:100%;background:${t.value.style.chart.backgroundColor}`)
|
|
343
|
-
}, [
|
|
343
|
+
t.value.style.chart.title.text ? (r(), i("div", ut, [
|
|
344
344
|
(r(), H(et, {
|
|
345
345
|
key: `title_${ue.value}`,
|
|
346
346
|
config: {
|
|
@@ -354,7 +354,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
}, null, 8, ["config"]))
|
|
357
|
-
]
|
|
357
|
+
])) : y("", !0),
|
|
358
358
|
t.value.userOptions.show && q.value ? (r(), H(lt, {
|
|
359
359
|
key: 1,
|
|
360
360
|
ref_key: "details",
|
|
@@ -371,6 +371,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
371
371
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
372
372
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
373
373
|
chartElement: re.value,
|
|
374
|
+
position: t.value.userOptions.position,
|
|
374
375
|
onToggleFullscreen: De,
|
|
375
376
|
onGeneratePdf: c(ve),
|
|
376
377
|
onGenerateCsv: ke,
|
|
@@ -380,45 +381,45 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
380
381
|
a.$slots.optionPdf ? {
|
|
381
382
|
name: "optionPdf",
|
|
382
383
|
fn: I(() => [
|
|
383
|
-
|
|
384
|
+
z(a.$slots, "optionPdf", {}, void 0, !0)
|
|
384
385
|
]),
|
|
385
386
|
key: "0"
|
|
386
387
|
} : void 0,
|
|
387
388
|
a.$slots.optionCsv ? {
|
|
388
389
|
name: "optionCsv",
|
|
389
390
|
fn: I(() => [
|
|
390
|
-
|
|
391
|
+
z(a.$slots, "optionCsv", {}, void 0, !0)
|
|
391
392
|
]),
|
|
392
393
|
key: "1"
|
|
393
394
|
} : void 0,
|
|
394
395
|
a.$slots.optionImg ? {
|
|
395
396
|
name: "optionImg",
|
|
396
397
|
fn: I(() => [
|
|
397
|
-
|
|
398
|
+
z(a.$slots, "optionImg", {}, void 0, !0)
|
|
398
399
|
]),
|
|
399
400
|
key: "2"
|
|
400
401
|
} : void 0,
|
|
401
402
|
a.$slots.optionTable ? {
|
|
402
403
|
name: "optionTable",
|
|
403
404
|
fn: I(() => [
|
|
404
|
-
|
|
405
|
+
z(a.$slots, "optionTable", {}, void 0, !0)
|
|
405
406
|
]),
|
|
406
407
|
key: "3"
|
|
407
408
|
} : void 0,
|
|
408
409
|
a.$slots.optionFullscreen ? {
|
|
409
410
|
name: "optionFullscreen",
|
|
410
411
|
fn: I(({ toggleFullscreen: e, isFullscreen: h }) => [
|
|
411
|
-
|
|
412
|
+
z(a.$slots, "optionFullscreen", Y(J({ toggleFullscreen: e, isFullscreen: h })), void 0, !0)
|
|
412
413
|
]),
|
|
413
414
|
key: "4"
|
|
414
415
|
} : void 0
|
|
415
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
|
|
416
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
|
|
416
417
|
q.value ? (r(), i("svg", {
|
|
417
418
|
key: 2,
|
|
418
419
|
xmlns: c(Je),
|
|
419
420
|
class: be({ "vue-data-ui-fullscreen--on": se.value, "vue-data-ui-fulscreen--off": !se.value }),
|
|
420
421
|
viewBox: `0 0 ${o.value.absoluteWidth} ${o.value.height}`,
|
|
421
|
-
style:
|
|
422
|
+
style: B(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)
|
|
422
423
|
}, [
|
|
423
424
|
u("defs", null, [
|
|
424
425
|
u("radialGradient", {
|
|
@@ -427,36 +428,36 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
427
428
|
u("stop", {
|
|
428
429
|
offset: "0%",
|
|
429
430
|
"stop-color": c(g)(t.value.style.chart.backgroundColor, 0)
|
|
430
|
-
}, null, 8,
|
|
431
|
+
}, null, 8, ct),
|
|
431
432
|
u("stop", {
|
|
432
433
|
offset: "100%",
|
|
433
434
|
"stop-color": t.value.style.chart.bar.color
|
|
434
|
-
}, null, 8,
|
|
435
|
-
], 8,
|
|
435
|
+
}, null, 8, ht)
|
|
436
|
+
], 8, dt),
|
|
436
437
|
u("radialGradient", {
|
|
437
438
|
id: `gradient_left${x.value}`
|
|
438
439
|
}, [
|
|
439
440
|
u("stop", {
|
|
440
441
|
offset: "0%",
|
|
441
442
|
"stop-color": c(g)(t.value.style.chart.backgroundColor, 0)
|
|
442
|
-
}, null, 8,
|
|
443
|
+
}, null, 8, ft),
|
|
443
444
|
u("stop", {
|
|
444
445
|
offset: "100%",
|
|
445
446
|
"stop-color": c(g)(t.value.style.chart.bar.color, 20)
|
|
446
|
-
}, null, 8,
|
|
447
|
-
], 8,
|
|
447
|
+
}, null, 8, pt)
|
|
448
|
+
], 8, vt),
|
|
448
449
|
u("radialGradient", {
|
|
449
450
|
id: `gradient_right${x.value}`
|
|
450
451
|
}, [
|
|
451
452
|
u("stop", {
|
|
452
453
|
offset: "0%",
|
|
453
454
|
"stop-color": c(g)(t.value.style.chart.backgroundColor, 0)
|
|
454
|
-
}, null, 8,
|
|
455
|
+
}, null, 8, kt),
|
|
455
456
|
u("stop", {
|
|
456
457
|
offset: "100%",
|
|
457
458
|
"stop-color": c(g)(t.value.style.chart.bar.color, 20)
|
|
458
|
-
}, null, 8,
|
|
459
|
-
], 8,
|
|
459
|
+
}, null, 8, gt)
|
|
460
|
+
], 8, yt),
|
|
460
461
|
u("linearGradient", {
|
|
461
462
|
id: `gradient_tube_body${x.value}`,
|
|
462
463
|
x1: "0%",
|
|
@@ -467,61 +468,61 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
467
468
|
u("stop", {
|
|
468
469
|
offset: "0%",
|
|
469
470
|
"stop-color": `${t.value.style.chart.bar.color}`
|
|
470
|
-
}, null, 8,
|
|
471
|
+
}, null, 8, _t),
|
|
471
472
|
u("stop", {
|
|
472
473
|
offset: "75%",
|
|
473
474
|
"stop-color": c(g)(t.value.style.chart.backgroundColor, 0)
|
|
474
|
-
}, null, 8,
|
|
475
|
+
}, null, 8, mt),
|
|
475
476
|
u("stop", {
|
|
476
477
|
offset: "100%",
|
|
477
478
|
"stop-color": c(g)(t.value.style.chart.bar.color, 40)
|
|
478
|
-
}, null, 8,
|
|
479
|
-
], 8,
|
|
479
|
+
}, null, 8, xt)
|
|
480
|
+
], 8, $t)
|
|
480
481
|
]),
|
|
481
|
-
F.value ? (r(), i("defs",
|
|
482
|
+
F.value ? (r(), i("defs", bt, [
|
|
482
483
|
(r(!0), i(_, null, m(C.value, (e) => (r(), i("radialGradient", {
|
|
483
484
|
id: `grad_top_${e.id}`
|
|
484
485
|
}, [
|
|
485
486
|
u("stop", {
|
|
486
487
|
offset: "0%",
|
|
487
488
|
"stop-color": c(g)(c(A)(e.color, 0.5), 80)
|
|
488
|
-
}, null, 8,
|
|
489
|
+
}, null, 8, Ct),
|
|
489
490
|
u("stop", {
|
|
490
491
|
offset: "100%",
|
|
491
492
|
"stop-color": e.color
|
|
492
|
-
}, null, 8,
|
|
493
|
-
], 8,
|
|
493
|
+
}, null, 8, Ft)
|
|
494
|
+
], 8, wt))), 256)),
|
|
494
495
|
(r(!0), i(_, null, m(C.value, (e) => (r(), i("linearGradient", {
|
|
495
496
|
id: `grad_left_${e.id}`
|
|
496
497
|
}, [
|
|
497
498
|
u("stop", {
|
|
498
499
|
offset: "0%",
|
|
499
500
|
"stop-color": c(g)(e.color, 80)
|
|
500
|
-
}, null, 8,
|
|
501
|
+
}, null, 8, Pt),
|
|
501
502
|
u("stop", {
|
|
502
503
|
offset: "100%",
|
|
503
504
|
"stop-color": c(g)(c(ee)(e.color, 0.5), 100)
|
|
504
|
-
}, null, 8,
|
|
505
|
-
], 8,
|
|
505
|
+
}, null, 8, St)
|
|
506
|
+
], 8, Mt))), 256)),
|
|
506
507
|
(r(!0), i(_, null, m(C.value, (e) => (r(), i("linearGradient", {
|
|
507
508
|
id: `grad_right_${e.id}`
|
|
508
509
|
}, [
|
|
509
510
|
u("stop", {
|
|
510
511
|
offset: "2%",
|
|
511
512
|
"stop-color": c(g)(c(A)(e.color, 0.5), 100)
|
|
512
|
-
}, null, 8,
|
|
513
|
+
}, null, 8, Tt),
|
|
513
514
|
u("stop", {
|
|
514
515
|
offset: "100%",
|
|
515
516
|
"stop-color": c(g)(e.color, 80)
|
|
516
|
-
}, null, 8,
|
|
517
|
-
], 8,
|
|
517
|
+
}, null, 8, zt)
|
|
518
|
+
], 8, jt))), 256)),
|
|
518
519
|
u("linearGradient", {
|
|
519
520
|
x1: "0%",
|
|
520
521
|
y1: "0%",
|
|
521
522
|
x2: "0%",
|
|
522
523
|
y2: "100%",
|
|
523
524
|
id: `vertical_line_${x.value}`
|
|
524
|
-
},
|
|
525
|
+
}, It, 8, Dt)
|
|
525
526
|
])) : y("", !0),
|
|
526
527
|
t.value.style.chart.dataLabel.show && ![null, void 0].includes($.dataset.percentage) && [null, void 0].includes($.dataset.series) ? (r(), i("text", {
|
|
527
528
|
key: 1,
|
|
@@ -535,7 +536,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
535
536
|
v: G.value,
|
|
536
537
|
s: "%",
|
|
537
538
|
r: t.value.style.chart.dataLabel.rounding
|
|
538
|
-
})), 9,
|
|
539
|
+
})), 9, Lt)) : y("", !0),
|
|
539
540
|
O.value ? (r(), i("g", {
|
|
540
541
|
key: 2,
|
|
541
542
|
onClick: s[0] || (s[0] = (e) => {
|
|
@@ -550,60 +551,60 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
550
551
|
height: 12,
|
|
551
552
|
width: 12,
|
|
552
553
|
fill: "transparent"
|
|
553
|
-
}, null, 8,
|
|
554
|
+
}, null, 8, Ot),
|
|
554
555
|
u("path", {
|
|
555
556
|
d: `M${o.value.width / 2 - 6},${o.value.top - 20} ${o.value.width / 2 + 6},${o.value.top - 9}`,
|
|
556
557
|
stroke: t.value.style.chart.color,
|
|
557
558
|
"stroke-linecap": "round",
|
|
558
559
|
"stroke-width": "1"
|
|
559
|
-
}, null, 8,
|
|
560
|
+
}, null, 8, Wt),
|
|
560
561
|
u("path", {
|
|
561
562
|
d: `M${o.value.width / 2 + 6},${o.value.top - 20} ${o.value.width / 2 - 6},${o.value.top - 9}`,
|
|
562
563
|
stroke: t.value.style.chart.color,
|
|
563
564
|
"stroke-linecap": "round",
|
|
564
565
|
"stroke-width": "1"
|
|
565
|
-
}, null, 8,
|
|
566
|
+
}, null, 8, Gt)
|
|
566
567
|
])) : y("", !0),
|
|
567
|
-
!t.value.style.shape || t.value.style.shape === "bar" ? (r(), i("g",
|
|
568
|
-
F.value ? y("", !0) : (r(), i("g",
|
|
568
|
+
!t.value.style.shape || t.value.style.shape === "bar" ? (r(), i("g", Vt, [
|
|
569
|
+
F.value ? y("", !0) : (r(), i("g", At, [
|
|
569
570
|
u("path", {
|
|
570
571
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
571
|
-
d:
|
|
572
|
+
d: D.value.right,
|
|
572
573
|
stroke: t.value.style.chart.box.stroke,
|
|
573
574
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
574
575
|
"stroke-linejoin": "round",
|
|
575
576
|
"stroke-linecap": "round",
|
|
576
577
|
fill: "none"
|
|
577
|
-
}, null, 8,
|
|
578
|
+
}, null, 8, Ut),
|
|
578
579
|
u("path", {
|
|
579
580
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
580
|
-
d:
|
|
581
|
+
d: D.value.left,
|
|
581
582
|
stroke: t.value.style.chart.box.stroke,
|
|
582
583
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
583
584
|
"stroke-linejoin": "round",
|
|
584
585
|
"stroke-linecap": "round",
|
|
585
586
|
fill: "none"
|
|
586
|
-
}, null, 8,
|
|
587
|
+
}, null, 8, Et),
|
|
587
588
|
u("path", {
|
|
588
589
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
589
|
-
d:
|
|
590
|
+
d: D.value.side,
|
|
590
591
|
stroke: t.value.style.chart.box.stroke,
|
|
591
592
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
592
593
|
"stroke-linejoin": "round",
|
|
593
594
|
"stroke-linecap": "round",
|
|
594
595
|
fill: "none"
|
|
595
|
-
}, null, 8,
|
|
596
|
+
}, null, 8, Ht),
|
|
596
597
|
u("path", {
|
|
597
598
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
598
|
-
d:
|
|
599
|
+
d: D.value.topSides,
|
|
599
600
|
stroke: t.value.style.chart.box.stroke,
|
|
600
601
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
601
602
|
"stroke-linejoin": "round",
|
|
602
603
|
"stroke-linecap": "round",
|
|
603
604
|
fill: "none"
|
|
604
|
-
}, null, 8,
|
|
605
|
+
}, null, 8, Zt)
|
|
605
606
|
])),
|
|
606
|
-
F.value ? y("", !0) : (r(), i("g",
|
|
607
|
+
F.value ? y("", !0) : (r(), i("g", qt, [
|
|
607
608
|
u("path", {
|
|
608
609
|
d: E.value.right,
|
|
609
610
|
stroke: t.value.style.chart.bar.stroke,
|
|
@@ -611,7 +612,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
611
612
|
"stroke-linejoin": "round",
|
|
612
613
|
"stroke-linecap": "round",
|
|
613
614
|
fill: `url(#gradient_right${x.value})`
|
|
614
|
-
}, null, 8,
|
|
615
|
+
}, null, 8, Xt),
|
|
615
616
|
u("path", {
|
|
616
617
|
d: E.value.left,
|
|
617
618
|
stroke: t.value.style.chart.bar.stroke,
|
|
@@ -619,7 +620,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
619
620
|
"stroke-linejoin": "round",
|
|
620
621
|
"stroke-linecap": "round",
|
|
621
622
|
fill: `url(#gradient_left${x.value})`
|
|
622
|
-
}, null, 8,
|
|
623
|
+
}, null, 8, Rt),
|
|
623
624
|
u("path", {
|
|
624
625
|
d: E.value.top,
|
|
625
626
|
stroke: t.value.style.chart.bar.stroke,
|
|
@@ -627,11 +628,11 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
627
628
|
"stroke-linejoin": "round",
|
|
628
629
|
"stroke-linecap": "round",
|
|
629
630
|
fill: `url(#gradient_top${x.value})`
|
|
630
|
-
}, null, 8,
|
|
631
|
+
}, null, 8, Yt)
|
|
631
632
|
])),
|
|
632
|
-
F.value ? (r(), i("g",
|
|
633
|
+
F.value ? (r(), i("g", Jt, [
|
|
633
634
|
(r(!0), i(_, null, m(C.value, (e, h) => (r(), i("g", {
|
|
634
|
-
style:
|
|
635
|
+
style: B(`opacity:${b.value ? b.value === e.id ? 1 : 0.3 : 1}`),
|
|
635
636
|
class: "vue-ui-3d-bar-stack"
|
|
636
637
|
}, [
|
|
637
638
|
u("path", {
|
|
@@ -640,21 +641,21 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
640
641
|
onMouseenter: (l) => M(e),
|
|
641
642
|
onClick: (l) => M(e, !0),
|
|
642
643
|
onMouseout: W
|
|
643
|
-
}, null, 40,
|
|
644
|
+
}, null, 40, Kt),
|
|
644
645
|
u("path", {
|
|
645
646
|
d: e.fill.left,
|
|
646
647
|
fill: `url(#grad_left_${e.id})`,
|
|
647
648
|
onMouseenter: (l) => M(e),
|
|
648
649
|
onClick: (l) => M(e, !0),
|
|
649
650
|
onMouseout: W
|
|
650
|
-
}, null, 40,
|
|
651
|
+
}, null, 40, Qt),
|
|
651
652
|
u("path", {
|
|
652
653
|
d: e.fill.top,
|
|
653
654
|
fill: `url(#grad_top_${e.id})`,
|
|
654
655
|
onMouseenter: (l) => M(e),
|
|
655
656
|
onClick: (l) => M(e, !0),
|
|
656
657
|
onMouseout: W
|
|
657
|
-
}, null, 40,
|
|
658
|
+
}, null, 40, el),
|
|
658
659
|
u("path", {
|
|
659
660
|
d: e.fill.liningTop,
|
|
660
661
|
stroke: "#FFFFFF",
|
|
@@ -664,13 +665,13 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
664
665
|
onMouseenter: (l) => M(e),
|
|
665
666
|
onClick: (l) => M(e, !0),
|
|
666
667
|
onMouseout: W
|
|
667
|
-
}, null, 40,
|
|
668
|
+
}, null, 40, tl),
|
|
668
669
|
u("path", {
|
|
669
670
|
d: `M ${e.fill.apexTop.x},${e.fill.apexTop.y} ${e.fill.apexBottom.x},${e.fill.apexBottom.y}`,
|
|
670
671
|
stroke: "#FFFFFF",
|
|
671
672
|
"stroke-width": "0.5",
|
|
672
673
|
"stroke-linecap": "round"
|
|
673
|
-
}, null, 8,
|
|
674
|
+
}, null, 8, ll)
|
|
674
675
|
], 4))), 256)),
|
|
675
676
|
(r(!0), i(_, null, m(C.value, (e, h) => (r(), i("g", null, [
|
|
676
677
|
h !== C.value.length - 1 ? (r(), i("path", {
|
|
@@ -681,10 +682,10 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
681
682
|
"stroke-linecap": "round",
|
|
682
683
|
fill: "none",
|
|
683
684
|
style: { "pointer-events": "none" }
|
|
684
|
-
}, null, 8,
|
|
685
|
+
}, null, 8, ol)) : y("", !0)
|
|
685
686
|
]))), 256)),
|
|
686
687
|
(r(!0), i(_, null, m(C.value, (e, h) => (r(), i("g", {
|
|
687
|
-
style:
|
|
688
|
+
style: B(`opacity:${b.value ? b.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
|
|
688
689
|
onClick: (l) => Z("selectDatapoint", e)
|
|
689
690
|
}, [
|
|
690
691
|
u("path", {
|
|
@@ -693,7 +694,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
693
694
|
"stroke-width": "0.5",
|
|
694
695
|
"stroke-linecap": "round",
|
|
695
696
|
d: `M${e.fill.sidePointer.x},${e.fill.sidePointer.y} ${e.fill.sidePointer.x + 20},${e.fill.sidePointer.y}`
|
|
696
|
-
}, null, 8,
|
|
697
|
+
}, null, 8, al),
|
|
697
698
|
!e.fill.miniDonut || b.value ? (r(), i("circle", {
|
|
698
699
|
key: 0,
|
|
699
700
|
cx: e.fill.sidePointer.x + 20,
|
|
@@ -701,7 +702,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
701
702
|
r: 2,
|
|
702
703
|
fill: e.color,
|
|
703
704
|
stroke: t.value.style.chart.backgroundColor
|
|
704
|
-
}, null, 8,
|
|
705
|
+
}, null, 8, nl)) : y("", !0),
|
|
705
706
|
(r(), i("foreignObject", {
|
|
706
707
|
x: e.fill.sidePointer.x + 30,
|
|
707
708
|
y: e.fill.sidePointer.y - t.value.style.chart.legend.fontSize,
|
|
@@ -711,7 +712,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
711
712
|
}, [
|
|
712
713
|
t.value.style.chart.legend.showDefault ? (r(), i("div", {
|
|
713
714
|
key: 0,
|
|
714
|
-
style:
|
|
715
|
+
style: B(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${t.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${t.value.style.chart.legend.fontSize}px; color:${t.value.style.chart.legend.color}`)
|
|
715
716
|
}, P(e.name) + ": " + P(c(T)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })) + " (" + P(c(te)(
|
|
716
717
|
t.value.style.chart.dataLabel.formatter,
|
|
717
718
|
e.value,
|
|
@@ -723,9 +724,9 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
723
724
|
}),
|
|
724
725
|
{ datapoint: e, seriesIndex: h }
|
|
725
726
|
)) + ") ", 5)) : y("", !0),
|
|
726
|
-
|
|
727
|
-
], 8,
|
|
728
|
-
e.fill.donut && b.value === e.id ? (r(), i("g",
|
|
727
|
+
z(a.$slots, "legend", Y(J({ datapoint: e, config: t.value, dataset: C.value })), void 0, !0)
|
|
728
|
+
], 8, rl)),
|
|
729
|
+
e.fill.donut && b.value === e.id ? (r(), i("g", ul, [
|
|
729
730
|
(r(!0), i(_, null, m(e.fill.donut, (l, n) => (r(), i("g", null, [
|
|
730
731
|
V(l, e.fill.donut, !0) > 6 ? (r(), i("path", {
|
|
731
732
|
key: 0,
|
|
@@ -736,7 +737,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
736
737
|
"stroke-linecap": "round",
|
|
737
738
|
"stroke-linejoin": "round",
|
|
738
739
|
fill: "none"
|
|
739
|
-
}, null, 8,
|
|
740
|
+
}, null, 8, il)) : y("", !0)
|
|
740
741
|
]))), 256)),
|
|
741
742
|
(r(!0), i(_, null, m(e.fill.donut, (l, n) => (r(), i("path", {
|
|
742
743
|
class: "vue-ui-donut-arc-path",
|
|
@@ -744,7 +745,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
744
745
|
fill: `${l.color}`,
|
|
745
746
|
stroke: t.value.style.chart.backgroundColor,
|
|
746
747
|
"stroke-width": 1
|
|
747
|
-
}, null, 8,
|
|
748
|
+
}, null, 8, dl))), 256)),
|
|
748
749
|
u("defs", null, [
|
|
749
750
|
u("radialGradient", {
|
|
750
751
|
id: `hollow_gradient_${x.value}`
|
|
@@ -752,13 +753,13 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
752
753
|
u("stop", {
|
|
753
754
|
offset: "0%",
|
|
754
755
|
"stop-color": c(g)(t.value.style.chart.backgroundColor, 0)
|
|
755
|
-
}, null, 8,
|
|
756
|
-
|
|
756
|
+
}, null, 8, hl),
|
|
757
|
+
vl,
|
|
757
758
|
u("stop", {
|
|
758
759
|
offset: "100%",
|
|
759
760
|
"stop-color": c(g)(t.value.style.chart.backgroundColor, 0)
|
|
760
|
-
}, null, 8,
|
|
761
|
-
], 8,
|
|
761
|
+
}, null, 8, fl)
|
|
762
|
+
], 8, cl)
|
|
762
763
|
]),
|
|
763
764
|
(r(!0), i(_, null, m(e.fill.donut, (l, n) => (r(), i("circle", {
|
|
764
765
|
class: "vue-ui-donut-arc-path",
|
|
@@ -766,16 +767,16 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
766
767
|
cy: l.cy,
|
|
767
768
|
r: 28,
|
|
768
769
|
fill: `url(#hollow_gradient_${x.value})`
|
|
769
|
-
}, null, 8,
|
|
770
|
+
}, null, 8, pl))), 256)),
|
|
770
771
|
(r(!0), i(_, null, m(e.fill.donut, (l, n) => (r(), i("circle", {
|
|
771
772
|
class: "vue-ui-donut-arc-path",
|
|
772
773
|
cx: l.cx,
|
|
773
774
|
cy: l.cy,
|
|
774
775
|
r: 14,
|
|
775
776
|
fill: t.value.style.chart.backgroundColor
|
|
776
|
-
}, null, 8,
|
|
777
|
+
}, null, 8, yl))), 256)),
|
|
777
778
|
(r(!0), i(_, null, m(e.fill.donut, (l, n) => (r(), i("g", null, [
|
|
778
|
-
V(l, e.fill.donut, !0) > 6 ? (r(), i("g",
|
|
779
|
+
V(l, e.fill.donut, !0) > 6 ? (r(), i("g", kl, [
|
|
779
780
|
u("text", {
|
|
780
781
|
"text-anchor": c(L)(l, !0, 0).anchor,
|
|
781
782
|
x: c(L)(l, !0, 2).x,
|
|
@@ -792,67 +793,67 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
792
793
|
r: t.value.style.chart.legend.roundingValue
|
|
793
794
|
}),
|
|
794
795
|
{ datapoint: l, seriesIndex: n }
|
|
795
|
-
)) + ") ", 9,
|
|
796
|
+
)) + ") ", 9, gl),
|
|
796
797
|
u("text", {
|
|
797
798
|
"text-anchor": c(L)(l).anchor,
|
|
798
799
|
x: c(L)(l, !0, 2).x,
|
|
799
800
|
y: c(le)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
|
|
800
801
|
fill: t.value.style.chart.legend.color,
|
|
801
802
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
802
|
-
}, P(l.name), 9,
|
|
803
|
+
}, P(l.name), 9, $l)
|
|
803
804
|
])) : y("", !0)
|
|
804
805
|
]))), 256))
|
|
805
806
|
])) : y("", !0),
|
|
806
|
-
e.fill.miniDonut && !b.value ? (r(), i("g",
|
|
807
|
+
e.fill.miniDonut && !b.value ? (r(), i("g", _l, [
|
|
807
808
|
(r(!0), i(_, null, m(e.fill.miniDonut, (l, n) => (r(), i("path", {
|
|
808
809
|
class: "vue-ui-donut-arc-path",
|
|
809
810
|
d: l.arcSlice,
|
|
810
811
|
fill: `${l.color}`,
|
|
811
812
|
stroke: t.value.style.chart.backgroundColor,
|
|
812
813
|
"stroke-width": 0.5
|
|
813
|
-
}, null, 8,
|
|
814
|
+
}, null, 8, ml))), 256))
|
|
814
815
|
])) : y("", !0)
|
|
815
|
-
], 12,
|
|
816
|
+
], 12, sl))), 256))
|
|
816
817
|
])) : y("", !0)
|
|
817
818
|
])) : y("", !0),
|
|
818
|
-
t.value.style.shape === "tube" ? (r(), i("g",
|
|
819
|
-
F.value ? y("", !0) : (r(), i("g",
|
|
819
|
+
t.value.style.shape === "tube" ? (r(), i("g", xl, [
|
|
820
|
+
F.value ? y("", !0) : (r(), i("g", bl, [
|
|
820
821
|
u("path", {
|
|
821
822
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
822
|
-
d:
|
|
823
|
+
d: D.value.tubeTop,
|
|
823
824
|
stroke: t.value.style.chart.box.stroke,
|
|
824
825
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
825
826
|
"stroke-linejoin": "round",
|
|
826
827
|
"stroke-linecap": "round",
|
|
827
828
|
fill: "none"
|
|
828
|
-
}, null, 8,
|
|
829
|
+
}, null, 8, wl),
|
|
829
830
|
u("path", {
|
|
830
831
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
831
|
-
d:
|
|
832
|
+
d: D.value.tubeLeft,
|
|
832
833
|
stroke: t.value.style.chart.box.stroke,
|
|
833
834
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
834
835
|
"stroke-linejoin": "round",
|
|
835
836
|
"stroke-linecap": "round",
|
|
836
837
|
fill: "none"
|
|
837
|
-
}, null, 8,
|
|
838
|
+
}, null, 8, Cl),
|
|
838
839
|
u("path", {
|
|
839
840
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
840
|
-
d:
|
|
841
|
+
d: D.value.tubeRight,
|
|
841
842
|
stroke: t.value.style.chart.box.stroke,
|
|
842
843
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
843
844
|
"stroke-linejoin": "round",
|
|
844
845
|
"stroke-linecap": "round",
|
|
845
846
|
fill: "none"
|
|
846
|
-
}, null, 8,
|
|
847
|
+
}, null, 8, Fl),
|
|
847
848
|
u("path", {
|
|
848
849
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
849
|
-
d:
|
|
850
|
+
d: D.value.tubeBottom,
|
|
850
851
|
stroke: t.value.style.chart.box.stroke,
|
|
851
852
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
852
853
|
"stroke-linejoin": "round",
|
|
853
854
|
"stroke-linecap": "round",
|
|
854
855
|
fill: "none"
|
|
855
|
-
}, null, 8,
|
|
856
|
+
}, null, 8, Ml),
|
|
856
857
|
u("path", {
|
|
857
858
|
d: E.value.tubeTop,
|
|
858
859
|
stroke: t.value.style.chart.bar.stroke,
|
|
@@ -860,7 +861,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
860
861
|
"stroke-linejoin": "round",
|
|
861
862
|
"stroke-linecap": "round",
|
|
862
863
|
fill: `url(#gradient_top${x.value})`
|
|
863
|
-
}, null, 8,
|
|
864
|
+
}, null, 8, Pl),
|
|
864
865
|
u("path", {
|
|
865
866
|
d: E.value.tubeBody,
|
|
866
867
|
stroke: t.value.style.chart.bar.stroke,
|
|
@@ -868,11 +869,11 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
868
869
|
"stroke-linejoin": "round",
|
|
869
870
|
"stroke-linecap": "round",
|
|
870
871
|
fill: `url(#gradient_tube_body${x.value})`
|
|
871
|
-
}, null, 8,
|
|
872
|
+
}, null, 8, Sl)
|
|
872
873
|
])),
|
|
873
|
-
F.value ? (r(), i("g",
|
|
874
|
+
F.value ? (r(), i("g", jl, [
|
|
874
875
|
(r(!0), i(_, null, m(C.value, (e, h) => (r(), i("g", {
|
|
875
|
-
style:
|
|
876
|
+
style: B(`opacity:${b.value ? b.value === e.id ? 1 : 0.3 : 1}`),
|
|
876
877
|
class: "vue-ui-3d-bar-stack",
|
|
877
878
|
onClick: (l) => Z("selectDatapoint", e)
|
|
878
879
|
}, [
|
|
@@ -885,12 +886,12 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
885
886
|
u("stop", {
|
|
886
887
|
offset: "0%",
|
|
887
888
|
"stop-color": c(g)(c(A)(e.color, 0.5), 80)
|
|
888
|
-
}, null, 8,
|
|
889
|
+
}, null, 8, Dl),
|
|
889
890
|
u("stop", {
|
|
890
891
|
offset: "100%",
|
|
891
892
|
"stop-color": c(g)(c(ee)(e.color, 0.1), 80)
|
|
892
|
-
}, null, 8,
|
|
893
|
-
], 8,
|
|
893
|
+
}, null, 8, Nl)
|
|
894
|
+
], 8, zl),
|
|
894
895
|
u("linearGradient", {
|
|
895
896
|
id: `gradient_tube_body_${e.id}`,
|
|
896
897
|
x1: "0%",
|
|
@@ -901,24 +902,24 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
901
902
|
u("stop", {
|
|
902
903
|
offset: "0%",
|
|
903
904
|
"stop-color": `${e.color}`
|
|
904
|
-
}, null, 8,
|
|
905
|
+
}, null, 8, Il),
|
|
905
906
|
u("stop", {
|
|
906
907
|
offset: "10%",
|
|
907
908
|
"stop-color": c(g)(c(ee)(e.color, 0.7), 100)
|
|
908
|
-
}, null, 8,
|
|
909
|
+
}, null, 8, Ll),
|
|
909
910
|
u("stop", {
|
|
910
911
|
offset: "25%",
|
|
911
912
|
"stop-color": c(g)(c(ee)(e.color, 0.5), 100)
|
|
912
|
-
}, null, 8,
|
|
913
|
+
}, null, 8, Ol),
|
|
913
914
|
u("stop", {
|
|
914
915
|
offset: "75%",
|
|
915
916
|
"stop-color": c(g)(e.color, 80)
|
|
916
|
-
}, null, 8,
|
|
917
|
+
}, null, 8, Wl),
|
|
917
918
|
u("stop", {
|
|
918
919
|
offset: "100%",
|
|
919
920
|
"stop-color": c(g)(c(A)(e.color, 0.7), 100)
|
|
920
|
-
}, null, 8,
|
|
921
|
-
], 8,
|
|
921
|
+
}, null, 8, Gl)
|
|
922
|
+
], 8, Bl)
|
|
922
923
|
]),
|
|
923
924
|
u("path", {
|
|
924
925
|
onMouseenter: (l) => M(e),
|
|
@@ -930,7 +931,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
930
931
|
"stroke-linejoin": "round",
|
|
931
932
|
"stroke-linecap": "round",
|
|
932
933
|
fill: `url(#gradient_tube_body_${e.id})`
|
|
933
|
-
}, null, 40,
|
|
934
|
+
}, null, 40, Vl),
|
|
934
935
|
h > 0 ? (r(), i("path", {
|
|
935
936
|
key: 0,
|
|
936
937
|
onMouseenter: (l) => M(e),
|
|
@@ -942,7 +943,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
942
943
|
"stroke-linejoin": "round",
|
|
943
944
|
"stroke-linecap": "round",
|
|
944
945
|
fill: "none"
|
|
945
|
-
}, null, 40,
|
|
946
|
+
}, null, 40, Al)) : y("", !0),
|
|
946
947
|
u("path", {
|
|
947
948
|
onMouseenter: (l) => M(e),
|
|
948
949
|
onClick: (l) => M(e, !0),
|
|
@@ -953,10 +954,10 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
953
954
|
"stroke-linejoin": "round",
|
|
954
955
|
"stroke-linecap": "round",
|
|
955
956
|
fill: `url(#gradient_tube_top_${e.id})`
|
|
956
|
-
}, null, 40,
|
|
957
|
-
], 12,
|
|
957
|
+
}, null, 40, Ul)
|
|
958
|
+
], 12, Tl))), 256)),
|
|
958
959
|
(r(!0), i(_, null, m(C.value, (e, h) => (r(), i("g", {
|
|
959
|
-
style:
|
|
960
|
+
style: B(`opacity:${b.value ? b.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
|
|
960
961
|
onClick: (l) => Z("selectDatapoint", e)
|
|
961
962
|
}, [
|
|
962
963
|
u("path", {
|
|
@@ -965,7 +966,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
965
966
|
"stroke-width": "0.5",
|
|
966
967
|
"stroke-linecap": "round",
|
|
967
968
|
d: `M${e.fill.sidePointer.x},${e.fill.sidePointer.y} ${e.fill.sidePointer.x + 20},${e.fill.sidePointer.y}`
|
|
968
|
-
}, null, 8,
|
|
969
|
+
}, null, 8, Hl),
|
|
969
970
|
!e.fill.miniDonut || b.value ? (r(), i("circle", {
|
|
970
971
|
key: 0,
|
|
971
972
|
cx: e.fill.sidePointer.x + 20,
|
|
@@ -973,7 +974,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
973
974
|
r: 2,
|
|
974
975
|
fill: e.color,
|
|
975
976
|
stroke: t.value.style.chart.backgroundColor
|
|
976
|
-
}, null, 8,
|
|
977
|
+
}, null, 8, Zl)) : y("", !0),
|
|
977
978
|
(r(), i("foreignObject", {
|
|
978
979
|
x: e.fill.sidePointer.x + 30,
|
|
979
980
|
y: e.fill.sidePointer.y - t.value.style.chart.legend.fontSize,
|
|
@@ -983,7 +984,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
983
984
|
}, [
|
|
984
985
|
t.value.style.chart.legend.showDefault ? (r(), i("div", {
|
|
985
986
|
key: 0,
|
|
986
|
-
style:
|
|
987
|
+
style: B(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${t.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${t.value.style.chart.legend.fontSize}px; color:${t.value.style.chart.legend.color}`)
|
|
987
988
|
}, P(e.name) + ": " + P(c(T)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })) + " (" + P(c(te)(
|
|
988
989
|
t.value.style.chart.dataLabel.formatter,
|
|
989
990
|
e.value,
|
|
@@ -995,9 +996,9 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
995
996
|
}),
|
|
996
997
|
{ datapoint: e, seriesIndex: h }
|
|
997
998
|
)) + ") ", 5)) : y("", !0),
|
|
998
|
-
|
|
999
|
-
], 8,
|
|
1000
|
-
e.fill.donut && b.value === e.id ? (r(), i("g",
|
|
999
|
+
z(a.$slots, "legend", Y(J({ datapoint: e, config: t.value, dataset: C.value })), void 0, !0)
|
|
1000
|
+
], 8, ql)),
|
|
1001
|
+
e.fill.donut && b.value === e.id ? (r(), i("g", Xl, [
|
|
1001
1002
|
(r(!0), i(_, null, m(e.fill.donut, (l, n) => (r(), i("g", null, [
|
|
1002
1003
|
V(l, e.fill.donut, !0) > 6 ? (r(), i("path", {
|
|
1003
1004
|
key: 0,
|
|
@@ -1008,7 +1009,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
1008
1009
|
"stroke-linecap": "round",
|
|
1009
1010
|
"stroke-linejoin": "round",
|
|
1010
1011
|
fill: "none"
|
|
1011
|
-
}, null, 8,
|
|
1012
|
+
}, null, 8, Rl)) : y("", !0)
|
|
1012
1013
|
]))), 256)),
|
|
1013
1014
|
(r(!0), i(_, null, m(e.fill.donut, (l, n) => (r(), i("path", {
|
|
1014
1015
|
class: "vue-ui-donut-arc-path",
|
|
@@ -1016,7 +1017,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
1016
1017
|
fill: `${l.color}`,
|
|
1017
1018
|
stroke: t.value.style.chart.backgroundColor,
|
|
1018
1019
|
"stroke-width": 1
|
|
1019
|
-
}, null, 8,
|
|
1020
|
+
}, null, 8, Yl))), 256)),
|
|
1020
1021
|
u("defs", null, [
|
|
1021
1022
|
u("radialGradient", {
|
|
1022
1023
|
id: `hollow_gradient_${x.value}`
|
|
@@ -1024,13 +1025,13 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
1024
1025
|
u("stop", {
|
|
1025
1026
|
offset: "0%",
|
|
1026
1027
|
"stop-color": c(g)(t.value.style.chart.backgroundColor, 0)
|
|
1027
|
-
}, null, 8,
|
|
1028
|
-
|
|
1028
|
+
}, null, 8, Kl),
|
|
1029
|
+
Ql,
|
|
1029
1030
|
u("stop", {
|
|
1030
1031
|
offset: "100%",
|
|
1031
1032
|
"stop-color": c(g)(t.value.style.chart.backgroundColor, 0)
|
|
1032
|
-
}, null, 8,
|
|
1033
|
-
], 8,
|
|
1033
|
+
}, null, 8, eo)
|
|
1034
|
+
], 8, Jl)
|
|
1034
1035
|
]),
|
|
1035
1036
|
(r(!0), i(_, null, m(e.fill.donut, (l, n) => (r(), i("circle", {
|
|
1036
1037
|
class: "vue-ui-donut-arc-path",
|
|
@@ -1038,16 +1039,16 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
1038
1039
|
cy: l.cy,
|
|
1039
1040
|
r: 28,
|
|
1040
1041
|
fill: `url(#hollow_gradient_${x.value})`
|
|
1041
|
-
}, null, 8,
|
|
1042
|
+
}, null, 8, to))), 256)),
|
|
1042
1043
|
(r(!0), i(_, null, m(e.fill.donut, (l, n) => (r(), i("circle", {
|
|
1043
1044
|
class: "vue-ui-donut-arc-path",
|
|
1044
1045
|
cx: l.cx,
|
|
1045
1046
|
cy: l.cy,
|
|
1046
1047
|
r: 14,
|
|
1047
1048
|
fill: t.value.style.chart.backgroundColor
|
|
1048
|
-
}, null, 8,
|
|
1049
|
+
}, null, 8, lo))), 256)),
|
|
1049
1050
|
(r(!0), i(_, null, m(e.fill.donut, (l, n) => (r(), i("g", null, [
|
|
1050
|
-
V(l, e.fill.donut, !0) > 6 ? (r(), i("g",
|
|
1051
|
+
V(l, e.fill.donut, !0) > 6 ? (r(), i("g", oo, [
|
|
1051
1052
|
u("text", {
|
|
1052
1053
|
"text-anchor": c(L)(l, !0, 0).anchor,
|
|
1053
1054
|
x: c(L)(l, !0, 2).x,
|
|
@@ -1064,33 +1065,33 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
1064
1065
|
r: t.value.style.chart.legend.roundingValue
|
|
1065
1066
|
}),
|
|
1066
1067
|
{ datapoint: l, seriesIndex: n }
|
|
1067
|
-
)) + ") ", 9,
|
|
1068
|
+
)) + ") ", 9, so),
|
|
1068
1069
|
u("text", {
|
|
1069
1070
|
"text-anchor": c(L)(l).anchor,
|
|
1070
1071
|
x: c(L)(l, !0, 2).x,
|
|
1071
1072
|
y: c(le)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
|
|
1072
1073
|
fill: t.value.style.chart.legend.color,
|
|
1073
1074
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
1074
|
-
}, P(l.name), 9,
|
|
1075
|
+
}, P(l.name), 9, ao)
|
|
1075
1076
|
])) : y("", !0)
|
|
1076
1077
|
]))), 256))
|
|
1077
1078
|
])) : y("", !0),
|
|
1078
|
-
e.fill.miniDonut && !b.value ? (r(), i("g",
|
|
1079
|
+
e.fill.miniDonut && !b.value ? (r(), i("g", no, [
|
|
1079
1080
|
(r(!0), i(_, null, m(e.fill.miniDonut, (l, n) => (r(), i("path", {
|
|
1080
1081
|
class: "vue-ui-donut-arc-path",
|
|
1081
1082
|
d: l.arcSlice,
|
|
1082
1083
|
fill: `${l.color}`,
|
|
1083
1084
|
stroke: t.value.style.chart.backgroundColor,
|
|
1084
1085
|
"stroke-width": 0.5
|
|
1085
|
-
}, null, 8,
|
|
1086
|
+
}, null, 8, ro))), 256))
|
|
1086
1087
|
])) : y("", !0)
|
|
1087
|
-
], 12,
|
|
1088
|
+
], 12, El))), 256))
|
|
1088
1089
|
])) : y("", !0)
|
|
1089
1090
|
])) : y("", !0),
|
|
1090
|
-
|
|
1091
|
-
], 14,
|
|
1092
|
-
a.$slots.watermark ? (r(), i("div",
|
|
1093
|
-
|
|
1091
|
+
z(a.$slots, "svg", { svg: o.value }, void 0, !0)
|
|
1092
|
+
], 14, it)) : y("", !0),
|
|
1093
|
+
a.$slots.watermark ? (r(), i("div", uo, [
|
|
1094
|
+
z(a.$slots, "watermark", Y(J({ isPrinting: c(ce) || c(he) })), void 0, !0)
|
|
1094
1095
|
])) : y("", !0),
|
|
1095
1096
|
q.value ? y("", !0) : (r(), H(ot, {
|
|
1096
1097
|
key: 4,
|
|
@@ -1134,7 +1135,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
1134
1135
|
u("div", {
|
|
1135
1136
|
innerHTML: e,
|
|
1136
1137
|
style: { display: "flex", "align-items": "center" }
|
|
1137
|
-
}, null, 8,
|
|
1138
|
+
}, null, 8, io)
|
|
1138
1139
|
]),
|
|
1139
1140
|
td: I(({ td: e }) => [
|
|
1140
1141
|
Ve(P(e.name || e), 1)
|
|
@@ -1146,7 +1147,7 @@ const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = [
|
|
|
1146
1147
|
}, 8, ["config"])) : y("", !0)
|
|
1147
1148
|
], 12, rt));
|
|
1148
1149
|
}
|
|
1149
|
-
},
|
|
1150
|
+
}, mo = /* @__PURE__ */ nt(co, [["__scopeId", "data-v-5510cf53"]]);
|
|
1150
1151
|
export {
|
|
1151
|
-
|
|
1152
|
+
mo as default
|
|
1152
1153
|
};
|