vue-data-ui 2.3.74 → 2.3.76
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-DK6F5Fq3.cjs → Arrow-D7M4-bW7.cjs} +1 -1
- package/dist/{Arrow-CYCrAySW.js → Arrow-DY9RKUmG.js} +1 -1
- package/dist/{BaseIcon-DBHVtm3A.cjs → BaseIcon-DB7Apwv_.cjs} +1 -1
- package/dist/{BaseIcon-kBIAYqUO.js → BaseIcon-rwm-10Hu.js} +1 -1
- package/dist/{DataTable-BNFSPjhv.cjs → DataTable-CsNozyz7.cjs} +1 -1
- package/dist/{DataTable-CKdV-L0e.js → DataTable-e2fnfjXV.js} +2 -2
- package/dist/{Legend-Cj7T-DqJ.js → Legend-5cQ0xZjK.js} +1 -1
- package/dist/{Legend-Do2kcWFT.cjs → Legend-DgFd-O0m.cjs} +1 -1
- package/dist/{Shape-Bo8ZjViG.js → Shape-CiTElr_0.js} +1 -1
- package/dist/{Shape-DRDUAe_o.cjs → Shape-yPECDLiP.cjs} +1 -1
- package/dist/{Slicer-D8jHSP7U.cjs → Slicer-DaZgCKV7.cjs} +1 -1
- package/dist/{Slicer-4nGKvUYF.js → Slicer-DwBBu3kB.js} +2 -2
- package/dist/{Title-D5cATWsL.cjs → Title-3EduyW4p.cjs} +1 -1
- package/dist/{Title-DZjnxQdN.js → Title-gUz6GDA3.js} +1 -1
- package/dist/{Tooltip-B8yLaegk.cjs → Tooltip-DScSrYXJ.cjs} +1 -1
- package/dist/{Tooltip--kgFEVZs.js → Tooltip-DfSM1mNP.js} +1 -1
- package/dist/{index-D_32ZGWd.cjs → index-BTgtr0F8.cjs} +1 -1
- package/dist/{index-C8SH0f2u.js → index-CaV1s-yZ.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BvvH633N.cjs → useNestedProp-CisbRRo_.cjs} +1 -1
- package/dist/{useNestedProp-lS_T5lM3.js → useNestedProp-tWCzZrLx.js} +1 -1
- package/dist/{usePrinter-BouFNHWR.cjs → usePrinter-DzTaA1eh.cjs} +1 -1
- package/dist/{usePrinter-Dj50NAxo.js → usePrinter-rvJyT65A.js} +1 -1
- package/dist/{vue-data-ui-v_BbbLtJ.cjs → vue-data-ui-BGkWRPUY.cjs} +1 -1
- package/dist/{vue-data-ui-DoXqU7xC.js → vue-data-ui-BO89gTtq.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-CnoPOJHm.js → vue-ui-3d-bar-CcTMIHiB.js} +499 -486
- package/dist/vue-ui-3d-bar-DzmcGuqh.cjs +19 -0
- package/dist/{vue-ui-accordion-Cka6b_Up.cjs → vue-ui-accordion-7e4Myhcg.cjs} +1 -1
- package/dist/{vue-ui-accordion-YHleIgkV.js → vue-ui-accordion-CpzGQ63y.js} +3 -3
- package/dist/vue-ui-age-pyramid-C7qr9EwB.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CENg8fDg.js → vue-ui-age-pyramid-D71ZLkVV.js} +182 -169
- package/dist/{vue-ui-annotator-VJOLUkqJ.js → vue-ui-annotator-B8Iu6cYt.js} +1 -1
- package/dist/{vue-ui-annotator-ByYg6QMs.cjs → vue-ui-annotator-BKQrweqm.cjs} +1 -1
- package/dist/{vue-ui-candlestick-CHsGD3bx.js → vue-ui-candlestick-Bx4QVkY0.js} +295 -279
- package/dist/vue-ui-candlestick-DAc1FQ-i.cjs +2 -0
- package/dist/vue-ui-carousel-table-uFRqkghO.cjs +1 -0
- package/dist/{vue-ui-carousel-table-RAtX3VBu.js → vue-ui-carousel-table-xuQG6bcH.js} +146 -129
- package/dist/{vue-ui-chestnut-B5GQX0J_.js → vue-ui-chestnut-Bo6rDcU7.js} +215 -204
- package/dist/vue-ui-chestnut-DJkm72oD.cjs +6 -0
- package/dist/{vue-ui-cursor-DnZqLj21.cjs → vue-ui-cursor-BQbeuW-k.cjs} +1 -1
- package/dist/{vue-ui-cursor-CMm7XSSG.js → vue-ui-cursor-C0KOqEOq.js} +2 -2
- package/dist/{vue-ui-dashboard-DgEQJnLr.cjs → vue-ui-dashboard-0Hsjx-bO.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Ck_5L3eu.js → vue-ui-dashboard-BT71xS7P.js} +2 -2
- package/dist/{vue-ui-digits--ULH35um.js → vue-ui-digits-BRqpKYvD.js} +2 -2
- package/dist/{vue-ui-digits-UvwUdi6U.cjs → vue-ui-digits-C2ReH6w0.cjs} +1 -1
- package/dist/{vue-ui-donut-QQ1fWWvc.js → vue-ui-donut-NQW-3prf.js} +376 -362
- package/dist/vue-ui-donut-evolution-DOe-cwLi.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Cx8kBB_7.js → vue-ui-donut-evolution-jbXQQGTc.js} +270 -255
- package/dist/vue-ui-donut-v81suIOX.cjs +1 -0
- package/dist/vue-ui-dumbbell-DXQSg6wa.cjs +9 -0
- package/dist/{vue-ui-dumbbell-BYvwHpU8.js → vue-ui-dumbbell-Dyz8xdtC.js} +232 -213
- package/dist/vue-ui-flow-BL3JWW1m.js +481 -0
- package/dist/vue-ui-flow-UqSNwH9d.cjs +1 -0
- package/dist/vue-ui-galaxy-DTQWGvRH.cjs +1 -0
- package/dist/{vue-ui-galaxy-B0L57aec.js → vue-ui-galaxy-Dx9nsOuM.js} +175 -162
- package/dist/vue-ui-gauge-BUB7H0qA.cjs +1 -0
- package/dist/vue-ui-gauge-CLaKGi0-.js +500 -0
- package/dist/vue-ui-gizmo-Kitfqu0J.cjs +1 -0
- package/dist/{vue-ui-gizmo-D2RfM55X.js → vue-ui-gizmo-of-4s5HG.js} +66 -53
- package/dist/{vue-ui-heatmap-DKM0DH41.js → vue-ui-heatmap-BIzjOMXO.js} +157 -143
- package/dist/vue-ui-heatmap-DUw2350O.cjs +1 -0
- package/dist/vue-ui-kpi-By3YPwgo.js +98 -0
- package/dist/vue-ui-kpi-DyL2Hcz-.cjs +1 -0
- package/dist/{vue-ui-mini-loader-CLP19Txv.cjs → vue-ui-mini-loader-C048-8Kd.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-MywnWlYI.js → vue-ui-mini-loader-DnK3V2z2.js} +2 -2
- package/dist/{vue-ui-molecule-CLI9iTRE.js → vue-ui-molecule-BfhbIqa5.js} +177 -167
- package/dist/vue-ui-molecule-D-ahly6R.cjs +1 -0
- package/dist/vue-ui-mood-radar-DD8R9BpJ.cjs +1 -0
- package/dist/{vue-ui-mood-radar-O30wZo9a.js → vue-ui-mood-radar-DXxEKr3x.js} +172 -161
- package/dist/{vue-ui-nested-donuts-D8o4TqTt.js → vue-ui-nested-donuts-BdUdHFd-.js} +377 -364
- package/dist/vue-ui-nested-donuts-C7qM_FRw.cjs +17 -0
- package/dist/{vue-ui-onion-Hmcke6xB.js → vue-ui-onion-D0vF5jBt.js} +191 -177
- package/dist/vue-ui-onion-DX3gofXZ.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-CyChE3NP.js → vue-ui-parallel-coordinate-plot-CTZY-pY8.js} +298 -284
- package/dist/vue-ui-parallel-coordinate-plot-DEx5kFYd.cjs +8 -0
- package/dist/{vue-ui-quadrant-DimTQdAj.js → vue-ui-quadrant-ByY8GP3y.js} +347 -334
- package/dist/vue-ui-quadrant-CgApzie6.cjs +1 -0
- package/dist/{vue-ui-quick-chart-DxJvENid.js → vue-ui-quick-chart-DTxJ__7j.js} +483 -469
- package/dist/vue-ui-quick-chart-DWZEgUJF.cjs +15 -0
- package/dist/{vue-ui-radar-D_FieunT.js → vue-ui-radar-5UBmAU6W.js} +202 -189
- package/dist/vue-ui-radar-DEED0rTz.cjs +1 -0
- package/dist/{vue-ui-rating-BHW2Onru.cjs → vue-ui-rating-Ce_Ewqtl.cjs} +1 -1
- package/dist/{vue-ui-rating-DF1BpH4E.js → vue-ui-rating-Dr6jquxh.js} +2 -2
- package/dist/vue-ui-relation-circle-BU8i2miI.js +322 -0
- package/dist/vue-ui-relation-circle-CRcQ6Zcy.cjs +1 -0
- package/dist/{vue-ui-rings-BqS-iece.js → vue-ui-rings-Ctl3Jywh.js} +203 -189
- package/dist/vue-ui-rings-OQ8a1Ruw.cjs +2 -0
- package/dist/vue-ui-scatter-B8StSjt8.cjs +1 -0
- package/dist/{vue-ui-scatter-Dns49Nht.js → vue-ui-scatter-BwJ_koWT.js} +284 -270
- package/dist/{vue-ui-screenshot-5Gsnd0Wr.js → vue-ui-screenshot-BS3L5vhN.js} +1 -1
- package/dist/{vue-ui-screenshot---q062Kd.cjs → vue-ui-screenshot-bAVk3EPl.cjs} +1 -1
- package/dist/{vue-ui-skeleton-fVPw-oIR.cjs → vue-ui-skeleton-CMQzFTs9.cjs} +1 -1
- package/dist/{vue-ui-skeleton-B4eWLjH3.js → vue-ui-skeleton-CvFX_ExX.js} +2 -2
- package/dist/{vue-ui-smiley-B8Tyunn3.js → vue-ui-smiley-CGYZpNt9.js} +2 -2
- package/dist/{vue-ui-smiley-YfHmv0rQ.cjs → vue-ui-smiley-sF8QIso1.cjs} +1 -1
- package/dist/vue-ui-spark-trend-B4XSSKl9.js +263 -0
- package/dist/vue-ui-spark-trend-CdIoxaqb.cjs +1 -0
- package/dist/{vue-ui-sparkbar-9DBvdYn7.js → vue-ui-sparkbar-BbsJGDMZ.js} +95 -87
- package/dist/vue-ui-sparkbar-C3i1K7hi.cjs +1 -0
- package/dist/vue-ui-sparkgauge-BKyQoI7C.cjs +1 -0
- package/dist/vue-ui-sparkgauge-D4w_i_QJ.js +178 -0
- package/dist/{vue-ui-sparkhistogram-BBUVmco4.js → vue-ui-sparkhistogram-CYybrW-6.js} +79 -68
- package/dist/vue-ui-sparkhistogram-CvTYEmbz.cjs +1 -0
- package/dist/vue-ui-sparkline-CDowaDRS.cjs +1 -0
- package/dist/{vue-ui-sparkline-CeqNV6Re.js → vue-ui-sparkline-DjN1SVdO.js} +142 -123
- package/dist/{vue-ui-sparkstackbar-C3GMC1eW.js → vue-ui-sparkstackbar-BLMhJxaN.js} +120 -104
- package/dist/vue-ui-sparkstackbar-BZ2bESBi.cjs +1 -0
- package/dist/{vue-ui-stackbar-DyGPrFxi.js → vue-ui-stackbar-BTKOHUYc.js} +235 -222
- package/dist/vue-ui-stackbar-DRHaJFR8.cjs +6 -0
- package/dist/vue-ui-strip-plot-DxQxFbWg.cjs +1 -0
- package/dist/{vue-ui-strip-plot-y1AnVJmq.js → vue-ui-strip-plot-o6GTsGAT.js} +246 -232
- package/dist/{vue-ui-table-xWvAQS-s.cjs → vue-ui-table-BFIj1Rgh.cjs} +1 -1
- package/dist/{vue-ui-table-B4kfykAO.js → vue-ui-table-CnquiTpr.js} +1 -1
- package/dist/vue-ui-table-heatmap-CCGK12Fa.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-YZRSzwRM.js → vue-ui-table-heatmap-CZRIwv-Q.js} +106 -95
- package/dist/{vue-ui-table-sparkline-C0v2r4Kf.js → vue-ui-table-sparkline-B3zEeq6Z.js} +151 -138
- package/dist/vue-ui-table-sparkline-DYmgfHz4.cjs +1 -0
- package/dist/{vue-ui-thermometer-D5qurIy7.js → vue-ui-thermometer-BopiohUh.js} +116 -104
- package/dist/vue-ui-thermometer-CzPRBt6c.cjs +1 -0
- package/dist/vue-ui-timer-Bonw69Lt.cjs +64 -0
- package/dist/{vue-ui-timer-VWjovnKL.js → vue-ui-timer-C7WkW8hK.js} +191 -176
- package/dist/{vue-ui-tiremarks-jH6cdQOJ.js → vue-ui-tiremarks-BurRtFv4.js} +115 -103
- package/dist/vue-ui-tiremarks-DkIGfq8t.cjs +1 -0
- package/dist/vue-ui-treemap-CalhJmnp.cjs +1 -0
- package/dist/{vue-ui-treemap-BCc5sQLB.js → vue-ui-treemap-DWy4voIr.js} +251 -237
- package/dist/{vue-ui-vertical-bar-2In_g5iC.js → vue-ui-vertical-bar-CJW1YhtY.js} +314 -299
- package/dist/vue-ui-vertical-bar-rwWp-sai.cjs +4 -0
- package/dist/{vue-ui-waffle-OzU830VX.js → vue-ui-waffle-DB7X6nTS.js} +285 -265
- package/dist/vue-ui-waffle-faQMBYNx.cjs +1 -0
- package/dist/vue-ui-wheel-BzjbGP6a.cjs +1 -0
- package/dist/vue-ui-wheel-CryKap2E.js +255 -0
- package/dist/vue-ui-word-cloud-COqUkvei.js +512 -0
- package/dist/vue-ui-word-cloud-DJN9I4q4.cjs +1 -0
- package/dist/vue-ui-xy-BmA0tspd.cjs +3 -0
- package/dist/{vue-ui-xy-DuJtYXKl.js → vue-ui-xy-b1Z_HPsx.js} +300 -274
- package/dist/{vue-ui-xy-canvas-CKibMJHh.js → vue-ui-xy-canvas-BgbLnY5B.js} +345 -327
- package/dist/vue-ui-xy-canvas-DOM2Kq_s.cjs +9 -0
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-CwCEoPX-.cjs +0 -19
- package/dist/vue-ui-age-pyramid-GqCNpd_h.cjs +0 -1
- package/dist/vue-ui-candlestick-TdNVq_FX.cjs +0 -2
- package/dist/vue-ui-carousel-table-yXUSFk2u.cjs +0 -1
- package/dist/vue-ui-chestnut-EJj-dQSY.cjs +0 -6
- package/dist/vue-ui-donut-BqUBysA_.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BXtEnop4.cjs +0 -1
- package/dist/vue-ui-dumbbell-CjIh7KTm.cjs +0 -9
- package/dist/vue-ui-flow-hp0Hpuhn.js +0 -469
- package/dist/vue-ui-flow-u29zqSQj.cjs +0 -1
- package/dist/vue-ui-galaxy-DE1HbBi-.cjs +0 -1
- package/dist/vue-ui-gauge-B_IZrsfj.cjs +0 -1
- package/dist/vue-ui-gauge-CPyyn7cL.js +0 -488
- package/dist/vue-ui-gizmo-DR4gacOL.cjs +0 -1
- package/dist/vue-ui-heatmap-DMB_eUpA.cjs +0 -1
- package/dist/vue-ui-kpi-BAxAY13T.js +0 -84
- package/dist/vue-ui-kpi-BD21xshi.cjs +0 -1
- package/dist/vue-ui-molecule-BNsWckH-.cjs +0 -1
- package/dist/vue-ui-mood-radar-BsWE1f8R.cjs +0 -1
- package/dist/vue-ui-nested-donuts-CYyUtXs2.cjs +0 -17
- package/dist/vue-ui-onion-D7TXJu5w.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BqZB7xKn.cjs +0 -8
- package/dist/vue-ui-quadrant-BPDTvxlT.cjs +0 -1
- package/dist/vue-ui-quick-chart-C_-ut0if.cjs +0 -15
- package/dist/vue-ui-radar-C5Kq19hg.cjs +0 -1
- package/dist/vue-ui-relation-circle-4kIYttRI.js +0 -310
- package/dist/vue-ui-relation-circle-DHMHHsqY.cjs +0 -1
- package/dist/vue-ui-rings-BqPS8NKl.cjs +0 -2
- package/dist/vue-ui-scatter-BLVcdf3d.cjs +0 -1
- package/dist/vue-ui-spark-trend-Dpv6am0Z.cjs +0 -1
- package/dist/vue-ui-spark-trend-Em9OqYyG.js +0 -251
- package/dist/vue-ui-sparkbar-BuSuwQYl.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BN5feBzp.js +0 -167
- package/dist/vue-ui-sparkgauge-DKtUZMv1.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-BmuusW02.cjs +0 -1
- package/dist/vue-ui-sparkline-Blzv-tIQ.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-D__WDEMv.cjs +0 -1
- package/dist/vue-ui-stackbar-DFqJ5K_q.cjs +0 -6
- package/dist/vue-ui-strip-plot-z9fjJ6Dj.cjs +0 -1
- package/dist/vue-ui-table-heatmap-CGKecjtm.cjs +0 -1
- package/dist/vue-ui-table-sparkline-CHFZG3Tg.cjs +0 -1
- package/dist/vue-ui-thermometer-DoOxxVW1.cjs +0 -1
- package/dist/vue-ui-timer-D63zHe-I.cjs +0 -64
- package/dist/vue-ui-tiremarks-Cp8YEmXh.cjs +0 -1
- package/dist/vue-ui-treemap-DJrdEFW5.cjs +0 -1
- package/dist/vue-ui-vertical-bar-BfJJqN_z.cjs +0 -4
- package/dist/vue-ui-waffle-A2gmRbq0.cjs +0 -1
- package/dist/vue-ui-wheel-C9QXzWu1.js +0 -242
- package/dist/vue-ui-wheel-DGSh9VKq.cjs +0 -1
- package/dist/vue-ui-word-cloud-C2ZaVlfO.js +0 -498
- package/dist/vue-ui-word-cloud-DPFB1MYk.cjs +0 -1
- package/dist/vue-ui-xy-C-2-aijE.cjs +0 -3
- package/dist/vue-ui-xy-canvas-D7wf3xab.cjs +0 -9
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { computed as P, ref as
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import
|
|
6
|
-
import { D as
|
|
7
|
-
import
|
|
8
|
-
import { u as
|
|
9
|
-
import { _ as
|
|
10
|
-
const
|
|
1
|
+
import { computed as P, ref as D, watch as Oe, onMounted as We, openBlock as r, createElementBlock as i, normalizeClass as be, normalizeStyle as j, createBlock as H, createCommentVNode as y, unref as h, createSlots as Ge, withCtx as I, renderSlot as T, normalizeProps as Y, guardReactiveProps as J, createElementVNode as u, Fragment as g, renderList as _, toDisplayString as M, 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 z, o as Re, e as Q, g as ne, l as A, m as Ce, f as S, X as Ye, h as ee, i as te, j as Fe, k as L, n as le, q as Je, r as Ke } from "./index-CaV1s-yZ.js";
|
|
3
|
+
import { _ as Qe } from "./Title-gUz6GDA3.js";
|
|
4
|
+
import { u as et, U as tt } from "./usePrinter-rvJyT65A.js";
|
|
5
|
+
import lt from "./vue-ui-skeleton-CvFX_ExX.js";
|
|
6
|
+
import { D as ot } from "./DataTable-e2fnfjXV.js";
|
|
7
|
+
import st from "./vue-ui-accordion-CpzGQ63y.js";
|
|
8
|
+
import { u as Me } from "./useNestedProp-tWCzZrLx.js";
|
|
9
|
+
import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
+
const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = ["xmlns", "viewBox"], ut = ["id"], it = ["stop-color"], dt = ["stop-color"], ct = ["id"], ht = ["stop-color"], vt = ["stop-color"], ft = ["id"], pt = ["stop-color"], yt = ["stop-color"], kt = ["id"], $t = ["stop-color"], gt = ["stop-color"], _t = ["stop-color"], mt = { key: 0 }, xt = ["id"], bt = ["stop-color"], wt = ["stop-color"], Ct = ["id"], Ft = ["stop-color"], Mt = ["stop-color"], Pt = ["id"], Dt = ["stop-color"], St = ["stop-color"], jt = ["id"], Tt = /* @__PURE__ */ oe(() => /* @__PURE__ */ u("stop", {
|
|
11
11
|
offset: "0%",
|
|
12
12
|
"stop-color": "#FFFFFF"
|
|
13
|
-
}, null, -1)),
|
|
13
|
+
}, null, -1)), zt = /* @__PURE__ */ oe(() => /* @__PURE__ */ u("stop", {
|
|
14
14
|
offset: "100%",
|
|
15
15
|
"stop-color": "#FFFFFF33"
|
|
16
|
-
}, null, -1)),
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
],
|
|
16
|
+
}, null, -1)), Nt = [
|
|
17
|
+
Tt,
|
|
18
|
+
zt
|
|
19
|
+
], Bt = ["x", "y", "font-size", "font-weight", "fill"], It = ["x", "y"], Lt = ["d", "stroke"], Ot = ["d", "stroke"], Wt = { key: 3 }, Gt = { key: 0 }, Vt = ["stroke-dasharray", "d", "stroke", "stroke-width"], At = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ut = ["stroke-dasharray", "d", "stroke", "stroke-width"], Et = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ht = { key: 1 }, Zt = ["d", "stroke", "stroke-width", "fill"], qt = ["d", "stroke", "stroke-width", "fill"], Xt = ["d", "stroke", "stroke-width", "fill"], Rt = { key: 2 }, Yt = ["d", "fill", "onMouseenter", "onClick"], Jt = ["d", "fill", "onMouseenter", "onClick"], Kt = ["d", "fill", "onMouseenter", "onClick"], Qt = ["d", "onMouseenter", "onClick"], el = ["d"], tl = ["d", "stroke"], ll = ["onClick"], ol = ["stroke", "d"], sl = ["cx", "cy", "fill", "stroke"], al = ["x", "y", "width", "height"], nl = { key: 1 }, rl = ["d", "stroke"], ul = ["d", "fill", "stroke"], il = ["id"], dl = ["stop-color"], cl = /* @__PURE__ */ oe(() => /* @__PURE__ */ u("stop", {
|
|
20
20
|
offset: "77%",
|
|
21
21
|
"stop-color": "#FFFFFF20"
|
|
22
|
-
}, null, -1)),
|
|
22
|
+
}, null, -1)), hl = ["stop-color"], vl = ["cx", "cy", "fill"], fl = ["cx", "cy", "fill"], pl = { key: 0 }, yl = ["text-anchor", "x", "y", "fill", "font-size"], kl = ["text-anchor", "x", "y", "fill", "font-size"], $l = { key: 2 }, gl = ["d", "fill", "stroke"], _l = { key: 4 }, ml = { key: 0 }, xl = ["stroke-dasharray", "d", "stroke", "stroke-width"], bl = ["stroke-dasharray", "d", "stroke", "stroke-width"], wl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Cl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Fl = ["d", "stroke", "stroke-width", "fill"], Ml = ["d", "stroke", "stroke-width", "fill"], Pl = { key: 1 }, Dl = ["onClick"], Sl = ["id"], jl = ["stop-color"], Tl = ["stop-color"], zl = ["id"], Nl = ["stop-color"], Bl = ["stop-color"], Il = ["stop-color"], Ll = ["stop-color"], Ol = ["stop-color"], Wl = ["onMouseenter", "onClick", "d", "fill"], Gl = ["onMouseenter", "onClick", "d"], Vl = ["onMouseenter", "onClick", "d", "fill"], Al = ["onClick"], Ul = ["stroke", "d"], El = ["cx", "cy", "fill", "stroke"], Hl = ["x", "y", "width", "height"], Zl = { key: 1 }, ql = ["d", "stroke"], Xl = ["d", "fill", "stroke"], Rl = ["id"], Yl = ["stop-color"], Jl = /* @__PURE__ */ oe(() => /* @__PURE__ */ u("stop", {
|
|
23
23
|
offset: "77%",
|
|
24
24
|
"stop-color": "#FFFFFF20"
|
|
25
|
-
}, null, -1)),
|
|
25
|
+
}, null, -1)), Kl = ["stop-color"], Ql = ["cx", "cy", "fill"], eo = ["cx", "cy", "fill"], to = { key: 0 }, lo = ["text-anchor", "x", "y", "fill", "font-size"], oo = ["text-anchor", "x", "y", "fill", "font-size"], so = { key: 2 }, ao = ["d", "fill", "stroke"], no = {
|
|
26
26
|
key: 3,
|
|
27
27
|
class: "vue-data-ui-watermark"
|
|
28
|
-
},
|
|
28
|
+
}, ro = ["innerHTML"], uo = {
|
|
29
29
|
__name: "vue-ui-3d-bar",
|
|
30
30
|
props: {
|
|
31
31
|
config: {
|
|
@@ -42,25 +42,33 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
emits: ["selectDatapoint"],
|
|
45
|
-
setup(U, { expose:
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
setup(U, { expose: Pe, emit: Z }) {
|
|
46
|
+
const $ = U, { vue_ui_3d_bar: De } = He(), q = P(() => !!$.dataset && Object.keys($.dataset).length), m = D(we()), Se = D(null), re = D(null), O = D(!1), ue = D(0), ie = D(0), t = P({
|
|
47
|
+
get: () => de(),
|
|
48
|
+
set: (a) => a
|
|
49
|
+
});
|
|
50
|
+
function de() {
|
|
51
|
+
const a = Me({
|
|
52
|
+
userConfig: $.config,
|
|
53
|
+
defaultConfig: De
|
|
50
54
|
});
|
|
51
|
-
return
|
|
52
|
-
...
|
|
53
|
-
userConfig:
|
|
54
|
-
defaultConfig:
|
|
55
|
+
return a.theme ? {
|
|
56
|
+
...Me({
|
|
57
|
+
userConfig: Ze.vue_ui_3d_bar[a.theme] || $.config,
|
|
58
|
+
defaultConfig: a
|
|
55
59
|
}),
|
|
56
|
-
customPalette:
|
|
57
|
-
} :
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
+
customPalette: qe[a.theme] || K
|
|
61
|
+
} : a;
|
|
62
|
+
}
|
|
63
|
+
Oe(() => $.config, (a) => {
|
|
64
|
+
t.value = de(), pe(), ue.value += 1, ie.value += 1;
|
|
65
|
+
}, { deep: !0 });
|
|
66
|
+
const { isPrinting: ce, isImaging: he, generatePdf: ve, generateImage: fe } = et({
|
|
67
|
+
elementId: `3d_bar_${m.value}`,
|
|
60
68
|
fileName: t.value.style.chart.title.text || "vue-ui-3d-bar"
|
|
61
|
-
}),
|
|
69
|
+
}), je = P(() => Xe(t.value.customPalette)), X = D({
|
|
62
70
|
showTable: t.value.table.show
|
|
63
|
-
}), C = P(() =>
|
|
71
|
+
}), C = P(() => $.dataset.series && $.dataset.series.length), o = P(() => ({
|
|
64
72
|
height: t.value.style.chart.box.dimensions.height,
|
|
65
73
|
width: t.value.style.chart.box.dimensions.width,
|
|
66
74
|
absoluteWidth: t.value.style.chart.box.dimensions.width * (C.value ? 2 : 1),
|
|
@@ -71,23 +79,23 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
|
|
|
71
79
|
perspective: t.value.style.chart.box.dimensions.perspective
|
|
72
80
|
})), w = P(() => {
|
|
73
81
|
if (C.value) {
|
|
74
|
-
const
|
|
82
|
+
const a = $.dataset.series.map((l) => l.value || 0).reduce((l, n) => l + n, 0), s = $.dataset.series.map((l, n) => ({
|
|
75
83
|
...l,
|
|
76
|
-
id:
|
|
77
|
-
proportion: (l.value || 0) /
|
|
78
|
-
color:
|
|
79
|
-
breakdown: l.breakdown ? l.breakdown.sort((
|
|
80
|
-
})).sort((l,
|
|
84
|
+
id: we(),
|
|
85
|
+
proportion: (l.value || 0) / a,
|
|
86
|
+
color: z(l.color) || je.value[n] || K[n] || K[n % K.length],
|
|
87
|
+
breakdown: l.breakdown ? l.breakdown.sort((d, k) => k.value - d.value) : null
|
|
88
|
+
})).sort((l, n) => n.value - l.value), e = [];
|
|
81
89
|
let c = 0;
|
|
82
90
|
for (let l = 0; l < s.length; l += 1)
|
|
83
91
|
e.push({
|
|
84
92
|
...s[l],
|
|
85
|
-
fill:
|
|
93
|
+
fill: Te(c, s[l].proportion, s[l].breakdown, s[l].color)
|
|
86
94
|
}), c += s[l].proportion;
|
|
87
95
|
return e;
|
|
88
96
|
}
|
|
89
97
|
return null;
|
|
90
|
-
}),
|
|
98
|
+
}), N = P(() => ({
|
|
91
99
|
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}`,
|
|
92
100
|
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}`,
|
|
93
101
|
side: `M${o.value.width / 2},${o.value.height - o.value.bottom} ${o.value.width / 2},${o.value.top + o.value.perspective * 2}`,
|
|
@@ -96,62 +104,65 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
|
|
|
96
104
|
tubeLeft: `M${o.value.left},${o.value.top + o.value.perspective} ${o.value.left},${o.value.height - o.value.bottom - o.value.perspective}`,
|
|
97
105
|
tubeRight: `M${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}`,
|
|
98
106
|
tubeBottom: `M${o.value.width - o.value.right},${o.value.height - o.value.bottom - o.value.perspective} C ${o.value.width - o.value.right},${o.value.height} ${o.value.left},${o.value.height} ${o.value.left},${o.value.height - o.value.bottom - o.value.perspective}`
|
|
99
|
-
})), G =
|
|
100
|
-
|
|
101
|
-
|
|
107
|
+
})), G = D(t.value.style.chart.animation.use ? 0 : $.dataset.percentage);
|
|
108
|
+
We(() => {
|
|
109
|
+
pe();
|
|
110
|
+
let a = 0, s = t.value.style.chart.animation.speed, e = 5e-3 * t.value.style.chart.animation.acceleration;
|
|
111
|
+
function c() {
|
|
112
|
+
G.value += s + a, a += e, G.value < $.dataset.percentage ? requestAnimationFrame(c) : G.value = $.dataset.percentage;
|
|
113
|
+
}
|
|
114
|
+
t.value.style.chart.animation.use && (G.value = 0, c());
|
|
115
|
+
});
|
|
116
|
+
function pe() {
|
|
117
|
+
Re($.dataset) ? Q({
|
|
102
118
|
componentName: "VueUi3dBar",
|
|
103
119
|
type: "dataset"
|
|
104
|
-
}) :
|
|
120
|
+
}) : $.dataset.series ? $.dataset.series.forEach((a, s) => {
|
|
105
121
|
ne({
|
|
106
|
-
datasetObject:
|
|
122
|
+
datasetObject: a,
|
|
107
123
|
requiredAttributes: ["name", "value"]
|
|
108
|
-
}).forEach((
|
|
109
|
-
|
|
124
|
+
}).forEach((e) => {
|
|
125
|
+
Q({
|
|
110
126
|
componentName: "VueUi3dBar",
|
|
111
127
|
type: "datasetSerieAttribute",
|
|
112
|
-
property:
|
|
113
|
-
index:
|
|
128
|
+
property: e,
|
|
129
|
+
index: s
|
|
114
130
|
});
|
|
115
|
-
}),
|
|
131
|
+
}), a.breakdown && a.breakdown.forEach((e, c) => {
|
|
116
132
|
ne({
|
|
117
|
-
datasetObject:
|
|
133
|
+
datasetObject: e,
|
|
118
134
|
requiredAttributes: ["name", "value"]
|
|
119
|
-
}).forEach((
|
|
120
|
-
|
|
135
|
+
}).forEach((l) => {
|
|
136
|
+
Q({
|
|
121
137
|
componentName: "VueUi3dBar",
|
|
122
138
|
type: "datasetSerieAttribute",
|
|
123
|
-
property:
|
|
124
|
-
index: `${
|
|
139
|
+
property: l,
|
|
140
|
+
index: `${s} - ${c}`
|
|
125
141
|
});
|
|
126
142
|
});
|
|
127
143
|
});
|
|
128
144
|
}) : ne({
|
|
129
|
-
datasetObject:
|
|
145
|
+
datasetObject: $.dataset,
|
|
130
146
|
requiredAttributes: ["percentage"]
|
|
131
|
-
}).forEach((
|
|
132
|
-
|
|
147
|
+
}).forEach((a) => {
|
|
148
|
+
Q({
|
|
133
149
|
componentName: "VueUi3dBar",
|
|
134
150
|
type: "datasetAttribute",
|
|
135
|
-
property:
|
|
151
|
+
property: a
|
|
136
152
|
});
|
|
137
153
|
});
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
return ze && (e = e.map(($e, Ne) => ({
|
|
148
|
-
...$e,
|
|
149
|
-
value: $e.value || 0,
|
|
150
|
-
color: A(c, Ne / e.length)
|
|
151
|
-
})), ye = xe(
|
|
154
|
+
}
|
|
155
|
+
function Te(a, s, e, c) {
|
|
156
|
+
const l = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: n, height: d, bottom: k, right: b, left: f, perspective: p } = o.value, v = k + l * a, ae = d - v - p - l * s / 2, Be = ae > o.value.height / 2 ? "top" : "bottom", ge = 64, Ie = !!e;
|
|
157
|
+
let _e = null, me = null;
|
|
158
|
+
return Ie && (e = e.map((xe, Le) => ({
|
|
159
|
+
...xe,
|
|
160
|
+
value: xe.value || 0,
|
|
161
|
+
color: A(c, Le / e.length)
|
|
162
|
+
})), _e = Ce(
|
|
152
163
|
{ series: e },
|
|
153
|
-
|
|
154
|
-
|
|
164
|
+
n + o.value.absoluteWidth / 4 - 14,
|
|
165
|
+
Be === "top" ? ae - ge : ae + ge,
|
|
155
166
|
28,
|
|
156
167
|
28,
|
|
157
168
|
1.99999,
|
|
@@ -160,10 +171,10 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
|
|
|
160
171
|
360,
|
|
161
172
|
105.25,
|
|
162
173
|
14
|
|
163
|
-
),
|
|
174
|
+
), me = Ce(
|
|
164
175
|
{ series: e },
|
|
165
|
-
|
|
166
|
-
|
|
176
|
+
n - b + 20,
|
|
177
|
+
d - v - p - l * s / 2,
|
|
167
178
|
6,
|
|
168
179
|
6,
|
|
169
180
|
1.99999,
|
|
@@ -173,114 +184,114 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
|
|
|
173
184
|
105.25,
|
|
174
185
|
6
|
|
175
186
|
)), {
|
|
176
|
-
donut:
|
|
177
|
-
miniDonut:
|
|
187
|
+
donut: _e,
|
|
188
|
+
miniDonut: me,
|
|
178
189
|
sidePointer: {
|
|
179
|
-
x:
|
|
180
|
-
y:
|
|
181
|
-
topY:
|
|
190
|
+
x: n - b,
|
|
191
|
+
y: d - v - p - l * s / 2,
|
|
192
|
+
topY: d - v - p - l * s,
|
|
182
193
|
height: l * s
|
|
183
194
|
},
|
|
184
|
-
apexBottom: { y:
|
|
185
|
-
apexTop: { y:
|
|
186
|
-
right: `M${
|
|
187
|
-
left: `M${
|
|
188
|
-
liningTop: `M${f},${
|
|
189
|
-
liningTopShade: `M${f},${
|
|
190
|
-
top: `M${
|
|
191
|
-
tubeTop: `M${f},${
|
|
192
|
-
bottomTubeTop: `M ${
|
|
195
|
+
apexBottom: { y: d - v, x: n / 2 },
|
|
196
|
+
apexTop: { y: d - v - l * s, x: n / 2 },
|
|
197
|
+
right: `M${n / 2},${d - v} ${n / 2},${d - v - l * s} ${n - b},${d - v - p - l * s} ${n - b},${d - v - p}Z`,
|
|
198
|
+
left: `M${n / 2},${d - v} ${n / 2},${d - v - l * s} ${f}, ${d - v - p - l * s} ${f},${d - v - p}Z`,
|
|
199
|
+
liningTop: `M${f},${d - v - p - l * s} ${n / 2},${d - v - l * s} ${n - b},${d - v - p - l * s}`,
|
|
200
|
+
liningTopShade: `M${f},${d - v - p - l * s - 0.5} ${n / 2},${d - v - l * s - 0.5} ${n - b},${d - v - p - l * s - 0.5}`,
|
|
201
|
+
top: `M${n / 2},${d - v - l * s} ${f},${d - v - p - l * s} ${n / 2},${d - v - p * 2 - l * s} ${n - b},${d - v - p - l * s} Z`,
|
|
202
|
+
tubeTop: `M${f},${d - v - l * s - p} C ${f},${d - v - l * s - p * 2.5} ${n - b},${d - v - l * s - p * 2.5} ${n - b},${d - v - l * s - p} C ${n - b},${d - v - l * s + p / 2} ${f},${d - v - l * s + p / 2} ${f},${d - v - l * s - p}`,
|
|
203
|
+
bottomTubeTop: `M ${n - b - 0.5},${d - v - p} C ${n - b - 0.5},${d - v + p / 2} ${f},${d - v + p / 2} ${f + 0.5},${d - v - p}`,
|
|
193
204
|
tubeBody: `M
|
|
194
|
-
${f},${
|
|
195
|
-
C ${f},${
|
|
196
|
-
${
|
|
197
|
-
${
|
|
198
|
-
L${
|
|
205
|
+
${f},${d - v - l * s - p}
|
|
206
|
+
C ${f},${d - v - l * s + p / 2}
|
|
207
|
+
${n - b},${d - v - l * s + p / 2}
|
|
208
|
+
${n - b},${d - v - l * s - p}
|
|
209
|
+
L${n - b},${d - v - p}
|
|
199
210
|
C
|
|
200
|
-
${
|
|
201
|
-
${f},${
|
|
202
|
-
${f},${
|
|
211
|
+
${n - b},${d - v + p / 2}
|
|
212
|
+
${f},${d - v + p / 2}
|
|
213
|
+
${f},${d - v - p}Z`
|
|
203
214
|
};
|
|
204
215
|
}
|
|
205
216
|
const E = P(() => {
|
|
206
|
-
const
|
|
217
|
+
const a = G.value / 100, s = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: e, height: c, bottom: l, right: n, left: d, perspective: k } = o.value, f = l + s * 0;
|
|
207
218
|
return {
|
|
208
|
-
right: `M${e / 2},${c - f} ${e / 2},${c - f - s *
|
|
209
|
-
left: `M${e / 2},${c - f} ${e / 2},${c - f - s *
|
|
210
|
-
top: `M${e / 2},${c - f - s *
|
|
211
|
-
tubeTop: `M${
|
|
219
|
+
right: `M${e / 2},${c - f} ${e / 2},${c - f - s * a} ${e - n},${c - f - k - s * a} ${e - n},${c - f - k}Z`,
|
|
220
|
+
left: `M${e / 2},${c - f} ${e / 2},${c - f - s * a} ${d}, ${c - f - k - s * a} ${d},${c - f - k}Z`,
|
|
221
|
+
top: `M${e / 2},${c - f - s * a} ${d},${c - f - k - s * a} ${e / 2},${c - f - k * 2 - s * a} ${e - n},${c - f - k - s * a} Z`,
|
|
222
|
+
tubeTop: `M${d},${c - f - s * a - k} C ${d},${c - f - s * a - k * 2.5} ${e - n},${c - f - s * a - k * 2.5} ${e - n},${c - f - s * a - k} C ${e - n},${c - f - s * a + k / 2} ${d},${c - f - s * a + k / 2} ${d},${c - f - s * a - k}`,
|
|
212
223
|
tubeBody: `M
|
|
213
|
-
${
|
|
214
|
-
C ${
|
|
215
|
-
${e -
|
|
216
|
-
${e -
|
|
217
|
-
L${e -
|
|
224
|
+
${d},${c - f - s * a - k}
|
|
225
|
+
C ${d},${c - f - s * a + k / 2}
|
|
226
|
+
${e - n},${c - f - s * a + k / 2}
|
|
227
|
+
${e - n},${c - f - s * a - k}
|
|
228
|
+
L${e - n},${c - k * 1.5}
|
|
218
229
|
C
|
|
219
|
-
${e -
|
|
220
|
-
${
|
|
221
|
-
${
|
|
230
|
+
${e - n},${c}
|
|
231
|
+
${d},${c}
|
|
232
|
+
${d},${c - f - k}Z`
|
|
222
233
|
};
|
|
223
|
-
}),
|
|
224
|
-
function F(
|
|
225
|
-
|
|
234
|
+
}), x = D(null);
|
|
235
|
+
function F(a, s = !1) {
|
|
236
|
+
Z("selectDatapoint", a), s || (x.value = a.id), s && O.value && (O.value = !1), s && !O.value && (O.value = !0);
|
|
226
237
|
}
|
|
227
238
|
function W() {
|
|
228
|
-
O.value || (
|
|
239
|
+
O.value || (x.value = null);
|
|
229
240
|
}
|
|
230
|
-
function V(
|
|
231
|
-
const c =
|
|
232
|
-
return e ?
|
|
241
|
+
function V(a, s, e = !1) {
|
|
242
|
+
const c = $.dataset.series.map((d) => d.value || 0).reduce((d, k) => d + k, 0), l = isNaN(a.value / c) ? 0 : a.value / c * 100, n = isNaN(a.value / ye(s)) ? 0 : a.value / ye(s) * 100;
|
|
243
|
+
return e ? n : l.toFixed(0) + "%";
|
|
233
244
|
}
|
|
234
|
-
function
|
|
235
|
-
return [...
|
|
245
|
+
function ye(a) {
|
|
246
|
+
return [...a].map((s) => s.value).reduce((s, e) => s + e, 0);
|
|
236
247
|
}
|
|
237
|
-
const
|
|
238
|
-
function
|
|
239
|
-
|
|
248
|
+
const se = D(!1);
|
|
249
|
+
function ze(a) {
|
|
250
|
+
se.value = a;
|
|
240
251
|
}
|
|
241
|
-
function
|
|
242
|
-
return C.value ? w.value :
|
|
252
|
+
function Ne() {
|
|
253
|
+
return C.value ? w.value : $.dataset.percentage;
|
|
243
254
|
}
|
|
244
|
-
const
|
|
255
|
+
const B = P(() => {
|
|
245
256
|
if (C.value) {
|
|
246
|
-
const
|
|
257
|
+
const a = w.value.flatMap((e) => e.breakdown && e.breakdown.length ? [{ name: e.name, color: e.color }, ...e.breakdown.map((c, l) => ({
|
|
247
258
|
name: c.name,
|
|
248
259
|
color: A(e.color, l / e.breakdown.length)
|
|
249
260
|
}))] : {
|
|
250
261
|
name: e.name,
|
|
251
262
|
color: e.color
|
|
252
263
|
}), s = w.value.flatMap((e) => e.breakdown && e.breakdown.length ? [e.value, ...e.breakdown.map((c) => c.value)] : e.value);
|
|
253
|
-
return { head:
|
|
264
|
+
return { head: a, body: s };
|
|
254
265
|
} else
|
|
255
266
|
return null;
|
|
256
267
|
});
|
|
257
|
-
function
|
|
268
|
+
function ke() {
|
|
258
269
|
if (!C.value) {
|
|
259
270
|
console.warn("VueUi3dBar : CSV download is only available in stack mode (providing dataset.series instead of dataset.percentage)");
|
|
260
271
|
return;
|
|
261
272
|
}
|
|
262
|
-
|
|
263
|
-
const
|
|
273
|
+
Ae(() => {
|
|
274
|
+
const a = w.value.map((l) => l.value).reduce((l, n) => l + n, 0), s = B.value.head.map((l, n) => [[
|
|
264
275
|
l.name
|
|
265
|
-
], [
|
|
266
|
-
|
|
276
|
+
], [B.value.body[n]], [isNaN(B.value.body[n] / a) ? "-" : B.value.body[n] / a * 100]]), e = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(s), c = Je(e);
|
|
277
|
+
Ke({ csvContent: c, title: t.value.style.chart.title.text || "vue-ui-3d-bar" });
|
|
267
278
|
});
|
|
268
279
|
}
|
|
269
|
-
const
|
|
270
|
-
const
|
|
280
|
+
const R = P(() => {
|
|
281
|
+
const a = w.value.map((n) => n.value).reduce((n, d) => n + d, 0), s = [
|
|
271
282
|
' <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>',
|
|
272
|
-
|
|
283
|
+
S({ p: t.value.style.chart.legend.prefix, v: a, s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue }),
|
|
273
284
|
"100%"
|
|
274
|
-
], e =
|
|
275
|
-
const
|
|
285
|
+
], e = B.value.head.map((n, d) => {
|
|
286
|
+
const k = S({ p: t.value.style.chart.legend.prefix, v: B.value.body[d], s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue });
|
|
276
287
|
return [
|
|
277
288
|
{
|
|
278
|
-
color:
|
|
279
|
-
name:
|
|
289
|
+
color: n.color,
|
|
290
|
+
name: n.name
|
|
280
291
|
},
|
|
281
|
-
|
|
282
|
-
isNaN(
|
|
283
|
-
v:
|
|
292
|
+
k,
|
|
293
|
+
isNaN(B.value.body[d] / a) ? "-" : S({
|
|
294
|
+
v: B.value.body[d] / a * 100,
|
|
284
295
|
s: "%",
|
|
285
296
|
r: t.value.table.td.roundingPercentage
|
|
286
297
|
})
|
|
@@ -310,27 +321,28 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
|
|
|
310
321
|
config: c
|
|
311
322
|
};
|
|
312
323
|
});
|
|
313
|
-
function
|
|
314
|
-
|
|
324
|
+
function $e() {
|
|
325
|
+
X.value.showTable = !X.value.showTable;
|
|
315
326
|
}
|
|
316
|
-
return
|
|
317
|
-
generateCsv:
|
|
318
|
-
generatePdf:
|
|
319
|
-
generateImage:
|
|
320
|
-
getData:
|
|
321
|
-
toggleTable:
|
|
322
|
-
}), (
|
|
327
|
+
return Pe({
|
|
328
|
+
generateCsv: ke,
|
|
329
|
+
generatePdf: ve,
|
|
330
|
+
generateImage: fe,
|
|
331
|
+
getData: Ne,
|
|
332
|
+
toggleTable: $e
|
|
333
|
+
}), (a, s) => (r(), i("div", {
|
|
323
334
|
ref_key: "bar3dChart",
|
|
324
335
|
ref: re,
|
|
325
|
-
class:
|
|
336
|
+
class: be("vue-ui-3d-bar"),
|
|
326
337
|
style: j(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),
|
|
327
|
-
id: `3d_bar_${
|
|
338
|
+
id: `3d_bar_${m.value}`
|
|
328
339
|
}, [
|
|
329
|
-
t.value.style.chart.title.text ? (
|
|
340
|
+
t.value.style.chart.title.text ? (r(), i("div", {
|
|
330
341
|
key: 0,
|
|
331
342
|
style: j(`width:100%;background:${t.value.style.chart.backgroundColor}`)
|
|
332
343
|
}, [
|
|
333
|
-
|
|
344
|
+
(r(), H(Qe, {
|
|
345
|
+
key: `title_${ue.value}`,
|
|
334
346
|
config: {
|
|
335
347
|
title: {
|
|
336
348
|
cy: "3dBar-div-title",
|
|
@@ -341,17 +353,17 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
|
|
|
341
353
|
...t.value.style.chart.title.subtitle
|
|
342
354
|
}
|
|
343
355
|
}
|
|
344
|
-
}, null, 8, ["config"])
|
|
345
|
-
], 4)) :
|
|
346
|
-
t.value.userOptions.show &&
|
|
356
|
+
}, null, 8, ["config"]))
|
|
357
|
+
], 4)) : y("", !0),
|
|
358
|
+
t.value.userOptions.show && q.value ? (r(), H(tt, {
|
|
347
359
|
key: 1,
|
|
348
360
|
ref_key: "details",
|
|
349
|
-
ref:
|
|
361
|
+
ref: Se,
|
|
350
362
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
351
363
|
color: t.value.style.chart.color,
|
|
352
|
-
isPrinting: h(
|
|
353
|
-
isImaging: h(
|
|
354
|
-
uid:
|
|
364
|
+
isPrinting: h(ce),
|
|
365
|
+
isImaging: h(he),
|
|
366
|
+
uid: m.value,
|
|
355
367
|
hasPdf: t.value.userOptions.buttons.pdf,
|
|
356
368
|
hasTable: !!C.value && t.value.userOptions.buttons.table,
|
|
357
369
|
hasXls: !!C.value && t.value.userOptions.buttons.csv,
|
|
@@ -359,159 +371,159 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
|
|
|
359
371
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
360
372
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
361
373
|
chartElement: re.value,
|
|
362
|
-
onToggleFullscreen:
|
|
363
|
-
onGeneratePdf: h(
|
|
364
|
-
onGenerateCsv:
|
|
365
|
-
onGenerateImage: h(
|
|
366
|
-
onToggleTable:
|
|
367
|
-
},
|
|
368
|
-
|
|
374
|
+
onToggleFullscreen: ze,
|
|
375
|
+
onGeneratePdf: h(ve),
|
|
376
|
+
onGenerateCsv: ke,
|
|
377
|
+
onGenerateImage: h(fe),
|
|
378
|
+
onToggleTable: $e
|
|
379
|
+
}, Ge({ _: 2 }, [
|
|
380
|
+
a.$slots.optionPdf ? {
|
|
369
381
|
name: "optionPdf",
|
|
370
382
|
fn: I(() => [
|
|
371
|
-
|
|
383
|
+
T(a.$slots, "optionPdf", {}, void 0, !0)
|
|
372
384
|
]),
|
|
373
385
|
key: "0"
|
|
374
386
|
} : void 0,
|
|
375
|
-
|
|
387
|
+
a.$slots.optionCsv ? {
|
|
376
388
|
name: "optionCsv",
|
|
377
389
|
fn: I(() => [
|
|
378
|
-
|
|
390
|
+
T(a.$slots, "optionCsv", {}, void 0, !0)
|
|
379
391
|
]),
|
|
380
392
|
key: "1"
|
|
381
393
|
} : void 0,
|
|
382
|
-
|
|
394
|
+
a.$slots.optionImg ? {
|
|
383
395
|
name: "optionImg",
|
|
384
396
|
fn: I(() => [
|
|
385
|
-
|
|
397
|
+
T(a.$slots, "optionImg", {}, void 0, !0)
|
|
386
398
|
]),
|
|
387
399
|
key: "2"
|
|
388
400
|
} : void 0,
|
|
389
|
-
|
|
401
|
+
a.$slots.optionTable ? {
|
|
390
402
|
name: "optionTable",
|
|
391
403
|
fn: I(() => [
|
|
392
|
-
|
|
404
|
+
T(a.$slots, "optionTable", {}, void 0, !0)
|
|
393
405
|
]),
|
|
394
406
|
key: "3"
|
|
395
407
|
} : void 0,
|
|
396
|
-
|
|
408
|
+
a.$slots.optionFullscreen ? {
|
|
397
409
|
name: "optionFullscreen",
|
|
398
410
|
fn: I(({ toggleFullscreen: e, isFullscreen: c }) => [
|
|
399
|
-
|
|
411
|
+
T(a.$slots, "optionFullscreen", Y(J({ toggleFullscreen: e, isFullscreen: c })), void 0, !0)
|
|
400
412
|
]),
|
|
401
413
|
key: "4"
|
|
402
414
|
} : void 0
|
|
403
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) :
|
|
404
|
-
|
|
415
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
|
|
416
|
+
q.value ? (r(), i("svg", {
|
|
405
417
|
key: 2,
|
|
406
|
-
xmlns: h(
|
|
407
|
-
class:
|
|
418
|
+
xmlns: h(Ye),
|
|
419
|
+
class: be({ "vue-data-ui-fullscreen--on": se.value, "vue-data-ui-fulscreen--off": !se.value }),
|
|
408
420
|
viewBox: `0 0 ${o.value.absoluteWidth} ${o.value.height}`,
|
|
409
421
|
style: j(`max-width:100%; overflow: visible; background:${t.value.style.chart.backgroundColor};color:${t.value.style.chart.color}`)
|
|
410
422
|
}, [
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
id: `gradient_top${
|
|
423
|
+
u("defs", null, [
|
|
424
|
+
u("radialGradient", {
|
|
425
|
+
id: `gradient_top${m.value}`
|
|
414
426
|
}, [
|
|
415
|
-
|
|
427
|
+
u("stop", {
|
|
416
428
|
offset: "0%",
|
|
417
|
-
"stop-color": `${h(
|
|
418
|
-
}, null, 8,
|
|
419
|
-
|
|
429
|
+
"stop-color": `${h(z)(t.value.style.chart.backgroundColor)}00`
|
|
430
|
+
}, null, 8, it),
|
|
431
|
+
u("stop", {
|
|
420
432
|
offset: "100%",
|
|
421
433
|
"stop-color": `${t.value.style.chart.bar.color}`
|
|
422
|
-
}, null, 8,
|
|
423
|
-
], 8,
|
|
424
|
-
|
|
425
|
-
id: `gradient_left${
|
|
434
|
+
}, null, 8, dt)
|
|
435
|
+
], 8, ut),
|
|
436
|
+
u("radialGradient", {
|
|
437
|
+
id: `gradient_left${m.value}`
|
|
426
438
|
}, [
|
|
427
|
-
|
|
439
|
+
u("stop", {
|
|
428
440
|
offset: "0%",
|
|
429
|
-
"stop-color": `${h(
|
|
430
|
-
}, null, 8,
|
|
431
|
-
|
|
441
|
+
"stop-color": `${h(z)(t.value.style.chart.backgroundColor)}00`
|
|
442
|
+
}, null, 8, ht),
|
|
443
|
+
u("stop", {
|
|
432
444
|
offset: "100%",
|
|
433
445
|
"stop-color": `${t.value.style.chart.bar.color}33`
|
|
434
|
-
}, null, 8,
|
|
435
|
-
], 8,
|
|
436
|
-
|
|
437
|
-
id: `gradient_right${
|
|
446
|
+
}, null, 8, vt)
|
|
447
|
+
], 8, ct),
|
|
448
|
+
u("radialGradient", {
|
|
449
|
+
id: `gradient_right${m.value}`
|
|
438
450
|
}, [
|
|
439
|
-
|
|
451
|
+
u("stop", {
|
|
440
452
|
offset: "0%",
|
|
441
|
-
"stop-color": `${h(
|
|
442
|
-
}, null, 8,
|
|
443
|
-
|
|
453
|
+
"stop-color": `${h(z)(t.value.style.chart.backgroundColor)}00`
|
|
454
|
+
}, null, 8, pt),
|
|
455
|
+
u("stop", {
|
|
444
456
|
offset: "100%",
|
|
445
457
|
"stop-color": `${t.value.style.chart.bar.color}33`
|
|
446
|
-
}, null, 8,
|
|
447
|
-
], 8,
|
|
448
|
-
|
|
449
|
-
id: `gradient_tube_body${
|
|
458
|
+
}, null, 8, yt)
|
|
459
|
+
], 8, ft),
|
|
460
|
+
u("linearGradient", {
|
|
461
|
+
id: `gradient_tube_body${m.value}`,
|
|
450
462
|
x1: "0%",
|
|
451
463
|
y1: "0%",
|
|
452
464
|
x2: "100%",
|
|
453
465
|
y2: "0%"
|
|
454
466
|
}, [
|
|
455
|
-
|
|
467
|
+
u("stop", {
|
|
456
468
|
offset: "0%",
|
|
457
469
|
"stop-color": `${t.value.style.chart.bar.color}`
|
|
458
|
-
}, null, 8,
|
|
459
|
-
|
|
470
|
+
}, null, 8, $t),
|
|
471
|
+
u("stop", {
|
|
460
472
|
offset: "75%",
|
|
461
|
-
"stop-color": `${h(
|
|
462
|
-
}, null, 8,
|
|
463
|
-
|
|
473
|
+
"stop-color": `${h(z)(t.value.style.chart.backgroundColor)}00`
|
|
474
|
+
}, null, 8, gt),
|
|
475
|
+
u("stop", {
|
|
464
476
|
offset: "100%",
|
|
465
477
|
"stop-color": `${t.value.style.chart.bar.color}66`
|
|
466
|
-
}, null, 8,
|
|
467
|
-
], 8,
|
|
478
|
+
}, null, 8, _t)
|
|
479
|
+
], 8, kt)
|
|
468
480
|
]),
|
|
469
|
-
C.value ? (
|
|
470
|
-
(
|
|
481
|
+
C.value ? (r(), i("defs", mt, [
|
|
482
|
+
(r(!0), i(g, null, _(w.value, (e) => (r(), i("radialGradient", {
|
|
471
483
|
id: `grad_top_${e.id}`
|
|
472
484
|
}, [
|
|
473
|
-
|
|
485
|
+
u("stop", {
|
|
474
486
|
offset: "0%",
|
|
475
487
|
"stop-color": `${h(A)(e.color, 0.5)}DD`
|
|
476
|
-
}, null, 8,
|
|
477
|
-
|
|
488
|
+
}, null, 8, bt),
|
|
489
|
+
u("stop", {
|
|
478
490
|
offset: "100%",
|
|
479
491
|
"stop-color": `${e.color}`
|
|
480
|
-
}, null, 8,
|
|
481
|
-
], 8,
|
|
482
|
-
(
|
|
492
|
+
}, null, 8, wt)
|
|
493
|
+
], 8, xt))), 256)),
|
|
494
|
+
(r(!0), i(g, null, _(w.value, (e) => (r(), i("linearGradient", {
|
|
483
495
|
id: `grad_left_${e.id}`
|
|
484
496
|
}, [
|
|
485
|
-
|
|
497
|
+
u("stop", {
|
|
486
498
|
offset: "0%",
|
|
487
499
|
"stop-color": `${e.color}DD`
|
|
488
|
-
}, null, 8,
|
|
489
|
-
|
|
500
|
+
}, null, 8, Ft),
|
|
501
|
+
u("stop", {
|
|
490
502
|
offset: "100%",
|
|
491
|
-
"stop-color": `${h(
|
|
492
|
-
}, null, 8,
|
|
493
|
-
], 8,
|
|
494
|
-
(
|
|
503
|
+
"stop-color": `${h(ee)(e.color, 0.5)}FF`
|
|
504
|
+
}, null, 8, Mt)
|
|
505
|
+
], 8, Ct))), 256)),
|
|
506
|
+
(r(!0), i(g, null, _(w.value, (e) => (r(), i("linearGradient", {
|
|
495
507
|
id: `grad_right_${e.id}`
|
|
496
508
|
}, [
|
|
497
|
-
|
|
509
|
+
u("stop", {
|
|
498
510
|
offset: "2%",
|
|
499
511
|
"stop-color": `${h(A)(e.color, 0.5)}FF`
|
|
500
|
-
}, null, 8,
|
|
501
|
-
|
|
512
|
+
}, null, 8, Dt),
|
|
513
|
+
u("stop", {
|
|
502
514
|
offset: "100%",
|
|
503
515
|
"stop-color": `${e.color}DD`
|
|
504
|
-
}, null, 8,
|
|
505
|
-
], 8,
|
|
506
|
-
|
|
516
|
+
}, null, 8, St)
|
|
517
|
+
], 8, Pt))), 256)),
|
|
518
|
+
u("linearGradient", {
|
|
507
519
|
x1: "0%",
|
|
508
520
|
y1: "0%",
|
|
509
521
|
x2: "0%",
|
|
510
522
|
y2: "100%",
|
|
511
|
-
id: `vertical_line_${
|
|
512
|
-
},
|
|
513
|
-
])) :
|
|
514
|
-
t.value.style.chart.dataLabel.show && ![null, void 0].includes(
|
|
523
|
+
id: `vertical_line_${m.value}`
|
|
524
|
+
}, Nt, 8, jt)
|
|
525
|
+
])) : y("", !0),
|
|
526
|
+
t.value.style.chart.dataLabel.show && ![null, void 0].includes($.dataset.percentage) && [null, void 0].includes($.dataset.series) ? (r(), i("text", {
|
|
515
527
|
key: 1,
|
|
516
528
|
x: o.value.width / 2,
|
|
517
529
|
y: o.value.top - t.value.style.chart.dataLabel.fontSize / 2,
|
|
@@ -519,131 +531,131 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
|
|
|
519
531
|
"font-weight": t.value.style.chart.dataLabel.bold ? "bold" : "normal",
|
|
520
532
|
fill: t.value.style.chart.dataLabel.color,
|
|
521
533
|
"text-anchor": "middle"
|
|
522
|
-
}, M(h(
|
|
534
|
+
}, M(h(S)({
|
|
523
535
|
v: G.value,
|
|
524
536
|
s: "%",
|
|
525
537
|
r: t.value.style.chart.dataLabel.rounding
|
|
526
|
-
})), 9,
|
|
527
|
-
O.value ? (
|
|
538
|
+
})), 9, Bt)) : y("", !0),
|
|
539
|
+
O.value ? (r(), i("g", {
|
|
528
540
|
key: 2,
|
|
529
541
|
onClick: s[0] || (s[0] = (e) => {
|
|
530
|
-
O.value = !1,
|
|
542
|
+
O.value = !1, x.value = null;
|
|
531
543
|
}),
|
|
532
544
|
"data-html2canvas-ignore": "",
|
|
533
545
|
style: { cursor: "pointer" }
|
|
534
546
|
}, [
|
|
535
|
-
|
|
547
|
+
u("rect", {
|
|
536
548
|
x: o.value.width / 2 - 6,
|
|
537
549
|
y: o.value.top - 20,
|
|
538
550
|
height: 12,
|
|
539
551
|
width: 12,
|
|
540
552
|
fill: "transparent"
|
|
541
|
-
}, null, 8,
|
|
542
|
-
|
|
553
|
+
}, null, 8, It),
|
|
554
|
+
u("path", {
|
|
543
555
|
d: `M${o.value.width / 2 - 6},${o.value.top - 20} ${o.value.width / 2 + 6},${o.value.top - 9}`,
|
|
544
556
|
stroke: t.value.style.chart.color,
|
|
545
557
|
"stroke-linecap": "round",
|
|
546
558
|
"stroke-width": "1"
|
|
547
|
-
}, null, 8,
|
|
548
|
-
|
|
559
|
+
}, null, 8, Lt),
|
|
560
|
+
u("path", {
|
|
549
561
|
d: `M${o.value.width / 2 + 6},${o.value.top - 20} ${o.value.width / 2 - 6},${o.value.top - 9}`,
|
|
550
562
|
stroke: t.value.style.chart.color,
|
|
551
563
|
"stroke-linecap": "round",
|
|
552
564
|
"stroke-width": "1"
|
|
553
|
-
}, null, 8,
|
|
554
|
-
])) :
|
|
555
|
-
!t.value.style.shape || t.value.style.shape === "bar" ? (
|
|
556
|
-
C.value ?
|
|
557
|
-
|
|
565
|
+
}, null, 8, Ot)
|
|
566
|
+
])) : y("", !0),
|
|
567
|
+
!t.value.style.shape || t.value.style.shape === "bar" ? (r(), i("g", Wt, [
|
|
568
|
+
C.value ? y("", !0) : (r(), i("g", Gt, [
|
|
569
|
+
u("path", {
|
|
558
570
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
559
|
-
d:
|
|
571
|
+
d: N.value.right,
|
|
560
572
|
stroke: t.value.style.chart.box.stroke,
|
|
561
573
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
562
574
|
"stroke-linejoin": "round",
|
|
563
575
|
"stroke-linecap": "round",
|
|
564
576
|
fill: "none"
|
|
565
|
-
}, null, 8,
|
|
566
|
-
|
|
577
|
+
}, null, 8, Vt),
|
|
578
|
+
u("path", {
|
|
567
579
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
568
|
-
d:
|
|
580
|
+
d: N.value.left,
|
|
569
581
|
stroke: t.value.style.chart.box.stroke,
|
|
570
582
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
571
583
|
"stroke-linejoin": "round",
|
|
572
584
|
"stroke-linecap": "round",
|
|
573
585
|
fill: "none"
|
|
574
|
-
}, null, 8,
|
|
575
|
-
|
|
586
|
+
}, null, 8, At),
|
|
587
|
+
u("path", {
|
|
576
588
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
577
|
-
d:
|
|
589
|
+
d: N.value.side,
|
|
578
590
|
stroke: t.value.style.chart.box.stroke,
|
|
579
591
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
580
592
|
"stroke-linejoin": "round",
|
|
581
593
|
"stroke-linecap": "round",
|
|
582
594
|
fill: "none"
|
|
583
|
-
}, null, 8,
|
|
584
|
-
|
|
595
|
+
}, null, 8, Ut),
|
|
596
|
+
u("path", {
|
|
585
597
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
586
|
-
d:
|
|
598
|
+
d: N.value.topSides,
|
|
587
599
|
stroke: t.value.style.chart.box.stroke,
|
|
588
600
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
589
601
|
"stroke-linejoin": "round",
|
|
590
602
|
"stroke-linecap": "round",
|
|
591
603
|
fill: "none"
|
|
592
|
-
}, null, 8,
|
|
604
|
+
}, null, 8, Et)
|
|
593
605
|
])),
|
|
594
|
-
C.value ?
|
|
595
|
-
|
|
606
|
+
C.value ? y("", !0) : (r(), i("g", Ht, [
|
|
607
|
+
u("path", {
|
|
596
608
|
d: E.value.right,
|
|
597
609
|
stroke: t.value.style.chart.bar.stroke,
|
|
598
610
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
599
611
|
"stroke-linejoin": "round",
|
|
600
612
|
"stroke-linecap": "round",
|
|
601
|
-
fill: `url(#gradient_right${
|
|
602
|
-
}, null, 8,
|
|
603
|
-
|
|
613
|
+
fill: `url(#gradient_right${m.value})`
|
|
614
|
+
}, null, 8, Zt),
|
|
615
|
+
u("path", {
|
|
604
616
|
d: E.value.left,
|
|
605
617
|
stroke: t.value.style.chart.bar.stroke,
|
|
606
618
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
607
619
|
"stroke-linejoin": "round",
|
|
608
620
|
"stroke-linecap": "round",
|
|
609
|
-
fill: `url(#gradient_left${
|
|
610
|
-
}, null, 8,
|
|
611
|
-
|
|
621
|
+
fill: `url(#gradient_left${m.value})`
|
|
622
|
+
}, null, 8, qt),
|
|
623
|
+
u("path", {
|
|
612
624
|
d: E.value.top,
|
|
613
625
|
stroke: t.value.style.chart.bar.stroke,
|
|
614
626
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
615
627
|
"stroke-linejoin": "round",
|
|
616
628
|
"stroke-linecap": "round",
|
|
617
|
-
fill: `url(#gradient_top${
|
|
618
|
-
}, null, 8,
|
|
629
|
+
fill: `url(#gradient_top${m.value})`
|
|
630
|
+
}, null, 8, Xt)
|
|
619
631
|
])),
|
|
620
|
-
C.value ? (
|
|
621
|
-
(
|
|
622
|
-
style: j(`opacity:${
|
|
632
|
+
C.value ? (r(), i("g", Rt, [
|
|
633
|
+
(r(!0), i(g, null, _(w.value, (e, c) => (r(), i("g", {
|
|
634
|
+
style: j(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
|
|
623
635
|
class: "vue-ui-3d-bar-stack"
|
|
624
636
|
}, [
|
|
625
|
-
|
|
637
|
+
u("path", {
|
|
626
638
|
d: e.fill.right,
|
|
627
639
|
fill: `url(#grad_right_${e.id})`,
|
|
628
640
|
onMouseenter: (l) => F(e),
|
|
629
641
|
onClick: (l) => F(e, !0),
|
|
630
642
|
onMouseout: W
|
|
631
|
-
}, null, 40,
|
|
632
|
-
|
|
643
|
+
}, null, 40, Yt),
|
|
644
|
+
u("path", {
|
|
633
645
|
d: e.fill.left,
|
|
634
646
|
fill: `url(#grad_left_${e.id})`,
|
|
635
647
|
onMouseenter: (l) => F(e),
|
|
636
648
|
onClick: (l) => F(e, !0),
|
|
637
649
|
onMouseout: W
|
|
638
|
-
}, null, 40,
|
|
639
|
-
|
|
650
|
+
}, null, 40, Jt),
|
|
651
|
+
u("path", {
|
|
640
652
|
d: e.fill.top,
|
|
641
653
|
fill: `url(#grad_top_${e.id})`,
|
|
642
654
|
onMouseenter: (l) => F(e),
|
|
643
655
|
onClick: (l) => F(e, !0),
|
|
644
656
|
onMouseout: W
|
|
645
|
-
}, null, 40,
|
|
646
|
-
|
|
657
|
+
}, null, 40, Kt),
|
|
658
|
+
u("path", {
|
|
647
659
|
d: e.fill.liningTop,
|
|
648
660
|
stroke: "#FFFFFF",
|
|
649
661
|
"stroke-width": "0.5",
|
|
@@ -652,16 +664,16 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
|
|
|
652
664
|
onMouseenter: (l) => F(e),
|
|
653
665
|
onClick: (l) => F(e, !0),
|
|
654
666
|
onMouseout: W
|
|
655
|
-
}, null, 40,
|
|
656
|
-
|
|
667
|
+
}, null, 40, Qt),
|
|
668
|
+
u("path", {
|
|
657
669
|
d: `M ${e.fill.apexTop.x},${e.fill.apexTop.y} ${e.fill.apexBottom.x},${e.fill.apexBottom.y}`,
|
|
658
670
|
stroke: "#FFFFFF",
|
|
659
671
|
"stroke-width": "0.5",
|
|
660
672
|
"stroke-linecap": "round"
|
|
661
|
-
}, null, 8,
|
|
673
|
+
}, null, 8, el)
|
|
662
674
|
], 4))), 256)),
|
|
663
|
-
(
|
|
664
|
-
c !== w.value.length - 1 ? (
|
|
675
|
+
(r(!0), i(g, null, _(w.value, (e, c) => (r(), i("g", null, [
|
|
676
|
+
c !== w.value.length - 1 ? (r(), i("path", {
|
|
665
677
|
key: 0,
|
|
666
678
|
d: e.fill.liningTopShade,
|
|
667
679
|
stroke: t.value.style.chart.bar.shadeColor,
|
|
@@ -669,246 +681,246 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
|
|
|
669
681
|
"stroke-linecap": "round",
|
|
670
682
|
fill: "none",
|
|
671
683
|
style: { "pointer-events": "none" }
|
|
672
|
-
}, null, 8,
|
|
684
|
+
}, null, 8, tl)) : y("", !0)
|
|
673
685
|
]))), 256)),
|
|
674
|
-
(
|
|
675
|
-
style: j(`opacity:${
|
|
676
|
-
onClick: (l) =>
|
|
686
|
+
(r(!0), i(g, null, _(w.value, (e, c) => (r(), i("g", {
|
|
687
|
+
style: j(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
|
|
688
|
+
onClick: (l) => Z("selectDatapoint", e)
|
|
677
689
|
}, [
|
|
678
|
-
|
|
690
|
+
u("path", {
|
|
679
691
|
stroke: t.value.style.chart.color,
|
|
680
692
|
"stroke-dasharray": "1",
|
|
681
693
|
"stroke-width": "0.5",
|
|
682
694
|
"stroke-linecap": "round",
|
|
683
695
|
d: `M${e.fill.sidePointer.x},${e.fill.sidePointer.y} ${e.fill.sidePointer.x + 20},${e.fill.sidePointer.y}`
|
|
684
|
-
}, null, 8,
|
|
685
|
-
!e.fill.miniDonut ||
|
|
696
|
+
}, null, 8, ol),
|
|
697
|
+
!e.fill.miniDonut || x.value ? (r(), i("circle", {
|
|
686
698
|
key: 0,
|
|
687
699
|
cx: e.fill.sidePointer.x + 20,
|
|
688
700
|
cy: e.fill.sidePointer.y,
|
|
689
701
|
r: 2,
|
|
690
702
|
fill: e.color,
|
|
691
703
|
stroke: t.value.style.chart.backgroundColor
|
|
692
|
-
}, null, 8,
|
|
693
|
-
(
|
|
704
|
+
}, null, 8, sl)) : y("", !0),
|
|
705
|
+
(r(), i("foreignObject", {
|
|
694
706
|
x: e.fill.sidePointer.x + 30,
|
|
695
707
|
y: e.fill.sidePointer.y - t.value.style.chart.legend.fontSize,
|
|
696
708
|
width: o.value.absoluteWidth / 2 - 12,
|
|
697
709
|
height: t.value.style.chart.legend.fontSize * 2,
|
|
698
710
|
style: { overflow: "visible", position: "relative" }
|
|
699
711
|
}, [
|
|
700
|
-
t.value.style.chart.legend.showDefault ? (
|
|
712
|
+
t.value.style.chart.legend.showDefault ? (r(), i("div", {
|
|
701
713
|
key: 0,
|
|
702
714
|
style: j(`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}`)
|
|
703
|
-
}, M(e.name) + ": " + M(h(
|
|
715
|
+
}, M(e.name) + ": " + M(h(S)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })) + " (" + M(h(te)(
|
|
704
716
|
t.value.style.chart.dataLabel.formatter,
|
|
705
717
|
e.value,
|
|
706
|
-
h(
|
|
718
|
+
h(S)({
|
|
707
719
|
p: t.value.style.chart.legend.prefix,
|
|
708
720
|
v: e.value,
|
|
709
721
|
s: t.value.style.chart.legend.suffix,
|
|
710
722
|
r: t.value.style.chart.legend.roundingValue
|
|
711
723
|
}),
|
|
712
724
|
{ datapoint: e, seriesIndex: c }
|
|
713
|
-
)) + ") ", 5)) :
|
|
714
|
-
|
|
715
|
-
], 8,
|
|
716
|
-
e.fill.donut &&
|
|
717
|
-
(
|
|
718
|
-
V(l, e.fill.donut, !0) > 6 ? (
|
|
725
|
+
)) + ") ", 5)) : y("", !0),
|
|
726
|
+
T(a.$slots, "legend", Y(J({ datapoint: e, config: t.value, dataset: w.value })), void 0, !0)
|
|
727
|
+
], 8, al)),
|
|
728
|
+
e.fill.donut && x.value === e.id ? (r(), i("g", nl, [
|
|
729
|
+
(r(!0), i(g, null, _(e.fill.donut, (l, n) => (r(), i("g", null, [
|
|
730
|
+
V(l, e.fill.donut, !0) > 6 ? (r(), i("path", {
|
|
719
731
|
key: 0,
|
|
720
|
-
d: h(
|
|
732
|
+
d: h(Fe)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 0.5),
|
|
721
733
|
stroke: l.color,
|
|
722
734
|
class: "vue-ui-donut-arc-path",
|
|
723
735
|
"stroke-width": "0.5",
|
|
724
736
|
"stroke-linecap": "round",
|
|
725
737
|
"stroke-linejoin": "round",
|
|
726
738
|
fill: "none"
|
|
727
|
-
}, null, 8,
|
|
739
|
+
}, null, 8, rl)) : y("", !0)
|
|
728
740
|
]))), 256)),
|
|
729
|
-
(
|
|
741
|
+
(r(!0), i(g, null, _(e.fill.donut, (l, n) => (r(), i("path", {
|
|
730
742
|
class: "vue-ui-donut-arc-path",
|
|
731
743
|
d: l.arcSlice,
|
|
732
744
|
fill: `${l.color}`,
|
|
733
745
|
stroke: t.value.style.chart.backgroundColor,
|
|
734
746
|
"stroke-width": 1
|
|
735
|
-
}, null, 8,
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
id: `hollow_gradient_${
|
|
747
|
+
}, null, 8, ul))), 256)),
|
|
748
|
+
u("defs", null, [
|
|
749
|
+
u("radialGradient", {
|
|
750
|
+
id: `hollow_gradient_${m.value}`
|
|
739
751
|
}, [
|
|
740
|
-
|
|
752
|
+
u("stop", {
|
|
741
753
|
offset: "0%",
|
|
742
|
-
"stop-color": `${h(
|
|
743
|
-
}, null, 8,
|
|
744
|
-
|
|
745
|
-
|
|
754
|
+
"stop-color": `${h(z)(t.value.style.chart.backgroundColor)}00`
|
|
755
|
+
}, null, 8, dl),
|
|
756
|
+
cl,
|
|
757
|
+
u("stop", {
|
|
746
758
|
offset: "100%",
|
|
747
|
-
"stop-color": `${h(
|
|
748
|
-
}, null, 8,
|
|
749
|
-
], 8,
|
|
759
|
+
"stop-color": `${h(z)(t.value.style.chart.backgroundColor)}00`
|
|
760
|
+
}, null, 8, hl)
|
|
761
|
+
], 8, il)
|
|
750
762
|
]),
|
|
751
|
-
(
|
|
763
|
+
(r(!0), i(g, null, _(e.fill.donut, (l, n) => (r(), i("circle", {
|
|
752
764
|
class: "vue-ui-donut-arc-path",
|
|
753
765
|
cx: l.cx,
|
|
754
766
|
cy: l.cy,
|
|
755
767
|
r: 28,
|
|
756
|
-
fill: `url(#hollow_gradient_${
|
|
757
|
-
}, null, 8,
|
|
758
|
-
(
|
|
768
|
+
fill: `url(#hollow_gradient_${m.value})`
|
|
769
|
+
}, null, 8, vl))), 256)),
|
|
770
|
+
(r(!0), i(g, null, _(e.fill.donut, (l, n) => (r(), i("circle", {
|
|
759
771
|
class: "vue-ui-donut-arc-path",
|
|
760
772
|
cx: l.cx,
|
|
761
773
|
cy: l.cy,
|
|
762
774
|
r: 14,
|
|
763
775
|
fill: t.value.style.chart.backgroundColor
|
|
764
|
-
}, null, 8,
|
|
765
|
-
(
|
|
766
|
-
V(l, e.fill.donut, !0) > 6 ? (
|
|
767
|
-
|
|
776
|
+
}, null, 8, fl))), 256)),
|
|
777
|
+
(r(!0), i(g, null, _(e.fill.donut, (l, n) => (r(), i("g", null, [
|
|
778
|
+
V(l, e.fill.donut, !0) > 6 ? (r(), i("g", pl, [
|
|
779
|
+
u("text", {
|
|
768
780
|
"text-anchor": h(L)(l, !0, 0).anchor,
|
|
769
781
|
x: h(L)(l, !0, 2).x,
|
|
770
|
-
y: h(
|
|
782
|
+
y: h(le)(l, 12, 12),
|
|
771
783
|
fill: t.value.style.chart.legend.color,
|
|
772
784
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
773
|
-
}, M(V(l, e.fill.donut)) + " (" + M(h(
|
|
785
|
+
}, M(V(l, e.fill.donut)) + " (" + M(h(te)(
|
|
774
786
|
t.value.style.chart.dataLabel.formatter,
|
|
775
787
|
l.value,
|
|
776
|
-
h(
|
|
788
|
+
h(S)({
|
|
777
789
|
p: t.value.style.chart.legend.prefix,
|
|
778
790
|
v: l.value,
|
|
779
791
|
s: t.value.style.chart.legend.suffix,
|
|
780
792
|
r: t.value.style.chart.legend.roundingValue
|
|
781
793
|
}),
|
|
782
|
-
{ datapoint: l, seriesIndex:
|
|
783
|
-
)) + ") ", 9,
|
|
784
|
-
|
|
794
|
+
{ datapoint: l, seriesIndex: n }
|
|
795
|
+
)) + ") ", 9, yl),
|
|
796
|
+
u("text", {
|
|
785
797
|
"text-anchor": h(L)(l).anchor,
|
|
786
798
|
x: h(L)(l, !0, 2).x,
|
|
787
|
-
y: h(
|
|
799
|
+
y: h(le)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
|
|
788
800
|
fill: t.value.style.chart.legend.color,
|
|
789
801
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
790
|
-
}, M(l.name), 9,
|
|
791
|
-
])) :
|
|
802
|
+
}, M(l.name), 9, kl)
|
|
803
|
+
])) : y("", !0)
|
|
792
804
|
]))), 256))
|
|
793
|
-
])) :
|
|
794
|
-
e.fill.miniDonut && !
|
|
795
|
-
(
|
|
805
|
+
])) : y("", !0),
|
|
806
|
+
e.fill.miniDonut && !x.value ? (r(), i("g", $l, [
|
|
807
|
+
(r(!0), i(g, null, _(e.fill.miniDonut, (l, n) => (r(), i("path", {
|
|
796
808
|
class: "vue-ui-donut-arc-path",
|
|
797
809
|
d: l.arcSlice,
|
|
798
810
|
fill: `${l.color}`,
|
|
799
811
|
stroke: t.value.style.chart.backgroundColor,
|
|
800
812
|
"stroke-width": 0.5
|
|
801
|
-
}, null, 8,
|
|
802
|
-
])) :
|
|
803
|
-
], 12,
|
|
804
|
-
])) :
|
|
805
|
-
])) :
|
|
806
|
-
t.value.style.shape === "tube" ? (
|
|
807
|
-
C.value ?
|
|
808
|
-
|
|
813
|
+
}, null, 8, gl))), 256))
|
|
814
|
+
])) : y("", !0)
|
|
815
|
+
], 12, ll))), 256))
|
|
816
|
+
])) : y("", !0)
|
|
817
|
+
])) : y("", !0),
|
|
818
|
+
t.value.style.shape === "tube" ? (r(), i("g", _l, [
|
|
819
|
+
C.value ? y("", !0) : (r(), i("g", ml, [
|
|
820
|
+
u("path", {
|
|
809
821
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
810
|
-
d:
|
|
822
|
+
d: N.value.tubeTop,
|
|
811
823
|
stroke: t.value.style.chart.box.stroke,
|
|
812
824
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
813
825
|
"stroke-linejoin": "round",
|
|
814
826
|
"stroke-linecap": "round",
|
|
815
827
|
fill: "none"
|
|
816
|
-
}, null, 8,
|
|
817
|
-
|
|
828
|
+
}, null, 8, xl),
|
|
829
|
+
u("path", {
|
|
818
830
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
819
|
-
d:
|
|
831
|
+
d: N.value.tubeLeft,
|
|
820
832
|
stroke: t.value.style.chart.box.stroke,
|
|
821
833
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
822
834
|
"stroke-linejoin": "round",
|
|
823
835
|
"stroke-linecap": "round",
|
|
824
836
|
fill: "none"
|
|
825
|
-
}, null, 8,
|
|
826
|
-
|
|
837
|
+
}, null, 8, bl),
|
|
838
|
+
u("path", {
|
|
827
839
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
828
|
-
d:
|
|
840
|
+
d: N.value.tubeRight,
|
|
829
841
|
stroke: t.value.style.chart.box.stroke,
|
|
830
842
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
831
843
|
"stroke-linejoin": "round",
|
|
832
844
|
"stroke-linecap": "round",
|
|
833
845
|
fill: "none"
|
|
834
|
-
}, null, 8,
|
|
835
|
-
|
|
846
|
+
}, null, 8, wl),
|
|
847
|
+
u("path", {
|
|
836
848
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
837
|
-
d:
|
|
849
|
+
d: N.value.tubeBottom,
|
|
838
850
|
stroke: t.value.style.chart.box.stroke,
|
|
839
851
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
840
852
|
"stroke-linejoin": "round",
|
|
841
853
|
"stroke-linecap": "round",
|
|
842
854
|
fill: "none"
|
|
843
|
-
}, null, 8,
|
|
844
|
-
|
|
855
|
+
}, null, 8, Cl),
|
|
856
|
+
u("path", {
|
|
845
857
|
d: E.value.tubeTop,
|
|
846
858
|
stroke: t.value.style.chart.bar.stroke,
|
|
847
859
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
848
860
|
"stroke-linejoin": "round",
|
|
849
861
|
"stroke-linecap": "round",
|
|
850
|
-
fill: `url(#gradient_top${
|
|
851
|
-
}, null, 8,
|
|
852
|
-
|
|
862
|
+
fill: `url(#gradient_top${m.value})`
|
|
863
|
+
}, null, 8, Fl),
|
|
864
|
+
u("path", {
|
|
853
865
|
d: E.value.tubeBody,
|
|
854
866
|
stroke: t.value.style.chart.bar.stroke,
|
|
855
867
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
856
868
|
"stroke-linejoin": "round",
|
|
857
869
|
"stroke-linecap": "round",
|
|
858
|
-
fill: `url(#gradient_tube_body${
|
|
859
|
-
}, null, 8,
|
|
870
|
+
fill: `url(#gradient_tube_body${m.value})`
|
|
871
|
+
}, null, 8, Ml)
|
|
860
872
|
])),
|
|
861
|
-
C.value ? (
|
|
862
|
-
(
|
|
863
|
-
style: j(`opacity:${
|
|
873
|
+
C.value ? (r(), i("g", Pl, [
|
|
874
|
+
(r(!0), i(g, null, _(w.value, (e, c) => (r(), i("g", {
|
|
875
|
+
style: j(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
|
|
864
876
|
class: "vue-ui-3d-bar-stack",
|
|
865
|
-
onClick: (l) =>
|
|
877
|
+
onClick: (l) => Z("selectDatapoint", e)
|
|
866
878
|
}, [
|
|
867
|
-
|
|
868
|
-
|
|
879
|
+
u("defs", null, [
|
|
880
|
+
u("radialGradient", {
|
|
869
881
|
id: `gradient_tube_top_${e.id}`,
|
|
870
882
|
fx: "10%",
|
|
871
883
|
cy: "55%"
|
|
872
884
|
}, [
|
|
873
|
-
|
|
885
|
+
u("stop", {
|
|
874
886
|
offset: "0%",
|
|
875
887
|
"stop-color": `${h(A)(e.color, 0.5)}DD`
|
|
876
|
-
}, null, 8,
|
|
877
|
-
|
|
888
|
+
}, null, 8, jl),
|
|
889
|
+
u("stop", {
|
|
878
890
|
offset: "100%",
|
|
879
|
-
"stop-color": `${h(
|
|
880
|
-
}, null, 8,
|
|
881
|
-
], 8,
|
|
882
|
-
|
|
891
|
+
"stop-color": `${h(ee)(e.color, 0.1)}DD`
|
|
892
|
+
}, null, 8, Tl)
|
|
893
|
+
], 8, Sl),
|
|
894
|
+
u("linearGradient", {
|
|
883
895
|
id: `gradient_tube_body_${e.id}`,
|
|
884
896
|
x1: "0%",
|
|
885
897
|
y1: "0%",
|
|
886
898
|
x2: "100%",
|
|
887
899
|
y2: "0%"
|
|
888
900
|
}, [
|
|
889
|
-
|
|
901
|
+
u("stop", {
|
|
890
902
|
offset: "0%",
|
|
891
903
|
"stop-color": `${e.color}`
|
|
892
|
-
}, null, 8,
|
|
893
|
-
|
|
904
|
+
}, null, 8, Nl),
|
|
905
|
+
u("stop", {
|
|
894
906
|
offset: "10%",
|
|
895
|
-
"stop-color": `${h(
|
|
896
|
-
}, null, 8,
|
|
897
|
-
|
|
907
|
+
"stop-color": `${h(ee)(e.color, 0.7)}FF`
|
|
908
|
+
}, null, 8, Bl),
|
|
909
|
+
u("stop", {
|
|
898
910
|
offset: "25%",
|
|
899
|
-
"stop-color": `${h(
|
|
900
|
-
}, null, 8,
|
|
901
|
-
|
|
911
|
+
"stop-color": `${h(ee)(e.color, 0.5)}FF`
|
|
912
|
+
}, null, 8, Il),
|
|
913
|
+
u("stop", {
|
|
902
914
|
offset: "75%",
|
|
903
915
|
"stop-color": `${e.color}DD`
|
|
904
|
-
}, null, 8,
|
|
905
|
-
|
|
916
|
+
}, null, 8, Ll),
|
|
917
|
+
u("stop", {
|
|
906
918
|
offset: "100%",
|
|
907
919
|
"stop-color": `${h(A)(e.color, 0.7)}FF`
|
|
908
|
-
}, null, 8,
|
|
909
|
-
], 8,
|
|
920
|
+
}, null, 8, Ol)
|
|
921
|
+
], 8, zl)
|
|
910
922
|
]),
|
|
911
|
-
|
|
923
|
+
u("path", {
|
|
912
924
|
onMouseenter: (l) => F(e),
|
|
913
925
|
onClick: (l) => F(e, !0),
|
|
914
926
|
onMouseout: W,
|
|
@@ -918,8 +930,8 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
|
|
|
918
930
|
"stroke-linejoin": "round",
|
|
919
931
|
"stroke-linecap": "round",
|
|
920
932
|
fill: `url(#gradient_tube_body_${e.id})`
|
|
921
|
-
}, null, 40,
|
|
922
|
-
c > 0 ? (
|
|
933
|
+
}, null, 40, Wl),
|
|
934
|
+
c > 0 ? (r(), i("path", {
|
|
923
935
|
key: 0,
|
|
924
936
|
onMouseenter: (l) => F(e),
|
|
925
937
|
onClick: (l) => F(e, !0),
|
|
@@ -930,8 +942,8 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
|
|
|
930
942
|
"stroke-linejoin": "round",
|
|
931
943
|
"stroke-linecap": "round",
|
|
932
944
|
fill: "none"
|
|
933
|
-
}, null, 40,
|
|
934
|
-
|
|
945
|
+
}, null, 40, Gl)) : y("", !0),
|
|
946
|
+
u("path", {
|
|
935
947
|
onMouseenter: (l) => F(e),
|
|
936
948
|
onClick: (l) => F(e, !0),
|
|
937
949
|
onMouseout: W,
|
|
@@ -941,146 +953,146 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
|
|
|
941
953
|
"stroke-linejoin": "round",
|
|
942
954
|
"stroke-linecap": "round",
|
|
943
955
|
fill: `url(#gradient_tube_top_${e.id})`
|
|
944
|
-
}, null, 40,
|
|
945
|
-
], 12,
|
|
946
|
-
(
|
|
947
|
-
style: j(`opacity:${
|
|
948
|
-
onClick: (l) =>
|
|
956
|
+
}, null, 40, Vl)
|
|
957
|
+
], 12, Dl))), 256)),
|
|
958
|
+
(r(!0), i(g, null, _(w.value, (e, c) => (r(), i("g", {
|
|
959
|
+
style: j(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
|
|
960
|
+
onClick: (l) => Z("selectDatapoint", e)
|
|
949
961
|
}, [
|
|
950
|
-
|
|
962
|
+
u("path", {
|
|
951
963
|
stroke: t.value.style.chart.color,
|
|
952
964
|
"stroke-dasharray": "1",
|
|
953
965
|
"stroke-width": "0.5",
|
|
954
966
|
"stroke-linecap": "round",
|
|
955
967
|
d: `M${e.fill.sidePointer.x},${e.fill.sidePointer.y} ${e.fill.sidePointer.x + 20},${e.fill.sidePointer.y}`
|
|
956
|
-
}, null, 8,
|
|
957
|
-
!e.fill.miniDonut ||
|
|
968
|
+
}, null, 8, Ul),
|
|
969
|
+
!e.fill.miniDonut || x.value ? (r(), i("circle", {
|
|
958
970
|
key: 0,
|
|
959
971
|
cx: e.fill.sidePointer.x + 20,
|
|
960
972
|
cy: e.fill.sidePointer.y,
|
|
961
973
|
r: 2,
|
|
962
974
|
fill: e.color,
|
|
963
975
|
stroke: t.value.style.chart.backgroundColor
|
|
964
|
-
}, null, 8,
|
|
965
|
-
(
|
|
976
|
+
}, null, 8, El)) : y("", !0),
|
|
977
|
+
(r(), i("foreignObject", {
|
|
966
978
|
x: e.fill.sidePointer.x + 30,
|
|
967
979
|
y: e.fill.sidePointer.y - t.value.style.chart.legend.fontSize,
|
|
968
980
|
width: o.value.absoluteWidth / 2 - 12,
|
|
969
981
|
height: t.value.style.chart.legend.fontSize * 2,
|
|
970
982
|
style: { overflow: "visible", position: "relative" }
|
|
971
983
|
}, [
|
|
972
|
-
t.value.style.chart.legend.showDefault ? (
|
|
984
|
+
t.value.style.chart.legend.showDefault ? (r(), i("div", {
|
|
973
985
|
key: 0,
|
|
974
986
|
style: j(`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}`)
|
|
975
|
-
}, M(e.name) + ": " + M(h(
|
|
987
|
+
}, M(e.name) + ": " + M(h(S)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })) + " (" + M(h(te)(
|
|
976
988
|
t.value.style.chart.dataLabel.formatter,
|
|
977
989
|
e.value,
|
|
978
|
-
h(
|
|
990
|
+
h(S)({
|
|
979
991
|
p: t.value.style.chart.legend.prefix,
|
|
980
992
|
v: e.value,
|
|
981
993
|
s: t.value.style.chart.legend.suffix,
|
|
982
994
|
r: t.value.style.chart.legend.roundingValue
|
|
983
995
|
}),
|
|
984
996
|
{ datapoint: e, seriesIndex: c }
|
|
985
|
-
)) + ") ", 5)) :
|
|
986
|
-
|
|
987
|
-
], 8,
|
|
988
|
-
e.fill.donut &&
|
|
989
|
-
(
|
|
990
|
-
V(l, e.fill.donut, !0) > 6 ? (
|
|
997
|
+
)) + ") ", 5)) : y("", !0),
|
|
998
|
+
T(a.$slots, "legend", Y(J({ datapoint: e, config: t.value, dataset: w.value })), void 0, !0)
|
|
999
|
+
], 8, Hl)),
|
|
1000
|
+
e.fill.donut && x.value === e.id ? (r(), i("g", Zl, [
|
|
1001
|
+
(r(!0), i(g, null, _(e.fill.donut, (l, n) => (r(), i("g", null, [
|
|
1002
|
+
V(l, e.fill.donut, !0) > 6 ? (r(), i("path", {
|
|
991
1003
|
key: 0,
|
|
992
|
-
d: h(
|
|
1004
|
+
d: h(Fe)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 0.5),
|
|
993
1005
|
stroke: l.color,
|
|
994
1006
|
class: "vue-ui-donut-arc-path",
|
|
995
1007
|
"stroke-width": "0.5",
|
|
996
1008
|
"stroke-linecap": "round",
|
|
997
1009
|
"stroke-linejoin": "round",
|
|
998
1010
|
fill: "none"
|
|
999
|
-
}, null, 8,
|
|
1011
|
+
}, null, 8, ql)) : y("", !0)
|
|
1000
1012
|
]))), 256)),
|
|
1001
|
-
(
|
|
1013
|
+
(r(!0), i(g, null, _(e.fill.donut, (l, n) => (r(), i("path", {
|
|
1002
1014
|
class: "vue-ui-donut-arc-path",
|
|
1003
1015
|
d: l.arcSlice,
|
|
1004
1016
|
fill: `${l.color}`,
|
|
1005
1017
|
stroke: t.value.style.chart.backgroundColor,
|
|
1006
1018
|
"stroke-width": 1
|
|
1007
|
-
}, null, 8,
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
id: `hollow_gradient_${
|
|
1019
|
+
}, null, 8, Xl))), 256)),
|
|
1020
|
+
u("defs", null, [
|
|
1021
|
+
u("radialGradient", {
|
|
1022
|
+
id: `hollow_gradient_${m.value}`
|
|
1011
1023
|
}, [
|
|
1012
|
-
|
|
1024
|
+
u("stop", {
|
|
1013
1025
|
offset: "0%",
|
|
1014
|
-
"stop-color": `${h(
|
|
1015
|
-
}, null, 8,
|
|
1016
|
-
|
|
1017
|
-
|
|
1026
|
+
"stop-color": `${h(z)(t.value.style.chart.backgroundColor)}00`
|
|
1027
|
+
}, null, 8, Yl),
|
|
1028
|
+
Jl,
|
|
1029
|
+
u("stop", {
|
|
1018
1030
|
offset: "100%",
|
|
1019
|
-
"stop-color": `${h(
|
|
1020
|
-
}, null, 8,
|
|
1021
|
-
], 8,
|
|
1031
|
+
"stop-color": `${h(z)(t.value.style.chart.backgroundColor)}00`
|
|
1032
|
+
}, null, 8, Kl)
|
|
1033
|
+
], 8, Rl)
|
|
1022
1034
|
]),
|
|
1023
|
-
(
|
|
1035
|
+
(r(!0), i(g, null, _(e.fill.donut, (l, n) => (r(), i("circle", {
|
|
1024
1036
|
class: "vue-ui-donut-arc-path",
|
|
1025
1037
|
cx: l.cx,
|
|
1026
1038
|
cy: l.cy,
|
|
1027
1039
|
r: 28,
|
|
1028
|
-
fill: `url(#hollow_gradient_${
|
|
1029
|
-
}, null, 8,
|
|
1030
|
-
(
|
|
1040
|
+
fill: `url(#hollow_gradient_${m.value})`
|
|
1041
|
+
}, null, 8, Ql))), 256)),
|
|
1042
|
+
(r(!0), i(g, null, _(e.fill.donut, (l, n) => (r(), i("circle", {
|
|
1031
1043
|
class: "vue-ui-donut-arc-path",
|
|
1032
1044
|
cx: l.cx,
|
|
1033
1045
|
cy: l.cy,
|
|
1034
1046
|
r: 14,
|
|
1035
1047
|
fill: t.value.style.chart.backgroundColor
|
|
1036
|
-
}, null, 8,
|
|
1037
|
-
(
|
|
1038
|
-
V(l, e.fill.donut, !0) > 6 ? (
|
|
1039
|
-
|
|
1048
|
+
}, null, 8, eo))), 256)),
|
|
1049
|
+
(r(!0), i(g, null, _(e.fill.donut, (l, n) => (r(), i("g", null, [
|
|
1050
|
+
V(l, e.fill.donut, !0) > 6 ? (r(), i("g", to, [
|
|
1051
|
+
u("text", {
|
|
1040
1052
|
"text-anchor": h(L)(l, !0, 0).anchor,
|
|
1041
1053
|
x: h(L)(l, !0, 2).x,
|
|
1042
|
-
y: h(
|
|
1054
|
+
y: h(le)(l, 12, 12),
|
|
1043
1055
|
fill: t.value.style.chart.legend.color,
|
|
1044
1056
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
1045
|
-
}, M(V(l, e.fill.donut)) + " (" + M(h(
|
|
1057
|
+
}, M(V(l, e.fill.donut)) + " (" + M(h(te)(
|
|
1046
1058
|
t.value.style.chart.dataLabel.formatter,
|
|
1047
1059
|
l.value,
|
|
1048
|
-
h(
|
|
1060
|
+
h(S)({
|
|
1049
1061
|
p: t.value.style.chart.legend.prefix,
|
|
1050
1062
|
v: l.value,
|
|
1051
1063
|
s: t.value.style.chart.legend.suffix,
|
|
1052
1064
|
r: t.value.style.chart.legend.roundingValue
|
|
1053
1065
|
}),
|
|
1054
|
-
{ datapoint: l, seriesIndex:
|
|
1055
|
-
)) + ") ", 9,
|
|
1056
|
-
|
|
1066
|
+
{ datapoint: l, seriesIndex: n }
|
|
1067
|
+
)) + ") ", 9, lo),
|
|
1068
|
+
u("text", {
|
|
1057
1069
|
"text-anchor": h(L)(l).anchor,
|
|
1058
1070
|
x: h(L)(l, !0, 2).x,
|
|
1059
|
-
y: h(
|
|
1071
|
+
y: h(le)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
|
|
1060
1072
|
fill: t.value.style.chart.legend.color,
|
|
1061
1073
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
1062
|
-
}, M(l.name), 9,
|
|
1063
|
-
])) :
|
|
1074
|
+
}, M(l.name), 9, oo)
|
|
1075
|
+
])) : y("", !0)
|
|
1064
1076
|
]))), 256))
|
|
1065
|
-
])) :
|
|
1066
|
-
e.fill.miniDonut && !
|
|
1067
|
-
(
|
|
1077
|
+
])) : y("", !0),
|
|
1078
|
+
e.fill.miniDonut && !x.value ? (r(), i("g", so, [
|
|
1079
|
+
(r(!0), i(g, null, _(e.fill.miniDonut, (l, n) => (r(), i("path", {
|
|
1068
1080
|
class: "vue-ui-donut-arc-path",
|
|
1069
1081
|
d: l.arcSlice,
|
|
1070
1082
|
fill: `${l.color}`,
|
|
1071
1083
|
stroke: t.value.style.chart.backgroundColor,
|
|
1072
1084
|
"stroke-width": 0.5
|
|
1073
|
-
}, null, 8,
|
|
1074
|
-
])) :
|
|
1075
|
-
], 12,
|
|
1076
|
-
])) :
|
|
1077
|
-
])) :
|
|
1078
|
-
|
|
1079
|
-
], 14,
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
])) :
|
|
1083
|
-
|
|
1085
|
+
}, null, 8, ao))), 256))
|
|
1086
|
+
])) : y("", !0)
|
|
1087
|
+
], 12, Al))), 256))
|
|
1088
|
+
])) : y("", !0)
|
|
1089
|
+
])) : y("", !0),
|
|
1090
|
+
T(a.$slots, "svg", { svg: o.value }, void 0, !0)
|
|
1091
|
+
], 14, rt)) : y("", !0),
|
|
1092
|
+
a.$slots.watermark ? (r(), i("div", no, [
|
|
1093
|
+
T(a.$slots, "watermark", Y(J({ isPrinting: h(ce) || h(he) })), void 0, !0)
|
|
1094
|
+
])) : y("", !0),
|
|
1095
|
+
q.value ? y("", !0) : (r(), H(lt, {
|
|
1084
1096
|
key: 4,
|
|
1085
1097
|
config: {
|
|
1086
1098
|
type: "bar3d",
|
|
@@ -1092,11 +1104,11 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
|
|
|
1092
1104
|
}
|
|
1093
1105
|
}
|
|
1094
1106
|
}, null, 8, ["config"])),
|
|
1095
|
-
|
|
1107
|
+
q.value && C.value ? (r(), H(st, {
|
|
1096
1108
|
key: 5,
|
|
1097
1109
|
hideDetails: "",
|
|
1098
1110
|
config: {
|
|
1099
|
-
open:
|
|
1111
|
+
open: X.value.showTable,
|
|
1100
1112
|
maxHeight: 1e4,
|
|
1101
1113
|
body: {
|
|
1102
1114
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
@@ -1109,31 +1121,32 @@ const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = [
|
|
|
1109
1121
|
}
|
|
1110
1122
|
}, {
|
|
1111
1123
|
content: I(() => [
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1124
|
+
(r(), H(ot, {
|
|
1125
|
+
key: `table_${ie.value}`,
|
|
1126
|
+
colNames: R.value.colNames,
|
|
1127
|
+
head: R.value.head,
|
|
1128
|
+
body: R.value.body,
|
|
1129
|
+
config: R.value.config,
|
|
1117
1130
|
title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1118
|
-
onClose: s[1] || (s[1] = (e) =>
|
|
1131
|
+
onClose: s[1] || (s[1] = (e) => X.value.showTable = !1)
|
|
1119
1132
|
}, {
|
|
1120
1133
|
th: I(({ th: e }) => [
|
|
1121
|
-
|
|
1134
|
+
u("div", {
|
|
1122
1135
|
innerHTML: e,
|
|
1123
1136
|
style: { display: "flex", "align-items": "center" }
|
|
1124
|
-
}, null, 8,
|
|
1137
|
+
}, null, 8, ro)
|
|
1125
1138
|
]),
|
|
1126
1139
|
td: I(({ td: e }) => [
|
|
1127
|
-
|
|
1140
|
+
Ve(M(e.name || e), 1)
|
|
1128
1141
|
]),
|
|
1129
1142
|
_: 1
|
|
1130
|
-
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
1143
|
+
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
1131
1144
|
]),
|
|
1132
1145
|
_: 1
|
|
1133
|
-
}, 8, ["config"])) :
|
|
1134
|
-
], 12,
|
|
1146
|
+
}, 8, ["config"])) : y("", !0)
|
|
1147
|
+
], 12, nt));
|
|
1135
1148
|
}
|
|
1136
|
-
},
|
|
1149
|
+
}, go = /* @__PURE__ */ at(uo, [["__scopeId", "data-v-11451b65"]]);
|
|
1137
1150
|
export {
|
|
1138
|
-
|
|
1151
|
+
go as default
|
|
1139
1152
|
};
|