vue-data-ui 3.23.0 → 3.23.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
- package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
- package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
- package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
- package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
- package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
- package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
- package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
- package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
- package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-DXU7nRr9.js} +1 -1
- package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
- package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
- package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
- package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
- package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
- package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
- package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.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 +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/composables.js +1 -1
- package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
- package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
- package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
- package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
- package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
- package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
- package/dist/{package-BMc_ZieJ.js → package-bsfpO6y3.js} +1 -1
- package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
- package/dist/{render-common-Ktg2LZFG.js → render-common-C0PEe9so.js} +2 -2
- 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 +9 -0
- package/dist/{useSvgExport-Ba9qBr9M.js → useChartExport-DNiwdPmb.js} +48 -2
- package/dist/{useConfig-BilxnBNr.js → useConfig-DlNpz6P8.js} +13 -1
- package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
- package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-BeWS5v0i.js} +1 -1
- package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
- package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
- package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-BNxtW8pK.js} +69 -69
- package/dist/vue-data-ui.js +74 -74
- package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-BYumVxZG.js} +147 -165
- package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-DegI2lzR.js} +4 -4
- package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
- package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-DfG79D4r.js} +41 -68
- package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
- package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-mKysp0KO.js} +222 -272
- package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
- package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
- package/dist/{vue-ui-chestnut-ArloORzP.js → vue-ui-chestnut-Dpklo-VE.js} +311 -365
- package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
- package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
- package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-DIt7vOwc.js} +4 -4
- package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-Cl0WdSLb.js} +812 -840
- package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-BwxRLR4E.js} +70 -70
- package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Bp1OH_t1.js} +5 -5
- package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-BZUT7QYt.js} +352 -377
- package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
- package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-y6tOAVyY.js} +18 -17
- package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-BtKZcAOV.js} +370 -420
- package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-BF_cndsv.js} +191 -216
- package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
- package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-ClWaSOmM.js} +276 -302
- package/dist/vue-ui-gauge-CJstpakj.js +932 -0
- package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-B1tOD3HC.js} +398 -449
- package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-foatosAv.js} +4 -4
- package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-By33A9dZ.js} +479 -502
- package/dist/{vue-ui-hill-D7LYAgAL.js → vue-ui-hill-ewqkK9s5.js} +570 -593
- package/dist/vue-ui-history-plot-FEIwXlsz.js +1698 -0
- package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-D51sAeVu.js} +307 -332
- package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-y3EkgqJQ.js} +4 -4
- package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CtTewZJG.js} +3 -3
- package/dist/vue-ui-molecule-paWHp18h.js +935 -0
- package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-wBRTZI5k.js} +341 -390
- package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
- package/dist/vue-ui-onion-B2Q2n55x.js +1233 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +189 -214
- package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-DOPuejDE.js} +254 -284
- package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-CgHX9njq.js} +108 -109
- package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-BLvG-_zE.js} +407 -434
- package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-BDVSVFA0.js} +10 -11
- package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
- package/dist/vue-ui-ridgeline-BbrnXvBo.js +1614 -0
- package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-B3cKfMWy.js} +419 -444
- package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
- package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-DwKxd7fk.js} +4 -4
- package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-5iHJeTPc.js} +64 -65
- package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-MpvrV5Wd.js} +11 -11
- package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
- package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-B-BYVv4p.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-D7D4NHdi.js} +18 -19
- package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-RbeYtLWp.js} +11 -11
- package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-ohN7mtbg.js} +194 -198
- package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-D2bpvQYt.js} +530 -552
- package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Bo1oE8yq.js} +592 -614
- package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
- package/dist/vue-ui-table-3PPiJPV6.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-D1bbPXKG.js} +56 -57
- package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-l1cUX3ny.js} +13 -15
- package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-DltAELO7.js} +240 -261
- package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-DWNdx47q.js} +6 -6
- package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
- package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-DjNlnOG5.js} +521 -547
- package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
- package/dist/vue-ui-wheel-DrefGLos.js +871 -0
- package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-CQZ8AyOi.js} +382 -405
- package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-Y7a3VEjq.js} +426 -451
- package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-CJcdttNL.js} +879 -905
- package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-DPxtkYGc.js} +329 -326
- package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-1rbwMA1m.js} +30 -27
- package/package.json +4 -4
- package/dist/Slicer-5yIrdoJv.js +0 -1149
- package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
- package/dist/vue-ui-age-pyramid-CgnPWA93.js +0 -1263
- package/dist/vue-ui-bullet-Bc3-WaN1.js +0 -724
- package/dist/vue-ui-candlestick-DvvsrIdp.js +0 -1864
- package/dist/vue-ui-carousel-table-DtsNVim8.js +0 -463
- package/dist/vue-ui-chord-xX5gWZy8.js +0 -1396
- package/dist/vue-ui-circle-pack-D8wykmqg.js +0 -1638
- package/dist/vue-ui-donut-evolution-D6vH_hfx.js +0 -1598
- package/dist/vue-ui-funnel-CjYosIik.js +0 -797
- package/dist/vue-ui-gauge-CByT0_vF.js +0 -953
- package/dist/vue-ui-history-plot-BhcU94Pt.js +0 -1722
- package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
- package/dist/vue-ui-nested-donuts-aS4YzaB3.js +0 -1528
- package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
- package/dist/vue-ui-relation-circle-FLs8vOxQ.js +0 -925
- package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
- package/dist/vue-ui-scatter-CNA7jF-o.js +0 -2428
- package/dist/vue-ui-strip-plot-ACeYOoHj.js +0 -1757
- package/dist/vue-ui-table-rFy16bp0.js +0 -1347
- package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
- package/dist/vue-ui-waffle-iPpdk1Bm.js +0 -1412
- package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, Bt as n, D as r, G as i, Jt as a, Kt as o, Pt as
|
|
2
|
+
import { $ as t, Bt as n, D as r, G as i, Jt as a, Kt as o, Pt as s, S as ee, Tt as te, Vt as ne, X as c, _t as re, ct as ie, i as l, jt as ae, q as oe, r as se, t as ce, tt as le, w as ue, xt as de } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as fe, t as pe } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as me } from "./useConfig-
|
|
5
|
-
import { t as he } from "./usePrinter-
|
|
4
|
+
import { t as me } from "./useConfig-DlNpz6P8.js";
|
|
5
|
+
import { t as he } from "./usePrinter-DN5bYhTG.js";
|
|
6
6
|
import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as ve } from "./
|
|
8
|
-
import { t as ye } from "./
|
|
9
|
-
import { t as be } from "./
|
|
10
|
-
import { t as xe } from "./img-
|
|
11
|
-
import { n as Se } from "./Title-
|
|
12
|
-
import { t as Ce } from "./Shape-
|
|
7
|
+
import { t as ve } from "./useNestedProp-vPNvh7rV.js";
|
|
8
|
+
import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as be } from "./useChartExport-DNiwdPmb.js";
|
|
10
|
+
import { t as xe } from "./img-Bnokohej.js";
|
|
11
|
+
import { n as Se } from "./Title-BE3qg9xl.js";
|
|
12
|
+
import { t as Ce } from "./Shape-C21CMlWS.js";
|
|
13
13
|
import { t as we } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { l as Te, t as Ee } from "./useResponsive-ZtArZtUf.js";
|
|
15
15
|
import { t as De } from "./DefGrad-DVBqDjhO.js";
|
|
16
|
-
import { t as Oe } from "./BaseLegendToggle-
|
|
16
|
+
import { t as Oe } from "./BaseLegendToggle-DZVucLnv.js";
|
|
17
17
|
import { t as ke } from "./A11yDataTable-DdRsVULz.js";
|
|
18
18
|
import { t as Ae } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
19
|
import { t as je } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
-
import { t as Me } from "./Legend-
|
|
20
|
+
import { t as Me } from "./Legend-CQxUgOd-.js";
|
|
21
21
|
import { t as Ne } from "./vue_ui_quadrant-CDSTKTJz.js";
|
|
22
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";
|
|
23
23
|
//#region src/components/vue-ui-quadrant.vue
|
|
@@ -224,17 +224,17 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
224
224
|
"copyAlt"
|
|
225
225
|
],
|
|
226
226
|
setup(e, { expose: we, emit: Ke }) {
|
|
227
|
-
let en = g(() => import("./Tooltip-
|
|
227
|
+
let en = g(() => import("./Tooltip-DhjyfHwz.js")), tn = g(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), nn = g(() => import("./vue-ui-accordion-DegI2lzR.js").then((e) => e.n)), rn = g(() => import("./DataTable-BbKgJ5UI.js")), an = g(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), on = g(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), sn = g(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), cn = g(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_quadrant: ln } = me(), { isThemeValid: un, warnInvalidTheme: dn } = ye(), O = e, fn = d(() => !!O.dataset && O.dataset.length), k = S(oe()), 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), M = S(null), Dn = S(null), On = S({
|
|
228
228
|
x: 0,
|
|
229
229
|
y: 0
|
|
230
|
-
}),
|
|
230
|
+
}), kn = S("pointer"), An = S(!1), N = S(Ln());
|
|
231
231
|
fe({
|
|
232
232
|
config: () => N.value,
|
|
233
233
|
dataset: () => O.dataset,
|
|
234
234
|
component: "VueUiQuadrant",
|
|
235
235
|
rules: [pe.emptyArray, pe.noHint]
|
|
236
236
|
});
|
|
237
|
-
let P = d(() => N.value.userOptions.useCursorPointer),
|
|
237
|
+
let P = d(() => N.value.userOptions.useCursorPointer), jn = d(() => ({
|
|
238
238
|
defaultConfig: {
|
|
239
239
|
userOptions: { show: !1 },
|
|
240
240
|
table: { show: !1 },
|
|
@@ -261,10 +261,10 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
261
261
|
} }
|
|
262
262
|
},
|
|
263
263
|
userConfig: N.value.skeletonConfig ?? {}
|
|
264
|
-
})), { loading:
|
|
264
|
+
})), { loading: Mn, FINAL_DATASET: Nn } = ge({
|
|
265
265
|
...We(O),
|
|
266
266
|
FINAL_CONFIG: N,
|
|
267
|
-
prepareConfig:
|
|
267
|
+
prepareConfig: Ln,
|
|
268
268
|
callback: () => {
|
|
269
269
|
Promise.resolve().then(async () => {
|
|
270
270
|
await ze(), R.value.showTable = N.value.table.show;
|
|
@@ -344,58 +344,55 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
344
344
|
}],
|
|
345
345
|
skeletonConfig: a({
|
|
346
346
|
defaultConfig: N.value,
|
|
347
|
-
userConfig:
|
|
347
|
+
userConfig: jn.value
|
|
348
348
|
})
|
|
349
|
-
}), { userOptionsVisible:
|
|
350
|
-
function
|
|
351
|
-
let e =
|
|
349
|
+
}), { userOptionsVisible: Pn, setUserOptionsVisibility: Fn, keepUserOptionState: In } = Ae({ config: N.value }), { svgRef: F } = je({ config: N.value.style.chart.title });
|
|
350
|
+
function Ln() {
|
|
351
|
+
let e = ve({
|
|
352
352
|
userConfig: O.config,
|
|
353
353
|
defaultConfig: ln
|
|
354
354
|
}), t = e.theme;
|
|
355
355
|
if (!t) return e;
|
|
356
356
|
if (!un.value(e)) return dn(e), e;
|
|
357
|
-
let n =
|
|
357
|
+
let n = ve({
|
|
358
358
|
userConfig: Ne[t] || O.config,
|
|
359
359
|
defaultConfig: e
|
|
360
|
-
}), r =
|
|
360
|
+
}), r = ve({
|
|
361
361
|
userConfig: O.config,
|
|
362
362
|
defaultConfig: n
|
|
363
363
|
});
|
|
364
364
|
return {
|
|
365
365
|
...r,
|
|
366
|
-
customPalette: r.customPalette.length ? r.customPalette : o[t] ||
|
|
366
|
+
customPalette: r.customPalette.length ? r.customPalette : o[t] || s
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
369
|
Ge(() => O.config, (e) => {
|
|
370
|
-
N.value =
|
|
370
|
+
N.value = Ln(), Pn.value = !N.value.userOptions.showOnChartHover, zn(), 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;
|
|
371
371
|
}, { deep: !0 });
|
|
372
|
-
let I = Ue(null), L = Ue(null),
|
|
373
|
-
function
|
|
374
|
-
if (
|
|
372
|
+
let I = Ue(null), L = Ue(null), Rn = d(() => N.value.debug);
|
|
373
|
+
function zn() {
|
|
374
|
+
if (ae(O.dataset) ? le({
|
|
375
375
|
componentName: "VueUiQuadrant",
|
|
376
376
|
type: "dataset",
|
|
377
|
-
debug:
|
|
378
|
-
}) : O.dataset.forEach((e, t) => {
|
|
379
|
-
[null, void 0].includes(e.name) &&
|
|
377
|
+
debug: Rn.value
|
|
378
|
+
}) : Rn.value && O.dataset.forEach((e, t) => {
|
|
379
|
+
[null, void 0].includes(e.name) && le({
|
|
380
380
|
componentName: "VueUiQuadrant",
|
|
381
381
|
type: "datasetSerieAttribute",
|
|
382
382
|
property: "name",
|
|
383
|
-
index: t
|
|
384
|
-
|
|
385
|
-
}), [null, void 0].includes(e.series) ? l({
|
|
383
|
+
index: t
|
|
384
|
+
}), [null, void 0].includes(e.series) ? le({
|
|
386
385
|
componentName: "VueUiQuadrant",
|
|
387
386
|
type: "datasetSerieAttribute",
|
|
388
387
|
property: "series",
|
|
389
|
-
index: t
|
|
390
|
-
debug: Bn.value
|
|
388
|
+
index: t
|
|
391
389
|
}) : e.series.forEach((e, t) => {
|
|
392
|
-
[null, void 0].includes(e.name) &&
|
|
390
|
+
[null, void 0].includes(e.name) && le({
|
|
393
391
|
componentName: "VueUiQuadrant",
|
|
394
392
|
type: "datasetSerieAttribute",
|
|
395
393
|
property: "name",
|
|
396
394
|
key: "series",
|
|
397
|
-
index: t
|
|
398
|
-
debug: Bn.value
|
|
395
|
+
index: t
|
|
399
396
|
});
|
|
400
397
|
});
|
|
401
398
|
}), N.value.responsive) {
|
|
@@ -415,15 +412,15 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
415
412
|
}
|
|
416
413
|
}
|
|
417
414
|
Ve(() => {
|
|
418
|
-
wn.value = !0,
|
|
415
|
+
wn.value = !0, zn();
|
|
419
416
|
}), Be(() => {
|
|
420
417
|
I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect());
|
|
421
418
|
});
|
|
422
|
-
let { isPrinting:
|
|
419
|
+
let { isPrinting: Bn, isImaging: Vn, generatePdf: Hn, generateImage: Un } = he({
|
|
423
420
|
elementId: `vue-ui-quadrant_${k.value}`,
|
|
424
421
|
fileName: N.value.style.chart.title.text || "vue-ui-quadrant",
|
|
425
422
|
options: N.value.userOptions.print
|
|
426
|
-
}),
|
|
423
|
+
}), Wn = d(() => N.value.userOptions.show && !N.value.style.chart.title.text), Gn = d(() => ue(N.value.customPalette)), R = S({
|
|
427
424
|
plotLabels: { show: N.value.style.chart.layout.labels.plotLabels.show },
|
|
428
425
|
showTable: N.value.table.show,
|
|
429
426
|
showTooltip: N.value.style.chart.tooltip.show
|
|
@@ -494,23 +491,23 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
494
491
|
bold: !1
|
|
495
492
|
};
|
|
496
493
|
}
|
|
497
|
-
}),
|
|
498
|
-
function
|
|
499
|
-
H.value &&
|
|
494
|
+
}), Kn = S(null), qn = S(!1);
|
|
495
|
+
function Jn({ targetX: e, targetY: t, targetW: n, targetH: r, side: i }) {
|
|
496
|
+
H.value && _r(i);
|
|
500
497
|
let a = {
|
|
501
498
|
x: e - V.value.startX,
|
|
502
499
|
y: t - V.value.startY,
|
|
503
500
|
w: n - V.value.width,
|
|
504
501
|
h: r - V.value.height
|
|
505
|
-
}, o = N.value.zoomAnimationFrames,
|
|
506
|
-
function
|
|
507
|
-
|
|
502
|
+
}, o = N.value.zoomAnimationFrames, s = 0;
|
|
503
|
+
function ee() {
|
|
504
|
+
qn.value = !0, V.value.startX += a.x / o, V.value.startY += a.y / o, V.value.width += a.w / o, V.value.height += a.h / o, s += 1, s < o ? Kn.value = requestAnimationFrame(ee) : qn.value = !1;
|
|
508
505
|
}
|
|
509
|
-
|
|
506
|
+
ee();
|
|
510
507
|
}
|
|
511
508
|
let W = d(() => N.value.zoomEnabled);
|
|
512
509
|
function G(e) {
|
|
513
|
-
if (W.value && !
|
|
510
|
+
if (W.value && !qn.value) if (A.value && H.value === e) Jn({
|
|
514
511
|
targetX: 0,
|
|
515
512
|
targetY: 0,
|
|
516
513
|
targetW: B.value.width,
|
|
@@ -519,7 +516,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
519
516
|
else {
|
|
520
517
|
switch (H.value = e, e) {
|
|
521
518
|
case "TL":
|
|
522
|
-
|
|
519
|
+
Jn({
|
|
523
520
|
targetX: 0,
|
|
524
521
|
targetY: 0,
|
|
525
522
|
targetW: B.value.width / 2 + B.value.left,
|
|
@@ -528,7 +525,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
528
525
|
});
|
|
529
526
|
break;
|
|
530
527
|
case "TR":
|
|
531
|
-
|
|
528
|
+
Jn({
|
|
532
529
|
targetX: B.value.width / 2 - B.value.left,
|
|
533
530
|
targetY: 0,
|
|
534
531
|
targetW: B.value.width / 2 + B.value.left,
|
|
@@ -537,7 +534,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
537
534
|
});
|
|
538
535
|
break;
|
|
539
536
|
case "BR":
|
|
540
|
-
|
|
537
|
+
Jn({
|
|
541
538
|
targetX: B.value.width / 2 - B.value.left,
|
|
542
539
|
targetY: B.value.height / 2 - B.value.top,
|
|
543
540
|
targetW: B.value.width / 2 + B.value.left,
|
|
@@ -546,7 +543,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
546
543
|
});
|
|
547
544
|
break;
|
|
548
545
|
case "BL":
|
|
549
|
-
|
|
546
|
+
Jn({
|
|
550
547
|
targetX: 0,
|
|
551
548
|
targetY: B.value.height / 2 - B.value.top,
|
|
552
549
|
targetW: B.value.width / 2 + B.value.left,
|
|
@@ -554,14 +551,12 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
554
551
|
side: "bl"
|
|
555
552
|
});
|
|
556
553
|
break;
|
|
557
|
-
default:
|
|
558
|
-
V.value.startX = 0, V.value.startY = 0, V.value.width = B.value.width, V.value.height = B.value.height;
|
|
559
|
-
break;
|
|
554
|
+
default: V.value.startX = 0, V.value.startY = 0, V.value.width = B.value.width, V.value.height = B.value.height;
|
|
560
555
|
}
|
|
561
556
|
A.value = !0;
|
|
562
557
|
}
|
|
563
558
|
}
|
|
564
|
-
let
|
|
559
|
+
let Yn = d(() => {
|
|
565
560
|
let e = N.value.style.chart.layout.grid.graduations.steps, t = B.value.usableWidth / (e * 2), n = B.value.top, r = [];
|
|
566
561
|
for (let i = 0; i < e; i += 1) r.push({
|
|
567
562
|
x: B.value.padding + t * i,
|
|
@@ -573,7 +568,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
573
568
|
return r;
|
|
574
569
|
}), K = d(() => {
|
|
575
570
|
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;
|
|
576
|
-
return N.value.style.chart.layout.grid.xAxis.auto && (e = Math.max(...
|
|
571
|
+
return N.value.style.chart.layout.grid.xAxis.auto && (e = Math.max(...Xn.value.flatMap((e) => e.series.map((e) => e.x))), t = Math.min(...Xn.value.flatMap((e) => e.series.map((e) => e.x)))), N.value.style.chart.layout.grid.yAxis.auto && (n = Math.max(...Xn.value.flatMap((e) => e.series.map((e) => e.y))), r = Math.min(...Xn.value.flatMap((e) => e.series.map((e) => e.y)))), {
|
|
577
572
|
x: {
|
|
578
573
|
max: e,
|
|
579
574
|
min: t
|
|
@@ -583,24 +578,24 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
583
578
|
min: r
|
|
584
579
|
}
|
|
585
580
|
};
|
|
586
|
-
}), q = S([]),
|
|
581
|
+
}), q = S([]), Xn = d(() => Nn.value.map((e, t) => ({
|
|
587
582
|
...e,
|
|
588
|
-
series:
|
|
583
|
+
series: te({
|
|
589
584
|
data: e.series,
|
|
590
585
|
threshold: N.value.downsample.threshold
|
|
591
586
|
}),
|
|
592
587
|
id: `cat_${t}_${k.value}`,
|
|
593
|
-
color:
|
|
594
|
-
}))),
|
|
588
|
+
color: ee(e.color) || Gn.value[t] || s[t]
|
|
589
|
+
}))), Zn = d(() => Xn.value.filter((e) => !q.value.includes(e.id))), Qn = d(() => Xn.value.map((e, t) => ({
|
|
595
590
|
...e,
|
|
596
591
|
shape: e.shape || "circle",
|
|
597
592
|
series: e.series.map((t) => ({
|
|
598
593
|
...t,
|
|
599
|
-
x:
|
|
600
|
-
y:
|
|
594
|
+
x: $n(t.x),
|
|
595
|
+
y: er(t.y),
|
|
601
596
|
xValue: t.x,
|
|
602
597
|
yValue: t.y,
|
|
603
|
-
quadrantSide:
|
|
598
|
+
quadrantSide: lr({
|
|
604
599
|
x: t.x,
|
|
605
600
|
y: t.y
|
|
606
601
|
}),
|
|
@@ -609,64 +604,64 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
609
604
|
shape: e.shape,
|
|
610
605
|
color: e.color
|
|
611
606
|
}))
|
|
612
|
-
}))), J = d(() => (
|
|
607
|
+
}))), J = d(() => (Rn.value && Nn.value.forEach((e, t) => {
|
|
613
608
|
e.series.forEach((e, t) => {
|
|
614
|
-
[null, void 0].includes(e.x) &&
|
|
609
|
+
[null, void 0].includes(e.x) && le({
|
|
615
610
|
componentName: "VueUiQuadrant",
|
|
616
611
|
type: "datasetSerieAttribute",
|
|
617
612
|
property: "x",
|
|
618
613
|
key: "series",
|
|
619
|
-
index: t
|
|
620
|
-
|
|
621
|
-
}), [null, void 0].includes(e.y) && l({
|
|
614
|
+
index: t
|
|
615
|
+
}), [null, void 0].includes(e.y) && le({
|
|
622
616
|
componentName: "VueUiQuadrant",
|
|
623
617
|
type: "datasetSerieAttribute",
|
|
624
618
|
property: "y",
|
|
625
619
|
key: "series",
|
|
626
|
-
index: t
|
|
627
|
-
debug: Bn.value
|
|
620
|
+
index: t
|
|
628
621
|
});
|
|
629
622
|
});
|
|
630
|
-
}),
|
|
623
|
+
}), Zn.value.map((e, t) => ({
|
|
631
624
|
...e,
|
|
632
625
|
shape: e.shape || "circle",
|
|
633
|
-
color: e.color ||
|
|
626
|
+
color: e.color || Gn.value[t] || s[t],
|
|
634
627
|
series: e.series.map((t) => ({
|
|
635
628
|
...t,
|
|
636
629
|
category: e,
|
|
637
|
-
x:
|
|
638
|
-
y:
|
|
630
|
+
x: $n(t.x),
|
|
631
|
+
y: er(t.y),
|
|
639
632
|
xValue: t.x,
|
|
640
633
|
yValue: t.y,
|
|
641
|
-
quadrantSide:
|
|
634
|
+
quadrantSide: lr({
|
|
642
635
|
x: t.x,
|
|
643
636
|
y: t.y
|
|
644
637
|
}),
|
|
645
638
|
categoryName: e.name,
|
|
646
639
|
shape: e.shape,
|
|
647
640
|
color: e.color,
|
|
648
|
-
uid:
|
|
641
|
+
uid: oe()
|
|
649
642
|
}))
|
|
650
643
|
}))));
|
|
651
|
-
function
|
|
644
|
+
function $n(e) {
|
|
652
645
|
if (e >= 0) {
|
|
653
646
|
let t = e / K.value.x.max;
|
|
654
647
|
return B.value.centerX + B.value.usableWidth / 2 * t;
|
|
655
|
-
}
|
|
648
|
+
}
|
|
649
|
+
{
|
|
656
650
|
let t = Math.abs(e) / Math.abs(K.value.x.min);
|
|
657
651
|
return B.value.centerX - B.value.usableWidth / 2 * t;
|
|
658
652
|
}
|
|
659
653
|
}
|
|
660
|
-
function
|
|
654
|
+
function er(e) {
|
|
661
655
|
if (e >= 0) {
|
|
662
656
|
let t = e / K.value.y.max;
|
|
663
657
|
return B.value.centerY + (1 - B.value.usableHeight / 2 * t);
|
|
664
|
-
}
|
|
658
|
+
}
|
|
659
|
+
{
|
|
665
660
|
let t = Math.abs(e) / Math.abs(K.value.y.min);
|
|
666
661
|
return B.value.centerY - (1 - B.value.usableHeight / 2 * t);
|
|
667
662
|
}
|
|
668
663
|
}
|
|
669
|
-
let
|
|
664
|
+
let tr = d(() => {
|
|
670
665
|
let e = J.value.flatMap((e) => e.series.map((t) => ({
|
|
671
666
|
x: t.xValue,
|
|
672
667
|
y: t.yValue,
|
|
@@ -698,19 +693,19 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
698
693
|
})),
|
|
699
694
|
tableData: e
|
|
700
695
|
};
|
|
701
|
-
}),
|
|
702
|
-
let e =
|
|
696
|
+
}), nr = d(() => {
|
|
697
|
+
let e = tr.value.head, t = tr.value.tableData.map((e) => [
|
|
703
698
|
{
|
|
704
699
|
shape: e.shape,
|
|
705
700
|
color: e.color,
|
|
706
701
|
name: e.category
|
|
707
702
|
},
|
|
708
703
|
e.name,
|
|
709
|
-
|
|
704
|
+
l(N.value.style.chart.layout.labels.plotLabels.x.formatter, e.x, c({
|
|
710
705
|
v: e.x,
|
|
711
706
|
r: N.value.style.chart.layout.labels.plotLabels.rounding
|
|
712
707
|
})),
|
|
713
|
-
|
|
708
|
+
l(N.value.style.chart.layout.labels.plotLabels.y.formatter, e.y, c({
|
|
714
709
|
v: e.y,
|
|
715
710
|
r: N.value.style.chart.layout.labels.plotLabels.rounding
|
|
716
711
|
})),
|
|
@@ -736,35 +731,35 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
736
731
|
colNames: e
|
|
737
732
|
};
|
|
738
733
|
});
|
|
739
|
-
function
|
|
734
|
+
function rr() {
|
|
740
735
|
q.value.length ? q.value = [] : Y.value.forEach((e) => {
|
|
741
736
|
q.value.push(e.id);
|
|
742
|
-
}), pn("selectLegend",
|
|
737
|
+
}), pn("selectLegend", vr());
|
|
743
738
|
}
|
|
744
|
-
function
|
|
745
|
-
q.value.includes(e) ? q.value = q.value.filter((t) => t !== e) : q.value.push(e), pn("selectLegend",
|
|
739
|
+
function ir(e) {
|
|
740
|
+
q.value.includes(e) ? q.value = q.value.filter((t) => t !== e) : q.value.push(e), pn("selectLegend", vr());
|
|
746
741
|
}
|
|
747
|
-
let Y = d(() =>
|
|
742
|
+
let Y = d(() => Qn.value.map((e) => ({
|
|
748
743
|
name: e.name,
|
|
749
744
|
shape: e.shape,
|
|
750
745
|
color: e.color,
|
|
751
746
|
id: e.id,
|
|
752
747
|
opacity: q.value.includes(e.id) ? .5 : 1,
|
|
753
|
-
segregate: () =>
|
|
748
|
+
segregate: () => ir(e.id),
|
|
754
749
|
isSegregated: q.value.includes(e.id)
|
|
755
750
|
})));
|
|
756
|
-
function
|
|
757
|
-
return Y.value.length ? Y.value.find((t) => t.name === e) || (
|
|
751
|
+
function ar(e) {
|
|
752
|
+
return Y.value.length ? Y.value.find((t) => t.name === e) || (Rn.value && console.warn(`VueUiQuadrant - Series name not found "${e}"`), null) : (Rn.value && console.warn("VueUiQuadrant - There are no series to show."), null);
|
|
758
753
|
}
|
|
759
|
-
function
|
|
760
|
-
let t =
|
|
761
|
-
t !== null && q.value.includes(t.id) &&
|
|
754
|
+
function or(e) {
|
|
755
|
+
let t = ar(e);
|
|
756
|
+
t !== null && q.value.includes(t.id) && ir(t.id);
|
|
762
757
|
}
|
|
763
|
-
function
|
|
764
|
-
let t =
|
|
765
|
-
t !== null && (q.value.includes(t.id) ||
|
|
758
|
+
function sr(e) {
|
|
759
|
+
let t = ar(e);
|
|
760
|
+
t !== null && (q.value.includes(t.id) || ir(t.id));
|
|
766
761
|
}
|
|
767
|
-
let
|
|
762
|
+
let cr = d(() => ({
|
|
768
763
|
cy: "quadrant-div-legend",
|
|
769
764
|
backgroundColor: N.value.style.chart.legend.backgroundColor,
|
|
770
765
|
color: N.value.style.chart.legend.color,
|
|
@@ -772,7 +767,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
772
767
|
paddingBottom: 12,
|
|
773
768
|
fontWeight: N.value.style.chart.legend.bold ? "bold" : ""
|
|
774
769
|
}));
|
|
775
|
-
function
|
|
770
|
+
function lr(e) {
|
|
776
771
|
switch (!0) {
|
|
777
772
|
case e.x >= 0 && e.y >= 0: return "tr";
|
|
778
773
|
case e.x >= 0 && e.y < 0: return "br";
|
|
@@ -781,35 +776,35 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
781
776
|
default: return "";
|
|
782
777
|
}
|
|
783
778
|
}
|
|
784
|
-
let X = S(null),
|
|
785
|
-
function
|
|
786
|
-
X.value = null,
|
|
779
|
+
let X = S(null), ur = S(null), dr = S(null);
|
|
780
|
+
function fr() {
|
|
781
|
+
X.value = null, ur.value = null, M.value = null, Dn.value = null, mn.value = !1;
|
|
787
782
|
}
|
|
788
|
-
function
|
|
783
|
+
function pr(e) {
|
|
789
784
|
if (!F.value || !e) return;
|
|
790
785
|
let t = `[data-a11y-plot-id="${e}"]`, n = F.value.querySelector(t);
|
|
791
786
|
if (!n) return;
|
|
792
787
|
let r = n.getBoundingClientRect();
|
|
793
|
-
|
|
788
|
+
On.value = {
|
|
794
789
|
x: r.left + r.width / 2,
|
|
795
790
|
y: r.top + r.height / 2
|
|
796
791
|
};
|
|
797
792
|
}
|
|
798
|
-
function
|
|
793
|
+
function mr(e, t, n, r = "pointer", i = null) {
|
|
799
794
|
N.value.events.datapointEnter && N.value.events.datapointEnter({
|
|
800
795
|
datapoint: t,
|
|
801
796
|
seriesIndex: n
|
|
802
|
-
}), X.value = t.uid,
|
|
797
|
+
}), X.value = t.uid, ur.value = {
|
|
803
798
|
color: e.color,
|
|
804
799
|
shape: e.shape
|
|
805
|
-
},
|
|
800
|
+
}, kn.value = r, M.value = i, Dn.value = t.uid, dr.value = {
|
|
806
801
|
datapoint: t,
|
|
807
802
|
seriesIndex: n,
|
|
808
803
|
series: J.value,
|
|
809
804
|
config: N.value
|
|
810
805
|
};
|
|
811
806
|
let a = N.value.style.chart.tooltip.customFormat;
|
|
812
|
-
if (de(a) &&
|
|
807
|
+
if (de(a) && ie(() => a({
|
|
813
808
|
seriesIndex: n,
|
|
814
809
|
datapoint: t,
|
|
815
810
|
series: J.value,
|
|
@@ -822,14 +817,14 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
822
817
|
});
|
|
823
818
|
else {
|
|
824
819
|
let r = "";
|
|
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>${
|
|
820
|
+
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>${l(N.value.style.chart.layout.labels.plotLabels.x.formatter, t.xValue, c({
|
|
826
821
|
v: t.xValue,
|
|
827
822
|
r: N.value.style.chart.tooltip.roundingValue
|
|
828
823
|
}), {
|
|
829
824
|
datapoint: t,
|
|
830
825
|
category: e,
|
|
831
826
|
categoryIndex: n
|
|
832
|
-
})}</b></div>`, r += `<div>${N.value.style.chart.layout.grid.yAxis.name ? N.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${
|
|
827
|
+
})}</b></div>`, r += `<div>${N.value.style.chart.layout.grid.yAxis.name ? N.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${l(N.value.style.chart.layout.labels.plotLabels.y.formatter, t.yValue, c({
|
|
833
828
|
v: t.yValue,
|
|
834
829
|
r: N.value.style.chart.tooltip.roundingValue
|
|
835
830
|
}), {
|
|
@@ -839,16 +834,16 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
839
834
|
})}</b></div>`, hn.value = `<div style="text-align:left;font-size:${N.value.style.chart.tooltip.fontSize}px">${r}</div>`;
|
|
840
835
|
}
|
|
841
836
|
r === "keyboard" && ze(() => {
|
|
842
|
-
|
|
837
|
+
pr(t.uid);
|
|
843
838
|
}), mn.value = !0;
|
|
844
839
|
}
|
|
845
|
-
function
|
|
840
|
+
function hr(e, t) {
|
|
846
841
|
N.value.events.datapointLeave && N.value.events.datapointLeave({
|
|
847
842
|
datapoint: e,
|
|
848
843
|
seriesIndex: t
|
|
849
|
-
}),
|
|
844
|
+
}), (Dn.value !== e.uid || kn.value !== "keyboard") && (mn.value = !1, X.value = null, ur.value = null);
|
|
850
845
|
}
|
|
851
|
-
function
|
|
846
|
+
function gr(e, t, n) {
|
|
852
847
|
N.value.events.datapointClick && N.value.events.datapointClick({
|
|
853
848
|
datapoint: t,
|
|
854
849
|
seriesIndex: n
|
|
@@ -864,7 +859,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
864
859
|
};
|
|
865
860
|
pn("selectPlot", r);
|
|
866
861
|
}
|
|
867
|
-
function
|
|
862
|
+
function _r(e) {
|
|
868
863
|
if (!e) return;
|
|
869
864
|
let t = J.value.flatMap((t) => t.series.filter((t) => t.quadrantSide === e).map((e) => ({
|
|
870
865
|
category: e.categoryName,
|
|
@@ -984,7 +979,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
984
979
|
}
|
|
985
980
|
}
|
|
986
981
|
}));
|
|
987
|
-
function
|
|
982
|
+
function vr() {
|
|
988
983
|
return J.value.map((e) => ({
|
|
989
984
|
color: e.color,
|
|
990
985
|
name: e.name,
|
|
@@ -998,37 +993,37 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
998
993
|
}))
|
|
999
994
|
}));
|
|
1000
995
|
}
|
|
1001
|
-
function
|
|
996
|
+
function yr(e = null) {
|
|
1002
997
|
ze(() => {
|
|
1003
998
|
let n = [
|
|
1004
999
|
[N.value.style.chart.title.text],
|
|
1005
1000
|
[N.value.style.chart.title.subtitle.text],
|
|
1006
1001
|
[""]
|
|
1007
|
-
], i =
|
|
1008
|
-
e ? e(
|
|
1009
|
-
csvContent:
|
|
1002
|
+
], i = tr.value.head, a = tr.value.body, o = n.concat([i]).concat(a), s = r(o);
|
|
1003
|
+
e ? e(s) : t({
|
|
1004
|
+
csvContent: s,
|
|
1010
1005
|
title: N.value.style.chart.title.text || "vue-ui-quadrant"
|
|
1011
1006
|
});
|
|
1012
1007
|
});
|
|
1013
1008
|
}
|
|
1014
1009
|
let Q = S(!1);
|
|
1015
|
-
function
|
|
1010
|
+
function br(e) {
|
|
1016
1011
|
Q.value = e, gn.value += 1;
|
|
1017
1012
|
}
|
|
1018
|
-
function
|
|
1013
|
+
function xr() {
|
|
1019
1014
|
R.value.showTable = !R.value.showTable;
|
|
1020
1015
|
}
|
|
1021
|
-
function
|
|
1016
|
+
function Sr() {
|
|
1022
1017
|
R.value.plotLabels.show = !R.value.plotLabels.show;
|
|
1023
1018
|
}
|
|
1024
|
-
function
|
|
1019
|
+
function Cr() {
|
|
1025
1020
|
R.value.showTooltip = !R.value.showTooltip;
|
|
1026
1021
|
}
|
|
1027
|
-
let
|
|
1028
|
-
function
|
|
1029
|
-
|
|
1022
|
+
let wr = S(!1);
|
|
1023
|
+
function Tr() {
|
|
1024
|
+
wr.value = !wr.value;
|
|
1030
1025
|
}
|
|
1031
|
-
async function
|
|
1026
|
+
async function Er({ scale: e = 2 } = {}) {
|
|
1032
1027
|
if (!j.value) return;
|
|
1033
1028
|
let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await xe({
|
|
1034
1029
|
domElement: j.value,
|
|
@@ -1045,7 +1040,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1045
1040
|
aspectRatio: r
|
|
1046
1041
|
};
|
|
1047
1042
|
}
|
|
1048
|
-
let
|
|
1043
|
+
let Dr = d(() => {
|
|
1049
1044
|
let e = N.value.table.useDialog && !N.value.table.show, t = R.value.showTable;
|
|
1050
1045
|
return {
|
|
1051
1046
|
component: e ? cn : nn,
|
|
@@ -1079,125 +1074,100 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1079
1074
|
Ge(() => R.value.showTable, (e) => {
|
|
1080
1075
|
N.value.table.show || (e && N.value.table.useDialog && Tn.value ? Tn.value.open() : "close" in Tn.value && Tn.value.close());
|
|
1081
1076
|
});
|
|
1082
|
-
function
|
|
1077
|
+
function Or() {
|
|
1083
1078
|
R.value.showTable = !1, En.value && En.value.setTableIconState(!1);
|
|
1084
1079
|
}
|
|
1085
|
-
let
|
|
1080
|
+
let kr = d(() => N.value.style.chart.backgroundColor), Ar = d(() => N.value.style.chart.legend), jr = d(() => N.value.style.chart.title), { isCallbackImaging: Mr, isCallbackSvg: Nr, generateSvg: Pr, onGenerateImage: Fr } = be({
|
|
1086
1081
|
svg: F,
|
|
1087
|
-
title:
|
|
1088
|
-
legend:
|
|
1082
|
+
title: jr,
|
|
1083
|
+
legend: Ar,
|
|
1089
1084
|
legendItems: Y,
|
|
1090
|
-
backgroundColor:
|
|
1085
|
+
backgroundColor: kr,
|
|
1086
|
+
getSvgCallback: () => N.value.userOptions.callbacks.svg,
|
|
1087
|
+
generateImage: Un
|
|
1091
1088
|
});
|
|
1092
|
-
async function
|
|
1093
|
-
On.value = !0, await ze();
|
|
1094
|
-
try {
|
|
1095
|
-
if (e) {
|
|
1096
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await Pr();
|
|
1097
|
-
await Promise.resolve(N.value.userOptions.callbacks.svg({
|
|
1098
|
-
blob: e,
|
|
1099
|
-
url: t,
|
|
1100
|
-
text: n,
|
|
1101
|
-
dataUrl: r
|
|
1102
|
-
}));
|
|
1103
|
-
} else await Promise.resolve(Nr());
|
|
1104
|
-
} finally {
|
|
1105
|
-
On.value = !1;
|
|
1106
|
-
}
|
|
1107
|
-
}
|
|
1108
|
-
function Ir(e) {
|
|
1109
|
-
if (e?.stage === "start") {
|
|
1110
|
-
Dn.value = !0;
|
|
1111
|
-
return;
|
|
1112
|
-
}
|
|
1113
|
-
if (e?.stage === "end") {
|
|
1114
|
-
Dn.value = !1;
|
|
1115
|
-
return;
|
|
1116
|
-
}
|
|
1117
|
-
Gn();
|
|
1118
|
-
}
|
|
1119
|
-
async function Lr() {
|
|
1089
|
+
async function Ir() {
|
|
1120
1090
|
if (pn("copyAlt", {
|
|
1121
1091
|
config: N.value,
|
|
1122
|
-
dataset:
|
|
1092
|
+
dataset: Zn.value
|
|
1123
1093
|
}), !N.value.userOptions.callbacks.altCopy) {
|
|
1124
1094
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
1125
1095
|
return;
|
|
1126
1096
|
}
|
|
1127
1097
|
await Promise.resolve(N.value.userOptions.callbacks.altCopy({
|
|
1128
1098
|
config: N.value,
|
|
1129
|
-
dataset:
|
|
1099
|
+
dataset: Zn.value
|
|
1130
1100
|
}));
|
|
1131
1101
|
}
|
|
1132
|
-
function
|
|
1133
|
-
M.value = null,
|
|
1102
|
+
function Lr() {
|
|
1103
|
+
M.value = null, Dn.value = null, An.value = !0;
|
|
1134
1104
|
}
|
|
1135
|
-
function
|
|
1136
|
-
|
|
1105
|
+
function Rr() {
|
|
1106
|
+
fr(), An.value = !1;
|
|
1137
1107
|
}
|
|
1138
|
-
function
|
|
1139
|
-
if (!F.value ||
|
|
1108
|
+
function zr(e) {
|
|
1109
|
+
if (!F.value || wr.value || document.activeElement !== F.value || !$.value.length) return;
|
|
1140
1110
|
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";
|
|
1141
1111
|
if (!t && !n && !r && !i) return;
|
|
1142
1112
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
1143
|
-
|
|
1113
|
+
fr();
|
|
1144
1114
|
return;
|
|
1145
1115
|
}
|
|
1146
1116
|
if (r) {
|
|
1147
1117
|
if (M.value === null) return;
|
|
1148
1118
|
let e = $.value[M.value];
|
|
1149
1119
|
if (!e) return;
|
|
1150
|
-
|
|
1120
|
+
gr(e.category, e.plot, e.categoryIndex);
|
|
1151
1121
|
return;
|
|
1152
1122
|
}
|
|
1153
|
-
let a = M.value, o = X.value ? $.value.findIndex((e) => e.plot.uid === X.value) : null,
|
|
1154
|
-
|
|
1155
|
-
let
|
|
1156
|
-
|
|
1123
|
+
let a = M.value, o = X.value ? $.value.findIndex((e) => e.plot.uid === X.value) : null, s = a !== null && a >= 0 && a < $.value.length, ee = o !== null && o >= 0 && o < $.value.length;
|
|
1124
|
+
s ? (a += n ? 1 : -1, a < 0 && (a = $.value.length - 1), a >= $.value.length && (a = 0)) : ee ? (a = n ? o + 1 : o - 1, a >= $.value.length && (a = 0), a < 0 && (a = $.value.length - 1)) : a = n ? 0 : $.value.length - 1;
|
|
1125
|
+
let te = $.value[a];
|
|
1126
|
+
te && mr(te.category, te.plot, te.categoryIndex, "keyboard", a);
|
|
1157
1127
|
}
|
|
1158
|
-
let
|
|
1159
|
-
headers:
|
|
1160
|
-
rows:
|
|
1128
|
+
let Br = d(() => ({
|
|
1129
|
+
headers: nr.value?.colNames ?? [],
|
|
1130
|
+
rows: nr.value?.a11yBody ?? []
|
|
1161
1131
|
})), $ = d(() => J.value.flatMap((e, t) => e.series.map((n) => ({
|
|
1162
1132
|
category: e,
|
|
1163
1133
|
plot: n,
|
|
1164
1134
|
categoryIndex: t
|
|
1165
1135
|
}))));
|
|
1166
1136
|
return we({
|
|
1167
|
-
getData:
|
|
1168
|
-
getImage:
|
|
1169
|
-
generatePdf:
|
|
1170
|
-
generateCsv:
|
|
1171
|
-
generateImage:
|
|
1172
|
-
generateSvg:
|
|
1173
|
-
hideSeries:
|
|
1174
|
-
showSeries:
|
|
1175
|
-
toggleTable:
|
|
1176
|
-
toggleLabels:
|
|
1177
|
-
toggleTooltip:
|
|
1178
|
-
toggleAnnotator:
|
|
1179
|
-
toggleFullscreen:
|
|
1180
|
-
copyAlt:
|
|
1137
|
+
getData: vr,
|
|
1138
|
+
getImage: Er,
|
|
1139
|
+
generatePdf: Hn,
|
|
1140
|
+
generateCsv: yr,
|
|
1141
|
+
generateImage: Un,
|
|
1142
|
+
generateSvg: Pr,
|
|
1143
|
+
hideSeries: sr,
|
|
1144
|
+
showSeries: or,
|
|
1145
|
+
toggleTable: xr,
|
|
1146
|
+
toggleLabels: Sr,
|
|
1147
|
+
toggleTooltip: Cr,
|
|
1148
|
+
toggleAnnotator: Tr,
|
|
1149
|
+
toggleFullscreen: br,
|
|
1150
|
+
copyAlt: Ir
|
|
1181
1151
|
}), (e, t) => (x(), m("div", {
|
|
1182
1152
|
class: v(`vue-data-ui-component vue-ui-quadrant ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1183
1153
|
ref_key: "quadrantChart",
|
|
1184
1154
|
ref: j,
|
|
1185
1155
|
id: `vue-ui-quadrant_${k.value}`,
|
|
1186
1156
|
style: b(`font-family:${N.value.style.fontFamily};width:100%; text-align:center;background:${N.value.style.chart.backgroundColor};${N.value.responsive ? "height: 100%" : ""}`),
|
|
1187
|
-
onMouseenter: t[14] ||= () => E(
|
|
1157
|
+
onMouseenter: t[14] ||= () => E(Fn)(!0),
|
|
1188
1158
|
onMouseleave: t[15] ||= () => {
|
|
1189
|
-
E(
|
|
1159
|
+
E(Fn)(!1), An.value || fr();
|
|
1190
1160
|
}
|
|
1191
1161
|
}, [
|
|
1192
1162
|
h("div", {
|
|
1193
1163
|
id: `chart-instructions-${k.value}`,
|
|
1194
1164
|
class: "sr-only"
|
|
1195
1165
|
}, [h("p", null, T(N.value.a11y.translations.keyboardNavigation), 1)], 8, Je),
|
|
1196
|
-
|
|
1166
|
+
Br.value?.rows?.length ? (x(), f(ke, {
|
|
1197
1167
|
key: 0,
|
|
1198
1168
|
uid: k.value,
|
|
1199
|
-
head:
|
|
1200
|
-
body:
|
|
1169
|
+
head: Br.value.headers,
|
|
1170
|
+
body: Br.value.rows,
|
|
1201
1171
|
notice: N.value.a11y.translations.tableAvailable,
|
|
1202
1172
|
caption: N.value.a11y.translations.tableCaption
|
|
1203
1173
|
}, null, 8, [
|
|
@@ -1212,9 +1182,9 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1212
1182
|
svgRef: E(F),
|
|
1213
1183
|
backgroundColor: N.value.style.chart.backgroundColor,
|
|
1214
1184
|
color: N.value.style.chart.color,
|
|
1215
|
-
active:
|
|
1185
|
+
active: wr.value,
|
|
1216
1186
|
isCursorPointer: P.value,
|
|
1217
|
-
onClose:
|
|
1187
|
+
onClose: Tr
|
|
1218
1188
|
}, {
|
|
1219
1189
|
"annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1220
1190
|
"annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
|
|
@@ -1230,7 +1200,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1230
1200
|
"active",
|
|
1231
1201
|
"isCursorPointer"
|
|
1232
1202
|
])) : p("", !0),
|
|
1233
|
-
|
|
1203
|
+
Wn.value ? (x(), m("div", {
|
|
1234
1204
|
key: 2,
|
|
1235
1205
|
ref_key: "noTitle",
|
|
1236
1206
|
ref: bn,
|
|
@@ -1256,14 +1226,14 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1256
1226
|
}
|
|
1257
1227
|
}, null, 8, ["config"]))], 512)) : p("", !0),
|
|
1258
1228
|
h("div", { id: `legend-top-${k.value}` }, null, 8, Ye),
|
|
1259
|
-
N.value.userOptions.show && fn.value && (E(
|
|
1229
|
+
N.value.userOptions.show && fn.value && (E(In) || E(Pn)) ? (x(), f(E(on), {
|
|
1260
1230
|
ref_key: "userOptionsRef",
|
|
1261
1231
|
ref: En,
|
|
1262
1232
|
key: `user_options_${gn.value}`,
|
|
1263
1233
|
backgroundColor: N.value.style.chart.backgroundColor,
|
|
1264
1234
|
color: N.value.style.chart.color,
|
|
1265
|
-
isImaging: E(
|
|
1266
|
-
isPrinting: E(
|
|
1235
|
+
isImaging: E(Vn),
|
|
1236
|
+
isPrinting: E(Bn),
|
|
1267
1237
|
uid: k.value,
|
|
1268
1238
|
hasTooltip: N.value.userOptions.buttons.tooltip && N.value.style.chart.tooltip.show,
|
|
1269
1239
|
hasPdf: N.value.userOptions.buttons.pdf,
|
|
@@ -1280,22 +1250,22 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1280
1250
|
chartElement: j.value,
|
|
1281
1251
|
position: N.value.userOptions.position,
|
|
1282
1252
|
hasAnnotator: N.value.userOptions.buttons.annotator,
|
|
1283
|
-
isAnnotation:
|
|
1253
|
+
isAnnotation: wr.value,
|
|
1284
1254
|
callbacks: N.value.userOptions.callbacks,
|
|
1285
1255
|
printScale: N.value.userOptions.print.scale,
|
|
1286
1256
|
tableDialog: N.value.table.useDialog,
|
|
1287
1257
|
isCursorPointer: P.value,
|
|
1288
|
-
onToggleFullscreen:
|
|
1289
|
-
onGeneratePdf: E(
|
|
1290
|
-
onGenerateCsv:
|
|
1291
|
-
onGenerateImage:
|
|
1292
|
-
onGenerateSvg:
|
|
1293
|
-
onToggleTable:
|
|
1294
|
-
onToggleLabels:
|
|
1295
|
-
onToggleTooltip:
|
|
1296
|
-
onToggleAnnotator:
|
|
1297
|
-
onCopyAlt:
|
|
1298
|
-
style: b({ visibility: E(
|
|
1258
|
+
onToggleFullscreen: br,
|
|
1259
|
+
onGeneratePdf: E(Hn),
|
|
1260
|
+
onGenerateCsv: yr,
|
|
1261
|
+
onGenerateImage: E(Fr),
|
|
1262
|
+
onGenerateSvg: E(Pr),
|
|
1263
|
+
onToggleTable: xr,
|
|
1264
|
+
onToggleLabels: Sr,
|
|
1265
|
+
onToggleTooltip: Cr,
|
|
1266
|
+
onToggleAnnotator: Tr,
|
|
1267
|
+
onCopyAlt: Ir,
|
|
1268
|
+
style: b({ visibility: E(In) ? E(Pn) ? "visible" : "hidden" : "visible" })
|
|
1299
1269
|
}, Fe({ _: 2 }, [
|
|
1300
1270
|
e.$slots.menuIcon ? {
|
|
1301
1271
|
name: "menuIcon",
|
|
@@ -1371,11 +1341,11 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1371
1341
|
fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1372
1342
|
key: "12"
|
|
1373
1343
|
} : void 0
|
|
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),
|
|
1344
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : p("", !0),
|
|
1375
1345
|
h("div", Xe, [(x(), m("svg", {
|
|
1376
1346
|
ref_key: "svgRef",
|
|
1377
1347
|
ref: F,
|
|
1378
|
-
xmlns: E(
|
|
1348
|
+
xmlns: E(ce),
|
|
1379
1349
|
"aria-describedby": `chart-instructions-${k.value}`,
|
|
1380
1350
|
class: v({
|
|
1381
1351
|
"vue-data-ui-fullscreen--on": Q.value,
|
|
@@ -1385,9 +1355,9 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1385
1355
|
style: b(`max-width:100%;overflow:hidden;background:transparent;color:${N.value.style.chart.color}`),
|
|
1386
1356
|
id: `svg_${k.value}`,
|
|
1387
1357
|
tabindex: "0",
|
|
1388
|
-
onFocus:
|
|
1389
|
-
onBlur:
|
|
1390
|
-
onKeydown:
|
|
1358
|
+
onFocus: Lr,
|
|
1359
|
+
onBlur: Rr,
|
|
1360
|
+
onKeydown: zr
|
|
1391
1361
|
}, [
|
|
1392
1362
|
Le(E(sn)),
|
|
1393
1363
|
e.$slots["chart-background"] ? (x(), m("foreignObject", {
|
|
@@ -1409,7 +1379,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1409
1379
|
key: `quadrant_gradient_${k.value}_${t}`,
|
|
1410
1380
|
stops: [[
|
|
1411
1381
|
"0%",
|
|
1412
|
-
E(n)(E(
|
|
1382
|
+
E(n)(E(ne)(e.color, .05), N.value.style.chart.layout.areas.opacity),
|
|
1413
1383
|
1
|
|
1414
1384
|
], [
|
|
1415
1385
|
"100%",
|
|
@@ -1417,7 +1387,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1417
1387
|
1
|
|
1418
1388
|
]]
|
|
1419
1389
|
}, null, 8, ["id", "stops"]))), 128))]),
|
|
1420
|
-
N.value.style.chart.layout.grid.graduations.show ? (x(), m("g", $e, [(x(!0), m(u, null, C(
|
|
1390
|
+
N.value.style.chart.layout.grid.graduations.show ? (x(), m("g", $e, [(x(!0), m(u, null, C(Yn.value, (e) => (x(), m("rect", {
|
|
1421
1391
|
fill: N.value.style.chart.layout.grid.graduations.fill ? E(n)(N.value.style.chart.layout.grid.graduations.color, e.opacity) : "none",
|
|
1422
1392
|
x: e.x,
|
|
1423
1393
|
y: e.y,
|
|
@@ -1474,7 +1444,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1474
1444
|
fill: N.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
1475
1445
|
"font-size": N.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
1476
1446
|
style: b(`font-weight:${N.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
1477
|
-
onClick: t[0] ||= (e) =>
|
|
1447
|
+
onClick: t[0] ||= (e) => _r("tl")
|
|
1478
1448
|
}, T(N.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, lt)) : p("", !0),
|
|
1479
1449
|
N.value.style.chart.layout.labels.quadrantLabels.tr.text ? (x(), m("text", {
|
|
1480
1450
|
key: 1,
|
|
@@ -1484,7 +1454,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1484
1454
|
fill: N.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
1485
1455
|
"font-size": N.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
1486
1456
|
style: b(`font-weight:${N.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
1487
|
-
onClick: t[1] ||= (e) =>
|
|
1457
|
+
onClick: t[1] ||= (e) => _r("tr")
|
|
1488
1458
|
}, T(N.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, ut)) : p("", !0),
|
|
1489
1459
|
N.value.style.chart.layout.labels.quadrantLabels.br.text ? (x(), m("text", {
|
|
1490
1460
|
key: 2,
|
|
@@ -1494,7 +1464,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1494
1464
|
fill: N.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
1495
1465
|
"font-size": N.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
1496
1466
|
style: b(`font-weight:${N.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
1497
|
-
onClick: t[2] ||= (e) =>
|
|
1467
|
+
onClick: t[2] ||= (e) => _r("br")
|
|
1498
1468
|
}, T(N.value.style.chart.layout.labels.quadrantLabels.br.text), 13, dt)) : p("", !0),
|
|
1499
1469
|
N.value.style.chart.layout.labels.quadrantLabels.bl.text ? (x(), m("text", {
|
|
1500
1470
|
key: 3,
|
|
@@ -1504,7 +1474,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1504
1474
|
fill: N.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
1505
1475
|
"font-size": N.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
1506
1476
|
style: b(`font-weight:${N.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
1507
|
-
onClick: t[3] ||= (e) =>
|
|
1477
|
+
onClick: t[3] ||= (e) => _r("bl")
|
|
1508
1478
|
}, T(N.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, ft)) : p("", !0)
|
|
1509
1479
|
])) : p("", !0),
|
|
1510
1480
|
N.value.style.chart.layout.labels.axisLabels.show ? (x(), m("g", pt, [
|
|
@@ -1515,7 +1485,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1515
1485
|
"text-anchor": "middle",
|
|
1516
1486
|
"font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1517
1487
|
fill: N.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1518
|
-
}, T(E(
|
|
1488
|
+
}, T(E(l)(N.value.style.chart.layout.labels.plotLabels.y.formatter, K.value.y.max, E(c)({
|
|
1519
1489
|
v: K.value.y.max,
|
|
1520
1490
|
r: N.value.style.chart.layout.labels.plotLabels.rounding
|
|
1521
1491
|
}))), 9, mt)) : p("", !0),
|
|
@@ -1533,7 +1503,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1533
1503
|
"text-anchor": "middle",
|
|
1534
1504
|
"font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1535
1505
|
fill: N.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1536
|
-
}, T(E(
|
|
1506
|
+
}, T(E(l)(N.value.style.chart.layout.labels.plotLabels.y.formatter, K.value.y.min, E(c)({
|
|
1537
1507
|
v: K.value.y.min,
|
|
1538
1508
|
r: N.value.style.chart.layout.labels.plotLabels.rounding
|
|
1539
1509
|
}))), 9, gt)) : p("", !0),
|
|
@@ -1544,7 +1514,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1544
1514
|
"font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1545
1515
|
transform: `translate(${B.value.padding - N.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(-90)`,
|
|
1546
1516
|
fill: N.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1547
|
-
}, T(E(
|
|
1517
|
+
}, T(E(l)(N.value.style.chart.layout.labels.plotLabels.x.formatter, K.value.x.min, E(c)({
|
|
1548
1518
|
v: K.value.x.min,
|
|
1549
1519
|
r: N.value.style.chart.layout.labels.plotLabels.rounding
|
|
1550
1520
|
}))), 9, _t)) : p("", !0),
|
|
@@ -1555,7 +1525,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1555
1525
|
"font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1556
1526
|
transform: `translate(${B.value.width - B.value.padding + N.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(90)`,
|
|
1557
1527
|
fill: N.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1558
|
-
}, T(E(
|
|
1528
|
+
}, T(E(l)(N.value.style.chart.layout.labels.plotLabels.x.formatter, K.value.x.max, E(c)({
|
|
1559
1529
|
v: K.value.x.max,
|
|
1560
1530
|
r: N.value.style.chart.layout.labels.plotLabels.rounding
|
|
1561
1531
|
}))), 9, vt)) : p("", !0),
|
|
@@ -1571,7 +1541,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1571
1541
|
key: 0,
|
|
1572
1542
|
"data-cy-quadrant-area": "",
|
|
1573
1543
|
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),
|
|
1574
|
-
points: E(
|
|
1544
|
+
points: E(re)(e)
|
|
1575
1545
|
}, null, 8, xt)) : p("", !0)]))), 256))])) : p("", !0),
|
|
1576
1546
|
h("g", null, [
|
|
1577
1547
|
h("rect", {
|
|
@@ -1629,10 +1599,10 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1629
1599
|
width: "100",
|
|
1630
1600
|
x: n.x - 50,
|
|
1631
1601
|
y: n.y - N.value.style.chart.layout.labels.plotLabels.fontSize,
|
|
1632
|
-
onMouseover: (r) =>
|
|
1633
|
-
onMouseleave: (e) =>
|
|
1634
|
-
onClick: (r) =>
|
|
1635
|
-
}, [h("div", { style: b(`color:${E(
|
|
1602
|
+
onMouseover: (r) => mr(e, n, t),
|
|
1603
|
+
onMouseleave: (e) => hr(n, t),
|
|
1604
|
+
onClick: (r) => gr(e, n, t)
|
|
1605
|
+
}, [h("div", { style: b(`color:${E(se)(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(Mn) ? (x(!0), m(u, { key: 0 }, C(t.series, (r) => (x(), m("g", { key: r.uid }, [(x(), m("foreignObject", {
|
|
1636
1606
|
x: r.x - 1,
|
|
1637
1607
|
y: r.y - 1,
|
|
1638
1608
|
width: "2",
|
|
@@ -1641,14 +1611,14 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1641
1611
|
overflow: "visible",
|
|
1642
1612
|
"pointer-events": "none"
|
|
1643
1613
|
},
|
|
1644
|
-
onMouseenter: (e) =>
|
|
1645
|
-
onMouseleave: (e) =>
|
|
1646
|
-
onClick: (e) =>
|
|
1614
|
+
onMouseenter: (e) => mr(t, r, n),
|
|
1615
|
+
onMouseleave: (e) => hr(r, n),
|
|
1616
|
+
onClick: (e) => gr(t, r, n)
|
|
1647
1617
|
}, [w(e.$slots, "datapoint", Re({ ref_for: !0 }, { datapoint: {
|
|
1648
1618
|
...r,
|
|
1649
|
-
onEnter: () =>
|
|
1650
|
-
onLeave: () =>
|
|
1651
|
-
onClick: () =>
|
|
1619
|
+
onEnter: () => mr(t, r, n),
|
|
1620
|
+
onLeave: () => hr(r, n),
|
|
1621
|
+
onClick: () => gr(t, r, n),
|
|
1652
1622
|
isSelected: X.value && r.uid === X.value
|
|
1653
1623
|
} }), void 0, !0)], 40, Et)), h("circle", {
|
|
1654
1624
|
"data-a11y-plot-id": r.uid,
|
|
@@ -1657,11 +1627,11 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1657
1627
|
r: Math.max(N.value.style.chart.layout.plots.radius / (A.value ? 1.5 : 1), 10),
|
|
1658
1628
|
fill: "transparent",
|
|
1659
1629
|
style: { "pointer-events": "none" }
|
|
1660
|
-
}, null, 8, Dt)]))), 128)) : e.$slots.datapointSvg && !E(
|
|
1630
|
+
}, null, 8, Dt)]))), 128)) : e.$slots.datapointSvg && !E(Mn) ? (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: {
|
|
1661
1631
|
...r,
|
|
1662
|
-
onEnter: () =>
|
|
1663
|
-
onLeave: () =>
|
|
1664
|
-
onClick: () =>
|
|
1632
|
+
onEnter: () => mr(t, r, n),
|
|
1633
|
+
onLeave: () => hr(r, n),
|
|
1634
|
+
onClick: () => gr(t, r, n),
|
|
1665
1635
|
isSelected: X.value && r.uid === X.value
|
|
1666
1636
|
} }), void 0, !0)]))), 128)) : (x(!0), m(u, { key: 2 }, C(t.series, (e, r) => (x(), m("g", { key: e.uid }, [Le(Ce, {
|
|
1667
1637
|
color: t.color,
|
|
@@ -1671,9 +1641,9 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1671
1641
|
shape: t.shape,
|
|
1672
1642
|
stroke: N.value.style.chart.layout.plots.outline ? N.value.style.chart.layout.plots.outlineColor : "none",
|
|
1673
1643
|
strokeWidth: N.value.style.chart.layout.plots.outlineWidth,
|
|
1674
|
-
onMouseenter: (r) =>
|
|
1675
|
-
onMouseleave: (t) =>
|
|
1676
|
-
onClick: (r) =>
|
|
1644
|
+
onMouseenter: (r) => mr(t, e, n, "pointer"),
|
|
1645
|
+
onMouseleave: (t) => hr(e, n),
|
|
1646
|
+
onClick: (r) => gr(t, e, n)
|
|
1677
1647
|
}, null, 8, [
|
|
1678
1648
|
"color",
|
|
1679
1649
|
"isSelected",
|
|
@@ -1741,7 +1711,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1741
1711
|
style: { opacity: "1" }
|
|
1742
1712
|
}, null, 8, Rt)) : p("", !0)
|
|
1743
1713
|
])) : p("", !0),
|
|
1744
|
-
H.value && !
|
|
1714
|
+
H.value && !qn.value ? (x(), m("g", zt, [h("text", {
|
|
1745
1715
|
x: U.value.x,
|
|
1746
1716
|
y: U.value.y - U.value.fontSize / 1.5,
|
|
1747
1717
|
"font-size": U.value.fontSize / 1.5,
|
|
@@ -1817,14 +1787,14 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1817
1787
|
])) : p("", !0),
|
|
1818
1788
|
w(e.$slots, "svg", { svg: {
|
|
1819
1789
|
...B.value,
|
|
1820
|
-
isPrintingImg: E(
|
|
1821
|
-
isPrintingSvg:
|
|
1790
|
+
isPrintingImg: E(Bn) || E(Vn) || E(Mr),
|
|
1791
|
+
isPrintingSvg: E(Nr)
|
|
1822
1792
|
} }, void 0, !0)
|
|
1823
1793
|
], 46, Ze)), e.$slots.hint ? (x(), m("div", Jt, [w(e.$slots, "hint", y(_({
|
|
1824
1794
|
hint: N.value.a11y.translations.keyboardNavigation,
|
|
1825
|
-
isVisible:
|
|
1795
|
+
isVisible: An.value
|
|
1826
1796
|
})), void 0, !0)])) : p("", !0)]),
|
|
1827
|
-
e.$slots.watermark ? (x(), m("div", Yt, [w(e.$slots, "watermark", y(_({ isPrinting: E(
|
|
1797
|
+
e.$slots.watermark ? (x(), m("div", Yt, [w(e.$slots, "watermark", y(_({ isPrinting: E(Bn) || E(Vn) || E(Mr) || E(Nr) })), void 0, !0)])) : p("", !0),
|
|
1828
1798
|
h("div", { id: `legend-bottom-${k.value}` }, null, 8, Xt),
|
|
1829
1799
|
wn.value && (N.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(Pe, {
|
|
1830
1800
|
key: 6,
|
|
@@ -1835,23 +1805,23 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1835
1805
|
}, [w(e.$slots, "legend", { legend: Y.value }, () => [N.value.style.chart.legend.show ? (x(), f(Me, {
|
|
1836
1806
|
key: `legend_${Cn.value}`,
|
|
1837
1807
|
legendSet: Y.value,
|
|
1838
|
-
config:
|
|
1808
|
+
config: cr.value,
|
|
1839
1809
|
isCursorPointer: P.value,
|
|
1840
|
-
onClickMarker: t[12] ||= ({ legend: e }) =>
|
|
1810
|
+
onClickMarker: t[12] ||= ({ legend: e }) => ir(e.id)
|
|
1841
1811
|
}, {
|
|
1842
|
-
item: D(({ legend: e }) => [E(
|
|
1812
|
+
item: D(({ legend: e }) => [E(Mn) ? p("", !0) : (x(), m("div", {
|
|
1843
1813
|
key: 0,
|
|
1844
|
-
onClick: (t) =>
|
|
1814
|
+
onClick: (t) => ir(e.id),
|
|
1845
1815
|
style: b(`opacity:${q.value.includes(e.id) ? .5 : 1}`)
|
|
1846
1816
|
}, T(e.name), 13, Zt))]),
|
|
1847
|
-
legendToggle: D(() => [Y.value.length > 2 && N.value.style.chart.legend.selectAllToggle.show && !E(
|
|
1817
|
+
legendToggle: D(() => [Y.value.length > 2 && N.value.style.chart.legend.selectAllToggle.show && !E(Mn) ? (x(), f(Oe, {
|
|
1848
1818
|
key: 0,
|
|
1849
1819
|
backgroundColor: N.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1850
1820
|
color: N.value.style.chart.legend.selectAllToggle.color,
|
|
1851
1821
|
fontSize: N.value.style.chart.legend.fontSize,
|
|
1852
1822
|
checked: q.value.length > 0,
|
|
1853
1823
|
isCursorPointer: P.value,
|
|
1854
|
-
onToggle:
|
|
1824
|
+
onToggle: rr
|
|
1855
1825
|
}, null, 8, [
|
|
1856
1826
|
"backgroundColor",
|
|
1857
1827
|
"color",
|
|
@@ -1892,19 +1862,19 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1892
1862
|
backdropFilter: N.value.style.chart.tooltip.backdropFilter,
|
|
1893
1863
|
smoothForce: N.value.style.chart.tooltip.smoothForce,
|
|
1894
1864
|
smoothSnapThreshold: N.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1895
|
-
isA11yMode:
|
|
1896
|
-
a11yPosition:
|
|
1865
|
+
isA11yMode: kn.value === "keyboard",
|
|
1866
|
+
a11yPosition: On.value
|
|
1897
1867
|
}, {
|
|
1898
|
-
"tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...
|
|
1899
|
-
tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...
|
|
1900
|
-
"tooltip-after": D(() => [w(e.$slots, "tooltip-after", y(_({ ...
|
|
1868
|
+
"tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...dr.value })), void 0, !0)]),
|
|
1869
|
+
tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...dr.value })), void 0, !0)]),
|
|
1870
|
+
"tooltip-after": D(() => [w(e.$slots, "tooltip-after", y(_({ ...dr.value })), void 0, !0)]),
|
|
1901
1871
|
default: D(() => [N.value.style.chart.tooltip.showShape ? (x(), m("svg", Qt, [Le(Ce, {
|
|
1902
1872
|
plot: {
|
|
1903
1873
|
x: 10,
|
|
1904
1874
|
y: 10
|
|
1905
1875
|
},
|
|
1906
|
-
shape:
|
|
1907
|
-
color:
|
|
1876
|
+
shape: ur.value.shape,
|
|
1877
|
+
color: ur.value.color,
|
|
1908
1878
|
radius: 8,
|
|
1909
1879
|
stroke: N.value.style.chart.layout.plots.outline ? N.value.style.chart.layout.plots.outlineColor : "none",
|
|
1910
1880
|
"stroke-width": N.value.style.chart.layout.plots.outlineWidth
|
|
@@ -1939,21 +1909,21 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1939
1909
|
"isA11yMode",
|
|
1940
1910
|
"a11yPosition"
|
|
1941
1911
|
]),
|
|
1942
|
-
fn.value && N.value.userOptions.buttons.table ? (x(), f(He(
|
|
1912
|
+
fn.value && N.value.userOptions.buttons.table ? (x(), f(He(Dr.value.component), Re({ key: 8 }, Dr.value.props, {
|
|
1943
1913
|
ref_key: "tableUnit",
|
|
1944
1914
|
ref: Tn,
|
|
1945
|
-
onClose:
|
|
1915
|
+
onClose: Or
|
|
1946
1916
|
}), Fe({
|
|
1947
1917
|
content: D(() => [(x(), f(E(rn), {
|
|
1948
1918
|
key: `table_${Sn.value}`,
|
|
1949
|
-
colNames:
|
|
1950
|
-
head:
|
|
1951
|
-
body:
|
|
1952
|
-
config:
|
|
1953
|
-
title: N.value.table.useDialog ? "" :
|
|
1919
|
+
colNames: nr.value.colNames,
|
|
1920
|
+
head: nr.value.head,
|
|
1921
|
+
body: nr.value.body,
|
|
1922
|
+
config: nr.value.config,
|
|
1923
|
+
title: N.value.table.useDialog ? "" : Dr.value.title,
|
|
1954
1924
|
withCloseButton: !N.value.table.useDialog,
|
|
1955
1925
|
isCursorPointer: P.value,
|
|
1956
|
-
onClose:
|
|
1926
|
+
onClose: Or
|
|
1957
1927
|
}, {
|
|
1958
1928
|
th: D(({ th: e }) => [Ie(T(e), 1)]),
|
|
1959
1929
|
td: D(({ td: e }) => [h("div", { innerHTML: e.name || e }, null, 8, $t)]),
|
|
@@ -1970,24 +1940,24 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1970
1940
|
_: 2
|
|
1971
1941
|
}, [N.value.table.useDialog ? {
|
|
1972
1942
|
name: "title",
|
|
1973
|
-
fn: D(() => [Ie(T(
|
|
1943
|
+
fn: D(() => [Ie(T(Dr.value.title), 1)]),
|
|
1974
1944
|
key: "0"
|
|
1975
1945
|
} : void 0, N.value.table.useDialog ? {
|
|
1976
1946
|
name: "actions",
|
|
1977
1947
|
fn: D(() => [h("button", {
|
|
1978
1948
|
tabindex: "0",
|
|
1979
1949
|
class: "vue-ui-user-options-button",
|
|
1980
|
-
onClick: t[13] ||= (e) =>
|
|
1950
|
+
onClick: t[13] ||= (e) => yr(N.value.userOptions.callbacks.csv),
|
|
1981
1951
|
style: b({ cursor: P.value ? "pointer" : "default" })
|
|
1982
1952
|
}, [Le(E(tn), {
|
|
1983
1953
|
name: "fileCsv",
|
|
1984
|
-
stroke:
|
|
1954
|
+
stroke: Dr.value.props.color
|
|
1985
1955
|
}, null, 8, ["stroke"])], 4)]),
|
|
1986
1956
|
key: "1"
|
|
1987
1957
|
} : void 0]), 1040)) : p("", !0),
|
|
1988
|
-
w(e.$slots, "skeleton", {}, () => [E(
|
|
1958
|
+
w(e.$slots, "skeleton", {}, () => [E(Mn) ? (x(), f(_e, { key: 0 })) : p("", !0)], !0)
|
|
1989
1959
|
], 46, qe));
|
|
1990
1960
|
}
|
|
1991
|
-
}, [["__scopeId", "data-v-
|
|
1961
|
+
}, [["__scopeId", "data-v-19c0755a"]]);
|
|
1992
1962
|
//#endregion
|
|
1993
1963
|
export { Ke as n, en as t };
|