vue-data-ui 2.4.68 → 2.4.70
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-D5Ik6Rl_.js → Arrow-6iiqpdmu.js} +1 -1
- package/dist/{Arrow-DTyx6yXe.cjs → Arrow-B5enRv0z.cjs} +1 -1
- package/dist/{BaseIcon-D7H3G8-f.js → BaseIcon-1cIjVntY.js} +1 -1
- package/dist/{BaseIcon-At97xJaA.cjs → BaseIcon-U1_DjHDx.cjs} +1 -1
- package/dist/{DataTable-CNH8bChE.js → DataTable-B1FxJofv.js} +2 -2
- package/dist/{DataTable-Dng-zRfh.cjs → DataTable-D8n9mxYD.cjs} +1 -1
- package/dist/{Legend-kF7sC1KK.js → Legend-BMPqVkBW.js} +2 -2
- package/dist/{Legend-kMbr5DZt.cjs → Legend-yTCeOn97.cjs} +1 -1
- package/dist/{PackageVersion-m6HC0skh.js → PackageVersion-B51w3y82.js} +1 -1
- package/dist/{PackageVersion-CHUMvFGr.cjs → PackageVersion-ou96yRPl.cjs} +1 -1
- package/dist/{PenAndPaper-FOhKSug_.js → PenAndPaper-BSEqDrpB.js} +3 -3
- package/dist/{PenAndPaper-DmMAK04m.cjs → PenAndPaper-BWwAIhEN.cjs} +1 -1
- package/dist/{Shape-Ajzs1V3O.cjs → Shape-BQHHOWfV.cjs} +1 -1
- package/dist/{Shape-CfcWXI5g.js → Shape-TWPk_v-7.js} +1 -1
- package/dist/{Slicer-Cgyw5vYE.cjs → Slicer-B2hsi3sr.cjs} +1 -1
- package/dist/{Slicer-Bq3BajcJ.js → Slicer-CTMbBaNs.js} +2 -2
- package/dist/{Title-C7y-iI1m.cjs → Title-CLw400_T.cjs} +1 -1
- package/dist/{Title-L52l_KMR.js → Title-CujJ2kZY.js} +1 -1
- package/dist/{Tooltip-Y622sV6l.cjs → Tooltip-BGjOAkJQ.cjs} +1 -1
- package/dist/{Tooltip-FYp9ljnj.js → Tooltip-CPxoXFKu.js} +1 -1
- package/dist/{index-3_ulDZ6w.js → index-B3hGeAZ7.js} +8330 -4527
- package/dist/index-DsNY1SpD.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +2 -2
- package/dist/types/vue-data-ui.d.ts +2 -2
- package/dist/{useNestedProp-BtCZVKOm.cjs → useNestedProp-B4YewnHE.cjs} +1 -1
- package/dist/{useNestedProp-Bs6ltq3I.js → useNestedProp-WWv9scq-.js} +1 -1
- package/dist/{usePrinter-BmNhTUGE.cjs → usePrinter-BS5qzASr.cjs} +1 -1
- package/dist/{usePrinter-NdwnpHUu.js → usePrinter-CiUt-pS9.js} +1 -1
- package/dist/{vue-data-ui-qqS_JEAb.js → vue-data-ui-Dex3QmMG.js} +60 -60
- package/dist/{vue-data-ui-C4MFJb3X.cjs → vue-data-ui-RimTudAT.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-D1Q5GpB8.cjs → vue-ui-3d-bar-BaUMT6Im.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-B-DPM6sB.js → vue-ui-3d-bar-CSDlYOc2.js} +9 -9
- package/dist/{vue-ui-accordion-Dd0mfQys.cjs → vue-ui-accordion-BAP0rDBZ.cjs} +1 -1
- package/dist/{vue-ui-accordion-DXlXtAML.js → vue-ui-accordion-DFn61GBf.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CEw1j90S.js → vue-ui-age-pyramid-B9kHnlMD.js} +10 -10
- package/dist/{vue-ui-age-pyramid-Dn8sTUD1.cjs → vue-ui-age-pyramid-s4RTdVJb.cjs} +1 -1
- package/dist/{vue-ui-annotator-I7b5208U.js → vue-ui-annotator-ClRp-_nk.js} +1 -1
- package/dist/{vue-ui-annotator-DLwKn7nJ.cjs → vue-ui-annotator-vJFxGq0D.cjs} +1 -1
- package/dist/{vue-ui-bullet-B_toFHM0.cjs → vue-ui-bullet-BojHcddQ.cjs} +1 -1
- package/dist/{vue-ui-bullet-CUpzxv8b.js → vue-ui-bullet-CCxg-DLm.js} +8 -8
- package/dist/{vue-ui-candlestick-D4poOC-A.js → vue-ui-candlestick-CKA68yh0.js} +11 -11
- package/dist/{vue-ui-candlestick-DUjJP9IX.cjs → vue-ui-candlestick-D79x0-7c.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BRdt1LUl.cjs → vue-ui-carousel-table-C3bbmzML.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-CMP41H6W.js → vue-ui-carousel-table-Drk3spxC.js} +4 -4
- package/dist/{vue-ui-chestnut-BzCjWlbs.js → vue-ui-chestnut-2sRDod-W.js} +8 -8
- package/dist/{vue-ui-chestnut-BGpagpDQ.cjs → vue-ui-chestnut-BEGqhEq0.cjs} +1 -1
- package/dist/{vue-ui-cursor-CdhhPJ2w.js → vue-ui-cursor-DF-5Ps-j.js} +2 -2
- package/dist/{vue-ui-cursor-Ike72xN1.cjs → vue-ui-cursor-DKkfnZmq.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CDUpQHzg.js → vue-ui-dashboard-DrdZgjNe.js} +2 -2
- package/dist/{vue-ui-dashboard-CFF1xhGw.cjs → vue-ui-dashboard-OckN8VFj.cjs} +1 -1
- package/dist/{vue-ui-digits-Cu3AtNFJ.cjs → vue-ui-digits-D5_-V30J.cjs} +1 -1
- package/dist/{vue-ui-digits-Cje8oZYA.js → vue-ui-digits-mDAvf_YK.js} +2 -2
- package/dist/{vue-ui-donut-DyEbJv8M.js → vue-ui-donut-CJEJcYS2.js} +12 -12
- package/dist/{vue-ui-donut-BNmui7ee.cjs → vue-ui-donut-Cmlh9AUu.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-B_kVMwY5.js → vue-ui-donut-evolution-CK-cpwE5.js} +11 -11
- package/dist/{vue-ui-donut-evolution-BxElmgKr.cjs → vue-ui-donut-evolution-DbtSfpK6.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-XSwVUKkI.js → vue-ui-dumbbell-BLzNidEF.js} +10 -10
- package/dist/{vue-ui-dumbbell-Bb4_UIZL.cjs → vue-ui-dumbbell-CBoNAirK.cjs} +1 -1
- package/dist/{vue-ui-flow-BxSDPsTX.cjs → vue-ui-flow-DL2m0MdD.cjs} +1 -1
- package/dist/{vue-ui-flow-CT9Ikm2q.js → vue-ui-flow-bCt7TASQ.js} +9 -9
- package/dist/{vue-ui-funnel-4Xz5KcCC.cjs → vue-ui-funnel-D-jHODod.cjs} +1 -1
- package/dist/{vue-ui-funnel-xE-KSwUY.js → vue-ui-funnel-jLnMfVJu.js} +9 -9
- package/dist/{vue-ui-galaxy-BKyxc95s.cjs → vue-ui-galaxy-0WxeXT5y.cjs} +1 -1
- package/dist/{vue-ui-galaxy-CQu_2tM7.js → vue-ui-galaxy-Zqj4_zJg.js} +11 -11
- package/dist/{vue-ui-gauge-BML0PHj7.js → vue-ui-gauge-DNlSMh2o.js} +7 -7
- package/dist/{vue-ui-gauge-BY-_g8oh.cjs → vue-ui-gauge-DofvFQSC.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CZdz1ws4.js → vue-ui-gizmo-COgDK5C0.js} +3 -3
- package/dist/{vue-ui-gizmo-DCDez8vm.cjs → vue-ui-gizmo-CRgJ1mZy.cjs} +1 -1
- package/dist/{vue-ui-heatmap-B6TqJ0rT.cjs → vue-ui-heatmap-BEkE4xql.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BBhBotdK.js → vue-ui-heatmap-BOJgxQWc.js} +10 -10
- package/dist/{vue-ui-history-plot-ICiiX_iG.cjs → vue-ui-history-plot-BHbGz1DH.cjs} +1 -1
- package/dist/{vue-ui-history-plot-CEGzb0go.js → vue-ui-history-plot-DpfI1G8u.js} +11 -11
- package/dist/{vue-ui-kpi-CcY9SiQU.js → vue-ui-kpi-C8rtBkJx.js} +3 -3
- package/dist/{vue-ui-kpi-b1KYFaD5.cjs → vue-ui-kpi-CK5INSo4.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-ChYeDs8b.js → vue-ui-mini-loader-DAS-clra.js} +2 -2
- package/dist/{vue-ui-mini-loader-DRDOwWX4.cjs → vue-ui-mini-loader-jcfkEvKC.cjs} +1 -1
- package/dist/{vue-ui-molecule-BC9pfKLe.cjs → vue-ui-molecule-Ba9FjFUe.cjs} +1 -1
- package/dist/{vue-ui-molecule-C7RlUrep.js → vue-ui-molecule-kOGTPW9a.js} +11 -11
- package/dist/{vue-ui-mood-radar-MwQGdQBk.js → vue-ui-mood-radar-6lLMtdI6.js} +11 -11
- package/dist/{vue-ui-mood-radar-DuyOelxm.cjs → vue-ui-mood-radar-D7kjDtlO.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-CTjWqxm1.js → vue-ui-nested-donuts-CK6LyQMB.js} +11 -11
- package/dist/{vue-ui-nested-donuts-DV_fUt8X.cjs → vue-ui-nested-donuts-D8af6ksq.cjs} +1 -1
- package/dist/{vue-ui-onion-CMJQd4hJ.cjs → vue-ui-onion-BAPfxwHq.cjs} +1 -1
- package/dist/{vue-ui-onion-DQU2quzY.js → vue-ui-onion-DWF3EeOX.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-el0qRCNH.js → vue-ui-parallel-coordinate-plot-BL2TYCct.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-mr_VL-5e.cjs → vue-ui-parallel-coordinate-plot-CiZvUoVu.cjs} +1 -1
- package/dist/{vue-ui-quadrant-D4JbzGnx.js → vue-ui-quadrant-76ioBDrb.js} +12 -12
- package/dist/{vue-ui-quadrant-p1PqQgE8.cjs → vue-ui-quadrant-DRtc-eU7.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-C7dbfJas.js → vue-ui-quick-chart-BfiEh20h.js} +9 -9
- package/dist/{vue-ui-quick-chart-CpVCnKQR.cjs → vue-ui-quick-chart-Cf_a2-DK.cjs} +1 -1
- package/dist/vue-ui-radar-7FJCgzJe.cjs +1 -0
- package/dist/{vue-ui-radar-DwcDudGq.js → vue-ui-radar-CXpLA1Ug.js} +128 -128
- package/dist/{vue-ui-rating-CF611kMg.cjs → vue-ui-rating-D7bp5GXD.cjs} +1 -1
- package/dist/{vue-ui-rating-CVWVcuH4.js → vue-ui-rating-Dm99_KHq.js} +2 -2
- package/dist/{vue-ui-relation-circle-i-IWbtjG.cjs → vue-ui-relation-circle-DGmHEiu0.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-DOqHTAlr.js → vue-ui-relation-circle-DP8adT--.js} +7 -7
- package/dist/{vue-ui-rings-HITb7jlj.cjs → vue-ui-rings-3dpAN_IS.cjs} +1 -1
- package/dist/{vue-ui-rings-CYtiwLoa.js → vue-ui-rings-DcGvctVh.js} +12 -12
- package/dist/{vue-ui-scatter-OHMJOdMx.cjs → vue-ui-scatter-BaB0Ss3P.cjs} +1 -1
- package/dist/{vue-ui-scatter-Cz4FEjWs.js → vue-ui-scatter-iYN3XbTv.js} +12 -12
- package/dist/{vue-ui-screenshot-PgLhVqsE.cjs → vue-ui-screenshot-BjJljc9y.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BdztwxL8.js → vue-ui-screenshot-CA4rbg_4.js} +1 -1
- package/dist/{vue-ui-skeleton-uAX1ZH1F.js → vue-ui-skeleton-BAv7fXp9.js} +3 -3
- package/dist/{vue-ui-skeleton-DkZB7ae3.cjs → vue-ui-skeleton-BKT91qEa.cjs} +1 -1
- package/dist/{vue-ui-smiley-B8AEl3OB.js → vue-ui-smiley-BBlYvJpk.js} +2 -2
- package/dist/{vue-ui-smiley-CdtUIpXZ.cjs → vue-ui-smiley-BKJ4T8gG.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-BvYBFEgW.cjs → vue-ui-spark-trend-CTuB4pyB.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-C4TeGkYj.js → vue-ui-spark-trend-CoILXmOJ.js} +5 -5
- package/dist/{vue-ui-sparkbar-CTjfAkYo.js → vue-ui-sparkbar-7EUa2Jmc.js} +4 -4
- package/dist/{vue-ui-sparkbar-DB7UzjAD.cjs → vue-ui-sparkbar-JMpa0Jma.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-BlPTNi74.js → vue-ui-sparkgauge-BFyxHsvB.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Bn2BPZoT.cjs → vue-ui-sparkgauge-BYPSS-9V.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-BKRqTMvf.js → vue-ui-sparkhistogram-KrHoJol3.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-B1mF8U0R.cjs → vue-ui-sparkhistogram-XrF1W3wK.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Bg-TapoG.js → vue-ui-sparkline-eAOZxlhG.js} +4 -4
- package/dist/{vue-ui-sparkline-Dj0hFEo0.cjs → vue-ui-sparkline-rDPUOgGm.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DzI-MFl3.cjs → vue-ui-sparkstackbar-Czz-Lkc4.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D8KqTPqH.js → vue-ui-sparkstackbar-DcDCa91F.js} +5 -5
- package/dist/{vue-ui-stackbar-e1b5UPvn.cjs → vue-ui-stackbar-CZOwxp5b.cjs} +1 -1
- package/dist/{vue-ui-stackbar-6vF4VXMO.js → vue-ui-stackbar-GgXydxhr.js} +13 -13
- package/dist/{vue-ui-strip-plot-sWs8kbbo.js → vue-ui-strip-plot-DnWdZFVh.js} +11 -11
- package/dist/{vue-ui-strip-plot-GsQbr3zj.cjs → vue-ui-strip-plot-DpBcyzwt.cjs} +1 -1
- package/dist/{vue-ui-table-SRSARac3.js → vue-ui-table-DrBXqpBg.js} +1 -1
- package/dist/{vue-ui-table-CJVmhYep.cjs → vue-ui-table-MEwtGPBw.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-D1xntRRZ.cjs → vue-ui-table-heatmap-CujV9941.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CKiO41aZ.js → vue-ui-table-heatmap-TDNQHDGp.js} +4 -4
- package/dist/{vue-ui-table-sparkline-hyCYl7SR.js → vue-ui-table-sparkline-Ctb2LW6k.js} +5 -5
- package/dist/{vue-ui-table-sparkline-BZJqRwhf.cjs → vue-ui-table-sparkline-zVF4kGcs.cjs} +1 -1
- package/dist/{vue-ui-thermometer-0bxewTlH.cjs → vue-ui-thermometer-BotRGJkO.cjs} +1 -1
- package/dist/{vue-ui-thermometer-uYO2Cbv6.js → vue-ui-thermometer-wNKYm3Kx.js} +7 -7
- package/dist/{vue-ui-timer-hehskDGP.cjs → vue-ui-timer-BrAWdEP-.cjs} +1 -1
- package/dist/{vue-ui-timer-DO2sPtaA.js → vue-ui-timer-CR0O7wYl.js} +5 -5
- package/dist/{vue-ui-tiremarks-C3Y478uT.cjs → vue-ui-tiremarks-DlK4zttR.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DQjOkAad.js → vue-ui-tiremarks-wuiChorp.js} +7 -7
- package/dist/{vue-ui-treemap-Bv36Ha7O.js → vue-ui-treemap-CJZlFtGP.js} +11 -11
- package/dist/{vue-ui-treemap-_4nb3nS1.cjs → vue-ui-treemap-DrkJBrlp.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-DeP6cUWy.js → vue-ui-vertical-bar-CULY6eIO.js} +288 -272
- package/dist/vue-ui-vertical-bar-DHzq1n9V.cjs +4 -0
- package/dist/{vue-ui-waffle-Hlsl5QtL.cjs → vue-ui-waffle-C82U9mjw.cjs} +1 -1
- package/dist/{vue-ui-waffle-BfzfWmf5.js → vue-ui-waffle-CymcJtwQ.js} +12 -12
- package/dist/{vue-ui-wheel-DJC5YCbw.js → vue-ui-wheel-CAXdjlKQ.js} +7 -7
- package/dist/{vue-ui-wheel--e6UBwL4.cjs → vue-ui-wheel-ED9GGmMR.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-CVsld1uE.js → vue-ui-word-cloud-CaAop2-k.js} +10 -10
- package/dist/{vue-ui-word-cloud-AGcxc9Jb.cjs → vue-ui-word-cloud-Czmv1BKA.cjs} +1 -1
- package/dist/{vue-ui-xy-DiZVwKYl.cjs → vue-ui-xy-D3d6V9BN.cjs} +1 -1
- package/dist/{vue-ui-xy-DwwIMZEo.js → vue-ui-xy-X04Cu9MT.js} +14 -14
- package/dist/{vue-ui-xy-canvas-D1kEOzE6.cjs → vue-ui-xy-canvas-B65fFQ2Q.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-ChBRm7Zw.js → vue-ui-xy-canvas-soP9-Ijz.js} +11 -11
- package/package.json +1 -1
- package/dist/index-CPtAxuTc.cjs +0 -9
- package/dist/vue-ui-radar-B8w_jmnj.cjs +0 -1
- package/dist/vue-ui-vertical-bar-LquYjKVD.cjs +0 -4
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { computed as h, ref as i, watch as je, onMounted as He, onBeforeUnmount as Ye, openBlock as r, createElementBlock as
|
|
2
|
-
import { u as Ke, c as Qe, t as Ze, a as et, p as x, o as tt, e as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as vt } from "./Title-
|
|
5
|
-
import { u as pt, U as ht } from "./usePrinter-
|
|
6
|
-
import { _ as gt } from "./Tooltip-
|
|
7
|
-
import ft from "./vue-ui-sparkbar-
|
|
8
|
-
import { L as yt } from "./Legend-
|
|
9
|
-
import { D as mt } from "./DataTable-
|
|
10
|
-
import bt from "./vue-ui-skeleton-
|
|
11
|
-
import kt from "./vue-ui-accordion-
|
|
12
|
-
import { u as
|
|
13
|
-
import { _ as Ct } from "./PackageVersion-
|
|
14
|
-
import { P as wt } from "./PenAndPaper-
|
|
1
|
+
import { computed as h, ref as i, watch as je, onMounted as He, onBeforeUnmount as Ye, openBlock as r, createElementBlock as n, normalizeClass as z, normalizeStyle as W, unref as d, createBlock as _, createCommentVNode as c, createSlots as qe, withCtx as m, renderSlot as f, normalizeProps as M, guardReactiveProps as R, createVNode as ee, createElementVNode as $, Fragment as P, renderList as T, toDisplayString as U, createTextVNode as Te, nextTick as Je } from "vue";
|
|
2
|
+
import { u as Ke, c as Qe, t as Ze, a as et, p as x, o as tt, e as S, b as at, g as xe, d as Oe, O as Ae, v as ot, i as Fe, f as V, X as lt, s as te, w as rt, P as Ne, x as st, y as nt, q as ut, r as it } from "./index-B3hGeAZ7.js";
|
|
3
|
+
import { t as dt, u as ct } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as vt } from "./Title-CujJ2kZY.js";
|
|
5
|
+
import { u as pt, U as ht } from "./usePrinter-CiUt-pS9.js";
|
|
6
|
+
import { _ as gt } from "./Tooltip-CPxoXFKu.js";
|
|
7
|
+
import ft from "./vue-ui-sparkbar-7EUa2Jmc.js";
|
|
8
|
+
import { L as yt } from "./Legend-BMPqVkBW.js";
|
|
9
|
+
import { D as mt } from "./DataTable-B1FxJofv.js";
|
|
10
|
+
import bt from "./vue-ui-skeleton-BAv7fXp9.js";
|
|
11
|
+
import kt from "./vue-ui-accordion-DFn61GBf.js";
|
|
12
|
+
import { u as Se } from "./useNestedProp-WWv9scq-.js";
|
|
13
|
+
import { _ as Ct } from "./PackageVersion-B51w3y82.js";
|
|
14
|
+
import { P as wt } from "./PenAndPaper-BSEqDrpB.js";
|
|
15
15
|
import { u as _t } from "./useUserOptionState-BIvW1Kz7.js";
|
|
16
16
|
import { _ as $t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["id"], At = ["stop-color"],
|
|
17
|
+
const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["id"], At = ["stop-color"], Ft = ["stop-color"], Nt = { key: 1 }, St = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], It = { key: 0 }, Lt = ["d", "stroke", "stroke-width"], zt = ["d", "stroke", "stroke-width"], Mt = { key: 2 }, Rt = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], Ut = ["points", "stroke", "stroke-width"], Vt = ["points", "stroke", "stroke-width", "fill"], Et = { key: 3 }, Bt = ["cx", "cy", "fill", "r", "stroke"], Dt = {
|
|
18
18
|
key: 5,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
20
|
}, Gt = ["onClick"], Wt = {
|
|
@@ -38,17 +38,17 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
38
38
|
},
|
|
39
39
|
emits: ["selectLegend"],
|
|
40
40
|
setup(Ie, { expose: Le, emit: ze }) {
|
|
41
|
-
const g = Ie, { vue_ui_radar: Me } = Ke(), I = h(() => !!g.dataset && Object.keys(g.dataset).length), w = i(Qe()), Re = i(null), X = i(!1), j = i(""), ae = i(0), O = i(null), oe = i(null), le = i(null), re = i(null),
|
|
41
|
+
const g = Ie, { vue_ui_radar: Me } = Ke(), I = h(() => !!g.dataset && Object.keys(g.dataset).length), w = i(Qe()), Re = i(null), X = i(!1), j = i(""), ae = i(0), O = i(null), oe = i(null), le = i(null), re = i(null), se = i(null), ne = i(0), ue = i(0), ie = i(0), e = h({
|
|
42
42
|
get: () => ve(),
|
|
43
43
|
set: (t) => t
|
|
44
|
-
}), { userOptionsVisible: H, setUserOptionsVisibility:
|
|
44
|
+
}), { userOptionsVisible: H, setUserOptionsVisibility: de, keepUserOptionState: ce } = _t({ config: e.value });
|
|
45
45
|
function ve() {
|
|
46
|
-
const t =
|
|
46
|
+
const t = Se({
|
|
47
47
|
userConfig: g.config,
|
|
48
48
|
defaultConfig: Me
|
|
49
49
|
});
|
|
50
50
|
return t.theme ? {
|
|
51
|
-
...
|
|
51
|
+
...Se({
|
|
52
52
|
userConfig: Ze.vue_ui_radar[t.theme] || g.config,
|
|
53
53
|
defaultConfig: t
|
|
54
54
|
}),
|
|
@@ -56,21 +56,21 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
56
56
|
} : t;
|
|
57
57
|
}
|
|
58
58
|
je(() => g.config, (t) => {
|
|
59
|
-
e.value = ve(), H.value = !e.value.showOnChartHover, pe(),
|
|
59
|
+
e.value = ve(), H.value = !e.value.showOnChartHover, pe(), ne.value += 1, ue.value += 1, ie.value += 1;
|
|
60
60
|
}, { deep: !0 });
|
|
61
61
|
const E = i(null);
|
|
62
62
|
function pe() {
|
|
63
|
-
if (tt(g.dataset) &&
|
|
63
|
+
if (tt(g.dataset) && S({
|
|
64
64
|
componentName: "VueUiRadar",
|
|
65
65
|
type: "dataset"
|
|
66
66
|
}), e.value.responsive) {
|
|
67
|
-
const t =
|
|
68
|
-
const { width: a, height: o } =
|
|
67
|
+
const t = dt(() => {
|
|
68
|
+
const { width: a, height: o } = ct({
|
|
69
69
|
chart: O.value,
|
|
70
70
|
title: e.value.style.chart.title.text ? oe.value : null,
|
|
71
71
|
legend: e.value.style.chart.legend.show ? le.value : null,
|
|
72
72
|
source: re.value,
|
|
73
|
-
noTitle:
|
|
73
|
+
noTitle: se.value
|
|
74
74
|
});
|
|
75
75
|
u.value.width = a, u.value.height = o;
|
|
76
76
|
});
|
|
@@ -93,7 +93,7 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
93
93
|
showTooltip: e.value.style.chart.tooltip.show
|
|
94
94
|
}), Ve = h(() => ({
|
|
95
95
|
style: {
|
|
96
|
-
backgroundColor:
|
|
96
|
+
backgroundColor: "#FFFFFF00",
|
|
97
97
|
animation: {
|
|
98
98
|
show: e.value.style.chart.tooltip.animation.show,
|
|
99
99
|
animationFrames: e.value.style.chart.tooltip.animation.animationFrames
|
|
@@ -118,24 +118,24 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
118
118
|
A.value = !1, L.value = null;
|
|
119
119
|
}, 500)) : (v.value.push(t), setTimeout(() => {
|
|
120
120
|
A.value = !1;
|
|
121
|
-
}, 500)), ze("selectLegend",
|
|
121
|
+
}, 500)), ze("selectLegend", F.value.filter((a, o) => !v.value.includes(o)).map((a) => ({
|
|
122
122
|
name: a.name,
|
|
123
123
|
color: a.color,
|
|
124
124
|
proportion: a.totalProportion
|
|
125
125
|
})));
|
|
126
126
|
}
|
|
127
127
|
function Ee() {
|
|
128
|
-
return
|
|
128
|
+
return F.value.map((t) => ({
|
|
129
129
|
name: t.name,
|
|
130
130
|
color: t.color,
|
|
131
131
|
proportion: t.totalProportion
|
|
132
132
|
}));
|
|
133
133
|
}
|
|
134
|
-
const y = h(() => [null, void 0].includes(g.dataset.categories) ? (
|
|
134
|
+
const y = h(() => [null, void 0].includes(g.dataset.categories) ? (S({
|
|
135
135
|
componentName: "VueUiRadar",
|
|
136
136
|
type: "datasetAttribute",
|
|
137
137
|
property: "categories ({ name: string; prefix?: string; suffix?: string}[])"
|
|
138
|
-
}), []) : (g.dataset.categories.length === 0 ?
|
|
138
|
+
}), []) : (g.dataset.categories.length === 0 ? S({
|
|
139
139
|
componentName: "VueUiRadar",
|
|
140
140
|
type: "datasetAttributeEmpty",
|
|
141
141
|
property: "categories"
|
|
@@ -144,14 +144,14 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
144
144
|
datasetObject: t,
|
|
145
145
|
requiredAttributes: ["name"]
|
|
146
146
|
}).forEach((o) => {
|
|
147
|
-
|
|
147
|
+
S({
|
|
148
148
|
componentName: "VueUiRadar",
|
|
149
149
|
type: "datasetAttribute",
|
|
150
150
|
property: `category.${o} at index ${a}`,
|
|
151
151
|
index: a
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
|
-
}), [null, void 0].includes(g.dataset.series) ?
|
|
154
|
+
}), [null, void 0].includes(g.dataset.series) ? S({
|
|
155
155
|
componentName: "VueUiRadar",
|
|
156
156
|
type: "datasetAttribute",
|
|
157
157
|
property: "series ({ name: string; values: number[]; color?: string; target: number}[])"
|
|
@@ -160,7 +160,7 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
160
160
|
datasetObject: t,
|
|
161
161
|
requiredAttributes: ["name", "values", "target"]
|
|
162
162
|
}).forEach((o) => {
|
|
163
|
-
|
|
163
|
+
S({
|
|
164
164
|
componentName: "VueUiRadar",
|
|
165
165
|
type: "datasetSerieAttribute",
|
|
166
166
|
key: "series",
|
|
@@ -207,17 +207,17 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
207
207
|
let o = "middle";
|
|
208
208
|
return t = Math.round(t), a = Math.round(a), t > u.value.width / 2 && (t += 12, o = "start"), t < u.value.width / 2 && (t -= 12, o = "end"), a > u.value.height / 2 && (a += 20), a < u.value.height / 2 && (a -= 12), a === u.value.height / 2 && (a += 4), { x: t, y: a, anchor: o };
|
|
209
209
|
}
|
|
210
|
-
function De({ centerX: t, centerY: a, apexX: o, apexY: l, proportion:
|
|
210
|
+
function De({ centerX: t, centerY: a, apexX: o, apexY: l, proportion: s }) {
|
|
211
211
|
return {
|
|
212
|
-
x: t + (o - t) *
|
|
213
|
-
y: a + (l - a) *
|
|
212
|
+
x: t + (o - t) * s,
|
|
213
|
+
y: a + (l - a) * s
|
|
214
214
|
};
|
|
215
215
|
}
|
|
216
|
-
const
|
|
216
|
+
const F = h(() => {
|
|
217
217
|
const t = b.value.map((a, o) => a.values.map((l) => l / (a.target || ke.value)));
|
|
218
218
|
return y.value.map((a, o) => ({
|
|
219
219
|
...a,
|
|
220
|
-
totalProportion: ot(t.map((l) => l[o]).reduce((l,
|
|
220
|
+
totalProportion: ot(t.map((l) => l[o]).reduce((l, s) => l + s, 0) / b.value.length),
|
|
221
221
|
shape: "circle",
|
|
222
222
|
opacity: v.value.includes(o) ? 0.5 : 1,
|
|
223
223
|
segregate: () => be(o),
|
|
@@ -234,10 +234,10 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
234
234
|
const t = [
|
|
235
235
|
{ name: e.value.translations.datapoint, color: "" },
|
|
236
236
|
{ name: e.value.translations.target, color: "" },
|
|
237
|
-
...
|
|
237
|
+
...F.value
|
|
238
238
|
], a = g.dataset.series.map((l) => [
|
|
239
239
|
l.name,
|
|
240
|
-
|
|
240
|
+
Fe(
|
|
241
241
|
l.formatter,
|
|
242
242
|
l.target,
|
|
243
243
|
V({
|
|
@@ -247,12 +247,12 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
247
247
|
r: e.value.table.td.roundingValue
|
|
248
248
|
})
|
|
249
249
|
),
|
|
250
|
-
...l.values.map((
|
|
250
|
+
...l.values.map((s, p) => `${Fe(
|
|
251
251
|
l.formatter,
|
|
252
|
-
|
|
253
|
-
V({ p: y.value[p].prefix, v:
|
|
254
|
-
)} (${isNaN(
|
|
255
|
-
v:
|
|
252
|
+
s,
|
|
253
|
+
V({ p: y.value[p].prefix, v: s, s: y.value[p].suffix, r: e.value.table.td.roundingValue })
|
|
254
|
+
)} (${isNaN(s / l.target) ? "" : V({
|
|
255
|
+
v: s / l.target * 100,
|
|
256
256
|
s: "%",
|
|
257
257
|
r: e.value.table.td.roundingPercentage
|
|
258
258
|
})})`)
|
|
@@ -285,7 +285,7 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
285
285
|
config: e.value
|
|
286
286
|
};
|
|
287
287
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
288
|
-
if (
|
|
288
|
+
if (st(l) && nt(() => l({
|
|
289
289
|
seriesIndex: a,
|
|
290
290
|
datapoint: t,
|
|
291
291
|
series: { categories: y.value, datapoints: b.value, radar: C.value },
|
|
@@ -299,13 +299,13 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
299
299
|
});
|
|
300
300
|
else {
|
|
301
301
|
o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`;
|
|
302
|
-
for (let
|
|
303
|
-
v.value.includes(
|
|
304
|
-
name: y.value[
|
|
305
|
-
value: t.values[
|
|
306
|
-
color: y.value[
|
|
302
|
+
for (let s = 0; s < t.values.length; s += 1)
|
|
303
|
+
v.value.includes(s) || J.value.push({
|
|
304
|
+
name: y.value[s].name,
|
|
305
|
+
value: t.values[s] / t.target * 100,
|
|
306
|
+
color: y.value[s].color,
|
|
307
307
|
suffix: "%)",
|
|
308
|
-
prefix: `${V({ p: y.value[
|
|
308
|
+
prefix: `${V({ p: y.value[s].prefix ?? "", v: t.values[s], s: y.value[s].suffix ?? "", r: e.value.style.chart.tooltip.roundingValue })} (`,
|
|
309
309
|
rounding: e.value.style.chart.tooltip.roundingPercentage,
|
|
310
310
|
formatter: t.formatter
|
|
311
311
|
});
|
|
@@ -314,16 +314,16 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
314
314
|
}
|
|
315
315
|
function _e() {
|
|
316
316
|
Je(() => {
|
|
317
|
-
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = [[""], [e.value.translations.target], ...
|
|
317
|
+
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = [[""], [e.value.translations.target], ...F.value.flatMap((p) => [[p.name], ["%"]])], o = g.dataset.series.map((p, jt) => [p.name, p.target, ...p.values.flatMap((Z) => [
|
|
318
318
|
Z,
|
|
319
319
|
isNaN(Z / p.target) ? "" : Z / p.target * 100
|
|
320
|
-
])]), l = t.concat([a]).concat(o),
|
|
321
|
-
it({ csvContent:
|
|
320
|
+
])]), l = t.concat([a]).concat(o), s = ut(l);
|
|
321
|
+
it({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-radar" });
|
|
322
322
|
});
|
|
323
323
|
}
|
|
324
|
-
const
|
|
324
|
+
const N = i(!1);
|
|
325
325
|
function Xe(t) {
|
|
326
|
-
|
|
326
|
+
N.value = t, ae.value += 1;
|
|
327
327
|
}
|
|
328
328
|
function $e() {
|
|
329
329
|
k.value.showTable = !k.value.showTable;
|
|
@@ -343,14 +343,14 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
343
343
|
toggleTable: $e,
|
|
344
344
|
toggleTooltip: Pe,
|
|
345
345
|
toggleAnnotator: Q
|
|
346
|
-
}), (t, a) => (r(),
|
|
347
|
-
class: z(`vue-ui-radar ${
|
|
346
|
+
}), (t, a) => (r(), n("div", {
|
|
347
|
+
class: z(`vue-ui-radar ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
348
348
|
ref_key: "radarChart",
|
|
349
349
|
ref: O,
|
|
350
350
|
id: `vue-ui-radar_${w.value}`,
|
|
351
351
|
style: W(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
352
|
-
onMouseenter: a[3] || (a[3] = () =>
|
|
353
|
-
onMouseleave: a[4] || (a[4] = () =>
|
|
352
|
+
onMouseenter: a[3] || (a[3] = () => d(de)(!0)),
|
|
353
|
+
onMouseleave: a[4] || (a[4] = () => d(de)(!1))
|
|
354
354
|
}, [
|
|
355
355
|
e.value.userOptions.buttons.annotator ? (r(), _(wt, {
|
|
356
356
|
key: 0,
|
|
@@ -359,22 +359,22 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
359
359
|
color: e.value.style.chart.color,
|
|
360
360
|
active: G.value,
|
|
361
361
|
onClose: Q
|
|
362
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
363
|
-
Ue.value ? (r(),
|
|
362
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
363
|
+
Ue.value ? (r(), n("div", {
|
|
364
364
|
key: 1,
|
|
365
365
|
ref_key: "noTitle",
|
|
366
|
-
ref:
|
|
366
|
+
ref: se,
|
|
367
367
|
class: "vue-data-ui-no-title-space",
|
|
368
368
|
style: "height:36px; width: 100%;background:transparent"
|
|
369
|
-
}, null, 512)) :
|
|
370
|
-
e.value.style.chart.title.text ? (r(),
|
|
369
|
+
}, null, 512)) : c("", !0),
|
|
370
|
+
e.value.style.chart.title.text ? (r(), n("div", {
|
|
371
371
|
key: 2,
|
|
372
372
|
ref_key: "chartTitle",
|
|
373
373
|
ref: oe,
|
|
374
374
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
375
375
|
}, [
|
|
376
376
|
(r(), _(vt, {
|
|
377
|
-
key: `title_${
|
|
377
|
+
key: `title_${ne.value}`,
|
|
378
378
|
config: {
|
|
379
379
|
title: {
|
|
380
380
|
cy: "radar-div-title",
|
|
@@ -386,15 +386,15 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
388
|
}, null, 8, ["config"]))
|
|
389
|
-
], 512)) :
|
|
390
|
-
e.value.userOptions.show && I.value && (
|
|
389
|
+
], 512)) : c("", !0),
|
|
390
|
+
e.value.userOptions.show && I.value && (d(ce) || d(H)) ? (r(), _(ht, {
|
|
391
391
|
ref_key: "details",
|
|
392
392
|
ref: Re,
|
|
393
393
|
key: `user_options_${ae.value}`,
|
|
394
394
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
395
395
|
color: e.value.style.chart.color,
|
|
396
|
-
isImaging:
|
|
397
|
-
isPrinting:
|
|
396
|
+
isImaging: d(ge),
|
|
397
|
+
isPrinting: d(he),
|
|
398
398
|
uid: w.value,
|
|
399
399
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
400
400
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -402,7 +402,7 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
402
402
|
hasXls: e.value.userOptions.buttons.csv,
|
|
403
403
|
hasTable: e.value.userOptions.buttons.table,
|
|
404
404
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
405
|
-
isFullscreen:
|
|
405
|
+
isFullscreen: N.value,
|
|
406
406
|
isTooltip: k.value.showTooltip,
|
|
407
407
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
408
408
|
chartElement: O.value,
|
|
@@ -410,14 +410,14 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
410
410
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
411
411
|
isAnnotation: G.value,
|
|
412
412
|
onToggleFullscreen: Xe,
|
|
413
|
-
onGeneratePdf:
|
|
413
|
+
onGeneratePdf: d(fe),
|
|
414
414
|
onGenerateCsv: _e,
|
|
415
|
-
onGenerateImage:
|
|
415
|
+
onGenerateImage: d(ye),
|
|
416
416
|
onToggleTable: $e,
|
|
417
417
|
onToggleTooltip: Pe,
|
|
418
418
|
onToggleAnnotator: Q,
|
|
419
419
|
style: W({
|
|
420
|
-
visibility:
|
|
420
|
+
visibility: d(ce) ? d(H) ? "visible" : "hidden" : "visible"
|
|
421
421
|
})
|
|
422
422
|
}, qe({ _: 2 }, [
|
|
423
423
|
t.$slots.optionTooltip ? {
|
|
@@ -469,16 +469,16 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
469
469
|
]),
|
|
470
470
|
key: "6"
|
|
471
471
|
} : void 0
|
|
472
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
473
|
-
I.value ? (r(),
|
|
472
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
473
|
+
I.value ? (r(), n("svg", {
|
|
474
474
|
key: 4,
|
|
475
|
-
xmlns:
|
|
476
|
-
class: z({ "vue-data-ui-fullscreen--on":
|
|
475
|
+
xmlns: d(lt),
|
|
476
|
+
class: z({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
|
|
477
477
|
viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
|
|
478
478
|
style: W(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
479
479
|
}, [
|
|
480
480
|
ee(Ct),
|
|
481
|
-
t.$slots["chart-background"] ? (r(),
|
|
481
|
+
t.$slots["chart-background"] ? (r(), n("foreignObject", {
|
|
482
482
|
key: 0,
|
|
483
483
|
x: 0,
|
|
484
484
|
y: 0,
|
|
@@ -489,9 +489,9 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
489
489
|
}
|
|
490
490
|
}, [
|
|
491
491
|
f(t.$slots, "chart-background", {}, void 0, !0)
|
|
492
|
-
], 8, xt)) :
|
|
492
|
+
], 8, xt)) : c("", !0),
|
|
493
493
|
$("defs", null, [
|
|
494
|
-
(r(!0),
|
|
494
|
+
(r(!0), n(P, null, T(y.value, (o, l) => (r(), n("radialGradient", {
|
|
495
495
|
cx: "50%",
|
|
496
496
|
cy: "50%",
|
|
497
497
|
r: "50%",
|
|
@@ -501,26 +501,26 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
501
501
|
}, [
|
|
502
502
|
$("stop", {
|
|
503
503
|
offset: "0%",
|
|
504
|
-
"stop-color":
|
|
504
|
+
"stop-color": d(te)(d(rt)(o.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
|
|
505
505
|
}, null, 8, At),
|
|
506
506
|
$("stop", {
|
|
507
507
|
offset: "100%",
|
|
508
|
-
"stop-color":
|
|
509
|
-
}, null, 8,
|
|
508
|
+
"stop-color": d(te)(o.color, e.value.style.chart.layout.dataPolygon.opacity)
|
|
509
|
+
}, null, 8, Ft)
|
|
510
510
|
], 8, Ot))), 256))
|
|
511
511
|
]),
|
|
512
|
-
e.value.style.chart.layout.grid.show ? (r(),
|
|
513
|
-
(r(!0),
|
|
512
|
+
e.value.style.chart.layout.grid.show ? (r(), n("g", Nt, [
|
|
513
|
+
(r(!0), n(P, null, T(C.value, (o) => (r(), n("line", {
|
|
514
514
|
x1: u.value.width / 2,
|
|
515
515
|
y1: u.value.height / 2,
|
|
516
516
|
x2: o.x,
|
|
517
517
|
y2: o.y,
|
|
518
518
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
519
519
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
520
|
-
}, null, 8,
|
|
521
|
-
e.value.style.chart.layout.grid.graduations > 0 ? (r(),
|
|
522
|
-
(r(!0),
|
|
523
|
-
d:
|
|
520
|
+
}, null, 8, St))), 256)),
|
|
521
|
+
e.value.style.chart.layout.grid.graduations > 0 ? (r(), n("g", It, [
|
|
522
|
+
(r(!0), n(P, null, T(Be.value, (o) => (r(), n("path", {
|
|
523
|
+
d: d(Ae)({
|
|
524
524
|
plot: { x: u.value.width / 2, y: u.value.height / 2 },
|
|
525
525
|
radius: o,
|
|
526
526
|
sides: Ce.value,
|
|
@@ -530,8 +530,8 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
530
530
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
531
531
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
532
532
|
}, null, 8, Lt))), 256))
|
|
533
|
-
])) :
|
|
534
|
-
])) :
|
|
533
|
+
])) : c("", !0)
|
|
534
|
+
])) : c("", !0),
|
|
535
535
|
$("path", {
|
|
536
536
|
d: we.value.path,
|
|
537
537
|
fill: "none",
|
|
@@ -540,46 +540,46 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
540
540
|
"stroke-linejoin": "round",
|
|
541
541
|
"stroke-linecap": "round"
|
|
542
542
|
}, null, 8, zt),
|
|
543
|
-
e.value.style.chart.layout.labels.dataLabels.show ? (r(),
|
|
544
|
-
(r(!0),
|
|
543
|
+
e.value.style.chart.layout.labels.dataLabels.show ? (r(), n("g", Mt, [
|
|
544
|
+
(r(!0), n(P, null, T(C.value, (o, l) => (r(), n("text", {
|
|
545
545
|
x: q(o).x,
|
|
546
546
|
y: q(o).y,
|
|
547
547
|
"text-anchor": q(o).anchor,
|
|
548
548
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
549
549
|
fill: e.value.style.chart.layout.labels.dataLabels.color,
|
|
550
|
-
onMouseenter: (
|
|
551
|
-
onMouseleave: a[0] || (a[0] = (
|
|
550
|
+
onMouseenter: (s) => We(o, l),
|
|
551
|
+
onMouseleave: a[0] || (a[0] = (s) => {
|
|
552
552
|
X.value = !1, D.value = null;
|
|
553
553
|
})
|
|
554
554
|
}, U(o.name), 41, Rt))), 256))
|
|
555
|
-
])) :
|
|
556
|
-
(r(!0),
|
|
555
|
+
])) : c("", !0),
|
|
556
|
+
(r(!0), n(P, null, T(y.value, (o, l) => (r(), n("g", null, [
|
|
557
557
|
$("g", null, [
|
|
558
|
-
e.value.useCssAnimation || !e.value.useCssAnimation && !v.value.includes(l) ? (r(),
|
|
558
|
+
e.value.useCssAnimation || !e.value.useCssAnimation && !v.value.includes(l) ? (r(), n("polygon", {
|
|
559
559
|
key: 0,
|
|
560
560
|
"data-cy-radar-path": "",
|
|
561
|
-
points:
|
|
561
|
+
points: d(Ne)(C.value.map((s) => s.plots[l]), !1, !0),
|
|
562
562
|
stroke: e.value.style.chart.backgroundColor,
|
|
563
563
|
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth + 1,
|
|
564
564
|
fill: "none",
|
|
565
565
|
class: z({ "animated-out": v.value.includes(l) && e.value.useCssAnimation, "animated-in": A.value && L.value === l && e.value.useCssAnimation })
|
|
566
|
-
}, null, 10, Ut)) :
|
|
567
|
-
e.value.useCssAnimation || !e.value.useCssAnimation && !v.value.includes(l) ? (r(),
|
|
566
|
+
}, null, 10, Ut)) : c("", !0),
|
|
567
|
+
e.value.useCssAnimation || !e.value.useCssAnimation && !v.value.includes(l) ? (r(), n("polygon", {
|
|
568
568
|
key: 1,
|
|
569
569
|
"data-cy-radar-path": "",
|
|
570
|
-
points:
|
|
570
|
+
points: d(Ne)(C.value.map((s) => s.plots[l]), !1, !0),
|
|
571
571
|
stroke: o.color,
|
|
572
572
|
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
|
|
573
|
-
fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${w.value}_${l})` :
|
|
573
|
+
fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${w.value}_${l})` : d(te)(o.color, e.value.style.chart.layout.dataPolygon.opacity),
|
|
574
574
|
class: z({ "animated-out": v.value.includes(l) && e.value.useCssAnimation, "animated-in": A.value && L.value === l && e.value.useCssAnimation })
|
|
575
|
-
}, null, 10, Vt)) :
|
|
575
|
+
}, null, 10, Vt)) : c("", !0)
|
|
576
576
|
])
|
|
577
577
|
]))), 256)),
|
|
578
|
-
e.value.style.chart.layout.plots.show ? (r(),
|
|
579
|
-
(r(!0),
|
|
580
|
-
(r(!0),
|
|
581
|
-
cx:
|
|
582
|
-
cy:
|
|
578
|
+
e.value.style.chart.layout.plots.show ? (r(), n("g", Et, [
|
|
579
|
+
(r(!0), n(P, null, T(C.value, (o, l) => (r(), n("g", null, [
|
|
580
|
+
(r(!0), n(P, null, T(o.plots, (s, p) => (r(), n("circle", {
|
|
581
|
+
cx: s.x,
|
|
582
|
+
cy: s.y,
|
|
583
583
|
fill: v.value.includes(p) ? "transparent" : y.value[p].color,
|
|
584
584
|
r: D.value !== null && D.value === l ? e.value.style.chart.layout.plots.radius * 1.6 : e.value.style.chart.layout.plots.radius,
|
|
585
585
|
stroke: v.value.includes(p) ? "transparent" : e.value.style.chart.backgroundColor,
|
|
@@ -587,13 +587,13 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
587
587
|
class: z({ "animated-out": v.value.includes(p) && e.value.useCssAnimation, "animated-in": A.value && L.value === p && e.value.useCssAnimation })
|
|
588
588
|
}, null, 10, Bt))), 256))
|
|
589
589
|
]))), 256))
|
|
590
|
-
])) :
|
|
590
|
+
])) : c("", !0),
|
|
591
591
|
f(t.$slots, "svg", { svg: u.value }, void 0, !0)
|
|
592
|
-
], 14, Tt)) :
|
|
593
|
-
t.$slots.watermark ? (r(),
|
|
594
|
-
f(t.$slots, "watermark", M(R({ isPrinting:
|
|
595
|
-
])) :
|
|
596
|
-
I.value ?
|
|
592
|
+
], 14, Tt)) : c("", !0),
|
|
593
|
+
t.$slots.watermark ? (r(), n("div", Dt, [
|
|
594
|
+
f(t.$slots, "watermark", M(R({ isPrinting: d(he) || d(ge) })), void 0, !0)
|
|
595
|
+
])) : c("", !0),
|
|
596
|
+
I.value ? c("", !0) : (r(), _(bt, {
|
|
597
597
|
key: 6,
|
|
598
598
|
config: {
|
|
599
599
|
type: "radar",
|
|
@@ -616,16 +616,16 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
616
616
|
}, [
|
|
617
617
|
e.value.style.chart.legend.show ? (r(), _(yt, {
|
|
618
618
|
key: `legend_${ie.value}`,
|
|
619
|
-
legendSet:
|
|
619
|
+
legendSet: F.value,
|
|
620
620
|
config: Ge.value,
|
|
621
621
|
onClickMarker: a[1] || (a[1] = ({ i: o }) => be(o))
|
|
622
622
|
}, {
|
|
623
623
|
item: m(({ legend: o, index: l }) => [
|
|
624
624
|
$("div", {
|
|
625
625
|
"data-cy-legend-item": "",
|
|
626
|
-
onClick: (
|
|
626
|
+
onClick: (s) => o.segregate(),
|
|
627
627
|
style: W(`opacity:${v.value.includes(l) ? 0.5 : 1}`)
|
|
628
|
-
}, U(o.name) + ": " + U(
|
|
628
|
+
}, U(o.name) + ": " + U(d(V)({
|
|
629
629
|
v: o.totalProportion * 100,
|
|
630
630
|
s: "%",
|
|
631
631
|
r: e.value.style.chart.legend.roundingPercentage
|
|
@@ -634,17 +634,17 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
634
634
|
_: 1
|
|
635
635
|
}, 8, ["legendSet", "config"])) : f(t.$slots, "legend", {
|
|
636
636
|
key: 1,
|
|
637
|
-
legend:
|
|
637
|
+
legend: F.value
|
|
638
638
|
}, void 0, !0)
|
|
639
639
|
], 512),
|
|
640
|
-
t.$slots.source ? (r(),
|
|
640
|
+
t.$slots.source ? (r(), n("div", {
|
|
641
641
|
key: 7,
|
|
642
642
|
ref_key: "source",
|
|
643
643
|
ref: re,
|
|
644
644
|
dir: "auto"
|
|
645
645
|
}, [
|
|
646
646
|
f(t.$slots, "source", {}, void 0, !0)
|
|
647
|
-
], 512)) :
|
|
647
|
+
], 512)) : c("", !0),
|
|
648
648
|
ee(gt, {
|
|
649
649
|
show: k.value.showTooltip && X.value,
|
|
650
650
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
@@ -658,19 +658,19 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
658
658
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
659
659
|
parent: O.value,
|
|
660
660
|
content: j.value,
|
|
661
|
-
isFullscreen:
|
|
661
|
+
isFullscreen: N.value,
|
|
662
662
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
|
|
663
663
|
}, {
|
|
664
664
|
"tooltip-before": m(() => [
|
|
665
665
|
f(t.$slots, "tooltip-before", M(R({ ...K.value })), void 0, !0)
|
|
666
666
|
]),
|
|
667
667
|
"tooltip-after": m(() => [
|
|
668
|
-
["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ?
|
|
668
|
+
["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? c("", !0) : (r(), n("div", Wt, [
|
|
669
669
|
ee(ft, {
|
|
670
670
|
dataset: J.value,
|
|
671
671
|
config: Ve.value,
|
|
672
|
-
backgroundOpacity:
|
|
673
|
-
}, null, 8, ["dataset", "config"
|
|
672
|
+
backgroundOpacity: 0
|
|
673
|
+
}, null, 8, ["dataset", "config"])
|
|
674
674
|
])),
|
|
675
675
|
f(t.$slots, "tooltip-after", M(R({ ...K.value })), void 0, !0)
|
|
676
676
|
]),
|
|
@@ -712,10 +712,10 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
712
712
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
713
713
|
]),
|
|
714
714
|
_: 1
|
|
715
|
-
}, 8, ["config"])) :
|
|
715
|
+
}, 8, ["config"])) : c("", !0)
|
|
716
716
|
], 46, Pt));
|
|
717
717
|
}
|
|
718
|
-
}, ia = /* @__PURE__ */ $t(Xt, [["__scopeId", "data-v-
|
|
718
|
+
}, ia = /* @__PURE__ */ $t(Xt, [["__scopeId", "data-v-7a50d021"]]);
|
|
719
719
|
export {
|
|
720
720
|
ia as default
|
|
721
721
|
};
|