vue-data-ui 3.22.13 → 3.23.0
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/LICENSE +1 -1
- package/README.md +13 -1
- package/dist/{Arrow-DKx74WtM.js → Arrow-o2qHNvrC.js} +1 -1
- package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-qTnfhLBz.js} +2 -2
- package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-91MZoczJ.js} +4 -3
- package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-CtAPwzr2.js} +1 -1
- package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-rdzlicuz.js} +2 -2
- package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-CIAkdPrj.js} +2 -2
- package/dist/{DataTable-DzPEVvSo.js → DataTable-D4tM9s5Y.js} +2 -2
- package/dist/HillActions-BWhxHlrj.js +187 -0
- package/dist/{Legend-C0xAnJdO.js → Legend-CQTRlzK-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-Cawacw1W.js} +19 -19
- package/dist/{PackageVersion-B6Hokxw9.js → PackageVersion--QCMh5k_.js} +1 -1
- package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-cE4J8-rA.js} +11 -11
- package/dist/{Shape-BfnXr1nJ.js → Shape-BPMV94Ij.js} +3 -3
- package/dist/{Slicer-C6qNUmZ4.js → Slicer-5yIrdoJv.js} +15 -15
- package/dist/SlicerPreview-DvjLV2TW.js +1689 -0
- package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-BaYtEKS6.js} +6 -6
- package/dist/Title-BODtwViI.js +87 -0
- package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CMTGxeYO.js} +1 -1
- package/dist/{UserOptions-DzAFK9cY.js → UserOptions-3ujTo3LD.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-hill.js +2 -0
- 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-BdAFKZQg.js → dom-to-png-4tdMNGPX.js} +1 -1
- package/dist/exposedLib-DWLRqRhv.js +25 -0
- package/dist/{img-Bikk1dGb.js → img-DIQG5q8T.js} +1 -1
- package/dist/{labelUtils-BUhssos9.js → labelUtils-C5lnc_xc.js} +1 -1
- package/dist/{lib-CFm_J26b.js → lib-BuMGJ_a0.js} +216 -173
- package/dist/{package-DmDydylu.js → package-BMc_ZieJ.js} +1 -1
- package/dist/{pdf-zmz3l2uy.js → pdf-Cnz4NKM9.js} +1 -1
- package/dist/{render-common-BIG8JYGK.js → render-common-Ktg2LZFG.js} +21 -21
- 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/vue-data-ui.d.ts +493 -0
- package/dist/types/vue-ui-hill.d.ts +90 -0
- package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
- package/dist/{useConfig-C0V0eG7L.js → useConfig-BilxnBNr.js} +767 -476
- package/dist/useHints-Dq_w2E8B.js +66 -0
- package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp--NSEmhOH.js} +1 -1
- package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Cwq7NcQz.js} +3 -2
- package/dist/{usePrinter-BH-xle1O.js → usePrinter-BFvi4jVy.js} +2 -2
- package/dist/useTransitions-g_zBREk2.js +39 -0
- package/dist/utils.js +14 -14
- package/dist/{vue-data-ui-rkzh6EkO.js → vue-data-ui-EsawKe_W.js} +85 -81
- package/dist/vue-data-ui.js +77 -76
- package/dist/vue-ui-3d-bar-RSUS2xpL.js +1849 -0
- package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-61MlW-Ge.js} +4 -4
- package/dist/vue-ui-age-pyramid-CgnPWA93.js +1263 -0
- package/dist/vue-ui-annotator-DBRT85HG.js +2913 -0
- package/dist/vue-ui-bullet-Bc3-WaN1.js +724 -0
- package/dist/{vue-ui-bump-BS7RCf0Z.js → vue-ui-bump-Dvv3iSKr.js} +332 -295
- package/dist/{vue-ui-candlestick-BZSGDKrM.js → vue-ui-candlestick-DvvsrIdp.js} +464 -440
- package/dist/vue-ui-carousel-table-DtsNVim8.js +463 -0
- package/dist/vue-ui-chestnut-ArloORzP.js +2068 -0
- package/dist/{vue-ui-chord-D6G7ceE-.js → vue-ui-chord-xX5gWZy8.js} +430 -424
- package/dist/vue-ui-circle-pack-D8wykmqg.js +1638 -0
- package/dist/{vue-ui-cursor-BpN5MsXM.js → vue-ui-cursor-CxgE6Phh.js} +61 -61
- package/dist/{vue-ui-dag-BzgOgXzU.js → vue-ui-dag-C9Sf9vH7.js} +924 -916
- package/dist/vue-ui-dashboard-bGmaglAj.js +520 -0
- package/dist/{vue-ui-digits-OMPrn8fb.js → vue-ui-digits-DgDE-_Fn.js} +58 -50
- package/dist/vue-ui-donut-B_n6wF6B.js +2440 -0
- package/dist/{vue-ui-donut-Cp5NbZ1r.js → vue-ui-donut-Bmo149AR.js} +113 -113
- package/dist/{vue-ui-donut-evolution-DHVi5rOn.js → vue-ui-donut-evolution-D6vH_hfx.js} +528 -447
- package/dist/vue-ui-dumbbell-BX4Ao_wR.js +1582 -0
- package/dist/{vue-ui-flow-BusUK3H0.js → vue-ui-flow-Bshw8pT_.js} +415 -407
- package/dist/vue-ui-funnel-CjYosIik.js +797 -0
- package/dist/vue-ui-galaxy-CvXgy-dy.js +1111 -0
- package/dist/vue-ui-gauge-CByT0_vF.js +953 -0
- package/dist/{vue-ui-geo-CyFgFKlh.js → vue-ui-geo-C-gSZL2q.js} +378 -363
- package/dist/{vue-ui-gizmo-DdeXwCQp.js → vue-ui-gizmo-CJdxyPID.js} +57 -49
- package/dist/{vue-ui-heatmap-D8-qJ7fg.js → vue-ui-heatmap-DEEKv8ip.js} +498 -490
- package/dist/vue-ui-hill-D7LYAgAL.js +1768 -0
- package/dist/{vue-ui-history-plot-C2Aqk2ON.js → vue-ui-history-plot-BhcU94Pt.js} +553 -556
- package/dist/vue-ui-horizontal-bar-CfFye5tL.js +1733 -0
- package/dist/vue-ui-kpi-DCBnNfTb.js +104 -0
- package/dist/vue-ui-mini-loader-CtWpqnLW.js +133 -0
- package/dist/vue-ui-molecule-D3igGyOy.js +958 -0
- package/dist/{vue-ui-mood-radar-BiOjxFEN.js → vue-ui-mood-radar-sl6DMxqR.js} +349 -341
- package/dist/{vue-ui-nested-donuts-Cl1HVvDp.js → vue-ui-nested-donuts-aS4YzaB3.js} +449 -413
- package/dist/vue-ui-onion-EhPTZpW_.js +1258 -0
- package/dist/vue-ui-parallel-coordinate-plot-DE9wTmQQ.js +1455 -0
- package/dist/{vue-ui-quadrant-B21LkUc8.js → vue-ui-quadrant-SaY_RPSE.js} +625 -617
- package/dist/vue-ui-quick-chart-CJ9rejnj.js +2389 -0
- package/dist/{vue-ui-radar-CyzAyVos.js → vue-ui-radar-CaNen5Fj.js} +356 -310
- package/dist/vue-ui-rating--K7rX2an.js +360 -0
- package/dist/vue-ui-relation-circle-FLs8vOxQ.js +925 -0
- package/dist/vue-ui-ridgeline-Beg5hshN.js +1663 -0
- package/dist/{vue-ui-rings-FtcdX8xl.js → vue-ui-rings-BevKD8P-.js} +449 -423
- package/dist/{vue-ui-scatter-Cp_-2ahf.js → vue-ui-scatter-CNA7jF-o.js} +721 -702
- package/dist/{vue-ui-skeleton-COytVrfN.js → vue-ui-skeleton-B9ZP1w-i.js} +395 -387
- package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DYnqqk6u.js} +128 -120
- package/dist/{vue-ui-spark-trend-DC2KUlEY.js → vue-ui-spark-trend-R0ebpg-G.js} +132 -117
- package/dist/{vue-ui-sparkbar-DdxQOFIF.js → vue-ui-sparkbar-DYC3By0v.js} +119 -111
- package/dist/{vue-ui-sparkgauge-DTA-fORH.js → vue-ui-sparkgauge-Bw6no-In.js} +76 -68
- package/dist/vue-ui-sparkhistogram-DvRKy8rq.js +590 -0
- package/dist/{vue-ui-sparkline-DcR_N-zT.js → vue-ui-sparkline-Dz1uzBos.js} +389 -364
- package/dist/vue-ui-sparkstackbar-DlnPdZih.js +692 -0
- package/dist/vue-ui-stackbar-B-THcavY.js +2350 -0
- package/dist/vue-ui-stackline-3dBPoI0h.js +2464 -0
- package/dist/{vue-ui-strip-plot-NLCwYvyw.js → vue-ui-strip-plot-ACeYOoHj.js} +505 -484
- package/dist/vue-ui-table-heatmap-DVwMqzje.js +364 -0
- package/dist/{vue-ui-table-AM9brdwU.js → vue-ui-table-rFy16bp0.js} +512 -504
- package/dist/{vue-ui-table-sparkline-BE6DAvur.js → vue-ui-table-sparkline-CABJzK8p.js} +207 -181
- package/dist/vue-ui-thermometer-CVQ-H69Q.js +777 -0
- package/dist/{vue-ui-timer-BZM5ITG9.js → vue-ui-timer-Bm8LpsnI.js} +66 -58
- package/dist/{vue-ui-tiremarks-BCncDpHX.js → vue-ui-tiremarks-DB3f5qiz.js} +127 -119
- package/dist/vue-ui-treemap-DP0Sx8Y8.js +1760 -0
- package/dist/vue-ui-waffle-iPpdk1Bm.js +1412 -0
- package/dist/vue-ui-wheel-BJkEYfLj.js +892 -0
- package/dist/{vue-ui-word-cloud-D7R7nhk1.js → vue-ui-word-cloud-B2sxtel9.js} +440 -432
- package/dist/{vue-ui-world-DZBt-07p.js → vue-ui-world-BBQZLnzm.js} +343 -335
- package/dist/vue-ui-xy-ChZg7AtI.js +1364 -0
- package/dist/{vue-ui-xy-CluEZ7lS.js → vue-ui-xy-DZj5DT-q.js} +1633 -1587
- package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-BN2u0bOJ.js} +456 -430
- package/dist/vue_ui_hill-dnltu0L-.js +368 -0
- package/package.json +2 -2
- package/dist/SlicerPreview-Cw6WMVhG.js +0 -1689
- package/dist/Title-BuPs74IB.js +0 -87
- package/dist/exposedLib-Ciw6TGtP.js +0 -25
- package/dist/useAutoSizeLabelsInsideViewbox-C9RNjsGv.js +0 -50
- package/dist/useMountedDelay-BAjrhRJb.js +0 -14
- package/dist/vue-ui-3d-bar-D5xHEWr1.js +0 -1824
- package/dist/vue-ui-age-pyramid-CAJg01c7.js +0 -1246
- package/dist/vue-ui-annotator-q3ZKx6ua.js +0 -2905
- package/dist/vue-ui-bullet-ByeaWGfI.js +0 -709
- package/dist/vue-ui-carousel-table-DO5NRXvX.js +0 -455
- package/dist/vue-ui-chestnut-BfeSPeEh.js +0 -2042
- package/dist/vue-ui-circle-pack-Cqmlw7AV.js +0 -1610
- package/dist/vue-ui-dashboard-DLvGJXJY.js +0 -512
- package/dist/vue-ui-donut-ZIRebAWc.js +0 -2418
- package/dist/vue-ui-dumbbell-gDYjU2oF.js +0 -1564
- package/dist/vue-ui-funnel-BtaYaU0r.js +0 -781
- package/dist/vue-ui-galaxy-BMp-HzDh.js +0 -1076
- package/dist/vue-ui-gauge-CBou0cFE.js +0 -925
- package/dist/vue-ui-horizontal-bar-BuwxI7d1.js +0 -1689
- package/dist/vue-ui-kpi-ByxoO01r.js +0 -96
- package/dist/vue-ui-mini-loader-D9pprk2c.js +0 -125
- package/dist/vue-ui-molecule-BqJJq49_.js +0 -932
- package/dist/vue-ui-onion-CRQOxurS.js +0 -1199
- package/dist/vue-ui-parallel-coordinate-plot-Dhn18RtR.js +0 -1412
- package/dist/vue-ui-quick-chart-DAhSXYnp.js +0 -2443
- package/dist/vue-ui-rating-DbxK-ftN.js +0 -352
- package/dist/vue-ui-relation-circle-Cb33DMZo.js +0 -917
- package/dist/vue-ui-ridgeline-D7aArzQk.js +0 -1627
- package/dist/vue-ui-sparkhistogram-D1oFTrvt.js +0 -575
- package/dist/vue-ui-sparkstackbar-BlFio0lP.js +0 -674
- package/dist/vue-ui-stackbar-Cu13EdVa.js +0 -2322
- package/dist/vue-ui-stackline-DKL0o_-3.js +0 -2427
- package/dist/vue-ui-table-heatmap-CSI482KG.js +0 -338
- package/dist/vue-ui-thermometer-D6Czx7Fb.js +0 -769
- package/dist/vue-ui-treemap-BOEYCOdk.js +0 -1727
- package/dist/vue-ui-waffle-BrM8IHdG.js +0 -1367
- package/dist/vue-ui-wheel-BNsajigQ.js +0 -884
- package/dist/vue-ui-xy-Dt_1bSBT.js +0 -1364
|
@@ -1,36 +1,37 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { t as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import {
|
|
2
|
+
import { $ as t, Bt as n, D as r, G as i, Jt as a, Kt as o, Pt as ee, S as te, Tt as ne, Vt as re, X as s, _t as ie, ct as ae, i as c, jt as oe, q as se, r as ce, t as le, tt as l, w as ue, xt as de } from "./lib-BuMGJ_a0.js";
|
|
3
|
+
import { n as fe, t as pe } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as me } from "./useConfig-BilxnBNr.js";
|
|
5
|
+
import { t as he } from "./usePrinter-BFvi4jVy.js";
|
|
6
|
+
import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
+
import { t as ve } from "./useSvgExport-Ba9qBr9M.js";
|
|
8
|
+
import { t as ye } from "./useNestedProp--NSEmhOH.js";
|
|
9
|
+
import { t as be } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
+
import { t as xe } from "./img-DIQG5q8T.js";
|
|
11
|
+
import { n as Se } from "./Title-BODtwViI.js";
|
|
12
|
+
import { t as Ce } from "./Shape-BPMV94Ij.js";
|
|
13
|
+
import { t as we } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
|
+
import { l as Te, t as Ee } from "./useResponsive-ZtArZtUf.js";
|
|
15
|
+
import { t as De } from "./DefGrad-DVBqDjhO.js";
|
|
16
|
+
import { t as Oe } from "./BaseLegendToggle-CtAPwzr2.js";
|
|
17
|
+
import { t as ke } from "./A11yDataTable-DdRsVULz.js";
|
|
18
|
+
import { t as Ae } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
|
+
import { t as je } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
+
import { t as Me } from "./Legend-CQTRlzK-.js";
|
|
21
|
+
import { t as Ne } from "./vue_ui_quadrant-CDSTKTJz.js";
|
|
22
|
+
import { Fragment as u, Teleport as Pe, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Fe, createTextVNode as Ie, createVNode as Le, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Re, nextTick as ze, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Be, onMounted as Ve, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as He, shallowRef as Ue, toDisplayString as T, toRefs as We, unref as E, watch as Ge, withCtx as D } from "vue";
|
|
22
23
|
//#region src/components/vue-ui-quadrant.vue
|
|
23
|
-
var
|
|
24
|
+
var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye = ["id"], Xe = { style: { position: "relative" } }, Ze = [
|
|
24
25
|
"xmlns",
|
|
25
26
|
"aria-describedby",
|
|
26
27
|
"viewBox",
|
|
27
28
|
"id"
|
|
28
|
-
],
|
|
29
|
+
], Qe = [
|
|
29
30
|
"x",
|
|
30
31
|
"y",
|
|
31
32
|
"width",
|
|
32
33
|
"height"
|
|
33
|
-
],
|
|
34
|
+
], $e = { key: 1 }, et = [
|
|
34
35
|
"fill",
|
|
35
36
|
"x",
|
|
36
37
|
"y",
|
|
@@ -39,150 +40,150 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
39
40
|
"stroke-width",
|
|
40
41
|
"stroke",
|
|
41
42
|
"rx"
|
|
42
|
-
],
|
|
43
|
+
], tt = [
|
|
43
44
|
"x1",
|
|
44
45
|
"y1",
|
|
45
46
|
"x2",
|
|
46
47
|
"y2",
|
|
47
48
|
"stroke",
|
|
48
49
|
"stroke-width"
|
|
49
|
-
],
|
|
50
|
+
], nt = [
|
|
50
51
|
"x1",
|
|
51
52
|
"y1",
|
|
52
53
|
"x2",
|
|
53
54
|
"y2",
|
|
54
55
|
"stroke",
|
|
55
56
|
"stroke-width"
|
|
56
|
-
],
|
|
57
|
+
], rt = { key: 2 }, it = ["points", "fill"], at = ["points", "fill"], ot = ["points", "fill"], st = ["points", "fill"], ct = { key: 3 }, lt = [
|
|
57
58
|
"y",
|
|
58
59
|
"fill",
|
|
59
60
|
"font-size"
|
|
60
|
-
],
|
|
61
|
+
], ut = [
|
|
61
62
|
"x",
|
|
62
63
|
"y",
|
|
63
64
|
"fill",
|
|
64
65
|
"font-size"
|
|
65
|
-
],
|
|
66
|
+
], dt = [
|
|
66
67
|
"x",
|
|
67
68
|
"y",
|
|
68
69
|
"fill",
|
|
69
70
|
"font-size"
|
|
70
|
-
],
|
|
71
|
+
], ft = [
|
|
71
72
|
"y",
|
|
72
73
|
"fill",
|
|
73
74
|
"font-size"
|
|
74
|
-
],
|
|
75
|
+
], pt = { key: 4 }, mt = [
|
|
75
76
|
"x",
|
|
76
77
|
"y",
|
|
77
78
|
"font-size",
|
|
78
79
|
"fill"
|
|
79
|
-
],
|
|
80
|
+
], ht = [
|
|
80
81
|
"x",
|
|
81
82
|
"y",
|
|
82
83
|
"font-size",
|
|
83
84
|
"fill"
|
|
84
|
-
],
|
|
85
|
+
], gt = [
|
|
85
86
|
"x",
|
|
86
87
|
"y",
|
|
87
88
|
"font-size",
|
|
88
89
|
"fill"
|
|
89
|
-
],
|
|
90
|
+
], _t = [
|
|
90
91
|
"id",
|
|
91
92
|
"font-size",
|
|
92
93
|
"transform",
|
|
93
94
|
"fill"
|
|
94
|
-
],
|
|
95
|
+
], vt = [
|
|
95
96
|
"id",
|
|
96
97
|
"font-size",
|
|
97
98
|
"transform",
|
|
98
99
|
"fill"
|
|
99
|
-
],
|
|
100
|
+
], yt = [
|
|
100
101
|
"id",
|
|
101
102
|
"font-size",
|
|
102
103
|
"transform",
|
|
103
104
|
"fill"
|
|
104
|
-
],
|
|
105
|
+
], bt = { key: 5 }, xt = ["fill", "points"], St = [
|
|
105
106
|
"x",
|
|
106
107
|
"y",
|
|
107
108
|
"width",
|
|
108
109
|
"height"
|
|
109
|
-
],
|
|
110
|
+
], Ct = [
|
|
110
111
|
"x",
|
|
111
112
|
"y",
|
|
112
113
|
"width",
|
|
113
114
|
"height"
|
|
114
|
-
],
|
|
115
|
+
], wt = [
|
|
115
116
|
"x",
|
|
116
117
|
"y",
|
|
117
118
|
"width",
|
|
118
119
|
"height"
|
|
119
|
-
],
|
|
120
|
+
], Tt = [
|
|
120
121
|
"x",
|
|
121
122
|
"y",
|
|
122
123
|
"width",
|
|
123
124
|
"height"
|
|
124
|
-
],
|
|
125
|
+
], Et = [
|
|
125
126
|
"x",
|
|
126
127
|
"y",
|
|
127
128
|
"onMouseenter",
|
|
128
129
|
"onMouseleave",
|
|
129
130
|
"onClick"
|
|
130
|
-
],
|
|
131
|
+
], Dt = [
|
|
131
132
|
"data-a11y-plot-id",
|
|
132
133
|
"cx",
|
|
133
134
|
"cy",
|
|
134
135
|
"r"
|
|
135
|
-
],
|
|
136
|
+
], Ot = [
|
|
136
137
|
"data-a11y-plot-id",
|
|
137
138
|
"cx",
|
|
138
139
|
"cy",
|
|
139
140
|
"r"
|
|
140
|
-
],
|
|
141
|
+
], kt = {
|
|
141
142
|
key: 0,
|
|
142
143
|
style: { "pointer-events": "none" }
|
|
143
|
-
},
|
|
144
|
+
}, At = [
|
|
144
145
|
"x",
|
|
145
146
|
"y",
|
|
146
147
|
"font-size",
|
|
147
148
|
"fill"
|
|
148
|
-
],
|
|
149
|
+
], jt = [
|
|
149
150
|
"x",
|
|
150
151
|
"y",
|
|
151
152
|
"font-size",
|
|
152
153
|
"fill",
|
|
153
154
|
"innerHTML"
|
|
154
|
-
],
|
|
155
|
+
], Mt = { key: 0 }, Nt = [
|
|
155
156
|
"x",
|
|
156
157
|
"y",
|
|
157
158
|
"onMouseover",
|
|
158
159
|
"onMouseleave",
|
|
159
160
|
"onClick"
|
|
160
|
-
],
|
|
161
|
+
], Pt = {
|
|
161
162
|
key: 8,
|
|
162
163
|
class: "vue-ui-dna"
|
|
163
|
-
},
|
|
164
|
+
}, Ft = ["points", "fill"], It = ["points", "fill"], Lt = ["points", "fill"], Rt = ["points", "fill"], zt = { key: 9 }, Bt = [
|
|
164
165
|
"x",
|
|
165
166
|
"y",
|
|
166
167
|
"font-size",
|
|
167
168
|
"fill",
|
|
168
169
|
"font-weight"
|
|
169
|
-
],
|
|
170
|
+
], Vt = { key: 10 }, Ht = [
|
|
170
171
|
"x",
|
|
171
172
|
"y",
|
|
172
173
|
"fill"
|
|
173
|
-
],
|
|
174
|
+
], Ut = [
|
|
174
175
|
"x",
|
|
175
176
|
"y",
|
|
176
177
|
"fill"
|
|
177
|
-
],
|
|
178
|
+
], Wt = [
|
|
178
179
|
"x",
|
|
179
180
|
"y",
|
|
180
181
|
"fill"
|
|
181
|
-
],
|
|
182
|
+
], Gt = [
|
|
182
183
|
"x",
|
|
183
184
|
"y",
|
|
184
185
|
"fill"
|
|
185
|
-
],
|
|
186
|
+
], Kt = ["stroke", "d"], qt = ["stroke", "d"], Jt = {
|
|
186
187
|
key: 0,
|
|
187
188
|
style: {
|
|
188
189
|
position: "absolute",
|
|
@@ -192,15 +193,15 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
192
193
|
},
|
|
193
194
|
"data-dom-to-png-ignore": "",
|
|
194
195
|
"aria-hidden": "true"
|
|
195
|
-
},
|
|
196
|
+
}, Yt = {
|
|
196
197
|
key: 5,
|
|
197
198
|
class: "vue-data-ui-watermark"
|
|
198
|
-
},
|
|
199
|
+
}, Xt = ["id"], Zt = ["onClick"], Qt = {
|
|
199
200
|
key: 0,
|
|
200
201
|
height: "14",
|
|
201
202
|
width: "14",
|
|
202
203
|
viewBox: "0 0 20 20"
|
|
203
|
-
},
|
|
204
|
+
}, $t = ["innerHTML"], en = /*#__PURE__*/ we({
|
|
204
205
|
__name: "vue-ui-quadrant",
|
|
205
206
|
props: {
|
|
206
207
|
config: {
|
|
@@ -222,11 +223,18 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
222
223
|
"selectLegend",
|
|
223
224
|
"copyAlt"
|
|
224
225
|
],
|
|
225
|
-
setup(e, { expose:
|
|
226
|
-
let
|
|
226
|
+
setup(e, { expose: we, emit: Ke }) {
|
|
227
|
+
let en = g(() => import("./Tooltip-CMTGxeYO.js")), tn = g(() => import("./BaseIcon-91MZoczJ.js").then((e) => e.n)), nn = g(() => import("./vue-ui-accordion-61MlW-Ge.js").then((e) => e.n)), rn = g(() => import("./DataTable-D4tM9s5Y.js")), an = g(() => import("./PenAndPaper-cE4J8-rA.js").then((e) => e.t)), on = g(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), sn = g(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), cn = g(() => import("./BaseDraggableDialog-qTnfhLBz.js").then((e) => e.n)), { vue_ui_quadrant: ln } = me(), { isThemeValid: un, warnInvalidTheme: dn } = be(), O = e, fn = d(() => !!O.dataset && O.dataset.length), k = S(se()), pn = Ke, mn = S(!1), hn = S(""), gn = S(0), A = S(!1), j = S(null), _n = S(null), vn = S(null), yn = S(null), bn = S(null), xn = S(0), Sn = S(0), Cn = S(0), wn = S(!1), Tn = S(null), En = S(null), Dn = S(!1), On = S(!1), M = S(null), kn = S(null), An = S({
|
|
227
228
|
x: 0,
|
|
228
229
|
y: 0
|
|
229
|
-
}),
|
|
230
|
+
}), jn = S("pointer"), Mn = S(!1), N = S(zn());
|
|
231
|
+
fe({
|
|
232
|
+
config: () => N.value,
|
|
233
|
+
dataset: () => O.dataset,
|
|
234
|
+
component: "VueUiQuadrant",
|
|
235
|
+
rules: [pe.emptyArray, pe.noHint]
|
|
236
|
+
});
|
|
237
|
+
let P = d(() => N.value.userOptions.useCursorPointer), Nn = d(() => ({
|
|
230
238
|
defaultConfig: {
|
|
231
239
|
userOptions: { show: !1 },
|
|
232
240
|
table: { show: !1 },
|
|
@@ -253,13 +261,13 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
253
261
|
} }
|
|
254
262
|
},
|
|
255
263
|
userConfig: N.value.skeletonConfig ?? {}
|
|
256
|
-
})), { loading:
|
|
257
|
-
...
|
|
264
|
+
})), { loading: Pn, FINAL_DATASET: Fn } = ge({
|
|
265
|
+
...We(O),
|
|
258
266
|
FINAL_CONFIG: N,
|
|
259
|
-
prepareConfig:
|
|
267
|
+
prepareConfig: zn,
|
|
260
268
|
callback: () => {
|
|
261
269
|
Promise.resolve().then(async () => {
|
|
262
|
-
await
|
|
270
|
+
await ze(), R.value.showTable = N.value.table.show;
|
|
263
271
|
});
|
|
264
272
|
},
|
|
265
273
|
skeletonDataset: O.config?.skeletonDataset ?? [{
|
|
@@ -334,144 +342,144 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
334
342
|
}
|
|
335
343
|
]
|
|
336
344
|
}],
|
|
337
|
-
skeletonConfig:
|
|
345
|
+
skeletonConfig: a({
|
|
338
346
|
defaultConfig: N.value,
|
|
339
|
-
userConfig:
|
|
347
|
+
userConfig: Nn.value
|
|
340
348
|
})
|
|
341
|
-
}), { userOptionsVisible:
|
|
342
|
-
function
|
|
343
|
-
let e =
|
|
349
|
+
}), { userOptionsVisible: In, setUserOptionsVisibility: Ln, keepUserOptionState: Rn } = Ae({ config: N.value }), { svgRef: F } = je({ config: N.value.style.chart.title });
|
|
350
|
+
function zn() {
|
|
351
|
+
let e = ye({
|
|
344
352
|
userConfig: O.config,
|
|
345
|
-
defaultConfig:
|
|
353
|
+
defaultConfig: ln
|
|
346
354
|
}), t = e.theme;
|
|
347
355
|
if (!t) return e;
|
|
348
|
-
if (!
|
|
349
|
-
let n =
|
|
350
|
-
userConfig:
|
|
356
|
+
if (!un.value(e)) return dn(e), e;
|
|
357
|
+
let n = ye({
|
|
358
|
+
userConfig: Ne[t] || O.config,
|
|
351
359
|
defaultConfig: e
|
|
352
|
-
}), r =
|
|
360
|
+
}), r = ye({
|
|
353
361
|
userConfig: O.config,
|
|
354
362
|
defaultConfig: n
|
|
355
363
|
});
|
|
356
364
|
return {
|
|
357
365
|
...r,
|
|
358
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
366
|
+
customPalette: r.customPalette.length ? r.customPalette : o[t] || ee
|
|
359
367
|
};
|
|
360
368
|
}
|
|
361
|
-
|
|
362
|
-
N.value =
|
|
369
|
+
Ge(() => O.config, (e) => {
|
|
370
|
+
N.value = zn(), In.value = !N.value.userOptions.showOnChartHover, Vn(), xn.value += 1, Sn.value += 1, Cn.value += 1, R.value.plotLabels.show = N.value.style.chart.layout.labels.plotLabels.show, R.value.showTable = N.value.table.show, R.value.showTooltip = N.value.style.chart.tooltip.show;
|
|
363
371
|
}, { deep: !0 });
|
|
364
|
-
let I =
|
|
365
|
-
function
|
|
366
|
-
if (
|
|
372
|
+
let I = Ue(null), L = Ue(null), Bn = d(() => N.value.debug);
|
|
373
|
+
function Vn() {
|
|
374
|
+
if (oe(O.dataset) ? l({
|
|
367
375
|
componentName: "VueUiQuadrant",
|
|
368
376
|
type: "dataset",
|
|
369
|
-
debug:
|
|
377
|
+
debug: Bn.value
|
|
370
378
|
}) : O.dataset.forEach((e, t) => {
|
|
371
|
-
[null, void 0].includes(e.name) &&
|
|
379
|
+
[null, void 0].includes(e.name) && l({
|
|
372
380
|
componentName: "VueUiQuadrant",
|
|
373
381
|
type: "datasetSerieAttribute",
|
|
374
382
|
property: "name",
|
|
375
383
|
index: t,
|
|
376
|
-
debug:
|
|
377
|
-
}), [null, void 0].includes(e.series) ?
|
|
384
|
+
debug: Bn.value
|
|
385
|
+
}), [null, void 0].includes(e.series) ? l({
|
|
378
386
|
componentName: "VueUiQuadrant",
|
|
379
387
|
type: "datasetSerieAttribute",
|
|
380
388
|
property: "series",
|
|
381
389
|
index: t,
|
|
382
|
-
debug:
|
|
390
|
+
debug: Bn.value
|
|
383
391
|
}) : e.series.forEach((e, t) => {
|
|
384
|
-
[null, void 0].includes(e.name) &&
|
|
392
|
+
[null, void 0].includes(e.name) && l({
|
|
385
393
|
componentName: "VueUiQuadrant",
|
|
386
394
|
type: "datasetSerieAttribute",
|
|
387
395
|
property: "name",
|
|
388
396
|
key: "series",
|
|
389
397
|
index: t,
|
|
390
|
-
debug:
|
|
398
|
+
debug: Bn.value
|
|
391
399
|
});
|
|
392
400
|
});
|
|
393
401
|
}), N.value.responsive) {
|
|
394
|
-
let e =
|
|
395
|
-
let { width: e, height: t } =
|
|
402
|
+
let e = Te(() => {
|
|
403
|
+
let { width: e, height: t } = Ee({
|
|
396
404
|
chart: j.value,
|
|
397
|
-
title: N.value.style.chart.title.text ?
|
|
398
|
-
legend: N.value.style.chart.legend.show ?
|
|
399
|
-
source:
|
|
400
|
-
noTitle:
|
|
405
|
+
title: N.value.style.chart.title.text ? _n.value : null,
|
|
406
|
+
legend: N.value.style.chart.legend.show ? vn.value : null,
|
|
407
|
+
source: yn.value,
|
|
408
|
+
noTitle: bn.value
|
|
401
409
|
});
|
|
402
|
-
|
|
403
|
-
|
|
410
|
+
z.value = 48, requestAnimationFrame(() => {
|
|
411
|
+
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;
|
|
404
412
|
});
|
|
405
413
|
});
|
|
406
|
-
I.value && (
|
|
414
|
+
I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect()), I.value = new ResizeObserver(e), L.value = j.value.parentNode, I.value.observe(L.value);
|
|
407
415
|
}
|
|
408
416
|
}
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
}),
|
|
412
|
-
I.value && (
|
|
417
|
+
Ve(() => {
|
|
418
|
+
wn.value = !0, Vn();
|
|
419
|
+
}), Be(() => {
|
|
420
|
+
I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect());
|
|
413
421
|
});
|
|
414
|
-
let { isPrinting:
|
|
422
|
+
let { isPrinting: Hn, isImaging: Un, generatePdf: Wn, generateImage: Gn } = he({
|
|
415
423
|
elementId: `vue-ui-quadrant_${k.value}`,
|
|
416
424
|
fileName: N.value.style.chart.title.text || "vue-ui-quadrant",
|
|
417
425
|
options: N.value.userOptions.print
|
|
418
|
-
}),
|
|
426
|
+
}), Kn = d(() => N.value.userOptions.show && !N.value.style.chart.title.text), qn = d(() => ue(N.value.customPalette)), R = S({
|
|
419
427
|
plotLabels: { show: N.value.style.chart.layout.labels.plotLabels.show },
|
|
420
428
|
showTable: N.value.table.show,
|
|
421
429
|
showTooltip: N.value.style.chart.tooltip.show
|
|
422
|
-
}),
|
|
430
|
+
}), z = S(48), B = S({
|
|
423
431
|
height: N.value.style.chart.height,
|
|
424
|
-
usableHeight: N.value.style.chart.height -
|
|
432
|
+
usableHeight: N.value.style.chart.height - z.value * 2,
|
|
425
433
|
width: N.value.style.chart.width,
|
|
426
|
-
usableWidth: N.value.style.chart.width -
|
|
427
|
-
top:
|
|
428
|
-
left:
|
|
429
|
-
right: N.value.style.chart.width -
|
|
430
|
-
bottom: N.value.style.chart.height -
|
|
434
|
+
usableWidth: N.value.style.chart.width - z.value * 2,
|
|
435
|
+
top: z.value,
|
|
436
|
+
left: z.value,
|
|
437
|
+
right: N.value.style.chart.width - z.value,
|
|
438
|
+
bottom: N.value.style.chart.height - z.value,
|
|
431
439
|
centerX: N.value.style.chart.width / 2,
|
|
432
440
|
centerY: N.value.style.chart.height - N.value.style.chart.height / 2,
|
|
433
|
-
padding:
|
|
434
|
-
}),
|
|
435
|
-
...JSON.parse(JSON.stringify(
|
|
441
|
+
padding: z.value
|
|
442
|
+
}), V = S({
|
|
443
|
+
...JSON.parse(JSON.stringify(B.value)),
|
|
436
444
|
startX: 0,
|
|
437
445
|
startY: 0
|
|
438
446
|
});
|
|
439
|
-
|
|
440
|
-
e && (
|
|
441
|
-
...JSON.parse(JSON.stringify(
|
|
447
|
+
Ge(() => B.value, (e) => {
|
|
448
|
+
e && (V.value = {
|
|
449
|
+
...JSON.parse(JSON.stringify(B.value)),
|
|
442
450
|
startX: 0,
|
|
443
451
|
startY: 0
|
|
444
452
|
});
|
|
445
453
|
}, { deep: !0 });
|
|
446
|
-
let
|
|
447
|
-
switch (
|
|
454
|
+
let H = S(null), U = d(() => {
|
|
455
|
+
switch (H.value) {
|
|
448
456
|
case "TL": return {
|
|
449
|
-
x:
|
|
450
|
-
y:
|
|
457
|
+
x: V.value.startX + V.value.width / 2,
|
|
458
|
+
y: V.value.height,
|
|
451
459
|
text: N.value.style.chart.layout.labels.quadrantLabels.tl.text || "Top Left",
|
|
452
460
|
fontSize: N.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
453
461
|
fill: N.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
454
462
|
bold: N.value.style.chart.layout.labels.quadrantLabels.tl.bold
|
|
455
463
|
};
|
|
456
464
|
case "TR": return {
|
|
457
|
-
x:
|
|
458
|
-
y:
|
|
465
|
+
x: V.value.startX + V.value.width / 2,
|
|
466
|
+
y: V.value.height,
|
|
459
467
|
text: N.value.style.chart.layout.labels.quadrantLabels.tr.text || "Top Right",
|
|
460
468
|
fontSize: N.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
461
469
|
fill: N.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
462
470
|
bold: N.value.style.chart.layout.labels.quadrantLabels.tr.bold
|
|
463
471
|
};
|
|
464
472
|
case "BR": return {
|
|
465
|
-
x:
|
|
466
|
-
y:
|
|
473
|
+
x: V.value.startX + V.value.width / 2,
|
|
474
|
+
y: V.value.height * 1.678,
|
|
467
475
|
text: N.value.style.chart.layout.labels.quadrantLabels.br.text || "Bottom Right",
|
|
468
476
|
fontSize: N.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
469
477
|
fill: N.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
470
478
|
bold: N.value.style.chart.layout.labels.quadrantLabels.br.bold
|
|
471
479
|
};
|
|
472
480
|
case "BL": return {
|
|
473
|
-
x:
|
|
474
|
-
y:
|
|
481
|
+
x: V.value.startX + V.value.width / 2,
|
|
482
|
+
y: V.value.height * 1.678,
|
|
475
483
|
text: N.value.style.chart.layout.labels.quadrantLabels.bl.text || "Bottom Left",
|
|
476
484
|
fontSize: N.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
477
485
|
fill: N.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
@@ -486,86 +494,86 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
486
494
|
bold: !1
|
|
487
495
|
};
|
|
488
496
|
}
|
|
489
|
-
}),
|
|
490
|
-
function
|
|
491
|
-
|
|
497
|
+
}), Jn = S(null), Yn = S(!1);
|
|
498
|
+
function Xn({ targetX: e, targetY: t, targetW: n, targetH: r, side: i }) {
|
|
499
|
+
H.value && yr(i);
|
|
492
500
|
let a = {
|
|
493
|
-
x: e -
|
|
494
|
-
y: t -
|
|
495
|
-
w: n -
|
|
496
|
-
h: r -
|
|
501
|
+
x: e - V.value.startX,
|
|
502
|
+
y: t - V.value.startY,
|
|
503
|
+
w: n - V.value.width,
|
|
504
|
+
h: r - V.value.height
|
|
497
505
|
}, o = N.value.zoomAnimationFrames, ee = 0;
|
|
498
506
|
function te() {
|
|
499
|
-
|
|
507
|
+
Yn.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, ee += 1, ee < o ? Jn.value = requestAnimationFrame(te) : Yn.value = !1;
|
|
500
508
|
}
|
|
501
509
|
te();
|
|
502
510
|
}
|
|
503
|
-
let
|
|
504
|
-
function
|
|
505
|
-
if (
|
|
511
|
+
let W = d(() => N.value.zoomEnabled);
|
|
512
|
+
function G(e) {
|
|
513
|
+
if (W.value && !Yn.value) if (A.value && H.value === e) Xn({
|
|
506
514
|
targetX: 0,
|
|
507
515
|
targetY: 0,
|
|
508
|
-
targetW:
|
|
509
|
-
targetH:
|
|
510
|
-
}),
|
|
516
|
+
targetW: B.value.width,
|
|
517
|
+
targetH: B.value.height
|
|
518
|
+
}), H.value = null, A.value = !1;
|
|
511
519
|
else {
|
|
512
|
-
switch (
|
|
520
|
+
switch (H.value = e, e) {
|
|
513
521
|
case "TL":
|
|
514
|
-
|
|
522
|
+
Xn({
|
|
515
523
|
targetX: 0,
|
|
516
524
|
targetY: 0,
|
|
517
|
-
targetW:
|
|
518
|
-
targetH:
|
|
525
|
+
targetW: B.value.width / 2 + B.value.left,
|
|
526
|
+
targetH: B.value.height / 2 + B.value.top,
|
|
519
527
|
side: "tl"
|
|
520
528
|
});
|
|
521
529
|
break;
|
|
522
530
|
case "TR":
|
|
523
|
-
|
|
524
|
-
targetX:
|
|
531
|
+
Xn({
|
|
532
|
+
targetX: B.value.width / 2 - B.value.left,
|
|
525
533
|
targetY: 0,
|
|
526
|
-
targetW:
|
|
527
|
-
targetH:
|
|
534
|
+
targetW: B.value.width / 2 + B.value.left,
|
|
535
|
+
targetH: B.value.height / 2 + B.value.top,
|
|
528
536
|
side: "tr"
|
|
529
537
|
});
|
|
530
538
|
break;
|
|
531
539
|
case "BR":
|
|
532
|
-
|
|
533
|
-
targetX:
|
|
534
|
-
targetY:
|
|
535
|
-
targetW:
|
|
536
|
-
targetH:
|
|
540
|
+
Xn({
|
|
541
|
+
targetX: B.value.width / 2 - B.value.left,
|
|
542
|
+
targetY: B.value.height / 2 - B.value.top,
|
|
543
|
+
targetW: B.value.width / 2 + B.value.left,
|
|
544
|
+
targetH: B.value.height / 2 + B.value.top,
|
|
537
545
|
side: "br"
|
|
538
546
|
});
|
|
539
547
|
break;
|
|
540
548
|
case "BL":
|
|
541
|
-
|
|
549
|
+
Xn({
|
|
542
550
|
targetX: 0,
|
|
543
|
-
targetY:
|
|
544
|
-
targetW:
|
|
545
|
-
targetH:
|
|
551
|
+
targetY: B.value.height / 2 - B.value.top,
|
|
552
|
+
targetW: B.value.width / 2 + B.value.left,
|
|
553
|
+
targetH: B.value.height / 2 + B.value.top,
|
|
546
554
|
side: "bl"
|
|
547
555
|
});
|
|
548
556
|
break;
|
|
549
557
|
default:
|
|
550
|
-
|
|
558
|
+
V.value.startX = 0, V.value.startY = 0, V.value.width = B.value.width, V.value.height = B.value.height;
|
|
551
559
|
break;
|
|
552
560
|
}
|
|
553
561
|
A.value = !0;
|
|
554
562
|
}
|
|
555
563
|
}
|
|
556
|
-
let
|
|
557
|
-
let e = N.value.style.chart.layout.grid.graduations.steps, t =
|
|
564
|
+
let Zn = d(() => {
|
|
565
|
+
let e = N.value.style.chart.layout.grid.graduations.steps, t = B.value.usableWidth / (e * 2), n = B.value.top, r = [];
|
|
558
566
|
for (let i = 0; i < e; i += 1) r.push({
|
|
559
|
-
x:
|
|
560
|
-
y: n +
|
|
561
|
-
height:
|
|
562
|
-
width:
|
|
567
|
+
x: B.value.padding + t * i,
|
|
568
|
+
y: n + B.value.usableHeight * (i / e / 2),
|
|
569
|
+
height: B.value.usableHeight * (1 - i / e),
|
|
570
|
+
width: B.value.usableWidth * (1 - i / e),
|
|
563
571
|
opacity: Math.round((i + 1) / e * 20)
|
|
564
572
|
});
|
|
565
573
|
return r;
|
|
566
|
-
}),
|
|
574
|
+
}), K = d(() => {
|
|
567
575
|
let e = N.value.style.chart.layout.grid.xAxis.max, t = N.value.style.chart.layout.grid.xAxis.min, n = N.value.style.chart.layout.grid.yAxis.max, r = N.value.style.chart.layout.grid.yAxis.min;
|
|
568
|
-
return N.value.style.chart.layout.grid.xAxis.auto && (e = Math.max(...
|
|
576
|
+
return N.value.style.chart.layout.grid.xAxis.auto && (e = Math.max(...Qn.value.flatMap((e) => e.series.map((e) => e.x))), t = Math.min(...Qn.value.flatMap((e) => e.series.map((e) => e.x)))), N.value.style.chart.layout.grid.yAxis.auto && (n = Math.max(...Qn.value.flatMap((e) => e.series.map((e) => e.y))), r = Math.min(...Qn.value.flatMap((e) => e.series.map((e) => e.y)))), {
|
|
569
577
|
x: {
|
|
570
578
|
max: e,
|
|
571
579
|
min: t
|
|
@@ -575,24 +583,24 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
575
583
|
min: r
|
|
576
584
|
}
|
|
577
585
|
};
|
|
578
|
-
}),
|
|
586
|
+
}), q = S([]), Qn = d(() => Fn.value.map((e, t) => ({
|
|
579
587
|
...e,
|
|
580
|
-
series:
|
|
588
|
+
series: ne({
|
|
581
589
|
data: e.series,
|
|
582
590
|
threshold: N.value.downsample.threshold
|
|
583
591
|
}),
|
|
584
592
|
id: `cat_${t}_${k.value}`,
|
|
585
|
-
color:
|
|
586
|
-
}))),
|
|
593
|
+
color: te(e.color) || qn.value[t] || ee[t]
|
|
594
|
+
}))), $n = d(() => Qn.value.filter((e) => !q.value.includes(e.id))), er = d(() => Qn.value.map((e, t) => ({
|
|
587
595
|
...e,
|
|
588
596
|
shape: e.shape || "circle",
|
|
589
597
|
series: e.series.map((t) => ({
|
|
590
598
|
...t,
|
|
591
|
-
x:
|
|
592
|
-
y:
|
|
599
|
+
x: tr(t.x),
|
|
600
|
+
y: nr(t.y),
|
|
593
601
|
xValue: t.x,
|
|
594
602
|
yValue: t.y,
|
|
595
|
-
quadrantSide:
|
|
603
|
+
quadrantSide: dr({
|
|
596
604
|
x: t.x,
|
|
597
605
|
y: t.y
|
|
598
606
|
}),
|
|
@@ -601,64 +609,64 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
601
609
|
shape: e.shape,
|
|
602
610
|
color: e.color
|
|
603
611
|
}))
|
|
604
|
-
}))), J = d(() => (
|
|
612
|
+
}))), J = d(() => (Fn.value.forEach((e, t) => {
|
|
605
613
|
e.series.forEach((e, t) => {
|
|
606
|
-
[null, void 0].includes(e.x) &&
|
|
614
|
+
[null, void 0].includes(e.x) && l({
|
|
607
615
|
componentName: "VueUiQuadrant",
|
|
608
616
|
type: "datasetSerieAttribute",
|
|
609
617
|
property: "x",
|
|
610
618
|
key: "series",
|
|
611
619
|
index: t,
|
|
612
|
-
debug:
|
|
613
|
-
}), [null, void 0].includes(e.y) &&
|
|
620
|
+
debug: Bn.value
|
|
621
|
+
}), [null, void 0].includes(e.y) && l({
|
|
614
622
|
componentName: "VueUiQuadrant",
|
|
615
623
|
type: "datasetSerieAttribute",
|
|
616
624
|
property: "y",
|
|
617
625
|
key: "series",
|
|
618
626
|
index: t,
|
|
619
|
-
debug:
|
|
627
|
+
debug: Bn.value
|
|
620
628
|
});
|
|
621
629
|
});
|
|
622
|
-
}),
|
|
630
|
+
}), $n.value.map((e, t) => ({
|
|
623
631
|
...e,
|
|
624
632
|
shape: e.shape || "circle",
|
|
625
|
-
color: e.color ||
|
|
633
|
+
color: e.color || qn.value[t] || ee[t],
|
|
626
634
|
series: e.series.map((t) => ({
|
|
627
635
|
...t,
|
|
628
636
|
category: e,
|
|
629
|
-
x:
|
|
630
|
-
y:
|
|
637
|
+
x: tr(t.x),
|
|
638
|
+
y: nr(t.y),
|
|
631
639
|
xValue: t.x,
|
|
632
640
|
yValue: t.y,
|
|
633
|
-
quadrantSide:
|
|
641
|
+
quadrantSide: dr({
|
|
634
642
|
x: t.x,
|
|
635
643
|
y: t.y
|
|
636
644
|
}),
|
|
637
645
|
categoryName: e.name,
|
|
638
646
|
shape: e.shape,
|
|
639
647
|
color: e.color,
|
|
640
|
-
uid:
|
|
648
|
+
uid: se()
|
|
641
649
|
}))
|
|
642
650
|
}))));
|
|
643
|
-
function
|
|
651
|
+
function tr(e) {
|
|
644
652
|
if (e >= 0) {
|
|
645
|
-
let t = e /
|
|
646
|
-
return
|
|
653
|
+
let t = e / K.value.x.max;
|
|
654
|
+
return B.value.centerX + B.value.usableWidth / 2 * t;
|
|
647
655
|
} else {
|
|
648
|
-
let t = Math.abs(e) / Math.abs(
|
|
649
|
-
return
|
|
656
|
+
let t = Math.abs(e) / Math.abs(K.value.x.min);
|
|
657
|
+
return B.value.centerX - B.value.usableWidth / 2 * t;
|
|
650
658
|
}
|
|
651
659
|
}
|
|
652
|
-
function
|
|
660
|
+
function nr(e) {
|
|
653
661
|
if (e >= 0) {
|
|
654
|
-
let t = e /
|
|
655
|
-
return
|
|
662
|
+
let t = e / K.value.y.max;
|
|
663
|
+
return B.value.centerY + (1 - B.value.usableHeight / 2 * t);
|
|
656
664
|
} else {
|
|
657
|
-
let t = Math.abs(e) / Math.abs(
|
|
658
|
-
return
|
|
665
|
+
let t = Math.abs(e) / Math.abs(K.value.y.min);
|
|
666
|
+
return B.value.centerY - (1 - B.value.usableHeight / 2 * t);
|
|
659
667
|
}
|
|
660
668
|
}
|
|
661
|
-
let
|
|
669
|
+
let rr = d(() => {
|
|
662
670
|
let e = J.value.flatMap((e) => e.series.map((t) => ({
|
|
663
671
|
x: t.xValue,
|
|
664
672
|
y: t.yValue,
|
|
@@ -690,19 +698,19 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
690
698
|
})),
|
|
691
699
|
tableData: e
|
|
692
700
|
};
|
|
693
|
-
}),
|
|
694
|
-
let e =
|
|
701
|
+
}), ir = d(() => {
|
|
702
|
+
let e = rr.value.head, t = rr.value.tableData.map((e) => [
|
|
695
703
|
{
|
|
696
704
|
shape: e.shape,
|
|
697
705
|
color: e.color,
|
|
698
706
|
name: e.category
|
|
699
707
|
},
|
|
700
708
|
e.name,
|
|
701
|
-
|
|
709
|
+
c(N.value.style.chart.layout.labels.plotLabels.x.formatter, e.x, s({
|
|
702
710
|
v: e.x,
|
|
703
711
|
r: N.value.style.chart.layout.labels.plotLabels.rounding
|
|
704
712
|
})),
|
|
705
|
-
|
|
713
|
+
c(N.value.style.chart.layout.labels.plotLabels.y.formatter, e.y, s({
|
|
706
714
|
v: e.y,
|
|
707
715
|
r: N.value.style.chart.layout.labels.plotLabels.rounding
|
|
708
716
|
})),
|
|
@@ -728,35 +736,35 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
728
736
|
colNames: e
|
|
729
737
|
};
|
|
730
738
|
});
|
|
731
|
-
function
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
}),
|
|
739
|
+
function ar() {
|
|
740
|
+
q.value.length ? q.value = [] : Y.value.forEach((e) => {
|
|
741
|
+
q.value.push(e.id);
|
|
742
|
+
}), pn("selectLegend", br());
|
|
735
743
|
}
|
|
736
|
-
function
|
|
737
|
-
|
|
744
|
+
function or(e) {
|
|
745
|
+
q.value.includes(e) ? q.value = q.value.filter((t) => t !== e) : q.value.push(e), pn("selectLegend", br());
|
|
738
746
|
}
|
|
739
|
-
let Y = d(() =>
|
|
747
|
+
let Y = d(() => er.value.map((e) => ({
|
|
740
748
|
name: e.name,
|
|
741
749
|
shape: e.shape,
|
|
742
750
|
color: e.color,
|
|
743
751
|
id: e.id,
|
|
744
|
-
opacity:
|
|
745
|
-
segregate: () =>
|
|
746
|
-
isSegregated:
|
|
752
|
+
opacity: q.value.includes(e.id) ? .5 : 1,
|
|
753
|
+
segregate: () => or(e.id),
|
|
754
|
+
isSegregated: q.value.includes(e.id)
|
|
747
755
|
})));
|
|
748
|
-
function
|
|
756
|
+
function sr(e) {
|
|
749
757
|
return Y.value.length ? Y.value.find((t) => t.name === e) || (N.value.debug && console.warn(`VueUiQuadrant - Series name not found "${e}"`), null) : (N.value.debug && console.warn("VueUiQuadrant - There are no series to show."), null);
|
|
750
758
|
}
|
|
751
|
-
function
|
|
752
|
-
let t =
|
|
753
|
-
t !== null &&
|
|
759
|
+
function cr(e) {
|
|
760
|
+
let t = sr(e);
|
|
761
|
+
t !== null && q.value.includes(t.id) && or(t.id);
|
|
754
762
|
}
|
|
755
|
-
function
|
|
756
|
-
let t =
|
|
757
|
-
t !== null && (
|
|
763
|
+
function lr(e) {
|
|
764
|
+
let t = sr(e);
|
|
765
|
+
t !== null && (q.value.includes(t.id) || or(t.id));
|
|
758
766
|
}
|
|
759
|
-
let
|
|
767
|
+
let ur = d(() => ({
|
|
760
768
|
cy: "quadrant-div-legend",
|
|
761
769
|
backgroundColor: N.value.style.chart.legend.backgroundColor,
|
|
762
770
|
color: N.value.style.chart.legend.color,
|
|
@@ -764,7 +772,7 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
764
772
|
paddingBottom: 12,
|
|
765
773
|
fontWeight: N.value.style.chart.legend.bold ? "bold" : ""
|
|
766
774
|
}));
|
|
767
|
-
function
|
|
775
|
+
function dr(e) {
|
|
768
776
|
switch (!0) {
|
|
769
777
|
case e.x >= 0 && e.y >= 0: return "tr";
|
|
770
778
|
case e.x >= 0 && e.y < 0: return "br";
|
|
@@ -773,40 +781,40 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
773
781
|
default: return "";
|
|
774
782
|
}
|
|
775
783
|
}
|
|
776
|
-
let X = S(null),
|
|
777
|
-
function
|
|
778
|
-
X.value = null,
|
|
784
|
+
let X = S(null), fr = S(null), pr = S(null);
|
|
785
|
+
function mr() {
|
|
786
|
+
X.value = null, fr.value = null, M.value = null, kn.value = null, mn.value = !1;
|
|
779
787
|
}
|
|
780
|
-
function
|
|
788
|
+
function hr(e) {
|
|
781
789
|
if (!F.value || !e) return;
|
|
782
790
|
let t = `[data-a11y-plot-id="${e}"]`, n = F.value.querySelector(t);
|
|
783
791
|
if (!n) return;
|
|
784
792
|
let r = n.getBoundingClientRect();
|
|
785
|
-
|
|
793
|
+
An.value = {
|
|
786
794
|
x: r.left + r.width / 2,
|
|
787
795
|
y: r.top + r.height / 2
|
|
788
796
|
};
|
|
789
797
|
}
|
|
790
|
-
function
|
|
798
|
+
function gr(e, t, n, r = "pointer", i = null) {
|
|
791
799
|
N.value.events.datapointEnter && N.value.events.datapointEnter({
|
|
792
800
|
datapoint: t,
|
|
793
801
|
seriesIndex: n
|
|
794
|
-
}), X.value = t.uid,
|
|
802
|
+
}), X.value = t.uid, fr.value = {
|
|
795
803
|
color: e.color,
|
|
796
804
|
shape: e.shape
|
|
797
|
-
},
|
|
805
|
+
}, jn.value = r, M.value = i, kn.value = t.uid, pr.value = {
|
|
798
806
|
datapoint: t,
|
|
799
807
|
seriesIndex: n,
|
|
800
808
|
series: J.value,
|
|
801
809
|
config: N.value
|
|
802
810
|
};
|
|
803
811
|
let a = N.value.style.chart.tooltip.customFormat;
|
|
804
|
-
if (
|
|
812
|
+
if (de(a) && ae(() => a({
|
|
805
813
|
seriesIndex: n,
|
|
806
814
|
datapoint: t,
|
|
807
815
|
series: J.value,
|
|
808
816
|
config: N.value
|
|
809
|
-
})))
|
|
817
|
+
}))) hn.value = a({
|
|
810
818
|
seriesIndex: n,
|
|
811
819
|
datapoint: t,
|
|
812
820
|
series: J.value,
|
|
@@ -814,33 +822,33 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
814
822
|
});
|
|
815
823
|
else {
|
|
816
824
|
let r = "";
|
|
817
|
-
t.quadrantSide && (r += `<div style="color:${N.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].color};font-weight:${N.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].bold ? "bold" : "400"}">${N.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 ${N.value.style.chart.tooltip.borderColor};margin-bottom:3px">${t.name}</div>`, r += `<div>${N.value.style.chart.layout.grid.xAxis.name ? N.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${
|
|
825
|
+
t.quadrantSide && (r += `<div style="color:${N.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].color};font-weight:${N.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].bold ? "bold" : "400"}">${N.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 ${N.value.style.chart.tooltip.borderColor};margin-bottom:3px">${t.name}</div>`, r += `<div>${N.value.style.chart.layout.grid.xAxis.name ? N.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${c(N.value.style.chart.layout.labels.plotLabels.x.formatter, t.xValue, s({
|
|
818
826
|
v: t.xValue,
|
|
819
827
|
r: N.value.style.chart.tooltip.roundingValue
|
|
820
828
|
}), {
|
|
821
829
|
datapoint: t,
|
|
822
830
|
category: e,
|
|
823
831
|
categoryIndex: n
|
|
824
|
-
})}</b></div>`, r += `<div>${N.value.style.chart.layout.grid.yAxis.name ? N.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${
|
|
832
|
+
})}</b></div>`, r += `<div>${N.value.style.chart.layout.grid.yAxis.name ? N.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${c(N.value.style.chart.layout.labels.plotLabels.y.formatter, t.yValue, s({
|
|
825
833
|
v: t.yValue,
|
|
826
834
|
r: N.value.style.chart.tooltip.roundingValue
|
|
827
835
|
}), {
|
|
828
836
|
datapoint: t,
|
|
829
837
|
category: e,
|
|
830
838
|
categoryIndex: n
|
|
831
|
-
})}</b></div>`,
|
|
839
|
+
})}</b></div>`, hn.value = `<div style="text-align:left;font-size:${N.value.style.chart.tooltip.fontSize}px">${r}</div>`;
|
|
832
840
|
}
|
|
833
|
-
r === "keyboard" &&
|
|
834
|
-
|
|
835
|
-
}),
|
|
841
|
+
r === "keyboard" && ze(() => {
|
|
842
|
+
hr(t.uid);
|
|
843
|
+
}), mn.value = !0;
|
|
836
844
|
}
|
|
837
|
-
function
|
|
845
|
+
function _r(e, t) {
|
|
838
846
|
N.value.events.datapointLeave && N.value.events.datapointLeave({
|
|
839
847
|
datapoint: e,
|
|
840
848
|
seriesIndex: t
|
|
841
|
-
}), !(
|
|
849
|
+
}), !(kn.value === e.uid && jn.value === "keyboard") && (mn.value = !1, X.value = null, fr.value = null);
|
|
842
850
|
}
|
|
843
|
-
function
|
|
851
|
+
function vr(e, t, n) {
|
|
844
852
|
N.value.events.datapointClick && N.value.events.datapointClick({
|
|
845
853
|
datapoint: t,
|
|
846
854
|
seriesIndex: n
|
|
@@ -854,9 +862,9 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
854
862
|
quadrantSide: t.quadrantSide,
|
|
855
863
|
sideName: N.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].text
|
|
856
864
|
};
|
|
857
|
-
|
|
865
|
+
pn("selectPlot", r);
|
|
858
866
|
}
|
|
859
|
-
function
|
|
867
|
+
function yr(e) {
|
|
860
868
|
if (!e) return;
|
|
861
869
|
let t = J.value.flatMap((t) => t.series.filter((t) => t.quadrantSide === e).map((e) => ({
|
|
862
870
|
category: e.categoryName,
|
|
@@ -868,115 +876,115 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
868
876
|
sideName: N.value.style.chart.layout.labels.quadrantLabels[e].text,
|
|
869
877
|
items: [...t]
|
|
870
878
|
};
|
|
871
|
-
|
|
879
|
+
pn("selectSide", n);
|
|
872
880
|
}
|
|
873
881
|
let Z = d(() => ({
|
|
874
882
|
TL: {
|
|
875
883
|
tl: {
|
|
876
|
-
x:
|
|
884
|
+
x: B.value.left + B.value.usableWidth / 4 - 20,
|
|
877
885
|
y: 0,
|
|
878
886
|
fill: N.value.style.chart.layout.labels.quadrantLabels.tl.color
|
|
879
887
|
},
|
|
880
888
|
tr: {
|
|
881
|
-
x:
|
|
889
|
+
x: B.value.left + B.value.usableWidth / 4,
|
|
882
890
|
y: 0,
|
|
883
891
|
fill: N.value.style.chart.layout.labels.quadrantLabels.tr.color
|
|
884
892
|
},
|
|
885
893
|
br: {
|
|
886
|
-
x:
|
|
894
|
+
x: B.value.left + B.value.usableWidth / 4,
|
|
887
895
|
y: 20,
|
|
888
896
|
fill: N.value.style.chart.layout.labels.quadrantLabels.br.color
|
|
889
897
|
},
|
|
890
898
|
bl: {
|
|
891
|
-
x:
|
|
899
|
+
x: B.value.left + B.value.usableWidth / 4 - 20,
|
|
892
900
|
y: 20,
|
|
893
901
|
fill: N.value.style.chart.layout.labels.quadrantLabels.bl.color
|
|
894
902
|
},
|
|
895
903
|
crosshairs: {
|
|
896
|
-
horizontal: `M ${
|
|
897
|
-
vertical: `M ${
|
|
904
|
+
horizontal: `M ${B.value.left + B.value.usableWidth / 4 - 20},20 ${B.value.left + B.value.usableWidth / 4 + 20},20`,
|
|
905
|
+
vertical: `M ${B.value.left + B.value.usableWidth / 4},0 ${B.value.left + B.value.usableWidth / 4},40`
|
|
898
906
|
}
|
|
899
907
|
},
|
|
900
908
|
TR: {
|
|
901
909
|
tl: {
|
|
902
|
-
x:
|
|
910
|
+
x: B.value.centerX + B.value.usableWidth / 4 - 20,
|
|
903
911
|
y: 0,
|
|
904
912
|
fill: N.value.style.chart.layout.labels.quadrantLabels.tl.color
|
|
905
913
|
},
|
|
906
914
|
tr: {
|
|
907
|
-
x:
|
|
915
|
+
x: B.value.centerX + B.value.usableWidth / 4,
|
|
908
916
|
y: 0,
|
|
909
917
|
fill: N.value.style.chart.layout.labels.quadrantLabels.tr.color
|
|
910
918
|
},
|
|
911
919
|
br: {
|
|
912
|
-
x:
|
|
920
|
+
x: B.value.centerX + B.value.usableWidth / 4,
|
|
913
921
|
y: 20,
|
|
914
922
|
fill: N.value.style.chart.layout.labels.quadrantLabels.br.color
|
|
915
923
|
},
|
|
916
924
|
bl: {
|
|
917
|
-
x:
|
|
925
|
+
x: B.value.centerX + B.value.usableWidth / 4 - 20,
|
|
918
926
|
y: 20,
|
|
919
927
|
fill: N.value.style.chart.layout.labels.quadrantLabels.bl.color
|
|
920
928
|
},
|
|
921
929
|
crosshairs: {
|
|
922
|
-
horizontal: `M ${
|
|
923
|
-
vertical: `M ${
|
|
930
|
+
horizontal: `M ${B.value.centerX + B.value.usableWidth / 4 - 20},20 ${B.value.centerX + B.value.usableWidth / 4 + 20},20`,
|
|
931
|
+
vertical: `M ${B.value.centerX + B.value.usableWidth / 4},0 ${B.value.centerX + B.value.usableWidth / 4},40`
|
|
924
932
|
}
|
|
925
933
|
},
|
|
926
934
|
BR: {
|
|
927
935
|
tl: {
|
|
928
|
-
x:
|
|
929
|
-
y:
|
|
936
|
+
x: B.value.centerX + B.value.usableWidth / 4 - 20,
|
|
937
|
+
y: B.value.centerY - 48,
|
|
930
938
|
fill: N.value.style.chart.layout.labels.quadrantLabels.tl.color
|
|
931
939
|
},
|
|
932
940
|
tr: {
|
|
933
|
-
x:
|
|
934
|
-
y:
|
|
941
|
+
x: B.value.centerX + B.value.usableWidth / 4,
|
|
942
|
+
y: B.value.centerY - 48,
|
|
935
943
|
fill: N.value.style.chart.layout.labels.quadrantLabels.tr.color
|
|
936
944
|
},
|
|
937
945
|
br: {
|
|
938
|
-
x:
|
|
939
|
-
y:
|
|
946
|
+
x: B.value.centerX + B.value.usableWidth / 4,
|
|
947
|
+
y: B.value.centerY - 28,
|
|
940
948
|
fill: N.value.style.chart.layout.labels.quadrantLabels.br.color
|
|
941
949
|
},
|
|
942
950
|
bl: {
|
|
943
|
-
x:
|
|
944
|
-
y:
|
|
951
|
+
x: B.value.centerX + B.value.usableWidth / 4 - 20,
|
|
952
|
+
y: B.value.centerY - 28,
|
|
945
953
|
fill: N.value.style.chart.layout.labels.quadrantLabels.bl.color
|
|
946
954
|
},
|
|
947
955
|
crosshairs: {
|
|
948
|
-
horizontal: `M ${
|
|
949
|
-
vertical: `M ${
|
|
956
|
+
horizontal: `M ${B.value.centerX + B.value.usableWidth / 4 - 20},${B.value.centerY - 28} ${B.value.centerX + B.value.usableWidth / 4 + 20},${B.value.centerY - 28}`,
|
|
957
|
+
vertical: `M ${B.value.centerX + B.value.usableWidth / 4},${B.value.centerY - 48} ${B.value.centerX + B.value.usableWidth / 4},${B.value.centerY - 8}`
|
|
950
958
|
}
|
|
951
959
|
},
|
|
952
960
|
BL: {
|
|
953
961
|
tl: {
|
|
954
|
-
x:
|
|
955
|
-
y:
|
|
962
|
+
x: B.value.left + B.value.usableWidth / 4 - 20,
|
|
963
|
+
y: B.value.centerY - 48,
|
|
956
964
|
fill: N.value.style.chart.layout.labels.quadrantLabels.tl.color
|
|
957
965
|
},
|
|
958
966
|
tr: {
|
|
959
|
-
x:
|
|
960
|
-
y:
|
|
967
|
+
x: B.value.left + B.value.usableWidth / 4,
|
|
968
|
+
y: B.value.centerY - 48,
|
|
961
969
|
fill: N.value.style.chart.layout.labels.quadrantLabels.tr.color
|
|
962
970
|
},
|
|
963
971
|
br: {
|
|
964
|
-
x:
|
|
965
|
-
y:
|
|
972
|
+
x: B.value.left + B.value.usableWidth / 4,
|
|
973
|
+
y: B.value.centerY - 28,
|
|
966
974
|
fill: N.value.style.chart.layout.labels.quadrantLabels.br.color
|
|
967
975
|
},
|
|
968
976
|
bl: {
|
|
969
|
-
x:
|
|
970
|
-
y:
|
|
977
|
+
x: B.value.left + B.value.usableWidth / 4 - 20,
|
|
978
|
+
y: B.value.centerY - 28,
|
|
971
979
|
fill: N.value.style.chart.layout.labels.quadrantLabels.bl.color
|
|
972
980
|
},
|
|
973
981
|
crosshairs: {
|
|
974
|
-
horizontal: `M ${
|
|
975
|
-
vertical: `M ${
|
|
982
|
+
horizontal: `M ${B.value.left + B.value.usableWidth / 4 - 20},${B.value.centerY - 28} ${B.value.left + B.value.usableWidth / 4 + 20},${B.value.centerY - 28}`,
|
|
983
|
+
vertical: `M ${B.value.left + B.value.usableWidth / 4},${B.value.centerY - 48} ${B.value.left + B.value.usableWidth / 4},${B.value.centerY - 8}`
|
|
976
984
|
}
|
|
977
985
|
}
|
|
978
986
|
}));
|
|
979
|
-
function
|
|
987
|
+
function br() {
|
|
980
988
|
return J.value.map((e) => ({
|
|
981
989
|
color: e.color,
|
|
982
990
|
name: e.name,
|
|
@@ -990,39 +998,39 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
990
998
|
}))
|
|
991
999
|
}));
|
|
992
1000
|
}
|
|
993
|
-
function
|
|
994
|
-
|
|
995
|
-
let
|
|
1001
|
+
function xr(e = null) {
|
|
1002
|
+
ze(() => {
|
|
1003
|
+
let n = [
|
|
996
1004
|
[N.value.style.chart.title.text],
|
|
997
1005
|
[N.value.style.chart.title.subtitle.text],
|
|
998
1006
|
[""]
|
|
999
|
-
],
|
|
1000
|
-
e ? e(
|
|
1001
|
-
csvContent:
|
|
1007
|
+
], i = rr.value.head, a = rr.value.body, o = r(n.concat([i]).concat(a));
|
|
1008
|
+
e ? e(o) : t({
|
|
1009
|
+
csvContent: o,
|
|
1002
1010
|
title: N.value.style.chart.title.text || "vue-ui-quadrant"
|
|
1003
1011
|
});
|
|
1004
1012
|
});
|
|
1005
1013
|
}
|
|
1006
1014
|
let Q = S(!1);
|
|
1007
|
-
function
|
|
1008
|
-
Q.value = e,
|
|
1009
|
-
}
|
|
1010
|
-
function xr() {
|
|
1011
|
-
L.value.showTable = !L.value.showTable;
|
|
1012
|
-
}
|
|
1013
|
-
function Sr() {
|
|
1014
|
-
L.value.plotLabels.show = !L.value.plotLabels.show;
|
|
1015
|
+
function Sr(e) {
|
|
1016
|
+
Q.value = e, gn.value += 1;
|
|
1015
1017
|
}
|
|
1016
1018
|
function Cr() {
|
|
1017
|
-
|
|
1019
|
+
R.value.showTable = !R.value.showTable;
|
|
1020
|
+
}
|
|
1021
|
+
function wr() {
|
|
1022
|
+
R.value.plotLabels.show = !R.value.plotLabels.show;
|
|
1018
1023
|
}
|
|
1019
|
-
let wr = S(!1);
|
|
1020
1024
|
function Tr() {
|
|
1021
|
-
|
|
1025
|
+
R.value.showTooltip = !R.value.showTooltip;
|
|
1026
|
+
}
|
|
1027
|
+
let Er = S(!1);
|
|
1028
|
+
function Dr() {
|
|
1029
|
+
Er.value = !Er.value;
|
|
1022
1030
|
}
|
|
1023
|
-
async function
|
|
1031
|
+
async function Or({ scale: e = 2 } = {}) {
|
|
1024
1032
|
if (!j.value) return;
|
|
1025
|
-
let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await
|
|
1033
|
+
let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await xe({
|
|
1026
1034
|
domElement: j.value,
|
|
1027
1035
|
base64: !0,
|
|
1028
1036
|
img: !0,
|
|
@@ -1037,10 +1045,10 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1037
1045
|
aspectRatio: r
|
|
1038
1046
|
};
|
|
1039
1047
|
}
|
|
1040
|
-
let
|
|
1041
|
-
let e = N.value.table.useDialog && !N.value.table.show, t =
|
|
1048
|
+
let kr = d(() => {
|
|
1049
|
+
let e = N.value.table.useDialog && !N.value.table.show, t = R.value.showTable;
|
|
1042
1050
|
return {
|
|
1043
|
-
component: e ?
|
|
1051
|
+
component: e ? cn : nn,
|
|
1044
1052
|
title: `${N.value.style.chart.title.text}${N.value.style.chart.title.subtitle.text ? `: ${N.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1045
1053
|
props: e ? {
|
|
1046
1054
|
backgroundColor: N.value.table.th.backgroundColor,
|
|
@@ -1068,128 +1076,128 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1068
1076
|
}
|
|
1069
1077
|
};
|
|
1070
1078
|
});
|
|
1071
|
-
|
|
1072
|
-
N.value.table.show || (e && N.value.table.useDialog &&
|
|
1079
|
+
Ge(() => R.value.showTable, (e) => {
|
|
1080
|
+
N.value.table.show || (e && N.value.table.useDialog && Tn.value ? Tn.value.open() : "close" in Tn.value && Tn.value.close());
|
|
1073
1081
|
});
|
|
1074
|
-
function
|
|
1075
|
-
|
|
1082
|
+
function Ar() {
|
|
1083
|
+
R.value.showTable = !1, En.value && En.value.setTableIconState(!1);
|
|
1076
1084
|
}
|
|
1077
|
-
let
|
|
1085
|
+
let jr = d(() => N.value.style.chart.backgroundColor), Mr = d(() => N.value.style.chart.legend), { exportSvg: Nr, getSvg: Pr } = ve({
|
|
1078
1086
|
svg: F,
|
|
1079
1087
|
title: d(() => N.value.style.chart.title),
|
|
1080
|
-
legend:
|
|
1088
|
+
legend: Mr,
|
|
1081
1089
|
legendItems: Y,
|
|
1082
|
-
backgroundColor:
|
|
1090
|
+
backgroundColor: jr
|
|
1083
1091
|
});
|
|
1084
|
-
async function
|
|
1085
|
-
|
|
1092
|
+
async function Fr({ isCb: e }) {
|
|
1093
|
+
On.value = !0, await ze();
|
|
1086
1094
|
try {
|
|
1087
1095
|
if (e) {
|
|
1088
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
1096
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await Pr();
|
|
1089
1097
|
await Promise.resolve(N.value.userOptions.callbacks.svg({
|
|
1090
1098
|
blob: e,
|
|
1091
1099
|
url: t,
|
|
1092
1100
|
text: n,
|
|
1093
1101
|
dataUrl: r
|
|
1094
1102
|
}));
|
|
1095
|
-
} else await Promise.resolve(
|
|
1103
|
+
} else await Promise.resolve(Nr());
|
|
1096
1104
|
} finally {
|
|
1097
|
-
|
|
1105
|
+
On.value = !1;
|
|
1098
1106
|
}
|
|
1099
1107
|
}
|
|
1100
|
-
function
|
|
1108
|
+
function Ir(e) {
|
|
1101
1109
|
if (e?.stage === "start") {
|
|
1102
|
-
|
|
1110
|
+
Dn.value = !0;
|
|
1103
1111
|
return;
|
|
1104
1112
|
}
|
|
1105
1113
|
if (e?.stage === "end") {
|
|
1106
|
-
|
|
1114
|
+
Dn.value = !1;
|
|
1107
1115
|
return;
|
|
1108
1116
|
}
|
|
1109
|
-
|
|
1117
|
+
Gn();
|
|
1110
1118
|
}
|
|
1111
|
-
async function
|
|
1112
|
-
if (
|
|
1119
|
+
async function Lr() {
|
|
1120
|
+
if (pn("copyAlt", {
|
|
1113
1121
|
config: N.value,
|
|
1114
|
-
dataset:
|
|
1122
|
+
dataset: $n.value
|
|
1115
1123
|
}), !N.value.userOptions.callbacks.altCopy) {
|
|
1116
1124
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
1117
1125
|
return;
|
|
1118
1126
|
}
|
|
1119
1127
|
await Promise.resolve(N.value.userOptions.callbacks.altCopy({
|
|
1120
1128
|
config: N.value,
|
|
1121
|
-
dataset:
|
|
1129
|
+
dataset: $n.value
|
|
1122
1130
|
}));
|
|
1123
1131
|
}
|
|
1124
|
-
function
|
|
1125
|
-
M.value = null,
|
|
1132
|
+
function Rr() {
|
|
1133
|
+
M.value = null, kn.value = null, Mn.value = !0;
|
|
1126
1134
|
}
|
|
1127
|
-
function
|
|
1128
|
-
|
|
1135
|
+
function zr() {
|
|
1136
|
+
mr(), Mn.value = !1;
|
|
1129
1137
|
}
|
|
1130
|
-
function
|
|
1131
|
-
if (!F.value ||
|
|
1138
|
+
function Br(e) {
|
|
1139
|
+
if (!F.value || Er.value || document.activeElement !== F.value || !$.value.length) return;
|
|
1132
1140
|
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";
|
|
1133
1141
|
if (!t && !n && !r && !i) return;
|
|
1134
1142
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
1135
|
-
|
|
1143
|
+
mr();
|
|
1136
1144
|
return;
|
|
1137
1145
|
}
|
|
1138
1146
|
if (r) {
|
|
1139
1147
|
if (M.value === null) return;
|
|
1140
1148
|
let e = $.value[M.value];
|
|
1141
1149
|
if (!e) return;
|
|
1142
|
-
|
|
1150
|
+
vr(e.category, e.plot, e.categoryIndex);
|
|
1143
1151
|
return;
|
|
1144
1152
|
}
|
|
1145
1153
|
let a = M.value, o = X.value ? $.value.findIndex((e) => e.plot.uid === X.value) : null, ee = a !== null && a >= 0 && a < $.value.length, te = o !== null && o >= 0 && o < $.value.length;
|
|
1146
1154
|
ee ? (a += n ? 1 : -1, a < 0 && (a = $.value.length - 1), a >= $.value.length && (a = 0)) : te ? (a = n ? o + 1 : o - 1, a >= $.value.length && (a = 0), a < 0 && (a = $.value.length - 1)) : a = n ? 0 : $.value.length - 1;
|
|
1147
1155
|
let ne = $.value[a];
|
|
1148
|
-
ne &&
|
|
1156
|
+
ne && gr(ne.category, ne.plot, ne.categoryIndex, "keyboard", a);
|
|
1149
1157
|
}
|
|
1150
|
-
let
|
|
1151
|
-
headers:
|
|
1152
|
-
rows:
|
|
1158
|
+
let Vr = d(() => ({
|
|
1159
|
+
headers: ir.value?.colNames ?? [],
|
|
1160
|
+
rows: ir.value?.a11yBody ?? []
|
|
1153
1161
|
})), $ = d(() => J.value.flatMap((e, t) => e.series.map((n) => ({
|
|
1154
1162
|
category: e,
|
|
1155
1163
|
plot: n,
|
|
1156
1164
|
categoryIndex: t
|
|
1157
1165
|
}))));
|
|
1158
|
-
return
|
|
1159
|
-
getData:
|
|
1160
|
-
getImage:
|
|
1161
|
-
generatePdf:
|
|
1162
|
-
generateCsv:
|
|
1163
|
-
generateImage:
|
|
1164
|
-
generateSvg:
|
|
1165
|
-
hideSeries:
|
|
1166
|
-
showSeries:
|
|
1167
|
-
toggleTable:
|
|
1168
|
-
toggleLabels:
|
|
1169
|
-
toggleTooltip:
|
|
1170
|
-
toggleAnnotator:
|
|
1171
|
-
toggleFullscreen:
|
|
1172
|
-
copyAlt:
|
|
1166
|
+
return we({
|
|
1167
|
+
getData: br,
|
|
1168
|
+
getImage: Or,
|
|
1169
|
+
generatePdf: Wn,
|
|
1170
|
+
generateCsv: xr,
|
|
1171
|
+
generateImage: Gn,
|
|
1172
|
+
generateSvg: Fr,
|
|
1173
|
+
hideSeries: lr,
|
|
1174
|
+
showSeries: cr,
|
|
1175
|
+
toggleTable: Cr,
|
|
1176
|
+
toggleLabels: wr,
|
|
1177
|
+
toggleTooltip: Tr,
|
|
1178
|
+
toggleAnnotator: Dr,
|
|
1179
|
+
toggleFullscreen: Sr,
|
|
1180
|
+
copyAlt: Lr
|
|
1173
1181
|
}), (e, t) => (x(), m("div", {
|
|
1174
1182
|
class: v(`vue-data-ui-component vue-ui-quadrant ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1175
1183
|
ref_key: "quadrantChart",
|
|
1176
1184
|
ref: j,
|
|
1177
1185
|
id: `vue-ui-quadrant_${k.value}`,
|
|
1178
1186
|
style: b(`font-family:${N.value.style.fontFamily};width:100%; text-align:center;background:${N.value.style.chart.backgroundColor};${N.value.responsive ? "height: 100%" : ""}`),
|
|
1179
|
-
onMouseenter: t[14] ||= () => E(
|
|
1187
|
+
onMouseenter: t[14] ||= () => E(Ln)(!0),
|
|
1180
1188
|
onMouseleave: t[15] ||= () => {
|
|
1181
|
-
E(
|
|
1189
|
+
E(Ln)(!1), Mn.value || mr();
|
|
1182
1190
|
}
|
|
1183
1191
|
}, [
|
|
1184
1192
|
h("div", {
|
|
1185
1193
|
id: `chart-instructions-${k.value}`,
|
|
1186
1194
|
class: "sr-only"
|
|
1187
|
-
}, [h("p", null, T(N.value.a11y.translations.keyboardNavigation), 1)], 8,
|
|
1188
|
-
|
|
1195
|
+
}, [h("p", null, T(N.value.a11y.translations.keyboardNavigation), 1)], 8, Je),
|
|
1196
|
+
Vr.value?.rows?.length ? (x(), f(ke, {
|
|
1189
1197
|
key: 0,
|
|
1190
1198
|
uid: k.value,
|
|
1191
|
-
head:
|
|
1192
|
-
body:
|
|
1199
|
+
head: Vr.value.headers,
|
|
1200
|
+
body: Vr.value.rows,
|
|
1193
1201
|
notice: N.value.a11y.translations.tableAvailable,
|
|
1194
1202
|
caption: N.value.a11y.translations.tableCaption
|
|
1195
1203
|
}, null, 8, [
|
|
@@ -1199,14 +1207,14 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1199
1207
|
"notice",
|
|
1200
1208
|
"caption"
|
|
1201
1209
|
])) : p("", !0),
|
|
1202
|
-
N.value.userOptions.buttons.annotator ? (x(), f(E(
|
|
1210
|
+
N.value.userOptions.buttons.annotator ? (x(), f(E(an), {
|
|
1203
1211
|
key: 1,
|
|
1204
1212
|
svgRef: E(F),
|
|
1205
1213
|
backgroundColor: N.value.style.chart.backgroundColor,
|
|
1206
1214
|
color: N.value.style.chart.color,
|
|
1207
|
-
active:
|
|
1215
|
+
active: Er.value,
|
|
1208
1216
|
isCursorPointer: P.value,
|
|
1209
|
-
onClose:
|
|
1217
|
+
onClose: Dr
|
|
1210
1218
|
}, {
|
|
1211
1219
|
"annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1212
1220
|
"annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
|
|
@@ -1222,20 +1230,20 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1222
1230
|
"active",
|
|
1223
1231
|
"isCursorPointer"
|
|
1224
1232
|
])) : p("", !0),
|
|
1225
|
-
|
|
1233
|
+
Kn.value ? (x(), m("div", {
|
|
1226
1234
|
key: 2,
|
|
1227
1235
|
ref_key: "noTitle",
|
|
1228
|
-
ref:
|
|
1236
|
+
ref: bn,
|
|
1229
1237
|
class: "vue-data-ui-no-title-space",
|
|
1230
1238
|
style: "height:36px; width: 100%;background:transparent"
|
|
1231
1239
|
}, null, 512)) : p("", !0),
|
|
1232
1240
|
N.value.style.chart.title.text ? (x(), m("div", {
|
|
1233
1241
|
key: 3,
|
|
1234
1242
|
ref_key: "chartTitle",
|
|
1235
|
-
ref:
|
|
1243
|
+
ref: _n,
|
|
1236
1244
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
1237
|
-
}, [(x(), f(
|
|
1238
|
-
key: `table_${
|
|
1245
|
+
}, [(x(), f(Se, {
|
|
1246
|
+
key: `table_${xn.value}`,
|
|
1239
1247
|
config: {
|
|
1240
1248
|
title: {
|
|
1241
1249
|
cy: "quadrant-title",
|
|
@@ -1247,15 +1255,15 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1247
1255
|
}
|
|
1248
1256
|
}
|
|
1249
1257
|
}, null, 8, ["config"]))], 512)) : p("", !0),
|
|
1250
|
-
h("div", { id: `legend-top-${k.value}` }, null, 8,
|
|
1251
|
-
N.value.userOptions.show &&
|
|
1258
|
+
h("div", { id: `legend-top-${k.value}` }, null, 8, Ye),
|
|
1259
|
+
N.value.userOptions.show && fn.value && (E(Rn) || E(In)) ? (x(), f(E(on), {
|
|
1252
1260
|
ref_key: "userOptionsRef",
|
|
1253
|
-
ref:
|
|
1254
|
-
key: `user_options_${
|
|
1261
|
+
ref: En,
|
|
1262
|
+
key: `user_options_${gn.value}`,
|
|
1255
1263
|
backgroundColor: N.value.style.chart.backgroundColor,
|
|
1256
1264
|
color: N.value.style.chart.color,
|
|
1257
|
-
isImaging: E(
|
|
1258
|
-
isPrinting: E(
|
|
1265
|
+
isImaging: E(Un),
|
|
1266
|
+
isPrinting: E(Hn),
|
|
1259
1267
|
uid: k.value,
|
|
1260
1268
|
hasTooltip: N.value.userOptions.buttons.tooltip && N.value.style.chart.tooltip.show,
|
|
1261
1269
|
hasPdf: N.value.userOptions.buttons.pdf,
|
|
@@ -1267,28 +1275,28 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1267
1275
|
hasFullscreen: N.value.userOptions.buttons.fullscreen,
|
|
1268
1276
|
hasAltCopy: N.value.userOptions.buttons.altCopy,
|
|
1269
1277
|
isFullscreen: Q.value,
|
|
1270
|
-
isTooltip:
|
|
1278
|
+
isTooltip: R.value.showTooltip,
|
|
1271
1279
|
titles: { ...N.value.userOptions.buttonTitles },
|
|
1272
1280
|
chartElement: j.value,
|
|
1273
1281
|
position: N.value.userOptions.position,
|
|
1274
1282
|
hasAnnotator: N.value.userOptions.buttons.annotator,
|
|
1275
|
-
isAnnotation:
|
|
1283
|
+
isAnnotation: Er.value,
|
|
1276
1284
|
callbacks: N.value.userOptions.callbacks,
|
|
1277
1285
|
printScale: N.value.userOptions.print.scale,
|
|
1278
1286
|
tableDialog: N.value.table.useDialog,
|
|
1279
1287
|
isCursorPointer: P.value,
|
|
1280
|
-
onToggleFullscreen:
|
|
1281
|
-
onGeneratePdf: E(
|
|
1282
|
-
onGenerateCsv:
|
|
1283
|
-
onGenerateImage:
|
|
1284
|
-
onGenerateSvg:
|
|
1285
|
-
onToggleTable:
|
|
1286
|
-
onToggleLabels:
|
|
1287
|
-
onToggleTooltip:
|
|
1288
|
-
onToggleAnnotator:
|
|
1289
|
-
onCopyAlt:
|
|
1290
|
-
style: b({ visibility: E(
|
|
1291
|
-
},
|
|
1288
|
+
onToggleFullscreen: Sr,
|
|
1289
|
+
onGeneratePdf: E(Wn),
|
|
1290
|
+
onGenerateCsv: xr,
|
|
1291
|
+
onGenerateImage: Ir,
|
|
1292
|
+
onGenerateSvg: Fr,
|
|
1293
|
+
onToggleTable: Cr,
|
|
1294
|
+
onToggleLabels: wr,
|
|
1295
|
+
onToggleTooltip: Tr,
|
|
1296
|
+
onToggleAnnotator: Dr,
|
|
1297
|
+
onCopyAlt: Lr,
|
|
1298
|
+
style: b({ visibility: E(Rn) ? E(In) ? "visible" : "hidden" : "visible" })
|
|
1299
|
+
}, Fe({ _: 2 }, [
|
|
1292
1300
|
e.$slots.menuIcon ? {
|
|
1293
1301
|
name: "menuIcon",
|
|
1294
1302
|
fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(_({
|
|
@@ -1364,33 +1372,33 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1364
1372
|
key: "12"
|
|
1365
1373
|
} : void 0
|
|
1366
1374
|
]), 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("."))) : p("", !0),
|
|
1367
|
-
h("div",
|
|
1375
|
+
h("div", Xe, [(x(), m("svg", {
|
|
1368
1376
|
ref_key: "svgRef",
|
|
1369
1377
|
ref: F,
|
|
1370
|
-
xmlns: E(
|
|
1378
|
+
xmlns: E(le),
|
|
1371
1379
|
"aria-describedby": `chart-instructions-${k.value}`,
|
|
1372
1380
|
class: v({
|
|
1373
1381
|
"vue-data-ui-fullscreen--on": Q.value,
|
|
1374
1382
|
"vue-data-ui-fulscreen--off": !Q.value
|
|
1375
1383
|
}),
|
|
1376
|
-
viewBox: `${
|
|
1384
|
+
viewBox: `${V.value.startX} ${V.value.startY} ${V.value.width} ${V.value.height}`,
|
|
1377
1385
|
style: b(`max-width:100%;overflow:hidden;background:transparent;color:${N.value.style.chart.color}`),
|
|
1378
1386
|
id: `svg_${k.value}`,
|
|
1379
1387
|
tabindex: "0",
|
|
1380
|
-
onFocus:
|
|
1381
|
-
onBlur:
|
|
1382
|
-
onKeydown:
|
|
1388
|
+
onFocus: Rr,
|
|
1389
|
+
onBlur: zr,
|
|
1390
|
+
onKeydown: Br
|
|
1383
1391
|
}, [
|
|
1384
|
-
|
|
1392
|
+
Le(E(sn)),
|
|
1385
1393
|
e.$slots["chart-background"] ? (x(), m("foreignObject", {
|
|
1386
1394
|
key: 0,
|
|
1387
|
-
x:
|
|
1388
|
-
y:
|
|
1389
|
-
width:
|
|
1390
|
-
height:
|
|
1395
|
+
x: V.value.startX,
|
|
1396
|
+
y: V.value.startY,
|
|
1397
|
+
width: V.value.width,
|
|
1398
|
+
height: V.value.height,
|
|
1391
1399
|
style: { pointerEvents: "none" }
|
|
1392
|
-
}, [w(e.$slots, "chart-background", {}, void 0, !0)], 8,
|
|
1393
|
-
h("defs", null, [(x(!0), m(u, null, C(J.value, (e, t) => (x(), f(
|
|
1400
|
+
}, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Qe)) : p("", !0),
|
|
1401
|
+
h("defs", null, [(x(!0), m(u, null, C(J.value, (e, t) => (x(), f(De, {
|
|
1394
1402
|
t: "radial",
|
|
1395
1403
|
cx: "50%",
|
|
1396
1404
|
cy: "50%",
|
|
@@ -1401,16 +1409,16 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1401
1409
|
key: `quadrant_gradient_${k.value}_${t}`,
|
|
1402
1410
|
stops: [[
|
|
1403
1411
|
"0%",
|
|
1404
|
-
E(
|
|
1412
|
+
E(n)(E(re)(e.color, .05), N.value.style.chart.layout.areas.opacity),
|
|
1405
1413
|
1
|
|
1406
1414
|
], [
|
|
1407
1415
|
"100%",
|
|
1408
|
-
E(
|
|
1416
|
+
E(n)(e.color, N.value.style.chart.layout.areas.opacity),
|
|
1409
1417
|
1
|
|
1410
1418
|
]]
|
|
1411
1419
|
}, null, 8, ["id", "stops"]))), 128))]),
|
|
1412
|
-
N.value.style.chart.layout.grid.graduations.show ? (x(), m("g",
|
|
1413
|
-
fill: N.value.style.chart.layout.grid.graduations.fill ? E(
|
|
1420
|
+
N.value.style.chart.layout.grid.graduations.show ? (x(), m("g", $e, [(x(!0), m(u, null, C(Zn.value, (e) => (x(), m("rect", {
|
|
1421
|
+
fill: N.value.style.chart.layout.grid.graduations.fill ? E(n)(N.value.style.chart.layout.grid.graduations.color, e.opacity) : "none",
|
|
1414
1422
|
x: e.x,
|
|
1415
1423
|
y: e.y,
|
|
1416
1424
|
height: e.height <= 0 ? .001 : e.height,
|
|
@@ -1418,213 +1426,213 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1418
1426
|
"stroke-width": N.value.style.chart.layout.grid.graduations.strokeWidth,
|
|
1419
1427
|
stroke: N.value.style.chart.layout.grid.graduations.stroke,
|
|
1420
1428
|
rx: N.value.style.chart.layout.grid.graduations.roundingForce
|
|
1421
|
-
}, null, 8,
|
|
1429
|
+
}, null, 8, et))), 256))])) : p("", !0),
|
|
1422
1430
|
h("line", {
|
|
1423
|
-
x1:
|
|
1424
|
-
y1:
|
|
1425
|
-
x2:
|
|
1426
|
-
y2:
|
|
1431
|
+
x1: B.value.left,
|
|
1432
|
+
y1: B.value.centerY,
|
|
1433
|
+
x2: B.value.right,
|
|
1434
|
+
y2: B.value.centerY,
|
|
1427
1435
|
stroke: N.value.style.chart.layout.grid.stroke,
|
|
1428
1436
|
"stroke-width": N.value.style.chart.layout.grid.strokeWidth
|
|
1429
|
-
}, null, 8,
|
|
1437
|
+
}, null, 8, tt),
|
|
1430
1438
|
h("line", {
|
|
1431
|
-
x1:
|
|
1432
|
-
y1:
|
|
1433
|
-
x2:
|
|
1434
|
-
y2:
|
|
1439
|
+
x1: B.value.centerX,
|
|
1440
|
+
y1: B.value.top,
|
|
1441
|
+
x2: B.value.centerX,
|
|
1442
|
+
y2: B.value.bottom,
|
|
1435
1443
|
stroke: N.value.style.chart.layout.grid.stroke,
|
|
1436
1444
|
"stroke-width": N.value.style.chart.layout.grid.strokeWidth
|
|
1437
|
-
}, null, 8,
|
|
1438
|
-
N.value.style.chart.layout.grid.showArrows ? (x(), m("g",
|
|
1445
|
+
}, null, 8, nt),
|
|
1446
|
+
N.value.style.chart.layout.grid.showArrows ? (x(), m("g", rt, [
|
|
1439
1447
|
h("polygon", {
|
|
1440
|
-
points: `${
|
|
1448
|
+
points: `${B.value.right - 8},${B.value.centerY - 6} ${B.value.right},${B.value.centerY} ${B.value.right - 8},${B.value.centerY + 6}`,
|
|
1441
1449
|
fill: N.value.style.chart.layout.grid.stroke,
|
|
1442
1450
|
stroke: "none"
|
|
1443
|
-
}, null, 8,
|
|
1451
|
+
}, null, 8, it),
|
|
1444
1452
|
h("polygon", {
|
|
1445
|
-
points: `${
|
|
1453
|
+
points: `${B.value.left + 8},${B.value.centerY - 6} ${B.value.left},${B.value.centerY} ${B.value.left + 8},${B.value.centerY + 6}`,
|
|
1446
1454
|
fill: N.value.style.chart.layout.grid.stroke,
|
|
1447
1455
|
stroke: "none"
|
|
1448
|
-
}, null, 8,
|
|
1456
|
+
}, null, 8, at),
|
|
1449
1457
|
h("polygon", {
|
|
1450
|
-
points: `${
|
|
1458
|
+
points: `${B.value.centerX - 6},${B.value.top + 8} ${B.value.centerX},${B.value.top} ${B.value.centerX + 6},${B.value.top + 8}`,
|
|
1451
1459
|
fill: N.value.style.chart.layout.grid.stroke,
|
|
1452
1460
|
stroke: "none"
|
|
1453
|
-
}, null, 8,
|
|
1461
|
+
}, null, 8, ot),
|
|
1454
1462
|
h("polygon", {
|
|
1455
|
-
points: `${
|
|
1463
|
+
points: `${B.value.centerX - 6},${B.value.bottom - 8} ${B.value.centerX},${B.value.bottom} ${B.value.centerX + 6},${B.value.bottom - 8}`,
|
|
1456
1464
|
fill: N.value.style.chart.layout.grid.stroke,
|
|
1457
1465
|
stroke: "none"
|
|
1458
|
-
}, null, 8,
|
|
1466
|
+
}, null, 8, st)
|
|
1459
1467
|
])) : p("", !0),
|
|
1460
|
-
N.value.style.chart.layout.labels.quadrantLabels.show && !A.value ? (x(), m("g",
|
|
1468
|
+
N.value.style.chart.layout.labels.quadrantLabels.show && !A.value ? (x(), m("g", ct, [
|
|
1461
1469
|
N.value.style.chart.layout.labels.quadrantLabels.tl.text ? (x(), m("text", {
|
|
1462
1470
|
key: 0,
|
|
1463
1471
|
x: 0,
|
|
1464
|
-
y:
|
|
1472
|
+
y: B.value.top - B.value.padding / 2,
|
|
1465
1473
|
"text-anchor": "start",
|
|
1466
1474
|
fill: N.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
1467
1475
|
"font-size": N.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
1468
1476
|
style: b(`font-weight:${N.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
1469
|
-
onClick: t[0] ||= (e) =>
|
|
1470
|
-
}, T(N.value.style.chart.layout.labels.quadrantLabels.tl.text), 13,
|
|
1477
|
+
onClick: t[0] ||= (e) => yr("tl")
|
|
1478
|
+
}, T(N.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, lt)) : p("", !0),
|
|
1471
1479
|
N.value.style.chart.layout.labels.quadrantLabels.tr.text ? (x(), m("text", {
|
|
1472
1480
|
key: 1,
|
|
1473
|
-
x:
|
|
1474
|
-
y:
|
|
1481
|
+
x: B.value.width,
|
|
1482
|
+
y: B.value.top - B.value.padding / 2,
|
|
1475
1483
|
"text-anchor": "end",
|
|
1476
1484
|
fill: N.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
1477
1485
|
"font-size": N.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
1478
1486
|
style: b(`font-weight:${N.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
1479
|
-
onClick: t[1] ||= (e) =>
|
|
1480
|
-
}, T(N.value.style.chart.layout.labels.quadrantLabels.tr.text), 13,
|
|
1487
|
+
onClick: t[1] ||= (e) => yr("tr")
|
|
1488
|
+
}, T(N.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, ut)) : p("", !0),
|
|
1481
1489
|
N.value.style.chart.layout.labels.quadrantLabels.br.text ? (x(), m("text", {
|
|
1482
1490
|
key: 2,
|
|
1483
|
-
x:
|
|
1484
|
-
y:
|
|
1491
|
+
x: B.value.width,
|
|
1492
|
+
y: B.value.bottom + B.value.padding * .7,
|
|
1485
1493
|
"text-anchor": "end",
|
|
1486
1494
|
fill: N.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
1487
1495
|
"font-size": N.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
1488
1496
|
style: b(`font-weight:${N.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
1489
|
-
onClick: t[2] ||= (e) =>
|
|
1490
|
-
}, T(N.value.style.chart.layout.labels.quadrantLabels.br.text), 13,
|
|
1497
|
+
onClick: t[2] ||= (e) => yr("br")
|
|
1498
|
+
}, T(N.value.style.chart.layout.labels.quadrantLabels.br.text), 13, dt)) : p("", !0),
|
|
1491
1499
|
N.value.style.chart.layout.labels.quadrantLabels.bl.text ? (x(), m("text", {
|
|
1492
1500
|
key: 3,
|
|
1493
1501
|
x: 0,
|
|
1494
|
-
y:
|
|
1502
|
+
y: B.value.bottom + B.value.padding * .7,
|
|
1495
1503
|
"text-anchor": "start",
|
|
1496
1504
|
fill: N.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
1497
1505
|
"font-size": N.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
1498
1506
|
style: b(`font-weight:${N.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
1499
|
-
onClick: t[3] ||= (e) =>
|
|
1500
|
-
}, T(N.value.style.chart.layout.labels.quadrantLabels.bl.text), 13,
|
|
1507
|
+
onClick: t[3] ||= (e) => yr("bl")
|
|
1508
|
+
}, T(N.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, ft)) : p("", !0)
|
|
1501
1509
|
])) : p("", !0),
|
|
1502
|
-
N.value.style.chart.layout.labels.axisLabels.show ? (x(), m("g",
|
|
1510
|
+
N.value.style.chart.layout.labels.axisLabels.show ? (x(), m("g", pt, [
|
|
1503
1511
|
N.value.style.chart.layout.grid.yAxis.show ? (x(), m("text", {
|
|
1504
1512
|
key: 0,
|
|
1505
|
-
x:
|
|
1506
|
-
y:
|
|
1513
|
+
x: B.value.centerX,
|
|
1514
|
+
y: B.value.top - B.value.padding / 6,
|
|
1507
1515
|
"text-anchor": "middle",
|
|
1508
1516
|
"font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1509
1517
|
fill: N.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1510
|
-
}, T(E(
|
|
1511
|
-
v:
|
|
1518
|
+
}, T(E(c)(N.value.style.chart.layout.labels.plotLabels.y.formatter, K.value.y.max, E(s)({
|
|
1519
|
+
v: K.value.y.max,
|
|
1512
1520
|
r: N.value.style.chart.layout.labels.plotLabels.rounding
|
|
1513
|
-
}))), 9,
|
|
1521
|
+
}))), 9, mt)) : p("", !0),
|
|
1514
1522
|
h("text", {
|
|
1515
|
-
x:
|
|
1516
|
-
y:
|
|
1523
|
+
x: B.value.centerX,
|
|
1524
|
+
y: B.value.top - B.value.padding / 2,
|
|
1517
1525
|
"text-anchor": "middle",
|
|
1518
1526
|
"font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1519
1527
|
fill: N.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1520
|
-
}, T(N.value.style.chart.layout.grid.yAxis.name), 9,
|
|
1528
|
+
}, T(N.value.style.chart.layout.grid.yAxis.name), 9, ht),
|
|
1521
1529
|
N.value.style.chart.layout.grid.yAxis.show ? (x(), m("text", {
|
|
1522
1530
|
key: 1,
|
|
1523
|
-
x:
|
|
1524
|
-
y:
|
|
1531
|
+
x: B.value.centerX,
|
|
1532
|
+
y: B.value.bottom + B.value.padding * .35,
|
|
1525
1533
|
"text-anchor": "middle",
|
|
1526
1534
|
"font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1527
1535
|
fill: N.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1528
|
-
}, T(E(
|
|
1529
|
-
v:
|
|
1536
|
+
}, T(E(c)(N.value.style.chart.layout.labels.plotLabels.y.formatter, K.value.y.min, E(s)({
|
|
1537
|
+
v: K.value.y.min,
|
|
1530
1538
|
r: N.value.style.chart.layout.labels.plotLabels.rounding
|
|
1531
|
-
}))), 9,
|
|
1539
|
+
}))), 9, gt)) : p("", !0),
|
|
1532
1540
|
N.value.style.chart.layout.grid.xAxis.show ? (x(), m("text", {
|
|
1533
1541
|
key: 2,
|
|
1534
1542
|
id: `xLabelMin_${k.value}`,
|
|
1535
1543
|
"text-anchor": "middle",
|
|
1536
1544
|
"font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1537
|
-
transform: `translate(${
|
|
1545
|
+
transform: `translate(${B.value.padding - N.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(-90)`,
|
|
1538
1546
|
fill: N.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1539
|
-
}, T(E(
|
|
1540
|
-
v:
|
|
1547
|
+
}, T(E(c)(N.value.style.chart.layout.labels.plotLabels.x.formatter, K.value.x.min, E(s)({
|
|
1548
|
+
v: K.value.x.min,
|
|
1541
1549
|
r: N.value.style.chart.layout.labels.plotLabels.rounding
|
|
1542
|
-
}))), 9,
|
|
1550
|
+
}))), 9, _t)) : p("", !0),
|
|
1543
1551
|
N.value.style.chart.layout.grid.xAxis.show ? (x(), m("text", {
|
|
1544
1552
|
key: 3,
|
|
1545
1553
|
id: `xLabelMax_${k.value}`,
|
|
1546
1554
|
"text-anchor": "middle",
|
|
1547
1555
|
"font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1548
|
-
transform: `translate(${
|
|
1556
|
+
transform: `translate(${B.value.width - B.value.padding + N.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(90)`,
|
|
1549
1557
|
fill: N.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1550
|
-
}, T(E(
|
|
1551
|
-
v:
|
|
1558
|
+
}, T(E(c)(N.value.style.chart.layout.labels.plotLabels.x.formatter, K.value.x.max, E(s)({
|
|
1559
|
+
v: K.value.x.max,
|
|
1552
1560
|
r: N.value.style.chart.layout.labels.plotLabels.rounding
|
|
1553
|
-
}))), 9,
|
|
1561
|
+
}))), 9, vt)) : p("", !0),
|
|
1554
1562
|
h("text", {
|
|
1555
1563
|
id: `xLabelMaxName_${k.value}`,
|
|
1556
1564
|
"text-anchor": "middle",
|
|
1557
1565
|
"font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1558
|
-
transform: `translate(${
|
|
1566
|
+
transform: `translate(${B.value.width - N.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(90)`,
|
|
1559
1567
|
fill: N.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1560
|
-
}, T(N.value.style.chart.layout.grid.xAxis.name), 9,
|
|
1568
|
+
}, T(N.value.style.chart.layout.grid.xAxis.name), 9, yt)
|
|
1561
1569
|
])) : p("", !0),
|
|
1562
|
-
N.value.style.chart.layout.areas.show ? (x(), m("g",
|
|
1570
|
+
N.value.style.chart.layout.areas.show ? (x(), m("g", bt, [(x(!0), m(u, null, C(J.value, (e, t) => (x(), m("g", null, [e.series.length > 2 ? (x(), m("polygon", {
|
|
1563
1571
|
key: 0,
|
|
1564
1572
|
"data-cy-quadrant-area": "",
|
|
1565
|
-
fill: N.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${k.value}_${t})` : E(
|
|
1573
|
+
fill: N.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${k.value}_${t})` : E(n)(e.color, N.value.style.chart.layout.areas.opacity),
|
|
1566
1574
|
points: E(ie)(e)
|
|
1567
|
-
}, null, 8,
|
|
1575
|
+
}, null, 8, xt)) : p("", !0)]))), 256))])) : p("", !0),
|
|
1568
1576
|
h("g", null, [
|
|
1569
1577
|
h("rect", {
|
|
1570
|
-
onClick: t[4] ||= (e) =>
|
|
1571
|
-
x:
|
|
1572
|
-
y:
|
|
1573
|
-
width:
|
|
1574
|
-
height:
|
|
1578
|
+
onClick: t[4] ||= (e) => G("TL"),
|
|
1579
|
+
x: B.value.left,
|
|
1580
|
+
y: B.value.top,
|
|
1581
|
+
width: B.value.usableWidth / 2 <= 0 ? .001 : B.value.usableWidth / 2,
|
|
1582
|
+
height: B.value.usableHeight / 2 <= 0 ? .001 : B.value.usableHeight / 2,
|
|
1575
1583
|
fill: "transparent",
|
|
1576
1584
|
class: v({
|
|
1577
|
-
"vue-data-ui-zoom-plus": !A.value &&
|
|
1578
|
-
"vue-data-ui-zoom-minus": A.value &&
|
|
1585
|
+
"vue-data-ui-zoom-plus": !A.value && W.value,
|
|
1586
|
+
"vue-data-ui-zoom-minus": A.value && W.value
|
|
1579
1587
|
})
|
|
1580
|
-
}, null, 10,
|
|
1588
|
+
}, null, 10, St),
|
|
1581
1589
|
h("rect", {
|
|
1582
|
-
onClick: t[5] ||= (e) =>
|
|
1583
|
-
x:
|
|
1584
|
-
y:
|
|
1585
|
-
width:
|
|
1586
|
-
height:
|
|
1590
|
+
onClick: t[5] ||= (e) => G("TR"),
|
|
1591
|
+
x: B.value.centerX,
|
|
1592
|
+
y: B.value.top,
|
|
1593
|
+
width: B.value.usableWidth / 2 <= 0 ? .001 : B.value.usableWidth / 2,
|
|
1594
|
+
height: B.value.usableHeight / 2 <= 0 ? .001 : B.value.usableHeight / 2,
|
|
1587
1595
|
fill: "transparent",
|
|
1588
1596
|
class: v({
|
|
1589
|
-
"vue-data-ui-zoom-plus": !A.value &&
|
|
1590
|
-
"vue-data-ui-zoom-minus": A.value &&
|
|
1597
|
+
"vue-data-ui-zoom-plus": !A.value && W.value,
|
|
1598
|
+
"vue-data-ui-zoom-minus": A.value && W.value
|
|
1591
1599
|
})
|
|
1592
|
-
}, null, 10,
|
|
1600
|
+
}, null, 10, Ct),
|
|
1593
1601
|
h("rect", {
|
|
1594
|
-
onClick: t[6] ||= (e) =>
|
|
1595
|
-
x:
|
|
1596
|
-
y:
|
|
1597
|
-
width:
|
|
1598
|
-
height:
|
|
1602
|
+
onClick: t[6] ||= (e) => G("BR"),
|
|
1603
|
+
x: B.value.centerX,
|
|
1604
|
+
y: B.value.centerY,
|
|
1605
|
+
width: B.value.usableWidth / 2 <= 0 ? .001 : B.value.usableWidth / 2,
|
|
1606
|
+
height: B.value.usableHeight / 2 <= 0 ? .001 : B.value.usableHeight / 2,
|
|
1599
1607
|
fill: "transparent",
|
|
1600
1608
|
class: v({
|
|
1601
|
-
"vue-data-ui-zoom-plus": !A.value &&
|
|
1602
|
-
"vue-data-ui-zoom-minus": A.value &&
|
|
1609
|
+
"vue-data-ui-zoom-plus": !A.value && W.value,
|
|
1610
|
+
"vue-data-ui-zoom-minus": A.value && W.value
|
|
1603
1611
|
})
|
|
1604
|
-
}, null, 10,
|
|
1612
|
+
}, null, 10, wt),
|
|
1605
1613
|
h("rect", {
|
|
1606
|
-
onClick: t[7] ||= (e) =>
|
|
1607
|
-
x:
|
|
1608
|
-
y:
|
|
1609
|
-
width:
|
|
1610
|
-
height:
|
|
1614
|
+
onClick: t[7] ||= (e) => G("BL"),
|
|
1615
|
+
x: B.value.left,
|
|
1616
|
+
y: B.value.centerY,
|
|
1617
|
+
width: B.value.usableWidth / 2 <= 0 ? .001 : B.value.usableWidth / 2,
|
|
1618
|
+
height: B.value.usableHeight / 2 <= 0 ? .001 : B.value.usableHeight / 2,
|
|
1611
1619
|
fill: "transparent",
|
|
1612
1620
|
class: v({
|
|
1613
|
-
"vue-data-ui-zoom-plus": !A.value &&
|
|
1614
|
-
"vue-data-ui-zoom-minus": A.value &&
|
|
1621
|
+
"vue-data-ui-zoom-plus": !A.value && W.value,
|
|
1622
|
+
"vue-data-ui-zoom-minus": A.value && W.value
|
|
1615
1623
|
})
|
|
1616
|
-
}, null, 10,
|
|
1624
|
+
}, null, 10, Tt)
|
|
1617
1625
|
]),
|
|
1618
|
-
N.value.style.chart.layout.labels.plotLabels.showAsTag ? (x(), m(u, { key: 7 }, [
|
|
1626
|
+
N.value.style.chart.layout.labels.plotLabels.showAsTag ? (x(), m(u, { key: 7 }, [R.value.plotLabels.show ? (x(), m("g", Mt, [(x(!0), m(u, null, C(J.value, (e, t) => (x(), m(u, null, [(x(!0), m(u, null, C(e.series, (n) => (x(), m("foreignObject", {
|
|
1619
1627
|
style: { overflow: "visible" },
|
|
1620
1628
|
height: "10",
|
|
1621
1629
|
width: "100",
|
|
1622
1630
|
x: n.x - 50,
|
|
1623
1631
|
y: n.y - N.value.style.chart.layout.labels.plotLabels.fontSize,
|
|
1624
|
-
onMouseover: (r) =>
|
|
1625
|
-
onMouseleave: (e) =>
|
|
1626
|
-
onClick: (r) =>
|
|
1627
|
-
}, [h("div", { style: b(`color:${E(
|
|
1632
|
+
onMouseover: (r) => gr(e, n, t),
|
|
1633
|
+
onMouseleave: (e) => _r(n, t),
|
|
1634
|
+
onClick: (r) => vr(e, n, t)
|
|
1635
|
+
}, [h("div", { style: b(`color:${E(ce)(e.color)};margin: 0 auto; font-size:${N.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${e.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`) }, T(n.name), 5)], 40, Nt))), 256))], 64))), 256))])) : p("", !0)], 64)) : (x(), m(u, { key: 6 }, [(x(!0), m(u, null, C(J.value, (t, n) => (x(), m("g", null, [e.$slots.datapoint && !E(Pn) ? (x(!0), m(u, { key: 0 }, C(t.series, (r) => (x(), m("g", { key: r.uid }, [(x(), m("foreignObject", {
|
|
1628
1636
|
x: r.x - 1,
|
|
1629
1637
|
y: r.y - 1,
|
|
1630
1638
|
width: "2",
|
|
@@ -1633,29 +1641,29 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1633
1641
|
overflow: "visible",
|
|
1634
1642
|
"pointer-events": "none"
|
|
1635
1643
|
},
|
|
1636
|
-
onMouseenter: (e) =>
|
|
1637
|
-
onMouseleave: (e) =>
|
|
1638
|
-
onClick: (e) =>
|
|
1639
|
-
}, [w(e.$slots, "datapoint",
|
|
1644
|
+
onMouseenter: (e) => gr(t, r, n),
|
|
1645
|
+
onMouseleave: (e) => _r(r, n),
|
|
1646
|
+
onClick: (e) => vr(t, r, n)
|
|
1647
|
+
}, [w(e.$slots, "datapoint", Re({ ref_for: !0 }, { datapoint: {
|
|
1640
1648
|
...r,
|
|
1641
|
-
onEnter: () =>
|
|
1642
|
-
onLeave: () =>
|
|
1643
|
-
onClick: () =>
|
|
1649
|
+
onEnter: () => gr(t, r, n),
|
|
1650
|
+
onLeave: () => _r(r, n),
|
|
1651
|
+
onClick: () => vr(t, r, n),
|
|
1644
1652
|
isSelected: X.value && r.uid === X.value
|
|
1645
|
-
} }), void 0, !0)], 40,
|
|
1653
|
+
} }), void 0, !0)], 40, Et)), h("circle", {
|
|
1646
1654
|
"data-a11y-plot-id": r.uid,
|
|
1647
1655
|
cx: r.x,
|
|
1648
1656
|
cy: r.y,
|
|
1649
1657
|
r: Math.max(N.value.style.chart.layout.plots.radius / (A.value ? 1.5 : 1), 10),
|
|
1650
1658
|
fill: "transparent",
|
|
1651
1659
|
style: { "pointer-events": "none" }
|
|
1652
|
-
}, null, 8,
|
|
1660
|
+
}, null, 8, Dt)]))), 128)) : e.$slots.datapointSvg && !E(Pn) ? (x(!0), m(u, { key: 1 }, C(t.series, (r) => (x(), m("g", { key: r.uid }, [w(e.$slots, "datapointSvg", Re({ ref_for: !0 }, { datapoint: {
|
|
1653
1661
|
...r,
|
|
1654
|
-
onEnter: () =>
|
|
1655
|
-
onLeave: () =>
|
|
1656
|
-
onClick: () =>
|
|
1662
|
+
onEnter: () => gr(t, r, n),
|
|
1663
|
+
onLeave: () => _r(r, n),
|
|
1664
|
+
onClick: () => vr(t, r, n),
|
|
1657
1665
|
isSelected: X.value && r.uid === X.value
|
|
1658
|
-
} }), void 0, !0)]))), 128)) : (x(!0), m(u, { key: 2 }, C(t.series, (e, r) => (x(), m("g", { key: e.uid }, [
|
|
1666
|
+
} }), void 0, !0)]))), 128)) : (x(!0), m(u, { key: 2 }, C(t.series, (e, r) => (x(), m("g", { key: e.uid }, [Le(Ce, {
|
|
1659
1667
|
color: t.color,
|
|
1660
1668
|
isSelected: X.value && e.uid === X.value,
|
|
1661
1669
|
plot: e,
|
|
@@ -1663,9 +1671,9 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1663
1671
|
shape: t.shape,
|
|
1664
1672
|
stroke: N.value.style.chart.layout.plots.outline ? N.value.style.chart.layout.plots.outlineColor : "none",
|
|
1665
1673
|
strokeWidth: N.value.style.chart.layout.plots.outlineWidth,
|
|
1666
|
-
onMouseenter: (r) =>
|
|
1667
|
-
onMouseleave: (t) =>
|
|
1668
|
-
onClick: (r) =>
|
|
1674
|
+
onMouseenter: (r) => gr(t, e, n, "pointer"),
|
|
1675
|
+
onMouseleave: (t) => _r(e, n),
|
|
1676
|
+
onClick: (r) => vr(t, e, n)
|
|
1669
1677
|
}, null, 8, [
|
|
1670
1678
|
"color",
|
|
1671
1679
|
"isSelected",
|
|
@@ -1685,165 +1693,165 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1685
1693
|
r: Math.max(N.value.style.chart.layout.plots.radius / (A.value ? 1.5 : 1), 10),
|
|
1686
1694
|
fill: "transparent",
|
|
1687
1695
|
style: { "pointer-events": "none" }
|
|
1688
|
-
}, null, 8,
|
|
1696
|
+
}, null, 8, Ot)]))), 128))]))), 256)), R.value.plotLabels.show ? (x(), m("g", kt, [(x(!0), m(u, null, C(J.value, (e) => (x(), m("g", null, [(x(!0), m(u, null, C(e.series, (e) => (x(), m("g", null, [String(e.name).includes("\n") ? (x(), m("text", {
|
|
1689
1697
|
key: 1,
|
|
1690
1698
|
x: e.x,
|
|
1691
1699
|
y: e.y + N.value.style.chart.layout.labels.plotLabels.offsetY + N.value.style.chart.layout.plots.radius,
|
|
1692
1700
|
"text-anchor": "middle",
|
|
1693
1701
|
"font-size": N.value.style.chart.layout.labels.plotLabels.fontSize / (A.value ? 1.5 : 1),
|
|
1694
1702
|
fill: N.value.style.chart.layout.labels.plotLabels.color,
|
|
1695
|
-
innerHTML: E(
|
|
1703
|
+
innerHTML: E(i)({
|
|
1696
1704
|
content: String(e.name),
|
|
1697
1705
|
fontSize: N.value.style.chart.layout.labels.plotLabels.fontSize / (A.value ? 1.5 : 1),
|
|
1698
1706
|
fill: N.value.style.chart.layout.labels.plotLabels.color,
|
|
1699
1707
|
x: e.x,
|
|
1700
1708
|
y: e.y + N.value.style.chart.layout.labels.plotLabels.offsetY + N.value.style.chart.layout.plots.radius
|
|
1701
1709
|
})
|
|
1702
|
-
}, null, 8,
|
|
1710
|
+
}, null, 8, jt)) : (x(), m("text", {
|
|
1703
1711
|
key: 0,
|
|
1704
1712
|
x: e.x,
|
|
1705
1713
|
y: e.y + N.value.style.chart.layout.labels.plotLabels.offsetY + N.value.style.chart.layout.plots.radius,
|
|
1706
1714
|
"text-anchor": "middle",
|
|
1707
1715
|
"font-size": N.value.style.chart.layout.labels.plotLabels.fontSize / (A.value ? 1.5 : 1),
|
|
1708
1716
|
fill: N.value.style.chart.layout.labels.plotLabels.color
|
|
1709
|
-
}, T(e.name), 9,
|
|
1710
|
-
A.value ? (x(), m("g",
|
|
1711
|
-
|
|
1717
|
+
}, T(e.name), 9, At))]))), 256))]))), 256))])) : p("", !0)], 64)),
|
|
1718
|
+
A.value ? (x(), m("g", Pt, [
|
|
1719
|
+
H.value === "TL" ? (x(), m("polygon", {
|
|
1712
1720
|
key: 0,
|
|
1713
|
-
points: `${
|
|
1721
|
+
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}`,
|
|
1714
1722
|
fill: N.value.style.chart.backgroundColor,
|
|
1715
1723
|
style: { opacity: "1" }
|
|
1716
|
-
}, null, 8,
|
|
1717
|
-
|
|
1724
|
+
}, null, 8, Ft)) : p("", !0),
|
|
1725
|
+
H.value === "TR" ? (x(), m("polygon", {
|
|
1718
1726
|
key: 1,
|
|
1719
|
-
points: `${
|
|
1727
|
+
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}`,
|
|
1720
1728
|
fill: N.value.style.chart.backgroundColor,
|
|
1721
1729
|
style: { opacity: "1" }
|
|
1722
|
-
}, null, 8,
|
|
1723
|
-
|
|
1730
|
+
}, null, 8, It)) : p("", !0),
|
|
1731
|
+
H.value === "BR" ? (x(), m("polygon", {
|
|
1724
1732
|
key: 2,
|
|
1725
|
-
points: `${
|
|
1733
|
+
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}`,
|
|
1726
1734
|
fill: N.value.style.chart.backgroundColor,
|
|
1727
1735
|
style: { opacity: "1" }
|
|
1728
|
-
}, null, 8,
|
|
1729
|
-
|
|
1736
|
+
}, null, 8, Lt)) : p("", !0),
|
|
1737
|
+
H.value === "BL" ? (x(), m("polygon", {
|
|
1730
1738
|
key: 3,
|
|
1731
|
-
points: `${
|
|
1739
|
+
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}`,
|
|
1732
1740
|
fill: N.value.style.chart.backgroundColor,
|
|
1733
1741
|
style: { opacity: "1" }
|
|
1734
|
-
}, null, 8,
|
|
1742
|
+
}, null, 8, Rt)) : p("", !0)
|
|
1735
1743
|
])) : p("", !0),
|
|
1736
|
-
|
|
1737
|
-
x:
|
|
1738
|
-
y:
|
|
1739
|
-
"font-size":
|
|
1740
|
-
fill:
|
|
1744
|
+
H.value && !Yn.value ? (x(), m("g", zt, [h("text", {
|
|
1745
|
+
x: U.value.x,
|
|
1746
|
+
y: U.value.y - U.value.fontSize / 1.5,
|
|
1747
|
+
"font-size": U.value.fontSize / 1.5,
|
|
1748
|
+
fill: U.value.fill,
|
|
1741
1749
|
"text-anchor": "middle",
|
|
1742
|
-
"font-weight":
|
|
1743
|
-
}, T(
|
|
1744
|
-
A.value &&
|
|
1750
|
+
"font-weight": U.value.bold ? "bold" : "normal"
|
|
1751
|
+
}, T(U.value.text), 9, Bt)])) : p("", !0),
|
|
1752
|
+
A.value && H.value ? (x(), m("g", Vt, [
|
|
1745
1753
|
h("rect", {
|
|
1746
|
-
x: Z.value[
|
|
1747
|
-
y: Z.value[
|
|
1754
|
+
x: Z.value[H.value].tl.x,
|
|
1755
|
+
y: Z.value[H.value].tl.y,
|
|
1748
1756
|
height: "20",
|
|
1749
1757
|
width: "20",
|
|
1750
|
-
fill: Z.value[
|
|
1751
|
-
style: b(`cursor: ${P.value ? "pointer" : "default"}; opacity: ${
|
|
1752
|
-
onClick: t[8] ||= (e) =>
|
|
1758
|
+
fill: Z.value[H.value].tl.fill,
|
|
1759
|
+
style: b(`cursor: ${P.value ? "pointer" : "default"}; opacity: ${H.value === "TL" ? 1 : .2}`),
|
|
1760
|
+
onClick: t[8] ||= (e) => G("TL"),
|
|
1753
1761
|
class: v({
|
|
1754
1762
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1755
|
-
"vue-ui-quadrant-mini-map-cell-selectable":
|
|
1763
|
+
"vue-ui-quadrant-mini-map-cell-selectable": H.value !== "TL"
|
|
1756
1764
|
})
|
|
1757
|
-
}, null, 14,
|
|
1765
|
+
}, null, 14, Ht),
|
|
1758
1766
|
h("rect", {
|
|
1759
|
-
x: Z.value[
|
|
1760
|
-
y: Z.value[
|
|
1767
|
+
x: Z.value[H.value].tr.x,
|
|
1768
|
+
y: Z.value[H.value].tr.y,
|
|
1761
1769
|
height: "20",
|
|
1762
1770
|
width: "20",
|
|
1763
|
-
fill: Z.value[
|
|
1764
|
-
style: b(`cursor: ${P.value ? "pointer" : "default"}; opacity: ${
|
|
1765
|
-
onClick: t[9] ||= (e) =>
|
|
1771
|
+
fill: Z.value[H.value].tr.fill,
|
|
1772
|
+
style: b(`cursor: ${P.value ? "pointer" : "default"}; opacity: ${H.value === "TR" ? 1 : .2}`),
|
|
1773
|
+
onClick: t[9] ||= (e) => G("TR"),
|
|
1766
1774
|
class: v({
|
|
1767
1775
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1768
|
-
"vue-ui-quadrant-mini-map-cell-selectable":
|
|
1776
|
+
"vue-ui-quadrant-mini-map-cell-selectable": H.value !== "TR"
|
|
1769
1777
|
})
|
|
1770
|
-
}, null, 14,
|
|
1778
|
+
}, null, 14, Ut),
|
|
1771
1779
|
h("rect", {
|
|
1772
|
-
x: Z.value[
|
|
1773
|
-
y: Z.value[
|
|
1780
|
+
x: Z.value[H.value].br.x,
|
|
1781
|
+
y: Z.value[H.value].br.y,
|
|
1774
1782
|
height: "20",
|
|
1775
1783
|
width: "20",
|
|
1776
|
-
fill: Z.value[
|
|
1777
|
-
style: b(`cursor: ${P.value ? "pointer" : "default"}; opacity: ${
|
|
1778
|
-
onClick: t[10] ||= (e) =>
|
|
1784
|
+
fill: Z.value[H.value].br.fill,
|
|
1785
|
+
style: b(`cursor: ${P.value ? "pointer" : "default"}; opacity: ${H.value === "BR" ? 1 : .2}`),
|
|
1786
|
+
onClick: t[10] ||= (e) => G("BR"),
|
|
1779
1787
|
class: v({
|
|
1780
1788
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1781
|
-
"vue-ui-quadrant-mini-map-cell-selectable":
|
|
1789
|
+
"vue-ui-quadrant-mini-map-cell-selectable": H.value !== "BR"
|
|
1782
1790
|
})
|
|
1783
|
-
}, null, 14,
|
|
1791
|
+
}, null, 14, Wt),
|
|
1784
1792
|
h("rect", {
|
|
1785
|
-
x: Z.value[
|
|
1786
|
-
y: Z.value[
|
|
1793
|
+
x: Z.value[H.value].bl.x,
|
|
1794
|
+
y: Z.value[H.value].bl.y,
|
|
1787
1795
|
height: "20",
|
|
1788
1796
|
width: "20",
|
|
1789
|
-
fill: Z.value[
|
|
1790
|
-
style: b(`cursor: ${P.value ? "pointer" : "default"}; opacity: ${
|
|
1791
|
-
onClick: t[11] ||= (e) =>
|
|
1797
|
+
fill: Z.value[H.value].bl.fill,
|
|
1798
|
+
style: b(`cursor: ${P.value ? "pointer" : "default"}; opacity: ${H.value === "BL" ? 1 : .2}`),
|
|
1799
|
+
onClick: t[11] ||= (e) => G("BL"),
|
|
1792
1800
|
class: v({
|
|
1793
1801
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1794
|
-
"vue-ui-quadrant-mini-map-cell-selectable":
|
|
1802
|
+
"vue-ui-quadrant-mini-map-cell-selectable": H.value !== "BL"
|
|
1795
1803
|
})
|
|
1796
|
-
}, null, 14,
|
|
1804
|
+
}, null, 14, Gt),
|
|
1797
1805
|
h("path", {
|
|
1798
1806
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1799
1807
|
stroke: N.value.style.chart.backgroundColor,
|
|
1800
1808
|
"stroke-width": 1,
|
|
1801
|
-
d: Z.value[
|
|
1802
|
-
}, null, 8,
|
|
1809
|
+
d: Z.value[H.value].crosshairs.horizontal
|
|
1810
|
+
}, null, 8, Kt),
|
|
1803
1811
|
h("path", {
|
|
1804
1812
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1805
1813
|
stroke: N.value.style.chart.backgroundColor,
|
|
1806
1814
|
"stroke-width": 1,
|
|
1807
|
-
d: Z.value[
|
|
1808
|
-
}, null, 8,
|
|
1815
|
+
d: Z.value[H.value].crosshairs.vertical
|
|
1816
|
+
}, null, 8, qt)
|
|
1809
1817
|
])) : p("", !0),
|
|
1810
1818
|
w(e.$slots, "svg", { svg: {
|
|
1811
|
-
...
|
|
1812
|
-
isPrintingImg: E(
|
|
1813
|
-
isPrintingSvg:
|
|
1819
|
+
...B.value,
|
|
1820
|
+
isPrintingImg: E(Hn) || E(Un) || Dn.value,
|
|
1821
|
+
isPrintingSvg: On.value
|
|
1814
1822
|
} }, void 0, !0)
|
|
1815
|
-
], 46,
|
|
1823
|
+
], 46, Ze)), e.$slots.hint ? (x(), m("div", Jt, [w(e.$slots, "hint", y(_({
|
|
1816
1824
|
hint: N.value.a11y.translations.keyboardNavigation,
|
|
1817
|
-
isVisible:
|
|
1825
|
+
isVisible: Mn.value
|
|
1818
1826
|
})), void 0, !0)])) : p("", !0)]),
|
|
1819
|
-
e.$slots.watermark ? (x(), m("div",
|
|
1820
|
-
h("div", { id: `legend-bottom-${k.value}` }, null, 8,
|
|
1821
|
-
|
|
1827
|
+
e.$slots.watermark ? (x(), m("div", Yt, [w(e.$slots, "watermark", y(_({ isPrinting: E(Hn) || E(Un) || Dn.value || On.value })), void 0, !0)])) : p("", !0),
|
|
1828
|
+
h("div", { id: `legend-bottom-${k.value}` }, null, 8, Xt),
|
|
1829
|
+
wn.value && (N.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(Pe, {
|
|
1822
1830
|
key: 6,
|
|
1823
1831
|
to: N.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
|
|
1824
1832
|
}, [h("div", {
|
|
1825
1833
|
ref_key: "chartLegend",
|
|
1826
|
-
ref:
|
|
1827
|
-
}, [w(e.$slots, "legend", { legend: Y.value }, () => [N.value.style.chart.legend.show ? (x(), f(
|
|
1828
|
-
key: `legend_${
|
|
1834
|
+
ref: vn
|
|
1835
|
+
}, [w(e.$slots, "legend", { legend: Y.value }, () => [N.value.style.chart.legend.show ? (x(), f(Me, {
|
|
1836
|
+
key: `legend_${Cn.value}`,
|
|
1829
1837
|
legendSet: Y.value,
|
|
1830
|
-
config:
|
|
1838
|
+
config: ur.value,
|
|
1831
1839
|
isCursorPointer: P.value,
|
|
1832
|
-
onClickMarker: t[12] ||= ({ legend: e }) =>
|
|
1840
|
+
onClickMarker: t[12] ||= ({ legend: e }) => or(e.id)
|
|
1833
1841
|
}, {
|
|
1834
|
-
item: D(({ legend: e }) => [E(
|
|
1842
|
+
item: D(({ legend: e }) => [E(Pn) ? p("", !0) : (x(), m("div", {
|
|
1835
1843
|
key: 0,
|
|
1836
|
-
onClick: (t) =>
|
|
1837
|
-
style: b(`opacity:${
|
|
1838
|
-
}, T(e.name), 13,
|
|
1839
|
-
legendToggle: D(() => [Y.value.length > 2 && N.value.style.chart.legend.selectAllToggle.show && !E(
|
|
1844
|
+
onClick: (t) => or(e.id),
|
|
1845
|
+
style: b(`opacity:${q.value.includes(e.id) ? .5 : 1}`)
|
|
1846
|
+
}, T(e.name), 13, Zt))]),
|
|
1847
|
+
legendToggle: D(() => [Y.value.length > 2 && N.value.style.chart.legend.selectAllToggle.show && !E(Pn) ? (x(), f(Oe, {
|
|
1840
1848
|
key: 0,
|
|
1841
1849
|
backgroundColor: N.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1842
1850
|
color: N.value.style.chart.legend.selectAllToggle.color,
|
|
1843
1851
|
fontSize: N.value.style.chart.legend.fontSize,
|
|
1844
|
-
checked:
|
|
1852
|
+
checked: q.value.length > 0,
|
|
1845
1853
|
isCursorPointer: P.value,
|
|
1846
|
-
onToggle:
|
|
1854
|
+
onToggle: ar
|
|
1847
1855
|
}, null, 8, [
|
|
1848
1856
|
"backgroundColor",
|
|
1849
1857
|
"color",
|
|
@@ -1860,12 +1868,12 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1860
1868
|
e.$slots.source ? (x(), m("div", {
|
|
1861
1869
|
key: 7,
|
|
1862
1870
|
ref_key: "source",
|
|
1863
|
-
ref:
|
|
1871
|
+
ref: yn,
|
|
1864
1872
|
dir: "auto"
|
|
1865
1873
|
}, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
1866
|
-
|
|
1874
|
+
Le(E(en), {
|
|
1867
1875
|
teleportTo: N.value.style.chart.tooltip.teleportTo,
|
|
1868
|
-
show:
|
|
1876
|
+
show: R.value.showTooltip && mn.value,
|
|
1869
1877
|
backgroundColor: N.value.style.chart.tooltip.backgroundColor,
|
|
1870
1878
|
color: N.value.style.chart.tooltip.color,
|
|
1871
1879
|
borderRadius: N.value.style.chart.tooltip.borderRadius,
|
|
@@ -1877,26 +1885,26 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1877
1885
|
offsetX: N.value.style.chart.tooltip.offsetX,
|
|
1878
1886
|
offsetY: N.value.style.chart.tooltip.offsetY,
|
|
1879
1887
|
parent: j.value,
|
|
1880
|
-
content:
|
|
1888
|
+
content: hn.value,
|
|
1881
1889
|
isFullscreen: Q.value,
|
|
1882
1890
|
isCustom: N.value.style.chart.tooltip.customFormat && typeof N.value.style.chart.tooltip.customFormat == "function",
|
|
1883
1891
|
smooth: N.value.style.chart.tooltip.smooth,
|
|
1884
1892
|
backdropFilter: N.value.style.chart.tooltip.backdropFilter,
|
|
1885
1893
|
smoothForce: N.value.style.chart.tooltip.smoothForce,
|
|
1886
1894
|
smoothSnapThreshold: N.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1887
|
-
isA11yMode:
|
|
1888
|
-
a11yPosition:
|
|
1895
|
+
isA11yMode: jn.value === "keyboard",
|
|
1896
|
+
a11yPosition: An.value
|
|
1889
1897
|
}, {
|
|
1890
|
-
"tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...
|
|
1891
|
-
tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...
|
|
1892
|
-
"tooltip-after": D(() => [w(e.$slots, "tooltip-after", y(_({ ...
|
|
1893
|
-
default: D(() => [N.value.style.chart.tooltip.showShape ? (x(), m("svg",
|
|
1898
|
+
"tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...pr.value })), void 0, !0)]),
|
|
1899
|
+
tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...pr.value })), void 0, !0)]),
|
|
1900
|
+
"tooltip-after": D(() => [w(e.$slots, "tooltip-after", y(_({ ...pr.value })), void 0, !0)]),
|
|
1901
|
+
default: D(() => [N.value.style.chart.tooltip.showShape ? (x(), m("svg", Qt, [Le(Ce, {
|
|
1894
1902
|
plot: {
|
|
1895
1903
|
x: 10,
|
|
1896
1904
|
y: 10
|
|
1897
1905
|
},
|
|
1898
|
-
shape:
|
|
1899
|
-
color:
|
|
1906
|
+
shape: fr.value.shape,
|
|
1907
|
+
color: fr.value.color,
|
|
1900
1908
|
radius: 8,
|
|
1901
1909
|
stroke: N.value.style.chart.layout.plots.outline ? N.value.style.chart.layout.plots.outlineColor : "none",
|
|
1902
1910
|
"stroke-width": N.value.style.chart.layout.plots.outlineWidth
|
|
@@ -1931,24 +1939,24 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1931
1939
|
"isA11yMode",
|
|
1932
1940
|
"a11yPosition"
|
|
1933
1941
|
]),
|
|
1934
|
-
|
|
1942
|
+
fn.value && N.value.userOptions.buttons.table ? (x(), f(He(kr.value.component), Re({ key: 8 }, kr.value.props, {
|
|
1935
1943
|
ref_key: "tableUnit",
|
|
1936
|
-
ref:
|
|
1937
|
-
onClose:
|
|
1938
|
-
}),
|
|
1939
|
-
content: D(() => [(x(), f(E(
|
|
1940
|
-
key: `table_${
|
|
1941
|
-
colNames:
|
|
1942
|
-
head:
|
|
1943
|
-
body:
|
|
1944
|
-
config:
|
|
1945
|
-
title: N.value.table.useDialog ? "" :
|
|
1944
|
+
ref: Tn,
|
|
1945
|
+
onClose: Ar
|
|
1946
|
+
}), Fe({
|
|
1947
|
+
content: D(() => [(x(), f(E(rn), {
|
|
1948
|
+
key: `table_${Sn.value}`,
|
|
1949
|
+
colNames: ir.value.colNames,
|
|
1950
|
+
head: ir.value.head,
|
|
1951
|
+
body: ir.value.body,
|
|
1952
|
+
config: ir.value.config,
|
|
1953
|
+
title: N.value.table.useDialog ? "" : kr.value.title,
|
|
1946
1954
|
withCloseButton: !N.value.table.useDialog,
|
|
1947
1955
|
isCursorPointer: P.value,
|
|
1948
|
-
onClose:
|
|
1956
|
+
onClose: Ar
|
|
1949
1957
|
}, {
|
|
1950
|
-
th: D(({ th: e }) => [
|
|
1951
|
-
td: D(({ td: e }) => [h("div", { innerHTML: e.name || e }, null, 8,
|
|
1958
|
+
th: D(({ th: e }) => [Ie(T(e), 1)]),
|
|
1959
|
+
td: D(({ td: e }) => [h("div", { innerHTML: e.name || e }, null, 8, $t)]),
|
|
1952
1960
|
_: 1
|
|
1953
1961
|
}, 8, [
|
|
1954
1962
|
"colNames",
|
|
@@ -1962,24 +1970,24 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1962
1970
|
_: 2
|
|
1963
1971
|
}, [N.value.table.useDialog ? {
|
|
1964
1972
|
name: "title",
|
|
1965
|
-
fn: D(() => [
|
|
1973
|
+
fn: D(() => [Ie(T(kr.value.title), 1)]),
|
|
1966
1974
|
key: "0"
|
|
1967
1975
|
} : void 0, N.value.table.useDialog ? {
|
|
1968
1976
|
name: "actions",
|
|
1969
1977
|
fn: D(() => [h("button", {
|
|
1970
1978
|
tabindex: "0",
|
|
1971
1979
|
class: "vue-ui-user-options-button",
|
|
1972
|
-
onClick: t[13] ||= (e) =>
|
|
1980
|
+
onClick: t[13] ||= (e) => xr(N.value.userOptions.callbacks.csv),
|
|
1973
1981
|
style: b({ cursor: P.value ? "pointer" : "default" })
|
|
1974
|
-
}, [
|
|
1982
|
+
}, [Le(E(tn), {
|
|
1975
1983
|
name: "fileCsv",
|
|
1976
|
-
stroke:
|
|
1984
|
+
stroke: kr.value.props.color
|
|
1977
1985
|
}, null, 8, ["stroke"])], 4)]),
|
|
1978
1986
|
key: "1"
|
|
1979
1987
|
} : void 0]), 1040)) : p("", !0),
|
|
1980
|
-
w(e.$slots, "skeleton", {}, () => [E(
|
|
1981
|
-
], 46,
|
|
1988
|
+
w(e.$slots, "skeleton", {}, () => [E(Pn) ? (x(), f(_e, { key: 0 })) : p("", !0)], !0)
|
|
1989
|
+
], 46, qe));
|
|
1982
1990
|
}
|
|
1983
|
-
}, [["__scopeId", "data-v-
|
|
1991
|
+
}, [["__scopeId", "data-v-22db9b59"]]);
|
|
1984
1992
|
//#endregion
|
|
1985
|
-
export {
|
|
1993
|
+
export { Ke as n, en as t };
|