vue-data-ui 3.22.7 → 3.22.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-DaGI9u-b.js → Arrow-DdymhUfY.js} +1 -1
- package/dist/{BaseDraggableDialog-1wwwdwV2.js → BaseDraggableDialog-Av7Uxq5V.js} +2 -2
- package/dist/BaseIcon-UdRAvP2h.js +483 -0
- package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
- package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-BY2KLqs6.js} +2 -2
- package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-DR_ummtM.js} +2 -2
- package/dist/{DataTable-CVF7DoZn.js → DataTable-BxpTMgfK.js} +2 -2
- package/dist/DefGrad-DVBqDjhO.js +48 -0
- package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-B6EG_Sga.js} +3 -3
- package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-D__dRVRA.js} +1 -1
- package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-DsXi7GJ-.js} +3 -3
- package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
- package/dist/{Slicer-6FOtg9py.js → Slicer-CW_XPIKL.js} +369 -364
- package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-CTz41lOu.js} +542 -537
- package/dist/{SparkTooltip-B-qsPj68.js → SparkTooltip-BTLN-Kex.js} +6 -6
- package/dist/{Title-PiTKr6sp.js → Title-CcNiYzEo.js} +1 -1
- package/dist/{Tooltip-B8yYfISA.js → Tooltip-CxOrWlFy.js} +1 -1
- package/dist/{UserOptions-BL9VlHop.js → UserOptions-trvJ26nz.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BZjYWNEg.js → dom-to-png-BbwhsRIr.js} +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +19 -0
- package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
- package/dist/{img-B_abIg0o.js → img-DnP3eXuv.js} +1 -1
- package/dist/{labelUtils-CTDRZdP1.js → labelUtils-DBEh078l.js} +1 -1
- package/dist/{lib-EAmk-PgA.js → lib-JqW18y5I.js} +36 -30
- package/dist/{package-DeMimPej.js → package-ByOT60IK.js} +1 -1
- package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
- package/dist/{render-common-DMai0gHB.js → render-common-D18VrP0h.js} +20 -20
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/utils.d.ts +18 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-CyOGrdD_.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
- package/dist/{useNestedProp-D8XqxgOU.js → useNestedProp-DIuuzG1r.js} +1 -1
- package/dist/{usePrinter-DnGzpp6Q.js → usePrinter-CqqHmnBI.js} +2 -2
- package/dist/utils.js +24 -24
- package/dist/{vue-data-ui-D6qVWloL.js → vue-data-ui-ub3fCh6P.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
- package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-CjAGqEJg.js} +3 -3
- package/dist/vue-ui-age-pyramid-jvQZbF8E.js +1247 -0
- package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-BIucnT0L.js} +67 -67
- package/dist/vue-ui-bullet-CIATzlsk.js +710 -0
- package/dist/vue-ui-bump-D8MxltQE.js +1249 -0
- package/dist/vue-ui-candlestick-DULUMU-Q.js +1840 -0
- package/dist/vue-ui-carousel-table-BSmdexG7.js +455 -0
- package/dist/{vue-ui-chestnut-C3IbAdkQ.js → vue-ui-chestnut-BIh1nQ7q.js} +585 -553
- package/dist/vue-ui-chord-DL1M7cgL.js +1391 -0
- package/dist/{vue-ui-circle-pack-Cq4lkmee.js → vue-ui-circle-pack-C1Pgq6si.js} +424 -418
- package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-d2uLAKTQ.js} +61 -61
- package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-CVh9FpZr.js} +43 -43
- package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-BH0N3ebj.js} +69 -69
- package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-R6wi3J-Y.js} +3 -3
- package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BWDeVzLc.js} +201 -201
- package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-BoZdciGh.js} +825 -816
- package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-CpC9EMro.js} +486 -474
- package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-DGA5Bfnl.js} +520 -486
- package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-CNczKwTh.js} +119 -119
- package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
- package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-v3cTbUiM.js} +342 -342
- package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
- package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-BgmLkZZ2.js} +14 -14
- package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
- package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-dSTh8ah_.js} +163 -163
- package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-N8BqMFVU.js} +572 -561
- package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +1689 -0
- package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BKrUk9o8.js} +4 -4
- package/dist/{vue-ui-mini-loader-DPHzHsM7.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
- package/dist/vue-ui-molecule--kK1JfnP.js +931 -0
- package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-CpBRHQo_.js} +246 -241
- package/dist/vue-ui-nested-donuts-8Ehwcuns.js +1493 -0
- package/dist/vue-ui-onion-Cf6JiYTH.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +1416 -0
- package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-CxU0jiOm.js} +410 -404
- package/dist/vue-ui-quick-chart-BO98uEPl.js +2469 -0
- package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-eH2Qih4_.js} +323 -317
- package/dist/{vue-ui-rating-Bek8Tgr-.js → vue-ui-rating-CN-ZiAES.js} +137 -128
- package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-BIcP-aAt.js} +167 -167
- package/dist/{vue-ui-ridgeline-DIODGiu8.js → vue-ui-ridgeline-ChXHzEJw.js} +538 -532
- package/dist/vue-ui-rings-J990vNbX.js +1252 -0
- package/dist/vue-ui-scatter-BeJB0EKg.js +2422 -0
- package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-DC2bZ0nk.js} +385 -382
- package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-Dyyu1je3.js} +119 -106
- package/dist/vue-ui-spark-trend-CpDX85H3.js +443 -0
- package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
- package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-D0Fo3Hts.js} +79 -74
- package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
- package/dist/{vue-ui-sparkline-BNxdO-Bx.js → vue-ui-sparkline-ApivEMBP.js} +397 -384
- package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DsKQJx_n.js} +207 -195
- package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-Ds4hXATH.js} +595 -588
- package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
- package/dist/vue-ui-strip-plot-C3ZHf4bD.js +1736 -0
- package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-CNXNXXBU.js} +14 -14
- package/dist/vue-ui-table-sparkline-B9JJ4pFF.js +712 -0
- package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-uudidrYt.js} +62 -62
- package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
- package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-5NAWw5BN.js} +94 -89
- package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-Caz_g1c5.js} +13 -13
- package/dist/vue-ui-treemap-F9upPyOI.js +1718 -0
- package/dist/vue-ui-waffle-Bk9AsrPp.js +1368 -0
- package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DD6Q39BA.js} +130 -130
- package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-BZLT5svo.js} +27 -27
- package/dist/vue-ui-world-DbEJN5NA.js +3027 -0
- package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-BYMAITk_.js} +1655 -1629
- package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-Cn9Q8YPr.js} +116 -116
- package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-Dcm2ftwm.js} +58 -58
- package/package.json +1 -1
- package/dist/BaseIcon-_-BX7be3.js +0 -502
- package/dist/exposedLib-Be0ifkti.js +0 -19
- package/dist/vue-ui-3d-bar-CjNuWXoA.js +0 -1757
- package/dist/vue-ui-age-pyramid-CC7Dxli-.js +0 -1238
- package/dist/vue-ui-bullet-Dde6FhbR.js +0 -710
- package/dist/vue-ui-bump-C5pni1JV.js +0 -1249
- package/dist/vue-ui-candlestick-Ctw65O4_.js +0 -1829
- package/dist/vue-ui-carousel-table-BEUvhUH0.js +0 -455
- package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
- package/dist/vue-ui-funnel-BEZUEuuh.js +0 -777
- package/dist/vue-ui-gauge-B1ljgfE1.js +0 -920
- package/dist/vue-ui-horizontal-bar-CTW6l4n3.js +0 -1683
- package/dist/vue-ui-molecule-aD0SMTiX.js +0 -925
- package/dist/vue-ui-nested-donuts--BCPWkl7.js +0 -1487
- package/dist/vue-ui-onion-s4iMCGAP.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +0 -1416
- package/dist/vue-ui-quick-chart-D1OWBgQJ.js +0 -2469
- package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
- package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
- package/dist/vue-ui-spark-trend-DfZeLiWA.js +0 -438
- package/dist/vue-ui-sparkbar-Cl1e49sw.js +0 -393
- package/dist/vue-ui-sparkhistogram-ny_liYa6.js +0 -560
- package/dist/vue-ui-stackline-CdvVPQUM.js +0 -2419
- package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
- package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
- package/dist/vue-ui-thermometer-BUrtIfuo.js +0 -763
- package/dist/vue-ui-treemap-LMWiicop.js +0 -1713
- package/dist/vue-ui-waffle-B_L3gkky.js +0 -1362
- package/dist/vue-ui-world-B7npRmTa.js +0 -14264
|
@@ -1,36 +1,37 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as t, Ct as n, G as r, J as i, Kt as a, Mt as o, Rt as s, S as ee, T as te, U as ne, Wt as re, Z as ie, b as ae, ht as oe, i as c, kt as se, ot as ce, r as le, t as ue, yt as de, zt as fe } from "./lib-JqW18y5I.js";
|
|
3
3
|
import { t as pe } from "./useConfig-DYM3f6EI.js";
|
|
4
|
-
import { t as me } from "./usePrinter-
|
|
4
|
+
import { t as me } from "./usePrinter-CqqHmnBI.js";
|
|
5
5
|
import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as _e } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as ve } from "./useNestedProp-
|
|
7
|
+
import { t as ve } from "./useNestedProp-DIuuzG1r.js";
|
|
8
8
|
import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as be } from "./img-
|
|
10
|
-
import { n as xe } from "./Title-
|
|
11
|
-
import { t as Se } from "./Shape-
|
|
9
|
+
import { t as be } from "./img-DnP3eXuv.js";
|
|
10
|
+
import { n as xe } from "./Title-CcNiYzEo.js";
|
|
11
|
+
import { t as Se } from "./Shape-UpH0a4Ur.js";
|
|
12
12
|
import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { c as we } from "./canvas-lib-BOP_HS11.js";
|
|
14
14
|
import { t as Te } from "./useResponsive-BfnK0KxU.js";
|
|
15
|
-
import { t as Ee } from "./
|
|
16
|
-
import { t as De } from "./
|
|
17
|
-
import { t as Oe } from "./
|
|
18
|
-
import { t as ke } from "./
|
|
19
|
-
import { t as Ae } from "./
|
|
20
|
-
import { t as je } from "./
|
|
21
|
-
import {
|
|
15
|
+
import { t as Ee } from "./DefGrad-DVBqDjhO.js";
|
|
16
|
+
import { t as De } from "./BaseLegendToggle-DWtet-Hh.js";
|
|
17
|
+
import { t as Oe } from "./A11yDataTable-DdRsVULz.js";
|
|
18
|
+
import { t as ke } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
|
+
import { t as Ae } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
+
import { t as je } from "./Legend-ROt6ugzW.js";
|
|
21
|
+
import { t as Me } from "./vue_ui_quadrant-CDSTKTJz.js";
|
|
22
|
+
import { Fragment as l, Teleport as Ne, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Le, nextTick as Re, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as ze, onMounted as Be, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as w, toRefs as Ue, unref as T, watch as We, withCtx as E } from "vue";
|
|
22
23
|
//#region src/components/vue-ui-quadrant.vue
|
|
23
|
-
var
|
|
24
|
+
var Ge = /* @__PURE__ */ e({ default: () => $t }), Ke = ["id"], qe = ["id"], Je = ["id"], Ye = { style: { position: "relative" } }, Xe = [
|
|
24
25
|
"xmlns",
|
|
25
26
|
"aria-describedby",
|
|
26
27
|
"viewBox",
|
|
27
28
|
"id"
|
|
28
|
-
],
|
|
29
|
+
], Ze = [
|
|
29
30
|
"x",
|
|
30
31
|
"y",
|
|
31
32
|
"width",
|
|
32
33
|
"height"
|
|
33
|
-
],
|
|
34
|
+
], Qe = { key: 1 }, $e = [
|
|
34
35
|
"fill",
|
|
35
36
|
"x",
|
|
36
37
|
"y",
|
|
@@ -39,150 +40,150 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
39
40
|
"stroke-width",
|
|
40
41
|
"stroke",
|
|
41
42
|
"rx"
|
|
42
|
-
],
|
|
43
|
+
], et = [
|
|
43
44
|
"x1",
|
|
44
45
|
"y1",
|
|
45
46
|
"x2",
|
|
46
47
|
"y2",
|
|
47
48
|
"stroke",
|
|
48
49
|
"stroke-width"
|
|
49
|
-
],
|
|
50
|
+
], tt = [
|
|
50
51
|
"x1",
|
|
51
52
|
"y1",
|
|
52
53
|
"x2",
|
|
53
54
|
"y2",
|
|
54
55
|
"stroke",
|
|
55
56
|
"stroke-width"
|
|
56
|
-
],
|
|
57
|
+
], nt = { key: 2 }, rt = ["points", "fill"], it = ["points", "fill"], at = ["points", "fill"], ot = ["points", "fill"], st = { key: 3 }, ct = [
|
|
57
58
|
"y",
|
|
58
59
|
"fill",
|
|
59
60
|
"font-size"
|
|
60
|
-
],
|
|
61
|
+
], lt = [
|
|
61
62
|
"x",
|
|
62
63
|
"y",
|
|
63
64
|
"fill",
|
|
64
65
|
"font-size"
|
|
65
|
-
],
|
|
66
|
+
], ut = [
|
|
66
67
|
"x",
|
|
67
68
|
"y",
|
|
68
69
|
"fill",
|
|
69
70
|
"font-size"
|
|
70
|
-
],
|
|
71
|
+
], dt = [
|
|
71
72
|
"y",
|
|
72
73
|
"fill",
|
|
73
74
|
"font-size"
|
|
74
|
-
],
|
|
75
|
+
], ft = { key: 4 }, pt = [
|
|
75
76
|
"x",
|
|
76
77
|
"y",
|
|
77
78
|
"font-size",
|
|
78
79
|
"fill"
|
|
79
|
-
],
|
|
80
|
+
], mt = [
|
|
80
81
|
"x",
|
|
81
82
|
"y",
|
|
82
83
|
"font-size",
|
|
83
84
|
"fill"
|
|
84
|
-
],
|
|
85
|
+
], ht = [
|
|
85
86
|
"x",
|
|
86
87
|
"y",
|
|
87
88
|
"font-size",
|
|
88
89
|
"fill"
|
|
89
|
-
],
|
|
90
|
+
], gt = [
|
|
90
91
|
"id",
|
|
91
92
|
"font-size",
|
|
92
93
|
"transform",
|
|
93
94
|
"fill"
|
|
94
|
-
],
|
|
95
|
+
], _t = [
|
|
95
96
|
"id",
|
|
96
97
|
"font-size",
|
|
97
98
|
"transform",
|
|
98
99
|
"fill"
|
|
99
|
-
],
|
|
100
|
+
], vt = [
|
|
100
101
|
"id",
|
|
101
102
|
"font-size",
|
|
102
103
|
"transform",
|
|
103
104
|
"fill"
|
|
104
|
-
],
|
|
105
|
+
], yt = { key: 5 }, bt = ["fill", "points"], xt = [
|
|
105
106
|
"x",
|
|
106
107
|
"y",
|
|
107
108
|
"width",
|
|
108
109
|
"height"
|
|
109
|
-
],
|
|
110
|
+
], St = [
|
|
110
111
|
"x",
|
|
111
112
|
"y",
|
|
112
113
|
"width",
|
|
113
114
|
"height"
|
|
114
|
-
],
|
|
115
|
+
], Ct = [
|
|
115
116
|
"x",
|
|
116
117
|
"y",
|
|
117
118
|
"width",
|
|
118
119
|
"height"
|
|
119
|
-
],
|
|
120
|
+
], wt = [
|
|
120
121
|
"x",
|
|
121
122
|
"y",
|
|
122
123
|
"width",
|
|
123
124
|
"height"
|
|
124
|
-
],
|
|
125
|
+
], Tt = [
|
|
125
126
|
"x",
|
|
126
127
|
"y",
|
|
127
128
|
"onMouseenter",
|
|
128
129
|
"onMouseleave",
|
|
129
130
|
"onClick"
|
|
130
|
-
],
|
|
131
|
+
], Et = [
|
|
131
132
|
"data-a11y-plot-id",
|
|
132
133
|
"cx",
|
|
133
134
|
"cy",
|
|
134
135
|
"r"
|
|
135
|
-
],
|
|
136
|
+
], Dt = [
|
|
136
137
|
"data-a11y-plot-id",
|
|
137
138
|
"cx",
|
|
138
139
|
"cy",
|
|
139
140
|
"r"
|
|
140
|
-
],
|
|
141
|
+
], Ot = {
|
|
141
142
|
key: 0,
|
|
142
143
|
style: { "pointer-events": "none" }
|
|
143
|
-
},
|
|
144
|
+
}, kt = [
|
|
144
145
|
"x",
|
|
145
146
|
"y",
|
|
146
147
|
"font-size",
|
|
147
148
|
"fill"
|
|
148
|
-
],
|
|
149
|
+
], At = [
|
|
149
150
|
"x",
|
|
150
151
|
"y",
|
|
151
152
|
"font-size",
|
|
152
153
|
"fill",
|
|
153
154
|
"innerHTML"
|
|
154
|
-
],
|
|
155
|
+
], jt = { key: 0 }, Mt = [
|
|
155
156
|
"x",
|
|
156
157
|
"y",
|
|
157
158
|
"onMouseover",
|
|
158
159
|
"onMouseleave",
|
|
159
160
|
"onClick"
|
|
160
|
-
],
|
|
161
|
+
], Nt = {
|
|
161
162
|
key: 8,
|
|
162
163
|
class: "vue-ui-dna"
|
|
163
|
-
},
|
|
164
|
+
}, Pt = ["points", "fill"], Ft = ["points", "fill"], It = ["points", "fill"], Lt = ["points", "fill"], Rt = { key: 9 }, zt = [
|
|
164
165
|
"x",
|
|
165
166
|
"y",
|
|
166
167
|
"font-size",
|
|
167
168
|
"fill",
|
|
168
169
|
"font-weight"
|
|
169
|
-
],
|
|
170
|
+
], Bt = { key: 10 }, Vt = [
|
|
170
171
|
"x",
|
|
171
172
|
"y",
|
|
172
173
|
"fill"
|
|
173
|
-
],
|
|
174
|
+
], Ht = [
|
|
174
175
|
"x",
|
|
175
176
|
"y",
|
|
176
177
|
"fill"
|
|
177
|
-
],
|
|
178
|
+
], Ut = [
|
|
178
179
|
"x",
|
|
179
180
|
"y",
|
|
180
181
|
"fill"
|
|
181
|
-
],
|
|
182
|
+
], Wt = [
|
|
182
183
|
"x",
|
|
183
184
|
"y",
|
|
184
185
|
"fill"
|
|
185
|
-
],
|
|
186
|
+
], Gt = ["stroke", "d"], Kt = ["stroke", "d"], qt = {
|
|
186
187
|
key: 0,
|
|
187
188
|
style: {
|
|
188
189
|
position: "absolute",
|
|
@@ -192,15 +193,15 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
192
193
|
},
|
|
193
194
|
"data-dom-to-png-ignore": "",
|
|
194
195
|
"aria-hidden": "true"
|
|
195
|
-
},
|
|
196
|
+
}, Jt = {
|
|
196
197
|
key: 5,
|
|
197
198
|
class: "vue-data-ui-watermark"
|
|
198
|
-
},
|
|
199
|
+
}, Yt = ["id"], Xt = ["onClick"], Zt = {
|
|
199
200
|
key: 0,
|
|
200
201
|
height: "14",
|
|
201
202
|
width: "14",
|
|
202
203
|
viewBox: "0 0 20 20"
|
|
203
|
-
},
|
|
204
|
+
}, Qt = ["innerHTML"], $t = /*#__PURE__*/ Ce({
|
|
204
205
|
__name: "vue-ui-quadrant",
|
|
205
206
|
props: {
|
|
206
207
|
config: {
|
|
@@ -222,11 +223,11 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
222
223
|
"selectLegend",
|
|
223
224
|
"copyAlt"
|
|
224
225
|
],
|
|
225
|
-
setup(e, { expose: Ce, emit:
|
|
226
|
-
let
|
|
226
|
+
setup(e, { expose: Ce, emit: Ge }) {
|
|
227
|
+
let $t = h(() => import("./Tooltip-CxOrWlFy.js")), en = h(() => import("./BaseIcon-UdRAvP2h.js").then((e) => e.n)), tn = h(() => import("./vue-ui-accordion-CjAGqEJg.js").then((e) => e.n)), nn = h(() => import("./DataTable-BxpTMgfK.js")), rn = h(() => import("./PenAndPaper-DsXi7GJ-.js").then((e) => e.t)), an = h(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), on = h(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), sn = h(() => import("./BaseDraggableDialog-Av7Uxq5V.js").then((e) => e.n)), { vue_ui_quadrant: cn } = pe(), { isThemeValid: ln, warnInvalidTheme: un } = ye(), D = e, dn = u(() => !!D.dataset && D.dataset.length), O = x(r()), fn = Ge, pn = x(!1), mn = x(""), hn = x(0), k = x(!1), A = x(null), gn = x(null), _n = x(null), vn = x(null), yn = x(null), bn = x(0), xn = x(0), Sn = x(0), Cn = x(!1), wn = x(null), Tn = x(null), En = x(!1), Dn = x(!1), j = x(null), On = x(null), kn = x({
|
|
227
228
|
x: 0,
|
|
228
229
|
y: 0
|
|
229
|
-
}),
|
|
230
|
+
}), An = x("pointer"), jn = x(!1), M = x(Rn()), N = u(() => M.value.userOptions.useCursorPointer), Mn = u(() => ({
|
|
230
231
|
defaultConfig: {
|
|
231
232
|
userOptions: { show: !1 },
|
|
232
233
|
table: { show: !1 },
|
|
@@ -253,13 +254,13 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
253
254
|
} }
|
|
254
255
|
},
|
|
255
256
|
userConfig: M.value.skeletonConfig ?? {}
|
|
256
|
-
})), { loading:
|
|
257
|
-
...
|
|
257
|
+
})), { loading: Nn, FINAL_DATASET: Pn } = he({
|
|
258
|
+
...Ue(D),
|
|
258
259
|
FINAL_CONFIG: M,
|
|
259
|
-
prepareConfig:
|
|
260
|
+
prepareConfig: Rn,
|
|
260
261
|
callback: () => {
|
|
261
262
|
Promise.resolve().then(async () => {
|
|
262
|
-
await
|
|
263
|
+
await Re(), R.value.showTable = M.value.table.show;
|
|
263
264
|
});
|
|
264
265
|
},
|
|
265
266
|
skeletonDataset: D.config?.skeletonDataset ?? [{
|
|
@@ -334,20 +335,20 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
334
335
|
}
|
|
335
336
|
]
|
|
336
337
|
}],
|
|
337
|
-
skeletonConfig:
|
|
338
|
+
skeletonConfig: a({
|
|
338
339
|
defaultConfig: M.value,
|
|
339
|
-
userConfig:
|
|
340
|
+
userConfig: Mn.value
|
|
340
341
|
})
|
|
341
|
-
}), { userOptionsVisible:
|
|
342
|
-
function
|
|
342
|
+
}), { userOptionsVisible: Fn, setUserOptionsVisibility: In, keepUserOptionState: Ln } = ke({ config: M.value }), { svgRef: P } = Ae({ config: M.value.style.chart.title });
|
|
343
|
+
function Rn() {
|
|
343
344
|
let e = ve({
|
|
344
345
|
userConfig: D.config,
|
|
345
|
-
defaultConfig:
|
|
346
|
+
defaultConfig: cn
|
|
346
347
|
}), t = e.theme;
|
|
347
348
|
if (!t) return e;
|
|
348
|
-
if (!
|
|
349
|
+
if (!ln.value(e)) return un(e), e;
|
|
349
350
|
let n = ve({
|
|
350
|
-
userConfig:
|
|
351
|
+
userConfig: Me[t] || D.config,
|
|
351
352
|
defaultConfig: e
|
|
352
353
|
}), r = ve({
|
|
353
354
|
userConfig: D.config,
|
|
@@ -355,38 +356,38 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
355
356
|
});
|
|
356
357
|
return {
|
|
357
358
|
...r,
|
|
358
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
359
|
+
customPalette: r.customPalette.length ? r.customPalette : re[t] || o
|
|
359
360
|
};
|
|
360
361
|
}
|
|
361
|
-
|
|
362
|
-
M.value =
|
|
362
|
+
We(() => D.config, (e) => {
|
|
363
|
+
M.value = Rn(), Fn.value = !M.value.userOptions.showOnChartHover, zn(), bn.value += 1, xn.value += 1, Sn.value += 1, R.value.plotLabels.show = M.value.style.chart.layout.labels.plotLabels.show, R.value.showTable = M.value.table.show, R.value.showTooltip = M.value.style.chart.tooltip.show;
|
|
363
364
|
}, { deep: !0 });
|
|
364
|
-
let F =
|
|
365
|
-
function
|
|
366
|
-
if (
|
|
365
|
+
let F = He(null), I = He(null), L = u(() => M.value.debug);
|
|
366
|
+
function zn() {
|
|
367
|
+
if (se(D.dataset) ? t({
|
|
367
368
|
componentName: "VueUiQuadrant",
|
|
368
369
|
type: "dataset",
|
|
369
370
|
debug: L.value
|
|
370
|
-
}) : D.dataset.forEach((e,
|
|
371
|
-
[null, void 0].includes(e.name) &&
|
|
371
|
+
}) : D.dataset.forEach((e, n) => {
|
|
372
|
+
[null, void 0].includes(e.name) && t({
|
|
372
373
|
componentName: "VueUiQuadrant",
|
|
373
374
|
type: "datasetSerieAttribute",
|
|
374
375
|
property: "name",
|
|
375
|
-
index:
|
|
376
|
+
index: n,
|
|
376
377
|
debug: L.value
|
|
377
|
-
}), [null, void 0].includes(e.series) ?
|
|
378
|
+
}), [null, void 0].includes(e.series) ? t({
|
|
378
379
|
componentName: "VueUiQuadrant",
|
|
379
380
|
type: "datasetSerieAttribute",
|
|
380
381
|
property: "series",
|
|
381
|
-
index:
|
|
382
|
+
index: n,
|
|
382
383
|
debug: L.value
|
|
383
|
-
}) : e.series.forEach((e,
|
|
384
|
-
[null, void 0].includes(e.name) &&
|
|
384
|
+
}) : e.series.forEach((e, n) => {
|
|
385
|
+
[null, void 0].includes(e.name) && t({
|
|
385
386
|
componentName: "VueUiQuadrant",
|
|
386
387
|
type: "datasetSerieAttribute",
|
|
387
388
|
property: "name",
|
|
388
389
|
key: "series",
|
|
389
|
-
index:
|
|
390
|
+
index: n,
|
|
390
391
|
debug: L.value
|
|
391
392
|
});
|
|
392
393
|
});
|
|
@@ -394,10 +395,10 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
394
395
|
let e = we(() => {
|
|
395
396
|
let { width: e, height: t } = Te({
|
|
396
397
|
chart: A.value,
|
|
397
|
-
title: M.value.style.chart.title.text ?
|
|
398
|
-
legend: M.value.style.chart.legend.show ?
|
|
399
|
-
source:
|
|
400
|
-
noTitle:
|
|
398
|
+
title: M.value.style.chart.title.text ? gn.value : null,
|
|
399
|
+
legend: M.value.style.chart.legend.show ? _n.value : null,
|
|
400
|
+
source: vn.value,
|
|
401
|
+
noTitle: yn.value
|
|
401
402
|
});
|
|
402
403
|
z.value = 48, requestAnimationFrame(() => {
|
|
403
404
|
B.value.height = t, B.value.usableHeight = t - z.value * 2, B.value.width = e, B.value.usableWidth = e - z.value * 2, B.value.top = z.value, B.value.left = z.value, B.value.right = e - z.value, B.value.bottom = t - z.value, B.value.centerX = e / 2, B.value.centerY = t - t / 2, B.value.padding = z.value;
|
|
@@ -406,16 +407,16 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
406
407
|
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect()), F.value = new ResizeObserver(e), I.value = A.value.parentNode, F.value.observe(I.value);
|
|
407
408
|
}
|
|
408
409
|
}
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
}),
|
|
410
|
+
Be(() => {
|
|
411
|
+
Cn.value = !0, zn();
|
|
412
|
+
}), ze(() => {
|
|
412
413
|
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect());
|
|
413
414
|
});
|
|
414
|
-
let { isPrinting:
|
|
415
|
+
let { isPrinting: Bn, isImaging: Vn, generatePdf: Hn, generateImage: Un } = me({
|
|
415
416
|
elementId: `vue-ui-quadrant_${O.value}`,
|
|
416
417
|
fileName: M.value.style.chart.title.text || "vue-ui-quadrant",
|
|
417
418
|
options: M.value.userOptions.print
|
|
418
|
-
}),
|
|
419
|
+
}), Wn = u(() => M.value.userOptions.show && !M.value.style.chart.title.text), Gn = u(() => ee(M.value.customPalette)), R = x({
|
|
419
420
|
plotLabels: { show: M.value.style.chart.layout.labels.plotLabels.show },
|
|
420
421
|
showTable: M.value.table.show,
|
|
421
422
|
showTooltip: M.value.style.chart.tooltip.show
|
|
@@ -436,7 +437,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
436
437
|
startX: 0,
|
|
437
438
|
startY: 0
|
|
438
439
|
});
|
|
439
|
-
|
|
440
|
+
We(() => B.value, (e) => {
|
|
440
441
|
e && (V.value = {
|
|
441
442
|
...JSON.parse(JSON.stringify(B.value)),
|
|
442
443
|
startX: 0,
|
|
@@ -486,23 +487,23 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
486
487
|
bold: !1
|
|
487
488
|
};
|
|
488
489
|
}
|
|
489
|
-
}),
|
|
490
|
-
function
|
|
491
|
-
H.value &&
|
|
490
|
+
}), Kn = x(null), qn = x(!1);
|
|
491
|
+
function Jn({ targetX: e, targetY: t, targetW: n, targetH: r, side: i }) {
|
|
492
|
+
H.value && _r(i);
|
|
492
493
|
let a = {
|
|
493
494
|
x: e - V.value.startX,
|
|
494
495
|
y: t - V.value.startY,
|
|
495
496
|
w: n - V.value.width,
|
|
496
497
|
h: r - V.value.height
|
|
497
|
-
}, o = M.value.zoomAnimationFrames,
|
|
498
|
-
function
|
|
499
|
-
|
|
498
|
+
}, o = M.value.zoomAnimationFrames, s = 0;
|
|
499
|
+
function ee() {
|
|
500
|
+
qn.value = !0, V.value.startX += a.x / o, V.value.startY += a.y / o, V.value.width += a.w / o, V.value.height += a.h / o, s += 1, s < o ? Kn.value = requestAnimationFrame(ee) : qn.value = !1;
|
|
500
501
|
}
|
|
501
|
-
|
|
502
|
+
ee();
|
|
502
503
|
}
|
|
503
504
|
let W = u(() => M.value.zoomEnabled);
|
|
504
505
|
function G(e) {
|
|
505
|
-
if (W.value && !
|
|
506
|
+
if (W.value && !qn.value) if (k.value && H.value === e) Jn({
|
|
506
507
|
targetX: 0,
|
|
507
508
|
targetY: 0,
|
|
508
509
|
targetW: B.value.width,
|
|
@@ -511,7 +512,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
511
512
|
else {
|
|
512
513
|
switch (H.value = e, e) {
|
|
513
514
|
case "TL":
|
|
514
|
-
|
|
515
|
+
Jn({
|
|
515
516
|
targetX: 0,
|
|
516
517
|
targetY: 0,
|
|
517
518
|
targetW: B.value.width / 2 + B.value.left,
|
|
@@ -520,7 +521,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
520
521
|
});
|
|
521
522
|
break;
|
|
522
523
|
case "TR":
|
|
523
|
-
|
|
524
|
+
Jn({
|
|
524
525
|
targetX: B.value.width / 2 - B.value.left,
|
|
525
526
|
targetY: 0,
|
|
526
527
|
targetW: B.value.width / 2 + B.value.left,
|
|
@@ -529,7 +530,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
529
530
|
});
|
|
530
531
|
break;
|
|
531
532
|
case "BR":
|
|
532
|
-
|
|
533
|
+
Jn({
|
|
533
534
|
targetX: B.value.width / 2 - B.value.left,
|
|
534
535
|
targetY: B.value.height / 2 - B.value.top,
|
|
535
536
|
targetW: B.value.width / 2 + B.value.left,
|
|
@@ -538,7 +539,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
538
539
|
});
|
|
539
540
|
break;
|
|
540
541
|
case "BL":
|
|
541
|
-
|
|
542
|
+
Jn({
|
|
542
543
|
targetX: 0,
|
|
543
544
|
targetY: B.value.height / 2 - B.value.top,
|
|
544
545
|
targetW: B.value.width / 2 + B.value.left,
|
|
@@ -553,7 +554,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
553
554
|
k.value = !0;
|
|
554
555
|
}
|
|
555
556
|
}
|
|
556
|
-
let
|
|
557
|
+
let Yn = u(() => {
|
|
557
558
|
let e = M.value.style.chart.layout.grid.graduations.steps, t = B.value.usableWidth / (e * 2), n = B.value.top, r = [];
|
|
558
559
|
for (let i = 0; i < e; i += 1) r.push({
|
|
559
560
|
x: B.value.padding + t * i,
|
|
@@ -565,7 +566,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
565
566
|
return r;
|
|
566
567
|
}), K = u(() => {
|
|
567
568
|
let e = M.value.style.chart.layout.grid.xAxis.max, t = M.value.style.chart.layout.grid.xAxis.min, n = M.value.style.chart.layout.grid.yAxis.max, r = M.value.style.chart.layout.grid.yAxis.min;
|
|
568
|
-
return M.value.style.chart.layout.grid.xAxis.auto && (e = Math.max(...
|
|
569
|
+
return M.value.style.chart.layout.grid.xAxis.auto && (e = Math.max(...Xn.value.flatMap((e) => e.series.map((e) => e.x))), t = Math.min(...Xn.value.flatMap((e) => e.series.map((e) => e.x)))), M.value.style.chart.layout.grid.yAxis.auto && (n = Math.max(...Xn.value.flatMap((e) => e.series.map((e) => e.y))), r = Math.min(...Xn.value.flatMap((e) => e.series.map((e) => e.y)))), {
|
|
569
570
|
x: {
|
|
570
571
|
max: e,
|
|
571
572
|
min: t
|
|
@@ -575,24 +576,24 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
575
576
|
min: r
|
|
576
577
|
}
|
|
577
578
|
};
|
|
578
|
-
}), q = x([]),
|
|
579
|
+
}), q = x([]), Xn = u(() => Pn.value.map((e, t) => ({
|
|
579
580
|
...e,
|
|
580
|
-
series:
|
|
581
|
+
series: n({
|
|
581
582
|
data: e.series,
|
|
582
583
|
threshold: M.value.downsample.threshold
|
|
583
584
|
}),
|
|
584
585
|
id: `cat_${t}_${O.value}`,
|
|
585
|
-
color:
|
|
586
|
-
}))),
|
|
586
|
+
color: ae(e.color) || Gn.value[t] || o[t]
|
|
587
|
+
}))), Zn = u(() => Xn.value.filter((e) => !q.value.includes(e.id))), Qn = u(() => Xn.value.map((e, t) => ({
|
|
587
588
|
...e,
|
|
588
589
|
shape: e.shape || "circle",
|
|
589
590
|
series: e.series.map((t) => ({
|
|
590
591
|
...t,
|
|
591
|
-
x:
|
|
592
|
-
y:
|
|
592
|
+
x: $n(t.x),
|
|
593
|
+
y: er(t.y),
|
|
593
594
|
xValue: t.x,
|
|
594
595
|
yValue: t.y,
|
|
595
|
-
quadrantSide:
|
|
596
|
+
quadrantSide: lr({
|
|
596
597
|
x: t.x,
|
|
597
598
|
y: t.y
|
|
598
599
|
}),
|
|
@@ -601,46 +602,46 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
601
602
|
shape: e.shape,
|
|
602
603
|
color: e.color
|
|
603
604
|
}))
|
|
604
|
-
}))), J = u(() => (
|
|
605
|
-
e.series.forEach((e,
|
|
606
|
-
[null, void 0].includes(e.x) &&
|
|
605
|
+
}))), J = u(() => (Pn.value.forEach((e, n) => {
|
|
606
|
+
e.series.forEach((e, n) => {
|
|
607
|
+
[null, void 0].includes(e.x) && t({
|
|
607
608
|
componentName: "VueUiQuadrant",
|
|
608
609
|
type: "datasetSerieAttribute",
|
|
609
610
|
property: "x",
|
|
610
611
|
key: "series",
|
|
611
|
-
index:
|
|
612
|
+
index: n,
|
|
612
613
|
debug: L.value
|
|
613
|
-
}), [null, void 0].includes(e.y) &&
|
|
614
|
+
}), [null, void 0].includes(e.y) && t({
|
|
614
615
|
componentName: "VueUiQuadrant",
|
|
615
616
|
type: "datasetSerieAttribute",
|
|
616
617
|
property: "y",
|
|
617
618
|
key: "series",
|
|
618
|
-
index:
|
|
619
|
+
index: n,
|
|
619
620
|
debug: L.value
|
|
620
621
|
});
|
|
621
622
|
});
|
|
622
|
-
}),
|
|
623
|
+
}), Zn.value.map((e, t) => ({
|
|
623
624
|
...e,
|
|
624
625
|
shape: e.shape || "circle",
|
|
625
|
-
color: e.color ||
|
|
626
|
+
color: e.color || Gn.value[t] || o[t],
|
|
626
627
|
series: e.series.map((t) => ({
|
|
627
628
|
...t,
|
|
628
629
|
category: e,
|
|
629
|
-
x:
|
|
630
|
-
y:
|
|
630
|
+
x: $n(t.x),
|
|
631
|
+
y: er(t.y),
|
|
631
632
|
xValue: t.x,
|
|
632
633
|
yValue: t.y,
|
|
633
|
-
quadrantSide:
|
|
634
|
+
quadrantSide: lr({
|
|
634
635
|
x: t.x,
|
|
635
636
|
y: t.y
|
|
636
637
|
}),
|
|
637
638
|
categoryName: e.name,
|
|
638
639
|
shape: e.shape,
|
|
639
640
|
color: e.color,
|
|
640
|
-
uid:
|
|
641
|
+
uid: r()
|
|
641
642
|
}))
|
|
642
643
|
}))));
|
|
643
|
-
function
|
|
644
|
+
function $n(e) {
|
|
644
645
|
if (e >= 0) {
|
|
645
646
|
let t = e / K.value.x.max;
|
|
646
647
|
return B.value.centerX + B.value.usableWidth / 2 * t;
|
|
@@ -649,7 +650,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
649
650
|
return B.value.centerX - B.value.usableWidth / 2 * t;
|
|
650
651
|
}
|
|
651
652
|
}
|
|
652
|
-
function
|
|
653
|
+
function er(e) {
|
|
653
654
|
if (e >= 0) {
|
|
654
655
|
let t = e / K.value.y.max;
|
|
655
656
|
return B.value.centerY + (1 - B.value.usableHeight / 2 * t);
|
|
@@ -658,7 +659,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
658
659
|
return B.value.centerY - (1 - B.value.usableHeight / 2 * t);
|
|
659
660
|
}
|
|
660
661
|
}
|
|
661
|
-
let
|
|
662
|
+
let tr = u(() => {
|
|
662
663
|
let e = J.value.flatMap((e) => e.series.map((t) => ({
|
|
663
664
|
x: t.xValue,
|
|
664
665
|
y: t.yValue,
|
|
@@ -690,19 +691,19 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
690
691
|
})),
|
|
691
692
|
tableData: e
|
|
692
693
|
};
|
|
693
|
-
}),
|
|
694
|
-
let e =
|
|
694
|
+
}), nr = u(() => {
|
|
695
|
+
let e = tr.value.head, t = tr.value.tableData.map((e) => [
|
|
695
696
|
{
|
|
696
697
|
shape: e.shape,
|
|
697
698
|
color: e.color,
|
|
698
699
|
name: e.category
|
|
699
700
|
},
|
|
700
701
|
e.name,
|
|
701
|
-
|
|
702
|
+
c(M.value.style.chart.layout.labels.plotLabels.x.formatter, e.x, i({
|
|
702
703
|
v: e.x,
|
|
703
704
|
r: M.value.style.chart.layout.labels.plotLabels.rounding
|
|
704
705
|
})),
|
|
705
|
-
|
|
706
|
+
c(M.value.style.chart.layout.labels.plotLabels.y.formatter, e.y, i({
|
|
706
707
|
v: e.y,
|
|
707
708
|
r: M.value.style.chart.layout.labels.plotLabels.rounding
|
|
708
709
|
})),
|
|
@@ -728,35 +729,35 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
728
729
|
colNames: e
|
|
729
730
|
};
|
|
730
731
|
});
|
|
731
|
-
function
|
|
732
|
+
function rr() {
|
|
732
733
|
q.value.length ? q.value = [] : Y.value.forEach((e) => {
|
|
733
734
|
q.value.push(e.id);
|
|
734
|
-
}),
|
|
735
|
+
}), fn("selectLegend", vr());
|
|
735
736
|
}
|
|
736
|
-
function
|
|
737
|
-
q.value.includes(e) ? q.value = q.value.filter((t) => t !== e) : q.value.push(e),
|
|
737
|
+
function ir(e) {
|
|
738
|
+
q.value.includes(e) ? q.value = q.value.filter((t) => t !== e) : q.value.push(e), fn("selectLegend", vr());
|
|
738
739
|
}
|
|
739
|
-
let Y = u(() =>
|
|
740
|
+
let Y = u(() => Qn.value.map((e) => ({
|
|
740
741
|
name: e.name,
|
|
741
742
|
shape: e.shape,
|
|
742
743
|
color: e.color,
|
|
743
744
|
id: e.id,
|
|
744
745
|
opacity: q.value.includes(e.id) ? .5 : 1,
|
|
745
|
-
segregate: () =>
|
|
746
|
+
segregate: () => ir(e.id),
|
|
746
747
|
isSegregated: q.value.includes(e.id)
|
|
747
748
|
})));
|
|
748
|
-
function
|
|
749
|
+
function ar(e) {
|
|
749
750
|
return Y.value.length ? Y.value.find((t) => t.name === e) || (M.value.debug && console.warn(`VueUiQuadrant - Series name not found "${e}"`), null) : (M.value.debug && console.warn("VueUiQuadrant - There are no series to show."), null);
|
|
750
751
|
}
|
|
751
|
-
function
|
|
752
|
-
let t =
|
|
753
|
-
t !== null && q.value.includes(t.id) &&
|
|
752
|
+
function or(e) {
|
|
753
|
+
let t = ar(e);
|
|
754
|
+
t !== null && q.value.includes(t.id) && ir(t.id);
|
|
754
755
|
}
|
|
755
|
-
function
|
|
756
|
-
let t =
|
|
757
|
-
t !== null && (q.value.includes(t.id) ||
|
|
756
|
+
function sr(e) {
|
|
757
|
+
let t = ar(e);
|
|
758
|
+
t !== null && (q.value.includes(t.id) || ir(t.id));
|
|
758
759
|
}
|
|
759
|
-
let
|
|
760
|
+
let cr = u(() => ({
|
|
760
761
|
cy: "quadrant-div-legend",
|
|
761
762
|
backgroundColor: M.value.style.chart.legend.backgroundColor,
|
|
762
763
|
color: M.value.style.chart.legend.color,
|
|
@@ -764,7 +765,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
764
765
|
paddingBottom: 12,
|
|
765
766
|
fontWeight: M.value.style.chart.legend.bold ? "bold" : ""
|
|
766
767
|
}));
|
|
767
|
-
function
|
|
768
|
+
function lr(e) {
|
|
768
769
|
switch (!0) {
|
|
769
770
|
case e.x >= 0 && e.y >= 0: return "tr";
|
|
770
771
|
case e.x >= 0 && e.y < 0: return "br";
|
|
@@ -773,40 +774,40 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
773
774
|
default: return "";
|
|
774
775
|
}
|
|
775
776
|
}
|
|
776
|
-
let X = x(null),
|
|
777
|
-
function
|
|
778
|
-
X.value = null,
|
|
777
|
+
let X = x(null), ur = x(null), dr = x(null);
|
|
778
|
+
function fr() {
|
|
779
|
+
X.value = null, ur.value = null, j.value = null, On.value = null, pn.value = !1;
|
|
779
780
|
}
|
|
780
|
-
function
|
|
781
|
+
function pr(e) {
|
|
781
782
|
if (!P.value || !e) return;
|
|
782
783
|
let t = `[data-a11y-plot-id="${e}"]`, n = P.value.querySelector(t);
|
|
783
784
|
if (!n) return;
|
|
784
785
|
let r = n.getBoundingClientRect();
|
|
785
|
-
|
|
786
|
+
kn.value = {
|
|
786
787
|
x: r.left + r.width / 2,
|
|
787
788
|
y: r.top + r.height / 2
|
|
788
789
|
};
|
|
789
790
|
}
|
|
790
|
-
function
|
|
791
|
+
function mr(e, t, n, r = "pointer", a = null) {
|
|
791
792
|
M.value.events.datapointEnter && M.value.events.datapointEnter({
|
|
792
793
|
datapoint: t,
|
|
793
794
|
seriesIndex: n
|
|
794
|
-
}), X.value = t.uid,
|
|
795
|
+
}), X.value = t.uid, ur.value = {
|
|
795
796
|
color: e.color,
|
|
796
797
|
shape: e.shape
|
|
797
|
-
},
|
|
798
|
+
}, An.value = r, j.value = a, On.value = t.uid, dr.value = {
|
|
798
799
|
datapoint: t,
|
|
799
800
|
seriesIndex: n,
|
|
800
801
|
series: J.value,
|
|
801
802
|
config: M.value
|
|
802
803
|
};
|
|
803
|
-
let
|
|
804
|
-
if (de(
|
|
804
|
+
let o = M.value.style.chart.tooltip.customFormat;
|
|
805
|
+
if (de(o) && ce(() => o({
|
|
805
806
|
seriesIndex: n,
|
|
806
807
|
datapoint: t,
|
|
807
808
|
series: J.value,
|
|
808
809
|
config: M.value
|
|
809
|
-
})))
|
|
810
|
+
}))) mn.value = o({
|
|
810
811
|
seriesIndex: n,
|
|
811
812
|
datapoint: t,
|
|
812
813
|
series: J.value,
|
|
@@ -814,37 +815,37 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
814
815
|
});
|
|
815
816
|
else {
|
|
816
817
|
let r = "";
|
|
817
|
-
t.quadrantSide && (r += `<div style="color:${M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].color};font-weight:${M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].bold ? "bold" : "400"}">${M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].text}</div>`), r += `<div>${e.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${M.value.style.chart.tooltip.borderColor};margin-bottom:3px">${t.name}</div>`, r += `<div>${M.value.style.chart.layout.grid.xAxis.name ? M.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${
|
|
818
|
+
t.quadrantSide && (r += `<div style="color:${M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].color};font-weight:${M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].bold ? "bold" : "400"}">${M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].text}</div>`), r += `<div>${e.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${M.value.style.chart.tooltip.borderColor};margin-bottom:3px">${t.name}</div>`, r += `<div>${M.value.style.chart.layout.grid.xAxis.name ? M.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${c(M.value.style.chart.layout.labels.plotLabels.x.formatter, t.xValue, i({
|
|
818
819
|
v: t.xValue,
|
|
819
820
|
r: M.value.style.chart.tooltip.roundingValue
|
|
820
821
|
}), {
|
|
821
822
|
datapoint: t,
|
|
822
823
|
category: e,
|
|
823
824
|
categoryIndex: n
|
|
824
|
-
})}</b></div>`, r += `<div>${M.value.style.chart.layout.grid.yAxis.name ? M.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${
|
|
825
|
+
})}</b></div>`, r += `<div>${M.value.style.chart.layout.grid.yAxis.name ? M.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${c(M.value.style.chart.layout.labels.plotLabels.y.formatter, t.yValue, i({
|
|
825
826
|
v: t.yValue,
|
|
826
827
|
r: M.value.style.chart.tooltip.roundingValue
|
|
827
828
|
}), {
|
|
828
829
|
datapoint: t,
|
|
829
830
|
category: e,
|
|
830
831
|
categoryIndex: n
|
|
831
|
-
})}</b></div>`,
|
|
832
|
+
})}</b></div>`, mn.value = `<div style="text-align:left;font-size:${M.value.style.chart.tooltip.fontSize}px">${r}</div>`;
|
|
832
833
|
}
|
|
833
|
-
r === "keyboard" &&
|
|
834
|
-
|
|
835
|
-
}),
|
|
834
|
+
r === "keyboard" && Re(() => {
|
|
835
|
+
pr(t.uid);
|
|
836
|
+
}), pn.value = !0;
|
|
836
837
|
}
|
|
837
|
-
function
|
|
838
|
+
function hr(e, t) {
|
|
838
839
|
M.value.events.datapointLeave && M.value.events.datapointLeave({
|
|
839
840
|
datapoint: e,
|
|
840
841
|
seriesIndex: t
|
|
841
|
-
}), !(
|
|
842
|
+
}), !(On.value === e.uid && An.value === "keyboard") && (pn.value = !1, X.value = null, ur.value = null);
|
|
842
843
|
}
|
|
843
|
-
function
|
|
844
|
+
function gr(e, t, n) {
|
|
844
845
|
M.value.events.datapointClick && M.value.events.datapointClick({
|
|
845
846
|
datapoint: t,
|
|
846
847
|
seriesIndex: n
|
|
847
|
-
}),
|
|
848
|
+
}), fn("selectPlot", {
|
|
848
849
|
category: e.name,
|
|
849
850
|
shape: e.shape,
|
|
850
851
|
itemName: t.name,
|
|
@@ -854,7 +855,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
854
855
|
sideName: M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].text
|
|
855
856
|
});
|
|
856
857
|
}
|
|
857
|
-
function
|
|
858
|
+
function _r(e) {
|
|
858
859
|
if (!e) return;
|
|
859
860
|
let t = J.value.flatMap((t) => t.series.filter((t) => t.quadrantSide === e).map((e) => ({
|
|
860
861
|
category: e.categoryName,
|
|
@@ -862,7 +863,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
862
863
|
x: e.xValue,
|
|
863
864
|
y: e.yValue
|
|
864
865
|
})));
|
|
865
|
-
|
|
866
|
+
fn("selectSide", {
|
|
866
867
|
quadrantSide: e,
|
|
867
868
|
sideName: M.value.style.chart.layout.labels.quadrantLabels[e].text,
|
|
868
869
|
items: [...t]
|
|
@@ -974,7 +975,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
974
975
|
}
|
|
975
976
|
}
|
|
976
977
|
}));
|
|
977
|
-
function
|
|
978
|
+
function vr() {
|
|
978
979
|
return J.value.map((e) => ({
|
|
979
980
|
color: e.color,
|
|
980
981
|
name: e.name,
|
|
@@ -988,13 +989,13 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
988
989
|
}))
|
|
989
990
|
}));
|
|
990
991
|
}
|
|
991
|
-
function
|
|
992
|
-
|
|
992
|
+
function yr(e = null) {
|
|
993
|
+
Re(() => {
|
|
993
994
|
let t = [
|
|
994
995
|
[M.value.style.chart.title.text],
|
|
995
996
|
[M.value.style.chart.title.subtitle.text],
|
|
996
997
|
[""]
|
|
997
|
-
], n =
|
|
998
|
+
], n = tr.value.head, r = tr.value.body, i = te(t.concat([n]).concat(r));
|
|
998
999
|
e ? e(i) : ie({
|
|
999
1000
|
csvContent: i,
|
|
1000
1001
|
title: M.value.style.chart.title.text || "vue-ui-quadrant"
|
|
@@ -1002,23 +1003,23 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1002
1003
|
});
|
|
1003
1004
|
}
|
|
1004
1005
|
let Q = x(!1);
|
|
1005
|
-
function
|
|
1006
|
-
Q.value = e,
|
|
1006
|
+
function br(e) {
|
|
1007
|
+
Q.value = e, hn.value += 1;
|
|
1007
1008
|
}
|
|
1008
|
-
function
|
|
1009
|
+
function xr() {
|
|
1009
1010
|
R.value.showTable = !R.value.showTable;
|
|
1010
1011
|
}
|
|
1011
|
-
function
|
|
1012
|
+
function Sr() {
|
|
1012
1013
|
R.value.plotLabels.show = !R.value.plotLabels.show;
|
|
1013
1014
|
}
|
|
1014
|
-
function
|
|
1015
|
+
function Cr() {
|
|
1015
1016
|
R.value.showTooltip = !R.value.showTooltip;
|
|
1016
1017
|
}
|
|
1017
|
-
let
|
|
1018
|
-
function
|
|
1019
|
-
|
|
1018
|
+
let wr = x(!1);
|
|
1019
|
+
function Tr() {
|
|
1020
|
+
wr.value = !wr.value;
|
|
1020
1021
|
}
|
|
1021
|
-
async function
|
|
1022
|
+
async function Er({ scale: e = 2 } = {}) {
|
|
1022
1023
|
if (!A.value) return;
|
|
1023
1024
|
let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await be({
|
|
1024
1025
|
domElement: A.value,
|
|
@@ -1035,10 +1036,10 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1035
1036
|
aspectRatio: r
|
|
1036
1037
|
};
|
|
1037
1038
|
}
|
|
1038
|
-
let
|
|
1039
|
+
let Dr = u(() => {
|
|
1039
1040
|
let e = M.value.table.useDialog && !M.value.table.show, t = R.value.showTable;
|
|
1040
1041
|
return {
|
|
1041
|
-
component: e ?
|
|
1042
|
+
component: e ? sn : tn,
|
|
1042
1043
|
title: `${M.value.style.chart.title.text}${M.value.style.chart.title.subtitle.text ? `: ${M.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1043
1044
|
props: e ? {
|
|
1044
1045
|
backgroundColor: M.value.table.th.backgroundColor,
|
|
@@ -1066,128 +1067,128 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1066
1067
|
}
|
|
1067
1068
|
};
|
|
1068
1069
|
});
|
|
1069
|
-
|
|
1070
|
-
M.value.table.show || (e && M.value.table.useDialog &&
|
|
1070
|
+
We(() => R.value.showTable, (e) => {
|
|
1071
|
+
M.value.table.show || (e && M.value.table.useDialog && wn.value ? wn.value.open() : "close" in wn.value && wn.value.close());
|
|
1071
1072
|
});
|
|
1072
|
-
function
|
|
1073
|
-
R.value.showTable = !1,
|
|
1073
|
+
function Or() {
|
|
1074
|
+
R.value.showTable = !1, Tn.value && Tn.value.setTableIconState(!1);
|
|
1074
1075
|
}
|
|
1075
|
-
let
|
|
1076
|
+
let kr = u(() => M.value.style.chart.backgroundColor), Ar = u(() => M.value.style.chart.legend), { exportSvg: jr, getSvg: Mr } = _e({
|
|
1076
1077
|
svg: P,
|
|
1077
1078
|
title: u(() => M.value.style.chart.title),
|
|
1078
|
-
legend:
|
|
1079
|
+
legend: Ar,
|
|
1079
1080
|
legendItems: Y,
|
|
1080
|
-
backgroundColor:
|
|
1081
|
+
backgroundColor: kr
|
|
1081
1082
|
});
|
|
1082
|
-
async function
|
|
1083
|
-
|
|
1083
|
+
async function Nr({ isCb: e }) {
|
|
1084
|
+
Dn.value = !0, await Re();
|
|
1084
1085
|
try {
|
|
1085
1086
|
if (e) {
|
|
1086
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
1087
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await Mr();
|
|
1087
1088
|
await Promise.resolve(M.value.userOptions.callbacks.svg({
|
|
1088
1089
|
blob: e,
|
|
1089
1090
|
url: t,
|
|
1090
1091
|
text: n,
|
|
1091
1092
|
dataUrl: r
|
|
1092
1093
|
}));
|
|
1093
|
-
} else await Promise.resolve(
|
|
1094
|
+
} else await Promise.resolve(jr());
|
|
1094
1095
|
} finally {
|
|
1095
|
-
|
|
1096
|
+
Dn.value = !1;
|
|
1096
1097
|
}
|
|
1097
1098
|
}
|
|
1098
|
-
function
|
|
1099
|
+
function Pr(e) {
|
|
1099
1100
|
if (e?.stage === "start") {
|
|
1100
|
-
|
|
1101
|
+
En.value = !0;
|
|
1101
1102
|
return;
|
|
1102
1103
|
}
|
|
1103
1104
|
if (e?.stage === "end") {
|
|
1104
|
-
|
|
1105
|
+
En.value = !1;
|
|
1105
1106
|
return;
|
|
1106
1107
|
}
|
|
1107
|
-
|
|
1108
|
+
Un();
|
|
1108
1109
|
}
|
|
1109
|
-
async function
|
|
1110
|
-
if (
|
|
1110
|
+
async function Fr() {
|
|
1111
|
+
if (fn("copyAlt", {
|
|
1111
1112
|
config: M.value,
|
|
1112
|
-
dataset:
|
|
1113
|
+
dataset: Zn.value
|
|
1113
1114
|
}), !M.value.userOptions.callbacks.altCopy) {
|
|
1114
1115
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
1115
1116
|
return;
|
|
1116
1117
|
}
|
|
1117
1118
|
await Promise.resolve(M.value.userOptions.callbacks.altCopy({
|
|
1118
1119
|
config: M.value,
|
|
1119
|
-
dataset:
|
|
1120
|
+
dataset: Zn.value
|
|
1120
1121
|
}));
|
|
1121
1122
|
}
|
|
1122
|
-
function
|
|
1123
|
-
j.value = null,
|
|
1123
|
+
function Ir() {
|
|
1124
|
+
j.value = null, On.value = null, jn.value = !0;
|
|
1124
1125
|
}
|
|
1125
|
-
function
|
|
1126
|
-
|
|
1126
|
+
function Lr() {
|
|
1127
|
+
fr(), jn.value = !1;
|
|
1127
1128
|
}
|
|
1128
|
-
function
|
|
1129
|
-
if (!P.value ||
|
|
1129
|
+
function Rr(e) {
|
|
1130
|
+
if (!P.value || wr.value || document.activeElement !== P.value || !$.value.length) return;
|
|
1130
1131
|
let t = e.key === "ArrowLeft" || e.key === "ArrowUp", n = e.key === "ArrowRight" || e.key === "ArrowDown", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
1131
1132
|
if (!t && !n && !r && !i) return;
|
|
1132
1133
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
1133
|
-
|
|
1134
|
+
fr();
|
|
1134
1135
|
return;
|
|
1135
1136
|
}
|
|
1136
1137
|
if (r) {
|
|
1137
1138
|
if (j.value === null) return;
|
|
1138
1139
|
let e = $.value[j.value];
|
|
1139
1140
|
if (!e) return;
|
|
1140
|
-
|
|
1141
|
+
gr(e.category, e.plot, e.categoryIndex);
|
|
1141
1142
|
return;
|
|
1142
1143
|
}
|
|
1143
|
-
let a = j.value, o = X.value ? $.value.findIndex((e) => e.plot.uid === X.value) : null,
|
|
1144
|
-
|
|
1145
|
-
let
|
|
1146
|
-
|
|
1144
|
+
let a = j.value, o = X.value ? $.value.findIndex((e) => e.plot.uid === X.value) : null, s = a !== null && a >= 0 && a < $.value.length, ee = o !== null && o >= 0 && o < $.value.length;
|
|
1145
|
+
s ? (a += n ? 1 : -1, a < 0 && (a = $.value.length - 1), a >= $.value.length && (a = 0)) : ee ? (a = n ? o + 1 : o - 1, a >= $.value.length && (a = 0), a < 0 && (a = $.value.length - 1)) : a = n ? 0 : $.value.length - 1;
|
|
1146
|
+
let te = $.value[a];
|
|
1147
|
+
te && mr(te.category, te.plot, te.categoryIndex, "keyboard", a);
|
|
1147
1148
|
}
|
|
1148
|
-
let
|
|
1149
|
-
headers:
|
|
1150
|
-
rows:
|
|
1149
|
+
let zr = u(() => ({
|
|
1150
|
+
headers: nr.value?.colNames ?? [],
|
|
1151
|
+
rows: nr.value?.a11yBody ?? []
|
|
1151
1152
|
})), $ = u(() => J.value.flatMap((e, t) => e.series.map((n) => ({
|
|
1152
1153
|
category: e,
|
|
1153
1154
|
plot: n,
|
|
1154
1155
|
categoryIndex: t
|
|
1155
1156
|
}))));
|
|
1156
1157
|
return Ce({
|
|
1157
|
-
getData:
|
|
1158
|
-
getImage:
|
|
1159
|
-
generatePdf:
|
|
1160
|
-
generateCsv:
|
|
1161
|
-
generateImage:
|
|
1162
|
-
generateSvg:
|
|
1163
|
-
hideSeries:
|
|
1164
|
-
showSeries:
|
|
1165
|
-
toggleTable:
|
|
1166
|
-
toggleLabels:
|
|
1167
|
-
toggleTooltip:
|
|
1168
|
-
toggleAnnotator:
|
|
1169
|
-
toggleFullscreen:
|
|
1170
|
-
copyAlt:
|
|
1158
|
+
getData: vr,
|
|
1159
|
+
getImage: Er,
|
|
1160
|
+
generatePdf: Hn,
|
|
1161
|
+
generateCsv: yr,
|
|
1162
|
+
generateImage: Un,
|
|
1163
|
+
generateSvg: Nr,
|
|
1164
|
+
hideSeries: sr,
|
|
1165
|
+
showSeries: or,
|
|
1166
|
+
toggleTable: xr,
|
|
1167
|
+
toggleLabels: Sr,
|
|
1168
|
+
toggleTooltip: Cr,
|
|
1169
|
+
toggleAnnotator: Tr,
|
|
1170
|
+
toggleFullscreen: br,
|
|
1171
|
+
copyAlt: Fr
|
|
1171
1172
|
}), (e, t) => (b(), p("div", {
|
|
1172
1173
|
class: _(`vue-data-ui-component vue-ui-quadrant ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1173
1174
|
ref_key: "quadrantChart",
|
|
1174
1175
|
ref: A,
|
|
1175
1176
|
id: `vue-ui-quadrant_${O.value}`,
|
|
1176
1177
|
style: y(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${M.value.style.chart.backgroundColor};${M.value.responsive ? "height: 100%" : ""}`),
|
|
1177
|
-
onMouseenter: t[14] ||= () => T(
|
|
1178
|
+
onMouseenter: t[14] ||= () => T(In)(!0),
|
|
1178
1179
|
onMouseleave: t[15] ||= () => {
|
|
1179
|
-
T(
|
|
1180
|
+
T(In)(!1), jn.value || fr();
|
|
1180
1181
|
}
|
|
1181
1182
|
}, [
|
|
1182
1183
|
m("div", {
|
|
1183
1184
|
id: `chart-instructions-${O.value}`,
|
|
1184
1185
|
class: "sr-only"
|
|
1185
|
-
}, [m("p", null, w(M.value.a11y.translations.keyboardNavigation), 1)], 8,
|
|
1186
|
-
|
|
1186
|
+
}, [m("p", null, w(M.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
|
|
1187
|
+
zr.value?.rows?.length ? (b(), d(Oe, {
|
|
1187
1188
|
key: 0,
|
|
1188
1189
|
uid: O.value,
|
|
1189
|
-
head:
|
|
1190
|
-
body:
|
|
1190
|
+
head: zr.value.headers,
|
|
1191
|
+
body: zr.value.rows,
|
|
1191
1192
|
notice: M.value.a11y.translations.tableAvailable,
|
|
1192
1193
|
caption: M.value.a11y.translations.tableCaption
|
|
1193
1194
|
}, null, 8, [
|
|
@@ -1197,14 +1198,14 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1197
1198
|
"notice",
|
|
1198
1199
|
"caption"
|
|
1199
1200
|
])) : f("", !0),
|
|
1200
|
-
M.value.userOptions.buttons.annotator ? (b(), d(T(
|
|
1201
|
+
M.value.userOptions.buttons.annotator ? (b(), d(T(rn), {
|
|
1201
1202
|
key: 1,
|
|
1202
1203
|
svgRef: T(P),
|
|
1203
1204
|
backgroundColor: M.value.style.chart.backgroundColor,
|
|
1204
1205
|
color: M.value.style.chart.color,
|
|
1205
|
-
active:
|
|
1206
|
+
active: wr.value,
|
|
1206
1207
|
isCursorPointer: N.value,
|
|
1207
|
-
onClose:
|
|
1208
|
+
onClose: Tr
|
|
1208
1209
|
}, {
|
|
1209
1210
|
"annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1210
1211
|
"annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
|
|
@@ -1220,20 +1221,20 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1220
1221
|
"active",
|
|
1221
1222
|
"isCursorPointer"
|
|
1222
1223
|
])) : f("", !0),
|
|
1223
|
-
|
|
1224
|
+
Wn.value ? (b(), p("div", {
|
|
1224
1225
|
key: 2,
|
|
1225
1226
|
ref_key: "noTitle",
|
|
1226
|
-
ref:
|
|
1227
|
+
ref: yn,
|
|
1227
1228
|
class: "vue-data-ui-no-title-space",
|
|
1228
1229
|
style: "height:36px; width: 100%;background:transparent"
|
|
1229
1230
|
}, null, 512)) : f("", !0),
|
|
1230
1231
|
M.value.style.chart.title.text ? (b(), p("div", {
|
|
1231
1232
|
key: 3,
|
|
1232
1233
|
ref_key: "chartTitle",
|
|
1233
|
-
ref:
|
|
1234
|
+
ref: gn,
|
|
1234
1235
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
1235
1236
|
}, [(b(), d(xe, {
|
|
1236
|
-
key: `table_${
|
|
1237
|
+
key: `table_${bn.value}`,
|
|
1237
1238
|
config: {
|
|
1238
1239
|
title: {
|
|
1239
1240
|
cy: "quadrant-title",
|
|
@@ -1245,15 +1246,15 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1245
1246
|
}
|
|
1246
1247
|
}
|
|
1247
1248
|
}, null, 8, ["config"]))], 512)) : f("", !0),
|
|
1248
|
-
m("div", { id: `legend-top-${O.value}` }, null, 8,
|
|
1249
|
-
M.value.userOptions.show &&
|
|
1249
|
+
m("div", { id: `legend-top-${O.value}` }, null, 8, Je),
|
|
1250
|
+
M.value.userOptions.show && dn.value && (T(Ln) || T(Fn)) ? (b(), d(T(an), {
|
|
1250
1251
|
ref_key: "userOptionsRef",
|
|
1251
|
-
ref:
|
|
1252
|
-
key: `user_options_${
|
|
1252
|
+
ref: Tn,
|
|
1253
|
+
key: `user_options_${hn.value}`,
|
|
1253
1254
|
backgroundColor: M.value.style.chart.backgroundColor,
|
|
1254
1255
|
color: M.value.style.chart.color,
|
|
1255
|
-
isImaging: T(
|
|
1256
|
-
isPrinting: T(
|
|
1256
|
+
isImaging: T(Vn),
|
|
1257
|
+
isPrinting: T(Bn),
|
|
1257
1258
|
uid: O.value,
|
|
1258
1259
|
hasTooltip: M.value.userOptions.buttons.tooltip && M.value.style.chart.tooltip.show,
|
|
1259
1260
|
hasPdf: M.value.userOptions.buttons.pdf,
|
|
@@ -1270,23 +1271,23 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1270
1271
|
chartElement: A.value,
|
|
1271
1272
|
position: M.value.userOptions.position,
|
|
1272
1273
|
hasAnnotator: M.value.userOptions.buttons.annotator,
|
|
1273
|
-
isAnnotation:
|
|
1274
|
+
isAnnotation: wr.value,
|
|
1274
1275
|
callbacks: M.value.userOptions.callbacks,
|
|
1275
1276
|
printScale: M.value.userOptions.print.scale,
|
|
1276
1277
|
tableDialog: M.value.table.useDialog,
|
|
1277
1278
|
isCursorPointer: N.value,
|
|
1278
|
-
onToggleFullscreen:
|
|
1279
|
-
onGeneratePdf: T(
|
|
1280
|
-
onGenerateCsv:
|
|
1281
|
-
onGenerateImage:
|
|
1282
|
-
onGenerateSvg:
|
|
1283
|
-
onToggleTable:
|
|
1284
|
-
onToggleLabels:
|
|
1285
|
-
onToggleTooltip:
|
|
1286
|
-
onToggleAnnotator:
|
|
1287
|
-
onCopyAlt:
|
|
1288
|
-
style: y({ visibility: T(
|
|
1289
|
-
},
|
|
1279
|
+
onToggleFullscreen: br,
|
|
1280
|
+
onGeneratePdf: T(Hn),
|
|
1281
|
+
onGenerateCsv: yr,
|
|
1282
|
+
onGenerateImage: Pr,
|
|
1283
|
+
onGenerateSvg: Nr,
|
|
1284
|
+
onToggleTable: xr,
|
|
1285
|
+
onToggleLabels: Sr,
|
|
1286
|
+
onToggleTooltip: Cr,
|
|
1287
|
+
onToggleAnnotator: Tr,
|
|
1288
|
+
onCopyAlt: Fr,
|
|
1289
|
+
style: y({ visibility: T(Ln) ? T(Fn) ? "visible" : "hidden" : "visible" })
|
|
1290
|
+
}, Pe({ _: 2 }, [
|
|
1290
1291
|
e.$slots.menuIcon ? {
|
|
1291
1292
|
name: "menuIcon",
|
|
1292
1293
|
fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", v(g({
|
|
@@ -1362,7 +1363,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1362
1363
|
key: "12"
|
|
1363
1364
|
} : void 0
|
|
1364
1365
|
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : f("", !0),
|
|
1365
|
-
m("div",
|
|
1366
|
+
m("div", Ye, [(b(), p("svg", {
|
|
1366
1367
|
ref_key: "svgRef",
|
|
1367
1368
|
ref: P,
|
|
1368
1369
|
xmlns: T(ue),
|
|
@@ -1375,11 +1376,11 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1375
1376
|
style: y(`max-width:100%;overflow:hidden;background:transparent;color:${M.value.style.chart.color}`),
|
|
1376
1377
|
id: `svg_${O.value}`,
|
|
1377
1378
|
tabindex: "0",
|
|
1378
|
-
onFocus:
|
|
1379
|
-
onBlur:
|
|
1380
|
-
onKeydown:
|
|
1379
|
+
onFocus: Ir,
|
|
1380
|
+
onBlur: Lr,
|
|
1381
|
+
onKeydown: Rr
|
|
1381
1382
|
}, [
|
|
1382
|
-
|
|
1383
|
+
Ie(T(on)),
|
|
1383
1384
|
e.$slots["chart-background"] ? (b(), p("foreignObject", {
|
|
1384
1385
|
key: 0,
|
|
1385
1386
|
x: V.value.startX,
|
|
@@ -1387,23 +1388,28 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1387
1388
|
width: V.value.width,
|
|
1388
1389
|
height: V.value.height,
|
|
1389
1390
|
style: { pointerEvents: "none" }
|
|
1390
|
-
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8,
|
|
1391
|
-
m("defs", null, [(b(!0), p(l, null, S(J.value, (e, t) => (b(),
|
|
1391
|
+
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Ze)) : f("", !0),
|
|
1392
|
+
m("defs", null, [(b(!0), p(l, null, S(J.value, (e, t) => (b(), d(Ee, {
|
|
1393
|
+
t: "radial",
|
|
1392
1394
|
cx: "50%",
|
|
1393
1395
|
cy: "50%",
|
|
1394
1396
|
r: "50%",
|
|
1395
1397
|
fx: "50%",
|
|
1396
1398
|
fy: "50%",
|
|
1397
|
-
id: `quadrant_gradient_${O.value}_${t}
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1399
|
+
id: `quadrant_gradient_${O.value}_${t}`,
|
|
1400
|
+
key: `quadrant_gradient_${O.value}_${t}`,
|
|
1401
|
+
stops: [[
|
|
1402
|
+
"0%",
|
|
1403
|
+
T(s)(T(fe)(e.color, .05), M.value.style.chart.layout.areas.opacity),
|
|
1404
|
+
1
|
|
1405
|
+
], [
|
|
1406
|
+
"100%",
|
|
1407
|
+
T(s)(e.color, M.value.style.chart.layout.areas.opacity),
|
|
1408
|
+
1
|
|
1409
|
+
]]
|
|
1410
|
+
}, null, 8, ["id", "stops"]))), 128))]),
|
|
1411
|
+
M.value.style.chart.layout.grid.graduations.show ? (b(), p("g", Qe, [(b(!0), p(l, null, S(Yn.value, (e) => (b(), p("rect", {
|
|
1412
|
+
fill: M.value.style.chart.layout.grid.graduations.fill ? T(s)(M.value.style.chart.layout.grid.graduations.color, e.opacity) : "none",
|
|
1407
1413
|
x: e.x,
|
|
1408
1414
|
y: e.y,
|
|
1409
1415
|
height: e.height <= 0 ? .001 : e.height,
|
|
@@ -1411,7 +1417,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1411
1417
|
"stroke-width": M.value.style.chart.layout.grid.graduations.strokeWidth,
|
|
1412
1418
|
stroke: M.value.style.chart.layout.grid.graduations.stroke,
|
|
1413
1419
|
rx: M.value.style.chart.layout.grid.graduations.roundingForce
|
|
1414
|
-
}, null, 8,
|
|
1420
|
+
}, null, 8, $e))), 256))])) : f("", !0),
|
|
1415
1421
|
m("line", {
|
|
1416
1422
|
x1: B.value.left,
|
|
1417
1423
|
y1: B.value.centerY,
|
|
@@ -1419,7 +1425,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1419
1425
|
y2: B.value.centerY,
|
|
1420
1426
|
stroke: M.value.style.chart.layout.grid.stroke,
|
|
1421
1427
|
"stroke-width": M.value.style.chart.layout.grid.strokeWidth
|
|
1422
|
-
}, null, 8,
|
|
1428
|
+
}, null, 8, et),
|
|
1423
1429
|
m("line", {
|
|
1424
1430
|
x1: B.value.centerX,
|
|
1425
1431
|
y1: B.value.top,
|
|
@@ -1427,30 +1433,30 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1427
1433
|
y2: B.value.bottom,
|
|
1428
1434
|
stroke: M.value.style.chart.layout.grid.stroke,
|
|
1429
1435
|
"stroke-width": M.value.style.chart.layout.grid.strokeWidth
|
|
1430
|
-
}, null, 8,
|
|
1431
|
-
M.value.style.chart.layout.grid.showArrows ? (b(), p("g",
|
|
1436
|
+
}, null, 8, tt),
|
|
1437
|
+
M.value.style.chart.layout.grid.showArrows ? (b(), p("g", nt, [
|
|
1432
1438
|
m("polygon", {
|
|
1433
1439
|
points: `${B.value.right - 8},${B.value.centerY - 6} ${B.value.right},${B.value.centerY} ${B.value.right - 8},${B.value.centerY + 6}`,
|
|
1434
1440
|
fill: M.value.style.chart.layout.grid.stroke,
|
|
1435
1441
|
stroke: "none"
|
|
1436
|
-
}, null, 8,
|
|
1442
|
+
}, null, 8, rt),
|
|
1437
1443
|
m("polygon", {
|
|
1438
1444
|
points: `${B.value.left + 8},${B.value.centerY - 6} ${B.value.left},${B.value.centerY} ${B.value.left + 8},${B.value.centerY + 6}`,
|
|
1439
1445
|
fill: M.value.style.chart.layout.grid.stroke,
|
|
1440
1446
|
stroke: "none"
|
|
1441
|
-
}, null, 8,
|
|
1447
|
+
}, null, 8, it),
|
|
1442
1448
|
m("polygon", {
|
|
1443
1449
|
points: `${B.value.centerX - 6},${B.value.top + 8} ${B.value.centerX},${B.value.top} ${B.value.centerX + 6},${B.value.top + 8}`,
|
|
1444
1450
|
fill: M.value.style.chart.layout.grid.stroke,
|
|
1445
1451
|
stroke: "none"
|
|
1446
|
-
}, null, 8,
|
|
1452
|
+
}, null, 8, at),
|
|
1447
1453
|
m("polygon", {
|
|
1448
1454
|
points: `${B.value.centerX - 6},${B.value.bottom - 8} ${B.value.centerX},${B.value.bottom} ${B.value.centerX + 6},${B.value.bottom - 8}`,
|
|
1449
1455
|
fill: M.value.style.chart.layout.grid.stroke,
|
|
1450
1456
|
stroke: "none"
|
|
1451
|
-
}, null, 8,
|
|
1457
|
+
}, null, 8, ot)
|
|
1452
1458
|
])) : f("", !0),
|
|
1453
|
-
M.value.style.chart.layout.labels.quadrantLabels.show && !k.value ? (b(), p("g",
|
|
1459
|
+
M.value.style.chart.layout.labels.quadrantLabels.show && !k.value ? (b(), p("g", st, [
|
|
1454
1460
|
M.value.style.chart.layout.labels.quadrantLabels.tl.text ? (b(), p("text", {
|
|
1455
1461
|
key: 0,
|
|
1456
1462
|
x: 0,
|
|
@@ -1459,8 +1465,8 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1459
1465
|
fill: M.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
1460
1466
|
"font-size": M.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
1461
1467
|
style: y(`font-weight:${M.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
1462
|
-
onClick: t[0] ||= (e) =>
|
|
1463
|
-
}, w(M.value.style.chart.layout.labels.quadrantLabels.tl.text), 13,
|
|
1468
|
+
onClick: t[0] ||= (e) => _r("tl")
|
|
1469
|
+
}, w(M.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, ct)) : f("", !0),
|
|
1464
1470
|
M.value.style.chart.layout.labels.quadrantLabels.tr.text ? (b(), p("text", {
|
|
1465
1471
|
key: 1,
|
|
1466
1472
|
x: B.value.width,
|
|
@@ -1469,8 +1475,8 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1469
1475
|
fill: M.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
1470
1476
|
"font-size": M.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
1471
1477
|
style: y(`font-weight:${M.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
1472
|
-
onClick: t[1] ||= (e) =>
|
|
1473
|
-
}, w(M.value.style.chart.layout.labels.quadrantLabels.tr.text), 13,
|
|
1478
|
+
onClick: t[1] ||= (e) => _r("tr")
|
|
1479
|
+
}, w(M.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, lt)) : f("", !0),
|
|
1474
1480
|
M.value.style.chart.layout.labels.quadrantLabels.br.text ? (b(), p("text", {
|
|
1475
1481
|
key: 2,
|
|
1476
1482
|
x: B.value.width,
|
|
@@ -1479,8 +1485,8 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1479
1485
|
fill: M.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
1480
1486
|
"font-size": M.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
1481
1487
|
style: y(`font-weight:${M.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
1482
|
-
onClick: t[2] ||= (e) =>
|
|
1483
|
-
}, w(M.value.style.chart.layout.labels.quadrantLabels.br.text), 13,
|
|
1488
|
+
onClick: t[2] ||= (e) => _r("br")
|
|
1489
|
+
}, w(M.value.style.chart.layout.labels.quadrantLabels.br.text), 13, ut)) : f("", !0),
|
|
1484
1490
|
M.value.style.chart.layout.labels.quadrantLabels.bl.text ? (b(), p("text", {
|
|
1485
1491
|
key: 3,
|
|
1486
1492
|
x: 0,
|
|
@@ -1489,10 +1495,10 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1489
1495
|
fill: M.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
1490
1496
|
"font-size": M.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
1491
1497
|
style: y(`font-weight:${M.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
1492
|
-
onClick: t[3] ||= (e) =>
|
|
1493
|
-
}, w(M.value.style.chart.layout.labels.quadrantLabels.bl.text), 13,
|
|
1498
|
+
onClick: t[3] ||= (e) => _r("bl")
|
|
1499
|
+
}, w(M.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, dt)) : f("", !0)
|
|
1494
1500
|
])) : f("", !0),
|
|
1495
|
-
M.value.style.chart.layout.labels.axisLabels.show ? (b(), p("g",
|
|
1501
|
+
M.value.style.chart.layout.labels.axisLabels.show ? (b(), p("g", ft, [
|
|
1496
1502
|
M.value.style.chart.layout.grid.yAxis.show ? (b(), p("text", {
|
|
1497
1503
|
key: 0,
|
|
1498
1504
|
x: B.value.centerX,
|
|
@@ -1500,17 +1506,17 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1500
1506
|
"text-anchor": "middle",
|
|
1501
1507
|
"font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1502
1508
|
fill: M.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1503
|
-
}, w(T(
|
|
1509
|
+
}, w(T(c)(M.value.style.chart.layout.labels.plotLabels.y.formatter, K.value.y.max, T(i)({
|
|
1504
1510
|
v: K.value.y.max,
|
|
1505
1511
|
r: M.value.style.chart.layout.labels.plotLabels.rounding
|
|
1506
|
-
}))), 9,
|
|
1512
|
+
}))), 9, pt)) : f("", !0),
|
|
1507
1513
|
m("text", {
|
|
1508
1514
|
x: B.value.centerX,
|
|
1509
1515
|
y: B.value.top - B.value.padding / 2,
|
|
1510
1516
|
"text-anchor": "middle",
|
|
1511
1517
|
"font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1512
1518
|
fill: M.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1513
|
-
}, w(M.value.style.chart.layout.grid.yAxis.name), 9,
|
|
1519
|
+
}, w(M.value.style.chart.layout.grid.yAxis.name), 9, mt),
|
|
1514
1520
|
M.value.style.chart.layout.grid.yAxis.show ? (b(), p("text", {
|
|
1515
1521
|
key: 1,
|
|
1516
1522
|
x: B.value.centerX,
|
|
@@ -1518,10 +1524,10 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1518
1524
|
"text-anchor": "middle",
|
|
1519
1525
|
"font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1520
1526
|
fill: M.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1521
|
-
}, w(T(
|
|
1527
|
+
}, w(T(c)(M.value.style.chart.layout.labels.plotLabels.y.formatter, K.value.y.min, T(i)({
|
|
1522
1528
|
v: K.value.y.min,
|
|
1523
1529
|
r: M.value.style.chart.layout.labels.plotLabels.rounding
|
|
1524
|
-
}))), 9,
|
|
1530
|
+
}))), 9, ht)) : f("", !0),
|
|
1525
1531
|
M.value.style.chart.layout.grid.xAxis.show ? (b(), p("text", {
|
|
1526
1532
|
key: 2,
|
|
1527
1533
|
id: `xLabelMin_${O.value}`,
|
|
@@ -1529,10 +1535,10 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1529
1535
|
"font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1530
1536
|
transform: `translate(${B.value.padding - M.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(-90)`,
|
|
1531
1537
|
fill: M.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1532
|
-
}, w(T(
|
|
1538
|
+
}, w(T(c)(M.value.style.chart.layout.labels.plotLabels.x.formatter, K.value.x.min, T(i)({
|
|
1533
1539
|
v: K.value.x.min,
|
|
1534
1540
|
r: M.value.style.chart.layout.labels.plotLabels.rounding
|
|
1535
|
-
}))), 9,
|
|
1541
|
+
}))), 9, gt)) : f("", !0),
|
|
1536
1542
|
M.value.style.chart.layout.grid.xAxis.show ? (b(), p("text", {
|
|
1537
1543
|
key: 3,
|
|
1538
1544
|
id: `xLabelMax_${O.value}`,
|
|
@@ -1540,24 +1546,24 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1540
1546
|
"font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1541
1547
|
transform: `translate(${B.value.width - B.value.padding + M.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(90)`,
|
|
1542
1548
|
fill: M.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1543
|
-
}, w(T(
|
|
1549
|
+
}, w(T(c)(M.value.style.chart.layout.labels.plotLabels.x.formatter, K.value.x.max, T(i)({
|
|
1544
1550
|
v: K.value.x.max,
|
|
1545
1551
|
r: M.value.style.chart.layout.labels.plotLabels.rounding
|
|
1546
|
-
}))), 9,
|
|
1552
|
+
}))), 9, _t)) : f("", !0),
|
|
1547
1553
|
m("text", {
|
|
1548
1554
|
id: `xLabelMaxName_${O.value}`,
|
|
1549
1555
|
"text-anchor": "middle",
|
|
1550
1556
|
"font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1551
1557
|
transform: `translate(${B.value.width - M.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(90)`,
|
|
1552
1558
|
fill: M.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1553
|
-
}, w(M.value.style.chart.layout.grid.xAxis.name), 9,
|
|
1559
|
+
}, w(M.value.style.chart.layout.grid.xAxis.name), 9, vt)
|
|
1554
1560
|
])) : f("", !0),
|
|
1555
|
-
M.value.style.chart.layout.areas.show ? (b(), p("g",
|
|
1561
|
+
M.value.style.chart.layout.areas.show ? (b(), p("g", yt, [(b(!0), p(l, null, S(J.value, (e, t) => (b(), p("g", null, [e.series.length > 2 ? (b(), p("polygon", {
|
|
1556
1562
|
key: 0,
|
|
1557
1563
|
"data-cy-quadrant-area": "",
|
|
1558
|
-
fill: M.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${O.value}_${t})` : T(
|
|
1559
|
-
points: T(
|
|
1560
|
-
}, null, 8,
|
|
1564
|
+
fill: M.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${O.value}_${t})` : T(s)(e.color, M.value.style.chart.layout.areas.opacity),
|
|
1565
|
+
points: T(oe)(e)
|
|
1566
|
+
}, null, 8, bt)) : f("", !0)]))), 256))])) : f("", !0),
|
|
1561
1567
|
m("g", null, [
|
|
1562
1568
|
m("rect", {
|
|
1563
1569
|
onClick: t[4] ||= (e) => G("TL"),
|
|
@@ -1570,7 +1576,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1570
1576
|
"vue-data-ui-zoom-plus": !k.value && W.value,
|
|
1571
1577
|
"vue-data-ui-zoom-minus": k.value && W.value
|
|
1572
1578
|
})
|
|
1573
|
-
}, null, 10,
|
|
1579
|
+
}, null, 10, xt),
|
|
1574
1580
|
m("rect", {
|
|
1575
1581
|
onClick: t[5] ||= (e) => G("TR"),
|
|
1576
1582
|
x: B.value.centerX,
|
|
@@ -1582,7 +1588,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1582
1588
|
"vue-data-ui-zoom-plus": !k.value && W.value,
|
|
1583
1589
|
"vue-data-ui-zoom-minus": k.value && W.value
|
|
1584
1590
|
})
|
|
1585
|
-
}, null, 10,
|
|
1591
|
+
}, null, 10, St),
|
|
1586
1592
|
m("rect", {
|
|
1587
1593
|
onClick: t[6] ||= (e) => G("BR"),
|
|
1588
1594
|
x: B.value.centerX,
|
|
@@ -1594,7 +1600,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1594
1600
|
"vue-data-ui-zoom-plus": !k.value && W.value,
|
|
1595
1601
|
"vue-data-ui-zoom-minus": k.value && W.value
|
|
1596
1602
|
})
|
|
1597
|
-
}, null, 10,
|
|
1603
|
+
}, null, 10, Ct),
|
|
1598
1604
|
m("rect", {
|
|
1599
1605
|
onClick: t[7] ||= (e) => G("BL"),
|
|
1600
1606
|
x: B.value.left,
|
|
@@ -1606,18 +1612,18 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1606
1612
|
"vue-data-ui-zoom-plus": !k.value && W.value,
|
|
1607
1613
|
"vue-data-ui-zoom-minus": k.value && W.value
|
|
1608
1614
|
})
|
|
1609
|
-
}, null, 10,
|
|
1615
|
+
}, null, 10, wt)
|
|
1610
1616
|
]),
|
|
1611
|
-
M.value.style.chart.layout.labels.plotLabels.showAsTag ? (b(), p(l, { key: 7 }, [R.value.plotLabels.show ? (b(), p("g",
|
|
1617
|
+
M.value.style.chart.layout.labels.plotLabels.showAsTag ? (b(), p(l, { key: 7 }, [R.value.plotLabels.show ? (b(), p("g", jt, [(b(!0), p(l, null, S(J.value, (e, t) => (b(), p(l, null, [(b(!0), p(l, null, S(e.series, (n) => (b(), p("foreignObject", {
|
|
1612
1618
|
style: { overflow: "visible" },
|
|
1613
1619
|
height: "10",
|
|
1614
1620
|
width: "100",
|
|
1615
1621
|
x: n.x - 50,
|
|
1616
1622
|
y: n.y - M.value.style.chart.layout.labels.plotLabels.fontSize,
|
|
1617
|
-
onMouseover: (r) =>
|
|
1618
|
-
onMouseleave: (e) =>
|
|
1619
|
-
onClick: (r) =>
|
|
1620
|
-
}, [m("div", { style: y(`color:${T(le)(e.color)};margin: 0 auto; font-size:${M.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${e.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`) }, w(n.name), 5)], 40,
|
|
1623
|
+
onMouseover: (r) => mr(e, n, t),
|
|
1624
|
+
onMouseleave: (e) => hr(n, t),
|
|
1625
|
+
onClick: (r) => gr(e, n, t)
|
|
1626
|
+
}, [m("div", { style: y(`color:${T(le)(e.color)};margin: 0 auto; font-size:${M.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${e.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`) }, w(n.name), 5)], 40, Mt))), 256))], 64))), 256))])) : f("", !0)], 64)) : (b(), p(l, { key: 6 }, [(b(!0), p(l, null, S(J.value, (t, n) => (b(), p("g", null, [e.$slots.datapoint && !T(Nn) ? (b(!0), p(l, { key: 0 }, S(t.series, (r) => (b(), p("g", { key: r.uid }, [(b(), p("foreignObject", {
|
|
1621
1627
|
x: r.x - 1,
|
|
1622
1628
|
y: r.y - 1,
|
|
1623
1629
|
width: "2",
|
|
@@ -1626,29 +1632,29 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1626
1632
|
overflow: "visible",
|
|
1627
1633
|
"pointer-events": "none"
|
|
1628
1634
|
},
|
|
1629
|
-
onMouseenter: (e) =>
|
|
1630
|
-
onMouseleave: (e) =>
|
|
1631
|
-
onClick: (e) =>
|
|
1632
|
-
}, [C(e.$slots, "datapoint",
|
|
1635
|
+
onMouseenter: (e) => mr(t, r, n),
|
|
1636
|
+
onMouseleave: (e) => hr(r, n),
|
|
1637
|
+
onClick: (e) => gr(t, r, n)
|
|
1638
|
+
}, [C(e.$slots, "datapoint", Le({ ref_for: !0 }, { datapoint: {
|
|
1633
1639
|
...r,
|
|
1634
|
-
onEnter: () =>
|
|
1635
|
-
onLeave: () =>
|
|
1636
|
-
onClick: () =>
|
|
1640
|
+
onEnter: () => mr(t, r, n),
|
|
1641
|
+
onLeave: () => hr(r, n),
|
|
1642
|
+
onClick: () => gr(t, r, n),
|
|
1637
1643
|
isSelected: X.value && r.uid === X.value
|
|
1638
|
-
} }), void 0, !0)], 40,
|
|
1644
|
+
} }), void 0, !0)], 40, Tt)), m("circle", {
|
|
1639
1645
|
"data-a11y-plot-id": r.uid,
|
|
1640
1646
|
cx: r.x,
|
|
1641
1647
|
cy: r.y,
|
|
1642
1648
|
r: Math.max(M.value.style.chart.layout.plots.radius / (k.value ? 1.5 : 1), 10),
|
|
1643
1649
|
fill: "transparent",
|
|
1644
1650
|
style: { "pointer-events": "none" }
|
|
1645
|
-
}, null, 8,
|
|
1651
|
+
}, null, 8, Et)]))), 128)) : e.$slots.datapointSvg && !T(Nn) ? (b(!0), p(l, { key: 1 }, S(t.series, (r) => (b(), p("g", { key: r.uid }, [C(e.$slots, "datapointSvg", Le({ ref_for: !0 }, { datapoint: {
|
|
1646
1652
|
...r,
|
|
1647
|
-
onEnter: () =>
|
|
1648
|
-
onLeave: () =>
|
|
1649
|
-
onClick: () =>
|
|
1653
|
+
onEnter: () => mr(t, r, n),
|
|
1654
|
+
onLeave: () => hr(r, n),
|
|
1655
|
+
onClick: () => gr(t, r, n),
|
|
1650
1656
|
isSelected: X.value && r.uid === X.value
|
|
1651
|
-
} }), void 0, !0)]))), 128)) : (b(!0), p(l, { key: 2 }, S(t.series, (e, r) => (b(), p("g", { key: e.uid }, [
|
|
1657
|
+
} }), void 0, !0)]))), 128)) : (b(!0), p(l, { key: 2 }, S(t.series, (e, r) => (b(), p("g", { key: e.uid }, [Ie(Se, {
|
|
1652
1658
|
color: t.color,
|
|
1653
1659
|
isSelected: X.value && e.uid === X.value,
|
|
1654
1660
|
plot: e,
|
|
@@ -1656,9 +1662,9 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1656
1662
|
shape: t.shape,
|
|
1657
1663
|
stroke: M.value.style.chart.layout.plots.outline ? M.value.style.chart.layout.plots.outlineColor : "none",
|
|
1658
1664
|
strokeWidth: M.value.style.chart.layout.plots.outlineWidth,
|
|
1659
|
-
onMouseenter: (r) =>
|
|
1660
|
-
onMouseleave: (t) =>
|
|
1661
|
-
onClick: (r) =>
|
|
1665
|
+
onMouseenter: (r) => mr(t, e, n, "pointer"),
|
|
1666
|
+
onMouseleave: (t) => hr(e, n),
|
|
1667
|
+
onClick: (r) => gr(t, e, n)
|
|
1662
1668
|
}, null, 8, [
|
|
1663
1669
|
"color",
|
|
1664
1670
|
"isSelected",
|
|
@@ -1678,63 +1684,63 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1678
1684
|
r: Math.max(M.value.style.chart.layout.plots.radius / (k.value ? 1.5 : 1), 10),
|
|
1679
1685
|
fill: "transparent",
|
|
1680
1686
|
style: { "pointer-events": "none" }
|
|
1681
|
-
}, null, 8,
|
|
1687
|
+
}, null, 8, Dt)]))), 128))]))), 256)), R.value.plotLabels.show ? (b(), p("g", Ot, [(b(!0), p(l, null, S(J.value, (e) => (b(), p("g", null, [(b(!0), p(l, null, S(e.series, (e) => (b(), p("g", null, [String(e.name).includes("\n") ? (b(), p("text", {
|
|
1682
1688
|
key: 1,
|
|
1683
1689
|
x: e.x,
|
|
1684
1690
|
y: e.y + M.value.style.chart.layout.labels.plotLabels.offsetY + M.value.style.chart.layout.plots.radius,
|
|
1685
1691
|
"text-anchor": "middle",
|
|
1686
1692
|
"font-size": M.value.style.chart.layout.labels.plotLabels.fontSize / (k.value ? 1.5 : 1),
|
|
1687
1693
|
fill: M.value.style.chart.layout.labels.plotLabels.color,
|
|
1688
|
-
innerHTML: T(
|
|
1694
|
+
innerHTML: T(ne)({
|
|
1689
1695
|
content: String(e.name),
|
|
1690
1696
|
fontSize: M.value.style.chart.layout.labels.plotLabels.fontSize / (k.value ? 1.5 : 1),
|
|
1691
1697
|
fill: M.value.style.chart.layout.labels.plotLabels.color,
|
|
1692
1698
|
x: e.x,
|
|
1693
1699
|
y: e.y + M.value.style.chart.layout.labels.plotLabels.offsetY + M.value.style.chart.layout.plots.radius
|
|
1694
1700
|
})
|
|
1695
|
-
}, null, 8,
|
|
1701
|
+
}, null, 8, At)) : (b(), p("text", {
|
|
1696
1702
|
key: 0,
|
|
1697
1703
|
x: e.x,
|
|
1698
1704
|
y: e.y + M.value.style.chart.layout.labels.plotLabels.offsetY + M.value.style.chart.layout.plots.radius,
|
|
1699
1705
|
"text-anchor": "middle",
|
|
1700
1706
|
"font-size": M.value.style.chart.layout.labels.plotLabels.fontSize / (k.value ? 1.5 : 1),
|
|
1701
1707
|
fill: M.value.style.chart.layout.labels.plotLabels.color
|
|
1702
|
-
}, w(e.name), 9,
|
|
1703
|
-
k.value ? (b(), p("g",
|
|
1708
|
+
}, w(e.name), 9, kt))]))), 256))]))), 256))])) : f("", !0)], 64)),
|
|
1709
|
+
k.value ? (b(), p("g", Nt, [
|
|
1704
1710
|
H.value === "TL" ? (b(), p("polygon", {
|
|
1705
1711
|
key: 0,
|
|
1706
1712
|
points: `${B.value.left - 1},${B.value.centerY} ${B.value.centerX},${B.value.centerY} ${B.value.centerX},${B.value.top - 1} ${B.value.right},${B.value.top - 1} ${B.value.right},${B.value.bottom} ${B.value.left - 1},${B.value.bottom} ${B.value.left - 1},${B.value.centerY}`,
|
|
1707
1713
|
fill: M.value.style.chart.backgroundColor,
|
|
1708
1714
|
style: { opacity: "1" }
|
|
1709
|
-
}, null, 8,
|
|
1715
|
+
}, null, 8, Pt)) : f("", !0),
|
|
1710
1716
|
H.value === "TR" ? (b(), p("polygon", {
|
|
1711
1717
|
key: 1,
|
|
1712
1718
|
points: `${B.value.left},${B.value.top - 1} ${B.value.centerX},${B.value.top - 1} ${B.value.centerX},${B.value.centerY} ${B.value.right + 1},${B.value.centerY} ${B.value.right + 1},${B.value.bottom} ${B.value.left},${B.value.bottom} ${B.value.left},${B.value.top - 1}`,
|
|
1713
1719
|
fill: M.value.style.chart.backgroundColor,
|
|
1714
1720
|
style: { opacity: "1" }
|
|
1715
|
-
}, null, 8,
|
|
1721
|
+
}, null, 8, Ft)) : f("", !0),
|
|
1716
1722
|
H.value === "BR" ? (b(), p("polygon", {
|
|
1717
1723
|
key: 2,
|
|
1718
1724
|
points: `${B.value.left},${B.value.top} ${B.value.right + 1},${B.value.top} ${B.value.right + 1},${B.value.centerY} ${B.value.centerX},${B.value.centerY} ${B.value.centerX},${B.value.bottom + 1} ${B.value.left},${B.value.bottom + 1} ${B.value.left},${B.value.top}`,
|
|
1719
1725
|
fill: M.value.style.chart.backgroundColor,
|
|
1720
1726
|
style: { opacity: "1" }
|
|
1721
|
-
}, null, 8,
|
|
1727
|
+
}, null, 8, It)) : f("", !0),
|
|
1722
1728
|
H.value === "BL" ? (b(), p("polygon", {
|
|
1723
1729
|
key: 3,
|
|
1724
1730
|
points: `${B.value.left - 1},${B.value.top} ${B.value.right},${B.value.top} ${B.value.right},${B.value.bottom + 1} ${B.value.centerX},${B.value.bottom + 1} ${B.value.centerX},${B.value.centerY} ${B.value.left - 1},${B.value.centerY} ${B.value.left - 1},${B.value.top}`,
|
|
1725
1731
|
fill: M.value.style.chart.backgroundColor,
|
|
1726
1732
|
style: { opacity: "1" }
|
|
1727
|
-
}, null, 8,
|
|
1733
|
+
}, null, 8, Lt)) : f("", !0)
|
|
1728
1734
|
])) : f("", !0),
|
|
1729
|
-
H.value && !
|
|
1735
|
+
H.value && !qn.value ? (b(), p("g", Rt, [m("text", {
|
|
1730
1736
|
x: U.value.x,
|
|
1731
1737
|
y: U.value.y - U.value.fontSize / 1.5,
|
|
1732
1738
|
"font-size": U.value.fontSize / 1.5,
|
|
1733
1739
|
fill: U.value.fill,
|
|
1734
1740
|
"text-anchor": "middle",
|
|
1735
1741
|
"font-weight": U.value.bold ? "bold" : "normal"
|
|
1736
|
-
}, w(U.value.text), 9,
|
|
1737
|
-
k.value && H.value ? (b(), p("g",
|
|
1742
|
+
}, w(U.value.text), 9, zt)])) : f("", !0),
|
|
1743
|
+
k.value && H.value ? (b(), p("g", Bt, [
|
|
1738
1744
|
m("rect", {
|
|
1739
1745
|
x: Z.value[H.value].tl.x,
|
|
1740
1746
|
y: Z.value[H.value].tl.y,
|
|
@@ -1747,7 +1753,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1747
1753
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1748
1754
|
"vue-ui-quadrant-mini-map-cell-selectable": H.value !== "TL"
|
|
1749
1755
|
})
|
|
1750
|
-
}, null, 14,
|
|
1756
|
+
}, null, 14, Vt),
|
|
1751
1757
|
m("rect", {
|
|
1752
1758
|
x: Z.value[H.value].tr.x,
|
|
1753
1759
|
y: Z.value[H.value].tr.y,
|
|
@@ -1760,7 +1766,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1760
1766
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1761
1767
|
"vue-ui-quadrant-mini-map-cell-selectable": H.value !== "TR"
|
|
1762
1768
|
})
|
|
1763
|
-
}, null, 14,
|
|
1769
|
+
}, null, 14, Ht),
|
|
1764
1770
|
m("rect", {
|
|
1765
1771
|
x: Z.value[H.value].br.x,
|
|
1766
1772
|
y: Z.value[H.value].br.y,
|
|
@@ -1773,7 +1779,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1773
1779
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1774
1780
|
"vue-ui-quadrant-mini-map-cell-selectable": H.value !== "BR"
|
|
1775
1781
|
})
|
|
1776
|
-
}, null, 14,
|
|
1782
|
+
}, null, 14, Ut),
|
|
1777
1783
|
m("rect", {
|
|
1778
1784
|
x: Z.value[H.value].bl.x,
|
|
1779
1785
|
y: Z.value[H.value].bl.y,
|
|
@@ -1786,57 +1792,57 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1786
1792
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1787
1793
|
"vue-ui-quadrant-mini-map-cell-selectable": H.value !== "BL"
|
|
1788
1794
|
})
|
|
1789
|
-
}, null, 14,
|
|
1795
|
+
}, null, 14, Wt),
|
|
1790
1796
|
m("path", {
|
|
1791
1797
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1792
1798
|
stroke: M.value.style.chart.backgroundColor,
|
|
1793
1799
|
"stroke-width": 1,
|
|
1794
1800
|
d: Z.value[H.value].crosshairs.horizontal
|
|
1795
|
-
}, null, 8,
|
|
1801
|
+
}, null, 8, Gt),
|
|
1796
1802
|
m("path", {
|
|
1797
1803
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1798
1804
|
stroke: M.value.style.chart.backgroundColor,
|
|
1799
1805
|
"stroke-width": 1,
|
|
1800
1806
|
d: Z.value[H.value].crosshairs.vertical
|
|
1801
|
-
}, null, 8,
|
|
1807
|
+
}, null, 8, Kt)
|
|
1802
1808
|
])) : f("", !0),
|
|
1803
1809
|
C(e.$slots, "svg", { svg: {
|
|
1804
1810
|
...B.value,
|
|
1805
|
-
isPrintingImg: T(
|
|
1806
|
-
isPrintingSvg:
|
|
1811
|
+
isPrintingImg: T(Bn) || T(Vn) || En.value,
|
|
1812
|
+
isPrintingSvg: Dn.value
|
|
1807
1813
|
} }, void 0, !0)
|
|
1808
|
-
], 46,
|
|
1814
|
+
], 46, Xe)), e.$slots.hint ? (b(), p("div", qt, [C(e.$slots, "hint", v(g({
|
|
1809
1815
|
hint: M.value.a11y.translations.keyboardNavigation,
|
|
1810
|
-
isVisible:
|
|
1816
|
+
isVisible: jn.value
|
|
1811
1817
|
})), void 0, !0)])) : f("", !0)]),
|
|
1812
|
-
e.$slots.watermark ? (b(), p("div",
|
|
1813
|
-
m("div", { id: `legend-bottom-${O.value}` }, null, 8,
|
|
1814
|
-
|
|
1818
|
+
e.$slots.watermark ? (b(), p("div", Jt, [C(e.$slots, "watermark", v(g({ isPrinting: T(Bn) || T(Vn) || En.value || Dn.value })), void 0, !0)])) : f("", !0),
|
|
1819
|
+
m("div", { id: `legend-bottom-${O.value}` }, null, 8, Yt),
|
|
1820
|
+
Cn.value && (M.value.style.chart.legend.show || e.$slots.legend) ? (b(), d(Ne, {
|
|
1815
1821
|
key: 6,
|
|
1816
1822
|
to: M.value.style.chart.legend.position === "top" ? `#legend-top-${O.value}` : `#legend-bottom-${O.value}`
|
|
1817
1823
|
}, [m("div", {
|
|
1818
1824
|
ref_key: "chartLegend",
|
|
1819
|
-
ref:
|
|
1820
|
-
}, [C(e.$slots, "legend", { legend: Y.value }, () => [M.value.style.chart.legend.show ? (b(), d(
|
|
1821
|
-
key: `legend_${
|
|
1825
|
+
ref: _n
|
|
1826
|
+
}, [C(e.$slots, "legend", { legend: Y.value }, () => [M.value.style.chart.legend.show ? (b(), d(je, {
|
|
1827
|
+
key: `legend_${Sn.value}`,
|
|
1822
1828
|
legendSet: Y.value,
|
|
1823
|
-
config:
|
|
1829
|
+
config: cr.value,
|
|
1824
1830
|
isCursorPointer: N.value,
|
|
1825
|
-
onClickMarker: t[12] ||= ({ legend: e }) =>
|
|
1831
|
+
onClickMarker: t[12] ||= ({ legend: e }) => ir(e.id)
|
|
1826
1832
|
}, {
|
|
1827
|
-
item: E(({ legend: e }) => [T(
|
|
1833
|
+
item: E(({ legend: e }) => [T(Nn) ? f("", !0) : (b(), p("div", {
|
|
1828
1834
|
key: 0,
|
|
1829
|
-
onClick: (t) =>
|
|
1835
|
+
onClick: (t) => ir(e.id),
|
|
1830
1836
|
style: y(`opacity:${q.value.includes(e.id) ? .5 : 1}`)
|
|
1831
|
-
}, w(e.name), 13,
|
|
1832
|
-
legendToggle: E(() => [Y.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !T(
|
|
1837
|
+
}, w(e.name), 13, Xt))]),
|
|
1838
|
+
legendToggle: E(() => [Y.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !T(Nn) ? (b(), d(De, {
|
|
1833
1839
|
key: 0,
|
|
1834
1840
|
backgroundColor: M.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1835
1841
|
color: M.value.style.chart.legend.selectAllToggle.color,
|
|
1836
1842
|
fontSize: M.value.style.chart.legend.fontSize,
|
|
1837
1843
|
checked: q.value.length > 0,
|
|
1838
1844
|
isCursorPointer: N.value,
|
|
1839
|
-
onToggle:
|
|
1845
|
+
onToggle: rr
|
|
1840
1846
|
}, null, 8, [
|
|
1841
1847
|
"backgroundColor",
|
|
1842
1848
|
"color",
|
|
@@ -1853,12 +1859,12 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1853
1859
|
e.$slots.source ? (b(), p("div", {
|
|
1854
1860
|
key: 7,
|
|
1855
1861
|
ref_key: "source",
|
|
1856
|
-
ref:
|
|
1862
|
+
ref: vn,
|
|
1857
1863
|
dir: "auto"
|
|
1858
1864
|
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
1859
|
-
|
|
1865
|
+
Ie(T($t), {
|
|
1860
1866
|
teleportTo: M.value.style.chart.tooltip.teleportTo,
|
|
1861
|
-
show: R.value.showTooltip &&
|
|
1867
|
+
show: R.value.showTooltip && pn.value,
|
|
1862
1868
|
backgroundColor: M.value.style.chart.tooltip.backgroundColor,
|
|
1863
1869
|
color: M.value.style.chart.tooltip.color,
|
|
1864
1870
|
borderRadius: M.value.style.chart.tooltip.borderRadius,
|
|
@@ -1870,26 +1876,26 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1870
1876
|
offsetX: M.value.style.chart.tooltip.offsetX,
|
|
1871
1877
|
offsetY: M.value.style.chart.tooltip.offsetY,
|
|
1872
1878
|
parent: A.value,
|
|
1873
|
-
content:
|
|
1879
|
+
content: mn.value,
|
|
1874
1880
|
isFullscreen: Q.value,
|
|
1875
1881
|
isCustom: M.value.style.chart.tooltip.customFormat && typeof M.value.style.chart.tooltip.customFormat == "function",
|
|
1876
1882
|
smooth: M.value.style.chart.tooltip.smooth,
|
|
1877
1883
|
backdropFilter: M.value.style.chart.tooltip.backdropFilter,
|
|
1878
1884
|
smoothForce: M.value.style.chart.tooltip.smoothForce,
|
|
1879
1885
|
smoothSnapThreshold: M.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1880
|
-
isA11yMode:
|
|
1881
|
-
a11yPosition:
|
|
1886
|
+
isA11yMode: An.value === "keyboard",
|
|
1887
|
+
a11yPosition: kn.value
|
|
1882
1888
|
}, {
|
|
1883
|
-
"tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(g({ ...
|
|
1884
|
-
tooltip: E(() => [C(e.$slots, "tooltip", v(g({ ...
|
|
1885
|
-
"tooltip-after": E(() => [C(e.$slots, "tooltip-after", v(g({ ...
|
|
1886
|
-
default: E(() => [M.value.style.chart.tooltip.showShape ? (b(), p("svg",
|
|
1889
|
+
"tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(g({ ...dr.value })), void 0, !0)]),
|
|
1890
|
+
tooltip: E(() => [C(e.$slots, "tooltip", v(g({ ...dr.value })), void 0, !0)]),
|
|
1891
|
+
"tooltip-after": E(() => [C(e.$slots, "tooltip-after", v(g({ ...dr.value })), void 0, !0)]),
|
|
1892
|
+
default: E(() => [M.value.style.chart.tooltip.showShape ? (b(), p("svg", Zt, [Ie(Se, {
|
|
1887
1893
|
plot: {
|
|
1888
1894
|
x: 10,
|
|
1889
1895
|
y: 10
|
|
1890
1896
|
},
|
|
1891
|
-
shape:
|
|
1892
|
-
color:
|
|
1897
|
+
shape: ur.value.shape,
|
|
1898
|
+
color: ur.value.color,
|
|
1893
1899
|
radius: 8,
|
|
1894
1900
|
stroke: M.value.style.chart.layout.plots.outline ? M.value.style.chart.layout.plots.outlineColor : "none",
|
|
1895
1901
|
"stroke-width": M.value.style.chart.layout.plots.outlineWidth
|
|
@@ -1924,24 +1930,24 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1924
1930
|
"isA11yMode",
|
|
1925
1931
|
"a11yPosition"
|
|
1926
1932
|
]),
|
|
1927
|
-
|
|
1933
|
+
dn.value && M.value.userOptions.buttons.table ? (b(), d(Ve(Dr.value.component), Le({ key: 8 }, Dr.value.props, {
|
|
1928
1934
|
ref_key: "tableUnit",
|
|
1929
|
-
ref:
|
|
1930
|
-
onClose:
|
|
1931
|
-
}),
|
|
1932
|
-
content: E(() => [(b(), d(T(
|
|
1933
|
-
key: `table_${
|
|
1934
|
-
colNames:
|
|
1935
|
-
head:
|
|
1936
|
-
body:
|
|
1937
|
-
config:
|
|
1938
|
-
title: M.value.table.useDialog ? "" :
|
|
1935
|
+
ref: wn,
|
|
1936
|
+
onClose: Or
|
|
1937
|
+
}), Pe({
|
|
1938
|
+
content: E(() => [(b(), d(T(nn), {
|
|
1939
|
+
key: `table_${xn.value}`,
|
|
1940
|
+
colNames: nr.value.colNames,
|
|
1941
|
+
head: nr.value.head,
|
|
1942
|
+
body: nr.value.body,
|
|
1943
|
+
config: nr.value.config,
|
|
1944
|
+
title: M.value.table.useDialog ? "" : Dr.value.title,
|
|
1939
1945
|
withCloseButton: !M.value.table.useDialog,
|
|
1940
1946
|
isCursorPointer: N.value,
|
|
1941
|
-
onClose:
|
|
1947
|
+
onClose: Or
|
|
1942
1948
|
}, {
|
|
1943
|
-
th: E(({ th: e }) => [
|
|
1944
|
-
td: E(({ td: e }) => [m("div", { innerHTML: e.name || e }, null, 8,
|
|
1949
|
+
th: E(({ th: e }) => [Fe(w(e), 1)]),
|
|
1950
|
+
td: E(({ td: e }) => [m("div", { innerHTML: e.name || e }, null, 8, Qt)]),
|
|
1945
1951
|
_: 1
|
|
1946
1952
|
}, 8, [
|
|
1947
1953
|
"colNames",
|
|
@@ -1955,24 +1961,24 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1955
1961
|
_: 2
|
|
1956
1962
|
}, [M.value.table.useDialog ? {
|
|
1957
1963
|
name: "title",
|
|
1958
|
-
fn: E(() => [
|
|
1964
|
+
fn: E(() => [Fe(w(Dr.value.title), 1)]),
|
|
1959
1965
|
key: "0"
|
|
1960
1966
|
} : void 0, M.value.table.useDialog ? {
|
|
1961
1967
|
name: "actions",
|
|
1962
1968
|
fn: E(() => [m("button", {
|
|
1963
1969
|
tabindex: "0",
|
|
1964
1970
|
class: "vue-ui-user-options-button",
|
|
1965
|
-
onClick: t[13] ||= (e) =>
|
|
1971
|
+
onClick: t[13] ||= (e) => yr(M.value.userOptions.callbacks.csv),
|
|
1966
1972
|
style: y({ cursor: N.value ? "pointer" : "default" })
|
|
1967
|
-
}, [
|
|
1973
|
+
}, [Ie(T(en), {
|
|
1968
1974
|
name: "fileCsv",
|
|
1969
|
-
stroke:
|
|
1975
|
+
stroke: Dr.value.props.color
|
|
1970
1976
|
}, null, 8, ["stroke"])], 4)]),
|
|
1971
1977
|
key: "1"
|
|
1972
1978
|
} : void 0]), 1040)) : f("", !0),
|
|
1973
|
-
C(e.$slots, "skeleton", {}, () => [T(
|
|
1974
|
-
], 46,
|
|
1979
|
+
C(e.$slots, "skeleton", {}, () => [T(Nn) ? (b(), d(ge, { key: 0 })) : f("", !0)], !0)
|
|
1980
|
+
], 46, Ke));
|
|
1975
1981
|
}
|
|
1976
|
-
}, [["__scopeId", "data-v-
|
|
1982
|
+
}, [["__scopeId", "data-v-75d35f61"]]);
|
|
1977
1983
|
//#endregion
|
|
1978
|
-
export {
|
|
1984
|
+
export { Ge as n, $t as t };
|