vue-data-ui 3.0.0-next.63 → 3.0.0-next.65
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-BGKdsLII.js → Arrow-xtjLDthc.js} +1 -1
- package/dist/{BaseDraggableDialog-gVVf8X_B.js → BaseDraggableDialog-DjdsoIGU.js} +2 -2
- package/dist/{BaseIcon-DNo7kjXj.js → BaseIcon-BU1qUe7c.js} +1 -1
- package/dist/{ColorPicker-vBh0CR5P.js → ColorPicker-BblHzrY2.js} +2 -2
- package/dist/{DataTable-DS3KWyd9.js → DataTable-awPoVqrs.js} +2 -2
- package/dist/{Legend-B6SFVKMo.js → Legend-DFZdoZrW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BS2khXRd.js → NonSvgPenAndPaper-rFoL6tGp.js} +3 -3
- package/dist/{PackageVersion-DSFdazAW.js → PackageVersion-bvIGp0Wr.js} +1 -1
- package/dist/{PenAndPaper-CB61YgV9.js → PenAndPaper-CDiJnTx6.js} +3 -3
- package/dist/{Shape-4rbQQ_12.js → Shape-CNW2rRJN.js} +1 -1
- package/dist/{Slicer-BYPUhbns.js → Slicer-CJUj0NPg.js} +2 -2
- package/dist/{SparkTooltip-CcYxnK-3.js → SparkTooltip-CCeBMjBi.js} +1 -1
- package/dist/{Title-5i51sn5z.js → Title-DLzQZPSp.js} +1 -1
- package/dist/{Tooltip-Ccrc8V99.js → Tooltip-DgVlOrus.js} +1 -1
- package/dist/{UserOptions-B3sujtRb.js → UserOptions-CyxK5Q-5.js} +2 -2
- package/dist/{dom-to-png-CBszweF6.js → dom-to-png-DOOD6zHB.js} +1 -1
- package/dist/{img-DGl0_Nzz.js → img-DByXXZOX.js} +1 -1
- package/dist/{index-jlnByA4k.js → index-D4WnuWyh.js} +7 -1
- package/dist/{pdf-BHzrjI_S.js → pdf-OOqMngGF.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +3 -0
- package/dist/types/vue-data-ui.d.ts +3 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-Btmy72IJ.js → useAutoSizeLabelsInsideViewbox-DZUsBKYa.js} +1 -1
- package/dist/useLoading-D7YHNtLX.js +29 -0
- package/dist/{useNestedProp-69PJWTUX.js → useNestedProp-DpsQk2zA.js} +1 -1
- package/dist/{usePrinter-CJSwPpxV.js → usePrinter-LIy0Oc_F.js} +2 -2
- package/dist/{vue-data-ui-5hHAwcR8.js → vue-data-ui-g-wGH-lb.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-jcGPVz03.js → vue-ui-3d-bar-DBRlOX7j.js} +7 -7
- package/dist/{vue-ui-accordion-CtOEIleg.js → vue-ui-accordion-B3qWFvj-.js} +3 -3
- package/dist/{vue-ui-age-pyramid-s246qBP8.js → vue-ui-age-pyramid-BfgNlK97.js} +7 -7
- package/dist/{vue-ui-annotator-Bi3ndTdh.js → vue-ui-annotator-DSQM48rJ.js} +2 -2
- package/dist/{vue-ui-bullet-Ly8acZ65.js → vue-ui-bullet-BRQLmWS9.js} +8 -8
- package/dist/{vue-ui-candlestick-Dwy-2H2Q.js → vue-ui-candlestick-D_eIh1L1.js} +8 -8
- package/dist/{vue-ui-carousel-table-ynesSu18.js → vue-ui-carousel-table-nEAroVfe.js} +4 -4
- package/dist/{vue-ui-chestnut-DpXc1djY.js → vue-ui-chestnut-BjJmleW-.js} +5 -5
- package/dist/{vue-ui-chord-DXnK1f_K.js → vue-ui-chord-Cd1H5HfK.js} +8 -8
- package/dist/{vue-ui-circle-pack-BOt9llcy.js → vue-ui-circle-pack-CWVh_N2U.js} +6 -6
- package/dist/{vue-ui-cursor-DnJIyien.js → vue-ui-cursor-sTcuRVmy.js} +2 -2
- package/dist/{vue-ui-dashboard-Cbz4dOIJ.js → vue-ui-dashboard-DBygQ4-S.js} +62 -62
- package/dist/{vue-ui-digits-CaiStt5K.js → vue-ui-digits-DY2apUU-.js} +2 -2
- package/dist/{vue-ui-donut-DzsorCa2.js → vue-ui-donut-2RP4GaYE.js} +9 -9
- package/dist/{vue-ui-donut-evolution-Cn-2v5OQ.js → vue-ui-donut-evolution-D96i03R8.js} +9 -9
- package/dist/{vue-ui-dumbbell-LG-iNxUc.js → vue-ui-dumbbell-CEZXGNEg.js} +8 -8
- package/dist/{vue-ui-flow-D4Mvh3N4.js → vue-ui-flow-B8k9kxKB.js} +8 -8
- package/dist/{vue-ui-funnel-B9bd8Qdo.js → vue-ui-funnel-BWKfPaNH.js} +6 -6
- package/dist/{vue-ui-galaxy-CFGFpWFJ.js → vue-ui-galaxy-C_vIi1L7.js} +5 -5
- package/dist/{vue-ui-gauge-BoM3ea8S.js → vue-ui-gauge-BzdnCu-X.js} +8 -8
- package/dist/vue-ui-gizmo-DOQZQ58m.js +210 -0
- package/dist/{vue-ui-heatmap-DTlVM_Rg.js → vue-ui-heatmap-RB-M6SaR.js} +8 -8
- package/dist/{vue-ui-history-plot-z-ycrjqs.js → vue-ui-history-plot-Bgmurf0-.js} +8 -8
- package/dist/{vue-ui-kpi-CWGMNCQT.js → vue-ui-kpi-Bujm_UUv.js} +28 -28
- package/dist/{vue-ui-mini-loader-D-YAgXQh.js → vue-ui-mini-loader-a7Uqcx82.js} +2 -2
- package/dist/{vue-ui-molecule-C8RnofGI.js → vue-ui-molecule-BN-NyAZi.js} +5 -5
- package/dist/{vue-ui-mood-radar-CTTAiDCG.js → vue-ui-mood-radar-DiIFJqB_.js} +7 -7
- package/dist/{vue-ui-nested-donuts-BJ_MVOPC.js → vue-ui-nested-donuts-CJZbkPFw.js} +10 -10
- package/dist/{vue-ui-onion-CHGIIpnQ.js → vue-ui-onion-BMph52bs.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-BZtohM97.js → vue-ui-parallel-coordinate-plot-CBiSBImC.js} +9 -9
- package/dist/{vue-ui-quadrant-D3Voh1B3.js → vue-ui-quadrant-DX5Qq24z.js} +8 -8
- package/dist/{vue-ui-quick-chart-BWf2yNU3.js → vue-ui-quick-chart-4REpC2Tf.js} +7 -7
- package/dist/{vue-ui-radar-DG2V_zsj.js → vue-ui-radar-BEVqfDd0.js} +7 -7
- package/dist/{vue-ui-rating-BX3DRGia.js → vue-ui-rating-DwI3Rv3E.js} +2 -2
- package/dist/{vue-ui-relation-circle-XCU4OM_5.js → vue-ui-relation-circle-DnBt_4Z-.js} +6 -6
- package/dist/{vue-ui-ridgeline-b1zJ9JMy.js → vue-ui-ridgeline-CNuNfOmr.js} +9 -9
- package/dist/{vue-ui-rings-DOyQUS4a.js → vue-ui-rings-cYyJqaty.js} +9 -9
- package/dist/{vue-ui-scatter-D9LdWCZd.js → vue-ui-scatter-BuxMaOvY.js} +9 -9
- package/dist/{vue-ui-skeleton-Cv6EVbCt.js → vue-ui-skeleton-BcbHBGA8.js} +3 -3
- package/dist/{vue-ui-smiley-C2mnVQu-.js → vue-ui-smiley-BxuhvqKH.js} +2 -2
- package/dist/{vue-ui-spark-trend-gbAr_BYc.js → vue-ui-spark-trend-BYARTbLp.js} +4 -4
- package/dist/{vue-ui-sparkbar-BPU9JtvX.js → vue-ui-sparkbar-C5EIrDdI.js} +4 -4
- package/dist/{vue-ui-sparkgauge-B1smUA41.js → vue-ui-sparkgauge-MqGNM5FN.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-CZTxCQgR.js → vue-ui-sparkhistogram-kKrQQ5yk.js} +5 -5
- package/dist/{vue-ui-sparkline-jChhbwmi.js → vue-ui-sparkline-BdovbeOV.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-Dt7wTy19.js → vue-ui-sparkstackbar-EfkdY-Ax.js} +4 -4
- package/dist/{vue-ui-stackbar-CGgA6-n6.js → vue-ui-stackbar-DBx0rzvk.js} +10 -10
- package/dist/{vue-ui-strip-plot-BtCiUFRZ.js → vue-ui-strip-plot-CwkCmNEy.js} +8 -8
- package/dist/{vue-ui-table-DzWPHCpf.js → vue-ui-table-Dc4t3Fwj.js} +3 -3
- package/dist/{vue-ui-table-heatmap-_FhnVCOZ.js → vue-ui-table-heatmap-DDQg3bxn.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CYsSg1z9.js → vue-ui-table-sparkline-DYla4bRO.js} +4 -4
- package/dist/{vue-ui-thermometer-dSqhossO.js → vue-ui-thermometer-DJfWwWWc.js} +8 -8
- package/dist/{vue-ui-timer-DyIsQAqp.js → vue-ui-timer-DGfM3hjM.js} +5 -5
- package/dist/{vue-ui-tiremarks-BEqXVq_9.js → vue-ui-tiremarks-DALcBVpW.js} +7 -7
- package/dist/{vue-ui-treemap-khKWfnVU.js → vue-ui-treemap-B2ZaMQGd.js} +9 -9
- package/dist/{vue-ui-vertical-bar-CXZGkJh7.js → vue-ui-vertical-bar-CVhUQTSk.js} +10 -10
- package/dist/{vue-ui-waffle-DrHd1WXy.js → vue-ui-waffle-DKQr0dys.js} +9 -9
- package/dist/{vue-ui-wheel-OqQd6Weo.js → vue-ui-wheel-B5Lv0Z1y.js} +7 -7
- package/dist/{vue-ui-word-cloud-CG4W1l66.js → vue-ui-word-cloud-BubzKqXN.js} +7 -7
- package/dist/{vue-ui-world-BBrwRZF-.js → vue-ui-world-CPM4kKP8.js} +6 -6
- package/dist/{vue-ui-xy-CqeSePUr.js → vue-ui-xy-DslMfLA-.js} +858 -847
- package/dist/{vue-ui-xy-canvas-BZhZZQae.js → vue-ui-xy-canvas-C6iEe7Gl.js} +8 -8
- package/package.json +1 -1
- package/dist/useLoading-Bt5Doa8m.js +0 -28
- package/dist/vue-ui-gizmo-Bz1WJOzC.js +0 -192
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineAsyncComponent as K, ref as d, computed as L, useSlots as Va, onMounted as ua, watch as D, nextTick as sa, shallowRef as ze, onBeforeUnmount as Ga, createElementBlock as se, openBlock as S, unref as p, normalizeClass as Za, normalizeStyle as Q, createCommentVNode as X, createBlock as N, createElementVNode as ne, createSlots as ja, withCtx as x, renderSlot as k, normalizeProps as B, guardReactiveProps as _, createVNode as qa, toDisplayString as na, createTextVNode as Ja } from "vue";
|
|
2
|
-
import { u as Ka, c as Qa, a as el, p as V, b as al, C as ge, d as ll, D as $e, k as ee, i as ae, e as ia, a5 as tl, G as ol, af as rl, o as ul, f as sl, y as va, v as nl, w as il, z as vl, s as ie, l as cl } from "./index-
|
|
2
|
+
import { u as Ka, c as Qa, a as el, p as V, b as al, C as ge, d as ll, D as $e, k as ee, i as ae, e as ia, a5 as tl, G as ol, af as rl, o as ul, f as sl, y as va, v as nl, w as il, z as vl, s as ie, l as cl } from "./index-D4WnuWyh.js";
|
|
3
3
|
import { d as dl, t as hl, u as yl, c as fl, a as ca, l as C, r as Ie, b as R, p as da } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as ha } from "./useNestedProp-
|
|
5
|
-
import { u as gl } from "./usePrinter-
|
|
4
|
+
import { u as ha } from "./useNestedProp-DpsQk2zA.js";
|
|
5
|
+
import { u as gl } from "./usePrinter-LIy0Oc_F.js";
|
|
6
6
|
import { u as pl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as ml } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import bl from "./Legend-
|
|
9
|
-
import xl from "./Title-
|
|
10
|
-
import { S as Ll } from "./Slicer-
|
|
8
|
+
import bl from "./Legend-DFZdoZrW.js";
|
|
9
|
+
import xl from "./Title-DLzQZPSp.js";
|
|
10
|
+
import { S as Ll } from "./Slicer-CJUj0NPg.js";
|
|
11
11
|
import { u as kl } from "./useTimeLabels-DkzmKfZn.js";
|
|
12
|
-
import Cl from "./img-
|
|
12
|
+
import Cl from "./img-DByXXZOX.js";
|
|
13
13
|
import { _ as wl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const Sl = ["id"], zl = ["onClick"], $l = {
|
|
15
15
|
key: 2,
|
|
@@ -32,7 +32,7 @@ const Sl = ["id"], zl = ["onClick"], $l = {
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectLegend"],
|
|
34
34
|
setup(Me, { expose: ya, emit: fa }) {
|
|
35
|
-
const ga = K(() => import("./vue-ui-accordion-
|
|
35
|
+
const ga = K(() => import("./vue-ui-accordion-B3qWFvj-.js")), pa = K(() => import("./DataTable-awPoVqrs.js")), ma = K(() => import("./NonSvgPenAndPaper-rFoL6tGp.js")), ba = K(() => import("./vue-ui-skeleton-BcbHBGA8.js")), xa = K(() => import("./Tooltip-DgVlOrus.js")), La = K(() => import("./UserOptions-CyxK5Q-5.js")), { vue_ui_xy_canvas: ka } = Ka(), g = Me, pe = d(Qa()), P = d(null), le = d(null), n = d(null), y = d(1), F = d(1), ve = d(!1), c = d(null), ce = d(""), Te = d(null), $ = d([]), G = d(1), H = d(!0), Z = d(!0), me = d(null), Oe = d(0), Re = d(0), de = d(!1), Pe = d(null), Fe = d(null), Ee = d(null), Ae = d(null), be = d(0), xe = d(0), Le = d(0), M = d(null), ke = L(() => !!g.dataset && g.dataset.length), Ca = fa, wa = Va();
|
|
36
36
|
ua(() => {
|
|
37
37
|
wa["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
|
|
38
38
|
});
|
package/package.json
CHANGED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { createElementBlock as p, openBlock as v, ref as d, computed as g, unref as c, watchEffect as h } from "vue";
|
|
2
|
-
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
const y = {}, B = { class: "vue-data-ui-scanner" };
|
|
4
|
-
function E(a, n) {
|
|
5
|
-
return v(), p("div", B);
|
|
6
|
-
}
|
|
7
|
-
const I = /* @__PURE__ */ A(y, [["render", E], ["__scopeId", "data-v-d6376e44"]]);
|
|
8
|
-
function S({
|
|
9
|
-
config: a,
|
|
10
|
-
dataset: n,
|
|
11
|
-
skeletonDataset: r,
|
|
12
|
-
skeletonConfig: t,
|
|
13
|
-
FINAL_CONFIG: i,
|
|
14
|
-
prepareConfig: _,
|
|
15
|
-
callback: s = null
|
|
16
|
-
}) {
|
|
17
|
-
const u = d(!1), o = g(() => {
|
|
18
|
-
const f = c(a)?.loading ?? !1, e = c(n), m = e == null || Array.isArray(e) && e.length === 0 || Object.keys(e).length === 0;
|
|
19
|
-
return u.value || f || m;
|
|
20
|
-
}), l = d(c(n));
|
|
21
|
-
return h(() => {
|
|
22
|
-
l.value = o.value ? r : c(n), i.value = o.value ? t : _(), s && s();
|
|
23
|
-
}), { loading: o, FINAL_DATASET: l, manualLoading: u, skeletonDataset: r, skeletonConfig: t };
|
|
24
|
-
}
|
|
25
|
-
export {
|
|
26
|
-
I as B,
|
|
27
|
-
S as u
|
|
28
|
-
};
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
import { defineAsyncComponent as z, ref as G, useSlots as L, onMounted as _, computed as c, watch as N, createElementBlock as s, openBlock as a, normalizeStyle as $, createVNode as F, createCommentVNode as n, unref as l, createElementVNode as t, Fragment as p, toDisplayString as y } from "vue";
|
|
2
|
-
import { u as V, c as B, f as P, k, i as m } from "./index-jlnByA4k.js";
|
|
3
|
-
import { u as U } from "./useNestedProp-69PJWTUX.js";
|
|
4
|
-
const D = ["viewBox", "width"], I = { key: 0 }, M = ["id"], S = ["stop-color"], A = ["stop-color"], E = ["stroke"], O = ["stroke"], j = ["width", "fill"], T = ["fill"], q = { key: 0 }, H = ["id"], J = ["stroke"], K = ["stroke", "stroke-dasharray", "stroke-dashoffset"], Q = ["filter"], R = ["stroke", "stroke-dasharray", "stroke-dashoffset"], W = ["fill"], ee = {
|
|
5
|
-
__name: "vue-ui-gizmo",
|
|
6
|
-
props: {
|
|
7
|
-
config: {
|
|
8
|
-
type: Object,
|
|
9
|
-
default() {
|
|
10
|
-
return {};
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
dataset: {
|
|
14
|
-
type: Number,
|
|
15
|
-
default: 0
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
setup(f) {
|
|
19
|
-
const w = z(() => import("./PackageVersion-DSFdazAW.js")), { vue_ui_gizmo: x } = V(), o = f, u = G(B()), C = L();
|
|
20
|
-
_(() => {
|
|
21
|
-
h();
|
|
22
|
-
}), _(() => {
|
|
23
|
-
C["chart-background"] && console.warn("VueUiGizmo does not support the #chart-background slot.");
|
|
24
|
-
});
|
|
25
|
-
function h() {
|
|
26
|
-
!o.dataset && o.dataset !== 0 && P({
|
|
27
|
-
componentName: "VueUiGizmo",
|
|
28
|
-
type: "dataset"
|
|
29
|
-
}), o.dataset < 0 && console.warn("VueUiGizmo: dataset cannot be negative.");
|
|
30
|
-
}
|
|
31
|
-
const e = c({
|
|
32
|
-
get: () => g(),
|
|
33
|
-
set: (i) => i
|
|
34
|
-
});
|
|
35
|
-
function g() {
|
|
36
|
-
return U({
|
|
37
|
-
userConfig: o.config,
|
|
38
|
-
defaultConfig: x
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
N(() => o.config, (i) => {
|
|
42
|
-
e.value = g(), h();
|
|
43
|
-
}, { deep: !0 });
|
|
44
|
-
const v = c(() => ({
|
|
45
|
-
battery: { width: e.value.showPercentage ? 140 : 80, height: 50 },
|
|
46
|
-
gauge: { width: 80, height: 80 }
|
|
47
|
-
})[e.value.type]), d = c(() => {
|
|
48
|
-
const r = 2 * Math.PI * 35, b = r - o.dataset / 100 * r;
|
|
49
|
-
return {
|
|
50
|
-
dasharray: `${r} ${r}`,
|
|
51
|
-
dashoffset: b
|
|
52
|
-
};
|
|
53
|
-
});
|
|
54
|
-
return (i, r) => (a(), s("svg", {
|
|
55
|
-
class: "vue-ui-gizmo",
|
|
56
|
-
viewBox: `0 0 ${v.value.width} ${v.value.height}`,
|
|
57
|
-
width: e.value.size,
|
|
58
|
-
style: $({
|
|
59
|
-
background: "transparent",
|
|
60
|
-
fontFamily: e.value.fontFamily
|
|
61
|
-
})
|
|
62
|
-
}, [
|
|
63
|
-
F(l(w)),
|
|
64
|
-
e.value.useGradient ? (a(), s("defs", I, [
|
|
65
|
-
t("linearGradient", {
|
|
66
|
-
id: `gizmo_gradient_${u.value}`,
|
|
67
|
-
x1: "0%",
|
|
68
|
-
x2: "100%",
|
|
69
|
-
y1: "0%",
|
|
70
|
-
y2: "0%"
|
|
71
|
-
}, [
|
|
72
|
-
t("stop", {
|
|
73
|
-
offset: "0%",
|
|
74
|
-
"stop-color": e.value.gradientColor
|
|
75
|
-
}, null, 8, S),
|
|
76
|
-
t("stop", {
|
|
77
|
-
offset: "100%",
|
|
78
|
-
"stop-color": e.value.color
|
|
79
|
-
}, null, 8, A)
|
|
80
|
-
], 8, M)
|
|
81
|
-
])) : n("", !0),
|
|
82
|
-
e.value.type === "battery" ? (a(), s(p, { key: 1 }, [
|
|
83
|
-
t("path", {
|
|
84
|
-
d: "M 5 10 L 5 40 C 5 43 7 45 9 45 L 65 45 C 68 45 70 43 70 40 L 70 38 C 73 38 75 38 75 33 L 75 17 C 75 12 73 12 70 12 L 70 10 C 70 7 68 5 65 5 L 10 5 C 7 5 5 7 5 10",
|
|
85
|
-
stroke: e.value.stroke,
|
|
86
|
-
"stroke-width": 2,
|
|
87
|
-
fill: "none"
|
|
88
|
-
}, null, 8, E),
|
|
89
|
-
t("path", {
|
|
90
|
-
d: "M 70 16 L 70 34",
|
|
91
|
-
stroke: e.value.stroke,
|
|
92
|
-
"stroke-width": 2,
|
|
93
|
-
fill: "none",
|
|
94
|
-
style: { opacity: "0.5" }
|
|
95
|
-
}, null, 8, O),
|
|
96
|
-
t("rect", {
|
|
97
|
-
x: 10,
|
|
98
|
-
y: 10,
|
|
99
|
-
height: 30,
|
|
100
|
-
width: 55 * (f.dataset / 100),
|
|
101
|
-
fill: e.value.useGradient ? `url(#gizmo_gradient_${u.value})` : e.value.color,
|
|
102
|
-
rx: 2
|
|
103
|
-
}, null, 8, j),
|
|
104
|
-
e.value.showPercentage ? (a(), s("text", {
|
|
105
|
-
key: 0,
|
|
106
|
-
x: 85,
|
|
107
|
-
y: 32,
|
|
108
|
-
"text-anchor": "start",
|
|
109
|
-
"font-size": "20",
|
|
110
|
-
fill: e.value.textColor
|
|
111
|
-
}, y(l(k)(
|
|
112
|
-
e.value.formatter,
|
|
113
|
-
o.dataset,
|
|
114
|
-
l(m)({
|
|
115
|
-
v: o.dataset,
|
|
116
|
-
s: "%"
|
|
117
|
-
})
|
|
118
|
-
)), 9, T)) : n("", !0)
|
|
119
|
-
], 64)) : n("", !0),
|
|
120
|
-
e.value.type === "gauge" ? (a(), s(p, { key: 2 }, [
|
|
121
|
-
e.value.useGradient ? (a(), s("defs", q, [
|
|
122
|
-
t("filter", {
|
|
123
|
-
id: `blur_${u.value}`,
|
|
124
|
-
x: "-50%",
|
|
125
|
-
y: "-50%",
|
|
126
|
-
width: "200%",
|
|
127
|
-
height: "200%"
|
|
128
|
-
}, r[0] || (r[0] = [
|
|
129
|
-
t("feGaussianBlur", {
|
|
130
|
-
in: "SourceGraphic",
|
|
131
|
-
stdDeviation: 1
|
|
132
|
-
}, null, -1)
|
|
133
|
-
]), 8, H)
|
|
134
|
-
])) : n("", !0),
|
|
135
|
-
t("circle", {
|
|
136
|
-
cx: 40,
|
|
137
|
-
cy: 40,
|
|
138
|
-
r: 35,
|
|
139
|
-
stroke: e.value.stroke,
|
|
140
|
-
"stroke-width": 2 * 4,
|
|
141
|
-
fill: "none"
|
|
142
|
-
}, null, 8, J),
|
|
143
|
-
t("circle", {
|
|
144
|
-
cx: 40,
|
|
145
|
-
cy: 40,
|
|
146
|
-
r: 35,
|
|
147
|
-
stroke: e.value.color,
|
|
148
|
-
"stroke-width": 2 * 4,
|
|
149
|
-
"stroke-dasharray": d.value.dasharray,
|
|
150
|
-
"stroke-dashoffset": d.value.dashoffset,
|
|
151
|
-
"stroke-linecap": "round",
|
|
152
|
-
fill: "none",
|
|
153
|
-
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
154
|
-
}, null, 8, K),
|
|
155
|
-
e.value.useGradient ? (a(), s("g", {
|
|
156
|
-
key: 1,
|
|
157
|
-
filter: `url(#blur_${u.value})`
|
|
158
|
-
}, [
|
|
159
|
-
t("circle", {
|
|
160
|
-
cx: 40,
|
|
161
|
-
cy: 40,
|
|
162
|
-
r: 35,
|
|
163
|
-
stroke: e.value.gradientColor,
|
|
164
|
-
"stroke-width": 1,
|
|
165
|
-
fill: "none",
|
|
166
|
-
"stroke-dasharray": d.value.dasharray,
|
|
167
|
-
"stroke-dashoffset": d.value.dashoffset,
|
|
168
|
-
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
169
|
-
}, null, 8, R)
|
|
170
|
-
], 8, Q)) : n("", !0),
|
|
171
|
-
e.value.showPercentage ? (a(), s("text", {
|
|
172
|
-
key: 2,
|
|
173
|
-
x: 40,
|
|
174
|
-
y: 47,
|
|
175
|
-
"text-anchor": "middle",
|
|
176
|
-
"font-size": "20",
|
|
177
|
-
fill: e.value.textColor
|
|
178
|
-
}, y(l(k)(
|
|
179
|
-
e.value.formatter,
|
|
180
|
-
o.dataset,
|
|
181
|
-
l(m)({
|
|
182
|
-
v: o.dataset,
|
|
183
|
-
s: "%"
|
|
184
|
-
})
|
|
185
|
-
)), 9, W)) : n("", !0)
|
|
186
|
-
], 64)) : n("", !0)
|
|
187
|
-
], 12, D));
|
|
188
|
-
}
|
|
189
|
-
};
|
|
190
|
-
export {
|
|
191
|
-
ee as default
|
|
192
|
-
};
|