vue-data-ui 3.22.8 → 3.22.9
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/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-Av7Uxq5V.js} +1 -1
- package/dist/BaseIcon-UdRAvP2h.js +483 -0
- package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
- package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-BY2KLqs6.js} +1 -1
- package/dist/{ColorPicker-CK2-h611.js → ColorPicker-DR_ummtM.js} +1 -1
- package/dist/{DataTable-D9NvewTT.js → DataTable-BxpTMgfK.js} +1 -1
- package/dist/DefGrad-DVBqDjhO.js +48 -0
- package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-B6EG_Sga.js} +2 -2
- package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-D__dRVRA.js} +1 -1
- package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-DsXi7GJ-.js} +2 -2
- package/dist/{Slicer-BZ5VnOOS.js → Slicer-CW_XPIKL.js} +359 -354
- package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-CTz41lOu.js} +471 -466
- package/dist/{UserOptions-16uF1ayB.js → UserOptions-trvJ26nz.js} +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{package-gp9pYCfN.js → package-ByOT60IK.js} +1 -1
- package/dist/{render-common-CLn1VXJ9.js → render-common-D18VrP0h.js} +1 -1
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-ub3fCh6P.js} +67 -67
- package/dist/vue-data-ui.js +67 -67
- package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
- package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-CjAGqEJg.js} +1 -1
- package/dist/{vue-ui-age-pyramid-DTAOc7fn.js → vue-ui-age-pyramid-jvQZbF8E.js} +306 -297
- package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BIucnT0L.js} +3 -3
- package/dist/{vue-ui-bullet-CCLnrOLm.js → vue-ui-bullet-CIATzlsk.js} +1 -1
- package/dist/{vue-ui-bump-Rq7efdoe.js → vue-ui-bump-D8MxltQE.js} +2 -2
- package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-DULUMU-Q.js} +513 -502
- package/dist/{vue-ui-carousel-table-Lx5Zk4dG.js → vue-ui-carousel-table-BSmdexG7.js} +1 -1
- package/dist/vue-ui-chestnut-BIh1nQ7q.js +2042 -0
- package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-DL1M7cgL.js} +1 -1
- package/dist/vue-ui-circle-pack-C1Pgq6si.js +1614 -0
- package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-d2uLAKTQ.js} +1 -1
- package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CVh9FpZr.js} +2 -2
- package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BH0N3ebj.js} +65 -65
- package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-R6wi3J-Y.js} +1 -1
- package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-BWDeVzLc.js} +1 -1
- package/dist/{vue-ui-donut-C3Rt6j-I.js → vue-ui-donut-BoZdciGh.js} +632 -623
- package/dist/vue-ui-donut-evolution-CpC9EMro.js +1522 -0
- package/dist/{vue-ui-dumbbell-wK7vUB0x.js → vue-ui-dumbbell-DGA5Bfnl.js} +528 -494
- package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-CNczKwTh.js} +1 -1
- package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
- package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-v3cTbUiM.js} +2 -2
- package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
- package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-BgmLkZZ2.js} +2 -2
- package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
- package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-dSTh8ah_.js} +2 -2
- package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-N8BqMFVU.js} +395 -384
- package/dist/{vue-ui-horizontal-bar-D1rCsgqt.js → vue-ui-horizontal-bar-CwiQxYzv.js} +360 -354
- package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BKrUk9o8.js} +1 -1
- package/dist/{vue-ui-molecule-CExCqZ08.js → vue-ui-molecule--kK1JfnP.js} +295 -289
- package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-CpBRHQo_.js} +209 -204
- package/dist/{vue-ui-nested-donuts-3TRV8pN-.js → vue-ui-nested-donuts-8Ehwcuns.js} +307 -301
- package/dist/{vue-ui-onion-DwKK9DXn.js → vue-ui-onion-Cf6JiYTH.js} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-DSp_cwU-.js → vue-ui-parallel-coordinate-plot-Blnqp1DB.js} +2 -2
- package/dist/{vue-ui-quadrant-ByVg-NBs.js → vue-ui-quadrant-CxU0jiOm.js} +366 -360
- package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-BO98uEPl.js} +3 -3
- package/dist/{vue-ui-radar-DE-me6OC.js → vue-ui-radar-eH2Qih4_.js} +272 -266
- package/dist/{vue-ui-rating-CzD3EQ3G.js → vue-ui-rating-CN-ZiAES.js} +135 -126
- package/dist/{vue-ui-relation-circle-L7-dTqet.js → vue-ui-relation-circle-BIcP-aAt.js} +1 -1
- package/dist/vue-ui-ridgeline-ChXHzEJw.js +1628 -0
- package/dist/{vue-ui-rings-WzWiEo9W.js → vue-ui-rings-J990vNbX.js} +262 -256
- package/dist/{vue-ui-scatter-DwrAydha.js → vue-ui-scatter-BeJB0EKg.js} +642 -633
- package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-DC2bZ0nk.js} +336 -333
- package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-Dyyu1je3.js} +111 -98
- package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-CpDX85H3.js} +158 -153
- package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
- package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-D0Fo3Hts.js} +75 -70
- package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
- package/dist/vue-ui-sparkline-ApivEMBP.js +1560 -0
- package/dist/{vue-ui-sparkstackbar-DrmiWFlw.js → vue-ui-sparkstackbar-DsKQJx_n.js} +179 -167
- package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-Ds4hXATH.js} +538 -531
- package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
- package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-C3ZHf4bD.js} +368 -361
- package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CNXNXXBU.js} +1 -1
- package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-B9JJ4pFF.js} +1 -1
- package/dist/{vue-ui-table-Q3brrivC.js → vue-ui-table-uudidrYt.js} +4 -4
- package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
- package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-5NAWw5BN.js} +91 -86
- package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-Caz_g1c5.js} +1 -1
- package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-F9upPyOI.js} +458 -453
- package/dist/{vue-ui-waffle-Pi9e7Ae7.js → vue-ui-waffle-Bk9AsrPp.js} +296 -290
- package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-DD6Q39BA.js} +1 -1
- package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-BZLT5svo.js} +2 -2
- package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-DbEJN5NA.js} +284 -273
- package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-BYMAITk_.js} +1294 -1268
- package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Cn9Q8YPr.js} +1 -1
- package/dist/{vue-ui-xy-canvas-BfgeE3TW.js → vue-ui-xy-canvas-Dcm2ftwm.js} +5 -5
- package/package.json +1 -1
- package/dist/BaseIcon-C2qlyHc7.js +0 -502
- package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
- package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
- package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
- package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
- package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
- package/dist/vue-ui-ridgeline-Cp3YP0xe.js +0 -1622
- package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
- package/dist/vue-ui-sparkhistogram-D02ff7ZI.js +0 -560
- package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
- package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
- package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
|
@@ -15,7 +15,7 @@ import { t as ae } from "./A11yDataTable-DdRsVULz.js";
|
|
|
15
15
|
import { t as oe } from "./useUserOptionState-DK-_1ddE.js";
|
|
16
16
|
import { t as se } from "./useChartAccessibility-DYqac8yF.js";
|
|
17
17
|
import { t as ce } from "./usePanZoom-CYU3B4T3.js";
|
|
18
|
-
import { t as le } from "./BaseZoomControls-
|
|
18
|
+
import { t as le } from "./BaseZoomControls-BY2KLqs6.js";
|
|
19
19
|
import { t as ue } from "./geoProjections-BbN7z57k.js";
|
|
20
20
|
import { t as de } from "./vue_ui_geo-B8TODs-G.js";
|
|
21
21
|
import { Fragment as fe, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as pe, createVNode as me, defineAsyncComponent as he, guardReactiveProps as y, mergeProps as ge, nextTick as b, normalizeClass as _e, normalizeProps as x, normalizeStyle as ve, onBeforeUnmount as ye, onMounted as be, openBlock as S, ref as C, renderList as xe, renderSlot as w, toDisplayString as Se, toRefs as Ce, unref as T, watch as we, withCtx as E } from "vue";
|
|
@@ -94,7 +94,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
94
94
|
},
|
|
95
95
|
emits: ["copyAlt"],
|
|
96
96
|
setup(e, { expose: ne, emit: Te }) {
|
|
97
|
-
let ze = he(() => import("./Tooltip-CxOrWlFy.js")), Be = he(() => import("./UserOptions-
|
|
97
|
+
let ze = he(() => import("./Tooltip-CxOrWlFy.js")), Be = he(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), Ve = he(() => import("./PenAndPaper-DsXi7GJ-.js").then((e) => e.t)), He = he(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), D = e, Ue = Te, { vue_ui_geo: We } = s(), { isThemeValid: Ge, warnInvalidTheme: Ke } = p(), O = C(t()), qe = C(0), Je = C(0), Ye = C(!1), Xe = C(!1), k = C(null), A = C(!1), j = C(null), Ze = C(null), Qe = C(null), $e = C(null), M = C(null), N = C(null), et = C(null), tt = C(null), P = C(null), nt = C({
|
|
98
98
|
x: 0,
|
|
99
99
|
y: 0
|
|
100
100
|
}), F = C("pointer"), rt = C(!1), I = C(!1);
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, G as
|
|
3
|
-
import { t as
|
|
4
|
-
import { n as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
2
|
+
import { $ as t, G as n, J as r, Kt as i, i as a } from "./lib-JqW18y5I.js";
|
|
3
|
+
import { t as o } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { n as ee, t as s } from "./BaseScanner-DZvpgOjM.js";
|
|
5
|
+
import { t as c } from "./useNestedProp-DIuuzG1r.js";
|
|
6
|
+
import { t as l } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
|
+
import { t as u } from "./DefGrad-DVBqDjhO.js";
|
|
8
|
+
import { Fragment as d, computed as f, createBlock as te, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createVNode as g, defineAsyncComponent as _, normalizeStyle as ne, onMounted as v, openBlock as y, ref as b, renderSlot as x, toDisplayString as S, toRefs as C, unref as w, useSlots as re, watch as ie } from "vue";
|
|
8
9
|
//#region src/components/vue-ui-gizmo.vue
|
|
9
|
-
var
|
|
10
|
+
var T = /* @__PURE__ */ e({ default: () => B }), E = [
|
|
10
11
|
"aria-label",
|
|
11
12
|
"aria-valuenow",
|
|
12
13
|
"aria-valuetext",
|
|
13
14
|
"aria-busy"
|
|
14
|
-
],
|
|
15
|
+
], D = ["viewBox", "width"], O = { key: 0 }, k = ["stroke"], A = ["stroke"], j = ["width", "fill"], M = ["fill"], N = { key: 0 }, P = ["id"], F = ["stroke"], I = [
|
|
15
16
|
"stroke",
|
|
16
17
|
"stroke-dasharray",
|
|
17
18
|
"stroke-dashoffset"
|
|
@@ -19,7 +20,7 @@ var S = /* @__PURE__ */ e({ default: () => B }), C = [
|
|
|
19
20
|
"stroke",
|
|
20
21
|
"stroke-dasharray",
|
|
21
22
|
"stroke-dashoffset"
|
|
22
|
-
], z = ["fill"], B = /*#__PURE__*/
|
|
23
|
+
], z = ["fill"], B = /*#__PURE__*/ l({
|
|
23
24
|
__name: "vue-ui-gizmo",
|
|
24
25
|
props: {
|
|
25
26
|
config: {
|
|
@@ -31,13 +32,13 @@ var S = /* @__PURE__ */ e({ default: () => B }), C = [
|
|
|
31
32
|
dataset: { type: Number }
|
|
32
33
|
},
|
|
33
34
|
setup(e) {
|
|
34
|
-
let
|
|
35
|
-
|
|
35
|
+
let l = _(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), { vue_ui_gizmo: T } = o(), B = e, V = b(n()), H = re();
|
|
36
|
+
v(() => {
|
|
36
37
|
W();
|
|
37
|
-
}),
|
|
38
|
+
}), v(() => {
|
|
38
39
|
H["chart-background"] && U.value && console.warn("VueUiGizmo does not support the #chart-background slot.");
|
|
39
40
|
});
|
|
40
|
-
let U =
|
|
41
|
+
let U = f(() => G.value.debug);
|
|
41
42
|
function W() {
|
|
42
43
|
!B.dataset && B.dataset !== 0 && t({
|
|
43
44
|
componentName: "VueUiGizmo",
|
|
@@ -45,7 +46,7 @@ var S = /* @__PURE__ */ e({ default: () => B }), C = [
|
|
|
45
46
|
debug: U.value
|
|
46
47
|
}), B.dataset < 0 && U.value && console.warn("VueUiGizmo: dataset cannot be negative."), B.dataset > 100 && U.value && console.warn(`VueUiGizmo: gauge is maxed out, as dataset exceeds 100% (props.dataset = ${B.dataset})`);
|
|
47
48
|
}
|
|
48
|
-
let G =
|
|
49
|
+
let G = b(Y()), K = f(() => i({
|
|
49
50
|
defaultConfig: {
|
|
50
51
|
stroke: "#6A6A6A80",
|
|
51
52
|
color: "#6A6A6A",
|
|
@@ -53,27 +54,27 @@ var S = /* @__PURE__ */ e({ default: () => B }), C = [
|
|
|
53
54
|
textColor: "transparent"
|
|
54
55
|
},
|
|
55
56
|
userConfig: G.value.skeletonConfig ?? {}
|
|
56
|
-
})), { loading: q, FINAL_DATASET: J, manualLoading:
|
|
57
|
-
...
|
|
57
|
+
})), { loading: q, FINAL_DATASET: J, manualLoading: ae } = ee({
|
|
58
|
+
...C(B),
|
|
58
59
|
FINAL_CONFIG: G,
|
|
59
60
|
prepareConfig: Y,
|
|
60
61
|
dsIsNumber: !0,
|
|
61
62
|
skeletonDataset: B.config?.skeletonDataset ?? 50,
|
|
62
|
-
skeletonConfig:
|
|
63
|
+
skeletonConfig: i({
|
|
63
64
|
defaultConfig: G.value,
|
|
64
65
|
userConfig: K.value
|
|
65
66
|
})
|
|
66
67
|
});
|
|
67
68
|
function Y() {
|
|
68
|
-
return
|
|
69
|
+
return c({
|
|
69
70
|
userConfig: B.config,
|
|
70
|
-
defaultConfig:
|
|
71
|
+
defaultConfig: T
|
|
71
72
|
});
|
|
72
73
|
}
|
|
73
|
-
|
|
74
|
+
ie(() => B.config, (e) => {
|
|
74
75
|
G.value = Y(), W();
|
|
75
76
|
}, { deep: !0 });
|
|
76
|
-
let X =
|
|
77
|
+
let X = f(() => ({
|
|
77
78
|
battery: {
|
|
78
79
|
width: G.value.showPercentage ? 150 : 80,
|
|
79
80
|
height: 50
|
|
@@ -82,60 +83,64 @@ var S = /* @__PURE__ */ e({ default: () => B }), C = [
|
|
|
82
83
|
width: 80,
|
|
83
84
|
height: 80
|
|
84
85
|
}
|
|
85
|
-
})[G.value.type]), Z =
|
|
86
|
+
})[G.value.type]), Z = f(() => Math.min(Math.max(0, J.value), 100)), Q = f(() => Math.max(0, J.value)), $ = f(() => {
|
|
86
87
|
let e = 2 * Math.PI * 35, t = e - Z.value / 100 * e;
|
|
87
88
|
return {
|
|
88
89
|
dasharray: `${e} ${e}`,
|
|
89
90
|
dashoffset: t
|
|
90
91
|
};
|
|
91
92
|
});
|
|
92
|
-
return (e, t) => (
|
|
93
|
+
return (e, t) => (y(), m("div", {
|
|
93
94
|
class: "vue-data-ui-component vue-ui-gizmo-wrapper",
|
|
94
95
|
role: "progressbar",
|
|
95
96
|
"aria-label": G.value.a11y.translations.label,
|
|
96
97
|
"aria-valuemin": "0",
|
|
97
98
|
"aria-valuemax": "100",
|
|
98
|
-
"aria-valuenow":
|
|
99
|
+
"aria-valuenow": w(q) ? void 0 : Z.value,
|
|
99
100
|
"aria-valuetext": Z.value + "%",
|
|
100
|
-
"aria-busy":
|
|
101
|
-
}, [(
|
|
101
|
+
"aria-busy": w(q) ? "true" : "false"
|
|
102
|
+
}, [(y(), m("svg", {
|
|
102
103
|
class: "vue-ui-gizmo",
|
|
103
104
|
viewBox: `0 0 ${X.value.width} ${X.value.height}`,
|
|
104
105
|
width: G.value.size,
|
|
105
|
-
style:
|
|
106
|
+
style: ne({
|
|
106
107
|
background: "transparent",
|
|
107
108
|
fontFamily: G.value.fontFamily
|
|
108
109
|
})
|
|
109
110
|
}, [
|
|
110
|
-
|
|
111
|
-
G.value.useGradient ? (
|
|
111
|
+
g(w(l)),
|
|
112
|
+
G.value.useGradient ? (y(), m("defs", O, [g(u, {
|
|
113
|
+
t: "linear",
|
|
112
114
|
id: `gizmo_gradient_${V.value}`,
|
|
113
115
|
x1: "0%",
|
|
114
116
|
x2: "100%",
|
|
115
117
|
y1: "0%",
|
|
116
|
-
y2: "0%"
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
118
|
+
y2: "0%",
|
|
119
|
+
stops: [[
|
|
120
|
+
"0%",
|
|
121
|
+
G.value.gradientColor,
|
|
122
|
+
1
|
|
123
|
+
], [
|
|
124
|
+
"100%",
|
|
125
|
+
G.value.color,
|
|
126
|
+
1
|
|
127
|
+
]]
|
|
128
|
+
}, null, 8, ["id", "stops"])])) : p("", !0),
|
|
129
|
+
G.value.type === "battery" ? (y(), m(d, { key: 1 }, [
|
|
130
|
+
h("path", {
|
|
126
131
|
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",
|
|
127
132
|
stroke: G.value.stroke,
|
|
128
133
|
"stroke-width": 2,
|
|
129
134
|
fill: "none"
|
|
130
135
|
}, null, 8, k),
|
|
131
|
-
|
|
136
|
+
h("path", {
|
|
132
137
|
d: "M 70 16 L 70 34",
|
|
133
138
|
stroke: G.value.stroke,
|
|
134
139
|
"stroke-width": 2,
|
|
135
140
|
fill: "none",
|
|
136
141
|
style: { opacity: "0.5" }
|
|
137
142
|
}, null, 8, A),
|
|
138
|
-
|
|
143
|
+
h("rect", {
|
|
139
144
|
x: 10,
|
|
140
145
|
y: 10,
|
|
141
146
|
height: 30,
|
|
@@ -143,30 +148,30 @@ var S = /* @__PURE__ */ e({ default: () => B }), C = [
|
|
|
143
148
|
fill: G.value.useGradient ? `url(#gizmo_gradient_${V.value})` : G.value.color,
|
|
144
149
|
rx: 2
|
|
145
150
|
}, null, 8, j),
|
|
146
|
-
G.value.showPercentage ? (
|
|
151
|
+
G.value.showPercentage ? (y(), m("text", {
|
|
147
152
|
key: 0,
|
|
148
153
|
x: 85,
|
|
149
154
|
y: 32,
|
|
150
155
|
"text-anchor": "start",
|
|
151
156
|
"font-size": "20",
|
|
152
157
|
fill: G.value.textColor
|
|
153
|
-
},
|
|
158
|
+
}, S(w(a)(G.value.formatter, Q.value, w(r)({
|
|
154
159
|
v: Q.value,
|
|
155
160
|
s: "%"
|
|
156
|
-
}))), 9, M)) :
|
|
157
|
-
], 64)) :
|
|
158
|
-
G.value.type === "gauge" ? (
|
|
159
|
-
G.value.useGradient ? (
|
|
161
|
+
}))), 9, M)) : p("", !0)
|
|
162
|
+
], 64)) : p("", !0),
|
|
163
|
+
G.value.type === "gauge" ? (y(), m(d, { key: 2 }, [
|
|
164
|
+
G.value.useGradient ? (y(), m("defs", N, [h("filter", {
|
|
160
165
|
id: `blur_${V.value}`,
|
|
161
166
|
x: "-50%",
|
|
162
167
|
y: "-50%",
|
|
163
168
|
width: "200%",
|
|
164
169
|
height: "200%"
|
|
165
|
-
}, [...t[0] ||= [
|
|
170
|
+
}, [...t[0] ||= [h("feGaussianBlur", {
|
|
166
171
|
in: "SourceGraphic",
|
|
167
172
|
stdDeviation: 1
|
|
168
|
-
}, null, -1)]], 8, P)])) :
|
|
169
|
-
|
|
173
|
+
}, null, -1)]], 8, P)])) : p("", !0),
|
|
174
|
+
h("circle", {
|
|
170
175
|
cx: 40,
|
|
171
176
|
cy: 40,
|
|
172
177
|
r: 35,
|
|
@@ -174,7 +179,7 @@ var S = /* @__PURE__ */ e({ default: () => B }), C = [
|
|
|
174
179
|
"stroke-width": 8,
|
|
175
180
|
fill: "none"
|
|
176
181
|
}, null, 8, F),
|
|
177
|
-
|
|
182
|
+
h("circle", {
|
|
178
183
|
cx: 40,
|
|
179
184
|
cy: 40,
|
|
180
185
|
r: 35,
|
|
@@ -189,10 +194,10 @@ var S = /* @__PURE__ */ e({ default: () => B }), C = [
|
|
|
189
194
|
"transform-origin": "50% 50%"
|
|
190
195
|
}
|
|
191
196
|
}, null, 8, I),
|
|
192
|
-
G.value.useGradient ? (
|
|
197
|
+
G.value.useGradient ? (y(), m("g", {
|
|
193
198
|
key: 1,
|
|
194
199
|
filter: `url(#blur_${V.value})`
|
|
195
|
-
}, [
|
|
200
|
+
}, [h("circle", {
|
|
196
201
|
cx: 40,
|
|
197
202
|
cy: 40,
|
|
198
203
|
r: 35,
|
|
@@ -205,21 +210,21 @@ var S = /* @__PURE__ */ e({ default: () => B }), C = [
|
|
|
205
210
|
transform: "rotate(-90deg)",
|
|
206
211
|
"transform-origin": "50% 50%"
|
|
207
212
|
}
|
|
208
|
-
}, null, 8, R)], 8, L)) :
|
|
209
|
-
G.value.showPercentage ? (
|
|
213
|
+
}, null, 8, R)], 8, L)) : p("", !0),
|
|
214
|
+
G.value.showPercentage ? (y(), m("text", {
|
|
210
215
|
key: 2,
|
|
211
216
|
x: 40,
|
|
212
217
|
y: 47,
|
|
213
218
|
"text-anchor": "middle",
|
|
214
219
|
"font-size": "20",
|
|
215
220
|
fill: G.value.textColor
|
|
216
|
-
},
|
|
221
|
+
}, S(w(a)(G.value.formatter, Q.value, w(r)({
|
|
217
222
|
v: Q.value,
|
|
218
223
|
s: "%"
|
|
219
|
-
}))), 9, z)) :
|
|
220
|
-
], 64)) :
|
|
221
|
-
], 12,
|
|
224
|
+
}))), 9, z)) : p("", !0)
|
|
225
|
+
], 64)) : p("", !0)
|
|
226
|
+
], 12, D)), x(e.$slots, "skeleton", {}, () => [w(q) ? (y(), te(s, { key: 0 })) : p("", !0)], !0)], 8, E));
|
|
222
227
|
}
|
|
223
|
-
}, [["__scopeId", "data-v-
|
|
228
|
+
}, [["__scopeId", "data-v-1dde5851"]]);
|
|
224
229
|
//#endregion
|
|
225
|
-
export {
|
|
230
|
+
export { T as n, B as t };
|
|
@@ -13,7 +13,7 @@ import { n as fe } from "./Title-CcNiYzEo.js";
|
|
|
13
13
|
import { t as pe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { c as me } from "./canvas-lib-BOP_HS11.js";
|
|
15
15
|
import { t as he } from "./useResponsive-BfnK0KxU.js";
|
|
16
|
-
import { t as ge } from "./vue-ui-accordion-
|
|
16
|
+
import { t as ge } from "./vue-ui-accordion-CjAGqEJg.js";
|
|
17
17
|
import { t as _e } from "./A11yDataTable-DdRsVULz.js";
|
|
18
18
|
import { t as ve } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
19
|
import { t as ye } from "./useChartAccessibility-DYqac8yF.js";
|
|
@@ -283,7 +283,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
283
283
|
emits: ["selectDatapoint", "copyAlt"],
|
|
284
284
|
setup(e, { expose: pe, emit: Ue }) {
|
|
285
285
|
Fe((e) => ({ v4596c7e2: e.tdo }));
|
|
286
|
-
let We = Ee(() => import("./Tooltip-CxOrWlFy.js")), St = Ee(() => import("./BaseIcon-
|
|
286
|
+
let We = Ee(() => import("./Tooltip-CxOrWlFy.js")), St = Ee(() => import("./BaseIcon-UdRAvP2h.js").then((e) => e.n)), Ct = Ee(() => import("./PenAndPaper-DsXi7GJ-.js").then((e) => e.t)), wt = Ee(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), Tt = Ee(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), Et = Ee(() => import("./BaseDraggableDialog-Av7Uxq5V.js").then((e) => e.n)), { vue_ui_heatmap: Dt } = re(), { isThemeValid: Ot, warnInvalidTheme: kt } = le(), j = e, At = Ue, jt = g({
|
|
287
287
|
get() {
|
|
288
288
|
return !!j.dataset && j.dataset.length;
|
|
289
289
|
},
|