vue-data-ui 3.22.7 → 3.22.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-DaGI9u-b.js → Arrow-DdymhUfY.js} +1 -1
- package/dist/{BaseDraggableDialog-1wwwdwV2.js → BaseDraggableDialog-Av7Uxq5V.js} +2 -2
- package/dist/BaseIcon-UdRAvP2h.js +483 -0
- package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
- package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-BY2KLqs6.js} +2 -2
- package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-DR_ummtM.js} +2 -2
- package/dist/{DataTable-CVF7DoZn.js → DataTable-BxpTMgfK.js} +2 -2
- package/dist/DefGrad-DVBqDjhO.js +48 -0
- package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-B6EG_Sga.js} +3 -3
- package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-D__dRVRA.js} +1 -1
- package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-DsXi7GJ-.js} +3 -3
- package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
- package/dist/{Slicer-6FOtg9py.js → Slicer-CW_XPIKL.js} +369 -364
- package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-CTz41lOu.js} +542 -537
- package/dist/{SparkTooltip-B-qsPj68.js → SparkTooltip-BTLN-Kex.js} +6 -6
- package/dist/{Title-PiTKr6sp.js → Title-CcNiYzEo.js} +1 -1
- package/dist/{Tooltip-B8yYfISA.js → Tooltip-CxOrWlFy.js} +1 -1
- package/dist/{UserOptions-BL9VlHop.js → UserOptions-trvJ26nz.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BZjYWNEg.js → dom-to-png-BbwhsRIr.js} +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +19 -0
- package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
- package/dist/{img-B_abIg0o.js → img-DnP3eXuv.js} +1 -1
- package/dist/{labelUtils-CTDRZdP1.js → labelUtils-DBEh078l.js} +1 -1
- package/dist/{lib-EAmk-PgA.js → lib-JqW18y5I.js} +36 -30
- package/dist/{package-DeMimPej.js → package-ByOT60IK.js} +1 -1
- package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
- package/dist/{render-common-DMai0gHB.js → render-common-D18VrP0h.js} +20 -20
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/utils.d.ts +18 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-CyOGrdD_.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
- package/dist/{useNestedProp-D8XqxgOU.js → useNestedProp-DIuuzG1r.js} +1 -1
- package/dist/{usePrinter-DnGzpp6Q.js → usePrinter-CqqHmnBI.js} +2 -2
- package/dist/utils.js +24 -24
- package/dist/{vue-data-ui-D6qVWloL.js → vue-data-ui-ub3fCh6P.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
- package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-CjAGqEJg.js} +3 -3
- package/dist/vue-ui-age-pyramid-jvQZbF8E.js +1247 -0
- package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-BIucnT0L.js} +67 -67
- package/dist/vue-ui-bullet-CIATzlsk.js +710 -0
- package/dist/vue-ui-bump-D8MxltQE.js +1249 -0
- package/dist/vue-ui-candlestick-DULUMU-Q.js +1840 -0
- package/dist/vue-ui-carousel-table-BSmdexG7.js +455 -0
- package/dist/{vue-ui-chestnut-C3IbAdkQ.js → vue-ui-chestnut-BIh1nQ7q.js} +585 -553
- package/dist/vue-ui-chord-DL1M7cgL.js +1391 -0
- package/dist/{vue-ui-circle-pack-Cq4lkmee.js → vue-ui-circle-pack-C1Pgq6si.js} +424 -418
- package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-d2uLAKTQ.js} +61 -61
- package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-CVh9FpZr.js} +43 -43
- package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-BH0N3ebj.js} +69 -69
- package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-R6wi3J-Y.js} +3 -3
- package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BWDeVzLc.js} +201 -201
- package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-BoZdciGh.js} +825 -816
- package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-CpC9EMro.js} +486 -474
- package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-DGA5Bfnl.js} +520 -486
- package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-CNczKwTh.js} +119 -119
- package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
- package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-v3cTbUiM.js} +342 -342
- package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
- package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-BgmLkZZ2.js} +14 -14
- package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
- package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-dSTh8ah_.js} +163 -163
- package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-N8BqMFVU.js} +572 -561
- package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +1689 -0
- package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BKrUk9o8.js} +4 -4
- package/dist/{vue-ui-mini-loader-DPHzHsM7.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
- package/dist/vue-ui-molecule--kK1JfnP.js +931 -0
- package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-CpBRHQo_.js} +246 -241
- package/dist/vue-ui-nested-donuts-8Ehwcuns.js +1493 -0
- package/dist/vue-ui-onion-Cf6JiYTH.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +1416 -0
- package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-CxU0jiOm.js} +410 -404
- package/dist/vue-ui-quick-chart-BO98uEPl.js +2469 -0
- package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-eH2Qih4_.js} +323 -317
- package/dist/{vue-ui-rating-Bek8Tgr-.js → vue-ui-rating-CN-ZiAES.js} +137 -128
- package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-BIcP-aAt.js} +167 -167
- package/dist/{vue-ui-ridgeline-DIODGiu8.js → vue-ui-ridgeline-ChXHzEJw.js} +538 -532
- package/dist/vue-ui-rings-J990vNbX.js +1252 -0
- package/dist/vue-ui-scatter-BeJB0EKg.js +2422 -0
- package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-DC2bZ0nk.js} +385 -382
- package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-Dyyu1je3.js} +119 -106
- package/dist/vue-ui-spark-trend-CpDX85H3.js +443 -0
- package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
- package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-D0Fo3Hts.js} +79 -74
- package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
- package/dist/{vue-ui-sparkline-BNxdO-Bx.js → vue-ui-sparkline-ApivEMBP.js} +397 -384
- package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DsKQJx_n.js} +207 -195
- package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-Ds4hXATH.js} +595 -588
- package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
- package/dist/vue-ui-strip-plot-C3ZHf4bD.js +1736 -0
- package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-CNXNXXBU.js} +14 -14
- package/dist/vue-ui-table-sparkline-B9JJ4pFF.js +712 -0
- package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-uudidrYt.js} +62 -62
- package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
- package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-5NAWw5BN.js} +94 -89
- package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-Caz_g1c5.js} +13 -13
- package/dist/vue-ui-treemap-F9upPyOI.js +1718 -0
- package/dist/vue-ui-waffle-Bk9AsrPp.js +1368 -0
- package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DD6Q39BA.js} +130 -130
- package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-BZLT5svo.js} +27 -27
- package/dist/vue-ui-world-DbEJN5NA.js +3027 -0
- package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-BYMAITk_.js} +1655 -1629
- package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-Cn9Q8YPr.js} +116 -116
- package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-Dcm2ftwm.js} +58 -58
- package/package.json +1 -1
- package/dist/BaseIcon-_-BX7be3.js +0 -502
- package/dist/exposedLib-Be0ifkti.js +0 -19
- package/dist/vue-ui-3d-bar-CjNuWXoA.js +0 -1757
- package/dist/vue-ui-age-pyramid-CC7Dxli-.js +0 -1238
- package/dist/vue-ui-bullet-Dde6FhbR.js +0 -710
- package/dist/vue-ui-bump-C5pni1JV.js +0 -1249
- package/dist/vue-ui-candlestick-Ctw65O4_.js +0 -1829
- package/dist/vue-ui-carousel-table-BEUvhUH0.js +0 -455
- package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
- package/dist/vue-ui-funnel-BEZUEuuh.js +0 -777
- package/dist/vue-ui-gauge-B1ljgfE1.js +0 -920
- package/dist/vue-ui-horizontal-bar-CTW6l4n3.js +0 -1683
- package/dist/vue-ui-molecule-aD0SMTiX.js +0 -925
- package/dist/vue-ui-nested-donuts--BCPWkl7.js +0 -1487
- package/dist/vue-ui-onion-s4iMCGAP.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +0 -1416
- package/dist/vue-ui-quick-chart-D1OWBgQJ.js +0 -2469
- package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
- package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
- package/dist/vue-ui-spark-trend-DfZeLiWA.js +0 -438
- package/dist/vue-ui-sparkbar-Cl1e49sw.js +0 -393
- package/dist/vue-ui-sparkhistogram-ny_liYa6.js +0 -560
- package/dist/vue-ui-stackline-CdvVPQUM.js +0 -2419
- package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
- package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
- package/dist/vue-ui-thermometer-BUrtIfuo.js +0 -763
- package/dist/vue-ui-treemap-LMWiicop.js +0 -1713
- package/dist/vue-ui-waffle-B_L3gkky.js +0 -1362
- package/dist/vue-ui-world-B7npRmTa.js +0 -14264
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { G as t, Kt as n, Ut as r, b as i, t as a, yt as o } from "./lib-JqW18y5I.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-CqqHmnBI.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-DIuuzG1r.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-DnP3eXuv.js";
|
|
10
|
+
import { n as te } from "./Title-CcNiYzEo.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,8 +15,8 @@ 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-
|
|
19
|
-
import { t as ue } from "./geoProjections-
|
|
18
|
+
import { t as le } from "./BaseZoomControls-BY2KLqs6.js";
|
|
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";
|
|
22
22
|
//#region src/components/vue-ui-geo.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-CxOrWlFy.js")), Be = he(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), Ve = he(() => import("./PenAndPaper-DsXi7GJ-.js").then((e) => e.t)), He = he(() => import("./PackageVersion-D__dRVRA.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
|
})
|
|
@@ -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), n = r(t.x, t.y, R.value);
|
|
781
|
+
n && (nt.value = {
|
|
782
|
+
x: n.x,
|
|
783
|
+
y: n.y
|
|
784
784
|
});
|
|
785
785
|
}
|
|
786
786
|
let dn = C(!1), fn = C(""), K = C(!1), q = C(null), J = C(null);
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as t, G as n, J as r, Kt as i, i as a } from "./lib-JqW18y5I.js";
|
|
3
3
|
import { t as o } from "./useConfig-DYM3f6EI.js";
|
|
4
4
|
import { n as ee, t as s } from "./BaseScanner-DZvpgOjM.js";
|
|
5
|
-
import { t as c } from "./useNestedProp-
|
|
5
|
+
import { t as c } from "./useNestedProp-DIuuzG1r.js";
|
|
6
6
|
import { t as l } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
|
-
import {
|
|
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"
|
|
18
|
-
],
|
|
19
|
+
], L = ["filter"], R = [
|
|
19
20
|
"stroke",
|
|
20
21
|
"stroke-dasharray",
|
|
21
22
|
"stroke-dashoffset"
|
|
@@ -31,21 +32,21 @@ var C = /* @__PURE__ */ e({ default: () => B }), w = [
|
|
|
31
32
|
dataset: { type: Number }
|
|
32
33
|
},
|
|
33
34
|
setup(e) {
|
|
34
|
-
let l =
|
|
35
|
+
let l = _(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), { vue_ui_gizmo: T } = o(), B = e, V = b(n()), H = re();
|
|
35
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 && t({
|
|
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 = b(Y()), K =
|
|
49
|
+
let G = b(Y()), K = f(() => i({
|
|
49
50
|
defaultConfig: {
|
|
50
51
|
stroke: "#6A6A6A80",
|
|
51
52
|
color: "#6A6A6A",
|
|
@@ -53,13 +54,13 @@ var C = /* @__PURE__ */ e({ default: () => B }), w = [
|
|
|
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 } = ee({
|
|
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
|
})
|
|
@@ -67,13 +68,13 @@ var C = /* @__PURE__ */ e({ default: () => B }), w = [
|
|
|
67
68
|
function Y() {
|
|
68
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,99 +83,103 @@ var C = /* @__PURE__ */ e({ default: () => B }), w = [
|
|
|
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) => (y(),
|
|
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
|
-
}, [(y(),
|
|
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 ? (y(),
|
|
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
|
-
}, null, 8,
|
|
131
|
-
|
|
135
|
+
}, null, 8, k),
|
|
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
|
-
}, null, 8,
|
|
138
|
-
|
|
142
|
+
}, null, 8, A),
|
|
143
|
+
h("rect", {
|
|
139
144
|
x: 10,
|
|
140
145
|
y: 10,
|
|
141
146
|
height: 30,
|
|
142
147
|
width: 55 * (Z.value / 100),
|
|
143
148
|
fill: G.value.useGradient ? `url(#gizmo_gradient_${V.value})` : G.value.color,
|
|
144
149
|
rx: 2
|
|
145
|
-
}, null, 8,
|
|
146
|
-
G.value.showPercentage ? (y(),
|
|
150
|
+
}, null, 8, j),
|
|
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(a)(G.value.formatter, Q.value, w(r)({
|
|
154
159
|
v: Q.value,
|
|
155
160
|
s: "%"
|
|
156
|
-
}))), 9,
|
|
157
|
-
], 64)) :
|
|
158
|
-
G.value.type === "gauge" ? (y(),
|
|
159
|
-
G.value.useGradient ? (y(),
|
|
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,
|
|
169
|
-
|
|
173
|
+
}, null, -1)]], 8, P)])) : p("", !0),
|
|
174
|
+
h("circle", {
|
|
170
175
|
cx: 40,
|
|
171
176
|
cy: 40,
|
|
172
177
|
r: 35,
|
|
173
178
|
stroke: G.value.stroke,
|
|
174
179
|
"stroke-width": 8,
|
|
175
180
|
fill: "none"
|
|
176
|
-
}, null, 8,
|
|
177
|
-
|
|
181
|
+
}, null, 8, F),
|
|
182
|
+
h("circle", {
|
|
178
183
|
cx: 40,
|
|
179
184
|
cy: 40,
|
|
180
185
|
r: 35,
|
|
@@ -188,11 +193,11 @@ var C = /* @__PURE__ */ e({ default: () => B }), w = [
|
|
|
188
193
|
transform: "rotate(-90deg)",
|
|
189
194
|
"transform-origin": "50% 50%"
|
|
190
195
|
}
|
|
191
|
-
}, null, 8,
|
|
192
|
-
G.value.useGradient ? (y(),
|
|
196
|
+
}, null, 8, I),
|
|
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 C = /* @__PURE__ */ e({ default: () => B }), w = [
|
|
|
205
210
|
transform: "rotate(-90deg)",
|
|
206
211
|
"transform-origin": "50% 50%"
|
|
207
212
|
}
|
|
208
|
-
}, null, 8,
|
|
209
|
-
G.value.showPercentage ? (y(),
|
|
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(a)(G.value.formatter, Q.value, w(r)({
|
|
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 };
|