vue-data-ui 3.25.8 → 3.25.10
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/{BaseScanner-DZvpgOjM.js → BaseScanner-Dzc8VT3j.js} +6 -3
- package/dist/{PackageVersion-ekRvV3aF.js → PackageVersion-CZZayD-D.js} +1 -1
- package/dist/{PenAndPaper-KFzKlvbi.js → PenAndPaper-Cd3nItcO.js} +3 -3
- package/dist/{SlicerPreview-B6iHOC9L.js → SlicerPreview-Ccss7Vsq.js} +2 -2
- package/dist/{SparkTooltip-C-Y-mDrc.js → SparkTooltip-L3SliZbR.js} +1 -1
- package/dist/{UserOptions-2x4VklMW.js → UserOptions-qo_Tsqci.js} +1 -1
- package/dist/components/vue-ui-3d-bar.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-kpi.js +1 -1
- package/dist/components/vue-ui-label.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-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-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/composables.js +1 -1
- package/dist/{dom-to-png-C6cQJ5Hq.js → dom-to-png-BR4imuKV.js} +1 -1
- package/dist/{geoProjections-CEo3dVaL.js → geoProjections-BYthUA8l.js} +2 -2
- package/dist/{img-DhGApYG0.js → img-BkMKbWsI.js} +1 -1
- package/dist/{package-C4XeEHJx.js → package-CYtJq7s7.js} +1 -1
- package/dist/{pdf-Di5yPEw9.js → pdf-BSOs_GZz.js} +1 -1
- package/dist/{render-common-CQUp12xB.js → render-common-CpHpPc5s.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/types/utils.d.ts +5 -5
- package/dist/types/vue-data-ui.d.ts +5 -5
- package/dist/{usePrinter-DISD7q5m.js → usePrinter-hohanNCX.js} +4 -4
- package/dist/{useTooltipPosition-DifeoeQW.js → useTooltipPosition-BCrtQa9H.js} +1 -1
- package/dist/{vue-data-ui-BChCkqtW.js → vue-data-ui-ChB3aXCO.js} +65 -65
- package/dist/vue-data-ui.js +66 -66
- package/dist/{vue-ui-3d-bar-BkVOy4Y_.js → vue-ui-3d-bar-DcXbkO19.js} +5 -5
- package/dist/{vue-ui-age-pyramid-1_yQ64LX.js → vue-ui-age-pyramid-Cnaxt9NI.js} +263 -251
- package/dist/{vue-ui-annotator-BO5ihHOB.js → vue-ui-annotator-BLYRy--7.js} +12 -12
- package/dist/{vue-ui-bullet-BF1FeBst.js → vue-ui-bullet-DOfD2TSb.js} +4 -4
- package/dist/{vue-ui-bump-ZtKya76Y.js → vue-ui-bump-DL2lDZbE.js} +3 -3
- package/dist/{vue-ui-candlestick-P-clTYIt.js → vue-ui-candlestick-ijujiVJ5.js} +453 -441
- package/dist/{vue-ui-carousel-table-BVS-4A3h.js → vue-ui-carousel-table-DFtWb2-C.js} +3 -3
- package/dist/{vue-ui-chestnut-DHOIbpib.js → vue-ui-chestnut-BGXr0s08.js} +5 -5
- package/dist/{vue-ui-chord-CX_Mc3Fp.js → vue-ui-chord-DgBzLfbv.js} +5 -5
- package/dist/{vue-ui-circle-pack-Caqvblsl.js → vue-ui-circle-pack-88qDJbt0.js} +494 -482
- package/dist/{vue-ui-cursor-BFF4tWUb.js → vue-ui-cursor-CcEB7Ypx.js} +1 -1
- package/dist/{vue-ui-dag-CtG3HUh4.js → vue-ui-dag-BeoFmTDs.js} +6 -6
- package/dist/{vue-ui-dashboard-DASHNFPT.js → vue-ui-dashboard-NOVcGMCa.js} +63 -63
- package/dist/{vue-ui-digits-BQWHzntO.js → vue-ui-digits-BGmT7H1z.js} +1 -1
- package/dist/{vue-ui-donut-DHP_lm0m.js → vue-ui-donut-CP7ilveE.js} +838 -826
- package/dist/{vue-ui-donut-vbqlIlij.js → vue-ui-donut-CtXzuWzy.js} +1 -1
- package/dist/{vue-ui-donut-evolution-Cio3lNLz.js → vue-ui-donut-evolution-D_-y7BZi.js} +6 -6
- package/dist/{vue-ui-dumbbell-C2lQhCfq.js → vue-ui-dumbbell-BR1Cn4wm.js} +4 -4
- package/dist/vue-ui-flow-Bm6TgD8I.js +1229 -0
- package/dist/{vue-ui-funnel-DDncfHgI.js → vue-ui-funnel-CQ0-9nZT.js} +3 -3
- package/dist/vue-ui-galaxy-DUto0BOw.js +1097 -0
- package/dist/{vue-ui-gauge-OQbET2bh.js → vue-ui-gauge-B6pyA6Jh.js} +4 -4
- package/dist/{vue-ui-geo-Ddw87hVT.js → vue-ui-geo-BlG7s8MH.js} +408 -396
- package/dist/{vue-ui-gizmo-DJVWEvWS.js → vue-ui-gizmo-BlyehpxE.js} +2 -2
- package/dist/{vue-ui-heatmap-BKG4xt6j.js → vue-ui-heatmap-DqbWkKAE.js} +405 -393
- package/dist/{vue-ui-hill-BAruBiw6.js → vue-ui-hill-CGE0NdNk.js} +7 -7
- package/dist/vue-ui-history-plot-CaxqIiTb.js +1710 -0
- package/dist/{vue-ui-horizontal-bar-CXT7-P_o.js → vue-ui-horizontal-bar-Ykwe4M1n.js} +401 -389
- package/dist/{vue-ui-kpi-uOGX20hs.js → vue-ui-kpi-B7Nfet0o.js} +1 -1
- package/dist/{vue-ui-label-C1UAzvAu.js → vue-ui-label-Cs4ZlAqr.js} +10 -10
- package/dist/{vue-ui-molecule-BcA064dR.js → vue-ui-molecule-DWq98OSc.js} +347 -335
- package/dist/{vue-ui-mood-radar-CXtC0IqT.js → vue-ui-mood-radar-DDfimq6c.js} +5 -5
- package/dist/{vue-ui-nested-donuts-BFE0oXF_.js → vue-ui-nested-donuts-Bt-r6uXS.js} +360 -348
- package/dist/vue-ui-onion-D8gOhQHP.js +1247 -0
- package/dist/{vue-ui-parallel-coordinate-plot-5kKVnNmE.js → vue-ui-parallel-coordinate-plot-BbPbJiiu.js} +387 -375
- package/dist/{vue-ui-quadrant-BPg8L6Sw.js → vue-ui-quadrant-BJlf3qW1.js} +418 -406
- package/dist/{vue-ui-quick-chart-DQ_rhjqc.js → vue-ui-quick-chart-Cb8x00-X.js} +550 -538
- package/dist/{vue-ui-radar-C65wD7cW.js → vue-ui-radar-30PF-qqr.js} +330 -318
- package/dist/{vue-ui-relation-circle-nZaZcCh1.js → vue-ui-relation-circle-CRiC4PnL.js} +4 -4
- package/dist/{vue-ui-ridgeline-Bsi2hN14.js → vue-ui-ridgeline-CSs4Tq_c.js} +4 -4
- package/dist/{vue-ui-rings-DkCzxDyQ.js → vue-ui-rings-BqRWK5rY.js} +321 -309
- package/dist/{vue-ui-scatter-V01qkcN8.js → vue-ui-scatter-Bsh6jbdW.js} +584 -572
- package/dist/{vue-ui-skeleton-BgYtv_I2.js → vue-ui-skeleton-DbPSsEKV.js} +1 -1
- package/dist/{vue-ui-spark-trend-Dm1OyGyr.js → vue-ui-spark-trend--8QokOII.js} +2 -2
- package/dist/{vue-ui-sparkbar-D3hChHHS.js → vue-ui-sparkbar-DkX9Demg.js} +2 -2
- package/dist/{vue-ui-sparkgauge-CAeJapmG.js → vue-ui-sparkgauge-Ci_xD5B7.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-ZIo_Vg7F.js → vue-ui-sparkhistogram-Qe3ZCPRd.js} +2 -2
- package/dist/{vue-ui-sparkline-BjvSeM83.js → vue-ui-sparkline-BwldgOYW.js} +2 -2
- package/dist/vue-ui-sparkstackbar-Divd0hL_.js +750 -0
- package/dist/vue-ui-stackbar-BWPSGzN-.js +2369 -0
- package/dist/vue-ui-stackline-BQroSnwZ.js +2483 -0
- package/dist/vue-ui-strip-plot-BCUPHkCp.js +1752 -0
- package/dist/{vue-ui-table-C8cvK-x_.js → vue-ui-table-DJeXLYly.js} +2 -2
- package/dist/{vue-ui-table-heatmap-BSUab4fG.js → vue-ui-table-heatmap-D5F5bLx5.js} +2 -2
- package/dist/{vue-ui-table-sparkline-Dam9BFsU.js → vue-ui-table-sparkline-DCm8S2uK.js} +2 -2
- package/dist/{vue-ui-thermometer-zyBeCINd.js → vue-ui-thermometer-xu4R8d2f.js} +4 -4
- package/dist/{vue-ui-timer-CDXczagK.js → vue-ui-timer-i_3bMu3h.js} +1 -1
- package/dist/{vue-ui-tiremarks-CG8LNC9c.js → vue-ui-tiremarks-DGuMI0yH.js} +4 -4
- package/dist/{vue-ui-treemap-DfDRwoZc.js → vue-ui-treemap-Bvl7elni.js} +311 -299
- package/dist/vue-ui-waffle-CVuYg0yU.js +1633 -0
- package/dist/{vue-ui-wheel-DDJIPE_z.js → vue-ui-wheel-DqHD09iA.js} +4 -4
- package/dist/{vue-ui-word-cloud-DBOXRp-e.js → vue-ui-word-cloud-BDCuTQ8Q.js} +385 -372
- package/dist/{vue-ui-world-CiIyp7WH.js → vue-ui-world-B0oVwEDj.js} +474 -462
- package/dist/{vue-ui-xy-s_IZ573M.js → vue-ui-xy-BJJi0E4D.js} +1 -1
- package/dist/{vue-ui-xy-AGYE0Vsz.js → vue-ui-xy-D1dPd68D.js} +1447 -1432
- package/dist/{vue-ui-xy-canvas-MOMyUdJg.js → vue-ui-xy-canvas-R2xbgDOy.js} +523 -511
- package/package.json +3 -3
- package/dist/vue-ui-flow-Dmnz4LCl.js +0 -1217
- package/dist/vue-ui-galaxy-Dw7TyOH0.js +0 -1085
- package/dist/vue-ui-history-plot-BKUg8Gz_.js +0 -1698
- package/dist/vue-ui-onion-DhedgEnV.js +0 -1235
- package/dist/vue-ui-sparkstackbar-DGQcpWK4.js +0 -738
- package/dist/vue-ui-stackbar-D0qmFn5Y.js +0 -2355
- package/dist/vue-ui-stackline-BBtEVl9V.js +0 -2469
- package/dist/vue-ui-strip-plot-CkU-nCt4.js +0 -1740
- package/dist/vue-ui-waffle-D6_cGi1-.js +0 -1621
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, Ct as n, D as r, Dt as i, G as a, Lt as o, Pt as ee, S as te, Ut as s, Wt as ne, X as c, Yt as re,
|
|
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 { t as
|
|
14
|
-
import { l 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 u, Teleport as
|
|
2
|
+
import { $ as t, Ct as n, D as r, Dt as i, G as a, Lt as o, Pt as ee, S as te, Ut as s, Wt as ne, X as c, Yt as re, Z as ie, Zt as ae, i as l, lt as oe, nt as se, q as ce, r as le, t as ue, w as de, yt as fe } from "./lib-Dql7cqyA.js";
|
|
3
|
+
import { n as pe, t as me } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as he } from "./useConfig-D32D002m.js";
|
|
5
|
+
import { t as ge } from "./usePrinter-hohanNCX.js";
|
|
6
|
+
import { n as _e, t as ve } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
+
import { t as ye } from "./useNestedProp-Chvyfpl-.js";
|
|
8
|
+
import { t as be } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as xe } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
+
import { t as Se } from "./img-BkMKbWsI.js";
|
|
11
|
+
import { n as Ce } from "./Title-CPHi-evi.js";
|
|
12
|
+
import { t as we } from "./Shape-CIqU-p2F.js";
|
|
13
|
+
import { t as Te } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
|
+
import { l as Ee, t as De } from "./useResponsive-ZtArZtUf.js";
|
|
15
|
+
import { t as Oe } from "./DefGrad-DVBqDjhO.js";
|
|
16
|
+
import { t as ke } from "./BaseLegendToggle-CXQrLjd-.js";
|
|
17
|
+
import { t as Ae } from "./A11yDataTable-DdRsVULz.js";
|
|
18
|
+
import { t as je } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
|
+
import { t as Me } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
+
import { t as Ne } from "./Legend-X4kF4PvW.js";
|
|
21
|
+
import { t as Pe } from "./vue_ui_quadrant-CDSTKTJz.js";
|
|
22
|
+
import { Fragment as u, Teleport as Fe, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Ie, createTextVNode as Le, createVNode as Re, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as ze, nextTick as Be, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Ve, onMounted as He, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ue, shallowRef as We, toDisplayString as T, toRefs as Ge, unref as E, watch as Ke, withCtx as D } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-quadrant.vue
|
|
24
|
-
var
|
|
24
|
+
var qe = /* @__PURE__ */ e({ default: () => tn }), Je = ["id"], Ye = ["id"], Xe = ["id"], Ze = { style: { position: "relative" } }, Qe = [
|
|
25
25
|
"xmlns",
|
|
26
26
|
"aria-describedby",
|
|
27
27
|
"viewBox",
|
|
28
28
|
"id"
|
|
29
|
-
],
|
|
29
|
+
], $e = [
|
|
30
30
|
"x",
|
|
31
31
|
"y",
|
|
32
32
|
"width",
|
|
33
33
|
"height"
|
|
34
|
-
],
|
|
34
|
+
], et = { key: 1 }, tt = [
|
|
35
35
|
"fill",
|
|
36
36
|
"x",
|
|
37
37
|
"y",
|
|
@@ -40,150 +40,150 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
40
40
|
"stroke-width",
|
|
41
41
|
"stroke",
|
|
42
42
|
"rx"
|
|
43
|
-
],
|
|
43
|
+
], nt = [
|
|
44
44
|
"x1",
|
|
45
45
|
"y1",
|
|
46
46
|
"x2",
|
|
47
47
|
"y2",
|
|
48
48
|
"stroke",
|
|
49
49
|
"stroke-width"
|
|
50
|
-
],
|
|
50
|
+
], rt = [
|
|
51
51
|
"x1",
|
|
52
52
|
"y1",
|
|
53
53
|
"x2",
|
|
54
54
|
"y2",
|
|
55
55
|
"stroke",
|
|
56
56
|
"stroke-width"
|
|
57
|
-
],
|
|
57
|
+
], it = { key: 2 }, at = ["points", "fill"], ot = ["points", "fill"], st = ["points", "fill"], ct = ["points", "fill"], lt = { key: 3 }, ut = [
|
|
58
58
|
"y",
|
|
59
59
|
"fill",
|
|
60
60
|
"font-size"
|
|
61
|
-
],
|
|
61
|
+
], dt = [
|
|
62
62
|
"x",
|
|
63
63
|
"y",
|
|
64
64
|
"fill",
|
|
65
65
|
"font-size"
|
|
66
|
-
],
|
|
66
|
+
], ft = [
|
|
67
67
|
"x",
|
|
68
68
|
"y",
|
|
69
69
|
"fill",
|
|
70
70
|
"font-size"
|
|
71
|
-
],
|
|
71
|
+
], pt = [
|
|
72
72
|
"y",
|
|
73
73
|
"fill",
|
|
74
74
|
"font-size"
|
|
75
|
-
],
|
|
75
|
+
], mt = { key: 4 }, ht = [
|
|
76
76
|
"x",
|
|
77
77
|
"y",
|
|
78
78
|
"font-size",
|
|
79
79
|
"fill"
|
|
80
|
-
],
|
|
80
|
+
], gt = [
|
|
81
81
|
"x",
|
|
82
82
|
"y",
|
|
83
83
|
"font-size",
|
|
84
84
|
"fill"
|
|
85
|
-
],
|
|
85
|
+
], _t = [
|
|
86
86
|
"x",
|
|
87
87
|
"y",
|
|
88
88
|
"font-size",
|
|
89
89
|
"fill"
|
|
90
|
-
],
|
|
90
|
+
], vt = [
|
|
91
91
|
"id",
|
|
92
92
|
"font-size",
|
|
93
93
|
"transform",
|
|
94
94
|
"fill"
|
|
95
|
-
],
|
|
95
|
+
], yt = [
|
|
96
96
|
"id",
|
|
97
97
|
"font-size",
|
|
98
98
|
"transform",
|
|
99
99
|
"fill"
|
|
100
|
-
],
|
|
100
|
+
], bt = [
|
|
101
101
|
"id",
|
|
102
102
|
"font-size",
|
|
103
103
|
"transform",
|
|
104
104
|
"fill"
|
|
105
|
-
],
|
|
105
|
+
], xt = { key: 5 }, St = ["fill", "points"], Ct = [
|
|
106
106
|
"x",
|
|
107
107
|
"y",
|
|
108
108
|
"width",
|
|
109
109
|
"height"
|
|
110
|
-
],
|
|
110
|
+
], wt = [
|
|
111
111
|
"x",
|
|
112
112
|
"y",
|
|
113
113
|
"width",
|
|
114
114
|
"height"
|
|
115
|
-
],
|
|
115
|
+
], Tt = [
|
|
116
116
|
"x",
|
|
117
117
|
"y",
|
|
118
118
|
"width",
|
|
119
119
|
"height"
|
|
120
|
-
],
|
|
120
|
+
], Et = [
|
|
121
121
|
"x",
|
|
122
122
|
"y",
|
|
123
123
|
"width",
|
|
124
124
|
"height"
|
|
125
|
-
],
|
|
125
|
+
], Dt = [
|
|
126
126
|
"x",
|
|
127
127
|
"y",
|
|
128
128
|
"onMouseenter",
|
|
129
129
|
"onMouseleave",
|
|
130
130
|
"onClick"
|
|
131
|
-
],
|
|
131
|
+
], Ot = [
|
|
132
132
|
"data-a11y-plot-id",
|
|
133
133
|
"cx",
|
|
134
134
|
"cy",
|
|
135
135
|
"r"
|
|
136
|
-
],
|
|
136
|
+
], kt = [
|
|
137
137
|
"data-a11y-plot-id",
|
|
138
138
|
"cx",
|
|
139
139
|
"cy",
|
|
140
140
|
"r"
|
|
141
|
-
],
|
|
141
|
+
], At = {
|
|
142
142
|
key: 0,
|
|
143
143
|
style: { "pointer-events": "none" }
|
|
144
|
-
},
|
|
144
|
+
}, jt = [
|
|
145
145
|
"x",
|
|
146
146
|
"y",
|
|
147
147
|
"font-size",
|
|
148
148
|
"fill"
|
|
149
|
-
],
|
|
149
|
+
], Mt = [
|
|
150
150
|
"x",
|
|
151
151
|
"y",
|
|
152
152
|
"font-size",
|
|
153
153
|
"fill",
|
|
154
154
|
"innerHTML"
|
|
155
|
-
],
|
|
155
|
+
], Nt = { key: 0 }, Pt = [
|
|
156
156
|
"x",
|
|
157
157
|
"y",
|
|
158
158
|
"onMouseover",
|
|
159
159
|
"onMouseleave",
|
|
160
160
|
"onClick"
|
|
161
|
-
],
|
|
161
|
+
], Ft = {
|
|
162
162
|
key: 8,
|
|
163
163
|
class: "vue-ui-dna"
|
|
164
|
-
},
|
|
164
|
+
}, It = ["points", "fill"], Lt = ["points", "fill"], Rt = ["points", "fill"], zt = ["points", "fill"], Bt = { key: 9 }, Vt = [
|
|
165
165
|
"x",
|
|
166
166
|
"y",
|
|
167
167
|
"font-size",
|
|
168
168
|
"fill",
|
|
169
169
|
"font-weight"
|
|
170
|
-
],
|
|
170
|
+
], Ht = { key: 10 }, Ut = [
|
|
171
171
|
"x",
|
|
172
172
|
"y",
|
|
173
173
|
"fill"
|
|
174
|
-
],
|
|
174
|
+
], Wt = [
|
|
175
175
|
"x",
|
|
176
176
|
"y",
|
|
177
177
|
"fill"
|
|
178
|
-
],
|
|
178
|
+
], Gt = [
|
|
179
179
|
"x",
|
|
180
180
|
"y",
|
|
181
181
|
"fill"
|
|
182
|
-
],
|
|
182
|
+
], Kt = [
|
|
183
183
|
"x",
|
|
184
184
|
"y",
|
|
185
185
|
"fill"
|
|
186
|
-
],
|
|
186
|
+
], qt = ["stroke", "d"], Jt = ["stroke", "d"], Yt = {
|
|
187
187
|
key: 0,
|
|
188
188
|
style: {
|
|
189
189
|
position: "absolute",
|
|
@@ -193,15 +193,15 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
193
193
|
},
|
|
194
194
|
"data-dom-to-png-ignore": "",
|
|
195
195
|
"aria-hidden": "true"
|
|
196
|
-
},
|
|
196
|
+
}, Xt = {
|
|
197
197
|
key: 5,
|
|
198
198
|
class: "vue-data-ui-watermark"
|
|
199
|
-
},
|
|
199
|
+
}, Zt = ["id"], Qt = ["onClick"], $t = {
|
|
200
200
|
key: 0,
|
|
201
201
|
height: "14",
|
|
202
202
|
width: "14",
|
|
203
203
|
viewBox: "0 0 20 20"
|
|
204
|
-
},
|
|
204
|
+
}, en = ["innerHTML"], tn = /*#__PURE__*/ Te({
|
|
205
205
|
__name: "vue-ui-quadrant",
|
|
206
206
|
props: {
|
|
207
207
|
config: {
|
|
@@ -223,18 +223,18 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
223
223
|
"selectLegend",
|
|
224
224
|
"copyAlt"
|
|
225
225
|
],
|
|
226
|
-
setup(e, { expose:
|
|
227
|
-
let
|
|
226
|
+
setup(e, { expose: Te, emit: qe }) {
|
|
227
|
+
let tn = g(() => import("./Tooltip-hhrkQ3Lk.js")), nn = g(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), rn = g(() => import("./vue-ui-accordion-DmkL8A59.js").then((e) => e.n)), an = g(() => import("./DataTable-oiM9uWrQ.js")), on = g(() => import("./PenAndPaper-Cd3nItcO.js").then((e) => e.t)), sn = g(() => import("./UserOptions-qo_Tsqci.js").then((e) => e.n)), cn = g(() => import("./PackageVersion-CZZayD-D.js").then((e) => e.t)), ln = g(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_quadrant: un } = he(), { isThemeValid: dn, warnInvalidTheme: fn } = be(), O = e, pn = d(() => !!O.dataset && O.dataset.length), k = S(ce()), mn = qe, hn = S(!1), gn = S(""), _n = S(0), A = S(!1), j = S(null), vn = S(null), yn = S(null), bn = S(null), xn = S(null), Sn = S(0), Cn = S(0), wn = S(0), Tn = S(!1), En = S(null), Dn = S(null), On = S(null), kn = S(null), An = S({
|
|
228
228
|
x: 0,
|
|
229
229
|
y: 0
|
|
230
|
-
}),
|
|
231
|
-
|
|
230
|
+
}), jn = S("pointer"), Mn = S(!1), M = S(zn()), N = d(() => M.value.userOptions), P = d(() => M.value.style.chart.layout.grid), F = d(() => M.value.style.chart.layout.labels), I = d(() => M.value.style.chart.tooltip), L = d(() => M.value.style.chart);
|
|
231
|
+
pe({
|
|
232
232
|
config: () => M.value,
|
|
233
233
|
dataset: () => O.dataset,
|
|
234
234
|
component: "VueUiQuadrant",
|
|
235
|
-
rules: [
|
|
235
|
+
rules: [me.emptyArray, me.noHint]
|
|
236
236
|
});
|
|
237
|
-
let R = d(() => M.value.userOptions.useCursorPointer),
|
|
237
|
+
let R = d(() => M.value.userOptions.useCursorPointer), Nn = d(() => ({
|
|
238
238
|
defaultConfig: {
|
|
239
239
|
userOptions: { show: !1 },
|
|
240
240
|
table: { show: !1 },
|
|
@@ -261,13 +261,13 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
261
261
|
} }
|
|
262
262
|
},
|
|
263
263
|
userConfig: M.value.skeletonConfig ?? {}
|
|
264
|
-
})), { loading:
|
|
265
|
-
...
|
|
264
|
+
})), { loading: Pn, FINAL_DATASET: Fn } = _e({
|
|
265
|
+
...Ge(O),
|
|
266
266
|
FINAL_CONFIG: M,
|
|
267
|
-
prepareConfig:
|
|
267
|
+
prepareConfig: zn,
|
|
268
268
|
callback: () => {
|
|
269
269
|
Promise.resolve().then(async () => {
|
|
270
|
-
await
|
|
270
|
+
await Be(), V.value.showTable = M.value.table.show;
|
|
271
271
|
});
|
|
272
272
|
},
|
|
273
273
|
skeletonDataset: O.config?.skeletonDataset ?? [{
|
|
@@ -342,22 +342,22 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
342
342
|
}
|
|
343
343
|
]
|
|
344
344
|
}],
|
|
345
|
-
skeletonConfig:
|
|
345
|
+
skeletonConfig: ae({
|
|
346
346
|
defaultConfig: M.value,
|
|
347
|
-
userConfig:
|
|
347
|
+
userConfig: Nn.value
|
|
348
348
|
})
|
|
349
|
-
}), { userOptionsVisible:
|
|
350
|
-
function
|
|
351
|
-
let e =
|
|
349
|
+
}), { userOptionsVisible: In, setUserOptionsVisibility: Ln, keepUserOptionState: Rn } = je({ config: M.value }), { svgRef: z } = Me({ config: L.value.title });
|
|
350
|
+
function zn() {
|
|
351
|
+
let e = ye({
|
|
352
352
|
userConfig: O.config,
|
|
353
|
-
defaultConfig:
|
|
353
|
+
defaultConfig: un
|
|
354
354
|
}), t = e.theme;
|
|
355
355
|
if (!t) return e;
|
|
356
|
-
if (!
|
|
357
|
-
let n =
|
|
358
|
-
userConfig:
|
|
356
|
+
if (!dn.value(e)) return fn(e), e;
|
|
357
|
+
let n = ye({
|
|
358
|
+
userConfig: Pe[t] || O.config,
|
|
359
359
|
defaultConfig: e
|
|
360
|
-
}), r =
|
|
360
|
+
}), r = ye({
|
|
361
361
|
userConfig: O.config,
|
|
362
362
|
defaultConfig: n
|
|
363
363
|
});
|
|
@@ -366,28 +366,40 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
366
366
|
customPalette: r.customPalette.length ? r.customPalette : re[t] || o
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
|
-
|
|
370
|
-
|
|
369
|
+
function Bn(e) {
|
|
370
|
+
let t = ie(e);
|
|
371
|
+
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
372
|
+
}
|
|
373
|
+
let Vn = Bn(O.config);
|
|
374
|
+
Ke(() => O.config, (e, t) => {
|
|
375
|
+
let n = Bn(e), r = n !== Vn;
|
|
376
|
+
Vn = n;
|
|
377
|
+
let i = zn();
|
|
378
|
+
if (!r) {
|
|
379
|
+
M.value.style.chart.tooltip = i.style.chart.tooltip, V.value.showTooltip = M.value.style.chart.tooltip.show;
|
|
380
|
+
return;
|
|
381
|
+
}
|
|
382
|
+
M.value = i, In.value = !M.value.userOptions.showOnChartHover, Wn(), Sn.value += 1, Cn.value += 1, wn.value += 1, V.value.plotLabels.show = F.value.plotLabels.show, V.value.showTable = M.value.table.show, V.value.showTooltip = I.value.show;
|
|
371
383
|
}, { deep: !0 });
|
|
372
|
-
let B =
|
|
373
|
-
function
|
|
374
|
-
if (ee(O.dataset) ?
|
|
384
|
+
let B = We(null), Hn = We(null), Un = d(() => M.value.debug);
|
|
385
|
+
function Wn() {
|
|
386
|
+
if (ee(O.dataset) ? se({
|
|
375
387
|
componentName: "VueUiQuadrant",
|
|
376
388
|
type: "dataset",
|
|
377
|
-
debug:
|
|
378
|
-
}) :
|
|
379
|
-
[null, void 0].includes(e.name) &&
|
|
389
|
+
debug: Un.value
|
|
390
|
+
}) : Un.value && O.dataset.forEach((e, t) => {
|
|
391
|
+
[null, void 0].includes(e.name) && se({
|
|
380
392
|
componentName: "VueUiQuadrant",
|
|
381
393
|
type: "datasetSerieAttribute",
|
|
382
394
|
property: "name",
|
|
383
395
|
index: t
|
|
384
|
-
}), [null, void 0].includes(e.series) ?
|
|
396
|
+
}), [null, void 0].includes(e.series) ? se({
|
|
385
397
|
componentName: "VueUiQuadrant",
|
|
386
398
|
type: "datasetSerieAttribute",
|
|
387
399
|
property: "series",
|
|
388
400
|
index: t
|
|
389
401
|
}) : e.series.forEach((e, t) => {
|
|
390
|
-
[null, void 0].includes(e.name) &&
|
|
402
|
+
[null, void 0].includes(e.name) && se({
|
|
391
403
|
componentName: "VueUiQuadrant",
|
|
392
404
|
type: "datasetSerieAttribute",
|
|
393
405
|
property: "name",
|
|
@@ -396,31 +408,31 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
396
408
|
});
|
|
397
409
|
});
|
|
398
410
|
}), M.value.responsive) {
|
|
399
|
-
let e =
|
|
400
|
-
let { width: e, height: t } =
|
|
411
|
+
let e = Ee(() => {
|
|
412
|
+
let { width: e, height: t } = De({
|
|
401
413
|
chart: j.value,
|
|
402
|
-
title: L.value.title.text ?
|
|
403
|
-
legend: L.value.legend.show ?
|
|
404
|
-
source:
|
|
405
|
-
noTitle:
|
|
414
|
+
title: L.value.title.text ? vn.value : null,
|
|
415
|
+
legend: L.value.legend.show ? yn.value : null,
|
|
416
|
+
source: bn.value,
|
|
417
|
+
noTitle: xn.value
|
|
406
418
|
});
|
|
407
419
|
H.value = 48, requestAnimationFrame(() => {
|
|
408
420
|
U.value.height = t, U.value.usableHeight = t - H.value * 2, U.value.width = e, U.value.usableWidth = e - H.value * 2, U.value.top = H.value, U.value.left = H.value, U.value.right = e - H.value, U.value.bottom = t - H.value, U.value.centerX = e / 2, U.value.centerY = t - t / 2, U.value.padding = H.value;
|
|
409
421
|
});
|
|
410
422
|
});
|
|
411
|
-
B.value && (
|
|
423
|
+
B.value && (Hn.value && B.value.unobserve(Hn.value), B.value.disconnect()), B.value = new ResizeObserver(e), Hn.value = j.value.parentNode, B.value.observe(Hn.value);
|
|
412
424
|
}
|
|
413
425
|
}
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
}),
|
|
417
|
-
B.value && (
|
|
426
|
+
He(() => {
|
|
427
|
+
Tn.value = !0, Wn();
|
|
428
|
+
}), Ve(() => {
|
|
429
|
+
B.value && (Hn.value && B.value.unobserve(Hn.value), B.value.disconnect());
|
|
418
430
|
});
|
|
419
|
-
let { isPrinting:
|
|
431
|
+
let { isPrinting: Gn, isImaging: Kn, generatePdf: qn, generateImage: Jn } = ge({
|
|
420
432
|
elementId: `vue-ui-quadrant_${k.value}`,
|
|
421
433
|
fileName: L.value.title.text || "vue-ui-quadrant",
|
|
422
434
|
options: M.value.userOptions.print
|
|
423
|
-
}),
|
|
435
|
+
}), Yn = d(() => M.value.userOptions.show && !L.value.title.text), Xn = d(() => de(M.value.customPalette)), V = S({
|
|
424
436
|
plotLabels: { show: F.value.plotLabels.show },
|
|
425
437
|
showTable: M.value.table.show,
|
|
426
438
|
showTooltip: I.value.show
|
|
@@ -441,14 +453,14 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
441
453
|
startX: 0,
|
|
442
454
|
startY: 0
|
|
443
455
|
});
|
|
444
|
-
|
|
456
|
+
Ke(() => U.value, (e) => {
|
|
445
457
|
e && (W.value = {
|
|
446
458
|
...JSON.parse(JSON.stringify(U.value)),
|
|
447
459
|
startX: 0,
|
|
448
460
|
startY: 0
|
|
449
461
|
});
|
|
450
462
|
}, { deep: !0 });
|
|
451
|
-
let G = S(null),
|
|
463
|
+
let G = S(null), Zn = d(() => {
|
|
452
464
|
switch (G.value) {
|
|
453
465
|
case "TL": return {
|
|
454
466
|
x: W.value.startX + W.value.width / 2,
|
|
@@ -491,9 +503,9 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
491
503
|
bold: !1
|
|
492
504
|
};
|
|
493
505
|
}
|
|
494
|
-
}),
|
|
495
|
-
function
|
|
496
|
-
G.value &&
|
|
506
|
+
}), Qn = S(null), $n = S(!1);
|
|
507
|
+
function er({ targetX: e, targetY: t, targetW: n, targetH: r, side: i }) {
|
|
508
|
+
G.value && wr(i);
|
|
497
509
|
let a = {
|
|
498
510
|
x: e - W.value.startX,
|
|
499
511
|
y: t - W.value.startY,
|
|
@@ -501,14 +513,14 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
501
513
|
h: r - W.value.height
|
|
502
514
|
}, o = M.value.zoomAnimationFrames, ee = 0;
|
|
503
515
|
function te() {
|
|
504
|
-
|
|
516
|
+
$n.value = !0, W.value.startX += a.x / o, W.value.startY += a.y / o, W.value.width += a.w / o, W.value.height += a.h / o, ee += 1, ee < o ? Qn.value = requestAnimationFrame(te) : $n.value = !1;
|
|
505
517
|
}
|
|
506
518
|
te();
|
|
507
519
|
}
|
|
508
520
|
let K = d(() => M.value.zoomEnabled);
|
|
509
521
|
function q(e) {
|
|
510
|
-
if (K.value &&
|
|
511
|
-
if (A.value && G.value === e)
|
|
522
|
+
if (K.value && !$n.value) {
|
|
523
|
+
if (A.value && G.value === e) er({
|
|
512
524
|
targetX: 0,
|
|
513
525
|
targetY: 0,
|
|
514
526
|
targetW: U.value.width,
|
|
@@ -517,7 +529,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
517
529
|
else {
|
|
518
530
|
switch (G.value = e, e) {
|
|
519
531
|
case "TL":
|
|
520
|
-
|
|
532
|
+
er({
|
|
521
533
|
targetX: 0,
|
|
522
534
|
targetY: 0,
|
|
523
535
|
targetW: U.value.width / 2 + U.value.left,
|
|
@@ -526,7 +538,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
526
538
|
});
|
|
527
539
|
break;
|
|
528
540
|
case "TR":
|
|
529
|
-
|
|
541
|
+
er({
|
|
530
542
|
targetX: U.value.width / 2 - U.value.left,
|
|
531
543
|
targetY: 0,
|
|
532
544
|
targetW: U.value.width / 2 + U.value.left,
|
|
@@ -535,7 +547,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
535
547
|
});
|
|
536
548
|
break;
|
|
537
549
|
case "BR":
|
|
538
|
-
|
|
550
|
+
er({
|
|
539
551
|
targetX: U.value.width / 2 - U.value.left,
|
|
540
552
|
targetY: U.value.height / 2 - U.value.top,
|
|
541
553
|
targetW: U.value.width / 2 + U.value.left,
|
|
@@ -544,7 +556,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
544
556
|
});
|
|
545
557
|
break;
|
|
546
558
|
case "BL":
|
|
547
|
-
|
|
559
|
+
er({
|
|
548
560
|
targetX: 0,
|
|
549
561
|
targetY: U.value.height / 2 - U.value.top,
|
|
550
562
|
targetW: U.value.width / 2 + U.value.left,
|
|
@@ -558,7 +570,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
558
570
|
}
|
|
559
571
|
}
|
|
560
572
|
}
|
|
561
|
-
let
|
|
573
|
+
let tr = d(() => {
|
|
562
574
|
let e = P.value.graduations.steps, t = U.value.usableWidth / (e * 2), n = U.value.top, r = [];
|
|
563
575
|
for (let i = 0; i < e; i += 1) r.push({
|
|
564
576
|
x: U.value.padding + t * i,
|
|
@@ -570,7 +582,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
570
582
|
return r;
|
|
571
583
|
}), J = d(() => {
|
|
572
584
|
let e = P.value.xAxis.max, t = P.value.xAxis.min, n = P.value.yAxis.max, r = P.value.yAxis.min;
|
|
573
|
-
return P.value.xAxis.auto && (e = Math.max(
|
|
585
|
+
return P.value.xAxis.auto && (e = Math.max(...nr.value.flatMap((e) => e.series.map((e) => e.x))), t = Math.min(...nr.value.flatMap((e) => e.series.map((e) => e.x)))), P.value.yAxis.auto && (n = Math.max(...nr.value.flatMap((e) => e.series.map((e) => e.y))), r = Math.min(...nr.value.flatMap((e) => e.series.map((e) => e.y)))), {
|
|
574
586
|
x: {
|
|
575
587
|
max: e,
|
|
576
588
|
min: t
|
|
@@ -580,24 +592,24 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
580
592
|
min: r
|
|
581
593
|
}
|
|
582
594
|
};
|
|
583
|
-
}), Y = S([]),
|
|
595
|
+
}), Y = S([]), nr = d(() => Fn.value.map((e, t) => ({
|
|
584
596
|
...e,
|
|
585
597
|
series: i({
|
|
586
598
|
data: e.series,
|
|
587
599
|
threshold: M.value.downsample.threshold
|
|
588
600
|
}),
|
|
589
601
|
id: `cat_${t}_${k.value}`,
|
|
590
|
-
color: te(e.color) ||
|
|
591
|
-
}))),
|
|
602
|
+
color: te(e.color) || Xn.value[t] || o[t]
|
|
603
|
+
}))), rr = d(() => nr.value.filter((e) => !Y.value.includes(e.id))), ir = d(() => nr.value.map((e, t) => ({
|
|
592
604
|
...e,
|
|
593
605
|
shape: e.shape || "circle",
|
|
594
606
|
series: e.series.map((t) => ({
|
|
595
607
|
...t,
|
|
596
|
-
x:
|
|
597
|
-
y:
|
|
608
|
+
x: ar(t.x),
|
|
609
|
+
y: or(t.y),
|
|
598
610
|
xValue: t.x,
|
|
599
611
|
yValue: t.y,
|
|
600
|
-
quadrantSide:
|
|
612
|
+
quadrantSide: gr({
|
|
601
613
|
x: t.x,
|
|
602
614
|
y: t.y
|
|
603
615
|
}),
|
|
@@ -606,15 +618,15 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
606
618
|
shape: e.shape,
|
|
607
619
|
color: e.color
|
|
608
620
|
}))
|
|
609
|
-
}))), X = d(() => (
|
|
621
|
+
}))), X = d(() => (Un.value && Fn.value.forEach((e, t) => {
|
|
610
622
|
e.series.forEach((e, t) => {
|
|
611
|
-
[null, void 0].includes(e.x) &&
|
|
623
|
+
[null, void 0].includes(e.x) && se({
|
|
612
624
|
componentName: "VueUiQuadrant",
|
|
613
625
|
type: "datasetSerieAttribute",
|
|
614
626
|
property: "x",
|
|
615
627
|
key: "series",
|
|
616
628
|
index: t
|
|
617
|
-
}), [null, void 0].includes(e.y) &&
|
|
629
|
+
}), [null, void 0].includes(e.y) && se({
|
|
618
630
|
componentName: "VueUiQuadrant",
|
|
619
631
|
type: "datasetSerieAttribute",
|
|
620
632
|
property: "y",
|
|
@@ -622,28 +634,28 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
622
634
|
index: t
|
|
623
635
|
});
|
|
624
636
|
});
|
|
625
|
-
}),
|
|
637
|
+
}), rr.value.map((e, t) => ({
|
|
626
638
|
...e,
|
|
627
639
|
shape: e.shape || "circle",
|
|
628
|
-
color: e.color ||
|
|
640
|
+
color: e.color || Xn.value[t] || o[t],
|
|
629
641
|
series: e.series.map((t) => ({
|
|
630
642
|
...t,
|
|
631
643
|
category: e,
|
|
632
|
-
x:
|
|
633
|
-
y:
|
|
644
|
+
x: ar(t.x),
|
|
645
|
+
y: or(t.y),
|
|
634
646
|
xValue: t.x,
|
|
635
647
|
yValue: t.y,
|
|
636
|
-
quadrantSide:
|
|
648
|
+
quadrantSide: gr({
|
|
637
649
|
x: t.x,
|
|
638
650
|
y: t.y
|
|
639
651
|
}),
|
|
640
652
|
categoryName: e.name,
|
|
641
653
|
shape: e.shape,
|
|
642
654
|
color: e.color,
|
|
643
|
-
uid:
|
|
655
|
+
uid: ce()
|
|
644
656
|
}))
|
|
645
657
|
}))));
|
|
646
|
-
function
|
|
658
|
+
function ar(e) {
|
|
647
659
|
if (e >= 0) {
|
|
648
660
|
let t = e / J.value.x.max;
|
|
649
661
|
return U.value.centerX + U.value.usableWidth / 2 * t;
|
|
@@ -653,7 +665,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
653
665
|
return U.value.centerX - U.value.usableWidth / 2 * t;
|
|
654
666
|
}
|
|
655
667
|
}
|
|
656
|
-
function
|
|
668
|
+
function or(e) {
|
|
657
669
|
if (e >= 0) {
|
|
658
670
|
let t = e / J.value.y.max;
|
|
659
671
|
return U.value.centerY + (1 - U.value.usableHeight / 2 * t);
|
|
@@ -663,7 +675,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
663
675
|
return U.value.centerY - (1 - U.value.usableHeight / 2 * t);
|
|
664
676
|
}
|
|
665
677
|
}
|
|
666
|
-
let
|
|
678
|
+
let sr = d(() => {
|
|
667
679
|
let e = X.value.flatMap((e) => e.series.map((t) => ({
|
|
668
680
|
x: t.xValue,
|
|
669
681
|
y: t.yValue,
|
|
@@ -695,8 +707,8 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
695
707
|
})),
|
|
696
708
|
tableData: e
|
|
697
709
|
};
|
|
698
|
-
}),
|
|
699
|
-
let e =
|
|
710
|
+
}), cr = d(() => {
|
|
711
|
+
let e = sr.value.head, t = sr.value.tableData.map((e) => [
|
|
700
712
|
{
|
|
701
713
|
shape: e.shape,
|
|
702
714
|
color: e.color,
|
|
@@ -733,35 +745,35 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
733
745
|
colNames: e
|
|
734
746
|
};
|
|
735
747
|
});
|
|
736
|
-
function
|
|
737
|
-
Y.value.length ? Y.value = [] :
|
|
748
|
+
function lr() {
|
|
749
|
+
Y.value.length ? Y.value = [] : dr.value.forEach((e) => {
|
|
738
750
|
Y.value.push(e.id);
|
|
739
|
-
}),
|
|
751
|
+
}), mn("selectLegend", Tr());
|
|
740
752
|
}
|
|
741
|
-
function
|
|
742
|
-
Y.value.includes(e) ? Y.value = Y.value.filter((t) => t !== e) : Y.value.push(e),
|
|
753
|
+
function ur(e) {
|
|
754
|
+
Y.value.includes(e) ? Y.value = Y.value.filter((t) => t !== e) : Y.value.push(e), mn("selectLegend", Tr());
|
|
743
755
|
}
|
|
744
|
-
let
|
|
756
|
+
let dr = d(() => ir.value.map((e) => ({
|
|
745
757
|
name: e.name,
|
|
746
758
|
shape: e.shape,
|
|
747
759
|
color: e.color,
|
|
748
760
|
id: e.id,
|
|
749
761
|
opacity: Y.value.includes(e.id) ? .5 : 1,
|
|
750
|
-
segregate: () =>
|
|
762
|
+
segregate: () => ur(e.id),
|
|
751
763
|
isSegregated: Y.value.includes(e.id)
|
|
752
764
|
})));
|
|
753
|
-
function
|
|
754
|
-
return
|
|
765
|
+
function fr(e) {
|
|
766
|
+
return dr.value.length ? dr.value.find((t) => t.name === e) || (Un.value && console.warn(`VueUiQuadrant - Series name not found "${e}"`), null) : (Un.value && console.warn("VueUiQuadrant - There are no series to show."), null);
|
|
755
767
|
}
|
|
756
|
-
function
|
|
757
|
-
let t =
|
|
758
|
-
t !== null && Y.value.includes(t.id) &&
|
|
768
|
+
function pr(e) {
|
|
769
|
+
let t = fr(e);
|
|
770
|
+
t !== null && Y.value.includes(t.id) && ur(t.id);
|
|
759
771
|
}
|
|
760
|
-
function
|
|
761
|
-
let t =
|
|
762
|
-
t !== null && (Y.value.includes(t.id) ||
|
|
772
|
+
function mr(e) {
|
|
773
|
+
let t = fr(e);
|
|
774
|
+
t !== null && (Y.value.includes(t.id) || ur(t.id));
|
|
763
775
|
}
|
|
764
|
-
let
|
|
776
|
+
let hr = d(() => ({
|
|
765
777
|
cy: "quadrant-div-legend",
|
|
766
778
|
backgroundColor: L.value.legend.backgroundColor,
|
|
767
779
|
color: L.value.legend.color,
|
|
@@ -769,7 +781,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
769
781
|
paddingBottom: 12,
|
|
770
782
|
fontWeight: L.value.legend.bold ? "bold" : ""
|
|
771
783
|
}));
|
|
772
|
-
function
|
|
784
|
+
function gr(e) {
|
|
773
785
|
switch (!0) {
|
|
774
786
|
case e.x >= 0 && e.y >= 0: return "tr";
|
|
775
787
|
case e.x >= 0 && e.y < 0: return "br";
|
|
@@ -778,40 +790,40 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
778
790
|
default: return "";
|
|
779
791
|
}
|
|
780
792
|
}
|
|
781
|
-
let Z = S(null),
|
|
782
|
-
function
|
|
783
|
-
Z.value = null,
|
|
793
|
+
let Z = S(null), _r = S(null), vr = S(null);
|
|
794
|
+
function yr() {
|
|
795
|
+
Z.value = null, _r.value = null, On.value = null, kn.value = null, hn.value = !1;
|
|
784
796
|
}
|
|
785
|
-
function
|
|
797
|
+
function br(e) {
|
|
786
798
|
if (!z.value || !e) return;
|
|
787
799
|
let t = `[data-a11y-plot-id="${e}"]`, n = z.value.querySelector(t);
|
|
788
800
|
if (!n) return;
|
|
789
801
|
let r = n.getBoundingClientRect();
|
|
790
|
-
|
|
802
|
+
An.value = {
|
|
791
803
|
x: r.left + r.width / 2,
|
|
792
804
|
y: r.top + r.height / 2
|
|
793
805
|
};
|
|
794
806
|
}
|
|
795
|
-
function
|
|
807
|
+
function xr(e, t, r, i = "pointer", a = null) {
|
|
796
808
|
M.value.events.datapointEnter && M.value.events.datapointEnter({
|
|
797
809
|
datapoint: t,
|
|
798
810
|
seriesIndex: r
|
|
799
|
-
}), Z.value = t.uid,
|
|
811
|
+
}), Z.value = t.uid, _r.value = {
|
|
800
812
|
color: e.color,
|
|
801
813
|
shape: e.shape
|
|
802
|
-
},
|
|
814
|
+
}, jn.value = i, On.value = a, kn.value = t.uid, vr.value = {
|
|
803
815
|
datapoint: t,
|
|
804
816
|
seriesIndex: r,
|
|
805
817
|
series: X.value,
|
|
806
818
|
config: M.value
|
|
807
819
|
};
|
|
808
820
|
let o = I.value.customFormat;
|
|
809
|
-
if (n(o) &&
|
|
821
|
+
if (n(o) && oe(() => o({
|
|
810
822
|
seriesIndex: r,
|
|
811
823
|
datapoint: t,
|
|
812
824
|
series: X.value,
|
|
813
825
|
config: M.value
|
|
814
|
-
})))
|
|
826
|
+
}))) gn.value = o({
|
|
815
827
|
seriesIndex: r,
|
|
816
828
|
datapoint: t,
|
|
817
829
|
series: X.value,
|
|
@@ -833,19 +845,19 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
833
845
|
datapoint: t,
|
|
834
846
|
category: e,
|
|
835
847
|
categoryIndex: r
|
|
836
|
-
})}</b></div>`,
|
|
848
|
+
})}</b></div>`, gn.value = `<div style="text-align:left;font-size:${I.value.fontSize}px">${n}</div>`;
|
|
837
849
|
}
|
|
838
|
-
i === "keyboard" &&
|
|
839
|
-
|
|
840
|
-
}),
|
|
850
|
+
i === "keyboard" && Be(() => {
|
|
851
|
+
br(t.uid);
|
|
852
|
+
}), hn.value = !0;
|
|
841
853
|
}
|
|
842
|
-
function
|
|
854
|
+
function Sr(e, t) {
|
|
843
855
|
M.value.events.datapointLeave && M.value.events.datapointLeave({
|
|
844
856
|
datapoint: e,
|
|
845
857
|
seriesIndex: t
|
|
846
|
-
}), (
|
|
858
|
+
}), (kn.value !== e.uid || jn.value !== "keyboard") && (hn.value = !1, Z.value = null, _r.value = null);
|
|
847
859
|
}
|
|
848
|
-
function
|
|
860
|
+
function Cr(e, t, n) {
|
|
849
861
|
M.value.events.datapointClick && M.value.events.datapointClick({
|
|
850
862
|
datapoint: t,
|
|
851
863
|
seriesIndex: n
|
|
@@ -859,9 +871,9 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
859
871
|
quadrantSide: t.quadrantSide,
|
|
860
872
|
sideName: F.value.quadrantLabels[t.quadrantSide].text
|
|
861
873
|
};
|
|
862
|
-
|
|
874
|
+
mn("selectPlot", r);
|
|
863
875
|
}
|
|
864
|
-
function
|
|
876
|
+
function wr(e) {
|
|
865
877
|
if (!e) return;
|
|
866
878
|
let t = X.value.flatMap((t) => t.series.filter((t) => t.quadrantSide === e).map((e) => ({
|
|
867
879
|
category: e.categoryName,
|
|
@@ -873,7 +885,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
873
885
|
sideName: F.value.quadrantLabels[e].text,
|
|
874
886
|
items: [...t]
|
|
875
887
|
};
|
|
876
|
-
|
|
888
|
+
mn("selectSide", n);
|
|
877
889
|
}
|
|
878
890
|
let Q = d(() => ({
|
|
879
891
|
TL: {
|
|
@@ -981,7 +993,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
981
993
|
}
|
|
982
994
|
}
|
|
983
995
|
}));
|
|
984
|
-
function
|
|
996
|
+
function Tr() {
|
|
985
997
|
return X.value.map((e) => ({
|
|
986
998
|
color: e.color,
|
|
987
999
|
name: e.name,
|
|
@@ -995,39 +1007,39 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
995
1007
|
}))
|
|
996
1008
|
}));
|
|
997
1009
|
}
|
|
998
|
-
function
|
|
999
|
-
|
|
1010
|
+
function Er(e = null) {
|
|
1011
|
+
Be(() => {
|
|
1000
1012
|
let n = [
|
|
1001
1013
|
[L.value.title.text],
|
|
1002
1014
|
[L.value.title.subtitle.text],
|
|
1003
1015
|
[""]
|
|
1004
|
-
], i =
|
|
1016
|
+
], i = sr.value.head, a = sr.value.body, o = n.concat([i]).concat(a), ee = r(o);
|
|
1005
1017
|
e ? e(ee) : t({
|
|
1006
1018
|
csvContent: ee,
|
|
1007
1019
|
title: L.value.title.text || "vue-ui-quadrant"
|
|
1008
1020
|
});
|
|
1009
1021
|
});
|
|
1010
1022
|
}
|
|
1011
|
-
let
|
|
1012
|
-
function
|
|
1013
|
-
|
|
1023
|
+
let Dr = S(!1);
|
|
1024
|
+
function Or(e) {
|
|
1025
|
+
Dr.value = e, _n.value += 1;
|
|
1014
1026
|
}
|
|
1015
|
-
function
|
|
1027
|
+
function kr() {
|
|
1016
1028
|
V.value.showTable = !V.value.showTable;
|
|
1017
1029
|
}
|
|
1018
|
-
function
|
|
1030
|
+
function Ar() {
|
|
1019
1031
|
V.value.plotLabels.show = !V.value.plotLabels.show;
|
|
1020
1032
|
}
|
|
1021
|
-
function
|
|
1033
|
+
function jr() {
|
|
1022
1034
|
V.value.showTooltip = !V.value.showTooltip;
|
|
1023
1035
|
}
|
|
1024
|
-
let
|
|
1025
|
-
function
|
|
1026
|
-
|
|
1036
|
+
let Mr = S(!1);
|
|
1037
|
+
function Nr() {
|
|
1038
|
+
Mr.value = !Mr.value;
|
|
1027
1039
|
}
|
|
1028
|
-
async function
|
|
1040
|
+
async function Pr({ scale: e = 2 } = {}) {
|
|
1029
1041
|
if (!j.value) return;
|
|
1030
|
-
let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await
|
|
1042
|
+
let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Se({
|
|
1031
1043
|
domElement: j.value,
|
|
1032
1044
|
base64: !0,
|
|
1033
1045
|
img: !0,
|
|
@@ -1042,17 +1054,17 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1042
1054
|
aspectRatio: r
|
|
1043
1055
|
};
|
|
1044
1056
|
}
|
|
1045
|
-
let
|
|
1057
|
+
let Fr = d(() => {
|
|
1046
1058
|
let e = M.value.table.useDialog && !M.value.table.show, t = V.value.showTable;
|
|
1047
1059
|
return {
|
|
1048
|
-
component: e ?
|
|
1060
|
+
component: e ? ln : rn,
|
|
1049
1061
|
title: `${L.value.title.text}${L.value.title.subtitle.text ? `: ${L.value.title.subtitle.text}` : ""}`,
|
|
1050
1062
|
props: e ? {
|
|
1051
1063
|
backgroundColor: M.value.table.th.backgroundColor,
|
|
1052
1064
|
color: M.value.table.th.color,
|
|
1053
1065
|
headerColor: M.value.table.th.color,
|
|
1054
1066
|
headerBg: M.value.table.th.backgroundColor,
|
|
1055
|
-
isFullscreen:
|
|
1067
|
+
isFullscreen: Dr.value,
|
|
1056
1068
|
fullscreenParent: j.value,
|
|
1057
1069
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
1058
1070
|
isCursorPointer: R.value
|
|
@@ -1073,103 +1085,103 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1073
1085
|
}
|
|
1074
1086
|
};
|
|
1075
1087
|
});
|
|
1076
|
-
|
|
1077
|
-
M.value.table.show || (e && M.value.table.useDialog &&
|
|
1088
|
+
Ke(() => V.value.showTable, (e) => {
|
|
1089
|
+
M.value.table.show || (e && M.value.table.useDialog && En.value ? En.value.open() : "close" in En.value && En.value.close());
|
|
1078
1090
|
});
|
|
1079
|
-
function
|
|
1080
|
-
V.value.showTable = !1,
|
|
1091
|
+
function Ir() {
|
|
1092
|
+
V.value.showTable = !1, Dn.value && Dn.value.setTableIconState(!1);
|
|
1081
1093
|
}
|
|
1082
|
-
let
|
|
1094
|
+
let Lr = d(() => L.value.backgroundColor), Rr = d(() => L.value.legend), zr = d(() => L.value.title), { isCallbackImaging: Br, isCallbackSvg: Vr, generateSvg: Hr, onGenerateImage: Ur } = xe({
|
|
1083
1095
|
svg: z,
|
|
1084
|
-
title:
|
|
1085
|
-
legend:
|
|
1086
|
-
legendItems:
|
|
1087
|
-
backgroundColor:
|
|
1096
|
+
title: zr,
|
|
1097
|
+
legend: Rr,
|
|
1098
|
+
legendItems: dr,
|
|
1099
|
+
backgroundColor: Lr,
|
|
1088
1100
|
getSvgCallback: () => M.value.userOptions.callbacks.svg,
|
|
1089
|
-
generateImage:
|
|
1101
|
+
generateImage: Jn
|
|
1090
1102
|
});
|
|
1091
|
-
async function
|
|
1092
|
-
if (
|
|
1103
|
+
async function Wr() {
|
|
1104
|
+
if (mn("copyAlt", {
|
|
1093
1105
|
config: M.value,
|
|
1094
|
-
dataset:
|
|
1106
|
+
dataset: rr.value
|
|
1095
1107
|
}), !M.value.userOptions.callbacks.altCopy) {
|
|
1096
1108
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
1097
1109
|
return;
|
|
1098
1110
|
}
|
|
1099
1111
|
await Promise.resolve(M.value.userOptions.callbacks.altCopy({
|
|
1100
1112
|
config: M.value,
|
|
1101
|
-
dataset:
|
|
1113
|
+
dataset: rr.value
|
|
1102
1114
|
}));
|
|
1103
1115
|
}
|
|
1104
|
-
function
|
|
1105
|
-
|
|
1116
|
+
function Gr() {
|
|
1117
|
+
On.value = null, kn.value = null, Mn.value = !0;
|
|
1106
1118
|
}
|
|
1107
|
-
function
|
|
1108
|
-
|
|
1119
|
+
function Kr() {
|
|
1120
|
+
yr(), Mn.value = !1;
|
|
1109
1121
|
}
|
|
1110
|
-
function
|
|
1111
|
-
if (!z.value ||
|
|
1122
|
+
function qr(e) {
|
|
1123
|
+
if (!z.value || Mr.value || document.activeElement !== z.value || !$.value.length) return;
|
|
1112
1124
|
let t = e.key === "ArrowLeft" || e.key === "ArrowUp", n = e.key === "ArrowRight" || e.key === "ArrowDown", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
1113
1125
|
if (!t && !n && !r && !i) return;
|
|
1114
1126
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
1115
|
-
|
|
1127
|
+
yr();
|
|
1116
1128
|
return;
|
|
1117
1129
|
}
|
|
1118
1130
|
if (r) {
|
|
1119
|
-
if (
|
|
1120
|
-
let e = $.value[
|
|
1131
|
+
if (On.value === null) return;
|
|
1132
|
+
let e = $.value[On.value];
|
|
1121
1133
|
if (!e) return;
|
|
1122
|
-
|
|
1134
|
+
Cr(e.category, e.plot, e.categoryIndex);
|
|
1123
1135
|
return;
|
|
1124
1136
|
}
|
|
1125
|
-
let a =
|
|
1137
|
+
let a = On.value, o = Z.value ? $.value.findIndex((e) => e.plot.uid === Z.value) : null, ee = a !== null && a >= 0 && a < $.value.length, te = o !== null && o >= 0 && o < $.value.length;
|
|
1126
1138
|
ee ? (a += n ? 1 : -1, a < 0 && (a = $.value.length - 1), a >= $.value.length && (a = 0)) : te ? (a = n ? o + 1 : o - 1, a >= $.value.length && (a = 0), a < 0 && (a = $.value.length - 1)) : a = n ? 0 : $.value.length - 1;
|
|
1127
1139
|
let s = $.value[a];
|
|
1128
|
-
s &&
|
|
1140
|
+
s && xr(s.category, s.plot, s.categoryIndex, "keyboard", a);
|
|
1129
1141
|
}
|
|
1130
|
-
let
|
|
1131
|
-
headers:
|
|
1132
|
-
rows:
|
|
1142
|
+
let Jr = d(() => ({
|
|
1143
|
+
headers: cr.value?.colNames ?? [],
|
|
1144
|
+
rows: cr.value?.a11yBody ?? []
|
|
1133
1145
|
})), $ = d(() => X.value.flatMap((e, t) => e.series.map((n) => ({
|
|
1134
1146
|
category: e,
|
|
1135
1147
|
plot: n,
|
|
1136
1148
|
categoryIndex: t
|
|
1137
1149
|
}))));
|
|
1138
|
-
return
|
|
1139
|
-
getData:
|
|
1140
|
-
getImage:
|
|
1141
|
-
generatePdf:
|
|
1142
|
-
generateCsv:
|
|
1143
|
-
generateImage:
|
|
1144
|
-
generateSvg:
|
|
1145
|
-
hideSeries:
|
|
1146
|
-
showSeries:
|
|
1147
|
-
toggleTable:
|
|
1148
|
-
toggleLabels:
|
|
1149
|
-
toggleTooltip:
|
|
1150
|
-
toggleAnnotator:
|
|
1151
|
-
toggleFullscreen:
|
|
1152
|
-
copyAlt:
|
|
1150
|
+
return Te({
|
|
1151
|
+
getData: Tr,
|
|
1152
|
+
getImage: Pr,
|
|
1153
|
+
generatePdf: qn,
|
|
1154
|
+
generateCsv: Er,
|
|
1155
|
+
generateImage: Jn,
|
|
1156
|
+
generateSvg: Hr,
|
|
1157
|
+
hideSeries: mr,
|
|
1158
|
+
showSeries: pr,
|
|
1159
|
+
toggleTable: kr,
|
|
1160
|
+
toggleLabels: Ar,
|
|
1161
|
+
toggleTooltip: jr,
|
|
1162
|
+
toggleAnnotator: Nr,
|
|
1163
|
+
toggleFullscreen: Or,
|
|
1164
|
+
copyAlt: Wr
|
|
1153
1165
|
}), (e, t) => (x(), m("div", {
|
|
1154
|
-
class: v(`vue-data-ui-component vue-ui-quadrant ${
|
|
1166
|
+
class: v(`vue-data-ui-component vue-ui-quadrant ${Dr.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1155
1167
|
ref_key: "quadrantChart",
|
|
1156
1168
|
ref: j,
|
|
1157
1169
|
id: `vue-ui-quadrant_${k.value}`,
|
|
1158
1170
|
style: b(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${L.value.backgroundColor};${M.value.responsive ? "height: 100%" : ""}`),
|
|
1159
|
-
onMouseenter: t[14] ||= () => E(
|
|
1171
|
+
onMouseenter: t[14] ||= () => E(Ln)(!0),
|
|
1160
1172
|
onMouseleave: t[15] ||= () => {
|
|
1161
|
-
E(
|
|
1173
|
+
E(Ln)(!1), Mn.value || yr();
|
|
1162
1174
|
}
|
|
1163
1175
|
}, [
|
|
1164
1176
|
h("div", {
|
|
1165
1177
|
id: `chart-instructions-${k.value}`,
|
|
1166
1178
|
class: "sr-only"
|
|
1167
|
-
}, [h("p", null, T(M.value.a11y.translations.keyboardNavigation), 1)], 8,
|
|
1168
|
-
|
|
1179
|
+
}, [h("p", null, T(M.value.a11y.translations.keyboardNavigation), 1)], 8, Ye),
|
|
1180
|
+
Jr.value?.rows?.length ? (x(), f(Ae, {
|
|
1169
1181
|
key: 0,
|
|
1170
1182
|
uid: k.value,
|
|
1171
|
-
head:
|
|
1172
|
-
body:
|
|
1183
|
+
head: Jr.value.headers,
|
|
1184
|
+
body: Jr.value.rows,
|
|
1173
1185
|
notice: M.value.a11y.translations.tableAvailable,
|
|
1174
1186
|
caption: M.value.a11y.translations.tableCaption
|
|
1175
1187
|
}, null, 8, [
|
|
@@ -1179,15 +1191,15 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1179
1191
|
"notice",
|
|
1180
1192
|
"caption"
|
|
1181
1193
|
])) : p("", !0),
|
|
1182
|
-
N.value.buttons.annotator ? (x(), f(E(
|
|
1194
|
+
N.value.buttons.annotator ? (x(), f(E(on), {
|
|
1183
1195
|
key: 1,
|
|
1184
1196
|
svgRef: E(z),
|
|
1185
1197
|
backgroundColor: L.value.backgroundColor,
|
|
1186
1198
|
color: L.value.color,
|
|
1187
|
-
active:
|
|
1199
|
+
active: Mr.value,
|
|
1188
1200
|
isCursorPointer: R.value,
|
|
1189
1201
|
palette: N.value.annotatorPalette,
|
|
1190
|
-
onClose:
|
|
1202
|
+
onClose: Nr
|
|
1191
1203
|
}, {
|
|
1192
1204
|
"annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1193
1205
|
"annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
|
|
@@ -1204,20 +1216,20 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1204
1216
|
"isCursorPointer",
|
|
1205
1217
|
"palette"
|
|
1206
1218
|
])) : p("", !0),
|
|
1207
|
-
|
|
1219
|
+
Yn.value ? (x(), m("div", {
|
|
1208
1220
|
key: 2,
|
|
1209
1221
|
ref_key: "noTitle",
|
|
1210
|
-
ref:
|
|
1222
|
+
ref: xn,
|
|
1211
1223
|
class: "vue-data-ui-no-title-space",
|
|
1212
1224
|
style: "height:36px; width: 100%;background:transparent"
|
|
1213
1225
|
}, null, 512)) : p("", !0),
|
|
1214
1226
|
L.value.title.text ? (x(), m("div", {
|
|
1215
1227
|
key: 3,
|
|
1216
1228
|
ref_key: "chartTitle",
|
|
1217
|
-
ref:
|
|
1229
|
+
ref: vn,
|
|
1218
1230
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
1219
|
-
}, [(x(), f(
|
|
1220
|
-
key: `table_${
|
|
1231
|
+
}, [(x(), f(Ce, {
|
|
1232
|
+
key: `table_${Sn.value}`,
|
|
1221
1233
|
config: {
|
|
1222
1234
|
title: {
|
|
1223
1235
|
cy: "quadrant-title",
|
|
@@ -1229,15 +1241,15 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1229
1241
|
}
|
|
1230
1242
|
}
|
|
1231
1243
|
}, null, 8, ["config"]))], 512)) : p("", !0),
|
|
1232
|
-
h("div", { id: `legend-top-${k.value}` }, null, 8,
|
|
1233
|
-
N.value.show &&
|
|
1244
|
+
h("div", { id: `legend-top-${k.value}` }, null, 8, Xe),
|
|
1245
|
+
N.value.show && pn.value && (E(Rn) || E(In)) ? (x(), f(E(sn), {
|
|
1234
1246
|
ref_key: "userOptionsRef",
|
|
1235
|
-
ref:
|
|
1236
|
-
key: `user_options_${
|
|
1247
|
+
ref: Dn,
|
|
1248
|
+
key: `user_options_${_n.value}`,
|
|
1237
1249
|
backgroundColor: L.value.backgroundColor,
|
|
1238
1250
|
color: L.value.color,
|
|
1239
|
-
isImaging: E(
|
|
1240
|
-
isPrinting: E(
|
|
1251
|
+
isImaging: E(Kn),
|
|
1252
|
+
isPrinting: E(Gn),
|
|
1241
1253
|
uid: k.value,
|
|
1242
1254
|
hasTooltip: N.value.buttons.tooltip && I.value.show,
|
|
1243
1255
|
hasPdf: N.value.buttons.pdf,
|
|
@@ -1248,29 +1260,29 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1248
1260
|
hasLabel: N.value.buttons.labels,
|
|
1249
1261
|
hasFullscreen: N.value.buttons.fullscreen,
|
|
1250
1262
|
hasAltCopy: N.value.buttons.altCopy,
|
|
1251
|
-
isFullscreen:
|
|
1263
|
+
isFullscreen: Dr.value,
|
|
1252
1264
|
isTooltip: V.value.showTooltip,
|
|
1253
1265
|
titles: { ...N.value.buttonTitles },
|
|
1254
1266
|
chartElement: j.value,
|
|
1255
1267
|
position: N.value.position,
|
|
1256
1268
|
hasAnnotator: N.value.buttons.annotator,
|
|
1257
|
-
isAnnotation:
|
|
1269
|
+
isAnnotation: Mr.value,
|
|
1258
1270
|
callbacks: N.value.callbacks,
|
|
1259
1271
|
printScale: N.value.print.scale,
|
|
1260
1272
|
tableDialog: M.value.table.useDialog,
|
|
1261
1273
|
isCursorPointer: R.value,
|
|
1262
|
-
onToggleFullscreen:
|
|
1263
|
-
onGeneratePdf: E(
|
|
1264
|
-
onGenerateCsv:
|
|
1265
|
-
onGenerateImage: E(
|
|
1266
|
-
onGenerateSvg: E(
|
|
1267
|
-
onToggleTable:
|
|
1268
|
-
onToggleLabels:
|
|
1269
|
-
onToggleTooltip:
|
|
1270
|
-
onToggleAnnotator:
|
|
1271
|
-
onCopyAlt:
|
|
1272
|
-
style: b({ visibility: E(
|
|
1273
|
-
},
|
|
1274
|
+
onToggleFullscreen: Or,
|
|
1275
|
+
onGeneratePdf: E(qn),
|
|
1276
|
+
onGenerateCsv: Er,
|
|
1277
|
+
onGenerateImage: E(Ur),
|
|
1278
|
+
onGenerateSvg: E(Hr),
|
|
1279
|
+
onToggleTable: kr,
|
|
1280
|
+
onToggleLabels: Ar,
|
|
1281
|
+
onToggleTooltip: jr,
|
|
1282
|
+
onToggleAnnotator: Nr,
|
|
1283
|
+
onCopyAlt: Wr,
|
|
1284
|
+
style: b({ visibility: E(Rn) ? E(In) ? "visible" : "hidden" : "visible" })
|
|
1285
|
+
}, Ie({ _: 2 }, [
|
|
1274
1286
|
e.$slots.menuIcon ? {
|
|
1275
1287
|
name: "menuIcon",
|
|
1276
1288
|
fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(_({
|
|
@@ -1346,24 +1358,24 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1346
1358
|
key: "12"
|
|
1347
1359
|
} : void 0
|
|
1348
1360
|
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : p("", !0),
|
|
1349
|
-
h("div",
|
|
1361
|
+
h("div", Ze, [(x(), m("svg", {
|
|
1350
1362
|
ref_key: "svgRef",
|
|
1351
1363
|
ref: z,
|
|
1352
|
-
xmlns: E(
|
|
1364
|
+
xmlns: E(ue),
|
|
1353
1365
|
"aria-describedby": `chart-instructions-${k.value}`,
|
|
1354
1366
|
class: v({
|
|
1355
|
-
"vue-data-ui-fullscreen--on":
|
|
1356
|
-
"vue-data-ui-fulscreen--off": !
|
|
1367
|
+
"vue-data-ui-fullscreen--on": Dr.value,
|
|
1368
|
+
"vue-data-ui-fulscreen--off": !Dr.value
|
|
1357
1369
|
}),
|
|
1358
1370
|
viewBox: `${W.value.startX} ${W.value.startY} ${W.value.width} ${W.value.height}`,
|
|
1359
1371
|
style: b(`max-width:100%;overflow:hidden;background:transparent;color:${L.value.color}`),
|
|
1360
1372
|
id: `svg_${k.value}`,
|
|
1361
1373
|
tabindex: "0",
|
|
1362
|
-
onFocus:
|
|
1363
|
-
onBlur:
|
|
1364
|
-
onKeydown:
|
|
1374
|
+
onFocus: Gr,
|
|
1375
|
+
onBlur: Kr,
|
|
1376
|
+
onKeydown: qr
|
|
1365
1377
|
}, [
|
|
1366
|
-
|
|
1378
|
+
Re(E(cn)),
|
|
1367
1379
|
e.$slots["chart-background"] ? (x(), m("foreignObject", {
|
|
1368
1380
|
key: 0,
|
|
1369
1381
|
x: W.value.startX,
|
|
@@ -1371,8 +1383,8 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1371
1383
|
width: W.value.width,
|
|
1372
1384
|
height: W.value.height,
|
|
1373
1385
|
style: { pointerEvents: "none" }
|
|
1374
|
-
}, [w(e.$slots, "chart-background", {}, void 0, !0)], 8,
|
|
1375
|
-
h("defs", null, [(x(!0), m(u, null, C(X.value, (e, t) => (x(), f(
|
|
1386
|
+
}, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, $e)) : p("", !0),
|
|
1387
|
+
h("defs", null, [(x(!0), m(u, null, C(X.value, (e, t) => (x(), f(Oe, {
|
|
1376
1388
|
t: "radial",
|
|
1377
1389
|
cx: "50%",
|
|
1378
1390
|
cy: "50%",
|
|
@@ -1391,7 +1403,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1391
1403
|
1
|
|
1392
1404
|
]]
|
|
1393
1405
|
}, null, 8, ["id", "stops"]))), 128))]),
|
|
1394
|
-
P.value.graduations.show ? (x(), m("g",
|
|
1406
|
+
P.value.graduations.show ? (x(), m("g", et, [(x(!0), m(u, null, C(tr.value, (e) => (x(), m("rect", {
|
|
1395
1407
|
fill: P.value.graduations.fill ? E(s)(P.value.graduations.color, e.opacity) : "none",
|
|
1396
1408
|
x: e.x,
|
|
1397
1409
|
y: e.y,
|
|
@@ -1400,7 +1412,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1400
1412
|
"stroke-width": P.value.graduations.strokeWidth,
|
|
1401
1413
|
stroke: P.value.graduations.stroke,
|
|
1402
1414
|
rx: P.value.graduations.roundingForce
|
|
1403
|
-
}, null, 8,
|
|
1415
|
+
}, null, 8, tt))), 256))])) : p("", !0),
|
|
1404
1416
|
h("line", {
|
|
1405
1417
|
x1: U.value.left,
|
|
1406
1418
|
y1: U.value.centerY,
|
|
@@ -1408,7 +1420,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1408
1420
|
y2: U.value.centerY,
|
|
1409
1421
|
stroke: P.value.stroke,
|
|
1410
1422
|
"stroke-width": P.value.strokeWidth
|
|
1411
|
-
}, null, 8,
|
|
1423
|
+
}, null, 8, nt),
|
|
1412
1424
|
h("line", {
|
|
1413
1425
|
x1: U.value.centerX,
|
|
1414
1426
|
y1: U.value.top,
|
|
@@ -1416,30 +1428,30 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1416
1428
|
y2: U.value.bottom,
|
|
1417
1429
|
stroke: P.value.stroke,
|
|
1418
1430
|
"stroke-width": P.value.strokeWidth
|
|
1419
|
-
}, null, 8,
|
|
1420
|
-
P.value.showArrows ? (x(), m("g",
|
|
1431
|
+
}, null, 8, rt),
|
|
1432
|
+
P.value.showArrows ? (x(), m("g", it, [
|
|
1421
1433
|
h("polygon", {
|
|
1422
1434
|
points: `${U.value.right - 8},${U.value.centerY - 6} ${U.value.right},${U.value.centerY} ${U.value.right - 8},${U.value.centerY + 6}`,
|
|
1423
1435
|
fill: P.value.stroke,
|
|
1424
1436
|
stroke: "none"
|
|
1425
|
-
}, null, 8,
|
|
1437
|
+
}, null, 8, at),
|
|
1426
1438
|
h("polygon", {
|
|
1427
1439
|
points: `${U.value.left + 8},${U.value.centerY - 6} ${U.value.left},${U.value.centerY} ${U.value.left + 8},${U.value.centerY + 6}`,
|
|
1428
1440
|
fill: P.value.stroke,
|
|
1429
1441
|
stroke: "none"
|
|
1430
|
-
}, null, 8,
|
|
1442
|
+
}, null, 8, ot),
|
|
1431
1443
|
h("polygon", {
|
|
1432
1444
|
points: `${U.value.centerX - 6},${U.value.top + 8} ${U.value.centerX},${U.value.top} ${U.value.centerX + 6},${U.value.top + 8}`,
|
|
1433
1445
|
fill: P.value.stroke,
|
|
1434
1446
|
stroke: "none"
|
|
1435
|
-
}, null, 8,
|
|
1447
|
+
}, null, 8, st),
|
|
1436
1448
|
h("polygon", {
|
|
1437
1449
|
points: `${U.value.centerX - 6},${U.value.bottom - 8} ${U.value.centerX},${U.value.bottom} ${U.value.centerX + 6},${U.value.bottom - 8}`,
|
|
1438
1450
|
fill: P.value.stroke,
|
|
1439
1451
|
stroke: "none"
|
|
1440
|
-
}, null, 8,
|
|
1452
|
+
}, null, 8, ct)
|
|
1441
1453
|
])) : p("", !0),
|
|
1442
|
-
F.value.quadrantLabels.show && !A.value ? (x(), m("g",
|
|
1454
|
+
F.value.quadrantLabels.show && !A.value ? (x(), m("g", lt, [
|
|
1443
1455
|
F.value.quadrantLabels.tl.text ? (x(), m("text", {
|
|
1444
1456
|
key: 0,
|
|
1445
1457
|
x: 0,
|
|
@@ -1448,8 +1460,8 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1448
1460
|
fill: F.value.quadrantLabels.tl.color,
|
|
1449
1461
|
"font-size": F.value.quadrantLabels.tl.fontSize,
|
|
1450
1462
|
style: b(`font-weight:${F.value.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
1451
|
-
onClick: t[0] ||= (e) =>
|
|
1452
|
-
}, T(F.value.quadrantLabels.tl.text), 13,
|
|
1463
|
+
onClick: t[0] ||= (e) => wr("tl")
|
|
1464
|
+
}, T(F.value.quadrantLabels.tl.text), 13, ut)) : p("", !0),
|
|
1453
1465
|
F.value.quadrantLabels.tr.text ? (x(), m("text", {
|
|
1454
1466
|
key: 1,
|
|
1455
1467
|
x: U.value.width,
|
|
@@ -1458,8 +1470,8 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1458
1470
|
fill: F.value.quadrantLabels.tr.color,
|
|
1459
1471
|
"font-size": F.value.quadrantLabels.tr.fontSize,
|
|
1460
1472
|
style: b(`font-weight:${F.value.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
1461
|
-
onClick: t[1] ||= (e) =>
|
|
1462
|
-
}, T(F.value.quadrantLabels.tr.text), 13,
|
|
1473
|
+
onClick: t[1] ||= (e) => wr("tr")
|
|
1474
|
+
}, T(F.value.quadrantLabels.tr.text), 13, dt)) : p("", !0),
|
|
1463
1475
|
F.value.quadrantLabels.br.text ? (x(), m("text", {
|
|
1464
1476
|
key: 2,
|
|
1465
1477
|
x: U.value.width,
|
|
@@ -1468,8 +1480,8 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1468
1480
|
fill: F.value.quadrantLabels.br.color,
|
|
1469
1481
|
"font-size": F.value.quadrantLabels.br.fontSize,
|
|
1470
1482
|
style: b(`font-weight:${F.value.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
1471
|
-
onClick: t[2] ||= (e) =>
|
|
1472
|
-
}, T(F.value.quadrantLabels.br.text), 13,
|
|
1483
|
+
onClick: t[2] ||= (e) => wr("br")
|
|
1484
|
+
}, T(F.value.quadrantLabels.br.text), 13, ft)) : p("", !0),
|
|
1473
1485
|
F.value.quadrantLabels.bl.text ? (x(), m("text", {
|
|
1474
1486
|
key: 3,
|
|
1475
1487
|
x: 0,
|
|
@@ -1478,10 +1490,10 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1478
1490
|
fill: F.value.quadrantLabels.bl.color,
|
|
1479
1491
|
"font-size": F.value.quadrantLabels.bl.fontSize,
|
|
1480
1492
|
style: b(`font-weight:${F.value.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
1481
|
-
onClick: t[3] ||= (e) =>
|
|
1482
|
-
}, T(F.value.quadrantLabels.bl.text), 13,
|
|
1493
|
+
onClick: t[3] ||= (e) => wr("bl")
|
|
1494
|
+
}, T(F.value.quadrantLabels.bl.text), 13, pt)) : p("", !0)
|
|
1483
1495
|
])) : p("", !0),
|
|
1484
|
-
F.value.axisLabels.show ? (x(), m("g",
|
|
1496
|
+
F.value.axisLabels.show ? (x(), m("g", mt, [
|
|
1485
1497
|
P.value.yAxis.show ? (x(), m("text", {
|
|
1486
1498
|
key: 0,
|
|
1487
1499
|
x: U.value.centerX,
|
|
@@ -1492,14 +1504,14 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1492
1504
|
}, T(E(l)(F.value.plotLabels.y.formatter, J.value.y.max, E(c)({
|
|
1493
1505
|
v: J.value.y.max,
|
|
1494
1506
|
r: F.value.plotLabels.rounding
|
|
1495
|
-
}))), 9,
|
|
1507
|
+
}))), 9, ht)) : p("", !0),
|
|
1496
1508
|
h("text", {
|
|
1497
1509
|
x: U.value.centerX,
|
|
1498
1510
|
y: U.value.top - U.value.padding / 2,
|
|
1499
1511
|
"text-anchor": "middle",
|
|
1500
1512
|
"font-size": F.value.axisLabels.fontSize,
|
|
1501
1513
|
fill: F.value.axisLabels.color.positive
|
|
1502
|
-
}, T(P.value.yAxis.name), 9,
|
|
1514
|
+
}, T(P.value.yAxis.name), 9, gt),
|
|
1503
1515
|
P.value.yAxis.show ? (x(), m("text", {
|
|
1504
1516
|
key: 1,
|
|
1505
1517
|
x: U.value.centerX,
|
|
@@ -1510,7 +1522,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1510
1522
|
}, T(E(l)(F.value.plotLabels.y.formatter, J.value.y.min, E(c)({
|
|
1511
1523
|
v: J.value.y.min,
|
|
1512
1524
|
r: F.value.plotLabels.rounding
|
|
1513
|
-
}))), 9,
|
|
1525
|
+
}))), 9, _t)) : p("", !0),
|
|
1514
1526
|
P.value.xAxis.show ? (x(), m("text", {
|
|
1515
1527
|
key: 2,
|
|
1516
1528
|
id: `xLabelMin_${k.value}`,
|
|
@@ -1521,7 +1533,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1521
1533
|
}, T(E(l)(F.value.plotLabels.x.formatter, J.value.x.min, E(c)({
|
|
1522
1534
|
v: J.value.x.min,
|
|
1523
1535
|
r: F.value.plotLabels.rounding
|
|
1524
|
-
}))), 9,
|
|
1536
|
+
}))), 9, vt)) : p("", !0),
|
|
1525
1537
|
P.value.xAxis.show ? (x(), m("text", {
|
|
1526
1538
|
key: 3,
|
|
1527
1539
|
id: `xLabelMax_${k.value}`,
|
|
@@ -1532,21 +1544,21 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1532
1544
|
}, T(E(l)(F.value.plotLabels.x.formatter, J.value.x.max, E(c)({
|
|
1533
1545
|
v: J.value.x.max,
|
|
1534
1546
|
r: F.value.plotLabels.rounding
|
|
1535
|
-
}))), 9,
|
|
1547
|
+
}))), 9, yt)) : p("", !0),
|
|
1536
1548
|
h("text", {
|
|
1537
1549
|
id: `xLabelMaxName_${k.value}`,
|
|
1538
1550
|
"text-anchor": "middle",
|
|
1539
1551
|
"font-size": F.value.axisLabels.fontSize,
|
|
1540
1552
|
transform: `translate(${U.value.width - F.value.axisLabels.fontSize}, ${U.value.height / 2}), rotate(90)`,
|
|
1541
1553
|
fill: F.value.axisLabels.color.positive
|
|
1542
|
-
}, T(P.value.xAxis.name), 9,
|
|
1554
|
+
}, T(P.value.xAxis.name), 9, bt)
|
|
1543
1555
|
])) : p("", !0),
|
|
1544
|
-
L.value.layout.areas.show ? (x(), m("g",
|
|
1556
|
+
L.value.layout.areas.show ? (x(), m("g", xt, [(x(!0), m(u, null, C(X.value, (e, t) => (x(), m("g", null, [e.series.length > 2 ? (x(), m("polygon", {
|
|
1545
1557
|
key: 0,
|
|
1546
1558
|
"data-cy-quadrant-area": "",
|
|
1547
1559
|
fill: L.value.layout.areas.useGradient ? `url(#quadrant_gradient_${k.value}_${t})` : E(s)(e.color, L.value.layout.areas.opacity),
|
|
1548
|
-
points: E(
|
|
1549
|
-
}, null, 8,
|
|
1560
|
+
points: E(fe)(e)
|
|
1561
|
+
}, null, 8, St)) : p("", !0)]))), 256))])) : p("", !0),
|
|
1550
1562
|
h("g", null, [
|
|
1551
1563
|
h("rect", {
|
|
1552
1564
|
onClick: t[4] ||= (e) => q("TL"),
|
|
@@ -1559,7 +1571,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1559
1571
|
"vue-data-ui-zoom-plus": !A.value && K.value,
|
|
1560
1572
|
"vue-data-ui-zoom-minus": A.value && K.value
|
|
1561
1573
|
})
|
|
1562
|
-
}, null, 10,
|
|
1574
|
+
}, null, 10, Ct),
|
|
1563
1575
|
h("rect", {
|
|
1564
1576
|
onClick: t[5] ||= (e) => q("TR"),
|
|
1565
1577
|
x: U.value.centerX,
|
|
@@ -1571,7 +1583,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1571
1583
|
"vue-data-ui-zoom-plus": !A.value && K.value,
|
|
1572
1584
|
"vue-data-ui-zoom-minus": A.value && K.value
|
|
1573
1585
|
})
|
|
1574
|
-
}, null, 10,
|
|
1586
|
+
}, null, 10, wt),
|
|
1575
1587
|
h("rect", {
|
|
1576
1588
|
onClick: t[6] ||= (e) => q("BR"),
|
|
1577
1589
|
x: U.value.centerX,
|
|
@@ -1583,7 +1595,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1583
1595
|
"vue-data-ui-zoom-plus": !A.value && K.value,
|
|
1584
1596
|
"vue-data-ui-zoom-minus": A.value && K.value
|
|
1585
1597
|
})
|
|
1586
|
-
}, null, 10,
|
|
1598
|
+
}, null, 10, Tt),
|
|
1587
1599
|
h("rect", {
|
|
1588
1600
|
onClick: t[7] ||= (e) => q("BL"),
|
|
1589
1601
|
x: U.value.left,
|
|
@@ -1595,18 +1607,18 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1595
1607
|
"vue-data-ui-zoom-plus": !A.value && K.value,
|
|
1596
1608
|
"vue-data-ui-zoom-minus": A.value && K.value
|
|
1597
1609
|
})
|
|
1598
|
-
}, null, 10,
|
|
1610
|
+
}, null, 10, Et)
|
|
1599
1611
|
]),
|
|
1600
|
-
F.value.plotLabels.showAsTag ? (x(), m(u, { key: 7 }, [V.value.plotLabels.show ? (x(), m("g",
|
|
1612
|
+
F.value.plotLabels.showAsTag ? (x(), m(u, { key: 7 }, [V.value.plotLabels.show ? (x(), m("g", Nt, [(x(!0), m(u, null, C(X.value, (e, t) => (x(), m(u, null, [(x(!0), m(u, null, C(e.series, (n) => (x(), m("foreignObject", {
|
|
1601
1613
|
style: { overflow: "visible" },
|
|
1602
1614
|
height: "10",
|
|
1603
1615
|
width: "100",
|
|
1604
1616
|
x: n.x - 50,
|
|
1605
1617
|
y: n.y - F.value.plotLabels.fontSize,
|
|
1606
|
-
onMouseover: (r) =>
|
|
1607
|
-
onMouseleave: (e) =>
|
|
1608
|
-
onClick: (r) =>
|
|
1609
|
-
}, [h("div", { style: b(`color:${E(
|
|
1618
|
+
onMouseover: (r) => xr(e, n, t),
|
|
1619
|
+
onMouseleave: (e) => Sr(n, t),
|
|
1620
|
+
onClick: (r) => Cr(e, n, t)
|
|
1621
|
+
}, [h("div", { style: b(`color:${E(le)(e.color)};margin: 0 auto; font-size:${F.value.plotLabels.fontSize}px; text-align:center;background:${e.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`) }, T(n.name), 5)], 40, Pt))), 256))], 64))), 256))])) : p("", !0)], 64)) : (x(), m(u, { key: 6 }, [(x(!0), m(u, null, C(X.value, (t, n) => (x(), m("g", null, [e.$slots.datapoint && !E(Pn) ? (x(!0), m(u, { key: 0 }, C(t.series, (r) => (x(), m("g", { key: r.uid }, [(x(), m("foreignObject", {
|
|
1610
1622
|
x: r.x - 1,
|
|
1611
1623
|
y: r.y - 1,
|
|
1612
1624
|
width: "2",
|
|
@@ -1615,29 +1627,29 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1615
1627
|
overflow: "visible",
|
|
1616
1628
|
"pointer-events": "none"
|
|
1617
1629
|
},
|
|
1618
|
-
onMouseenter: (e) =>
|
|
1619
|
-
onMouseleave: (e) =>
|
|
1620
|
-
onClick: (e) =>
|
|
1621
|
-
}, [w(e.$slots, "datapoint",
|
|
1630
|
+
onMouseenter: (e) => xr(t, r, n),
|
|
1631
|
+
onMouseleave: (e) => Sr(r, n),
|
|
1632
|
+
onClick: (e) => Cr(t, r, n)
|
|
1633
|
+
}, [w(e.$slots, "datapoint", ze({ ref_for: !0 }, { datapoint: {
|
|
1622
1634
|
...r,
|
|
1623
|
-
onEnter: () =>
|
|
1624
|
-
onLeave: () =>
|
|
1625
|
-
onClick: () =>
|
|
1635
|
+
onEnter: () => xr(t, r, n),
|
|
1636
|
+
onLeave: () => Sr(r, n),
|
|
1637
|
+
onClick: () => Cr(t, r, n),
|
|
1626
1638
|
isSelected: Z.value && r.uid === Z.value
|
|
1627
|
-
} }), void 0, !0)], 40,
|
|
1639
|
+
} }), void 0, !0)], 40, Dt)), h("circle", {
|
|
1628
1640
|
"data-a11y-plot-id": r.uid,
|
|
1629
1641
|
cx: r.x,
|
|
1630
1642
|
cy: r.y,
|
|
1631
1643
|
r: Math.max(L.value.layout.plots.radius / (A.value ? 1.5 : 1), 10),
|
|
1632
1644
|
fill: "transparent",
|
|
1633
1645
|
style: { "pointer-events": "none" }
|
|
1634
|
-
}, null, 8,
|
|
1646
|
+
}, null, 8, Ot)]))), 128)) : e.$slots.datapointSvg && !E(Pn) ? (x(!0), m(u, { key: 1 }, C(t.series, (r) => (x(), m("g", { key: r.uid }, [w(e.$slots, "datapointSvg", ze({ ref_for: !0 }, { datapoint: {
|
|
1635
1647
|
...r,
|
|
1636
|
-
onEnter: () =>
|
|
1637
|
-
onLeave: () =>
|
|
1638
|
-
onClick: () =>
|
|
1648
|
+
onEnter: () => xr(t, r, n),
|
|
1649
|
+
onLeave: () => Sr(r, n),
|
|
1650
|
+
onClick: () => Cr(t, r, n),
|
|
1639
1651
|
isSelected: Z.value && r.uid === Z.value
|
|
1640
|
-
} }), void 0, !0)]))), 128)) : (x(!0), m(u, { key: 2 }, C(t.series, (e, r) => (x(), m("g", { key: e.uid }, [
|
|
1652
|
+
} }), void 0, !0)]))), 128)) : (x(!0), m(u, { key: 2 }, C(t.series, (e, r) => (x(), m("g", { key: e.uid }, [Re(we, {
|
|
1641
1653
|
color: t.color,
|
|
1642
1654
|
isSelected: Z.value && e.uid === Z.value,
|
|
1643
1655
|
plot: e,
|
|
@@ -1645,9 +1657,9 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1645
1657
|
shape: t.shape,
|
|
1646
1658
|
stroke: L.value.layout.plots.outline ? L.value.layout.plots.outlineColor : "none",
|
|
1647
1659
|
strokeWidth: L.value.layout.plots.outlineWidth,
|
|
1648
|
-
onMouseenter: (r) =>
|
|
1649
|
-
onMouseleave: (t) =>
|
|
1650
|
-
onClick: (r) =>
|
|
1660
|
+
onMouseenter: (r) => xr(t, e, n, "pointer"),
|
|
1661
|
+
onMouseleave: (t) => Sr(e, n),
|
|
1662
|
+
onClick: (r) => Cr(t, e, n)
|
|
1651
1663
|
}, null, 8, [
|
|
1652
1664
|
"color",
|
|
1653
1665
|
"isSelected",
|
|
@@ -1667,7 +1679,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1667
1679
|
r: Math.max(L.value.layout.plots.radius / (A.value ? 1.5 : 1), 10),
|
|
1668
1680
|
fill: "transparent",
|
|
1669
1681
|
style: { "pointer-events": "none" }
|
|
1670
|
-
}, null, 8,
|
|
1682
|
+
}, null, 8, kt)]))), 128))]))), 256)), V.value.plotLabels.show ? (x(), m("g", At, [(x(!0), m(u, null, C(X.value, (e) => (x(), m("g", null, [(x(!0), m(u, null, C(e.series, (e) => (x(), m("g", null, [String(e.name).includes("\n") ? (x(), m("text", {
|
|
1671
1683
|
key: 1,
|
|
1672
1684
|
x: e.x,
|
|
1673
1685
|
y: e.y + F.value.plotLabels.offsetY + L.value.layout.plots.radius,
|
|
@@ -1681,49 +1693,49 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1681
1693
|
x: e.x,
|
|
1682
1694
|
y: e.y + L.value.layout.labels.plotLabels.offsetY + L.value.layout.plots.radius
|
|
1683
1695
|
})
|
|
1684
|
-
}, null, 8,
|
|
1696
|
+
}, null, 8, Mt)) : (x(), m("text", {
|
|
1685
1697
|
key: 0,
|
|
1686
1698
|
x: e.x,
|
|
1687
1699
|
y: e.y + F.value.plotLabels.offsetY + L.value.layout.plots.radius,
|
|
1688
1700
|
"text-anchor": "middle",
|
|
1689
1701
|
"font-size": F.value.plotLabels.fontSize / (A.value ? 1.5 : 1),
|
|
1690
1702
|
fill: F.value.plotLabels.color
|
|
1691
|
-
}, T(e.name), 9,
|
|
1692
|
-
A.value ? (x(), m("g",
|
|
1703
|
+
}, T(e.name), 9, jt))]))), 256))]))), 256))])) : p("", !0)], 64)),
|
|
1704
|
+
A.value ? (x(), m("g", Ft, [
|
|
1693
1705
|
G.value === "TL" ? (x(), m("polygon", {
|
|
1694
1706
|
key: 0,
|
|
1695
1707
|
points: `${U.value.left - 1},${U.value.centerY} ${U.value.centerX},${U.value.centerY} ${U.value.centerX},${U.value.top - 1} ${U.value.right},${U.value.top - 1} ${U.value.right},${U.value.bottom} ${U.value.left - 1},${U.value.bottom} ${U.value.left - 1},${U.value.centerY}`,
|
|
1696
1708
|
fill: L.value.backgroundColor,
|
|
1697
1709
|
style: { opacity: "1" }
|
|
1698
|
-
}, null, 8,
|
|
1710
|
+
}, null, 8, It)) : p("", !0),
|
|
1699
1711
|
G.value === "TR" ? (x(), m("polygon", {
|
|
1700
1712
|
key: 1,
|
|
1701
1713
|
points: `${U.value.left},${U.value.top - 1} ${U.value.centerX},${U.value.top - 1} ${U.value.centerX},${U.value.centerY} ${U.value.right + 1},${U.value.centerY} ${U.value.right + 1},${U.value.bottom} ${U.value.left},${U.value.bottom} ${U.value.left},${U.value.top - 1}`,
|
|
1702
1714
|
fill: L.value.backgroundColor,
|
|
1703
1715
|
style: { opacity: "1" }
|
|
1704
|
-
}, null, 8,
|
|
1716
|
+
}, null, 8, Lt)) : p("", !0),
|
|
1705
1717
|
G.value === "BR" ? (x(), m("polygon", {
|
|
1706
1718
|
key: 2,
|
|
1707
1719
|
points: `${U.value.left},${U.value.top} ${U.value.right + 1},${U.value.top} ${U.value.right + 1},${U.value.centerY} ${U.value.centerX},${U.value.centerY} ${U.value.centerX},${U.value.bottom + 1} ${U.value.left},${U.value.bottom + 1} ${U.value.left},${U.value.top}`,
|
|
1708
1720
|
fill: L.value.backgroundColor,
|
|
1709
1721
|
style: { opacity: "1" }
|
|
1710
|
-
}, null, 8,
|
|
1722
|
+
}, null, 8, Rt)) : p("", !0),
|
|
1711
1723
|
G.value === "BL" ? (x(), m("polygon", {
|
|
1712
1724
|
key: 3,
|
|
1713
1725
|
points: `${U.value.left - 1},${U.value.top} ${U.value.right},${U.value.top} ${U.value.right},${U.value.bottom + 1} ${U.value.centerX},${U.value.bottom + 1} ${U.value.centerX},${U.value.centerY} ${U.value.left - 1},${U.value.centerY} ${U.value.left - 1},${U.value.top}`,
|
|
1714
1726
|
fill: L.value.backgroundColor,
|
|
1715
1727
|
style: { opacity: "1" }
|
|
1716
|
-
}, null, 8,
|
|
1728
|
+
}, null, 8, zt)) : p("", !0)
|
|
1717
1729
|
])) : p("", !0),
|
|
1718
|
-
G.value &&
|
|
1719
|
-
x:
|
|
1720
|
-
y:
|
|
1721
|
-
"font-size":
|
|
1722
|
-
fill:
|
|
1730
|
+
G.value && !$n.value ? (x(), m("g", Bt, [h("text", {
|
|
1731
|
+
x: Zn.value.x,
|
|
1732
|
+
y: Zn.value.y - Zn.value.fontSize / 1.5,
|
|
1733
|
+
"font-size": Zn.value.fontSize / 1.5,
|
|
1734
|
+
fill: Zn.value.fill,
|
|
1723
1735
|
"text-anchor": "middle",
|
|
1724
|
-
"font-weight":
|
|
1725
|
-
}, T(
|
|
1726
|
-
A.value && G.value ? (x(), m("g",
|
|
1736
|
+
"font-weight": Zn.value.bold ? "bold" : "normal"
|
|
1737
|
+
}, T(Zn.value.text), 9, Vt)])) : p("", !0),
|
|
1738
|
+
A.value && G.value ? (x(), m("g", Ht, [
|
|
1727
1739
|
h("rect", {
|
|
1728
1740
|
x: Q.value[G.value].tl.x,
|
|
1729
1741
|
y: Q.value[G.value].tl.y,
|
|
@@ -1736,7 +1748,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1736
1748
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1737
1749
|
"vue-ui-quadrant-mini-map-cell-selectable": G.value !== "TL"
|
|
1738
1750
|
})
|
|
1739
|
-
}, null, 14,
|
|
1751
|
+
}, null, 14, Ut),
|
|
1740
1752
|
h("rect", {
|
|
1741
1753
|
x: Q.value[G.value].tr.x,
|
|
1742
1754
|
y: Q.value[G.value].tr.y,
|
|
@@ -1749,7 +1761,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1749
1761
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1750
1762
|
"vue-ui-quadrant-mini-map-cell-selectable": G.value !== "TR"
|
|
1751
1763
|
})
|
|
1752
|
-
}, null, 14,
|
|
1764
|
+
}, null, 14, Wt),
|
|
1753
1765
|
h("rect", {
|
|
1754
1766
|
x: Q.value[G.value].br.x,
|
|
1755
1767
|
y: Q.value[G.value].br.y,
|
|
@@ -1762,7 +1774,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1762
1774
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1763
1775
|
"vue-ui-quadrant-mini-map-cell-selectable": G.value !== "BR"
|
|
1764
1776
|
})
|
|
1765
|
-
}, null, 14,
|
|
1777
|
+
}, null, 14, Gt),
|
|
1766
1778
|
h("rect", {
|
|
1767
1779
|
x: Q.value[G.value].bl.x,
|
|
1768
1780
|
y: Q.value[G.value].bl.y,
|
|
@@ -1775,57 +1787,57 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1775
1787
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1776
1788
|
"vue-ui-quadrant-mini-map-cell-selectable": G.value !== "BL"
|
|
1777
1789
|
})
|
|
1778
|
-
}, null, 14,
|
|
1790
|
+
}, null, 14, Kt),
|
|
1779
1791
|
h("path", {
|
|
1780
1792
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1781
1793
|
stroke: L.value.backgroundColor,
|
|
1782
1794
|
"stroke-width": 1,
|
|
1783
1795
|
d: Q.value[G.value].crosshairs.horizontal
|
|
1784
|
-
}, null, 8,
|
|
1796
|
+
}, null, 8, qt),
|
|
1785
1797
|
h("path", {
|
|
1786
1798
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1787
1799
|
stroke: L.value.backgroundColor,
|
|
1788
1800
|
"stroke-width": 1,
|
|
1789
1801
|
d: Q.value[G.value].crosshairs.vertical
|
|
1790
|
-
}, null, 8,
|
|
1802
|
+
}, null, 8, Jt)
|
|
1791
1803
|
])) : p("", !0),
|
|
1792
1804
|
w(e.$slots, "svg", { svg: {
|
|
1793
1805
|
...U.value,
|
|
1794
|
-
isPrintingImg: E(
|
|
1795
|
-
isPrintingSvg: E(
|
|
1806
|
+
isPrintingImg: E(Gn) || E(Kn) || E(Br),
|
|
1807
|
+
isPrintingSvg: E(Vr)
|
|
1796
1808
|
} }, void 0, !0)
|
|
1797
|
-
], 46,
|
|
1809
|
+
], 46, Qe)), e.$slots.hint ? (x(), m("div", Yt, [w(e.$slots, "hint", y(_({
|
|
1798
1810
|
hint: M.value.a11y.translations.keyboardNavigation,
|
|
1799
|
-
isVisible:
|
|
1811
|
+
isVisible: Mn.value
|
|
1800
1812
|
})), void 0, !0)])) : p("", !0)]),
|
|
1801
|
-
e.$slots.watermark ? (x(), m("div",
|
|
1802
|
-
h("div", { id: `legend-bottom-${k.value}` }, null, 8,
|
|
1803
|
-
|
|
1813
|
+
e.$slots.watermark ? (x(), m("div", Xt, [w(e.$slots, "watermark", y(_({ isPrinting: E(Gn) || E(Kn) || E(Br) || E(Vr) })), void 0, !0)])) : p("", !0),
|
|
1814
|
+
h("div", { id: `legend-bottom-${k.value}` }, null, 8, Zt),
|
|
1815
|
+
Tn.value && (L.value.legend.show || e.$slots.legend) ? (x(), f(Fe, {
|
|
1804
1816
|
key: 6,
|
|
1805
1817
|
to: L.value.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
|
|
1806
1818
|
}, [h("div", {
|
|
1807
1819
|
ref_key: "chartLegend",
|
|
1808
|
-
ref:
|
|
1809
|
-
}, [w(e.$slots, "legend", { legend:
|
|
1810
|
-
key: `legend_${
|
|
1811
|
-
legendSet:
|
|
1812
|
-
config:
|
|
1820
|
+
ref: yn
|
|
1821
|
+
}, [w(e.$slots, "legend", { legend: dr.value }, () => [L.value.legend.show ? (x(), f(Ne, {
|
|
1822
|
+
key: `legend_${wn.value}`,
|
|
1823
|
+
legendSet: dr.value,
|
|
1824
|
+
config: hr.value,
|
|
1813
1825
|
isCursorPointer: R.value,
|
|
1814
|
-
onClickMarker: t[12] ||= ({ legend: e }) =>
|
|
1826
|
+
onClickMarker: t[12] ||= ({ legend: e }) => ur(e.id)
|
|
1815
1827
|
}, {
|
|
1816
|
-
item: D(({ legend: e }) => [E(
|
|
1828
|
+
item: D(({ legend: e }) => [E(Pn) ? p("", !0) : (x(), m("div", {
|
|
1817
1829
|
key: 0,
|
|
1818
|
-
onClick: (t) =>
|
|
1830
|
+
onClick: (t) => ur(e.id),
|
|
1819
1831
|
style: b(`opacity:${Y.value.includes(e.id) ? .5 : 1}`)
|
|
1820
|
-
}, T(e.name), 13,
|
|
1821
|
-
legendToggle: D(() => [
|
|
1832
|
+
}, T(e.name), 13, Qt))]),
|
|
1833
|
+
legendToggle: D(() => [dr.value.length > 2 && L.value.legend.selectAllToggle.show && !E(Pn) ? (x(), f(ke, {
|
|
1822
1834
|
key: 0,
|
|
1823
1835
|
backgroundColor: L.value.legend.selectAllToggle.backgroundColor,
|
|
1824
1836
|
color: L.value.legend.selectAllToggle.color,
|
|
1825
1837
|
fontSize: L.value.legend.fontSize,
|
|
1826
1838
|
checked: Y.value.length > 0,
|
|
1827
1839
|
isCursorPointer: R.value,
|
|
1828
|
-
onToggle:
|
|
1840
|
+
onToggle: lr
|
|
1829
1841
|
}, null, 8, [
|
|
1830
1842
|
"backgroundColor",
|
|
1831
1843
|
"color",
|
|
@@ -1842,12 +1854,12 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1842
1854
|
e.$slots.source ? (x(), m("div", {
|
|
1843
1855
|
key: 7,
|
|
1844
1856
|
ref_key: "source",
|
|
1845
|
-
ref:
|
|
1857
|
+
ref: bn,
|
|
1846
1858
|
dir: "auto"
|
|
1847
1859
|
}, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
1848
|
-
|
|
1860
|
+
Re(E(tn), {
|
|
1849
1861
|
teleportTo: I.value.teleportTo,
|
|
1850
|
-
show: V.value.showTooltip &&
|
|
1862
|
+
show: V.value.showTooltip && hn.value,
|
|
1851
1863
|
backgroundColor: I.value.backgroundColor,
|
|
1852
1864
|
color: I.value.color,
|
|
1853
1865
|
borderRadius: I.value.borderRadius,
|
|
@@ -1859,26 +1871,26 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1859
1871
|
offsetX: I.value.offsetX,
|
|
1860
1872
|
offsetY: I.value.offsetY,
|
|
1861
1873
|
parent: j.value,
|
|
1862
|
-
content:
|
|
1863
|
-
isFullscreen:
|
|
1874
|
+
content: gn.value,
|
|
1875
|
+
isFullscreen: Dr.value,
|
|
1864
1876
|
isCustom: I.value.customFormat && typeof I.value.customFormat == "function",
|
|
1865
1877
|
smooth: I.value.smooth,
|
|
1866
1878
|
backdropFilter: I.value.backdropFilter,
|
|
1867
1879
|
smoothForce: I.value.smoothForce,
|
|
1868
1880
|
smoothSnapThreshold: I.value.smoothSnapThreshold,
|
|
1869
|
-
isA11yMode:
|
|
1870
|
-
a11yPosition:
|
|
1881
|
+
isA11yMode: jn.value === "keyboard",
|
|
1882
|
+
a11yPosition: An.value
|
|
1871
1883
|
}, {
|
|
1872
|
-
"tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...
|
|
1873
|
-
tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...
|
|
1874
|
-
"tooltip-after": D(() => [w(e.$slots, "tooltip-after", y(_({ ...
|
|
1875
|
-
default: D(() => [I.value.showShape ? (x(), m("svg",
|
|
1884
|
+
"tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...vr.value })), void 0, !0)]),
|
|
1885
|
+
tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...vr.value })), void 0, !0)]),
|
|
1886
|
+
"tooltip-after": D(() => [w(e.$slots, "tooltip-after", y(_({ ...vr.value })), void 0, !0)]),
|
|
1887
|
+
default: D(() => [I.value.showShape ? (x(), m("svg", $t, [Re(we, {
|
|
1876
1888
|
plot: {
|
|
1877
1889
|
x: 10,
|
|
1878
1890
|
y: 10
|
|
1879
1891
|
},
|
|
1880
|
-
shape:
|
|
1881
|
-
color:
|
|
1892
|
+
shape: _r.value.shape,
|
|
1893
|
+
color: _r.value.color,
|
|
1882
1894
|
radius: 8,
|
|
1883
1895
|
stroke: L.value.layout.plots.outline ? L.value.layout.plots.outlineColor : "none",
|
|
1884
1896
|
"stroke-width": L.value.layout.plots.outlineWidth
|
|
@@ -1913,24 +1925,24 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1913
1925
|
"isA11yMode",
|
|
1914
1926
|
"a11yPosition"
|
|
1915
1927
|
]),
|
|
1916
|
-
|
|
1928
|
+
pn.value && N.value.buttons.table ? (x(), f(Ue(Fr.value.component), ze({ key: 8 }, Fr.value.props, {
|
|
1917
1929
|
ref_key: "tableUnit",
|
|
1918
|
-
ref:
|
|
1919
|
-
onClose:
|
|
1920
|
-
}),
|
|
1921
|
-
content: D(() => [(x(), f(E(
|
|
1922
|
-
key: `table_${
|
|
1923
|
-
colNames:
|
|
1924
|
-
head:
|
|
1925
|
-
body:
|
|
1926
|
-
config:
|
|
1927
|
-
title: M.value.table.useDialog ? "" :
|
|
1930
|
+
ref: En,
|
|
1931
|
+
onClose: Ir
|
|
1932
|
+
}), Ie({
|
|
1933
|
+
content: D(() => [(x(), f(E(an), {
|
|
1934
|
+
key: `table_${Cn.value}`,
|
|
1935
|
+
colNames: cr.value.colNames,
|
|
1936
|
+
head: cr.value.head,
|
|
1937
|
+
body: cr.value.body,
|
|
1938
|
+
config: cr.value.config,
|
|
1939
|
+
title: M.value.table.useDialog ? "" : Fr.value.title,
|
|
1928
1940
|
withCloseButton: !M.value.table.useDialog,
|
|
1929
1941
|
isCursorPointer: R.value,
|
|
1930
|
-
onClose:
|
|
1942
|
+
onClose: Ir
|
|
1931
1943
|
}, {
|
|
1932
|
-
th: D(({ th: e }) => [
|
|
1933
|
-
td: D(({ td: e }) => [h("div", { innerHTML: e.name || e }, null, 8,
|
|
1944
|
+
th: D(({ th: e }) => [Le(T(e), 1)]),
|
|
1945
|
+
td: D(({ td: e }) => [h("div", { innerHTML: e.name || e }, null, 8, en)]),
|
|
1934
1946
|
_: 1
|
|
1935
1947
|
}, 8, [
|
|
1936
1948
|
"colNames",
|
|
@@ -1944,24 +1956,24 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1944
1956
|
_: 2
|
|
1945
1957
|
}, [M.value.table.useDialog ? {
|
|
1946
1958
|
name: "title",
|
|
1947
|
-
fn: D(() => [
|
|
1959
|
+
fn: D(() => [Le(T(Fr.value.title), 1)]),
|
|
1948
1960
|
key: "0"
|
|
1949
1961
|
} : void 0, M.value.table.useDialog ? {
|
|
1950
1962
|
name: "actions",
|
|
1951
1963
|
fn: D(() => [h("button", {
|
|
1952
1964
|
tabindex: "0",
|
|
1953
1965
|
class: "vue-ui-user-options-button",
|
|
1954
|
-
onClick: t[13] ||= (e) =>
|
|
1966
|
+
onClick: t[13] ||= (e) => Er(N.value.callbacks.csv),
|
|
1955
1967
|
style: b({ cursor: R.value ? "pointer" : "default" })
|
|
1956
|
-
}, [
|
|
1968
|
+
}, [Re(E(nn), {
|
|
1957
1969
|
name: "fileCsv",
|
|
1958
|
-
stroke:
|
|
1970
|
+
stroke: Fr.value.props.color
|
|
1959
1971
|
}, null, 8, ["stroke"])], 4)]),
|
|
1960
1972
|
key: "1"
|
|
1961
1973
|
} : void 0]), 1040)) : p("", !0),
|
|
1962
|
-
w(e.$slots, "skeleton", {}, () => [E(
|
|
1963
|
-
], 46,
|
|
1974
|
+
w(e.$slots, "skeleton", {}, () => [E(Pn) ? (x(), f(ve, { key: 0 })) : p("", !0)], !0)
|
|
1975
|
+
], 46, Je));
|
|
1964
1976
|
}
|
|
1965
|
-
}, [["__scopeId", "data-v-
|
|
1977
|
+
}, [["__scopeId", "data-v-42c67732"]]);
|
|
1966
1978
|
//#endregion
|
|
1967
|
-
export {
|
|
1979
|
+
export { qe as n, tn as t };
|