vue-data-ui 3.22.8 → 3.22.9
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/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-Av7Uxq5V.js} +1 -1
- package/dist/BaseIcon-UdRAvP2h.js +483 -0
- package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
- package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-BY2KLqs6.js} +1 -1
- package/dist/{ColorPicker-CK2-h611.js → ColorPicker-DR_ummtM.js} +1 -1
- package/dist/{DataTable-D9NvewTT.js → DataTable-BxpTMgfK.js} +1 -1
- package/dist/DefGrad-DVBqDjhO.js +48 -0
- package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-B6EG_Sga.js} +2 -2
- package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-D__dRVRA.js} +1 -1
- package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-DsXi7GJ-.js} +2 -2
- package/dist/{Slicer-BZ5VnOOS.js → Slicer-CW_XPIKL.js} +359 -354
- package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-CTz41lOu.js} +471 -466
- package/dist/{UserOptions-16uF1ayB.js → UserOptions-trvJ26nz.js} +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-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/{package-gp9pYCfN.js → package-ByOT60IK.js} +1 -1
- package/dist/{render-common-CLn1VXJ9.js → render-common-D18VrP0h.js} +1 -1
- 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/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-ub3fCh6P.js} +67 -67
- package/dist/vue-data-ui.js +67 -67
- package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
- package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-CjAGqEJg.js} +1 -1
- package/dist/{vue-ui-age-pyramid-DTAOc7fn.js → vue-ui-age-pyramid-jvQZbF8E.js} +306 -297
- package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BIucnT0L.js} +3 -3
- package/dist/{vue-ui-bullet-CCLnrOLm.js → vue-ui-bullet-CIATzlsk.js} +1 -1
- package/dist/{vue-ui-bump-Rq7efdoe.js → vue-ui-bump-D8MxltQE.js} +2 -2
- package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-DULUMU-Q.js} +513 -502
- package/dist/{vue-ui-carousel-table-Lx5Zk4dG.js → vue-ui-carousel-table-BSmdexG7.js} +1 -1
- package/dist/vue-ui-chestnut-BIh1nQ7q.js +2042 -0
- package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-DL1M7cgL.js} +1 -1
- package/dist/vue-ui-circle-pack-C1Pgq6si.js +1614 -0
- package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-d2uLAKTQ.js} +1 -1
- package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CVh9FpZr.js} +2 -2
- package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BH0N3ebj.js} +65 -65
- package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-R6wi3J-Y.js} +1 -1
- package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-BWDeVzLc.js} +1 -1
- package/dist/{vue-ui-donut-C3Rt6j-I.js → vue-ui-donut-BoZdciGh.js} +632 -623
- package/dist/vue-ui-donut-evolution-CpC9EMro.js +1522 -0
- package/dist/{vue-ui-dumbbell-wK7vUB0x.js → vue-ui-dumbbell-DGA5Bfnl.js} +528 -494
- package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-CNczKwTh.js} +1 -1
- package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
- package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-v3cTbUiM.js} +2 -2
- package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
- package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-BgmLkZZ2.js} +2 -2
- package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
- package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-dSTh8ah_.js} +2 -2
- package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-N8BqMFVU.js} +395 -384
- package/dist/{vue-ui-horizontal-bar-D1rCsgqt.js → vue-ui-horizontal-bar-CwiQxYzv.js} +360 -354
- package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BKrUk9o8.js} +1 -1
- package/dist/{vue-ui-molecule-CExCqZ08.js → vue-ui-molecule--kK1JfnP.js} +295 -289
- package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-CpBRHQo_.js} +209 -204
- package/dist/{vue-ui-nested-donuts-3TRV8pN-.js → vue-ui-nested-donuts-8Ehwcuns.js} +307 -301
- package/dist/{vue-ui-onion-DwKK9DXn.js → vue-ui-onion-Cf6JiYTH.js} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-DSp_cwU-.js → vue-ui-parallel-coordinate-plot-Blnqp1DB.js} +2 -2
- package/dist/{vue-ui-quadrant-ByVg-NBs.js → vue-ui-quadrant-CxU0jiOm.js} +366 -360
- package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-BO98uEPl.js} +3 -3
- package/dist/{vue-ui-radar-DE-me6OC.js → vue-ui-radar-eH2Qih4_.js} +272 -266
- package/dist/{vue-ui-rating-CzD3EQ3G.js → vue-ui-rating-CN-ZiAES.js} +135 -126
- package/dist/{vue-ui-relation-circle-L7-dTqet.js → vue-ui-relation-circle-BIcP-aAt.js} +1 -1
- package/dist/vue-ui-ridgeline-ChXHzEJw.js +1628 -0
- package/dist/{vue-ui-rings-WzWiEo9W.js → vue-ui-rings-J990vNbX.js} +262 -256
- package/dist/{vue-ui-scatter-DwrAydha.js → vue-ui-scatter-BeJB0EKg.js} +642 -633
- package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-DC2bZ0nk.js} +336 -333
- package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-Dyyu1je3.js} +111 -98
- package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-CpDX85H3.js} +158 -153
- package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
- package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-D0Fo3Hts.js} +75 -70
- package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
- package/dist/vue-ui-sparkline-ApivEMBP.js +1560 -0
- package/dist/{vue-ui-sparkstackbar-DrmiWFlw.js → vue-ui-sparkstackbar-DsKQJx_n.js} +179 -167
- package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-Ds4hXATH.js} +538 -531
- package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
- package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-C3ZHf4bD.js} +368 -361
- package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CNXNXXBU.js} +1 -1
- package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-B9JJ4pFF.js} +1 -1
- package/dist/{vue-ui-table-Q3brrivC.js → vue-ui-table-uudidrYt.js} +4 -4
- package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
- package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-5NAWw5BN.js} +91 -86
- package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-Caz_g1c5.js} +1 -1
- package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-F9upPyOI.js} +458 -453
- package/dist/{vue-ui-waffle-Pi9e7Ae7.js → vue-ui-waffle-Bk9AsrPp.js} +296 -290
- package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-DD6Q39BA.js} +1 -1
- package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-BZLT5svo.js} +2 -2
- package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-DbEJN5NA.js} +284 -273
- package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-BYMAITk_.js} +1294 -1268
- package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Cn9Q8YPr.js} +1 -1
- package/dist/{vue-ui-xy-canvas-BfgeE3TW.js → vue-ui-xy-canvas-Dcm2ftwm.js} +5 -5
- package/package.json +1 -1
- package/dist/BaseIcon-C2qlyHc7.js +0 -502
- package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
- package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
- package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
- package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
- package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
- package/dist/vue-ui-ridgeline-Cp3YP0xe.js +0 -1622
- package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
- package/dist/vue-ui-sparkhistogram-D02ff7ZI.js +0 -560
- package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
- package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
- package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
|
@@ -11,59 +11,60 @@ import { n as he } from "./Title-CcNiYzEo.js";
|
|
|
11
11
|
import { t as ge } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { c as _e } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as ve } from "./useResponsive-BfnK0KxU.js";
|
|
14
|
-
import { t as ye } from "./
|
|
15
|
-
import { t as be } from "./
|
|
16
|
-
import { t as xe } from "./
|
|
17
|
-
import { t as Se } from "./
|
|
18
|
-
import { t as Ce } from "./
|
|
19
|
-
import {
|
|
14
|
+
import { t as ye } from "./DefGrad-DVBqDjhO.js";
|
|
15
|
+
import { t as be } from "./A11yDataTable-DdRsVULz.js";
|
|
16
|
+
import { t as xe } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
|
+
import { t as Se } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
|
+
import { t as Ce } from "./Legend-ROt6ugzW.js";
|
|
19
|
+
import { t as we } from "./vue_ui_mood_radar-BA6LAKhk.js";
|
|
20
|
+
import { Fragment as Te, Teleport as Ee, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as De, createTextVNode as Oe, createVNode as f, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as ke, nextTick as Ae, normalizeClass as je, normalizeProps as h, normalizeStyle as g, onMounted as Me, openBlock as _, ref as v, renderList as Ne, renderSlot as y, resolveDynamicComponent as Pe, toDisplayString as b, toRefs as Fe, unref as x, watch as Ie, withCtx as S } from "vue";
|
|
20
21
|
//#region src/components/vue-ui-mood-radar.vue
|
|
21
|
-
var
|
|
22
|
+
var Le = /* @__PURE__ */ e({ default: () => C }), Re = ["id"], ze = ["id"], Be = ["id"], Ve = { style: { position: "relative" } }, He = [
|
|
22
23
|
"xmlns",
|
|
23
24
|
"aria-describedby",
|
|
24
25
|
"viewBox"
|
|
25
|
-
],
|
|
26
|
+
], Ue = ["width", "height"], We = [
|
|
26
27
|
"x1",
|
|
27
28
|
"y1",
|
|
28
29
|
"x2",
|
|
29
30
|
"y2",
|
|
30
31
|
"stroke",
|
|
31
32
|
"stroke-width"
|
|
32
|
-
],
|
|
33
|
+
], Ge = [
|
|
33
34
|
"d",
|
|
34
35
|
"stroke",
|
|
35
36
|
"stroke-width"
|
|
36
|
-
],
|
|
37
|
+
], Ke = ["transform"], qe = ["stroke"], Je = ["aria-label", "fill"], Ye = ["transform"], Xe = ["stroke"], Ze = ["aria-label", "fill"], Qe = ["transform"], $e = ["stroke"], et = ["aria-label", "fill"], tt = ["transform"], nt = ["stroke"], rt = ["aria-label", "fill"], it = ["transform"], at = ["stroke"], ot = ["aria-label", "fill"], st = [
|
|
37
38
|
"d",
|
|
38
39
|
"stroke",
|
|
39
40
|
"stroke-width",
|
|
40
41
|
"fill"
|
|
41
|
-
],
|
|
42
|
+
], ct = [
|
|
42
43
|
"x1",
|
|
43
44
|
"y1",
|
|
44
45
|
"x2",
|
|
45
46
|
"y2",
|
|
46
47
|
"stroke"
|
|
47
|
-
],
|
|
48
|
+
], lt = [
|
|
48
49
|
"cx",
|
|
49
50
|
"cy",
|
|
50
51
|
"fill",
|
|
51
52
|
"stroke"
|
|
52
|
-
],
|
|
53
|
+
], ut = [
|
|
53
54
|
"cx",
|
|
54
55
|
"cy",
|
|
55
56
|
"fill",
|
|
56
57
|
"stroke"
|
|
57
|
-
],
|
|
58
|
+
], dt = [
|
|
58
59
|
"x",
|
|
59
60
|
"y",
|
|
60
61
|
"fill",
|
|
61
62
|
"font-weight"
|
|
62
|
-
],
|
|
63
|
+
], ft = [
|
|
63
64
|
"x",
|
|
64
65
|
"y",
|
|
65
66
|
"fill"
|
|
66
|
-
],
|
|
67
|
+
], pt = {
|
|
67
68
|
key: 0,
|
|
68
69
|
style: {
|
|
69
70
|
position: "absolute",
|
|
@@ -73,10 +74,10 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
73
74
|
},
|
|
74
75
|
"data-dom-to-png-ignore": "",
|
|
75
76
|
"aria-hidden": "true"
|
|
76
|
-
},
|
|
77
|
+
}, mt = {
|
|
77
78
|
key: 5,
|
|
78
79
|
class: "vue-data-ui-watermark"
|
|
79
|
-
},
|
|
80
|
+
}, ht = ["id"], gt = ["onClick", "onKeydown"], _t = ["innerHTML"], C = /*#__PURE__*/ ge({
|
|
80
81
|
__name: "vue-ui-mood-radar",
|
|
81
82
|
props: {
|
|
82
83
|
config: {
|
|
@@ -93,8 +94,8 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
93
94
|
}
|
|
94
95
|
},
|
|
95
96
|
emits: ["copyAlt"],
|
|
96
|
-
setup(e, { expose: ge, emit:
|
|
97
|
-
let C = p(() => import("./BaseIcon-
|
|
97
|
+
setup(e, { expose: ge, emit: Le }) {
|
|
98
|
+
let C = p(() => import("./BaseIcon-UdRAvP2h.js").then((e) => e.n)), vt = p(() => import("./vue-ui-accordion-CjAGqEJg.js").then((e) => e.n)), yt = p(() => import("./DataTable-BxpTMgfK.js")), bt = p(() => import("./PenAndPaper-DsXi7GJ-.js").then((e) => e.t)), xt = p(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), St = p(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), Ct = p(() => import("./BaseDraggableDialog-Av7Uxq5V.js").then((e) => e.n)), { vue_ui_mood_radar: wt } = se(), { isThemeValid: Tt, warnInvalidTheme: Et } = pe(), w = e, Dt = Le, T = v(r()), E = v(null), D = v(null), Ot = v(null), kt = v(0), At = v(0), jt = v(0), Mt = v(null), Nt = v(null), O = v(null), k = v(null), Pt = v(null), Ft = v(!1), A = v(null), It = v(null), j = v(!1), M = v(!1), N = v(null), Lt = v(!1), Rt = s(() => !!w.dataset && Object.keys(w.dataset).length), P = v(Kt()), F = s(() => P.value.userOptions.useCursorPointer), zt = s(() => a({
|
|
98
99
|
defaultConfig: {
|
|
99
100
|
userOptions: { show: !1 },
|
|
100
101
|
table: { show: !1 },
|
|
@@ -121,13 +122,13 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
121
122
|
} }
|
|
122
123
|
},
|
|
123
124
|
userConfig: P.value.skeletonConfig ?? {}
|
|
124
|
-
})), { loading:
|
|
125
|
-
...
|
|
125
|
+
})), { loading: Bt, FINAL_DATASET: I } = le({
|
|
126
|
+
...Fe(w),
|
|
126
127
|
FINAL_CONFIG: P,
|
|
127
|
-
prepareConfig:
|
|
128
|
+
prepareConfig: Kt,
|
|
128
129
|
callback: () => {
|
|
129
130
|
Promise.resolve().then(async () => {
|
|
130
|
-
await
|
|
131
|
+
await Ae(), R.value.showTable = P.value.table.show;
|
|
131
132
|
});
|
|
132
133
|
},
|
|
133
134
|
skeletonDataset: w.config?.skeletonDataset ?? {
|
|
@@ -139,26 +140,26 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
139
140
|
},
|
|
140
141
|
skeletonConfig: a({
|
|
141
142
|
defaultConfig: P.value,
|
|
142
|
-
userConfig:
|
|
143
|
+
userConfig: zt.value
|
|
143
144
|
})
|
|
144
145
|
});
|
|
145
|
-
|
|
146
|
-
|
|
146
|
+
Me(() => {
|
|
147
|
+
Ft.value = !0, Ht();
|
|
147
148
|
});
|
|
148
|
-
let
|
|
149
|
-
function
|
|
149
|
+
let Vt = s(() => P.value.debug);
|
|
150
|
+
function Ht() {
|
|
150
151
|
if (ie(w.dataset) && t({
|
|
151
152
|
componentName: "VueUiMoodRadar",
|
|
152
153
|
type: "dataset",
|
|
153
|
-
debug:
|
|
154
|
+
debug: Vt.value
|
|
154
155
|
}), P.value.responsive) {
|
|
155
156
|
let e = _e(() => {
|
|
156
157
|
let { width: e, height: t } = ve({
|
|
157
158
|
chart: E.value,
|
|
158
|
-
title: P.value.style.chart.title.text ?
|
|
159
|
-
legend: P.value.style.chart.legend.show ?
|
|
160
|
-
noTitle:
|
|
161
|
-
source:
|
|
159
|
+
title: P.value.style.chart.title.text ? Mt.value : null,
|
|
160
|
+
legend: P.value.style.chart.legend.show ? Nt.value : null,
|
|
161
|
+
noTitle: Ot.value,
|
|
162
|
+
source: Pt.value
|
|
162
163
|
});
|
|
163
164
|
requestAnimationFrame(() => {
|
|
164
165
|
z.value.width = e, z.value.height = t - 12;
|
|
@@ -167,16 +168,16 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
167
168
|
O.value && (k.value && O.value.unobserve(k.value), O.value.disconnect()), O.value = new ResizeObserver(e), k.value = E.value.parentNode, O.value.observe(k.value);
|
|
168
169
|
}
|
|
169
170
|
}
|
|
170
|
-
let { userOptionsVisible:
|
|
171
|
-
function
|
|
171
|
+
let { userOptionsVisible: Ut, setUserOptionsVisibility: Wt, keepUserOptionState: Gt } = xe({ config: P.value }), { svgRef: L } = Se({ config: P.value.style.chart.title });
|
|
172
|
+
function Kt() {
|
|
172
173
|
let e = fe({
|
|
173
174
|
userConfig: w.config,
|
|
174
|
-
defaultConfig:
|
|
175
|
+
defaultConfig: wt
|
|
175
176
|
}), t = e.theme;
|
|
176
177
|
if (!t) return e;
|
|
177
|
-
if (!
|
|
178
|
+
if (!Tt.value(e)) return Et(e), e;
|
|
178
179
|
let n = fe({
|
|
179
|
-
userConfig:
|
|
180
|
+
userConfig: we[t] || w.config,
|
|
180
181
|
defaultConfig: e
|
|
181
182
|
});
|
|
182
183
|
return fe({
|
|
@@ -184,17 +185,17 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
184
185
|
defaultConfig: n
|
|
185
186
|
});
|
|
186
187
|
}
|
|
187
|
-
|
|
188
|
-
P.value =
|
|
188
|
+
Ie(() => w.config, (e) => {
|
|
189
|
+
P.value = Kt(), Ut.value = !P.value.userOptions.showOnChartHover, Ht(), kt.value += 1, At.value += 1, jt.value += 1, R.value.showTable = P.value.table.show;
|
|
189
190
|
}, { deep: !0 });
|
|
190
|
-
let { isPrinting:
|
|
191
|
+
let { isPrinting: qt, isImaging: Jt, generatePdf: Yt, generateImage: Xt } = ce({
|
|
191
192
|
elementId: T.value,
|
|
192
193
|
fileName: P.value.style.chart.title.text || "vue-ui-mood-radar",
|
|
193
194
|
options: P.value.userOptions.print
|
|
194
|
-
}),
|
|
195
|
+
}), Zt = s(() => P.value.userOptions.show && !P.value.style.chart.title.text), R = v({ showTable: P.value.table.show }), z = v({
|
|
195
196
|
height: 256,
|
|
196
197
|
width: 256
|
|
197
|
-
}),
|
|
198
|
+
}), Qt = {
|
|
198
199
|
5: {
|
|
199
200
|
x: 128,
|
|
200
201
|
y: 35
|
|
@@ -215,9 +216,9 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
215
216
|
x: 38.5,
|
|
216
217
|
y: 98.5
|
|
217
218
|
}
|
|
218
|
-
},
|
|
219
|
+
}, $t = s(() => {
|
|
219
220
|
let e = {};
|
|
220
|
-
return
|
|
221
|
+
return an.value.forEach((t) => {
|
|
221
222
|
e[t.key] = {
|
|
222
223
|
x: t.x,
|
|
223
224
|
y: t.y
|
|
@@ -225,10 +226,10 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
225
226
|
}), e;
|
|
226
227
|
});
|
|
227
228
|
function B(e) {
|
|
228
|
-
let t =
|
|
229
|
+
let t = Qt[e], n = $t.value[e] || t;
|
|
229
230
|
return `translate(${n.x - t.x}, ${n.y - t.y})`;
|
|
230
231
|
}
|
|
231
|
-
let
|
|
232
|
+
let en = s(() => n({
|
|
232
233
|
plot: {
|
|
233
234
|
x: z.value.width / 2,
|
|
234
235
|
y: z.value.height / 2
|
|
@@ -237,7 +238,7 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
237
238
|
sides: 5,
|
|
238
239
|
rotation: 11
|
|
239
240
|
}));
|
|
240
|
-
function
|
|
241
|
+
function tn({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i, key: a, value: ee }) {
|
|
241
242
|
return {
|
|
242
243
|
x: e + (n - e) * i,
|
|
243
244
|
y: t + (r - t) * i,
|
|
@@ -245,7 +246,7 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
245
246
|
value: ee
|
|
246
247
|
};
|
|
247
248
|
}
|
|
248
|
-
let
|
|
249
|
+
let nn = s(() => Math.max(...Object.values(I.value).map((e) => isNaN(e) ? 0 : e))), V = s(() => Object.values(I.value).reduce((e, t) => (isNaN(e) ? 0 : e) + (isNaN(t) ? 0 : t), 0)), H = s(() => Object.keys(I.value).map((e, t) => {
|
|
249
250
|
let n = typeof I.value[e] != "number" || isNaN(I.value[e]) ? 0 : I.value[e];
|
|
250
251
|
return {
|
|
251
252
|
index: t,
|
|
@@ -257,19 +258,19 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
257
258
|
}).map((e) => ({
|
|
258
259
|
...e,
|
|
259
260
|
onSelect: () => U(e.key)
|
|
260
|
-
})).sort((e, t) => t.key - e.key)),
|
|
261
|
+
})).sort((e, t) => t.key - e.key)), rn = s(() => H.value.map((e, t) => ({
|
|
261
262
|
...e,
|
|
262
263
|
display: `${re(P.value.style.chart.layout.dataLabel.formatter, e.value, i({
|
|
263
264
|
p: P.value.style.chart.layout.dataLabel.prefix,
|
|
264
265
|
v: e.value,
|
|
265
266
|
s: P.value.style.chart.layout.dataLabel.suffix,
|
|
266
267
|
r: P.value.style.chart.layout.dataLabel.roundingValue
|
|
267
|
-
}))}${
|
|
268
|
+
}))}${Bt.value ? "" : ` (${i({
|
|
268
269
|
v: e.proportion * 100,
|
|
269
270
|
s: "%",
|
|
270
271
|
r: P.value.style.chart.legend.roundingPercentage
|
|
271
272
|
})})`}`
|
|
272
|
-
}))),
|
|
273
|
+
}))), an = s(() => ([
|
|
273
274
|
"1",
|
|
274
275
|
"2",
|
|
275
276
|
"3",
|
|
@@ -281,13 +282,13 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
281
282
|
type: "datasetAttribute",
|
|
282
283
|
property: e
|
|
283
284
|
});
|
|
284
|
-
}),
|
|
285
|
-
let n =
|
|
285
|
+
}), en.value.coordinates.map((e, t) => {
|
|
286
|
+
let n = tn({
|
|
286
287
|
centerX: z.value.width / 2,
|
|
287
288
|
centerY: z.value.height / 2,
|
|
288
289
|
apexX: e.x,
|
|
289
290
|
apexY: e.y,
|
|
290
|
-
proportion: H.value[t].value /
|
|
291
|
+
proportion: H.value[t].value / nn.value,
|
|
291
292
|
key: H.value[t].key,
|
|
292
293
|
value: H.value[t].value
|
|
293
294
|
});
|
|
@@ -296,7 +297,7 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
296
297
|
plots: n,
|
|
297
298
|
key: H.value[t].key
|
|
298
299
|
};
|
|
299
|
-
}))),
|
|
300
|
+
}))), on = s(() => ({
|
|
300
301
|
cy: "mood-radar-legend",
|
|
301
302
|
backgroundColor: P.value.style.chart.legend.backgroundColor,
|
|
302
303
|
color: P.value.style.chart.legend.color,
|
|
@@ -337,8 +338,8 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
337
338
|
})),
|
|
338
339
|
body: H.value.map((e) => isNaN(e.value) ? 0 : e.value)
|
|
339
340
|
}));
|
|
340
|
-
function
|
|
341
|
-
|
|
341
|
+
function sn(e = null) {
|
|
342
|
+
Ae(() => {
|
|
342
343
|
let t = q.value.head.map((e, t) => [
|
|
343
344
|
[e.name],
|
|
344
345
|
[q.value.body[t]],
|
|
@@ -391,21 +392,21 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
391
392
|
P.value.table.columnNames.percentage
|
|
392
393
|
]
|
|
393
394
|
}));
|
|
394
|
-
function
|
|
395
|
+
function cn() {
|
|
395
396
|
return H.value;
|
|
396
397
|
}
|
|
397
|
-
function
|
|
398
|
+
function ln() {
|
|
398
399
|
R.value.showTable = !R.value.showTable;
|
|
399
400
|
}
|
|
400
401
|
let Y = v(!1);
|
|
401
|
-
function
|
|
402
|
+
function un(e) {
|
|
402
403
|
Y.value = e;
|
|
403
404
|
}
|
|
404
405
|
let X = v(!1);
|
|
405
|
-
function
|
|
406
|
+
function dn() {
|
|
406
407
|
X.value = !X.value;
|
|
407
408
|
}
|
|
408
|
-
async function
|
|
409
|
+
async function fn({ scale: e = 2 } = {}) {
|
|
409
410
|
if (!E.value) return;
|
|
410
411
|
let { width: t, height: n } = E.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await me({
|
|
411
412
|
domElement: E.value,
|
|
@@ -425,7 +426,7 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
425
426
|
let Z = s(() => {
|
|
426
427
|
let e = P.value.table.useDialog && !P.value.table.show, t = R.value.showTable;
|
|
427
428
|
return {
|
|
428
|
-
component: e ?
|
|
429
|
+
component: e ? Ct : vt,
|
|
429
430
|
title: `${P.value.style.chart.title.text}${P.value.style.chart.title.subtitle.text ? `: ${P.value.style.chart.title.subtitle.text}` : ""}`,
|
|
430
431
|
props: e ? {
|
|
431
432
|
backgroundColor: P.value.table.th.backgroundColor,
|
|
@@ -453,40 +454,40 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
453
454
|
}
|
|
454
455
|
};
|
|
455
456
|
});
|
|
456
|
-
|
|
457
|
+
Ie(() => R.value.showTable, (e) => {
|
|
457
458
|
P.value.table.show || (e && P.value.table.useDialog && A.value ? A.value.open() : "close" in A.value && A.value.close());
|
|
458
459
|
});
|
|
459
|
-
function
|
|
460
|
-
R.value.showTable = !1,
|
|
460
|
+
function pn() {
|
|
461
|
+
R.value.showTable = !1, It.value && It.value.setTableIconState(!1);
|
|
461
462
|
}
|
|
462
|
-
let
|
|
463
|
+
let mn = s(() => rn.value.map((e) => ({
|
|
463
464
|
...e,
|
|
464
465
|
name: e.display,
|
|
465
466
|
shape: "circle"
|
|
466
|
-
}))),
|
|
467
|
+
}))), hn = s(() => P.value.style.chart.backgroundColor), gn = s(() => P.value.style.chart.legend), { exportSvg: _n, getSvg: vn } = de({
|
|
467
468
|
svg: L,
|
|
468
469
|
title: s(() => P.value.style.chart.title),
|
|
469
|
-
legend:
|
|
470
|
-
legendItems:
|
|
471
|
-
backgroundColor:
|
|
470
|
+
legend: gn,
|
|
471
|
+
legendItems: mn,
|
|
472
|
+
backgroundColor: hn
|
|
472
473
|
});
|
|
473
|
-
async function
|
|
474
|
-
M.value = !0, await
|
|
474
|
+
async function yn({ isCb: e }) {
|
|
475
|
+
M.value = !0, await Ae();
|
|
475
476
|
try {
|
|
476
477
|
if (e) {
|
|
477
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
478
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await vn();
|
|
478
479
|
await Promise.resolve(P.value.userOptions.callbacks.svg({
|
|
479
480
|
blob: e,
|
|
480
481
|
url: t,
|
|
481
482
|
text: n,
|
|
482
483
|
dataUrl: r
|
|
483
484
|
}));
|
|
484
|
-
} else await Promise.resolve(
|
|
485
|
+
} else await Promise.resolve(_n());
|
|
485
486
|
} finally {
|
|
486
487
|
M.value = !1;
|
|
487
488
|
}
|
|
488
489
|
}
|
|
489
|
-
function
|
|
490
|
+
function bn(e) {
|
|
490
491
|
if (e?.stage === "start") {
|
|
491
492
|
j.value = !0;
|
|
492
493
|
return;
|
|
@@ -495,10 +496,10 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
495
496
|
j.value = !1;
|
|
496
497
|
return;
|
|
497
498
|
}
|
|
498
|
-
|
|
499
|
+
Xt();
|
|
499
500
|
}
|
|
500
|
-
async function
|
|
501
|
-
if (
|
|
501
|
+
async function xn() {
|
|
502
|
+
if (Dt("copyAlt", {
|
|
502
503
|
config: P.value,
|
|
503
504
|
dataset: H.value
|
|
504
505
|
}), !P.value.userOptions.callbacks.altCopy) {
|
|
@@ -511,16 +512,16 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
511
512
|
}));
|
|
512
513
|
}
|
|
513
514
|
let Q = s(() => H.value.map((e) => String(e.key)));
|
|
514
|
-
function
|
|
515
|
-
|
|
515
|
+
function Sn() {
|
|
516
|
+
Wt(!0);
|
|
516
517
|
}
|
|
517
|
-
function
|
|
518
|
-
|
|
518
|
+
function Cn() {
|
|
519
|
+
Wt(!1);
|
|
519
520
|
}
|
|
520
|
-
function
|
|
521
|
+
function wn(e) {
|
|
521
522
|
return H.value.find((t) => String(t.key) === String(e));
|
|
522
523
|
}
|
|
523
|
-
function
|
|
524
|
+
function Tn(e, t, n) {
|
|
524
525
|
return re(P.value.style.chart.layout.dataLabel.formatter, e, i({
|
|
525
526
|
p: P.value.style.chart.layout.dataLabel.prefix,
|
|
526
527
|
v: e,
|
|
@@ -531,7 +532,7 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
531
532
|
seriesIndex: t
|
|
532
533
|
});
|
|
533
534
|
}
|
|
534
|
-
function
|
|
535
|
+
function En(e) {
|
|
535
536
|
return i({
|
|
536
537
|
v: V.value ? e / V.value * 100 : 0,
|
|
537
538
|
s: "%",
|
|
@@ -539,20 +540,20 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
539
540
|
});
|
|
540
541
|
}
|
|
541
542
|
function $(e) {
|
|
542
|
-
let t =
|
|
543
|
-
return t ? `${e}, ${
|
|
543
|
+
let t = wn(e);
|
|
544
|
+
return t ? `${e}, ${Tn(t.value, t.index, t)}, ${En(t.value)}` : `${e}`;
|
|
544
545
|
}
|
|
545
|
-
function
|
|
546
|
+
function Dn(e) {
|
|
546
547
|
let t = Q.value[e];
|
|
547
548
|
t && (N.value = e, D.value = t);
|
|
548
549
|
}
|
|
549
|
-
function
|
|
550
|
-
|
|
550
|
+
function On() {
|
|
551
|
+
Lt.value = !0;
|
|
551
552
|
}
|
|
552
|
-
function
|
|
553
|
-
N.value = null, D.value = null,
|
|
553
|
+
function kn() {
|
|
554
|
+
N.value = null, D.value = null, Lt.value = !1;
|
|
554
555
|
}
|
|
555
|
-
function
|
|
556
|
+
function An(e) {
|
|
556
557
|
if (!L.value || !Q.value.length || X.value || document.activeElement !== L.value) return;
|
|
557
558
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
558
559
|
if (!t && !n && !r && !i) return;
|
|
@@ -568,9 +569,9 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
568
569
|
return;
|
|
569
570
|
}
|
|
570
571
|
let a = N.value;
|
|
571
|
-
a === null || a < 0 || a >= Q.value.length ? a = n ? 0 : Q.value.length - 1 : n ? (a += 1, a >= Q.value.length && (a = 0)) : t && (--a, a < 0 && (a = Q.value.length - 1)),
|
|
572
|
+
a === null || a < 0 || a >= Q.value.length ? a = n ? 0 : Q.value.length - 1 : n ? (a += 1, a >= Q.value.length && (a = 0)) : t && (--a, a < 0 && (a = Q.value.length - 1)), Dn(a);
|
|
572
573
|
}
|
|
573
|
-
function
|
|
574
|
+
function jn(e, t) {
|
|
574
575
|
let n = e.key === "Enter" || e.key === " ", r = e.key === "Escape";
|
|
575
576
|
if (!(!n && !r)) {
|
|
576
577
|
if (e.preventDefault(), e.stopPropagation(), r) {
|
|
@@ -580,43 +581,43 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
580
581
|
U(String(t));
|
|
581
582
|
}
|
|
582
583
|
}
|
|
583
|
-
let
|
|
584
|
+
let Mn = s(() => ({
|
|
584
585
|
headers: J.value?.colNames ?? [],
|
|
585
586
|
rows: H.value.map((e) => [
|
|
586
587
|
String(e.key),
|
|
587
|
-
|
|
588
|
-
|
|
588
|
+
Tn(e.value, e.index, e),
|
|
589
|
+
En(e.value)
|
|
589
590
|
])
|
|
590
591
|
}));
|
|
591
592
|
return ge({
|
|
592
|
-
getData:
|
|
593
|
-
getImage:
|
|
594
|
-
generatePdf:
|
|
595
|
-
generateCsv:
|
|
596
|
-
generateImage:
|
|
597
|
-
generateSvg:
|
|
598
|
-
toggleTable:
|
|
599
|
-
toggleAnnotator:
|
|
600
|
-
toggleFullscreen:
|
|
601
|
-
copyAlt:
|
|
593
|
+
getData: cn,
|
|
594
|
+
getImage: fn,
|
|
595
|
+
generatePdf: Yt,
|
|
596
|
+
generateCsv: sn,
|
|
597
|
+
generateImage: Xt,
|
|
598
|
+
generateSvg: yn,
|
|
599
|
+
toggleTable: ln,
|
|
600
|
+
toggleAnnotator: dn,
|
|
601
|
+
toggleFullscreen: un,
|
|
602
|
+
copyAlt: xn
|
|
602
603
|
}), (e, t) => (_(), u("div", {
|
|
603
|
-
class:
|
|
604
|
+
class: je(`vue-data-ui-component vue-ui-mood-radar ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
604
605
|
ref_key: "moodRadarChart",
|
|
605
606
|
ref: E,
|
|
606
607
|
id: `${T.value}`,
|
|
607
608
|
style: g(`font-family:${P.value.style.fontFamily};width:100%; text-align:center;background:${P.value.style.chart.backgroundColor}`),
|
|
608
|
-
onMouseenter:
|
|
609
|
-
onMouseleave:
|
|
609
|
+
onMouseenter: Sn,
|
|
610
|
+
onMouseleave: Cn
|
|
610
611
|
}, [
|
|
611
612
|
d("div", {
|
|
612
613
|
id: `chart-instructions-${T.value}`,
|
|
613
614
|
class: "sr-only"
|
|
614
|
-
}, [d("p", null, b(P.value.a11y.translations.keyboardNavigation), 1)], 8,
|
|
615
|
-
|
|
615
|
+
}, [d("p", null, b(P.value.a11y.translations.keyboardNavigation), 1)], 8, ze),
|
|
616
|
+
Mn.value?.rows?.length ? (_(), c(be, {
|
|
616
617
|
key: 0,
|
|
617
618
|
uid: T.value,
|
|
618
|
-
head:
|
|
619
|
-
body:
|
|
619
|
+
head: Mn.value.headers,
|
|
620
|
+
body: Mn.value.rows,
|
|
620
621
|
notice: P.value.a11y.translations.tableAvailable,
|
|
621
622
|
caption: P.value.a11y.translations.tableCaption
|
|
622
623
|
}, null, 8, [
|
|
@@ -626,14 +627,14 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
626
627
|
"notice",
|
|
627
628
|
"caption"
|
|
628
629
|
])) : l("", !0),
|
|
629
|
-
P.value.userOptions.buttons.annotator ? (_(), c(x(
|
|
630
|
+
P.value.userOptions.buttons.annotator ? (_(), c(x(bt), {
|
|
630
631
|
key: 1,
|
|
631
632
|
svgRef: x(L),
|
|
632
633
|
backgroundColor: P.value.style.chart.backgroundColor,
|
|
633
634
|
color: P.value.style.chart.color,
|
|
634
635
|
active: X.value,
|
|
635
636
|
isCursorPointer: F.value,
|
|
636
|
-
onClose:
|
|
637
|
+
onClose: dn
|
|
637
638
|
}, {
|
|
638
639
|
"annotator-action-close": S(() => [y(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
639
640
|
"annotator-action-color": S(({ color: t }) => [y(e.$slots, "annotator-action-color", h(m({ color: t })), void 0, !0)]),
|
|
@@ -649,17 +650,17 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
649
650
|
"active",
|
|
650
651
|
"isCursorPointer"
|
|
651
652
|
])) : l("", !0),
|
|
652
|
-
|
|
653
|
+
Zt.value ? (_(), u("div", {
|
|
653
654
|
key: 2,
|
|
654
655
|
ref_key: "noTitle",
|
|
655
|
-
ref:
|
|
656
|
+
ref: Ot,
|
|
656
657
|
class: "vue-data-ui-no-title-space",
|
|
657
658
|
style: "height:36px; width: 100%;background:transparent"
|
|
658
659
|
}, null, 512)) : l("", !0),
|
|
659
660
|
P.value.style.chart.title.text ? (_(), u("div", {
|
|
660
661
|
key: 3,
|
|
661
662
|
ref_key: "chartTitle",
|
|
662
|
-
ref:
|
|
663
|
+
ref: Mt,
|
|
663
664
|
style: "width:100%;background:transparent"
|
|
664
665
|
}, [f(he, { config: {
|
|
665
666
|
title: {
|
|
@@ -671,15 +672,15 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
671
672
|
...P.value.style.chart.title.subtitle
|
|
672
673
|
}
|
|
673
674
|
} }, null, 8, ["config"])], 512)) : l("", !0),
|
|
674
|
-
d("div", { id: `legend-top-${T.value}` }, null, 8,
|
|
675
|
-
P.value.userOptions.show &&
|
|
675
|
+
d("div", { id: `legend-top-${T.value}` }, null, 8, Be),
|
|
676
|
+
P.value.userOptions.show && Rt.value && (x(Gt) || x(Ut)) ? (_(), c(x(xt), {
|
|
676
677
|
key: 4,
|
|
677
678
|
ref_key: "userOptionsRef",
|
|
678
|
-
ref:
|
|
679
|
+
ref: It,
|
|
679
680
|
backgroundColor: P.value.style.chart.backgroundColor,
|
|
680
681
|
color: P.value.style.chart.color,
|
|
681
|
-
isPrinting: x(
|
|
682
|
-
isImaging: x(
|
|
682
|
+
isPrinting: x(qt),
|
|
683
|
+
isImaging: x(Jt),
|
|
683
684
|
uid: T.value,
|
|
684
685
|
hasPdf: P.value.userOptions.buttons.pdf,
|
|
685
686
|
hasXls: P.value.userOptions.buttons.csv,
|
|
@@ -698,16 +699,16 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
698
699
|
printScale: P.value.userOptions.print.scale,
|
|
699
700
|
tableDialog: P.value.table.useDialog,
|
|
700
701
|
isCursorPointer: F.value,
|
|
701
|
-
onToggleFullscreen:
|
|
702
|
-
onGeneratePdf: x(
|
|
703
|
-
onGenerateCsv:
|
|
704
|
-
onGenerateImage:
|
|
705
|
-
onGenerateSvg:
|
|
706
|
-
onToggleTable:
|
|
707
|
-
onToggleAnnotator:
|
|
708
|
-
onCopyAlt:
|
|
709
|
-
style: g({ visibility: x(
|
|
710
|
-
},
|
|
702
|
+
onToggleFullscreen: un,
|
|
703
|
+
onGeneratePdf: x(Yt),
|
|
704
|
+
onGenerateCsv: sn,
|
|
705
|
+
onGenerateImage: bn,
|
|
706
|
+
onGenerateSvg: yn,
|
|
707
|
+
onToggleTable: ln,
|
|
708
|
+
onToggleAnnotator: dn,
|
|
709
|
+
onCopyAlt: xn,
|
|
710
|
+
style: g({ visibility: x(Gt) ? x(Ut) ? "visible" : "hidden" : "visible" })
|
|
711
|
+
}, De({ _: 2 }, [
|
|
711
712
|
e.$slots.menuIcon ? {
|
|
712
713
|
name: "menuIcon",
|
|
713
714
|
fn: S(({ isOpen: t, color: n }) => [y(e.$slots, "menuIcon", h(m({
|
|
@@ -798,23 +799,23 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
798
799
|
"onGeneratePdf",
|
|
799
800
|
"style"
|
|
800
801
|
])) : l("", !0),
|
|
801
|
-
d("div",
|
|
802
|
+
d("div", Ve, [(_(), u("svg", {
|
|
802
803
|
ref_key: "svgRef",
|
|
803
804
|
ref: L,
|
|
804
805
|
xmlns: x(ae),
|
|
805
806
|
"aria-describedby": `chart-instructions-${T.value}`,
|
|
806
807
|
viewBox: `0 0 ${z.value.width} ${z.value.height}`,
|
|
807
|
-
class:
|
|
808
|
+
class: je({
|
|
808
809
|
"vue-data-ui-fullscreen--on": Y.value,
|
|
809
810
|
"vue-data-ui-fulscreen--off": !Y.value
|
|
810
811
|
}),
|
|
811
812
|
style: g(`overflow:visible;background:transparent;color:${P.value.style.chart.color}`),
|
|
812
813
|
tabindex: "0",
|
|
813
|
-
onFocus:
|
|
814
|
-
onBlur:
|
|
815
|
-
onKeydown:
|
|
814
|
+
onFocus: On,
|
|
815
|
+
onBlur: kn,
|
|
816
|
+
onKeydown: An
|
|
816
817
|
}, [
|
|
817
|
-
f(x(
|
|
818
|
+
f(x(St)),
|
|
818
819
|
e.$slots["chart-background"] ? (_(), u("foreignObject", {
|
|
819
820
|
key: 0,
|
|
820
821
|
x: 0,
|
|
@@ -822,44 +823,48 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
822
823
|
width: z.value.width,
|
|
823
824
|
height: z.value.height,
|
|
824
825
|
style: { pointerEvents: "none" }
|
|
825
|
-
}, [y(e.$slots, "chart-background", {}, void 0, !0)], 8,
|
|
826
|
-
d("defs", null, [
|
|
826
|
+
}, [y(e.$slots, "chart-background", {}, void 0, !0)], 8, Ue)) : l("", !0),
|
|
827
|
+
d("defs", null, [f(ye, {
|
|
828
|
+
t: "radial",
|
|
827
829
|
cx: "50%",
|
|
828
830
|
cy: "50%",
|
|
829
831
|
r: "50%",
|
|
830
832
|
fx: "50%",
|
|
831
833
|
fy: "50%",
|
|
832
|
-
id: `mood_radar_gradient_${T.value}
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
834
|
+
id: `mood_radar_gradient_${T.value}`,
|
|
835
|
+
stops: [[
|
|
836
|
+
"0%",
|
|
837
|
+
x(o)(P.value.style.chart.layout.dataPolygon.color, P.value.style.chart.layout.dataPolygon.opacity),
|
|
838
|
+
1
|
|
839
|
+
], [
|
|
840
|
+
"100%",
|
|
841
|
+
x(o)(x(oe)(P.value.style.chart.layout.dataPolygon.color, P.value.style.chart.layout.dataPolygon.gradient.intensity / 100), P.value.style.chart.layout.dataPolygon.opacity),
|
|
842
|
+
1
|
|
843
|
+
]]
|
|
844
|
+
}, null, 8, ["id", "stops"])]),
|
|
845
|
+
(_(!0), u(Te, null, Ne(en.value.coordinates, (e) => (_(), u("line", {
|
|
841
846
|
x1: z.value.width / 2,
|
|
842
847
|
y1: z.value.height / 2,
|
|
843
848
|
x2: e.x,
|
|
844
849
|
y2: e.y,
|
|
845
850
|
stroke: P.value.style.chart.layout.grid.stroke,
|
|
846
851
|
"stroke-width": P.value.style.chart.layout.grid.strokeWidth
|
|
847
|
-
}, null, 8,
|
|
852
|
+
}, null, 8, We))), 256)),
|
|
848
853
|
d("path", {
|
|
849
|
-
d:
|
|
854
|
+
d: en.value.path,
|
|
850
855
|
fill: "none",
|
|
851
856
|
stroke: P.value.style.chart.layout.outerPolygon.stroke,
|
|
852
857
|
"stroke-width": P.value.style.chart.layout.outerPolygon.strokeWidth,
|
|
853
858
|
"stroke-linejoin": "round",
|
|
854
859
|
"stroke-linecap": "round"
|
|
855
|
-
}, null, 8,
|
|
860
|
+
}, null, 8, Ge),
|
|
856
861
|
d("g", { transform: B("5") }, [d("path", {
|
|
857
862
|
fill: "none",
|
|
858
863
|
stroke: P.value.style.chart.layout.smileys.colors[5],
|
|
859
864
|
"stroke-width": "1",
|
|
860
865
|
"stroke-linecap": "round",
|
|
861
866
|
d: "M119 25A1 1 0 00137 25 1 1 0 00119 25M123 26C124 33 132 33 133 26L123 26M123 22A1 1 0 00126 22 1 1 0 00123 22M130 22A1 1 0 00133 22 1 1 0 00130 22"
|
|
862
|
-
}, null, 8,
|
|
867
|
+
}, null, 8, qe), d("circle", {
|
|
863
868
|
role: "button",
|
|
864
869
|
class: "vue-ui-mood-radar-trap",
|
|
865
870
|
cx: "128",
|
|
@@ -870,14 +875,14 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
870
875
|
onMouseenter: t[0] ||= (e) => W("5"),
|
|
871
876
|
onMouseleave: t[1] ||= (e) => G("5"),
|
|
872
877
|
onClick: t[2] ||= (e) => K("5")
|
|
873
|
-
}, null, 40,
|
|
878
|
+
}, null, 40, Je)], 8, Ke),
|
|
874
879
|
d("g", { transform: B("4") }, [d("path", {
|
|
875
880
|
fill: "none",
|
|
876
881
|
stroke: P.value.style.chart.layout.smileys.colors[4],
|
|
877
882
|
"stroke-width": "1",
|
|
878
883
|
"stroke-linecap": "round",
|
|
879
884
|
d: "M218 95A1 1 0 00236 95 1 1 0 00218 95M222 97C225 99 229 99 232 97M222 92A1 1 0 00225 92 1 1 0 00222 92M229 92A1 1 0 00232 92 1 1 0 00229 92"
|
|
880
|
-
}, null, 8,
|
|
885
|
+
}, null, 8, Xe), d("circle", {
|
|
881
886
|
class: "vue-ui-mood-radar-trap",
|
|
882
887
|
cx: "227",
|
|
883
888
|
cy: "95.5",
|
|
@@ -887,14 +892,14 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
887
892
|
onMouseenter: t[3] ||= (e) => W("4"),
|
|
888
893
|
onMouseleave: t[4] ||= (e) => G("4"),
|
|
889
894
|
onClick: t[5] ||= (e) => K("4")
|
|
890
|
-
}, null, 40,
|
|
895
|
+
}, null, 40, Ze)], 8, Ye),
|
|
891
896
|
d("g", { transform: B("3") }, [d("path", {
|
|
892
897
|
fill: "none",
|
|
893
898
|
stroke: P.value.style.chart.layout.smileys.colors[3],
|
|
894
899
|
"stroke-width": "1",
|
|
895
900
|
"stroke-linecap": "round",
|
|
896
901
|
d: "M181 213A1 1 0 00199 213 1 1 0 00181 213M185 210A1 1 0 00188 210 1 1 0 00185 210M192 210A1 1 0 00195 210 1 1 0 00192 210M185 215 195 215"
|
|
897
|
-
}, null, 8,
|
|
902
|
+
}, null, 8, $e), d("circle", {
|
|
898
903
|
class: "vue-ui-mood-radar-trap",
|
|
899
904
|
cx: "190",
|
|
900
905
|
cy: "213.5",
|
|
@@ -904,14 +909,14 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
904
909
|
onMouseenter: t[6] ||= (e) => W("3"),
|
|
905
910
|
onMouseleave: t[7] ||= (e) => G("3"),
|
|
906
911
|
onClick: t[8] ||= (e) => K("3")
|
|
907
|
-
}, null, 40,
|
|
912
|
+
}, null, 40, et)], 8, Qe),
|
|
908
913
|
d("g", { transform: B("2") }, [d("path", {
|
|
909
914
|
fill: "none",
|
|
910
915
|
stroke: P.value.style.chart.layout.smileys.colors[2],
|
|
911
916
|
"stroke-width": "1",
|
|
912
917
|
"stroke-linecap": "round",
|
|
913
918
|
d: "M56 213A1 1 0 0074 213 1 1 0 0056 213M60 216C63 214 67 214 70 216M60 210A1 1 0 0063 210 1 1 0 0060 210M67 210A1 1 0 0070 210 1 1 0 0067 210"
|
|
914
|
-
}, null, 8,
|
|
919
|
+
}, null, 8, nt), d("circle", {
|
|
915
920
|
class: "vue-ui-mood-radar-trap",
|
|
916
921
|
cx: "65",
|
|
917
922
|
cy: "213.5",
|
|
@@ -921,14 +926,14 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
921
926
|
onMouseenter: t[9] ||= (e) => W("2"),
|
|
922
927
|
onMouseleave: t[10] ||= (e) => G("2"),
|
|
923
928
|
onClick: t[11] ||= (e) => K("2")
|
|
924
|
-
}, null, 40,
|
|
929
|
+
}, null, 40, rt)], 8, tt),
|
|
925
930
|
d("g", { transform: B("1") }, [d("path", {
|
|
926
931
|
fill: "none",
|
|
927
932
|
stroke: P.value.style.chart.layout.smileys.colors[1],
|
|
928
933
|
"stroke-width": "1",
|
|
929
934
|
"stroke-linecap": "round",
|
|
930
935
|
d: "M20 96A1 1 0 0038 96 1 1 0 0020 96M24 100C25 95 33 95 34 100L24 100M24 93A1 1 0 0027 93 1 1 0 0024 93M31 93A1 1 0 0034 93 1 1 0 0031 93"
|
|
931
|
-
}, null, 8,
|
|
936
|
+
}, null, 8, at), d("circle", {
|
|
932
937
|
class: "vue-ui-mood-radar-trap",
|
|
933
938
|
cx: "29",
|
|
934
939
|
cy: "95.5",
|
|
@@ -938,16 +943,16 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
938
943
|
onMouseenter: t[12] ||= (e) => W("1"),
|
|
939
944
|
onMouseleave: t[13] ||= (e) => G("1"),
|
|
940
945
|
onClick: t[14] ||= (e) => K("1")
|
|
941
|
-
}, null, 40,
|
|
946
|
+
}, null, 40, ot)], 8, it),
|
|
942
947
|
d("path", {
|
|
943
|
-
d: x(ee)(
|
|
948
|
+
d: x(ee)(an.value.map((e) => e.plots)),
|
|
944
949
|
stroke: P.value.style.chart.layout.dataPolygon.stroke,
|
|
945
950
|
"stroke-width": P.value.style.chart.layout.dataPolygon.strokeWidth,
|
|
946
951
|
"stroke-linecap": "round",
|
|
947
952
|
"stroke-linejoin": "round",
|
|
948
953
|
fill: P.value.style.chart.layout.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${T.value})` : x(o)(P.value.style.chart.layout.dataPolygon.color, P.value.style.chart.layout.dataPolygon.opacity)
|
|
949
|
-
}, null, 8,
|
|
950
|
-
(_(!0), u(
|
|
954
|
+
}, null, 8, st),
|
|
955
|
+
(_(!0), u(Te, null, Ne(an.value.map((e) => e.plots), (e, t) => (_(), u("g", {
|
|
951
956
|
class: "vue-ui-mood-radar-trap",
|
|
952
957
|
style: g(`opacity:${D.value == e.key ? "1" : "0"}`)
|
|
953
958
|
}, [
|
|
@@ -957,7 +962,7 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
957
962
|
x2: z.value.width / 2,
|
|
958
963
|
y2: z.value.height / 2,
|
|
959
964
|
stroke: P.value.style.chart.layout.smileys.colors[e.key]
|
|
960
|
-
}, null, 8,
|
|
965
|
+
}, null, 8, ct),
|
|
961
966
|
d("circle", {
|
|
962
967
|
cx: e.x,
|
|
963
968
|
cy: e.y,
|
|
@@ -965,7 +970,7 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
965
970
|
r: "3",
|
|
966
971
|
stroke: P.value.style.chart.backgroundColor,
|
|
967
972
|
"stroke-width": .5
|
|
968
|
-
}, null, 8,
|
|
973
|
+
}, null, 8, lt),
|
|
969
974
|
d("circle", {
|
|
970
975
|
cx: z.value.width / 2,
|
|
971
976
|
cy: z.value.height / 2,
|
|
@@ -973,7 +978,7 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
973
978
|
r: "3",
|
|
974
979
|
stroke: P.value.style.chart.backgroundColor,
|
|
975
980
|
"stroke-width": .5
|
|
976
|
-
}, null, 8,
|
|
981
|
+
}, null, 8, ut),
|
|
977
982
|
d("text", {
|
|
978
983
|
x: z.value.width / 2,
|
|
979
984
|
y: ["5", 5].includes(e.key) ? z.value.height / 2 * 1.13 : z.value.height / 2 * .9375,
|
|
@@ -989,7 +994,7 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
989
994
|
}), {
|
|
990
995
|
datapoint: e,
|
|
991
996
|
seriesIndex: t
|
|
992
|
-
})), 9,
|
|
997
|
+
})), 9, dt),
|
|
993
998
|
d("text", {
|
|
994
999
|
x: z.value.width / 2,
|
|
995
1000
|
y: ["5", 5].includes(e.key) ? z.value.height / 2 * 1.273 : z.value.height / 2 * .7968,
|
|
@@ -1000,29 +1005,29 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
1000
1005
|
v: e.value / V.value * 100,
|
|
1001
1006
|
s: "%",
|
|
1002
1007
|
r: P.value.style.chart.layout.dataLabel.roundingPercentage
|
|
1003
|
-
})) + ") ", 9,
|
|
1008
|
+
})) + ") ", 9, ft)
|
|
1004
1009
|
], 4))), 256)),
|
|
1005
1010
|
y(e.$slots, "svg", { svg: {
|
|
1006
1011
|
...z.value,
|
|
1007
|
-
isPrintingImg: x(
|
|
1012
|
+
isPrintingImg: x(qt) || x(Jt) || j.value,
|
|
1008
1013
|
isPrintingSvg: M.value
|
|
1009
1014
|
} }, void 0, !0)
|
|
1010
|
-
], 46,
|
|
1015
|
+
], 46, He)), e.$slots.hint ? (_(), u("div", pt, [y(e.$slots, "hint", h(m({
|
|
1011
1016
|
hint: P.value.a11y.translations.keyboardNavigation,
|
|
1012
|
-
isVisible:
|
|
1017
|
+
isVisible: Lt.value
|
|
1013
1018
|
})), void 0, !0)])) : l("", !0)]),
|
|
1014
|
-
e.$slots.watermark ? (_(), u("div",
|
|
1015
|
-
d("div", { id: `legend-bottom-${T.value}` }, null, 8,
|
|
1016
|
-
|
|
1019
|
+
e.$slots.watermark ? (_(), u("div", mt, [y(e.$slots, "watermark", h(m({ isPrinting: x(qt) || x(Jt) || j.value || M.value })), void 0, !0)])) : l("", !0),
|
|
1020
|
+
d("div", { id: `legend-bottom-${T.value}` }, null, 8, ht),
|
|
1021
|
+
Ft.value && (P.value.style.chart.legend.show || e.$slots.legend) ? (_(), c(Ee, {
|
|
1017
1022
|
key: 6,
|
|
1018
1023
|
to: P.value.style.chart.legend.position === "top" ? `#legend-top-${T.value}` : `#legend-bottom-${T.value}`
|
|
1019
1024
|
}, [d("div", {
|
|
1020
1025
|
ref_key: "chartLegend",
|
|
1021
|
-
ref:
|
|
1022
|
-
}, [y(e.$slots, "legend", { legend: H.value }, () => [P.value.style.chart.legend.show ? (_(), c(
|
|
1023
|
-
legendSet:
|
|
1024
|
-
config:
|
|
1025
|
-
key: `legend_${
|
|
1026
|
+
ref: Nt
|
|
1027
|
+
}, [y(e.$slots, "legend", { legend: H.value }, () => [P.value.style.chart.legend.show ? (_(), c(Ce, {
|
|
1028
|
+
legendSet: rn.value,
|
|
1029
|
+
config: on.value,
|
|
1030
|
+
key: `legend_${jt.value}`,
|
|
1026
1031
|
isCursorPointer: F.value,
|
|
1027
1032
|
style: {
|
|
1028
1033
|
display: "flex",
|
|
@@ -1040,7 +1045,7 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
1040
1045
|
"align-items": "center",
|
|
1041
1046
|
margin: "3px 0"
|
|
1042
1047
|
},
|
|
1043
|
-
onKeydown: (t) =>
|
|
1048
|
+
onKeydown: (t) => jn(t, String(e.key))
|
|
1044
1049
|
}, [
|
|
1045
1050
|
e.key == 1 ? (_(), c(x(C), {
|
|
1046
1051
|
key: 0,
|
|
@@ -1072,11 +1077,11 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
1072
1077
|
name: "moodHappy",
|
|
1073
1078
|
stroke: P.value.style.chart.layout.smileys.colors[e.key]
|
|
1074
1079
|
}, null, 8, ["stroke"])) : l("", !0),
|
|
1075
|
-
x(
|
|
1080
|
+
x(Bt) ? l("", !0) : (_(), u("span", {
|
|
1076
1081
|
key: 5,
|
|
1077
1082
|
style: g({ fontWeight: P.value.style.chart.legend.bold ? "bold" : "normal" })
|
|
1078
1083
|
}, b(e.display), 5))
|
|
1079
|
-
], 40,
|
|
1084
|
+
], 40, gt)]),
|
|
1080
1085
|
_: 1
|
|
1081
1086
|
}, 8, [
|
|
1082
1087
|
"legendSet",
|
|
@@ -1086,15 +1091,15 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
1086
1091
|
e.$slots.source ? (_(), u("div", {
|
|
1087
1092
|
key: 7,
|
|
1088
1093
|
ref_key: "source",
|
|
1089
|
-
ref:
|
|
1094
|
+
ref: Pt,
|
|
1090
1095
|
dir: "auto"
|
|
1091
1096
|
}, [y(e.$slots, "source", {}, void 0, !0)], 512)) : l("", !0),
|
|
1092
|
-
|
|
1097
|
+
Rt.value && P.value.userOptions.buttons.table ? (_(), c(Pe(Z.value.component), ke({ key: 8 }, Z.value.props, {
|
|
1093
1098
|
ref_key: "tableUnit",
|
|
1094
1099
|
ref: A,
|
|
1095
|
-
onClose:
|
|
1096
|
-
}),
|
|
1097
|
-
content: S(() => [f(x(
|
|
1100
|
+
onClose: pn
|
|
1101
|
+
}), De({
|
|
1102
|
+
content: S(() => [f(x(yt), {
|
|
1098
1103
|
colNames: J.value.colNames,
|
|
1099
1104
|
head: J.value.head,
|
|
1100
1105
|
body: J.value.body,
|
|
@@ -1102,7 +1107,7 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
1102
1107
|
title: P.value.table.useDialog ? "" : Z.value.title,
|
|
1103
1108
|
withCloseButton: !P.value.table.useDialog,
|
|
1104
1109
|
isCursorPointer: F.value,
|
|
1105
|
-
onClose:
|
|
1110
|
+
onClose: pn
|
|
1106
1111
|
}, {
|
|
1107
1112
|
th: S(({ th: e }) => [d("div", {
|
|
1108
1113
|
innerHTML: e,
|
|
@@ -1110,8 +1115,8 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
1110
1115
|
display: "flex",
|
|
1111
1116
|
"align-items": "center"
|
|
1112
1117
|
}
|
|
1113
|
-
}, null, 8,
|
|
1114
|
-
td: S(({ td: e }) => [
|
|
1118
|
+
}, null, 8, _t)]),
|
|
1119
|
+
td: S(({ td: e }) => [Oe(b(e.name || e), 1)]),
|
|
1115
1120
|
_: 1
|
|
1116
1121
|
}, 8, [
|
|
1117
1122
|
"colNames",
|
|
@@ -1125,14 +1130,14 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
1125
1130
|
_: 2
|
|
1126
1131
|
}, [P.value.table.useDialog ? {
|
|
1127
1132
|
name: "title",
|
|
1128
|
-
fn: S(() => [
|
|
1133
|
+
fn: S(() => [Oe(b(Z.value.title), 1)]),
|
|
1129
1134
|
key: "0"
|
|
1130
1135
|
} : void 0, P.value.table.useDialog ? {
|
|
1131
1136
|
name: "actions",
|
|
1132
1137
|
fn: S(() => [d("button", {
|
|
1133
1138
|
tabindex: "0",
|
|
1134
1139
|
class: "vue-ui-user-options-button",
|
|
1135
|
-
onClick: t[16] ||= (e) =>
|
|
1140
|
+
onClick: t[16] ||= (e) => sn(P.value.userOptions.callbacks.csv),
|
|
1136
1141
|
style: g({ cursor: F.value ? "pointer" : "default" })
|
|
1137
1142
|
}, [f(x(C), {
|
|
1138
1143
|
name: "fileCsv",
|
|
@@ -1140,9 +1145,9 @@ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze =
|
|
|
1140
1145
|
}, null, 8, ["stroke"])], 4)]),
|
|
1141
1146
|
key: "1"
|
|
1142
1147
|
} : void 0]), 1040)) : l("", !0),
|
|
1143
|
-
y(e.$slots, "skeleton", {}, () => [x(
|
|
1144
|
-
], 46,
|
|
1148
|
+
y(e.$slots, "skeleton", {}, () => [x(Bt) ? (_(), c(ue, { key: 0 })) : l("", !0)], !0)
|
|
1149
|
+
], 46, Re));
|
|
1145
1150
|
}
|
|
1146
|
-
}, [["__scopeId", "data-v-
|
|
1151
|
+
}, [["__scopeId", "data-v-6e8506cb"]]);
|
|
1147
1152
|
//#endregion
|
|
1148
|
-
export {
|
|
1153
|
+
export { Le as n, C as t };
|