vue-data-ui 3.1.1 → 3.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-xQM7mBzd.js → Arrow-BotYLY2I.js} +1 -1
- package/dist/{BaseDraggableDialog-B2BQC0-h.js → BaseDraggableDialog-Dkpr-qUQ.js} +2 -2
- package/dist/{BaseIcon-DLesaZpW.js → BaseIcon-BLg8FaQ2.js} +5 -3
- package/dist/{ColorPicker-BKvJvFtX.js → ColorPicker-C2sMVpbA.js} +2 -2
- package/dist/{DataTable-BAf4Obr9.js → DataTable-BRN1-1ob.js} +2 -2
- package/dist/{Legend-8_V5egWW.js → Legend-DLzeDl3-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Cq4fHmA0.js → NonSvgPenAndPaper-Dp53d2re.js} +3 -3
- package/dist/{PackageVersion-Cv_ypT0N.js → PackageVersion-Jz9FlNXl.js} +1 -1
- package/dist/{PenAndPaper-B6OvfyHH.js → PenAndPaper-TgGWddgD.js} +3 -3
- package/dist/{Shape-Cjca5zta.js → Shape-Bmpx9GRg.js} +1 -1
- package/dist/{Slicer-6w3K8gAc.js → Slicer-DeWHn8zH.js} +2 -2
- package/dist/{SparkTooltip-BV4Z-NMp.js → SparkTooltip-C6fJOQ0j.js} +1 -1
- package/dist/{Title-Dz-j6ERs.js → Title-AGmmsSi_.js} +1 -1
- package/dist/{Tooltip-BTGOEC7w.js → Tooltip-le0yZk_t.js} +1 -1
- package/dist/{UserOptions-CsDlFB0L.js → UserOptions-DEFwuQIo.js} +125 -108
- package/dist/{dom-to-png-BOu5-Ohz.js → dom-to-png-C7V0EktO.js} +1 -1
- package/dist/{img-gBDz7xQQ.js → img-DvuphHeJ.js} +1 -1
- package/dist/{index-BKQqb9lF.js → index-BFqW8WA0.js} +97 -74
- package/dist/pdf-Bdf65IBz.js +79 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +25 -2
- package/dist/types/vue-data-ui.d.ts +25 -2
- package/dist/{useAutoSizeLabelsInsideViewbox-IO2dh0Uq.js → useAutoSizeLabelsInsideViewbox-N1I6Rk6M.js} +1 -1
- package/dist/{useNestedProp-aBOhgs4U.js → useNestedProp-BSZCnuGl.js} +1 -1
- package/dist/{usePrinter-BzuXiubT.js → usePrinter-DDIKRiOp.js} +13 -12
- package/dist/{vue-data-ui-B6eM6hF3.js → vue-data-ui-vwh3dolO.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DBeWmnvH.js → vue-ui-3d-bar-DNw3RWRt.js} +371 -366
- package/dist/{vue-ui-accordion-B5QeV3BK.js → vue-ui-accordion-Cv747Pg6.js} +3 -3
- package/dist/{vue-ui-age-pyramid-rZFdUsgz.js → vue-ui-age-pyramid-B1Yun-v7.js} +200 -195
- package/dist/{vue-ui-annotator-CCCuslrT.js → vue-ui-annotator-B_5hOApA.js} +2 -2
- package/dist/{vue-ui-bullet-DhJf9mvK.js → vue-ui-bullet-C2Aj7Lcx.js} +7 -7
- package/dist/{vue-ui-candlestick-CGVtDKqZ.js → vue-ui-candlestick-BBYqZVUp.js} +225 -220
- package/dist/{vue-ui-carousel-table-DLAR3WY8.js → vue-ui-carousel-table-DPIOnp9J.js} +4 -4
- package/dist/{vue-ui-chestnut-BXnSxoXB.js → vue-ui-chestnut-C4B0wEFn.js} +344 -340
- package/dist/{vue-ui-chord-DH_MwAKX.js → vue-ui-chord-B9Zml1V7.js} +272 -266
- package/dist/{vue-ui-circle-pack-Cx_E1R63.js → vue-ui-circle-pack-CLn19BHH.js} +6 -6
- package/dist/{vue-ui-cursor-CEvH1qDS.js → vue-ui-cursor-AVEV-uv3.js} +2 -2
- package/dist/vue-ui-dashboard-DwNYa1I4.js +412 -0
- package/dist/{vue-ui-digits-PTozKs3l.js → vue-ui-digits-Dr4OHGU0.js} +2 -2
- package/dist/{vue-ui-donut-evolution-DD7o-CxF.js → vue-ui-donut-evolution-hJh-1Z48.js} +310 -304
- package/dist/{vue-ui-donut-CsEtKJJD.js → vue-ui-donut-xseR2SnT.js} +348 -343
- package/dist/{vue-ui-dumbbell-DfPYl3fu.js → vue-ui-dumbbell-FdTx7uAG.js} +293 -287
- package/dist/{vue-ui-flow-CSTTZHwg.js → vue-ui-flow-Bh6FqlC1.js} +263 -257
- package/dist/{vue-ui-funnel-C-NUZqIo.js → vue-ui-funnel-BlsKhHbk.js} +206 -200
- package/dist/{vue-ui-galaxy-BwsZnU6T.js → vue-ui-galaxy-C0B8stYi.js} +243 -238
- package/dist/{vue-ui-gauge-D9MUneq0.js → vue-ui-gauge-B1-UiZwV.js} +7 -7
- package/dist/{vue-ui-gizmo-Dnzs9wSf.js → vue-ui-gizmo-Df_SCjOI.js} +3 -3
- package/dist/{vue-ui-heatmap-CYaQIhy8.js → vue-ui-heatmap-NfRSd6fU.js} +405 -401
- package/dist/{vue-ui-history-plot-DMTFzl-_.js → vue-ui-history-plot-Ce-DJ8xC.js} +305 -299
- package/dist/{vue-ui-kpi-CkPotdff.js → vue-ui-kpi-CH3rWyiG.js} +3 -3
- package/dist/{vue-ui-mini-loader-CCE-bDOJ.js → vue-ui-mini-loader-D9EVnpxk.js} +2 -2
- package/dist/{vue-ui-molecule-DaN5lroq.js → vue-ui-molecule-C973vfYh.js} +188 -183
- package/dist/{vue-ui-mood-radar-tM0mmZh8.js → vue-ui-mood-radar-DdLxBhlO.js} +197 -192
- package/dist/{vue-ui-nested-donuts-RB4r6beI.js → vue-ui-nested-donuts-tARXMYzx.js} +326 -320
- package/dist/{vue-ui-onion-CxDozHg3.js → vue-ui-onion-BC9czZGG.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-CK9nNExU.js → vue-ui-parallel-coordinate-plot-CxDIkZKr.js} +401 -395
- package/dist/{vue-ui-quadrant-C7tLJYn7.js → vue-ui-quadrant-Bpm5ZoTp.js} +339 -334
- package/dist/{vue-ui-quick-chart-MUBAkrHb.js → vue-ui-quick-chart-Bkc_JBCw.js} +6 -6
- package/dist/{vue-ui-radar-Br4K80I9.js → vue-ui-radar-DVJQYNeL.js} +248 -243
- package/dist/{vue-ui-rating-NtvT9r_M.js → vue-ui-rating-DITnRSiS.js} +2 -2
- package/dist/{vue-ui-relation-circle-CPQjAy1g.js → vue-ui-relation-circle-D_OTYUmS.js} +7 -7
- package/dist/{vue-ui-ridgeline-C2M_Cjlh.js → vue-ui-ridgeline-Gc1c4LXq.js} +267 -263
- package/dist/{vue-ui-rings-DEru-cWN.js → vue-ui-rings-CUT1N_kK.js} +229 -224
- package/dist/{vue-ui-scatter-CJKkiKle.js → vue-ui-scatter-DwnZHy0V.js} +359 -354
- package/dist/{vue-ui-skeleton--twnjS2t.js → vue-ui-skeleton-CeyaKpZd.js} +3 -3
- package/dist/{vue-ui-smiley-CNccdPZ7.js → vue-ui-smiley-B9yNexWr.js} +2 -2
- package/dist/{vue-ui-spark-trend-9BFkkC0u.js → vue-ui-spark-trend-DTYVcrHV.js} +3 -3
- package/dist/{vue-ui-sparkbar-RYAThoA4.js → vue-ui-sparkbar-BzxynYoW.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DkPlmgMF.js → vue-ui-sparkgauge-DoznCX5h.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-6EkCyYRF.js → vue-ui-sparkhistogram-DoZpd0H2.js} +4 -4
- package/dist/{vue-ui-sparkline-Bl3nj8zd.js → vue-ui-sparkline-ZKit-hgG.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-B88lA7iy.js → vue-ui-sparkstackbar-DjoqH_Xs.js} +3 -3
- package/dist/{vue-ui-stackbar-Csj7NhT6.js → vue-ui-stackbar-J-gxI4Xn.js} +310 -304
- package/dist/{vue-ui-strip-plot-yY9NsUUI.js → vue-ui-strip-plot-CO7NVeFi.js} +246 -240
- package/dist/{vue-ui-table-heatmap-BWU7CAWP.js → vue-ui-table-heatmap-BEFdai_O.js} +5 -5
- package/dist/{vue-ui-table-Dg6U31ex.js → vue-ui-table-rmbBw_0d.js} +3 -3
- package/dist/{vue-ui-table-sparkline-DV4Y9aRL.js → vue-ui-table-sparkline-CjgaQXbc.js} +4 -4
- package/dist/{vue-ui-thermometer-C3fKamV-.js → vue-ui-thermometer--aqaJwFo.js} +7 -7
- package/dist/{vue-ui-timer-6VAK9XyF.js → vue-ui-timer-qFNHDcU_.js} +5 -5
- package/dist/{vue-ui-tiremarks-BB-KAkF7.js → vue-ui-tiremarks-DA8fzQHo.js} +6 -6
- package/dist/{vue-ui-treemap-GrXkD_3Z.js → vue-ui-treemap-DGC9zxon.js} +262 -256
- package/dist/{vue-ui-vertical-bar-Mmz6u4aX.js → vue-ui-vertical-bar-DOCeCCqz.js} +310 -306
- package/dist/{vue-ui-waffle-DzPVRUOA.js → vue-ui-waffle-DD9jtkcQ.js} +257 -252
- package/dist/{vue-ui-wheel-idRCvS5t.js → vue-ui-wheel-87VStrfJ.js} +6 -6
- package/dist/vue-ui-word-cloud-CCMfa9H1.js +817 -0
- package/dist/{vue-ui-world-D6s5Eph8.js → vue-ui-world-Cm3Hn1-2.js} +257 -252
- package/dist/{vue-ui-xy-BKTGSvfU.js → vue-ui-xy-C2SnbN6w.js} +1453 -1447
- package/dist/{vue-ui-xy-canvas-BOQyxVRl.js → vue-ui-xy-canvas-WxSJqoiF.js} +235 -229
- package/package.json +1 -1
- package/dist/pdf-Cjsn5GEE.js +0 -61
- package/dist/vue-ui-dashboard-CvduVgEy.js +0 -325
- package/dist/vue-ui-word-cloud-B2641uNP.js +0 -811
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineAsyncComponent as H, computed as g, ref as h, toRefs as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import { _ as
|
|
14
|
-
const
|
|
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 It, createElementBlock as v, openBlock as n, unref as i, normalizeStyle as ae, normalizeClass as at, createBlock as D, createCommentVNode as b, 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 Ot, 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-BFqW8WA0.js";
|
|
3
|
+
import { t as Ce, u as jt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Yt } from "./usePrinter-DDIKRiOp.js";
|
|
5
|
+
import { u as Zt, B as Jt } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as vt } from "./useNestedProp-BSZCnuGl.js";
|
|
7
|
+
import { u as Kt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as Qt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import { u as el } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
10
|
+
import tl from "./img-DvuphHeJ.js";
|
|
11
|
+
import ll from "./Title-AGmmsSi_.js";
|
|
12
|
+
import al from "./Legend-DLzeDl3-.js";
|
|
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"], yl = ["x", "y", "font-size", "fill", "font-weight", "onMouseenter", "onMouseleave", "onClick"], bl = ["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"], Il = ["id"], Ol = ["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 = {
|
|
18
18
|
__name: "vue-ui-dumbbell",
|
|
19
19
|
props: {
|
|
20
20
|
config: {
|
|
@@ -31,18 +31,18 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectDatapoint"],
|
|
34
|
-
setup(
|
|
35
|
-
const
|
|
34
|
+
setup(dt, { expose: ht, emit: ha }) {
|
|
35
|
+
const ft = H(() => import("./BaseIcon-BLg8FaQ2.js")), yt = H(() => import("./vue-ui-accordion-Cv747Pg6.js")), bt = H(() => import("./DataTable-BRN1-1ob.js")), gt = H(() => import("./PenAndPaper-TgGWddgD.js")), mt = H(() => import("./UserOptions-DEFwuQIo.js")), pt = H(() => import("./PackageVersion-Jz9FlNXl.js")), xt = H(() => import("./BaseDraggableDialog-Dkpr-qUQ.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(
|
|
43
|
-
...
|
|
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), I = h(null), r = h(null), O = h(!1), e = h(he()), { loading: ce, FINAL_DATASET: ve, manualLoading: kt } = Zt({
|
|
43
|
+
...Dt(N),
|
|
44
44
|
FINAL_CONFIG: e,
|
|
45
|
-
prepareConfig:
|
|
45
|
+
prepareConfig: he,
|
|
46
46
|
skeletonDataset: [
|
|
47
47
|
{ name: "_", start: 21, end: 34 },
|
|
48
48
|
{ name: "_", start: 13, end: 21 },
|
|
@@ -50,7 +50,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
50
50
|
{ name: "_", start: 5, end: 8 },
|
|
51
51
|
{ name: "_", start: 3, end: 5 }
|
|
52
52
|
],
|
|
53
|
-
skeletonConfig:
|
|
53
|
+
skeletonConfig: Et({
|
|
54
54
|
defaultConfig: e.value,
|
|
55
55
|
userConfig: {
|
|
56
56
|
userOptions: { show: !1 },
|
|
@@ -92,118 +92,118 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
})
|
|
95
|
-
}), { userOptionsVisible:
|
|
96
|
-
function
|
|
97
|
-
const l =
|
|
95
|
+
}), { userOptionsVisible: de, setUserOptionsVisibility: Te, keepUserOptionState: De } = Kt({ config: e.value }), { svgRef: Ie } = Qt({ config: e.value.style.chart.title });
|
|
96
|
+
function he() {
|
|
97
|
+
const l = vt({
|
|
98
98
|
userConfig: N.config,
|
|
99
|
-
defaultConfig:
|
|
99
|
+
defaultConfig: _t
|
|
100
100
|
});
|
|
101
101
|
return l.theme ? {
|
|
102
|
-
...
|
|
103
|
-
userConfig:
|
|
102
|
+
...vt({
|
|
103
|
+
userConfig: Rt.vue_ui_dumbbell[l.theme] || N.config,
|
|
104
104
|
defaultConfig: l
|
|
105
105
|
})
|
|
106
106
|
} : l;
|
|
107
107
|
}
|
|
108
108
|
le(() => N.config, (l) => {
|
|
109
|
-
|
|
110
|
-
}, { deep: !0 }), le(() =>
|
|
111
|
-
Array.isArray(l) && l.length > 0 && (
|
|
109
|
+
ce.value || (e.value = he()), de.value = !e.value.userOptions.showOnChartHover, Fe(), Se.value += 1, Me.value += 1, Xe.value += 1, R.value = e.value.style.chart.rowHeight, B.value = e.value.style.chart.width, F.value.showTable = e.value.table.show;
|
|
110
|
+
}, { deep: !0 }), le(() => ve.value, (l) => {
|
|
111
|
+
Array.isArray(l) && l.length > 0 && (kt.value = !1), Ue(), We();
|
|
112
112
|
}, { deep: !0 });
|
|
113
|
-
const M =
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
const M = et(null), G = et(null);
|
|
114
|
+
tt(() => {
|
|
115
|
+
ze.value = !0, Fe();
|
|
116
116
|
});
|
|
117
|
-
const
|
|
118
|
-
function
|
|
119
|
-
if (
|
|
117
|
+
const Oe = g(() => !!e.value.debug);
|
|
118
|
+
function Fe() {
|
|
119
|
+
if (Bt(N.dataset) ? rt({
|
|
120
120
|
componentName: "VueUiDumbbell",
|
|
121
121
|
type: "dataset",
|
|
122
|
-
debug:
|
|
122
|
+
debug: Oe.value
|
|
123
123
|
}) : N.dataset.forEach((l, s) => {
|
|
124
|
-
|
|
124
|
+
Vt({
|
|
125
125
|
datasetObject: l,
|
|
126
126
|
requiredAttributes: ["name", "start", "end"]
|
|
127
127
|
}).forEach((t) => {
|
|
128
|
-
K.value = !1,
|
|
128
|
+
K.value = !1, rt({
|
|
129
129
|
componentName: "VueUiDumbbell",
|
|
130
130
|
type: "datasetSerieAttribute",
|
|
131
131
|
property: t,
|
|
132
132
|
index: s,
|
|
133
|
-
debug:
|
|
133
|
+
debug: Oe.value
|
|
134
134
|
});
|
|
135
135
|
});
|
|
136
136
|
}), e.value.responsive) {
|
|
137
|
-
const l =
|
|
138
|
-
const { width: s, height: t } =
|
|
137
|
+
const l = Ce(() => {
|
|
138
|
+
const { width: s, height: t } = jt({
|
|
139
139
|
chart: S.value,
|
|
140
|
-
title: e.value.style.chart.title.text ?
|
|
141
|
-
legend: e.value.style.chart.legend.show ?
|
|
142
|
-
source:
|
|
143
|
-
noTitle:
|
|
140
|
+
title: e.value.style.chart.title.text ? $e.value : null,
|
|
141
|
+
legend: e.value.style.chart.legend.show ? Le.value : null,
|
|
142
|
+
source: Ae.value,
|
|
143
|
+
noTitle: Ne.value
|
|
144
144
|
}), a = e.value.style.chart.title.text ? 24 : 0, u = e.value.style.chart.legend.show ? 24 : 0;
|
|
145
145
|
requestAnimationFrame(async () => {
|
|
146
|
-
|
|
146
|
+
B.value = Math.max(0.1, s), R.value = Math.max(0.1, (Math.max(0.1, t) - (a + u)) / ve.value.length), Je();
|
|
147
147
|
});
|
|
148
148
|
});
|
|
149
149
|
M.value && (G.value && M.value.unobserve(G.value), M.value.disconnect()), M.value = new ResizeObserver(l), G.value = S.value.parentNode, M.value.observe(G.value);
|
|
150
150
|
}
|
|
151
|
-
|
|
151
|
+
Je();
|
|
152
152
|
}
|
|
153
|
-
|
|
153
|
+
lt(() => {
|
|
154
154
|
L.value != null && (cancelAnimationFrame(L.value), L.value = null), M.value && (G.value && M.value.unobserve(G.value), M.value.disconnect());
|
|
155
155
|
});
|
|
156
|
-
const { isPrinting:
|
|
156
|
+
const { isPrinting: He, isImaging: Pe, generatePdf: Ge, generateImage: Ee } = Yt({
|
|
157
157
|
elementId: `dumbbell_${f.value}`,
|
|
158
158
|
fileName: e.value.style.chart.title.text || "vue-ui-dumbbell",
|
|
159
159
|
options: e.value.userOptions.print
|
|
160
|
-
}),
|
|
160
|
+
}), Ct = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), F = h({
|
|
161
161
|
showTable: e.value.table.show
|
|
162
162
|
});
|
|
163
163
|
le(e, () => {
|
|
164
|
-
|
|
164
|
+
F.value = {
|
|
165
165
|
showTable: e.value.table.show
|
|
166
166
|
};
|
|
167
167
|
}, { immediate: !0 });
|
|
168
|
-
const E = g(() =>
|
|
168
|
+
const E = g(() => ve.value.map((l, s) => ({
|
|
169
169
|
...l,
|
|
170
|
-
start:
|
|
171
|
-
end:
|
|
172
|
-
id: l.id ?? `${String(l.name)}__${String(l.start)}__${String(l.end)}__${
|
|
173
|
-
}))),
|
|
170
|
+
start: ut(l.start),
|
|
171
|
+
end: ut(l.end),
|
|
172
|
+
id: l.id ?? `${String(l.name)}__${String(l.start)}__${String(l.end)}__${nt()}`
|
|
173
|
+
}))), Re = g(() => {
|
|
174
174
|
const l = e.value.style.chart.grid, s = E.value.flatMap((y) => [y.start, y.end]).map((y) => Number(y)).filter((y) => Number.isFinite(y)), 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
|
-
}), $ = g(() =>
|
|
177
|
-
function
|
|
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
|
+
function wt() {
|
|
178
178
|
let l = 0;
|
|
179
|
-
|
|
179
|
+
ue.value && (l = Array.from(ue.value.querySelectorAll("text")).reduce((a, u) => {
|
|
180
180
|
const d = u.getComputedTextLength();
|
|
181
181
|
return d > a ? d : a;
|
|
182
182
|
}, 0));
|
|
183
|
-
const s =
|
|
183
|
+
const s = re.value ? re.value.getBoundingClientRect().width : 0;
|
|
184
184
|
return l + s + (s ? 24 + e.value.style.chart.labels.axis.yLabelOffsetX : 0);
|
|
185
185
|
}
|
|
186
|
-
const
|
|
187
|
-
|
|
186
|
+
const fe = h(0), $t = Ce((l) => {
|
|
187
|
+
fe.value = l;
|
|
188
188
|
}, 100);
|
|
189
|
-
|
|
189
|
+
It((l) => {
|
|
190
190
|
const s = Q.value;
|
|
191
191
|
if (!s) return;
|
|
192
192
|
const t = new ResizeObserver((a) => {
|
|
193
|
-
|
|
193
|
+
$t(a[0].contentRect.height);
|
|
194
194
|
});
|
|
195
195
|
t.observe(s), l(() => t.disconnect());
|
|
196
|
-
}),
|
|
197
|
-
|
|
196
|
+
}), lt(() => {
|
|
197
|
+
fe.value = 0;
|
|
198
198
|
});
|
|
199
199
|
const Be = g(() => {
|
|
200
|
-
|
|
200
|
+
O.value;
|
|
201
201
|
let l = 0;
|
|
202
|
-
|
|
202
|
+
ie.value && (l = ie.value.getBBox().height);
|
|
203
203
|
let s = 0;
|
|
204
|
-
return Q.value && (s =
|
|
205
|
-
}),
|
|
206
|
-
function
|
|
204
|
+
return Q.value && (s = fe.value), l + s;
|
|
205
|
+
}), ye = g(() => E.value.length);
|
|
206
|
+
function Ve(l, s, t) {
|
|
207
207
|
const a = Number(l), u = Number(s.min), d = Number(s.max), y = Number(t.width);
|
|
208
208
|
if (!Number.isFinite(a) || !Number.isFinite(u) || !Number.isFinite(d) || !Number.isFinite(y))
|
|
209
209
|
return t.left;
|
|
@@ -211,11 +211,11 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
211
211
|
return m <= 0 ? t.left : t.left + (a - u) / m * y;
|
|
212
212
|
}
|
|
213
213
|
const o = g(() => {
|
|
214
|
-
|
|
215
|
-
const l =
|
|
214
|
+
O.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 * ye.value - Be.value - s.top - s.bottom - t, u = a / ye.value, d = R.value * ye.value, y = B.value - l - s.left - s.right, m = $.value.ticks.length * (y / $.value.ticks.length);
|
|
216
216
|
return {
|
|
217
217
|
left: e.value.style.chart.padding.left + l,
|
|
218
|
-
right:
|
|
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
221
|
width: y,
|
|
@@ -224,18 +224,18 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
224
224
|
absoluteHeight: d,
|
|
225
225
|
widthPlotReference: m
|
|
226
226
|
};
|
|
227
|
-
}),
|
|
227
|
+
}), X = g(() => Math.min(R.value / 2 * 0.7, e.value.style.chart.plots.radius)), W = h([]), k = g({
|
|
228
228
|
get() {
|
|
229
229
|
const l = o.value, s = $.value;
|
|
230
230
|
return W.value.map((t, a) => {
|
|
231
|
-
const u =
|
|
231
|
+
const u = Ve(t.start, s, l), d = Ve(t.endVal, s, l), y = 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,
|
|
235
|
-
isNegative:
|
|
236
|
-
isNeutral:
|
|
237
|
-
evaluationColor:
|
|
238
|
-
evaluationGrad: `url(#${m ? "positive" :
|
|
235
|
+
isNegative: T,
|
|
236
|
+
isNeutral: Qe,
|
|
237
|
+
evaluationColor: Tt,
|
|
238
|
+
evaluationGrad: `url(#${m ? "positive" : T ? "negative" : "neutral"}_grad_${f.value})`,
|
|
239
239
|
startX: u,
|
|
240
240
|
endX: d,
|
|
241
241
|
centerX: y,
|
|
@@ -247,7 +247,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
247
247
|
W.value = l;
|
|
248
248
|
}
|
|
249
249
|
});
|
|
250
|
-
function
|
|
250
|
+
function Ue() {
|
|
251
251
|
W.value = E.value.map((l) => {
|
|
252
252
|
const s = Number(l.start);
|
|
253
253
|
return {
|
|
@@ -257,11 +257,11 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
257
257
|
});
|
|
258
258
|
}
|
|
259
259
|
const L = h(null);
|
|
260
|
-
|
|
261
|
-
|
|
260
|
+
tt(() => {
|
|
261
|
+
We();
|
|
262
262
|
});
|
|
263
|
-
function
|
|
264
|
-
if (L.value != null && (cancelAnimationFrame(L.value), L.value = null),
|
|
263
|
+
function We() {
|
|
264
|
+
if (L.value != null && (cancelAnimationFrame(L.value), L.value = null), Ue(), !e.value.useAnimation) {
|
|
265
265
|
k.value = W.value.map((a) => {
|
|
266
266
|
const u = Number(a.end);
|
|
267
267
|
return { ...a, endVal: Number.isFinite(u) ? u : a.endVal };
|
|
@@ -274,20 +274,20 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
274
274
|
}), t = () => {
|
|
275
275
|
let a = !0;
|
|
276
276
|
k.value = W.value.map((u, d) => {
|
|
277
|
-
const y = Number.isFinite(Number(u.end)) ? Number(u.end) : u.endVal, m = u.endVal + s[d] * l,
|
|
278
|
-
return
|
|
277
|
+
const y = Number.isFinite(Number(u.end)) ? Number(u.end) : u.endVal, m = u.endVal + s[d] * l, T = s[d] >= 0 ? Math.min(m, y) : Math.max(m, y);
|
|
278
|
+
return T !== y && (a = !1), { ...u, endVal: T };
|
|
279
279
|
}), a ? L.value = null : L.value = requestAnimationFrame(t);
|
|
280
280
|
};
|
|
281
281
|
L.value = requestAnimationFrame(t);
|
|
282
282
|
}
|
|
283
|
-
const
|
|
283
|
+
const qe = g(() => e.value.style.chart.plots.evaluationColors.enable ? [
|
|
284
284
|
{ name: e.value.style.chart.legend.labelNegative, color: e.value.style.chart.plots.gradient.show ? `url(#negative_grad_${f.value})` : e.value.style.chart.plots.evaluationColors.negative },
|
|
285
285
|
{ name: e.value.style.chart.legend.labelNeutral, color: e.value.style.chart.plots.gradient.show ? `url(#neutral_grad_${f.value})` : e.value.style.chart.plots.evaluationColors.neutral },
|
|
286
286
|
{ name: e.value.style.chart.legend.labelPositive, color: e.value.style.chart.plots.gradient.show ? `url(#positive_grad_${f.value})` : e.value.style.chart.plots.evaluationColors.positive }
|
|
287
287
|
] : [
|
|
288
288
|
{ name: e.value.style.chart.legend.labelStart, color: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${f.value})` : e.value.style.chart.plots.startColor },
|
|
289
289
|
{ name: e.value.style.chart.legend.labelEnd, color: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${f.value})` : e.value.style.chart.plots.endColor }
|
|
290
|
-
]),
|
|
290
|
+
]), Lt = g(() => ({
|
|
291
291
|
cy: "donut-div-legend",
|
|
292
292
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
293
293
|
color: e.value.style.chart.legend.color,
|
|
@@ -295,7 +295,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
295
295
|
paddingBottom: 12,
|
|
296
296
|
paddingTop: 12,
|
|
297
297
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
298
|
-
})),
|
|
298
|
+
})), z = g(() => {
|
|
299
299
|
const l = k.value.map((t) => ({
|
|
300
300
|
name: t.name
|
|
301
301
|
})), s = k.value.map((t) => ({
|
|
@@ -309,19 +309,19 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
309
309
|
e.value.table.columnNames.start,
|
|
310
310
|
e.value.table.columnNames.end,
|
|
311
311
|
e.value.table.columnNames.progression
|
|
312
|
-
], s =
|
|
312
|
+
], s = z.value.head.map((u, d) => {
|
|
313
313
|
const y = w({
|
|
314
314
|
p: e.value.style.chart.labels.prefix,
|
|
315
|
-
v:
|
|
315
|
+
v: z.value.body[d].start,
|
|
316
316
|
s: e.value.style.chart.labels.suffix,
|
|
317
317
|
r: e.value.table.td.roundingValue
|
|
318
318
|
}), m = w({
|
|
319
319
|
p: e.value.style.chart.labels.prefix,
|
|
320
|
-
v:
|
|
320
|
+
v: z.value.body[d].end,
|
|
321
321
|
s: e.value.style.chart.labels.suffix,
|
|
322
322
|
r: e.value.table.td.roundingValue
|
|
323
|
-
}),
|
|
324
|
-
v: 100 * (
|
|
323
|
+
}), T = w({
|
|
324
|
+
v: 100 * (z.value.body[d].end / z.value.body[d].start - 1),
|
|
325
325
|
s: "%",
|
|
326
326
|
r: e.value.table.td.roundingPercentage
|
|
327
327
|
});
|
|
@@ -329,7 +329,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
329
329
|
{ name: u.name },
|
|
330
330
|
y,
|
|
331
331
|
m,
|
|
332
|
-
|
|
332
|
+
T
|
|
333
333
|
];
|
|
334
334
|
}), t = {
|
|
335
335
|
th: {
|
|
@@ -356,31 +356,31 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
356
356
|
config: t
|
|
357
357
|
};
|
|
358
358
|
});
|
|
359
|
-
function
|
|
360
|
-
|
|
361
|
-
const s =
|
|
359
|
+
function be(l = null) {
|
|
360
|
+
Pt(() => {
|
|
361
|
+
const s = z.value.head.map((u, d) => [[
|
|
362
362
|
u.name
|
|
363
|
-
], [
|
|
364
|
-
l ? l(a) :
|
|
363
|
+
], [z.value.body[d].start], [z.value.body[d].end]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.start], [e.value.table.columnNames.end]]].concat(s), a = Wt(t);
|
|
364
|
+
l ? l(a) : qt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-dumbbell" });
|
|
365
365
|
});
|
|
366
366
|
}
|
|
367
367
|
const V = h(!1);
|
|
368
|
-
function
|
|
369
|
-
V.value = l,
|
|
368
|
+
function je(l) {
|
|
369
|
+
V.value = l, we.value += 1;
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function At() {
|
|
372
372
|
return E.value;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
375
|
-
|
|
374
|
+
function Ye() {
|
|
375
|
+
F.value.showTable = !F.value.showTable;
|
|
376
376
|
}
|
|
377
377
|
const te = h(!1);
|
|
378
|
-
function
|
|
378
|
+
function ge() {
|
|
379
379
|
te.value = !te.value;
|
|
380
380
|
}
|
|
381
|
-
async function
|
|
381
|
+
async function Nt({ scale: l = 2 } = {}) {
|
|
382
382
|
if (!S.value) return;
|
|
383
|
-
const { width: s, height: t } = S.value.getBoundingClientRect(), a = s / t, { imageUri: u, base64: d } = await
|
|
383
|
+
const { width: s, height: t } = S.value.getBoundingClientRect(), a = s / t, { imageUri: u, base64: d } = await tl({ domElement: S.value, base64: !0, img: !0, scale: l });
|
|
384
384
|
return {
|
|
385
385
|
imageUri: u,
|
|
386
386
|
base64: d,
|
|
@@ -390,21 +390,21 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
390
390
|
aspectRatio: a
|
|
391
391
|
};
|
|
392
392
|
}
|
|
393
|
-
const
|
|
394
|
-
|
|
393
|
+
const Ze = g(() => $.value.ticks), St = g(() => ({ start: 0, end: Ze.value.length }));
|
|
394
|
+
el({
|
|
395
395
|
timeLabelsEls: Q,
|
|
396
|
-
timeLabels:
|
|
397
|
-
slicer:
|
|
396
|
+
timeLabels: Ze,
|
|
397
|
+
slicer: St,
|
|
398
398
|
configRef: e,
|
|
399
399
|
rotationPath: ["style", "chart", "labels", "xAxisLabels", "rotation"],
|
|
400
400
|
autoRotatePath: ["style", "chart", "labels", "xAxisLabels", "autoRotate", "enable"],
|
|
401
401
|
isAutoSize: !1,
|
|
402
|
-
width:
|
|
403
|
-
height:
|
|
402
|
+
width: B,
|
|
403
|
+
height: R,
|
|
404
404
|
targetClass: ".vue-ui-dumbbell-scale-label",
|
|
405
405
|
rotation: e.value.style.chart.labels.xAxisLabels.autoRotate.angle
|
|
406
406
|
});
|
|
407
|
-
function
|
|
407
|
+
function Mt({
|
|
408
408
|
rowHeight: l,
|
|
409
409
|
fontSize: s,
|
|
410
410
|
showProgression: t
|
|
@@ -413,42 +413,42 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
413
413
|
const a = l / 3, u = l / 1.3, d = Math.abs(u - a), y = s * 1.2;
|
|
414
414
|
return d < y;
|
|
415
415
|
}
|
|
416
|
-
const
|
|
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 === O.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 && (O.value = a, l = null, s = 0));
|
|
425
425
|
};
|
|
426
|
-
})(),
|
|
426
|
+
})(), Je = Ce(() => {
|
|
427
427
|
requestAnimationFrame(() => {
|
|
428
428
|
requestAnimationFrame(() => {
|
|
429
|
-
const l =
|
|
429
|
+
const l = Mt({
|
|
430
430
|
rowHeight: o.value.rowHeight,
|
|
431
431
|
fontSize: e.value.style.chart.labels.yAxisLabels.fontSize,
|
|
432
432
|
showProgression: e.value.style.chart.labels.yAxisLabels.showProgression
|
|
433
433
|
});
|
|
434
|
-
|
|
434
|
+
Xt(l);
|
|
435
435
|
});
|
|
436
436
|
});
|
|
437
437
|
}, 100);
|
|
438
|
-
function ge({ datapoint: l, seriesIndex: s }) {
|
|
439
|
-
O.value = s, r.value = l, e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: s });
|
|
440
|
-
}
|
|
441
438
|
function me({ datapoint: l, seriesIndex: s }) {
|
|
442
|
-
|
|
439
|
+
I.value = s, r.value = l, e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: s });
|
|
443
440
|
}
|
|
444
441
|
function pe({ datapoint: l, seriesIndex: s }) {
|
|
442
|
+
I.value = null, r.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: s });
|
|
443
|
+
}
|
|
444
|
+
function xe({ datapoint: l, seriesIndex: s }) {
|
|
445
445
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: s });
|
|
446
446
|
}
|
|
447
|
-
const
|
|
447
|
+
const _e = g(() => {
|
|
448
448
|
if (r.value === null) return 0;
|
|
449
449
|
const l = ![null, void 0].includes(r.value.start), s = ![null, void 0].includes(r.value.end);
|
|
450
450
|
return l && s ? Math.min(r.value.startX, r.value.endX) + Math.abs(r.value.startX - r.value.endX) / 2 : l && !s ? r.value.startX : s && !l ? r.value.endX : null;
|
|
451
|
-
}),
|
|
451
|
+
}), zt = g(() => {
|
|
452
452
|
if (r.value === null) return "";
|
|
453
453
|
const l = ![null, void 0].includes(r.value.start), s = ![null, void 0].includes(r.value.end);
|
|
454
454
|
let t = "", a = "";
|
|
@@ -461,7 +461,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["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: I.value }
|
|
465
465
|
)), s && (a = P(
|
|
466
466
|
e.value.style.chart.labels.formatter,
|
|
467
467
|
r.value.end,
|
|
@@ -471,12 +471,12 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["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: I.value }
|
|
475
475
|
)), l && s ? `${t} → ${a}` : l && !s ? t : s && !l ? a : "";
|
|
476
476
|
}), q = g(() => {
|
|
477
|
-
const l = e.value.table.useDialog && !e.value.table.show, s =
|
|
477
|
+
const l = e.value.table.useDialog && !e.value.table.show, s = F.value.showTable;
|
|
478
478
|
return {
|
|
479
|
-
component: l ?
|
|
479
|
+
component: l ? xt : yt,
|
|
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,
|
|
@@ -503,49 +503,53 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
503
503
|
}
|
|
504
504
|
};
|
|
505
505
|
});
|
|
506
|
-
|
|
506
|
+
le(() => F.value.showTable, (l) => {
|
|
507
507
|
e.value.table.show || (l && e.value.table.useDialog && U.value ? U.value.open() : "close" in U.value && U.value.close());
|
|
508
|
-
})
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
508
|
+
});
|
|
509
|
+
function Ke() {
|
|
510
|
+
F.value.showTable = !1, ne.value && ne.value.setTableIconState(!1);
|
|
511
|
+
}
|
|
512
|
+
return ht({
|
|
513
|
+
getData: At,
|
|
514
|
+
getImage: Nt,
|
|
515
|
+
generatePdf: Ge,
|
|
516
|
+
generateCsv: be,
|
|
517
|
+
generateImage: Ee,
|
|
518
|
+
toggleTable: Ye,
|
|
519
|
+
toggleAnnotator: ge,
|
|
520
|
+
toggleFullscreen: je
|
|
517
521
|
}), (l, s) => (n(), v("div", {
|
|
518
522
|
ref_key: "dumbbellChart",
|
|
519
523
|
ref: S,
|
|
520
|
-
class:
|
|
524
|
+
class: at(`vue-ui-dumbbell ${V.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
521
525
|
style: ae(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
522
526
|
id: `dumbbell_${f.value}`,
|
|
523
|
-
onMouseenter: s[
|
|
524
|
-
onMouseleave: s[
|
|
527
|
+
onMouseenter: s[1] || (s[1] = () => i(Te)(!0)),
|
|
528
|
+
onMouseleave: s[2] || (s[2] = () => i(Te)(!1))
|
|
525
529
|
}, [
|
|
526
|
-
e.value.userOptions.buttons.annotator ? (n(),
|
|
530
|
+
e.value.userOptions.buttons.annotator ? (n(), D(i(gt), {
|
|
527
531
|
key: 0,
|
|
528
|
-
svgRef: i(
|
|
532
|
+
svgRef: i(Ie),
|
|
529
533
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
530
534
|
color: e.value.style.chart.color,
|
|
531
535
|
active: te.value,
|
|
532
|
-
onClose:
|
|
536
|
+
onClose: ge
|
|
533
537
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : b("", !0),
|
|
534
|
-
|
|
538
|
+
Ct.value ? (n(), v("div", {
|
|
535
539
|
key: 1,
|
|
536
540
|
ref_key: "noTitle",
|
|
537
|
-
ref:
|
|
541
|
+
ref: Ne,
|
|
538
542
|
class: "vue-data-ui-no-title-space",
|
|
539
543
|
style: "height:36px; width: 100%;background:transparent"
|
|
540
544
|
}, null, 512)) : b("", !0),
|
|
541
545
|
e.value.style.chart.title.text ? (n(), v("div", {
|
|
542
546
|
key: 2,
|
|
543
547
|
ref_key: "chartTitle",
|
|
544
|
-
ref:
|
|
548
|
+
ref: $e,
|
|
545
549
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
546
550
|
}, [
|
|
547
|
-
(n(),
|
|
548
|
-
key: `title_${
|
|
551
|
+
(n(), D(ll, {
|
|
552
|
+
key: `title_${Se.value}`,
|
|
549
553
|
config: {
|
|
550
554
|
title: {
|
|
551
555
|
cy: "donut-div-title",
|
|
@@ -560,14 +564,15 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
560
564
|
], 512)) : b("", !0),
|
|
561
565
|
c("div", {
|
|
562
566
|
id: `legend-top-${f.value}`
|
|
563
|
-
}, null, 8,
|
|
564
|
-
e.value.userOptions.show && K.value && (i(
|
|
565
|
-
|
|
566
|
-
|
|
567
|
+
}, null, 8, nl),
|
|
568
|
+
e.value.userOptions.show && K.value && (i(De) || i(de)) ? (n(), D(i(mt), {
|
|
569
|
+
ref_key: "userOptionsRef",
|
|
570
|
+
ref: ne,
|
|
571
|
+
key: `user_option_${we.value}`,
|
|
567
572
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
568
573
|
color: e.value.style.chart.color,
|
|
569
|
-
isPrinting: i(
|
|
570
|
-
isImaging: i(
|
|
574
|
+
isPrinting: i(He),
|
|
575
|
+
isImaging: i(Pe),
|
|
571
576
|
uid: f.value,
|
|
572
577
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
573
578
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -582,16 +587,17 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
582
587
|
isAnnotation: te.value,
|
|
583
588
|
callbacks: e.value.userOptions.callbacks,
|
|
584
589
|
printScale: e.value.userOptions.print.scale,
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
590
|
+
tableDialog: e.value.table.useDialog,
|
|
591
|
+
onToggleFullscreen: je,
|
|
592
|
+
onGeneratePdf: i(Ge),
|
|
593
|
+
onGenerateCsv: be,
|
|
594
|
+
onGenerateImage: i(Ee),
|
|
595
|
+
onToggleTable: Ye,
|
|
596
|
+
onToggleAnnotator: ge,
|
|
591
597
|
style: ae({
|
|
592
|
-
visibility: i(
|
|
598
|
+
visibility: i(De) ? i(de) ? "visible" : "hidden" : "visible"
|
|
593
599
|
})
|
|
594
|
-
},
|
|
600
|
+
}, st({ _: 2 }, [
|
|
595
601
|
l.$slots.menuIcon ? {
|
|
596
602
|
name: "menuIcon",
|
|
597
603
|
fn: p(({ isOpen: t, color: a }) => [
|
|
@@ -641,16 +647,16 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
641
647
|
]),
|
|
642
648
|
key: "6"
|
|
643
649
|
} : void 0
|
|
644
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : b("", !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"])) : b("", !0),
|
|
645
651
|
(n(), v("svg", {
|
|
646
652
|
ref_key: "svgRef",
|
|
647
|
-
ref:
|
|
648
|
-
xmlns: i(
|
|
649
|
-
class:
|
|
650
|
-
viewBox: `0 0 ${
|
|
653
|
+
ref: Ie,
|
|
654
|
+
xmlns: i(it),
|
|
655
|
+
class: at({ "vue-data-ui-fullscreen--on": V.value, "vue-data-ui-fulscreen--off": !V.value }),
|
|
656
|
+
viewBox: `0 0 ${B.value} ${o.value.absoluteHeight <= 0 ? 10 : o.value.absoluteHeight}`,
|
|
651
657
|
style: ae(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
652
658
|
}, [
|
|
653
|
-
|
|
659
|
+
ot(i(pt)),
|
|
654
660
|
l.$slots["chart-background"] ? (n(), v("foreignObject", {
|
|
655
661
|
key: 0,
|
|
656
662
|
x: o.value.left,
|
|
@@ -662,8 +668,8 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
662
668
|
}
|
|
663
669
|
}, [
|
|
664
670
|
x(l.$slots, "chart-background", {}, void 0, !0)
|
|
665
|
-
], 8,
|
|
666
|
-
e.value.style.chart.grid.verticalGrid.show ? (n(), v("g",
|
|
671
|
+
], 8, ul)) : b("", !0),
|
|
672
|
+
e.value.style.chart.grid.verticalGrid.show ? (n(), v("g", il, [
|
|
667
673
|
(n(!0), v(C, null, A($.value.ticks, (t, a) => (n(), v("line", {
|
|
668
674
|
x1: o.value.left + a * o.value.width / ($.value.ticks.length - 1),
|
|
669
675
|
x2: o.value.left + a * o.value.width / ($.value.ticks.length - 1),
|
|
@@ -672,9 +678,9 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
672
678
|
stroke: e.value.style.chart.grid.verticalGrid.stroke,
|
|
673
679
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
674
680
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray
|
|
675
|
-
}, null, 8,
|
|
681
|
+
}, null, 8, cl))), 256))
|
|
676
682
|
])) : b("", !0),
|
|
677
|
-
e.value.style.chart.grid.horizontalGrid.show ? (n(), v("g",
|
|
683
|
+
e.value.style.chart.grid.horizontalGrid.show ? (n(), v("g", vl, [
|
|
678
684
|
(n(!0), v(C, null, A(E.value, (t, a) => (n(), v("line", {
|
|
679
685
|
x1: o.value.left,
|
|
680
686
|
x2: o.value.right,
|
|
@@ -683,7 +689,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
683
689
|
stroke: e.value.style.chart.grid.horizontalGrid.stroke,
|
|
684
690
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
685
691
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
686
|
-
}, null, 8,
|
|
692
|
+
}, null, 8, dl))), 256)),
|
|
687
693
|
c("line", {
|
|
688
694
|
x1: o.value.left,
|
|
689
695
|
x2: o.value.right,
|
|
@@ -692,35 +698,35 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
692
698
|
stroke: e.value.style.chart.grid.horizontalGrid.stroke,
|
|
693
699
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
694
700
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
695
|
-
}, null, 8,
|
|
701
|
+
}, null, 8, hl)
|
|
696
702
|
])) : b("", !0),
|
|
697
703
|
e.value.style.chart.labels.axis.yLabel ? (n(), v("text", {
|
|
698
704
|
key: 3,
|
|
699
705
|
ref_key: "yAxisLabel",
|
|
700
|
-
ref:
|
|
706
|
+
ref: re,
|
|
701
707
|
transform: `translate(${e.value.style.chart.labels.axis.fontSize}, ${o.value.absoluteHeight / 2}), rotate(-90)`,
|
|
702
708
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
703
709
|
fill: e.value.style.chart.labels.axis.color,
|
|
704
710
|
"text-anchor": "middle"
|
|
705
|
-
}, _(e.value.style.chart.labels.axis.yLabel), 9,
|
|
711
|
+
}, _(e.value.style.chart.labels.axis.yLabel), 9, fl)) : b("", !0),
|
|
706
712
|
e.value.style.chart.labels.yAxisLabels.show ? (n(), v("g", {
|
|
707
713
|
key: 4,
|
|
708
714
|
ref_key: "serieLabels",
|
|
709
|
-
ref:
|
|
715
|
+
ref: ue
|
|
710
716
|
}, [
|
|
711
717
|
(n(!0), v(C, null, A(k.value, (t, a) => (n(), v("text", {
|
|
712
718
|
class: "vue-ui-dumbbell-serie-name",
|
|
713
719
|
key: `serieLabel_${t.id}_${a}`,
|
|
714
720
|
x: o.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
715
|
-
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 || O.value ? o.value.rowHeight / 2 : o.value.rowHeight / 3) + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
716
722
|
"font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
|
|
717
723
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
718
724
|
"font-weight": e.value.style.chart.labels.yAxisLabels.bold ? "bold" : "normal",
|
|
719
725
|
"text-anchor": "end",
|
|
720
|
-
onMouseenter: (u) =>
|
|
721
|
-
onMouseleave: (u) =>
|
|
722
|
-
onClick: (u) =>
|
|
723
|
-
}, _(t.name) + " " + _(
|
|
726
|
+
onMouseenter: (u) => me({ datapoint: t, seriesIndex: a }),
|
|
727
|
+
onMouseleave: (u) => pe({ datapoint: t, seriesIndex: a }),
|
|
728
|
+
onClick: (u) => xe({ datapoint: t, seriesIndex: a })
|
|
729
|
+
}, _(t.name) + " " + _(O.value && e.value.style.chart.labels.yAxisLabels.showProgression ? [null, void 0].includes(t.start) || [null, void 0].includes(t.end) ? "" : `(${i(P)(
|
|
724
730
|
e.value.style.chart.labels.yAxisLabels.formatter,
|
|
725
731
|
100 * (t.end / t.start - 1),
|
|
726
732
|
i(w)({
|
|
@@ -729,17 +735,17 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
729
735
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
730
736
|
}),
|
|
731
737
|
{ datapoint: t }
|
|
732
|
-
)})` : ""), 41,
|
|
733
|
-
e.value.style.chart.labels.yAxisLabels.showProgression && !
|
|
738
|
+
)})` : ""), 41, yl))), 128)),
|
|
739
|
+
e.value.style.chart.labels.yAxisLabels.showProgression && !O.value ? (n(!0), v(C, { key: 0 }, A(k.value, (t, a) => (n(), v("text", {
|
|
734
740
|
class: "vue-ui-dumbbell-serie-value",
|
|
735
741
|
x: o.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
736
742
|
y: o.value.top + a * o.value.rowHeight + o.value.rowHeight / 1.3 + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
737
743
|
"font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
|
|
738
744
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
739
745
|
"text-anchor": "end",
|
|
740
|
-
onMouseenter: (u) =>
|
|
741
|
-
onMouseleave: (u) =>
|
|
742
|
-
onClick: (u) =>
|
|
746
|
+
onMouseenter: (u) => me({ datapoint: t, seriesIndex: a }),
|
|
747
|
+
onMouseleave: (u) => pe({ datapoint: t, seriesIndex: a }),
|
|
748
|
+
onClick: (u) => xe({ datapoint: t, seriesIndex: a })
|
|
743
749
|
}, _([null, void 0].includes(t.start) || [null, void 0].includes(t.end) ? "" : i(P)(
|
|
744
750
|
e.value.style.chart.labels.yAxisLabels.formatter,
|
|
745
751
|
100 * (t.end / t.start - 1),
|
|
@@ -749,18 +755,18 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
749
755
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
750
756
|
}),
|
|
751
757
|
{ datapoint: t }
|
|
752
|
-
)), 41,
|
|
758
|
+
)), 41, bl))), 256)) : b("", !0)
|
|
753
759
|
], 512)) : b("", !0),
|
|
754
760
|
e.value.style.chart.labels.axis.xLabel ? (n(), v("text", {
|
|
755
761
|
key: 5,
|
|
756
762
|
ref_key: "xAxisLabel",
|
|
757
|
-
ref:
|
|
763
|
+
ref: ie,
|
|
758
764
|
x: o.value.left + o.value.width / 2,
|
|
759
765
|
y: o.value.absoluteHeight - e.value.style.chart.labels.axis.fontSize / 3,
|
|
760
766
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
761
767
|
fill: e.value.style.chart.labels.axis.color,
|
|
762
768
|
"text-anchor": "middle"
|
|
763
|
-
}, _(e.value.style.chart.labels.axis.xLabel), 9,
|
|
769
|
+
}, _(e.value.style.chart.labels.axis.xLabel), 9, gl)) : b("", !0),
|
|
764
770
|
e.value.style.chart.labels.xAxisLabels.show ? (n(), v("g", {
|
|
765
771
|
key: 6,
|
|
766
772
|
ref_key: "scaleLabels",
|
|
@@ -784,7 +790,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
784
790
|
r: e.value.style.chart.labels.xAxisLabels.rounding
|
|
785
791
|
}),
|
|
786
792
|
{ datapoint: t, seriesIndex: a }
|
|
787
|
-
)), 9,
|
|
793
|
+
)), 9, ml))), 128))
|
|
788
794
|
], 512)) : b("", !0),
|
|
789
795
|
j(c("g", null, [
|
|
790
796
|
j(c("path", {
|
|
@@ -793,7 +799,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
793
799
|
"stroke-width": e.value.style.chart.comparisonLines.strokeWidth,
|
|
794
800
|
"stroke-dasharray": e.value.style.chart.comparisonLines.strokeDasharray,
|
|
795
801
|
style: { transition: "all 0.3s ease-in-out" }
|
|
796
|
-
}, null, 8,
|
|
802
|
+
}, null, 8, pl), [
|
|
797
803
|
[Y, r.value !== null && ![null, void 0].includes(r.value.start)]
|
|
798
804
|
]),
|
|
799
805
|
j(c("path", {
|
|
@@ -802,7 +808,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
802
808
|
"stroke-width": e.value.style.chart.comparisonLines.strokeWidth,
|
|
803
809
|
"stroke-dasharray": e.value.style.chart.comparisonLines.strokeDasharray,
|
|
804
810
|
style: { transition: "all 0.3s ease-in-out" }
|
|
805
|
-
}, null, 8,
|
|
811
|
+
}, null, 8, xl), [
|
|
806
812
|
[Y, r.value !== null && ![null, void 0].includes(r.value.end)]
|
|
807
813
|
]),
|
|
808
814
|
j(c("rect", {
|
|
@@ -810,22 +816,22 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
810
816
|
y: o.value.top,
|
|
811
817
|
height: Math.max(0.1, o.value.height),
|
|
812
818
|
width: r.value ? Math.max(0.1, Math.abs(r.value.endX - r.value.startX)) : 0,
|
|
813
|
-
fill: r.value ? i(
|
|
819
|
+
fill: r.value ? i(ct)(e.value.style.chart.comparisonLines.rectColor, e.value.style.chart.comparisonLines.rectOpacity) : "transparent",
|
|
814
820
|
style: { transition: "all 0.3s ease-in-out" }
|
|
815
|
-
}, null, 8,
|
|
821
|
+
}, null, 8, _l), [
|
|
816
822
|
[Y, e.value.style.chart.comparisonLines.showRect && r.value !== null && ![null, void 0].includes(r.value.start) && ![null, void 0].includes(r.value.end)]
|
|
817
823
|
]),
|
|
818
824
|
j(c("text", {
|
|
819
|
-
transform: `translate(${
|
|
825
|
+
transform: `translate(${_e.value == null ? 0 : _e.value}, ${o.value.top - 6})`,
|
|
820
826
|
fill: e.value.style.chart.comparisonLines.labelColor,
|
|
821
827
|
"font-size": e.value.style.chart.comparisonLines.labelFontSize,
|
|
822
828
|
"text-anchor": "middle",
|
|
823
829
|
style: { transition: "all 0.3s ease-in-out" }
|
|
824
|
-
}, _(
|
|
825
|
-
[Y, r.value !== null &&
|
|
830
|
+
}, _(zt.value), 9, kl), [
|
|
831
|
+
[Y, r.value !== null && _e.value !== null && e.value.style.chart.comparisonLines.showLabel]
|
|
826
832
|
])
|
|
827
833
|
], 512), [
|
|
828
|
-
[Y, e.value.style.chart.comparisonLines.show &&
|
|
834
|
+
[Y, e.value.style.chart.comparisonLines.show && I.value !== null]
|
|
829
835
|
]),
|
|
830
836
|
c("defs", null, [
|
|
831
837
|
c("radialGradient", {
|
|
@@ -835,16 +841,16 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
835
841
|
c("stop", {
|
|
836
842
|
offset: "10%",
|
|
837
843
|
"stop-color": i(Z)(e.value.style.chart.plots.startColor, e.value.style.chart.plots.gradient.intensity / 100)
|
|
838
|
-
}, null, 8,
|
|
844
|
+
}, null, 8, wl),
|
|
839
845
|
c("stop", {
|
|
840
846
|
offset: "90%",
|
|
841
847
|
"stop-color": i(J)(e.value.style.chart.plots.startColor, 0.1)
|
|
842
|
-
}, null, 8,
|
|
848
|
+
}, null, 8, $l),
|
|
843
849
|
c("stop", {
|
|
844
850
|
offset: "100%",
|
|
845
851
|
"stop-color": e.value.style.chart.plots.startColor
|
|
846
|
-
}, null, 8,
|
|
847
|
-
], 8,
|
|
852
|
+
}, null, 8, Ll)
|
|
853
|
+
], 8, Cl),
|
|
848
854
|
c("radialGradient", {
|
|
849
855
|
id: `end_grad_${f.value}`,
|
|
850
856
|
fy: "30%"
|
|
@@ -852,16 +858,16 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
852
858
|
c("stop", {
|
|
853
859
|
offset: "10%",
|
|
854
860
|
"stop-color": i(Z)(e.value.style.chart.plots.endColor, e.value.style.chart.plots.gradient.intensity / 100)
|
|
855
|
-
}, null, 8,
|
|
861
|
+
}, null, 8, Nl),
|
|
856
862
|
c("stop", {
|
|
857
863
|
offset: "90%",
|
|
858
864
|
"stop-color": i(J)(e.value.style.chart.plots.endColor, 0.1)
|
|
859
|
-
}, null, 8,
|
|
865
|
+
}, null, 8, Sl),
|
|
860
866
|
c("stop", {
|
|
861
867
|
offset: "100%",
|
|
862
868
|
"stop-color": e.value.style.chart.plots.endColor
|
|
863
|
-
}, null, 8,
|
|
864
|
-
], 8,
|
|
869
|
+
}, null, 8, Ml)
|
|
870
|
+
], 8, Al),
|
|
865
871
|
c("radialGradient", {
|
|
866
872
|
id: `positive_grad_${f.value}`,
|
|
867
873
|
fy: "30%"
|
|
@@ -869,16 +875,16 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
869
875
|
c("stop", {
|
|
870
876
|
offset: "10%",
|
|
871
877
|
"stop-color": i(Z)(e.value.style.chart.plots.evaluationColors.positive, e.value.style.chart.plots.gradient.intensity / 100)
|
|
872
|
-
}, null, 8,
|
|
878
|
+
}, null, 8, zl),
|
|
873
879
|
c("stop", {
|
|
874
880
|
offset: "90%",
|
|
875
881
|
"stop-color": i(J)(e.value.style.chart.plots.evaluationColors.positive, 0.1)
|
|
876
|
-
}, null, 8,
|
|
882
|
+
}, null, 8, Tl),
|
|
877
883
|
c("stop", {
|
|
878
884
|
offset: "100%",
|
|
879
885
|
"stop-color": e.value.style.chart.plots.evaluationColors.positive
|
|
880
|
-
}, null, 8,
|
|
881
|
-
], 8,
|
|
886
|
+
}, null, 8, Dl)
|
|
887
|
+
], 8, Xl),
|
|
882
888
|
c("radialGradient", {
|
|
883
889
|
id: `negative_grad_${f.value}`,
|
|
884
890
|
fy: "30%"
|
|
@@ -886,16 +892,16 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
886
892
|
c("stop", {
|
|
887
893
|
offset: "10%",
|
|
888
894
|
"stop-color": i(Z)(e.value.style.chart.plots.evaluationColors.negative, e.value.style.chart.plots.gradient.intensity / 100)
|
|
889
|
-
}, null, 8,
|
|
895
|
+
}, null, 8, Ol),
|
|
890
896
|
c("stop", {
|
|
891
897
|
offset: "90%",
|
|
892
898
|
"stop-color": i(J)(e.value.style.chart.plots.evaluationColors.negative, 0.1)
|
|
893
|
-
}, null, 8,
|
|
899
|
+
}, null, 8, Fl),
|
|
894
900
|
c("stop", {
|
|
895
901
|
offset: "100%",
|
|
896
902
|
"stop-color": e.value.style.chart.plots.evaluationColors.negative
|
|
897
|
-
}, null, 8,
|
|
898
|
-
], 8,
|
|
903
|
+
}, null, 8, Hl)
|
|
904
|
+
], 8, Il),
|
|
899
905
|
c("radialGradient", {
|
|
900
906
|
id: `neutral_grad_${f.value}`,
|
|
901
907
|
fy: "30%"
|
|
@@ -903,16 +909,16 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
903
909
|
c("stop", {
|
|
904
910
|
offset: "10%",
|
|
905
911
|
"stop-color": i(Z)(e.value.style.chart.plots.evaluationColors.neutral, e.value.style.chart.plots.gradient.intensity / 100)
|
|
906
|
-
}, null, 8,
|
|
912
|
+
}, null, 8, Gl),
|
|
907
913
|
c("stop", {
|
|
908
914
|
offset: "90%",
|
|
909
915
|
"stop-color": i(J)(e.value.style.chart.plots.evaluationColors.neutral, 0.1)
|
|
910
|
-
}, null, 8,
|
|
916
|
+
}, null, 8, El),
|
|
911
917
|
c("stop", {
|
|
912
918
|
offset: "100%",
|
|
913
919
|
"stop-color": e.value.style.chart.plots.evaluationColors.neutral
|
|
914
|
-
}, null, 8,
|
|
915
|
-
], 8,
|
|
920
|
+
}, null, 8, Rl)
|
|
921
|
+
], 8, Pl)
|
|
916
922
|
]),
|
|
917
923
|
(n(!0), v(C, null, A(k.value, (t, a) => (n(), v("g", {
|
|
918
924
|
key: `plot_${a}_${t.id}`
|
|
@@ -928,12 +934,12 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
928
934
|
c("stop", {
|
|
929
935
|
offset: "0%",
|
|
930
936
|
"stop-color": e.value.style.chart.plots.startColor
|
|
931
|
-
}, null, 8,
|
|
937
|
+
}, null, 8, Vl),
|
|
932
938
|
c("stop", {
|
|
933
939
|
offset: "100%",
|
|
934
940
|
"stop-color": e.value.style.chart.plots.endColor
|
|
935
|
-
}, null, 8,
|
|
936
|
-
], 8,
|
|
941
|
+
}, null, 8, Ul)
|
|
942
|
+
], 8, Bl),
|
|
937
943
|
c("linearGradient", {
|
|
938
944
|
id: `grad_neg_${f.value}`,
|
|
939
945
|
x1: "0%",
|
|
@@ -944,64 +950,64 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
944
950
|
c("stop", {
|
|
945
951
|
offset: "0%",
|
|
946
952
|
"stop-color": e.value.style.chart.plots.endColor
|
|
947
|
-
}, null, 8,
|
|
953
|
+
}, null, 8, ql),
|
|
948
954
|
c("stop", {
|
|
949
955
|
offset: "100%",
|
|
950
956
|
"stop-color": e.value.style.chart.plots.startColor
|
|
951
|
-
}, null, 8,
|
|
952
|
-
], 8,
|
|
957
|
+
}, null, 8, jl)
|
|
958
|
+
], 8, Wl)
|
|
953
959
|
]),
|
|
954
|
-
![void 0, null].includes(t.end) && ![void 0, null].includes(t.start) ? (n(), v("g",
|
|
955
|
-
e.value.style.chart.plots.link.type === "curved" ? (n(), v("g",
|
|
960
|
+
![void 0, null].includes(t.end) && ![void 0, null].includes(t.start) ? (n(), v("g", Yl, [
|
|
961
|
+
e.value.style.chart.plots.link.type === "curved" ? (n(), v("g", Zl, [
|
|
956
962
|
c("path", {
|
|
957
963
|
d: `M
|
|
958
|
-
${t.startX},${t.y +
|
|
964
|
+
${t.startX},${t.y + X.value / 2}
|
|
959
965
|
C ${t.centerX},${t.y} ${t.centerX},${t.y}
|
|
960
|
-
${t.endX},${t.y +
|
|
961
|
-
L ${t.endX},${t.y -
|
|
966
|
+
${t.endX},${t.y + X.value / 2}
|
|
967
|
+
L ${t.endX},${t.y - X.value / 2}
|
|
962
968
|
C ${t.centerX},${t.y} ${t.centerX},${t.y}
|
|
963
|
-
${t.startX},${t.y -
|
|
969
|
+
${t.startX},${t.y - X.value / 2}
|
|
964
970
|
Z
|
|
965
971
|
`,
|
|
966
972
|
fill: e.value.style.chart.plots.evaluationColors.enable ? t.evaluationColor : t.endX > t.startX ? `url(#grad_pos_${f.value})` : `url(#grad_neg_${f.value})`
|
|
967
|
-
}, null, 8,
|
|
968
|
-
])) : (n(), v("g",
|
|
973
|
+
}, null, 8, Jl)
|
|
974
|
+
])) : (n(), v("g", Kl, [
|
|
969
975
|
c("rect", {
|
|
970
976
|
x: t.endX > t.startX ? t.startX : t.endX,
|
|
971
977
|
y: t.y - e.value.style.chart.plots.link.strokeWidth / 2,
|
|
972
978
|
height: Math.max(0.01, e.value.style.chart.plots.link.strokeWidth),
|
|
973
979
|
width: Math.max(0.01, Math.abs(t.endX - t.startX)),
|
|
974
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})`
|
|
975
|
-
}, null, 8,
|
|
981
|
+
}, null, 8, Ql)
|
|
976
982
|
]))
|
|
977
983
|
])) : b("", !0),
|
|
978
984
|
[null, void 0].includes(t.start) ? b("", !0) : (n(), v("circle", {
|
|
979
985
|
key: 1,
|
|
980
986
|
cx: t.startX,
|
|
981
987
|
cy: t.y,
|
|
982
|
-
r:
|
|
988
|
+
r: X.value,
|
|
983
989
|
fill: e.value.style.chart.plots.gradient.show ? e.value.style.chart.plots.evaluationColors.enable ? t.evaluationGrad : `url(#start_grad_${f.value})` : e.value.style.chart.plots.evaluationColors.enable ? t.evaluationColor : e.value.style.chart.plots.startColor,
|
|
984
990
|
stroke: e.value.style.chart.plots.stroke,
|
|
985
991
|
"stroke-width": e.value.style.chart.plots.strokeWidth
|
|
986
|
-
}, null, 8,
|
|
992
|
+
}, null, 8, ea)),
|
|
987
993
|
[null, void 0].includes(t.end) ? b("", !0) : (n(), v("circle", {
|
|
988
994
|
key: 2,
|
|
989
995
|
cx: t.endX,
|
|
990
996
|
cy: t.y,
|
|
991
|
-
r:
|
|
997
|
+
r: X.value,
|
|
992
998
|
fill: e.value.style.chart.plots.gradient.show ? e.value.style.chart.plots.evaluationColors.enable ? t.evaluationGrad : `url(#end_grad_${f.value})` : e.value.style.chart.plots.evaluationColors.enable ? t.evaluationColor : e.value.style.chart.plots.endColor,
|
|
993
999
|
stroke: e.value.style.chart.plots.stroke,
|
|
994
1000
|
"stroke-width": e.value.style.chart.plots.strokeWidth
|
|
995
|
-
}, null, 8,
|
|
1001
|
+
}, null, 8, ta))
|
|
996
1002
|
]))), 128)),
|
|
997
|
-
e.value.style.chart.labels.startLabels.show ? (n(), v("g",
|
|
1003
|
+
e.value.style.chart.labels.startLabels.show ? (n(), v("g", la, [
|
|
998
1004
|
(n(!0), v(C, null, A(k.value, (t, a) => (n(), v("g", {
|
|
999
1005
|
key: `start_label_${a}_${t.id}`
|
|
1000
1006
|
}, [
|
|
1001
1007
|
[null, void 0].includes(t.start) ? b("", !0) : (n(), v("text", {
|
|
1002
1008
|
key: 0,
|
|
1003
1009
|
x: t.startX,
|
|
1004
|
-
y: t.y +
|
|
1010
|
+
y: t.y + X.value * 2 + e.value.style.chart.labels.startLabels.fontSize / 2,
|
|
1005
1011
|
fill: e.value.style.chart.plots.evaluationColors.enable && e.value.style.chart.labels.startLabels.useEvaluationColor ? t.evaluationColor : e.value.style.chart.labels.startLabels.useStartColor ? e.value.style.chart.plots.startColor : e.value.style.chart.labels.startLabels.color,
|
|
1006
1012
|
"font-size": e.value.style.chart.labels.startLabels.fontSize,
|
|
1007
1013
|
"text-anchor": "middle"
|
|
@@ -1015,17 +1021,17 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
1015
1021
|
r: e.value.style.chart.labels.startLabels.rounding
|
|
1016
1022
|
}),
|
|
1017
1023
|
{ datapoint: t, seriesIndex: a }
|
|
1018
|
-
)), 9,
|
|
1024
|
+
)), 9, aa))
|
|
1019
1025
|
]))), 128))
|
|
1020
1026
|
])) : b("", !0),
|
|
1021
|
-
e.value.style.chart.labels.endLabels.show ? (n(), v("g",
|
|
1027
|
+
e.value.style.chart.labels.endLabels.show ? (n(), v("g", sa, [
|
|
1022
1028
|
(n(!0), v(C, null, A(k.value, (t, a) => (n(), v("g", {
|
|
1023
1029
|
key: `end_label_${a}_${t.id}`
|
|
1024
1030
|
}, [
|
|
1025
1031
|
[null, void 0].includes(t.end) ? b("", !0) : (n(), v("text", {
|
|
1026
1032
|
key: 0,
|
|
1027
1033
|
x: t.endX,
|
|
1028
|
-
y: t.y - (
|
|
1034
|
+
y: t.y - (X.value * 2 - e.value.style.chart.labels.startLabels.fontSize / 3),
|
|
1029
1035
|
fill: e.value.style.chart.plots.evaluationColors.enable && e.value.style.chart.labels.endLabels.useEvaluationColor ? t.evaluationColor : e.value.style.chart.labels.endLabels.useEndColor ? e.value.style.chart.plots.endColor : e.value.style.chart.labels.endLabels.color,
|
|
1030
1036
|
"font-size": e.value.style.chart.labels.endLabels.fontSize,
|
|
1031
1037
|
"text-anchor": "middle"
|
|
@@ -1039,7 +1045,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
1039
1045
|
r: e.value.style.chart.labels.endLabels.rounding
|
|
1040
1046
|
}),
|
|
1041
1047
|
{ datapoint: t, seriesIndex: a }
|
|
1042
|
-
)), 9,
|
|
1048
|
+
)), 9, oa))
|
|
1043
1049
|
]))), 128))
|
|
1044
1050
|
])) : b("", !0),
|
|
1045
1051
|
c("g", null, [
|
|
@@ -1048,32 +1054,32 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
1048
1054
|
y: o.value.top + a * Math.max(0.1, o.value.rowHeight),
|
|
1049
1055
|
width: Math.max(0.1, o.value.width),
|
|
1050
1056
|
height: Math.max(0.1, o.value.rowHeight),
|
|
1051
|
-
fill:
|
|
1052
|
-
onMouseenter: (u) =>
|
|
1053
|
-
onMouseleave: (u) =>
|
|
1054
|
-
onClick: (u) =>
|
|
1055
|
-
}, null, 40,
|
|
1057
|
+
fill: I.value !== null && I.value === a ? i(ct)(e.value.style.chart.highlighter.color, e.value.style.chart.highlighter.opacity) : "transparent",
|
|
1058
|
+
onMouseenter: (u) => me({ datapoint: t, seriesIndex: a }),
|
|
1059
|
+
onMouseleave: (u) => pe({ datapoint: t, seriesIndex: a }),
|
|
1060
|
+
onClick: (u) => xe({ datapoint: t, seriesIndex: a })
|
|
1061
|
+
}, null, 40, na))), 256))
|
|
1056
1062
|
]),
|
|
1057
1063
|
x(l.$slots, "svg", { svg: o.value }, void 0, !0)
|
|
1058
|
-
], 14,
|
|
1059
|
-
l.$slots.watermark ? (n(), v("div",
|
|
1060
|
-
x(l.$slots, "watermark", se(oe({ isPrinting: i(
|
|
1064
|
+
], 14, rl)),
|
|
1065
|
+
l.$slots.watermark ? (n(), v("div", ra, [
|
|
1066
|
+
x(l.$slots, "watermark", se(oe({ isPrinting: i(He) || i(Pe) })), void 0, !0)
|
|
1061
1067
|
])) : b("", !0),
|
|
1062
1068
|
c("div", {
|
|
1063
1069
|
id: `legend-bottom-${f.value}`
|
|
1064
|
-
}, null, 8,
|
|
1065
|
-
|
|
1070
|
+
}, null, 8, ua),
|
|
1071
|
+
ze.value ? (n(), D(Ot, {
|
|
1066
1072
|
key: 5,
|
|
1067
1073
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${f.value}` : `#legend-bottom-${f.value}`
|
|
1068
1074
|
}, [
|
|
1069
1075
|
c("div", {
|
|
1070
1076
|
ref_key: "chartLegend",
|
|
1071
|
-
ref:
|
|
1077
|
+
ref: Le
|
|
1072
1078
|
}, [
|
|
1073
|
-
e.value.style.chart.legend.show && K.value ? (n(),
|
|
1074
|
-
key: `legend_${
|
|
1075
|
-
legendSet:
|
|
1076
|
-
config:
|
|
1079
|
+
e.value.style.chart.legend.show && K.value ? (n(), D(al, {
|
|
1080
|
+
key: `legend_${Xe.value}`,
|
|
1081
|
+
legendSet: qe.value,
|
|
1082
|
+
config: Lt.value,
|
|
1077
1083
|
clickable: !1
|
|
1078
1084
|
}, {
|
|
1079
1085
|
item: p(({ legend: t }) => [
|
|
@@ -1081,7 +1087,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
1081
1087
|
style: ae(`display:flex;align-items:center;gap:4px;font-size:${e.value.style.chart.legend.fontSize}px`)
|
|
1082
1088
|
}, [
|
|
1083
1089
|
(n(), v("svg", {
|
|
1084
|
-
xmlns: i(
|
|
1090
|
+
xmlns: i(it),
|
|
1085
1091
|
viewBox: "0 0 20 20",
|
|
1086
1092
|
height: e.value.style.chart.legend.fontSize,
|
|
1087
1093
|
width: e.value.style.chart.legend.fontSize
|
|
@@ -1091,52 +1097,52 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
1091
1097
|
cy: 10,
|
|
1092
1098
|
r: 9,
|
|
1093
1099
|
fill: t.color
|
|
1094
|
-
}, null, 8,
|
|
1095
|
-
], 8,
|
|
1096
|
-
i(
|
|
1097
|
-
|
|
1100
|
+
}, null, 8, ca)
|
|
1101
|
+
], 8, ia)),
|
|
1102
|
+
i(ce) ? b("", !0) : (n(), v(C, { key: 0 }, [
|
|
1103
|
+
ke(_(t.name), 1)
|
|
1098
1104
|
], 64))
|
|
1099
1105
|
], 4)
|
|
1100
1106
|
]),
|
|
1101
1107
|
_: 1
|
|
1102
1108
|
}, 8, ["legendSet", "config"])) : x(l.$slots, "legend", {
|
|
1103
1109
|
key: 1,
|
|
1104
|
-
legend:
|
|
1110
|
+
legend: qe.value
|
|
1105
1111
|
}, void 0, !0)
|
|
1106
1112
|
], 512)
|
|
1107
1113
|
], 8, ["to"])) : b("", !0),
|
|
1108
1114
|
l.$slots.source ? (n(), v("div", {
|
|
1109
1115
|
key: 6,
|
|
1110
1116
|
ref_key: "source",
|
|
1111
|
-
ref:
|
|
1117
|
+
ref: Ae,
|
|
1112
1118
|
dir: "auto"
|
|
1113
1119
|
}, [
|
|
1114
1120
|
x(l.$slots, "source", {}, void 0, !0)
|
|
1115
1121
|
], 512)) : b("", !0),
|
|
1116
|
-
K.value ? (n(),
|
|
1122
|
+
K.value ? (n(), D(Ft(q.value.component), Ht({ key: 7 }, q.value.props, {
|
|
1117
1123
|
ref_key: "tableUnit",
|
|
1118
1124
|
ref: U,
|
|
1119
|
-
onClose:
|
|
1120
|
-
}),
|
|
1125
|
+
onClose: Ke
|
|
1126
|
+
}), st({
|
|
1121
1127
|
content: p(() => [
|
|
1122
|
-
(n(),
|
|
1123
|
-
key: `table_${
|
|
1128
|
+
(n(), D(i(bt), {
|
|
1129
|
+
key: `table_${Me.value}`,
|
|
1124
1130
|
colNames: ee.value.colNames,
|
|
1125
1131
|
head: ee.value.head,
|
|
1126
1132
|
body: ee.value.body,
|
|
1127
1133
|
config: ee.value.config,
|
|
1128
1134
|
title: e.value.table.useDialog ? "" : q.value.title,
|
|
1129
1135
|
withCloseButton: !e.value.table.useDialog,
|
|
1130
|
-
onClose:
|
|
1136
|
+
onClose: Ke
|
|
1131
1137
|
}, {
|
|
1132
1138
|
th: p(({ th: t }) => [
|
|
1133
1139
|
c("div", {
|
|
1134
1140
|
innerHTML: t,
|
|
1135
1141
|
style: { display: "flex", "align-items": "center" }
|
|
1136
|
-
}, null, 8,
|
|
1142
|
+
}, null, 8, va)
|
|
1137
1143
|
]),
|
|
1138
1144
|
td: p(({ td: t }) => [
|
|
1139
|
-
|
|
1145
|
+
ke(_(t.name || t), 1)
|
|
1140
1146
|
]),
|
|
1141
1147
|
_: 1
|
|
1142
1148
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -1146,7 +1152,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
1146
1152
|
e.value.table.useDialog ? {
|
|
1147
1153
|
name: "title",
|
|
1148
1154
|
fn: p(() => [
|
|
1149
|
-
|
|
1155
|
+
ke(_(q.value.title), 1)
|
|
1150
1156
|
]),
|
|
1151
1157
|
key: "0"
|
|
1152
1158
|
} : void 0,
|
|
@@ -1156,9 +1162,9 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
1156
1162
|
c("button", {
|
|
1157
1163
|
tabindex: "0",
|
|
1158
1164
|
class: "vue-ui-user-options-button",
|
|
1159
|
-
onClick: s[0] || (s[0] = (t) =>
|
|
1165
|
+
onClick: s[0] || (s[0] = (t) => be(e.value.userOptions.callbacks.csv))
|
|
1160
1166
|
}, [
|
|
1161
|
-
|
|
1167
|
+
ot(i(ft), {
|
|
1162
1168
|
name: "excel",
|
|
1163
1169
|
stroke: q.value.props.color
|
|
1164
1170
|
}, null, 8, ["stroke"])
|
|
@@ -1167,10 +1173,10 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
|
|
|
1167
1173
|
key: "1"
|
|
1168
1174
|
} : void 0
|
|
1169
1175
|
]), 1040)) : b("", !0),
|
|
1170
|
-
i(
|
|
1171
|
-
], 46,
|
|
1176
|
+
i(ce) ? (n(), D(Jt, { key: 8 })) : b("", !0)
|
|
1177
|
+
], 46, ol));
|
|
1172
1178
|
}
|
|
1173
|
-
},
|
|
1179
|
+
}, Aa = /* @__PURE__ */ sl(da, [["__scopeId", "data-v-78988231"]]);
|
|
1174
1180
|
export {
|
|
1175
|
-
|
|
1181
|
+
Aa as default
|
|
1176
1182
|
};
|