vue-data-ui 3.22.2 → 3.22.4
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-BGhJI-qh.js → Arrow-CgzmXCW_.js} +1 -1
- package/dist/{BaseDraggableDialog-a9xCKjW-.js → BaseDraggableDialog-DjzNWkiE.js} +2 -2
- package/dist/{BaseIcon-DEtwcvEH.js → BaseIcon-xBuW2jjI.js} +1 -1
- package/dist/{BaseLegendToggle-B-lM0iV1.js → BaseLegendToggle-C4Usj0LI.js} +1 -1
- package/dist/{BaseZoomControls-BjjT6vtB.js → BaseZoomControls-Cg9o2J-q.js} +2 -2
- package/dist/{ColorPicker-DMLahA2S.js → ColorPicker-Usv7badH.js} +2 -2
- package/dist/{DataTable-DJZgdnIn.js → DataTable-PidUPOit.js} +2 -2
- package/dist/Legend-DXOzbXb-.js +156 -0
- package/dist/{NonSvgPenAndPaper-Dwq_M6Bz.js → NonSvgPenAndPaper-OIs8I25K.js} +19 -19
- package/dist/{PackageVersion-Dx81ZIAL.js → PackageVersion-Cm-3hwIF.js} +1 -1
- package/dist/{PenAndPaper-DJIIG6dv.js → PenAndPaper-ISUbDKXq.js} +11 -11
- package/dist/{Shape-C5OvuwII.js → Shape-BnF9aMPX.js} +3 -3
- package/dist/Slicer-hEvKOLw3.js +1145 -0
- package/dist/{SlicerPreview-CAhqG_ZQ.js → SlicerPreview-BDI-aCXE.js} +36 -35
- package/dist/{SparkTooltip-DTzo8Sah.js → SparkTooltip-DaWSTzfA.js} +1 -1
- package/dist/{Title-CVYf1f8m.js → Title-DDEEO-Nr.js} +1 -1
- package/dist/{Tooltip-BmGCBJuU.js → Tooltip-BhKov422.js} +1 -1
- package/dist/{UserOptions-xqbNpHi2.js → UserOptions-BxT1XHzN.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-rjAIVHxa.js → dom-to-png-ZOysoMwu.js} +1 -1
- package/dist/exposedLib-C2U48XK7.js +19 -0
- package/dist/img-B29J8tV5.js +129 -0
- package/dist/{labelUtils-C0D1tjig.js → labelUtils-BFcL_t-A.js} +1 -1
- package/dist/{lib-CXicicWN.js → lib-CuwHGt1j.js} +143 -124
- package/dist/{package-CILLITOI.js → package-CRlwXCDr.js} +1 -1
- package/dist/{pdf-ChYv2jb6.js → pdf-ymYt9Lee.js} +1 -1
- package/dist/{render-common-bMAFQ_qf.js → render-common-D6ny-Fwu.js} +22 -22
- 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/vue-data-ui.d.ts +69 -2
- package/dist/types/vue-ui-strip-plot.d.ts +2 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-B4-0yo3K.js → useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js} +1 -1
- package/dist/{useConfig-Bf_EBbe3.js → useConfig-pVLia3dt.js} +30 -2
- package/dist/{useNestedProp-APyFoLCQ.js → useNestedProp-BjkuFaz1.js} +1 -1
- package/dist/{useObjectBindings-Byts-nf-.js → useObjectBindings-C1XuDxFr.js} +2 -2
- package/dist/{usePrinter-Dng0UK-G.js → usePrinter-C0wAS8yc.js} +3 -3
- package/dist/utils.js +14 -14
- package/dist/{vue-data-ui-DD-txoS1.js → vue-data-ui-DTWqd0R2.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-DBpSRV-C.js +1757 -0
- package/dist/{vue-ui-accordion-Di_givzQ.js → vue-ui-accordion-B64IJyPU.js} +4 -4
- package/dist/{vue-ui-age-pyramid-CTwMfsqS.js → vue-ui-age-pyramid-e09oK-Fp.js} +289 -289
- package/dist/{vue-ui-annotator-tRkLFMQ9.js → vue-ui-annotator-CU4CdKMm.js} +69 -69
- package/dist/vue-ui-bullet-tlj5_z_z.js +710 -0
- package/dist/{vue-ui-bump-BJ5O8Mps.js → vue-ui-bump-BD0Uq3As.js} +259 -259
- package/dist/vue-ui-candlestick-CZxsNGKS.js +1826 -0
- package/dist/{vue-ui-carousel-table-8s8BSy-K.js → vue-ui-carousel-table-ycbcmBKt.js} +122 -122
- package/dist/vue-ui-chestnut-CnEsjvh4.js +2010 -0
- package/dist/{vue-ui-chord-1BitQtEw.js → vue-ui-chord-BZhXsZXp.js} +53 -53
- package/dist/{vue-ui-circle-pack-DVMhDFKU.js → vue-ui-circle-pack-BPC6zUis.js} +46 -46
- package/dist/{vue-ui-cursor-D7yh10hX.js → vue-ui-cursor-DF_e5k1s.js} +4 -4
- package/dist/{vue-ui-dag--LFEAAf_.js → vue-ui-dag-BIo4-Oa8.js} +49 -49
- package/dist/{vue-ui-dashboard-COeO878g.js → vue-ui-dashboard-BEtF6UX2.js} +70 -70
- package/dist/{vue-ui-digits-C50FVr7C.js → vue-ui-digits-07IxTlNO.js} +4 -4
- package/dist/vue-ui-donut-C4FcvXm3.js +2410 -0
- package/dist/{vue-ui-donut-BzKXqQA2.js → vue-ui-donut-C5oRCxAO.js} +193 -193
- package/dist/{vue-ui-donut-evolution-lPkwit2C.js → vue-ui-donut-evolution-BSeyPC9k.js} +419 -419
- package/dist/{vue-ui-dumbbell-hlEfvbbf.js → vue-ui-dumbbell-Cykw4WYn.js} +341 -341
- package/dist/{vue-ui-flow-Bg_OSszc.js → vue-ui-flow-R_dLE1WS.js} +72 -72
- package/dist/vue-ui-funnel-Ct5xQdak.js +777 -0
- package/dist/vue-ui-galaxy-B5BkdIt5.js +1077 -0
- package/dist/vue-ui-gauge-AbzY-7Gg.js +920 -0
- package/dist/{vue-ui-geo-DtzXRvmx.js → vue-ui-geo-DVT9XEC3.js} +18 -18
- package/dist/{vue-ui-gizmo-hIFd7qck.js → vue-ui-gizmo-DJTRXao8.js} +62 -62
- package/dist/{vue-ui-heatmap-yPlwc3l_.js → vue-ui-heatmap-BCFId15K.js} +293 -293
- package/dist/vue-ui-history-plot-DCeroetw.js +1700 -0
- package/dist/{vue-ui-horizontal-bar-CJciNHpT.js → vue-ui-horizontal-bar-j3jszojt.js} +75 -75
- package/dist/{vue-ui-kpi-DmSe1QGb.js → vue-ui-kpi-DJjF6tcf.js} +12 -12
- package/dist/{vue-ui-mini-loader-CqxI6DwN.js → vue-ui-mini-loader-nOsOsA2V.js} +3 -3
- package/dist/{vue-ui-molecule-w-94Uktn.js → vue-ui-molecule-2pfoR63d.js} +213 -213
- package/dist/{vue-ui-mood-radar-B3OGWGHR.js → vue-ui-mood-radar-DP_4LHfZ.js} +40 -40
- package/dist/{vue-ui-nested-donuts-Dv_yE5EV.js → vue-ui-nested-donuts-DFsLZEqx.js} +255 -255
- package/dist/{vue-ui-onion-BQbI0Vxd.js → vue-ui-onion-CzXx3Rme.js} +293 -293
- package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +1416 -0
- package/dist/{vue-ui-quadrant-BB7qdXK0.js → vue-ui-quadrant-Br_iZmcw.js} +57 -57
- package/dist/{vue-ui-quick-chart-CGDeo3Fx.js → vue-ui-quick-chart-CnIFPFPv.js} +654 -654
- package/dist/vue-ui-radar-CNwKFbHc.js +1281 -0
- package/dist/{vue-ui-rating-ChDwpol2.js → vue-ui-rating-CRziryE2.js} +22 -22
- package/dist/vue-ui-relation-circle-BVDIikGi.js +924 -0
- package/dist/{vue-ui-ridgeline-Cq8z57xB.js → vue-ui-ridgeline-Kw50zROq.js} +468 -468
- package/dist/vue-ui-rings-BDJyoWvT.js +1246 -0
- package/dist/vue-ui-scatter-DoL5Kh1Y.js +2413 -0
- package/dist/{vue-ui-skeleton-DJ5KAbfV.js → vue-ui-skeleton-BOHwJSdz.js} +22 -22
- package/dist/{vue-ui-smiley-fFrNX-Gl.js → vue-ui-smiley-BTvDy8Fm.js} +5 -5
- package/dist/{vue-ui-spark-trend-D6OBWxmg.js → vue-ui-spark-trend-OgSFIFh0.js} +24 -24
- package/dist/{vue-ui-sparkbar-CtCP8O44.js → vue-ui-sparkbar-D8FdqMB_.js} +35 -35
- package/dist/{vue-ui-sparkgauge-CZDkyViI.js → vue-ui-sparkgauge-CBpPbVkw.js} +56 -56
- package/dist/vue-ui-sparkhistogram-BQjbLa2k.js +560 -0
- package/dist/{vue-ui-sparkline-CJKE7Xcl.js → vue-ui-sparkline-BJfh5Lje.js} +200 -200
- package/dist/{vue-ui-sparkstackbar-BSV0M-2u.js → vue-ui-sparkstackbar-1WUQrqd7.js} +126 -126
- package/dist/vue-ui-stackbar-Dqs7_g8D.js +2329 -0
- package/dist/{vue-ui-stackline-DS_MPmc1.js → vue-ui-stackline-IRjugedp.js} +406 -388
- package/dist/vue-ui-strip-plot-B7D6Hk8R.js +1729 -0
- package/dist/{vue-ui-table-c1FPEwLM.js → vue-ui-table-Bqi9XNvY.js} +64 -64
- package/dist/{vue-ui-table-heatmap-CMQJXnP8.js → vue-ui-table-heatmap-D38YSxhJ.js} +16 -16
- package/dist/{vue-ui-table-sparkline-CAS9Pk60.js → vue-ui-table-sparkline-0Ffb2jdf.js} +19 -19
- package/dist/vue-ui-thermometer-Di5PXtEO.js +763 -0
- package/dist/{vue-ui-timer-CSP48eS-.js → vue-ui-timer-9CDcd-gP.js} +6 -6
- package/dist/{vue-ui-tiremarks-DJvXj1P3.js → vue-ui-tiremarks-BAQ-cCSq.js} +10 -10
- package/dist/vue-ui-treemap-CLOlWiDE.js +1587 -0
- package/dist/vue-ui-waffle-DG2IfACo.js +1362 -0
- package/dist/{vue-ui-wheel-CbL52G-w.js → vue-ui-wheel-BfXJFCjv.js} +29 -29
- package/dist/{vue-ui-word-cloud-BqOCyp7c.js → vue-ui-word-cloud-3NJy1z6d.js} +28 -28
- package/dist/{vue-ui-world-BkjzCcVh.js → vue-ui-world-vrGT5g1H.js} +127 -127
- package/dist/{vue-ui-xy-CVDNhnDY.js → vue-ui-xy-Cb7u46JN.js} +410 -410
- package/dist/{vue-ui-xy-DuwLRfr4.js → vue-ui-xy-Dg0wxSeC.js} +760 -760
- package/dist/{vue-ui-xy-canvas-CXqGVMeQ.js → vue-ui-xy-canvas-CjbjJ70r.js} +60 -60
- package/dist/{vue_ui_strip_plot-CtJe8_gq.js → vue_ui_strip_plot-BaHbnnwN.js} +7 -0
- package/package.json +1 -1
- package/dist/Legend-BVDhEEsC.js +0 -115
- package/dist/Slicer-ClR833cP.js +0 -1144
- package/dist/exposedLib-CffbQxjN.js +0 -19
- package/dist/img-BCAOkqfM.js +0 -74
- package/dist/vue-ui-3d-bar-DxfNdF2e.js +0 -1757
- package/dist/vue-ui-bullet-9gtGJaGb.js +0 -710
- package/dist/vue-ui-candlestick-CJ_VVYbJ.js +0 -1826
- package/dist/vue-ui-chestnut-D3-ck2h2.js +0 -2010
- package/dist/vue-ui-donut-NHjQzFO5.js +0 -2410
- package/dist/vue-ui-funnel-B_bK0jJB.js +0 -777
- package/dist/vue-ui-galaxy-WVCUzcYc.js +0 -1077
- package/dist/vue-ui-gauge-Cqeko0wA.js +0 -920
- package/dist/vue-ui-history-plot-BGmcDg2w.js +0 -1554
- package/dist/vue-ui-parallel-coordinate-plot-ColST3Jj.js +0 -1416
- package/dist/vue-ui-radar-DqDn14DL.js +0 -1281
- package/dist/vue-ui-relation-circle-BvfZqcK0.js +0 -924
- package/dist/vue-ui-rings-Ds-sgNPK.js +0 -1246
- package/dist/vue-ui-scatter-BgOVUzQ3.js +0 -2413
- package/dist/vue-ui-sparkhistogram-DgruLf33.js +0 -560
- package/dist/vue-ui-stackbar-pnlYCnTj.js +0 -2270
- package/dist/vue-ui-strip-plot-DSKOrJZX.js +0 -1340
- package/dist/vue-ui-thermometer-w3eeJv9s.js +0 -763
- package/dist/vue-ui-treemap-BaOMXTR1.js +0 -1587
- package/dist/vue-ui-waffle-Bo22Ph8n.js +0 -1362
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as s } from "./useConfig-
|
|
4
|
-
import { t as c } from "./usePrinter-
|
|
2
|
+
import { Gt as t, Ht as n, W as r, b as i, t as a, vt as o } from "./lib-CuwHGt1j.js";
|
|
3
|
+
import { t as s } from "./useConfig-pVLia3dt.js";
|
|
4
|
+
import { t as c } from "./usePrinter-C0wAS8yc.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-BjkuFaz1.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-B29J8tV5.js";
|
|
10
|
+
import { n as te } from "./Title-DDEEO-Nr.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-Cg9o2J-q.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-BhKov422.js")), Be = he(() => import("./UserOptions-BxT1XHzN.js").then((e) => e.n)), Ve = he(() => import("./PenAndPaper-ISUbDKXq.js").then((e) => e.t)), He = he(() => import("./PackageVersion-Cm-3hwIF.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,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, 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:
|
|
540
|
-
strokeWidth: Number.isFinite(Number(
|
|
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
|
+
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 ? 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
|
|
@@ -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-CuwHGt1j.js";
|
|
3
|
+
import { t as o } from "./useConfig-pVLia3dt.js";
|
|
4
|
+
import { n as ee, t as s } from "./BaseScanner-DZvpgOjM.js";
|
|
5
|
+
import { t as c } from "./useNestedProp-BjkuFaz1.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-Cm-3hwIF.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,
|
|
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
|
-
}, [...
|
|
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 };
|