vue-data-ui 3.22.8 → 3.22.10
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-DdymhUfY.js → Arrow-Ku6rQ87g.js} +1 -1
- package/dist/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-CdkCqtag.js} +2 -2
- package/dist/BaseIcon-CDTIUIKV.js +483 -0
- package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-BrQ2OlzI.js} +1 -1
- package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-CkEX0292.js} +2 -2
- package/dist/{ColorPicker-CK2-h611.js → ColorPicker-C959ZIW9.js} +2 -2
- package/dist/{DataTable-D9NvewTT.js → DataTable-ByZy5gt1.js} +2 -2
- package/dist/DefGrad-DVBqDjhO.js +48 -0
- package/dist/{Legend-ROt6ugzW.js → Legend-5VQGLnmx.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-Bd8OzTqw.js} +3 -3
- package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-BoTvk0i5.js} +1 -1
- package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-CLaZJl6K.js} +3 -3
- package/dist/{Shape-UpH0a4Ur.js → Shape-B5ksaGa1.js} +3 -3
- package/dist/{Slicer-BZ5VnOOS.js → Slicer-WsWTQPKt.js} +368 -363
- package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-3n516NyE.js} +460 -455
- package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-CbYYc-xb.js} +1 -1
- package/dist/{Title-CcNiYzEo.js → Title-Cr3jP7Qd.js} +1 -1
- package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CDbLl3TD.js} +1 -1
- package/dist/{UserOptions-16uF1ayB.js → UserOptions-BUQOnoPR.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-BbwhsRIr.js → dom-to-png-COPbGrdd.js} +1 -1
- package/dist/exposedLib-CZbtc2a6.js +25 -0
- package/dist/{img-DnP3eXuv.js → img-CNdXiUfZ.js} +1 -1
- package/dist/{labelUtils-DBEh078l.js → labelUtils-JaoYKi2N.js} +1 -1
- package/dist/{lib-JqW18y5I.js → lib-CnHx5WfV.js} +118 -107
- package/dist/{package-gp9pYCfN.js → package-BRBLwZUc.js} +1 -1
- package/dist/{pdf-hj3gzrE7.js → pdf-CEMzBeuV.js} +1 -1
- package/dist/{render-common-CLn1VXJ9.js → render-common-DJXFRGhU.js} +10 -10
- 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 +40 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-BUPt2iaP.js} +1 -1
- package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-D8NuRneO.js} +2 -2
- package/dist/{usePrinter-CqqHmnBI.js → usePrinter-B-X_Pub0.js} +2 -2
- package/dist/utils.js +26 -24
- package/dist/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-Bx_8d3b_.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-CfUfbpSE.js +1825 -0
- package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-Oo3IsX3-.js} +3 -3
- package/dist/vue-ui-age-pyramid-DD-4y5Jd.js +1247 -0
- package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BvGE3lzE.js} +8 -8
- package/dist/vue-ui-bullet-DYOdbaO2.js +710 -0
- package/dist/vue-ui-bump-B8fJoxHF.js +1249 -0
- package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-BUP1JoNs.js} +555 -544
- package/dist/vue-ui-carousel-table-D-Bwhydt.js +455 -0
- package/dist/vue-ui-chestnut-C2VK2NEx.js +2042 -0
- package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-AA-QjUQI.js} +42 -42
- package/dist/vue-ui-circle-pack-CdBFGYOK.js +1614 -0
- package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-Cm_J_5Gk.js} +5 -5
- package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CgRph4-n.js} +32 -32
- package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BuPw5QjB.js} +69 -69
- package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-ClrukmcB.js} +3 -3
- package/dist/vue-ui-donut-Bc-EPZvu.js +2419 -0
- package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-DtQCrMKL.js} +207 -207
- package/dist/vue-ui-donut-evolution-DHkiY-BD.js +1522 -0
- package/dist/vue-ui-dumbbell-BlHEH4Mw.js +1564 -0
- package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-PjwAW2tY.js} +71 -71
- package/dist/vue-ui-funnel-DojI09FV.js +782 -0
- package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-txYIK_LG.js} +276 -276
- package/dist/vue-ui-gauge-CoL0OzSd.js +926 -0
- package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-yuL-_sqF.js} +20 -20
- package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-CbC5zV3K.js} +66 -61
- package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-CwqsZIsR.js} +331 -331
- package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-CuWssH-D.js} +561 -550
- package/dist/vue-ui-horizontal-bar-Dyje3GND.js +1689 -0
- package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BdYenScF.js} +3 -3
- package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-BbwE3vBT.js} +2 -2
- package/dist/vue-ui-molecule-BBh31vmd.js +931 -0
- package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-B_6GFlaR.js} +336 -331
- package/dist/vue-ui-nested-donuts-BWq-At5Y.js +1493 -0
- package/dist/vue-ui-onion-BwGbSE-6.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-Bh9hNoqf.js +1416 -0
- package/dist/vue-ui-quadrant-B72Y4Zuw.js +1984 -0
- package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-B3LF2ViM.js} +108 -108
- package/dist/vue-ui-radar-4v_E8oGX.js +1287 -0
- package/dist/vue-ui-rating-CzLGCFWK.js +352 -0
- package/dist/vue-ui-relation-circle-B_8dyIv2.js +924 -0
- package/dist/{vue-ui-ridgeline-Cp3YP0xe.js → vue-ui-ridgeline-BArLhskj.js} +543 -537
- package/dist/vue-ui-rings-Csn5BgLk.js +1252 -0
- package/dist/vue-ui-scatter-BBaOx94M.js +2422 -0
- package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-KeIPGp9U.js} +426 -423
- package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-C1mYDh4R.js} +120 -107
- package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-EqCqmHmU.js} +145 -140
- package/dist/vue-ui-sparkbar-BPh45vBP.js +398 -0
- package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-CtouPcyW.js} +81 -76
- package/dist/{vue-ui-sparkhistogram-D02ff7ZI.js → vue-ui-sparkhistogram-D4sI0DHN.js} +166 -150
- package/dist/vue-ui-sparkline-BDFZ78Fz.js +1560 -0
- package/dist/vue-ui-sparkstackbar-CbTXIfxm.js +674 -0
- package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-nMXIY9x8.js} +603 -596
- package/dist/vue-ui-stackline-CzfXl5ah.js +2425 -0
- package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-BCf5nthl.js} +415 -408
- package/dist/vue-ui-table-BAKkFXki.js +1338 -0
- package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CUMxqHKK.js} +15 -15
- package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-BVTm16fd.js} +20 -20
- package/dist/vue-ui-thermometer-CGeEW1KV.js +770 -0
- package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-Bz7EnsM1.js} +94 -89
- package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-IOqtk_Rr.js} +17 -17
- package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-JxNNtb7v.js} +509 -504
- package/dist/vue-ui-waffle-D34mcJWi.js +1368 -0
- package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-B_qEhyvk.js} +44 -44
- package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-TtObhd91.js} +32 -32
- package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-R9o00A6c.js} +359 -348
- package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-CUt6sU1s.js} +1678 -1652
- package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Do34-UbE.js} +134 -134
- package/dist/vue-ui-xy-canvas-C6eRRH--.js +1790 -0
- package/package.json +1 -1
- package/dist/BaseIcon-C2qlyHc7.js +0 -502
- package/dist/exposedLib-VXFp3Z2c.js +0 -19
- package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
- package/dist/vue-ui-age-pyramid-DTAOc7fn.js +0 -1238
- package/dist/vue-ui-bullet-CCLnrOLm.js +0 -710
- package/dist/vue-ui-bump-Rq7efdoe.js +0 -1249
- package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +0 -455
- package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
- package/dist/vue-ui-donut-C3Rt6j-I.js +0 -2410
- package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
- package/dist/vue-ui-dumbbell-wK7vUB0x.js +0 -1530
- package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
- package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
- package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +0 -1683
- package/dist/vue-ui-molecule-CExCqZ08.js +0 -925
- package/dist/vue-ui-nested-donuts-3TRV8pN-.js +0 -1487
- package/dist/vue-ui-onion-DwKK9DXn.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +0 -1416
- package/dist/vue-ui-quadrant-ByVg-NBs.js +0 -1978
- package/dist/vue-ui-radar-DE-me6OC.js +0 -1281
- package/dist/vue-ui-rating-CzD3EQ3G.js +0 -343
- package/dist/vue-ui-relation-circle-L7-dTqet.js +0 -924
- package/dist/vue-ui-rings-WzWiEo9W.js +0 -1246
- package/dist/vue-ui-scatter-DwrAydha.js +0 -2413
- package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
- package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
- package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +0 -662
- package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
- package/dist/vue-ui-table-Q3brrivC.js +0 -1338
- package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
- package/dist/vue-ui-waffle-Pi9e7Ae7.js +0 -1362
- package/dist/vue-ui-xy-canvas-BfgeE3TW.js +0 -1790
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { K as t, Wt as n, bt as r, qt as i, t as a, x as o } from "./lib-CnHx5WfV.js";
|
|
3
3
|
import { t as s } from "./useConfig-DYM3f6EI.js";
|
|
4
|
-
import { t as c } from "./usePrinter-
|
|
4
|
+
import { t as c } from "./usePrinter-B-X_Pub0.js";
|
|
5
5
|
import { n as l, t as u } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as d } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as f } from "./useNestedProp-
|
|
7
|
+
import { t as f } from "./useNestedProp-D8NuRneO.js";
|
|
8
8
|
import { t as p } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as ee } from "./img-
|
|
10
|
-
import { n as te } from "./Title-
|
|
9
|
+
import { t as ee } from "./img-CNdXiUfZ.js";
|
|
10
|
+
import { n as te } from "./Title-Cr3jP7Qd.js";
|
|
11
11
|
import { t as ne } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { c as re } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as ie } from "./useResponsive-BfnK0KxU.js";
|
|
@@ -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-CkEX0292.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-
|
|
97
|
+
let ze = he(() => import("./Tooltip-CDbLl3TD.js")), Be = he(() => import("./UserOptions-BUQOnoPR.js").then((e) => e.n)), Ve = he(() => import("./PenAndPaper-CLaZJl6K.js").then((e) => e.t)), He = he(() => import("./PackageVersion-BoTvk0i5.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);
|
|
@@ -117,7 +117,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
117
117
|
defaultConfig: n
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
|
-
let L = C(at()), ot = m(() => L.value.userOptions.useCursorPointer), { userOptionsVisible: st, keepUserOptionState: ct } = oe({ config: L.value }), { svgRef: R } = se({ config: L.value.style.chart.title }), lt = m(() =>
|
|
120
|
+
let L = C(at()), ot = m(() => L.value.userOptions.useCursorPointer), { userOptionsVisible: st, keepUserOptionState: ct } = oe({ config: L.value }), { svgRef: R } = se({ config: L.value.style.chart.title }), lt = m(() => i({
|
|
121
121
|
defaultConfig: {
|
|
122
122
|
map: { geoJson: {
|
|
123
123
|
type: "FeatureCollection",
|
|
@@ -197,7 +197,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
197
197
|
prepareConfig: at,
|
|
198
198
|
allowEmptyDataset: !0,
|
|
199
199
|
skeletonDataset: D.config?.skeletonDataset ?? [],
|
|
200
|
-
skeletonConfig:
|
|
200
|
+
skeletonConfig: i({
|
|
201
201
|
defaultConfig: L.value,
|
|
202
202
|
userConfig: lt.value
|
|
203
203
|
})
|
|
@@ -532,12 +532,12 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
532
532
|
}).filter(Boolean)), Bt = m(() => {
|
|
533
533
|
let e = [];
|
|
534
534
|
function t(e = {}) {
|
|
535
|
-
let t = e?.style && typeof e.style == "object" ? e.style : {}, n = e.radius ?? e.r ?? t.radius ?? t.r, r = e.color ?? e.fill ?? t.color ?? t.fill,
|
|
535
|
+
let t = e?.style && typeof e.style == "object" ? e.style : {}, n = e.radius ?? e.r ?? t.radius ?? t.r, r = e.color ?? e.fill ?? t.color ?? t.fill, i = e.stroke ?? t.stroke, a = e.strokeWidth ?? e.stroke_width ?? t.strokeWidth ?? t.stroke_width;
|
|
536
536
|
return {
|
|
537
537
|
radius: Number.isFinite(Number(n)) ? Number(n) : Number(L.value.style.chart.points.radius),
|
|
538
|
-
fill: r != null && String(r).trim() ?
|
|
539
|
-
stroke:
|
|
540
|
-
strokeWidth: Number.isFinite(Number(
|
|
538
|
+
fill: r != null && String(r).trim() ? o(String(r).trim()) : L.value.style.chart.points.fill,
|
|
539
|
+
stroke: i != null && String(i).trim() ? o(String(i).trim()) : L.value.style.chart.points.stroke,
|
|
540
|
+
strokeWidth: Number.isFinite(Number(a)) ? Number(a) : Number(L.value.style.chart.points.strokeWidth)
|
|
541
541
|
};
|
|
542
542
|
}
|
|
543
543
|
for (let n of Lt.value) {
|
|
@@ -769,7 +769,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
769
769
|
...e,
|
|
770
770
|
x: n,
|
|
771
771
|
y: r,
|
|
772
|
-
fill: e.color ?
|
|
772
|
+
fill: e.color ? o(e.color) : L.value.style.chart.points.fill,
|
|
773
773
|
radius: Number.isFinite(Number(e.radius)) ? Number(e.radius) : L.value.style.chart.points.radius
|
|
774
774
|
};
|
|
775
775
|
}).filter(Boolean)), G = m(() => ln.value.map((e, t) => ({
|
|
@@ -777,10 +777,10 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
777
777
|
keyboardIndex: t
|
|
778
778
|
})));
|
|
779
779
|
function un(e) {
|
|
780
|
-
let t = $t(e),
|
|
781
|
-
|
|
782
|
-
x:
|
|
783
|
-
y:
|
|
780
|
+
let t = $t(e), r = n(t.x, t.y, R.value);
|
|
781
|
+
r && (nt.value = {
|
|
782
|
+
x: r.x,
|
|
783
|
+
y: r.y
|
|
784
784
|
});
|
|
785
785
|
}
|
|
786
786
|
let dn = C(!1), fn = C(""), K = C(!1), q = C(null), J = C(null);
|
|
@@ -801,7 +801,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
801
801
|
config: L.value
|
|
802
802
|
}, K.value = !1;
|
|
803
803
|
let t = L.value.style.chart.tooltip.customFormat;
|
|
804
|
-
if (
|
|
804
|
+
if (r(t)) try {
|
|
805
805
|
let e = t(j.value);
|
|
806
806
|
if (typeof e == "string") return K.value = !0, e;
|
|
807
807
|
} catch {
|
|
@@ -812,7 +812,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
812
812
|
function gn(e) {
|
|
813
813
|
K.value = !1;
|
|
814
814
|
let t = L.value.style.chart.tooltip.customFormat;
|
|
815
|
-
if (
|
|
815
|
+
if (r(t)) try {
|
|
816
816
|
let n = t({
|
|
817
817
|
datapoint: e,
|
|
818
818
|
config: L.value
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { K as t, Y as n, et as ee, i as r, qt as i } from "./lib-CnHx5WfV.js";
|
|
3
3
|
import { t as a } from "./useConfig-DYM3f6EI.js";
|
|
4
|
-
import { n as o, t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
4
|
+
import { n as o, t as s } from "./BaseScanner-DZvpgOjM.js";
|
|
5
|
+
import { t as c } from "./useNestedProp-D8NuRneO.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,21 +32,21 @@ 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-BoTvk0i5.js").then((e) => e.t)), { vue_ui_gizmo: T } = a(), B = e, V = b(t()), 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
|
-
!B.dataset && B.dataset !== 0 &&
|
|
43
|
+
!B.dataset && B.dataset !== 0 && ee({
|
|
43
44
|
componentName: "VueUiGizmo",
|
|
44
45
|
type: "dataset",
|
|
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 } = o({
|
|
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(r)(G.value.formatter, Q.value, w(n)({
|
|
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(r)(G.value.formatter, Q.value, w(n)({
|
|
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 };
|