vue-data-ui 2.4.2 → 2.4.4
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 +3 -1
- package/dist/{Arrow-JuK2z9IB.js → Arrow-AxsI-FAh.js} +1 -1
- package/dist/{Arrow-DLTRnzcG.cjs → Arrow-W6XO2WVI.cjs} +1 -1
- package/dist/{BaseIcon-BGExhz6v.cjs → BaseIcon-BTn_oML7.cjs} +1 -1
- package/dist/{BaseIcon-rRli6Sfv.js → BaseIcon-BX3x6oa7.js} +1 -1
- package/dist/{DataTable-DTk7C4Pr.js → DataTable-BI1tjiA_.js} +2 -2
- package/dist/{DataTable-DJzhv96s.cjs → DataTable-RUQ1G_6L.cjs} +1 -1
- package/dist/{Legend-YZ7Hz3o1.cjs → Legend-B86sMXn7.cjs} +1 -1
- package/dist/{Legend-CYF2gpXG.js → Legend-CRMHjbGw.js} +1 -1
- package/dist/{PackageVersion-CvCRsT5_.js → PackageVersion-Clrfvyd8.js} +1 -1
- package/dist/{PackageVersion-DVZtsuy4.cjs → PackageVersion-CowXQ4IM.cjs} +1 -1
- package/dist/{PenAndPaper-Jb0pLt3G.js → PenAndPaper-BQzgk5kO.js} +2 -2
- package/dist/{PenAndPaper-CyXm-yVL.cjs → PenAndPaper-DBSxk9Xk.cjs} +1 -1
- package/dist/{Shape-BpPn4eWR.js → Shape-DYNtRer6.js} +1 -1
- package/dist/{Shape-X2F-QV_B.cjs → Shape-qK3MNdTg.cjs} +1 -1
- package/dist/{Slicer-CU7dRZR0.js → Slicer-DFPDip5U.js} +3 -3
- package/dist/{Slicer-CL0tP5a5.cjs → Slicer-NlxLkUso.cjs} +1 -1
- package/dist/{Title-5VmBwT4i.js → Title-710895ks.js} +1 -1
- package/dist/{Title-Co5jI5ed.cjs → Title-CUN1T6KC.cjs} +1 -1
- package/dist/{Tooltip-Bl6W8Zn7.cjs → Tooltip-BapDtYOM.cjs} +1 -1
- package/dist/{Tooltip-Cj4EF7v1.js → Tooltip-CPlG_yQU.js} +1 -1
- package/dist/index-CcykRspI.cjs +9 -0
- package/dist/{index-DnVHQ2xI.js → index-DCsPHn9C.js} +4 -1
- 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-DdSlLeTW.js} +1 -1
- package/dist/{useNestedProp-q7byAAIJ.cjs → useNestedProp-XtPlFP9O.cjs} +1 -1
- package/dist/{usePrinter-BCAFeO_J.cjs → usePrinter-BcE45wW6.cjs} +1 -1
- package/dist/{usePrinter-BEeNAqS5.js → usePrinter-siG3sKWo.js} +1 -1
- package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
- package/dist/useResponsive-CoxXLe23.js +189 -0
- package/dist/{vue-data-ui-CRLLZpt0.cjs → vue-data-ui-C0o1kZzC.cjs} +1 -1
- package/dist/{vue-data-ui-W7nnqn0v.js → vue-data-ui-D_MTGc8j.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-BwBrUabe.js → vue-ui-3d-bar-BdzWvy4d.js} +41 -34
- package/dist/{vue-ui-3d-bar-bD_n6qL_.cjs → vue-ui-3d-bar-C298Bf3V.cjs} +2 -2
- package/dist/{vue-ui-accordion-xXgqfR2l.cjs → vue-ui-accordion-B7PTyFVk.cjs} +1 -1
- package/dist/{vue-ui-accordion-DspS4q3f.js → vue-ui-accordion-D4Er5Dy5.js} +3 -3
- package/dist/vue-ui-age-pyramid-BIcB5vtU.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CxBvm3uM.js → vue-ui-age-pyramid-CHEdFQb7.js} +185 -168
- package/dist/{vue-ui-annotator-BOofWpzv.js → vue-ui-annotator-CqM_1HlB.js} +1 -1
- package/dist/{vue-ui-annotator-C6T5_7ZV.cjs → vue-ui-annotator-eGtZcHeb.cjs} +1 -1
- package/dist/{vue-ui-bullet-DraC-oFu.js → vue-ui-bullet-DBk50kIe.js} +195 -158
- package/dist/vue-ui-bullet-DURgZGgp.cjs +34 -0
- package/dist/{vue-ui-candlestick-DQZ5eT1f.js → vue-ui-candlestick-Bo41qkGe.js} +263 -246
- package/dist/vue-ui-candlestick-CP4Z-29b.cjs +2 -0
- package/dist/{vue-ui-carousel-table-PdLjpH1p.js → vue-ui-carousel-table-CkNOqa9q.js} +76 -69
- package/dist/vue-ui-carousel-table-lMqx64wd.cjs +1 -0
- package/dist/{vue-ui-chestnut-ByI_O5hB.js → vue-ui-chestnut-CNWq-epB.js} +299 -286
- package/dist/vue-ui-chestnut-qxzF2ND7.cjs +6 -0
- package/dist/{vue-ui-cursor-BM74l93B.js → vue-ui-cursor-B4m30Gqz.js} +2 -2
- package/dist/{vue-ui-cursor-BvadpA2m.cjs → vue-ui-cursor-BEv39HVY.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CoANBhAM.js → vue-ui-dashboard-BL9IgDDx.js} +2 -2
- package/dist/{vue-ui-dashboard-OP51Gs8I.cjs → vue-ui-dashboard-DnoXstlp.cjs} +1 -1
- package/dist/{vue-ui-digits-DioaBnkB.js → vue-ui-digits-CVPDJ6tl.js} +2 -2
- package/dist/{vue-ui-digits-C7jJJg9k.cjs → vue-ui-digits-D1RaU4V-.cjs} +1 -1
- package/dist/{vue-ui-donut-ldqSm_JV.js → vue-ui-donut-C65SAJKb.js} +374 -357
- package/dist/vue-ui-donut-CMC92CXL.cjs +1 -0
- package/dist/vue-ui-donut-evolution-7gIM4bVk.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DAb1xzNd.js → vue-ui-donut-evolution-BFbBlmBx.js} +240 -226
- package/dist/{vue-ui-dumbbell-Dg7PkiKJ.js → vue-ui-dumbbell-BnxRfvv0.js} +227 -210
- package/dist/vue-ui-dumbbell-OCo67ZKp.cjs +9 -0
- package/dist/vue-ui-flow-BPnpYrzb.cjs +1 -0
- package/dist/{vue-ui-flow-DKT7ZEnr.js → vue-ui-flow-Cra_F-tK.js} +150 -137
- package/dist/vue-ui-galaxy-3zTk9Pr1.cjs +1 -0
- package/dist/{vue-ui-galaxy-qAA9be3S.js → vue-ui-galaxy-DlJ7v0aD.js} +145 -132
- package/dist/{vue-ui-gauge-D8yVTIgP.js → vue-ui-gauge-CsqVvNxE.js} +210 -193
- package/dist/vue-ui-gauge-DcUNJZI1.cjs +1 -0
- package/dist/{vue-ui-gizmo-W6bTkg59.cjs → vue-ui-gizmo-BkkLoCyx.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DC0uUwI3.js → vue-ui-gizmo-Peyy8li7.js} +3 -3
- package/dist/vue-ui-heatmap-DYb831An.cjs +1 -0
- package/dist/{vue-ui-heatmap-u1raIzBQ.js → vue-ui-heatmap-i4HFM04D.js} +203 -189
- package/dist/{vue-ui-kpi-DY_2WF7U.cjs → vue-ui-kpi-CCrdcv3r.cjs} +1 -1
- package/dist/{vue-ui-kpi-C-iTxMD2.js → vue-ui-kpi-gSKVVqZg.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bfq2MNWu.cjs → vue-ui-mini-loader-CqutMcQI.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7x7S0hi.js → vue-ui-mini-loader-D7Jk1LJb.js} +2 -2
- package/dist/{vue-ui-molecule-BFnOIxxs.js → vue-ui-molecule-CgdepnhM.js} +164 -151
- package/dist/vue-ui-molecule-CwUObXAx.cjs +1 -0
- package/dist/{vue-ui-mood-radar-CR1v5v2x.js → vue-ui-mood-radar-Bxro4962.js} +217 -203
- package/dist/vue-ui-mood-radar-RQFKS7Br.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-DEiloQzq.js → vue-ui-nested-donuts-B7dXBejH.js} +342 -325
- package/dist/vue-ui-nested-donuts-D8ZGqIGC.cjs +17 -0
- package/dist/vue-ui-onion-Dtt0kw8E.cjs +5 -0
- package/dist/{vue-ui-onion-LsEhBe4x.js → vue-ui-onion-i52wztm0.js} +267 -250
- package/dist/vue-ui-parallel-coordinate-plot-DNK0BrBy.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-CTlIjJqG.js → vue-ui-parallel-coordinate-plot-DUssrm08.js} +241 -224
- package/dist/{vue-ui-quadrant-DKVVFufb.js → vue-ui-quadrant-BORPtgQO.js} +236 -219
- package/dist/vue-ui-quadrant-a_I5E71f.cjs +1 -0
- package/dist/vue-ui-quick-chart-BpPDfK78.cjs +15 -0
- package/dist/{vue-ui-quick-chart-8vJikiGH.js → vue-ui-quick-chart-yb1FzVdt.js} +469 -452
- package/dist/{vue-ui-radar-20QhOUer.js → vue-ui-radar-CoCbl19A.js} +198 -181
- package/dist/vue-ui-radar-DZMngiqq.cjs +1 -0
- package/dist/{vue-ui-rating-DRWJsve1.js → vue-ui-rating-D-zwuvLK.js} +2 -2
- package/dist/{vue-ui-rating-Bbzm5nUK.cjs → vue-ui-rating-nTJ8DDhG.cjs} +1 -1
- package/dist/vue-ui-relation-circle-CW9qozhJ.js +366 -0
- package/dist/vue-ui-relation-circle-Wj_yrVJc.cjs +1 -0
- package/dist/vue-ui-rings-BZaZIGEz.cjs +2 -0
- package/dist/{vue-ui-rings-DG8GCi3y.js → vue-ui-rings-Bx2GEh6d.js} +221 -204
- package/dist/{vue-ui-scatter-Hqu5-F2H.js → vue-ui-scatter-BARiPzro.js} +375 -358
- package/dist/vue-ui-scatter-C-i1NZgz.cjs +1 -0
- package/dist/{vue-ui-screenshot-cjiqbtLK.js → vue-ui-screenshot-CuiJqlfo.js} +1 -1
- package/dist/{vue-ui-screenshot-D8nxd5RV.cjs → vue-ui-screenshot-CwOoftGV.cjs} +1 -1
- package/dist/{vue-ui-skeleton-aZmkNzAe.js → vue-ui-skeleton-DNuwx6_y.js} +419 -379
- package/dist/vue-ui-skeleton-DpfJbsNA.cjs +41 -0
- package/dist/{vue-ui-smiley-ChNvxygm.js → vue-ui-smiley-BnX27B0k.js} +2 -2
- package/dist/{vue-ui-smiley-B1TA19Hv.cjs → vue-ui-smiley-DGE9NFBY.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CQxELQcf.js → vue-ui-spark-trend-CgCLrMox.js} +86 -79
- package/dist/vue-ui-spark-trend-aW-de-rX.cjs +1 -0
- package/dist/vue-ui-sparkbar-BLUXUlTY.cjs +1 -0
- package/dist/{vue-ui-sparkbar-0ixbKZzf.js → vue-ui-sparkbar-BXku33sq.js} +90 -83
- package/dist/{vue-ui-sparkgauge-pdYb7OwH.js → vue-ui-sparkgauge-Doi0iu0L.js} +57 -50
- package/dist/vue-ui-sparkgauge-RTiKvSMp.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-N69h2q0U.js → vue-ui-sparkhistogram-BnMvXlAP.js} +74 -67
- package/dist/vue-ui-sparkhistogram-C6AgJH1C.cjs +1 -0
- package/dist/{vue-ui-sparkline-2BKYZMOb.js → vue-ui-sparkline-DI7fq_MR.js} +134 -125
- package/dist/vue-ui-sparkline-DpVCQ6W9.cjs +1 -0
- package/dist/vue-ui-sparkstackbar-Bvuq2sLW.cjs +1 -0
- package/dist/{vue-ui-sparkstackbar-sh03cuOU.js → vue-ui-sparkstackbar-oNnE5z1C.js} +84 -77
- package/dist/{vue-ui-stackbar-B1si-1RM.js → vue-ui-stackbar-6g7b3yyu.js} +205 -196
- package/dist/{vue-ui-stackbar-Dy_saeSe.cjs → vue-ui-stackbar-aWJDGIKV.cjs} +2 -2
- package/dist/{vue-ui-strip-plot-BYn-QrTQ.js → vue-ui-strip-plot-BFM8HIM8.js} +265 -248
- package/dist/vue-ui-strip-plot-GdjjVxMN.cjs +1 -0
- package/dist/{vue-ui-table-DQORPCDJ.js → vue-ui-table-Cw4Yz-IE.js} +1 -1
- package/dist/{vue-ui-table-Ce4waJaj.cjs → vue-ui-table-XOPmDCOB.cjs} +1 -1
- package/dist/vue-ui-table-heatmap-Bh48bMuU.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-Csp7Tx8N.js → vue-ui-table-heatmap-DeRCR8l6.js} +55 -48
- package/dist/vue-ui-table-sparkline-C25qj1w_.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-DdwVrfUj.js → vue-ui-table-sparkline-w3H-od91.js} +88 -81
- package/dist/{vue-ui-thermometer-I6ZnlfAv.js → vue-ui-thermometer-BySEVhT8.js} +162 -149
- package/dist/vue-ui-thermometer-DZrusaGY.cjs +1 -0
- package/dist/{vue-ui-timer-COOXcn14.cjs → vue-ui-timer-1p6J6hTn.cjs} +1 -1
- package/dist/{vue-ui-timer-pi1SazTU.js → vue-ui-timer-BN-9a2lj.js} +6 -6
- package/dist/vue-ui-tiremarks-CvIJeWKE.cjs +1 -0
- package/dist/vue-ui-tiremarks-EzYdOMyf.js +317 -0
- package/dist/vue-ui-treemap-CzNOr1iR.cjs +1 -0
- package/dist/{vue-ui-treemap-3FNUlKxL.js → vue-ui-treemap-Da0f6vaF.js} +283 -266
- package/dist/vue-ui-vertical-bar-B9shdfqo.cjs +4 -0
- package/dist/vue-ui-vertical-bar-D1cBfu5p.js +869 -0
- package/dist/vue-ui-waffle-Cg-7Fazv.cjs +1 -0
- package/dist/{vue-ui-waffle-XecHJIc-.js → vue-ui-waffle-DM2LsEP7.js} +258 -241
- package/dist/vue-ui-wheel-B9cmixxi.js +299 -0
- package/dist/vue-ui-wheel-C-JukdTy.cjs +1 -0
- package/dist/vue-ui-word-cloud-BLMWYOPy.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DnhXUn5x.js → vue-ui-word-cloud-Baz7RXN2.js} +192 -183
- package/dist/vue-ui-xy-BHeSkJQ3.cjs +3 -0
- package/dist/{vue-ui-xy-CqlRuFMc.js → vue-ui-xy-DVnzVSqE.js} +339 -319
- package/dist/{vue-ui-xy-canvas-C8c2X5fk.js → vue-ui-xy-canvas-A7PKnWBs.js} +255 -246
- package/dist/vue-ui-xy-canvas-DAd-B98z.cjs +9 -0
- 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-quick-chart-gG5Ar8-i.cjs +0 -15
- package/dist/vue-ui-radar-CAaHjDO7.cjs +0 -1
- package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +0 -1
- package/dist/vue-ui-relation-circle-I45_Sk5l.js +0 -349
- 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-tiremarks-vdPQYiDp.js +0 -303
- package/dist/vue-ui-treemap-Cv0TSFQa.cjs +0 -1
- package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +0 -4
- package/dist/vue-ui-vertical-bar-DwxpB46q.js +0 -852
- package/dist/vue-ui-waffle-CKM0QyJN.cjs +0 -1
- package/dist/vue-ui-wheel-Bbih5sSL.js +0 -282
- 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
|
|
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
|
|
17
|
-
key:
|
|
1
|
+
import { computed as v, ref as u, watch as Ge, onMounted as We, onBeforeUnmount as Xe, openBlock as r, createElementBlock as s, normalizeClass as z, normalizeStyle as Q, createBlock as w, createCommentVNode as p, unref as g, createSlots as Ye, 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 we, nextTick as je } from "vue";
|
|
2
|
+
import { u as qe, c as He, t as Je, a as Ke, p as x, o as Qe, e as S, b as Ze, g as $e, d as Pe, O as Te, v as et, i as xe, f as U, X as tt, s as ee, w as at, P as Ae, x as ot, y as lt, q as rt, r as nt } from "./index-DCsPHn9C.js";
|
|
3
|
+
import { t as st, u as ut } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as it } from "./Title-710895ks.js";
|
|
5
|
+
import { u as ct, U as dt } from "./usePrinter-siG3sKWo.js";
|
|
6
|
+
import { _ as vt } from "./Tooltip-CPlG_yQU.js";
|
|
7
|
+
import pt from "./vue-ui-sparkbar-BXku33sq.js";
|
|
8
|
+
import { L as ht } from "./Legend-CRMHjbGw.js";
|
|
9
|
+
import { D as gt } from "./DataTable-BI1tjiA_.js";
|
|
10
|
+
import ft from "./vue-ui-skeleton-DNuwx6_y.js";
|
|
11
|
+
import yt from "./vue-ui-accordion-D4Er5Dy5.js";
|
|
12
|
+
import { u as Oe } from "./useNestedProp-DdSlLeTW.js";
|
|
13
|
+
import { _ as mt } from "./PackageVersion-Clrfvyd8.js";
|
|
14
|
+
import { P as bt } from "./PenAndPaper-BQzgk5kO.js";
|
|
15
|
+
import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const Ct = ["id"], _t = ["xmlns", "viewBox"], wt = ["id"], $t = ["stop-color"], Pt = ["stop-color"], Tt = { key: 0 }, xt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], At = { key: 0 }, Ot = ["d", "stroke", "stroke-width"], Nt = ["d", "stroke", "stroke-width"], St = { key: 1 }, Ft = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], It = ["points", "stroke", "stroke-width"], Lt = ["points", "stroke", "stroke-width", "fill"], zt = { key: 2 }, Rt = ["cx", "cy", "fill", "r", "stroke"], Mt = {
|
|
17
|
+
key: 5,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
19
|
+
}, Vt = ["onClick"], Ut = {
|
|
20
20
|
key: 0,
|
|
21
21
|
style: { "max-width": "200px", margin: "0 auto" }
|
|
22
|
-
},
|
|
22
|
+
}, Et = {
|
|
23
23
|
__name: "vue-ui-radar",
|
|
24
24
|
props: {
|
|
25
25
|
config: {
|
|
@@ -36,59 +36,61 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
emits: ["selectLegend"],
|
|
39
|
-
setup(
|
|
40
|
-
const
|
|
41
|
-
get: () =>
|
|
39
|
+
setup(Ne, { expose: Se, emit: Fe }) {
|
|
40
|
+
const h = Ne, { vue_ui_radar: Ie } = qe(), F = v(() => !!h.dataset && Object.keys(h.dataset).length), _ = u(He()), Le = u(null), W = u(!1), X = u(""), te = u(0), A = u(null), ae = u(null), oe = u(null), le = u(null), re = u(null), ne = u(0), se = u(0), ue = u(0), e = v({
|
|
41
|
+
get: () => ie(),
|
|
42
42
|
set: (t) => t
|
|
43
43
|
});
|
|
44
|
-
function
|
|
45
|
-
const t =
|
|
46
|
-
userConfig:
|
|
47
|
-
defaultConfig:
|
|
44
|
+
function ie() {
|
|
45
|
+
const t = Oe({
|
|
46
|
+
userConfig: h.config,
|
|
47
|
+
defaultConfig: Ie
|
|
48
48
|
});
|
|
49
49
|
return t.theme ? {
|
|
50
|
-
...
|
|
51
|
-
userConfig:
|
|
50
|
+
...Oe({
|
|
51
|
+
userConfig: Je.vue_ui_radar[t.theme] || h.config,
|
|
52
52
|
defaultConfig: t
|
|
53
53
|
}),
|
|
54
|
-
customPalette:
|
|
54
|
+
customPalette: Ke[t.theme] || x
|
|
55
55
|
} : t;
|
|
56
56
|
}
|
|
57
|
-
|
|
58
|
-
e.value =
|
|
57
|
+
Ge(() => h.config, (t) => {
|
|
58
|
+
e.value = ie(), ce(), ne.value += 1, se.value += 1, ue.value += 1;
|
|
59
59
|
}, { deep: !0 });
|
|
60
|
-
const E =
|
|
61
|
-
function
|
|
62
|
-
if (
|
|
60
|
+
const E = u(null);
|
|
61
|
+
function ce() {
|
|
62
|
+
if (Qe(h.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 = st(() => {
|
|
67
|
+
const { width: a, height: o } = ut({
|
|
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,
|
|
72
|
+
noTitle: re.value
|
|
71
73
|
});
|
|
72
|
-
|
|
74
|
+
i.value.width = a, i.value.height = o;
|
|
73
75
|
});
|
|
74
76
|
E.value = new ResizeObserver(t), E.value.observe(A.value.parentNode);
|
|
75
77
|
}
|
|
76
78
|
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}),
|
|
79
|
+
We(() => {
|
|
80
|
+
ce();
|
|
81
|
+
}), Xe(() => {
|
|
80
82
|
E.value && E.value.disconnect();
|
|
81
83
|
});
|
|
82
|
-
const { isPrinting:
|
|
84
|
+
const { isPrinting: de, isImaging: ve, generatePdf: pe, generateImage: he } = ct({
|
|
83
85
|
elementId: `vue-ui-radar_${_.value}`,
|
|
84
86
|
fileName: e.value.style.chart.title.text || "vue-ui-radar"
|
|
85
|
-
}),
|
|
87
|
+
}), ze = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), ge = v(() => Ze(e.value.customPalette)), k = u({
|
|
86
88
|
dataLabels: {
|
|
87
89
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
88
90
|
},
|
|
89
91
|
showTable: e.value.table.show,
|
|
90
92
|
showTooltip: e.value.style.chart.tooltip.show
|
|
91
|
-
}),
|
|
93
|
+
}), Re = v(() => ({
|
|
92
94
|
style: {
|
|
93
95
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
94
96
|
animation: {
|
|
@@ -106,38 +108,38 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
106
108
|
opacity: 30
|
|
107
109
|
}
|
|
108
110
|
}
|
|
109
|
-
})),
|
|
111
|
+
})), i = u({
|
|
110
112
|
height: 312,
|
|
111
113
|
width: 512
|
|
112
|
-
}), c =
|
|
113
|
-
function
|
|
114
|
+
}), c = u([]), I = u(null), O = u(!1);
|
|
115
|
+
function fe(t) {
|
|
114
116
|
O.value = !0, c.value.includes(t) ? (I.value = t, c.value = c.value.filter((a) => a !== t), setTimeout(() => {
|
|
115
117
|
O.value = !1, I.value = null;
|
|
116
118
|
}, 500)) : (c.value.push(t), setTimeout(() => {
|
|
117
119
|
O.value = !1;
|
|
118
|
-
}, 500)),
|
|
120
|
+
}, 500)), Fe("selectLegend", N.value.filter((a, o) => !c.value.includes(o)).map((a) => ({
|
|
119
121
|
name: a.name,
|
|
120
122
|
color: a.color,
|
|
121
123
|
proportion: a.totalProportion
|
|
122
124
|
})));
|
|
123
125
|
}
|
|
124
|
-
function
|
|
126
|
+
function Me() {
|
|
125
127
|
return N.value.map((t) => ({
|
|
126
128
|
name: t.name,
|
|
127
129
|
color: t.color,
|
|
128
130
|
proportion: t.totalProportion
|
|
129
131
|
}));
|
|
130
132
|
}
|
|
131
|
-
const f =
|
|
133
|
+
const f = v(() => [null, void 0].includes(h.dataset.categories) ? (S({
|
|
132
134
|
componentName: "VueUiRadar",
|
|
133
135
|
type: "datasetAttribute",
|
|
134
136
|
property: "categories ({ name: string; prefix?: string; suffix?: string}[])"
|
|
135
|
-
}), []) : (
|
|
137
|
+
}), []) : (h.dataset.categories.length === 0 ? S({
|
|
136
138
|
componentName: "VueUiRadar",
|
|
137
139
|
type: "datasetAttributeEmpty",
|
|
138
140
|
property: "categories"
|
|
139
|
-
}) :
|
|
140
|
-
|
|
141
|
+
}) : h.dataset.categories.forEach((t, a) => {
|
|
142
|
+
$e({
|
|
141
143
|
datasetObject: t,
|
|
142
144
|
requiredAttributes: ["name"]
|
|
143
145
|
}).forEach((o) => {
|
|
@@ -148,12 +150,12 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
148
150
|
index: a
|
|
149
151
|
});
|
|
150
152
|
});
|
|
151
|
-
}), [null, void 0].includes(
|
|
153
|
+
}), [null, void 0].includes(h.dataset.series) ? S({
|
|
152
154
|
componentName: "VueUiRadar",
|
|
153
155
|
type: "datasetAttribute",
|
|
154
156
|
property: "series ({ name: string; values: number[]; color?: string; target: number}[])"
|
|
155
|
-
}) :
|
|
156
|
-
|
|
157
|
+
}) : h.dataset.series.forEach((t, a) => {
|
|
158
|
+
$e({
|
|
157
159
|
datasetObject: t,
|
|
158
160
|
requiredAttributes: ["name", "values", "target"]
|
|
159
161
|
}).forEach((o) => {
|
|
@@ -165,34 +167,34 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
165
167
|
index: a
|
|
166
168
|
});
|
|
167
169
|
});
|
|
168
|
-
}),
|
|
170
|
+
}), h.dataset.categories.map((t, a) => ({
|
|
169
171
|
name: t.name,
|
|
170
172
|
categoryId: `radar_category_${_.value}_${a}`,
|
|
171
|
-
color:
|
|
173
|
+
color: Pe(t.color) || ge.value[a] || x[a] || x[a % x.length],
|
|
172
174
|
prefix: t.prefix ?? "",
|
|
173
175
|
suffix: t.suffix ?? ""
|
|
174
|
-
})))), b =
|
|
176
|
+
})))), b = v(() => F.value ? h.dataset.series.map((t, a) => ({
|
|
175
177
|
...t,
|
|
176
|
-
color:
|
|
178
|
+
color: Pe(t.color) || ge.value[a] || x[a] || x[a % x.length],
|
|
177
179
|
serieId: `radar_serie_${_.value}_${a}`,
|
|
178
180
|
formatter: t.formatter || null
|
|
179
|
-
})) : []),
|
|
180
|
-
plot: { x:
|
|
181
|
+
})) : []), ye = v(() => Math.max(...b.value.flatMap((t) => t.values))), me = v(() => b.value.length), Y = v(() => Math.min(i.value.width, i.value.height) / 3), be = v(() => Te({
|
|
182
|
+
plot: { x: i.value.width / 2, y: i.value.height / 2 },
|
|
181
183
|
radius: Y.value,
|
|
182
|
-
sides:
|
|
184
|
+
sides: me.value,
|
|
183
185
|
rotation: 0
|
|
184
|
-
})),
|
|
186
|
+
})), Ve = v(() => {
|
|
185
187
|
const t = [];
|
|
186
188
|
for (let a = 0; a < Y.value; a += Y.value / e.value.style.chart.layout.grid.graduations)
|
|
187
189
|
t.push(a);
|
|
188
190
|
return t;
|
|
189
|
-
}), C =
|
|
190
|
-
const o = b.value[a].values.map((l) =>
|
|
191
|
-
centerX:
|
|
192
|
-
centerY:
|
|
191
|
+
}), C = v(() => be.value.coordinates.map((t, a) => {
|
|
192
|
+
const o = b.value[a].values.map((l) => Ue({
|
|
193
|
+
centerX: i.value.width / 2,
|
|
194
|
+
centerY: i.value.height / 2,
|
|
193
195
|
apexX: t.x,
|
|
194
196
|
apexY: t.y,
|
|
195
|
-
proportion: l / (b.value[a].target ||
|
|
197
|
+
proportion: l / (b.value[a].target || ye.value)
|
|
196
198
|
}));
|
|
197
199
|
return {
|
|
198
200
|
...t,
|
|
@@ -202,39 +204,39 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
202
204
|
}));
|
|
203
205
|
function j({ x: t, y: a }) {
|
|
204
206
|
let o = "middle";
|
|
205
|
-
return t = Math.round(t), a = Math.round(a), t >
|
|
207
|
+
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
208
|
}
|
|
207
|
-
function
|
|
209
|
+
function Ue({ centerX: t, centerY: a, apexX: o, apexY: l, proportion: n }) {
|
|
208
210
|
return {
|
|
209
211
|
x: t + (o - t) * n,
|
|
210
212
|
y: a + (l - a) * n
|
|
211
213
|
};
|
|
212
214
|
}
|
|
213
|
-
const N =
|
|
214
|
-
const t = b.value.map((a, o) => a.values.map((l) => l / (a.target ||
|
|
215
|
+
const N = v(() => {
|
|
216
|
+
const t = b.value.map((a, o) => a.values.map((l) => l / (a.target || ye.value)));
|
|
215
217
|
return f.value.map((a, o) => ({
|
|
216
218
|
...a,
|
|
217
|
-
totalProportion:
|
|
219
|
+
totalProportion: et(t.map((l) => l[o]).reduce((l, n) => l + n, 0) / b.value.length),
|
|
218
220
|
shape: "circle",
|
|
219
221
|
opacity: c.value.includes(o) ? 0.5 : 1,
|
|
220
|
-
segregate: () =>
|
|
222
|
+
segregate: () => fe(o),
|
|
221
223
|
isSegregated: c.value.includes(o)
|
|
222
224
|
}));
|
|
223
|
-
}),
|
|
225
|
+
}), Ee = v(() => ({
|
|
224
226
|
cy: "radar-div-legend",
|
|
225
227
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
226
228
|
color: e.value.style.chart.legend.color,
|
|
227
229
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
228
230
|
paddingBottom: 12,
|
|
229
231
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
230
|
-
})), B =
|
|
232
|
+
})), B = v(() => {
|
|
231
233
|
const t = [
|
|
232
234
|
{ name: e.value.translations.datapoint, color: "" },
|
|
233
235
|
{ name: e.value.translations.target, color: "" },
|
|
234
236
|
...N.value
|
|
235
|
-
], a =
|
|
237
|
+
], a = h.dataset.series.map((l) => [
|
|
236
238
|
l.name,
|
|
237
|
-
|
|
239
|
+
xe(
|
|
238
240
|
l.formatter,
|
|
239
241
|
l.target,
|
|
240
242
|
U({
|
|
@@ -244,7 +246,7 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
244
246
|
r: e.value.table.td.roundingValue
|
|
245
247
|
})
|
|
246
248
|
),
|
|
247
|
-
...l.values.map((n, d) => `${
|
|
249
|
+
...l.values.map((n, d) => `${xe(
|
|
248
250
|
l.formatter,
|
|
249
251
|
n,
|
|
250
252
|
U({ p: f.value[d].prefix, v: n, s: f.value[d].suffix, r: e.value.table.td.roundingValue })
|
|
@@ -267,8 +269,8 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
267
269
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
268
270
|
};
|
|
269
271
|
return { head: t, body: a, config: o, colNames: t };
|
|
270
|
-
}), D =
|
|
271
|
-
function
|
|
272
|
+
}), D = u(null), q = u([]), H = u(null);
|
|
273
|
+
function Be(t, a) {
|
|
272
274
|
q.value = [], D.value = a, W.value = !0;
|
|
273
275
|
let o = "";
|
|
274
276
|
H.value = {
|
|
@@ -282,7 +284,7 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
282
284
|
config: e.value
|
|
283
285
|
};
|
|
284
286
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
285
|
-
if (
|
|
287
|
+
if (ot(l) && lt(() => l({
|
|
286
288
|
seriesIndex: a,
|
|
287
289
|
datapoint: t,
|
|
288
290
|
series: { categories: f.value, datapoints: b.value, radar: C.value },
|
|
@@ -309,60 +311,67 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
309
311
|
X.value = o;
|
|
310
312
|
}
|
|
311
313
|
}
|
|
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 =
|
|
314
|
+
function ke() {
|
|
315
|
+
je(() => {
|
|
316
|
+
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 = h.dataset.series.map((d, Bt) => [d.name, d.target, ...d.values.flatMap((K) => [
|
|
315
317
|
K,
|
|
316
318
|
isNaN(K / d.target) ? "" : K / d.target * 100
|
|
317
|
-
])]), l = t.concat([a]).concat(o), n =
|
|
318
|
-
|
|
319
|
+
])]), l = t.concat([a]).concat(o), n = rt(l);
|
|
320
|
+
nt({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-radar" });
|
|
319
321
|
});
|
|
320
322
|
}
|
|
321
|
-
const L =
|
|
322
|
-
function
|
|
323
|
+
const L = u(!1);
|
|
324
|
+
function De(t) {
|
|
323
325
|
L.value = t, te.value += 1;
|
|
324
326
|
}
|
|
325
|
-
function
|
|
327
|
+
function Ce() {
|
|
326
328
|
k.value.showTable = !k.value.showTable;
|
|
327
329
|
}
|
|
328
|
-
function
|
|
330
|
+
function _e() {
|
|
329
331
|
k.value.showTooltip = !k.value.showTooltip;
|
|
330
332
|
}
|
|
331
|
-
const G =
|
|
333
|
+
const G = u(!1);
|
|
332
334
|
function J() {
|
|
333
335
|
G.value = !G.value;
|
|
334
336
|
}
|
|
335
|
-
return
|
|
336
|
-
getData:
|
|
337
|
-
generatePdf:
|
|
338
|
-
generateCsv:
|
|
339
|
-
generateImage:
|
|
340
|
-
toggleTable:
|
|
341
|
-
toggleTooltip:
|
|
337
|
+
return Se({
|
|
338
|
+
getData: Me,
|
|
339
|
+
generatePdf: pe,
|
|
340
|
+
generateCsv: ke,
|
|
341
|
+
generateImage: he,
|
|
342
|
+
toggleTable: Ce,
|
|
343
|
+
toggleTooltip: _e,
|
|
342
344
|
toggleAnnotator: J
|
|
343
345
|
}), (t, a) => (r(), s("div", {
|
|
344
346
|
class: z(`vue-ui-radar ${L.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
345
347
|
ref_key: "radarChart",
|
|
346
348
|
ref: A,
|
|
347
349
|
id: `vue-ui-radar_${_.value}`,
|
|
348
|
-
style: Q(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center
|
|
350
|
+
style: Q(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`)
|
|
349
351
|
}, [
|
|
350
|
-
e.value.userOptions.buttons.annotator ? (r(), w(
|
|
352
|
+
e.value.userOptions.buttons.annotator ? (r(), w(bt, {
|
|
351
353
|
key: 0,
|
|
352
354
|
parent: A.value,
|
|
353
355
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
354
356
|
color: e.value.style.chart.color,
|
|
355
357
|
active: G.value,
|
|
356
358
|
onClose: J
|
|
357
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
358
|
-
|
|
359
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : p("", !0),
|
|
360
|
+
ze.value ? (r(), s("div", {
|
|
359
361
|
key: 1,
|
|
362
|
+
ref_key: "noTitle",
|
|
363
|
+
ref: re,
|
|
364
|
+
class: "vue-data-ui-no-title-space",
|
|
365
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
366
|
+
}, null, 512)) : p("", !0),
|
|
367
|
+
e.value.style.chart.title.text ? (r(), s("div", {
|
|
368
|
+
key: 2,
|
|
360
369
|
ref_key: "chartTitle",
|
|
361
370
|
ref: ae,
|
|
362
371
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
363
372
|
}, [
|
|
364
|
-
(r(), w(
|
|
365
|
-
key: `title_${
|
|
373
|
+
(r(), w(it, {
|
|
374
|
+
key: `title_${ne.value}`,
|
|
366
375
|
config: {
|
|
367
376
|
title: {
|
|
368
377
|
cy: "radar-div-title",
|
|
@@ -374,15 +383,15 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
374
383
|
}
|
|
375
384
|
}
|
|
376
385
|
}, null, 8, ["config"]))
|
|
377
|
-
], 512)) :
|
|
378
|
-
e.value.userOptions.show && F.value ? (r(), w(
|
|
386
|
+
], 512)) : p("", !0),
|
|
387
|
+
e.value.userOptions.show && F.value ? (r(), w(dt, {
|
|
379
388
|
ref_key: "details",
|
|
380
|
-
ref:
|
|
389
|
+
ref: Le,
|
|
381
390
|
key: `user_options_${te.value}`,
|
|
382
391
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
383
392
|
color: e.value.style.chart.color,
|
|
384
|
-
isImaging:
|
|
385
|
-
isPrinting:
|
|
393
|
+
isImaging: g(ve),
|
|
394
|
+
isPrinting: g(de),
|
|
386
395
|
uid: _.value,
|
|
387
396
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
388
397
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -397,14 +406,14 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
397
406
|
position: e.value.userOptions.position,
|
|
398
407
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
399
408
|
isAnnotation: G.value,
|
|
400
|
-
onToggleFullscreen:
|
|
401
|
-
onGeneratePdf:
|
|
402
|
-
onGenerateCsv:
|
|
403
|
-
onGenerateImage:
|
|
404
|
-
onToggleTable:
|
|
405
|
-
onToggleTooltip:
|
|
409
|
+
onToggleFullscreen: De,
|
|
410
|
+
onGeneratePdf: g(pe),
|
|
411
|
+
onGenerateCsv: ke,
|
|
412
|
+
onGenerateImage: g(he),
|
|
413
|
+
onToggleTable: Ce,
|
|
414
|
+
onToggleTooltip: _e,
|
|
406
415
|
onToggleAnnotator: J
|
|
407
|
-
},
|
|
416
|
+
}, Ye({ _: 2 }, [
|
|
408
417
|
t.$slots.optionTooltip ? {
|
|
409
418
|
name: "optionTooltip",
|
|
410
419
|
fn: y(() => [
|
|
@@ -454,15 +463,15 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
454
463
|
]),
|
|
455
464
|
key: "6"
|
|
456
465
|
} : void 0
|
|
457
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) :
|
|
466
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : p("", !0),
|
|
458
467
|
F.value ? (r(), s("svg", {
|
|
459
|
-
key:
|
|
460
|
-
xmlns:
|
|
468
|
+
key: 4,
|
|
469
|
+
xmlns: g(tt),
|
|
461
470
|
class: z({ "vue-data-ui-fullscreen--on": L.value, "vue-data-ui-fulscreen--off": !L.value }),
|
|
462
|
-
viewBox: `0 0 ${
|
|
471
|
+
viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
|
|
463
472
|
style: Q(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
464
473
|
}, [
|
|
465
|
-
Z(
|
|
474
|
+
Z(mt),
|
|
466
475
|
$("defs", null, [
|
|
467
476
|
(r(!0), s(P, null, T(f.value, (o, l) => (r(), s("radialGradient", {
|
|
468
477
|
cx: "50%",
|
|
@@ -474,81 +483,81 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
474
483
|
}, [
|
|
475
484
|
$("stop", {
|
|
476
485
|
offset: "0%",
|
|
477
|
-
"stop-color":
|
|
478
|
-
}, null, 8,
|
|
486
|
+
"stop-color": g(ee)(g(at)(o.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
|
|
487
|
+
}, null, 8, $t),
|
|
479
488
|
$("stop", {
|
|
480
489
|
offset: "100%",
|
|
481
|
-
"stop-color":
|
|
482
|
-
}, null, 8,
|
|
483
|
-
], 8,
|
|
490
|
+
"stop-color": g(ee)(o.color, e.value.style.chart.layout.dataPolygon.opacity)
|
|
491
|
+
}, null, 8, Pt)
|
|
492
|
+
], 8, wt))), 256))
|
|
484
493
|
]),
|
|
485
|
-
e.value.style.chart.layout.grid.show ? (r(), s("g",
|
|
494
|
+
e.value.style.chart.layout.grid.show ? (r(), s("g", Tt, [
|
|
486
495
|
(r(!0), s(P, null, T(C.value, (o) => (r(), s("line", {
|
|
487
|
-
x1:
|
|
488
|
-
y1:
|
|
496
|
+
x1: i.value.width / 2,
|
|
497
|
+
y1: i.value.height / 2,
|
|
489
498
|
x2: o.x,
|
|
490
499
|
y2: o.y,
|
|
491
500
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
492
501
|
"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:
|
|
502
|
+
}, null, 8, xt))), 256)),
|
|
503
|
+
e.value.style.chart.layout.grid.graduations > 0 ? (r(), s("g", At, [
|
|
504
|
+
(r(!0), s(P, null, T(Ve.value, (o) => (r(), s("path", {
|
|
505
|
+
d: g(Te)({
|
|
506
|
+
plot: { x: i.value.width / 2, y: i.value.height / 2 },
|
|
498
507
|
radius: o,
|
|
499
|
-
sides:
|
|
508
|
+
sides: me.value,
|
|
500
509
|
rotation: 0
|
|
501
510
|
}).path,
|
|
502
511
|
fill: "none",
|
|
503
512
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
504
513
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
505
|
-
}, null, 8,
|
|
506
|
-
])) :
|
|
507
|
-
])) :
|
|
514
|
+
}, null, 8, Ot))), 256))
|
|
515
|
+
])) : p("", !0)
|
|
516
|
+
])) : p("", !0),
|
|
508
517
|
$("path", {
|
|
509
|
-
d:
|
|
518
|
+
d: be.value.path,
|
|
510
519
|
fill: "none",
|
|
511
520
|
stroke: e.value.style.chart.layout.outerPolygon.stroke,
|
|
512
521
|
"stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
|
|
513
522
|
"stroke-linejoin": "round",
|
|
514
523
|
"stroke-linecap": "round"
|
|
515
|
-
}, null, 8,
|
|
516
|
-
e.value.style.chart.layout.labels.dataLabels.show ? (r(), s("g",
|
|
524
|
+
}, null, 8, Nt),
|
|
525
|
+
e.value.style.chart.layout.labels.dataLabels.show ? (r(), s("g", St, [
|
|
517
526
|
(r(!0), s(P, null, T(C.value, (o, l) => (r(), s("text", {
|
|
518
527
|
x: j(o).x,
|
|
519
528
|
y: j(o).y,
|
|
520
529
|
"text-anchor": j(o).anchor,
|
|
521
530
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
522
531
|
fill: e.value.style.chart.layout.labels.dataLabels.color,
|
|
523
|
-
onMouseenter: (n) =>
|
|
532
|
+
onMouseenter: (n) => Be(o, l),
|
|
524
533
|
onMouseleave: a[0] || (a[0] = (n) => {
|
|
525
534
|
W.value = !1, D.value = null;
|
|
526
535
|
})
|
|
527
|
-
}, V(o.name), 41,
|
|
528
|
-
])) :
|
|
536
|
+
}, V(o.name), 41, Ft))), 256))
|
|
537
|
+
])) : p("", !0),
|
|
529
538
|
(r(!0), s(P, null, T(f.value, (o, l) => (r(), s("g", null, [
|
|
530
539
|
$("g", null, [
|
|
531
540
|
e.value.useCssAnimation || !e.value.useCssAnimation && !c.value.includes(l) ? (r(), s("polygon", {
|
|
532
541
|
key: 0,
|
|
533
542
|
"data-cy-radar-path": "",
|
|
534
|
-
points:
|
|
543
|
+
points: g(Ae)(C.value.map((n) => n.plots[l]), !1, !0),
|
|
535
544
|
stroke: e.value.style.chart.backgroundColor,
|
|
536
545
|
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth + 1,
|
|
537
546
|
fill: "none",
|
|
538
547
|
class: z({ "animated-out": c.value.includes(l) && e.value.useCssAnimation, "animated-in": O.value && I.value === l && e.value.useCssAnimation })
|
|
539
|
-
}, null, 10,
|
|
548
|
+
}, null, 10, It)) : p("", !0),
|
|
540
549
|
e.value.useCssAnimation || !e.value.useCssAnimation && !c.value.includes(l) ? (r(), s("polygon", {
|
|
541
550
|
key: 1,
|
|
542
551
|
"data-cy-radar-path": "",
|
|
543
|
-
points:
|
|
552
|
+
points: g(Ae)(C.value.map((n) => n.plots[l]), !1, !0),
|
|
544
553
|
stroke: o.color,
|
|
545
554
|
"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})` :
|
|
555
|
+
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
556
|
class: z({ "animated-out": c.value.includes(l) && e.value.useCssAnimation, "animated-in": O.value && I.value === l && e.value.useCssAnimation })
|
|
548
|
-
}, null, 10,
|
|
557
|
+
}, null, 10, Lt)) : p("", !0)
|
|
549
558
|
])
|
|
550
559
|
]))), 256)),
|
|
551
|
-
e.value.style.chart.layout.plots.show ? (r(), s("g",
|
|
560
|
+
e.value.style.chart.layout.plots.show ? (r(), s("g", zt, [
|
|
552
561
|
(r(!0), s(P, null, T(C.value, (o, l) => (r(), s("g", null, [
|
|
553
562
|
(r(!0), s(P, null, T(o.plots, (n, d) => (r(), s("circle", {
|
|
554
563
|
cx: n.x,
|
|
@@ -558,16 +567,16 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
558
567
|
stroke: c.value.includes(d) ? "transparent" : e.value.style.chart.backgroundColor,
|
|
559
568
|
"stroke-width": 0.5,
|
|
560
569
|
class: z({ "animated-out": c.value.includes(d) && e.value.useCssAnimation, "animated-in": O.value && I.value === d && e.value.useCssAnimation })
|
|
561
|
-
}, null, 10,
|
|
570
|
+
}, null, 10, Rt))), 256))
|
|
562
571
|
]))), 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 ?
|
|
570
|
-
key:
|
|
572
|
+
])) : p("", !0),
|
|
573
|
+
m(t.$slots, "svg", { svg: i.value }, void 0, !0)
|
|
574
|
+
], 14, _t)) : p("", !0),
|
|
575
|
+
t.$slots.watermark ? (r(), s("div", Mt, [
|
|
576
|
+
m(t.$slots, "watermark", R(M({ isPrinting: g(de) || g(ve) })), void 0, !0)
|
|
577
|
+
])) : p("", !0),
|
|
578
|
+
F.value ? p("", !0) : (r(), w(ft, {
|
|
579
|
+
key: 6,
|
|
571
580
|
config: {
|
|
572
581
|
type: "radar",
|
|
573
582
|
style: {
|
|
@@ -587,22 +596,22 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
587
596
|
ref_key: "chartLegend",
|
|
588
597
|
ref: oe
|
|
589
598
|
}, [
|
|
590
|
-
e.value.style.chart.legend.show ? (r(), w(
|
|
591
|
-
key: `legend_${
|
|
599
|
+
e.value.style.chart.legend.show ? (r(), w(ht, {
|
|
600
|
+
key: `legend_${ue.value}`,
|
|
592
601
|
legendSet: N.value,
|
|
593
|
-
config:
|
|
594
|
-
onClickMarker: a[1] || (a[1] = ({ i: o }) =>
|
|
602
|
+
config: Ee.value,
|
|
603
|
+
onClickMarker: a[1] || (a[1] = ({ i: o }) => fe(o))
|
|
595
604
|
}, {
|
|
596
605
|
item: y(({ legend: o, index: l }) => [
|
|
597
606
|
$("div", {
|
|
598
607
|
"data-cy-legend-item": "",
|
|
599
608
|
onClick: (n) => o.segregate(),
|
|
600
609
|
style: Q(`opacity:${c.value.includes(l) ? 0.5 : 1}`)
|
|
601
|
-
}, V(o.name) + ": " + V(
|
|
610
|
+
}, V(o.name) + ": " + V(g(U)({
|
|
602
611
|
v: o.totalProportion * 100,
|
|
603
612
|
s: "%",
|
|
604
613
|
r: e.value.style.chart.legend.roundingPercentage
|
|
605
|
-
})), 13,
|
|
614
|
+
})), 13, Vt)
|
|
606
615
|
]),
|
|
607
616
|
_: 1
|
|
608
617
|
}, 8, ["legendSet", "config"])) : m(t.$slots, "legend", {
|
|
@@ -610,7 +619,15 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
610
619
|
legend: N.value
|
|
611
620
|
}, void 0, !0)
|
|
612
621
|
], 512),
|
|
613
|
-
|
|
622
|
+
t.$slots.source ? (r(), s("div", {
|
|
623
|
+
key: 7,
|
|
624
|
+
ref_key: "source",
|
|
625
|
+
ref: le,
|
|
626
|
+
dir: "auto"
|
|
627
|
+
}, [
|
|
628
|
+
m(t.$slots, "source", {}, void 0, !0)
|
|
629
|
+
], 512)) : p("", !0),
|
|
630
|
+
Z(vt, {
|
|
614
631
|
show: k.value.showTooltip && W.value,
|
|
615
632
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
616
633
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -629,10 +646,10 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
629
646
|
m(t.$slots, "tooltip-before", R(M({ ...H.value })), void 0, !0)
|
|
630
647
|
]),
|
|
631
648
|
"tooltip-after": y(() => [
|
|
632
|
-
["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ?
|
|
633
|
-
Z(
|
|
649
|
+
["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? p("", !0) : (r(), s("div", Ut, [
|
|
650
|
+
Z(pt, {
|
|
634
651
|
dataset: q.value,
|
|
635
|
-
config:
|
|
652
|
+
config: Re.value,
|
|
636
653
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity
|
|
637
654
|
}, null, 8, ["dataset", "config", "backgroundOpacity"])
|
|
638
655
|
])),
|
|
@@ -640,8 +657,8 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
640
657
|
]),
|
|
641
658
|
_: 3
|
|
642
659
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "fontSize", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
643
|
-
F.value ? (r(), w(
|
|
644
|
-
key:
|
|
660
|
+
F.value ? (r(), w(yt, {
|
|
661
|
+
key: 8,
|
|
645
662
|
hideDetails: "",
|
|
646
663
|
config: {
|
|
647
664
|
open: k.value.showTable,
|
|
@@ -657,8 +674,8 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
657
674
|
}
|
|
658
675
|
}, {
|
|
659
676
|
content: y(() => [
|
|
660
|
-
(r(), w(
|
|
661
|
-
key: `table_${
|
|
677
|
+
(r(), w(gt, {
|
|
678
|
+
key: `table_${se.value}`,
|
|
662
679
|
colNames: B.value.colNames,
|
|
663
680
|
head: B.value.head,
|
|
664
681
|
body: B.value.body,
|
|
@@ -667,19 +684,19 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"],
|
|
|
667
684
|
onClose: a[2] || (a[2] = (o) => k.value.showTable = !1)
|
|
668
685
|
}, {
|
|
669
686
|
th: y(({ th: o }) => [
|
|
670
|
-
|
|
687
|
+
we(V(o.name), 1)
|
|
671
688
|
]),
|
|
672
689
|
td: y(({ td: o }) => [
|
|
673
|
-
|
|
690
|
+
we(V(o), 1)
|
|
674
691
|
]),
|
|
675
692
|
_: 1
|
|
676
693
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
677
694
|
]),
|
|
678
695
|
_: 1
|
|
679
|
-
}, 8, ["config"])) :
|
|
680
|
-
], 14,
|
|
696
|
+
}, 8, ["config"])) : p("", !0)
|
|
697
|
+
], 14, Ct));
|
|
681
698
|
}
|
|
682
|
-
},
|
|
699
|
+
}, oa = /* @__PURE__ */ kt(Et, [["__scopeId", "data-v-e797ea4b"]]);
|
|
683
700
|
export {
|
|
684
|
-
|
|
701
|
+
oa as default
|
|
685
702
|
};
|