vue-data-ui 2.4.3 → 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-C7lNL7sY.js → Arrow-AxsI-FAh.js} +1 -1
- package/dist/{Arrow-Dz6AomGr.cjs → Arrow-W6XO2WVI.cjs} +1 -1
- package/dist/{BaseIcon-uALK38Ov.cjs → BaseIcon-BTn_oML7.cjs} +1 -1
- package/dist/{BaseIcon-BbvG1AlW.js → BaseIcon-BX3x6oa7.js} +1 -1
- package/dist/{DataTable-DYqC2pqu.js → DataTable-BI1tjiA_.js} +2 -2
- package/dist/{DataTable-DTzynbND.cjs → DataTable-RUQ1G_6L.cjs} +1 -1
- package/dist/{Legend-Cgw4lO2O.cjs → Legend-B86sMXn7.cjs} +1 -1
- package/dist/{Legend-DNgTCgEK.js → Legend-CRMHjbGw.js} +1 -1
- package/dist/{PackageVersion-VkaUzgmt.js → PackageVersion-Clrfvyd8.js} +1 -1
- package/dist/{PackageVersion-DwI-KhXH.cjs → PackageVersion-CowXQ4IM.cjs} +1 -1
- package/dist/{PenAndPaper-DAZYA8Ew.js → PenAndPaper-BQzgk5kO.js} +2 -2
- package/dist/{PenAndPaper-CDFVOo7X.cjs → PenAndPaper-DBSxk9Xk.cjs} +1 -1
- package/dist/{Shape-Bwon0l0g.js → Shape-DYNtRer6.js} +1 -1
- package/dist/{Shape-D2Dpshg1.cjs → Shape-qK3MNdTg.cjs} +1 -1
- package/dist/{Slicer-TfpN2Cr4.js → Slicer-DFPDip5U.js} +3 -3
- package/dist/{Slicer-uSjfNJjG.cjs → Slicer-NlxLkUso.cjs} +1 -1
- package/dist/{Title-C5pIfQAz.js → Title-710895ks.js} +1 -1
- package/dist/{Title-0Tp4hZ4u.cjs → Title-CUN1T6KC.cjs} +1 -1
- package/dist/{Tooltip-9Tp2Yrd1.cjs → Tooltip-BapDtYOM.cjs} +1 -1
- package/dist/{Tooltip-Cz24YLfw.js → Tooltip-CPlG_yQU.js} +1 -1
- package/dist/{index-eFox7weK.cjs → index-CcykRspI.cjs} +1 -1
- package/dist/{index-Bya_q1J-.js → index-DCsPHn9C.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-B33hazbH.js → useNestedProp-DdSlLeTW.js} +1 -1
- package/dist/{useNestedProp-BkgEhTQY.cjs → useNestedProp-XtPlFP9O.cjs} +1 -1
- package/dist/{usePrinter-CSRFnDBU.cjs → usePrinter-BcE45wW6.cjs} +1 -1
- package/dist/{usePrinter-CiHd1FwD.js → usePrinter-siG3sKWo.js} +1 -1
- package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
- package/dist/{useResponsive-BY8tgM1n.js → useResponsive-CoxXLe23.js} +8 -7
- package/dist/{vue-data-ui-BTtxyUc3.cjs → vue-data-ui-C0o1kZzC.cjs} +1 -1
- package/dist/{vue-data-ui-Bduq4f2p.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-BUEq_VdY.js → vue-ui-3d-bar-BdzWvy4d.js} +9 -9
- package/dist/{vue-ui-3d-bar-B-P7PMHs.cjs → vue-ui-3d-bar-C298Bf3V.cjs} +1 -1
- package/dist/{vue-ui-accordion-TEMpM1hO.cjs → vue-ui-accordion-B7PTyFVk.cjs} +1 -1
- package/dist/{vue-ui-accordion-DfUfL2dI.js → vue-ui-accordion-D4Er5Dy5.js} +3 -3
- package/dist/vue-ui-age-pyramid-BIcB5vtU.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CH72tAMb.js → vue-ui-age-pyramid-CHEdFQb7.js} +145 -137
- package/dist/{vue-ui-annotator-DPeJ2its.js → vue-ui-annotator-CqM_1HlB.js} +1 -1
- package/dist/{vue-ui-annotator-DU_DJKCw.cjs → vue-ui-annotator-eGtZcHeb.cjs} +1 -1
- package/dist/{vue-ui-bullet-CtP3MlUT.js → vue-ui-bullet-DBk50kIe.js} +75 -69
- package/dist/vue-ui-bullet-DURgZGgp.cjs +34 -0
- package/dist/{vue-ui-candlestick-DDil13a0.js → vue-ui-candlestick-Bo41qkGe.js} +240 -232
- package/dist/vue-ui-candlestick-CP4Z-29b.cjs +2 -0
- package/dist/{vue-ui-carousel-table-BaeIxyc0.js → vue-ui-carousel-table-CkNOqa9q.js} +4 -4
- package/dist/{vue-ui-carousel-table-C7SJIOG-.cjs → vue-ui-carousel-table-lMqx64wd.cjs} +1 -1
- package/dist/{vue-ui-chestnut-BczSJF6S.js → vue-ui-chestnut-CNWq-epB.js} +262 -256
- package/dist/vue-ui-chestnut-qxzF2ND7.cjs +6 -0
- package/dist/{vue-ui-cursor-Dg_Dmww-.js → vue-ui-cursor-B4m30Gqz.js} +2 -2
- package/dist/{vue-ui-cursor-C2Pj_CI_.cjs → vue-ui-cursor-BEv39HVY.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Bul9dqx1.js → vue-ui-dashboard-BL9IgDDx.js} +2 -2
- package/dist/{vue-ui-dashboard-Cg020NiT.cjs → vue-ui-dashboard-DnoXstlp.cjs} +1 -1
- package/dist/{vue-ui-digits-B8iAa4YZ.js → vue-ui-digits-CVPDJ6tl.js} +2 -2
- package/dist/{vue-ui-digits-Ctgd84JR.cjs → vue-ui-digits-D1RaU4V-.cjs} +1 -1
- package/dist/{vue-ui-donut-DUcp-fat.js → vue-ui-donut-C65SAJKb.js} +338 -330
- 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-C_YMbTwq.js → vue-ui-donut-evolution-BFbBlmBx.js} +163 -156
- package/dist/{vue-ui-dumbbell-Buwngz_V.js → vue-ui-dumbbell-BnxRfvv0.js} +208 -200
- package/dist/vue-ui-dumbbell-OCo67ZKp.cjs +9 -0
- package/dist/vue-ui-flow-BPnpYrzb.cjs +1 -0
- package/dist/{vue-ui-flow-Bz3c0K5P.js → vue-ui-flow-Cra_F-tK.js} +130 -124
- package/dist/vue-ui-galaxy-3zTk9Pr1.cjs +1 -0
- package/dist/{vue-ui-galaxy-Cjh0XGTX.js → vue-ui-galaxy-DlJ7v0aD.js} +125 -119
- package/dist/{vue-ui-gauge-B1UvGkQa.js → vue-ui-gauge-CsqVvNxE.js} +167 -159
- package/dist/vue-ui-gauge-DcUNJZI1.cjs +1 -0
- package/dist/{vue-ui-gizmo-DFW6HnHp.cjs → vue-ui-gizmo-BkkLoCyx.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DUQ4t-At.js → vue-ui-gizmo-Peyy8li7.js} +3 -3
- package/dist/vue-ui-heatmap-DYb831An.cjs +1 -0
- package/dist/{vue-ui-heatmap-C-poazUw.js → vue-ui-heatmap-i4HFM04D.js} +156 -149
- package/dist/{vue-ui-kpi-Z4Oi4raz.cjs → vue-ui-kpi-CCrdcv3r.cjs} +1 -1
- package/dist/{vue-ui-kpi-DXe-vxAk.js → vue-ui-kpi-gSKVVqZg.js} +3 -3
- package/dist/{vue-ui-mini-loader-MMvpm9pz.cjs → vue-ui-mini-loader-CqutMcQI.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BVtHTqxS.js → vue-ui-mini-loader-D7Jk1LJb.js} +2 -2
- package/dist/{vue-ui-molecule-BaJpDZND.js → vue-ui-molecule-CgdepnhM.js} +109 -103
- package/dist/vue-ui-molecule-CwUObXAx.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BUNDwsEI.js → vue-ui-mood-radar-Bxro4962.js} +173 -166
- package/dist/vue-ui-mood-radar-RQFKS7Br.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-mDy2hXa6.js → vue-ui-nested-donuts-B7dXBejH.js} +311 -303
- package/dist/vue-ui-nested-donuts-D8ZGqIGC.cjs +17 -0
- package/dist/vue-ui-onion-Dtt0kw8E.cjs +5 -0
- package/dist/{vue-ui-onion-DwFG3HAI.js → vue-ui-onion-i52wztm0.js} +149 -141
- package/dist/vue-ui-parallel-coordinate-plot-DNK0BrBy.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-ImET_zeo.js → vue-ui-parallel-coordinate-plot-DUssrm08.js} +186 -178
- package/dist/{vue-ui-quadrant-BeveRihK.js → vue-ui-quadrant-BORPtgQO.js} +225 -217
- 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-DAhllTfa.js → vue-ui-quick-chart-yb1FzVdt.js} +386 -378
- package/dist/{vue-ui-radar-BllatzRa.js → vue-ui-radar-CoCbl19A.js} +172 -164
- package/dist/vue-ui-radar-DZMngiqq.cjs +1 -0
- package/dist/{vue-ui-rating-D1ykV4xO.js → vue-ui-rating-D-zwuvLK.js} +2 -2
- package/dist/{vue-ui-rating-BoZo7caL.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-B-ZcX6y1.js → vue-ui-rings-Bx2GEh6d.js} +196 -188
- package/dist/{vue-ui-scatter-DG43ck1g.js → vue-ui-scatter-BARiPzro.js} +288 -280
- package/dist/vue-ui-scatter-C-i1NZgz.cjs +1 -0
- package/dist/{vue-ui-screenshot-p3ca8cAl.js → vue-ui-screenshot-CuiJqlfo.js} +1 -1
- package/dist/{vue-ui-screenshot-C1JBP_N0.cjs → vue-ui-screenshot-CwOoftGV.cjs} +1 -1
- package/dist/{vue-ui-skeleton-BYssP0K4.js → vue-ui-skeleton-DNuwx6_y.js} +3 -3
- package/dist/{vue-ui-skeleton-BqKzuhkB.cjs → vue-ui-skeleton-DpfJbsNA.cjs} +1 -1
- package/dist/{vue-ui-smiley-D7dDCdpq.js → vue-ui-smiley-BnX27B0k.js} +2 -2
- package/dist/{vue-ui-smiley-BXKVpHl2.cjs → vue-ui-smiley-DGE9NFBY.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-GWFrO_0z.js → vue-ui-spark-trend-CgCLrMox.js} +5 -5
- package/dist/{vue-ui-spark-trend-9V60hM3Z.cjs → vue-ui-spark-trend-aW-de-rX.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Bgn6AY0q.cjs → vue-ui-sparkbar-BLUXUlTY.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CwqlyAyv.js → vue-ui-sparkbar-BXku33sq.js} +4 -4
- package/dist/{vue-ui-sparkgauge-F2XbiXyA.js → vue-ui-sparkgauge-Doi0iu0L.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Dqntz2Zv.cjs → vue-ui-sparkgauge-RTiKvSMp.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DRIKK6Ym.js → vue-ui-sparkhistogram-BnMvXlAP.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DnY4-Sdn.cjs → vue-ui-sparkhistogram-C6AgJH1C.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Cxtzdlhi.js → vue-ui-sparkline-DI7fq_MR.js} +5 -5
- package/dist/{vue-ui-sparkline-CAEs-gtK.cjs → vue-ui-sparkline-DpVCQ6W9.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D37ms1rx.cjs → vue-ui-sparkstackbar-Bvuq2sLW.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-0A1klq9s.js → vue-ui-sparkstackbar-oNnE5z1C.js} +4 -4
- package/dist/{vue-ui-stackbar-ByOuJSdM.js → vue-ui-stackbar-6g7b3yyu.js} +13 -13
- package/dist/{vue-ui-stackbar-wun4S3C0.cjs → vue-ui-stackbar-aWJDGIKV.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-CMD0MSqY.js → vue-ui-strip-plot-BFM8HIM8.js} +204 -196
- package/dist/vue-ui-strip-plot-GdjjVxMN.cjs +1 -0
- package/dist/{vue-ui-table-B75DJ39t.js → vue-ui-table-Cw4Yz-IE.js} +1 -1
- package/dist/{vue-ui-table-aj0XZ7T5.cjs → vue-ui-table-XOPmDCOB.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Ce93TyBF.cjs → vue-ui-table-heatmap-Bh48bMuU.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BO2ugWqD.js → vue-ui-table-heatmap-DeRCR8l6.js} +4 -4
- package/dist/{vue-ui-table-sparkline-D6KJjDnU.cjs → vue-ui-table-sparkline-C25qj1w_.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CbjfAaj2.js → vue-ui-table-sparkline-w3H-od91.js} +5 -5
- package/dist/{vue-ui-thermometer-Pq4PvSIP.js → vue-ui-thermometer-BySEVhT8.js} +171 -165
- package/dist/vue-ui-thermometer-DZrusaGY.cjs +1 -0
- package/dist/{vue-ui-timer-B6IB6yS6.cjs → vue-ui-timer-1p6J6hTn.cjs} +1 -1
- package/dist/{vue-ui-timer-Bk3BvB-B.js → vue-ui-timer-BN-9a2lj.js} +6 -6
- package/dist/vue-ui-tiremarks-CvIJeWKE.cjs +1 -0
- package/dist/{vue-ui-tiremarks-CU9HJIqf.js → vue-ui-tiremarks-EzYdOMyf.js} +119 -112
- package/dist/vue-ui-treemap-CzNOr1iR.cjs +1 -0
- package/dist/{vue-ui-treemap-DY-lRAhC.js → vue-ui-treemap-Da0f6vaF.js} +266 -258
- package/dist/vue-ui-vertical-bar-B9shdfqo.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CtnIKsM1.js → vue-ui-vertical-bar-D1cBfu5p.js} +245 -237
- package/dist/vue-ui-waffle-Cg-7Fazv.cjs +1 -0
- package/dist/{vue-ui-waffle-reOsx-gJ.js → vue-ui-waffle-DM2LsEP7.js} +224 -216
- package/dist/{vue-ui-wheel-kYxny3vn.js → vue-ui-wheel-B9cmixxi.js} +125 -117
- package/dist/vue-ui-wheel-C-JukdTy.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DwLY4QdB.cjs → vue-ui-word-cloud-BLMWYOPy.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DbMqrHAf.js → vue-ui-word-cloud-Baz7RXN2.js} +11 -11
- package/dist/vue-ui-xy-BHeSkJQ3.cjs +3 -0
- package/dist/{vue-ui-xy-rbACig0h.js → vue-ui-xy-DVnzVSqE.js} +302 -291
- package/dist/{vue-ui-xy-canvas-B0HTR7OV.js → vue-ui-xy-canvas-A7PKnWBs.js} +12 -12
- package/dist/{vue-ui-xy-canvas-CgJd5FiT.cjs → vue-ui-xy-canvas-DAd-B98z.cjs} +1 -1
- package/package.json +1 -1
- package/dist/useResponsive-CodiGUOE.cjs +0 -1
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +0 -1
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +0 -34
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +0 -2
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +0 -6
- package/dist/vue-ui-donut-D7KT9EAp.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +0 -1
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +0 -9
- package/dist/vue-ui-flow-D6rc8J-8.cjs +0 -1
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +0 -1
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +0 -1
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +0 -1
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +0 -1
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +0 -17
- package/dist/vue-ui-onion-GWNoZRhw.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +0 -8
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +0 -1
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +0 -15
- package/dist/vue-ui-radar-BJH5SE6-.cjs +0 -1
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +0 -1
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +0 -358
- package/dist/vue-ui-rings-DjH3CK23.cjs +0 -2
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +0 -1
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +0 -1
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +0 -1
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +0 -1
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +0 -1
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +0 -4
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +0 -1
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +0 -1
- package/dist/vue-ui-xy-CGWzriYn.cjs +0 -3
|
@@ -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,60 +36,61 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["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
60
|
const E = u(null);
|
|
61
|
-
function
|
|
62
|
-
if (
|
|
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
70
|
legend: e.value.style.chart.legend.show ? oe.value : null,
|
|
71
|
-
source: le.value
|
|
71
|
+
source: le.value,
|
|
72
|
+
noTitle: re.value
|
|
72
73
|
});
|
|
73
74
|
i.value.width = a, i.value.height = o;
|
|
74
75
|
});
|
|
75
76
|
E.value = new ResizeObserver(t), E.value.observe(A.value.parentNode);
|
|
76
77
|
}
|
|
77
78
|
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}),
|
|
79
|
+
We(() => {
|
|
80
|
+
ce();
|
|
81
|
+
}), Xe(() => {
|
|
81
82
|
E.value && E.value.disconnect();
|
|
82
83
|
});
|
|
83
|
-
const { isPrinting:
|
|
84
|
+
const { isPrinting: de, isImaging: ve, generatePdf: pe, generateImage: he } = ct({
|
|
84
85
|
elementId: `vue-ui-radar_${_.value}`,
|
|
85
86
|
fileName: e.value.style.chart.title.text || "vue-ui-radar"
|
|
86
|
-
}),
|
|
87
|
+
}), ze = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), ge = v(() => Ze(e.value.customPalette)), k = u({
|
|
87
88
|
dataLabels: {
|
|
88
89
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
89
90
|
},
|
|
90
91
|
showTable: e.value.table.show,
|
|
91
92
|
showTooltip: e.value.style.chart.tooltip.show
|
|
92
|
-
}),
|
|
93
|
+
}), Re = v(() => ({
|
|
93
94
|
style: {
|
|
94
95
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
95
96
|
animation: {
|
|
@@ -111,34 +112,34 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
111
112
|
height: 312,
|
|
112
113
|
width: 512
|
|
113
114
|
}), c = u([]), I = u(null), O = u(!1);
|
|
114
|
-
function
|
|
115
|
+
function fe(t) {
|
|
115
116
|
O.value = !0, c.value.includes(t) ? (I.value = t, c.value = c.value.filter((a) => a !== t), setTimeout(() => {
|
|
116
117
|
O.value = !1, I.value = null;
|
|
117
118
|
}, 500)) : (c.value.push(t), setTimeout(() => {
|
|
118
119
|
O.value = !1;
|
|
119
|
-
}, 500)),
|
|
120
|
+
}, 500)), Fe("selectLegend", N.value.filter((a, o) => !c.value.includes(o)).map((a) => ({
|
|
120
121
|
name: a.name,
|
|
121
122
|
color: a.color,
|
|
122
123
|
proportion: a.totalProportion
|
|
123
124
|
})));
|
|
124
125
|
}
|
|
125
|
-
function
|
|
126
|
+
function Me() {
|
|
126
127
|
return N.value.map((t) => ({
|
|
127
128
|
name: t.name,
|
|
128
129
|
color: t.color,
|
|
129
130
|
proportion: t.totalProportion
|
|
130
131
|
}));
|
|
131
132
|
}
|
|
132
|
-
const f =
|
|
133
|
+
const f = v(() => [null, void 0].includes(h.dataset.categories) ? (S({
|
|
133
134
|
componentName: "VueUiRadar",
|
|
134
135
|
type: "datasetAttribute",
|
|
135
136
|
property: "categories ({ name: string; prefix?: string; suffix?: string}[])"
|
|
136
|
-
}), []) : (
|
|
137
|
+
}), []) : (h.dataset.categories.length === 0 ? S({
|
|
137
138
|
componentName: "VueUiRadar",
|
|
138
139
|
type: "datasetAttributeEmpty",
|
|
139
140
|
property: "categories"
|
|
140
|
-
}) :
|
|
141
|
-
|
|
141
|
+
}) : h.dataset.categories.forEach((t, a) => {
|
|
142
|
+
$e({
|
|
142
143
|
datasetObject: t,
|
|
143
144
|
requiredAttributes: ["name"]
|
|
144
145
|
}).forEach((o) => {
|
|
@@ -149,12 +150,12 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
149
150
|
index: a
|
|
150
151
|
});
|
|
151
152
|
});
|
|
152
|
-
}), [null, void 0].includes(
|
|
153
|
+
}), [null, void 0].includes(h.dataset.series) ? S({
|
|
153
154
|
componentName: "VueUiRadar",
|
|
154
155
|
type: "datasetAttribute",
|
|
155
156
|
property: "series ({ name: string; values: number[]; color?: string; target: number}[])"
|
|
156
|
-
}) :
|
|
157
|
-
|
|
157
|
+
}) : h.dataset.series.forEach((t, a) => {
|
|
158
|
+
$e({
|
|
158
159
|
datasetObject: t,
|
|
159
160
|
requiredAttributes: ["name", "values", "target"]
|
|
160
161
|
}).forEach((o) => {
|
|
@@ -166,34 +167,34 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
166
167
|
index: a
|
|
167
168
|
});
|
|
168
169
|
});
|
|
169
|
-
}),
|
|
170
|
+
}), h.dataset.categories.map((t, a) => ({
|
|
170
171
|
name: t.name,
|
|
171
172
|
categoryId: `radar_category_${_.value}_${a}`,
|
|
172
|
-
color:
|
|
173
|
+
color: Pe(t.color) || ge.value[a] || x[a] || x[a % x.length],
|
|
173
174
|
prefix: t.prefix ?? "",
|
|
174
175
|
suffix: t.suffix ?? ""
|
|
175
|
-
})))), b =
|
|
176
|
+
})))), b = v(() => F.value ? h.dataset.series.map((t, a) => ({
|
|
176
177
|
...t,
|
|
177
|
-
color:
|
|
178
|
+
color: Pe(t.color) || ge.value[a] || x[a] || x[a % x.length],
|
|
178
179
|
serieId: `radar_serie_${_.value}_${a}`,
|
|
179
180
|
formatter: t.formatter || null
|
|
180
|
-
})) : []),
|
|
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({
|
|
181
182
|
plot: { x: i.value.width / 2, y: i.value.height / 2 },
|
|
182
183
|
radius: Y.value,
|
|
183
|
-
sides:
|
|
184
|
+
sides: me.value,
|
|
184
185
|
rotation: 0
|
|
185
|
-
})),
|
|
186
|
+
})), Ve = v(() => {
|
|
186
187
|
const t = [];
|
|
187
188
|
for (let a = 0; a < Y.value; a += Y.value / e.value.style.chart.layout.grid.graduations)
|
|
188
189
|
t.push(a);
|
|
189
190
|
return t;
|
|
190
|
-
}), C =
|
|
191
|
-
const o = b.value[a].values.map((l) =>
|
|
191
|
+
}), C = v(() => be.value.coordinates.map((t, a) => {
|
|
192
|
+
const o = b.value[a].values.map((l) => Ue({
|
|
192
193
|
centerX: i.value.width / 2,
|
|
193
194
|
centerY: i.value.height / 2,
|
|
194
195
|
apexX: t.x,
|
|
195
196
|
apexY: t.y,
|
|
196
|
-
proportion: l / (b.value[a].target ||
|
|
197
|
+
proportion: l / (b.value[a].target || ye.value)
|
|
197
198
|
}));
|
|
198
199
|
return {
|
|
199
200
|
...t,
|
|
@@ -205,37 +206,37 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
205
206
|
let o = "middle";
|
|
206
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 };
|
|
207
208
|
}
|
|
208
|
-
function
|
|
209
|
+
function Ue({ centerX: t, centerY: a, apexX: o, apexY: l, proportion: n }) {
|
|
209
210
|
return {
|
|
210
211
|
x: t + (o - t) * n,
|
|
211
212
|
y: a + (l - a) * n
|
|
212
213
|
};
|
|
213
214
|
}
|
|
214
|
-
const N =
|
|
215
|
-
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)));
|
|
216
217
|
return f.value.map((a, o) => ({
|
|
217
218
|
...a,
|
|
218
|
-
totalProportion:
|
|
219
|
+
totalProportion: et(t.map((l) => l[o]).reduce((l, n) => l + n, 0) / b.value.length),
|
|
219
220
|
shape: "circle",
|
|
220
221
|
opacity: c.value.includes(o) ? 0.5 : 1,
|
|
221
|
-
segregate: () =>
|
|
222
|
+
segregate: () => fe(o),
|
|
222
223
|
isSegregated: c.value.includes(o)
|
|
223
224
|
}));
|
|
224
|
-
}),
|
|
225
|
+
}), Ee = v(() => ({
|
|
225
226
|
cy: "radar-div-legend",
|
|
226
227
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
227
228
|
color: e.value.style.chart.legend.color,
|
|
228
229
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
229
230
|
paddingBottom: 12,
|
|
230
231
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
231
|
-
})), B =
|
|
232
|
+
})), B = v(() => {
|
|
232
233
|
const t = [
|
|
233
234
|
{ name: e.value.translations.datapoint, color: "" },
|
|
234
235
|
{ name: e.value.translations.target, color: "" },
|
|
235
236
|
...N.value
|
|
236
|
-
], a =
|
|
237
|
+
], a = h.dataset.series.map((l) => [
|
|
237
238
|
l.name,
|
|
238
|
-
|
|
239
|
+
xe(
|
|
239
240
|
l.formatter,
|
|
240
241
|
l.target,
|
|
241
242
|
U({
|
|
@@ -245,7 +246,7 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
245
246
|
r: e.value.table.td.roundingValue
|
|
246
247
|
})
|
|
247
248
|
),
|
|
248
|
-
...l.values.map((n, d) => `${
|
|
249
|
+
...l.values.map((n, d) => `${xe(
|
|
249
250
|
l.formatter,
|
|
250
251
|
n,
|
|
251
252
|
U({ p: f.value[d].prefix, v: n, s: f.value[d].suffix, r: e.value.table.td.roundingValue })
|
|
@@ -269,7 +270,7 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
269
270
|
};
|
|
270
271
|
return { head: t, body: a, config: o, colNames: t };
|
|
271
272
|
}), D = u(null), q = u([]), H = u(null);
|
|
272
|
-
function
|
|
273
|
+
function Be(t, a) {
|
|
273
274
|
q.value = [], D.value = a, W.value = !0;
|
|
274
275
|
let o = "";
|
|
275
276
|
H.value = {
|
|
@@ -283,7 +284,7 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
283
284
|
config: e.value
|
|
284
285
|
};
|
|
285
286
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
286
|
-
if (
|
|
287
|
+
if (ot(l) && lt(() => l({
|
|
287
288
|
seriesIndex: a,
|
|
288
289
|
datapoint: t,
|
|
289
290
|
series: { categories: f.value, datapoints: b.value, radar: C.value },
|
|
@@ -310,60 +311,67 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
310
311
|
X.value = o;
|
|
311
312
|
}
|
|
312
313
|
}
|
|
313
|
-
function
|
|
314
|
-
|
|
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 =
|
|
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) => [
|
|
316
317
|
K,
|
|
317
318
|
isNaN(K / d.target) ? "" : K / d.target * 100
|
|
318
|
-
])]), l = t.concat([a]).concat(o), n =
|
|
319
|
-
|
|
319
|
+
])]), l = t.concat([a]).concat(o), n = rt(l);
|
|
320
|
+
nt({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-radar" });
|
|
320
321
|
});
|
|
321
322
|
}
|
|
322
323
|
const L = u(!1);
|
|
323
|
-
function
|
|
324
|
+
function De(t) {
|
|
324
325
|
L.value = t, te.value += 1;
|
|
325
326
|
}
|
|
326
|
-
function
|
|
327
|
+
function Ce() {
|
|
327
328
|
k.value.showTable = !k.value.showTable;
|
|
328
329
|
}
|
|
329
|
-
function
|
|
330
|
+
function _e() {
|
|
330
331
|
k.value.showTooltip = !k.value.showTooltip;
|
|
331
332
|
}
|
|
332
333
|
const G = u(!1);
|
|
333
334
|
function J() {
|
|
334
335
|
G.value = !G.value;
|
|
335
336
|
}
|
|
336
|
-
return
|
|
337
|
-
getData:
|
|
338
|
-
generatePdf:
|
|
339
|
-
generateCsv:
|
|
340
|
-
generateImage:
|
|
341
|
-
toggleTable:
|
|
342
|
-
toggleTooltip:
|
|
337
|
+
return Se({
|
|
338
|
+
getData: Me,
|
|
339
|
+
generatePdf: pe,
|
|
340
|
+
generateCsv: ke,
|
|
341
|
+
generateImage: he,
|
|
342
|
+
toggleTable: Ce,
|
|
343
|
+
toggleTooltip: _e,
|
|
343
344
|
toggleAnnotator: J
|
|
344
345
|
}), (t, a) => (r(), s("div", {
|
|
345
346
|
class: z(`vue-ui-radar ${L.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
346
347
|
ref_key: "radarChart",
|
|
347
348
|
ref: A,
|
|
348
349
|
id: `vue-ui-radar_${_.value}`,
|
|
349
|
-
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}`)
|
|
350
351
|
}, [
|
|
351
|
-
e.value.userOptions.buttons.annotator ? (r(), w(
|
|
352
|
+
e.value.userOptions.buttons.annotator ? (r(), w(bt, {
|
|
352
353
|
key: 0,
|
|
353
354
|
parent: A.value,
|
|
354
355
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
355
356
|
color: e.value.style.chart.color,
|
|
356
357
|
active: G.value,
|
|
357
358
|
onClose: J
|
|
358
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
359
|
-
|
|
359
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : p("", !0),
|
|
360
|
+
ze.value ? (r(), s("div", {
|
|
360
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,
|
|
361
369
|
ref_key: "chartTitle",
|
|
362
370
|
ref: ae,
|
|
363
371
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
364
372
|
}, [
|
|
365
|
-
(r(), w(
|
|
366
|
-
key: `title_${
|
|
373
|
+
(r(), w(it, {
|
|
374
|
+
key: `title_${ne.value}`,
|
|
367
375
|
config: {
|
|
368
376
|
title: {
|
|
369
377
|
cy: "radar-div-title",
|
|
@@ -375,15 +383,15 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
375
383
|
}
|
|
376
384
|
}
|
|
377
385
|
}, null, 8, ["config"]))
|
|
378
|
-
], 512)) :
|
|
379
|
-
e.value.userOptions.show && F.value ? (r(), w(
|
|
386
|
+
], 512)) : p("", !0),
|
|
387
|
+
e.value.userOptions.show && F.value ? (r(), w(dt, {
|
|
380
388
|
ref_key: "details",
|
|
381
|
-
ref:
|
|
389
|
+
ref: Le,
|
|
382
390
|
key: `user_options_${te.value}`,
|
|
383
391
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
384
392
|
color: e.value.style.chart.color,
|
|
385
|
-
isImaging: g(
|
|
386
|
-
isPrinting: g(
|
|
393
|
+
isImaging: g(ve),
|
|
394
|
+
isPrinting: g(de),
|
|
387
395
|
uid: _.value,
|
|
388
396
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
389
397
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -398,14 +406,14 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
398
406
|
position: e.value.userOptions.position,
|
|
399
407
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
400
408
|
isAnnotation: G.value,
|
|
401
|
-
onToggleFullscreen:
|
|
402
|
-
onGeneratePdf: g(
|
|
403
|
-
onGenerateCsv:
|
|
404
|
-
onGenerateImage: g(
|
|
405
|
-
onToggleTable:
|
|
406
|
-
onToggleTooltip:
|
|
409
|
+
onToggleFullscreen: De,
|
|
410
|
+
onGeneratePdf: g(pe),
|
|
411
|
+
onGenerateCsv: ke,
|
|
412
|
+
onGenerateImage: g(he),
|
|
413
|
+
onToggleTable: Ce,
|
|
414
|
+
onToggleTooltip: _e,
|
|
407
415
|
onToggleAnnotator: J
|
|
408
|
-
},
|
|
416
|
+
}, Ye({ _: 2 }, [
|
|
409
417
|
t.$slots.optionTooltip ? {
|
|
410
418
|
name: "optionTooltip",
|
|
411
419
|
fn: y(() => [
|
|
@@ -455,15 +463,15 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
455
463
|
]),
|
|
456
464
|
key: "6"
|
|
457
465
|
} : void 0
|
|
458
|
-
]), 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),
|
|
459
467
|
F.value ? (r(), s("svg", {
|
|
460
|
-
key:
|
|
461
|
-
xmlns: g(
|
|
468
|
+
key: 4,
|
|
469
|
+
xmlns: g(tt),
|
|
462
470
|
class: z({ "vue-data-ui-fullscreen--on": L.value, "vue-data-ui-fulscreen--off": !L.value }),
|
|
463
471
|
viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
|
|
464
472
|
style: Q(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
465
473
|
}, [
|
|
466
|
-
Z(
|
|
474
|
+
Z(mt),
|
|
467
475
|
$("defs", null, [
|
|
468
476
|
(r(!0), s(P, null, T(f.value, (o, l) => (r(), s("radialGradient", {
|
|
469
477
|
cx: "50%",
|
|
@@ -475,15 +483,15 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
475
483
|
}, [
|
|
476
484
|
$("stop", {
|
|
477
485
|
offset: "0%",
|
|
478
|
-
"stop-color": g(ee)(g(
|
|
479
|
-
}, null, 8,
|
|
486
|
+
"stop-color": g(ee)(g(at)(o.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
|
|
487
|
+
}, null, 8, $t),
|
|
480
488
|
$("stop", {
|
|
481
489
|
offset: "100%",
|
|
482
490
|
"stop-color": g(ee)(o.color, e.value.style.chart.layout.dataPolygon.opacity)
|
|
483
|
-
}, null, 8,
|
|
484
|
-
], 8,
|
|
491
|
+
}, null, 8, Pt)
|
|
492
|
+
], 8, wt))), 256))
|
|
485
493
|
]),
|
|
486
|
-
e.value.style.chart.layout.grid.show ? (r(), s("g",
|
|
494
|
+
e.value.style.chart.layout.grid.show ? (r(), s("g", Tt, [
|
|
487
495
|
(r(!0), s(P, null, T(C.value, (o) => (r(), s("line", {
|
|
488
496
|
x1: i.value.width / 2,
|
|
489
497
|
y1: i.value.height / 2,
|
|
@@ -491,65 +499,65 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
491
499
|
y2: o.y,
|
|
492
500
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
493
501
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
494
|
-
}, null, 8,
|
|
495
|
-
e.value.style.chart.layout.grid.graduations > 0 ? (r(), s("g",
|
|
496
|
-
(r(!0), s(P, null, T(
|
|
497
|
-
d: g(
|
|
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)({
|
|
498
506
|
plot: { x: i.value.width / 2, y: i.value.height / 2 },
|
|
499
507
|
radius: o,
|
|
500
|
-
sides:
|
|
508
|
+
sides: me.value,
|
|
501
509
|
rotation: 0
|
|
502
510
|
}).path,
|
|
503
511
|
fill: "none",
|
|
504
512
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
505
513
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
506
|
-
}, null, 8,
|
|
507
|
-
])) :
|
|
508
|
-
])) :
|
|
514
|
+
}, null, 8, Ot))), 256))
|
|
515
|
+
])) : p("", !0)
|
|
516
|
+
])) : p("", !0),
|
|
509
517
|
$("path", {
|
|
510
|
-
d:
|
|
518
|
+
d: be.value.path,
|
|
511
519
|
fill: "none",
|
|
512
520
|
stroke: e.value.style.chart.layout.outerPolygon.stroke,
|
|
513
521
|
"stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
|
|
514
522
|
"stroke-linejoin": "round",
|
|
515
523
|
"stroke-linecap": "round"
|
|
516
|
-
}, null, 8,
|
|
517
|
-
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, [
|
|
518
526
|
(r(!0), s(P, null, T(C.value, (o, l) => (r(), s("text", {
|
|
519
527
|
x: j(o).x,
|
|
520
528
|
y: j(o).y,
|
|
521
529
|
"text-anchor": j(o).anchor,
|
|
522
530
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
523
531
|
fill: e.value.style.chart.layout.labels.dataLabels.color,
|
|
524
|
-
onMouseenter: (n) =>
|
|
532
|
+
onMouseenter: (n) => Be(o, l),
|
|
525
533
|
onMouseleave: a[0] || (a[0] = (n) => {
|
|
526
534
|
W.value = !1, D.value = null;
|
|
527
535
|
})
|
|
528
|
-
}, V(o.name), 41,
|
|
529
|
-
])) :
|
|
536
|
+
}, V(o.name), 41, Ft))), 256))
|
|
537
|
+
])) : p("", !0),
|
|
530
538
|
(r(!0), s(P, null, T(f.value, (o, l) => (r(), s("g", null, [
|
|
531
539
|
$("g", null, [
|
|
532
540
|
e.value.useCssAnimation || !e.value.useCssAnimation && !c.value.includes(l) ? (r(), s("polygon", {
|
|
533
541
|
key: 0,
|
|
534
542
|
"data-cy-radar-path": "",
|
|
535
|
-
points: g(
|
|
543
|
+
points: g(Ae)(C.value.map((n) => n.plots[l]), !1, !0),
|
|
536
544
|
stroke: e.value.style.chart.backgroundColor,
|
|
537
545
|
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth + 1,
|
|
538
546
|
fill: "none",
|
|
539
547
|
class: z({ "animated-out": c.value.includes(l) && e.value.useCssAnimation, "animated-in": O.value && I.value === l && e.value.useCssAnimation })
|
|
540
|
-
}, null, 10,
|
|
548
|
+
}, null, 10, It)) : p("", !0),
|
|
541
549
|
e.value.useCssAnimation || !e.value.useCssAnimation && !c.value.includes(l) ? (r(), s("polygon", {
|
|
542
550
|
key: 1,
|
|
543
551
|
"data-cy-radar-path": "",
|
|
544
|
-
points: g(
|
|
552
|
+
points: g(Ae)(C.value.map((n) => n.plots[l]), !1, !0),
|
|
545
553
|
stroke: o.color,
|
|
546
554
|
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
|
|
547
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),
|
|
548
556
|
class: z({ "animated-out": c.value.includes(l) && e.value.useCssAnimation, "animated-in": O.value && I.value === l && e.value.useCssAnimation })
|
|
549
|
-
}, null, 10,
|
|
557
|
+
}, null, 10, Lt)) : p("", !0)
|
|
550
558
|
])
|
|
551
559
|
]))), 256)),
|
|
552
|
-
e.value.style.chart.layout.plots.show ? (r(), s("g",
|
|
560
|
+
e.value.style.chart.layout.plots.show ? (r(), s("g", zt, [
|
|
553
561
|
(r(!0), s(P, null, T(C.value, (o, l) => (r(), s("g", null, [
|
|
554
562
|
(r(!0), s(P, null, T(o.plots, (n, d) => (r(), s("circle", {
|
|
555
563
|
cx: n.x,
|
|
@@ -559,16 +567,16 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
559
567
|
stroke: c.value.includes(d) ? "transparent" : e.value.style.chart.backgroundColor,
|
|
560
568
|
"stroke-width": 0.5,
|
|
561
569
|
class: z({ "animated-out": c.value.includes(d) && e.value.useCssAnimation, "animated-in": O.value && I.value === d && e.value.useCssAnimation })
|
|
562
|
-
}, null, 10,
|
|
570
|
+
}, null, 10, Rt))), 256))
|
|
563
571
|
]))), 256))
|
|
564
|
-
])) :
|
|
572
|
+
])) : p("", !0),
|
|
565
573
|
m(t.$slots, "svg", { svg: i.value }, void 0, !0)
|
|
566
|
-
], 14,
|
|
567
|
-
t.$slots.watermark ? (r(), s("div",
|
|
568
|
-
m(t.$slots, "watermark", R(M({ isPrinting: g(
|
|
569
|
-
])) :
|
|
570
|
-
F.value ?
|
|
571
|
-
key:
|
|
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,
|
|
572
580
|
config: {
|
|
573
581
|
type: "radar",
|
|
574
582
|
style: {
|
|
@@ -588,11 +596,11 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
588
596
|
ref_key: "chartLegend",
|
|
589
597
|
ref: oe
|
|
590
598
|
}, [
|
|
591
|
-
e.value.style.chart.legend.show ? (r(), w(
|
|
592
|
-
key: `legend_${
|
|
599
|
+
e.value.style.chart.legend.show ? (r(), w(ht, {
|
|
600
|
+
key: `legend_${ue.value}`,
|
|
593
601
|
legendSet: N.value,
|
|
594
|
-
config:
|
|
595
|
-
onClickMarker: a[1] || (a[1] = ({ i: o }) =>
|
|
602
|
+
config: Ee.value,
|
|
603
|
+
onClickMarker: a[1] || (a[1] = ({ i: o }) => fe(o))
|
|
596
604
|
}, {
|
|
597
605
|
item: y(({ legend: o, index: l }) => [
|
|
598
606
|
$("div", {
|
|
@@ -603,7 +611,7 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
603
611
|
v: o.totalProportion * 100,
|
|
604
612
|
s: "%",
|
|
605
613
|
r: e.value.style.chart.legend.roundingPercentage
|
|
606
|
-
})), 13,
|
|
614
|
+
})), 13, Vt)
|
|
607
615
|
]),
|
|
608
616
|
_: 1
|
|
609
617
|
}, 8, ["legendSet", "config"])) : m(t.$slots, "legend", {
|
|
@@ -612,14 +620,14 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
612
620
|
}, void 0, !0)
|
|
613
621
|
], 512),
|
|
614
622
|
t.$slots.source ? (r(), s("div", {
|
|
615
|
-
key:
|
|
623
|
+
key: 7,
|
|
616
624
|
ref_key: "source",
|
|
617
625
|
ref: le,
|
|
618
626
|
dir: "auto"
|
|
619
627
|
}, [
|
|
620
628
|
m(t.$slots, "source", {}, void 0, !0)
|
|
621
|
-
], 512)) :
|
|
622
|
-
Z(
|
|
629
|
+
], 512)) : p("", !0),
|
|
630
|
+
Z(vt, {
|
|
623
631
|
show: k.value.showTooltip && W.value,
|
|
624
632
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
625
633
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -638,10 +646,10 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
638
646
|
m(t.$slots, "tooltip-before", R(M({ ...H.value })), void 0, !0)
|
|
639
647
|
]),
|
|
640
648
|
"tooltip-after": y(() => [
|
|
641
|
-
["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ?
|
|
642
|
-
Z(
|
|
649
|
+
["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? p("", !0) : (r(), s("div", Ut, [
|
|
650
|
+
Z(pt, {
|
|
643
651
|
dataset: q.value,
|
|
644
|
-
config:
|
|
652
|
+
config: Re.value,
|
|
645
653
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity
|
|
646
654
|
}, null, 8, ["dataset", "config", "backgroundOpacity"])
|
|
647
655
|
])),
|
|
@@ -649,8 +657,8 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
649
657
|
]),
|
|
650
658
|
_: 3
|
|
651
659
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "fontSize", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
652
|
-
F.value ? (r(), w(
|
|
653
|
-
key:
|
|
660
|
+
F.value ? (r(), w(yt, {
|
|
661
|
+
key: 8,
|
|
654
662
|
hideDetails: "",
|
|
655
663
|
config: {
|
|
656
664
|
open: k.value.showTable,
|
|
@@ -666,8 +674,8 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
666
674
|
}
|
|
667
675
|
}, {
|
|
668
676
|
content: y(() => [
|
|
669
|
-
(r(), w(
|
|
670
|
-
key: `table_${
|
|
677
|
+
(r(), w(gt, {
|
|
678
|
+
key: `table_${se.value}`,
|
|
671
679
|
colNames: B.value.colNames,
|
|
672
680
|
head: B.value.head,
|
|
673
681
|
body: B.value.body,
|
|
@@ -676,19 +684,19 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"],
|
|
|
676
684
|
onClose: a[2] || (a[2] = (o) => k.value.showTable = !1)
|
|
677
685
|
}, {
|
|
678
686
|
th: y(({ th: o }) => [
|
|
679
|
-
|
|
687
|
+
we(V(o.name), 1)
|
|
680
688
|
]),
|
|
681
689
|
td: y(({ td: o }) => [
|
|
682
|
-
|
|
690
|
+
we(V(o), 1)
|
|
683
691
|
]),
|
|
684
692
|
_: 1
|
|
685
693
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
686
694
|
]),
|
|
687
695
|
_: 1
|
|
688
|
-
}, 8, ["config"])) :
|
|
689
|
-
], 14,
|
|
696
|
+
}, 8, ["config"])) : p("", !0)
|
|
697
|
+
], 14, Ct));
|
|
690
698
|
}
|
|
691
|
-
},
|
|
699
|
+
}, oa = /* @__PURE__ */ kt(Et, [["__scopeId", "data-v-e797ea4b"]]);
|
|
692
700
|
export {
|
|
693
|
-
|
|
701
|
+
oa as default
|
|
694
702
|
};
|