vue-data-ui 3.22.6 → 3.22.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-Ds4xmpiQ.js → Arrow-DdymhUfY.js} +1 -1
- package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
- package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-C2qlyHc7.js} +1 -1
- package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
- package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C6zonwhr.js} +2 -2
- package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-CK2-h611.js} +2 -2
- package/dist/{DataTable-CXfvIulC.js → DataTable-D9NvewTT.js} +2 -2
- package/dist/{Legend-D-635Kag.js → Legend-ROt6ugzW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-BHHNsVVP.js} +29 -29
- package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-DW7zwRcm.js} +1 -1
- package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-pcgwlYr2.js} +18 -18
- package/dist/{Shape-BSetplwm.js → Shape-UpH0a4Ur.js} +3 -3
- package/dist/{Slicer-ClIGOuoX.js → Slicer-BZ5VnOOS.js} +19 -19
- package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-BQFeCw0m.js} +351 -351
- package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-BTLN-Kex.js} +6 -6
- package/dist/{Title-C-p0ilWB.js → Title-CcNiYzEo.js} +1 -1
- package/dist/{Tooltip-YabpoXo1.js → Tooltip-CxOrWlFy.js} +1 -1
- package/dist/{UserOptions-BO4VFL8O.js → UserOptions-16uF1ayB.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-CVJfsfwL.js → dom-to-png-BbwhsRIr.js} +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +19 -0
- package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
- package/dist/{img-B_y5qDdm.js → img-DnP3eXuv.js} +1 -1
- package/dist/{labelUtils-CyVwqXSh.js → labelUtils-DBEh078l.js} +1 -1
- package/dist/{lib-DRBJCmHW.js → lib-JqW18y5I.js} +49 -30
- package/dist/{package-DyQ_PQis.js → package-gp9pYCfN.js} +1 -1
- package/dist/{pdf-CG02qhAH.js → pdf-hj3gzrE7.js} +1 -1
- package/dist/{render-common-CUAlQvAQ.js → render-common-CLn1VXJ9.js} +20 -20
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/utils.d.ts +18 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
- package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-DIuuzG1r.js} +1 -1
- package/dist/{usePrinter-CRp5IW3v.js → usePrinter-CqqHmnBI.js} +2 -2
- package/dist/utils.js +23 -23
- package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/{vue-ui-3d-bar-BAH0jNtT.js → vue-ui-3d-bar-B3HxJmDI.js} +124 -124
- package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-YyosvEPo.js} +3 -3
- package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
- package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-CfJXeAOE.js} +6 -6
- package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
- package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
- package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
- package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
- package/dist/{vue-ui-chestnut-Cx8T3NEl.js → vue-ui-chestnut-RfWMGUD-.js} +114 -114
- package/dist/{vue-ui-chord-B-sauvLo.js → vue-ui-chord-Db1O_diJ.js} +57 -57
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
- package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
- package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DL3zq0F2.js} +37 -37
- package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
- package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-ThFVNO3l.js} +3 -3
- package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-BuTd6dt4.js} +224 -224
- package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-C3Rt6j-I.js} +458 -458
- package/dist/vue-ui-donut-evolution-DY46UPF_.js +1510 -0
- package/dist/vue-ui-dumbbell-wK7vUB0x.js +1530 -0
- package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-BTUNfWb7.js} +122 -122
- package/dist/vue-ui-funnel-BhoHzyHa.js +777 -0
- package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DJ2uNYcN.js} +263 -263
- package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-Cf4NqvrO.js} +226 -226
- package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-ovHu_Sc9.js} +21 -21
- package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-DDxEj-qe.js} +7 -7
- package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-Npqnvb1r.js} +282 -282
- package/dist/vue-ui-history-plot-C3Kjy2tc.js +1715 -0
- package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
- package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
- package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
- package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
- package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-DlVh6hwx.js} +27 -27
- package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
- package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DBpHCFxa.js → vue-ui-parallel-coordinate-plot-DSp_cwU-.js} +57 -57
- package/dist/vue-ui-quadrant-ByVg-NBs.js +1978 -0
- package/dist/{vue-ui-quick-chart-so_8PzvS.js → vue-ui-quick-chart-WMzSJxGZ.js} +188 -188
- package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-DE-me6OC.js} +64 -64
- package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
- package/dist/vue-ui-relation-circle-L7-dTqet.js +924 -0
- package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
- package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
- package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
- package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
- package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-D4NnZ1mg.js} +17 -17
- package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-C38ysZ-c.js} +21 -21
- package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-B03ndcUe.js} +80 -80
- package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DgPc4vPT.js} +7 -7
- package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-D02ff7ZI.js} +115 -115
- package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-DlTfNQj8.js} +464 -464
- package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +662 -0
- package/dist/vue-ui-stackbar-BVdApDnY.js +2332 -0
- package/dist/vue-ui-stackline-QzQQ7lTy.js +2419 -0
- package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
- package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Q3brrivC.js} +68 -68
- package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
- package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-Q6BHPKUn.js} +199 -199
- package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-Bg0RR6m4.js} +26 -26
- package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-BdzKpoRj.js} +29 -29
- package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-DWb69ofh.js} +17 -17
- package/dist/{vue-ui-treemap-B03c4RIy.js → vue-ui-treemap-uUz07Prw.js} +401 -401
- package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
- package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-DTfvWYA7.js} +137 -137
- package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-DqfljAqH.js} +40 -40
- package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
- package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-Bvgy2do1.js} +1598 -1596
- package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-D5KsuNR2.js} +259 -259
- package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-BfgeE3TW.js} +440 -437
- package/package.json +1 -1
- package/dist/exposedLib-CjwriUaG.js +0 -19
- package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +0 -1238
- package/dist/vue-ui-bullet-C_oBS1cr.js +0 -710
- package/dist/vue-ui-bump-BZB1Na8h.js +0 -1249
- package/dist/vue-ui-candlestick-8d_1xO8X.js +0 -1826
- package/dist/vue-ui-carousel-table-BfZNcwmY.js +0 -455
- package/dist/vue-ui-circle-pack-BLh8HnGK.js +0 -1608
- package/dist/vue-ui-donut-evolution-D1k4u6cA.js +0 -1510
- package/dist/vue-ui-dumbbell-DgmvPpK2.js +0 -1530
- package/dist/vue-ui-funnel-BYCFV5TD.js +0 -777
- package/dist/vue-ui-history-plot-B7zuCfdg.js +0 -1715
- package/dist/vue-ui-horizontal-bar-CwB4sc6M.js +0 -1683
- package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
- package/dist/vue-ui-nested-donuts-wfesrzle.js +0 -1487
- package/dist/vue-ui-onion-B8-psLbF.js +0 -1200
- package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
- package/dist/vue-ui-rating-CKWHDKOT.js +0 -343
- package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
- package/dist/vue-ui-ridgeline-DVbYznRz.js +0 -1622
- package/dist/vue-ui-rings-c-yLWFHr.js +0 -1246
- package/dist/vue-ui-scatter-QhmE7n1H.js +0 -2413
- package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +0 -662
- package/dist/vue-ui-stackbar-DDvuDGQ_.js +0 -2329
- package/dist/vue-ui-stackline-C0NHBUaE.js +0 -2416
- package/dist/vue-ui-strip-plot-_6LL45i9.js +0 -1729
- package/dist/vue-ui-waffle-afa8HSxz.js +0 -1362
- package/dist/vue-ui-world-CqS-HhZl.js +0 -14264
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as t, A as n, G as r, J as i, Kt as a, Mt as o, Ot as s, Rt as c, S as ee, T as te, Wt as ne, Z as re, b as ie, dt as ae, i as oe, kt as se, ot as ce, t as le, v as ue, yt as de, zt as fe } from "./lib-JqW18y5I.js";
|
|
3
3
|
import { t as pe } from "./useConfig-DYM3f6EI.js";
|
|
4
|
-
import { t as me } from "./usePrinter-
|
|
4
|
+
import { t as me } from "./usePrinter-CqqHmnBI.js";
|
|
5
5
|
import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as _e } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as ve } from "./useNestedProp-
|
|
7
|
+
import { t as ve } from "./useNestedProp-DIuuzG1r.js";
|
|
8
8
|
import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as be } from "./img-
|
|
10
|
-
import { n as xe } from "./Title-
|
|
9
|
+
import { t as be } from "./img-DnP3eXuv.js";
|
|
10
|
+
import { n as xe } from "./Title-CcNiYzEo.js";
|
|
11
11
|
import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { c as Ce } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as we } from "./useResponsive-BfnK0KxU.js";
|
|
14
|
-
import { t as Te } from "./BaseLegendToggle-
|
|
14
|
+
import { t as Te } from "./BaseLegendToggle-DtQ8vyfr.js";
|
|
15
15
|
import { t as Ee } from "./A11yDataTable-DdRsVULz.js";
|
|
16
16
|
import { t as De } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
17
|
import { t as Oe } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
|
-
import { t as ke } from "./Legend-
|
|
19
|
-
import { t as Ae } from "./useAutoSizeLabelsInsideViewbox-
|
|
18
|
+
import { t as ke } from "./Legend-ROt6ugzW.js";
|
|
19
|
+
import { t as Ae } from "./useAutoSizeLabelsInsideViewbox-BGnDfZdg.js";
|
|
20
20
|
import { t as je } from "./vue_ui_radar-jafTED5j.js";
|
|
21
21
|
import { Fragment as l, Teleport as Me, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Ne, createTextVNode as Pe, createVNode as Fe, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Ie, nextTick as Le, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Re, onMounted as ze, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Be, shallowRef as Ve, toDisplayString as w, toRefs as He, unref as T, watch as Ue, withCtx as E } from "vue";
|
|
22
22
|
//#region src/components/vue-ui-radar.vue
|
|
@@ -112,10 +112,10 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
112
112
|
},
|
|
113
113
|
emits: ["selectLegend", "copyAlt"],
|
|
114
114
|
setup(e, { expose: Se, emit: We }) {
|
|
115
|
-
let St = h(() => import("./Tooltip-
|
|
115
|
+
let St = h(() => import("./Tooltip-CxOrWlFy.js")), Ct = h(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), wt = h(() => import("./vue-ui-sparkbar-B03ndcUe.js").then((e) => e.n)), Tt = h(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), Et = h(() => import("./DataTable-D9NvewTT.js")), Dt = h(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), Ot = h(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), kt = h(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), At = h(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_radar: jt } = pe(), { isThemeValid: Mt, warnInvalidTheme: Nt } = ye(), D = e, Pt = u(() => !!D.dataset && Object.keys(D.dataset).length), O = x(r()), k = x(!1), Ft = x(""), It = x(0), A = x(null), Lt = x(null), Rt = x(null), zt = x(null), Bt = x(null), Vt = x(0), Ht = x(0), Ut = x(0), Wt = x(!1), j = x(null), Gt = x(null), Kt = x(!1), qt = x(!1), M = x(null), Jt = x({
|
|
116
116
|
x: 0,
|
|
117
117
|
y: 0
|
|
118
|
-
}), N = x("pointer"), Yt = x(!1), P = x(tn()), F = u(() => P.value.userOptions.useCursorPointer), Xt = u(() =>
|
|
118
|
+
}), N = x("pointer"), Yt = x(!1), P = x(tn()), F = u(() => P.value.userOptions.useCursorPointer), Xt = u(() => a({
|
|
119
119
|
defaultConfig: {
|
|
120
120
|
userOptions: { show: !1 },
|
|
121
121
|
table: { show: !1 },
|
|
@@ -178,7 +178,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
178
178
|
}
|
|
179
179
|
]
|
|
180
180
|
},
|
|
181
|
-
skeletonConfig:
|
|
181
|
+
skeletonConfig: a({
|
|
182
182
|
defaultConfig: P.value,
|
|
183
183
|
userConfig: Xt.value
|
|
184
184
|
})
|
|
@@ -187,19 +187,19 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
187
187
|
let e = ve({
|
|
188
188
|
userConfig: D.config,
|
|
189
189
|
defaultConfig: jt
|
|
190
|
-
}),
|
|
191
|
-
if (!
|
|
190
|
+
}), t = e.theme;
|
|
191
|
+
if (!t) return e;
|
|
192
192
|
if (!Mt.value(e)) return Nt(e), e;
|
|
193
|
-
let
|
|
194
|
-
userConfig: je[
|
|
193
|
+
let n = ve({
|
|
194
|
+
userConfig: je[t] || D.config,
|
|
195
195
|
defaultConfig: e
|
|
196
|
-
}),
|
|
196
|
+
}), r = ve({
|
|
197
197
|
userConfig: D.config,
|
|
198
|
-
defaultConfig:
|
|
198
|
+
defaultConfig: n
|
|
199
199
|
});
|
|
200
200
|
return {
|
|
201
|
-
...
|
|
202
|
-
customPalette:
|
|
201
|
+
...r,
|
|
202
|
+
customPalette: r.customPalette.length ? r.customPalette : ne[t] || o
|
|
203
203
|
};
|
|
204
204
|
}
|
|
205
205
|
Ue(() => D.config, (e) => {
|
|
@@ -207,7 +207,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
207
207
|
}, { deep: !0 });
|
|
208
208
|
let R = Ve(null), z = Ve(null), B = u(() => P.value.debug);
|
|
209
209
|
function nn() {
|
|
210
|
-
if (
|
|
210
|
+
if (se(D.dataset) && t({
|
|
211
211
|
componentName: "VueUiRadar",
|
|
212
212
|
type: "dataset",
|
|
213
213
|
debug: B.value
|
|
@@ -288,11 +288,11 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
288
288
|
function gn() {
|
|
289
289
|
let e = I.value;
|
|
290
290
|
if ([null, void 0].includes(e?.categories)) {
|
|
291
|
-
|
|
291
|
+
t({
|
|
292
292
|
componentName: "VueUiRadar",
|
|
293
293
|
type: "dataset",
|
|
294
294
|
debug: B.value
|
|
295
|
-
}),
|
|
295
|
+
}), t({
|
|
296
296
|
componentName: "VueUiRadar",
|
|
297
297
|
type: "datasetAttribute",
|
|
298
298
|
property: "categories ({ name: string; prefix?: string; suffix?: string}[])",
|
|
@@ -300,31 +300,31 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
300
300
|
});
|
|
301
301
|
return;
|
|
302
302
|
}
|
|
303
|
-
e.categories.length === 0 ?
|
|
303
|
+
e.categories.length === 0 ? t({
|
|
304
304
|
componentName: "VueUiRadar",
|
|
305
305
|
type: "datasetAttributeEmpty",
|
|
306
306
|
property: "categories",
|
|
307
307
|
debug: B.value
|
|
308
|
-
}) : e.categories.forEach((e,
|
|
309
|
-
|
|
308
|
+
}) : e.categories.forEach((e, n) => {
|
|
309
|
+
ae({
|
|
310
310
|
datasetObject: e,
|
|
311
311
|
requiredAttributes: ["name"]
|
|
312
312
|
}).forEach((e) => {
|
|
313
|
-
|
|
313
|
+
t({
|
|
314
314
|
componentName: "VueUiRadar",
|
|
315
315
|
type: "datasetAttribute",
|
|
316
|
-
property: `category.${e} at index ${
|
|
317
|
-
index:
|
|
316
|
+
property: `category.${e} at index ${n}`,
|
|
317
|
+
index: n,
|
|
318
318
|
debug: B.value
|
|
319
319
|
});
|
|
320
320
|
});
|
|
321
|
-
}), [null, void 0].includes(e?.series) ?
|
|
321
|
+
}), [null, void 0].includes(e?.series) ? t({
|
|
322
322
|
componentName: "VueUiRadar",
|
|
323
323
|
type: "datasetAttribute",
|
|
324
324
|
property: "series ({ name: string; values: number[]; color?: string; target: number}[])",
|
|
325
325
|
debug: B.value
|
|
326
|
-
}) : e.series.forEach((e,
|
|
327
|
-
|
|
326
|
+
}) : e.series.forEach((e, n) => {
|
|
327
|
+
ae({
|
|
328
328
|
datasetObject: e,
|
|
329
329
|
requiredAttributes: [
|
|
330
330
|
"name",
|
|
@@ -332,12 +332,12 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
332
332
|
"target"
|
|
333
333
|
]
|
|
334
334
|
}).forEach((e) => {
|
|
335
|
-
|
|
335
|
+
t({
|
|
336
336
|
componentName: "VueUiRadar",
|
|
337
337
|
type: "datasetSerieAttribute",
|
|
338
338
|
key: "series",
|
|
339
339
|
property: e,
|
|
340
|
-
index:
|
|
340
|
+
index: n,
|
|
341
341
|
debug: B.value
|
|
342
342
|
});
|
|
343
343
|
});
|
|
@@ -348,20 +348,20 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
348
348
|
immediate: !0
|
|
349
349
|
});
|
|
350
350
|
let K = u(() => {
|
|
351
|
-
let e = Array.isArray(I.value?.categories) ? I.value.categories : [],
|
|
352
|
-
return e.map((e,
|
|
351
|
+
let e = Array.isArray(I.value?.categories) ? I.value.categories : [], t = ln.value ?? o;
|
|
352
|
+
return e.map((e, n) => ({
|
|
353
353
|
name: e?.name ?? "",
|
|
354
|
-
categoryId: `radar_category_${O.value}_${
|
|
355
|
-
color:
|
|
354
|
+
categoryId: `radar_category_${O.value}_${n}`,
|
|
355
|
+
color: ie(e?.color) || t[n] || o[n % o.length],
|
|
356
356
|
prefix: e?.prefix ?? "",
|
|
357
357
|
suffix: e?.suffix ?? ""
|
|
358
358
|
}));
|
|
359
|
-
}), q = u(() => I.value.series.map((e,
|
|
359
|
+
}), q = u(() => I.value.series.map((e, t) => ({
|
|
360
360
|
...e,
|
|
361
|
-
color:
|
|
362
|
-
serieId: `radar_serie_${O.value}_${
|
|
361
|
+
color: ie(e.color) || ln.value[t] || o[t] || o[t % o.length],
|
|
362
|
+
serieId: `radar_serie_${O.value}_${t}`,
|
|
363
363
|
formatter: e.formatter || null,
|
|
364
|
-
absoluteIndex:
|
|
364
|
+
absoluteIndex: t
|
|
365
365
|
})));
|
|
366
366
|
function _n(e) {
|
|
367
367
|
return q.value.length ? Y.value.find((t) => t.name === e) || (P.value.debug && console.warn(`VueUiRadar - Series name not found "${e}"`), null) : (P.value.debug && console.warn("VueUiRadar - There are no series to show."), null);
|
|
@@ -387,7 +387,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
387
387
|
apexY: n.y,
|
|
388
388
|
proportion: (e.target || 0) / xn(e)
|
|
389
389
|
});
|
|
390
|
-
})), Cn = u(() => q.value.length), wn = u(() => Math.min(H.value.width, H.value.height) / 3), Tn = u(() =>
|
|
390
|
+
})), Cn = u(() => q.value.length), wn = u(() => Math.min(H.value.width, H.value.height) / 3), Tn = u(() => n({
|
|
391
391
|
plot: {
|
|
392
392
|
x: H.value.width / 2,
|
|
393
393
|
y: H.value.height / 2
|
|
@@ -445,7 +445,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
445
445
|
let Y = u(() => {
|
|
446
446
|
let e = q.value.map((e, t) => e.values.map((t) => t / (e.target || bn.value)));
|
|
447
447
|
return K.value.map((t, n) => {
|
|
448
|
-
let r =
|
|
448
|
+
let r = ue(e.map((e) => e[n]).reduce((e, t) => e + t, 0) / q.value.length);
|
|
449
449
|
return {
|
|
450
450
|
...t,
|
|
451
451
|
absoluteIndex: n,
|
|
@@ -454,7 +454,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
454
454
|
opacity: U.value.includes(n) ? .5 : 1,
|
|
455
455
|
segregate: () => mn(n),
|
|
456
456
|
isSegregated: U.value.includes(n),
|
|
457
|
-
display: `${t.name}: ${
|
|
457
|
+
display: `${t.name}: ${i({
|
|
458
458
|
v: (r ?? 0) * 100,
|
|
459
459
|
s: "%",
|
|
460
460
|
r: P.value.style.chart.legend.roundingPercentage
|
|
@@ -484,18 +484,18 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
484
484
|
head: e,
|
|
485
485
|
body: I.value.series.map((e) => [
|
|
486
486
|
e.name,
|
|
487
|
-
|
|
487
|
+
oe(e.formatter, e.target, i({
|
|
488
488
|
p: e.prefix,
|
|
489
489
|
v: e.target,
|
|
490
490
|
s: e.suffix,
|
|
491
491
|
r: P.value.table.td.roundingValue
|
|
492
492
|
})),
|
|
493
|
-
...e.values.map((t, n) => `${
|
|
493
|
+
...e.values.map((t, n) => `${oe(e.formatter, t, i({
|
|
494
494
|
p: K.value[n]?.prefix ?? "",
|
|
495
495
|
v: t,
|
|
496
496
|
s: K.value[n]?.suffix ?? "",
|
|
497
497
|
r: P.value.table.td.roundingValue
|
|
498
|
-
}))} (${isNaN(t / e.target) ? "" :
|
|
498
|
+
}))} (${isNaN(t / e.target) ? "" : i({
|
|
499
499
|
v: t / e.target * 100,
|
|
500
500
|
s: "%",
|
|
501
501
|
r: P.value.table.td.roundingPercentage
|
|
@@ -545,8 +545,8 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
545
545
|
},
|
|
546
546
|
config: P.value
|
|
547
547
|
};
|
|
548
|
-
let
|
|
549
|
-
if (
|
|
548
|
+
let a = P.value.style.chart.tooltip.customFormat;
|
|
549
|
+
if (de(a) && ce(() => a({
|
|
550
550
|
seriesIndex: t,
|
|
551
551
|
datapoint: e,
|
|
552
552
|
series: {
|
|
@@ -556,7 +556,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
556
556
|
},
|
|
557
557
|
config: P.value
|
|
558
558
|
}))) {
|
|
559
|
-
Ft.value =
|
|
559
|
+
Ft.value = a({
|
|
560
560
|
seriesIndex: t,
|
|
561
561
|
datapoint: e,
|
|
562
562
|
series: {
|
|
@@ -570,16 +570,16 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
570
570
|
}
|
|
571
571
|
Ft.value = `<div style="width:100%;text-align:center;border-bottom:1px solid ${P.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`;
|
|
572
572
|
for (let t = 0; t < e.values.length; t += 1) if (!U.value.includes(t)) {
|
|
573
|
-
let n = r[t],
|
|
573
|
+
let n = r[t], a = e.values[t], o = isNaN(a / e.target) ? 0 : a / e.target * 100, s = oe(e.formatter, a, i({
|
|
574
574
|
p: K.value[t].prefix,
|
|
575
|
-
v:
|
|
575
|
+
v: a,
|
|
576
576
|
s: K.value[t].suffix,
|
|
577
577
|
r: P.value.style.chart.tooltip.roundingValue
|
|
578
|
-
}), { datapoint: e }),
|
|
579
|
-
v:
|
|
578
|
+
}), { datapoint: e }), c = i({
|
|
579
|
+
v: o,
|
|
580
580
|
s: "%",
|
|
581
581
|
r: P.value.style.chart.tooltip.roundingPercentage
|
|
582
|
-
}), ee = P.value.style.chart.tooltip.showValue && P.value.style.chart.tooltip.showPercentage ? `${
|
|
582
|
+
}), ee = P.value.style.chart.tooltip.showValue && P.value.style.chart.tooltip.showPercentage ? `${s} (${c})` : P.value.style.chart.tooltip.showValue && !P.value.style.chart.tooltip.showPercentage ? s : !P.value.style.chart.tooltip.showValue && P.value.style.chart.tooltip.showPercentage ? `${c}` : "";
|
|
583
583
|
Mn.value.push({
|
|
584
584
|
name: n?.name ?? `#${t + 1}`,
|
|
585
585
|
value: e.values[t] / e.target * 100,
|
|
@@ -605,7 +605,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
605
605
|
e.name,
|
|
606
606
|
e.target,
|
|
607
607
|
...e.values.flatMap((t) => [t, isNaN(t / e.target) ? "" : t / e.target * 100])
|
|
608
|
-
]), i =
|
|
608
|
+
]), i = te(t.concat([n]).concat(r));
|
|
609
609
|
e ? e(i) : re({
|
|
610
610
|
csvContent: i,
|
|
611
611
|
title: P.value.style.chart.title.text || "vue-ui-radar"
|
|
@@ -972,7 +972,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
972
972
|
m("div", Je, [(b(), p("svg", {
|
|
973
973
|
ref_key: "svgRef",
|
|
974
974
|
ref: L,
|
|
975
|
-
xmlns: T(
|
|
975
|
+
xmlns: T(le),
|
|
976
976
|
"aria-describedby": `chart-instructions-${O.value}`,
|
|
977
977
|
class: _({
|
|
978
978
|
"vue-data-ui-fullscreen--on": Q.value,
|
|
@@ -1003,10 +1003,10 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1003
1003
|
id: `radar_gradient_${O.value}_${t}`
|
|
1004
1004
|
}, [m("stop", {
|
|
1005
1005
|
offset: "0%",
|
|
1006
|
-
"stop-color": T(
|
|
1006
|
+
"stop-color": T(c)(T(fe)(e.color, .05), P.value.style.chart.layout.dataPolygon.opacity)
|
|
1007
1007
|
}, null, 8, Qe), m("stop", {
|
|
1008
1008
|
offset: "100%",
|
|
1009
|
-
"stop-color": T(
|
|
1009
|
+
"stop-color": T(c)(e.color, P.value.style.chart.layout.dataPolygon.opacity)
|
|
1010
1010
|
}, null, 8, $e)], 8, Ze))), 256))]),
|
|
1011
1011
|
P.value.style.chart.layout.grid.show ? (b(), p("g", et, [(b(!0), p(l, null, S(J.value, (e) => (b(), p("line", {
|
|
1012
1012
|
x1: H.value.width / 2,
|
|
@@ -1016,7 +1016,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1016
1016
|
stroke: P.value.style.chart.layout.grid.stroke,
|
|
1017
1017
|
"stroke-width": P.value.style.chart.layout.grid.strokeWidth
|
|
1018
1018
|
}, null, 8, tt))), 256)), P.value.style.chart.layout.grid.graduations > 0 ? (b(), p("g", nt, [(b(!0), p(l, null, S(En.value, (e) => (b(), p("path", {
|
|
1019
|
-
d: T(
|
|
1019
|
+
d: T(n)({
|
|
1020
1020
|
plot: {
|
|
1021
1021
|
x: H.value.width / 2,
|
|
1022
1022
|
y: H.value.height / 2
|
|
@@ -1050,7 +1050,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1050
1050
|
}, w(e.name), 41, ot))), 256))])) : f("", !0),
|
|
1051
1051
|
(b(!0), p(l, null, S(K.value, (e, t) => (b(), p("g", null, [m("g", null, [P.value.useCssAnimation || !P.value.useCssAnimation && !U.value.includes(t) ? (b(), p("polygon", {
|
|
1052
1052
|
key: 0,
|
|
1053
|
-
points: T(
|
|
1053
|
+
points: T(s)(J.value.map((e) => e.plots[t]), !1, !0),
|
|
1054
1054
|
stroke: P.value.style.chart.backgroundColor,
|
|
1055
1055
|
"stroke-width": P.value.style.chart.layout.dataPolygon.strokeWidth + 1,
|
|
1056
1056
|
fill: "none",
|
|
@@ -1060,10 +1060,10 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1060
1060
|
})
|
|
1061
1061
|
}, null, 10, st)) : f("", !0), P.value.useCssAnimation || !P.value.useCssAnimation && !U.value.includes(t) ? (b(), p("polygon", {
|
|
1062
1062
|
key: 1,
|
|
1063
|
-
points: T(
|
|
1063
|
+
points: T(s)(J.value.map((e) => e.plots[t]), !1, !0),
|
|
1064
1064
|
stroke: e.color,
|
|
1065
1065
|
"stroke-width": P.value.style.chart.layout.dataPolygon.strokeWidth,
|
|
1066
|
-
fill: P.value.style.chart.layout.dataPolygon.transparent ? "transparent" : P.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${O.value}_${t})` : T(
|
|
1066
|
+
fill: P.value.style.chart.layout.dataPolygon.transparent ? "transparent" : P.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${O.value}_${t})` : T(c)(e.color, P.value.style.chart.layout.dataPolygon.opacity),
|
|
1067
1067
|
class: _({
|
|
1068
1068
|
"animated-out": U.value.includes(t) && P.value.useCssAnimation,
|
|
1069
1069
|
"animated-in": G.value && W.value === t && P.value.useCssAnimation
|
|
@@ -1072,7 +1072,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1072
1072
|
P.value.style.chart.layout.targetReference.show ? (b(), p("path", {
|
|
1073
1073
|
key: 3,
|
|
1074
1074
|
class: "vue-ui-radar-target-polygon",
|
|
1075
|
-
d: `M${T(
|
|
1075
|
+
d: `M${T(s)(Sn.value, !1, !0)}Z`,
|
|
1076
1076
|
fill: "none",
|
|
1077
1077
|
stroke: P.value.style.chart.layout.targetReference.stroke,
|
|
1078
1078
|
"stroke-width": P.value.style.chart.layout.targetReference.strokeWidth,
|