vue-data-ui 3.22.6 → 3.22.8
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-DdymhUfY.js} +1 -1
- package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
- package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-C2qlyHc7.js} +1 -1
- package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
- package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C6zonwhr.js} +2 -2
- package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-CK2-h611.js} +2 -2
- package/dist/{DataTable-CXfvIulC.js → DataTable-D9NvewTT.js} +2 -2
- package/dist/{Legend-D-635Kag.js → Legend-ROt6ugzW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-BHHNsVVP.js} +29 -29
- package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-DW7zwRcm.js} +1 -1
- package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-pcgwlYr2.js} +18 -18
- package/dist/{Shape-BSetplwm.js → Shape-UpH0a4Ur.js} +3 -3
- package/dist/{Slicer-ClIGOuoX.js → Slicer-BZ5VnOOS.js} +19 -19
- package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-BQFeCw0m.js} +351 -351
- package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-BTLN-Kex.js} +6 -6
- package/dist/{Title-C-p0ilWB.js → Title-CcNiYzEo.js} +1 -1
- package/dist/{Tooltip-YabpoXo1.js → Tooltip-CxOrWlFy.js} +1 -1
- package/dist/{UserOptions-BO4VFL8O.js → UserOptions-16uF1ayB.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-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_y5qDdm.js → img-DnP3eXuv.js} +1 -1
- package/dist/{labelUtils-CyVwqXSh.js → labelUtils-DBEh078l.js} +1 -1
- package/dist/{lib-DRBJCmHW.js → lib-JqW18y5I.js} +49 -30
- package/dist/{package-DyQ_PQis.js → package-gp9pYCfN.js} +1 -1
- package/dist/{pdf-CG02qhAH.js → pdf-hj3gzrE7.js} +1 -1
- package/dist/{render-common-CUAlQvAQ.js → render-common-CLn1VXJ9.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-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
- package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-DIuuzG1r.js} +1 -1
- package/dist/{usePrinter-CRp5IW3v.js → usePrinter-CqqHmnBI.js} +2 -2
- package/dist/utils.js +23 -23
- package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/{vue-ui-3d-bar-BAH0jNtT.js → vue-ui-3d-bar-B3HxJmDI.js} +124 -124
- package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-YyosvEPo.js} +3 -3
- package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
- package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-CfJXeAOE.js} +6 -6
- package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
- package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
- package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
- package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
- package/dist/{vue-ui-chestnut-Cx8T3NEl.js → vue-ui-chestnut-RfWMGUD-.js} +114 -114
- package/dist/{vue-ui-chord-B-sauvLo.js → vue-ui-chord-Db1O_diJ.js} +57 -57
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
- package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
- package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DL3zq0F2.js} +37 -37
- package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
- package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-ThFVNO3l.js} +3 -3
- package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-BuTd6dt4.js} +224 -224
- package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-C3Rt6j-I.js} +458 -458
- package/dist/vue-ui-donut-evolution-DY46UPF_.js +1510 -0
- package/dist/vue-ui-dumbbell-wK7vUB0x.js +1530 -0
- package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-BTUNfWb7.js} +122 -122
- package/dist/vue-ui-funnel-BhoHzyHa.js +777 -0
- package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DJ2uNYcN.js} +263 -263
- package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-Cf4NqvrO.js} +226 -226
- package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-ovHu_Sc9.js} +21 -21
- package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-DDxEj-qe.js} +7 -7
- package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-Npqnvb1r.js} +282 -282
- package/dist/vue-ui-history-plot-C3Kjy2tc.js +1715 -0
- package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
- package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
- package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
- package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
- package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-DlVh6hwx.js} +27 -27
- package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
- package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DBpHCFxa.js → vue-ui-parallel-coordinate-plot-DSp_cwU-.js} +57 -57
- package/dist/vue-ui-quadrant-ByVg-NBs.js +1978 -0
- package/dist/{vue-ui-quick-chart-so_8PzvS.js → vue-ui-quick-chart-WMzSJxGZ.js} +188 -188
- package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-DE-me6OC.js} +64 -64
- package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
- package/dist/vue-ui-relation-circle-L7-dTqet.js +924 -0
- package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
- package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
- package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
- package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
- package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-D4NnZ1mg.js} +17 -17
- package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-C38ysZ-c.js} +21 -21
- package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-B03ndcUe.js} +80 -80
- package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DgPc4vPT.js} +7 -7
- package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-D02ff7ZI.js} +115 -115
- package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-DlTfNQj8.js} +464 -464
- package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +662 -0
- package/dist/vue-ui-stackbar-BVdApDnY.js +2332 -0
- package/dist/vue-ui-stackline-QzQQ7lTy.js +2419 -0
- package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
- package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Q3brrivC.js} +68 -68
- package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
- package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-Q6BHPKUn.js} +199 -199
- package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-Bg0RR6m4.js} +26 -26
- package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-BdzKpoRj.js} +29 -29
- package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-DWb69ofh.js} +17 -17
- package/dist/{vue-ui-treemap-B03c4RIy.js → vue-ui-treemap-uUz07Prw.js} +401 -401
- package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
- package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-DTfvWYA7.js} +137 -137
- package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-DqfljAqH.js} +40 -40
- package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
- package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-Bvgy2do1.js} +1598 -1596
- package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-D5KsuNR2.js} +259 -259
- package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-BfgeE3TW.js} +440 -437
- package/package.json +1 -1
- package/dist/exposedLib-CjwriUaG.js +0 -19
- package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +0 -1238
- package/dist/vue-ui-bullet-C_oBS1cr.js +0 -710
- package/dist/vue-ui-bump-BZB1Na8h.js +0 -1249
- package/dist/vue-ui-candlestick-8d_1xO8X.js +0 -1826
- package/dist/vue-ui-carousel-table-BfZNcwmY.js +0 -455
- package/dist/vue-ui-circle-pack-BLh8HnGK.js +0 -1608
- package/dist/vue-ui-donut-evolution-D1k4u6cA.js +0 -1510
- 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-horizontal-bar-CwB4sc6M.js +0 -1683
- package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
- package/dist/vue-ui-nested-donuts-wfesrzle.js +0 -1487
- package/dist/vue-ui-onion-B8-psLbF.js +0 -1200
- package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
- package/dist/vue-ui-rating-CKWHDKOT.js +0 -343
- package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
- package/dist/vue-ui-ridgeline-DVbYznRz.js +0 -1622
- 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-stackline-C0NHBUaE.js +0 -2416
- package/dist/vue-ui-strip-plot-_6LL45i9.js +0 -1729
- package/dist/vue-ui-waffle-afa8HSxz.js +0 -1362
- package/dist/vue-ui-world-CqS-HhZl.js +0 -14264
|
@@ -1,19 +1,19 @@
|
|
|
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, Mt as a, Rt as ee, S as te, Wt as ne, b as o, dt as re, i as ie, kt as ae, t as oe, v as s } from "./lib-JqW18y5I.js";
|
|
3
3
|
import { t as se } from "./useConfig-DYM3f6EI.js";
|
|
4
|
-
import { t as ce } from "./usePrinter-
|
|
4
|
+
import { t as ce } from "./usePrinter-CqqHmnBI.js";
|
|
5
5
|
import { n as le, t as ue } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as de } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as c } from "./useNestedProp-
|
|
7
|
+
import { t as c } from "./useNestedProp-DIuuzG1r.js";
|
|
8
8
|
import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as pe } from "./img-
|
|
10
|
-
import { n as me } from "./Title-
|
|
9
|
+
import { t as pe } from "./img-DnP3eXuv.js";
|
|
10
|
+
import { n as me } from "./Title-CcNiYzEo.js";
|
|
11
11
|
import { t as he } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { c as ge } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as _e } from "./useResponsive-BfnK0KxU.js";
|
|
14
14
|
import { t as ve } from "./useUserOptionState-DK-_1ddE.js";
|
|
15
15
|
import { t as ye } from "./useChartAccessibility-DYqac8yF.js";
|
|
16
|
-
import { t as be } from "./useAutoSizeLabelsInsideViewbox-
|
|
16
|
+
import { t as be } from "./useAutoSizeLabelsInsideViewbox-BGnDfZdg.js";
|
|
17
17
|
import { t as xe } from "./usePrefersMotion-BC-CsqR1.js";
|
|
18
18
|
import { t as Se } from "./vue_ui_thermometer-DxgqWKlE.js";
|
|
19
19
|
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Ce, createVNode as we, defineAsyncComponent as h, guardReactiveProps as g, nextTick as Te, normalizeClass as _, normalizeProps as v, normalizeStyle as Ee, onMounted as De, openBlock as y, ref as b, renderList as Oe, renderSlot as x, toDisplayString as S, toRefs as ke, unref as C, useCssVars as Ae, watch as je, withCtx as w } from "vue";
|
|
@@ -143,11 +143,11 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
143
143
|
v30de9373: Mt.value,
|
|
144
144
|
v105f2dc0: jt.value
|
|
145
145
|
}));
|
|
146
|
-
let T = h(() => import("./PackageVersion-
|
|
146
|
+
let T = h(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), st = h(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), ct = h(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), { vue_ui_thermometer: lt } = se(), { isThemeValid: ut, warnInvalidTheme: dt } = fe(), ft = xe(), E = e, pt = Me, D = b(n()), O = b(null), mt = b(0), ht = b(0), gt = b(null), _t = b(null), k = b(null), A = b(null), j = b(!1), M = b(!1), vt = u(() => !!E.dataset && Object.keys(E.dataset).length);
|
|
147
147
|
De(() => {
|
|
148
148
|
Ct();
|
|
149
149
|
});
|
|
150
|
-
let N = b(B()), yt = b(N.value.style.chart.thermometer.width), P = b(N.value.style.chart.height), F = b(N.value.style.chart.width), bt = u(() => N.value.userOptions.useCursorPointer), xt = u(() =>
|
|
150
|
+
let N = b(B()), yt = b(N.value.style.chart.thermometer.width), P = b(N.value.style.chart.height), F = b(N.value.style.chart.width), bt = u(() => N.value.userOptions.useCursorPointer), xt = u(() => i({
|
|
151
151
|
defaultConfig: {
|
|
152
152
|
userOptions: { show: !1 },
|
|
153
153
|
style: { chart: {
|
|
@@ -171,17 +171,17 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
171
171
|
to: "#CACACA"
|
|
172
172
|
}
|
|
173
173
|
},
|
|
174
|
-
skeletonConfig:
|
|
174
|
+
skeletonConfig: i({
|
|
175
175
|
defaultConfig: N.value,
|
|
176
176
|
userConfig: xt.value
|
|
177
177
|
})
|
|
178
178
|
}), St = u(() => !!N.value.debug);
|
|
179
179
|
function Ct() {
|
|
180
|
-
if (
|
|
180
|
+
if (ae(E.dataset) ? t({
|
|
181
181
|
componentName: "VueUiThermometer",
|
|
182
182
|
type: "dataset",
|
|
183
183
|
debug: St.value
|
|
184
|
-
}) :
|
|
184
|
+
}) : re({
|
|
185
185
|
datasetObject: E.dataset,
|
|
186
186
|
requiredAttributes: [
|
|
187
187
|
"value",
|
|
@@ -189,7 +189,7 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
189
189
|
"to"
|
|
190
190
|
]
|
|
191
191
|
}).forEach((e) => {
|
|
192
|
-
|
|
192
|
+
t({
|
|
193
193
|
componentName: "VueUiThermometer",
|
|
194
194
|
type: "datasetAttribute",
|
|
195
195
|
property: e,
|
|
@@ -215,19 +215,19 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
215
215
|
let e = c({
|
|
216
216
|
userConfig: E.config,
|
|
217
217
|
defaultConfig: lt
|
|
218
|
-
}),
|
|
219
|
-
if (!
|
|
218
|
+
}), t = e.theme;
|
|
219
|
+
if (!t) return e;
|
|
220
220
|
if (!ut.value(e)) return dt(e), e;
|
|
221
|
-
let
|
|
222
|
-
userConfig: Se[
|
|
221
|
+
let n = c({
|
|
222
|
+
userConfig: Se[t] || E.config,
|
|
223
223
|
defaultConfig: e
|
|
224
|
-
}),
|
|
224
|
+
}), r = c({
|
|
225
225
|
userConfig: E.config,
|
|
226
|
-
defaultConfig:
|
|
226
|
+
defaultConfig: n
|
|
227
227
|
});
|
|
228
228
|
return {
|
|
229
|
-
...
|
|
230
|
-
customPalette:
|
|
229
|
+
...r,
|
|
230
|
+
customPalette: r.customPalette.length ? r.customPalette : ne[t] || a
|
|
231
231
|
};
|
|
232
232
|
}
|
|
233
233
|
je(() => E.config, (e) => {
|
|
@@ -237,7 +237,7 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
237
237
|
elementId: `thermometer__${D.value}`,
|
|
238
238
|
fileName: N.value.style.title.text || "vue-ui-thermometer",
|
|
239
239
|
options: N.value.userOptions.print
|
|
240
|
-
}), Ot = u(() => N.value.userOptions.show && !N.value.style.title.text), U = u(() =>
|
|
240
|
+
}), Ot = u(() => N.value.userOptions.show && !N.value.style.title.text), U = u(() => te(N.value.customPalette)), W = u(() => L.value.steps || 10);
|
|
241
241
|
function G(e, t, n) {
|
|
242
242
|
let r = [], i = kt(e), a = kt(t);
|
|
243
243
|
for (let e = 0; e < n; e += 1) {
|
|
@@ -277,9 +277,9 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
277
277
|
return n = s(L.value.to) > 0 ? e + t : e > t ? e - t : t - e, (1 - (Math.abs(s(L.value.from)) + s(L.value.value)) / n) * J.value.thermoHeight;
|
|
278
278
|
}), jt = u(() => `${Y.value}px`), Mt = u(() => `${J.value.thermoHeight}px`), Nt = u(() => ft.value ? "0ms" : `${N.value.style.chart.animation.speedMs}ms`), Pt = u(() => {
|
|
279
279
|
if (L.value.colors) {
|
|
280
|
-
if (!L.value.colors.from) return G(U.value[0] ||
|
|
281
|
-
if (!L.value.colors.to) return G(o(L.value.colors.from), U.value[1] ||
|
|
282
|
-
} else return G(U.value[1] ||
|
|
280
|
+
if (!L.value.colors.from) return G(U.value[0] || a[0], o(L.value.colors.to), W.value || 10);
|
|
281
|
+
if (!L.value.colors.to) return G(o(L.value.colors.from), U.value[1] || a[1], W.value || 10);
|
|
282
|
+
} else return G(U.value[1] || a[1], U.value[0] || a[0], W.value || 10);
|
|
283
283
|
return G(o(L.value.colors.from), o(L.value.colors.to), W.value || 10);
|
|
284
284
|
}), Ft = u(() => {
|
|
285
285
|
let e = [], t = 0, n = J.value.thermoHeight;
|
|
@@ -372,7 +372,7 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
372
372
|
dataset: L.value
|
|
373
373
|
}));
|
|
374
374
|
}
|
|
375
|
-
let Gt = u(() => `${D.value}-title`), Kt = u(() => `${D.value}-desc`), qt = u(() =>
|
|
375
|
+
let Gt = u(() => `${D.value}-title`), Kt = u(() => `${D.value}-desc`), qt = u(() => ie(N.value.style.chart.label.formatter, L.value.value, r({
|
|
376
376
|
p: N.value.style.chart.label.prefix,
|
|
377
377
|
v: L.value.value,
|
|
378
378
|
s: N.value.style.chart.label.suffix,
|
|
@@ -597,7 +597,7 @@ var Me = /* @__PURE__ */ e({ default: () => T }), Ne = ["id"], Pe = {
|
|
|
597
597
|
}, null, 8, He),
|
|
598
598
|
m("stop", {
|
|
599
599
|
offset: "50%",
|
|
600
|
-
"stop-color": C(
|
|
600
|
+
"stop-color": C(ee)(e.color, 100 - N.value.style.chart.graduations.gradient.intensity)
|
|
601
601
|
}, null, 8, Ue),
|
|
602
602
|
m("stop", {
|
|
603
603
|
offset: "100%",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { G as t, Gt as n, t as r } from "./lib-JqW18y5I.js";
|
|
3
3
|
import { t as i } from "./useConfig-DYM3f6EI.js";
|
|
4
|
-
import { t as a } from "./useNestedProp-
|
|
5
|
-
import { n as o } from "./Title-
|
|
4
|
+
import { t as a } from "./useNestedProp-DIuuzG1r.js";
|
|
5
|
+
import { n as o } from "./Title-CcNiYzEo.js";
|
|
6
6
|
import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
7
|
import { c } from "./canvas-lib-BOP_HS11.js";
|
|
8
8
|
import { t as ee } from "./useResponsive-BfnK0KxU.js";
|
|
9
|
-
import { t as l } from "./BaseIcon-
|
|
9
|
+
import { t as l } from "./BaseIcon-C2qlyHc7.js";
|
|
10
10
|
import { t as te } from "./useChartAccessibility-DYqac8yF.js";
|
|
11
11
|
import { computed as u, createBlock as ne, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineAsyncComponent as re, guardReactiveProps as h, mergeProps as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as ie, onMounted as ae, openBlock as y, ref as b, renderSlot as x, shallowRef as S, toDisplayString as oe, unref as C, watch as se } from "vue";
|
|
12
12
|
//#region src/timer.js
|
|
@@ -56,37 +56,37 @@ var ce = class {
|
|
|
56
56
|
n && n(e);
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
|
-
}, w = /* @__PURE__ */ e({ default: () => E }), le = ["xmlns", "viewBox"], ue = ["width", "height"], de = { key: 1 }, fe = ["id"], pe = ["stop-color"],
|
|
59
|
+
}, w = /* @__PURE__ */ e({ default: () => E }), le = ["xmlns", "viewBox"], ue = ["width", "height"], de = { key: 1 }, fe = ["id"], pe = ["stop-color"], T = ["stop-color"], me = [
|
|
60
60
|
"cx",
|
|
61
61
|
"cy",
|
|
62
62
|
"r",
|
|
63
63
|
"fill",
|
|
64
64
|
"stroke",
|
|
65
65
|
"stroke-width"
|
|
66
|
-
],
|
|
66
|
+
], he = [
|
|
67
67
|
"d",
|
|
68
68
|
"stroke",
|
|
69
69
|
"stroke-width"
|
|
70
|
-
],
|
|
70
|
+
], ge = [
|
|
71
71
|
"r",
|
|
72
72
|
"fill",
|
|
73
73
|
"stroke",
|
|
74
74
|
"stroke-width"
|
|
75
|
-
],
|
|
75
|
+
], _e = [
|
|
76
76
|
"r",
|
|
77
77
|
"fill",
|
|
78
78
|
"stroke",
|
|
79
79
|
"stroke-width"
|
|
80
|
-
],
|
|
80
|
+
], ve = ["x", "y"], ye = { key: 5 }, be = [
|
|
81
81
|
"x",
|
|
82
82
|
"y",
|
|
83
83
|
"font-size",
|
|
84
84
|
"fill",
|
|
85
85
|
"font-weight"
|
|
86
|
-
],
|
|
86
|
+
], xe = {
|
|
87
87
|
key: 0,
|
|
88
88
|
class: "vue-ui-timer-controls"
|
|
89
|
-
},
|
|
89
|
+
}, Se = ["title"], Ce = ["title"], we = ["title"], Te = ["title"], Ee = ["title"], E = /*#__PURE__*/ s({
|
|
90
90
|
__name: "vue-ui-timer",
|
|
91
91
|
props: { config: {
|
|
92
92
|
type: Object,
|
|
@@ -102,33 +102,33 @@ var ce = class {
|
|
|
102
102
|
"lap"
|
|
103
103
|
],
|
|
104
104
|
setup(e, { expose: s, emit: w }) {
|
|
105
|
-
let E = re(() => import("./PackageVersion-
|
|
105
|
+
let E = re(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), { vue_ui_timer: De } = i(), D = e, O = w, k = b(null), A = b(null), j = b(null), M = S(null), N = S(null), P = b(t()), F = b(0);
|
|
106
106
|
ae(() => {
|
|
107
107
|
I();
|
|
108
108
|
});
|
|
109
109
|
function I() {
|
|
110
110
|
if (L.value.responsive) {
|
|
111
111
|
let e = c(() => {
|
|
112
|
-
let { width: e, height:
|
|
112
|
+
let { width: e, height: t } = ee({
|
|
113
113
|
chart: k.value,
|
|
114
114
|
title: L.value.style.title.text ? A.value : null,
|
|
115
115
|
legend: j.value
|
|
116
116
|
});
|
|
117
117
|
requestAnimationFrame(() => {
|
|
118
|
-
B.value.width = e, B.value.height =
|
|
119
|
-
relator: Math.min(e,
|
|
118
|
+
B.value.width = e, B.value.height = t, L.value.responsiveProportionalSizing ? (B.value.tracker.core = n({
|
|
119
|
+
relator: Math.min(e, t),
|
|
120
120
|
adjuster: L.value.style.width,
|
|
121
121
|
source: 6 * L.value.stopwatch.tracker.radiusRatio,
|
|
122
122
|
threshold: 1,
|
|
123
123
|
fallback: 1
|
|
124
|
-
}), B.value.tracker.aura =
|
|
125
|
-
relator: Math.min(e,
|
|
124
|
+
}), B.value.tracker.aura = n({
|
|
125
|
+
relator: Math.min(e, t),
|
|
126
126
|
adjuster: L.value.style.width,
|
|
127
127
|
source: 12 * L.value.stopwatch.tracker.aura.radiusRatio,
|
|
128
128
|
threshold: 1,
|
|
129
129
|
fallback: 1
|
|
130
|
-
}), B.value.label =
|
|
131
|
-
relator: Math.min(e,
|
|
130
|
+
}), B.value.label = n({
|
|
131
|
+
relator: Math.min(e, t),
|
|
132
132
|
adjuster: L.value.style.width,
|
|
133
133
|
source: L.value.stopwatch.label.fontSize,
|
|
134
134
|
threshold: 10,
|
|
@@ -285,7 +285,7 @@ var ce = class {
|
|
|
285
285
|
}, null, 8, pe), p("stop", {
|
|
286
286
|
offset: "100%",
|
|
287
287
|
"stop-color": L.value.stopwatch.tracker.fill
|
|
288
|
-
}, null, 8,
|
|
288
|
+
}, null, 8, T)], 8, fe)])) : d("", !0),
|
|
289
289
|
p("circle", {
|
|
290
290
|
cx: B.value.width / 2,
|
|
291
291
|
cy: B.value.height / 2,
|
|
@@ -293,7 +293,7 @@ var ce = class {
|
|
|
293
293
|
fill: L.value.stopwatch.track.fill,
|
|
294
294
|
stroke: L.value.stopwatch.track.stroke,
|
|
295
295
|
"stroke-width": L.value.stopwatch.track.strokeWidth
|
|
296
|
-
}, null, 8,
|
|
296
|
+
}, null, 8, me),
|
|
297
297
|
L.value.stopwatch.cycleTrack.show ? (y(), f("path", {
|
|
298
298
|
key: 2,
|
|
299
299
|
d: `M ${B.value.width / 2},${B.value.height / 2 - Q.value} A ${Q.value},${Q.value} 0 ${$.value.largeArcFlag},${$.value.sweepFlag} ${$.value.cx},${$.value.cy}`,
|
|
@@ -301,19 +301,19 @@ var ce = class {
|
|
|
301
301
|
"stroke-width": L.value.stopwatch.cycleTrack.strokeWidth,
|
|
302
302
|
"stroke-linecap": "round",
|
|
303
303
|
fill: "none"
|
|
304
|
-
}, null, 8,
|
|
304
|
+
}, null, 8, he)) : d("", !0),
|
|
305
305
|
p("circle", g($.value, {
|
|
306
306
|
r: B.value.tracker.core,
|
|
307
307
|
fill: L.value.stopwatch.tracker.gradient.show ? `url(#tracker_gradient_${P.value})` : L.value.stopwatch.tracker.fill,
|
|
308
308
|
stroke: L.value.stopwatch.tracker.stroke,
|
|
309
309
|
"stroke-width": L.value.stopwatch.tracker.strokeWidth
|
|
310
|
-
}), null, 16,
|
|
310
|
+
}), null, 16, ge),
|
|
311
311
|
L.value.stopwatch.tracker.aura.show ? (y(), f("circle", g({ key: 3 }, $.value, {
|
|
312
312
|
r: B.value.tracker.aura,
|
|
313
313
|
fill: `${L.value.stopwatch.tracker.aura.fill}20`,
|
|
314
314
|
stroke: L.value.stopwatch.tracker.aura.stroke,
|
|
315
315
|
"stroke-width": L.value.stopwatch.tracker.aura.strokeWidth
|
|
316
|
-
}), null, 16,
|
|
316
|
+
}), null, 16, _e)) : d("", !0),
|
|
317
317
|
e.$slots.time ? (y(), f("foreignObject", {
|
|
318
318
|
key: 4,
|
|
319
319
|
x: B.value.width / 2,
|
|
@@ -324,7 +324,7 @@ var ce = class {
|
|
|
324
324
|
}, [x(e.$slots, "time", _(h({
|
|
325
325
|
...V.value,
|
|
326
326
|
...B.value
|
|
327
|
-
})), void 0, !0)], 8,
|
|
327
|
+
})), void 0, !0)], 8, ve)) : e.$slots.timeSvg ? (y(), f("g", ye, [x(e.$slots, "timeSvg", _(h({
|
|
328
328
|
...V.value,
|
|
329
329
|
...B.value
|
|
330
330
|
})), void 0, !0)])) : (y(), f("text", {
|
|
@@ -336,7 +336,7 @@ var ce = class {
|
|
|
336
336
|
fill: L.value.stopwatch.label.color,
|
|
337
337
|
"font-weight": L.value.stopwatch.label.bold ? "bold" : "normal",
|
|
338
338
|
style: { "font-variant-numeric": "tabular-nums !important" }
|
|
339
|
-
}, oe(V.value.formatted || ke.value), 9,
|
|
339
|
+
}, oe(V.value.formatted || ke.value), 9, be))
|
|
340
340
|
], 12, le)),
|
|
341
341
|
p("div", {
|
|
342
342
|
ref_key: "chartLegend",
|
|
@@ -346,7 +346,7 @@ var ce = class {
|
|
|
346
346
|
backgroundColor: L.value.stopwatch.legend.backgroundColor
|
|
347
347
|
})
|
|
348
348
|
}, [
|
|
349
|
-
e.$slots.controls ? d("", !0) : (y(), f("div",
|
|
349
|
+
e.$slots.controls ? d("", !0) : (y(), f("div", xe, [
|
|
350
350
|
L.value.stopwatch.legend.buttons.start ? (y(), f("button", {
|
|
351
351
|
key: 0,
|
|
352
352
|
title: L.value.stopwatch.legend.buttonTitles.start,
|
|
@@ -359,7 +359,7 @@ var ce = class {
|
|
|
359
359
|
}, [m(l, {
|
|
360
360
|
name: "play",
|
|
361
361
|
stroke: L.value.stopwatch.legend.buttons.iconColor
|
|
362
|
-
}, null, 8, ["stroke"])], 12,
|
|
362
|
+
}, null, 8, ["stroke"])], 12, Se)) : d("", !0),
|
|
363
363
|
L.value.stopwatch.legend.buttons.pause ? (y(), f("button", {
|
|
364
364
|
key: 1,
|
|
365
365
|
title: G.value ? L.value.stopwatch.legend.buttonTitles.resume : L.value.stopwatch.legend.buttonTitles.pause,
|
|
@@ -372,7 +372,7 @@ var ce = class {
|
|
|
372
372
|
}, [m(l, {
|
|
373
373
|
name: "pause",
|
|
374
374
|
stroke: L.value.stopwatch.legend.buttons.iconColor
|
|
375
|
-
}, null, 8, ["stroke"])], 12,
|
|
375
|
+
}, null, 8, ["stroke"])], 12, Ce)) : d("", !0),
|
|
376
376
|
L.value.stopwatch.legend.buttons.reset ? (y(), f("button", {
|
|
377
377
|
key: 2,
|
|
378
378
|
title: L.value.stopwatch.legend.buttonTitles.reset,
|
|
@@ -1,13 +1,13 @@
|
|
|
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, kt as o, t as s, v as c, zt as l } from "./lib-JqW18y5I.js";
|
|
3
3
|
import { t as ee } from "./useConfig-DYM3f6EI.js";
|
|
4
|
-
import { t as te } from "./usePrinter-
|
|
4
|
+
import { t as te } from "./usePrinter-CqqHmnBI.js";
|
|
5
5
|
import { n as ne, t as re } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as ie } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as u } from "./useNestedProp-
|
|
7
|
+
import { t as u } from "./useNestedProp-DIuuzG1r.js";
|
|
8
8
|
import { t as ae } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as oe } from "./img-
|
|
10
|
-
import { n as se } from "./Title-
|
|
9
|
+
import { t as oe } from "./img-DnP3eXuv.js";
|
|
10
|
+
import { n as se } from "./Title-CcNiYzEo.js";
|
|
11
11
|
import { t as ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { c as le } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as ue } from "./useResponsive-BfnK0KxU.js";
|
|
@@ -65,7 +65,7 @@ var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
|
|
|
65
65
|
},
|
|
66
66
|
emits: ["copyAlt"],
|
|
67
67
|
setup(e, { expose: ce, emit: we }) {
|
|
68
|
-
let E = h(() => import("./PenAndPaper-
|
|
68
|
+
let E = h(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), Re = h(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), ze = h(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), { vue_ui_tiremarks: Be } = ee(), { isThemeValid: Ve, warnInvalidTheme: He } = ae(), D = pe(), O = e, Ue = we, We = d(() => !!O.dataset && Object.keys(O.dataset).length), k = x(n()), A = x(null), Ge = x(null), Ke = x(null), qe = x(null), Je = x(0), Ye = x(0), j = x(null), M = x(null), N = x(!1), P = x(!1), F = x(B()), Xe = d(() => F.value.userOptions.useCursorPointer), Ze = d(() => i({
|
|
69
69
|
defaultConfig: {
|
|
70
70
|
userOptions: { show: !1 },
|
|
71
71
|
style: { chart: {
|
|
@@ -84,7 +84,7 @@ var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
|
|
|
84
84
|
FINAL_CONFIG: F,
|
|
85
85
|
prepareConfig: B,
|
|
86
86
|
skeletonDataset: O.config?.skeletonDataset ?? { percentage: 50 },
|
|
87
|
-
skeletonConfig:
|
|
87
|
+
skeletonConfig: i({
|
|
88
88
|
defaultConfig: F.value,
|
|
89
89
|
userConfig: Ze.value
|
|
90
90
|
})
|
|
@@ -112,7 +112,7 @@ var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
|
|
|
112
112
|
elementId: k.value,
|
|
113
113
|
fileName: F.value.style.chart.title.text || "vue-ui-tiremarks",
|
|
114
114
|
options: F.value.userOptions.print
|
|
115
|
-
}), nt = d(() => F.value.userOptions.show && !F.value.style.chart.title.text), U = x(F.value.style.chart.animation.use && !D.value ? 0 :
|
|
115
|
+
}), nt = d(() => F.value.userOptions.show && !F.value.style.chart.title.text), U = x(F.value.style.chart.animation.use && !D.value ? 0 : c(L.value.percentage));
|
|
116
116
|
Ce(() => L.value, (e) => {
|
|
117
117
|
F.value.style.chart.animation.use && !D.value ? rt(e.percentage) : U.value = e.percentage || 0;
|
|
118
118
|
}, { deep: !0 }), be(() => {
|
|
@@ -127,7 +127,7 @@ var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
|
|
|
127
127
|
}
|
|
128
128
|
let it = d(() => !!F.value.debug);
|
|
129
129
|
function at() {
|
|
130
|
-
if (
|
|
130
|
+
if (o(O.dataset) && t({
|
|
131
131
|
componentName: "VueUiTiremarks",
|
|
132
132
|
type: "dataset",
|
|
133
133
|
debug: it.value
|
|
@@ -185,26 +185,26 @@ var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
|
|
|
185
185
|
}), st = d(() => {
|
|
186
186
|
let e = [];
|
|
187
187
|
for (let t = 0; t < 100; t += 1) {
|
|
188
|
-
let
|
|
188
|
+
let n = F.value.style.chart.layout.ticks.gradient.show ? l(F.value.style.chart.layout.activeColor, t / 100 * (F.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : F.value.style.chart.layout.activeColor;
|
|
189
189
|
if (W.value) {
|
|
190
|
-
let
|
|
190
|
+
let r = F.value.style.chart.layout.crescendo ? (100 - t) * (Y.value.width - G.value.left - G.value.right) / 100 / 3 : 0, i = G.value.left + 4 + r, a = Y.value.width - G.value.right - 4 - r, o = Y.value.height - G.value.bottom - t * X.value.mark - t * X.value.space - X.value.mark, s = Y.value.height - G.value.bottom - t * X.value.mark - t * X.value.space - X.value.mark, c = (a - i) / F.value.style.chart.layout.curveAngleX, l = F.value.style.chart.layout.curveAngleY * ((1 + t) / 100);
|
|
191
191
|
e.push({
|
|
192
192
|
x1: i,
|
|
193
193
|
x2: a,
|
|
194
194
|
y1: o,
|
|
195
195
|
y2: s,
|
|
196
196
|
curve: `M ${i} ${o} C ${i + c} ${o - l}, ${a - c} ${s - l}, ${a} ${s}`,
|
|
197
|
-
color:
|
|
197
|
+
color: n
|
|
198
198
|
});
|
|
199
199
|
} else {
|
|
200
|
-
let
|
|
200
|
+
let r = F.value.style.chart.layout.crescendo ? (100 - t) * (Y.value.height - G.value.top - G.value.bottom) / 100 / 3 : 0, i = G.value.left + t * X.value.mark + t * X.value.space - X.value.mark, a = i, o = G.value.top + 4 + r, s = Y.value.height - G.value.bottom - 4 - r, c = F.value.style.chart.layout.curveAngleY * ((1 + t) / 100), l = (s - o) / F.value.style.chart.layout.curveAngleX;
|
|
201
201
|
e.push({
|
|
202
202
|
x1: i,
|
|
203
203
|
x2: a,
|
|
204
204
|
y1: o,
|
|
205
205
|
y2: s,
|
|
206
206
|
curve: `M ${i} ${o} C ${i + c} ${o + l}, ${a + c} ${s - l}, ${a} ${s}`,
|
|
207
|
-
color:
|
|
207
|
+
color: n
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
210
|
}
|
|
@@ -289,7 +289,7 @@ var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
|
|
|
289
289
|
dataset: L.value
|
|
290
290
|
}));
|
|
291
291
|
}
|
|
292
|
-
let _t = d(() => `${k.value}-title`), vt = d(() => `${k.value}-desc`), yt = d(() =>
|
|
292
|
+
let _t = d(() => `${k.value}-title`), vt = d(() => `${k.value}-desc`), yt = d(() => a(F.value.style.chart.percentage.formatter, U.value, r({
|
|
293
293
|
v: U.value,
|
|
294
294
|
s: "%",
|
|
295
295
|
r: F.value.style.chart.percentage.rounding
|
|
@@ -470,7 +470,7 @@ var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
|
|
|
470
470
|
(b(), m("svg", {
|
|
471
471
|
ref_key: "svgRef",
|
|
472
472
|
ref: z,
|
|
473
|
-
xmlns: w(
|
|
473
|
+
xmlns: w(s),
|
|
474
474
|
class: _({
|
|
475
475
|
"vue-data-ui-fullscreen--on": Q.value,
|
|
476
476
|
"vue-data-ui-fulscreen--off": !Q.value
|
|
@@ -527,7 +527,7 @@ var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
|
|
|
527
527
|
x: Z.value.x,
|
|
528
528
|
y: Z.value.y,
|
|
529
529
|
"font-size": Z.value.fontSize,
|
|
530
|
-
fill: F.value.style.chart.layout.ticks.gradient.show && F.value.style.chart.percentage.useGradientColor ? w(
|
|
530
|
+
fill: F.value.style.chart.layout.ticks.gradient.show && F.value.style.chart.percentage.useGradientColor ? w(l)(F.value.style.chart.layout.activeColor, U.value / 100 * (F.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : F.value.style.chart.percentage.color,
|
|
531
531
|
"font-weight": Z.value.bold ? "bold" : "normal",
|
|
532
532
|
"text-anchor": Z.value.textAnchor
|
|
533
533
|
}, C(yt.value), 9, Ie))], 8, Pe)) : p("", !0),
|