vue-data-ui 3.22.8 → 3.22.10
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-DdymhUfY.js → Arrow-Ku6rQ87g.js} +1 -1
- package/dist/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-CdkCqtag.js} +2 -2
- package/dist/BaseIcon-CDTIUIKV.js +483 -0
- package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-BrQ2OlzI.js} +1 -1
- package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-CkEX0292.js} +2 -2
- package/dist/{ColorPicker-CK2-h611.js → ColorPicker-C959ZIW9.js} +2 -2
- package/dist/{DataTable-D9NvewTT.js → DataTable-ByZy5gt1.js} +2 -2
- package/dist/DefGrad-DVBqDjhO.js +48 -0
- package/dist/{Legend-ROt6ugzW.js → Legend-5VQGLnmx.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-Bd8OzTqw.js} +3 -3
- package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-BoTvk0i5.js} +1 -1
- package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-CLaZJl6K.js} +3 -3
- package/dist/{Shape-UpH0a4Ur.js → Shape-B5ksaGa1.js} +3 -3
- package/dist/{Slicer-BZ5VnOOS.js → Slicer-WsWTQPKt.js} +368 -363
- package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-3n516NyE.js} +460 -455
- package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-CbYYc-xb.js} +1 -1
- package/dist/{Title-CcNiYzEo.js → Title-Cr3jP7Qd.js} +1 -1
- package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CDbLl3TD.js} +1 -1
- package/dist/{UserOptions-16uF1ayB.js → UserOptions-BUQOnoPR.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-BbwhsRIr.js → dom-to-png-COPbGrdd.js} +1 -1
- package/dist/exposedLib-CZbtc2a6.js +25 -0
- package/dist/{img-DnP3eXuv.js → img-CNdXiUfZ.js} +1 -1
- package/dist/{labelUtils-DBEh078l.js → labelUtils-JaoYKi2N.js} +1 -1
- package/dist/{lib-JqW18y5I.js → lib-CnHx5WfV.js} +118 -107
- package/dist/{package-gp9pYCfN.js → package-BRBLwZUc.js} +1 -1
- package/dist/{pdf-hj3gzrE7.js → pdf-CEMzBeuV.js} +1 -1
- package/dist/{render-common-CLn1VXJ9.js → render-common-DJXFRGhU.js} +10 -10
- 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 +40 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-BUPt2iaP.js} +1 -1
- package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-D8NuRneO.js} +2 -2
- package/dist/{usePrinter-CqqHmnBI.js → usePrinter-B-X_Pub0.js} +2 -2
- package/dist/utils.js +26 -24
- package/dist/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-Bx_8d3b_.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-CfUfbpSE.js +1825 -0
- package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-Oo3IsX3-.js} +3 -3
- package/dist/vue-ui-age-pyramid-DD-4y5Jd.js +1247 -0
- package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BvGE3lzE.js} +8 -8
- package/dist/vue-ui-bullet-DYOdbaO2.js +710 -0
- package/dist/vue-ui-bump-B8fJoxHF.js +1249 -0
- package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-BUP1JoNs.js} +555 -544
- package/dist/vue-ui-carousel-table-D-Bwhydt.js +455 -0
- package/dist/vue-ui-chestnut-C2VK2NEx.js +2042 -0
- package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-AA-QjUQI.js} +42 -42
- package/dist/vue-ui-circle-pack-CdBFGYOK.js +1614 -0
- package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-Cm_J_5Gk.js} +5 -5
- package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CgRph4-n.js} +32 -32
- package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BuPw5QjB.js} +69 -69
- package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-ClrukmcB.js} +3 -3
- package/dist/vue-ui-donut-Bc-EPZvu.js +2419 -0
- package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-DtQCrMKL.js} +207 -207
- package/dist/vue-ui-donut-evolution-DHkiY-BD.js +1522 -0
- package/dist/vue-ui-dumbbell-BlHEH4Mw.js +1564 -0
- package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-PjwAW2tY.js} +71 -71
- package/dist/vue-ui-funnel-DojI09FV.js +782 -0
- package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-txYIK_LG.js} +276 -276
- package/dist/vue-ui-gauge-CoL0OzSd.js +926 -0
- package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-yuL-_sqF.js} +20 -20
- package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-CbC5zV3K.js} +66 -61
- package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-CwqsZIsR.js} +331 -331
- package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-CuWssH-D.js} +561 -550
- package/dist/vue-ui-horizontal-bar-Dyje3GND.js +1689 -0
- package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BdYenScF.js} +3 -3
- package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-BbwE3vBT.js} +2 -2
- package/dist/vue-ui-molecule-BBh31vmd.js +931 -0
- package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-B_6GFlaR.js} +336 -331
- package/dist/vue-ui-nested-donuts-BWq-At5Y.js +1493 -0
- package/dist/vue-ui-onion-BwGbSE-6.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-Bh9hNoqf.js +1416 -0
- package/dist/vue-ui-quadrant-B72Y4Zuw.js +1984 -0
- package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-B3LF2ViM.js} +108 -108
- package/dist/vue-ui-radar-4v_E8oGX.js +1287 -0
- package/dist/vue-ui-rating-CzLGCFWK.js +352 -0
- package/dist/vue-ui-relation-circle-B_8dyIv2.js +924 -0
- package/dist/{vue-ui-ridgeline-Cp3YP0xe.js → vue-ui-ridgeline-BArLhskj.js} +543 -537
- package/dist/vue-ui-rings-Csn5BgLk.js +1252 -0
- package/dist/vue-ui-scatter-BBaOx94M.js +2422 -0
- package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-KeIPGp9U.js} +426 -423
- package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-C1mYDh4R.js} +120 -107
- package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-EqCqmHmU.js} +145 -140
- package/dist/vue-ui-sparkbar-BPh45vBP.js +398 -0
- package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-CtouPcyW.js} +81 -76
- package/dist/{vue-ui-sparkhistogram-D02ff7ZI.js → vue-ui-sparkhistogram-D4sI0DHN.js} +166 -150
- package/dist/vue-ui-sparkline-BDFZ78Fz.js +1560 -0
- package/dist/vue-ui-sparkstackbar-CbTXIfxm.js +674 -0
- package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-nMXIY9x8.js} +603 -596
- package/dist/vue-ui-stackline-CzfXl5ah.js +2425 -0
- package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-BCf5nthl.js} +415 -408
- package/dist/vue-ui-table-BAKkFXki.js +1338 -0
- package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CUMxqHKK.js} +15 -15
- package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-BVTm16fd.js} +20 -20
- package/dist/vue-ui-thermometer-CGeEW1KV.js +770 -0
- package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-Bz7EnsM1.js} +94 -89
- package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-IOqtk_Rr.js} +17 -17
- package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-JxNNtb7v.js} +509 -504
- package/dist/vue-ui-waffle-D34mcJWi.js +1368 -0
- package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-B_qEhyvk.js} +44 -44
- package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-TtObhd91.js} +32 -32
- package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-R9o00A6c.js} +359 -348
- package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-CUt6sU1s.js} +1678 -1652
- package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Do34-UbE.js} +134 -134
- package/dist/vue-ui-xy-canvas-C6eRRH--.js +1790 -0
- package/package.json +1 -1
- package/dist/BaseIcon-C2qlyHc7.js +0 -502
- package/dist/exposedLib-VXFp3Z2c.js +0 -19
- package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
- package/dist/vue-ui-age-pyramid-DTAOc7fn.js +0 -1238
- package/dist/vue-ui-bullet-CCLnrOLm.js +0 -710
- package/dist/vue-ui-bump-Rq7efdoe.js +0 -1249
- package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +0 -455
- package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
- package/dist/vue-ui-donut-C3Rt6j-I.js +0 -2410
- package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
- package/dist/vue-ui-dumbbell-wK7vUB0x.js +0 -1530
- package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
- package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
- package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +0 -1683
- package/dist/vue-ui-molecule-CExCqZ08.js +0 -925
- package/dist/vue-ui-nested-donuts-3TRV8pN-.js +0 -1487
- package/dist/vue-ui-onion-DwKK9DXn.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +0 -1416
- package/dist/vue-ui-quadrant-ByVg-NBs.js +0 -1978
- package/dist/vue-ui-radar-DE-me6OC.js +0 -1281
- package/dist/vue-ui-rating-CzD3EQ3G.js +0 -343
- package/dist/vue-ui-relation-circle-L7-dTqet.js +0 -924
- package/dist/vue-ui-rings-WzWiEo9W.js +0 -1246
- package/dist/vue-ui-scatter-DwrAydha.js +0 -2413
- package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
- package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
- package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +0 -662
- package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
- package/dist/vue-ui-table-Q3brrivC.js +0 -1338
- package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
- package/dist/vue-ui-waffle-Pi9e7Ae7.js +0 -1362
- package/dist/vue-ui-xy-canvas-BfgeE3TW.js +0 -1790
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { K as t, Kt as n, t as r } from "./lib-CnHx5WfV.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-D8NuRneO.js";
|
|
5
|
+
import { n as o } from "./Title-Cr3jP7Qd.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-CDTIUIKV.js";
|
|
10
|
+
import { t as u } from "./DefGrad-DVBqDjhO.js";
|
|
10
11
|
import { t as te } from "./useChartAccessibility-DYqac8yF.js";
|
|
11
|
-
import { computed as
|
|
12
|
+
import { computed as d, createBlock as ne, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineAsyncComponent as re, guardReactiveProps as g, mergeProps as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as ie, onMounted as ae, openBlock as b, ref as x, renderSlot as S, shallowRef as C, toDisplayString as oe, unref as w, watch as se } from "vue";
|
|
12
13
|
//#region src/timer.js
|
|
13
14
|
var ce = class {
|
|
14
15
|
constructor(e, t, n, r = !0, i = !0) {
|
|
@@ -56,37 +57,37 @@ var ce = class {
|
|
|
56
57
|
n && n(e);
|
|
57
58
|
};
|
|
58
59
|
}
|
|
59
|
-
},
|
|
60
|
+
}, T = /* @__PURE__ */ e({ default: () => E }), le = ["xmlns", "viewBox"], ue = ["width", "height"], de = { key: 1 }, fe = [
|
|
60
61
|
"cx",
|
|
61
62
|
"cy",
|
|
62
63
|
"r",
|
|
63
64
|
"fill",
|
|
64
65
|
"stroke",
|
|
65
66
|
"stroke-width"
|
|
66
|
-
],
|
|
67
|
+
], pe = [
|
|
67
68
|
"d",
|
|
68
69
|
"stroke",
|
|
69
70
|
"stroke-width"
|
|
70
|
-
],
|
|
71
|
+
], me = [
|
|
71
72
|
"r",
|
|
72
73
|
"fill",
|
|
73
74
|
"stroke",
|
|
74
75
|
"stroke-width"
|
|
75
|
-
],
|
|
76
|
+
], he = [
|
|
76
77
|
"r",
|
|
77
78
|
"fill",
|
|
78
79
|
"stroke",
|
|
79
80
|
"stroke-width"
|
|
80
|
-
],
|
|
81
|
+
], ge = ["x", "y"], _e = { key: 5 }, ve = [
|
|
81
82
|
"x",
|
|
82
83
|
"y",
|
|
83
84
|
"font-size",
|
|
84
85
|
"fill",
|
|
85
86
|
"font-weight"
|
|
86
|
-
],
|
|
87
|
+
], ye = {
|
|
87
88
|
key: 0,
|
|
88
89
|
class: "vue-ui-timer-controls"
|
|
89
|
-
},
|
|
90
|
+
}, be = ["title"], xe = ["title"], Se = ["title"], Ce = ["title"], we = ["title"], E = /*#__PURE__*/ s({
|
|
90
91
|
__name: "vue-ui-timer",
|
|
91
92
|
props: { config: {
|
|
92
93
|
type: Object,
|
|
@@ -101,8 +102,8 @@ var ce = class {
|
|
|
101
102
|
"restart",
|
|
102
103
|
"lap"
|
|
103
104
|
],
|
|
104
|
-
setup(e, { expose: s, emit:
|
|
105
|
-
let E = re(() => import("./PackageVersion-
|
|
105
|
+
setup(e, { expose: s, emit: T }) {
|
|
106
|
+
let E = re(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), { vue_ui_timer: Te } = i(), D = e, O = T, k = x(null), A = x(null), j = x(null), M = C(null), N = C(null), P = x(t()), F = x(0);
|
|
106
107
|
ae(() => {
|
|
107
108
|
I();
|
|
108
109
|
});
|
|
@@ -142,25 +143,25 @@ var ce = class {
|
|
|
142
143
|
ie(() => {
|
|
143
144
|
M.value && (N.value && M.value.unobserve(N.value), M.value.disconnect());
|
|
144
145
|
});
|
|
145
|
-
let L =
|
|
146
|
+
let L = d({
|
|
146
147
|
get: () => z(),
|
|
147
148
|
set: (e) => e
|
|
148
|
-
}), R =
|
|
149
|
+
}), R = d(() => L.value.useCursorPointer), { svgRef: Ee } = te({ config: L.value.style.title });
|
|
149
150
|
function z() {
|
|
150
151
|
return a({
|
|
151
152
|
userConfig: D.config,
|
|
152
|
-
defaultConfig:
|
|
153
|
+
defaultConfig: Te
|
|
153
154
|
});
|
|
154
155
|
}
|
|
155
156
|
se(() => D.config, (e) => {
|
|
156
157
|
L.value = z(), I(), F.value += 1;
|
|
157
158
|
}, { deep: !0 });
|
|
158
|
-
let
|
|
159
|
+
let De = d(() => {
|
|
159
160
|
if (L.value.stopwatch.showHours && L.value.stopwatch.showHundredth) return "00:00:00.00";
|
|
160
161
|
if (L.value.stopwatch.showHours && !L.value.stopwatch.showHundredth) return "00:00:00";
|
|
161
162
|
if (!L.value.stopwatch.showHours && L.value.stopwatch.showHundredth) return "00:00.00";
|
|
162
163
|
if (!L.value.stopwatch.showHours && !L.value.stopwatch.showHundredth) return "00:00";
|
|
163
|
-
}), B =
|
|
164
|
+
}), B = x({
|
|
164
165
|
height: L.value.style.height,
|
|
165
166
|
width: L.value.style.width,
|
|
166
167
|
tracker: {
|
|
@@ -168,7 +169,7 @@ var ce = class {
|
|
|
168
169
|
aura: 12 * L.value.stopwatch.tracker.aura.radiusRatio
|
|
169
170
|
},
|
|
170
171
|
label: L.value.stopwatch.label.fontSize
|
|
171
|
-
}), V =
|
|
172
|
+
}), V = x(0), H = new ce((e) => Oe(e), 10, "", L.value.stopwatch.showHundredth, L.value.stopwatch.showHours), U = x(!0), W = x(!1), G = x(!1);
|
|
172
173
|
function K() {
|
|
173
174
|
O("start"), U.value && H.start(), U.value = !1, W.value = !0;
|
|
174
175
|
}
|
|
@@ -181,32 +182,32 @@ var ce = class {
|
|
|
181
182
|
function Y() {
|
|
182
183
|
W.value && (G.value = !1, O("restart"), X.value = [], H.restart());
|
|
183
184
|
}
|
|
184
|
-
let X =
|
|
185
|
+
let X = x([]);
|
|
185
186
|
async function Z() {
|
|
186
187
|
if (!W.value || G.value) return;
|
|
187
188
|
let e = await H.lap();
|
|
188
189
|
e && (X.value.push(e), O("lap", X.value));
|
|
189
190
|
}
|
|
190
|
-
function
|
|
191
|
+
function Oe({ timestamp: e, elapsed: t, formatted: n }) {
|
|
191
192
|
V.value = {
|
|
192
193
|
timestamp: e,
|
|
193
194
|
elapsed: t,
|
|
194
195
|
formatted: n
|
|
195
196
|
};
|
|
196
197
|
}
|
|
197
|
-
let Q =
|
|
198
|
-
function
|
|
198
|
+
let Q = d(() => Math.min(B.value.width, B.value.height) / 2.5 * L.value.stopwatch.track.radiusRatio);
|
|
199
|
+
function ke(e, t) {
|
|
199
200
|
return e * (360 / (t * 1e3)) % 360;
|
|
200
201
|
}
|
|
201
|
-
function
|
|
202
|
+
function Ae(e) {
|
|
202
203
|
let t = Math.PI / 180 * e;
|
|
203
204
|
return {
|
|
204
205
|
cx: B.value.width / 2 + Q.value * Math.cos(t),
|
|
205
206
|
cy: B.value.height / 2 + Q.value * Math.sin(t)
|
|
206
207
|
};
|
|
207
208
|
}
|
|
208
|
-
let $ =
|
|
209
|
-
let e =
|
|
209
|
+
let $ = d(() => {
|
|
210
|
+
let e = ke(V.value.elapsed, L.value.stopwatch.cycleSeconds), { cx: t, cy: n } = Ae(e - 90), r = +(e > 180);
|
|
210
211
|
return {
|
|
211
212
|
cx: t || B.value.width / 2,
|
|
212
213
|
cy: n || B.value.height / 2 - Q.value,
|
|
@@ -220,26 +221,26 @@ var ce = class {
|
|
|
220
221
|
reset: q,
|
|
221
222
|
restart: Y,
|
|
222
223
|
lap: Z
|
|
223
|
-
}), (e, t) => (
|
|
224
|
+
}), (e, t) => (b(), p("div", {
|
|
224
225
|
ref_key: "timerChart",
|
|
225
226
|
ref: k,
|
|
226
227
|
class: "vue-data-ui-component vue-ui-timer",
|
|
227
|
-
style:
|
|
228
|
+
style: y({
|
|
228
229
|
fontFamily: L.value.style.fontFamily,
|
|
229
230
|
width: "100%",
|
|
230
231
|
height: L.value.responsive ? "100%" : "auto",
|
|
231
232
|
textAlign: "center"
|
|
232
233
|
})
|
|
233
234
|
}, [
|
|
234
|
-
L.value.style.title.text ? (
|
|
235
|
+
L.value.style.title.text ? (b(), p("div", {
|
|
235
236
|
key: 0,
|
|
236
237
|
ref_key: "chartTitle",
|
|
237
238
|
ref: A,
|
|
238
|
-
style:
|
|
239
|
+
style: y({
|
|
239
240
|
width: "100%",
|
|
240
241
|
background: L.value.style.backgroundColor
|
|
241
242
|
})
|
|
242
|
-
}, [(
|
|
243
|
+
}, [(b(), ne(o, {
|
|
243
244
|
key: `title_${F.value}`,
|
|
244
245
|
config: {
|
|
245
246
|
title: {
|
|
@@ -251,83 +252,87 @@ var ce = class {
|
|
|
251
252
|
...L.value.style.title.subtitle
|
|
252
253
|
}
|
|
253
254
|
}
|
|
254
|
-
}, null, 8, ["config"]))], 4)) :
|
|
255
|
-
(
|
|
255
|
+
}, null, 8, ["config"]))], 4)) : f("", !0),
|
|
256
|
+
(b(), p("svg", {
|
|
256
257
|
ref_key: "svgRef",
|
|
257
|
-
ref:
|
|
258
|
-
xmlns:
|
|
258
|
+
ref: Ee,
|
|
259
|
+
xmlns: w(r),
|
|
259
260
|
viewBox: `0 0 ${B.value.width <= 0 ? 10 : B.value.width} ${B.value.height <= 0 ? 10 : B.value.height}`,
|
|
260
|
-
style:
|
|
261
|
+
style: y({
|
|
261
262
|
maxWidth: "100%",
|
|
262
263
|
overflow: "visible",
|
|
263
264
|
background: L.value.style.backgroundColor
|
|
264
265
|
})
|
|
265
266
|
}, [
|
|
266
|
-
|
|
267
|
-
e.$slots["chart-background"] ? (
|
|
267
|
+
h(w(E)),
|
|
268
|
+
e.$slots["chart-background"] ? (b(), p("foreignObject", {
|
|
268
269
|
key: 0,
|
|
269
270
|
x: 0,
|
|
270
271
|
y: 0,
|
|
271
272
|
width: B.value.width <= 0 ? 10 : B.value.width,
|
|
272
273
|
height: B.value.height <= 0 ? 10 : B.value.height,
|
|
273
274
|
style: { pointerEvents: "none" }
|
|
274
|
-
}, [
|
|
275
|
-
L.value.stopwatch.tracker.gradient.show ? (
|
|
275
|
+
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, ue)) : f("", !0),
|
|
276
|
+
L.value.stopwatch.tracker.gradient.show ? (b(), p("defs", de, [h(u, {
|
|
277
|
+
t: "radial",
|
|
276
278
|
id: `tracker_gradient_${P.value}`,
|
|
277
279
|
cx: "50%",
|
|
278
280
|
cy: "50%",
|
|
279
281
|
r: "50%",
|
|
280
282
|
fx: "50%",
|
|
281
|
-
fy: "50%"
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
283
|
+
fy: "50%",
|
|
284
|
+
stops: [[
|
|
285
|
+
"0%",
|
|
286
|
+
L.value.stopwatch.tracker.gradient.color,
|
|
287
|
+
1
|
|
288
|
+
], [
|
|
289
|
+
"100%",
|
|
290
|
+
L.value.stopwatch.tracker.fill,
|
|
291
|
+
1
|
|
292
|
+
]]
|
|
293
|
+
}, null, 8, ["id", "stops"])])) : f("", !0),
|
|
294
|
+
m("circle", {
|
|
290
295
|
cx: B.value.width / 2,
|
|
291
296
|
cy: B.value.height / 2,
|
|
292
297
|
r: Q.value,
|
|
293
298
|
fill: L.value.stopwatch.track.fill,
|
|
294
299
|
stroke: L.value.stopwatch.track.stroke,
|
|
295
300
|
"stroke-width": L.value.stopwatch.track.strokeWidth
|
|
296
|
-
}, null, 8,
|
|
297
|
-
L.value.stopwatch.cycleTrack.show ? (
|
|
301
|
+
}, null, 8, fe),
|
|
302
|
+
L.value.stopwatch.cycleTrack.show ? (b(), p("path", {
|
|
298
303
|
key: 2,
|
|
299
304
|
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}`,
|
|
300
305
|
stroke: L.value.stopwatch.cycleTrack.stroke,
|
|
301
306
|
"stroke-width": L.value.stopwatch.cycleTrack.strokeWidth,
|
|
302
307
|
"stroke-linecap": "round",
|
|
303
308
|
fill: "none"
|
|
304
|
-
}, null, 8,
|
|
305
|
-
|
|
309
|
+
}, null, 8, pe)) : f("", !0),
|
|
310
|
+
m("circle", _($.value, {
|
|
306
311
|
r: B.value.tracker.core,
|
|
307
312
|
fill: L.value.stopwatch.tracker.gradient.show ? `url(#tracker_gradient_${P.value})` : L.value.stopwatch.tracker.fill,
|
|
308
313
|
stroke: L.value.stopwatch.tracker.stroke,
|
|
309
314
|
"stroke-width": L.value.stopwatch.tracker.strokeWidth
|
|
310
|
-
}), null, 16,
|
|
311
|
-
L.value.stopwatch.tracker.aura.show ? (
|
|
315
|
+
}), null, 16, me),
|
|
316
|
+
L.value.stopwatch.tracker.aura.show ? (b(), p("circle", _({ key: 3 }, $.value, {
|
|
312
317
|
r: B.value.tracker.aura,
|
|
313
318
|
fill: `${L.value.stopwatch.tracker.aura.fill}20`,
|
|
314
319
|
stroke: L.value.stopwatch.tracker.aura.stroke,
|
|
315
320
|
"stroke-width": L.value.stopwatch.tracker.aura.strokeWidth
|
|
316
|
-
}), null, 16,
|
|
317
|
-
e.$slots.time ? (
|
|
321
|
+
}), null, 16, he)) : f("", !0),
|
|
322
|
+
e.$slots.time ? (b(), p("foreignObject", {
|
|
318
323
|
key: 4,
|
|
319
324
|
x: B.value.width / 2,
|
|
320
325
|
y: B.value.height / 2,
|
|
321
326
|
height: "0.1",
|
|
322
327
|
width: "0.1",
|
|
323
328
|
style: { overflow: "visible" }
|
|
324
|
-
}, [
|
|
329
|
+
}, [S(e.$slots, "time", v(g({
|
|
325
330
|
...V.value,
|
|
326
331
|
...B.value
|
|
327
|
-
})), void 0, !0)], 8,
|
|
332
|
+
})), void 0, !0)], 8, ge)) : e.$slots.timeSvg ? (b(), p("g", _e, [S(e.$slots, "timeSvg", v(g({
|
|
328
333
|
...V.value,
|
|
329
334
|
...B.value
|
|
330
|
-
})), void 0, !0)])) : (
|
|
335
|
+
})), void 0, !0)])) : (b(), p("text", {
|
|
331
336
|
key: 6,
|
|
332
337
|
x: B.value.width / 2,
|
|
333
338
|
y: B.value.height / 2 + B.value.label / 4,
|
|
@@ -336,84 +341,84 @@ var ce = class {
|
|
|
336
341
|
fill: L.value.stopwatch.label.color,
|
|
337
342
|
"font-weight": L.value.stopwatch.label.bold ? "bold" : "normal",
|
|
338
343
|
style: { "font-variant-numeric": "tabular-nums !important" }
|
|
339
|
-
}, oe(V.value.formatted ||
|
|
344
|
+
}, oe(V.value.formatted || De.value), 9, ve))
|
|
340
345
|
], 12, le)),
|
|
341
|
-
|
|
346
|
+
m("div", {
|
|
342
347
|
ref_key: "chartLegend",
|
|
343
348
|
ref: j,
|
|
344
|
-
style:
|
|
349
|
+
style: y({
|
|
345
350
|
width: "100%",
|
|
346
351
|
backgroundColor: L.value.stopwatch.legend.backgroundColor
|
|
347
352
|
})
|
|
348
353
|
}, [
|
|
349
|
-
e.$slots.controls ?
|
|
350
|
-
L.value.stopwatch.legend.buttons.start ? (
|
|
354
|
+
e.$slots.controls ? f("", !0) : (b(), p("div", ye, [
|
|
355
|
+
L.value.stopwatch.legend.buttons.start ? (b(), p("button", {
|
|
351
356
|
key: 0,
|
|
352
357
|
title: L.value.stopwatch.legend.buttonTitles.start,
|
|
353
358
|
onClick: K,
|
|
354
359
|
class: "vue-ui-timer-button",
|
|
355
|
-
style:
|
|
360
|
+
style: y({
|
|
356
361
|
opacity: W.value ? .2 : 1,
|
|
357
362
|
cursor: W.value ? "default" : R.value ? "pointer" : "default"
|
|
358
363
|
})
|
|
359
|
-
}, [
|
|
364
|
+
}, [h(l, {
|
|
360
365
|
name: "play",
|
|
361
366
|
stroke: L.value.stopwatch.legend.buttons.iconColor
|
|
362
|
-
}, null, 8, ["stroke"])], 12,
|
|
363
|
-
L.value.stopwatch.legend.buttons.pause ? (
|
|
367
|
+
}, null, 8, ["stroke"])], 12, be)) : f("", !0),
|
|
368
|
+
L.value.stopwatch.legend.buttons.pause ? (b(), p("button", {
|
|
364
369
|
key: 1,
|
|
365
370
|
title: G.value ? L.value.stopwatch.legend.buttonTitles.resume : L.value.stopwatch.legend.buttonTitles.pause,
|
|
366
371
|
onClick: J,
|
|
367
372
|
class: "vue-ui-timer-button",
|
|
368
|
-
style:
|
|
373
|
+
style: y({
|
|
369
374
|
opacity: W.value ? 1 : .2,
|
|
370
375
|
cursor: W.value && R.value ? "pointer" : "default"
|
|
371
376
|
})
|
|
372
|
-
}, [
|
|
377
|
+
}, [h(l, {
|
|
373
378
|
name: "pause",
|
|
374
379
|
stroke: L.value.stopwatch.legend.buttons.iconColor
|
|
375
|
-
}, null, 8, ["stroke"])], 12,
|
|
376
|
-
L.value.stopwatch.legend.buttons.reset ? (
|
|
380
|
+
}, null, 8, ["stroke"])], 12, xe)) : f("", !0),
|
|
381
|
+
L.value.stopwatch.legend.buttons.reset ? (b(), p("button", {
|
|
377
382
|
key: 2,
|
|
378
383
|
title: L.value.stopwatch.legend.buttonTitles.reset,
|
|
379
384
|
onClick: q,
|
|
380
385
|
class: "vue-ui-timer-button",
|
|
381
|
-
style:
|
|
386
|
+
style: y({
|
|
382
387
|
opacity: W.value ? 1 : .2,
|
|
383
388
|
cursor: W.value && R.value ? "pointer" : "default"
|
|
384
389
|
})
|
|
385
|
-
}, [
|
|
390
|
+
}, [h(l, {
|
|
386
391
|
name: "stop",
|
|
387
392
|
stroke: L.value.stopwatch.legend.buttons.iconColor
|
|
388
|
-
}, null, 8, ["stroke"])], 12,
|
|
389
|
-
L.value.stopwatch.legend.buttons.restart ? (
|
|
393
|
+
}, null, 8, ["stroke"])], 12, Se)) : f("", !0),
|
|
394
|
+
L.value.stopwatch.legend.buttons.restart ? (b(), p("button", {
|
|
390
395
|
key: 3,
|
|
391
396
|
title: L.value.stopwatch.legend.buttonTitles.restart,
|
|
392
397
|
onClick: Y,
|
|
393
398
|
class: "vue-ui-timer-button",
|
|
394
|
-
style:
|
|
399
|
+
style: y({
|
|
395
400
|
opacity: W.value ? 1 : .2,
|
|
396
401
|
cursor: W.value && R.value ? "pointer" : "default"
|
|
397
402
|
})
|
|
398
|
-
}, [
|
|
403
|
+
}, [h(l, {
|
|
399
404
|
name: "restart",
|
|
400
405
|
stroke: L.value.stopwatch.legend.buttons.iconColor
|
|
401
|
-
}, null, 8, ["stroke"])], 12,
|
|
402
|
-
L.value.stopwatch.legend.buttons.lap ? (
|
|
406
|
+
}, null, 8, ["stroke"])], 12, Ce)) : f("", !0),
|
|
407
|
+
L.value.stopwatch.legend.buttons.lap ? (b(), p("button", {
|
|
403
408
|
key: 4,
|
|
404
409
|
title: L.value.stopwatch.legend.buttonTitles.lap,
|
|
405
410
|
onClick: Z,
|
|
406
411
|
class: "vue-ui-timer-button",
|
|
407
|
-
style:
|
|
412
|
+
style: y({
|
|
408
413
|
opacity: W.value && !G.value ? 1 : .2,
|
|
409
414
|
cursor: W.value && !G.value && R.value ? "pointer" : "default"
|
|
410
415
|
})
|
|
411
|
-
}, [
|
|
416
|
+
}, [h(l, {
|
|
412
417
|
name: "lap",
|
|
413
418
|
stroke: L.value.stopwatch.legend.buttons.iconColor
|
|
414
|
-
}, null, 8, ["stroke"])], 12,
|
|
419
|
+
}, null, 8, ["stroke"])], 12, we)) : f("", !0)
|
|
415
420
|
])),
|
|
416
|
-
|
|
421
|
+
S(e.$slots, "controls", v(g({
|
|
417
422
|
start: K,
|
|
418
423
|
pause: J,
|
|
419
424
|
reset: q,
|
|
@@ -424,7 +429,7 @@ var ce = class {
|
|
|
424
429
|
isPaused: G.value,
|
|
425
430
|
...V.value
|
|
426
431
|
})), void 0, !0),
|
|
427
|
-
|
|
432
|
+
S(e.$slots, "laps", v(g({
|
|
428
433
|
laps: X.value,
|
|
429
434
|
lap: Z,
|
|
430
435
|
isRunning: W.value,
|
|
@@ -434,6 +439,6 @@ var ce = class {
|
|
|
434
439
|
], 4)
|
|
435
440
|
], 4));
|
|
436
441
|
}
|
|
437
|
-
}, [["__scopeId", "data-v-
|
|
442
|
+
}, [["__scopeId", "data-v-60031aa0"]]);
|
|
438
443
|
//#endregion
|
|
439
|
-
export {
|
|
444
|
+
export { T as n, E as t };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { At as t, Bt as n, K as r, Y as i, et as a, i as o, qt as s, t as c, y as l } from "./lib-CnHx5WfV.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-B-X_Pub0.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-D8NuRneO.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-CNdXiUfZ.js";
|
|
10
|
+
import { n as se } from "./Title-Cr3jP7Qd.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-CLaZJl6K.js").then((e) => e.t)), Re = h(() => import("./UserOptions-BUQOnoPR.js").then((e) => e.n)), ze = h(() => import("./PackageVersion-BoTvk0i5.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(r()), 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(() => s({
|
|
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: s({
|
|
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 : l(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 (t(O.dataset) && a({
|
|
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 r = F.value.style.chart.layout.ticks.gradient.show ? n(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 n = 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 + n, a = Y.value.width - G.value.right - 4 - n, 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: r
|
|
198
198
|
});
|
|
199
199
|
} else {
|
|
200
|
-
let
|
|
200
|
+
let n = 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 + n, s = Y.value.height - G.value.bottom - 4 - n, 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: r
|
|
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(() => o(F.value.style.chart.percentage.formatter, U.value, i({
|
|
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(c),
|
|
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(n)(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),
|