vue-data-ui 3.25.3 → 3.25.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -13
- package/dist/{Arrow-Bvx4_tSN.js → Arrow-DLn-pcrh.js} +1 -1
- package/dist/{BaseDraggableDialog-BCQY4Tir.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
- package/dist/{BaseIcon-CVrQHhw1.js → BaseIcon-t83PDe9k.js} +1 -1
- package/dist/{BaseLegendToggle-BF-thEu0.js → BaseLegendToggle-__JnV08B.js} +1 -1
- package/dist/{BaseZoomControls-BAHeLgV8.js → BaseZoomControls-Xo16vFa4.js} +2 -2
- package/dist/{ColorPicker-B0CMtFkc.js → ColorPicker-Bn3MY7eL.js} +103 -101
- package/dist/{DataTable-BBpTEQY5.js → DataTable-COIO9gi4.js} +2 -2
- package/dist/{HillActions-ChMsbYib.js → HillActions-Cl-dNBZR.js} +1 -1
- package/dist/{Legend-DmitJZi5.js → Legend-X4kF4PvW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DNIpZGOP.js → NonSvgPenAndPaper-KXRhcsxM.js} +12 -12
- package/dist/{PackageVersion-hRJtldYi.js → PackageVersion-M2Ws-VwJ.js} +1 -1
- package/dist/{PenAndPaper-DzM1vUXR.js → PenAndPaper-BgH3m_LP.js} +30 -14
- package/dist/{Shape-BBKymE00.js → Shape-CIqU-p2F.js} +1 -1
- package/dist/{SlicerPreview-W4PWXK69.js → SlicerPreview-GvsdvE-h.js} +27 -27
- package/dist/{SparkTooltip-9hXY74AD.js → SparkTooltip-C-Y-mDrc.js} +1 -1
- package/dist/{Title-DIf1lG-_.js → Title-CPHi-evi.js} +1 -1
- package/dist/{Tooltip-C3jBTIhR.js → Tooltip-hhrkQ3Lk.js} +1 -1
- package/dist/{UserOptions-m0uxKoiy.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-DPcw-QzB.js → dom-to-png-C6cQJ5Hq.js} +1 -1
- package/dist/{exposedLib-BGrCpxDo.js → exposedLib-CG3aXJ-v.js} +9 -9
- package/dist/{img-IjqD_xWl.js → img-DhGApYG0.js} +1 -1
- package/dist/{labelUtils-Bgt85NUY.js → labelUtils-BXX2NzRe.js} +1 -1
- package/dist/{lib-C7t_vY8w.js → lib-Dql7cqyA.js} +200 -177
- package/dist/{package-NccReU84.js → package-ta2JoIjx.js} +1 -1
- package/dist/{pdf-HBji623H.js → pdf-Di5yPEw9.js} +1 -1
- package/dist/{render-common-CHj9aLwI.js → render-common-bvOuxfN3.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 +70 -1
- package/dist/types/vue-ui-annotator.d.ts +58 -2
- package/dist/{useConfig-CyCVHo81.js → useConfig-C_mX5pOZ.js} +1329 -1313
- package/dist/{useNestedProp-BfTgFMXF.js → useNestedProp-Chvyfpl-.js} +1 -1
- package/dist/{useObjectBindings-ByORl1rV.js → useObjectBindings-uXpBcVyo.js} +1 -1
- package/dist/{usePrinter-VVTuFI6H.js → usePrinter-DISD7q5m.js} +2 -2
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-xQI9KcZd.js → vue-data-ui-BjdCpsRV.js} +70 -70
- package/dist/vue-data-ui.js +74 -74
- package/dist/vue-ui-3d-bar-C0aLR6lw.js +1831 -0
- package/dist/{vue-ui-accordion-DuARUUdY.js → vue-ui-accordion-DRf3NQyH.js} +4 -4
- package/dist/{vue-ui-age-pyramid-D-ggLbES.js → vue-ui-age-pyramid-DUcB3lYs.js} +219 -217
- package/dist/vue-ui-annotator-DZ0O8Xa5.js +3325 -0
- package/dist/vue-ui-bullet-DIOCMF2H.js +702 -0
- package/dist/{vue-ui-bump-DiH9-DLV.js → vue-ui-bump-DoHnD1Xy.js} +59 -57
- package/dist/{vue-ui-candlestick-B486ChH8.js → vue-ui-candlestick-Cf8TYPl5.js} +453 -447
- package/dist/vue-ui-carousel-table-k1cBJ1i1.js +467 -0
- package/dist/{vue-ui-chestnut-DGESmviK.js → vue-ui-chestnut-BMAuaeif.js} +278 -276
- package/dist/{vue-ui-chord-DQJ7RuvS.js → vue-ui-chord-DCe2iPjk.js} +37 -35
- package/dist/{vue-ui-circle-pack-YXuSpTIB.js → vue-ui-circle-pack-Eb5hS_z3.js} +34 -32
- package/dist/{vue-ui-cursor-Dju_nWZh.js → vue-ui-cursor-CQWLyEx0.js} +4 -4
- package/dist/{vue-ui-dag-C2f1v-IC.js → vue-ui-dag-BqlsutMj.js} +80 -78
- package/dist/{vue-ui-dashboard-pNI0se0n.js → vue-ui-dashboard-Be3MmkgS.js} +77 -75
- package/dist/{vue-ui-digits-C5Z_lpSZ.js → vue-ui-digits-BqdfbcKX.js} +4 -4
- package/dist/vue-ui-donut-CuQVKuZa.js +2415 -0
- package/dist/{vue-ui-donut-evolution-DQn-87Ak.js → vue-ui-donut-evolution-DckruxZ9.js} +378 -376
- package/dist/{vue-ui-donut-DZXYGFJc.js → vue-ui-donut-gzGZ42uH.js} +102 -102
- package/dist/{vue-ui-dumbbell-CDtBLV2m.js → vue-ui-dumbbell-BYU-hh2E.js} +142 -140
- package/dist/{vue-ui-flow-B0L2gQ3k.js → vue-ui-flow-DLRcNDLc.js} +46 -44
- package/dist/vue-ui-funnel-DjoqNN1U.js +749 -0
- package/dist/{vue-ui-galaxy-yF4pKrlD.js → vue-ui-galaxy-BhR4IOra.js} +249 -247
- package/dist/vue-ui-gauge-Cq161Kwp.js +934 -0
- package/dist/{vue-ui-geo-CFz30xe0.js → vue-ui-geo-Ca8kPYr-.js} +41 -39
- package/dist/{vue-ui-gizmo-ys9jjs02.js → vue-ui-gizmo-wUqHJICb.js} +4 -4
- package/dist/{vue-ui-heatmap-qigx4Z5I.js → vue-ui-heatmap-Bl5ymvi9.js} +186 -184
- package/dist/{vue-ui-hill-K3JKKF1b.js → vue-ui-hill-D6Y9Xy2K.js} +14 -12
- package/dist/vue-ui-history-plot-CvVjsdCL.js +1698 -0
- package/dist/vue-ui-horizontal-bar-3on3-H3B.js +1711 -0
- package/dist/{vue-ui-kpi-0W2GpUBQ.js → vue-ui-kpi-CUpRRIUf.js} +4 -4
- package/dist/{vue-ui-label-CBM2b0Aq.js → vue-ui-label-DR2qUZOG.js} +65 -65
- package/dist/{vue-ui-mini-loader-C-2BQ3hi.js → vue-ui-mini-loader-D8W-fERs.js} +3 -3
- package/dist/vue-ui-molecule-BExVLLgE.js +929 -0
- package/dist/{vue-ui-mood-radar-VCVoA-i7.js → vue-ui-mood-radar-TW251icr.js} +205 -203
- package/dist/{vue-ui-nested-donuts-CFPhvIy3.js → vue-ui-nested-donuts-CWzJKr3S.js} +129 -127
- package/dist/{vue-ui-onion-BMucjktR.js → vue-ui-onion-VaYZQK5i.js} +124 -122
- package/dist/{vue-ui-parallel-coordinate-plot-BhahYf50.js → vue-ui-parallel-coordinate-plot-RM25bxtf.js} +380 -378
- package/dist/{vue-ui-quadrant-77idomwS.js → vue-ui-quadrant-Dmtwow7n.js} +51 -49
- package/dist/{vue-ui-quick-chart-CNKuNur5.js → vue-ui-quick-chart-Cswm3_eI.js} +190 -188
- package/dist/{vue-ui-radar-CuT1AXHF.js → vue-ui-radar-C3GYthqu.js} +315 -313
- package/dist/{vue-ui-rating-CTuSylET.js → vue-ui-rating-CBdDXL80.js} +3 -3
- package/dist/vue-ui-relation-circle-BA0qy0kp.js +905 -0
- package/dist/{vue-ui-ridgeline-CijnGJ6-.js → vue-ui-ridgeline-C5skjBTe.js} +353 -344
- package/dist/{vue-ui-rings-DDGKIiGT.js → vue-ui-rings-BJ8yEQMw.js} +332 -330
- package/dist/vue-ui-scatter-DXg8ESgr.js +2405 -0
- package/dist/{vue-ui-skeleton-Clzzx8hc.js → vue-ui-skeleton-D_u8EWeW.js} +60 -60
- package/dist/{vue-ui-smiley-DILPVI14.js → vue-ui-smiley-DQOp87rr.js} +3 -3
- package/dist/{vue-ui-spark-trend-CYIyrTQj.js → vue-ui-spark-trend-CjCufXof.js} +9 -9
- package/dist/{vue-ui-sparkbar-C2HcYmPm.js → vue-ui-sparkbar-BniEM15a.js} +142 -142
- package/dist/{vue-ui-sparkgauge-BLJ0mImj.js → vue-ui-sparkgauge-BtyCrqTQ.js} +33 -33
- package/dist/{vue-ui-sparkhistogram-1FYy_qM3.js → vue-ui-sparkhistogram-DQdn3PW1.js} +27 -27
- package/dist/{vue-ui-sparkline-C11KKbIn.js → vue-ui-sparkline-9qkNNZG6.js} +254 -254
- package/dist/vue-ui-sparkstackbar-BXQlOdOk.js +738 -0
- package/dist/vue-ui-stackbar-CkjicNDv.js +2355 -0
- package/dist/vue-ui-stackline-BB1IZta8.js +2469 -0
- package/dist/vue-ui-strip-plot-DGLGuH6e.js +1740 -0
- package/dist/vue-ui-table-BXz_HY2g.js +1352 -0
- package/dist/{vue-ui-table-heatmap-Dj06PSQK.js → vue-ui-table-heatmap-XmDK1aHJ.js} +10 -10
- package/dist/{vue-ui-table-sparkline-1h7A5F1N.js → vue-ui-table-sparkline-MTEw3imE.js} +14 -14
- package/dist/{vue-ui-thermometer-CVKlj7fU.js → vue-ui-thermometer-CLx3SPRv.js} +36 -34
- package/dist/{vue-ui-timer-BWz6K56E.js → vue-ui-timer-BDWUNb6t.js} +6 -6
- package/dist/{vue-ui-tiremarks-D26MLo5F.js → vue-ui-tiremarks-DoaypTC-.js} +11 -9
- package/dist/{vue-ui-treemap-33VL-HnF.js → vue-ui-treemap-Bv7PgpiC.js} +45 -43
- package/dist/vue-ui-waffle-z2DhvSAx.js +1621 -0
- package/dist/{vue-ui-wheel-BPbR_-t8.js → vue-ui-wheel-DYLBJuFb.js} +31 -29
- package/dist/{vue-ui-word-cloud-RFcpvswb.js → vue-ui-word-cloud-CbpEhSdL.js} +32 -30
- package/dist/{vue-ui-world-CseHQjz7.js → vue-ui-world-C2atz4Xm.js} +120 -118
- package/dist/{vue-ui-xy-D_biv7Wg.js → vue-ui-xy-B3DQ6t46.js} +1496 -1490
- package/dist/{vue-ui-xy-C3UI9YIM.js → vue-ui-xy-CpA0W6zM.js} +424 -423
- package/dist/{vue-ui-xy-canvas-R1I0sffy.js → vue-ui-xy-canvas-CJefORWc.js} +78 -78
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-Cf5mJEzr.js +0 -1829
- package/dist/vue-ui-annotator-MvDwnq7k.js +0 -2886
- package/dist/vue-ui-bullet-DWe51l3b.js +0 -700
- package/dist/vue-ui-carousel-table-BPNQQVsu.js +0 -467
- package/dist/vue-ui-donut-CaMaNvIF.js +0 -2413
- package/dist/vue-ui-funnel-G5nO77o5.js +0 -747
- package/dist/vue-ui-gauge-DA92q6HZ.js +0 -932
- package/dist/vue-ui-history-plot-DUoXwHLn.js +0 -1696
- package/dist/vue-ui-horizontal-bar-C51hv9PU.js +0 -1709
- package/dist/vue-ui-molecule-B1ChvZql.js +0 -929
- package/dist/vue-ui-relation-circle-DxONGvTM.js +0 -903
- package/dist/vue-ui-scatter-Cwlhv9y6.js +0 -2403
- package/dist/vue-ui-sparkstackbar-B4H_cgzW.js +0 -738
- package/dist/vue-ui-stackbar-CBOAAVtS.js +0 -2349
- package/dist/vue-ui-stackline-24PeB3yN.js +0 -2463
- package/dist/vue-ui-strip-plot-C3Q1lECl.js +0 -1738
- package/dist/vue-ui-table-DMJWplCT.js +0 -1352
- package/dist/vue-ui-waffle-DIFpyE2V.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-C_mX5pOZ.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-BniEM15a.js").then((e) => e.n)), Ct = v(() => import("./vue-ui-accordion-DRf3NQyH.js").then((e) => e.n)), wt = v(() => import("./DataTable-COIO9gi4.js")), Tt = v(() => import("./PenAndPaper-BgH3m_LP.js").then((e) => e.t)), Et = v(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), Dt = v(() => import("./PackageVersion-M2Ws-VwJ.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,44 +877,46 @@ 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
|
+
palette: F.value.userOptions.annotatorPalette,
|
|
888
889
|
onClose: Un
|
|
889
890
|
}, {
|
|
890
|
-
"annotator-action-close":
|
|
891
|
-
"annotator-action-color":
|
|
892
|
-
"annotator-action-draw":
|
|
893
|
-
"annotator-action-undo":
|
|
894
|
-
"annotator-action-redo":
|
|
895
|
-
"annotator-action-delete":
|
|
891
|
+
"annotator-action-close": k(() => [E(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
892
|
+
"annotator-action-color": k(({ color: t }) => [E(e.$slots, "annotator-action-color", x(y({ color: t })), void 0, !0)]),
|
|
893
|
+
"annotator-action-draw": k(({ mode: t }) => [E(e.$slots, "annotator-action-draw", x(y({ mode: t })), void 0, !0)]),
|
|
894
|
+
"annotator-action-undo": k(({ disabled: t }) => [E(e.$slots, "annotator-action-undo", x(y({ disabled: t })), void 0, !0)]),
|
|
895
|
+
"annotator-action-redo": k(({ disabled: t }) => [E(e.$slots, "annotator-action-redo", x(y({ disabled: t })), void 0, !0)]),
|
|
896
|
+
"annotator-action-delete": k(({ disabled: t }) => [E(e.$slots, "annotator-action-delete", x(y({ disabled: t })), void 0, !0)]),
|
|
896
897
|
_: 3
|
|
897
898
|
}, 8, [
|
|
898
899
|
"svgRef",
|
|
899
900
|
"backgroundColor",
|
|
900
901
|
"color",
|
|
901
902
|
"active",
|
|
902
|
-
"isCursorPointer"
|
|
903
|
-
|
|
904
|
-
|
|
903
|
+
"isCursorPointer",
|
|
904
|
+
"palette"
|
|
905
|
+
])) : h("", !0),
|
|
906
|
+
sn.value ? (C(), g("div", {
|
|
905
907
|
key: 2,
|
|
906
908
|
ref_key: "noTitle",
|
|
907
|
-
ref:
|
|
909
|
+
ref: Rt,
|
|
908
910
|
class: "vue-data-ui-no-title-space",
|
|
909
911
|
style: "height:36px; width: 100%;background:transparent"
|
|
910
|
-
}, null, 512)) :
|
|
911
|
-
F.value.style.chart.title.text ? (
|
|
912
|
+
}, null, 512)) : h("", !0),
|
|
913
|
+
F.value.style.chart.title.text ? (C(), g("div", {
|
|
912
914
|
key: 3,
|
|
913
915
|
ref_key: "chartTitle",
|
|
914
|
-
ref:
|
|
916
|
+
ref: Ft,
|
|
915
917
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
916
|
-
}, [(
|
|
917
|
-
key: `title_${
|
|
918
|
+
}, [(C(), m(ye, {
|
|
919
|
+
key: `title_${zt.value}`,
|
|
918
920
|
config: {
|
|
919
921
|
title: {
|
|
920
922
|
cy: "radar-div-title",
|
|
@@ -925,17 +927,17 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
925
927
|
...F.value.style.chart.title.subtitle
|
|
926
928
|
}
|
|
927
929
|
}
|
|
928
|
-
}, null, 8, ["config"]))], 512)) :
|
|
929
|
-
|
|
930
|
-
F.value.userOptions.show &&
|
|
930
|
+
}, null, 8, ["config"]))], 512)) : h("", !0),
|
|
931
|
+
_("div", { id: `legend-top-${j.value}` }, null, 8, Ke),
|
|
932
|
+
F.value.userOptions.show && Mt.value && (O(Qt) || O(Xt)) ? (C(), m(O(Et), {
|
|
931
933
|
ref_key: "userOptionsRef",
|
|
932
|
-
ref:
|
|
933
|
-
key: `user_options_${
|
|
934
|
+
ref: Wt,
|
|
935
|
+
key: `user_options_${Pt.value}`,
|
|
934
936
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
935
937
|
color: F.value.style.chart.color,
|
|
936
|
-
isImaging:
|
|
937
|
-
isPrinting:
|
|
938
|
-
uid:
|
|
938
|
+
isImaging: O(rn),
|
|
939
|
+
isPrinting: O(nn),
|
|
940
|
+
uid: j.value,
|
|
939
941
|
hasTooltip: F.value.userOptions.buttons.tooltip && F.value.style.chart.tooltip.show,
|
|
940
942
|
hasPdf: F.value.userOptions.buttons.pdf,
|
|
941
943
|
hasImg: F.value.userOptions.buttons.img,
|
|
@@ -947,7 +949,7 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
947
949
|
isFullscreen: $.value,
|
|
948
950
|
isTooltip: H.value.showTooltip,
|
|
949
951
|
titles: { ...F.value.userOptions.buttonTitles },
|
|
950
|
-
chartElement:
|
|
952
|
+
chartElement: N.value,
|
|
951
953
|
position: F.value.userOptions.position,
|
|
952
954
|
hasAnnotator: F.value.userOptions.buttons.annotator,
|
|
953
955
|
isAnnotation: Hn.value,
|
|
@@ -956,19 +958,19 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
956
958
|
tableDialog: F.value.table.useDialog,
|
|
957
959
|
isCursorPointer: I.value,
|
|
958
960
|
onToggleFullscreen: zn,
|
|
959
|
-
onGeneratePdf:
|
|
961
|
+
onGeneratePdf: O(an),
|
|
960
962
|
onGenerateCsv: Rn,
|
|
961
|
-
onGenerateImage:
|
|
962
|
-
onGenerateSvg:
|
|
963
|
+
onGenerateImage: O(er),
|
|
964
|
+
onGenerateSvg: O($n),
|
|
963
965
|
onToggleTable: Bn,
|
|
964
966
|
onToggleTooltip: Vn,
|
|
965
967
|
onToggleAnnotator: Un,
|
|
966
968
|
onCopyAlt: tr,
|
|
967
|
-
style:
|
|
968
|
-
},
|
|
969
|
+
style: S({ visibility: O(Qt) ? O(Xt) ? "visible" : "hidden" : "visible" })
|
|
970
|
+
}, Me({ _: 2 }, [
|
|
969
971
|
e.$slots.menuIcon ? {
|
|
970
972
|
name: "menuIcon",
|
|
971
|
-
fn:
|
|
973
|
+
fn: k(({ isOpen: t, color: n }) => [E(e.$slots, "menuIcon", x(y({
|
|
972
974
|
isOpen: t,
|
|
973
975
|
color: n
|
|
974
976
|
})), void 0, !0)]),
|
|
@@ -976,37 +978,37 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
976
978
|
} : void 0,
|
|
977
979
|
e.$slots.optionTooltip ? {
|
|
978
980
|
name: "optionTooltip",
|
|
979
|
-
fn:
|
|
981
|
+
fn: k(() => [E(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
980
982
|
key: "1"
|
|
981
983
|
} : void 0,
|
|
982
984
|
e.$slots.optionPdf ? {
|
|
983
985
|
name: "optionPdf",
|
|
984
|
-
fn:
|
|
986
|
+
fn: k(() => [E(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
985
987
|
key: "2"
|
|
986
988
|
} : void 0,
|
|
987
989
|
e.$slots.optionCsv ? {
|
|
988
990
|
name: "optionCsv",
|
|
989
|
-
fn:
|
|
991
|
+
fn: k(() => [E(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
990
992
|
key: "3"
|
|
991
993
|
} : void 0,
|
|
992
994
|
e.$slots.optionImg ? {
|
|
993
995
|
name: "optionImg",
|
|
994
|
-
fn:
|
|
996
|
+
fn: k(() => [E(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
995
997
|
key: "4"
|
|
996
998
|
} : void 0,
|
|
997
999
|
e.$slots.optionSvg ? {
|
|
998
1000
|
name: "optionSvg",
|
|
999
|
-
fn:
|
|
1001
|
+
fn: k(() => [E(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1000
1002
|
key: "5"
|
|
1001
1003
|
} : void 0,
|
|
1002
1004
|
e.$slots.optionTable ? {
|
|
1003
1005
|
name: "optionTable",
|
|
1004
|
-
fn:
|
|
1006
|
+
fn: k(() => [E(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
1005
1007
|
key: "6"
|
|
1006
1008
|
} : void 0,
|
|
1007
1009
|
e.$slots.optionFullscreen ? {
|
|
1008
1010
|
name: "optionFullscreen",
|
|
1009
|
-
fn:
|
|
1011
|
+
fn: k(({ toggleFullscreen: t, isFullscreen: n }) => [E(e.$slots, "optionFullscreen", x(y({
|
|
1010
1012
|
toggleFullscreen: t,
|
|
1011
1013
|
isFullscreen: n
|
|
1012
1014
|
})), void 0, !0)]),
|
|
@@ -1014,7 +1016,7 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1014
1016
|
} : void 0,
|
|
1015
1017
|
e.$slots.optionAnnotator ? {
|
|
1016
1018
|
name: "optionAnnotator",
|
|
1017
|
-
fn:
|
|
1019
|
+
fn: k(({ toggleAnnotator: t, isAnnotator: n }) => [E(e.$slots, "optionAnnotator", x(y({
|
|
1018
1020
|
toggleAnnotator: t,
|
|
1019
1021
|
isAnnotator: n
|
|
1020
1022
|
})), void 0, !0)]),
|
|
@@ -1022,65 +1024,65 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1022
1024
|
} : void 0,
|
|
1023
1025
|
e.$slots.optionAltCopy ? {
|
|
1024
1026
|
name: "optionAltCopy",
|
|
1025
|
-
fn:
|
|
1027
|
+
fn: k(({ altCopy: t }) => [E(e.$slots, "optionAltCopy", x(y({ altCopy: t })), void 0, !0)]),
|
|
1026
1028
|
key: "9"
|
|
1027
1029
|
} : void 0,
|
|
1028
1030
|
e.$slots["custom-menu-before"] ? {
|
|
1029
1031
|
name: "custom-menu-before",
|
|
1030
|
-
fn:
|
|
1032
|
+
fn: k(() => [E(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1031
1033
|
key: "10"
|
|
1032
1034
|
} : void 0,
|
|
1033
1035
|
e.$slots["custom-menu-after"] ? {
|
|
1034
1036
|
name: "custom-menu-after",
|
|
1035
|
-
fn:
|
|
1037
|
+
fn: k(() => [E(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1036
1038
|
key: "11"
|
|
1037
1039
|
} : 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
|
-
|
|
1040
|
+
]), 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),
|
|
1041
|
+
_("div", qe, [(C(), g("svg", {
|
|
1040
1042
|
ref_key: "svgRef",
|
|
1041
1043
|
ref: R,
|
|
1042
|
-
xmlns:
|
|
1043
|
-
"aria-describedby": `chart-instructions-${
|
|
1044
|
-
class:
|
|
1044
|
+
xmlns: O(ce),
|
|
1045
|
+
"aria-describedby": `chart-instructions-${j.value}`,
|
|
1046
|
+
class: b({
|
|
1045
1047
|
"vue-data-ui-fullscreen--on": $.value,
|
|
1046
1048
|
"vue-data-ui-fulscreen--off": !$.value
|
|
1047
1049
|
}),
|
|
1048
1050
|
viewBox: `0 0 ${U.value.width <= 0 ? 10 : U.value.width} ${U.value.height <= 0 ? 10 : U.value.height}`,
|
|
1049
|
-
style:
|
|
1051
|
+
style: S(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.chart.color}`),
|
|
1050
1052
|
tabindex: "0",
|
|
1051
1053
|
onFocus: nr,
|
|
1052
1054
|
onBlur: rr,
|
|
1053
1055
|
onKeydown: ar
|
|
1054
1056
|
}, [
|
|
1055
|
-
|
|
1056
|
-
e.$slots["chart-background"] ? (
|
|
1057
|
+
Pe(O(Dt)),
|
|
1058
|
+
e.$slots["chart-background"] ? (C(), g("foreignObject", {
|
|
1057
1059
|
key: 0,
|
|
1058
1060
|
x: 0,
|
|
1059
1061
|
y: 0,
|
|
1060
1062
|
width: U.value.width <= 0 ? 10 : U.value.width,
|
|
1061
1063
|
height: U.value.height <= 0 ? 10 : U.value.height,
|
|
1062
1064
|
style: { pointerEvents: "none" }
|
|
1063
|
-
}, [
|
|
1064
|
-
|
|
1065
|
+
}, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, Ye)) : h("", !0),
|
|
1066
|
+
_("defs", null, [(C(!0), g(f, null, T(q.value, (e, t) => (C(), m(Ce, {
|
|
1065
1067
|
t: "radial",
|
|
1066
1068
|
cx: "50%",
|
|
1067
1069
|
cy: "50%",
|
|
1068
1070
|
r: "50%",
|
|
1069
1071
|
fx: "50%",
|
|
1070
1072
|
fy: "50%",
|
|
1071
|
-
id: `radar_gradient_${
|
|
1072
|
-
key: `radar_gradient_${
|
|
1073
|
+
id: `radar_gradient_${j.value}_${t}`,
|
|
1074
|
+
key: `radar_gradient_${j.value}_${t}`,
|
|
1073
1075
|
stops: [[
|
|
1074
1076
|
"0%",
|
|
1075
|
-
|
|
1077
|
+
O(l)(O(ee)(e.color, .05), F.value.style.chart.layout.dataPolygon.opacity),
|
|
1076
1078
|
1
|
|
1077
1079
|
], [
|
|
1078
1080
|
"100%",
|
|
1079
|
-
|
|
1081
|
+
O(l)(e.color, F.value.style.chart.layout.dataPolygon.opacity),
|
|
1080
1082
|
1
|
|
1081
1083
|
]]
|
|
1082
1084
|
}, null, 8, ["id", "stops"]))), 128))]),
|
|
1083
|
-
F.value.style.chart.layout.grid.show ? (
|
|
1085
|
+
F.value.style.chart.layout.grid.show ? (C(), g("g", Xe, [(C(!0), g(f, null, T(Y.value, (e) => (C(), g("line", {
|
|
1084
1086
|
x1: U.value.width / 2,
|
|
1085
1087
|
y1: U.value.height / 2,
|
|
1086
1088
|
x2: e.x,
|
|
@@ -1088,8 +1090,8 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1088
1090
|
stroke: F.value.style.chart.layout.grid.stroke,
|
|
1089
1091
|
"stroke-width": F.value.style.chart.layout.grid.strokeWidth,
|
|
1090
1092
|
style: { "pointer-events": "none" }
|
|
1091
|
-
}, null, 8,
|
|
1092
|
-
d:
|
|
1093
|
+
}, 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", {
|
|
1094
|
+
d: O(a)({
|
|
1093
1095
|
plot: {
|
|
1094
1096
|
x: U.value.width / 2,
|
|
1095
1097
|
y: U.value.height / 2
|
|
@@ -1101,8 +1103,8 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1101
1103
|
fill: "none",
|
|
1102
1104
|
stroke: F.value.style.chart.layout.grid.stroke,
|
|
1103
1105
|
"stroke-width": F.value.style.chart.layout.grid.strokeWidth
|
|
1104
|
-
}, null, 8,
|
|
1105
|
-
|
|
1106
|
+
}, null, 8, $e))), 256))])) : h("", !0)])) : h("", !0),
|
|
1107
|
+
_("path", {
|
|
1106
1108
|
d: En.value.path,
|
|
1107
1109
|
fill: "none",
|
|
1108
1110
|
stroke: F.value.style.chart.layout.outerPolygon.stroke,
|
|
@@ -1110,8 +1112,8 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1110
1112
|
"stroke-linejoin": "round",
|
|
1111
1113
|
"stroke-linecap": "round",
|
|
1112
1114
|
style: { "pointer-events": "none" }
|
|
1113
|
-
}, null, 8,
|
|
1114
|
-
F.value.style.chart.layout.labels.dataLabels.show ? (
|
|
1115
|
+
}, null, 8, et),
|
|
1116
|
+
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
1117
|
class: "vue-ui-radar-apex-label",
|
|
1116
1118
|
x: e.labelX,
|
|
1117
1119
|
y: e.labelY,
|
|
@@ -1122,34 +1124,34 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1122
1124
|
onMouseenter: (n) => Ln(e, t, "pointer"),
|
|
1123
1125
|
onMouseleave: (n) => Fn(e, t),
|
|
1124
1126
|
onClick: (n) => In(e, t)
|
|
1125
|
-
},
|
|
1126
|
-
(
|
|
1127
|
+
}, D(e.name), 41, nt))), 256))])) : h("", !0),
|
|
1128
|
+
(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
1129
|
key: 0,
|
|
1128
|
-
points:
|
|
1130
|
+
points: O(o)(Y.value.map((e) => e.plots[t]), !1, !0),
|
|
1129
1131
|
stroke: F.value.style.chart.backgroundColor,
|
|
1130
1132
|
"stroke-width": F.value.style.chart.layout.dataPolygon.strokeWidth + 1,
|
|
1131
1133
|
fill: "none",
|
|
1132
|
-
class:
|
|
1134
|
+
class: b({
|
|
1133
1135
|
"animated-out": W.value.includes(t) && F.value.useCssAnimation,
|
|
1134
1136
|
"animated-in": K.value && G.value === t && F.value.useCssAnimation
|
|
1135
1137
|
}),
|
|
1136
1138
|
style: { "pointer-events": "none" }
|
|
1137
|
-
}, null, 10,
|
|
1139
|
+
}, null, 10, rt)) : h("", !0), F.value.useCssAnimation || !F.value.useCssAnimation && !W.value.includes(t) ? (C(), g("polygon", {
|
|
1138
1140
|
key: 1,
|
|
1139
|
-
points:
|
|
1141
|
+
points: O(o)(Y.value.map((e) => e.plots[t]), !1, !0),
|
|
1140
1142
|
stroke: e.color,
|
|
1141
1143
|
"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:
|
|
1144
|
+
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),
|
|
1145
|
+
class: b({
|
|
1144
1146
|
"animated-out": W.value.includes(t) && F.value.useCssAnimation,
|
|
1145
1147
|
"animated-in": K.value && G.value === t && F.value.useCssAnimation
|
|
1146
1148
|
}),
|
|
1147
1149
|
style: { "pointer-events": "none" }
|
|
1148
|
-
}, null, 10,
|
|
1149
|
-
F.value.style.chart.layout.targetReference.show ? (
|
|
1150
|
+
}, null, 10, it)) : h("", !0)])]))), 256)),
|
|
1151
|
+
F.value.style.chart.layout.targetReference.show ? (C(), g("path", {
|
|
1150
1152
|
key: 3,
|
|
1151
1153
|
class: "vue-ui-radar-target-polygon",
|
|
1152
|
-
d: `M${
|
|
1154
|
+
d: `M${O(o)(xn.value, !1, !0)}Z`,
|
|
1153
1155
|
fill: "none",
|
|
1154
1156
|
stroke: F.value.style.chart.layout.targetReference.stroke,
|
|
1155
1157
|
"stroke-width": F.value.style.chart.layout.targetReference.strokeWidth,
|
|
@@ -1157,63 +1159,63 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1157
1159
|
"stroke-linecap": "round",
|
|
1158
1160
|
"stroke-dasharray": F.value.style.chart.layout.targetReference.strokeDasharray,
|
|
1159
1161
|
style: { "pointer-events": "none" }
|
|
1160
|
-
}, null, 8,
|
|
1161
|
-
F.value.style.chart.layout.plots.show ? (
|
|
1162
|
+
}, null, 8, at)) : h("", !0),
|
|
1163
|
+
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
1164
|
key: `radar-plot-${t}-${r}`,
|
|
1163
1165
|
onMouseenter: (n) => !W.value.includes(r) && Ln(e, t, "pointer"),
|
|
1164
1166
|
onMouseleave: (n) => !W.value.includes(r) && Fn(e, t),
|
|
1165
1167
|
onClick: (n) => !W.value.includes(r) && In(e, t)
|
|
1166
|
-
}, [
|
|
1168
|
+
}, [_("circle", {
|
|
1167
1169
|
cx: n.x,
|
|
1168
1170
|
cy: n.y,
|
|
1169
1171
|
r: wn.value,
|
|
1170
1172
|
fill: "transparent",
|
|
1171
1173
|
stroke: "transparent",
|
|
1172
|
-
style:
|
|
1173
|
-
}, null, 12,
|
|
1174
|
+
style: S({ pointerEvents: W.value.includes(r) ? "none" : "all" })
|
|
1175
|
+
}, null, 12, ct), _("circle", {
|
|
1174
1176
|
cx: n.x,
|
|
1175
1177
|
cy: n.y,
|
|
1176
1178
|
fill: W.value.includes(r) ? "transparent" : q.value[r] ? q.value[r].color : "transparent",
|
|
1177
1179
|
r: Q.value !== null && Q.value === t ? F.value.style.chart.layout.plots.radius * 1.6 : F.value.style.chart.layout.plots.radius,
|
|
1178
1180
|
stroke: W.value.includes(r) ? "transparent" : F.value.style.chart.backgroundColor,
|
|
1179
1181
|
"stroke-width": .5,
|
|
1180
|
-
class:
|
|
1182
|
+
class: b({
|
|
1181
1183
|
"animated-out": W.value.includes(r) && F.value.useCssAnimation,
|
|
1182
1184
|
"animated-in": K.value && G.value === r && F.value.useCssAnimation
|
|
1183
1185
|
}),
|
|
1184
1186
|
style: { "pointer-events": "none" }
|
|
1185
|
-
}, null, 10,
|
|
1186
|
-
|
|
1187
|
+
}, null, 10, lt)], 40, st))), 128))]))), 128))])) : h("", !0),
|
|
1188
|
+
E(e.$slots, "svg", { svg: {
|
|
1187
1189
|
...U.value,
|
|
1188
1190
|
outerPolygon: En.value,
|
|
1189
|
-
isPrintingImg:
|
|
1190
|
-
isPrintingSvg:
|
|
1191
|
+
isPrintingImg: O(nn) || O(rn) || O(Zn),
|
|
1192
|
+
isPrintingSvg: O(Qn)
|
|
1191
1193
|
} }, void 0, !0)
|
|
1192
|
-
], 46,
|
|
1194
|
+
], 46, Je)), e.$slots.hint ? (C(), g("div", ut, [E(e.$slots, "hint", x(y({
|
|
1193
1195
|
hint: F.value.a11y.translations.keyboardNavigation,
|
|
1194
1196
|
isVisible: qt.value
|
|
1195
|
-
})), void 0, !0)])) :
|
|
1196
|
-
e.$slots.watermark ? (
|
|
1197
|
-
|
|
1198
|
-
|
|
1197
|
+
})), void 0, !0)])) : h("", !0)]),
|
|
1198
|
+
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),
|
|
1199
|
+
_("div", { id: `legend-bottom-${j.value}` }, null, 8, ft),
|
|
1200
|
+
Ht.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (C(), m(je, {
|
|
1199
1201
|
key: 6,
|
|
1200
|
-
to: F.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
1201
|
-
}, [
|
|
1202
|
+
to: F.value.style.chart.legend.position === "top" ? `#legend-top-${j.value}` : `#legend-bottom-${j.value}`
|
|
1203
|
+
}, [_("div", {
|
|
1202
1204
|
ref_key: "chartLegend",
|
|
1203
|
-
ref:
|
|
1204
|
-
}, [
|
|
1205
|
-
key: `legend_${
|
|
1205
|
+
ref: It
|
|
1206
|
+
}, [E(e.$slots, "legend", { legend: X.value }, () => [F.value.style.chart.legend.show ? (C(), m(Oe, {
|
|
1207
|
+
key: `legend_${Vt.value}`,
|
|
1206
1208
|
legendSet: X.value,
|
|
1207
1209
|
config: Mn.value,
|
|
1208
1210
|
isCursorPointer: I.value,
|
|
1209
1211
|
onClickMarker: t[0] ||= ({ i: e }) => pn(e)
|
|
1210
|
-
},
|
|
1211
|
-
item:
|
|
1212
|
+
}, Me({
|
|
1213
|
+
item: k(({ legend: e, index: t }) => [O(Yt) ? h("", !0) : (C(), g("div", {
|
|
1212
1214
|
key: 0,
|
|
1213
1215
|
onClick: (t) => e.segregate(),
|
|
1214
|
-
style:
|
|
1215
|
-
},
|
|
1216
|
-
legendToggle:
|
|
1216
|
+
style: S(`opacity:${W.value.includes(t) ? .5 : 1}`)
|
|
1217
|
+
}, D(e.display), 13, pt))]),
|
|
1218
|
+
legendToggle: k(() => [X.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !O(Yt) ? (C(), m(we, {
|
|
1217
1219
|
key: 0,
|
|
1218
1220
|
backgroundColor: F.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1219
1221
|
color: F.value.style.chart.legend.selectAllToggle.color,
|
|
@@ -1227,17 +1229,17 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1227
1229
|
"fontSize",
|
|
1228
1230
|
"checked",
|
|
1229
1231
|
"isCursorPointer"
|
|
1230
|
-
])) :
|
|
1232
|
+
])) : h("", !0)]),
|
|
1231
1233
|
_: 2
|
|
1232
1234
|
}, [F.value.style.chart.layout.targetReference.show && F.value.style.chart.layout.targetReference.showInLegend ? {
|
|
1233
1235
|
name: "after",
|
|
1234
|
-
fn:
|
|
1236
|
+
fn: k(() => [_("div", mt, [_("div", { style: S({
|
|
1235
1237
|
display: "flex",
|
|
1236
1238
|
height: F.value.style.chart.legend.fontSize
|
|
1237
|
-
}) }, [(
|
|
1238
|
-
style:
|
|
1239
|
+
}) }, [(C(), g("svg", {
|
|
1240
|
+
style: S({ width: F.value.style.chart.legend.fontSize * 2 }),
|
|
1239
1241
|
viewBox: "0 0 16 8"
|
|
1240
|
-
}, [
|
|
1242
|
+
}, [_("line", {
|
|
1241
1243
|
x1: "0",
|
|
1242
1244
|
x2: "16",
|
|
1243
1245
|
y1: "4",
|
|
@@ -1246,22 +1248,22 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1246
1248
|
"stroke-width": F.value.style.chart.layout.targetReference.strokeWidth * .7,
|
|
1247
1249
|
"stroke-dasharray": F.value.style.chart.layout.targetReference.strokeDasharray * .7,
|
|
1248
1250
|
"stroke-linecap": "round"
|
|
1249
|
-
}, null, 8,
|
|
1251
|
+
}, null, 8, ht)], 4))], 4), _("span", null, D(F.value.style.chart.layout.targetReference.legendLabel), 1)])]),
|
|
1250
1252
|
key: "0"
|
|
1251
1253
|
} : void 0]), 1032, [
|
|
1252
1254
|
"legendSet",
|
|
1253
1255
|
"config",
|
|
1254
1256
|
"isCursorPointer"
|
|
1255
|
-
])) :
|
|
1256
|
-
e.$slots.source ? (
|
|
1257
|
+
])) : h("", !0)], !0)], 512)], 8, ["to"])) : h("", !0),
|
|
1258
|
+
e.$slots.source ? (C(), g("div", {
|
|
1257
1259
|
key: 7,
|
|
1258
1260
|
ref_key: "source",
|
|
1259
|
-
ref:
|
|
1261
|
+
ref: Lt,
|
|
1260
1262
|
dir: "auto"
|
|
1261
|
-
}, [
|
|
1262
|
-
|
|
1263
|
+
}, [E(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
|
|
1264
|
+
Pe(O(bt), {
|
|
1263
1265
|
teleportTo: F.value.style.chart.tooltip.teleportTo,
|
|
1264
|
-
show: H.value.showTooltip &&
|
|
1266
|
+
show: H.value.showTooltip && M.value,
|
|
1265
1267
|
backgroundColor: F.value.style.chart.tooltip.backgroundColor,
|
|
1266
1268
|
color: F.value.style.chart.tooltip.color,
|
|
1267
1269
|
borderRadius: F.value.style.chart.tooltip.borderRadius,
|
|
@@ -1272,27 +1274,27 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1272
1274
|
position: F.value.style.chart.tooltip.position,
|
|
1273
1275
|
offsetX: F.value.style.chart.tooltip.offsetX,
|
|
1274
1276
|
offsetY: F.value.style.chart.tooltip.offsetY,
|
|
1275
|
-
parent:
|
|
1276
|
-
content:
|
|
1277
|
+
parent: N.value,
|
|
1278
|
+
content: Nt.value,
|
|
1277
1279
|
isFullscreen: $.value,
|
|
1278
1280
|
isCustom: F.value.style.chart.tooltip.customFormat && typeof F.value.style.chart.tooltip.customFormat == "function",
|
|
1279
1281
|
smooth: F.value.style.chart.tooltip.smooth,
|
|
1280
1282
|
backdropFilter: F.value.style.chart.tooltip.backdropFilter,
|
|
1281
1283
|
smoothForce: F.value.style.chart.tooltip.smoothForce,
|
|
1282
1284
|
smoothSnapThreshold: F.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1283
|
-
isA11yMode:
|
|
1284
|
-
a11yPosition:
|
|
1285
|
+
isA11yMode: Kt.value === "keyboard",
|
|
1286
|
+
a11yPosition: Gt.value
|
|
1285
1287
|
}, {
|
|
1286
|
-
"tooltip-before":
|
|
1287
|
-
tooltip:
|
|
1288
|
-
"tooltip-after":
|
|
1288
|
+
"tooltip-before": k(() => [E(e.$slots, "tooltip-before", x(y({ ...Pn.value })), void 0, !0)]),
|
|
1289
|
+
tooltip: k(() => [E(e.$slots, "tooltip", x(y({ ...Pn.value })), void 0, !0)]),
|
|
1290
|
+
"tooltip-after": k(() => [!["function"].includes(typeof F.value.style.chart.tooltip.customFormat) && !e.$slots.tooltip ? (C(), g("div", gt, [Pe(O(St), {
|
|
1289
1291
|
dataset: Nn.value,
|
|
1290
1292
|
config: ln.value,
|
|
1291
1293
|
backgroundOpacity: 0
|
|
1292
1294
|
}, {
|
|
1293
|
-
"data-label":
|
|
1295
|
+
"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
1296
|
_: 1
|
|
1295
|
-
}, 8, ["dataset", "config"])])) :
|
|
1297
|
+
}, 8, ["dataset", "config"])])) : h("", !0), E(e.$slots, "tooltip-after", x(y({ ...Pn.value })), void 0, !0)]),
|
|
1296
1298
|
_: 3
|
|
1297
1299
|
}, 8, [
|
|
1298
1300
|
"teleportTo",
|
|
@@ -1318,13 +1320,13 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1318
1320
|
"isA11yMode",
|
|
1319
1321
|
"a11yPosition"
|
|
1320
1322
|
]),
|
|
1321
|
-
|
|
1323
|
+
Mt.value && F.value.userOptions.buttons.table ? (C(), m(ze(Gn.value.component), Fe({ key: 8 }, Gn.value.props, {
|
|
1322
1324
|
ref_key: "tableUnit",
|
|
1323
|
-
ref:
|
|
1325
|
+
ref: Ut,
|
|
1324
1326
|
onClose: Kn
|
|
1325
|
-
}),
|
|
1326
|
-
content:
|
|
1327
|
-
key: `table_${
|
|
1327
|
+
}), Me({
|
|
1328
|
+
content: k(() => [(C(), m(O(wt), {
|
|
1329
|
+
key: `table_${Bt.value}`,
|
|
1328
1330
|
colNames: Z.value.colNames,
|
|
1329
1331
|
head: Z.value.head,
|
|
1330
1332
|
body: Z.value.body,
|
|
@@ -1334,8 +1336,8 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1334
1336
|
isCursorPointer: I.value,
|
|
1335
1337
|
onClose: Kn
|
|
1336
1338
|
}, {
|
|
1337
|
-
th:
|
|
1338
|
-
td:
|
|
1339
|
+
th: k(({ th: e }) => [Ne(D(e.name), 1)]),
|
|
1340
|
+
td: k(({ td: e }) => [Ne(D(e), 1)]),
|
|
1339
1341
|
_: 1
|
|
1340
1342
|
}, 8, [
|
|
1341
1343
|
"colNames",
|
|
@@ -1349,24 +1351,24 @@ var Ge = /* @__PURE__ */ e({ default: () => St }), Ke = ["id"], qe = ["id"], Je
|
|
|
1349
1351
|
_: 2
|
|
1350
1352
|
}, [F.value.table.useDialog ? {
|
|
1351
1353
|
name: "title",
|
|
1352
|
-
fn:
|
|
1354
|
+
fn: k(() => [Ne(D(Gn.value.title), 1)]),
|
|
1353
1355
|
key: "0"
|
|
1354
1356
|
} : void 0, F.value.table.useDialog ? {
|
|
1355
1357
|
name: "actions",
|
|
1356
|
-
fn:
|
|
1358
|
+
fn: k(() => [_("button", {
|
|
1357
1359
|
tabindex: "0",
|
|
1358
1360
|
class: "vue-ui-user-options-button",
|
|
1359
1361
|
onClick: t[1] ||= (e) => Rn(F.value.userOptions.callbacks.csv),
|
|
1360
|
-
style:
|
|
1361
|
-
}, [
|
|
1362
|
+
style: S({ cursor: I.value ? "pointer" : "default" })
|
|
1363
|
+
}, [Pe(O(xt), {
|
|
1362
1364
|
name: "fileCsv",
|
|
1363
1365
|
stroke: Gn.value.props.color
|
|
1364
1366
|
}, null, 8, ["stroke"])], 4)]),
|
|
1365
1367
|
key: "1"
|
|
1366
|
-
} : void 0]), 1040)) :
|
|
1367
|
-
|
|
1368
|
-
], 46,
|
|
1368
|
+
} : void 0]), 1040)) : h("", !0),
|
|
1369
|
+
E(e.$slots, "skeleton", {}, () => [O(Yt) ? (C(), m(me, { key: 0 })) : h("", !0)], !0)
|
|
1370
|
+
], 46, We));
|
|
1369
1371
|
}
|
|
1370
|
-
}, [["__scopeId", "data-v-
|
|
1372
|
+
}, [["__scopeId", "data-v-6da580ed"]]);
|
|
1371
1373
|
//#endregion
|
|
1372
|
-
export {
|
|
1374
|
+
export { Ue as n, bt as t };
|