vue-data-ui 2.4.1 → 2.4.3
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 +44 -44
- package/dist/{Arrow-BIs_9yK8.js → Arrow-C7lNL7sY.js} +1 -1
- package/dist/{Arrow-DpMf3yPs.cjs → Arrow-Dz6AomGr.cjs} +1 -1
- package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-BbvG1AlW.js} +7 -4
- package/dist/BaseIcon-uALK38Ov.cjs +1 -0
- package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DTzynbND.cjs} +1 -1
- package/dist/{DataTable-DL2agEJ3.js → DataTable-DYqC2pqu.js} +2 -2
- package/dist/{Legend-Dj9KiaLv.cjs → Legend-Cgw4lO2O.cjs} +1 -1
- package/dist/{Legend-DXLiSLHd.js → Legend-DNgTCgEK.js} +1 -1
- package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
- package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-VkaUzgmt.js} +1 -1
- package/dist/PenAndPaper-CDFVOo7X.cjs +1 -0
- package/dist/PenAndPaper-DAZYA8Ew.js +269 -0
- package/dist/{Shape-CO_Ak9Zm.js → Shape-Bwon0l0g.js} +1 -1
- package/dist/{Shape-7EC2UKDK.cjs → Shape-D2Dpshg1.cjs} +1 -1
- package/dist/{Slicer-BZfUZr1J.js → Slicer-TfpN2Cr4.js} +3 -3
- package/dist/{Slicer-CLAVjSQP.cjs → Slicer-uSjfNJjG.cjs} +1 -1
- package/dist/{Title-C-lm3Mkl.cjs → Title-0Tp4hZ4u.cjs} +1 -1
- package/dist/{Title-DYNLqCCT.js → Title-C5pIfQAz.js} +1 -1
- package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
- package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cz24YLfw.js} +1 -1
- package/dist/{index-DDXisDKy.js → index-Bya_q1J-.js} +883 -842
- package/dist/index-eFox7weK.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +22 -17
- package/dist/types/vue-data-ui.d.ts +22 -17
- package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-B33hazbH.js} +1 -1
- package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
- package/dist/usePrinter-CSRFnDBU.cjs +1 -0
- package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-CiHd1FwD.js} +230 -185
- package/dist/useResponsive-BY8tgM1n.js +188 -0
- package/dist/useResponsive-CodiGUOE.cjs +1 -0
- package/dist/vue-data-ui-BTtxyUc3.cjs +9 -0
- package/dist/vue-data-ui-Bduq4f2p.js +261 -0
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-B-P7PMHs.cjs +19 -0
- package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BUEq_VdY.js} +421 -390
- package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
- package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CH72tAMb.js} +255 -222
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
- package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-DPeJ2its.js} +1 -1
- package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
- package/dist/vue-ui-bullet-CtP3MlUT.js +464 -0
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
- package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DDil13a0.js} +278 -245
- package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
- package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
- package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-BczSJF6S.js} +322 -291
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
- package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
- package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
- package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
- package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
- package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
- package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
- package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
- package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-DUcp-fat.js} +376 -343
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-C_YMbTwq.js} +375 -344
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
- package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Buwngz_V.js} +294 -261
- package/dist/vue-ui-flow-Bz3c0K5P.js +515 -0
- package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
- package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-Cjh0XGTX.js} +212 -181
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
- package/dist/vue-ui-gauge-B1UvGkQa.js +527 -0
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
- package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
- package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-C-poazUw.js} +308 -277
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
- package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
- package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
- package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
- package/dist/vue-ui-molecule-BaJpDZND.js +805 -0
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-BUNDwsEI.js} +259 -228
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-mDy2hXa6.js} +371 -338
- package/dist/vue-ui-onion-DwFG3HAI.js +650 -0
- package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
- package/dist/vue-ui-parallel-coordinate-plot-ImET_zeo.js +719 -0
- package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-BeveRihK.js} +359 -326
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-DAhllTfa.js} +585 -552
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +15 -0
- package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
- package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-BllatzRa.js} +279 -246
- package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
- package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-D1ykV4xO.js} +2 -2
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +358 -0
- package/dist/vue-ui-rings-B-ZcX6y1.js +602 -0
- package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
- package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-DG43ck1g.js} +440 -407
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
- package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
- package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
- package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
- package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
- package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
- package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
- package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
- package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
- package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
- package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
- package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
- package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
- package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
- package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
- package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
- package/dist/vue-ui-stackbar-ByOuJSdM.js +947 -0
- package/dist/vue-ui-stackbar-wun4S3C0.cjs +6 -0
- package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-CMD0MSqY.js} +297 -264
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
- package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-B75DJ39t.js} +1 -1
- package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
- package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
- package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
- package/dist/vue-ui-thermometer-Pq4PvSIP.js +447 -0
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
- package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
- package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
- package/dist/vue-ui-tiremarks-CU9HJIqf.js +310 -0
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
- package/dist/vue-ui-treemap-DY-lRAhC.js +825 -0
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
- package/dist/vue-ui-vertical-bar-CtnIKsM1.js +861 -0
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
- package/dist/vue-ui-waffle-reOsx-gJ.js +791 -0
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
- package/dist/vue-ui-wheel-kYxny3vn.js +291 -0
- package/dist/vue-ui-word-cloud-DbMqrHAf.js +607 -0
- package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
- package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-B0HTR7OV.js} +441 -408
- package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
- package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-rbACig0h.js} +824 -791
- package/package.json +1 -1
- package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
- package/dist/index-C7_6YjWN.cjs +0 -9
- package/dist/usePrinter-8EP4iaGm.cjs +0 -1
- package/dist/useResponsive-B3TrDDIG.cjs +0 -1
- package/dist/useResponsive-NZB-WLRF.js +0 -187
- package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
- package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
- package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
- package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
- package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
- package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
- package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
- package/dist/vue-ui-carousel-table-C0GDDSW9.cjs +0 -1
- package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
- package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
- package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
- package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
- package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
- package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
- package/dist/vue-ui-gauge-BXiy515T.js +0 -494
- package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
- package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
- package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
- package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
- package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
- package/dist/vue-ui-onion-D9o6Rcgu.js +0 -617
- package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BcYrYXhG.js +0 -686
- package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
- package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
- package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
- package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
- package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
- package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
- package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
- package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
- package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
- package/dist/vue-ui-skeleton-CGV1dEUD.cjs +0 -41
- package/dist/vue-ui-spark-trend-BfoEoJEy.cjs +0 -1
- package/dist/vue-ui-sparkbar-DB2DeXti.cjs +0 -1
- package/dist/vue-ui-sparkgauge-CJepIY2u.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B7B36LLT.cjs +0 -1
- package/dist/vue-ui-sparkline-BcqmwDAb.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-DT3aKNeV.cjs +0 -1
- package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
- package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
- package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
- package/dist/vue-ui-table-heatmap-Chvdf2Gi.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DUUYQ5dH.cjs +0 -1
- package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
- package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
- package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
- package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
- package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
- package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
- package/dist/vue-ui-vertical-bar-CieqHVD5.js +0 -828
- package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
- package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
- package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
- package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
- package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
- package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
- package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
- package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
- package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
|
@@ -1,22 +1,27 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as
|
|
3
|
-
import { L as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { D as
|
|
7
|
-
import { u as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { u as
|
|
11
|
-
import { _ as
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { computed as h, onMounted as Pe, ref as u, watch as Se, openBlock as s, createElementBlock as n, normalizeClass as F, normalizeStyle as H, createBlock as $, createCommentVNode as i, unref as p, createSlots as Ne, withCtx as c, renderSlot as v, normalizeProps as S, guardReactiveProps as N, createVNode as re, createElementVNode as x, Fragment as ue, renderList as ne, createTextVNode as ie, toDisplayString as E, nextTick as Le } from "vue";
|
|
2
|
+
import { u as Ie, o as Oe, e as ce, g as Ae, c as ve, t as Fe, a as Ee, p as D, b as De, d as Ve, I as de, L as Be, f as k, X as Ge, i as he, x as pe, y as Me, q as ze, r as We } from "./index-Bya_q1J-.js";
|
|
3
|
+
import { L as He } from "./Legend-DNgTCgEK.js";
|
|
4
|
+
import { _ as Ue } from "./Title-C5pIfQAz.js";
|
|
5
|
+
import { _ as Xe } from "./Tooltip-Cz24YLfw.js";
|
|
6
|
+
import { D as Re } from "./DataTable-DYqC2pqu.js";
|
|
7
|
+
import { u as Ye, U as je } from "./usePrinter-CiHd1FwD.js";
|
|
8
|
+
import qe from "./vue-ui-skeleton-BYssP0K4.js";
|
|
9
|
+
import Je from "./vue-ui-accordion-DfUfL2dI.js";
|
|
10
|
+
import { u as ye } from "./useNestedProp-B33hazbH.js";
|
|
11
|
+
import { _ as Ke } from "./PackageVersion-VkaUzgmt.js";
|
|
12
|
+
import { P as Qe } from "./PenAndPaper-DAZYA8Ew.js";
|
|
13
|
+
import { _ as Ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const et = ["id"], tt = {
|
|
15
|
+
key: 1,
|
|
15
16
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
16
|
-
},
|
|
17
|
-
key:
|
|
17
|
+
}, lt = ["xmlns", "viewBox"], at = ["id"], ot = ["stdDeviation"], st = ["d", "stroke", "stroke-width"], rt = ["d", "stroke", "stroke-width"], ut = ["filter"], nt = ["d", "stroke", "stroke-width"], it = ["d", "stroke-width", "onMouseenter", "onClick"], ct = {
|
|
18
|
+
key: 4,
|
|
18
19
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
20
|
+
}, vt = ["onClick"], dt = { key: 0 }, ht = { key: 1 }, pt = {
|
|
21
|
+
key: 7,
|
|
22
|
+
ref: "source",
|
|
23
|
+
dir: "auto"
|
|
24
|
+
}, yt = ["innerHTML"], ft = {
|
|
20
25
|
__name: "vue-ui-galaxy",
|
|
21
26
|
props: {
|
|
22
27
|
config: {
|
|
@@ -33,21 +38,21 @@ const Ke = ["id"], Qe = {
|
|
|
33
38
|
}
|
|
34
39
|
},
|
|
35
40
|
emits: ["selectLegend", "selectDatapoint"],
|
|
36
|
-
setup(
|
|
37
|
-
const
|
|
38
|
-
|
|
39
|
-
|
|
41
|
+
setup(fe, { expose: ge, emit: U }) {
|
|
42
|
+
const y = fe, { vue_ui_galaxy: be } = Ie(), L = h(() => !!y.dataset && y.dataset.length);
|
|
43
|
+
Pe(() => {
|
|
44
|
+
X();
|
|
40
45
|
});
|
|
41
|
-
function
|
|
42
|
-
|
|
46
|
+
function X() {
|
|
47
|
+
Oe(y.dataset) ? ce({
|
|
43
48
|
componentName: "VueUiGalaxy",
|
|
44
49
|
type: "dataset"
|
|
45
|
-
}) :
|
|
46
|
-
|
|
50
|
+
}) : y.dataset.forEach((t, a) => {
|
|
51
|
+
Ae({
|
|
47
52
|
datasetObject: t,
|
|
48
53
|
requiredAttributes: ["name", "values"]
|
|
49
54
|
}).forEach((l) => {
|
|
50
|
-
|
|
55
|
+
ce({
|
|
51
56
|
componentName: "VueUiGalaxy",
|
|
52
57
|
type: "datasetSerieAttribute",
|
|
53
58
|
property: l,
|
|
@@ -56,30 +61,30 @@ const Ke = ["id"], Qe = {
|
|
|
56
61
|
});
|
|
57
62
|
});
|
|
58
63
|
}
|
|
59
|
-
const _ = u(
|
|
60
|
-
get: () =>
|
|
64
|
+
const _ = u(ve()), I = u(null), me = u(null), V = u(!1), B = u(""), f = u(null), R = u(0), Y = u(0), j = u(0), q = u(0), e = h({
|
|
65
|
+
get: () => J(),
|
|
61
66
|
set: (t) => t
|
|
62
67
|
});
|
|
63
|
-
function
|
|
64
|
-
const t =
|
|
65
|
-
userConfig:
|
|
66
|
-
defaultConfig:
|
|
68
|
+
function J() {
|
|
69
|
+
const t = ye({
|
|
70
|
+
userConfig: y.config,
|
|
71
|
+
defaultConfig: be
|
|
67
72
|
});
|
|
68
73
|
return t.theme ? {
|
|
69
|
-
...
|
|
70
|
-
userConfig: Fe.vue_ui_galaxy[t.theme] ||
|
|
74
|
+
...ye({
|
|
75
|
+
userConfig: Fe.vue_ui_galaxy[t.theme] || y.config,
|
|
71
76
|
defaultConfig: t
|
|
72
77
|
}),
|
|
73
|
-
customPalette:
|
|
78
|
+
customPalette: Ee[t.theme] || D
|
|
74
79
|
} : t;
|
|
75
80
|
}
|
|
76
|
-
|
|
77
|
-
e.value =
|
|
81
|
+
Se(() => y.config, (t) => {
|
|
82
|
+
e.value = J(), X(), Y.value += 1, j.value += 1, q.value += 1;
|
|
78
83
|
}, { deep: !0 });
|
|
79
|
-
const { isPrinting:
|
|
84
|
+
const { isPrinting: K, isImaging: Q, generatePdf: Z, generateImage: ee } = Ye({
|
|
80
85
|
elementId: `galaxy_${_.value}`,
|
|
81
86
|
fileName: e.value.style.chart.title.text || "vue-ui-galaxy"
|
|
82
|
-
}),
|
|
87
|
+
}), ke = h(() => De(e.value.customPalette)), b = u({
|
|
83
88
|
dataLabels: {
|
|
84
89
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
85
90
|
},
|
|
@@ -89,53 +94,53 @@ const Ke = ["id"], Qe = {
|
|
|
89
94
|
height: 180,
|
|
90
95
|
// or 250 if non fibo
|
|
91
96
|
width: 250
|
|
92
|
-
}),
|
|
97
|
+
}), d = u([]);
|
|
93
98
|
function M(t) {
|
|
94
|
-
|
|
99
|
+
d.value.includes(t.id) ? d.value = d.value.filter((a) => a !== t.id) : d.value.push(t.id), U("selectLegend", T.value.map((a) => ({
|
|
95
100
|
name: a.name,
|
|
96
101
|
color: a.color,
|
|
97
102
|
value: a.value
|
|
98
103
|
})));
|
|
99
104
|
}
|
|
100
|
-
const C =
|
|
105
|
+
const C = h(() => y.dataset.map((t, a) => ({
|
|
101
106
|
name: t.name,
|
|
102
|
-
color:
|
|
103
|
-
value: t.values ?
|
|
104
|
-
absoluteValues:
|
|
105
|
-
id:
|
|
107
|
+
color: Ve(t.color) || ke.value[a] || D[a] || D[a % D.length],
|
|
108
|
+
value: t.values ? de(t.values).reduce((l, o) => l + o, 0) : 0,
|
|
109
|
+
absoluteValues: de(t.values),
|
|
110
|
+
id: ve(),
|
|
106
111
|
seriesIndex: a
|
|
107
112
|
})).sort((t, a) => a.value - t.value));
|
|
108
|
-
function
|
|
113
|
+
function Ce() {
|
|
109
114
|
return C.value.map((t) => ({
|
|
110
115
|
name: t.name,
|
|
111
116
|
color: t.color,
|
|
112
117
|
value: t.value
|
|
113
118
|
}));
|
|
114
119
|
}
|
|
115
|
-
const g =
|
|
120
|
+
const g = h(() => C.value.filter((t) => !d.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), we = u(190), te = h(() => C.value.filter((t) => !d.value.includes(t.id))), T = h(() => {
|
|
116
121
|
const t = [];
|
|
117
|
-
for (let a = 0; a <
|
|
118
|
-
const l =
|
|
119
|
-
let o = l.value / g.value *
|
|
122
|
+
for (let a = 0; a < te.value.length; a += 1) {
|
|
123
|
+
const l = te.value[a];
|
|
124
|
+
let o = l.value / g.value * we.value;
|
|
120
125
|
a > 0 && t.length && (o += t[a - 1].points), t.push({
|
|
121
126
|
points: o,
|
|
122
127
|
...l,
|
|
123
128
|
seriesIndex: a,
|
|
124
129
|
proportion: l.value / g.value,
|
|
125
|
-
path:
|
|
130
|
+
path: Be({
|
|
126
131
|
points: o,
|
|
127
132
|
startX: 115 + e.value.style.chart.layout.arcs.offsetX,
|
|
128
133
|
startY: 90 + e.value.style.chart.layout.arcs.offsetY
|
|
129
134
|
})
|
|
130
135
|
});
|
|
131
136
|
}
|
|
132
|
-
return t.filter((a, l) => !
|
|
137
|
+
return t.filter((a, l) => !d.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
|
|
133
138
|
}), P = u(!1);
|
|
134
|
-
function
|
|
135
|
-
P.value = t,
|
|
139
|
+
function $e(t) {
|
|
140
|
+
P.value = t, R.value += 1;
|
|
136
141
|
}
|
|
137
142
|
const z = u(null);
|
|
138
|
-
function
|
|
143
|
+
function xe({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: o = !1 }) {
|
|
139
144
|
z.value = {
|
|
140
145
|
datapoint: t,
|
|
141
146
|
seriesIndex: l,
|
|
@@ -144,7 +149,7 @@ const Ke = ["id"], Qe = {
|
|
|
144
149
|
}, V.value = o, f.value = t.id;
|
|
145
150
|
let r = "";
|
|
146
151
|
const w = e.value.style.chart.tooltip.customFormat;
|
|
147
|
-
|
|
152
|
+
pe(w) && Me(() => w({
|
|
148
153
|
seriesIndex: l,
|
|
149
154
|
datapoint: t,
|
|
150
155
|
series: C.value,
|
|
@@ -154,7 +159,7 @@ const Ke = ["id"], Qe = {
|
|
|
154
159
|
datapoint: t,
|
|
155
160
|
series: C.value,
|
|
156
161
|
config: e.value
|
|
157
|
-
}) : (r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (r += `<b>${
|
|
162
|
+
}) : (r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (r += `<b>${he(
|
|
158
163
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
159
164
|
t.value,
|
|
160
165
|
k({
|
|
@@ -174,48 +179,48 @@ const Ke = ["id"], Qe = {
|
|
|
174
179
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
175
180
|
})}</b></div>`), B.value = `<div>${r}</div>`);
|
|
176
181
|
}
|
|
177
|
-
const
|
|
182
|
+
const le = h(() => C.value.map((t, a) => ({
|
|
178
183
|
...t,
|
|
179
|
-
proportion: (t.value || 0) /
|
|
180
|
-
opacity:
|
|
184
|
+
proportion: (t.value || 0) / y.dataset.map((l) => (l.values || []).reduce((o, r) => o + r, 0)).reduce((l, o) => l + o, 0),
|
|
185
|
+
opacity: d.value.includes(t.id) ? 0.5 : 1,
|
|
181
186
|
shape: t.shape || "circle",
|
|
182
187
|
segregate: () => M(t),
|
|
183
|
-
isSegregated:
|
|
184
|
-
}))),
|
|
188
|
+
isSegregated: d.value.includes(t.id)
|
|
189
|
+
}))), _e = h(() => ({
|
|
185
190
|
cy: "galaxy-div-legend",
|
|
186
191
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
187
192
|
color: e.value.style.chart.legend.color,
|
|
188
193
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
189
194
|
paddingBottom: 12,
|
|
190
195
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
191
|
-
})), m =
|
|
196
|
+
})), m = h(() => {
|
|
192
197
|
const t = T.value.map((l) => ({
|
|
193
198
|
name: l.name,
|
|
194
199
|
color: l.color
|
|
195
200
|
})), a = T.value.map((l) => l.value);
|
|
196
201
|
return { head: t, body: a };
|
|
197
202
|
});
|
|
198
|
-
function
|
|
199
|
-
|
|
203
|
+
function ae() {
|
|
204
|
+
Le(() => {
|
|
200
205
|
const t = m.value.head.map((o, r) => [[
|
|
201
206
|
o.name
|
|
202
|
-
], [m.value.body[r]], [isNaN(m.value.body[r] / g.value) ? "-" : m.value.body[r] / g.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l =
|
|
203
|
-
|
|
207
|
+
], [m.value.body[r]], [isNaN(m.value.body[r] / g.value) ? "-" : m.value.body[r] / g.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = ze(a);
|
|
208
|
+
We({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
|
|
204
209
|
});
|
|
205
210
|
}
|
|
206
|
-
const
|
|
211
|
+
const O = h(() => {
|
|
207
212
|
const t = [
|
|
208
213
|
' <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>',
|
|
209
214
|
k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: g.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
210
215
|
"100%"
|
|
211
216
|
], a = m.value.head.map((r, w) => {
|
|
212
|
-
const
|
|
217
|
+
const Te = k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value.body[w], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
213
218
|
return [
|
|
214
219
|
{
|
|
215
220
|
color: r.color,
|
|
216
221
|
name: r.name
|
|
217
222
|
},
|
|
218
|
-
|
|
223
|
+
Te,
|
|
219
224
|
isNaN(m.value.body[w] / g.value) ? "-" : k({
|
|
220
225
|
v: m.value.body[w] / g.value * 100,
|
|
221
226
|
s: "%",
|
|
@@ -246,29 +251,42 @@ const Ke = ["id"], Qe = {
|
|
|
246
251
|
config: l
|
|
247
252
|
};
|
|
248
253
|
});
|
|
249
|
-
function
|
|
254
|
+
function oe() {
|
|
250
255
|
b.value.showTable = !b.value.showTable;
|
|
251
256
|
}
|
|
252
|
-
function
|
|
257
|
+
function se() {
|
|
253
258
|
b.value.showTooltip = !b.value.showTooltip;
|
|
254
259
|
}
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
260
|
+
const A = u(!1);
|
|
261
|
+
function W() {
|
|
262
|
+
A.value = !A.value;
|
|
263
|
+
}
|
|
264
|
+
return ge({
|
|
265
|
+
getData: Ce,
|
|
266
|
+
generatePdf: Z,
|
|
267
|
+
generateCsv: ae,
|
|
268
|
+
generateImage: ee,
|
|
269
|
+
toggleTable: oe,
|
|
270
|
+
toggleTooltip: se,
|
|
271
|
+
toggleAnnotator: W
|
|
262
272
|
}), (t, a) => (s(), n("div", {
|
|
263
273
|
ref_key: "galaxyChart",
|
|
264
|
-
ref:
|
|
265
|
-
class:
|
|
266
|
-
style:
|
|
274
|
+
ref: I,
|
|
275
|
+
class: F(`vue-ui-galaxy ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
276
|
+
style: H(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
|
|
267
277
|
id: `galaxy_${_.value}`
|
|
268
278
|
}, [
|
|
269
|
-
e.value.
|
|
270
|
-
|
|
271
|
-
|
|
279
|
+
e.value.userOptions.buttons.annotator ? (s(), $(Qe, {
|
|
280
|
+
key: 0,
|
|
281
|
+
parent: I.value,
|
|
282
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
283
|
+
color: e.value.style.chart.color,
|
|
284
|
+
active: A.value,
|
|
285
|
+
onClose: W
|
|
286
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : i("", !0),
|
|
287
|
+
e.value.style.chart.title.text ? (s(), n("div", tt, [
|
|
288
|
+
(s(), $(Ue, {
|
|
289
|
+
key: `title_${Y.value}`,
|
|
272
290
|
config: {
|
|
273
291
|
title: {
|
|
274
292
|
cy: "galaxy-div-title",
|
|
@@ -280,15 +298,15 @@ const Ke = ["id"], Qe = {
|
|
|
280
298
|
}
|
|
281
299
|
}
|
|
282
300
|
}, null, 8, ["config"]))
|
|
283
|
-
])) :
|
|
284
|
-
e.value.userOptions.show &&
|
|
301
|
+
])) : i("", !0),
|
|
302
|
+
e.value.userOptions.show && L.value ? (s(), $(je, {
|
|
285
303
|
ref_key: "details",
|
|
286
|
-
ref:
|
|
287
|
-
key: `user_option_${
|
|
304
|
+
ref: me,
|
|
305
|
+
key: `user_option_${R.value}`,
|
|
288
306
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
289
307
|
color: e.value.style.chart.color,
|
|
290
|
-
isPrinting:
|
|
291
|
-
isImaging:
|
|
308
|
+
isPrinting: p(K),
|
|
309
|
+
isImaging: p(Q),
|
|
292
310
|
uid: _.value,
|
|
293
311
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
294
312
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -299,81 +317,91 @@ const Ke = ["id"], Qe = {
|
|
|
299
317
|
isTooltip: b.value.showTooltip,
|
|
300
318
|
isFullscreen: P.value,
|
|
301
319
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
302
|
-
chartElement:
|
|
320
|
+
chartElement: I.value,
|
|
303
321
|
position: e.value.userOptions.position,
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
322
|
+
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
323
|
+
isAnnotation: A.value,
|
|
324
|
+
onToggleFullscreen: $e,
|
|
325
|
+
onGeneratePdf: p(Z),
|
|
326
|
+
onGenerateCsv: ae,
|
|
327
|
+
onGenerateImage: p(ee),
|
|
328
|
+
onToggleTable: oe,
|
|
329
|
+
onToggleTooltip: se,
|
|
330
|
+
onToggleAnnotator: W
|
|
331
|
+
}, Ne({ _: 2 }, [
|
|
311
332
|
t.$slots.optionTooltip ? {
|
|
312
333
|
name: "optionTooltip",
|
|
313
|
-
fn:
|
|
314
|
-
|
|
334
|
+
fn: c(() => [
|
|
335
|
+
v(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
315
336
|
]),
|
|
316
337
|
key: "0"
|
|
317
338
|
} : void 0,
|
|
318
339
|
t.$slots.optionPdf ? {
|
|
319
340
|
name: "optionPdf",
|
|
320
|
-
fn:
|
|
321
|
-
|
|
341
|
+
fn: c(() => [
|
|
342
|
+
v(t.$slots, "optionPdf", {}, void 0, !0)
|
|
322
343
|
]),
|
|
323
344
|
key: "1"
|
|
324
345
|
} : void 0,
|
|
325
346
|
t.$slots.optionCsv ? {
|
|
326
347
|
name: "optionCsv",
|
|
327
|
-
fn:
|
|
328
|
-
|
|
348
|
+
fn: c(() => [
|
|
349
|
+
v(t.$slots, "optionCsv", {}, void 0, !0)
|
|
329
350
|
]),
|
|
330
351
|
key: "2"
|
|
331
352
|
} : void 0,
|
|
332
353
|
t.$slots.optionImg ? {
|
|
333
354
|
name: "optionImg",
|
|
334
|
-
fn:
|
|
335
|
-
|
|
355
|
+
fn: c(() => [
|
|
356
|
+
v(t.$slots, "optionImg", {}, void 0, !0)
|
|
336
357
|
]),
|
|
337
358
|
key: "3"
|
|
338
359
|
} : void 0,
|
|
339
360
|
t.$slots.optionTable ? {
|
|
340
361
|
name: "optionTable",
|
|
341
|
-
fn:
|
|
342
|
-
|
|
362
|
+
fn: c(() => [
|
|
363
|
+
v(t.$slots, "optionTable", {}, void 0, !0)
|
|
343
364
|
]),
|
|
344
365
|
key: "4"
|
|
345
366
|
} : void 0,
|
|
346
367
|
t.$slots.optionFullscreen ? {
|
|
347
368
|
name: "optionFullscreen",
|
|
348
|
-
fn:
|
|
349
|
-
|
|
369
|
+
fn: c(({ toggleFullscreen: l, isFullscreen: o }) => [
|
|
370
|
+
v(t.$slots, "optionFullscreen", S(N({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
|
|
350
371
|
]),
|
|
351
372
|
key: "5"
|
|
373
|
+
} : void 0,
|
|
374
|
+
t.$slots.optionAnnotator ? {
|
|
375
|
+
name: "optionAnnotator",
|
|
376
|
+
fn: c(({ toggleAnnotator: l, isAnnotator: o }) => [
|
|
377
|
+
v(t.$slots, "optionAnnotator", S(N({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
|
|
378
|
+
]),
|
|
379
|
+
key: "6"
|
|
352
380
|
} : void 0
|
|
353
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) :
|
|
354
|
-
|
|
355
|
-
key:
|
|
356
|
-
xmlns:
|
|
357
|
-
class:
|
|
381
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : i("", !0),
|
|
382
|
+
L.value ? (s(), n("svg", {
|
|
383
|
+
key: 3,
|
|
384
|
+
xmlns: p(Ge),
|
|
385
|
+
class: F({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
|
|
358
386
|
viewBox: `0 0 ${G.value.width} ${G.value.height}`,
|
|
359
|
-
style:
|
|
387
|
+
style: H(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
360
388
|
}, [
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
389
|
+
re(Ke),
|
|
390
|
+
x("defs", null, [
|
|
391
|
+
x("filter", {
|
|
364
392
|
id: `blur_${_.value}`,
|
|
365
393
|
x: "-50%",
|
|
366
394
|
y: "-50%",
|
|
367
395
|
width: "200%",
|
|
368
396
|
height: "200%"
|
|
369
397
|
}, [
|
|
370
|
-
|
|
398
|
+
x("feGaussianBlur", {
|
|
371
399
|
in: "SourceGraphic",
|
|
372
400
|
stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
|
|
373
|
-
}, null, 8,
|
|
374
|
-
], 8,
|
|
401
|
+
}, null, 8, ot)
|
|
402
|
+
], 8, at)
|
|
375
403
|
]),
|
|
376
|
-
(s(!0), n(
|
|
404
|
+
(s(!0), n(ue, null, ne(T.value, (l) => (s(), n("g", null, [
|
|
377
405
|
l.value ? (s(), n("path", {
|
|
378
406
|
key: 0,
|
|
379
407
|
d: l.path,
|
|
@@ -381,7 +409,7 @@ const Ke = ["id"], Qe = {
|
|
|
381
409
|
stroke: e.value.style.chart.backgroundColor,
|
|
382
410
|
"stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
383
411
|
"stroke-linecap": "round"
|
|
384
|
-
}, null, 8,
|
|
412
|
+
}, null, 8, st)) : i("", !0),
|
|
385
413
|
l.value ? (s(), n("path", {
|
|
386
414
|
key: 1,
|
|
387
415
|
d: l.path,
|
|
@@ -389,23 +417,23 @@ const Ke = ["id"], Qe = {
|
|
|
389
417
|
stroke: l.color,
|
|
390
418
|
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
391
419
|
"stroke-linecap": "round",
|
|
392
|
-
class:
|
|
393
|
-
}, null, 10,
|
|
420
|
+
class: F(`${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
421
|
+
}, null, 10, rt)) : i("", !0),
|
|
394
422
|
l.value && e.value.style.chart.layout.arcs.gradient.show ? (s(), n("g", {
|
|
395
423
|
key: 2,
|
|
396
424
|
filter: `url(#blur_${_.value})`
|
|
397
425
|
}, [
|
|
398
|
-
|
|
426
|
+
x("path", {
|
|
399
427
|
d: l.path,
|
|
400
428
|
fill: "none",
|
|
401
429
|
stroke: e.value.style.chart.layout.arcs.gradient.color,
|
|
402
430
|
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
403
431
|
"stroke-linecap": "round",
|
|
404
|
-
class:
|
|
405
|
-
}, null, 10,
|
|
406
|
-
], 8,
|
|
432
|
+
class: F(`vue-ui-galaxy-gradient ${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
433
|
+
}, null, 10, nt)
|
|
434
|
+
], 8, ut)) : i("", !0)
|
|
407
435
|
]))), 256)),
|
|
408
|
-
(s(!0), n(
|
|
436
|
+
(s(!0), n(ue, null, ne(T.value, (l, o) => (s(), n("g", null, [
|
|
409
437
|
l.value ? (s(), n("path", {
|
|
410
438
|
key: 0,
|
|
411
439
|
d: l.path,
|
|
@@ -413,7 +441,7 @@ const Ke = ["id"], Qe = {
|
|
|
413
441
|
stroke: "transparent",
|
|
414
442
|
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth,
|
|
415
443
|
"stroke-linecap": "round",
|
|
416
|
-
onMouseenter: (r) =>
|
|
444
|
+
onMouseenter: (r) => xe({
|
|
417
445
|
datapoint: l,
|
|
418
446
|
relativeIndex: o,
|
|
419
447
|
seriesIndex: l.seriesIndex,
|
|
@@ -422,16 +450,16 @@ const Ke = ["id"], Qe = {
|
|
|
422
450
|
onMouseleave: a[0] || (a[0] = (r) => {
|
|
423
451
|
V.value = !1, f.value = null;
|
|
424
452
|
}),
|
|
425
|
-
onClick: (r) =>
|
|
426
|
-
}, null, 40,
|
|
453
|
+
onClick: (r) => U("selectDatapoint", l)
|
|
454
|
+
}, null, 40, it)) : i("", !0)
|
|
427
455
|
]))), 256)),
|
|
428
|
-
|
|
429
|
-
], 14,
|
|
430
|
-
t.$slots.watermark ? (s(), n("div",
|
|
431
|
-
|
|
432
|
-
])) :
|
|
433
|
-
|
|
434
|
-
key:
|
|
456
|
+
v(t.$slots, "svg", { svg: G.value }, void 0, !0)
|
|
457
|
+
], 14, lt)) : i("", !0),
|
|
458
|
+
t.$slots.watermark ? (s(), n("div", ct, [
|
|
459
|
+
v(t.$slots, "watermark", S(N({ isPrinting: p(K) || p(Q) })), void 0, !0)
|
|
460
|
+
])) : i("", !0),
|
|
461
|
+
L.value ? i("", !0) : (s(), $(qe, {
|
|
462
|
+
key: 5,
|
|
435
463
|
config: {
|
|
436
464
|
type: "galaxy",
|
|
437
465
|
style: {
|
|
@@ -442,21 +470,21 @@ const Ke = ["id"], Qe = {
|
|
|
442
470
|
}
|
|
443
471
|
}
|
|
444
472
|
}, null, 8, ["config"])),
|
|
445
|
-
e.value.style.chart.legend.show ? (s(),
|
|
446
|
-
key: `legend_${
|
|
447
|
-
legendSet:
|
|
448
|
-
config:
|
|
473
|
+
e.value.style.chart.legend.show ? (s(), $(He, {
|
|
474
|
+
key: `legend_${q.value}`,
|
|
475
|
+
legendSet: le.value,
|
|
476
|
+
config: _e.value,
|
|
449
477
|
onClickMarker: a[1] || (a[1] = ({ legend: l }) => M(l))
|
|
450
478
|
}, {
|
|
451
|
-
item:
|
|
452
|
-
|
|
479
|
+
item: c(({ legend: l, index: o }) => [
|
|
480
|
+
x("div", {
|
|
453
481
|
onClick: (r) => M(l),
|
|
454
|
-
style:
|
|
482
|
+
style: H(`opacity:${d.value.includes(l.id) ? 0.5 : 1}`)
|
|
455
483
|
}, [
|
|
456
|
-
|
|
484
|
+
ie(E(l.name) + ": " + E(p(he)(
|
|
457
485
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
458
486
|
l.value,
|
|
459
|
-
|
|
487
|
+
p(k)({
|
|
460
488
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
461
489
|
v: l.value,
|
|
462
490
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -464,17 +492,20 @@ const Ke = ["id"], Qe = {
|
|
|
464
492
|
}),
|
|
465
493
|
{ datapoint: l, seriesIndex: o }
|
|
466
494
|
)) + " ", 1),
|
|
467
|
-
|
|
495
|
+
d.value.includes(l.id) ? (s(), n("span", ht, " ( - % ) ")) : (s(), n("span", dt, " (" + E(isNaN(l.value / g.value) ? "-" : p(k)({
|
|
468
496
|
v: l.value / g.value * 100,
|
|
469
497
|
s: "%",
|
|
470
498
|
r: e.value.style.chart.legend.roundingPercentage
|
|
471
499
|
})) + ") ", 1))
|
|
472
|
-
], 12,
|
|
500
|
+
], 12, vt)
|
|
473
501
|
]),
|
|
474
502
|
_: 1
|
|
475
|
-
}, 8, ["legendSet", "config"])) :
|
|
476
|
-
|
|
477
|
-
|
|
503
|
+
}, 8, ["legendSet", "config"])) : i("", !0),
|
|
504
|
+
v(t.$slots, "legend", { legend: le.value }, void 0, !0),
|
|
505
|
+
t.$slots.source ? (s(), n("div", pt, [
|
|
506
|
+
v(t.$slots, "source", {}, void 0, !0)
|
|
507
|
+
], 512)) : i("", !0),
|
|
508
|
+
re(Xe, {
|
|
478
509
|
show: b.value.showTooltip && V.value,
|
|
479
510
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
480
511
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -485,20 +516,20 @@ const Ke = ["id"], Qe = {
|
|
|
485
516
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
486
517
|
position: e.value.style.chart.tooltip.position,
|
|
487
518
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
488
|
-
parent:
|
|
519
|
+
parent: I.value,
|
|
489
520
|
content: B.value,
|
|
490
|
-
isCustom:
|
|
521
|
+
isCustom: p(pe)(e.value.style.chart.tooltip.customFormat)
|
|
491
522
|
}, {
|
|
492
|
-
"tooltip-before":
|
|
493
|
-
|
|
523
|
+
"tooltip-before": c(() => [
|
|
524
|
+
v(t.$slots, "tooltip-before", S(N({ ...z.value })), void 0, !0)
|
|
494
525
|
]),
|
|
495
|
-
"tooltip-after":
|
|
496
|
-
|
|
526
|
+
"tooltip-after": c(() => [
|
|
527
|
+
v(t.$slots, "tooltip-after", S(N({ ...z.value })), void 0, !0)
|
|
497
528
|
]),
|
|
498
529
|
_: 3
|
|
499
530
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
500
|
-
|
|
501
|
-
key:
|
|
531
|
+
L.value ? (s(), $(Je, {
|
|
532
|
+
key: 8,
|
|
502
533
|
hideDetails: "",
|
|
503
534
|
config: {
|
|
504
535
|
open: b.value.showTable,
|
|
@@ -513,33 +544,33 @@ const Ke = ["id"], Qe = {
|
|
|
513
544
|
}
|
|
514
545
|
}
|
|
515
546
|
}, {
|
|
516
|
-
content:
|
|
517
|
-
(s(),
|
|
518
|
-
key: `table_${
|
|
519
|
-
colNames:
|
|
520
|
-
head:
|
|
521
|
-
body:
|
|
522
|
-
config:
|
|
547
|
+
content: c(() => [
|
|
548
|
+
(s(), $(Re, {
|
|
549
|
+
key: `table_${j.value}`,
|
|
550
|
+
colNames: O.value.colNames,
|
|
551
|
+
head: O.value.head,
|
|
552
|
+
body: O.value.body,
|
|
553
|
+
config: O.value.config,
|
|
523
554
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
524
555
|
onClose: a[2] || (a[2] = (l) => b.value.showTable = !1)
|
|
525
556
|
}, {
|
|
526
|
-
th:
|
|
527
|
-
|
|
557
|
+
th: c(({ th: l }) => [
|
|
558
|
+
x("div", {
|
|
528
559
|
innerHTML: l,
|
|
529
560
|
style: { display: "flex", "align-items": "center" }
|
|
530
|
-
}, null, 8,
|
|
561
|
+
}, null, 8, yt)
|
|
531
562
|
]),
|
|
532
|
-
td:
|
|
533
|
-
|
|
563
|
+
td: c(({ td: l }) => [
|
|
564
|
+
ie(E(l.name || l), 1)
|
|
534
565
|
]),
|
|
535
566
|
_: 1
|
|
536
567
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
537
568
|
]),
|
|
538
569
|
_: 1
|
|
539
|
-
}, 8, ["config"])) :
|
|
540
|
-
], 14,
|
|
570
|
+
}, 8, ["config"])) : i("", !0)
|
|
571
|
+
], 14, et));
|
|
541
572
|
}
|
|
542
|
-
},
|
|
573
|
+
}, Lt = /* @__PURE__ */ Ze(ft, [["__scopeId", "data-v-f8542232"]]);
|
|
543
574
|
export {
|
|
544
|
-
|
|
575
|
+
Lt as default
|
|
545
576
|
};
|