vue-data-ui 3.22.6 → 3.22.7
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-Ds4xmpiQ.js → Arrow-DaGI9u-b.js} +1 -1
- package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-1wwwdwV2.js} +2 -2
- package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-_-BX7be3.js} +1 -1
- package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-CHnlKalt.js} +1 -1
- package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C9bdZSCj.js} +2 -2
- package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-TB3KhY3j.js} +2 -2
- package/dist/{DataTable-CXfvIulC.js → DataTable-CVF7DoZn.js} +2 -2
- package/dist/{Legend-D-635Kag.js → Legend-kAr7Vqqu.js} +2 -2
- package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-CEiv7_gM.js} +29 -29
- package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-Dse0n05o.js} +1 -1
- package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-gaV1QPpP.js} +18 -18
- package/dist/{Shape-BSetplwm.js → Shape-CiQIxyyT.js} +1 -1
- package/dist/{Slicer-ClIGOuoX.js → Slicer-6FOtg9py.js} +2 -2
- package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-DUywypFu.js} +4 -4
- package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-B-qsPj68.js} +1 -1
- package/dist/{Title-C-p0ilWB.js → Title-PiTKr6sp.js} +1 -1
- package/dist/{Tooltip-YabpoXo1.js → Tooltip-B8yYfISA.js} +1 -1
- package/dist/{UserOptions-BO4VFL8O.js → UserOptions-BL9VlHop.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-CVJfsfwL.js → dom-to-png-BZjYWNEg.js} +1 -1
- package/dist/exposedLib-Be0ifkti.js +19 -0
- package/dist/{img-B_y5qDdm.js → img-B_abIg0o.js} +1 -1
- package/dist/{labelUtils-CyVwqXSh.js → labelUtils-CTDRZdP1.js} +1 -1
- package/dist/{lib-DRBJCmHW.js → lib-EAmk-PgA.js} +14 -1
- package/dist/{package-DyQ_PQis.js → package-DeMimPej.js} +1 -1
- package/dist/{pdf-CG02qhAH.js → pdf-B6qrdEqB.js} +1 -1
- package/dist/{render-common-CUAlQvAQ.js → render-common-DMai0gHB.js} +2 -2
- 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/{useAutoSizeLabelsInsideViewbox-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-CyOGrdD_.js} +1 -1
- package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-D8XqxgOU.js} +1 -1
- package/dist/{usePrinter-CRp5IW3v.js → usePrinter-DnGzpp6Q.js} +2 -2
- package/dist/utils.js +10 -10
- package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-D6qVWloL.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-CjNuWXoA.js +1757 -0
- package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-Dzz8XhX3.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BF5ZuuyI.js → vue-ui-age-pyramid-CC7Dxli-.js} +21 -21
- package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-DXZumSP8.js} +67 -67
- package/dist/{vue-ui-bullet-C_oBS1cr.js → vue-ui-bullet-Dde6FhbR.js} +17 -17
- package/dist/{vue-ui-bump-BZB1Na8h.js → vue-ui-bump-C5pni1JV.js} +243 -243
- package/dist/{vue-ui-candlestick-8d_1xO8X.js → vue-ui-candlestick-Ctw65O4_.js} +449 -446
- package/dist/{vue-ui-carousel-table-BfZNcwmY.js → vue-ui-carousel-table-BEUvhUH0.js} +42 -42
- package/dist/vue-ui-chestnut-C3IbAdkQ.js +2010 -0
- package/dist/vue-ui-chord-5eCWG4br.js +1391 -0
- package/dist/{vue-ui-circle-pack-BLh8HnGK.js → vue-ui-circle-pack-Cq4lkmee.js} +31 -31
- package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLJcFwRZ.js} +3 -3
- package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DemsIecS.js} +23 -23
- package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-DWHD_wNN.js} +69 -69
- package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-sIKc85vS.js} +3 -3
- package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-CLheJPcO.js} +414 -414
- package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-Dp6GW0dw.js} +85 -85
- package/dist/{vue-ui-donut-evolution-D1k4u6cA.js → vue-ui-donut-evolution-zmRPpJLj.js} +419 -419
- package/dist/vue-ui-dumbbell-bSbgHd0U.js +1530 -0
- package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-q_M7O1BK.js} +83 -83
- package/dist/vue-ui-funnel-BEZUEuuh.js +777 -0
- package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DCCWmIyH.js} +250 -250
- package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-B1ljgfE1.js} +216 -216
- package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-CM59rpnj.js} +17 -17
- package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-D2RL6IVp.js} +62 -62
- package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-BX6PQxML.js} +245 -245
- package/dist/vue-ui-history-plot-DaHAeQph.js +1715 -0
- package/dist/{vue-ui-horizontal-bar-CwB4sc6M.js → vue-ui-horizontal-bar-CTW6l4n3.js} +274 -274
- package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-DLbP7lJR.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-DPHzHsM7.js} +2 -2
- package/dist/vue-ui-molecule-aD0SMTiX.js +925 -0
- package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-CCWaPr0P.js} +29 -29
- package/dist/{vue-ui-nested-donuts-wfesrzle.js → vue-ui-nested-donuts--BCPWkl7.js} +104 -104
- package/dist/{vue-ui-onion-B8-psLbF.js → vue-ui-onion-s4iMCGAP.js} +39 -39
- package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +1416 -0
- package/dist/vue-ui-quadrant-T_UmRAAy.js +1978 -0
- package/dist/vue-ui-quick-chart-D1OWBgQJ.js +2469 -0
- package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-CHjeGOMC.js} +78 -78
- package/dist/{vue-ui-rating-CKWHDKOT.js → vue-ui-rating-Bek8Tgr-.js} +33 -33
- package/dist/vue-ui-relation-circle-DRZGQ_UX.js +924 -0
- package/dist/{vue-ui-ridgeline-DVbYznRz.js → vue-ui-ridgeline-DIODGiu8.js} +101 -101
- package/dist/vue-ui-rings-CcdUSXGG.js +1246 -0
- package/dist/vue-ui-scatter-CixnqLoi.js +2413 -0
- package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-Fmue6DAG.js} +3 -3
- package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-BVMI5vUy.js} +9 -9
- package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-DfZeLiWA.js} +98 -98
- package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-Cl1e49sw.js} +87 -87
- package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DDNNBIdf.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-ny_liYa6.js} +104 -104
- package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-BNxdO-Bx.js} +268 -268
- package/dist/vue-ui-sparkstackbar-BfF5-Wg2.js +662 -0
- package/dist/vue-ui-stackbar-B-2Me3d-.js +2332 -0
- package/dist/{vue-ui-stackline-C0NHBUaE.js → vue-ui-stackline-CdvVPQUM.js} +697 -694
- package/dist/{vue-ui-strip-plot-_6LL45i9.js → vue-ui-strip-plot-CRXPXA5V.js} +368 -368
- package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Dr1dK3d_.js} +25 -25
- package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D-Qrm3oX.js} +5 -5
- package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-C31Q32My.js} +201 -201
- package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-BUrtIfuo.js} +119 -119
- package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-B5bkNNHS.js} +29 -29
- package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-Bn8b-ZSz.js} +14 -14
- package/dist/vue-ui-treemap-LMWiicop.js +1713 -0
- package/dist/{vue-ui-waffle-afa8HSxz.js → vue-ui-waffle-B_L3gkky.js} +306 -306
- package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-CeVwXtEX.js} +36 -36
- package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-D81-qJLw.js} +37 -37
- package/dist/{vue-ui-world-CqS-HhZl.js → vue-ui-world-B7npRmTa.js} +399 -399
- package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-C2p9H2IX.js} +1438 -1436
- package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-OhwS0kcZ.js} +218 -218
- package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-DLKDdH35.js} +420 -417
- package/package.json +1 -1
- package/dist/exposedLib-CjwriUaG.js +0 -19
- package/dist/vue-ui-3d-bar-BAH0jNtT.js +0 -1757
- package/dist/vue-ui-chestnut-Cx8T3NEl.js +0 -2010
- package/dist/vue-ui-chord-B-sauvLo.js +0 -1391
- package/dist/vue-ui-dumbbell-DgmvPpK2.js +0 -1530
- package/dist/vue-ui-funnel-BYCFV5TD.js +0 -777
- package/dist/vue-ui-history-plot-B7zuCfdg.js +0 -1715
- package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
- package/dist/vue-ui-parallel-coordinate-plot-DBpHCFxa.js +0 -1416
- package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
- package/dist/vue-ui-quick-chart-so_8PzvS.js +0 -2469
- package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
- package/dist/vue-ui-rings-c-yLWFHr.js +0 -1246
- package/dist/vue-ui-scatter-QhmE7n1H.js +0 -2413
- package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +0 -662
- package/dist/vue-ui-stackbar-DDvuDGQ_.js +0 -2329
- package/dist/vue-ui-treemap-B03c4RIy.js +0 -1713
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Gt as t, Ht as n, W as r, b as i, t as a, vt as o } from "./lib-EAmk-PgA.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-DnGzpp6Q.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-D8XqxgOU.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-B_abIg0o.js";
|
|
10
|
+
import { n as te } from "./Title-PiTKr6sp.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-C9bdZSCj.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-B8yYfISA.js")), Be = he(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), Ve = he(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), He = he(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), D = e, Ue = Te, { vue_ui_geo: We } = s(), { isThemeValid: Ge, warnInvalidTheme: Ke } = p(), O = C(r()), 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(() => t({
|
|
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: t({
|
|
201
201
|
defaultConfig: L.value,
|
|
202
202
|
userConfig: lt.value
|
|
203
203
|
})
|
|
@@ -532,11 +532,11 @@ 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, a = 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:
|
|
538
|
+
fill: r != null && String(r).trim() ? i(String(r).trim()) : L.value.style.chart.points.fill,
|
|
539
|
+
stroke: a != null && String(a).trim() ? i(String(a).trim()) : L.value.style.chart.points.stroke,
|
|
540
540
|
strokeWidth: Number.isFinite(Number(o)) ? Number(o) : Number(L.value.style.chart.points.strokeWidth)
|
|
541
541
|
};
|
|
542
542
|
}
|
|
@@ -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 ? i(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
|
|
780
|
+
let t = $t(e), r = n(t.x, t.y, R.value);
|
|
781
781
|
r && (nt.value = {
|
|
782
782
|
x: r.x,
|
|
783
783
|
y: r.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 (o(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 (o(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(a),
|
|
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 { Gt as t, Q as n, W as r, i, q as a } from "./lib-EAmk-PgA.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-D8XqxgOU.js";
|
|
6
|
+
import { t as l } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
|
+
import { Fragment as u, computed as d, createBlock as te, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineAsyncComponent as g, normalizeStyle as _, onMounted as v, openBlock as y, ref as b, renderSlot as ne, toDisplayString as x, toRefs as re, unref as S, useSlots as ie, watch as ae } from "vue";
|
|
8
8
|
//#region src/components/vue-ui-gizmo.vue
|
|
9
|
-
var
|
|
9
|
+
var C = /* @__PURE__ */ e({ default: () => B }), w = [
|
|
10
10
|
"aria-label",
|
|
11
11
|
"aria-valuenow",
|
|
12
12
|
"aria-valuetext",
|
|
13
13
|
"aria-busy"
|
|
14
|
-
],
|
|
14
|
+
], T = ["viewBox", "width"], E = { key: 0 }, D = ["id"], O = ["stop-color"], k = ["stop-color"], A = ["stroke"], j = ["stroke"], M = ["width", "fill"], N = ["fill"], P = { key: 0 }, F = ["id"], I = ["stroke"], L = [
|
|
15
15
|
"stroke",
|
|
16
16
|
"stroke-dasharray",
|
|
17
17
|
"stroke-dashoffset"
|
|
18
|
-
],
|
|
18
|
+
], R = ["filter"], oe = [
|
|
19
19
|
"stroke",
|
|
20
20
|
"stroke-dasharray",
|
|
21
21
|
"stroke-dashoffset"
|
|
22
|
-
], z = ["fill"], B = /*#__PURE__*/
|
|
22
|
+
], z = ["fill"], B = /*#__PURE__*/ l({
|
|
23
23
|
__name: "vue-ui-gizmo",
|
|
24
24
|
props: {
|
|
25
25
|
config: {
|
|
@@ -31,21 +31,21 @@ var S = /* @__PURE__ */ e({ default: () => B }), C = [
|
|
|
31
31
|
dataset: { type: Number }
|
|
32
32
|
},
|
|
33
33
|
setup(e) {
|
|
34
|
-
let
|
|
35
|
-
|
|
34
|
+
let l = g(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), { vue_ui_gizmo: C } = o(), B = e, V = b(r()), H = ie();
|
|
35
|
+
v(() => {
|
|
36
36
|
W();
|
|
37
|
-
}),
|
|
37
|
+
}), v(() => {
|
|
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 = d(() => G.value.debug);
|
|
41
41
|
function W() {
|
|
42
|
-
!B.dataset && B.dataset !== 0 &&
|
|
42
|
+
!B.dataset && B.dataset !== 0 && n({
|
|
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 = b(Y()), K = d(() => t({
|
|
49
49
|
defaultConfig: {
|
|
50
50
|
stroke: "#6A6A6A80",
|
|
51
51
|
color: "#6A6A6A",
|
|
@@ -53,27 +53,27 @@ var S = /* @__PURE__ */ e({ default: () => B }), C = [
|
|
|
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 } = ee({
|
|
57
|
+
...re(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: t({
|
|
63
63
|
defaultConfig: G.value,
|
|
64
64
|
userConfig: K.value
|
|
65
65
|
})
|
|
66
66
|
});
|
|
67
67
|
function Y() {
|
|
68
|
-
return
|
|
68
|
+
return c({
|
|
69
69
|
userConfig: B.config,
|
|
70
|
-
defaultConfig:
|
|
70
|
+
defaultConfig: C
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
|
-
|
|
73
|
+
ae(() => B.config, (e) => {
|
|
74
74
|
G.value = Y(), W();
|
|
75
75
|
}, { deep: !0 });
|
|
76
|
-
let X =
|
|
76
|
+
let X = d(() => ({
|
|
77
77
|
battery: {
|
|
78
78
|
width: G.value.showPercentage ? 150 : 80,
|
|
79
79
|
height: 50
|
|
@@ -82,99 +82,99 @@ var S = /* @__PURE__ */ e({ default: () => B }), C = [
|
|
|
82
82
|
width: 80,
|
|
83
83
|
height: 80
|
|
84
84
|
}
|
|
85
|
-
})[G.value.type]), Z =
|
|
85
|
+
})[G.value.type]), Z = d(() => Math.min(Math.max(0, J.value), 100)), Q = d(() => Math.max(0, J.value)), $ = d(() => {
|
|
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) => (y(), p("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": S(q) ? void 0 : Z.value,
|
|
99
99
|
"aria-valuetext": Z.value + "%",
|
|
100
|
-
"aria-busy":
|
|
101
|
-
}, [(
|
|
100
|
+
"aria-busy": S(q) ? "true" : "false"
|
|
101
|
+
}, [(y(), p("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: _({
|
|
106
106
|
background: "transparent",
|
|
107
107
|
fontFamily: G.value.fontFamily
|
|
108
108
|
})
|
|
109
109
|
}, [
|
|
110
|
-
|
|
111
|
-
G.value.useGradient ? (
|
|
110
|
+
h(S(l)),
|
|
111
|
+
G.value.useGradient ? (y(), p("defs", E, [m("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
|
+
}, [m("stop", {
|
|
118
118
|
offset: "0%",
|
|
119
119
|
"stop-color": G.value.gradientColor
|
|
120
|
-
}, null, 8,
|
|
120
|
+
}, null, 8, O), m("stop", {
|
|
121
121
|
offset: "100%",
|
|
122
122
|
"stop-color": G.value.color
|
|
123
|
-
}, null, 8,
|
|
124
|
-
G.value.type === "battery" ? (
|
|
125
|
-
|
|
123
|
+
}, null, 8, k)], 8, D)])) : f("", !0),
|
|
124
|
+
G.value.type === "battery" ? (y(), p(u, { key: 1 }, [
|
|
125
|
+
m("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, A),
|
|
131
|
+
m("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, j),
|
|
138
|
+
m("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, M),
|
|
146
|
+
G.value.showPercentage ? (y(), p("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
|
-
},
|
|
153
|
+
}, x(S(i)(G.value.formatter, Q.value, S(a)({
|
|
154
154
|
v: Q.value,
|
|
155
155
|
s: "%"
|
|
156
|
-
}))), 9,
|
|
157
|
-
], 64)) :
|
|
158
|
-
G.value.type === "gauge" ? (
|
|
159
|
-
G.value.useGradient ? (
|
|
156
|
+
}))), 9, N)) : f("", !0)
|
|
157
|
+
], 64)) : f("", !0),
|
|
158
|
+
G.value.type === "gauge" ? (y(), p(u, { key: 2 }, [
|
|
159
|
+
G.value.useGradient ? (y(), p("defs", P, [m("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] ||= [m("feGaussianBlur", {
|
|
166
166
|
in: "SourceGraphic",
|
|
167
167
|
stdDeviation: 1
|
|
168
|
-
}, null, -1)]], 8,
|
|
169
|
-
|
|
168
|
+
}, null, -1)]], 8, F)])) : f("", !0),
|
|
169
|
+
m("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, I),
|
|
177
|
+
m("circle", {
|
|
178
178
|
cx: 40,
|
|
179
179
|
cy: 40,
|
|
180
180
|
r: 35,
|
|
@@ -188,11 +188,11 @@ var S = /* @__PURE__ */ e({ default: () => B }), C = [
|
|
|
188
188
|
transform: "rotate(-90deg)",
|
|
189
189
|
"transform-origin": "50% 50%"
|
|
190
190
|
}
|
|
191
|
-
}, null, 8,
|
|
192
|
-
G.value.useGradient ? (
|
|
191
|
+
}, null, 8, L),
|
|
192
|
+
G.value.useGradient ? (y(), p("g", {
|
|
193
193
|
key: 1,
|
|
194
194
|
filter: `url(#blur_${V.value})`
|
|
195
|
-
}, [
|
|
195
|
+
}, [m("circle", {
|
|
196
196
|
cx: 40,
|
|
197
197
|
cy: 40,
|
|
198
198
|
r: 35,
|
|
@@ -205,21 +205,21 @@ var S = /* @__PURE__ */ e({ default: () => B }), C = [
|
|
|
205
205
|
transform: "rotate(-90deg)",
|
|
206
206
|
"transform-origin": "50% 50%"
|
|
207
207
|
}
|
|
208
|
-
}, null, 8,
|
|
209
|
-
G.value.showPercentage ? (
|
|
208
|
+
}, null, 8, oe)], 8, R)) : f("", !0),
|
|
209
|
+
G.value.showPercentage ? (y(), p("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
|
-
},
|
|
216
|
+
}, x(S(i)(G.value.formatter, Q.value, S(a)({
|
|
217
217
|
v: Q.value,
|
|
218
218
|
s: "%"
|
|
219
|
-
}))), 9, z)) :
|
|
220
|
-
], 64)) :
|
|
221
|
-
], 12,
|
|
219
|
+
}))), 9, z)) : f("", !0)
|
|
220
|
+
], 64)) : f("", !0)
|
|
221
|
+
], 12, T)), ne(e.$slots, "skeleton", {}, () => [S(q) ? (y(), te(s, { key: 0 })) : f("", !0)], !0)], 8, w));
|
|
222
222
|
}
|
|
223
223
|
}, [["__scopeId", "data-v-435edafd"]]);
|
|
224
224
|
//#endregion
|
|
225
|
-
export {
|
|
225
|
+
export { C as n, B as t };
|