vue-data-ui 3.22.7 → 3.22.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-DaGI9u-b.js → Arrow-DdymhUfY.js} +1 -1
- package/dist/{BaseDraggableDialog-1wwwdwV2.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
- package/dist/{BaseIcon-_-BX7be3.js → BaseIcon-C2qlyHc7.js} +1 -1
- package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
- package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-C6zonwhr.js} +2 -2
- package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-CK2-h611.js} +2 -2
- package/dist/{DataTable-CVF7DoZn.js → DataTable-D9NvewTT.js} +2 -2
- package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-BHHNsVVP.js} +3 -3
- package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-DW7zwRcm.js} +1 -1
- package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-pcgwlYr2.js} +3 -3
- package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
- package/dist/{Slicer-6FOtg9py.js → Slicer-BZ5VnOOS.js} +19 -19
- package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-BQFeCw0m.js} +351 -351
- package/dist/{SparkTooltip-B-qsPj68.js → SparkTooltip-BTLN-Kex.js} +6 -6
- package/dist/{Title-PiTKr6sp.js → Title-CcNiYzEo.js} +1 -1
- package/dist/{Tooltip-B8yYfISA.js → Tooltip-CxOrWlFy.js} +1 -1
- package/dist/{UserOptions-BL9VlHop.js → UserOptions-16uF1ayB.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BZjYWNEg.js → dom-to-png-BbwhsRIr.js} +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +19 -0
- package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
- package/dist/{img-B_abIg0o.js → img-DnP3eXuv.js} +1 -1
- package/dist/{labelUtils-CTDRZdP1.js → labelUtils-DBEh078l.js} +1 -1
- package/dist/{lib-EAmk-PgA.js → lib-JqW18y5I.js} +36 -30
- package/dist/{package-DeMimPej.js → package-gp9pYCfN.js} +1 -1
- package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
- package/dist/{render-common-DMai0gHB.js → render-common-CLn1VXJ9.js} +20 -20
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/utils.d.ts +18 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-CyOGrdD_.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
- package/dist/{useNestedProp-D8XqxgOU.js → useNestedProp-DIuuzG1r.js} +1 -1
- package/dist/{usePrinter-DnGzpp6Q.js → usePrinter-CqqHmnBI.js} +2 -2
- package/dist/utils.js +24 -24
- package/dist/{vue-data-ui-D6qVWloL.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-B3HxJmDI.js +1757 -0
- package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-YyosvEPo.js} +3 -3
- package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
- package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-CfJXeAOE.js} +67 -67
- package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
- package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
- package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
- package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
- package/dist/vue-ui-chestnut-RfWMGUD-.js +2010 -0
- package/dist/vue-ui-chord-Db1O_diJ.js +1391 -0
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
- package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
- package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-DL3zq0F2.js} +43 -43
- package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
- package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-ThFVNO3l.js} +3 -3
- package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BuTd6dt4.js} +201 -201
- package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-C3Rt6j-I.js} +592 -592
- package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-DY46UPF_.js} +442 -442
- package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-wK7vUB0x.js} +238 -238
- package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-BTUNfWb7.js} +119 -119
- package/dist/{vue-ui-funnel-BEZUEuuh.js → vue-ui-funnel-BhoHzyHa.js} +162 -162
- package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-DJ2uNYcN.js} +342 -342
- package/dist/{vue-ui-gauge-B1ljgfE1.js → vue-ui-gauge-Cf4NqvrO.js} +55 -55
- package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-ovHu_Sc9.js} +14 -14
- package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-DDxEj-qe.js} +62 -62
- package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-Npqnvb1r.js} +163 -163
- package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-C3Kjy2tc.js} +371 -371
- package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
- package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
- package/dist/{vue-ui-mini-loader-DPHzHsM7.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
- package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
- package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-DlVh6hwx.js} +45 -45
- package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
- package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +1416 -0
- package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-ByVg-NBs.js} +58 -58
- package/dist/vue-ui-quick-chart-WMzSJxGZ.js +2469 -0
- package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-DE-me6OC.js} +79 -79
- package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
- package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-L7-dTqet.js} +167 -167
- package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
- package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
- package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
- package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
- package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-D4NnZ1mg.js} +16 -16
- package/dist/{vue-ui-spark-trend-DfZeLiWA.js → vue-ui-spark-trend-C38ysZ-c.js} +99 -99
- package/dist/{vue-ui-sparkbar-Cl1e49sw.js → vue-ui-sparkbar-B03ndcUe.js} +30 -30
- package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-DgPc4vPT.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-ny_liYa6.js → vue-ui-sparkhistogram-D02ff7ZI.js} +72 -72
- package/dist/vue-ui-sparkline-DlTfNQj8.js +1547 -0
- package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DrmiWFlw.js} +110 -110
- package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-BVdApDnY.js} +82 -82
- package/dist/{vue-ui-stackline-CdvVPQUM.js → vue-ui-stackline-QzQQ7lTy.js} +636 -636
- package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
- package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-Q3brrivC.js} +62 -62
- package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
- package/dist/vue-ui-table-sparkline-Q6BHPKUn.js +712 -0
- package/dist/{vue-ui-thermometer-BUrtIfuo.js → vue-ui-thermometer-Bg0RR6m4.js} +115 -115
- package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-BdzKpoRj.js} +5 -5
- package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-DWb69ofh.js} +13 -13
- package/dist/{vue-ui-treemap-LMWiicop.js → vue-ui-treemap-uUz07Prw.js} +457 -457
- package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
- package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DTfvWYA7.js} +130 -130
- package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-DqfljAqH.js} +27 -27
- package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
- package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-Bvgy2do1.js} +714 -714
- package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-D5KsuNR2.js} +116 -116
- package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-BfgeE3TW.js} +58 -58
- package/package.json +1 -1
- package/dist/exposedLib-Be0ifkti.js +0 -19
- package/dist/vue-ui-3d-bar-CjNuWXoA.js +0 -1757
- package/dist/vue-ui-age-pyramid-CC7Dxli-.js +0 -1238
- package/dist/vue-ui-bullet-Dde6FhbR.js +0 -710
- package/dist/vue-ui-bump-C5pni1JV.js +0 -1249
- package/dist/vue-ui-candlestick-Ctw65O4_.js +0 -1829
- package/dist/vue-ui-carousel-table-BEUvhUH0.js +0 -455
- package/dist/vue-ui-chestnut-C3IbAdkQ.js +0 -2010
- package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
- package/dist/vue-ui-circle-pack-Cq4lkmee.js +0 -1608
- package/dist/vue-ui-horizontal-bar-CTW6l4n3.js +0 -1683
- package/dist/vue-ui-molecule-aD0SMTiX.js +0 -925
- package/dist/vue-ui-nested-donuts--BCPWkl7.js +0 -1487
- package/dist/vue-ui-onion-s4iMCGAP.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +0 -1416
- package/dist/vue-ui-quick-chart-D1OWBgQJ.js +0 -2469
- package/dist/vue-ui-rating-Bek8Tgr-.js +0 -343
- package/dist/vue-ui-ridgeline-DIODGiu8.js +0 -1622
- package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
- package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
- package/dist/vue-ui-sparkline-BNxdO-Bx.js +0 -1547
- package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
- package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
- package/dist/vue-ui-waffle-B_L3gkky.js +0 -1362
- package/dist/vue-ui-world-B7npRmTa.js +0 -14264
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as t, Et as n, G as r, J as i, Kt as a, Rt as o, T as s, Z as ee, dt as te, h as ne, i as c, kt as re, q as l, t as ie, v as ae } from "./lib-JqW18y5I.js";
|
|
3
3
|
import { t as oe } from "./useConfig-DYM3f6EI.js";
|
|
4
|
-
import { t as se } from "./usePrinter-
|
|
4
|
+
import { t as se } from "./usePrinter-CqqHmnBI.js";
|
|
5
5
|
import { n as ce, t as le } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as ue } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as de } from "./useNestedProp-
|
|
7
|
+
import { t as de } from "./useNestedProp-DIuuzG1r.js";
|
|
8
8
|
import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as pe } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
10
|
-
import { t as me } from "./img-
|
|
11
|
-
import { n as he } from "./Title-
|
|
10
|
+
import { t as me } from "./img-DnP3eXuv.js";
|
|
11
|
+
import { n as he } from "./Title-CcNiYzEo.js";
|
|
12
12
|
import { t as ge } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { c as _e } from "./canvas-lib-BOP_HS11.js";
|
|
14
14
|
import { t as ve } from "./useResponsive-BfnK0KxU.js";
|
|
15
15
|
import { t as ye } from "./A11yDataTable-DdRsVULz.js";
|
|
16
16
|
import { t as be } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
17
|
import { t as xe } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
|
-
import { t as Se } from "./Legend-
|
|
18
|
+
import { t as Se } from "./Legend-ROt6ugzW.js";
|
|
19
19
|
import { t as Ce } from "./vue_ui_dumbbell-Bfe_jFyi.js";
|
|
20
|
-
import { Fragment as u, Teleport as we, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Te, createTextVNode as Ee, createVNode as De, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Oe, nextTick as ke, normalizeClass as Ae, normalizeProps as v, normalizeStyle as
|
|
20
|
+
import { Fragment as u, Teleport as we, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Te, createTextVNode as Ee, createVNode as De, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Oe, nextTick as ke, normalizeClass as Ae, normalizeProps as v, normalizeStyle as je, onBeforeUnmount as Me, onMounted as Ne, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as Pe, shallowRef as Fe, toDisplayString as C, toRefs as Ie, unref as w, vShow as T, watch as Le, watchEffect as Re, withCtx as E, withDirectives as D } from "vue";
|
|
21
21
|
//#region src/components/vue-ui-dumbbell.vue
|
|
22
22
|
var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He = ["id"], Ue = { style: { position: "relative" } }, We = [
|
|
23
23
|
"xmlns",
|
|
@@ -178,14 +178,14 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
178
178
|
},
|
|
179
179
|
emits: ["selectDatapoint", "copyAlt"],
|
|
180
180
|
setup(e, { expose: ge, emit: ze }) {
|
|
181
|
-
let Xt = g(() => import("./BaseIcon-
|
|
181
|
+
let Xt = g(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), Zt = g(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), Qt = g(() => import("./DataTable-D9NvewTT.js")), $t = g(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), en = g(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), tn = g(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), nn = g(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_dumbbell: rn } = oe(), { isThemeValid: an, warnInvalidTheme: on } = fe(), O = e, sn = ze, cn = d({
|
|
182
182
|
get() {
|
|
183
183
|
return !!O.dataset && O.dataset.length;
|
|
184
184
|
},
|
|
185
185
|
set(e) {
|
|
186
186
|
return e;
|
|
187
187
|
}
|
|
188
|
-
}), k =
|
|
188
|
+
}), k = b(r()), ln = b(0), A = b(null), un = b(null), dn = b(null), fn = b(null), pn = b(null), mn = b(0), hn = b(0), gn = b(0), _n = b(!1), j = b(null), vn = b(null), yn = b(!1), bn = b(!1), xn = b(null), Sn = b(null), Cn = b(null), wn = b(null), M = b(null), N = b(null), P = b(null), Tn = b(!1), F = b(!1), I = b(Nn()), L = d(() => I.value.userOptions.useCursorPointer), En = d(() => a({
|
|
189
189
|
defaultConfig: {
|
|
190
190
|
userOptions: { show: !1 },
|
|
191
191
|
table: { show: !1 },
|
|
@@ -223,7 +223,7 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
223
223
|
},
|
|
224
224
|
userConfig: I.value.skeletonConfig ?? {}
|
|
225
225
|
})), { loading: Dn, FINAL_DATASET: On, manualLoading: kn } = ce({
|
|
226
|
-
...
|
|
226
|
+
...Ie(O),
|
|
227
227
|
FINAL_CONFIG: I,
|
|
228
228
|
prepareConfig: Nn,
|
|
229
229
|
skeletonDataset: O.config?.skeletonDataset ?? [
|
|
@@ -253,7 +253,7 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
253
253
|
end: 5
|
|
254
254
|
}
|
|
255
255
|
],
|
|
256
|
-
skeletonConfig:
|
|
256
|
+
skeletonConfig: a({
|
|
257
257
|
defaultConfig: I.value,
|
|
258
258
|
userConfig: En.value
|
|
259
259
|
})
|
|
@@ -277,20 +277,20 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
277
277
|
Le(() => O.config, (e) => {
|
|
278
278
|
Dn.value || (I.value = Nn()), An.value = !I.value.userOptions.showOnChartHover, Fn(), mn.value += 1, hn.value += 1, gn.value += 1, W.value = I.value.style.chart.rowHeight, G.value = I.value.style.chart.width, V.value.showTable = I.value.table.show;
|
|
279
279
|
}, { deep: !0 }), Le(() => On.value, (e) => {
|
|
280
|
-
Array.isArray(e) && e.length > 0 && (kn.value = !1),
|
|
280
|
+
Array.isArray(e) && e.length > 0 && (kn.value = !1), Jn(), Yn();
|
|
281
281
|
}, { deep: !0 });
|
|
282
|
-
let z =
|
|
283
|
-
|
|
282
|
+
let z = Fe(null), B = Fe(null);
|
|
283
|
+
Ne(() => {
|
|
284
284
|
_n.value = !0, Fn();
|
|
285
285
|
});
|
|
286
286
|
let Pn = d(() => !!I.value.debug);
|
|
287
287
|
function Fn() {
|
|
288
|
-
if (
|
|
288
|
+
if (re(O.dataset) ? t({
|
|
289
289
|
componentName: "VueUiDumbbell",
|
|
290
290
|
type: "dataset",
|
|
291
291
|
debug: Pn.value
|
|
292
|
-
}) : O.dataset.forEach((e,
|
|
293
|
-
|
|
292
|
+
}) : O.dataset.forEach((e, n) => {
|
|
293
|
+
te({
|
|
294
294
|
datasetObject: e,
|
|
295
295
|
requiredAttributes: [
|
|
296
296
|
"name",
|
|
@@ -298,11 +298,11 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
298
298
|
"end"
|
|
299
299
|
]
|
|
300
300
|
}).forEach((e) => {
|
|
301
|
-
cn.value = !1,
|
|
301
|
+
cn.value = !1, t({
|
|
302
302
|
componentName: "VueUiDumbbell",
|
|
303
303
|
type: "datasetSerieAttribute",
|
|
304
304
|
property: e,
|
|
305
|
-
index:
|
|
305
|
+
index: n,
|
|
306
306
|
debug: Pn.value
|
|
307
307
|
});
|
|
308
308
|
});
|
|
@@ -316,36 +316,36 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
316
316
|
noTitle: pn.value
|
|
317
317
|
}), n = I.value.style.chart.title.text ? 24 : 0, r = I.value.style.chart.legend.show ? 24 : 0;
|
|
318
318
|
requestAnimationFrame(async () => {
|
|
319
|
-
G.value = Math.max(.1, e), W.value = Math.max(.1, (Math.max(.1, t) - (n + r)) / On.value.length),
|
|
319
|
+
G.value = Math.max(.1, e), W.value = Math.max(.1, (Math.max(.1, t) - (n + r)) / On.value.length), cr();
|
|
320
320
|
});
|
|
321
321
|
});
|
|
322
322
|
z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect()), z.value = new ResizeObserver(e), B.value = A.value.parentNode, z.value.observe(B.value);
|
|
323
323
|
}
|
|
324
|
-
|
|
324
|
+
cr();
|
|
325
325
|
}
|
|
326
|
-
|
|
327
|
-
|
|
326
|
+
Me(() => {
|
|
327
|
+
X.value != null && (cancelAnimationFrame(X.value), X.value = null), z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect());
|
|
328
328
|
});
|
|
329
329
|
let { isPrinting: In, isImaging: Ln, generatePdf: Rn, generateImage: zn } = se({
|
|
330
330
|
elementId: `dumbbell_${k.value}`,
|
|
331
331
|
fileName: I.value.style.chart.title.text || "vue-ui-dumbbell",
|
|
332
332
|
options: I.value.userOptions.print
|
|
333
|
-
}), Bn = d(() => I.value.userOptions.show && !I.value.style.chart.title.text), V =
|
|
333
|
+
}), Bn = d(() => I.value.userOptions.show && !I.value.style.chart.title.text), V = b({ showTable: I.value.table.show });
|
|
334
334
|
Le(I, () => {
|
|
335
335
|
V.value = { showTable: I.value.table.show };
|
|
336
336
|
}, { immediate: !0 });
|
|
337
337
|
let H = d(() => On.value.map((e, t) => ({
|
|
338
338
|
...e,
|
|
339
|
-
start:
|
|
340
|
-
end:
|
|
341
|
-
id: e.id ?? `${String(e.name)}__${String(e.start)}__${String(e.end)}__${
|
|
339
|
+
start: ae(e.start),
|
|
340
|
+
end: ae(e.end),
|
|
341
|
+
id: e.id ?? `${String(e.name)}__${String(e.start)}__${String(e.end)}__${r()}`
|
|
342
342
|
}))), Vn = d(() => {
|
|
343
343
|
let e = I.value.style.chart.grid, t = H.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;
|
|
344
344
|
return {
|
|
345
345
|
min: e.scaleMin ?? Math.min(n, 0),
|
|
346
346
|
max: e.scaleMax ?? r
|
|
347
347
|
};
|
|
348
|
-
}), U = d(() =>
|
|
348
|
+
}), U = d(() => ne(Vn.value.min, Vn.value.max, I.value.style.chart.grid.scaleSteps)), W = b(I.value.style.chart.rowHeight), G = b(I.value.style.chart.width);
|
|
349
349
|
function Hn() {
|
|
350
350
|
let e = 0;
|
|
351
351
|
Sn.value && (e = Array.from(Sn.value.querySelectorAll("text")).reduce((e, t) => {
|
|
@@ -355,7 +355,7 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
355
355
|
let t = xn.value ? xn.value.getBoundingClientRect().width : 0;
|
|
356
356
|
return e + t + (t ? 24 + I.value.style.chart.labels.axis.yLabelOffsetX : 0);
|
|
357
357
|
}
|
|
358
|
-
let Un =
|
|
358
|
+
let Un = b(0), Wn = _e((e) => {
|
|
359
359
|
Un.value = e;
|
|
360
360
|
}, 100);
|
|
361
361
|
Re((e) => {
|
|
@@ -365,7 +365,7 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
365
365
|
Wn(e[0].contentRect.height);
|
|
366
366
|
});
|
|
367
367
|
n.observe(t), e(() => n.disconnect());
|
|
368
|
-
}),
|
|
368
|
+
}), Me(() => {
|
|
369
369
|
Un.value = 0;
|
|
370
370
|
});
|
|
371
371
|
let Gn = d(() => {
|
|
@@ -395,17 +395,17 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
395
395
|
absoluteHeight: a,
|
|
396
396
|
widthPlotReference: s
|
|
397
397
|
};
|
|
398
|
-
}), q = d(() => Math.min(W.value / 2 * .7, I.value.style.chart.plots.radius)),
|
|
398
|
+
}), q = d(() => Math.min(W.value / 2 * .7, I.value.style.chart.plots.radius)), J = b([]), Y = d({
|
|
399
399
|
get() {
|
|
400
400
|
let e = K.value, t = U.value;
|
|
401
|
-
return
|
|
402
|
-
let i = qn(n.start, t, e), a = qn(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),
|
|
401
|
+
return J.value.map((n, r) => {
|
|
402
|
+
let i = qn(n.start, t, e), a = qn(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), ne = s ? I.value.style.chart.plots.evaluationColors.positive : ee ? I.value.style.chart.plots.evaluationColors.negative : I.value.style.chart.plots.evaluationColors.neutral;
|
|
403
403
|
return {
|
|
404
404
|
...n,
|
|
405
405
|
isPositive: s,
|
|
406
406
|
isNegative: ee,
|
|
407
407
|
isNeutral: te,
|
|
408
|
-
evaluationColor:
|
|
408
|
+
evaluationColor: ne,
|
|
409
409
|
evaluationGrad: `url(#${s ? "positive" : ee ? "negative" : "neutral"}_grad_${k.value})`,
|
|
410
410
|
startX: i,
|
|
411
411
|
endX: a,
|
|
@@ -415,11 +415,11 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
415
415
|
});
|
|
416
416
|
},
|
|
417
417
|
set(e) {
|
|
418
|
-
|
|
418
|
+
J.value = e;
|
|
419
419
|
}
|
|
420
420
|
});
|
|
421
|
-
function
|
|
422
|
-
|
|
421
|
+
function Jn() {
|
|
422
|
+
J.value = H.value.map((e) => {
|
|
423
423
|
let t = Number(e.start);
|
|
424
424
|
return {
|
|
425
425
|
...e,
|
|
@@ -427,13 +427,13 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
427
427
|
};
|
|
428
428
|
});
|
|
429
429
|
}
|
|
430
|
-
let
|
|
431
|
-
|
|
432
|
-
|
|
430
|
+
let X = b(null);
|
|
431
|
+
Ne(() => {
|
|
432
|
+
Yn();
|
|
433
433
|
});
|
|
434
|
-
function
|
|
435
|
-
if (
|
|
436
|
-
|
|
434
|
+
function Yn() {
|
|
435
|
+
if (X.value != null && (cancelAnimationFrame(X.value), X.value = null), Jn(), !I.value.useAnimation) {
|
|
436
|
+
Y.value = J.value.map((e) => {
|
|
437
437
|
let t = Number(e.end);
|
|
438
438
|
return {
|
|
439
439
|
...e,
|
|
@@ -447,17 +447,17 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
447
447
|
return (Number.isFinite(n) ? n : r) - r;
|
|
448
448
|
}), n = () => {
|
|
449
449
|
let r = !0;
|
|
450
|
-
|
|
450
|
+
Y.value = J.value.map((n, i) => {
|
|
451
451
|
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);
|
|
452
452
|
return s !== a && (r = !1), {
|
|
453
453
|
...n,
|
|
454
454
|
endVal: s
|
|
455
455
|
};
|
|
456
|
-
}), r ?
|
|
456
|
+
}), r ? X.value = null : X.value = requestAnimationFrame(n);
|
|
457
457
|
};
|
|
458
|
-
|
|
458
|
+
X.value = requestAnimationFrame(n);
|
|
459
459
|
}
|
|
460
|
-
let
|
|
460
|
+
let Xn = d(() => I.value.style.chart.plots.evaluationColors.enable ? [
|
|
461
461
|
{
|
|
462
462
|
name: I.value.style.chart.legend.labelNegative,
|
|
463
463
|
color: I.value.style.chart.plots.gradient.show ? `url(#negative_grad_${k.value})` : I.value.style.chart.plots.evaluationColors.negative
|
|
@@ -476,7 +476,7 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
476
476
|
}, {
|
|
477
477
|
name: I.value.style.chart.legend.labelEnd,
|
|
478
478
|
color: I.value.style.chart.plots.gradient.show ? `url(#end_grad_${k.value})` : I.value.style.chart.plots.endColor
|
|
479
|
-
}]),
|
|
479
|
+
}]), Zn = d(() => ({
|
|
480
480
|
cy: "donut-div-legend",
|
|
481
481
|
backgroundColor: I.value.style.chart.legend.backgroundColor,
|
|
482
482
|
color: I.value.style.chart.legend.color,
|
|
@@ -484,31 +484,31 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
484
484
|
paddingBottom: 12,
|
|
485
485
|
paddingTop: 12,
|
|
486
486
|
fontWeight: I.value.style.chart.legend.bold ? "bold" : ""
|
|
487
|
-
})),
|
|
488
|
-
head:
|
|
489
|
-
body:
|
|
487
|
+
})), Z = d(() => ({
|
|
488
|
+
head: Y.value.map((e) => ({ name: e.name })),
|
|
489
|
+
body: Y.value.map((e) => ({
|
|
490
490
|
start: e.start,
|
|
491
491
|
end: e.end
|
|
492
492
|
}))
|
|
493
|
-
})),
|
|
493
|
+
})), Q = d(() => {
|
|
494
494
|
let e = [
|
|
495
495
|
I.value.table.columnNames.series,
|
|
496
496
|
I.value.table.columnNames.start,
|
|
497
497
|
I.value.table.columnNames.end,
|
|
498
498
|
I.value.table.columnNames.progression
|
|
499
|
-
], t =
|
|
500
|
-
let n =
|
|
499
|
+
], t = Z.value.head.map((e, t) => {
|
|
500
|
+
let n = i({
|
|
501
501
|
p: I.value.style.chart.labels.prefix,
|
|
502
|
-
v:
|
|
502
|
+
v: Z.value.body[t].start,
|
|
503
503
|
s: I.value.style.chart.labels.suffix,
|
|
504
504
|
r: I.value.table.td.roundingValue
|
|
505
|
-
}), r =
|
|
505
|
+
}), r = i({
|
|
506
506
|
p: I.value.style.chart.labels.prefix,
|
|
507
|
-
v:
|
|
507
|
+
v: Z.value.body[t].end,
|
|
508
508
|
s: I.value.style.chart.labels.suffix,
|
|
509
509
|
r: I.value.table.td.roundingValue
|
|
510
|
-
}),
|
|
511
|
-
v: 100 * (
|
|
510
|
+
}), a = i({
|
|
511
|
+
v: 100 * (Z.value.body[t].end / Z.value.body[t].start - 1),
|
|
512
512
|
s: "%",
|
|
513
513
|
r: I.value.table.td.roundingPercentage
|
|
514
514
|
});
|
|
@@ -516,7 +516,7 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
516
516
|
{ name: e.name },
|
|
517
517
|
n,
|
|
518
518
|
r,
|
|
519
|
-
|
|
519
|
+
a
|
|
520
520
|
];
|
|
521
521
|
}), n = {
|
|
522
522
|
th: {
|
|
@@ -543,13 +543,13 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
543
543
|
config: n
|
|
544
544
|
};
|
|
545
545
|
});
|
|
546
|
-
function
|
|
546
|
+
function Qn(e = null) {
|
|
547
547
|
ke(() => {
|
|
548
|
-
let t =
|
|
548
|
+
let t = Z.value.head.map((e, t) => [
|
|
549
549
|
[e.name],
|
|
550
|
-
[
|
|
551
|
-
[
|
|
552
|
-
]), n =
|
|
550
|
+
[Z.value.body[t].start],
|
|
551
|
+
[Z.value.body[t].end]
|
|
552
|
+
]), n = s([
|
|
553
553
|
[I.value.style.chart.title.text],
|
|
554
554
|
[I.value.style.chart.title.subtitle.text],
|
|
555
555
|
[
|
|
@@ -564,21 +564,21 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
564
564
|
});
|
|
565
565
|
});
|
|
566
566
|
}
|
|
567
|
-
let
|
|
568
|
-
function
|
|
569
|
-
|
|
567
|
+
let $ = b(!1);
|
|
568
|
+
function $n(e) {
|
|
569
|
+
$.value = e, ln.value += 1;
|
|
570
570
|
}
|
|
571
|
-
function
|
|
571
|
+
function er() {
|
|
572
572
|
return H.value;
|
|
573
573
|
}
|
|
574
|
-
function
|
|
574
|
+
function tr() {
|
|
575
575
|
V.value.showTable = !V.value.showTable;
|
|
576
576
|
}
|
|
577
|
-
let
|
|
578
|
-
function
|
|
579
|
-
|
|
577
|
+
let nr = b(!1);
|
|
578
|
+
function rr() {
|
|
579
|
+
nr.value = !nr.value;
|
|
580
580
|
}
|
|
581
|
-
async function
|
|
581
|
+
async function ir({ scale: e = 2 } = {}) {
|
|
582
582
|
if (!A.value) return;
|
|
583
583
|
let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await me({
|
|
584
584
|
domElement: A.value,
|
|
@@ -595,13 +595,13 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
595
595
|
aspectRatio: r
|
|
596
596
|
};
|
|
597
597
|
}
|
|
598
|
-
let
|
|
598
|
+
let ar = d(() => U.value.ticks);
|
|
599
599
|
pe({
|
|
600
600
|
timeLabelsEls: Cn,
|
|
601
|
-
timeLabels:
|
|
601
|
+
timeLabels: ar,
|
|
602
602
|
slicer: d(() => ({
|
|
603
603
|
start: 0,
|
|
604
|
-
end:
|
|
604
|
+
end: ar.value.length
|
|
605
605
|
})),
|
|
606
606
|
configRef: I,
|
|
607
607
|
rotationPath: [
|
|
@@ -625,12 +625,12 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
625
625
|
targetClass: ".vue-ui-dumbbell-scale-label",
|
|
626
626
|
rotation: I.value.style.chart.labels.xAxisLabels.autoRotate.angle
|
|
627
627
|
});
|
|
628
|
-
function
|
|
628
|
+
function or({ rowHeight: e, fontSize: t, showProgression: n }) {
|
|
629
629
|
if (!n) return !1;
|
|
630
630
|
let r = e / 3, i = e / 1.3;
|
|
631
631
|
return Math.abs(i - r) < t * 1.2;
|
|
632
632
|
}
|
|
633
|
-
let
|
|
633
|
+
let sr = (() => {
|
|
634
634
|
let e = null, t = 0;
|
|
635
635
|
return (n) => {
|
|
636
636
|
if (n === F.value) {
|
|
@@ -639,10 +639,10 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
639
639
|
}
|
|
640
640
|
e === null || e !== n ? (e = n, t = 1) : (t += 1, t >= 1 && (F.value = n, e = null, t = 0));
|
|
641
641
|
};
|
|
642
|
-
})(),
|
|
642
|
+
})(), cr = _e(() => {
|
|
643
643
|
requestAnimationFrame(() => {
|
|
644
644
|
requestAnimationFrame(() => {
|
|
645
|
-
|
|
645
|
+
sr(or({
|
|
646
646
|
rowHeight: K.value.rowHeight,
|
|
647
647
|
fontSize: I.value.style.chart.labels.yAxisLabels.fontSize,
|
|
648
648
|
showProgression: I.value.style.chart.labels.yAxisLabels.showProgression
|
|
@@ -650,19 +650,19 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
650
650
|
});
|
|
651
651
|
});
|
|
652
652
|
}, 100);
|
|
653
|
-
function
|
|
653
|
+
function lr({ datapoint: e, seriesIndex: t }) {
|
|
654
654
|
M.value = t, N.value = e, I.value.events.datapointEnter && I.value.events.datapointEnter({
|
|
655
655
|
datapoint: e,
|
|
656
656
|
seriesIndex: t
|
|
657
657
|
});
|
|
658
658
|
}
|
|
659
|
-
function
|
|
659
|
+
function ur({ datapoint: e, seriesIndex: t }) {
|
|
660
660
|
M.value = null, N.value = null, I.value.events.datapointLeave && I.value.events.datapointLeave({
|
|
661
661
|
datapoint: e,
|
|
662
662
|
seriesIndex: t
|
|
663
663
|
});
|
|
664
664
|
}
|
|
665
|
-
function
|
|
665
|
+
function dr({ datapoint: e, seriesIndex: t }) {
|
|
666
666
|
I.value.events.datapointClick && I.value.events.datapointClick({
|
|
667
667
|
datapoint: e,
|
|
668
668
|
seriesIndex: t
|
|
@@ -671,14 +671,14 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
671
671
|
seriesIndex: t
|
|
672
672
|
});
|
|
673
673
|
}
|
|
674
|
-
let
|
|
674
|
+
let fr = d(() => {
|
|
675
675
|
if (N.value === null) return 0;
|
|
676
676
|
let e = ![null, void 0].includes(N.value.start), t = ![null, void 0].includes(N.value.end);
|
|
677
677
|
return e && t ? Math.min(N.value.startX, N.value.endX) + Math.abs(N.value.startX - N.value.endX) / 2 : e && !t ? N.value.startX : t && !e ? N.value.endX : null;
|
|
678
|
-
}),
|
|
678
|
+
}), pr = d(() => {
|
|
679
679
|
if (N.value === null) return "";
|
|
680
680
|
let e = ![null, void 0].includes(N.value.start), t = ![null, void 0].includes(N.value.end), n = "", r = "";
|
|
681
|
-
return e && (n = c(I.value.style.chart.labels.formatter, N.value.start,
|
|
681
|
+
return e && (n = c(I.value.style.chart.labels.formatter, N.value.start, i({
|
|
682
682
|
p: I.value.style.chart.labels.prefix,
|
|
683
683
|
v: N.value.start,
|
|
684
684
|
s: I.value.style.chart.labels.suffix,
|
|
@@ -686,7 +686,7 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
686
686
|
}), {
|
|
687
687
|
datapoint: N.value,
|
|
688
688
|
seriesIndex: M.value
|
|
689
|
-
})), t && (r = c(I.value.style.chart.labels.formatter, N.value.end,
|
|
689
|
+
})), t && (r = c(I.value.style.chart.labels.formatter, N.value.end, i({
|
|
690
690
|
p: I.value.style.chart.labels.prefix,
|
|
691
691
|
v: N.value.end,
|
|
692
692
|
s: I.value.style.chart.labels.suffix,
|
|
@@ -695,7 +695,7 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
695
695
|
datapoint: N.value,
|
|
696
696
|
seriesIndex: M.value
|
|
697
697
|
})), e && t ? `${n} → ${r}` : e && !t ? n : t && !e ? r : "";
|
|
698
|
-
}),
|
|
698
|
+
}), mr = d(() => {
|
|
699
699
|
let e = I.value.table.useDialog && !I.value.table.show, t = V.value.showTable;
|
|
700
700
|
return {
|
|
701
701
|
component: e ? nn : Zt,
|
|
@@ -705,7 +705,7 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
705
705
|
color: I.value.table.th.color,
|
|
706
706
|
headerColor: I.value.table.th.color,
|
|
707
707
|
headerBg: I.value.table.th.backgroundColor,
|
|
708
|
-
isFullscreen:
|
|
708
|
+
isFullscreen: $.value,
|
|
709
709
|
fullscreenParent: A.value,
|
|
710
710
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
711
711
|
isCursorPointer: L.value
|
|
@@ -732,7 +732,7 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
732
732
|
function hr() {
|
|
733
733
|
V.value.showTable = !1, vn.value && vn.value.setTableIconState(!1);
|
|
734
734
|
}
|
|
735
|
-
let gr = d(() =>
|
|
735
|
+
let gr = d(() => Xn.value.map((e) => ({
|
|
736
736
|
...e,
|
|
737
737
|
shape: "circle"
|
|
738
738
|
}))), _r = d(() => I.value.style.chart.backgroundColor), vr = d(() => I.value.style.chart.legend), { exportSvg: yr, getSvg: br } = ue({
|
|
@@ -772,24 +772,24 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
772
772
|
async function Cr() {
|
|
773
773
|
if (sn("copyAlt", {
|
|
774
774
|
config: I.value,
|
|
775
|
-
dataset:
|
|
775
|
+
dataset: Y.value
|
|
776
776
|
}), !I.value.userOptions.callbacks.altCopy) {
|
|
777
777
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
778
778
|
return;
|
|
779
779
|
}
|
|
780
780
|
await Promise.resolve(I.value.userOptions.callbacks.altCopy({
|
|
781
781
|
config: I.value,
|
|
782
|
-
dataset:
|
|
782
|
+
dataset: Y.value
|
|
783
783
|
}));
|
|
784
784
|
}
|
|
785
785
|
function wr(e) {
|
|
786
|
-
let t =
|
|
786
|
+
let t = Y.value.length;
|
|
787
787
|
return t ? (e % t + t) % t : null;
|
|
788
788
|
}
|
|
789
789
|
function Tr() {
|
|
790
790
|
if (P.value !== null) {
|
|
791
|
-
let e =
|
|
792
|
-
e &&
|
|
791
|
+
let e = Y.value[P.value];
|
|
792
|
+
e && ur({
|
|
793
793
|
datapoint: e,
|
|
794
794
|
seriesIndex: P.value
|
|
795
795
|
});
|
|
@@ -803,7 +803,7 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
803
803
|
Tr(), Tn.value = !1;
|
|
804
804
|
}
|
|
805
805
|
function Or(e) {
|
|
806
|
-
if (!R.value ||
|
|
806
|
+
if (!R.value || nr.value || document.activeElement !== R.value || !Y.value.length) return;
|
|
807
807
|
let t = ["ArrowUp", "ArrowLeft"].includes(e.key), n = ["ArrowDown", "ArrowRight"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
808
808
|
if (!t && !n && !r && !i) return;
|
|
809
809
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
@@ -812,25 +812,25 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
812
812
|
}
|
|
813
813
|
if (r) {
|
|
814
814
|
if (P.value === null) return;
|
|
815
|
-
let e =
|
|
815
|
+
let e = Y.value[P.value];
|
|
816
816
|
if (!e) return;
|
|
817
|
-
|
|
817
|
+
dr({
|
|
818
818
|
datapoint: e,
|
|
819
819
|
seriesIndex: P.value
|
|
820
820
|
});
|
|
821
821
|
return;
|
|
822
822
|
}
|
|
823
823
|
let a = P.value;
|
|
824
|
-
a = a === null ? n ? 0 :
|
|
825
|
-
let o =
|
|
826
|
-
o && (P.value = a,
|
|
824
|
+
a = a === null ? n ? 0 : Y.value.length - 1 : wr(a + (n ? 1 : -1));
|
|
825
|
+
let o = Y.value[a];
|
|
826
|
+
o && (P.value = a, lr({
|
|
827
827
|
datapoint: o,
|
|
828
828
|
seriesIndex: a
|
|
829
829
|
}));
|
|
830
830
|
}
|
|
831
831
|
let kr = d(() => ({
|
|
832
|
-
head:
|
|
833
|
-
body:
|
|
832
|
+
head: Q.value.head,
|
|
833
|
+
body: Q.value.body.map((e) => [
|
|
834
834
|
e[0]?.name ?? "",
|
|
835
835
|
e[1],
|
|
836
836
|
e[2],
|
|
@@ -840,30 +840,30 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
840
840
|
notice: I.value.a11y.translations.tableAvailable
|
|
841
841
|
}));
|
|
842
842
|
return ge({
|
|
843
|
-
getData:
|
|
844
|
-
getImage:
|
|
843
|
+
getData: er,
|
|
844
|
+
getImage: ir,
|
|
845
845
|
generatePdf: Rn,
|
|
846
|
-
generateCsv:
|
|
846
|
+
generateCsv: Qn,
|
|
847
847
|
generateImage: zn,
|
|
848
848
|
generateSvg: xr,
|
|
849
|
-
toggleTable:
|
|
850
|
-
toggleAnnotator:
|
|
851
|
-
toggleFullscreen:
|
|
849
|
+
toggleTable: tr,
|
|
850
|
+
toggleAnnotator: rr,
|
|
851
|
+
toggleFullscreen: $n,
|
|
852
852
|
copyAlt: Cr
|
|
853
|
-
}), (e, t) => (
|
|
853
|
+
}), (e, t) => (y(), m("div", {
|
|
854
854
|
ref_key: "dumbbellChart",
|
|
855
855
|
ref: A,
|
|
856
|
-
class: Ae(`vue-data-ui-component vue-ui-dumbbell ${
|
|
857
|
-
style:
|
|
856
|
+
class: Ae(`vue-data-ui-component vue-ui-dumbbell ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
857
|
+
style: je(`font-family:${I.value.style.fontFamily};width:100%; text-align:center;background:${I.value.style.chart.backgroundColor};${I.value.responsive ? "height:100%" : ""}`),
|
|
858
858
|
id: `dumbbell_${k.value}`,
|
|
859
|
-
onMouseenter: t[1] ||= () =>
|
|
860
|
-
onMouseleave: t[2] ||= () =>
|
|
859
|
+
onMouseenter: t[1] ||= () => w(jn)(!0),
|
|
860
|
+
onMouseleave: t[2] ||= () => w(jn)(!1)
|
|
861
861
|
}, [
|
|
862
862
|
h("div", {
|
|
863
863
|
id: `chart-instructions-${k.value}`,
|
|
864
864
|
class: "sr-only"
|
|
865
|
-
}, [h("p", null,
|
|
866
|
-
kr.value.body.length ? (
|
|
865
|
+
}, [h("p", null, C(I.value.a11y.translations.keyboardNavigation), 1)], 8, Ve),
|
|
866
|
+
kr.value.body.length ? (y(), f(ye, {
|
|
867
867
|
key: 0,
|
|
868
868
|
uid: k.value,
|
|
869
869
|
head: kr.value.head,
|
|
@@ -877,21 +877,21 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
877
877
|
"caption",
|
|
878
878
|
"notice"
|
|
879
879
|
])) : p("", !0),
|
|
880
|
-
I.value.userOptions.buttons.annotator ? (
|
|
880
|
+
I.value.userOptions.buttons.annotator ? (y(), f(w($t), {
|
|
881
881
|
key: 1,
|
|
882
|
-
svgRef:
|
|
882
|
+
svgRef: w(R),
|
|
883
883
|
backgroundColor: I.value.style.chart.backgroundColor,
|
|
884
884
|
color: I.value.style.chart.color,
|
|
885
|
-
active:
|
|
885
|
+
active: nr.value,
|
|
886
886
|
isCursorPointer: L.value,
|
|
887
|
-
onClose:
|
|
887
|
+
onClose: rr
|
|
888
888
|
}, {
|
|
889
|
-
"annotator-action-close": E(() => [
|
|
890
|
-
"annotator-action-color": E(({ color: t }) => [
|
|
891
|
-
"annotator-action-draw": E(({ mode: t }) => [
|
|
892
|
-
"annotator-action-undo": E(({ disabled: t }) => [
|
|
893
|
-
"annotator-action-redo": E(({ disabled: t }) => [
|
|
894
|
-
"annotator-action-delete": E(({ disabled: t }) => [
|
|
889
|
+
"annotator-action-close": E(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
890
|
+
"annotator-action-color": E(({ color: t }) => [S(e.$slots, "annotator-action-color", v(_({ color: t })), void 0, !0)]),
|
|
891
|
+
"annotator-action-draw": E(({ mode: t }) => [S(e.$slots, "annotator-action-draw", v(_({ mode: t })), void 0, !0)]),
|
|
892
|
+
"annotator-action-undo": E(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", v(_({ disabled: t })), void 0, !0)]),
|
|
893
|
+
"annotator-action-redo": E(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", v(_({ disabled: t })), void 0, !0)]),
|
|
894
|
+
"annotator-action-delete": E(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", v(_({ disabled: t })), void 0, !0)]),
|
|
895
895
|
_: 3
|
|
896
896
|
}, 8, [
|
|
897
897
|
"svgRef",
|
|
@@ -900,19 +900,19 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
900
900
|
"active",
|
|
901
901
|
"isCursorPointer"
|
|
902
902
|
])) : p("", !0),
|
|
903
|
-
Bn.value ? (
|
|
903
|
+
Bn.value ? (y(), m("div", {
|
|
904
904
|
key: 2,
|
|
905
905
|
ref_key: "noTitle",
|
|
906
906
|
ref: pn,
|
|
907
907
|
class: "vue-data-ui-no-title-space",
|
|
908
908
|
style: "height:36px; width: 100%;background:transparent"
|
|
909
909
|
}, null, 512)) : p("", !0),
|
|
910
|
-
I.value.style.chart.title.text ? (
|
|
910
|
+
I.value.style.chart.title.text ? (y(), m("div", {
|
|
911
911
|
key: 3,
|
|
912
912
|
ref_key: "chartTitle",
|
|
913
913
|
ref: un,
|
|
914
914
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
915
|
-
}, [(
|
|
915
|
+
}, [(y(), f(he, {
|
|
916
916
|
key: `title_${mn.value}`,
|
|
917
917
|
config: {
|
|
918
918
|
title: {
|
|
@@ -926,14 +926,14 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
926
926
|
}
|
|
927
927
|
}, null, 8, ["config"]))], 512)) : p("", !0),
|
|
928
928
|
h("div", { id: `legend-top-${k.value}` }, null, 8, He),
|
|
929
|
-
I.value.userOptions.show && cn.value && (
|
|
929
|
+
I.value.userOptions.show && cn.value && (w(Mn) || w(An)) ? (y(), f(w(en), {
|
|
930
930
|
ref_key: "userOptionsRef",
|
|
931
931
|
ref: vn,
|
|
932
932
|
key: `user_option_${ln.value}`,
|
|
933
933
|
backgroundColor: I.value.style.chart.backgroundColor,
|
|
934
934
|
color: I.value.style.chart.color,
|
|
935
|
-
isPrinting:
|
|
936
|
-
isImaging:
|
|
935
|
+
isPrinting: w(In),
|
|
936
|
+
isImaging: w(Ln),
|
|
937
937
|
uid: k.value,
|
|
938
938
|
hasPdf: I.value.userOptions.buttons.pdf,
|
|
939
939
|
hasXls: I.value.userOptions.buttons.csv,
|
|
@@ -942,29 +942,29 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
942
942
|
hasTable: I.value.userOptions.buttons.table,
|
|
943
943
|
hasFullscreen: I.value.userOptions.buttons.fullscreen,
|
|
944
944
|
hasAltCopy: I.value.userOptions.buttons.altCopy,
|
|
945
|
-
isFullscreen:
|
|
945
|
+
isFullscreen: $.value,
|
|
946
946
|
titles: { ...I.value.userOptions.buttonTitles },
|
|
947
947
|
chartElement: A.value,
|
|
948
948
|
position: I.value.userOptions.position,
|
|
949
949
|
hasAnnotator: I.value.userOptions.buttons.annotator,
|
|
950
|
-
isAnnotation:
|
|
950
|
+
isAnnotation: nr.value,
|
|
951
951
|
callbacks: I.value.userOptions.callbacks,
|
|
952
952
|
printScale: I.value.userOptions.print.scale,
|
|
953
953
|
tableDialog: I.value.table.useDialog,
|
|
954
954
|
isCursorPointer: L.value,
|
|
955
|
-
onToggleFullscreen:
|
|
956
|
-
onGeneratePdf:
|
|
957
|
-
onGenerateCsv:
|
|
955
|
+
onToggleFullscreen: $n,
|
|
956
|
+
onGeneratePdf: w(Rn),
|
|
957
|
+
onGenerateCsv: Qn,
|
|
958
958
|
onGenerateImage: Sr,
|
|
959
959
|
onGenerateSvg: xr,
|
|
960
|
-
onToggleTable:
|
|
961
|
-
onToggleAnnotator:
|
|
960
|
+
onToggleTable: tr,
|
|
961
|
+
onToggleAnnotator: rr,
|
|
962
962
|
onCopyAlt: Cr,
|
|
963
|
-
style:
|
|
963
|
+
style: je({ visibility: w(Mn) ? w(An) ? "visible" : "hidden" : "visible" })
|
|
964
964
|
}, Te({ _: 2 }, [
|
|
965
965
|
e.$slots.menuIcon ? {
|
|
966
966
|
name: "menuIcon",
|
|
967
|
-
fn: E(({ isOpen: t, color: n }) => [
|
|
967
|
+
fn: E(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", v(_({
|
|
968
968
|
isOpen: t,
|
|
969
969
|
color: n
|
|
970
970
|
})), void 0, !0)]),
|
|
@@ -972,32 +972,32 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
972
972
|
} : void 0,
|
|
973
973
|
e.$slots.optionPdf ? {
|
|
974
974
|
name: "optionPdf",
|
|
975
|
-
fn: E(() => [
|
|
975
|
+
fn: E(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
976
976
|
key: "1"
|
|
977
977
|
} : void 0,
|
|
978
978
|
e.$slots.optionCsv ? {
|
|
979
979
|
name: "optionCsv",
|
|
980
|
-
fn: E(() => [
|
|
980
|
+
fn: E(() => [S(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
981
981
|
key: "2"
|
|
982
982
|
} : void 0,
|
|
983
983
|
e.$slots.optionImg ? {
|
|
984
984
|
name: "optionImg",
|
|
985
|
-
fn: E(() => [
|
|
985
|
+
fn: E(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
986
986
|
key: "3"
|
|
987
987
|
} : void 0,
|
|
988
988
|
e.$slots.optionSvg ? {
|
|
989
989
|
name: "optionSvg",
|
|
990
|
-
fn: E(() => [
|
|
990
|
+
fn: E(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
991
991
|
key: "4"
|
|
992
992
|
} : void 0,
|
|
993
993
|
e.$slots.optionTable ? {
|
|
994
994
|
name: "optionTable",
|
|
995
|
-
fn: E(() => [
|
|
995
|
+
fn: E(() => [S(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
996
996
|
key: "5"
|
|
997
997
|
} : void 0,
|
|
998
998
|
e.$slots.optionFullscreen ? {
|
|
999
999
|
name: "optionFullscreen",
|
|
1000
|
-
fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [
|
|
1000
|
+
fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", v(_({
|
|
1001
1001
|
toggleFullscreen: t,
|
|
1002
1002
|
isFullscreen: n
|
|
1003
1003
|
})), void 0, !0)]),
|
|
@@ -1005,7 +1005,7 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1005
1005
|
} : void 0,
|
|
1006
1006
|
e.$slots.optionAnnotator ? {
|
|
1007
1007
|
name: "optionAnnotator",
|
|
1008
|
-
fn: E(({ toggleAnnotator: t, isAnnotator: n }) => [
|
|
1008
|
+
fn: E(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", v(_({
|
|
1009
1009
|
toggleAnnotator: t,
|
|
1010
1010
|
isAnnotator: n
|
|
1011
1011
|
})), void 0, !0)]),
|
|
@@ -1013,17 +1013,17 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1013
1013
|
} : void 0,
|
|
1014
1014
|
e.$slots.optionAltCopy ? {
|
|
1015
1015
|
name: "optionAltCopy",
|
|
1016
|
-
fn: E(({ altCopy: t }) => [
|
|
1016
|
+
fn: E(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", v(_({ altCopy: t })), void 0, !0)]),
|
|
1017
1017
|
key: "8"
|
|
1018
1018
|
} : void 0,
|
|
1019
1019
|
e.$slots["custom-menu-before"] ? {
|
|
1020
1020
|
name: "custom-menu-before",
|
|
1021
|
-
fn: E(() => [
|
|
1021
|
+
fn: E(() => [S(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1022
1022
|
key: "9"
|
|
1023
1023
|
} : void 0,
|
|
1024
1024
|
e.$slots["custom-menu-after"] ? {
|
|
1025
1025
|
name: "custom-menu-after",
|
|
1026
|
-
fn: E(() => [
|
|
1026
|
+
fn: E(() => [S(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1027
1027
|
key: "10"
|
|
1028
1028
|
} : void 0
|
|
1029
1029
|
]), 1032, [
|
|
@@ -1052,32 +1052,32 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1052
1052
|
"onGeneratePdf",
|
|
1053
1053
|
"style"
|
|
1054
1054
|
])) : p("", !0),
|
|
1055
|
-
h("div", Ue, [(
|
|
1055
|
+
h("div", Ue, [(y(), m("svg", {
|
|
1056
1056
|
ref_key: "svgRef",
|
|
1057
1057
|
ref: R,
|
|
1058
|
-
xmlns:
|
|
1058
|
+
xmlns: w(ie),
|
|
1059
1059
|
class: Ae({
|
|
1060
|
-
"vue-data-ui-fullscreen--on":
|
|
1061
|
-
"vue-data-ui-fulscreen--off":
|
|
1060
|
+
"vue-data-ui-fullscreen--on": $.value,
|
|
1061
|
+
"vue-data-ui-fulscreen--off": !$.value
|
|
1062
1062
|
}),
|
|
1063
1063
|
viewBox: `0 0 ${G.value} ${K.value.absoluteHeight <= 0 ? 10 : K.value.absoluteHeight}`,
|
|
1064
|
-
style:
|
|
1064
|
+
style: je(`max-width:100%; overflow: visible; background:transparent;color:${I.value.style.chart.color}`),
|
|
1065
1065
|
"aria-describedby": `chart-instructions-${k.value}`,
|
|
1066
1066
|
tabindex: "0",
|
|
1067
1067
|
onFocus: Er,
|
|
1068
1068
|
onBlur: Dr,
|
|
1069
1069
|
onKeydown: Or
|
|
1070
1070
|
}, [
|
|
1071
|
-
De(
|
|
1072
|
-
e.$slots["chart-background"] ? (
|
|
1071
|
+
De(w(tn)),
|
|
1072
|
+
e.$slots["chart-background"] ? (y(), m("foreignObject", {
|
|
1073
1073
|
key: 0,
|
|
1074
1074
|
x: K.value.left,
|
|
1075
1075
|
y: K.value.top,
|
|
1076
1076
|
width: Math.max(.1, K.value.width),
|
|
1077
1077
|
height: Math.max(.1, K.value.height),
|
|
1078
1078
|
style: { pointerEvents: "none" }
|
|
1079
|
-
}, [
|
|
1080
|
-
I.value.style.chart.grid.verticalGrid.show ? (
|
|
1079
|
+
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, Ge)) : p("", !0),
|
|
1080
|
+
I.value.style.chart.grid.verticalGrid.show ? (y(), m("g", Ke, [(y(!0), m(u, null, x(U.value.ticks, (e, t) => (y(), m("line", {
|
|
1081
1081
|
x1: K.value.left + t * K.value.width / (U.value.ticks.length - 1),
|
|
1082
1082
|
x2: K.value.left + t * K.value.width / (U.value.ticks.length - 1),
|
|
1083
1083
|
y1: K.value.top,
|
|
@@ -1086,7 +1086,7 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1086
1086
|
"stroke-width": I.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
1087
1087
|
"stroke-dasharray": I.value.style.chart.grid.verticalGrid.strokeDasharray
|
|
1088
1088
|
}, null, 8, qe))), 256))])) : p("", !0),
|
|
1089
|
-
I.value.style.chart.grid.horizontalGrid.show ? (
|
|
1089
|
+
I.value.style.chart.grid.horizontalGrid.show ? (y(), m("g", Je, [(y(!0), m(u, null, x(H.value, (e, t) => (y(), m("line", {
|
|
1090
1090
|
x1: K.value.left,
|
|
1091
1091
|
x2: K.value.right,
|
|
1092
1092
|
y1: K.value.top + t * K.value.rowHeight,
|
|
@@ -1103,7 +1103,7 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1103
1103
|
"stroke-width": I.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
1104
1104
|
"stroke-dasharray": I.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
1105
1105
|
}, null, 8, Xe)])) : p("", !0),
|
|
1106
|
-
I.value.style.chart.labels.axis.yLabel ? (
|
|
1106
|
+
I.value.style.chart.labels.axis.yLabel ? (y(), m("text", {
|
|
1107
1107
|
key: 3,
|
|
1108
1108
|
ref_key: "yAxisLabel",
|
|
1109
1109
|
ref: xn,
|
|
@@ -1111,12 +1111,12 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1111
1111
|
"font-size": I.value.style.chart.labels.axis.fontSize,
|
|
1112
1112
|
fill: I.value.style.chart.labels.axis.color,
|
|
1113
1113
|
"text-anchor": "middle"
|
|
1114
|
-
},
|
|
1115
|
-
I.value.style.chart.labels.yAxisLabels.show ? (
|
|
1114
|
+
}, C(I.value.style.chart.labels.axis.yLabel), 9, Ze)) : p("", !0),
|
|
1115
|
+
I.value.style.chart.labels.yAxisLabels.show ? (y(), m("g", {
|
|
1116
1116
|
key: 4,
|
|
1117
1117
|
ref_key: "serieLabels",
|
|
1118
1118
|
ref: Sn
|
|
1119
|
-
}, [(
|
|
1119
|
+
}, [(y(!0), m(u, null, x(Y.value, (e, t) => (y(), m("text", {
|
|
1120
1120
|
class: "vue-ui-dumbbell-serie-name",
|
|
1121
1121
|
key: `serieLabel_${e.id}_${t}`,
|
|
1122
1122
|
x: K.value.left - 6 + I.value.style.chart.labels.yAxisLabels.offsetX,
|
|
@@ -1125,47 +1125,47 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1125
1125
|
fill: I.value.style.chart.labels.yAxisLabels.color,
|
|
1126
1126
|
"font-weight": I.value.style.chart.labels.yAxisLabels.bold ? "bold" : "normal",
|
|
1127
1127
|
"text-anchor": "end",
|
|
1128
|
-
onMouseenter: (n) =>
|
|
1128
|
+
onMouseenter: (n) => lr({
|
|
1129
1129
|
datapoint: e,
|
|
1130
1130
|
seriesIndex: t
|
|
1131
1131
|
}),
|
|
1132
|
-
onMouseleave: (n) =>
|
|
1132
|
+
onMouseleave: (n) => ur({
|
|
1133
1133
|
datapoint: e,
|
|
1134
1134
|
seriesIndex: t
|
|
1135
1135
|
}),
|
|
1136
|
-
onClick: (n) =>
|
|
1136
|
+
onClick: (n) => dr({
|
|
1137
1137
|
datapoint: e,
|
|
1138
1138
|
seriesIndex: t
|
|
1139
1139
|
})
|
|
1140
|
-
},
|
|
1140
|
+
}, C(e.name) + " " + C(F.value && I.value.style.chart.labels.yAxisLabels.showProgression ? [null, void 0].includes(e.start) || [null, void 0].includes(e.end) ? "" : `(${w(c)(I.value.style.chart.labels.yAxisLabels.formatter, 100 * (e.end / e.start - 1), w(i)({
|
|
1141
1141
|
v: 100 * (e.end / e.start - 1),
|
|
1142
1142
|
s: "%",
|
|
1143
1143
|
r: I.value.style.chart.labels.yAxisLabels.rounding
|
|
1144
|
-
}), { datapoint: e })})` : ""), 41, Qe))), 128)), I.value.style.chart.labels.yAxisLabels.showProgression && !F.value ? (
|
|
1144
|
+
}), { datapoint: e })})` : ""), 41, Qe))), 128)), I.value.style.chart.labels.yAxisLabels.showProgression && !F.value ? (y(!0), m(u, { key: 0 }, x(Y.value, (e, t) => (y(), m("text", {
|
|
1145
1145
|
class: "vue-ui-dumbbell-serie-value",
|
|
1146
1146
|
x: K.value.left - 6 + I.value.style.chart.labels.yAxisLabels.offsetX,
|
|
1147
1147
|
y: K.value.top + t * K.value.rowHeight + K.value.rowHeight / 1.3 + I.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
1148
1148
|
"font-size": I.value.style.chart.labels.yAxisLabels.fontSize,
|
|
1149
1149
|
fill: I.value.style.chart.labels.yAxisLabels.color,
|
|
1150
1150
|
"text-anchor": "end",
|
|
1151
|
-
onMouseenter: (n) =>
|
|
1151
|
+
onMouseenter: (n) => lr({
|
|
1152
1152
|
datapoint: e,
|
|
1153
1153
|
seriesIndex: t
|
|
1154
1154
|
}),
|
|
1155
|
-
onMouseleave: (n) =>
|
|
1155
|
+
onMouseleave: (n) => ur({
|
|
1156
1156
|
datapoint: e,
|
|
1157
1157
|
seriesIndex: t
|
|
1158
1158
|
}),
|
|
1159
|
-
onClick: (n) =>
|
|
1159
|
+
onClick: (n) => dr({
|
|
1160
1160
|
datapoint: e,
|
|
1161
1161
|
seriesIndex: t
|
|
1162
1162
|
})
|
|
1163
|
-
},
|
|
1163
|
+
}, C([null, void 0].includes(e.start) || [null, void 0].includes(e.end) ? "" : w(c)(I.value.style.chart.labels.yAxisLabels.formatter, 100 * (e.end / e.start - 1), w(i)({
|
|
1164
1164
|
v: 100 * (e.end / e.start - 1),
|
|
1165
1165
|
s: "%",
|
|
1166
1166
|
r: I.value.style.chart.labels.yAxisLabels.rounding
|
|
1167
1167
|
}), { datapoint: e })), 41, $e))), 256)) : p("", !0)], 512)) : p("", !0),
|
|
1168
|
-
I.value.style.chart.labels.axis.xLabel ? (
|
|
1168
|
+
I.value.style.chart.labels.axis.xLabel ? (y(), m("text", {
|
|
1169
1169
|
key: 5,
|
|
1170
1170
|
ref_key: "xAxisLabel",
|
|
1171
1171
|
ref: wn,
|
|
@@ -1174,12 +1174,12 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1174
1174
|
"font-size": I.value.style.chart.labels.axis.fontSize,
|
|
1175
1175
|
fill: I.value.style.chart.labels.axis.color,
|
|
1176
1176
|
"text-anchor": "middle"
|
|
1177
|
-
},
|
|
1178
|
-
I.value.style.chart.labels.xAxisLabels.show ? (
|
|
1177
|
+
}, C(I.value.style.chart.labels.axis.xLabel), 9, et)) : p("", !0),
|
|
1178
|
+
I.value.style.chart.labels.xAxisLabels.show ? (y(), m("g", {
|
|
1179
1179
|
key: 6,
|
|
1180
1180
|
ref_key: "scaleLabels",
|
|
1181
1181
|
ref: Cn
|
|
1182
|
-
}, [(
|
|
1182
|
+
}, [(y(!0), m(u, null, x(U.value.ticks, (e, t) => (y(), m("text", {
|
|
1183
1183
|
class: "vue-ui-dumbbell-scale-label",
|
|
1184
1184
|
key: `tick_${t}`,
|
|
1185
1185
|
transform: `translate(${K.value.left + t * (K.value.width / (U.value.ticks.length - 1))}, ${K.value.bottom + I.value.style.chart.labels.xAxisLabels.fontSize + I.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${I.value.style.chart.labels.xAxisLabels.rotation})`,
|
|
@@ -1187,7 +1187,7 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1187
1187
|
fill: I.value.style.chart.labels.xAxisLabels.color,
|
|
1188
1188
|
"font-weight": I.value.style.chart.labels.xAxisLabels.bold ? "bold" : "normal",
|
|
1189
1189
|
"text-anchor": I.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : I.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle"
|
|
1190
|
-
}, w(
|
|
1190
|
+
}, C(w(c)(I.value.style.chart.labels.formatter, e, w(i)({
|
|
1191
1191
|
p: I.value.style.chart.labels.prefix,
|
|
1192
1192
|
v: e,
|
|
1193
1193
|
s: I.value.style.chart.labels.suffix,
|
|
@@ -1203,30 +1203,30 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1203
1203
|
"stroke-width": I.value.style.chart.comparisonLines.strokeWidth,
|
|
1204
1204
|
"stroke-dasharray": I.value.style.chart.comparisonLines.strokeDasharray,
|
|
1205
1205
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1206
|
-
}, null, 8, nt), [[
|
|
1206
|
+
}, null, 8, nt), [[T, N.value !== null && ![null, void 0].includes(N.value.start)]]),
|
|
1207
1207
|
D(h("path", {
|
|
1208
1208
|
d: `M ${N.value ? N.value.endX : K.value.left},${K.value.top} ${N.value ? N.value.endX : K.value.left},${K.value.bottom}`,
|
|
1209
1209
|
stroke: N.value ? I.value.style.chart.plots.evaluationColors.enable ? N.value.evaluationColor : I.value.style.chart.plots.endColor : "transparent",
|
|
1210
1210
|
"stroke-width": I.value.style.chart.comparisonLines.strokeWidth,
|
|
1211
1211
|
"stroke-dasharray": I.value.style.chart.comparisonLines.strokeDasharray,
|
|
1212
1212
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1213
|
-
}, null, 8, rt), [[
|
|
1213
|
+
}, null, 8, rt), [[T, N.value !== null && ![null, void 0].includes(N.value.end)]]),
|
|
1214
1214
|
D(h("rect", {
|
|
1215
1215
|
x: N.value ? Math.min(N.value.startX, N.value.endX) : K.value.left,
|
|
1216
1216
|
y: K.value.top,
|
|
1217
1217
|
height: Math.max(.1, K.value.height),
|
|
1218
1218
|
width: N.value ? Math.max(.1, Math.abs(N.value.endX - N.value.startX)) : 0,
|
|
1219
|
-
fill: N.value ?
|
|
1219
|
+
fill: N.value ? w(o)(I.value.style.chart.comparisonLines.rectColor, I.value.style.chart.comparisonLines.rectOpacity) : "transparent",
|
|
1220
1220
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1221
|
-
}, null, 8, it), [[
|
|
1221
|
+
}, null, 8, it), [[T, I.value.style.chart.comparisonLines.showRect && N.value !== null && ![null, void 0].includes(N.value.start) && ![null, void 0].includes(N.value.end)]]),
|
|
1222
1222
|
D(h("text", {
|
|
1223
|
-
transform: `translate(${
|
|
1223
|
+
transform: `translate(${fr.value == null ? 0 : fr.value}, ${K.value.top - 6})`,
|
|
1224
1224
|
fill: I.value.style.chart.comparisonLines.labelColor,
|
|
1225
1225
|
"font-size": I.value.style.chart.comparisonLines.labelFontSize,
|
|
1226
1226
|
"text-anchor": "middle",
|
|
1227
1227
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1228
|
-
},
|
|
1229
|
-
], 512), [[
|
|
1228
|
+
}, C(pr.value), 9, at), [[T, N.value !== null && fr.value !== null && I.value.style.chart.comparisonLines.showLabel]])
|
|
1229
|
+
], 512), [[T, I.value.style.chart.comparisonLines.show && M.value !== null]]),
|
|
1230
1230
|
h("defs", null, [
|
|
1231
1231
|
h("radialGradient", {
|
|
1232
1232
|
id: `start_grad_${k.value}`,
|
|
@@ -1234,11 +1234,11 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1234
1234
|
}, [
|
|
1235
1235
|
h("stop", {
|
|
1236
1236
|
offset: "10%",
|
|
1237
|
-
"stop-color":
|
|
1237
|
+
"stop-color": w(n)(I.value.style.chart.plots.startColor, I.value.style.chart.plots.gradient.intensity / 100)
|
|
1238
1238
|
}, null, 8, st),
|
|
1239
1239
|
h("stop", {
|
|
1240
1240
|
offset: "90%",
|
|
1241
|
-
"stop-color":
|
|
1241
|
+
"stop-color": w(l)(I.value.style.chart.plots.startColor, .1)
|
|
1242
1242
|
}, null, 8, ct),
|
|
1243
1243
|
h("stop", {
|
|
1244
1244
|
offset: "100%",
|
|
@@ -1251,11 +1251,11 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1251
1251
|
}, [
|
|
1252
1252
|
h("stop", {
|
|
1253
1253
|
offset: "10%",
|
|
1254
|
-
"stop-color":
|
|
1254
|
+
"stop-color": w(n)(I.value.style.chart.plots.endColor, I.value.style.chart.plots.gradient.intensity / 100)
|
|
1255
1255
|
}, null, 8, dt),
|
|
1256
1256
|
h("stop", {
|
|
1257
1257
|
offset: "90%",
|
|
1258
|
-
"stop-color":
|
|
1258
|
+
"stop-color": w(l)(I.value.style.chart.plots.endColor, .1)
|
|
1259
1259
|
}, null, 8, ft),
|
|
1260
1260
|
h("stop", {
|
|
1261
1261
|
offset: "100%",
|
|
@@ -1268,11 +1268,11 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1268
1268
|
}, [
|
|
1269
1269
|
h("stop", {
|
|
1270
1270
|
offset: "10%",
|
|
1271
|
-
"stop-color":
|
|
1271
|
+
"stop-color": w(n)(I.value.style.chart.plots.evaluationColors.positive, I.value.style.chart.plots.gradient.intensity / 100)
|
|
1272
1272
|
}, null, 8, ht),
|
|
1273
1273
|
h("stop", {
|
|
1274
1274
|
offset: "90%",
|
|
1275
|
-
"stop-color":
|
|
1275
|
+
"stop-color": w(l)(I.value.style.chart.plots.evaluationColors.positive, .1)
|
|
1276
1276
|
}, null, 8, gt),
|
|
1277
1277
|
h("stop", {
|
|
1278
1278
|
offset: "100%",
|
|
@@ -1285,11 +1285,11 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1285
1285
|
}, [
|
|
1286
1286
|
h("stop", {
|
|
1287
1287
|
offset: "10%",
|
|
1288
|
-
"stop-color":
|
|
1288
|
+
"stop-color": w(n)(I.value.style.chart.plots.evaluationColors.negative, I.value.style.chart.plots.gradient.intensity / 100)
|
|
1289
1289
|
}, null, 8, yt),
|
|
1290
1290
|
h("stop", {
|
|
1291
1291
|
offset: "90%",
|
|
1292
|
-
"stop-color":
|
|
1292
|
+
"stop-color": w(l)(I.value.style.chart.plots.evaluationColors.negative, .1)
|
|
1293
1293
|
}, null, 8, bt),
|
|
1294
1294
|
h("stop", {
|
|
1295
1295
|
offset: "100%",
|
|
@@ -1302,11 +1302,11 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1302
1302
|
}, [
|
|
1303
1303
|
h("stop", {
|
|
1304
1304
|
offset: "10%",
|
|
1305
|
-
"stop-color":
|
|
1305
|
+
"stop-color": w(n)(I.value.style.chart.plots.evaluationColors.neutral, I.value.style.chart.plots.gradient.intensity / 100)
|
|
1306
1306
|
}, null, 8, Ct),
|
|
1307
1307
|
h("stop", {
|
|
1308
1308
|
offset: "90%",
|
|
1309
|
-
"stop-color":
|
|
1309
|
+
"stop-color": w(l)(I.value.style.chart.plots.evaluationColors.neutral, .1)
|
|
1310
1310
|
}, null, 8, wt),
|
|
1311
1311
|
h("stop", {
|
|
1312
1312
|
offset: "100%",
|
|
@@ -1314,7 +1314,7 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1314
1314
|
}, null, 8, Tt)
|
|
1315
1315
|
], 8, St)
|
|
1316
1316
|
]),
|
|
1317
|
-
(
|
|
1317
|
+
(y(!0), m(u, null, x(Y.value, (e, t) => (y(), m("g", { key: `plot_${t}_${e.id}` }, [
|
|
1318
1318
|
h("defs", null, [h("linearGradient", {
|
|
1319
1319
|
id: `grad_pos_${k.value}`,
|
|
1320
1320
|
x1: "0%",
|
|
@@ -1340,7 +1340,7 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1340
1340
|
offset: "100%",
|
|
1341
1341
|
"stop-color": I.value.style.chart.plots.startColor
|
|
1342
1342
|
}, null, 8, jt)], 8, kt)]),
|
|
1343
|
-
![void 0, null].includes(e.end) && ![void 0, null].includes(e.start) ? (
|
|
1343
|
+
![void 0, null].includes(e.end) && ![void 0, null].includes(e.start) ? (y(), m("g", Mt, [I.value.style.chart.plots.link.type === "curved" ? (y(), m("g", Nt, [h("path", {
|
|
1344
1344
|
d: `M
|
|
1345
1345
|
${e.startX},${e.y + q.value / 2}
|
|
1346
1346
|
C ${e.centerX},${e.y} ${e.centerX},${e.y}
|
|
@@ -1351,14 +1351,14 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1351
1351
|
Z
|
|
1352
1352
|
`,
|
|
1353
1353
|
fill: I.value.style.chart.plots.evaluationColors.enable ? e.evaluationColor : e.endX > e.startX ? `url(#grad_pos_${k.value})` : `url(#grad_neg_${k.value})`
|
|
1354
|
-
}, null, 8, Pt)])) : (
|
|
1354
|
+
}, null, 8, Pt)])) : (y(), m("g", Ft, [h("rect", {
|
|
1355
1355
|
x: e.endX > e.startX ? e.startX : e.endX,
|
|
1356
1356
|
y: e.y - I.value.style.chart.plots.link.strokeWidth / 2,
|
|
1357
1357
|
height: Math.max(.01, I.value.style.chart.plots.link.strokeWidth),
|
|
1358
1358
|
width: Math.max(.01, Math.abs(e.endX - e.startX)),
|
|
1359
1359
|
fill: I.value.style.chart.plots.evaluationColors.enable ? e.evaluationColor : e.endX > e.startX ? `url(#grad_pos_${k.value})` : `url(#grad_neg_${k.value})`
|
|
1360
1360
|
}, null, 8, It)]))])) : p("", !0),
|
|
1361
|
-
[null, void 0].includes(e.start) ? p("", !0) : (
|
|
1361
|
+
[null, void 0].includes(e.start) ? p("", !0) : (y(), m("circle", {
|
|
1362
1362
|
key: 1,
|
|
1363
1363
|
cx: e.startX,
|
|
1364
1364
|
cy: e.y,
|
|
@@ -1367,7 +1367,7 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1367
1367
|
stroke: I.value.style.chart.plots.stroke,
|
|
1368
1368
|
"stroke-width": I.value.style.chart.plots.strokeWidth
|
|
1369
1369
|
}, null, 8, Lt)),
|
|
1370
|
-
[null, void 0].includes(e.end) ? p("", !0) : (
|
|
1370
|
+
[null, void 0].includes(e.end) ? p("", !0) : (y(), m("circle", {
|
|
1371
1371
|
key: 2,
|
|
1372
1372
|
cx: e.endX,
|
|
1373
1373
|
cy: e.y,
|
|
@@ -1377,14 +1377,14 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1377
1377
|
"stroke-width": I.value.style.chart.plots.strokeWidth
|
|
1378
1378
|
}, null, 8, Rt))
|
|
1379
1379
|
]))), 128)),
|
|
1380
|
-
I.value.style.chart.labels.startLabels.show ? (
|
|
1380
|
+
I.value.style.chart.labels.startLabels.show ? (y(), m("g", zt, [(y(!0), m(u, null, x(Y.value, (e, t) => (y(), m("g", { key: `start_label_${t}_${e.id}` }, [[null, void 0].includes(e.start) ? p("", !0) : (y(), m("text", {
|
|
1381
1381
|
key: 0,
|
|
1382
1382
|
x: e.startX,
|
|
1383
1383
|
y: e.y + q.value * 2 + I.value.style.chart.labels.startLabels.fontSize / 2,
|
|
1384
1384
|
fill: I.value.style.chart.plots.evaluationColors.enable && I.value.style.chart.labels.startLabels.useEvaluationColor ? e.evaluationColor : I.value.style.chart.labels.startLabels.useStartColor ? I.value.style.chart.plots.startColor : I.value.style.chart.labels.startLabels.color,
|
|
1385
1385
|
"font-size": I.value.style.chart.labels.startLabels.fontSize,
|
|
1386
1386
|
"text-anchor": "middle"
|
|
1387
|
-
}, w(
|
|
1387
|
+
}, C(w(c)(I.value.style.chart.labels.formatter, e.start, w(i)({
|
|
1388
1388
|
p: I.value.style.chart.labels.prefix,
|
|
1389
1389
|
v: e.start,
|
|
1390
1390
|
s: I.value.style.chart.labels.suffix,
|
|
@@ -1393,14 +1393,14 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1393
1393
|
datapoint: e,
|
|
1394
1394
|
seriesIndex: t
|
|
1395
1395
|
})), 9, Bt))]))), 128))])) : p("", !0),
|
|
1396
|
-
I.value.style.chart.labels.endLabels.show ? (
|
|
1396
|
+
I.value.style.chart.labels.endLabels.show ? (y(), m("g", Vt, [(y(!0), m(u, null, x(Y.value, (e, t) => (y(), m("g", { key: `end_label_${t}_${e.id}` }, [[null, void 0].includes(e.end) ? p("", !0) : (y(), m("text", {
|
|
1397
1397
|
key: 0,
|
|
1398
1398
|
x: e.endX,
|
|
1399
1399
|
y: e.y - (q.value * 2 - I.value.style.chart.labels.startLabels.fontSize / 3),
|
|
1400
1400
|
fill: I.value.style.chart.plots.evaluationColors.enable && I.value.style.chart.labels.endLabels.useEvaluationColor ? e.evaluationColor : I.value.style.chart.labels.endLabels.useEndColor ? I.value.style.chart.plots.endColor : I.value.style.chart.labels.endLabels.color,
|
|
1401
1401
|
"font-size": I.value.style.chart.labels.endLabels.fontSize,
|
|
1402
1402
|
"text-anchor": "middle"
|
|
1403
|
-
}, w(
|
|
1403
|
+
}, C(w(c)(I.value.style.chart.labels.formatter, e.end, w(i)({
|
|
1404
1404
|
p: I.value.style.chart.labels.prefix,
|
|
1405
1405
|
v: e.end,
|
|
1406
1406
|
s: I.value.style.chart.labels.suffix,
|
|
@@ -1409,50 +1409,50 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1409
1409
|
datapoint: e,
|
|
1410
1410
|
seriesIndex: t
|
|
1411
1411
|
})), 9, Ht))]))), 128))])) : p("", !0),
|
|
1412
|
-
h("g", null, [(
|
|
1412
|
+
h("g", null, [(y(!0), m(u, null, x(Y.value, (e, t) => (y(), m("rect", {
|
|
1413
1413
|
x: K.value.left,
|
|
1414
1414
|
y: K.value.top + t * Math.max(.1, K.value.rowHeight),
|
|
1415
1415
|
width: Math.max(.1, K.value.width),
|
|
1416
1416
|
height: Math.max(.1, K.value.rowHeight),
|
|
1417
|
-
fill: M.value === null ? "transparent" : M.value === t ?
|
|
1418
|
-
onMouseenter: (n) =>
|
|
1417
|
+
fill: M.value === null ? "transparent" : M.value === t ? w(o)(I.value.style.chart.highlighter.color, I.value.style.chart.highlighter.opacity) : "transparent",
|
|
1418
|
+
onMouseenter: (n) => lr({
|
|
1419
1419
|
datapoint: e,
|
|
1420
1420
|
seriesIndex: t
|
|
1421
1421
|
}),
|
|
1422
|
-
onMouseleave: (n) =>
|
|
1422
|
+
onMouseleave: (n) => ur({
|
|
1423
1423
|
datapoint: e,
|
|
1424
1424
|
seriesIndex: t
|
|
1425
1425
|
}),
|
|
1426
|
-
onClick: (n) =>
|
|
1426
|
+
onClick: (n) => dr({
|
|
1427
1427
|
datapoint: e,
|
|
1428
1428
|
seriesIndex: t
|
|
1429
1429
|
})
|
|
1430
1430
|
}, null, 40, Ut))), 256))]),
|
|
1431
|
-
|
|
1431
|
+
S(e.$slots, "svg", { svg: {
|
|
1432
1432
|
...K.value,
|
|
1433
|
-
isPrintingImg:
|
|
1433
|
+
isPrintingImg: w(In) || w(Ln) || yn.value,
|
|
1434
1434
|
isPrintingSvg: bn.value
|
|
1435
1435
|
} }, void 0, !0)
|
|
1436
|
-
], 46, We)), e.$slots.hint ? (
|
|
1436
|
+
], 46, We)), e.$slots.hint ? (y(), m("div", Wt, [S(e.$slots, "hint", v(_({
|
|
1437
1437
|
hint: I.value.a11y.translations.keyboardNavigation,
|
|
1438
1438
|
isVisible: Tn.value
|
|
1439
1439
|
})), void 0, !0)])) : p("", !0)]),
|
|
1440
|
-
e.$slots.watermark ? (
|
|
1440
|
+
e.$slots.watermark ? (y(), m("div", Gt, [S(e.$slots, "watermark", v(_({ isPrinting: w(In) || w(Ln) || yn.value || bn.value })), void 0, !0)])) : p("", !0),
|
|
1441
1441
|
h("div", { id: `legend-bottom-${k.value}` }, null, 8, Kt),
|
|
1442
|
-
_n.value && (I.value.style.chart.legend.show || e.$slots.legend) ? (
|
|
1442
|
+
_n.value && (I.value.style.chart.legend.show || e.$slots.legend) ? (y(), f(we, {
|
|
1443
1443
|
key: 6,
|
|
1444
1444
|
to: I.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
|
|
1445
1445
|
}, [h("div", {
|
|
1446
1446
|
ref_key: "chartLegend",
|
|
1447
1447
|
ref: dn
|
|
1448
|
-
}, [
|
|
1448
|
+
}, [S(e.$slots, "legend", { legend: Xn.value }, () => [I.value.style.chart.legend.show && cn.value ? (y(), f(Se, {
|
|
1449
1449
|
key: `legend_${gn.value}`,
|
|
1450
|
-
legendSet:
|
|
1451
|
-
config:
|
|
1450
|
+
legendSet: Xn.value,
|
|
1451
|
+
config: Zn.value,
|
|
1452
1452
|
clickable: !1
|
|
1453
1453
|
}, {
|
|
1454
|
-
item: E(({ legend: e }) => [h("div", { style:
|
|
1455
|
-
xmlns:
|
|
1454
|
+
item: E(({ legend: e }) => [h("div", { style: je(`display:flex;align-items:center;gap:4px;font-size:${I.value.style.chart.legend.fontSize}px`) }, [(y(), m("svg", {
|
|
1455
|
+
xmlns: w(ie),
|
|
1456
1456
|
viewBox: "0 0 20 20",
|
|
1457
1457
|
height: I.value.style.chart.legend.fontSize,
|
|
1458
1458
|
width: I.value.style.chart.legend.fontSize
|
|
@@ -1461,27 +1461,27 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1461
1461
|
cy: 10,
|
|
1462
1462
|
r: 9,
|
|
1463
1463
|
fill: e.color
|
|
1464
|
-
}, null, 8, Jt)], 8, qt)),
|
|
1464
|
+
}, null, 8, Jt)], 8, qt)), w(Dn) ? p("", !0) : (y(), m(u, { key: 0 }, [Ee(C(e.name), 1)], 64))], 4)]),
|
|
1465
1465
|
_: 1
|
|
1466
1466
|
}, 8, ["legendSet", "config"])) : p("", !0)], !0)], 512)], 8, ["to"])) : p("", !0),
|
|
1467
|
-
e.$slots.source ? (
|
|
1467
|
+
e.$slots.source ? (y(), m("div", {
|
|
1468
1468
|
key: 7,
|
|
1469
1469
|
ref_key: "source",
|
|
1470
1470
|
ref: fn,
|
|
1471
1471
|
dir: "auto"
|
|
1472
|
-
}, [
|
|
1473
|
-
cn.value && I.value.userOptions.buttons.table ? (
|
|
1472
|
+
}, [S(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
1473
|
+
cn.value && I.value.userOptions.buttons.table ? (y(), f(Pe(mr.value.component), Oe({ key: 8 }, mr.value.props, {
|
|
1474
1474
|
ref_key: "tableUnit",
|
|
1475
1475
|
ref: j,
|
|
1476
1476
|
onClose: hr
|
|
1477
1477
|
}), Te({
|
|
1478
|
-
content: E(() => [(
|
|
1478
|
+
content: E(() => [(y(), f(w(Qt), {
|
|
1479
1479
|
key: `table_${hn.value}`,
|
|
1480
|
-
colNames:
|
|
1481
|
-
head:
|
|
1482
|
-
body:
|
|
1483
|
-
config:
|
|
1484
|
-
title: I.value.table.useDialog ? "" :
|
|
1480
|
+
colNames: Q.value.colNames,
|
|
1481
|
+
head: Q.value.head,
|
|
1482
|
+
body: Q.value.body,
|
|
1483
|
+
config: Q.value.config,
|
|
1484
|
+
title: I.value.table.useDialog ? "" : mr.value.title,
|
|
1485
1485
|
withCloseButton: !I.value.table.useDialog,
|
|
1486
1486
|
isCursorPointer: L.value,
|
|
1487
1487
|
onClose: hr
|
|
@@ -1493,7 +1493,7 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1493
1493
|
"align-items": "center"
|
|
1494
1494
|
}
|
|
1495
1495
|
}, null, 8, Yt)]),
|
|
1496
|
-
td: E(({ td: e }) => [Ee(
|
|
1496
|
+
td: E(({ td: e }) => [Ee(C(e.name || e), 1)]),
|
|
1497
1497
|
_: 1
|
|
1498
1498
|
}, 8, [
|
|
1499
1499
|
"colNames",
|
|
@@ -1507,22 +1507,22 @@ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He
|
|
|
1507
1507
|
_: 2
|
|
1508
1508
|
}, [I.value.table.useDialog ? {
|
|
1509
1509
|
name: "title",
|
|
1510
|
-
fn: E(() => [Ee(
|
|
1510
|
+
fn: E(() => [Ee(C(mr.value.title), 1)]),
|
|
1511
1511
|
key: "0"
|
|
1512
1512
|
} : void 0, I.value.table.useDialog ? {
|
|
1513
1513
|
name: "actions",
|
|
1514
1514
|
fn: E(() => [h("button", {
|
|
1515
1515
|
tabindex: "0",
|
|
1516
1516
|
class: "vue-ui-user-options-button",
|
|
1517
|
-
onClick: t[0] ||= (e) =>
|
|
1518
|
-
style:
|
|
1519
|
-
}, [De(
|
|
1517
|
+
onClick: t[0] ||= (e) => Qn(I.value.userOptions.callbacks.csv),
|
|
1518
|
+
style: je({ cursor: L.value ? "pointer" : "default" })
|
|
1519
|
+
}, [De(w(Xt), {
|
|
1520
1520
|
name: "fileCsv",
|
|
1521
|
-
stroke:
|
|
1521
|
+
stroke: mr.value.props.color
|
|
1522
1522
|
}, null, 8, ["stroke"])], 4)]),
|
|
1523
1523
|
key: "1"
|
|
1524
1524
|
} : void 0]), 1040)) : p("", !0),
|
|
1525
|
-
|
|
1525
|
+
S(e.$slots, "skeleton", {}, () => [w(Dn) ? (y(), f(le, { key: 0 })) : p("", !0)], !0)
|
|
1526
1526
|
], 46, Be));
|
|
1527
1527
|
}
|
|
1528
1528
|
}, [["__scopeId", "data-v-2898a824"]]);
|