vue-data-ui 3.25.3 → 3.25.5
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/README.md +13 -13
- package/dist/{Arrow-Bvx4_tSN.js → Arrow-DLn-pcrh.js} +1 -1
- package/dist/{BaseDraggableDialog-BCQY4Tir.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
- package/dist/{BaseIcon-CVrQHhw1.js → BaseIcon-t83PDe9k.js} +1 -1
- package/dist/{BaseLegendToggle-BF-thEu0.js → BaseLegendToggle-__JnV08B.js} +1 -1
- package/dist/{BaseZoomControls-BAHeLgV8.js → BaseZoomControls-Xo16vFa4.js} +2 -2
- package/dist/{ColorPicker-B0CMtFkc.js → ColorPicker-Bn3MY7eL.js} +103 -101
- package/dist/{DataTable-BBpTEQY5.js → DataTable-COIO9gi4.js} +2 -2
- package/dist/{HillActions-ChMsbYib.js → HillActions-Cl-dNBZR.js} +1 -1
- package/dist/{Legend-DmitJZi5.js → Legend-X4kF4PvW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DNIpZGOP.js → NonSvgPenAndPaper-KXRhcsxM.js} +12 -12
- package/dist/{PackageVersion-hRJtldYi.js → PackageVersion-M2Ws-VwJ.js} +1 -1
- package/dist/{PenAndPaper-DzM1vUXR.js → PenAndPaper-BgH3m_LP.js} +30 -14
- package/dist/{Shape-BBKymE00.js → Shape-CIqU-p2F.js} +1 -1
- package/dist/{SlicerPreview-W4PWXK69.js → SlicerPreview-GvsdvE-h.js} +27 -27
- package/dist/{SparkTooltip-9hXY74AD.js → SparkTooltip-C-Y-mDrc.js} +1 -1
- package/dist/{Title-DIf1lG-_.js → Title-CPHi-evi.js} +1 -1
- package/dist/{Tooltip-C3jBTIhR.js → Tooltip-hhrkQ3Lk.js} +1 -1
- package/dist/{UserOptions-m0uxKoiy.js → UserOptions-f3Q0nqrj.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-label.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-DPcw-QzB.js → dom-to-png-C6cQJ5Hq.js} +1 -1
- package/dist/{exposedLib-BGrCpxDo.js → exposedLib-CG3aXJ-v.js} +9 -9
- package/dist/{img-IjqD_xWl.js → img-DhGApYG0.js} +1 -1
- package/dist/{labelUtils-Bgt85NUY.js → labelUtils-BXX2NzRe.js} +1 -1
- package/dist/{lib-C7t_vY8w.js → lib-Dql7cqyA.js} +200 -177
- package/dist/{package-NccReU84.js → package-ta2JoIjx.js} +1 -1
- package/dist/{pdf-HBji623H.js → pdf-Di5yPEw9.js} +1 -1
- package/dist/{render-common-CHj9aLwI.js → render-common-bvOuxfN3.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 +70 -1
- package/dist/types/vue-ui-annotator.d.ts +58 -2
- package/dist/{useConfig-CyCVHo81.js → useConfig-C_mX5pOZ.js} +1329 -1313
- package/dist/{useNestedProp-BfTgFMXF.js → useNestedProp-Chvyfpl-.js} +1 -1
- package/dist/{useObjectBindings-ByORl1rV.js → useObjectBindings-uXpBcVyo.js} +1 -1
- package/dist/{usePrinter-VVTuFI6H.js → usePrinter-DISD7q5m.js} +2 -2
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-xQI9KcZd.js → vue-data-ui-BjdCpsRV.js} +70 -70
- package/dist/vue-data-ui.js +74 -74
- package/dist/vue-ui-3d-bar-C0aLR6lw.js +1831 -0
- package/dist/{vue-ui-accordion-DuARUUdY.js → vue-ui-accordion-DRf3NQyH.js} +4 -4
- package/dist/{vue-ui-age-pyramid-D-ggLbES.js → vue-ui-age-pyramid-DUcB3lYs.js} +219 -217
- package/dist/vue-ui-annotator-DZ0O8Xa5.js +3325 -0
- package/dist/vue-ui-bullet-DIOCMF2H.js +702 -0
- package/dist/{vue-ui-bump-DiH9-DLV.js → vue-ui-bump-DoHnD1Xy.js} +59 -57
- package/dist/{vue-ui-candlestick-B486ChH8.js → vue-ui-candlestick-Cf8TYPl5.js} +453 -447
- package/dist/vue-ui-carousel-table-k1cBJ1i1.js +467 -0
- package/dist/{vue-ui-chestnut-DGESmviK.js → vue-ui-chestnut-BMAuaeif.js} +278 -276
- package/dist/{vue-ui-chord-DQJ7RuvS.js → vue-ui-chord-DCe2iPjk.js} +37 -35
- package/dist/{vue-ui-circle-pack-YXuSpTIB.js → vue-ui-circle-pack-Eb5hS_z3.js} +34 -32
- package/dist/{vue-ui-cursor-Dju_nWZh.js → vue-ui-cursor-CQWLyEx0.js} +4 -4
- package/dist/{vue-ui-dag-C2f1v-IC.js → vue-ui-dag-BqlsutMj.js} +80 -78
- package/dist/{vue-ui-dashboard-pNI0se0n.js → vue-ui-dashboard-Be3MmkgS.js} +77 -75
- package/dist/{vue-ui-digits-C5Z_lpSZ.js → vue-ui-digits-BqdfbcKX.js} +4 -4
- package/dist/vue-ui-donut-CuQVKuZa.js +2415 -0
- package/dist/{vue-ui-donut-evolution-DQn-87Ak.js → vue-ui-donut-evolution-DckruxZ9.js} +378 -376
- package/dist/{vue-ui-donut-DZXYGFJc.js → vue-ui-donut-gzGZ42uH.js} +102 -102
- package/dist/{vue-ui-dumbbell-CDtBLV2m.js → vue-ui-dumbbell-BYU-hh2E.js} +142 -140
- package/dist/{vue-ui-flow-B0L2gQ3k.js → vue-ui-flow-DLRcNDLc.js} +46 -44
- package/dist/vue-ui-funnel-DjoqNN1U.js +749 -0
- package/dist/{vue-ui-galaxy-yF4pKrlD.js → vue-ui-galaxy-BhR4IOra.js} +249 -247
- package/dist/vue-ui-gauge-Cq161Kwp.js +934 -0
- package/dist/{vue-ui-geo-CFz30xe0.js → vue-ui-geo-Ca8kPYr-.js} +41 -39
- package/dist/{vue-ui-gizmo-ys9jjs02.js → vue-ui-gizmo-wUqHJICb.js} +4 -4
- package/dist/{vue-ui-heatmap-qigx4Z5I.js → vue-ui-heatmap-Bl5ymvi9.js} +186 -184
- package/dist/{vue-ui-hill-K3JKKF1b.js → vue-ui-hill-D6Y9Xy2K.js} +14 -12
- package/dist/vue-ui-history-plot-CvVjsdCL.js +1698 -0
- package/dist/vue-ui-horizontal-bar-3on3-H3B.js +1711 -0
- package/dist/{vue-ui-kpi-0W2GpUBQ.js → vue-ui-kpi-CUpRRIUf.js} +4 -4
- package/dist/{vue-ui-label-CBM2b0Aq.js → vue-ui-label-DR2qUZOG.js} +65 -65
- package/dist/{vue-ui-mini-loader-C-2BQ3hi.js → vue-ui-mini-loader-D8W-fERs.js} +3 -3
- package/dist/vue-ui-molecule-BExVLLgE.js +929 -0
- package/dist/{vue-ui-mood-radar-VCVoA-i7.js → vue-ui-mood-radar-TW251icr.js} +205 -203
- package/dist/{vue-ui-nested-donuts-CFPhvIy3.js → vue-ui-nested-donuts-CWzJKr3S.js} +129 -127
- package/dist/{vue-ui-onion-BMucjktR.js → vue-ui-onion-VaYZQK5i.js} +124 -122
- package/dist/{vue-ui-parallel-coordinate-plot-BhahYf50.js → vue-ui-parallel-coordinate-plot-RM25bxtf.js} +380 -378
- package/dist/{vue-ui-quadrant-77idomwS.js → vue-ui-quadrant-Dmtwow7n.js} +51 -49
- package/dist/{vue-ui-quick-chart-CNKuNur5.js → vue-ui-quick-chart-Cswm3_eI.js} +190 -188
- package/dist/{vue-ui-radar-CuT1AXHF.js → vue-ui-radar-C3GYthqu.js} +315 -313
- package/dist/{vue-ui-rating-CTuSylET.js → vue-ui-rating-CBdDXL80.js} +3 -3
- package/dist/vue-ui-relation-circle-BA0qy0kp.js +905 -0
- package/dist/{vue-ui-ridgeline-CijnGJ6-.js → vue-ui-ridgeline-C5skjBTe.js} +353 -344
- package/dist/{vue-ui-rings-DDGKIiGT.js → vue-ui-rings-BJ8yEQMw.js} +332 -330
- package/dist/vue-ui-scatter-DXg8ESgr.js +2405 -0
- package/dist/{vue-ui-skeleton-Clzzx8hc.js → vue-ui-skeleton-D_u8EWeW.js} +60 -60
- package/dist/{vue-ui-smiley-DILPVI14.js → vue-ui-smiley-DQOp87rr.js} +3 -3
- package/dist/{vue-ui-spark-trend-CYIyrTQj.js → vue-ui-spark-trend-CjCufXof.js} +9 -9
- package/dist/{vue-ui-sparkbar-C2HcYmPm.js → vue-ui-sparkbar-BniEM15a.js} +142 -142
- package/dist/{vue-ui-sparkgauge-BLJ0mImj.js → vue-ui-sparkgauge-BtyCrqTQ.js} +33 -33
- package/dist/{vue-ui-sparkhistogram-1FYy_qM3.js → vue-ui-sparkhistogram-DQdn3PW1.js} +27 -27
- package/dist/{vue-ui-sparkline-C11KKbIn.js → vue-ui-sparkline-9qkNNZG6.js} +254 -254
- package/dist/vue-ui-sparkstackbar-BXQlOdOk.js +738 -0
- package/dist/vue-ui-stackbar-CkjicNDv.js +2355 -0
- package/dist/vue-ui-stackline-BB1IZta8.js +2469 -0
- package/dist/vue-ui-strip-plot-DGLGuH6e.js +1740 -0
- package/dist/vue-ui-table-BXz_HY2g.js +1352 -0
- package/dist/{vue-ui-table-heatmap-Dj06PSQK.js → vue-ui-table-heatmap-XmDK1aHJ.js} +10 -10
- package/dist/{vue-ui-table-sparkline-1h7A5F1N.js → vue-ui-table-sparkline-MTEw3imE.js} +14 -14
- package/dist/{vue-ui-thermometer-CVKlj7fU.js → vue-ui-thermometer-CLx3SPRv.js} +36 -34
- package/dist/{vue-ui-timer-BWz6K56E.js → vue-ui-timer-BDWUNb6t.js} +6 -6
- package/dist/{vue-ui-tiremarks-D26MLo5F.js → vue-ui-tiremarks-DoaypTC-.js} +11 -9
- package/dist/{vue-ui-treemap-33VL-HnF.js → vue-ui-treemap-Bv7PgpiC.js} +45 -43
- package/dist/vue-ui-waffle-z2DhvSAx.js +1621 -0
- package/dist/{vue-ui-wheel-BPbR_-t8.js → vue-ui-wheel-DYLBJuFb.js} +31 -29
- package/dist/{vue-ui-word-cloud-RFcpvswb.js → vue-ui-word-cloud-CbpEhSdL.js} +32 -30
- package/dist/{vue-ui-world-CseHQjz7.js → vue-ui-world-C2atz4Xm.js} +120 -118
- package/dist/{vue-ui-xy-D_biv7Wg.js → vue-ui-xy-B3DQ6t46.js} +1496 -1490
- package/dist/{vue-ui-xy-C3UI9YIM.js → vue-ui-xy-CpA0W6zM.js} +424 -423
- package/dist/{vue-ui-xy-canvas-R1I0sffy.js → vue-ui-xy-canvas-CJefORWc.js} +78 -78
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-Cf5mJEzr.js +0 -1829
- package/dist/vue-ui-annotator-MvDwnq7k.js +0 -2886
- package/dist/vue-ui-bullet-DWe51l3b.js +0 -700
- package/dist/vue-ui-carousel-table-BPNQQVsu.js +0 -467
- package/dist/vue-ui-donut-CaMaNvIF.js +0 -2413
- package/dist/vue-ui-funnel-G5nO77o5.js +0 -747
- package/dist/vue-ui-gauge-DA92q6HZ.js +0 -932
- package/dist/vue-ui-history-plot-DUoXwHLn.js +0 -1696
- package/dist/vue-ui-horizontal-bar-C51hv9PU.js +0 -1709
- package/dist/vue-ui-molecule-B1ChvZql.js +0 -929
- package/dist/vue-ui-relation-circle-DxONGvTM.js +0 -903
- package/dist/vue-ui-scatter-Cwlhv9y6.js +0 -2403
- package/dist/vue-ui-sparkstackbar-B4H_cgzW.js +0 -738
- package/dist/vue-ui-stackbar-CBOAAVtS.js +0 -2349
- package/dist/vue-ui-stackline-24PeB3yN.js +0 -2463
- package/dist/vue-ui-strip-plot-C3Q1lECl.js +0 -1738
- package/dist/vue-ui-table-DMJWplCT.js +0 -1352
- package/dist/vue-ui-waffle-DIFpyE2V.js +0 -1619
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
2
|
+
import { $ as t, D as n, Pt as r, Ut as i, X as a, Y as o, Zt as s, _ as ee, b as te, ht as ne, i as c, jt as l, nt as re, q as ie, t as ae } from "./lib-Dql7cqyA.js";
|
|
3
3
|
import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ce } from "./useConfig-
|
|
5
|
-
import { t as le } from "./usePrinter-
|
|
4
|
+
import { t as ce } from "./useConfig-C_mX5pOZ.js";
|
|
5
|
+
import { t as le } from "./usePrinter-DISD7q5m.js";
|
|
6
6
|
import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as fe } from "./useNestedProp-
|
|
7
|
+
import { t as fe } from "./useNestedProp-Chvyfpl-.js";
|
|
8
8
|
import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as me } from "./useChartExport-iwOqiIWX.js";
|
|
10
10
|
import { t as he } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
11
|
-
import { t as ge } from "./img-
|
|
12
|
-
import { n as _e } from "./Title-
|
|
11
|
+
import { t as ge } from "./img-DhGApYG0.js";
|
|
12
|
+
import { n as _e } from "./Title-CPHi-evi.js";
|
|
13
13
|
import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { l as ye, t as be } from "./useResponsive-ZtArZtUf.js";
|
|
15
15
|
import { t as u } from "./DefGrad-DVBqDjhO.js";
|
|
16
16
|
import { t as xe } from "./A11yDataTable-DdRsVULz.js";
|
|
17
17
|
import { t as Se } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
18
|
import { t as Ce } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
-
import { t as we } from "./Legend-
|
|
19
|
+
import { t as we } from "./Legend-X4kF4PvW.js";
|
|
20
20
|
import { t as Te } from "./usePrefersMotion-BC-CsqR1.js";
|
|
21
21
|
import { t as Ee } from "./vue_ui_dumbbell-Bfe_jFyi.js";
|
|
22
|
-
import { Fragment as d, Teleport as De, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Oe, createTextVNode as ke, createVNode as _, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as Ae, nextTick as je, normalizeClass as Me, normalizeProps as b, normalizeStyle as
|
|
22
|
+
import { Fragment as d, Teleport as De, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Oe, createTextVNode as ke, createVNode as _, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as Ae, nextTick as je, normalizeClass as Me, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as Ne, onMounted as Pe, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as Fe, shallowRef as Ie, toDisplayString as E, toRefs as Le, unref as D, vShow as Re, watch as ze, watchEffect as Be, withCtx as O, withDirectives as Ve } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-dumbbell.vue
|
|
24
24
|
var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge = ["id"], Ke = { style: { position: "relative" } }, qe = [
|
|
25
25
|
"xmlns",
|
|
@@ -183,14 +183,14 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
183
183
|
},
|
|
184
184
|
emits: ["selectDatapoint", "copyAlt"],
|
|
185
185
|
setup(e, { expose: ve, emit: He }) {
|
|
186
|
-
let Dt = v(() => import("./BaseIcon-
|
|
186
|
+
let Dt = v(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), Ot = v(() => import("./vue-ui-accordion-DRf3NQyH.js").then((e) => e.n)), kt = v(() => import("./DataTable-COIO9gi4.js")), At = v(() => import("./PenAndPaper-BgH3m_LP.js").then((e) => e.t)), jt = v(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), Mt = v(() => import("./PackageVersion-M2Ws-VwJ.js").then((e) => e.t)), Nt = v(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_dumbbell: Pt } = ce(), { isThemeValid: Ft, warnInvalidTheme: It } = pe(), Lt = Te(), k = e, Rt = He, zt = f({
|
|
187
187
|
get() {
|
|
188
188
|
return !!k.dataset && k.dataset.length;
|
|
189
189
|
},
|
|
190
190
|
set(e) {
|
|
191
191
|
return e;
|
|
192
192
|
}
|
|
193
|
-
}), A =
|
|
193
|
+
}), A = C(ie()), Bt = C(0), j = C(null), Vt = C(null), Ht = C(null), Ut = C(null), Wt = C(null), Gt = C(0), Kt = C(0), qt = C(0), Jt = C(!1), M = C(null), Yt = C(null), Xt = C(null), Zt = C(null), Qt = C(null), $t = C(null), N = C(null), P = C(null), F = C(null), en = C(!1), I = C(!1), L = C(ln());
|
|
194
194
|
oe({
|
|
195
195
|
config: () => L.value,
|
|
196
196
|
dataset: () => k.dataset,
|
|
@@ -244,7 +244,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
244
244
|
},
|
|
245
245
|
userConfig: L.value.skeletonConfig ?? {}
|
|
246
246
|
})), { loading: nn, FINAL_DATASET: rn, manualLoading: an } = ue({
|
|
247
|
-
...
|
|
247
|
+
...Le(k),
|
|
248
248
|
FINAL_CONFIG: L,
|
|
249
249
|
prepareConfig: ln,
|
|
250
250
|
skeletonDataset: k.config?.skeletonDataset ?? [
|
|
@@ -300,13 +300,13 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
300
300
|
}, { deep: !0 }), ze(() => rn.value, (e) => {
|
|
301
301
|
Array.isArray(e) && e.length > 0 && (an.value = !1), Tn(), En();
|
|
302
302
|
}, { deep: !0 });
|
|
303
|
-
let B =
|
|
304
|
-
|
|
303
|
+
let B = Ie(null), V = Ie(null);
|
|
304
|
+
Pe(() => {
|
|
305
305
|
Jt.value = !0, dn();
|
|
306
306
|
});
|
|
307
307
|
let un = f(() => L.value.debug);
|
|
308
308
|
function dn() {
|
|
309
|
-
if (
|
|
309
|
+
if (r(k.dataset) ? re({
|
|
310
310
|
componentName: "VueUiDumbbell",
|
|
311
311
|
type: "dataset",
|
|
312
312
|
debug: un.value
|
|
@@ -344,14 +344,14 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
344
344
|
}
|
|
345
345
|
Bn();
|
|
346
346
|
}
|
|
347
|
-
|
|
347
|
+
Ne(() => {
|
|
348
348
|
X.value != null && (cancelAnimationFrame(X.value), X.value = null), B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
|
|
349
349
|
});
|
|
350
350
|
let { isPrinting: fn, isImaging: pn, generatePdf: mn, generateImage: hn } = le({
|
|
351
351
|
elementId: `dumbbell_${A.value}`,
|
|
352
352
|
fileName: L.value.style.chart.title.text || "vue-ui-dumbbell",
|
|
353
353
|
options: L.value.userOptions.print
|
|
354
|
-
}), gn = f(() => L.value.userOptions.show && !L.value.style.chart.title.text), H =
|
|
354
|
+
}), gn = f(() => L.value.userOptions.show && !L.value.style.chart.title.text), H = C({ showTable: L.value.table.show });
|
|
355
355
|
ze(L, () => {
|
|
356
356
|
H.value = { showTable: L.value.table.show };
|
|
357
357
|
}, { immediate: !0 });
|
|
@@ -366,7 +366,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
366
366
|
min: e.scaleMin ?? Math.min(n, 0),
|
|
367
367
|
max: e.scaleMax ?? r
|
|
368
368
|
};
|
|
369
|
-
}), W = f(() => ee(_n.value.min, _n.value.max, L.value.style.chart.grid.scaleSteps)), G =
|
|
369
|
+
}), W = f(() => ee(_n.value.min, _n.value.max, L.value.style.chart.grid.scaleSteps)), G = C(L.value.style.chart.rowHeight), K = C(L.value.style.chart.width);
|
|
370
370
|
function vn() {
|
|
371
371
|
let e = 0;
|
|
372
372
|
Zt.value && (e = Array.from(Zt.value.querySelectorAll("text")).reduce((e, t) => {
|
|
@@ -376,7 +376,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
376
376
|
let t = Xt.value ? Xt.value.getBoundingClientRect().width : 0;
|
|
377
377
|
return e + t + (t ? 24 + L.value.style.chart.labels.axis.yLabelOffsetX : 0);
|
|
378
378
|
}
|
|
379
|
-
let yn =
|
|
379
|
+
let yn = C(0), bn = ye((e) => {
|
|
380
380
|
yn.value = e;
|
|
381
381
|
}, 100);
|
|
382
382
|
Be((e) => {
|
|
@@ -386,7 +386,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
386
386
|
bn(e[0].contentRect.height);
|
|
387
387
|
});
|
|
388
388
|
n.observe(t), e(() => n.disconnect());
|
|
389
|
-
}),
|
|
389
|
+
}), Ne(() => {
|
|
390
390
|
yn.value = 0;
|
|
391
391
|
});
|
|
392
392
|
let xn = f(() => {
|
|
@@ -416,18 +416,18 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
416
416
|
absoluteHeight: a,
|
|
417
417
|
widthPlotReference: s
|
|
418
418
|
};
|
|
419
|
-
}), J = f(() => Math.min(G.value / 2 * .7, L.value.style.chart.plots.radius)), wn =
|
|
419
|
+
}), J = f(() => Math.min(G.value / 2 * .7, L.value.style.chart.plots.radius)), wn = C([]), Y = f({
|
|
420
420
|
get() {
|
|
421
421
|
let e = q.value, t = W.value;
|
|
422
422
|
return wn.value.map((n, r) => {
|
|
423
|
-
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,
|
|
423
|
+
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), ne = s ? L.value.style.chart.plots.evaluationColors.positive : ee ? L.value.style.chart.plots.evaluationColors.negative : L.value.style.chart.plots.evaluationColors.neutral;
|
|
424
424
|
return {
|
|
425
425
|
...n,
|
|
426
426
|
isPositive: s,
|
|
427
|
-
isNegative:
|
|
428
|
-
isNeutral:
|
|
429
|
-
evaluationColor:
|
|
430
|
-
evaluationGrad: `url(#${s ? "positive" :
|
|
427
|
+
isNegative: ee,
|
|
428
|
+
isNeutral: te,
|
|
429
|
+
evaluationColor: ne,
|
|
430
|
+
evaluationGrad: `url(#${s ? "positive" : ee ? "negative" : "neutral"}_grad_${A.value})`,
|
|
431
431
|
startX: i,
|
|
432
432
|
endX: a,
|
|
433
433
|
centerX: o,
|
|
@@ -448,8 +448,8 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
448
448
|
};
|
|
449
449
|
});
|
|
450
450
|
}
|
|
451
|
-
let X =
|
|
452
|
-
|
|
451
|
+
let X = C(null);
|
|
452
|
+
Pe(() => {
|
|
453
453
|
En();
|
|
454
454
|
});
|
|
455
455
|
function En() {
|
|
@@ -518,17 +518,17 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
518
518
|
L.value.table.columnNames.end,
|
|
519
519
|
L.value.table.columnNames.progression
|
|
520
520
|
], t = Z.value.head.map((e, t) => {
|
|
521
|
-
let n =
|
|
521
|
+
let n = a({
|
|
522
522
|
p: L.value.style.chart.labels.prefix,
|
|
523
523
|
v: Z.value.body[t].start,
|
|
524
524
|
s: L.value.style.chart.labels.suffix,
|
|
525
525
|
r: L.value.table.td.roundingValue
|
|
526
|
-
}), r =
|
|
526
|
+
}), r = a({
|
|
527
527
|
p: L.value.style.chart.labels.prefix,
|
|
528
528
|
v: Z.value.body[t].end,
|
|
529
529
|
s: L.value.style.chart.labels.suffix,
|
|
530
530
|
r: L.value.table.td.roundingValue
|
|
531
|
-
}), i =
|
|
531
|
+
}), i = a({
|
|
532
532
|
v: 100 * (Z.value.body[t].end / Z.value.body[t].start - 1),
|
|
533
533
|
s: "%",
|
|
534
534
|
r: L.value.table.td.roundingPercentage
|
|
@@ -566,7 +566,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
566
566
|
});
|
|
567
567
|
function kn(e = null) {
|
|
568
568
|
je(() => {
|
|
569
|
-
let
|
|
569
|
+
let r = Z.value.head.map((e, t) => [
|
|
570
570
|
[e.name],
|
|
571
571
|
[Z.value.body[t].start],
|
|
572
572
|
[Z.value.body[t].end]
|
|
@@ -578,14 +578,14 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
578
578
|
[L.value.table.columnNames.start],
|
|
579
579
|
[L.value.table.columnNames.end]
|
|
580
580
|
]
|
|
581
|
-
].concat(
|
|
581
|
+
].concat(r), a = n(i);
|
|
582
582
|
e ? e(a) : t({
|
|
583
583
|
csvContent: a,
|
|
584
584
|
title: L.value.style.chart.title.text || "vue-ui-dumbbell"
|
|
585
585
|
});
|
|
586
586
|
});
|
|
587
587
|
}
|
|
588
|
-
let $ =
|
|
588
|
+
let $ = C(!1);
|
|
589
589
|
function An(e) {
|
|
590
590
|
$.value = e, Bt.value += 1;
|
|
591
591
|
}
|
|
@@ -595,7 +595,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
595
595
|
function Mn() {
|
|
596
596
|
H.value.showTable = !H.value.showTable;
|
|
597
597
|
}
|
|
598
|
-
let Nn =
|
|
598
|
+
let Nn = C(!1);
|
|
599
599
|
function Pn() {
|
|
600
600
|
Nn.value = !Nn.value;
|
|
601
601
|
}
|
|
@@ -700,7 +700,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
700
700
|
}), Gn = f(() => {
|
|
701
701
|
if (P.value === null) return "";
|
|
702
702
|
let e = ![null, void 0].includes(P.value.start), t = ![null, void 0].includes(P.value.end), n = "", r = "";
|
|
703
|
-
return e && (n =
|
|
703
|
+
return e && (n = c(L.value.style.chart.labels.formatter, P.value.start, a({
|
|
704
704
|
p: L.value.style.chart.labels.prefix,
|
|
705
705
|
v: P.value.start,
|
|
706
706
|
s: L.value.style.chart.labels.suffix,
|
|
@@ -708,7 +708,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
708
708
|
}), {
|
|
709
709
|
datapoint: P.value,
|
|
710
710
|
seriesIndex: N.value
|
|
711
|
-
})), t && (r =
|
|
711
|
+
})), t && (r = c(L.value.style.chart.labels.formatter, P.value.end, a({
|
|
712
712
|
p: L.value.style.chart.labels.prefix,
|
|
713
713
|
v: P.value.end,
|
|
714
714
|
s: L.value.style.chart.labels.suffix,
|
|
@@ -847,20 +847,20 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
847
847
|
toggleAnnotator: Pn,
|
|
848
848
|
toggleFullscreen: An,
|
|
849
849
|
copyAlt: nr
|
|
850
|
-
}), (e, t) => (
|
|
850
|
+
}), (e, t) => (S(), h("div", {
|
|
851
851
|
ref_key: "dumbbellChart",
|
|
852
852
|
ref: j,
|
|
853
853
|
class: Me(`vue-data-ui-component vue-ui-dumbbell ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
854
|
-
style:
|
|
854
|
+
style: x(`font-family:${L.value.style.fontFamily};width:100%; text-align:center;background:${L.value.style.chart.backgroundColor};${L.value.responsive ? "height:100%" : ""}`),
|
|
855
855
|
id: `dumbbell_${A.value}`,
|
|
856
|
-
onMouseenter: t[1] ||= () =>
|
|
857
|
-
onMouseleave: t[2] ||= () =>
|
|
856
|
+
onMouseenter: t[1] ||= () => D(sn)(!0),
|
|
857
|
+
onMouseleave: t[2] ||= () => D(sn)(!1)
|
|
858
858
|
}, [
|
|
859
859
|
g("div", {
|
|
860
860
|
id: `chart-instructions-${A.value}`,
|
|
861
861
|
class: "sr-only"
|
|
862
|
-
}, [g("p", null,
|
|
863
|
-
cr.value.body.length ? (
|
|
862
|
+
}, [g("p", null, E(L.value.a11y.translations.keyboardNavigation), 1)], 8, We),
|
|
863
|
+
cr.value.body.length ? (S(), p(xe, {
|
|
864
864
|
key: 0,
|
|
865
865
|
uid: A.value,
|
|
866
866
|
head: cr.value.head,
|
|
@@ -874,42 +874,44 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
874
874
|
"caption",
|
|
875
875
|
"notice"
|
|
876
876
|
])) : m("", !0),
|
|
877
|
-
L.value.userOptions.buttons.annotator ? (
|
|
877
|
+
L.value.userOptions.buttons.annotator ? (S(), p(D(At), {
|
|
878
878
|
key: 1,
|
|
879
|
-
svgRef:
|
|
879
|
+
svgRef: D(z),
|
|
880
880
|
backgroundColor: L.value.style.chart.backgroundColor,
|
|
881
881
|
color: L.value.style.chart.color,
|
|
882
882
|
active: Nn.value,
|
|
883
883
|
isCursorPointer: R.value,
|
|
884
|
+
palette: L.value.userOptions.annotatorPalette,
|
|
884
885
|
onClose: Pn
|
|
885
886
|
}, {
|
|
886
|
-
"annotator-action-close": O(() => [
|
|
887
|
-
"annotator-action-color": O(({ color: t }) => [
|
|
888
|
-
"annotator-action-draw": O(({ mode: t }) => [
|
|
889
|
-
"annotator-action-undo": O(({ disabled: t }) => [
|
|
890
|
-
"annotator-action-redo": O(({ disabled: t }) => [
|
|
891
|
-
"annotator-action-delete": O(({ disabled: t }) => [
|
|
887
|
+
"annotator-action-close": O(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
888
|
+
"annotator-action-color": O(({ color: t }) => [T(e.$slots, "annotator-action-color", b(y({ color: t })), void 0, !0)]),
|
|
889
|
+
"annotator-action-draw": O(({ mode: t }) => [T(e.$slots, "annotator-action-draw", b(y({ mode: t })), void 0, !0)]),
|
|
890
|
+
"annotator-action-undo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-undo", b(y({ disabled: t })), void 0, !0)]),
|
|
891
|
+
"annotator-action-redo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-redo", b(y({ disabled: t })), void 0, !0)]),
|
|
892
|
+
"annotator-action-delete": O(({ disabled: t }) => [T(e.$slots, "annotator-action-delete", b(y({ disabled: t })), void 0, !0)]),
|
|
892
893
|
_: 3
|
|
893
894
|
}, 8, [
|
|
894
895
|
"svgRef",
|
|
895
896
|
"backgroundColor",
|
|
896
897
|
"color",
|
|
897
898
|
"active",
|
|
898
|
-
"isCursorPointer"
|
|
899
|
+
"isCursorPointer",
|
|
900
|
+
"palette"
|
|
899
901
|
])) : m("", !0),
|
|
900
|
-
gn.value ? (
|
|
902
|
+
gn.value ? (S(), h("div", {
|
|
901
903
|
key: 2,
|
|
902
904
|
ref_key: "noTitle",
|
|
903
905
|
ref: Wt,
|
|
904
906
|
class: "vue-data-ui-no-title-space",
|
|
905
907
|
style: "height:36px; width: 100%;background:transparent"
|
|
906
908
|
}, null, 512)) : m("", !0),
|
|
907
|
-
L.value.style.chart.title.text ? (
|
|
909
|
+
L.value.style.chart.title.text ? (S(), h("div", {
|
|
908
910
|
key: 3,
|
|
909
911
|
ref_key: "chartTitle",
|
|
910
912
|
ref: Vt,
|
|
911
913
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
912
|
-
}, [(
|
|
914
|
+
}, [(S(), p(_e, {
|
|
913
915
|
key: `title_${Gt.value}`,
|
|
914
916
|
config: {
|
|
915
917
|
title: {
|
|
@@ -923,14 +925,14 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
923
925
|
}
|
|
924
926
|
}, null, 8, ["config"]))], 512)) : m("", !0),
|
|
925
927
|
g("div", { id: `legend-top-${A.value}` }, null, 8, Ge),
|
|
926
|
-
L.value.userOptions.show && zt.value && (
|
|
928
|
+
L.value.userOptions.show && zt.value && (D(cn) || D(on)) ? (S(), p(D(jt), {
|
|
927
929
|
ref_key: "userOptionsRef",
|
|
928
930
|
ref: Yt,
|
|
929
931
|
key: `user_option_${Bt.value}`,
|
|
930
932
|
backgroundColor: L.value.style.chart.backgroundColor,
|
|
931
933
|
color: L.value.style.chart.color,
|
|
932
|
-
isPrinting:
|
|
933
|
-
isImaging:
|
|
934
|
+
isPrinting: D(fn),
|
|
935
|
+
isImaging: D(pn),
|
|
934
936
|
uid: A.value,
|
|
935
937
|
hasPdf: L.value.userOptions.buttons.pdf,
|
|
936
938
|
hasXls: L.value.userOptions.buttons.csv,
|
|
@@ -950,18 +952,18 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
950
952
|
tableDialog: L.value.table.useDialog,
|
|
951
953
|
isCursorPointer: R.value,
|
|
952
954
|
onToggleFullscreen: An,
|
|
953
|
-
onGeneratePdf:
|
|
955
|
+
onGeneratePdf: D(mn),
|
|
954
956
|
onGenerateCsv: kn,
|
|
955
|
-
onGenerateImage:
|
|
956
|
-
onGenerateSvg:
|
|
957
|
+
onGenerateImage: D(tr),
|
|
958
|
+
onGenerateSvg: D(er),
|
|
957
959
|
onToggleTable: Mn,
|
|
958
960
|
onToggleAnnotator: Pn,
|
|
959
961
|
onCopyAlt: nr,
|
|
960
|
-
style:
|
|
962
|
+
style: x({ visibility: D(cn) ? D(on) ? "visible" : "hidden" : "visible" })
|
|
961
963
|
}, Oe({ _: 2 }, [
|
|
962
964
|
e.$slots.menuIcon ? {
|
|
963
965
|
name: "menuIcon",
|
|
964
|
-
fn: O(({ isOpen: t, color: n }) => [
|
|
966
|
+
fn: O(({ isOpen: t, color: n }) => [T(e.$slots, "menuIcon", b(y({
|
|
965
967
|
isOpen: t,
|
|
966
968
|
color: n
|
|
967
969
|
})), void 0, !0)]),
|
|
@@ -969,32 +971,32 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
969
971
|
} : void 0,
|
|
970
972
|
e.$slots.optionPdf ? {
|
|
971
973
|
name: "optionPdf",
|
|
972
|
-
fn: O(() => [
|
|
974
|
+
fn: O(() => [T(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
973
975
|
key: "1"
|
|
974
976
|
} : void 0,
|
|
975
977
|
e.$slots.optionCsv ? {
|
|
976
978
|
name: "optionCsv",
|
|
977
|
-
fn: O(() => [
|
|
979
|
+
fn: O(() => [T(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
978
980
|
key: "2"
|
|
979
981
|
} : void 0,
|
|
980
982
|
e.$slots.optionImg ? {
|
|
981
983
|
name: "optionImg",
|
|
982
|
-
fn: O(() => [
|
|
984
|
+
fn: O(() => [T(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
983
985
|
key: "3"
|
|
984
986
|
} : void 0,
|
|
985
987
|
e.$slots.optionSvg ? {
|
|
986
988
|
name: "optionSvg",
|
|
987
|
-
fn: O(() => [
|
|
989
|
+
fn: O(() => [T(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
988
990
|
key: "4"
|
|
989
991
|
} : void 0,
|
|
990
992
|
e.$slots.optionTable ? {
|
|
991
993
|
name: "optionTable",
|
|
992
|
-
fn: O(() => [
|
|
994
|
+
fn: O(() => [T(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
993
995
|
key: "5"
|
|
994
996
|
} : void 0,
|
|
995
997
|
e.$slots.optionFullscreen ? {
|
|
996
998
|
name: "optionFullscreen",
|
|
997
|
-
fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [
|
|
999
|
+
fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [T(e.$slots, "optionFullscreen", b(y({
|
|
998
1000
|
toggleFullscreen: t,
|
|
999
1001
|
isFullscreen: n
|
|
1000
1002
|
})), void 0, !0)]),
|
|
@@ -1002,7 +1004,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1002
1004
|
} : void 0,
|
|
1003
1005
|
e.$slots.optionAnnotator ? {
|
|
1004
1006
|
name: "optionAnnotator",
|
|
1005
|
-
fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [
|
|
1007
|
+
fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [T(e.$slots, "optionAnnotator", b(y({
|
|
1006
1008
|
toggleAnnotator: t,
|
|
1007
1009
|
isAnnotator: n
|
|
1008
1010
|
})), void 0, !0)]),
|
|
@@ -1010,46 +1012,46 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1010
1012
|
} : void 0,
|
|
1011
1013
|
e.$slots.optionAltCopy ? {
|
|
1012
1014
|
name: "optionAltCopy",
|
|
1013
|
-
fn: O(({ altCopy: t }) => [
|
|
1015
|
+
fn: O(({ altCopy: t }) => [T(e.$slots, "optionAltCopy", b(y({ altCopy: t })), void 0, !0)]),
|
|
1014
1016
|
key: "8"
|
|
1015
1017
|
} : void 0,
|
|
1016
1018
|
e.$slots["custom-menu-before"] ? {
|
|
1017
1019
|
name: "custom-menu-before",
|
|
1018
|
-
fn: O(() => [
|
|
1020
|
+
fn: O(() => [T(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1019
1021
|
key: "9"
|
|
1020
1022
|
} : void 0,
|
|
1021
1023
|
e.$slots["custom-menu-after"] ? {
|
|
1022
1024
|
name: "custom-menu-after",
|
|
1023
|
-
fn: O(() => [
|
|
1025
|
+
fn: O(() => [T(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1024
1026
|
key: "10"
|
|
1025
1027
|
} : void 0
|
|
1026
1028
|
]), 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("."))) : m("", !0),
|
|
1027
|
-
g("div", Ke, [(
|
|
1029
|
+
g("div", Ke, [(S(), h("svg", {
|
|
1028
1030
|
ref_key: "svgRef",
|
|
1029
1031
|
ref: z,
|
|
1030
|
-
xmlns:
|
|
1032
|
+
xmlns: D(ae),
|
|
1031
1033
|
class: Me({
|
|
1032
1034
|
"vue-data-ui-fullscreen--on": $.value,
|
|
1033
1035
|
"vue-data-ui-fulscreen--off": !$.value
|
|
1034
1036
|
}),
|
|
1035
1037
|
viewBox: `0 0 ${K.value} ${q.value.absoluteHeight <= 0 ? 10 : q.value.absoluteHeight}`,
|
|
1036
|
-
style:
|
|
1038
|
+
style: x(`max-width:100%; overflow: visible; background:transparent;color:${L.value.style.chart.color}`),
|
|
1037
1039
|
"aria-describedby": `chart-instructions-${A.value}`,
|
|
1038
1040
|
tabindex: "0",
|
|
1039
1041
|
onFocus: ar,
|
|
1040
1042
|
onBlur: or,
|
|
1041
1043
|
onKeydown: sr
|
|
1042
1044
|
}, [
|
|
1043
|
-
_(
|
|
1044
|
-
e.$slots["chart-background"] ? (
|
|
1045
|
+
_(D(Mt)),
|
|
1046
|
+
e.$slots["chart-background"] ? (S(), h("foreignObject", {
|
|
1045
1047
|
key: 0,
|
|
1046
1048
|
x: q.value.left,
|
|
1047
1049
|
y: q.value.top,
|
|
1048
1050
|
width: Math.max(.1, q.value.width),
|
|
1049
1051
|
height: Math.max(.1, q.value.height),
|
|
1050
1052
|
style: { pointerEvents: "none" }
|
|
1051
|
-
}, [
|
|
1052
|
-
L.value.style.chart.grid.verticalGrid.show ? (
|
|
1053
|
+
}, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, Je)) : m("", !0),
|
|
1054
|
+
L.value.style.chart.grid.verticalGrid.show ? (S(), h("g", Ye, [(S(!0), h(d, null, w(W.value.ticks, (e, t) => (S(), h("line", {
|
|
1053
1055
|
x1: q.value.left + t * q.value.width / (W.value.ticks.length - 1),
|
|
1054
1056
|
x2: q.value.left + t * q.value.width / (W.value.ticks.length - 1),
|
|
1055
1057
|
y1: q.value.top,
|
|
@@ -1058,7 +1060,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1058
1060
|
"stroke-width": L.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
1059
1061
|
"stroke-dasharray": L.value.style.chart.grid.verticalGrid.strokeDasharray
|
|
1060
1062
|
}, null, 8, Xe))), 256))])) : m("", !0),
|
|
1061
|
-
L.value.style.chart.grid.horizontalGrid.show ? (
|
|
1063
|
+
L.value.style.chart.grid.horizontalGrid.show ? (S(), h("g", Ze, [(S(!0), h(d, null, w(U.value, (e, t) => (S(), h("line", {
|
|
1062
1064
|
x1: q.value.left,
|
|
1063
1065
|
x2: q.value.right,
|
|
1064
1066
|
y1: q.value.top + t * q.value.rowHeight,
|
|
@@ -1075,7 +1077,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1075
1077
|
"stroke-width": L.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
1076
1078
|
"stroke-dasharray": L.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
1077
1079
|
}, null, 8, $e)])) : m("", !0),
|
|
1078
|
-
L.value.style.chart.labels.axis.yLabel ? (
|
|
1080
|
+
L.value.style.chart.labels.axis.yLabel ? (S(), h("text", {
|
|
1079
1081
|
key: 3,
|
|
1080
1082
|
ref_key: "yAxisLabel",
|
|
1081
1083
|
ref: Xt,
|
|
@@ -1083,12 +1085,12 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1083
1085
|
"font-size": L.value.style.chart.labels.axis.fontSize,
|
|
1084
1086
|
fill: L.value.style.chart.labels.axis.color,
|
|
1085
1087
|
"text-anchor": "middle"
|
|
1086
|
-
},
|
|
1087
|
-
L.value.style.chart.labels.yAxisLabels.show ? (
|
|
1088
|
+
}, E(L.value.style.chart.labels.axis.yLabel), 9, et)) : m("", !0),
|
|
1089
|
+
L.value.style.chart.labels.yAxisLabels.show ? (S(), h("g", {
|
|
1088
1090
|
key: 4,
|
|
1089
1091
|
ref_key: "serieLabels",
|
|
1090
1092
|
ref: Zt
|
|
1091
|
-
}, [(
|
|
1093
|
+
}, [(S(!0), h(d, null, w(Y.value, (e, t) => (S(), h("text", {
|
|
1092
1094
|
class: "vue-ui-dumbbell-serie-name",
|
|
1093
1095
|
key: `serieLabel_${e.id}_${t}`,
|
|
1094
1096
|
x: q.value.left - 6 + L.value.style.chart.labels.yAxisLabels.offsetX,
|
|
@@ -1109,11 +1111,11 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1109
1111
|
datapoint: e,
|
|
1110
1112
|
seriesIndex: t
|
|
1111
1113
|
})
|
|
1112
|
-
},
|
|
1114
|
+
}, E(e.name) + " " + E(I.value && L.value.style.chart.labels.yAxisLabels.showProgression ? [null, void 0].includes(e.start) || [null, void 0].includes(e.end) ? "" : `(${D(c)(L.value.style.chart.labels.yAxisLabels.formatter, 100 * (e.end / e.start - 1), D(a)({
|
|
1113
1115
|
v: 100 * (e.end / e.start - 1),
|
|
1114
1116
|
s: "%",
|
|
1115
1117
|
r: L.value.style.chart.labels.yAxisLabels.rounding
|
|
1116
|
-
}), { datapoint: e })})` : ""), 41, tt))), 128)), L.value.style.chart.labels.yAxisLabels.showProgression && !I.value ? (
|
|
1118
|
+
}), { datapoint: e })})` : ""), 41, tt))), 128)), L.value.style.chart.labels.yAxisLabels.showProgression && !I.value ? (S(!0), h(d, { key: 0 }, w(Y.value, (e, t) => (S(), h("text", {
|
|
1117
1119
|
class: "vue-ui-dumbbell-serie-value",
|
|
1118
1120
|
x: q.value.left - 6 + L.value.style.chart.labels.yAxisLabels.offsetX,
|
|
1119
1121
|
y: q.value.top + t * q.value.rowHeight + q.value.rowHeight / 1.3 + L.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
@@ -1132,12 +1134,12 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1132
1134
|
datapoint: e,
|
|
1133
1135
|
seriesIndex: t
|
|
1134
1136
|
})
|
|
1135
|
-
},
|
|
1137
|
+
}, E([null, void 0].includes(e.start) || [null, void 0].includes(e.end) ? "" : D(c)(L.value.style.chart.labels.yAxisLabels.formatter, 100 * (e.end / e.start - 1), D(a)({
|
|
1136
1138
|
v: 100 * (e.end / e.start - 1),
|
|
1137
1139
|
s: "%",
|
|
1138
1140
|
r: L.value.style.chart.labels.yAxisLabels.rounding
|
|
1139
1141
|
}), { datapoint: e })), 41, nt))), 256)) : m("", !0)], 512)) : m("", !0),
|
|
1140
|
-
L.value.style.chart.labels.axis.xLabel ? (
|
|
1142
|
+
L.value.style.chart.labels.axis.xLabel ? (S(), h("text", {
|
|
1141
1143
|
key: 5,
|
|
1142
1144
|
ref_key: "xAxisLabel",
|
|
1143
1145
|
ref: $t,
|
|
@@ -1146,12 +1148,12 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1146
1148
|
"font-size": L.value.style.chart.labels.axis.fontSize,
|
|
1147
1149
|
fill: L.value.style.chart.labels.axis.color,
|
|
1148
1150
|
"text-anchor": "middle"
|
|
1149
|
-
},
|
|
1150
|
-
L.value.style.chart.labels.xAxisLabels.show ? (
|
|
1151
|
+
}, E(L.value.style.chart.labels.axis.xLabel), 9, rt)) : m("", !0),
|
|
1152
|
+
L.value.style.chart.labels.xAxisLabels.show ? (S(), h("g", {
|
|
1151
1153
|
key: 6,
|
|
1152
1154
|
ref_key: "scaleLabels",
|
|
1153
1155
|
ref: Qt
|
|
1154
|
-
}, [(
|
|
1156
|
+
}, [(S(!0), h(d, null, w(W.value.ticks, (e, t) => (S(), h("text", {
|
|
1155
1157
|
class: "vue-ui-dumbbell-scale-label",
|
|
1156
1158
|
key: `tick_${t}`,
|
|
1157
1159
|
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})`,
|
|
@@ -1159,7 +1161,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1159
1161
|
fill: L.value.style.chart.labels.xAxisLabels.color,
|
|
1160
1162
|
"font-weight": L.value.style.chart.labels.xAxisLabels.bold ? "bold" : "normal",
|
|
1161
1163
|
"text-anchor": L.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : L.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle"
|
|
1162
|
-
},
|
|
1164
|
+
}, E(D(c)(L.value.style.chart.labels.formatter, e, D(a)({
|
|
1163
1165
|
p: L.value.style.chart.labels.prefix,
|
|
1164
1166
|
v: e,
|
|
1165
1167
|
s: L.value.style.chart.labels.suffix,
|
|
@@ -1175,30 +1177,30 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1175
1177
|
"stroke-width": L.value.style.chart.comparisonLines.strokeWidth,
|
|
1176
1178
|
"stroke-dasharray": L.value.style.chart.comparisonLines.strokeDasharray,
|
|
1177
1179
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1178
|
-
}, null, 8, at), [[
|
|
1180
|
+
}, null, 8, at), [[Re, P.value !== null && ![null, void 0].includes(P.value.start)]]),
|
|
1179
1181
|
Ve(g("path", {
|
|
1180
1182
|
d: `M ${P.value ? P.value.endX : q.value.left},${q.value.top} ${P.value ? P.value.endX : q.value.left},${q.value.bottom}`,
|
|
1181
1183
|
stroke: P.value ? L.value.style.chart.plots.evaluationColors.enable ? P.value.evaluationColor : L.value.style.chart.plots.endColor : "transparent",
|
|
1182
1184
|
"stroke-width": L.value.style.chart.comparisonLines.strokeWidth,
|
|
1183
1185
|
"stroke-dasharray": L.value.style.chart.comparisonLines.strokeDasharray,
|
|
1184
1186
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1185
|
-
}, null, 8, ot), [[
|
|
1187
|
+
}, null, 8, ot), [[Re, P.value !== null && ![null, void 0].includes(P.value.end)]]),
|
|
1186
1188
|
Ve(g("rect", {
|
|
1187
1189
|
x: P.value ? Math.min(P.value.startX, P.value.endX) : q.value.left,
|
|
1188
1190
|
y: q.value.top,
|
|
1189
1191
|
height: Math.max(.1, q.value.height),
|
|
1190
1192
|
width: P.value ? Math.max(.1, Math.abs(P.value.endX - P.value.startX)) : 0,
|
|
1191
|
-
fill: P.value ?
|
|
1193
|
+
fill: P.value ? D(i)(L.value.style.chart.comparisonLines.rectColor, L.value.style.chart.comparisonLines.rectOpacity) : "transparent",
|
|
1192
1194
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1193
|
-
}, null, 8, st), [[
|
|
1195
|
+
}, null, 8, st), [[Re, L.value.style.chart.comparisonLines.showRect && P.value !== null && ![null, void 0].includes(P.value.start) && ![null, void 0].includes(P.value.end)]]),
|
|
1194
1196
|
Ve(g("text", {
|
|
1195
1197
|
transform: `translate(${Wn.value == null ? 0 : Wn.value}, ${q.value.top - 6})`,
|
|
1196
1198
|
fill: L.value.style.chart.comparisonLines.labelColor,
|
|
1197
1199
|
"font-size": L.value.style.chart.comparisonLines.labelFontSize,
|
|
1198
1200
|
"text-anchor": "middle",
|
|
1199
1201
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1200
|
-
},
|
|
1201
|
-
], 512), [[
|
|
1202
|
+
}, E(Gn.value), 9, ct), [[Re, P.value !== null && Wn.value !== null && L.value.style.chart.comparisonLines.showLabel]])
|
|
1203
|
+
], 512), [[Re, L.value.style.chart.comparisonLines.show && N.value !== null]]),
|
|
1202
1204
|
g("defs", null, [
|
|
1203
1205
|
_(u, {
|
|
1204
1206
|
t: "radial",
|
|
@@ -1207,12 +1209,12 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1207
1209
|
stops: [
|
|
1208
1210
|
[
|
|
1209
1211
|
"10%",
|
|
1210
|
-
|
|
1212
|
+
D(l)(L.value.style.chart.plots.startColor, L.value.style.chart.plots.gradient.intensity / 100),
|
|
1211
1213
|
1
|
|
1212
1214
|
],
|
|
1213
1215
|
[
|
|
1214
1216
|
"90%",
|
|
1215
|
-
|
|
1217
|
+
D(o)(L.value.style.chart.plots.startColor, .1),
|
|
1216
1218
|
1
|
|
1217
1219
|
],
|
|
1218
1220
|
[
|
|
@@ -1229,12 +1231,12 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1229
1231
|
stops: [
|
|
1230
1232
|
[
|
|
1231
1233
|
"10%",
|
|
1232
|
-
|
|
1234
|
+
D(l)(L.value.style.chart.plots.endColor, L.value.style.chart.plots.gradient.intensity / 100),
|
|
1233
1235
|
1
|
|
1234
1236
|
],
|
|
1235
1237
|
[
|
|
1236
1238
|
"90%",
|
|
1237
|
-
|
|
1239
|
+
D(o)(L.value.style.chart.plots.endColor, .1),
|
|
1238
1240
|
1
|
|
1239
1241
|
],
|
|
1240
1242
|
[
|
|
@@ -1251,12 +1253,12 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1251
1253
|
stops: [
|
|
1252
1254
|
[
|
|
1253
1255
|
"10%",
|
|
1254
|
-
|
|
1256
|
+
D(l)(L.value.style.chart.plots.evaluationColors.positive, L.value.style.chart.plots.gradient.intensity / 100),
|
|
1255
1257
|
1
|
|
1256
1258
|
],
|
|
1257
1259
|
[
|
|
1258
1260
|
"90%",
|
|
1259
|
-
|
|
1261
|
+
D(o)(L.value.style.chart.plots.evaluationColors.positive, .1),
|
|
1260
1262
|
1
|
|
1261
1263
|
],
|
|
1262
1264
|
[
|
|
@@ -1273,12 +1275,12 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1273
1275
|
stops: [
|
|
1274
1276
|
[
|
|
1275
1277
|
"10%",
|
|
1276
|
-
|
|
1278
|
+
D(l)(L.value.style.chart.plots.evaluationColors.negative, L.value.style.chart.plots.gradient.intensity / 100),
|
|
1277
1279
|
1
|
|
1278
1280
|
],
|
|
1279
1281
|
[
|
|
1280
1282
|
"90%",
|
|
1281
|
-
|
|
1283
|
+
D(o)(L.value.style.chart.plots.evaluationColors.negative, .1),
|
|
1282
1284
|
1
|
|
1283
1285
|
],
|
|
1284
1286
|
[
|
|
@@ -1295,12 +1297,12 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1295
1297
|
stops: [
|
|
1296
1298
|
[
|
|
1297
1299
|
"10%",
|
|
1298
|
-
|
|
1300
|
+
D(l)(L.value.style.chart.plots.evaluationColors.neutral, L.value.style.chart.plots.gradient.intensity / 100),
|
|
1299
1301
|
1
|
|
1300
1302
|
],
|
|
1301
1303
|
[
|
|
1302
1304
|
"90%",
|
|
1303
|
-
|
|
1305
|
+
D(o)(L.value.style.chart.plots.evaluationColors.neutral, .1),
|
|
1304
1306
|
1
|
|
1305
1307
|
],
|
|
1306
1308
|
[
|
|
@@ -1311,7 +1313,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1311
1313
|
]
|
|
1312
1314
|
}, null, 8, ["id", "stops"])
|
|
1313
1315
|
]),
|
|
1314
|
-
(
|
|
1316
|
+
(S(!0), h(d, null, w(Y.value, (e, t) => (S(), h("g", { key: `plot_${t}_${e.id}` }, [
|
|
1315
1317
|
g("defs", null, [_(u, {
|
|
1316
1318
|
t: "linear",
|
|
1317
1319
|
id: `grad_pos_${A.value}`,
|
|
@@ -1345,7 +1347,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1345
1347
|
1
|
|
1346
1348
|
]]
|
|
1347
1349
|
}, null, 8, ["id", "stops"])]),
|
|
1348
|
-
![void 0, null].includes(e.end) && ![void 0, null].includes(e.start) ? (
|
|
1350
|
+
![void 0, null].includes(e.end) && ![void 0, null].includes(e.start) ? (S(), h("g", lt, [L.value.style.chart.plots.link.type === "curved" ? (S(), h("g", ut, [g("path", {
|
|
1349
1351
|
d: `M
|
|
1350
1352
|
${e.startX},${e.y + J.value / 2}
|
|
1351
1353
|
C ${e.centerX},${e.y} ${e.centerX},${e.y}
|
|
@@ -1356,14 +1358,14 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1356
1358
|
Z
|
|
1357
1359
|
`,
|
|
1358
1360
|
fill: L.value.style.chart.plots.evaluationColors.enable ? e.evaluationColor : e.endX > e.startX ? `url(#grad_pos_${A.value})` : `url(#grad_neg_${A.value})`
|
|
1359
|
-
}, null, 8, dt)])) : (
|
|
1361
|
+
}, null, 8, dt)])) : (S(), h("g", ft, [g("rect", {
|
|
1360
1362
|
x: e.endX > e.startX ? e.startX : e.endX,
|
|
1361
1363
|
y: e.y - L.value.style.chart.plots.link.strokeWidth / 2,
|
|
1362
1364
|
height: Math.max(.01, L.value.style.chart.plots.link.strokeWidth),
|
|
1363
1365
|
width: Math.max(.01, Math.abs(e.endX - e.startX)),
|
|
1364
1366
|
fill: L.value.style.chart.plots.evaluationColors.enable ? e.evaluationColor : e.endX > e.startX ? `url(#grad_pos_${A.value})` : `url(#grad_neg_${A.value})`
|
|
1365
1367
|
}, null, 8, pt)]))])) : m("", !0),
|
|
1366
|
-
[null, void 0].includes(e.start) ? m("", !0) : (
|
|
1368
|
+
[null, void 0].includes(e.start) ? m("", !0) : (S(), h("circle", {
|
|
1367
1369
|
key: 1,
|
|
1368
1370
|
cx: e.startX,
|
|
1369
1371
|
cy: e.y,
|
|
@@ -1372,7 +1374,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1372
1374
|
stroke: L.value.style.chart.plots.stroke,
|
|
1373
1375
|
"stroke-width": L.value.style.chart.plots.strokeWidth
|
|
1374
1376
|
}, null, 8, mt)),
|
|
1375
|
-
[null, void 0].includes(e.end) ? m("", !0) : (
|
|
1377
|
+
[null, void 0].includes(e.end) ? m("", !0) : (S(), h("circle", {
|
|
1376
1378
|
key: 2,
|
|
1377
1379
|
cx: e.endX,
|
|
1378
1380
|
cy: e.y,
|
|
@@ -1382,14 +1384,14 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1382
1384
|
"stroke-width": L.value.style.chart.plots.strokeWidth
|
|
1383
1385
|
}, null, 8, ht))
|
|
1384
1386
|
]))), 128)),
|
|
1385
|
-
L.value.style.chart.labels.startLabels.show ? (
|
|
1387
|
+
L.value.style.chart.labels.startLabels.show ? (S(), h("g", gt, [(S(!0), h(d, null, w(Y.value, (e, t) => (S(), h("g", { key: `start_label_${t}_${e.id}` }, [[null, void 0].includes(e.start) ? m("", !0) : (S(), h("text", {
|
|
1386
1388
|
key: 0,
|
|
1387
1389
|
x: e.startX,
|
|
1388
1390
|
y: e.y + J.value * 2 + L.value.style.chart.labels.startLabels.fontSize / 2,
|
|
1389
1391
|
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,
|
|
1390
1392
|
"font-size": L.value.style.chart.labels.startLabels.fontSize,
|
|
1391
1393
|
"text-anchor": "middle"
|
|
1392
|
-
},
|
|
1394
|
+
}, E(D(c)(L.value.style.chart.labels.formatter, e.start, D(a)({
|
|
1393
1395
|
p: L.value.style.chart.labels.prefix,
|
|
1394
1396
|
v: e.start,
|
|
1395
1397
|
s: L.value.style.chart.labels.suffix,
|
|
@@ -1398,14 +1400,14 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1398
1400
|
datapoint: e,
|
|
1399
1401
|
seriesIndex: t
|
|
1400
1402
|
})), 9, _t))]))), 128))])) : m("", !0),
|
|
1401
|
-
L.value.style.chart.labels.endLabels.show ? (
|
|
1403
|
+
L.value.style.chart.labels.endLabels.show ? (S(), h("g", vt, [(S(!0), h(d, null, w(Y.value, (e, t) => (S(), h("g", { key: `end_label_${t}_${e.id}` }, [[null, void 0].includes(e.end) ? m("", !0) : (S(), h("text", {
|
|
1402
1404
|
key: 0,
|
|
1403
1405
|
x: e.endX,
|
|
1404
1406
|
y: e.y - (J.value * 2 - L.value.style.chart.labels.startLabels.fontSize / 3),
|
|
1405
1407
|
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,
|
|
1406
1408
|
"font-size": L.value.style.chart.labels.endLabels.fontSize,
|
|
1407
1409
|
"text-anchor": "middle"
|
|
1408
|
-
},
|
|
1410
|
+
}, E(D(c)(L.value.style.chart.labels.formatter, e.end, D(a)({
|
|
1409
1411
|
p: L.value.style.chart.labels.prefix,
|
|
1410
1412
|
v: e.end,
|
|
1411
1413
|
s: L.value.style.chart.labels.suffix,
|
|
@@ -1414,12 +1416,12 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1414
1416
|
datapoint: e,
|
|
1415
1417
|
seriesIndex: t
|
|
1416
1418
|
})), 9, yt))]))), 128))])) : m("", !0),
|
|
1417
|
-
g("g", null, [(
|
|
1419
|
+
g("g", null, [(S(!0), h(d, null, w(Y.value, (e, t) => (S(), h("rect", {
|
|
1418
1420
|
x: q.value.left,
|
|
1419
1421
|
y: q.value.top + t * Math.max(.1, q.value.rowHeight),
|
|
1420
1422
|
width: Math.max(.1, q.value.width),
|
|
1421
1423
|
height: Math.max(.1, q.value.rowHeight),
|
|
1422
|
-
fill: N.value === null ? "transparent" : N.value === t ?
|
|
1424
|
+
fill: N.value === null ? "transparent" : N.value === t ? D(i)(L.value.style.chart.highlighter.color, L.value.style.chart.highlighter.opacity) : "transparent",
|
|
1423
1425
|
onMouseenter: (n) => Vn({
|
|
1424
1426
|
datapoint: e,
|
|
1425
1427
|
seriesIndex: t
|
|
@@ -1433,31 +1435,31 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1433
1435
|
seriesIndex: t
|
|
1434
1436
|
})
|
|
1435
1437
|
}, null, 40, bt))), 256))]),
|
|
1436
|
-
|
|
1438
|
+
T(e.$slots, "svg", { svg: {
|
|
1437
1439
|
...q.value,
|
|
1438
|
-
isPrintingImg:
|
|
1439
|
-
isPrintingSvg:
|
|
1440
|
+
isPrintingImg: D(fn) || D(pn) || D(Qn),
|
|
1441
|
+
isPrintingSvg: D($n)
|
|
1440
1442
|
} }, void 0, !0)
|
|
1441
|
-
], 46, qe)), e.$slots.hint ? (
|
|
1443
|
+
], 46, qe)), e.$slots.hint ? (S(), h("div", xt, [T(e.$slots, "hint", b(y({
|
|
1442
1444
|
hint: L.value.a11y.translations.keyboardNavigation,
|
|
1443
1445
|
isVisible: en.value
|
|
1444
1446
|
})), void 0, !0)])) : m("", !0)]),
|
|
1445
|
-
e.$slots.watermark ? (
|
|
1447
|
+
e.$slots.watermark ? (S(), h("div", St, [T(e.$slots, "watermark", b(y({ isPrinting: D(fn) || D(pn) || D(Qn) || D($n) })), void 0, !0)])) : m("", !0),
|
|
1446
1448
|
g("div", { id: `legend-bottom-${A.value}` }, null, 8, Ct),
|
|
1447
|
-
Jt.value && (L.value.style.chart.legend.show || e.$slots.legend) ? (
|
|
1449
|
+
Jt.value && (L.value.style.chart.legend.show || e.$slots.legend) ? (S(), p(De, {
|
|
1448
1450
|
key: 6,
|
|
1449
1451
|
to: L.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
|
|
1450
1452
|
}, [g("div", {
|
|
1451
1453
|
ref_key: "chartLegend",
|
|
1452
1454
|
ref: Ht
|
|
1453
|
-
}, [
|
|
1455
|
+
}, [T(e.$slots, "legend", { legend: Dn.value }, () => [L.value.style.chart.legend.show && zt.value ? (S(), p(we, {
|
|
1454
1456
|
key: `legend_${qt.value}`,
|
|
1455
1457
|
legendSet: Dn.value,
|
|
1456
1458
|
config: On.value,
|
|
1457
1459
|
clickable: !1
|
|
1458
1460
|
}, {
|
|
1459
|
-
item: O(({ legend: e }) => [g("div", { style:
|
|
1460
|
-
xmlns:
|
|
1461
|
+
item: O(({ legend: e }) => [g("div", { style: x(`display:flex;align-items:center;gap:4px;font-size:${L.value.style.chart.legend.fontSize}px`) }, [(S(), h("svg", {
|
|
1462
|
+
xmlns: D(ae),
|
|
1461
1463
|
viewBox: "0 0 20 20",
|
|
1462
1464
|
height: L.value.style.chart.legend.fontSize,
|
|
1463
1465
|
width: L.value.style.chart.legend.fontSize
|
|
@@ -1466,21 +1468,21 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1466
1468
|
cy: 10,
|
|
1467
1469
|
r: 9,
|
|
1468
1470
|
fill: e.color
|
|
1469
|
-
}, null, 8, Tt)], 8, wt)),
|
|
1471
|
+
}, null, 8, Tt)], 8, wt)), D(nn) ? m("", !0) : (S(), h(d, { key: 0 }, [ke(E(e.name), 1)], 64))], 4)]),
|
|
1470
1472
|
_: 1
|
|
1471
1473
|
}, 8, ["legendSet", "config"])) : m("", !0)], !0)], 512)], 8, ["to"])) : m("", !0),
|
|
1472
|
-
e.$slots.source ? (
|
|
1474
|
+
e.$slots.source ? (S(), h("div", {
|
|
1473
1475
|
key: 7,
|
|
1474
1476
|
ref_key: "source",
|
|
1475
1477
|
ref: Ut,
|
|
1476
1478
|
dir: "auto"
|
|
1477
|
-
}, [
|
|
1478
|
-
zt.value && L.value.userOptions.buttons.table ? (
|
|
1479
|
+
}, [T(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
|
|
1480
|
+
zt.value && L.value.userOptions.buttons.table ? (S(), p(Fe(Kn.value.component), Ae({ key: 8 }, Kn.value.props, {
|
|
1479
1481
|
ref_key: "tableUnit",
|
|
1480
1482
|
ref: M,
|
|
1481
1483
|
onClose: qn
|
|
1482
1484
|
}), Oe({
|
|
1483
|
-
content: O(() => [(
|
|
1485
|
+
content: O(() => [(S(), p(D(kt), {
|
|
1484
1486
|
key: `table_${Kt.value}`,
|
|
1485
1487
|
colNames: Q.value.colNames,
|
|
1486
1488
|
head: Q.value.head,
|
|
@@ -1491,8 +1493,8 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1491
1493
|
isCursorPointer: R.value,
|
|
1492
1494
|
onClose: qn
|
|
1493
1495
|
}, {
|
|
1494
|
-
th: O(({ th: e }) => [g("div", Et,
|
|
1495
|
-
td: O(({ td: e }) => [ke(
|
|
1496
|
+
th: O(({ th: e }) => [g("div", Et, E(e), 1)]),
|
|
1497
|
+
td: O(({ td: e }) => [ke(E(e.name || e), 1)]),
|
|
1496
1498
|
_: 1
|
|
1497
1499
|
}, 8, [
|
|
1498
1500
|
"colNames",
|
|
@@ -1506,7 +1508,7 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1506
1508
|
_: 2
|
|
1507
1509
|
}, [L.value.table.useDialog ? {
|
|
1508
1510
|
name: "title",
|
|
1509
|
-
fn: O(() => [ke(
|
|
1511
|
+
fn: O(() => [ke(E(Kn.value.title), 1)]),
|
|
1510
1512
|
key: "0"
|
|
1511
1513
|
} : void 0, L.value.table.useDialog ? {
|
|
1512
1514
|
name: "actions",
|
|
@@ -1514,16 +1516,16 @@ var He = /* @__PURE__ */ e({ default: () => Dt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1514
1516
|
tabindex: "0",
|
|
1515
1517
|
class: "vue-ui-user-options-button",
|
|
1516
1518
|
onClick: t[0] ||= (e) => kn(L.value.userOptions.callbacks.csv),
|
|
1517
|
-
style:
|
|
1518
|
-
}, [_(
|
|
1519
|
+
style: x({ cursor: R.value ? "pointer" : "default" })
|
|
1520
|
+
}, [_(D(Dt), {
|
|
1519
1521
|
name: "fileCsv",
|
|
1520
1522
|
stroke: Kn.value.props.color
|
|
1521
1523
|
}, null, 8, ["stroke"])], 4)]),
|
|
1522
1524
|
key: "1"
|
|
1523
1525
|
} : void 0]), 1040)) : m("", !0),
|
|
1524
|
-
|
|
1526
|
+
T(e.$slots, "skeleton", {}, () => [D(nn) ? (S(), p(de, { key: 0 })) : m("", !0)], !0)
|
|
1525
1527
|
], 46, Ue));
|
|
1526
1528
|
}
|
|
1527
|
-
}, [["__scopeId", "data-v-
|
|
1529
|
+
}, [["__scopeId", "data-v-82b215bc"]]);
|
|
1528
1530
|
//#endregion
|
|
1529
1531
|
export { He as n, Dt as t };
|