vue-data-ui 2.4.50 → 2.4.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/dist/{Arrow-D1z9KkQN.js → Arrow-BuBoE64l.js} +1 -1
- package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-CFlFdPC5.cjs} +1 -1
- package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-CfhoS_qC.cjs} +1 -1
- package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-zmxwsaLW.js} +1 -1
- package/dist/{DataTable-CQ8fQnex.js → DataTable-COkA4Nyz.js} +2 -2
- package/dist/{DataTable-CovKV5Yy.cjs → DataTable-CwAdpLng.cjs} +1 -1
- package/dist/{Legend-Bbz-hKDf.cjs → Legend-CR9ydX8N.cjs} +1 -1
- package/dist/{Legend-Br7MWNDo.js → Legend-bYlSC7I7.js} +1 -1
- package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-C1F3QLoY.cjs} +1 -1
- package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-Dz3KcTL4.js} +1 -1
- package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-BycdTwSP.js} +3 -3
- package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-DDheVRNG.cjs} +1 -1
- package/dist/{Shape-BD37ZaX9.cjs → Shape-BBp5EwJH.cjs} +1 -1
- package/dist/{Shape-B7Mekpyf.js → Shape-BDJJ38uM.js} +1 -1
- package/dist/{Slicer-CWvkt-8k.cjs → Slicer-7oTpm-cZ.cjs} +1 -1
- package/dist/{Slicer-ahFReg7h.js → Slicer-D_DaIThC.js} +2 -2
- package/dist/{Title-C2siG5N2.cjs → Title-B7ruS8yl.cjs} +1 -1
- package/dist/{Title-CIsKiWgN.js → Title-aMb2ETf7.js} +1 -1
- package/dist/{Tooltip-B1LgrF9R.js → Tooltip-BRZ3DT4p.js} +1 -1
- package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-BqSN71SL.cjs} +1 -1
- package/dist/index-BkXYJDpD.cjs +9 -0
- package/dist/{index-BtL_cLa8.js → index-K5uyh1gA.js} +5 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +5 -1
- package/dist/types/vue-data-ui.d.ts +5 -1
- package/dist/{useNestedProp-D_feh7A_.cjs → useNestedProp-C6IvqE-r.cjs} +1 -1
- package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-DifqJZAs.js} +1 -1
- package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-DHv-BwME.cjs} +1 -1
- package/dist/{usePrinter-sRt2SKr2.js → usePrinter-p_ZZlGc9.js} +1 -1
- package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
- package/dist/useUserOptionState-BgepsfED.cjs +1 -0
- package/dist/{vue-data-ui-NkhaiK6y.js → vue-data-ui-3PlAeIlX.js} +60 -60
- package/dist/{vue-data-ui-CuEYAddV.cjs → vue-data-ui-M0E2b8Dw.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BeXYzdzu.js → vue-ui-3d-bar-PrijRaoI.js} +355 -349
- package/dist/vue-ui-3d-bar-VQyMytda.cjs +19 -0
- package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-CsJT7Az3.js} +3 -3
- package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-kr18wKfc.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-BV1MgH8J.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-DFYykOow.js} +260 -254
- package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-Blg3LdqF.js} +1 -1
- package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-DffUZR4a.cjs} +1 -1
- package/dist/vue-ui-bullet-DSampkai.cjs +34 -0
- package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-Ybz4qPWl.js} +147 -141
- package/dist/vue-ui-candlestick-BxcwK8UI.cjs +2 -0
- package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-DsVBdCz_.js} +231 -225
- package/dist/vue-ui-carousel-table-C2ThrWYt.js +379 -0
- package/dist/vue-ui-carousel-table-DkWNe0mJ.cjs +1 -0
- package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-BacH0ZYK.js} +258 -252
- package/dist/vue-ui-chestnut-Cw8LKuZG.cjs +6 -0
- package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-CMKSCQ-v.js} +2 -2
- package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-D2kQNFWy.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-9PYl4mWC.js} +2 -2
- package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BHwlhK33.cjs} +1 -1
- package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-2yacgzrJ.cjs} +1 -1
- package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-CyTjq_oN.js} +2 -2
- package/dist/vue-ui-donut-BNv1eGiu.cjs +1 -0
- package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-BxLlCBhU.js} +402 -396
- package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Bw9hfwuO.js} +320 -314
- package/dist/vue-ui-donut-evolution-DGjHfyq8.cjs +1 -0
- package/dist/vue-ui-dumbbell-CjHcgzti.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-D0PjpD19.js} +267 -261
- package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-BuTJcn6b.js} +174 -168
- package/dist/vue-ui-flow-Dc-KV4a3.cjs +1 -0
- package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-CxO1aav3.js} +190 -184
- package/dist/vue-ui-funnel-QQGqK4OD.cjs +1 -0
- package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-B2uwYVgz.js} +199 -193
- package/dist/vue-ui-galaxy-CABgAX76.cjs +1 -0
- package/dist/vue-ui-gauge-CTEPbzWe.cjs +1 -0
- package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-CqhJx__t.js} +213 -207
- package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-D7G-8Al-.js} +3 -3
- package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-DlQOItIS.cjs} +1 -1
- package/dist/vue-ui-heatmap-BOwY6qNR.cjs +1 -0
- package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-DLNzJh--.js} +291 -285
- package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-CH2mN74k.js} +258 -252
- package/dist/vue-ui-history-plot-EiYWpITj.cjs +1 -0
- package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-Cb3fLQlS.js} +3 -3
- package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-DB00TrXv.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-Czn2u6m3.js} +2 -2
- package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-DAaZwOTE.cjs} +1 -1
- package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-BAwzIU19.js} +300 -295
- package/dist/vue-ui-molecule-DZ6Z4eru.cjs +1 -0
- package/dist/vue-ui-mood-radar-BL3vQzMq.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DXj4Ce6l.js → vue-ui-mood-radar-BXOWHB57.js} +202 -196
- package/dist/vue-ui-nested-donuts-D1EF5IEw.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-F1pwFa1Y.js} +298 -292
- package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-C9dEaRbc.js} +214 -208
- package/dist/vue-ui-onion-nA8sXxh-.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-Cgc8JHMy.js} +260 -254
- package/dist/vue-ui-parallel-coordinate-plot-DL4DOhyh.cjs +8 -0
- package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-C_hJHr9T.js} +278 -272
- package/dist/vue-ui-quadrant-DJGxKeBq.cjs +1 -0
- package/dist/vue-ui-quick-chart-C5v_8Kpw.cjs +15 -0
- package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-D4k-zSan.js} +474 -466
- package/dist/vue-ui-radar-BeGVGueh.cjs +1 -0
- package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-WKQ-TavD.js} +265 -259
- package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-BrSnMkzF.js} +2 -2
- package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-DI3L8UYN.cjs} +1 -1
- package/dist/vue-ui-relation-circle-BJ_TOhIp.cjs +1 -0
- package/dist/vue-ui-relation-circle-DzZ5H4og.js +498 -0
- package/dist/vue-ui-rings-1qwg2E0O.cjs +2 -0
- package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-43dY-4_7.js} +206 -201
- package/dist/vue-ui-scatter-cTK10i0K.cjs +1 -0
- package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-q6Sfqa4W.js} +330 -324
- package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-CEy169Mc.js} +1 -1
- package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot-gOGGT_ti.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-BTN1PKkz.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-BhA2lIT6.js} +3 -3
- package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-BAFdctGJ.js} +2 -2
- package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-BIEXWWWa.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-Deg6oJxD.js} +5 -5
- package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-LqnAP3mZ.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-CJR8pSqp.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-Dm393iij.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-DpP1XF6C.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-WTo7H8eC.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-CEvdVaLZ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-DNVBeCU9.js} +5 -5
- package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-B87AKRMY.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-Bcn_JAfC.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-Cmafq74u.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-DPPTp1Tm.js} +5 -5
- package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BeXW23yH.js} +382 -376
- package/dist/vue-ui-stackbar-DeFiDh8a.cjs +6 -0
- package/dist/vue-ui-strip-plot-5n6Om5PH.cjs +1 -0
- package/dist/{vue-ui-strip-plot-BfWQMGXy.js → vue-ui-strip-plot-CG-wp65N.js} +261 -255
- package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-Bbfdq7B8.cjs} +1 -1
- package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-BzuWkWse.js} +1 -1
- package/dist/vue-ui-table-heatmap--Uj5nFcF.cjs +1 -0
- package/dist/vue-ui-table-heatmap-obAYC2HB.js +262 -0
- package/dist/vue-ui-table-sparkline-Buh41Ovt.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-CW0-ubzl.js} +288 -236
- package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-BmgPuIr6.js} +187 -181
- package/dist/vue-ui-thermometer-DW10BlzG.cjs +1 -0
- package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-6eWSNYld.js} +5 -5
- package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-CKp_yNVJ.cjs} +1 -1
- package/dist/vue-ui-tiremarks-DeEI5TAa.js +323 -0
- package/dist/vue-ui-tiremarks-nb8r7akm.cjs +1 -0
- package/dist/vue-ui-treemap-B54QUZ46.cjs +1 -0
- package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-tlPZye6M.js} +261 -255
- package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-BIst1a32.js} +251 -245
- package/dist/vue-ui-vertical-bar-CCXF79YU.cjs +4 -0
- package/dist/vue-ui-waffle-Dctw-uNI.cjs +1 -0
- package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-iJT4g4Ht.js} +333 -327
- package/dist/vue-ui-wheel-DnCpgZZo.cjs +1 -0
- package/dist/vue-ui-wheel-v1_jsNWp.js +305 -0
- package/dist/vue-ui-word-cloud-BXa6XzUJ.cjs +1 -0
- package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-DR8E1ArH.js} +247 -241
- package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-BZ3lbw6i.js} +708 -697
- package/dist/vue-ui-xy-CvFWhRR-.cjs +3 -0
- package/dist/vue-ui-xy-canvas-BVw3zOIC.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-hPcU2SBK.js} +344 -338
- package/package.json +1 -1
- package/dist/index-DoD-GxZR.cjs +0 -9
- package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
- package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
- package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
- package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
- package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
- package/dist/vue-ui-carousel-table-I1m4HMWf.js +0 -373
- package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
- package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
- package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
- package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
- package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
- package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
- package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
- package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
- package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
- package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
- package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
- package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
- package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
- package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
- package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
- package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
- package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
- package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
- package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
- package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
- package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
- package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
- package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
- package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
- package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
- package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
- package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
- package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
- package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
- package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
- package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
- package/dist/vue-ui-wheel-D3itrMku.js +0 -299
- package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
- package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
- package/dist/vue-ui-xy-canvas-uikeVe72.cjs +0 -9
|
@@ -1,40 +1,41 @@
|
|
|
1
|
-
import { computed as T, ref as S, watch 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
|
-
import { P as
|
|
11
|
-
import {
|
|
12
|
-
|
|
1
|
+
import { computed as T, ref as S, watch as Ue, onMounted as Ee, openBlock as n, createElementBlock as i, normalizeClass as Pe, normalizeStyle as D, unref as d, createBlock as G, createCommentVNode as y, createSlots as He, withCtx as N, renderSlot as j, normalizeProps as Z, guardReactiveProps as q, createVNode as Ze, createElementVNode as u, Fragment as _, renderList as m, toDisplayString as P, createTextVNode as qe, nextTick as Xe, pushScopeId as Re, popScopeId as Ye } from "vue";
|
|
2
|
+
import { u as Je, c as Se, t as Ke, a as Qe, p as Q, b as et, d as tt, o as lt, e as ee, g as de, l as U, m as je, f as z, X as ot, s as g, h as te, i as le, j as Te, k as I, n as oe, q as st, r as at } from "./index-K5uyh1gA.js";
|
|
3
|
+
import { _ as nt } from "./Title-aMb2ETf7.js";
|
|
4
|
+
import { u as rt, U as ut } from "./usePrinter-p_ZZlGc9.js";
|
|
5
|
+
import it from "./vue-ui-skeleton-BhA2lIT6.js";
|
|
6
|
+
import { D as dt } from "./DataTable-COkA4Nyz.js";
|
|
7
|
+
import ct from "./vue-ui-accordion-CsJT7Az3.js";
|
|
8
|
+
import { u as ze } from "./useNestedProp-DifqJZAs.js";
|
|
9
|
+
import { _ as ht } from "./PackageVersion-Dz3KcTL4.js";
|
|
10
|
+
import { P as vt } from "./PenAndPaper-BycdTwSP.js";
|
|
11
|
+
import { u as ft } from "./useUserOptionState-BIvW1Kz7.js";
|
|
12
|
+
import { _ as pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const se = (E) => (Re("data-v-43bee409"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
13
14
|
key: 1,
|
|
14
15
|
style: "width:100%;background:transparent"
|
|
15
|
-
},
|
|
16
|
+
}, gt = ["xmlns", "viewBox"], $t = ["id"], _t = ["stop-color"], mt = ["stop-color"], bt = ["id"], xt = ["stop-color"], wt = ["stop-color"], Ct = ["id"], Ft = ["stop-color"], Mt = ["stop-color"], Pt = ["id"], St = ["stop-color"], jt = ["stop-color"], Tt = ["stop-color"], zt = { key: 0 }, Dt = ["id"], Nt = ["stop-color"], Ot = ["stop-color"], Bt = ["id"], It = ["stop-color"], At = ["stop-color"], Lt = ["id"], Vt = ["stop-color"], Wt = ["stop-color"], Gt = ["id"], Ut = /* @__PURE__ */ se(() => /* @__PURE__ */ u("stop", {
|
|
16
17
|
offset: "0%",
|
|
17
18
|
"stop-color": "#FFFFFF"
|
|
18
|
-
}, null, -1)),
|
|
19
|
+
}, null, -1)), Et = /* @__PURE__ */ se(() => /* @__PURE__ */ u("stop", {
|
|
19
20
|
offset: "100%",
|
|
20
21
|
"stop-color": "#FFFFFF33"
|
|
21
|
-
}, null, -1)),
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
],
|
|
22
|
+
}, null, -1)), Ht = [
|
|
23
|
+
Ut,
|
|
24
|
+
Et
|
|
25
|
+
], Zt = ["x", "y", "font-size", "font-weight", "fill"], qt = ["x", "y"], Xt = ["d", "stroke"], Rt = ["d", "stroke"], Yt = { key: 3 }, Jt = { key: 0 }, Kt = ["stroke-dasharray", "d", "stroke", "stroke-width"], Qt = ["stroke-dasharray", "d", "stroke", "stroke-width"], el = ["stroke-dasharray", "d", "stroke", "stroke-width"], tl = ["stroke-dasharray", "d", "stroke", "stroke-width"], ll = { key: 1 }, ol = ["d", "stroke", "stroke-width", "fill"], sl = ["d", "stroke", "stroke-width", "fill"], al = ["d", "stroke", "stroke-width", "fill"], nl = { key: 2 }, rl = ["d", "fill", "onMouseenter", "onClick"], ul = ["d", "fill", "onMouseenter", "onClick"], il = ["d", "fill", "onMouseenter", "onClick"], dl = ["d", "onMouseenter", "onClick"], cl = ["d"], hl = ["d", "stroke"], vl = ["onClick"], fl = ["stroke", "d"], pl = ["cx", "cy", "fill", "stroke"], yl = ["x", "y", "width", "height"], kl = { key: 1 }, gl = ["d", "stroke"], $l = ["d", "fill", "stroke"], _l = ["id"], ml = ["stop-color"], bl = /* @__PURE__ */ se(() => /* @__PURE__ */ u("stop", {
|
|
25
26
|
offset: "77%",
|
|
26
27
|
"stop-color": "#FFFFFF20"
|
|
27
|
-
}, null, -1)),
|
|
28
|
+
}, null, -1)), xl = ["stop-color"], wl = ["cx", "cy", "fill"], Cl = ["cx", "cy", "fill"], Fl = { key: 0 }, Ml = ["text-anchor", "x", "y", "fill", "font-size"], Pl = ["text-anchor", "x", "y", "fill", "font-size"], Sl = { key: 2 }, jl = ["d", "fill", "stroke"], Tl = { key: 4 }, zl = { key: 0 }, Dl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Nl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ol = ["stroke-dasharray", "d", "stroke", "stroke-width"], Bl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Il = ["d", "stroke", "stroke-width", "fill"], Al = ["d", "stroke", "stroke-width", "fill"], Ll = { key: 1 }, Vl = ["onClick"], Wl = ["id"], Gl = ["stop-color"], Ul = ["stop-color"], El = ["id"], Hl = ["stop-color"], Zl = ["stop-color"], ql = ["stop-color"], Xl = ["stop-color"], Rl = ["stop-color"], Yl = ["onMouseenter", "onClick", "d", "fill"], Jl = ["onMouseenter", "onClick", "d"], Kl = ["onMouseenter", "onClick", "d", "fill"], Ql = ["onClick"], eo = ["stroke", "d"], to = ["cx", "cy", "fill", "stroke"], lo = ["x", "y", "width", "height"], oo = { key: 1 }, so = ["d", "stroke"], ao = ["d", "fill", "stroke"], no = ["id"], ro = ["stop-color"], uo = /* @__PURE__ */ se(() => /* @__PURE__ */ u("stop", {
|
|
28
29
|
offset: "77%",
|
|
29
30
|
"stop-color": "#FFFFFF20"
|
|
30
|
-
}, null, -1)),
|
|
31
|
+
}, null, -1)), io = ["stop-color"], co = ["cx", "cy", "fill"], ho = ["cx", "cy", "fill"], vo = { key: 0 }, fo = ["text-anchor", "x", "y", "fill", "font-size"], po = ["text-anchor", "x", "y", "fill", "font-size"], yo = { key: 2 }, ko = ["d", "fill", "stroke"], go = {
|
|
31
32
|
key: 4,
|
|
32
33
|
class: "vue-data-ui-watermark"
|
|
33
|
-
},
|
|
34
|
+
}, $o = {
|
|
34
35
|
key: 6,
|
|
35
36
|
ref: "source",
|
|
36
37
|
dir: "auto"
|
|
37
|
-
},
|
|
38
|
+
}, _o = ["innerHTML"], mo = {
|
|
38
39
|
__name: "vue-ui-3d-bar",
|
|
39
40
|
props: {
|
|
40
41
|
config: {
|
|
@@ -51,31 +52,31 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
51
52
|
}
|
|
52
53
|
},
|
|
53
54
|
emits: ["selectDatapoint"],
|
|
54
|
-
setup(E, { expose:
|
|
55
|
-
const $ = E, { vue_ui_3d_bar:
|
|
56
|
-
get: () =>
|
|
55
|
+
setup(E, { expose: De, emit: X }) {
|
|
56
|
+
const $ = E, { vue_ui_3d_bar: Ne } = Je(), R = T(() => !!$.dataset && Object.keys($.dataset).length), b = S(Se()), Oe = S(null), ae = S(null), A = S(!1), ce = S(0), he = S(0), t = T({
|
|
57
|
+
get: () => pe(),
|
|
57
58
|
set: (a) => a
|
|
58
|
-
});
|
|
59
|
-
function
|
|
60
|
-
const a =
|
|
59
|
+
}), { userOptionsVisible: ne, setUserOptionsVisibility: ve, keepUserOptionState: fe } = ft({ config: t.value });
|
|
60
|
+
function pe() {
|
|
61
|
+
const a = ze({
|
|
61
62
|
userConfig: $.config,
|
|
62
|
-
defaultConfig:
|
|
63
|
+
defaultConfig: Ne
|
|
63
64
|
});
|
|
64
65
|
return a.theme ? {
|
|
65
|
-
...
|
|
66
|
-
userConfig:
|
|
66
|
+
...ze({
|
|
67
|
+
userConfig: Ke.vue_ui_3d_bar[a.theme] || $.config,
|
|
67
68
|
defaultConfig: a
|
|
68
69
|
}),
|
|
69
|
-
customPalette:
|
|
70
|
+
customPalette: Qe[a.theme] || Q
|
|
70
71
|
} : a;
|
|
71
72
|
}
|
|
72
|
-
|
|
73
|
-
t.value =
|
|
73
|
+
Ue(() => $.config, (a) => {
|
|
74
|
+
t.value = pe(), ne.value = !t.value.showOnChartHover, _e(), ce.value += 1, he.value += 1;
|
|
74
75
|
}, { deep: !0 });
|
|
75
|
-
const { isPrinting:
|
|
76
|
-
elementId: `3d_bar_${
|
|
76
|
+
const { isPrinting: ye, isImaging: ke, generatePdf: ge, generateImage: $e } = rt({
|
|
77
|
+
elementId: `3d_bar_${b.value}`,
|
|
77
78
|
fileName: t.value.style.chart.title.text || "vue-ui-3d-bar"
|
|
78
|
-
}),
|
|
79
|
+
}), Be = T(() => et(t.value.customPalette)), Y = S({
|
|
79
80
|
showTable: t.value.table.show
|
|
80
81
|
}), F = T(() => $.dataset.series && $.dataset.series.length), o = T(() => ({
|
|
81
82
|
height: t.value.style.chart.box.dimensions.height,
|
|
@@ -90,21 +91,21 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
90
91
|
if (F.value) {
|
|
91
92
|
const a = $.dataset.series.map((l) => l.value || 0).reduce((l, r) => l + r, 0), s = $.dataset.series.map((l, r) => ({
|
|
92
93
|
...l,
|
|
93
|
-
id:
|
|
94
|
+
id: Se(),
|
|
94
95
|
proportion: (l.value || 0) / a,
|
|
95
|
-
color:
|
|
96
|
-
breakdown: l.breakdown ? l.breakdown.sort((
|
|
96
|
+
color: tt(l.color) || Be.value[r] || Q[r] || Q[r % Q.length],
|
|
97
|
+
breakdown: l.breakdown ? l.breakdown.sort((c, k) => k.value - c.value) : null
|
|
97
98
|
})).sort((l, r) => r.value - l.value), e = [];
|
|
98
99
|
let h = 0;
|
|
99
100
|
for (let l = 0; l < s.length; l += 1)
|
|
100
101
|
e.push({
|
|
101
102
|
...s[l],
|
|
102
|
-
fill:
|
|
103
|
+
fill: Ie(h, s[l].proportion, s[l].breakdown, s[l].color)
|
|
103
104
|
}), h += s[l].proportion;
|
|
104
105
|
return e;
|
|
105
106
|
}
|
|
106
107
|
return null;
|
|
107
|
-
}),
|
|
108
|
+
}), O = T(() => ({
|
|
108
109
|
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}`,
|
|
109
110
|
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}`,
|
|
110
111
|
side: `M${o.value.width / 2},${o.value.height - o.value.bottom} ${o.value.width / 2},${o.value.top + o.value.perspective * 2}`,
|
|
@@ -113,21 +114,21 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
113
114
|
tubeLeft: `M${o.value.left},${o.value.top + o.value.perspective} ${o.value.left},${o.value.height - o.value.bottom - o.value.perspective}`,
|
|
114
115
|
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}`,
|
|
115
116
|
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}`
|
|
116
|
-
})),
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
})), V = S(t.value.style.chart.animation.use ? 0 : $.dataset.percentage);
|
|
118
|
+
Ee(() => {
|
|
119
|
+
_e();
|
|
119
120
|
let a = 0, s = t.value.style.chart.animation.speed, e = 5e-3 * t.value.style.chart.animation.acceleration;
|
|
120
121
|
function h() {
|
|
121
|
-
|
|
122
|
+
V.value += s + a, a += e, V.value < $.dataset.percentage ? requestAnimationFrame(h) : V.value = $.dataset.percentage;
|
|
122
123
|
}
|
|
123
|
-
t.value.style.chart.animation.use && (
|
|
124
|
+
t.value.style.chart.animation.use && (V.value = 0, h());
|
|
124
125
|
});
|
|
125
|
-
function
|
|
126
|
-
|
|
126
|
+
function _e() {
|
|
127
|
+
lt($.dataset) ? ee({
|
|
127
128
|
componentName: "VueUi3dBar",
|
|
128
129
|
type: "dataset"
|
|
129
130
|
}) : $.dataset.series ? $.dataset.series.forEach((a, s) => {
|
|
130
|
-
|
|
131
|
+
de({
|
|
131
132
|
datasetObject: a,
|
|
132
133
|
requiredAttributes: ["name", "value"]
|
|
133
134
|
}).forEach((e) => {
|
|
@@ -138,7 +139,7 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
138
139
|
index: s
|
|
139
140
|
});
|
|
140
141
|
}), a.breakdown && a.breakdown.forEach((e, h) => {
|
|
141
|
-
|
|
142
|
+
de({
|
|
142
143
|
datasetObject: e,
|
|
143
144
|
requiredAttributes: ["name", "value"]
|
|
144
145
|
}).forEach((l) => {
|
|
@@ -150,7 +151,7 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
150
151
|
});
|
|
151
152
|
});
|
|
152
153
|
});
|
|
153
|
-
}) :
|
|
154
|
+
}) : de({
|
|
154
155
|
datasetObject: $.dataset,
|
|
155
156
|
requiredAttributes: ["percentage"]
|
|
156
157
|
}).forEach((a) => {
|
|
@@ -161,17 +162,17 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
161
162
|
});
|
|
162
163
|
});
|
|
163
164
|
}
|
|
164
|
-
function
|
|
165
|
-
const l = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: r, height:
|
|
166
|
-
let
|
|
167
|
-
return
|
|
168
|
-
...
|
|
169
|
-
value:
|
|
170
|
-
color: U(h,
|
|
171
|
-
})),
|
|
165
|
+
function Ie(a, s, e, h) {
|
|
166
|
+
const l = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: r, height: c, bottom: k, right: w, left: f, perspective: p } = o.value, v = k + l * a, ie = c - v - p - l * s / 2, Ve = ie > o.value.height / 2 ? "top" : "bottom", we = 64, We = !!e;
|
|
167
|
+
let Ce = null, Fe = null;
|
|
168
|
+
return We && (e = e.map((Me, Ge) => ({
|
|
169
|
+
...Me,
|
|
170
|
+
value: Me.value || 0,
|
|
171
|
+
color: U(h, Ge / e.length)
|
|
172
|
+
})), Ce = je(
|
|
172
173
|
{ series: e },
|
|
173
174
|
r + o.value.absoluteWidth / 4 - 14,
|
|
174
|
-
|
|
175
|
+
Ve === "top" ? ie - we : ie + we,
|
|
175
176
|
28,
|
|
176
177
|
28,
|
|
177
178
|
1.99999,
|
|
@@ -180,10 +181,10 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
180
181
|
360,
|
|
181
182
|
105.25,
|
|
182
183
|
14
|
|
183
|
-
),
|
|
184
|
+
), Fe = je(
|
|
184
185
|
{ series: e },
|
|
185
186
|
r - w + 20,
|
|
186
|
-
|
|
187
|
+
c - v - p - l * s / 2,
|
|
187
188
|
6,
|
|
188
189
|
6,
|
|
189
190
|
1.99999,
|
|
@@ -193,72 +194,72 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
193
194
|
105.25,
|
|
194
195
|
6
|
|
195
196
|
)), {
|
|
196
|
-
donut:
|
|
197
|
-
miniDonut:
|
|
197
|
+
donut: Ce,
|
|
198
|
+
miniDonut: Fe,
|
|
198
199
|
sidePointer: {
|
|
199
200
|
x: r - w,
|
|
200
|
-
y:
|
|
201
|
-
topY:
|
|
201
|
+
y: c - v - p - l * s / 2,
|
|
202
|
+
topY: c - v - p - l * s,
|
|
202
203
|
height: l * s
|
|
203
204
|
},
|
|
204
|
-
apexBottom: { y:
|
|
205
|
-
apexTop: { y:
|
|
206
|
-
right: `M${r / 2},${
|
|
207
|
-
left: `M${r / 2},${
|
|
208
|
-
liningTop: `M${f},${
|
|
209
|
-
liningTopShade: `M${f},${
|
|
210
|
-
top: `M${r / 2},${
|
|
211
|
-
tubeTop: `M${f},${
|
|
212
|
-
bottomTubeTop: `M ${r - w - 0.5},${
|
|
205
|
+
apexBottom: { y: c - v, x: r / 2 },
|
|
206
|
+
apexTop: { y: c - v - l * s, x: r / 2 },
|
|
207
|
+
right: `M${r / 2},${c - v} ${r / 2},${c - v - l * s} ${r - w},${c - v - p - l * s} ${r - w},${c - v - p}Z`,
|
|
208
|
+
left: `M${r / 2},${c - v} ${r / 2},${c - v - l * s} ${f}, ${c - v - p - l * s} ${f},${c - v - p}Z`,
|
|
209
|
+
liningTop: `M${f},${c - v - p - l * s} ${r / 2},${c - v - l * s} ${r - w},${c - v - p - l * s}`,
|
|
210
|
+
liningTopShade: `M${f},${c - v - p - l * s - 0.5} ${r / 2},${c - v - l * s - 0.5} ${r - w},${c - v - p - l * s - 0.5}`,
|
|
211
|
+
top: `M${r / 2},${c - v - l * s} ${f},${c - v - p - l * s} ${r / 2},${c - v - p * 2 - l * s} ${r - w},${c - v - p - l * s} Z`,
|
|
212
|
+
tubeTop: `M${f},${c - v - l * s - p} C ${f},${c - v - l * s - p * 2.5} ${r - w},${c - v - l * s - p * 2.5} ${r - w},${c - v - l * s - p} C ${r - w},${c - v - l * s + p / 2} ${f},${c - v - l * s + p / 2} ${f},${c - v - l * s - p}`,
|
|
213
|
+
bottomTubeTop: `M ${r - w - 0.5},${c - v - p} C ${r - w - 0.5},${c - v + p / 2} ${f},${c - v + p / 2} ${f + 0.5},${c - v - p}`,
|
|
213
214
|
tubeBody: `M
|
|
214
|
-
${f},${
|
|
215
|
-
C ${f},${
|
|
216
|
-
${r - w},${
|
|
217
|
-
${r - w},${
|
|
218
|
-
L${r - w},${
|
|
215
|
+
${f},${c - v - l * s - p}
|
|
216
|
+
C ${f},${c - v - l * s + p / 2}
|
|
217
|
+
${r - w},${c - v - l * s + p / 2}
|
|
218
|
+
${r - w},${c - v - l * s - p}
|
|
219
|
+
L${r - w},${c - v - p}
|
|
219
220
|
C
|
|
220
|
-
${r - w},${
|
|
221
|
-
${f},${
|
|
222
|
-
${f},${
|
|
221
|
+
${r - w},${c - v + p / 2}
|
|
222
|
+
${f},${c - v + p / 2}
|
|
223
|
+
${f},${c - v - p}Z`
|
|
223
224
|
};
|
|
224
225
|
}
|
|
225
226
|
const H = T(() => {
|
|
226
|
-
const a =
|
|
227
|
+
const a = V.value / 100, s = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: e, height: h, bottom: l, right: r, left: c, perspective: k } = o.value, f = l + s * 0;
|
|
227
228
|
return {
|
|
228
229
|
right: `M${e / 2},${h - f} ${e / 2},${h - f - s * a} ${e - r},${h - f - k - s * a} ${e - r},${h - f - k}Z`,
|
|
229
|
-
left: `M${e / 2},${h - f} ${e / 2},${h - f - s * a} ${
|
|
230
|
-
top: `M${e / 2},${h - f - s * a} ${
|
|
231
|
-
tubeTop: `M${
|
|
230
|
+
left: `M${e / 2},${h - f} ${e / 2},${h - f - s * a} ${c}, ${h - f - k - s * a} ${c},${h - f - k}Z`,
|
|
231
|
+
top: `M${e / 2},${h - f - s * a} ${c},${h - f - k - s * a} ${e / 2},${h - f - k * 2 - s * a} ${e - r},${h - f - k - s * a} Z`,
|
|
232
|
+
tubeTop: `M${c},${h - f - s * a - k} C ${c},${h - f - s * a - k * 2.5} ${e - r},${h - f - s * a - k * 2.5} ${e - r},${h - f - s * a - k} C ${e - r},${h - f - s * a + k / 2} ${c},${h - f - s * a + k / 2} ${c},${h - f - s * a - k}`,
|
|
232
233
|
tubeBody: `M
|
|
233
|
-
${
|
|
234
|
-
C ${
|
|
234
|
+
${c},${h - f - s * a - k}
|
|
235
|
+
C ${c},${h - f - s * a + k / 2}
|
|
235
236
|
${e - r},${h - f - s * a + k / 2}
|
|
236
237
|
${e - r},${h - f - s * a - k}
|
|
237
238
|
L${e - r},${h - k * 1.5}
|
|
238
239
|
C
|
|
239
240
|
${e - r},${h}
|
|
240
|
-
${
|
|
241
|
-
${
|
|
241
|
+
${c},${h}
|
|
242
|
+
${c},${h - f - k}Z`
|
|
242
243
|
};
|
|
243
|
-
}),
|
|
244
|
+
}), x = S(null);
|
|
244
245
|
function M(a, s = !1) {
|
|
245
|
-
X("selectDatapoint", a), s || (
|
|
246
|
+
X("selectDatapoint", a), s || (x.value = a.id), s && A.value && (A.value = !1), s && !A.value && (A.value = !0);
|
|
246
247
|
}
|
|
247
248
|
function L() {
|
|
248
|
-
A.value || (
|
|
249
|
+
A.value || (x.value = null);
|
|
249
250
|
}
|
|
250
|
-
function
|
|
251
|
-
const h = $.dataset.series.map((
|
|
251
|
+
function W(a, s, e = !1) {
|
|
252
|
+
const h = $.dataset.series.map((c) => c.value || 0).reduce((c, k) => c + k, 0), l = isNaN(a.value / h) ? 0 : a.value / h * 100, r = isNaN(a.value / me(s)) ? 0 : a.value / me(s) * 100;
|
|
252
253
|
return e ? r : l.toFixed(0) + "%";
|
|
253
254
|
}
|
|
254
|
-
function
|
|
255
|
+
function me(a) {
|
|
255
256
|
return [...a].map((s) => s.value).reduce((s, e) => s + e, 0);
|
|
256
257
|
}
|
|
257
|
-
const
|
|
258
|
-
function
|
|
259
|
-
|
|
258
|
+
const re = S(!1);
|
|
259
|
+
function Ae(a) {
|
|
260
|
+
re.value = a;
|
|
260
261
|
}
|
|
261
|
-
function
|
|
262
|
+
function Le() {
|
|
262
263
|
return F.value ? C.value : $.dataset.percentage;
|
|
263
264
|
}
|
|
264
265
|
const B = T(() => {
|
|
@@ -274,33 +275,33 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
274
275
|
} else
|
|
275
276
|
return null;
|
|
276
277
|
});
|
|
277
|
-
function
|
|
278
|
+
function be() {
|
|
278
279
|
if (!F.value) {
|
|
279
280
|
console.warn("VueUi3dBar : CSV download is only available in stack mode (providing dataset.series instead of dataset.percentage)");
|
|
280
281
|
return;
|
|
281
282
|
}
|
|
282
|
-
|
|
283
|
+
Xe(() => {
|
|
283
284
|
const a = C.value.map((l) => l.value).reduce((l, r) => l + r, 0), s = B.value.head.map((l, r) => [[
|
|
284
285
|
l.name
|
|
285
|
-
], [B.value.body[r]], [isNaN(B.value.body[r] / a) ? "-" : B.value.body[r] / a * 100]]), e = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(s), h =
|
|
286
|
-
|
|
286
|
+
], [B.value.body[r]], [isNaN(B.value.body[r] / a) ? "-" : B.value.body[r] / a * 100]]), e = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(s), h = st(e);
|
|
287
|
+
at({ csvContent: h, title: t.value.style.chart.title.text || "vue-ui-3d-bar" });
|
|
287
288
|
});
|
|
288
289
|
}
|
|
289
290
|
const J = T(() => {
|
|
290
|
-
const a = C.value.map((r) => r.value).reduce((r,
|
|
291
|
+
const a = C.value.map((r) => r.value).reduce((r, c) => r + c, 0), s = [
|
|
291
292
|
' <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>',
|
|
292
293
|
z({ p: t.value.style.chart.legend.prefix, v: a, s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue }),
|
|
293
294
|
"100%"
|
|
294
|
-
], e = B.value.head.map((r,
|
|
295
|
-
const k = z({ p: t.value.style.chart.legend.prefix, v: B.value.body[
|
|
295
|
+
], e = B.value.head.map((r, c) => {
|
|
296
|
+
const k = z({ p: t.value.style.chart.legend.prefix, v: B.value.body[c], s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue });
|
|
296
297
|
return [
|
|
297
298
|
{
|
|
298
299
|
color: r.color,
|
|
299
300
|
name: r.name
|
|
300
301
|
},
|
|
301
302
|
k,
|
|
302
|
-
isNaN(B.value.body[
|
|
303
|
-
v: B.value.body[
|
|
303
|
+
isNaN(B.value.body[c] / a) ? "-" : z({
|
|
304
|
+
v: B.value.body[c] / a * 100,
|
|
304
305
|
s: "%",
|
|
305
306
|
r: t.value.table.td.roundingPercentage
|
|
306
307
|
})
|
|
@@ -330,38 +331,40 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
330
331
|
config: h
|
|
331
332
|
};
|
|
332
333
|
});
|
|
333
|
-
function
|
|
334
|
+
function xe() {
|
|
334
335
|
Y.value.showTable = !Y.value.showTable;
|
|
335
336
|
}
|
|
336
337
|
const K = S(!1);
|
|
337
|
-
function
|
|
338
|
+
function ue() {
|
|
338
339
|
K.value = !K.value;
|
|
339
340
|
}
|
|
340
|
-
return
|
|
341
|
-
generateCsv:
|
|
342
|
-
generatePdf:
|
|
343
|
-
generateImage:
|
|
344
|
-
getData:
|
|
345
|
-
toggleTable:
|
|
346
|
-
toggleAnnotator:
|
|
341
|
+
return De({
|
|
342
|
+
generateCsv: be,
|
|
343
|
+
generatePdf: ge,
|
|
344
|
+
generateImage: $e,
|
|
345
|
+
getData: Le,
|
|
346
|
+
toggleTable: xe,
|
|
347
|
+
toggleAnnotator: ue
|
|
347
348
|
}), (a, s) => (n(), i("div", {
|
|
348
349
|
ref_key: "bar3dChart",
|
|
349
350
|
ref: ae,
|
|
350
|
-
class:
|
|
351
|
-
style:
|
|
352
|
-
id: `3d_bar_${
|
|
351
|
+
class: Pe("vue-ui-3d-bar"),
|
|
352
|
+
style: D(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),
|
|
353
|
+
id: `3d_bar_${b.value}`,
|
|
354
|
+
onMouseenter: s[2] || (s[2] = () => d(ve)(!0)),
|
|
355
|
+
onMouseleave: s[3] || (s[3] = () => d(ve)(!1))
|
|
353
356
|
}, [
|
|
354
|
-
t.value.userOptions.buttons.annotator ? (n(),
|
|
357
|
+
t.value.userOptions.buttons.annotator ? (n(), G(vt, {
|
|
355
358
|
key: 0,
|
|
356
359
|
parent: ae.value,
|
|
357
360
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
358
361
|
color: t.value.style.chart.color,
|
|
359
362
|
active: K.value,
|
|
360
|
-
onClose:
|
|
363
|
+
onClose: ue
|
|
361
364
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
|
|
362
|
-
t.value.style.chart.title.text ? (n(), i("div",
|
|
363
|
-
(n(),
|
|
364
|
-
key: `title_${
|
|
365
|
+
t.value.style.chart.title.text ? (n(), i("div", kt, [
|
|
366
|
+
(n(), G(nt, {
|
|
367
|
+
key: `title_${ce.value}`,
|
|
365
368
|
config: {
|
|
366
369
|
title: {
|
|
367
370
|
cy: "3dBar-div-title",
|
|
@@ -374,15 +377,15 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
374
377
|
}
|
|
375
378
|
}, null, 8, ["config"]))
|
|
376
379
|
])) : y("", !0),
|
|
377
|
-
t.value.userOptions.show && R.value ? (n(),
|
|
380
|
+
t.value.userOptions.show && R.value && (d(fe) || d(ne)) ? (n(), G(ut, {
|
|
378
381
|
key: 2,
|
|
379
382
|
ref_key: "details",
|
|
380
|
-
ref:
|
|
383
|
+
ref: Oe,
|
|
381
384
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
382
385
|
color: t.value.style.chart.color,
|
|
383
|
-
isPrinting:
|
|
384
|
-
isImaging:
|
|
385
|
-
uid:
|
|
386
|
+
isPrinting: d(ye),
|
|
387
|
+
isImaging: d(ke),
|
|
388
|
+
uid: b.value,
|
|
386
389
|
hasPdf: t.value.userOptions.buttons.pdf,
|
|
387
390
|
hasTable: !!F.value && t.value.userOptions.buttons.table,
|
|
388
391
|
hasXls: !!F.value && t.value.userOptions.buttons.csv,
|
|
@@ -393,103 +396,106 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
393
396
|
position: t.value.userOptions.position,
|
|
394
397
|
hasAnnotator: t.value.userOptions.buttons.annotator,
|
|
395
398
|
isAnnotation: K.value,
|
|
396
|
-
onToggleFullscreen:
|
|
397
|
-
onGeneratePdf:
|
|
398
|
-
onGenerateCsv:
|
|
399
|
-
onGenerateImage:
|
|
400
|
-
onToggleTable:
|
|
401
|
-
onToggleAnnotator:
|
|
402
|
-
|
|
399
|
+
onToggleFullscreen: Ae,
|
|
400
|
+
onGeneratePdf: d(ge),
|
|
401
|
+
onGenerateCsv: be,
|
|
402
|
+
onGenerateImage: d($e),
|
|
403
|
+
onToggleTable: xe,
|
|
404
|
+
onToggleAnnotator: ue,
|
|
405
|
+
style: D({
|
|
406
|
+
visibility: d(fe) ? d(ne) ? "visible" : "hidden" : "visible"
|
|
407
|
+
})
|
|
408
|
+
}, He({ _: 2 }, [
|
|
403
409
|
a.$slots.optionPdf ? {
|
|
404
410
|
name: "optionPdf",
|
|
405
|
-
fn:
|
|
411
|
+
fn: N(() => [
|
|
406
412
|
j(a.$slots, "optionPdf", {}, void 0, !0)
|
|
407
413
|
]),
|
|
408
414
|
key: "0"
|
|
409
415
|
} : void 0,
|
|
410
416
|
a.$slots.optionCsv ? {
|
|
411
417
|
name: "optionCsv",
|
|
412
|
-
fn:
|
|
418
|
+
fn: N(() => [
|
|
413
419
|
j(a.$slots, "optionCsv", {}, void 0, !0)
|
|
414
420
|
]),
|
|
415
421
|
key: "1"
|
|
416
422
|
} : void 0,
|
|
417
423
|
a.$slots.optionImg ? {
|
|
418
424
|
name: "optionImg",
|
|
419
|
-
fn:
|
|
425
|
+
fn: N(() => [
|
|
420
426
|
j(a.$slots, "optionImg", {}, void 0, !0)
|
|
421
427
|
]),
|
|
422
428
|
key: "2"
|
|
423
429
|
} : void 0,
|
|
424
430
|
a.$slots.optionTable ? {
|
|
425
431
|
name: "optionTable",
|
|
426
|
-
fn:
|
|
432
|
+
fn: N(() => [
|
|
427
433
|
j(a.$slots, "optionTable", {}, void 0, !0)
|
|
428
434
|
]),
|
|
429
435
|
key: "3"
|
|
430
436
|
} : void 0,
|
|
431
437
|
a.$slots.optionFullscreen ? {
|
|
432
438
|
name: "optionFullscreen",
|
|
433
|
-
fn:
|
|
439
|
+
fn: N(({ toggleFullscreen: e, isFullscreen: h }) => [
|
|
434
440
|
j(a.$slots, "optionFullscreen", Z(q({ toggleFullscreen: e, isFullscreen: h })), void 0, !0)
|
|
435
441
|
]),
|
|
436
442
|
key: "4"
|
|
437
443
|
} : void 0,
|
|
438
444
|
a.$slots.optionAnnotator ? {
|
|
439
445
|
name: "optionAnnotator",
|
|
440
|
-
fn:
|
|
446
|
+
fn: N(({ toggleAnnotator: e, isAnnotator: h }) => [
|
|
441
447
|
j(a.$slots, "optionAnnotator", Z(q({ toggleAnnotator: e, isAnnotator: h })), void 0, !0)
|
|
442
448
|
]),
|
|
443
449
|
key: "5"
|
|
444
450
|
} : void 0
|
|
445
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
|
|
451
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
446
452
|
R.value ? (n(), i("svg", {
|
|
447
453
|
key: 3,
|
|
448
|
-
xmlns:
|
|
449
|
-
class:
|
|
454
|
+
xmlns: d(ot),
|
|
455
|
+
class: Pe({ "vue-data-ui-fullscreen--on": re.value, "vue-data-ui-fulscreen--off": !re.value }),
|
|
450
456
|
viewBox: `0 0 ${o.value.absoluteWidth} ${o.value.height}`,
|
|
451
|
-
style:
|
|
457
|
+
style: D(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)
|
|
452
458
|
}, [
|
|
453
|
-
|
|
459
|
+
Ze(ht),
|
|
454
460
|
u("defs", null, [
|
|
455
461
|
u("radialGradient", {
|
|
456
|
-
id: `gradient_top${
|
|
462
|
+
id: `gradient_top${b.value}`
|
|
457
463
|
}, [
|
|
458
464
|
u("stop", {
|
|
459
465
|
offset: "0%",
|
|
460
|
-
"stop-color":
|
|
461
|
-
}, null, 8,
|
|
466
|
+
"stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
|
|
467
|
+
}, null, 8, _t),
|
|
462
468
|
u("stop", {
|
|
463
469
|
offset: "100%",
|
|
464
470
|
"stop-color": t.value.style.chart.bar.color
|
|
465
|
-
}, null, 8,
|
|
466
|
-
], 8,
|
|
471
|
+
}, null, 8, mt)
|
|
472
|
+
], 8, $t),
|
|
467
473
|
u("radialGradient", {
|
|
468
|
-
id: `gradient_left${
|
|
474
|
+
id: `gradient_left${b.value}`
|
|
469
475
|
}, [
|
|
470
476
|
u("stop", {
|
|
471
477
|
offset: "0%",
|
|
472
|
-
"stop-color":
|
|
473
|
-
}, null, 8,
|
|
478
|
+
"stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
|
|
479
|
+
}, null, 8, xt),
|
|
474
480
|
u("stop", {
|
|
475
481
|
offset: "100%",
|
|
476
|
-
"stop-color":
|
|
477
|
-
}, null, 8,
|
|
478
|
-
], 8,
|
|
482
|
+
"stop-color": d(g)(t.value.style.chart.bar.color, 20)
|
|
483
|
+
}, null, 8, wt)
|
|
484
|
+
], 8, bt),
|
|
479
485
|
u("radialGradient", {
|
|
480
|
-
id: `gradient_right${
|
|
486
|
+
id: `gradient_right${b.value}`
|
|
481
487
|
}, [
|
|
482
488
|
u("stop", {
|
|
483
489
|
offset: "0%",
|
|
484
|
-
"stop-color":
|
|
485
|
-
}, null, 8,
|
|
490
|
+
"stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
|
|
491
|
+
}, null, 8, Ft),
|
|
486
492
|
u("stop", {
|
|
487
493
|
offset: "100%",
|
|
488
|
-
"stop-color":
|
|
489
|
-
}, null, 8,
|
|
490
|
-
], 8,
|
|
494
|
+
"stop-color": d(g)(t.value.style.chart.bar.color, 20)
|
|
495
|
+
}, null, 8, Mt)
|
|
496
|
+
], 8, Ct),
|
|
491
497
|
u("linearGradient", {
|
|
492
|
-
id: `gradient_tube_body${
|
|
498
|
+
id: `gradient_tube_body${b.value}`,
|
|
493
499
|
x1: "0%",
|
|
494
500
|
y1: "0%",
|
|
495
501
|
x2: "100%",
|
|
@@ -498,61 +504,61 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
498
504
|
u("stop", {
|
|
499
505
|
offset: "0%",
|
|
500
506
|
"stop-color": `${t.value.style.chart.bar.color}`
|
|
501
|
-
}, null, 8,
|
|
507
|
+
}, null, 8, St),
|
|
502
508
|
u("stop", {
|
|
503
509
|
offset: "75%",
|
|
504
|
-
"stop-color":
|
|
505
|
-
}, null, 8,
|
|
510
|
+
"stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
|
|
511
|
+
}, null, 8, jt),
|
|
506
512
|
u("stop", {
|
|
507
513
|
offset: "100%",
|
|
508
|
-
"stop-color":
|
|
509
|
-
}, null, 8,
|
|
510
|
-
], 8,
|
|
514
|
+
"stop-color": d(g)(t.value.style.chart.bar.color, 40)
|
|
515
|
+
}, null, 8, Tt)
|
|
516
|
+
], 8, Pt)
|
|
511
517
|
]),
|
|
512
|
-
F.value ? (n(), i("defs",
|
|
518
|
+
F.value ? (n(), i("defs", zt, [
|
|
513
519
|
(n(!0), i(_, null, m(C.value, (e) => (n(), i("radialGradient", {
|
|
514
520
|
id: `grad_top_${e.id}`
|
|
515
521
|
}, [
|
|
516
522
|
u("stop", {
|
|
517
523
|
offset: "0%",
|
|
518
|
-
"stop-color":
|
|
519
|
-
}, null, 8,
|
|
524
|
+
"stop-color": d(g)(d(U)(e.color, 0.5), 80)
|
|
525
|
+
}, null, 8, Nt),
|
|
520
526
|
u("stop", {
|
|
521
527
|
offset: "100%",
|
|
522
528
|
"stop-color": e.color
|
|
523
|
-
}, null, 8,
|
|
524
|
-
], 8,
|
|
529
|
+
}, null, 8, Ot)
|
|
530
|
+
], 8, Dt))), 256)),
|
|
525
531
|
(n(!0), i(_, null, m(C.value, (e) => (n(), i("linearGradient", {
|
|
526
532
|
id: `grad_left_${e.id}`
|
|
527
533
|
}, [
|
|
528
534
|
u("stop", {
|
|
529
535
|
offset: "0%",
|
|
530
|
-
"stop-color":
|
|
531
|
-
}, null, 8,
|
|
536
|
+
"stop-color": d(g)(e.color, 80)
|
|
537
|
+
}, null, 8, It),
|
|
532
538
|
u("stop", {
|
|
533
539
|
offset: "100%",
|
|
534
|
-
"stop-color":
|
|
535
|
-
}, null, 8,
|
|
536
|
-
], 8,
|
|
540
|
+
"stop-color": d(g)(d(te)(e.color, 0.5), 100)
|
|
541
|
+
}, null, 8, At)
|
|
542
|
+
], 8, Bt))), 256)),
|
|
537
543
|
(n(!0), i(_, null, m(C.value, (e) => (n(), i("linearGradient", {
|
|
538
544
|
id: `grad_right_${e.id}`
|
|
539
545
|
}, [
|
|
540
546
|
u("stop", {
|
|
541
547
|
offset: "2%",
|
|
542
|
-
"stop-color":
|
|
543
|
-
}, null, 8,
|
|
548
|
+
"stop-color": d(g)(d(U)(e.color, 0.5), 100)
|
|
549
|
+
}, null, 8, Vt),
|
|
544
550
|
u("stop", {
|
|
545
551
|
offset: "100%",
|
|
546
|
-
"stop-color":
|
|
547
|
-
}, null, 8,
|
|
548
|
-
], 8,
|
|
552
|
+
"stop-color": d(g)(e.color, 80)
|
|
553
|
+
}, null, 8, Wt)
|
|
554
|
+
], 8, Lt))), 256)),
|
|
549
555
|
u("linearGradient", {
|
|
550
556
|
x1: "0%",
|
|
551
557
|
y1: "0%",
|
|
552
558
|
x2: "0%",
|
|
553
559
|
y2: "100%",
|
|
554
|
-
id: `vertical_line_${
|
|
555
|
-
},
|
|
560
|
+
id: `vertical_line_${b.value}`
|
|
561
|
+
}, Ht, 8, Gt)
|
|
556
562
|
])) : y("", !0),
|
|
557
563
|
t.value.style.chart.dataLabel.show && ![null, void 0].includes($.dataset.percentage) && [null, void 0].includes($.dataset.series) ? (n(), i("text", {
|
|
558
564
|
key: 1,
|
|
@@ -562,15 +568,15 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
562
568
|
"font-weight": t.value.style.chart.dataLabel.bold ? "bold" : "normal",
|
|
563
569
|
fill: t.value.style.chart.dataLabel.color,
|
|
564
570
|
"text-anchor": "middle"
|
|
565
|
-
}, P(
|
|
566
|
-
v:
|
|
571
|
+
}, P(d(z)({
|
|
572
|
+
v: V.value,
|
|
567
573
|
s: "%",
|
|
568
574
|
r: t.value.style.chart.dataLabel.rounding
|
|
569
|
-
})), 9,
|
|
575
|
+
})), 9, Zt)) : y("", !0),
|
|
570
576
|
A.value ? (n(), i("g", {
|
|
571
577
|
key: 2,
|
|
572
578
|
onClick: s[0] || (s[0] = (e) => {
|
|
573
|
-
A.value = !1,
|
|
579
|
+
A.value = !1, x.value = null;
|
|
574
580
|
}),
|
|
575
581
|
"data-html2canvas-ignore": "",
|
|
576
582
|
style: { cursor: "pointer" }
|
|
@@ -581,88 +587,88 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
581
587
|
height: 12,
|
|
582
588
|
width: 12,
|
|
583
589
|
fill: "transparent"
|
|
584
|
-
}, null, 8,
|
|
590
|
+
}, null, 8, qt),
|
|
585
591
|
u("path", {
|
|
586
592
|
d: `M${o.value.width / 2 - 6},${o.value.top - 20} ${o.value.width / 2 + 6},${o.value.top - 9}`,
|
|
587
593
|
stroke: t.value.style.chart.color,
|
|
588
594
|
"stroke-linecap": "round",
|
|
589
595
|
"stroke-width": "1"
|
|
590
|
-
}, null, 8,
|
|
596
|
+
}, null, 8, Xt),
|
|
591
597
|
u("path", {
|
|
592
598
|
d: `M${o.value.width / 2 + 6},${o.value.top - 20} ${o.value.width / 2 - 6},${o.value.top - 9}`,
|
|
593
599
|
stroke: t.value.style.chart.color,
|
|
594
600
|
"stroke-linecap": "round",
|
|
595
601
|
"stroke-width": "1"
|
|
596
|
-
}, null, 8,
|
|
602
|
+
}, null, 8, Rt)
|
|
597
603
|
])) : y("", !0),
|
|
598
|
-
!t.value.style.shape || t.value.style.shape === "bar" ? (n(), i("g",
|
|
599
|
-
F.value ? y("", !0) : (n(), i("g",
|
|
604
|
+
!t.value.style.shape || t.value.style.shape === "bar" ? (n(), i("g", Yt, [
|
|
605
|
+
F.value ? y("", !0) : (n(), i("g", Jt, [
|
|
600
606
|
u("path", {
|
|
601
607
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
602
|
-
d:
|
|
608
|
+
d: O.value.right,
|
|
603
609
|
stroke: t.value.style.chart.box.stroke,
|
|
604
610
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
605
611
|
"stroke-linejoin": "round",
|
|
606
612
|
"stroke-linecap": "round",
|
|
607
613
|
fill: "none"
|
|
608
|
-
}, null, 8,
|
|
614
|
+
}, null, 8, Kt),
|
|
609
615
|
u("path", {
|
|
610
616
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
611
|
-
d:
|
|
617
|
+
d: O.value.left,
|
|
612
618
|
stroke: t.value.style.chart.box.stroke,
|
|
613
619
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
614
620
|
"stroke-linejoin": "round",
|
|
615
621
|
"stroke-linecap": "round",
|
|
616
622
|
fill: "none"
|
|
617
|
-
}, null, 8,
|
|
623
|
+
}, null, 8, Qt),
|
|
618
624
|
u("path", {
|
|
619
625
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
620
|
-
d:
|
|
626
|
+
d: O.value.side,
|
|
621
627
|
stroke: t.value.style.chart.box.stroke,
|
|
622
628
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
623
629
|
"stroke-linejoin": "round",
|
|
624
630
|
"stroke-linecap": "round",
|
|
625
631
|
fill: "none"
|
|
626
|
-
}, null, 8,
|
|
632
|
+
}, null, 8, el),
|
|
627
633
|
u("path", {
|
|
628
634
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
629
|
-
d:
|
|
635
|
+
d: O.value.topSides,
|
|
630
636
|
stroke: t.value.style.chart.box.stroke,
|
|
631
637
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
632
638
|
"stroke-linejoin": "round",
|
|
633
639
|
"stroke-linecap": "round",
|
|
634
640
|
fill: "none"
|
|
635
|
-
}, null, 8,
|
|
641
|
+
}, null, 8, tl)
|
|
636
642
|
])),
|
|
637
|
-
F.value ? y("", !0) : (n(), i("g",
|
|
643
|
+
F.value ? y("", !0) : (n(), i("g", ll, [
|
|
638
644
|
u("path", {
|
|
639
645
|
d: H.value.right,
|
|
640
646
|
stroke: t.value.style.chart.bar.stroke,
|
|
641
647
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
642
648
|
"stroke-linejoin": "round",
|
|
643
649
|
"stroke-linecap": "round",
|
|
644
|
-
fill: `url(#gradient_right${
|
|
645
|
-
}, null, 8,
|
|
650
|
+
fill: `url(#gradient_right${b.value})`
|
|
651
|
+
}, null, 8, ol),
|
|
646
652
|
u("path", {
|
|
647
653
|
d: H.value.left,
|
|
648
654
|
stroke: t.value.style.chart.bar.stroke,
|
|
649
655
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
650
656
|
"stroke-linejoin": "round",
|
|
651
657
|
"stroke-linecap": "round",
|
|
652
|
-
fill: `url(#gradient_left${
|
|
653
|
-
}, null, 8,
|
|
658
|
+
fill: `url(#gradient_left${b.value})`
|
|
659
|
+
}, null, 8, sl),
|
|
654
660
|
u("path", {
|
|
655
661
|
d: H.value.top,
|
|
656
662
|
stroke: t.value.style.chart.bar.stroke,
|
|
657
663
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
658
664
|
"stroke-linejoin": "round",
|
|
659
665
|
"stroke-linecap": "round",
|
|
660
|
-
fill: `url(#gradient_top${
|
|
661
|
-
}, null, 8,
|
|
666
|
+
fill: `url(#gradient_top${b.value})`
|
|
667
|
+
}, null, 8, al)
|
|
662
668
|
])),
|
|
663
|
-
F.value ? (n(), i("g",
|
|
669
|
+
F.value ? (n(), i("g", nl, [
|
|
664
670
|
(n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
|
|
665
|
-
style:
|
|
671
|
+
style: D(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
|
|
666
672
|
class: "vue-ui-3d-bar-stack"
|
|
667
673
|
}, [
|
|
668
674
|
u("path", {
|
|
@@ -671,21 +677,21 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
671
677
|
onMouseenter: (l) => M(e),
|
|
672
678
|
onClick: (l) => M(e, !0),
|
|
673
679
|
onMouseout: L
|
|
674
|
-
}, null, 40,
|
|
680
|
+
}, null, 40, rl),
|
|
675
681
|
u("path", {
|
|
676
682
|
d: e.fill.left,
|
|
677
683
|
fill: `url(#grad_left_${e.id})`,
|
|
678
684
|
onMouseenter: (l) => M(e),
|
|
679
685
|
onClick: (l) => M(e, !0),
|
|
680
686
|
onMouseout: L
|
|
681
|
-
}, null, 40,
|
|
687
|
+
}, null, 40, ul),
|
|
682
688
|
u("path", {
|
|
683
689
|
d: e.fill.top,
|
|
684
690
|
fill: `url(#grad_top_${e.id})`,
|
|
685
691
|
onMouseenter: (l) => M(e),
|
|
686
692
|
onClick: (l) => M(e, !0),
|
|
687
693
|
onMouseout: L
|
|
688
|
-
}, null, 40,
|
|
694
|
+
}, null, 40, il),
|
|
689
695
|
u("path", {
|
|
690
696
|
d: e.fill.liningTop,
|
|
691
697
|
stroke: "#FFFFFF",
|
|
@@ -695,13 +701,13 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
695
701
|
onMouseenter: (l) => M(e),
|
|
696
702
|
onClick: (l) => M(e, !0),
|
|
697
703
|
onMouseout: L
|
|
698
|
-
}, null, 40,
|
|
704
|
+
}, null, 40, dl),
|
|
699
705
|
u("path", {
|
|
700
706
|
d: `M ${e.fill.apexTop.x},${e.fill.apexTop.y} ${e.fill.apexBottom.x},${e.fill.apexBottom.y}`,
|
|
701
707
|
stroke: "#FFFFFF",
|
|
702
708
|
"stroke-width": "0.5",
|
|
703
709
|
"stroke-linecap": "round"
|
|
704
|
-
}, null, 8,
|
|
710
|
+
}, null, 8, cl)
|
|
705
711
|
], 4))), 256)),
|
|
706
712
|
(n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", null, [
|
|
707
713
|
h !== C.value.length - 1 ? (n(), i("path", {
|
|
@@ -712,10 +718,10 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
712
718
|
"stroke-linecap": "round",
|
|
713
719
|
fill: "none",
|
|
714
720
|
style: { "pointer-events": "none" }
|
|
715
|
-
}, null, 8,
|
|
721
|
+
}, null, 8, hl)) : y("", !0)
|
|
716
722
|
]))), 256)),
|
|
717
723
|
(n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
|
|
718
|
-
style:
|
|
724
|
+
style: D(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
|
|
719
725
|
onClick: (l) => X("selectDatapoint", e)
|
|
720
726
|
}, [
|
|
721
727
|
u("path", {
|
|
@@ -724,15 +730,15 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
724
730
|
"stroke-width": "0.5",
|
|
725
731
|
"stroke-linecap": "round",
|
|
726
732
|
d: `M${e.fill.sidePointer.x},${e.fill.sidePointer.y} ${e.fill.sidePointer.x + 20},${e.fill.sidePointer.y}`
|
|
727
|
-
}, null, 8,
|
|
728
|
-
!e.fill.miniDonut ||
|
|
733
|
+
}, null, 8, fl),
|
|
734
|
+
!e.fill.miniDonut || x.value ? (n(), i("circle", {
|
|
729
735
|
key: 0,
|
|
730
736
|
cx: e.fill.sidePointer.x + 20,
|
|
731
737
|
cy: e.fill.sidePointer.y,
|
|
732
738
|
r: 2,
|
|
733
739
|
fill: e.color,
|
|
734
740
|
stroke: t.value.style.chart.backgroundColor
|
|
735
|
-
}, null, 8,
|
|
741
|
+
}, null, 8, pl)) : y("", !0),
|
|
736
742
|
(n(), i("foreignObject", {
|
|
737
743
|
x: e.fill.sidePointer.x + 30,
|
|
738
744
|
y: e.fill.sidePointer.y - t.value.style.chart.legend.fontSize,
|
|
@@ -742,11 +748,11 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
742
748
|
}, [
|
|
743
749
|
t.value.style.chart.legend.showDefault ? (n(), i("div", {
|
|
744
750
|
key: 0,
|
|
745
|
-
style:
|
|
746
|
-
}, P(e.name) + ": " + P(
|
|
751
|
+
style: D(`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}`)
|
|
752
|
+
}, P(e.name) + ": " + P(d(z)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })) + " (" + P(d(le)(
|
|
747
753
|
t.value.style.chart.dataLabel.formatter,
|
|
748
754
|
e.value,
|
|
749
|
-
|
|
755
|
+
d(z)({
|
|
750
756
|
p: t.value.style.chart.legend.prefix,
|
|
751
757
|
v: e.value,
|
|
752
758
|
s: t.value.style.chart.legend.suffix,
|
|
@@ -755,19 +761,19 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
755
761
|
{ datapoint: e, seriesIndex: h }
|
|
756
762
|
)) + ") ", 5)) : y("", !0),
|
|
757
763
|
j(a.$slots, "legend", Z(q({ datapoint: e, config: t.value, dataset: C.value })), void 0, !0)
|
|
758
|
-
], 8,
|
|
759
|
-
e.fill.donut &&
|
|
764
|
+
], 8, yl)),
|
|
765
|
+
e.fill.donut && x.value === e.id ? (n(), i("g", kl, [
|
|
760
766
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("g", null, [
|
|
761
|
-
|
|
767
|
+
W(l, e.fill.donut, !0) > 6 ? (n(), i("path", {
|
|
762
768
|
key: 0,
|
|
763
|
-
d:
|
|
769
|
+
d: d(Te)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 10),
|
|
764
770
|
stroke: l.color,
|
|
765
771
|
class: "vue-ui-donut-arc-path",
|
|
766
772
|
"stroke-width": "0.5",
|
|
767
773
|
"stroke-linecap": "round",
|
|
768
774
|
"stroke-linejoin": "round",
|
|
769
775
|
fill: "none"
|
|
770
|
-
}, null, 8,
|
|
776
|
+
}, null, 8, gl)) : y("", !0)
|
|
771
777
|
]))), 256)),
|
|
772
778
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("path", {
|
|
773
779
|
class: "vue-ui-donut-arc-path",
|
|
@@ -775,135 +781,135 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
775
781
|
fill: `${l.color}`,
|
|
776
782
|
stroke: t.value.style.chart.backgroundColor,
|
|
777
783
|
"stroke-width": 1
|
|
778
|
-
}, null, 8,
|
|
784
|
+
}, null, 8, $l))), 256)),
|
|
779
785
|
u("defs", null, [
|
|
780
786
|
u("radialGradient", {
|
|
781
|
-
id: `hollow_gradient_${
|
|
787
|
+
id: `hollow_gradient_${b.value}`
|
|
782
788
|
}, [
|
|
783
789
|
u("stop", {
|
|
784
790
|
offset: "0%",
|
|
785
|
-
"stop-color":
|
|
786
|
-
}, null, 8,
|
|
787
|
-
|
|
791
|
+
"stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
|
|
792
|
+
}, null, 8, ml),
|
|
793
|
+
bl,
|
|
788
794
|
u("stop", {
|
|
789
795
|
offset: "100%",
|
|
790
|
-
"stop-color":
|
|
791
|
-
}, null, 8,
|
|
792
|
-
], 8,
|
|
796
|
+
"stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
|
|
797
|
+
}, null, 8, xl)
|
|
798
|
+
], 8, _l)
|
|
793
799
|
]),
|
|
794
800
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("circle", {
|
|
795
801
|
class: "vue-ui-donut-arc-path",
|
|
796
802
|
cx: l.cx,
|
|
797
803
|
cy: l.cy,
|
|
798
804
|
r: 28,
|
|
799
|
-
fill: `url(#hollow_gradient_${
|
|
800
|
-
}, null, 8,
|
|
805
|
+
fill: `url(#hollow_gradient_${b.value})`
|
|
806
|
+
}, null, 8, wl))), 256)),
|
|
801
807
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("circle", {
|
|
802
808
|
class: "vue-ui-donut-arc-path",
|
|
803
809
|
cx: l.cx,
|
|
804
810
|
cy: l.cy,
|
|
805
811
|
r: 14,
|
|
806
812
|
fill: t.value.style.chart.backgroundColor
|
|
807
|
-
}, null, 8,
|
|
813
|
+
}, null, 8, Cl))), 256)),
|
|
808
814
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("g", null, [
|
|
809
|
-
|
|
815
|
+
W(l, e.fill.donut, !0) > 6 ? (n(), i("g", Fl, [
|
|
810
816
|
u("text", {
|
|
811
|
-
"text-anchor":
|
|
812
|
-
x:
|
|
813
|
-
y:
|
|
817
|
+
"text-anchor": d(I)(l, !0, 0).anchor,
|
|
818
|
+
x: d(I)(l, !0, 2).x,
|
|
819
|
+
y: d(oe)(l, 12, 12),
|
|
814
820
|
fill: t.value.style.chart.legend.color,
|
|
815
821
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
816
|
-
}, P(
|
|
822
|
+
}, P(W(l, e.fill.donut)) + " (" + P(d(le)(
|
|
817
823
|
t.value.style.chart.dataLabel.formatter,
|
|
818
824
|
l.value,
|
|
819
|
-
|
|
825
|
+
d(z)({
|
|
820
826
|
p: t.value.style.chart.legend.prefix,
|
|
821
827
|
v: l.value,
|
|
822
828
|
s: t.value.style.chart.legend.suffix,
|
|
823
829
|
r: t.value.style.chart.legend.roundingValue
|
|
824
830
|
}),
|
|
825
831
|
{ datapoint: l, seriesIndex: r }
|
|
826
|
-
)) + ") ", 9,
|
|
832
|
+
)) + ") ", 9, Ml),
|
|
827
833
|
u("text", {
|
|
828
|
-
"text-anchor":
|
|
829
|
-
x:
|
|
830
|
-
y:
|
|
834
|
+
"text-anchor": d(I)(l).anchor,
|
|
835
|
+
x: d(I)(l, !0, 2).x,
|
|
836
|
+
y: d(oe)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
|
|
831
837
|
fill: t.value.style.chart.legend.color,
|
|
832
838
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
833
|
-
}, P(l.name), 9,
|
|
839
|
+
}, P(l.name), 9, Pl)
|
|
834
840
|
])) : y("", !0)
|
|
835
841
|
]))), 256))
|
|
836
842
|
])) : y("", !0),
|
|
837
|
-
e.fill.miniDonut && !
|
|
843
|
+
e.fill.miniDonut && !x.value ? (n(), i("g", Sl, [
|
|
838
844
|
(n(!0), i(_, null, m(e.fill.miniDonut, (l, r) => (n(), i("path", {
|
|
839
845
|
class: "vue-ui-donut-arc-path",
|
|
840
846
|
d: l.arcSlice,
|
|
841
847
|
fill: `${l.color}`,
|
|
842
848
|
stroke: t.value.style.chart.backgroundColor,
|
|
843
849
|
"stroke-width": 0.5
|
|
844
|
-
}, null, 8,
|
|
850
|
+
}, null, 8, jl))), 256))
|
|
845
851
|
])) : y("", !0)
|
|
846
|
-
], 12,
|
|
852
|
+
], 12, vl))), 256))
|
|
847
853
|
])) : y("", !0)
|
|
848
854
|
])) : y("", !0),
|
|
849
|
-
t.value.style.shape === "tube" ? (n(), i("g",
|
|
850
|
-
F.value ? y("", !0) : (n(), i("g",
|
|
855
|
+
t.value.style.shape === "tube" ? (n(), i("g", Tl, [
|
|
856
|
+
F.value ? y("", !0) : (n(), i("g", zl, [
|
|
851
857
|
u("path", {
|
|
852
858
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
853
|
-
d:
|
|
859
|
+
d: O.value.tubeTop,
|
|
854
860
|
stroke: t.value.style.chart.box.stroke,
|
|
855
861
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
856
862
|
"stroke-linejoin": "round",
|
|
857
863
|
"stroke-linecap": "round",
|
|
858
864
|
fill: "none"
|
|
859
|
-
}, null, 8,
|
|
865
|
+
}, null, 8, Dl),
|
|
860
866
|
u("path", {
|
|
861
867
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
862
|
-
d:
|
|
868
|
+
d: O.value.tubeLeft,
|
|
863
869
|
stroke: t.value.style.chart.box.stroke,
|
|
864
870
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
865
871
|
"stroke-linejoin": "round",
|
|
866
872
|
"stroke-linecap": "round",
|
|
867
873
|
fill: "none"
|
|
868
|
-
}, null, 8,
|
|
874
|
+
}, null, 8, Nl),
|
|
869
875
|
u("path", {
|
|
870
876
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
871
|
-
d:
|
|
877
|
+
d: O.value.tubeRight,
|
|
872
878
|
stroke: t.value.style.chart.box.stroke,
|
|
873
879
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
874
880
|
"stroke-linejoin": "round",
|
|
875
881
|
"stroke-linecap": "round",
|
|
876
882
|
fill: "none"
|
|
877
|
-
}, null, 8,
|
|
883
|
+
}, null, 8, Ol),
|
|
878
884
|
u("path", {
|
|
879
885
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
880
|
-
d:
|
|
886
|
+
d: O.value.tubeBottom,
|
|
881
887
|
stroke: t.value.style.chart.box.stroke,
|
|
882
888
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
883
889
|
"stroke-linejoin": "round",
|
|
884
890
|
"stroke-linecap": "round",
|
|
885
891
|
fill: "none"
|
|
886
|
-
}, null, 8,
|
|
892
|
+
}, null, 8, Bl),
|
|
887
893
|
u("path", {
|
|
888
894
|
d: H.value.tubeTop,
|
|
889
895
|
stroke: t.value.style.chart.bar.stroke,
|
|
890
896
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
891
897
|
"stroke-linejoin": "round",
|
|
892
898
|
"stroke-linecap": "round",
|
|
893
|
-
fill: `url(#gradient_top${
|
|
894
|
-
}, null, 8,
|
|
899
|
+
fill: `url(#gradient_top${b.value})`
|
|
900
|
+
}, null, 8, Il),
|
|
895
901
|
u("path", {
|
|
896
902
|
d: H.value.tubeBody,
|
|
897
903
|
stroke: t.value.style.chart.bar.stroke,
|
|
898
904
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
899
905
|
"stroke-linejoin": "round",
|
|
900
906
|
"stroke-linecap": "round",
|
|
901
|
-
fill: `url(#gradient_tube_body${
|
|
902
|
-
}, null, 8,
|
|
907
|
+
fill: `url(#gradient_tube_body${b.value})`
|
|
908
|
+
}, null, 8, Al)
|
|
903
909
|
])),
|
|
904
|
-
F.value ? (n(), i("g",
|
|
910
|
+
F.value ? (n(), i("g", Ll, [
|
|
905
911
|
(n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
|
|
906
|
-
style:
|
|
912
|
+
style: D(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
|
|
907
913
|
class: "vue-ui-3d-bar-stack",
|
|
908
914
|
onClick: (l) => X("selectDatapoint", e)
|
|
909
915
|
}, [
|
|
@@ -915,13 +921,13 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
915
921
|
}, [
|
|
916
922
|
u("stop", {
|
|
917
923
|
offset: "0%",
|
|
918
|
-
"stop-color":
|
|
919
|
-
}, null, 8,
|
|
924
|
+
"stop-color": d(g)(d(U)(e.color, 0.5), 80)
|
|
925
|
+
}, null, 8, Gl),
|
|
920
926
|
u("stop", {
|
|
921
927
|
offset: "100%",
|
|
922
|
-
"stop-color":
|
|
923
|
-
}, null, 8,
|
|
924
|
-
], 8,
|
|
928
|
+
"stop-color": d(g)(d(te)(e.color, 0.1), 80)
|
|
929
|
+
}, null, 8, Ul)
|
|
930
|
+
], 8, Wl),
|
|
925
931
|
u("linearGradient", {
|
|
926
932
|
id: `gradient_tube_body_${e.id}`,
|
|
927
933
|
x1: "0%",
|
|
@@ -932,24 +938,24 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
932
938
|
u("stop", {
|
|
933
939
|
offset: "0%",
|
|
934
940
|
"stop-color": `${e.color}`
|
|
935
|
-
}, null, 8,
|
|
941
|
+
}, null, 8, Hl),
|
|
936
942
|
u("stop", {
|
|
937
943
|
offset: "10%",
|
|
938
|
-
"stop-color":
|
|
939
|
-
}, null, 8,
|
|
944
|
+
"stop-color": d(g)(d(te)(e.color, 0.7), 100)
|
|
945
|
+
}, null, 8, Zl),
|
|
940
946
|
u("stop", {
|
|
941
947
|
offset: "25%",
|
|
942
|
-
"stop-color":
|
|
943
|
-
}, null, 8,
|
|
948
|
+
"stop-color": d(g)(d(te)(e.color, 0.5), 100)
|
|
949
|
+
}, null, 8, ql),
|
|
944
950
|
u("stop", {
|
|
945
951
|
offset: "75%",
|
|
946
|
-
"stop-color":
|
|
947
|
-
}, null, 8,
|
|
952
|
+
"stop-color": d(g)(e.color, 80)
|
|
953
|
+
}, null, 8, Xl),
|
|
948
954
|
u("stop", {
|
|
949
955
|
offset: "100%",
|
|
950
|
-
"stop-color":
|
|
951
|
-
}, null, 8,
|
|
952
|
-
], 8,
|
|
956
|
+
"stop-color": d(g)(d(U)(e.color, 0.7), 100)
|
|
957
|
+
}, null, 8, Rl)
|
|
958
|
+
], 8, El)
|
|
953
959
|
]),
|
|
954
960
|
u("path", {
|
|
955
961
|
onMouseenter: (l) => M(e),
|
|
@@ -961,7 +967,7 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
961
967
|
"stroke-linejoin": "round",
|
|
962
968
|
"stroke-linecap": "round",
|
|
963
969
|
fill: `url(#gradient_tube_body_${e.id})`
|
|
964
|
-
}, null, 40,
|
|
970
|
+
}, null, 40, Yl),
|
|
965
971
|
h > 0 ? (n(), i("path", {
|
|
966
972
|
key: 0,
|
|
967
973
|
onMouseenter: (l) => M(e),
|
|
@@ -973,7 +979,7 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
973
979
|
"stroke-linejoin": "round",
|
|
974
980
|
"stroke-linecap": "round",
|
|
975
981
|
fill: "none"
|
|
976
|
-
}, null, 40,
|
|
982
|
+
}, null, 40, Jl)) : y("", !0),
|
|
977
983
|
u("path", {
|
|
978
984
|
onMouseenter: (l) => M(e),
|
|
979
985
|
onClick: (l) => M(e, !0),
|
|
@@ -984,10 +990,10 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
984
990
|
"stroke-linejoin": "round",
|
|
985
991
|
"stroke-linecap": "round",
|
|
986
992
|
fill: `url(#gradient_tube_top_${e.id})`
|
|
987
|
-
}, null, 40,
|
|
988
|
-
], 12,
|
|
993
|
+
}, null, 40, Kl)
|
|
994
|
+
], 12, Vl))), 256)),
|
|
989
995
|
(n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
|
|
990
|
-
style:
|
|
996
|
+
style: D(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
|
|
991
997
|
onClick: (l) => X("selectDatapoint", e)
|
|
992
998
|
}, [
|
|
993
999
|
u("path", {
|
|
@@ -996,15 +1002,15 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
996
1002
|
"stroke-width": "0.5",
|
|
997
1003
|
"stroke-linecap": "round",
|
|
998
1004
|
d: `M${e.fill.sidePointer.x},${e.fill.sidePointer.y} ${e.fill.sidePointer.x + 20},${e.fill.sidePointer.y}`
|
|
999
|
-
}, null, 8,
|
|
1000
|
-
!e.fill.miniDonut ||
|
|
1005
|
+
}, null, 8, eo),
|
|
1006
|
+
!e.fill.miniDonut || x.value ? (n(), i("circle", {
|
|
1001
1007
|
key: 0,
|
|
1002
1008
|
cx: e.fill.sidePointer.x + 20,
|
|
1003
1009
|
cy: e.fill.sidePointer.y,
|
|
1004
1010
|
r: 2,
|
|
1005
1011
|
fill: e.color,
|
|
1006
1012
|
stroke: t.value.style.chart.backgroundColor
|
|
1007
|
-
}, null, 8,
|
|
1013
|
+
}, null, 8, to)) : y("", !0),
|
|
1008
1014
|
(n(), i("foreignObject", {
|
|
1009
1015
|
x: e.fill.sidePointer.x + 30,
|
|
1010
1016
|
y: e.fill.sidePointer.y - t.value.style.chart.legend.fontSize,
|
|
@@ -1014,11 +1020,11 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
1014
1020
|
}, [
|
|
1015
1021
|
t.value.style.chart.legend.showDefault ? (n(), i("div", {
|
|
1016
1022
|
key: 0,
|
|
1017
|
-
style:
|
|
1018
|
-
}, P(e.name) + ": " + P(
|
|
1023
|
+
style: D(`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}`)
|
|
1024
|
+
}, P(e.name) + ": " + P(d(z)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })) + " (" + P(d(le)(
|
|
1019
1025
|
t.value.style.chart.dataLabel.formatter,
|
|
1020
1026
|
e.value,
|
|
1021
|
-
|
|
1027
|
+
d(z)({
|
|
1022
1028
|
p: t.value.style.chart.legend.prefix,
|
|
1023
1029
|
v: e.value,
|
|
1024
1030
|
s: t.value.style.chart.legend.suffix,
|
|
@@ -1027,19 +1033,19 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
1027
1033
|
{ datapoint: e, seriesIndex: h }
|
|
1028
1034
|
)) + ") ", 5)) : y("", !0),
|
|
1029
1035
|
j(a.$slots, "legend", Z(q({ datapoint: e, config: t.value, dataset: C.value })), void 0, !0)
|
|
1030
|
-
], 8,
|
|
1031
|
-
e.fill.donut &&
|
|
1036
|
+
], 8, lo)),
|
|
1037
|
+
e.fill.donut && x.value === e.id ? (n(), i("g", oo, [
|
|
1032
1038
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("g", null, [
|
|
1033
|
-
|
|
1039
|
+
W(l, e.fill.donut, !0) > 6 ? (n(), i("path", {
|
|
1034
1040
|
key: 0,
|
|
1035
|
-
d:
|
|
1041
|
+
d: d(Te)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 10),
|
|
1036
1042
|
stroke: l.color,
|
|
1037
1043
|
class: "vue-ui-donut-arc-path",
|
|
1038
1044
|
"stroke-width": "0.5",
|
|
1039
1045
|
"stroke-linecap": "round",
|
|
1040
1046
|
"stroke-linejoin": "round",
|
|
1041
1047
|
fill: "none"
|
|
1042
|
-
}, null, 8,
|
|
1048
|
+
}, null, 8, so)) : y("", !0)
|
|
1043
1049
|
]))), 256)),
|
|
1044
1050
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("path", {
|
|
1045
1051
|
class: "vue-ui-donut-arc-path",
|
|
@@ -1047,83 +1053,83 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
1047
1053
|
fill: `${l.color}`,
|
|
1048
1054
|
stroke: t.value.style.chart.backgroundColor,
|
|
1049
1055
|
"stroke-width": 1
|
|
1050
|
-
}, null, 8,
|
|
1056
|
+
}, null, 8, ao))), 256)),
|
|
1051
1057
|
u("defs", null, [
|
|
1052
1058
|
u("radialGradient", {
|
|
1053
|
-
id: `hollow_gradient_${
|
|
1059
|
+
id: `hollow_gradient_${b.value}`
|
|
1054
1060
|
}, [
|
|
1055
1061
|
u("stop", {
|
|
1056
1062
|
offset: "0%",
|
|
1057
|
-
"stop-color":
|
|
1058
|
-
}, null, 8,
|
|
1059
|
-
|
|
1063
|
+
"stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
|
|
1064
|
+
}, null, 8, ro),
|
|
1065
|
+
uo,
|
|
1060
1066
|
u("stop", {
|
|
1061
1067
|
offset: "100%",
|
|
1062
|
-
"stop-color":
|
|
1063
|
-
}, null, 8,
|
|
1064
|
-
], 8,
|
|
1068
|
+
"stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
|
|
1069
|
+
}, null, 8, io)
|
|
1070
|
+
], 8, no)
|
|
1065
1071
|
]),
|
|
1066
1072
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("circle", {
|
|
1067
1073
|
class: "vue-ui-donut-arc-path",
|
|
1068
1074
|
cx: l.cx,
|
|
1069
1075
|
cy: l.cy,
|
|
1070
1076
|
r: 28,
|
|
1071
|
-
fill: `url(#hollow_gradient_${
|
|
1072
|
-
}, null, 8,
|
|
1077
|
+
fill: `url(#hollow_gradient_${b.value})`
|
|
1078
|
+
}, null, 8, co))), 256)),
|
|
1073
1079
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("circle", {
|
|
1074
1080
|
class: "vue-ui-donut-arc-path",
|
|
1075
1081
|
cx: l.cx,
|
|
1076
1082
|
cy: l.cy,
|
|
1077
1083
|
r: 14,
|
|
1078
1084
|
fill: t.value.style.chart.backgroundColor
|
|
1079
|
-
}, null, 8,
|
|
1085
|
+
}, null, 8, ho))), 256)),
|
|
1080
1086
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("g", null, [
|
|
1081
|
-
|
|
1087
|
+
W(l, e.fill.donut, !0) > 6 ? (n(), i("g", vo, [
|
|
1082
1088
|
u("text", {
|
|
1083
|
-
"text-anchor":
|
|
1084
|
-
x:
|
|
1085
|
-
y:
|
|
1089
|
+
"text-anchor": d(I)(l, !0, 0).anchor,
|
|
1090
|
+
x: d(I)(l, !0, 2).x,
|
|
1091
|
+
y: d(oe)(l, 12, 12),
|
|
1086
1092
|
fill: t.value.style.chart.legend.color,
|
|
1087
1093
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
1088
|
-
}, P(
|
|
1094
|
+
}, P(W(l, e.fill.donut)) + " (" + P(d(le)(
|
|
1089
1095
|
t.value.style.chart.dataLabel.formatter,
|
|
1090
1096
|
l.value,
|
|
1091
|
-
|
|
1097
|
+
d(z)({
|
|
1092
1098
|
p: t.value.style.chart.legend.prefix,
|
|
1093
1099
|
v: l.value,
|
|
1094
1100
|
s: t.value.style.chart.legend.suffix,
|
|
1095
1101
|
r: t.value.style.chart.legend.roundingValue
|
|
1096
1102
|
}),
|
|
1097
1103
|
{ datapoint: l, seriesIndex: r }
|
|
1098
|
-
)) + ") ", 9,
|
|
1104
|
+
)) + ") ", 9, fo),
|
|
1099
1105
|
u("text", {
|
|
1100
|
-
"text-anchor":
|
|
1101
|
-
x:
|
|
1102
|
-
y:
|
|
1106
|
+
"text-anchor": d(I)(l).anchor,
|
|
1107
|
+
x: d(I)(l, !0, 2).x,
|
|
1108
|
+
y: d(oe)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
|
|
1103
1109
|
fill: t.value.style.chart.legend.color,
|
|
1104
1110
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
1105
|
-
}, P(l.name), 9,
|
|
1111
|
+
}, P(l.name), 9, po)
|
|
1106
1112
|
])) : y("", !0)
|
|
1107
1113
|
]))), 256))
|
|
1108
1114
|
])) : y("", !0),
|
|
1109
|
-
e.fill.miniDonut && !
|
|
1115
|
+
e.fill.miniDonut && !x.value ? (n(), i("g", yo, [
|
|
1110
1116
|
(n(!0), i(_, null, m(e.fill.miniDonut, (l, r) => (n(), i("path", {
|
|
1111
1117
|
class: "vue-ui-donut-arc-path",
|
|
1112
1118
|
d: l.arcSlice,
|
|
1113
1119
|
fill: `${l.color}`,
|
|
1114
1120
|
stroke: t.value.style.chart.backgroundColor,
|
|
1115
1121
|
"stroke-width": 0.5
|
|
1116
|
-
}, null, 8,
|
|
1122
|
+
}, null, 8, ko))), 256))
|
|
1117
1123
|
])) : y("", !0)
|
|
1118
|
-
], 12,
|
|
1124
|
+
], 12, Ql))), 256))
|
|
1119
1125
|
])) : y("", !0)
|
|
1120
1126
|
])) : y("", !0),
|
|
1121
1127
|
j(a.$slots, "svg", { svg: o.value }, void 0, !0)
|
|
1122
|
-
], 14,
|
|
1123
|
-
a.$slots.watermark ? (n(), i("div",
|
|
1124
|
-
j(a.$slots, "watermark", Z(q({ isPrinting:
|
|
1128
|
+
], 14, gt)) : y("", !0),
|
|
1129
|
+
a.$slots.watermark ? (n(), i("div", go, [
|
|
1130
|
+
j(a.$slots, "watermark", Z(q({ isPrinting: d(ye) || d(ke) })), void 0, !0)
|
|
1125
1131
|
])) : y("", !0),
|
|
1126
|
-
R.value ? y("", !0) : (n(),
|
|
1132
|
+
R.value ? y("", !0) : (n(), G(it, {
|
|
1127
1133
|
key: 5,
|
|
1128
1134
|
config: {
|
|
1129
1135
|
type: "bar3d",
|
|
@@ -1135,10 +1141,10 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
1135
1141
|
}
|
|
1136
1142
|
}
|
|
1137
1143
|
}, null, 8, ["config"])),
|
|
1138
|
-
a.$slots.source ? (n(), i("div",
|
|
1144
|
+
a.$slots.source ? (n(), i("div", $o, [
|
|
1139
1145
|
j(a.$slots, "source", {}, void 0, !0)
|
|
1140
1146
|
], 512)) : y("", !0),
|
|
1141
|
-
R.value && F.value ? (n(),
|
|
1147
|
+
R.value && F.value ? (n(), G(ct, {
|
|
1142
1148
|
key: 7,
|
|
1143
1149
|
hideDetails: "",
|
|
1144
1150
|
config: {
|
|
@@ -1154,9 +1160,9 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
1154
1160
|
}
|
|
1155
1161
|
}
|
|
1156
1162
|
}, {
|
|
1157
|
-
content:
|
|
1158
|
-
(n(),
|
|
1159
|
-
key: `table_${
|
|
1163
|
+
content: N(() => [
|
|
1164
|
+
(n(), G(dt, {
|
|
1165
|
+
key: `table_${he.value}`,
|
|
1160
1166
|
colNames: J.value.colNames,
|
|
1161
1167
|
head: J.value.head,
|
|
1162
1168
|
body: J.value.body,
|
|
@@ -1164,23 +1170,23 @@ const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
|
1164
1170
|
title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1165
1171
|
onClose: s[1] || (s[1] = (e) => Y.value.showTable = !1)
|
|
1166
1172
|
}, {
|
|
1167
|
-
th:
|
|
1173
|
+
th: N(({ th: e }) => [
|
|
1168
1174
|
u("div", {
|
|
1169
1175
|
innerHTML: e,
|
|
1170
1176
|
style: { display: "flex", "align-items": "center" }
|
|
1171
|
-
}, null, 8,
|
|
1177
|
+
}, null, 8, _o)
|
|
1172
1178
|
]),
|
|
1173
|
-
td:
|
|
1174
|
-
|
|
1179
|
+
td: N(({ td: e }) => [
|
|
1180
|
+
qe(P(e.name || e), 1)
|
|
1175
1181
|
]),
|
|
1176
1182
|
_: 1
|
|
1177
1183
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
1178
1184
|
]),
|
|
1179
1185
|
_: 1
|
|
1180
1186
|
}, 8, ["config"])) : y("", !0)
|
|
1181
|
-
],
|
|
1187
|
+
], 44, yt));
|
|
1182
1188
|
}
|
|
1183
|
-
},
|
|
1189
|
+
}, No = /* @__PURE__ */ pt(mo, [["__scopeId", "data-v-43bee409"]]);
|
|
1184
1190
|
export {
|
|
1185
|
-
|
|
1191
|
+
No as default
|
|
1186
1192
|
};
|