vue-data-ui 3.6.0 → 3.7.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 +26 -26
- package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
- package/dist/{BaseDraggableDialog-DhKIof09.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
- package/dist/{BaseIcon-DLFL0M4-.js → BaseIcon-CofSxalQ.js} +1 -1
- package/dist/{ColorPicker-CjIJvLdc.js → ColorPicker-e1-OSGlQ.js} +10 -10
- package/dist/{DataTable-UCyd_BQI.js → DataTable-CHaOCmsE.js} +2 -2
- package/dist/{Legend-D9ZTJKjh.js → Legend-Web3GjlR.js} +2 -2
- package/dist/{NonSvgPenAndPaper-a2UzZL0y.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
- package/dist/{PackageVersion-D_4Hr4S4.js → PackageVersion-C82JCJOX.js} +1 -1
- package/dist/{PenAndPaper-BJSMejV9.js → PenAndPaper-HCZQTkqi.js} +20 -20
- package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
- package/dist/{Slicer-CJfhtoVn.js → Slicer-BFBBG6xv.js} +23 -23
- package/dist/{SlicerPreview-wXjV4LWO.js → SlicerPreview-D76aSViW.js} +2 -2
- package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
- package/dist/{Title-Bb1VWCtR.js → Title-DfFUb9hd.js} +1 -1
- package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
- package/dist/{UserOptions-BqmUW9Kp.js → UserOptions-B3I-s3Lw.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +3 -3
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +3 -3
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +3 -3
- package/dist/components/vue-ui-candlestick.js +3 -3
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +3 -3
- package/dist/components/vue-ui-chord.js +3 -3
- package/dist/components/vue-ui-circle-pack.js +3 -3
- 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 +2 -2
- package/dist/components/vue-ui-donut.js +3 -3
- package/dist/components/vue-ui-dumbbell.js +3 -3
- package/dist/components/vue-ui-flow.js +3 -3
- package/dist/components/vue-ui-funnel.js +2 -2
- 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 +3 -3
- package/dist/components/vue-ui-horizontal-bar.js +3 -3
- package/dist/components/vue-ui-icon.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 +3 -3
- package/dist/components/vue-ui-mood-radar.js +3 -3
- package/dist/components/vue-ui-nested-donuts.js +2 -2
- package/dist/components/vue-ui-onion.js +3 -3
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +3 -3
- package/dist/components/vue-ui-quick-chart.js +3 -3
- package/dist/components/vue-ui-radar.js +3 -3
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +3 -3
- package/dist/components/vue-ui-ridgeline.js +3 -3
- package/dist/components/vue-ui-rings.js +3 -3
- package/dist/components/vue-ui-scatter.js +3 -3
- 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 +2 -2
- package/dist/components/vue-ui-sparkgauge.js +3 -3
- package/dist/components/vue-ui-sparkhistogram.js +3 -3
- package/dist/components/vue-ui-sparkline.js +3 -3
- package/dist/components/vue-ui-sparkstackbar.js +2 -2
- package/dist/components/vue-ui-stackbar.js +3 -3
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +3 -3
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +2 -2
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +3 -3
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +2 -2
- package/dist/components/vue-ui-treemap.js +3 -3
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +2 -2
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +3 -3
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +3 -3
- package/dist/components/vue-ui-xy.js +3 -3
- package/dist/{dom-to-png--BNgrTZV.js → dom-to-png-CH2DfsJe.js} +1 -1
- package/dist/{img-BecE5qXd.js → img-DUzJeMlr.js} +1 -1
- package/dist/{lib-C_mNZmhD.js → lib-C5BH09_g.js} +111 -110
- package/dist/{pdf-DuG5j3Wv.js → pdf-BSWQncok.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +2 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
- package/dist/{useNestedProp-CIoDlpHu.js → useNestedProp-CWo6bftQ.js} +1 -1
- package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
- package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
- package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
- package/dist/{vue-data-ui-BWuOXu_s.js → vue-data-ui-d-OXgGG3.js} +78 -78
- package/dist/vue-data-ui.js +225 -205
- package/dist/{vue-ui-3d-bar-BNQAuLqF.js → vue-ui-3d-bar-BLbSbx2V.js} +546 -517
- package/dist/{vue-ui-accordion-SSLXLlNz.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
- package/dist/vue-ui-age-pyramid-DQ-xc-if.js +960 -0
- package/dist/{vue-ui-annotator-34Ld0u5M.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
- package/dist/vue-ui-bullet-BvMdxLkK.js +657 -0
- package/dist/{vue-ui-candlestick-BcChw-8c.js → vue-ui-candlestick-DIWeygxV.js} +596 -561
- package/dist/{vue-ui-carousel-table-Cp_od0lI.js → vue-ui-carousel-table-DM2HJFMH.js} +48 -48
- package/dist/{vue-ui-chestnut-DTaIsP72.js → vue-ui-chestnut-DNOG6dqY.js} +534 -505
- package/dist/vue-ui-chord-D2wPt2JV.js +1182 -0
- package/dist/vue-ui-circle-pack-D_GDv7OV.js +832 -0
- package/dist/{vue-ui-cursor-lW-dVs_k.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
- package/dist/{vue-ui-dashboard-DIymn9Cx.js → vue-ui-dashboard-BMby447A.js} +140 -140
- package/dist/{vue-ui-digits-YHA3fA0j.js → vue-ui-digits-D382I0-w.js} +2 -2
- package/dist/{vue-ui-donut-BaDmbWLh.js → vue-ui-donut-BqiNPW3q.js} +634 -602
- package/dist/vue-ui-donut-evolution-BL7HtdsP.js +1243 -0
- package/dist/vue-ui-dumbbell-BlTDnM8L.js +1258 -0
- package/dist/vue-ui-flow-BxIv20FH.js +1026 -0
- package/dist/vue-ui-funnel-Tnjg4srR.js +743 -0
- package/dist/vue-ui-galaxy-CYDVXdNj.js +837 -0
- package/dist/vue-ui-gauge-DAcpazK7.js +864 -0
- package/dist/{vue-ui-gizmo-E33_xZte.js → vue-ui-gizmo-Bg2TpPwm.js} +3 -3
- package/dist/{vue-ui-heatmap-DJXMvFPp.js → vue-ui-heatmap-BPEE_cLi.js} +501 -466
- package/dist/vue-ui-history-plot-BhfbLer8.js +1239 -0
- package/dist/{vue-ui-kpi-C-XuLBVQ.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
- package/dist/{vue-ui-mini-loader-DawncJvl.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
- package/dist/vue-ui-molecule-DnzXYuUi.js +782 -0
- package/dist/vue-ui-mood-radar-CXyQEfeM.js +930 -0
- package/dist/vue-ui-nested-donuts-Dq8JoU5d.js +1454 -0
- package/dist/vue-ui-onion-D0KUHi-Z.js +944 -0
- package/dist/vue-ui-parallel-coordinate-plot-DNc2L4Rg.js +1080 -0
- package/dist/{vue-ui-quadrant-B2bLWyCm.js → vue-ui-quadrant-Cp8loNVN.js} +510 -481
- package/dist/{vue-ui-quick-chart-J_RmCwI_.js → vue-ui-quick-chart-kuTdgAKG.js} +795 -758
- package/dist/vue-ui-radar-x2Ry_IGa.js +1013 -0
- package/dist/{vue-ui-rating-CBS8zaQd.js → vue-ui-rating-DtzmtJwF.js} +26 -26
- package/dist/vue-ui-relation-circle-DbYE9UHq.js +671 -0
- package/dist/vue-ui-ridgeline-yaMl8iIE.js +1302 -0
- package/dist/vue-ui-rings-BowsO9I8.js +884 -0
- package/dist/vue-ui-scatter-C_nz0A4x.js +1619 -0
- package/dist/{vue-ui-skeleton-DsrlMELy.js → vue-ui-skeleton-DdXq2gl1.js} +3 -3
- package/dist/{vue-ui-smiley-P_8WIBDD.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
- package/dist/vue-ui-spark-trend-BLticwHl.js +364 -0
- package/dist/vue-ui-sparkbar-DC2sDr9_.js +381 -0
- package/dist/vue-ui-sparkgauge-BENUfyuR.js +260 -0
- package/dist/vue-ui-sparkhistogram-BY0jsNsc.js +411 -0
- package/dist/vue-ui-sparkline-fS36LGCB.js +549 -0
- package/dist/vue-ui-sparkstackbar-C59ocU83.js +470 -0
- package/dist/vue-ui-stackbar-BtWWtzDp.js +1867 -0
- package/dist/vue-ui-stackline-CsGEHOOr.js +1963 -0
- package/dist/{vue-ui-strip-plot-CTtivaxm.js → vue-ui-strip-plot-n_rEdwkM.js} +343 -314
- package/dist/{vue-ui-table-CHt3AQiq.js → vue-ui-table-Kv2YL5OU.js} +5 -5
- package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
- package/dist/{vue-ui-table-sparkline-D5MckwMl.js → vue-ui-table-sparkline-B8CCAdco.js} +292 -263
- package/dist/vue-ui-thermometer-C1Hr_LrY.js +613 -0
- package/dist/{vue-ui-timer-B-Xa6ALH.js → vue-ui-timer-CmnO99_j.js} +25 -25
- package/dist/vue-ui-tiremarks-DbZbhw6Q.js +477 -0
- package/dist/vue-ui-treemap-BGMpUu5v.js +1359 -0
- package/dist/{vue-ui-vertical-bar-D9XQe_ud.js → vue-ui-vertical-bar-CWlGQoB3.js} +520 -485
- package/dist/{vue-ui-waffle-Bk98w86A.js → vue-ui-waffle-BVVrMghT.js} +376 -347
- package/dist/vue-ui-wheel-B2pFBeKR.js +690 -0
- package/dist/vue-ui-word-cloud-BqKSDn2J.js +904 -0
- package/dist/{vue-ui-world-xOY__pp8.js → vue-ui-world-glj9mQAg.js} +57 -57
- package/dist/vue-ui-xy-BdXV4naK.js +3455 -0
- package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
- package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
- package/package.json +5 -5
- package/dist/themes-DH-N_ePR.js +0 -54
- package/dist/vue-ui-age-pyramid-DsOlpJBh.js +0 -933
- package/dist/vue-ui-bullet-Ci4lO4_W.js +0 -630
- package/dist/vue-ui-chord-BKC--Nbq.js +0 -1153
- package/dist/vue-ui-circle-pack-B3sfU0Vo.js +0 -803
- package/dist/vue-ui-donut-evolution-BqUzmyW2.js +0 -1208
- package/dist/vue-ui-dumbbell-CWKTrzsm.js +0 -1231
- package/dist/vue-ui-flow-SMbuDPdL.js +0 -991
- package/dist/vue-ui-funnel-3fRlMBzq.js +0 -716
- package/dist/vue-ui-galaxy-CFZ1xYD5.js +0 -808
- package/dist/vue-ui-gauge-DJpbjfpL.js +0 -835
- package/dist/vue-ui-history-plot-CvPMx5Lg.js +0 -1204
- package/dist/vue-ui-molecule-CasngKZI.js +0 -753
- package/dist/vue-ui-mood-radar-DGz2TQi4.js +0 -903
- package/dist/vue-ui-nested-donuts-Bjjz2sWG.js +0 -1419
- package/dist/vue-ui-onion-DwTIY6i1.js +0 -915
- package/dist/vue-ui-parallel-coordinate-plot-DedxvtPN.js +0 -1051
- package/dist/vue-ui-radar-D1rz2RnH.js +0 -984
- package/dist/vue-ui-relation-circle-DUfRwwo1.js +0 -641
- package/dist/vue-ui-ridgeline-DKPWMWRc.js +0 -1273
- package/dist/vue-ui-rings-BY0EQGLb.js +0 -855
- package/dist/vue-ui-scatter-ky9p5Pgh.js +0 -1590
- package/dist/vue-ui-spark-trend-DkJn_3FI.js +0 -337
- package/dist/vue-ui-sparkbar-qB1fmgej.js +0 -352
- package/dist/vue-ui-sparkgauge-BezFN_Rc.js +0 -233
- package/dist/vue-ui-sparkhistogram-DGt5b8FR.js +0 -384
- package/dist/vue-ui-sparkline-D7Wx1ejg.js +0 -514
- package/dist/vue-ui-sparkstackbar-DtO7-yim.js +0 -441
- package/dist/vue-ui-stackbar-Dr48I48D.js +0 -1832
- package/dist/vue-ui-stackline-Juns5Yh4.js +0 -1928
- package/dist/vue-ui-table-heatmap-Cn-56b5F.js +0 -282
- package/dist/vue-ui-thermometer-BOidpwAZ.js +0 -584
- package/dist/vue-ui-tiremarks-BsTyVS2P.js +0 -450
- package/dist/vue-ui-treemap-BWTaY91B.js +0 -1330
- package/dist/vue-ui-wheel-nj73b_Dc.js +0 -663
- package/dist/vue-ui-word-cloud-Dcaogr-D.js +0 -875
- package/dist/vue-ui-xy-BT67faLv.js +0 -3424
- package/dist/vue-ui-xy-canvas-BoB7-4QK.js +0 -1564
|
@@ -1,33 +1,50 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { c as nt, t 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
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { _ as
|
|
16
|
-
const
|
|
1
|
+
import { defineAsyncComponent as N, computed as g, ref as b, toRefs as It, watch as xe, shallowRef as ot, onMounted as Ht, onBeforeUnmount as Ut, createElementBlock as n, openBlock as s, unref as i, normalizeStyle as A, normalizeClass as B, createBlock as E, createCommentVNode as h, createElementVNode as d, createVNode as ne, withCtx as f, renderSlot as p, normalizeProps as T, guardReactiveProps as z, createSlots as ut, Fragment as S, renderList as Y, toDisplayString as k, Teleport as Qt, resolveDynamicComponent as Gt, mergeProps as jt, createTextVNode as st, nextTick as rt } from "vue";
|
|
2
|
+
import { c as nt, t as Jt, i as Zt, p as Ce, o as Kt, g as G, j as el, l as tl, ae as ll, a as P, d as R, X as al, s as ie, h as ol, af as ul, U as sl, w as rl, u as nl, q as il, x as vl, R as cl } from "./lib-C5BH09_g.js";
|
|
3
|
+
import { t as dl, u as hl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as bl, a as ke } from "./useNestedProp-CWo6bftQ.js";
|
|
5
|
+
import { u as yl, B as fl } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as pl } from "./usePrinter-DCJzEiS8.js";
|
|
7
|
+
import { u as gl } from "./useSvgExport-DrjCWun4.js";
|
|
8
|
+
import { u as ml } from "./useThemeCheck-DGJ31Vi5.js";
|
|
9
|
+
import { u as xl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
|
+
import { u as Cl } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
+
import kl from "./img-DUzJeMlr.js";
|
|
12
|
+
import $l from "./Title-DfFUb9hd.js";
|
|
13
|
+
import { _ as it } from "./Shape-DE6X_t31.js";
|
|
14
|
+
import Ll from "./Legend-Web3GjlR.js";
|
|
15
|
+
import { _ as wl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const vt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { labels: { quadrantLabels: { tl: { color: "#CCCCCC" }, tr: { color: "#CCCCCC" }, br: { color: "#CCCCCC" }, bl: { color: "#CCCCCC" } }, plotLabels: { color: "#CCCCCC" }, axisLabels: { color: { positive: "#CCCCCC", negative: "#CCCCCC" } } }, grid: { stroke: "#5A5A5A", graduations: { stroke: "#5A5A5A" } }, plots: { outlineColor: "#1A1A1A" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, ct = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { labels: { quadrantLabels: { tl: { color: "#5D4037" }, tr: { color: "#5D4037" }, br: { color: "#5D4037" }, bl: { color: "#5D4037" } }, plotLabels: { color: "#424242" }, axisLabels: { color: { positive: "#757575", negative: "#757575" } } }, grid: { stroke: "#5D403790", graduations: { stroke: "#5D403780", roundingForce: 0, fill: !1 } }, plots: { outlineColor: "#FFF8E1" }, areas: { opacity: 20 } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, dt = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { labels: { quadrantLabels: { tl: { color: "#FF6B6B90" }, tr: { color: "#FF6B6B90" }, br: { color: "#FF6B6B90" }, bl: { color: "#FF6B6B90" } }, plotLabels: { color: "#BDBDBD" }, axisLabels: { color: { positive: "#757575", negative: "#757575" } } }, grid: { stroke: "#5D403790", graduations: { stroke: "#5D403780", roundingForce: 0, fill: !1 } }, plots: { outlineColor: "#1E1E1E" }, areas: { opacity: 20 } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, ht = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { labels: { quadrantLabels: { tl: { color: "#99AA99" }, tr: { color: "#99AA99" }, br: { color: "#99AA99" }, bl: { color: "#99AA99" } }, plotLabels: { color: "#99CC99" }, axisLabels: { color: { positive: "#66CC66", negative: "#66CC66" } } }, grid: { stroke: "#334C33", graduations: { stroke: "#333333", roundingForce: 0, fill: !1 } }, plots: { outlineColor: "#1A1A1A" }, areas: { opacity: 20 } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, bt = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { labels: { quadrantLabels: { tl: { color: "#8A9892" }, tr: { color: "#8A9892" }, br: { color: "#8A9892" }, bl: { color: "#8A9892" } }, plotLabels: { color: "#8A9892" }, axisLabels: { color: { positive: "#99AA99", negative: "#C09E85" } } }, grid: { stroke: "#D2E0DB", graduations: { steps: 2, color: "#D2E0DB", stroke: "#D2E0DB", roundingForce: 256 } }, plots: { outlineColor: "#fbfafa" }, areas: { opacity: 40 } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, yt = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { labels: { quadrantLabels: { tl: { color: "#61747E" }, tr: { color: "#61747E" }, br: { color: "#61747E" }, bl: { color: "#61747E" } }, plotLabels: { color: "#50606C" }, axisLabels: { color: { positive: "#4A6A75", negative: "#7E8F7E" } } }, grid: { stroke: "#9AA7B0", graduations: { color: "#DEE1DE", stroke: "#DEE1DE", roundingForce: 0 } }, plots: { outlineColor: "#fbfafa" }, areas: { opacity: 40 } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, ft = {
|
|
17
|
+
default: {},
|
|
18
|
+
dark: vt,
|
|
19
|
+
celebration: ct,
|
|
20
|
+
celebrationNight: dt,
|
|
21
|
+
hack: ht,
|
|
22
|
+
zen: bt,
|
|
23
|
+
concrete: yt
|
|
24
|
+
}, Ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25
|
+
__proto__: null,
|
|
26
|
+
celebration: ct,
|
|
27
|
+
celebrationNight: dt,
|
|
28
|
+
concrete: yt,
|
|
29
|
+
dark: vt,
|
|
30
|
+
default: ft,
|
|
31
|
+
hack: ht,
|
|
32
|
+
zen: bt
|
|
33
|
+
}, Symbol.toStringTag, { value: "Module" })), Al = ["id"], _l = ["id"], Sl = ["xmlns", "viewBox", "id"], ql = ["x", "y", "width", "height"], Tl = ["id"], zl = ["stop-color"], Fl = ["stop-color"], Bl = { key: 1 }, Wl = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], Xl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Dl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], El = { key: 2 }, Yl = ["points", "fill"], Ol = ["points", "fill"], Ml = ["points", "fill"], Nl = ["points", "fill"], Pl = { key: 3 }, Rl = ["y", "fill", "font-size"], Vl = ["x", "y", "fill", "font-size"], Il = ["x", "y", "fill", "font-size"], Hl = ["y", "fill", "font-size"], Ul = { key: 4 }, Ql = ["x", "y", "font-size", "fill"], Gl = ["x", "y", "font-size", "fill"], jl = ["x", "y", "font-size", "fill"], Jl = ["id", "font-size", "transform", "fill"], Zl = ["id", "font-size", "transform", "fill"], Kl = ["id", "font-size", "transform", "fill"], ea = { key: 5 }, ta = ["fill", "points"], la = ["x", "y", "width", "height"], aa = ["x", "y", "width", "height"], oa = ["x", "y", "width", "height"], ua = ["x", "y", "width", "height"], sa = {
|
|
17
34
|
key: 0,
|
|
18
35
|
style: { "pointer-events": "none" }
|
|
19
|
-
},
|
|
36
|
+
}, ra = ["x", "y", "font-size", "fill"], na = ["x", "y", "font-size", "fill", "innerHTML"], ia = { key: 0 }, va = ["x", "y", "onMouseover", "onMouseleave", "onClick"], ca = {
|
|
20
37
|
key: 8,
|
|
21
38
|
class: "vue-ui-dna"
|
|
22
|
-
},
|
|
39
|
+
}, da = ["points", "fill"], ha = ["points", "fill"], ba = ["points", "fill"], ya = ["points", "fill"], fa = { key: 9 }, pa = ["x", "y", "font-size", "fill", "font-weight"], ga = { key: 10 }, ma = ["x", "y", "fill"], xa = ["x", "y", "fill"], Ca = ["x", "y", "fill"], ka = ["x", "y", "fill"], $a = ["stroke", "d"], La = ["stroke", "d"], wa = {
|
|
23
40
|
key: 4,
|
|
24
41
|
class: "vue-data-ui-watermark"
|
|
25
|
-
},
|
|
42
|
+
}, Aa = ["id"], _a = ["onClick"], Sa = {
|
|
26
43
|
key: 0,
|
|
27
44
|
height: "14",
|
|
28
45
|
width: "14",
|
|
29
46
|
viewBox: "0 0 20 20"
|
|
30
|
-
},
|
|
47
|
+
}, qa = ["innerHTML"], Ta = {
|
|
31
48
|
__name: "vue-ui-quadrant",
|
|
32
49
|
props: {
|
|
33
50
|
config: {
|
|
@@ -44,14 +61,14 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
44
61
|
}
|
|
45
62
|
},
|
|
46
63
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
47
|
-
setup(
|
|
48
|
-
const
|
|
49
|
-
...
|
|
64
|
+
setup(pt, { expose: gt, emit: mt }) {
|
|
65
|
+
const xt = N(() => import("./Tooltip-WD0Ros6G.js")), Ct = N(() => import("./BaseIcon-CofSxalQ.js")), kt = N(() => import("./vue-ui-accordion-DSdZUn2C.js")), $t = N(() => import("./DataTable-CHaOCmsE.js")), Lt = N(() => import("./PenAndPaper-HCZQTkqi.js")), wt = N(() => import("./UserOptions-B3I-s3Lw.js")), At = N(() => import("./PackageVersion-C82JCJOX.js")), _t = N(() => import("./BaseDraggableDialog-CRF94NJQ.js")), { vue_ui_quadrant: St } = bl(), { isThemeValid: qt, warnInvalidTheme: Tt } = ml(), W = pt, $e = g(() => !!W.dataset && W.dataset.length), L = b(nt()), ve = mt, ce = b(!1), de = b(""), Le = b(0), x = b(!1), X = b(null), we = b(null), Ae = b(null), _e = b(null), Se = b(null), qe = b(0), Te = b(0), ze = b(0), Fe = b(!1), j = b(null), he = b(null), e = b(fe()), { loading: Be, FINAL_DATASET: We } = yl({
|
|
66
|
+
...It(W),
|
|
50
67
|
FINAL_CONFIG: e,
|
|
51
68
|
prepareConfig: fe,
|
|
52
69
|
callback: () => {
|
|
53
70
|
Promise.resolve().then(async () => {
|
|
54
|
-
await
|
|
71
|
+
await rt(), C.value.showTable = e.value.table.show;
|
|
55
72
|
});
|
|
56
73
|
},
|
|
57
74
|
skeletonDataset: [
|
|
@@ -76,7 +93,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
76
93
|
]
|
|
77
94
|
}
|
|
78
95
|
],
|
|
79
|
-
skeletonConfig:
|
|
96
|
+
skeletonConfig: Jt({
|
|
80
97
|
defaultConfig: e.value,
|
|
81
98
|
userConfig: {
|
|
82
99
|
userOptions: { show: !1 },
|
|
@@ -114,42 +131,49 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
114
131
|
}
|
|
115
132
|
}
|
|
116
133
|
})
|
|
117
|
-
}), { userOptionsVisible:
|
|
134
|
+
}), { userOptionsVisible: be, setUserOptionsVisibility: Xe, keepUserOptionState: De } = xl({ config: e.value }), { svgRef: ye } = Cl({ config: e.value.style.chart.title });
|
|
118
135
|
function fe() {
|
|
119
|
-
const l =
|
|
120
|
-
userConfig:
|
|
121
|
-
defaultConfig:
|
|
136
|
+
const l = ke({
|
|
137
|
+
userConfig: W.config,
|
|
138
|
+
defaultConfig: St
|
|
139
|
+
}), o = l.theme;
|
|
140
|
+
if (!o) return l;
|
|
141
|
+
if (!qt.value(l))
|
|
142
|
+
return Tt(l), l;
|
|
143
|
+
const a = ke({
|
|
144
|
+
userConfig: ft[o] || W.config,
|
|
145
|
+
defaultConfig: l
|
|
146
|
+
}), u = ke({
|
|
147
|
+
userConfig: W.config,
|
|
148
|
+
defaultConfig: a
|
|
122
149
|
});
|
|
123
|
-
return
|
|
124
|
-
...
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}),
|
|
128
|
-
customPalette: Dt[l.theme] || $e
|
|
129
|
-
} : l;
|
|
150
|
+
return {
|
|
151
|
+
...u,
|
|
152
|
+
customPalette: u.customPalette.length ? u.customPalette : Zt[o] || Ce
|
|
153
|
+
};
|
|
130
154
|
}
|
|
131
|
-
xe(() =>
|
|
132
|
-
e.value = fe(),
|
|
155
|
+
xe(() => W.config, (l) => {
|
|
156
|
+
e.value = fe(), be.value = !e.value.userOptions.showOnChartHover, Ee(), qe.value += 1, Te.value += 1, ze.value += 1, C.value.plotLabels.show = e.value.style.chart.layout.labels.plotLabels.show, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
133
157
|
}, { deep: !0 });
|
|
134
|
-
const
|
|
135
|
-
function
|
|
136
|
-
if (
|
|
158
|
+
const O = ot(null), H = ot(null), U = g(() => e.value.debug);
|
|
159
|
+
function Ee() {
|
|
160
|
+
if (Kt(W.dataset) ? G({
|
|
137
161
|
componentName: "VueUiQuadrant",
|
|
138
162
|
type: "dataset",
|
|
139
|
-
debug:
|
|
140
|
-
}) :
|
|
163
|
+
debug: U.value
|
|
164
|
+
}) : W.dataset.forEach((l, o) => {
|
|
141
165
|
[null, void 0].includes(l.name) && G({
|
|
142
166
|
componentName: "VueUiQuadrant",
|
|
143
167
|
type: "datasetSerieAttribute",
|
|
144
168
|
property: "name",
|
|
145
169
|
index: o,
|
|
146
|
-
debug:
|
|
170
|
+
debug: U.value
|
|
147
171
|
}), [null, void 0].includes(l.series) ? G({
|
|
148
172
|
componentName: "VueUiQuadrant",
|
|
149
173
|
type: "datasetSerieAttribute",
|
|
150
174
|
property: "series",
|
|
151
175
|
index: o,
|
|
152
|
-
debug:
|
|
176
|
+
debug: U.value
|
|
153
177
|
}) : l.series.forEach((a, u) => {
|
|
154
178
|
[null, void 0].includes(a.name) && G({
|
|
155
179
|
componentName: "VueUiQuadrant",
|
|
@@ -157,53 +181,53 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
157
181
|
property: "name",
|
|
158
182
|
key: "series",
|
|
159
183
|
index: u,
|
|
160
|
-
debug:
|
|
184
|
+
debug: U.value
|
|
161
185
|
});
|
|
162
186
|
});
|
|
163
187
|
}), e.value.responsive) {
|
|
164
|
-
const l =
|
|
165
|
-
const { width: o, height: a } =
|
|
166
|
-
chart:
|
|
188
|
+
const l = dl(() => {
|
|
189
|
+
const { width: o, height: a } = hl({
|
|
190
|
+
chart: X.value,
|
|
167
191
|
title: e.value.style.chart.title.text ? we.value : null,
|
|
168
|
-
legend: e.value.style.chart.legend.show ?
|
|
192
|
+
legend: e.value.style.chart.legend.show ? Ae.value : null,
|
|
169
193
|
source: _e.value,
|
|
170
|
-
noTitle:
|
|
194
|
+
noTitle: Se.value
|
|
171
195
|
});
|
|
172
|
-
|
|
173
|
-
t.value.height = a, t.value.usableHeight = a -
|
|
196
|
+
$.value = 48, requestAnimationFrame(() => {
|
|
197
|
+
t.value.height = a, t.value.usableHeight = a - $.value * 2, t.value.width = o, t.value.usableWidth = o - $.value * 2, t.value.top = $.value, t.value.left = $.value, t.value.right = o - $.value, t.value.bottom = a - $.value, t.value.centerX = o / 2, t.value.centerY = a - a / 2, t.value.padding = $.value;
|
|
174
198
|
});
|
|
175
199
|
});
|
|
176
|
-
|
|
200
|
+
O.value && (H.value && O.value.unobserve(H.value), O.value.disconnect()), O.value = new ResizeObserver(l), H.value = X.value.parentNode, O.value.observe(H.value);
|
|
177
201
|
}
|
|
178
202
|
}
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
}),
|
|
182
|
-
|
|
203
|
+
Ht(() => {
|
|
204
|
+
Fe.value = !0, Ee();
|
|
205
|
+
}), Ut(() => {
|
|
206
|
+
O.value && (H.value && O.value.unobserve(H.value), O.value.disconnect());
|
|
183
207
|
});
|
|
184
|
-
const { isPrinting:
|
|
185
|
-
elementId: `vue-ui-quadrant_${
|
|
208
|
+
const { isPrinting: Ye, isImaging: Oe, generatePdf: Me, generateImage: Ne } = pl({
|
|
209
|
+
elementId: `vue-ui-quadrant_${L.value}`,
|
|
186
210
|
fileName: e.value.style.chart.title.text || "vue-ui-quadrant",
|
|
187
211
|
options: e.value.userOptions.print
|
|
188
|
-
}),
|
|
212
|
+
}), zt = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), Pe = g(() => el(e.value.customPalette)), C = b({
|
|
189
213
|
plotLabels: {
|
|
190
214
|
show: e.value.style.chart.layout.labels.plotLabels.show
|
|
191
215
|
},
|
|
192
216
|
showTable: e.value.table.show,
|
|
193
217
|
showTooltip: e.value.style.chart.tooltip.show
|
|
194
|
-
}),
|
|
218
|
+
}), $ = b(48), t = b({
|
|
195
219
|
height: e.value.style.chart.height,
|
|
196
|
-
usableHeight: e.value.style.chart.height -
|
|
220
|
+
usableHeight: e.value.style.chart.height - $.value * 2,
|
|
197
221
|
width: e.value.style.chart.width,
|
|
198
|
-
usableWidth: e.value.style.chart.width -
|
|
199
|
-
top:
|
|
200
|
-
left:
|
|
201
|
-
right: e.value.style.chart.width -
|
|
202
|
-
bottom: e.value.style.chart.height -
|
|
222
|
+
usableWidth: e.value.style.chart.width - $.value * 2,
|
|
223
|
+
top: $.value,
|
|
224
|
+
left: $.value,
|
|
225
|
+
right: e.value.style.chart.width - $.value,
|
|
226
|
+
bottom: e.value.style.chart.height - $.value,
|
|
203
227
|
centerX: e.value.style.chart.width / 2,
|
|
204
228
|
centerY: e.value.style.chart.height - e.value.style.chart.height / 2,
|
|
205
|
-
padding:
|
|
206
|
-
}), v =
|
|
229
|
+
padding: $.value
|
|
230
|
+
}), v = b({
|
|
207
231
|
...JSON.parse(JSON.stringify(t.value)),
|
|
208
232
|
startX: 0,
|
|
209
233
|
startY: 0
|
|
@@ -215,8 +239,8 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
215
239
|
startY: 0
|
|
216
240
|
});
|
|
217
241
|
}, { deep: !0 });
|
|
218
|
-
const
|
|
219
|
-
switch (
|
|
242
|
+
const c = b(null), V = g(() => {
|
|
243
|
+
switch (c.value) {
|
|
220
244
|
case "TL":
|
|
221
245
|
return {
|
|
222
246
|
x: v.value.startX + v.value.width / 2,
|
|
@@ -256,34 +280,34 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
256
280
|
default:
|
|
257
281
|
return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
|
|
258
282
|
}
|
|
259
|
-
}),
|
|
260
|
-
function
|
|
261
|
-
|
|
262
|
-
const
|
|
283
|
+
}), Ft = b(null), le = b(!1);
|
|
284
|
+
function J({ targetX: l, targetY: o, targetW: a, targetH: u, side: r }) {
|
|
285
|
+
c.value && ee(r);
|
|
286
|
+
const y = {
|
|
263
287
|
x: l - v.value.startX,
|
|
264
288
|
y: o - v.value.startY,
|
|
265
289
|
w: a - v.value.width,
|
|
266
290
|
h: u - v.value.height
|
|
267
291
|
}, m = e.value.zoomAnimationFrames;
|
|
268
|
-
let
|
|
269
|
-
function
|
|
270
|
-
le.value = !0, v.value.startX +=
|
|
292
|
+
let D = 0;
|
|
293
|
+
function at() {
|
|
294
|
+
le.value = !0, v.value.startX += y.x / m, v.value.startY += y.y / m, v.value.width += y.w / m, v.value.height += y.h / m, D += 1, D < m ? Ft.value = requestAnimationFrame(at) : le.value = !1;
|
|
271
295
|
}
|
|
272
|
-
|
|
296
|
+
at();
|
|
273
297
|
}
|
|
274
|
-
function
|
|
298
|
+
function M(l) {
|
|
275
299
|
if (!le.value)
|
|
276
|
-
if (x.value &&
|
|
277
|
-
|
|
300
|
+
if (x.value && c.value === l)
|
|
301
|
+
J({
|
|
278
302
|
targetX: 0,
|
|
279
303
|
targetY: 0,
|
|
280
304
|
targetW: t.value.width,
|
|
281
305
|
targetH: t.value.height
|
|
282
|
-
}),
|
|
306
|
+
}), c.value = null, x.value = !1;
|
|
283
307
|
else {
|
|
284
|
-
switch (
|
|
308
|
+
switch (c.value = l, l) {
|
|
285
309
|
case "TL":
|
|
286
|
-
|
|
310
|
+
J({
|
|
287
311
|
targetX: 0,
|
|
288
312
|
targetY: 0,
|
|
289
313
|
targetW: t.value.width / 2 + t.value.left,
|
|
@@ -292,7 +316,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
292
316
|
});
|
|
293
317
|
break;
|
|
294
318
|
case "TR":
|
|
295
|
-
|
|
319
|
+
J({
|
|
296
320
|
targetX: t.value.width / 2 - t.value.left,
|
|
297
321
|
targetY: 0,
|
|
298
322
|
targetW: t.value.width / 2 + t.value.left,
|
|
@@ -301,7 +325,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
301
325
|
});
|
|
302
326
|
break;
|
|
303
327
|
case "BR":
|
|
304
|
-
|
|
328
|
+
J({
|
|
305
329
|
targetX: t.value.width / 2 - t.value.left,
|
|
306
330
|
targetY: t.value.height / 2 - t.value.top,
|
|
307
331
|
targetW: t.value.width / 2 + t.value.left,
|
|
@@ -310,7 +334,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
310
334
|
});
|
|
311
335
|
break;
|
|
312
336
|
case "BL":
|
|
313
|
-
|
|
337
|
+
J({
|
|
314
338
|
targetX: 0,
|
|
315
339
|
targetY: t.value.height / 2 - t.value.top,
|
|
316
340
|
targetW: t.value.width / 2 + t.value.left,
|
|
@@ -325,20 +349,20 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
325
349
|
x.value = !0;
|
|
326
350
|
}
|
|
327
351
|
}
|
|
328
|
-
const
|
|
352
|
+
const Bt = g(() => {
|
|
329
353
|
const l = e.value.style.chart.layout.grid.graduations.steps, o = t.value.usableWidth / (l * 2), a = t.value.top, u = [];
|
|
330
|
-
for (let
|
|
354
|
+
for (let r = 0; r < l; r += 1)
|
|
331
355
|
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((
|
|
356
|
+
x: t.value.padding + o * r,
|
|
357
|
+
y: a + t.value.usableHeight * (r / l / 2),
|
|
358
|
+
height: t.value.usableHeight * (1 - r / l),
|
|
359
|
+
width: t.value.usableWidth * (1 - r / l),
|
|
360
|
+
opacity: Math.round((r + 1) / l * 20)
|
|
337
361
|
});
|
|
338
362
|
return u;
|
|
339
|
-
}),
|
|
363
|
+
}), _ = g(() => {
|
|
340
364
|
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(...Q.value.flatMap((
|
|
365
|
+
return e.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...Q.value.flatMap((r) => r.series.map((y) => y.x))), o = Math.min(...Q.value.flatMap((r) => r.series.map((y) => y.x)))), e.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...Q.value.flatMap((r) => r.series.map((y) => y.y))), u = Math.min(...Q.value.flatMap((r) => r.series.map((y) => y.y)))), {
|
|
342
366
|
x: {
|
|
343
367
|
max: l,
|
|
344
368
|
min: o
|
|
@@ -348,29 +372,29 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
348
372
|
min: u
|
|
349
373
|
}
|
|
350
374
|
};
|
|
351
|
-
}),
|
|
375
|
+
}), F = b([]), Q = g(() => We.value.map((l, o) => ({
|
|
352
376
|
...l,
|
|
353
|
-
series:
|
|
377
|
+
series: ll({
|
|
354
378
|
data: l.series,
|
|
355
379
|
threshold: e.value.downsample.threshold
|
|
356
380
|
}),
|
|
357
|
-
id: `cat_${o}_${
|
|
358
|
-
color:
|
|
359
|
-
}))),
|
|
381
|
+
id: `cat_${o}_${L.value}`,
|
|
382
|
+
color: tl(l.color) || Pe.value[o] || Ce[o]
|
|
383
|
+
}))), Wt = g(() => Q.value.filter((l) => !F.value.includes(l.id))), Xt = g(() => Q.value.map((l, o) => ({
|
|
360
384
|
...l,
|
|
361
385
|
shape: l.shape || "circle",
|
|
362
386
|
series: l.series.map((a) => ({
|
|
363
387
|
...a,
|
|
364
|
-
x:
|
|
365
|
-
y:
|
|
388
|
+
x: Re(a.x),
|
|
389
|
+
y: Ve(a.y),
|
|
366
390
|
xValue: a.x,
|
|
367
391
|
yValue: a.y,
|
|
368
|
-
quadrantSide:
|
|
392
|
+
quadrantSide: He({ x: a.x, y: a.y }),
|
|
369
393
|
categoryName: l.name,
|
|
370
394
|
shape: l.shape,
|
|
371
395
|
color: l.color
|
|
372
396
|
}))
|
|
373
|
-
}))),
|
|
397
|
+
}))), q = g(() => (We.value.forEach((l, o) => {
|
|
374
398
|
l.series.forEach((a, u) => {
|
|
375
399
|
[null, void 0].includes(a.x) && G({
|
|
376
400
|
componentName: "VueUiQuadrant",
|
|
@@ -378,66 +402,66 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
378
402
|
property: "x",
|
|
379
403
|
key: "series",
|
|
380
404
|
index: u,
|
|
381
|
-
debug:
|
|
405
|
+
debug: U.value
|
|
382
406
|
}), [null, void 0].includes(a.y) && G({
|
|
383
407
|
componentName: "VueUiQuadrant",
|
|
384
408
|
type: "datasetSerieAttribute",
|
|
385
409
|
property: "y",
|
|
386
410
|
key: "series",
|
|
387
411
|
index: u,
|
|
388
|
-
debug:
|
|
412
|
+
debug: U.value
|
|
389
413
|
});
|
|
390
414
|
});
|
|
391
|
-
}),
|
|
415
|
+
}), Wt.value.map((l, o) => ({
|
|
392
416
|
...l,
|
|
393
417
|
shape: l.shape || "circle",
|
|
394
|
-
color: l.color || Pe.value[o] ||
|
|
418
|
+
color: l.color || Pe.value[o] || Ce[o],
|
|
395
419
|
series: l.series.map((a) => ({
|
|
396
420
|
...a,
|
|
397
|
-
x:
|
|
398
|
-
y:
|
|
421
|
+
x: Re(a.x),
|
|
422
|
+
y: Ve(a.y),
|
|
399
423
|
xValue: a.x,
|
|
400
424
|
yValue: a.y,
|
|
401
|
-
quadrantSide:
|
|
425
|
+
quadrantSide: He({ x: a.x, y: a.y }),
|
|
402
426
|
categoryName: l.name,
|
|
403
427
|
shape: l.shape,
|
|
404
428
|
color: l.color,
|
|
405
429
|
uid: nt()
|
|
406
430
|
}))
|
|
407
431
|
}))));
|
|
408
|
-
function
|
|
432
|
+
function Re(l) {
|
|
409
433
|
if (l >= 0) {
|
|
410
|
-
const o = l /
|
|
434
|
+
const o = l / _.value.x.max;
|
|
411
435
|
return t.value.centerX + t.value.usableWidth / 2 * o;
|
|
412
436
|
} else {
|
|
413
|
-
const o = Math.abs(l) / Math.abs(
|
|
437
|
+
const o = Math.abs(l) / Math.abs(_.value.x.min);
|
|
414
438
|
return t.value.centerX - t.value.usableWidth / 2 * o;
|
|
415
439
|
}
|
|
416
440
|
}
|
|
417
|
-
function
|
|
441
|
+
function Ve(l) {
|
|
418
442
|
if (l >= 0) {
|
|
419
|
-
const o = l /
|
|
443
|
+
const o = l / _.value.y.max;
|
|
420
444
|
return t.value.centerY + (1 - t.value.usableHeight / 2 * o);
|
|
421
445
|
} else {
|
|
422
|
-
const o = Math.abs(l) / Math.abs(
|
|
446
|
+
const o = Math.abs(l) / Math.abs(_.value.y.min);
|
|
423
447
|
return t.value.centerY - (1 - t.value.usableHeight / 2 * o);
|
|
424
448
|
}
|
|
425
449
|
}
|
|
426
450
|
const ae = g(() => {
|
|
427
|
-
const l =
|
|
428
|
-
x:
|
|
429
|
-
y:
|
|
430
|
-
name:
|
|
431
|
-
category:
|
|
432
|
-
quadrantSide:
|
|
433
|
-
sideName: e.value.style.chart.layout.labels.quadrantLabels[
|
|
451
|
+
const l = q.value.flatMap((m) => m.series.map((D) => ({
|
|
452
|
+
x: D.xValue,
|
|
453
|
+
y: D.yValue,
|
|
454
|
+
name: D.name,
|
|
455
|
+
category: D.categoryName,
|
|
456
|
+
quadrantSide: D.quadrantSide,
|
|
457
|
+
sideName: e.value.style.chart.layout.labels.quadrantLabels[D.quadrantSide].text,
|
|
434
458
|
color: m.color,
|
|
435
459
|
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],
|
|
460
|
+
}))), 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], r = l.map((m) => [m.category, m.name, m.x, m.y, m.sideName || m.quadrantSide]), y = l.map((m) => ({
|
|
437
461
|
shape: m.shape,
|
|
438
462
|
color: m.color
|
|
439
463
|
}));
|
|
440
|
-
return { head: u, body:
|
|
464
|
+
return { head: u, body: r, itsShapes: y, tableData: l };
|
|
441
465
|
}), oe = g(() => {
|
|
442
466
|
const l = ae.value.head, o = ae.value.tableData.map((u) => [
|
|
443
467
|
{
|
|
@@ -446,18 +470,18 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
446
470
|
name: u.category
|
|
447
471
|
},
|
|
448
472
|
u.name,
|
|
449
|
-
|
|
473
|
+
P(
|
|
450
474
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
451
475
|
u.x,
|
|
452
|
-
|
|
476
|
+
R({
|
|
453
477
|
v: u.x,
|
|
454
478
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
455
479
|
})
|
|
456
480
|
),
|
|
457
|
-
|
|
481
|
+
P(
|
|
458
482
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
459
483
|
u.y,
|
|
460
|
-
|
|
484
|
+
R({
|
|
461
485
|
v: u.y,
|
|
462
486
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
463
487
|
})
|
|
@@ -479,34 +503,34 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
479
503
|
return { head: l, body: o, config: a, colNames: l };
|
|
480
504
|
});
|
|
481
505
|
function Z(l) {
|
|
482
|
-
|
|
483
|
-
const o =
|
|
506
|
+
F.value.includes(l) ? F.value = F.value.filter((a) => a !== l) : F.value.push(l);
|
|
507
|
+
const o = je();
|
|
484
508
|
ve("selectLegend", o);
|
|
485
509
|
}
|
|
486
|
-
const K = g(() =>
|
|
510
|
+
const K = g(() => Xt.value.map((l) => ({
|
|
487
511
|
name: l.name,
|
|
488
512
|
shape: l.shape,
|
|
489
513
|
color: l.color,
|
|
490
514
|
id: l.id,
|
|
491
|
-
opacity:
|
|
515
|
+
opacity: F.value.includes(l.id) ? 0.5 : 1,
|
|
492
516
|
segregate: () => Z(l.id),
|
|
493
|
-
isSegregated:
|
|
517
|
+
isSegregated: F.value.includes(l.id)
|
|
494
518
|
})));
|
|
495
|
-
function
|
|
519
|
+
function Ie(l) {
|
|
496
520
|
if (!K.value.length)
|
|
497
521
|
return e.value.debug && console.warn("VueUiQuadrant - There are no series to show."), null;
|
|
498
522
|
const o = K.value.find((a) => a.name === l);
|
|
499
523
|
return o || (e.value.debug && console.warn(`VueUiQuadrant - Series name not found "${l}"`), null);
|
|
500
524
|
}
|
|
501
|
-
function
|
|
502
|
-
const o =
|
|
503
|
-
o !== null &&
|
|
525
|
+
function Dt(l) {
|
|
526
|
+
const o = Ie(l);
|
|
527
|
+
o !== null && F.value.includes(o.id) && Z(o.id);
|
|
504
528
|
}
|
|
505
|
-
function
|
|
506
|
-
const o =
|
|
507
|
-
o !== null && (
|
|
529
|
+
function Et(l) {
|
|
530
|
+
const o = Ie(l);
|
|
531
|
+
o !== null && (F.value.includes(o.id) || Z(o.id));
|
|
508
532
|
}
|
|
509
|
-
const
|
|
533
|
+
const Yt = g(() => ({
|
|
510
534
|
cy: "quadrant-div-legend",
|
|
511
535
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
512
536
|
color: e.value.style.chart.legend.color,
|
|
@@ -514,7 +538,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
514
538
|
paddingBottom: 12,
|
|
515
539
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
516
540
|
}));
|
|
517
|
-
function
|
|
541
|
+
function He(l) {
|
|
518
542
|
switch (!0) {
|
|
519
543
|
case (l.x >= 0 && l.y >= 0):
|
|
520
544
|
return "tr";
|
|
@@ -528,7 +552,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
528
552
|
return "";
|
|
529
553
|
}
|
|
530
554
|
}
|
|
531
|
-
const ue =
|
|
555
|
+
const ue = b(null), se = b(null), pe = b(null);
|
|
532
556
|
function Ue(l, o, a) {
|
|
533
557
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: o, seriesIndex: a }), ue.value = o.uid, se.value = {
|
|
534
558
|
color: l.color,
|
|
@@ -536,47 +560,47 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
536
560
|
}, pe.value = {
|
|
537
561
|
datapoint: o,
|
|
538
562
|
seriesIndex: a,
|
|
539
|
-
series:
|
|
563
|
+
series: q.value,
|
|
540
564
|
config: e.value
|
|
541
|
-
},
|
|
565
|
+
}, ce.value = !0;
|
|
542
566
|
const u = e.value.style.chart.tooltip.customFormat;
|
|
543
|
-
if (
|
|
567
|
+
if (vl(u) && cl(() => u({
|
|
544
568
|
seriesIndex: a,
|
|
545
569
|
datapoint: o,
|
|
546
|
-
series:
|
|
570
|
+
series: q.value,
|
|
547
571
|
config: e.value
|
|
548
572
|
})))
|
|
549
|
-
|
|
573
|
+
de.value = u({
|
|
550
574
|
seriesIndex: a,
|
|
551
575
|
datapoint: o,
|
|
552
|
-
series:
|
|
576
|
+
series: q.value,
|
|
553
577
|
config: e.value
|
|
554
578
|
});
|
|
555
579
|
else {
|
|
556
|
-
let
|
|
557
|
-
o.quadrantSide && (
|
|
580
|
+
let r = "";
|
|
581
|
+
o.quadrantSide && (r += `<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>`), r += `<div>${l.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px">${o.name}</div>`, r += `<div>${e.value.style.chart.layout.grid.xAxis.name ? e.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${P(
|
|
558
582
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
559
583
|
o.xValue,
|
|
560
|
-
|
|
584
|
+
R({
|
|
561
585
|
v: o.xValue,
|
|
562
586
|
r: e.value.style.chart.tooltip.roundingValue
|
|
563
587
|
}),
|
|
564
588
|
{ datapoint: o, category: l, categoryIndex: a }
|
|
565
|
-
)}</b></div>`,
|
|
589
|
+
)}</b></div>`, r += `<div>${e.value.style.chart.layout.grid.yAxis.name ? e.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${P(
|
|
566
590
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
567
591
|
o.yValue,
|
|
568
|
-
|
|
592
|
+
R({
|
|
569
593
|
v: o.yValue,
|
|
570
594
|
r: e.value.style.chart.tooltip.roundingValue
|
|
571
595
|
}),
|
|
572
596
|
{ datapoint: o, category: l, categoryIndex: a }
|
|
573
|
-
)}</b></div>`,
|
|
597
|
+
)}</b></div>`, de.value = `<div style="text-align:left;font-size:${e.value.style.chart.tooltip.fontSize}px">${r}</div>`;
|
|
574
598
|
}
|
|
575
599
|
}
|
|
576
|
-
function
|
|
577
|
-
|
|
600
|
+
function Qe(l, o) {
|
|
601
|
+
ce.value = !1, ue.value = null, se.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: o });
|
|
578
602
|
}
|
|
579
|
-
function
|
|
603
|
+
function Ge(l, o, a) {
|
|
580
604
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: o, seriesIndex: a });
|
|
581
605
|
const u = {
|
|
582
606
|
category: l.name,
|
|
@@ -591,11 +615,11 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
591
615
|
}
|
|
592
616
|
function ee(l) {
|
|
593
617
|
if (!l) return;
|
|
594
|
-
const o =
|
|
595
|
-
category:
|
|
596
|
-
itemName:
|
|
597
|
-
x:
|
|
598
|
-
y:
|
|
618
|
+
const o = q.value.flatMap((u) => u.series.filter((r) => r.quadrantSide === l).map((r) => ({
|
|
619
|
+
category: r.categoryName,
|
|
620
|
+
itemName: r.name,
|
|
621
|
+
x: r.xValue,
|
|
622
|
+
y: r.yValue
|
|
599
623
|
}))), a = {
|
|
600
624
|
quadrantSide: l,
|
|
601
625
|
sideName: e.value.style.chart.layout.labels.quadrantLabels[l].text,
|
|
@@ -603,7 +627,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
603
627
|
};
|
|
604
628
|
ve("selectSide", a);
|
|
605
629
|
}
|
|
606
|
-
const
|
|
630
|
+
const w = g(() => ({
|
|
607
631
|
TL: {
|
|
608
632
|
tl: {
|
|
609
633
|
x: t.value.left + t.value.usableWidth / 4 - 20,
|
|
@@ -709,8 +733,8 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
709
733
|
}
|
|
710
734
|
}
|
|
711
735
|
}));
|
|
712
|
-
function
|
|
713
|
-
return
|
|
736
|
+
function je() {
|
|
737
|
+
return q.value.map((l) => ({
|
|
714
738
|
color: l.color,
|
|
715
739
|
name: l.name,
|
|
716
740
|
shape: l.shape,
|
|
@@ -724,34 +748,34 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
724
748
|
}));
|
|
725
749
|
}
|
|
726
750
|
function ge(l = null) {
|
|
727
|
-
|
|
728
|
-
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = ae.value.head, u = ae.value.body,
|
|
729
|
-
l ? l(
|
|
751
|
+
rt(() => {
|
|
752
|
+
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = ae.value.head, u = ae.value.body, r = o.concat([a]).concat(u), y = nl(r);
|
|
753
|
+
l ? l(y) : il({ csvContent: y, title: e.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
730
754
|
});
|
|
731
755
|
}
|
|
732
|
-
const I =
|
|
756
|
+
const I = b(!1);
|
|
733
757
|
function Je(l) {
|
|
734
758
|
I.value = l, Le.value += 1;
|
|
735
759
|
}
|
|
736
|
-
function je() {
|
|
737
|
-
$.value.showTable = !$.value.showTable;
|
|
738
|
-
}
|
|
739
760
|
function Ze() {
|
|
740
|
-
|
|
761
|
+
C.value.showTable = !C.value.showTable;
|
|
741
762
|
}
|
|
742
763
|
function Ke() {
|
|
743
|
-
|
|
764
|
+
C.value.plotLabels.show = !C.value.plotLabels.show;
|
|
744
765
|
}
|
|
745
|
-
|
|
766
|
+
function et() {
|
|
767
|
+
C.value.showTooltip = !C.value.showTooltip;
|
|
768
|
+
}
|
|
769
|
+
const re = b(!1);
|
|
746
770
|
function me() {
|
|
747
|
-
|
|
771
|
+
re.value = !re.value;
|
|
748
772
|
}
|
|
749
|
-
async function
|
|
750
|
-
if (!
|
|
751
|
-
const { width: o, height: a } =
|
|
773
|
+
async function Ot({ scale: l = 2 } = {}) {
|
|
774
|
+
if (!X.value) return;
|
|
775
|
+
const { width: o, height: a } = X.value.getBoundingClientRect(), u = o / a, { imageUri: r, base64: y } = await kl({ domElement: X.value, base64: !0, img: !0, scale: l });
|
|
752
776
|
return {
|
|
753
|
-
imageUri:
|
|
754
|
-
base64:
|
|
777
|
+
imageUri: r,
|
|
778
|
+
base64: y,
|
|
755
779
|
title: e.value.style.chart.title.text,
|
|
756
780
|
width: o,
|
|
757
781
|
height: a,
|
|
@@ -759,9 +783,9 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
759
783
|
};
|
|
760
784
|
}
|
|
761
785
|
const te = g(() => {
|
|
762
|
-
const l = e.value.table.useDialog && !e.value.table.show, o =
|
|
786
|
+
const l = e.value.table.useDialog && !e.value.table.show, o = C.value.showTable;
|
|
763
787
|
return {
|
|
764
|
-
component: l ?
|
|
788
|
+
component: l ? _t : kt,
|
|
765
789
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
766
790
|
props: l ? {
|
|
767
791
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -769,7 +793,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
769
793
|
headerColor: e.value.table.th.color,
|
|
770
794
|
headerBg: e.value.table.th.backgroundColor,
|
|
771
795
|
isFullscreen: I.value,
|
|
772
|
-
fullscreenParent:
|
|
796
|
+
fullscreenParent: X.value,
|
|
773
797
|
forcedWidth: Math.min(800, window.innerWidth * 0.8)
|
|
774
798
|
} : {
|
|
775
799
|
hideDetails: !0,
|
|
@@ -788,91 +812,91 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
788
812
|
}
|
|
789
813
|
};
|
|
790
814
|
});
|
|
791
|
-
xe(() =>
|
|
792
|
-
e.value.table.show || (l && e.value.table.useDialog &&
|
|
815
|
+
xe(() => C.value.showTable, (l) => {
|
|
816
|
+
e.value.table.show || (l && e.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
|
|
793
817
|
});
|
|
794
|
-
function
|
|
795
|
-
|
|
818
|
+
function tt() {
|
|
819
|
+
C.value.showTable = !1, he.value && he.value.setTableIconState(!1);
|
|
796
820
|
}
|
|
797
|
-
const
|
|
798
|
-
svg:
|
|
799
|
-
title:
|
|
800
|
-
legend:
|
|
821
|
+
const Mt = g(() => e.value.style.chart.backgroundColor), Nt = g(() => e.value.style.chart.legend), Pt = g(() => e.value.style.chart.title), { exportSvg: Rt, getSvg: Vt } = gl({
|
|
822
|
+
svg: ye,
|
|
823
|
+
title: Pt,
|
|
824
|
+
legend: Nt,
|
|
801
825
|
legendItems: K,
|
|
802
|
-
backgroundColor:
|
|
826
|
+
backgroundColor: Mt
|
|
803
827
|
});
|
|
804
|
-
async function
|
|
828
|
+
async function lt({ isCb: l }) {
|
|
805
829
|
if (l) {
|
|
806
|
-
const { blob: o, url: a, text: u, dataUrl:
|
|
807
|
-
e.value.userOptions.callbacks.svg({ blob: o, url: a, text: u, dataUrl:
|
|
830
|
+
const { blob: o, url: a, text: u, dataUrl: r } = await Vt();
|
|
831
|
+
e.value.userOptions.callbacks.svg({ blob: o, url: a, text: u, dataUrl: r });
|
|
808
832
|
} else
|
|
809
|
-
|
|
833
|
+
Rt();
|
|
810
834
|
}
|
|
811
|
-
return
|
|
812
|
-
getData:
|
|
813
|
-
getImage:
|
|
814
|
-
generatePdf:
|
|
835
|
+
return gt({
|
|
836
|
+
getData: je,
|
|
837
|
+
getImage: Ot,
|
|
838
|
+
generatePdf: Me,
|
|
815
839
|
generateCsv: ge,
|
|
816
|
-
generateImage:
|
|
817
|
-
generateSvg:
|
|
818
|
-
hideSeries:
|
|
819
|
-
showSeries:
|
|
820
|
-
toggleTable:
|
|
821
|
-
toggleLabels:
|
|
822
|
-
toggleTooltip:
|
|
840
|
+
generateImage: Ne,
|
|
841
|
+
generateSvg: lt,
|
|
842
|
+
hideSeries: Et,
|
|
843
|
+
showSeries: Dt,
|
|
844
|
+
toggleTable: Ze,
|
|
845
|
+
toggleLabels: Ke,
|
|
846
|
+
toggleTooltip: et,
|
|
823
847
|
toggleAnnotator: me,
|
|
824
848
|
toggleFullscreen: Je
|
|
825
|
-
}), (l, o) => (s(),
|
|
826
|
-
class:
|
|
849
|
+
}), (l, o) => (s(), n("div", {
|
|
850
|
+
class: B(`vue-data-ui-component vue-ui-quadrant ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
827
851
|
ref_key: "quadrantChart",
|
|
828
|
-
ref:
|
|
829
|
-
id: `vue-ui-quadrant_${
|
|
830
|
-
style:
|
|
831
|
-
onMouseenter: o[14] || (o[14] = () => i(
|
|
832
|
-
onMouseleave: o[15] || (o[15] = () => i(
|
|
852
|
+
ref: X,
|
|
853
|
+
id: `vue-ui-quadrant_${L.value}`,
|
|
854
|
+
style: A(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
855
|
+
onMouseenter: o[14] || (o[14] = () => i(Xe)(!0)),
|
|
856
|
+
onMouseleave: o[15] || (o[15] = () => i(Xe)(!1))
|
|
833
857
|
}, [
|
|
834
|
-
e.value.userOptions.buttons.annotator ? (s(),
|
|
858
|
+
e.value.userOptions.buttons.annotator ? (s(), E(i(Lt), {
|
|
835
859
|
key: 0,
|
|
836
|
-
svgRef: i(
|
|
860
|
+
svgRef: i(ye),
|
|
837
861
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
838
862
|
color: e.value.style.chart.color,
|
|
839
|
-
active:
|
|
863
|
+
active: re.value,
|
|
840
864
|
onClose: me
|
|
841
865
|
}, {
|
|
842
866
|
"annotator-action-close": f(() => [
|
|
843
867
|
p(l.$slots, "annotator-action-close", {}, void 0, !0)
|
|
844
868
|
]),
|
|
845
869
|
"annotator-action-color": f(({ color: a }) => [
|
|
846
|
-
p(l.$slots, "annotator-action-color", z(
|
|
870
|
+
p(l.$slots, "annotator-action-color", T(z({ color: a })), void 0, !0)
|
|
847
871
|
]),
|
|
848
872
|
"annotator-action-draw": f(({ mode: a }) => [
|
|
849
|
-
p(l.$slots, "annotator-action-draw", z(
|
|
873
|
+
p(l.$slots, "annotator-action-draw", T(z({ mode: a })), void 0, !0)
|
|
850
874
|
]),
|
|
851
875
|
"annotator-action-undo": f(({ disabled: a }) => [
|
|
852
|
-
p(l.$slots, "annotator-action-undo", z(
|
|
876
|
+
p(l.$slots, "annotator-action-undo", T(z({ disabled: a })), void 0, !0)
|
|
853
877
|
]),
|
|
854
878
|
"annotator-action-redo": f(({ disabled: a }) => [
|
|
855
|
-
p(l.$slots, "annotator-action-redo", z(
|
|
879
|
+
p(l.$slots, "annotator-action-redo", T(z({ disabled: a })), void 0, !0)
|
|
856
880
|
]),
|
|
857
881
|
"annotator-action-delete": f(({ disabled: a }) => [
|
|
858
|
-
p(l.$slots, "annotator-action-delete", z(
|
|
882
|
+
p(l.$slots, "annotator-action-delete", T(z({ disabled: a })), void 0, !0)
|
|
859
883
|
]),
|
|
860
884
|
_: 3
|
|
861
885
|
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
862
|
-
|
|
886
|
+
zt.value ? (s(), n("div", {
|
|
863
887
|
key: 1,
|
|
864
888
|
ref_key: "noTitle",
|
|
865
|
-
ref:
|
|
889
|
+
ref: Se,
|
|
866
890
|
class: "vue-data-ui-no-title-space",
|
|
867
891
|
style: "height:36px; width: 100%;background:transparent"
|
|
868
892
|
}, null, 512)) : h("", !0),
|
|
869
|
-
e.value.style.chart.title.text ? (s(),
|
|
893
|
+
e.value.style.chart.title.text ? (s(), n("div", {
|
|
870
894
|
key: 2,
|
|
871
895
|
ref_key: "chartTitle",
|
|
872
896
|
ref: we,
|
|
873
897
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
874
898
|
}, [
|
|
875
|
-
(s(),
|
|
899
|
+
(s(), E($l, {
|
|
876
900
|
key: `table_${qe.value}`,
|
|
877
901
|
config: {
|
|
878
902
|
title: {
|
|
@@ -886,18 +910,18 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
886
910
|
}
|
|
887
911
|
}, null, 8, ["config"]))
|
|
888
912
|
], 512)) : h("", !0),
|
|
889
|
-
|
|
890
|
-
id: `legend-top-${
|
|
891
|
-
}, null, 8,
|
|
892
|
-
e.value.userOptions.show &&
|
|
913
|
+
d("div", {
|
|
914
|
+
id: `legend-top-${L.value}`
|
|
915
|
+
}, null, 8, _l),
|
|
916
|
+
e.value.userOptions.show && $e.value && (i(De) || i(be)) ? (s(), E(i(wt), {
|
|
893
917
|
ref_key: "userOptionsRef",
|
|
894
918
|
ref: he,
|
|
895
919
|
key: `user_options_${Le.value}`,
|
|
896
920
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
897
921
|
color: e.value.style.chart.color,
|
|
898
|
-
isImaging: i(
|
|
899
|
-
isPrinting: i(
|
|
900
|
-
uid:
|
|
922
|
+
isImaging: i(Oe),
|
|
923
|
+
isPrinting: i(Ye),
|
|
924
|
+
uid: L.value,
|
|
901
925
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
902
926
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
903
927
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -907,32 +931,32 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
907
931
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
908
932
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
909
933
|
isFullscreen: I.value,
|
|
910
|
-
isTooltip:
|
|
934
|
+
isTooltip: C.value.showTooltip,
|
|
911
935
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
912
|
-
chartElement:
|
|
936
|
+
chartElement: X.value,
|
|
913
937
|
position: e.value.userOptions.position,
|
|
914
938
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
915
|
-
isAnnotation:
|
|
939
|
+
isAnnotation: re.value,
|
|
916
940
|
callbacks: e.value.userOptions.callbacks,
|
|
917
941
|
printScale: e.value.userOptions.print.scale,
|
|
918
942
|
tableDialog: e.value.table.useDialog,
|
|
919
943
|
onToggleFullscreen: Je,
|
|
920
|
-
onGeneratePdf: i(
|
|
944
|
+
onGeneratePdf: i(Me),
|
|
921
945
|
onGenerateCsv: ge,
|
|
922
|
-
onGenerateImage: i(
|
|
923
|
-
onGenerateSvg:
|
|
924
|
-
onToggleTable:
|
|
925
|
-
onToggleLabels:
|
|
926
|
-
onToggleTooltip:
|
|
946
|
+
onGenerateImage: i(Ne),
|
|
947
|
+
onGenerateSvg: lt,
|
|
948
|
+
onToggleTable: Ze,
|
|
949
|
+
onToggleLabels: Ke,
|
|
950
|
+
onToggleTooltip: et,
|
|
927
951
|
onToggleAnnotator: me,
|
|
928
|
-
style:
|
|
929
|
-
visibility: i(
|
|
952
|
+
style: A({
|
|
953
|
+
visibility: i(De) ? i(be) ? "visible" : "hidden" : "visible"
|
|
930
954
|
})
|
|
931
|
-
},
|
|
955
|
+
}, ut({ _: 2 }, [
|
|
932
956
|
l.$slots.menuIcon ? {
|
|
933
957
|
name: "menuIcon",
|
|
934
958
|
fn: f(({ isOpen: a, color: u }) => [
|
|
935
|
-
p(l.$slots, "menuIcon", z(
|
|
959
|
+
p(l.$slots, "menuIcon", T(z({ isOpen: a, color: u })), void 0, !0)
|
|
936
960
|
]),
|
|
937
961
|
key: "0"
|
|
938
962
|
} : void 0,
|
|
@@ -988,29 +1012,29 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
988
1012
|
l.$slots.optionFullscreen ? {
|
|
989
1013
|
name: "optionFullscreen",
|
|
990
1014
|
fn: f(({ toggleFullscreen: a, isFullscreen: u }) => [
|
|
991
|
-
p(l.$slots, "optionFullscreen", z(
|
|
1015
|
+
p(l.$slots, "optionFullscreen", T(z({ toggleFullscreen: a, isFullscreen: u })), void 0, !0)
|
|
992
1016
|
]),
|
|
993
1017
|
key: "8"
|
|
994
1018
|
} : void 0,
|
|
995
1019
|
l.$slots.optionAnnotator ? {
|
|
996
1020
|
name: "optionAnnotator",
|
|
997
1021
|
fn: f(({ toggleAnnotator: a, isAnnotator: u }) => [
|
|
998
|
-
p(l.$slots, "optionAnnotator", z(
|
|
1022
|
+
p(l.$slots, "optionAnnotator", T(z({ toggleAnnotator: a, isAnnotator: u })), void 0, !0)
|
|
999
1023
|
]),
|
|
1000
1024
|
key: "9"
|
|
1001
1025
|
} : void 0
|
|
1002
1026
|
]), 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),
|
|
1003
|
-
(s(),
|
|
1027
|
+
(s(), n("svg", {
|
|
1004
1028
|
ref_key: "svgRef",
|
|
1005
|
-
ref:
|
|
1006
|
-
xmlns: i(
|
|
1007
|
-
class:
|
|
1029
|
+
ref: ye,
|
|
1030
|
+
xmlns: i(al),
|
|
1031
|
+
class: B({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
|
|
1008
1032
|
viewBox: `${v.value.startX} ${v.value.startY} ${v.value.width} ${v.value.height}`,
|
|
1009
|
-
style:
|
|
1010
|
-
id: `svg_${
|
|
1033
|
+
style: A(`max-width:100%;overflow:hidden;background:transparent;color:${e.value.style.chart.color}`),
|
|
1034
|
+
id: `svg_${L.value}`
|
|
1011
1035
|
}, [
|
|
1012
|
-
|
|
1013
|
-
l.$slots["chart-background"] ? (s(),
|
|
1036
|
+
ne(i(At)),
|
|
1037
|
+
l.$slots["chart-background"] ? (s(), n("foreignObject", {
|
|
1014
1038
|
key: 0,
|
|
1015
1039
|
x: v.value.startX,
|
|
1016
1040
|
y: v.value.startY,
|
|
@@ -1021,28 +1045,28 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
1021
1045
|
}
|
|
1022
1046
|
}, [
|
|
1023
1047
|
p(l.$slots, "chart-background", {}, void 0, !0)
|
|
1024
|
-
], 8,
|
|
1025
|
-
|
|
1026
|
-
(s(!0),
|
|
1048
|
+
], 8, ql)) : h("", !0),
|
|
1049
|
+
d("defs", null, [
|
|
1050
|
+
(s(!0), n(S, null, Y(q.value, (a, u) => (s(), n("radialGradient", {
|
|
1027
1051
|
cx: "50%",
|
|
1028
1052
|
cy: "50%",
|
|
1029
1053
|
r: "50%",
|
|
1030
1054
|
fx: "50%",
|
|
1031
1055
|
fy: "50%",
|
|
1032
|
-
id: `quadrant_gradient_${
|
|
1056
|
+
id: `quadrant_gradient_${L.value}_${u}`
|
|
1033
1057
|
}, [
|
|
1034
|
-
|
|
1058
|
+
d("stop", {
|
|
1035
1059
|
offset: "0%",
|
|
1036
|
-
"stop-color": i(ie)(i(
|
|
1037
|
-
}, null, 8,
|
|
1038
|
-
|
|
1060
|
+
"stop-color": i(ie)(i(ol)(a.color, 0.05), e.value.style.chart.layout.areas.opacity)
|
|
1061
|
+
}, null, 8, zl),
|
|
1062
|
+
d("stop", {
|
|
1039
1063
|
offset: "100%",
|
|
1040
1064
|
"stop-color": i(ie)(a.color, e.value.style.chart.layout.areas.opacity)
|
|
1041
|
-
}, null, 8,
|
|
1042
|
-
], 8,
|
|
1065
|
+
}, null, 8, Fl)
|
|
1066
|
+
], 8, Tl))), 256))
|
|
1043
1067
|
]),
|
|
1044
|
-
e.value.style.chart.layout.grid.graduations.show ? (s(),
|
|
1045
|
-
(s(!0),
|
|
1068
|
+
e.value.style.chart.layout.grid.graduations.show ? (s(), n("g", Bl, [
|
|
1069
|
+
(s(!0), n(S, null, Y(Bt.value, (a) => (s(), n("rect", {
|
|
1046
1070
|
fill: e.value.style.chart.layout.grid.graduations.fill ? i(ie)(e.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
|
|
1047
1071
|
x: a.x,
|
|
1048
1072
|
y: a.y,
|
|
@@ -1051,390 +1075,390 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
1051
1075
|
"stroke-width": e.value.style.chart.layout.grid.graduations.strokeWidth,
|
|
1052
1076
|
stroke: e.value.style.chart.layout.grid.graduations.stroke,
|
|
1053
1077
|
rx: e.value.style.chart.layout.grid.graduations.roundingForce
|
|
1054
|
-
}, null, 8,
|
|
1078
|
+
}, null, 8, Wl))), 256))
|
|
1055
1079
|
])) : h("", !0),
|
|
1056
|
-
|
|
1080
|
+
d("line", {
|
|
1057
1081
|
x1: t.value.left,
|
|
1058
1082
|
y1: t.value.centerY,
|
|
1059
1083
|
x2: t.value.right,
|
|
1060
1084
|
y2: t.value.centerY,
|
|
1061
1085
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
1062
1086
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
1063
|
-
}, null, 8,
|
|
1064
|
-
|
|
1087
|
+
}, null, 8, Xl),
|
|
1088
|
+
d("line", {
|
|
1065
1089
|
x1: t.value.centerX,
|
|
1066
1090
|
y1: t.value.top,
|
|
1067
1091
|
x2: t.value.centerX,
|
|
1068
1092
|
y2: t.value.bottom,
|
|
1069
1093
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
1070
1094
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
1071
|
-
}, null, 8,
|
|
1072
|
-
e.value.style.chart.layout.grid.showArrows ? (s(),
|
|
1073
|
-
|
|
1095
|
+
}, null, 8, Dl),
|
|
1096
|
+
e.value.style.chart.layout.grid.showArrows ? (s(), n("g", El, [
|
|
1097
|
+
d("polygon", {
|
|
1074
1098
|
points: `${t.value.right - 8},${t.value.centerY - 6} ${t.value.right},${t.value.centerY} ${t.value.right - 8},${t.value.centerY + 6}`,
|
|
1075
1099
|
fill: e.value.style.chart.layout.grid.stroke,
|
|
1076
1100
|
stroke: "none"
|
|
1077
|
-
}, null, 8,
|
|
1078
|
-
|
|
1101
|
+
}, null, 8, Yl),
|
|
1102
|
+
d("polygon", {
|
|
1079
1103
|
points: `${t.value.left + 8},${t.value.centerY - 6} ${t.value.left},${t.value.centerY} ${t.value.left + 8},${t.value.centerY + 6}`,
|
|
1080
1104
|
fill: e.value.style.chart.layout.grid.stroke,
|
|
1081
1105
|
stroke: "none"
|
|
1082
|
-
}, null, 8,
|
|
1083
|
-
|
|
1106
|
+
}, null, 8, Ol),
|
|
1107
|
+
d("polygon", {
|
|
1084
1108
|
points: `${t.value.centerX - 6},${t.value.top + 8} ${t.value.centerX},${t.value.top} ${t.value.centerX + 6},${t.value.top + 8}`,
|
|
1085
1109
|
fill: e.value.style.chart.layout.grid.stroke,
|
|
1086
1110
|
stroke: "none"
|
|
1087
|
-
}, null, 8,
|
|
1088
|
-
|
|
1111
|
+
}, null, 8, Ml),
|
|
1112
|
+
d("polygon", {
|
|
1089
1113
|
points: `${t.value.centerX - 6},${t.value.bottom - 8} ${t.value.centerX},${t.value.bottom} ${t.value.centerX + 6},${t.value.bottom - 8}`,
|
|
1090
1114
|
fill: e.value.style.chart.layout.grid.stroke,
|
|
1091
1115
|
stroke: "none"
|
|
1092
|
-
}, null, 8,
|
|
1116
|
+
}, null, 8, Nl)
|
|
1093
1117
|
])) : h("", !0),
|
|
1094
|
-
e.value.style.chart.layout.labels.quadrantLabels.show && !x.value ? (s(),
|
|
1095
|
-
e.value.style.chart.layout.labels.quadrantLabels.tl.text ? (s(),
|
|
1118
|
+
e.value.style.chart.layout.labels.quadrantLabels.show && !x.value ? (s(), n("g", Pl, [
|
|
1119
|
+
e.value.style.chart.layout.labels.quadrantLabels.tl.text ? (s(), n("text", {
|
|
1096
1120
|
key: 0,
|
|
1097
1121
|
x: 0,
|
|
1098
1122
|
y: t.value.top - t.value.padding / 2,
|
|
1099
1123
|
"text-anchor": "start",
|
|
1100
1124
|
fill: e.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
1101
1125
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
1102
|
-
style:
|
|
1126
|
+
style: A(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
1103
1127
|
onClick: o[0] || (o[0] = (a) => ee("tl"))
|
|
1104
|
-
}, k(e.value.style.chart.layout.labels.quadrantLabels.tl.text), 13,
|
|
1105
|
-
e.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(),
|
|
1128
|
+
}, k(e.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, Rl)) : h("", !0),
|
|
1129
|
+
e.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(), n("text", {
|
|
1106
1130
|
key: 1,
|
|
1107
1131
|
x: t.value.width,
|
|
1108
1132
|
y: t.value.top - t.value.padding / 2,
|
|
1109
1133
|
"text-anchor": "end",
|
|
1110
1134
|
fill: e.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
1111
1135
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
1112
|
-
style:
|
|
1136
|
+
style: A(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
1113
1137
|
onClick: o[1] || (o[1] = (a) => ee("tr"))
|
|
1114
|
-
}, k(e.value.style.chart.layout.labels.quadrantLabels.tr.text), 13,
|
|
1115
|
-
e.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(),
|
|
1138
|
+
}, k(e.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, Vl)) : h("", !0),
|
|
1139
|
+
e.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(), n("text", {
|
|
1116
1140
|
key: 2,
|
|
1117
1141
|
x: t.value.width,
|
|
1118
1142
|
y: t.value.bottom + t.value.padding * 0.7,
|
|
1119
1143
|
"text-anchor": "end",
|
|
1120
1144
|
fill: e.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
1121
1145
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
1122
|
-
style:
|
|
1146
|
+
style: A(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
1123
1147
|
onClick: o[2] || (o[2] = (a) => ee("br"))
|
|
1124
|
-
}, k(e.value.style.chart.layout.labels.quadrantLabels.br.text), 13,
|
|
1125
|
-
e.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(),
|
|
1148
|
+
}, k(e.value.style.chart.layout.labels.quadrantLabels.br.text), 13, Il)) : h("", !0),
|
|
1149
|
+
e.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(), n("text", {
|
|
1126
1150
|
key: 3,
|
|
1127
1151
|
x: 0,
|
|
1128
1152
|
y: t.value.bottom + t.value.padding * 0.7,
|
|
1129
1153
|
"text-anchor": "start",
|
|
1130
1154
|
fill: e.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
1131
1155
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
1132
|
-
style:
|
|
1156
|
+
style: A(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
1133
1157
|
onClick: o[3] || (o[3] = (a) => ee("bl"))
|
|
1134
|
-
}, k(e.value.style.chart.layout.labels.quadrantLabels.bl.text), 13,
|
|
1158
|
+
}, k(e.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, Hl)) : h("", !0)
|
|
1135
1159
|
])) : h("", !0),
|
|
1136
|
-
e.value.style.chart.layout.labels.axisLabels.show ? (s(),
|
|
1137
|
-
|
|
1160
|
+
e.value.style.chart.layout.labels.axisLabels.show ? (s(), n("g", Ul, [
|
|
1161
|
+
d("text", {
|
|
1138
1162
|
x: t.value.centerX,
|
|
1139
1163
|
y: t.value.top - t.value.padding / 6,
|
|
1140
1164
|
"text-anchor": "middle",
|
|
1141
1165
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1142
1166
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1143
|
-
}, k(i(
|
|
1167
|
+
}, k(i(P)(
|
|
1144
1168
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
1145
|
-
|
|
1146
|
-
i(
|
|
1147
|
-
v:
|
|
1169
|
+
_.value.y.max,
|
|
1170
|
+
i(R)({
|
|
1171
|
+
v: _.value.y.max,
|
|
1148
1172
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1149
1173
|
})
|
|
1150
|
-
)), 9,
|
|
1151
|
-
|
|
1174
|
+
)), 9, Ql),
|
|
1175
|
+
d("text", {
|
|
1152
1176
|
x: t.value.centerX,
|
|
1153
1177
|
y: t.value.top - t.value.padding / 2,
|
|
1154
1178
|
"text-anchor": "middle",
|
|
1155
1179
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1156
1180
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1157
|
-
}, k(e.value.style.chart.layout.grid.yAxis.name), 9,
|
|
1158
|
-
|
|
1181
|
+
}, k(e.value.style.chart.layout.grid.yAxis.name), 9, Gl),
|
|
1182
|
+
d("text", {
|
|
1159
1183
|
x: t.value.centerX,
|
|
1160
1184
|
y: t.value.bottom + t.value.padding * 0.35,
|
|
1161
1185
|
"text-anchor": "middle",
|
|
1162
1186
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1163
1187
|
fill: e.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1164
|
-
}, k(i(
|
|
1188
|
+
}, k(i(P)(
|
|
1165
1189
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
1166
|
-
|
|
1167
|
-
i(
|
|
1168
|
-
v:
|
|
1190
|
+
_.value.y.min,
|
|
1191
|
+
i(R)({
|
|
1192
|
+
v: _.value.y.min,
|
|
1169
1193
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1170
1194
|
})
|
|
1171
|
-
)), 9,
|
|
1172
|
-
|
|
1173
|
-
id: `xLabelMin_${
|
|
1195
|
+
)), 9, jl),
|
|
1196
|
+
d("text", {
|
|
1197
|
+
id: `xLabelMin_${L.value}`,
|
|
1174
1198
|
"text-anchor": "middle",
|
|
1175
1199
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1176
1200
|
transform: `translate(${t.value.padding - e.value.style.chart.layout.labels.axisLabels.fontSize}, ${t.value.height / 2}), rotate(-90)`,
|
|
1177
1201
|
fill: e.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1178
|
-
}, k(i(
|
|
1202
|
+
}, k(i(P)(
|
|
1179
1203
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
1180
|
-
|
|
1181
|
-
i(
|
|
1182
|
-
v:
|
|
1204
|
+
_.value.x.min,
|
|
1205
|
+
i(R)({
|
|
1206
|
+
v: _.value.x.min,
|
|
1183
1207
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1184
1208
|
})
|
|
1185
|
-
)), 9,
|
|
1186
|
-
|
|
1187
|
-
id: `xLabelMax_${
|
|
1209
|
+
)), 9, Jl),
|
|
1210
|
+
d("text", {
|
|
1211
|
+
id: `xLabelMax_${L.value}`,
|
|
1188
1212
|
"text-anchor": "middle",
|
|
1189
1213
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1190
1214
|
transform: `translate(${t.value.width - t.value.padding + e.value.style.chart.layout.labels.axisLabels.fontSize}, ${t.value.height / 2}), rotate(90)`,
|
|
1191
1215
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1192
|
-
}, k(i(
|
|
1216
|
+
}, k(i(P)(
|
|
1193
1217
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
1194
|
-
|
|
1195
|
-
i(
|
|
1196
|
-
v:
|
|
1218
|
+
_.value.x.max,
|
|
1219
|
+
i(R)({
|
|
1220
|
+
v: _.value.x.max,
|
|
1197
1221
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1198
1222
|
})
|
|
1199
|
-
)), 9,
|
|
1200
|
-
|
|
1201
|
-
id: `xLabelMaxName_${
|
|
1223
|
+
)), 9, Zl),
|
|
1224
|
+
d("text", {
|
|
1225
|
+
id: `xLabelMaxName_${L.value}`,
|
|
1202
1226
|
"text-anchor": "middle",
|
|
1203
1227
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1204
1228
|
transform: `translate(${t.value.width - e.value.style.chart.layout.labels.axisLabels.fontSize}, ${t.value.height / 2}), rotate(90)`,
|
|
1205
1229
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1206
|
-
}, k(e.value.style.chart.layout.grid.xAxis.name), 9,
|
|
1230
|
+
}, k(e.value.style.chart.layout.grid.xAxis.name), 9, Kl)
|
|
1207
1231
|
])) : h("", !0),
|
|
1208
|
-
e.value.style.chart.layout.areas.show ? (s(),
|
|
1209
|
-
(s(!0),
|
|
1210
|
-
a.series.length > 2 ? (s(),
|
|
1232
|
+
e.value.style.chart.layout.areas.show ? (s(), n("g", ea, [
|
|
1233
|
+
(s(!0), n(S, null, Y(q.value, (a, u) => (s(), n("g", null, [
|
|
1234
|
+
a.series.length > 2 ? (s(), n("polygon", {
|
|
1211
1235
|
key: 0,
|
|
1212
1236
|
"data-cy-quadrant-area": "",
|
|
1213
|
-
fill: e.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${
|
|
1214
|
-
points: i(
|
|
1215
|
-
}, null, 8,
|
|
1237
|
+
fill: e.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${L.value}_${u})` : i(ie)(a.color, e.value.style.chart.layout.areas.opacity),
|
|
1238
|
+
points: i(ul)(a)
|
|
1239
|
+
}, null, 8, ta)) : h("", !0)
|
|
1216
1240
|
]))), 256))
|
|
1217
1241
|
])) : h("", !0),
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
onClick: o[4] || (o[4] = (a) =>
|
|
1242
|
+
d("g", null, [
|
|
1243
|
+
d("rect", {
|
|
1244
|
+
onClick: o[4] || (o[4] = (a) => M("TL")),
|
|
1221
1245
|
x: t.value.left,
|
|
1222
1246
|
y: t.value.top,
|
|
1223
1247
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1224
1248
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1225
1249
|
fill: "transparent",
|
|
1226
|
-
class:
|
|
1227
|
-
}, null, 10,
|
|
1228
|
-
|
|
1229
|
-
onClick: o[5] || (o[5] = (a) =>
|
|
1250
|
+
class: B({ "vue-data-ui-zoom-plus": !x.value, "vue-data-ui-zoom-minus": x.value })
|
|
1251
|
+
}, null, 10, la),
|
|
1252
|
+
d("rect", {
|
|
1253
|
+
onClick: o[5] || (o[5] = (a) => M("TR")),
|
|
1230
1254
|
x: t.value.centerX,
|
|
1231
1255
|
y: t.value.top,
|
|
1232
1256
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1233
1257
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1234
1258
|
fill: "transparent",
|
|
1235
|
-
class:
|
|
1236
|
-
}, null, 10,
|
|
1237
|
-
|
|
1238
|
-
onClick: o[6] || (o[6] = (a) =>
|
|
1259
|
+
class: B({ "vue-data-ui-zoom-plus": !x.value, "vue-data-ui-zoom-minus": x.value })
|
|
1260
|
+
}, null, 10, aa),
|
|
1261
|
+
d("rect", {
|
|
1262
|
+
onClick: o[6] || (o[6] = (a) => M("BR")),
|
|
1239
1263
|
x: t.value.centerX,
|
|
1240
1264
|
y: t.value.centerY,
|
|
1241
1265
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1242
1266
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1243
1267
|
fill: "transparent",
|
|
1244
|
-
class:
|
|
1245
|
-
}, null, 10,
|
|
1246
|
-
|
|
1247
|
-
onClick: o[7] || (o[7] = (a) =>
|
|
1268
|
+
class: B({ "vue-data-ui-zoom-plus": !x.value, "vue-data-ui-zoom-minus": x.value })
|
|
1269
|
+
}, null, 10, oa),
|
|
1270
|
+
d("rect", {
|
|
1271
|
+
onClick: o[7] || (o[7] = (a) => M("BL")),
|
|
1248
1272
|
x: t.value.left,
|
|
1249
1273
|
y: t.value.centerY,
|
|
1250
1274
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1251
1275
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1252
1276
|
fill: "transparent",
|
|
1253
|
-
class:
|
|
1254
|
-
}, null, 10,
|
|
1277
|
+
class: B({ "vue-data-ui-zoom-plus": !x.value, "vue-data-ui-zoom-minus": x.value })
|
|
1278
|
+
}, null, 10, ua)
|
|
1255
1279
|
]),
|
|
1256
|
-
e.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(),
|
|
1257
|
-
|
|
1258
|
-
(s(!0),
|
|
1259
|
-
(s(!0),
|
|
1280
|
+
e.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(), n(S, { key: 7 }, [
|
|
1281
|
+
C.value.plotLabels.show ? (s(), n("g", ia, [
|
|
1282
|
+
(s(!0), n(S, null, Y(q.value, (a, u) => (s(), n(S, null, [
|
|
1283
|
+
(s(!0), n(S, null, Y(a.series, (r) => (s(), n("foreignObject", {
|
|
1260
1284
|
style: { overflow: "visible" },
|
|
1261
1285
|
height: "10",
|
|
1262
1286
|
width: "100",
|
|
1263
|
-
x:
|
|
1264
|
-
y:
|
|
1265
|
-
onMouseover: (
|
|
1266
|
-
onMouseleave: (
|
|
1267
|
-
onClick: (
|
|
1287
|
+
x: r.x - 50,
|
|
1288
|
+
y: r.y - e.value.style.chart.layout.labels.plotLabels.fontSize,
|
|
1289
|
+
onMouseover: (y) => Ue(a, r, u),
|
|
1290
|
+
onMouseleave: (y) => Qe(r, u),
|
|
1291
|
+
onClick: (y) => Ge(a, r, u)
|
|
1268
1292
|
}, [
|
|
1269
|
-
|
|
1270
|
-
style:
|
|
1271
|
-
}, k(
|
|
1272
|
-
], 40,
|
|
1293
|
+
d("div", {
|
|
1294
|
+
style: A(`color:${i(rl)(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;`)
|
|
1295
|
+
}, k(r.name), 5)
|
|
1296
|
+
], 40, va))), 256))
|
|
1273
1297
|
], 64))), 256))
|
|
1274
1298
|
])) : h("", !0)
|
|
1275
|
-
], 64)) : (s(),
|
|
1276
|
-
(s(!0),
|
|
1277
|
-
(s(!0),
|
|
1299
|
+
], 64)) : (s(), n(S, { key: 6 }, [
|
|
1300
|
+
(s(!0), n(S, null, Y(q.value, (a, u) => (s(), n("g", null, [
|
|
1301
|
+
(s(!0), n(S, null, Y(a.series, (r) => (s(), E(it, {
|
|
1278
1302
|
color: a.color,
|
|
1279
|
-
isSelected: ue.value &&
|
|
1280
|
-
plot:
|
|
1303
|
+
isSelected: ue.value && r.uid === ue.value,
|
|
1304
|
+
plot: r,
|
|
1281
1305
|
radius: e.value.style.chart.layout.plots.radius / (x.value ? 1.5 : 1),
|
|
1282
1306
|
shape: a.shape,
|
|
1283
1307
|
stroke: e.value.style.chart.layout.plots.outline ? e.value.style.chart.layout.plots.outlineColor : "none",
|
|
1284
1308
|
strokeWidth: e.value.style.chart.layout.plots.outlineWidth,
|
|
1285
|
-
onMouseenter: (
|
|
1286
|
-
onMouseleave: (
|
|
1287
|
-
onClick: (
|
|
1309
|
+
onMouseenter: (y) => Ue(a, r, u),
|
|
1310
|
+
onMouseleave: (y) => Qe(r, u),
|
|
1311
|
+
onClick: (y) => Ge(a, r, u)
|
|
1288
1312
|
}, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onMouseleave", "onClick"]))), 256))
|
|
1289
1313
|
]))), 256)),
|
|
1290
|
-
|
|
1291
|
-
(s(!0),
|
|
1292
|
-
(s(!0),
|
|
1314
|
+
C.value.plotLabels.show ? (s(), n("g", sa, [
|
|
1315
|
+
(s(!0), n(S, null, Y(q.value, (a) => (s(), n("g", null, [
|
|
1316
|
+
(s(!0), n(S, null, Y(a.series, (u) => (s(), n("g", null, [
|
|
1293
1317
|
String(u.name).includes(`
|
|
1294
|
-
`) ? (s(),
|
|
1318
|
+
`) ? (s(), n("text", {
|
|
1295
1319
|
key: 1,
|
|
1296
1320
|
x: u.x,
|
|
1297
1321
|
y: u.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius,
|
|
1298
1322
|
"text-anchor": "middle",
|
|
1299
1323
|
"font-size": e.value.style.chart.layout.labels.plotLabels.fontSize / (x.value ? 1.5 : 1),
|
|
1300
1324
|
fill: e.value.style.chart.layout.labels.plotLabels.color,
|
|
1301
|
-
innerHTML: i(
|
|
1325
|
+
innerHTML: i(sl)({
|
|
1302
1326
|
content: String(u.name),
|
|
1303
1327
|
fontSize: e.value.style.chart.layout.labels.plotLabels.fontSize / (x.value ? 1.5 : 1),
|
|
1304
1328
|
fill: e.value.style.chart.layout.labels.plotLabels.color,
|
|
1305
1329
|
x: u.x,
|
|
1306
1330
|
y: u.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius
|
|
1307
1331
|
})
|
|
1308
|
-
}, null, 8,
|
|
1332
|
+
}, null, 8, na)) : (s(), n("text", {
|
|
1309
1333
|
key: 0,
|
|
1310
1334
|
x: u.x,
|
|
1311
1335
|
y: u.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius,
|
|
1312
1336
|
"text-anchor": "middle",
|
|
1313
1337
|
"font-size": e.value.style.chart.layout.labels.plotLabels.fontSize / (x.value ? 1.5 : 1),
|
|
1314
1338
|
fill: e.value.style.chart.layout.labels.plotLabels.color
|
|
1315
|
-
}, k(u.name), 9,
|
|
1339
|
+
}, k(u.name), 9, ra))
|
|
1316
1340
|
]))), 256))
|
|
1317
1341
|
]))), 256))
|
|
1318
1342
|
])) : h("", !0)
|
|
1319
1343
|
], 64)),
|
|
1320
|
-
x.value ? (s(),
|
|
1321
|
-
|
|
1344
|
+
x.value ? (s(), n("g", ca, [
|
|
1345
|
+
c.value === "TL" ? (s(), n("polygon", {
|
|
1322
1346
|
key: 0,
|
|
1323
1347
|
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}`,
|
|
1324
1348
|
fill: e.value.style.chart.backgroundColor,
|
|
1325
1349
|
style: { opacity: "1" }
|
|
1326
|
-
}, null, 8,
|
|
1327
|
-
|
|
1350
|
+
}, null, 8, da)) : h("", !0),
|
|
1351
|
+
c.value === "TR" ? (s(), n("polygon", {
|
|
1328
1352
|
key: 1,
|
|
1329
1353
|
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}`,
|
|
1330
1354
|
fill: e.value.style.chart.backgroundColor,
|
|
1331
1355
|
style: { opacity: "1" }
|
|
1332
|
-
}, null, 8,
|
|
1333
|
-
|
|
1356
|
+
}, null, 8, ha)) : h("", !0),
|
|
1357
|
+
c.value === "BR" ? (s(), n("polygon", {
|
|
1334
1358
|
key: 2,
|
|
1335
1359
|
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}`,
|
|
1336
1360
|
fill: e.value.style.chart.backgroundColor,
|
|
1337
1361
|
style: { opacity: "1" }
|
|
1338
|
-
}, null, 8,
|
|
1339
|
-
|
|
1362
|
+
}, null, 8, ba)) : h("", !0),
|
|
1363
|
+
c.value === "BL" ? (s(), n("polygon", {
|
|
1340
1364
|
key: 3,
|
|
1341
1365
|
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}`,
|
|
1342
1366
|
fill: e.value.style.chart.backgroundColor,
|
|
1343
1367
|
style: { opacity: "1" }
|
|
1344
|
-
}, null, 8,
|
|
1368
|
+
}, null, 8, ya)) : h("", !0)
|
|
1345
1369
|
])) : h("", !0),
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
x:
|
|
1349
|
-
y:
|
|
1350
|
-
"font-size":
|
|
1351
|
-
fill:
|
|
1370
|
+
c.value && !le.value ? (s(), n("g", fa, [
|
|
1371
|
+
d("text", {
|
|
1372
|
+
x: V.value.x,
|
|
1373
|
+
y: V.value.y - V.value.fontSize / 1.5,
|
|
1374
|
+
"font-size": V.value.fontSize / 1.5,
|
|
1375
|
+
fill: V.value.fill,
|
|
1352
1376
|
"text-anchor": "middle",
|
|
1353
|
-
"font-weight":
|
|
1354
|
-
}, k(
|
|
1377
|
+
"font-weight": V.value.bold ? "bold" : "normal"
|
|
1378
|
+
}, k(V.value.text), 9, pa)
|
|
1355
1379
|
])) : h("", !0),
|
|
1356
|
-
x.value &&
|
|
1357
|
-
|
|
1358
|
-
x:
|
|
1359
|
-
y:
|
|
1380
|
+
x.value && c.value ? (s(), n("g", ga, [
|
|
1381
|
+
d("rect", {
|
|
1382
|
+
x: w.value[c.value].tl.x,
|
|
1383
|
+
y: w.value[c.value].tl.y,
|
|
1360
1384
|
height: "20",
|
|
1361
1385
|
width: "20",
|
|
1362
|
-
fill:
|
|
1363
|
-
style:
|
|
1364
|
-
onClick: o[8] || (o[8] = (a) =>
|
|
1365
|
-
class:
|
|
1366
|
-
}, null, 14,
|
|
1367
|
-
|
|
1368
|
-
x:
|
|
1369
|
-
y:
|
|
1386
|
+
fill: w.value[c.value].tl.fill,
|
|
1387
|
+
style: A(`cursor: pointer; opacity: ${c.value === "TL" ? 1 : 0.2}`),
|
|
1388
|
+
onClick: o[8] || (o[8] = (a) => M("TL")),
|
|
1389
|
+
class: B({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TL" })
|
|
1390
|
+
}, null, 14, ma),
|
|
1391
|
+
d("rect", {
|
|
1392
|
+
x: w.value[c.value].tr.x,
|
|
1393
|
+
y: w.value[c.value].tr.y,
|
|
1370
1394
|
height: "20",
|
|
1371
1395
|
width: "20",
|
|
1372
|
-
fill:
|
|
1373
|
-
style:
|
|
1374
|
-
onClick: o[9] || (o[9] = (a) =>
|
|
1375
|
-
class:
|
|
1376
|
-
}, null, 14,
|
|
1377
|
-
|
|
1378
|
-
x:
|
|
1379
|
-
y:
|
|
1396
|
+
fill: w.value[c.value].tr.fill,
|
|
1397
|
+
style: A(`cursor: pointer; opacity: ${c.value === "TR" ? 1 : 0.2}`),
|
|
1398
|
+
onClick: o[9] || (o[9] = (a) => M("TR")),
|
|
1399
|
+
class: B({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TR" })
|
|
1400
|
+
}, null, 14, xa),
|
|
1401
|
+
d("rect", {
|
|
1402
|
+
x: w.value[c.value].br.x,
|
|
1403
|
+
y: w.value[c.value].br.y,
|
|
1380
1404
|
height: "20",
|
|
1381
1405
|
width: "20",
|
|
1382
|
-
fill:
|
|
1383
|
-
style:
|
|
1384
|
-
onClick: o[10] || (o[10] = (a) =>
|
|
1385
|
-
class:
|
|
1386
|
-
}, null, 14,
|
|
1387
|
-
|
|
1388
|
-
x:
|
|
1389
|
-
y:
|
|
1406
|
+
fill: w.value[c.value].br.fill,
|
|
1407
|
+
style: A(`cursor: pointer; opacity: ${c.value === "BR" ? 1 : 0.2}`),
|
|
1408
|
+
onClick: o[10] || (o[10] = (a) => M("BR")),
|
|
1409
|
+
class: B({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BR" })
|
|
1410
|
+
}, null, 14, Ca),
|
|
1411
|
+
d("rect", {
|
|
1412
|
+
x: w.value[c.value].bl.x,
|
|
1413
|
+
y: w.value[c.value].bl.y,
|
|
1390
1414
|
height: "20",
|
|
1391
1415
|
width: "20",
|
|
1392
|
-
fill:
|
|
1393
|
-
style:
|
|
1394
|
-
onClick: o[11] || (o[11] = (a) =>
|
|
1395
|
-
class:
|
|
1396
|
-
}, null, 14,
|
|
1397
|
-
|
|
1416
|
+
fill: w.value[c.value].bl.fill,
|
|
1417
|
+
style: A(`cursor: pointer; opacity: ${c.value === "BL" ? 1 : 0.2}`),
|
|
1418
|
+
onClick: o[11] || (o[11] = (a) => M("BL")),
|
|
1419
|
+
class: B({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BL" })
|
|
1420
|
+
}, null, 14, ka),
|
|
1421
|
+
d("path", {
|
|
1398
1422
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1399
1423
|
stroke: e.value.style.chart.backgroundColor,
|
|
1400
1424
|
"stroke-width": 1,
|
|
1401
|
-
d:
|
|
1402
|
-
}, null, 8,
|
|
1403
|
-
|
|
1425
|
+
d: w.value[c.value].crosshairs.horizontal
|
|
1426
|
+
}, null, 8, $a),
|
|
1427
|
+
d("path", {
|
|
1404
1428
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1405
1429
|
stroke: e.value.style.chart.backgroundColor,
|
|
1406
1430
|
"stroke-width": 1,
|
|
1407
|
-
d:
|
|
1408
|
-
}, null, 8,
|
|
1431
|
+
d: w.value[c.value].crosshairs.vertical
|
|
1432
|
+
}, null, 8, La)
|
|
1409
1433
|
])) : h("", !0),
|
|
1410
1434
|
p(l.$slots, "svg", { svg: t.value }, void 0, !0)
|
|
1411
|
-
], 14,
|
|
1412
|
-
l.$slots.watermark ? (s(),
|
|
1413
|
-
p(l.$slots, "watermark", z(
|
|
1435
|
+
], 14, Sl)),
|
|
1436
|
+
l.$slots.watermark ? (s(), n("div", wa, [
|
|
1437
|
+
p(l.$slots, "watermark", T(z({ isPrinting: i(Ye) || i(Oe) })), void 0, !0)
|
|
1414
1438
|
])) : h("", !0),
|
|
1415
|
-
|
|
1416
|
-
id: `legend-bottom-${
|
|
1417
|
-
}, null, 8,
|
|
1418
|
-
|
|
1439
|
+
d("div", {
|
|
1440
|
+
id: `legend-bottom-${L.value}`
|
|
1441
|
+
}, null, 8, Aa),
|
|
1442
|
+
Fe.value ? (s(), E(Qt, {
|
|
1419
1443
|
key: 5,
|
|
1420
|
-
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
1444
|
+
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${L.value}` : `#legend-bottom-${L.value}`
|
|
1421
1445
|
}, [
|
|
1422
|
-
|
|
1446
|
+
d("div", {
|
|
1423
1447
|
ref_key: "chartLegend",
|
|
1424
|
-
ref:
|
|
1448
|
+
ref: Ae
|
|
1425
1449
|
}, [
|
|
1426
|
-
e.value.style.chart.legend.show ? (s(),
|
|
1450
|
+
e.value.style.chart.legend.show ? (s(), E(Ll, {
|
|
1427
1451
|
key: `legend_${ze.value}`,
|
|
1428
1452
|
legendSet: K.value,
|
|
1429
|
-
config:
|
|
1453
|
+
config: Yt.value,
|
|
1430
1454
|
onClickMarker: o[12] || (o[12] = ({ legend: a }) => Z(a.id))
|
|
1431
1455
|
}, {
|
|
1432
1456
|
item: f(({ legend: a }) => [
|
|
1433
|
-
i(
|
|
1457
|
+
i(Be) ? h("", !0) : (s(), n("div", {
|
|
1434
1458
|
key: 0,
|
|
1435
1459
|
onClick: (u) => Z(a.id),
|
|
1436
|
-
style:
|
|
1437
|
-
}, k(a.name), 13,
|
|
1460
|
+
style: A(`opacity:${F.value.includes(a.id) ? 0.5 : 1}`)
|
|
1461
|
+
}, k(a.name), 13, _a))
|
|
1438
1462
|
]),
|
|
1439
1463
|
_: 1
|
|
1440
1464
|
}, 8, ["legendSet", "config"])) : p(l.$slots, "legend", {
|
|
@@ -1443,7 +1467,7 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
1443
1467
|
}, void 0, !0)
|
|
1444
1468
|
], 512)
|
|
1445
1469
|
], 8, ["to"])) : h("", !0),
|
|
1446
|
-
l.$slots.source ? (s(),
|
|
1470
|
+
l.$slots.source ? (s(), n("div", {
|
|
1447
1471
|
key: 6,
|
|
1448
1472
|
ref_key: "source",
|
|
1449
1473
|
ref: _e,
|
|
@@ -1451,8 +1475,8 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
1451
1475
|
}, [
|
|
1452
1476
|
p(l.$slots, "source", {}, void 0, !0)
|
|
1453
1477
|
], 512)) : h("", !0),
|
|
1454
|
-
|
|
1455
|
-
show:
|
|
1478
|
+
ne(i(xt), {
|
|
1479
|
+
show: C.value.showTooltip && ce.value,
|
|
1456
1480
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1457
1481
|
color: e.value.style.chart.tooltip.color,
|
|
1458
1482
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -1462,8 +1486,8 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
1462
1486
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
1463
1487
|
position: e.value.style.chart.tooltip.position,
|
|
1464
1488
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
1465
|
-
parent:
|
|
1466
|
-
content:
|
|
1489
|
+
parent: X.value,
|
|
1490
|
+
content: de.value,
|
|
1467
1491
|
isFullscreen: I.value,
|
|
1468
1492
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
|
|
1469
1493
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
@@ -1472,14 +1496,14 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
1472
1496
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
1473
1497
|
}, {
|
|
1474
1498
|
"tooltip-before": f(() => [
|
|
1475
|
-
p(l.$slots, "tooltip-before", z(
|
|
1499
|
+
p(l.$slots, "tooltip-before", T(z({ ...pe.value })), void 0, !0)
|
|
1476
1500
|
]),
|
|
1477
1501
|
"tooltip-after": f(() => [
|
|
1478
|
-
p(l.$slots, "tooltip-after", z(
|
|
1502
|
+
p(l.$slots, "tooltip-after", T(z({ ...pe.value })), void 0, !0)
|
|
1479
1503
|
]),
|
|
1480
1504
|
default: f(() => [
|
|
1481
|
-
e.value.style.chart.tooltip.showShape ? (s(),
|
|
1482
|
-
|
|
1505
|
+
e.value.style.chart.tooltip.showShape ? (s(), n("svg", Sa, [
|
|
1506
|
+
ne(it, {
|
|
1483
1507
|
plot: { x: 10, y: 10 },
|
|
1484
1508
|
shape: se.value.shape,
|
|
1485
1509
|
color: se.value.color,
|
|
@@ -1491,13 +1515,13 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
1491
1515
|
]),
|
|
1492
1516
|
_: 3
|
|
1493
1517
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1494
|
-
|
|
1518
|
+
$e.value && e.value.userOptions.buttons.table ? (s(), E(Gt(te.value.component), jt({ key: 7 }, te.value.props, {
|
|
1495
1519
|
ref_key: "tableUnit",
|
|
1496
|
-
ref:
|
|
1497
|
-
onClose:
|
|
1498
|
-
}),
|
|
1520
|
+
ref: j,
|
|
1521
|
+
onClose: tt
|
|
1522
|
+
}), ut({
|
|
1499
1523
|
content: f(() => [
|
|
1500
|
-
(s(),
|
|
1524
|
+
(s(), E(i($t), {
|
|
1501
1525
|
key: `table_${Te.value}`,
|
|
1502
1526
|
colNames: oe.value.colNames,
|
|
1503
1527
|
head: oe.value.head,
|
|
@@ -1505,15 +1529,15 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
1505
1529
|
config: oe.value.config,
|
|
1506
1530
|
title: e.value.table.useDialog ? "" : te.value.title,
|
|
1507
1531
|
withCloseButton: !e.value.table.useDialog,
|
|
1508
|
-
onClose:
|
|
1532
|
+
onClose: tt
|
|
1509
1533
|
}, {
|
|
1510
1534
|
th: f(({ th: a }) => [
|
|
1511
|
-
|
|
1535
|
+
st(k(a), 1)
|
|
1512
1536
|
]),
|
|
1513
1537
|
td: f(({ td: a }) => [
|
|
1514
|
-
|
|
1538
|
+
d("div", {
|
|
1515
1539
|
innerHTML: a.name || a
|
|
1516
|
-
}, null, 8,
|
|
1540
|
+
}, null, 8, qa)
|
|
1517
1541
|
]),
|
|
1518
1542
|
_: 1
|
|
1519
1543
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -1523,19 +1547,19 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
1523
1547
|
e.value.table.useDialog ? {
|
|
1524
1548
|
name: "title",
|
|
1525
1549
|
fn: f(() => [
|
|
1526
|
-
|
|
1550
|
+
st(k(te.value.title), 1)
|
|
1527
1551
|
]),
|
|
1528
1552
|
key: "0"
|
|
1529
1553
|
} : void 0,
|
|
1530
1554
|
e.value.table.useDialog ? {
|
|
1531
1555
|
name: "actions",
|
|
1532
1556
|
fn: f(() => [
|
|
1533
|
-
|
|
1557
|
+
d("button", {
|
|
1534
1558
|
tabindex: "0",
|
|
1535
1559
|
class: "vue-ui-user-options-button",
|
|
1536
1560
|
onClick: o[13] || (o[13] = (a) => ge(e.value.userOptions.callbacks.csv))
|
|
1537
1561
|
}, [
|
|
1538
|
-
|
|
1562
|
+
ne(i(Ct), {
|
|
1539
1563
|
name: "excel",
|
|
1540
1564
|
stroke: te.value.props.color
|
|
1541
1565
|
}, null, 8, ["stroke"])
|
|
@@ -1544,10 +1568,15 @@ const pl = ["id"], gl = ["id"], ml = ["xmlns", "viewBox", "id"], xl = ["x", "y",
|
|
|
1544
1568
|
key: "1"
|
|
1545
1569
|
} : void 0
|
|
1546
1570
|
]), 1040)) : h("", !0),
|
|
1547
|
-
i(
|
|
1548
|
-
], 46,
|
|
1571
|
+
i(Be) ? (s(), E(fl, { key: 8 })) : h("", !0)
|
|
1572
|
+
], 46, Al));
|
|
1549
1573
|
}
|
|
1550
|
-
},
|
|
1574
|
+
}, za = /* @__PURE__ */ wl(Ta, [["__scopeId", "data-v-99f9ebbe"]]), Qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1575
|
+
__proto__: null,
|
|
1576
|
+
default: za
|
|
1577
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
1551
1578
|
export {
|
|
1552
|
-
|
|
1579
|
+
Ua as a,
|
|
1580
|
+
Qa as b,
|
|
1581
|
+
za as v
|
|
1553
1582
|
};
|