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,14 +1,15 @@
|
|
|
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-UdRAvP2h.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-D__dRVRA.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 { $ 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-DsXi7GJ-.js").then((e) => e.t)), Re = h(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), ze = h(() => import("./PackageVersion-D__dRVRA.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,7 +185,7 @@ 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 n = F.value.style.chart.layout.ticks.gradient.show ?
|
|
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
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({
|
|
@@ -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),
|