vue-data-ui 3.4.7 → 3.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PackageVersion-QNVkHOgG.js → PackageVersion-D-auaEEJ.js} +1 -1
- package/dist/{UserOptions-CnzumGJj.js → UserOptions-CGnQt6Fd.js} +91 -91
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{vue-data-ui-BFwmY6si.js → vue-data-ui-CzqHcPqG.js} +55 -55
- package/dist/vue-data-ui.js +55 -55
- package/dist/{vue-ui-3d-bar-D1GoJWeg.js → vue-ui-3d-bar-CwXiD8zD.js} +49 -42
- package/dist/{vue-ui-age-pyramid-BDGFSsA5.js → vue-ui-age-pyramid-DlEPlWmV.js} +12 -5
- package/dist/{vue-ui-bullet-C3GtE3bF.js → vue-ui-bullet-DtzpeIu4.js} +59 -52
- package/dist/{vue-ui-candlestick-BlzmB2vM.js → vue-ui-candlestick-DzoiyaeB.js} +56 -49
- package/dist/{vue-ui-carousel-table-TKa7KYZ0.js → vue-ui-carousel-table-BqRERrjs.js} +79 -72
- package/dist/{vue-ui-chestnut-DNxARRsx.js → vue-ui-chestnut-CzBGckif.js} +77 -70
- package/dist/{vue-ui-chord-BM7tZig3.js → vue-ui-chord-B4waG93A.js} +71 -64
- package/dist/{vue-ui-circle-pack-BZU75WUb.js → vue-ui-circle-pack-DiTw_p5r.js} +58 -51
- package/dist/{vue-ui-dashboard-pNXFzQu4.js → vue-ui-dashboard-Bt-MUKqy.js} +56 -56
- package/dist/{vue-ui-donut-CRvfqCUO.js → vue-ui-donut-Bc492JeS.js} +95 -88
- package/dist/{vue-ui-donut-evolution-CCdIWlyZ.js → vue-ui-donut-evolution-D6TaZK2x.js} +80 -73
- package/dist/{vue-ui-dumbbell-CLmwZyrf.js → vue-ui-dumbbell-BlZr68Sq.js} +12 -5
- package/dist/{vue-ui-flow-BY8XQXKF.js → vue-ui-flow-ByEP18dA.js} +205 -198
- package/dist/{vue-ui-funnel-BmxhWoVW.js → vue-ui-funnel-BU7d_U6T.js} +98 -91
- package/dist/{vue-ui-galaxy-BgtKffX5.js → vue-ui-galaxy-CpVrxaTr.js} +140 -133
- package/dist/{vue-ui-gauge-DLpK4-Cd.js → vue-ui-gauge-B9Z4EXoj.js} +108 -101
- package/dist/{vue-ui-gizmo-CCNboEnL.js → vue-ui-gizmo-T1paJEJ3.js} +1 -1
- package/dist/{vue-ui-heatmap-BSDmuvq8.js → vue-ui-heatmap-Uw83eEMz.js} +97 -90
- package/dist/{vue-ui-history-plot-s8wYm7fn.js → vue-ui-history-plot-C93VwVCY.js} +41 -34
- package/dist/{vue-ui-molecule-BYWE2ONy.js → vue-ui-molecule-CFMWwXFN.js} +94 -87
- package/dist/{vue-ui-mood-radar-BOvaA1Jq.js → vue-ui-mood-radar-FkVaaOVG.js} +71 -64
- package/dist/{vue-ui-nested-donuts-BUGkuN56.js → vue-ui-nested-donuts-Cyi98NXq.js} +93 -86
- package/dist/{vue-ui-onion-CPshjlgf.js → vue-ui-onion-BCENNhsY.js} +82 -75
- package/dist/{vue-ui-parallel-coordinate-plot-orQotxDr.js → vue-ui-parallel-coordinate-plot-Dca9wkD0.js} +116 -109
- package/dist/{vue-ui-quadrant-CM3iH31f.js → vue-ui-quadrant-CEtFEZT3.js} +46 -39
- package/dist/{vue-ui-quick-chart-BhO2YQn0.js → vue-ui-quick-chart-bqcp6BIl.js} +171 -164
- package/dist/{vue-ui-radar-CNZVFG-v.js → vue-ui-radar-lgRCmyNP.js} +36 -29
- package/dist/{vue-ui-relation-circle-BX48Cgx3.js → vue-ui-relation-circle-cRRrbaIT.js} +100 -93
- package/dist/{vue-ui-ridgeline-MQAF9nvq.js → vue-ui-ridgeline-CaeFJq9a.js} +23 -16
- package/dist/{vue-ui-rings-BPhLSCUX.js → vue-ui-rings-DbsYfGjx.js} +55 -48
- package/dist/{vue-ui-scatter-C3dD6T6q.js → vue-ui-scatter-DcMnoNrY.js} +189 -182
- package/dist/{vue-ui-skeleton-Be8xm0gy.js → vue-ui-skeleton-b5fdgyHv.js} +1 -1
- package/dist/{vue-ui-spark-trend-suNsujGP.js → vue-ui-spark-trend-DrQ26BzL.js} +1 -1
- package/dist/{vue-ui-sparkbar-BjD2kUth.js → vue-ui-sparkbar-BlvXLcfO.js} +1 -1
- package/dist/{vue-ui-sparkgauge-C816ocz6.js → vue-ui-sparkgauge-CQmNePxu.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-CAgfueUq.js → vue-ui-sparkhistogram-CJatqy8x.js} +1 -1
- package/dist/{vue-ui-sparkline-BmVwG9vw.js → vue-ui-sparkline-5m7hFiMq.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-DoFTW_u_.js → vue-ui-sparkstackbar-Z5g6L2Hj.js} +1 -1
- package/dist/{vue-ui-stackbar-C1qHHSuI.js → vue-ui-stackbar-WrexTg8_.js} +53 -46
- package/dist/{vue-ui-strip-plot-Ccz9BiSl.js → vue-ui-strip-plot-DqX7yya9.js} +13 -6
- package/dist/{vue-ui-table-IKsrsEUh.js → vue-ui-table-BhrP9BCp.js} +2 -2
- package/dist/{vue-ui-table-heatmap-B4rjR34n.js → vue-ui-table-heatmap-BqCEBoUf.js} +1 -1
- package/dist/{vue-ui-table-sparkline-B71QVMkq.js → vue-ui-table-sparkline-BECa8n5_.js} +1 -1
- package/dist/{vue-ui-thermometer-fY5WxAbX.js → vue-ui-thermometer-BxBGrsSR.js} +83 -76
- package/dist/{vue-ui-timer-BBdNJ0fK.js → vue-ui-timer-BbHY5Ed5.js} +1 -1
- package/dist/{vue-ui-tiremarks-Co0t61HH.js → vue-ui-tiremarks-DzL3Sc1f.js} +43 -36
- package/dist/{vue-ui-treemap-ujTn_36A.js → vue-ui-treemap-DoHoS5NK.js} +114 -107
- package/dist/{vue-ui-vertical-bar-BNp-Vl0q.js → vue-ui-vertical-bar-D0N5btU-.js} +89 -82
- package/dist/{vue-ui-waffle-CRPYb9mZ.js → vue-ui-waffle-CTt7dxCY.js} +41 -34
- package/dist/{vue-ui-wheel-BvycoQ3Z.js → vue-ui-wheel--TIPvQ9I.js} +132 -125
- package/dist/{vue-ui-word-cloud-Cjs46-dC.js → vue-ui-word-cloud-D5pZq4Jq.js} +116 -109
- package/dist/{vue-ui-world-BTLAdJeD.js → vue-ui-world-BERHgePa.js} +71 -64
- package/dist/{vue-ui-xy-CBRHUbAn.js → vue-ui-xy-BI5stV8f.js} +163 -156
- package/dist/{vue-ui-xy-canvas-BGl_2pHw.js → vue-ui-xy-canvas-DXnLFwW3.js} +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineAsyncComponent as K, computed as h, ref as f, toRefs as at, watch as Q, shallowRef as ze, onMounted as lt, onBeforeUnmount as st, createElementBlock as
|
|
2
|
-
import { c as nt, t as it, b as ct, p as Fe, e as vt, o as Ae, h as ht, f as D, g as Oe, T as te, _ as F, a6 as dt, x as ft, X as yt, s as ae, M as gt, Y as mt, a as le, d as se, R as
|
|
1
|
+
import { defineAsyncComponent as K, computed as h, ref as f, toRefs as at, watch as Q, shallowRef as ze, onMounted as lt, onBeforeUnmount as st, createElementBlock as r, openBlock as o, unref as n, normalizeStyle as ee, normalizeClass as Ce, createBlock as U, createCommentVNode as c, createElementVNode as p, withCtx as N, toDisplayString as R, createSlots as ot, renderSlot as S, normalizeProps as j, guardReactiveProps as W, createVNode as rt, Fragment as k, renderList as $, mergeProps as T, nextTick as ut } from "vue";
|
|
2
|
+
import { c as nt, t as it, b as ct, p as Fe, e as vt, o as Ae, h as ht, f as D, g as Oe, T as te, _ as F, a6 as dt, x as ft, X as yt, s as ae, M as gt, Y as mt, a as le, d as se, R as oe } from "./lib-C_mNZmhD.js";
|
|
3
3
|
import { t as pt, u as kt } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as bt, B as _t } from "./BaseScanner-BgWxam9d.js";
|
|
5
5
|
import { u as St } from "./usePrinter-DTzqpYKF.js";
|
|
@@ -12,7 +12,7 @@ import Ft from "./img-BecE5qXd.js";
|
|
|
12
12
|
import { t as At } from "./themes-AUNCOb2G.js";
|
|
13
13
|
import Ot from "./Title-l36lOBMx.js";
|
|
14
14
|
import { _ as Mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "height"], Rt = ["id"], Yt = ["stop-color"], Tt = ["stop-color"], Et = ["stop-color"], Lt = ["id"], Gt = ["stdDeviation"], Bt = { key: 1 }, Ut = ["d", "fill", "stroke"], jt = ["d", "fill", "stroke"], Wt = ["d", "fill"], Dt = ["id", "d"], Vt = ["fill", "font-size", "font-weight"], Ht = ["href", "startOffset"], qt = ["text-anchor", "fill", "font-size", "font-weight", "innerHTML"], Zt = ["d", "filter"], Jt = ["stroke", "stroke-width"], Kt = ["stroke", "stroke-width"], Qt = ["stroke", "stroke-width"], ea = ["stroke", "stroke-width"], ta = { key: 8 }, aa = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], la = ["x", "y", "font-size", "font-weight", "fill"], sa = { key: 0 },
|
|
15
|
+
const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "height"], Rt = ["id"], Yt = ["stop-color"], Tt = ["stop-color"], Et = ["stop-color"], Lt = ["id"], Gt = ["stdDeviation"], Bt = { key: 1 }, Ut = ["d", "fill", "stroke"], jt = ["d", "fill", "stroke"], Wt = ["d", "fill"], Dt = ["id", "d"], Vt = ["fill", "font-size", "font-weight"], Ht = ["href", "startOffset"], qt = ["text-anchor", "fill", "font-size", "font-weight", "innerHTML"], Zt = ["d", "filter"], Jt = ["stroke", "stroke-width"], Kt = ["stroke", "stroke-width"], Qt = ["stroke", "stroke-width"], ea = ["stroke", "stroke-width"], ta = { key: 8 }, aa = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], la = ["x", "y", "font-size", "font-weight", "fill"], sa = { key: 0 }, oa = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ra = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ua = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], na = { key: 1 }, ia = ["d", "fill", "stroke", "stroke-width"], ca = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], va = ["x", "y", "font-size", "fill"], ha = {
|
|
16
16
|
key: 4,
|
|
17
17
|
class: "vue-data-ui-watermark"
|
|
18
18
|
}, da = {
|
|
@@ -32,7 +32,7 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
setup(Ne, { expose: Pe }) {
|
|
35
|
-
const Ie = K(() => import("./PenAndPaper-DSvu9dwa.js")), Xe = K(() => import("./UserOptions-
|
|
35
|
+
const Ie = K(() => import("./PenAndPaper-DSvu9dwa.js")), Xe = K(() => import("./UserOptions-CGnQt6Fd.js")), Re = K(() => import("./PackageVersion-D-auaEEJ.js")), { vue_ui_gauge: Ye } = wt(), m = Ne, Te = h(() => !!m.dataset && Object.keys(m.dataset).length > 0 && m.dataset.series && m.dataset.series.length), w = f(nt()), Ee = f(null), re = f(0), A = f(null), ue = f(null), ne = f(null), ie = f(null), ce = f(null), ve = f(0), e = f(H()), { loading: he, FINAL_DATASET: x, manualLoading: P } = bt({
|
|
36
36
|
...at(m),
|
|
37
37
|
FINAL_CONFIG: e,
|
|
38
38
|
prepareConfig: H,
|
|
@@ -81,7 +81,7 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
81
81
|
Q(() => m.config, (t) => {
|
|
82
82
|
he.value || (e.value = H()), V.value = !e.value.userOptions.showOnChartHover, Z(), ve.value += 1;
|
|
83
83
|
}, { deep: !0 }), Q(() => m.dataset, (t) => {
|
|
84
|
-
Z(), t && Object.keys(t).length > 0 && (
|
|
84
|
+
Z(), t && Object.keys(t).length > 0 && (P.value = e.value?.loading ?? !1);
|
|
85
85
|
}, { deep: !0, immediate: !1 });
|
|
86
86
|
function H() {
|
|
87
87
|
const t = Me({
|
|
@@ -97,11 +97,11 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
97
97
|
} : t;
|
|
98
98
|
}
|
|
99
99
|
const { isPrinting: ye, isImaging: ge, generatePdf: me, generateImage: pe } = St({
|
|
100
|
-
elementId: `vue-ui-gauge_${
|
|
100
|
+
elementId: `vue-ui-gauge_${w.value}`,
|
|
101
101
|
fileName: e.value.style.chart.title.text || "vue-ui-gauge",
|
|
102
102
|
options: e.value.userOptions.print
|
|
103
103
|
}), Le = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ge = h(() => vt(e.value.customPalette)), O = h(() => {
|
|
104
|
-
if (Ae(
|
|
104
|
+
if (Ae(x.value.series || {}))
|
|
105
105
|
return {
|
|
106
106
|
value: 0,
|
|
107
107
|
series: [
|
|
@@ -112,13 +112,13 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
112
112
|
]
|
|
113
113
|
};
|
|
114
114
|
const t = [];
|
|
115
|
-
(
|
|
115
|
+
(x.value.series || []).forEach((a) => {
|
|
116
116
|
t.push(a.from || 1e-7), t.push(a.to || 1e-7);
|
|
117
117
|
});
|
|
118
118
|
const u = Math.max(...t);
|
|
119
119
|
return {
|
|
120
|
-
...
|
|
121
|
-
series: (
|
|
120
|
+
...x.value,
|
|
121
|
+
series: (x.value.series || []).map((a, l) => ({
|
|
122
122
|
...a,
|
|
123
123
|
color: ht(a.color) || Ge.value[l] || Fe[l],
|
|
124
124
|
value: ((a.to || 0) - (a.from || 0)) / u * 100
|
|
@@ -139,14 +139,14 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
139
139
|
pointerStrokeWidth: e.value.style.chart.layout.pointer.strokeWidth,
|
|
140
140
|
markerOffset: e.value.style.chart.layout.markers.offsetY + 3,
|
|
141
141
|
segmentFontSize: e.value.style.chart.layout.segmentNames.fontSize
|
|
142
|
-
}),
|
|
143
|
-
e.value.style.chart.animation.use ? Math.min(...
|
|
142
|
+
}), I = f(0), z = f(0), y = f(
|
|
143
|
+
e.value.style.chart.animation.use ? Math.min(...x.value.series.map((t) => t.from)) : x.value.value
|
|
144
144
|
);
|
|
145
|
-
Q(() =>
|
|
146
|
-
_e(
|
|
145
|
+
Q(() => x.value.value, () => {
|
|
146
|
+
_e(x.value.value);
|
|
147
147
|
});
|
|
148
148
|
const i = h(() => {
|
|
149
|
-
const t = s.value.width / 2, u = v.value.base, a = Math.PI * ((y.value + 0 - z.value) / (
|
|
149
|
+
const t = s.value.width / 2, u = v.value.base, a = Math.PI * ((y.value + 0 - z.value) / (I.value - z.value)) + Math.PI;
|
|
150
150
|
return {
|
|
151
151
|
x1: t,
|
|
152
152
|
y1: u,
|
|
@@ -154,7 +154,7 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
154
154
|
y2: u + v.value.pointerSize * s.value.pointerSize * 0.9 * Math.sin(a)
|
|
155
155
|
};
|
|
156
156
|
}), ke = h(() => {
|
|
157
|
-
const t = s.value.width / 2, u = v.value.base, a = Math.PI * ((y.value + 0 - z.value) / (
|
|
157
|
+
const t = s.value.width / 2, u = v.value.base, a = Math.PI * ((y.value + 0 - z.value) / (I.value - z.value)) + Math.PI, l = t + v.value.pointerSize * s.value.pointerSize * 0.9 * Math.cos(a), g = u + v.value.pointerSize * s.value.pointerSize * 0.9 * Math.sin(a), _ = s.value.pointerRadius, Ke = t + _ * Math.cos(a + Math.PI / 2), Qe = u + _ * Math.sin(a + Math.PI / 2), et = t + _ * Math.cos(a - Math.PI / 2), tt = u + _ * Math.sin(a - Math.PI / 2);
|
|
158
158
|
return isNaN(l) ? null : `M ${l},${g} ${Ke},${Qe} ${et},${tt} Z`;
|
|
159
159
|
}), q = h(() => {
|
|
160
160
|
for (let t = 0; t < O.value.series.length; t += 1) {
|
|
@@ -163,7 +163,7 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
163
163
|
return u;
|
|
164
164
|
}
|
|
165
165
|
return "#2D353C";
|
|
166
|
-
}), C = ze(null),
|
|
166
|
+
}), C = ze(null), X = ze(null), L = h({
|
|
167
167
|
get: () => s.value.segmentFontSize,
|
|
168
168
|
set: (t) => t
|
|
169
169
|
}), { autoSizeLabels: be } = Ct({
|
|
@@ -179,7 +179,7 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
179
179
|
componentName: "VueUiGauge",
|
|
180
180
|
type: "dataset",
|
|
181
181
|
debug: G.value
|
|
182
|
-
}),
|
|
182
|
+
}), P.value = !0, t = !0) : (Oe({
|
|
183
183
|
datasetObject: m.dataset,
|
|
184
184
|
requiredAttributes: ["value", "series"]
|
|
185
185
|
}).forEach((u) => {
|
|
@@ -188,7 +188,7 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
188
188
|
type: "datasetAttribute",
|
|
189
189
|
property: u,
|
|
190
190
|
debug: G.value
|
|
191
|
-
}),
|
|
191
|
+
}), P.value = !0, t = !0;
|
|
192
192
|
}), Object.hasOwn(m.dataset, "series") && (m.dataset.series.length ? m.dataset.series.forEach((u, a) => {
|
|
193
193
|
Oe({
|
|
194
194
|
datasetObject: u,
|
|
@@ -200,14 +200,14 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
200
200
|
property: l,
|
|
201
201
|
index: a,
|
|
202
202
|
debug: G.value
|
|
203
|
-
}),
|
|
203
|
+
}), P.value = !0, t = !0;
|
|
204
204
|
});
|
|
205
205
|
}) : (D({
|
|
206
206
|
componentName: "VueUiGauge",
|
|
207
207
|
type: "datasetAttributeEmpty",
|
|
208
208
|
property: "series",
|
|
209
209
|
debug: G.value
|
|
210
|
-
}),
|
|
210
|
+
}), P.value = !0, t = !0))), P.value = t, _e(x.value.value || 0), e.value.responsive) {
|
|
211
211
|
const u = pt(() => {
|
|
212
212
|
let { width: a, height: l } = kt({
|
|
213
213
|
chart: A.value,
|
|
@@ -217,19 +217,19 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
217
217
|
noTitle: ce.value
|
|
218
218
|
});
|
|
219
219
|
l -= 12, requestAnimationFrame(() => {
|
|
220
|
-
s.value.width = a, s.value.height = l, s.value.centerX = a / 2, s.value.centerY = b.value / 2 / 358.4 * l, s.value.bottom = l, s.value.labelFontSize = 18 / b.value * Math.min(l, a) < 10 ? 10 : 18 / b.value * Math.min(l, a), s.value.legendFontSize = e.value.style.chart.legend.fontSize / b.value * Math.min(l, a) < 14 ? 14 : e.value.style.chart.legend.fontSize / b.value * Math.min(l, a), s.value.pointerRadius = e.value.style.chart.layout.pointer.circle.radius / b.value * Math.min(l, a), s.value.trackSize = e.value.style.chart.layout.track.size / b.value * Math.min(l, a), s.value.pointerStrokeWidth =
|
|
220
|
+
s.value.width = a, s.value.height = l, s.value.centerX = a / 2, s.value.centerY = b.value / 2 / 358.4 * l, s.value.bottom = l, s.value.labelFontSize = 18 / b.value * Math.min(l, a) < 10 ? 10 : 18 / b.value * Math.min(l, a), s.value.legendFontSize = e.value.style.chart.legend.fontSize / b.value * Math.min(l, a) < 14 ? 14 : e.value.style.chart.legend.fontSize / b.value * Math.min(l, a), s.value.pointerRadius = e.value.style.chart.layout.pointer.circle.radius / b.value * Math.min(l, a), s.value.trackSize = e.value.style.chart.layout.track.size / b.value * Math.min(l, a), s.value.pointerStrokeWidth = oe({
|
|
221
221
|
relator: Math.min(a, l),
|
|
222
222
|
adjuster: b.value,
|
|
223
223
|
source: e.value.style.chart.layout.pointer.strokeWidth,
|
|
224
224
|
threshold: 2,
|
|
225
225
|
fallback: 2
|
|
226
|
-
}), s.value.markerOffset =
|
|
226
|
+
}), s.value.markerOffset = oe({
|
|
227
227
|
relator: Math.max(a, l),
|
|
228
228
|
adjuster: b.value,
|
|
229
229
|
source: e.value.style.chart.layout.markers.offsetY + 3,
|
|
230
230
|
threshold: 2,
|
|
231
231
|
fallback: 2
|
|
232
|
-
}), s.value.segmentFontSize =
|
|
232
|
+
}), s.value.segmentFontSize = oe({
|
|
233
233
|
relator: Math.min(a, l),
|
|
234
234
|
adjuster: b.value,
|
|
235
235
|
source: e.value.style.chart.layout.segmentNames.fontSize,
|
|
@@ -238,20 +238,20 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
238
238
|
});
|
|
239
239
|
}), be();
|
|
240
240
|
});
|
|
241
|
-
C.value && (
|
|
241
|
+
C.value && (X.value && C.value.unobserve(X.value), C.value.disconnect()), C.value = new ResizeObserver(u), X.value = A.value.parentNode, C.value.observe(X.value);
|
|
242
242
|
}
|
|
243
243
|
be();
|
|
244
244
|
}
|
|
245
245
|
lt(() => {
|
|
246
246
|
Z();
|
|
247
247
|
}), st(() => {
|
|
248
|
-
C.value && (
|
|
248
|
+
C.value && (X.value && C.value.unobserve(X.value), C.value.disconnect());
|
|
249
249
|
});
|
|
250
250
|
function _e(t) {
|
|
251
251
|
const u = [];
|
|
252
252
|
(O.value.series || []).forEach((_) => {
|
|
253
253
|
u.push(_.from || 0), u.push(_.to || 0);
|
|
254
|
-
}),
|
|
254
|
+
}), I.value = Math.max(...u), z.value = Math.min(...u);
|
|
255
255
|
let a = e.value.style.chart.animation.speed;
|
|
256
256
|
const l = Math.abs(t - y.value) / (a * 60);
|
|
257
257
|
function g() {
|
|
@@ -348,11 +348,11 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
348
348
|
radius: e.value.style.chart.layout.indicatorArc.radius * s.value.trackSize,
|
|
349
349
|
centerX: s.value.width / 2,
|
|
350
350
|
centerY: v.value.base,
|
|
351
|
-
percentage: ft((y.value + t) / (
|
|
351
|
+
percentage: ft((y.value + t) / (I.value + t))
|
|
352
352
|
});
|
|
353
353
|
}), Y = f(!1);
|
|
354
354
|
function xe(t) {
|
|
355
|
-
Y.value = t,
|
|
355
|
+
Y.value = t, re.value += 1;
|
|
356
356
|
}
|
|
357
357
|
const B = f(!1);
|
|
358
358
|
function J() {
|
|
@@ -389,16 +389,16 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
389
389
|
generateSvg: $e,
|
|
390
390
|
toggleAnnotator: J,
|
|
391
391
|
toggleFullscreen: xe
|
|
392
|
-
}), (t, u) => (
|
|
392
|
+
}), (t, u) => (o(), r("div", {
|
|
393
393
|
class: Ce(`vue-data-ui-component vue-ui-gauge ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
394
394
|
ref_key: "gaugeChart",
|
|
395
395
|
ref: A,
|
|
396
|
-
id: `vue-ui-gauge_${
|
|
396
|
+
id: `vue-ui-gauge_${w.value}`,
|
|
397
397
|
style: ee(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
398
398
|
onMouseenter: u[0] || (u[0] = () => n(de)(!0)),
|
|
399
399
|
onMouseleave: u[1] || (u[1] = () => n(de)(!1))
|
|
400
400
|
}, [
|
|
401
|
-
e.value.userOptions.buttons.annotator ? (
|
|
401
|
+
e.value.userOptions.buttons.annotator ? (o(), U(n(Ie), {
|
|
402
402
|
key: 0,
|
|
403
403
|
svgRef: n(E),
|
|
404
404
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -406,20 +406,20 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
406
406
|
active: B.value,
|
|
407
407
|
onClose: J
|
|
408
408
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
|
|
409
|
-
Le.value ? (
|
|
409
|
+
Le.value ? (o(), r("div", {
|
|
410
410
|
key: 1,
|
|
411
411
|
ref_key: "noTitle",
|
|
412
412
|
ref: ce,
|
|
413
413
|
class: "vue-data-ui-no-title-space",
|
|
414
414
|
style: "height:36px; width: 100%;background:transparent"
|
|
415
415
|
}, null, 512)) : c("", !0),
|
|
416
|
-
e.value.style.chart.title.text ? (
|
|
416
|
+
e.value.style.chart.title.text ? (o(), r("div", {
|
|
417
417
|
key: 2,
|
|
418
418
|
ref_key: "chartTitle",
|
|
419
419
|
ref: ue,
|
|
420
420
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
421
421
|
}, [
|
|
422
|
-
(
|
|
422
|
+
(o(), U(Ot, {
|
|
423
423
|
key: `title_${ve.value}`,
|
|
424
424
|
config: {
|
|
425
425
|
title: {
|
|
@@ -432,21 +432,21 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
434
|
}, {
|
|
435
|
-
default:
|
|
436
|
-
e.value.translations.base && n(
|
|
435
|
+
default: N(() => [
|
|
436
|
+
e.value.translations.base && n(x).base ? (o(), r("span", Pt, R(e.value.translations.base) + ": " + R(n(x).base), 1)) : c("", !0)
|
|
437
437
|
]),
|
|
438
438
|
_: 1
|
|
439
439
|
}, 8, ["config"]))
|
|
440
440
|
], 512)) : c("", !0),
|
|
441
|
-
e.value.userOptions.show && Te.value && (n(fe) || n(V)) ? (
|
|
441
|
+
e.value.userOptions.show && Te.value && (n(fe) || n(V)) ? (o(), U(n(Xe), {
|
|
442
442
|
ref_key: "details",
|
|
443
443
|
ref: Ee,
|
|
444
|
-
key: `user_options_${
|
|
444
|
+
key: `user_options_${re.value}`,
|
|
445
445
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
446
446
|
color: e.value.style.chart.color,
|
|
447
447
|
isImaging: n(ge),
|
|
448
448
|
isPrinting: n(ye),
|
|
449
|
-
uid:
|
|
449
|
+
uid: w.value,
|
|
450
450
|
hasXls: !1,
|
|
451
451
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
452
452
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -468,44 +468,51 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
468
468
|
style: ee({
|
|
469
469
|
visibility: n(fe) ? n(V) ? "visible" : "hidden" : "visible"
|
|
470
470
|
})
|
|
471
|
-
},
|
|
471
|
+
}, ot({ _: 2 }, [
|
|
472
472
|
t.$slots.menuIcon ? {
|
|
473
473
|
name: "menuIcon",
|
|
474
|
-
fn:
|
|
475
|
-
|
|
474
|
+
fn: N(({ isOpen: a, color: l }) => [
|
|
475
|
+
S(t.$slots, "menuIcon", j(W({ isOpen: a, color: l })), void 0, !0)
|
|
476
476
|
]),
|
|
477
477
|
key: "0"
|
|
478
478
|
} : void 0,
|
|
479
479
|
t.$slots.optionPdf ? {
|
|
480
480
|
name: "optionPdf",
|
|
481
|
-
fn:
|
|
482
|
-
|
|
481
|
+
fn: N(() => [
|
|
482
|
+
S(t.$slots, "optionPdf", {}, void 0, !0)
|
|
483
483
|
]),
|
|
484
484
|
key: "1"
|
|
485
485
|
} : void 0,
|
|
486
486
|
t.$slots.optionImg ? {
|
|
487
487
|
name: "optionImg",
|
|
488
|
-
fn:
|
|
489
|
-
|
|
488
|
+
fn: N(() => [
|
|
489
|
+
S(t.$slots, "optionImg", {}, void 0, !0)
|
|
490
490
|
]),
|
|
491
491
|
key: "2"
|
|
492
492
|
} : void 0,
|
|
493
|
+
t.$slots.optionSvg ? {
|
|
494
|
+
name: "optionSvg",
|
|
495
|
+
fn: N(() => [
|
|
496
|
+
S(t.$slots, "optionSvg", {}, void 0, !0)
|
|
497
|
+
]),
|
|
498
|
+
key: "3"
|
|
499
|
+
} : void 0,
|
|
493
500
|
t.$slots.optionFullscreen ? {
|
|
494
501
|
name: "optionFullscreen",
|
|
495
|
-
fn:
|
|
496
|
-
|
|
502
|
+
fn: N(({ toggleFullscreen: a, isFullscreen: l }) => [
|
|
503
|
+
S(t.$slots, "optionFullscreen", j(W({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
|
|
497
504
|
]),
|
|
498
|
-
key: "
|
|
505
|
+
key: "4"
|
|
499
506
|
} : void 0,
|
|
500
507
|
t.$slots.optionAnnotator ? {
|
|
501
508
|
name: "optionAnnotator",
|
|
502
|
-
fn:
|
|
503
|
-
|
|
509
|
+
fn: N(({ toggleAnnotator: a, isAnnotator: l }) => [
|
|
510
|
+
S(t.$slots, "optionAnnotator", j(W({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
|
|
504
511
|
]),
|
|
505
|
-
key: "
|
|
512
|
+
key: "5"
|
|
506
513
|
} : void 0
|
|
507
514
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "callbacks", "printScale", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
508
|
-
(
|
|
515
|
+
(o(), r("svg", {
|
|
509
516
|
ref_key: "svgRef",
|
|
510
517
|
ref: E,
|
|
511
518
|
xmlns: n(yt),
|
|
@@ -513,8 +520,8 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
513
520
|
viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
|
|
514
521
|
style: ee(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
|
|
515
522
|
}, [
|
|
516
|
-
|
|
517
|
-
t.$slots["chart-background"] ? (
|
|
523
|
+
rt(n(Re)),
|
|
524
|
+
t.$slots["chart-background"] ? (o(), r("foreignObject", {
|
|
518
525
|
key: 0,
|
|
519
526
|
x: 0,
|
|
520
527
|
y: 0,
|
|
@@ -524,11 +531,11 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
524
531
|
pointerEvents: "none"
|
|
525
532
|
}
|
|
526
533
|
}, [
|
|
527
|
-
|
|
534
|
+
S(t.$slots, "chart-background", {}, void 0, !0)
|
|
528
535
|
], 8, Xt)) : c("", !0),
|
|
529
536
|
p("defs", null, [
|
|
530
537
|
p("radialGradient", {
|
|
531
|
-
id: `gradient_${
|
|
538
|
+
id: `gradient_${w.value}`,
|
|
532
539
|
cx: "50%",
|
|
533
540
|
cy: "50%",
|
|
534
541
|
r: "50%",
|
|
@@ -551,7 +558,7 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
551
558
|
]),
|
|
552
559
|
p("defs", null, [
|
|
553
560
|
p("filter", {
|
|
554
|
-
id: `blur_${
|
|
561
|
+
id: `blur_${w.value}`,
|
|
555
562
|
x: "-50%",
|
|
556
563
|
y: "-50%",
|
|
557
564
|
width: "200%",
|
|
@@ -563,49 +570,49 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
563
570
|
}, null, 8, Gt)
|
|
564
571
|
], 8, Lt)
|
|
565
572
|
]),
|
|
566
|
-
t.$slots.pattern ? (
|
|
567
|
-
(
|
|
568
|
-
|
|
573
|
+
t.$slots.pattern ? (o(), r("g", Bt, [
|
|
574
|
+
(o(!0), r(k, null, $(d.value, (a, l) => (o(), r("defs", null, [
|
|
575
|
+
S(t.$slots, "pattern", T({ ref_for: !0 }, { seriesIndex: l, patternId: `pattern_${w.value}_${l}` }), void 0, !0)
|
|
569
576
|
]))), 256))
|
|
570
577
|
])) : c("", !0),
|
|
571
|
-
(
|
|
578
|
+
(o(!0), r(k, null, $(d.value, (a, l) => (o(), r("path", {
|
|
572
579
|
key: `arc_${l}`,
|
|
573
580
|
d: a.arcSlice,
|
|
574
581
|
fill: a.color,
|
|
575
582
|
stroke: e.value.style.chart.backgroundColor,
|
|
576
583
|
"stroke-linecap": "round"
|
|
577
584
|
}, null, 8, Ut))), 128)),
|
|
578
|
-
t.$slots.pattern ? (
|
|
585
|
+
t.$slots.pattern ? (o(!0), r(k, { key: 2 }, $(d.value, (a, l) => (o(), r("path", {
|
|
579
586
|
key: `arc_${l}`,
|
|
580
587
|
d: a.arcSlice,
|
|
581
|
-
fill: `url(#pattern_${
|
|
588
|
+
fill: `url(#pattern_${w.value}_${l})`,
|
|
582
589
|
stroke: e.value.style.chart.backgroundColor,
|
|
583
590
|
"stroke-linecap": "round"
|
|
584
591
|
}, null, 8, jt))), 128)) : c("", !0),
|
|
585
|
-
e.value.style.chart.layout.indicatorArc.show ? (
|
|
592
|
+
e.value.style.chart.layout.indicatorArc.show ? (o(), r("path", {
|
|
586
593
|
key: 3,
|
|
587
594
|
d: De.value,
|
|
588
595
|
fill: e.value.style.chart.layout.indicatorArc.fill
|
|
589
596
|
}, null, 8, Wt)) : c("", !0),
|
|
590
|
-
e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (
|
|
591
|
-
(
|
|
592
|
-
id: `curve_${
|
|
597
|
+
e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (o(), r(k, { key: 4 }, [
|
|
598
|
+
(o(!0), r(k, null, $(d.value, (a, l) => (o(), r("path", {
|
|
599
|
+
id: `curve_${w.value}_${l}`,
|
|
593
600
|
d: `M ${i.value.x1},${i.value.y1} m -${M.value[l]},0 a ${M.value[l]},${M.value[l]} 0 1,1 ${2 * M.value[l]},0 a ${M.value[l]},${M.value[l]} 0 1,1 -${2 * M.value[l]},0`,
|
|
594
601
|
fill: "transparent"
|
|
595
602
|
}, null, 8, Dt))), 256)),
|
|
596
|
-
(
|
|
603
|
+
(o(!0), r(k, null, $(d.value, (a, l) => (o(), r("text", {
|
|
597
604
|
fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
|
|
598
605
|
"font-size": L.value,
|
|
599
606
|
"font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
|
|
600
607
|
"text-anchor": "middle"
|
|
601
608
|
}, [
|
|
602
609
|
p("textPath", {
|
|
603
|
-
href: `#curve_${
|
|
610
|
+
href: `#curve_${w.value}_${l}`,
|
|
604
611
|
startOffset: je.value[l]
|
|
605
612
|
}, R(a.name || ""), 9, Ht)
|
|
606
613
|
], 8, Vt))), 256))
|
|
607
614
|
], 64)) : c("", !0),
|
|
608
|
-
e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (
|
|
615
|
+
e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (o(!0), r(k, { key: 5 }, $(Be.value, (a, l) => (o(), r("text", {
|
|
609
616
|
class: "vue-ui-gauge-label-flat",
|
|
610
617
|
"text-anchor": n(mt)(a, !1, 12).anchor,
|
|
611
618
|
fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
|
|
@@ -619,15 +626,15 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
619
626
|
y: a.center.endY
|
|
620
627
|
})
|
|
621
628
|
}, null, 8, qt))), 256)) : c("", !0),
|
|
622
|
-
e.value.style.chart.layout.track.useGradient ? (
|
|
629
|
+
e.value.style.chart.layout.track.useGradient ? (o(!0), r(k, { key: 6 }, $(We.value, (a, l) => (o(), r("path", {
|
|
623
630
|
key: `arc_${l}`,
|
|
624
631
|
d: a.arcSlice,
|
|
625
632
|
fill: "#FFFFFF",
|
|
626
633
|
stroke: "none",
|
|
627
634
|
"stroke-linecap": "round",
|
|
628
|
-
filter: `url(#blur_${
|
|
635
|
+
filter: `url(#blur_${w.value})`
|
|
629
636
|
}, null, 8, Zt))), 128)) : c("", !0),
|
|
630
|
-
e.value.style.chart.layout.segmentSeparators.show ? (
|
|
637
|
+
e.value.style.chart.layout.segmentSeparators.show ? (o(), r(k, { key: 7 }, [
|
|
631
638
|
p("line", T(Se.value, {
|
|
632
639
|
stroke: e.value.style.chart.backgroundColor,
|
|
633
640
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
|
|
@@ -638,19 +645,19 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
638
645
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
|
|
639
646
|
"stroke-linecap": "round"
|
|
640
647
|
}), null, 16, Kt),
|
|
641
|
-
(
|
|
648
|
+
(o(!0), r(k, null, $(we.value, (a) => (o(), r("line", T({ ref_for: !0 }, a, {
|
|
642
649
|
stroke: e.value.style.chart.backgroundColor,
|
|
643
650
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
|
|
644
651
|
"stroke-linecap": "round"
|
|
645
652
|
}), null, 16, Qt))), 256)),
|
|
646
|
-
(
|
|
653
|
+
(o(!0), r(k, null, $(we.value, (a) => (o(), r("line", T({ ref_for: !0 }, a, {
|
|
647
654
|
stroke: e.value.style.chart.layout.segmentSeparators.stroke,
|
|
648
655
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
|
|
649
656
|
"stroke-linecap": "round"
|
|
650
657
|
}), null, 16, ea))), 256))
|
|
651
658
|
], 64)) : c("", !0),
|
|
652
|
-
e.value.style.chart.layout.markers.show ? (
|
|
653
|
-
(
|
|
659
|
+
e.value.style.chart.layout.markers.show ? (o(), r("g", ta, [
|
|
660
|
+
(o(!0), r(k, null, $(d.value, (a, l) => (o(), r("text", {
|
|
654
661
|
x: n(F)({
|
|
655
662
|
centerX: i.value.x1,
|
|
656
663
|
centerY: v.value.base,
|
|
@@ -680,7 +687,7 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
680
687
|
})
|
|
681
688
|
)), 9, aa))), 256))
|
|
682
689
|
])) : c("", !0),
|
|
683
|
-
e.value.style.chart.layout.markers.show ? (
|
|
690
|
+
e.value.style.chart.layout.markers.show ? (o(), r("text", {
|
|
684
691
|
key: 9,
|
|
685
692
|
x: n(F)({
|
|
686
693
|
centerX: s.value.width / 2,
|
|
@@ -702,17 +709,17 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
702
709
|
fill: e.value.style.chart.layout.markers.color
|
|
703
710
|
}, R(n(le)(
|
|
704
711
|
e.value.style.chart.layout.markers.formatter,
|
|
705
|
-
|
|
712
|
+
I.value,
|
|
706
713
|
n(se)({
|
|
707
714
|
p: e.value.style.chart.layout.markers.prefix,
|
|
708
|
-
v:
|
|
715
|
+
v: I.value,
|
|
709
716
|
s: e.value.style.chart.layout.markers.suffix,
|
|
710
717
|
r: e.value.style.chart.layout.markers.roundingValue
|
|
711
718
|
})
|
|
712
719
|
)), 9, la)) : c("", !0),
|
|
713
|
-
e.value.style.chart.layout.pointer.show ? (
|
|
714
|
-
e.value.style.chart.layout.pointer.type === "rounded" ? (
|
|
715
|
-
isNaN(i.value.x2) ? c("", !0) : (
|
|
720
|
+
e.value.style.chart.layout.pointer.show ? (o(), r(k, { key: 10 }, [
|
|
721
|
+
e.value.style.chart.layout.pointer.type === "rounded" ? (o(), r("g", sa, [
|
|
722
|
+
isNaN(i.value.x2) ? c("", !0) : (o(), r("line", {
|
|
716
723
|
key: 0,
|
|
717
724
|
x1: i.value.x1,
|
|
718
725
|
y1: i.value.y1,
|
|
@@ -721,8 +728,8 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
721
728
|
stroke: e.value.style.chart.layout.pointer.stroke,
|
|
722
729
|
"stroke-width": s.value.pointerStrokeWidth,
|
|
723
730
|
"stroke-linecap": "round"
|
|
724
|
-
}, null, 8,
|
|
725
|
-
isNaN(i.value.x2) ? c("", !0) : (
|
|
731
|
+
}, null, 8, oa)),
|
|
732
|
+
isNaN(i.value.x2) ? c("", !0) : (o(), r("line", {
|
|
726
733
|
key: 1,
|
|
727
734
|
x1: i.value.x1,
|
|
728
735
|
y1: i.value.y1,
|
|
@@ -731,8 +738,8 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
731
738
|
stroke: e.value.style.chart.layout.pointer.useRatingColor ? q.value : e.value.style.chart.layout.pointer.color,
|
|
732
739
|
"stroke-linecap": "round",
|
|
733
740
|
"stroke-width": s.value.pointerStrokeWidth * 0.7
|
|
734
|
-
}, null, 8,
|
|
735
|
-
!isNaN(i.value.x2) && e.value.style.chart.layout.track.useGradient ? (
|
|
741
|
+
}, null, 8, ra)),
|
|
742
|
+
!isNaN(i.value.x2) && e.value.style.chart.layout.track.useGradient ? (o(), r("line", {
|
|
736
743
|
key: 2,
|
|
737
744
|
x1: i.value.x1,
|
|
738
745
|
y1: i.value.y1,
|
|
@@ -741,10 +748,10 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
741
748
|
stroke: "white",
|
|
742
749
|
"stroke-linecap": "round",
|
|
743
750
|
"stroke-width": s.value.pointerStrokeWidth * 0.3,
|
|
744
|
-
filter: `url(#blur_${
|
|
751
|
+
filter: `url(#blur_${w.value})`
|
|
745
752
|
}, null, 8, ua)) : c("", !0)
|
|
746
|
-
])) : (
|
|
747
|
-
ke.value ? (
|
|
753
|
+
])) : (o(), r("g", na, [
|
|
754
|
+
ke.value ? (o(), r("path", {
|
|
748
755
|
key: 0,
|
|
749
756
|
d: ke.value,
|
|
750
757
|
fill: e.value.style.chart.layout.pointer.useRatingColor ? q.value : e.value.style.chart.layout.pointer.color,
|
|
@@ -762,7 +769,7 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
762
769
|
stroke: e.value.style.chart.layout.pointer.circle.stroke
|
|
763
770
|
}, null, 8, ca)
|
|
764
771
|
], 64)) : c("", !0),
|
|
765
|
-
e.value.style.chart.legend.show ? (
|
|
772
|
+
e.value.style.chart.legend.show ? (o(), r("text", {
|
|
766
773
|
key: 11,
|
|
767
774
|
x: s.value.width / 2,
|
|
768
775
|
y: v.value.ratingBase,
|
|
@@ -780,29 +787,29 @@ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "h
|
|
|
780
787
|
r: e.value.style.chart.legend.roundingValue
|
|
781
788
|
})
|
|
782
789
|
)), 9, va)) : c("", !0),
|
|
783
|
-
|
|
790
|
+
S(t.$slots, "svg", { svg: s.value }, void 0, !0)
|
|
784
791
|
], 14, It)),
|
|
785
|
-
t.$slots.watermark ? (
|
|
786
|
-
|
|
792
|
+
t.$slots.watermark ? (o(), r("div", ha, [
|
|
793
|
+
S(t.$slots, "watermark", j(W({ isPrinting: n(ye) || n(ge) })), void 0, !0)
|
|
787
794
|
])) : c("", !0),
|
|
788
795
|
p("div", {
|
|
789
796
|
ref_key: "chartLegend",
|
|
790
797
|
ref: ne
|
|
791
798
|
}, [
|
|
792
|
-
|
|
799
|
+
S(t.$slots, "legend", { legend: O.value }, void 0, !0)
|
|
793
800
|
], 512),
|
|
794
|
-
t.$slots.source ? (
|
|
801
|
+
t.$slots.source ? (o(), r("div", {
|
|
795
802
|
key: 5,
|
|
796
803
|
ref_key: "source",
|
|
797
804
|
ref: ie,
|
|
798
805
|
dir: "auto"
|
|
799
806
|
}, [
|
|
800
|
-
|
|
807
|
+
S(t.$slots, "source", {}, void 0, !0)
|
|
801
808
|
], 512)) : c("", !0),
|
|
802
|
-
n(he) ? (
|
|
809
|
+
n(he) ? (o(), U(_t, { key: 6 })) : c("", !0)
|
|
803
810
|
], 46, Nt));
|
|
804
811
|
}
|
|
805
|
-
}, Fa = /* @__PURE__ */ Mt(da, [["__scopeId", "data-v-
|
|
812
|
+
}, Fa = /* @__PURE__ */ Mt(da, [["__scopeId", "data-v-21a41476"]]);
|
|
806
813
|
export {
|
|
807
814
|
Fa as default
|
|
808
815
|
};
|
|
@@ -17,7 +17,7 @@ const H = { class: "vue-data-ui-component vue-ui-gizmo-wrapper" }, J = ["viewBox
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
setup(z) {
|
|
20
|
-
const A = V(() => import("./PackageVersion-
|
|
20
|
+
const A = V(() => import("./PackageVersion-D-auaEEJ.js")), { vue_ui_gizmo: G } = U(), s = z, u = k(E()), L = $();
|
|
21
21
|
y(() => {
|
|
22
22
|
g();
|
|
23
23
|
}), y(() => {
|