vue-data-ui 3.4.9 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +114 -37
- package/dist/{ColorPicker-J5wOPCeB.js → ColorPicker-ChuwChMo.js} +58 -56
- package/dist/{NonSvgPenAndPaper-C7TRn0_3.js → NonSvgPenAndPaper-DVgKKLIf.js} +1 -1
- package/dist/{PackageVersion-CTUqGqWV.js → PackageVersion-DQvyATVa.js} +1 -1
- package/dist/PenAndPaper-SZQIAgkg.js +388 -0
- package/dist/{Title-l36lOBMx.js → Title-isbiM8i8.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-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-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-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-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-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/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +17 -8
- package/dist/{useNestedProp-BjZe1Y85.js → useNestedProp-DjGXw6S9.js} +22 -8
- package/dist/{vue-data-ui-DjxWWa78.js → vue-data-ui-B_RxfmEm.js} +113 -107
- package/dist/vue-data-ui.js +64 -64
- package/dist/{vue-ui-3d-bar-CLE7f9pl.js → vue-ui-3d-bar-CMNYyVa2.js} +454 -434
- package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-CqhVCfc2.js} +1 -1
- package/dist/{vue-ui-age-pyramid-D73uIOPm.js → vue-ui-age-pyramid-Vqa9iYXE.js} +180 -160
- package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-nNv10fBm.js} +3 -3
- package/dist/{vue-ui-bullet-Bybo0xK2.js → vue-ui-bullet-BWEBeYV5.js} +190 -170
- package/dist/{vue-ui-candlestick-D_FyMdqH.js → vue-ui-candlestick-BoLzL0g1.js} +201 -181
- package/dist/{vue-ui-carousel-table-BvMlNdVo.js → vue-ui-carousel-table-Bi6wvUUU.js} +2 -2
- package/dist/{vue-ui-chestnut-DA0g0bDV.js → vue-ui-chestnut-BGz1TLXG.js} +375 -355
- package/dist/vue-ui-chord-CebhS7ln.js +1153 -0
- package/dist/{vue-ui-circle-pack-BPDm-ro5.js → vue-ui-circle-pack-7PJVyKjp.js} +289 -269
- package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-qYLAwvzn.js} +1 -1
- package/dist/vue-ui-dashboard-DcmMvhgM.js +432 -0
- package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-DyE8eU1m.js} +1 -1
- package/dist/vue-ui-donut-CxZcJFTo.js +1681 -0
- package/dist/{vue-ui-donut-evolution-Ca3Svr0B.js → vue-ui-donut-evolution-BVYL-BUJ.js} +480 -444
- package/dist/{vue-ui-dumbbell-CxCE2luV.js → vue-ui-dumbbell-QxZn86A3.js} +210 -190
- package/dist/{vue-ui-flow-DEvwXd4W.js → vue-ui-flow-DEI5LRch.js} +339 -319
- package/dist/{vue-ui-funnel-Bgcx7xia.js → vue-ui-funnel-B_A5orFg.js} +218 -198
- package/dist/{vue-ui-galaxy-BWr1EMob.js → vue-ui-galaxy-CUoDRr-O.js} +313 -277
- package/dist/{vue-ui-gauge-DQricvo2.js → vue-ui-gauge-46tSRZN5.js} +311 -291
- package/dist/{vue-ui-gizmo-C-fKe3io.js → vue-ui-gizmo-BOgbsXao.js} +2 -2
- package/dist/{vue-ui-heatmap-B-o_i7Hu.js → vue-ui-heatmap-DKKjl1A2.js} +303 -283
- package/dist/{vue-ui-history-plot-DzQ9DPUJ.js → vue-ui-history-plot-C6p_aThr.js} +478 -442
- package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-B1yJ83aF.js} +2 -2
- package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-BudcNBg-.js} +1 -1
- package/dist/{vue-ui-molecule-I2OhrCR2.js → vue-ui-molecule-L90GnHee.js} +156 -136
- package/dist/{vue-ui-mood-radar-BAT7kZUy.js → vue-ui-mood-radar-Dhigm5rw.js} +266 -246
- package/dist/{vue-ui-nested-donuts-CjhJDAQi.js → vue-ui-nested-donuts-D0MCLs5n.js} +597 -557
- package/dist/vue-ui-onion-B7yPJ3gL.js +915 -0
- package/dist/vue-ui-parallel-coordinate-plot-DY21ivNe.js +1051 -0
- package/dist/{vue-ui-quadrant-DGnasrCR.js → vue-ui-quadrant-b0vMRaq-.js} +532 -495
- package/dist/{vue-ui-quick-chart-Cam_sWet.js → vue-ui-quick-chart-VK2EN7sh.js} +288 -268
- package/dist/{vue-ui-radar-DNI9WI2R.js → vue-ui-radar-B5Vkoz9M.js} +412 -373
- package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-BH4DW1ZY.js} +1 -1
- package/dist/{vue-ui-relation-circle-Dj1jhcsl.js → vue-ui-relation-circle-XHbE-ZUX.js} +228 -208
- package/dist/{vue-ui-ridgeline-adIls6bj.js → vue-ui-ridgeline-CAMNq-p_.js} +517 -481
- package/dist/vue-ui-rings-ImGOqm_J.js +855 -0
- package/dist/vue-ui-scatter-CterNJYe.js +1590 -0
- package/dist/{vue-ui-skeleton-DUdI2uOO.js → vue-ui-skeleton-CykXHWj-.js} +2 -2
- package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-DnGm6qrK.js} +1 -1
- package/dist/{vue-ui-spark-trend-DxpRfUJz.js → vue-ui-spark-trend-N1AsNQJA.js} +2 -2
- package/dist/{vue-ui-sparkbar-B44oER5n.js → vue-ui-sparkbar-Bvsi5DTT.js} +2 -2
- package/dist/{vue-ui-sparkgauge-ix12NZ7M.js → vue-ui-sparkgauge-DyJmWCWT.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-Cs-QDYBR.js → vue-ui-sparkhistogram-5eKrkmSb.js} +143 -140
- package/dist/{vue-ui-sparkline-Cb8ZmyUq.js → vue-ui-sparkline-ChKAzlVq.js} +2 -2
- package/dist/vue-ui-sparkstackbar-BXNy6nuw.js +441 -0
- package/dist/vue-ui-stackbar-1IwvUYBO.js +1827 -0
- package/dist/{vue-ui-strip-plot-BjG-Jxnb.js → vue-ui-strip-plot-B1wGxP8-.js} +245 -225
- package/dist/{vue-ui-table-DdBdLrAL.js → vue-ui-table-DSsIrT4L.js} +3 -3
- package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-DXFHy7-E.js} +1 -1
- package/dist/{vue-ui-table-sparkline-EpCo2Be5.js → vue-ui-table-sparkline-DpqY_4ay.js} +2 -2
- package/dist/vue-ui-thermometer-CMKvSA8p.js +584 -0
- package/dist/{vue-ui-timer-Br3wp8hG.js → vue-ui-timer-BpdCY_wg.js} +3 -3
- package/dist/vue-ui-tiremarks-CNipzVli.js +450 -0
- package/dist/vue-ui-treemap-DPE8SY0_.js +1330 -0
- package/dist/{vue-ui-vertical-bar-yfbEfLqy.js → vue-ui-vertical-bar-ZU1GCbX0.js} +484 -448
- package/dist/{vue-ui-waffle-m-9sqQik.js → vue-ui-waffle-z7nuSuSV.js} +398 -362
- package/dist/vue-ui-wheel-DLRoRjeM.js +663 -0
- package/dist/{vue-ui-word-cloud-vNwswYZD.js → vue-ui-word-cloud-D2r5E3pP.js} +248 -228
- package/dist/{vue-ui-world-BsCNyZy_.js → vue-ui-world-goXYnTyM.js} +287 -267
- package/dist/{vue-ui-xy-CIrw1lWQ.js → vue-ui-xy-NDDbNbds.js} +1263 -1227
- package/dist/{vue-ui-xy-canvas-DXnLFwW3.js → vue-ui-xy-canvas-2a6NlQe3.js} +338 -322
- package/package.json +4 -4
- package/dist/PenAndPaper-DSvu9dwa.js +0 -373
- package/dist/vue-ui-chord-CDgzolI-.js +0 -1133
- package/dist/vue-ui-dashboard-CeJwbiON.js +0 -412
- package/dist/vue-ui-donut-DjQXHBJE.js +0 -1645
- package/dist/vue-ui-onion-DTY2p87s.js +0 -873
- package/dist/vue-ui-parallel-coordinate-plot-C8aWTcNn.js +0 -1014
- package/dist/vue-ui-rings-CnTMFK6R.js +0 -813
- package/dist/vue-ui-scatter-fzR2c0St.js +0 -1554
- package/dist/vue-ui-sparkstackbar-BiRZ51OU.js +0 -424
- package/dist/vue-ui-stackbar-DubS6Pg8.js +0 -1708
- package/dist/vue-ui-thermometer-DTnfnf9z.js +0 -564
- package/dist/vue-ui-tiremarks-CrC_tlIx.js +0 -430
- package/dist/vue-ui-treemap-kyuyi2ES.js +0 -1294
- package/dist/vue-ui-wheel-BasM7FWt.js +0 -643
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { c as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { _ as
|
|
12
|
-
import { t as
|
|
13
|
-
import
|
|
14
|
-
import { u as
|
|
15
|
-
import { _ as
|
|
16
|
-
const
|
|
1
|
+
import { defineAsyncComponent as P, computed as g, ref as y, toRefs as Ot, watch as xe, shallowRef as at, onMounted as Nt, onBeforeUnmount as Bt, createElementBlock as r, openBlock as s, unref as i, normalizeStyle as _, normalizeClass as X, createBlock as O, createCommentVNode as h, createElementVNode as c, createVNode as re, withCtx as f, renderSlot as p, normalizeProps as z, guardReactiveProps as A, createSlots as ot, Fragment as q, renderList as N, toDisplayString as k, Teleport as Ft, resolveDynamicComponent as Rt, mergeProps as Pt, createTextVNode as ut, nextTick as st } from "vue";
|
|
2
|
+
import { c as nt, t as Vt, b as Dt, p as $e, o as Ht, f as G, e as It, h as Ut, aa as Et, a as V, d as D, X as Qt, s as ie, i as Gt, ab as Jt, M as jt, J as Zt, P as Kt, Q as el, G as tl, H as ll } from "./lib-C_mNZmhD.js";
|
|
3
|
+
import { t as al, u as ol } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as ul, a as rt } from "./useNestedProp-DjGXw6S9.js";
|
|
5
|
+
import { u as sl } from "./usePrinter-DTzqpYKF.js";
|
|
6
|
+
import { u as nl } from "./useSvgExport-DrjCWun4.js";
|
|
7
|
+
import { u as rl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as il } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import vl from "./img-BecE5qXd.js";
|
|
10
|
+
import dl from "./Title-isbiM8i8.js";
|
|
11
|
+
import { _ as it } from "./Shape-CNXKB8O0.js";
|
|
12
|
+
import { t as cl } from "./themes-AUNCOb2G.js";
|
|
13
|
+
import hl from "./Legend-G6GMcdAc.js";
|
|
14
|
+
import { u as yl, B as bl } from "./BaseScanner-BgWxam9d.js";
|
|
15
|
+
import { _ as fl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y", "width", "height"], $l = ["id"], kl = ["stop-color"], Ll = ["stop-color"], wl = { key: 1 }, Sl = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], _l = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Cl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ql = { key: 2 }, Tl = ["points", "fill"], zl = ["points", "fill"], Al = ["points", "fill"], Wl = ["points", "fill"], Xl = { key: 3 }, Yl = ["y", "fill", "font-size"], Ml = ["x", "y", "fill", "font-size"], Ol = ["x", "y", "fill", "font-size"], Nl = ["y", "fill", "font-size"], Bl = { key: 4 }, Fl = ["x", "y", "font-size", "fill"], Rl = ["x", "y", "font-size", "fill"], Pl = ["x", "y", "font-size", "fill"], Vl = ["id", "font-size", "transform", "fill"], Dl = ["id", "font-size", "transform", "fill"], Hl = ["id", "font-size", "transform", "fill"], Il = { key: 5 }, Ul = ["fill", "points"], El = ["x", "y", "width", "height"], Ql = ["x", "y", "width", "height"], Gl = ["x", "y", "width", "height"], Jl = ["x", "y", "width", "height"], jl = {
|
|
17
17
|
key: 0,
|
|
18
18
|
style: { "pointer-events": "none" }
|
|
19
|
-
},
|
|
19
|
+
}, Zl = ["x", "y", "font-size", "fill"], Kl = ["x", "y", "font-size", "fill", "innerHTML"], ea = { key: 0 }, ta = ["x", "y", "onMouseover", "onMouseleave", "onClick"], la = {
|
|
20
20
|
key: 8,
|
|
21
21
|
class: "vue-ui-dna"
|
|
22
|
-
},
|
|
22
|
+
}, aa = ["points", "fill"], oa = ["points", "fill"], ua = ["points", "fill"], sa = ["points", "fill"], na = { key: 9 }, ra = ["x", "y", "font-size", "fill", "font-weight"], ia = { key: 10 }, va = ["x", "y", "fill"], da = ["x", "y", "fill"], ca = ["x", "y", "fill"], ha = ["x", "y", "fill"], ya = ["stroke", "d"], ba = ["stroke", "d"], fa = {
|
|
23
23
|
key: 4,
|
|
24
24
|
class: "vue-data-ui-watermark"
|
|
25
|
-
},
|
|
25
|
+
}, pa = ["id"], ga = ["onClick"], ma = {
|
|
26
26
|
key: 0,
|
|
27
27
|
height: "14",
|
|
28
28
|
width: "14",
|
|
29
29
|
viewBox: "0 0 20 20"
|
|
30
|
-
},
|
|
30
|
+
}, xa = ["innerHTML"], $a = {
|
|
31
31
|
__name: "vue-ui-quadrant",
|
|
32
32
|
props: {
|
|
33
33
|
config: {
|
|
@@ -44,14 +44,14 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
47
|
-
setup(
|
|
48
|
-
const
|
|
49
|
-
...
|
|
47
|
+
setup(vt, { expose: dt, emit: ct }) {
|
|
48
|
+
const ht = P(() => import("./Tooltip-oWCO1HKy.js")), yt = P(() => import("./BaseIcon-BmMbm4d0.js")), bt = P(() => import("./vue-ui-accordion-CqhVCfc2.js")), ft = P(() => import("./DataTable-BT7VF2ua.js")), pt = P(() => import("./PenAndPaper-SZQIAgkg.js")), gt = P(() => import("./UserOptions-CGnQt6Fd.js")), mt = P(() => import("./PackageVersion-DQvyATVa.js")), xt = P(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_quadrant: $t } = ul(), B = vt, ke = g(() => !!B.dataset && B.dataset.length), w = y(nt()), ve = ct, de = y(!1), ce = y(""), Le = y(0), x = y(!1), Y = y(null), we = y(null), Se = y(null), _e = y(null), Ce = y(null), qe = y(0), Te = y(0), ze = y(0), Ae = y(!1), J = y(null), he = y(null), e = y(fe()), { loading: We, FINAL_DATASET: Xe } = yl({
|
|
49
|
+
...Ot(B),
|
|
50
50
|
FINAL_CONFIG: e,
|
|
51
|
-
prepareConfig:
|
|
51
|
+
prepareConfig: fe,
|
|
52
52
|
callback: () => {
|
|
53
53
|
Promise.resolve().then(async () => {
|
|
54
|
-
await
|
|
54
|
+
await st(), $.value.showTable = e.value.table.show;
|
|
55
55
|
});
|
|
56
56
|
},
|
|
57
57
|
skeletonDataset: [
|
|
@@ -76,7 +76,7 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
76
76
|
]
|
|
77
77
|
}
|
|
78
78
|
],
|
|
79
|
-
skeletonConfig:
|
|
79
|
+
skeletonConfig: Vt({
|
|
80
80
|
defaultConfig: e.value,
|
|
81
81
|
userConfig: {
|
|
82
82
|
userOptions: { show: !1 },
|
|
@@ -114,78 +114,78 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
})
|
|
117
|
-
}), { userOptionsVisible:
|
|
118
|
-
function
|
|
117
|
+
}), { userOptionsVisible: ye, setUserOptionsVisibility: Ye, keepUserOptionState: Me } = rl({ config: e.value }), { svgRef: be } = il({ config: e.value.style.chart.title });
|
|
118
|
+
function fe() {
|
|
119
119
|
const l = rt({
|
|
120
|
-
userConfig:
|
|
121
|
-
defaultConfig:
|
|
120
|
+
userConfig: B.config,
|
|
121
|
+
defaultConfig: $t
|
|
122
122
|
});
|
|
123
123
|
return l.theme ? {
|
|
124
124
|
...rt({
|
|
125
|
-
userConfig:
|
|
125
|
+
userConfig: cl.vue_ui_quadrant[l.theme] || B.config,
|
|
126
126
|
defaultConfig: l
|
|
127
127
|
}),
|
|
128
|
-
customPalette:
|
|
128
|
+
customPalette: Dt[l.theme] || $e
|
|
129
129
|
} : l;
|
|
130
130
|
}
|
|
131
|
-
xe(() =>
|
|
132
|
-
e.value =
|
|
131
|
+
xe(() => B.config, (l) => {
|
|
132
|
+
e.value = fe(), ye.value = !e.value.userOptions.showOnChartHover, Oe(), qe.value += 1, Te.value += 1, ze.value += 1, $.value.plotLabels.show = e.value.style.chart.layout.labels.plotLabels.show, $.value.showTable = e.value.table.show, $.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
133
133
|
}, { deep: !0 });
|
|
134
|
-
const
|
|
134
|
+
const F = at(null), U = at(null), E = g(() => e.value.debug);
|
|
135
135
|
function Oe() {
|
|
136
|
-
if (
|
|
136
|
+
if (Ht(B.dataset) ? G({
|
|
137
137
|
componentName: "VueUiQuadrant",
|
|
138
138
|
type: "dataset",
|
|
139
|
-
debug:
|
|
140
|
-
}) :
|
|
141
|
-
[null, void 0].includes(l.name) &&
|
|
139
|
+
debug: E.value
|
|
140
|
+
}) : B.dataset.forEach((l, o) => {
|
|
141
|
+
[null, void 0].includes(l.name) && G({
|
|
142
142
|
componentName: "VueUiQuadrant",
|
|
143
143
|
type: "datasetSerieAttribute",
|
|
144
144
|
property: "name",
|
|
145
145
|
index: o,
|
|
146
|
-
debug:
|
|
147
|
-
}), [null, void 0].includes(l.series) ?
|
|
146
|
+
debug: E.value
|
|
147
|
+
}), [null, void 0].includes(l.series) ? G({
|
|
148
148
|
componentName: "VueUiQuadrant",
|
|
149
149
|
type: "datasetSerieAttribute",
|
|
150
150
|
property: "series",
|
|
151
151
|
index: o,
|
|
152
|
-
debug:
|
|
152
|
+
debug: E.value
|
|
153
153
|
}) : l.series.forEach((a, u) => {
|
|
154
|
-
[null, void 0].includes(a.name) &&
|
|
154
|
+
[null, void 0].includes(a.name) && G({
|
|
155
155
|
componentName: "VueUiQuadrant",
|
|
156
156
|
type: "datasetSerieAttribute",
|
|
157
157
|
property: "name",
|
|
158
158
|
key: "series",
|
|
159
159
|
index: u,
|
|
160
|
-
debug:
|
|
160
|
+
debug: E.value
|
|
161
161
|
});
|
|
162
162
|
});
|
|
163
163
|
}), e.value.responsive) {
|
|
164
|
-
const l =
|
|
165
|
-
const { width: o, height: a } =
|
|
166
|
-
chart:
|
|
164
|
+
const l = al(() => {
|
|
165
|
+
const { width: o, height: a } = ol({
|
|
166
|
+
chart: Y.value,
|
|
167
167
|
title: e.value.style.chart.title.text ? we.value : null,
|
|
168
|
-
legend: e.value.style.chart.legend.show ?
|
|
169
|
-
source:
|
|
170
|
-
noTitle:
|
|
168
|
+
legend: e.value.style.chart.legend.show ? Se.value : null,
|
|
169
|
+
source: _e.value,
|
|
170
|
+
noTitle: Ce.value
|
|
171
171
|
});
|
|
172
172
|
L.value = 48, requestAnimationFrame(() => {
|
|
173
173
|
t.value.height = a, t.value.usableHeight = a - L.value * 2, t.value.width = o, t.value.usableWidth = o - L.value * 2, t.value.top = L.value, t.value.left = L.value, t.value.right = o - L.value, t.value.bottom = a - L.value, t.value.centerX = o / 2, t.value.centerY = a - a / 2, t.value.padding = L.value;
|
|
174
174
|
});
|
|
175
175
|
});
|
|
176
|
-
|
|
176
|
+
F.value && (U.value && F.value.unobserve(U.value), F.value.disconnect()), F.value = new ResizeObserver(l), U.value = Y.value.parentNode, F.value.observe(U.value);
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
|
-
|
|
179
|
+
Nt(() => {
|
|
180
180
|
Ae.value = !0, Oe();
|
|
181
|
-
}),
|
|
182
|
-
|
|
181
|
+
}), Bt(() => {
|
|
182
|
+
F.value && (U.value && F.value.unobserve(U.value), F.value.disconnect());
|
|
183
183
|
});
|
|
184
|
-
const { isPrinting: Ne, isImaging: Be, generatePdf: Fe, generateImage: Re } =
|
|
184
|
+
const { isPrinting: Ne, isImaging: Be, generatePdf: Fe, generateImage: Re } = sl({
|
|
185
185
|
elementId: `vue-ui-quadrant_${w.value}`,
|
|
186
186
|
fileName: e.value.style.chart.title.text || "vue-ui-quadrant",
|
|
187
187
|
options: e.value.userOptions.print
|
|
188
|
-
}),
|
|
188
|
+
}), kt = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), Pe = g(() => It(e.value.customPalette)), $ = y({
|
|
189
189
|
plotLabels: {
|
|
190
190
|
show: e.value.style.chart.layout.labels.plotLabels.show
|
|
191
191
|
},
|
|
@@ -215,8 +215,8 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
215
215
|
startY: 0
|
|
216
216
|
});
|
|
217
217
|
}, { deep: !0 });
|
|
218
|
-
const
|
|
219
|
-
switch (
|
|
218
|
+
const d = y(null), H = g(() => {
|
|
219
|
+
switch (d.value) {
|
|
220
220
|
case "TL":
|
|
221
221
|
return {
|
|
222
222
|
x: v.value.startX + v.value.width / 2,
|
|
@@ -256,32 +256,32 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
256
256
|
default:
|
|
257
257
|
return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
|
|
258
258
|
}
|
|
259
|
-
}),
|
|
260
|
-
function j({ targetX: l, targetY: o, targetW: a, targetH: u, side:
|
|
261
|
-
|
|
259
|
+
}), Lt = y(null), le = y(!1);
|
|
260
|
+
function j({ targetX: l, targetY: o, targetW: a, targetH: u, side: n }) {
|
|
261
|
+
d.value && ee(n);
|
|
262
262
|
const b = {
|
|
263
263
|
x: l - v.value.startX,
|
|
264
264
|
y: o - v.value.startY,
|
|
265
265
|
w: a - v.value.width,
|
|
266
266
|
h: u - v.value.height
|
|
267
|
-
},
|
|
268
|
-
let
|
|
269
|
-
function
|
|
270
|
-
|
|
267
|
+
}, m = e.value.zoomAnimationFrames;
|
|
268
|
+
let M = 0;
|
|
269
|
+
function lt() {
|
|
270
|
+
le.value = !0, v.value.startX += b.x / m, v.value.startY += b.y / m, v.value.width += b.w / m, v.value.height += b.h / m, M += 1, M < m ? Lt.value = requestAnimationFrame(lt) : le.value = !1;
|
|
271
271
|
}
|
|
272
|
-
|
|
272
|
+
lt();
|
|
273
273
|
}
|
|
274
|
-
function
|
|
275
|
-
if (!
|
|
276
|
-
if (
|
|
274
|
+
function R(l) {
|
|
275
|
+
if (!le.value)
|
|
276
|
+
if (x.value && d.value === l)
|
|
277
277
|
j({
|
|
278
278
|
targetX: 0,
|
|
279
279
|
targetY: 0,
|
|
280
280
|
targetW: t.value.width,
|
|
281
281
|
targetH: t.value.height
|
|
282
|
-
}),
|
|
282
|
+
}), d.value = null, x.value = !1;
|
|
283
283
|
else {
|
|
284
|
-
switch (
|
|
284
|
+
switch (d.value = l, l) {
|
|
285
285
|
case "TL":
|
|
286
286
|
j({
|
|
287
287
|
targetX: 0,
|
|
@@ -322,23 +322,23 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
322
322
|
v.value.startX = 0, v.value.startY = 0, v.value.width = t.value.width, v.value.height = t.value.height;
|
|
323
323
|
break;
|
|
324
324
|
}
|
|
325
|
-
|
|
325
|
+
x.value = !0;
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
const
|
|
328
|
+
const wt = g(() => {
|
|
329
329
|
const l = e.value.style.chart.layout.grid.graduations.steps, o = t.value.usableWidth / (l * 2), a = t.value.top, u = [];
|
|
330
|
-
for (let
|
|
330
|
+
for (let n = 0; n < l; n += 1)
|
|
331
331
|
u.push({
|
|
332
|
-
x: t.value.padding + o *
|
|
333
|
-
y: a + t.value.usableHeight * (
|
|
334
|
-
height: t.value.usableHeight * (1 -
|
|
335
|
-
width: t.value.usableWidth * (1 -
|
|
336
|
-
opacity: Math.round((
|
|
332
|
+
x: t.value.padding + o * n,
|
|
333
|
+
y: a + t.value.usableHeight * (n / l / 2),
|
|
334
|
+
height: t.value.usableHeight * (1 - n / l),
|
|
335
|
+
width: t.value.usableWidth * (1 - n / l),
|
|
336
|
+
opacity: Math.round((n + 1) / l * 20)
|
|
337
337
|
});
|
|
338
338
|
return u;
|
|
339
|
-
}),
|
|
339
|
+
}), C = g(() => {
|
|
340
340
|
let l = e.value.style.chart.layout.grid.xAxis.max, o = e.value.style.chart.layout.grid.xAxis.min, a = e.value.style.chart.layout.grid.yAxis.max, u = e.value.style.chart.layout.grid.yAxis.min;
|
|
341
|
-
return e.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...
|
|
341
|
+
return e.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...Q.value.flatMap((n) => n.series.map((b) => b.x))), o = Math.min(...Q.value.flatMap((n) => n.series.map((b) => b.x)))), e.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...Q.value.flatMap((n) => n.series.map((b) => b.y))), u = Math.min(...Q.value.flatMap((n) => n.series.map((b) => b.y)))), {
|
|
342
342
|
x: {
|
|
343
343
|
max: l,
|
|
344
344
|
min: o
|
|
@@ -348,15 +348,15 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
348
348
|
min: u
|
|
349
349
|
}
|
|
350
350
|
};
|
|
351
|
-
}),
|
|
351
|
+
}), W = y([]), Q = g(() => Xe.value.map((l, o) => ({
|
|
352
352
|
...l,
|
|
353
|
-
series:
|
|
353
|
+
series: Et({
|
|
354
354
|
data: l.series,
|
|
355
355
|
threshold: e.value.downsample.threshold
|
|
356
356
|
}),
|
|
357
357
|
id: `cat_${o}_${w.value}`,
|
|
358
|
-
color:
|
|
359
|
-
}))),
|
|
358
|
+
color: Ut(l.color) || Pe.value[o] || $e[o]
|
|
359
|
+
}))), St = g(() => Q.value.filter((l) => !W.value.includes(l.id))), _t = g(() => Q.value.map((l, o) => ({
|
|
360
360
|
...l,
|
|
361
361
|
shape: l.shape || "circle",
|
|
362
362
|
series: l.series.map((a) => ({
|
|
@@ -365,30 +365,30 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
365
365
|
y: De(a.y),
|
|
366
366
|
xValue: a.x,
|
|
367
367
|
yValue: a.y,
|
|
368
|
-
quadrantSide:
|
|
368
|
+
quadrantSide: Ie({ x: a.x, y: a.y }),
|
|
369
369
|
categoryName: l.name,
|
|
370
370
|
shape: l.shape,
|
|
371
371
|
color: l.color
|
|
372
372
|
}))
|
|
373
|
-
}))), T =
|
|
373
|
+
}))), T = g(() => (Xe.value.forEach((l, o) => {
|
|
374
374
|
l.series.forEach((a, u) => {
|
|
375
|
-
[null, void 0].includes(a.x) &&
|
|
375
|
+
[null, void 0].includes(a.x) && G({
|
|
376
376
|
componentName: "VueUiQuadrant",
|
|
377
377
|
type: "datasetSerieAttribute",
|
|
378
378
|
property: "x",
|
|
379
379
|
key: "series",
|
|
380
380
|
index: u,
|
|
381
|
-
debug:
|
|
382
|
-
}), [null, void 0].includes(a.y) &&
|
|
381
|
+
debug: E.value
|
|
382
|
+
}), [null, void 0].includes(a.y) && G({
|
|
383
383
|
componentName: "VueUiQuadrant",
|
|
384
384
|
type: "datasetSerieAttribute",
|
|
385
385
|
property: "y",
|
|
386
386
|
key: "series",
|
|
387
387
|
index: u,
|
|
388
|
-
debug:
|
|
388
|
+
debug: E.value
|
|
389
389
|
});
|
|
390
390
|
});
|
|
391
|
-
}),
|
|
391
|
+
}), St.value.map((l, o) => ({
|
|
392
392
|
...l,
|
|
393
393
|
shape: l.shape || "circle",
|
|
394
394
|
color: l.color || Pe.value[o] || $e[o],
|
|
@@ -398,66 +398,66 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
398
398
|
y: De(a.y),
|
|
399
399
|
xValue: a.x,
|
|
400
400
|
yValue: a.y,
|
|
401
|
-
quadrantSide:
|
|
401
|
+
quadrantSide: Ie({ x: a.x, y: a.y }),
|
|
402
402
|
categoryName: l.name,
|
|
403
403
|
shape: l.shape,
|
|
404
404
|
color: l.color,
|
|
405
|
-
uid:
|
|
405
|
+
uid: nt()
|
|
406
406
|
}))
|
|
407
407
|
}))));
|
|
408
408
|
function Ve(l) {
|
|
409
409
|
if (l >= 0) {
|
|
410
|
-
const o = l /
|
|
410
|
+
const o = l / C.value.x.max;
|
|
411
411
|
return t.value.centerX + t.value.usableWidth / 2 * o;
|
|
412
412
|
} else {
|
|
413
|
-
const o = Math.abs(l) / Math.abs(
|
|
413
|
+
const o = Math.abs(l) / Math.abs(C.value.x.min);
|
|
414
414
|
return t.value.centerX - t.value.usableWidth / 2 * o;
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
417
|
function De(l) {
|
|
418
418
|
if (l >= 0) {
|
|
419
|
-
const o = l /
|
|
419
|
+
const o = l / C.value.y.max;
|
|
420
420
|
return t.value.centerY + (1 - t.value.usableHeight / 2 * o);
|
|
421
421
|
} else {
|
|
422
|
-
const o = Math.abs(l) / Math.abs(
|
|
422
|
+
const o = Math.abs(l) / Math.abs(C.value.y.min);
|
|
423
423
|
return t.value.centerY - (1 - t.value.usableHeight / 2 * o);
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
|
-
const
|
|
427
|
-
const l = T.value.flatMap((
|
|
428
|
-
x:
|
|
429
|
-
y:
|
|
430
|
-
name:
|
|
431
|
-
category:
|
|
432
|
-
quadrantSide:
|
|
433
|
-
sideName: e.value.style.chart.layout.labels.quadrantLabels[
|
|
434
|
-
color:
|
|
435
|
-
shape:
|
|
436
|
-
}))), o = e.value.style.chart.layout.grid.xAxis.name || "x", a = e.value.style.chart.layout.grid.yAxis.name || "y", u = [e.value.translations.category, e.value.translations.item, o, a, e.value.translations.side],
|
|
437
|
-
shape:
|
|
438
|
-
color:
|
|
426
|
+
const ae = g(() => {
|
|
427
|
+
const l = T.value.flatMap((m) => m.series.map((M) => ({
|
|
428
|
+
x: M.xValue,
|
|
429
|
+
y: M.yValue,
|
|
430
|
+
name: M.name,
|
|
431
|
+
category: M.categoryName,
|
|
432
|
+
quadrantSide: M.quadrantSide,
|
|
433
|
+
sideName: e.value.style.chart.layout.labels.quadrantLabels[M.quadrantSide].text,
|
|
434
|
+
color: m.color,
|
|
435
|
+
shape: m.shape
|
|
436
|
+
}))), o = e.value.style.chart.layout.grid.xAxis.name || "x", a = e.value.style.chart.layout.grid.yAxis.name || "y", u = [e.value.translations.category, e.value.translations.item, o, a, e.value.translations.side], n = l.map((m) => [m.category, m.name, m.x, m.y, m.sideName || m.quadrantSide]), b = l.map((m) => ({
|
|
437
|
+
shape: m.shape,
|
|
438
|
+
color: m.color
|
|
439
439
|
}));
|
|
440
|
-
return { head: u, body:
|
|
441
|
-
}),
|
|
442
|
-
const l =
|
|
440
|
+
return { head: u, body: n, itsShapes: b, tableData: l };
|
|
441
|
+
}), oe = g(() => {
|
|
442
|
+
const l = ae.value.head, o = ae.value.tableData.map((u) => [
|
|
443
443
|
{
|
|
444
444
|
shape: u.shape,
|
|
445
445
|
color: u.color,
|
|
446
446
|
name: u.category
|
|
447
447
|
},
|
|
448
448
|
u.name,
|
|
449
|
-
|
|
449
|
+
V(
|
|
450
450
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
451
451
|
u.x,
|
|
452
|
-
|
|
452
|
+
D({
|
|
453
453
|
v: u.x,
|
|
454
454
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
455
455
|
})
|
|
456
456
|
),
|
|
457
|
-
|
|
457
|
+
V(
|
|
458
458
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
459
459
|
u.y,
|
|
460
|
-
|
|
460
|
+
D({
|
|
461
461
|
v: u.y,
|
|
462
462
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
463
463
|
})
|
|
@@ -478,20 +478,35 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
478
478
|
};
|
|
479
479
|
return { head: l, body: o, config: a, colNames: l };
|
|
480
480
|
});
|
|
481
|
-
function
|
|
482
|
-
|
|
481
|
+
function Z(l) {
|
|
482
|
+
W.value.includes(l) ? W.value = W.value.filter((a) => a !== l) : W.value.push(l);
|
|
483
483
|
const o = Ge();
|
|
484
|
-
|
|
484
|
+
ve("selectLegend", o);
|
|
485
485
|
}
|
|
486
|
-
const
|
|
486
|
+
const K = g(() => _t.value.map((l) => ({
|
|
487
487
|
name: l.name,
|
|
488
488
|
shape: l.shape,
|
|
489
489
|
color: l.color,
|
|
490
490
|
id: l.id,
|
|
491
|
-
opacity:
|
|
492
|
-
segregate: () =>
|
|
493
|
-
isSegregated:
|
|
494
|
-
})))
|
|
491
|
+
opacity: W.value.includes(l.id) ? 0.5 : 1,
|
|
492
|
+
segregate: () => Z(l.id),
|
|
493
|
+
isSegregated: W.value.includes(l.id)
|
|
494
|
+
})));
|
|
495
|
+
function He(l) {
|
|
496
|
+
if (!K.value.length)
|
|
497
|
+
return e.value.debug && console.warn("VueUiQuadrant - There are no series to show."), null;
|
|
498
|
+
const o = K.value.find((a) => a.name === l);
|
|
499
|
+
return o || (e.value.debug && console.warn(`VueUiQuadrant - Series name not found "${l}"`), null);
|
|
500
|
+
}
|
|
501
|
+
function Ct(l) {
|
|
502
|
+
const o = He(l);
|
|
503
|
+
o !== null && W.value.includes(o.id) && Z(o.id);
|
|
504
|
+
}
|
|
505
|
+
function qt(l) {
|
|
506
|
+
const o = He(l);
|
|
507
|
+
o !== null && (W.value.includes(o.id) || Z(o.id));
|
|
508
|
+
}
|
|
509
|
+
const Tt = g(() => ({
|
|
495
510
|
cy: "quadrant-div-legend",
|
|
496
511
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
497
512
|
color: e.value.style.chart.legend.color,
|
|
@@ -499,7 +514,7 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
499
514
|
paddingBottom: 12,
|
|
500
515
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
501
516
|
}));
|
|
502
|
-
function
|
|
517
|
+
function Ie(l) {
|
|
503
518
|
switch (!0) {
|
|
504
519
|
case (l.x >= 0 && l.y >= 0):
|
|
505
520
|
return "tr";
|
|
@@ -513,9 +528,9 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
513
528
|
return "";
|
|
514
529
|
}
|
|
515
530
|
}
|
|
516
|
-
const
|
|
517
|
-
function
|
|
518
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: o, seriesIndex: a }),
|
|
531
|
+
const ue = y(null), se = y(null), pe = y(null);
|
|
532
|
+
function Ue(l, o, a) {
|
|
533
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: o, seriesIndex: a }), ue.value = o.uid, se.value = {
|
|
519
534
|
color: l.color,
|
|
520
535
|
shape: l.shape
|
|
521
536
|
}, pe.value = {
|
|
@@ -523,45 +538,45 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
523
538
|
seriesIndex: a,
|
|
524
539
|
series: T.value,
|
|
525
540
|
config: e.value
|
|
526
|
-
},
|
|
541
|
+
}, de.value = !0;
|
|
527
542
|
const u = e.value.style.chart.tooltip.customFormat;
|
|
528
|
-
if (
|
|
543
|
+
if (tl(u) && ll(() => u({
|
|
529
544
|
seriesIndex: a,
|
|
530
545
|
datapoint: o,
|
|
531
546
|
series: T.value,
|
|
532
547
|
config: e.value
|
|
533
548
|
})))
|
|
534
|
-
|
|
549
|
+
ce.value = u({
|
|
535
550
|
seriesIndex: a,
|
|
536
551
|
datapoint: o,
|
|
537
552
|
series: T.value,
|
|
538
553
|
config: e.value
|
|
539
554
|
});
|
|
540
555
|
else {
|
|
541
|
-
let
|
|
542
|
-
o.quadrantSide && (
|
|
556
|
+
let n = "";
|
|
557
|
+
o.quadrantSide && (n += `<div style="color:${e.value.style.chart.layout.labels.quadrantLabels[o.quadrantSide].color};font-weight:${e.value.style.chart.layout.labels.quadrantLabels[o.quadrantSide].bold ? "bold" : "400"}">${e.value.style.chart.layout.labels.quadrantLabels[o.quadrantSide].text}</div>`), n += `<div>${l.name}</div>`, n += `<div style="padding-bottom:6px;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px">${o.name}</div>`, n += `<div>${e.value.style.chart.layout.grid.xAxis.name ? e.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${V(
|
|
543
558
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
544
559
|
o.xValue,
|
|
545
|
-
|
|
560
|
+
D({
|
|
546
561
|
v: o.xValue,
|
|
547
562
|
r: e.value.style.chart.tooltip.roundingValue
|
|
548
563
|
}),
|
|
549
564
|
{ datapoint: o, category: l, categoryIndex: a }
|
|
550
|
-
)}</b></div>`,
|
|
565
|
+
)}</b></div>`, n += `<div>${e.value.style.chart.layout.grid.yAxis.name ? e.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${V(
|
|
551
566
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
552
567
|
o.yValue,
|
|
553
|
-
|
|
568
|
+
D({
|
|
554
569
|
v: o.yValue,
|
|
555
570
|
r: e.value.style.chart.tooltip.roundingValue
|
|
556
571
|
}),
|
|
557
572
|
{ datapoint: o, category: l, categoryIndex: a }
|
|
558
|
-
)}</b></div>`,
|
|
573
|
+
)}</b></div>`, ce.value = `<div style="text-align:left;font-size:${e.value.style.chart.tooltip.fontSize}px">${n}</div>`;
|
|
559
574
|
}
|
|
560
575
|
}
|
|
561
576
|
function Ee(l, o) {
|
|
562
|
-
|
|
577
|
+
de.value = !1, ue.value = null, se.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: o });
|
|
563
578
|
}
|
|
564
|
-
function
|
|
579
|
+
function Qe(l, o, a) {
|
|
565
580
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: o, seriesIndex: a });
|
|
566
581
|
const u = {
|
|
567
582
|
category: l.name,
|
|
@@ -572,23 +587,23 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
572
587
|
quadrantSide: o.quadrantSide,
|
|
573
588
|
sideName: e.value.style.chart.layout.labels.quadrantLabels[o.quadrantSide].text
|
|
574
589
|
};
|
|
575
|
-
|
|
590
|
+
ve("selectPlot", u);
|
|
576
591
|
}
|
|
577
|
-
function
|
|
592
|
+
function ee(l) {
|
|
578
593
|
if (!l) return;
|
|
579
|
-
const o = T.value.flatMap((u) => u.series.filter((
|
|
580
|
-
category:
|
|
581
|
-
itemName:
|
|
582
|
-
x:
|
|
583
|
-
y:
|
|
594
|
+
const o = T.value.flatMap((u) => u.series.filter((n) => n.quadrantSide === l).map((n) => ({
|
|
595
|
+
category: n.categoryName,
|
|
596
|
+
itemName: n.name,
|
|
597
|
+
x: n.xValue,
|
|
598
|
+
y: n.yValue
|
|
584
599
|
}))), a = {
|
|
585
600
|
quadrantSide: l,
|
|
586
601
|
sideName: e.value.style.chart.layout.labels.quadrantLabels[l].text,
|
|
587
602
|
items: [...o]
|
|
588
603
|
};
|
|
589
|
-
|
|
604
|
+
ve("selectSide", a);
|
|
590
605
|
}
|
|
591
|
-
const
|
|
606
|
+
const S = g(() => ({
|
|
592
607
|
TL: {
|
|
593
608
|
tl: {
|
|
594
609
|
x: t.value.left + t.value.usableWidth / 4 - 20,
|
|
@@ -709,33 +724,33 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
709
724
|
}));
|
|
710
725
|
}
|
|
711
726
|
function ge(l = null) {
|
|
712
|
-
|
|
713
|
-
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a =
|
|
714
|
-
l ? l(b) :
|
|
727
|
+
st(() => {
|
|
728
|
+
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = ae.value.head, u = ae.value.body, n = o.concat([a]).concat(u), b = Kt(n);
|
|
729
|
+
l ? l(b) : el({ csvContent: b, title: e.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
715
730
|
});
|
|
716
731
|
}
|
|
717
|
-
const
|
|
718
|
-
function
|
|
719
|
-
|
|
720
|
-
}
|
|
721
|
-
function Je() {
|
|
722
|
-
x.value.showTable = !x.value.showTable;
|
|
732
|
+
const I = y(!1);
|
|
733
|
+
function Je(l) {
|
|
734
|
+
I.value = l, Le.value += 1;
|
|
723
735
|
}
|
|
724
736
|
function je() {
|
|
725
|
-
|
|
737
|
+
$.value.showTable = !$.value.showTable;
|
|
726
738
|
}
|
|
727
739
|
function Ze() {
|
|
728
|
-
|
|
740
|
+
$.value.plotLabels.show = !$.value.plotLabels.show;
|
|
741
|
+
}
|
|
742
|
+
function Ke() {
|
|
743
|
+
$.value.showTooltip = !$.value.showTooltip;
|
|
729
744
|
}
|
|
730
|
-
const
|
|
745
|
+
const ne = y(!1);
|
|
731
746
|
function me() {
|
|
732
|
-
|
|
747
|
+
ne.value = !ne.value;
|
|
733
748
|
}
|
|
734
|
-
async function
|
|
735
|
-
if (!
|
|
736
|
-
const { width: o, height: a } =
|
|
749
|
+
async function zt({ scale: l = 2 } = {}) {
|
|
750
|
+
if (!Y.value) return;
|
|
751
|
+
const { width: o, height: a } = Y.value.getBoundingClientRect(), u = o / a, { imageUri: n, base64: b } = await vl({ domElement: Y.value, base64: !0, img: !0, scale: l });
|
|
737
752
|
return {
|
|
738
|
-
imageUri:
|
|
753
|
+
imageUri: n,
|
|
739
754
|
base64: b,
|
|
740
755
|
title: e.value.style.chart.title.text,
|
|
741
756
|
width: o,
|
|
@@ -743,18 +758,18 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
743
758
|
aspectRatio: u
|
|
744
759
|
};
|
|
745
760
|
}
|
|
746
|
-
const
|
|
747
|
-
const l = e.value.table.useDialog && !e.value.table.show, o =
|
|
761
|
+
const te = g(() => {
|
|
762
|
+
const l = e.value.table.useDialog && !e.value.table.show, o = $.value.showTable;
|
|
748
763
|
return {
|
|
749
|
-
component: l ?
|
|
764
|
+
component: l ? xt : bt,
|
|
750
765
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
751
766
|
props: l ? {
|
|
752
767
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
753
768
|
color: e.value.table.th.color,
|
|
754
769
|
headerColor: e.value.table.th.color,
|
|
755
770
|
headerBg: e.value.table.th.backgroundColor,
|
|
756
|
-
isFullscreen:
|
|
757
|
-
fullscreenParent:
|
|
771
|
+
isFullscreen: I.value,
|
|
772
|
+
fullscreenParent: Y.value,
|
|
758
773
|
forcedWidth: Math.min(800, window.innerWidth * 0.8)
|
|
759
774
|
} : {
|
|
760
775
|
hideDetails: !0,
|
|
@@ -773,69 +788,91 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
773
788
|
}
|
|
774
789
|
};
|
|
775
790
|
});
|
|
776
|
-
xe(() =>
|
|
791
|
+
xe(() => $.value.showTable, (l) => {
|
|
777
792
|
e.value.table.show || (l && e.value.table.useDialog && J.value ? J.value.open() : "close" in J.value && J.value.close());
|
|
778
793
|
});
|
|
779
|
-
function
|
|
780
|
-
|
|
794
|
+
function et() {
|
|
795
|
+
$.value.showTable = !1, he.value && he.value.setTableIconState(!1);
|
|
781
796
|
}
|
|
782
|
-
const
|
|
783
|
-
svg:
|
|
784
|
-
title:
|
|
785
|
-
legend:
|
|
786
|
-
legendItems:
|
|
787
|
-
backgroundColor:
|
|
797
|
+
const At = g(() => e.value.style.chart.backgroundColor), Wt = g(() => e.value.style.chart.legend), Xt = g(() => e.value.style.chart.title), { exportSvg: Yt, getSvg: Mt } = nl({
|
|
798
|
+
svg: be,
|
|
799
|
+
title: Xt,
|
|
800
|
+
legend: Wt,
|
|
801
|
+
legendItems: K,
|
|
802
|
+
backgroundColor: At
|
|
788
803
|
});
|
|
789
|
-
async function
|
|
804
|
+
async function tt({ isCb: l }) {
|
|
790
805
|
if (l) {
|
|
791
|
-
const { blob: o, url: a, text: u, dataUrl:
|
|
792
|
-
e.value.userOptions.callbacks.svg({ blob: o, url: a, text: u, dataUrl:
|
|
806
|
+
const { blob: o, url: a, text: u, dataUrl: n } = await Mt();
|
|
807
|
+
e.value.userOptions.callbacks.svg({ blob: o, url: a, text: u, dataUrl: n });
|
|
793
808
|
} else
|
|
794
|
-
|
|
809
|
+
Yt();
|
|
795
810
|
}
|
|
796
|
-
return
|
|
811
|
+
return dt({
|
|
797
812
|
getData: Ge,
|
|
798
|
-
getImage:
|
|
813
|
+
getImage: zt,
|
|
799
814
|
generatePdf: Fe,
|
|
800
815
|
generateCsv: ge,
|
|
801
816
|
generateImage: Re,
|
|
802
|
-
generateSvg:
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
817
|
+
generateSvg: tt,
|
|
818
|
+
hideSeries: qt,
|
|
819
|
+
showSeries: Ct,
|
|
820
|
+
toggleTable: je,
|
|
821
|
+
toggleLabels: Ze,
|
|
822
|
+
toggleTooltip: Ke,
|
|
806
823
|
toggleAnnotator: me,
|
|
807
|
-
toggleFullscreen:
|
|
808
|
-
}), (l, o) => (s(),
|
|
809
|
-
class:
|
|
824
|
+
toggleFullscreen: Je
|
|
825
|
+
}), (l, o) => (s(), r("div", {
|
|
826
|
+
class: X(`vue-data-ui-component vue-ui-quadrant ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
810
827
|
ref_key: "quadrantChart",
|
|
811
|
-
ref:
|
|
828
|
+
ref: Y,
|
|
812
829
|
id: `vue-ui-quadrant_${w.value}`,
|
|
813
|
-
style:
|
|
830
|
+
style: _(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
814
831
|
onMouseenter: o[14] || (o[14] = () => i(Ye)(!0)),
|
|
815
832
|
onMouseleave: o[15] || (o[15] = () => i(Ye)(!1))
|
|
816
833
|
}, [
|
|
817
|
-
e.value.userOptions.buttons.annotator ? (s(),
|
|
834
|
+
e.value.userOptions.buttons.annotator ? (s(), O(i(pt), {
|
|
818
835
|
key: 0,
|
|
819
|
-
svgRef: i(
|
|
836
|
+
svgRef: i(be),
|
|
820
837
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
821
838
|
color: e.value.style.chart.color,
|
|
822
|
-
active:
|
|
839
|
+
active: ne.value,
|
|
823
840
|
onClose: me
|
|
824
|
-
},
|
|
825
|
-
|
|
841
|
+
}, {
|
|
842
|
+
"annotator-action-close": f(() => [
|
|
843
|
+
p(l.$slots, "annotator-action-close", {}, void 0, !0)
|
|
844
|
+
]),
|
|
845
|
+
"annotator-action-color": f(({ color: a }) => [
|
|
846
|
+
p(l.$slots, "annotator-action-color", z(A({ color: a })), void 0, !0)
|
|
847
|
+
]),
|
|
848
|
+
"annotator-action-draw": f(({ mode: a }) => [
|
|
849
|
+
p(l.$slots, "annotator-action-draw", z(A({ mode: a })), void 0, !0)
|
|
850
|
+
]),
|
|
851
|
+
"annotator-action-undo": f(({ disabled: a }) => [
|
|
852
|
+
p(l.$slots, "annotator-action-undo", z(A({ disabled: a })), void 0, !0)
|
|
853
|
+
]),
|
|
854
|
+
"annotator-action-redo": f(({ disabled: a }) => [
|
|
855
|
+
p(l.$slots, "annotator-action-redo", z(A({ disabled: a })), void 0, !0)
|
|
856
|
+
]),
|
|
857
|
+
"annotator-action-delete": f(({ disabled: a }) => [
|
|
858
|
+
p(l.$slots, "annotator-action-delete", z(A({ disabled: a })), void 0, !0)
|
|
859
|
+
]),
|
|
860
|
+
_: 3
|
|
861
|
+
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
862
|
+
kt.value ? (s(), r("div", {
|
|
826
863
|
key: 1,
|
|
827
864
|
ref_key: "noTitle",
|
|
828
|
-
ref:
|
|
865
|
+
ref: Ce,
|
|
829
866
|
class: "vue-data-ui-no-title-space",
|
|
830
867
|
style: "height:36px; width: 100%;background:transparent"
|
|
831
868
|
}, null, 512)) : h("", !0),
|
|
832
|
-
e.value.style.chart.title.text ? (s(),
|
|
869
|
+
e.value.style.chart.title.text ? (s(), r("div", {
|
|
833
870
|
key: 2,
|
|
834
871
|
ref_key: "chartTitle",
|
|
835
872
|
ref: we,
|
|
836
873
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
837
874
|
}, [
|
|
838
|
-
(s(),
|
|
875
|
+
(s(), O(dl, {
|
|
839
876
|
key: `table_${qe.value}`,
|
|
840
877
|
config: {
|
|
841
878
|
title: {
|
|
@@ -849,12 +886,12 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
849
886
|
}
|
|
850
887
|
}, null, 8, ["config"]))
|
|
851
888
|
], 512)) : h("", !0),
|
|
852
|
-
|
|
889
|
+
c("div", {
|
|
853
890
|
id: `legend-top-${w.value}`
|
|
854
|
-
}, null, 8,
|
|
855
|
-
e.value.userOptions.show && ke.value && (i(Me) || i(
|
|
891
|
+
}, null, 8, gl),
|
|
892
|
+
e.value.userOptions.show && ke.value && (i(Me) || i(ye)) ? (s(), O(i(gt), {
|
|
856
893
|
ref_key: "userOptionsRef",
|
|
857
|
-
ref:
|
|
894
|
+
ref: he,
|
|
858
895
|
key: `user_options_${Le.value}`,
|
|
859
896
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
860
897
|
color: e.value.style.chart.color,
|
|
@@ -869,111 +906,111 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
869
906
|
hasTable: e.value.userOptions.buttons.table,
|
|
870
907
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
871
908
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
872
|
-
isFullscreen:
|
|
873
|
-
isTooltip:
|
|
909
|
+
isFullscreen: I.value,
|
|
910
|
+
isTooltip: $.value.showTooltip,
|
|
874
911
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
875
|
-
chartElement:
|
|
912
|
+
chartElement: Y.value,
|
|
876
913
|
position: e.value.userOptions.position,
|
|
877
914
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
878
|
-
isAnnotation:
|
|
915
|
+
isAnnotation: ne.value,
|
|
879
916
|
callbacks: e.value.userOptions.callbacks,
|
|
880
917
|
printScale: e.value.userOptions.print.scale,
|
|
881
918
|
tableDialog: e.value.table.useDialog,
|
|
882
|
-
onToggleFullscreen:
|
|
919
|
+
onToggleFullscreen: Je,
|
|
883
920
|
onGeneratePdf: i(Fe),
|
|
884
921
|
onGenerateCsv: ge,
|
|
885
922
|
onGenerateImage: i(Re),
|
|
886
|
-
onGenerateSvg:
|
|
887
|
-
onToggleTable:
|
|
888
|
-
onToggleLabels:
|
|
889
|
-
onToggleTooltip:
|
|
923
|
+
onGenerateSvg: tt,
|
|
924
|
+
onToggleTable: je,
|
|
925
|
+
onToggleLabels: Ze,
|
|
926
|
+
onToggleTooltip: Ke,
|
|
890
927
|
onToggleAnnotator: me,
|
|
891
|
-
style:
|
|
892
|
-
visibility: i(Me) ? i(
|
|
928
|
+
style: _({
|
|
929
|
+
visibility: i(Me) ? i(ye) ? "visible" : "hidden" : "visible"
|
|
893
930
|
})
|
|
894
|
-
},
|
|
931
|
+
}, ot({ _: 2 }, [
|
|
895
932
|
l.$slots.menuIcon ? {
|
|
896
933
|
name: "menuIcon",
|
|
897
|
-
fn:
|
|
898
|
-
|
|
934
|
+
fn: f(({ isOpen: a, color: u }) => [
|
|
935
|
+
p(l.$slots, "menuIcon", z(A({ isOpen: a, color: u })), void 0, !0)
|
|
899
936
|
]),
|
|
900
937
|
key: "0"
|
|
901
938
|
} : void 0,
|
|
902
939
|
l.$slots.optionTooltip ? {
|
|
903
940
|
name: "optionTooltip",
|
|
904
|
-
fn:
|
|
905
|
-
|
|
941
|
+
fn: f(() => [
|
|
942
|
+
p(l.$slots, "optionTooltip", {}, void 0, !0)
|
|
906
943
|
]),
|
|
907
944
|
key: "1"
|
|
908
945
|
} : void 0,
|
|
909
946
|
l.$slots.optionPdf ? {
|
|
910
947
|
name: "optionPdf",
|
|
911
|
-
fn:
|
|
912
|
-
|
|
948
|
+
fn: f(() => [
|
|
949
|
+
p(l.$slots, "optionPdf", {}, void 0, !0)
|
|
913
950
|
]),
|
|
914
951
|
key: "2"
|
|
915
952
|
} : void 0,
|
|
916
953
|
l.$slots.optionCsv ? {
|
|
917
954
|
name: "optionCsv",
|
|
918
|
-
fn:
|
|
919
|
-
|
|
955
|
+
fn: f(() => [
|
|
956
|
+
p(l.$slots, "optionCsv", {}, void 0, !0)
|
|
920
957
|
]),
|
|
921
958
|
key: "3"
|
|
922
959
|
} : void 0,
|
|
923
960
|
l.$slots.optionImg ? {
|
|
924
961
|
name: "optionImg",
|
|
925
|
-
fn:
|
|
926
|
-
|
|
962
|
+
fn: f(() => [
|
|
963
|
+
p(l.$slots, "optionImg", {}, void 0, !0)
|
|
927
964
|
]),
|
|
928
965
|
key: "4"
|
|
929
966
|
} : void 0,
|
|
930
967
|
l.$slots.optionSvg ? {
|
|
931
968
|
name: "optionSvg",
|
|
932
|
-
fn:
|
|
933
|
-
|
|
969
|
+
fn: f(() => [
|
|
970
|
+
p(l.$slots, "optionSvg", {}, void 0, !0)
|
|
934
971
|
]),
|
|
935
972
|
key: "5"
|
|
936
973
|
} : void 0,
|
|
937
974
|
l.$slots.optionTable ? {
|
|
938
975
|
name: "optionTable",
|
|
939
|
-
fn:
|
|
940
|
-
|
|
976
|
+
fn: f(() => [
|
|
977
|
+
p(l.$slots, "optionTable", {}, void 0, !0)
|
|
941
978
|
]),
|
|
942
979
|
key: "6"
|
|
943
980
|
} : void 0,
|
|
944
981
|
l.$slots.optionLabels ? {
|
|
945
982
|
name: "optionLabels",
|
|
946
|
-
fn:
|
|
947
|
-
|
|
983
|
+
fn: f(() => [
|
|
984
|
+
p(l.$slots, "optionLabels", {}, void 0, !0)
|
|
948
985
|
]),
|
|
949
986
|
key: "7"
|
|
950
987
|
} : void 0,
|
|
951
988
|
l.$slots.optionFullscreen ? {
|
|
952
989
|
name: "optionFullscreen",
|
|
953
|
-
fn:
|
|
954
|
-
|
|
990
|
+
fn: f(({ toggleFullscreen: a, isFullscreen: u }) => [
|
|
991
|
+
p(l.$slots, "optionFullscreen", z(A({ toggleFullscreen: a, isFullscreen: u })), void 0, !0)
|
|
955
992
|
]),
|
|
956
993
|
key: "8"
|
|
957
994
|
} : void 0,
|
|
958
995
|
l.$slots.optionAnnotator ? {
|
|
959
996
|
name: "optionAnnotator",
|
|
960
|
-
fn:
|
|
961
|
-
|
|
997
|
+
fn: f(({ toggleAnnotator: a, isAnnotator: u }) => [
|
|
998
|
+
p(l.$slots, "optionAnnotator", z(A({ toggleAnnotator: a, isAnnotator: u })), void 0, !0)
|
|
962
999
|
]),
|
|
963
1000
|
key: "9"
|
|
964
1001
|
} : void 0
|
|
965
1002
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
966
|
-
(s(),
|
|
1003
|
+
(s(), r("svg", {
|
|
967
1004
|
ref_key: "svgRef",
|
|
968
|
-
ref:
|
|
969
|
-
xmlns: i(
|
|
970
|
-
class:
|
|
1005
|
+
ref: be,
|
|
1006
|
+
xmlns: i(Qt),
|
|
1007
|
+
class: X({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
|
|
971
1008
|
viewBox: `${v.value.startX} ${v.value.startY} ${v.value.width} ${v.value.height}`,
|
|
972
|
-
style:
|
|
1009
|
+
style: _(`max-width:100%;overflow:hidden;background:transparent;color:${e.value.style.chart.color}`),
|
|
973
1010
|
id: `svg_${w.value}`
|
|
974
1011
|
}, [
|
|
975
|
-
|
|
976
|
-
l.$slots["chart-background"] ? (s(),
|
|
1012
|
+
re(i(mt)),
|
|
1013
|
+
l.$slots["chart-background"] ? (s(), r("foreignObject", {
|
|
977
1014
|
key: 0,
|
|
978
1015
|
x: v.value.startX,
|
|
979
1016
|
y: v.value.startY,
|
|
@@ -983,10 +1020,10 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
983
1020
|
pointerEvents: "none"
|
|
984
1021
|
}
|
|
985
1022
|
}, [
|
|
986
|
-
|
|
987
|
-
], 8,
|
|
988
|
-
|
|
989
|
-
(s(!0),
|
|
1023
|
+
p(l.$slots, "chart-background", {}, void 0, !0)
|
|
1024
|
+
], 8, xl)) : h("", !0),
|
|
1025
|
+
c("defs", null, [
|
|
1026
|
+
(s(!0), r(q, null, N(T.value, (a, u) => (s(), r("radialGradient", {
|
|
990
1027
|
cx: "50%",
|
|
991
1028
|
cy: "50%",
|
|
992
1029
|
r: "50%",
|
|
@@ -994,19 +1031,19 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
994
1031
|
fy: "50%",
|
|
995
1032
|
id: `quadrant_gradient_${w.value}_${u}`
|
|
996
1033
|
}, [
|
|
997
|
-
|
|
1034
|
+
c("stop", {
|
|
998
1035
|
offset: "0%",
|
|
999
|
-
"stop-color": i(
|
|
1000
|
-
}, null, 8,
|
|
1001
|
-
|
|
1036
|
+
"stop-color": i(ie)(i(Gt)(a.color, 0.05), e.value.style.chart.layout.areas.opacity)
|
|
1037
|
+
}, null, 8, kl),
|
|
1038
|
+
c("stop", {
|
|
1002
1039
|
offset: "100%",
|
|
1003
|
-
"stop-color": i(
|
|
1004
|
-
}, null, 8,
|
|
1005
|
-
], 8,
|
|
1040
|
+
"stop-color": i(ie)(a.color, e.value.style.chart.layout.areas.opacity)
|
|
1041
|
+
}, null, 8, Ll)
|
|
1042
|
+
], 8, $l))), 256))
|
|
1006
1043
|
]),
|
|
1007
|
-
e.value.style.chart.layout.grid.graduations.show ? (s(),
|
|
1008
|
-
(s(!0),
|
|
1009
|
-
fill: e.value.style.chart.layout.grid.graduations.fill ? i(
|
|
1044
|
+
e.value.style.chart.layout.grid.graduations.show ? (s(), r("g", wl, [
|
|
1045
|
+
(s(!0), r(q, null, N(wt.value, (a) => (s(), r("rect", {
|
|
1046
|
+
fill: e.value.style.chart.layout.grid.graduations.fill ? i(ie)(e.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
|
|
1010
1047
|
x: a.x,
|
|
1011
1048
|
y: a.y,
|
|
1012
1049
|
height: a.height <= 0 ? 1e-3 : a.height,
|
|
@@ -1014,408 +1051,408 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
1014
1051
|
"stroke-width": e.value.style.chart.layout.grid.graduations.strokeWidth,
|
|
1015
1052
|
stroke: e.value.style.chart.layout.grid.graduations.stroke,
|
|
1016
1053
|
rx: e.value.style.chart.layout.grid.graduations.roundingForce
|
|
1017
|
-
}, null, 8,
|
|
1054
|
+
}, null, 8, Sl))), 256))
|
|
1018
1055
|
])) : h("", !0),
|
|
1019
|
-
|
|
1056
|
+
c("line", {
|
|
1020
1057
|
x1: t.value.left,
|
|
1021
1058
|
y1: t.value.centerY,
|
|
1022
1059
|
x2: t.value.right,
|
|
1023
1060
|
y2: t.value.centerY,
|
|
1024
1061
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
1025
1062
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
1026
|
-
}, null, 8,
|
|
1027
|
-
|
|
1063
|
+
}, null, 8, _l),
|
|
1064
|
+
c("line", {
|
|
1028
1065
|
x1: t.value.centerX,
|
|
1029
1066
|
y1: t.value.top,
|
|
1030
1067
|
x2: t.value.centerX,
|
|
1031
1068
|
y2: t.value.bottom,
|
|
1032
1069
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
1033
1070
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
1034
|
-
}, null, 8,
|
|
1035
|
-
e.value.style.chart.layout.grid.showArrows ? (s(),
|
|
1036
|
-
|
|
1071
|
+
}, null, 8, Cl),
|
|
1072
|
+
e.value.style.chart.layout.grid.showArrows ? (s(), r("g", ql, [
|
|
1073
|
+
c("polygon", {
|
|
1037
1074
|
points: `${t.value.right - 8},${t.value.centerY - 6} ${t.value.right},${t.value.centerY} ${t.value.right - 8},${t.value.centerY + 6}`,
|
|
1038
1075
|
fill: e.value.style.chart.layout.grid.stroke,
|
|
1039
1076
|
stroke: "none"
|
|
1040
|
-
}, null, 8,
|
|
1041
|
-
|
|
1077
|
+
}, null, 8, Tl),
|
|
1078
|
+
c("polygon", {
|
|
1042
1079
|
points: `${t.value.left + 8},${t.value.centerY - 6} ${t.value.left},${t.value.centerY} ${t.value.left + 8},${t.value.centerY + 6}`,
|
|
1043
1080
|
fill: e.value.style.chart.layout.grid.stroke,
|
|
1044
1081
|
stroke: "none"
|
|
1045
|
-
}, null, 8,
|
|
1046
|
-
|
|
1082
|
+
}, null, 8, zl),
|
|
1083
|
+
c("polygon", {
|
|
1047
1084
|
points: `${t.value.centerX - 6},${t.value.top + 8} ${t.value.centerX},${t.value.top} ${t.value.centerX + 6},${t.value.top + 8}`,
|
|
1048
1085
|
fill: e.value.style.chart.layout.grid.stroke,
|
|
1049
1086
|
stroke: "none"
|
|
1050
|
-
}, null, 8,
|
|
1051
|
-
|
|
1087
|
+
}, null, 8, Al),
|
|
1088
|
+
c("polygon", {
|
|
1052
1089
|
points: `${t.value.centerX - 6},${t.value.bottom - 8} ${t.value.centerX},${t.value.bottom} ${t.value.centerX + 6},${t.value.bottom - 8}`,
|
|
1053
1090
|
fill: e.value.style.chart.layout.grid.stroke,
|
|
1054
1091
|
stroke: "none"
|
|
1055
|
-
}, null, 8,
|
|
1092
|
+
}, null, 8, Wl)
|
|
1056
1093
|
])) : h("", !0),
|
|
1057
|
-
e.value.style.chart.layout.labels.quadrantLabels.show && !
|
|
1058
|
-
e.value.style.chart.layout.labels.quadrantLabels.tl.text ? (s(),
|
|
1094
|
+
e.value.style.chart.layout.labels.quadrantLabels.show && !x.value ? (s(), r("g", Xl, [
|
|
1095
|
+
e.value.style.chart.layout.labels.quadrantLabels.tl.text ? (s(), r("text", {
|
|
1059
1096
|
key: 0,
|
|
1060
1097
|
x: 0,
|
|
1061
1098
|
y: t.value.top - t.value.padding / 2,
|
|
1062
1099
|
"text-anchor": "start",
|
|
1063
1100
|
fill: e.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
1064
1101
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
1065
|
-
style:
|
|
1066
|
-
onClick: o[0] || (o[0] = (a) =>
|
|
1067
|
-
}, k(e.value.style.chart.layout.labels.quadrantLabels.tl.text), 13,
|
|
1068
|
-
e.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(),
|
|
1102
|
+
style: _(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
1103
|
+
onClick: o[0] || (o[0] = (a) => ee("tl"))
|
|
1104
|
+
}, k(e.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, Yl)) : h("", !0),
|
|
1105
|
+
e.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(), r("text", {
|
|
1069
1106
|
key: 1,
|
|
1070
1107
|
x: t.value.width,
|
|
1071
1108
|
y: t.value.top - t.value.padding / 2,
|
|
1072
1109
|
"text-anchor": "end",
|
|
1073
1110
|
fill: e.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
1074
1111
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
1075
|
-
style:
|
|
1076
|
-
onClick: o[1] || (o[1] = (a) =>
|
|
1077
|
-
}, k(e.value.style.chart.layout.labels.quadrantLabels.tr.text), 13,
|
|
1078
|
-
e.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(),
|
|
1112
|
+
style: _(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
1113
|
+
onClick: o[1] || (o[1] = (a) => ee("tr"))
|
|
1114
|
+
}, k(e.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, Ml)) : h("", !0),
|
|
1115
|
+
e.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(), r("text", {
|
|
1079
1116
|
key: 2,
|
|
1080
1117
|
x: t.value.width,
|
|
1081
1118
|
y: t.value.bottom + t.value.padding * 0.7,
|
|
1082
1119
|
"text-anchor": "end",
|
|
1083
1120
|
fill: e.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
1084
1121
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
1085
|
-
style:
|
|
1086
|
-
onClick: o[2] || (o[2] = (a) =>
|
|
1087
|
-
}, k(e.value.style.chart.layout.labels.quadrantLabels.br.text), 13,
|
|
1088
|
-
e.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(),
|
|
1122
|
+
style: _(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
1123
|
+
onClick: o[2] || (o[2] = (a) => ee("br"))
|
|
1124
|
+
}, k(e.value.style.chart.layout.labels.quadrantLabels.br.text), 13, Ol)) : h("", !0),
|
|
1125
|
+
e.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(), r("text", {
|
|
1089
1126
|
key: 3,
|
|
1090
1127
|
x: 0,
|
|
1091
1128
|
y: t.value.bottom + t.value.padding * 0.7,
|
|
1092
1129
|
"text-anchor": "start",
|
|
1093
1130
|
fill: e.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
1094
1131
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
1095
|
-
style:
|
|
1096
|
-
onClick: o[3] || (o[3] = (a) =>
|
|
1097
|
-
}, k(e.value.style.chart.layout.labels.quadrantLabels.bl.text), 13,
|
|
1132
|
+
style: _(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
1133
|
+
onClick: o[3] || (o[3] = (a) => ee("bl"))
|
|
1134
|
+
}, k(e.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, Nl)) : h("", !0)
|
|
1098
1135
|
])) : h("", !0),
|
|
1099
|
-
e.value.style.chart.layout.labels.axisLabels.show ? (s(),
|
|
1100
|
-
|
|
1136
|
+
e.value.style.chart.layout.labels.axisLabels.show ? (s(), r("g", Bl, [
|
|
1137
|
+
c("text", {
|
|
1101
1138
|
x: t.value.centerX,
|
|
1102
1139
|
y: t.value.top - t.value.padding / 6,
|
|
1103
1140
|
"text-anchor": "middle",
|
|
1104
1141
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1105
1142
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1106
|
-
}, k(i(
|
|
1143
|
+
}, k(i(V)(
|
|
1107
1144
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
1108
|
-
|
|
1109
|
-
i(
|
|
1110
|
-
v:
|
|
1145
|
+
C.value.y.max,
|
|
1146
|
+
i(D)({
|
|
1147
|
+
v: C.value.y.max,
|
|
1111
1148
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1112
1149
|
})
|
|
1113
|
-
)), 9,
|
|
1114
|
-
|
|
1150
|
+
)), 9, Fl),
|
|
1151
|
+
c("text", {
|
|
1115
1152
|
x: t.value.centerX,
|
|
1116
1153
|
y: t.value.top - t.value.padding / 2,
|
|
1117
1154
|
"text-anchor": "middle",
|
|
1118
1155
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1119
1156
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1120
|
-
}, k(e.value.style.chart.layout.grid.yAxis.name), 9,
|
|
1121
|
-
|
|
1157
|
+
}, k(e.value.style.chart.layout.grid.yAxis.name), 9, Rl),
|
|
1158
|
+
c("text", {
|
|
1122
1159
|
x: t.value.centerX,
|
|
1123
1160
|
y: t.value.bottom + t.value.padding * 0.35,
|
|
1124
1161
|
"text-anchor": "middle",
|
|
1125
1162
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1126
1163
|
fill: e.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1127
|
-
}, k(i(
|
|
1164
|
+
}, k(i(V)(
|
|
1128
1165
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
1129
|
-
|
|
1130
|
-
i(
|
|
1131
|
-
v:
|
|
1166
|
+
C.value.y.min,
|
|
1167
|
+
i(D)({
|
|
1168
|
+
v: C.value.y.min,
|
|
1132
1169
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1133
1170
|
})
|
|
1134
|
-
)), 9,
|
|
1135
|
-
|
|
1171
|
+
)), 9, Pl),
|
|
1172
|
+
c("text", {
|
|
1136
1173
|
id: `xLabelMin_${w.value}`,
|
|
1137
1174
|
"text-anchor": "middle",
|
|
1138
1175
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1139
1176
|
transform: `translate(${t.value.padding - e.value.style.chart.layout.labels.axisLabels.fontSize}, ${t.value.height / 2}), rotate(-90)`,
|
|
1140
1177
|
fill: e.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1141
|
-
}, k(i(
|
|
1178
|
+
}, k(i(V)(
|
|
1142
1179
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
1143
|
-
|
|
1144
|
-
i(
|
|
1145
|
-
v:
|
|
1180
|
+
C.value.x.min,
|
|
1181
|
+
i(D)({
|
|
1182
|
+
v: C.value.x.min,
|
|
1146
1183
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1147
1184
|
})
|
|
1148
|
-
)), 9,
|
|
1149
|
-
|
|
1185
|
+
)), 9, Vl),
|
|
1186
|
+
c("text", {
|
|
1150
1187
|
id: `xLabelMax_${w.value}`,
|
|
1151
1188
|
"text-anchor": "middle",
|
|
1152
1189
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1153
1190
|
transform: `translate(${t.value.width - t.value.padding + e.value.style.chart.layout.labels.axisLabels.fontSize}, ${t.value.height / 2}), rotate(90)`,
|
|
1154
1191
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1155
|
-
}, k(i(
|
|
1192
|
+
}, k(i(V)(
|
|
1156
1193
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
1157
|
-
|
|
1158
|
-
i(
|
|
1159
|
-
v:
|
|
1194
|
+
C.value.x.max,
|
|
1195
|
+
i(D)({
|
|
1196
|
+
v: C.value.x.max,
|
|
1160
1197
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1161
1198
|
})
|
|
1162
|
-
)), 9,
|
|
1163
|
-
|
|
1199
|
+
)), 9, Dl),
|
|
1200
|
+
c("text", {
|
|
1164
1201
|
id: `xLabelMaxName_${w.value}`,
|
|
1165
1202
|
"text-anchor": "middle",
|
|
1166
1203
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1167
1204
|
transform: `translate(${t.value.width - e.value.style.chart.layout.labels.axisLabels.fontSize}, ${t.value.height / 2}), rotate(90)`,
|
|
1168
1205
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1169
|
-
}, k(e.value.style.chart.layout.grid.xAxis.name), 9,
|
|
1206
|
+
}, k(e.value.style.chart.layout.grid.xAxis.name), 9, Hl)
|
|
1170
1207
|
])) : h("", !0),
|
|
1171
|
-
e.value.style.chart.layout.areas.show ? (s(),
|
|
1172
|
-
(s(!0),
|
|
1173
|
-
a.series.length > 2 ? (s(),
|
|
1208
|
+
e.value.style.chart.layout.areas.show ? (s(), r("g", Il, [
|
|
1209
|
+
(s(!0), r(q, null, N(T.value, (a, u) => (s(), r("g", null, [
|
|
1210
|
+
a.series.length > 2 ? (s(), r("polygon", {
|
|
1174
1211
|
key: 0,
|
|
1175
1212
|
"data-cy-quadrant-area": "",
|
|
1176
|
-
fill: e.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${w.value}_${u})` : i(
|
|
1177
|
-
points: i(
|
|
1178
|
-
}, null, 8,
|
|
1213
|
+
fill: e.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${w.value}_${u})` : i(ie)(a.color, e.value.style.chart.layout.areas.opacity),
|
|
1214
|
+
points: i(Jt)(a)
|
|
1215
|
+
}, null, 8, Ul)) : h("", !0)
|
|
1179
1216
|
]))), 256))
|
|
1180
1217
|
])) : h("", !0),
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
onClick: o[4] || (o[4] = (a) =>
|
|
1218
|
+
c("g", null, [
|
|
1219
|
+
c("rect", {
|
|
1220
|
+
onClick: o[4] || (o[4] = (a) => R("TL")),
|
|
1184
1221
|
x: t.value.left,
|
|
1185
1222
|
y: t.value.top,
|
|
1186
1223
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1187
1224
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1188
1225
|
fill: "transparent",
|
|
1189
|
-
class:
|
|
1190
|
-
}, null, 10,
|
|
1191
|
-
|
|
1192
|
-
onClick: o[5] || (o[5] = (a) =>
|
|
1226
|
+
class: X({ "vue-data-ui-zoom-plus": !x.value, "vue-data-ui-zoom-minus": x.value })
|
|
1227
|
+
}, null, 10, El),
|
|
1228
|
+
c("rect", {
|
|
1229
|
+
onClick: o[5] || (o[5] = (a) => R("TR")),
|
|
1193
1230
|
x: t.value.centerX,
|
|
1194
1231
|
y: t.value.top,
|
|
1195
1232
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1196
1233
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1197
1234
|
fill: "transparent",
|
|
1198
|
-
class:
|
|
1199
|
-
}, null, 10,
|
|
1200
|
-
|
|
1201
|
-
onClick: o[6] || (o[6] = (a) =>
|
|
1235
|
+
class: X({ "vue-data-ui-zoom-plus": !x.value, "vue-data-ui-zoom-minus": x.value })
|
|
1236
|
+
}, null, 10, Ql),
|
|
1237
|
+
c("rect", {
|
|
1238
|
+
onClick: o[6] || (o[6] = (a) => R("BR")),
|
|
1202
1239
|
x: t.value.centerX,
|
|
1203
1240
|
y: t.value.centerY,
|
|
1204
1241
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1205
1242
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1206
1243
|
fill: "transparent",
|
|
1207
|
-
class:
|
|
1208
|
-
}, null, 10,
|
|
1209
|
-
|
|
1210
|
-
onClick: o[7] || (o[7] = (a) =>
|
|
1244
|
+
class: X({ "vue-data-ui-zoom-plus": !x.value, "vue-data-ui-zoom-minus": x.value })
|
|
1245
|
+
}, null, 10, Gl),
|
|
1246
|
+
c("rect", {
|
|
1247
|
+
onClick: o[7] || (o[7] = (a) => R("BL")),
|
|
1211
1248
|
x: t.value.left,
|
|
1212
1249
|
y: t.value.centerY,
|
|
1213
1250
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1214
1251
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1215
1252
|
fill: "transparent",
|
|
1216
|
-
class:
|
|
1217
|
-
}, null, 10,
|
|
1253
|
+
class: X({ "vue-data-ui-zoom-plus": !x.value, "vue-data-ui-zoom-minus": x.value })
|
|
1254
|
+
}, null, 10, Jl)
|
|
1218
1255
|
]),
|
|
1219
|
-
e.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(),
|
|
1220
|
-
|
|
1221
|
-
(s(!0),
|
|
1222
|
-
(s(!0),
|
|
1256
|
+
e.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(), r(q, { key: 7 }, [
|
|
1257
|
+
$.value.plotLabels.show ? (s(), r("g", ea, [
|
|
1258
|
+
(s(!0), r(q, null, N(T.value, (a, u) => (s(), r(q, null, [
|
|
1259
|
+
(s(!0), r(q, null, N(a.series, (n) => (s(), r("foreignObject", {
|
|
1223
1260
|
style: { overflow: "visible" },
|
|
1224
1261
|
height: "10",
|
|
1225
1262
|
width: "100",
|
|
1226
|
-
x:
|
|
1227
|
-
y:
|
|
1228
|
-
onMouseover: (b) =>
|
|
1229
|
-
onMouseleave: (b) => Ee(
|
|
1230
|
-
onClick: (b) =>
|
|
1263
|
+
x: n.x - 50,
|
|
1264
|
+
y: n.y - e.value.style.chart.layout.labels.plotLabels.fontSize,
|
|
1265
|
+
onMouseover: (b) => Ue(a, n, u),
|
|
1266
|
+
onMouseleave: (b) => Ee(n, u),
|
|
1267
|
+
onClick: (b) => Qe(a, n, u)
|
|
1231
1268
|
}, [
|
|
1232
|
-
|
|
1233
|
-
style:
|
|
1234
|
-
}, k(
|
|
1235
|
-
], 40,
|
|
1269
|
+
c("div", {
|
|
1270
|
+
style: _(`color:${i(Zt)(a.color)};margin: 0 auto; font-size:${e.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${a.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`)
|
|
1271
|
+
}, k(n.name), 5)
|
|
1272
|
+
], 40, ta))), 256))
|
|
1236
1273
|
], 64))), 256))
|
|
1237
1274
|
])) : h("", !0)
|
|
1238
|
-
], 64)) : (s(),
|
|
1239
|
-
(s(!0),
|
|
1240
|
-
(s(!0),
|
|
1275
|
+
], 64)) : (s(), r(q, { key: 6 }, [
|
|
1276
|
+
(s(!0), r(q, null, N(T.value, (a, u) => (s(), r("g", null, [
|
|
1277
|
+
(s(!0), r(q, null, N(a.series, (n) => (s(), O(it, {
|
|
1241
1278
|
color: a.color,
|
|
1242
|
-
isSelected:
|
|
1243
|
-
plot:
|
|
1244
|
-
radius: e.value.style.chart.layout.plots.radius / (
|
|
1279
|
+
isSelected: ue.value && n.uid === ue.value,
|
|
1280
|
+
plot: n,
|
|
1281
|
+
radius: e.value.style.chart.layout.plots.radius / (x.value ? 1.5 : 1),
|
|
1245
1282
|
shape: a.shape,
|
|
1246
1283
|
stroke: e.value.style.chart.layout.plots.outline ? e.value.style.chart.layout.plots.outlineColor : "none",
|
|
1247
1284
|
strokeWidth: e.value.style.chart.layout.plots.outlineWidth,
|
|
1248
|
-
onMouseenter: (b) =>
|
|
1249
|
-
onMouseleave: (b) => Ee(
|
|
1250
|
-
onClick: (b) =>
|
|
1285
|
+
onMouseenter: (b) => Ue(a, n, u),
|
|
1286
|
+
onMouseleave: (b) => Ee(n, u),
|
|
1287
|
+
onClick: (b) => Qe(a, n, u)
|
|
1251
1288
|
}, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onMouseleave", "onClick"]))), 256))
|
|
1252
1289
|
]))), 256)),
|
|
1253
|
-
|
|
1254
|
-
(s(!0),
|
|
1255
|
-
(s(!0),
|
|
1290
|
+
$.value.plotLabels.show ? (s(), r("g", jl, [
|
|
1291
|
+
(s(!0), r(q, null, N(T.value, (a) => (s(), r("g", null, [
|
|
1292
|
+
(s(!0), r(q, null, N(a.series, (u) => (s(), r("g", null, [
|
|
1256
1293
|
String(u.name).includes(`
|
|
1257
|
-
`) ? (s(),
|
|
1294
|
+
`) ? (s(), r("text", {
|
|
1258
1295
|
key: 1,
|
|
1259
1296
|
x: u.x,
|
|
1260
1297
|
y: u.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius,
|
|
1261
1298
|
"text-anchor": "middle",
|
|
1262
|
-
"font-size": e.value.style.chart.layout.labels.plotLabels.fontSize / (
|
|
1299
|
+
"font-size": e.value.style.chart.layout.labels.plotLabels.fontSize / (x.value ? 1.5 : 1),
|
|
1263
1300
|
fill: e.value.style.chart.layout.labels.plotLabels.color,
|
|
1264
|
-
innerHTML: i(
|
|
1301
|
+
innerHTML: i(jt)({
|
|
1265
1302
|
content: String(u.name),
|
|
1266
|
-
fontSize: e.value.style.chart.layout.labels.plotLabels.fontSize / (
|
|
1303
|
+
fontSize: e.value.style.chart.layout.labels.plotLabels.fontSize / (x.value ? 1.5 : 1),
|
|
1267
1304
|
fill: e.value.style.chart.layout.labels.plotLabels.color,
|
|
1268
1305
|
x: u.x,
|
|
1269
1306
|
y: u.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius
|
|
1270
1307
|
})
|
|
1271
|
-
}, null, 8,
|
|
1308
|
+
}, null, 8, Kl)) : (s(), r("text", {
|
|
1272
1309
|
key: 0,
|
|
1273
1310
|
x: u.x,
|
|
1274
1311
|
y: u.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius,
|
|
1275
1312
|
"text-anchor": "middle",
|
|
1276
|
-
"font-size": e.value.style.chart.layout.labels.plotLabels.fontSize / (
|
|
1313
|
+
"font-size": e.value.style.chart.layout.labels.plotLabels.fontSize / (x.value ? 1.5 : 1),
|
|
1277
1314
|
fill: e.value.style.chart.layout.labels.plotLabels.color
|
|
1278
|
-
}, k(u.name), 9,
|
|
1315
|
+
}, k(u.name), 9, Zl))
|
|
1279
1316
|
]))), 256))
|
|
1280
1317
|
]))), 256))
|
|
1281
1318
|
])) : h("", !0)
|
|
1282
1319
|
], 64)),
|
|
1283
|
-
|
|
1284
|
-
|
|
1320
|
+
x.value ? (s(), r("g", la, [
|
|
1321
|
+
d.value === "TL" ? (s(), r("polygon", {
|
|
1285
1322
|
key: 0,
|
|
1286
1323
|
points: `${t.value.left - 1},${t.value.centerY} ${t.value.centerX},${t.value.centerY} ${t.value.centerX},${t.value.top - 1} ${t.value.right},${t.value.top - 1} ${t.value.right},${t.value.bottom} ${t.value.left - 1},${t.value.bottom} ${t.value.left - 1},${t.value.centerY}`,
|
|
1287
1324
|
fill: e.value.style.chart.backgroundColor,
|
|
1288
1325
|
style: { opacity: "1" }
|
|
1289
|
-
}, null, 8,
|
|
1290
|
-
|
|
1326
|
+
}, null, 8, aa)) : h("", !0),
|
|
1327
|
+
d.value === "TR" ? (s(), r("polygon", {
|
|
1291
1328
|
key: 1,
|
|
1292
1329
|
points: `${t.value.left},${t.value.top - 1} ${t.value.centerX},${t.value.top - 1} ${t.value.centerX},${t.value.centerY} ${t.value.right + 1},${t.value.centerY} ${t.value.right + 1},${t.value.bottom} ${t.value.left},${t.value.bottom} ${t.value.left},${t.value.top - 1}`,
|
|
1293
1330
|
fill: e.value.style.chart.backgroundColor,
|
|
1294
1331
|
style: { opacity: "1" }
|
|
1295
|
-
}, null, 8,
|
|
1296
|
-
|
|
1332
|
+
}, null, 8, oa)) : h("", !0),
|
|
1333
|
+
d.value === "BR" ? (s(), r("polygon", {
|
|
1297
1334
|
key: 2,
|
|
1298
1335
|
points: `${t.value.left},${t.value.top} ${t.value.right + 1},${t.value.top} ${t.value.right + 1},${t.value.centerY} ${t.value.centerX},${t.value.centerY} ${t.value.centerX},${t.value.bottom + 1} ${t.value.left},${t.value.bottom + 1} ${t.value.left},${t.value.top}`,
|
|
1299
1336
|
fill: e.value.style.chart.backgroundColor,
|
|
1300
1337
|
style: { opacity: "1" }
|
|
1301
|
-
}, null, 8,
|
|
1302
|
-
|
|
1338
|
+
}, null, 8, ua)) : h("", !0),
|
|
1339
|
+
d.value === "BL" ? (s(), r("polygon", {
|
|
1303
1340
|
key: 3,
|
|
1304
1341
|
points: `${t.value.left - 1},${t.value.top} ${t.value.right},${t.value.top} ${t.value.right},${t.value.bottom + 1} ${t.value.centerX},${t.value.bottom + 1} ${t.value.centerX},${t.value.centerY} ${t.value.left - 1},${t.value.centerY} ${t.value.left - 1},${t.value.top}`,
|
|
1305
1342
|
fill: e.value.style.chart.backgroundColor,
|
|
1306
1343
|
style: { opacity: "1" }
|
|
1307
|
-
}, null, 8,
|
|
1344
|
+
}, null, 8, sa)) : h("", !0)
|
|
1308
1345
|
])) : h("", !0),
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
x:
|
|
1312
|
-
y:
|
|
1313
|
-
"font-size":
|
|
1314
|
-
fill:
|
|
1346
|
+
d.value && !le.value ? (s(), r("g", na, [
|
|
1347
|
+
c("text", {
|
|
1348
|
+
x: H.value.x,
|
|
1349
|
+
y: H.value.y - H.value.fontSize / 1.5,
|
|
1350
|
+
"font-size": H.value.fontSize / 1.5,
|
|
1351
|
+
fill: H.value.fill,
|
|
1315
1352
|
"text-anchor": "middle",
|
|
1316
|
-
"font-weight":
|
|
1317
|
-
}, k(
|
|
1353
|
+
"font-weight": H.value.bold ? "bold" : "normal"
|
|
1354
|
+
}, k(H.value.text), 9, ra)
|
|
1318
1355
|
])) : h("", !0),
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
x:
|
|
1322
|
-
y:
|
|
1356
|
+
x.value && d.value ? (s(), r("g", ia, [
|
|
1357
|
+
c("rect", {
|
|
1358
|
+
x: S.value[d.value].tl.x,
|
|
1359
|
+
y: S.value[d.value].tl.y,
|
|
1323
1360
|
height: "20",
|
|
1324
1361
|
width: "20",
|
|
1325
|
-
fill:
|
|
1326
|
-
style:
|
|
1327
|
-
onClick: o[8] || (o[8] = (a) =>
|
|
1328
|
-
class:
|
|
1329
|
-
}, null, 14,
|
|
1330
|
-
|
|
1331
|
-
x:
|
|
1332
|
-
y:
|
|
1362
|
+
fill: S.value[d.value].tl.fill,
|
|
1363
|
+
style: _(`cursor: pointer; opacity: ${d.value === "TL" ? 1 : 0.2}`),
|
|
1364
|
+
onClick: o[8] || (o[8] = (a) => R("TL")),
|
|
1365
|
+
class: X({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "TL" })
|
|
1366
|
+
}, null, 14, va),
|
|
1367
|
+
c("rect", {
|
|
1368
|
+
x: S.value[d.value].tr.x,
|
|
1369
|
+
y: S.value[d.value].tr.y,
|
|
1333
1370
|
height: "20",
|
|
1334
1371
|
width: "20",
|
|
1335
|
-
fill:
|
|
1336
|
-
style:
|
|
1337
|
-
onClick: o[9] || (o[9] = (a) =>
|
|
1338
|
-
class:
|
|
1339
|
-
}, null, 14,
|
|
1340
|
-
|
|
1341
|
-
x:
|
|
1342
|
-
y:
|
|
1372
|
+
fill: S.value[d.value].tr.fill,
|
|
1373
|
+
style: _(`cursor: pointer; opacity: ${d.value === "TR" ? 1 : 0.2}`),
|
|
1374
|
+
onClick: o[9] || (o[9] = (a) => R("TR")),
|
|
1375
|
+
class: X({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "TR" })
|
|
1376
|
+
}, null, 14, da),
|
|
1377
|
+
c("rect", {
|
|
1378
|
+
x: S.value[d.value].br.x,
|
|
1379
|
+
y: S.value[d.value].br.y,
|
|
1343
1380
|
height: "20",
|
|
1344
1381
|
width: "20",
|
|
1345
|
-
fill:
|
|
1346
|
-
style:
|
|
1347
|
-
onClick: o[10] || (o[10] = (a) =>
|
|
1348
|
-
class:
|
|
1349
|
-
}, null, 14,
|
|
1350
|
-
|
|
1351
|
-
x:
|
|
1352
|
-
y:
|
|
1382
|
+
fill: S.value[d.value].br.fill,
|
|
1383
|
+
style: _(`cursor: pointer; opacity: ${d.value === "BR" ? 1 : 0.2}`),
|
|
1384
|
+
onClick: o[10] || (o[10] = (a) => R("BR")),
|
|
1385
|
+
class: X({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "BR" })
|
|
1386
|
+
}, null, 14, ca),
|
|
1387
|
+
c("rect", {
|
|
1388
|
+
x: S.value[d.value].bl.x,
|
|
1389
|
+
y: S.value[d.value].bl.y,
|
|
1353
1390
|
height: "20",
|
|
1354
1391
|
width: "20",
|
|
1355
|
-
fill:
|
|
1356
|
-
style:
|
|
1357
|
-
onClick: o[11] || (o[11] = (a) =>
|
|
1358
|
-
class:
|
|
1359
|
-
}, null, 14,
|
|
1360
|
-
|
|
1392
|
+
fill: S.value[d.value].bl.fill,
|
|
1393
|
+
style: _(`cursor: pointer; opacity: ${d.value === "BL" ? 1 : 0.2}`),
|
|
1394
|
+
onClick: o[11] || (o[11] = (a) => R("BL")),
|
|
1395
|
+
class: X({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "BL" })
|
|
1396
|
+
}, null, 14, ha),
|
|
1397
|
+
c("path", {
|
|
1361
1398
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1362
1399
|
stroke: e.value.style.chart.backgroundColor,
|
|
1363
1400
|
"stroke-width": 1,
|
|
1364
|
-
d:
|
|
1365
|
-
}, null, 8,
|
|
1366
|
-
|
|
1401
|
+
d: S.value[d.value].crosshairs.horizontal
|
|
1402
|
+
}, null, 8, ya),
|
|
1403
|
+
c("path", {
|
|
1367
1404
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1368
1405
|
stroke: e.value.style.chart.backgroundColor,
|
|
1369
1406
|
"stroke-width": 1,
|
|
1370
|
-
d:
|
|
1371
|
-
}, null, 8,
|
|
1407
|
+
d: S.value[d.value].crosshairs.vertical
|
|
1408
|
+
}, null, 8, ba)
|
|
1372
1409
|
])) : h("", !0),
|
|
1373
|
-
|
|
1374
|
-
], 14,
|
|
1375
|
-
l.$slots.watermark ? (s(),
|
|
1376
|
-
|
|
1410
|
+
p(l.$slots, "svg", { svg: t.value }, void 0, !0)
|
|
1411
|
+
], 14, ml)),
|
|
1412
|
+
l.$slots.watermark ? (s(), r("div", fa, [
|
|
1413
|
+
p(l.$slots, "watermark", z(A({ isPrinting: i(Ne) || i(Be) })), void 0, !0)
|
|
1377
1414
|
])) : h("", !0),
|
|
1378
|
-
|
|
1415
|
+
c("div", {
|
|
1379
1416
|
id: `legend-bottom-${w.value}`
|
|
1380
|
-
}, null, 8,
|
|
1381
|
-
Ae.value ? (s(),
|
|
1417
|
+
}, null, 8, pa),
|
|
1418
|
+
Ae.value ? (s(), O(Ft, {
|
|
1382
1419
|
key: 5,
|
|
1383
1420
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${w.value}` : `#legend-bottom-${w.value}`
|
|
1384
1421
|
}, [
|
|
1385
|
-
|
|
1422
|
+
c("div", {
|
|
1386
1423
|
ref_key: "chartLegend",
|
|
1387
|
-
ref:
|
|
1424
|
+
ref: Se
|
|
1388
1425
|
}, [
|
|
1389
|
-
e.value.style.chart.legend.show ? (s(),
|
|
1426
|
+
e.value.style.chart.legend.show ? (s(), O(hl, {
|
|
1390
1427
|
key: `legend_${ze.value}`,
|
|
1391
|
-
legendSet:
|
|
1392
|
-
config:
|
|
1393
|
-
onClickMarker: o[12] || (o[12] = ({ legend: a }) =>
|
|
1428
|
+
legendSet: K.value,
|
|
1429
|
+
config: Tt.value,
|
|
1430
|
+
onClickMarker: o[12] || (o[12] = ({ legend: a }) => Z(a.id))
|
|
1394
1431
|
}, {
|
|
1395
|
-
item:
|
|
1396
|
-
i(We) ? h("", !0) : (s(),
|
|
1432
|
+
item: f(({ legend: a }) => [
|
|
1433
|
+
i(We) ? h("", !0) : (s(), r("div", {
|
|
1397
1434
|
key: 0,
|
|
1398
|
-
onClick: (u) =>
|
|
1399
|
-
style:
|
|
1400
|
-
}, k(a.name), 13,
|
|
1435
|
+
onClick: (u) => Z(a.id),
|
|
1436
|
+
style: _(`opacity:${W.value.includes(a.id) ? 0.5 : 1}`)
|
|
1437
|
+
}, k(a.name), 13, ga))
|
|
1401
1438
|
]),
|
|
1402
1439
|
_: 1
|
|
1403
|
-
}, 8, ["legendSet", "config"])) :
|
|
1440
|
+
}, 8, ["legendSet", "config"])) : p(l.$slots, "legend", {
|
|
1404
1441
|
key: 1,
|
|
1405
|
-
legend:
|
|
1442
|
+
legend: K.value
|
|
1406
1443
|
}, void 0, !0)
|
|
1407
1444
|
], 512)
|
|
1408
1445
|
], 8, ["to"])) : h("", !0),
|
|
1409
|
-
l.$slots.source ? (s(),
|
|
1446
|
+
l.$slots.source ? (s(), r("div", {
|
|
1410
1447
|
key: 6,
|
|
1411
1448
|
ref_key: "source",
|
|
1412
|
-
ref:
|
|
1449
|
+
ref: _e,
|
|
1413
1450
|
dir: "auto"
|
|
1414
1451
|
}, [
|
|
1415
|
-
|
|
1452
|
+
p(l.$slots, "source", {}, void 0, !0)
|
|
1416
1453
|
], 512)) : h("", !0),
|
|
1417
|
-
|
|
1418
|
-
show:
|
|
1454
|
+
re(i(ht), {
|
|
1455
|
+
show: $.value.showTooltip && de.value,
|
|
1419
1456
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1420
1457
|
color: e.value.style.chart.tooltip.color,
|
|
1421
1458
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -1425,27 +1462,27 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
1425
1462
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
1426
1463
|
position: e.value.style.chart.tooltip.position,
|
|
1427
1464
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
1428
|
-
parent:
|
|
1429
|
-
content:
|
|
1430
|
-
isFullscreen:
|
|
1465
|
+
parent: Y.value,
|
|
1466
|
+
content: ce.value,
|
|
1467
|
+
isFullscreen: I.value,
|
|
1431
1468
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
|
|
1432
1469
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
1433
1470
|
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
1434
1471
|
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
1435
1472
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
1436
1473
|
}, {
|
|
1437
|
-
"tooltip-before":
|
|
1438
|
-
|
|
1474
|
+
"tooltip-before": f(() => [
|
|
1475
|
+
p(l.$slots, "tooltip-before", z(A({ ...pe.value })), void 0, !0)
|
|
1439
1476
|
]),
|
|
1440
|
-
"tooltip-after":
|
|
1441
|
-
|
|
1477
|
+
"tooltip-after": f(() => [
|
|
1478
|
+
p(l.$slots, "tooltip-after", z(A({ ...pe.value })), void 0, !0)
|
|
1442
1479
|
]),
|
|
1443
|
-
default:
|
|
1444
|
-
e.value.style.chart.tooltip.showShape ? (s(),
|
|
1445
|
-
|
|
1480
|
+
default: f(() => [
|
|
1481
|
+
e.value.style.chart.tooltip.showShape ? (s(), r("svg", ma, [
|
|
1482
|
+
re(it, {
|
|
1446
1483
|
plot: { x: 10, y: 10 },
|
|
1447
|
-
shape:
|
|
1448
|
-
color:
|
|
1484
|
+
shape: se.value.shape,
|
|
1485
|
+
color: se.value.color,
|
|
1449
1486
|
radius: 8,
|
|
1450
1487
|
stroke: e.value.style.chart.layout.plots.outline ? e.value.style.chart.layout.plots.outlineColor : "none",
|
|
1451
1488
|
"stroke-width": e.value.style.chart.layout.plots.outlineWidth
|
|
@@ -1454,29 +1491,29 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
1454
1491
|
]),
|
|
1455
1492
|
_: 3
|
|
1456
1493
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1457
|
-
ke.value && e.value.userOptions.buttons.table ? (s(),
|
|
1494
|
+
ke.value && e.value.userOptions.buttons.table ? (s(), O(Rt(te.value.component), Pt({ key: 7 }, te.value.props, {
|
|
1458
1495
|
ref_key: "tableUnit",
|
|
1459
1496
|
ref: J,
|
|
1460
|
-
onClose:
|
|
1461
|
-
}),
|
|
1462
|
-
content:
|
|
1463
|
-
(s(),
|
|
1497
|
+
onClose: et
|
|
1498
|
+
}), ot({
|
|
1499
|
+
content: f(() => [
|
|
1500
|
+
(s(), O(i(ft), {
|
|
1464
1501
|
key: `table_${Te.value}`,
|
|
1465
|
-
colNames:
|
|
1466
|
-
head:
|
|
1467
|
-
body:
|
|
1468
|
-
config:
|
|
1469
|
-
title: e.value.table.useDialog ? "" :
|
|
1502
|
+
colNames: oe.value.colNames,
|
|
1503
|
+
head: oe.value.head,
|
|
1504
|
+
body: oe.value.body,
|
|
1505
|
+
config: oe.value.config,
|
|
1506
|
+
title: e.value.table.useDialog ? "" : te.value.title,
|
|
1470
1507
|
withCloseButton: !e.value.table.useDialog,
|
|
1471
|
-
onClose:
|
|
1508
|
+
onClose: et
|
|
1472
1509
|
}, {
|
|
1473
|
-
th:
|
|
1474
|
-
|
|
1510
|
+
th: f(({ th: a }) => [
|
|
1511
|
+
ut(k(a), 1)
|
|
1475
1512
|
]),
|
|
1476
|
-
td:
|
|
1477
|
-
|
|
1513
|
+
td: f(({ td: a }) => [
|
|
1514
|
+
c("div", {
|
|
1478
1515
|
innerHTML: a.name || a
|
|
1479
|
-
}, null, 8,
|
|
1516
|
+
}, null, 8, xa)
|
|
1480
1517
|
]),
|
|
1481
1518
|
_: 1
|
|
1482
1519
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -1485,32 +1522,32 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
1485
1522
|
}, [
|
|
1486
1523
|
e.value.table.useDialog ? {
|
|
1487
1524
|
name: "title",
|
|
1488
|
-
fn:
|
|
1489
|
-
|
|
1525
|
+
fn: f(() => [
|
|
1526
|
+
ut(k(te.value.title), 1)
|
|
1490
1527
|
]),
|
|
1491
1528
|
key: "0"
|
|
1492
1529
|
} : void 0,
|
|
1493
1530
|
e.value.table.useDialog ? {
|
|
1494
1531
|
name: "actions",
|
|
1495
|
-
fn:
|
|
1496
|
-
|
|
1532
|
+
fn: f(() => [
|
|
1533
|
+
c("button", {
|
|
1497
1534
|
tabindex: "0",
|
|
1498
1535
|
class: "vue-ui-user-options-button",
|
|
1499
1536
|
onClick: o[13] || (o[13] = (a) => ge(e.value.userOptions.callbacks.csv))
|
|
1500
1537
|
}, [
|
|
1501
|
-
|
|
1538
|
+
re(i(yt), {
|
|
1502
1539
|
name: "excel",
|
|
1503
|
-
stroke:
|
|
1540
|
+
stroke: te.value.props.color
|
|
1504
1541
|
}, null, 8, ["stroke"])
|
|
1505
1542
|
])
|
|
1506
1543
|
]),
|
|
1507
1544
|
key: "1"
|
|
1508
1545
|
} : void 0
|
|
1509
1546
|
]), 1040)) : h("", !0),
|
|
1510
|
-
i(We) ? (s(),
|
|
1511
|
-
], 46,
|
|
1547
|
+
i(We) ? (s(), O(bl, { key: 8 })) : h("", !0)
|
|
1548
|
+
], 46, pl));
|
|
1512
1549
|
}
|
|
1513
|
-
},
|
|
1550
|
+
}, Na = /* @__PURE__ */ fl($a, [["__scopeId", "data-v-b5b8f18b"]]);
|
|
1514
1551
|
export {
|
|
1515
|
-
|
|
1552
|
+
Na as default
|
|
1516
1553
|
};
|