vue-data-ui 3.22.7 → 3.22.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/{Arrow-DaGI9u-b.js → Arrow-DdymhUfY.js} +1 -1
- package/dist/{BaseDraggableDialog-1wwwdwV2.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
- package/dist/{BaseIcon-_-BX7be3.js → BaseIcon-C2qlyHc7.js} +1 -1
- package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
- package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-C6zonwhr.js} +2 -2
- package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-CK2-h611.js} +2 -2
- package/dist/{DataTable-CVF7DoZn.js → DataTable-D9NvewTT.js} +2 -2
- package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-BHHNsVVP.js} +3 -3
- package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-DW7zwRcm.js} +1 -1
- package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-pcgwlYr2.js} +3 -3
- package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
- package/dist/{Slicer-6FOtg9py.js → Slicer-BZ5VnOOS.js} +19 -19
- package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-BQFeCw0m.js} +351 -351
- package/dist/{SparkTooltip-B-qsPj68.js → SparkTooltip-BTLN-Kex.js} +6 -6
- package/dist/{Title-PiTKr6sp.js → Title-CcNiYzEo.js} +1 -1
- package/dist/{Tooltip-B8yYfISA.js → Tooltip-CxOrWlFy.js} +1 -1
- package/dist/{UserOptions-BL9VlHop.js → UserOptions-16uF1ayB.js} +2 -2
- package/dist/components/arrow.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-mini-loader.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/{dom-to-png-BZjYWNEg.js → dom-to-png-BbwhsRIr.js} +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +19 -0
- package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
- package/dist/{img-B_abIg0o.js → img-DnP3eXuv.js} +1 -1
- package/dist/{labelUtils-CTDRZdP1.js → labelUtils-DBEh078l.js} +1 -1
- package/dist/{lib-EAmk-PgA.js → lib-JqW18y5I.js} +36 -30
- package/dist/{package-DeMimPej.js → package-gp9pYCfN.js} +1 -1
- package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
- package/dist/{render-common-DMai0gHB.js → render-common-CLn1VXJ9.js} +20 -20
- 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/types/utils.d.ts +18 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-CyOGrdD_.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
- package/dist/{useNestedProp-D8XqxgOU.js → useNestedProp-DIuuzG1r.js} +1 -1
- package/dist/{usePrinter-DnGzpp6Q.js → usePrinter-CqqHmnBI.js} +2 -2
- package/dist/utils.js +24 -24
- package/dist/{vue-data-ui-D6qVWloL.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-B3HxJmDI.js +1757 -0
- package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-YyosvEPo.js} +3 -3
- package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
- package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-CfJXeAOE.js} +67 -67
- package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
- package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
- package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
- package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
- package/dist/vue-ui-chestnut-RfWMGUD-.js +2010 -0
- package/dist/vue-ui-chord-Db1O_diJ.js +1391 -0
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
- package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
- package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-DL3zq0F2.js} +43 -43
- package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
- package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-ThFVNO3l.js} +3 -3
- package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BuTd6dt4.js} +201 -201
- package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-C3Rt6j-I.js} +592 -592
- package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-DY46UPF_.js} +442 -442
- package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-wK7vUB0x.js} +238 -238
- package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-BTUNfWb7.js} +119 -119
- package/dist/{vue-ui-funnel-BEZUEuuh.js → vue-ui-funnel-BhoHzyHa.js} +162 -162
- package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-DJ2uNYcN.js} +342 -342
- package/dist/{vue-ui-gauge-B1ljgfE1.js → vue-ui-gauge-Cf4NqvrO.js} +55 -55
- package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-ovHu_Sc9.js} +14 -14
- package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-DDxEj-qe.js} +62 -62
- package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-Npqnvb1r.js} +163 -163
- package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-C3Kjy2tc.js} +371 -371
- package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
- package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
- package/dist/{vue-ui-mini-loader-DPHzHsM7.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
- package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
- package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-DlVh6hwx.js} +45 -45
- package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
- package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +1416 -0
- package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-ByVg-NBs.js} +58 -58
- package/dist/vue-ui-quick-chart-WMzSJxGZ.js +2469 -0
- package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-DE-me6OC.js} +79 -79
- package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
- package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-L7-dTqet.js} +167 -167
- package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
- package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
- package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
- package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
- package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-D4NnZ1mg.js} +16 -16
- package/dist/{vue-ui-spark-trend-DfZeLiWA.js → vue-ui-spark-trend-C38ysZ-c.js} +99 -99
- package/dist/{vue-ui-sparkbar-Cl1e49sw.js → vue-ui-sparkbar-B03ndcUe.js} +30 -30
- package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-DgPc4vPT.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-ny_liYa6.js → vue-ui-sparkhistogram-D02ff7ZI.js} +72 -72
- package/dist/vue-ui-sparkline-DlTfNQj8.js +1547 -0
- package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DrmiWFlw.js} +110 -110
- package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-BVdApDnY.js} +82 -82
- package/dist/{vue-ui-stackline-CdvVPQUM.js → vue-ui-stackline-QzQQ7lTy.js} +636 -636
- package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
- package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-Q3brrivC.js} +62 -62
- package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
- package/dist/vue-ui-table-sparkline-Q6BHPKUn.js +712 -0
- package/dist/{vue-ui-thermometer-BUrtIfuo.js → vue-ui-thermometer-Bg0RR6m4.js} +115 -115
- package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-BdzKpoRj.js} +5 -5
- package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-DWb69ofh.js} +13 -13
- package/dist/{vue-ui-treemap-LMWiicop.js → vue-ui-treemap-uUz07Prw.js} +457 -457
- package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
- package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DTfvWYA7.js} +130 -130
- package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-DqfljAqH.js} +27 -27
- package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
- package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-Bvgy2do1.js} +714 -714
- package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-D5KsuNR2.js} +116 -116
- package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-BfgeE3TW.js} +58 -58
- package/package.json +1 -1
- package/dist/exposedLib-Be0ifkti.js +0 -19
- package/dist/vue-ui-3d-bar-CjNuWXoA.js +0 -1757
- package/dist/vue-ui-age-pyramid-CC7Dxli-.js +0 -1238
- package/dist/vue-ui-bullet-Dde6FhbR.js +0 -710
- package/dist/vue-ui-bump-C5pni1JV.js +0 -1249
- package/dist/vue-ui-candlestick-Ctw65O4_.js +0 -1829
- package/dist/vue-ui-carousel-table-BEUvhUH0.js +0 -455
- package/dist/vue-ui-chestnut-C3IbAdkQ.js +0 -2010
- package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
- package/dist/vue-ui-circle-pack-Cq4lkmee.js +0 -1608
- package/dist/vue-ui-horizontal-bar-CTW6l4n3.js +0 -1683
- package/dist/vue-ui-molecule-aD0SMTiX.js +0 -925
- package/dist/vue-ui-nested-donuts--BCPWkl7.js +0 -1487
- package/dist/vue-ui-onion-s4iMCGAP.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +0 -1416
- package/dist/vue-ui-quick-chart-D1OWBgQJ.js +0 -2469
- package/dist/vue-ui-rating-Bek8Tgr-.js +0 -343
- package/dist/vue-ui-ridgeline-DIODGiu8.js +0 -1622
- package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
- package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
- package/dist/vue-ui-sparkline-BNxdO-Bx.js +0 -1547
- package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
- package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
- package/dist/vue-ui-waffle-B_L3gkky.js +0 -1362
- package/dist/vue-ui-world-B7npRmTa.js +0 -14264
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { n as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { Fragment as
|
|
2
|
+
import { $ as t, G as ee, J as n, Kt as r, i } from "./lib-JqW18y5I.js";
|
|
3
|
+
import { t as a } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { n as o, t as te } from "./BaseScanner-DZvpgOjM.js";
|
|
5
|
+
import { t as ne } from "./useNestedProp-DIuuzG1r.js";
|
|
6
|
+
import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
|
+
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineAsyncComponent as h, normalizeStyle as g, onMounted as _, openBlock as v, ref as y, renderSlot as re, toDisplayString as b, toRefs as ie, unref as x, useSlots as ae, watch as oe } from "vue";
|
|
8
8
|
//#region src/components/vue-ui-gizmo.vue
|
|
9
|
-
var
|
|
9
|
+
var S = /* @__PURE__ */ e({ default: () => B }), C = [
|
|
10
10
|
"aria-label",
|
|
11
11
|
"aria-valuenow",
|
|
12
12
|
"aria-valuetext",
|
|
13
13
|
"aria-busy"
|
|
14
|
-
],
|
|
14
|
+
], w = ["viewBox", "width"], T = { key: 0 }, E = ["id"], D = ["stop-color"], O = ["stop-color"], k = ["stroke"], A = ["stroke"], j = ["width", "fill"], M = ["fill"], N = { key: 0 }, P = ["id"], F = ["stroke"], I = [
|
|
15
15
|
"stroke",
|
|
16
16
|
"stroke-dasharray",
|
|
17
17
|
"stroke-dashoffset"
|
|
18
|
-
],
|
|
18
|
+
], L = ["filter"], R = [
|
|
19
19
|
"stroke",
|
|
20
20
|
"stroke-dasharray",
|
|
21
21
|
"stroke-dashoffset"
|
|
22
|
-
], z = ["fill"], B = /*#__PURE__*/
|
|
22
|
+
], z = ["fill"], B = /*#__PURE__*/ s({
|
|
23
23
|
__name: "vue-ui-gizmo",
|
|
24
24
|
props: {
|
|
25
25
|
config: {
|
|
@@ -31,21 +31,21 @@ var C = /* @__PURE__ */ e({ default: () => B }), w = [
|
|
|
31
31
|
dataset: { type: Number }
|
|
32
32
|
},
|
|
33
33
|
setup(e) {
|
|
34
|
-
let
|
|
35
|
-
|
|
34
|
+
let s = h(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), { vue_ui_gizmo: S } = a(), B = e, V = y(ee()), H = ae();
|
|
35
|
+
_(() => {
|
|
36
36
|
W();
|
|
37
|
-
}),
|
|
37
|
+
}), _(() => {
|
|
38
38
|
H["chart-background"] && U.value && console.warn("VueUiGizmo does not support the #chart-background slot.");
|
|
39
39
|
});
|
|
40
|
-
let U =
|
|
40
|
+
let U = l(() => G.value.debug);
|
|
41
41
|
function W() {
|
|
42
|
-
!B.dataset && B.dataset !== 0 &&
|
|
42
|
+
!B.dataset && B.dataset !== 0 && t({
|
|
43
43
|
componentName: "VueUiGizmo",
|
|
44
44
|
type: "dataset",
|
|
45
45
|
debug: U.value
|
|
46
46
|
}), 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
47
|
}
|
|
48
|
-
let G =
|
|
48
|
+
let G = y(Y()), K = l(() => r({
|
|
49
49
|
defaultConfig: {
|
|
50
50
|
stroke: "#6A6A6A80",
|
|
51
51
|
color: "#6A6A6A",
|
|
@@ -53,27 +53,27 @@ var C = /* @__PURE__ */ e({ default: () => B }), w = [
|
|
|
53
53
|
textColor: "transparent"
|
|
54
54
|
},
|
|
55
55
|
userConfig: G.value.skeletonConfig ?? {}
|
|
56
|
-
})), { loading: q, FINAL_DATASET: J, manualLoading: se } =
|
|
57
|
-
...
|
|
56
|
+
})), { loading: q, FINAL_DATASET: J, manualLoading: se } = o({
|
|
57
|
+
...ie(B),
|
|
58
58
|
FINAL_CONFIG: G,
|
|
59
59
|
prepareConfig: Y,
|
|
60
60
|
dsIsNumber: !0,
|
|
61
61
|
skeletonDataset: B.config?.skeletonDataset ?? 50,
|
|
62
|
-
skeletonConfig:
|
|
62
|
+
skeletonConfig: r({
|
|
63
63
|
defaultConfig: G.value,
|
|
64
64
|
userConfig: K.value
|
|
65
65
|
})
|
|
66
66
|
});
|
|
67
67
|
function Y() {
|
|
68
|
-
return
|
|
68
|
+
return ne({
|
|
69
69
|
userConfig: B.config,
|
|
70
|
-
defaultConfig:
|
|
70
|
+
defaultConfig: S
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
|
-
|
|
73
|
+
oe(() => B.config, (e) => {
|
|
74
74
|
G.value = Y(), W();
|
|
75
75
|
}, { deep: !0 });
|
|
76
|
-
let X =
|
|
76
|
+
let X = l(() => ({
|
|
77
77
|
battery: {
|
|
78
78
|
width: G.value.showPercentage ? 150 : 80,
|
|
79
79
|
height: 50
|
|
@@ -82,99 +82,99 @@ var C = /* @__PURE__ */ e({ default: () => B }), w = [
|
|
|
82
82
|
width: 80,
|
|
83
83
|
height: 80
|
|
84
84
|
}
|
|
85
|
-
})[G.value.type]), Z =
|
|
85
|
+
})[G.value.type]), Z = l(() => Math.min(Math.max(0, J.value), 100)), Q = l(() => Math.max(0, J.value)), $ = l(() => {
|
|
86
86
|
let e = 2 * Math.PI * 35, t = e - Z.value / 100 * e;
|
|
87
87
|
return {
|
|
88
88
|
dasharray: `${e} ${e}`,
|
|
89
89
|
dashoffset: t
|
|
90
90
|
};
|
|
91
91
|
});
|
|
92
|
-
return (e, t) => (
|
|
92
|
+
return (e, t) => (v(), f("div", {
|
|
93
93
|
class: "vue-data-ui-component vue-ui-gizmo-wrapper",
|
|
94
94
|
role: "progressbar",
|
|
95
95
|
"aria-label": G.value.a11y.translations.label,
|
|
96
96
|
"aria-valuemin": "0",
|
|
97
97
|
"aria-valuemax": "100",
|
|
98
|
-
"aria-valuenow":
|
|
98
|
+
"aria-valuenow": x(q) ? void 0 : Z.value,
|
|
99
99
|
"aria-valuetext": Z.value + "%",
|
|
100
|
-
"aria-busy":
|
|
101
|
-
}, [(
|
|
100
|
+
"aria-busy": x(q) ? "true" : "false"
|
|
101
|
+
}, [(v(), f("svg", {
|
|
102
102
|
class: "vue-ui-gizmo",
|
|
103
103
|
viewBox: `0 0 ${X.value.width} ${X.value.height}`,
|
|
104
104
|
width: G.value.size,
|
|
105
|
-
style:
|
|
105
|
+
style: g({
|
|
106
106
|
background: "transparent",
|
|
107
107
|
fontFamily: G.value.fontFamily
|
|
108
108
|
})
|
|
109
109
|
}, [
|
|
110
|
-
|
|
111
|
-
G.value.useGradient ? (
|
|
110
|
+
m(x(s)),
|
|
111
|
+
G.value.useGradient ? (v(), f("defs", T, [p("linearGradient", {
|
|
112
112
|
id: `gizmo_gradient_${V.value}`,
|
|
113
113
|
x1: "0%",
|
|
114
114
|
x2: "100%",
|
|
115
115
|
y1: "0%",
|
|
116
116
|
y2: "0%"
|
|
117
|
-
}, [
|
|
117
|
+
}, [p("stop", {
|
|
118
118
|
offset: "0%",
|
|
119
119
|
"stop-color": G.value.gradientColor
|
|
120
|
-
}, null, 8,
|
|
120
|
+
}, null, 8, D), p("stop", {
|
|
121
121
|
offset: "100%",
|
|
122
122
|
"stop-color": G.value.color
|
|
123
|
-
}, null, 8,
|
|
124
|
-
G.value.type === "battery" ? (
|
|
125
|
-
|
|
123
|
+
}, null, 8, O)], 8, E)])) : d("", !0),
|
|
124
|
+
G.value.type === "battery" ? (v(), f(c, { key: 1 }, [
|
|
125
|
+
p("path", {
|
|
126
126
|
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
127
|
stroke: G.value.stroke,
|
|
128
128
|
"stroke-width": 2,
|
|
129
129
|
fill: "none"
|
|
130
|
-
}, null, 8,
|
|
131
|
-
|
|
130
|
+
}, null, 8, k),
|
|
131
|
+
p("path", {
|
|
132
132
|
d: "M 70 16 L 70 34",
|
|
133
133
|
stroke: G.value.stroke,
|
|
134
134
|
"stroke-width": 2,
|
|
135
135
|
fill: "none",
|
|
136
136
|
style: { opacity: "0.5" }
|
|
137
|
-
}, null, 8,
|
|
138
|
-
|
|
137
|
+
}, null, 8, A),
|
|
138
|
+
p("rect", {
|
|
139
139
|
x: 10,
|
|
140
140
|
y: 10,
|
|
141
141
|
height: 30,
|
|
142
142
|
width: 55 * (Z.value / 100),
|
|
143
143
|
fill: G.value.useGradient ? `url(#gizmo_gradient_${V.value})` : G.value.color,
|
|
144
144
|
rx: 2
|
|
145
|
-
}, null, 8,
|
|
146
|
-
G.value.showPercentage ? (
|
|
145
|
+
}, null, 8, j),
|
|
146
|
+
G.value.showPercentage ? (v(), f("text", {
|
|
147
147
|
key: 0,
|
|
148
148
|
x: 85,
|
|
149
149
|
y: 32,
|
|
150
150
|
"text-anchor": "start",
|
|
151
151
|
"font-size": "20",
|
|
152
152
|
fill: G.value.textColor
|
|
153
|
-
}, x(
|
|
153
|
+
}, b(x(i)(G.value.formatter, Q.value, x(n)({
|
|
154
154
|
v: Q.value,
|
|
155
155
|
s: "%"
|
|
156
|
-
}))), 9,
|
|
157
|
-
], 64)) :
|
|
158
|
-
G.value.type === "gauge" ? (
|
|
159
|
-
G.value.useGradient ? (
|
|
156
|
+
}))), 9, M)) : d("", !0)
|
|
157
|
+
], 64)) : d("", !0),
|
|
158
|
+
G.value.type === "gauge" ? (v(), f(c, { key: 2 }, [
|
|
159
|
+
G.value.useGradient ? (v(), f("defs", N, [p("filter", {
|
|
160
160
|
id: `blur_${V.value}`,
|
|
161
161
|
x: "-50%",
|
|
162
162
|
y: "-50%",
|
|
163
163
|
width: "200%",
|
|
164
164
|
height: "200%"
|
|
165
|
-
}, [...t[0] ||= [
|
|
165
|
+
}, [...t[0] ||= [p("feGaussianBlur", {
|
|
166
166
|
in: "SourceGraphic",
|
|
167
167
|
stdDeviation: 1
|
|
168
|
-
}, null, -1)]], 8,
|
|
169
|
-
|
|
168
|
+
}, null, -1)]], 8, P)])) : d("", !0),
|
|
169
|
+
p("circle", {
|
|
170
170
|
cx: 40,
|
|
171
171
|
cy: 40,
|
|
172
172
|
r: 35,
|
|
173
173
|
stroke: G.value.stroke,
|
|
174
174
|
"stroke-width": 8,
|
|
175
175
|
fill: "none"
|
|
176
|
-
}, null, 8,
|
|
177
|
-
|
|
176
|
+
}, null, 8, F),
|
|
177
|
+
p("circle", {
|
|
178
178
|
cx: 40,
|
|
179
179
|
cy: 40,
|
|
180
180
|
r: 35,
|
|
@@ -188,11 +188,11 @@ var C = /* @__PURE__ */ e({ default: () => B }), w = [
|
|
|
188
188
|
transform: "rotate(-90deg)",
|
|
189
189
|
"transform-origin": "50% 50%"
|
|
190
190
|
}
|
|
191
|
-
}, null, 8,
|
|
192
|
-
G.value.useGradient ? (
|
|
191
|
+
}, null, 8, I),
|
|
192
|
+
G.value.useGradient ? (v(), f("g", {
|
|
193
193
|
key: 1,
|
|
194
194
|
filter: `url(#blur_${V.value})`
|
|
195
|
-
}, [
|
|
195
|
+
}, [p("circle", {
|
|
196
196
|
cx: 40,
|
|
197
197
|
cy: 40,
|
|
198
198
|
r: 35,
|
|
@@ -205,21 +205,21 @@ var C = /* @__PURE__ */ e({ default: () => B }), w = [
|
|
|
205
205
|
transform: "rotate(-90deg)",
|
|
206
206
|
"transform-origin": "50% 50%"
|
|
207
207
|
}
|
|
208
|
-
}, null, 8,
|
|
209
|
-
G.value.showPercentage ? (
|
|
208
|
+
}, null, 8, R)], 8, L)) : d("", !0),
|
|
209
|
+
G.value.showPercentage ? (v(), f("text", {
|
|
210
210
|
key: 2,
|
|
211
211
|
x: 40,
|
|
212
212
|
y: 47,
|
|
213
213
|
"text-anchor": "middle",
|
|
214
214
|
"font-size": "20",
|
|
215
215
|
fill: G.value.textColor
|
|
216
|
-
}, x(
|
|
216
|
+
}, b(x(i)(G.value.formatter, Q.value, x(n)({
|
|
217
217
|
v: Q.value,
|
|
218
218
|
s: "%"
|
|
219
|
-
}))), 9, z)) :
|
|
220
|
-
], 64)) :
|
|
221
|
-
], 12,
|
|
219
|
+
}))), 9, z)) : d("", !0)
|
|
220
|
+
], 64)) : d("", !0)
|
|
221
|
+
], 12, w)), re(e.$slots, "skeleton", {}, () => [x(q) ? (v(), u(te, { key: 0 })) : d("", !0)], !0)], 8, C));
|
|
222
222
|
}
|
|
223
223
|
}, [["__scopeId", "data-v-435edafd"]]);
|
|
224
224
|
//#endregion
|
|
225
|
-
export {
|
|
225
|
+
export { S as n, B as t };
|