vue-data-ui 2.3.28 → 2.3.30
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 +15 -0
- package/dist/{Arrow-C6lQ94rK.cjs → Arrow-B8z06v67.cjs} +1 -1
- package/dist/{Arrow-BPoxM_Tq.js → Arrow-Bh7WeO_g.js} +1 -1
- package/dist/{BaseIcon-Op8_v5x7.js → BaseIcon-BG_bJS3R.js} +1 -1
- package/dist/{BaseIcon-BK5xYOzV.cjs → BaseIcon-DDCJA3rm.cjs} +1 -1
- package/dist/{DataTable-bEXuvNn5.js → DataTable-CsPidn0_.js} +23 -20
- package/dist/DataTable-Doh_4M84.cjs +1 -0
- package/dist/{Legend-BNfS77GS.cjs → Legend-B20rRwGi.cjs} +1 -1
- package/dist/{Legend-DwludSgp.js → Legend-CkQ_zypV.js} +1 -1
- package/dist/{Shape-COYAxpcP.js → Shape-B4gGeBLI.js} +1 -1
- package/dist/{Shape-CcWWIf-s.cjs → Shape-B8O8_E6l.cjs} +1 -1
- package/dist/{Slicer-DGkm-5p-.cjs → Slicer-BXveU40S.cjs} +1 -1
- package/dist/{Slicer-Cv-2s_-r.js → Slicer-DaEfxscP.js} +1 -1
- package/dist/{Title-DQz9dO4d.cjs → Title-BU6E8Xld.cjs} +1 -1
- package/dist/{Title-CtWGLaoz.js → Title-eBTH8iGJ.js} +1 -1
- package/dist/{Tooltip-D6BUVHr1.js → Tooltip-B11OahTD.js} +1 -1
- package/dist/{Tooltip-DQgBkgFk.cjs → Tooltip-Oicp_EIo.cjs} +1 -1
- package/dist/{index-BhCM2QF1.js → index-BlXzlBwZ.js} +443 -364
- package/dist/index-hKWfT7Wa.cjs +4 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +66 -0
- package/dist/types/vue-data-ui.d.ts +66 -0
- package/dist/{useNestedProp-CH3PVhvc.js → useNestedProp-BoNl5H_z.js} +1 -1
- package/dist/{useNestedProp-C2H2jmU6.cjs → useNestedProp-Cggpoz7e.cjs} +1 -1
- package/dist/{usePrinter-B75HLwzw.js → usePrinter-CZ8F5Cth.js} +1 -1
- package/dist/{usePrinter-DTF28E03.cjs → usePrinter-DoYKBzst.cjs} +1 -1
- package/dist/{vue-data-ui-DdhV5Pth.js → vue-data-ui-BOqzG_nZ.js} +57 -57
- package/dist/{vue-data-ui-cqeqQWwY.cjs → vue-data-ui-CGgiWEo3.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +6 -6
- package/dist/{vue-ui-3d-bar-gi0fEJUl.js → vue-ui-3d-bar-CjnVg4YI.js} +342 -294
- package/dist/vue-ui-3d-bar-CpntMt7p.cjs +19 -0
- package/dist/{vue-ui-accordion-CVrj6roI.cjs → vue-ui-accordion-CTYvdLLH.cjs} +1 -1
- package/dist/{vue-ui-accordion-CSZdj7wA.js → vue-ui-accordion-wHRG3nXl.js} +3 -3
- package/dist/vue-ui-age-pyramid-DDiL1Zje.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CFSWDX3d.js → vue-ui-age-pyramid-vmCwgRy9.js} +258 -219
- package/dist/{vue-ui-annotator-DqZU11ky.js → vue-ui-annotator-9FGJdNLY.js} +1 -1
- package/dist/{vue-ui-annotator-u5YbenPl.cjs → vue-ui-annotator-DQ3wKf9n.cjs} +1 -1
- package/dist/{vue-ui-candlestick-C3xswSm3.cjs → vue-ui-candlestick-6joQ9JKQ.cjs} +1 -1
- package/dist/{vue-ui-candlestick-Dph2PhZC.js → vue-ui-candlestick-DpMr2r0i.js} +9 -9
- package/dist/{vue-ui-carousel-table-0S6lSZnt.cjs → vue-ui-carousel-table-BV0EOLqU.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-eY08SE2G.js → vue-ui-carousel-table-CgR4ADOz.js} +4 -4
- package/dist/{vue-ui-chestnut-BikYCrjQ.js → vue-ui-chestnut-Ca2878kV.js} +439 -347
- package/dist/vue-ui-chestnut-CxoCcw_B.cjs +6 -0
- package/dist/{vue-ui-cursor-OFgeAFSo.js → vue-ui-cursor-BW8C6oUc.js} +2 -2
- package/dist/{vue-ui-cursor-DUA57VkZ.cjs → vue-ui-cursor-DxF_gXQf.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BTG0m9YL.cjs → vue-ui-dashboard-BGrVyITN.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DA4M1Z0-.js → vue-ui-dashboard-DN4nErBZ.js} +2 -2
- package/dist/{vue-ui-digits-55Zmunkv.js → vue-ui-digits-CmSFSs5S.js} +2 -2
- package/dist/{vue-ui-digits-COxRiMVI.cjs → vue-ui-digits-CpSKBG2c.cjs} +1 -1
- package/dist/vue-ui-donut-BqfRwAIM.js +857 -0
- package/dist/vue-ui-donut-C29yXH3H.cjs +1 -0
- package/dist/vue-ui-donut-evolution-COFG73Xl.cjs +1 -0
- package/dist/vue-ui-donut-evolution-DIR7yBUC.js +839 -0
- package/dist/{vue-ui-dumbbell-BSFT-Bce.cjs → vue-ui-dumbbell-1NA60u3h.cjs} +2 -2
- package/dist/{vue-ui-dumbbell-BtEXt5Ox.js → vue-ui-dumbbell-BASuPAvI.js} +202 -187
- package/dist/{vue-ui-flow-BPEGOFRZ.cjs → vue-ui-flow-DBK7d0DQ.cjs} +1 -1
- package/dist/{vue-ui-flow-BBoXBTkC.js → vue-ui-flow-wq0aqc5r.js} +98 -93
- package/dist/vue-ui-galaxy-BgdVvk4N.cjs +1 -0
- package/dist/{vue-ui-galaxy-ZFEufIyy.js → vue-ui-galaxy-CFQ2hQAl.js} +180 -144
- package/dist/{vue-ui-gauge-CfZ9XJW_.cjs → vue-ui-gauge-C4_kEbgg.cjs} +1 -1
- package/dist/{vue-ui-gauge-BqZp_V5m.js → vue-ui-gauge-CIN265dN.js} +158 -149
- package/dist/vue-ui-gizmo-BpT3iwC9.cjs +1 -0
- package/dist/{vue-ui-gizmo-DitbWAJp.js → vue-ui-gizmo-DRXWEpqU.js} +63 -49
- package/dist/vue-ui-heatmap-CVD7FVfk.cjs +1 -0
- package/dist/vue-ui-heatmap-Dc0ft_Ga.js +644 -0
- package/dist/{vue-ui-kpi-BWuzEkyY.js → vue-ui-kpi-DDL1TvBP.js} +19 -10
- package/dist/{vue-ui-kpi-B2Bo26hh.cjs → vue-ui-kpi-WDZIt76s.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BwAWiK3k.js → vue-ui-mini-loader-B2C5U55l.js} +2 -2
- package/dist/{vue-ui-mini-loader-C_Nb-qVd.cjs → vue-ui-mini-loader-BcGSpUfg.cjs} +1 -1
- package/dist/{vue-ui-molecule-CSbXNrvu.cjs → vue-ui-molecule-C5BmRi2R.cjs} +1 -1
- package/dist/{vue-ui-molecule-BD2UW2lJ.js → vue-ui-molecule-CD3cPNOq.js} +9 -9
- package/dist/{vue-ui-mood-radar-CbMab8pJ.js → vue-ui-mood-radar-D0KbeV5j.js} +213 -187
- package/dist/vue-ui-mood-radar-afS64zg-.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-SDaiotgC.js → vue-ui-nested-donuts-BGoc1RFX.js} +295 -228
- package/dist/vue-ui-nested-donuts-D-TeyOtL.cjs +17 -0
- package/dist/{vue-ui-onion-BamHJBdP.js → vue-ui-onion-B_khL0Kv.js} +230 -196
- package/dist/vue-ui-onion-CFdbWLu3.cjs +1 -0
- package/dist/{vue-ui-parallel-coordinate-plot-BaAa3t1h.cjs → vue-ui-parallel-coordinate-plot-BmXvVt8r.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-1R4CyBdQ.js → vue-ui-parallel-coordinate-plot-CP4V0K8m.js} +87 -87
- package/dist/{vue-ui-quadrant-CKCLhAS7.js → vue-ui-quadrant-C1YbjeI7.js} +455 -397
- package/dist/vue-ui-quadrant-C6-A8Gx_.cjs +1 -0
- package/dist/vue-ui-quick-chart-ConXdEsU.cjs +15 -0
- package/dist/vue-ui-quick-chart-CtWhs_2c.js +1374 -0
- package/dist/{vue-ui-radar-BY-y8Mal.js → vue-ui-radar-B2vAPYa7.js} +237 -214
- package/dist/vue-ui-radar-DMJLLVWb.cjs +1 -0
- package/dist/{vue-ui-rating-DGEgzOaB.cjs → vue-ui-rating-DhZ0tltR.cjs} +1 -1
- package/dist/{vue-ui-rating-Bq1SsByA.js → vue-ui-rating-xGz4av68.js} +9 -9
- package/dist/{vue-ui-relation-circle-BPzLP6U6.js → vue-ui-relation-circle-BQK8wMQE.js} +5 -5
- package/dist/{vue-ui-relation-circle-pdZ79G9r.cjs → vue-ui-relation-circle-hb4Q051h.cjs} +1 -1
- package/dist/vue-ui-rings-D1EW3d4M.cjs +2 -0
- package/dist/{vue-ui-rings-C5ce6pEf.js → vue-ui-rings-ZKjhNx5K.js} +191 -162
- package/dist/{vue-ui-scatter-CMetujXJ.js → vue-ui-scatter-CHONk8k0.js} +437 -381
- package/dist/vue-ui-scatter-CMRe2b2K.cjs +1 -0
- package/dist/{vue-ui-screenshot-BqzljUT3.cjs → vue-ui-screenshot-DcKhT745.cjs} +1 -1
- package/dist/{vue-ui-screenshot--2aeIH_x.js → vue-ui-screenshot-DmGe5ptH.js} +6 -6
- package/dist/{vue-ui-skeleton-_VMQ594N.js → vue-ui-skeleton-CJ2R5R6u.js} +37 -37
- package/dist/{vue-ui-skeleton-B5Z4craS.cjs → vue-ui-skeleton-j-IOiy5w.cjs} +1 -1
- package/dist/{vue-ui-smiley-CL-bubXk.cjs → vue-ui-smiley-D5Jn6d5f.cjs} +1 -1
- package/dist/{vue-ui-smiley-Cty3e_yE.js → vue-ui-smiley-DXVcosKR.js} +2 -2
- package/dist/{vue-ui-spark-trend-DT1fMqf_.cjs → vue-ui-spark-trend-CWH3W7h3.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-pgdWTEqG.js → vue-ui-spark-trend-Gg6TxR4m.js} +63 -58
- package/dist/vue-ui-sparkbar-BsoKTXr2.cjs +1 -0
- package/dist/vue-ui-sparkbar-DUx1qVzQ.js +280 -0
- package/dist/{vue-ui-sparkgauge-DdzlyDsm.cjs → vue-ui-sparkgauge-DPusPoRv.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Dx2gFX6H.js → vue-ui-sparkgauge-xrvp9g87.js} +60 -50
- package/dist/vue-ui-sparkhistogram---JRg2R1.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-Bg_fJsT5.js → vue-ui-sparkhistogram-DzYXMNj8.js} +99 -90
- package/dist/{vue-ui-sparkline-WMI-RgkW.cjs → vue-ui-sparkline-1Z6GnwoN.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BWl_B6LX.js → vue-ui-sparkline-CGWePkVI.js} +114 -105
- package/dist/{vue-ui-sparkstackbar-Skcshn6g.cjs → vue-ui-sparkstackbar-DCc68t8g.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-MMGRG9eS.js → vue-ui-sparkstackbar-DFgeRAbQ.js} +52 -47
- package/dist/{vue-ui-stackbar-NZFO3R77.js → vue-ui-stackbar-B0dWToaf.js} +211 -196
- package/dist/vue-ui-stackbar-Cz0mT8Mo.cjs +15 -0
- package/dist/{vue-ui-strip-plot-CJmCgC_a.js → vue-ui-strip-plot-BFqd-S7c.js} +213 -198
- package/dist/vue-ui-strip-plot-DZt1Wq20.cjs +1 -0
- package/dist/{vue-ui-table-jJ3daLHe.cjs → vue-ui-table-CMvyMuc4.cjs} +1 -1
- package/dist/{vue-ui-table-B-vHHlRw.js → vue-ui-table-DtwEoIzI.js} +9 -9
- package/dist/{vue-ui-table-heatmap-YCyFyq8J.cjs → vue-ui-table-heatmap-3RSMOHkc.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BfzDb2H7.js → vue-ui-table-heatmap-C8b3pE04.js} +12 -12
- package/dist/vue-ui-table-sparkline-BKOaVFtt.cjs +1 -0
- package/dist/vue-ui-table-sparkline-BrqhBv29.js +467 -0
- package/dist/vue-ui-thermometer-CKgIqM5y.cjs +1 -0
- package/dist/{vue-ui-thermometer-CdtG1AoI.js → vue-ui-thermometer-DMkLvJgE.js} +118 -108
- package/dist/{vue-ui-timer-Cb95XSdn.cjs → vue-ui-timer-D7fvoR77.cjs} +1 -1
- package/dist/{vue-ui-timer-DBqMb9iX.js → vue-ui-timer-RA9yfgBk.js} +8 -8
- package/dist/{vue-ui-tiremarks-CHKETcHr.js → vue-ui-tiremarks-B_EncUi6.js} +79 -71
- package/dist/{vue-ui-tiremarks-BqXfvQ4t.cjs → vue-ui-tiremarks-C7y6Mbxe.cjs} +1 -1
- package/dist/{vue-ui-treemap-DxKunHfW.js → vue-ui-treemap-BuGZgQsr.js} +274 -236
- package/dist/vue-ui-treemap-CfngjVUS.cjs +1 -0
- package/dist/vue-ui-vertical-bar-DKbq4bX4.cjs +4 -0
- package/dist/vue-ui-vertical-bar-T4bFd3JF.js +792 -0
- package/dist/vue-ui-waffle-BJFbhWnA.cjs +1 -0
- package/dist/vue-ui-waffle-CrxmrYsV.js +735 -0
- package/dist/{vue-ui-wheel-kMVi976p.cjs → vue-ui-wheel-BDRvKR1Z.cjs} +1 -1
- package/dist/{vue-ui-wheel-4HKXl04I.js → vue-ui-wheel-DOyC7NgR.js} +73 -65
- package/dist/{vue-ui-word-cloud-CrC3iKGd.js → vue-ui-word-cloud-DBxVNlJ3.js} +7 -7
- package/dist/{vue-ui-word-cloud-WgbYJhMF.cjs → vue-ui-word-cloud-Dmcelg3z.cjs} +1 -1
- package/dist/{vue-ui-xy-BN_H7q0X.js → vue-ui-xy-BIbvJSh2.js} +367 -288
- package/dist/vue-ui-xy-CVKaR90p.cjs +3 -0
- package/dist/vue-ui-xy-canvas-2AaNivzI.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-DAY9Ylzs.js → vue-ui-xy-canvas-CXVni3kC.js} +284 -259
- package/package.json +1 -1
- package/dist/DataTable-B4_9ynlY.cjs +0 -1
- package/dist/index-Y23HeR26.cjs +0 -4
- package/dist/vue-ui-3d-bar-BB6yidY7.cjs +0 -19
- package/dist/vue-ui-age-pyramid-CrTadT86.cjs +0 -1
- package/dist/vue-ui-chestnut-C3XOHDgw.cjs +0 -6
- package/dist/vue-ui-donut-CG3VWjnG.js +0 -751
- package/dist/vue-ui-donut-JA9hlLlV.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CA8sDbwX.js +0 -805
- package/dist/vue-ui-donut-evolution-_E0xUI9Y.cjs +0 -1
- package/dist/vue-ui-galaxy-DPrJum3L.cjs +0 -1
- package/dist/vue-ui-gizmo-CrSaW32p.cjs +0 -1
- package/dist/vue-ui-heatmap-CTRjjhmd.cjs +0 -1
- package/dist/vue-ui-heatmap-zV0pg2Q5.js +0 -606
- package/dist/vue-ui-mood-radar-zpxdsZ4u.cjs +0 -1
- package/dist/vue-ui-nested-donuts-07UI_VlW.cjs +0 -16
- package/dist/vue-ui-onion-DiychUul.cjs +0 -1
- package/dist/vue-ui-quadrant-DxLYb8Mk.cjs +0 -1
- package/dist/vue-ui-quick-chart-CAXuRSdm.js +0 -1318
- package/dist/vue-ui-quick-chart-DgCRM6WA.cjs +0 -13
- package/dist/vue-ui-radar-iETP_3US.cjs +0 -1
- package/dist/vue-ui-rings-DdpKT3DJ.cjs +0 -1
- package/dist/vue-ui-scatter-Dsc6RABP.cjs +0 -1
- package/dist/vue-ui-sparkbar-BVQPOz2O.js +0 -257
- package/dist/vue-ui-sparkbar-kfA-BPVJ.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B5xstgQG.cjs +0 -1
- package/dist/vue-ui-stackbar-DZ0CArmk.cjs +0 -15
- package/dist/vue-ui-strip-plot-Db_dqjd9.cjs +0 -1
- package/dist/vue-ui-table-sparkline-4Qbmxxsy.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DZt-bo2D.js +0 -420
- package/dist/vue-ui-thermometer-HXWDU2wD.cjs +0 -1
- package/dist/vue-ui-treemap-CW9JmJ2d.cjs +0 -1
- package/dist/vue-ui-vertical-bar-83AMwsHD.cjs +0 -4
- package/dist/vue-ui-vertical-bar-DRLwZjIz.js +0 -745
- package/dist/vue-ui-waffle-BRuDxyDU.js +0 -650
- package/dist/vue-ui-waffle-BwUbvdOE.cjs +0 -1
- package/dist/vue-ui-xy-BXfP5pz5.cjs +0 -3
- package/dist/vue-ui-xy-canvas-NrhVgFsv.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 B, onMounted as Be, openBlock as n, createElementBlock as i, normalizeClass as ge, normalizeStyle as j, createVNode as _e, createCommentVNode as k, createBlock as ae, unref as h, createSlots as Ie, withCtx as I, renderSlot as S, normalizeProps as R, guardReactiveProps as Y, createElementVNode as r, Fragment as $, renderList as g, toDisplayString as M, createTextVNode as Le, nextTick as Oe, pushScopeId as We, popScopeId as Ge } from "vue";
|
|
2
|
+
import { u as Ve, c as me, t as Ae, a as Ue, p as J, b as Ee, d as T, o as He, e as K, g as ne, l as A, m as xe, f as D, X as Ze, h as Q, i as ee, j as be, k as L, n as te, q as qe, r as Xe } from "./index-BlXzlBwZ.js";
|
|
3
|
+
import { _ as Re } from "./Title-eBTH8iGJ.js";
|
|
4
|
+
import { u as Ye, U as Je } from "./usePrinter-CZ8F5Cth.js";
|
|
5
|
+
import Ke from "./vue-ui-skeleton-CJ2R5R6u.js";
|
|
6
|
+
import { D as Qe } from "./DataTable-CsPidn0_.js";
|
|
7
|
+
import et from "./vue-ui-accordion-wHRG3nXl.js";
|
|
8
|
+
import { u as we } from "./useNestedProp-BoNl5H_z.js";
|
|
9
|
+
import { _ as tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
+
const le = (U) => (We("data-v-06e93dd9"), U = U(), Ge(), U), lt = ["id"], ot = ["xmlns", "viewBox"], st = ["id"], at = ["stop-color"], nt = ["stop-color"], rt = ["id"], ut = ["stop-color"], it = ["stop-color"], dt = ["id"], ct = ["stop-color"], ht = ["stop-color"], vt = ["id"], ft = ["stop-color"], pt = ["stop-color"], yt = ["stop-color"], kt = { key: 0 }, $t = ["id"], gt = ["stop-color"], _t = ["stop-color"], mt = ["id"], xt = ["stop-color"], bt = ["stop-color"], wt = ["id"], Ct = ["stop-color"], Ft = ["stop-color"], Mt = ["id"], Pt = /* @__PURE__ */ le(() => /* @__PURE__ */ r("stop", {
|
|
11
11
|
offset: "0%",
|
|
12
12
|
"stop-color": "#FFFFFF"
|
|
13
|
-
}, null, -1)),
|
|
13
|
+
}, null, -1)), Dt = /* @__PURE__ */ le(() => /* @__PURE__ */ r("stop", {
|
|
14
14
|
offset: "100%",
|
|
15
15
|
"stop-color": "#FFFFFF33"
|
|
16
|
-
}, null, -1)),
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
],
|
|
16
|
+
}, null, -1)), jt = [
|
|
17
|
+
Pt,
|
|
18
|
+
Dt
|
|
19
|
+
], St = ["x", "y", "font-size", "font-weight", "fill"], Tt = ["x", "y"], zt = ["d", "stroke"], Nt = ["d", "stroke"], Bt = { key: 3 }, It = { key: 0 }, Lt = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ot = ["stroke-dasharray", "d", "stroke", "stroke-width"], Wt = ["stroke-dasharray", "d", "stroke", "stroke-width"], Gt = ["stroke-dasharray", "d", "stroke", "stroke-width"], Vt = { key: 1 }, At = ["d", "stroke", "stroke-width", "fill"], Ut = ["d", "stroke", "stroke-width", "fill"], Et = ["d", "stroke", "stroke-width", "fill"], Ht = { key: 2 }, Zt = ["d", "fill", "onMouseenter", "onClick"], qt = ["d", "fill", "onMouseenter", "onClick"], Xt = ["d", "fill", "onMouseenter", "onClick"], Rt = ["d", "onMouseenter", "onClick"], Yt = ["d"], Jt = ["d", "stroke"], Kt = ["onClick"], Qt = ["stroke", "d"], el = ["cx", "cy", "fill", "stroke"], tl = ["x", "y", "width", "height"], ll = { key: 1 }, ol = ["d", "stroke"], sl = ["d", "fill", "stroke"], al = ["id"], nl = ["stop-color"], rl = /* @__PURE__ */ le(() => /* @__PURE__ */ r("stop", {
|
|
20
20
|
offset: "77%",
|
|
21
21
|
"stop-color": "#FFFFFF20"
|
|
22
|
-
}, null, -1)),
|
|
22
|
+
}, null, -1)), ul = ["stop-color"], il = ["cx", "cy", "fill"], dl = ["cx", "cy", "fill"], cl = { key: 0 }, hl = ["text-anchor", "x", "y", "fill", "font-size"], vl = ["text-anchor", "x", "y", "fill", "font-size"], fl = { key: 2 }, pl = ["d", "fill", "stroke"], yl = { key: 4 }, kl = { key: 0 }, $l = ["stroke-dasharray", "d", "stroke", "stroke-width"], gl = ["stroke-dasharray", "d", "stroke", "stroke-width"], _l = ["stroke-dasharray", "d", "stroke", "stroke-width"], ml = ["stroke-dasharray", "d", "stroke", "stroke-width"], xl = ["d", "stroke", "stroke-width", "fill"], bl = ["d", "stroke", "stroke-width", "fill"], wl = { key: 1 }, Cl = ["onClick"], Fl = ["id"], Ml = ["stop-color"], Pl = ["stop-color"], Dl = ["id"], jl = ["stop-color"], Sl = ["stop-color"], Tl = ["stop-color"], zl = ["stop-color"], Nl = ["stop-color"], Bl = ["onMouseenter", "onClick", "d", "fill"], Il = ["onMouseenter", "onClick", "d"], Ll = ["onMouseenter", "onClick", "d", "fill"], Ol = ["onClick"], Wl = ["stroke", "d"], Gl = ["cx", "cy", "fill", "stroke"], Vl = ["x", "y", "width", "height"], Al = { key: 1 }, Ul = ["d", "stroke"], El = ["d", "fill", "stroke"], Hl = ["id"], Zl = ["stop-color"], ql = /* @__PURE__ */ le(() => /* @__PURE__ */ r("stop", {
|
|
23
23
|
offset: "77%",
|
|
24
24
|
"stop-color": "#FFFFFF20"
|
|
25
|
-
}, null, -1)),
|
|
25
|
+
}, null, -1)), Xl = ["stop-color"], Rl = ["cx", "cy", "fill"], Yl = ["cx", "cy", "fill"], Jl = { key: 0 }, Kl = ["text-anchor", "x", "y", "fill", "font-size"], Ql = ["text-anchor", "x", "y", "fill", "font-size"], eo = { key: 2 }, to = ["d", "fill", "stroke"], lo = {
|
|
26
26
|
key: 3,
|
|
27
27
|
class: "vue-data-ui-watermark"
|
|
28
|
-
},
|
|
28
|
+
}, oo = ["innerHTML"], so = {
|
|
29
29
|
__name: "vue-ui-3d-bar",
|
|
30
30
|
props: {
|
|
31
31
|
config: {
|
|
@@ -42,23 +42,23 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
emits: ["selectDatapoint"],
|
|
45
|
-
setup(U, { expose:
|
|
46
|
-
const _ = U, { vue_ui_3d_bar:
|
|
47
|
-
const d =
|
|
45
|
+
setup(U, { expose: Ce, emit: H }) {
|
|
46
|
+
const _ = U, { vue_ui_3d_bar: Fe } = Ve(), Z = P(() => !!_.dataset && Object.keys(_.dataset).length), x = B(me()), Me = B(null), re = B(null), O = B(!1), t = P(() => {
|
|
47
|
+
const d = we({
|
|
48
48
|
userConfig: _.config,
|
|
49
|
-
defaultConfig:
|
|
49
|
+
defaultConfig: Fe
|
|
50
50
|
});
|
|
51
51
|
return d.theme ? {
|
|
52
|
-
...
|
|
53
|
-
userConfig:
|
|
52
|
+
...we({
|
|
53
|
+
userConfig: Ae.vue_ui_3d_bar[d.theme] || _.config,
|
|
54
54
|
defaultConfig: d
|
|
55
55
|
}),
|
|
56
|
-
customPalette:
|
|
56
|
+
customPalette: Ue[d.theme] || J
|
|
57
57
|
} : d;
|
|
58
|
-
}), { isPrinting:
|
|
58
|
+
}), { isPrinting: ue, isImaging: ie, generatePdf: de, generateImage: ce } = Ye({
|
|
59
59
|
elementId: `3d_bar_${x.value}`,
|
|
60
60
|
fileName: t.value.style.chart.title.text || "vue-ui-3d-bar"
|
|
61
|
-
}),
|
|
61
|
+
}), Pe = P(() => Ee(t.value.customPalette)), q = B({
|
|
62
62
|
showTable: t.value.table.show
|
|
63
63
|
}), C = P(() => _.dataset.series && _.dataset.series.length), o = P(() => ({
|
|
64
64
|
height: t.value.style.chart.box.dimensions.height,
|
|
@@ -73,21 +73,21 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
73
73
|
if (C.value) {
|
|
74
74
|
const d = _.dataset.series.map((l) => l.value || 0).reduce((l, a) => l + a, 0), s = _.dataset.series.map((l, a) => ({
|
|
75
75
|
...l,
|
|
76
|
-
id:
|
|
76
|
+
id: me(),
|
|
77
77
|
proportion: (l.value || 0) / d,
|
|
78
|
-
color:
|
|
78
|
+
color: T(l.color) || Pe.value[a] || J[a] || J[a % J.length],
|
|
79
79
|
breakdown: l.breakdown ? l.breakdown.sort((u, y) => y.value - u.value) : null
|
|
80
80
|
})).sort((l, a) => a.value - l.value), e = [];
|
|
81
81
|
let c = 0;
|
|
82
82
|
for (let l = 0; l < s.length; l += 1)
|
|
83
83
|
e.push({
|
|
84
84
|
...s[l],
|
|
85
|
-
fill:
|
|
85
|
+
fill: De(c, s[l].proportion, s[l].breakdown, s[l].color)
|
|
86
86
|
}), c += s[l].proportion;
|
|
87
87
|
return e;
|
|
88
88
|
}
|
|
89
89
|
return null;
|
|
90
|
-
}),
|
|
90
|
+
}), z = P(() => ({
|
|
91
91
|
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
92
|
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
93
|
side: `M${o.value.width / 2},${o.value.height - o.value.bottom} ${o.value.width / 2},${o.value.top + o.value.perspective * 2}`,
|
|
@@ -96,13 +96,13 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
96
96
|
tubeLeft: `M${o.value.left},${o.value.top + o.value.perspective} ${o.value.left},${o.value.height - o.value.bottom - o.value.perspective}`,
|
|
97
97
|
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
98
|
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
|
-
})),
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
})), G = B(t.value.style.chart.animation.use ? 0 : _.dataset.percentage);
|
|
100
|
+
Be(() => {
|
|
101
|
+
He(_.dataset) ? K({
|
|
102
102
|
componentName: "VueUi3dBar",
|
|
103
103
|
type: "dataset"
|
|
104
104
|
}) : _.dataset.series ? _.dataset.series.forEach((l, a) => {
|
|
105
|
-
|
|
105
|
+
ne({
|
|
106
106
|
datasetObject: l,
|
|
107
107
|
requiredAttributes: ["name", "value"]
|
|
108
108
|
}).forEach((u) => {
|
|
@@ -113,7 +113,7 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
113
113
|
index: a
|
|
114
114
|
});
|
|
115
115
|
}), l.breakdown && l.breakdown.forEach((u, y) => {
|
|
116
|
-
|
|
116
|
+
ne({
|
|
117
117
|
datasetObject: u,
|
|
118
118
|
requiredAttributes: ["name", "value"]
|
|
119
119
|
}).forEach((m) => {
|
|
@@ -125,7 +125,7 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
125
125
|
});
|
|
126
126
|
});
|
|
127
127
|
});
|
|
128
|
-
}) :
|
|
128
|
+
}) : ne({
|
|
129
129
|
datasetObject: _.dataset,
|
|
130
130
|
requiredAttributes: ["percentage"]
|
|
131
131
|
}).forEach((l) => {
|
|
@@ -137,21 +137,21 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
137
137
|
});
|
|
138
138
|
let d = 0, s = t.value.style.chart.animation.speed, e = 5e-3 * t.value.style.chart.animation.acceleration;
|
|
139
139
|
function c() {
|
|
140
|
-
|
|
140
|
+
G.value += s + d, d += e, G.value < _.dataset.percentage ? requestAnimationFrame(c) : G.value = _.dataset.percentage;
|
|
141
141
|
}
|
|
142
|
-
t.value.style.chart.animation.use && (
|
|
142
|
+
t.value.style.chart.animation.use && (G.value = 0, c());
|
|
143
143
|
});
|
|
144
|
-
function
|
|
145
|
-
const l = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: a, height: u, bottom: y, right: m, left: f, perspective: p } = o.value,
|
|
146
|
-
let
|
|
147
|
-
return
|
|
148
|
-
|
|
149
|
-
value:
|
|
144
|
+
function De(d, s, e, c) {
|
|
145
|
+
const l = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: a, height: u, bottom: y, right: m, left: f, perspective: p } = o.value, v = y + l * d, se = u - v - p - l * s / 2, Te = se > o.value.height / 2 ? "top" : "bottom", pe = 64, ze = !!e;
|
|
146
|
+
let ye = null, ke = null;
|
|
147
|
+
return ze && (e = e.map(($e, Ne) => ({
|
|
148
|
+
...$e,
|
|
149
|
+
value: $e.value || 0,
|
|
150
150
|
color: A(c, Ne / e.length)
|
|
151
|
-
})),
|
|
151
|
+
})), ye = xe(
|
|
152
152
|
{ series: e },
|
|
153
153
|
a + o.value.absoluteWidth / 4 - 14,
|
|
154
|
-
|
|
154
|
+
Te === "top" ? se - pe : se + pe,
|
|
155
155
|
28,
|
|
156
156
|
28,
|
|
157
157
|
1.99999,
|
|
@@ -160,10 +160,10 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
160
160
|
360,
|
|
161
161
|
105.25,
|
|
162
162
|
14
|
|
163
|
-
),
|
|
163
|
+
), ke = xe(
|
|
164
164
|
{ series: e },
|
|
165
165
|
a - m + 20,
|
|
166
|
-
u -
|
|
166
|
+
u - v - p - l * s / 2,
|
|
167
167
|
6,
|
|
168
168
|
6,
|
|
169
169
|
1.99999,
|
|
@@ -173,37 +173,37 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
173
173
|
105.25,
|
|
174
174
|
6
|
|
175
175
|
)), {
|
|
176
|
-
donut:
|
|
177
|
-
miniDonut:
|
|
176
|
+
donut: ye,
|
|
177
|
+
miniDonut: ke,
|
|
178
178
|
sidePointer: {
|
|
179
179
|
x: a - m,
|
|
180
|
-
y: u -
|
|
181
|
-
topY: u -
|
|
180
|
+
y: u - v - p - l * s / 2,
|
|
181
|
+
topY: u - v - p - l * s,
|
|
182
182
|
height: l * s
|
|
183
183
|
},
|
|
184
|
-
apexBottom: { y: u -
|
|
185
|
-
apexTop: { y: u -
|
|
186
|
-
right: `M${a / 2},${u -
|
|
187
|
-
left: `M${a / 2},${u -
|
|
188
|
-
liningTop: `M${f},${u -
|
|
189
|
-
liningTopShade: `M${f},${u -
|
|
190
|
-
top: `M${a / 2},${u -
|
|
191
|
-
tubeTop: `M${f},${u -
|
|
192
|
-
bottomTubeTop: `M ${a - m - 0.5},${u -
|
|
184
|
+
apexBottom: { y: u - v, x: a / 2 },
|
|
185
|
+
apexTop: { y: u - v - l * s, x: a / 2 },
|
|
186
|
+
right: `M${a / 2},${u - v} ${a / 2},${u - v - l * s} ${a - m},${u - v - p - l * s} ${a - m},${u - v - p}Z`,
|
|
187
|
+
left: `M${a / 2},${u - v} ${a / 2},${u - v - l * s} ${f}, ${u - v - p - l * s} ${f},${u - v - p}Z`,
|
|
188
|
+
liningTop: `M${f},${u - v - p - l * s} ${a / 2},${u - v - l * s} ${a - m},${u - v - p - l * s}`,
|
|
189
|
+
liningTopShade: `M${f},${u - v - p - l * s - 0.5} ${a / 2},${u - v - l * s - 0.5} ${a - m},${u - v - p - l * s - 0.5}`,
|
|
190
|
+
top: `M${a / 2},${u - v - l * s} ${f},${u - v - p - l * s} ${a / 2},${u - v - p * 2 - l * s} ${a - m},${u - v - p - l * s} Z`,
|
|
191
|
+
tubeTop: `M${f},${u - v - l * s - p} C ${f},${u - v - l * s - p * 2.5} ${a - m},${u - v - l * s - p * 2.5} ${a - m},${u - v - l * s - p} C ${a - m},${u - v - l * s + p / 2} ${f},${u - v - l * s + p / 2} ${f},${u - v - l * s - p}`,
|
|
192
|
+
bottomTubeTop: `M ${a - m - 0.5},${u - v - p} C ${a - m - 0.5},${u - v + p / 2} ${f},${u - v + p / 2} ${f + 0.5},${u - v - p}`,
|
|
193
193
|
tubeBody: `M
|
|
194
|
-
${f},${u -
|
|
195
|
-
C ${f},${u -
|
|
196
|
-
${a - m},${u -
|
|
197
|
-
${a - m},${u -
|
|
198
|
-
L${a - m},${u -
|
|
194
|
+
${f},${u - v - l * s - p}
|
|
195
|
+
C ${f},${u - v - l * s + p / 2}
|
|
196
|
+
${a - m},${u - v - l * s + p / 2}
|
|
197
|
+
${a - m},${u - v - l * s - p}
|
|
198
|
+
L${a - m},${u - v - p}
|
|
199
199
|
C
|
|
200
|
-
${a - m},${u -
|
|
201
|
-
${f},${u -
|
|
202
|
-
${f},${u -
|
|
200
|
+
${a - m},${u - v + p / 2}
|
|
201
|
+
${f},${u - v + p / 2}
|
|
202
|
+
${f},${u - v - p}Z`
|
|
203
203
|
};
|
|
204
204
|
}
|
|
205
205
|
const E = P(() => {
|
|
206
|
-
const d =
|
|
206
|
+
const d = G.value / 100, s = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: e, height: c, bottom: l, right: a, left: u, perspective: y } = o.value, f = l + s * 0;
|
|
207
207
|
return {
|
|
208
208
|
right: `M${e / 2},${c - f} ${e / 2},${c - f - s * d} ${e - a},${c - f - y - s * d} ${e - a},${c - f - y}Z`,
|
|
209
209
|
left: `M${e / 2},${c - f} ${e / 2},${c - f - s * d} ${u}, ${c - f - y - s * d} ${u},${c - f - y}Z`,
|
|
@@ -220,25 +220,25 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
220
220
|
${u},${c}
|
|
221
221
|
${u},${c - f - y}Z`
|
|
222
222
|
};
|
|
223
|
-
}), b =
|
|
223
|
+
}), b = B(null);
|
|
224
224
|
function F(d, s = !1) {
|
|
225
|
-
H("selectDatapoint", d), s || (b.value = d.id), s &&
|
|
225
|
+
H("selectDatapoint", d), s || (b.value = d.id), s && O.value && (O.value = !1), s && !O.value && (O.value = !0);
|
|
226
226
|
}
|
|
227
|
-
function
|
|
228
|
-
|
|
227
|
+
function W() {
|
|
228
|
+
O.value || (b.value = null);
|
|
229
229
|
}
|
|
230
230
|
function V(d, s, e = !1) {
|
|
231
|
-
const c = _.dataset.series.map((u) => u.value || 0).reduce((u, y) => u + y, 0), l = isNaN(d.value / c) ? 0 : d.value / c * 100, a = isNaN(d.value /
|
|
231
|
+
const c = _.dataset.series.map((u) => u.value || 0).reduce((u, y) => u + y, 0), l = isNaN(d.value / c) ? 0 : d.value / c * 100, a = isNaN(d.value / he(s)) ? 0 : d.value / he(s) * 100;
|
|
232
232
|
return e ? a : l.toFixed(0) + "%";
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function he(d) {
|
|
235
235
|
return [...d].map((s) => s.value).reduce((s, e) => s + e, 0);
|
|
236
236
|
}
|
|
237
|
-
const
|
|
238
|
-
function
|
|
239
|
-
|
|
237
|
+
const oe = B(!1);
|
|
238
|
+
function je(d) {
|
|
239
|
+
oe.value = d;
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function Se() {
|
|
242
242
|
return C.value ? w.value : _.dataset.percentage;
|
|
243
243
|
}
|
|
244
244
|
const N = P(() => {
|
|
@@ -254,7 +254,7 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
254
254
|
} else
|
|
255
255
|
return null;
|
|
256
256
|
});
|
|
257
|
-
function
|
|
257
|
+
function ve() {
|
|
258
258
|
if (!C.value) {
|
|
259
259
|
console.warn("VueUi3dBar : CSV download is only available in stack mode (providing dataset.series instead of dataset.percentage)");
|
|
260
260
|
return;
|
|
@@ -262,24 +262,28 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
262
262
|
Oe(() => {
|
|
263
263
|
const d = w.value.map((l) => l.value).reduce((l, a) => l + a, 0), s = N.value.head.map((l, a) => [[
|
|
264
264
|
l.name
|
|
265
|
-
], [N.value.body[a]], [isNaN(N.value.body[a] / d) ? "-" : N.value.body[a] / d * 100]]), e = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(s), c =
|
|
266
|
-
|
|
265
|
+
], [N.value.body[a]], [isNaN(N.value.body[a] / d) ? "-" : N.value.body[a] / d * 100]]), e = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(s), c = qe(e);
|
|
266
|
+
Xe({ csvContent: c, title: t.value.style.chart.title.text || "vue-ui-3d-bar" });
|
|
267
267
|
});
|
|
268
268
|
}
|
|
269
269
|
const X = P(() => {
|
|
270
270
|
const d = w.value.map((a) => a.value).reduce((a, u) => a + u, 0), s = [
|
|
271
271
|
' <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
|
-
|
|
272
|
+
D({ p: t.value.style.chart.legend.prefix, v: d, s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue }),
|
|
273
273
|
"100%"
|
|
274
274
|
], e = N.value.head.map((a, u) => {
|
|
275
|
-
const y =
|
|
275
|
+
const y = D({ p: t.value.style.chart.legend.prefix, v: N.value.body[u], s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue });
|
|
276
276
|
return [
|
|
277
277
|
{
|
|
278
278
|
color: a.color,
|
|
279
279
|
name: a.name
|
|
280
280
|
},
|
|
281
281
|
y,
|
|
282
|
-
isNaN(N.value.body[u] / d) ? "-" : (
|
|
282
|
+
isNaN(N.value.body[u] / d) ? "-" : D({
|
|
283
|
+
v: N.value.body[u] / d * 100,
|
|
284
|
+
s: "%",
|
|
285
|
+
r: t.value.table.td.roundingPercentage
|
|
286
|
+
})
|
|
283
287
|
];
|
|
284
288
|
}), c = {
|
|
285
289
|
th: {
|
|
@@ -306,27 +310,27 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
306
310
|
config: c
|
|
307
311
|
};
|
|
308
312
|
});
|
|
309
|
-
function
|
|
313
|
+
function fe() {
|
|
310
314
|
q.value.showTable = !q.value.showTable;
|
|
311
315
|
}
|
|
312
|
-
return
|
|
313
|
-
generateCsv:
|
|
314
|
-
generatePdf:
|
|
315
|
-
generateImage:
|
|
316
|
-
getData:
|
|
317
|
-
toggleTable:
|
|
316
|
+
return Ce({
|
|
317
|
+
generateCsv: ve,
|
|
318
|
+
generatePdf: de,
|
|
319
|
+
generateImage: ce,
|
|
320
|
+
getData: Se,
|
|
321
|
+
toggleTable: fe
|
|
318
322
|
}), (d, s) => (n(), i("div", {
|
|
319
323
|
ref_key: "bar3dChart",
|
|
320
|
-
ref:
|
|
321
|
-
class:
|
|
322
|
-
style:
|
|
324
|
+
ref: re,
|
|
325
|
+
class: ge("vue-ui-3d-bar"),
|
|
326
|
+
style: j(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),
|
|
323
327
|
id: `3d_bar_${x.value}`
|
|
324
328
|
}, [
|
|
325
329
|
t.value.style.chart.title.text ? (n(), i("div", {
|
|
326
330
|
key: 0,
|
|
327
|
-
style:
|
|
331
|
+
style: j(`width:100%;background:${t.value.style.chart.backgroundColor}`)
|
|
328
332
|
}, [
|
|
329
|
-
|
|
333
|
+
_e(Re, {
|
|
330
334
|
config: {
|
|
331
335
|
title: {
|
|
332
336
|
cy: "3dBar-div-title",
|
|
@@ -339,14 +343,14 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
339
343
|
}
|
|
340
344
|
}, null, 8, ["config"])
|
|
341
345
|
], 4)) : k("", !0),
|
|
342
|
-
t.value.userOptions.show && Z.value ? (n(),
|
|
346
|
+
t.value.userOptions.show && Z.value ? (n(), ae(Je, {
|
|
343
347
|
key: 1,
|
|
344
348
|
ref_key: "details",
|
|
345
|
-
ref:
|
|
349
|
+
ref: Me,
|
|
346
350
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
347
351
|
color: t.value.style.chart.color,
|
|
348
|
-
isPrinting:
|
|
349
|
-
isImaging:
|
|
352
|
+
isPrinting: h(ue),
|
|
353
|
+
isImaging: h(ie),
|
|
350
354
|
uid: x.value,
|
|
351
355
|
hasPdf: t.value.userOptions.buttons.pdf,
|
|
352
356
|
hasTable: !!C.value && t.value.userOptions.buttons.table,
|
|
@@ -354,55 +358,55 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
354
358
|
hasImg: t.value.userOptions.buttons.img,
|
|
355
359
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
356
360
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
357
|
-
chartElement:
|
|
358
|
-
onToggleFullscreen:
|
|
359
|
-
onGeneratePdf:
|
|
360
|
-
onGenerateCsv:
|
|
361
|
-
onGenerateImage:
|
|
362
|
-
onToggleTable:
|
|
363
|
-
},
|
|
361
|
+
chartElement: re.value,
|
|
362
|
+
onToggleFullscreen: je,
|
|
363
|
+
onGeneratePdf: h(de),
|
|
364
|
+
onGenerateCsv: ve,
|
|
365
|
+
onGenerateImage: h(ce),
|
|
366
|
+
onToggleTable: fe
|
|
367
|
+
}, Ie({ _: 2 }, [
|
|
364
368
|
d.$slots.optionPdf ? {
|
|
365
369
|
name: "optionPdf",
|
|
366
|
-
fn:
|
|
367
|
-
|
|
370
|
+
fn: I(() => [
|
|
371
|
+
S(d.$slots, "optionPdf", {}, void 0, !0)
|
|
368
372
|
]),
|
|
369
373
|
key: "0"
|
|
370
374
|
} : void 0,
|
|
371
375
|
d.$slots.optionCsv ? {
|
|
372
376
|
name: "optionCsv",
|
|
373
|
-
fn:
|
|
374
|
-
|
|
377
|
+
fn: I(() => [
|
|
378
|
+
S(d.$slots, "optionCsv", {}, void 0, !0)
|
|
375
379
|
]),
|
|
376
380
|
key: "1"
|
|
377
381
|
} : void 0,
|
|
378
382
|
d.$slots.optionImg ? {
|
|
379
383
|
name: "optionImg",
|
|
380
|
-
fn:
|
|
381
|
-
|
|
384
|
+
fn: I(() => [
|
|
385
|
+
S(d.$slots, "optionImg", {}, void 0, !0)
|
|
382
386
|
]),
|
|
383
387
|
key: "2"
|
|
384
388
|
} : void 0,
|
|
385
389
|
d.$slots.optionTable ? {
|
|
386
390
|
name: "optionTable",
|
|
387
|
-
fn:
|
|
388
|
-
|
|
391
|
+
fn: I(() => [
|
|
392
|
+
S(d.$slots, "optionTable", {}, void 0, !0)
|
|
389
393
|
]),
|
|
390
394
|
key: "3"
|
|
391
395
|
} : void 0,
|
|
392
396
|
d.$slots.optionFullscreen ? {
|
|
393
397
|
name: "optionFullscreen",
|
|
394
|
-
fn:
|
|
395
|
-
|
|
398
|
+
fn: I(({ toggleFullscreen: e, isFullscreen: c }) => [
|
|
399
|
+
S(d.$slots, "optionFullscreen", R(Y({ toggleFullscreen: e, isFullscreen: c })), void 0, !0)
|
|
396
400
|
]),
|
|
397
401
|
key: "4"
|
|
398
402
|
} : void 0
|
|
399
403
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : k("", !0),
|
|
400
404
|
Z.value ? (n(), i("svg", {
|
|
401
405
|
key: 2,
|
|
402
|
-
xmlns:
|
|
403
|
-
class:
|
|
406
|
+
xmlns: h(Ze),
|
|
407
|
+
class: ge({ "vue-data-ui-fullscreen--on": oe.value, "vue-data-ui-fulscreen--off": !oe.value }),
|
|
404
408
|
viewBox: `0 0 ${o.value.absoluteWidth} ${o.value.height}`,
|
|
405
|
-
style:
|
|
409
|
+
style: j(`max-width:100%; overflow: visible; background:${t.value.style.chart.backgroundColor};color:${t.value.style.chart.color}`)
|
|
406
410
|
}, [
|
|
407
411
|
r("defs", null, [
|
|
408
412
|
r("radialGradient", {
|
|
@@ -410,37 +414,37 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
410
414
|
}, [
|
|
411
415
|
r("stop", {
|
|
412
416
|
offset: "0%",
|
|
413
|
-
"stop-color": `${
|
|
414
|
-
}, null, 8,
|
|
417
|
+
"stop-color": `${h(T)(t.value.style.chart.backgroundColor)}00`
|
|
418
|
+
}, null, 8, at),
|
|
415
419
|
r("stop", {
|
|
416
420
|
offset: "100%",
|
|
417
421
|
"stop-color": `${t.value.style.chart.bar.color}`
|
|
418
|
-
}, null, 8,
|
|
419
|
-
], 8,
|
|
422
|
+
}, null, 8, nt)
|
|
423
|
+
], 8, st),
|
|
420
424
|
r("radialGradient", {
|
|
421
425
|
id: `gradient_left${x.value}`
|
|
422
426
|
}, [
|
|
423
427
|
r("stop", {
|
|
424
428
|
offset: "0%",
|
|
425
|
-
"stop-color": `${
|
|
426
|
-
}, null, 8,
|
|
429
|
+
"stop-color": `${h(T)(t.value.style.chart.backgroundColor)}00`
|
|
430
|
+
}, null, 8, ut),
|
|
427
431
|
r("stop", {
|
|
428
432
|
offset: "100%",
|
|
429
433
|
"stop-color": `${t.value.style.chart.bar.color}33`
|
|
430
|
-
}, null, 8,
|
|
431
|
-
], 8,
|
|
434
|
+
}, null, 8, it)
|
|
435
|
+
], 8, rt),
|
|
432
436
|
r("radialGradient", {
|
|
433
437
|
id: `gradient_right${x.value}`
|
|
434
438
|
}, [
|
|
435
439
|
r("stop", {
|
|
436
440
|
offset: "0%",
|
|
437
|
-
"stop-color": `${
|
|
438
|
-
}, null, 8,
|
|
441
|
+
"stop-color": `${h(T)(t.value.style.chart.backgroundColor)}00`
|
|
442
|
+
}, null, 8, ct),
|
|
439
443
|
r("stop", {
|
|
440
444
|
offset: "100%",
|
|
441
445
|
"stop-color": `${t.value.style.chart.bar.color}33`
|
|
442
|
-
}, null, 8,
|
|
443
|
-
], 8,
|
|
446
|
+
}, null, 8, ht)
|
|
447
|
+
], 8, dt),
|
|
444
448
|
r("linearGradient", {
|
|
445
449
|
id: `gradient_tube_body${x.value}`,
|
|
446
450
|
x1: "0%",
|
|
@@ -451,61 +455,61 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
451
455
|
r("stop", {
|
|
452
456
|
offset: "0%",
|
|
453
457
|
"stop-color": `${t.value.style.chart.bar.color}`
|
|
454
|
-
}, null, 8,
|
|
458
|
+
}, null, 8, ft),
|
|
455
459
|
r("stop", {
|
|
456
460
|
offset: "75%",
|
|
457
|
-
"stop-color": `${
|
|
458
|
-
}, null, 8,
|
|
461
|
+
"stop-color": `${h(T)(t.value.style.chart.backgroundColor)}00`
|
|
462
|
+
}, null, 8, pt),
|
|
459
463
|
r("stop", {
|
|
460
464
|
offset: "100%",
|
|
461
465
|
"stop-color": `${t.value.style.chart.bar.color}66`
|
|
462
|
-
}, null, 8,
|
|
463
|
-
], 8,
|
|
466
|
+
}, null, 8, yt)
|
|
467
|
+
], 8, vt)
|
|
464
468
|
]),
|
|
465
|
-
C.value ? (n(), i("defs",
|
|
469
|
+
C.value ? (n(), i("defs", kt, [
|
|
466
470
|
(n(!0), i($, null, g(w.value, (e) => (n(), i("radialGradient", {
|
|
467
471
|
id: `grad_top_${e.id}`
|
|
468
472
|
}, [
|
|
469
473
|
r("stop", {
|
|
470
474
|
offset: "0%",
|
|
471
|
-
"stop-color": `${
|
|
472
|
-
}, null, 8,
|
|
475
|
+
"stop-color": `${h(A)(e.color, 0.5)}DD`
|
|
476
|
+
}, null, 8, gt),
|
|
473
477
|
r("stop", {
|
|
474
478
|
offset: "100%",
|
|
475
479
|
"stop-color": `${e.color}`
|
|
476
|
-
}, null, 8,
|
|
477
|
-
], 8,
|
|
480
|
+
}, null, 8, _t)
|
|
481
|
+
], 8, $t))), 256)),
|
|
478
482
|
(n(!0), i($, null, g(w.value, (e) => (n(), i("linearGradient", {
|
|
479
483
|
id: `grad_left_${e.id}`
|
|
480
484
|
}, [
|
|
481
485
|
r("stop", {
|
|
482
486
|
offset: "0%",
|
|
483
487
|
"stop-color": `${e.color}DD`
|
|
484
|
-
}, null, 8,
|
|
488
|
+
}, null, 8, xt),
|
|
485
489
|
r("stop", {
|
|
486
490
|
offset: "100%",
|
|
487
|
-
"stop-color": `${
|
|
488
|
-
}, null, 8,
|
|
489
|
-
], 8,
|
|
491
|
+
"stop-color": `${h(Q)(e.color, 0.5)}FF`
|
|
492
|
+
}, null, 8, bt)
|
|
493
|
+
], 8, mt))), 256)),
|
|
490
494
|
(n(!0), i($, null, g(w.value, (e) => (n(), i("linearGradient", {
|
|
491
495
|
id: `grad_right_${e.id}`
|
|
492
496
|
}, [
|
|
493
497
|
r("stop", {
|
|
494
498
|
offset: "2%",
|
|
495
|
-
"stop-color": `${
|
|
496
|
-
}, null, 8,
|
|
499
|
+
"stop-color": `${h(A)(e.color, 0.5)}FF`
|
|
500
|
+
}, null, 8, Ct),
|
|
497
501
|
r("stop", {
|
|
498
502
|
offset: "100%",
|
|
499
503
|
"stop-color": `${e.color}DD`
|
|
500
|
-
}, null, 8,
|
|
501
|
-
], 8,
|
|
504
|
+
}, null, 8, Ft)
|
|
505
|
+
], 8, wt))), 256)),
|
|
502
506
|
r("linearGradient", {
|
|
503
507
|
x1: "0%",
|
|
504
508
|
y1: "0%",
|
|
505
509
|
x2: "0%",
|
|
506
510
|
y2: "100%",
|
|
507
511
|
id: `vertical_line_${x.value}`
|
|
508
|
-
},
|
|
512
|
+
}, jt, 8, Mt)
|
|
509
513
|
])) : k("", !0),
|
|
510
514
|
t.value.style.chart.dataLabel.show && ![null, void 0].includes(_.dataset.percentage) && [null, void 0].includes(_.dataset.series) ? (n(), i("text", {
|
|
511
515
|
key: 1,
|
|
@@ -515,11 +519,15 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
515
519
|
"font-weight": t.value.style.chart.dataLabel.bold ? "bold" : "normal",
|
|
516
520
|
fill: t.value.style.chart.dataLabel.color,
|
|
517
521
|
"text-anchor": "middle"
|
|
518
|
-
}, M(
|
|
519
|
-
|
|
522
|
+
}, M(h(D)({
|
|
523
|
+
v: G.value,
|
|
524
|
+
s: "%",
|
|
525
|
+
r: t.value.style.chart.dataLabel.rounding
|
|
526
|
+
})), 9, St)) : k("", !0),
|
|
527
|
+
O.value ? (n(), i("g", {
|
|
520
528
|
key: 2,
|
|
521
529
|
onClick: s[0] || (s[0] = (e) => {
|
|
522
|
-
|
|
530
|
+
O.value = !1, b.value = null;
|
|
523
531
|
}),
|
|
524
532
|
"data-html2canvas-ignore": "",
|
|
525
533
|
style: { cursor: "pointer" }
|
|
@@ -530,13 +538,13 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
530
538
|
height: 12,
|
|
531
539
|
width: 12,
|
|
532
540
|
fill: "transparent"
|
|
533
|
-
}, null, 8,
|
|
541
|
+
}, null, 8, Tt),
|
|
534
542
|
r("path", {
|
|
535
543
|
d: `M${o.value.width / 2 - 6},${o.value.top - 20} ${o.value.width / 2 + 6},${o.value.top - 9}`,
|
|
536
544
|
stroke: t.value.style.chart.color,
|
|
537
545
|
"stroke-linecap": "round",
|
|
538
546
|
"stroke-width": "1"
|
|
539
|
-
}, null, 8,
|
|
547
|
+
}, null, 8, zt),
|
|
540
548
|
r("path", {
|
|
541
549
|
d: `M${o.value.width / 2 + 6},${o.value.top - 20} ${o.value.width / 2 - 6},${o.value.top - 9}`,
|
|
542
550
|
stroke: t.value.style.chart.color,
|
|
@@ -544,20 +552,20 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
544
552
|
"stroke-width": "1"
|
|
545
553
|
}, null, 8, Nt)
|
|
546
554
|
])) : k("", !0),
|
|
547
|
-
!t.value.style.shape || t.value.style.shape === "bar" ? (n(), i("g",
|
|
548
|
-
C.value ? k("", !0) : (n(), i("g",
|
|
555
|
+
!t.value.style.shape || t.value.style.shape === "bar" ? (n(), i("g", Bt, [
|
|
556
|
+
C.value ? k("", !0) : (n(), i("g", It, [
|
|
549
557
|
r("path", {
|
|
550
558
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
551
|
-
d:
|
|
559
|
+
d: z.value.right,
|
|
552
560
|
stroke: t.value.style.chart.box.stroke,
|
|
553
561
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
554
562
|
"stroke-linejoin": "round",
|
|
555
563
|
"stroke-linecap": "round",
|
|
556
564
|
fill: "none"
|
|
557
|
-
}, null, 8,
|
|
565
|
+
}, null, 8, Lt),
|
|
558
566
|
r("path", {
|
|
559
567
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
560
|
-
d:
|
|
568
|
+
d: z.value.left,
|
|
561
569
|
stroke: t.value.style.chart.box.stroke,
|
|
562
570
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
563
571
|
"stroke-linejoin": "round",
|
|
@@ -566,24 +574,24 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
566
574
|
}, null, 8, Ot),
|
|
567
575
|
r("path", {
|
|
568
576
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
569
|
-
d:
|
|
577
|
+
d: z.value.side,
|
|
570
578
|
stroke: t.value.style.chart.box.stroke,
|
|
571
579
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
572
580
|
"stroke-linejoin": "round",
|
|
573
581
|
"stroke-linecap": "round",
|
|
574
582
|
fill: "none"
|
|
575
|
-
}, null, 8,
|
|
583
|
+
}, null, 8, Wt),
|
|
576
584
|
r("path", {
|
|
577
585
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
578
|
-
d:
|
|
586
|
+
d: z.value.topSides,
|
|
579
587
|
stroke: t.value.style.chart.box.stroke,
|
|
580
588
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
581
589
|
"stroke-linejoin": "round",
|
|
582
590
|
"stroke-linecap": "round",
|
|
583
591
|
fill: "none"
|
|
584
|
-
}, null, 8,
|
|
592
|
+
}, null, 8, Gt)
|
|
585
593
|
])),
|
|
586
|
-
C.value ? k("", !0) : (n(), i("g",
|
|
594
|
+
C.value ? k("", !0) : (n(), i("g", Vt, [
|
|
587
595
|
r("path", {
|
|
588
596
|
d: E.value.right,
|
|
589
597
|
stroke: t.value.style.chart.bar.stroke,
|
|
@@ -591,7 +599,7 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
591
599
|
"stroke-linejoin": "round",
|
|
592
600
|
"stroke-linecap": "round",
|
|
593
601
|
fill: `url(#gradient_right${x.value})`
|
|
594
|
-
}, null, 8,
|
|
602
|
+
}, null, 8, At),
|
|
595
603
|
r("path", {
|
|
596
604
|
d: E.value.left,
|
|
597
605
|
stroke: t.value.style.chart.bar.stroke,
|
|
@@ -599,7 +607,7 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
599
607
|
"stroke-linejoin": "round",
|
|
600
608
|
"stroke-linecap": "round",
|
|
601
609
|
fill: `url(#gradient_left${x.value})`
|
|
602
|
-
}, null, 8,
|
|
610
|
+
}, null, 8, Ut),
|
|
603
611
|
r("path", {
|
|
604
612
|
d: E.value.top,
|
|
605
613
|
stroke: t.value.style.chart.bar.stroke,
|
|
@@ -607,11 +615,11 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
607
615
|
"stroke-linejoin": "round",
|
|
608
616
|
"stroke-linecap": "round",
|
|
609
617
|
fill: `url(#gradient_top${x.value})`
|
|
610
|
-
}, null, 8,
|
|
618
|
+
}, null, 8, Et)
|
|
611
619
|
])),
|
|
612
|
-
C.value ? (n(), i("g",
|
|
620
|
+
C.value ? (n(), i("g", Ht, [
|
|
613
621
|
(n(!0), i($, null, g(w.value, (e, c) => (n(), i("g", {
|
|
614
|
-
style:
|
|
622
|
+
style: j(`opacity:${b.value ? b.value === e.id ? 1 : 0.3 : 1}`),
|
|
615
623
|
class: "vue-ui-3d-bar-stack"
|
|
616
624
|
}, [
|
|
617
625
|
r("path", {
|
|
@@ -619,22 +627,22 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
619
627
|
fill: `url(#grad_right_${e.id})`,
|
|
620
628
|
onMouseenter: (l) => F(e),
|
|
621
629
|
onClick: (l) => F(e, !0),
|
|
622
|
-
onMouseout:
|
|
623
|
-
}, null, 40,
|
|
630
|
+
onMouseout: W
|
|
631
|
+
}, null, 40, Zt),
|
|
624
632
|
r("path", {
|
|
625
633
|
d: e.fill.left,
|
|
626
634
|
fill: `url(#grad_left_${e.id})`,
|
|
627
635
|
onMouseenter: (l) => F(e),
|
|
628
636
|
onClick: (l) => F(e, !0),
|
|
629
|
-
onMouseout:
|
|
630
|
-
}, null, 40,
|
|
637
|
+
onMouseout: W
|
|
638
|
+
}, null, 40, qt),
|
|
631
639
|
r("path", {
|
|
632
640
|
d: e.fill.top,
|
|
633
641
|
fill: `url(#grad_top_${e.id})`,
|
|
634
642
|
onMouseenter: (l) => F(e),
|
|
635
643
|
onClick: (l) => F(e, !0),
|
|
636
|
-
onMouseout:
|
|
637
|
-
}, null, 40,
|
|
644
|
+
onMouseout: W
|
|
645
|
+
}, null, 40, Xt),
|
|
638
646
|
r("path", {
|
|
639
647
|
d: e.fill.liningTop,
|
|
640
648
|
stroke: "#FFFFFF",
|
|
@@ -643,14 +651,14 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
643
651
|
fill: "none",
|
|
644
652
|
onMouseenter: (l) => F(e),
|
|
645
653
|
onClick: (l) => F(e, !0),
|
|
646
|
-
onMouseout:
|
|
647
|
-
}, null, 40,
|
|
654
|
+
onMouseout: W
|
|
655
|
+
}, null, 40, Rt),
|
|
648
656
|
r("path", {
|
|
649
657
|
d: `M ${e.fill.apexTop.x},${e.fill.apexTop.y} ${e.fill.apexBottom.x},${e.fill.apexBottom.y}`,
|
|
650
658
|
stroke: "#FFFFFF",
|
|
651
659
|
"stroke-width": "0.5",
|
|
652
660
|
"stroke-linecap": "round"
|
|
653
|
-
}, null, 8,
|
|
661
|
+
}, null, 8, Yt)
|
|
654
662
|
], 4))), 256)),
|
|
655
663
|
(n(!0), i($, null, g(w.value, (e, c) => (n(), i("g", null, [
|
|
656
664
|
c !== w.value.length - 1 ? (n(), i("path", {
|
|
@@ -661,10 +669,10 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
661
669
|
"stroke-linecap": "round",
|
|
662
670
|
fill: "none",
|
|
663
671
|
style: { "pointer-events": "none" }
|
|
664
|
-
}, null, 8,
|
|
672
|
+
}, null, 8, Jt)) : k("", !0)
|
|
665
673
|
]))), 256)),
|
|
666
674
|
(n(!0), i($, null, g(w.value, (e, c) => (n(), i("g", {
|
|
667
|
-
style:
|
|
675
|
+
style: j(`opacity:${b.value ? b.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
|
|
668
676
|
onClick: (l) => H("selectDatapoint", e)
|
|
669
677
|
}, [
|
|
670
678
|
r("path", {
|
|
@@ -673,7 +681,7 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
673
681
|
"stroke-width": "0.5",
|
|
674
682
|
"stroke-linecap": "round",
|
|
675
683
|
d: `M${e.fill.sidePointer.x},${e.fill.sidePointer.y} ${e.fill.sidePointer.x + 20},${e.fill.sidePointer.y}`
|
|
676
|
-
}, null, 8,
|
|
684
|
+
}, null, 8, Qt),
|
|
677
685
|
!e.fill.miniDonut || b.value ? (n(), i("circle", {
|
|
678
686
|
key: 0,
|
|
679
687
|
cx: e.fill.sidePointer.x + 20,
|
|
@@ -681,7 +689,7 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
681
689
|
r: 2,
|
|
682
690
|
fill: e.color,
|
|
683
691
|
stroke: t.value.style.chart.backgroundColor
|
|
684
|
-
}, null, 8,
|
|
692
|
+
}, null, 8, el)) : k("", !0),
|
|
685
693
|
(n(), i("foreignObject", {
|
|
686
694
|
x: e.fill.sidePointer.x + 30,
|
|
687
695
|
y: e.fill.sidePointer.y - t.value.style.chart.legend.fontSize,
|
|
@@ -691,22 +699,32 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
691
699
|
}, [
|
|
692
700
|
t.value.style.chart.legend.showDefault ? (n(), i("div", {
|
|
693
701
|
key: 0,
|
|
694
|
-
style:
|
|
695
|
-
}, M(e.name) + ": " + M(
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
702
|
+
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(D)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })) + " (" + M(h(ee)(
|
|
704
|
+
t.value.style.chart.dataLabel.formatter,
|
|
705
|
+
e.value,
|
|
706
|
+
h(D)({
|
|
707
|
+
p: t.value.style.chart.legend.prefix,
|
|
708
|
+
v: e.value,
|
|
709
|
+
s: t.value.style.chart.legend.suffix,
|
|
710
|
+
r: t.value.style.chart.legend.roundingValue
|
|
711
|
+
}),
|
|
712
|
+
{ datapoint: e, seriesIndex: c }
|
|
713
|
+
)) + ") ", 5)) : k("", !0),
|
|
714
|
+
S(d.$slots, "legend", R(Y({ datapoint: e, config: t.value, dataset: w.value })), void 0, !0)
|
|
715
|
+
], 8, tl)),
|
|
716
|
+
e.fill.donut && b.value === e.id ? (n(), i("g", ll, [
|
|
699
717
|
(n(!0), i($, null, g(e.fill.donut, (l, a) => (n(), i("g", null, [
|
|
700
718
|
V(l, e.fill.donut, !0) > 6 ? (n(), i("path", {
|
|
701
719
|
key: 0,
|
|
702
|
-
d:
|
|
720
|
+
d: h(be)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 0.5),
|
|
703
721
|
stroke: l.color,
|
|
704
722
|
class: "vue-ui-donut-arc-path",
|
|
705
723
|
"stroke-width": "0.5",
|
|
706
724
|
"stroke-linecap": "round",
|
|
707
725
|
"stroke-linejoin": "round",
|
|
708
726
|
fill: "none"
|
|
709
|
-
}, null, 8,
|
|
727
|
+
}, null, 8, ol)) : k("", !0)
|
|
710
728
|
]))), 256)),
|
|
711
729
|
(n(!0), i($, null, g(e.fill.donut, (l, a) => (n(), i("path", {
|
|
712
730
|
class: "vue-ui-donut-arc-path",
|
|
@@ -714,21 +732,21 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
714
732
|
fill: `${l.color}`,
|
|
715
733
|
stroke: t.value.style.chart.backgroundColor,
|
|
716
734
|
"stroke-width": 1
|
|
717
|
-
}, null, 8,
|
|
735
|
+
}, null, 8, sl))), 256)),
|
|
718
736
|
r("defs", null, [
|
|
719
737
|
r("radialGradient", {
|
|
720
738
|
id: `hollow_gradient_${x.value}`
|
|
721
739
|
}, [
|
|
722
740
|
r("stop", {
|
|
723
741
|
offset: "0%",
|
|
724
|
-
"stop-color": `${
|
|
725
|
-
}, null, 8,
|
|
726
|
-
|
|
742
|
+
"stop-color": `${h(T)(t.value.style.chart.backgroundColor)}00`
|
|
743
|
+
}, null, 8, nl),
|
|
744
|
+
rl,
|
|
727
745
|
r("stop", {
|
|
728
746
|
offset: "100%",
|
|
729
|
-
"stop-color": `${
|
|
730
|
-
}, null, 8,
|
|
731
|
-
], 8,
|
|
747
|
+
"stop-color": `${h(T)(t.value.style.chart.backgroundColor)}00`
|
|
748
|
+
}, null, 8, ul)
|
|
749
|
+
], 8, al)
|
|
732
750
|
]),
|
|
733
751
|
(n(!0), i($, null, g(e.fill.donut, (l, a) => (n(), i("circle", {
|
|
734
752
|
class: "vue-ui-donut-arc-path",
|
|
@@ -736,83 +754,93 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
736
754
|
cy: l.cy,
|
|
737
755
|
r: 28,
|
|
738
756
|
fill: `url(#hollow_gradient_${x.value})`
|
|
739
|
-
}, null, 8,
|
|
757
|
+
}, null, 8, il))), 256)),
|
|
740
758
|
(n(!0), i($, null, g(e.fill.donut, (l, a) => (n(), i("circle", {
|
|
741
759
|
class: "vue-ui-donut-arc-path",
|
|
742
760
|
cx: l.cx,
|
|
743
761
|
cy: l.cy,
|
|
744
762
|
r: 14,
|
|
745
763
|
fill: t.value.style.chart.backgroundColor
|
|
746
|
-
}, null, 8,
|
|
764
|
+
}, null, 8, dl))), 256)),
|
|
747
765
|
(n(!0), i($, null, g(e.fill.donut, (l, a) => (n(), i("g", null, [
|
|
748
|
-
V(l, e.fill.donut, !0) > 6 ? (n(), i("g",
|
|
766
|
+
V(l, e.fill.donut, !0) > 6 ? (n(), i("g", cl, [
|
|
749
767
|
r("text", {
|
|
750
|
-
"text-anchor":
|
|
751
|
-
x:
|
|
752
|
-
y:
|
|
768
|
+
"text-anchor": h(L)(l, !0, 0).anchor,
|
|
769
|
+
x: h(L)(l, !0, 2).x,
|
|
770
|
+
y: h(te)(l, 12, 12),
|
|
753
771
|
fill: t.value.style.chart.legend.color,
|
|
754
772
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
755
|
-
}, M(V(l, e.fill.donut)) + " (" + M(
|
|
773
|
+
}, M(V(l, e.fill.donut)) + " (" + M(h(ee)(
|
|
774
|
+
t.value.style.chart.dataLabel.formatter,
|
|
775
|
+
l.value,
|
|
776
|
+
h(D)({
|
|
777
|
+
p: t.value.style.chart.legend.prefix,
|
|
778
|
+
v: l.value,
|
|
779
|
+
s: t.value.style.chart.legend.suffix,
|
|
780
|
+
r: t.value.style.chart.legend.roundingValue
|
|
781
|
+
}),
|
|
782
|
+
{ datapoint: l, seriesIndex: a }
|
|
783
|
+
)) + ") ", 9, hl),
|
|
756
784
|
r("text", {
|
|
757
|
-
"text-anchor":
|
|
758
|
-
x:
|
|
759
|
-
y:
|
|
785
|
+
"text-anchor": h(L)(l).anchor,
|
|
786
|
+
x: h(L)(l, !0, 2).x,
|
|
787
|
+
y: h(te)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
|
|
760
788
|
fill: t.value.style.chart.legend.color,
|
|
761
789
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
762
|
-
}, M(l.name), 9,
|
|
790
|
+
}, M(l.name), 9, vl)
|
|
763
791
|
])) : k("", !0)
|
|
764
792
|
]))), 256))
|
|
765
793
|
])) : k("", !0),
|
|
766
|
-
e.fill.miniDonut && !b.value ? (n(), i("g",
|
|
794
|
+
e.fill.miniDonut && !b.value ? (n(), i("g", fl, [
|
|
767
795
|
(n(!0), i($, null, g(e.fill.miniDonut, (l, a) => (n(), i("path", {
|
|
768
796
|
class: "vue-ui-donut-arc-path",
|
|
769
797
|
d: l.arcSlice,
|
|
770
798
|
fill: `${l.color}`,
|
|
771
799
|
stroke: t.value.style.chart.backgroundColor,
|
|
772
800
|
"stroke-width": 0.5
|
|
773
|
-
}, null, 8,
|
|
801
|
+
}, null, 8, pl))), 256))
|
|
774
802
|
])) : k("", !0)
|
|
775
|
-
], 12,
|
|
803
|
+
], 12, Kt))), 256))
|
|
776
804
|
])) : k("", !0)
|
|
777
805
|
])) : k("", !0),
|
|
778
|
-
t.value.style.shape === "tube" ? (n(), i("g",
|
|
779
|
-
C.value ? k("", !0) : (n(), i("g",
|
|
806
|
+
t.value.style.shape === "tube" ? (n(), i("g", yl, [
|
|
807
|
+
C.value ? k("", !0) : (n(), i("g", kl, [
|
|
780
808
|
r("path", {
|
|
781
809
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
782
|
-
d:
|
|
810
|
+
d: z.value.tubeTop,
|
|
783
811
|
stroke: t.value.style.chart.box.stroke,
|
|
784
812
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
785
813
|
"stroke-linejoin": "round",
|
|
786
814
|
"stroke-linecap": "round",
|
|
787
815
|
fill: "none"
|
|
788
|
-
}, null, 8,
|
|
816
|
+
}, null, 8, $l),
|
|
789
817
|
r("path", {
|
|
790
818
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
791
|
-
d:
|
|
819
|
+
d: z.value.tubeLeft,
|
|
792
820
|
stroke: t.value.style.chart.box.stroke,
|
|
793
821
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
794
822
|
"stroke-linejoin": "round",
|
|
795
823
|
"stroke-linecap": "round",
|
|
796
824
|
fill: "none"
|
|
797
|
-
}, null, 8,
|
|
825
|
+
}, null, 8, gl),
|
|
798
826
|
r("path", {
|
|
799
827
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
800
|
-
d:
|
|
828
|
+
d: z.value.tubeRight,
|
|
801
829
|
stroke: t.value.style.chart.box.stroke,
|
|
802
830
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
803
831
|
"stroke-linejoin": "round",
|
|
804
832
|
"stroke-linecap": "round",
|
|
805
833
|
fill: "none"
|
|
806
|
-
}, null, 8,
|
|
834
|
+
}, null, 8, _l),
|
|
807
835
|
r("path", {
|
|
808
836
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
809
|
-
d:
|
|
837
|
+
d: z.value.tubeBottom,
|
|
810
838
|
stroke: t.value.style.chart.box.stroke,
|
|
811
839
|
"stroke-width": t.value.style.chart.box.strokeWidth,
|
|
812
840
|
"stroke-linejoin": "round",
|
|
813
841
|
"stroke-linecap": "round",
|
|
814
842
|
fill: "none"
|
|
815
|
-
}, null, 8,
|
|
843
|
+
}, null, 8, ml),
|
|
816
844
|
r("path", {
|
|
817
845
|
d: E.value.tubeTop,
|
|
818
846
|
stroke: t.value.style.chart.bar.stroke,
|
|
@@ -820,7 +848,7 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
820
848
|
"stroke-linejoin": "round",
|
|
821
849
|
"stroke-linecap": "round",
|
|
822
850
|
fill: `url(#gradient_top${x.value})`
|
|
823
|
-
}, null, 8,
|
|
851
|
+
}, null, 8, xl),
|
|
824
852
|
r("path", {
|
|
825
853
|
d: E.value.tubeBody,
|
|
826
854
|
stroke: t.value.style.chart.bar.stroke,
|
|
@@ -828,11 +856,11 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
828
856
|
"stroke-linejoin": "round",
|
|
829
857
|
"stroke-linecap": "round",
|
|
830
858
|
fill: `url(#gradient_tube_body${x.value})`
|
|
831
|
-
}, null, 8,
|
|
859
|
+
}, null, 8, bl)
|
|
832
860
|
])),
|
|
833
|
-
C.value ? (n(), i("g",
|
|
861
|
+
C.value ? (n(), i("g", wl, [
|
|
834
862
|
(n(!0), i($, null, g(w.value, (e, c) => (n(), i("g", {
|
|
835
|
-
style:
|
|
863
|
+
style: j(`opacity:${b.value ? b.value === e.id ? 1 : 0.3 : 1}`),
|
|
836
864
|
class: "vue-ui-3d-bar-stack",
|
|
837
865
|
onClick: (l) => H("selectDatapoint", e)
|
|
838
866
|
}, [
|
|
@@ -844,13 +872,13 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
844
872
|
}, [
|
|
845
873
|
r("stop", {
|
|
846
874
|
offset: "0%",
|
|
847
|
-
"stop-color": `${
|
|
848
|
-
}, null, 8,
|
|
875
|
+
"stop-color": `${h(A)(e.color, 0.5)}DD`
|
|
876
|
+
}, null, 8, Ml),
|
|
849
877
|
r("stop", {
|
|
850
878
|
offset: "100%",
|
|
851
|
-
"stop-color": `${
|
|
852
|
-
}, null, 8,
|
|
853
|
-
], 8,
|
|
879
|
+
"stop-color": `${h(Q)(e.color, 0.1)}DD`
|
|
880
|
+
}, null, 8, Pl)
|
|
881
|
+
], 8, Fl),
|
|
854
882
|
r("linearGradient", {
|
|
855
883
|
id: `gradient_tube_body_${e.id}`,
|
|
856
884
|
x1: "0%",
|
|
@@ -861,62 +889,62 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
861
889
|
r("stop", {
|
|
862
890
|
offset: "0%",
|
|
863
891
|
"stop-color": `${e.color}`
|
|
864
|
-
}, null, 8,
|
|
892
|
+
}, null, 8, jl),
|
|
865
893
|
r("stop", {
|
|
866
894
|
offset: "10%",
|
|
867
|
-
"stop-color": `${
|
|
868
|
-
}, null, 8,
|
|
895
|
+
"stop-color": `${h(Q)(e.color, 0.7)}FF`
|
|
896
|
+
}, null, 8, Sl),
|
|
869
897
|
r("stop", {
|
|
870
898
|
offset: "25%",
|
|
871
|
-
"stop-color": `${
|
|
872
|
-
}, null, 8,
|
|
899
|
+
"stop-color": `${h(Q)(e.color, 0.5)}FF`
|
|
900
|
+
}, null, 8, Tl),
|
|
873
901
|
r("stop", {
|
|
874
902
|
offset: "75%",
|
|
875
903
|
"stop-color": `${e.color}DD`
|
|
876
|
-
}, null, 8,
|
|
904
|
+
}, null, 8, zl),
|
|
877
905
|
r("stop", {
|
|
878
906
|
offset: "100%",
|
|
879
|
-
"stop-color": `${
|
|
907
|
+
"stop-color": `${h(A)(e.color, 0.7)}FF`
|
|
880
908
|
}, null, 8, Nl)
|
|
881
|
-
], 8,
|
|
909
|
+
], 8, Dl)
|
|
882
910
|
]),
|
|
883
911
|
r("path", {
|
|
884
912
|
onMouseenter: (l) => F(e),
|
|
885
913
|
onClick: (l) => F(e, !0),
|
|
886
|
-
onMouseout:
|
|
914
|
+
onMouseout: W,
|
|
887
915
|
d: e.fill.tubeBody,
|
|
888
916
|
stroke: "#FFFFFF",
|
|
889
917
|
"stroke-width": 0.5,
|
|
890
918
|
"stroke-linejoin": "round",
|
|
891
919
|
"stroke-linecap": "round",
|
|
892
920
|
fill: `url(#gradient_tube_body_${e.id})`
|
|
893
|
-
}, null, 40,
|
|
921
|
+
}, null, 40, Bl),
|
|
894
922
|
c > 0 ? (n(), i("path", {
|
|
895
923
|
key: 0,
|
|
896
924
|
onMouseenter: (l) => F(e),
|
|
897
925
|
onClick: (l) => F(e, !0),
|
|
898
|
-
onMouseout:
|
|
926
|
+
onMouseout: W,
|
|
899
927
|
d: e.fill.bottomTubeTop,
|
|
900
928
|
stroke: "#000000",
|
|
901
929
|
"stroke-width": 0.5,
|
|
902
930
|
"stroke-linejoin": "round",
|
|
903
931
|
"stroke-linecap": "round",
|
|
904
932
|
fill: "none"
|
|
905
|
-
}, null, 40,
|
|
933
|
+
}, null, 40, Il)) : k("", !0),
|
|
906
934
|
r("path", {
|
|
907
935
|
onMouseenter: (l) => F(e),
|
|
908
936
|
onClick: (l) => F(e, !0),
|
|
909
|
-
onMouseout:
|
|
937
|
+
onMouseout: W,
|
|
910
938
|
d: e.fill.tubeTop,
|
|
911
939
|
stroke: "#FFFFFF",
|
|
912
940
|
"stroke-width": 0.5,
|
|
913
941
|
"stroke-linejoin": "round",
|
|
914
942
|
"stroke-linecap": "round",
|
|
915
943
|
fill: `url(#gradient_tube_top_${e.id})`
|
|
916
|
-
}, null, 40,
|
|
917
|
-
], 12,
|
|
944
|
+
}, null, 40, Ll)
|
|
945
|
+
], 12, Cl))), 256)),
|
|
918
946
|
(n(!0), i($, null, g(w.value, (e, c) => (n(), i("g", {
|
|
919
|
-
style:
|
|
947
|
+
style: j(`opacity:${b.value ? b.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
|
|
920
948
|
onClick: (l) => H("selectDatapoint", e)
|
|
921
949
|
}, [
|
|
922
950
|
r("path", {
|
|
@@ -925,7 +953,7 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
925
953
|
"stroke-width": "0.5",
|
|
926
954
|
"stroke-linecap": "round",
|
|
927
955
|
d: `M${e.fill.sidePointer.x},${e.fill.sidePointer.y} ${e.fill.sidePointer.x + 20},${e.fill.sidePointer.y}`
|
|
928
|
-
}, null, 8,
|
|
956
|
+
}, null, 8, Wl),
|
|
929
957
|
!e.fill.miniDonut || b.value ? (n(), i("circle", {
|
|
930
958
|
key: 0,
|
|
931
959
|
cx: e.fill.sidePointer.x + 20,
|
|
@@ -933,7 +961,7 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
933
961
|
r: 2,
|
|
934
962
|
fill: e.color,
|
|
935
963
|
stroke: t.value.style.chart.backgroundColor
|
|
936
|
-
}, null, 8,
|
|
964
|
+
}, null, 8, Gl)) : k("", !0),
|
|
937
965
|
(n(), i("foreignObject", {
|
|
938
966
|
x: e.fill.sidePointer.x + 30,
|
|
939
967
|
y: e.fill.sidePointer.y - t.value.style.chart.legend.fontSize,
|
|
@@ -943,22 +971,32 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
943
971
|
}, [
|
|
944
972
|
t.value.style.chart.legend.showDefault ? (n(), i("div", {
|
|
945
973
|
key: 0,
|
|
946
|
-
style:
|
|
947
|
-
}, M(e.name) + ": " + M(
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
974
|
+
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(D)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })) + " (" + M(h(ee)(
|
|
976
|
+
t.value.style.chart.dataLabel.formatter,
|
|
977
|
+
e.value,
|
|
978
|
+
h(D)({
|
|
979
|
+
p: t.value.style.chart.legend.prefix,
|
|
980
|
+
v: e.value,
|
|
981
|
+
s: t.value.style.chart.legend.suffix,
|
|
982
|
+
r: t.value.style.chart.legend.roundingValue
|
|
983
|
+
}),
|
|
984
|
+
{ datapoint: e, seriesIndex: c }
|
|
985
|
+
)) + ") ", 5)) : k("", !0),
|
|
986
|
+
S(d.$slots, "legend", R(Y({ datapoint: e, config: t.value, dataset: w.value })), void 0, !0)
|
|
987
|
+
], 8, Vl)),
|
|
988
|
+
e.fill.donut && b.value === e.id ? (n(), i("g", Al, [
|
|
951
989
|
(n(!0), i($, null, g(e.fill.donut, (l, a) => (n(), i("g", null, [
|
|
952
990
|
V(l, e.fill.donut, !0) > 6 ? (n(), i("path", {
|
|
953
991
|
key: 0,
|
|
954
|
-
d:
|
|
992
|
+
d: h(be)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 0.5),
|
|
955
993
|
stroke: l.color,
|
|
956
994
|
class: "vue-ui-donut-arc-path",
|
|
957
995
|
"stroke-width": "0.5",
|
|
958
996
|
"stroke-linecap": "round",
|
|
959
997
|
"stroke-linejoin": "round",
|
|
960
998
|
fill: "none"
|
|
961
|
-
}, null, 8,
|
|
999
|
+
}, null, 8, Ul)) : k("", !0)
|
|
962
1000
|
]))), 256)),
|
|
963
1001
|
(n(!0), i($, null, g(e.fill.donut, (l, a) => (n(), i("path", {
|
|
964
1002
|
class: "vue-ui-donut-arc-path",
|
|
@@ -966,21 +1004,21 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
966
1004
|
fill: `${l.color}`,
|
|
967
1005
|
stroke: t.value.style.chart.backgroundColor,
|
|
968
1006
|
"stroke-width": 1
|
|
969
|
-
}, null, 8,
|
|
1007
|
+
}, null, 8, El))), 256)),
|
|
970
1008
|
r("defs", null, [
|
|
971
1009
|
r("radialGradient", {
|
|
972
1010
|
id: `hollow_gradient_${x.value}`
|
|
973
1011
|
}, [
|
|
974
1012
|
r("stop", {
|
|
975
1013
|
offset: "0%",
|
|
976
|
-
"stop-color": `${
|
|
977
|
-
}, null, 8,
|
|
978
|
-
|
|
1014
|
+
"stop-color": `${h(T)(t.value.style.chart.backgroundColor)}00`
|
|
1015
|
+
}, null, 8, Zl),
|
|
1016
|
+
ql,
|
|
979
1017
|
r("stop", {
|
|
980
1018
|
offset: "100%",
|
|
981
|
-
"stop-color": `${
|
|
982
|
-
}, null, 8,
|
|
983
|
-
], 8,
|
|
1019
|
+
"stop-color": `${h(T)(t.value.style.chart.backgroundColor)}00`
|
|
1020
|
+
}, null, 8, Xl)
|
|
1021
|
+
], 8, Hl)
|
|
984
1022
|
]),
|
|
985
1023
|
(n(!0), i($, null, g(e.fill.donut, (l, a) => (n(), i("circle", {
|
|
986
1024
|
class: "vue-ui-donut-arc-path",
|
|
@@ -988,51 +1026,61 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
988
1026
|
cy: l.cy,
|
|
989
1027
|
r: 28,
|
|
990
1028
|
fill: `url(#hollow_gradient_${x.value})`
|
|
991
|
-
}, null, 8,
|
|
1029
|
+
}, null, 8, Rl))), 256)),
|
|
992
1030
|
(n(!0), i($, null, g(e.fill.donut, (l, a) => (n(), i("circle", {
|
|
993
1031
|
class: "vue-ui-donut-arc-path",
|
|
994
1032
|
cx: l.cx,
|
|
995
1033
|
cy: l.cy,
|
|
996
1034
|
r: 14,
|
|
997
1035
|
fill: t.value.style.chart.backgroundColor
|
|
998
|
-
}, null, 8,
|
|
1036
|
+
}, null, 8, Yl))), 256)),
|
|
999
1037
|
(n(!0), i($, null, g(e.fill.donut, (l, a) => (n(), i("g", null, [
|
|
1000
|
-
V(l, e.fill.donut, !0) > 6 ? (n(), i("g",
|
|
1038
|
+
V(l, e.fill.donut, !0) > 6 ? (n(), i("g", Jl, [
|
|
1001
1039
|
r("text", {
|
|
1002
|
-
"text-anchor":
|
|
1003
|
-
x:
|
|
1004
|
-
y:
|
|
1040
|
+
"text-anchor": h(L)(l, !0, 0).anchor,
|
|
1041
|
+
x: h(L)(l, !0, 2).x,
|
|
1042
|
+
y: h(te)(l, 12, 12),
|
|
1005
1043
|
fill: t.value.style.chart.legend.color,
|
|
1006
1044
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
1007
|
-
}, M(V(l, e.fill.donut)) + " (" + M(
|
|
1045
|
+
}, M(V(l, e.fill.donut)) + " (" + M(h(ee)(
|
|
1046
|
+
t.value.style.chart.dataLabel.formatter,
|
|
1047
|
+
l.value,
|
|
1048
|
+
h(D)({
|
|
1049
|
+
p: t.value.style.chart.legend.prefix,
|
|
1050
|
+
v: l.value,
|
|
1051
|
+
s: t.value.style.chart.legend.suffix,
|
|
1052
|
+
r: t.value.style.chart.legend.roundingValue
|
|
1053
|
+
}),
|
|
1054
|
+
{ datapoint: l, seriesIndex: a }
|
|
1055
|
+
)) + ") ", 9, Kl),
|
|
1008
1056
|
r("text", {
|
|
1009
|
-
"text-anchor":
|
|
1010
|
-
x:
|
|
1011
|
-
y:
|
|
1057
|
+
"text-anchor": h(L)(l).anchor,
|
|
1058
|
+
x: h(L)(l, !0, 2).x,
|
|
1059
|
+
y: h(te)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
|
|
1012
1060
|
fill: t.value.style.chart.legend.color,
|
|
1013
1061
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
1014
|
-
}, M(l.name), 9,
|
|
1062
|
+
}, M(l.name), 9, Ql)
|
|
1015
1063
|
])) : k("", !0)
|
|
1016
1064
|
]))), 256))
|
|
1017
1065
|
])) : k("", !0),
|
|
1018
|
-
e.fill.miniDonut && !b.value ? (n(), i("g",
|
|
1066
|
+
e.fill.miniDonut && !b.value ? (n(), i("g", eo, [
|
|
1019
1067
|
(n(!0), i($, null, g(e.fill.miniDonut, (l, a) => (n(), i("path", {
|
|
1020
1068
|
class: "vue-ui-donut-arc-path",
|
|
1021
1069
|
d: l.arcSlice,
|
|
1022
1070
|
fill: `${l.color}`,
|
|
1023
1071
|
stroke: t.value.style.chart.backgroundColor,
|
|
1024
1072
|
"stroke-width": 0.5
|
|
1025
|
-
}, null, 8,
|
|
1073
|
+
}, null, 8, to))), 256))
|
|
1026
1074
|
])) : k("", !0)
|
|
1027
1075
|
], 12, Ol))), 256))
|
|
1028
1076
|
])) : k("", !0)
|
|
1029
1077
|
])) : k("", !0),
|
|
1030
|
-
|
|
1031
|
-
], 14,
|
|
1032
|
-
d.$slots.watermark ? (n(), i("div",
|
|
1033
|
-
|
|
1078
|
+
S(d.$slots, "svg", { svg: o.value }, void 0, !0)
|
|
1079
|
+
], 14, ot)) : k("", !0),
|
|
1080
|
+
d.$slots.watermark ? (n(), i("div", lo, [
|
|
1081
|
+
S(d.$slots, "watermark", R(Y({ isPrinting: h(ue) || h(ie) })), void 0, !0)
|
|
1034
1082
|
])) : k("", !0),
|
|
1035
|
-
Z.value ? k("", !0) : (n(),
|
|
1083
|
+
Z.value ? k("", !0) : (n(), ae(Ke, {
|
|
1036
1084
|
key: 4,
|
|
1037
1085
|
config: {
|
|
1038
1086
|
type: "bar3d",
|
|
@@ -1044,7 +1092,7 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
1044
1092
|
}
|
|
1045
1093
|
}
|
|
1046
1094
|
}, null, 8, ["config"])),
|
|
1047
|
-
Z.value && C.value ? (n(),
|
|
1095
|
+
Z.value && C.value ? (n(), ae(et, {
|
|
1048
1096
|
key: 5,
|
|
1049
1097
|
hideDetails: "",
|
|
1050
1098
|
config: {
|
|
@@ -1060,8 +1108,8 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
1060
1108
|
}
|
|
1061
1109
|
}
|
|
1062
1110
|
}, {
|
|
1063
|
-
content:
|
|
1064
|
-
|
|
1111
|
+
content: I(() => [
|
|
1112
|
+
_e(Qe, {
|
|
1065
1113
|
colNames: X.value.colNames,
|
|
1066
1114
|
head: X.value.head,
|
|
1067
1115
|
body: X.value.body,
|
|
@@ -1069,23 +1117,23 @@ const te = (U) => (Le("data-v-82f069d2"), U = U(), We(), U), tt = ["id"], lt = [
|
|
|
1069
1117
|
title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1070
1118
|
onClose: s[1] || (s[1] = (e) => q.value.showTable = !1)
|
|
1071
1119
|
}, {
|
|
1072
|
-
th:
|
|
1120
|
+
th: I(({ th: e }) => [
|
|
1073
1121
|
r("div", {
|
|
1074
1122
|
innerHTML: e,
|
|
1075
1123
|
style: { display: "flex", "align-items": "center" }
|
|
1076
|
-
}, null, 8,
|
|
1124
|
+
}, null, 8, oo)
|
|
1077
1125
|
]),
|
|
1078
|
-
td:
|
|
1079
|
-
|
|
1126
|
+
td: I(({ td: e }) => [
|
|
1127
|
+
Le(M(e.name || e), 1)
|
|
1080
1128
|
]),
|
|
1081
1129
|
_: 1
|
|
1082
1130
|
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
1083
1131
|
]),
|
|
1084
1132
|
_: 1
|
|
1085
1133
|
}, 8, ["config"])) : k("", !0)
|
|
1086
|
-
], 12,
|
|
1134
|
+
], 12, lt));
|
|
1087
1135
|
}
|
|
1088
|
-
},
|
|
1136
|
+
}, po = /* @__PURE__ */ tt(so, [["__scopeId", "data-v-06e93dd9"]]);
|
|
1089
1137
|
export {
|
|
1090
|
-
|
|
1138
|
+
po as default
|
|
1091
1139
|
};
|