vue-data-ui 3.23.0 → 3.23.1
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-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
- package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
- package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
- package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
- package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
- package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
- package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
- package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
- package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
- package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-D6d8SCp9.js} +1 -1
- package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
- package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
- package/dist/Slicer-CIk57nL4.js +1163 -0
- package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
- package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
- package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
- package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
- package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.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-hill.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/composables.js +1 -1
- package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
- package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
- package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
- package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
- package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
- package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
- package/dist/{package-BMc_ZieJ.js → package-KvlL5CqE.js} +1 -1
- package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
- package/dist/{render-common-Ktg2LZFG.js → render-common-oDYGTc5P.js} +2 -2
- 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/vue-data-ui.d.ts +3 -0
- package/dist/{useConfig-BilxnBNr.js → useConfig-D3scuR88.js} +7 -1
- package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
- package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-Brg8mm5J.js} +1 -1
- package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
- package/dist/{useSvgExport-Ba9qBr9M.js → useSvgExport-DH-FfcqQ.js} +1 -1
- package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
- package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-DGWDPCwC.js} +69 -69
- package/dist/vue-data-ui.js +74 -74
- package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-C_Su9fve.js} +45 -45
- package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-BxGriZik.js} +4 -4
- package/dist/{vue-ui-age-pyramid-CgnPWA93.js → vue-ui-age-pyramid-D4k1MkAL.js} +41 -40
- package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-CCtnM8Rv.js} +41 -68
- package/dist/{vue-ui-bullet-Bc3-WaN1.js → vue-ui-bullet-DLZr2Uk8.js} +21 -21
- package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-CcdzJZ9n.js} +32 -32
- package/dist/{vue-ui-candlestick-DvvsrIdp.js → vue-ui-candlestick-EEEt7ORC.js} +50 -48
- package/dist/{vue-ui-carousel-table-DtsNVim8.js → vue-ui-carousel-table-BicIpNAD.js} +8 -8
- package/dist/vue-ui-chestnut-BI7mC5dd.js +2068 -0
- package/dist/{vue-ui-chord-xX5gWZy8.js → vue-ui-chord-DXaq8ZMu.js} +46 -46
- package/dist/{vue-ui-circle-pack-D8wykmqg.js → vue-ui-circle-pack-XHJBMG51.js} +362 -341
- package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-BqHr0n1Z.js} +4 -4
- package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-jMLVoQkb.js} +715 -720
- package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-DVAUFETR.js} +70 -70
- package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Dy4gG6qm.js} +5 -5
- package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-C0cWRLbU.js} +48 -47
- package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-CYpxGBhl.js} +18 -17
- package/dist/{vue-ui-donut-evolution-D6vH_hfx.js → vue-ui-donut-evolution-DwR47A2r.js} +58 -53
- package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-DxVbRjKR.js} +85 -85
- package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-DWaZF4FS.js} +37 -37
- package/dist/{vue-ui-funnel-CjYosIik.js → vue-ui-funnel-Bmpx5GHR.js} +24 -24
- package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-CWBP9oH9.js} +151 -151
- package/dist/{vue-ui-gauge-CByT0_vF.js → vue-ui-gauge-ByE_txav.js} +20 -20
- package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-ZA7CBy8f.js} +186 -186
- package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-SQCou0bQ.js} +4 -4
- package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-CHd9gs_p.js} +385 -385
- package/dist/vue-ui-hill-BT183G-_.js +1768 -0
- package/dist/{vue-ui-history-plot-BhcU94Pt.js → vue-ui-history-plot-BwnlC1mx.js} +511 -510
- package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-BUar2HUH.js} +235 -235
- package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-BF_9WWoo.js} +4 -4
- package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CvfukjXi.js} +3 -3
- package/dist/vue-ui-molecule-Bi2CKHer.js +958 -0
- package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-_zpbmvJs.js} +50 -50
- package/dist/{vue-ui-nested-donuts-aS4YzaB3.js → vue-ui-nested-donuts-qHZAJ70u.js} +43 -43
- package/dist/vue-ui-onion-CB5RYIy5.js +1258 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-BUwt-apg.js} +54 -54
- package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-CoROD3er.js} +74 -74
- package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-BcH7eY4-.js} +96 -88
- package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-DGbaXGme.js} +191 -191
- package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-Bo3zD3yW.js} +3 -3
- package/dist/{vue-ui-relation-circle-FLs8vOxQ.js → vue-ui-relation-circle-DaU1eTsG.js} +32 -32
- package/dist/vue-ui-ridgeline-BCaGcyfk.js +1664 -0
- package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-BJUBn8_b.js} +40 -40
- package/dist/{vue-ui-scatter-CNA7jF-o.js → vue-ui-scatter-Pcft1bUt.js} +50 -50
- package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-EeJcGbCo.js} +4 -4
- package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-D0gibt5c.js} +3 -3
- package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-BRoQ7JpQ.js} +11 -11
- package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-DFp2k7-7.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-D0Bq85Hs.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-BPln7v63.js} +13 -13
- package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-C6Q45Dqp.js} +7 -6
- package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-CjK4bcQg.js} +5 -5
- package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-Ca8EPf3e.js} +83 -80
- package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Pz5WWlWT.js} +189 -186
- package/dist/{vue-ui-strip-plot-ACeYOoHj.js → vue-ui-strip-plot-Dw4MGDSO.js} +66 -66
- package/dist/vue-ui-table-Bjg-ujJu.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-ljeYW8Wc.js} +10 -10
- package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-iRFmtK5S.js} +8 -8
- package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-D8uiOaeA.js} +26 -26
- package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-CYw983oL.js} +6 -6
- package/dist/vue-ui-tiremarks-CekiW2Ru.js +559 -0
- package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-h4VbnqPA.js} +77 -77
- package/dist/{vue-ui-waffle-iPpdk1Bm.js → vue-ui-waffle-cu0w_s6L.js} +41 -41
- package/dist/vue-ui-wheel-tLvJadk5.js +892 -0
- package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-BjpGSsod.js} +68 -68
- package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-B4fCS3jN.js} +184 -184
- package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-7ZT9IRD8.js} +60 -60
- package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-BnLEwBpi.js} +20 -18
- package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-gyNS0yH0.js} +329 -326
- package/package.json +4 -4
- package/dist/Slicer-5yIrdoJv.js +0 -1149
- package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
- package/dist/vue-ui-chestnut-ArloORzP.js +0 -2068
- package/dist/vue-ui-hill-D7LYAgAL.js +0 -1768
- package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
- package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
- package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
- package/dist/vue-ui-table-rFy16bp0.js +0 -1347
- package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
- package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, At as n, Bt as r, D as i, Jt as a, Kt as o, M as
|
|
3
|
-
import { n as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { n as
|
|
12
|
-
import { t as
|
|
13
|
-
import { l as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { Fragment as
|
|
2
|
+
import { $ as t, At as n, Bt as r, D as i, Jt as a, Kt as o, M as s, Pt as c, S as ee, Vt as te, X as l, b as ne, ct as re, i as ie, jt as ae, pt as oe, q as se, t as ce, tt as u, w as le, xt as ue } from "./lib-Bttd6u5E.js";
|
|
3
|
+
import { n as de } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as fe } from "./useConfig-D3scuR88.js";
|
|
5
|
+
import { t as pe } from "./usePrinter-DN5bYhTG.js";
|
|
6
|
+
import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
+
import { t as ge } from "./useSvgExport-DH-FfcqQ.js";
|
|
8
|
+
import { t as _e } from "./useNestedProp-vPNvh7rV.js";
|
|
9
|
+
import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
+
import { t as ye } from "./img-Bnokohej.js";
|
|
11
|
+
import { n as be } from "./Title-BE3qg9xl.js";
|
|
12
|
+
import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
+
import { l as Se, t as Ce } from "./useResponsive-ZtArZtUf.js";
|
|
14
|
+
import { t as we } from "./DefGrad-DVBqDjhO.js";
|
|
15
|
+
import { t as Te } from "./BaseLegendToggle-DZVucLnv.js";
|
|
16
|
+
import { t as Ee } from "./A11yDataTable-DdRsVULz.js";
|
|
17
|
+
import { t as De } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
|
+
import { t as Oe } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
+
import { t as ke } from "./Legend-CQxUgOd-.js";
|
|
20
|
+
import { t as Ae } from "./useAutoSizeLabelsInsideViewbox-DvDwcwi_.js";
|
|
21
|
+
import { t as je } from "./vue_ui_radar-jafTED5j.js";
|
|
22
|
+
import { Fragment as d, Teleport as Me, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Ne, createTextVNode as Pe, createVNode as Fe, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Ie, nextTick as Le, normalizeClass as Re, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as ze, onMounted as Be, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as T, toRefs as Ue, unref as E, watch as We, withCtx as D } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-radar.vue
|
|
24
24
|
var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je = ["id"], Ye = { style: { position: "relative" } }, Xe = [
|
|
25
25
|
"xmlns",
|
|
@@ -95,7 +95,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
95
95
|
}, _t = {
|
|
96
96
|
class: "vue-ui-radar-tooltip-datalabel",
|
|
97
97
|
style: { width: "100%" }
|
|
98
|
-
}, vt = { class: "vue-ui-radar-tooltip-datalabel-name" }, yt = { key: 0 }, bt = /*#__PURE__*/
|
|
98
|
+
}, vt = { class: "vue-ui-radar-tooltip-datalabel-name" }, yt = { key: 0 }, bt = /*#__PURE__*/ xe({
|
|
99
99
|
__name: "vue-ui-radar",
|
|
100
100
|
props: {
|
|
101
101
|
config: {
|
|
@@ -112,12 +112,12 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
112
112
|
}
|
|
113
113
|
},
|
|
114
114
|
emits: ["selectLegend", "copyAlt"],
|
|
115
|
-
setup(e, { expose:
|
|
116
|
-
let bt =
|
|
115
|
+
setup(e, { expose: xe, emit: Ge }) {
|
|
116
|
+
let bt = _(() => import("./Tooltip-DhjyfHwz.js")), xt = _(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), St = _(() => import("./vue-ui-sparkbar-DFp2k7-7.js").then((e) => e.n)), Ct = _(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), wt = _(() => import("./DataTable-BbKgJ5UI.js")), Tt = _(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Et = _(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Dt = _(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), Ot = _(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_radar: kt } = fe(), { isThemeValid: At, warnInvalidTheme: jt } = ve(), O = e, Mt = f(() => !!O.dataset && Object.keys(O.dataset).length), k = S(se()), A = S(!1), Nt = S(""), Pt = S(0), j = S(null), Ft = S(null), It = S(null), Lt = S(null), Rt = S(null), zt = S(0), Bt = S(0), Vt = S(0), Ht = S(!1), M = S(null), Ut = S(null), Wt = S(!1), Gt = S(!1), N = S(null), Kt = S({
|
|
117
117
|
x: 0,
|
|
118
118
|
y: 0
|
|
119
119
|
}), P = S("pointer"), qt = S(!1), F = S($t());
|
|
120
|
-
|
|
120
|
+
de({
|
|
121
121
|
config: () => F.value,
|
|
122
122
|
dataset: () => O.dataset,
|
|
123
123
|
component: "VueUiRadar",
|
|
@@ -161,7 +161,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
161
161
|
}
|
|
162
162
|
]
|
|
163
163
|
});
|
|
164
|
-
let I =
|
|
164
|
+
let I = f(() => F.value.userOptions.useCursorPointer), Jt = f(() => a({
|
|
165
165
|
defaultConfig: {
|
|
166
166
|
userOptions: { show: !1 },
|
|
167
167
|
table: { show: !1 },
|
|
@@ -177,13 +177,13 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
177
177
|
} }
|
|
178
178
|
},
|
|
179
179
|
userConfig: F.value.skeletonConfig ?? {}
|
|
180
|
-
})), { loading: Yt, FINAL_DATASET: L } =
|
|
180
|
+
})), { loading: Yt, FINAL_DATASET: L } = me({
|
|
181
181
|
...Ue(O),
|
|
182
182
|
FINAL_CONFIG: F,
|
|
183
183
|
prepareConfig: $t,
|
|
184
184
|
callback: () => {
|
|
185
185
|
Promise.resolve().then(async () => {
|
|
186
|
-
await
|
|
186
|
+
await Le(), H.value.showTable = F.value.table.show;
|
|
187
187
|
});
|
|
188
188
|
},
|
|
189
189
|
skeletonDataset: O.config?.skeletonDataset ?? {
|
|
@@ -228,38 +228,38 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
228
228
|
defaultConfig: F.value,
|
|
229
229
|
userConfig: Jt.value
|
|
230
230
|
})
|
|
231
|
-
}), { userOptionsVisible: Xt, setUserOptionsVisibility: Zt, keepUserOptionState: Qt } =
|
|
231
|
+
}), { userOptionsVisible: Xt, setUserOptionsVisibility: Zt, keepUserOptionState: Qt } = De({ config: F.value }), { svgRef: R } = Oe({ config: F.value.style.chart.title });
|
|
232
232
|
function $t() {
|
|
233
|
-
let e =
|
|
233
|
+
let e = _e({
|
|
234
234
|
userConfig: O.config,
|
|
235
235
|
defaultConfig: kt
|
|
236
236
|
}), t = e.theme;
|
|
237
237
|
if (!t) return e;
|
|
238
238
|
if (!At.value(e)) return jt(e), e;
|
|
239
|
-
let n =
|
|
240
|
-
userConfig:
|
|
239
|
+
let n = _e({
|
|
240
|
+
userConfig: je[t] || O.config,
|
|
241
241
|
defaultConfig: e
|
|
242
|
-
}), r =
|
|
242
|
+
}), r = _e({
|
|
243
243
|
userConfig: O.config,
|
|
244
244
|
defaultConfig: n
|
|
245
245
|
});
|
|
246
246
|
return {
|
|
247
247
|
...r,
|
|
248
|
-
customPalette: r.customPalette.length ? r.customPalette : o[t] ||
|
|
248
|
+
customPalette: r.customPalette.length ? r.customPalette : o[t] || c
|
|
249
249
|
};
|
|
250
250
|
}
|
|
251
251
|
We(() => O.config, (e) => {
|
|
252
252
|
F.value = $t(), Xt.value = !F.value.userOptions.showOnChartHover, en(), zt.value += 1, Bt.value += 1, Vt.value += 1, H.value.dataLabels.show = F.value.style.chart.layout.labels.dataLabels.show, H.value.showTable = F.value.table.show, H.value.showTooltip = F.value.style.chart.tooltip ? F.value.style.chart.tooltip.show : !1;
|
|
253
253
|
}, { deep: !0 });
|
|
254
|
-
let z = He(null), B = He(null), V =
|
|
254
|
+
let z = He(null), B = He(null), V = f(() => F.value.debug);
|
|
255
255
|
function en() {
|
|
256
|
-
if (
|
|
256
|
+
if (ae(O.dataset) && u({
|
|
257
257
|
componentName: "VueUiRadar",
|
|
258
258
|
type: "dataset",
|
|
259
259
|
debug: V.value
|
|
260
260
|
}), F.value.responsive) {
|
|
261
|
-
let e =
|
|
262
|
-
let { width: e, height: t } =
|
|
261
|
+
let e = Se(() => {
|
|
262
|
+
let { width: e, height: t } = Ce({
|
|
263
263
|
chart: j.value,
|
|
264
264
|
title: F.value.style.chart.title.text ? Ft.value : null,
|
|
265
265
|
legend: F.value.style.chart.legend.show ? It.value : null,
|
|
@@ -279,15 +279,15 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
279
279
|
}), ze(() => {
|
|
280
280
|
z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect());
|
|
281
281
|
});
|
|
282
|
-
let { isPrinting: tn, isImaging: nn, generatePdf: rn, generateImage: an } =
|
|
282
|
+
let { isPrinting: tn, isImaging: nn, generatePdf: rn, generateImage: an } = pe({
|
|
283
283
|
elementId: `vue-ui-radar_${k.value}`,
|
|
284
284
|
fileName: F.value.style.chart.title.text || "vue-ui-radar",
|
|
285
285
|
options: F.value.userOptions.print
|
|
286
|
-
}), on =
|
|
286
|
+
}), on = f(() => F.value.userOptions.show && !F.value.style.chart.title.text), sn = f(() => le(F.value.customPalette)), H = S({
|
|
287
287
|
dataLabels: { show: F.value.style.chart.layout.labels.dataLabels.show },
|
|
288
288
|
showTable: F.value.table.show,
|
|
289
289
|
showTooltip: F.value.style.chart.tooltip.show
|
|
290
|
-
}), cn =
|
|
290
|
+
}), cn = f(() => ({ style: {
|
|
291
291
|
backgroundColor: "#FFFFFF00",
|
|
292
292
|
animation: {
|
|
293
293
|
show: F.value.style.chart.tooltip.animation.show,
|
|
@@ -334,11 +334,11 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
334
334
|
function mn() {
|
|
335
335
|
let e = L.value;
|
|
336
336
|
if ([null, void 0].includes(e?.categories)) {
|
|
337
|
-
|
|
337
|
+
u({
|
|
338
338
|
componentName: "VueUiRadar",
|
|
339
339
|
type: "dataset",
|
|
340
340
|
debug: V.value
|
|
341
|
-
}),
|
|
341
|
+
}), u({
|
|
342
342
|
componentName: "VueUiRadar",
|
|
343
343
|
type: "datasetAttribute",
|
|
344
344
|
property: "categories ({ name: string; prefix?: string; suffix?: string}[])",
|
|
@@ -346,17 +346,17 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
346
346
|
});
|
|
347
347
|
return;
|
|
348
348
|
}
|
|
349
|
-
e.categories.length === 0 ?
|
|
349
|
+
e.categories.length === 0 ? u({
|
|
350
350
|
componentName: "VueUiRadar",
|
|
351
351
|
type: "datasetAttributeEmpty",
|
|
352
352
|
property: "categories",
|
|
353
353
|
debug: V.value
|
|
354
354
|
}) : e.categories.forEach((e, t) => {
|
|
355
|
-
|
|
355
|
+
oe({
|
|
356
356
|
datasetObject: e,
|
|
357
357
|
requiredAttributes: ["name"]
|
|
358
358
|
}).forEach((e) => {
|
|
359
|
-
|
|
359
|
+
u({
|
|
360
360
|
componentName: "VueUiRadar",
|
|
361
361
|
type: "datasetAttribute",
|
|
362
362
|
property: `category.${e} at index ${t}`,
|
|
@@ -364,13 +364,13 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
364
364
|
debug: V.value
|
|
365
365
|
});
|
|
366
366
|
});
|
|
367
|
-
}), [null, void 0].includes(e?.series) ?
|
|
367
|
+
}), [null, void 0].includes(e?.series) ? u({
|
|
368
368
|
componentName: "VueUiRadar",
|
|
369
369
|
type: "datasetAttribute",
|
|
370
370
|
property: "series ({ name: string; values: number[]; color?: string; target: number}[])",
|
|
371
371
|
debug: V.value
|
|
372
372
|
}) : e.series.forEach((e, t) => {
|
|
373
|
-
|
|
373
|
+
oe({
|
|
374
374
|
datasetObject: e,
|
|
375
375
|
requiredAttributes: [
|
|
376
376
|
"name",
|
|
@@ -378,7 +378,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
378
378
|
"target"
|
|
379
379
|
]
|
|
380
380
|
}).forEach((e) => {
|
|
381
|
-
|
|
381
|
+
u({
|
|
382
382
|
componentName: "VueUiRadar",
|
|
383
383
|
type: "datasetSerieAttribute",
|
|
384
384
|
key: "series",
|
|
@@ -393,18 +393,18 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
393
393
|
deep: !0,
|
|
394
394
|
immediate: !0
|
|
395
395
|
});
|
|
396
|
-
let q =
|
|
397
|
-
let e = Array.isArray(L.value?.categories) ? L.value.categories : [], t = sn.value ??
|
|
396
|
+
let q = f(() => {
|
|
397
|
+
let e = Array.isArray(L.value?.categories) ? L.value.categories : [], t = sn.value ?? c;
|
|
398
398
|
return e.map((e, n) => ({
|
|
399
399
|
name: e?.name ?? "",
|
|
400
400
|
categoryId: `radar_category_${k.value}_${n}`,
|
|
401
|
-
color:
|
|
401
|
+
color: ee(e?.color) || t[n] || c[n % c.length],
|
|
402
402
|
prefix: e?.prefix ?? "",
|
|
403
403
|
suffix: e?.suffix ?? ""
|
|
404
404
|
}));
|
|
405
|
-
}), J =
|
|
405
|
+
}), J = f(() => L.value.series.map((e, t) => ({
|
|
406
406
|
...e,
|
|
407
|
-
color:
|
|
407
|
+
color: ee(e.color) || sn.value[t] || c[t] || c[t % c.length],
|
|
408
408
|
serieId: `radar_serie_${k.value}_${t}`,
|
|
409
409
|
formatter: e.formatter || null,
|
|
410
410
|
absoluteIndex: t
|
|
@@ -420,11 +420,11 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
420
420
|
let t = hn(e);
|
|
421
421
|
t !== null && (W.value.includes(t.absoluteIndex) || fn(t.absoluteIndex));
|
|
422
422
|
}
|
|
423
|
-
let vn =
|
|
423
|
+
let vn = f(() => Math.max(0, ...J.value.flatMap((e) => e.values)));
|
|
424
424
|
function yn(e) {
|
|
425
425
|
return F.value.style.chart.layout.scaleToAxisMax ? Math.max(1, e.target || 0, ...e.values) : e.target || vn.value || 1;
|
|
426
426
|
}
|
|
427
|
-
let bn =
|
|
427
|
+
let bn = f(() => J.value.map((e, t) => {
|
|
428
428
|
let n = Cn.value.coordinates[t];
|
|
429
429
|
return On({
|
|
430
430
|
centerX: U.value.width / 2,
|
|
@@ -433,7 +433,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
433
433
|
apexY: n.y,
|
|
434
434
|
proportion: (e.target || 0) / yn(e)
|
|
435
435
|
});
|
|
436
|
-
})), xn =
|
|
436
|
+
})), xn = f(() => J.value.length), Sn = f(() => Math.min(U.value.width, U.value.height) / 3), Cn = f(() => s({
|
|
437
437
|
plot: {
|
|
438
438
|
x: U.value.width / 2,
|
|
439
439
|
y: U.value.height / 2
|
|
@@ -441,11 +441,11 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
441
441
|
radius: Sn.value,
|
|
442
442
|
sides: xn.value,
|
|
443
443
|
rotation: 0
|
|
444
|
-
})), wn =
|
|
444
|
+
})), wn = f(() => {
|
|
445
445
|
let e = [];
|
|
446
446
|
for (let t = 0; t < Sn.value; t += Sn.value / F.value.style.chart.layout.grid.graduations) e.push(t);
|
|
447
447
|
return e;
|
|
448
|
-
}), Y =
|
|
448
|
+
}), Y = f(() => Cn.value.coordinates.map((e, t) => {
|
|
449
449
|
let n = J.value[t], r = J.value[t].values.map((t) => On({
|
|
450
450
|
centerX: U.value.width / 2,
|
|
451
451
|
centerY: U.value.height / 2,
|
|
@@ -472,10 +472,10 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
472
472
|
anchor: n
|
|
473
473
|
};
|
|
474
474
|
}
|
|
475
|
-
let En =
|
|
475
|
+
let En = f({
|
|
476
476
|
get: () => F.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
477
477
|
set: (e) => e
|
|
478
|
-
}), { autoSizeLabels: Dn } =
|
|
478
|
+
}), { autoSizeLabels: Dn } = Ae({
|
|
479
479
|
svgRef: R,
|
|
480
480
|
fontSize: F.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
481
481
|
minFontSize: 6,
|
|
@@ -488,10 +488,10 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
488
488
|
y: t + (r - t) * i
|
|
489
489
|
};
|
|
490
490
|
}
|
|
491
|
-
let X =
|
|
491
|
+
let X = f(() => {
|
|
492
492
|
let e = J.value.map((e, t) => e.values.map((t) => t / (e.target || vn.value)));
|
|
493
493
|
return q.value.map((t, n) => {
|
|
494
|
-
let r =
|
|
494
|
+
let r = ne(e.map((e) => e[n]).reduce((e, t) => e + t, 0) / J.value.length);
|
|
495
495
|
return {
|
|
496
496
|
...t,
|
|
497
497
|
absoluteIndex: n,
|
|
@@ -500,21 +500,21 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
500
500
|
opacity: W.value.includes(n) ? .5 : 1,
|
|
501
501
|
segregate: () => fn(n),
|
|
502
502
|
isSegregated: W.value.includes(n),
|
|
503
|
-
display: `${t.name}: ${
|
|
503
|
+
display: `${t.name}: ${l({
|
|
504
504
|
v: (r ?? 0) * 100,
|
|
505
505
|
s: "%",
|
|
506
506
|
r: F.value.style.chart.legend.roundingPercentage
|
|
507
507
|
})}`
|
|
508
508
|
};
|
|
509
509
|
});
|
|
510
|
-
}), kn =
|
|
510
|
+
}), kn = f(() => ({
|
|
511
511
|
cy: "radar-div-legend",
|
|
512
512
|
backgroundColor: F.value.style.chart.legend.backgroundColor,
|
|
513
513
|
color: F.value.style.chart.legend.color,
|
|
514
514
|
fontSize: F.value.style.chart.legend.fontSize,
|
|
515
515
|
paddingBottom: 12,
|
|
516
516
|
fontWeight: F.value.style.chart.legend.bold ? "bold" : ""
|
|
517
|
-
})), Z =
|
|
517
|
+
})), Z = f(() => {
|
|
518
518
|
let e = [
|
|
519
519
|
{
|
|
520
520
|
name: F.value.translations.datapoint,
|
|
@@ -530,18 +530,18 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
530
530
|
head: e,
|
|
531
531
|
body: L.value.series.map((e) => [
|
|
532
532
|
e.name,
|
|
533
|
-
|
|
533
|
+
ie(e.formatter, e.target, l({
|
|
534
534
|
p: e.prefix,
|
|
535
535
|
v: e.target,
|
|
536
536
|
s: e.suffix,
|
|
537
537
|
r: F.value.table.td.roundingValue
|
|
538
538
|
})),
|
|
539
|
-
...e.values.map((t, n) => `${
|
|
539
|
+
...e.values.map((t, n) => `${ie(e.formatter, t, l({
|
|
540
540
|
p: q.value[n]?.prefix ?? "",
|
|
541
541
|
v: t,
|
|
542
542
|
s: q.value[n]?.suffix ?? "",
|
|
543
543
|
r: F.value.table.td.roundingValue
|
|
544
|
-
}))} (${isNaN(t / e.target) ? "" :
|
|
544
|
+
}))} (${isNaN(t / e.target) ? "" : l({
|
|
545
545
|
v: t / e.target * 100,
|
|
546
546
|
s: "%",
|
|
547
547
|
r: F.value.table.td.roundingPercentage
|
|
@@ -592,7 +592,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
592
592
|
config: F.value
|
|
593
593
|
};
|
|
594
594
|
let i = F.value.style.chart.tooltip.customFormat;
|
|
595
|
-
if (
|
|
595
|
+
if (ue(i) && re(() => i({
|
|
596
596
|
seriesIndex: t,
|
|
597
597
|
datapoint: e,
|
|
598
598
|
series: {
|
|
@@ -616,21 +616,21 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
616
616
|
}
|
|
617
617
|
Nt.value = `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`;
|
|
618
618
|
for (let t = 0; t < e.values.length; t += 1) if (!W.value.includes(t)) {
|
|
619
|
-
let n = r[t], i = e.values[t], a = isNaN(i / e.target) ? 0 : i / e.target * 100, o =
|
|
619
|
+
let n = r[t], i = e.values[t], a = isNaN(i / e.target) ? 0 : i / e.target * 100, o = ie(e.formatter, i, l({
|
|
620
620
|
p: q.value[t].prefix,
|
|
621
621
|
v: i,
|
|
622
622
|
s: q.value[t].suffix,
|
|
623
623
|
r: F.value.style.chart.tooltip.roundingValue
|
|
624
|
-
}), { datapoint: e }),
|
|
624
|
+
}), { datapoint: e }), s = l({
|
|
625
625
|
v: a,
|
|
626
626
|
s: "%",
|
|
627
627
|
r: F.value.style.chart.tooltip.roundingPercentage
|
|
628
|
-
}),
|
|
628
|
+
}), c = F.value.style.chart.tooltip.showValue && F.value.style.chart.tooltip.showPercentage ? `${o} (${s})` : F.value.style.chart.tooltip.showValue && !F.value.style.chart.tooltip.showPercentage ? o : !F.value.style.chart.tooltip.showValue && F.value.style.chart.tooltip.showPercentage ? `${s}` : "";
|
|
629
629
|
An.value.push({
|
|
630
630
|
name: n?.name ?? `#${t + 1}`,
|
|
631
631
|
value: e.values[t] / e.target * 100,
|
|
632
632
|
color: n?.color,
|
|
633
|
-
suffix:
|
|
633
|
+
suffix: c,
|
|
634
634
|
prefix: "",
|
|
635
635
|
rounding: F.value.style.chart.tooltip.roundingPercentage,
|
|
636
636
|
formatter: e.formatter
|
|
@@ -638,7 +638,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
638
638
|
}
|
|
639
639
|
}
|
|
640
640
|
function Fn(e = null) {
|
|
641
|
-
|
|
641
|
+
Le(() => {
|
|
642
642
|
let n = [
|
|
643
643
|
[F.value.style.chart.title.text],
|
|
644
644
|
[F.value.style.chart.title.subtitle.text],
|
|
@@ -651,9 +651,9 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
651
651
|
e.name,
|
|
652
652
|
e.target,
|
|
653
653
|
...e.values.flatMap((t) => [t, isNaN(t / e.target) ? "" : t / e.target * 100])
|
|
654
|
-
]), o =
|
|
655
|
-
e ? e(
|
|
656
|
-
csvContent:
|
|
654
|
+
]), o = n.concat([r]).concat(a), s = i(o);
|
|
655
|
+
e ? e(s) : t({
|
|
656
|
+
csvContent: s,
|
|
657
657
|
title: F.value.style.chart.title.text || "vue-ui-radar"
|
|
658
658
|
});
|
|
659
659
|
});
|
|
@@ -674,7 +674,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
674
674
|
}
|
|
675
675
|
async function Vn({ scale: e = 2 } = {}) {
|
|
676
676
|
if (!j.value) return;
|
|
677
|
-
let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await
|
|
677
|
+
let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ye({
|
|
678
678
|
domElement: j.value,
|
|
679
679
|
base64: !0,
|
|
680
680
|
img: !0,
|
|
@@ -689,7 +689,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
689
689
|
aspectRatio: r
|
|
690
690
|
};
|
|
691
691
|
}
|
|
692
|
-
let Hn =
|
|
692
|
+
let Hn = f(() => {
|
|
693
693
|
let e = F.value.table.useDialog && !F.value.table.show, t = H.value.showTable;
|
|
694
694
|
return {
|
|
695
695
|
component: e ? Ot : Ct,
|
|
@@ -726,33 +726,33 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
726
726
|
function Un() {
|
|
727
727
|
H.value.showTable = !1, Ut.value && Ut.value.setTableIconState(!1);
|
|
728
728
|
}
|
|
729
|
-
let Wn =
|
|
729
|
+
let Wn = f(() => X.value.map((e) => ({
|
|
730
730
|
...e,
|
|
731
731
|
name: e.display
|
|
732
|
-
}))), Gn =
|
|
732
|
+
}))), Gn = f(() => F.value.style.chart.backgroundColor), Kn = f(() => F.value.style.chart.legend), qn = f(() => F.value.style.chart.title), { exportSvg: Jn, getSvg: Yn } = ge({
|
|
733
733
|
svg: R,
|
|
734
|
-
title:
|
|
734
|
+
title: qn,
|
|
735
735
|
legend: Kn,
|
|
736
736
|
legendItems: Wn,
|
|
737
737
|
backgroundColor: Gn
|
|
738
738
|
});
|
|
739
|
-
async function
|
|
740
|
-
Gt.value = !0, await
|
|
739
|
+
async function Xn({ isCb: e }) {
|
|
740
|
+
Gt.value = !0, await Le();
|
|
741
741
|
try {
|
|
742
742
|
if (e) {
|
|
743
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
743
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await Yn();
|
|
744
744
|
await Promise.resolve(F.value.userOptions.callbacks.svg({
|
|
745
745
|
blob: e,
|
|
746
746
|
url: t,
|
|
747
747
|
text: n,
|
|
748
748
|
dataUrl: r
|
|
749
749
|
}));
|
|
750
|
-
} else await Promise.resolve(
|
|
750
|
+
} else await Promise.resolve(Jn());
|
|
751
751
|
} finally {
|
|
752
752
|
Gt.value = !1;
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
|
-
function
|
|
755
|
+
function Zn(e) {
|
|
756
756
|
if (e?.stage === "start") {
|
|
757
757
|
Wt.value = !0;
|
|
758
758
|
return;
|
|
@@ -763,7 +763,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
763
763
|
}
|
|
764
764
|
an();
|
|
765
765
|
}
|
|
766
|
-
async function
|
|
766
|
+
async function Qn() {
|
|
767
767
|
if (ln("copyAlt", {
|
|
768
768
|
config: F.value,
|
|
769
769
|
dataset: Y.value
|
|
@@ -776,13 +776,13 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
776
776
|
dataset: Y.value
|
|
777
777
|
}));
|
|
778
778
|
}
|
|
779
|
-
function
|
|
779
|
+
function $n() {
|
|
780
780
|
N.value = null, qt.value = !0;
|
|
781
781
|
}
|
|
782
|
-
function
|
|
782
|
+
function er() {
|
|
783
783
|
N.value = null, P.value = "pointer", A.value = !1, Q.value = null, qt.value = !1;
|
|
784
784
|
}
|
|
785
|
-
function
|
|
785
|
+
function tr(e) {
|
|
786
786
|
if (!Number.isFinite(e) || !R.value) return;
|
|
787
787
|
let t = Y.value[e];
|
|
788
788
|
if (!t) return;
|
|
@@ -792,7 +792,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
792
792
|
y: n.top + t.labelY / U.value.height * n.height
|
|
793
793
|
};
|
|
794
794
|
}
|
|
795
|
-
function
|
|
795
|
+
function nr(e) {
|
|
796
796
|
if (!R.value || zn.value || document.activeElement !== R.value || !Y.value.length) return;
|
|
797
797
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
798
798
|
if (!t && !n && !r && !i) return;
|
|
@@ -810,28 +810,28 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
810
810
|
let a = N.value;
|
|
811
811
|
a === null || a < 0 || a >= Y.value.length ? a = n ? 0 : Y.value.length - 1 : n ? (a += 1, a >= Y.value.length && (a = 0)) : t && (--a, a < 0 && (a = Y.value.length - 1));
|
|
812
812
|
let o = Y.value[a];
|
|
813
|
-
o && (N.value = a,
|
|
813
|
+
o && (N.value = a, tr(a), Pn(o, a, "keyboard"));
|
|
814
814
|
}
|
|
815
|
-
let
|
|
815
|
+
let rr = f(() => ({
|
|
816
816
|
headers: Z.value?.colNames?.map((e) => e.name ?? e) ?? [],
|
|
817
817
|
rows: Z.value?.body ?? []
|
|
818
818
|
}));
|
|
819
|
-
return
|
|
819
|
+
return xe({
|
|
820
820
|
getData: pn,
|
|
821
821
|
getImage: Vn,
|
|
822
822
|
generatePdf: rn,
|
|
823
823
|
generateCsv: Fn,
|
|
824
824
|
generateImage: an,
|
|
825
|
-
generateSvg:
|
|
825
|
+
generateSvg: Xn,
|
|
826
826
|
hideSeries: _n,
|
|
827
827
|
showSeries: gn,
|
|
828
828
|
toggleTable: Ln,
|
|
829
829
|
toggleTooltip: Rn,
|
|
830
830
|
toggleAnnotator: Bn,
|
|
831
831
|
toggleFullscreen: In,
|
|
832
|
-
copyAlt:
|
|
833
|
-
}), (e, t) => (x(),
|
|
834
|
-
class:
|
|
832
|
+
copyAlt: Qn
|
|
833
|
+
}), (e, t) => (x(), h("div", {
|
|
834
|
+
class: Re(`vue-data-ui-component vue-ui-radar ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
835
835
|
ref_key: "radarChart",
|
|
836
836
|
ref: j,
|
|
837
837
|
id: `vue-ui-radar_${k.value}`,
|
|
@@ -839,15 +839,15 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
839
839
|
onMouseenter: t[2] ||= () => E(Zt)(!0),
|
|
840
840
|
onMouseleave: t[3] ||= () => E(Zt)(!1)
|
|
841
841
|
}, [
|
|
842
|
-
|
|
842
|
+
g("div", {
|
|
843
843
|
id: `chart-instructions-${k.value}`,
|
|
844
844
|
class: "sr-only"
|
|
845
|
-
}, [
|
|
846
|
-
|
|
845
|
+
}, [g("p", null, T(F.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
|
|
846
|
+
rr.value?.rows?.length ? (x(), p(Ee, {
|
|
847
847
|
key: 0,
|
|
848
848
|
uid: k.value,
|
|
849
|
-
head:
|
|
850
|
-
body:
|
|
849
|
+
head: rr.value.headers,
|
|
850
|
+
body: rr.value.rows,
|
|
851
851
|
notice: F.value.a11y.translations.tableAvailable,
|
|
852
852
|
caption: F.value.a11y.translations.tableCaption
|
|
853
853
|
}, null, 8, [
|
|
@@ -856,8 +856,8 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
856
856
|
"body",
|
|
857
857
|
"notice",
|
|
858
858
|
"caption"
|
|
859
|
-
])) :
|
|
860
|
-
F.value.userOptions.buttons.annotator ? (x(),
|
|
859
|
+
])) : m("", !0),
|
|
860
|
+
F.value.userOptions.buttons.annotator ? (x(), p(E(Tt), {
|
|
861
861
|
key: 1,
|
|
862
862
|
svgRef: E(R),
|
|
863
863
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
@@ -867,11 +867,11 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
867
867
|
onClose: Bn
|
|
868
868
|
}, {
|
|
869
869
|
"annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
870
|
-
"annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(
|
|
871
|
-
"annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", y(
|
|
872
|
-
"annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", y(
|
|
873
|
-
"annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", y(
|
|
874
|
-
"annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", y(
|
|
870
|
+
"annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(v({ color: t })), void 0, !0)]),
|
|
871
|
+
"annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", y(v({ mode: t })), void 0, !0)]),
|
|
872
|
+
"annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", y(v({ disabled: t })), void 0, !0)]),
|
|
873
|
+
"annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", y(v({ disabled: t })), void 0, !0)]),
|
|
874
|
+
"annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", y(v({ disabled: t })), void 0, !0)]),
|
|
875
875
|
_: 3
|
|
876
876
|
}, 8, [
|
|
877
877
|
"svgRef",
|
|
@@ -879,20 +879,20 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
879
879
|
"color",
|
|
880
880
|
"active",
|
|
881
881
|
"isCursorPointer"
|
|
882
|
-
])) :
|
|
883
|
-
on.value ? (x(),
|
|
882
|
+
])) : m("", !0),
|
|
883
|
+
on.value ? (x(), h("div", {
|
|
884
884
|
key: 2,
|
|
885
885
|
ref_key: "noTitle",
|
|
886
886
|
ref: Rt,
|
|
887
887
|
class: "vue-data-ui-no-title-space",
|
|
888
888
|
style: "height:36px; width: 100%;background:transparent"
|
|
889
|
-
}, null, 512)) :
|
|
890
|
-
F.value.style.chart.title.text ? (x(),
|
|
889
|
+
}, null, 512)) : m("", !0),
|
|
890
|
+
F.value.style.chart.title.text ? (x(), h("div", {
|
|
891
891
|
key: 3,
|
|
892
892
|
ref_key: "chartTitle",
|
|
893
893
|
ref: Ft,
|
|
894
894
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
895
|
-
}, [(x(),
|
|
895
|
+
}, [(x(), p(be, {
|
|
896
896
|
key: `title_${zt.value}`,
|
|
897
897
|
config: {
|
|
898
898
|
title: {
|
|
@@ -904,9 +904,9 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
904
904
|
...F.value.style.chart.title.subtitle
|
|
905
905
|
}
|
|
906
906
|
}
|
|
907
|
-
}, null, 8, ["config"]))], 512)) :
|
|
908
|
-
|
|
909
|
-
F.value.userOptions.show && Mt.value && (E(Qt) || E(Xt)) ? (x(),
|
|
907
|
+
}, null, 8, ["config"]))], 512)) : m("", !0),
|
|
908
|
+
g("div", { id: `legend-top-${k.value}` }, null, 8, Je),
|
|
909
|
+
F.value.userOptions.show && Mt.value && (E(Qt) || E(Xt)) ? (x(), p(E(Et), {
|
|
910
910
|
ref_key: "userOptionsRef",
|
|
911
911
|
ref: Ut,
|
|
912
912
|
key: `user_options_${Pt.value}`,
|
|
@@ -937,17 +937,17 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
937
937
|
onToggleFullscreen: In,
|
|
938
938
|
onGeneratePdf: E(rn),
|
|
939
939
|
onGenerateCsv: Fn,
|
|
940
|
-
onGenerateImage:
|
|
941
|
-
onGenerateSvg:
|
|
940
|
+
onGenerateImage: Zn,
|
|
941
|
+
onGenerateSvg: Xn,
|
|
942
942
|
onToggleTable: Ln,
|
|
943
943
|
onToggleTooltip: Rn,
|
|
944
944
|
onToggleAnnotator: Bn,
|
|
945
|
-
onCopyAlt:
|
|
945
|
+
onCopyAlt: Qn,
|
|
946
946
|
style: b({ visibility: E(Qt) ? E(Xt) ? "visible" : "hidden" : "visible" })
|
|
947
|
-
},
|
|
947
|
+
}, Ne({ _: 2 }, [
|
|
948
948
|
e.$slots.menuIcon ? {
|
|
949
949
|
name: "menuIcon",
|
|
950
|
-
fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(
|
|
950
|
+
fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(v({
|
|
951
951
|
isOpen: t,
|
|
952
952
|
color: n
|
|
953
953
|
})), void 0, !0)]),
|
|
@@ -985,7 +985,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
985
985
|
} : void 0,
|
|
986
986
|
e.$slots.optionFullscreen ? {
|
|
987
987
|
name: "optionFullscreen",
|
|
988
|
-
fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", y(
|
|
988
|
+
fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", y(v({
|
|
989
989
|
toggleFullscreen: t,
|
|
990
990
|
isFullscreen: n
|
|
991
991
|
})), void 0, !0)]),
|
|
@@ -993,7 +993,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
993
993
|
} : void 0,
|
|
994
994
|
e.$slots.optionAnnotator ? {
|
|
995
995
|
name: "optionAnnotator",
|
|
996
|
-
fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", y(
|
|
996
|
+
fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", y(v({
|
|
997
997
|
toggleAnnotator: t,
|
|
998
998
|
isAnnotator: n
|
|
999
999
|
})), void 0, !0)]),
|
|
@@ -1001,7 +1001,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1001
1001
|
} : void 0,
|
|
1002
1002
|
e.$slots.optionAltCopy ? {
|
|
1003
1003
|
name: "optionAltCopy",
|
|
1004
|
-
fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(
|
|
1004
|
+
fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(v({ altCopy: t })), void 0, !0)]),
|
|
1005
1005
|
key: "9"
|
|
1006
1006
|
} : void 0,
|
|
1007
1007
|
e.$slots["custom-menu-before"] ? {
|
|
@@ -1014,33 +1014,33 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1014
1014
|
fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1015
1015
|
key: "11"
|
|
1016
1016
|
} : void 0
|
|
1017
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) :
|
|
1018
|
-
|
|
1017
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : m("", !0),
|
|
1018
|
+
g("div", Ye, [(x(), h("svg", {
|
|
1019
1019
|
ref_key: "svgRef",
|
|
1020
1020
|
ref: R,
|
|
1021
|
-
xmlns: E(
|
|
1021
|
+
xmlns: E(ce),
|
|
1022
1022
|
"aria-describedby": `chart-instructions-${k.value}`,
|
|
1023
|
-
class:
|
|
1023
|
+
class: Re({
|
|
1024
1024
|
"vue-data-ui-fullscreen--on": $.value,
|
|
1025
1025
|
"vue-data-ui-fulscreen--off": !$.value
|
|
1026
1026
|
}),
|
|
1027
1027
|
viewBox: `0 0 ${U.value.width <= 0 ? 10 : U.value.width} ${U.value.height <= 0 ? 10 : U.value.height}`,
|
|
1028
1028
|
style: b(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.chart.color}`),
|
|
1029
1029
|
tabindex: "0",
|
|
1030
|
-
onFocus:
|
|
1031
|
-
onBlur:
|
|
1032
|
-
onKeydown:
|
|
1030
|
+
onFocus: $n,
|
|
1031
|
+
onBlur: er,
|
|
1032
|
+
onKeydown: nr
|
|
1033
1033
|
}, [
|
|
1034
|
-
|
|
1035
|
-
e.$slots["chart-background"] ? (x(),
|
|
1034
|
+
Fe(E(Dt)),
|
|
1035
|
+
e.$slots["chart-background"] ? (x(), h("foreignObject", {
|
|
1036
1036
|
key: 0,
|
|
1037
1037
|
x: 0,
|
|
1038
1038
|
y: 0,
|
|
1039
1039
|
width: U.value.width <= 0 ? 10 : U.value.width,
|
|
1040
1040
|
height: U.value.height <= 0 ? 10 : U.value.height,
|
|
1041
1041
|
style: { pointerEvents: "none" }
|
|
1042
|
-
}, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Ze)) :
|
|
1043
|
-
|
|
1042
|
+
}, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Ze)) : m("", !0),
|
|
1043
|
+
g("defs", null, [(x(!0), h(d, null, C(q.value, (e, t) => (x(), p(we, {
|
|
1044
1044
|
t: "radial",
|
|
1045
1045
|
cx: "50%",
|
|
1046
1046
|
cy: "50%",
|
|
@@ -1051,7 +1051,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1051
1051
|
key: `radar_gradient_${k.value}_${t}`,
|
|
1052
1052
|
stops: [[
|
|
1053
1053
|
"0%",
|
|
1054
|
-
E(r)(E(
|
|
1054
|
+
E(r)(E(te)(e.color, .05), F.value.style.chart.layout.dataPolygon.opacity),
|
|
1055
1055
|
1
|
|
1056
1056
|
], [
|
|
1057
1057
|
"100%",
|
|
@@ -1059,15 +1059,15 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1059
1059
|
1
|
|
1060
1060
|
]]
|
|
1061
1061
|
}, null, 8, ["id", "stops"]))), 128))]),
|
|
1062
|
-
F.value.style.chart.layout.grid.show ? (x(),
|
|
1062
|
+
F.value.style.chart.layout.grid.show ? (x(), h("g", Qe, [(x(!0), h(d, null, C(Y.value, (e) => (x(), h("line", {
|
|
1063
1063
|
x1: U.value.width / 2,
|
|
1064
1064
|
y1: U.value.height / 2,
|
|
1065
1065
|
x2: e.x,
|
|
1066
1066
|
y2: e.y,
|
|
1067
1067
|
stroke: F.value.style.chart.layout.grid.stroke,
|
|
1068
1068
|
"stroke-width": F.value.style.chart.layout.grid.strokeWidth
|
|
1069
|
-
}, null, 8, $e))), 256)), F.value.style.chart.layout.grid.graduations > 0 ? (x(),
|
|
1070
|
-
d: E(
|
|
1069
|
+
}, null, 8, $e))), 256)), F.value.style.chart.layout.grid.graduations > 0 ? (x(), h("g", et, [(x(!0), h(d, null, C(wn.value, (e) => (x(), h("path", {
|
|
1070
|
+
d: E(s)({
|
|
1071
1071
|
plot: {
|
|
1072
1072
|
x: U.value.width / 2,
|
|
1073
1073
|
y: U.value.height / 2
|
|
@@ -1079,8 +1079,8 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1079
1079
|
fill: "none",
|
|
1080
1080
|
stroke: F.value.style.chart.layout.grid.stroke,
|
|
1081
1081
|
"stroke-width": F.value.style.chart.layout.grid.strokeWidth
|
|
1082
|
-
}, null, 8, tt))), 256))])) :
|
|
1083
|
-
|
|
1082
|
+
}, null, 8, tt))), 256))])) : m("", !0)])) : m("", !0),
|
|
1083
|
+
g("path", {
|
|
1084
1084
|
d: Cn.value.path,
|
|
1085
1085
|
fill: "none",
|
|
1086
1086
|
stroke: F.value.style.chart.layout.outerPolygon.stroke,
|
|
@@ -1088,7 +1088,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1088
1088
|
"stroke-linejoin": "round",
|
|
1089
1089
|
"stroke-linecap": "round"
|
|
1090
1090
|
}, null, 8, nt),
|
|
1091
|
-
F.value.style.chart.layout.labels.dataLabels.show ? (x(),
|
|
1091
|
+
F.value.style.chart.layout.labels.dataLabels.show ? (x(), h("g", rt, [(x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("text", {
|
|
1092
1092
|
class: "vue-ui-radar-apex-label",
|
|
1093
1093
|
x: e.labelX,
|
|
1094
1094
|
y: e.labelY,
|
|
@@ -1098,29 +1098,29 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1098
1098
|
onMouseenter: (n) => Pn(e, t, "pointer"),
|
|
1099
1099
|
onMouseleave: (n) => Mn(e, t),
|
|
1100
1100
|
onClick: (n) => Nn(e, t)
|
|
1101
|
-
}, T(e.name), 41, it))), 256))])) :
|
|
1102
|
-
(x(!0),
|
|
1101
|
+
}, T(e.name), 41, it))), 256))])) : m("", !0),
|
|
1102
|
+
(x(!0), h(d, null, C(q.value, (e, t) => (x(), h("g", null, [g("g", null, [F.value.useCssAnimation || !F.value.useCssAnimation && !W.value.includes(t) ? (x(), h("polygon", {
|
|
1103
1103
|
key: 0,
|
|
1104
1104
|
points: E(n)(Y.value.map((e) => e.plots[t]), !1, !0),
|
|
1105
1105
|
stroke: F.value.style.chart.backgroundColor,
|
|
1106
1106
|
"stroke-width": F.value.style.chart.layout.dataPolygon.strokeWidth + 1,
|
|
1107
1107
|
fill: "none",
|
|
1108
|
-
class:
|
|
1108
|
+
class: Re({
|
|
1109
1109
|
"animated-out": W.value.includes(t) && F.value.useCssAnimation,
|
|
1110
1110
|
"animated-in": K.value && G.value === t && F.value.useCssAnimation
|
|
1111
1111
|
})
|
|
1112
|
-
}, null, 10, at)) :
|
|
1112
|
+
}, null, 10, at)) : m("", !0), F.value.useCssAnimation || !F.value.useCssAnimation && !W.value.includes(t) ? (x(), h("polygon", {
|
|
1113
1113
|
key: 1,
|
|
1114
1114
|
points: E(n)(Y.value.map((e) => e.plots[t]), !1, !0),
|
|
1115
1115
|
stroke: e.color,
|
|
1116
1116
|
"stroke-width": F.value.style.chart.layout.dataPolygon.strokeWidth,
|
|
1117
1117
|
fill: F.value.style.chart.layout.dataPolygon.transparent ? "transparent" : F.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${k.value}_${t})` : E(r)(e.color, F.value.style.chart.layout.dataPolygon.opacity),
|
|
1118
|
-
class:
|
|
1118
|
+
class: Re({
|
|
1119
1119
|
"animated-out": W.value.includes(t) && F.value.useCssAnimation,
|
|
1120
1120
|
"animated-in": K.value && G.value === t && F.value.useCssAnimation
|
|
1121
1121
|
})
|
|
1122
|
-
}, null, 10, ot)) :
|
|
1123
|
-
F.value.style.chart.layout.targetReference.show ? (x(),
|
|
1122
|
+
}, null, 10, ot)) : m("", !0)])]))), 256)),
|
|
1123
|
+
F.value.style.chart.layout.targetReference.show ? (x(), h("path", {
|
|
1124
1124
|
key: 3,
|
|
1125
1125
|
class: "vue-ui-radar-target-polygon",
|
|
1126
1126
|
d: `M${E(n)(bn.value, !1, !0)}Z`,
|
|
@@ -1130,50 +1130,50 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1130
1130
|
"stroke-linejoin": "round",
|
|
1131
1131
|
"stroke-linecap": "round",
|
|
1132
1132
|
"stroke-dasharray": F.value.style.chart.layout.targetReference.strokeDasharray
|
|
1133
|
-
}, null, 8, st)) :
|
|
1134
|
-
F.value.style.chart.layout.plots.show ? (x(),
|
|
1133
|
+
}, null, 8, st)) : m("", !0),
|
|
1134
|
+
F.value.style.chart.layout.plots.show ? (x(), h("g", ct, [(x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("g", null, [(x(!0), h(d, null, C(e.plots, (e, n) => (x(), h("circle", {
|
|
1135
1135
|
cx: e.x,
|
|
1136
1136
|
cy: e.y,
|
|
1137
1137
|
fill: W.value.includes(n) ? "transparent" : q.value[n] ? q.value[n].color : "transparent",
|
|
1138
1138
|
r: Q.value !== null && Q.value === t ? F.value.style.chart.layout.plots.radius * 1.6 : F.value.style.chart.layout.plots.radius,
|
|
1139
1139
|
stroke: W.value.includes(n) ? "transparent" : F.value.style.chart.backgroundColor,
|
|
1140
1140
|
"stroke-width": .5,
|
|
1141
|
-
class:
|
|
1141
|
+
class: Re({
|
|
1142
1142
|
"animated-out": W.value.includes(n) && F.value.useCssAnimation,
|
|
1143
1143
|
"animated-in": K.value && G.value === n && F.value.useCssAnimation
|
|
1144
1144
|
})
|
|
1145
|
-
}, null, 10, lt))), 256))]))), 256))])) :
|
|
1145
|
+
}, null, 10, lt))), 256))]))), 256))])) : m("", !0),
|
|
1146
1146
|
w(e.$slots, "svg", { svg: {
|
|
1147
1147
|
...U.value,
|
|
1148
1148
|
outerPolygon: Cn.value,
|
|
1149
1149
|
isPrintingImg: E(tn) || E(nn) || Wt.value,
|
|
1150
1150
|
isPrintingSvg: Gt.value
|
|
1151
1151
|
} }, void 0, !0)
|
|
1152
|
-
], 46, Xe)), e.$slots.hint ? (x(),
|
|
1152
|
+
], 46, Xe)), e.$slots.hint ? (x(), h("div", ut, [w(e.$slots, "hint", y(v({
|
|
1153
1153
|
hint: F.value.a11y.translations.keyboardNavigation,
|
|
1154
1154
|
isVisible: qt.value
|
|
1155
|
-
})), void 0, !0)])) :
|
|
1156
|
-
e.$slots.watermark ? (x(),
|
|
1157
|
-
|
|
1158
|
-
Ht.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (x(),
|
|
1155
|
+
})), void 0, !0)])) : m("", !0)]),
|
|
1156
|
+
e.$slots.watermark ? (x(), h("div", dt, [w(e.$slots, "watermark", y(v({ isPrinting: E(tn) || E(nn) || Wt.value || Gt.value })), void 0, !0)])) : m("", !0),
|
|
1157
|
+
g("div", { id: `legend-bottom-${k.value}` }, null, 8, ft),
|
|
1158
|
+
Ht.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (x(), p(Me, {
|
|
1159
1159
|
key: 6,
|
|
1160
1160
|
to: F.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
|
|
1161
|
-
}, [
|
|
1161
|
+
}, [g("div", {
|
|
1162
1162
|
ref_key: "chartLegend",
|
|
1163
1163
|
ref: It
|
|
1164
|
-
}, [w(e.$slots, "legend", { legend: X.value }, () => [F.value.style.chart.legend.show ? (x(),
|
|
1164
|
+
}, [w(e.$slots, "legend", { legend: X.value }, () => [F.value.style.chart.legend.show ? (x(), p(ke, {
|
|
1165
1165
|
key: `legend_${Vt.value}`,
|
|
1166
1166
|
legendSet: X.value,
|
|
1167
1167
|
config: kn.value,
|
|
1168
1168
|
isCursorPointer: I.value,
|
|
1169
1169
|
onClickMarker: t[0] ||= ({ i: e }) => fn(e)
|
|
1170
|
-
},
|
|
1171
|
-
item: D(({ legend: e, index: t }) => [E(Yt) ?
|
|
1170
|
+
}, Ne({
|
|
1171
|
+
item: D(({ legend: e, index: t }) => [E(Yt) ? m("", !0) : (x(), h("div", {
|
|
1172
1172
|
key: 0,
|
|
1173
1173
|
onClick: (t) => e.segregate(),
|
|
1174
1174
|
style: b(`opacity:${W.value.includes(t) ? .5 : 1}`)
|
|
1175
1175
|
}, T(e.display), 13, pt))]),
|
|
1176
|
-
legendToggle: D(() => [X.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !E(Yt) ? (x(),
|
|
1176
|
+
legendToggle: D(() => [X.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !E(Yt) ? (x(), p(Te, {
|
|
1177
1177
|
key: 0,
|
|
1178
1178
|
backgroundColor: F.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1179
1179
|
color: F.value.style.chart.legend.selectAllToggle.color,
|
|
@@ -1187,17 +1187,17 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1187
1187
|
"fontSize",
|
|
1188
1188
|
"checked",
|
|
1189
1189
|
"isCursorPointer"
|
|
1190
|
-
])) :
|
|
1190
|
+
])) : m("", !0)]),
|
|
1191
1191
|
_: 2
|
|
1192
1192
|
}, [F.value.style.chart.layout.targetReference.show && F.value.style.chart.layout.targetReference.showInLegend ? {
|
|
1193
1193
|
name: "after",
|
|
1194
|
-
fn: D(() => [
|
|
1194
|
+
fn: D(() => [g("div", mt, [g("div", { style: b({
|
|
1195
1195
|
display: "flex",
|
|
1196
1196
|
height: F.value.style.chart.legend.fontSize
|
|
1197
|
-
}) }, [(x(),
|
|
1197
|
+
}) }, [(x(), h("svg", {
|
|
1198
1198
|
style: b({ width: F.value.style.chart.legend.fontSize * 2 }),
|
|
1199
1199
|
viewBox: "0 0 16 8"
|
|
1200
|
-
}, [
|
|
1200
|
+
}, [g("line", {
|
|
1201
1201
|
x1: "0",
|
|
1202
1202
|
x2: "16",
|
|
1203
1203
|
y1: "4",
|
|
@@ -1206,20 +1206,20 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1206
1206
|
"stroke-width": F.value.style.chart.layout.targetReference.strokeWidth * .7,
|
|
1207
1207
|
"stroke-dasharray": F.value.style.chart.layout.targetReference.strokeDasharray * .7,
|
|
1208
1208
|
"stroke-linecap": "round"
|
|
1209
|
-
}, null, 8, ht)], 4))], 4),
|
|
1209
|
+
}, null, 8, ht)], 4))], 4), g("span", null, T(F.value.style.chart.layout.targetReference.legendLabel), 1)])]),
|
|
1210
1210
|
key: "0"
|
|
1211
1211
|
} : void 0]), 1032, [
|
|
1212
1212
|
"legendSet",
|
|
1213
1213
|
"config",
|
|
1214
1214
|
"isCursorPointer"
|
|
1215
|
-
])) :
|
|
1216
|
-
e.$slots.source ? (x(),
|
|
1215
|
+
])) : m("", !0)], !0)], 512)], 8, ["to"])) : m("", !0),
|
|
1216
|
+
e.$slots.source ? (x(), h("div", {
|
|
1217
1217
|
key: 7,
|
|
1218
1218
|
ref_key: "source",
|
|
1219
1219
|
ref: Lt,
|
|
1220
1220
|
dir: "auto"
|
|
1221
|
-
}, [w(e.$slots, "source", {}, void 0, !0)], 512)) :
|
|
1222
|
-
|
|
1221
|
+
}, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
|
|
1222
|
+
Fe(E(bt), {
|
|
1223
1223
|
teleportTo: F.value.style.chart.tooltip.teleportTo,
|
|
1224
1224
|
show: H.value.showTooltip && A.value,
|
|
1225
1225
|
backgroundColor: F.value.style.chart.tooltip.backgroundColor,
|
|
@@ -1243,16 +1243,16 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1243
1243
|
isA11yMode: P.value === "keyboard",
|
|
1244
1244
|
a11yPosition: Kt.value
|
|
1245
1245
|
}, {
|
|
1246
|
-
"tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(
|
|
1247
|
-
tooltip: D(() => [w(e.$slots, "tooltip", y(
|
|
1248
|
-
"tooltip-after": D(() => [!["function"].includes(typeof F.value.style.chart.tooltip.customFormat) && !e.$slots.tooltip ? (x(),
|
|
1246
|
+
"tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(v({ ...jn.value })), void 0, !0)]),
|
|
1247
|
+
tooltip: D(() => [w(e.$slots, "tooltip", y(v({ ...jn.value })), void 0, !0)]),
|
|
1248
|
+
"tooltip-after": D(() => [!["function"].includes(typeof F.value.style.chart.tooltip.customFormat) && !e.$slots.tooltip ? (x(), h("div", gt, [Fe(E(St), {
|
|
1249
1249
|
dataset: An.value,
|
|
1250
1250
|
config: cn.value,
|
|
1251
1251
|
backgroundOpacity: 0
|
|
1252
1252
|
}, {
|
|
1253
|
-
"data-label": D(({ bar: e }) => [
|
|
1253
|
+
"data-label": D(({ bar: e }) => [g("div", _t, [g("span", vt, T(e.name + (F.value.style.chart.tooltip.showValue || F.value.style.chart.tooltip.showPercentage ? ":" : "")), 1), F.value.style.chart.tooltip.showValue || F.value.style.chart.tooltip.showPercentage ? (x(), h("span", yt, T(e.suffix), 1)) : m("", !0)])]),
|
|
1254
1254
|
_: 1
|
|
1255
|
-
}, 8, ["dataset", "config"])])) :
|
|
1255
|
+
}, 8, ["dataset", "config"])])) : m("", !0), w(e.$slots, "tooltip-after", y(v({ ...jn.value })), void 0, !0)]),
|
|
1256
1256
|
_: 3
|
|
1257
1257
|
}, 8, [
|
|
1258
1258
|
"teleportTo",
|
|
@@ -1278,12 +1278,12 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1278
1278
|
"isA11yMode",
|
|
1279
1279
|
"a11yPosition"
|
|
1280
1280
|
]),
|
|
1281
|
-
Mt.value && F.value.userOptions.buttons.table ? (x(),
|
|
1281
|
+
Mt.value && F.value.userOptions.buttons.table ? (x(), p(Ve(Hn.value.component), Ie({ key: 8 }, Hn.value.props, {
|
|
1282
1282
|
ref_key: "tableUnit",
|
|
1283
1283
|
ref: M,
|
|
1284
1284
|
onClose: Un
|
|
1285
|
-
}),
|
|
1286
|
-
content: D(() => [(x(),
|
|
1285
|
+
}), Ne({
|
|
1286
|
+
content: D(() => [(x(), p(E(wt), {
|
|
1287
1287
|
key: `table_${Bt.value}`,
|
|
1288
1288
|
colNames: Z.value.colNames,
|
|
1289
1289
|
head: Z.value.head,
|
|
@@ -1294,8 +1294,8 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1294
1294
|
isCursorPointer: I.value,
|
|
1295
1295
|
onClose: Un
|
|
1296
1296
|
}, {
|
|
1297
|
-
th: D(({ th: e }) => [
|
|
1298
|
-
td: D(({ td: e }) => [
|
|
1297
|
+
th: D(({ th: e }) => [Pe(T(e.name), 1)]),
|
|
1298
|
+
td: D(({ td: e }) => [Pe(T(e), 1)]),
|
|
1299
1299
|
_: 1
|
|
1300
1300
|
}, 8, [
|
|
1301
1301
|
"colNames",
|
|
@@ -1309,22 +1309,22 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1309
1309
|
_: 2
|
|
1310
1310
|
}, [F.value.table.useDialog ? {
|
|
1311
1311
|
name: "title",
|
|
1312
|
-
fn: D(() => [
|
|
1312
|
+
fn: D(() => [Pe(T(Hn.value.title), 1)]),
|
|
1313
1313
|
key: "0"
|
|
1314
1314
|
} : void 0, F.value.table.useDialog ? {
|
|
1315
1315
|
name: "actions",
|
|
1316
|
-
fn: D(() => [
|
|
1316
|
+
fn: D(() => [g("button", {
|
|
1317
1317
|
tabindex: "0",
|
|
1318
1318
|
class: "vue-ui-user-options-button",
|
|
1319
1319
|
onClick: t[1] ||= (e) => Fn(F.value.userOptions.callbacks.csv),
|
|
1320
1320
|
style: b({ cursor: I.value ? "pointer" : "default" })
|
|
1321
|
-
}, [
|
|
1321
|
+
}, [Fe(E(xt), {
|
|
1322
1322
|
name: "fileCsv",
|
|
1323
1323
|
stroke: Hn.value.props.color
|
|
1324
1324
|
}, null, 8, ["stroke"])], 4)]),
|
|
1325
1325
|
key: "1"
|
|
1326
|
-
} : void 0]), 1040)) :
|
|
1327
|
-
w(e.$slots, "skeleton", {}, () => [E(Yt) ? (x(),
|
|
1326
|
+
} : void 0]), 1040)) : m("", !0),
|
|
1327
|
+
w(e.$slots, "skeleton", {}, () => [E(Yt) ? (x(), p(he, { key: 0 })) : m("", !0)], !0)
|
|
1328
1328
|
], 46, Ke));
|
|
1329
1329
|
}
|
|
1330
1330
|
}, [["__scopeId", "data-v-92aa007a"]]);
|