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,36 +1,36 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, Bt as n, D as r, Jt as i, Ot as a, X as o, Y as s, _ as ee, b as te, i as c, jt as ne, pt as re, q as ie, t as ae, tt as oe } from "./lib-
|
|
2
|
+
import { $ as t, Bt as n, D as r, Jt as i, Ot as a, X as o, Y as s, _ as ee, b as te, i as c, jt as ne, pt as re, q as ie, t as ae, tt as oe } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as le } from "./useConfig-
|
|
5
|
-
import { t as ue } from "./usePrinter-
|
|
4
|
+
import { t as le } from "./useConfig-DlNpz6P8.js";
|
|
5
|
+
import { t as ue } from "./usePrinter-DN5bYhTG.js";
|
|
6
6
|
import { n as de, t as fe } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as pe } from "./
|
|
8
|
-
import { t as me } from "./
|
|
9
|
-
import { t as he } from "./
|
|
7
|
+
import { t as pe } from "./useNestedProp-vPNvh7rV.js";
|
|
8
|
+
import { t as me } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as he } from "./useChartExport-DNiwdPmb.js";
|
|
10
10
|
import { t as ge } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
11
|
-
import { t as _e } from "./img-
|
|
12
|
-
import { n as ve } from "./Title-
|
|
11
|
+
import { t as _e } from "./img-Bnokohej.js";
|
|
12
|
+
import { n as ve } from "./Title-BE3qg9xl.js";
|
|
13
13
|
import { t as ye } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { l as be, t as xe } from "./useResponsive-ZtArZtUf.js";
|
|
15
15
|
import { t as l } from "./DefGrad-DVBqDjhO.js";
|
|
16
16
|
import { t as Se } from "./A11yDataTable-DdRsVULz.js";
|
|
17
17
|
import { t as Ce } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
18
|
import { t as we } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
-
import { t as Te } from "./Legend-
|
|
19
|
+
import { t as Te } from "./Legend-CQxUgOd-.js";
|
|
20
20
|
import { t as Ee } from "./usePrefersMotion-BC-CsqR1.js";
|
|
21
21
|
import { t as De } from "./vue_ui_dumbbell-Bfe_jFyi.js";
|
|
22
|
-
import { Fragment as u, Teleport as Oe, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as ke, createTextVNode as Ae, createVNode as g, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as je, nextTick as Me, normalizeClass as Ne, normalizeProps as y, normalizeStyle as
|
|
22
|
+
import { Fragment as u, Teleport as Oe, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as ke, createTextVNode as Ae, createVNode as g, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as je, nextTick as Me, normalizeClass as Ne, normalizeProps as y, normalizeStyle as Pe, onBeforeUnmount as Fe, onMounted as Ie, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Le, shallowRef as Re, toDisplayString as w, toRefs as ze, unref as T, vShow as E, watch as Be, watchEffect as Ve, withCtx as D, withDirectives as O } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-dumbbell.vue
|
|
24
|
-
var
|
|
24
|
+
var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge = ["id"], Ke = { style: { position: "relative" } }, qe = [
|
|
25
25
|
"xmlns",
|
|
26
26
|
"viewBox",
|
|
27
27
|
"aria-describedby"
|
|
28
|
-
],
|
|
28
|
+
], Je = [
|
|
29
29
|
"x",
|
|
30
30
|
"y",
|
|
31
31
|
"width",
|
|
32
32
|
"height"
|
|
33
|
-
],
|
|
33
|
+
], Ye = { key: 1 }, Xe = [
|
|
34
34
|
"x1",
|
|
35
35
|
"x2",
|
|
36
36
|
"y1",
|
|
@@ -38,7 +38,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
38
38
|
"stroke",
|
|
39
39
|
"stroke-width",
|
|
40
40
|
"stroke-dasharray"
|
|
41
|
-
],
|
|
41
|
+
], Ze = { key: 2 }, Qe = [
|
|
42
42
|
"x1",
|
|
43
43
|
"x2",
|
|
44
44
|
"y1",
|
|
@@ -46,7 +46,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
46
46
|
"stroke",
|
|
47
47
|
"stroke-width",
|
|
48
48
|
"stroke-dasharray"
|
|
49
|
-
],
|
|
49
|
+
], $e = [
|
|
50
50
|
"x1",
|
|
51
51
|
"x2",
|
|
52
52
|
"y1",
|
|
@@ -54,11 +54,11 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
54
54
|
"stroke",
|
|
55
55
|
"stroke-width",
|
|
56
56
|
"stroke-dasharray"
|
|
57
|
-
],
|
|
57
|
+
], et = [
|
|
58
58
|
"transform",
|
|
59
59
|
"font-size",
|
|
60
60
|
"fill"
|
|
61
|
-
],
|
|
61
|
+
], tt = [
|
|
62
62
|
"x",
|
|
63
63
|
"y",
|
|
64
64
|
"font-size",
|
|
@@ -67,7 +67,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
67
67
|
"onMouseenter",
|
|
68
68
|
"onMouseleave",
|
|
69
69
|
"onClick"
|
|
70
|
-
],
|
|
70
|
+
], nt = [
|
|
71
71
|
"x",
|
|
72
72
|
"y",
|
|
73
73
|
"font-size",
|
|
@@ -75,68 +75,68 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
75
75
|
"onMouseenter",
|
|
76
76
|
"onMouseleave",
|
|
77
77
|
"onClick"
|
|
78
|
-
],
|
|
78
|
+
], rt = [
|
|
79
79
|
"x",
|
|
80
80
|
"y",
|
|
81
81
|
"font-size",
|
|
82
82
|
"fill"
|
|
83
|
-
],
|
|
83
|
+
], it = [
|
|
84
84
|
"transform",
|
|
85
85
|
"font-size",
|
|
86
86
|
"fill",
|
|
87
87
|
"font-weight",
|
|
88
88
|
"text-anchor"
|
|
89
|
-
],
|
|
89
|
+
], at = [
|
|
90
90
|
"d",
|
|
91
91
|
"stroke",
|
|
92
92
|
"stroke-width",
|
|
93
93
|
"stroke-dasharray"
|
|
94
|
-
],
|
|
94
|
+
], ot = [
|
|
95
95
|
"d",
|
|
96
96
|
"stroke",
|
|
97
97
|
"stroke-width",
|
|
98
98
|
"stroke-dasharray"
|
|
99
|
-
],
|
|
99
|
+
], st = [
|
|
100
100
|
"x",
|
|
101
101
|
"y",
|
|
102
102
|
"height",
|
|
103
103
|
"width",
|
|
104
104
|
"fill"
|
|
105
|
-
],
|
|
105
|
+
], ct = [
|
|
106
106
|
"transform",
|
|
107
107
|
"fill",
|
|
108
108
|
"font-size"
|
|
109
|
-
],
|
|
109
|
+
], lt = { key: 0 }, ut = { key: 0 }, dt = ["d", "fill"], ft = { key: 1 }, pt = [
|
|
110
110
|
"x",
|
|
111
111
|
"y",
|
|
112
112
|
"height",
|
|
113
113
|
"width",
|
|
114
114
|
"fill"
|
|
115
|
-
],
|
|
115
|
+
], mt = [
|
|
116
116
|
"cx",
|
|
117
117
|
"cy",
|
|
118
118
|
"r",
|
|
119
119
|
"fill",
|
|
120
120
|
"stroke",
|
|
121
121
|
"stroke-width"
|
|
122
|
-
],
|
|
122
|
+
], ht = [
|
|
123
123
|
"cx",
|
|
124
124
|
"cy",
|
|
125
125
|
"r",
|
|
126
126
|
"fill",
|
|
127
127
|
"stroke",
|
|
128
128
|
"stroke-width"
|
|
129
|
-
],
|
|
129
|
+
], gt = { key: 7 }, _t = [
|
|
130
130
|
"x",
|
|
131
131
|
"y",
|
|
132
132
|
"fill",
|
|
133
133
|
"font-size"
|
|
134
|
-
],
|
|
134
|
+
], vt = { key: 8 }, yt = [
|
|
135
135
|
"x",
|
|
136
136
|
"y",
|
|
137
137
|
"fill",
|
|
138
138
|
"font-size"
|
|
139
|
-
],
|
|
139
|
+
], bt = [
|
|
140
140
|
"x",
|
|
141
141
|
"y",
|
|
142
142
|
"width",
|
|
@@ -145,7 +145,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
145
145
|
"onMouseenter",
|
|
146
146
|
"onMouseleave",
|
|
147
147
|
"onClick"
|
|
148
|
-
],
|
|
148
|
+
], xt = {
|
|
149
149
|
key: 0,
|
|
150
150
|
style: {
|
|
151
151
|
position: "absolute",
|
|
@@ -155,14 +155,14 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
155
155
|
},
|
|
156
156
|
"data-dom-to-png-ignore": "",
|
|
157
157
|
"aria-hidden": "true"
|
|
158
|
-
},
|
|
158
|
+
}, St = {
|
|
159
159
|
key: 5,
|
|
160
160
|
class: "vue-data-ui-watermark"
|
|
161
|
-
},
|
|
161
|
+
}, Ct = ["id"], wt = [
|
|
162
162
|
"xmlns",
|
|
163
163
|
"height",
|
|
164
164
|
"width"
|
|
165
|
-
],
|
|
165
|
+
], Tt = ["fill"], Et = ["innerHTML"], Dt = /*#__PURE__*/ ye({
|
|
166
166
|
__name: "vue-ui-dumbbell",
|
|
167
167
|
props: {
|
|
168
168
|
config: {
|
|
@@ -179,18 +179,18 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
179
179
|
}
|
|
180
180
|
},
|
|
181
181
|
emits: ["selectDatapoint", "copyAlt"],
|
|
182
|
-
setup(e, { expose: ye, emit:
|
|
183
|
-
let
|
|
182
|
+
setup(e, { expose: ye, emit: He }) {
|
|
183
|
+
let Dt = _(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), Ot = _(() => import("./vue-ui-accordion-DegI2lzR.js").then((e) => e.n)), kt = _(() => import("./DataTable-BbKgJ5UI.js")), At = _(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), jt = _(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Mt = _(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), Nt = _(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_dumbbell: Pt } = le(), { isThemeValid: Ft, warnInvalidTheme: It } = me(), Lt = Ee(), k = e, Rt = He, zt = d({
|
|
184
184
|
get() {
|
|
185
|
-
return !!
|
|
185
|
+
return !!k.dataset && k.dataset.length;
|
|
186
186
|
},
|
|
187
187
|
set(e) {
|
|
188
188
|
return e;
|
|
189
189
|
}
|
|
190
|
-
}),
|
|
190
|
+
}), A = x(ie()), Bt = x(0), j = x(null), Vt = x(null), Ht = x(null), Ut = x(null), Wt = x(null), Gt = x(0), Kt = x(0), qt = x(0), Jt = x(!1), M = x(null), Yt = x(null), Xt = x(null), Zt = x(null), Qt = x(null), $t = x(null), N = x(null), P = x(null), F = x(null), en = x(!1), I = x(!1), L = x(ln());
|
|
191
191
|
se({
|
|
192
192
|
config: () => L.value,
|
|
193
|
-
dataset: () =>
|
|
193
|
+
dataset: () => k.dataset,
|
|
194
194
|
component: "VueUiDumbbell",
|
|
195
195
|
rules: [ce.emptyArray, {
|
|
196
196
|
test: (e) => e.length > 31,
|
|
@@ -203,7 +203,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
203
203
|
]
|
|
204
204
|
}]
|
|
205
205
|
});
|
|
206
|
-
let R = d(() => L.value.userOptions.useCursorPointer),
|
|
206
|
+
let R = d(() => L.value.userOptions.useCursorPointer), tn = d(() => i({
|
|
207
207
|
defaultConfig: {
|
|
208
208
|
userOptions: { show: !1 },
|
|
209
209
|
table: { show: !1 },
|
|
@@ -240,11 +240,11 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
240
240
|
} }
|
|
241
241
|
},
|
|
242
242
|
userConfig: L.value.skeletonConfig ?? {}
|
|
243
|
-
})), { loading:
|
|
244
|
-
...
|
|
243
|
+
})), { loading: nn, FINAL_DATASET: rn, manualLoading: an } = de({
|
|
244
|
+
...ze(k),
|
|
245
245
|
FINAL_CONFIG: L,
|
|
246
|
-
prepareConfig:
|
|
247
|
-
skeletonDataset:
|
|
246
|
+
prepareConfig: ln,
|
|
247
|
+
skeletonDataset: k.config?.skeletonDataset ?? [
|
|
248
248
|
{
|
|
249
249
|
name: "_",
|
|
250
250
|
start: 21,
|
|
@@ -273,41 +273,41 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
273
273
|
],
|
|
274
274
|
skeletonConfig: i({
|
|
275
275
|
defaultConfig: L.value,
|
|
276
|
-
userConfig:
|
|
276
|
+
userConfig: tn.value
|
|
277
277
|
})
|
|
278
|
-
}), { userOptionsVisible:
|
|
279
|
-
function
|
|
280
|
-
let e =
|
|
281
|
-
userConfig:
|
|
282
|
-
defaultConfig:
|
|
278
|
+
}), { userOptionsVisible: on, setUserOptionsVisibility: sn, keepUserOptionState: cn } = Ce({ config: L.value }), { svgRef: z } = we({ config: L.value.style.chart.title });
|
|
279
|
+
function ln() {
|
|
280
|
+
let e = pe({
|
|
281
|
+
userConfig: k.config,
|
|
282
|
+
defaultConfig: Pt
|
|
283
283
|
}), t = e.theme;
|
|
284
284
|
if (!t) return e;
|
|
285
|
-
if (!
|
|
286
|
-
let n =
|
|
287
|
-
userConfig: De[t] ||
|
|
285
|
+
if (!Ft.value(e)) return It(e), e;
|
|
286
|
+
let n = pe({
|
|
287
|
+
userConfig: De[t] || k.config,
|
|
288
288
|
defaultConfig: e
|
|
289
289
|
});
|
|
290
|
-
return
|
|
291
|
-
userConfig:
|
|
290
|
+
return pe({
|
|
291
|
+
userConfig: k.config,
|
|
292
292
|
defaultConfig: n
|
|
293
293
|
});
|
|
294
294
|
}
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
}, { deep: !0 }),
|
|
298
|
-
Array.isArray(e) && e.length > 0 && (
|
|
295
|
+
Be(() => k.config, (e) => {
|
|
296
|
+
nn.value || (L.value = ln()), on.value = !L.value.userOptions.showOnChartHover, dn(), Gt.value += 1, Kt.value += 1, qt.value += 1, G.value = L.value.style.chart.rowHeight, K.value = L.value.style.chart.width, H.value.showTable = L.value.table.show;
|
|
297
|
+
}, { deep: !0 }), Be(() => rn.value, (e) => {
|
|
298
|
+
Array.isArray(e) && e.length > 0 && (an.value = !1), Tn(), En();
|
|
299
299
|
}, { deep: !0 });
|
|
300
|
-
let B =
|
|
301
|
-
|
|
302
|
-
|
|
300
|
+
let B = Re(null), V = Re(null);
|
|
301
|
+
Ie(() => {
|
|
302
|
+
Jt.value = !0, dn();
|
|
303
303
|
});
|
|
304
|
-
let
|
|
305
|
-
function
|
|
306
|
-
if (ne(
|
|
304
|
+
let un = d(() => L.value.debug);
|
|
305
|
+
function dn() {
|
|
306
|
+
if (ne(k.dataset) ? oe({
|
|
307
307
|
componentName: "VueUiDumbbell",
|
|
308
308
|
type: "dataset",
|
|
309
|
-
debug:
|
|
310
|
-
}) :
|
|
309
|
+
debug: un.value
|
|
310
|
+
}) : k.dataset.forEach((e, t) => {
|
|
311
311
|
re({
|
|
312
312
|
datasetObject: e,
|
|
313
313
|
requiredAttributes: [
|
|
@@ -316,84 +316,84 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
316
316
|
"end"
|
|
317
317
|
]
|
|
318
318
|
}).forEach((e) => {
|
|
319
|
-
|
|
319
|
+
zt.value = !1, oe({
|
|
320
320
|
componentName: "VueUiDumbbell",
|
|
321
321
|
type: "datasetSerieAttribute",
|
|
322
322
|
property: e,
|
|
323
323
|
index: t,
|
|
324
|
-
debug:
|
|
324
|
+
debug: un.value
|
|
325
325
|
});
|
|
326
326
|
});
|
|
327
327
|
}), L.value.responsive) {
|
|
328
328
|
let e = be(() => {
|
|
329
329
|
let { width: e, height: t } = xe({
|
|
330
|
-
chart:
|
|
331
|
-
title: L.value.style.chart.title.text ?
|
|
332
|
-
legend: L.value.style.chart.legend.show ?
|
|
333
|
-
source:
|
|
334
|
-
noTitle:
|
|
330
|
+
chart: j.value,
|
|
331
|
+
title: L.value.style.chart.title.text ? Vt.value : null,
|
|
332
|
+
legend: L.value.style.chart.legend.show ? Ht.value : null,
|
|
333
|
+
source: Ut.value,
|
|
334
|
+
noTitle: Wt.value
|
|
335
335
|
}), n = L.value.style.chart.title.text ? 24 : 0, r = L.value.style.chart.legend.show ? 24 : 0;
|
|
336
336
|
requestAnimationFrame(async () => {
|
|
337
|
-
K.value = Math.max(.1, e), G.value = Math.max(.1, (Math.max(.1, t) - (n + r)) /
|
|
337
|
+
K.value = Math.max(.1, e), G.value = Math.max(.1, (Math.max(.1, t) - (n + r)) / rn.value.length), Bn();
|
|
338
338
|
});
|
|
339
339
|
});
|
|
340
|
-
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value =
|
|
340
|
+
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value = j.value.parentNode, B.value.observe(V.value);
|
|
341
341
|
}
|
|
342
|
-
|
|
342
|
+
Bn();
|
|
343
343
|
}
|
|
344
|
-
|
|
344
|
+
Fe(() => {
|
|
345
345
|
X.value != null && (cancelAnimationFrame(X.value), X.value = null), B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
|
|
346
346
|
});
|
|
347
|
-
let { isPrinting:
|
|
348
|
-
elementId: `dumbbell_${
|
|
347
|
+
let { isPrinting: fn, isImaging: pn, generatePdf: mn, generateImage: hn } = ue({
|
|
348
|
+
elementId: `dumbbell_${A.value}`,
|
|
349
349
|
fileName: L.value.style.chart.title.text || "vue-ui-dumbbell",
|
|
350
350
|
options: L.value.userOptions.print
|
|
351
|
-
}),
|
|
352
|
-
|
|
351
|
+
}), gn = d(() => L.value.userOptions.show && !L.value.style.chart.title.text), H = x({ showTable: L.value.table.show });
|
|
352
|
+
Be(L, () => {
|
|
353
353
|
H.value = { showTable: L.value.table.show };
|
|
354
354
|
}, { immediate: !0 });
|
|
355
|
-
let U = d(() =>
|
|
355
|
+
let U = d(() => rn.value.map((e, t) => ({
|
|
356
356
|
...e,
|
|
357
357
|
start: te(e.start),
|
|
358
358
|
end: te(e.end),
|
|
359
359
|
id: e.id ?? `${String(e.name)}__${String(e.start)}__${String(e.end)}__${ie()}`
|
|
360
|
-
}))),
|
|
360
|
+
}))), _n = d(() => {
|
|
361
361
|
let e = L.value.style.chart.grid, t = U.value.flatMap((e) => [e.start, e.end]).map((e) => Number(e)).filter((e) => Number.isFinite(e)), n = t.length ? Math.min(...t) : 0, r = t.length ? Math.max(...t) : 0;
|
|
362
362
|
return {
|
|
363
363
|
min: e.scaleMin ?? Math.min(n, 0),
|
|
364
364
|
max: e.scaleMax ?? r
|
|
365
365
|
};
|
|
366
|
-
}), W = d(() => ee(
|
|
367
|
-
function
|
|
366
|
+
}), W = d(() => ee(_n.value.min, _n.value.max, L.value.style.chart.grid.scaleSteps)), G = x(L.value.style.chart.rowHeight), K = x(L.value.style.chart.width);
|
|
367
|
+
function vn() {
|
|
368
368
|
let e = 0;
|
|
369
|
-
|
|
369
|
+
Zt.value && (e = Array.from(Zt.value.querySelectorAll("text")).reduce((e, t) => {
|
|
370
370
|
let n = t.getComputedTextLength();
|
|
371
371
|
return n > e ? n : e;
|
|
372
372
|
}, 0));
|
|
373
|
-
let t =
|
|
373
|
+
let t = Xt.value ? Xt.value.getBoundingClientRect().width : 0;
|
|
374
374
|
return e + t + (t ? 24 + L.value.style.chart.labels.axis.yLabelOffsetX : 0);
|
|
375
375
|
}
|
|
376
|
-
let
|
|
377
|
-
|
|
376
|
+
let yn = x(0), bn = be((e) => {
|
|
377
|
+
yn.value = e;
|
|
378
378
|
}, 100);
|
|
379
|
-
|
|
380
|
-
let t =
|
|
379
|
+
Ve((e) => {
|
|
380
|
+
let t = Qt.value;
|
|
381
381
|
if (!t) return;
|
|
382
382
|
let n = new ResizeObserver((e) => {
|
|
383
|
-
|
|
383
|
+
bn(e[0].contentRect.height);
|
|
384
384
|
});
|
|
385
385
|
n.observe(t), e(() => n.disconnect());
|
|
386
|
-
}),
|
|
387
|
-
|
|
386
|
+
}), Fe(() => {
|
|
387
|
+
yn.value = 0;
|
|
388
388
|
});
|
|
389
|
-
let
|
|
389
|
+
let xn = d(() => {
|
|
390
390
|
I.value;
|
|
391
391
|
let e = 0;
|
|
392
|
-
|
|
392
|
+
$t.value && (e = $t.value.getBBox().height);
|
|
393
393
|
let t = 0;
|
|
394
|
-
return
|
|
395
|
-
}),
|
|
396
|
-
function
|
|
394
|
+
return Qt.value && (t = yn.value), e + t;
|
|
395
|
+
}), Sn = d(() => U.value.length);
|
|
396
|
+
function Cn(e, t, n) {
|
|
397
397
|
let r = Number(e), i = Number(t.min), a = Number(t.max), o = Number(n.width);
|
|
398
398
|
if (!Number.isFinite(r) || !Number.isFinite(i) || !Number.isFinite(a) || !Number.isFinite(o)) return n.left;
|
|
399
399
|
let s = a - i;
|
|
@@ -401,30 +401,30 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
401
401
|
}
|
|
402
402
|
let q = d(() => {
|
|
403
403
|
I.value;
|
|
404
|
-
let e =
|
|
404
|
+
let e = vn(), t = L.value.style.chart.padding, n = L.value.style.chart.labels.axis.xLabel ? L.value.style.chart.labels.axis.xLabelOffsetY : 0, r = G.value * Sn.value - xn.value - t.top - t.bottom - n, i = r / Sn.value, a = G.value * Sn.value, o = K.value - e - t.left - t.right, s = W.value.ticks.length * (o / W.value.ticks.length);
|
|
405
405
|
return {
|
|
406
406
|
left: L.value.style.chart.padding.left + e,
|
|
407
407
|
right: K.value - L.value.style.chart.padding.right,
|
|
408
408
|
top: L.value.style.chart.padding.top,
|
|
409
|
-
bottom: a - L.value.style.chart.padding.bottom -
|
|
409
|
+
bottom: a - L.value.style.chart.padding.bottom - xn.value - n,
|
|
410
410
|
width: o,
|
|
411
411
|
height: r,
|
|
412
412
|
rowHeight: i,
|
|
413
413
|
absoluteHeight: a,
|
|
414
414
|
widthPlotReference: s
|
|
415
415
|
};
|
|
416
|
-
}), J = d(() => Math.min(G.value / 2 * .7, L.value.style.chart.plots.radius)),
|
|
416
|
+
}), J = d(() => Math.min(G.value / 2 * .7, L.value.style.chart.plots.radius)), wn = x([]), Y = d({
|
|
417
417
|
get() {
|
|
418
418
|
let e = q.value, t = W.value;
|
|
419
|
-
return
|
|
420
|
-
let i =
|
|
419
|
+
return wn.value.map((n, r) => {
|
|
420
|
+
let i = Cn(n.start, t, e), a = Cn(n.endVal, t, e), o = i + (a - i) / 2, s = ![null, void 0].includes(n.start) && ![null, void 0].includes(n.end) && n.end > n.start, ee = ![null, void 0].includes(n.start) && ![null, void 0].includes(n.end) && n.end < n.start, te = ![null, void 0].includes(n.start) && ![null, void 0].includes(n.end) && n.end === n.start || [null, void 0].includes(n.start) || [null, void 0].includes(n.end), c = s ? L.value.style.chart.plots.evaluationColors.positive : ee ? L.value.style.chart.plots.evaluationColors.negative : L.value.style.chart.plots.evaluationColors.neutral;
|
|
421
421
|
return {
|
|
422
422
|
...n,
|
|
423
423
|
isPositive: s,
|
|
424
424
|
isNegative: ee,
|
|
425
425
|
isNeutral: te,
|
|
426
426
|
evaluationColor: c,
|
|
427
|
-
evaluationGrad: `url(#${s ? "positive" : ee ? "negative" : "neutral"}_grad_${
|
|
427
|
+
evaluationGrad: `url(#${s ? "positive" : ee ? "negative" : "neutral"}_grad_${A.value})`,
|
|
428
428
|
startX: i,
|
|
429
429
|
endX: a,
|
|
430
430
|
centerX: o,
|
|
@@ -433,11 +433,11 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
433
433
|
});
|
|
434
434
|
},
|
|
435
435
|
set(e) {
|
|
436
|
-
|
|
436
|
+
wn.value = e;
|
|
437
437
|
}
|
|
438
438
|
});
|
|
439
|
-
function
|
|
440
|
-
|
|
439
|
+
function Tn() {
|
|
440
|
+
wn.value = U.value.map((e) => {
|
|
441
441
|
let t = Number(e.start);
|
|
442
442
|
return {
|
|
443
443
|
...e,
|
|
@@ -445,13 +445,13 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
445
445
|
};
|
|
446
446
|
});
|
|
447
447
|
}
|
|
448
|
-
let X =
|
|
449
|
-
|
|
450
|
-
|
|
448
|
+
let X = x(null);
|
|
449
|
+
Ie(() => {
|
|
450
|
+
En();
|
|
451
451
|
});
|
|
452
|
-
function
|
|
453
|
-
if (X.value != null && (cancelAnimationFrame(X.value), X.value = null),
|
|
454
|
-
Y.value =
|
|
452
|
+
function En() {
|
|
453
|
+
if (X.value != null && (cancelAnimationFrame(X.value), X.value = null), Tn(), !L.value.useAnimation || Lt.value) {
|
|
454
|
+
Y.value = wn.value.map((e) => {
|
|
455
455
|
let t = Number(e.end);
|
|
456
456
|
return {
|
|
457
457
|
...e,
|
|
@@ -465,7 +465,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
465
465
|
return (Number.isFinite(n) ? n : r) - r;
|
|
466
466
|
}), n = () => {
|
|
467
467
|
let r = !0;
|
|
468
|
-
Y.value =
|
|
468
|
+
Y.value = wn.value.map((n, i) => {
|
|
469
469
|
let a = Number.isFinite(Number(n.end)) ? Number(n.end) : n.endVal, o = n.endVal + t[i] * e, s = t[i] >= 0 ? Math.min(o, a) : Math.max(o, a);
|
|
470
470
|
return s !== a && (r = !1), {
|
|
471
471
|
...n,
|
|
@@ -475,26 +475,26 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
475
475
|
};
|
|
476
476
|
X.value = requestAnimationFrame(n);
|
|
477
477
|
}
|
|
478
|
-
let
|
|
478
|
+
let Dn = d(() => L.value.style.chart.plots.evaluationColors.enable ? [
|
|
479
479
|
{
|
|
480
480
|
name: L.value.style.chart.legend.labelNegative,
|
|
481
|
-
color: L.value.style.chart.plots.gradient.show ? `url(#negative_grad_${
|
|
481
|
+
color: L.value.style.chart.plots.gradient.show ? `url(#negative_grad_${A.value})` : L.value.style.chart.plots.evaluationColors.negative
|
|
482
482
|
},
|
|
483
483
|
{
|
|
484
484
|
name: L.value.style.chart.legend.labelNeutral,
|
|
485
|
-
color: L.value.style.chart.plots.gradient.show ? `url(#neutral_grad_${
|
|
485
|
+
color: L.value.style.chart.plots.gradient.show ? `url(#neutral_grad_${A.value})` : L.value.style.chart.plots.evaluationColors.neutral
|
|
486
486
|
},
|
|
487
487
|
{
|
|
488
488
|
name: L.value.style.chart.legend.labelPositive,
|
|
489
|
-
color: L.value.style.chart.plots.gradient.show ? `url(#positive_grad_${
|
|
489
|
+
color: L.value.style.chart.plots.gradient.show ? `url(#positive_grad_${A.value})` : L.value.style.chart.plots.evaluationColors.positive
|
|
490
490
|
}
|
|
491
491
|
] : [{
|
|
492
492
|
name: L.value.style.chart.legend.labelStart,
|
|
493
|
-
color: L.value.style.chart.plots.gradient.show ? `url(#start_grad_${
|
|
493
|
+
color: L.value.style.chart.plots.gradient.show ? `url(#start_grad_${A.value})` : L.value.style.chart.plots.startColor
|
|
494
494
|
}, {
|
|
495
495
|
name: L.value.style.chart.legend.labelEnd,
|
|
496
|
-
color: L.value.style.chart.plots.gradient.show ? `url(#end_grad_${
|
|
497
|
-
}]),
|
|
496
|
+
color: L.value.style.chart.plots.gradient.show ? `url(#end_grad_${A.value})` : L.value.style.chart.plots.endColor
|
|
497
|
+
}]), On = d(() => ({
|
|
498
498
|
cy: "donut-div-legend",
|
|
499
499
|
backgroundColor: L.value.style.chart.legend.backgroundColor,
|
|
500
500
|
color: L.value.style.chart.legend.color,
|
|
@@ -561,13 +561,13 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
561
561
|
config: n
|
|
562
562
|
};
|
|
563
563
|
});
|
|
564
|
-
function
|
|
564
|
+
function kn(e = null) {
|
|
565
565
|
Me(() => {
|
|
566
566
|
let n = Z.value.head.map((e, t) => [
|
|
567
567
|
[e.name],
|
|
568
568
|
[Z.value.body[t].start],
|
|
569
569
|
[Z.value.body[t].end]
|
|
570
|
-
]), i =
|
|
570
|
+
]), i = [
|
|
571
571
|
[L.value.style.chart.title.text],
|
|
572
572
|
[L.value.style.chart.title.subtitle.text],
|
|
573
573
|
[
|
|
@@ -575,31 +575,31 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
575
575
|
[L.value.table.columnNames.start],
|
|
576
576
|
[L.value.table.columnNames.end]
|
|
577
577
|
]
|
|
578
|
-
].concat(n));
|
|
579
|
-
e ? e(
|
|
580
|
-
csvContent:
|
|
578
|
+
].concat(n), a = r(i);
|
|
579
|
+
e ? e(a) : t({
|
|
580
|
+
csvContent: a,
|
|
581
581
|
title: L.value.style.chart.title.text || "vue-ui-dumbbell"
|
|
582
582
|
});
|
|
583
583
|
});
|
|
584
584
|
}
|
|
585
|
-
let $ =
|
|
586
|
-
function
|
|
587
|
-
$.value = e,
|
|
585
|
+
let $ = x(!1);
|
|
586
|
+
function An(e) {
|
|
587
|
+
$.value = e, Bt.value += 1;
|
|
588
588
|
}
|
|
589
|
-
function
|
|
589
|
+
function jn() {
|
|
590
590
|
return U.value;
|
|
591
591
|
}
|
|
592
|
-
function
|
|
592
|
+
function Mn() {
|
|
593
593
|
H.value.showTable = !H.value.showTable;
|
|
594
594
|
}
|
|
595
|
-
let
|
|
596
|
-
function
|
|
597
|
-
|
|
595
|
+
let Nn = x(!1);
|
|
596
|
+
function Pn() {
|
|
597
|
+
Nn.value = !Nn.value;
|
|
598
598
|
}
|
|
599
|
-
async function
|
|
600
|
-
if (!
|
|
601
|
-
let { width: t, height: n } =
|
|
602
|
-
domElement:
|
|
599
|
+
async function Fn({ scale: e = 2 } = {}) {
|
|
600
|
+
if (!j.value) return;
|
|
601
|
+
let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await _e({
|
|
602
|
+
domElement: j.value,
|
|
603
603
|
base64: !0,
|
|
604
604
|
img: !0,
|
|
605
605
|
scale: e
|
|
@@ -613,14 +613,14 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
613
613
|
aspectRatio: r
|
|
614
614
|
};
|
|
615
615
|
}
|
|
616
|
-
let
|
|
616
|
+
let In = d(() => W.value.ticks), Ln = d(() => ({
|
|
617
|
+
start: 0,
|
|
618
|
+
end: In.value.length
|
|
619
|
+
}));
|
|
617
620
|
ge({
|
|
618
|
-
timeLabelsEls:
|
|
619
|
-
timeLabels:
|
|
620
|
-
slicer:
|
|
621
|
-
start: 0,
|
|
622
|
-
end: Rn.value.length
|
|
623
|
-
})),
|
|
621
|
+
timeLabelsEls: Qt,
|
|
622
|
+
timeLabels: In,
|
|
623
|
+
slicer: Ln,
|
|
624
624
|
configRef: L,
|
|
625
625
|
rotationPath: [
|
|
626
626
|
"style",
|
|
@@ -643,12 +643,12 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
643
643
|
targetClass: ".vue-ui-dumbbell-scale-label",
|
|
644
644
|
rotation: L.value.style.chart.labels.xAxisLabels.autoRotate.angle
|
|
645
645
|
});
|
|
646
|
-
function
|
|
646
|
+
function Rn({ rowHeight: e, fontSize: t, showProgression: n }) {
|
|
647
647
|
if (!n) return !1;
|
|
648
648
|
let r = e / 3, i = e / 1.3;
|
|
649
649
|
return Math.abs(i - r) < t * 1.2;
|
|
650
650
|
}
|
|
651
|
-
let
|
|
651
|
+
let zn = (() => {
|
|
652
652
|
let e = null, t = 0;
|
|
653
653
|
return (n) => {
|
|
654
654
|
if (n === I.value) {
|
|
@@ -657,44 +657,44 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
657
657
|
}
|
|
658
658
|
e === null || e !== n ? (e = n, t = 1) : (t += 1, t >= 1 && (I.value = n, e = null, t = 0));
|
|
659
659
|
};
|
|
660
|
-
})(),
|
|
660
|
+
})(), Bn = be(() => {
|
|
661
661
|
requestAnimationFrame(() => {
|
|
662
662
|
requestAnimationFrame(() => {
|
|
663
|
-
let e =
|
|
663
|
+
let e = Rn({
|
|
664
664
|
rowHeight: q.value.rowHeight,
|
|
665
665
|
fontSize: L.value.style.chart.labels.yAxisLabels.fontSize,
|
|
666
666
|
showProgression: L.value.style.chart.labels.yAxisLabels.showProgression
|
|
667
667
|
});
|
|
668
|
-
|
|
668
|
+
zn(e);
|
|
669
669
|
});
|
|
670
670
|
});
|
|
671
671
|
}, 100);
|
|
672
|
-
function
|
|
672
|
+
function Vn({ datapoint: e, seriesIndex: t }) {
|
|
673
673
|
N.value = t, P.value = e, L.value.events.datapointEnter && L.value.events.datapointEnter({
|
|
674
674
|
datapoint: e,
|
|
675
675
|
seriesIndex: t
|
|
676
676
|
});
|
|
677
677
|
}
|
|
678
|
-
function
|
|
678
|
+
function Hn({ datapoint: e, seriesIndex: t }) {
|
|
679
679
|
N.value = null, P.value = null, L.value.events.datapointLeave && L.value.events.datapointLeave({
|
|
680
680
|
datapoint: e,
|
|
681
681
|
seriesIndex: t
|
|
682
682
|
});
|
|
683
683
|
}
|
|
684
|
-
function
|
|
684
|
+
function Un({ datapoint: e, seriesIndex: t }) {
|
|
685
685
|
L.value.events.datapointClick && L.value.events.datapointClick({
|
|
686
686
|
datapoint: e,
|
|
687
687
|
seriesIndex: t
|
|
688
|
-
}),
|
|
688
|
+
}), Rt("selectDatapoint", {
|
|
689
689
|
...e,
|
|
690
690
|
seriesIndex: t
|
|
691
691
|
});
|
|
692
692
|
}
|
|
693
|
-
let
|
|
693
|
+
let Wn = d(() => {
|
|
694
694
|
if (P.value === null) return 0;
|
|
695
695
|
let e = ![null, void 0].includes(P.value.start), t = ![null, void 0].includes(P.value.end);
|
|
696
696
|
return e && t ? Math.min(P.value.startX, P.value.endX) + Math.abs(P.value.startX - P.value.endX) / 2 : e && !t ? P.value.startX : t && !e ? P.value.endX : null;
|
|
697
|
-
}),
|
|
697
|
+
}), Gn = d(() => {
|
|
698
698
|
if (P.value === null) return "";
|
|
699
699
|
let e = ![null, void 0].includes(P.value.start), t = ![null, void 0].includes(P.value.end), n = "", r = "";
|
|
700
700
|
return e && (n = c(L.value.style.chart.labels.formatter, P.value.start, o({
|
|
@@ -714,10 +714,10 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
714
714
|
datapoint: P.value,
|
|
715
715
|
seriesIndex: N.value
|
|
716
716
|
})), e && t ? `${n} → ${r}` : e && !t ? n : t && !e ? r : "";
|
|
717
|
-
}),
|
|
717
|
+
}), Kn = d(() => {
|
|
718
718
|
let e = L.value.table.useDialog && !L.value.table.show, t = H.value.showTable;
|
|
719
719
|
return {
|
|
720
|
-
component: e ?
|
|
720
|
+
component: e ? Nt : Ot,
|
|
721
721
|
title: `${L.value.style.chart.title.text}${L.value.style.chart.title.subtitle.text ? `: ${L.value.style.chart.title.subtitle.text}` : ""}`,
|
|
722
722
|
props: e ? {
|
|
723
723
|
backgroundColor: L.value.table.th.backgroundColor,
|
|
@@ -725,7 +725,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
725
725
|
headerColor: L.value.table.th.color,
|
|
726
726
|
headerBg: L.value.table.th.backgroundColor,
|
|
727
727
|
isFullscreen: $.value,
|
|
728
|
-
fullscreenParent:
|
|
728
|
+
fullscreenParent: j.value,
|
|
729
729
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
730
730
|
isCursorPointer: R.value
|
|
731
731
|
} : {
|
|
@@ -745,51 +745,26 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
745
745
|
}
|
|
746
746
|
};
|
|
747
747
|
});
|
|
748
|
-
|
|
749
|
-
L.value.table.show || (e && L.value.table.useDialog &&
|
|
748
|
+
Be(() => H.value.showTable, (e) => {
|
|
749
|
+
L.value.table.show || (e && L.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
|
|
750
750
|
});
|
|
751
|
-
function
|
|
751
|
+
function qn() {
|
|
752
752
|
H.value.showTable = !1, Yt.value && Yt.value.setTableIconState(!1);
|
|
753
753
|
}
|
|
754
|
-
let
|
|
754
|
+
let Jn = d(() => Dn.value.map((e) => ({
|
|
755
755
|
...e,
|
|
756
756
|
shape: "circle"
|
|
757
|
-
}))),
|
|
757
|
+
}))), Yn = d(() => L.value.style.chart.backgroundColor), Xn = d(() => L.value.style.chart.legend), Zn = d(() => L.value.style.chart.title), { isCallbackImaging: Qn, isCallbackSvg: $n, generateSvg: er, onGenerateImage: tr } = he({
|
|
758
758
|
svg: z,
|
|
759
|
-
title:
|
|
760
|
-
legend:
|
|
761
|
-
legendItems:
|
|
762
|
-
backgroundColor:
|
|
759
|
+
title: Zn,
|
|
760
|
+
legend: Xn,
|
|
761
|
+
legendItems: Jn,
|
|
762
|
+
backgroundColor: Yn,
|
|
763
|
+
getSvgCallback: () => L.value.userOptions.callbacks.svg,
|
|
764
|
+
generateImage: hn
|
|
763
765
|
});
|
|
764
|
-
async function er({ isCb: e }) {
|
|
765
|
-
Zt.value = !0, await Me();
|
|
766
|
-
try {
|
|
767
|
-
if (e) {
|
|
768
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await $n();
|
|
769
|
-
await Promise.resolve(L.value.userOptions.callbacks.svg({
|
|
770
|
-
blob: e,
|
|
771
|
-
url: t,
|
|
772
|
-
text: n,
|
|
773
|
-
dataUrl: r
|
|
774
|
-
}));
|
|
775
|
-
} else await Promise.resolve(Qn());
|
|
776
|
-
} finally {
|
|
777
|
-
Zt.value = !1;
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
|
-
function tr(e) {
|
|
781
|
-
if (e?.stage === "start") {
|
|
782
|
-
Xt.value = !0;
|
|
783
|
-
return;
|
|
784
|
-
}
|
|
785
|
-
if (e?.stage === "end") {
|
|
786
|
-
Xt.value = !1;
|
|
787
|
-
return;
|
|
788
|
-
}
|
|
789
|
-
_n();
|
|
790
|
-
}
|
|
791
766
|
async function nr() {
|
|
792
|
-
if (
|
|
767
|
+
if (Rt("copyAlt", {
|
|
793
768
|
config: L.value,
|
|
794
769
|
dataset: Y.value
|
|
795
770
|
}), !L.value.userOptions.callbacks.altCopy) {
|
|
@@ -808,7 +783,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
808
783
|
function ir() {
|
|
809
784
|
if (F.value !== null) {
|
|
810
785
|
let e = Y.value[F.value];
|
|
811
|
-
e &&
|
|
786
|
+
e && Hn({
|
|
812
787
|
datapoint: e,
|
|
813
788
|
seriesIndex: F.value
|
|
814
789
|
});
|
|
@@ -816,13 +791,13 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
816
791
|
F.value = null, N.value = null, P.value = null;
|
|
817
792
|
}
|
|
818
793
|
function ar() {
|
|
819
|
-
F.value = null,
|
|
794
|
+
F.value = null, en.value = !0;
|
|
820
795
|
}
|
|
821
796
|
function or() {
|
|
822
|
-
ir(),
|
|
797
|
+
ir(), en.value = !1;
|
|
823
798
|
}
|
|
824
799
|
function sr(e) {
|
|
825
|
-
if (!z.value ||
|
|
800
|
+
if (!z.value || Nn.value || document.activeElement !== z.value || !Y.value.length) return;
|
|
826
801
|
let t = ["ArrowUp", "ArrowLeft"].includes(e.key), n = ["ArrowDown", "ArrowRight"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
827
802
|
if (!t && !n && !r && !i) return;
|
|
828
803
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
@@ -833,7 +808,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
833
808
|
if (F.value === null) return;
|
|
834
809
|
let e = Y.value[F.value];
|
|
835
810
|
if (!e) return;
|
|
836
|
-
|
|
811
|
+
Un({
|
|
837
812
|
datapoint: e,
|
|
838
813
|
seriesIndex: F.value
|
|
839
814
|
});
|
|
@@ -842,7 +817,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
842
817
|
let a = F.value;
|
|
843
818
|
a = a === null ? n ? 0 : Y.value.length - 1 : rr(a + (n ? 1 : -1));
|
|
844
819
|
let o = Y.value[a];
|
|
845
|
-
o && (F.value = a,
|
|
820
|
+
o && (F.value = a, Vn({
|
|
846
821
|
datapoint: o,
|
|
847
822
|
seriesIndex: a
|
|
848
823
|
}));
|
|
@@ -859,32 +834,32 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
859
834
|
notice: L.value.a11y.translations.tableAvailable
|
|
860
835
|
}));
|
|
861
836
|
return ye({
|
|
862
|
-
getData:
|
|
863
|
-
getImage:
|
|
864
|
-
generatePdf:
|
|
865
|
-
generateCsv:
|
|
866
|
-
generateImage:
|
|
837
|
+
getData: jn,
|
|
838
|
+
getImage: Fn,
|
|
839
|
+
generatePdf: mn,
|
|
840
|
+
generateCsv: kn,
|
|
841
|
+
generateImage: hn,
|
|
867
842
|
generateSvg: er,
|
|
868
|
-
toggleTable:
|
|
869
|
-
toggleAnnotator:
|
|
870
|
-
toggleFullscreen:
|
|
843
|
+
toggleTable: Mn,
|
|
844
|
+
toggleAnnotator: Pn,
|
|
845
|
+
toggleFullscreen: An,
|
|
871
846
|
copyAlt: nr
|
|
872
|
-
}), (e, t) => (
|
|
847
|
+
}), (e, t) => (b(), m("div", {
|
|
873
848
|
ref_key: "dumbbellChart",
|
|
874
|
-
ref:
|
|
849
|
+
ref: j,
|
|
875
850
|
class: Ne(`vue-data-ui-component vue-ui-dumbbell ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
876
|
-
style:
|
|
877
|
-
id: `dumbbell_${
|
|
878
|
-
onMouseenter: t[1] ||= () =>
|
|
879
|
-
onMouseleave: t[2] ||= () =>
|
|
851
|
+
style: Pe(`font-family:${L.value.style.fontFamily};width:100%; text-align:center;background:${L.value.style.chart.backgroundColor};${L.value.responsive ? "height:100%" : ""}`),
|
|
852
|
+
id: `dumbbell_${A.value}`,
|
|
853
|
+
onMouseenter: t[1] ||= () => T(sn)(!0),
|
|
854
|
+
onMouseleave: t[2] ||= () => T(sn)(!1)
|
|
880
855
|
}, [
|
|
881
856
|
h("div", {
|
|
882
|
-
id: `chart-instructions-${
|
|
857
|
+
id: `chart-instructions-${A.value}`,
|
|
883
858
|
class: "sr-only"
|
|
884
|
-
}, [h("p", null,
|
|
885
|
-
cr.value.body.length ? (
|
|
859
|
+
}, [h("p", null, w(L.value.a11y.translations.keyboardNavigation), 1)], 8, We),
|
|
860
|
+
cr.value.body.length ? (b(), f(Se, {
|
|
886
861
|
key: 0,
|
|
887
|
-
uid:
|
|
862
|
+
uid: A.value,
|
|
888
863
|
head: cr.value.head,
|
|
889
864
|
body: cr.value.body,
|
|
890
865
|
caption: cr.value.caption,
|
|
@@ -896,21 +871,21 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
896
871
|
"caption",
|
|
897
872
|
"notice"
|
|
898
873
|
])) : p("", !0),
|
|
899
|
-
L.value.userOptions.buttons.annotator ? (
|
|
874
|
+
L.value.userOptions.buttons.annotator ? (b(), f(T(At), {
|
|
900
875
|
key: 1,
|
|
901
|
-
svgRef:
|
|
876
|
+
svgRef: T(z),
|
|
902
877
|
backgroundColor: L.value.style.chart.backgroundColor,
|
|
903
878
|
color: L.value.style.chart.color,
|
|
904
|
-
active:
|
|
879
|
+
active: Nn.value,
|
|
905
880
|
isCursorPointer: R.value,
|
|
906
|
-
onClose:
|
|
881
|
+
onClose: Pn
|
|
907
882
|
}, {
|
|
908
|
-
"annotator-action-close":
|
|
909
|
-
"annotator-action-color":
|
|
910
|
-
"annotator-action-draw":
|
|
911
|
-
"annotator-action-undo":
|
|
912
|
-
"annotator-action-redo":
|
|
913
|
-
"annotator-action-delete":
|
|
883
|
+
"annotator-action-close": D(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
884
|
+
"annotator-action-color": D(({ color: t }) => [C(e.$slots, "annotator-action-color", y(v({ color: t })), void 0, !0)]),
|
|
885
|
+
"annotator-action-draw": D(({ mode: t }) => [C(e.$slots, "annotator-action-draw", y(v({ mode: t })), void 0, !0)]),
|
|
886
|
+
"annotator-action-undo": D(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", y(v({ disabled: t })), void 0, !0)]),
|
|
887
|
+
"annotator-action-redo": D(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", y(v({ disabled: t })), void 0, !0)]),
|
|
888
|
+
"annotator-action-delete": D(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", y(v({ disabled: t })), void 0, !0)]),
|
|
914
889
|
_: 3
|
|
915
890
|
}, 8, [
|
|
916
891
|
"svgRef",
|
|
@@ -919,20 +894,20 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
919
894
|
"active",
|
|
920
895
|
"isCursorPointer"
|
|
921
896
|
])) : p("", !0),
|
|
922
|
-
|
|
897
|
+
gn.value ? (b(), m("div", {
|
|
923
898
|
key: 2,
|
|
924
899
|
ref_key: "noTitle",
|
|
925
|
-
ref:
|
|
900
|
+
ref: Wt,
|
|
926
901
|
class: "vue-data-ui-no-title-space",
|
|
927
902
|
style: "height:36px; width: 100%;background:transparent"
|
|
928
903
|
}, null, 512)) : p("", !0),
|
|
929
|
-
L.value.style.chart.title.text ? (
|
|
904
|
+
L.value.style.chart.title.text ? (b(), m("div", {
|
|
930
905
|
key: 3,
|
|
931
906
|
ref_key: "chartTitle",
|
|
932
|
-
ref:
|
|
907
|
+
ref: Vt,
|
|
933
908
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
934
|
-
}, [(
|
|
935
|
-
key: `title_${
|
|
909
|
+
}, [(b(), f(ve, {
|
|
910
|
+
key: `title_${Gt.value}`,
|
|
936
911
|
config: {
|
|
937
912
|
title: {
|
|
938
913
|
cy: "donut-div-title",
|
|
@@ -944,16 +919,16 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
944
919
|
}
|
|
945
920
|
}
|
|
946
921
|
}, null, 8, ["config"]))], 512)) : p("", !0),
|
|
947
|
-
h("div", { id: `legend-top-${
|
|
948
|
-
L.value.userOptions.show &&
|
|
922
|
+
h("div", { id: `legend-top-${A.value}` }, null, 8, Ge),
|
|
923
|
+
L.value.userOptions.show && zt.value && (T(cn) || T(on)) ? (b(), f(T(jt), {
|
|
949
924
|
ref_key: "userOptionsRef",
|
|
950
925
|
ref: Yt,
|
|
951
|
-
key: `user_option_${
|
|
926
|
+
key: `user_option_${Bt.value}`,
|
|
952
927
|
backgroundColor: L.value.style.chart.backgroundColor,
|
|
953
928
|
color: L.value.style.chart.color,
|
|
954
|
-
isPrinting:
|
|
955
|
-
isImaging:
|
|
956
|
-
uid:
|
|
929
|
+
isPrinting: T(fn),
|
|
930
|
+
isImaging: T(pn),
|
|
931
|
+
uid: A.value,
|
|
957
932
|
hasPdf: L.value.userOptions.buttons.pdf,
|
|
958
933
|
hasXls: L.value.userOptions.buttons.csv,
|
|
959
934
|
hasImg: L.value.userOptions.buttons.img,
|
|
@@ -963,27 +938,27 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
963
938
|
hasAltCopy: L.value.userOptions.buttons.altCopy,
|
|
964
939
|
isFullscreen: $.value,
|
|
965
940
|
titles: { ...L.value.userOptions.buttonTitles },
|
|
966
|
-
chartElement:
|
|
941
|
+
chartElement: j.value,
|
|
967
942
|
position: L.value.userOptions.position,
|
|
968
943
|
hasAnnotator: L.value.userOptions.buttons.annotator,
|
|
969
|
-
isAnnotation:
|
|
944
|
+
isAnnotation: Nn.value,
|
|
970
945
|
callbacks: L.value.userOptions.callbacks,
|
|
971
946
|
printScale: L.value.userOptions.print.scale,
|
|
972
947
|
tableDialog: L.value.table.useDialog,
|
|
973
948
|
isCursorPointer: R.value,
|
|
974
|
-
onToggleFullscreen:
|
|
975
|
-
onGeneratePdf:
|
|
976
|
-
onGenerateCsv:
|
|
977
|
-
onGenerateImage: tr,
|
|
978
|
-
onGenerateSvg: er,
|
|
979
|
-
onToggleTable:
|
|
980
|
-
onToggleAnnotator:
|
|
949
|
+
onToggleFullscreen: An,
|
|
950
|
+
onGeneratePdf: T(mn),
|
|
951
|
+
onGenerateCsv: kn,
|
|
952
|
+
onGenerateImage: T(tr),
|
|
953
|
+
onGenerateSvg: T(er),
|
|
954
|
+
onToggleTable: Mn,
|
|
955
|
+
onToggleAnnotator: Pn,
|
|
981
956
|
onCopyAlt: nr,
|
|
982
|
-
style:
|
|
957
|
+
style: Pe({ visibility: T(cn) ? T(on) ? "visible" : "hidden" : "visible" })
|
|
983
958
|
}, ke({ _: 2 }, [
|
|
984
959
|
e.$slots.menuIcon ? {
|
|
985
960
|
name: "menuIcon",
|
|
986
|
-
fn:
|
|
961
|
+
fn: D(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", y(v({
|
|
987
962
|
isOpen: t,
|
|
988
963
|
color: n
|
|
989
964
|
})), void 0, !0)]),
|
|
@@ -991,32 +966,32 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
991
966
|
} : void 0,
|
|
992
967
|
e.$slots.optionPdf ? {
|
|
993
968
|
name: "optionPdf",
|
|
994
|
-
fn:
|
|
969
|
+
fn: D(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
995
970
|
key: "1"
|
|
996
971
|
} : void 0,
|
|
997
972
|
e.$slots.optionCsv ? {
|
|
998
973
|
name: "optionCsv",
|
|
999
|
-
fn:
|
|
974
|
+
fn: D(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
1000
975
|
key: "2"
|
|
1001
976
|
} : void 0,
|
|
1002
977
|
e.$slots.optionImg ? {
|
|
1003
978
|
name: "optionImg",
|
|
1004
|
-
fn:
|
|
979
|
+
fn: D(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
1005
980
|
key: "3"
|
|
1006
981
|
} : void 0,
|
|
1007
982
|
e.$slots.optionSvg ? {
|
|
1008
983
|
name: "optionSvg",
|
|
1009
|
-
fn:
|
|
984
|
+
fn: D(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1010
985
|
key: "4"
|
|
1011
986
|
} : void 0,
|
|
1012
987
|
e.$slots.optionTable ? {
|
|
1013
988
|
name: "optionTable",
|
|
1014
|
-
fn:
|
|
989
|
+
fn: D(() => [C(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
1015
990
|
key: "5"
|
|
1016
991
|
} : void 0,
|
|
1017
992
|
e.$slots.optionFullscreen ? {
|
|
1018
993
|
name: "optionFullscreen",
|
|
1019
|
-
fn:
|
|
994
|
+
fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", y(v({
|
|
1020
995
|
toggleFullscreen: t,
|
|
1021
996
|
isFullscreen: n
|
|
1022
997
|
})), void 0, !0)]),
|
|
@@ -1024,7 +999,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
1024
999
|
} : void 0,
|
|
1025
1000
|
e.$slots.optionAnnotator ? {
|
|
1026
1001
|
name: "optionAnnotator",
|
|
1027
|
-
fn:
|
|
1002
|
+
fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", y(v({
|
|
1028
1003
|
toggleAnnotator: t,
|
|
1029
1004
|
isAnnotator: n
|
|
1030
1005
|
})), void 0, !0)]),
|
|
@@ -1032,71 +1007,46 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
1032
1007
|
} : void 0,
|
|
1033
1008
|
e.$slots.optionAltCopy ? {
|
|
1034
1009
|
name: "optionAltCopy",
|
|
1035
|
-
fn:
|
|
1010
|
+
fn: D(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", y(v({ altCopy: t })), void 0, !0)]),
|
|
1036
1011
|
key: "8"
|
|
1037
1012
|
} : void 0,
|
|
1038
1013
|
e.$slots["custom-menu-before"] ? {
|
|
1039
1014
|
name: "custom-menu-before",
|
|
1040
|
-
fn:
|
|
1015
|
+
fn: D(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1041
1016
|
key: "9"
|
|
1042
1017
|
} : void 0,
|
|
1043
1018
|
e.$slots["custom-menu-after"] ? {
|
|
1044
1019
|
name: "custom-menu-after",
|
|
1045
|
-
fn:
|
|
1020
|
+
fn: D(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1046
1021
|
key: "10"
|
|
1047
1022
|
} : void 0
|
|
1048
|
-
]), 1032,
|
|
1049
|
-
|
|
1050
|
-
"color",
|
|
1051
|
-
"isPrinting",
|
|
1052
|
-
"isImaging",
|
|
1053
|
-
"uid",
|
|
1054
|
-
"hasPdf",
|
|
1055
|
-
"hasXls",
|
|
1056
|
-
"hasImg",
|
|
1057
|
-
"hasSvg",
|
|
1058
|
-
"hasTable",
|
|
1059
|
-
"hasFullscreen",
|
|
1060
|
-
"hasAltCopy",
|
|
1061
|
-
"isFullscreen",
|
|
1062
|
-
"titles",
|
|
1063
|
-
"chartElement",
|
|
1064
|
-
"position",
|
|
1065
|
-
"hasAnnotator",
|
|
1066
|
-
"isAnnotation",
|
|
1067
|
-
"callbacks",
|
|
1068
|
-
"printScale",
|
|
1069
|
-
"tableDialog",
|
|
1070
|
-
"isCursorPointer",
|
|
1071
|
-
"onGeneratePdf",
|
|
1072
|
-
"style"
|
|
1073
|
-
])) : p("", !0),
|
|
1074
|
-
h("div", Ge, [(x(), m("svg", {
|
|
1023
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : p("", !0),
|
|
1024
|
+
h("div", Ke, [(b(), m("svg", {
|
|
1075
1025
|
ref_key: "svgRef",
|
|
1076
1026
|
ref: z,
|
|
1077
|
-
xmlns:
|
|
1027
|
+
xmlns: T(ae),
|
|
1078
1028
|
class: Ne({
|
|
1079
1029
|
"vue-data-ui-fullscreen--on": $.value,
|
|
1080
1030
|
"vue-data-ui-fulscreen--off": !$.value
|
|
1081
1031
|
}),
|
|
1082
1032
|
viewBox: `0 0 ${K.value} ${q.value.absoluteHeight <= 0 ? 10 : q.value.absoluteHeight}`,
|
|
1083
|
-
style:
|
|
1084
|
-
"aria-describedby": `chart-instructions-${
|
|
1033
|
+
style: Pe(`max-width:100%; overflow: visible; background:transparent;color:${L.value.style.chart.color}`),
|
|
1034
|
+
"aria-describedby": `chart-instructions-${A.value}`,
|
|
1085
1035
|
tabindex: "0",
|
|
1086
1036
|
onFocus: ar,
|
|
1087
1037
|
onBlur: or,
|
|
1088
1038
|
onKeydown: sr
|
|
1089
1039
|
}, [
|
|
1090
|
-
g(
|
|
1091
|
-
e.$slots["chart-background"] ? (
|
|
1040
|
+
g(T(Mt)),
|
|
1041
|
+
e.$slots["chart-background"] ? (b(), m("foreignObject", {
|
|
1092
1042
|
key: 0,
|
|
1093
1043
|
x: q.value.left,
|
|
1094
1044
|
y: q.value.top,
|
|
1095
1045
|
width: Math.max(.1, q.value.width),
|
|
1096
1046
|
height: Math.max(.1, q.value.height),
|
|
1097
1047
|
style: { pointerEvents: "none" }
|
|
1098
|
-
}, [
|
|
1099
|
-
L.value.style.chart.grid.verticalGrid.show ? (
|
|
1048
|
+
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Je)) : p("", !0),
|
|
1049
|
+
L.value.style.chart.grid.verticalGrid.show ? (b(), m("g", Ye, [(b(!0), m(u, null, S(W.value.ticks, (e, t) => (b(), m("line", {
|
|
1100
1050
|
x1: q.value.left + t * q.value.width / (W.value.ticks.length - 1),
|
|
1101
1051
|
x2: q.value.left + t * q.value.width / (W.value.ticks.length - 1),
|
|
1102
1052
|
y1: q.value.top,
|
|
@@ -1104,8 +1054,8 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
1104
1054
|
stroke: L.value.style.chart.grid.verticalGrid.stroke,
|
|
1105
1055
|
"stroke-width": L.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
1106
1056
|
"stroke-dasharray": L.value.style.chart.grid.verticalGrid.strokeDasharray
|
|
1107
|
-
}, null, 8,
|
|
1108
|
-
L.value.style.chart.grid.horizontalGrid.show ? (
|
|
1057
|
+
}, null, 8, Xe))), 256))])) : p("", !0),
|
|
1058
|
+
L.value.style.chart.grid.horizontalGrid.show ? (b(), m("g", Ze, [(b(!0), m(u, null, S(U.value, (e, t) => (b(), m("line", {
|
|
1109
1059
|
x1: q.value.left,
|
|
1110
1060
|
x2: q.value.right,
|
|
1111
1061
|
y1: q.value.top + t * q.value.rowHeight,
|
|
@@ -1113,7 +1063,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
1113
1063
|
stroke: L.value.style.chart.grid.horizontalGrid.stroke,
|
|
1114
1064
|
"stroke-width": L.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
1115
1065
|
"stroke-dasharray": L.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
1116
|
-
}, null, 8,
|
|
1066
|
+
}, null, 8, Qe))), 256)), h("line", {
|
|
1117
1067
|
x1: q.value.left,
|
|
1118
1068
|
x2: q.value.right,
|
|
1119
1069
|
y1: q.value.bottom,
|
|
@@ -1121,21 +1071,21 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
1121
1071
|
stroke: L.value.style.chart.grid.horizontalGrid.stroke,
|
|
1122
1072
|
"stroke-width": L.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
1123
1073
|
"stroke-dasharray": L.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
1124
|
-
}, null, 8,
|
|
1125
|
-
L.value.style.chart.labels.axis.yLabel ? (
|
|
1074
|
+
}, null, 8, $e)])) : p("", !0),
|
|
1075
|
+
L.value.style.chart.labels.axis.yLabel ? (b(), m("text", {
|
|
1126
1076
|
key: 3,
|
|
1127
1077
|
ref_key: "yAxisLabel",
|
|
1128
|
-
ref:
|
|
1078
|
+
ref: Xt,
|
|
1129
1079
|
transform: `translate(${L.value.style.chart.labels.axis.fontSize}, ${q.value.absoluteHeight / 2}), rotate(-90)`,
|
|
1130
1080
|
"font-size": L.value.style.chart.labels.axis.fontSize,
|
|
1131
1081
|
fill: L.value.style.chart.labels.axis.color,
|
|
1132
1082
|
"text-anchor": "middle"
|
|
1133
|
-
},
|
|
1134
|
-
L.value.style.chart.labels.yAxisLabels.show ? (
|
|
1083
|
+
}, w(L.value.style.chart.labels.axis.yLabel), 9, et)) : p("", !0),
|
|
1084
|
+
L.value.style.chart.labels.yAxisLabels.show ? (b(), m("g", {
|
|
1135
1085
|
key: 4,
|
|
1136
1086
|
ref_key: "serieLabels",
|
|
1137
|
-
ref:
|
|
1138
|
-
}, [(
|
|
1087
|
+
ref: Zt
|
|
1088
|
+
}, [(b(!0), m(u, null, S(Y.value, (e, t) => (b(), m("text", {
|
|
1139
1089
|
class: "vue-ui-dumbbell-serie-name",
|
|
1140
1090
|
key: `serieLabel_${e.id}_${t}`,
|
|
1141
1091
|
x: q.value.left - 6 + L.value.style.chart.labels.yAxisLabels.offsetX,
|
|
@@ -1144,61 +1094,61 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
1144
1094
|
fill: L.value.style.chart.labels.yAxisLabels.color,
|
|
1145
1095
|
"font-weight": L.value.style.chart.labels.yAxisLabels.bold ? "bold" : "normal",
|
|
1146
1096
|
"text-anchor": "end",
|
|
1147
|
-
onMouseenter: (n) =>
|
|
1097
|
+
onMouseenter: (n) => Vn({
|
|
1148
1098
|
datapoint: e,
|
|
1149
1099
|
seriesIndex: t
|
|
1150
1100
|
}),
|
|
1151
|
-
onMouseleave: (n) =>
|
|
1101
|
+
onMouseleave: (n) => Hn({
|
|
1152
1102
|
datapoint: e,
|
|
1153
1103
|
seriesIndex: t
|
|
1154
1104
|
}),
|
|
1155
|
-
onClick: (n) =>
|
|
1105
|
+
onClick: (n) => Un({
|
|
1156
1106
|
datapoint: e,
|
|
1157
1107
|
seriesIndex: t
|
|
1158
1108
|
})
|
|
1159
|
-
},
|
|
1109
|
+
}, w(e.name) + " " + w(I.value && L.value.style.chart.labels.yAxisLabels.showProgression ? [null, void 0].includes(e.start) || [null, void 0].includes(e.end) ? "" : `(${T(c)(L.value.style.chart.labels.yAxisLabels.formatter, 100 * (e.end / e.start - 1), T(o)({
|
|
1160
1110
|
v: 100 * (e.end / e.start - 1),
|
|
1161
1111
|
s: "%",
|
|
1162
1112
|
r: L.value.style.chart.labels.yAxisLabels.rounding
|
|
1163
|
-
}), { datapoint: e })})` : ""), 41,
|
|
1113
|
+
}), { datapoint: e })})` : ""), 41, tt))), 128)), L.value.style.chart.labels.yAxisLabels.showProgression && !I.value ? (b(!0), m(u, { key: 0 }, S(Y.value, (e, t) => (b(), m("text", {
|
|
1164
1114
|
class: "vue-ui-dumbbell-serie-value",
|
|
1165
1115
|
x: q.value.left - 6 + L.value.style.chart.labels.yAxisLabels.offsetX,
|
|
1166
1116
|
y: q.value.top + t * q.value.rowHeight + q.value.rowHeight / 1.3 + L.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
1167
1117
|
"font-size": L.value.style.chart.labels.yAxisLabels.fontSize,
|
|
1168
1118
|
fill: L.value.style.chart.labels.yAxisLabels.color,
|
|
1169
1119
|
"text-anchor": "end",
|
|
1170
|
-
onMouseenter: (n) =>
|
|
1120
|
+
onMouseenter: (n) => Vn({
|
|
1171
1121
|
datapoint: e,
|
|
1172
1122
|
seriesIndex: t
|
|
1173
1123
|
}),
|
|
1174
|
-
onMouseleave: (n) =>
|
|
1124
|
+
onMouseleave: (n) => Hn({
|
|
1175
1125
|
datapoint: e,
|
|
1176
1126
|
seriesIndex: t
|
|
1177
1127
|
}),
|
|
1178
|
-
onClick: (n) =>
|
|
1128
|
+
onClick: (n) => Un({
|
|
1179
1129
|
datapoint: e,
|
|
1180
1130
|
seriesIndex: t
|
|
1181
1131
|
})
|
|
1182
|
-
},
|
|
1132
|
+
}, w([null, void 0].includes(e.start) || [null, void 0].includes(e.end) ? "" : T(c)(L.value.style.chart.labels.yAxisLabels.formatter, 100 * (e.end / e.start - 1), T(o)({
|
|
1183
1133
|
v: 100 * (e.end / e.start - 1),
|
|
1184
1134
|
s: "%",
|
|
1185
1135
|
r: L.value.style.chart.labels.yAxisLabels.rounding
|
|
1186
|
-
}), { datapoint: e })), 41,
|
|
1187
|
-
L.value.style.chart.labels.axis.xLabel ? (
|
|
1136
|
+
}), { datapoint: e })), 41, nt))), 256)) : p("", !0)], 512)) : p("", !0),
|
|
1137
|
+
L.value.style.chart.labels.axis.xLabel ? (b(), m("text", {
|
|
1188
1138
|
key: 5,
|
|
1189
1139
|
ref_key: "xAxisLabel",
|
|
1190
|
-
ref:
|
|
1140
|
+
ref: $t,
|
|
1191
1141
|
x: q.value.left + q.value.width / 2,
|
|
1192
1142
|
y: q.value.absoluteHeight - L.value.style.chart.labels.axis.fontSize / 3,
|
|
1193
1143
|
"font-size": L.value.style.chart.labels.axis.fontSize,
|
|
1194
1144
|
fill: L.value.style.chart.labels.axis.color,
|
|
1195
1145
|
"text-anchor": "middle"
|
|
1196
|
-
},
|
|
1197
|
-
L.value.style.chart.labels.xAxisLabels.show ? (
|
|
1146
|
+
}, w(L.value.style.chart.labels.axis.xLabel), 9, rt)) : p("", !0),
|
|
1147
|
+
L.value.style.chart.labels.xAxisLabels.show ? (b(), m("g", {
|
|
1198
1148
|
key: 6,
|
|
1199
1149
|
ref_key: "scaleLabels",
|
|
1200
|
-
ref:
|
|
1201
|
-
}, [(
|
|
1150
|
+
ref: Qt
|
|
1151
|
+
}, [(b(!0), m(u, null, S(W.value.ticks, (e, t) => (b(), m("text", {
|
|
1202
1152
|
class: "vue-ui-dumbbell-scale-label",
|
|
1203
1153
|
key: `tick_${t}`,
|
|
1204
1154
|
transform: `translate(${q.value.left + t * (q.value.width / (W.value.ticks.length - 1))}, ${q.value.bottom + L.value.style.chart.labels.xAxisLabels.fontSize + L.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${L.value.style.chart.labels.xAxisLabels.rotation})`,
|
|
@@ -1206,7 +1156,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
1206
1156
|
fill: L.value.style.chart.labels.xAxisLabels.color,
|
|
1207
1157
|
"font-weight": L.value.style.chart.labels.xAxisLabels.bold ? "bold" : "normal",
|
|
1208
1158
|
"text-anchor": L.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : L.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle"
|
|
1209
|
-
}, T(
|
|
1159
|
+
}, w(T(c)(L.value.style.chart.labels.formatter, e, T(o)({
|
|
1210
1160
|
p: L.value.style.chart.labels.prefix,
|
|
1211
1161
|
v: e,
|
|
1212
1162
|
s: L.value.style.chart.labels.suffix,
|
|
@@ -1214,52 +1164,52 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
1214
1164
|
}), {
|
|
1215
1165
|
datapoint: e,
|
|
1216
1166
|
seriesIndex: t
|
|
1217
|
-
})), 9,
|
|
1218
|
-
|
|
1219
|
-
|
|
1167
|
+
})), 9, it))), 128))], 512)) : p("", !0),
|
|
1168
|
+
O(h("g", null, [
|
|
1169
|
+
O(h("path", {
|
|
1220
1170
|
d: `M ${P.value ? P.value.startX : q.value.left},${q.value.top} ${P.value ? P.value.startX : q.value.left},${q.value.bottom}`,
|
|
1221
1171
|
stroke: P.value ? L.value.style.chart.plots.evaluationColors.enable ? P.value.evaluationColor : L.value.style.chart.plots.startColor : "transparent",
|
|
1222
1172
|
"stroke-width": L.value.style.chart.comparisonLines.strokeWidth,
|
|
1223
1173
|
"stroke-dasharray": L.value.style.chart.comparisonLines.strokeDasharray,
|
|
1224
1174
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1225
|
-
}, null, 8,
|
|
1226
|
-
|
|
1175
|
+
}, null, 8, at), [[E, P.value !== null && ![null, void 0].includes(P.value.start)]]),
|
|
1176
|
+
O(h("path", {
|
|
1227
1177
|
d: `M ${P.value ? P.value.endX : q.value.left},${q.value.top} ${P.value ? P.value.endX : q.value.left},${q.value.bottom}`,
|
|
1228
1178
|
stroke: P.value ? L.value.style.chart.plots.evaluationColors.enable ? P.value.evaluationColor : L.value.style.chart.plots.endColor : "transparent",
|
|
1229
1179
|
"stroke-width": L.value.style.chart.comparisonLines.strokeWidth,
|
|
1230
1180
|
"stroke-dasharray": L.value.style.chart.comparisonLines.strokeDasharray,
|
|
1231
1181
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1232
|
-
}, null, 8,
|
|
1233
|
-
|
|
1182
|
+
}, null, 8, ot), [[E, P.value !== null && ![null, void 0].includes(P.value.end)]]),
|
|
1183
|
+
O(h("rect", {
|
|
1234
1184
|
x: P.value ? Math.min(P.value.startX, P.value.endX) : q.value.left,
|
|
1235
1185
|
y: q.value.top,
|
|
1236
1186
|
height: Math.max(.1, q.value.height),
|
|
1237
1187
|
width: P.value ? Math.max(.1, Math.abs(P.value.endX - P.value.startX)) : 0,
|
|
1238
|
-
fill: P.value ?
|
|
1188
|
+
fill: P.value ? T(n)(L.value.style.chart.comparisonLines.rectColor, L.value.style.chart.comparisonLines.rectOpacity) : "transparent",
|
|
1239
1189
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1240
|
-
}, null, 8,
|
|
1241
|
-
|
|
1242
|
-
transform: `translate(${
|
|
1190
|
+
}, null, 8, st), [[E, L.value.style.chart.comparisonLines.showRect && P.value !== null && ![null, void 0].includes(P.value.start) && ![null, void 0].includes(P.value.end)]]),
|
|
1191
|
+
O(h("text", {
|
|
1192
|
+
transform: `translate(${Wn.value == null ? 0 : Wn.value}, ${q.value.top - 6})`,
|
|
1243
1193
|
fill: L.value.style.chart.comparisonLines.labelColor,
|
|
1244
1194
|
"font-size": L.value.style.chart.comparisonLines.labelFontSize,
|
|
1245
1195
|
"text-anchor": "middle",
|
|
1246
1196
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1247
|
-
},
|
|
1248
|
-
], 512), [[
|
|
1197
|
+
}, w(Gn.value), 9, ct), [[E, P.value !== null && Wn.value !== null && L.value.style.chart.comparisonLines.showLabel]])
|
|
1198
|
+
], 512), [[E, L.value.style.chart.comparisonLines.show && N.value !== null]]),
|
|
1249
1199
|
h("defs", null, [
|
|
1250
1200
|
g(l, {
|
|
1251
1201
|
t: "radial",
|
|
1252
|
-
id: `start_grad_${
|
|
1202
|
+
id: `start_grad_${A.value}`,
|
|
1253
1203
|
fy: "30%",
|
|
1254
1204
|
stops: [
|
|
1255
1205
|
[
|
|
1256
1206
|
"10%",
|
|
1257
|
-
|
|
1207
|
+
T(a)(L.value.style.chart.plots.startColor, L.value.style.chart.plots.gradient.intensity / 100),
|
|
1258
1208
|
1
|
|
1259
1209
|
],
|
|
1260
1210
|
[
|
|
1261
1211
|
"90%",
|
|
1262
|
-
|
|
1212
|
+
T(s)(L.value.style.chart.plots.startColor, .1),
|
|
1263
1213
|
1
|
|
1264
1214
|
],
|
|
1265
1215
|
[
|
|
@@ -1271,17 +1221,17 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
1271
1221
|
}, null, 8, ["id", "stops"]),
|
|
1272
1222
|
g(l, {
|
|
1273
1223
|
t: "radial",
|
|
1274
|
-
id: `end_grad_${
|
|
1224
|
+
id: `end_grad_${A.value}`,
|
|
1275
1225
|
fy: "30%",
|
|
1276
1226
|
stops: [
|
|
1277
1227
|
[
|
|
1278
1228
|
"10%",
|
|
1279
|
-
|
|
1229
|
+
T(a)(L.value.style.chart.plots.endColor, L.value.style.chart.plots.gradient.intensity / 100),
|
|
1280
1230
|
1
|
|
1281
1231
|
],
|
|
1282
1232
|
[
|
|
1283
1233
|
"90%",
|
|
1284
|
-
|
|
1234
|
+
T(s)(L.value.style.chart.plots.endColor, .1),
|
|
1285
1235
|
1
|
|
1286
1236
|
],
|
|
1287
1237
|
[
|
|
@@ -1293,17 +1243,17 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
1293
1243
|
}, null, 8, ["id", "stops"]),
|
|
1294
1244
|
g(l, {
|
|
1295
1245
|
t: "radial",
|
|
1296
|
-
id: `positive_grad_${
|
|
1246
|
+
id: `positive_grad_${A.value}`,
|
|
1297
1247
|
fy: "30%",
|
|
1298
1248
|
stops: [
|
|
1299
1249
|
[
|
|
1300
1250
|
"10%",
|
|
1301
|
-
|
|
1251
|
+
T(a)(L.value.style.chart.plots.evaluationColors.positive, L.value.style.chart.plots.gradient.intensity / 100),
|
|
1302
1252
|
1
|
|
1303
1253
|
],
|
|
1304
1254
|
[
|
|
1305
1255
|
"90%",
|
|
1306
|
-
|
|
1256
|
+
T(s)(L.value.style.chart.plots.evaluationColors.positive, .1),
|
|
1307
1257
|
1
|
|
1308
1258
|
],
|
|
1309
1259
|
[
|
|
@@ -1315,17 +1265,17 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
1315
1265
|
}, null, 8, ["id", "stops"]),
|
|
1316
1266
|
g(l, {
|
|
1317
1267
|
t: "radial",
|
|
1318
|
-
id: `negative_grad_${
|
|
1268
|
+
id: `negative_grad_${A.value}`,
|
|
1319
1269
|
fy: "30%",
|
|
1320
1270
|
stops: [
|
|
1321
1271
|
[
|
|
1322
1272
|
"10%",
|
|
1323
|
-
|
|
1273
|
+
T(a)(L.value.style.chart.plots.evaluationColors.negative, L.value.style.chart.plots.gradient.intensity / 100),
|
|
1324
1274
|
1
|
|
1325
1275
|
],
|
|
1326
1276
|
[
|
|
1327
1277
|
"90%",
|
|
1328
|
-
|
|
1278
|
+
T(s)(L.value.style.chart.plots.evaluationColors.negative, .1),
|
|
1329
1279
|
1
|
|
1330
1280
|
],
|
|
1331
1281
|
[
|
|
@@ -1337,17 +1287,17 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
1337
1287
|
}, null, 8, ["id", "stops"]),
|
|
1338
1288
|
g(l, {
|
|
1339
1289
|
t: "radial",
|
|
1340
|
-
id: `neutral_grad_${
|
|
1290
|
+
id: `neutral_grad_${A.value}`,
|
|
1341
1291
|
fy: "30%",
|
|
1342
1292
|
stops: [
|
|
1343
1293
|
[
|
|
1344
1294
|
"10%",
|
|
1345
|
-
|
|
1295
|
+
T(a)(L.value.style.chart.plots.evaluationColors.neutral, L.value.style.chart.plots.gradient.intensity / 100),
|
|
1346
1296
|
1
|
|
1347
1297
|
],
|
|
1348
1298
|
[
|
|
1349
1299
|
"90%",
|
|
1350
|
-
|
|
1300
|
+
T(s)(L.value.style.chart.plots.evaluationColors.neutral, .1),
|
|
1351
1301
|
1
|
|
1352
1302
|
],
|
|
1353
1303
|
[
|
|
@@ -1358,10 +1308,10 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
1358
1308
|
]
|
|
1359
1309
|
}, null, 8, ["id", "stops"])
|
|
1360
1310
|
]),
|
|
1361
|
-
(
|
|
1311
|
+
(b(!0), m(u, null, S(Y.value, (e, t) => (b(), m("g", { key: `plot_${t}_${e.id}` }, [
|
|
1362
1312
|
h("defs", null, [g(l, {
|
|
1363
1313
|
t: "linear",
|
|
1364
|
-
id: `grad_pos_${
|
|
1314
|
+
id: `grad_pos_${A.value}`,
|
|
1365
1315
|
x1: "0%",
|
|
1366
1316
|
x2: "100%",
|
|
1367
1317
|
y1: "0%",
|
|
@@ -1377,7 +1327,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
1377
1327
|
]]
|
|
1378
1328
|
}, null, 8, ["id", "stops"]), g(l, {
|
|
1379
1329
|
t: "linear",
|
|
1380
|
-
id: `grad_neg_${
|
|
1330
|
+
id: `grad_neg_${A.value}`,
|
|
1381
1331
|
x1: "0%",
|
|
1382
1332
|
x2: "100%",
|
|
1383
1333
|
y1: "0%",
|
|
@@ -1392,7 +1342,7 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
1392
1342
|
1
|
|
1393
1343
|
]]
|
|
1394
1344
|
}, null, 8, ["id", "stops"])]),
|
|
1395
|
-
![void 0, null].includes(e.end) && ![void 0, null].includes(e.start) ? (
|
|
1345
|
+
![void 0, null].includes(e.end) && ![void 0, null].includes(e.start) ? (b(), m("g", lt, [L.value.style.chart.plots.link.type === "curved" ? (b(), m("g", ut, [h("path", {
|
|
1396
1346
|
d: `M
|
|
1397
1347
|
${e.startX},${e.y + J.value / 2}
|
|
1398
1348
|
C ${e.centerX},${e.y} ${e.centerX},${e.y}
|
|
@@ -1402,41 +1352,41 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
1402
1352
|
${e.startX},${e.y - J.value / 2}
|
|
1403
1353
|
Z
|
|
1404
1354
|
`,
|
|
1405
|
-
fill: L.value.style.chart.plots.evaluationColors.enable ? e.evaluationColor : e.endX > e.startX ? `url(#grad_pos_${
|
|
1406
|
-
}, null, 8,
|
|
1355
|
+
fill: L.value.style.chart.plots.evaluationColors.enable ? e.evaluationColor : e.endX > e.startX ? `url(#grad_pos_${A.value})` : `url(#grad_neg_${A.value})`
|
|
1356
|
+
}, null, 8, dt)])) : (b(), m("g", ft, [h("rect", {
|
|
1407
1357
|
x: e.endX > e.startX ? e.startX : e.endX,
|
|
1408
1358
|
y: e.y - L.value.style.chart.plots.link.strokeWidth / 2,
|
|
1409
1359
|
height: Math.max(.01, L.value.style.chart.plots.link.strokeWidth),
|
|
1410
1360
|
width: Math.max(.01, Math.abs(e.endX - e.startX)),
|
|
1411
|
-
fill: L.value.style.chart.plots.evaluationColors.enable ? e.evaluationColor : e.endX > e.startX ? `url(#grad_pos_${
|
|
1412
|
-
}, null, 8,
|
|
1413
|
-
[null, void 0].includes(e.start) ? p("", !0) : (
|
|
1361
|
+
fill: L.value.style.chart.plots.evaluationColors.enable ? e.evaluationColor : e.endX > e.startX ? `url(#grad_pos_${A.value})` : `url(#grad_neg_${A.value})`
|
|
1362
|
+
}, null, 8, pt)]))])) : p("", !0),
|
|
1363
|
+
[null, void 0].includes(e.start) ? p("", !0) : (b(), m("circle", {
|
|
1414
1364
|
key: 1,
|
|
1415
1365
|
cx: e.startX,
|
|
1416
1366
|
cy: e.y,
|
|
1417
1367
|
r: J.value,
|
|
1418
|
-
fill: L.value.style.chart.plots.gradient.show ? L.value.style.chart.plots.evaluationColors.enable ? e.evaluationGrad : `url(#start_grad_${
|
|
1368
|
+
fill: L.value.style.chart.plots.gradient.show ? L.value.style.chart.plots.evaluationColors.enable ? e.evaluationGrad : `url(#start_grad_${A.value})` : L.value.style.chart.plots.evaluationColors.enable ? e.evaluationColor : L.value.style.chart.plots.startColor,
|
|
1419
1369
|
stroke: L.value.style.chart.plots.stroke,
|
|
1420
1370
|
"stroke-width": L.value.style.chart.plots.strokeWidth
|
|
1421
|
-
}, null, 8,
|
|
1422
|
-
[null, void 0].includes(e.end) ? p("", !0) : (
|
|
1371
|
+
}, null, 8, mt)),
|
|
1372
|
+
[null, void 0].includes(e.end) ? p("", !0) : (b(), m("circle", {
|
|
1423
1373
|
key: 2,
|
|
1424
1374
|
cx: e.endX,
|
|
1425
1375
|
cy: e.y,
|
|
1426
1376
|
r: J.value,
|
|
1427
|
-
fill: L.value.style.chart.plots.gradient.show ? L.value.style.chart.plots.evaluationColors.enable ? e.evaluationGrad : `url(#end_grad_${
|
|
1377
|
+
fill: L.value.style.chart.plots.gradient.show ? L.value.style.chart.plots.evaluationColors.enable ? e.evaluationGrad : `url(#end_grad_${A.value})` : L.value.style.chart.plots.evaluationColors.enable ? e.evaluationColor : L.value.style.chart.plots.endColor,
|
|
1428
1378
|
stroke: L.value.style.chart.plots.stroke,
|
|
1429
1379
|
"stroke-width": L.value.style.chart.plots.strokeWidth
|
|
1430
|
-
}, null, 8,
|
|
1380
|
+
}, null, 8, ht))
|
|
1431
1381
|
]))), 128)),
|
|
1432
|
-
L.value.style.chart.labels.startLabels.show ? (
|
|
1382
|
+
L.value.style.chart.labels.startLabels.show ? (b(), m("g", gt, [(b(!0), m(u, null, S(Y.value, (e, t) => (b(), m("g", { key: `start_label_${t}_${e.id}` }, [[null, void 0].includes(e.start) ? p("", !0) : (b(), m("text", {
|
|
1433
1383
|
key: 0,
|
|
1434
1384
|
x: e.startX,
|
|
1435
1385
|
y: e.y + J.value * 2 + L.value.style.chart.labels.startLabels.fontSize / 2,
|
|
1436
1386
|
fill: L.value.style.chart.plots.evaluationColors.enable && L.value.style.chart.labels.startLabels.useEvaluationColor ? e.evaluationColor : L.value.style.chart.labels.startLabels.useStartColor ? L.value.style.chart.plots.startColor : L.value.style.chart.labels.startLabels.color,
|
|
1437
1387
|
"font-size": L.value.style.chart.labels.startLabels.fontSize,
|
|
1438
1388
|
"text-anchor": "middle"
|
|
1439
|
-
}, T(
|
|
1389
|
+
}, w(T(c)(L.value.style.chart.labels.formatter, e.start, T(o)({
|
|
1440
1390
|
p: L.value.style.chart.labels.prefix,
|
|
1441
1391
|
v: e.start,
|
|
1442
1392
|
s: L.value.style.chart.labels.suffix,
|
|
@@ -1444,15 +1394,15 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
1444
1394
|
}), {
|
|
1445
1395
|
datapoint: e,
|
|
1446
1396
|
seriesIndex: t
|
|
1447
|
-
})), 9,
|
|
1448
|
-
L.value.style.chart.labels.endLabels.show ? (
|
|
1397
|
+
})), 9, _t))]))), 128))])) : p("", !0),
|
|
1398
|
+
L.value.style.chart.labels.endLabels.show ? (b(), m("g", vt, [(b(!0), m(u, null, S(Y.value, (e, t) => (b(), m("g", { key: `end_label_${t}_${e.id}` }, [[null, void 0].includes(e.end) ? p("", !0) : (b(), m("text", {
|
|
1449
1399
|
key: 0,
|
|
1450
1400
|
x: e.endX,
|
|
1451
1401
|
y: e.y - (J.value * 2 - L.value.style.chart.labels.startLabels.fontSize / 3),
|
|
1452
1402
|
fill: L.value.style.chart.plots.evaluationColors.enable && L.value.style.chart.labels.endLabels.useEvaluationColor ? e.evaluationColor : L.value.style.chart.labels.endLabels.useEndColor ? L.value.style.chart.plots.endColor : L.value.style.chart.labels.endLabels.color,
|
|
1453
1403
|
"font-size": L.value.style.chart.labels.endLabels.fontSize,
|
|
1454
1404
|
"text-anchor": "middle"
|
|
1455
|
-
}, T(
|
|
1405
|
+
}, w(T(c)(L.value.style.chart.labels.formatter, e.end, T(o)({
|
|
1456
1406
|
p: L.value.style.chart.labels.prefix,
|
|
1457
1407
|
v: e.end,
|
|
1458
1408
|
s: L.value.style.chart.labels.suffix,
|
|
@@ -1460,51 +1410,51 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
1460
1410
|
}), {
|
|
1461
1411
|
datapoint: e,
|
|
1462
1412
|
seriesIndex: t
|
|
1463
|
-
})), 9,
|
|
1464
|
-
h("g", null, [(
|
|
1413
|
+
})), 9, yt))]))), 128))])) : p("", !0),
|
|
1414
|
+
h("g", null, [(b(!0), m(u, null, S(Y.value, (e, t) => (b(), m("rect", {
|
|
1465
1415
|
x: q.value.left,
|
|
1466
1416
|
y: q.value.top + t * Math.max(.1, q.value.rowHeight),
|
|
1467
1417
|
width: Math.max(.1, q.value.width),
|
|
1468
1418
|
height: Math.max(.1, q.value.rowHeight),
|
|
1469
|
-
fill: N.value === null ? "transparent" : N.value === t ?
|
|
1470
|
-
onMouseenter: (n) =>
|
|
1419
|
+
fill: N.value === null ? "transparent" : N.value === t ? T(n)(L.value.style.chart.highlighter.color, L.value.style.chart.highlighter.opacity) : "transparent",
|
|
1420
|
+
onMouseenter: (n) => Vn({
|
|
1471
1421
|
datapoint: e,
|
|
1472
1422
|
seriesIndex: t
|
|
1473
1423
|
}),
|
|
1474
|
-
onMouseleave: (n) =>
|
|
1424
|
+
onMouseleave: (n) => Hn({
|
|
1475
1425
|
datapoint: e,
|
|
1476
1426
|
seriesIndex: t
|
|
1477
1427
|
}),
|
|
1478
|
-
onClick: (n) =>
|
|
1428
|
+
onClick: (n) => Un({
|
|
1479
1429
|
datapoint: e,
|
|
1480
1430
|
seriesIndex: t
|
|
1481
1431
|
})
|
|
1482
|
-
}, null, 40,
|
|
1483
|
-
|
|
1432
|
+
}, null, 40, bt))), 256))]),
|
|
1433
|
+
C(e.$slots, "svg", { svg: {
|
|
1484
1434
|
...q.value,
|
|
1485
|
-
isPrintingImg:
|
|
1486
|
-
isPrintingSvg:
|
|
1435
|
+
isPrintingImg: T(fn) || T(pn) || T(Qn),
|
|
1436
|
+
isPrintingSvg: T($n)
|
|
1487
1437
|
} }, void 0, !0)
|
|
1488
|
-
], 46,
|
|
1438
|
+
], 46, qe)), e.$slots.hint ? (b(), m("div", xt, [C(e.$slots, "hint", y(v({
|
|
1489
1439
|
hint: L.value.a11y.translations.keyboardNavigation,
|
|
1490
|
-
isVisible:
|
|
1440
|
+
isVisible: en.value
|
|
1491
1441
|
})), void 0, !0)])) : p("", !0)]),
|
|
1492
|
-
e.$slots.watermark ? (
|
|
1493
|
-
h("div", { id: `legend-bottom-${
|
|
1494
|
-
|
|
1442
|
+
e.$slots.watermark ? (b(), m("div", St, [C(e.$slots, "watermark", y(v({ isPrinting: T(fn) || T(pn) || T(Qn) || T($n) })), void 0, !0)])) : p("", !0),
|
|
1443
|
+
h("div", { id: `legend-bottom-${A.value}` }, null, 8, Ct),
|
|
1444
|
+
Jt.value && (L.value.style.chart.legend.show || e.$slots.legend) ? (b(), f(Oe, {
|
|
1495
1445
|
key: 6,
|
|
1496
|
-
to: L.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
1446
|
+
to: L.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
|
|
1497
1447
|
}, [h("div", {
|
|
1498
1448
|
ref_key: "chartLegend",
|
|
1499
|
-
ref:
|
|
1500
|
-
}, [
|
|
1501
|
-
key: `legend_${
|
|
1502
|
-
legendSet:
|
|
1503
|
-
config:
|
|
1449
|
+
ref: Ht
|
|
1450
|
+
}, [C(e.$slots, "legend", { legend: Dn.value }, () => [L.value.style.chart.legend.show && zt.value ? (b(), f(Te, {
|
|
1451
|
+
key: `legend_${qt.value}`,
|
|
1452
|
+
legendSet: Dn.value,
|
|
1453
|
+
config: On.value,
|
|
1504
1454
|
clickable: !1
|
|
1505
1455
|
}, {
|
|
1506
|
-
item:
|
|
1507
|
-
xmlns:
|
|
1456
|
+
item: D(({ legend: e }) => [h("div", { style: Pe(`display:flex;align-items:center;gap:4px;font-size:${L.value.style.chart.legend.fontSize}px`) }, [(b(), m("svg", {
|
|
1457
|
+
xmlns: T(ae),
|
|
1508
1458
|
viewBox: "0 0 20 20",
|
|
1509
1459
|
height: L.value.style.chart.legend.fontSize,
|
|
1510
1460
|
width: L.value.style.chart.legend.fontSize
|
|
@@ -1513,39 +1463,39 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
1513
1463
|
cy: 10,
|
|
1514
1464
|
r: 9,
|
|
1515
1465
|
fill: e.color
|
|
1516
|
-
}, null, 8,
|
|
1466
|
+
}, null, 8, Tt)], 8, wt)), T(nn) ? p("", !0) : (b(), m(u, { key: 0 }, [Ae(w(e.name), 1)], 64))], 4)]),
|
|
1517
1467
|
_: 1
|
|
1518
1468
|
}, 8, ["legendSet", "config"])) : p("", !0)], !0)], 512)], 8, ["to"])) : p("", !0),
|
|
1519
|
-
e.$slots.source ? (
|
|
1469
|
+
e.$slots.source ? (b(), m("div", {
|
|
1520
1470
|
key: 7,
|
|
1521
1471
|
ref_key: "source",
|
|
1522
|
-
ref:
|
|
1472
|
+
ref: Ut,
|
|
1523
1473
|
dir: "auto"
|
|
1524
|
-
}, [
|
|
1525
|
-
|
|
1474
|
+
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
1475
|
+
zt.value && L.value.userOptions.buttons.table ? (b(), f(Le(Kn.value.component), je({ key: 8 }, Kn.value.props, {
|
|
1526
1476
|
ref_key: "tableUnit",
|
|
1527
|
-
ref:
|
|
1528
|
-
onClose:
|
|
1477
|
+
ref: M,
|
|
1478
|
+
onClose: qn
|
|
1529
1479
|
}), ke({
|
|
1530
|
-
content:
|
|
1531
|
-
key: `table_${
|
|
1480
|
+
content: D(() => [(b(), f(T(kt), {
|
|
1481
|
+
key: `table_${Kt.value}`,
|
|
1532
1482
|
colNames: Q.value.colNames,
|
|
1533
1483
|
head: Q.value.head,
|
|
1534
1484
|
body: Q.value.body,
|
|
1535
1485
|
config: Q.value.config,
|
|
1536
|
-
title: L.value.table.useDialog ? "" :
|
|
1486
|
+
title: L.value.table.useDialog ? "" : Kn.value.title,
|
|
1537
1487
|
withCloseButton: !L.value.table.useDialog,
|
|
1538
1488
|
isCursorPointer: R.value,
|
|
1539
|
-
onClose:
|
|
1489
|
+
onClose: qn
|
|
1540
1490
|
}, {
|
|
1541
|
-
th:
|
|
1491
|
+
th: D(({ th: e }) => [h("div", {
|
|
1542
1492
|
innerHTML: e,
|
|
1543
1493
|
style: {
|
|
1544
1494
|
display: "flex",
|
|
1545
1495
|
"align-items": "center"
|
|
1546
1496
|
}
|
|
1547
|
-
}, null, 8,
|
|
1548
|
-
td:
|
|
1497
|
+
}, null, 8, Et)]),
|
|
1498
|
+
td: D(({ td: e }) => [Ae(w(e.name || e), 1)]),
|
|
1549
1499
|
_: 1
|
|
1550
1500
|
}, 8, [
|
|
1551
1501
|
"colNames",
|
|
@@ -1559,24 +1509,24 @@ var Ve = /* @__PURE__ */ e({ default: () => Et }), He = ["id"], Ue = ["id"], We
|
|
|
1559
1509
|
_: 2
|
|
1560
1510
|
}, [L.value.table.useDialog ? {
|
|
1561
1511
|
name: "title",
|
|
1562
|
-
fn:
|
|
1512
|
+
fn: D(() => [Ae(w(Kn.value.title), 1)]),
|
|
1563
1513
|
key: "0"
|
|
1564
1514
|
} : void 0, L.value.table.useDialog ? {
|
|
1565
1515
|
name: "actions",
|
|
1566
|
-
fn:
|
|
1516
|
+
fn: D(() => [h("button", {
|
|
1567
1517
|
tabindex: "0",
|
|
1568
1518
|
class: "vue-ui-user-options-button",
|
|
1569
|
-
onClick: t[0] ||= (e) =>
|
|
1570
|
-
style:
|
|
1571
|
-
}, [g(
|
|
1519
|
+
onClick: t[0] ||= (e) => kn(L.value.userOptions.callbacks.csv),
|
|
1520
|
+
style: Pe({ cursor: R.value ? "pointer" : "default" })
|
|
1521
|
+
}, [g(T(Dt), {
|
|
1572
1522
|
name: "fileCsv",
|
|
1573
|
-
stroke:
|
|
1523
|
+
stroke: Kn.value.props.color
|
|
1574
1524
|
}, null, 8, ["stroke"])], 4)]),
|
|
1575
1525
|
key: "1"
|
|
1576
1526
|
} : void 0]), 1040)) : p("", !0),
|
|
1577
|
-
|
|
1578
|
-
], 46,
|
|
1527
|
+
C(e.$slots, "skeleton", {}, () => [T(nn) ? (b(), f(fe, { key: 0 })) : p("", !0)], !0)
|
|
1528
|
+
], 46, Ue));
|
|
1579
1529
|
}
|
|
1580
|
-
}, [["__scopeId", "data-v-
|
|
1530
|
+
}, [["__scopeId", "data-v-5ce0f3c4"]]);
|
|
1581
1531
|
//#endregion
|
|
1582
|
-
export {
|
|
1532
|
+
export { He as n, Dt as t };
|