vue-data-ui 3.20.11 → 3.21.0
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-D6j6ocXm.js → Arrow-_pDGXl76.js} +1 -1
- package/dist/{BaseDraggableDialog-4hDW-Rj2.js → BaseDraggableDialog-BvaFJWHb.js} +2 -2
- package/dist/{BaseIcon-DfLoHNUj.js → BaseIcon-CbDazQLH.js} +1 -1
- package/dist/{BaseLegendToggle-C_Db-y7s.js → BaseLegendToggle-BNRi408o.js} +1 -1
- package/dist/{BaseZoomControls-CG7hI_1P.js → BaseZoomControls-Dbtq9oyx.js} +2 -2
- package/dist/{ColorPicker-Bjwxnvfh.js → ColorPicker-B4ob7JgP.js} +2 -2
- package/dist/{DataTable-B--IN22e.js → DataTable-DweDyHc1.js} +2 -2
- package/dist/{Legend-Cz2uQ5gs.js → Legend-BLhREbj7.js} +2 -2
- package/dist/{NonSvgPenAndPaper-gLNJ1Lmr.js → NonSvgPenAndPaper-BzZyMJBF.js} +3 -3
- package/dist/{PackageVersion-eS823iMF.js → PackageVersion-DYLo3MRd.js} +1 -1
- package/dist/{PenAndPaper-DqrClVfb.js → PenAndPaper-D4aFMYZf.js} +3 -3
- package/dist/{Shape-BPCJfphn.js → Shape-BxFtoF1z.js} +1 -1
- package/dist/{Slicer-SHBj0VaV.js → Slicer-GABgkLkB.js} +2 -2
- package/dist/{SlicerPreview-By4kBVCY.js → SlicerPreview-CXLgqXX8.js} +6 -6
- package/dist/{SparkTooltip-CfE6yCad.js → SparkTooltip-CdSRUoZN.js} +6 -6
- package/dist/{Title-NWp4qB4K.js → Title-DH6G8_cZ.js} +1 -1
- package/dist/{Tooltip-BENq327o.js → Tooltip-979Ytd8R.js} +1 -1
- package/dist/{UserOptions-C1NgoGu6.js → UserOptions-qFz-9Pnw.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-BYtB4BF3.js → dom-to-png-CtV3uxDJ.js} +1 -1
- package/dist/exposedLib-BJbE_A8E.js +19 -0
- package/dist/{img-1cKsci8e.js → img-C_RNNswI.js} +1 -1
- package/dist/{labelUtils-CUctkYoA.js → labelUtils-Bycs-017.js} +1 -1
- package/dist/{lib-DUeYQsS0.js → lib-AJRHFE5U.js} +12 -6
- package/dist/{pdf-D0eZ99cP.js → pdf-CdX23zf1.js} +1 -1
- package/dist/ssr.js +1366 -0
- package/dist/types/ssr.d.ts +128 -0
- package/dist/types/vue-data-ui.d.ts +135 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-BIVntRZp.js → useAutoSizeLabelsInsideViewbox-kjVKQz36.js} +1 -1
- package/dist/{useNestedProp-CNcoy38D.js → useNestedProp-DtcXIg7n.js} +1 -1
- package/dist/{usePrinter-C1Gqt_Sp.js → usePrinter-6n2MzVyV.js} +2 -2
- package/dist/utils.js +8 -8
- package/dist/{vue-data-ui-0t8DsSSW.js → vue-data-ui-D2dM3IQZ.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-0C_yshya.js +1757 -0
- package/dist/{vue-ui-accordion-Bpbv-VHE.js → vue-ui-accordion-DLnwuQda.js} +3 -3
- package/dist/vue-ui-age-pyramid-DFNELwbT.js +1238 -0
- package/dist/{vue-ui-annotator-Q57JevNc.js → vue-ui-annotator-BljP5cB7.js} +8 -8
- package/dist/vue-ui-bullet-ChQq42AN.js +710 -0
- package/dist/{vue-ui-bump-CE8VRCs2.js → vue-ui-bump-BVCYywuS.js} +253 -253
- package/dist/{vue-ui-candlestick-B4tkLoQe.js → vue-ui-candlestick-CQ0nfkmL.js} +276 -276
- package/dist/vue-ui-carousel-table-Cvi1gsKR.js +455 -0
- package/dist/vue-ui-chestnut-DeWbKqze.js +2010 -0
- package/dist/vue-ui-chord-bRXYWpGT.js +1391 -0
- package/dist/{vue-ui-circle-pack-SCxS2mrl.js → vue-ui-circle-pack-DWO8x9gf.js} +36 -36
- package/dist/{vue-ui-cursor-DT8uNrQa.js → vue-ui-cursor-BKGUvOWO.js} +3 -3
- package/dist/{vue-ui-dag-CK30vhll.js → vue-ui-dag-lL0juBzN.js} +20 -20
- package/dist/{vue-ui-dashboard-Cf21Q0H0.js → vue-ui-dashboard-CEk2z8v9.js} +69 -69
- package/dist/{vue-ui-digits-DiapBzIK.js → vue-ui-digits-BAjr0eIJ.js} +3 -3
- package/dist/vue-ui-donut-BsSpIinL.js +2410 -0
- package/dist/vue-ui-donut-evolution-1UhFKEgG.js +1510 -0
- package/dist/vue-ui-dumbbell-ChqJicg9.js +1530 -0
- package/dist/{vue-ui-flow-uPuvDSxv.js → vue-ui-flow-BXfzMTXx.js} +57 -57
- package/dist/{vue-ui-funnel-CCy9NFKa.js → vue-ui-funnel-BpnC82m0.js} +32 -32
- package/dist/{vue-ui-galaxy-BjoOO1lq.js → vue-ui-galaxy-FNzwDOH1.js} +330 -330
- package/dist/vue-ui-gauge-D6I78FZr.js +920 -0
- package/dist/{vue-ui-geo-C8FXD9it.js → vue-ui-geo-Z1xuH8r6.js} +18 -18
- package/dist/{vue-ui-gizmo-BiLdRUEw.js → vue-ui-gizmo-ZlmJIh0_.js} +62 -62
- package/dist/{vue-ui-heatmap-D3ewCJX6.js → vue-ui-heatmap-BWN0UBKE.js} +264 -264
- package/dist/{vue-ui-history-plot-BpyvvMPA.js → vue-ui-history-plot-2E6KrNhv.js} +74 -74
- package/dist/vue-ui-horizontal-bar-BzP7k_3J.js +1681 -0
- package/dist/{vue-ui-kpi-YCPfpGty.js → vue-ui-kpi-B9bdicir.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bi0nsbao.js → vue-ui-mini-loader-BnLOdRA0.js} +2 -2
- package/dist/vue-ui-molecule-B-69fE_1.js +925 -0
- package/dist/{vue-ui-mood-radar-81X63j-D.js → vue-ui-mood-radar-D3kF7iHz.js} +21 -21
- package/dist/{vue-ui-nested-donuts-C1j-h8RW.js → vue-ui-nested-donuts-CTmomXj1.js} +256 -256
- package/dist/{vue-ui-onion-CZLJxedN.js → vue-ui-onion-3fJB4mfC.js} +45 -45
- package/dist/{vue-ui-parallel-coordinate-plot-Czndz3oA.js → vue-ui-parallel-coordinate-plot-CKKkbBlu.js} +39 -39
- package/dist/{vue-ui-quadrant-LwMr7DKL.js → vue-ui-quadrant-DGLnjwva.js} +355 -355
- package/dist/{vue-ui-quick-chart-C20W7LNY.js → vue-ui-quick-chart-DJnhlEXi.js} +359 -359
- package/dist/vue-ui-radar-AIBX0QYs.js +1229 -0
- package/dist/{vue-ui-rating-D8QQctnQ.js → vue-ui-rating-pDVqT08V.js} +33 -33
- package/dist/vue-ui-relation-circle-BQVR8L9Y.js +924 -0
- package/dist/{vue-ui-ridgeline-B5BRKUoc.js → vue-ui-ridgeline-CYq3APPQ.js} +54 -54
- package/dist/{vue-ui-rings-DVA3hiUL.js → vue-ui-rings-BgFO7NYF.js} +81 -81
- package/dist/vue-ui-scatter-BPu5DwaJ.js +2413 -0
- package/dist/{vue-ui-skeleton-DxXA3XSP.js → vue-ui-skeleton-qpdvvWtx.js} +41 -41
- package/dist/{vue-ui-smiley-CqwB6Uhu.js → vue-ui-smiley-DUI5n89s.js} +16 -16
- package/dist/{vue-ui-spark-trend-B3mkyeZ3.js → vue-ui-spark-trend-CQ9ZN5sL.js} +27 -27
- package/dist/{vue-ui-sparkbar-BlmV-ndv.js → vue-ui-sparkbar-d6ctWlLA.js} +83 -83
- package/dist/{vue-ui-sparkgauge-DKRJDqAS.js → vue-ui-sparkgauge-HX_rqLxX.js} +44 -44
- package/dist/{vue-ui-sparkhistogram-BNiXxI65.js → vue-ui-sparkhistogram-B_zxKMHv.js} +110 -110
- package/dist/vue-ui-sparkline-BSdOdtKu.js +1507 -0
- package/dist/{vue-ui-sparkstackbar-C6qMimoL.js → vue-ui-sparkstackbar-B2sqpW-w.js} +155 -155
- package/dist/{vue-ui-stackbar-C7jTnGyT.js → vue-ui-stackbar-DH75CCpy.js} +81 -81
- package/dist/vue-ui-stackline-CXodezD1.js +2398 -0
- package/dist/{vue-ui-strip-plot-CvjdxEOT.js → vue-ui-strip-plot-C1un5Mku.js} +90 -90
- package/dist/{vue-ui-table-B0zkvlw5.js → vue-ui-table-R-aXpHvF.js} +78 -78
- package/dist/{vue-ui-table-heatmap-xwfStZrD.js → vue-ui-table-heatmap-C1e_7MJ2.js} +16 -16
- package/dist/{vue-ui-table-sparkline-BQjo2sbB.js → vue-ui-table-sparkline-Dy-6i82F.js} +22 -22
- package/dist/{vue-ui-thermometer-CVhxnkN-.js → vue-ui-thermometer-CIse_lcE.js} +21 -21
- package/dist/{vue-ui-timer-Cimuw9rF.js → vue-ui-timer-AlYvthQ6.js} +23 -23
- package/dist/{vue-ui-tiremarks-CSPL1oli.js → vue-ui-tiremarks-CP_bw6by.js} +19 -19
- package/dist/{vue-ui-treemap-BWivpffU.js → vue-ui-treemap-BXrV5VAp.js} +65 -65
- package/dist/{vue-ui-waffle-FmLPDL2g.js → vue-ui-waffle-uoqEnQ30.js} +232 -232
- package/dist/{vue-ui-wheel-BjdVO5f4.js → vue-ui-wheel-DLgw_xfe.js} +36 -36
- package/dist/{vue-ui-word-cloud-hhjEM6ee.js → vue-ui-word-cloud-Bgu-qbcp.js} +35 -35
- package/dist/{vue-ui-world-H9HX6smc.js → vue-ui-world-B93iq1ZM.js} +445 -445
- package/dist/vue-ui-xy-DzuOBbPL.js +4744 -0
- package/dist/{vue-ui-xy-canvas-kbP-mjEo.js → vue-ui-xy-canvas-DjxM7y3T.js} +60 -60
- package/package.json +5 -1
- package/dist/exposedLib-CI8ji8G-.js +0 -19
- package/dist/vue-ui-3d-bar-D1dX4mDU.js +0 -1757
- package/dist/vue-ui-age-pyramid-BYIxO-rR.js +0 -1238
- package/dist/vue-ui-bullet-B65T4IyK.js +0 -710
- package/dist/vue-ui-carousel-table-DB1kG5AJ.js +0 -455
- package/dist/vue-ui-chestnut-CXzK4gsf.js +0 -2010
- package/dist/vue-ui-chord-BhuABwXT.js +0 -1391
- package/dist/vue-ui-donut-DrM628Ge.js +0 -2410
- package/dist/vue-ui-donut-evolution-CIXY4tKY.js +0 -1510
- package/dist/vue-ui-dumbbell-B8V84XkY.js +0 -1530
- package/dist/vue-ui-gauge-DbV0oQs3.js +0 -920
- package/dist/vue-ui-horizontal-bar-DoCvNzdC.js +0 -1681
- package/dist/vue-ui-molecule-IFNTvQdE.js +0 -925
- package/dist/vue-ui-radar-Dxopl3RI.js +0 -1229
- package/dist/vue-ui-relation-circle-CMRXow6X.js +0 -924
- package/dist/vue-ui-scatter-DcveiIfl.js +0 -2413
- package/dist/vue-ui-sparkline-C5EDZIAt.js +0 -1507
- package/dist/vue-ui-stackline-fdOF6lLn.js +0 -2398
- package/dist/vue-ui-xy-omDIF90L.js +0 -4744
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { H as t, Ht as n, ht as r, t as i, y as a, zt as o } from "./lib-AJRHFE5U.js";
|
|
3
3
|
import { t as s } from "./useConfig-DnH7Pf_2.js";
|
|
4
|
-
import { t as c } from "./usePrinter-
|
|
4
|
+
import { t as c } from "./usePrinter-6n2MzVyV.js";
|
|
5
5
|
import { n as l, t as u } from "./BaseScanner-Dr2a1Msy.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-DtcXIg7n.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-C_RNNswI.js";
|
|
10
|
+
import { n as te } from "./Title-DH6G8_cZ.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-BCbtxMU6.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-Dbtq9oyx.js";
|
|
19
19
|
import { t as ue } from "./geoProjections-Czak6Jn1.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-979Ytd8R.js")), Be = he(() => import("./UserOptions-qFz-9Pnw.js").then((e) => e.n)), Ve = he(() => import("./PenAndPaper-D4aFMYZf.js").then((e) => e.t)), He = he(() => import("./PackageVersion-DYLo3MRd.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(() => n({
|
|
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: n({
|
|
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, i = e.stroke ?? t.stroke,
|
|
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, o = 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: i != null && String(i).trim() ?
|
|
540
|
-
strokeWidth: Number.isFinite(Number(
|
|
538
|
+
fill: r != null && String(r).trim() ? a(String(r).trim()) : L.value.style.chart.points.fill,
|
|
539
|
+
stroke: i != null && String(i).trim() ? a(String(i).trim()) : L.value.style.chart.points.stroke,
|
|
540
|
+
strokeWidth: Number.isFinite(Number(o)) ? Number(o) : 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 ? a(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,7 +777,7 @@ 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), n =
|
|
780
|
+
let t = $t(e), n = o(t.x, t.y, R.value);
|
|
781
781
|
n && (nt.value = {
|
|
782
782
|
x: n.x,
|
|
783
783
|
y: n.y
|
|
@@ -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
|
|
@@ -1321,7 +1321,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1321
1321
|
v("div", Oe, [(S(), _("svg", {
|
|
1322
1322
|
ref_key: "svgRef",
|
|
1323
1323
|
ref: R,
|
|
1324
|
-
xmlns: T(
|
|
1324
|
+
xmlns: T(i),
|
|
1325
1325
|
viewBox: nn.value,
|
|
1326
1326
|
preserveAspectRatio: "xMidYMid meet",
|
|
1327
1327
|
"aria-describedby": `map-keyboard-instructions-${O.value}`,
|
|
@@ -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 { G as t, H as n, Ht as r, X as ee, i } from "./lib-AJRHFE5U.js";
|
|
3
|
+
import { t as a } from "./useConfig-DnH7Pf_2.js";
|
|
4
|
+
import { n as o, t as te } from "./BaseScanner-Dr2a1Msy.js";
|
|
5
|
+
import { t as ne } from "./useNestedProp-DtcXIg7n.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-DYLo3MRd.js").then((e) => e.t)), { vue_ui_gizmo: S } = a(), B = e, V = y(n()), 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 && ee({
|
|
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,
|
|
92
|
+
return (e, n) => (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(t)({
|
|
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
|
-
}, [...
|
|
165
|
+
}, [...n[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(t)({
|
|
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 };
|