vue-data-ui 3.1.5 → 3.1.7
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 +37 -37
- package/dist/{Arrow-BFbcF5Sq.js → Arrow-BZ8rnWYn.js} +1 -1
- package/dist/{BaseDraggableDialog-BO4B1Kwa.js → BaseDraggableDialog-Bdva4JFr.js} +2 -2
- package/dist/{BaseIcon-BQQGRQ2U.js → BaseIcon-BCS8aIf4.js} +1 -1
- package/dist/{ColorPicker-d1kmGapq.js → ColorPicker-DF6PDOhr.js} +2 -2
- package/dist/{DataTable-D6voeZvO.js → DataTable-Ddu14t59.js} +2 -2
- package/dist/{Legend-nPGcCxG_.js → Legend-C3I0iaLM.js} +2 -2
- package/dist/{NonSvgPenAndPaper-xRGRe41H.js → NonSvgPenAndPaper-LSG0MLRC.js} +3 -3
- package/dist/{PackageVersion-BeStrsPr.js → PackageVersion-CtYY8jBZ.js} +1 -1
- package/dist/{PenAndPaper-C6tiapdo.js → PenAndPaper-DtlEAsLw.js} +3 -3
- package/dist/{Shape-DBVq0fdK.js → Shape-B8Cdu8s1.js} +1 -1
- package/dist/{Slicer-Duqm7KZK.js → Slicer-Bk01kWGC.js} +66 -67
- package/dist/{SparkTooltip-wNGmXZSx.js → SparkTooltip-qMi3IzXb.js} +1 -1
- package/dist/{Title-ydtId0LC.js → Title-BUVvr0U8.js} +1 -1
- package/dist/{Tooltip-oeu9knGI.js → Tooltip-VlJQQsYu.js} +1 -1
- package/dist/{UserOptions-CnJxN2Vo.js → UserOptions-sSygisu3.js} +2 -2
- package/dist/{dom-to-png-CMCYtLrX.js → dom-to-png-BqX4MBZN.js} +1 -1
- package/dist/{img-Neec0VVb.js → img-DN0--Lx6.js} +1 -1
- package/dist/{index-BkfuZCRT.js → index-BlRUhv0O.js} +1 -1
- package/dist/{pdf-CpQ-dqJh.js → pdf-Cm5HZB7J.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-DR2HExYc.js → useAutoSizeLabelsInsideViewbox-wLT3gJAJ.js} +1 -1
- package/dist/{useNestedProp-BMzw9VUz.js → useNestedProp-OxTlfHdh.js} +1 -1
- package/dist/{usePrinter-CEdg3j8S.js → usePrinter-DR__HfSR.js} +2 -2
- package/dist/{vue-data-ui-D5B7a84o.js → vue-data-ui-Ci8pH3va.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-C8_Qu1rf.js → vue-ui-3d-bar-h-8AQQKD.js} +8 -8
- package/dist/{vue-ui-accordion-DFxAHGEZ.js → vue-ui-accordion-DejV6zJ2.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D_kTImtX.js → vue-ui-age-pyramid-yTcDoeqi.js} +8 -8
- package/dist/{vue-ui-annotator-B1vSlzfu.js → vue-ui-annotator-HqsIz-FI.js} +2 -2
- package/dist/{vue-ui-bullet-VPchh2r2.js → vue-ui-bullet-Co4ZttnE.js} +7 -7
- package/dist/{vue-ui-candlestick-CB3bj7_-.js → vue-ui-candlestick-BQQR9K33.js} +58 -58
- package/dist/{vue-ui-carousel-table-CUiSyrTY.js → vue-ui-carousel-table-BzDik-6R.js} +4 -4
- package/dist/{vue-ui-chestnut-BE5ZEt1N.js → vue-ui-chestnut-5VG75w-T.js} +37 -37
- package/dist/{vue-ui-chord-DVSBY9ou.js → vue-ui-chord-5HE-ZTDA.js} +11 -11
- package/dist/{vue-ui-circle-pack-BfDjZFaF.js → vue-ui-circle-pack-BVcr-3fG.js} +232 -228
- package/dist/{vue-ui-cursor-BIuc6nds.js → vue-ui-cursor-BDH4YPCA.js} +2 -2
- package/dist/{vue-ui-dashboard-C7xIcrvD.js → vue-ui-dashboard-VtafJ36J.js} +67 -67
- package/dist/{vue-ui-digits-C3mI-0Fg.js → vue-ui-digits-Bh5fmCge.js} +2 -2
- package/dist/{vue-ui-donut-BApz1ho5.js → vue-ui-donut-PiILi3WQ.js} +10 -10
- package/dist/{vue-ui-donut-evolution-B2PJiYY9.js → vue-ui-donut-evolution-DVp2UID9.js} +38 -38
- package/dist/{vue-ui-dumbbell-DQjVvBH_.js → vue-ui-dumbbell-DIX_gcC_.js} +84 -84
- package/dist/{vue-ui-flow-COtJRNLE.js → vue-ui-flow-DY64szfV.js} +55 -55
- package/dist/{vue-ui-funnel-BY2qeg-m.js → vue-ui-funnel-DnQFZe9P.js} +31 -31
- package/dist/{vue-ui-galaxy-3zec_QLi.js → vue-ui-galaxy-C0TCFGXT.js} +31 -31
- package/dist/{vue-ui-gauge-CFUA5ORH.js → vue-ui-gauge-BNIAJlUC.js} +7 -7
- package/dist/{vue-ui-gizmo-CUPFU8GE.js → vue-ui-gizmo-BnHruhLB.js} +3 -3
- package/dist/{vue-ui-heatmap-DakytdCv.js → vue-ui-heatmap-CH_twICb.js} +10 -10
- package/dist/{vue-ui-history-plot-DnSB7au4.js → vue-ui-history-plot-CtJrkyG8.js} +88 -88
- package/dist/{vue-ui-kpi-UmcKQftv.js → vue-ui-kpi-Co0app61.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bl8GHasa.js → vue-ui-mini-loader-DXrdP_7p.js} +2 -2
- package/dist/{vue-ui-molecule-BZrmSVps.js → vue-ui-molecule-C2cNArDQ.js} +8 -8
- package/dist/{vue-ui-mood-radar-CVM8vl5N.js → vue-ui-mood-radar-BrLLsYz5.js} +9 -9
- package/dist/{vue-ui-nested-donuts-LTzijeVK.js → vue-ui-nested-donuts-DRysa4v_.js} +42 -42
- package/dist/{vue-ui-onion-aHCc3r7L.js → vue-ui-onion-znQ-OGaR.js} +12 -11
- package/dist/{vue-ui-parallel-coordinate-plot-0xXe6A-6.js → vue-ui-parallel-coordinate-plot-DIX2Hytk.js} +10 -10
- package/dist/{vue-ui-quadrant-BlM9WNN7.js → vue-ui-quadrant-B4X5ePQQ.js} +10 -10
- package/dist/{vue-ui-quick-chart-CJ2Wdln9.js → vue-ui-quick-chart-Cm7iAsdB.js} +6 -6
- package/dist/{vue-ui-radar-Cgnooz7-.js → vue-ui-radar-CMXnDLdC.js} +10 -10
- package/dist/{vue-ui-rating-DF71ymNG.js → vue-ui-rating-wAMAKVA8.js} +2 -2
- package/dist/{vue-ui-relation-circle-DsuEL1gY.js → vue-ui-relation-circle-snHKlhA3.js} +7 -7
- package/dist/{vue-ui-ridgeline-DxP8uxgx.js → vue-ui-ridgeline-Bx7_nnJ7.js} +10 -10
- package/dist/{vue-ui-rings-C4hKgrft.js → vue-ui-rings-BGTPLeaD.js} +10 -10
- package/dist/{vue-ui-scatter-B_SzTSE5.js → vue-ui-scatter-D-rI3hK1.js} +10 -10
- package/dist/{vue-ui-skeleton-DCAlHSMV.js → vue-ui-skeleton-B-6lN9xS.js} +3 -3
- package/dist/{vue-ui-smiley-B_JFtrl6.js → vue-ui-smiley-DeLEE9m9.js} +2 -2
- package/dist/{vue-ui-spark-trend-CC7q1UbE.js → vue-ui-spark-trend-BvrboxYt.js} +3 -3
- package/dist/{vue-ui-sparkbar-C2YRX4mJ.js → vue-ui-sparkbar-nW5DeWC5.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BO4c3j-8.js → vue-ui-sparkgauge-Isge2K7-.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-BuGOHT9h.js → vue-ui-sparkhistogram-ChSw4gHY.js} +4 -4
- package/dist/{vue-ui-sparkline-hOyPCIt8.js → vue-ui-sparkline-DH-VRt5o.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DhSc-U8u.js → vue-ui-sparkstackbar-l45aaRR1.js} +3 -3
- package/dist/{vue-ui-stackbar-VdBWv1wm.js → vue-ui-stackbar-ByVq83Og.js} +11 -11
- package/dist/{vue-ui-strip-plot-CBj5ntWM.js → vue-ui-strip-plot-CwooqV7G.js} +9 -9
- package/dist/{vue-ui-table-BItmKbvF.js → vue-ui-table-BRPcCRq-.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DziHVKba.js → vue-ui-table-heatmap-CaAadUo0.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CpWDqm7q.js → vue-ui-table-sparkline-Bt7VtPKK.js} +4 -4
- package/dist/{vue-ui-thermometer-CWt0q_Tu.js → vue-ui-thermometer-B-CWjknr.js} +7 -7
- package/dist/{vue-ui-timer-BIv2sfQA.js → vue-ui-timer-CxLcOKNv.js} +5 -5
- package/dist/{vue-ui-tiremarks-BE_VWjK-.js → vue-ui-tiremarks-DYEZvwDv.js} +6 -6
- package/dist/{vue-ui-treemap-2AIbDpTo.js → vue-ui-treemap-CeuebtPa.js} +10 -10
- package/dist/{vue-ui-vertical-bar-CP-XFVV5.js → vue-ui-vertical-bar-D8_txlgd.js} +50 -50
- package/dist/{vue-ui-waffle-CewP8k-W.js → vue-ui-waffle-B5Qe5PKA.js} +32 -32
- package/dist/{vue-ui-wheel-Ik8FoLfz.js → vue-ui-wheel-CxpLOCGw.js} +6 -6
- package/dist/{vue-ui-word-cloud-CEEc5ep_.js → vue-ui-word-cloud-DCoL3uD5.js} +38 -38
- package/dist/{vue-ui-world-CuwXMI3D.js → vue-ui-world-DmnwTNAv.js} +8 -8
- package/dist/{vue-ui-xy-Bsh2OBHp.js → vue-ui-xy-CzdchisK.js} +1090 -1075
- package/dist/{vue-ui-xy-canvas-CKzjhhNg.js → vue-ui-xy-canvas-CJp0mlzr.js} +12 -12
- package/package.json +4 -2
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineAsyncComponent as H, computed as g, ref as h, toRefs as Dt, watch as le, shallowRef as et, onMounted as tt, onBeforeUnmount as lt, watchEffect as
|
|
2
|
-
import { u as Gt, c as nt, t as Et, b as Rt, o as Bt, f as rt, g as Vt, h as ut, D as Ut, i as w, k as P, X as it, s as ct, l as Z, j as J, v as Wt, w as qt } from "./index-
|
|
1
|
+
import { defineAsyncComponent as H, computed as g, ref as h, toRefs as Dt, watch as le, shallowRef as et, onMounted as tt, onBeforeUnmount as lt, watchEffect as Ot, createElementBlock as v, openBlock as n, unref as i, normalizeStyle as ae, normalizeClass as at, createBlock as D, createCommentVNode as y, createElementVNode as c, createSlots as st, withCtx as p, renderSlot as x, normalizeProps as se, guardReactiveProps as oe, createVNode as ot, withDirectives as j, Fragment as C, renderList as A, toDisplayString as _, vShow as Y, Teleport as It, createTextVNode as ke, resolveDynamicComponent as Ft, mergeProps as Ht, nextTick as Pt } from "vue";
|
|
2
|
+
import { u as Gt, c as nt, t as Et, b as Rt, o as Bt, f as rt, g as Vt, h as ut, D as Ut, i as w, k as P, X as it, s as ct, l as Z, j as J, v as Wt, w as qt } from "./index-BlRUhv0O.js";
|
|
3
3
|
import { t as Ce, u as jt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Yt } from "./usePrinter-
|
|
4
|
+
import { u as Yt } from "./usePrinter-DR__HfSR.js";
|
|
5
5
|
import { u as Zt, B as Jt } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as vt } from "./useNestedProp-
|
|
6
|
+
import { u as vt } from "./useNestedProp-OxTlfHdh.js";
|
|
7
7
|
import { u as Kt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as Qt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
9
|
import { u as el } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
10
|
-
import tl from "./img-
|
|
11
|
-
import ll from "./Title-
|
|
12
|
-
import al from "./Legend-
|
|
10
|
+
import tl from "./img-DN0--Lx6.js";
|
|
11
|
+
import ll from "./Title-BUVvr0U8.js";
|
|
12
|
+
import al from "./Legend-C3I0iaLM.js";
|
|
13
13
|
import { _ as sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
-
const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"], il = { key: 1 }, cl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], vl = { key: 2 }, dl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], hl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], fl = ["transform", "font-size", "fill"],
|
|
14
|
+
const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"], il = { key: 1 }, cl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], vl = { key: 2 }, dl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], hl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], fl = ["transform", "font-size", "fill"], bl = ["x", "y", "font-size", "fill", "font-weight", "onMouseenter", "onMouseleave", "onClick"], yl = ["x", "y", "font-size", "fill", "onMouseenter", "onMouseleave", "onClick"], gl = ["x", "y", "font-size", "fill"], ml = ["transform", "font-size", "fill", "font-weight", "text-anchor"], pl = ["d", "stroke", "stroke-width", "stroke-dasharray"], xl = ["d", "stroke", "stroke-width", "stroke-dasharray"], _l = ["x", "y", "height", "width", "fill"], kl = ["transform", "fill", "font-size"], Cl = ["id"], wl = ["stop-color"], $l = ["stop-color"], Ll = ["stop-color"], Al = ["id"], Nl = ["stop-color"], Sl = ["stop-color"], Ml = ["stop-color"], Xl = ["id"], zl = ["stop-color"], Tl = ["stop-color"], Dl = ["stop-color"], Ol = ["id"], Il = ["stop-color"], Fl = ["stop-color"], Hl = ["stop-color"], Pl = ["id"], Gl = ["stop-color"], El = ["stop-color"], Rl = ["stop-color"], Bl = ["id"], Vl = ["stop-color"], Ul = ["stop-color"], Wl = ["id"], ql = ["stop-color"], jl = ["stop-color"], Yl = { key: 0 }, Zl = { key: 0 }, Jl = ["d", "fill"], Kl = { key: 1 }, Ql = ["x", "y", "height", "width", "fill"], ea = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ta = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], la = { key: 7 }, aa = ["x", "y", "fill", "font-size"], sa = { key: 8 }, oa = ["x", "y", "fill", "font-size"], na = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], ra = {
|
|
15
15
|
key: 4,
|
|
16
16
|
class: "vue-data-ui-watermark"
|
|
17
17
|
}, ua = ["id"], ia = ["xmlns", "height", "width"], ca = ["fill"], va = ["innerHTML"], da = {
|
|
@@ -32,14 +32,14 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectDatapoint"],
|
|
34
34
|
setup(dt, { expose: ht, emit: ha }) {
|
|
35
|
-
const ft = H(() => import("./BaseIcon-
|
|
35
|
+
const ft = H(() => import("./BaseIcon-BCS8aIf4.js")), bt = H(() => import("./vue-ui-accordion-DejV6zJ2.js")), yt = H(() => import("./DataTable-Ddu14t59.js")), gt = H(() => import("./PenAndPaper-DtlEAsLw.js")), mt = H(() => import("./UserOptions-sSygisu3.js")), pt = H(() => import("./PackageVersion-CtYY8jBZ.js")), xt = H(() => import("./BaseDraggableDialog-Bdva4JFr.js")), { vue_ui_dumbbell: _t } = Gt(), N = dt, K = g({
|
|
36
36
|
get() {
|
|
37
37
|
return !!N.dataset && N.dataset.length;
|
|
38
38
|
},
|
|
39
39
|
set(l) {
|
|
40
40
|
return l;
|
|
41
41
|
}
|
|
42
|
-
}), f = h(nt()), we = h(0), S = h(null), $e = h(null), Le = h(null), Ae = h(null), Ne = h(null), Se = h(0), Me = h(0), Xe = h(0), ze = h(!1), U = h(null), ne = h(null), re = h(null), ue = h(null), Q = h(null), ie = h(null),
|
|
42
|
+
}), f = h(nt()), we = h(0), S = h(null), $e = h(null), Le = h(null), Ae = h(null), Ne = h(null), Se = h(0), Me = h(0), Xe = h(0), ze = h(!1), U = h(null), ne = h(null), re = h(null), ue = h(null), Q = h(null), ie = h(null), O = h(null), r = h(null), I = h(!1), e = h(he()), { loading: ce, FINAL_DATASET: ve, manualLoading: kt } = Zt({
|
|
43
43
|
...Dt(N),
|
|
44
44
|
FINAL_CONFIG: e,
|
|
45
45
|
prepareConfig: he,
|
|
@@ -92,7 +92,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
})
|
|
95
|
-
}), { userOptionsVisible: de, setUserOptionsVisibility: Te, keepUserOptionState: De } = Kt({ config: e.value }), { svgRef:
|
|
95
|
+
}), { userOptionsVisible: de, setUserOptionsVisibility: Te, keepUserOptionState: De } = Kt({ config: e.value }), { svgRef: Oe } = Qt({ config: e.value.style.chart.title });
|
|
96
96
|
function he() {
|
|
97
97
|
const l = vt({
|
|
98
98
|
userConfig: N.config,
|
|
@@ -114,12 +114,12 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
114
114
|
tt(() => {
|
|
115
115
|
ze.value = !0, Fe();
|
|
116
116
|
});
|
|
117
|
-
const
|
|
117
|
+
const Ie = g(() => !!e.value.debug);
|
|
118
118
|
function Fe() {
|
|
119
119
|
if (Bt(N.dataset) ? rt({
|
|
120
120
|
componentName: "VueUiDumbbell",
|
|
121
121
|
type: "dataset",
|
|
122
|
-
debug:
|
|
122
|
+
debug: Ie.value
|
|
123
123
|
}) : N.dataset.forEach((l, s) => {
|
|
124
124
|
Vt({
|
|
125
125
|
datasetObject: l,
|
|
@@ -130,7 +130,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
130
130
|
type: "datasetSerieAttribute",
|
|
131
131
|
property: t,
|
|
132
132
|
index: s,
|
|
133
|
-
debug:
|
|
133
|
+
debug: Ie.value
|
|
134
134
|
});
|
|
135
135
|
});
|
|
136
136
|
}), e.value.responsive) {
|
|
@@ -171,7 +171,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
171
171
|
end: ut(l.end),
|
|
172
172
|
id: l.id ?? `${String(l.name)}__${String(l.start)}__${String(l.end)}__${nt()}`
|
|
173
173
|
}))), Re = g(() => {
|
|
174
|
-
const l = e.value.style.chart.grid, s = E.value.flatMap((
|
|
174
|
+
const l = e.value.style.chart.grid, s = E.value.flatMap((b) => [b.start, b.end]).map((b) => Number(b)).filter((b) => Number.isFinite(b)), t = s.length ? Math.min(...s) : 0, a = s.length ? Math.max(...s) : 0, u = l.scaleMin ?? Math.min(t, 0), d = l.scaleMax ?? a;
|
|
175
175
|
return { min: u, max: d };
|
|
176
176
|
}), $ = g(() => Ut(Re.value.min, Re.value.max, e.value.style.chart.grid.scaleSteps)), R = h(e.value.style.chart.rowHeight), B = h(e.value.style.chart.width);
|
|
177
177
|
function wt() {
|
|
@@ -186,7 +186,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
186
186
|
const fe = h(0), $t = Ce((l) => {
|
|
187
187
|
fe.value = l;
|
|
188
188
|
}, 100);
|
|
189
|
-
|
|
189
|
+
Ot((l) => {
|
|
190
190
|
const s = Q.value;
|
|
191
191
|
if (!s) return;
|
|
192
192
|
const t = new ResizeObserver((a) => {
|
|
@@ -197,28 +197,28 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
197
197
|
fe.value = 0;
|
|
198
198
|
});
|
|
199
199
|
const Be = g(() => {
|
|
200
|
-
|
|
200
|
+
I.value;
|
|
201
201
|
let l = 0;
|
|
202
202
|
ie.value && (l = ie.value.getBBox().height);
|
|
203
203
|
let s = 0;
|
|
204
204
|
return Q.value && (s = fe.value), l + s;
|
|
205
|
-
}),
|
|
205
|
+
}), be = g(() => E.value.length);
|
|
206
206
|
function Ve(l, s, t) {
|
|
207
|
-
const a = Number(l), u = Number(s.min), d = Number(s.max),
|
|
208
|
-
if (!Number.isFinite(a) || !Number.isFinite(u) || !Number.isFinite(d) || !Number.isFinite(
|
|
207
|
+
const a = Number(l), u = Number(s.min), d = Number(s.max), b = Number(t.width);
|
|
208
|
+
if (!Number.isFinite(a) || !Number.isFinite(u) || !Number.isFinite(d) || !Number.isFinite(b))
|
|
209
209
|
return t.left;
|
|
210
210
|
const m = d - u;
|
|
211
|
-
return m <= 0 ? t.left : t.left + (a - u) / m *
|
|
211
|
+
return m <= 0 ? t.left : t.left + (a - u) / m * b;
|
|
212
212
|
}
|
|
213
213
|
const o = g(() => {
|
|
214
|
-
|
|
215
|
-
const l = wt(), s = e.value.style.chart.padding, t = e.value.style.chart.labels.axis.xLabel ? e.value.style.chart.labels.axis.xLabelOffsetY : 0, a = R.value *
|
|
214
|
+
I.value;
|
|
215
|
+
const l = wt(), s = e.value.style.chart.padding, t = e.value.style.chart.labels.axis.xLabel ? e.value.style.chart.labels.axis.xLabelOffsetY : 0, a = R.value * be.value - Be.value - s.top - s.bottom - t, u = a / be.value, d = R.value * be.value, b = B.value - l - s.left - s.right, m = $.value.ticks.length * (b / $.value.ticks.length);
|
|
216
216
|
return {
|
|
217
217
|
left: e.value.style.chart.padding.left + l,
|
|
218
218
|
right: B.value - e.value.style.chart.padding.right,
|
|
219
219
|
top: e.value.style.chart.padding.top,
|
|
220
220
|
bottom: d - e.value.style.chart.padding.bottom - Be.value - t,
|
|
221
|
-
width:
|
|
221
|
+
width: b,
|
|
222
222
|
height: a,
|
|
223
223
|
rowHeight: u,
|
|
224
224
|
absoluteHeight: d,
|
|
@@ -228,7 +228,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
228
228
|
get() {
|
|
229
229
|
const l = o.value, s = $.value;
|
|
230
230
|
return W.value.map((t, a) => {
|
|
231
|
-
const u = Ve(t.start, s, l), d = Ve(t.endVal, s, l),
|
|
231
|
+
const u = Ve(t.start, s, l), d = Ve(t.endVal, s, l), b = u + (d - u) / 2, m = ![null, void 0].includes(t.start) && ![null, void 0].includes(t.end) && t.end > t.start, T = ![null, void 0].includes(t.start) && ![null, void 0].includes(t.end) && t.end < t.start, Qe = ![null, void 0].includes(t.start) && ![null, void 0].includes(t.end) && t.end === t.start || [null, void 0].includes(t.start) || [null, void 0].includes(t.end), Tt = m ? e.value.style.chart.plots.evaluationColors.positive : T ? e.value.style.chart.plots.evaluationColors.negative : e.value.style.chart.plots.evaluationColors.neutral;
|
|
232
232
|
return {
|
|
233
233
|
...t,
|
|
234
234
|
isPositive: m,
|
|
@@ -238,7 +238,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
238
238
|
evaluationGrad: `url(#${m ? "positive" : T ? "negative" : "neutral"}_grad_${f.value})`,
|
|
239
239
|
startX: u,
|
|
240
240
|
endX: d,
|
|
241
|
-
centerX:
|
|
241
|
+
centerX: b,
|
|
242
242
|
y: l.top + a * l.rowHeight + l.rowHeight / 2
|
|
243
243
|
};
|
|
244
244
|
});
|
|
@@ -269,13 +269,13 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
269
269
|
return;
|
|
270
270
|
}
|
|
271
271
|
const l = Math.max(1, Math.min(100, e.value.animationSpeed || 100)) / 100, s = E.value.map((a) => {
|
|
272
|
-
const u = Number(a.start), d = Number(a.end),
|
|
273
|
-
return (Number.isFinite(d) ? d :
|
|
272
|
+
const u = Number(a.start), d = Number(a.end), b = Number.isFinite(u) ? u : 0;
|
|
273
|
+
return (Number.isFinite(d) ? d : b) - b;
|
|
274
274
|
}), t = () => {
|
|
275
275
|
let a = !0;
|
|
276
276
|
k.value = W.value.map((u, d) => {
|
|
277
|
-
const
|
|
278
|
-
return T !==
|
|
277
|
+
const b = Number.isFinite(Number(u.end)) ? Number(u.end) : u.endVal, m = u.endVal + s[d] * l, T = s[d] >= 0 ? Math.min(m, b) : Math.max(m, b);
|
|
278
|
+
return T !== b && (a = !1), { ...u, endVal: T };
|
|
279
279
|
}), a ? L.value = null : L.value = requestAnimationFrame(t);
|
|
280
280
|
};
|
|
281
281
|
L.value = requestAnimationFrame(t);
|
|
@@ -310,7 +310,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
310
310
|
e.value.table.columnNames.end,
|
|
311
311
|
e.value.table.columnNames.progression
|
|
312
312
|
], s = z.value.head.map((u, d) => {
|
|
313
|
-
const
|
|
313
|
+
const b = w({
|
|
314
314
|
p: e.value.style.chart.labels.prefix,
|
|
315
315
|
v: z.value.body[d].start,
|
|
316
316
|
s: e.value.style.chart.labels.suffix,
|
|
@@ -327,7 +327,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
327
327
|
});
|
|
328
328
|
return [
|
|
329
329
|
{ name: u.name },
|
|
330
|
-
|
|
330
|
+
b,
|
|
331
331
|
m,
|
|
332
332
|
T
|
|
333
333
|
];
|
|
@@ -356,7 +356,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
356
356
|
config: t
|
|
357
357
|
};
|
|
358
358
|
});
|
|
359
|
-
function
|
|
359
|
+
function ye(l = null) {
|
|
360
360
|
Pt(() => {
|
|
361
361
|
const s = z.value.head.map((u, d) => [[
|
|
362
362
|
u.name
|
|
@@ -410,18 +410,18 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
410
410
|
showProgression: t
|
|
411
411
|
}) {
|
|
412
412
|
if (!t) return !1;
|
|
413
|
-
const a = l / 3, u = l / 1.3, d = Math.abs(u - a),
|
|
414
|
-
return d <
|
|
413
|
+
const a = l / 3, u = l / 1.3, d = Math.abs(u - a), b = s * 1.2;
|
|
414
|
+
return d < b;
|
|
415
415
|
}
|
|
416
416
|
const Xt = /* @__PURE__ */ (() => {
|
|
417
417
|
let l = null, s = 0;
|
|
418
418
|
const t = 1;
|
|
419
419
|
return (a) => {
|
|
420
|
-
if (a ===
|
|
420
|
+
if (a === I.value) {
|
|
421
421
|
l = null, s = 0;
|
|
422
422
|
return;
|
|
423
423
|
}
|
|
424
|
-
l === null || l !== a ? (l = a, s = 1) : (s += 1, s >= t && (
|
|
424
|
+
l === null || l !== a ? (l = a, s = 1) : (s += 1, s >= t && (I.value = a, l = null, s = 0));
|
|
425
425
|
};
|
|
426
426
|
})(), Je = Ce(() => {
|
|
427
427
|
requestAnimationFrame(() => {
|
|
@@ -436,10 +436,10 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
436
436
|
});
|
|
437
437
|
}, 100);
|
|
438
438
|
function me({ datapoint: l, seriesIndex: s }) {
|
|
439
|
-
|
|
439
|
+
O.value = s, r.value = l, e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: s });
|
|
440
440
|
}
|
|
441
441
|
function pe({ datapoint: l, seriesIndex: s }) {
|
|
442
|
-
|
|
442
|
+
O.value = null, r.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: s });
|
|
443
443
|
}
|
|
444
444
|
function xe({ datapoint: l, seriesIndex: s }) {
|
|
445
445
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: s });
|
|
@@ -461,7 +461,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
461
461
|
s: e.value.style.chart.labels.suffix,
|
|
462
462
|
r: e.value.style.chart.labels.startLabels.rounding
|
|
463
463
|
}),
|
|
464
|
-
{ datapoint: r.value, seriesIndex:
|
|
464
|
+
{ datapoint: r.value, seriesIndex: O.value }
|
|
465
465
|
)), s && (a = P(
|
|
466
466
|
e.value.style.chart.labels.formatter,
|
|
467
467
|
r.value.end,
|
|
@@ -471,12 +471,12 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
471
471
|
s: e.value.style.chart.labels.suffix,
|
|
472
472
|
r: e.value.style.chart.labels.startLabels.rounding
|
|
473
473
|
}),
|
|
474
|
-
{ datapoint: r.value, seriesIndex:
|
|
474
|
+
{ datapoint: r.value, seriesIndex: O.value }
|
|
475
475
|
)), l && s ? `${t} → ${a}` : l && !s ? t : s && !l ? a : "";
|
|
476
476
|
}), q = g(() => {
|
|
477
477
|
const l = e.value.table.useDialog && !e.value.table.show, s = F.value.showTable;
|
|
478
478
|
return {
|
|
479
|
-
component: l ? xt :
|
|
479
|
+
component: l ? xt : bt,
|
|
480
480
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
481
481
|
props: l ? {
|
|
482
482
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -513,7 +513,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
513
513
|
getData: At,
|
|
514
514
|
getImage: Nt,
|
|
515
515
|
generatePdf: Ge,
|
|
516
|
-
generateCsv:
|
|
516
|
+
generateCsv: ye,
|
|
517
517
|
generateImage: Ee,
|
|
518
518
|
toggleTable: Ye,
|
|
519
519
|
toggleAnnotator: ge,
|
|
@@ -529,19 +529,19 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
529
529
|
}, [
|
|
530
530
|
e.value.userOptions.buttons.annotator ? (n(), D(i(gt), {
|
|
531
531
|
key: 0,
|
|
532
|
-
svgRef: i(
|
|
532
|
+
svgRef: i(Oe),
|
|
533
533
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
534
534
|
color: e.value.style.chart.color,
|
|
535
535
|
active: te.value,
|
|
536
536
|
onClose: ge
|
|
537
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
537
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
|
|
538
538
|
Ct.value ? (n(), v("div", {
|
|
539
539
|
key: 1,
|
|
540
540
|
ref_key: "noTitle",
|
|
541
541
|
ref: Ne,
|
|
542
542
|
class: "vue-data-ui-no-title-space",
|
|
543
543
|
style: "height:36px; width: 100%;background:transparent"
|
|
544
|
-
}, null, 512)) :
|
|
544
|
+
}, null, 512)) : y("", !0),
|
|
545
545
|
e.value.style.chart.title.text ? (n(), v("div", {
|
|
546
546
|
key: 2,
|
|
547
547
|
ref_key: "chartTitle",
|
|
@@ -561,7 +561,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
563
|
}, null, 8, ["config"]))
|
|
564
|
-
], 512)) :
|
|
564
|
+
], 512)) : y("", !0),
|
|
565
565
|
c("div", {
|
|
566
566
|
id: `legend-top-${f.value}`
|
|
567
567
|
}, null, 8, nl),
|
|
@@ -590,7 +590,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
590
590
|
tableDialog: e.value.table.useDialog,
|
|
591
591
|
onToggleFullscreen: je,
|
|
592
592
|
onGeneratePdf: i(Ge),
|
|
593
|
-
onGenerateCsv:
|
|
593
|
+
onGenerateCsv: ye,
|
|
594
594
|
onGenerateImage: i(Ee),
|
|
595
595
|
onToggleTable: Ye,
|
|
596
596
|
onToggleAnnotator: ge,
|
|
@@ -647,10 +647,10 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
647
647
|
]),
|
|
648
648
|
key: "6"
|
|
649
649
|
} : void 0
|
|
650
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
650
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
651
651
|
(n(), v("svg", {
|
|
652
652
|
ref_key: "svgRef",
|
|
653
|
-
ref:
|
|
653
|
+
ref: Oe,
|
|
654
654
|
xmlns: i(it),
|
|
655
655
|
class: at({ "vue-data-ui-fullscreen--on": V.value, "vue-data-ui-fulscreen--off": !V.value }),
|
|
656
656
|
viewBox: `0 0 ${B.value} ${o.value.absoluteHeight <= 0 ? 10 : o.value.absoluteHeight}`,
|
|
@@ -668,7 +668,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
668
668
|
}
|
|
669
669
|
}, [
|
|
670
670
|
x(l.$slots, "chart-background", {}, void 0, !0)
|
|
671
|
-
], 8, ul)) :
|
|
671
|
+
], 8, ul)) : y("", !0),
|
|
672
672
|
e.value.style.chart.grid.verticalGrid.show ? (n(), v("g", il, [
|
|
673
673
|
(n(!0), v(C, null, A($.value.ticks, (t, a) => (n(), v("line", {
|
|
674
674
|
x1: o.value.left + a * o.value.width / ($.value.ticks.length - 1),
|
|
@@ -679,7 +679,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
679
679
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
680
680
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray
|
|
681
681
|
}, null, 8, cl))), 256))
|
|
682
|
-
])) :
|
|
682
|
+
])) : y("", !0),
|
|
683
683
|
e.value.style.chart.grid.horizontalGrid.show ? (n(), v("g", vl, [
|
|
684
684
|
(n(!0), v(C, null, A(E.value, (t, a) => (n(), v("line", {
|
|
685
685
|
x1: o.value.left,
|
|
@@ -699,7 +699,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
699
699
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
700
700
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
701
701
|
}, null, 8, hl)
|
|
702
|
-
])) :
|
|
702
|
+
])) : y("", !0),
|
|
703
703
|
e.value.style.chart.labels.axis.yLabel ? (n(), v("text", {
|
|
704
704
|
key: 3,
|
|
705
705
|
ref_key: "yAxisLabel",
|
|
@@ -708,7 +708,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
708
708
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
709
709
|
fill: e.value.style.chart.labels.axis.color,
|
|
710
710
|
"text-anchor": "middle"
|
|
711
|
-
}, _(e.value.style.chart.labels.axis.yLabel), 9, fl)) :
|
|
711
|
+
}, _(e.value.style.chart.labels.axis.yLabel), 9, fl)) : y("", !0),
|
|
712
712
|
e.value.style.chart.labels.yAxisLabels.show ? (n(), v("g", {
|
|
713
713
|
key: 4,
|
|
714
714
|
ref_key: "serieLabels",
|
|
@@ -718,7 +718,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
718
718
|
class: "vue-ui-dumbbell-serie-name",
|
|
719
719
|
key: `serieLabel_${t.id}_${a}`,
|
|
720
720
|
x: o.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
721
|
-
y: o.value.top + a * o.value.rowHeight + (!e.value.style.chart.labels.yAxisLabels.showProgression ||
|
|
721
|
+
y: o.value.top + a * o.value.rowHeight + (!e.value.style.chart.labels.yAxisLabels.showProgression || I.value ? o.value.rowHeight / 2 : o.value.rowHeight / 3) + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
722
722
|
"font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
|
|
723
723
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
724
724
|
"font-weight": e.value.style.chart.labels.yAxisLabels.bold ? "bold" : "normal",
|
|
@@ -726,7 +726,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
726
726
|
onMouseenter: (u) => me({ datapoint: t, seriesIndex: a }),
|
|
727
727
|
onMouseleave: (u) => pe({ datapoint: t, seriesIndex: a }),
|
|
728
728
|
onClick: (u) => xe({ datapoint: t, seriesIndex: a })
|
|
729
|
-
}, _(t.name) + " " + _(
|
|
729
|
+
}, _(t.name) + " " + _(I.value && e.value.style.chart.labels.yAxisLabels.showProgression ? [null, void 0].includes(t.start) || [null, void 0].includes(t.end) ? "" : `(${i(P)(
|
|
730
730
|
e.value.style.chart.labels.yAxisLabels.formatter,
|
|
731
731
|
100 * (t.end / t.start - 1),
|
|
732
732
|
i(w)({
|
|
@@ -735,8 +735,8 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
735
735
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
736
736
|
}),
|
|
737
737
|
{ datapoint: t }
|
|
738
|
-
)})` : ""), 41,
|
|
739
|
-
e.value.style.chart.labels.yAxisLabels.showProgression && !
|
|
738
|
+
)})` : ""), 41, bl))), 128)),
|
|
739
|
+
e.value.style.chart.labels.yAxisLabels.showProgression && !I.value ? (n(!0), v(C, { key: 0 }, A(k.value, (t, a) => (n(), v("text", {
|
|
740
740
|
class: "vue-ui-dumbbell-serie-value",
|
|
741
741
|
x: o.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
742
742
|
y: o.value.top + a * o.value.rowHeight + o.value.rowHeight / 1.3 + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
@@ -755,8 +755,8 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
755
755
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
756
756
|
}),
|
|
757
757
|
{ datapoint: t }
|
|
758
|
-
)), 41,
|
|
759
|
-
], 512)) :
|
|
758
|
+
)), 41, yl))), 256)) : y("", !0)
|
|
759
|
+
], 512)) : y("", !0),
|
|
760
760
|
e.value.style.chart.labels.axis.xLabel ? (n(), v("text", {
|
|
761
761
|
key: 5,
|
|
762
762
|
ref_key: "xAxisLabel",
|
|
@@ -766,7 +766,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
766
766
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
767
767
|
fill: e.value.style.chart.labels.axis.color,
|
|
768
768
|
"text-anchor": "middle"
|
|
769
|
-
}, _(e.value.style.chart.labels.axis.xLabel), 9, gl)) :
|
|
769
|
+
}, _(e.value.style.chart.labels.axis.xLabel), 9, gl)) : y("", !0),
|
|
770
770
|
e.value.style.chart.labels.xAxisLabels.show ? (n(), v("g", {
|
|
771
771
|
key: 6,
|
|
772
772
|
ref_key: "scaleLabels",
|
|
@@ -791,7 +791,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
791
791
|
}),
|
|
792
792
|
{ datapoint: t, seriesIndex: a }
|
|
793
793
|
)), 9, ml))), 128))
|
|
794
|
-
], 512)) :
|
|
794
|
+
], 512)) : y("", !0),
|
|
795
795
|
j(c("g", null, [
|
|
796
796
|
j(c("path", {
|
|
797
797
|
d: `M ${r.value ? r.value.startX : o.value.left},${o.value.top} ${r.value ? r.value.startX : o.value.left},${o.value.bottom}`,
|
|
@@ -831,7 +831,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
831
831
|
[Y, r.value !== null && _e.value !== null && e.value.style.chart.comparisonLines.showLabel]
|
|
832
832
|
])
|
|
833
833
|
], 512), [
|
|
834
|
-
[Y, e.value.style.chart.comparisonLines.show &&
|
|
834
|
+
[Y, e.value.style.chart.comparisonLines.show && O.value !== null]
|
|
835
835
|
]),
|
|
836
836
|
c("defs", null, [
|
|
837
837
|
c("radialGradient", {
|
|
@@ -892,7 +892,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
892
892
|
c("stop", {
|
|
893
893
|
offset: "10%",
|
|
894
894
|
"stop-color": i(Z)(e.value.style.chart.plots.evaluationColors.negative, e.value.style.chart.plots.gradient.intensity / 100)
|
|
895
|
-
}, null, 8,
|
|
895
|
+
}, null, 8, Il),
|
|
896
896
|
c("stop", {
|
|
897
897
|
offset: "90%",
|
|
898
898
|
"stop-color": i(J)(e.value.style.chart.plots.evaluationColors.negative, 0.1)
|
|
@@ -901,7 +901,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
901
901
|
offset: "100%",
|
|
902
902
|
"stop-color": e.value.style.chart.plots.evaluationColors.negative
|
|
903
903
|
}, null, 8, Hl)
|
|
904
|
-
], 8,
|
|
904
|
+
], 8, Ol),
|
|
905
905
|
c("radialGradient", {
|
|
906
906
|
id: `neutral_grad_${f.value}`,
|
|
907
907
|
fy: "30%"
|
|
@@ -980,8 +980,8 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
980
980
|
fill: e.value.style.chart.plots.evaluationColors.enable ? t.evaluationColor : t.endX > t.startX ? `url(#grad_pos_${f.value})` : `url(#grad_neg_${f.value})`
|
|
981
981
|
}, null, 8, Ql)
|
|
982
982
|
]))
|
|
983
|
-
])) :
|
|
984
|
-
[null, void 0].includes(t.start) ?
|
|
983
|
+
])) : y("", !0),
|
|
984
|
+
[null, void 0].includes(t.start) ? y("", !0) : (n(), v("circle", {
|
|
985
985
|
key: 1,
|
|
986
986
|
cx: t.startX,
|
|
987
987
|
cy: t.y,
|
|
@@ -990,7 +990,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
990
990
|
stroke: e.value.style.chart.plots.stroke,
|
|
991
991
|
"stroke-width": e.value.style.chart.plots.strokeWidth
|
|
992
992
|
}, null, 8, ea)),
|
|
993
|
-
[null, void 0].includes(t.end) ?
|
|
993
|
+
[null, void 0].includes(t.end) ? y("", !0) : (n(), v("circle", {
|
|
994
994
|
key: 2,
|
|
995
995
|
cx: t.endX,
|
|
996
996
|
cy: t.y,
|
|
@@ -1004,7 +1004,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
1004
1004
|
(n(!0), v(C, null, A(k.value, (t, a) => (n(), v("g", {
|
|
1005
1005
|
key: `start_label_${a}_${t.id}`
|
|
1006
1006
|
}, [
|
|
1007
|
-
[null, void 0].includes(t.start) ?
|
|
1007
|
+
[null, void 0].includes(t.start) ? y("", !0) : (n(), v("text", {
|
|
1008
1008
|
key: 0,
|
|
1009
1009
|
x: t.startX,
|
|
1010
1010
|
y: t.y + X.value * 2 + e.value.style.chart.labels.startLabels.fontSize / 2,
|
|
@@ -1023,12 +1023,12 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
1023
1023
|
{ datapoint: t, seriesIndex: a }
|
|
1024
1024
|
)), 9, aa))
|
|
1025
1025
|
]))), 128))
|
|
1026
|
-
])) :
|
|
1026
|
+
])) : y("", !0),
|
|
1027
1027
|
e.value.style.chart.labels.endLabels.show ? (n(), v("g", sa, [
|
|
1028
1028
|
(n(!0), v(C, null, A(k.value, (t, a) => (n(), v("g", {
|
|
1029
1029
|
key: `end_label_${a}_${t.id}`
|
|
1030
1030
|
}, [
|
|
1031
|
-
[null, void 0].includes(t.end) ?
|
|
1031
|
+
[null, void 0].includes(t.end) ? y("", !0) : (n(), v("text", {
|
|
1032
1032
|
key: 0,
|
|
1033
1033
|
x: t.endX,
|
|
1034
1034
|
y: t.y - (X.value * 2 - e.value.style.chart.labels.startLabels.fontSize / 3),
|
|
@@ -1047,14 +1047,14 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
1047
1047
|
{ datapoint: t, seriesIndex: a }
|
|
1048
1048
|
)), 9, oa))
|
|
1049
1049
|
]))), 128))
|
|
1050
|
-
])) :
|
|
1050
|
+
])) : y("", !0),
|
|
1051
1051
|
c("g", null, [
|
|
1052
1052
|
(n(!0), v(C, null, A(k.value, (t, a) => (n(), v("rect", {
|
|
1053
1053
|
x: o.value.left,
|
|
1054
1054
|
y: o.value.top + a * Math.max(0.1, o.value.rowHeight),
|
|
1055
1055
|
width: Math.max(0.1, o.value.width),
|
|
1056
1056
|
height: Math.max(0.1, o.value.rowHeight),
|
|
1057
|
-
fill:
|
|
1057
|
+
fill: O.value !== null && O.value === a ? i(ct)(e.value.style.chart.highlighter.color, e.value.style.chart.highlighter.opacity) : "transparent",
|
|
1058
1058
|
onMouseenter: (u) => me({ datapoint: t, seriesIndex: a }),
|
|
1059
1059
|
onMouseleave: (u) => pe({ datapoint: t, seriesIndex: a }),
|
|
1060
1060
|
onClick: (u) => xe({ datapoint: t, seriesIndex: a })
|
|
@@ -1064,11 +1064,11 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
1064
1064
|
], 14, rl)),
|
|
1065
1065
|
l.$slots.watermark ? (n(), v("div", ra, [
|
|
1066
1066
|
x(l.$slots, "watermark", se(oe({ isPrinting: i(He) || i(Pe) })), void 0, !0)
|
|
1067
|
-
])) :
|
|
1067
|
+
])) : y("", !0),
|
|
1068
1068
|
c("div", {
|
|
1069
1069
|
id: `legend-bottom-${f.value}`
|
|
1070
1070
|
}, null, 8, ua),
|
|
1071
|
-
ze.value ? (n(), D(
|
|
1071
|
+
ze.value ? (n(), D(It, {
|
|
1072
1072
|
key: 5,
|
|
1073
1073
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${f.value}` : `#legend-bottom-${f.value}`
|
|
1074
1074
|
}, [
|
|
@@ -1099,7 +1099,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
1099
1099
|
fill: t.color
|
|
1100
1100
|
}, null, 8, ca)
|
|
1101
1101
|
], 8, ia)),
|
|
1102
|
-
i(ce) ?
|
|
1102
|
+
i(ce) ? y("", !0) : (n(), v(C, { key: 0 }, [
|
|
1103
1103
|
ke(_(t.name), 1)
|
|
1104
1104
|
], 64))
|
|
1105
1105
|
], 4)
|
|
@@ -1110,7 +1110,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
1110
1110
|
legend: qe.value
|
|
1111
1111
|
}, void 0, !0)
|
|
1112
1112
|
], 512)
|
|
1113
|
-
], 8, ["to"])) :
|
|
1113
|
+
], 8, ["to"])) : y("", !0),
|
|
1114
1114
|
l.$slots.source ? (n(), v("div", {
|
|
1115
1115
|
key: 6,
|
|
1116
1116
|
ref_key: "source",
|
|
@@ -1118,14 +1118,14 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
1118
1118
|
dir: "auto"
|
|
1119
1119
|
}, [
|
|
1120
1120
|
x(l.$slots, "source", {}, void 0, !0)
|
|
1121
|
-
], 512)) :
|
|
1122
|
-
K.value ? (n(), D(Ft(q.value.component), Ht({ key: 7 }, q.value.props, {
|
|
1121
|
+
], 512)) : y("", !0),
|
|
1122
|
+
K.value && e.value.userOptions.buttons.table ? (n(), D(Ft(q.value.component), Ht({ key: 7 }, q.value.props, {
|
|
1123
1123
|
ref_key: "tableUnit",
|
|
1124
1124
|
ref: U,
|
|
1125
1125
|
onClose: Ke
|
|
1126
1126
|
}), st({
|
|
1127
1127
|
content: p(() => [
|
|
1128
|
-
(n(), D(i(
|
|
1128
|
+
(n(), D(i(yt), {
|
|
1129
1129
|
key: `table_${Me.value}`,
|
|
1130
1130
|
colNames: ee.value.colNames,
|
|
1131
1131
|
head: ee.value.head,
|
|
@@ -1162,7 +1162,7 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
1162
1162
|
c("button", {
|
|
1163
1163
|
tabindex: "0",
|
|
1164
1164
|
class: "vue-ui-user-options-button",
|
|
1165
|
-
onClick: s[0] || (s[0] = (t) =>
|
|
1165
|
+
onClick: s[0] || (s[0] = (t) => ye(e.value.userOptions.callbacks.csv))
|
|
1166
1166
|
}, [
|
|
1167
1167
|
ot(i(ft), {
|
|
1168
1168
|
name: "excel",
|
|
@@ -1172,11 +1172,11 @@ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "widt
|
|
|
1172
1172
|
]),
|
|
1173
1173
|
key: "1"
|
|
1174
1174
|
} : void 0
|
|
1175
|
-
]), 1040)) :
|
|
1176
|
-
i(ce) ? (n(), D(Jt, { key: 8 })) :
|
|
1175
|
+
]), 1040)) : y("", !0),
|
|
1176
|
+
i(ce) ? (n(), D(Jt, { key: 8 })) : y("", !0)
|
|
1177
1177
|
], 46, ol));
|
|
1178
1178
|
}
|
|
1179
|
-
}, Aa = /* @__PURE__ */ sl(da, [["__scopeId", "data-v-
|
|
1179
|
+
}, Aa = /* @__PURE__ */ sl(da, [["__scopeId", "data-v-07ee566c"]]);
|
|
1180
1180
|
export {
|
|
1181
1181
|
Aa as default
|
|
1182
1182
|
};
|