vue-data-ui 3.25.2 → 3.25.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-CL6s6WpN.js → Arrow-DLn-pcrh.js} +1 -1
- package/dist/{BaseDraggableDialog-Cwj9aGdF.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
- package/dist/{BaseIcon-Oj70ytWI.js → BaseIcon-t83PDe9k.js} +1 -1
- package/dist/{BaseLegendToggle-Cvuc-Mrr.js → BaseLegendToggle-__JnV08B.js} +1 -1
- package/dist/{BaseZoomControls-xstFfEqA.js → BaseZoomControls-Xo16vFa4.js} +2 -2
- package/dist/{ColorPicker-sZV-tVqO.js → ColorPicker-ZJrR3Olp.js} +2 -2
- package/dist/{DataTable-DcDMoMmQ.js → DataTable-COIO9gi4.js} +2 -2
- package/dist/{HillActions-BGA3Up35.js → HillActions-Cl-dNBZR.js} +1 -1
- package/dist/{Legend-BQxAKh7g.js → Legend-X4kF4PvW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-1xl1Xynb.js → NonSvgPenAndPaper-DS84BAOx.js} +12 -12
- package/dist/{PackageVersion-DWq6mo_q.js → PackageVersion-5SWftabm.js} +1 -1
- package/dist/{PenAndPaper-Co2OSRzH.js → PenAndPaper-B_SdRSKH.js} +12 -12
- package/dist/{Shape-26P9pTZH.js → Shape-CIqU-p2F.js} +1 -1
- package/dist/{SlicerPreview-CPhQI1vX.js → SlicerPreview-GvsdvE-h.js} +27 -27
- package/dist/{SparkTooltip-CQDq9mwg.js → SparkTooltip-C-Y-mDrc.js} +1 -1
- package/dist/{Title-BLrnZl5j.js → Title-CPHi-evi.js} +1 -1
- package/dist/{Tooltip-CmmM0DtW.js → Tooltip-hhrkQ3Lk.js} +1 -1
- package/dist/{UserOptions-pq95M7ss.js → UserOptions-f3Q0nqrj.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-label.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-C2hxsVHU.js → dom-to-png-C6cQJ5Hq.js} +1 -1
- package/dist/{exposedLib-CHbGXzAI.js → exposedLib-CG3aXJ-v.js} +9 -9
- package/dist/{img-EYBQVkRw.js → img-DhGApYG0.js} +1 -1
- package/dist/{labelUtils-Ba5vMXV8.js → labelUtils-BXX2NzRe.js} +1 -1
- package/dist/{lib-BPg41jWd.js → lib-Dql7cqyA.js} +202 -168
- package/dist/{package-ciWqdXC5.js → package-DmsdiyeS.js} +1 -1
- package/dist/{pdf-BoZtb_Ft.js → pdf-Di5yPEw9.js} +1 -1
- package/dist/{render-common-BEWzwi32.js → render-common-zoPh9a78.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/{useNestedProp-fNUUtYXm.js → useNestedProp-Chvyfpl-.js} +1 -1
- package/dist/{usePrinter-CsDAx75S.js → usePrinter-DISD7q5m.js} +2 -2
- package/dist/utils.js +2 -2
- package/dist/{vue-data-ui-BHRh3z_-.js → vue-data-ui-DTj71yB7.js} +70 -70
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-CH8SpxS2.js +1829 -0
- package/dist/{vue-ui-accordion-BGxpEtfk.js → vue-ui-accordion-D4zsdacF.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CYHqR2NK.js → vue-ui-age-pyramid-B9MUVi75.js} +214 -214
- package/dist/{vue-ui-annotator-Q5zC15Pp.js → vue-ui-annotator-CmlcWPIm.js} +6 -6
- package/dist/vue-ui-bullet-n8KNnDwh.js +700 -0
- package/dist/{vue-ui-bump-DkntyN9G.js → vue-ui-bump-BkOtQNWe.js} +54 -54
- package/dist/{vue-ui-candlestick-Cz0s9M9a.js → vue-ui-candlestick-Bxlvqk49.js} +450 -446
- package/dist/vue-ui-carousel-table-CRgbs7jR.js +467 -0
- package/dist/{vue-ui-chestnut-iwScoeK0.js → vue-ui-chestnut-ByDKbkG9.js} +273 -273
- package/dist/{vue-ui-chord-Bl_91Sut.js → vue-ui-chord-DQRBgVOx.js} +31 -31
- package/dist/{vue-ui-circle-pack-Dm9BU5Kl.js → vue-ui-circle-pack-CBBc0HOe.js} +28 -28
- package/dist/{vue-ui-cursor-D_bkWVNS.js → vue-ui-cursor-BHyXRadA.js} +3 -3
- package/dist/{vue-ui-dag-CF4YxXqU.js → vue-ui-dag-CyVqaLbF.js} +75 -75
- package/dist/{vue-ui-dashboard-Bwhlqoe4.js → vue-ui-dashboard-7I-7wvCP.js} +69 -69
- package/dist/{vue-ui-digits-CXM0xSi6.js → vue-ui-digits-BBL8uERO.js} +3 -3
- package/dist/{vue-ui-donut-DEn7HF5c.js → vue-ui-donut-DcgUuefk.js} +101 -101
- package/dist/vue-ui-donut-DfiocufT.js +2413 -0
- package/dist/{vue-ui-donut-evolution-Z7fpl7Zf.js → vue-ui-donut-evolution-BoqO8By2.js} +374 -374
- package/dist/{vue-ui-dumbbell-BEFPs0t1.js → vue-ui-dumbbell-7M_oUQdi.js} +137 -137
- package/dist/{vue-ui-flow-DAId7lkh.js → vue-ui-flow-CoylrfnO.js} +40 -40
- package/dist/vue-ui-funnel-DaBYHWIC.js +747 -0
- package/dist/{vue-ui-galaxy-So95hmON.js → vue-ui-galaxy-BIebStQ3.js} +245 -245
- package/dist/vue-ui-gauge-CwdTmiRP.js +932 -0
- package/dist/{vue-ui-geo-MTJoJ3_A.js → vue-ui-geo-jR4P4pbt.js} +36 -36
- package/dist/{vue-ui-gizmo-D9tbjzYe.js → vue-ui-gizmo-D6W86s9o.js} +3 -3
- package/dist/{vue-ui-heatmap-DRdQFkV_.js → vue-ui-heatmap-DXYlGwqR.js} +180 -180
- package/dist/{vue-ui-hill-CdtIsBTO.js → vue-ui-hill-fFq7pm-g.js} +9 -9
- package/dist/vue-ui-history-plot-CgIELoD2.js +1696 -0
- package/dist/vue-ui-horizontal-bar-D3Sft4kp.js +1709 -0
- package/dist/{vue-ui-kpi-DHDy4LcL.js → vue-ui-kpi-fzLsKlyE.js} +3 -3
- package/dist/{vue-ui-label-Bm5iMSie.js → vue-ui-label-BSgLalWD.js} +64 -64
- package/dist/{vue-ui-mini-loader-EK0wtL10.js → vue-ui-mini-loader-BL2odRfu.js} +2 -2
- package/dist/vue-ui-molecule-DeHWkkhy.js +929 -0
- package/dist/{vue-ui-mood-radar-CTiFn6bj.js → vue-ui-mood-radar-bvGx6XgG.js} +201 -201
- package/dist/{vue-ui-nested-donuts-DKzeriUP.js → vue-ui-nested-donuts-CeAV2xPk.js} +124 -124
- package/dist/{vue-ui-onion-C3ZiE1dn.js → vue-ui-onion-B7oFulsQ.js} +119 -119
- package/dist/{vue-ui-parallel-coordinate-plot-D1xAQ_qP.js → vue-ui-parallel-coordinate-plot-B_QJ4N9o.js} +376 -376
- package/dist/{vue-ui-quadrant-B82S1-8b.js → vue-ui-quadrant-DrKnz37q.js} +46 -46
- package/dist/{vue-ui-quick-chart-BeIZ2KVy.js → vue-ui-quick-chart-BFscCR59.js} +185 -185
- package/dist/{vue-ui-radar-Bh7LKVWz.js → vue-ui-radar-Bzx69q8f.js} +311 -311
- package/dist/{vue-ui-rating-AbGGnd-1.js → vue-ui-rating-CimC9FQ9.js} +2 -2
- package/dist/vue-ui-relation-circle-DIQYyDGb.js +903 -0
- package/dist/{vue-ui-ridgeline-BmmcBvtt.js → vue-ui-ridgeline-CPEnM45x.js} +199 -199
- package/dist/{vue-ui-rings-Bx3lTcrM.js → vue-ui-rings-qPL5Iwji.js} +327 -327
- package/dist/vue-ui-scatter-BB0ClTsU.js +2403 -0
- package/dist/{vue-ui-skeleton-GSfVAGm5.js → vue-ui-skeleton-zmbcOVEf.js} +59 -59
- package/dist/{vue-ui-smiley-CVQ85iFx.js → vue-ui-smiley-DzPkCMN-.js} +2 -2
- package/dist/{vue-ui-spark-trend-BVS__UWD.js → vue-ui-spark-trend-Ciq7-k_q.js} +8 -8
- package/dist/{vue-ui-sparkbar-C-xEaUvd.js → vue-ui-sparkbar-D1M7-naP.js} +142 -142
- package/dist/{vue-ui-sparkgauge-_XSE8M-e.js → vue-ui-sparkgauge-rsqaeR_n.js} +33 -33
- package/dist/{vue-ui-sparkhistogram-DUM6ygCM.js → vue-ui-sparkhistogram-C4WXt2Ni.js} +26 -26
- package/dist/{vue-ui-sparkline-Dg9fXwZG.js → vue-ui-sparkline-Dv7XrEzO.js} +253 -253
- package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +738 -0
- package/dist/vue-ui-stackbar-C_hMnOLb.js +2353 -0
- package/dist/vue-ui-stackline-BHGi63lD.js +2467 -0
- package/dist/vue-ui-strip-plot-Cygpn-l8.js +1738 -0
- package/dist/vue-ui-table-BQna1wL6.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DgFFlNnz.js → vue-ui-table-heatmap-Dv_ZKKm3.js} +9 -9
- package/dist/{vue-ui-table-sparkline-BsVOuCvB.js → vue-ui-table-sparkline-BCuimtk6.js} +13 -13
- package/dist/{vue-ui-thermometer-DOECuI2_.js → vue-ui-thermometer-DytlLJ32.js} +28 -28
- package/dist/{vue-ui-timer-B2Cd2bc6.js → vue-ui-timer-CvHP4HoW.js} +5 -5
- package/dist/{vue-ui-tiremarks-CrnFAVS8.js → vue-ui-tiremarks-BvjdZwgh.js} +6 -6
- package/dist/{vue-ui-treemap-DHZ6BvAc.js → vue-ui-treemap-C5OpqzSc.js} +39 -39
- package/dist/vue-ui-waffle-B7T_Zzan.js +1619 -0
- package/dist/{vue-ui-wheel-7U-O7-xN.js → vue-ui-wheel-D1B0k7IW.js} +23 -23
- package/dist/{vue-ui-word-cloud-CVsvKOiI.js → vue-ui-word-cloud-C4pX6jop.js} +27 -27
- package/dist/{vue-ui-world-B9VGieBA.js → vue-ui-world-D0_2upjg.js} +116 -116
- package/dist/{vue-ui-xy-chRPjTTj.js → vue-ui-xy-Ck41KYqF.js} +1493 -1489
- package/dist/{vue-ui-xy-CNy0avUa.js → vue-ui-xy-D_5FfaH-.js} +423 -422
- package/dist/{vue-ui-xy-canvas-B9kzEFnY.js → vue-ui-xy-canvas-B_8Mu19r.js} +77 -77
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-DUbSp0so.js +0 -1829
- package/dist/vue-ui-bullet-DOF7UCo_.js +0 -700
- package/dist/vue-ui-carousel-table-f3ddW3LA.js +0 -467
- package/dist/vue-ui-donut-BfehCl28.js +0 -2413
- package/dist/vue-ui-funnel-D6Hvhb_C.js +0 -747
- package/dist/vue-ui-gauge-Cs96ssGw.js +0 -932
- package/dist/vue-ui-history-plot-BaVZe6Fy.js +0 -1696
- package/dist/vue-ui-horizontal-bar-DETeVTOn.js +0 -1709
- package/dist/vue-ui-molecule-Dt31r51l.js +0 -929
- package/dist/vue-ui-relation-circle-4ZeUHCx_.js +0 -903
- package/dist/vue-ui-scatter-Vw4JbCjp.js +0 -2403
- package/dist/vue-ui-sparkstackbar-8-iyImVK.js +0 -738
- package/dist/vue-ui-stackbar-zl-GieBs.js +0 -2349
- package/dist/vue-ui-stackline-HcXMSuwS.js +0 -2463
- package/dist/vue-ui-strip-plot-B_q_YQiP.js +0 -1738
- package/dist/vue-ui-table-CftOhYTO.js +0 -1352
- package/dist/vue-ui-waffle-Ca4QSb5z.js +0 -1619
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
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, Ct as n, D as r, Lt as i, M as a, Nt as o, Pt as s, S as c, Ut as l, Wt as ee, X as u, Yt as te, Zt as ne, b as re, ht as ie, i as ae, lt as oe, nt as d, q as se, t as ce, w as le } from "./lib-Dql7cqyA.js";
|
|
3
|
+
import { n as ue } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as de } from "./useConfig-CyCVHo81.js";
|
|
5
|
+
import { t as fe } from "./usePrinter-DISD7q5m.js";
|
|
6
|
+
import { n as pe, t as me } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
+
import { t as he } from "./useNestedProp-Chvyfpl-.js";
|
|
8
|
+
import { t as ge } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as _e } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
+
import { t as ve } from "./img-DhGApYG0.js";
|
|
11
|
+
import { n as ye } from "./Title-CPHi-evi.js";
|
|
12
|
+
import { t as be } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
+
import { l as xe, t as Se } from "./useResponsive-ZtArZtUf.js";
|
|
14
|
+
import { t as Ce } from "./DefGrad-DVBqDjhO.js";
|
|
15
|
+
import { t as we } from "./BaseLegendToggle-__JnV08B.js";
|
|
16
|
+
import { t as Te } from "./A11yDataTable-DdRsVULz.js";
|
|
17
|
+
import { t as Ee } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
|
+
import { t as De } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
+
import { t as Oe } from "./Legend-X4kF4PvW.js";
|
|
20
|
+
import { t as ke } from "./useAutoSizeLabelsInsideViewbox-DvDwcwi_.js";
|
|
21
|
+
import { t as Ae } from "./vue_ui_radar-jafTED5j.js";
|
|
22
|
+
import { Fragment as f, Teleport as je, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as Me, createTextVNode as Ne, createVNode as Pe, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as Fe, nextTick as Ie, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as Le, onMounted as Re, openBlock as C, ref as w, renderList as T, renderSlot as E, resolveDynamicComponent as ze, shallowRef as Be, toDisplayString as D, toRefs as Ve, unref as O, watch as He, withCtx as k } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-radar.vue
|
|
24
|
-
var
|
|
24
|
+
var Ue = /* @__PURE__ */ e({ default: () => bt }), We = ["id"], Ge = ["id"], Ke = ["id"], qe = { style: { position: "relative" } }, Je = [
|
|
25
25
|
"xmlns",
|
|
26
26
|
"aria-describedby",
|
|
27
27
|
"viewBox"
|
|
28
|
-
],
|
|
28
|
+
], Ye = ["width", "height"], Xe = { key: 1 }, Ze = [
|
|
29
29
|
"x1",
|
|
30
30
|
"y1",
|
|
31
31
|
"x2",
|
|
32
32
|
"y2",
|
|
33
33
|
"stroke",
|
|
34
34
|
"stroke-width"
|
|
35
|
-
],
|
|
35
|
+
], Qe = {
|
|
36
36
|
key: 0,
|
|
37
37
|
style: { "pointer-events": "none" }
|
|
38
|
-
},
|
|
38
|
+
}, $e = [
|
|
39
39
|
"d",
|
|
40
40
|
"stroke",
|
|
41
41
|
"stroke-width"
|
|
42
|
-
],
|
|
42
|
+
], et = [
|
|
43
43
|
"d",
|
|
44
44
|
"stroke",
|
|
45
45
|
"stroke-width"
|
|
46
|
-
],
|
|
46
|
+
], tt = { key: 2 }, nt = [
|
|
47
47
|
"x",
|
|
48
48
|
"y",
|
|
49
49
|
"text-anchor",
|
|
@@ -52,35 +52,35 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
52
52
|
"onMouseenter",
|
|
53
53
|
"onMouseleave",
|
|
54
54
|
"onClick"
|
|
55
|
-
],
|
|
55
|
+
], rt = [
|
|
56
56
|
"points",
|
|
57
57
|
"stroke",
|
|
58
58
|
"stroke-width"
|
|
59
|
-
],
|
|
59
|
+
], it = [
|
|
60
60
|
"points",
|
|
61
61
|
"stroke",
|
|
62
62
|
"stroke-width",
|
|
63
63
|
"fill"
|
|
64
|
-
],
|
|
64
|
+
], at = [
|
|
65
65
|
"d",
|
|
66
66
|
"stroke",
|
|
67
67
|
"stroke-width",
|
|
68
68
|
"stroke-dasharray"
|
|
69
|
-
],
|
|
69
|
+
], ot = { key: 4 }, st = [
|
|
70
70
|
"onMouseenter",
|
|
71
71
|
"onMouseleave",
|
|
72
72
|
"onClick"
|
|
73
|
-
],
|
|
73
|
+
], ct = [
|
|
74
74
|
"cx",
|
|
75
75
|
"cy",
|
|
76
76
|
"r"
|
|
77
|
-
],
|
|
77
|
+
], lt = [
|
|
78
78
|
"cx",
|
|
79
79
|
"cy",
|
|
80
80
|
"fill",
|
|
81
81
|
"r",
|
|
82
82
|
"stroke"
|
|
83
|
-
],
|
|
83
|
+
], ut = {
|
|
84
84
|
key: 0,
|
|
85
85
|
style: {
|
|
86
86
|
position: "absolute",
|
|
@@ -90,23 +90,23 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
90
90
|
},
|
|
91
91
|
"data-dom-to-png-ignore": "",
|
|
92
92
|
"aria-hidden": "true"
|
|
93
|
-
},
|
|
93
|
+
}, dt = {
|
|
94
94
|
key: 5,
|
|
95
95
|
class: "vue-data-ui-watermark"
|
|
96
|
-
},
|
|
96
|
+
}, ft = ["id"], pt = ["onClick"], mt = { class: "vue-data-ui-legend-item" }, ht = [
|
|
97
97
|
"stroke",
|
|
98
98
|
"stroke-width",
|
|
99
99
|
"stroke-dasharray"
|
|
100
|
-
],
|
|
100
|
+
], gt = {
|
|
101
101
|
key: 0,
|
|
102
102
|
style: {
|
|
103
103
|
"max-width": "200px",
|
|
104
104
|
margin: "0 auto"
|
|
105
105
|
}
|
|
106
|
-
},
|
|
106
|
+
}, _t = {
|
|
107
107
|
class: "vue-ui-radar-tooltip-datalabel",
|
|
108
108
|
style: { width: "100%" }
|
|
109
|
-
},
|
|
109
|
+
}, vt = { class: "vue-ui-radar-tooltip-datalabel-name" }, yt = { key: 0 }, bt = /*#__PURE__*/ be({
|
|
110
110
|
__name: "vue-ui-radar",
|
|
111
111
|
props: {
|
|
112
112
|
config: {
|
|
@@ -123,14 +123,14 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
123
123
|
}
|
|
124
124
|
},
|
|
125
125
|
emits: ["selectLegend", "copyAlt"],
|
|
126
|
-
setup(e, { expose:
|
|
127
|
-
let
|
|
126
|
+
setup(e, { expose: be, emit: Ue }) {
|
|
127
|
+
let bt = v(() => import("./Tooltip-hhrkQ3Lk.js")), xt = v(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), St = v(() => import("./vue-ui-sparkbar-D1M7-naP.js").then((e) => e.n)), Ct = v(() => import("./vue-ui-accordion-D4zsdacF.js").then((e) => e.n)), wt = v(() => import("./DataTable-COIO9gi4.js")), Tt = v(() => import("./PenAndPaper-B_SdRSKH.js").then((e) => e.t)), Et = v(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), Dt = v(() => import("./PackageVersion-5SWftabm.js").then((e) => e.t)), Ot = v(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_radar: kt } = de(), { isThemeValid: At, warnInvalidTheme: jt } = ge(), A = e, Mt = p(() => !!A.dataset && Object.keys(A.dataset).length), j = w(se()), M = w(!1), Nt = w(""), Pt = w(0), N = w(null), Ft = w(null), It = w(null), Lt = w(null), Rt = w(null), zt = w(0), Bt = w(0), Vt = w(0), Ht = w(!1), Ut = w(null), Wt = w(null), P = w(null), Gt = w({
|
|
128
128
|
x: 0,
|
|
129
129
|
y: 0
|
|
130
|
-
}),
|
|
131
|
-
|
|
130
|
+
}), Kt = w("pointer"), qt = w(!1), F = w(en());
|
|
131
|
+
ue({
|
|
132
132
|
config: () => F.value,
|
|
133
|
-
dataset: () =>
|
|
133
|
+
dataset: () => A.dataset,
|
|
134
134
|
component: "VueUiRadar",
|
|
135
135
|
rules: [
|
|
136
136
|
{
|
|
@@ -172,7 +172,7 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
172
172
|
}
|
|
173
173
|
]
|
|
174
174
|
});
|
|
175
|
-
let I =
|
|
175
|
+
let I = p(() => F.value.userOptions.useCursorPointer), Jt = p(() => ne({
|
|
176
176
|
defaultConfig: {
|
|
177
177
|
userOptions: { show: !1 },
|
|
178
178
|
table: { show: !1 },
|
|
@@ -188,16 +188,16 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
188
188
|
} }
|
|
189
189
|
},
|
|
190
190
|
userConfig: F.value.skeletonConfig ?? {}
|
|
191
|
-
})), { loading: Yt, FINAL_DATASET: L } =
|
|
192
|
-
...
|
|
191
|
+
})), { loading: Yt, FINAL_DATASET: L } = pe({
|
|
192
|
+
...Ve(A),
|
|
193
193
|
FINAL_CONFIG: F,
|
|
194
194
|
prepareConfig: en,
|
|
195
195
|
callback: () => {
|
|
196
196
|
Promise.resolve().then(async () => {
|
|
197
|
-
await
|
|
197
|
+
await Ie(), H.value.showTable = F.value.table.show;
|
|
198
198
|
});
|
|
199
199
|
},
|
|
200
|
-
skeletonDataset:
|
|
200
|
+
skeletonDataset: A.config?.skeletonDataset ?? {
|
|
201
201
|
categories: [{
|
|
202
202
|
name: "_",
|
|
203
203
|
color: "#6A6A6A"
|
|
@@ -235,11 +235,11 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
235
235
|
}
|
|
236
236
|
]
|
|
237
237
|
},
|
|
238
|
-
skeletonConfig:
|
|
238
|
+
skeletonConfig: ne({
|
|
239
239
|
defaultConfig: F.value,
|
|
240
240
|
userConfig: Jt.value
|
|
241
241
|
})
|
|
242
|
-
}), { userOptionsVisible: Xt, setUserOptionsVisibility: Zt, keepUserOptionState: Qt } =
|
|
242
|
+
}), { userOptionsVisible: Xt, setUserOptionsVisibility: Zt, keepUserOptionState: Qt } = Ee({ config: F.value }), { svgRef: R } = De({ config: F.value.style.chart.title });
|
|
243
243
|
function $t(e) {
|
|
244
244
|
return {
|
|
245
245
|
...e,
|
|
@@ -266,64 +266,64 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
266
266
|
};
|
|
267
267
|
}
|
|
268
268
|
function en() {
|
|
269
|
-
let e = $t(
|
|
270
|
-
userConfig:
|
|
271
|
-
defaultConfig:
|
|
269
|
+
let e = $t(he({
|
|
270
|
+
userConfig: A.config,
|
|
271
|
+
defaultConfig: kt
|
|
272
272
|
})), t = e.theme;
|
|
273
273
|
if (!t) return e;
|
|
274
|
-
if (!
|
|
275
|
-
let n =
|
|
276
|
-
userConfig:
|
|
274
|
+
if (!At.value(e)) return jt(e), e;
|
|
275
|
+
let n = he({
|
|
276
|
+
userConfig: Ae[t] || A.config,
|
|
277
277
|
defaultConfig: e
|
|
278
|
-
}), r =
|
|
279
|
-
userConfig:
|
|
278
|
+
}), r = he({
|
|
279
|
+
userConfig: A.config,
|
|
280
280
|
defaultConfig: n
|
|
281
281
|
});
|
|
282
282
|
return {
|
|
283
283
|
...r,
|
|
284
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
284
|
+
customPalette: r.customPalette.length ? r.customPalette : te[t] || i
|
|
285
285
|
};
|
|
286
286
|
}
|
|
287
|
-
|
|
288
|
-
F.value = en(), Xt.value = !F.value.userOptions.showOnChartHover, tn(),
|
|
287
|
+
He(() => A.config, (e) => {
|
|
288
|
+
F.value = en(), Xt.value = !F.value.userOptions.showOnChartHover, tn(), 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;
|
|
289
289
|
}, { deep: !0 });
|
|
290
|
-
let z =
|
|
290
|
+
let z = Be(null), B = Be(null), V = p(() => F.value.debug);
|
|
291
291
|
function tn() {
|
|
292
|
-
if (
|
|
292
|
+
if (s(A.dataset) && d({
|
|
293
293
|
componentName: "VueUiRadar",
|
|
294
294
|
type: "dataset",
|
|
295
295
|
debug: V.value
|
|
296
296
|
}), F.value.responsive) {
|
|
297
|
-
let e =
|
|
298
|
-
let { width: e, height: t } =
|
|
299
|
-
chart:
|
|
300
|
-
title: F.value.style.chart.title.text ?
|
|
301
|
-
legend: F.value.style.chart.legend.show ?
|
|
302
|
-
source:
|
|
303
|
-
noTitle:
|
|
297
|
+
let e = xe(() => {
|
|
298
|
+
let { width: e, height: t } = Se({
|
|
299
|
+
chart: N.value,
|
|
300
|
+
title: F.value.style.chart.title.text ? Ft.value : null,
|
|
301
|
+
legend: F.value.style.chart.legend.show ? It.value : null,
|
|
302
|
+
source: Lt.value,
|
|
303
|
+
noTitle: Rt.value
|
|
304
304
|
});
|
|
305
305
|
requestAnimationFrame(() => {
|
|
306
306
|
U.value.width = e, U.value.height = t, An();
|
|
307
307
|
});
|
|
308
308
|
});
|
|
309
|
-
z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect()), z.value = new ResizeObserver(e), B.value =
|
|
309
|
+
z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect()), z.value = new ResizeObserver(e), B.value = N.value.parentNode, z.value.observe(B.value);
|
|
310
310
|
}
|
|
311
311
|
An();
|
|
312
312
|
}
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
}),
|
|
313
|
+
Re(() => {
|
|
314
|
+
Ht.value = !0, tn();
|
|
315
|
+
}), Le(() => {
|
|
316
316
|
z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect());
|
|
317
317
|
});
|
|
318
|
-
let { isPrinting: nn, isImaging: rn, generatePdf: an, generateImage: on } =
|
|
319
|
-
elementId: `vue-ui-radar_${
|
|
318
|
+
let { isPrinting: nn, isImaging: rn, generatePdf: an, generateImage: on } = fe({
|
|
319
|
+
elementId: `vue-ui-radar_${j.value}`,
|
|
320
320
|
fileName: F.value.style.chart.title.text || "vue-ui-radar",
|
|
321
321
|
options: F.value.userOptions.print
|
|
322
|
-
}), sn =
|
|
322
|
+
}), sn = p(() => F.value.userOptions.show && !F.value.style.chart.title.text), cn = p(() => le(F.value.customPalette)), H = w({
|
|
323
323
|
dataLabels: { show: F.value.style.chart.layout.labels.dataLabels.show },
|
|
324
324
|
showTable: F.value.table.show,
|
|
325
325
|
showTooltip: F.value.style.chart.tooltip.show
|
|
326
|
-
}), ln =
|
|
326
|
+
}), ln = p(() => ({ style: {
|
|
327
327
|
backgroundColor: "#FFFFFF00",
|
|
328
328
|
animation: {
|
|
329
329
|
show: F.value.style.chart.tooltip.animation.show,
|
|
@@ -337,10 +337,10 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
337
337
|
backgroundColor: "#CCCCCC",
|
|
338
338
|
opacity: 30
|
|
339
339
|
}
|
|
340
|
-
} })), U =
|
|
340
|
+
} })), U = w({
|
|
341
341
|
height: 312,
|
|
342
342
|
width: 512
|
|
343
|
-
}), un =
|
|
343
|
+
}), un = Ue, W = w([]), G = w(null), K = w(!1);
|
|
344
344
|
function dn() {
|
|
345
345
|
W.value.length ? W.value = [] : X.value.forEach((e, t) => {
|
|
346
346
|
W.value.push(t);
|
|
@@ -370,11 +370,11 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
370
370
|
function hn() {
|
|
371
371
|
let e = L.value;
|
|
372
372
|
if ([null, void 0].includes(e?.categories)) {
|
|
373
|
-
|
|
373
|
+
d({
|
|
374
374
|
componentName: "VueUiRadar",
|
|
375
375
|
type: "dataset",
|
|
376
376
|
debug: V.value
|
|
377
|
-
}),
|
|
377
|
+
}), d({
|
|
378
378
|
componentName: "VueUiRadar",
|
|
379
379
|
type: "datasetAttribute",
|
|
380
380
|
property: "categories ({ name: string; prefix?: string; suffix?: string}[])",
|
|
@@ -382,30 +382,30 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
382
382
|
});
|
|
383
383
|
return;
|
|
384
384
|
}
|
|
385
|
-
e.categories.length === 0 ?
|
|
385
|
+
e.categories.length === 0 ? d({
|
|
386
386
|
componentName: "VueUiRadar",
|
|
387
387
|
type: "datasetAttributeEmpty",
|
|
388
388
|
property: "categories",
|
|
389
389
|
debug: V.value
|
|
390
390
|
}) : V.value && e.categories.forEach((e, t) => {
|
|
391
|
-
|
|
391
|
+
ie({
|
|
392
392
|
datasetObject: e,
|
|
393
393
|
requiredAttributes: ["name"]
|
|
394
394
|
}).forEach((e) => {
|
|
395
|
-
|
|
395
|
+
d({
|
|
396
396
|
componentName: "VueUiRadar",
|
|
397
397
|
type: "datasetAttribute",
|
|
398
398
|
property: `category.${e} at index ${t}`,
|
|
399
399
|
index: t
|
|
400
400
|
});
|
|
401
401
|
});
|
|
402
|
-
}), [null, void 0].includes(e?.series) ?
|
|
402
|
+
}), [null, void 0].includes(e?.series) ? d({
|
|
403
403
|
componentName: "VueUiRadar",
|
|
404
404
|
type: "datasetAttribute",
|
|
405
405
|
property: "series ({ name: string; values: number[]; color?: string; target: number}[])",
|
|
406
406
|
debug: V.value
|
|
407
407
|
}) : V.value && e.series.forEach((e, t) => {
|
|
408
|
-
|
|
408
|
+
ie({
|
|
409
409
|
datasetObject: e,
|
|
410
410
|
requiredAttributes: [
|
|
411
411
|
"name",
|
|
@@ -413,7 +413,7 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
413
413
|
"target"
|
|
414
414
|
]
|
|
415
415
|
}).forEach((e) => {
|
|
416
|
-
|
|
416
|
+
d({
|
|
417
417
|
componentName: "VueUiRadar",
|
|
418
418
|
type: "datasetSerieAttribute",
|
|
419
419
|
key: "series",
|
|
@@ -423,23 +423,23 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
423
423
|
});
|
|
424
424
|
});
|
|
425
425
|
}
|
|
426
|
-
|
|
426
|
+
He(() => L.value, () => hn(), {
|
|
427
427
|
deep: !0,
|
|
428
428
|
immediate: !0
|
|
429
429
|
});
|
|
430
|
-
let q =
|
|
430
|
+
let q = p(() => {
|
|
431
431
|
let e = Array.isArray(L.value?.categories) ? L.value.categories : [], t = cn.value ?? i;
|
|
432
432
|
return e.map((e, n) => ({
|
|
433
433
|
name: e?.name ?? "",
|
|
434
|
-
categoryId: `radar_category_${
|
|
434
|
+
categoryId: `radar_category_${j.value}_${n}`,
|
|
435
435
|
color: c(e?.color) || t[n] || i[n % i.length],
|
|
436
436
|
prefix: e?.prefix ?? "",
|
|
437
437
|
suffix: e?.suffix ?? ""
|
|
438
438
|
}));
|
|
439
|
-
}), J =
|
|
439
|
+
}), J = p(() => L.value.series.map((e, t) => ({
|
|
440
440
|
...e,
|
|
441
441
|
color: c(e.color) || cn.value[t] || i[t] || i[t % i.length],
|
|
442
|
-
serieId: `radar_serie_${
|
|
442
|
+
serieId: `radar_serie_${j.value}_${t}`,
|
|
443
443
|
formatter: e.formatter || null,
|
|
444
444
|
absoluteIndex: t
|
|
445
445
|
})));
|
|
@@ -454,11 +454,11 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
454
454
|
let t = gn(e);
|
|
455
455
|
t !== null && (W.value.includes(t.absoluteIndex) || pn(t.absoluteIndex));
|
|
456
456
|
}
|
|
457
|
-
let yn =
|
|
457
|
+
let yn = p(() => Math.max(0, ...J.value.flatMap((e) => e.values)));
|
|
458
458
|
function bn(e) {
|
|
459
459
|
return F.value.style.chart.layout.scaleToAxisMax ? Math.max(1, e.target || 0, ...e.values) : e.target || yn.value || 1;
|
|
460
460
|
}
|
|
461
|
-
let xn =
|
|
461
|
+
let xn = p(() => J.value.map((e, t) => {
|
|
462
462
|
let n = En.value.coordinates[t];
|
|
463
463
|
return jn({
|
|
464
464
|
centerX: U.value.width / 2,
|
|
@@ -467,13 +467,13 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
467
467
|
apexY: n.y,
|
|
468
468
|
proportion: (e.target || 0) / bn(e)
|
|
469
469
|
});
|
|
470
|
-
})), Sn =
|
|
470
|
+
})), Sn = p(() => J.value.length), Cn = p(() => Math.min(U.value.width, U.value.height) / 3), wn = p(() => {
|
|
471
471
|
let e = Number(F.value.style.chart.layout.plots.radius ?? 0);
|
|
472
472
|
return Math.max(Number.isFinite(e) ? e * 2.5 : 0, 10);
|
|
473
|
-
}), Tn =
|
|
473
|
+
}), Tn = p(() => {
|
|
474
474
|
let e = Number(F.value.style.chart.layout.grid.rotation ?? 0);
|
|
475
475
|
return Number.isFinite(e) ? e * Math.PI / 180 : 0;
|
|
476
|
-
}), En =
|
|
476
|
+
}), En = p(() => a({
|
|
477
477
|
plot: {
|
|
478
478
|
x: U.value.width / 2,
|
|
479
479
|
y: U.value.height / 2
|
|
@@ -481,11 +481,11 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
481
481
|
radius: Cn.value,
|
|
482
482
|
sides: Sn.value,
|
|
483
483
|
rotation: Tn.value
|
|
484
|
-
})), Dn =
|
|
484
|
+
})), Dn = p(() => {
|
|
485
485
|
let e = [];
|
|
486
486
|
for (let t = 0; t < Cn.value; t += Cn.value / F.value.style.chart.layout.grid.graduations) e.push(t);
|
|
487
487
|
return e;
|
|
488
|
-
}), Y =
|
|
488
|
+
}), Y = p(() => En.value.coordinates.map((e, t) => {
|
|
489
489
|
let n = J.value[t], r = J.value[t].values.map((t) => jn({
|
|
490
490
|
centerX: U.value.width / 2,
|
|
491
491
|
centerY: U.value.height / 2,
|
|
@@ -505,23 +505,23 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
505
505
|
labelAnchor: On(e).anchor
|
|
506
506
|
})));
|
|
507
507
|
function On({ x: e, y: t }) {
|
|
508
|
-
let n = U.value.width / 2, r = U.value.height / 2, i = e - n, a = t - r, o = Math.hypot(i, a), s = Number(F.value.style.chart.layout.labels.dataLabels.offset ?? 0),
|
|
508
|
+
let n = U.value.width / 2, r = U.value.height / 2, i = e - n, a = t - r, o = Math.hypot(i, a), s = Number(F.value.style.chart.layout.labels.dataLabels.offset ?? 0), c = 20 + (Number.isFinite(s) ? s : 0);
|
|
509
509
|
if (!o) return {
|
|
510
510
|
x: e,
|
|
511
511
|
y: t,
|
|
512
512
|
anchor: "middle"
|
|
513
513
|
};
|
|
514
|
-
let
|
|
515
|
-
return
|
|
516
|
-
x: e +
|
|
517
|
-
y: t +
|
|
518
|
-
anchor:
|
|
514
|
+
let l = i / o, ee = a / o, u = "middle";
|
|
515
|
+
return l > .01 ? u = "start" : l < -.01 && (u = "end"), {
|
|
516
|
+
x: e + l * c,
|
|
517
|
+
y: t + ee * c,
|
|
518
|
+
anchor: u
|
|
519
519
|
};
|
|
520
520
|
}
|
|
521
|
-
let kn =
|
|
521
|
+
let kn = p({
|
|
522
522
|
get: () => F.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
523
523
|
set: (e) => e
|
|
524
|
-
}), { autoSizeLabels: An } =
|
|
524
|
+
}), { autoSizeLabels: An } = ke({
|
|
525
525
|
svgRef: R,
|
|
526
526
|
fontSize: F.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
527
527
|
minFontSize: 6,
|
|
@@ -534,10 +534,10 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
534
534
|
y: t + (r - t) * i
|
|
535
535
|
};
|
|
536
536
|
}
|
|
537
|
-
let X =
|
|
537
|
+
let X = p(() => {
|
|
538
538
|
let e = J.value.map((e, t) => e.values.map((t) => t / (e.target || yn.value)));
|
|
539
539
|
return q.value.map((t, n) => {
|
|
540
|
-
let r =
|
|
540
|
+
let r = re(e.map((e) => e[n]).reduce((e, t) => e + t, 0) / J.value.length);
|
|
541
541
|
return {
|
|
542
542
|
...t,
|
|
543
543
|
absoluteIndex: n,
|
|
@@ -546,21 +546,21 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
546
546
|
opacity: W.value.includes(n) ? .5 : 1,
|
|
547
547
|
segregate: () => pn(n),
|
|
548
548
|
isSegregated: W.value.includes(n),
|
|
549
|
-
display: `${t.name}: ${
|
|
549
|
+
display: `${t.name}: ${u({
|
|
550
550
|
v: (r ?? 0) * 100,
|
|
551
551
|
s: "%",
|
|
552
552
|
r: F.value.style.chart.legend.roundingPercentage
|
|
553
553
|
})}`
|
|
554
554
|
};
|
|
555
555
|
});
|
|
556
|
-
}), Mn =
|
|
556
|
+
}), Mn = p(() => ({
|
|
557
557
|
cy: "radar-div-legend",
|
|
558
558
|
backgroundColor: F.value.style.chart.legend.backgroundColor,
|
|
559
559
|
color: F.value.style.chart.legend.color,
|
|
560
560
|
fontSize: F.value.style.chart.legend.fontSize,
|
|
561
561
|
paddingBottom: 12,
|
|
562
562
|
fontWeight: F.value.style.chart.legend.bold ? "bold" : ""
|
|
563
|
-
})), Z =
|
|
563
|
+
})), Z = p(() => {
|
|
564
564
|
let e = [
|
|
565
565
|
{
|
|
566
566
|
name: F.value.translations.datapoint,
|
|
@@ -576,18 +576,18 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
576
576
|
head: e,
|
|
577
577
|
body: L.value.series.map((e) => [
|
|
578
578
|
e.name,
|
|
579
|
-
ae(e.formatter, e.target,
|
|
579
|
+
ae(e.formatter, e.target, u({
|
|
580
580
|
p: e.prefix,
|
|
581
581
|
v: e.target,
|
|
582
582
|
s: e.suffix,
|
|
583
583
|
r: F.value.table.td.roundingValue
|
|
584
584
|
})),
|
|
585
|
-
...e.values.map((t, n) => `${ae(e.formatter, t,
|
|
585
|
+
...e.values.map((t, n) => `${ae(e.formatter, t, u({
|
|
586
586
|
p: q.value[n]?.prefix ?? "",
|
|
587
587
|
v: t,
|
|
588
588
|
s: q.value[n]?.suffix ?? "",
|
|
589
589
|
r: F.value.table.td.roundingValue
|
|
590
|
-
}))} (${isNaN(t / e.target) ? "" :
|
|
590
|
+
}))} (${isNaN(t / e.target) ? "" : u({
|
|
591
591
|
v: t / e.target * 100,
|
|
592
592
|
s: "%",
|
|
593
593
|
r: F.value.table.td.roundingPercentage
|
|
@@ -608,9 +608,9 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
608
608
|
},
|
|
609
609
|
colNames: e
|
|
610
610
|
};
|
|
611
|
-
}), Q =
|
|
611
|
+
}), Q = w(null), Nn = w([]), Pn = w(null);
|
|
612
612
|
function Fn(e, t) {
|
|
613
|
-
|
|
613
|
+
M.value = !1, Q.value = null, P.value = null, Kt.value = "pointer", F.value.events.datapointLeave && F.value.events.datapointLeave({
|
|
614
614
|
datapoint: e,
|
|
615
615
|
seriesIndex: t
|
|
616
616
|
});
|
|
@@ -621,38 +621,38 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
621
621
|
seriesIndex: t
|
|
622
622
|
});
|
|
623
623
|
}
|
|
624
|
-
function Ln(e, t,
|
|
624
|
+
function Ln(e, t, r = "pointer") {
|
|
625
625
|
F.value.events.datapointEnter && F.value.events.datapointEnter({
|
|
626
626
|
datapoint: e,
|
|
627
627
|
seriesIndex: t
|
|
628
|
-
}),
|
|
629
|
-
let
|
|
630
|
-
Nn.value = [], Q.value = t,
|
|
628
|
+
}), Kt.value = r, P.value = t;
|
|
629
|
+
let i = q.value.slice();
|
|
630
|
+
Nn.value = [], Q.value = t, M.value = !0, Pn.value = {
|
|
631
631
|
datapoint: e,
|
|
632
632
|
seriesIndex: t,
|
|
633
633
|
series: {
|
|
634
|
-
categories:
|
|
634
|
+
categories: i,
|
|
635
635
|
datapoints: J.value,
|
|
636
636
|
radar: Y.value
|
|
637
637
|
},
|
|
638
638
|
config: F.value
|
|
639
639
|
};
|
|
640
|
-
let
|
|
641
|
-
if (
|
|
640
|
+
let a = F.value.style.chart.tooltip.customFormat;
|
|
641
|
+
if (n(a) && oe(() => a({
|
|
642
642
|
seriesIndex: t,
|
|
643
643
|
datapoint: e,
|
|
644
644
|
series: {
|
|
645
|
-
categories:
|
|
645
|
+
categories: i,
|
|
646
646
|
datapoints: J.value,
|
|
647
647
|
radar: Y.value
|
|
648
648
|
},
|
|
649
649
|
config: F.value
|
|
650
650
|
}))) {
|
|
651
|
-
|
|
651
|
+
Nt.value = a({
|
|
652
652
|
seriesIndex: t,
|
|
653
653
|
datapoint: e,
|
|
654
654
|
series: {
|
|
655
|
-
categories:
|
|
655
|
+
categories: i,
|
|
656
656
|
datapoints: J.value,
|
|
657
657
|
radar: Y.value
|
|
658
658
|
},
|
|
@@ -660,23 +660,23 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
660
660
|
});
|
|
661
661
|
return;
|
|
662
662
|
}
|
|
663
|
-
|
|
663
|
+
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>`;
|
|
664
664
|
for (let t = 0; t < e.values.length; t += 1) if (!W.value.includes(t)) {
|
|
665
|
-
let n =
|
|
665
|
+
let n = i[t], r = e.values[t], a = isNaN(r / e.target) ? 0 : r / e.target * 100, o = ae(e.formatter, r, u({
|
|
666
666
|
p: q.value[t].prefix,
|
|
667
|
-
v:
|
|
667
|
+
v: r,
|
|
668
668
|
s: q.value[t].suffix,
|
|
669
669
|
r: F.value.style.chart.tooltip.roundingValue
|
|
670
|
-
}), { datapoint: e }), s =
|
|
670
|
+
}), { datapoint: e }), s = u({
|
|
671
671
|
v: a,
|
|
672
672
|
s: "%",
|
|
673
673
|
r: F.value.style.chart.tooltip.roundingPercentage
|
|
674
|
-
}),
|
|
674
|
+
}), 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}` : "";
|
|
675
675
|
Nn.value.push({
|
|
676
676
|
name: n?.name ?? `#${t + 1}`,
|
|
677
677
|
value: e.values[t] / e.target * 100,
|
|
678
678
|
color: n?.color,
|
|
679
|
-
suffix:
|
|
679
|
+
suffix: c,
|
|
680
680
|
prefix: "",
|
|
681
681
|
rounding: F.value.style.chart.tooltip.roundingPercentage,
|
|
682
682
|
formatter: e.formatter
|
|
@@ -684,8 +684,8 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
684
684
|
}
|
|
685
685
|
}
|
|
686
686
|
function Rn(e = null) {
|
|
687
|
-
|
|
688
|
-
let
|
|
687
|
+
Ie(() => {
|
|
688
|
+
let n = [
|
|
689
689
|
[F.value.style.chart.title.text],
|
|
690
690
|
[F.value.style.chart.title.subtitle.text],
|
|
691
691
|
[""]
|
|
@@ -697,16 +697,16 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
697
697
|
e.name,
|
|
698
698
|
e.target,
|
|
699
699
|
...e.values.flatMap((t) => [t, isNaN(t / e.target) ? "" : t / e.target * 100])
|
|
700
|
-
]), o =
|
|
700
|
+
]), o = n.concat([i]).concat(a), s = r(o);
|
|
701
701
|
e ? e(s) : t({
|
|
702
702
|
csvContent: s,
|
|
703
703
|
title: F.value.style.chart.title.text || "vue-ui-radar"
|
|
704
704
|
});
|
|
705
705
|
});
|
|
706
706
|
}
|
|
707
|
-
let $ =
|
|
707
|
+
let $ = w(!1);
|
|
708
708
|
function zn(e) {
|
|
709
|
-
$.value = e,
|
|
709
|
+
$.value = e, Pt.value += 1;
|
|
710
710
|
}
|
|
711
711
|
function Bn() {
|
|
712
712
|
H.value.showTable = !H.value.showTable;
|
|
@@ -714,14 +714,14 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
714
714
|
function Vn() {
|
|
715
715
|
H.value.showTooltip = !H.value.showTooltip;
|
|
716
716
|
}
|
|
717
|
-
let Hn =
|
|
717
|
+
let Hn = w(!1);
|
|
718
718
|
function Un() {
|
|
719
719
|
Hn.value = !Hn.value;
|
|
720
720
|
}
|
|
721
721
|
async function Wn({ scale: e = 2 } = {}) {
|
|
722
|
-
if (!
|
|
723
|
-
let { width: t, height: n } =
|
|
724
|
-
domElement:
|
|
722
|
+
if (!N.value) return;
|
|
723
|
+
let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ve({
|
|
724
|
+
domElement: N.value,
|
|
725
725
|
base64: !0,
|
|
726
726
|
img: !0,
|
|
727
727
|
scale: e
|
|
@@ -735,10 +735,10 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
735
735
|
aspectRatio: r
|
|
736
736
|
};
|
|
737
737
|
}
|
|
738
|
-
let Gn =
|
|
738
|
+
let Gn = p(() => {
|
|
739
739
|
let e = F.value.table.useDialog && !F.value.table.show, t = H.value.showTable;
|
|
740
740
|
return {
|
|
741
|
-
component: e ?
|
|
741
|
+
component: e ? Ot : Ct,
|
|
742
742
|
title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
|
|
743
743
|
props: e ? {
|
|
744
744
|
backgroundColor: F.value.table.th.backgroundColor,
|
|
@@ -746,7 +746,7 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
746
746
|
headerColor: F.value.table.th.color,
|
|
747
747
|
headerBg: F.value.table.th.backgroundColor,
|
|
748
748
|
isFullscreen: $.value,
|
|
749
|
-
fullscreenParent:
|
|
749
|
+
fullscreenParent: N.value,
|
|
750
750
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
751
751
|
isCursorPointer: I.value
|
|
752
752
|
} : {
|
|
@@ -766,16 +766,16 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
766
766
|
}
|
|
767
767
|
};
|
|
768
768
|
});
|
|
769
|
-
|
|
770
|
-
F.value.table.show || (e && F.value.table.useDialog &&
|
|
769
|
+
He(() => H.value.showTable, (e) => {
|
|
770
|
+
F.value.table.show || (e && F.value.table.useDialog && Ut.value ? Ut.value.open() : "close" in Ut.value && Ut.value.close());
|
|
771
771
|
});
|
|
772
772
|
function Kn() {
|
|
773
|
-
H.value.showTable = !1,
|
|
773
|
+
H.value.showTable = !1, Wt.value && Wt.value.setTableIconState(!1);
|
|
774
774
|
}
|
|
775
|
-
let qn =
|
|
775
|
+
let qn = p(() => X.value.map((e) => ({
|
|
776
776
|
...e,
|
|
777
777
|
name: e.display
|
|
778
|
-
}))), Jn =
|
|
778
|
+
}))), Jn = p(() => F.value.style.chart.backgroundColor), Yn = p(() => F.value.style.chart.legend), Xn = p(() => F.value.style.chart.title), { isCallbackImaging: Zn, isCallbackSvg: Qn, generateSvg: $n, onGenerateImage: er } = _e({
|
|
779
779
|
svg: R,
|
|
780
780
|
title: Xn,
|
|
781
781
|
legend: Yn,
|
|
@@ -798,17 +798,17 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
798
798
|
}));
|
|
799
799
|
}
|
|
800
800
|
function nr() {
|
|
801
|
-
|
|
801
|
+
P.value = null, qt.value = !0;
|
|
802
802
|
}
|
|
803
803
|
function rr() {
|
|
804
|
-
|
|
804
|
+
P.value = null, Kt.value = "pointer", M.value = !1, Q.value = null, qt.value = !1;
|
|
805
805
|
}
|
|
806
806
|
function ir(e) {
|
|
807
807
|
if (!Number.isFinite(e) || !R.value) return;
|
|
808
808
|
let t = Y.value[e];
|
|
809
809
|
if (!t) return;
|
|
810
810
|
let n = R.value.getBoundingClientRect();
|
|
811
|
-
|
|
811
|
+
Gt.value = {
|
|
812
812
|
x: n.left + t.labelX / U.value.width * n.width,
|
|
813
813
|
y: n.top + t.labelY / U.value.height * n.height
|
|
814
814
|
};
|
|
@@ -818,26 +818,26 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
818
818
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
819
819
|
if (!t && !n && !r && !i) return;
|
|
820
820
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
821
|
-
|
|
821
|
+
P.value = null, Kt.value = "pointer", M.value = !1, Q.value = null;
|
|
822
822
|
return;
|
|
823
823
|
}
|
|
824
824
|
if (r) {
|
|
825
|
-
if (
|
|
826
|
-
let e = Y.value[
|
|
825
|
+
if (P.value === null) return;
|
|
826
|
+
let e = Y.value[P.value];
|
|
827
827
|
if (!e) return;
|
|
828
|
-
In(e,
|
|
828
|
+
In(e, P.value);
|
|
829
829
|
return;
|
|
830
830
|
}
|
|
831
|
-
let a =
|
|
831
|
+
let a = P.value;
|
|
832
832
|
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));
|
|
833
833
|
let o = Y.value[a];
|
|
834
|
-
o && (
|
|
834
|
+
o && (P.value = a, ir(a), Ln(o, a, "keyboard"));
|
|
835
835
|
}
|
|
836
|
-
let or =
|
|
836
|
+
let or = p(() => ({
|
|
837
837
|
headers: Z.value?.colNames?.map((e) => e.name ?? e) ?? [],
|
|
838
838
|
rows: Z.value?.body ?? []
|
|
839
839
|
}));
|
|
840
|
-
return
|
|
840
|
+
return be({
|
|
841
841
|
getData: mn,
|
|
842
842
|
getImage: Wn,
|
|
843
843
|
generatePdf: an,
|
|
@@ -851,22 +851,22 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
851
851
|
toggleAnnotator: Un,
|
|
852
852
|
toggleFullscreen: zn,
|
|
853
853
|
copyAlt: tr
|
|
854
|
-
}), (e, t) => (
|
|
855
|
-
class:
|
|
854
|
+
}), (e, t) => (C(), g("div", {
|
|
855
|
+
class: b(`vue-data-ui-component vue-ui-radar ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
856
856
|
ref_key: "radarChart",
|
|
857
|
-
ref:
|
|
858
|
-
id: `vue-ui-radar_${
|
|
859
|
-
style:
|
|
860
|
-
onMouseenter: t[2] ||= () =>
|
|
861
|
-
onMouseleave: t[3] ||= () =>
|
|
857
|
+
ref: N,
|
|
858
|
+
id: `vue-ui-radar_${j.value}`,
|
|
859
|
+
style: S(`font-family:${F.value.style.fontFamily};width:100%; ${F.value.responsive ? "height: 100%;" : ""} text-align:center;background:${F.value.style.chart.backgroundColor}`),
|
|
860
|
+
onMouseenter: t[2] ||= () => O(Zt)(!0),
|
|
861
|
+
onMouseleave: t[3] ||= () => O(Zt)(!1)
|
|
862
862
|
}, [
|
|
863
|
-
|
|
864
|
-
id: `chart-instructions-${
|
|
863
|
+
_("div", {
|
|
864
|
+
id: `chart-instructions-${j.value}`,
|
|
865
865
|
class: "sr-only"
|
|
866
|
-
}, [
|
|
867
|
-
or.value?.rows?.length ? (
|
|
866
|
+
}, [_("p", null, D(F.value.a11y.translations.keyboardNavigation), 1)], 8, Ge),
|
|
867
|
+
or.value?.rows?.length ? (C(), m(Te, {
|
|
868
868
|
key: 0,
|
|
869
|
-
uid:
|
|
869
|
+
uid: j.value,
|
|
870
870
|
head: or.value.headers,
|
|
871
871
|
body: or.value.rows,
|
|
872
872
|
notice: F.value.a11y.translations.tableAvailable,
|
|
@@ -877,22 +877,22 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
877
877
|
"body",
|
|
878
878
|
"notice",
|
|
879
879
|
"caption"
|
|
880
|
-
])) :
|
|
881
|
-
F.value.userOptions.buttons.annotator ? (
|
|
880
|
+
])) : h("", !0),
|
|
881
|
+
F.value.userOptions.buttons.annotator ? (C(), m(O(Tt), {
|
|
882
882
|
key: 1,
|
|
883
|
-
svgRef:
|
|
883
|
+
svgRef: O(R),
|
|
884
884
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
885
885
|
color: F.value.style.chart.color,
|
|
886
886
|
active: Hn.value,
|
|
887
887
|
isCursorPointer: I.value,
|
|
888
888
|
onClose: Un
|
|
889
889
|
}, {
|
|
890
|
-
"annotator-action-close":
|
|
891
|
-
"annotator-action-color":
|
|
892
|
-
"annotator-action-draw":
|
|
893
|
-
"annotator-action-undo":
|
|
894
|
-
"annotator-action-redo":
|
|
895
|
-
"annotator-action-delete":
|
|
890
|
+
"annotator-action-close": k(() => [E(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
891
|
+
"annotator-action-color": k(({ color: t }) => [E(e.$slots, "annotator-action-color", x(y({ color: t })), void 0, !0)]),
|
|
892
|
+
"annotator-action-draw": k(({ mode: t }) => [E(e.$slots, "annotator-action-draw", x(y({ mode: t })), void 0, !0)]),
|
|
893
|
+
"annotator-action-undo": k(({ disabled: t }) => [E(e.$slots, "annotator-action-undo", x(y({ disabled: t })), void 0, !0)]),
|
|
894
|
+
"annotator-action-redo": k(({ disabled: t }) => [E(e.$slots, "annotator-action-redo", x(y({ disabled: t })), void 0, !0)]),
|
|
895
|
+
"annotator-action-delete": k(({ disabled: t }) => [E(e.$slots, "annotator-action-delete", x(y({ disabled: t })), void 0, !0)]),
|
|
896
896
|
_: 3
|
|
897
897
|
}, 8, [
|
|
898
898
|
"svgRef",
|
|
@@ -900,21 +900,21 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
900
900
|
"color",
|
|
901
901
|
"active",
|
|
902
902
|
"isCursorPointer"
|
|
903
|
-
])) :
|
|
904
|
-
sn.value ? (
|
|
903
|
+
])) : h("", !0),
|
|
904
|
+
sn.value ? (C(), g("div", {
|
|
905
905
|
key: 2,
|
|
906
906
|
ref_key: "noTitle",
|
|
907
|
-
ref:
|
|
907
|
+
ref: Rt,
|
|
908
908
|
class: "vue-data-ui-no-title-space",
|
|
909
909
|
style: "height:36px; width: 100%;background:transparent"
|
|
910
|
-
}, null, 512)) :
|
|
911
|
-
F.value.style.chart.title.text ? (
|
|
910
|
+
}, null, 512)) : h("", !0),
|
|
911
|
+
F.value.style.chart.title.text ? (C(), g("div", {
|
|
912
912
|
key: 3,
|
|
913
913
|
ref_key: "chartTitle",
|
|
914
|
-
ref:
|
|
914
|
+
ref: Ft,
|
|
915
915
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
916
|
-
}, [(
|
|
917
|
-
key: `title_${
|
|
916
|
+
}, [(C(), m(ye, {
|
|
917
|
+
key: `title_${zt.value}`,
|
|
918
918
|
config: {
|
|
919
919
|
title: {
|
|
920
920
|
cy: "radar-div-title",
|
|
@@ -925,17 +925,17 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
925
925
|
...F.value.style.chart.title.subtitle
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
|
-
}, null, 8, ["config"]))], 512)) :
|
|
929
|
-
|
|
930
|
-
F.value.userOptions.show &&
|
|
928
|
+
}, null, 8, ["config"]))], 512)) : h("", !0),
|
|
929
|
+
_("div", { id: `legend-top-${j.value}` }, null, 8, Ke),
|
|
930
|
+
F.value.userOptions.show && Mt.value && (O(Qt) || O(Xt)) ? (C(), m(O(Et), {
|
|
931
931
|
ref_key: "userOptionsRef",
|
|
932
|
-
ref:
|
|
933
|
-
key: `user_options_${
|
|
932
|
+
ref: Wt,
|
|
933
|
+
key: `user_options_${Pt.value}`,
|
|
934
934
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
935
935
|
color: F.value.style.chart.color,
|
|
936
|
-
isImaging:
|
|
937
|
-
isPrinting:
|
|
938
|
-
uid:
|
|
936
|
+
isImaging: O(rn),
|
|
937
|
+
isPrinting: O(nn),
|
|
938
|
+
uid: j.value,
|
|
939
939
|
hasTooltip: F.value.userOptions.buttons.tooltip && F.value.style.chart.tooltip.show,
|
|
940
940
|
hasPdf: F.value.userOptions.buttons.pdf,
|
|
941
941
|
hasImg: F.value.userOptions.buttons.img,
|
|
@@ -947,7 +947,7 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
947
947
|
isFullscreen: $.value,
|
|
948
948
|
isTooltip: H.value.showTooltip,
|
|
949
949
|
titles: { ...F.value.userOptions.buttonTitles },
|
|
950
|
-
chartElement:
|
|
950
|
+
chartElement: N.value,
|
|
951
951
|
position: F.value.userOptions.position,
|
|
952
952
|
hasAnnotator: F.value.userOptions.buttons.annotator,
|
|
953
953
|
isAnnotation: Hn.value,
|
|
@@ -956,19 +956,19 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
956
956
|
tableDialog: F.value.table.useDialog,
|
|
957
957
|
isCursorPointer: I.value,
|
|
958
958
|
onToggleFullscreen: zn,
|
|
959
|
-
onGeneratePdf:
|
|
959
|
+
onGeneratePdf: O(an),
|
|
960
960
|
onGenerateCsv: Rn,
|
|
961
|
-
onGenerateImage:
|
|
962
|
-
onGenerateSvg:
|
|
961
|
+
onGenerateImage: O(er),
|
|
962
|
+
onGenerateSvg: O($n),
|
|
963
963
|
onToggleTable: Bn,
|
|
964
964
|
onToggleTooltip: Vn,
|
|
965
965
|
onToggleAnnotator: Un,
|
|
966
966
|
onCopyAlt: tr,
|
|
967
|
-
style:
|
|
968
|
-
},
|
|
967
|
+
style: S({ visibility: O(Qt) ? O(Xt) ? "visible" : "hidden" : "visible" })
|
|
968
|
+
}, Me({ _: 2 }, [
|
|
969
969
|
e.$slots.menuIcon ? {
|
|
970
970
|
name: "menuIcon",
|
|
971
|
-
fn:
|
|
971
|
+
fn: k(({ isOpen: t, color: n }) => [E(e.$slots, "menuIcon", x(y({
|
|
972
972
|
isOpen: t,
|
|
973
973
|
color: n
|
|
974
974
|
})), void 0, !0)]),
|
|
@@ -976,37 +976,37 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
976
976
|
} : void 0,
|
|
977
977
|
e.$slots.optionTooltip ? {
|
|
978
978
|
name: "optionTooltip",
|
|
979
|
-
fn:
|
|
979
|
+
fn: k(() => [E(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
980
980
|
key: "1"
|
|
981
981
|
} : void 0,
|
|
982
982
|
e.$slots.optionPdf ? {
|
|
983
983
|
name: "optionPdf",
|
|
984
|
-
fn:
|
|
984
|
+
fn: k(() => [E(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
985
985
|
key: "2"
|
|
986
986
|
} : void 0,
|
|
987
987
|
e.$slots.optionCsv ? {
|
|
988
988
|
name: "optionCsv",
|
|
989
|
-
fn:
|
|
989
|
+
fn: k(() => [E(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
990
990
|
key: "3"
|
|
991
991
|
} : void 0,
|
|
992
992
|
e.$slots.optionImg ? {
|
|
993
993
|
name: "optionImg",
|
|
994
|
-
fn:
|
|
994
|
+
fn: k(() => [E(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
995
995
|
key: "4"
|
|
996
996
|
} : void 0,
|
|
997
997
|
e.$slots.optionSvg ? {
|
|
998
998
|
name: "optionSvg",
|
|
999
|
-
fn:
|
|
999
|
+
fn: k(() => [E(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1000
1000
|
key: "5"
|
|
1001
1001
|
} : void 0,
|
|
1002
1002
|
e.$slots.optionTable ? {
|
|
1003
1003
|
name: "optionTable",
|
|
1004
|
-
fn:
|
|
1004
|
+
fn: k(() => [E(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
1005
1005
|
key: "6"
|
|
1006
1006
|
} : void 0,
|
|
1007
1007
|
e.$slots.optionFullscreen ? {
|
|
1008
1008
|
name: "optionFullscreen",
|
|
1009
|
-
fn:
|
|
1009
|
+
fn: k(({ toggleFullscreen: t, isFullscreen: n }) => [E(e.$slots, "optionFullscreen", x(y({
|
|
1010
1010
|
toggleFullscreen: t,
|
|
1011
1011
|
isFullscreen: n
|
|
1012
1012
|
})), void 0, !0)]),
|
|
@@ -1014,7 +1014,7 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1014
1014
|
} : void 0,
|
|
1015
1015
|
e.$slots.optionAnnotator ? {
|
|
1016
1016
|
name: "optionAnnotator",
|
|
1017
|
-
fn:
|
|
1017
|
+
fn: k(({ toggleAnnotator: t, isAnnotator: n }) => [E(e.$slots, "optionAnnotator", x(y({
|
|
1018
1018
|
toggleAnnotator: t,
|
|
1019
1019
|
isAnnotator: n
|
|
1020
1020
|
})), void 0, !0)]),
|
|
@@ -1022,65 +1022,65 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1022
1022
|
} : void 0,
|
|
1023
1023
|
e.$slots.optionAltCopy ? {
|
|
1024
1024
|
name: "optionAltCopy",
|
|
1025
|
-
fn:
|
|
1025
|
+
fn: k(({ altCopy: t }) => [E(e.$slots, "optionAltCopy", x(y({ altCopy: t })), void 0, !0)]),
|
|
1026
1026
|
key: "9"
|
|
1027
1027
|
} : void 0,
|
|
1028
1028
|
e.$slots["custom-menu-before"] ? {
|
|
1029
1029
|
name: "custom-menu-before",
|
|
1030
|
-
fn:
|
|
1030
|
+
fn: k(() => [E(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1031
1031
|
key: "10"
|
|
1032
1032
|
} : void 0,
|
|
1033
1033
|
e.$slots["custom-menu-after"] ? {
|
|
1034
1034
|
name: "custom-menu-after",
|
|
1035
|
-
fn:
|
|
1035
|
+
fn: k(() => [E(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1036
1036
|
key: "11"
|
|
1037
1037
|
} : void 0
|
|
1038
|
-
]), 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.onGenerateImage.onGenerateSvg.style".split("."))) :
|
|
1039
|
-
|
|
1038
|
+
]), 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.onGenerateImage.onGenerateSvg.style".split("."))) : h("", !0),
|
|
1039
|
+
_("div", qe, [(C(), g("svg", {
|
|
1040
1040
|
ref_key: "svgRef",
|
|
1041
1041
|
ref: R,
|
|
1042
|
-
xmlns:
|
|
1043
|
-
"aria-describedby": `chart-instructions-${
|
|
1044
|
-
class:
|
|
1042
|
+
xmlns: O(ce),
|
|
1043
|
+
"aria-describedby": `chart-instructions-${j.value}`,
|
|
1044
|
+
class: b({
|
|
1045
1045
|
"vue-data-ui-fullscreen--on": $.value,
|
|
1046
1046
|
"vue-data-ui-fulscreen--off": !$.value
|
|
1047
1047
|
}),
|
|
1048
1048
|
viewBox: `0 0 ${U.value.width <= 0 ? 10 : U.value.width} ${U.value.height <= 0 ? 10 : U.value.height}`,
|
|
1049
|
-
style:
|
|
1049
|
+
style: S(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.chart.color}`),
|
|
1050
1050
|
tabindex: "0",
|
|
1051
1051
|
onFocus: nr,
|
|
1052
1052
|
onBlur: rr,
|
|
1053
1053
|
onKeydown: ar
|
|
1054
1054
|
}, [
|
|
1055
|
-
|
|
1056
|
-
e.$slots["chart-background"] ? (
|
|
1055
|
+
Pe(O(Dt)),
|
|
1056
|
+
e.$slots["chart-background"] ? (C(), g("foreignObject", {
|
|
1057
1057
|
key: 0,
|
|
1058
1058
|
x: 0,
|
|
1059
1059
|
y: 0,
|
|
1060
1060
|
width: U.value.width <= 0 ? 10 : U.value.width,
|
|
1061
1061
|
height: U.value.height <= 0 ? 10 : U.value.height,
|
|
1062
1062
|
style: { pointerEvents: "none" }
|
|
1063
|
-
}, [
|
|
1064
|
-
|
|
1063
|
+
}, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, Ye)) : h("", !0),
|
|
1064
|
+
_("defs", null, [(C(!0), g(f, null, T(q.value, (e, t) => (C(), m(Ce, {
|
|
1065
1065
|
t: "radial",
|
|
1066
1066
|
cx: "50%",
|
|
1067
1067
|
cy: "50%",
|
|
1068
1068
|
r: "50%",
|
|
1069
1069
|
fx: "50%",
|
|
1070
1070
|
fy: "50%",
|
|
1071
|
-
id: `radar_gradient_${
|
|
1072
|
-
key: `radar_gradient_${
|
|
1071
|
+
id: `radar_gradient_${j.value}_${t}`,
|
|
1072
|
+
key: `radar_gradient_${j.value}_${t}`,
|
|
1073
1073
|
stops: [[
|
|
1074
1074
|
"0%",
|
|
1075
|
-
|
|
1075
|
+
O(l)(O(ee)(e.color, .05), F.value.style.chart.layout.dataPolygon.opacity),
|
|
1076
1076
|
1
|
|
1077
1077
|
], [
|
|
1078
1078
|
"100%",
|
|
1079
|
-
|
|
1079
|
+
O(l)(e.color, F.value.style.chart.layout.dataPolygon.opacity),
|
|
1080
1080
|
1
|
|
1081
1081
|
]]
|
|
1082
1082
|
}, null, 8, ["id", "stops"]))), 128))]),
|
|
1083
|
-
F.value.style.chart.layout.grid.show ? (
|
|
1083
|
+
F.value.style.chart.layout.grid.show ? (C(), g("g", Xe, [(C(!0), g(f, null, T(Y.value, (e) => (C(), g("line", {
|
|
1084
1084
|
x1: U.value.width / 2,
|
|
1085
1085
|
y1: U.value.height / 2,
|
|
1086
1086
|
x2: e.x,
|
|
@@ -1088,8 +1088,8 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1088
1088
|
stroke: F.value.style.chart.layout.grid.stroke,
|
|
1089
1089
|
"stroke-width": F.value.style.chart.layout.grid.strokeWidth,
|
|
1090
1090
|
style: { "pointer-events": "none" }
|
|
1091
|
-
}, null, 8,
|
|
1092
|
-
d:
|
|
1091
|
+
}, null, 8, Ze))), 256)), F.value.style.chart.layout.grid.graduations > 0 ? (C(), g("g", Qe, [(C(!0), g(f, null, T(Dn.value, (e) => (C(), g("path", {
|
|
1092
|
+
d: O(a)({
|
|
1093
1093
|
plot: {
|
|
1094
1094
|
x: U.value.width / 2,
|
|
1095
1095
|
y: U.value.height / 2
|
|
@@ -1101,8 +1101,8 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1101
1101
|
fill: "none",
|
|
1102
1102
|
stroke: F.value.style.chart.layout.grid.stroke,
|
|
1103
1103
|
"stroke-width": F.value.style.chart.layout.grid.strokeWidth
|
|
1104
|
-
}, null, 8,
|
|
1105
|
-
|
|
1104
|
+
}, null, 8, $e))), 256))])) : h("", !0)])) : h("", !0),
|
|
1105
|
+
_("path", {
|
|
1106
1106
|
d: En.value.path,
|
|
1107
1107
|
fill: "none",
|
|
1108
1108
|
stroke: F.value.style.chart.layout.outerPolygon.stroke,
|
|
@@ -1110,8 +1110,8 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1110
1110
|
"stroke-linejoin": "round",
|
|
1111
1111
|
"stroke-linecap": "round",
|
|
1112
1112
|
style: { "pointer-events": "none" }
|
|
1113
|
-
}, null, 8,
|
|
1114
|
-
F.value.style.chart.layout.labels.dataLabels.show ? (
|
|
1113
|
+
}, null, 8, et),
|
|
1114
|
+
F.value.style.chart.layout.labels.dataLabels.show ? (C(), g("g", tt, [(C(!0), g(f, null, T(Y.value, (e, t) => (C(), g("text", {
|
|
1115
1115
|
class: "vue-ui-radar-apex-label",
|
|
1116
1116
|
x: e.labelX,
|
|
1117
1117
|
y: e.labelY,
|
|
@@ -1122,34 +1122,34 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1122
1122
|
onMouseenter: (n) => Ln(e, t, "pointer"),
|
|
1123
1123
|
onMouseleave: (n) => Fn(e, t),
|
|
1124
1124
|
onClick: (n) => In(e, t)
|
|
1125
|
-
},
|
|
1126
|
-
(
|
|
1125
|
+
}, D(e.name), 41, nt))), 256))])) : h("", !0),
|
|
1126
|
+
(C(!0), g(f, null, T(q.value, (e, t) => (C(), g("g", null, [_("g", null, [F.value.useCssAnimation || !F.value.useCssAnimation && !W.value.includes(t) ? (C(), g("polygon", {
|
|
1127
1127
|
key: 0,
|
|
1128
|
-
points:
|
|
1128
|
+
points: O(o)(Y.value.map((e) => e.plots[t]), !1, !0),
|
|
1129
1129
|
stroke: F.value.style.chart.backgroundColor,
|
|
1130
1130
|
"stroke-width": F.value.style.chart.layout.dataPolygon.strokeWidth + 1,
|
|
1131
1131
|
fill: "none",
|
|
1132
|
-
class:
|
|
1132
|
+
class: b({
|
|
1133
1133
|
"animated-out": W.value.includes(t) && F.value.useCssAnimation,
|
|
1134
1134
|
"animated-in": K.value && G.value === t && F.value.useCssAnimation
|
|
1135
1135
|
}),
|
|
1136
1136
|
style: { "pointer-events": "none" }
|
|
1137
|
-
}, null, 10,
|
|
1137
|
+
}, null, 10, rt)) : h("", !0), F.value.useCssAnimation || !F.value.useCssAnimation && !W.value.includes(t) ? (C(), g("polygon", {
|
|
1138
1138
|
key: 1,
|
|
1139
|
-
points:
|
|
1139
|
+
points: O(o)(Y.value.map((e) => e.plots[t]), !1, !0),
|
|
1140
1140
|
stroke: e.color,
|
|
1141
1141
|
"stroke-width": F.value.style.chart.layout.dataPolygon.strokeWidth,
|
|
1142
|
-
fill: F.value.style.chart.layout.dataPolygon.transparent ? "transparent" : F.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${
|
|
1143
|
-
class:
|
|
1142
|
+
fill: F.value.style.chart.layout.dataPolygon.transparent ? "transparent" : F.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${j.value}_${t})` : O(l)(e.color, F.value.style.chart.layout.dataPolygon.opacity),
|
|
1143
|
+
class: b({
|
|
1144
1144
|
"animated-out": W.value.includes(t) && F.value.useCssAnimation,
|
|
1145
1145
|
"animated-in": K.value && G.value === t && F.value.useCssAnimation
|
|
1146
1146
|
}),
|
|
1147
1147
|
style: { "pointer-events": "none" }
|
|
1148
|
-
}, null, 10,
|
|
1149
|
-
F.value.style.chart.layout.targetReference.show ? (
|
|
1148
|
+
}, null, 10, it)) : h("", !0)])]))), 256)),
|
|
1149
|
+
F.value.style.chart.layout.targetReference.show ? (C(), g("path", {
|
|
1150
1150
|
key: 3,
|
|
1151
1151
|
class: "vue-ui-radar-target-polygon",
|
|
1152
|
-
d: `M${
|
|
1152
|
+
d: `M${O(o)(xn.value, !1, !0)}Z`,
|
|
1153
1153
|
fill: "none",
|
|
1154
1154
|
stroke: F.value.style.chart.layout.targetReference.stroke,
|
|
1155
1155
|
"stroke-width": F.value.style.chart.layout.targetReference.strokeWidth,
|
|
@@ -1157,63 +1157,63 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1157
1157
|
"stroke-linecap": "round",
|
|
1158
1158
|
"stroke-dasharray": F.value.style.chart.layout.targetReference.strokeDasharray,
|
|
1159
1159
|
style: { "pointer-events": "none" }
|
|
1160
|
-
}, null, 8,
|
|
1161
|
-
F.value.style.chart.layout.plots.show ? (
|
|
1160
|
+
}, null, 8, at)) : h("", !0),
|
|
1161
|
+
F.value.style.chart.layout.plots.show ? (C(), g("g", ot, [(C(!0), g(f, null, T(Y.value, (e, t) => (C(), g("g", { key: `radar-category-${t}` }, [(C(!0), g(f, null, T(e.plots, (n, r) => (C(), g("g", {
|
|
1162
1162
|
key: `radar-plot-${t}-${r}`,
|
|
1163
1163
|
onMouseenter: (n) => !W.value.includes(r) && Ln(e, t, "pointer"),
|
|
1164
1164
|
onMouseleave: (n) => !W.value.includes(r) && Fn(e, t),
|
|
1165
1165
|
onClick: (n) => !W.value.includes(r) && In(e, t)
|
|
1166
|
-
}, [
|
|
1166
|
+
}, [_("circle", {
|
|
1167
1167
|
cx: n.x,
|
|
1168
1168
|
cy: n.y,
|
|
1169
1169
|
r: wn.value,
|
|
1170
1170
|
fill: "transparent",
|
|
1171
1171
|
stroke: "transparent",
|
|
1172
|
-
style:
|
|
1173
|
-
}, null, 12,
|
|
1172
|
+
style: S({ pointerEvents: W.value.includes(r) ? "none" : "all" })
|
|
1173
|
+
}, null, 12, ct), _("circle", {
|
|
1174
1174
|
cx: n.x,
|
|
1175
1175
|
cy: n.y,
|
|
1176
1176
|
fill: W.value.includes(r) ? "transparent" : q.value[r] ? q.value[r].color : "transparent",
|
|
1177
1177
|
r: Q.value !== null && Q.value === t ? F.value.style.chart.layout.plots.radius * 1.6 : F.value.style.chart.layout.plots.radius,
|
|
1178
1178
|
stroke: W.value.includes(r) ? "transparent" : F.value.style.chart.backgroundColor,
|
|
1179
1179
|
"stroke-width": .5,
|
|
1180
|
-
class:
|
|
1180
|
+
class: b({
|
|
1181
1181
|
"animated-out": W.value.includes(r) && F.value.useCssAnimation,
|
|
1182
1182
|
"animated-in": K.value && G.value === r && F.value.useCssAnimation
|
|
1183
1183
|
}),
|
|
1184
1184
|
style: { "pointer-events": "none" }
|
|
1185
|
-
}, null, 10,
|
|
1186
|
-
|
|
1185
|
+
}, null, 10, lt)], 40, st))), 128))]))), 128))])) : h("", !0),
|
|
1186
|
+
E(e.$slots, "svg", { svg: {
|
|
1187
1187
|
...U.value,
|
|
1188
1188
|
outerPolygon: En.value,
|
|
1189
|
-
isPrintingImg:
|
|
1190
|
-
isPrintingSvg:
|
|
1189
|
+
isPrintingImg: O(nn) || O(rn) || O(Zn),
|
|
1190
|
+
isPrintingSvg: O(Qn)
|
|
1191
1191
|
} }, void 0, !0)
|
|
1192
|
-
], 46,
|
|
1192
|
+
], 46, Je)), e.$slots.hint ? (C(), g("div", ut, [E(e.$slots, "hint", x(y({
|
|
1193
1193
|
hint: F.value.a11y.translations.keyboardNavigation,
|
|
1194
1194
|
isVisible: qt.value
|
|
1195
|
-
})), void 0, !0)])) :
|
|
1196
|
-
e.$slots.watermark ? (
|
|
1197
|
-
|
|
1198
|
-
|
|
1195
|
+
})), void 0, !0)])) : h("", !0)]),
|
|
1196
|
+
e.$slots.watermark ? (C(), g("div", dt, [E(e.$slots, "watermark", x(y({ isPrinting: O(nn) || O(rn) || O(Zn) || O(Qn) })), void 0, !0)])) : h("", !0),
|
|
1197
|
+
_("div", { id: `legend-bottom-${j.value}` }, null, 8, ft),
|
|
1198
|
+
Ht.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (C(), m(je, {
|
|
1199
1199
|
key: 6,
|
|
1200
|
-
to: F.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
1201
|
-
}, [
|
|
1200
|
+
to: F.value.style.chart.legend.position === "top" ? `#legend-top-${j.value}` : `#legend-bottom-${j.value}`
|
|
1201
|
+
}, [_("div", {
|
|
1202
1202
|
ref_key: "chartLegend",
|
|
1203
|
-
ref:
|
|
1204
|
-
}, [
|
|
1205
|
-
key: `legend_${
|
|
1203
|
+
ref: It
|
|
1204
|
+
}, [E(e.$slots, "legend", { legend: X.value }, () => [F.value.style.chart.legend.show ? (C(), m(Oe, {
|
|
1205
|
+
key: `legend_${Vt.value}`,
|
|
1206
1206
|
legendSet: X.value,
|
|
1207
1207
|
config: Mn.value,
|
|
1208
1208
|
isCursorPointer: I.value,
|
|
1209
1209
|
onClickMarker: t[0] ||= ({ i: e }) => pn(e)
|
|
1210
|
-
},
|
|
1211
|
-
item:
|
|
1210
|
+
}, Me({
|
|
1211
|
+
item: k(({ legend: e, index: t }) => [O(Yt) ? h("", !0) : (C(), g("div", {
|
|
1212
1212
|
key: 0,
|
|
1213
1213
|
onClick: (t) => e.segregate(),
|
|
1214
|
-
style:
|
|
1215
|
-
},
|
|
1216
|
-
legendToggle:
|
|
1214
|
+
style: S(`opacity:${W.value.includes(t) ? .5 : 1}`)
|
|
1215
|
+
}, D(e.display), 13, pt))]),
|
|
1216
|
+
legendToggle: k(() => [X.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !O(Yt) ? (C(), m(we, {
|
|
1217
1217
|
key: 0,
|
|
1218
1218
|
backgroundColor: F.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1219
1219
|
color: F.value.style.chart.legend.selectAllToggle.color,
|
|
@@ -1227,17 +1227,17 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1227
1227
|
"fontSize",
|
|
1228
1228
|
"checked",
|
|
1229
1229
|
"isCursorPointer"
|
|
1230
|
-
])) :
|
|
1230
|
+
])) : h("", !0)]),
|
|
1231
1231
|
_: 2
|
|
1232
1232
|
}, [F.value.style.chart.layout.targetReference.show && F.value.style.chart.layout.targetReference.showInLegend ? {
|
|
1233
1233
|
name: "after",
|
|
1234
|
-
fn:
|
|
1234
|
+
fn: k(() => [_("div", mt, [_("div", { style: S({
|
|
1235
1235
|
display: "flex",
|
|
1236
1236
|
height: F.value.style.chart.legend.fontSize
|
|
1237
|
-
}) }, [(
|
|
1238
|
-
style:
|
|
1237
|
+
}) }, [(C(), g("svg", {
|
|
1238
|
+
style: S({ width: F.value.style.chart.legend.fontSize * 2 }),
|
|
1239
1239
|
viewBox: "0 0 16 8"
|
|
1240
|
-
}, [
|
|
1240
|
+
}, [_("line", {
|
|
1241
1241
|
x1: "0",
|
|
1242
1242
|
x2: "16",
|
|
1243
1243
|
y1: "4",
|
|
@@ -1246,22 +1246,22 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1246
1246
|
"stroke-width": F.value.style.chart.layout.targetReference.strokeWidth * .7,
|
|
1247
1247
|
"stroke-dasharray": F.value.style.chart.layout.targetReference.strokeDasharray * .7,
|
|
1248
1248
|
"stroke-linecap": "round"
|
|
1249
|
-
}, null, 8,
|
|
1249
|
+
}, null, 8, ht)], 4))], 4), _("span", null, D(F.value.style.chart.layout.targetReference.legendLabel), 1)])]),
|
|
1250
1250
|
key: "0"
|
|
1251
1251
|
} : void 0]), 1032, [
|
|
1252
1252
|
"legendSet",
|
|
1253
1253
|
"config",
|
|
1254
1254
|
"isCursorPointer"
|
|
1255
|
-
])) :
|
|
1256
|
-
e.$slots.source ? (
|
|
1255
|
+
])) : h("", !0)], !0)], 512)], 8, ["to"])) : h("", !0),
|
|
1256
|
+
e.$slots.source ? (C(), g("div", {
|
|
1257
1257
|
key: 7,
|
|
1258
1258
|
ref_key: "source",
|
|
1259
|
-
ref:
|
|
1259
|
+
ref: Lt,
|
|
1260
1260
|
dir: "auto"
|
|
1261
|
-
}, [
|
|
1262
|
-
|
|
1261
|
+
}, [E(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
|
|
1262
|
+
Pe(O(bt), {
|
|
1263
1263
|
teleportTo: F.value.style.chart.tooltip.teleportTo,
|
|
1264
|
-
show: H.value.showTooltip &&
|
|
1264
|
+
show: H.value.showTooltip && M.value,
|
|
1265
1265
|
backgroundColor: F.value.style.chart.tooltip.backgroundColor,
|
|
1266
1266
|
color: F.value.style.chart.tooltip.color,
|
|
1267
1267
|
borderRadius: F.value.style.chart.tooltip.borderRadius,
|
|
@@ -1272,27 +1272,27 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1272
1272
|
position: F.value.style.chart.tooltip.position,
|
|
1273
1273
|
offsetX: F.value.style.chart.tooltip.offsetX,
|
|
1274
1274
|
offsetY: F.value.style.chart.tooltip.offsetY,
|
|
1275
|
-
parent:
|
|
1276
|
-
content:
|
|
1275
|
+
parent: N.value,
|
|
1276
|
+
content: Nt.value,
|
|
1277
1277
|
isFullscreen: $.value,
|
|
1278
1278
|
isCustom: F.value.style.chart.tooltip.customFormat && typeof F.value.style.chart.tooltip.customFormat == "function",
|
|
1279
1279
|
smooth: F.value.style.chart.tooltip.smooth,
|
|
1280
1280
|
backdropFilter: F.value.style.chart.tooltip.backdropFilter,
|
|
1281
1281
|
smoothForce: F.value.style.chart.tooltip.smoothForce,
|
|
1282
1282
|
smoothSnapThreshold: F.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1283
|
-
isA11yMode:
|
|
1284
|
-
a11yPosition:
|
|
1283
|
+
isA11yMode: Kt.value === "keyboard",
|
|
1284
|
+
a11yPosition: Gt.value
|
|
1285
1285
|
}, {
|
|
1286
|
-
"tooltip-before":
|
|
1287
|
-
tooltip:
|
|
1288
|
-
"tooltip-after":
|
|
1286
|
+
"tooltip-before": k(() => [E(e.$slots, "tooltip-before", x(y({ ...Pn.value })), void 0, !0)]),
|
|
1287
|
+
tooltip: k(() => [E(e.$slots, "tooltip", x(y({ ...Pn.value })), void 0, !0)]),
|
|
1288
|
+
"tooltip-after": k(() => [!["function"].includes(typeof F.value.style.chart.tooltip.customFormat) && !e.$slots.tooltip ? (C(), g("div", gt, [Pe(O(St), {
|
|
1289
1289
|
dataset: Nn.value,
|
|
1290
1290
|
config: ln.value,
|
|
1291
1291
|
backgroundOpacity: 0
|
|
1292
1292
|
}, {
|
|
1293
|
-
"data-label":
|
|
1293
|
+
"data-label": k(({ bar: e }) => [_("div", _t, [_("span", vt, D(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 ? (C(), g("span", yt, D(e.suffix), 1)) : h("", !0)])]),
|
|
1294
1294
|
_: 1
|
|
1295
|
-
}, 8, ["dataset", "config"])])) :
|
|
1295
|
+
}, 8, ["dataset", "config"])])) : h("", !0), E(e.$slots, "tooltip-after", x(y({ ...Pn.value })), void 0, !0)]),
|
|
1296
1296
|
_: 3
|
|
1297
1297
|
}, 8, [
|
|
1298
1298
|
"teleportTo",
|
|
@@ -1318,13 +1318,13 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1318
1318
|
"isA11yMode",
|
|
1319
1319
|
"a11yPosition"
|
|
1320
1320
|
]),
|
|
1321
|
-
|
|
1321
|
+
Mt.value && F.value.userOptions.buttons.table ? (C(), m(ze(Gn.value.component), Fe({ key: 8 }, Gn.value.props, {
|
|
1322
1322
|
ref_key: "tableUnit",
|
|
1323
|
-
ref:
|
|
1323
|
+
ref: Ut,
|
|
1324
1324
|
onClose: Kn
|
|
1325
|
-
}),
|
|
1326
|
-
content:
|
|
1327
|
-
key: `table_${
|
|
1325
|
+
}), Me({
|
|
1326
|
+
content: k(() => [(C(), m(O(wt), {
|
|
1327
|
+
key: `table_${Bt.value}`,
|
|
1328
1328
|
colNames: Z.value.colNames,
|
|
1329
1329
|
head: Z.value.head,
|
|
1330
1330
|
body: Z.value.body,
|
|
@@ -1334,8 +1334,8 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1334
1334
|
isCursorPointer: I.value,
|
|
1335
1335
|
onClose: Kn
|
|
1336
1336
|
}, {
|
|
1337
|
-
th:
|
|
1338
|
-
td:
|
|
1337
|
+
th: k(({ th: e }) => [Ne(D(e.name), 1)]),
|
|
1338
|
+
td: k(({ td: e }) => [Ne(D(e), 1)]),
|
|
1339
1339
|
_: 1
|
|
1340
1340
|
}, 8, [
|
|
1341
1341
|
"colNames",
|
|
@@ -1349,24 +1349,24 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1349
1349
|
_: 2
|
|
1350
1350
|
}, [F.value.table.useDialog ? {
|
|
1351
1351
|
name: "title",
|
|
1352
|
-
fn:
|
|
1352
|
+
fn: k(() => [Ne(D(Gn.value.title), 1)]),
|
|
1353
1353
|
key: "0"
|
|
1354
1354
|
} : void 0, F.value.table.useDialog ? {
|
|
1355
1355
|
name: "actions",
|
|
1356
|
-
fn:
|
|
1356
|
+
fn: k(() => [_("button", {
|
|
1357
1357
|
tabindex: "0",
|
|
1358
1358
|
class: "vue-ui-user-options-button",
|
|
1359
1359
|
onClick: t[1] ||= (e) => Rn(F.value.userOptions.callbacks.csv),
|
|
1360
|
-
style:
|
|
1361
|
-
}, [
|
|
1360
|
+
style: S({ cursor: I.value ? "pointer" : "default" })
|
|
1361
|
+
}, [Pe(O(xt), {
|
|
1362
1362
|
name: "fileCsv",
|
|
1363
1363
|
stroke: Gn.value.props.color
|
|
1364
1364
|
}, null, 8, ["stroke"])], 4)]),
|
|
1365
1365
|
key: "1"
|
|
1366
|
-
} : void 0]), 1040)) :
|
|
1367
|
-
|
|
1368
|
-
], 46,
|
|
1366
|
+
} : void 0]), 1040)) : h("", !0),
|
|
1367
|
+
E(e.$slots, "skeleton", {}, () => [O(Yt) ? (C(), m(me, { key: 0 })) : h("", !0)], !0)
|
|
1368
|
+
], 46, We));
|
|
1369
1369
|
}
|
|
1370
1370
|
}, [["__scopeId", "data-v-3095c6cc"]]);
|
|
1371
1371
|
//#endregion
|
|
1372
|
-
export {
|
|
1372
|
+
export { Ue as n, bt as t };
|