vue-data-ui 3.3.2 → 3.4.0
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-DLi6NnGD.js → Arrow-CRe_nKB4.js} +1 -1
- package/dist/{BaseDraggableDialog-CVGErydD.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
- package/dist/{BaseIcon-eZbszQrv.js → BaseIcon-B5KaGWWC.js} +1 -1
- package/dist/{ColorPicker-BoPM4Ejg.js → ColorPicker-BMztHpBp.js} +10 -10
- package/dist/{DataTable-yAMEyP6y.js → DataTable-DOx3zgih.js} +2 -2
- package/dist/{Legend-By4rru90.js → Legend-C8u37J42.js} +2 -2
- package/dist/{NonSvgPenAndPaper-C7QqIewT.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
- package/dist/{PackageVersion-r-Q1R3nV.js → PackageVersion-DyDViSOy.js} +1 -1
- package/dist/{PenAndPaper-Bo-lMUik.js → PenAndPaper-Dj2diYr0.js} +3 -3
- package/dist/{Shape-BceHSLHf.js → Shape-BhNvlGIN.js} +1 -1
- package/dist/{Slicer-Znzt0gSE.js → Slicer-BHgEsIBU.js} +111 -111
- package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
- package/dist/{SparkTooltip--YwqrrgZ.js → SparkTooltip-CL3cNRQ_.js} +1 -1
- package/dist/{Title-Camz1Lce.js → Title-CFmv95In.js} +1 -1
- package/dist/{Tooltip-VOcQEHa4.js → Tooltip-Cs4v8OnI.js} +1 -1
- package/dist/{UserOptions-CSja1SGU.js → UserOptions-C0YT60JN.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-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-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-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-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-DxyZSvDx.js → dom-to-png-xQ7LXrxp.js} +1 -1
- package/dist/{img-J2dLIr8Y.js → img-CFY3JivG.js} +1 -1
- package/dist/{lib-CEjkWSLj.js → lib-BcBZIm6u.js} +439 -395
- package/dist/{pdf-anN8VbM7.js → pdf-O34i6EQX.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +82 -8
- package/dist/{useAutoSizeLabelsInsideViewbox-CovTrBjm.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
- package/dist/{useNestedProp-Ce3PwN8T.js → useNestedProp-B7CiTRDS.js} +327 -240
- package/dist/{usePrinter-DJ1iH-F_.js → usePrinter-C1GiglOH.js} +2 -2
- package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
- package/dist/{vue-data-ui-BFdGl7rL.js → vue-data-ui-D7Tgakts.js} +64 -64
- package/dist/vue-data-ui.js +100 -100
- package/dist/{vue-ui-3d-bar-kzlIaqHU.js → vue-ui-3d-bar-H_4pqH3h.js} +56 -56
- package/dist/{vue-ui-accordion-VTP418mC.js → vue-ui-accordion-BKkTS12x.js} +3 -3
- package/dist/{vue-ui-age-pyramid-YFzQ15k1.js → vue-ui-age-pyramid-BGzYbrts.js} +62 -55
- package/dist/{vue-ui-annotator-CmwDyy9m.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
- package/dist/{vue-ui-bullet-DdjpiM-T.js → vue-ui-bullet-Cf4Uzhez.js} +7 -7
- package/dist/vue-ui-candlestick-DfbP87Cr.js +1334 -0
- package/dist/{vue-ui-carousel-table-CRI_iPLn.js → vue-ui-carousel-table-0z6eLg_I.js} +29 -29
- package/dist/{vue-ui-chestnut-YrEA5Gq3.js → vue-ui-chestnut-BcQFRaXx.js} +70 -70
- package/dist/{vue-ui-chord-D_2DdvpZ.js → vue-ui-chord-YYE07iRP.js} +35 -35
- package/dist/{vue-ui-circle-pack-xm9-OOAR.js → vue-ui-circle-pack-BRSqhjxm.js} +47 -47
- package/dist/{vue-ui-cursor-Dt8Zzw22.js → vue-ui-cursor-iuati4v1.js} +2 -2
- package/dist/{vue-ui-dashboard-29ZuFoLn.js → vue-ui-dashboard-BpeLteeH.js} +67 -67
- package/dist/{vue-ui-digits-nKPRJ9Vz.js → vue-ui-digits-eYxf3UFN.js} +2 -2
- package/dist/{vue-ui-donut-BQptfVfE.js → vue-ui-donut-Yw81BFf2.js} +189 -189
- package/dist/{vue-ui-donut-evolution-fiqngEFW.js → vue-ui-donut-evolution-k3xCwZYv.js} +145 -138
- package/dist/{vue-ui-dumbbell-Cw45EBO0.js → vue-ui-dumbbell-DMPndU1O.js} +82 -75
- package/dist/{vue-ui-flow-DPu9BjPy.js → vue-ui-flow-D-W3VQTv.js} +75 -75
- package/dist/{vue-ui-funnel-CtlDuNjO.js → vue-ui-funnel-q-b-LqXG.js} +63 -63
- package/dist/{vue-ui-galaxy-BiVjoNHW.js → vue-ui-galaxy-4pueJOcI.js} +62 -62
- package/dist/{vue-ui-gauge-CoM6Q3Nb.js → vue-ui-gauge-APtv_CvA.js} +58 -58
- package/dist/{vue-ui-gizmo-DXG8dS5u.js → vue-ui-gizmo-BH0MvhIV.js} +3 -3
- package/dist/{vue-ui-heatmap-D6n8AnCc.js → vue-ui-heatmap-BBdrkhmg.js} +465 -435
- package/dist/{vue-ui-history-plot-C8WMHda_.js → vue-ui-history-plot-DL5ioFH4.js} +115 -108
- package/dist/{vue-ui-kpi-Dphnwumo.js → vue-ui-kpi-N8s0i48S.js} +3 -3
- package/dist/{vue-ui-mini-loader-DFk9GZ5V.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
- package/dist/{vue-ui-molecule-DC4_vXt_.js → vue-ui-molecule-DnjRfc4-.js} +102 -102
- package/dist/{vue-ui-mood-radar-BgT5wMS0.js → vue-ui-mood-radar-9aAC_ake.js} +28 -28
- package/dist/{vue-ui-nested-donuts-D2gSqe1f.js → vue-ui-nested-donuts-BnVXn9Qa.js} +60 -60
- package/dist/{vue-ui-onion-CEbv2ii4.js → vue-ui-onion-DbanwrFr.js} +46 -46
- package/dist/{vue-ui-parallel-coordinate-plot-budrvcwU.js → vue-ui-parallel-coordinate-plot-CtlpCJ97.js} +88 -81
- package/dist/{vue-ui-quadrant-PpymeiXe.js → vue-ui-quadrant-BVffm_0o.js} +8 -8
- package/dist/{vue-ui-quick-chart-k6mjTD56.js → vue-ui-quick-chart-C4Uc3DRH.js} +280 -273
- package/dist/{vue-ui-radar-C5NvYMnv.js → vue-ui-radar-C-MSV1ZJ.js} +69 -69
- package/dist/{vue-ui-rating-eKlTJch9.js → vue-ui-rating-fR2WRHYO.js} +2 -2
- package/dist/{vue-ui-relation-circle-Df33aaUT.js → vue-ui-relation-circle-4MPxPkAi.js} +31 -31
- package/dist/{vue-ui-ridgeline-BTw-37RS.js → vue-ui-ridgeline-B1T10gWF.js} +118 -111
- package/dist/{vue-ui-rings-C_s9xOtZ.js → vue-ui-rings-G0bYxlue.js} +50 -50
- package/dist/{vue-ui-scatter-Jd8bQ0S5.js → vue-ui-scatter-DqZwonPL.js} +100 -100
- package/dist/{vue-ui-skeleton-Ce7H57o7.js → vue-ui-skeleton-C-IKc-3B.js} +3 -3
- package/dist/{vue-ui-smiley-C4mhT7ZV.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
- package/dist/{vue-ui-spark-trend-DQy4iSO7.js → vue-ui-spark-trend-8vV7SyrA.js} +18 -18
- package/dist/{vue-ui-sparkbar-CUFTHql0.js → vue-ui-sparkbar-BsWBXGuQ.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CcykuBps.js → vue-ui-sparkgauge-B9-iRqNC.js} +6 -6
- package/dist/{vue-ui-sparkhistogram-CyGvYpYn.js → vue-ui-sparkhistogram-CV4PH2vQ.js} +4 -4
- package/dist/{vue-ui-sparkline-CLWJM6hA.js → vue-ui-sparkline-DScNHLXj.js} +23 -23
- package/dist/{vue-ui-sparkstackbar-Cln1pduE.js → vue-ui-sparkstackbar-CXPJToNY.js} +17 -17
- package/dist/vue-ui-stackbar-94piqh7z.js +1695 -0
- package/dist/{vue-ui-strip-plot-C4U0fT5D.js → vue-ui-strip-plot-CA4GL9dj.js} +144 -137
- package/dist/{vue-ui-table-DpdP3PDq.js → vue-ui-table-BAbQsJGk.js} +18 -18
- package/dist/{vue-ui-table-heatmap-J29d8nds.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
- package/dist/{vue-ui-table-sparkline-Chf5YY4A.js → vue-ui-table-sparkline-1KrHuOle.js} +28 -28
- package/dist/{vue-ui-thermometer-D6RmaNE6.js → vue-ui-thermometer-DrCAdNyW.js} +22 -22
- package/dist/{vue-ui-timer-C5E1kJRt.js → vue-ui-timer-Cj677c6_.js} +29 -29
- package/dist/{vue-ui-tiremarks-D0erVBnj.js → vue-ui-tiremarks-O5LGA_1a.js} +14 -14
- package/dist/{vue-ui-treemap-K8FYxuYz.js → vue-ui-treemap-BVe_Fft6.js} +78 -78
- package/dist/{vue-ui-vertical-bar-BA3OY8Sh.js → vue-ui-vertical-bar-D8oCUku1.js} +94 -94
- package/dist/{vue-ui-waffle-CgLgPuro.js → vue-ui-waffle-C39XL2GH.js} +68 -68
- package/dist/{vue-ui-wheel-C_cOUhCs.js → vue-ui-wheel-BEpyCUNj.js} +21 -21
- package/dist/{vue-ui-word-cloud-uvHNOIpN.js → vue-ui-word-cloud-Dlp9LghX.js} +35 -35
- package/dist/{vue-ui-world-DmeNMwpX.js → vue-ui-world-BS8BCZJ3.js} +6 -6
- package/dist/vue-ui-xy-D3LqMzve.js +3375 -0
- package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
- package/package.json +1 -1
- package/dist/useResizeObserverEffect-DfnWps4W.js +0 -109
- package/dist/vue-ui-candlestick-x9U5Ni0N.js +0 -1066
- package/dist/vue-ui-stackbar-DIUil9DO.js +0 -1442
- package/dist/vue-ui-xy-canvas-BQKR36bd.js +0 -1305
- package/dist/vue-ui-xy-tWE4H5ij.js +0 -4520
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineAsyncComponent as se, ref as v, shallowRef as K, onMounted as le, computed as F, onBeforeUnmount as oe, watch as re, createElementBlock as r, openBlock as l, normalizeStyle as w, createCommentVNode as d, createElementVNode as M, createBlock as ue, unref as Q, createVNode as T, renderSlot as H, mergeProps as Y, normalizeProps as V, guardReactiveProps as G, toDisplayString as ie } from "vue";
|
|
2
|
-
import { u as ne, a as ce } from "./useNestedProp-
|
|
3
|
-
import { c as ve, X as de,
|
|
2
|
+
import { u as ne, a as ce } from "./useNestedProp-B7CiTRDS.js";
|
|
3
|
+
import { c as ve, X as de, R as X } from "./lib-BcBZIm6u.js";
|
|
4
4
|
import { t as he, u as pe } from "./useResponsive-DfdjqQps.js";
|
|
5
5
|
import { u as fe } from "./useChartAccessibility-9icAAmYg.js";
|
|
6
|
-
import we from "./Title-
|
|
7
|
-
import
|
|
6
|
+
import we from "./Title-CFmv95In.js";
|
|
7
|
+
import P from "./BaseIcon-B5KaGWWC.js";
|
|
8
8
|
import { _ as ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
class ge {
|
|
10
|
-
constructor(L, N, S, j = !0,
|
|
10
|
+
constructor(L, N, S, j = !0, A = !0) {
|
|
11
11
|
this.interval = N, this.elapsed = 0, this.isPaused = !1;
|
|
12
12
|
const g = `
|
|
13
13
|
let interval;
|
|
@@ -72,10 +72,10 @@ class ge {
|
|
|
72
72
|
break;
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
|
-
`, $ = new Blob([g], { type: "application/javascript" }),
|
|
75
|
+
`, $ = new Blob([g], { type: "application/javascript" }), D = URL.createObjectURL($), i = new Worker(D);
|
|
76
76
|
function n(o) {
|
|
77
77
|
let h = Math.floor(o / 1e3), k = Math.floor(o % 1e3 / 10), m = Math.floor(h / 3600), e = Math.floor(h % 3600 / 60), x = h % 60, p = "";
|
|
78
|
-
return
|
|
78
|
+
return A && (p += String(m).padStart(2, "0") + ":"), p += String(e).padStart(2, "0") + ":", p += String(x).padStart(2, "0"), j && (p += "." + String(k).padStart(2, "0")), p;
|
|
79
79
|
}
|
|
80
80
|
this.start = () => {
|
|
81
81
|
this.isPaused = !1, i.postMessage({ action: "start", data: { interval: this.interval } });
|
|
@@ -115,10 +115,10 @@ class ge {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e = ["id"], Ce = ["stop-color"], Me = ["stop-color"], Te = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], $e = ["d", "stroke", "stroke-width"], xe = ["r", "fill", "stroke", "stroke-width"], Ie = ["r", "fill", "stroke", "stroke-width"],
|
|
118
|
+
const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e = ["id"], Ce = ["stop-color"], Me = ["stop-color"], Te = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], $e = ["d", "stroke", "stroke-width"], xe = ["r", "fill", "stroke", "stroke-width"], Ie = ["r", "fill", "stroke", "stroke-width"], Re = ["x", "y"], Pe = ["x", "y", "font-size", "fill", "font-weight"], Se = {
|
|
119
119
|
key: 0,
|
|
120
120
|
class: "vue-ui-timer-controls"
|
|
121
|
-
},
|
|
121
|
+
}, Ae = ["title"], De = ["title"], ze = ["title"], Fe = ["title"], He = ["title"], Le = {
|
|
122
122
|
__name: "vue-ui-timer",
|
|
123
123
|
props: {
|
|
124
124
|
config: {
|
|
@@ -130,7 +130,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
130
130
|
},
|
|
131
131
|
emits: ["start", "pause", "reset", "restart", "lap"],
|
|
132
132
|
setup(q, { expose: L, emit: N }) {
|
|
133
|
-
const S = se(() => import("./PackageVersion-
|
|
133
|
+
const S = se(() => import("./PackageVersion-DyDViSOy.js")), { vue_ui_timer: j } = ne(), A = q, g = N, $ = v(null), D = v(null), i = v(null), n = K(null), o = K(null), h = v(ve()), k = v(0);
|
|
134
134
|
le(() => {
|
|
135
135
|
m();
|
|
136
136
|
});
|
|
@@ -139,7 +139,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
139
139
|
const a = he(() => {
|
|
140
140
|
const { width: u, height: c } = pe({
|
|
141
141
|
chart: $.value,
|
|
142
|
-
title: e.value.style.title.text ?
|
|
142
|
+
title: e.value.style.title.text ? D.value : null,
|
|
143
143
|
legend: i.value
|
|
144
144
|
});
|
|
145
145
|
requestAnimationFrame(() => {
|
|
@@ -176,11 +176,11 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
176
176
|
}), { svgRef: x } = fe({ config: e.value.style.title });
|
|
177
177
|
function p() {
|
|
178
178
|
return ce({
|
|
179
|
-
userConfig:
|
|
179
|
+
userConfig: A.config,
|
|
180
180
|
defaultConfig: j
|
|
181
181
|
});
|
|
182
182
|
}
|
|
183
|
-
re(() =>
|
|
183
|
+
re(() => A.config, (a) => {
|
|
184
184
|
e.value = p(), m(), k.value += 1;
|
|
185
185
|
}, { deep: !0 });
|
|
186
186
|
const J = F(() => {
|
|
@@ -230,19 +230,19 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
230
230
|
}
|
|
231
231
|
const b = F(() => Math.min(t.value.width, t.value.height) / 2.5 * e.value.stopwatch.track.radiusRatio);
|
|
232
232
|
function ee(a, u) {
|
|
233
|
-
const
|
|
234
|
-
return a *
|
|
233
|
+
const R = 360 / (u * 1e3);
|
|
234
|
+
return a * R % 360;
|
|
235
235
|
}
|
|
236
236
|
function te(a) {
|
|
237
|
-
let u = a * (Math.PI / 180), c = t.value.width / 2 + b.value * Math.cos(u),
|
|
238
|
-
return { cx: c, cy:
|
|
237
|
+
let u = a * (Math.PI / 180), c = t.value.width / 2 + b.value * Math.cos(u), R = t.value.height / 2 + b.value * Math.sin(u);
|
|
238
|
+
return { cx: c, cy: R };
|
|
239
239
|
}
|
|
240
240
|
const C = F(() => {
|
|
241
|
-
const a = ee(y.value.elapsed, e.value.stopwatch.cycleSeconds), { cx: u, cy: c } = te(a - 90),
|
|
241
|
+
const a = ee(y.value.elapsed, e.value.stopwatch.cycleSeconds), { cx: u, cy: c } = te(a - 90), R = a > 180 ? 1 : 0;
|
|
242
242
|
return {
|
|
243
243
|
cx: u || t.value.width / 2,
|
|
244
244
|
cy: c || t.value.height / 2 - b.value,
|
|
245
|
-
largeArcFlag:
|
|
245
|
+
largeArcFlag: R,
|
|
246
246
|
sweepFlag: 1
|
|
247
247
|
};
|
|
248
248
|
});
|
|
@@ -266,7 +266,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
266
266
|
e.value.style.title.text ? (l(), r("div", {
|
|
267
267
|
key: 0,
|
|
268
268
|
ref_key: "chartTitle",
|
|
269
|
-
ref:
|
|
269
|
+
ref: D,
|
|
270
270
|
style: w({
|
|
271
271
|
width: "100%",
|
|
272
272
|
background: e.value.style.backgroundColor
|
|
@@ -366,7 +366,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
366
366
|
style: { overflow: "visible" }
|
|
367
367
|
}, [
|
|
368
368
|
H(a.$slots, "time", V(G({ ...y.value })), void 0, !0)
|
|
369
|
-
], 8,
|
|
369
|
+
], 8, Re)) : (l(), r("text", {
|
|
370
370
|
key: 5,
|
|
371
371
|
x: t.value.width / 2,
|
|
372
372
|
y: t.value.height / 2 + t.value.label / 4,
|
|
@@ -375,7 +375,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
375
375
|
fill: e.value.stopwatch.label.color,
|
|
376
376
|
"font-weight": e.value.stopwatch.label.bold ? "bold" : "normal",
|
|
377
377
|
style: { "font-variant-numeric": "tabular-nums !important" }
|
|
378
|
-
}, ie(y.value.formatted || J.value), 9,
|
|
378
|
+
}, ie(y.value.formatted || J.value), 9, Pe))
|
|
379
379
|
], 12, me)),
|
|
380
380
|
M("div", {
|
|
381
381
|
ref_key: "chartLegend",
|
|
@@ -393,11 +393,11 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
393
393
|
cursor: s.value ? "default" : "pointer"
|
|
394
394
|
})
|
|
395
395
|
}, [
|
|
396
|
-
T(
|
|
396
|
+
T(P, {
|
|
397
397
|
name: "play",
|
|
398
398
|
stroke: e.value.stopwatch.legend.buttons.iconColor
|
|
399
399
|
}, null, 8, ["stroke"])
|
|
400
|
-
], 12,
|
|
400
|
+
], 12, Ae)) : d("", !0),
|
|
401
401
|
e.value.stopwatch.legend.buttons.pause ? (l(), r("button", {
|
|
402
402
|
key: 1,
|
|
403
403
|
title: f.value ? e.value.stopwatch.legend.buttonTitles.resume : e.value.stopwatch.legend.buttonTitles.pause,
|
|
@@ -408,11 +408,11 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
408
408
|
cursor: s.value ? "pointer" : "default"
|
|
409
409
|
})
|
|
410
410
|
}, [
|
|
411
|
-
T(
|
|
411
|
+
T(P, {
|
|
412
412
|
name: "pause",
|
|
413
413
|
stroke: e.value.stopwatch.legend.buttons.iconColor
|
|
414
414
|
}, null, 8, ["stroke"])
|
|
415
|
-
], 12,
|
|
415
|
+
], 12, De)) : d("", !0),
|
|
416
416
|
e.value.stopwatch.legend.buttons.reset ? (l(), r("button", {
|
|
417
417
|
key: 2,
|
|
418
418
|
title: e.value.stopwatch.legend.buttonTitles.reset,
|
|
@@ -423,7 +423,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
423
423
|
cursor: s.value ? "pointer" : "default"
|
|
424
424
|
})
|
|
425
425
|
}, [
|
|
426
|
-
T(
|
|
426
|
+
T(P, {
|
|
427
427
|
name: "stop",
|
|
428
428
|
stroke: e.value.stopwatch.legend.buttons.iconColor
|
|
429
429
|
}, null, 8, ["stroke"])
|
|
@@ -438,7 +438,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
438
438
|
cursor: s.value ? "pointer" : "default"
|
|
439
439
|
})
|
|
440
440
|
}, [
|
|
441
|
-
T(
|
|
441
|
+
T(P, {
|
|
442
442
|
name: "restart",
|
|
443
443
|
stroke: e.value.stopwatch.legend.buttons.iconColor
|
|
444
444
|
}, null, 8, ["stroke"])
|
|
@@ -453,7 +453,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
453
453
|
cursor: s.value && !f.value ? "pointer" : "default"
|
|
454
454
|
})
|
|
455
455
|
}, [
|
|
456
|
-
T(
|
|
456
|
+
T(P, {
|
|
457
457
|
name: "lap",
|
|
458
458
|
stroke: e.value.stopwatch.legend.buttons.iconColor
|
|
459
459
|
}, null, 8, ["stroke"])
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineAsyncComponent as j, computed as h, ref as v, toRefs as Ie, watch as ce, onMounted as ze, createElementBlock as u, openBlock as r, unref as s, normalizeStyle as X, normalizeClass as
|
|
2
|
-
import { c as Re, t as Ee,
|
|
1
|
+
import { defineAsyncComponent as j, computed as h, ref as v, toRefs as Ie, watch as ce, onMounted as ze, createElementBlock as u, openBlock as r, unref as s, normalizeStyle as X, normalizeClass as V, createBlock as R, createCommentVNode as p, createSlots as Fe, withCtx as O, renderSlot as m, normalizeProps as E, guardReactiveProps as M, createVNode as Te, Fragment as ve, renderList as he, toDisplayString as Ne } from "vue";
|
|
2
|
+
import { c as Re, t as Ee, x as Me, o as Le, f as Ue, i as de, X as Be, a as Ge, d as De } from "./lib-BcBZIm6u.js";
|
|
3
3
|
import { t as He, u as je } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Xe, a as ge } from "./useNestedProp-
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as Ye } from "./usePrinter-
|
|
4
|
+
import { u as Xe, a as ge } from "./useNestedProp-B7CiTRDS.js";
|
|
5
|
+
import { u as Ve, B as qe } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as Ye } from "./usePrinter-C1GiglOH.js";
|
|
7
7
|
import { u as We } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as Je } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
9
|
import { u as Ke } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
10
|
import { t as Qe } from "./themes-Dw-dDudK.js";
|
|
11
|
-
import Ze from "./Title-
|
|
12
|
-
import et from "./img-
|
|
11
|
+
import Ze from "./Title-CFmv95In.js";
|
|
12
|
+
import et from "./img-CFY3JivG.js";
|
|
13
13
|
import { _ as tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const at = ["id"], lt = ["xmlns", "viewBox"], ot = ["width", "height"], st = { key: 1 }, nt = ["d", "stroke-width", "stroke"], rt = { key: 2 }, ut = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], it = { key: 3 }, ct = ["x", "y", "height"], vt = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], ht = {
|
|
15
15
|
key: 4,
|
|
@@ -31,7 +31,7 @@ const at = ["id"], lt = ["xmlns", "viewBox"], ot = ["width", "height"], st = { k
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
setup(fe, { expose: ye }) {
|
|
34
|
-
const pe = j(() => import("./PenAndPaper-
|
|
34
|
+
const pe = j(() => import("./PenAndPaper-Dj2diYr0.js")), me = j(() => import("./UserOptions-C0YT60JN.js")), ke = j(() => import("./PackageVersion-DyDViSOy.js")), { vue_ui_tiremarks: be } = Xe(), C = fe, we = h(() => !!C.dataset && Object.keys(C.dataset).length), L = v(Re()), _ = v(null), Ce = v(null), q = v(null), Y = v(null), W = v(0), J = v(0), $ = v(null), S = v(null), e = v(D()), { loading: K, FINAL_DATASET: U } = Ve({
|
|
35
35
|
...Ie(C),
|
|
36
36
|
FINAL_CONFIG: e,
|
|
37
37
|
prepareConfig: D,
|
|
@@ -99,7 +99,7 @@ const at = ["id"], lt = ["xmlns", "viewBox"], ot = ["width", "height"], st = { k
|
|
|
99
99
|
const t = He(() => {
|
|
100
100
|
const { width: l, height: a } = je({
|
|
101
101
|
chart: _.value,
|
|
102
|
-
title: e.value.style.chart.title.text ?
|
|
102
|
+
title: e.value.style.chart.title.text ? q.value : null,
|
|
103
103
|
source: Y.value
|
|
104
104
|
});
|
|
105
105
|
requestAnimationFrame(() => {
|
|
@@ -226,7 +226,7 @@ const at = ["id"], lt = ["xmlns", "viewBox"], ot = ["width", "height"], st = { k
|
|
|
226
226
|
}), (t, l) => (r(), u("div", {
|
|
227
227
|
ref_key: "tiremarksChart",
|
|
228
228
|
ref: _,
|
|
229
|
-
class:
|
|
229
|
+
class: V(`vue-data-ui-component vue-ui-tiremarks ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
230
230
|
style: X(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
231
231
|
id: L.value,
|
|
232
232
|
onMouseenter: l[0] || (l[0] = () => s(Q)(!0)),
|
|
@@ -250,7 +250,7 @@ const at = ["id"], lt = ["xmlns", "viewBox"], ot = ["width", "height"], st = { k
|
|
|
250
250
|
e.value.style.chart.title.text ? (r(), u("div", {
|
|
251
251
|
key: 2,
|
|
252
252
|
ref_key: "chartTitle",
|
|
253
|
-
ref:
|
|
253
|
+
ref: q,
|
|
254
254
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
255
255
|
}, [
|
|
256
256
|
(r(), R(Ze, {
|
|
@@ -337,7 +337,7 @@ const at = ["id"], lt = ["xmlns", "viewBox"], ot = ["width", "height"], st = { k
|
|
|
337
337
|
ref_key: "svgRef",
|
|
338
338
|
ref: G,
|
|
339
339
|
xmlns: s(Be),
|
|
340
|
-
class:
|
|
340
|
+
class: V({ "vue-data-ui-fullscreen--on": T.value, "vue-data-ui-fulscreen--off": !T.value }),
|
|
341
341
|
viewBox: `0 0 ${z.value} ${F.value}`,
|
|
342
342
|
style: X(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
343
343
|
}, [
|
|
@@ -361,7 +361,7 @@ const at = ["id"], lt = ["xmlns", "viewBox"], ot = ["width", "height"], st = { k
|
|
|
361
361
|
stroke: i.value >= o ? a.color : e.value.style.chart.layout.inactiveColor,
|
|
362
362
|
"stroke-linecap": "round",
|
|
363
363
|
fill: "none",
|
|
364
|
-
class:
|
|
364
|
+
class: V({ "vue-ui-tick-animated": e.value.style.chart.animation.use && o <= i.value })
|
|
365
365
|
}, null, 10, nt))), 256))
|
|
366
366
|
])) : (r(), u("g", rt, [
|
|
367
367
|
(r(!0), u(ve, null, he(re.value, (a, o) => (r(), u("line", {
|
|
@@ -414,7 +414,7 @@ const at = ["id"], lt = ["xmlns", "viewBox"], ot = ["width", "height"], st = { k
|
|
|
414
414
|
}, [
|
|
415
415
|
m(t.$slots, "source", {}, void 0, !0)
|
|
416
416
|
], 512)) : p("", !0),
|
|
417
|
-
s(K) ? (r(), R(
|
|
417
|
+
s(K) ? (r(), R(qe, { key: 6 })) : p("", !0)
|
|
418
418
|
], 46, at));
|
|
419
419
|
}
|
|
420
420
|
}, Ot = /* @__PURE__ */ tt(dt, [["__scopeId", "data-v-9473b7f9"]]);
|