vue-data-ui 2.4.2 → 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/dist/{Arrow-JuK2z9IB.js → Arrow-C7lNL7sY.js} +1 -1
- package/dist/{Arrow-DLTRnzcG.cjs → Arrow-Dz6AomGr.cjs} +1 -1
- package/dist/{BaseIcon-rRli6Sfv.js → BaseIcon-BbvG1AlW.js} +1 -1
- package/dist/{BaseIcon-BGExhz6v.cjs → BaseIcon-uALK38Ov.cjs} +1 -1
- package/dist/{DataTable-DJzhv96s.cjs → DataTable-DTzynbND.cjs} +1 -1
- package/dist/{DataTable-DTk7C4Pr.js → DataTable-DYqC2pqu.js} +2 -2
- package/dist/{Legend-YZ7Hz3o1.cjs → Legend-Cgw4lO2O.cjs} +1 -1
- package/dist/{Legend-CYF2gpXG.js → Legend-DNgTCgEK.js} +1 -1
- package/dist/{PackageVersion-DVZtsuy4.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
- package/dist/{PackageVersion-CvCRsT5_.js → PackageVersion-VkaUzgmt.js} +1 -1
- package/dist/{PenAndPaper-CyXm-yVL.cjs → PenAndPaper-CDFVOo7X.cjs} +1 -1
- package/dist/{PenAndPaper-Jb0pLt3G.js → PenAndPaper-DAZYA8Ew.js} +2 -2
- package/dist/{Shape-BpPn4eWR.js → Shape-Bwon0l0g.js} +1 -1
- package/dist/{Shape-X2F-QV_B.cjs → Shape-D2Dpshg1.cjs} +1 -1
- package/dist/{Slicer-CU7dRZR0.js → Slicer-TfpN2Cr4.js} +3 -3
- package/dist/{Slicer-CL0tP5a5.cjs → Slicer-uSjfNJjG.cjs} +1 -1
- package/dist/{Title-Co5jI5ed.cjs → Title-0Tp4hZ4u.cjs} +1 -1
- package/dist/{Title-5VmBwT4i.js → Title-C5pIfQAz.js} +1 -1
- package/dist/{Tooltip-Bl6W8Zn7.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
- package/dist/{Tooltip-Cj4EF7v1.js → Tooltip-Cz24YLfw.js} +1 -1
- package/dist/{index-DnVHQ2xI.js → index-Bya_q1J-.js} +4 -1
- package/dist/index-eFox7weK.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +4 -1
- package/dist/types/vue-data-ui.d.ts +4 -1
- package/dist/{useNestedProp-Cox0K0Y5.js → useNestedProp-B33hazbH.js} +1 -1
- package/dist/{useNestedProp-q7byAAIJ.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
- package/dist/{usePrinter-BCAFeO_J.cjs → usePrinter-CSRFnDBU.cjs} +1 -1
- package/dist/{usePrinter-BEeNAqS5.js → usePrinter-CiHd1FwD.js} +1 -1
- package/dist/useResponsive-BY8tgM1n.js +188 -0
- package/dist/useResponsive-CodiGUOE.cjs +1 -0
- package/dist/{vue-data-ui-CRLLZpt0.cjs → vue-data-ui-BTtxyUc3.cjs} +1 -1
- package/dist/{vue-data-ui-W7nnqn0v.js → vue-data-ui-Bduq4f2p.js} +58 -58
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-bD_n6qL_.cjs → vue-ui-3d-bar-B-P7PMHs.cjs} +2 -2
- package/dist/{vue-ui-3d-bar-BwBrUabe.js → vue-ui-3d-bar-BUEq_VdY.js} +41 -34
- package/dist/{vue-ui-accordion-DspS4q3f.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
- package/dist/{vue-ui-accordion-xXgqfR2l.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-CxBvm3uM.js → vue-ui-age-pyramid-CH72tAMb.js} +163 -154
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
- package/dist/{vue-ui-annotator-BOofWpzv.js → vue-ui-annotator-DPeJ2its.js} +1 -1
- package/dist/{vue-ui-annotator-C6T5_7ZV.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
- package/dist/{vue-ui-bullet-DraC-oFu.js → vue-ui-bullet-CtP3MlUT.js} +167 -136
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
- package/dist/{vue-ui-candlestick-DQZ5eT1f.js → vue-ui-candlestick-DDil13a0.js} +173 -164
- package/dist/{vue-ui-carousel-table-PdLjpH1p.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
- package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
- package/dist/{vue-ui-chestnut-ByI_O5hB.js → vue-ui-chestnut-BczSJF6S.js} +96 -89
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
- package/dist/{vue-ui-cursor-BvadpA2m.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
- package/dist/{vue-ui-cursor-BM74l93B.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
- package/dist/{vue-ui-dashboard-CoANBhAM.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
- package/dist/{vue-ui-dashboard-OP51Gs8I.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
- package/dist/{vue-ui-digits-DioaBnkB.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
- package/dist/{vue-ui-digits-C7jJJg9k.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
- package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
- package/dist/{vue-ui-donut-ldqSm_JV.js → vue-ui-donut-DUcp-fat.js} +244 -235
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DAb1xzNd.js → vue-ui-donut-evolution-C_YMbTwq.js} +125 -118
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
- package/dist/{vue-ui-dumbbell-Dg7PkiKJ.js → vue-ui-dumbbell-Buwngz_V.js} +192 -183
- package/dist/{vue-ui-flow-DKT7ZEnr.js → vue-ui-flow-Bz3c0K5P.js} +78 -71
- package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
- package/dist/{vue-ui-galaxy-qAA9be3S.js → vue-ui-galaxy-Cjh0XGTX.js} +49 -42
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
- package/dist/{vue-ui-gauge-D8yVTIgP.js → vue-ui-gauge-B1UvGkQa.js} +160 -151
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
- package/dist/{vue-ui-gizmo-W6bTkg59.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DC0uUwI3.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
- package/dist/{vue-ui-heatmap-u1raIzBQ.js → vue-ui-heatmap-C-poazUw.js} +110 -103
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
- package/dist/{vue-ui-kpi-C-iTxMD2.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
- package/dist/{vue-ui-kpi-DY_2WF7U.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7x7S0hi.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
- package/dist/{vue-ui-mini-loader-Bfq2MNWu.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
- package/dist/{vue-ui-molecule-BFnOIxxs.js → vue-ui-molecule-BaJpDZND.js} +78 -71
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
- package/dist/{vue-ui-mood-radar-CR1v5v2x.js → vue-ui-mood-radar-BUNDwsEI.js} +132 -125
- 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-DEiloQzq.js → vue-ui-nested-donuts-mDy2hXa6.js} +198 -189
- package/dist/{vue-ui-onion-LsEhBe4x.js → vue-ui-onion-DwFG3HAI.js} +248 -239
- 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-CTlIjJqG.js → vue-ui-parallel-coordinate-plot-ImET_zeo.js} +233 -224
- package/dist/{vue-ui-quadrant-DKVVFufb.js → vue-ui-quadrant-BeveRihK.js} +188 -179
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
- package/dist/{vue-ui-quick-chart-8vJikiGH.js → vue-ui-quick-chart-DAhllTfa.js} +343 -334
- package/dist/{vue-ui-quick-chart-gG5Ar8-i.cjs → vue-ui-quick-chart-DgFDBzjS.cjs} +2 -2
- package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
- package/dist/{vue-ui-radar-20QhOUer.js → vue-ui-radar-BllatzRa.js} +174 -165
- package/dist/{vue-ui-rating-Bbzm5nUK.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
- package/dist/{vue-ui-rating-DRWJsve1.js → vue-ui-rating-D1ykV4xO.js} +2 -2
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
- package/dist/{vue-ui-relation-circle-I45_Sk5l.js → vue-ui-relation-circle-xv2l5Be9.js} +142 -133
- package/dist/{vue-ui-rings-DG8GCi3y.js → vue-ui-rings-B-ZcX6y1.js} +165 -156
- package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
- package/dist/{vue-ui-scatter-Hqu5-F2H.js → vue-ui-scatter-DG43ck1g.js} +269 -260
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
- package/dist/{vue-ui-screenshot-D8nxd5RV.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
- package/dist/{vue-ui-screenshot-cjiqbtLK.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
- package/dist/{vue-ui-skeleton-aZmkNzAe.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
- package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
- package/dist/{vue-ui-smiley-B1TA19Hv.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
- package/dist/{vue-ui-smiley-ChNvxygm.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
- package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CQxELQcf.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
- package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
- package/dist/{vue-ui-sparkbar-0ixbKZzf.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
- package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-pdYb7OwH.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
- package/dist/{vue-ui-sparkhistogram-N69h2q0U.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-2BKYZMOb.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
- package/dist/{vue-ui-sparkstackbar-sh03cuOU.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
- package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
- package/dist/{vue-ui-stackbar-B1si-1RM.js → vue-ui-stackbar-ByOuJSdM.js} +205 -196
- package/dist/{vue-ui-stackbar-Dy_saeSe.cjs → vue-ui-stackbar-wun4S3C0.cjs} +2 -2
- package/dist/{vue-ui-strip-plot-BYn-QrTQ.js → vue-ui-strip-plot-CMD0MSqY.js} +218 -209
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
- package/dist/{vue-ui-table-DQORPCDJ.js → vue-ui-table-B75DJ39t.js} +1 -1
- package/dist/{vue-ui-table-Ce4waJaj.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Csp7Tx8N.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-DdwVrfUj.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
- package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
- package/dist/{vue-ui-thermometer-I6ZnlfAv.js → vue-ui-thermometer-Pq4PvSIP.js} +67 -60
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
- package/dist/{vue-ui-timer-COOXcn14.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
- package/dist/{vue-ui-timer-pi1SazTU.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
- package/dist/{vue-ui-tiremarks-vdPQYiDp.js → vue-ui-tiremarks-CU9HJIqf.js} +84 -77
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
- package/dist/{vue-ui-treemap-3FNUlKxL.js → vue-ui-treemap-DY-lRAhC.js} +211 -202
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-DwxpB46q.js → vue-ui-vertical-bar-CtnIKsM1.js} +359 -350
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
- package/dist/{vue-ui-waffle-XecHJIc-.js → vue-ui-waffle-reOsx-gJ.js} +177 -168
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
- package/dist/{vue-ui-wheel-Bbih5sSL.js → vue-ui-wheel-kYxny3vn.js} +95 -86
- package/dist/{vue-ui-word-cloud-DnhXUn5x.js → vue-ui-word-cloud-DbMqrHAf.js} +192 -183
- 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-C8c2X5fk.js → vue-ui-xy-canvas-B0HTR7OV.js} +255 -246
- package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
- package/dist/{vue-ui-xy-CqlRuFMc.js → vue-ui-xy-rbACig0h.js} +131 -122
- package/package.json +1 -1
- package/dist/index-FfZRtJ6A.cjs +0 -9
- package/dist/useResponsive-B3TrDDIG.cjs +0 -1
- package/dist/useResponsive-NZB-WLRF.js +0 -187
- package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +0 -1
- package/dist/vue-ui-bullet-ChaEgXvR.cjs +0 -23
- package/dist/vue-ui-candlestick--hPCfMFH.cjs +0 -2
- package/dist/vue-ui-carousel-table-DpRQklDZ.cjs +0 -1
- package/dist/vue-ui-chestnut-ae6x87wl.cjs +0 -6
- package/dist/vue-ui-donut-CplNylps.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +0 -1
- package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +0 -9
- package/dist/vue-ui-flow-BPt35d5K.cjs +0 -1
- package/dist/vue-ui-galaxy-e06PkTmp.cjs +0 -1
- package/dist/vue-ui-gauge-DiZVIU0D.cjs +0 -1
- package/dist/vue-ui-heatmap-CbZcv_2I.cjs +0 -1
- package/dist/vue-ui-molecule-CbKMLrDT.cjs +0 -1
- package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +0 -17
- package/dist/vue-ui-onion-CLvvu4Ku.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +0 -8
- package/dist/vue-ui-quadrant-OM5J1mG3.cjs +0 -1
- package/dist/vue-ui-radar-CAaHjDO7.cjs +0 -1
- package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +0 -1
- package/dist/vue-ui-rings-B9WQ7S5m.cjs +0 -2
- package/dist/vue-ui-scatter-BZfg1YIN.cjs +0 -1
- package/dist/vue-ui-skeleton-Djv08J67.cjs +0 -41
- package/dist/vue-ui-spark-trend-BqrPr63O.cjs +0 -1
- package/dist/vue-ui-sparkbar-CrTEPTU5.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BYxpe_WV.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-D21XDUH2.cjs +0 -1
- package/dist/vue-ui-sparkline-Cf4m-Fxo.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-dAS8XoJs.cjs +0 -1
- package/dist/vue-ui-strip-plot-D53LABpZ.cjs +0 -1
- package/dist/vue-ui-table-heatmap-EqHt-O7Y.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DONmVOMh.cjs +0 -1
- package/dist/vue-ui-thermometer-hQBkMa7u.cjs +0 -1
- package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +0 -1
- package/dist/vue-ui-treemap-Cv0TSFQa.cjs +0 -1
- package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +0 -4
- package/dist/vue-ui-waffle-CKM0QyJN.cjs +0 -1
- package/dist/vue-ui-wheel-C0dJrzOJ.cjs +0 -1
- package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +0 -1
- package/dist/vue-ui-xy-BDpqVzAq.cjs +0 -3
- package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +0 -9
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { computed as p, ref as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import
|
|
8
|
-
import { L as
|
|
9
|
-
import { D as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { u as
|
|
13
|
-
import { _ as
|
|
14
|
-
import { P as
|
|
15
|
-
import { _ as
|
|
16
|
-
const
|
|
1
|
+
import { computed as p, ref as u, watch as Be, onMounted as De, onBeforeUnmount as Ge, openBlock as r, createElementBlock as s, normalizeClass as z, normalizeStyle as Q, createBlock as w, createCommentVNode as h, unref as g, createSlots as We, withCtx as y, renderSlot as m, normalizeProps as R, guardReactiveProps as M, createVNode as Z, createElementVNode as $, Fragment as P, renderList as T, toDisplayString as V, createTextVNode as _e, nextTick as Xe } from "vue";
|
|
2
|
+
import { u as Ye, c as je, t as qe, a as He, p as x, o as Je, e as S, b as Ke, g as we, d as $e, O as Pe, v as Qe, i as Te, f as U, X as Ze, s as ee, w as et, P as xe, x as tt, y as at, q as ot, r as lt } from "./index-Bya_q1J-.js";
|
|
3
|
+
import { t as rt, u as nt } from "./useResponsive-BY8tgM1n.js";
|
|
4
|
+
import { _ as st } from "./Title-C5pIfQAz.js";
|
|
5
|
+
import { u as ut, U as it } from "./usePrinter-CiHd1FwD.js";
|
|
6
|
+
import { _ as ct } from "./Tooltip-Cz24YLfw.js";
|
|
7
|
+
import dt from "./vue-ui-sparkbar-CwqlyAyv.js";
|
|
8
|
+
import { L as vt } from "./Legend-DNgTCgEK.js";
|
|
9
|
+
import { D as pt } from "./DataTable-DYqC2pqu.js";
|
|
10
|
+
import ht from "./vue-ui-skeleton-BYssP0K4.js";
|
|
11
|
+
import gt from "./vue-ui-accordion-DfUfL2dI.js";
|
|
12
|
+
import { u as Ae } from "./useNestedProp-B33hazbH.js";
|
|
13
|
+
import { _ as ft } from "./PackageVersion-VkaUzgmt.js";
|
|
14
|
+
import { P as yt } from "./PenAndPaper-DAZYA8Ew.js";
|
|
15
|
+
import { _ as mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"], wt = ["stop-color"], $t = { key: 0 }, Pt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Tt = { key: 0 }, xt = ["d", "stroke", "stroke-width"], At = ["d", "stroke", "stroke-width"], Ot = { key: 1 }, Nt = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], St = ["points", "stroke", "stroke-width"], Ft = ["points", "stroke", "stroke-width", "fill"], It = { key: 2 }, Lt = ["cx", "cy", "fill", "r", "stroke"], zt = {
|
|
17
17
|
key: 4,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
19
|
+
}, Rt = ["onClick"], Mt = {
|
|
20
20
|
key: 0,
|
|
21
21
|
style: { "max-width": "200px", margin: "0 auto" }
|
|
22
|
-
},
|
|
22
|
+
}, Vt = {
|
|
23
23
|
__name: "vue-ui-radar",
|
|
24
24
|
props: {
|
|
25
25
|
config: {
|
|
@@ -36,59 +36,60 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
emits: ["selectLegend"],
|
|
39
|
-
setup(
|
|
40
|
-
const v =
|
|
41
|
-
get: () =>
|
|
39
|
+
setup(Oe, { expose: Ne, emit: Se }) {
|
|
40
|
+
const v = Oe, { vue_ui_radar: Fe } = Ye(), F = p(() => !!v.dataset && Object.keys(v.dataset).length), _ = u(je()), Ie = u(null), W = u(!1), X = u(""), te = u(0), A = u(null), ae = u(null), oe = u(null), le = u(null), re = u(0), ne = u(0), se = u(0), e = p({
|
|
41
|
+
get: () => ue(),
|
|
42
42
|
set: (t) => t
|
|
43
43
|
});
|
|
44
|
-
function
|
|
45
|
-
const t =
|
|
44
|
+
function ue() {
|
|
45
|
+
const t = Ae({
|
|
46
46
|
userConfig: v.config,
|
|
47
|
-
defaultConfig:
|
|
47
|
+
defaultConfig: Fe
|
|
48
48
|
});
|
|
49
49
|
return t.theme ? {
|
|
50
|
-
...
|
|
51
|
-
userConfig:
|
|
50
|
+
...Ae({
|
|
51
|
+
userConfig: qe.vue_ui_radar[t.theme] || v.config,
|
|
52
52
|
defaultConfig: t
|
|
53
53
|
}),
|
|
54
|
-
customPalette:
|
|
54
|
+
customPalette: He[t.theme] || x
|
|
55
55
|
} : t;
|
|
56
56
|
}
|
|
57
|
-
|
|
58
|
-
e.value =
|
|
57
|
+
Be(() => v.config, (t) => {
|
|
58
|
+
e.value = ue(), ie(), re.value += 1, ne.value += 1, se.value += 1;
|
|
59
59
|
}, { deep: !0 });
|
|
60
|
-
const E =
|
|
61
|
-
function
|
|
62
|
-
if (
|
|
60
|
+
const E = u(null);
|
|
61
|
+
function ie() {
|
|
62
|
+
if (Je(v.dataset) && S({
|
|
63
63
|
componentName: "VueUiRadar",
|
|
64
64
|
type: "dataset"
|
|
65
65
|
}), e.value.responsive) {
|
|
66
|
-
const t =
|
|
67
|
-
const { width: a, height: o } =
|
|
66
|
+
const t = rt(() => {
|
|
67
|
+
const { width: a, height: o } = nt({
|
|
68
68
|
chart: A.value,
|
|
69
69
|
title: e.value.style.chart.title.text ? ae.value : null,
|
|
70
|
-
legend: e.value.style.chart.legend.show ? oe.value : null
|
|
70
|
+
legend: e.value.style.chart.legend.show ? oe.value : null,
|
|
71
|
+
source: le.value
|
|
71
72
|
});
|
|
72
|
-
|
|
73
|
+
i.value.width = a, i.value.height = o;
|
|
73
74
|
});
|
|
74
75
|
E.value = new ResizeObserver(t), E.value.observe(A.value.parentNode);
|
|
75
76
|
}
|
|
76
77
|
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}),
|
|
78
|
+
De(() => {
|
|
79
|
+
ie();
|
|
80
|
+
}), Ge(() => {
|
|
80
81
|
E.value && E.value.disconnect();
|
|
81
82
|
});
|
|
82
|
-
const { isPrinting:
|
|
83
|
+
const { isPrinting: ce, isImaging: de, generatePdf: ve, generateImage: pe } = ut({
|
|
83
84
|
elementId: `vue-ui-radar_${_.value}`,
|
|
84
85
|
fileName: e.value.style.chart.title.text || "vue-ui-radar"
|
|
85
|
-
}),
|
|
86
|
+
}), he = p(() => Ke(e.value.customPalette)), k = u({
|
|
86
87
|
dataLabels: {
|
|
87
88
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
88
89
|
},
|
|
89
90
|
showTable: e.value.table.show,
|
|
90
91
|
showTooltip: e.value.style.chart.tooltip.show
|
|
91
|
-
}),
|
|
92
|
+
}), Le = p(() => ({
|
|
92
93
|
style: {
|
|
93
94
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
94
95
|
animation: {
|
|
@@ -106,22 +107,22 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
106
107
|
opacity: 30
|
|
107
108
|
}
|
|
108
109
|
}
|
|
109
|
-
})),
|
|
110
|
+
})), i = u({
|
|
110
111
|
height: 312,
|
|
111
112
|
width: 512
|
|
112
|
-
}), c =
|
|
113
|
-
function
|
|
113
|
+
}), c = u([]), I = u(null), O = u(!1);
|
|
114
|
+
function ge(t) {
|
|
114
115
|
O.value = !0, c.value.includes(t) ? (I.value = t, c.value = c.value.filter((a) => a !== t), setTimeout(() => {
|
|
115
116
|
O.value = !1, I.value = null;
|
|
116
117
|
}, 500)) : (c.value.push(t), setTimeout(() => {
|
|
117
118
|
O.value = !1;
|
|
118
|
-
}, 500)),
|
|
119
|
+
}, 500)), Se("selectLegend", N.value.filter((a, o) => !c.value.includes(o)).map((a) => ({
|
|
119
120
|
name: a.name,
|
|
120
121
|
color: a.color,
|
|
121
122
|
proportion: a.totalProportion
|
|
122
123
|
})));
|
|
123
124
|
}
|
|
124
|
-
function
|
|
125
|
+
function ze() {
|
|
125
126
|
return N.value.map((t) => ({
|
|
126
127
|
name: t.name,
|
|
127
128
|
color: t.color,
|
|
@@ -137,7 +138,7 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
137
138
|
type: "datasetAttributeEmpty",
|
|
138
139
|
property: "categories"
|
|
139
140
|
}) : v.dataset.categories.forEach((t, a) => {
|
|
140
|
-
|
|
141
|
+
we({
|
|
141
142
|
datasetObject: t,
|
|
142
143
|
requiredAttributes: ["name"]
|
|
143
144
|
}).forEach((o) => {
|
|
@@ -153,7 +154,7 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
153
154
|
type: "datasetAttribute",
|
|
154
155
|
property: "series ({ name: string; values: number[]; color?: string; target: number}[])"
|
|
155
156
|
}) : v.dataset.series.forEach((t, a) => {
|
|
156
|
-
|
|
157
|
+
we({
|
|
157
158
|
datasetObject: t,
|
|
158
159
|
requiredAttributes: ["name", "values", "target"]
|
|
159
160
|
}).forEach((o) => {
|
|
@@ -168,31 +169,31 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
168
169
|
}), v.dataset.categories.map((t, a) => ({
|
|
169
170
|
name: t.name,
|
|
170
171
|
categoryId: `radar_category_${_.value}_${a}`,
|
|
171
|
-
color:
|
|
172
|
+
color: $e(t.color) || he.value[a] || x[a] || x[a % x.length],
|
|
172
173
|
prefix: t.prefix ?? "",
|
|
173
174
|
suffix: t.suffix ?? ""
|
|
174
175
|
})))), b = p(() => F.value ? v.dataset.series.map((t, a) => ({
|
|
175
176
|
...t,
|
|
176
|
-
color:
|
|
177
|
+
color: $e(t.color) || he.value[a] || x[a] || x[a % x.length],
|
|
177
178
|
serieId: `radar_serie_${_.value}_${a}`,
|
|
178
179
|
formatter: t.formatter || null
|
|
179
|
-
})) : []),
|
|
180
|
-
plot: { x:
|
|
180
|
+
})) : []), fe = p(() => Math.max(...b.value.flatMap((t) => t.values))), ye = p(() => b.value.length), Y = p(() => Math.min(i.value.width, i.value.height) / 3), me = p(() => Pe({
|
|
181
|
+
plot: { x: i.value.width / 2, y: i.value.height / 2 },
|
|
181
182
|
radius: Y.value,
|
|
182
|
-
sides:
|
|
183
|
+
sides: ye.value,
|
|
183
184
|
rotation: 0
|
|
184
|
-
})),
|
|
185
|
+
})), Re = p(() => {
|
|
185
186
|
const t = [];
|
|
186
187
|
for (let a = 0; a < Y.value; a += Y.value / e.value.style.chart.layout.grid.graduations)
|
|
187
188
|
t.push(a);
|
|
188
189
|
return t;
|
|
189
|
-
}), C = p(() =>
|
|
190
|
-
const o = b.value[a].values.map((l) =>
|
|
191
|
-
centerX:
|
|
192
|
-
centerY:
|
|
190
|
+
}), C = p(() => me.value.coordinates.map((t, a) => {
|
|
191
|
+
const o = b.value[a].values.map((l) => Me({
|
|
192
|
+
centerX: i.value.width / 2,
|
|
193
|
+
centerY: i.value.height / 2,
|
|
193
194
|
apexX: t.x,
|
|
194
195
|
apexY: t.y,
|
|
195
|
-
proportion: l / (b.value[a].target ||
|
|
196
|
+
proportion: l / (b.value[a].target || fe.value)
|
|
196
197
|
}));
|
|
197
198
|
return {
|
|
198
199
|
...t,
|
|
@@ -202,25 +203,25 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
202
203
|
}));
|
|
203
204
|
function j({ x: t, y: a }) {
|
|
204
205
|
let o = "middle";
|
|
205
|
-
return t = Math.round(t), a = Math.round(a), t >
|
|
206
|
+
return t = Math.round(t), a = Math.round(a), t > i.value.width / 2 && (t += 12, o = "start"), t < i.value.width / 2 && (t -= 12, o = "end"), a > i.value.height / 2 && (a += 20), a < i.value.height / 2 && (a -= 12), a === i.value.height / 2 && (a += 4), { x: t, y: a, anchor: o };
|
|
206
207
|
}
|
|
207
|
-
function
|
|
208
|
+
function Me({ centerX: t, centerY: a, apexX: o, apexY: l, proportion: n }) {
|
|
208
209
|
return {
|
|
209
210
|
x: t + (o - t) * n,
|
|
210
211
|
y: a + (l - a) * n
|
|
211
212
|
};
|
|
212
213
|
}
|
|
213
214
|
const N = p(() => {
|
|
214
|
-
const t = b.value.map((a, o) => a.values.map((l) => l / (a.target ||
|
|
215
|
+
const t = b.value.map((a, o) => a.values.map((l) => l / (a.target || fe.value)));
|
|
215
216
|
return f.value.map((a, o) => ({
|
|
216
217
|
...a,
|
|
217
|
-
totalProportion:
|
|
218
|
+
totalProportion: Qe(t.map((l) => l[o]).reduce((l, n) => l + n, 0) / b.value.length),
|
|
218
219
|
shape: "circle",
|
|
219
220
|
opacity: c.value.includes(o) ? 0.5 : 1,
|
|
220
|
-
segregate: () =>
|
|
221
|
+
segregate: () => ge(o),
|
|
221
222
|
isSegregated: c.value.includes(o)
|
|
222
223
|
}));
|
|
223
|
-
}),
|
|
224
|
+
}), Ve = p(() => ({
|
|
224
225
|
cy: "radar-div-legend",
|
|
225
226
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
226
227
|
color: e.value.style.chart.legend.color,
|
|
@@ -234,7 +235,7 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
234
235
|
...N.value
|
|
235
236
|
], a = v.dataset.series.map((l) => [
|
|
236
237
|
l.name,
|
|
237
|
-
|
|
238
|
+
Te(
|
|
238
239
|
l.formatter,
|
|
239
240
|
l.target,
|
|
240
241
|
U({
|
|
@@ -244,7 +245,7 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
244
245
|
r: e.value.table.td.roundingValue
|
|
245
246
|
})
|
|
246
247
|
),
|
|
247
|
-
...l.values.map((n, d) => `${
|
|
248
|
+
...l.values.map((n, d) => `${Te(
|
|
248
249
|
l.formatter,
|
|
249
250
|
n,
|
|
250
251
|
U({ p: f.value[d].prefix, v: n, s: f.value[d].suffix, r: e.value.table.td.roundingValue })
|
|
@@ -267,8 +268,8 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
267
268
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
268
269
|
};
|
|
269
270
|
return { head: t, body: a, config: o, colNames: t };
|
|
270
|
-
}), D =
|
|
271
|
-
function
|
|
271
|
+
}), D = u(null), q = u([]), H = u(null);
|
|
272
|
+
function Ue(t, a) {
|
|
272
273
|
q.value = [], D.value = a, W.value = !0;
|
|
273
274
|
let o = "";
|
|
274
275
|
H.value = {
|
|
@@ -282,7 +283,7 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
282
283
|
config: e.value
|
|
283
284
|
};
|
|
284
285
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
285
|
-
if (
|
|
286
|
+
if (tt(l) && at(() => l({
|
|
286
287
|
seriesIndex: a,
|
|
287
288
|
datapoint: t,
|
|
288
289
|
series: { categories: f.value, datapoints: b.value, radar: C.value },
|
|
@@ -309,36 +310,36 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
309
310
|
X.value = o;
|
|
310
311
|
}
|
|
311
312
|
}
|
|
312
|
-
function
|
|
313
|
-
|
|
314
|
-
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = [[""], [e.value.translations.target], ...N.value.flatMap((d) => [[d.name], ["%"]])], o = v.dataset.series.map((d,
|
|
313
|
+
function be() {
|
|
314
|
+
Xe(() => {
|
|
315
|
+
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = [[""], [e.value.translations.target], ...N.value.flatMap((d) => [[d.name], ["%"]])], o = v.dataset.series.map((d, Ut) => [d.name, d.target, ...d.values.flatMap((K) => [
|
|
315
316
|
K,
|
|
316
317
|
isNaN(K / d.target) ? "" : K / d.target * 100
|
|
317
|
-
])]), l = t.concat([a]).concat(o), n =
|
|
318
|
-
|
|
318
|
+
])]), l = t.concat([a]).concat(o), n = ot(l);
|
|
319
|
+
lt({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-radar" });
|
|
319
320
|
});
|
|
320
321
|
}
|
|
321
|
-
const L =
|
|
322
|
-
function
|
|
322
|
+
const L = u(!1);
|
|
323
|
+
function Ee(t) {
|
|
323
324
|
L.value = t, te.value += 1;
|
|
324
325
|
}
|
|
325
|
-
function
|
|
326
|
+
function ke() {
|
|
326
327
|
k.value.showTable = !k.value.showTable;
|
|
327
328
|
}
|
|
328
|
-
function
|
|
329
|
+
function Ce() {
|
|
329
330
|
k.value.showTooltip = !k.value.showTooltip;
|
|
330
331
|
}
|
|
331
|
-
const G =
|
|
332
|
+
const G = u(!1);
|
|
332
333
|
function J() {
|
|
333
334
|
G.value = !G.value;
|
|
334
335
|
}
|
|
335
|
-
return
|
|
336
|
-
getData:
|
|
337
|
-
generatePdf:
|
|
338
|
-
generateCsv:
|
|
339
|
-
generateImage:
|
|
340
|
-
toggleTable:
|
|
341
|
-
toggleTooltip:
|
|
336
|
+
return Ne({
|
|
337
|
+
getData: ze,
|
|
338
|
+
generatePdf: ve,
|
|
339
|
+
generateCsv: be,
|
|
340
|
+
generateImage: pe,
|
|
341
|
+
toggleTable: ke,
|
|
342
|
+
toggleTooltip: Ce,
|
|
342
343
|
toggleAnnotator: J
|
|
343
344
|
}), (t, a) => (r(), s("div", {
|
|
344
345
|
class: z(`vue-ui-radar ${L.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
@@ -347,22 +348,22 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
347
348
|
id: `vue-ui-radar_${_.value}`,
|
|
348
349
|
style: Q(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`)
|
|
349
350
|
}, [
|
|
350
|
-
e.value.userOptions.buttons.annotator ? (r(), w(
|
|
351
|
+
e.value.userOptions.buttons.annotator ? (r(), w(yt, {
|
|
351
352
|
key: 0,
|
|
352
353
|
parent: A.value,
|
|
353
354
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
354
355
|
color: e.value.style.chart.color,
|
|
355
356
|
active: G.value,
|
|
356
357
|
onClose: J
|
|
357
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
358
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : h("", !0),
|
|
358
359
|
e.value.style.chart.title.text ? (r(), s("div", {
|
|
359
360
|
key: 1,
|
|
360
361
|
ref_key: "chartTitle",
|
|
361
362
|
ref: ae,
|
|
362
363
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
363
364
|
}, [
|
|
364
|
-
(r(), w(
|
|
365
|
-
key: `title_${
|
|
365
|
+
(r(), w(st, {
|
|
366
|
+
key: `title_${re.value}`,
|
|
366
367
|
config: {
|
|
367
368
|
title: {
|
|
368
369
|
cy: "radar-div-title",
|
|
@@ -374,15 +375,15 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
374
375
|
}
|
|
375
376
|
}
|
|
376
377
|
}, null, 8, ["config"]))
|
|
377
|
-
], 512)) :
|
|
378
|
-
e.value.userOptions.show && F.value ? (r(), w(
|
|
378
|
+
], 512)) : h("", !0),
|
|
379
|
+
e.value.userOptions.show && F.value ? (r(), w(it, {
|
|
379
380
|
ref_key: "details",
|
|
380
|
-
ref:
|
|
381
|
+
ref: Ie,
|
|
381
382
|
key: `user_options_${te.value}`,
|
|
382
383
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
383
384
|
color: e.value.style.chart.color,
|
|
384
|
-
isImaging:
|
|
385
|
-
isPrinting:
|
|
385
|
+
isImaging: g(de),
|
|
386
|
+
isPrinting: g(ce),
|
|
386
387
|
uid: _.value,
|
|
387
388
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
388
389
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -397,14 +398,14 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
397
398
|
position: e.value.userOptions.position,
|
|
398
399
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
399
400
|
isAnnotation: G.value,
|
|
400
|
-
onToggleFullscreen:
|
|
401
|
-
onGeneratePdf:
|
|
402
|
-
onGenerateCsv:
|
|
403
|
-
onGenerateImage:
|
|
404
|
-
onToggleTable:
|
|
405
|
-
onToggleTooltip:
|
|
401
|
+
onToggleFullscreen: Ee,
|
|
402
|
+
onGeneratePdf: g(ve),
|
|
403
|
+
onGenerateCsv: be,
|
|
404
|
+
onGenerateImage: g(pe),
|
|
405
|
+
onToggleTable: ke,
|
|
406
|
+
onToggleTooltip: Ce,
|
|
406
407
|
onToggleAnnotator: J
|
|
407
|
-
},
|
|
408
|
+
}, We({ _: 2 }, [
|
|
408
409
|
t.$slots.optionTooltip ? {
|
|
409
410
|
name: "optionTooltip",
|
|
410
411
|
fn: y(() => [
|
|
@@ -454,15 +455,15 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
454
455
|
]),
|
|
455
456
|
key: "6"
|
|
456
457
|
} : void 0
|
|
457
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) :
|
|
458
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : h("", !0),
|
|
458
459
|
F.value ? (r(), s("svg", {
|
|
459
460
|
key: 3,
|
|
460
|
-
xmlns:
|
|
461
|
+
xmlns: g(Ze),
|
|
461
462
|
class: z({ "vue-data-ui-fullscreen--on": L.value, "vue-data-ui-fulscreen--off": !L.value }),
|
|
462
|
-
viewBox: `0 0 ${
|
|
463
|
+
viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
|
|
463
464
|
style: Q(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
464
465
|
}, [
|
|
465
|
-
Z(
|
|
466
|
+
Z(ft),
|
|
466
467
|
$("defs", null, [
|
|
467
468
|
(r(!0), s(P, null, T(f.value, (o, l) => (r(), s("radialGradient", {
|
|
468
469
|
cx: "50%",
|
|
@@ -474,81 +475,81 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
474
475
|
}, [
|
|
475
476
|
$("stop", {
|
|
476
477
|
offset: "0%",
|
|
477
|
-
"stop-color":
|
|
478
|
-
}, null, 8,
|
|
478
|
+
"stop-color": g(ee)(g(et)(o.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
|
|
479
|
+
}, null, 8, _t),
|
|
479
480
|
$("stop", {
|
|
480
481
|
offset: "100%",
|
|
481
|
-
"stop-color":
|
|
482
|
-
}, null, 8,
|
|
483
|
-
], 8,
|
|
482
|
+
"stop-color": g(ee)(o.color, e.value.style.chart.layout.dataPolygon.opacity)
|
|
483
|
+
}, null, 8, wt)
|
|
484
|
+
], 8, Ct))), 256))
|
|
484
485
|
]),
|
|
485
|
-
e.value.style.chart.layout.grid.show ? (r(), s("g",
|
|
486
|
+
e.value.style.chart.layout.grid.show ? (r(), s("g", $t, [
|
|
486
487
|
(r(!0), s(P, null, T(C.value, (o) => (r(), s("line", {
|
|
487
|
-
x1:
|
|
488
|
-
y1:
|
|
488
|
+
x1: i.value.width / 2,
|
|
489
|
+
y1: i.value.height / 2,
|
|
489
490
|
x2: o.x,
|
|
490
491
|
y2: o.y,
|
|
491
492
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
492
493
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
493
|
-
}, null, 8,
|
|
494
|
-
e.value.style.chart.layout.grid.graduations > 0 ? (r(), s("g",
|
|
495
|
-
(r(!0), s(P, null, T(
|
|
496
|
-
d:
|
|
497
|
-
plot: { x:
|
|
494
|
+
}, null, 8, Pt))), 256)),
|
|
495
|
+
e.value.style.chart.layout.grid.graduations > 0 ? (r(), s("g", Tt, [
|
|
496
|
+
(r(!0), s(P, null, T(Re.value, (o) => (r(), s("path", {
|
|
497
|
+
d: g(Pe)({
|
|
498
|
+
plot: { x: i.value.width / 2, y: i.value.height / 2 },
|
|
498
499
|
radius: o,
|
|
499
|
-
sides:
|
|
500
|
+
sides: ye.value,
|
|
500
501
|
rotation: 0
|
|
501
502
|
}).path,
|
|
502
503
|
fill: "none",
|
|
503
504
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
504
505
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
505
|
-
}, null, 8,
|
|
506
|
-
])) :
|
|
507
|
-
])) :
|
|
506
|
+
}, null, 8, xt))), 256))
|
|
507
|
+
])) : h("", !0)
|
|
508
|
+
])) : h("", !0),
|
|
508
509
|
$("path", {
|
|
509
|
-
d:
|
|
510
|
+
d: me.value.path,
|
|
510
511
|
fill: "none",
|
|
511
512
|
stroke: e.value.style.chart.layout.outerPolygon.stroke,
|
|
512
513
|
"stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
|
|
513
514
|
"stroke-linejoin": "round",
|
|
514
515
|
"stroke-linecap": "round"
|
|
515
|
-
}, null, 8,
|
|
516
|
-
e.value.style.chart.layout.labels.dataLabels.show ? (r(), s("g",
|
|
516
|
+
}, null, 8, At),
|
|
517
|
+
e.value.style.chart.layout.labels.dataLabels.show ? (r(), s("g", Ot, [
|
|
517
518
|
(r(!0), s(P, null, T(C.value, (o, l) => (r(), s("text", {
|
|
518
519
|
x: j(o).x,
|
|
519
520
|
y: j(o).y,
|
|
520
521
|
"text-anchor": j(o).anchor,
|
|
521
522
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
522
523
|
fill: e.value.style.chart.layout.labels.dataLabels.color,
|
|
523
|
-
onMouseenter: (n) =>
|
|
524
|
+
onMouseenter: (n) => Ue(o, l),
|
|
524
525
|
onMouseleave: a[0] || (a[0] = (n) => {
|
|
525
526
|
W.value = !1, D.value = null;
|
|
526
527
|
})
|
|
527
|
-
}, V(o.name), 41,
|
|
528
|
-
])) :
|
|
528
|
+
}, V(o.name), 41, Nt))), 256))
|
|
529
|
+
])) : h("", !0),
|
|
529
530
|
(r(!0), s(P, null, T(f.value, (o, l) => (r(), s("g", null, [
|
|
530
531
|
$("g", null, [
|
|
531
532
|
e.value.useCssAnimation || !e.value.useCssAnimation && !c.value.includes(l) ? (r(), s("polygon", {
|
|
532
533
|
key: 0,
|
|
533
534
|
"data-cy-radar-path": "",
|
|
534
|
-
points:
|
|
535
|
+
points: g(xe)(C.value.map((n) => n.plots[l]), !1, !0),
|
|
535
536
|
stroke: e.value.style.chart.backgroundColor,
|
|
536
537
|
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth + 1,
|
|
537
538
|
fill: "none",
|
|
538
539
|
class: z({ "animated-out": c.value.includes(l) && e.value.useCssAnimation, "animated-in": O.value && I.value === l && e.value.useCssAnimation })
|
|
539
|
-
}, null, 10,
|
|
540
|
+
}, null, 10, St)) : h("", !0),
|
|
540
541
|
e.value.useCssAnimation || !e.value.useCssAnimation && !c.value.includes(l) ? (r(), s("polygon", {
|
|
541
542
|
key: 1,
|
|
542
543
|
"data-cy-radar-path": "",
|
|
543
|
-
points:
|
|
544
|
+
points: g(xe)(C.value.map((n) => n.plots[l]), !1, !0),
|
|
544
545
|
stroke: o.color,
|
|
545
546
|
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
|
|
546
|
-
fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${_.value}_${l})` :
|
|
547
|
+
fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${_.value}_${l})` : g(ee)(o.color, e.value.style.chart.layout.dataPolygon.opacity),
|
|
547
548
|
class: z({ "animated-out": c.value.includes(l) && e.value.useCssAnimation, "animated-in": O.value && I.value === l && e.value.useCssAnimation })
|
|
548
|
-
}, null, 10,
|
|
549
|
+
}, null, 10, Ft)) : h("", !0)
|
|
549
550
|
])
|
|
550
551
|
]))), 256)),
|
|
551
|
-
e.value.style.chart.layout.plots.show ? (r(), s("g",
|
|
552
|
+
e.value.style.chart.layout.plots.show ? (r(), s("g", It, [
|
|
552
553
|
(r(!0), s(P, null, T(C.value, (o, l) => (r(), s("g", null, [
|
|
553
554
|
(r(!0), s(P, null, T(o.plots, (n, d) => (r(), s("circle", {
|
|
554
555
|
cx: n.x,
|
|
@@ -558,15 +559,15 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
558
559
|
stroke: c.value.includes(d) ? "transparent" : e.value.style.chart.backgroundColor,
|
|
559
560
|
"stroke-width": 0.5,
|
|
560
561
|
class: z({ "animated-out": c.value.includes(d) && e.value.useCssAnimation, "animated-in": O.value && I.value === d && e.value.useCssAnimation })
|
|
561
|
-
}, null, 10,
|
|
562
|
+
}, null, 10, Lt))), 256))
|
|
562
563
|
]))), 256))
|
|
563
|
-
])) :
|
|
564
|
-
m(t.$slots, "svg", { svg:
|
|
565
|
-
], 14,
|
|
566
|
-
t.$slots.watermark ? (r(), s("div",
|
|
567
|
-
m(t.$slots, "watermark", R(M({ isPrinting:
|
|
568
|
-
])) :
|
|
569
|
-
F.value ?
|
|
564
|
+
])) : h("", !0),
|
|
565
|
+
m(t.$slots, "svg", { svg: i.value }, void 0, !0)
|
|
566
|
+
], 14, kt)) : h("", !0),
|
|
567
|
+
t.$slots.watermark ? (r(), s("div", zt, [
|
|
568
|
+
m(t.$slots, "watermark", R(M({ isPrinting: g(ce) || g(de) })), void 0, !0)
|
|
569
|
+
])) : h("", !0),
|
|
570
|
+
F.value ? h("", !0) : (r(), w(ht, {
|
|
570
571
|
key: 5,
|
|
571
572
|
config: {
|
|
572
573
|
type: "radar",
|
|
@@ -587,22 +588,22 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
587
588
|
ref_key: "chartLegend",
|
|
588
589
|
ref: oe
|
|
589
590
|
}, [
|
|
590
|
-
e.value.style.chart.legend.show ? (r(), w(
|
|
591
|
-
key: `legend_${
|
|
591
|
+
e.value.style.chart.legend.show ? (r(), w(vt, {
|
|
592
|
+
key: `legend_${se.value}`,
|
|
592
593
|
legendSet: N.value,
|
|
593
|
-
config:
|
|
594
|
-
onClickMarker: a[1] || (a[1] = ({ i: o }) =>
|
|
594
|
+
config: Ve.value,
|
|
595
|
+
onClickMarker: a[1] || (a[1] = ({ i: o }) => ge(o))
|
|
595
596
|
}, {
|
|
596
597
|
item: y(({ legend: o, index: l }) => [
|
|
597
598
|
$("div", {
|
|
598
599
|
"data-cy-legend-item": "",
|
|
599
600
|
onClick: (n) => o.segregate(),
|
|
600
601
|
style: Q(`opacity:${c.value.includes(l) ? 0.5 : 1}`)
|
|
601
|
-
}, V(o.name) + ": " + V(
|
|
602
|
+
}, V(o.name) + ": " + V(g(U)({
|
|
602
603
|
v: o.totalProportion * 100,
|
|
603
604
|
s: "%",
|
|
604
605
|
r: e.value.style.chart.legend.roundingPercentage
|
|
605
|
-
})), 13,
|
|
606
|
+
})), 13, Rt)
|
|
606
607
|
]),
|
|
607
608
|
_: 1
|
|
608
609
|
}, 8, ["legendSet", "config"])) : m(t.$slots, "legend", {
|
|
@@ -610,7 +611,15 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
610
611
|
legend: N.value
|
|
611
612
|
}, void 0, !0)
|
|
612
613
|
], 512),
|
|
613
|
-
|
|
614
|
+
t.$slots.source ? (r(), s("div", {
|
|
615
|
+
key: 6,
|
|
616
|
+
ref_key: "source",
|
|
617
|
+
ref: le,
|
|
618
|
+
dir: "auto"
|
|
619
|
+
}, [
|
|
620
|
+
m(t.$slots, "source", {}, void 0, !0)
|
|
621
|
+
], 512)) : h("", !0),
|
|
622
|
+
Z(ct, {
|
|
614
623
|
show: k.value.showTooltip && W.value,
|
|
615
624
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
616
625
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -629,10 +638,10 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
629
638
|
m(t.$slots, "tooltip-before", R(M({ ...H.value })), void 0, !0)
|
|
630
639
|
]),
|
|
631
640
|
"tooltip-after": y(() => [
|
|
632
|
-
["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ?
|
|
633
|
-
Z(
|
|
641
|
+
["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? h("", !0) : (r(), s("div", Mt, [
|
|
642
|
+
Z(dt, {
|
|
634
643
|
dataset: q.value,
|
|
635
|
-
config:
|
|
644
|
+
config: Le.value,
|
|
636
645
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity
|
|
637
646
|
}, null, 8, ["dataset", "config", "backgroundOpacity"])
|
|
638
647
|
])),
|
|
@@ -640,8 +649,8 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
640
649
|
]),
|
|
641
650
|
_: 3
|
|
642
651
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "fontSize", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
643
|
-
F.value ? (r(), w(
|
|
644
|
-
key:
|
|
652
|
+
F.value ? (r(), w(gt, {
|
|
653
|
+
key: 7,
|
|
645
654
|
hideDetails: "",
|
|
646
655
|
config: {
|
|
647
656
|
open: k.value.showTable,
|
|
@@ -657,8 +666,8 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
657
666
|
}
|
|
658
667
|
}, {
|
|
659
668
|
content: y(() => [
|
|
660
|
-
(r(), w(
|
|
661
|
-
key: `table_${
|
|
669
|
+
(r(), w(pt, {
|
|
670
|
+
key: `table_${ne.value}`,
|
|
662
671
|
colNames: B.value.colNames,
|
|
663
672
|
head: B.value.head,
|
|
664
673
|
body: B.value.body,
|
|
@@ -667,19 +676,19 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
667
676
|
onClose: a[2] || (a[2] = (o) => k.value.showTable = !1)
|
|
668
677
|
}, {
|
|
669
678
|
th: y(({ th: o }) => [
|
|
670
|
-
|
|
679
|
+
_e(V(o.name), 1)
|
|
671
680
|
]),
|
|
672
681
|
td: y(({ td: o }) => [
|
|
673
|
-
|
|
682
|
+
_e(V(o), 1)
|
|
674
683
|
]),
|
|
675
684
|
_: 1
|
|
676
685
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
677
686
|
]),
|
|
678
687
|
_: 1
|
|
679
|
-
}, 8, ["config"])) :
|
|
680
|
-
], 14,
|
|
688
|
+
}, 8, ["config"])) : h("", !0)
|
|
689
|
+
], 14, bt));
|
|
681
690
|
}
|
|
682
|
-
},
|
|
691
|
+
}, ta = /* @__PURE__ */ mt(Vt, [["__scopeId", "data-v-f0bd4098"]]);
|
|
683
692
|
export {
|
|
684
|
-
|
|
693
|
+
ta as default
|
|
685
694
|
};
|