vue-data-ui 2.3.90 → 2.3.91
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-C_Fnn6al.js → Arrow-CHTslrAF.js} +1 -1
- package/dist/{Arrow-D1pymKl6.cjs → Arrow-DpuaFuue.cjs} +1 -1
- package/dist/{BaseIcon-BMfi5PnL.js → BaseIcon-DfaCNBgc.js} +1 -1
- package/dist/{BaseIcon-CnFXP_n9.cjs → BaseIcon-JWGtHqTA.cjs} +1 -1
- package/dist/{DataTable-Cmbf3abv.js → DataTable-BKc3r3k3.js} +2 -2
- package/dist/{DataTable-cOEA6Z37.cjs → DataTable-CnkdsvIo.cjs} +1 -1
- package/dist/{Legend-XqP6-7Ac.cjs → Legend-BQJV6Xk4.cjs} +1 -1
- package/dist/{Legend-CCq0mNRg.js → Legend-WNL92WSx.js} +1 -1
- package/dist/PackageVersion-D9PU8glB.js +10 -0
- package/dist/PackageVersion-LdLhc8hQ.cjs +1 -0
- package/dist/{Shape-B51JGReT.cjs → Shape-CgW0V2Og.cjs} +1 -1
- package/dist/{Shape-BNocET8E.js → Shape-DPvoEBm9.js} +1 -1
- package/dist/{Slicer-BKszZXjM.js → Slicer-DE9nFM_c.js} +2 -2
- package/dist/{Slicer-Bc7OWCcl.cjs → Slicer-Dma3nlzi.cjs} +1 -1
- package/dist/{Title-BaR4XyXa.cjs → Title-Bg_BK11V.cjs} +1 -1
- package/dist/{Title-DlBwa3-X.js → Title-CECK1w9L.js} +1 -1
- package/dist/{Tooltip-w32n-8sY.js → Tooltip-Ci3AprCm.js} +1 -1
- package/dist/{Tooltip-CX57w9Q9.cjs → Tooltip-lM1Jzkza.cjs} +1 -1
- package/dist/{index-B8EMsnjU.cjs → index-BhH89oF0.cjs} +1 -1
- package/dist/{index-DQl1TFXa.js → index-mBy4elhB.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-lmeFt-ev.js → useNestedProp-BrIRtQj1.js} +1 -1
- package/dist/{useNestedProp-DlCe_zZz.cjs → useNestedProp-m8IH8hWW.cjs} +1 -1
- package/dist/{usePrinter-BmXrEJ99.cjs → usePrinter-B8jr_V3b.cjs} +1 -1
- package/dist/{usePrinter-DgKGVvJC.js → usePrinter-Ck-yukK2.js} +1 -1
- package/dist/{vue-data-ui-DQurgvN8.cjs → vue-data-ui-BgaY7Noy.cjs} +1 -1
- package/dist/{vue-data-ui-Byrb_Y3k.js → vue-data-ui-BuL-2aYA.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-C9a-AsIX.cjs +19 -0
- package/dist/{vue-ui-3d-bar-CM_usP2U.js → vue-ui-3d-bar-Cv-56A3m.js} +148 -146
- package/dist/{vue-ui-accordion-DRI-fN6I.cjs → vue-ui-accordion-Bzq1iTL2.cjs} +1 -1
- package/dist/{vue-ui-accordion-CroZrm7T.js → vue-ui-accordion-dyF20BlD.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BZU-WI_a.js → vue-ui-age-pyramid-BqsDR6uw.js} +83 -81
- package/dist/vue-ui-age-pyramid-DDPU8QV8.cjs +1 -0
- package/dist/{vue-ui-annotator-BpzM25VY.cjs → vue-ui-annotator-B9HxrEVE.cjs} +1 -1
- package/dist/{vue-ui-annotator-CsfYgmrC.js → vue-ui-annotator-CkJsRR0r.js} +1 -1
- package/dist/{vue-ui-candlestick-BPi7aBEf.js → vue-ui-candlestick-B8eYA2g0.js} +113 -111
- package/dist/vue-ui-candlestick-DbbbJa-d.cjs +2 -0
- package/dist/{vue-ui-carousel-table-tbviS8Fo.js → vue-ui-carousel-table-BCiTg3Ok.js} +4 -4
- package/dist/{vue-ui-carousel-table-CpodLcgX.cjs → vue-ui-carousel-table-CCWGcKb7.cjs} +1 -1
- package/dist/{vue-ui-chestnut-ql9yEs6j.js → vue-ui-chestnut-DI-N69Ad.js} +161 -159
- package/dist/vue-ui-chestnut-rsWP_sXY.cjs +6 -0
- package/dist/{vue-ui-cursor-Dw7_R_Pd.js → vue-ui-cursor-BUzJk1oC.js} +2 -2
- package/dist/{vue-ui-cursor-B3w0SgJP.cjs → vue-ui-cursor-wY14Z-Vd.cjs} +1 -1
- package/dist/{vue-ui-dashboard-enrB5B3P.cjs → vue-ui-dashboard-Cf8TYbAr.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DAY0cdat.js → vue-ui-dashboard-CiG3kXLl.js} +2 -2
- package/dist/{vue-ui-digits-3Q6uZCzD.cjs → vue-ui-digits-BBho1-xO.cjs} +1 -1
- package/dist/{vue-ui-digits-DN6CRpXc.js → vue-ui-digits-DZJI0YuX.js} +2 -2
- package/dist/{vue-ui-donut-B3yDJvZI.js → vue-ui-donut-CBG9ECp8.js} +118 -116
- package/dist/vue-ui-donut-D4WpeX9W.cjs +1 -0
- package/dist/vue-ui-donut-evolution-BVnSrr-b.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-CzBvVRKG.js → vue-ui-donut-evolution-BtTiBfLb.js} +102 -100
- package/dist/vue-ui-dumbbell-BQKiB9yH.cjs +9 -0
- package/dist/{vue-ui-dumbbell-vQ5YRGwJ.js → vue-ui-dumbbell-DlEN2c_X.js} +88 -86
- package/dist/{vue-ui-flow-DAOKURA6.js → vue-ui-flow-CXqGztWj.js} +65 -63
- package/dist/vue-ui-flow-DfMNmttZ.cjs +1 -0
- package/dist/vue-ui-galaxy-CGn5nkD5.cjs +1 -0
- package/dist/{vue-ui-galaxy-B86BK1JM.js → vue-ui-galaxy-xI38Kf-S.js} +82 -80
- package/dist/{vue-ui-gauge-n8TilFo9.js → vue-ui-gauge-BEludqYn.js} +56 -54
- package/dist/vue-ui-gauge-Bz-OSNOJ.cjs +1 -0
- package/dist/{vue-ui-gizmo-CFIBlG4V.js → vue-ui-gizmo-BB28OTr1.js} +32 -30
- package/dist/vue-ui-gizmo-CZZB7YgY.cjs +1 -0
- package/dist/vue-ui-heatmap-BtUvE7rK.cjs +1 -0
- package/dist/{vue-ui-heatmap-ZkmD9EAg.js → vue-ui-heatmap-mywZXUV8.js} +99 -97
- package/dist/{vue-ui-kpi-D6Myg0y1.cjs → vue-ui-kpi-CEAGjnkj.cjs} +1 -1
- package/dist/{vue-ui-kpi-CtJ3t6GX.js → vue-ui-kpi-zr721ux9.js} +3 -3
- package/dist/{vue-ui-mini-loader-Cosy9XjR.js → vue-ui-mini-loader-9zyuKIpT.js} +2 -2
- package/dist/{vue-ui-mini-loader-BjJ_YYZj.cjs → vue-ui-mini-loader-DBFAzGb2.cjs} +1 -1
- package/dist/{vue-ui-molecule-DTFOBjgC.js → vue-ui-molecule-Bv_ppQig.js} +77 -75
- package/dist/vue-ui-molecule-DltNL0kV.cjs +1 -0
- package/dist/{vue-ui-mood-radar-J_dI9m_i.js → vue-ui-mood-radar-CIK2Xohn.js} +76 -74
- package/dist/vue-ui-mood-radar-CQkF2Rp1.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-CtqU4xxu.js → vue-ui-nested-donuts-f-cMx3iQ.js} +112 -110
- package/dist/vue-ui-nested-donuts-vHr23QlH.cjs +17 -0
- package/dist/vue-ui-onion-B6ZrryDW.cjs +5 -0
- package/dist/{vue-ui-onion-BMo0Ye54.js → vue-ui-onion-CmUXelhy.js} +82 -80
- package/dist/vue-ui-parallel-coordinate-plot-BU0yoxD9.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-yKLZbDS5.js → vue-ui-parallel-coordinate-plot-h9dS2u_k.js} +91 -89
- package/dist/{vue-ui-quadrant-BrRasVaj.js → vue-ui-quadrant-DNT_0fTL.js} +141 -139
- package/dist/vue-ui-quadrant-DPPXilUd.cjs +1 -0
- package/dist/vue-ui-quick-chart-1gG267X0.cjs +15 -0
- package/dist/{vue-ui-quick-chart-uH33UIjX.js → vue-ui-quick-chart-T6C0BTyw.js} +166 -164
- package/dist/{vue-ui-radar-BJ3qMHP4.js → vue-ui-radar-CfCHXIYJ.js} +89 -87
- package/dist/vue-ui-radar-DpzjMFZD.cjs +1 -0
- package/dist/{vue-ui-rating-BEWaQMBR.cjs → vue-ui-rating-DYcT_LS-.cjs} +1 -1
- package/dist/{vue-ui-rating-BFskhiyh.js → vue-ui-rating-DuRLpMwk.js} +2 -2
- package/dist/vue-ui-relation-circle-BMrPtD2n.cjs +1 -0
- package/dist/{vue-ui-relation-circle-DdK4qk0P.js → vue-ui-relation-circle-WmZMKqHL.js} +54 -52
- package/dist/{vue-ui-rings-BqHSq6Wt.js → vue-ui-rings-Ce0Z_osd.js} +97 -93
- package/dist/{vue-ui-rings-D_T_D6AS.cjs → vue-ui-rings-CkYl3uce.cjs} +2 -2
- package/dist/vue-ui-scatter-Cjie2D-t.cjs +1 -0
- package/dist/{vue-ui-scatter-C0gfF6NJ.js → vue-ui-scatter-DY9EpoGP.js} +132 -130
- package/dist/{vue-ui-screenshot-CbvIYfYU.cjs → vue-ui-screenshot-BCFym6go.cjs} +1 -1
- package/dist/{vue-ui-screenshot-6tOLntj9.js → vue-ui-screenshot-lQLJHBQ2.js} +1 -1
- package/dist/vue-ui-skeleton-Cf89QIhl.cjs +41 -0
- package/dist/{vue-ui-skeleton-BVJGmYjj.js → vue-ui-skeleton-DDhwPZd_.js} +423 -388
- package/dist/{vue-ui-smiley-CUgH2tnV.cjs → vue-ui-smiley-DMA6fgGr.cjs} +1 -1
- package/dist/{vue-ui-smiley-2EoxEmXW.js → vue-ui-smiley-xxMwBT9c.js} +2 -2
- package/dist/vue-ui-spark-trend-Btj_H6fa.cjs +1 -0
- package/dist/{vue-ui-spark-trend-DjNPMOkN.js → vue-ui-spark-trend-CLHTqp94.js} +42 -40
- package/dist/{vue-ui-sparkbar-BBm3DE1P.js → vue-ui-sparkbar-Btk6snt4.js} +53 -51
- package/dist/vue-ui-sparkbar-CKrbBVKQ.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-IIW24eJQ.js → vue-ui-sparkgauge-DKJtFTSv.js} +31 -29
- package/dist/vue-ui-sparkgauge-DfWLtFYS.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-DVXxA6ji.js → vue-ui-sparkhistogram-JRLlw9EX.js} +69 -67
- package/dist/vue-ui-sparkhistogram-wHJ-8zVV.cjs +1 -0
- package/dist/vue-ui-sparkline-DElVaalm.cjs +1 -0
- package/dist/{vue-ui-sparkline-CH89kcaa.js → vue-ui-sparkline-tBF9iaNm.js} +65 -63
- package/dist/{vue-ui-sparkstackbar-Bcod5yu_.js → vue-ui-sparkstackbar-BS9I8en7.js} +46 -44
- package/dist/vue-ui-sparkstackbar-tZa2IYHP.cjs +1 -0
- package/dist/{vue-ui-stackbar-Djjcgtyg.js → vue-ui-stackbar-UiX8q4yL.js} +128 -126
- package/dist/vue-ui-stackbar-rOa0atA9.cjs +6 -0
- package/dist/{vue-ui-strip-plot-ByPCQ4xk.js → vue-ui-strip-plot-BOkfg5vB.js} +78 -76
- package/dist/vue-ui-strip-plot-hRy6QRHK.cjs +1 -0
- package/dist/{vue-ui-table-B6Kpda3o.cjs → vue-ui-table-B9dc0l0k.cjs} +1 -1
- package/dist/{vue-ui-table-D8Sm2fzX.js → vue-ui-table-Dtfv71zG.js} +1 -1
- package/dist/{vue-ui-table-heatmap-mlq_J56h.js → vue-ui-table-heatmap-BMl-sP5Q.js} +4 -4
- package/dist/{vue-ui-table-heatmap-DjEN0l12.cjs → vue-ui-table-heatmap-DUQEHohs.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DByva7rj.cjs → vue-ui-table-sparkline-BVnGb-lu.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DF29_qZk.js → vue-ui-table-sparkline-BeunspIj.js} +5 -5
- package/dist/vue-ui-thermometer-A3Xxn5Ly.cjs +1 -0
- package/dist/{vue-ui-thermometer-BKf-rGuS.js → vue-ui-thermometer-Cb9ALBj_.js} +80 -78
- package/dist/{vue-ui-timer-B8jW8M60.js → vue-ui-timer-2PRDq1w6.js} +62 -60
- package/dist/vue-ui-timer-DltmIdrq.cjs +64 -0
- package/dist/vue-ui-tiremarks-BTlJcW4v.cjs +1 -0
- package/dist/{vue-ui-tiremarks-riEfve5q.js → vue-ui-tiremarks-Bse3PMGV.js} +51 -49
- package/dist/vue-ui-treemap-Cv_mHK8H.cjs +1 -0
- package/dist/{vue-ui-treemap-5F0ynBnb.js → vue-ui-treemap-D8fjVYq0.js} +93 -91
- package/dist/{vue-ui-vertical-bar-CxRBvHZy.js → vue-ui-vertical-bar-BVldPT8k.js} +110 -108
- package/dist/vue-ui-vertical-bar-ZgJq3_CI.cjs +4 -0
- package/dist/vue-ui-waffle-BpeGEjCl.cjs +1 -0
- package/dist/{vue-ui-waffle-B8G4i5WH.js → vue-ui-waffle-wikAjwZY.js} +72 -70
- package/dist/vue-ui-wheel-BlgfdULS.cjs +1 -0
- package/dist/{vue-ui-wheel-DmzkGeCY.js → vue-ui-wheel-D5qyBs0Y.js} +43 -41
- package/dist/{vue-ui-word-cloud-dMBTVGVk.js → vue-ui-word-cloud-Bcdl2iE-.js} +60 -58
- package/dist/vue-ui-word-cloud-sNzfl_Tq.cjs +1 -0
- package/dist/{vue-ui-xy-iUQyB_PL.js → vue-ui-xy-CUjllUSv.js} +507 -504
- package/dist/vue-ui-xy-FHLTc7xG.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-CCwtKYgd.cjs → vue-ui-xy-canvas-BJUnRVuf.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-nraUv13Y.js → vue-ui-xy-canvas-BkOlPU8e.js} +10 -10
- package/package.json +1 -1
- 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-nmx846H2.cjs +0 -1
- package/dist/vue-ui-xy-CLYgZk3Y.cjs +0 -3
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
import { computed as b, ref as v, onMounted as
|
|
2
|
-
import { u as Qe, o as Ze, e as
|
|
1
|
+
import { computed as b, ref as v, onMounted as He, onBeforeUnmount as We, watch as Ne, openBlock as s, createElementBlock as n, normalizeClass as ue, normalizeStyle as z, renderSlot as g, createBlock as V, createCommentVNode as d, unref as o, createSlots as Xe, withCtx as w, normalizeProps as H, guardReactiveProps as W, createVNode as Oe, createElementVNode as y, Fragment as M, renderList as X, toDisplayString as C, createTextVNode as Pe, nextTick as qe, pushScopeId as Je, popScopeId as Ke } from "vue";
|
|
2
|
+
import { u as Qe, o as Ze, e as Ae, g as el, c as ll, b as tl, d as De, p as D, m as al, f as x, X as ol, s as q, j as ul, F as sl, i as F, k as f, n as J, t as rl, a as nl, x as il, q as vl, r as cl } from "./index-mBy4elhB.js";
|
|
3
3
|
import { t as dl, u as hl } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { D as bl } from "./DataTable-
|
|
7
|
-
import { _ as gl } from "./Tooltip-
|
|
8
|
-
import { L as ml } from "./Legend-
|
|
9
|
-
import wl from "./vue-ui-skeleton-
|
|
10
|
-
import kl from "./vue-ui-accordion-
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as _l } from "./
|
|
13
|
-
|
|
4
|
+
import { _ as fl } from "./Title-CECK1w9L.js";
|
|
5
|
+
import { u as yl, U as pl } from "./usePrinter-Ck-yukK2.js";
|
|
6
|
+
import { D as bl } from "./DataTable-BKc3r3k3.js";
|
|
7
|
+
import { _ as gl } from "./Tooltip-Ci3AprCm.js";
|
|
8
|
+
import { L as ml } from "./Legend-WNL92WSx.js";
|
|
9
|
+
import wl from "./vue-ui-skeleton-DDhwPZd_.js";
|
|
10
|
+
import kl from "./vue-ui-accordion-dyF20BlD.js";
|
|
11
|
+
import { u as Ie } from "./useNestedProp-BrIRtQj1.js";
|
|
12
|
+
import { _ as _l } from "./PackageVersion-D9PU8glB.js";
|
|
13
|
+
import { _ as Cl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const xl = (G) => (Je("data-v-98fd948d"), G = G(), Ke(), G), $l = ["id"], Sl = ["xmlns", "viewBox"], Ll = ["id"], Fl = ["stop-color"], Tl = ["offset", "stop-color"], zl = ["offset", "stop-color"], Nl = ["stop-color"], Ol = ["id"], Pl = ["id"], Al = /* @__PURE__ */ xl(() => /* @__PURE__ */ y("feColorMatrix", {
|
|
14
15
|
type: "saturate",
|
|
15
16
|
values: "0"
|
|
16
|
-
}, null, -1)),
|
|
17
|
+
}, null, -1)), Dl = ["id"], Il = ["flood-color"], Bl = ["d", "stroke", "filter"], Vl = ["cx", "cy", "r", "fill", "filter"], Ml = ["stroke", "d"], Gl = ["d", "fill", "stroke", "stroke-width", "filter"], Ul = ["cx", "cy", "r", "fill", "stroke"], jl = ["cx", "cy", "r", "fill"], El = ["d", "fill", "onMouseenter", "onClick"], Rl = ["x", "y", "fill", "font-size"], Yl = ["x", "y", "fill", "font-size"], Hl = ["x", "y", "fill", "font-size"], Wl = ["x", "y", "fill", "font-size"], Xl = ["filter"], ql = { key: 0 }, Jl = ["x", "y"], Kl = { key: 1 }, Ql = ["cx", "cy", "fill", "filter", "onClick"], Zl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], et = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], lt = { key: 2 }, tt = ["x", "y", "width"], at = {
|
|
17
18
|
key: 3,
|
|
18
19
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
20
|
+
}, ot = ["onClick"], ut = {
|
|
20
21
|
key: 0,
|
|
21
22
|
style: { "font-variant-numeric": "tabular-nums" }
|
|
22
|
-
},
|
|
23
|
+
}, st = { key: 1 }, rt = ["innerHTML"], nt = {
|
|
23
24
|
__name: "vue-ui-donut",
|
|
24
25
|
props: {
|
|
25
26
|
config: {
|
|
@@ -36,8 +37,8 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
36
37
|
}
|
|
37
38
|
},
|
|
38
39
|
emits: ["selectLegend", "selectDatapoint"],
|
|
39
|
-
setup(G, { expose:
|
|
40
|
-
const S = G, { vue_ui_donut:
|
|
40
|
+
setup(G, { expose: Be, emit: se }) {
|
|
41
|
+
const S = G, { vue_ui_donut: Ve } = Qe(), U = b({
|
|
41
42
|
get() {
|
|
42
43
|
return !!S.dataset && S.dataset.length;
|
|
43
44
|
},
|
|
@@ -45,13 +46,13 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
45
46
|
return t;
|
|
46
47
|
}
|
|
47
48
|
}), j = v(null), re = v(null), ne = v(null), K = v(null), ie = v(0), ve = v(0), ce = v(0);
|
|
48
|
-
|
|
49
|
+
He(() => {
|
|
49
50
|
de();
|
|
50
|
-
}),
|
|
51
|
+
}), We(() => {
|
|
51
52
|
K.value && K.value.disconnect();
|
|
52
53
|
});
|
|
53
54
|
function de() {
|
|
54
|
-
if (Ze(S.dataset) ?
|
|
55
|
+
if (Ze(S.dataset) ? Ae({
|
|
55
56
|
componentName: "VueUiDonut",
|
|
56
57
|
type: "dataset"
|
|
57
58
|
}) : S.dataset.forEach((t, a) => {
|
|
@@ -59,7 +60,7 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
59
60
|
datasetObject: t,
|
|
60
61
|
requiredAttributes: ["name", "values"]
|
|
61
62
|
}).forEach((l) => {
|
|
62
|
-
U.value = !1,
|
|
63
|
+
U.value = !1, Ae({
|
|
63
64
|
componentName: "VueUiDonut",
|
|
64
65
|
type: "datasetSerieAttribute",
|
|
65
66
|
property: l,
|
|
@@ -78,14 +79,14 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
78
79
|
K.value = new ResizeObserver(t), K.value.observe(j.value.parentNode);
|
|
79
80
|
}
|
|
80
81
|
}
|
|
81
|
-
const $ = v(ll()),
|
|
82
|
-
function
|
|
83
|
-
const t =
|
|
82
|
+
const $ = v(ll()), Me = v(null), ee = v(!1), le = v(""), T = v(null), he = v(0);
|
|
83
|
+
function fe() {
|
|
84
|
+
const t = Ie({
|
|
84
85
|
userConfig: S.config,
|
|
85
|
-
defaultConfig:
|
|
86
|
+
defaultConfig: Ve
|
|
86
87
|
});
|
|
87
88
|
return t.theme ? {
|
|
88
|
-
...
|
|
89
|
+
...Ie({
|
|
89
90
|
userConfig: rl.vue_ui_donut[t.theme] || S.config,
|
|
90
91
|
defaultConfig: t
|
|
91
92
|
}),
|
|
@@ -93,13 +94,13 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
93
94
|
} : t;
|
|
94
95
|
}
|
|
95
96
|
const e = b({
|
|
96
|
-
get: () =>
|
|
97
|
+
get: () => fe(),
|
|
97
98
|
set: (t) => t
|
|
98
99
|
});
|
|
99
100
|
Ne(() => S.config, (t) => {
|
|
100
|
-
e.value =
|
|
101
|
+
e.value = fe(), de(), ie.value += 1, ve.value += 1, ce.value += 1;
|
|
101
102
|
}, { deep: !0 });
|
|
102
|
-
const { isPrinting:
|
|
103
|
+
const { isPrinting: ye, isImaging: pe, generatePdf: be, generateImage: ge } = yl({
|
|
103
104
|
elementId: `donut__${$.value}`,
|
|
104
105
|
fileName: e.value.style.chart.title.text || "vue-ui-donut"
|
|
105
106
|
}), me = b(() => tl(e.value.customPalette)), p = v({
|
|
@@ -116,13 +117,13 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
116
117
|
return l < 24 ? 24 : l;
|
|
117
118
|
}), O = b(() => S.dataset.map((t, a) => ({
|
|
118
119
|
name: t.name,
|
|
119
|
-
color:
|
|
120
|
+
color: De(t.color) || me.value[a] || D[a] || D[a % D.length],
|
|
120
121
|
value: t.values.reduce((l, u) => l + u, 0),
|
|
121
122
|
absoluteValues: t.values,
|
|
122
123
|
comment: t.comment || ""
|
|
123
124
|
}))), k = v(O.value);
|
|
124
125
|
Ne(() => O.value, (t) => k.value = t);
|
|
125
|
-
function
|
|
126
|
+
function Ge() {
|
|
126
127
|
return O.value.map((t) => ({
|
|
127
128
|
name: t.name,
|
|
128
129
|
color: t.color,
|
|
@@ -175,7 +176,7 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
175
176
|
seriesIndex: a
|
|
176
177
|
})).filter((t, a) => !L.value.includes(a)))), Ce = b(() => S.dataset.map((t, a) => ({
|
|
177
178
|
name: t.name,
|
|
178
|
-
color:
|
|
179
|
+
color: De(t.color) || me.value[a] || D[a] || D[a % D.length],
|
|
179
180
|
value: (t.values || []).reduce((l, u) => l + u, 0),
|
|
180
181
|
shape: "circle"
|
|
181
182
|
})).map((t, a) => ({
|
|
@@ -184,7 +185,7 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
184
185
|
opacity: L.value.includes(a) ? 0.5 : 1,
|
|
185
186
|
segregate: () => _e(a),
|
|
186
187
|
isSegregated: L.value.includes(a)
|
|
187
|
-
}))),
|
|
188
|
+
}))), Ue = b(() => ({
|
|
188
189
|
cy: "donut-div-legend",
|
|
189
190
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
190
191
|
color: e.value.style.chart.legend.color,
|
|
@@ -199,7 +200,7 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
199
200
|
return t.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
|
|
200
201
|
}
|
|
201
202
|
function xe(t, a) {
|
|
202
|
-
const l = t.value /
|
|
203
|
+
const l = t.value / je(a);
|
|
203
204
|
return isNaN(l) ? 0 : F(
|
|
204
205
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
205
206
|
l * 100,
|
|
@@ -211,11 +212,11 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
211
212
|
{ datapoint: t }
|
|
212
213
|
);
|
|
213
214
|
}
|
|
214
|
-
function
|
|
215
|
+
function je(t) {
|
|
215
216
|
return [...t].map((a) => a.value).reduce((a, l) => a + l, 0);
|
|
216
217
|
}
|
|
217
218
|
const m = b(() => I.value.map((t) => t.value).reduce((t, a) => t + a, 0)), $e = b(() => m.value / I.value.length), te = v(null), R = v(!1);
|
|
218
|
-
function
|
|
219
|
+
function Ee({ datapoint: t, relativeIndex: a, seriesIndex: l, show: u = !1 }) {
|
|
219
220
|
te.value = { datapoint: t, seriesIndex: l, config: e.value, series: O.value }, ee.value = u, T.value = a;
|
|
220
221
|
let r = "";
|
|
221
222
|
const h = e.value.style.chart.tooltip.customFormat;
|
|
@@ -261,7 +262,7 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
261
262
|
seriesIndex: l
|
|
262
263
|
}
|
|
263
264
|
);
|
|
264
|
-
e.value.style.chart.tooltip.showValue ? r += `<span>(${c})</span></div>` : r += `<b>${c}
|
|
265
|
+
e.value.style.chart.tooltip.showValue ? r += `<span>(${c})</span></div>` : r += `<b>${c}</b></div>`;
|
|
265
266
|
}
|
|
266
267
|
e.value.style.chart.comments.showInTooltip && t.comment && (r += `<div class="vue-data-ui-tooltip-comment" style="background:${t.color}20; padding: 6px; margin-bottom: 6px; margin-top:6px; border-left: 1px solid ${t.color}">${t.comment}</div>`), le.value = `<div>${r}</div>`;
|
|
267
268
|
}
|
|
@@ -323,11 +324,11 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
323
324
|
config: l
|
|
324
325
|
};
|
|
325
326
|
}), Y = v(!1);
|
|
326
|
-
function
|
|
327
|
+
function Re(t) {
|
|
327
328
|
Y.value = t, he.value += 1;
|
|
328
329
|
}
|
|
329
330
|
const Le = b(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
|
|
330
|
-
function
|
|
331
|
+
function Ye(t) {
|
|
331
332
|
return t.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((a) => "-").join("");
|
|
332
333
|
}
|
|
333
334
|
function Z(t, a) {
|
|
@@ -342,8 +343,8 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
342
343
|
function ze() {
|
|
343
344
|
p.value.showTooltip = !p.value.showTooltip;
|
|
344
345
|
}
|
|
345
|
-
return
|
|
346
|
-
getData:
|
|
346
|
+
return Be({
|
|
347
|
+
getData: Ge,
|
|
347
348
|
generatePdf: be,
|
|
348
349
|
generateCsv: Se,
|
|
349
350
|
generateImage: ge,
|
|
@@ -364,7 +365,7 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
364
365
|
ref: re,
|
|
365
366
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
366
367
|
}, [
|
|
367
|
-
(s(), V(
|
|
368
|
+
(s(), V(fl, {
|
|
368
369
|
key: `title_${ie.value}`,
|
|
369
370
|
config: {
|
|
370
371
|
title: {
|
|
@@ -380,11 +381,11 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
380
381
|
], 512)) : d("", !0),
|
|
381
382
|
e.value.userOptions.show && U.value ? (s(), V(pl, {
|
|
382
383
|
ref_key: "details",
|
|
383
|
-
ref:
|
|
384
|
+
ref: Me,
|
|
384
385
|
key: `user_option_${he.value}`,
|
|
385
386
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
386
387
|
color: e.value.style.chart.color,
|
|
387
|
-
isPrinting: o(
|
|
388
|
+
isPrinting: o(ye),
|
|
388
389
|
isImaging: o(pe),
|
|
389
390
|
uid: $.value,
|
|
390
391
|
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
@@ -399,14 +400,14 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
399
400
|
position: e.value.userOptions.position,
|
|
400
401
|
isTooltip: p.value.showTooltip,
|
|
401
402
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
402
|
-
onToggleFullscreen:
|
|
403
|
+
onToggleFullscreen: Re,
|
|
403
404
|
onGeneratePdf: o(be),
|
|
404
405
|
onGenerateCsv: Se,
|
|
405
406
|
onGenerateImage: o(ge),
|
|
406
407
|
onToggleTable: Fe,
|
|
407
408
|
onToggleLabels: Te,
|
|
408
409
|
onToggleTooltip: ze
|
|
409
|
-
},
|
|
410
|
+
}, Xe({ _: 2 }, [
|
|
410
411
|
t.$slots.optionTooltip ? {
|
|
411
412
|
name: "optionTooltip",
|
|
412
413
|
fn: w(() => [
|
|
@@ -464,59 +465,60 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
464
465
|
viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
|
|
465
466
|
style: z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
466
467
|
}, [
|
|
467
|
-
|
|
468
|
+
Oe(_l),
|
|
469
|
+
y("defs", null, [
|
|
468
470
|
e.value.style.chart.useGradient ? (s(), n("radialGradient", {
|
|
469
471
|
key: 0,
|
|
470
472
|
id: `gradient_${$.value}`
|
|
471
473
|
}, [
|
|
472
|
-
|
|
474
|
+
y("stop", {
|
|
473
475
|
offset: "0%",
|
|
474
476
|
"stop-color": o(q)(e.value.style.chart.backgroundColor, 0),
|
|
475
477
|
"stop-opacity": "0"
|
|
476
|
-
}, null, 8,
|
|
477
|
-
|
|
478
|
+
}, null, 8, Fl),
|
|
479
|
+
y("stop", {
|
|
478
480
|
offset: `${(1 - E.value / _.value) * 100}%`,
|
|
479
481
|
"stop-color": o(q)("#FFFFFF", 0),
|
|
480
482
|
"stop-opacity": "0"
|
|
481
|
-
}, null, 8,
|
|
482
|
-
|
|
483
|
+
}, null, 8, Tl),
|
|
484
|
+
y("stop", {
|
|
483
485
|
offset: `${(1 - E.value / _.value / 2) * 100}%`,
|
|
484
486
|
"stop-color": o(q)("#FFFFFF", e.value.style.chart.gradientIntensity)
|
|
485
|
-
}, null, 8,
|
|
486
|
-
|
|
487
|
+
}, null, 8, zl),
|
|
488
|
+
y("stop", {
|
|
487
489
|
offset: "100%",
|
|
488
490
|
"stop-color": o(q)(e.value.style.chart.backgroundColor, 0),
|
|
489
491
|
"stop-opacity": "0"
|
|
490
|
-
}, null, 8,
|
|
491
|
-
], 8,
|
|
492
|
+
}, null, 8, Nl)
|
|
493
|
+
], 8, Ll)) : d("", !0)
|
|
492
494
|
]),
|
|
493
|
-
|
|
494
|
-
|
|
495
|
+
y("defs", null, [
|
|
496
|
+
y("filter", {
|
|
495
497
|
id: `blur_${$.value}`,
|
|
496
498
|
x: "-50%",
|
|
497
499
|
y: "-50%",
|
|
498
500
|
width: "200%",
|
|
499
501
|
height: "200%"
|
|
500
502
|
}, [
|
|
501
|
-
|
|
503
|
+
y("feGaussianBlur", {
|
|
502
504
|
in: "SourceGraphic",
|
|
503
505
|
stdDeviation: 2,
|
|
504
506
|
id: `blur_std_${$.value}`
|
|
505
|
-
}, null, 8,
|
|
506
|
-
|
|
507
|
-
], 8,
|
|
508
|
-
|
|
507
|
+
}, null, 8, Pl),
|
|
508
|
+
Al
|
|
509
|
+
], 8, Ol),
|
|
510
|
+
y("filter", {
|
|
509
511
|
id: `shadow_${$.value}`,
|
|
510
512
|
"color-interpolation-filters": "sRGB"
|
|
511
513
|
}, [
|
|
512
|
-
|
|
514
|
+
y("feDropShadow", {
|
|
513
515
|
dx: "0",
|
|
514
516
|
dy: "0",
|
|
515
517
|
stdDeviation: "10",
|
|
516
518
|
"flood-opacity": "0.5",
|
|
517
519
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
518
|
-
}, null, 8,
|
|
519
|
-
], 8,
|
|
520
|
+
}, null, 8, Il)
|
|
521
|
+
], 8, Dl)
|
|
520
522
|
]),
|
|
521
523
|
(s(!0), n(M, null, X(A.value, (l, u) => (s(), n("g", null, [
|
|
522
524
|
B(l) && p.value.dataLabels.show ? (s(), n("path", {
|
|
@@ -528,21 +530,21 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
528
530
|
"stroke-linejoin": "round",
|
|
529
531
|
fill: "none",
|
|
530
532
|
filter: ae(u)
|
|
531
|
-
}, null, 8,
|
|
533
|
+
}, null, 8, Bl)) : d("", !0)
|
|
532
534
|
]))), 256)),
|
|
533
|
-
|
|
535
|
+
y("circle", {
|
|
534
536
|
cx: i.value.width / 2,
|
|
535
537
|
cy: i.value.height / 2,
|
|
536
538
|
r: _.value <= 0 ? 10 : _.value,
|
|
537
539
|
fill: e.value.style.chart.backgroundColor,
|
|
538
540
|
filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${$.value})` : ""
|
|
539
|
-
}, null, 8,
|
|
541
|
+
}, null, 8, Vl),
|
|
540
542
|
m.value ? (s(), n(M, { key: 0 }, [
|
|
541
543
|
(s(!0), n(M, null, X(A.value, (l, u) => (s(), n("path", {
|
|
542
544
|
stroke: e.value.style.chart.backgroundColor,
|
|
543
545
|
d: l.arcSlice,
|
|
544
546
|
fill: "#FFFFFF"
|
|
545
|
-
}, null, 8,
|
|
547
|
+
}, null, 8, Ml))), 256)),
|
|
546
548
|
(s(!0), n(M, null, X(A.value, (l, u) => (s(), n("path", {
|
|
547
549
|
class: "vue-ui-donut-arc-path",
|
|
548
550
|
d: l.arcSlice,
|
|
@@ -550,7 +552,7 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
550
552
|
stroke: e.value.style.chart.backgroundColor,
|
|
551
553
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
552
554
|
filter: ae(u)
|
|
553
|
-
}, null, 8,
|
|
555
|
+
}, null, 8, Gl))), 256))
|
|
554
556
|
], 64)) : (s(), n("circle", {
|
|
555
557
|
key: 1,
|
|
556
558
|
cx: i.value.width / 2,
|
|
@@ -558,7 +560,7 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
558
560
|
r: _.value <= 0 ? 10 : _.value,
|
|
559
561
|
fill: e.value.style.chart.backgroundColor,
|
|
560
562
|
stroke: o(sl)(e.value.style.chart.background)
|
|
561
|
-
}, null, 8,
|
|
563
|
+
}, null, 8, Ul)),
|
|
562
564
|
e.value.style.chart.useGradient ? (s(), n("circle", {
|
|
563
565
|
key: 2,
|
|
564
566
|
cx: i.value.width / 2,
|
|
@@ -568,12 +570,12 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
568
570
|
_.value <= 0 ? 10 : _.value
|
|
569
571
|
),
|
|
570
572
|
fill: `url(#gradient_${$.value})`
|
|
571
|
-
}, null, 8,
|
|
573
|
+
}, null, 8, jl)) : d("", !0),
|
|
572
574
|
m.value ? (s(!0), n(M, { key: 3 }, X(A.value, (l, u) => (s(), n("path", {
|
|
573
575
|
"data-cy-donut-trap": "",
|
|
574
576
|
d: l.arcSlice,
|
|
575
577
|
fill: T.value === u ? "rgba(0,0,0,0.1)" : "transparent",
|
|
576
|
-
onMouseenter: (r) =>
|
|
578
|
+
onMouseenter: (r) => Ee({
|
|
577
579
|
datapoint: l,
|
|
578
580
|
relativeIndex: u,
|
|
579
581
|
seriesIndex: l.seriesIndex,
|
|
@@ -583,7 +585,7 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
583
585
|
ee.value = !1, T.value = null;
|
|
584
586
|
}),
|
|
585
587
|
onClick: (r) => Z(l, u)
|
|
586
|
-
}, null, 40,
|
|
588
|
+
}, null, 40, El))), 256)) : d("", !0),
|
|
587
589
|
e.value.style.chart.layout.labels.hollow.total.show ? (s(), n("text", {
|
|
588
590
|
key: 4,
|
|
589
591
|
"text-anchor": "middle",
|
|
@@ -592,7 +594,7 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
592
594
|
fill: e.value.style.chart.layout.labels.hollow.total.color,
|
|
593
595
|
"font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
|
|
594
596
|
style: z(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
|
|
595
|
-
}, C(e.value.style.chart.layout.labels.hollow.total.text), 13,
|
|
597
|
+
}, C(e.value.style.chart.layout.labels.hollow.total.text), 13, Rl)) : d("", !0),
|
|
596
598
|
e.value.style.chart.layout.labels.hollow.total.show ? (s(), n("text", {
|
|
597
599
|
key: 5,
|
|
598
600
|
"text-anchor": "middle",
|
|
@@ -609,7 +611,7 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
609
611
|
v: m.value,
|
|
610
612
|
s: e.value.style.chart.layout.labels.hollow.total.value.suffix
|
|
611
613
|
})
|
|
612
|
-
)), 13,
|
|
614
|
+
)), 13, Yl)) : d("", !0),
|
|
613
615
|
e.value.style.chart.layout.labels.hollow.average.show ? (s(), n("text", {
|
|
614
616
|
key: 6,
|
|
615
617
|
"text-anchor": "middle",
|
|
@@ -618,7 +620,7 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
618
620
|
fill: e.value.style.chart.layout.labels.hollow.average.color,
|
|
619
621
|
"font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
|
|
620
622
|
style: z(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
|
|
621
|
-
}, C(e.value.style.chart.layout.labels.hollow.average.text), 13,
|
|
623
|
+
}, C(e.value.style.chart.layout.labels.hollow.average.text), 13, Hl)) : d("", !0),
|
|
622
624
|
e.value.style.chart.layout.labels.hollow.average.show ? (s(), n("text", {
|
|
623
625
|
key: 7,
|
|
624
626
|
"text-anchor": "middle",
|
|
@@ -636,45 +638,45 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
636
638
|
s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
|
|
637
639
|
r: e.value.style.chart.layout.labels.hollow.average.value.rounding
|
|
638
640
|
})
|
|
639
|
-
)), 13,
|
|
641
|
+
)), 13, Wl)) : d("", !0),
|
|
640
642
|
(s(!0), n(M, null, X(A.value, (l, u) => (s(), n("g", {
|
|
641
643
|
filter: ae(u),
|
|
642
644
|
class: ue({ animated: e.value.useCssAnimation })
|
|
643
645
|
}, [
|
|
644
|
-
e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (s(), n("g",
|
|
646
|
+
e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (s(), n("g", ql, [
|
|
645
647
|
(s(), n("foreignObject", {
|
|
646
|
-
x: o(
|
|
648
|
+
x: o(f)(l, !0).anchor === "end" ? o(f)(l).x - 120 : o(f)(l, !0).anchor === "middle" ? o(f)(l).x - 60 : o(f)(l).x,
|
|
647
649
|
y: o(J)(l) - (Le.value ? 20 : 0),
|
|
648
650
|
width: "120",
|
|
649
651
|
height: "60",
|
|
650
652
|
style: { overflow: "visible" }
|
|
651
653
|
}, [
|
|
652
|
-
|
|
654
|
+
y("div", null, [
|
|
653
655
|
g(t.$slots, "dataLabel", H(W({
|
|
654
656
|
datapoint: l,
|
|
655
657
|
isBlur: !e.value.useBlurOnHover || [null, void 0].includes(T.value) || T.value === u,
|
|
656
658
|
isSafari: Le.value,
|
|
657
659
|
isVisible: B(l) && p.value.dataLabels.show,
|
|
658
|
-
textAlign: o(
|
|
659
|
-
flexAlign: o(
|
|
660
|
+
textAlign: o(f)(l, !0, 16, !0).anchor,
|
|
661
|
+
flexAlign: o(f)(l, !0, 16).anchor,
|
|
660
662
|
percentage: xe(l, A.value)
|
|
661
663
|
})), void 0, !0)
|
|
662
664
|
])
|
|
663
|
-
], 8,
|
|
664
|
-
])) : (s(), n("g",
|
|
665
|
+
], 8, Jl))
|
|
666
|
+
])) : (s(), n("g", Kl, [
|
|
665
667
|
B(l) && p.value.dataLabels.show ? (s(), n("circle", {
|
|
666
668
|
key: 0,
|
|
667
|
-
cx: o(
|
|
669
|
+
cx: o(f)(l).x,
|
|
668
670
|
cy: o(J)(l) - 3.5,
|
|
669
671
|
fill: l.color,
|
|
670
672
|
r: 3,
|
|
671
673
|
filter: !e.value.useBlurOnHover || [null, void 0].includes(T.value) || T.value === u ? "" : `url(#blur_${$.value})`,
|
|
672
674
|
onClick: (r) => Z(l, u)
|
|
673
|
-
}, null, 8,
|
|
675
|
+
}, null, 8, Ql)) : d("", !0),
|
|
674
676
|
B(l) && p.value.dataLabels.show ? (s(), n("text", {
|
|
675
677
|
key: 1,
|
|
676
|
-
"text-anchor": o(
|
|
677
|
-
x: o(
|
|
678
|
+
"text-anchor": o(f)(l, !0, 12).anchor,
|
|
679
|
+
x: o(f)(l, !0, 12).x,
|
|
678
680
|
y: o(J)(l),
|
|
679
681
|
fill: e.value.style.chart.layout.labels.percentage.color,
|
|
680
682
|
"font-size": e.value.style.chart.layout.labels.percentage.fontSize,
|
|
@@ -690,39 +692,39 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
690
692
|
r: e.value.style.chart.layout.labels.value.rounding
|
|
691
693
|
}),
|
|
692
694
|
{ datapoint: l }
|
|
693
|
-
)})` : ""), 13,
|
|
695
|
+
)})` : ""), 13, Zl)) : d("", !0),
|
|
694
696
|
B(l) && p.value.dataLabels.show ? (s(), n("text", {
|
|
695
697
|
key: 2,
|
|
696
|
-
"text-anchor": o(
|
|
697
|
-
x: o(
|
|
698
|
+
"text-anchor": o(f)(l).anchor,
|
|
699
|
+
x: o(f)(l, !0, 12).x,
|
|
698
700
|
y: o(J)(l) + e.value.style.chart.layout.labels.percentage.fontSize,
|
|
699
701
|
fill: e.value.style.chart.layout.labels.name.color,
|
|
700
702
|
"font-size": e.value.style.chart.layout.labels.name.fontSize,
|
|
701
703
|
style: z(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
|
|
702
704
|
onClick: (r) => Z(l, u)
|
|
703
|
-
}, C(l.name), 13,
|
|
705
|
+
}, C(l.name), 13, et)) : d("", !0)
|
|
704
706
|
])),
|
|
705
|
-
p.value.dataLabels.show && e.value.style.chart.comments.show && l.comment ? (s(), n("g",
|
|
707
|
+
p.value.dataLabels.show && e.value.style.chart.comments.show && l.comment ? (s(), n("g", lt, [
|
|
706
708
|
B(l) ? (s(), n("foreignObject", {
|
|
707
709
|
key: 0,
|
|
708
|
-
x: e.value.style.chart.comments.offsetX + (o(
|
|
710
|
+
x: e.value.style.chart.comments.offsetX + (o(f)(l, !0).anchor === "end" ? o(f)(l).x - e.value.style.chart.comments.width : o(f)(l, !0).anchor === "middle" ? o(f)(l).x - e.value.style.chart.comments.width / 2 : o(f)(l).x),
|
|
709
711
|
y: o(J)(l) + 24 + e.value.style.chart.comments.offsetY,
|
|
710
712
|
width: e.value.style.chart.comments.width,
|
|
711
713
|
height: "200",
|
|
712
714
|
style: { overflow: "visible", "pointer-events": "none" }
|
|
713
715
|
}, [
|
|
714
|
-
|
|
716
|
+
y("div", null, [
|
|
715
717
|
g(t.$slots, "plot-comment", {
|
|
716
|
-
plot: { ...l, textAlign: o(
|
|
718
|
+
plot: { ...l, textAlign: o(f)(l, !0, 16, !0).anchor, flexAlign: o(f)(l, !0, 16).anchor }
|
|
717
719
|
}, void 0, !0)
|
|
718
720
|
])
|
|
719
|
-
], 8,
|
|
721
|
+
], 8, tt)) : d("", !0)
|
|
720
722
|
])) : d("", !0)
|
|
721
|
-
], 10,
|
|
723
|
+
], 10, Xl))), 256)),
|
|
722
724
|
g(t.$slots, "svg", { svg: i.value }, void 0, !0)
|
|
723
|
-
], 14,
|
|
724
|
-
t.$slots.watermark ? (s(), n("div",
|
|
725
|
-
g(t.$slots, "watermark", H(W({ isPrinting: o(
|
|
725
|
+
], 14, Sl)) : d("", !0),
|
|
726
|
+
t.$slots.watermark ? (s(), n("div", at, [
|
|
727
|
+
g(t.$slots, "watermark", H(W({ isPrinting: o(ye) || o(pe) })), void 0, !0)
|
|
726
728
|
])) : d("", !0),
|
|
727
729
|
U.value ? d("", !0) : (s(), V(wl, {
|
|
728
730
|
key: 4,
|
|
@@ -737,22 +739,22 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
737
739
|
}
|
|
738
740
|
}
|
|
739
741
|
}, null, 8, ["config"])),
|
|
740
|
-
|
|
742
|
+
y("div", {
|
|
741
743
|
ref_key: "chartLegend",
|
|
742
744
|
ref: ne
|
|
743
745
|
}, [
|
|
744
746
|
e.value.style.chart.legend.show ? (s(), V(ml, {
|
|
745
747
|
key: `legend_${ce.value}`,
|
|
746
748
|
legendSet: Ce.value,
|
|
747
|
-
config:
|
|
749
|
+
config: Ue.value,
|
|
748
750
|
onClickMarker: a[1] || (a[1] = ({ i: l }) => _e(l))
|
|
749
751
|
}, {
|
|
750
752
|
item: w(({ legend: l, index: u }) => [
|
|
751
|
-
|
|
753
|
+
y("div", {
|
|
752
754
|
onClick: (r) => l.segregate(),
|
|
753
755
|
style: z(`opacity:${L.value.includes(u) ? 0.5 : 1}`)
|
|
754
756
|
}, [
|
|
755
|
-
|
|
757
|
+
Pe(C(l.name) + ": " + C(o(F)(
|
|
756
758
|
e.value.style.chart.layout.labels.value.formatter,
|
|
757
759
|
l.value,
|
|
758
760
|
o(x)({
|
|
@@ -766,7 +768,7 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
766
768
|
index: u
|
|
767
769
|
}
|
|
768
770
|
)) + " ", 1),
|
|
769
|
-
L.value.includes(u) ? (s(), n("span",
|
|
771
|
+
L.value.includes(u) ? (s(), n("span", st, " ( " + C(Ye(l.proportion * 100)) + " % ) ", 1)) : (s(), n("span", ut, " (" + C(isNaN(l.value / m.value) ? "-" : o(F)(
|
|
770
772
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
771
773
|
P.value ? l.proportion * 100 : l.value / m.value * 100,
|
|
772
774
|
o(x)({
|
|
@@ -775,13 +777,13 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
775
777
|
r: e.value.style.chart.legend.roundingPercentage
|
|
776
778
|
})
|
|
777
779
|
)) + ") ", 1))
|
|
778
|
-
], 12,
|
|
780
|
+
], 12, ot)
|
|
779
781
|
]),
|
|
780
782
|
_: 1
|
|
781
783
|
}, 8, ["legendSet", "config"])) : d("", !0),
|
|
782
784
|
g(t.$slots, "legend", { legend: Ce.value }, void 0, !0)
|
|
783
785
|
], 512),
|
|
784
|
-
|
|
786
|
+
Oe(gl, {
|
|
785
787
|
show: p.value.showTooltip && ee.value,
|
|
786
788
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
787
789
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -831,13 +833,13 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
831
833
|
onClose: a[2] || (a[2] = (l) => p.value.showTable = !1)
|
|
832
834
|
}, {
|
|
833
835
|
th: w(({ th: l }) => [
|
|
834
|
-
|
|
836
|
+
y("div", {
|
|
835
837
|
innerHTML: l,
|
|
836
838
|
style: { display: "flex", "align-items": "center" }
|
|
837
|
-
}, null, 8,
|
|
839
|
+
}, null, 8, rt)
|
|
838
840
|
]),
|
|
839
841
|
td: w(({ td: l }) => [
|
|
840
|
-
|
|
842
|
+
Pe(C(l.name ? l.name : isNaN(Number(l)) ? l.includes("%") ? o(F)(
|
|
841
843
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
842
844
|
l,
|
|
843
845
|
o(x)({
|
|
@@ -861,9 +863,9 @@ const Cl = (G) => (Je("data-v-15467798"), G = G(), Ke(), G), xl = ["id"], $l = [
|
|
|
861
863
|
]),
|
|
862
864
|
_: 1
|
|
863
865
|
}, 8, ["config"])) : d("", !0)
|
|
864
|
-
], 14,
|
|
866
|
+
], 14, $l));
|
|
865
867
|
}
|
|
866
|
-
},
|
|
868
|
+
}, _t = /* @__PURE__ */ Cl(nt, [["__scopeId", "data-v-98fd948d"]]);
|
|
867
869
|
export {
|
|
868
|
-
|
|
870
|
+
_t as default
|
|
869
871
|
};
|